project-booster-vue 9.45.0 → 9.45.2
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/carousel/PbCarousel.vue +2 -2
- package/src/components/media/PbMedia.vue +1 -1
- package/src/components/mozaic/dialog/MDialog.vue +1 -0
- package/src/components/projects/project-hub/PbProjectHub.vue +1 -1
- package/src/components/projects/projects-list/PbProjectHub.vue +1 -1
- package/src/components/restitution/PbRestitution.vue +1 -1
- package/src/components/scenario/PbScenario.vue +1 -1
- package/src/components/trezor/PbTrezor.vue +11 -5
- package/src/components/trezor/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-project-booster-components-trezor-pb-trezor-/360/237/246/240-101-sandbox-1-snap.png +0 -0
package/package.json
CHANGED
|
@@ -99,10 +99,10 @@ export default defineComponent({
|
|
|
99
99
|
$responsive-breakpoint: 'm';
|
|
100
100
|
|
|
101
101
|
.pb-carousel {
|
|
102
|
-
margin: 0
|
|
102
|
+
margin: 0 - $mu100 0 0;
|
|
103
103
|
|
|
104
104
|
@include set-from-screen($responsive-breakpoint) {
|
|
105
|
-
margin: 0
|
|
105
|
+
margin: 0 - $mu100;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
:deep(.pb-carousel__slider.hooper) {
|
|
@@ -464,7 +464,7 @@ $slide-animation-duration: 0.15s;
|
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
466
|
|
|
467
|
-
@media screen and (min-color-index: 0) and(-webkit-min-device-pixel-ratio: 0) {
|
|
467
|
+
@media screen and (min-color-index: 0) and (-webkit-min-device-pixel-ratio: 0) {
|
|
468
468
|
/* Safari */
|
|
469
469
|
.pb-restitution {
|
|
470
470
|
display: block !important;
|
|
@@ -844,7 +844,7 @@ $slide-sticky-bottom-animation-delay: $slide-animation-duration + 0.45s;
|
|
|
844
844
|
}
|
|
845
845
|
}
|
|
846
846
|
|
|
847
|
-
@media screen and (min-color-index: 0) and(-webkit-min-device-pixel-ratio: 0) {
|
|
847
|
+
@media screen and (min-color-index: 0) and (-webkit-min-device-pixel-ratio: 0) {
|
|
848
848
|
/* Safari */
|
|
849
849
|
.pb-scenario {
|
|
850
850
|
display: block !important;
|
|
@@ -188,7 +188,11 @@ export default defineComponent({
|
|
|
188
188
|
props.payload.viewModel.defaultValue?.zipcode?.path,
|
|
189
189
|
) || null;
|
|
190
190
|
|
|
191
|
-
const convertToTypeOf = (typedVar: string, input: any): string | number => {
|
|
191
|
+
const convertToTypeOf = (typedVar: string, input: any): string | number | null => {
|
|
192
|
+
if (!input) {
|
|
193
|
+
return null;
|
|
194
|
+
}
|
|
195
|
+
|
|
192
196
|
switch (typedVar) {
|
|
193
197
|
case 'string':
|
|
194
198
|
return input.toString();
|
|
@@ -202,11 +206,13 @@ export default defineComponent({
|
|
|
202
206
|
};
|
|
203
207
|
|
|
204
208
|
const metadata = props.payload.viewModel.metadata;
|
|
205
|
-
let sendingMetadata: any;
|
|
209
|
+
let sendingMetadata: any = {};
|
|
206
210
|
|
|
207
|
-
metadata
|
|
208
|
-
|
|
209
|
-
|
|
211
|
+
if (metadata) {
|
|
212
|
+
metadata.forEach((meta: TrezorInterface) => {
|
|
213
|
+
sendingMetadata[meta.attribut] = convertToTypeOf(meta.type, getAnswerValue(meta.answerCode, meta.path)) || null;
|
|
214
|
+
});
|
|
215
|
+
}
|
|
210
216
|
|
|
211
217
|
let formData = ref<any>({
|
|
212
218
|
values: {
|