mod-build 3.6.97-beta.1 → 3.6.97
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 +4 -0
- package/gulp-tasks/grab-shared-scripts.js +2 -2
- package/package.json +1 -1
- package/src/scripts/mod-form-contractor.js +0 -1
- package/package-lock-1.json +0 -35243
- package/package-lock-2.json +0 -29515
- package/src/data/contractor-trades.js +0 -80
package/CHANGELOG.md
CHANGED
|
@@ -32,8 +32,8 @@ function replaceModalyticsSrc(gulp, gulpPlugins, siteSettings, siteData) {
|
|
|
32
32
|
function replaceFootAssetScripts(gulp, gulpPlugins, siteSettings, siteData) {
|
|
33
33
|
const resourcePath = isQuotePageOrUseRelativePath ? '{{#if this.nodeModulesPath}}{{this.nodeModulesPath}}{{/if}}resources/scripts' : '/resources/scripts';
|
|
34
34
|
return gulp.src(`${siteSettings.srcFolder}/${componentFolderPath}/foot-assets/foot-assets.html`)
|
|
35
|
-
.pipe(replace(/"(?:(?!"|js")[\s\S])+(modutils|mod-utils.*?)js"|"(?:(?!"|")[\s\S])+(callrail.*?)js"|"(?:(?!"|")[\s\S])+(footer\/footer-component.*?)js"|"(?:(?!"|")[\s\S])+(mod-form\/form.*?)js"/g, function(match) {
|
|
36
|
-
if (match.includes('mod-form/form')) {
|
|
35
|
+
.pipe(replace(/"(?:(?!"|js")[\s\S])+(modutils|mod-utils.*?)js"|"(?:(?!"|")[\s\S])+(callrail.*?)js"|"(?:(?!"|")[\s\S])+(footer\/footer-component.*?)js"|"(?:(?!"|")[\s\S])+(mod-form\/form\/homeowner.*?)js"/g, function(match) {
|
|
36
|
+
if (match.includes('mod-form/form/homeowner')) {
|
|
37
37
|
return `"${resourcePath}/mod-form/form/${fileNames.homeownerFormFileName}"`;
|
|
38
38
|
} else if (match.includes('callrail')) {
|
|
39
39
|
return `"${resourcePath}/callrail/${fileNames.callrailFileName}"`;
|
package/package.json
CHANGED
|
@@ -311,7 +311,6 @@ modForm.formatContractorDataForModApi = function(formData, currentStep) {
|
|
|
311
311
|
multipleTrades: formData.multipleTrades ? 1 : 0,
|
|
312
312
|
contractorNetwork: formData.contractorNetwork ? 1 : 0,
|
|
313
313
|
companyName: formData.companyName,
|
|
314
|
-
howDidYouHearAboutUs: formData.howDidYouHearAboutUs,
|
|
315
314
|
phone: formData.homePhone,
|
|
316
315
|
email: formData.email,
|
|
317
316
|
bbdId: formData.bbdId,
|