@thryveai/theme-interfaces 2.4.11 → 2.4.13
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/README.md +29 -29
- package/dist/index.d.ts +4 -2
- package/dist/index.js +3 -1
- package/dist/interfaces/retailer-settings.interfaces.d.ts +9 -2
- package/dist/storefront/SFUISettingsTemplate.AdminUi.d.ts +12 -1
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +25 -0
- package/dist/storefront/contentEngineComponents.d.ts +23 -0
- package/dist/storefront/contentEngineComponents.js +25 -0
- package/dist/storefront/defaultSettingsStorefront.js +22 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
#V8 Theme Interfaces
|
|
2
|
-
|
|
3
|
-
interfaces for all MI9 Retailer Themes.
|
|
4
|
-
|
|
5
|
-
###icons.interfaces
|
|
6
|
-
List of all icons used inside the ui projects.
|
|
7
|
-
|
|
8
|
-
###retailer-settings.interfaces
|
|
9
|
-
more info here
|
|
10
|
-
https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo
|
|
11
|
-
###theme.interfaces
|
|
12
|
-
The interface for each theme, colors, fonts, sizes and other css properties.
|
|
13
|
-
|
|
14
|
-
#To Build Project
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
npm install
|
|
18
|
-
npm run build
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
#To Publish npm package
|
|
22
|
-
```
|
|
23
|
-
npm login
|
|
24
|
-
npm publish
|
|
25
|
-
```
|
|
26
|
-
or
|
|
27
|
-
```
|
|
28
|
-
npm run push
|
|
29
|
-
```
|
|
1
|
+
#V8 Theme Interfaces
|
|
2
|
+
|
|
3
|
+
interfaces for all MI9 Retailer Themes.
|
|
4
|
+
|
|
5
|
+
###icons.interfaces
|
|
6
|
+
List of all icons used inside the ui projects.
|
|
7
|
+
|
|
8
|
+
###retailer-settings.interfaces
|
|
9
|
+
more info here
|
|
10
|
+
https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo
|
|
11
|
+
###theme.interfaces
|
|
12
|
+
The interface for each theme, colors, fonts, sizes and other css properties.
|
|
13
|
+
|
|
14
|
+
#To Build Project
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
npm install
|
|
18
|
+
npm run build
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
#To Publish npm package
|
|
22
|
+
```
|
|
23
|
+
npm login
|
|
24
|
+
npm publish
|
|
25
|
+
```
|
|
26
|
+
or
|
|
27
|
+
```
|
|
28
|
+
npm run push
|
|
29
|
+
```
|
package/dist/index.d.ts
CHANGED
|
@@ -13,13 +13,15 @@ import { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplat
|
|
|
13
13
|
import { IAdminImagesControls, ISecondaryFaviconType } from "./interfaces/admin-images-interfaces";
|
|
14
14
|
import { IDefaultRetailerSettingsVersion2 } from "./interfaces/default-settings.interfaces";
|
|
15
15
|
import { IDefaultStsSettings } from "./interfaces/sts-settings.interfaces";
|
|
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, IEntryModalVersion, IShoppingRuleControl, IAdminOnlyV2, IAccountPageV2, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IPdpSettingsV2, IProductCardSettingsV2, ISiteSettingsV2 } from "./interfaces/retailer-settings.interfaces";
|
|
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, IEntryModalVersion, IShoppingRuleControl, IAdminOnlyV2, IAccountPageV2, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IPdpSettingsV2, IProductCardSettingsV2, ISiteSettingsV2, IUseContentEngineV2Components } from "./interfaces/retailer-settings.interfaces";
|
|
17
17
|
import { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames } from "./interfaces/icons.interfaces";
|
|
18
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";
|
|
19
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
|
+
import { CMSComponentNames, CMSNames } from "./storefront/contentEngineComponents";
|
|
20
21
|
export { DefaultConfigSFUI, DefaultConfigSTS, AllThemeTemplates, DefaultThemeSFUI, globalTheme, DefaultThemeColors, DefaultImagesSFUI, AdminSettingsTemplateSFUI, AdminSettingsTemplateSTS, AdminTemplateInputTypes, AdminImagesTemplateSFUI, AdminThemeTemplateSFUI, AdminThemeTemplateOptions, AdminImagesTemplateSTS, IconNamesToFiles, };
|
|
22
|
+
export { CMSComponentNames, CMSNames };
|
|
21
23
|
export { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplateSTS, IAdminControl, IAdminControlType, IThemeGenerator, IAdminImagesTemplateSFUI, IAdminImagesTemplateSTS, IAdminThemeTemplateSFUI, IAdminThemeTemplateOptions, IAdminImagesControls, ISecondaryFaviconType, };
|
|
22
24
|
export { IDefaultRetailerSettingsVersion2, IDefaultStsSettings };
|
|
23
25
|
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, };
|
|
24
26
|
export { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames };
|
|
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, IEntryModalVersion, IShoppingRuleControl, ICouponGalleryLayout, IPageAdvertsRow, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, IAdvertsData, IAdminOnlyV2, IAccountPageV2, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IPdpSettingsV2, IProductCardSettingsV2, ISiteSettingsV2, };
|
|
27
|
+
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, IUseContentEngineV2Components, IAdvertSettings, IGoogleAutocompleteSettings, ITimeslotModalSettings, ISodiumWarning, IProductCardsProps, IProductDetailsPageLayout, ICartSummaryLayout, ISmartBanner, IEntryModalVersion, IShoppingRuleControl, ICouponGalleryLayout, IPageAdvertsRow, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, IAdvertsData, IAdminOnlyV2, IAccountPageV2, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IPdpSettingsV2, IProductCardSettingsV2, ISiteSettingsV2, };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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;
|
|
3
|
+
exports.CMSComponentNames = 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");
|
|
@@ -27,3 +27,5 @@ var icons_interfaces_1 = require("./interfaces/icons.interfaces");
|
|
|
27
27
|
Object.defineProperty(exports, "IconNamesToFiles", { enumerable: true, get: function () { return icons_interfaces_1.IconNamesToFiles; } });
|
|
28
28
|
var theme_templates_1 = require("./theme-templates");
|
|
29
29
|
exports.AllThemeTemplates = theme_templates_1.default;
|
|
30
|
+
var contentEngineComponents_1 = require("./storefront/contentEngineComponents");
|
|
31
|
+
Object.defineProperty(exports, "CMSComponentNames", { enumerable: true, get: function () { return contentEngineComponents_1.CMSComponentNames; } });
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CMSNames } from "../storefront/contentEngineComponents";
|
|
1
2
|
import { IconNames, PaymentCards } from "./icons.interfaces";
|
|
2
3
|
export interface IRetailerSettings {
|
|
3
4
|
accountPage?: IAccountPageSettings;
|
|
@@ -163,6 +164,8 @@ export interface IFlippConfigV2 {
|
|
|
163
164
|
merchantId: string;
|
|
164
165
|
accessToken: string;
|
|
165
166
|
zoom: number;
|
|
167
|
+
locale: string;
|
|
168
|
+
hideHeader: boolean;
|
|
166
169
|
}
|
|
167
170
|
export declare type IFlippScriptUrls = "circulars.priceritemarketplace" | "circulars.dearbornmarket" | "flyers.v8.commerce.mi9cloud" | "flyers.stg.v8.mywebgrocer" | "flyers.saveonfoods";
|
|
168
171
|
export declare type IAllSettings = {
|
|
@@ -343,7 +346,11 @@ export interface ISiteSettingsV2 {
|
|
|
343
346
|
searchPreview: ISearchPreviewVisibility;
|
|
344
347
|
subHeaderHeight: number;
|
|
345
348
|
timeslotModalSettings: ITimeslotModalSettings;
|
|
349
|
+
useContentEngineV2Components: IUseContentEngineV2Components;
|
|
346
350
|
}
|
|
351
|
+
export declare type IUseContentEngineV2Components = {
|
|
352
|
+
[key in CMSNames]: boolean;
|
|
353
|
+
};
|
|
347
354
|
export interface IAccountPageSettings {
|
|
348
355
|
loyaltyTab: {
|
|
349
356
|
disabledEdit?: boolean;
|
|
@@ -483,8 +490,8 @@ export interface IProductCardsProps {
|
|
|
483
490
|
};
|
|
484
491
|
}
|
|
485
492
|
export declare type IProductCardLayouts = {
|
|
486
|
-
ContainersGrid: "default";
|
|
487
|
-
ContainersCarousel: "default";
|
|
493
|
+
ContainersGrid: "default" | "pce-centered";
|
|
494
|
+
ContainersCarousel: "default" | "pce-centered";
|
|
488
495
|
};
|
|
489
496
|
export declare type IProductCardLayoutObjects<T> = {
|
|
490
497
|
[Place in keyof IProductCardLayouts]: {
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
-
import { IAdminSettingsTemplate, IAdminTemplateInputTypes } from "../interfaces/admin-settings-interfaces";
|
|
1
|
+
import { IAdminControlType, IAdminSettingsTemplate, IAdminTemplateInputTypes } from "../interfaces/admin-settings-interfaces";
|
|
2
|
+
import { CMSNames } from "./contentEngineComponents";
|
|
2
3
|
export declare const AdminTemplateInputTypes: IAdminTemplateInputTypes;
|
|
4
|
+
export declare type IUseContentEngineV2ComponentsAdmin = {
|
|
5
|
+
[key in CMSNames]: IContentEngineAdminTypes;
|
|
6
|
+
};
|
|
7
|
+
interface IContentEngineAdminTypes {
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
helpLink: string;
|
|
11
|
+
type: IAdminControlType;
|
|
12
|
+
}
|
|
3
13
|
export declare const AdminSettingsTemplateSFUI: IAdminSettingsTemplate;
|
|
14
|
+
export {};
|
|
@@ -235,6 +235,16 @@ var FeatureSettingsChildren = {
|
|
|
235
235
|
type: exports.AdminTemplateInputTypes.dropdown,
|
|
236
236
|
options: [100, 95, 90, 85, 80, 75, 70, 65, 60],
|
|
237
237
|
},
|
|
238
|
+
locale: {
|
|
239
|
+
title: "Locale",
|
|
240
|
+
description: "The locale of flipp flyers",
|
|
241
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
242
|
+
},
|
|
243
|
+
hideHeader: {
|
|
244
|
+
title: "hideHeader",
|
|
245
|
+
description: "Setting to toggle visibility of the flipp navigation header",
|
|
246
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
247
|
+
},
|
|
238
248
|
},
|
|
239
249
|
},
|
|
240
250
|
smartbanner: {
|
|
@@ -306,6 +316,14 @@ var FeatureSettingsChildren = {
|
|
|
306
316
|
},
|
|
307
317
|
},
|
|
308
318
|
};
|
|
319
|
+
var ContentEngineV2Components = {
|
|
320
|
+
HeroBanner: {
|
|
321
|
+
description: "Use HeroBanner V2",
|
|
322
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3478946114/Hero+Banner",
|
|
323
|
+
title: "Enable HeroBanner V2 component",
|
|
324
|
+
type: "checkbox",
|
|
325
|
+
},
|
|
326
|
+
};
|
|
309
327
|
var SiteSettingsChildren = {
|
|
310
328
|
anonymousCart: {
|
|
311
329
|
title: "Anonymous Cart",
|
|
@@ -439,6 +457,13 @@ var SiteSettingsChildren = {
|
|
|
439
457
|
},
|
|
440
458
|
},
|
|
441
459
|
},
|
|
460
|
+
useContentEngineV2Components: {
|
|
461
|
+
title: "Use Content Engine V2 Components",
|
|
462
|
+
description: "(work in progress)",
|
|
463
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3478618892/Content+Engine+V2+Components",
|
|
464
|
+
type: exports.AdminTemplateInputTypes.object,
|
|
465
|
+
value: ContentEngineV2Components,
|
|
466
|
+
},
|
|
442
467
|
};
|
|
443
468
|
var AccountPageSettingsChildren = {
|
|
444
469
|
loyaltyTab: {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const CMSComponentNames: {
|
|
2
|
+
Carousel: string;
|
|
3
|
+
SmallCarousel: string;
|
|
4
|
+
Freeform: string;
|
|
5
|
+
ContactUs: string;
|
|
6
|
+
HeroBanner: string;
|
|
7
|
+
Image: string;
|
|
8
|
+
Video: string;
|
|
9
|
+
VideoWithContent: string;
|
|
10
|
+
ImageWithContent: string;
|
|
11
|
+
ImageTextButton: string;
|
|
12
|
+
SmallPromotion: string;
|
|
13
|
+
SmallImageWithContent: string;
|
|
14
|
+
LargePromotion: string;
|
|
15
|
+
TwoBannerContainer: string;
|
|
16
|
+
ThreeBannerContainer: string;
|
|
17
|
+
Sale: string;
|
|
18
|
+
SmallBannerWithBackgroundImage: string;
|
|
19
|
+
SmallBannerWithSupportingImage: string;
|
|
20
|
+
ProductCardStory: string;
|
|
21
|
+
Recipe: string;
|
|
22
|
+
};
|
|
23
|
+
export declare type CMSNames = keyof typeof CMSComponentNames;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CMSComponentNames = void 0;
|
|
4
|
+
exports.CMSComponentNames = {
|
|
5
|
+
Carousel: "Carousel",
|
|
6
|
+
SmallCarousel: "CarouselSmall",
|
|
7
|
+
Freeform: "Freeform",
|
|
8
|
+
ContactUs: "ContactUs",
|
|
9
|
+
HeroBanner: "HeroBanner",
|
|
10
|
+
Image: "Image",
|
|
11
|
+
Video: "Video",
|
|
12
|
+
VideoWithContent: "VideoWithContent",
|
|
13
|
+
ImageWithContent: "StandardContentBlock3",
|
|
14
|
+
ImageTextButton: "ImageTextButton",
|
|
15
|
+
SmallPromotion: "SmallPromotion",
|
|
16
|
+
SmallImageWithContent: "StackedContentBlock",
|
|
17
|
+
LargePromotion: "LargePromotion",
|
|
18
|
+
TwoBannerContainer: "TwoBannerContainer",
|
|
19
|
+
ThreeBannerContainer: "ThreeBannerContainer",
|
|
20
|
+
Sale: "Sale",
|
|
21
|
+
SmallBannerWithBackgroundImage: "StandardContentBlock1",
|
|
22
|
+
SmallBannerWithSupportingImage: "StandardContentBlock2",
|
|
23
|
+
ProductCardStory: "ProductCardStory",
|
|
24
|
+
Recipe: "Recipe",
|
|
25
|
+
};
|
|
@@ -251,6 +251,28 @@ var DefaultConfigSFUI = {
|
|
|
251
251
|
timeslotRequiredToAddToCart: false,
|
|
252
252
|
timeslotRequiredToViewCartReview: false,
|
|
253
253
|
},
|
|
254
|
+
useContentEngineV2Components: {
|
|
255
|
+
Carousel: false,
|
|
256
|
+
SmallCarousel: false,
|
|
257
|
+
Freeform: false,
|
|
258
|
+
ContactUs: false,
|
|
259
|
+
HeroBanner: false,
|
|
260
|
+
Image: false,
|
|
261
|
+
Video: false,
|
|
262
|
+
VideoWithContent: false,
|
|
263
|
+
ImageWithContent: false,
|
|
264
|
+
ImageTextButton: false,
|
|
265
|
+
SmallPromotion: false,
|
|
266
|
+
SmallImageWithContent: false,
|
|
267
|
+
LargePromotion: false,
|
|
268
|
+
TwoBannerContainer: false,
|
|
269
|
+
ThreeBannerContainer: false,
|
|
270
|
+
Sale: false,
|
|
271
|
+
SmallBannerWithBackgroundImage: false,
|
|
272
|
+
SmallBannerWithSupportingImage: false,
|
|
273
|
+
ProductCardStory: false,
|
|
274
|
+
Recipe: false,
|
|
275
|
+
},
|
|
254
276
|
},
|
|
255
277
|
};
|
|
256
278
|
exports.default = DefaultConfigSFUI;
|