project-booster-vue 9.0.2 → 9.0.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
|
@@ -559,11 +559,11 @@ export default defineComponent({
|
|
|
559
559
|
nextStep: button.nextStep,
|
|
560
560
|
});
|
|
561
561
|
},
|
|
562
|
-
resetMultiSelect(answers:
|
|
562
|
+
resetMultiSelect(answers: Record<string, ScenarioStepAnswer>) {
|
|
563
563
|
this.initAnswersSelectedState(answers);
|
|
564
564
|
this.$forceUpdate();
|
|
565
565
|
},
|
|
566
|
-
initAnswersSelectedState(answers:
|
|
566
|
+
initAnswersSelectedState(answers: Record<string, ScenarioStepAnswer>) {
|
|
567
567
|
Object.values(answers).forEach((answer) => {
|
|
568
568
|
answer.selected = false;
|
|
569
569
|
});
|
|
@@ -227,7 +227,6 @@ export default defineComponent({
|
|
|
227
227
|
},
|
|
228
228
|
updateHeaderHeight() {
|
|
229
229
|
this.headerHeight = this.$refs?.pbCitySearchHeader?.$el?.offsetHeight;
|
|
230
|
-
console.log(this.headerHeight);
|
|
231
230
|
},
|
|
232
231
|
decorate(valueToDecorate: string, defaultValue = '') {
|
|
233
232
|
if (valueToDecorate) {
|
package/src/types/pb/Scenario.ts
CHANGED
|
@@ -81,7 +81,7 @@ export interface ScenarioStepMultiSelectOptions {
|
|
|
81
81
|
|
|
82
82
|
export interface ScenarioStepPayload {
|
|
83
83
|
viewModel: ScenarioStepViewModel;
|
|
84
|
-
answers:
|
|
84
|
+
answers: Record<string, ScenarioStepAnswer>;
|
|
85
85
|
skippable?: ScenarioStepSkippableOptions[];
|
|
86
86
|
multiSelect?: ScenarioStepMultiSelectOptions;
|
|
87
87
|
}
|