@crystaldesign/web-planner-logic 25.4.0-beta.2 → 25.4.0-beta.21
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-2016c8ea.js → DivaBoxPlanner-da954557.js} +2 -2
- package/build/cjs/{DivaStandardPlanner-5c023752.js → DivaStandardPlanner-47222136.js} +2 -2
- package/build/cjs/{DoorPlanner-000f0379.js → DoorPlanner-b6bfc30a.js} +1 -1
- package/build/cjs/{Host3DSignalR-7e8a7a7f.js → Host3DSignalR-75e0a0f3.js} +1 -36
- package/build/cjs/{LiviqueWWSHandler-20f43f5c.js → LiviqueWWSHandler-83a65362.js} +1 -1
- package/build/cjs/{PfisterWWSHandler-6659fd4b.js → PfisterWWSHandler-c174dc13.js} +1 -1
- package/build/cjs/{PlannerHandler2D-9e43cd7b.js → PlannerHandler2D-733e940b.js} +1 -1
- package/build/cjs/{SeriousBasketHandler-9a3aaf37.js → SeriousBasketHandler-6c14b1a1.js} +1 -1
- package/build/cjs/{ShelfPlanner-0835e1da.js → ShelfPlanner-4976f6df.js} +1 -1
- package/build/cjs/{StandardWWSHandler-8d963edd.js → StandardWWSHandler-f3b6545b.js} +1 -1
- package/build/cjs/{index-aca6b737.js → index-f82320a5.js} +143 -103
- package/build/cjs/index.js +1 -1
- package/build/esm/{DivaBoxPlanner-4d8f4d5d.js → DivaBoxPlanner-1447bac0.js} +2 -2
- package/build/esm/{DivaStandardPlanner-0ab1766b.js → DivaStandardPlanner-58ababd3.js} +2 -2
- package/build/esm/{DoorPlanner-cfaa621a.js → DoorPlanner-d9e38932.js} +1 -1
- package/build/esm/{Host3DSignalR-50fbaf0a.js → Host3DSignalR-07ea735e.js} +1 -36
- package/build/esm/{LiviqueWWSHandler-5eff1e27.js → LiviqueWWSHandler-19207346.js} +1 -1
- package/build/esm/{PfisterWWSHandler-20707364.js → PfisterWWSHandler-17fc7d79.js} +1 -1
- package/build/esm/{PlannerHandler2D-2d65ffca.js → PlannerHandler2D-646f2853.js} +1 -1
- package/build/esm/{SeriousBasketHandler-43c91834.js → SeriousBasketHandler-9e9ff6c9.js} +1 -1
- package/build/esm/{ShelfPlanner-40de7cd1.js → ShelfPlanner-4b4baf30.js} +1 -1
- package/build/esm/{StandardWWSHandler-36b31757.js → StandardWWSHandler-3a76d6b0.js} +1 -1
- package/build/esm/{index-2a686c45.js → index-69e2efed.js} +143 -103
- package/build/esm/index.js +1 -1
- package/build/types/web-planner-logic/src/interface/API/Checkout.d.ts +56 -0
- package/build/types/web-planner-logic/src/interface/API/Checkout.d.ts.map +1 -0
- package/build/types/web-planner-logic/src/interface/API/ViewConfigDataType.d.ts +2 -0
- package/build/types/web-planner-logic/src/interface/API/ViewConfigDataType.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/CoreTypes/index.d.ts +1 -0
- package/build/types/web-planner-logic/src/interface/CoreTypes/index.d.ts.map +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/interface/ViewTypes/index.d.ts +1 -1
- package/build/types/web-planner-logic/src/interface/ViewTypes/index.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Article/DivaArticle.d.ts +1 -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/DivaBasketHandler.d.ts +1 -0
- package/build/types/web-planner-logic/src/logic/Basket/DivaBasketHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts +1 -0
- package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts +6 -3
- package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Planner/Rendering/Host3DSignalR.d.ts.map +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 +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/ArticleOptionData.d.ts +1 -0
- package/build/types/web-planner-logic/src/model/Options/ArticleOptionData.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/test/datas/pfister_test_routine.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/test/datas/pfister_webshop_bks.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -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 { c as Vector2, V as Vector3, B as BoundingBox } from './index-
|
|
6
|
+
import { c as Vector2, V as Vector3, B as BoundingBox } from './index-69e2efed.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-646f2853.js';
|
|
10
10
|
import '@babel/runtime/helpers/slicedToArray';
|
|
11
11
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
12
12
|
import 'axios';
|
|
@@ -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-69e2efed.js';
|
|
7
|
+
import { d as dockingPointHandlerInst, h as handler2D, P as PlannerElementData } from './PlannerHandler2D-646f2853.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-69e2efed.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-69e2efed.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';
|
|
@@ -51,12 +51,6 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
51
51
|
rejectUnauthorized: false
|
|
52
52
|
});
|
|
53
53
|
var that = _this;
|
|
54
|
-
_this.divaMediaServiceSocketIO.on('error', function (error) {
|
|
55
|
-
LOG.errorTransaction('ON_REQUEST_RENDERING', 'WC_0013', 'Error requesting the 3D Image');
|
|
56
|
-
});
|
|
57
|
-
_this.divaMediaServiceSocketIO.on('connect_error', function (error) {
|
|
58
|
-
LOG.errorTransaction('ON_REQUEST_RENDERING', 'WC_0013', 'Error requesting the 3D Image');
|
|
59
|
-
});
|
|
60
54
|
_this.divaMediaServiceSocketIO.on('connect', function (msg) {
|
|
61
55
|
LOG.debug('Successfully connected to DivaMediaService with divaNr: ' + divaNr);
|
|
62
56
|
});
|
|
@@ -68,9 +62,6 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
68
62
|
_this.divaMediaServiceSocketIO.on('DIVA3D', function (msg) {
|
|
69
63
|
// const transaction = DivaUtils.getApm()?.startTransaction('ON_REQUEST_RENDERING', undefined, { childOf: msg.traceId } as any);
|
|
70
64
|
if (msg.hash && msg.hash != '') {
|
|
71
|
-
LOG.successTransaction('ON_REQUEST_RENDERING', {
|
|
72
|
-
hash: msg.hash
|
|
73
|
-
});
|
|
74
65
|
// transaction?.end();
|
|
75
66
|
that.plannerHandler3D.handleReceiveRendering({
|
|
76
67
|
divaNr: msg.divaNr,
|
|
@@ -367,38 +358,12 @@ var Host3DSignalR = /*#__PURE__*/function () {
|
|
|
367
358
|
//Create options Request
|
|
368
359
|
var options3DHost = this.create3DHostRequestOption(params);
|
|
369
360
|
LOG.debug('request 3D (mediaType ' + ((_params$requestRender14 = params.requestRenderingParams) === null || _params$requestRender14 === void 0 ? void 0 : _params$requestRender14.mediaServiceSaveMode) + ') from 3D Host' + JSON.stringify(params));
|
|
370
|
-
if (options3DHost.rendering) {
|
|
371
|
-
LOG.startTransaction({
|
|
372
|
-
event: 'onRequestRendering',
|
|
373
|
-
message: 'Requesting Rendering',
|
|
374
|
-
eventId: 'ON_REQUEST_RENDERING',
|
|
375
|
-
warningTime: 2000,
|
|
376
|
-
errorTime: 4000,
|
|
377
|
-
labels: {
|
|
378
|
-
renderGroup: this.renderSettings.RenderGroup,
|
|
379
|
-
hash: params.renderHash
|
|
380
|
-
}
|
|
381
|
-
});
|
|
382
|
-
}
|
|
383
361
|
if (params.doReloadWholePlanning) {
|
|
384
362
|
LOG.debug('Host3DSignalR SaveProjectWithOptions');
|
|
385
363
|
this.signalRConnection.invoke('SaveProjectWithOptions', this.sessionID, params.divaNr, JSON.stringify(params.planningData), this.renderSettings.RenderGroup, JSON.stringify(options3DHost));
|
|
386
364
|
} else {
|
|
387
|
-
if (options3DHost.rendering) {
|
|
388
|
-
LOG.startTransaction({
|
|
389
|
-
event: 'onRequestRendering',
|
|
390
|
-
message: 'Requesting Rendering',
|
|
391
|
-
eventId: 'ON_REQUEST_RENDERING',
|
|
392
|
-
warningTime: 2000,
|
|
393
|
-
errorTime: 4000,
|
|
394
|
-
labels: {
|
|
395
|
-
renderGroup: this.renderSettings.RenderGroup
|
|
396
|
-
}
|
|
397
|
-
});
|
|
398
|
-
}
|
|
399
365
|
this.signalRConnection.invoke('RequestRenderingWithOptions', this.sessionID, params.divaNr, options3DHost.VPName, options3DHost.VPSize, params.renderHash, JSON.stringify(options3DHost));
|
|
400
366
|
}
|
|
401
|
-
LOG.successTransaction('ON_REQUEST_RENDERING');
|
|
402
367
|
return {
|
|
403
368
|
rendering: rendering,
|
|
404
369
|
hqRenderScript: hqRenderScript
|
|
@@ -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-69e2efed.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-69e2efed.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 { c as Vector2, V as Vector3, D as DockingPoint } from './index-
|
|
4
|
+
import { c as Vector2, V as Vector3, D as DockingPoint } from './index-69e2efed.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-69e2efed.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-69e2efed.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-69e2efed.js';
|
|
4
4
|
import '@babel/runtime/helpers/slicedToArray';
|
|
5
5
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
6
6
|
import '@babel/runtime/helpers/defineProperty';
|