@thryveai/theme-interfaces 2.7.188 → 2.7.190
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/JSONSchemas/index.d.ts +13 -1
- package/dist/JSONSchemas/index.js +46 -2
- package/dist/index.d.ts +3 -1
- package/dist/index.js +5 -1
- package/dist/interfaces/icons.interfaces.d.ts +1 -1
- package/dist/storefront/commonSettingsStorefront.d.ts +3 -0
- package/dist/storefront/commonSettingsStorefront.js +432 -0
- package/dist/storefront/commonSharedSettings.d.ts +3 -0
- package/dist/storefront/commonSharedSettings.js +49 -0
- package/dist/storefront/defaultIconsStorefront.js +17 -13
- package/package.json +1 -1
|
@@ -2556,7 +2556,7 @@ export declare const JSONSchemas: {
|
|
|
2556
2556
|
DefaultIconsForSchema: {
|
|
2557
2557
|
$ref: string;
|
|
2558
2558
|
};
|
|
2559
|
-
"DeepPartial<(structure-1667837717-
|
|
2559
|
+
"DeepPartial<(structure-1667837717-3394-3396-1667837717-3394-3411-1667837717-3381-3412-1667837717-3344-3413-1667837717-0-3414&def-alias-1667837717-39-107-1667837717-0-3414)>": {
|
|
2560
2560
|
type: string;
|
|
2561
2561
|
properties: {
|
|
2562
2562
|
AccountOutline: {
|
|
@@ -2628,6 +2628,9 @@ export declare const JSONSchemas: {
|
|
|
2628
2628
|
Credit: {
|
|
2629
2629
|
type: string;
|
|
2630
2630
|
};
|
|
2631
|
+
CreditCard: {
|
|
2632
|
+
type: string;
|
|
2633
|
+
};
|
|
2631
2634
|
Dashboard: {
|
|
2632
2635
|
type: string;
|
|
2633
2636
|
};
|
|
@@ -2697,6 +2700,9 @@ export declare const JSONSchemas: {
|
|
|
2697
2700
|
Home: {
|
|
2698
2701
|
type: string;
|
|
2699
2702
|
};
|
|
2703
|
+
HouseOrBusinessAccount: {
|
|
2704
|
+
type: string;
|
|
2705
|
+
};
|
|
2700
2706
|
Info: {
|
|
2701
2707
|
type: string;
|
|
2702
2708
|
};
|
|
@@ -2775,6 +2781,9 @@ export declare const JSONSchemas: {
|
|
|
2775
2781
|
PayPal: {
|
|
2776
2782
|
type: string;
|
|
2777
2783
|
};
|
|
2784
|
+
PayInStore: {
|
|
2785
|
+
type: string;
|
|
2786
|
+
};
|
|
2778
2787
|
Pause: {
|
|
2779
2788
|
type: string;
|
|
2780
2789
|
};
|
|
@@ -2853,6 +2862,9 @@ export declare const JSONSchemas: {
|
|
|
2853
2862
|
ReserveTime: {
|
|
2854
2863
|
type: string;
|
|
2855
2864
|
};
|
|
2865
|
+
SavedCard: {
|
|
2866
|
+
type: string;
|
|
2867
|
+
};
|
|
2856
2868
|
Search: {
|
|
2857
2869
|
type: string;
|
|
2858
2870
|
};
|
|
@@ -2019,6 +2019,10 @@ exports.JSONSchemas = {
|
|
|
2019
2019
|
"type": "string",
|
|
2020
2020
|
"const": "Credit"
|
|
2021
2021
|
},
|
|
2022
|
+
{
|
|
2023
|
+
"type": "string",
|
|
2024
|
+
"const": "CreditCard"
|
|
2025
|
+
},
|
|
2022
2026
|
{
|
|
2023
2027
|
"type": "string",
|
|
2024
2028
|
"const": "Dashboard"
|
|
@@ -2111,6 +2115,10 @@ exports.JSONSchemas = {
|
|
|
2111
2115
|
"type": "string",
|
|
2112
2116
|
"const": "Home"
|
|
2113
2117
|
},
|
|
2118
|
+
{
|
|
2119
|
+
"type": "string",
|
|
2120
|
+
"const": "HouseOrBusinessAccount"
|
|
2121
|
+
},
|
|
2114
2122
|
{
|
|
2115
2123
|
"type": "string",
|
|
2116
2124
|
"const": "Info"
|
|
@@ -2215,6 +2223,10 @@ exports.JSONSchemas = {
|
|
|
2215
2223
|
"type": "string",
|
|
2216
2224
|
"const": "PayPal"
|
|
2217
2225
|
},
|
|
2226
|
+
{
|
|
2227
|
+
"type": "string",
|
|
2228
|
+
"const": "PayInStore"
|
|
2229
|
+
},
|
|
2218
2230
|
{
|
|
2219
2231
|
"type": "string",
|
|
2220
2232
|
"const": "Pause"
|
|
@@ -2319,6 +2331,10 @@ exports.JSONSchemas = {
|
|
|
2319
2331
|
"type": "string",
|
|
2320
2332
|
"const": "ReserveTime"
|
|
2321
2333
|
},
|
|
2334
|
+
{
|
|
2335
|
+
"type": "string",
|
|
2336
|
+
"const": "SavedCard"
|
|
2337
|
+
},
|
|
2322
2338
|
{
|
|
2323
2339
|
"type": "string",
|
|
2324
2340
|
"const": "Search"
|
|
@@ -3489,9 +3505,9 @@ exports.JSONSchemas = {
|
|
|
3489
3505
|
"$ref": "#/definitions/DefaultIconsForSchema",
|
|
3490
3506
|
"definitions": {
|
|
3491
3507
|
"DefaultIconsForSchema": {
|
|
3492
|
-
"$ref": "#/definitions/DeepPartial%3C(structure-1667837717-
|
|
3508
|
+
"$ref": "#/definitions/DeepPartial%3C(structure-1667837717-3394-3396-1667837717-3394-3411-1667837717-3381-3412-1667837717-3344-3413-1667837717-0-3414%26def-alias-1667837717-39-107-1667837717-0-3414)%3E"
|
|
3493
3509
|
},
|
|
3494
|
-
"DeepPartial<(structure-1667837717-
|
|
3510
|
+
"DeepPartial<(structure-1667837717-3394-3396-1667837717-3394-3411-1667837717-3381-3412-1667837717-3344-3413-1667837717-0-3414&def-alias-1667837717-39-107-1667837717-0-3414)>": {
|
|
3495
3511
|
"type": "object",
|
|
3496
3512
|
"properties": {
|
|
3497
3513
|
"AccountOutline": {
|
|
@@ -3563,6 +3579,9 @@ exports.JSONSchemas = {
|
|
|
3563
3579
|
"Credit": {
|
|
3564
3580
|
"type": "string"
|
|
3565
3581
|
},
|
|
3582
|
+
"CreditCard": {
|
|
3583
|
+
"type": "string"
|
|
3584
|
+
},
|
|
3566
3585
|
"Dashboard": {
|
|
3567
3586
|
"type": "string"
|
|
3568
3587
|
},
|
|
@@ -3632,6 +3651,9 @@ exports.JSONSchemas = {
|
|
|
3632
3651
|
"Home": {
|
|
3633
3652
|
"type": "string"
|
|
3634
3653
|
},
|
|
3654
|
+
"HouseOrBusinessAccount": {
|
|
3655
|
+
"type": "string"
|
|
3656
|
+
},
|
|
3635
3657
|
"Info": {
|
|
3636
3658
|
"type": "string"
|
|
3637
3659
|
},
|
|
@@ -3710,6 +3732,9 @@ exports.JSONSchemas = {
|
|
|
3710
3732
|
"PayPal": {
|
|
3711
3733
|
"type": "string"
|
|
3712
3734
|
},
|
|
3735
|
+
"PayInStore": {
|
|
3736
|
+
"type": "string"
|
|
3737
|
+
},
|
|
3713
3738
|
"Pause": {
|
|
3714
3739
|
"type": "string"
|
|
3715
3740
|
},
|
|
@@ -3788,6 +3813,9 @@ exports.JSONSchemas = {
|
|
|
3788
3813
|
"ReserveTime": {
|
|
3789
3814
|
"type": "string"
|
|
3790
3815
|
},
|
|
3816
|
+
"SavedCard": {
|
|
3817
|
+
"type": "string"
|
|
3818
|
+
},
|
|
3791
3819
|
"Search": {
|
|
3792
3820
|
"type": "string"
|
|
3793
3821
|
},
|
|
@@ -5453,6 +5481,10 @@ exports.JSONSchemas = {
|
|
|
5453
5481
|
"type": "string",
|
|
5454
5482
|
"const": "Credit"
|
|
5455
5483
|
},
|
|
5484
|
+
{
|
|
5485
|
+
"type": "string",
|
|
5486
|
+
"const": "CreditCard"
|
|
5487
|
+
},
|
|
5456
5488
|
{
|
|
5457
5489
|
"type": "string",
|
|
5458
5490
|
"const": "Dashboard"
|
|
@@ -5545,6 +5577,10 @@ exports.JSONSchemas = {
|
|
|
5545
5577
|
"type": "string",
|
|
5546
5578
|
"const": "Home"
|
|
5547
5579
|
},
|
|
5580
|
+
{
|
|
5581
|
+
"type": "string",
|
|
5582
|
+
"const": "HouseOrBusinessAccount"
|
|
5583
|
+
},
|
|
5548
5584
|
{
|
|
5549
5585
|
"type": "string",
|
|
5550
5586
|
"const": "Info"
|
|
@@ -5649,6 +5685,10 @@ exports.JSONSchemas = {
|
|
|
5649
5685
|
"type": "string",
|
|
5650
5686
|
"const": "PayPal"
|
|
5651
5687
|
},
|
|
5688
|
+
{
|
|
5689
|
+
"type": "string",
|
|
5690
|
+
"const": "PayInStore"
|
|
5691
|
+
},
|
|
5652
5692
|
{
|
|
5653
5693
|
"type": "string",
|
|
5654
5694
|
"const": "Pause"
|
|
@@ -5753,6 +5793,10 @@ exports.JSONSchemas = {
|
|
|
5753
5793
|
"type": "string",
|
|
5754
5794
|
"const": "ReserveTime"
|
|
5755
5795
|
},
|
|
5796
|
+
{
|
|
5797
|
+
"type": "string",
|
|
5798
|
+
"const": "SavedCard"
|
|
5799
|
+
},
|
|
5756
5800
|
{
|
|
5757
5801
|
"type": "string",
|
|
5758
5802
|
"const": "Search"
|
package/dist/index.d.ts
CHANGED
|
@@ -27,10 +27,12 @@ import { AdminSettingsTemplateMobile } from "./mobile/reactnative/MobileSettings
|
|
|
27
27
|
import { ISharedSettings } from "./interfaces/shared-settings.interfaces";
|
|
28
28
|
import { AdminSharedSettingsTemplateSFUI } from "./storefront/SFUISharedSettingsTemplate.AdminUi";
|
|
29
29
|
import { IAdminSharedSettingsTemplate } from "./interfaces/shared-settings-interfaces";
|
|
30
|
+
import CommonConfigSFUI from "./storefront/commonSettingsStorefront";
|
|
31
|
+
import CommonSharedSettingsConfig from "./storefront/commonSharedSettings";
|
|
30
32
|
export declare type DeepPartial<T> = {
|
|
31
33
|
[K in keyof T]?: T[K] extends object ? DeepPartial<T[K]> : T[K];
|
|
32
34
|
};
|
|
33
|
-
export { DefaultSharedSettingsConfig, DefaultConfigSFUI, DefaultConfigSTS, AllThemeTemplates, DefaultThemeSFUI, globalTheme, DefaultThemeColors, DefaultImagesSFUI, DefaultIconsSFUI, AdminSettingsTemplateSFUI, AdminSettingsTemplateSTS, AdminTemplateInputTypes, AdminImagesTemplateSFUI, AdminThemeTemplateSFUI, AdminThemeTemplateOptions, AdminImagesTemplateSTS, IMobileSettings, AdminSettingsTemplateMobile, MobileDefaultSettings, AdminSharedSettingsTemplateSFUI, };
|
|
35
|
+
export { DefaultSharedSettingsConfig, DefaultConfigSFUI, CommonSharedSettingsConfig, CommonConfigSFUI, DefaultConfigSTS, AllThemeTemplates, DefaultThemeSFUI, globalTheme, DefaultThemeColors, DefaultImagesSFUI, DefaultIconsSFUI, AdminSettingsTemplateSFUI, AdminSettingsTemplateSTS, AdminTemplateInputTypes, AdminImagesTemplateSFUI, AdminThemeTemplateSFUI, AdminThemeTemplateOptions, AdminImagesTemplateSTS, IMobileSettings, AdminSettingsTemplateMobile, MobileDefaultSettings, AdminSharedSettingsTemplateSFUI, };
|
|
34
36
|
export { CMSComponentNames, CMSNames };
|
|
35
37
|
export { ProductAttrToIcons, ProductAttributes };
|
|
36
38
|
export { ITypesOfBusiness, IBusinessAccountObject };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProductAttrToIcons = exports.CMSComponentNames = exports.AdminSharedSettingsTemplateSFUI = 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;
|
|
3
|
+
exports.ProductAttrToIcons = exports.CMSComponentNames = exports.AdminSharedSettingsTemplateSFUI = 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.CommonConfigSFUI = exports.CommonSharedSettingsConfig = 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");
|
|
@@ -39,3 +39,7 @@ var MobileSettingsTemplate_AdminUi_1 = require("./mobile/reactnative/MobileSetti
|
|
|
39
39
|
Object.defineProperty(exports, "AdminSettingsTemplateMobile", { enumerable: true, get: function () { return MobileSettingsTemplate_AdminUi_1.AdminSettingsTemplateMobile; } });
|
|
40
40
|
var SFUISharedSettingsTemplate_AdminUi_1 = require("./storefront/SFUISharedSettingsTemplate.AdminUi");
|
|
41
41
|
Object.defineProperty(exports, "AdminSharedSettingsTemplateSFUI", { enumerable: true, get: function () { return SFUISharedSettingsTemplate_AdminUi_1.AdminSharedSettingsTemplateSFUI; } });
|
|
42
|
+
var commonSettingsStorefront_1 = require("./storefront/commonSettingsStorefront");
|
|
43
|
+
exports.CommonConfigSFUI = commonSettingsStorefront_1.default;
|
|
44
|
+
var commonSharedSettings_1 = require("./storefront/commonSharedSettings");
|
|
45
|
+
exports.CommonSharedSettingsConfig = commonSharedSettings_1.default;
|
|
@@ -4,7 +4,7 @@ export declare type IIconsObject = {
|
|
|
4
4
|
};
|
|
5
5
|
export declare type PaymentTypesLogos = "AmExpCard" | "AmExpLogo" | "Comodo" | "DiscoverCard" | "DiscoverLogo" | "MasterLogo" | "MasterSecure" | "VisaLogo" | "VisaVerified";
|
|
6
6
|
export declare type PaymentCards = "AmExpCard" | "ApplePay" | "DiscoverCard" | "EBT" | "PayPal" | "GooglePay" | "MasterCard" | "MasterCardDebit" | "VisaCard" | "Paze";
|
|
7
|
-
export declare type IconNames = "AccountOutline" | "AccountSolid" | "Addresses" | "ApplePay" | "ArrowDown" | "ArrowUp" | "ArrowRight" | "ArrowUpdown" | "BarScan" | "Bell" | "Blog" | "Cart" | "Check" | "CheckCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Circular" | "Clear" | "Close" | "Coupon" | "Credit" | "Dashboard" | "DeliveryOutline" | "DeliverySolid" | "Dietary" | "DoubleArrows" | "Download" | "Dropship" | "EBT" | "Eco" | "Edit" | "Error" | "FaceHappy" | "FaceSad" | "Facebook" | "Fav" | "FavSolid" | "Filter" | "Flag" | "Geolocate" | "GooglePay" | "Hamburger" | "Help" | "Home" | "Info" | "Instacart" | "InstacartLogo" | "Instagram" | "InstructionsFilled" | "ItemLocation" | "ListCheck" | "ListItems" | "ListLarge" | "ListRemove" | "ListSave" | "ListSearch" | "LocationDistance" | "LocationPin" | "LoyaltyCard" | "Mail" | "Minus" | "MoreOptionsH" | "MoreOptionsV" | "None" | "Note" | "NoteFilled" | "Notifications" | "Orders" | "PastPurchases" | "PayPal" | "Pause" | "PaymentOutline" | "PaymentSolid" | "Phone" | "PhoneMobile" | "Pickup" | "PickupInfo" | "Pinterest" | "Play" | "Plus" | "Print" | "ProductLocation" | "PromoOutline" | "PromoSolid" | "RadioActive" | "RadioEmpty" | "RecipeCalories" | "RecipeCooktime" | "RecipeIngredients" | "RecipePreptime" | "RecipeServings" | "RecommendedSub" | "Remove" | "Reserve" | "ReserveDate" | "ReserveTime" | "Search" | "SelectCheck" | "SelectEmpty" | "SelectMark" | "Send" | "Settings" | "Share" | "SodiumWarning" | "SortGrid" | "SortList" | "StarOutline" | "StarSolid" | "Subscription" | "Substitute" | "SubstituteBestmatch" | "SubstituteNone" | "SubstituteProduct" | "TikTok" | "Trash" | "Twitter" | "TargetedReward" | "Unavailable" | "Voice" | "Warning" | "YourLocation" | "Youtube" | PaymentTypesLogos | PaymentCards | ProductAttributeIcons | LanguageFlags;
|
|
7
|
+
export declare type IconNames = "AccountOutline" | "AccountSolid" | "Addresses" | "ApplePay" | "ArrowDown" | "ArrowUp" | "ArrowRight" | "ArrowUpdown" | "BarScan" | "Bell" | "Blog" | "Cart" | "Check" | "CheckCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Circular" | "Clear" | "Close" | "Coupon" | "Credit" | "CreditCard" | "Dashboard" | "DeliveryOutline" | "DeliverySolid" | "Dietary" | "DoubleArrows" | "Download" | "Dropship" | "EBT" | "Eco" | "Edit" | "Error" | "FaceHappy" | "FaceSad" | "Facebook" | "Fav" | "FavSolid" | "Filter" | "Flag" | "Geolocate" | "GooglePay" | "Hamburger" | "Help" | "Home" | "HouseOrBusinessAccount" | "Info" | "Instacart" | "InstacartLogo" | "Instagram" | "InstructionsFilled" | "ItemLocation" | "ListCheck" | "ListItems" | "ListLarge" | "ListRemove" | "ListSave" | "ListSearch" | "LocationDistance" | "LocationPin" | "LoyaltyCard" | "Mail" | "Minus" | "MoreOptionsH" | "MoreOptionsV" | "None" | "Note" | "NoteFilled" | "Notifications" | "Orders" | "PastPurchases" | "PayPal" | "PayInStore" | "Pause" | "PaymentOutline" | "PaymentSolid" | "Phone" | "PhoneMobile" | "Pickup" | "PickupInfo" | "Pinterest" | "Play" | "Plus" | "Print" | "ProductLocation" | "PromoOutline" | "PromoSolid" | "RadioActive" | "RadioEmpty" | "RecipeCalories" | "RecipeCooktime" | "RecipeIngredients" | "RecipePreptime" | "RecipeServings" | "RecommendedSub" | "Remove" | "Reserve" | "ReserveDate" | "ReserveTime" | "SavedCard" | "Search" | "SelectCheck" | "SelectEmpty" | "SelectMark" | "Send" | "Settings" | "Share" | "SodiumWarning" | "SortGrid" | "SortList" | "StarOutline" | "StarSolid" | "Subscription" | "Substitute" | "SubstituteBestmatch" | "SubstituteNone" | "SubstituteProduct" | "TikTok" | "Trash" | "Twitter" | "TargetedReward" | "Unavailable" | "Voice" | "Warning" | "YourLocation" | "Youtube" | PaymentTypesLogos | PaymentCards | ProductAttributeIcons | LanguageFlags;
|
|
8
8
|
export declare type ProductAttributeIcons = "GlutenFree" | "Organic" | "Local" | "DairyFree" | "DiabetesFriendly" | "EggFree" | "FairTrade" | "NoArtificialIngredients" | "Halal" | "HeartHealth" | "NoHighFructoseCornSyrup" | "KetoFriendly" | "Kosher" | "LactoseFree" | "LowFODMAP" | "LowSodium" | "NoAddedSugar" | "NonGMO" | "Paleo" | "PeanutFree" | "PlantGoodness" | "SoyFree" | "Vegan" | "WholeGrain" | "BottleDeposit" | "LimitedIngredients" | "MinimallyProcessed" | "Fsa" | "PlantBased" | "Frozen";
|
|
9
9
|
export declare type LanguageFlags = "en-au" | "en-ca" | "en-gb" | "en-ie" | "en-us" | "es-es" | "es-mx" | "es-us" | "fr-ca";
|
|
10
10
|
export declare type DefaultIconsForSchema = DeepPartial<{} & IIconsObject>;
|
|
@@ -0,0 +1,432 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var CommonConfigSFUI = {
|
|
4
|
+
accountPage: {
|
|
5
|
+
idp: {
|
|
6
|
+
enabled: false,
|
|
7
|
+
target: "_self",
|
|
8
|
+
url: "",
|
|
9
|
+
},
|
|
10
|
+
loyaltyTab: {
|
|
11
|
+
barcodeSettings: {
|
|
12
|
+
enabled: false,
|
|
13
|
+
},
|
|
14
|
+
disabledEdit: false,
|
|
15
|
+
enabled: false,
|
|
16
|
+
loyaltyNumberLength: 11,
|
|
17
|
+
loyaltyNumberPrefix: "",
|
|
18
|
+
loyaltyValidationType: [],
|
|
19
|
+
},
|
|
20
|
+
profileTab: {
|
|
21
|
+
deleteAccountButton: false,
|
|
22
|
+
},
|
|
23
|
+
secondStepRegistration: {
|
|
24
|
+
businessAccount: {
|
|
25
|
+
enabled: false,
|
|
26
|
+
fields: {
|
|
27
|
+
company: {
|
|
28
|
+
enabled: true,
|
|
29
|
+
validationTypes: [{ length: 50, _type: "less" }, "required"],
|
|
30
|
+
},
|
|
31
|
+
typeOfBusiness: {
|
|
32
|
+
enabled: true,
|
|
33
|
+
options: [
|
|
34
|
+
"administrationOffice",
|
|
35
|
+
"education",
|
|
36
|
+
"foodService",
|
|
37
|
+
"nonProfit",
|
|
38
|
+
"youthSports",
|
|
39
|
+
],
|
|
40
|
+
validationTypes: ["required"],
|
|
41
|
+
},
|
|
42
|
+
title: {
|
|
43
|
+
enabled: true,
|
|
44
|
+
validationTypes: [{ length: 50, _type: "less" }, "required"],
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
addressSettings: {
|
|
51
|
+
addressValidationTypes: {
|
|
52
|
+
addressLine1: ["alphaNumeric", "required"],
|
|
53
|
+
addressLine2: ["alphaNumeric"],
|
|
54
|
+
city: ["alphaNumeric", "required"],
|
|
55
|
+
countyProvinceState: ["usState", "required"],
|
|
56
|
+
familyName: ["alphaOnly", "required"],
|
|
57
|
+
firstName: ["alphaOnly", "required"],
|
|
58
|
+
instructions: ["alphaNumeric"],
|
|
59
|
+
phoneNumber: ["usPhone", "required"],
|
|
60
|
+
postCode: ["usPostCode", "required"],
|
|
61
|
+
smsNumber: [],
|
|
62
|
+
deliveryModalZipCodeValidation: [],
|
|
63
|
+
},
|
|
64
|
+
eircode: {
|
|
65
|
+
enabled: false,
|
|
66
|
+
url: "",
|
|
67
|
+
},
|
|
68
|
+
integration: {
|
|
69
|
+
addNewAddressUrl: "",
|
|
70
|
+
addressFinderType: "AUS",
|
|
71
|
+
deleteAddressUrl: "",
|
|
72
|
+
editAddressUrl: "",
|
|
73
|
+
enabled: false,
|
|
74
|
+
useForNewAddresses: false,
|
|
75
|
+
addressProfileName: null,
|
|
76
|
+
},
|
|
77
|
+
useAddressValidation: true,
|
|
78
|
+
fixOldAddresses: true,
|
|
79
|
+
},
|
|
80
|
+
adminPanelOnly: {
|
|
81
|
+
bannerName: "New banner name",
|
|
82
|
+
logoUrl: "https://wynshop.com/wp-content/uploads/2021/08/xWynshop_Font_logo_150x39.png.pagespeed.ic.3j0jIxPBvP.webp 1x",
|
|
83
|
+
},
|
|
84
|
+
cartSummary: {
|
|
85
|
+
hideTaxOnSummary: false,
|
|
86
|
+
showTaxGroups: true,
|
|
87
|
+
showTaxTotal: true,
|
|
88
|
+
},
|
|
89
|
+
checkout: {
|
|
90
|
+
smsOptIn: false,
|
|
91
|
+
checkoutValidation: {
|
|
92
|
+
instructions: ["alphaNumeric", "notWhiteSpacesOnly"],
|
|
93
|
+
phoneNumber: ["usPhone", "required"],
|
|
94
|
+
smsNumber: [],
|
|
95
|
+
},
|
|
96
|
+
houseAccountRegExValidation: ".",
|
|
97
|
+
minimumCreditCardAmount: 1.0,
|
|
98
|
+
numericPhonePayload: false,
|
|
99
|
+
paymentCards: {
|
|
100
|
+
AmExpCard: true,
|
|
101
|
+
DiscoverCard: true,
|
|
102
|
+
MasterCard: true,
|
|
103
|
+
MasterCardDebit: true,
|
|
104
|
+
VisaCard: true,
|
|
105
|
+
PayPal: false,
|
|
106
|
+
ApplePay: false,
|
|
107
|
+
GooglePay: false,
|
|
108
|
+
EBT: false,
|
|
109
|
+
Paze: false,
|
|
110
|
+
},
|
|
111
|
+
forceDeliverySection: false,
|
|
112
|
+
enableInterimModal: false,
|
|
113
|
+
},
|
|
114
|
+
features: {
|
|
115
|
+
additionalCharges: false,
|
|
116
|
+
creditBalance: false,
|
|
117
|
+
subscriptions: false,
|
|
118
|
+
addressIntegrationV2: false,
|
|
119
|
+
advertSettings: {},
|
|
120
|
+
allowInStorePurchases: false,
|
|
121
|
+
allowPastPurchases: true,
|
|
122
|
+
clientCache: false,
|
|
123
|
+
couponGallery: {
|
|
124
|
+
enabled: false,
|
|
125
|
+
galleryHasNavLink: false,
|
|
126
|
+
galleryIsIframe: false,
|
|
127
|
+
},
|
|
128
|
+
ebtPayments: false,
|
|
129
|
+
emailCartOrShoppingList: { enabled: true, messageField: true },
|
|
130
|
+
googleTranslateWidget: {
|
|
131
|
+
enabled: false,
|
|
132
|
+
position: "footer",
|
|
133
|
+
headerLayout: {
|
|
134
|
+
mobile: "horizontal",
|
|
135
|
+
desktop: "horizontal",
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
enableNewsletterSignup: false,
|
|
139
|
+
enableNotifications: false,
|
|
140
|
+
enableRecipeSearch: true,
|
|
141
|
+
entryModalVersion: "entry",
|
|
142
|
+
externalStoreSelectorUrl: {
|
|
143
|
+
enabled: false,
|
|
144
|
+
url: "",
|
|
145
|
+
},
|
|
146
|
+
favoritesV1: true,
|
|
147
|
+
flyerConfiguration: null,
|
|
148
|
+
giftCards: {
|
|
149
|
+
enabled: false,
|
|
150
|
+
giftCardInputValidation: "^[0-9]{17}$",
|
|
151
|
+
pinInputValidation: "^[0-9]{4}$",
|
|
152
|
+
reCaptcha: false,
|
|
153
|
+
},
|
|
154
|
+
globalAnimations: {
|
|
155
|
+
confetti: {
|
|
156
|
+
enableConfettiAnimation: true,
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
hideAlcoholRule: {
|
|
160
|
+
modal: false,
|
|
161
|
+
pdp: false,
|
|
162
|
+
productCard: false,
|
|
163
|
+
cart: false,
|
|
164
|
+
},
|
|
165
|
+
instacart: {
|
|
166
|
+
enabled: false,
|
|
167
|
+
url: "",
|
|
168
|
+
},
|
|
169
|
+
recipeLegacyShareLink: true,
|
|
170
|
+
registrationFields: [],
|
|
171
|
+
secondTierAuthorization: undefined,
|
|
172
|
+
shoppingModesDisplayOrder: [],
|
|
173
|
+
showCheckoutPromoCode: true,
|
|
174
|
+
showImgOnOrder: false,
|
|
175
|
+
showRewardPromoChangeTimeslotMsg: false,
|
|
176
|
+
smartbanner: {
|
|
177
|
+
author: "",
|
|
178
|
+
button: "",
|
|
179
|
+
buttonUrlApple: "",
|
|
180
|
+
buttonUrlGoogle: "",
|
|
181
|
+
closeLabel: "",
|
|
182
|
+
enabled: true,
|
|
183
|
+
iconApple: "",
|
|
184
|
+
iconGoogle: "",
|
|
185
|
+
price: "",
|
|
186
|
+
priceSuffixApple: "",
|
|
187
|
+
priceSuffixGoogle: "",
|
|
188
|
+
title: "",
|
|
189
|
+
},
|
|
190
|
+
smsNotifications: {
|
|
191
|
+
enabled: false,
|
|
192
|
+
getEnrollmentUrl: "",
|
|
193
|
+
postEnrollmentUrl: "",
|
|
194
|
+
},
|
|
195
|
+
specialRequestItems: false,
|
|
196
|
+
vouchers: {
|
|
197
|
+
enabled: false,
|
|
198
|
+
reCaptcha: false,
|
|
199
|
+
manualVouchers: true,
|
|
200
|
+
},
|
|
201
|
+
promotionDetailsPage: {
|
|
202
|
+
bundlePromotionCalculator: true,
|
|
203
|
+
nonBundlePromotionCalculator: true,
|
|
204
|
+
},
|
|
205
|
+
gsaSupportedBrowser: true,
|
|
206
|
+
acquiaAuthService: false,
|
|
207
|
+
storeSelection: {
|
|
208
|
+
pickup: {
|
|
209
|
+
integration: "default",
|
|
210
|
+
},
|
|
211
|
+
planning: {
|
|
212
|
+
integration: "default",
|
|
213
|
+
},
|
|
214
|
+
storeLocator: {
|
|
215
|
+
integration: "default",
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
pdpSettings: {
|
|
220
|
+
externalContent: {
|
|
221
|
+
enabled: true,
|
|
222
|
+
contentProviders: [{ provider: "syndigo" }],
|
|
223
|
+
},
|
|
224
|
+
nutritionZone: "us",
|
|
225
|
+
pdpDetailsLayout: {
|
|
226
|
+
desktop: {
|
|
227
|
+
left: [
|
|
228
|
+
"productSalesInfo",
|
|
229
|
+
"productDescription",
|
|
230
|
+
"productIngredients",
|
|
231
|
+
"productNutrition",
|
|
232
|
+
"sodiumWarning",
|
|
233
|
+
"productNumber",
|
|
234
|
+
],
|
|
235
|
+
right: ["recommendations"],
|
|
236
|
+
},
|
|
237
|
+
mobile: {
|
|
238
|
+
left: [
|
|
239
|
+
"productSalesInfo",
|
|
240
|
+
"productDescription",
|
|
241
|
+
"productNumber",
|
|
242
|
+
"sodiumWarning",
|
|
243
|
+
"recommendations",
|
|
244
|
+
],
|
|
245
|
+
right: [
|
|
246
|
+
"productIngredients",
|
|
247
|
+
"productNutrition",
|
|
248
|
+
"recommendations",
|
|
249
|
+
"productNumber",
|
|
250
|
+
],
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
sodiumWarning: {
|
|
254
|
+
isEnabled: false,
|
|
255
|
+
threshold: 2300,
|
|
256
|
+
},
|
|
257
|
+
productAttributesLayout: {
|
|
258
|
+
attributesRank: [],
|
|
259
|
+
excludedAttributes: [],
|
|
260
|
+
},
|
|
261
|
+
nutritionLink: { href: null, target: "_blank" },
|
|
262
|
+
priceLoyaltyFlag: false,
|
|
263
|
+
},
|
|
264
|
+
productCard: {
|
|
265
|
+
limitProductCardTitleHeight: true,
|
|
266
|
+
productCards: {
|
|
267
|
+
carouselsRowLength: {
|
|
268
|
+
desktop: 6,
|
|
269
|
+
mobile: 1,
|
|
270
|
+
tablet: 4,
|
|
271
|
+
},
|
|
272
|
+
gridRowLength: {
|
|
273
|
+
desktop: 5,
|
|
274
|
+
mobile: 1,
|
|
275
|
+
tablet: 3,
|
|
276
|
+
},
|
|
277
|
+
productCard: {
|
|
278
|
+
enabled: true,
|
|
279
|
+
layouts: {
|
|
280
|
+
ContainersCarousel: "default",
|
|
281
|
+
ContainersGrid: "default",
|
|
282
|
+
FlyerCard: "default",
|
|
283
|
+
SimplifiedCarousel: "default",
|
|
284
|
+
},
|
|
285
|
+
components: {
|
|
286
|
+
promotionLabel: {
|
|
287
|
+
showLines: 1,
|
|
288
|
+
labelSource: "name",
|
|
289
|
+
labelsLimit: 1,
|
|
290
|
+
labelsPriority: [
|
|
291
|
+
{ _type: "tprPromo" },
|
|
292
|
+
{ _type: "pointPromo", limit: 1 },
|
|
293
|
+
{ _type: "promo", limit: 1 },
|
|
294
|
+
],
|
|
295
|
+
},
|
|
296
|
+
recommendedLabel: { enabled: false },
|
|
297
|
+
productAttributes: {
|
|
298
|
+
iconOpacity: 0.6,
|
|
299
|
+
},
|
|
300
|
+
},
|
|
301
|
+
},
|
|
302
|
+
},
|
|
303
|
+
productCardTitleHeight: 40,
|
|
304
|
+
},
|
|
305
|
+
siteSettings: {
|
|
306
|
+
advertProductView: false,
|
|
307
|
+
clientSideOrderModify: true,
|
|
308
|
+
cmsLazyLoadRows: 0,
|
|
309
|
+
anonymousCart: false,
|
|
310
|
+
ctaButtons: null,
|
|
311
|
+
daysToRemainSignedIn: 30,
|
|
312
|
+
defaultCountry: "USA",
|
|
313
|
+
defaultLanguage: "en-us",
|
|
314
|
+
infinitePagination: false,
|
|
315
|
+
defaultSearchParams: {
|
|
316
|
+
page: "1",
|
|
317
|
+
q: "*",
|
|
318
|
+
skip: "0",
|
|
319
|
+
take: "30",
|
|
320
|
+
},
|
|
321
|
+
defaultShoppingMode: "pickup",
|
|
322
|
+
defaultTabView: "listView",
|
|
323
|
+
showChangeCustomerEmail: false,
|
|
324
|
+
defaultStoreLocation: {
|
|
325
|
+
latitude: 0,
|
|
326
|
+
longitude: 0,
|
|
327
|
+
},
|
|
328
|
+
disableTprPrice: false,
|
|
329
|
+
mobileViewCardLayout: { enabled: false, defaultView: "List" },
|
|
330
|
+
footerVersion: "default",
|
|
331
|
+
googleAutocompleteSettings: {},
|
|
332
|
+
gtmId: "",
|
|
333
|
+
hideWelcomeModalOnCorporate: false,
|
|
334
|
+
isPlanningOnly: false,
|
|
335
|
+
RemoveAllOutOfStock: true,
|
|
336
|
+
mainHeaderHeight: 110,
|
|
337
|
+
maintainCustomerJourney: true,
|
|
338
|
+
maintainCustomerPreferences: {
|
|
339
|
+
enabled: true,
|
|
340
|
+
sections: {
|
|
341
|
+
marketingPreferences: [],
|
|
342
|
+
},
|
|
343
|
+
optInMarketingPreferences: false,
|
|
344
|
+
selectOptInMarketingPreferencesStore: false,
|
|
345
|
+
},
|
|
346
|
+
mapZoom: 8,
|
|
347
|
+
promoTemplateVersion: 1,
|
|
348
|
+
restrictMapPlacesResults: {
|
|
349
|
+
fetchNearStoresSettings: {
|
|
350
|
+
kmRange: 20,
|
|
351
|
+
totalTake: 30,
|
|
352
|
+
},
|
|
353
|
+
},
|
|
354
|
+
retailerCountry: "us",
|
|
355
|
+
retailerName: "default",
|
|
356
|
+
searchPreview: {
|
|
357
|
+
desktop: {
|
|
358
|
+
products: true,
|
|
359
|
+
suggestions: true,
|
|
360
|
+
recipes: true,
|
|
361
|
+
},
|
|
362
|
+
mobile: {
|
|
363
|
+
products: true,
|
|
364
|
+
suggestions: true,
|
|
365
|
+
recipes: true,
|
|
366
|
+
},
|
|
367
|
+
},
|
|
368
|
+
subHeaderHeight: 0,
|
|
369
|
+
timeslotModalSettings: {
|
|
370
|
+
showOnAddToCart: false,
|
|
371
|
+
timeslotRequiredToAddToCart: false,
|
|
372
|
+
timeslotRequiredToViewCartReview: false,
|
|
373
|
+
timeslotRequiredToViewCheckout: false,
|
|
374
|
+
enableSelectToContinueText: false,
|
|
375
|
+
},
|
|
376
|
+
useContentEngineV2Components: {
|
|
377
|
+
Carousel: true,
|
|
378
|
+
ContactUs: false,
|
|
379
|
+
Freeform: false,
|
|
380
|
+
HeroBanner: false,
|
|
381
|
+
Image: false,
|
|
382
|
+
ImageTextButton: false,
|
|
383
|
+
ImageWithContent: false,
|
|
384
|
+
LargePromotion: false,
|
|
385
|
+
LayoutExtraLargeBanner2: false,
|
|
386
|
+
PageTopperWithFullBackground: false,
|
|
387
|
+
ProductCardStory: false,
|
|
388
|
+
Recipe: false,
|
|
389
|
+
Sale: false,
|
|
390
|
+
SmallBannerWithBackgroundImage: false,
|
|
391
|
+
SmallBannerWithSupportingImage: false,
|
|
392
|
+
SmallCarousel: false,
|
|
393
|
+
SmallImageWithContent: false,
|
|
394
|
+
SmallPromotion: false,
|
|
395
|
+
ThreeBannerContainer: false,
|
|
396
|
+
TwoBannerContainer: false,
|
|
397
|
+
Video: false,
|
|
398
|
+
VideoWithContent: false,
|
|
399
|
+
},
|
|
400
|
+
isLegacyProductURL: false,
|
|
401
|
+
headerLinks: { dimension: 0, enabled: false },
|
|
402
|
+
showCartValueOnMobile: false,
|
|
403
|
+
cookiePro: { enabled: false, domain: "", src: "" },
|
|
404
|
+
scrollToTopButton: {
|
|
405
|
+
enabled: true,
|
|
406
|
+
percentOffset: { bottom: 15, right: 2 },
|
|
407
|
+
},
|
|
408
|
+
clientRenderCoupons: true,
|
|
409
|
+
showClippedStateInCouponModal: false,
|
|
410
|
+
showShopAllLink: {
|
|
411
|
+
enabled: true,
|
|
412
|
+
},
|
|
413
|
+
showEmptyMiniList: false,
|
|
414
|
+
preserveStore: {
|
|
415
|
+
enabled: false,
|
|
416
|
+
skipConfirmation: false,
|
|
417
|
+
confirmationDelay: 5000,
|
|
418
|
+
},
|
|
419
|
+
},
|
|
420
|
+
welcomeModal: [],
|
|
421
|
+
performance: {
|
|
422
|
+
vouchersLongTimeout: false,
|
|
423
|
+
},
|
|
424
|
+
integrations: {
|
|
425
|
+
prodX: {
|
|
426
|
+
enabled: false,
|
|
427
|
+
catalogId: "",
|
|
428
|
+
test: false,
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
};
|
|
432
|
+
exports.default = CommonConfigSFUI;
|