@thryveai/theme-interfaces 2.2.2 → 2.3.1
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/index.d.ts +8 -5
- package/dist/index.js +10 -1
- package/dist/interfaces/admin-settings-interfaces.d.ts +16 -42
- package/dist/interfaces/default-settings.interfaces.d.ts +1 -3
- package/dist/interfaces/default-theme.interface.d.ts +2 -2
- package/dist/interfaces/retailer-settings.interfaces.d.ts +3 -1
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +714 -602
- package/dist/storefront/SFUIThemesTemplate.AdminUi.d.ts +3 -0
- package/dist/storefront/SFUIThemesTemplate.AdminUi.js +113 -0
- package/dist/storefront/defaultImagesStorefront.js +1 -1
- package/dist/storefront/defaultSettingsStorefront.js +22 -20
- package/dist/storefront/defaultThemeStorefront.d.ts +5 -0
- package/dist/storefront/defaultThemeStorefront.js +1135 -0
- package/dist/theme-templates/index.d.ts +3 -0
- package/dist/theme-templates/index.js +8 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
import DefaultImagesSFUI from './storefront/defaultImagesStorefront';
|
|
2
2
|
import DefaultConfigSFUI from "./storefront/defaultSettingsStorefront";
|
|
3
|
+
import DefaultThemeSFUI, { globalTheme, DefaultThemeColors } from "./storefront/defaultThemeStorefront";
|
|
3
4
|
import DefaultConfigSTS from "./sts/defaultSettingsSts";
|
|
4
5
|
import { AdminTemplateInputTypes, AdminSettingsTemplateSFUI } from "./storefront/SFUISettingsTemplate.AdminUi";
|
|
5
6
|
import { AdminSettingsTemplateSTS } from "./sts/STSSettingsTemplate.AdminUi";
|
|
6
7
|
import { AdminImagesTemplateSFUI } from "./storefront/SFUIImagesTemplate.AdminUi";
|
|
8
|
+
import { AdminThemeTemplateSFUI, AdminThemeTemplateOptions } from "./storefront/SFUIThemesTemplate.AdminUi";
|
|
7
9
|
import { AdminImagesTemplateSTS } from "./sts/STSImagesTemplate.AdminUi";
|
|
8
10
|
import { IconNamesToFiles } from "./interfaces/icons.interfaces";
|
|
9
|
-
import
|
|
11
|
+
import AllThemeTemplates from './theme-templates';
|
|
12
|
+
import { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplateSTS, IAdminImagesTemplateSFUI, IAdminThemeTemplateSFUI, IAdminThemeTemplateOptions, IAdminImagesTemplateSTS, IAdminControl, IAdminControlType, IThemeGenerator } from "./interfaces/admin-settings-interfaces";
|
|
10
13
|
import { IAdminImagesControls, ISecondaryFaviconType } from "./interfaces/admin-images-interfaces";
|
|
11
14
|
import { IDefaultRetailerSettings } from "./interfaces/default-settings.interfaces";
|
|
12
15
|
import { IDefaultStsSettings } from "./interfaces/sts-settings.interfaces";
|
|
13
16
|
import { IAdvertsData, PdpDetailsElementLayout, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, ISearchPreview, IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IAllSettings, ISMSConfig, ICtaButtons, IAddressesSettings, IAccountPageSettings, ILayoutSettings, ILoggingLevel, IDefaultSearchParams, IDefaultStoreLocation, IDefaultCounty, IRetailerCountry, IRestrictMapPlaces, IValidationType, INutritionZone, IFooterTypes, IRegistrationFieldTypes, IRegistrationFieldNames, IValidateLength, IValidateMultipleLengths, IValidateDateRange, IRegistrationField, ICheckoutValidation, ISearchPreviewVisibility, IPaymentCards, IGlobalAnimations, ILayoutAnimationsConfetti, IGlobalCheckoutProps, IAddressIntegration, IAddressFinderType, IAdvertLeaderboards, IAdvertProductGrid, IAdvertSkyScrapers, IPageNamesForAdverts, IAddressValidationTypes, IAdvertSettings, IGoogleAutocompleteSettings, ITimeslotModalSettings, ISodiumWarning, IProductCardsProps, IProductDetailsPageLayout, ICartSummaryLayout, ISmartBanner, ICouponGalleryLayout, IPageAdvertsRow } from "./interfaces/retailer-settings.interfaces";
|
|
14
17
|
import { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames } from "./interfaces/icons.interfaces";
|
|
15
18
|
import { ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource } from "./interfaces/theme.interfaces";
|
|
16
|
-
import { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, IIconPosition } from "./interfaces/default-theme.interface";
|
|
17
|
-
export { DefaultConfigSFUI, DefaultConfigSTS, DefaultImagesSFUI, AdminSettingsTemplateSFUI, AdminSettingsTemplateSTS, AdminTemplateInputTypes, AdminImagesTemplateSFUI, AdminImagesTemplateSTS, IconNamesToFiles };
|
|
18
|
-
export { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplateSTS, IAdminControl, IAdminControlType, IAdminImagesTemplateSFUI, IAdminImagesTemplateSTS, IAdminImagesControls, ISecondaryFaviconType };
|
|
19
|
+
import { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IBrandColors, IUiColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, IIconPosition } from "./interfaces/default-theme.interface";
|
|
20
|
+
export { DefaultConfigSFUI, DefaultConfigSTS, AllThemeTemplates, DefaultThemeSFUI, globalTheme, DefaultThemeColors, DefaultImagesSFUI, AdminSettingsTemplateSFUI, AdminSettingsTemplateSTS, AdminTemplateInputTypes, AdminImagesTemplateSFUI, AdminThemeTemplateSFUI, AdminThemeTemplateOptions, AdminImagesTemplateSTS, IconNamesToFiles };
|
|
21
|
+
export { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplateSTS, IAdminControl, IAdminControlType, IThemeGenerator, IAdminImagesTemplateSFUI, IAdminImagesTemplateSTS, IAdminThemeTemplateSFUI, IAdminThemeTemplateOptions, IAdminImagesControls, ISecondaryFaviconType };
|
|
19
22
|
export { IDefaultRetailerSettings, IDefaultStsSettings };
|
|
20
|
-
export { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource, IIconPosition, };
|
|
23
|
+
export { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IBrandColors, IUiColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource, IIconPosition, };
|
|
21
24
|
export { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames, };
|
|
22
25
|
export { PdpDetailsElementLayout, ISearchPreview, IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IAllSettings, ISMSConfig, ICtaButtons, IAddressesSettings, IAccountPageSettings, ILayoutSettings, ILoggingLevel, IDefaultSearchParams, IDefaultStoreLocation, IDefaultCounty, IRetailerCountry, IRestrictMapPlaces, IValidationType, INutritionZone, IFooterTypes, IRegistrationFieldTypes, IRegistrationFieldNames, IValidateLength, IValidateMultipleLengths, IValidateDateRange, IRegistrationField, ICheckoutValidation, ISearchPreviewVisibility, IPaymentCards, IGlobalAnimations, ILayoutAnimationsConfetti, IGlobalCheckoutProps, IAddressIntegration, IAddressFinderType, IAdvertLeaderboards, IAdvertProductGrid, IAdvertSkyScrapers, IPageNamesForAdverts, IAddressValidationTypes, IAdvertSettings, IGoogleAutocompleteSettings, ITimeslotModalSettings, ISodiumWarning, IProductCardsProps, IProductDetailsPageLayout, ICartSummaryLayout, ISmartBanner, ICouponGalleryLayout, IPageAdvertsRow, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, IAdvertsData, };
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IconNamesToFiles = exports.AdminImagesTemplateSTS = exports.AdminImagesTemplateSFUI = exports.AdminTemplateInputTypes = exports.AdminSettingsTemplateSTS = exports.AdminSettingsTemplateSFUI = exports.DefaultImagesSFUI = exports.DefaultConfigSTS = exports.DefaultConfigSFUI = void 0;
|
|
3
|
+
exports.IconNamesToFiles = exports.AdminImagesTemplateSTS = exports.AdminThemeTemplateOptions = exports.AdminThemeTemplateSFUI = exports.AdminImagesTemplateSFUI = exports.AdminTemplateInputTypes = exports.AdminSettingsTemplateSTS = exports.AdminSettingsTemplateSFUI = exports.DefaultImagesSFUI = exports.DefaultThemeColors = exports.globalTheme = exports.DefaultThemeSFUI = exports.AllThemeTemplates = exports.DefaultConfigSTS = exports.DefaultConfigSFUI = void 0;
|
|
4
4
|
var defaultImagesStorefront_1 = require("./storefront/defaultImagesStorefront");
|
|
5
5
|
exports.DefaultImagesSFUI = defaultImagesStorefront_1.default;
|
|
6
6
|
var defaultSettingsStorefront_1 = require("./storefront/defaultSettingsStorefront");
|
|
7
7
|
exports.DefaultConfigSFUI = defaultSettingsStorefront_1.default;
|
|
8
|
+
var defaultThemeStorefront_1 = require("./storefront/defaultThemeStorefront");
|
|
9
|
+
exports.DefaultThemeSFUI = defaultThemeStorefront_1.default;
|
|
10
|
+
Object.defineProperty(exports, "globalTheme", { enumerable: true, get: function () { return defaultThemeStorefront_1.globalTheme; } });
|
|
11
|
+
Object.defineProperty(exports, "DefaultThemeColors", { enumerable: true, get: function () { return defaultThemeStorefront_1.DefaultThemeColors; } });
|
|
8
12
|
var defaultSettingsSts_1 = require("./sts/defaultSettingsSts");
|
|
9
13
|
exports.DefaultConfigSTS = defaultSettingsSts_1.default;
|
|
10
14
|
var SFUISettingsTemplate_AdminUi_1 = require("./storefront/SFUISettingsTemplate.AdminUi");
|
|
@@ -14,7 +18,12 @@ var STSSettingsTemplate_AdminUi_1 = require("./sts/STSSettingsTemplate.AdminUi")
|
|
|
14
18
|
Object.defineProperty(exports, "AdminSettingsTemplateSTS", { enumerable: true, get: function () { return STSSettingsTemplate_AdminUi_1.AdminSettingsTemplateSTS; } });
|
|
15
19
|
var SFUIImagesTemplate_AdminUi_1 = require("./storefront/SFUIImagesTemplate.AdminUi");
|
|
16
20
|
Object.defineProperty(exports, "AdminImagesTemplateSFUI", { enumerable: true, get: function () { return SFUIImagesTemplate_AdminUi_1.AdminImagesTemplateSFUI; } });
|
|
21
|
+
var SFUIThemesTemplate_AdminUi_1 = require("./storefront/SFUIThemesTemplate.AdminUi");
|
|
22
|
+
Object.defineProperty(exports, "AdminThemeTemplateSFUI", { enumerable: true, get: function () { return SFUIThemesTemplate_AdminUi_1.AdminThemeTemplateSFUI; } });
|
|
23
|
+
Object.defineProperty(exports, "AdminThemeTemplateOptions", { enumerable: true, get: function () { return SFUIThemesTemplate_AdminUi_1.AdminThemeTemplateOptions; } });
|
|
17
24
|
var STSImagesTemplate_AdminUi_1 = require("./sts/STSImagesTemplate.AdminUi");
|
|
18
25
|
Object.defineProperty(exports, "AdminImagesTemplateSTS", { enumerable: true, get: function () { return STSImagesTemplate_AdminUi_1.AdminImagesTemplateSTS; } });
|
|
19
26
|
var icons_interfaces_1 = require("./interfaces/icons.interfaces");
|
|
20
27
|
Object.defineProperty(exports, "IconNamesToFiles", { enumerable: true, get: function () { return icons_interfaces_1.IconNamesToFiles; } });
|
|
28
|
+
var theme_templates_1 = require("./theme-templates");
|
|
29
|
+
exports.AllThemeTemplates = theme_templates_1.default;
|
|
@@ -1,52 +1,11 @@
|
|
|
1
1
|
import { IDefaultCounty, IValidationType } from "./retailer-settings.interfaces";
|
|
2
|
+
import { IDefaultColors, IDefaultThemeInterface } from "./default-theme.interface";
|
|
2
3
|
export declare type IAdminTemplateInputTypes = {
|
|
3
4
|
[key in IAdminControlType]: IAdminControlType;
|
|
4
5
|
};
|
|
5
6
|
export interface IAdminSettingsTemplate {
|
|
6
7
|
adminPanelOnly: IAdminControl;
|
|
7
|
-
accountPage: IAdminControl;
|
|
8
|
-
additionalCharges: IAdminControl;
|
|
9
|
-
addressIntegration: IAdminControl;
|
|
10
|
-
addressValidationTypes: IAdminControl;
|
|
11
|
-
allowInStorePurchases: IAdminControl;
|
|
12
|
-
allowPastPurchases: IAdminControl;
|
|
13
|
-
cacheTimeMins: IAdminControl;
|
|
14
|
-
checkoutV1: IAdminControl;
|
|
15
|
-
daysToRemainSignedIn?: IAdminControl;
|
|
16
|
-
defaultCountry: IAdminControl;
|
|
17
|
-
defaultShoppingMode: IAdminControl;
|
|
18
|
-
defaultStoreLocation: IAdminControl;
|
|
19
|
-
disableTprPrice: IAdminControl;
|
|
20
|
-
documentTitle: IAdminControl;
|
|
21
|
-
enable3dSecure: IAdminControl;
|
|
22
|
-
enableGoogleTranslate: IAdminControl;
|
|
23
|
-
enableNewsletterSignup: IAdminControl;
|
|
24
|
-
enableNotifications?: IAdminControl;
|
|
25
|
-
favoritesV1: IAdminControl;
|
|
26
8
|
features: IAdminControl;
|
|
27
|
-
flipp: IAdminControl;
|
|
28
|
-
gtmId: IAdminControl;
|
|
29
|
-
hideTaxOnSummary: IAdminControl;
|
|
30
|
-
houseAccountRegExValidation: IAdminControl;
|
|
31
|
-
isPlanningOnly: IAdminControl;
|
|
32
|
-
limitProductCardTitleHeight: IAdminControl;
|
|
33
|
-
mainHeaderHeight: IAdminControl;
|
|
34
|
-
mapZoom: IAdminControl;
|
|
35
|
-
minimumCreditCardAmount: IAdminControl;
|
|
36
|
-
nutritionZone: IAdminControl;
|
|
37
|
-
productCardTitleHeight: IAdminControl;
|
|
38
|
-
productCardv2: IAdminControl;
|
|
39
|
-
promoTemplateVersion: IAdminControl;
|
|
40
|
-
retailerCountry: IAdminControl;
|
|
41
|
-
retailerName: IAdminControl;
|
|
42
|
-
searchPreview: IAdminControl;
|
|
43
|
-
showCheckoutPromoCode: IAdminControl;
|
|
44
|
-
showImgOnOrder: IAdminControl;
|
|
45
|
-
smartbanner: IAdminControl;
|
|
46
|
-
smsNotifications: IAdminControl;
|
|
47
|
-
subHeaderHeight: IAdminControl;
|
|
48
|
-
timeslotModalSettings: IAdminControl;
|
|
49
|
-
useAddressValidation: IAdminControl;
|
|
50
9
|
}
|
|
51
10
|
export interface IAdminControl {
|
|
52
11
|
title: string;
|
|
@@ -71,6 +30,21 @@ export declare type IAdminImagesTemplateSTS = {
|
|
|
71
30
|
export declare type IAdminImagesTemplateSFUI = {
|
|
72
31
|
[key in IAdminImagesKeys]: IAdminControl;
|
|
73
32
|
};
|
|
33
|
+
export declare type IAdminThemeTemplateSFUI = {
|
|
34
|
+
[key in IAdminThemeKeys]: IAdminControl;
|
|
35
|
+
};
|
|
36
|
+
declare type IAdminThemeKeys = 'colors';
|
|
74
37
|
declare type IAdminImagesKeysSTS = "logos" | "stsCheckBox" | "stsFavicon";
|
|
75
38
|
declare type IAdminImagesKeys = "icons" | "logos" | "confirmationPageImage" | "stsCheckBox" | "stsFavicon" | "favicon" | "rewards" | "verifySiteImage" | "missingImg";
|
|
39
|
+
export interface IAdminThemeTemplateOptions {
|
|
40
|
+
title: string;
|
|
41
|
+
description: string;
|
|
42
|
+
options: SupportThemeTemplates[];
|
|
43
|
+
helpLink: string;
|
|
44
|
+
}
|
|
45
|
+
export declare type IAllThemeTemplates = {
|
|
46
|
+
[key in SupportThemeTemplates]: IThemeGenerator;
|
|
47
|
+
};
|
|
48
|
+
declare type SupportThemeTemplates = 'Default Storefront' | 'Default STS';
|
|
49
|
+
export declare type IThemeGenerator = (colors: IDefaultColors) => IDefaultThemeInterface;
|
|
76
50
|
export {};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { IAccountPageSettings, IAddressesSettings, IAddressIntegration, IAddressValidationTypes, IAdvertSettings, ICheckoutValidation, ICtaButtons, IDefaultCounty, IDefaultSearchParams, IDefaultStoreLocation, IFeatureSwitch, IFlippConfig, IFlippConfigV2, IGlobalAnimations, IGlobalCheckoutProps, IGlobalLayouts, IGoogleAutocompleteSettings, ILayoutSettings, ILoggingLevel, INutritionZone, IPaymentCards, IProductCardsProps, IProductDetailsPageLayout, IRegistrationField, IRestrictMapPlaces, IRetailerCountry, ISearchPreviewVisibility, ISecondTierAuthorization,
|
|
1
|
+
import { IAccountPageSettings, IAddressesSettings, IAddressIntegration, IAddressValidationTypes, IAdvertSettings, ICheckoutValidation, ICtaButtons, IDefaultCounty, IDefaultSearchParams, IDefaultStoreLocation, IFeatureSwitch, IFlippConfig, IFlippConfigV2, IGlobalAnimations, IGlobalCheckoutProps, IGlobalLayouts, IGoogleAutocompleteSettings, ILayoutSettings, ILoggingLevel, INutritionZone, IPaymentCards, IProductCardsProps, IProductDetailsPageLayout, IRegistrationField, IRestrictMapPlaces, IRetailerCountry, ISearchPreviewVisibility, ISecondTierAuthorization, ISMSConfig, ISodiumWarning, ITimeslotModalSettings } from "./retailer-settings.interfaces";
|
|
2
2
|
export interface IDefaultRetailerSettings {
|
|
3
3
|
adminPanelOnly: {
|
|
4
4
|
bannerName: string;
|
|
5
5
|
logoUrl: string;
|
|
6
6
|
};
|
|
7
7
|
accountPage: IAccountPageSettings;
|
|
8
|
-
additionalCharges: boolean;
|
|
9
8
|
addressIntegration: IAddressIntegration;
|
|
10
9
|
addressValidationTypes: IAddressValidationTypes;
|
|
11
10
|
addresses: IAddressesSettings;
|
|
@@ -70,7 +69,6 @@ export interface IDefaultRetailerSettings {
|
|
|
70
69
|
secondTierAuthorization?: ISecondTierAuthorization;
|
|
71
70
|
showCheckoutPromoCode: boolean;
|
|
72
71
|
showImgOnOrder: boolean;
|
|
73
|
-
smartbanner: ISmartBanner;
|
|
74
72
|
smsNotifications: ISMSConfig;
|
|
75
73
|
sodiumWarning: ISodiumWarning;
|
|
76
74
|
specialRequestItems: boolean;
|
|
@@ -515,7 +515,7 @@ export interface IGlobalDefaultTheme {
|
|
|
515
515
|
bodyBackgroundColor: string;
|
|
516
516
|
}
|
|
517
517
|
export declare type IDefaultColors = IBrandColors & IUiColors;
|
|
518
|
-
interface IBrandColors {
|
|
518
|
+
export interface IBrandColors {
|
|
519
519
|
primary1: string;
|
|
520
520
|
primary2: string;
|
|
521
521
|
primary3: string;
|
|
@@ -532,7 +532,7 @@ interface IBrandColors {
|
|
|
532
532
|
tertiary4: string;
|
|
533
533
|
tertiary5: string;
|
|
534
534
|
}
|
|
535
|
-
interface IUiColors {
|
|
535
|
+
export interface IUiColors {
|
|
536
536
|
success: string;
|
|
537
537
|
successDark: string;
|
|
538
538
|
successLight: string;
|
|
@@ -86,7 +86,9 @@ export interface IRetailerSettings {
|
|
|
86
86
|
useAddressValidation?: boolean;
|
|
87
87
|
}
|
|
88
88
|
export interface IFeatureSwitch {
|
|
89
|
-
clientCache
|
|
89
|
+
clientCache: boolean;
|
|
90
|
+
additionalCharges: boolean;
|
|
91
|
+
smartbanner: ISmartBanner;
|
|
90
92
|
}
|
|
91
93
|
export interface ISmartBanner {
|
|
92
94
|
enabled: boolean;
|