project-booster-vue 9.42.6 → 9.42.7

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.42.6",
3
+ "version": "9.42.7",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -78,6 +78,7 @@ import PbProjectItemSaveProjectsList from './PbProjectItemSaveProjectsList.vue';
78
78
  import { Scenario, ScenarioStepAnswer, ScenarioAnswer } from '@/types/pb/Scenario';
79
79
  import { Typology } from '@/types/pb/Typology';
80
80
  import { Project, ProjectToSave } from '@/types/pb/Project';
81
+ import { ProductPayload } from '@/types/pb/Product';
81
82
 
82
83
  type Context = {
83
84
  formValid: boolean;
@@ -100,6 +101,9 @@ export const answerGettersMappers: Map<string, (param: any) => void> = new Map<s
100
101
  PbListSelect: ({ value }: { value: string }): string => value,
101
102
  PbCitySearch: ({ city }: { city: any }) => city.postalCode,
102
103
  PbIncrementalAmountInput: ({ value }: { value: string }) => parseInt(value),
104
+ PbProducts: ({ product }: { product: ProductPayload }): { product: ProductPayload } => {
105
+ return { product: product };
106
+ },
103
107
  }),
104
108
  );
105
109