@thryveai/theme-interfaces 2.7.115 → 2.7.117

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.
Files changed (62) hide show
  1. package/README.md +29 -29
  2. package/package.json +29 -29
  3. package/dist/index.d.ts +0 -38
  4. package/dist/index.js +0 -41
  5. package/dist/interfaces/admin-images-interfaces.d.ts +0 -11
  6. package/dist/interfaces/admin-images-interfaces.js +0 -2
  7. package/dist/interfaces/admin-settings-interfaces.d.ts +0 -73
  8. package/dist/interfaces/admin-settings-interfaces.js +0 -2
  9. package/dist/interfaces/default-settings.interfaces.d.ts +0 -92
  10. package/dist/interfaces/default-settings.interfaces.js +0 -3
  11. package/dist/interfaces/default-theme.interface.d.ts +0 -736
  12. package/dist/interfaces/default-theme.interface.js +0 -2
  13. package/dist/interfaces/icons.interfaces.d.ts +0 -7
  14. package/dist/interfaces/icons.interfaces.js +0 -2
  15. package/dist/interfaces/retailer-settings.interfaces.d.ts +0 -696
  16. package/dist/interfaces/retailer-settings.interfaces.js +0 -2
  17. package/dist/interfaces/shared-settings-interfaces.d.ts +0 -5
  18. package/dist/interfaces/shared-settings-interfaces.js +0 -2
  19. package/dist/interfaces/shared-settings.interfaces.d.ts +0 -31
  20. package/dist/interfaces/shared-settings.interfaces.js +0 -2
  21. package/dist/interfaces/sts-settings.interfaces.d.ts +0 -6
  22. package/dist/interfaces/sts-settings.interfaces.js +0 -2
  23. package/dist/interfaces/theme.interfaces.d.ts +0 -717
  24. package/dist/interfaces/theme.interfaces.js +0 -2
  25. package/dist/mobile/interfaces/mobile-admin-settings.interfaces.d.ts +0 -8
  26. package/dist/mobile/interfaces/mobile-admin-settings.interfaces.js +0 -2
  27. package/dist/mobile/interfaces/mobile-retailer-settings.interfaces.d.ts +0 -58
  28. package/dist/mobile/interfaces/mobile-retailer-settings.interfaces.js +0 -2
  29. package/dist/mobile/reactnative/MobileDefaultSettings.d.ts +0 -6
  30. package/dist/mobile/reactnative/MobileDefaultSettings.js +0 -21
  31. package/dist/mobile/reactnative/MobileSettingsTemplate.AdminUi.d.ts +0 -2
  32. package/dist/mobile/reactnative/MobileSettingsTemplate.AdminUi.js +0 -96
  33. package/dist/storefront/SFUIImagesTemplate.AdminUi.d.ts +0 -2
  34. package/dist/storefront/SFUIImagesTemplate.AdminUi.js +0 -112
  35. package/dist/storefront/SFUISettingsTemplate.AdminUi.d.ts +0 -16
  36. package/dist/storefront/SFUISettingsTemplate.AdminUi.js +0 -1110
  37. package/dist/storefront/SFUISharedSettingsTemplate.AdminUi.d.ts +0 -4
  38. package/dist/storefront/SFUISharedSettingsTemplate.AdminUi.js +0 -132
  39. package/dist/storefront/SFUIThemesTemplate.AdminUi.d.ts +0 -3
  40. package/dist/storefront/SFUIThemesTemplate.AdminUi.js +0 -113
  41. package/dist/storefront/contentEngineComponents.d.ts +0 -25
  42. package/dist/storefront/contentEngineComponents.js +0 -27
  43. package/dist/storefront/defaultIconsStorefront.d.ts +0 -3
  44. package/dist/storefront/defaultIconsStorefront.js +0 -160
  45. package/dist/storefront/defaultImagesStorefront.d.ts +0 -3
  46. package/dist/storefront/defaultImagesStorefront.js +0 -100
  47. package/dist/storefront/defaultSettingsStorefront.d.ts +0 -3
  48. package/dist/storefront/defaultSettingsStorefront.js +0 -395
  49. package/dist/storefront/defaultSharedSettings.d.ts +0 -3
  50. package/dist/storefront/defaultSharedSettings.js +0 -29
  51. package/dist/storefront/defaultThemeStorefront.d.ts +0 -5
  52. package/dist/storefront/defaultThemeStorefront.js +0 -1207
  53. package/dist/storefront/productBadgeAttributes.d.ts +0 -6
  54. package/dist/storefront/productBadgeAttributes.js +0 -31
  55. package/dist/sts/STSImagesTemplate.AdminUi.d.ts +0 -2
  56. package/dist/sts/STSImagesTemplate.AdminUi.js +0 -72
  57. package/dist/sts/STSSettingsTemplate.AdminUi.d.ts +0 -2
  58. package/dist/sts/STSSettingsTemplate.AdminUi.js +0 -30
  59. package/dist/sts/defaultSettingsSts.d.ts +0 -3
  60. package/dist/sts/defaultSettingsSts.js +0 -9
  61. package/dist/theme-templates/index.d.ts +0 -3
  62. package/dist/theme-templates/index.js +0 -8
@@ -1,4 +0,0 @@
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;
@@ -1,132 +0,0 @@
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
- // couponGallery: {
75
- // title: "Coupon Gallery",
76
- // description: "",
77
- // type: AdminSharedTemplateInputTypes.collapsableObject,
78
- // value: {
79
- // enabled: {
80
- // title: "Enable coupon gallery",
81
- // description:
82
- // "This will display a fully integrated coupon gallery on the storefront and mobile app.",
83
- // type: AdminSharedTemplateInputTypes.checkbox,
84
- // },
85
- // },
86
- // }
87
- },
88
- },
89
- checkout: {
90
- title: "Checkout",
91
- description: "Shared checkout settings",
92
- type: exports.AdminSharedTemplateInputTypes.collapsableObject,
93
- value: {
94
- preserveOrderNote: {
95
- title: "Order Instructions",
96
- description: "",
97
- type: exports.AdminSharedTemplateInputTypes.collapsableObject,
98
- value: {
99
- enabled: {
100
- title: "Enable order instructions saving",
101
- 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.",
102
- type: exports.AdminSharedTemplateInputTypes.checkbox,
103
- },
104
- },
105
- },
106
- },
107
- },
108
- general: {
109
- title: "General settings",
110
- description: "",
111
- type: exports.AdminSharedTemplateInputTypes.collapsableObject,
112
- value: {
113
- enableStoreSelectorList: {
114
- title: "Display list of stores in store selector modal (Planning & Picking)",
115
- description: "This will display the list of available stores for the planning and pickup store selector modals prior to the user entering their address.",
116
- type: exports.AdminSharedTemplateInputTypes.checkbox,
117
- },
118
- skipStoreSelection: {
119
- title: "Skip store selection",
120
- 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.",
121
- type: exports.AdminSharedTemplateInputTypes.checkbox,
122
- helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/4039704585/Skip+Nearest+Store+Suggestion",
123
- },
124
- // addressConfirmationModal: {
125
- // title: "Enable address confirmation modal",
126
- // description:
127
- // "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.",
128
- // type: AdminSharedTemplateInputTypes.checkbox,
129
- // },
130
- },
131
- },
132
- };
@@ -1,3 +0,0 @@
1
- import { IAdminThemeTemplateOptions, IAdminThemeTemplateSFUI } from "../interfaces/admin-settings-interfaces";
2
- export declare const AdminThemeTemplateSFUI: IAdminThemeTemplateSFUI;
3
- export declare const AdminThemeTemplateOptions: IAdminThemeTemplateOptions;
@@ -1,113 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.AdminThemeTemplateOptions = exports.AdminThemeTemplateSFUI = void 0;
15
- var SFUISettingsTemplate_AdminUi_1 = require("./SFUISettingsTemplate.AdminUi");
16
- var ColorFields = {
17
- description: " ",
18
- type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.color,
19
- };
20
- var ColorFieldsDescription = 'This color is not used by all themes, so it could be empty.';
21
- exports.AdminThemeTemplateSFUI = {
22
- colors: {
23
- title: "Colors",
24
- description: " ",
25
- type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.object,
26
- value: {
27
- brandColors: {
28
- title: "Brand Colors",
29
- description: "",
30
- type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
31
- value: {
32
- primary1: __assign({ title: "Primary1" }, ColorFields),
33
- primary2: __assign({ title: "Primary2" }, ColorFields),
34
- primary3: __assign({ title: "Primary3" }, ColorFields),
35
- primary4: __assign({ title: "Primary4" }, ColorFields),
36
- primary5: __assign({ title: "Primary5" }, ColorFields),
37
- secondary1: __assign({ title: "Secondary1" }, ColorFields),
38
- secondary2: __assign({ title: "Secondary2" }, ColorFields),
39
- secondary3: __assign({ title: "Secondary3" }, ColorFields),
40
- secondary4: __assign({ title: "Secondary4" }, ColorFields),
41
- secondary5: __assign({ title: "Secondary5" }, ColorFields),
42
- tertiary1: __assign({ title: "Tertiary1" }, ColorFields),
43
- tertiary2: __assign({ title: "Tertiary2" }, ColorFields),
44
- tertiary3: __assign({ title: "Tertiary3" }, ColorFields),
45
- tertiary4: __assign(__assign({ title: "Tertiary4" }, ColorFields), { description: ColorFieldsDescription }),
46
- tertiary5: __assign(__assign({ title: "Tertiary5" }, ColorFields), { description: ColorFieldsDescription }),
47
- }
48
- },
49
- uiColors: {
50
- title: "UI Colors",
51
- description: "",
52
- type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
53
- value: {
54
- success: __assign({ title: "Success" }, ColorFields),
55
- successDark: __assign({ title: "Success Dark" }, ColorFields),
56
- successLight: __assign({ title: "Success Light" }, ColorFields),
57
- warn: __assign({ title: "Warn" }, ColorFields),
58
- warnDark: __assign({ title: "Warn Dark" }, ColorFields),
59
- warnLight: __assign({ title: "Warn Light" }, ColorFields),
60
- alert: __assign({ title: "Alert" }, ColorFields),
61
- alertDark: __assign({ title: "Alert Dark" }, ColorFields),
62
- alertLight: __assign({ title: "Alert Light" }, ColorFields),
63
- promotion1: __assign({ title: "Promotion1" }, ColorFields),
64
- promotion2: __assign({ title: "Promotion2" }, ColorFields),
65
- greyscale1: __assign({ title: "Greyscale1" }, ColorFields),
66
- greyscale2: __assign({ title: "Greyscale2" }, ColorFields),
67
- greyscale3: __assign({ title: "Greyscale3" }, ColorFields),
68
- greyscale4: __assign({ title: "Greyscale4" }, ColorFields),
69
- greyscale5: __assign({ title: "Greyscale5" }, ColorFields),
70
- greyscale6: __assign({ title: "Greyscale6" }, ColorFields),
71
- greyscale7: __assign({ title: "Greyscale7" }, ColorFields),
72
- }
73
- },
74
- },
75
- },
76
- // typography: {
77
- // title: "Typography",
78
- // description: "",
79
- // type: AdminTemplateInputTypes.object,
80
- // value: {
81
- // text: {
82
- // title: "Text",
83
- // description: "",
84
- // type: AdminTemplateInputTypes.collapsableObject,
85
- // value: {
86
- // body: {
87
- // title: "Body",
88
- // description: "Main font styles for the body text",
89
- // type: AdminTemplateInputTypes.collapsableObject,
90
- // value: {
91
- // fontFamily: {
92
- // title: "Font Family",
93
- // description: "",
94
- // type: AdminTemplateInputTypes.inputChar
95
- // },
96
- // color: {
97
- // title: "Color",
98
- // description: "",
99
- // type: AdminTemplateInputTypes.inputChar
100
- // },
101
- // }
102
- // }
103
- // }
104
- // },
105
- // }
106
- // }
107
- };
108
- exports.AdminThemeTemplateOptions = {
109
- title: 'Retailer Theme Template',
110
- description: 'Please read the documentation before selecting a template.',
111
- helpLink: 'https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304521749/Admin+UI+Themes',
112
- options: ["Default STS", "Default Storefront"],
113
- };
@@ -1,25 +0,0 @@
1
- export declare const CMSComponentNames: {
2
- Carousel: string;
3
- ContactUs: string;
4
- Freeform: string;
5
- HeroBanner: string;
6
- Image: string;
7
- ImageTextButton: string;
8
- ImageWithContent: string;
9
- LargePromotion: string;
10
- LayoutExtraLargeBanner2: string;
11
- PageTopperWithFullBackground: string;
12
- ProductCardStory: string;
13
- Recipe: string;
14
- Sale: string;
15
- SmallBannerWithBackgroundImage: string;
16
- SmallBannerWithSupportingImage: string;
17
- SmallCarousel: string;
18
- SmallImageWithContent: string;
19
- SmallPromotion: string;
20
- ThreeBannerContainer: string;
21
- TwoBannerContainer: string;
22
- Video: string;
23
- VideoWithContent: string;
24
- };
25
- export declare type CMSNames = keyof typeof CMSComponentNames;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CMSComponentNames = void 0;
4
- exports.CMSComponentNames = {
5
- Carousel: "Carousel",
6
- ContactUs: "ContactUs",
7
- Freeform: "Freeform",
8
- HeroBanner: "HeroBanner",
9
- Image: "Image",
10
- ImageTextButton: "ImageTextButton",
11
- ImageWithContent: "StandardContentBlock3",
12
- LargePromotion: "LargePromotion",
13
- LayoutExtraLargeBanner2: "LayoutExtraLargeBanner2",
14
- PageTopperWithFullBackground: "PageTopperWithFullBackground",
15
- ProductCardStory: "ProductCardStory",
16
- Recipe: "Recipe",
17
- Sale: "Sale",
18
- SmallBannerWithBackgroundImage: "StandardContentBlock1",
19
- SmallBannerWithSupportingImage: "StandardContentBlock2",
20
- SmallCarousel: "CarouselSmall",
21
- SmallImageWithContent: "StackedContentBlock",
22
- SmallPromotion: "SmallPromotion",
23
- ThreeBannerContainer: "ThreeBannerContainer",
24
- TwoBannerContainer: "TwoBannerContainer",
25
- Video: "Video",
26
- VideoWithContent: "VideoWithContent",
27
- };
@@ -1,3 +0,0 @@
1
- import { IIconsObject } from "../interfaces/icons.interfaces";
2
- declare const DefaultIconsSFUI: IIconsObject;
3
- export default DefaultIconsSFUI;