project-booster-vue 9.51.1 → 9.52.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-booster-vue",
3
- "version": "9.51.1",
3
+ "version": "9.52.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -995,9 +995,13 @@ $answers-apparition-duration: '0.5s';
995
995
  margin: 0 auto;
996
996
 
997
997
  &-label {
998
- margin: $mu200 0 0 0;
998
+ margin: $mu200 $mu050 0 $mu050;
999
999
  @include set-font-face('semi-bold');
1000
1000
  @include set-font-scale('06', 'l');
1001
+
1002
+ @include set-from-screen($responsive-breakpoint) {
1003
+ margin: $mu200 0 0 0;
1004
+ }
1001
1005
  }
1002
1006
  }
1003
1007
  }
@@ -411,7 +411,13 @@ $responsive-breakpoint: 'm';
411
411
  flex-direction: column;
412
412
  flex-grow: 1;
413
413
  margin: 0 auto;
414
- width: calc(100% - #{$mu050} - #{$mu050});
414
+ width: calc(100% - #{$mu250});
415
+ padding-top: $mu200;
416
+
417
+ @include set-from-screen($responsive-breakpoint) {
418
+ width: calc(100% - #{$mu050} - #{$mu050});
419
+ padding-top: 0;
420
+ }
415
421
 
416
422
  &__back-button-container {
417
423
  position: absolute;
@@ -456,7 +462,7 @@ $responsive-breakpoint: 'm';
456
462
 
457
463
  &__title {
458
464
  @include set-font-face('semi-bold');
459
- @include set-font-scale('07', 's');
465
+ @include set-font-scale('06', 's');
460
466
 
461
467
  max-width: 100%;
462
468
  padding: 0 0 $mu100 0;
@@ -3,6 +3,7 @@
3
3
  "hero": "The question hero",
4
4
  "label": "The question title",
5
5
  "subtitle": "The question subtitle",
6
+ "forceOneCardPerLineOnMobile": true,
6
7
  "answersComponent": "PbCard",
7
8
  "videoBlock": {
8
9
  "buttonLabel": "Voir le guide en vidéo (1min)",
@@ -213,6 +213,11 @@ $responsive-breakpoint: 'm';
213
213
  flex-grow: 1;
214
214
  margin: 0 auto;
215
215
  width: calc(100% - #{$mu050} - #{$mu050});
216
+ padding-top: $mu200;
217
+
218
+ @include set-from-screen($responsive-breakpoint) {
219
+ padding-top: 0;
220
+ }
216
221
 
217
222
  &__back-button-container {
218
223
  align-self: flex-start;
@@ -290,7 +295,7 @@ $responsive-breakpoint: 'm';
290
295
 
291
296
  &__title {
292
297
  @include set-font-face('semi-bold');
293
- @include set-font-scale('07', 's');
298
+ @include set-font-scale('06', 's');
294
299
 
295
300
  margin-bottom: 10px;
296
301
  max-width: 100%;
@@ -74,6 +74,13 @@ const props = defineProps({
74
74
  $responsive-breakpoint: 'm';
75
75
 
76
76
  .progress-step {
77
+ width: calc(100% - 2.5rem);
78
+ margin: 0 auto;
79
+
80
+ @include set-from-screen($responsive-breakpoint) {
81
+ width: 100%;
82
+ }
83
+
77
84
  &__number {
78
85
  color: $color-primary-01-500;
79
86
  @include set-font-face('semi-bold');
@@ -16,16 +16,34 @@
16
16
  "FLOOR_INSULATION": {
17
17
  "code": "FLOOR_INSULATION",
18
18
  "type": "SCENARIO",
19
- "stepCode": "LMFR_FLOOR_INSULATION_QUESTION_SITUATION"
19
+ "stepCode": "LMFR_FLOOR_INSULATION_DISPLAY_PRODUCT"
20
20
  },
21
21
 
22
+ "LMFR_FLOOR_INSULATION_DISPLAY_PRODUCT": {
23
+ "code": "LMFR_FLOOR_INSULATION_DISPLAY_PRODUCT",
24
+ "type": "STEP",
25
+ "component": "MPbProducts",
26
+ "payload": {
27
+ "viewModel": {
28
+ "label": "Estimer vos aides pour votre projet",
29
+ "defaultProduct": {
30
+ "designation": "Isolation du sol de votre rez-de-chaussée"
31
+ }
32
+ },
33
+ "callToActions": [
34
+ {
35
+ "type": "button",
36
+ "label": "Commencer",
37
+ "action": {
38
+ "type": "STEP",
39
+ "code": "LMFR_FLOOR_INSULATION_QUESTION_SITUATION"
40
+ },
41
+ "bordered": false
42
+ }
43
+ ]
44
+ }
45
+ },
22
46
  "LMFR_FLOOR_INSULATION_QUESTION_SITUATION": {
23
- "slots": {
24
- "beforeContent": {
25
- "display": true,
26
- "component": "MPbProgress"
27
- }
28
- },
29
47
  "code": "LMFR_FLOOR_INSULATION_QUESTION_SITUATION",
30
48
  "type": "STEP",
31
49
  "component": "MPbQuestion",
@@ -34,26 +52,27 @@
34
52
  "label": "Dans ce logement, vous êtes ?",
35
53
  "answersComponent": "MPbCard",
36
54
  "progressBar": true,
37
- "widthFromL": true
55
+ "widthFromL": true,
56
+ "forceOneCardPerLineOnMobile": true
38
57
  },
39
58
  "answers": {
40
59
  "OWNER": {
41
60
  "code": "OWNER",
42
61
  "viewModel": {
43
62
  "title": "Propriétaire"
44
- },
45
- "notification": {
46
- "type": "warning",
47
- "title": "Le calcul des aides se base sur les revenus de votre propriétaire La plupart des aides sont destinées aux propriétaires.",
48
- "content": "Nous vous conseillons donc de vous rapprocher de votre propriétaire, c’est lui qui pourra monter le dossier d’obtention des aides pour votre projet.",
49
- "buttonText": "Voir d’autres solutions pour faire des économies de chauffage",
50
- "buttonHref": "https://google.fr/"
51
63
  }
52
64
  },
53
65
  "LESSEE": {
54
66
  "code": "LESSEE",
55
67
  "viewModel": {
56
68
  "title": "Locataire"
69
+ },
70
+ "notification": {
71
+ "type": "warning",
72
+ "title": "Le calcul des aides se base sur les revenus de votre propriétaire La plupart des aides sont destinées aux propriétaires.",
73
+ "content": "Nous vous conseillons donc de vous rapprocher de votre propriétaire, c'est lui qui pourra monter le dossier d'obtention des aides pour votre projet.",
74
+ "buttonText": "Voir d'autres solutions pour faire des économies de chauffage",
75
+ "buttonHref": "https://google.fr/"
57
76
  }
58
77
  }
59
78
  }
@@ -65,48 +84,16 @@
65
84
  "nextStep": {
66
85
  "code": "LMFR_FLOOR_INSULATION_QUESTION_HOUSING_TYPE"
67
86
  }
68
- },
69
- {
70
- "conditions": ["isAnswerMatching('LMFR_FLOOR_INSULATION_QUESTION_SITUATION', 'LESSEE')"],
71
- "nextStep": {
72
- "code": "LMFR_FLOOR_INSULATION_DISPLAY_WARNING_FOR_LESSEE"
73
- }
74
- }
75
- ]
76
- }
77
- },
78
- "LMFR_FLOOR_INSULATION_DISPLAY_WARNING_FOR_LESSEE": {
79
- "code": "LMFR_FLOOR_INSULATION_DISPLAY_WARNING_FOR_LESSEE",
80
- "type": "STEP",
81
- "component": "PbWarningMessage",
82
- "payload": {
83
- "viewModel": {
84
- "actionLabel": "Terminer",
85
- "backLabel": "Question précédente",
86
- "label": "Vous êtes locataire",
87
- "subtitle": "Le calcul des aides se base sur les revenus de votre propriétaire. La plupart des aides sont destinées aux propriétaires.",
88
- "content": "Nous vous conseillons donc de vous rapprocher de votre propriétaire, c’est lui qui pourra monter le dossier d’obtention des aides pour votre projet."
89
- },
90
- "callToActions": [
91
- {
92
- "type": "button",
93
- "label": "Ok, poursuivre l'estimation",
94
- "action": {
95
- "type": "STEP",
96
- "code": "LMFR_FLOOR_INSULATION_QUESTION_HOUSING_TYPE"
97
- },
98
- "bordered": false
99
- },
100
- {
101
- "type": "button",
102
- "label": "Quitter l'estimation",
103
- "action": {
104
- "type": "STEP",
105
- "code": "LMFR_FLOOR_INSULATION_ADVICE_FOR_LESSEE"
106
- },
107
- "bordered": true
108
87
  }
109
88
  ]
89
+ },
90
+ "slots": {
91
+ "beforeContent": {
92
+ "display": true,
93
+ "component": "MPbProgress",
94
+ "totalStep": 11,
95
+ "currentStep": 1
96
+ }
110
97
  }
111
98
  },
112
99
  "LMFR_FLOOR_INSULATION_QUESTION_HOUSING_TYPE": {
@@ -118,7 +105,8 @@
118
105
  "label": "Dans quel type de logement habitez-vous ?",
119
106
  "answersComponent": "MPbCard",
120
107
  "progressBar": true,
121
- "widthFromL": true
108
+ "widthFromL": true,
109
+ "forceOneCardPerLineOnMobile": true
122
110
  },
123
111
  "answers": {
124
112
  "HOUSE": {
@@ -132,26 +120,20 @@
132
120
  "code": "APARTMENT",
133
121
  "viewModel": {
134
122
  "title": "Un appartement",
135
- "image": "https://storage.googleapis.com/project-booster-media/energyrenovation/apartement.jpg",
136
- "notification": {
137
- "type": "warning",
138
- "title": "Le calcul des aides se base sur les revenus de votre propriétaire La plupart des aides sont destinées aux propriétaires.",
139
- "content": "Nous vous conseillons donc de vous rapprocher de votre propriétaire, c’est lui qui pourra monter le dossier d’obtention des aides pour votre projet.",
140
- "buttonText": "Voir d’autres solutions pour faire des économies de chauffage",
141
- "buttonHref": "https://google.fr/"
142
- }
123
+ "image": "https://storage.googleapis.com/project-booster-media/energyrenovation/apartement.jpg"
124
+ },
125
+ "notification": {
126
+ "type": "warning",
127
+ "title": "Le calcul des aides se base sur les revenus de votre propriétaire La plupart des aides sont destinées aux propriétaires.",
128
+ "content": "Nous vous conseillons donc de vous rapprocher de votre propriétaire, c'est lui qui pourra monter le dossier d'obtention des aides pour votre projet.",
129
+ "buttonText": "Voir d'autres solutions pour faire des économies de chauffage",
130
+ "buttonHref": "https://google.fr/"
143
131
  }
144
132
  }
145
133
  }
146
134
  },
147
135
  "nextStep": {
148
136
  "conditionals": [
149
- {
150
- "conditions": ["isAnswerMatching('LMFR_FLOOR_INSULATION_QUESTION_HOUSING_TYPE', 'APARTMENT')"],
151
- "nextStep": {
152
- "code": "LMFR_FLOOR_INSULATION_DISPLAY_WARNING_FOR_APARTMENT"
153
- }
154
- },
155
137
  {
156
138
  "conditions": ["isAnswerMatching('LMFR_FLOOR_INSULATION_QUESTION_HOUSING_TYPE', 'HOUSE')"],
157
139
  "nextStep": {
@@ -164,55 +146,11 @@
164
146
  "beforeContent": {
165
147
  "display": true,
166
148
  "component": "MPbProgress",
167
- "totalStep": 14,
149
+ "totalStep": 11,
168
150
  "currentStep": 2
169
151
  }
170
152
  }
171
153
  },
172
- "LMFR_FLOOR_INSULATION_DISPLAY_WARNING_FOR_APARTMENT": {
173
- "code": "LMFR_FLOOR_INSULATION_DISPLAY_WARNING_FOR_APARTMENT",
174
- "type": "STEP",
175
- "component": "PbWarningMessage",
176
- "payload": {
177
- "viewModel": {
178
- "actionLabel": "Terminer",
179
- "backLabel": "Question précédente",
180
- "label": "Vos travaux dans un appartement",
181
- "subtitle": "Nous attirons votre attention !",
182
- "content": "Faire des travaux d’isolation dans un appartement nécessite certaines précautions.",
183
- "explainLink": {
184
- "type": "link",
185
- "label": "Voir les précautions pour isoler son appartement",
186
- "action": {
187
- "viewModelDialog": {
188
- "headerTitle": "Avant d’isoler votre appartement, voici quelques précautions à prendre :",
189
- "contentHtml": "<ul><li>Informez-vous sur les modes d'isolation possible pour votre sol.</li><li>Informez la copropriété de votre projet, et notamment du bruit que peuvent générer les travaux.</li></ul>"
190
- }
191
- }
192
- }
193
- },
194
- "callToActions": [
195
- {
196
- "type": "button",
197
- "label": "Ok, poursuivre l'estimation",
198
- "action": {
199
- "type": "STEP",
200
- "code": "LMFR_FLOOR_INSULATION_QUESTION_CONSTRUCTION_AGE"
201
- },
202
- "bordered": false
203
- },
204
- {
205
- "type": "button",
206
- "label": "Quitter l'estimation",
207
- "action": {
208
- "type": "STEP",
209
- "code": "LMFR_FLOOR_INSULATION_ADVICE"
210
- },
211
- "bordered": true
212
- }
213
- ]
214
- }
215
- },
216
154
  "LMFR_FLOOR_INSULATION_QUESTION_CONSTRUCTION_AGE": {
217
155
  "code": "LMFR_FLOOR_INSULATION_QUESTION_CONSTRUCTION_AGE",
218
156
  "type": "STEP",
@@ -222,7 +160,8 @@
222
160
  "label": "De quand date votre logement ?",
223
161
  "answersComponent": "MPbCard",
224
162
  "progressBar": true,
225
- "widthFromL": true
163
+ "widthFromL": true,
164
+ "forceOneCardPerLineOnMobile": true
226
165
  },
227
166
  "answers": {
228
167
  "NEW": {
@@ -252,7 +191,9 @@
252
191
  "slots": {
253
192
  "beforeContent": {
254
193
  "display": true,
255
- "component": "MPbProgress"
194
+ "component": "MPbProgress",
195
+ "totalStep": 11,
196
+ "currentStep": 3
256
197
  }
257
198
  }
258
199
  },
@@ -265,7 +206,8 @@
265
206
  "label": "Quel est le type de résidence ?",
266
207
  "answersComponent": "MPbCard",
267
208
  "progressBar": true,
268
- "widthFromL": true
209
+ "widthFromL": true,
210
+ "forceOneCardPerLineOnMobile": true
269
211
  },
270
212
  "answers": {
271
213
  "MAIN": {
@@ -294,7 +236,9 @@
294
236
  "slots": {
295
237
  "beforeContent": {
296
238
  "display": true,
297
- "component": "MPbProgress"
239
+ "component": "MPbProgress",
240
+ "totalStep": 11,
241
+ "currentStep": 4
298
242
  }
299
243
  }
300
244
  },
@@ -315,12 +259,19 @@
315
259
  "backLabel": "Question précédente",
316
260
  "label": "Dans quelle ville aura lieu les travaux ?",
317
261
  "placeholder": "Code postal, Ville",
318
- "image": "https://storage.googleapis.com/project-booster-media/new-house/Estimation%20Construction%20Neuve%20-%20Localisation.png",
319
262
  "actionLabel": "Continuer"
320
263
  }
321
264
  },
322
265
  "nextStep": {
323
266
  "code": "LMFR_FLOOR_INSULATION_QUESTION_INHABITANTS_COUNT"
267
+ },
268
+ "slots": {
269
+ "beforeContent": {
270
+ "display": true,
271
+ "component": "MPbProgress",
272
+ "totalStep": 11,
273
+ "currentStep": 5
274
+ }
324
275
  }
325
276
  },
326
277
  "LMFR_FLOOR_INSULATION_QUESTION_INHABITANTS_COUNT": {
@@ -348,7 +299,9 @@
348
299
  "slots": {
349
300
  "beforeContent": {
350
301
  "display": true,
351
- "component": "MPbProgress"
302
+ "component": "MPbProgress",
303
+ "totalStep": 11,
304
+ "currentStep": 6
352
305
  }
353
306
  }
354
307
  },
@@ -362,7 +315,8 @@
362
315
  "subtitle": "Le revenu fiscal de référence du foyer concerne la somme des revenus des conjoints. Cette information est utile pour le calcul des aides.",
363
316
  "answersComponent": "MPbCard",
364
317
  "progressBar": true,
365
- "widthFromL": true
318
+ "widthFromL": true,
319
+ "forceOneCardPerLineOnMobile": true
366
320
  },
367
321
  "answers": {
368
322
  "LOW_IDF_1": {
@@ -1983,19 +1937,29 @@
1983
1937
  },
1984
1938
  "nextStep": {
1985
1939
  "code": "LMFR_FLOOR_INSULATION_QUESTION_SURFACE_AREA"
1940
+ },
1941
+ "slots": {
1942
+ "beforeContent": {
1943
+ "display": true,
1944
+ "component": "MPbProgress",
1945
+ "totalStep": 11,
1946
+ "currentStep": 7
1947
+ }
1986
1948
  }
1987
1949
  },
1988
1950
  "LMFR_FLOOR_INSULATION_QUESTION_SURFACE_AREA": {
1989
1951
  "code": "LMFR_FLOOR_INSULATION_QUESTION_SURFACE_AREA",
1990
1952
  "type": "STEP",
1991
- "component": "MPbSpaceInput",
1953
+ "component": "PbSpaceInput",
1992
1954
  "slots": {
1993
1955
  "stickyBottom": {
1994
- "display": false
1995
- },
1996
- "beforeContent": {
1997
- "display": true,
1998
- "component": "MPbProgress"
1956
+ "display": false,
1957
+ "beforeContent": {
1958
+ "display": true,
1959
+ "component": "MPbProgress",
1960
+ "totalStep": 11,
1961
+ "currentStep": 8
1962
+ }
1999
1963
  }
2000
1964
  },
2001
1965
  "payload": {
@@ -2026,9 +1990,7 @@
2026
1990
  "type": "MODAL",
2027
1991
  "dialogViewModel": {
2028
1992
  "headerTitle": "Pour calculer la surface de vos planchers bas à isoler c'est facile.",
2029
- "htmlContent": "<p>Vous devrez simplement connaître la longueur et la largeur au sol de votre cave, garage ou sous sol à isoler. Il suffit ensuite de multiplier la longueur par la largeur de la façon suivante :<br/><b>Surface de la pièce à isoler = Longueur x Largeur</b></p>",
2030
- "linkText": "Accéder à mon espace impot.gouv",
2031
- "hrefLink": "https://www.impot.gouv"
1993
+ "htmlContent": "<p>Vous devrez simplement connaître la longueur et la largeur au sol de votre cave, garage ou sous sol à isoler. Il suffit ensuite de multiplier la longueur par la largeur de la façon suivante :<br/><b>Surface de la pièce à isoler = Longueur x Largeur</b></p>"
2032
1994
  }
2033
1995
  }
2034
1996
  }
@@ -2046,8 +2008,7 @@
2046
2008
  "viewModel": {
2047
2009
  "label": "Quelles pièces souhaitez-vous isoler ?",
2048
2010
  "answersComponent": "MPbCard",
2049
- "progressBar": true,
2050
- "widthFromL": true
2011
+ "forceOneCardPerLineOnMobile": true
2051
2012
  },
2052
2013
  "answers": {
2053
2014
  "CELLAR": {
@@ -2079,7 +2040,9 @@
2079
2040
  "slots": {
2080
2041
  "beforeContent": {
2081
2042
  "display": true,
2082
- "component": "MPbProgress"
2043
+ "component": "MPbProgress",
2044
+ "totalStep": 11,
2045
+ "currentStep": 9
2083
2046
  }
2084
2047
  }
2085
2048
  },
@@ -2087,13 +2050,12 @@
2087
2050
  "LMFR_FLOOR_INSULATION_ADVICE": {
2088
2051
  "code": "LMFR_FLOOR_INSULATION_ADVICE",
2089
2052
  "type": "STEP",
2090
- "component": "PbQuestion",
2053
+ "component": "MPbQuestion",
2091
2054
  "payload": {
2092
2055
  "viewModel": {
2093
2056
  "label": "Pour aller plus loin dans votre projet",
2094
2057
  "answersComponent": "MPbCard",
2095
- "progressBar": true,
2096
- "widthFromL": true
2058
+ "forceOneCardPerLineOnMobile": true
2097
2059
  },
2098
2060
  "answers": {
2099
2061
  "DISCOVER_OUR_HEATERS": {
@@ -2113,18 +2075,25 @@
2113
2075
  }
2114
2076
  }
2115
2077
  }
2078
+ },
2079
+ "slots": {
2080
+ "beforeContent": {
2081
+ "display": true,
2082
+ "component": "MPbProgress",
2083
+ "totalStep": 11,
2084
+ "currentStep": 10
2085
+ }
2116
2086
  }
2117
2087
  },
2118
2088
  "LMFR_FLOOR_INSULATION_ADVICE_FOR_LESSEE": {
2119
2089
  "code": "LMFR_FLOOR_INSULATION_ADVICE_FOR_LESSEE",
2120
2090
  "type": "STEP",
2121
- "component": "PbQuestion",
2091
+ "component": "MPbQuestion",
2122
2092
  "payload": {
2123
2093
  "viewModel": {
2124
2094
  "label": "Pour aller plus loin dans votre projet",
2125
2095
  "answersComponent": "MPbCard",
2126
- "progressBar": true,
2127
- "widthFromL": true
2096
+ "forceOneCardPerLineOnMobile": true
2128
2097
  },
2129
2098
  "answers": {
2130
2099
  "DISCOVER_OUR_HEATERS": {
@@ -2152,6 +2121,14 @@
2152
2121
  }
2153
2122
  }
2154
2123
  }
2124
+ },
2125
+ "slots": {
2126
+ "beforeContent": {
2127
+ "display": true,
2128
+ "component": "MPbProgress",
2129
+ "totalStep": 11,
2130
+ "currentStep": 11
2131
+ }
2155
2132
  }
2156
2133
  },
2157
2134
 
@@ -2243,11 +2220,11 @@
2243
2220
  "LMFR_FLOOR_INSULATION_QUESTION_CONTACT": {
2244
2221
  "code": "LMFR_FLOOR_INSULATION_QUESTION_CONTACT",
2245
2222
  "type": "STEP",
2246
- "component": "PbQuestion",
2223
+ "component": "MPbQuestion",
2247
2224
  "payload": {
2248
2225
  "viewModel": {
2249
2226
  "label": "Vous souhaitez être rappelé pour :",
2250
- "answersComponent": "PbCard"
2227
+ "answersComponent": "MPbCard"
2251
2228
  },
2252
2229
  "answers": {
2253
2230
  "PHONE_CALL": {
@@ -2367,7 +2344,22 @@
2367
2344
  "label": "Envoyer",
2368
2345
  "action": {
2369
2346
  "type": "STEP",
2370
- "code": "LMFR_FLOOR_INSULATION_LEAD_CREATED"
2347
+ "conditionals": [
2348
+ {
2349
+ "conditions": [
2350
+ "isAnswerValue('LMFR_FLOOR_INSULATION_LEAD_FORM', 'status', 'LEAD_CREATED_SUCCESSFULLY')"
2351
+ ],
2352
+ "nextStep": {
2353
+ "code": "LMFR_FLOOR_INSULATION_LEAD_CREATED"
2354
+ }
2355
+ },
2356
+ {
2357
+ "conditions": ["true"],
2358
+ "nextStep": {
2359
+ "code": "LMFR_FLOOR_INSULATION_LEAD_CREATION_FAILED"
2360
+ }
2361
+ }
2362
+ ]
2371
2363
  },
2372
2364
  "bordered": false
2373
2365
  }
@@ -2379,7 +2371,6 @@
2379
2371
  "type": "STEP",
2380
2372
  "component": "PbPedagogy",
2381
2373
  "payload": {
2382
- "code": "LMFR_FLOOR_INSULATION_LEAD_CREATED",
2383
2374
  "viewModel": {
2384
2375
  "title": "Merci, votre demande a été prise en compte",
2385
2376
  "icon": "https://storage.googleapis.com/project-booster-media/vad/fin-de-parcours/check_80.svg",
@@ -2390,23 +2381,55 @@
2390
2381
  }
2391
2382
  ]
2392
2383
  },
2393
- "multiSelect": {
2394
- "actions": {
2395
- "VALIDATE": {
2396
- "isAnswer": false,
2397
- "label": "Retourner à l’estimation",
2398
- "nextStep": {
2399
- "code": "SUMMARY"
2400
- }
2384
+ "callToActions": [
2385
+ {
2386
+ "isAnswer": false,
2387
+ "label": "Retourner à l’estimation",
2388
+ "nextStep": {
2389
+ "code": "SUMMARY"
2401
2390
  }
2402
2391
  }
2403
- }
2392
+ ]
2393
+ }
2394
+ },
2395
+ "LMFR_FLOOR_INSULATION_LEAD_CREATION_FAILED": {
2396
+ "code": "LMFR_FLOOR_INSULATION_LEAD_CREATION_FAILED",
2397
+ "type": "STEP",
2398
+ "component": "PbPedagogy",
2399
+ "payload": {
2400
+ "viewModel": {
2401
+ "title": "Désolé, votre région n'est pas prise en charge pour le moment",
2402
+ "description": [
2403
+ {
2404
+ "label": "Veuillez vous rendre dans votre magasin Leroy Merlin le plus proche",
2405
+ "icon": "https://storage.googleapis.com/project-booster-media/vad/fin-de-parcours/picto_plan_pour-espace-projet-compte.png"
2406
+ }
2407
+ ]
2408
+ },
2409
+ "callToActions": [
2410
+ {
2411
+ "isAnswer": false,
2412
+ "label": "Retourner à l’estimation",
2413
+ "bordered": false,
2414
+ "nextStep": {
2415
+ "code": "SUMMARY"
2416
+ }
2417
+ },
2418
+ {
2419
+ "isAnswer": false,
2420
+ "label": "Quitter l'estimation",
2421
+ "bordered": true,
2422
+ "nextStep": {
2423
+ "code": "LMFR_FLOOR_INSULATION_ADVICE"
2424
+ }
2425
+ }
2426
+ ]
2404
2427
  }
2405
2428
  },
2406
2429
  "__END__": {
2407
2430
  "code": "__END__",
2408
2431
  "type": "END",
2409
- "component": "PbQuestion",
2432
+ "component": "MPbQuestion",
2410
2433
  "payload": {
2411
2434
  "viewModel": {
2412
2435
  "label": "End"