@thryveai/theme-interfaces 1.4.8-beta6 → 1.4.9

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/index.d.ts CHANGED
@@ -2,11 +2,6 @@ import { IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfig
2
2
  import { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames, IconNamesToFiles } from "./icons.interfaces";
3
3
  import { ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource } from "./theme.interfaces";
4
4
  import { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource } from "./default-theme.interface";
5
- import AdminSettingsTemplate from "./admin-settings-template";
6
- import AdminThemeTemplate, { AdminTemplateInputTypes } from "./admin-theme-template";
7
- import defaultConfig from "./default.config";
8
5
  export { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, 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, };
9
6
  export { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames, IconNamesToFiles, };
10
7
  export { IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IAllSettings, ISMSConfig, IDefaultRetailerSettings, ICtaButtons, IAddressesSettings, IAccountPageSettings, ILayoutSettings, ILoggingLevel, IDefaultSearchParams, IDefaultStoreLocation, IDefaultCounty, IRetailerCountry, IRestrictMapPlaces, IValidationType, INutritionZone, IFooterTypes, IRegistrationFieldTypes, IRegistrationFieldNames, IValidateLength, IValidateDateRange, IRegistrationField, ICheckoutValidation, ISearchPreviewVisibility, IPaymentCards, IGlobalAnimations, ILayoutAnimationsConfetti, IGlobalCheckoutProps, IAddressIntegration, IAddressFinderType, };
11
- export { AdminSettingsTemplate, AdminThemeTemplate, AdminTemplateInputTypes };
12
- export { defaultConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "1.4.8-beta6",
3
+ "version": "1.4.9",
4
4
  "description": "Shared Interfaces for all ThryveAi storefront retailer themes.",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -11,4 +11,4 @@
11
11
  "devDependencies": {
12
12
  "typescript": "4.3.5"
13
13
  }
14
- }
14
+ }
@@ -74,7 +74,6 @@ export interface IRetailerSettings {
74
74
  subHeaderHeight?: number;
75
75
  useAddressValidation?: boolean;
76
76
  externalApps?: IExternalApps;
77
- productCardv2?: boolean;
78
77
  }
79
78
  export interface IExternalApps {
80
79
  sts?: IExternalAppSTS;
@@ -207,7 +206,6 @@ export interface IDefaultRetailerSettings {
207
206
  smsNotifications: ISMSConfig;
208
207
  subHeaderHeight: number;
209
208
  useAddressValidation: boolean;
210
- productCardv2: boolean;
211
209
  }
212
210
  export interface IGoogleAutocompleteSettings {
213
211
  types?: IGoogleAutocompleteTypes;
@@ -284,7 +282,7 @@ export interface IRestrictMapPlaces {
284
282
  totalTake: number;
285
283
  };
286
284
  }
287
- export declare type IValidationType = IValidateDateRange | IValidateLength | "luhnValidation" | "alphaNumeric" | "alphaOnly" | "numericOnly" | "anyPhone" | "email" | "password" | "required" | "usPhone" | "usMobileNumber" | "caPhone" | "auPhone" | "iePhone" | "caProvince" | "usState" | "auState" | "ieCounty" | "caPostCode" | "usPostCode" | "auPostCode" | "iePostCode" | "noSpecialChar" | "correctDate";
285
+ export declare type IValidationType = IValidateDateRange | IValidateLength | "luhnValidation" | "alphaNumeric" | "alphaOnly" | "numericOnly" | "anyPhone" | "email" | "password" | "required" | "usPhone" | "usPhone10Digits" | "usMobileNumber" | "caPhone" | "auPhone" | "iePhone" | "caProvince" | "usState" | "auState" | "ieCounty" | "caPostCode" | "usPostCode" | "auPostCode" | "iePostCode" | "noSpecialChar" | "correctDate";
288
286
  declare type IEnvNames = "dev" | "de2" | "qat" | "qa2" | "int" | "in2" | "lod" | "lo2" | "stg" | "st2" | "stagingConfig" | "productionConfig";
289
287
  export declare type INutritionZone = "us" | "eu" | "au" | "ca";
290
288
  export declare type IFooterTypes = "default" | "version2" | "version3" | "version4" | "version5";
@@ -1,54 +0,0 @@
1
- import { IDefaultCounty, IValidationType } from "./retailer-settings.interfaces";
2
- export declare type IAdminTemplateInputTypes = {
3
- [key in IAdminControlType]: IAdminControlType;
4
- };
5
- export interface IAdminSettingsTemplate {
6
- accountPage: IAdminControl;
7
- addressValidationTypes: IAdminControl;
8
- allowInStorePurchases: IAdminControl;
9
- allowPastPurchases: IAdminControl;
10
- cacheTimeMins: IAdminControl;
11
- checkoutV1: IAdminControl;
12
- defaultCountry: IAdminControl;
13
- defaultShoppingMode: IAdminControl;
14
- defaultStoreLocation: IAdminControl;
15
- disableTprPrice: IAdminControl;
16
- documentTitle: IAdminControl;
17
- enable3dSecure: IAdminControl;
18
- enableGoogleTranslate: IAdminControl;
19
- enableNewsletterSignup: IAdminControl;
20
- enableNotifications?: IAdminControl;
21
- favoritesV1: IAdminControl;
22
- flipp: IAdminControl;
23
- gtmId: IAdminControl;
24
- hideTaxOnSummary: IAdminControl;
25
- houseAccountRegExValidation: IAdminControl;
26
- isPlanningOnly: IAdminControl;
27
- limitProductCardTitleHeight: IAdminControl;
28
- mainHeaderHeight: IAdminControl;
29
- mapZoom: IAdminControl;
30
- minimumCreditCardAmount: IAdminControl;
31
- nutritionZone: IAdminControl;
32
- productCardTitleHeight: IAdminControl;
33
- productCardv2: IAdminControl;
34
- promoTemplateVersion: IAdminControl;
35
- retailerCountry: IAdminControl;
36
- retailerName: IAdminControl;
37
- searchPreview: IAdminControl;
38
- showCheckoutPromoCode: IAdminControl;
39
- showImgOnOrder: IAdminControl;
40
- subHeaderHeight: IAdminControl;
41
- timeslotModalSettings: IAdminControl;
42
- useAddressValidation: IAdminControl;
43
- }
44
- export interface IAdminControl {
45
- title: string;
46
- description: string;
47
- helpLink?: string;
48
- type: IAdminControlType;
49
- options?: string[] | number[] | IDefaultCounty[] | IValidationType[];
50
- value?: {
51
- [key: string]: IAdminControl;
52
- };
53
- }
54
- export declare type IAdminControlType = "checkbox" | "collapsableObject" | "color" | "dropdown" | "inputChar" | "inputNumber" | "multiDropdown" | "nullObject" | "object" | "string";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- import { IAdminSettingsTemplate } from "./admin-settings-interfaces";
2
- export declare const AdminSettingsTemplate: IAdminSettingsTemplate;
3
- export default AdminSettingsTemplate;