zakeke-configurator-react 0.0.67 → 0.0.71

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.
@@ -115,7 +115,7 @@ export declare class ZakekeEnvironment {
115
115
  hasExplodedMode: () => boolean;
116
116
  setBackgroundColor: (color: string, alpha: number) => void;
117
117
  getCurrentSelection: () => PlatformAttributeSelection[];
118
- getScreenshot: (width?: number, height?: number, backgroundColor?: string | null) => Promise<string>;
118
+ getScreenshot: (width?: number, height?: number, backgroundColor?: string | null, padding?: number) => Promise<string>;
119
119
  private fireItemsChange;
120
120
  isAreaVisible(areaId: number): boolean;
121
121
  removeItem: (guid: string) => Promise<void>;
@@ -143,7 +143,7 @@ export declare class ZakekeEnvironment {
143
143
  findObjectByName(name: string): BABYLON.AbstractMesh | null | undefined;
144
144
  getPDF: () => Promise<string>;
145
145
  private rewriteShareUrl;
146
- getOnlineScreenshot: (width: number, height: number, backgroundColor?: string | undefined) => Promise<string>;
146
+ getOnlineScreenshot: (width: number, height: number, backgroundColor?: string | undefined, padding?: number) => Promise<string>;
147
147
  private buildModelViewerUrl;
148
148
  isSceneArEnabled: () => boolean;
149
149
  private getPregeneratedARUrl;
@@ -29,7 +29,7 @@ export interface ProviderValue {
29
29
  loadComposition: (id: string) => Promise<void>;
30
30
  addToCart: (additionalProperties: Record<string, any>) => Promise<void>;
31
31
  getPDF: () => Promise<string>;
32
- getOnlineScreenshot: (width: number, height: number, backgroundColor?: string) => Promise<string>;
32
+ getOnlineScreenshot: (width: number, height: number, backgroundColor?: string, padding?: number) => Promise<string>;
33
33
  setCamera: (id: string, onlyAngleOfView?: boolean, animate?: boolean) => void;
34
34
  setCameraByName: (name: string, onlyAngleOfView?: boolean, animate?: boolean) => void;
35
35
  setCameraZoomEnabled: (enabled: boolean) => void;