thm-p3-configurator 0.0.35 → 0.0.36

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.
@@ -171,7 +171,7 @@ const AppointmentForm = () => {
171
171
  licensePlate: licensePlate === null || licensePlate === void 0 ? void 0 : licensePlate.replace(/-/g, ''),
172
172
  model,
173
173
  answers: (0, _helpers__.removeNullishProps)({
174
- duration: durationAnswer || (vehicleDetails === null || vehicleDetails === void 0 ? void 0 : vehicleDetails.duration),
174
+ duration: durationAnswer,
175
175
  execution1: executionAnswer1,
176
176
  execution2: executionAnswer2
177
177
  }),
@@ -183,7 +183,7 @@ const ExitIntentModal = () => {
183
183
  licensePlate,
184
184
  model,
185
185
  answers: (0, _helpers__.removeNullishProps)({
186
- duration: durationAnswer || vehicleDetails.duration,
186
+ duration: durationAnswer,
187
187
  execution1: executionAnswer1,
188
188
  execution2: executionAnswer2
189
189
  }),
@@ -164,7 +164,7 @@ const QuotationForm = () => {
164
164
  licensePlate,
165
165
  model,
166
166
  answers: (0, _helpers__.removeNullishProps)({
167
- duration: durationAnswer || (vehicleDetails === null || vehicleDetails === void 0 ? void 0 : vehicleDetails.duration),
167
+ duration: durationAnswer,
168
168
  execution1: executionAnswer1,
169
169
  execution2: executionAnswer2
170
170
  }),
@@ -250,7 +250,7 @@ const InternalAppointmentForm = _ref => {
250
250
  model,
251
251
  priceCalculationDate,
252
252
  answers: (0, _helpers__.removeNullishProps)({
253
- duration: durationAnswer || (vehicleDetails === null || vehicleDetails === void 0 ? void 0 : vehicleDetails.duration),
253
+ duration: durationAnswer,
254
254
  execution1: executionAnswer1,
255
255
  execution2: executionAnswer2
256
256
  }),
@@ -235,7 +235,7 @@ const InternalQuotationForm = _ref => {
235
235
  licensePlate: (_ref2 = licensePlate || _licensePlate) === null || _ref2 === void 0 ? void 0 : _ref2.replace(/-/g, ''),
236
236
  model,
237
237
  answers: (0, _helpers__.removeNullishProps)({
238
- duration: durationAnswer || (vehicleDetails === null || vehicleDetails === void 0 ? void 0 : vehicleDetails.duration),
238
+ duration: durationAnswer,
239
239
  execution1: executionAnswer1,
240
240
  execution2: executionAnswer2
241
241
  }),
@@ -102,7 +102,7 @@ const INITIAL_ORDER_SESSION_STATE = {
102
102
  model: null,
103
103
  brand: null,
104
104
  channel: null,
105
- durationAnswer: null,
105
+ durationAnswer: undefined,
106
106
  executionAnswer1: null,
107
107
  executionAnswer2: null,
108
108
  priceCalculationDate: new Date().getTime(),
@@ -211,7 +211,7 @@ const orderSessionReducer = (state, action) => {
211
211
  buildYear: null,
212
212
  model: null,
213
213
  brand: null,
214
- durationAnswer: null,
214
+ durationAnswer: undefined,
215
215
  executionAnswer1: null,
216
216
  executionAnswer2: null,
217
217
  durationOptions: [],
@@ -765,7 +765,7 @@ const orderSessionReducer = (state, action) => {
765
765
  {
766
766
  return _objectSpread(_objectSpread({}, state), {}, {
767
767
  answers: {},
768
- durationAnswer: null
768
+ durationAnswer: undefined
769
769
  });
770
770
  }
771
771
  case orderSessionActions.SET_PRICE_CALCULATION_DATE:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thm-p3-configurator",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "author": "EnoRm.",