@thryveai/theme-interfaces 2.8.62 → 2.8.64
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 +99 -40
- package/dist/JSONSchemas/index.js +206 -102
- package/dist/interfaces/icons.interfaces.d.ts +1 -1
- package/dist/interfaces/retailer-settings.interfaces.d.ts +2 -0
- package/dist/interfaces/shared-settings.interfaces.d.ts +10 -1
- package/dist/storefront/SFUISharedSettingsTemplate.AdminUi.js +5 -7
- package/dist/storefront/commonSettingsStorefront.js +1 -0
- package/dist/storefront/commonSharedSettings.js +1 -0
- package/dist/storefront/defaultIconsStorefront.js +1 -1
- package/dist/storefront/defaultSettingsStorefront.js +1 -0
- package/dist/storefront/defaultSharedSettings.js +1 -0
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ export declare type IIconsObject = {
|
|
|
4
4
|
};
|
|
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" | "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" | "ExpressDelivery" | "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" | "StarRating" | "Subscription" | "Substitute" | "SubstituteBestmatch" | "SubstituteNone" | "SubstituteProduct" | "TikTok" | "Trash" | "Twitter" | "TargetedReward" | "Unavailable" | "Voice" | "Warning" | "YourLocation" | "Youtube" | PaymentTypesLogos | PaymentCards | ProductAttributeIcons | LanguageFlags;
|
|
7
|
+
export declare type IconNames = "AccountOutline" | "AccountSolid" | "Addresses" | "ApplePay" | "ArrowDown" | "ArrowUp" | "ArrowRight" | "ArrowUpdown" | "BarScan" | "Bell" | "Blog" | "Buymie" | "Cart" | "Check" | "CheckCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Circular" | "Clear" | "Close" | "Coupon" | "Credit" | "CreditCard" | "Dashboard" | "DeliveryOutline" | "DeliverySolid" | "Dietary" | "DoubleArrows" | "Download" | "Dropship" | "EBT" | "Eco" | "Edit" | "Error" | "ExpressDelivery" | "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" | "StarRating" | "Subscription" | "Substitute" | "SubstituteBestmatch" | "SubstituteNone" | "SubstituteProduct" | "TikTok" | "Trash" | "Twitter" | "TargetedReward" | "Unavailable" | "Voice" | "Warning" | "YourLocation" | "Youtube" | "Zetes" | PaymentTypesLogos | PaymentCards | ProductAttributeIcons | LanguageFlags | "Zoom" | "ZoomOut";
|
|
8
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" | "LockedIn";
|
|
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>;
|
|
@@ -63,6 +63,7 @@ export interface IRetailerSettings {
|
|
|
63
63
|
layout?: ILayoutSettings;
|
|
64
64
|
layouts?: IGlobalLayouts;
|
|
65
65
|
limitProductCardTitleHeight?: boolean;
|
|
66
|
+
imageRendering?: string;
|
|
66
67
|
loggingLevelClient?: ILoggingLevel;
|
|
67
68
|
loggingLevelServer?: ILoggingLevel;
|
|
68
69
|
mainHeaderHeight?: number;
|
|
@@ -453,6 +454,7 @@ export interface IPdpSettingsV2 {
|
|
|
453
454
|
}
|
|
454
455
|
export interface IProductCardSettingsV2 {
|
|
455
456
|
limitProductCardTitleHeight: boolean;
|
|
457
|
+
imageRendering: string;
|
|
456
458
|
productCardTitleHeight: number;
|
|
457
459
|
productCards: IProductCardsProps;
|
|
458
460
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IAdminOnlyV2, IFlippConfig, IFlippConfigV2, IFlyerProviders, IRedPepperConfig } from "./retailer-settings.interfaces";
|
|
1
|
+
import { IAdminOnlyV2, IFlippConfig, IFlippConfigV2, IFlyerProviders, IRedPepperConfig, ShoppingMode } from "./retailer-settings.interfaces";
|
|
2
2
|
import { IDateFormat } from "./theme.interfaces";
|
|
3
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 {
|
|
@@ -75,6 +75,7 @@ export interface ISharedGeneral {
|
|
|
75
75
|
orderHeader: boolean;
|
|
76
76
|
};
|
|
77
77
|
pastPurchases: IPastPurchases;
|
|
78
|
+
displayTimeslotProviders: TimeSlotProviderInfo[] | null;
|
|
78
79
|
}
|
|
79
80
|
export interface IFlyerConfiguration {
|
|
80
81
|
enabled: boolean;
|
|
@@ -99,4 +100,12 @@ interface IIdp {
|
|
|
99
100
|
interface IPastPurchases {
|
|
100
101
|
defaultDateFilterDays: "30" | "60" | "90" | "all";
|
|
101
102
|
}
|
|
103
|
+
export interface TimeSlotProviderInfo {
|
|
104
|
+
timeSlotsProvider: string;
|
|
105
|
+
shoppingModes: ShoppingMode[];
|
|
106
|
+
display: {
|
|
107
|
+
icon: boolean;
|
|
108
|
+
text: string;
|
|
109
|
+
};
|
|
110
|
+
}
|
|
102
111
|
export {};
|
|
@@ -136,13 +136,11 @@ exports.AdminSharedSettingsTemplateSFUI = {
|
|
|
136
136
|
description: "Show the redemption product card in the coupon gallery.",
|
|
137
137
|
type: exports.AdminSharedTemplateInputTypes.checkbox,
|
|
138
138
|
},
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
// type: AdminSharedTemplateInputTypes.checkbox,
|
|
145
|
-
// },
|
|
139
|
+
twoColumnMobileLayout: {
|
|
140
|
+
title: "Display coupons in 2 columns (mobile only)",
|
|
141
|
+
description: "The coupon listing page in the gallery will show coupons in 2 columns when viewed in a mobile device - either mobile web or mobile app to ensure more coupons are in view.",
|
|
142
|
+
type: exports.AdminSharedTemplateInputTypes.checkbox,
|
|
143
|
+
},
|
|
146
144
|
},
|
|
147
145
|
},
|
|
148
146
|
loyalty: {
|