@thryveai/theme-interfaces 2.3.13 → 2.3.16
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/index.d.ts +7 -7
- package/dist/interfaces/admin-settings-interfaces.d.ts +2 -2
- package/dist/interfaces/default-settings.interfaces.d.ts +1 -3
- package/dist/interfaces/retailer-settings.interfaces.d.ts +5 -4
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +30 -30
- package/dist/storefront/defaultSettingsStorefront.js +6 -7
- package/package.json +18 -18
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import DefaultImagesSFUI from
|
|
1
|
+
import DefaultImagesSFUI from "./storefront/defaultImagesStorefront";
|
|
2
2
|
import DefaultConfigSFUI from "./storefront/defaultSettingsStorefront";
|
|
3
3
|
import DefaultThemeSFUI, { globalTheme, DefaultThemeColors } from "./storefront/defaultThemeStorefront";
|
|
4
4
|
import DefaultConfigSTS from "./sts/defaultSettingsSts";
|
|
@@ -8,18 +8,18 @@ import { AdminImagesTemplateSFUI } from "./storefront/SFUIImagesTemplate.AdminUi
|
|
|
8
8
|
import { AdminThemeTemplateSFUI, AdminThemeTemplateOptions } from "./storefront/SFUIThemesTemplate.AdminUi";
|
|
9
9
|
import { AdminImagesTemplateSTS } from "./sts/STSImagesTemplate.AdminUi";
|
|
10
10
|
import { IconNamesToFiles } from "./interfaces/icons.interfaces";
|
|
11
|
-
import AllThemeTemplates from
|
|
11
|
+
import AllThemeTemplates from "./theme-templates";
|
|
12
12
|
import { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplateSTS, IAdminImagesTemplateSFUI, IAdminThemeTemplateSFUI, IAdminThemeTemplateOptions, IAdminImagesTemplateSTS, IAdminControl, IAdminControlType, IThemeGenerator } from "./interfaces/admin-settings-interfaces";
|
|
13
13
|
import { IAdminImagesControls, ISecondaryFaviconType } from "./interfaces/admin-images-interfaces";
|
|
14
14
|
import { IDefaultRetailerSettings } 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 } 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 } 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
|
-
export { DefaultConfigSFUI, DefaultConfigSTS, AllThemeTemplates, DefaultThemeSFUI, globalTheme, DefaultThemeColors, DefaultImagesSFUI, AdminSettingsTemplateSFUI, AdminSettingsTemplateSTS, AdminTemplateInputTypes, AdminImagesTemplateSFUI, AdminThemeTemplateSFUI, AdminThemeTemplateOptions, AdminImagesTemplateSTS, IconNamesToFiles };
|
|
21
|
-
export { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplateSTS, IAdminControl, IAdminControlType, IThemeGenerator, IAdminImagesTemplateSFUI, IAdminImagesTemplateSTS, IAdminThemeTemplateSFUI, IAdminThemeTemplateOptions, IAdminImagesControls, ISecondaryFaviconType };
|
|
20
|
+
export { DefaultConfigSFUI, DefaultConfigSTS, AllThemeTemplates, DefaultThemeSFUI, globalTheme, DefaultThemeColors, DefaultImagesSFUI, AdminSettingsTemplateSFUI, AdminSettingsTemplateSTS, AdminTemplateInputTypes, AdminImagesTemplateSFUI, AdminThemeTemplateSFUI, AdminThemeTemplateOptions, AdminImagesTemplateSTS, IconNamesToFiles, };
|
|
21
|
+
export { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSettingsTemplateSTS, IAdminControl, IAdminControlType, IThemeGenerator, IAdminImagesTemplateSFUI, IAdminImagesTemplateSTS, IAdminThemeTemplateSFUI, IAdminThemeTemplateOptions, IAdminImagesControls, ISecondaryFaviconType, };
|
|
22
22
|
export { IDefaultRetailerSettings, IDefaultStsSettings };
|
|
23
23
|
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
|
-
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, ICouponGalleryLayout, IPageAdvertsRow, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, IAdvertsData, };
|
|
24
|
+
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, ICouponGalleryLayout, IPageAdvertsRow, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, IAdvertsData, };
|
|
@@ -34,7 +34,7 @@ export declare type IAdminImagesTemplateSFUI = {
|
|
|
34
34
|
export declare type IAdminThemeTemplateSFUI = {
|
|
35
35
|
[key in IAdminThemeKeys]: IAdminControl;
|
|
36
36
|
};
|
|
37
|
-
declare type IAdminThemeKeys =
|
|
37
|
+
declare type IAdminThemeKeys = "colors";
|
|
38
38
|
declare type IAdminImagesKeysSTS = "logos" | "stsCheckBox" | "stsFavicon";
|
|
39
39
|
declare type IAdminImagesKeys = "icons" | "logos" | "confirmationPageImage" | "stsCheckBox" | "stsFavicon" | "favicon" | "rewards" | "verifySiteImage" | "missingImg";
|
|
40
40
|
export interface IAdminThemeTemplateOptions {
|
|
@@ -46,6 +46,6 @@ export interface IAdminThemeTemplateOptions {
|
|
|
46
46
|
export declare type IAllThemeTemplates = {
|
|
47
47
|
[key in SupportThemeTemplates]: IThemeGenerator;
|
|
48
48
|
};
|
|
49
|
-
declare type SupportThemeTemplates =
|
|
49
|
+
declare type SupportThemeTemplates = "Default Storefront" | "Default STS";
|
|
50
50
|
export declare type IThemeGenerator = (colors: IDefaultColors) => IDefaultThemeInterface;
|
|
51
51
|
export {};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { IAccountPageSettings, IAddressesSettings,
|
|
1
|
+
import { IAccountPageSettings, IAddressesSettings, IAddressValidationTypes, IAdvertSettings, ICheckoutValidation, ICtaButtons, IDefaultCounty, IDefaultSearchParams, IDefaultStoreLocation, IFeatureSwitch, IFlippConfig, IFlippConfigV2, IGlobalAnimations, IGlobalCheckoutProps, IGlobalLayouts, IGoogleAutocompleteSettings, ILayoutSettings, ILoggingLevel, INutritionZone, IPaymentCards, IProductCardsProps, IProductDetailsPageLayout, IRegistrationField, IRestrictMapPlaces, IRetailerCountry, ISearchPreviewVisibility, ISecondTierAuthorization, ISiteSettings, ISMSConfig, ISodiumWarning, ITimeslotModalSettings } from "./retailer-settings.interfaces";
|
|
2
2
|
export interface IDefaultRetailerSettings {
|
|
3
3
|
adminPanelOnly: {
|
|
4
4
|
bannerName: string;
|
|
5
5
|
logoUrl: string;
|
|
6
6
|
};
|
|
7
7
|
accountPage: IAccountPageSettings;
|
|
8
|
-
addressIntegration: IAddressIntegration;
|
|
9
8
|
addressValidationTypes: IAddressValidationTypes;
|
|
10
9
|
addresses: IAddressesSettings;
|
|
11
10
|
advertSettings: IAdvertSettings;
|
|
@@ -23,7 +22,6 @@ export interface IDefaultRetailerSettings {
|
|
|
23
22
|
defaultSearchParams: IDefaultSearchParams;
|
|
24
23
|
defaultShoppingMode: "pickup" | "planning" | "delivery";
|
|
25
24
|
defaultStoreLocation: IDefaultStoreLocation;
|
|
26
|
-
disableAddressOnDelivery: boolean;
|
|
27
25
|
disableTprPrice: boolean;
|
|
28
26
|
documentTitle: string;
|
|
29
27
|
eircode: string | undefined;
|
|
@@ -14,7 +14,6 @@ export interface IRetailerSettings {
|
|
|
14
14
|
useAddressValidation?: boolean;
|
|
15
15
|
};
|
|
16
16
|
TimeslotModalSettings?: ITimeslotModalSettings;
|
|
17
|
-
addressIntegration?: IAddressIntegration;
|
|
18
17
|
addressValidationTypes?: IAddressValidationTypes;
|
|
19
18
|
advertSettings?: IAdvertSettings;
|
|
20
19
|
allowInStorePurchases?: boolean;
|
|
@@ -31,7 +30,6 @@ export interface IRetailerSettings {
|
|
|
31
30
|
defaultSearchParams?: IDefaultSearchParams;
|
|
32
31
|
defaultShoppingMode?: "pickup" | "planning" | "delivery";
|
|
33
32
|
defaultStoreLocation?: IDefaultStoreLocation;
|
|
34
|
-
disableAddressOnDelivery?: boolean;
|
|
35
33
|
disableTprPrice?: boolean;
|
|
36
34
|
documentTitle?: string;
|
|
37
35
|
eircode?: string | null;
|
|
@@ -79,6 +77,7 @@ export interface IRetailerSettings {
|
|
|
79
77
|
showImgOnOrder?: boolean;
|
|
80
78
|
siteSettings?: ISiteSettings;
|
|
81
79
|
smartBanner?: ISmartBanner;
|
|
80
|
+
entryModalVersion?: IEntryModalVersion;
|
|
82
81
|
smsNotifications?: ISMSConfig;
|
|
83
82
|
sodiumWarning?: ISodiumWarning;
|
|
84
83
|
specialRequestItems?: boolean;
|
|
@@ -91,6 +90,8 @@ export interface IFeatureSwitch {
|
|
|
91
90
|
vouchers: IVouchers;
|
|
92
91
|
giftCards: IGiftCards;
|
|
93
92
|
smartbanner: ISmartBanner;
|
|
93
|
+
entryModalVersion: IEntryModalVersion;
|
|
94
|
+
addressIntegration: IAddressIntegration;
|
|
94
95
|
}
|
|
95
96
|
export interface ISiteSettings {
|
|
96
97
|
anonymousCart: boolean;
|
|
@@ -105,6 +106,7 @@ export interface IGiftCards {
|
|
|
105
106
|
pinInputValidation: string;
|
|
106
107
|
reCaptcha: boolean;
|
|
107
108
|
}
|
|
109
|
+
export declare type IEntryModalVersion = "entry" | "geolocation";
|
|
108
110
|
export interface ISmartBanner {
|
|
109
111
|
enabled: boolean;
|
|
110
112
|
title: string;
|
|
@@ -329,9 +331,8 @@ export interface IGlobalCheckoutProps {
|
|
|
329
331
|
}
|
|
330
332
|
export interface IAddressIntegration {
|
|
331
333
|
enabled: boolean;
|
|
332
|
-
getAddressesUrl: string;
|
|
333
|
-
getLocationUrl: string;
|
|
334
334
|
addressFinderType: IAddressFinderType;
|
|
335
|
+
useForNewAddresses: boolean;
|
|
335
336
|
}
|
|
336
337
|
export declare type IAddressFinderType = "AUS" | "EU" | "IE" | "US" | "UK" | "CA";
|
|
337
338
|
export interface IProductCardsProps {
|
|
@@ -58,36 +58,6 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
58
58
|
},
|
|
59
59
|
},
|
|
60
60
|
},
|
|
61
|
-
// addressIntegration: {
|
|
62
|
-
// title: "Address Integration",
|
|
63
|
-
// description: "Use external address integration",
|
|
64
|
-
// helpLink:
|
|
65
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
66
|
-
// type: AdminTemplateInputTypes.object,
|
|
67
|
-
// value: {
|
|
68
|
-
// enabled: {
|
|
69
|
-
// title: "Enabled",
|
|
70
|
-
// description: "Enables external address integration",
|
|
71
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
72
|
-
// },
|
|
73
|
-
// getAddressesUrl: {
|
|
74
|
-
// title: "Get Address Url",
|
|
75
|
-
// description: "Set the get address url",
|
|
76
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
77
|
-
// },
|
|
78
|
-
// getLocationUrl: {
|
|
79
|
-
// title: "Get Location Url",
|
|
80
|
-
// description: "Set the get location url",
|
|
81
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
82
|
-
// },
|
|
83
|
-
// addressFinderType: {
|
|
84
|
-
// title: "Address Finder Type",
|
|
85
|
-
// description: "Select the address finder type",
|
|
86
|
-
// type: AdminTemplateInputTypes.dropdown,
|
|
87
|
-
// options: ["AUS", "EU", "IE", "US", "UK", "CA"],
|
|
88
|
-
// },
|
|
89
|
-
// },
|
|
90
|
-
// },
|
|
91
61
|
// allowInStorePurchases: {
|
|
92
62
|
// title: "InStore Purchases",
|
|
93
63
|
// description:
|
|
@@ -423,6 +393,12 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
423
393
|
},
|
|
424
394
|
},
|
|
425
395
|
},
|
|
396
|
+
entryModalVersion: {
|
|
397
|
+
title: "Set entry modal step",
|
|
398
|
+
description: "Set entry modal step setting.",
|
|
399
|
+
type: exports.AdminTemplateInputTypes.string,
|
|
400
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Entry+Modal+Version",
|
|
401
|
+
},
|
|
426
402
|
smartbanner: {
|
|
427
403
|
title: "Smart Banner",
|
|
428
404
|
description: "Render smart banner on mobile views",
|
|
@@ -491,6 +467,30 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
491
467
|
},
|
|
492
468
|
},
|
|
493
469
|
},
|
|
470
|
+
addressIntegration: {
|
|
471
|
+
title: "Address Integration",
|
|
472
|
+
description: "Use external address integration",
|
|
473
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3346464807/Address+Integration",
|
|
474
|
+
type: exports.AdminTemplateInputTypes.object,
|
|
475
|
+
value: {
|
|
476
|
+
enabled: {
|
|
477
|
+
title: "Enabled",
|
|
478
|
+
description: "Enables external address integration",
|
|
479
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
480
|
+
},
|
|
481
|
+
addressFinderType: {
|
|
482
|
+
title: "Address Finder Type",
|
|
483
|
+
description: "Select the address finder type",
|
|
484
|
+
type: exports.AdminTemplateInputTypes.dropdown,
|
|
485
|
+
options: ["AUS", "EU", "IE", "US", "UK", "CA"],
|
|
486
|
+
},
|
|
487
|
+
useForNewAddresses: {
|
|
488
|
+
title: "Use For New Addresses",
|
|
489
|
+
description: "Use for creating new addresses on checkout",
|
|
490
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
491
|
+
},
|
|
492
|
+
},
|
|
493
|
+
},
|
|
494
494
|
},
|
|
495
495
|
},
|
|
496
496
|
siteSettings: {
|
|
@@ -52,19 +52,12 @@ var DefaultConfigSFUI = {
|
|
|
52
52
|
phoneNumber: ["usPhone", "required"],
|
|
53
53
|
postCode: ["usPostCode", "required"],
|
|
54
54
|
},
|
|
55
|
-
addressIntegration: {
|
|
56
|
-
enabled: false,
|
|
57
|
-
addressFinderType: "AUS",
|
|
58
|
-
getAddressesUrl: "https://api.addressfinder.io/api/au/address/autocomplete/?key={AUS_ADDRESS_SERVICE_KEY}&secret={AUS_ADDRESS_SERVICE_SECRET}&q={searchQuery}&format=json&gnaf=1",
|
|
59
|
-
getLocationUrl: "https://api.addressfinder.io/api/au/address/metadata/?key={AUS_ADDRESS_SERVICE_KEY}&secret={AUS_ADDRESS_SERVICE_SECRET}&format=json&id={id}&au_paf=0&gps=0",
|
|
60
|
-
},
|
|
61
55
|
allowInStorePurchases: false,
|
|
62
56
|
allowPastPurchases: true,
|
|
63
57
|
buildNumber: "default",
|
|
64
58
|
cacheTimeMins: 1,
|
|
65
59
|
canadianAddressCompleteKey: undefined,
|
|
66
60
|
checkoutV1: false,
|
|
67
|
-
disableAddressOnDelivery: false,
|
|
68
61
|
favoritesV1: false,
|
|
69
62
|
checkout: {
|
|
70
63
|
numericPhonePayload: false,
|
|
@@ -199,6 +192,7 @@ var DefaultConfigSFUI = {
|
|
|
199
192
|
enabled: false,
|
|
200
193
|
reCaptcha: false,
|
|
201
194
|
},
|
|
195
|
+
entryModalVersion: "entry",
|
|
202
196
|
smartbanner: {
|
|
203
197
|
enabled: false,
|
|
204
198
|
author: "",
|
|
@@ -213,6 +207,11 @@ var DefaultConfigSFUI = {
|
|
|
213
207
|
priceSuffixGoogle: "",
|
|
214
208
|
title: "",
|
|
215
209
|
},
|
|
210
|
+
addressIntegration: {
|
|
211
|
+
enabled: false,
|
|
212
|
+
addressFinderType: "AUS",
|
|
213
|
+
useForNewAddresses: false,
|
|
214
|
+
},
|
|
216
215
|
},
|
|
217
216
|
siteSettings: {
|
|
218
217
|
anonymousCart: false,
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@thryveai/theme-interfaces",
|
|
3
|
-
"version": "2.3.
|
|
4
|
-
"description": "Shared interfaces and defaults for all Wynshop themed apps.",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"build": "tsc",
|
|
7
|
-
"push": "npm run build && npm publish"
|
|
8
|
-
},
|
|
9
|
-
"author": "Wynshop",
|
|
10
|
-
"license": "ISC",
|
|
11
|
-
"main": "dist",
|
|
12
|
-
"files": [
|
|
13
|
-
"dist"
|
|
14
|
-
],
|
|
15
|
-
"devDependencies": {
|
|
16
|
-
"typescript": "4.6.3"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@thryveai/theme-interfaces",
|
|
3
|
+
"version": "2.3.16",
|
|
4
|
+
"description": "Shared interfaces and defaults for all Wynshop themed apps.",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "tsc",
|
|
7
|
+
"push": "npm run build && npm publish"
|
|
8
|
+
},
|
|
9
|
+
"author": "Wynshop",
|
|
10
|
+
"license": "ISC",
|
|
11
|
+
"main": "dist",
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"typescript": "4.6.3"
|
|
17
|
+
}
|
|
18
|
+
}
|