project-booster-vue 9.57.2 → 9.57.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/exit-options/MPbExitOptions.vue +17 -13
- package/src/components/rework/media/upload/MPbMediaUpload.vue +0 -1
- package/src/components/rework/question/MPbQuestion.vue +16 -1
- package/src/components/scenario/{PbScenario-Estimator-Bathroom.stories.mdx → PbScenario-Appoitment-Bathroom.stories.mdx} +0 -0
- package/src/components/scenario/scenarii/appointment-qualification-bathroom.json +290 -2180
package/package.json
CHANGED
|
@@ -107,20 +107,24 @@ const props = defineProps({
|
|
|
107
107
|
* @param action
|
|
108
108
|
*/
|
|
109
109
|
const callAction = (action: PayloadAction) => {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
110
|
+
if (action.code != '__BACK__') {
|
|
111
|
+
let answers: any = [];
|
|
112
|
+
|
|
113
|
+
if (message.value.length > 10) {
|
|
114
|
+
answers = [
|
|
115
|
+
{
|
|
116
|
+
message,
|
|
117
|
+
},
|
|
118
|
+
];
|
|
119
|
+
}
|
|
119
120
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
emit('step-completed', {
|
|
122
|
+
answers,
|
|
123
|
+
nextStep: action,
|
|
124
|
+
});
|
|
125
|
+
} else {
|
|
126
|
+
emit('go-back');
|
|
127
|
+
}
|
|
124
128
|
};
|
|
125
129
|
|
|
126
130
|
const isValidCondition = (conditions: any) => {
|
|
@@ -256,7 +256,6 @@ import { MediaEventOptions, MediaUploadOptions } from '@/types/pb/Media';
|
|
|
256
256
|
import { UploadDocumentMediaType } from '@/components/question/upload-document/UploadDocument';
|
|
257
257
|
import { MModal, MCard } from '@mozaic-ds/vue-3';
|
|
258
258
|
import { PayloadAction } from '../../types/genericPayload';
|
|
259
|
-
import { reset } from 'chalk';
|
|
260
259
|
|
|
261
260
|
const NAME_MAX_LENGTH = 60;
|
|
262
261
|
const PDF_IMAGE = 'https://storage.googleapis.com/project-booster-media/vad/PDF/visuel_PDF_plan.png';
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
class="pb-question__answers-container-progress-label"
|
|
20
20
|
v-html="decorate(answers, runtimeOptions, payload.viewModel.label, payload.defaultDecoratorValue)"
|
|
21
21
|
></div>
|
|
22
|
+
<div
|
|
23
|
+
class="pb-question__answers-container-progress-subtitle"
|
|
24
|
+
v-html="decorate(answers, runtimeOptions, payload.viewModel.subtitle, payload.defaultDecoratorValue)"
|
|
25
|
+
></div>
|
|
22
26
|
</div>
|
|
23
27
|
|
|
24
28
|
<m-flexy class="pb-question__answers-container-flexy">
|
|
@@ -1034,12 +1038,23 @@ $answers-apparition-duration: '0.5s';
|
|
|
1034
1038
|
&-label {
|
|
1035
1039
|
margin: $mu200 $mu050 0 $mu050;
|
|
1036
1040
|
@include set-font-face('semi-bold');
|
|
1037
|
-
@include set-font-scale('
|
|
1041
|
+
@include set-font-scale('07', 'l');
|
|
1038
1042
|
|
|
1039
1043
|
@include set-from-screen($responsive-breakpoint) {
|
|
1040
1044
|
margin: $mu200 $mu025 0 $mu025;
|
|
1041
1045
|
}
|
|
1042
1046
|
}
|
|
1047
|
+
|
|
1048
|
+
&-subtitle {
|
|
1049
|
+
margin: 0 $mu050 $mu100 $mu050;
|
|
1050
|
+
@include set-font-scale('04', 'l');
|
|
1051
|
+
|
|
1052
|
+
color: $color-grey-600;
|
|
1053
|
+
|
|
1054
|
+
@include set-from-screen($responsive-breakpoint) {
|
|
1055
|
+
margin: 0 $mu025 $mu100 $mu025;
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1043
1058
|
}
|
|
1044
1059
|
}
|
|
1045
1060
|
|