zakeke-configurator-react 0.0.88 → 0.0.89
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 +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -48882,7 +48882,9 @@ class ZakekeEnvironment {
|
|
|
48882
48882
|
});
|
|
48883
48883
|
if (option) {
|
|
48884
48884
|
this.selection.selectAttributeValue(attribute.get('attributeID'), option.get('optionID'));
|
|
48885
|
+
// Update here the labels because events are not attached yet (attached below)
|
|
48885
48886
|
platformSelection.attributeLabel = attribute.get("name");
|
|
48887
|
+
platformSelection.optionLabel = option.get("name");
|
|
48886
48888
|
}
|
|
48887
48889
|
}
|
|
48888
48890
|
}
|
|
@@ -49774,7 +49776,7 @@ class ZakekeEnvironment {
|
|
|
49774
49776
|
return (_a = this.zkScene.getTryOnEnabled()) !== null && _a !== void 0 ? _a : false;
|
|
49775
49777
|
return false;
|
|
49776
49778
|
};
|
|
49777
|
-
this.getTryOnUrl = (
|
|
49779
|
+
this.getTryOnUrl = () => {
|
|
49778
49780
|
return new Promise(resolve => {
|
|
49779
49781
|
if (this.zkScene && this.viewer) {
|
|
49780
49782
|
const fileId = this.zkScene.getSceneID();
|
|
@@ -49784,7 +49786,7 @@ class ZakekeEnvironment {
|
|
|
49784
49786
|
const attachmentPoint = 'noseBridge';
|
|
49785
49787
|
// Salvo le mesh su IndexedDB
|
|
49786
49788
|
this.viewer.saveVisibleMeshesOnDatabaseAsync(fileId).then(() => {
|
|
49787
|
-
const url =
|
|
49789
|
+
const url = "https://zakekecdn.blob.core.windows.net/cdn/c/tryon/index.html";
|
|
49788
49790
|
const link = new URL(url);
|
|
49789
49791
|
let search = "id=" + fileId;
|
|
49790
49792
|
search += '&rootUrl=' + encodeURIComponent(rootUrl);
|