zakeke-configurator-react 0.1.319 → 0.1.320
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/declarations/composer/Module/src/environment.d.ts +5 -2
- package/dist/declarations/composer/Module/src/models.d.ts +5 -0
- package/dist/declarations/composer/Module/src/state/providerValue.d.ts +3 -1
- package/dist/declarations/composer/Module/src/state/state.d.ts +1 -0
- package/dist/globals1.js +1 -1
- package/dist/globals3.js +1 -1
- package/dist/index.js +103417 -99908
- package/package.json +1 -1
- /package/dist/declarations/composer/Module/src/integrations/{helpers.d.ts → Helpers.d.ts} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference path="../../../../../../../typescript_definitions/declarations/All.d.ts" />
|
|
2
2
|
import { FocusAttributesEventListener } from '@zakeke/zakeke-3d-core';
|
|
3
|
-
import { EventMessage, ExtensionFields, NftForm, NftSettings, OnBeforeSendDataToParent, TryOnMode, TryOnProvidersTypesMapping, VisibleEventMessage } from '.';
|
|
3
|
+
import { EventMessage, ExtensionFields, NftForm, NftSettings, OnBeforeSendDataToParent, SceneAnimationsConfig, TryOnMode, TryOnProvidersTypesMapping, VisibleEventMessage } from '.';
|
|
4
4
|
import { PlatformAttributeSelection } from './integrations/Integration';
|
|
5
|
-
import { BootParameters, Camera, Composition, FontFamily, Group, ImageMacroCategory, Item, Product, ProductQuantityRule, SellerSettings, Template, TemplateMacroCategory, Translations, TryOnGenericFineTuningSettings, TryOnProduct, TryOnSeller } from './models';
|
|
5
|
+
import { BootParameters, Camera, Composition, FontFamily, Group, ImageMacroCategory, Item, Product, ProductQuantityRule, SellerSettings, Settings, Template, TemplateMacroCategory, Translations, TryOnGenericFineTuningSettings, TryOnProduct, TryOnSeller } from './models';
|
|
6
6
|
import { DAMViewerAnalyticsEventType, PrintingMethodsRestrictions, TextSanitationResult, UIConfig, ZakekeImage } from './models';
|
|
7
7
|
declare global {
|
|
8
8
|
interface Window {
|
|
@@ -118,11 +118,14 @@ export declare class ZakekeEnvironment {
|
|
|
118
118
|
tryOnSellerSettings: TryOnSeller | null;
|
|
119
119
|
pdSettings: number;
|
|
120
120
|
isInfoPointContentVisible: boolean;
|
|
121
|
+
animationsConfig: SceneAnimationsConfig | null;
|
|
121
122
|
private internalTranslations;
|
|
122
123
|
private integrationVersion;
|
|
123
124
|
translations: Translations | null;
|
|
124
125
|
useLegacyScreenshot: boolean;
|
|
126
|
+
visibleCustomizer: MPlaza.Customizer | null;
|
|
125
127
|
get isFullscreenMode(): boolean;
|
|
128
|
+
get userSettings(): Settings;
|
|
126
129
|
get isViewerReady(): boolean;
|
|
127
130
|
get isShoppingPreview(): boolean;
|
|
128
131
|
uiConfig: UIConfig | null;
|
|
@@ -1002,6 +1002,11 @@ export interface UIConfig {
|
|
|
1002
1002
|
urlLoader: string;
|
|
1003
1003
|
urlARIcon: string;
|
|
1004
1004
|
}
|
|
1005
|
+
export interface SceneAnimationsConfig {
|
|
1006
|
+
runAtStart?: boolean | null;
|
|
1007
|
+
loop?: boolean | null;
|
|
1008
|
+
speed?: number | null;
|
|
1009
|
+
}
|
|
1005
1010
|
export interface DAMViewerAnalyticsType {
|
|
1006
1011
|
modelCode: string;
|
|
1007
1012
|
userId: number;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @module Zakeke
|
|
3
3
|
*/
|
|
4
4
|
import { FocusAttributesEventListener } from '@zakeke/zakeke-3d-core';
|
|
5
|
-
import { EventMessage, FontFamily, Group, Item, NftForm, NftSettings, OnBeforeSendDataToParent, PrintingMethodsRestrictions, Product, Template, TemplateMacroCategory, TextSanitationResult, Translations, UIConfig, VisibleEventMessage } from '..';
|
|
5
|
+
import { EventMessage, FontFamily, Group, Item, NftForm, NftSettings, OnBeforeSendDataToParent, PrintingMethodsRestrictions, Product, SceneAnimationsConfig, Settings, Template, TemplateMacroCategory, TextSanitationResult, Translations, UIConfig, VisibleEventMessage } from '..';
|
|
6
6
|
import { Camera, ImageMacroCategory, ProductQuantityRule, SellerSettings, TemplateUploadRestrictictions, ZakekeImage } from '../models';
|
|
7
7
|
interface RestrictionColor {
|
|
8
8
|
colorCode: string;
|
|
@@ -34,6 +34,7 @@ export interface Zakeke {
|
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
36
|
internalCurrentTemplate: MPlaza.Design | null | undefined;
|
|
37
|
+
userSettings: Settings | null;
|
|
37
38
|
/**
|
|
38
39
|
* The current price of the configuration plus the product price
|
|
39
40
|
*/
|
|
@@ -86,6 +87,7 @@ export interface Zakeke {
|
|
|
86
87
|
useLegacyScreenshot: boolean;
|
|
87
88
|
isAIEnabled: boolean;
|
|
88
89
|
uiConfig: UIConfig | null;
|
|
90
|
+
animationsConfig: SceneAnimationsConfig | null;
|
|
89
91
|
backgroundColor: string;
|
|
90
92
|
removeBackground: boolean;
|
|
91
93
|
deepARsceneGLBUrl: string | null;
|