project-booster-vue 9.16.1 → 9.17.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.16.1",
3
+ "version": "9.17.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -53,6 +53,14 @@
53
53
  Vous retrouverez ici vos simulation de budgets pour ce projet
54
54
  </div>
55
55
  </m-flex>
56
+ <m-flex class="pb-configurations-section__link-container" v-if="readOnly && project">
57
+ <m-link
58
+ class="pb-configurations-section__link-portal-oaa"
59
+ label="Lien vers le portail OAA"
60
+ size="s"
61
+ @click="window.open(linkPortalOaa, '_blank')"
62
+ />
63
+ </m-flex>
56
64
  </m-flex>
57
65
  </template>
58
66
 
@@ -64,6 +72,7 @@ import MFlex from '../../mozaic/flex/MFlex.vue';
64
72
  import PbAnimableLoader from '../../loader/PbAnimableLoader.vue';
65
73
  import PbConfigurationsList, { CONFIGURATION_ANIMATION_DURATION } from '../list/PbConfigurationsList.vue';
66
74
  import { mapGetters } from 'vuex';
75
+ import MLink from '../../mozaic/link/MLink.vue';
67
76
 
68
77
  export default defineComponent({
69
78
  name: 'PbConfigurationsSection',
@@ -73,6 +82,7 @@ export default defineComponent({
73
82
  MFlex,
74
83
  PbAnimableLoader,
75
84
  PbConfigurationsList,
85
+ MLink,
76
86
  },
77
87
 
78
88
  props: {
@@ -97,6 +107,14 @@ export default defineComponent({
97
107
  configurationsPerPageCount: 'getConfigurationsPerPageCount',
98
108
  hasStillConfigurations: 'hasStillConfigurations',
99
109
  }),
110
+ ...mapGetters('projects', {
111
+ project: 'getProject',
112
+ }),
113
+ linkPortalOaa() {
114
+ return this.project
115
+ ? `http://rcloset.fr.corp.leroymerlin.com:81/page_tunnel_oaa/?mag=${this.project.store}`
116
+ : null;
117
+ },
100
118
  },
101
119
 
102
120
  methods: {
@@ -1058,7 +1058,7 @@
1058
1058
  "payload": {
1059
1059
  "code": "PROJECT_UPDATED",
1060
1060
  "viewModel": {
1061
- "title": "Les informations de votre projet ont été mises à jour",
1061
+ "title": "À présent, trouvons un créneau ensemble !",
1062
1062
  "icon": "https://storage.googleapis.com/project-booster-media/vad/fin-de-parcours/check_80.svg",
1063
1063
  "description": [
1064
1064
  {
@@ -1095,7 +1095,7 @@
1095
1095
  "payload": {
1096
1096
  "code": "__END__",
1097
1097
  "viewModel": {
1098
- "title": "Les informations de votre projet ont été mises à jour",
1098
+ "title": "À présent, trouvons un créneau ensemble !",
1099
1099
  "icon": "https://storage.googleapis.com/project-booster-media/vad/fin-de-parcours/check_80.svg",
1100
1100
  "description": [
1101
1101
  {