@thryveai/theme-interfaces 2.4.23 → 2.5.1-beta.1

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.
Files changed (49) hide show
  1. package/dist/index.d.ts +29 -27
  2. package/dist/index.js +33 -31
  3. package/dist/interfaces/admin-images-interfaces.d.ts +11 -11
  4. package/dist/interfaces/admin-images-interfaces.js +2 -2
  5. package/dist/interfaces/admin-settings-interfaces.d.ts +57 -57
  6. package/dist/interfaces/admin-settings-interfaces.js +2 -2
  7. package/dist/interfaces/default-settings.interfaces.d.ts +89 -89
  8. package/dist/interfaces/default-settings.interfaces.js +3 -3
  9. package/dist/interfaces/default-theme.interface.d.ts +695 -695
  10. package/dist/interfaces/default-theme.interface.js +2 -2
  11. package/dist/interfaces/icons.interfaces.d.ts +7 -7
  12. package/dist/interfaces/icons.interfaces.js +2 -126
  13. package/dist/interfaces/retailer-settings.interfaces.d.ts +545 -543
  14. package/dist/interfaces/retailer-settings.interfaces.js +2 -2
  15. package/dist/interfaces/sts-settings.interfaces.d.ts +6 -6
  16. package/dist/interfaces/sts-settings.interfaces.js +2 -2
  17. package/dist/interfaces/theme.interfaces.d.ts +695 -695
  18. package/dist/interfaces/theme.interfaces.js +2 -2
  19. package/dist/storefront/SFUIImagesTemplate.AdminUi.d.ts +2 -2
  20. package/dist/storefront/SFUIImagesTemplate.AdminUi.js +112 -112
  21. package/dist/storefront/SFUISettingsTemplate.AdminUi.d.ts +14 -14
  22. package/dist/storefront/SFUISettingsTemplate.AdminUi.js +1025 -1025
  23. package/dist/storefront/SFUIThemesTemplate.AdminUi.d.ts +3 -3
  24. package/dist/storefront/SFUIThemesTemplate.AdminUi.js +113 -113
  25. package/dist/storefront/contentEngineComponents.d.ts +23 -23
  26. package/dist/storefront/contentEngineComponents.js +25 -25
  27. package/dist/storefront/defaultIconsStorefront.d.ts +3 -0
  28. package/dist/storefront/defaultIconsStorefront.js +150 -0
  29. package/dist/storefront/defaultImagesStorefront.d.ts +3 -3
  30. package/dist/storefront/defaultImagesStorefront.js +96 -96
  31. package/dist/storefront/defaultSettingsStorefront.d.ts +3 -3
  32. package/dist/storefront/defaultSettingsStorefront.js +299 -297
  33. package/dist/storefront/defaultThemeStorefront.d.ts +5 -5
  34. package/dist/storefront/defaultThemeStorefront.js +1156 -1156
  35. package/dist/storefront/productBadgeAttributes.d.ts +6 -0
  36. package/dist/storefront/productBadgeAttributes.js +30 -0
  37. package/dist/sts/STSImagesTemplate.AdminUi.d.ts +2 -2
  38. package/dist/sts/STSImagesTemplate.AdminUi.js +50 -50
  39. package/dist/sts/STSSettingsTemplate.AdminUi.d.ts +2 -2
  40. package/dist/sts/STSSettingsTemplate.AdminUi.js +30 -30
  41. package/dist/sts/defaultSettingsSts.d.ts +3 -3
  42. package/dist/sts/defaultSettingsSts.js +9 -9
  43. package/dist/theme-templates/index.d.ts +3 -3
  44. package/dist/theme-templates/index.js +8 -8
  45. package/package.json +29 -21
  46. package/dist/defaultSettings.d.ts +0 -3
  47. package/dist/defaultSettings.js +0 -242
  48. package/dist/storefrontUiSettingsTemplateForAdminPanel.d.ts +0 -3
  49. package/dist/storefrontUiSettingsTemplateForAdminPanel.js +0 -686
package/dist/index.d.ts CHANGED
@@ -1,27 +1,29 @@
1
- import DefaultImagesSFUI from "./storefront/defaultImagesStorefront";
2
- import DefaultConfigSFUI from "./storefront/defaultSettingsStorefront";
3
- import DefaultThemeSFUI, { globalTheme, DefaultThemeColors } from "./storefront/defaultThemeStorefront";
4
- import DefaultConfigSTS from "./sts/defaultSettingsSts";
5
- import { AdminTemplateInputTypes, AdminSettingsTemplateSFUI } from "./storefront/SFUISettingsTemplate.AdminUi";
6
- import { AdminSettingsTemplateSTS } from "./sts/STSSettingsTemplate.AdminUi";
7
- import { AdminImagesTemplateSFUI } from "./storefront/SFUIImagesTemplate.AdminUi";
8
- import { AdminThemeTemplateSFUI, AdminThemeTemplateOptions } from "./storefront/SFUIThemesTemplate.AdminUi";
9
- import { AdminImagesTemplateSTS } from "./sts/STSImagesTemplate.AdminUi";
10
- import { IconNamesToFiles } from "./interfaces/icons.interfaces";
11
- import AllThemeTemplates from "./theme-templates";
12
- import { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplateSTS, IAdminImagesTemplateSFUI, IAdminThemeTemplateSFUI, IAdminThemeTemplateOptions, IAdminImagesTemplateSTS, IAdminControl, IAdminControlType, IThemeGenerator } from "./interfaces/admin-settings-interfaces";
13
- import { IAdminImagesControls, ISecondaryFaviconType } from "./interfaces/admin-images-interfaces";
14
- import { IDefaultRetailerSettingsVersion2 } from "./interfaces/default-settings.interfaces";
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, IUseContentEngineV2Components } from "./interfaces/retailer-settings.interfaces";
17
- import { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames } from "./interfaces/icons.interfaces";
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
- 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";
21
- export { DefaultConfigSFUI, DefaultConfigSTS, AllThemeTemplates, DefaultThemeSFUI, globalTheme, DefaultThemeColors, DefaultImagesSFUI, AdminSettingsTemplateSFUI, AdminSettingsTemplateSTS, AdminTemplateInputTypes, AdminImagesTemplateSFUI, AdminThemeTemplateSFUI, AdminThemeTemplateOptions, AdminImagesTemplateSTS, IconNamesToFiles, };
22
- export { CMSComponentNames, CMSNames };
23
- export { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplateSTS, IAdminControl, IAdminControlType, IThemeGenerator, IAdminImagesTemplateSFUI, IAdminImagesTemplateSTS, IAdminThemeTemplateSFUI, IAdminThemeTemplateOptions, IAdminImagesControls, ISecondaryFaviconType, };
24
- export { IDefaultRetailerSettingsVersion2, IDefaultStsSettings };
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, };
26
- export { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames };
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, };
1
+ import DefaultImagesSFUI from "./storefront/defaultImagesStorefront";
2
+ import DefaultIconsSFUI from "./storefront/defaultIconsStorefront";
3
+ import DefaultConfigSFUI from "./storefront/defaultSettingsStorefront";
4
+ import DefaultThemeSFUI, { globalTheme, DefaultThemeColors } from "./storefront/defaultThemeStorefront";
5
+ import DefaultConfigSTS from "./sts/defaultSettingsSts";
6
+ import { AdminTemplateInputTypes, AdminSettingsTemplateSFUI } from "./storefront/SFUISettingsTemplate.AdminUi";
7
+ import { AdminSettingsTemplateSTS } from "./sts/STSSettingsTemplate.AdminUi";
8
+ import { AdminImagesTemplateSFUI } from "./storefront/SFUIImagesTemplate.AdminUi";
9
+ import { AdminThemeTemplateSFUI, AdminThemeTemplateOptions } from "./storefront/SFUIThemesTemplate.AdminUi";
10
+ import { AdminImagesTemplateSTS } from "./sts/STSImagesTemplate.AdminUi";
11
+ import AllThemeTemplates from "./theme-templates";
12
+ import { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplateSTS, IAdminImagesTemplateSFUI, IAdminThemeTemplateSFUI, IAdminThemeTemplateOptions, IAdminImagesTemplateSTS, IAdminControl, IAdminControlType, IThemeGenerator } from "./interfaces/admin-settings-interfaces";
13
+ import { IAdminImagesControls, ISecondaryFaviconType } from "./interfaces/admin-images-interfaces";
14
+ import { IDefaultRetailerSettingsVersion2 } from "./interfaces/default-settings.interfaces";
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, IUseContentEngineV2Components } from "./interfaces/retailer-settings.interfaces";
17
+ import { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames } from "./interfaces/icons.interfaces";
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
+ 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";
21
+ import { ProductAttributes, ProductAttrToIcons } from "./storefront/productBadgeAttributes";
22
+ export { DefaultConfigSFUI, DefaultConfigSTS, AllThemeTemplates, DefaultThemeSFUI, globalTheme, DefaultThemeColors, DefaultImagesSFUI, DefaultIconsSFUI, AdminSettingsTemplateSFUI, AdminSettingsTemplateSTS, AdminTemplateInputTypes, AdminImagesTemplateSFUI, AdminThemeTemplateSFUI, AdminThemeTemplateOptions, AdminImagesTemplateSTS, };
23
+ export { CMSComponentNames, CMSNames };
24
+ export { ProductAttrToIcons, ProductAttributes };
25
+ export { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplateSTS, IAdminControl, IAdminControlType, IThemeGenerator, IAdminImagesTemplateSFUI, IAdminImagesTemplateSTS, IAdminThemeTemplateSFUI, IAdminThemeTemplateOptions, IAdminImagesControls, ISecondaryFaviconType, };
26
+ export { IDefaultRetailerSettingsVersion2, IDefaultStsSettings };
27
+ 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, };
28
+ export { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames };
29
+ 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,31 +1,33 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
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
- var defaultImagesStorefront_1 = require("./storefront/defaultImagesStorefront");
5
- exports.DefaultImagesSFUI = defaultImagesStorefront_1.default;
6
- var defaultSettingsStorefront_1 = require("./storefront/defaultSettingsStorefront");
7
- exports.DefaultConfigSFUI = defaultSettingsStorefront_1.default;
8
- var defaultThemeStorefront_1 = require("./storefront/defaultThemeStorefront");
9
- exports.DefaultThemeSFUI = defaultThemeStorefront_1.default;
10
- Object.defineProperty(exports, "globalTheme", { enumerable: true, get: function () { return defaultThemeStorefront_1.globalTheme; } });
11
- Object.defineProperty(exports, "DefaultThemeColors", { enumerable: true, get: function () { return defaultThemeStorefront_1.DefaultThemeColors; } });
12
- var defaultSettingsSts_1 = require("./sts/defaultSettingsSts");
13
- exports.DefaultConfigSTS = defaultSettingsSts_1.default;
14
- var SFUISettingsTemplate_AdminUi_1 = require("./storefront/SFUISettingsTemplate.AdminUi");
15
- Object.defineProperty(exports, "AdminTemplateInputTypes", { enumerable: true, get: function () { return SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes; } });
16
- Object.defineProperty(exports, "AdminSettingsTemplateSFUI", { enumerable: true, get: function () { return SFUISettingsTemplate_AdminUi_1.AdminSettingsTemplateSFUI; } });
17
- var STSSettingsTemplate_AdminUi_1 = require("./sts/STSSettingsTemplate.AdminUi");
18
- Object.defineProperty(exports, "AdminSettingsTemplateSTS", { enumerable: true, get: function () { return STSSettingsTemplate_AdminUi_1.AdminSettingsTemplateSTS; } });
19
- var SFUIImagesTemplate_AdminUi_1 = require("./storefront/SFUIImagesTemplate.AdminUi");
20
- Object.defineProperty(exports, "AdminImagesTemplateSFUI", { enumerable: true, get: function () { return SFUIImagesTemplate_AdminUi_1.AdminImagesTemplateSFUI; } });
21
- var SFUIThemesTemplate_AdminUi_1 = require("./storefront/SFUIThemesTemplate.AdminUi");
22
- Object.defineProperty(exports, "AdminThemeTemplateSFUI", { enumerable: true, get: function () { return SFUIThemesTemplate_AdminUi_1.AdminThemeTemplateSFUI; } });
23
- Object.defineProperty(exports, "AdminThemeTemplateOptions", { enumerable: true, get: function () { return SFUIThemesTemplate_AdminUi_1.AdminThemeTemplateOptions; } });
24
- var STSImagesTemplate_AdminUi_1 = require("./sts/STSImagesTemplate.AdminUi");
25
- Object.defineProperty(exports, "AdminImagesTemplateSTS", { enumerable: true, get: function () { return STSImagesTemplate_AdminUi_1.AdminImagesTemplateSTS; } });
26
- var icons_interfaces_1 = require("./interfaces/icons.interfaces");
27
- Object.defineProperty(exports, "IconNamesToFiles", { enumerable: true, get: function () { return icons_interfaces_1.IconNamesToFiles; } });
28
- var theme_templates_1 = require("./theme-templates");
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
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProductAttrToIcons = exports.CMSComponentNames = 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.DefaultConfigSFUI = 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 defaultThemeStorefront_1 = require("./storefront/defaultThemeStorefront");
11
+ exports.DefaultThemeSFUI = defaultThemeStorefront_1.default;
12
+ Object.defineProperty(exports, "globalTheme", { enumerable: true, get: function () { return defaultThemeStorefront_1.globalTheme; } });
13
+ Object.defineProperty(exports, "DefaultThemeColors", { enumerable: true, get: function () { return defaultThemeStorefront_1.DefaultThemeColors; } });
14
+ var defaultSettingsSts_1 = require("./sts/defaultSettingsSts");
15
+ exports.DefaultConfigSTS = defaultSettingsSts_1.default;
16
+ var SFUISettingsTemplate_AdminUi_1 = require("./storefront/SFUISettingsTemplate.AdminUi");
17
+ Object.defineProperty(exports, "AdminTemplateInputTypes", { enumerable: true, get: function () { return SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes; } });
18
+ Object.defineProperty(exports, "AdminSettingsTemplateSFUI", { enumerable: true, get: function () { return SFUISettingsTemplate_AdminUi_1.AdminSettingsTemplateSFUI; } });
19
+ var STSSettingsTemplate_AdminUi_1 = require("./sts/STSSettingsTemplate.AdminUi");
20
+ Object.defineProperty(exports, "AdminSettingsTemplateSTS", { enumerable: true, get: function () { return STSSettingsTemplate_AdminUi_1.AdminSettingsTemplateSTS; } });
21
+ var SFUIImagesTemplate_AdminUi_1 = require("./storefront/SFUIImagesTemplate.AdminUi");
22
+ Object.defineProperty(exports, "AdminImagesTemplateSFUI", { enumerable: true, get: function () { return SFUIImagesTemplate_AdminUi_1.AdminImagesTemplateSFUI; } });
23
+ var SFUIThemesTemplate_AdminUi_1 = require("./storefront/SFUIThemesTemplate.AdminUi");
24
+ Object.defineProperty(exports, "AdminThemeTemplateSFUI", { enumerable: true, get: function () { return SFUIThemesTemplate_AdminUi_1.AdminThemeTemplateSFUI; } });
25
+ Object.defineProperty(exports, "AdminThemeTemplateOptions", { enumerable: true, get: function () { return SFUIThemesTemplate_AdminUi_1.AdminThemeTemplateOptions; } });
26
+ var STSImagesTemplate_AdminUi_1 = require("./sts/STSImagesTemplate.AdminUi");
27
+ Object.defineProperty(exports, "AdminImagesTemplateSTS", { enumerable: true, get: function () { return STSImagesTemplate_AdminUi_1.AdminImagesTemplateSTS; } });
28
+ var theme_templates_1 = require("./theme-templates");
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; } });
32
+ var productBadgeAttributes_1 = require("./storefront/productBadgeAttributes");
33
+ Object.defineProperty(exports, "ProductAttrToIcons", { enumerable: true, get: function () { return productBadgeAttributes_1.ProductAttrToIcons; } });
@@ -1,11 +1,11 @@
1
- export interface IAdminImagesControls {
2
- title: string;
3
- hasImage: boolean;
4
- helpLink: string | null;
5
- isArray?: boolean;
6
- }
7
- export interface ISecondaryFaviconType {
8
- rel: string;
9
- sizes: string;
10
- href: string;
11
- }
1
+ export interface IAdminImagesControls {
2
+ title: string;
3
+ hasImage: boolean;
4
+ helpLink: string | null;
5
+ isArray?: boolean;
6
+ }
7
+ export interface ISecondaryFaviconType {
8
+ rel: string;
9
+ sizes: string;
10
+ href: string;
11
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,57 +1,57 @@
1
- import { IDefaultCounty, IValidationType } from "./retailer-settings.interfaces";
2
- import { IDefaultColors, IDefaultThemeInterface } from "./default-theme.interface";
3
- export declare type IAdminTemplateInputTypes = {
4
- [key in IAdminControlType]: IAdminControlType;
5
- };
6
- export interface IAdminSettingsTemplate {
7
- adminPanelOnly: IAdminControl;
8
- accountPage: IAdminControl;
9
- addressSettings: IAdminControl;
10
- cartSummary: IAdminControl;
11
- checkout: IAdminControl;
12
- features: IAdminControl;
13
- pdpSettings: IAdminControl;
14
- productCard: IAdminControl;
15
- siteSettings: IAdminControl;
16
- }
17
- export interface IAdminControl {
18
- title: string;
19
- description: string;
20
- helpLink?: string;
21
- type: IAdminControlType;
22
- options?: string[] | number[] | IDefaultCounty[] | IValidationType[];
23
- value?: {
24
- [key: string]: IAdminControl;
25
- };
26
- }
27
- export declare type IAdminControlType = "checkbox" | "collapsableObject" | "color" | "dropdown" | "inputChar" | "inputNumber" | "multiDropdown" | "nullObject" | "object" | "images" | "string";
28
- export interface IAdminSettingsTemplateSTS {
29
- hasEUTerms: IAdminControl;
30
- hasTwoStepRegistration: IAdminControl;
31
- customTermPolicy: IAdminControl;
32
- gtmId: IAdminControl;
33
- }
34
- export declare type IAdminImagesTemplateSTS = {
35
- [key in IAdminImagesKeysSTS]: IAdminControl;
36
- };
37
- export declare type IAdminImagesTemplateSFUI = {
38
- [key in IAdminImagesKeys]: IAdminControl;
39
- };
40
- export declare type IAdminThemeTemplateSFUI = {
41
- [key in IAdminThemeKeys]: IAdminControl;
42
- };
43
- declare type IAdminThemeKeys = "colors";
44
- declare type IAdminImagesKeysSTS = "logos" | "stsCheckBox" | "stsFavicon";
45
- declare type IAdminImagesKeys = "icons" | "logos" | "confirmationPageImage" | "stsCheckBox" | "stsFavicon" | "favicon" | "rewards" | "verifySiteImage" | "missingImg";
46
- export interface IAdminThemeTemplateOptions {
47
- title: string;
48
- description: string;
49
- options: SupportThemeTemplates[];
50
- helpLink: string;
51
- }
52
- export declare type IAllThemeTemplates = {
53
- [key in SupportThemeTemplates]: IThemeGenerator;
54
- };
55
- declare type SupportThemeTemplates = "Default Storefront" | "Default STS";
56
- export declare type IThemeGenerator = (colors: IDefaultColors) => IDefaultThemeInterface;
57
- export {};
1
+ import { IDefaultCounty, IValidationType } from "./retailer-settings.interfaces";
2
+ import { IDefaultColors, IDefaultThemeInterface } from "./default-theme.interface";
3
+ export declare type IAdminTemplateInputTypes = {
4
+ [key in IAdminControlType]: IAdminControlType;
5
+ };
6
+ export interface IAdminSettingsTemplate {
7
+ adminPanelOnly: IAdminControl;
8
+ accountPage: IAdminControl;
9
+ addressSettings: IAdminControl;
10
+ cartSummary: IAdminControl;
11
+ checkout: IAdminControl;
12
+ features: IAdminControl;
13
+ pdpSettings: IAdminControl;
14
+ productCard: IAdminControl;
15
+ siteSettings: IAdminControl;
16
+ }
17
+ export interface IAdminControl {
18
+ title: string;
19
+ description: string;
20
+ helpLink?: string;
21
+ type: IAdminControlType;
22
+ options?: string[] | number[] | IDefaultCounty[] | IValidationType[];
23
+ value?: {
24
+ [key: string]: IAdminControl;
25
+ };
26
+ }
27
+ export declare type IAdminControlType = "checkbox" | "collapsableObject" | "color" | "dropdown" | "inputChar" | "inputNumber" | "multiDropdown" | "nullObject" | "object" | "images" | "string";
28
+ export interface IAdminSettingsTemplateSTS {
29
+ hasEUTerms: IAdminControl;
30
+ hasTwoStepRegistration: IAdminControl;
31
+ customTermPolicy: IAdminControl;
32
+ gtmId: IAdminControl;
33
+ }
34
+ export declare type IAdminImagesTemplateSTS = {
35
+ [key in IAdminImagesKeysSTS]: IAdminControl;
36
+ };
37
+ export declare type IAdminImagesTemplateSFUI = {
38
+ [key in IAdminImagesKeys]: IAdminControl;
39
+ };
40
+ export declare type IAdminThemeTemplateSFUI = {
41
+ [key in IAdminThemeKeys]: IAdminControl;
42
+ };
43
+ declare type IAdminThemeKeys = "colors";
44
+ declare type IAdminImagesKeysSTS = "logos" | "stsCheckBox" | "stsFavicon";
45
+ declare type IAdminImagesKeys = "icons" | "logos" | "confirmationPageImage" | "stsCheckBox" | "stsFavicon" | "favicon" | "rewards" | "verifySiteImage" | "missingImg";
46
+ export interface IAdminThemeTemplateOptions {
47
+ title: string;
48
+ description: string;
49
+ options: SupportThemeTemplates[];
50
+ helpLink: string;
51
+ }
52
+ export declare type IAllThemeTemplates = {
53
+ [key in SupportThemeTemplates]: IThemeGenerator;
54
+ };
55
+ declare type SupportThemeTemplates = "Default Storefront" | "Default STS";
56
+ export declare type IThemeGenerator = (colors: IDefaultColors) => IDefaultThemeInterface;
57
+ export {};
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,89 +1,89 @@
1
- import { IAccountPageSettings, IAccountPageV2, IAddressValidationTypes, IAddressesSettings, IAddressesSettingsV2, IAdminOnlyV2, IAdvertSettings, ICartSummaryV2, ICheckoutSettingsV2, ICheckoutValidation, ICtaButtons, IDefaultCounty, IDefaultSearchParams, IDefaultStoreLocation, IFeatureSwitch, IFeaturesV2, IFlippConfig, IFlippConfigV2, IGlobalAnimations, IGlobalCheckoutProps, IGlobalLayouts, IGoogleAutocompleteSettings, ILayoutSettings, ILoggingLevel, INutritionZone, IPaymentCards, IPdpSettingsV2, IProductCardSettingsV2, IProductCardsProps, IProductDetailsPageLayout, IRegistrationField, IRestrictMapPlaces, IRetailerCountry, ISMSConfig, ISearchPreviewVisibility, ISecondTierAuthorization, ISiteSettings, ISiteSettingsV2, ISodiumWarning, ITimeslotModalSettings } from "./retailer-settings.interfaces";
2
- export interface IDefaultRetailerSettings {
3
- adminPanelOnly: {
4
- bannerName: string;
5
- logoUrl: string;
6
- };
7
- accountPage: IAccountPageSettings;
8
- addressValidationTypes: IAddressValidationTypes;
9
- addresses: IAddressesSettings;
10
- advertSettings: IAdvertSettings;
11
- allowInStorePurchases: boolean;
12
- allowPastPurchases: boolean;
13
- buildNumber: string;
14
- cacheTimeMins: number;
15
- canadianAddressCompleteKey: string | undefined;
16
- checkout: IGlobalCheckoutProps;
17
- checkoutV1: boolean;
18
- checkoutValidation: ICheckoutValidation;
19
- ctaButtons: ICtaButtons | null | undefined;
20
- daysToRemainSignedIn: number;
21
- defaultCountry: IDefaultCounty;
22
- defaultSearchParams: IDefaultSearchParams;
23
- defaultShoppingMode: "pickup" | "planning" | "delivery";
24
- defaultStoreLocation: IDefaultStoreLocation;
25
- disableTprPrice: boolean;
26
- documentTitle: string;
27
- ebtPayments: boolean;
28
- eircode: string | undefined;
29
- enable3dSecure: boolean;
30
- enableGoogleTranslate: boolean;
31
- enableNewsletterSignup: boolean;
32
- enableNotifications: boolean;
33
- errorLoggingLevel: ILoggingLevel;
34
- externalStoreSelectorUrl: string | undefined;
35
- favoritesV1: boolean;
36
- features: IFeatureSwitch;
37
- flipp: IFlippConfig | IFlippConfigV2 | null;
38
- globalAnimations: IGlobalAnimations;
39
- googleAutocompleteSettings: IGoogleAutocompleteSettings;
40
- gtmId: undefined | string;
41
- hideTaxOnSummary: boolean;
42
- houseAccountRegExValidation: string;
43
- idpTarget: "_self" | "_blank";
44
- idpUrl: undefined | string;
45
- instacartUrl: string | undefined;
46
- isPlanningOnly: boolean;
47
- RemoveAllOutOfStock: boolean;
48
- layout: ILayoutSettings;
49
- layouts: IGlobalLayouts;
50
- limitProductCardTitleHeight: boolean;
51
- loggingLevelClient: ILoggingLevel;
52
- loggingLevelServer: ILoggingLevel;
53
- mainHeaderHeight: number;
54
- mapZoom: number;
55
- minimumCreditCardAmount: number;
56
- nutritionZone: INutritionZone;
57
- paymentCards: IPaymentCards;
58
- pdpDetailsLayout: IProductDetailsPageLayout;
59
- productCardTitleHeight: number;
60
- productCards: IProductCardsProps;
61
- productCardv2: boolean;
62
- promoTemplateVersion: number;
63
- registrationFields: IRegistrationField[];
64
- restrictMapPlacesResults: IRestrictMapPlaces;
65
- retailerCountry: IRetailerCountry;
66
- retailerName: string;
67
- searchPreview: ISearchPreviewVisibility;
68
- secondTierAuthorization?: ISecondTierAuthorization;
69
- siteSettings: ISiteSettings;
70
- showCheckoutPromoCode: boolean;
71
- showImgOnOrder: boolean;
72
- smsNotifications: ISMSConfig;
73
- sodiumWarning: ISodiumWarning;
74
- specialRequestItems: boolean;
75
- subHeaderHeight: number;
76
- timeslotModalSettings: ITimeslotModalSettings;
77
- useAddressValidation: boolean;
78
- }
79
- export interface IDefaultRetailerSettingsVersion2 {
80
- accountPage: IAccountPageV2;
81
- addressSettings: IAddressesSettingsV2;
82
- adminPanelOnly: IAdminOnlyV2;
83
- cartSummary: ICartSummaryV2;
84
- checkout: ICheckoutSettingsV2;
85
- features: IFeaturesV2;
86
- pdpSettings: IPdpSettingsV2;
87
- productCard: IProductCardSettingsV2;
88
- siteSettings: ISiteSettingsV2;
89
- }
1
+ import { IAccountPageSettings, IAccountPageV2, IAddressValidationTypes, IAddressesSettings, IAddressesSettingsV2, IAdminOnlyV2, IAdvertSettings, ICartSummaryV2, ICheckoutSettingsV2, ICheckoutValidation, ICtaButtons, IDefaultCounty, IDefaultSearchParams, IDefaultStoreLocation, IFeatureSwitch, IFeaturesV2, IFlippConfig, IFlippConfigV2, IGlobalAnimations, IGlobalCheckoutProps, IGlobalLayouts, IGoogleAutocompleteSettings, ILayoutSettings, ILoggingLevel, INutritionZone, IPaymentCards, IPdpSettingsV2, IProductCardSettingsV2, IProductCardsProps, IProductDetailsPageLayout, IRegistrationField, IRestrictMapPlaces, IRetailerCountry, ISMSConfig, ISearchPreviewVisibility, ISecondTierAuthorization, ISiteSettings, ISiteSettingsV2, ISodiumWarning, ITimeslotModalSettings } from "./retailer-settings.interfaces";
2
+ export interface IDefaultRetailerSettings {
3
+ adminPanelOnly: {
4
+ bannerName: string;
5
+ logoUrl: string;
6
+ };
7
+ accountPage: IAccountPageSettings;
8
+ addressValidationTypes: IAddressValidationTypes;
9
+ addresses: IAddressesSettings;
10
+ advertSettings: IAdvertSettings;
11
+ allowInStorePurchases: boolean;
12
+ allowPastPurchases: boolean;
13
+ buildNumber: string;
14
+ cacheTimeMins: number;
15
+ canadianAddressCompleteKey: string | undefined;
16
+ checkout: IGlobalCheckoutProps;
17
+ checkoutV1: boolean;
18
+ checkoutValidation: ICheckoutValidation;
19
+ ctaButtons: ICtaButtons | null | undefined;
20
+ daysToRemainSignedIn: number;
21
+ defaultCountry: IDefaultCounty;
22
+ defaultSearchParams: IDefaultSearchParams;
23
+ defaultShoppingMode: "pickup" | "planning" | "delivery";
24
+ defaultStoreLocation: IDefaultStoreLocation;
25
+ disableTprPrice: boolean;
26
+ documentTitle: string;
27
+ ebtPayments: boolean;
28
+ eircode: string | undefined;
29
+ enable3dSecure: boolean;
30
+ enableGoogleTranslate: boolean;
31
+ enableNewsletterSignup: boolean;
32
+ enableNotifications: boolean;
33
+ errorLoggingLevel: ILoggingLevel;
34
+ externalStoreSelectorUrl: string | undefined;
35
+ favoritesV1: boolean;
36
+ features: IFeatureSwitch;
37
+ flipp: IFlippConfig | IFlippConfigV2 | null;
38
+ globalAnimations: IGlobalAnimations;
39
+ googleAutocompleteSettings: IGoogleAutocompleteSettings;
40
+ gtmId: undefined | string;
41
+ hideTaxOnSummary: boolean;
42
+ houseAccountRegExValidation: string;
43
+ idpTarget: "_self" | "_blank";
44
+ idpUrl: undefined | string;
45
+ instacartUrl: string | undefined;
46
+ isPlanningOnly: boolean;
47
+ RemoveAllOutOfStock: boolean;
48
+ layout: ILayoutSettings;
49
+ layouts: IGlobalLayouts;
50
+ limitProductCardTitleHeight: boolean;
51
+ loggingLevelClient: ILoggingLevel;
52
+ loggingLevelServer: ILoggingLevel;
53
+ mainHeaderHeight: number;
54
+ mapZoom: number;
55
+ minimumCreditCardAmount: number;
56
+ nutritionZone: INutritionZone;
57
+ paymentCards: IPaymentCards;
58
+ pdpDetailsLayout: IProductDetailsPageLayout;
59
+ productCardTitleHeight: number;
60
+ productCards: IProductCardsProps;
61
+ productCardv2: boolean;
62
+ promoTemplateVersion: number;
63
+ registrationFields: IRegistrationField[];
64
+ restrictMapPlacesResults: IRestrictMapPlaces;
65
+ retailerCountry: IRetailerCountry;
66
+ retailerName: string;
67
+ searchPreview: ISearchPreviewVisibility;
68
+ secondTierAuthorization?: ISecondTierAuthorization;
69
+ siteSettings: ISiteSettings;
70
+ showCheckoutPromoCode: boolean;
71
+ showImgOnOrder: boolean;
72
+ smsNotifications: ISMSConfig;
73
+ sodiumWarning: ISodiumWarning;
74
+ specialRequestItems: boolean;
75
+ subHeaderHeight: number;
76
+ timeslotModalSettings: ITimeslotModalSettings;
77
+ useAddressValidation: boolean;
78
+ }
79
+ export interface IDefaultRetailerSettingsVersion2 {
80
+ accountPage: IAccountPageV2;
81
+ addressSettings: IAddressesSettingsV2;
82
+ adminPanelOnly: IAdminOnlyV2;
83
+ cartSummary: ICartSummaryV2;
84
+ checkout: ICheckoutSettingsV2;
85
+ features: IFeaturesV2;
86
+ pdpSettings: IPdpSettingsV2;
87
+ productCard: IProductCardSettingsV2;
88
+ siteSettings: ISiteSettingsV2;
89
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //IAddressIntegration
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //IAddressIntegration