zakeke-configurator-react 0.0.210 → 0.0.211
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/dist/index.js +22 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -66109,17 +66109,34 @@ var ZakekeEnvironment = /*#__PURE__*/function () {
|
|
|
66109
66109
|
case 14:
|
|
66110
66110
|
_this.buildStructure();
|
|
66111
66111
|
_this.updatePrice();
|
|
66112
|
-
|
|
66112
|
+
_this.selection.getAllAttributeSelections().forEach(function (attributeSelection) {
|
|
66113
|
+
var selectionOption = attributeSelection.get('options').find(function (x) {
|
|
66114
|
+
return x.get('selected');
|
|
66115
|
+
});
|
|
66116
|
+
|
|
66117
|
+
// Change platform selection
|
|
66118
|
+
var platformSelection = _this.platformAttributesSelection.find(function (x) {
|
|
66119
|
+
return (0,_helpers__WEBPACK_IMPORTED_MODULE_7__.matchCodes)(x.attributeCode, attributeSelection.get('attributeCode'));
|
|
66120
|
+
});
|
|
66121
|
+
if (platformSelection && selectionOption) {
|
|
66122
|
+
platformSelection.optionCode = selectionOption.get('optionCode');
|
|
66123
|
+
platformSelection.optionLabel = selectionOption.get('name');
|
|
66124
|
+
}
|
|
66125
|
+
console.log({
|
|
66126
|
+
platformSelection: platformSelection
|
|
66127
|
+
});
|
|
66128
|
+
});
|
|
66129
|
+
_context72.next = 22;
|
|
66113
66130
|
break;
|
|
66114
|
-
case
|
|
66115
|
-
_context72.prev =
|
|
66131
|
+
case 19:
|
|
66132
|
+
_context72.prev = 19;
|
|
66116
66133
|
_context72.t0 = _context72["catch"](0);
|
|
66117
66134
|
console.error(_context72.t0);
|
|
66118
|
-
case
|
|
66135
|
+
case 22:
|
|
66119
66136
|
case "end":
|
|
66120
66137
|
return _context72.stop();
|
|
66121
66138
|
}
|
|
66122
|
-
}, _callee71, null, [[0,
|
|
66139
|
+
}, _callee71, null, [[0, 19]]);
|
|
66123
66140
|
}));
|
|
66124
66141
|
return function (_x68) {
|
|
66125
66142
|
return _ref74.apply(this, arguments);
|