project-booster-vue 9.64.2 → 9.65.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.64.2",
3
+ "version": "9.65.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -105,24 +105,20 @@
105
105
 
106
106
  <ul class="pb-project-attributes__works">
107
107
  <template v-for="[attributeId, attribute] of displayedProjectAttributes" :key="attributeId">
108
- <template v-if="attributeId === 'bathroomStyle' && isArray(attribute.value)">
109
- <li v-for="value in JSON.parse(attribute.value)">Style: {{ bathroomStyle[value] }}</li>
108
+ <template v-if="attributeId === 'works'">
109
+ <li v-if="isArray(attribute.value)" v-for="value in JSON.parse(attribute.value)">{{ works[value] }}</li>
110
+ <li v-else>{{ works[attribute.value] }}</li>
110
111
  </template>
111
- <template v-else-if="attributeId === 'bathroomStyle'">
112
- <li>Style: {{ bathroomStyle[attribute.value] }}</li>
113
- </template>
114
- </template>
115
- <template v-for="[attributeId, attribute] of displayedProjectAttributes" :key="attributeId">
116
- <template v-if="attributeId === 'works' && isArray(attribute.value)">
117
- <li v-for="value in JSON.parse(attribute.value)">
118
- {{ works[value] }}
119
- </li>
120
- </template>
121
- <template v-else-if="attributeId === 'works'">
122
- <li>
123
- {{ works[attribute.value] }}
112
+ <template v-if="attributeId === 'bathroomStyle'">
113
+ <li v-if="isArray(attribute.value)" v-for="value in JSON.parse(attribute.value)">
114
+ Style: {{ bathroomStyle[value] }}
124
115
  </li>
116
+ <li v-else>Style: {{ bathroomStyle[attribute.value] }}</li>
125
117
  </template>
118
+ <li v-if="attributeId === 'bathTubStyle'">Type de baignoire: {{ bathTubStyle[attribute.value] }}</li>
119
+ <li v-if="attributeId === 'showerType'">Type de douche: {{ showerType[attribute.value] }}</li>
120
+ <li v-if="attributeId === 'furnitureType'">Type de meubles: {{ furnitureType[attribute.value] }}</li>
121
+ <li v-if="attributeId === 'wcType'">Type de WC: {{ wcType[attribute.value] }}</li>
126
122
  </template>
127
123
  </ul>
128
124
 
@@ -167,6 +163,31 @@ export default defineComponent({
167
163
  CHARME: 'Charme',
168
164
  NEO: 'Néo-classique',
169
165
  },
166
+ bathTubStyle: {
167
+ STRAIGH_TUB: 'Droite',
168
+ ILOT: 'Îlot',
169
+ SEMI_ILOT: 'Semi îlot',
170
+ ANGLE: 'Angle',
171
+ BALNEO: 'Balnéo',
172
+ },
173
+ showerType: {
174
+ STRAIGH_TUB: 'Cabine',
175
+ CLOSED: 'Fermée',
176
+ ITALIAN: 'Italienne',
177
+ COLUMN: 'Colonne',
178
+ },
179
+ furnitureType: {
180
+ CABINET: 'Armoire de toilette',
181
+ DOUBLE_BASIN: 'Double vasque à poser',
182
+ BUILTIN_WASHBASIN: 'Double vasque encastrée',
183
+ COLUMN: 'Meuble colonne',
184
+ SIMPLE_BASIN: 'Simple vasque à poser',
185
+ SIMPLE_BUILTIN_WASHBASIN: 'Simple vasque encastré',
186
+ },
187
+ wcType: {
188
+ TO_PUT: 'A poser',
189
+ DOUBLE_BASIN: 'Suspendu',
190
+ },
170
191
  };
171
192
  },
172
193