@thryveai/theme-interfaces 2.8.18 → 2.8.19
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/JSONSchemas/index.d.ts +93 -36
- package/dist/JSONSchemas/index.js +187 -95
- package/dist/index.d.ts +2 -2
- package/dist/interfaces/icons.interfaces.d.ts +1 -1
- package/dist/interfaces/retailer-settings.interfaces.d.ts +10 -2
- package/dist/interfaces/shared-settings.interfaces.d.ts +6 -1
- package/dist/mobile/interfaces/mobile-retailer-settings.interfaces.d.ts +5 -1
- package/dist/mobile/reactnative/MobileDefaultSettings.js +3 -2
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +6 -1
- package/dist/storefront/commonSettingsStorefront.js +5 -1
- package/dist/storefront/commonSharedSettings.js +6 -2
- package/dist/storefront/contentEngineComponents.d.ts +1 -0
- package/dist/storefront/contentEngineComponents.js +1 -0
- package/dist/storefront/defaultIconsStorefront.js +1 -1
- package/dist/storefront/defaultSettingsStorefront.js +5 -1
- package/dist/storefront/defaultSharedSettings.js +6 -2
- package/dist/storefront/productBadgeAttributes.d.ts +1 -1
- package/dist/storefront/productBadgeAttributes.js +3 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplat
|
|
|
14
14
|
import { IAdminImagesControls, ISecondaryFaviconType } from "./interfaces/admin-images-interfaces";
|
|
15
15
|
import { IDefaultRetailerSettingsVersion2 } from "./interfaces/default-settings.interfaces";
|
|
16
16
|
import { IDefaultStsSettings } from "./interfaces/sts-settings.interfaces";
|
|
17
|
-
import { IAdvertsData, PdpDetailsElementLayout, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, ISearchPreview, IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IRedPepperConfig, 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, IEntryModalVersion, IShoppingRuleControl, IAdminOnlyV2, IAccountPageV2, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IPdpSettingsV2, IProductCardSettingsV2, ISiteSettingsV2, IUseContentEngineV2Components, IPdpNutritionLink, ITypesOfBusiness, IBusinessAccountObject, IPerformanceSettingsV2, IStoreSelectionSettings, ShoppingMode } from "./interfaces/retailer-settings.interfaces";
|
|
17
|
+
import { IAdvertsData, PdpDetailsElementLayout, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, ISearchPreview, IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IRedPepperConfig, 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, IEntryModalVersion, IShoppingRuleControl, IAdminOnlyV2, IAccountPageV2, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IPdpSettingsV2, IProductCardSettingsV2, ISiteSettingsV2, IUseContentEngineV2Components, IPdpNutritionLink, ITypesOfBusiness, IBusinessAccountObject, IPerformanceSettingsV2, IStoreSelectionSettings, ShoppingMode, ILayoutCarousel } from "./interfaces/retailer-settings.interfaces";
|
|
18
18
|
import { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames } from "./interfaces/icons.interfaces";
|
|
19
19
|
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";
|
|
20
20
|
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";
|
|
@@ -40,4 +40,4 @@ export { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSharedSettingsT
|
|
|
40
40
|
export { IDefaultRetailerSettingsVersion2, IDefaultStsSettings };
|
|
41
41
|
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, };
|
|
42
42
|
export { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames };
|
|
43
|
-
export { PdpDetailsElementLayout, ShoppingMode, ISearchPreview, IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IRedPepperConfig, 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, IUseContentEngineV2Components, IAdvertSettings, IGoogleAutocompleteSettings, ITimeslotModalSettings, IPdpNutritionLink, ISodiumWarning, IProductCardsProps, IProductDetailsPageLayout, ICartSummaryLayout, ISmartBanner, IEntryModalVersion, IShoppingRuleControl, ICouponGalleryLayout, IPageAdvertsRow, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, IAdvertsData, IAdminOnlyV2, IAccountPageV2, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IPdpSettingsV2, IProductCardSettingsV2, ISiteSettingsV2, ISharedSettings, IPerformanceSettingsV2, IStoreSelectionSettings, };
|
|
43
|
+
export { PdpDetailsElementLayout, ShoppingMode, ISearchPreview, IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IRedPepperConfig, IAllSettings, ISMSConfig, ICtaButtons, IAddressesSettings, IAccountPageSettings, ILayoutSettings, ILayoutCarousel, 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, IUseContentEngineV2Components, IAdvertSettings, IGoogleAutocompleteSettings, ITimeslotModalSettings, IPdpNutritionLink, ISodiumWarning, IProductCardsProps, IProductDetailsPageLayout, ICartSummaryLayout, ISmartBanner, IEntryModalVersion, IShoppingRuleControl, ICouponGalleryLayout, IPageAdvertsRow, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, IAdvertsData, IAdminOnlyV2, IAccountPageV2, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IPdpSettingsV2, IProductCardSettingsV2, ISiteSettingsV2, ISharedSettings, IPerformanceSettingsV2, IStoreSelectionSettings, };
|
|
@@ -5,6 +5,6 @@ export declare type IIconsObject = {
|
|
|
5
5
|
export declare type PaymentTypesLogos = "AmExpCard" | "AmExpLogo" | "Comodo" | "DiscoverCard" | "DiscoverLogo" | "MasterLogo" | "MasterSecure" | "VisaLogo" | "VisaVerified";
|
|
6
6
|
export declare type PaymentCards = "AmExpCard" | "ApplePay" | "DiscoverCard" | "EBT" | "PayPal" | "GooglePay" | "MasterCard" | "MasterCardDebit" | "VisaCard" | "Paze";
|
|
7
7
|
export declare type IconNames = "AccountOutline" | "AccountSolid" | "Addresses" | "ApplePay" | "ArrowDown" | "ArrowUp" | "ArrowRight" | "ArrowUpdown" | "BarScan" | "Bell" | "Blog" | "Cart" | "Check" | "CheckCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Circular" | "Clear" | "Close" | "Coupon" | "Credit" | "CreditCard" | "Dashboard" | "DeliveryOutline" | "DeliverySolid" | "Dietary" | "DoubleArrows" | "Download" | "Dropship" | "EBT" | "Eco" | "Edit" | "Error" | "FaceHappy" | "FaceSad" | "Facebook" | "Fav" | "FavSolid" | "Filter" | "Flag" | "Geolocate" | "GooglePay" | "Hamburger" | "Help" | "Home" | "HouseOrBusinessAccount" | "Info" | "Instacart" | "InstacartLogo" | "Instagram" | "InstructionsFilled" | "ItemLocation" | "ListCheck" | "ListItems" | "ListLarge" | "ListRemove" | "ListSave" | "ListSearch" | "LocationDistance" | "LocationPin" | "LoyaltyCard" | "Mail" | "Minus" | "MoreOptionsH" | "MoreOptionsV" | "None" | "Note" | "NoteFilled" | "Notifications" | "Orders" | "PastPurchases" | "PayPal" | "PayInStore" | "Pause" | "PaymentOutline" | "PaymentSolid" | "Phone" | "PhoneMobile" | "Pickup" | "PickupInfo" | "Pinterest" | "Play" | "Plus" | "Print" | "ProductLocation" | "PromoOutline" | "PromoSolid" | "RadioActive" | "RadioEmpty" | "RecipeCalories" | "RecipeCooktime" | "RecipeIngredients" | "RecipePreptime" | "RecipeServings" | "RecommendedSub" | "Remove" | "Reserve" | "ReserveDate" | "ReserveTime" | "SavedCard" | "Search" | "SelectCheck" | "SelectEmpty" | "SelectMark" | "Send" | "Settings" | "Share" | "SodiumWarning" | "SortGrid" | "SortList" | "StarOutline" | "StarSolid" | "Subscription" | "Substitute" | "SubstituteBestmatch" | "SubstituteNone" | "SubstituteProduct" | "TikTok" | "Trash" | "Twitter" | "TargetedReward" | "Unavailable" | "Voice" | "Warning" | "YourLocation" | "Youtube" | PaymentTypesLogos | PaymentCards | ProductAttributeIcons | LanguageFlags;
|
|
8
|
-
export declare type ProductAttributeIcons = "GlutenFree" | "Organic" | "Local" | "DairyFree" | "DiabetesFriendly" | "EggFree" | "FairTrade" | "NoArtificialIngredients" | "Halal" | "HeartHealth" | "NoHighFructoseCornSyrup" | "KetoFriendly" | "Kosher" | "LactoseFree" | "LowFODMAP" | "LowSodium" | "NoAddedSugar" | "NonGMO" | "Paleo" | "PeanutFree" | "PlantGoodness" | "SoyFree" | "Vegan" | "WholeGrain" | "BottleDeposit" | "LimitedIngredients" | "MinimallyProcessed" | "Fsa" | "PlantBased" | "Frozen" | "MapleLeafCanadian";
|
|
8
|
+
export declare type ProductAttributeIcons = "GlutenFree" | "Organic" | "Local" | "DairyFree" | "DiabetesFriendly" | "EggFree" | "FairTrade" | "NoArtificialIngredients" | "Halal" | "HeartHealth" | "NoHighFructoseCornSyrup" | "KetoFriendly" | "Kosher" | "LactoseFree" | "LowFODMAP" | "LowSodium" | "NoAddedSugar" | "NonGMO" | "Paleo" | "PeanutFree" | "PlantGoodness" | "SoyFree" | "Vegan" | "WholeGrain" | "BottleDeposit" | "LimitedIngredients" | "MinimallyProcessed" | "Fsa" | "PlantBased" | "Frozen" | "MapleLeafCanadian" | "HighFiber" | "HighProtein" | "NewProduct";
|
|
9
9
|
export declare type LanguageFlags = "en-au" | "en-ca" | "en-gb" | "en-ie" | "en-us" | "es-es" | "es-mx" | "es-us" | "fr-ca";
|
|
10
10
|
export declare type DefaultIconsForSchema = DeepPartial<{} & IIconsObject>;
|
|
@@ -194,12 +194,16 @@ export interface INewFlippConfig {
|
|
|
194
194
|
retailer: string;
|
|
195
195
|
slideOutView: boolean;
|
|
196
196
|
zoom: number;
|
|
197
|
+
tabletZoom: number;
|
|
198
|
+
mobileZoom: number;
|
|
197
199
|
excludeFlyer?: string;
|
|
198
200
|
}
|
|
199
201
|
export declare type IFlippScriptUrls = "circulars.priceritemarketplace" | "circulars.dearbornmarket" | "flyers.v8.commerce.mi9cloud" | "flyers.stg.v8.mywebgrocer" | "flyers.saveonfoods";
|
|
200
202
|
export interface IRedPepperConfig {
|
|
201
203
|
locale: string;
|
|
202
204
|
zoom: number;
|
|
205
|
+
tabletZoom: number;
|
|
206
|
+
mobileZoom: number;
|
|
203
207
|
clientId: string;
|
|
204
208
|
clientUrl: string;
|
|
205
209
|
storeValue?: string;
|
|
@@ -360,7 +364,6 @@ export interface ICheckoutSettingsV2 {
|
|
|
360
364
|
checkoutValidation: ICheckoutValidation;
|
|
361
365
|
forceDeliverySection: boolean;
|
|
362
366
|
enableInterimModal: boolean;
|
|
363
|
-
smsOptIn: boolean;
|
|
364
367
|
}
|
|
365
368
|
export interface IFeaturesV2 {
|
|
366
369
|
additionalCharges: boolean;
|
|
@@ -488,6 +491,7 @@ export interface ISiteSettingsV2 {
|
|
|
488
491
|
showShopAllLink: IShowShopAllLink;
|
|
489
492
|
showEmptyMiniList: boolean;
|
|
490
493
|
preserveStore: IPreserveStore;
|
|
494
|
+
carousel: ILayoutCarousel;
|
|
491
495
|
}
|
|
492
496
|
export interface IHeaderLinksLayout {
|
|
493
497
|
enabled: boolean;
|
|
@@ -523,6 +527,9 @@ export interface IAccountPageSettings {
|
|
|
523
527
|
loyaltyValidationType: IValidationType[];
|
|
524
528
|
};
|
|
525
529
|
}
|
|
530
|
+
export interface ILayoutCarousel {
|
|
531
|
+
showArrowsOnHoverOnly: boolean;
|
|
532
|
+
}
|
|
526
533
|
export interface ILayoutSettings {
|
|
527
534
|
footerVersion: IFooterTypes;
|
|
528
535
|
}
|
|
@@ -563,7 +570,7 @@ export interface IRestrictMapPlaces {
|
|
|
563
570
|
totalTake: number;
|
|
564
571
|
};
|
|
565
572
|
}
|
|
566
|
-
export declare type IValidationType = IValidateDateRange | IValidateLength | IValidateMultipleLengths | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "email" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "password" | "required" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone";
|
|
573
|
+
export declare type IValidationType = IValidateDateRange | IValidateLength | IValidateMultipleLengths | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "email" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "password" | "required" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone" | "intE164Phone" | "usE164Phone" | "caE164Phone" | "ieE164Phone" | "auE164Phone";
|
|
567
574
|
export declare type IEnvNames = "dev" | "de2" | "qat" | "qa2" | "int" | "in2" | "lod" | "lo2" | "stg" | "st2" | "stagingConfig" | "productionConfig";
|
|
568
575
|
export declare type IFlyerProviders = "flipp" | "redPepper";
|
|
569
576
|
export interface IExternalContentProps {
|
|
@@ -761,6 +768,7 @@ export interface IScrollToTopButton {
|
|
|
761
768
|
right: number;
|
|
762
769
|
bottom: number;
|
|
763
770
|
};
|
|
771
|
+
visibilityThreshold: number;
|
|
764
772
|
}
|
|
765
773
|
export interface IShowShopAllLink {
|
|
766
774
|
enabled: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IAdminOnlyV2, IFlippConfig, IFlippConfigV2, IFlyerProviders, IRedPepperConfig } from "./retailer-settings.interfaces";
|
|
2
2
|
import { IDateFormat } from "./theme.interfaces";
|
|
3
|
-
export declare type Format =
|
|
3
|
+
export declare type Format = "UPC" | "CODE128" | "EAN13" | "CODE39" | "CODE128A" | "CODE128B" | "CODE128C" | "EAN8" | "EAN5" | "EAN2" | "UPCE" | "ITF14" | "ITF" | "MSI" | "MSI10" | "MSI11" | "MSI1010" | "MSI1110" | "pharmacode" | "codabar";
|
|
4
4
|
export interface ISharedSettings {
|
|
5
5
|
features: ISharedFeatures;
|
|
6
6
|
checkout: ISharedCheckout;
|
|
@@ -15,6 +15,7 @@ export interface ISharedFeatures {
|
|
|
15
15
|
flyerConfiguration: IFlyerConfiguration | null;
|
|
16
16
|
ageVerification: IAgeVerification;
|
|
17
17
|
loyalty: ILoyalty;
|
|
18
|
+
idp: IIdp;
|
|
18
19
|
}
|
|
19
20
|
export interface ISharedCheckout {
|
|
20
21
|
preserveOrderNote: IOrderInstructions;
|
|
@@ -50,6 +51,7 @@ export interface ISharedGeneral {
|
|
|
50
51
|
dateOfBirthInputFormat: IDateFormat;
|
|
51
52
|
wasComparisonPrice: boolean;
|
|
52
53
|
enableTargetedRewardsIcon: boolean;
|
|
54
|
+
smsOptIn: boolean;
|
|
53
55
|
}
|
|
54
56
|
export interface IFlyerConfiguration {
|
|
55
57
|
enabled: boolean;
|
|
@@ -64,4 +66,7 @@ export interface IAgeVerification {
|
|
|
64
66
|
export interface ILoyalty {
|
|
65
67
|
barcodeFormat: Format;
|
|
66
68
|
}
|
|
69
|
+
interface IIdp {
|
|
70
|
+
organization: string;
|
|
71
|
+
}
|
|
67
72
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFlyerConfiguration, ShoppingMode } from "../../interfaces/retailer-settings.interfaces";
|
|
1
|
+
import { IFlyerConfiguration, IRetailerCountry, ShoppingMode } from "../../interfaces/retailer-settings.interfaces";
|
|
2
2
|
export interface IMobileSettings {
|
|
3
3
|
ebtPayment: {
|
|
4
4
|
details: string | undefined;
|
|
@@ -40,6 +40,10 @@ export interface IMobileSettings {
|
|
|
40
40
|
enableSlotsRemainingLabel: boolean;
|
|
41
41
|
enableSponsoredProducts: boolean;
|
|
42
42
|
enableStoreEmail: boolean;
|
|
43
|
+
e164PhoneNumberValidation: {
|
|
44
|
+
country: IRetailerCountry;
|
|
45
|
+
required: boolean;
|
|
46
|
+
} | null;
|
|
43
47
|
filterOrder: string[];
|
|
44
48
|
flipp: {} | undefined;
|
|
45
49
|
flyerConfiguration: IFlyerConfiguration | null;
|
|
@@ -20,8 +20,9 @@ exports.MobileDefaultSettings = {
|
|
|
20
20
|
enableSearchPreviewTopCategories: false,
|
|
21
21
|
enableEmailShoppingItemsMessageField: false,
|
|
22
22
|
flyerConfiguration: null,
|
|
23
|
+
e164PhoneNumberValidation: null,
|
|
23
24
|
},
|
|
24
25
|
settings: {
|
|
25
|
-
addressFinderMinimumCharacters: 4
|
|
26
|
-
}
|
|
26
|
+
addressFinderMinimumCharacters: 4,
|
|
27
|
+
},
|
|
27
28
|
};
|
|
@@ -1047,10 +1047,15 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
1047
1047
|
right: {
|
|
1048
1048
|
title: "Offset right",
|
|
1049
1049
|
description: "This is the percentage of the width of the screen that the button will appear from the right.",
|
|
1050
|
-
type: exports.AdminTemplateInputTypes.inputNumber
|
|
1050
|
+
type: exports.AdminTemplateInputTypes.inputNumber
|
|
1051
1051
|
},
|
|
1052
1052
|
},
|
|
1053
1053
|
},
|
|
1054
|
+
visibilityThreshold: {
|
|
1055
|
+
title: "Visibility threshold",
|
|
1056
|
+
description: "Configure the number in pixels when the button appears based on scroll distance.",
|
|
1057
|
+
type: exports.AdminTemplateInputTypes.inputNumber
|
|
1058
|
+
}
|
|
1054
1059
|
},
|
|
1055
1060
|
},
|
|
1056
1061
|
// showClippedStateInCouponModal: {
|
|
@@ -87,7 +87,6 @@ var CommonConfigSFUI = {
|
|
|
87
87
|
showTaxTotal: true,
|
|
88
88
|
},
|
|
89
89
|
checkout: {
|
|
90
|
-
smsOptIn: false,
|
|
91
90
|
checkoutValidation: {
|
|
92
91
|
instructions: ["alphaNumeric", "notWhiteSpacesOnly"],
|
|
93
92
|
phoneNumber: ["usPhone", "required"],
|
|
@@ -396,6 +395,7 @@ var CommonConfigSFUI = {
|
|
|
396
395
|
TwoBannerContainer: false,
|
|
397
396
|
Video: false,
|
|
398
397
|
VideoWithContent: false,
|
|
398
|
+
PromotionsGallery: false,
|
|
399
399
|
},
|
|
400
400
|
isLegacyProductURL: false,
|
|
401
401
|
headerLinks: { dimension: 0, enabled: false },
|
|
@@ -404,6 +404,7 @@ var CommonConfigSFUI = {
|
|
|
404
404
|
scrollToTopButton: {
|
|
405
405
|
enabled: true,
|
|
406
406
|
percentOffset: { bottom: 15, right: 2 },
|
|
407
|
+
visibilityThreshold: 2000
|
|
407
408
|
},
|
|
408
409
|
clientRenderCoupons: true,
|
|
409
410
|
showClippedStateInCouponModal: false,
|
|
@@ -416,6 +417,9 @@ var CommonConfigSFUI = {
|
|
|
416
417
|
skipConfirmation: false,
|
|
417
418
|
confirmationDelay: 5000,
|
|
418
419
|
},
|
|
420
|
+
carousel: {
|
|
421
|
+
showArrowsOnHoverOnly: true
|
|
422
|
+
}
|
|
419
423
|
},
|
|
420
424
|
welcomeModal: [],
|
|
421
425
|
performance: {
|
|
@@ -32,8 +32,11 @@ var CommonSharedSettingsConfig = {
|
|
|
32
32
|
ageVerificationStatementName: "",
|
|
33
33
|
},
|
|
34
34
|
loyalty: {
|
|
35
|
-
barcodeFormat: "UPC"
|
|
36
|
-
}
|
|
35
|
+
barcodeFormat: "UPC",
|
|
36
|
+
},
|
|
37
|
+
idp: {
|
|
38
|
+
organization: "",
|
|
39
|
+
},
|
|
37
40
|
},
|
|
38
41
|
checkout: {
|
|
39
42
|
preserveOrderNote: {
|
|
@@ -47,6 +50,7 @@ var CommonSharedSettingsConfig = {
|
|
|
47
50
|
dateOfBirthInputFormat: "DD/MM/YYYY",
|
|
48
51
|
wasComparisonPrice: false,
|
|
49
52
|
enableTargetedRewardsIcon: false,
|
|
53
|
+
smsOptIn: false
|
|
50
54
|
},
|
|
51
55
|
};
|
|
52
56
|
exports.default = CommonSharedSettingsConfig;
|
|
@@ -15,6 +15,7 @@ exports.CMSComponentNames = {
|
|
|
15
15
|
ProductCardStory: "ProductCardStory",
|
|
16
16
|
Recipe: "Recipe",
|
|
17
17
|
Sale: "Sale",
|
|
18
|
+
PromotionsGallery: "PromotionsGallery",
|
|
18
19
|
SmallBannerWithBackgroundImage: "StandardContentBlock1",
|
|
19
20
|
SmallBannerWithSupportingImage: "StandardContentBlock2",
|
|
20
21
|
SmallCarousel: "CarouselSmall",
|