@thryveai/theme-interfaces 1.5.24-beta2 → 1.5.25
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/admin-settings-interfaces.d.ts +1 -0
- package/admin-settings-template.js +6 -0
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ export declare type IAdminTemplateInputTypes = {
|
|
|
5
5
|
export interface IAdminSettingsTemplate {
|
|
6
6
|
adminPanelOnly: IAdminControl;
|
|
7
7
|
accountPage: IAdminControl;
|
|
8
|
+
additionalCharges: IAdminControl;
|
|
8
9
|
addressValidationTypes: IAdminControl;
|
|
9
10
|
allowInStorePurchases: IAdminControl;
|
|
10
11
|
allowPastPurchases: IAdminControl;
|
|
@@ -46,6 +46,12 @@ exports.AdminSettingsTemplate = {
|
|
|
46
46
|
},
|
|
47
47
|
},
|
|
48
48
|
},
|
|
49
|
+
additionalCharges: {
|
|
50
|
+
title: "Additional Charges",
|
|
51
|
+
description: "Enables additional charging such as tipping, donations etc.",
|
|
52
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
53
|
+
type: "checkbox",
|
|
54
|
+
},
|
|
49
55
|
allowInStorePurchases: {
|
|
50
56
|
title: "InStore Purchases",
|
|
51
57
|
description: "Show the purchases made in store in the order history (requires integration).",
|
package/index.d.ts
CHANGED
|
@@ -3,9 +3,10 @@ import { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames, IconNamesToFi
|
|
|
3
3
|
import { ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource } from "./theme.interfaces";
|
|
4
4
|
import { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource } from "./default-theme.interface";
|
|
5
5
|
import AdminSettingsTemplate from "./admin-settings-template";
|
|
6
|
+
import { AdminTemplateInputTypes } from "./admin.interfaces";
|
|
6
7
|
import defaultConfig from "./default.config";
|
|
7
8
|
export { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource, };
|
|
8
9
|
export { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames, IconNamesToFiles, };
|
|
9
10
|
export { IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IAllSettings, ISMSConfig, IDefaultRetailerSettings, ICtaButtons, IAddressesSettings, IAccountPageSettings, ILayoutSettings, ILoggingLevel, IDefaultSearchParams, IDefaultStoreLocation, IDefaultCounty, IRetailerCountry, IRestrictMapPlaces, IValidationType, INutritionZone, IFooterTypes, IRegistrationFieldTypes, IRegistrationFieldNames, IValidateLength, IValidateDateRange, IRegistrationField, ICheckoutValidation, ISearchPreviewVisibility, IPaymentCards, IGlobalAnimations, ILayoutAnimationsConfetti, IGlobalCheckoutProps, IAddressIntegration, IAddressFinderType, };
|
|
10
|
-
export { AdminSettingsTemplate };
|
|
11
|
+
export { AdminSettingsTemplate, AdminTemplateInputTypes };
|
|
11
12
|
export { defaultConfig };
|
package/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultConfig = exports.AdminSettingsTemplate = exports.IconNamesToFiles = void 0;
|
|
3
|
+
exports.defaultConfig = exports.AdminTemplateInputTypes = exports.AdminSettingsTemplate = exports.IconNamesToFiles = void 0;
|
|
4
4
|
var icons_interfaces_1 = require("./icons.interfaces");
|
|
5
5
|
Object.defineProperty(exports, "IconNamesToFiles", { enumerable: true, get: function () { return icons_interfaces_1.IconNamesToFiles; } });
|
|
6
6
|
var admin_settings_template_1 = require("./admin-settings-template");
|
|
7
7
|
exports.AdminSettingsTemplate = admin_settings_template_1.default;
|
|
8
|
+
var admin_interfaces_1 = require("./admin.interfaces");
|
|
9
|
+
Object.defineProperty(exports, "AdminTemplateInputTypes", { enumerable: true, get: function () { return admin_interfaces_1.AdminTemplateInputTypes; } });
|
|
8
10
|
var default_config_1 = require("./default.config");
|
|
9
11
|
exports.defaultConfig = default_config_1.default;
|