zakeke-configurator-react 0.1.285-prod → 0.1.286-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.
Files changed (30) hide show
  1. package/dist/declarations/composer/Module/src/api.d.ts +3 -3
  2. package/dist/declarations/composer/Module/src/components/customizer.d.ts +9 -9
  3. package/dist/declarations/composer/Module/src/components/debug/debugPanel.d.ts +6 -6
  4. package/dist/declarations/composer/Module/src/components/tryon/tryOnFrame.d.ts +10 -10
  5. package/dist/declarations/composer/Module/src/components/tryon/tryOnModels.d.ts +69 -69
  6. package/dist/declarations/composer/Module/src/components/tryon/tryOnProviders/tryOnBanuba.d.ts +22 -22
  7. package/dist/declarations/composer/Module/src/components/tryon/tryOnProviders/tryOnMazing.d.ts +57 -57
  8. package/dist/declarations/composer/Module/src/components/tryon/tryOnViewer.d.ts +41 -41
  9. package/dist/declarations/composer/Module/src/environment.d.ts +358 -358
  10. package/dist/declarations/composer/Module/src/exceptions.d.ts +19 -19
  11. package/dist/declarations/composer/Module/src/fontsManager.d.ts +75 -75
  12. package/dist/declarations/composer/Module/src/hooks/tryonContext.d.ts +11 -11
  13. package/dist/declarations/composer/Module/src/hooks/useZakeke.d.ts +9 -9
  14. package/dist/declarations/composer/Module/src/index.d.ts +10 -10
  15. package/dist/declarations/composer/Module/src/integrations/Integration.d.ts +24 -24
  16. package/dist/declarations/composer/Module/src/integrations/generic.d.ts +16 -16
  17. package/dist/declarations/composer/Module/src/integrations/{Helpers.d.ts → helpers.d.ts} +2 -2
  18. package/dist/declarations/composer/Module/src/integrations/preview.d.ts +16 -16
  19. package/dist/declarations/composer/Module/src/state/boot.d.ts +8 -8
  20. package/dist/declarations/composer/Module/src/state/createProviderValue.d.ts +3 -3
  21. package/dist/declarations/composer/Module/src/state/provider.d.ts +16 -16
  22. package/dist/declarations/composer/Module/src/state/providerValue.d.ts +214 -214
  23. package/dist/declarations/composer/Module/src/state/reducer.d.ts +3 -3
  24. package/dist/declarations/composer/Module/src/state/state.d.ts +10 -10
  25. package/dist/declarations/libs/pricingRuleBase/DesignPriceCalculatorRuleBased.d.ts +80 -80
  26. package/dist/declarations/libs/pricingRuleBase/pricing_model.graphql.d.ts +40 -40
  27. package/dist/declarations/utils/rectangle.d.ts +14 -14
  28. package/dist/globals1.js +1 -1
  29. package/dist/index.js +109415 -109415
  30. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
- import { AxiosInstance } from 'axios';
2
- export declare let axiosApi: AxiosInstance;
3
- export declare function setupApi(culture: string, token: string): void;
1
+ import { AxiosInstance } from 'axios';
2
+ export declare let axiosApi: AxiosInstance;
3
+ export declare function setupApi(culture: string, token: string): void;
@@ -1,9 +1,9 @@
1
- import * as React from 'react';
2
- interface ExposedMethods {
3
- zoomIn: () => void;
4
- zoomOut: () => void;
5
- }
6
- export declare const ZakekeDesigner: React.ForwardRefExoticComponent<{
7
- areaId: number;
8
- } & React.RefAttributes<ExposedMethods>>;
9
- export {};
1
+ import * as React from 'react';
2
+ interface ExposedMethods {
3
+ zoomIn: () => void;
4
+ zoomOut: () => void;
5
+ }
6
+ export declare const ZakekeDesigner: React.ForwardRefExoticComponent<{
7
+ areaId: number;
8
+ } & React.RefAttributes<ExposedMethods>>;
9
+ export {};
@@ -1,6 +1,6 @@
1
- import { FunctionComponent } from 'react';
2
- import { ZakekeEnvironment } from 'src/environment';
3
- export declare const DebugPanel: FunctionComponent<{
4
- className?: string;
5
- env: ZakekeEnvironment;
6
- }>;
1
+ import { FunctionComponent } from 'react';
2
+ import { ZakekeEnvironment } from 'src/environment';
3
+ export declare const DebugPanel: FunctionComponent<{
4
+ className?: string;
5
+ env: ZakekeEnvironment;
6
+ }>;
@@ -1,10 +1,10 @@
1
- import React, { FunctionComponent } from 'react';
2
- export interface TryOnFrameProps {
3
- className?: string;
4
- providerUrl: string;
5
- providerTitle: string;
6
- outMessageHandler: (e: MessageEvent<any>) => void;
7
- onReady?: (w: Window) => void;
8
- children?: React.ReactNode;
9
- }
10
- export declare const TryOnFrame: FunctionComponent<TryOnFrameProps>;
1
+ import React, { FunctionComponent } from 'react';
2
+ export interface TryOnFrameProps {
3
+ className?: string;
4
+ providerUrl: string;
5
+ providerTitle: string;
6
+ outMessageHandler: (e: MessageEvent<any>) => void;
7
+ onReady?: (w: Window) => void;
8
+ children?: React.ReactNode;
9
+ }
10
+ export declare const TryOnFrame: FunctionComponent<TryOnFrameProps>;
@@ -1,69 +1,69 @@
1
- import { TryOnProvider, TryOnGenericFineTuningSettings, TryOnProduct, TryOnSeller, TryOnFineTuningSettings } from '../../models';
2
- import { MazingPupillaryDistanceStateReceivedMessageType, MazingTryOnReceivedMessageType } from './tryOnProviders/tryOnMazing';
3
- export declare enum TryOnMode {
4
- TryOn = 1,
5
- PDTool = 2
6
- }
7
- export interface TryOnData {
8
- product?: TryOnProduct;
9
- customer?: TryOnSeller;
10
- provider?: TryOnProvider;
11
- mode?: TryOnMode;
12
- obj?: Blob | null;
13
- settings?: TryOnGenericFineTuningSettings;
14
- }
15
- export interface TryOnProviderExchangeData {
16
- type: TryOnProvidersTypeUnion;
17
- value: any;
18
- }
19
- export type TryOnProvidersTypeUnion = MazingTryOnReceivedMessageType | MazingPupillaryDistanceStateReceivedMessageType;
20
- export type ValueOf<T> = T[keyof T];
21
- export declare const TryOnBaseProviderReceivedMessage: {
22
- readonly Start: "";
23
- readonly WaitingAuthentication: "WAITING_AUTH";
24
- readonly AuthSuccessful: "AUTH_SUCCESS";
25
- readonly AuthError: "AUTH_ERROR";
26
- readonly WebcamError: "WEBCAM_ERROR";
27
- };
28
- export declare const TryOnBaseProviderResponseMessage: {};
29
- export declare const PupillaryDistanceBaseProviderReceivedMessage: {
30
- readonly Start: "";
31
- readonly WaitingAuthentication: "WAITING_AUTH";
32
- readonly AuthSuccessful: "AUTH_SUCCESS";
33
- readonly AuthError: "AUTH_ERROR";
34
- };
35
- export declare const PupillaryDistanceBaseProviderResponseMessage: {};
36
- export interface ZakekeTryOnExposedMethods {
37
- closeFrame?: () => void;
38
- takeScreenshot?: () => void;
39
- startPupillaryDistance?: (time: number) => void;
40
- switchToPDTool?: () => void;
41
- switchToTryOn?: () => void;
42
- mode?: TryOnMode;
43
- changeMode?: (mode: TryOnMode) => void;
44
- visible?: boolean;
45
- setVisible?: (visible: boolean) => void;
46
- }
47
- export interface TryOnProviderProps {
48
- className?: string;
49
- obj: Blob;
50
- product: TryOnProduct;
51
- customer: TryOnSeller;
52
- fineTuningSettings?: TryOnFineTuningSettings;
53
- onReady?: () => void;
54
- onLoaded?: () => void;
55
- onClose?: () => void;
56
- onPDUpdated?: (pd: number) => void;
57
- onWebcamError: () => void;
58
- }
59
- export interface PupillaryDistanceProviderProps {
60
- className?: string;
61
- product: TryOnProduct;
62
- customer: TryOnSeller;
63
- onReady?: () => void;
64
- onLoaded?: () => void;
65
- onPDUpdated?: (pd: number) => void;
66
- onClose?: () => void;
67
- onWebcamError: () => void;
68
- }
69
- export declare function parseJSON(json: string): any;
1
+ import { TryOnProvider, TryOnGenericFineTuningSettings, TryOnProduct, TryOnSeller, TryOnFineTuningSettings } from '../../models';
2
+ import { MazingPupillaryDistanceStateReceivedMessageType, MazingTryOnReceivedMessageType } from './tryOnProviders/tryOnMazing';
3
+ export declare enum TryOnMode {
4
+ TryOn = 1,
5
+ PDTool = 2
6
+ }
7
+ export interface TryOnData {
8
+ product?: TryOnProduct;
9
+ customer?: TryOnSeller;
10
+ provider?: TryOnProvider;
11
+ mode?: TryOnMode;
12
+ obj?: Blob | null;
13
+ settings?: TryOnGenericFineTuningSettings;
14
+ }
15
+ export interface TryOnProviderExchangeData {
16
+ type: TryOnProvidersTypeUnion;
17
+ value: any;
18
+ }
19
+ export type TryOnProvidersTypeUnion = MazingTryOnReceivedMessageType | MazingPupillaryDistanceStateReceivedMessageType;
20
+ export type ValueOf<T> = T[keyof T];
21
+ export declare const TryOnBaseProviderReceivedMessage: {
22
+ readonly Start: "";
23
+ readonly WaitingAuthentication: "WAITING_AUTH";
24
+ readonly AuthSuccessful: "AUTH_SUCCESS";
25
+ readonly AuthError: "AUTH_ERROR";
26
+ readonly WebcamError: "WEBCAM_ERROR";
27
+ };
28
+ export declare const TryOnBaseProviderResponseMessage: {};
29
+ export declare const PupillaryDistanceBaseProviderReceivedMessage: {
30
+ readonly Start: "";
31
+ readonly WaitingAuthentication: "WAITING_AUTH";
32
+ readonly AuthSuccessful: "AUTH_SUCCESS";
33
+ readonly AuthError: "AUTH_ERROR";
34
+ };
35
+ export declare const PupillaryDistanceBaseProviderResponseMessage: {};
36
+ export interface ZakekeTryOnExposedMethods {
37
+ closeFrame?: () => void;
38
+ takeScreenshot?: () => void;
39
+ startPupillaryDistance?: (time: number) => void;
40
+ switchToPDTool?: () => void;
41
+ switchToTryOn?: () => void;
42
+ mode?: TryOnMode;
43
+ changeMode?: (mode: TryOnMode) => void;
44
+ visible?: boolean;
45
+ setVisible?: (visible: boolean) => void;
46
+ }
47
+ export interface TryOnProviderProps {
48
+ className?: string;
49
+ obj: Blob;
50
+ product: TryOnProduct;
51
+ customer: TryOnSeller;
52
+ fineTuningSettings?: TryOnFineTuningSettings;
53
+ onReady?: () => void;
54
+ onLoaded?: () => void;
55
+ onClose?: () => void;
56
+ onPDUpdated?: (pd: number) => void;
57
+ onWebcamError: () => void;
58
+ }
59
+ export interface PupillaryDistanceProviderProps {
60
+ className?: string;
61
+ product: TryOnProduct;
62
+ customer: TryOnSeller;
63
+ onReady?: () => void;
64
+ onLoaded?: () => void;
65
+ onPDUpdated?: (pd: number) => void;
66
+ onClose?: () => void;
67
+ onWebcamError: () => void;
68
+ }
69
+ export declare function parseJSON(json: string): any;
@@ -1,22 +1,22 @@
1
- import { FunctionComponent } from 'react';
2
- import { TryOnProviderProps, ValueOf } from '../tryOnModels';
3
- export declare const BanubaTryOnReceivedMessage: {
4
- readonly WaitingAuthentication: "WAITING_AUTH";
5
- readonly TryOnLoaded: "MODEL_LOADED";
6
- readonly ScreenShotTaken: "SCREENSHOT_TAKEN";
7
- readonly WebcamStopped: "WEBCAM_STOPPED";
8
- readonly Start: "";
9
- readonly AuthSuccessful: "AUTH_SUCCESS";
10
- readonly AuthError: "AUTH_ERROR";
11
- readonly WebcamError: "WEBCAM_ERROR";
12
- };
13
- export type BanubaTryOnReceivedMessageType = ValueOf<typeof BanubaTryOnReceivedMessage>;
14
- export declare const BanubaTryOnResponseMessage: {
15
- readonly StartAuthenticationTryOn: "AUTH";
16
- readonly LoadTryOn: "LOAD_MODEL";
17
- readonly LoadHands: "LOAD_HANDS";
18
- readonly TakeScreenshot: "TAKE_SCREENSHOT";
19
- readonly StopWebcam: "STOP_WEBCAM";
20
- };
21
- export type BanubaTryOnResponseMessageType = ValueOf<typeof BanubaTryOnResponseMessage>;
22
- export declare const BanubaTryOn: FunctionComponent<TryOnProviderProps>;
1
+ import { FunctionComponent } from 'react';
2
+ import { TryOnProviderProps, ValueOf } from '../tryOnModels';
3
+ export declare const BanubaTryOnReceivedMessage: {
4
+ readonly WaitingAuthentication: "WAITING_AUTH";
5
+ readonly TryOnLoaded: "MODEL_LOADED";
6
+ readonly ScreenShotTaken: "SCREENSHOT_TAKEN";
7
+ readonly WebcamStopped: "WEBCAM_STOPPED";
8
+ readonly Start: "";
9
+ readonly AuthSuccessful: "AUTH_SUCCESS";
10
+ readonly AuthError: "AUTH_ERROR";
11
+ readonly WebcamError: "WEBCAM_ERROR";
12
+ };
13
+ export type BanubaTryOnReceivedMessageType = ValueOf<typeof BanubaTryOnReceivedMessage>;
14
+ export declare const BanubaTryOnResponseMessage: {
15
+ readonly StartAuthenticationTryOn: "AUTH";
16
+ readonly LoadTryOn: "LOAD_MODEL";
17
+ readonly LoadHands: "LOAD_HANDS";
18
+ readonly TakeScreenshot: "TAKE_SCREENSHOT";
19
+ readonly StopWebcam: "STOP_WEBCAM";
20
+ };
21
+ export type BanubaTryOnResponseMessageType = ValueOf<typeof BanubaTryOnResponseMessage>;
22
+ export declare const BanubaTryOn: FunctionComponent<TryOnProviderProps>;
@@ -1,57 +1,57 @@
1
- import { FunctionComponent } from 'react';
2
- import { PupillaryDistanceProviderProps, TryOnProviderProps, ValueOf } from '../tryOnModels';
3
- export declare const MazingTryOnReceivedMessage: {
4
- readonly WaitingAuthentication: "WAITING_AUTH";
5
- readonly TryOnLoaded: "MODEL_LOADED";
6
- readonly ScreenShotTaken: "SCREENSHOT_TAKEN";
7
- readonly WebcamStopped: "WEBCAM_STOPPED";
8
- readonly Start: "";
9
- readonly AuthSuccessful: "AUTH_SUCCESS";
10
- readonly AuthError: "AUTH_ERROR";
11
- readonly WebcamError: "WEBCAM_ERROR";
12
- };
13
- export type MazingTryOnReceivedMessageType = ValueOf<typeof MazingTryOnReceivedMessage>;
14
- export declare const MazingTryOnResponseMessage: {
15
- readonly StartAuthenticationTryOn: "AUTH_TRY_ON";
16
- readonly LoadTryOn: "LOAD_MODEL";
17
- readonly TakeScreenshot: "TAKE_SCREENSHOT";
18
- readonly StopWebcam: "STOP_WEBCAM";
19
- };
20
- export type MazingTryOnResponseMessageType = ValueOf<typeof MazingTryOnResponseMessage>;
21
- declare const MazingPupillaryDistanceBaseStateReceivedMessage: {
22
- readonly PDLoaded: "PD_LOADED";
23
- readonly PDUpdated: "NEW_PD";
24
- readonly PDDataNotFoundError: "PD_ERROR";
25
- readonly WebcamError: "WEBCAM_ERROR";
26
- readonly PDCountdown: "PD_COUNTDOWN";
27
- readonly WebcamStopped: "WEBCAM_STOPPED";
28
- };
29
- export declare const MazingPupillaryDistanceStateReceivedMessage: {
30
- readonly PDLoaded: "PD_LOADED";
31
- readonly PDUpdated: "NEW_PD";
32
- readonly PDDataNotFoundError: "PD_ERROR";
33
- readonly WebcamError: "WEBCAM_ERROR";
34
- readonly PDCountdown: "PD_COUNTDOWN";
35
- readonly WebcamStopped: "WEBCAM_STOPPED";
36
- readonly Start: "";
37
- readonly WaitingAuthentication: "WAITING_AUTH";
38
- readonly AuthSuccessful: "AUTH_SUCCESS";
39
- readonly AuthError: "AUTH_ERROR";
40
- };
41
- export type MazingPupillaryDistanceStateReceivedMessageType = ValueOf<typeof MazingPupillaryDistanceBaseStateReceivedMessage>;
42
- declare const MazingPupillaryDistanceBaseResponseMessage: {
43
- readonly StartAuthenticationPD: "AUTH_TRY_ON";
44
- readonly LoadPD: "LOAD_PD";
45
- readonly StartPD: "START_PD";
46
- readonly StopWebcam: "STOP_WEBCAM";
47
- };
48
- export declare const MazingPupillaryDistanceResponseMessage: {
49
- readonly StartAuthenticationPD: "AUTH_TRY_ON";
50
- readonly LoadPD: "LOAD_PD";
51
- readonly StartPD: "START_PD";
52
- readonly StopWebcam: "STOP_WEBCAM";
53
- };
54
- export type MazingPupillaryDistanceResponseMessageType = ValueOf<typeof MazingPupillaryDistanceBaseResponseMessage>;
55
- export declare const MazingTryOn: FunctionComponent<TryOnProviderProps>;
56
- export declare const MazingPupillaryDistance: FunctionComponent<PupillaryDistanceProviderProps>;
57
- export {};
1
+ import { FunctionComponent } from 'react';
2
+ import { PupillaryDistanceProviderProps, TryOnProviderProps, ValueOf } from '../tryOnModels';
3
+ export declare const MazingTryOnReceivedMessage: {
4
+ readonly WaitingAuthentication: "WAITING_AUTH";
5
+ readonly TryOnLoaded: "MODEL_LOADED";
6
+ readonly ScreenShotTaken: "SCREENSHOT_TAKEN";
7
+ readonly WebcamStopped: "WEBCAM_STOPPED";
8
+ readonly Start: "";
9
+ readonly AuthSuccessful: "AUTH_SUCCESS";
10
+ readonly AuthError: "AUTH_ERROR";
11
+ readonly WebcamError: "WEBCAM_ERROR";
12
+ };
13
+ export type MazingTryOnReceivedMessageType = ValueOf<typeof MazingTryOnReceivedMessage>;
14
+ export declare const MazingTryOnResponseMessage: {
15
+ readonly StartAuthenticationTryOn: "AUTH_TRY_ON";
16
+ readonly LoadTryOn: "LOAD_MODEL";
17
+ readonly TakeScreenshot: "TAKE_SCREENSHOT";
18
+ readonly StopWebcam: "STOP_WEBCAM";
19
+ };
20
+ export type MazingTryOnResponseMessageType = ValueOf<typeof MazingTryOnResponseMessage>;
21
+ declare const MazingPupillaryDistanceBaseStateReceivedMessage: {
22
+ readonly PDLoaded: "PD_LOADED";
23
+ readonly PDUpdated: "NEW_PD";
24
+ readonly PDDataNotFoundError: "PD_ERROR";
25
+ readonly WebcamError: "WEBCAM_ERROR";
26
+ readonly PDCountdown: "PD_COUNTDOWN";
27
+ readonly WebcamStopped: "WEBCAM_STOPPED";
28
+ };
29
+ export declare const MazingPupillaryDistanceStateReceivedMessage: {
30
+ readonly PDLoaded: "PD_LOADED";
31
+ readonly PDUpdated: "NEW_PD";
32
+ readonly PDDataNotFoundError: "PD_ERROR";
33
+ readonly WebcamError: "WEBCAM_ERROR";
34
+ readonly PDCountdown: "PD_COUNTDOWN";
35
+ readonly WebcamStopped: "WEBCAM_STOPPED";
36
+ readonly Start: "";
37
+ readonly WaitingAuthentication: "WAITING_AUTH";
38
+ readonly AuthSuccessful: "AUTH_SUCCESS";
39
+ readonly AuthError: "AUTH_ERROR";
40
+ };
41
+ export type MazingPupillaryDistanceStateReceivedMessageType = ValueOf<typeof MazingPupillaryDistanceBaseStateReceivedMessage>;
42
+ declare const MazingPupillaryDistanceBaseResponseMessage: {
43
+ readonly StartAuthenticationPD: "AUTH_TRY_ON";
44
+ readonly LoadPD: "LOAD_PD";
45
+ readonly StartPD: "START_PD";
46
+ readonly StopWebcam: "STOP_WEBCAM";
47
+ };
48
+ export declare const MazingPupillaryDistanceResponseMessage: {
49
+ readonly StartAuthenticationPD: "AUTH_TRY_ON";
50
+ readonly LoadPD: "LOAD_PD";
51
+ readonly StartPD: "START_PD";
52
+ readonly StopWebcam: "STOP_WEBCAM";
53
+ };
54
+ export type MazingPupillaryDistanceResponseMessageType = ValueOf<typeof MazingPupillaryDistanceBaseResponseMessage>;
55
+ export declare const MazingTryOn: FunctionComponent<TryOnProviderProps>;
56
+ export declare const MazingPupillaryDistance: FunctionComponent<PupillaryDistanceProviderProps>;
57
+ export {};
@@ -1,41 +1,41 @@
1
- import React, { FunctionComponent } from 'react';
2
- import { TryOnGenericFineTuningSettings, TryOnProduct, TryOnProvider, TryOnSeller, TryOnType } from '../../models';
3
- import { ZakekeTryOnExposedMethods } from './tryOnModels';
4
- export interface ZakekeTryOnViewerProps {
5
- children?: React.ReactNode;
6
- className?: string;
7
- switchable?: boolean;
8
- onPDUpdated: (pd: number) => void;
9
- onReady?: () => void;
10
- onLoaded?: () => void;
11
- onClose: () => void;
12
- onWebcamError: () => void;
13
- }
14
- export declare const ZakekeTryOnViewer: React.ForwardRefExoticComponent<ZakekeTryOnViewerProps & React.RefAttributes<ZakekeTryOnExposedMethods>>;
15
- export interface TryOnViewProps {
16
- className?: string;
17
- provider: TryOnProvider;
18
- type: TryOnType;
19
- obj: Blob;
20
- settings?: TryOnGenericFineTuningSettings;
21
- product: TryOnProduct;
22
- customer: TryOnSeller;
23
- onReady?: () => void;
24
- onLoaded?: () => void;
25
- onClose: () => void;
26
- onPDUpdated?: (pd: number) => void;
27
- onWebcamError: () => void;
28
- }
29
- export declare const TryOnView: FunctionComponent<TryOnViewProps>;
30
- export interface PupillaryDistanceViewProps {
31
- className?: string;
32
- provider: TryOnProvider;
33
- product: TryOnProduct;
34
- customer: TryOnSeller;
35
- onReady?: () => void;
36
- onLoaded?: () => void;
37
- onPDUpdated?: (pd: number) => void;
38
- onClose: () => void;
39
- onWebcamError: () => void;
40
- }
41
- export declare const PupillaryDistanceView: FunctionComponent<PupillaryDistanceViewProps>;
1
+ import React, { FunctionComponent } from 'react';
2
+ import { TryOnGenericFineTuningSettings, TryOnProduct, TryOnProvider, TryOnSeller, TryOnType } from '../../models';
3
+ import { ZakekeTryOnExposedMethods } from './tryOnModels';
4
+ export interface ZakekeTryOnViewerProps {
5
+ children?: React.ReactNode;
6
+ className?: string;
7
+ switchable?: boolean;
8
+ onPDUpdated: (pd: number) => void;
9
+ onReady?: () => void;
10
+ onLoaded?: () => void;
11
+ onClose: () => void;
12
+ onWebcamError: () => void;
13
+ }
14
+ export declare const ZakekeTryOnViewer: React.ForwardRefExoticComponent<ZakekeTryOnViewerProps & React.RefAttributes<ZakekeTryOnExposedMethods>>;
15
+ export interface TryOnViewProps {
16
+ className?: string;
17
+ provider: TryOnProvider;
18
+ type: TryOnType;
19
+ obj: Blob;
20
+ settings?: TryOnGenericFineTuningSettings;
21
+ product: TryOnProduct;
22
+ customer: TryOnSeller;
23
+ onReady?: () => void;
24
+ onLoaded?: () => void;
25
+ onClose: () => void;
26
+ onPDUpdated?: (pd: number) => void;
27
+ onWebcamError: () => void;
28
+ }
29
+ export declare const TryOnView: FunctionComponent<TryOnViewProps>;
30
+ export interface PupillaryDistanceViewProps {
31
+ className?: string;
32
+ provider: TryOnProvider;
33
+ product: TryOnProduct;
34
+ customer: TryOnSeller;
35
+ onReady?: () => void;
36
+ onLoaded?: () => void;
37
+ onPDUpdated?: (pd: number) => void;
38
+ onClose: () => void;
39
+ onWebcamError: () => void;
40
+ }
41
+ export declare const PupillaryDistanceView: FunctionComponent<PupillaryDistanceViewProps>;