@thryveai/theme-interfaces 2.0.2 → 2.1.1

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.
@@ -0,0 +1,2 @@
1
+ import { IAdminSettingsTemplateSTS } from "./interfaces/admin-settings-interfaces";
2
+ export declare const AdminSettingsTemplateSTS: IAdminSettingsTemplateSTS;
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AdminSettingsTemplateSTS = void 0;
4
+ var SFUISettingsTemplate_AdminUi_1 = require("./SFUISettingsTemplate.AdminUi");
5
+ exports.AdminSettingsTemplateSTS = {
6
+ operatingZone: {
7
+ title: 'Operating Zone',
8
+ description: 'Enables additional charging such as tipping, donations etc.',
9
+ helpLink: 'https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/Additional+Charges',
10
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.dropdown,
11
+ options: ['eu', 'none'],
12
+ },
13
+ customTermPolicy: {
14
+ title: 'Customized Term & Conditions Policy',
15
+ description: 'A way to set the cutom policy',
16
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
17
+ },
18
+ registrationFields: {
19
+ title: 'registrationFields',
20
+ description: 'Use external address integration',
21
+ helpLink: 'https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo',
22
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.object,
23
+ value: {
24
+ phone: {
25
+ title: 'Phone',
26
+ description: 'Capture the customers phone number',
27
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.object,
28
+ value: {
29
+ name: {
30
+ title: 'Input name',
31
+ description: '',
32
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
33
+ },
34
+ label: {
35
+ title: 'Input label',
36
+ description: '',
37
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
38
+ },
39
+ placeholder: {
40
+ title: 'Input placeholder',
41
+ description: '',
42
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
43
+ },
44
+ designVersion: {
45
+ title: 'designVersion',
46
+ description: '',
47
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.dropdown,
48
+ options: ['default', 'other'],
49
+ },
50
+ validationTypes: {
51
+ title: 'Validation',
52
+ description: '',
53
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.multiDropdown,
54
+ options: ['anyPhone', 'usPhone', 'usMobileNumber', 'caPhone', 'auPhone', 'iePhone', 'required'],
55
+ },
56
+ },
57
+ },
58
+ loyaltyId: {
59
+ title: 'loyaltyId',
60
+ description: 'Capture the customers loyalty number',
61
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.object,
62
+ value: {
63
+ name: {
64
+ title: 'Input name',
65
+ description: '',
66
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
67
+ },
68
+ label: {
69
+ title: 'Input label',
70
+ description: '',
71
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
72
+ },
73
+ placeholder: {
74
+ title: 'Input placeholder',
75
+ description: '',
76
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
77
+ },
78
+ designVersion: {
79
+ title: 'designVersion',
80
+ description: '',
81
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.dropdown,
82
+ options: ['default', 'other'],
83
+ },
84
+ validationTypes: {
85
+ title: 'Validation',
86
+ description: '',
87
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.multiDropdown,
88
+ options: ['luhnValidation', 'alphaNumeric', 'alphaOnly', 'noSpecialChar', 'numericOnly', 'required', '{_type: \'exact\', length: 11}'],
89
+ },
90
+ },
91
+ },
92
+ },
93
+ },
94
+ };
@@ -0,0 +1,3 @@
1
+ import { IAdminSettingsTemplate, IAdminTemplateInputTypes } from "../interfaces/admin-settings-interfaces";
2
+ export declare const AdminTemplateInputTypes: IAdminTemplateInputTypes;
3
+ export declare const AdminSettingsTemplateSFUI: IAdminSettingsTemplate;