project-booster-vue 9.44.8 → 9.44.10

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.44.8",
3
+ "version": "9.44.10",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -65,7 +65,7 @@ export const TemplateSandbox = (args, { argTypes }) => {
65
65
  businessUnit: '001',
66
66
  correlationId: uuidv4(),
67
67
  groupId: 'groupId',
68
- interventionIds: ['interventionId'],
68
+ calendarId: 'calendarId',
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
- interventionIds: ['375615'],
58
+ calendarId: '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 += sessions.interventionIds.map((id: string) => 'intervention_ids[]=' + id).join('&');
51
+ url = `${baseUrl}/leroy-merlin-${sessions.storeId}`;
52
+ url += `?calendar_id=${sessions.calendarId}`;
53
53
  url += `&vevent[str5]=${currentAppointmentQualification.inhabitantProjectId}`;
54
54
  }
55
55
 
@@ -46,7 +46,6 @@
46
46
  import { defineComponent, computed } from 'vue';
47
47
  import MFlex from '../../mozaic/flex/MFlex.vue';
48
48
  import MTag from '../../mozaic/tag/MTag.vue';
49
- import MTextInput from '../../mozaic/text-input/MTextInput.vue';
50
49
  import PbAnimableLoader from '../../loader/PbAnimableLoader.vue';
51
50
  import { useStore } from 'vuex';
52
51
  import { v4 as uuidv4 } from 'uuid';
@@ -56,7 +55,7 @@ import { useField, useForm } from 'vee-validate';
56
55
  export default defineComponent({
57
56
  name: 'PbProjectItemSaveProjectName',
58
57
 
59
- components: { PbAnimableLoader, MTextInput, MTag, MFlex },
58
+ components: { PbAnimableLoader, MTag, MFlex },
60
59
 
61
60
  props: {
62
61
  /**
@@ -114,8 +113,8 @@ export default defineComponent({
114
113
  setFieldValue('tag-input-' + componentId, currentTypology.value !== typologyCode ? typologyCode : undefined);
115
114
 
116
115
  setTimeout(() => {
117
- emitInputEvent(typologyCode);
118
116
  defineDefaultProjectName(typologyName);
117
+ emitInputEvent(typologyCode);
119
118
  currentTypology.value = typologyCode;
120
119
  });
121
120
  };