project-booster-vue 9.63.2 → 9.63.4
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 +1 -1
- package/src/components/rework/alert/MPbAlert.vue +31 -10
- package/src/components/rework/exit-options/MPbExitOptions.vue +2 -1
- package/src/components/rework/question/configurations-import/MPbConfigurationsImport.vue +17 -5
- package/src/components/rework/question/upload-document/MPbUploadDocument.vue +1 -0
- package/src/components/scenario/scenarii/appointment-qualification-bathroom.json +25 -25
package/package.json
CHANGED
|
@@ -128,9 +128,17 @@ const callAction = (action: PayloadAction) => {
|
|
|
128
128
|
@import '../styles/global.scss';
|
|
129
129
|
@import 'components/_c.card';
|
|
130
130
|
|
|
131
|
+
$responsive-breakpoint: 'm';
|
|
132
|
+
|
|
131
133
|
.m-pb-alert {
|
|
132
|
-
width:
|
|
133
|
-
margin: $mu200 auto
|
|
134
|
+
width: calc(100% - $mu250);
|
|
135
|
+
margin: $mu200 auto $mu250 auto;
|
|
136
|
+
padding: 0 $mu125;
|
|
137
|
+
|
|
138
|
+
@include set-from-screen($responsive-breakpoint) {
|
|
139
|
+
width: 719px;
|
|
140
|
+
padding: 0;
|
|
141
|
+
}
|
|
134
142
|
|
|
135
143
|
&__buttons {
|
|
136
144
|
display: flex;
|
|
@@ -171,16 +179,29 @@ const callAction = (action: PayloadAction) => {
|
|
|
171
179
|
}
|
|
172
180
|
|
|
173
181
|
&__content {
|
|
174
|
-
|
|
175
|
-
max-width: 50%;
|
|
176
|
-
width: 50%;
|
|
182
|
+
flex-direction: column;
|
|
177
183
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
184
|
+
@include set-from-screen($responsive-breakpoint) {
|
|
185
|
+
flex-direction: row;
|
|
186
|
+
}
|
|
181
187
|
|
|
182
|
-
|
|
183
|
-
|
|
188
|
+
&__card {
|
|
189
|
+
max-width: 100%;
|
|
190
|
+
width: 100%;
|
|
191
|
+
margin-bottom: $mu100;
|
|
192
|
+
|
|
193
|
+
@include set-from-screen($responsive-breakpoint) {
|
|
194
|
+
max-width: 50%;
|
|
195
|
+
width: 50%;
|
|
196
|
+
margin-bottom: 0;
|
|
197
|
+
|
|
198
|
+
&:first-child {
|
|
199
|
+
margin-left: $mu050;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&:last-child {
|
|
203
|
+
margin-left: $mu050;
|
|
204
|
+
}
|
|
184
205
|
}
|
|
185
206
|
}
|
|
186
207
|
}
|
|
@@ -143,8 +143,9 @@ const isValidCondition = (conditions: any) => {
|
|
|
143
143
|
$responsive-breakpoint: 'm';
|
|
144
144
|
|
|
145
145
|
.m-pb-exit-options {
|
|
146
|
-
width: 100
|
|
146
|
+
width: calc(100% - $mu250);
|
|
147
147
|
margin: 4rem auto;
|
|
148
|
+
padding: 0 $mu125;
|
|
148
149
|
|
|
149
150
|
@include set-from-screen($responsive-breakpoint) {
|
|
150
151
|
width: 724px;
|
|
@@ -353,10 +353,10 @@ $answers-apparition-duration: '0.5s';
|
|
|
353
353
|
@include set-font-scale('07', 's');
|
|
354
354
|
|
|
355
355
|
color: $color-grey-900;
|
|
356
|
-
width: 100
|
|
356
|
+
width: calc(100% - $mu125);
|
|
357
357
|
|
|
358
358
|
&-container {
|
|
359
|
-
padding:
|
|
359
|
+
padding: $mu200 $mu125 $mu100 $mu125;
|
|
360
360
|
|
|
361
361
|
@include set-from-screen($responsive-breakpoint) {
|
|
362
362
|
padding: $mu250 $mu100 $mu100 $mu100;
|
|
@@ -381,8 +381,12 @@ $answers-apparition-duration: '0.5s';
|
|
|
381
381
|
&__answers-container {
|
|
382
382
|
margin: 0 auto;
|
|
383
383
|
max-width: 100%;
|
|
384
|
-
padding: 0;
|
|
385
384
|
width: 100%;
|
|
385
|
+
padding: 0 $mu100 $mu100 $mu100;
|
|
386
|
+
|
|
387
|
+
@include set-from-screen($responsive-breakpoint) {
|
|
388
|
+
padding: 0;
|
|
389
|
+
}
|
|
386
390
|
|
|
387
391
|
&-flexy {
|
|
388
392
|
width: 100%;
|
|
@@ -421,11 +425,19 @@ $answers-apparition-duration: '0.5s';
|
|
|
421
425
|
}
|
|
422
426
|
|
|
423
427
|
&__redirect-link {
|
|
424
|
-
margin: $mu100 $
|
|
428
|
+
margin: $mu100 $mu050 0 $mu050;
|
|
429
|
+
|
|
430
|
+
@include set-from-screen($responsive-breakpoint) {
|
|
431
|
+
margin: $mu100 $mu100 0 $mu100;
|
|
432
|
+
}
|
|
425
433
|
}
|
|
426
434
|
|
|
427
435
|
&__buttons {
|
|
428
|
-
margin: $mu150 $
|
|
436
|
+
margin: $mu150 $mu050 0 $mu050;
|
|
437
|
+
|
|
438
|
+
@include set-from-screen($responsive-breakpoint) {
|
|
439
|
+
margin: $mu150 $mu100 0 $mu100;
|
|
440
|
+
}
|
|
429
441
|
|
|
430
442
|
&__button {
|
|
431
443
|
width: 50%;
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
},
|
|
318
318
|
"payload": {
|
|
319
319
|
"viewModel": {
|
|
320
|
-
"label": "Quel type de
|
|
320
|
+
"label": "Quel type de baignoire voulez-vous installer ?",
|
|
321
321
|
"answersComponent": "MPbCard",
|
|
322
322
|
"progressBar": true,
|
|
323
323
|
"forceOneCardPerLineOnMobile": true,
|
|
@@ -777,7 +777,7 @@
|
|
|
777
777
|
{
|
|
778
778
|
"conditions": ["true"],
|
|
779
779
|
"nextStep": {
|
|
780
|
-
"code": "
|
|
780
|
+
"code": "LMFR_QUESTION_PLAN_INFO"
|
|
781
781
|
}
|
|
782
782
|
}
|
|
783
783
|
]
|
|
@@ -839,8 +839,8 @@
|
|
|
839
839
|
}
|
|
840
840
|
}
|
|
841
841
|
},
|
|
842
|
-
"
|
|
843
|
-
"code": "
|
|
842
|
+
"LMFR_QUESTION_SCENARIO_ADD_SIMULATION": {
|
|
843
|
+
"code": "LMFR_QUESTION_SCENARIO_ADD_SIMULATION",
|
|
844
844
|
"type": "STEP",
|
|
845
845
|
"component": "MPbConfigurationsImport",
|
|
846
846
|
"slots": {
|
|
@@ -859,7 +859,7 @@
|
|
|
859
859
|
"redirectLink": {
|
|
860
860
|
"label": "Je préfère télécharger un plan",
|
|
861
861
|
"nextStep": {
|
|
862
|
-
"code": "
|
|
862
|
+
"code": "LMFR_QUESTION_ADD_PLAN"
|
|
863
863
|
}
|
|
864
864
|
},
|
|
865
865
|
"notificationPayload": {
|
|
@@ -881,7 +881,7 @@
|
|
|
881
881
|
{
|
|
882
882
|
"label": "Suivant",
|
|
883
883
|
"nextStep": {
|
|
884
|
-
"code": "
|
|
884
|
+
"code": "LMFR_QUESTION_ADD_PICTURE"
|
|
885
885
|
}
|
|
886
886
|
}
|
|
887
887
|
],
|
|
@@ -909,8 +909,8 @@
|
|
|
909
909
|
}
|
|
910
910
|
}
|
|
911
911
|
},
|
|
912
|
-
"
|
|
913
|
-
"code": "
|
|
912
|
+
"LMFR_QUESTION_PLAN_INFO": {
|
|
913
|
+
"code": "LMFR_QUESTION_PLAN_INFO",
|
|
914
914
|
"type": "STEP",
|
|
915
915
|
"component": "MPbQuestion",
|
|
916
916
|
"slots": {
|
|
@@ -946,7 +946,7 @@
|
|
|
946
946
|
"LATER": {
|
|
947
947
|
"code": "LATER",
|
|
948
948
|
"viewModel": {
|
|
949
|
-
"title": "Je
|
|
949
|
+
"title": "Je transmets mon plan au plus tard 48h avant le rendez-vous"
|
|
950
950
|
},
|
|
951
951
|
"meta": {
|
|
952
952
|
"ranking": 2
|
|
@@ -966,28 +966,28 @@
|
|
|
966
966
|
"nextStep": {
|
|
967
967
|
"conditionals": [
|
|
968
968
|
{
|
|
969
|
-
"conditions": ["isAnswerContaining('
|
|
969
|
+
"conditions": ["isAnswerContaining('LMFR_QUESTION_PLAN_INFO', 'DOWNLOAD_PLAN')"],
|
|
970
970
|
"nextStep": {
|
|
971
|
-
"code": "
|
|
971
|
+
"code": "LMFR_QUESTION_ADD_PLAN"
|
|
972
972
|
}
|
|
973
973
|
},
|
|
974
974
|
{
|
|
975
|
-
"conditions": ["isAnswerContaining('
|
|
975
|
+
"conditions": ["isAnswerContaining('LMFR_QUESTION_PLAN_INFO', 'LATER')"],
|
|
976
976
|
"nextStep": {
|
|
977
|
-
"code": "
|
|
977
|
+
"code": "LMFR_QUESTION_ADD_PLAN_LATER"
|
|
978
978
|
}
|
|
979
979
|
},
|
|
980
980
|
{
|
|
981
|
-
"conditions": ["isAnswerContaining('
|
|
981
|
+
"conditions": ["isAnswerContaining('LMFR_QUESTION_PLAN_INFO', 'IMPORT_SIMULATION')"],
|
|
982
982
|
"nextStep": {
|
|
983
|
-
"code": "
|
|
983
|
+
"code": "LMFR_QUESTION_SCENARIO_ADD_SIMULATION"
|
|
984
984
|
}
|
|
985
985
|
}
|
|
986
986
|
]
|
|
987
987
|
}
|
|
988
988
|
},
|
|
989
|
-
"
|
|
990
|
-
"code": "
|
|
989
|
+
"LMFR_QUESTION_ADD_PLAN_LATER": {
|
|
990
|
+
"code": "LMFR_QUESTION_ADD_PLAN_LATER",
|
|
991
991
|
"type": "STEP",
|
|
992
992
|
"component": "MPbAlert",
|
|
993
993
|
"slots": {
|
|
@@ -1051,17 +1051,17 @@
|
|
|
1051
1051
|
{
|
|
1052
1052
|
"label": "Etape suivante",
|
|
1053
1053
|
"nextStep": {
|
|
1054
|
-
"code": "
|
|
1054
|
+
"code": "LMFR_QUESTION_ADD_PICTURE"
|
|
1055
1055
|
}
|
|
1056
1056
|
}
|
|
1057
1057
|
]
|
|
1058
1058
|
},
|
|
1059
1059
|
"nextStep": {
|
|
1060
|
-
"code": "
|
|
1060
|
+
"code": "LMFR_QUESTION_ADD_PICTURE"
|
|
1061
1061
|
}
|
|
1062
1062
|
},
|
|
1063
|
-
"
|
|
1064
|
-
"code": "
|
|
1063
|
+
"LMFR_QUESTION_ADD_PICTURE": {
|
|
1064
|
+
"code": "LMFR_QUESTION_ADD_PICTURE",
|
|
1065
1065
|
"type": "STEP",
|
|
1066
1066
|
"slots": {
|
|
1067
1067
|
"beforeContent": {
|
|
@@ -1155,8 +1155,8 @@
|
|
|
1155
1155
|
}
|
|
1156
1156
|
}
|
|
1157
1157
|
},
|
|
1158
|
-
"
|
|
1159
|
-
"code": "
|
|
1158
|
+
"LMFR_QUESTION_ADD_PLAN": {
|
|
1159
|
+
"code": "LMFR_QUESTION_ADD_PLAN",
|
|
1160
1160
|
"type": "STEP",
|
|
1161
1161
|
"component": "MPbUploadDocument",
|
|
1162
1162
|
"slots": {
|
|
@@ -1178,7 +1178,7 @@
|
|
|
1178
1178
|
"redirectLink": {
|
|
1179
1179
|
"label": "Je préfère utiliser un plan 3D réalisé sur mon espace client.",
|
|
1180
1180
|
"nextStep": {
|
|
1181
|
-
"code": "
|
|
1181
|
+
"code": "LMFR_QUESTION_SCENARIO_ADD_SIMULATION"
|
|
1182
1182
|
}
|
|
1183
1183
|
},
|
|
1184
1184
|
"showMore": {
|
|
@@ -1217,7 +1217,7 @@
|
|
|
1217
1217
|
{
|
|
1218
1218
|
"label": "Suivant",
|
|
1219
1219
|
"nextStep": {
|
|
1220
|
-
"code": "
|
|
1220
|
+
"code": "LMFR_QUESTION_ADD_PICTURE"
|
|
1221
1221
|
}
|
|
1222
1222
|
}
|
|
1223
1223
|
],
|