zakeke-configurator-react 0.1.302 → 0.1.304
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 +12 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29118,11 +29118,18 @@ var ZakekeEnvironment = /*#__PURE__*/function () {
|
|
|
29118
29118
|
composition = (_this$savedCompositio = _this.savedCompositions) === null || _this$savedCompositio === void 0 ? void 0 : _this$savedCompositio.find(function (x) {
|
|
29119
29119
|
return x.docID == docID;
|
|
29120
29120
|
});
|
|
29121
|
-
compositionModel = new MPlaza.Composition(composition);
|
|
29122
|
-
|
|
29121
|
+
compositionModel = new MPlaza.Composition(composition);
|
|
29122
|
+
if (!composition) {
|
|
29123
|
+
_context70.next = 5;
|
|
29124
|
+
break;
|
|
29125
|
+
}
|
|
29123
29126
|
_context70.next = 5;
|
|
29124
|
-
return _this.
|
|
29127
|
+
return _this.bootstrapComposition(new MPlaza.Composition(composition));
|
|
29125
29128
|
case 5:
|
|
29129
|
+
_this.selection.setupOnComposition(compositionModel);
|
|
29130
|
+
_context70.next = 8;
|
|
29131
|
+
return _this.sync3DAndPlatformSelectionWithCurrentSelection();
|
|
29132
|
+
case 8:
|
|
29126
29133
|
_this.buildStructure();
|
|
29127
29134
|
_this.updatePrice();
|
|
29128
29135
|
_this.selection.getAllAttributeSelections().forEach(function (attributeSelection) {
|
|
@@ -29142,7 +29149,7 @@ var ZakekeEnvironment = /*#__PURE__*/function () {
|
|
|
29142
29149
|
platformSelection: platformSelection
|
|
29143
29150
|
});
|
|
29144
29151
|
});
|
|
29145
|
-
case
|
|
29152
|
+
case 11:
|
|
29146
29153
|
case "end":
|
|
29147
29154
|
return _context70.stop();
|
|
29148
29155
|
}
|
|
@@ -29268,7 +29275,7 @@ var ZakekeEnvironment = /*#__PURE__*/function () {
|
|
|
29268
29275
|
});
|
|
29269
29276
|
_this.composition.set('compositionItems', newCompositionItems);
|
|
29270
29277
|
|
|
29271
|
-
//
|
|
29278
|
+
//await this.bootstrapComposition(this.composition);
|
|
29272
29279
|
_this.selection.setupOnComposition(_this.composition);
|
|
29273
29280
|
_context74.next = 14;
|
|
29274
29281
|
return _this.sync3DAndPlatformSelectionWithCurrentSelection();
|