mod-build 3.7.16 → 3.7.18
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.7.18
|
|
4
|
+
|
|
5
|
+
- Fixing console log
|
|
6
|
+
|
|
7
|
+
## 3.7.17
|
|
8
|
+
|
|
9
|
+
- Added in the outer `ServiceType` missing object for Water Treatment trade questions config.
|
|
10
|
+
|
|
3
11
|
## 3.7.16
|
|
4
12
|
|
|
5
13
|
- Added the new `getDataAttributeValue` helper function; Also updated the generic error language in `get-default-trade-questions`.
|
|
@@ -3,8 +3,8 @@ var merge = require('lodash.merge');
|
|
|
3
3
|
var tradeQuestionsConfig = require('../src/trade-questions-config.js');
|
|
4
4
|
|
|
5
5
|
module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
|
|
6
|
-
console.log(siteData);
|
|
7
6
|
if (siteData.useStepsConfig) {
|
|
7
|
+
console.log('Running trade question config...');
|
|
8
8
|
return async function() {
|
|
9
9
|
return await new Promise((resolve) => {
|
|
10
10
|
const trade = siteData.primary_trade.toLowerCase();
|
package/package.json
CHANGED
|
@@ -1,46 +1,48 @@
|
|
|
1
1
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
const water_treatment = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
options: [
|
|
10
|
-
{
|
|
11
|
-
attributes: {
|
|
12
|
-
name: 'ServiceType',
|
|
13
|
-
value: 'CITY_WATER',
|
|
14
|
-
checked: '',
|
|
15
|
-
data: {
|
|
16
|
-
required: 'nonempty'
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
text: 'City Water'
|
|
4
|
+
ServiceType: {
|
|
5
|
+
fields: [
|
|
6
|
+
{
|
|
7
|
+
legend: {
|
|
8
|
+
text: 'What type of water do you have?'
|
|
20
9
|
},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
10
|
+
options: [
|
|
11
|
+
{
|
|
12
|
+
attributes: {
|
|
13
|
+
name: 'ServiceType',
|
|
14
|
+
value: 'CITY_WATER',
|
|
15
|
+
checked: '',
|
|
16
|
+
data: {
|
|
17
|
+
required: 'nonempty'
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
text: 'City Water'
|
|
28
21
|
},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
22
|
+
{
|
|
23
|
+
attributes: {
|
|
24
|
+
name: 'ServiceType',
|
|
25
|
+
value: 'WELL_WATER',
|
|
26
|
+
data: {
|
|
27
|
+
required: 'nonempty'
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
text: 'Well Water'
|
|
38
31
|
},
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
32
|
+
{
|
|
33
|
+
attributes: {
|
|
34
|
+
name: 'ServiceType',
|
|
35
|
+
value: 'UNSURE',
|
|
36
|
+
data: {
|
|
37
|
+
required: 'nonempty'
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
text: 'Unsure'
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
44
46
|
};
|
|
45
47
|
|
|
46
48
|
module.exports = water_treatment;
|