zakeke-configurator-react 0.1.292-prod → 0.1.294-prod
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.
|
@@ -55,6 +55,7 @@ export declare class ZakekeEnvironment {
|
|
|
55
55
|
private enableShareCompositionUrl;
|
|
56
56
|
private sharedCompositionDocId;
|
|
57
57
|
private templateId;
|
|
58
|
+
deepARsceneGLBUrl: string | null;
|
|
58
59
|
loadedComposition: {
|
|
59
60
|
templateName: string;
|
|
60
61
|
attributesOptions: Map<number, number>;
|
|
@@ -151,6 +152,7 @@ export declare class ZakekeEnvironment {
|
|
|
151
152
|
* @private
|
|
152
153
|
*/
|
|
153
154
|
boot: (parameters: BootParameters | null) => Promise<void>;
|
|
155
|
+
private buildDeepARSceneGLBUrl;
|
|
154
156
|
loadSceneFromGlbUrl: (glbUrl: string, sceneConfig: Zakeke.SceneConfig) => Promise<void>;
|
|
155
157
|
appendViewer: (container: HTMLElement) => void;
|
|
156
158
|
setHighlightSettings: (settings: {
|
|
@@ -287,8 +289,8 @@ export declare class ZakekeEnvironment {
|
|
|
287
289
|
isSceneArEnabled: () => boolean;
|
|
288
290
|
private getPregeneratedARUrl;
|
|
289
291
|
getQrCodeArUrl: (device: 'iOS' | 'Android') => Promise<string>;
|
|
290
|
-
getMobileArUrl: (
|
|
291
|
-
getMobileLocalArUrl: (
|
|
292
|
+
getMobileArUrl: () => Promise<string | null>;
|
|
293
|
+
getMobileLocalArUrl: () => Promise<string>;
|
|
292
294
|
openArMobile: (url: string) => void;
|
|
293
295
|
private registerView;
|
|
294
296
|
getMeshIDbyName: (name: string) => string | undefined;
|
|
@@ -344,6 +346,7 @@ export declare class ZakekeEnvironment {
|
|
|
344
346
|
pdDistance: () => number;
|
|
345
347
|
exportTryOnMeshToGlb: () => Promise<Blob | null>;
|
|
346
348
|
getTryOnSettings: () => Zakeke.TryOnSettings | undefined;
|
|
349
|
+
getDeepARDesktopIframeUrl: () => Promise<string>;
|
|
347
350
|
tryOnCountView: (sellerID: number, providerID: number, modeChosen: TryOnMode) => Promise<void>;
|
|
348
351
|
/**
|
|
349
352
|
* Ottiene le restrizioni sul printing method (che nel caso di un prodotto configuratore 3D c'è sempre ed è 1 solo).
|
|
@@ -354,5 +357,6 @@ export declare class ZakekeEnvironment {
|
|
|
354
357
|
*/
|
|
355
358
|
getPrintingMethodsRestrictions: () => PrintingMethodsRestrictions;
|
|
356
359
|
setMouseWheelZoomEnabled: (enabled: boolean) => void;
|
|
360
|
+
setCameraPinchingZoom: (toggle: boolean) => void;
|
|
357
361
|
}
|
|
358
362
|
export {};
|
|
@@ -88,7 +88,10 @@ export interface Zakeke {
|
|
|
88
88
|
uiConfig: UIConfig | null;
|
|
89
89
|
backgroundColor: string;
|
|
90
90
|
removeBackground: boolean;
|
|
91
|
+
deepARsceneGLBUrl: string | null;
|
|
92
|
+
getDeepARDesktopIframeUrl: () => Promise<string>;
|
|
91
93
|
setMouseWheelZoomEnabled: (enabled: boolean) => void;
|
|
94
|
+
setCameraPinchingZoom: (toggle: boolean) => void;
|
|
92
95
|
selectOption: (optionId: number) => void;
|
|
93
96
|
/**
|
|
94
97
|
* @internal
|
|
@@ -175,7 +178,7 @@ export interface Zakeke {
|
|
|
175
178
|
highlightGroup: (groupId: number) => void;
|
|
176
179
|
highlightAttribute: (attributeId: number) => void;
|
|
177
180
|
getQrCodeArUrl: (device: 'iOS' | 'Android') => Promise<string>;
|
|
178
|
-
getMobileArUrl: (
|
|
181
|
+
getMobileArUrl: () => Promise<Blob | string | null>;
|
|
179
182
|
openArMobile: (url: string) => void;
|
|
180
183
|
isSceneArEnabled: () => boolean;
|
|
181
184
|
isArDeviceCompliant: () => boolean;
|