zakeke-configurator-react 0.1.370 → 0.1.371
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 +443 -447
- 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 +1203 -1212
- package/dist/declarations/composer/Module/src/state/providerValue.d.ts +278 -281
- package/dist/globals0.js +1 -1
- package/dist/globals1.js +1 -1
- package/dist/index.js +11743 -11565
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
14
|
-
getPrice(composition: any, design: any, model: any, attributes: PlatformAttributeSelection[], compositionPrice: number, isCustomPricingConfiguratorEnabled: boolean, isCustomPricingRuleBasedEnabled: boolean, quantity: 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>): void;
|
|
14
|
+
getPrice(composition: any, design: any, model: any, attributes: PlatformAttributeSelection[], compositionPrice: number, isCustomPricingConfiguratorEnabled: boolean, isCustomPricingRuleBasedEnabled: boolean, quantity: 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
|
|
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): 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
|
+
}
|