mod-build 3.7.13 → 3.7.14

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 (32) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/gulp-tasks/build.js +4 -4
  3. package/gulp-tasks/get-default-trade-questions.js +155 -0
  4. package/gulp-tasks/serve.js +5 -5
  5. package/gulp-tasks/tasks.js +11 -0
  6. package/gulp-tasks/templates.js +4 -4
  7. package/package.json +1 -1
  8. package/src/trade-questions/alerts_medical.js +111 -0
  9. package/src/trade-questions/bathroom_refacing.js +96 -0
  10. package/src/trade-questions/cabinet_refacing.js +251 -0
  11. package/src/trade-questions/cabinets.js +35 -0
  12. package/src/trade-questions/concrete_foundation.js +57 -0
  13. package/src/trade-questions/door.js +143 -0
  14. package/src/trade-questions/flooring.js +185 -0
  15. package/src/trade-questions/garage_door.js +89 -0
  16. package/src/trade-questions/gutters.js +45 -0
  17. package/src/trade-questions/home_security.js +130 -0
  18. package/src/trade-questions/home_warranty.js +57 -0
  19. package/src/trade-questions/hot_tubs.js +92 -0
  20. package/src/trade-questions/hvac.js +179 -0
  21. package/src/trade-questions/index.js +26 -0
  22. package/src/trade-questions/insulation.js +118 -0
  23. package/src/trade-questions/plumbing.js +260 -0
  24. package/src/trade-questions/roofing.js +118 -0
  25. package/src/trade-questions/siding.js +147 -0
  26. package/src/trade-questions/solar.js +69 -0
  27. package/src/trade-questions/stair_lifts.js +47 -0
  28. package/src/trade-questions/tree_services.js +161 -0
  29. package/src/trade-questions/walk_in_tubs.js +47 -0
  30. package/src/trade-questions/water_treatment.js +46 -0
  31. package/src/trade-questions/windows.js +132 -0
  32. package/src/trade-questions-config.js +139 -0
@@ -0,0 +1,251 @@
1
+ /* eslint-disable */
2
+ const cabinet_refacing = {
3
+ service: {
4
+ fields: [
5
+ {
6
+ legend: {
7
+ text: 'Which of these best describes your needs?'
8
+ },
9
+ options: [
10
+ {
11
+ text: 'I want a full kitchen remodel',
12
+ attributes: {
13
+ name: 'service',
14
+ value: 'KITCHEN_REMODEL',
15
+ checked: '',
16
+ data: {
17
+ required: 'nonempty'
18
+ }
19
+ }
20
+ },
21
+ {
22
+ text: 'I want new cabinets',
23
+ attributes: {
24
+ name: 'service',
25
+ value: 'CABINET_INSTALL',
26
+ data: {
27
+ required: 'nonempty'
28
+ }
29
+ }
30
+ },
31
+ {
32
+ text: 'I want to reface my cabinets',
33
+ attributes: {
34
+ name: 'service',
35
+ value: 'CABINET_REFACING',
36
+ data: {
37
+ required: 'nonempty'
38
+ }
39
+ }
40
+ },
41
+ {
42
+ text: 'I want new countertops',
43
+ attributes: {
44
+ name: 'service',
45
+ value: 'COUNTERTOP',
46
+ data: {
47
+ required: 'nonempty'
48
+ }
49
+ }
50
+ }
51
+ ]
52
+ }
53
+ ]
54
+ },
55
+ OptIn: {
56
+ fields: [
57
+ {
58
+ legend: {
59
+ text: 'Will you need to add or remove walls?'
60
+ },
61
+ options: [
62
+ {
63
+ text: 'Yes',
64
+ attributes: {
65
+ name: 'OptIn',
66
+ value: 'Yes',
67
+ data: {
68
+ required: 'nonempty'
69
+ }
70
+ }
71
+ },
72
+ {
73
+ text: 'No',
74
+ attributes: {
75
+ name: 'OptIn',
76
+ value: 'No',
77
+ data: {
78
+ required: 'nonempty'
79
+ }
80
+ }
81
+ },
82
+ {
83
+ text: 'Not Sure',
84
+ attributes: {
85
+ name: 'OptIn',
86
+ value: 'No',
87
+ data: {
88
+ required: 'nonempty'
89
+ }
90
+ }
91
+ }
92
+ ]
93
+ }
94
+ ]
95
+ },
96
+ CountertopType: {
97
+ fields: [
98
+ {
99
+ legend: {
100
+ text: 'What type of countertop are you looking for?'
101
+ },
102
+ options: [
103
+ {
104
+ text: 'Concrete',
105
+ attributes: {
106
+ name: 'CountertopType',
107
+ value: 'Concrete',
108
+ data: {
109
+ required: 'nonempty'
110
+ }
111
+ }
112
+ },
113
+ {
114
+ text: 'Laminate',
115
+ attributes: {
116
+ name: 'CountertopType',
117
+ value: 'Laminate',
118
+ data: {
119
+ required: 'nonempty'
120
+ }
121
+ }
122
+ },
123
+ {
124
+ text: 'Other Solid Stone',
125
+ attributes: {
126
+ name: 'CountertopType',
127
+ value: 'OtherSolidStone',
128
+ data: {
129
+ required: 'nonempty'
130
+ }
131
+ }
132
+ },
133
+ {
134
+ text: 'Stainless Steel',
135
+ attributes: {
136
+ name: 'CountertopType',
137
+ value: 'StainlessSteel',
138
+ data: {
139
+ required: 'nonempty'
140
+ }
141
+ }
142
+ },
143
+ {
144
+ text: 'Granite',
145
+ attributes: {
146
+ name: 'CountertopType',
147
+ value: 'Granite',
148
+ data: {
149
+ required: 'nonempty'
150
+ }
151
+ }
152
+ },
153
+ {
154
+ text: 'Marble',
155
+ attributes: {
156
+ name: 'CountertopType',
157
+ value: 'Marble',
158
+ data: {
159
+ required: 'nonempty'
160
+ }
161
+ }
162
+ },
163
+ {
164
+ text: 'Solid Surface',
165
+ attributes: {
166
+ name: 'CountertopType',
167
+ value: 'Solid Surface',
168
+ data: {
169
+ required: 'nonempty'
170
+ }
171
+ }
172
+ },
173
+ {
174
+ text: 'Wood',
175
+ attributes: {
176
+ name: 'CountertopType',
177
+ value: 'Wood',
178
+ data: {
179
+ required: 'nonempty'
180
+ }
181
+ }
182
+ }
183
+ ]
184
+ }
185
+ ]
186
+ },
187
+ CountertopProjectScope: {
188
+ fields: [
189
+ {
190
+ legend: {
191
+ text: 'What do you need to do with your countertop?'
192
+ },
193
+ options: [
194
+ {
195
+ text: 'Install a new countertop',
196
+ attributes: {
197
+ name: 'CountertopProjectScope',
198
+ value: 'Install',
199
+ data: {
200
+ required: 'nonempty'
201
+ }
202
+ }
203
+ },
204
+ {
205
+ text: 'Repair existing countertop',
206
+ attributes: {
207
+ name: 'CountertopProjectScope',
208
+ value: 'Repair',
209
+ data: {
210
+ required: 'nonempty'
211
+ }
212
+ }
213
+ }
214
+ ]
215
+ }
216
+ ]
217
+ },
218
+ CommercialLocation: {
219
+ fields: [
220
+ {
221
+ legend: {
222
+ text: 'What kind of location is this?'
223
+ },
224
+ options: [
225
+ {
226
+ text: 'Home',
227
+ attributes: {
228
+ name: 'CommercialLocation',
229
+ value: 'Home',
230
+ data: {
231
+ required: 'nonempty'
232
+ }
233
+ }
234
+ },
235
+ {
236
+ text: 'Business',
237
+ attributes: {
238
+ name: 'CommercialLocation',
239
+ value: 'Business',
240
+ data: {
241
+ required: 'nonempty'
242
+ }
243
+ }
244
+ }
245
+ ]
246
+ }
247
+ ]
248
+ }
249
+ };
250
+
251
+ module.exports = cabinet_refacing;
@@ -0,0 +1,35 @@
1
+ const cabinets = {
2
+ ProductService: {
3
+ fields: [
4
+ {
5
+ legend: {
6
+ text: 'Which are you interested in?'
7
+ },
8
+ options: [
9
+ {
10
+ text: 'Kitchen Cabinet Install',
11
+ attributes: {
12
+ name: 'ProductService',
13
+ value: 'CABINET_INSTALL',
14
+ checked: '',
15
+ data: {
16
+ required: 'nonempty'
17
+ }
18
+ }
19
+ },
20
+ {
21
+ text: 'Kitchen Cabinet Refacing',
22
+ attributes: {
23
+ name: 'ProductService',
24
+ value: 'CABINET_REFACING',
25
+ data: {
26
+ required: 'nonempty'
27
+ }
28
+ }
29
+ }
30
+ ]
31
+ }
32
+ ]
33
+ }
34
+ };
35
+ module.exports = cabinets;
@@ -0,0 +1,57 @@
1
+ /* eslint-disable */
2
+ const concrete_foundation = {
3
+ ServiceDetails: {
4
+ fields: [
5
+ {
6
+ legend: {
7
+ text: 'What is the nature of your project?'
8
+ },
9
+ options: [
10
+ {
11
+ attributes: {
12
+ name: 'service',
13
+ value: 'CONCRETE_FOUNDATION',
14
+ checked: '',
15
+ data: {
16
+ required: 'nonempty'
17
+ }
18
+ },
19
+ text: 'Foundation Repair'
20
+ },
21
+ {
22
+ attributes: {
23
+ name: 'service',
24
+ value: 'BASEMENT_WATERPROOFING',
25
+ data: {
26
+ required: 'nonempty'
27
+ }
28
+ },
29
+ text: 'Basement Waterproofing'
30
+ },
31
+ {
32
+ attributes: {
33
+ name: 'service',
34
+ value: 'CRAWLSPACE_ENCAPSULATION',
35
+ data: {
36
+ required: 'nonempty'
37
+ }
38
+ },
39
+ text: 'Crawlspace Waterproofing'
40
+ },
41
+ {
42
+ attributes: {
43
+ name: 'service',
44
+ value: 'CONCRETE_FOUNDATION',
45
+ data: {
46
+ required: 'nonempty'
47
+ }
48
+ },
49
+ text: 'Unsure'
50
+ }
51
+ ]
52
+ }
53
+ ]
54
+ }
55
+ };
56
+
57
+ module.exports = concrete_foundation;
@@ -0,0 +1,143 @@
1
+ const door = {
2
+ DoorType: {
3
+ fields: [
4
+ {
5
+ legend: {
6
+ text: 'What type of door are you interested in?'
7
+ },
8
+ options: [
9
+ {
10
+ text: 'Exterior Door',
11
+ attributes: {
12
+ name: 'DoorType',
13
+ value: 'Exterior',
14
+ checked: '',
15
+ data: {
16
+ required: 'nonempty'
17
+ }
18
+ }
19
+ },
20
+ {
21
+ text: 'Sliding Door',
22
+ attributes: {
23
+ name: 'DoorType',
24
+ value: 'SlidingDoor',
25
+ data: {
26
+ required: 'nonempty'
27
+ }
28
+ }
29
+ },
30
+ {
31
+ text: 'Interior Door',
32
+ attributes: {
33
+ name: 'DoorType',
34
+ value: 'Interior',
35
+ data: {
36
+ required: 'nonempty'
37
+ }
38
+ }
39
+ },
40
+ {
41
+ text: 'Storm Door',
42
+ attributes: {
43
+ name: 'DoorType',
44
+ value: 'StormDoor',
45
+ data: {
46
+ required: 'nonempty'
47
+ }
48
+ }
49
+ }
50
+ ]
51
+ }
52
+ ]
53
+ },
54
+ DoorProjectScope: {
55
+ fields: [
56
+ {
57
+ legend: {
58
+ text: 'What is the nature of your door project?'
59
+ },
60
+ options: [
61
+ {
62
+ text: 'Install a new door',
63
+ attributes: {
64
+ name: 'DoorProjectScope',
65
+ value: 'Install',
66
+ checked: '',
67
+ data: {
68
+ required: 'nonempty'
69
+ }
70
+ }
71
+ },
72
+ {
73
+ text: 'Repair an existing door',
74
+ attributes: {
75
+ name: 'DoorProjectScope',
76
+ value: 'Repair',
77
+ data: {
78
+ required: 'nonempty'
79
+ }
80
+ }
81
+ }
82
+ ]
83
+ }
84
+ ]
85
+ },
86
+ DoorsNumber: {
87
+ fields: [
88
+ {
89
+ legend: {
90
+ text: 'Are you interested in receiving manufacturer catalogs?'
91
+ },
92
+ options: [
93
+ {
94
+ text: '1',
95
+ attributes: {
96
+ name: 'DoorsNumber',
97
+ value: '1 door',
98
+ checked: '',
99
+ data: {
100
+ required: 'nonempty'
101
+ }
102
+ }
103
+ },
104
+ {
105
+ text: '2',
106
+ attributes: {
107
+ name: 'DoorsNumber',
108
+ value: '2 doors',
109
+ checked: '',
110
+ data: {
111
+ required: 'nonempty'
112
+ }
113
+ }
114
+ },
115
+ {
116
+ text: '3-5',
117
+ attributes: {
118
+ name: 'DoorsNumber',
119
+ value: '3-5 doors',
120
+ checked: '',
121
+ data: {
122
+ required: 'nonempty'
123
+ }
124
+ }
125
+ },
126
+ {
127
+ text: '6+',
128
+ attributes: {
129
+ name: 'DoorsNumber',
130
+ value: '6+ doors',
131
+ checked: '',
132
+ data: {
133
+ required: 'nonempty'
134
+ }
135
+ }
136
+ }
137
+ ]
138
+ }
139
+ ]
140
+ }
141
+ };
142
+
143
+ module.exports = door;
@@ -0,0 +1,185 @@
1
+ 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
+ };
185
+ module.exports = flooring;