project-booster-vue 9.18.5 → 9.19.0

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.18.5",
3
+ "version": "9.19.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -1,6 +1,11 @@
1
1
  <template>
2
2
  <m-flex class="pb-appointment-form__container">
3
- <iframe v-if="appointmentFormUrl" :src="appointmentFormUrl" style="border: 0; min-height: 110rem; width: 100%">
3
+ <iframe
4
+ v-if="appointmentFormUrl"
5
+ :src="appointmentFormUrl"
6
+ style="border: 0; min-height: 110rem; width: 100%"
7
+ id="clickrdv"
8
+ >
4
9
  <p>
5
10
  Your browser doesn't support iframes. To book an appointment, please follow this link :
6
11
  <a :href="appointmentFormUrl">{{ appointmentFormUrl }}</a>
@@ -44,6 +49,13 @@ export default defineComponent({
44
49
  appointmentFormUrl,
45
50
  };
46
51
  },
52
+ mounted() {
53
+ window.addEventListener('message', (event) => {
54
+ if (event.origin.indexOf('clicrdv.com') > -1) {
55
+ window.scrollTo(0, 0);
56
+ }
57
+ });
58
+ },
47
59
  });
48
60
  </script>
49
61
 
@@ -5,7 +5,7 @@
5
5
  "minValue": 0,
6
6
  "minErrorMessage": "Veuillez saisir un nombre entier plus grand que 0",
7
7
  "maxValue": 1500000,
8
- "maxErrorMessage": "Veuillez saisir un nombre plus petit que 50"
8
+ "maxErrorMessage": "Veuillez saisir un nombre plus petit"
9
9
  },
10
10
  "backLabel": "Question précédente",
11
11
  "label": "Quel est votre budget ?",
@@ -4,7 +4,10 @@
4
4
  "type": "SCENARIO",
5
5
  "meta": {
6
6
  "businessUnit": "001",
7
- "webAnalyticsScenarioName": "appointment-qualification-kitchen",
7
+ "webAnalytics": {
8
+ "category": "Cuisine",
9
+ "scenario": "appointment-qualification-kitchen"
10
+ },
8
11
  "projectName": "Rénover une cuisine",
9
12
  "store": "11",
10
13
  "projectKindHref": "/project-kinds/34048",
@@ -5,7 +5,10 @@
5
5
  "meta": {
6
6
  "estimatorId": "98f9ed7a-639a-4349-b56d-b07ff05c5a7a",
7
7
  "businessUnit": "LMFR",
8
- "webAnalyticsScenarioName": "Estimation-budget-cout-cuisine",
8
+ "webAnalytics": {
9
+ "category": "Cuisine",
10
+ "scenario": "Estimation-budget-cout-cuisine"
11
+ },
9
12
  "projectName": "Estimation cuisine"
10
13
  },
11
14
  "stepCode": "KITCHEN_BUDGET_ESTIMATE"