@thryveai/theme-interfaces 2.7.70 → 2.7.71
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 +6 -0
- package/dist/interfaces/shared-settings.interfaces.d.ts +8 -0
- package/dist/interfaces/shared-settings.interfaces.js +2 -0
- package/dist/storefront/defaultSettingsStorefront.js +1 -0
- package/dist/storefront/defaultSharedSettings.d.ts +3 -0
- package/dist/storefront/defaultSharedSettings.js +11 -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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import DefaultImagesSFUI from "./storefront/defaultImagesStorefront";
|
|
2
2
|
import DefaultIconsSFUI from "./storefront/defaultIconsStorefront";
|
|
3
3
|
import DefaultConfigSFUI from "./storefront/defaultSettingsStorefront";
|
|
4
|
+
import DefaultSharedSettingsConfig from "./storefront/defaultSharedSettings";
|
|
4
5
|
import DefaultThemeSFUI, { globalTheme, DefaultThemeColors } from "./storefront/defaultThemeStorefront";
|
|
5
6
|
import DefaultConfigSTS from "./sts/defaultSettingsSts";
|
|
6
7
|
import { AdminTemplateInputTypes, AdminSettingsTemplateSFUI } from "./storefront/SFUISettingsTemplate.AdminUi";
|
|
@@ -23,7 +24,8 @@ import { ProductAttributes, ProductAttrToIcons } from "./storefront/productBadge
|
|
|
23
24
|
import { IMobileSettings } from "./mobile/interfaces/mobile-retailer-settings.interfaces";
|
|
24
25
|
import { MobileDefaultSettings } from "./mobile/reactnative/MobileDefaultSettings";
|
|
25
26
|
import { AdminSettingsTemplateMobile } from "./mobile/reactnative/MobileSettingsTemplate.AdminUi";
|
|
26
|
-
|
|
27
|
+
import { ISharedSettings } from "./interfaces/shared-settings.interfaces";
|
|
28
|
+
export { DefaultSharedSettingsConfig, DefaultConfigSFUI, DefaultConfigSTS, AllThemeTemplates, DefaultThemeSFUI, globalTheme, DefaultThemeColors, DefaultImagesSFUI, DefaultIconsSFUI, AdminSettingsTemplateSFUI, AdminSettingsTemplateSTS, AdminTemplateInputTypes, AdminImagesTemplateSFUI, AdminThemeTemplateSFUI, AdminThemeTemplateOptions, AdminImagesTemplateSTS, IMobileSettings, AdminSettingsTemplateMobile, MobileDefaultSettings, };
|
|
27
29
|
export { CMSComponentNames, CMSNames };
|
|
28
30
|
export { ProductAttrToIcons, ProductAttributes };
|
|
29
31
|
export { ITypesOfBusiness, IBusinessAccountObject };
|
|
@@ -31,4 +33,4 @@ export { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplat
|
|
|
31
33
|
export { IDefaultRetailerSettingsVersion2, IDefaultStsSettings };
|
|
32
34
|
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, };
|
|
33
35
|
export { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames };
|
|
34
|
-
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, IPdpNutritionLink, ISodiumWarning, IProductCardsProps, IProductDetailsPageLayout, ICartSummaryLayout, ISmartBanner, IEntryModalVersion, IShoppingRuleControl, ICouponGalleryLayout, IPageAdvertsRow, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, IAdvertsData, IAdminOnlyV2, IAccountPageV2, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IPdpSettingsV2, IProductCardSettingsV2, ISiteSettingsV2, };
|
|
36
|
+
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, 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, };
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProductAttrToIcons = exports.CMSComponentNames = 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.DefaultConfigSFUI = void 0;
|
|
3
|
+
exports.ProductAttrToIcons = exports.CMSComponentNames = 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.DefaultConfigSFUI = exports.DefaultSharedSettingsConfig = void 0;
|
|
4
4
|
var defaultImagesStorefront_1 = require("./storefront/defaultImagesStorefront");
|
|
5
5
|
exports.DefaultImagesSFUI = defaultImagesStorefront_1.default;
|
|
6
6
|
var defaultIconsStorefront_1 = require("./storefront/defaultIconsStorefront");
|
|
7
7
|
exports.DefaultIconsSFUI = defaultIconsStorefront_1.default;
|
|
8
8
|
var defaultSettingsStorefront_1 = require("./storefront/defaultSettingsStorefront");
|
|
9
9
|
exports.DefaultConfigSFUI = defaultSettingsStorefront_1.default;
|
|
10
|
+
var defaultSharedSettings_1 = require("./storefront/defaultSharedSettings");
|
|
11
|
+
exports.DefaultSharedSettingsConfig = defaultSharedSettings_1.default;
|
|
10
12
|
var defaultThemeStorefront_1 = require("./storefront/defaultThemeStorefront");
|
|
11
13
|
exports.DefaultThemeSFUI = defaultThemeStorefront_1.default;
|
|
12
14
|
Object.defineProperty(exports, "globalTheme", { enumerable: true, get: function () { return defaultThemeStorefront_1.globalTheme; } });
|
|
@@ -358,8 +358,14 @@ export interface IProductCardSettingsV2 {
|
|
|
358
358
|
productCardTitleHeight: number;
|
|
359
359
|
productCards: IProductCardsProps;
|
|
360
360
|
}
|
|
361
|
+
export interface ICookiePro {
|
|
362
|
+
enabled: boolean;
|
|
363
|
+
src: string;
|
|
364
|
+
domain: string;
|
|
365
|
+
}
|
|
361
366
|
export interface ISiteSettingsV2 {
|
|
362
367
|
clientSideOrderModify: boolean;
|
|
368
|
+
cookiePro: ICookiePro;
|
|
363
369
|
anonymousCart: boolean;
|
|
364
370
|
ctaButtons: ICtaButtons | null | undefined;
|
|
365
371
|
cmsLazyLoadRows: number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var DefaultSharedSettingsConfig = {
|
|
4
|
+
features: {
|
|
5
|
+
specialRequestItems: {
|
|
6
|
+
enable: false,
|
|
7
|
+
excludeStores: [],
|
|
8
|
+
},
|
|
9
|
+
},
|
|
10
|
+
};
|
|
11
|
+
exports.default = DefaultSharedSettingsConfig;
|