project-booster-vue 9.35.1 → 9.36.1
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/appointment/PbAppointment.stories.mdx +1 -1
- package/src/components/appointment/PbAppointmentForm.stories.mdx +1 -1
- package/src/components/appointment/PbAppointmentForm.vue +2 -2
- package/src/components/projects/project-item-save/PbProjectItemSave.vue +2 -0
- package/src/components/projects/projects-list/PbProjectHub.vue +1908 -0
- package/src/components/question/city-search/PbCitySearch.vue +10 -3
- package/src/components/question/incremental-amount-input/IncrementalAmount.ts +3 -1
- package/src/components/question/incremental-amount-input/PbIncrementalAmountInput.vue +28 -5
package/package.json
CHANGED
|
@@ -65,7 +65,7 @@ export const TemplateSandbox = (args, { argTypes }) => {
|
|
|
65
65
|
businessUnit: '001',
|
|
66
66
|
correlationId: uuidv4(),
|
|
67
67
|
groupId: 'groupId',
|
|
68
|
-
|
|
68
|
+
interventionIds: ['interventionId'],
|
|
69
69
|
appointmentId: 'appointmentId',
|
|
70
70
|
sourceDetail: 'Appointment_email',
|
|
71
71
|
});
|
|
@@ -55,7 +55,7 @@ export const TemplateSandbox = (args, { argTypes }) => ({
|
|
|
55
55
|
businessUnit: '001',
|
|
56
56
|
source: 'APPOINTMENT_QUALIFICATION',
|
|
57
57
|
sourceDetail: 'KITCHEN',
|
|
58
|
-
|
|
58
|
+
interventionIds: ['375615'],
|
|
59
59
|
storeId: '006',
|
|
60
60
|
appointmentQualificationFormStructure: SCENARIO,
|
|
61
61
|
});
|
|
@@ -48,8 +48,8 @@ export default defineComponent({
|
|
|
48
48
|
if (props.payload?.viewModel?.calendarUrlPath) {
|
|
49
49
|
url = `${baseUrl}/${props.payload.viewModel.calendarUrlPath}?`;
|
|
50
50
|
} else {
|
|
51
|
-
url = `${baseUrl}/leroy-merlin-${sessions.storeId}
|
|
52
|
-
url +=
|
|
51
|
+
url = `${baseUrl}/leroy-merlin-${sessions.storeId}?`;
|
|
52
|
+
url += sessions.interventionIds.map((id: string) => 'intervention_ids[]=' + id).join('&');
|
|
53
53
|
url += `&vevent[str5]=${currentAppointmentQualification.inhabitantProjectId}`;
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -97,6 +97,8 @@ export const answerGettersMappers: Map<string, (param: any) => void> = new Map<s
|
|
|
97
97
|
return { width: parseFloat(width), length: parseFloat(length) };
|
|
98
98
|
},
|
|
99
99
|
PbListSelect: ({ value }: { value: string }): string => value,
|
|
100
|
+
PbCitySearch: ({ city }: { city: any }) => city.postalCode,
|
|
101
|
+
PbIncrementalAmountInput: ({ value }: { value: string }) => parseInt(value),
|
|
100
102
|
}),
|
|
101
103
|
);
|
|
102
104
|
|