@thryveai/theme-interfaces 2.8.2 → 2.8.3-1.subpath

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 CHANGED
@@ -1,43 +1,13 @@
1
- import DefaultImagesSFUI from "./storefront/defaultImagesStorefront";
2
- import DefaultIconsSFUI from "./storefront/defaultIconsStorefront";
3
- import DefaultConfigSFUI from "./storefront/defaultSettingsStorefront";
4
- import DefaultSharedSettingsConfig from "./storefront/defaultSharedSettings";
5
- import DefaultThemeSFUI, { globalTheme, DefaultThemeColors } from "./storefront/defaultThemeStorefront";
6
- import DefaultConfigSTS from "./sts/defaultSettingsSts";
7
- import { AdminTemplateInputTypes, AdminSettingsTemplateSFUI } from "./storefront/SFUISettingsTemplate.AdminUi";
8
- import { AdminSettingsTemplateSTS } from "./sts/STSSettingsTemplate.AdminUi";
9
- import { AdminImagesTemplateSFUI } from "./storefront/SFUIImagesTemplate.AdminUi";
10
- import { AdminThemeTemplateSFUI, AdminThemeTemplateOptions } from "./storefront/SFUIThemesTemplate.AdminUi";
11
- import { AdminImagesTemplateSTS } from "./sts/STSImagesTemplate.AdminUi";
12
- import AllThemeTemplates from "./theme-templates";
13
- import { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplateSTS, IAdminImagesTemplateSFUI, IAdminThemeTemplateSFUI, IAdminThemeTemplateOptions, IAdminImagesTemplateSTS, IAdminControl, IAdminControlType, IThemeGenerator } from "./interfaces/admin-settings-interfaces";
14
- import { IAdminImagesControls, ISecondaryFaviconType } from "./interfaces/admin-images-interfaces";
15
- import { IDefaultRetailerSettingsVersion2 } from "./interfaces/default-settings.interfaces";
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";
18
- import { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames } from "./interfaces/icons.interfaces";
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
- 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";
21
- import { CMSComponentNames, CMSNames } from "./storefront/contentEngineComponents";
22
- import { ProductAttributes, ProductAttrToIcons } from "./storefront/productBadgeAttributes";
23
- /** MOBILE */
24
- import { IMobileSettings } from "./mobile/interfaces/mobile-retailer-settings.interfaces";
25
- import { MobileDefaultSettings } from "./mobile/reactnative/MobileDefaultSettings";
26
- import { AdminSettingsTemplateMobile } from "./mobile/reactnative/MobileSettingsTemplate.AdminUi";
27
- import { ISharedSettings } from "./interfaces/shared-settings.interfaces";
28
- import { AdminSharedSettingsTemplateSFUI } from "./storefront/SFUISharedSettingsTemplate.AdminUi";
29
- import { IAdminSharedSettingsTemplate } from "./interfaces/shared-settings-interfaces";
30
- import CommonConfigSFUI from "./storefront/commonSettingsStorefront";
31
- import CommonSharedSettingsConfig from "./storefront/commonSharedSettings";
1
+ export type { IAdminImagesControls, ISecondaryFaviconType } from "./interfaces/admin-images-interfaces";
2
+ export type { IMessageProps, IAdminControl, IImageRequiredFormat, IAdminGroupType, IAdminSettingsTemplateSTS, IAdminThemeTemplateOptions, ITemplateObject, IPartialKeys, IAdminSettingsTemplate, IAdminTemplateInputTypes, ImageFormat, IAdminControlType, IAdminImagesTemplateSTS, IAdminImagesTemplateSFUI, IAdminThemeTemplateSFUI, IAllThemeTemplates, IThemeGenerator } from "./interfaces/admin-settings-interfaces";
3
+ export type { IDefaultRetailerSettingsVersion2, RetailerSettingsForSchema } from "./interfaces/default-settings.interfaces";
4
+ export type { IDefaultTheme, IDefaultThemeLogoHeightsProps, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeImages, IDefaultThemeInterface, IDefaultThemeScripts, IGlobalDefaultTheme, IBrandColors, IUiColors, IInitializedEmptyDefaultTheme, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IIconPosition, IDefaultThemeLogoHeights, IDefaultColors, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationConfettiPlaces, DefaultImagesForSchema, DefaultThemeForSchema } from "./interfaces/default-theme.interface";
5
+ export type { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames, ProductAttributeIcons, LanguageFlags, DefaultIconsForSchema } from "./interfaces/icons.interfaces";
6
+ export type { IRetailerSettings, IFeatureSwitch, ISiteSettings, IVouchers, IPromotionCalculator, IGiftCards, IProdX, ISmartBanner, IGlobalLayouts, ICouponGalleryLayout, ICartSummaryLayout, IExternalApps, IExternalAppSTS, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, INewFlippConfig, IRedPepperConfig, IFlyerConfiguration, ISMSConfig, IPageAdvertsRow, ITimeslotModalSettings, IAdvertLeaderboards, IAdvertProductGrid, IAdvertSkyScrapers, IBarcodeOptions, IBarcodeSettings, IGoogleAutocompleteSettings, IGoogleAutocompleteBounds, ICtaButtons, IProductAttributesLayout, IPdpNutritionLink, ISodiumWarning, IAddressesSettings, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IStoreSelectionSettings, IGoogleTranslateWidget, IPdpSettingsV2, IProductCardSettingsV2, ICookiePro, ISiteSettingsV2, IHeaderLinksLayout, IPreserveStore, IWelcomeModalV2, IIntegrationSettings, IPerformanceSettingsV2, IAccountPageSettings, ILayoutCarousel, ILayoutSettings, IAddressValidationTypes, IDefaultSearchParams, IDefaultStoreLocation, IRestrictMapPlaces, IExternalContentProps, IRegistrationField, ICheckoutValidation, ISearchPreview, ISearchPreviewVisibility, IAdminOnlyV2, IAccountPageV2, IBusinessAccountObject, IGlobalAnimations, ILayoutAnimationsConfetti, IGlobalCheckoutProps, IShoppingRuleControl, IAddressIntegration, IProductCardsProps, IProductCardV2ComponentProps, IProductCardV2ProductAttributes, IProductCardV2RecommendedLabelSettings, IProductCardV2PromotionLabelsSettings, IProductDetailsPageLayout, IMaintainCustomerPreferences, IDefaultExternal, IMobileViewCardLayout, IScrollToTopButton, IShowShopAllLink, IEntryModalVersion, IFlippScriptUrls, IAllSettings, IScreenType, IAdvertsData, IEmailCartOrShoppingList, IAdvertSettings, IPageNamesForAdverts, IGoogleAutocompleteTypes, IUseContentEngineV2Components, ILoggingLevel, IDefaultCounty, IRetailerCountry, IValidationType, IEnvNames, IFlyerProviders, INutritionZone, IFooterTypes, IValidateLength, IValidateMultipleLengths, IValidateDateRange, IRegistrationFieldTypes, IRegistrationFieldNames, ITypesOfBusiness, IAddressFinderType, ILabelConfig, IProductCardLayouts, IProductCardLayoutObjects, IProductCardILayoutTypes, IProductCardILayoutVersions, PdpDetailsElementLayout, IConfigurableCustomerPreference, LinkTarget, ShoppingMode } from "./interfaces/retailer-settings.interfaces";
7
+ export type { IAdminSharedSettingsTemplate, SharedSettingsForSchema } from "./interfaces/shared-settings-interfaces";
8
+ export type { ISharedSettings, ISharedFeatures, ISharedCheckout, IRecommendedSubstitutions, ISpecialRequestItems, ICouponGallery, ISharedGeneral, IAgeVerification, IAgeGateModal, ILoyalty, Format } from "./interfaces/shared-settings.interfaces";
9
+ export type { IDefaultStsSettings } from "./interfaces/sts-settings.interfaces";
10
+ export type { ITheme, IThemeLogoHeightsProps, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeImages, IThemeInterface, IThemeScripts, IGlobalTheme, IInitializedEmptyTheme, IThemeGlobalAnimations, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeights, IColors, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationConfettiPlaces, IDateFormat } from "./interfaces/theme.interfaces";
32
11
  export declare type DeepPartial<T> = {
33
12
  [K in keyof T]?: T[K] extends object ? DeepPartial<T[K]> : T[K];
34
13
  };
35
- export { DefaultSharedSettingsConfig, DefaultConfigSFUI, CommonSharedSettingsConfig, CommonConfigSFUI, DefaultConfigSTS, AllThemeTemplates, DefaultThemeSFUI, globalTheme, DefaultThemeColors, DefaultImagesSFUI, DefaultIconsSFUI, AdminSettingsTemplateSFUI, AdminSettingsTemplateSTS, AdminTemplateInputTypes, AdminImagesTemplateSFUI, AdminThemeTemplateSFUI, AdminThemeTemplateOptions, AdminImagesTemplateSTS, IMobileSettings, AdminSettingsTemplateMobile, MobileDefaultSettings, AdminSharedSettingsTemplateSFUI, };
36
- export { CMSComponentNames, CMSNames };
37
- export { ProductAttrToIcons, ProductAttributes };
38
- export { ITypesOfBusiness, IBusinessAccountObject };
39
- export { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSharedSettingsTemplate, IAdminSettingsTemplateSTS, IAdminControl, IAdminControlType, IThemeGenerator, IAdminImagesTemplateSFUI, IAdminImagesTemplateSTS, IAdminThemeTemplateSFUI, IAdminThemeTemplateOptions, IAdminImagesControls, ISecondaryFaviconType, };
40
- export { IDefaultRetailerSettingsVersion2, IDefaultStsSettings };
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
- 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, };
package/dist/index.js CHANGED
@@ -1,45 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProductAttrToIcons = exports.CMSComponentNames = exports.AdminSharedSettingsTemplateSFUI = exports.MobileDefaultSettings = exports.AdminSettingsTemplateMobile = exports.AdminImagesTemplateSTS = exports.AdminThemeTemplateOptions = exports.AdminThemeTemplateSFUI = exports.AdminImagesTemplateSFUI = exports.AdminTemplateInputTypes = exports.AdminSettingsTemplateSTS = exports.AdminSettingsTemplateSFUI = exports.DefaultIconsSFUI = exports.DefaultImagesSFUI = exports.DefaultThemeColors = exports.globalTheme = exports.DefaultThemeSFUI = exports.AllThemeTemplates = exports.DefaultConfigSTS = exports.CommonConfigSFUI = exports.CommonSharedSettingsConfig = exports.DefaultConfigSFUI = exports.DefaultSharedSettingsConfig = void 0;
4
- var defaultImagesStorefront_1 = require("./storefront/defaultImagesStorefront");
5
- exports.DefaultImagesSFUI = defaultImagesStorefront_1.default;
6
- var defaultIconsStorefront_1 = require("./storefront/defaultIconsStorefront");
7
- exports.DefaultIconsSFUI = defaultIconsStorefront_1.default;
8
- var defaultSettingsStorefront_1 = require("./storefront/defaultSettingsStorefront");
9
- exports.DefaultConfigSFUI = defaultSettingsStorefront_1.default;
10
- var defaultSharedSettings_1 = require("./storefront/defaultSharedSettings");
11
- exports.DefaultSharedSettingsConfig = defaultSharedSettings_1.default;
12
- var defaultThemeStorefront_1 = require("./storefront/defaultThemeStorefront");
13
- exports.DefaultThemeSFUI = defaultThemeStorefront_1.default;
14
- Object.defineProperty(exports, "globalTheme", { enumerable: true, get: function () { return defaultThemeStorefront_1.globalTheme; } });
15
- Object.defineProperty(exports, "DefaultThemeColors", { enumerable: true, get: function () { return defaultThemeStorefront_1.DefaultThemeColors; } });
16
- var defaultSettingsSts_1 = require("./sts/defaultSettingsSts");
17
- exports.DefaultConfigSTS = defaultSettingsSts_1.default;
18
- var SFUISettingsTemplate_AdminUi_1 = require("./storefront/SFUISettingsTemplate.AdminUi");
19
- Object.defineProperty(exports, "AdminTemplateInputTypes", { enumerable: true, get: function () { return SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes; } });
20
- Object.defineProperty(exports, "AdminSettingsTemplateSFUI", { enumerable: true, get: function () { return SFUISettingsTemplate_AdminUi_1.AdminSettingsTemplateSFUI; } });
21
- var STSSettingsTemplate_AdminUi_1 = require("./sts/STSSettingsTemplate.AdminUi");
22
- Object.defineProperty(exports, "AdminSettingsTemplateSTS", { enumerable: true, get: function () { return STSSettingsTemplate_AdminUi_1.AdminSettingsTemplateSTS; } });
23
- var SFUIImagesTemplate_AdminUi_1 = require("./storefront/SFUIImagesTemplate.AdminUi");
24
- Object.defineProperty(exports, "AdminImagesTemplateSFUI", { enumerable: true, get: function () { return SFUIImagesTemplate_AdminUi_1.AdminImagesTemplateSFUI; } });
25
- var SFUIThemesTemplate_AdminUi_1 = require("./storefront/SFUIThemesTemplate.AdminUi");
26
- Object.defineProperty(exports, "AdminThemeTemplateSFUI", { enumerable: true, get: function () { return SFUIThemesTemplate_AdminUi_1.AdminThemeTemplateSFUI; } });
27
- Object.defineProperty(exports, "AdminThemeTemplateOptions", { enumerable: true, get: function () { return SFUIThemesTemplate_AdminUi_1.AdminThemeTemplateOptions; } });
28
- var STSImagesTemplate_AdminUi_1 = require("./sts/STSImagesTemplate.AdminUi");
29
- Object.defineProperty(exports, "AdminImagesTemplateSTS", { enumerable: true, get: function () { return STSImagesTemplate_AdminUi_1.AdminImagesTemplateSTS; } });
30
- var theme_templates_1 = require("./theme-templates");
31
- exports.AllThemeTemplates = theme_templates_1.default;
32
- var contentEngineComponents_1 = require("./storefront/contentEngineComponents");
33
- Object.defineProperty(exports, "CMSComponentNames", { enumerable: true, get: function () { return contentEngineComponents_1.CMSComponentNames; } });
34
- var productBadgeAttributes_1 = require("./storefront/productBadgeAttributes");
35
- Object.defineProperty(exports, "ProductAttrToIcons", { enumerable: true, get: function () { return productBadgeAttributes_1.ProductAttrToIcons; } });
36
- var MobileDefaultSettings_1 = require("./mobile/reactnative/MobileDefaultSettings");
37
- Object.defineProperty(exports, "MobileDefaultSettings", { enumerable: true, get: function () { return MobileDefaultSettings_1.MobileDefaultSettings; } });
38
- var MobileSettingsTemplate_AdminUi_1 = require("./mobile/reactnative/MobileSettingsTemplate.AdminUi");
39
- Object.defineProperty(exports, "AdminSettingsTemplateMobile", { enumerable: true, get: function () { return MobileSettingsTemplate_AdminUi_1.AdminSettingsTemplateMobile; } });
40
- var SFUISharedSettingsTemplate_AdminUi_1 = require("./storefront/SFUISharedSettingsTemplate.AdminUi");
41
- Object.defineProperty(exports, "AdminSharedSettingsTemplateSFUI", { enumerable: true, get: function () { return SFUISharedSettingsTemplate_AdminUi_1.AdminSharedSettingsTemplateSFUI; } });
42
- var commonSettingsStorefront_1 = require("./storefront/commonSettingsStorefront");
43
- exports.CommonConfigSFUI = commonSettingsStorefront_1.default;
44
- var commonSharedSettings_1 = require("./storefront/commonSharedSettings");
45
- exports.CommonSharedSettingsConfig = commonSharedSettings_1.default;
@@ -3,8 +3,8 @@ export declare type IIconsObject = {
3
3
  [iconName in IconNames]: string;
4
4
  };
5
5
  export declare type PaymentTypesLogos = "AmExpCard" | "AmExpLogo" | "Comodo" | "DiscoverCard" | "DiscoverLogo" | "MasterLogo" | "MasterSecure" | "VisaLogo" | "VisaVerified";
6
- export declare type PaymentCards = "AmExpCard" | "ApplePay" | "DiscoverCard" | "EBT" | "PayPal" | "GooglePay" | "MasterCard" | "MasterCardDebit" | "VisaCard" | "Paze";
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";
6
+ export declare type PaymentCards = "AmExpCard" | "ApplePay" | "DiscoverCard" | "EBT" | "PayPal" | "GooglePay" | "MasterCard" | "MasterCardDebit" | "VisaCard" | "VisaDebit" | "Paze";
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" | "NoDepartments" | "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" | "Rewards" | "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" | "HighFiber" | "HighProtein" | "NewProduct" | "Vegetarian" | "Hypoallergenic" | "APlusRewards";
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>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="googlepay" />
1
2
  import { CMSNames } from "../storefront/contentEngineComponents";
2
3
  import { ProductAttributes } from "../storefront/productBadgeAttributes";
3
4
  import { IconNames, PaymentCards } from "./icons.interfaces";
@@ -185,6 +186,8 @@ export interface IFlippConfigV2 {
185
186
  version: 2;
186
187
  zoom: number;
187
188
  excludeFlyer?: string;
189
+ configUrl?: string;
190
+ mibUrl?: string;
188
191
  }
189
192
  export interface INewFlippConfig {
190
193
  accessToken: string;
@@ -194,12 +197,18 @@ export interface INewFlippConfig {
194
197
  retailer: string;
195
198
  slideOutView: boolean;
196
199
  zoom: number;
200
+ tabletZoom: number;
201
+ mobileZoom: number;
197
202
  excludeFlyer?: string;
203
+ configUrl?: string;
204
+ mibUrl?: string;
198
205
  }
199
206
  export declare type IFlippScriptUrls = "circulars.priceritemarketplace" | "circulars.dearbornmarket" | "flyers.v8.commerce.mi9cloud" | "flyers.stg.v8.mywebgrocer" | "flyers.saveonfoods";
200
207
  export interface IRedPepperConfig {
201
208
  locale: string;
202
209
  zoom: number;
210
+ tabletZoom: number;
211
+ mobileZoom: number;
203
212
  clientId: string;
204
213
  clientUrl: string;
205
214
  storeValue?: string;
@@ -361,6 +370,13 @@ export interface ICheckoutSettingsV2 {
361
370
  forceDeliverySection: boolean;
362
371
  enableInterimModal: boolean;
363
372
  smsOptIn: boolean;
373
+ nativePayments: {
374
+ googlePayButton: {
375
+ buttonType: google.payments.api.ButtonType;
376
+ buttonColor: google.payments.api.ButtonColor;
377
+ buttonRadius: google.payments.api.ButtonOptions["buttonRadius"];
378
+ };
379
+ };
364
380
  }
365
381
  export interface IFeaturesV2 {
366
382
  additionalCharges: boolean;
@@ -443,6 +459,11 @@ export interface ICookiePro {
443
459
  src: string;
444
460
  domain: string;
445
461
  }
462
+ interface ICategoryDocumentTitle {
463
+ includeBannerTitle: boolean;
464
+ categoryLevels: number;
465
+ delimiter: string;
466
+ }
446
467
  export interface ISiteSettingsV2 {
447
468
  clientSideOrderModify: boolean;
448
469
  cookiePro: ICookiePro;
@@ -488,6 +509,8 @@ export interface ISiteSettingsV2 {
488
509
  showShopAllLink: IShowShopAllLink;
489
510
  showEmptyMiniList: boolean;
490
511
  preserveStore: IPreserveStore;
512
+ carousel: ILayoutCarousel;
513
+ categoryDocumentTitle: ICategoryDocumentTitle;
491
514
  }
492
515
  export interface IHeaderLinksLayout {
493
516
  enabled: boolean;
@@ -523,6 +546,9 @@ export interface IAccountPageSettings {
523
546
  loyaltyValidationType: IValidationType[];
524
547
  };
525
548
  }
549
+ export interface ILayoutCarousel {
550
+ showArrowsOnHoverOnly: boolean;
551
+ }
526
552
  export interface ILayoutSettings {
527
553
  footerVersion: IFooterTypes;
528
554
  }
@@ -563,7 +589,7 @@ export interface IRestrictMapPlaces {
563
589
  totalTake: number;
564
590
  };
565
591
  }
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";
592
+ 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
593
  export declare type IEnvNames = "dev" | "de2" | "qat" | "qa2" | "int" | "in2" | "lod" | "lo2" | "stg" | "st2" | "stagingConfig" | "productionConfig";
568
594
  export declare type IFlyerProviders = "flipp" | "redPepper";
569
595
  export interface IExternalContentProps {
@@ -761,6 +787,7 @@ export interface IScrollToTopButton {
761
787
  right: number;
762
788
  bottom: number;
763
789
  };
790
+ visibilityThreshold: number;
764
791
  }
765
792
  export interface IShowShopAllLink {
766
793
  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 = 'UPC' | 'CODE128' | 'EAN13' | 'CODE39' | 'CODE128A' | 'CODE128B' | 'CODE128C' | 'EAN8' | 'EAN5' | 'EAN2' | 'UPCE' | 'ITF14' | 'ITF' | 'MSI' | 'MSI10' | 'MSI11' | 'MSI1010' | 'MSI1110' | 'pharmacode' | 'codabar';
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;
@@ -14,7 +14,9 @@ export interface ISharedFeatures {
14
14
  couponGallery: ICouponGallery;
15
15
  flyerConfiguration: IFlyerConfiguration | null;
16
16
  ageVerification: IAgeVerification;
17
+ ageGateModal: IAgeGateModal;
17
18
  loyalty: ILoyalty;
19
+ idp: IIdp;
18
20
  }
19
21
  export interface ISharedCheckout {
20
22
  preserveOrderNote: IOrderInstructions;
@@ -50,6 +52,11 @@ export interface ISharedGeneral {
50
52
  dateOfBirthInputFormat: IDateFormat;
51
53
  wasComparisonPrice: boolean;
52
54
  enableTargetedRewardsIcon: boolean;
55
+ displayInstacartIcon: {
56
+ timeslot: boolean;
57
+ summary: boolean;
58
+ orderHeader: boolean;
59
+ };
53
60
  }
54
61
  export interface IFlyerConfiguration {
55
62
  enabled: boolean;
@@ -61,7 +68,14 @@ export interface IAgeVerification {
61
68
  ageVerificationPrefix: string;
62
69
  ageVerificationStatementName: string;
63
70
  }
71
+ export interface IAgeGateModal {
72
+ enabled: boolean;
73
+ redirectUrl: string;
74
+ }
64
75
  export interface ILoyalty {
65
76
  barcodeFormat: Format;
66
77
  }
78
+ interface IIdp {
79
+ organization: string;
80
+ }
67
81
  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: {
@@ -96,12 +96,20 @@ var CommonConfigSFUI = {
96
96
  houseAccountRegExValidation: ".",
97
97
  minimumCreditCardAmount: 1.0,
98
98
  numericPhonePayload: false,
99
+ nativePayments: {
100
+ googlePayButton: {
101
+ buttonColor: "default",
102
+ buttonType: "checkout",
103
+ buttonRadius: 4,
104
+ },
105
+ },
99
106
  paymentCards: {
100
107
  AmExpCard: true,
101
108
  DiscoverCard: true,
102
109
  MasterCard: true,
103
110
  MasterCardDebit: true,
104
111
  VisaCard: true,
112
+ VisaDebit: false,
105
113
  PayPal: false,
106
114
  ApplePay: false,
107
115
  GooglePay: false,
@@ -396,6 +404,7 @@ var CommonConfigSFUI = {
396
404
  TwoBannerContainer: false,
397
405
  Video: false,
398
406
  VideoWithContent: false,
407
+ PromotionsGallery: false,
399
408
  },
400
409
  isLegacyProductURL: false,
401
410
  headerLinks: { dimension: 0, enabled: false },
@@ -404,6 +413,7 @@ var CommonConfigSFUI = {
404
413
  scrollToTopButton: {
405
414
  enabled: true,
406
415
  percentOffset: { bottom: 15, right: 2 },
416
+ visibilityThreshold: 2000,
407
417
  },
408
418
  clientRenderCoupons: true,
409
419
  showClippedStateInCouponModal: false,
@@ -416,6 +426,14 @@ var CommonConfigSFUI = {
416
426
  skipConfirmation: false,
417
427
  confirmationDelay: 5000,
418
428
  },
429
+ carousel: {
430
+ showArrowsOnHoverOnly: true,
431
+ },
432
+ categoryDocumentTitle: {
433
+ includeBannerTitle: true,
434
+ categoryLevels: 1,
435
+ delimiter: " - ",
436
+ },
419
437
  },
420
438
  welcomeModal: [],
421
439
  performance: {
@@ -31,9 +31,16 @@ var CommonSharedSettingsConfig = {
31
31
  ageVerificationPrefix: "",
32
32
  ageVerificationStatementName: "",
33
33
  },
34
+ ageGateModal: {
35
+ enabled: false,
36
+ redirectUrl: "",
37
+ },
34
38
  loyalty: {
35
- barcodeFormat: "UPC"
36
- }
39
+ barcodeFormat: "UPC",
40
+ },
41
+ idp: {
42
+ organization: "",
43
+ },
37
44
  },
38
45
  checkout: {
39
46
  preserveOrderNote: {
@@ -47,6 +54,11 @@ var CommonSharedSettingsConfig = {
47
54
  dateOfBirthInputFormat: "DD/MM/YYYY",
48
55
  wasComparisonPrice: false,
49
56
  enableTargetedRewardsIcon: false,
57
+ displayInstacartIcon: {
58
+ timeslot: true,
59
+ summary: true,
60
+ orderHeader: true,
61
+ },
50
62
  },
51
63
  };
52
64
  exports.default = CommonSharedSettingsConfig;
@@ -12,6 +12,7 @@ export declare const CMSComponentNames: {
12
12
  ProductCardStory: string;
13
13
  Recipe: string;
14
14
  Sale: string;
15
+ PromotionsGallery: string;
15
16
  SmallBannerWithBackgroundImage: string;
16
17
  SmallBannerWithSupportingImage: string;
17
18
  SmallCarousel: string;
@@ -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",