@abi-software/map-side-bar 2.7.3-beta.3 → 2.7.3-beta.5
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
|
@@ -406,16 +406,11 @@ export default {
|
|
|
406
406
|
},
|
|
407
407
|
onConnectivityInfoLoaded: function (result) {
|
|
408
408
|
result.loaded = true;
|
|
409
|
-
|
|
410
409
|
const stepItemRef = this.$refs['stepItem-' + result.id];
|
|
411
|
-
|
|
410
|
+
const contentRef = this.$refs['content'];
|
|
412
411
|
this.$nextTick(() => {
|
|
413
|
-
if (stepItemRef && stepItemRef[0]) {
|
|
414
|
-
stepItemRef[0].
|
|
415
|
-
behavior: 'smooth',
|
|
416
|
-
block: 'start',
|
|
417
|
-
inline: 'nearest',
|
|
418
|
-
});
|
|
412
|
+
if (contentRef && stepItemRef && stepItemRef[0]) {
|
|
413
|
+
contentRef.scrollTop = stepItemRef[0].offsetTop;
|
|
419
414
|
}
|
|
420
415
|
});
|
|
421
416
|
},
|
|
@@ -616,9 +611,14 @@ export default {
|
|
|
616
611
|
color: white !important;
|
|
617
612
|
text-decoration: underline;
|
|
618
613
|
text-underline-offset: 2px;
|
|
614
|
+
border-color: transparent !important;
|
|
615
|
+
background-color: transparent !important;
|
|
616
|
+
padding: 2px !important;
|
|
617
|
+
height: auto !important;
|
|
619
618
|
|
|
620
619
|
&:hover {
|
|
621
620
|
text-decoration-color: transparent;
|
|
621
|
+
box-shadow: none !important;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
624
|
</style>
|
|
@@ -635,19 +635,21 @@ export default {
|
|
|
635
635
|
}
|
|
636
636
|
},
|
|
637
637
|
getConnectionsFromMap: async function () {
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
638
|
+
if (this.entry.mapuuid) {
|
|
639
|
+
const url =
|
|
640
|
+
this.flatmapApi +
|
|
641
|
+
`flatmap/${this.entry.mapuuid}/connectivity/${this.entry.featureId[0]}`;
|
|
642
|
+
|
|
643
|
+
try {
|
|
644
|
+
const response = await fetch(url);
|
|
645
|
+
if (!response.ok) {
|
|
646
|
+
throw new Error(`Response status: ${response.status}`);
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
return await response.json();
|
|
650
|
+
} catch (error) {
|
|
651
|
+
throw new Error(error);
|
|
646
652
|
}
|
|
647
|
-
|
|
648
|
-
return await response.json();
|
|
649
|
-
} catch (error) {
|
|
650
|
-
throw new Error(error);
|
|
651
653
|
}
|
|
652
654
|
},
|
|
653
655
|
onConnectivityActionClick: function (data) {
|
|
@@ -725,17 +727,18 @@ export default {
|
|
|
725
727
|
margin: 0;
|
|
726
728
|
width: 24px !important;
|
|
727
729
|
height: 24px !important;
|
|
730
|
+
border: 1px solid $app-primary-color !important;
|
|
728
731
|
|
|
729
732
|
&,
|
|
730
733
|
&:hover,
|
|
731
734
|
&:focus,
|
|
732
735
|
&:active {
|
|
733
736
|
background-color: $app-primary-color;
|
|
734
|
-
border-color: $app-primary-color;
|
|
737
|
+
border-color: $app-primary-color !important;
|
|
735
738
|
}
|
|
736
739
|
|
|
737
740
|
&.secondary {
|
|
738
|
-
background-color: white;
|
|
741
|
+
background-color: white !important;
|
|
739
742
|
}
|
|
740
743
|
}
|
|
741
744
|
|
|
@@ -990,7 +993,7 @@ export default {
|
|
|
990
993
|
.title-buttons {
|
|
991
994
|
display: flex;
|
|
992
995
|
flex: 1 0 0%;
|
|
993
|
-
max-width:
|
|
996
|
+
max-width: 20%;
|
|
994
997
|
flex-direction: row;
|
|
995
998
|
justify-content: end;
|
|
996
999
|
gap: 0.5rem;
|
|
@@ -637,9 +637,14 @@ export default {
|
|
|
637
637
|
color: white !important;
|
|
638
638
|
text-decoration: underline;
|
|
639
639
|
text-underline-offset: 2px;
|
|
640
|
+
border-color: transparent !important;
|
|
641
|
+
background-color: transparent !important;
|
|
642
|
+
padding: 2px !important;
|
|
643
|
+
height: auto !important;
|
|
640
644
|
|
|
641
645
|
&:hover {
|
|
642
646
|
text-decoration-color: transparent;
|
|
647
|
+
box-shadow: none !important;
|
|
643
648
|
}
|
|
644
649
|
}
|
|
645
650
|
</style>
|