@panoramax/web-viewer 3.2.3-develop-8b82a4e5 → 3.2.3-develop-22a06610
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
|
@@ -48,7 +48,6 @@ export default class PictureMetadata extends LitElement {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/* Small data blocks */
|
|
51
|
-
/* .data-blocks { display: flex; } */
|
|
52
51
|
.data-block {
|
|
53
52
|
display: inline-block;
|
|
54
53
|
min-width: 50%;
|
|
@@ -82,6 +81,14 @@ export default class PictureMetadata extends LitElement {
|
|
|
82
81
|
});
|
|
83
82
|
}
|
|
84
83
|
|
|
84
|
+
/** @private */
|
|
85
|
+
_onQualityScoreClick() {
|
|
86
|
+
const qsTab = this.shadowRoot.querySelector("pnx-tabs");
|
|
87
|
+
if(qsTab) {
|
|
88
|
+
qsTab.setAttribute("activeTabIndex", 3);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
85
92
|
/** @private */
|
|
86
93
|
_toTab(title, data) {
|
|
87
94
|
return html`
|
|
@@ -237,7 +244,11 @@ export default class PictureMetadata extends LitElement {
|
|
|
237
244
|
// Quality score
|
|
238
245
|
hasQualityScore && {
|
|
239
246
|
title: this._parent?._t.pnx.metadata_quality,
|
|
240
|
-
content: html`<pnx-quality-score
|
|
247
|
+
content: html`<pnx-quality-score
|
|
248
|
+
grade=${generalGrade}
|
|
249
|
+
style="font-size: 14px; cursor: pointer"
|
|
250
|
+
@click=${this._onQualityScoreClick}
|
|
251
|
+
/>`
|
|
241
252
|
},
|
|
242
253
|
// Copy ID
|
|
243
254
|
{
|
|
@@ -92,7 +92,9 @@ export default class Legend extends LitElement {
|
|
|
92
92
|
style=${this.focus == "map" ? "display: none": ""}
|
|
93
93
|
collapsable
|
|
94
94
|
>
|
|
95
|
-
<slot slot="editors" name="editors"
|
|
95
|
+
<slot slot="editors" name="editors">
|
|
96
|
+
<pnx-widget-osmeditors ._parent=${this._parent} />
|
|
97
|
+
</slot>
|
|
96
98
|
</pnx-picture-legend>
|
|
97
99
|
<pnx-map-legend
|
|
98
100
|
._parent=${this._parent}
|