@piveau/piveau-hub-ui-modules 4.6.40 → 4.6.41
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.
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { has as
|
|
2
|
-
import { mapGetters as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { truncate as
|
|
6
|
-
import { resolveComponent as
|
|
7
|
-
import
|
|
8
|
-
const
|
|
1
|
+
import { has as D, isNil as v } from "lodash-es";
|
|
2
|
+
import { mapGetters as F } from "vuex";
|
|
3
|
+
import N from "../../../widgets/Tooltip.vue.mjs";
|
|
4
|
+
import T from "../../../widgets/AppLink.vue.mjs";
|
|
5
|
+
import { truncate as A, formatDatetime as R, getTranslationFor as L } from "../../../utils/helpers.mjs";
|
|
6
|
+
import { resolveComponent as w, openBlock as n, createElementBlock as o, Fragment as c, renderList as h, createElementVNode as d, createVNode as b, withCtx as u, createTextVNode as e, toDisplayString as l, createBlock as j, createCommentVNode as r } from "vue";
|
|
7
|
+
import B from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
8
|
+
const C = {
|
|
9
9
|
name: "DistributionContent",
|
|
10
10
|
components: {
|
|
11
|
-
AppLink:
|
|
12
|
-
Tooltip:
|
|
11
|
+
AppLink: T,
|
|
12
|
+
Tooltip: N
|
|
13
13
|
},
|
|
14
14
|
props: [
|
|
15
15
|
"contentList",
|
|
@@ -25,16 +25,16 @@ const B = {
|
|
|
25
25
|
"appendCurrentLocaleToURL"
|
|
26
26
|
],
|
|
27
27
|
computed: {
|
|
28
|
-
...
|
|
28
|
+
...F("datasetDetails", [
|
|
29
29
|
"getID"
|
|
30
30
|
])
|
|
31
31
|
},
|
|
32
32
|
methods: {
|
|
33
|
-
has:
|
|
34
|
-
isNil:
|
|
35
|
-
truncate:
|
|
36
|
-
formatDatetime:
|
|
37
|
-
getTranslationFor:
|
|
33
|
+
has: D,
|
|
34
|
+
isNil: v,
|
|
35
|
+
truncate: A,
|
|
36
|
+
formatDatetime: R,
|
|
37
|
+
getTranslationFor: L,
|
|
38
38
|
distributionRights(s) {
|
|
39
39
|
const i = s.rights;
|
|
40
40
|
return i.label ? i.label : i.resource;
|
|
@@ -46,7 +46,7 @@ const B = {
|
|
|
46
46
|
}, I = {
|
|
47
47
|
key: 0,
|
|
48
48
|
class: "distribution-license-tr distribution-content-tr"
|
|
49
|
-
},
|
|
49
|
+
}, _ = { class: "w-25 font-weight-bold" }, U = { key: 0 }, P = { key: 1 }, E = {
|
|
50
50
|
key: 1,
|
|
51
51
|
class: "distribution-licenseAttributionByText-tr distribution-content-tr"
|
|
52
52
|
}, M = { class: "w-25 font-weight-bold" }, S = {
|
|
@@ -91,28 +91,28 @@ const B = {
|
|
|
91
91
|
}, yt = { class: "w-25 font-weight-bold" }, kt = { key: 0 }, ft = { key: 1 }, ct = {
|
|
92
92
|
key: 15,
|
|
93
93
|
class: "distribution-packageFormat-tr distribution-content-tr"
|
|
94
|
-
},
|
|
94
|
+
}, ht = { class: "w-25 font-weight-bold" }, wt = { key: 0 }, Dt = { key: 1 }, vt = {
|
|
95
95
|
key: 16,
|
|
96
96
|
class: "distribution-hasPolicy-tr distribution-content-tr"
|
|
97
97
|
}, Ft = { class: "w-25 font-weight-bold" }, Nt = ["href"], Tt = {
|
|
98
98
|
key: 17,
|
|
99
99
|
class: "distribution-conformsTo-tr distribution-content-tr"
|
|
100
|
-
}, At = { class: "w-25 font-weight-bold" }, Rt = { key: 0 }, Lt = { key: 1 },
|
|
100
|
+
}, At = { class: "w-25 font-weight-bold" }, Rt = { key: 0 }, Lt = { key: 1 }, jt = {
|
|
101
101
|
key: 18,
|
|
102
102
|
class: "distribution-spatialResolutionInMeters-tr distribution-content-tr"
|
|
103
|
-
},
|
|
103
|
+
}, Bt = { class: "w-25 font-weight-bold" }, Ct = { key: 0 }, Ot = {
|
|
104
104
|
key: 19,
|
|
105
105
|
class: "distribution-temporalResolution-tr distribution-content-tr"
|
|
106
|
-
}, It = { class: "w-25 font-weight-bold" },
|
|
106
|
+
}, It = { class: "w-25 font-weight-bold" }, _t = {
|
|
107
107
|
key: 20,
|
|
108
108
|
class: "distribution-validate-tr distribution-content-tr"
|
|
109
|
-
},
|
|
109
|
+
}, Ut = { key: 0 };
|
|
110
110
|
function Pt(s, i, t, Et, Mt, a) {
|
|
111
|
-
const y =
|
|
111
|
+
const y = w("tooltip"), f = w("app-link");
|
|
112
112
|
return n(), o("table", O, [
|
|
113
|
-
(n(!0), o(c, null,
|
|
113
|
+
(n(!0), o(c, null, h(t.contentList, (m) => (n(), o(c, null, [
|
|
114
114
|
m === "license" ? (n(), o("tr", I, [
|
|
115
|
-
d("td",
|
|
115
|
+
d("td", _, [
|
|
116
116
|
b(y, {
|
|
117
117
|
title: s.$t("message.tooltip.datasetDetails.distributions.licence")
|
|
118
118
|
}, {
|
|
@@ -122,9 +122,9 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
122
122
|
_: 1
|
|
123
123
|
}, 8, ["title"])
|
|
124
124
|
]),
|
|
125
|
-
i[
|
|
126
|
-
t.showObject(t.distribution.licence) && t.showLicence(t.distribution.licence) ? (n(), o("td",
|
|
127
|
-
b(
|
|
125
|
+
i[6] || (i[6] = e()),
|
|
126
|
+
t.showObject(t.distribution.licence) && t.showLicence(t.distribution.licence) ? (n(), o("td", U, [
|
|
127
|
+
b(f, {
|
|
128
128
|
to: t.distribution.licence.resource,
|
|
129
129
|
target: "_blank",
|
|
130
130
|
onClick: i[0] || (i[0] = (g) => s.$emit("track-link", t.distribution.licence.resource, "link"))
|
|
@@ -134,8 +134,8 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
134
134
|
]),
|
|
135
135
|
_: 1
|
|
136
136
|
}, 8, ["to"]),
|
|
137
|
-
i[
|
|
138
|
-
b(
|
|
137
|
+
i[4] || (i[4] = e()),
|
|
138
|
+
b(f, {
|
|
139
139
|
to: this.$env.content.datasetDetails.distributions.licencingAssistantUrl ? `${this.$env.content.datasetDetails.distributions.licencingAssistantUrl}?locale=${s.$route.query.locale}` : t.distribution.licence.resource,
|
|
140
140
|
target: "_blank",
|
|
141
141
|
"data-toggle": "tooltip",
|
|
@@ -144,13 +144,13 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
144
144
|
title: t.distribution.licence.description,
|
|
145
145
|
onClick: i[1] || (i[1] = (g) => s.$emit("track-link", t.distribution.licence.resource, "link"))
|
|
146
146
|
}, {
|
|
147
|
-
default: u(() => i[
|
|
147
|
+
default: u(() => i[3] || (i[3] = [
|
|
148
148
|
d("i", { class: "material-icons small-icon align-bottom text-dark" }, "info", -1)
|
|
149
149
|
])),
|
|
150
150
|
_: 1
|
|
151
151
|
}, 8, ["to", "title"]),
|
|
152
|
-
i[
|
|
153
|
-
t.showLicensingAssistant(t.distribution) ? (n(),
|
|
152
|
+
i[5] || (i[5] = e()),
|
|
153
|
+
t.showLicensingAssistant(t.distribution) ? (n(), j(f, {
|
|
154
154
|
key: 0,
|
|
155
155
|
to: t.distribution.licence.la_url,
|
|
156
156
|
target: "_blank",
|
|
@@ -160,22 +160,10 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
160
160
|
e(l(s.$t("message.distributionLicense.licensingAssistant")), 1)
|
|
161
161
|
]),
|
|
162
162
|
_: 1
|
|
163
|
-
}, 8, ["to"])) : r("", !0),
|
|
164
|
-
i[8] || (i[8] = e()),
|
|
165
|
-
t.showLicensingAssistant(t.distribution) ? (n(), D(k, {
|
|
166
|
-
key: 1,
|
|
167
|
-
to: t.distribution.licence.la_url,
|
|
168
|
-
target: "_blank",
|
|
169
|
-
onClick: i[3] || (i[3] = (g) => s.$emit("track-link", t.distribution.licence.la_url, "link"))
|
|
170
|
-
}, {
|
|
171
|
-
default: u(() => i[5] || (i[5] = [
|
|
172
|
-
d("i", { class: "material-icons small-icon align-bottom text-dark" }, "open_in_new", -1)
|
|
173
|
-
])),
|
|
174
|
-
_: 1
|
|
175
163
|
}, 8, ["to"])) : r("", !0)
|
|
176
164
|
])) : (n(), o("td", P, l(s.$t("message.distributionLicense.notProvided")), 1))
|
|
177
165
|
])) : r("", !0),
|
|
178
|
-
i[
|
|
166
|
+
i[30] || (i[30] = e()),
|
|
179
167
|
m === "licenseAttributionByText" && a.has(t.distribution, "licenseAttributionByText") && !a.isNil(t.distribution.licenseAttributionByText) && !a.isNil(a.getTranslationFor(t.distribution.licenseAttributionByText)) ? (n(), o("tr", E, [
|
|
180
168
|
d("td", M, [
|
|
181
169
|
b(y, {
|
|
@@ -187,10 +175,10 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
187
175
|
_: 1
|
|
188
176
|
}, 8, ["title"])
|
|
189
177
|
]),
|
|
190
|
-
i[
|
|
178
|
+
i[7] || (i[7] = e()),
|
|
191
179
|
d("td", null, l(a.getTranslationFor(t.distribution.licenseAttributionByText)), 1)
|
|
192
180
|
])) : r("", !0),
|
|
193
|
-
i[
|
|
181
|
+
i[31] || (i[31] = e()),
|
|
194
182
|
m === "updateDate" ? (n(), o("tr", S, [
|
|
195
183
|
d("td", z, [
|
|
196
184
|
b(y, {
|
|
@@ -202,12 +190,12 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
202
190
|
_: 1
|
|
203
191
|
}, 8, ["title"])
|
|
204
192
|
]),
|
|
205
|
-
i[
|
|
193
|
+
i[8] || (i[8] = e()),
|
|
206
194
|
a.has(t.distribution, "modificationDate") && !a.isNil(t.distribution.modificationDate) ? (n(), o("td", q, l(t.filterDateFormatEU(t.distribution.modificationDate)), 1)) : a.has(t.distribution, "releaseDate") && !a.isNil(t.distribution.releaseDate) ? (n(), o("td", V, l(t.filterDateFormatEU(t.distribution.releaseDate)), 1)) : (n(), o("td", G, `
|
|
207
195
|
Unbekannt
|
|
208
196
|
`))
|
|
209
197
|
])) : r("", !0),
|
|
210
|
-
i[
|
|
198
|
+
i[32] || (i[32] = e()),
|
|
211
199
|
m === "modificationDate" && a.has(t.distribution, "modificationDate") && !a.isNil(t.distribution.modificationDate) ? (n(), o("tr", H, [
|
|
212
200
|
d("td", J, [
|
|
213
201
|
b(y, {
|
|
@@ -219,10 +207,10 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
219
207
|
_: 1
|
|
220
208
|
}, 8, ["title"])
|
|
221
209
|
]),
|
|
222
|
-
i[
|
|
210
|
+
i[9] || (i[9] = e()),
|
|
223
211
|
d("td", null, l(t.filterDateFormatEU(t.distribution.modificationDate)), 1)
|
|
224
212
|
])) : r("", !0),
|
|
225
|
-
i[
|
|
213
|
+
i[33] || (i[33] = e()),
|
|
226
214
|
m === "releaseDate" && a.has(t.distribution, "releaseDate") && !a.isNil(t.distribution.releaseDate) ? (n(), o("tr", K, [
|
|
227
215
|
d("td", Q, [
|
|
228
216
|
b(y, {
|
|
@@ -234,10 +222,10 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
234
222
|
_: 1
|
|
235
223
|
}, 8, ["title"])
|
|
236
224
|
]),
|
|
237
|
-
i[
|
|
225
|
+
i[10] || (i[10] = e()),
|
|
238
226
|
d("td", null, l(t.filterDateFormatEU(t.distribution.releaseDate)), 1)
|
|
239
227
|
])) : r("", !0),
|
|
240
|
-
i[
|
|
228
|
+
i[34] || (i[34] = e()),
|
|
241
229
|
m === "language" && a.has(t.distribution, "languages") && t.showArray(t.distribution.languages) ? (n(), o("tr", W, [
|
|
242
230
|
d("td", X, [
|
|
243
231
|
b(y, {
|
|
@@ -249,14 +237,14 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
249
237
|
_: 1
|
|
250
238
|
}, 8, ["title"])
|
|
251
239
|
]),
|
|
252
|
-
i[
|
|
240
|
+
i[11] || (i[11] = e()),
|
|
253
241
|
d("td", null, [
|
|
254
|
-
(n(!0), o(c, null,
|
|
242
|
+
(n(!0), o(c, null, h(t.distribution.languages.map((g) => g.label), (g, k) => (n(), o("div", { key: k }, [
|
|
255
243
|
d("span", null, l(g), 1)
|
|
256
244
|
]))), 128))
|
|
257
245
|
])
|
|
258
246
|
])) : r("", !0),
|
|
259
|
-
i[
|
|
247
|
+
i[35] || (i[35] = e()),
|
|
260
248
|
m === "availability" && a.has(t.distribution, "availability") && t.showObject(t.distribution.availability) && !a.isNil(t.distribution.availability.label) ? (n(), o("tr", Y, [
|
|
261
249
|
d("td", Z, [
|
|
262
250
|
b(y, {
|
|
@@ -268,10 +256,10 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
268
256
|
_: 1
|
|
269
257
|
}, 8, ["title"])
|
|
270
258
|
]),
|
|
271
|
-
i[
|
|
259
|
+
i[12] || (i[12] = e()),
|
|
272
260
|
d("td", null, l(t.distribution.availability.label), 1)
|
|
273
261
|
])) : r("", !0),
|
|
274
|
-
i[
|
|
262
|
+
i[36] || (i[36] = e()),
|
|
275
263
|
m === "status" && a.has(t.distribution, "status") && t.showObject(t.distribution.status) ? (n(), o("tr", x, [
|
|
276
264
|
d("td", $, [
|
|
277
265
|
b(y, {
|
|
@@ -283,12 +271,12 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
283
271
|
_: 1
|
|
284
272
|
}, 8, ["title"])
|
|
285
273
|
]),
|
|
286
|
-
i[
|
|
274
|
+
i[13] || (i[13] = e()),
|
|
287
275
|
d("td", null, [
|
|
288
276
|
a.isNil(t.distribution.status.label) ? r("", !0) : (n(), o("div", p, l(t.distribution.status.label), 1))
|
|
289
277
|
])
|
|
290
278
|
])) : r("", !0),
|
|
291
|
-
i[
|
|
279
|
+
i[37] || (i[37] = e()),
|
|
292
280
|
m === "rights" && a.has(t.distribution, "rights") && t.showObject(t.distribution.rights) ? (n(), o("tr", tt, [
|
|
293
281
|
d("td", it, [
|
|
294
282
|
b(y, {
|
|
@@ -300,12 +288,12 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
300
288
|
_: 1
|
|
301
289
|
}, 8, ["title"])
|
|
302
290
|
]),
|
|
303
|
-
i[
|
|
291
|
+
i[14] || (i[14] = e()),
|
|
304
292
|
d("td", null, [
|
|
305
293
|
d("div", null, l(a.distributionRights(t.distribution)), 1)
|
|
306
294
|
])
|
|
307
295
|
])) : r("", !0),
|
|
308
|
-
i[
|
|
296
|
+
i[38] || (i[38] = e()),
|
|
309
297
|
m === "mediaType" && a.has(t.distribution, "mediaType") && !a.isNil(t.distribution.mediaType) ? (n(), o("tr", et, [
|
|
310
298
|
d("td", st, [
|
|
311
299
|
b(y, {
|
|
@@ -317,10 +305,10 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
317
305
|
_: 1
|
|
318
306
|
}, 8, ["title"])
|
|
319
307
|
]),
|
|
320
|
-
i[
|
|
308
|
+
i[15] || (i[15] = e()),
|
|
321
309
|
d("td", null, l(t.distribution.mediaType), 1)
|
|
322
310
|
])) : r("", !0),
|
|
323
|
-
i[
|
|
311
|
+
i[39] || (i[39] = e()),
|
|
324
312
|
m === "byteSize" && a.has(t.distribution, "byteSize") && !a.isNil(t.distribution.byteSize) ? (n(), o("tr", at, [
|
|
325
313
|
d("td", lt, [
|
|
326
314
|
b(y, {
|
|
@@ -332,10 +320,10 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
332
320
|
_: 1
|
|
333
321
|
}, 8, ["title"])
|
|
334
322
|
]),
|
|
335
|
-
i[
|
|
323
|
+
i[16] || (i[16] = e()),
|
|
336
324
|
d("td", null, l(t.distribution.byteSize), 1)
|
|
337
325
|
])) : r("", !0),
|
|
338
|
-
i[
|
|
326
|
+
i[40] || (i[40] = e()),
|
|
339
327
|
m === "checksum" && a.has(t.distribution, "checksum") && !a.isNil(t.distribution.checksum) && a.has(t.distribution.checksum, "algorithm") && !a.isNil(t.distribution.checksum.algorithm) && a.has(t.distribution.checksum, "checksum_value") && !a.isNil(t.distribution.checksum.checksum_value) ? (n(), o("tr", nt, [
|
|
340
328
|
d("td", ot, [
|
|
341
329
|
b(y, {
|
|
@@ -347,20 +335,20 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
347
335
|
_: 1
|
|
348
336
|
}, 8, ["title"])
|
|
349
337
|
]),
|
|
350
|
-
i[
|
|
338
|
+
i[18] || (i[18] = e()),
|
|
351
339
|
d("td", null, [
|
|
352
340
|
d("div", null, l(t.distribution.checksum.algorithm), 1),
|
|
353
|
-
i[
|
|
341
|
+
i[17] || (i[17] = e()),
|
|
354
342
|
d("div", null, l(t.distribution.checksum.checksum_value), 1)
|
|
355
343
|
])
|
|
356
344
|
])) : r("", !0),
|
|
357
|
-
i[
|
|
345
|
+
i[41] || (i[41] = e()),
|
|
358
346
|
m === "pages" && a.has(t.distribution, "pages") && t.showObjectArray(t.distribution.pages) ? (n(), o("tr", dt, [
|
|
359
347
|
d("td", rt, l(s.$t("message.metadata.pages")), 1),
|
|
360
|
-
i[
|
|
348
|
+
i[19] || (i[19] = e()),
|
|
361
349
|
d("td", null, [
|
|
362
|
-
(n(!0), o(c, null,
|
|
363
|
-
b(
|
|
350
|
+
(n(!0), o(c, null, h(t.distribution.pages, (g, k) => (n(), o("div", { key: k }, [
|
|
351
|
+
b(f, {
|
|
364
352
|
to: g.resource
|
|
365
353
|
}, {
|
|
366
354
|
default: u(() => [
|
|
@@ -371,7 +359,7 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
371
359
|
]))), 128))
|
|
372
360
|
])
|
|
373
361
|
])) : r("", !0),
|
|
374
|
-
i[
|
|
362
|
+
i[42] || (i[42] = e()),
|
|
375
363
|
m === "type" && a.has(t.distribution, "type") && t.showObject(t.distribution.type) ? (n(), o("tr", ut, [
|
|
376
364
|
d("td", bt, [
|
|
377
365
|
b(y, {
|
|
@@ -383,12 +371,12 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
383
371
|
_: 1
|
|
384
372
|
}, 8, ["title"])
|
|
385
373
|
]),
|
|
386
|
-
i[
|
|
374
|
+
i[20] || (i[20] = e()),
|
|
387
375
|
d("td", null, [
|
|
388
376
|
a.isNil(t.distribution.type.label) ? r("", !0) : (n(), o("div", mt, l(t.distribution.type.label), 1))
|
|
389
377
|
])
|
|
390
378
|
])) : r("", !0),
|
|
391
|
-
i[
|
|
379
|
+
i[43] || (i[43] = e()),
|
|
392
380
|
m === "compressFormat" && a.has(t.distribution, "compressFormat") && t.showObject(t.distribution.compressFormat) ? (n(), o("tr", gt, [
|
|
393
381
|
d("td", yt, [
|
|
394
382
|
b(y, {
|
|
@@ -400,16 +388,16 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
400
388
|
_: 1
|
|
401
389
|
}, 8, ["title"])
|
|
402
390
|
]),
|
|
403
|
-
i[
|
|
391
|
+
i[22] || (i[22] = e()),
|
|
404
392
|
d("td", null, [
|
|
405
393
|
a.isNil(t.distribution.compressFormat.label) ? r("", !0) : (n(), o("div", kt, l(t.distribution.compressFormat.label), 1)),
|
|
406
|
-
i[
|
|
394
|
+
i[21] || (i[21] = e()),
|
|
407
395
|
a.isNil(t.distribution.compressFormat.resource) ? r("", !0) : (n(), o("div", ft, l(t.distribution.compressFormat.resource), 1))
|
|
408
396
|
])
|
|
409
397
|
])) : r("", !0),
|
|
410
|
-
i[
|
|
398
|
+
i[44] || (i[44] = e()),
|
|
411
399
|
m === "packageFormat" && a.has(t.distribution, "packageFormat") && t.showObject(t.distribution.packageFormat) ? (n(), o("tr", ct, [
|
|
412
|
-
d("td",
|
|
400
|
+
d("td", ht, [
|
|
413
401
|
b(y, {
|
|
414
402
|
title: s.$t("message.tooltip.datasetDetails.distributions.packageFormat")
|
|
415
403
|
}, {
|
|
@@ -419,14 +407,14 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
419
407
|
_: 1
|
|
420
408
|
}, 8, ["title"])
|
|
421
409
|
]),
|
|
422
|
-
i[
|
|
410
|
+
i[24] || (i[24] = e()),
|
|
423
411
|
d("td", null, [
|
|
424
|
-
a.isNil(t.distribution.packageFormat.label) ? r("", !0) : (n(), o("div",
|
|
425
|
-
i[
|
|
412
|
+
a.isNil(t.distribution.packageFormat.label) ? r("", !0) : (n(), o("div", wt, l(t.distribution.packageFormat.label), 1)),
|
|
413
|
+
i[23] || (i[23] = e()),
|
|
426
414
|
a.isNil(t.distribution.packageFormat.resource) ? r("", !0) : (n(), o("div", Dt, l(t.distribution.packageFormat.resource), 1))
|
|
427
415
|
])
|
|
428
416
|
])) : r("", !0),
|
|
429
|
-
i[
|
|
417
|
+
i[45] || (i[45] = e()),
|
|
430
418
|
m === "hasPolicy" && a.has(t.distribution, "hasPolicy") && !a.isNil(t.distribution.hasPolicy) ? (n(), o("tr", vt, [
|
|
431
419
|
d("td", Ft, [
|
|
432
420
|
b(y, {
|
|
@@ -438,7 +426,7 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
438
426
|
_: 1
|
|
439
427
|
}, 8, ["title"])
|
|
440
428
|
]),
|
|
441
|
-
i[
|
|
429
|
+
i[25] || (i[25] = e()),
|
|
442
430
|
d("td", null, [
|
|
443
431
|
d("div", null, [
|
|
444
432
|
d("a", {
|
|
@@ -447,7 +435,7 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
447
435
|
])
|
|
448
436
|
])
|
|
449
437
|
])) : r("", !0),
|
|
450
|
-
i[
|
|
438
|
+
i[46] || (i[46] = e()),
|
|
451
439
|
m === "conformsTo" && a.has(t.distribution, "conformsTo") && t.showObjectArray(t.distribution.conformsTo) ? (n(), o("tr", Tt, [
|
|
452
440
|
d("td", At, [
|
|
453
441
|
b(y, {
|
|
@@ -459,16 +447,16 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
459
447
|
_: 1
|
|
460
448
|
}, 8, ["title"])
|
|
461
449
|
]),
|
|
462
|
-
i[
|
|
450
|
+
i[27] || (i[27] = e()),
|
|
463
451
|
d("td", null, [
|
|
464
|
-
(n(!0), o(c, null,
|
|
452
|
+
(n(!0), o(c, null, h(t.distribution.conformsTo, (g, k) => (n(), o("div", { key: k }, [
|
|
465
453
|
a.has(g, "label") && !a.isNil(g.label) ? (n(), o("div", Rt, l(s.$t("message.metadata.label")) + `:
|
|
466
454
|
` + l(g.label), 1)) : r("", !0),
|
|
467
|
-
i[
|
|
455
|
+
i[26] || (i[26] = e()),
|
|
468
456
|
a.has(g, "resource") && !a.isNil(g.resource) ? (n(), o("div", Lt, [
|
|
469
457
|
e(l(s.$t("message.metadata.resource")) + `:
|
|
470
458
|
`, 1),
|
|
471
|
-
b(
|
|
459
|
+
b(f, {
|
|
472
460
|
to: g.resource,
|
|
473
461
|
target: "_blank",
|
|
474
462
|
onClick: (St) => s.$emit("track-link", g.resource, "link")
|
|
@@ -482,9 +470,9 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
482
470
|
]))), 128))
|
|
483
471
|
])
|
|
484
472
|
])) : r("", !0),
|
|
485
|
-
i[
|
|
486
|
-
m === "spatialResolutionInMeters" && a.has(t.distribution, "spatialResolutionInMeters") ? (n(), o("tr",
|
|
487
|
-
d("td",
|
|
473
|
+
i[47] || (i[47] = e()),
|
|
474
|
+
m === "spatialResolutionInMeters" && a.has(t.distribution, "spatialResolutionInMeters") ? (n(), o("tr", jt, [
|
|
475
|
+
d("td", Bt, [
|
|
488
476
|
b(y, {
|
|
489
477
|
title: s.$t("message.tooltip.datasetDetails.spatialResolutionInMeters")
|
|
490
478
|
}, {
|
|
@@ -494,12 +482,12 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
494
482
|
_: 1
|
|
495
483
|
}, 8, ["title"])
|
|
496
484
|
]),
|
|
497
|
-
i[
|
|
485
|
+
i[28] || (i[28] = e()),
|
|
498
486
|
d("td", null, [
|
|
499
|
-
t.showNumber(t.distribution.spatialResolutionInMeters) ? (n(), o("div",
|
|
487
|
+
t.showNumber(t.distribution.spatialResolutionInMeters) ? (n(), o("div", Ct, l(s.$t("message.metadata.spatialResolutionInMeters.value", { number: t.distribution.spatialResolutionInMeters })), 1)) : r("", !0)
|
|
500
488
|
])
|
|
501
489
|
])) : r("", !0),
|
|
502
|
-
i[
|
|
490
|
+
i[48] || (i[48] = e()),
|
|
503
491
|
m === "temporalResolution" && a.has(t.distribution, "temporalResolution") && t.showArray(t.distribution.temporalResolution) ? (n(), o("tr", Ot, [
|
|
504
492
|
d("td", It, [
|
|
505
493
|
b(y, {
|
|
@@ -511,15 +499,15 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
511
499
|
_: 1
|
|
512
500
|
}, 8, ["title"])
|
|
513
501
|
]),
|
|
514
|
-
i[
|
|
502
|
+
i[29] || (i[29] = e()),
|
|
515
503
|
d("td", null, [
|
|
516
|
-
(n(!0), o(c, null,
|
|
504
|
+
(n(!0), o(c, null, h(t.distribution.temporalResolution, (g, k) => (n(), o("div", { key: k }, l(a.formatDatetime(g)), 1))), 128))
|
|
517
505
|
])
|
|
518
506
|
])) : r("", !0),
|
|
519
|
-
i[
|
|
520
|
-
m === "validate" ? (n(), o("tr",
|
|
521
|
-
this.$env.content.datasetDetails.distributions.showValidationButton ? (n(), o("td",
|
|
522
|
-
b(
|
|
507
|
+
i[49] || (i[49] = e()),
|
|
508
|
+
m === "validate" ? (n(), o("tr", _t, [
|
|
509
|
+
this.$env.content.datasetDetails.distributions.showValidationButton ? (n(), o("td", Ut, [
|
|
510
|
+
b(f, {
|
|
523
511
|
class: "ecl-button--secondary row pt-0 pb-0 pl-4 pr-4 mt-2 text-decoration-none",
|
|
524
512
|
to: { path: `${s.getID}/quality/`, query: Object.assign({}, { locale: s.$route.query.locale }) }
|
|
525
513
|
}, {
|
|
@@ -533,7 +521,7 @@ function Pt(s, i, t, Et, Mt, a) {
|
|
|
533
521
|
], 64))), 256))
|
|
534
522
|
]);
|
|
535
523
|
}
|
|
536
|
-
const Qt = /* @__PURE__ */
|
|
524
|
+
const Qt = /* @__PURE__ */ B(C, [["render", Pt]]);
|
|
537
525
|
export {
|
|
538
526
|
Qt as default
|
|
539
527
|
};
|