zakeke-configurator-react 0.1.367 → 0.1.368
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/api.d.ts +3 -3
- package/dist/declarations/composer/Module/src/components/debugs/debugPanel.d.ts +2 -2
- package/dist/declarations/composer/Module/src/components/sceneViewer.d.ts +5 -5
- package/dist/declarations/composer/Module/src/components/tryon/deepARQrCode.d.ts +6 -6
- package/dist/declarations/composer/Module/src/components/tryon/tryOnProviders/tryOnBanuba.d.ts +22 -22
- package/dist/declarations/composer/Module/src/components/tryon/tryOnProviders/tryOnDeepAR.d.ts +22 -22
- package/dist/declarations/composer/Module/src/environment.d.ts +1 -0
- package/dist/declarations/composer/Module/src/fontsManager.d.ts +75 -75
- package/dist/declarations/composer/Module/src/generated/feature-flags.d.ts +83 -83
- package/dist/declarations/composer/Module/src/helpers.d.ts +49 -49
- package/dist/declarations/composer/Module/src/hooks/tryonContext.d.ts +11 -11
- package/dist/declarations/composer/Module/src/imageUploadTask.d.ts +20 -20
- package/dist/declarations/composer/Module/src/index.d.ts +11 -11
- package/dist/declarations/composer/Module/src/integrations/Integration.d.ts +24 -24
- package/dist/declarations/composer/Module/src/integrations/generic.d.ts +16 -16
- package/dist/declarations/composer/Module/src/models.d.ts +1212 -1212
- package/dist/declarations/composer/Module/src/state/createProviderValue.d.ts +3 -3
- package/dist/declarations/composer/Module/src/state/provider.d.ts +18 -18
- package/dist/declarations/composer/Module/src/state/state.d.ts +11 -11
- package/dist/declarations/libs/pricingRuleBase/DesignPriceCalculatorRuleBased.d.ts +83 -83
- package/dist/globals1.js +1 -1
- package/dist/globals3.js +1 -1
- package/dist/index.js +95327 -95116
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- /package/dist/declarations/composer/Module/src/integrations/{helpers.d.ts → Helpers.d.ts} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from './components/customizer';
|
|
2
|
-
export * from './components/sceneViewer';
|
|
3
|
-
export * from './components/tryon/tryOnModels';
|
|
4
|
-
export * from './components/tryon/tryOnViewer';
|
|
5
|
-
export * from './components/tryon/tryOnModels';
|
|
6
|
-
export * from './environment';
|
|
7
|
-
export * from './helpers';
|
|
8
|
-
export * from './hooks/useZakeke';
|
|
9
|
-
export * from './hooks/tryonContext';
|
|
10
|
-
export * from './models';
|
|
11
|
-
export * from './state/provider';
|
|
1
|
+
export * from './components/customizer';
|
|
2
|
+
export * from './components/sceneViewer';
|
|
3
|
+
export * from './components/tryon/tryOnModels';
|
|
4
|
+
export * from './components/tryon/tryOnViewer';
|
|
5
|
+
export * from './components/tryon/tryOnModels';
|
|
6
|
+
export * from './environment';
|
|
7
|
+
export * from './helpers';
|
|
8
|
+
export * from './hooks/useZakeke';
|
|
9
|
+
export * from './hooks/tryonContext';
|
|
10
|
+
export * from './models';
|
|
11
|
+
export * from './state/provider';
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { Item } from "..";
|
|
2
|
-
import { DesignPriceCalculatorRuleBased } from "../../../../libs/pricingRuleBase/DesignPriceCalculatorRuleBased";
|
|
3
|
-
export declare class PlatformAttributeSelection {
|
|
4
|
-
attributeCode: string;
|
|
5
|
-
optionCode: string;
|
|
6
|
-
attributeLabel: string;
|
|
7
|
-
optionLabel: string;
|
|
8
|
-
attributeIsEnabled: boolean;
|
|
9
|
-
optionIsEnabled: boolean;
|
|
10
|
-
constructor(attributeCode: string, optionCode: string, attributeLabel: string, optionLabel: string, attributeIsEnabled: boolean, optionIsEnabled: boolean);
|
|
11
|
-
}
|
|
12
|
-
export interface Integration {
|
|
13
|
-
addToCart(composition: any, design: any, model: any, attributes: PlatformAttributeSelection[], designItems: Item[], quantity: number, additionalProperties: Record<string, any>, shopifyNFTPrice: number): void;
|
|
14
|
-
getPrice(composition: any, design: any, model: any, attributes: PlatformAttributeSelection[], compositionPrice: number, isCustomPricingConfiguratorEnabled: boolean, isCustomPricingRuleBasedEnabled: boolean, quantity: number, shopifyNFTPrice: number): Promise<number | {
|
|
15
|
-
price: number;
|
|
16
|
-
isOutOfStock: boolean;
|
|
17
|
-
}>;
|
|
18
|
-
getSharedCompositionUrl(compositionDocID: string): Promise<{
|
|
19
|
-
url: string;
|
|
20
|
-
}>;
|
|
21
|
-
setPricingCalculator(pricingCalculator: DesignPriceCalculatorRuleBased): void;
|
|
22
|
-
close(): void;
|
|
23
|
-
setPricingCalculator(pricingCalculator: DesignPriceCalculatorRuleBased): void;
|
|
24
|
-
}
|
|
1
|
+
import { Item } from "..";
|
|
2
|
+
import { DesignPriceCalculatorRuleBased } from "../../../../libs/pricingRuleBase/DesignPriceCalculatorRuleBased";
|
|
3
|
+
export declare class PlatformAttributeSelection {
|
|
4
|
+
attributeCode: string;
|
|
5
|
+
optionCode: string;
|
|
6
|
+
attributeLabel: string;
|
|
7
|
+
optionLabel: string;
|
|
8
|
+
attributeIsEnabled: boolean;
|
|
9
|
+
optionIsEnabled: boolean;
|
|
10
|
+
constructor(attributeCode: string, optionCode: string, attributeLabel: string, optionLabel: string, attributeIsEnabled: boolean, optionIsEnabled: boolean);
|
|
11
|
+
}
|
|
12
|
+
export interface Integration {
|
|
13
|
+
addToCart(composition: any, design: any, model: any, attributes: PlatformAttributeSelection[], designItems: Item[], quantity: number, additionalProperties: Record<string, any>, shopifyNFTPrice: number): void;
|
|
14
|
+
getPrice(composition: any, design: any, model: any, attributes: PlatformAttributeSelection[], compositionPrice: number, isCustomPricingConfiguratorEnabled: boolean, isCustomPricingRuleBasedEnabled: boolean, quantity: number, shopifyNFTPrice: number): Promise<number | {
|
|
15
|
+
price: number;
|
|
16
|
+
isOutOfStock: boolean;
|
|
17
|
+
}>;
|
|
18
|
+
getSharedCompositionUrl(compositionDocID: string): Promise<{
|
|
19
|
+
url: string;
|
|
20
|
+
}>;
|
|
21
|
+
setPricingCalculator(pricingCalculator: DesignPriceCalculatorRuleBased): void;
|
|
22
|
+
close(): void;
|
|
23
|
+
setPricingCalculator(pricingCalculator: DesignPriceCalculatorRuleBased): void;
|
|
24
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { DesignPriceCalculatorRuleBased } from '../../../../libs/pricingRuleBase/DesignPriceCalculatorRuleBased';
|
|
2
|
-
import { Item } from '../models';
|
|
3
|
-
import { Integration, PlatformAttributeSelection } from './Integration';
|
|
4
|
-
export default class MerchantIntegrationGeneric implements Integration {
|
|
5
|
-
private readonly callbacks;
|
|
6
|
-
private messageIds;
|
|
7
|
-
private pricingCalculator;
|
|
8
|
-
constructor();
|
|
9
|
-
addToCart(composition: any, design: any, model: any, attributes: PlatformAttributeSelection[], designItems: Item[], quantity: number, additionalProperties: any, shopifyNFTPrice: number): void;
|
|
10
|
-
getPrice(composition: any, design: any, model: any, attributes: any, compositionPrice: any, isCustomPricingConfiguratorEnabled: any, isCustomPricingRuleBasedEnabled: any, quantity: number): Promise<number>;
|
|
11
|
-
getSharedCompositionUrl(compositionDocID: string): Promise<{
|
|
12
|
-
url: string;
|
|
13
|
-
}>;
|
|
14
|
-
close(): void;
|
|
15
|
-
setPricingCalculator(pricingCalculator: DesignPriceCalculatorRuleBased): void;
|
|
16
|
-
}
|
|
1
|
+
import { DesignPriceCalculatorRuleBased } from '../../../../libs/pricingRuleBase/DesignPriceCalculatorRuleBased';
|
|
2
|
+
import { Item } from '../models';
|
|
3
|
+
import { Integration, PlatformAttributeSelection } from './Integration';
|
|
4
|
+
export default class MerchantIntegrationGeneric implements Integration {
|
|
5
|
+
private readonly callbacks;
|
|
6
|
+
private messageIds;
|
|
7
|
+
private pricingCalculator;
|
|
8
|
+
constructor();
|
|
9
|
+
addToCart(composition: any, design: any, model: any, attributes: PlatformAttributeSelection[], designItems: Item[], quantity: number, additionalProperties: any, shopifyNFTPrice: number): void;
|
|
10
|
+
getPrice(composition: any, design: any, model: any, attributes: any, compositionPrice: any, isCustomPricingConfiguratorEnabled: any, isCustomPricingRuleBasedEnabled: any, quantity: number): Promise<number>;
|
|
11
|
+
getSharedCompositionUrl(compositionDocID: string): Promise<{
|
|
12
|
+
url: string;
|
|
13
|
+
}>;
|
|
14
|
+
close(): void;
|
|
15
|
+
setPricingCalculator(pricingCalculator: DesignPriceCalculatorRuleBased): void;
|
|
16
|
+
}
|