project-booster-vue 9.65.0 → 9.65.1

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.65.0",
3
+ "version": "9.65.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -180,6 +180,24 @@
180
180
  ></m-link>
181
181
  </div>
182
182
  </div>
183
+ <div class="pb-question__padding-bottom" v-if="!payload.helpArea" />
184
+ <m-flex class="pb-question__help" v-if="payload.helpArea" direction="column">
185
+ <div v-for="helpItem in payload.helpArea" :key="helpItem.type">
186
+ <div v-if="helpItem.type === 'text'">
187
+ <p class="pb-question__help__text">{{ helpItem.label }}</p>
188
+ </div>
189
+ <div v-if="helpItem.type === 'link'">
190
+ <m-link
191
+ class="pb-question__help__link"
192
+ :label="helpItem.label"
193
+ width="full"
194
+ size="l"
195
+ theme="primary"
196
+ @click="handleHelpClick(helpItem.action)"
197
+ />
198
+ </div>
199
+ </div>
200
+ </m-flex>
183
201
  <pb-sticky-footer
184
202
  ref="pbStickyFooter"
185
203
  class="pb-question__sticky-footer"
@@ -202,7 +220,7 @@
202
220
  >
203
221
  </m-button>
204
222
  </div>
205
- <div class="pb-question__actions-container__column" v-if="!skippables">
223
+ <div class="pb-question__actions-container__column" v-if="!skippables || hasAnswersSelected">
206
224
  <m-button
207
225
  class="pb-question__actions-buttons-button"
208
226
  size="m"
@@ -211,9 +229,10 @@
211
229
  iconPosition="right"
212
230
  label="Etape suivante"
213
231
  @click="validMultiSelect(payload?.multiSelect?.actions?.VALIDATE)"
232
+ :disabled="!hasAnswersSelected"
214
233
  />
215
234
  </div>
216
- <div v-else class="pb-question__actions-container__column">
235
+ <div v-else-if="skippables && !hasAnswersSelected" class="pb-question__actions-container__column">
217
236
  <m-button
218
237
  v-for="button in skippables"
219
238
  :key="button?.label"
@@ -246,24 +265,6 @@
246
265
  </m-flexy-col>
247
266
  </m-flexy>
248
267
  </m-container>
249
- <div class="pb-question__padding-bottom" v-if="!payload.helpArea" />
250
- <m-flex class="pb-question__help" v-if="payload.helpArea" direction="column">
251
- <div v-for="helpItem in payload.helpArea" :key="helpItem.type">
252
- <div v-if="helpItem.type === 'text'">
253
- <p class="pb-question__help__text">{{ helpItem.label }}</p>
254
- </div>
255
- <div v-if="helpItem.type === 'link'">
256
- <m-link
257
- class="pb-question__help__link"
258
- :label="helpItem.label"
259
- width="full"
260
- size="l"
261
- theme="primary"
262
- @click="handleHelpClick(helpItem.action)"
263
- />
264
- </div>
265
- </div>
266
- </m-flex>
267
268
 
268
269
  <m-modal
269
270
  :modalTitle="notification?.modal?.title"
@@ -531,7 +532,7 @@ export default defineComponent({
531
532
  this.updateSelectedAnswers();
532
533
  this.updatePbQuestionActionsButtonsSizeHeight();
533
534
  this.progressBar = this.payload.viewModel?.progressBar || false;
534
- this.widthXlSize = this.payload.viewModel?.widthXlSize || false;
535
+ this.widthXlSize = this.payload.viewModel?.widthXlSize || true;
535
536
  this.notification = this.payload.viewModel.notification || undefined;
536
537
  },
537
538
 
@@ -1186,11 +1187,36 @@ $answers-apparition-duration: '0.5s';
1186
1187
  }
1187
1188
 
1188
1189
  &__column {
1189
- width: 50%;
1190
+ width: 100%;
1191
+
1192
+ & > button {
1193
+ width: 100%;
1194
+ }
1195
+
1196
+ @include set-from-screen($responsive-breakpoint) {
1197
+ width: 50%;
1198
+
1199
+ & > button {
1200
+ width: auto;
1201
+ }
1202
+ }
1190
1203
 
1191
1204
  &:last-child {
1192
1205
  display: flex;
1193
- justify-content: flex-end;
1206
+ margin-bottom: $mu050;
1207
+
1208
+ @include set-from-screen($responsive-breakpoint) {
1209
+ justify-content: flex-end !important;
1210
+ order: 2;
1211
+ }
1212
+ }
1213
+
1214
+ &:first-child {
1215
+ order: 2;
1216
+
1217
+ @include set-from-screen($responsive-breakpoint) {
1218
+ order: 1;
1219
+ }
1194
1220
  }
1195
1221
  }
1196
1222
 
@@ -395,7 +395,7 @@ $responsive-breakpoint: 'm';
395
395
  @include set-from-screen($responsive-breakpoint) {
396
396
  @include set-font-scale('06', 'm');
397
397
 
398
- padding: $mu250 $mu100 $mu050 $mu100;
398
+ padding: $mu250 $mu100 $mu050 0;
399
399
  text-align: left;
400
400
  }
401
401
  }
@@ -89,15 +89,14 @@
89
89
  </div>
90
90
 
91
91
  <div class="pb-upload-document__buttons row-flex" v-if="payload.multiSelect">
92
- <div class="pb-upload-document__buttons__button" v-for="button in payload.multiSelect.actions">
93
- <m-button label="Précédent" @click="$emit('go-back')" theme="bordered-neutral" icon="ArrowBack48" />
94
- </div>
95
92
  <div class="pb-upload-document__buttons__button" v-for="button in payload.multiSelect.actions">
96
93
  <m-button
97
94
  :label="button.label"
98
95
  @click="validMultiSelect(button)"
99
96
  :theme="button.theme"
100
97
  :icon="button.icon"
98
+ size="m"
99
+ size-from-l="l"
101
100
  :iconPosition="button.iconPosition"
102
101
  />
103
102
  </div>
@@ -33,6 +33,7 @@
33
33
  "display": true,
34
34
  "component": "MPbProgress",
35
35
  "totalStep": 13,
36
+
36
37
  "currentStep": 1,
37
38
  "sizeXlWidth": true,
38
39
  "label": "Votre projet de salle de bains"
@@ -41,12 +42,11 @@
41
42
  "payload": {
42
43
  "viewModel": {
43
44
  "hero": "Estimez votre projet salle de bain",
44
- "label": "Que souhaitez-vous installer ou modifier ?",
45
+ "label": "Que souhaitez-vous installer ou remplacer dans votre salle de bains ?",
45
46
  "answersComponent": "MPbCard",
46
47
  "progressBar": true,
47
48
  "widthFromL": "1of3",
48
49
  "widthXlSize": true,
49
- "hideBackButton": true,
50
50
  "forceOneCardPerLineOnMobile": true,
51
51
  "sortBy": {
52
52
  "type": ["numeric", "string"],
@@ -65,9 +65,9 @@
65
65
  "isAnswerContaining('LMFR_QUESTION_WORKS', 'BATHTUB') && isAnswerContaining('LMFR_QUESTION_WORKS', 'SHOWER')",
66
66
  "isAnswerContaining('LMFR_QUESTION_WORKS', 'BATHTUB') && isAnswerContaining('LMFR_QUESTION_WORKS', 'COVERING_FLOOR')",
67
67
  "isAnswerContaining('LMFR_QUESTION_WORKS', 'BATHTUB') && isAnswerContaining('LMFR_QUESTION_WORKS', 'COVERING_WALL')",
68
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'BATHTUB') && isAnswerContaining('LMFR_QUESTION_WORKS', 'DRY_TOWEL')",
69
68
  "isAnswerContaining('LMFR_QUESTION_WORKS', 'BATHTUB') && isAnswerContaining('LMFR_QUESTION_WORKS', 'WC')",
70
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'BATHTUB') && isAnswerContaining('LMFR_QUESTION_WORKS', 'FURNITURES')"
69
+ "isAnswerContaining('LMFR_QUESTION_WORKS', 'BATHTUB') && isAnswerContaining('LMFR_QUESTION_WORKS', 'FURNITURES')",
70
+ "isAnswerContaining('LMFR_QUESTION_WORKS', 'BATHTUB') && isAnswerContaining('LMFR_QUESTION_WORKS', 'REPLACE_BATHTUB_TO_SHOWER')"
71
71
  ],
72
72
  "nextStep": {
73
73
  "code": "LMFR_BATHROOM_BATHTUB_TYPE"
@@ -78,8 +78,8 @@
78
78
  "isAnswerContaining('LMFR_QUESTION_WORKS', 'SHOWER') && isAnswerContaining('LMFR_QUESTION_WORKS', 'FURNITURES')",
79
79
  "isAnswerContaining('LMFR_QUESTION_WORKS', 'SHOWER') && isAnswerContaining('LMFR_QUESTION_WORKS', 'COVERING_FLOOR')",
80
80
  "isAnswerContaining('LMFR_QUESTION_WORKS', 'SHOWER') && isAnswerContaining('LMFR_QUESTION_WORKS', 'COVERING_WALL')",
81
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'SHOWER') && isAnswerContaining('LMFR_QUESTION_WORKS', 'DRY_TOWEL')",
82
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'SHOWER') && isAnswerContaining('LMFR_QUESTION_WORKS', 'WC')"
81
+ "isAnswerContaining('LMFR_QUESTION_WORKS', 'SHOWER') && isAnswerContaining('LMFR_QUESTION_WORKS', 'WC')",
82
+ "isAnswerContaining('LMFR_QUESTION_WORKS', 'REPLACE_BATHTUB_TO_SHOWER')"
83
83
  ],
84
84
  "nextStep": {
85
85
  "code": "LMFR_BATHROOM_SHOWER_TYPE"
@@ -89,9 +89,6 @@
89
89
  "conditions": [
90
90
  "isAnswerContaining('LMFR_QUESTION_WORKS', 'FURNITURES') && isAnswerContaining('LMFR_QUESTION_WORKS', 'COVERING_FLOOR')",
91
91
  "isAnswerContaining('LMFR_QUESTION_WORKS', 'FURNITURES') && isAnswerContaining('LMFR_QUESTION_WORKS', 'COVERING_WALL')",
92
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'FURNITURES') && isAnswerContaining('LMFR_QUESTION_WORKS', 'DRY_TOWEL')",
93
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'FURNITURES') && isAnswerContaining('LMFR_QUESTION_WORKS', 'REPLACE_BATHTUB_TO_SHOWER')",
94
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'FURNITURES') && isAnswerContaining('LMFR_QUESTION_WORKS', 'CEILING_PAINTING')",
95
92
  "isAnswerContaining('LMFR_QUESTION_WORKS', 'FURNITURES') && isAnswerContaining('LMFR_QUESTION_WORKS', 'WC')"
96
93
  ],
97
94
  "nextStep": {
@@ -101,27 +98,12 @@
101
98
  {
102
99
  "conditions": [
103
100
  "isAnswerContaining('LMFR_QUESTION_WORKS', 'WC') && isAnswerContaining('LMFR_QUESTION_WORKS', 'COVERING_FLOOR')",
104
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'WC') && isAnswerContaining('LMFR_QUESTION_WORKS', 'COVERING_WALL')",
105
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'WC') && isAnswerContaining('LMFR_QUESTION_WORKS', 'REPLACE_BATHTUB_TO_SHOWER')",
106
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'WC') && isAnswerContaining('LMFR_QUESTION_WORKS', 'DRY_TOWEL')",
107
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'WC') && isAnswerContaining('LMFR_QUESTION_WORKS', 'FURNITURES')"
101
+ "isAnswerContaining('LMFR_QUESTION_WORKS', 'WC') && isAnswerContaining('LMFR_QUESTION_WORKS', 'COVERING_WALL')"
108
102
  ],
109
103
  "nextStep": {
110
104
  "code": "LMFR_BATHROOM_WC_TYPE"
111
105
  }
112
106
  },
113
- {
114
- "conditions": [
115
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'REPLACE_BATHTUB_TO_SHOWER')",
116
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'REPLACE_BATHTUB_TO_SHOWER') && isAnswerContaining('LMFR_QUESTION_WORKS', 'FURNITURES')",
117
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'REPLACE_BATHTUB_TO_SHOWER') && isAnswerContaining('LMFR_QUESTION_WORKS', 'WC')",
118
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'REPLACE_BATHTUB_TO_SHOWER') && isAnswerContaining('LMFR_QUESTION_WORKS', 'COVERING_WALL')",
119
- "isAnswerContaining('LMFR_QUESTION_WORKS', 'REPLACE_BATHTUB_TO_SHOWER') && isAnswerContaining('LMFR_QUESTION_WORKS', 'COVERING_FLOOR')"
120
- ],
121
- "nextStep": {
122
- "code": "LMFR_BATHROOM_SHOWER_TYPE_REPLACEMENT"
123
- }
124
- },
125
107
  {
126
108
  "conditions": [
127
109
  "isAnswerContaining('LMFR_QUESTION_WORKS', 'COVERING_FLOOR') && isAnswerContaining('LMFR_QUESTION_WORKS', 'COVERING_WALL')"
@@ -131,15 +113,7 @@
131
113
  }
132
114
  },
133
115
  {
134
- "conditions": [
135
- "isAnswerMatching('LMFR_QUESTION_WORKS', 'COVERING_FLOOR')",
136
- "isAnswerMatching('LMFR_QUESTION_WORKS', 'COVERING_WALL')",
137
- "isAnswerMatching('LMFR_QUESTION_WORKS', 'DRY_TOWEL')",
138
- "isAnswerMatching('LMFR_QUESTION_WORKS', 'WC')",
139
- "isAnswerMatching('LMFR_QUESTION_WORKS', 'FURNITURES')",
140
- "isAnswerMatching('LMFR_QUESTION_WORKS', 'BATHTUB')",
141
- "isAnswerMatching('LMFR_QUESTION_WORKS', 'SHOWER')"
142
- ],
116
+ "conditions": ["true"],
143
117
  "nextStep": {
144
118
  "code": "LMFR_BATHROOM_EXIT_OPTIONS"
145
119
  }
@@ -228,11 +202,11 @@
228
202
  {
229
203
  "conditions": ["isAnswerContaining('LMFR_QUESTION_WORKS', 'BATHTUB')"],
230
204
  "viewModel": {
231
- "title": "Votre projet concerne uniquement une baignoire ?",
232
- "content": "<strong>Pour votre projet, nous vous attendons directement dans votre magasin.</strong><p>La planification de rendez-vous, est dédiée à la rénovation complète de la salle de bains</p>",
205
+ "title": "Vous n’avez pas besoin de rendez-vous",
206
+ "content": "Pour faire installer votre produit, parlez-en directement à un vendeur en magasin.",
233
207
  "nextStep": {
234
208
  "link": "https://www.leroymerlin.fr/produits/salle-de-bains/baignoire/",
235
- "label": "Etape suivante"
209
+ "label": "Voir toutes les baignoires"
236
210
  }
237
211
  }
238
212
  },
@@ -243,7 +217,7 @@
243
217
  "content": "<strong>Pour votre projet, nous vous attendons directement dans votre magasin.</strong><p>La planification de rendez-vous, est dédiée à la rénovation complète de la salle de bains</p>",
244
218
  "nextStep": {
245
219
  "link": "https://www.leroymerlin.fr/produits/salle-de-bains/douche/",
246
- "label": "Etape suivante"
220
+ "label": "Voir toutes les douches"
247
221
  }
248
222
  }
249
223
  },
@@ -254,7 +228,7 @@
254
228
  "content": "<strong>Pour votre projet, nous vous attendons directement dans votre magasin.</strong><p>La planification de rendez-vous, est dédiée à la rénovation complète de la salle de bains</p>",
255
229
  "nextStep": {
256
230
  "link": "https://www.leroymerlin.fr/produits/salle-de-bains/vasque-et-lavabo/",
257
- "label": "Etape suivante"
231
+ "label": "Voir toutes les meubles vasques"
258
232
  }
259
233
  }
260
234
  },
@@ -276,7 +250,7 @@
276
250
  "content": "<strong>Pour votre projet, nous vous attendons directement dans votre magasin.</strong><p>La planification de rendez-vous, est dédiée à la rénovation complète de la salle de bains</p>",
277
251
  "nextStep": {
278
252
  "link": "https://www.leroymerlin.fr/produits/revetement-sol-et-mur/carrelage/carrelage-salle-de-bains/",
279
- "label": "Etape suivante"
253
+ "label": "Voir tous les revêtement de sol"
280
254
  }
281
255
  }
282
256
  },
@@ -287,7 +261,7 @@
287
261
  "content": "<strong>Pour votre projet, nous vous attendons directement dans votre magasin.</strong><p>La planification de rendez-vous, est dédiée à la rénovation complète de la salle de bains</p>",
288
262
  "nextStep": {
289
263
  "link": "https://www.leroymerlin.fr/produits/revetement-sol-et-mur/carrelage/carrelage-salle-de-bains/",
290
- "label": "Etape suivante"
264
+ "label": "Voir tous les revêtement de murs"
291
265
  }
292
266
  }
293
267
  }
@@ -381,7 +355,9 @@
381
355
  "nextStep": {
382
356
  "conditionals": [
383
357
  {
384
- "conditions": ["isAnswerContaining('LMFR_QUESTION_WORKS', 'SHOWER')"],
358
+ "conditions": [
359
+ "isAnswerContaining('LMFR_QUESTION_WORKS', 'SHOWER') || isAnswerContaining('LMFR_QUESTION_WORKS', 'REPLACE_BATHTUB_TO_SHOWER')"
360
+ ],
385
361
  "nextStep": {
386
362
  "code": "LMFR_BATHROOM_SHOWER_TYPE"
387
363
  }
@@ -496,83 +472,6 @@
496
472
  ]
497
473
  }
498
474
  },
499
- "LMFR_BATHROOM_SHOWER_TYPE_REPLACEMENT": {
500
- "code": "LMFR_BATHROOM_SHOWER_TYPE_REPLACEMENT",
501
- "type": "STEP",
502
- "component": "MPbQuestion",
503
- "slots": {
504
- "beforeContent": {
505
- "display": true,
506
- "component": "MPbProgress",
507
- "totalStep": 13,
508
- "currentStep": 1,
509
- "sizeXlWidth": true,
510
- "label": "Votre projet de salle de bains"
511
- }
512
- },
513
- "payload": {
514
- "viewModel": {
515
- "answersComponent": "MPbCard",
516
- "progressBar": true,
517
- "forceOneCardPerLineOnMobile": true,
518
- "widthFromL": "1of3",
519
- "widthXlSize": true,
520
- "label": "Quel type de douche voulez-vous installer ?"
521
- },
522
- "answers": {
523
- "STRAIGH_TUB": {
524
- "code": "STRAIGH_TUB",
525
- "viewModel": {
526
- "title": "Cabine",
527
- "image": "https://storage.googleapis.com/project-booster-media/bathroom/shower/cabine.jpg"
528
- },
529
- "meta": {
530
- "ranking": 1
531
- }
532
- },
533
- "CLOSED": {
534
- "code": "CLOSED",
535
- "viewModel": {
536
- "title": "Fermée",
537
- "image": "https://storage.googleapis.com/project-booster-media/bathroom/shower/fermee.png"
538
- },
539
- "meta": {
540
- "ranking": 2
541
- }
542
- },
543
- "ITALIAN": {
544
- "code": "ITALIAN",
545
- "viewModel": {
546
- "title": "Italienne",
547
- "image": "https://storage.googleapis.com/project-booster-media/bathroom/shower/italienne.jpg"
548
- },
549
- "meta": {
550
- "ranking": 3
551
- }
552
- },
553
- "COLUMN": {
554
- "code": "COLUMN",
555
- "viewModel": {
556
- "title": "Colonne",
557
- "image": "https://storage.googleapis.com/project-booster-media/bathroom/shower/colonne.jpg"
558
- },
559
- "meta": {
560
- "ranking": 4
561
- }
562
- }
563
- }
564
- },
565
- "nextStep": {
566
- "conditionals": [
567
- {
568
- "conditions": ["true"],
569
- "nextStep": {
570
- "code": "LMFR_BATHROOM_STYLE"
571
- }
572
- }
573
- ]
574
- }
575
- },
576
475
  "LMFR_BATHROOM_FURNITURE_TYPE": {
577
476
  "code": "LMFR_BATHROOM_FURNITURE_TYPE",
578
477
  "type": "STEP",
@@ -597,8 +496,8 @@
597
496
  "label": "Quel type de meubles voulez-vous installer ?"
598
497
  },
599
498
  "answers": {
600
- "STRAIGH_TUB": {
601
- "code": "",
499
+ "CABINET": {
500
+ "code": "CABINET",
602
501
  "viewModel": {
603
502
  "title": "Armoire de toilette",
604
503
  "image": "https://storage.googleapis.com/project-booster-media/bathroom/furniture/armoire-de-toilette.jpg"
@@ -667,12 +566,6 @@
667
566
  "code": "LMFR_BATHROOM_WC_TYPE"
668
567
  }
669
568
  },
670
- {
671
- "conditions": ["isAnswerContaining('LMFR_QUESTION_WORKS', 'REPLACE_BATHTUB_TO_SHOWER')"],
672
- "nextStep": {
673
- "code": "LMFR_BATHROOM_SHOWER_TYPE_REPLACEMENT"
674
- }
675
- },
676
569
  {
677
570
  "conditions": ["true"],
678
571
  "nextStep": {
@@ -729,20 +622,7 @@
729
622
  }
730
623
  },
731
624
  "nextStep": {
732
- "conditionals": [
733
- {
734
- "conditions": ["isAnswerContaining('LMFR_QUESTION_WORKS', 'REPLACE_BATHTUB_TO_SHOWER')"],
735
- "nextStep": {
736
- "code": "LMFR_BATHROOM_SHOWER_TYPE_REPLACEMENT"
737
- }
738
- },
739
- {
740
- "conditions": ["true"],
741
- "nextStep": {
742
- "code": "LMFR_BATHROOM_STYLE"
743
- }
744
- }
745
- ]
625
+ "code": "LMFR_BATHROOM_STYLE"
746
626
  }
747
627
  },
748
628
  "LMFR_BATHROOM_STYLE": {
@@ -766,32 +646,13 @@
766
646
  "forceOneCardPerLineOnMobile": true,
767
647
  "widthFromL": "1of2",
768
648
  "widthXlSize": true,
769
- "label": "Quels styles souhaitez-vous pour votre nouvelle salle de bains ?",
770
- "subtitle": "Cette question est facultative"
771
- },
772
- "multiSelect": {
773
- "actions": {
774
- "VALIDATE": {
775
- "label": "Étape suivante",
776
- "nextStep": {
777
- "conditionals": [
778
- {
779
- "conditions": ["true"],
780
- "nextStep": {
781
- "code": "LMFR_QUESTION_PLAN_INFO"
782
- }
783
- }
784
- ]
785
- }
786
- }
787
- }
649
+ "label": "Quels styles préférez-vous pour votre salle de bains ?",
650
+ "subtitle": "Plusieurs choix possibles. Cette étape est facultative."
788
651
  },
789
652
  "skippable": [
790
653
  {
791
- "isAnswer": true,
792
- "label": "Passer à l'étape suivante",
793
- "icon": "ArrowNext48",
794
- "iconPosition": "right",
654
+ "isAnswer": false,
655
+ "label": "Passer cette étape",
795
656
  "theme": "text-primary",
796
657
  "width": "full",
797
658
  "widthFromM": "fit",
@@ -800,6 +661,16 @@
800
661
  }
801
662
  }
802
663
  ],
664
+ "multiSelect": {
665
+ "actions": {
666
+ "VALIDATE": {
667
+ "label": "Étape suivante",
668
+ "nextStep": {
669
+ "code": "LMFR_QUESTION_PLAN_INFO"
670
+ }
671
+ }
672
+ }
673
+ },
803
674
  "answers": {
804
675
  "NATURAL": {
805
676
  "code": "NATURAL",
@@ -885,21 +756,6 @@
885
756
  }
886
757
  }
887
758
  },
888
- "callToActions": [
889
- {
890
- "label": "Précédent",
891
- "theme": "bordered-primary-02",
892
- "nextStep": {
893
- "code": "__BACK__"
894
- }
895
- },
896
- {
897
- "label": "Suivant",
898
- "nextStep": {
899
- "code": "LMFR_QUESTION_ADD_PICTURE"
900
- }
901
- }
902
- ],
903
759
  "skippable": [
904
760
  {
905
761
  "isAnswer": true,
@@ -952,7 +808,7 @@
952
808
  "DOWNLOAD_PLAN": {
953
809
  "code": "DOWNLOAD_PLAN",
954
810
  "viewModel": {
955
- "title": "Je télécharge mon plan"
811
+ "title": "Télécharger mon plan"
956
812
  },
957
813
  "meta": {
958
814
  "ranking": 1
@@ -961,7 +817,7 @@
961
817
  "LATER": {
962
818
  "code": "LATER",
963
819
  "viewModel": {
964
- "title": "Je transmets mon plan au plus tard 48h avant le rendez-vous"
820
+ "title": "Transmettre mon plan plus tard"
965
821
  },
966
822
  "meta": {
967
823
  "ranking": 2
@@ -970,7 +826,7 @@
970
826
  "IMPORT_SIMULATION": {
971
827
  "code": "IMPORT_SIMULATION",
972
828
  "viewModel": {
973
- "title": "J'utilise une simulation 3D réalisée sur Leroy Merlin"
829
+ "title": "Utiliser le plan d’une conception 3D réalisée sur Leroy Merlin"
974
830
  },
975
831
  "meta": {
976
832
  "ranking": 3
@@ -1017,7 +873,7 @@
1017
873
  },
1018
874
  "payload": {
1019
875
  "viewModel": {
1020
- "title": "Voulez-vous télécharger vos plans plus tard ?",
876
+ "title": "Transmettre mon plan plus tard",
1021
877
  "type": "warning",
1022
878
  "exitOptionsTitle": "Réaliser rapidement votre plan :",
1023
879
  "notification": {
@@ -1078,6 +934,7 @@
1078
934
  "LMFR_QUESTION_ADD_PICTURE": {
1079
935
  "code": "LMFR_QUESTION_ADD_PICTURE",
1080
936
  "type": "STEP",
937
+ "component": "MPbUploadDocument",
1081
938
  "slots": {
1082
939
  "beforeContent": {
1083
940
  "display": true,
@@ -1088,13 +945,11 @@
1088
945
  "label": "Votre projet de salle de bains"
1089
946
  }
1090
947
  },
1091
- "component": "MPbUploadDocument",
1092
948
  "payload": {
1093
949
  "viewModel": {
1094
- "label": "Souhaitez-vous nous transmettre des photos de votre salle de bain ou de vos inspirations ?",
1095
- "subtitle": "En joignant des photos, votre expert sera en mesure de vous proposer une solution qui correspond au mieux à vos attentes.",
1096
- "addTitle": "Ajouter une photo",
1097
- "addText": " ",
950
+ "label": "Possédez-vous des photos de votre salle de bain actuelle ?",
951
+ "addText": "Plus on en sait, mieux vous serez accompagné",
952
+ "addTitle": "Importer des photos",
1098
953
  "answersComponent": "PbCard",
1099
954
  "showMore": {
1100
955
  "itemsPerPage": 4,
@@ -1123,10 +978,15 @@
1123
978
  },
1124
979
  "multiSelect": {
1125
980
  "actions": {
981
+ "BACK": {
982
+ "label": "Précédent",
983
+ "theme": "bordered-primary-02",
984
+ "nextStep": {
985
+ "code": "__BACK__"
986
+ }
987
+ },
1126
988
  "VALIDATE": {
1127
- "label": "Etape suivante",
1128
- "icon": "ArrowNext48",
1129
- "iconPosition": "right",
989
+ "label": "Suivant",
1130
990
  "nextStep": {
1131
991
  "conditionals": [
1132
992
  {
@@ -1173,12 +1033,12 @@
1173
1033
  },
1174
1034
  "payload": {
1175
1035
  "viewModel": {
1176
- "label": "Partagez votre plan de salle de bains :",
1177
- "addTitle": "Importer un fichier",
1178
- "addText": " ",
1036
+ "label": "Ajouter un plan",
1037
+ "addTitle": "Sélectionner un fichier",
1038
+ "addText": "",
1179
1039
  "answersComponent": "PbCard",
1180
1040
  "redirectLink": {
1181
- "label": "Je préfère utiliser un plan 3D réalisé sur mon espace client.",
1041
+ "label": "Utiliser une simulation 3D à la place",
1182
1042
  "nextStep": {
1183
1043
  "code": "LMFR_QUESTION_SCENARIO_ADD_SIMULATION"
1184
1044
  }
@@ -1189,46 +1049,49 @@
1189
1049
  },
1190
1050
  "mediaPayload": {
1191
1051
  "viewModel": {
1192
- "type": "documentsPictures",
1052
+ "type": "documentsPlans",
1193
1053
  "acceptedFileTypes": "image/jpeg, image/png, image/heif, image/heic",
1194
1054
  "dialog": {
1195
1055
  "hideCross": false,
1196
1056
  "fullscreen": false,
1197
- "title": "Ajouter une photo",
1198
- "successUpload": "Votre photo a bien été ajoutée",
1199
- "chooseAnotherMediaLabel": "Choisir une autre photo",
1200
- "uploadProgressTitle": "Chargement de votre photo",
1201
- "errorUploadTitle": "Une erreur est survenue lors de l'envoi de votre photo",
1202
- "uploadPreviewTitle": "Nom de la photo",
1203
- "defaultMediaType": {
1204
- "type": "PHOTO",
1205
- "subtype": "ROOM_PHOTO"
1206
- }
1057
+ "title": "Ajouter un plan",
1058
+ "successUpload": "Votre plan a bien été ajouté",
1059
+ "chooseAnotherMediaLabel": "Choisir un autre plan",
1060
+ "uploadProgressTitle": "Chargement de votre plan",
1061
+ "errorUploadTitle": "Une erreur est survenue lors de l'envoi de votre plan",
1062
+ "uploadPreviewTitle": "Nom du plan",
1063
+ "mediaTypes": [
1064
+ {
1065
+ "type": "PLAN",
1066
+ "subtype": "HAND_DRAWN_PLAN",
1067
+ "label": "Un plan fait moi même"
1068
+ },
1069
+ {
1070
+ "type": "PLAN",
1071
+ "subtype": "ARCHITECT_PLAN",
1072
+ "label": "Un plan d’architecte"
1073
+ }
1074
+ ]
1207
1075
  }
1208
1076
  }
1209
1077
  }
1210
1078
  },
1211
1079
  "multiSelect": {
1212
1080
  "actions": {
1081
+ "BACK": {
1082
+ "label": "Précédent",
1083
+ "theme": "bordered-neutral",
1084
+ "icon": "ArrowBack48",
1085
+ "nextStep": {
1086
+ "code": "__BACK__"
1087
+ }
1088
+ },
1213
1089
  "VALIDATE": {
1214
- "label": "Etape suivante",
1090
+ "label": "Suivant",
1215
1091
  "icon": "ArrowNext48",
1216
1092
  "iconPosition": "right",
1217
1093
  "nextStep": {
1218
- "conditionals": [
1219
- {
1220
- "conditions": ["runtimeOptions.postQualificationAppointment === true"],
1221
- "nextStep": {
1222
- "code": "__END__"
1223
- }
1224
- },
1225
- {
1226
- "conditions": ["runtimeOptions.postQualificationAppointment === false"],
1227
- "nextStep": {
1228
- "code": "PROJECT_UPDATED"
1229
- }
1230
- }
1231
- ]
1094
+ "code": "LMFR_QUESTION_ADD_PICTURE"
1232
1095
  }
1233
1096
  }
1234
1097
  }
@@ -1265,7 +1128,7 @@
1265
1128
  "forceOneCardPerLineOnMobile": true,
1266
1129
  "widthFromL": "1of3",
1267
1130
  "widthXlSize": true,
1268
- "label": "Quand voudriez-vous commencer les travaux ?"
1131
+ "label": "Idéalement, quand aimeriez-vous commencer les travaux ?"
1269
1132
  },
1270
1133
  "answers": {
1271
1134
  "AS_SOON_AS_POSSIBLE": {
@@ -1340,14 +1203,14 @@
1340
1203
  "forceOneCardPerLineOnMobile": true,
1341
1204
  "widthFromL": "1of3",
1342
1205
  "widthXlSize": true,
1343
- "label": "Comment souhaitez-vous installer votre salle de bains ?",
1344
- "subtitle": "* Nos artisans partenaires sont rigoureusement sélectionnés et vos travaux sont garantis jusqu'à 10 ans. Vous pouvez bénéficier d’une TVA réduite sur les produits éligibles et la pose. Les travaux doivent être réalisés dans un lieu d’habitation achevé depuis plus de 2 ans (agrandissements exclus). Sans condition de revenu."
1206
+ "label": "Souhaitez-vous nous confier les travaux ?",
1207
+ "subtitle": "En nous confiant le projet, vous bénéficiez d’une TVA à taux réduit sur les produits achetés et les travaux. La seule condition ? Un lieu d’habitation achevé depuis plus de 2 ans (hors agrandissements)."
1345
1208
  },
1346
1209
  "answers": {
1347
1210
  "BY_A_LEROYMERLIN_PARTNER": {
1348
1211
  "code": "BY_A_LEROYMERLIN_PARTNER",
1349
1212
  "viewModel": {
1350
- "title": "Je fais appel à un artisan partenaire Leroy Merlin *"
1213
+ "title": "Oui, vous confier les travaux"
1351
1214
  },
1352
1215
  "meta": {
1353
1216
  "ranking": 1
@@ -1356,7 +1219,7 @@
1356
1219
  "BY_MYSELF": {
1357
1220
  "code": "BY_MYSELF",
1358
1221
  "viewModel": {
1359
- "title": "Je l'installe moi-même"
1222
+ "title": "M’occuper des travaux moi même"
1360
1223
  },
1361
1224
  "meta": {
1362
1225
  "ranking": 2
@@ -1365,7 +1228,7 @@
1365
1228
  "BY_A_PROFESSIONAL": {
1366
1229
  "code": "BY_A_PROFESSIONAL",
1367
1230
  "viewModel": {
1368
- "title": "J'ai un artisan"
1231
+ "title": "Jai déjà un artisan"
1369
1232
  },
1370
1233
  "meta": {
1371
1234
  "ranking": 2
@@ -1374,7 +1237,7 @@
1374
1237
  "DO_NOT_KNOW_YET": {
1375
1238
  "code": "DO_NOT_KNOW_YET",
1376
1239
  "viewModel": {
1377
- "title": "Je ne sais pas"
1240
+ "title": "Je ne sais pas encore"
1378
1241
  },
1379
1242
  "meta": {
1380
1243
  "ranking": 2
@@ -1548,34 +1411,14 @@
1548
1411
  }
1549
1412
  ]
1550
1413
  },
1551
- "callToActions": [
1552
- {
1553
- "isAnswer": false,
1554
- "label": "Voir mon projet dans mon espace personnel",
1555
- "nextStep": {
1556
- "code": "LMFR_BATHROOM_QUESTION_INSTALLATION"
1557
- }
1558
- }
1559
- ],
1560
1414
  "cardsTitle": "Envie d’inspiration pour votre future salle de bains ?",
1561
1415
  "cards": [
1562
1416
  {
1563
- "code": "CARD-2",
1564
- "viewModel": {
1565
- "url": "https://www.leroymerlin.fr/produits/cuisine/cuisine-equipee-delinia-id/",
1566
- "image": "https://storage.googleapis.com/project-booster-media/kitchen/kitchen-range.jpeg",
1567
- "title": "Découvrir nos gammes de cuisines",
1568
- "width": "full",
1569
- "widthFromM": "1of3",
1570
- "widthFromL": "1of3"
1571
- }
1572
- },
1573
- {
1574
- "code": "CARD-2",
1417
+ "code": "Retrouver mon projet dans mon compte Leroy Merlin",
1575
1418
  "viewModel": {
1576
- "url": "https://www.leroymerlin.fr/produits/cuisine/cuisine-equipee-delinia-id/",
1577
- "image": "https://storage.googleapis.com/project-booster-media/kitchen/kitchen-range.jpeg",
1578
- "title": "Découvrir nos gammes de cuisines",
1419
+ "url": "/espace-perso/espace-projets.html#/projects/@@PB_PROJECT_ID_FILLER@@",
1420
+ "image": "https://storage.googleapis.com/project-booster-media/vad/fin-de-parcours/Qualif-RDV-VAD-%20Conseiller-de-vente.png",
1421
+ "title": "Retrouver mon projet dans mon compte Leroy Merlin",
1579
1422
  "width": "full",
1580
1423
  "widthFromM": "1of3",
1581
1424
  "widthFromL": "1of3"