project-booster-vue 10.17.3 → 10.18.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": "10.17.3",
3
+ "version": "10.18.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -22,7 +22,11 @@
22
22
  />
23
23
  </div>
24
24
  </transition>
25
- <div class="pb-scenario__step-container" :style="`min-height: ${minHeight};`">
25
+ <div
26
+ class="pb-scenario__step-container"
27
+ :class="{ auto: state?.displayedStep?.slots?.beforeContent?.component !== 'MPbProgress' }"
28
+ :style="`min-height: ${minHeight};`"
29
+ >
26
30
  <div class="pb-scenario__step-container__before">
27
31
  <div
28
32
  class="pb-scenario__step-container__before-step xl"
@@ -799,19 +803,15 @@ $slide-sticky-bottom-animation-delay: $slide-animation-duration + 0.45s;
799
803
  @include set-from-screen($responsive-breakpoint) {
800
804
  width: 720px;
801
805
  margin: 7.5rem auto 0;
806
+
807
+ &.auto {
808
+ width: auto;
809
+ }
802
810
  }
803
811
 
804
812
  &__before-step {
805
813
  width: 100%;
806
814
  margin: 0 auto;
807
-
808
- @include set-from-screen($responsive-breakpoint) {
809
- width: 561px;
810
-
811
- &.xl {
812
- width: 719px;
813
- }
814
- }
815
815
  }
816
816
  }
817
817
 
@@ -42,7 +42,7 @@
42
42
  "beforeContent": {
43
43
  "display": true,
44
44
  "component": "MPbProgress",
45
- "totalStep": 16,
45
+ "totalStep": 9,
46
46
  "currentStep": 1,
47
47
  "sizeXlWidth": true
48
48
  }
@@ -147,7 +147,7 @@
147
147
  "beforeContent": {
148
148
  "display": true,
149
149
  "component": "MPbProgress",
150
- "totalStep": 16,
150
+ "totalStep": 9,
151
151
  "currentStep": 2,
152
152
  "sizeXlWidth": true
153
153
  }
@@ -210,6 +210,14 @@
210
210
  "slots": {
211
211
  "stickyBottom": {
212
212
  "display": false
213
+ },
214
+ "beforeContent": {
215
+ "display": true,
216
+ "component": "MPbProgress",
217
+ "totalStep": 9,
218
+ "currentStep": 2,
219
+ "sizeXlWidth": true,
220
+ "label": "Votre projet cuisine"
213
221
  }
214
222
  },
215
223
  "payload": {
@@ -330,6 +338,14 @@
330
338
  "slots": {
331
339
  "stickyBottom": {
332
340
  "display": false
341
+ },
342
+ "beforeContent": {
343
+ "display": true,
344
+ "component": "MPbProgress",
345
+ "totalStep": 9,
346
+ "currentStep": 2,
347
+ "sizeXlWidth": true,
348
+ "label": "Votre projet cuisine"
333
349
  }
334
350
  },
335
351
  "payload": {
@@ -404,7 +420,7 @@
404
420
  "beforeContent": {
405
421
  "display": true,
406
422
  "component": "MPbProgress",
407
- "totalStep": 16,
423
+ "totalStep": 9,
408
424
  "currentStep": 3,
409
425
  "sizeXlWidth": true,
410
426
  "label": "Estimer vos aides pour votre projet"
@@ -594,7 +610,7 @@
594
610
  "beforeContent": {
595
611
  "display": true,
596
612
  "component": "MPbProgress",
597
- "totalStep": 16,
613
+ "totalStep": 9,
598
614
  "currentStep": 4,
599
615
  "sizeXlWidth": true
600
616
  }
@@ -658,8 +674,8 @@
658
674
  "beforeContent": {
659
675
  "display": true,
660
676
  "component": "MPbProgress",
661
- "totalStep": 16,
662
- "currentStep": 2,
677
+ "totalStep": 9,
678
+ "currentStep": 4,
663
679
  "sizeXlWidth": true
664
680
  }
665
681
  },
@@ -738,9 +754,10 @@
738
754
  "beforeContent": {
739
755
  "display": true,
740
756
  "component": "MPbProgress",
741
- "totalStep": 16,
757
+ "totalStep": 9,
742
758
  "currentStep": 5,
743
- "sizeXlWidth": true
759
+ "sizeXlWidth": true,
760
+ "label": "Votre projet cuisine"
744
761
  }
745
762
  },
746
763
  "payload": {
@@ -878,9 +895,10 @@
878
895
  "beforeContent": {
879
896
  "display": true,
880
897
  "component": "MPbProgress",
881
- "totalStep": 16,
882
- "currentStep": 6,
883
- "sizeXlWidth": true
898
+ "totalStep": 9,
899
+ "currentStep": 7,
900
+ "sizeXlWidth": true,
901
+ "label": "Votre projet cuisine"
884
902
  }
885
903
  },
886
904
  "payload": {
@@ -995,7 +1013,7 @@
995
1013
  "beforeContent": {
996
1014
  "display": true,
997
1015
  "component": "MPbProgress",
998
- "totalStep": 16,
1016
+ "totalStep": 9,
999
1017
  "currentStep": 6,
1000
1018
  "sizeXlWidth": true,
1001
1019
  "label": "Votre projet cuisine"
@@ -1060,7 +1078,7 @@
1060
1078
  "beforeContent": {
1061
1079
  "display": true,
1062
1080
  "component": "MPbProgress",
1063
- "totalStep": 16,
1081
+ "totalStep": 9,
1064
1082
  "currentStep": 7,
1065
1083
  "sizeXlWidth": true
1066
1084
  }
@@ -1320,6 +1338,16 @@
1320
1338
  "nextStep": {
1321
1339
  "code": "LMFR_FLOOR_QUESTION_INSTALLATION"
1322
1340
  },
1341
+ "slots": {
1342
+ "beforeContent": {
1343
+ "display": true,
1344
+ "component": "MPbProgress",
1345
+ "totalStep": 9,
1346
+ "currentStep": 8,
1347
+ "sizeXlWidth": true,
1348
+ "label": "Votre projet cuisine"
1349
+ }
1350
+ },
1323
1351
  "payload": {
1324
1352
  "viewModel": {
1325
1353
  "label": "Quelle gamme de revêtement choisissez-vous ?",
@@ -1378,8 +1406,8 @@
1378
1406
  "beforeContent": {
1379
1407
  "display": true,
1380
1408
  "component": "MPbProgress",
1381
- "totalStep": 16,
1382
- "currentStep": 8,
1409
+ "totalStep": 9,
1410
+ "currentStep": 9,
1383
1411
  "sizeXlWidth": true
1384
1412
  }
1385
1413
  },