mod-build 4.0.41 → 4.0.42-beta-3

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 (33) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +1 -1
  3. package/public/resources/scripts/geolocation/geolocation.min.js +2 -0
  4. package/src/data/trade-questions/alerts_medical.js +109 -0
  5. package/src/data/trade-questions/bathroom_refacing.js +94 -0
  6. package/src/data/trade-questions/cabinet_refacing.js +249 -0
  7. package/src/data/trade-questions/cabinets.js +34 -0
  8. package/src/data/trade-questions/concrete_foundation.js +55 -0
  9. package/src/data/trade-questions/door.js +141 -0
  10. package/src/data/trade-questions/flooring.js +184 -0
  11. package/src/data/trade-questions/garage_door.js +87 -0
  12. package/src/data/trade-questions/gutters.js +44 -0
  13. package/src/data/trade-questions/home_security.js +129 -0
  14. package/src/data/trade-questions/home_warranty.js +55 -0
  15. package/src/data/trade-questions/hot_tubs.js +90 -0
  16. package/src/data/trade-questions/hvac.js +174 -0
  17. package/src/data/trade-questions/index.js +23 -0
  18. package/src/data/trade-questions/insulation.js +116 -0
  19. package/src/data/trade-questions/plumbing.js +258 -0
  20. package/src/data/trade-questions/roofing.js +116 -0
  21. package/src/data/trade-questions/siding.js +145 -0
  22. package/src/data/trade-questions/solar.js +67 -0
  23. package/src/data/trade-questions/stair_lifts.js +45 -0
  24. package/src/data/trade-questions/tree_services.js +159 -0
  25. package/src/data/trade-questions/walk_in_tubs.js +45 -0
  26. package/src/data/trade-questions/water_treatment.js +44 -0
  27. package/src/data/trade-questions/windows.js +130 -0
  28. package/src/data/trade-questions-config.js +137 -0
  29. package/src/resources/templates/modals/e-sign-consent/index.hbs +35 -0
  30. package/src/resources/templates/modals/e-sign-consent/index.html +35 -0
  31. package/tasks/get-default-trade-questions.js +153 -0
  32. package/tasks/serve.js +2 -0
  33. package/vite.config.js +3 -0
@@ -0,0 +1,184 @@
1
+ export const flooring = {
2
+ ProductService: {
3
+ fields: [
4
+ {
5
+ legend: {
6
+ text: 'What type of flooring are you looking for?'
7
+ },
8
+ options: [
9
+ {
10
+ attributes: {
11
+ name: 'ProductService',
12
+ value: 'FLOORING_LAMINATE',
13
+ checked: '',
14
+ data: {
15
+ required: 'nonempty'
16
+ }
17
+ },
18
+ text: 'Laminate'
19
+ },
20
+ {
21
+ attributes: {
22
+ name: 'ProductService',
23
+ value: 'FLOORING_HARDWOOD',
24
+ data: {
25
+ required: 'nonempty'
26
+ }
27
+ },
28
+ text: 'Hardwood'
29
+ },
30
+ {
31
+ attributes: {
32
+ name: 'ProductService',
33
+ value: 'CARPET',
34
+ data: {
35
+ required: 'nonempty'
36
+ }
37
+ },
38
+ wrapper: {
39
+ attributes: {
40
+ class: 'hidden ProductService-carpet'
41
+ }
42
+ },
43
+ text: 'Carpet'
44
+ },
45
+ {
46
+ attributes: {
47
+ name: 'ProductService',
48
+ value: 'FLOORING_TILE',
49
+ data: {
50
+ required: 'nonempty'
51
+ }
52
+ },
53
+ text: 'Tile'
54
+ },
55
+ {
56
+ attributes: {
57
+ name: 'ProductService',
58
+ value: 'FLOORING_VINYL_LINOLEUM',
59
+ data: {
60
+ required: 'nonempty'
61
+ }
62
+ },
63
+ text: 'Vinyl'
64
+ },
65
+ {
66
+ attributes: {
67
+ name: 'ProductService',
68
+ value: 'FLOORING_VINYL_LINOLEUM',
69
+ data: {
70
+ required: 'nonempty'
71
+ }
72
+ },
73
+ text: 'Luxury Vinyl Tiles/LVT'
74
+ }
75
+ ]
76
+ }
77
+ ]
78
+ },
79
+ FlooringProjectScope: {
80
+ fields: [
81
+ {
82
+ legend: {
83
+ text: 'Which of these best describes your needs?'
84
+ },
85
+ options: [
86
+ {
87
+ attributes: {
88
+ name: 'FlooringProjectScope',
89
+ value: 'Install',
90
+ checked: '',
91
+ data: {
92
+ required: 'nonempty'
93
+ }
94
+ },
95
+ text: 'Install new flooring'
96
+ },
97
+ {
98
+ attributes: {
99
+ name: 'FlooringProjectScope',
100
+ value: 'Repair',
101
+ data: {
102
+ required: 'nonempty'
103
+ }
104
+ },
105
+ text: 'Repair existing flooring'
106
+ },
107
+ {
108
+ attributes: {
109
+ name: 'FlooringProjectScope',
110
+ value: 'Refinishing',
111
+ data: {
112
+ required: 'nonempty'
113
+ }
114
+ },
115
+ text: 'Refinish existing hardwood flooring'
116
+ }
117
+ ]
118
+ }
119
+ ]
120
+ },
121
+ MaterialPurchase: {
122
+ fields: [
123
+ {
124
+ legend: {
125
+ text: 'Have you already purchased the material you need?'
126
+ },
127
+ options: [
128
+ {
129
+ attributes: {
130
+ name: 'MaterialPurchase',
131
+ value: 'Yes',
132
+ checked: '',
133
+ data: {
134
+ required: 'nonempty'
135
+ }
136
+ },
137
+ text: 'Yes'
138
+ },
139
+ {
140
+ attributes: {
141
+ name: 'MaterialPurchase',
142
+ value: 'No',
143
+ data: {
144
+ required: 'nonempty'
145
+ }
146
+ },
147
+ text: 'No'
148
+ }
149
+ ]
150
+ }
151
+ ]
152
+ },
153
+ CommercialLocation: {
154
+ fields: [
155
+ {
156
+ legend: {
157
+ text: 'What kind of location is this?'
158
+ },
159
+ options: [
160
+ {
161
+ attributes: {
162
+ name: 'CommercialLocation',
163
+ value: 'Home',
164
+ data: {
165
+ required: 'nonempty'
166
+ }
167
+ },
168
+ text: 'Home'
169
+ },
170
+ {
171
+ attributes: {
172
+ name: 'CommercialLocation',
173
+ value: 'Business',
174
+ data: {
175
+ required: 'nonempty'
176
+ }
177
+ },
178
+ text: 'Business'
179
+ }
180
+ ]
181
+ }
182
+ ]
183
+ }
184
+ };
@@ -0,0 +1,87 @@
1
+ /* eslint-disable */
2
+ export const garage_door = {
3
+ ProjectScope: {
4
+ fields: [
5
+ {
6
+ legend: {
7
+ text: 'What is the nature of your project?'
8
+ },
9
+ options: [
10
+ {
11
+ text: 'Replace',
12
+ attributes: {
13
+ name: 'ProjectScope',
14
+ value: 'Replace',
15
+ checked: '',
16
+ data: {
17
+ required: 'nonempty'
18
+ }
19
+ }
20
+ },
21
+ {
22
+ text: 'Repair',
23
+ attributes: {
24
+ name: 'ProjectScope',
25
+ value: 'Repair',
26
+ data: {
27
+ required: 'nonempty'
28
+ }
29
+ }
30
+ }
31
+ ]
32
+ }
33
+ ]
34
+ },
35
+ GarageDoorSize: {
36
+ fields: [
37
+ {
38
+ legend: {
39
+ text: 'What size do you need?'
40
+ },
41
+ options: [
42
+ {
43
+ text: 'One Car',
44
+ attributes: {
45
+ name: 'GarageDoorSize',
46
+ value: 'One Car',
47
+ checked: '',
48
+ data: {
49
+ required: 'nonempty'
50
+ }
51
+ }
52
+ },
53
+ {
54
+ text: 'Two Car',
55
+ attributes: {
56
+ name: 'GarageDoorSize',
57
+ value: 'Two Car',
58
+ data: {
59
+ required: 'nonempty'
60
+ }
61
+ }
62
+ },
63
+ {
64
+ text: 'RV',
65
+ attributes: {
66
+ name: 'GarageDoorSize',
67
+ value: 'RV',
68
+ data: {
69
+ required: 'nonempty'
70
+ }
71
+ }
72
+ },
73
+ {
74
+ text: 'Custom',
75
+ attributes: {
76
+ name: 'GarageDoorSize',
77
+ value: 'Custom',
78
+ data: {
79
+ required: 'nonempty'
80
+ }
81
+ }
82
+ }
83
+ ]
84
+ }
85
+ ]
86
+ }
87
+ };
@@ -0,0 +1,44 @@
1
+ export const gutters = {
2
+ ProductService: {
3
+ fields: [
4
+ {
5
+ legend: {
6
+ text: 'What kind of service are you looking for?'
7
+ },
8
+ options: [
9
+ {
10
+ text: 'Gutter Installation',
11
+ attributes: {
12
+ name: 'ProductService',
13
+ value: 'GUTTERS',
14
+ checked: '',
15
+ data: {
16
+ required: 'nonempty'
17
+ }
18
+ }
19
+ },
20
+ {
21
+ text: 'Gutter Guard',
22
+ attributes: {
23
+ name: 'ProductService',
24
+ value: 'GUTTER_COVERS',
25
+ data: {
26
+ required: 'nonempty'
27
+ }
28
+ }
29
+ },
30
+ {
31
+ text: 'Gutter Repair',
32
+ attributes: {
33
+ name: 'ProductService',
34
+ value: 'GUTTERS_REPAIR',
35
+ data: {
36
+ required: 'nonempty'
37
+ }
38
+ }
39
+ }
40
+ ]
41
+ }
42
+ ]
43
+ }
44
+ };
@@ -0,0 +1,129 @@
1
+ /* eslint-disable */
2
+ export const home_security = {
3
+ HomeSecurityProjectScope: {
4
+ fields: [
5
+ {
6
+ legend: {
7
+ text: 'What kind of service do you need?'
8
+ },
9
+ options: [
10
+ {
11
+ text: 'New System Installation',
12
+ attributes: {
13
+ name: 'HomeSecurityProjectScope',
14
+ value: 'Install',
15
+ checked: '',
16
+ data: {
17
+ required: 'nonempty'
18
+ }
19
+ }
20
+ },
21
+ {
22
+ text: 'Reactivate an Existing System',
23
+ attributes: {
24
+ name: 'HomeSecurityProjectScope',
25
+ value: 'Reactivate',
26
+ data: {
27
+ required: 'nonempty'
28
+ }
29
+ }
30
+ },
31
+ {
32
+ text: 'Equipment Only (No Monitoring Service)',
33
+ attributes: {
34
+ name: 'HomeSecurityProjectScope',
35
+ value: 'Equipment',
36
+ data: {
37
+ required: 'nonempty'
38
+ }
39
+ }
40
+ }
41
+ ]
42
+ }
43
+ ]
44
+ },
45
+ SecuritySystemInstallationType: {
46
+ fields: [
47
+ {
48
+ legend: {
49
+ text: 'What is your installation preference?'
50
+ },
51
+ options: [
52
+ {
53
+ text: 'Professional Installation',
54
+ attributes: {
55
+ name: 'SecuritySystemInstallationType',
56
+ value: 'ProfessionalInstall',
57
+ checked: '',
58
+ data: {
59
+ required: 'nonempty'
60
+ }
61
+ }
62
+ },
63
+ {
64
+ text: 'Self Installation',
65
+ attributes: {
66
+ name: 'SecuritySystemInstallationType',
67
+ value: 'SelfInstall',
68
+ data: {
69
+ required: 'nonempty'
70
+ }
71
+ }
72
+ },
73
+ {
74
+ text: 'No Preference',
75
+ attributes: {
76
+ name: 'SecuritySystemInstallationType',
77
+ value: 'NoPreference',
78
+ data: {
79
+ required: 'nonempty'
80
+ }
81
+ }
82
+ }
83
+ ]
84
+ }
85
+ ]
86
+ },
87
+ CommercialLocation: {
88
+ fields: [
89
+ {
90
+ legend: {
91
+ text: 'What type of property is this system for?'
92
+ },
93
+ options: [
94
+ {
95
+ text: 'Owned',
96
+ attributes: {
97
+ name: 'CommercialLocation',
98
+ value: 'Home',
99
+ checked: '',
100
+ data: {
101
+ required: 'nonempty'
102
+ }
103
+ }
104
+ },
105
+ {
106
+ text: 'Rented',
107
+ attributes: {
108
+ name: 'CommercialLocation',
109
+ value: 'Homerent',
110
+ data: {
111
+ required: 'nonempty'
112
+ }
113
+ }
114
+ },
115
+ {
116
+ text: 'Business',
117
+ attributes: {
118
+ name: 'CommercialLocation',
119
+ value: 'Commercial',
120
+ data: {
121
+ required: 'nonempty'
122
+ }
123
+ }
124
+ }
125
+ ]
126
+ }
127
+ ]
128
+ }
129
+ };
@@ -0,0 +1,55 @@
1
+ /* eslint-disable */
2
+ export const home_warranty = {
3
+ Interest: {
4
+ fields: [
5
+ {
6
+ legend: {
7
+ text: 'Why are you interested in a home warranty?'
8
+ },
9
+ options: [
10
+ {
11
+ attributes: {
12
+ name: 'Interest',
13
+ value: 'BuyHome',
14
+ checked: '',
15
+ data: {
16
+ required: 'nonempty'
17
+ }
18
+ },
19
+ text: 'I\'m in the process of buying a home'
20
+ },
21
+ {
22
+ attributes: {
23
+ name: 'Interest',
24
+ value: 'ProtectHome',
25
+ data: {
26
+ required: 'nonempty'
27
+ }
28
+ },
29
+ text: 'I need protection for my current home'
30
+ },
31
+ {
32
+ attributes: {
33
+ name: 'Interest',
34
+ value: 'RealEstateProfessional',
35
+ data: {
36
+ required: 'nonempty'
37
+ }
38
+ },
39
+ text: 'I\'m a real estate professional'
40
+ },
41
+ {
42
+ attributes: {
43
+ name: 'Interest',
44
+ value: 'Other',
45
+ data: {
46
+ required: 'nonempty'
47
+ }
48
+ },
49
+ text: 'Other'
50
+ }
51
+ ]
52
+ }
53
+ ]
54
+ }
55
+ };
@@ -0,0 +1,90 @@
1
+ /* eslint-disable */
2
+ export const hot_tubs = {
3
+ HotTubUse: {
4
+ fields: [
5
+ {
6
+ legend: {
7
+ text: 'What do you want to use your hot tub for?'
8
+ },
9
+ options: [
10
+ {
11
+ text: 'Relaxation',
12
+ attributes: {
13
+ name: 'HotTubUse',
14
+ value: 'Relaxation',
15
+ checked: '',
16
+ data: {
17
+ required: 'nonempty'
18
+ }
19
+ }
20
+ },
21
+ {
22
+ text: 'Pain Relief & Healthy Benefits',
23
+ attributes: {
24
+ name: 'HotTubUse',
25
+ value: 'PainAndHealth',
26
+ data: {
27
+ required: 'nonempty'
28
+ }
29
+ }
30
+ },
31
+ {
32
+ text: 'Others',
33
+ attributes: {
34
+ name: 'HotTubUse',
35
+ value: 'Other',
36
+ data: {
37
+ required: 'nonempty'
38
+ }
39
+ }
40
+ }
41
+ ]
42
+ }
43
+ ]
44
+ },
45
+ HotTubType: {
46
+ fields: [
47
+ {
48
+ legend: {
49
+ text: 'What size tub do you need?'
50
+ },
51
+ options: [
52
+ {
53
+ text: 'Large (7+ people)',
54
+
55
+ attributes: {
56
+ name: 'HotTubType',
57
+ value: 'Large',
58
+ checked: '',
59
+ data: {
60
+ required: 'nonempty'
61
+ }
62
+ }
63
+ },
64
+ {
65
+ text: 'Medium (4-6 people)',
66
+
67
+ attributes: {
68
+ name: 'HotTubType',
69
+ value: 'Medium',
70
+ data: {
71
+ required: 'nonempty'
72
+ }
73
+ }
74
+ },
75
+ {
76
+ text: 'Small (2-3 people)',
77
+
78
+ attributes: {
79
+ name: 'HotTubType',
80
+ value: 'Small',
81
+ data: {
82
+ required: 'nonempty'
83
+ }
84
+ }
85
+ }
86
+ ]
87
+ }
88
+ ]
89
+ }
90
+ };