@thryveai/theme-interfaces 2.7.13 → 2.7.15-3.beta
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 +10 -4
- package/dist/index.js +7 -1
- package/dist/interfaces/admin-settings-interfaces.d.ts +16 -6
- package/dist/interfaces/default-settings.interfaces.d.ts +3 -79
- package/dist/interfaces/default-settings.interfaces.js +0 -1
- package/dist/interfaces/default-theme.interface.d.ts +34 -0
- package/dist/interfaces/icons.interfaces.d.ts +4 -3
- package/dist/interfaces/retailer-settings.interfaces.d.ts +169 -14
- package/dist/interfaces/shared-settings-interfaces.d.ts +5 -0
- package/dist/interfaces/shared-settings-interfaces.js +2 -0
- package/dist/interfaces/shared-settings.interfaces.d.ts +51 -0
- package/dist/interfaces/shared-settings.interfaces.js +2 -0
- package/dist/interfaces/theme.interfaces.d.ts +23 -0
- package/dist/mobile/interfaces/mobile-retailer-settings.interfaces.d.ts +1 -0
- package/dist/mobile/reactnative/MobileDefaultSettings.d.ts +5 -1
- package/dist/mobile/reactnative/MobileDefaultSettings.js +15 -1
- package/dist/mobile/reactnative/MobileSettingsTemplate.AdminUi.js +84 -5
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +220 -15
- package/dist/storefront/SFUISharedSettingsTemplate.AdminUi.d.ts +4 -0
- package/dist/storefront/SFUISharedSettingsTemplate.AdminUi.js +168 -0
- package/dist/storefront/contentEngineComponents.d.ts +13 -11
- package/dist/storefront/contentEngineComponents.js +13 -11
- package/dist/storefront/defaultIconsStorefront.js +171 -146
- package/dist/storefront/defaultImagesStorefront.js +4 -0
- package/dist/storefront/defaultSettingsStorefront.js +113 -15
- package/dist/storefront/defaultSharedSettings.d.ts +3 -0
- package/dist/storefront/defaultSharedSettings.js +39 -0
- package/dist/storefront/defaultThemeStorefront.js +45 -0
- package/dist/storefront/productBadgeAttributes.d.ts +1 -1
- package/dist/storefront/productBadgeAttributes.js +4 -0
- package/dist/sts/STSImagesTemplate.AdminUi.js +22 -0
- package/package.json +9 -3
- package/README.md +0 -29
|
@@ -14,6 +14,7 @@ exports.AdminTemplateInputTypes = {
|
|
|
14
14
|
images: "images",
|
|
15
15
|
string: "string",
|
|
16
16
|
array: "array",
|
|
17
|
+
storeSelection: "storeSelection",
|
|
17
18
|
};
|
|
18
19
|
exports.validationTypes = [
|
|
19
20
|
"luhnValidation",
|
|
@@ -58,6 +59,72 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
58
59
|
},
|
|
59
60
|
},
|
|
60
61
|
},
|
|
62
|
+
accountPage: {
|
|
63
|
+
title: "My account",
|
|
64
|
+
description: "",
|
|
65
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
66
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784302/Account+Page",
|
|
67
|
+
value: {
|
|
68
|
+
profileTab: {
|
|
69
|
+
title: "Profile tab",
|
|
70
|
+
description: "",
|
|
71
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
72
|
+
value: {
|
|
73
|
+
deleteAccountButton: {
|
|
74
|
+
title: "Delete account button",
|
|
75
|
+
description: "This allows the customer to delete their account from the My Account screen on the Storefront.",
|
|
76
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3486023742/Delete+account+button",
|
|
77
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
loyaltyTab: {
|
|
82
|
+
title: "Loyalty tab",
|
|
83
|
+
description: "",
|
|
84
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
85
|
+
value: {
|
|
86
|
+
enabled: {
|
|
87
|
+
title: "Enable loyalty tab",
|
|
88
|
+
description: "This will display the loyalty tab in the My Account section on the Storefront.",
|
|
89
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
90
|
+
},
|
|
91
|
+
disabledEdit: {
|
|
92
|
+
title: "Disable loyalty number editing",
|
|
93
|
+
description: "This will prevent users from being able to edit their loyalty number on the Storefront.",
|
|
94
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
95
|
+
},
|
|
96
|
+
loyaltyNumberLength: {
|
|
97
|
+
title: "Loyalty number length",
|
|
98
|
+
description: "This is the number of digits required for a loyalty number to be deemed valid.",
|
|
99
|
+
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
100
|
+
},
|
|
101
|
+
loyaltyNumberPrefix: {
|
|
102
|
+
title: "Loyalty number prefix",
|
|
103
|
+
description: "This is a series of hardcoded digits that appear at the beginning of every loyalty number. Adding these digits here means the customer doesn’t have to on the Storefront. ",
|
|
104
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
105
|
+
},
|
|
106
|
+
loyaltyValidationType: {
|
|
107
|
+
title: "Loyalty number validation",
|
|
108
|
+
description: "Select the types of validations you would like the loyalty number to require.",
|
|
109
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
110
|
+
options: exports.validationTypes,
|
|
111
|
+
},
|
|
112
|
+
barcodeSettings: {
|
|
113
|
+
title: "Barcode",
|
|
114
|
+
description: "",
|
|
115
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
116
|
+
value: {
|
|
117
|
+
enabled: {
|
|
118
|
+
title: "Enable barcode",
|
|
119
|
+
description: "This will display the customers loyalty card barcode on the Storefront.",
|
|
120
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
},
|
|
61
128
|
// accountPage: {
|
|
62
129
|
// title: "Account Page",
|
|
63
130
|
// description: "Account page settings",
|
|
@@ -329,6 +396,20 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
329
396
|
type: exports.AdminTemplateInputTypes.checkbox,
|
|
330
397
|
group: { id: 1, name: "General Features" },
|
|
331
398
|
},
|
|
399
|
+
subscriptions: {
|
|
400
|
+
title: "Display subscriptions",
|
|
401
|
+
description: "Enable subscriptions functionality",
|
|
402
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274637365/Subscriptions",
|
|
403
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
404
|
+
group: { id: 1, name: "General Features" },
|
|
405
|
+
},
|
|
406
|
+
creditBalance: {
|
|
407
|
+
title: "Display creditBalance to customer",
|
|
408
|
+
description: "Enable creditBalance functionality",
|
|
409
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274637365/creditBalance",
|
|
410
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
411
|
+
group: { id: 1, name: "General Features" },
|
|
412
|
+
},
|
|
332
413
|
// additionalCharges: {
|
|
333
414
|
// title: "Additional Charges",
|
|
334
415
|
// description:
|
|
@@ -468,25 +549,25 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
468
549
|
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Entry+Modal+Version",
|
|
469
550
|
// },
|
|
470
551
|
hideAlcoholRule: {
|
|
471
|
-
title: "
|
|
552
|
+
title: "Alcohol messaging",
|
|
472
553
|
description: "Set boolean to control if shopping rule modals appears for alcohol.",
|
|
473
554
|
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
474
555
|
value: {
|
|
475
556
|
pdp: {
|
|
476
|
-
title: "Disable
|
|
477
|
-
description: "
|
|
557
|
+
title: "Disable product details page messaging for alcohol",
|
|
558
|
+
description: "This will hide the alcohol shopping rule messaging in the Storefront product details page for items containing alcohol.",
|
|
478
559
|
type: exports.AdminTemplateInputTypes.checkbox,
|
|
479
560
|
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
480
561
|
},
|
|
481
562
|
modal: {
|
|
482
|
-
title: "Disable warning modal",
|
|
483
|
-
description: "
|
|
563
|
+
title: "Disable alcohol warning modal",
|
|
564
|
+
description: "This will hide the alcohol shopping rule warning modal when an item containing alcohol is added to the cart.",
|
|
484
565
|
type: exports.AdminTemplateInputTypes.checkbox,
|
|
485
566
|
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
486
567
|
},
|
|
487
568
|
productCard: {
|
|
488
|
-
title: "Disable
|
|
489
|
-
description: "
|
|
569
|
+
title: "Disable product card messaging for alcohol",
|
|
570
|
+
description: "This will hide the alcohol shopping rule messaging in the Storefront product card for items containing alcohol.",
|
|
490
571
|
type: exports.AdminTemplateInputTypes.checkbox,
|
|
491
572
|
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
492
573
|
},
|
|
@@ -644,11 +725,44 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
644
725
|
},
|
|
645
726
|
},
|
|
646
727
|
},
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
728
|
+
pdpSettings: {
|
|
729
|
+
title: "Products",
|
|
730
|
+
description: "",
|
|
731
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
732
|
+
value: {
|
|
733
|
+
externalContent: {
|
|
734
|
+
title: "External content",
|
|
735
|
+
description: "",
|
|
736
|
+
message: {
|
|
737
|
+
caption: [
|
|
738
|
+
"Display enhanced product content on the product details page.",
|
|
739
|
+
"You can change the order providers that the content will appear in.",
|
|
740
|
+
],
|
|
741
|
+
},
|
|
742
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
743
|
+
value: {
|
|
744
|
+
enabled: {
|
|
745
|
+
title: "Enable external content providers",
|
|
746
|
+
description: "This will display any available content from the providers listed below on the product details page.",
|
|
747
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
748
|
+
},
|
|
749
|
+
contentProviders: {
|
|
750
|
+
title: "",
|
|
751
|
+
description: "Allows the user to give the priority of showing content",
|
|
752
|
+
type: exports.AdminTemplateInputTypes.array,
|
|
753
|
+
value: {
|
|
754
|
+
provider: {
|
|
755
|
+
title: "Content Provider of External Content",
|
|
756
|
+
description: "Allows the user to give type of provider",
|
|
757
|
+
type: exports.AdminTemplateInputTypes.dropdown,
|
|
758
|
+
uniqueOptions: ["syndigo", "brandbank"],
|
|
759
|
+
},
|
|
760
|
+
},
|
|
761
|
+
},
|
|
762
|
+
},
|
|
763
|
+
},
|
|
764
|
+
},
|
|
765
|
+
},
|
|
652
766
|
// productCard: {
|
|
653
767
|
// title: "Product Card Settings",
|
|
654
768
|
// description: "Coming Soon",
|
|
@@ -666,6 +780,12 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
666
780
|
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/clientSideOrderModify",
|
|
667
781
|
type: exports.AdminTemplateInputTypes.checkbox,
|
|
668
782
|
},
|
|
783
|
+
advertProductView: {
|
|
784
|
+
title: "turn advertProductView api call on/off",
|
|
785
|
+
description: "Sends the api call for advert ProductView when a user opens pdp or pdp modal",
|
|
786
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/advertProductView",
|
|
787
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
788
|
+
},
|
|
669
789
|
anonymousCart: {
|
|
670
790
|
title: "Anonymous Cart",
|
|
671
791
|
description: "⚠️ Allows the customer to add to cart without being logged in.⚠️ (Setting has side effects)",
|
|
@@ -682,6 +802,10 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
682
802
|
description: "Time in days to remain signed in in the app",
|
|
683
803
|
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
684
804
|
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
805
|
+
options: {
|
|
806
|
+
min: 1,
|
|
807
|
+
max: 999,
|
|
808
|
+
},
|
|
685
809
|
},
|
|
686
810
|
defaultCountry: {
|
|
687
811
|
title: "Default country",
|
|
@@ -704,6 +828,12 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
704
828
|
type: exports.AdminTemplateInputTypes.dropdown,
|
|
705
829
|
options: ["listView", "mapView"],
|
|
706
830
|
},
|
|
831
|
+
showChangeCustomerEmail: {
|
|
832
|
+
title: "Show EDit Customer Email Button",
|
|
833
|
+
description: "Allows users to change their email address",
|
|
834
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3708780694/Default+Tab+View",
|
|
835
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
836
|
+
},
|
|
707
837
|
disableTprPrice: {
|
|
708
838
|
title: "Disable TPR Price",
|
|
709
839
|
description: "Disable the display of tpr pricing",
|
|
@@ -799,7 +929,7 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
799
929
|
// },
|
|
800
930
|
// sections: {
|
|
801
931
|
// title: "Sections",
|
|
802
|
-
// description:
|
|
932
|
+
// description:
|
|
803
933
|
// type: AdminTemplateInputTypes.checkbox,
|
|
804
934
|
// },
|
|
805
935
|
// },
|
|
@@ -844,6 +974,30 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
844
974
|
description: "Force a timeslot selection in order to view checkout",
|
|
845
975
|
type: exports.AdminTemplateInputTypes.checkbox,
|
|
846
976
|
},
|
|
977
|
+
enableSelectToContinueText: {
|
|
978
|
+
title: "Show a message on timeslot selection",
|
|
979
|
+
description: "When enabled, a message will be showed to the users to indicate 'something'",
|
|
980
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
981
|
+
},
|
|
982
|
+
},
|
|
983
|
+
},
|
|
984
|
+
headerLinks: {
|
|
985
|
+
title: "HeaderLinks",
|
|
986
|
+
description: "Allows the user to minimize header links icon text for favorites/past purchases/coupon gallery.",
|
|
987
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/headerLinks",
|
|
988
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
989
|
+
group: { id: 1, name: "General Features" },
|
|
990
|
+
value: {
|
|
991
|
+
enabled: {
|
|
992
|
+
title: "Enable HeaderLinks settings",
|
|
993
|
+
description: "Enable HeaderLinks settings for minimizing header links text",
|
|
994
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
995
|
+
},
|
|
996
|
+
dimension: {
|
|
997
|
+
title: "Value for viewport pixel size",
|
|
998
|
+
description: "Dimension viewport pixel value at which you want the minimization of header link text to occur",
|
|
999
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
1000
|
+
},
|
|
847
1001
|
},
|
|
848
1002
|
},
|
|
849
1003
|
// useContentEngineV2Components: {
|
|
@@ -852,7 +1006,6 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
852
1006
|
// helpLink:
|
|
853
1007
|
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3478618892/Content+Engine+V2+Components",
|
|
854
1008
|
// type: AdminTemplateInputTypes.object,
|
|
855
|
-
// // todo
|
|
856
1009
|
// value: {
|
|
857
1010
|
// HeroBanner: {
|
|
858
1011
|
// description: "Use HeroBanner V2",
|
|
@@ -863,6 +1016,47 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
863
1016
|
// },
|
|
864
1017
|
// } as any,
|
|
865
1018
|
// },
|
|
1019
|
+
scrollToTopButton: {
|
|
1020
|
+
title: "Back to top button",
|
|
1021
|
+
description: "Back to top button settings.",
|
|
1022
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
1023
|
+
value: {
|
|
1024
|
+
enabled: {
|
|
1025
|
+
title: "Enable back to top button",
|
|
1026
|
+
description: "You can select whether a back to top button will appear on the Storefront once the customer begins to scroll down the screen.",
|
|
1027
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
1028
|
+
},
|
|
1029
|
+
percentOffset: {
|
|
1030
|
+
title: "",
|
|
1031
|
+
description: "",
|
|
1032
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
1033
|
+
value: {
|
|
1034
|
+
bottom: {
|
|
1035
|
+
title: "Offset bottom",
|
|
1036
|
+
description: "This is the percentage of the height of the screen that the button will appear from the bottom.",
|
|
1037
|
+
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
1038
|
+
},
|
|
1039
|
+
right: {
|
|
1040
|
+
title: "Offset right",
|
|
1041
|
+
description: "This is the percentage of the width of the screen that the button will appear from the right.",
|
|
1042
|
+
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
1043
|
+
},
|
|
1044
|
+
},
|
|
1045
|
+
},
|
|
1046
|
+
},
|
|
1047
|
+
},
|
|
1048
|
+
showShopAllLink: {
|
|
1049
|
+
title: "Shop all link in mega menu",
|
|
1050
|
+
description: "You can select whether each subcategory in the desktop mega menu should have a “Shop All XXX” link at the top of the list.",
|
|
1051
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
1052
|
+
value: {
|
|
1053
|
+
enabled: {
|
|
1054
|
+
title: "Enable Shop all link in mega menu",
|
|
1055
|
+
description: 'This will display a "Shop All" link at the top of the list of subcategories in the desktop megamenu as is shown on mobile and tablet.',
|
|
1056
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
1057
|
+
},
|
|
1058
|
+
},
|
|
1059
|
+
},
|
|
866
1060
|
},
|
|
867
1061
|
},
|
|
868
1062
|
welcomeModal: {
|
|
@@ -893,12 +1087,23 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
893
1087
|
title: "Open in",
|
|
894
1088
|
description: "",
|
|
895
1089
|
type: exports.AdminTemplateInputTypes.dropdown,
|
|
896
|
-
options: [
|
|
1090
|
+
options: [
|
|
1091
|
+
{
|
|
1092
|
+
value: "_blank",
|
|
1093
|
+
label: "New tab",
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
value: "_self",
|
|
1097
|
+
label: "Same tab",
|
|
1098
|
+
},
|
|
1099
|
+
],
|
|
897
1100
|
},
|
|
898
1101
|
icon: {
|
|
899
1102
|
title: "Icon",
|
|
900
1103
|
description: "",
|
|
901
1104
|
type: exports.AdminTemplateInputTypes.images,
|
|
1105
|
+
options: { requiredFormat: ["svg"] },
|
|
1106
|
+
optional: false,
|
|
902
1107
|
},
|
|
903
1108
|
},
|
|
904
1109
|
},
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IAdminTemplateInputTypes } from "../interfaces/admin-settings-interfaces";
|
|
2
|
+
import { IAdminSharedSettingsTemplate } from "../interfaces/shared-settings-interfaces";
|
|
3
|
+
export declare const AdminSharedTemplateInputTypes: IAdminTemplateInputTypes;
|
|
4
|
+
export declare const AdminSharedSettingsTemplateSFUI: IAdminSharedSettingsTemplate;
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminSharedSettingsTemplateSFUI = exports.AdminSharedTemplateInputTypes = void 0;
|
|
4
|
+
exports.AdminSharedTemplateInputTypes = {
|
|
5
|
+
checkbox: "checkbox",
|
|
6
|
+
collapsableObject: "collapsableObject",
|
|
7
|
+
color: "color",
|
|
8
|
+
dropdown: "dropdown",
|
|
9
|
+
inputChar: "inputChar",
|
|
10
|
+
inputNumber: "inputNumber",
|
|
11
|
+
multiDropdown: "multiDropdown",
|
|
12
|
+
nullObject: "nullObject",
|
|
13
|
+
object: "object",
|
|
14
|
+
images: "images",
|
|
15
|
+
string: "string",
|
|
16
|
+
array: "array",
|
|
17
|
+
storeSelection: "storeSelection",
|
|
18
|
+
};
|
|
19
|
+
exports.AdminSharedSettingsTemplateSFUI = {
|
|
20
|
+
adminPanelOnly: {
|
|
21
|
+
title: "Retailer Details",
|
|
22
|
+
description: "Only used to identify the banner in the admin panel",
|
|
23
|
+
type: exports.AdminSharedTemplateInputTypes.collapsableObject,
|
|
24
|
+
value: {
|
|
25
|
+
bannerName: {
|
|
26
|
+
title: "Retailer Name",
|
|
27
|
+
description: "Set the banner name here.",
|
|
28
|
+
type: exports.AdminSharedTemplateInputTypes.inputChar,
|
|
29
|
+
},
|
|
30
|
+
logoUrl: {
|
|
31
|
+
title: "Retailer Logo",
|
|
32
|
+
description: "Set a logo here to help identify the banner.",
|
|
33
|
+
type: exports.AdminSharedTemplateInputTypes.images,
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
features: {
|
|
38
|
+
title: "Shared Features",
|
|
39
|
+
description: "Global Features for the website and app",
|
|
40
|
+
type: exports.AdminSharedTemplateInputTypes.collapsableObject,
|
|
41
|
+
value: {
|
|
42
|
+
// multilingual: {
|
|
43
|
+
// title: "Multilingual",
|
|
44
|
+
// description:
|
|
45
|
+
// "This will enable the option for customers to select their preferred language for the site.",
|
|
46
|
+
// type: AdminSharedTemplateInputTypes.checkbox,
|
|
47
|
+
// },
|
|
48
|
+
specialRequestItems: {
|
|
49
|
+
title: "Special Request Items",
|
|
50
|
+
description: "",
|
|
51
|
+
message: {
|
|
52
|
+
caption: [
|
|
53
|
+
"This will allow customers to add items to their cart that they cannot find in the catalogue",
|
|
54
|
+
"Entering a Store ID into the “Exclude stores” field will ensure that this feature will not appear on that store.",
|
|
55
|
+
],
|
|
56
|
+
},
|
|
57
|
+
type: exports.AdminSharedTemplateInputTypes.collapsableObject,
|
|
58
|
+
value: {
|
|
59
|
+
enable: {
|
|
60
|
+
title: "Display special requests items link",
|
|
61
|
+
description: "This will display a link at the bottom of product listing screens.",
|
|
62
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/specialRequestItems",
|
|
63
|
+
type: exports.AdminSharedTemplateInputTypes.checkbox,
|
|
64
|
+
},
|
|
65
|
+
excludeStores: {
|
|
66
|
+
title: "Exclude stores",
|
|
67
|
+
description: "Allows you to select specific stores you wish to exlude from offering that ability to purchase special request items.",
|
|
68
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/specialRequestItems",
|
|
69
|
+
type: exports.AdminSharedTemplateInputTypes.storeSelection,
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
//TO BE UNCOMMENTED ONCE FEATURE IS COMPLETE
|
|
74
|
+
// recommendedSubstitutions: {
|
|
75
|
+
// title: "Recommended Substitutions",
|
|
76
|
+
// description: "",
|
|
77
|
+
// message: {
|
|
78
|
+
// caption: [
|
|
79
|
+
// "This will allow customers to select from a list of substitution items when opting to enabled substitutions for a product.",
|
|
80
|
+
// "Entering a Store ID into the stores” field will ensure that this feature will appear on that store.",
|
|
81
|
+
// ],
|
|
82
|
+
// },
|
|
83
|
+
// type: AdminSharedTemplateInputTypes.collapsableObject,
|
|
84
|
+
// value: {
|
|
85
|
+
// enable: {
|
|
86
|
+
// title: "Display recommended substitutions",
|
|
87
|
+
// description:
|
|
88
|
+
// "This will display a modal with recommended substitutions to the user.",
|
|
89
|
+
// helpLink:
|
|
90
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/recommendedSubstitutions",
|
|
91
|
+
// type: AdminSharedTemplateInputTypes.checkbox,
|
|
92
|
+
// },
|
|
93
|
+
// stores: {
|
|
94
|
+
// title: "Stores",
|
|
95
|
+
// description:
|
|
96
|
+
// "Allows you to select specific stores you wish to include in offering recommended substitutions.",
|
|
97
|
+
// helpLink:
|
|
98
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/recommendedSubstitutions",
|
|
99
|
+
// type: AdminSharedTemplateInputTypes.storeSelection,
|
|
100
|
+
// },
|
|
101
|
+
// },
|
|
102
|
+
// },
|
|
103
|
+
//TO BE UNCOMMENTED ONCE FEATURE IS COMPLETE
|
|
104
|
+
// couponGallery: {
|
|
105
|
+
// title: "Coupon Gallery",
|
|
106
|
+
// description: "",
|
|
107
|
+
// type: AdminSharedTemplateInputTypes.collapsableObject,
|
|
108
|
+
// value: {
|
|
109
|
+
// enabled: {
|
|
110
|
+
// title: "Enable coupon gallery",
|
|
111
|
+
// description:
|
|
112
|
+
// "This will display a fully integrated coupon gallery on the storefront and mobile app.",
|
|
113
|
+
// type: AdminSharedTemplateInputTypes.checkbox,
|
|
114
|
+
// },
|
|
115
|
+
// showClipAllCouponsButton: {
|
|
116
|
+
// title: "Show Clip All Coupons Button",
|
|
117
|
+
// description:
|
|
118
|
+
// "This will display the Clip All Coupons Button in the coupon gallery.",
|
|
119
|
+
// type: AdminSharedTemplateInputTypes.checkbox,
|
|
120
|
+
// },
|
|
121
|
+
// },
|
|
122
|
+
// }
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
checkout: {
|
|
126
|
+
title: "Checkout",
|
|
127
|
+
description: "Shared checkout settings",
|
|
128
|
+
type: exports.AdminSharedTemplateInputTypes.collapsableObject,
|
|
129
|
+
value: {
|
|
130
|
+
preserveOrderNote: {
|
|
131
|
+
title: "Order Instructions",
|
|
132
|
+
description: "",
|
|
133
|
+
type: exports.AdminSharedTemplateInputTypes.collapsableObject,
|
|
134
|
+
value: {
|
|
135
|
+
enabled: {
|
|
136
|
+
title: "Enable order instructions saving",
|
|
137
|
+
description: "This will display a checkbox below the order instrucitons comment box in the checkout. If selected the text entered in the comment box will be saved for the customer next order.",
|
|
138
|
+
type: exports.AdminSharedTemplateInputTypes.checkbox,
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
general: {
|
|
145
|
+
title: "General settings",
|
|
146
|
+
description: "",
|
|
147
|
+
type: exports.AdminSharedTemplateInputTypes.collapsableObject,
|
|
148
|
+
value: {
|
|
149
|
+
enableStoreSelectorList: {
|
|
150
|
+
title: "Display list of stores in store selector modal (Planning & Picking)",
|
|
151
|
+
description: "This will display the list of available stores for the planning and pickup store selector modals prior to the user entering their address.",
|
|
152
|
+
type: exports.AdminSharedTemplateInputTypes.checkbox,
|
|
153
|
+
},
|
|
154
|
+
skipStoreSelection: {
|
|
155
|
+
title: "Skip store selection",
|
|
156
|
+
description: "This will skip the enter nearest store modal in the first time user flow if no store is returned. The corporate store will be selected if available otherwise the default store will be used.",
|
|
157
|
+
type: exports.AdminSharedTemplateInputTypes.checkbox,
|
|
158
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/4039704585/Skip+Nearest+Store+Suggestion",
|
|
159
|
+
},
|
|
160
|
+
// addressConfirmationModal: {
|
|
161
|
+
// title: "Enable address confirmation modal",
|
|
162
|
+
// description:
|
|
163
|
+
// "This will display a modal when the customer selects an address from the list of suggestions which will allow them to confirm that they have made the correct selection and complete any remaining required fields. The address finder integration needs to be enabled.",
|
|
164
|
+
// type: AdminSharedTemplateInputTypes.checkbox,
|
|
165
|
+
// },
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
};
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
export declare const CMSComponentNames: {
|
|
2
2
|
Carousel: string;
|
|
3
|
-
SmallCarousel: string;
|
|
4
|
-
Freeform: string;
|
|
5
3
|
ContactUs: string;
|
|
4
|
+
Freeform: string;
|
|
6
5
|
HeroBanner: string;
|
|
7
6
|
Image: string;
|
|
8
|
-
Video: string;
|
|
9
|
-
VideoWithContent: string;
|
|
10
|
-
ImageWithContent: string;
|
|
11
7
|
ImageTextButton: string;
|
|
12
|
-
|
|
13
|
-
SmallImageWithContent: string;
|
|
8
|
+
ImageWithContent: string;
|
|
14
9
|
LargePromotion: string;
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
LayoutExtraLargeBanner2: string;
|
|
11
|
+
PageTopperWithFullBackground: string;
|
|
12
|
+
ProductCardStory: string;
|
|
13
|
+
Recipe: string;
|
|
17
14
|
Sale: string;
|
|
18
15
|
SmallBannerWithBackgroundImage: string;
|
|
19
16
|
SmallBannerWithSupportingImage: string;
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
SmallCarousel: string;
|
|
18
|
+
SmallImageWithContent: string;
|
|
19
|
+
SmallPromotion: string;
|
|
20
|
+
ThreeBannerContainer: string;
|
|
21
|
+
TwoBannerContainer: string;
|
|
22
|
+
Video: string;
|
|
23
|
+
VideoWithContent: string;
|
|
22
24
|
};
|
|
23
25
|
export declare type CMSNames = keyof typeof CMSComponentNames;
|
|
@@ -3,23 +3,25 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CMSComponentNames = void 0;
|
|
4
4
|
exports.CMSComponentNames = {
|
|
5
5
|
Carousel: "Carousel",
|
|
6
|
-
SmallCarousel: "CarouselSmall",
|
|
7
|
-
Freeform: "Freeform",
|
|
8
6
|
ContactUs: "ContactUs",
|
|
7
|
+
Freeform: "Freeform",
|
|
9
8
|
HeroBanner: "HeroBanner",
|
|
10
9
|
Image: "Image",
|
|
11
|
-
Video: "Video",
|
|
12
|
-
VideoWithContent: "VideoWithContent",
|
|
13
|
-
ImageWithContent: "StandardContentBlock3",
|
|
14
10
|
ImageTextButton: "ImageTextButton",
|
|
15
|
-
|
|
16
|
-
SmallImageWithContent: "StackedContentBlock",
|
|
11
|
+
ImageWithContent: "StandardContentBlock3",
|
|
17
12
|
LargePromotion: "LargePromotion",
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
LayoutExtraLargeBanner2: "LayoutExtraLargeBanner2",
|
|
14
|
+
PageTopperWithFullBackground: "PageTopperWithFullBackground",
|
|
15
|
+
ProductCardStory: "ProductCardStory",
|
|
16
|
+
Recipe: "Recipe",
|
|
20
17
|
Sale: "Sale",
|
|
21
18
|
SmallBannerWithBackgroundImage: "StandardContentBlock1",
|
|
22
19
|
SmallBannerWithSupportingImage: "StandardContentBlock2",
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
SmallCarousel: "CarouselSmall",
|
|
21
|
+
SmallImageWithContent: "StackedContentBlock",
|
|
22
|
+
SmallPromotion: "SmallPromotion",
|
|
23
|
+
ThreeBannerContainer: "ThreeBannerContainer",
|
|
24
|
+
TwoBannerContainer: "TwoBannerContainer",
|
|
25
|
+
Video: "Video",
|
|
26
|
+
VideoWithContent: "VideoWithContent",
|
|
25
27
|
};
|