@crystaldesign/web-planner-logic 24.10.0-beta.4 → 24.10.0-beta.9
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-df3a7b94.js → DivaBoxPlanner-ce0b5ccf.js} +3 -3
- package/build/cjs/{DivaSingleProductPlanner-825f9f2a.js → DivaSingleProductPlanner-19811faa.js} +2 -2
- package/build/cjs/{DivaStandardPlanner-fa3dc4b8.js → DivaStandardPlanner-11d92ddc.js} +3 -3
- package/build/cjs/{DockingPointHandler-32c1267a.js → DockingPointHandler-e37440e2.js} +1 -1
- package/build/cjs/{DoorPlanner-87781159.js → DoorPlanner-157f3b83.js} +1 -1
- package/build/cjs/{Host3DSignalR-b474bb65.js → Host3DSignalR-973eb29d.js} +1 -1
- package/build/cjs/{LiviqueWWSHandler-d0164c3f.js → LiviqueWWSHandler-175ace96.js} +1 -1
- package/build/cjs/{PfisterWWSHandler-decd7c4f.js → PfisterWWSHandler-b5b08965.js} +1 -1
- package/build/cjs/{PlannerHandler2D-03db7092.js → PlannerHandler2D-8b2718d9.js} +2 -2
- package/build/cjs/{ProductBasketHandler-1387d823.js → ProductBasketHandler-b37e5eb2.js} +1 -1
- package/build/cjs/{SeriousBasketHandler-9c37933c.js → SeriousBasketHandler-9d531962.js} +1 -1
- package/build/cjs/{ShelfPlanner-9c52b6e2.js → ShelfPlanner-f8f7b3c2.js} +2 -2
- package/build/cjs/{StandardWWSHandler-053af296.js → StandardWWSHandler-e322419c.js} +1 -1
- package/build/cjs/{index-6c4b6fc1.js → index-91696556.js} +115 -54
- package/build/cjs/index.js +1 -1
- package/build/esm/{DivaBoxPlanner-88df381d.js → DivaBoxPlanner-162f61b3.js} +3 -3
- package/build/esm/{DivaSingleProductPlanner-d3112eb7.js → DivaSingleProductPlanner-bc11af8c.js} +2 -2
- package/build/esm/{DivaStandardPlanner-86bdae0a.js → DivaStandardPlanner-bb2a6560.js} +3 -3
- package/build/esm/{DockingPointHandler-a9df8104.js → DockingPointHandler-ce5b6cc8.js} +1 -1
- package/build/esm/{DoorPlanner-7ea8924a.js → DoorPlanner-dfcc1e9b.js} +1 -1
- package/build/esm/{Host3DSignalR-49c23662.js → Host3DSignalR-08117df5.js} +1 -1
- package/build/esm/{LiviqueWWSHandler-0c1a42af.js → LiviqueWWSHandler-ab108660.js} +1 -1
- package/build/esm/{PfisterWWSHandler-d02b5adb.js → PfisterWWSHandler-28dd4770.js} +1 -1
- package/build/esm/{PlannerHandler2D-65fedf84.js → PlannerHandler2D-bc825497.js} +2 -2
- package/build/esm/{ProductBasketHandler-81a89980.js → ProductBasketHandler-56d310f8.js} +1 -1
- package/build/esm/{SeriousBasketHandler-0bdeb425.js → SeriousBasketHandler-7d8bdefe.js} +1 -1
- package/build/esm/{ShelfPlanner-d2e46f7f.js → ShelfPlanner-ff88c9d8.js} +2 -2
- package/build/esm/{StandardWWSHandler-10c004bd.js → StandardWWSHandler-8b217a8f.js} +1 -1
- package/build/esm/{index-cca436c3.js → index-999a0e8c.js} +115 -54
- package/build/esm/index.js +1 -1
- package/build/types/web-planner-logic/src/index.d.ts +1 -0
- package/build/types/web-planner-logic/src/index.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/AdditionalModelInfos.d.ts +12 -4
- package/build/types/web-planner-logic/src/interface/AdditionalModelInfos.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/CoreTypes/index.d.ts +43 -13
- package/build/types/web-planner-logic/src/interface/CoreTypes/index.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/ShelfPlanner/plannerData.d.ts +1 -0
- package/build/types/web-planner-logic/src/interface/ShelfPlanner/plannerData.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/ConfigTree/Shelfplanner/ShelfPlannerGrid.d.ts +2 -1
- package/build/types/web-planner-logic/src/logic/ConfigTree/Shelfplanner/ShelfPlannerGrid.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Set/FavoritesHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/DivaCatalogData.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Options/CatalogOptionData.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -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-999a0e8c.js';
|
|
5
5
|
import DivaUtils, { md5 } from '@crystaldesign/diva-utils';
|
|
6
6
|
|
|
7
7
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -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-999a0e8c.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-999a0e8c.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';
|
|
@@ -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-999a0e8c.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-999a0e8c.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';
|
|
@@ -3,12 +3,12 @@ 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 } from './index-
|
|
6
|
+
import { c as Vector2 } from './index-999a0e8c.js';
|
|
7
7
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
8
8
|
import { fabric } from 'fabric';
|
|
9
9
|
import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
|
|
10
10
|
import serialize from 'w3c-xmlserializer';
|
|
11
|
-
import { d as dockingPointHandlerInst } from './DockingPointHandler-
|
|
11
|
+
import { d as dockingPointHandlerInst } from './DockingPointHandler-ce5b6cc8.js';
|
|
12
12
|
|
|
13
13
|
var LOG$1 = DivaUtils.initLog('Planner', 'WEB-PLANNER-LOGIC');
|
|
14
14
|
var SVGUtils = /*#__PURE__*/function () {
|
|
@@ -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-999a0e8c.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-999a0e8c.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-999a0e8c.js';
|
|
8
8
|
import DivaUtils from '@crystaldesign/diva-utils';
|
|
9
9
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
10
10
|
import '@babel/runtime/helpers/slicedToArray';
|
|
@@ -475,7 +475,7 @@ var ShelfPlanner = /*#__PURE__*/function () {
|
|
|
475
475
|
} else {
|
|
476
476
|
var ret = false;
|
|
477
477
|
var grids = this.doesTakePlaceOnOtherGrids(accessoire) ? this.activeGrids : [grid];
|
|
478
|
-
if (grid.
|
|
478
|
+
if (grid.checkAccessoireInGridRules(accessoire)) {
|
|
479
479
|
return {
|
|
480
480
|
type: 'notAllowedByMaxQuantityReached',
|
|
481
481
|
size: size
|
|
@@ -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-999a0e8c.js';
|
|
4
4
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
5
5
|
import '@babel/runtime/helpers/defineProperty';
|
|
6
6
|
import '@babel/runtime/regenerator';
|
|
@@ -16036,7 +16036,7 @@ var OptionValueCatalogData = /*#__PURE__*/function () {
|
|
|
16036
16036
|
showOnlyWhenHasPrice: jsonOPV.ShowOnlyWhenHasPrice && jsonOPV.ShowOnlyWhenHasPrice == 'True' ? true : false,
|
|
16037
16037
|
priceUnit: jsonOPV.PriceUnit,
|
|
16038
16038
|
value: jsonOPV.Value,
|
|
16039
|
-
property: [].concat(_toConsumableArray((_jsonOPV$Metadatas = jsonOPV.Metadatas) !== null && _jsonOPV$Metadatas !== void 0 ? _jsonOPV$Metadatas : []), _toConsumableArray((_mask$properties = mask === null || mask === void 0 ? void 0 : mask.properties) !== null && _mask$properties !== void 0 ? _mask$properties :
|
|
16039
|
+
property: [].concat(_toConsumableArray((_jsonOPV$Metadatas = jsonOPV.Metadatas) !== null && _jsonOPV$Metadatas !== void 0 ? _jsonOPV$Metadatas : []), _toConsumableArray(Object.values((_mask$properties = mask === null || mask === void 0 ? void 0 : mask.properties) !== null && _mask$properties !== void 0 ? _mask$properties : {}))),
|
|
16040
16040
|
textbausteine: jsonOPV.Textbausteine
|
|
16041
16041
|
};
|
|
16042
16042
|
this.opv.colorGroups = this.mapRALColorToGroup();
|
|
@@ -16418,7 +16418,7 @@ var CatalogArticleData = /*#__PURE__*/function () {
|
|
|
16418
16418
|
arePricesLoaded: false,
|
|
16419
16419
|
articleOptions: {},
|
|
16420
16420
|
decisions: [],
|
|
16421
|
-
properties: [].concat(_toConsumableArray((_jsonArticle$Metadata = jsonArticle.Metadatas) !== null && _jsonArticle$Metadata !== void 0 ? _jsonArticle$Metadata : []), _toConsumableArray((_articleMask$properti = articleMask === null || articleMask === void 0 ? void 0 : articleMask.properties) !== null && _articleMask$properti !== void 0 ? _articleMask$properti :
|
|
16421
|
+
properties: [].concat(_toConsumableArray((_jsonArticle$Metadata = jsonArticle.Metadatas) !== null && _jsonArticle$Metadata !== void 0 ? _jsonArticle$Metadata : []), _toConsumableArray(Object.values((_articleMask$properti = articleMask === null || articleMask === void 0 ? void 0 : articleMask.properties) !== null && _articleMask$properti !== void 0 ? _articleMask$properti : {}))),
|
|
16422
16422
|
image: jsonArticle.Image && jsonArticle.Image != '' ? jsonArticle.Image : undefined,
|
|
16423
16423
|
imageWidth: jsonArticle.ImageWidth ? jsonArticle.ImageWidth : undefined,
|
|
16424
16424
|
imageHeight: jsonArticle.ImageHeight ? jsonArticle.ImageHeight : undefined,
|
|
@@ -17822,10 +17822,11 @@ var CatalogPlannerArticleData = /*#__PURE__*/function () {
|
|
|
17822
17822
|
|
|
17823
17823
|
var OptionCatalogData = /*#__PURE__*/function () {
|
|
17824
17824
|
function OptionCatalogData(codex, jsonOPT, catalogData) {
|
|
17825
|
-
var _catalogData$catalogM, _catalogData$catalogM2, _catalogData$catalogM3, _optionMask$name$cata, _optionMask$name, _catalogData$api$getL, _optionMask$name2, _optionMask$hidden, _optionMask$tabGroup, _catalogData$api$getL2, _ref, _optionMask$layout,
|
|
17825
|
+
var _catalogData$catalogM, _catalogData$catalogM2, _catalogData$catalogM3, _jsonOPT$Properties, _optionMask$propertie, _optionMask$name$cata, _optionMask$name, _catalogData$api$getL, _optionMask$name2, _optionMask$hidden, _optionMask$tabGroup, _catalogData$api$getL2, _ref, _optionMask$layout, _properties$find, _jsonOPT$showOPVAsArt;
|
|
17826
17826
|
_classCallCheck(this, OptionCatalogData);
|
|
17827
17827
|
_defineProperty(this, "opt", void 0);
|
|
17828
17828
|
var optionMask = (_catalogData$catalogM = (_catalogData$catalogM2 = catalogData.catalogMask) === null || _catalogData$catalogM2 === void 0 || (_catalogData$catalogM2 = _catalogData$catalogM2.options) === null || _catalogData$catalogM2 === void 0 ? void 0 : _catalogData$catalogM2[codex]) !== null && _catalogData$catalogM !== void 0 ? _catalogData$catalogM : codex.startsWith('OPT') ? (_catalogData$catalogM3 = catalogData.catalogMask) === null || _catalogData$catalogM3 === void 0 || (_catalogData$catalogM3 = _catalogData$catalogM3.options) === null || _catalogData$catalogM3 === void 0 ? void 0 : _catalogData$catalogM3[codex.substring(3)] : undefined;
|
|
17829
|
+
var properties = [].concat(_toConsumableArray((_jsonOPT$Properties = jsonOPT.Properties) !== null && _jsonOPT$Properties !== void 0 ? _jsonOPT$Properties : []), _toConsumableArray(Object.values((_optionMask$propertie = optionMask === null || optionMask === void 0 ? void 0 : optionMask.properties) !== null && _optionMask$propertie !== void 0 ? _optionMask$propertie : {})));
|
|
17829
17830
|
this.opt = {
|
|
17830
17831
|
codex: codex,
|
|
17831
17832
|
name: (_optionMask$name$cata = optionMask === null || optionMask === void 0 || (_optionMask$name = optionMask.name) === null || _optionMask$name === void 0 ? void 0 : _optionMask$name[(_catalogData$api$getL = catalogData.api.getLanguage()) === null || _catalogData$api$getL === void 0 ? void 0 : _catalogData$api$getL.toLowerCase()]) !== null && _optionMask$name$cata !== void 0 ? _optionMask$name$cata : jsonOPT.Name,
|
|
@@ -17836,9 +17837,9 @@ var OptionCatalogData = /*#__PURE__*/function () {
|
|
|
17836
17837
|
image: jsonOPT.Image ? jsonOPT.Image : undefined,
|
|
17837
17838
|
invisible: (_optionMask$hidden = optionMask === null || optionMask === void 0 ? void 0 : optionMask.hidden) !== null && _optionMask$hidden !== void 0 ? _optionMask$hidden : jsonOPT.Invisible != undefined ? jsonOPT.Invisible : false,
|
|
17838
17839
|
maskTabgroup: optionMask === null || optionMask === void 0 || (_optionMask$tabGroup = optionMask.tabGroup) === null || _optionMask$tabGroup === void 0 ? void 0 : _optionMask$tabGroup[(_catalogData$api$getL2 = catalogData.api.getLanguage()) === null || _catalogData$api$getL2 === void 0 ? void 0 : _catalogData$api$getL2.toLowerCase()],
|
|
17839
|
-
layout: (_ref = (_optionMask$layout = optionMask === null || optionMask === void 0 ? void 0 : optionMask.layout) !== null && _optionMask$layout !== void 0 ? _optionMask$layout :
|
|
17840
|
+
layout: (_ref = (_optionMask$layout = optionMask === null || optionMask === void 0 ? void 0 : optionMask.layout) !== null && _optionMask$layout !== void 0 ? _optionMask$layout : properties === null || properties === void 0 || (_properties$find = properties.find(function (p) {
|
|
17840
17841
|
return p.Codex == 'LAYOUT';
|
|
17841
|
-
})) === null ||
|
|
17842
|
+
})) === null || _properties$find === void 0 ? void 0 : _properties$find.Value) !== null && _ref !== void 0 ? _ref : jsonOPT.Layout != undefined ? jsonOPT.Layout : 'IMAGE',
|
|
17842
17843
|
multiselect: jsonOPT.Multiselect != undefined ? jsonOPT.Multiselect == 'True' : false,
|
|
17843
17844
|
sendToPIM: !!jsonOPT.SendToPIM,
|
|
17844
17845
|
useMaxPriceOfGroup: jsonOPT.UseMaxPriceOfGroup != undefined ? Number(jsonOPT.UseMaxPriceOfGroup) : undefined,
|
|
@@ -17847,7 +17848,7 @@ var OptionCatalogData = /*#__PURE__*/function () {
|
|
|
17847
17848
|
hideInOrderText: jsonOPT.hideInOrderText != undefined ? jsonOPT.hideInOrderText == 'True' : false,
|
|
17848
17849
|
showOPVCodex: jsonOPT.showOPVCodex != undefined ? jsonOPT.showOPVCodex == 'True' : false,
|
|
17849
17850
|
showOPVAsArticleNr: typeof jsonOPT.showOPVAsArticleNr == 'boolean' ? jsonOPT.showOPVAsArticleNr : ((_jsonOPT$showOPVAsArt = jsonOPT.showOPVAsArticleNr) === null || _jsonOPT$showOPVAsArt === void 0 ? void 0 : _jsonOPT$showOPVAsArt.toLowerCase()) == 'true',
|
|
17850
|
-
property:
|
|
17851
|
+
property: properties,
|
|
17851
17852
|
parentOptionCodex: jsonOPT.ParentOptionCodex,
|
|
17852
17853
|
articlePlaceholder: jsonOPT.ArticlePlaceholder && jsonOPT.ArticlePlaceholder == 'True' ? true : false,
|
|
17853
17854
|
isMultiselect: jsonOPT.Multiselect != undefined ? jsonOPT.Multiselect == 'True' : false
|
|
@@ -18282,7 +18283,28 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
18282
18283
|
// old tag
|
|
18283
18284
|
useDecisionPosCountValue: false,
|
|
18284
18285
|
useShelfPlannerRTV: false,
|
|
18285
|
-
notificationsRules: [
|
|
18286
|
+
notificationsRules: [{
|
|
18287
|
+
rules: [{
|
|
18288
|
+
visitedOptions: ['SHELFARTICLE_1'],
|
|
18289
|
+
articles: [''],
|
|
18290
|
+
jsFormula: '',
|
|
18291
|
+
variantValues: {}
|
|
18292
|
+
}],
|
|
18293
|
+
checkOnEvents: {
|
|
18294
|
+
option: 'GR',
|
|
18295
|
+
articleCodex: '',
|
|
18296
|
+
optionValue: ''
|
|
18297
|
+
},
|
|
18298
|
+
type: 'notification',
|
|
18299
|
+
showInModal: true,
|
|
18300
|
+
onlyShowOnce: true,
|
|
18301
|
+
messageTitle: {
|
|
18302
|
+
DE: 'ospele'
|
|
18303
|
+
},
|
|
18304
|
+
message: {
|
|
18305
|
+
DE: 'Achtung alle änderungen gehen verlohren... Bist du sicher?'
|
|
18306
|
+
}
|
|
18307
|
+
}],
|
|
18286
18308
|
warningRule: [],
|
|
18287
18309
|
summaryTabGroupPosition: undefined,
|
|
18288
18310
|
onConfigSingleDontGeneralize: false,
|
|
@@ -18328,7 +18350,7 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
18328
18350
|
var _this$catalogMask$cat;
|
|
18329
18351
|
if ((_this$catalogMask$cat = this.catalogMask.catalog.name) !== null && _this$catalogMask$cat !== void 0 && _this$catalogMask$cat[this.api.getLanguage()]) this.catalogData.catalogName = this.catalogMask.catalog.name[this.api.getLanguage()];
|
|
18330
18352
|
if (this.catalogMask.catalog.name) this.catalogData.name_locales = this.catalogMask.catalog.name;
|
|
18331
|
-
if (this.catalogMask.catalog.properties) this.initProperties([].concat(_toConsumableArray(this.origProperties), _toConsumableArray(this.catalogMask.catalog.properties)));
|
|
18353
|
+
if (this.catalogMask.catalog.properties) this.initProperties([].concat(_toConsumableArray(this.origProperties), _toConsumableArray(Object.values(this.catalogMask.catalog.properties))));
|
|
18332
18354
|
}
|
|
18333
18355
|
}
|
|
18334
18356
|
}, {
|
|
@@ -18586,6 +18608,8 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
18586
18608
|
_this.catalogData.bundleRules = JSON.parse(item.Value);
|
|
18587
18609
|
} else if (item.Codex == 'NOTIFICATIONS') {
|
|
18588
18610
|
_this.catalogData.notificationsRules = JSON.parse(item.Value);
|
|
18611
|
+
} else if (item.Codex == 'WARNINGS') {
|
|
18612
|
+
_this.catalogData.warningRule = JSON.parse(item.Value);
|
|
18589
18613
|
} else if (item.Codex == 'IGNORE_MAX_PRICE_AS_BASEPRICE') {
|
|
18590
18614
|
_this.catalogData.ignoreMaxPriceAsBP = item.Value == '1';
|
|
18591
18615
|
} else if (item.Codex == 'DONT_USE_VCODEX_FOR_BASKET') {
|
|
@@ -23503,7 +23527,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
23503
23527
|
break;
|
|
23504
23528
|
}
|
|
23505
23529
|
_context.next = 4;
|
|
23506
|
-
return import('./ShelfPlanner-
|
|
23530
|
+
return import('./ShelfPlanner-ff88c9d8.js');
|
|
23507
23531
|
case 4:
|
|
23508
23532
|
_yield$import = _context.sent;
|
|
23509
23533
|
ShelfPlanner = _yield$import["default"];
|
|
@@ -27991,7 +28015,7 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
27991
28015
|
break;
|
|
27992
28016
|
}
|
|
27993
28017
|
_context4.next = 3;
|
|
27994
|
-
return import('./DoorPlanner-
|
|
28018
|
+
return import('./DoorPlanner-dfcc1e9b.js');
|
|
27995
28019
|
case 3:
|
|
27996
28020
|
_yield$import = _context4.sent;
|
|
27997
28021
|
DoorPlanner = _yield$import["default"];
|
|
@@ -29416,7 +29440,7 @@ var SummaryHandler = /*#__PURE__*/function () {
|
|
|
29416
29440
|
if (article.getArticleOptionState('OPT' + optionCodexes[0])) {
|
|
29417
29441
|
for (var i = 0; i < optionCodexes.length; i++) {
|
|
29418
29442
|
var optionState = article.getArticleOptionState('OPT' + optionCodexes[i]);
|
|
29419
|
-
if (!optionState.isInvisible && optionState.isDoShow && optionState.visibleCount > 0 && optionState.valCodex != 'OPVNR') {
|
|
29443
|
+
if (optionState && !optionState.isInvisible && optionState.isDoShow && optionState.visibleCount > 0 && optionState.valCodex != 'OPVNR') {
|
|
29420
29444
|
opss.push(optionState);
|
|
29421
29445
|
}
|
|
29422
29446
|
}
|
|
@@ -29708,10 +29732,10 @@ var DivaFavoritesHandler = /*#__PURE__*/function () {
|
|
|
29708
29732
|
setHashes = {};
|
|
29709
29733
|
variantId = this.getVariantIdToStart(set);
|
|
29710
29734
|
origConfig = articles[Object.keys(articles)[0]].VariantValues;
|
|
29711
|
-
i =
|
|
29735
|
+
i = 0;
|
|
29712
29736
|
case 6:
|
|
29713
|
-
if (!(i
|
|
29714
|
-
_context3.next =
|
|
29737
|
+
if (!(i < variants.length)) {
|
|
29738
|
+
_context3.next = 53;
|
|
29715
29739
|
break;
|
|
29716
29740
|
}
|
|
29717
29741
|
variantForTargetArticles = variants[i];
|
|
@@ -29814,9 +29838,14 @@ var DivaFavoritesHandler = /*#__PURE__*/function () {
|
|
|
29814
29838
|
variantForTargetArticles.configVariantValues = configVariantValues;
|
|
29815
29839
|
variantForTargetArticles.price = set === null || set === void 0 ? void 0 : set.getSetPrice();
|
|
29816
29840
|
variantForTargetArticles.title = set === null || set === void 0 ? void 0 : set.CatalogData.catalogName;
|
|
29817
|
-
if (
|
|
29818
|
-
|
|
29841
|
+
if (variantIsValid) {
|
|
29842
|
+
_context3.next = 48;
|
|
29843
|
+
break;
|
|
29819
29844
|
}
|
|
29845
|
+
variants.splice(i, 1);
|
|
29846
|
+
i--;
|
|
29847
|
+
return _context3.abrupt("continue", 50);
|
|
29848
|
+
case 48:
|
|
29820
29849
|
reservedId = this.tryGetOldVariantIdForVariant(set, variants[i]);
|
|
29821
29850
|
if (reservedId !== undefined) {
|
|
29822
29851
|
variants[i].id = reservedId;
|
|
@@ -29824,21 +29853,21 @@ var DivaFavoritesHandler = /*#__PURE__*/function () {
|
|
|
29824
29853
|
variants[i].id = variantId;
|
|
29825
29854
|
variantId++;
|
|
29826
29855
|
}
|
|
29827
|
-
case
|
|
29828
|
-
i
|
|
29856
|
+
case 50:
|
|
29857
|
+
i++;
|
|
29829
29858
|
_context3.next = 6;
|
|
29830
29859
|
break;
|
|
29831
|
-
case
|
|
29860
|
+
case 53:
|
|
29832
29861
|
if (!set.favoritesChanged) this.evalOldConfigVariants(set, variants);
|
|
29833
|
-
_context3.next =
|
|
29862
|
+
_context3.next = 56;
|
|
29834
29863
|
return setHandlerInstance.updateArticlesOptionStatesOfActSet(set, origConfig, Object.keys(articles), true);
|
|
29835
|
-
case
|
|
29864
|
+
case 56:
|
|
29836
29865
|
set.allVariantsCache = variants;
|
|
29837
29866
|
variants.sort(function (a, b) {
|
|
29838
29867
|
return a.id - b.id;
|
|
29839
29868
|
});
|
|
29840
29869
|
return _context3.abrupt("return", variants);
|
|
29841
|
-
case
|
|
29870
|
+
case 59:
|
|
29842
29871
|
case "end":
|
|
29843
29872
|
return _context3.stop();
|
|
29844
29873
|
}
|
|
@@ -30125,7 +30154,7 @@ var DivaFavoritesHandler = /*#__PURE__*/function () {
|
|
|
30125
30154
|
allvariants = _context4.t0;
|
|
30126
30155
|
validVariants = [];
|
|
30127
30156
|
for (i = 0; i < allvariants.length; i++) {
|
|
30128
|
-
if (!set.disabledVariants.includes(i)) {
|
|
30157
|
+
if (!set.disabledVariants.includes(allvariants[i].id)) {
|
|
30129
30158
|
validVariants.push(allvariants[i]);
|
|
30130
30159
|
}
|
|
30131
30160
|
}
|
|
@@ -30320,8 +30349,8 @@ var DivaFavoritesHandler = /*#__PURE__*/function () {
|
|
|
30320
30349
|
if (!((_set$oldConfigVariant3 = set.oldConfigVariants) !== null && _set$oldConfigVariant3 !== void 0 && _set$oldConfigVariant3.length)) return;
|
|
30321
30350
|
//set all invalid
|
|
30322
30351
|
set.disabledVariants = [];
|
|
30323
|
-
variants.map(function (v
|
|
30324
|
-
return set.disabledVariants.push(
|
|
30352
|
+
variants.map(function (v) {
|
|
30353
|
+
return set.disabledVariants.push(v.id);
|
|
30325
30354
|
});
|
|
30326
30355
|
var oldConfigVariants = _toConsumableArray(set.oldConfigVariants);
|
|
30327
30356
|
for (var i = 0; i < variants.length; i++) {
|
|
@@ -30344,7 +30373,7 @@ var DivaFavoritesHandler = /*#__PURE__*/function () {
|
|
|
30344
30373
|
if (tryNext) break;
|
|
30345
30374
|
}
|
|
30346
30375
|
if (!tryNext) {
|
|
30347
|
-
var index = set.disabledVariants.indexOf(
|
|
30376
|
+
var index = set.disabledVariants.indexOf(variant.id);
|
|
30348
30377
|
if (index != -1) set.disabledVariants.splice(index, 1);
|
|
30349
30378
|
oldConfigVariants.splice(j, 1);
|
|
30350
30379
|
}
|
|
@@ -35784,7 +35813,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35784
35813
|
break;
|
|
35785
35814
|
case 3:
|
|
35786
35815
|
_context13.next = 5;
|
|
35787
|
-
return import('./PfisterWWSHandler-
|
|
35816
|
+
return import('./PfisterWWSHandler-28dd4770.js');
|
|
35788
35817
|
case 5:
|
|
35789
35818
|
_yield$import = _context13.sent;
|
|
35790
35819
|
PfisterWWSHandler = _yield$import["default"];
|
|
@@ -35792,7 +35821,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35792
35821
|
return _context13.abrupt("break", 33);
|
|
35793
35822
|
case 9:
|
|
35794
35823
|
_context13.next = 11;
|
|
35795
|
-
return import('./LiviqueWWSHandler-
|
|
35824
|
+
return import('./LiviqueWWSHandler-ab108660.js');
|
|
35796
35825
|
case 11:
|
|
35797
35826
|
_yield$import2 = _context13.sent;
|
|
35798
35827
|
LiviqueWWSHandler = _yield$import2["default"];
|
|
@@ -35800,7 +35829,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35800
35829
|
return _context13.abrupt("break", 33);
|
|
35801
35830
|
case 15:
|
|
35802
35831
|
_context13.next = 17;
|
|
35803
|
-
return import('./SeriousBasketHandler-
|
|
35832
|
+
return import('./SeriousBasketHandler-7d8bdefe.js');
|
|
35804
35833
|
case 17:
|
|
35805
35834
|
_yield$import3 = _context13.sent;
|
|
35806
35835
|
SeriousWWSHandler = _yield$import3["default"];
|
|
@@ -35808,7 +35837,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35808
35837
|
return _context13.abrupt("break", 33);
|
|
35809
35838
|
case 21:
|
|
35810
35839
|
_context13.next = 23;
|
|
35811
|
-
return import('./ProductBasketHandler-
|
|
35840
|
+
return import('./ProductBasketHandler-56d310f8.js');
|
|
35812
35841
|
case 23:
|
|
35813
35842
|
_yield$import4 = _context13.sent;
|
|
35814
35843
|
ProductWWSHandler = _yield$import4["default"];
|
|
@@ -35816,7 +35845,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35816
35845
|
return _context13.abrupt("break", 33);
|
|
35817
35846
|
case 27:
|
|
35818
35847
|
_context13.next = 29;
|
|
35819
|
-
return import('./StandardWWSHandler-
|
|
35848
|
+
return import('./StandardWWSHandler-8b217a8f.js');
|
|
35820
35849
|
case 29:
|
|
35821
35850
|
_yield$import5 = _context13.sent;
|
|
35822
35851
|
StandardWWSHandler = _yield$import5["default"];
|
|
@@ -37021,7 +37050,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
37021
37050
|
break;
|
|
37022
37051
|
}
|
|
37023
37052
|
_context3.next = 3;
|
|
37024
|
-
return import('./Host3DSignalR-
|
|
37053
|
+
return import('./Host3DSignalR-08117df5.js');
|
|
37025
37054
|
case 3:
|
|
37026
37055
|
_yield$import = _context3.sent;
|
|
37027
37056
|
Host3DSignalR = _yield$import["default"];
|
|
@@ -38581,7 +38610,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38581
38610
|
break;
|
|
38582
38611
|
}
|
|
38583
38612
|
_context4.next = 11;
|
|
38584
|
-
return import('./DivaSingleProductPlanner-
|
|
38613
|
+
return import('./DivaSingleProductPlanner-bc11af8c.js');
|
|
38585
38614
|
case 11:
|
|
38586
38615
|
_yield$import = _context4.sent;
|
|
38587
38616
|
DivaSingleProductPlanner = _yield$import["default"];
|
|
@@ -38590,7 +38619,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38590
38619
|
break;
|
|
38591
38620
|
case 16:
|
|
38592
38621
|
_context4.next = 18;
|
|
38593
|
-
return import('./DivaStandardPlanner-
|
|
38622
|
+
return import('./DivaStandardPlanner-bb2a6560.js');
|
|
38594
38623
|
case 18:
|
|
38595
38624
|
_yield$import2 = _context4.sent;
|
|
38596
38625
|
DivaStandardPlanner = _yield$import2["default"];
|
|
@@ -38602,7 +38631,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38602
38631
|
return _context4.abrupt("break", 29);
|
|
38603
38632
|
case 23:
|
|
38604
38633
|
_context4.next = 25;
|
|
38605
|
-
return import('./DivaBoxPlanner-
|
|
38634
|
+
return import('./DivaBoxPlanner-162f61b3.js');
|
|
38606
38635
|
case 25:
|
|
38607
38636
|
_yield$import3 = _context4.sent;
|
|
38608
38637
|
DivaBoxPlanner = _yield$import3["default"];
|
|
@@ -42995,6 +43024,8 @@ var Grid = /*#__PURE__*/function () {
|
|
|
42995
43024
|
// E.g: "Grid Left" or "Grid Middle" or "Grid Right"
|
|
42996
43025
|
_defineProperty(this, "gridName", void 0);
|
|
42997
43026
|
_defineProperty(this, "maxAccessoireInGridCounter", void 0);
|
|
43027
|
+
//only one array of accessoires is plannable together in one grid. the accessoires of the mid array exclude each other. The outer array is for te usage of this rule in different usecases.
|
|
43028
|
+
_defineProperty(this, "excludeAccessoiresByAccessoiresInGrid", void 0);
|
|
42998
43029
|
_defineProperty(this, "influencedByNeighborGrids", void 0);
|
|
42999
43030
|
_defineProperty(this, "influencedByOverlappingGrids", void 0);
|
|
43000
43031
|
var grid = data.ShelfPlanner[index];
|
|
@@ -43010,6 +43041,7 @@ var Grid = /*#__PURE__*/function () {
|
|
|
43010
43041
|
this.requiredWarning = grid.RequiredWarning;
|
|
43011
43042
|
this.gridName = grid.GridName;
|
|
43012
43043
|
this.maxAccessoireInGridCounter = grid.MaxAccessoireInGridCounter;
|
|
43044
|
+
this.excludeAccessoiresByAccessoiresInGrid = grid.ExcludeAccessoiresByAccessoiresInGrid;
|
|
43013
43045
|
this.influencedByNeighborGrids = grid.InfluencedByNeighborGrids;
|
|
43014
43046
|
this.influencedByOverlappingGrids = grid.InfluencedByOverlappingGrids;
|
|
43015
43047
|
this._group = grid.Group;
|
|
@@ -43696,7 +43728,7 @@ var Grid = /*#__PURE__*/function () {
|
|
|
43696
43728
|
key: "getFreeSpacesOfAccessoire",
|
|
43697
43729
|
value: function getFreeSpacesOfAccessoire(accessoire) {
|
|
43698
43730
|
var size = accessoire.shelfHeight;
|
|
43699
|
-
if (!size || this.disabledByRule || this.
|
|
43731
|
+
if (!size || this.disabledByRule || this.checkAccessoireInGridRules(accessoire)) return [];
|
|
43700
43732
|
var freeCells = [];
|
|
43701
43733
|
for (var i = 0; i < this.Cells.length; i++) {
|
|
43702
43734
|
var _cell$Article4;
|
|
@@ -43731,22 +43763,51 @@ var Grid = /*#__PURE__*/function () {
|
|
|
43731
43763
|
return _toConsumableArray(new Set(freeCells));
|
|
43732
43764
|
}
|
|
43733
43765
|
}, {
|
|
43734
|
-
key: "
|
|
43735
|
-
value: function
|
|
43736
|
-
var _this$maxAccessoireIn;
|
|
43737
|
-
|
|
43738
|
-
|
|
43739
|
-
var
|
|
43740
|
-
|
|
43741
|
-
|
|
43742
|
-
|
|
43743
|
-
|
|
43744
|
-
var
|
|
43745
|
-
|
|
43746
|
-
|
|
43766
|
+
key: "checkAccessoireInGridRules",
|
|
43767
|
+
value: function checkAccessoireInGridRules(accessoire) {
|
|
43768
|
+
var _this$maxAccessoireIn, _this$excludeAccessoi;
|
|
43769
|
+
//max count in grid logic
|
|
43770
|
+
if ((_this$maxAccessoireIn = this.maxAccessoireInGridCounter) !== null && _this$maxAccessoireIn !== void 0 && _this$maxAccessoireIn.length) {
|
|
43771
|
+
for (var i = 0; i < this.maxAccessoireInGridCounter.length; i++) {
|
|
43772
|
+
var rule = this.maxAccessoireInGridCounter[i];
|
|
43773
|
+
var counter = 0;
|
|
43774
|
+
if (rule.accessoires.includes(accessoire.articleCodex)) {
|
|
43775
|
+
var currentAccessoires = Object.values(this.Accessoires);
|
|
43776
|
+
for (var j = 0; j < currentAccessoires.length; j++) {
|
|
43777
|
+
var curAcc = currentAccessoires[j];
|
|
43778
|
+
if (rule.accessoires.includes(curAcc.articleCodex)) {
|
|
43779
|
+
counter = counter + curAcc.quantity;
|
|
43780
|
+
}
|
|
43781
|
+
}
|
|
43782
|
+
if (counter >= rule.maxCount) return true;
|
|
43783
|
+
}
|
|
43784
|
+
}
|
|
43785
|
+
}
|
|
43786
|
+
|
|
43787
|
+
//accessories excluded eachother
|
|
43788
|
+
if ((_this$excludeAccessoi = this.excludeAccessoiresByAccessoiresInGrid) !== null && _this$excludeAccessoi !== void 0 && _this$excludeAccessoi.length) {
|
|
43789
|
+
var excludeAccessoiresGroup = this.excludeAccessoiresByAccessoiresInGrid;
|
|
43790
|
+
for (var _j2 = 0; _j2 < excludeAccessoiresGroup.length; _j2++) {
|
|
43791
|
+
var plannedAccessoireIndex = -1;
|
|
43792
|
+
var excludeAccessoires = excludeAccessoiresGroup[_j2];
|
|
43793
|
+
for (var _i16 = 0; _i16 < excludeAccessoires.length; _i16++) {
|
|
43794
|
+
var accessoireArray = excludeAccessoires[_i16];
|
|
43795
|
+
for (var basketId in this.Accessoires) {
|
|
43796
|
+
var palnnedAccessoire = this.Accessoires[basketId];
|
|
43797
|
+
if (accessoireArray.includes(palnnedAccessoire.articleCodex)) {
|
|
43798
|
+
plannedAccessoireIndex = _i16;
|
|
43799
|
+
break;
|
|
43800
|
+
}
|
|
43801
|
+
}
|
|
43802
|
+
if (plannedAccessoireIndex >= 0) break;
|
|
43803
|
+
}
|
|
43804
|
+
if (plannedAccessoireIndex >= 0) {
|
|
43805
|
+
for (var _i17 = 0; _i17 < excludeAccessoires.length; _i17++) {
|
|
43806
|
+
var _accessoireArray = excludeAccessoires[_i17];
|
|
43807
|
+
if (plannedAccessoireIndex == _i17) continue;
|
|
43808
|
+
if (_accessoireArray.includes(accessoire.articleCodex)) return true;
|
|
43747
43809
|
}
|
|
43748
43810
|
}
|
|
43749
|
-
if (counter >= rule.maxCount) return true;
|
|
43750
43811
|
}
|
|
43751
43812
|
}
|
|
43752
43813
|
return false;
|
|
@@ -43791,16 +43852,16 @@ var Grid = /*#__PURE__*/function () {
|
|
|
43791
43852
|
}
|
|
43792
43853
|
}
|
|
43793
43854
|
if ((_this$influencedByNei = this.influencedByNeighborGrids) !== null && _this$influencedByNei !== void 0 && _this$influencedByNei.length) {
|
|
43794
|
-
for (var
|
|
43855
|
+
for (var _i18 = 0; _i18 < this.influencedByNeighborGrids.length; _i18++) {
|
|
43795
43856
|
var _this$article$shelfPl2;
|
|
43796
|
-
var _influenced = this.influencedByNeighborGrids[
|
|
43857
|
+
var _influenced = this.influencedByNeighborGrids[_i18];
|
|
43797
43858
|
var neighborGrid = (_this$article$shelfPl2 = this.article.shelfPlanner) === null || _this$article$shelfPl2 === void 0 ? void 0 : _this$article$shelfPl2.getGridByGridName(_influenced.GridName);
|
|
43798
43859
|
var _ret = false;
|
|
43799
43860
|
if (!neighborGrid) continue;
|
|
43800
43861
|
if (neighborGrid.Direction === this.Direction) {
|
|
43801
|
-
for (var
|
|
43862
|
+
for (var _j3 = 0; _j3 < size; _j3++) {
|
|
43802
43863
|
var _cell$Article5;
|
|
43803
|
-
var cell = neighborGrid.cells[
|
|
43864
|
+
var cell = neighborGrid.cells[_j3 + index];
|
|
43804
43865
|
if ((cell === null || cell === void 0 ? void 0 : cell.InUse) !== -1 && ((_cell$Article5 = cell.Article) === null || _cell$Article5 === void 0 ? void 0 : _cell$Article5.basketId) !== accessoire.basketId) {
|
|
43805
43866
|
_ret = true;
|
|
43806
43867
|
}
|
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, P as Product, 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, P as Product, 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-999a0e8c.js';
|
|
2
2
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
3
3
|
import '@babel/runtime/helpers/classCallCheck';
|
|
4
4
|
import '@babel/runtime/helpers/createClass';
|
|
@@ -11,6 +11,7 @@ import DivaBasketHandler from './logic/Basket/DivaBasketHandler';
|
|
|
11
11
|
import CatalogPlannerArticleData from './model/Articles/CatalogPlannerArticleData';
|
|
12
12
|
import DivaArticle from './logic/Article/DivaArticle';
|
|
13
13
|
export default DivaWebPlanner;
|
|
14
|
+
export type { CoreHandlers, Actions, State } from './interface/CoreTypes';
|
|
14
15
|
export type { SummaryItem } from './interface/Summary/SummaryItemType';
|
|
15
16
|
export type { SummaryVariant } from './interface/Summary/SummaryVariant';
|
|
16
17
|
export type { SummaryPaletteItemType } from './interface/Summary/SummaryPaletteItemType';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAC;AACpD,OAAO,SAAS,MAAM,qCAAqC,CAAC;AAC5D,OAAO,YAAY,MAAM,8BAA8B,CAAC;AACxD,OAAO,mBAAmB,MAAM,sBAAsB,CAAC;AACvD,OAAO,IAAI,MAAM,kDAAkD,CAAC;AACpE,OAAO,IAAI,MAAM,kDAAkD,CAAC;AACpE,OAAO,OAAO,MAAM,yBAAyB,CAAC;AAC9C,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AACjE,OAAO,yBAAyB,MAAM,4CAA4C,CAAC;AACnF,OAAO,WAAW,MAAM,6BAA6B,CAAC;AACtD,eAAe,cAAc,CAAC;AAE9B,YAAY,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACvE,YAAY,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,YAAY,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACzF,YAAY,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClF,YAAY,EAAE,iCAAiC,EAAE,MAAM,wDAAwD,CAAC;AAChH,YAAY,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AACpG,YAAY,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAClF,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,2BAA2B,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC/H,YAAY,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,+C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M,gDAAgD,CAAC;AAC9E,YAAY,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAE3D,YAAY,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACpE,YAAY,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAE/G,YAAY,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,eAAe,MAAM,yBAAyB,CAAC;AACtD,OAAO,iBAAiB,MAAM,mCAAmC,CAAC;AAElE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAEvF,YAAY,EAAE,QAAQ,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,mDAAmD,CAAC;AAC9H,YAAY,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAClE,YAAY,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAEhF,OAAO,EACL,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,mBAAmB,EACnB,iBAAiB,EACjB,yBAAyB,GAC1B,CAAC"}
|
|
@@ -19,13 +19,17 @@ export interface VariantValues {
|
|
|
19
19
|
export interface CatalogMask {
|
|
20
20
|
catalog?: {
|
|
21
21
|
name?: Locales;
|
|
22
|
-
properties?:
|
|
22
|
+
properties?: {
|
|
23
|
+
[codex: string]: MetaData;
|
|
24
|
+
};
|
|
23
25
|
};
|
|
24
26
|
articles?: {
|
|
25
27
|
[articleCodex: string]: {
|
|
26
28
|
groupName?: Locales;
|
|
27
29
|
name?: Locales;
|
|
28
|
-
properties?:
|
|
30
|
+
properties?: {
|
|
31
|
+
[codex: string]: MetaData;
|
|
32
|
+
};
|
|
29
33
|
hidden?: boolean;
|
|
30
34
|
};
|
|
31
35
|
};
|
|
@@ -34,7 +38,9 @@ export interface CatalogMask {
|
|
|
34
38
|
tabGroup?: Locales;
|
|
35
39
|
name?: Locales;
|
|
36
40
|
layout?: 'IMAGE' | 'TEXT' | 'DROPDOWN_TEXT' | 'DROPDOWN_IMAGE' | 'NUMBER' | 'GAL_BIG' | 'GAL_GROUP_DROPDOWN' | 'GAL_SMALL_GROUP_DROPDOWN' | 'GAL_TEXT' | 'GAL_BIG_TEXT' | 'GAL_SMALL_TEXT' | 'TOGGLE' | 'TOGGLE_NAME' | 'TEXTBOX';
|
|
37
|
-
properties?:
|
|
41
|
+
properties?: {
|
|
42
|
+
[codex: string]: MetaData;
|
|
43
|
+
};
|
|
38
44
|
hidden?: boolean;
|
|
39
45
|
};
|
|
40
46
|
};
|
|
@@ -42,7 +48,9 @@ export interface CatalogMask {
|
|
|
42
48
|
[optionValueCodex: string]: {
|
|
43
49
|
groupName?: Locales;
|
|
44
50
|
name?: Locales;
|
|
45
|
-
properties?:
|
|
51
|
+
properties?: {
|
|
52
|
+
[codex: string]: MetaData;
|
|
53
|
+
};
|
|
46
54
|
hidden?: boolean;
|
|
47
55
|
};
|
|
48
56
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdditionalModelInfos.d.ts","sourceRoot":"","sources":["../../../../../src/interface/AdditionalModelInfos.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,QAAQ,EAAE;QAAE,CAAC,YAAY,EAAE,MAAM,GAAG,aAAa,EAAE,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