thm-p3-configurator 0.0.219 → 0.0.221

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.
@@ -1585,7 +1585,7 @@ const InternalAppointmentForm = _ref => {
1585
1585
  errorMessage: errors === null || errors === void 0 ? void 0 : errors['chassisNumber']
1586
1586
  }), /*#__PURE__*/_react.default.createElement("div", {
1587
1587
  className: (0, _helpers__.withStyle)('my-2 fw-bold')
1588
- }, "Opties aanwezig:"), productSpecifications !== null && productSpecifications !== void 0 && productSpecifications.length ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, ' ', /*#__PURE__*/_react.default.createElement("ul", null, productSpecifications === null || productSpecifications === void 0 ? void 0 : productSpecifications.map(specification => /*#__PURE__*/_react.default.createElement("li", {
1588
+ }, "Extra toelichting:"), productSpecifications !== null && productSpecifications !== void 0 && productSpecifications.length ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, ' ', /*#__PURE__*/_react.default.createElement("ul", null, productSpecifications === null || productSpecifications === void 0 ? void 0 : productSpecifications.map(specification => /*#__PURE__*/_react.default.createElement("li", {
1589
1589
  key: specification
1590
1590
  }, specification))), /*#__PURE__*/_react.default.createElement(_CheckboxInput.default, {
1591
1591
  isRequired: true,
@@ -1598,7 +1598,7 @@ const InternalAppointmentForm = _ref => {
1598
1598
  }
1599
1599
  }),
1600
1600
  errorMessage: errors === null || errors === void 0 ? void 0 : errors['customerAgreed'],
1601
- label: /*#__PURE__*/_react.default.createElement("strong", null, "Klant gaat akkoord met bovenstaande")
1601
+ label: /*#__PURE__*/_react.default.createElement("strong", null, "Bovenstaande gecommuniceerd naar en akkoord bevonden door klant")
1602
1602
  })) : /*#__PURE__*/_react.default.createElement("div", {
1603
1603
  className: (0, _helpers__.withStyle)('text-muted my-2')
1604
1604
  }, "Geen opties gevonden..."))), ' ')), /*#__PURE__*/_react.default.createElement("div", {
@@ -1673,7 +1673,7 @@ const InternalAppointmentForm = _ref => {
1673
1673
  handleSubmit(_constants__.DOSSIER_TYPES.AppointmentRequest);
1674
1674
  },
1675
1675
  isDisabled: isLoading,
1676
- label: 'Afspraak aanvraag maken'
1676
+ label: 'Afspraakaanvraag maken'
1677
1677
  })), /*#__PURE__*/_react.default.createElement("div", {
1678
1678
  className: (0, _helpers__.withStyle)('ml-3')
1679
1679
  }, /*#__PURE__*/_react.default.createElement(_PrimaryButton.default, {
@@ -1691,7 +1691,7 @@ const InternalAppointmentForm = _ref => {
1691
1691
  handleSubmit(_constants__.DOSSIER_TYPES.AppointmentRequest);
1692
1692
  },
1693
1693
  isDisabled: isLoading,
1694
- label: 'Afspraak aanvraag wijzigen'
1694
+ label: 'Afspraakaanvraag wijzigen'
1695
1695
  })) : existingDossierType === _constants__.DOSSIER_TYPES.PlannedAppointment ? /*#__PURE__*/_react.default.createElement("div", {
1696
1696
  className: (0, _helpers__.withStyle)('me-1')
1697
1697
  }, /*#__PURE__*/_react.default.createElement(_PrimaryButton.default, {
@@ -92,7 +92,7 @@ const InternalAppointmentSuccessModal = _ref => {
92
92
  };
93
93
  return /*#__PURE__*/(0, _reactDom.createPortal)(/*#__PURE__*/_react.default.createElement(_Modal.default, {
94
94
  isOpen: isOpen,
95
- title: isAppointmentRequest ? 'De afspraak aanvraag is gemaakt!' : 'De afspraak is gemaakt!',
95
+ title: isAppointmentRequest ? 'De afspraakaanvraag is gemaakt!' : 'De afspraak is gemaakt!',
96
96
  size: "wide",
97
97
  primaryButtonText: isAppointmentRequest ? 'Naar aanvragen overzicht' : 'Naar afspraken overzicht',
98
98
  secondaryButtonText: 'Naar dashboard',
@@ -931,7 +931,7 @@ const InternalQuotationForm = _ref => {
931
931
  errorMessage: errors === null || errors === void 0 ? void 0 : errors['chassisNumber']
932
932
  }), /*#__PURE__*/_react.default.createElement("div", {
933
933
  className: (0, _helpers__.withStyle)('my-2 fw-bold')
934
- }, "Opties aanwezig:"), productSpecifications !== null && productSpecifications !== void 0 && productSpecifications.length ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("ul", null, productSpecifications === null || productSpecifications === void 0 ? void 0 : productSpecifications.map(specification => /*#__PURE__*/_react.default.createElement("li", {
934
+ }, "Extra toelichting:"), productSpecifications !== null && productSpecifications !== void 0 && productSpecifications.length ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("ul", null, productSpecifications === null || productSpecifications === void 0 ? void 0 : productSpecifications.map(specification => /*#__PURE__*/_react.default.createElement("li", {
935
935
  key: specification
936
936
  }, specification)))) : /*#__PURE__*/_react.default.createElement("div", {
937
937
  className: (0, _helpers__.withStyle)('text-muted my-2')
@@ -271,7 +271,7 @@ const formatModelArticle = article => {
271
271
  });
272
272
  };
273
273
  const formatGenericArticle = article => {
274
- var _article$images3, _article$images4, _article$articleNumbe2, _article$type, _article$group, _article$subgroup;
274
+ var _article$articleNumbe2, _article$type, _article$group, _article$subgroup;
275
275
  const specificationPairs = [['C2 module', article === null || article === void 0 ? void 0 : article.c2Module], ['Check control', article === null || article === void 0 ? void 0 : article.checkControl], ['Direct current', article === null || article === void 0 ? void 0 : article.directCurrent], ['Draw weight', article === null || article === void 0 ? void 0 : article.drawWeight], ['D value', article === null || article === void 0 ? void 0 : article.dValue], ['Foglight shutdown', article === null || article === void 0 ? void 0 : article.foglightShutdown], ['PDC shutdown', article === null || article === void 0 ? void 0 : article.pdcShutdown], ['Switched PSU', article === null || article === void 0 ? void 0 : article.switchedPsu], ['LED', article === null || article === void 0 ? void 0 : article.led]];
276
276
  const specification = specificationPairs.filter(_ref6 => {
277
277
  let [_, value] = _ref6;
@@ -285,8 +285,8 @@ const formatGenericArticle = article => {
285
285
  description: null,
286
286
  subTitle: null,
287
287
  specifications: specification === '' ? null : specification,
288
- image: article !== null && article !== void 0 && (_article$images3 = article.images) !== null && _article$images3 !== void 0 && _article$images3[0] ? (0, _image.getImageFromHyper)({
289
- imageId: article === null || article === void 0 || (_article$images4 = article.images) === null || _article$images4 === void 0 ? void 0 : _article$images4[0]
288
+ image: article !== null && article !== void 0 && article.computedImages ? (0, _image.getImageFromHyper)({
289
+ imageId: article === null || article === void 0 ? void 0 : article.computedImages
290
290
  }) : _logoPrimary.default,
291
291
  articleNumber: (_article$articleNumbe2 = article.articleNumber) !== null && _article$articleNumbe2 !== void 0 ? _article$articleNumbe2 : '',
292
292
  type: article === null || article === void 0 || (_article$type = article.type) === null || _article$type === void 0 ? void 0 : _article$type.title,
@@ -74,7 +74,7 @@ const QuotationThanksPage = () => {
74
74
  className: (0, _helpers__.withStyle)('thm-configurator-modal-form modal d-block'),
75
75
  tabIndex: "-1"
76
76
  }, /*#__PURE__*/_react.default.createElement(_Card.default, {
77
- title: 'Bedankt voor uw offerte aanvraag',
77
+ title: 'Bedankt voor uw offerteaanvraag',
78
78
  isCentered: true,
79
79
  isScrollable: true
80
80
  }, /*#__PURE__*/_react.default.createElement("p", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thm-p3-configurator",
3
- "version": "0.0.219",
3
+ "version": "0.0.221",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "author": "EnoRm.",