project-booster-vue 10.27.1 → 10.28.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 +1 -1
- package/src/components/mozaic/layer/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-mozaic-components-m-layer-/342/232/233/357/270/217-101-sandbox-1-snap.png +0 -0
- package/src/components/rework/restitution/MPbRestitutionList.stories.mdx +8 -8
- package/src/components/rework/restitution/MPbRestitutionListLine.vue +38 -0
- package/src/components/scenario/scenarii/estimator-solar-panel.json +30 -17
package/package.json
CHANGED
|
Binary file
|
|
@@ -119,8 +119,6 @@ export const ROISummary = {
|
|
|
119
119
|
{
|
|
120
120
|
componentId: 'FURNISHING',
|
|
121
121
|
title: 'Panneaux photovoltaïques (hors aides)',
|
|
122
|
-
details:
|
|
123
|
-
"Le prix est estimatif et non contractuel : il est susceptible d'etre revu à la hausse ou à la baisse et sera confirmé par le relevé technique.",
|
|
124
122
|
cost: {
|
|
125
123
|
min: 11800,
|
|
126
124
|
max: 11800,
|
|
@@ -128,12 +126,14 @@ export const ROISummary = {
|
|
|
128
126
|
},
|
|
129
127
|
lines: [
|
|
130
128
|
{
|
|
131
|
-
text:
|
|
129
|
+
text: '10 panneaux photovoltaïques + installation (Puissance du kit = 4,25 kWc)',
|
|
132
130
|
cost: {
|
|
133
131
|
min: 11800,
|
|
134
132
|
max: 11800,
|
|
135
133
|
currency: 'EURO',
|
|
136
134
|
},
|
|
135
|
+
details:
|
|
136
|
+
"Cette estimation inclut l'installation des panneaux photovoltaïques, l'onduleur, les fixations adaptées à l'emplacement de pose, les connectiques et le raccordement électrique. Nos produits sont garantis 25 ans.",
|
|
137
137
|
},
|
|
138
138
|
],
|
|
139
139
|
},
|
|
@@ -158,7 +158,7 @@ export const ROISummary = {
|
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
componentId: 'ROI',
|
|
161
|
-
title: 'Votre installation serait rentabilisée en
|
|
161
|
+
title: 'Votre installation serait rentabilisée en 9 ans',
|
|
162
162
|
cost: {
|
|
163
163
|
min: 0,
|
|
164
164
|
max: 0,
|
|
@@ -166,16 +166,16 @@ export const ROISummary = {
|
|
|
166
166
|
},
|
|
167
167
|
lines: [
|
|
168
168
|
{
|
|
169
|
-
text: '
|
|
169
|
+
text: '1 170 € de gain annuel (basé sur un tarif de 0,25 € par kWh - prix de l’électricité constaté au 01.01.2024)',
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
|
-
text: "
|
|
172
|
+
text: "29 250 € de gain sur 25 ans (sur base du prix du Kwh d'électricité en 2024 - sans considérer une augmentation éventuelle du prix de l'électricité)",
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
|
-
text: '
|
|
175
|
+
text: '4 680 kWh de Production moyenne annuelle',
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
|
-
text: '
|
|
178
|
+
text: '20 m² de surface utilisée',
|
|
179
179
|
},
|
|
180
180
|
],
|
|
181
181
|
},
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
</li>
|
|
37
37
|
</div>
|
|
38
38
|
</ul>
|
|
39
|
+
<div v-if="detail.details" class="pb-restitution-list-line__row__details" v-html="detail.details"></div>
|
|
39
40
|
</div>
|
|
40
41
|
</div>
|
|
41
42
|
</template>
|
|
@@ -68,6 +69,7 @@ function formattedPriceRange(price: any) {
|
|
|
68
69
|
@import 'pb-variables';
|
|
69
70
|
|
|
70
71
|
$responsive-breakpoint: 'm';
|
|
72
|
+
|
|
71
73
|
.pb-restitution-list-line {
|
|
72
74
|
display: flex;
|
|
73
75
|
flex-direction: column;
|
|
@@ -103,6 +105,42 @@ $responsive-breakpoint: 'm';
|
|
|
103
105
|
}
|
|
104
106
|
}
|
|
105
107
|
}
|
|
108
|
+
|
|
109
|
+
&__details {
|
|
110
|
+
@include set-border-radius('m');
|
|
111
|
+
@include set-font-scale('04', 'm');
|
|
112
|
+
|
|
113
|
+
background-color: $color-primary-01-100;
|
|
114
|
+
box-sizing: border-box;
|
|
115
|
+
color: $color-font-dark;
|
|
116
|
+
margin-top: $mu050;
|
|
117
|
+
padding: $mu100;
|
|
118
|
+
position: relative;
|
|
119
|
+
width: 100%;
|
|
120
|
+
|
|
121
|
+
.a11y-high-contrast & {
|
|
122
|
+
background-color: $color-primary-01-200;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&::before {
|
|
126
|
+
border-bottom: $mu050 solid $color-primary-01-100;
|
|
127
|
+
border-left: $mu050 solid transparent;
|
|
128
|
+
border-right: $mu050 solid transparent;
|
|
129
|
+
content: '';
|
|
130
|
+
height: 0;
|
|
131
|
+
position: absolute;
|
|
132
|
+
top: -$mu050;
|
|
133
|
+
width: 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.a11y-high-contrast &::before {
|
|
137
|
+
border-bottom: $mu050 solid $color-primary-01-200;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@include set-from-screen($responsive-breakpoint) {
|
|
141
|
+
@include set-font-scale('05', 'l');
|
|
142
|
+
}
|
|
143
|
+
}
|
|
106
144
|
}
|
|
107
145
|
|
|
108
146
|
&__content {
|
|
@@ -93,26 +93,25 @@
|
|
|
93
93
|
},
|
|
94
94
|
"payload": {
|
|
95
95
|
"viewModel": {
|
|
96
|
-
"label": "L'emplacement envisagé pour l'installation des panneaux est-il exposé au
|
|
96
|
+
"label": "L'emplacement envisagé pour l'installation des panneaux est-il exposé au sud, à l'est, ou à l'ouest ?",
|
|
97
97
|
"answersComponent": "MPbCard"
|
|
98
98
|
},
|
|
99
99
|
"answers": {
|
|
100
100
|
"YES": {
|
|
101
101
|
"code": "YES",
|
|
102
102
|
"viewModel": {
|
|
103
|
-
"title": "Oui"
|
|
104
|
-
"disabledNextStepButton": true
|
|
105
|
-
},
|
|
106
|
-
"notification": {
|
|
107
|
-
"type": "info",
|
|
108
|
-
"title": "Nous attirons votre attention !",
|
|
109
|
-
"content": "Il est obligatoire de positionner ses panneaux solaires sur une toiture exposée au sud, est ou ouest pour éviter l'inefficacité d'une orientation nord. Celle-ci limite drastiquement l'exposition au soleil, réduisant significativement la production d'énergie des panneaux."
|
|
103
|
+
"title": "Oui"
|
|
110
104
|
}
|
|
111
105
|
},
|
|
112
106
|
"NO": {
|
|
113
107
|
"code": "NO",
|
|
114
108
|
"viewModel": {
|
|
115
109
|
"title": "Non"
|
|
110
|
+
},
|
|
111
|
+
"notification": {
|
|
112
|
+
"type": "info",
|
|
113
|
+
"title": "Nous attirons votre attention !",
|
|
114
|
+
"content": "Nous préconisons de positionner ses panneaux solaires sur une toiture exposée au sud, est ou ouest pour éviter l'inefficacité d'une orientation nord. Celle-ci limite drastiquement l'exposition au soleil, réduisant significativement la production d'énergie des panneaux."
|
|
116
115
|
}
|
|
117
116
|
}
|
|
118
117
|
}
|
|
@@ -160,9 +159,17 @@
|
|
|
160
159
|
},
|
|
161
160
|
"pedagogy": {
|
|
162
161
|
"component": "MPbAccordion",
|
|
162
|
+
"label": "Où trouver cette information",
|
|
163
163
|
"content": [
|
|
164
164
|
{
|
|
165
|
-
"htmlContent": "
|
|
165
|
+
"htmlContent": "<b style='font-size:18px;'>Il est fortement recommandé de positionner ses panneaux solaires sur une toiture exposée au sud, est ou ouest.</b>"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"htmlContent": "<p> Pour calculer la surface de votre toiture exposée au sud, nous vous conseillons d'utiliser <u'>Geoportail</u>. Dans les outils cartographiques : trouvez l'onglet \"Mesures\" et l'outil \"Mesurer une surface\" pour tracer la surface de votre toiture éligible.</p><br/>",
|
|
169
|
+
"imgUrl": "https://storage.googleapis.com/project-booster-media/energyrenovation/roof_area_exposure.png"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"htmlContent": "<a target='_blank' href='https://www.geoportail.gouv.fr/'>Rendez-vous sur Geoportail pour calculer votre surface</a>"
|
|
166
173
|
}
|
|
167
174
|
]
|
|
168
175
|
}
|
|
@@ -171,7 +178,7 @@
|
|
|
171
178
|
"LMFR_SOLAR_PANEL_QUESTION_AVERAGE_ELECTRICITY_BILL": {
|
|
172
179
|
"code": "LMFR_SOLAR_PANEL_QUESTION_AVERAGE_ELECTRICITY_BILL",
|
|
173
180
|
"type": "STEP",
|
|
174
|
-
"component": "
|
|
181
|
+
"component": "MPbSpaceInput",
|
|
175
182
|
"slots": {
|
|
176
183
|
"stickyBottom": {
|
|
177
184
|
"display": false
|
|
@@ -186,7 +193,7 @@
|
|
|
186
193
|
},
|
|
187
194
|
"payload": {
|
|
188
195
|
"value": {
|
|
189
|
-
"
|
|
196
|
+
"space": "${getAnswerValue('LMFR_SOLAR_PANEL_QUESTION_AVERAGE_ELECTRICITY_BILL', 'space')}"
|
|
190
197
|
},
|
|
191
198
|
"viewModel": {
|
|
192
199
|
"validation": {
|
|
@@ -197,6 +204,7 @@
|
|
|
197
204
|
},
|
|
198
205
|
"backLabel": "Question précédente",
|
|
199
206
|
"label": "Quel est le coût moyen mensuel de votre facture d'électricité ?",
|
|
207
|
+
"unitLabel": "€",
|
|
200
208
|
"placeholder": "Votre coût moyen",
|
|
201
209
|
"nextStep": {
|
|
202
210
|
"code": "LMFR_SOLAR_PANEL_QUESTION_ENERGY_GUZZLING_EQUIPMENT"
|
|
@@ -204,7 +212,7 @@
|
|
|
204
212
|
},
|
|
205
213
|
"pedagogy": {
|
|
206
214
|
"component": "MPbAccordion",
|
|
207
|
-
"label": "
|
|
215
|
+
"label": "Où trouver cette information",
|
|
208
216
|
"content": [
|
|
209
217
|
{
|
|
210
218
|
"htmlContent": "<ul><li>En ligne via un compte client en ligne ou une application mobile.</li><li>Sur votre facture d'électricité.</li></ul>",
|
|
@@ -234,8 +242,13 @@
|
|
|
234
242
|
"forceOneCardPerLineOnMobile": true,
|
|
235
243
|
"widthFromL": "1of2",
|
|
236
244
|
"widthXlSize": true,
|
|
237
|
-
"label": "
|
|
238
|
-
"subtitle": "Plusieurs choix possibles."
|
|
245
|
+
"label": "Parmi ces équipements, lesquels fonctionnent en journée chez vous ?",
|
|
246
|
+
"subtitle": "Plusieurs choix possibles.",
|
|
247
|
+
"notification": {
|
|
248
|
+
"type": "info",
|
|
249
|
+
"title": "Pourquoi cette question",
|
|
250
|
+
"content": "Identifier les équipements énergivores utilisés en journée nous aide à dimensionner précisément votre installation solaire, pour maximiser le taux d'autoconsommation, ce qui permet de consommer toute l'énergie que vous produisez vous-même grâce aux panneaux photovoltaïques. Cette démarche a pour but de maximiser les économies sur vos factures et d'augmenter la rentabilité de l'installation, en alignant efficacement la production solaire et la consommation énergétique."
|
|
251
|
+
}
|
|
239
252
|
},
|
|
240
253
|
"multiSelect": {
|
|
241
254
|
"actions": {
|
|
@@ -330,7 +343,7 @@
|
|
|
330
343
|
"viewModel": {
|
|
331
344
|
"title": "Résultat de votre estimation",
|
|
332
345
|
"legalMentions": [
|
|
333
|
-
"*
|
|
346
|
+
"* Ces estimations ont un caractère indicatif et ne constituent pas des engagements contractuels. Le prix du projet est susceptible d'être revu à la hausse ou à la baisse. Il sera confirmé lors d'une visite technique par notre partenaire."
|
|
334
347
|
]
|
|
335
348
|
},
|
|
336
349
|
"callToActions": [
|
|
@@ -402,7 +415,7 @@
|
|
|
402
415
|
"sizeXlWidth": true,
|
|
403
416
|
"component": "MPbProgress",
|
|
404
417
|
"totalStep": 5,
|
|
405
|
-
"currentStep":
|
|
418
|
+
"currentStep": 5
|
|
406
419
|
}
|
|
407
420
|
},
|
|
408
421
|
"payload": {
|
|
@@ -532,7 +545,7 @@
|
|
|
532
545
|
"attribut": "averageElectricityBill",
|
|
533
546
|
"type": "string",
|
|
534
547
|
"answerCode": "LMFR_SOLAR_PANEL_QUESTION_AVERAGE_ELECTRICITY_BILL",
|
|
535
|
-
"path": "
|
|
548
|
+
"path": "space"
|
|
536
549
|
},
|
|
537
550
|
{
|
|
538
551
|
"attribut": "energyGuzzlingEquipment",
|