mod-build 3.7.13 → 3.7.15-beta.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.
Files changed (33) 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
  33. package/tasks/grab-cdn.js +130 -0
@@ -0,0 +1,89 @@
1
+ /* eslint-disable */
2
+ 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
+ };
88
+
89
+ module.exports = garage_door;
@@ -0,0 +1,45 @@
1
+ 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
+ };
45
+ module.exports = gutters;
@@ -0,0 +1,130 @@
1
+ /* eslint-disable */
2
+ 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
+ };
130
+ module.exports = home_security;
@@ -0,0 +1,57 @@
1
+ /* eslint-disable */
2
+ 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
+ };
56
+
57
+ module.exports = home_warranty;
@@ -0,0 +1,92 @@
1
+ /* eslint-disable */
2
+ 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
+ };
91
+
92
+ module.exports = hot_tubs;
@@ -0,0 +1,179 @@
1
+ const hvac = {
2
+ HVACProjectScope: {
3
+ fields: [
4
+ {
5
+ legend: {
6
+ text: 'What is the nature of your request?'
7
+ },
8
+ options: [
9
+ {
10
+ text: 'Install/Replace',
11
+ attributes: {
12
+ name: 'HVACProjectScope',
13
+ value: 'Install',
14
+ checked: '',
15
+ data: {
16
+ required: 'nonempty'
17
+ }
18
+ }
19
+ },
20
+ {
21
+ text: 'Repair',
22
+ attributes: {
23
+ name: 'HVACProjectScope',
24
+ value: 'Repair',
25
+ data: {
26
+ required: 'nonempty'
27
+ }
28
+ }
29
+ }
30
+ ]
31
+ }
32
+ ],
33
+ extraQuestionBlock: {
34
+ fields: [
35
+ {
36
+ legend: {
37
+ text: 'If your unit needs to be replaced, would you?'
38
+ },
39
+ options: [
40
+ {
41
+ attributes: {
42
+ name: 'ReadyToReplace',
43
+ value: 'Yes',
44
+ data: {
45
+ required: 'nonempty'
46
+ }
47
+ },
48
+ text: 'Yes'
49
+ },
50
+ {
51
+ attributes: {
52
+ name: 'ReadyToReplace',
53
+ value: 'No',
54
+ data: {
55
+ required: 'nonempty'
56
+ }
57
+ },
58
+ text: 'No'
59
+ }
60
+ ]
61
+ }
62
+ ]
63
+ }
64
+ },
65
+ HVACInterest: {
66
+ fields: [
67
+ {
68
+ legend: {
69
+ text: 'What type of system do you have?'
70
+ },
71
+ options: [
72
+ {
73
+ text: 'Air Conditioner',
74
+ attributes: {
75
+ name: 'HVACInterest',
76
+ value: 'Central AC',
77
+ data: {
78
+ required: 'nonempty'
79
+ }
80
+ }
81
+ },
82
+ {
83
+ text: 'Central Heating / Furnace',
84
+ attributes: {
85
+ name: 'HVACInterest',
86
+ value: 'Central Heating',
87
+ data: {
88
+ required: 'nonempty'
89
+ }
90
+ }
91
+ },
92
+ {
93
+ text: 'Heat Pump',
94
+ attributes: {
95
+ name: 'HVACInterest',
96
+ value: 'Central Heating Heat Pump',
97
+ data: {
98
+ required: 'nonempty'
99
+ }
100
+ }
101
+ },
102
+ {
103
+ text: 'Boiler / Radiator',
104
+ attributes: {
105
+ name: 'HVACInterest',
106
+ value: 'Boiler/Radiator',
107
+ data: {
108
+ required: 'nonempty'
109
+ }
110
+ }
111
+ }
112
+ ]
113
+ }
114
+ ]
115
+ },
116
+ BoilerHeatingInstallRepairType: {
117
+ fields: [
118
+ {
119
+ legend: {
120
+ text: 'Which kind of Central Heating system do you want?'
121
+ },
122
+ options: [
123
+ {
124
+ text: 'Natural gas',
125
+ attributes: {
126
+ name: 'BoilerHeatingInstallRepairType',
127
+ value: 'NaturalGas',
128
+ data: {
129
+ required: 'nonempty'
130
+ }
131
+ }
132
+ },
133
+ {
134
+ text: 'Oil',
135
+ attributes: {
136
+ name: 'BoilerHeatingInstallRepairType',
137
+ value: 'Oil',
138
+ data: {
139
+ required: 'nonempty'
140
+ }
141
+ }
142
+ },
143
+ {
144
+ text: 'Propane gas',
145
+ attributes: {
146
+ name: 'BoilerHeatingInstallRepairType',
147
+ value: 'PropaneGas',
148
+ data: {
149
+ required: 'nonempty'
150
+ }
151
+ }
152
+ },
153
+ {
154
+ text: 'Electric',
155
+ attributes: {
156
+ name: 'BoilerHeatingInstallRepairType',
157
+ value: 'Electric',
158
+ data: {
159
+ required: 'nonempty'
160
+ }
161
+ }
162
+ },
163
+ {
164
+ text: 'Do not know',
165
+ attributes: {
166
+ name: 'BoilerHeatingInstallRepairType',
167
+ value: 'Do Not Know',
168
+ data: {
169
+ required: 'nonempty'
170
+ }
171
+ }
172
+ }
173
+ ]
174
+ }
175
+ ]
176
+ }
177
+ };
178
+
179
+ module.exports = hvac;
@@ -0,0 +1,26 @@
1
+ /* eslint-disable */
2
+ module.exports = {
3
+ alerts_medical: require('./alerts_medical'),
4
+ bathroom_refacing: require('./bathroom_refacing'),
5
+ cabinets: require('./cabinets'),
6
+ cabinet_refacing: require('./cabinet_refacing'),
7
+ concrete_foundation: require('./concrete_foundation'),
8
+ door: require('./door'),
9
+ flooring: require('./flooring'),
10
+ garage_door: require('./garage_door'),
11
+ gutters: require('./gutters'),
12
+ home_security: require('./home_security'),
13
+ home_warranty: require('./home_warranty'),
14
+ hot_tubs: require('./hot_tubs'),
15
+ hvac: require('./hvac'),
16
+ insulation: require('./insulation'),
17
+ plumbing: require('./plumbing'),
18
+ roofing: require('./roofing'),
19
+ siding: require('./siding'),
20
+ solar: require('./solar'),
21
+ stair_lifts: require('./stair_lifts'),
22
+ tree_services: require('./tree_services'),
23
+ walk_in_tubs: require('./walk_in_tubs'),
24
+ water_treatment: require('./water_treatment'),
25
+ windows: require('./windows'),
26
+ };