@thryveai/theme-interfaces 2.8.18 → 2.8.20
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 +90 -33
- package/dist/JSONSchemas/index.js +184 -92
- 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 -1
- package/dist/interfaces/shared-settings.interfaces.d.ts +5 -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 -0
- package/dist/storefront/commonSharedSettings.js +5 -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 -0
- package/dist/storefront/defaultSharedSettings.js +5 -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;
|
|
@@ -488,6 +492,7 @@ export interface ISiteSettingsV2 {
|
|
|
488
492
|
showShopAllLink: IShowShopAllLink;
|
|
489
493
|
showEmptyMiniList: boolean;
|
|
490
494
|
preserveStore: IPreserveStore;
|
|
495
|
+
carousel: ILayoutCarousel;
|
|
491
496
|
}
|
|
492
497
|
export interface IHeaderLinksLayout {
|
|
493
498
|
enabled: boolean;
|
|
@@ -523,6 +528,9 @@ export interface IAccountPageSettings {
|
|
|
523
528
|
loyaltyValidationType: IValidationType[];
|
|
524
529
|
};
|
|
525
530
|
}
|
|
531
|
+
export interface ILayoutCarousel {
|
|
532
|
+
showArrowsOnHoverOnly: boolean;
|
|
533
|
+
}
|
|
526
534
|
export interface ILayoutSettings {
|
|
527
535
|
footerVersion: IFooterTypes;
|
|
528
536
|
}
|
|
@@ -563,7 +571,7 @@ export interface IRestrictMapPlaces {
|
|
|
563
571
|
totalTake: number;
|
|
564
572
|
};
|
|
565
573
|
}
|
|
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";
|
|
574
|
+
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
575
|
export declare type IEnvNames = "dev" | "de2" | "qat" | "qa2" | "int" | "in2" | "lod" | "lo2" | "stg" | "st2" | "stagingConfig" | "productionConfig";
|
|
568
576
|
export declare type IFlyerProviders = "flipp" | "redPepper";
|
|
569
577
|
export interface IExternalContentProps {
|
|
@@ -761,6 +769,7 @@ export interface IScrollToTopButton {
|
|
|
761
769
|
right: number;
|
|
762
770
|
bottom: number;
|
|
763
771
|
};
|
|
772
|
+
visibilityThreshold: number;
|
|
764
773
|
}
|
|
765
774
|
export interface IShowShopAllLink {
|
|
766
775
|
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;
|
|
@@ -64,4 +65,7 @@ export interface IAgeVerification {
|
|
|
64
65
|
export interface ILoyalty {
|
|
65
66
|
barcodeFormat: Format;
|
|
66
67
|
}
|
|
68
|
+
interface IIdp {
|
|
69
|
+
organization: string;
|
|
70
|
+
}
|
|
67
71
|
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: {
|
|
@@ -396,6 +396,7 @@ var CommonConfigSFUI = {
|
|
|
396
396
|
TwoBannerContainer: false,
|
|
397
397
|
Video: false,
|
|
398
398
|
VideoWithContent: false,
|
|
399
|
+
PromotionsGallery: false,
|
|
399
400
|
},
|
|
400
401
|
isLegacyProductURL: false,
|
|
401
402
|
headerLinks: { dimension: 0, enabled: false },
|
|
@@ -404,6 +405,7 @@ var CommonConfigSFUI = {
|
|
|
404
405
|
scrollToTopButton: {
|
|
405
406
|
enabled: true,
|
|
406
407
|
percentOffset: { bottom: 15, right: 2 },
|
|
408
|
+
visibilityThreshold: 2000
|
|
407
409
|
},
|
|
408
410
|
clientRenderCoupons: true,
|
|
409
411
|
showClippedStateInCouponModal: false,
|
|
@@ -416,6 +418,9 @@ var CommonConfigSFUI = {
|
|
|
416
418
|
skipConfirmation: false,
|
|
417
419
|
confirmationDelay: 5000,
|
|
418
420
|
},
|
|
421
|
+
carousel: {
|
|
422
|
+
showArrowsOnHoverOnly: true
|
|
423
|
+
}
|
|
419
424
|
},
|
|
420
425
|
welcomeModal: [],
|
|
421
426
|
performance: {
|
|
@@ -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",
|