thm-p3-configurator 0.0.410 → 0.0.411
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.
|
@@ -359,18 +359,12 @@ const NO_PRODUCTS_CONTACT_DETAILS_BY_FORMULA = exports.NO_PRODUCTS_CONTACT_DETAI
|
|
|
359
359
|
};
|
|
360
360
|
const EXECUTION_HELP_CONTACT_DETAILS_BY_FORMULA = exports.EXECUTION_HELP_CONTACT_DETAILS_BY_FORMULA = {
|
|
361
361
|
[CONFIGURATOR_FORMULAS.THM]: {
|
|
362
|
-
phoneDisplay: '+31 85 000 4122',
|
|
363
|
-
phoneHref: 'tel:+31850004122',
|
|
364
362
|
helpUrl: 'https://www.trekhaakmontage.nl/uitvoering-niet-bekend'
|
|
365
363
|
},
|
|
366
364
|
[CONFIGURATOR_FORMULAS.THC]: {
|
|
367
|
-
phoneDisplay: '+31 85 202 0660',
|
|
368
|
-
phoneHref: 'tel:+31852020660',
|
|
369
365
|
helpUrl: 'https://www.trekhaakcentrum.nl/uitvoering-niet-bekend'
|
|
370
366
|
},
|
|
371
367
|
[CONFIGURATOR_FORMULAS.TBE]: {
|
|
372
|
-
phoneDisplay: '+31 85 202 0660',
|
|
373
|
-
phoneHref: 'tel:+31852020660',
|
|
374
368
|
helpUrl: 'https://www.trekhaakcentrum.nl/uitvoering-niet-bekend'
|
|
375
369
|
}
|
|
376
370
|
};
|
|
@@ -447,33 +447,27 @@ const QuestionsForm = _ref => {
|
|
|
447
447
|
initialValue: isFilter ? filterAnswers.executionAnswer2 : executionAnswer2,
|
|
448
448
|
options: initialOptions.execution2,
|
|
449
449
|
isRequired: true
|
|
450
|
-
}), executionHelpContactDetails && /*#__PURE__*/_react.default.createElement("
|
|
451
|
-
className: (0, _helpers__.withStyle)('
|
|
452
|
-
}, "Weet u niet wat voor uitvoering uw auto is? Neem dan contact op met", ' ', /*#__PURE__*/_react.default.createElement("a", {
|
|
453
|
-
href: executionHelpContactDetails.phoneHref,
|
|
454
|
-
className: (0, _helpers__.withStyle)('text-nowrap')
|
|
455
|
-
}, executionHelpContactDetails.phoneDisplay), ".")), /*#__PURE__*/_react.default.createElement("div", {
|
|
456
|
-
className: (0, _helpers__.withStyle)('row align-items-center justify-content-end mt-2')
|
|
457
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
458
|
-
className: (0, _helpers__.withStyle)("col col-sm-auto mt-1")
|
|
459
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
460
|
-
className: (0, _helpers__.withStyle)('d-grid gap-2')
|
|
450
|
+
}), (executionHelpContactDetails === null || executionHelpContactDetails === void 0 ? void 0 : executionHelpContactDetails.helpUrl) && /*#__PURE__*/_react.default.createElement("div", {
|
|
451
|
+
className: (0, _helpers__.withStyle)('text-center mt-3 mb-2')
|
|
461
452
|
}, /*#__PURE__*/_react.default.createElement(_LinkButton.default, {
|
|
462
453
|
type: "button",
|
|
463
454
|
isDisabled: false,
|
|
464
|
-
onClick:
|
|
465
|
-
|
|
466
|
-
|
|
455
|
+
onClick: () => {
|
|
456
|
+
window.location.href = executionHelpContactDetails.helpUrl;
|
|
457
|
+
},
|
|
458
|
+
label: "Ik weet het niet / ik heb hulp nodig",
|
|
459
|
+
className: formula === _constants__.CONFIGURATOR_FORMULAS.THM ? 'fw-bold' : ''
|
|
460
|
+
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
461
|
+
className: (0, _helpers__.withStyle)('row align-items-center justify-content-between mt-2')
|
|
462
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
467
463
|
className: (0, _helpers__.withStyle)("col col-sm-auto mt-1")
|
|
468
464
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
469
465
|
className: (0, _helpers__.withStyle)('d-grid gap-2')
|
|
470
466
|
}, /*#__PURE__*/_react.default.createElement(_LinkButton.default, {
|
|
471
467
|
type: "button",
|
|
472
468
|
isDisabled: false,
|
|
473
|
-
onClick:
|
|
474
|
-
|
|
475
|
-
},
|
|
476
|
-
label: "Ik weet het niet / ik heb hulp nodig"
|
|
469
|
+
onClick: handlePrev,
|
|
470
|
+
label: 'Ga terug'
|
|
477
471
|
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
478
472
|
className: (0, _helpers__.withStyle)("col col-sm-auto mt-1")
|
|
479
473
|
}, /*#__PURE__*/_react.default.createElement("div", {
|