@panoramax/web-viewer 4.0.3-develop-75813784 → 4.0.3-develop-e49e7274
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/CHANGELOG.md +4 -0
- package/build/index.js +7 -8
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/menus/PictureMetadata.js +13 -3
- package/src/translations/eo.json +12 -1
package/package.json
CHANGED
|
@@ -101,6 +101,14 @@ export default class PictureMetadata extends LitElement {
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
/** @private */
|
|
105
|
+
_onCaptureDateClick() {
|
|
106
|
+
const qsTab = this.shadowRoot.querySelector("pnx-tabs");
|
|
107
|
+
if(qsTab) {
|
|
108
|
+
qsTab.setAttribute("activeTabIndex", 1);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
104
112
|
/** @private */
|
|
105
113
|
_toTab(title, data) {
|
|
106
114
|
return html`
|
|
@@ -108,7 +116,7 @@ export default class PictureMetadata extends LitElement {
|
|
|
108
116
|
<div slot="content" class="data-blocks">
|
|
109
117
|
${data.filter(b => b).map(b => html`<div class="data-block" style=${b.style}>
|
|
110
118
|
<h5>${b.title}</h5>
|
|
111
|
-
<div style=${b.content_style}>${b.content}</div>
|
|
119
|
+
<div style=${b.content_style} @click=${b.click}>${b.content}</div>
|
|
112
120
|
</div>`)}
|
|
113
121
|
</div>
|
|
114
122
|
`;
|
|
@@ -313,9 +321,11 @@ export default class PictureMetadata extends LitElement {
|
|
|
313
321
|
// Capture date
|
|
314
322
|
this._meta?.caption?.date && {
|
|
315
323
|
title: this._parent?._t.pnx.metadata_general_date,
|
|
324
|
+
click: this._onCaptureDateClick,
|
|
325
|
+
content_style: "cursor: pointer",
|
|
316
326
|
content: html`
|
|
317
327
|
<strong>${new Intl.DateTimeFormat(lang, {timeZone: this._meta.caption.tz, dateStyle: "long"}).format(this._meta.caption.date)}</strong>
|
|
318
|
-
<br />${new Intl.DateTimeFormat(lang, {timeZone: this._meta.caption.tz, hour: "numeric",minute:"numeric"}).format(this._meta.caption.date)}
|
|
328
|
+
<br />${new Intl.DateTimeFormat(lang, {timeZone: this._meta.caption.tz, hour: "numeric",minute:"numeric", second: "numeric"}).format(this._meta.caption.date)}
|
|
319
329
|
`
|
|
320
330
|
},
|
|
321
331
|
// Camera
|
|
@@ -334,10 +344,10 @@ export default class PictureMetadata extends LitElement {
|
|
|
334
344
|
// Quality score
|
|
335
345
|
hasQualityScore && {
|
|
336
346
|
title: this._parent?._t.pnx.metadata_quality,
|
|
347
|
+
click: this._onQualityScoreClick,
|
|
337
348
|
content: html`<pnx-quality-score
|
|
338
349
|
grade=${generalGrade}
|
|
339
350
|
style="font-size: 14px; cursor: pointer"
|
|
340
|
-
@click=${this._onQualityScoreClick}
|
|
341
351
|
/>`
|
|
342
352
|
},
|
|
343
353
|
// Copy ID
|
package/src/translations/eo.json
CHANGED
|
@@ -188,7 +188,18 @@
|
|
|
188
188
|
"metadata_general_copy_id": "Kopii la ID-on",
|
|
189
189
|
"metadata_general_copy_picid": "Kopii la fotan ID-on",
|
|
190
190
|
"metadata_general_instance": "Origina instanco",
|
|
191
|
-
"geo_uri": "Ekseteraj aplikaĵoj"
|
|
191
|
+
"geo_uri": "Ekseteraj aplikaĵoj",
|
|
192
|
+
"semantics_title": "Etikedoj",
|
|
193
|
+
"semantics_tags": "{nb} etikedoj",
|
|
194
|
+
"semantics_features": "Detektitaj objektoj",
|
|
195
|
+
"semantics_features_none": "No objekto estis ankoraŭ detektita aŭ prinotita en ĉi tiu foto.",
|
|
196
|
+
"semantics_features_default_title": "Objekto #{nb}",
|
|
197
|
+
"metadata_exif_doc": "Dokumentoj por EXIF-etikedoj",
|
|
198
|
+
"metadata_exif_doc_title": "Iru al la dokumentaro de Exiv2 por havi plenajn detalojn pri difinoj de EXIF kaj XMP-etikedoj",
|
|
199
|
+
"metadata_location_coordinates": "Koordinatoj (longitudo, latitudo)",
|
|
200
|
+
"metadata_location_copy": "Kopii {v}",
|
|
201
|
+
"metadata_location_copy_more": "Pli da ebloj por kopii koordinatojn",
|
|
202
|
+
"whats_panoramax": "Panoramax estas la geokomunaĵo por teritoriaj fotoj."
|
|
192
203
|
},
|
|
193
204
|
"maplibre": {
|
|
194
205
|
"GeolocateControl.FindMyLocation": "Trovi mian pozicion",
|