project-booster-vue 9.57.2 → 9.57.3

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.57.2",
3
+ "version": "9.57.3",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -107,20 +107,24 @@ const props = defineProps({
107
107
  * @param action
108
108
  */
109
109
  const callAction = (action: PayloadAction) => {
110
- let answers: any = [];
111
-
112
- if (message.value.length > 10) {
113
- answers = [
114
- {
115
- message,
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
- emit('step-completed', {
121
- answers,
122
- nextStep: action,
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) => {
@@ -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('06', 'l');
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