project-booster-vue 10.23.6 → 10.23.7
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/cards/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-project-booster-components-cards-pb-card-/360/237/247/254-features-flattened-1-snap.png +0 -0
- package/src/components/question/PbQuestion-Features-Answers-Modal.stories.mdx +1 -1
- package/src/components/question/city-search/PbCitySearch.vue +1 -1
- package/src/components/question/default-payload-modal.json +2 -2
- package/src/components/rework/products/MPbProducts.vue +5 -3
- package/src/components/rework/question/city-search/MPbCitySearch.vue +1 -1
- package/src/components/rework/ui/progress/MPbProgress.vue +1 -1
- package/src/components/scenario/scenarii/estimator-attic-insulation.json +162 -162
- package/src/components/scenario/scenarii/estimator-external-wall-insulation.json +162 -162
- package/src/components/scenario/scenarii/estimator-floor-insulation.json +161 -161
- package/src/components/scenario/scenarii/estimator-hpwa.json +162 -162
- package/src/components/scenario/scenarii/estimator-pellet-boiler.json +161 -161
- package/src/components/scenario/scenarii/estimator-pellet-burning-stove.json +172 -170
- package/src/components/scenario/scenarii/estimator-wood-stove.json +171 -171
- package/src/stores/modules/productsStore.ts +1 -1
package/package.json
CHANGED
|
@@ -83,7 +83,7 @@ export const conditionalAnswersPayload = {
|
|
|
83
83
|
action: {
|
|
84
84
|
type: 'MODAL',
|
|
85
85
|
viewModelDialog: {
|
|
86
|
-
headerTitle: '
|
|
86
|
+
headerTitle: 'Où trouver votre revenu fiscal de référence ?',
|
|
87
87
|
subTitle: 'Sur votre dernier avis d’imposition disponible dans votre espace impots-gouv.fr',
|
|
88
88
|
imgUrl:
|
|
89
89
|
'https://www.lerevenu.com/sites/site/files/styles/img_lg/public/field/image/impots_7.jpg?itok=A2rlQzx3',
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
<div v-if="selectedCity" class="pb-city-search__selected-city">
|
|
86
86
|
<!-- prettier-ignore -->
|
|
87
87
|
<span>
|
|
88
|
-
Votre chantier sera
|
|
88
|
+
Votre chantier sera réalisé dans la commune de <strong>{{ selectedCity.name }}</strong>, <strong>{{ selectedCity.region }}</strong>.
|
|
89
89
|
</span>
|
|
90
90
|
</div>
|
|
91
91
|
<m-flex class="pb-city-search__buttons-container" direction="column">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"viewModel": {
|
|
3
3
|
"label": "Quel est votre revenu fiscal de référence annuel de votre foyer fiscal ?",
|
|
4
|
-
"subtitle": "Posez la question à votre
|
|
4
|
+
"subtitle": "Posez la question à votre propriétaire, cette information est utile pour le calcul des aides.",
|
|
5
5
|
"answersComponent": "PbCard"
|
|
6
6
|
},
|
|
7
7
|
"answers": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"action": {
|
|
42
42
|
"type": "MODAL",
|
|
43
43
|
"viewModelDialog": {
|
|
44
|
-
"headerTitle": "
|
|
44
|
+
"headerTitle": "Où trouver votre revenu fiscal de référence ?",
|
|
45
45
|
"subTitle": "Sur votre dernier avis d’imposition disponible dans votre espace impots-gouv.fr",
|
|
46
46
|
"imgUrl": "https://storage.googleapis.com/project-booster-media/energyrenovation/reference_tax_income.png"
|
|
47
47
|
}
|
|
@@ -136,10 +136,12 @@ onBeforeMount(() => {
|
|
|
136
136
|
*/
|
|
137
137
|
onMounted(() => {
|
|
138
138
|
watch(
|
|
139
|
-
() => store.getters['products/getCurrentProduct'],
|
|
139
|
+
(): Product => store.getters['products/getCurrentProduct'],
|
|
140
140
|
(newProduct) => {
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
if (newProduct) {
|
|
142
|
+
product.value = newProduct;
|
|
143
|
+
designation.value = product.value?.designation || props.payload.viewModel.defaultProduct?.designation || '';
|
|
144
|
+
}
|
|
143
145
|
},
|
|
144
146
|
);
|
|
145
147
|
});
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
<div v-if="selectedCity" class="pb-city-search__selected-city">
|
|
65
65
|
<!-- prettier-ignore -->
|
|
66
66
|
<span>
|
|
67
|
-
Votre chantier sera
|
|
67
|
+
Votre chantier sera réalisé dans la commune de <strong>{{ selectedCity.name }}</strong>, <strong>{{ selectedCity.region }}</strong>.
|
|
68
68
|
</span>
|
|
69
69
|
</div>
|
|
70
70
|
|