@piveau/piveau-hub-ui-modules 4.4.22 → 4.4.23
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/dist/data-provider-interface/DataProviderInterface.vue.d.ts +0 -3
- package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs +47 -47
- package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs +138 -118
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/SpatialInput.vue.d.ts +1 -4
- package/dist/data-provider-interface/components/SpatialInput.vue.mjs +95 -96
- package/dist/data-provider-interface/components/SpatialInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatapde/page-content-config.mjs +1 -1
- package/dist/data-provider-interface/config/dcatapde/page-content-config.mjs.map +1 -1
- package/dist/data-provider-interface/views/InputPage.vue.d.ts +0 -3
- package/dist/data-provider-interface/views/OverviewPage/CatalogueOverview.vue.d.ts +0 -1
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.d.ts +0 -2
- package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.d.ts +0 -1
- package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.mjs +88 -88
- package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.d.ts +0 -1
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.mjs +161 -155
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.d.ts +0 -1
- package/dist/data-provider-interface/views/OverviewPage.vue.d.ts +0 -3
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import S from "../../../../widgets/AppLink.vue.mjs";
|
|
2
|
+
import A from "../../../../filters/dateFilters.mjs";
|
|
3
3
|
import { has as b, isNil as w, isEmpty as V } from "lodash-es";
|
|
4
|
-
import
|
|
5
|
-
import { resolveComponent as c, openBlock as s, createElementBlock as i, Fragment as k, createElementVNode as r, toDisplayString as d, createTextVNode as a, createCommentVNode as
|
|
4
|
+
import O from "./URIProp.vue.mjs";
|
|
5
|
+
import { resolveComponent as c, openBlock as s, createElementBlock as i, Fragment as k, createElementVNode as r, toDisplayString as d, createTextVNode as a, createCommentVNode as u, createVNode as v, withCtx as y, createBlock as R, renderList as L } from "vue";
|
|
6
6
|
import "./SpecialProp.vue2.mjs";
|
|
7
|
-
import
|
|
7
|
+
import j from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
8
8
|
const U = {
|
|
9
9
|
props: {
|
|
10
10
|
property: String,
|
|
@@ -13,16 +13,16 @@ const U = {
|
|
|
13
13
|
dpiLocale: String
|
|
14
14
|
},
|
|
15
15
|
components: {
|
|
16
|
-
AppLink:
|
|
17
|
-
URIProp:
|
|
16
|
+
AppLink: S,
|
|
17
|
+
URIProp: O
|
|
18
18
|
},
|
|
19
19
|
methods: {
|
|
20
|
-
showDataService() {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
},
|
|
20
|
+
// showDataService() {
|
|
21
|
+
// try {
|
|
22
|
+
// return this.property === 'dcat:accessService' && Object.keys(this.data[Object.keys(this.data)[0]][0]).length > 1 && Object.keys(this.data[Object.keys(this.data)[1]][0]).length > 1;
|
|
23
|
+
// } catch (error) {
|
|
24
|
+
// }
|
|
25
|
+
// },
|
|
26
26
|
manualSwitch(l, e) {
|
|
27
27
|
if (l != null) {
|
|
28
28
|
if (l["dct:publisher"] != null)
|
|
@@ -33,7 +33,7 @@ const U = {
|
|
|
33
33
|
},
|
|
34
34
|
showMultilingualValue(l, e) {
|
|
35
35
|
if (l[e] != null) {
|
|
36
|
-
const t = b(l, e) && !w(l[e]) && !V(l[e]), f = l[e].filter((
|
|
36
|
+
const t = b(l, e) && !w(l[e]) && !V(l[e]), f = l[e].filter((g) => g["@language"] === this.dpiLocale).map((g) => g["@value"]).filter((g) => g !== void 0), h = l[e].filter((g) => g["@language"] !== this.dpiLocale).map((g) => g["@value"]).filter((g) => g !== void 0), o = f.length > 0, m = h.length > 0;
|
|
37
37
|
return t && (o || m);
|
|
38
38
|
} else
|
|
39
39
|
return "";
|
|
@@ -49,7 +49,7 @@ const U = {
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
filterDateFormatEU(l) {
|
|
52
|
-
return
|
|
52
|
+
return A.formatEU(l);
|
|
53
53
|
},
|
|
54
54
|
convertTemporalResolution(l) {
|
|
55
55
|
const e = {
|
|
@@ -79,138 +79,138 @@ const U = {
|
|
|
79
79
|
}, dt = { class: "font-weight-bold" }, lt = { key: 0 }, st = { key: 1 }, it = { key: 2 }, nt = { key: 4 }, ut = { class: "font-weight-bold" }, ot = { class: "d-flex flex-column" }, rt = { key: 0 }, ft = { key: 1 }, mt = {
|
|
80
80
|
key: 5,
|
|
81
81
|
class: "d-flex"
|
|
82
|
-
},
|
|
82
|
+
}, vt = { class: "font-weight-bold" }, gt = { class: "" }, yt = { key: 0 }, ht = { key: 1 }, bt = { key: 2 }, kt = {
|
|
83
83
|
key: 6,
|
|
84
84
|
class: "w-100 d-flex"
|
|
85
|
-
}, wt = { class: "font-weight-bold" }, Vt = { key: 0 }, ct = { key: 1 }, Lt = { key: 2 }, _t = { key: 3 },
|
|
85
|
+
}, wt = { class: "font-weight-bold" }, Vt = { key: 0 }, ct = { key: 1 }, Lt = { key: 2 }, _t = { key: 3 }, St = {
|
|
86
86
|
key: 7,
|
|
87
87
|
class: "w-100 d-flex"
|
|
88
|
-
},
|
|
88
|
+
}, At = { class: "font-weight-bold" }, Ot = { key: 0 }, Rt = { key: 8 }, jt = { class: "flex-column font-weight-bold" }, Ut = { key: 9 }, Et = { class: "font-weight-bold" }, Mt = { class: "" }, Dt = { key: 0 }, Nt = { class: "" }, Tt = { key: 0 }, Ht = { key: 1 }, Pt = { class: "" }, Yt = { key: 0 }, Bt = {
|
|
89
89
|
key: 2,
|
|
90
90
|
class: "pr-1"
|
|
91
|
-
},
|
|
92
|
-
function
|
|
93
|
-
const m = c("app-link"),
|
|
91
|
+
}, Ft = { class: "" }, Ct = { key: 10 }, It = { class: "font-weight-bold" }, zt = { key: 11 }, qt = { class: "font-weight-bold" }, Gt = { key: 0 }, Jt = { class: "" }, Kt = { key: 1 }, Qt = { class: "" }, Wt = { key: 2 }, Xt = { class: "" }, Zt = { key: 12 }, xt = { key: 13 }, $t = { class: "font-weight-bold" }, pt = { key: 0 }, te = { class: "" }, ee = { key: 1 }, ae = { class: "" }, de = { key: 2 }, le = { class: "" }, se = { key: 14 };
|
|
92
|
+
function ie(l, e, t, f, h, o) {
|
|
93
|
+
const m = c("app-link"), g = c("URIProp");
|
|
94
94
|
return s(), i(k, null, [
|
|
95
95
|
t.property === "dct:creator" ? (s(), i("tr", E, [
|
|
96
96
|
r("td", M, d(l.$t(`${t.value.label}`)) + ":", 1),
|
|
97
97
|
e[3] || (e[3] = a()),
|
|
98
98
|
r("td", null, [
|
|
99
|
-
o.showValue(t.data, "rdf:type") ? (s(), i("div", D, d(l.$t("message.metadata.type")) + ": " + d(t.data["rdf:type"].split(":")[1]), 1)) :
|
|
99
|
+
o.showValue(t.data, "rdf:type") ? (s(), i("div", D, d(l.$t("message.metadata.type")) + ": " + d(t.data["rdf:type"].split(":")[1]), 1)) : u("", !0),
|
|
100
100
|
e[0] || (e[0] = a()),
|
|
101
|
-
o.showValue(t.data, "foaf:name") ? (s(), i("div", N, d(l.$t("message.metadata.name")) + ": " + d(t.data["foaf:name"]), 1)) :
|
|
101
|
+
o.showValue(t.data, "foaf:name") ? (s(), i("div", N, d(l.$t("message.metadata.name")) + ": " + d(t.data["foaf:name"]), 1)) : u("", !0),
|
|
102
102
|
e[1] || (e[1] = a()),
|
|
103
103
|
o.showValue(t.data, "foaf:mbox") ? (s(), i("div", T, [
|
|
104
104
|
a(d(l.$t("message.metadata.email")) + ": ", 1),
|
|
105
|
-
|
|
105
|
+
v(m, {
|
|
106
106
|
to: `mailto:${t.data["foaf:mbox"]}`
|
|
107
107
|
}, {
|
|
108
|
-
default:
|
|
108
|
+
default: y(() => [
|
|
109
109
|
a(d(t.data["foaf:mbox"]), 1)
|
|
110
110
|
]),
|
|
111
111
|
_: 1
|
|
112
112
|
}, 8, ["to"])
|
|
113
|
-
])) :
|
|
113
|
+
])) : u("", !0),
|
|
114
114
|
e[2] || (e[2] = a()),
|
|
115
115
|
o.showValue(t.data, "foaf:homepage") ? (s(), i("div", H, [
|
|
116
116
|
a(d(l.$t("message.metadata.homepage")) + ": ", 1),
|
|
117
|
-
|
|
117
|
+
v(m, {
|
|
118
118
|
to: t.data["foaf:homepage"]
|
|
119
119
|
}, {
|
|
120
|
-
default:
|
|
120
|
+
default: y(() => [
|
|
121
121
|
a(d(t.data["foaf:homepage"]), 1)
|
|
122
122
|
]),
|
|
123
123
|
_: 1
|
|
124
124
|
}, 8, ["to"])
|
|
125
|
-
])) :
|
|
125
|
+
])) : u("", !0)
|
|
126
126
|
])
|
|
127
|
-
])) :
|
|
127
|
+
])) : u("", !0),
|
|
128
128
|
e[52] || (e[52] = a()),
|
|
129
129
|
t.property === "dcat:contactPoint" && o.showValue(t.data, "rdf:type") ? (s(), i("tr", P, [
|
|
130
130
|
r("td", Y, d(l.$t(`${t.value.label}`)) + ":", 1),
|
|
131
131
|
e[13] || (e[13] = a()),
|
|
132
132
|
r("td", B, [
|
|
133
|
-
o.showValue(t.data, "rdf:type") ? (s(), i("div", F, d(l.$t("message.metadata.type")) + ": " + d(t.data["rdf:type"].split(":")[1]), 1)) :
|
|
133
|
+
o.showValue(t.data, "rdf:type") ? (s(), i("div", F, d(l.$t("message.metadata.type")) + ": " + d(t.data["rdf:type"].split(":")[1]), 1)) : u("", !0),
|
|
134
134
|
e[7] || (e[7] = a()),
|
|
135
|
-
o.showValue(t.data, "vcard:fn") ? (s(), i("div", C, d(l.$t("message.metadata.name")) + ": " + d(t.data["vcard:fn"]), 1)) :
|
|
135
|
+
o.showValue(t.data, "vcard:fn") ? (s(), i("div", C, d(l.$t("message.metadata.name")) + ": " + d(t.data["vcard:fn"]), 1)) : u("", !0),
|
|
136
136
|
e[8] || (e[8] = a()),
|
|
137
137
|
o.showValue(t.data, "vcard:hasEmail") ? (s(), i("div", I, [
|
|
138
138
|
a(d(l.$t("message.metadata.email")) + ": ", 1),
|
|
139
|
-
|
|
139
|
+
v(m, {
|
|
140
140
|
to: `mailto:${t.data["vcard:hasEmail"]}`
|
|
141
141
|
}, {
|
|
142
|
-
default:
|
|
142
|
+
default: y(() => [
|
|
143
143
|
a(d(t.data["vcard:hasEmail"]), 1)
|
|
144
144
|
]),
|
|
145
145
|
_: 1
|
|
146
146
|
}, 8, ["to"])
|
|
147
|
-
])) :
|
|
147
|
+
])) : u("", !0),
|
|
148
148
|
e[9] || (e[9] = a()),
|
|
149
|
-
o.showValue(t.data, "vcard:hasOrganizationName") ? (s(), i("div", z, d(t.data["vcard:hasOrganizationName"]), 1)) :
|
|
149
|
+
o.showValue(t.data, "vcard:hasOrganizationName") ? (s(), i("div", z, d(t.data["vcard:hasOrganizationName"]), 1)) : u("", !0),
|
|
150
150
|
e[10] || (e[10] = a()),
|
|
151
|
-
o.showValue(t.data, "vcard:hasTelephone") ? (s(), i("div", q, d(l.$t("message.metadata.telephone")) + ": " + d(t.data["vcard:hasTelephone"]), 1)) :
|
|
151
|
+
o.showValue(t.data, "vcard:hasTelephone") ? (s(), i("div", q, d(l.$t("message.metadata.telephone")) + ": " + d(t.data["vcard:hasTelephone"]), 1)) : u("", !0),
|
|
152
152
|
e[11] || (e[11] = a()),
|
|
153
153
|
o.showValue(t.data, "vcard:hasURL") ? (s(), i("div", G, [
|
|
154
154
|
a(d(l.$t("message.metadata.url")) + ": ", 1),
|
|
155
|
-
|
|
155
|
+
v(m, {
|
|
156
156
|
to: t.data["vcard:hasURL"]
|
|
157
157
|
}, {
|
|
158
|
-
default:
|
|
158
|
+
default: y(() => [
|
|
159
159
|
a(d(t.data["vcard:hasURL"]), 1)
|
|
160
160
|
]),
|
|
161
161
|
_: 1
|
|
162
162
|
}, 8, ["to"])
|
|
163
|
-
])) :
|
|
163
|
+
])) : u("", !0),
|
|
164
164
|
e[12] || (e[12] = a()),
|
|
165
165
|
o.showValue(t.data, "vcard:hasAddress") ? (s(), i("div", J, [
|
|
166
166
|
a(d(l.$t("message.metadata.address")) + `:
|
|
167
167
|
`, 1),
|
|
168
|
-
o.showValue(t.data["vcard:hasAddress"], "vcard:street_address") ? (s(), i("span", K, d(t.data["vcard:hasAddress"]["vcard:street_address"]), 1)) :
|
|
168
|
+
o.showValue(t.data["vcard:hasAddress"], "vcard:street_address") ? (s(), i("span", K, d(t.data["vcard:hasAddress"]["vcard:street_address"]), 1)) : u("", !0),
|
|
169
169
|
e[4] || (e[4] = a(`,
|
|
170
170
|
`)),
|
|
171
|
-
o.showValue(t.data["vcard:hasAddress"], "vcard:postal_code") ? (s(), i("span", Q, d(t.data["vcard:hasAddress"]["vcard:postal_code"]), 1)) :
|
|
171
|
+
o.showValue(t.data["vcard:hasAddress"], "vcard:postal_code") ? (s(), i("span", Q, d(t.data["vcard:hasAddress"]["vcard:postal_code"]), 1)) : u("", !0),
|
|
172
172
|
e[5] || (e[5] = a()),
|
|
173
|
-
o.showValue(t.data["vcard:hasAddress"], "vcard:locality") ? (s(), i("span", W, d(t.data["vcard:hasAddress"]["vcard:locality"]), 1)) :
|
|
173
|
+
o.showValue(t.data["vcard:hasAddress"], "vcard:locality") ? (s(), i("span", W, d(t.data["vcard:hasAddress"]["vcard:locality"]), 1)) : u("", !0),
|
|
174
174
|
e[6] || (e[6] = a(`,
|
|
175
175
|
`)),
|
|
176
|
-
o.showValue(t.data["vcard:hasAddress"], "vcard:country_name") ? (s(), i("span", X, d(t.data["vcard:hasAddress"]["vcard:country_name"]), 1)) :
|
|
177
|
-
])) :
|
|
176
|
+
o.showValue(t.data["vcard:hasAddress"], "vcard:country_name") ? (s(), i("span", X, d(t.data["vcard:hasAddress"]["vcard:country_name"]), 1)) : u("", !0)
|
|
177
|
+
])) : u("", !0)
|
|
178
178
|
])
|
|
179
|
-
])) :
|
|
179
|
+
])) : u("", !0),
|
|
180
180
|
e[53] || (e[53] = a()),
|
|
181
181
|
t.property === "dct:contributor" || t.property === "dcatde:maintainer" || t.property === "dcatde:originator" ? (s(), i("tr", Z, [
|
|
182
182
|
r("td", x, d(l.$t(`${t.value.label}`)) + ":", 1),
|
|
183
183
|
e[17] || (e[17] = a()),
|
|
184
184
|
r("td", null, [
|
|
185
|
-
o.showValue(t.data, "rdf:type") ? (s(), i("div", $, d(l.$t("message.metadata.type")) + ": " + d(t.data["rdf:type"].split(":")[1]), 1)) :
|
|
185
|
+
o.showValue(t.data, "rdf:type") ? (s(), i("div", $, d(l.$t("message.metadata.type")) + ": " + d(t.data["rdf:type"].split(":")[1]), 1)) : u("", !0),
|
|
186
186
|
e[14] || (e[14] = a()),
|
|
187
|
-
o.showValue(t.data, "foaf:name") ? (s(), i("div", p, d(l.$t("message.metadata.name")) + ": " + d(t.data["foaf:name"]), 1)) :
|
|
187
|
+
o.showValue(t.data, "foaf:name") ? (s(), i("div", p, d(l.$t("message.metadata.name")) + ": " + d(t.data["foaf:name"]), 1)) : u("", !0),
|
|
188
188
|
e[15] || (e[15] = a()),
|
|
189
189
|
o.showValue(t.data, "foaf:mbox") ? (s(), i("div", tt, [
|
|
190
190
|
a(d(l.$t("message.metadata.email")) + ": ", 1),
|
|
191
|
-
|
|
191
|
+
v(m, {
|
|
192
192
|
to: `mailto:${t.data["foaf:mbox"]}`
|
|
193
193
|
}, {
|
|
194
|
-
default:
|
|
194
|
+
default: y(() => [
|
|
195
195
|
a(d(t.data["foaf:mbox"]), 1)
|
|
196
196
|
]),
|
|
197
197
|
_: 1
|
|
198
198
|
}, 8, ["to"])
|
|
199
|
-
])) :
|
|
199
|
+
])) : u("", !0),
|
|
200
200
|
e[16] || (e[16] = a()),
|
|
201
201
|
o.showValue(t.data, "foaf:homepage") ? (s(), i("div", et, [
|
|
202
202
|
a(d(l.$t("message.metadata.homepage")) + ": ", 1),
|
|
203
|
-
|
|
203
|
+
v(m, {
|
|
204
204
|
to: t.data["foaf:homepage"]
|
|
205
205
|
}, {
|
|
206
|
-
default:
|
|
206
|
+
default: y(() => [
|
|
207
207
|
a(d(t.data["foaf:homepage"]), 1)
|
|
208
208
|
]),
|
|
209
209
|
_: 1
|
|
210
210
|
}, 8, ["to"])
|
|
211
|
-
])) :
|
|
211
|
+
])) : u("", !0)
|
|
212
212
|
])
|
|
213
|
-
])) :
|
|
213
|
+
])) : u("", !0),
|
|
214
214
|
e[54] || (e[54] = a()),
|
|
215
215
|
t.property === "adms:identifier" && o.checkadms("adms:identifier") ? (s(), i("div", at, [
|
|
216
216
|
r("td", dt, d(l.$t(`${t.value.label}`)) + ":", 1),
|
|
@@ -219,21 +219,21 @@ function le(l, e, t, f, h, o) {
|
|
|
219
219
|
o.showValue(t.data, "@id") && t.property === "adms:identifier" ? (s(), i("div", lt, [
|
|
220
220
|
a(d(l.$t("message.metadata.url")) + `:
|
|
221
221
|
`, 1),
|
|
222
|
-
|
|
222
|
+
v(m, {
|
|
223
223
|
to: t.data["@id"]
|
|
224
224
|
}, {
|
|
225
|
-
default:
|
|
225
|
+
default: y(() => [
|
|
226
226
|
a(d(t.data["@id"]), 1)
|
|
227
227
|
]),
|
|
228
228
|
_: 1
|
|
229
229
|
}, 8, ["to"])
|
|
230
|
-
])) :
|
|
230
|
+
])) : u("", !0),
|
|
231
231
|
e[18] || (e[18] = a()),
|
|
232
|
-
o.showValue(t.data, "skos:notation") && o.showValue(t.data["skos:notation"][0], "@value") ? (s(), i("div", st, d(l.$t("message.metadata.identifier")) + ": " + d(t.data["skos:notation"][0]["@value"]), 1)) :
|
|
232
|
+
o.showValue(t.data, "skos:notation") && o.showValue(t.data["skos:notation"][0], "@value") ? (s(), i("div", st, d(l.$t("message.metadata.identifier")) + ": " + d(t.data["skos:notation"][0]["@value"]), 1)) : u("", !0),
|
|
233
233
|
e[19] || (e[19] = a()),
|
|
234
|
-
o.showValue(t.data, "skos:notation") && o.showValue(t.data["skos:notation"][0], "@type") ? (s(), i("div", it, d(l.$t("message.metadata.type")) + ": " + d(t.data["skos:notation"][0]["@type"]), 1)) :
|
|
234
|
+
o.showValue(t.data, "skos:notation") && o.showValue(t.data["skos:notation"][0], "@type") ? (s(), i("div", it, d(l.$t("message.metadata.type")) + ": " + d(t.data["skos:notation"][0]["@type"]), 1)) : u("", !0)
|
|
235
235
|
])
|
|
236
|
-
])) :
|
|
236
|
+
])) : u("", !0),
|
|
237
237
|
e[55] || (e[55] = a()),
|
|
238
238
|
t.property === "dct:temporal" && o.showValue(t.data, "dcat:startDate") ? (s(), i("tr", nt, [
|
|
239
239
|
r("td", ut, d(l.$t(`${t.value.label}`)) + ":", 1),
|
|
@@ -243,216 +243,222 @@ function le(l, e, t, f, h, o) {
|
|
|
243
243
|
e[21] || (e[21] = r("b", null, "From:", -1)),
|
|
244
244
|
a(" " + d(new Date(t.data["dcat:startDate"])) + `
|
|
245
245
|
`, 1)
|
|
246
|
-
])) :
|
|
246
|
+
])) : u("", !0),
|
|
247
247
|
e[23] || (e[23] = a()),
|
|
248
248
|
o.showValue(t.data, "dcat:endDate") ? (s(), i("div", ft, [
|
|
249
249
|
e[22] || (e[22] = r("b", null, "to:", -1)),
|
|
250
250
|
a(" " + d(new Date(t.data["dcat:endDate"])), 1)
|
|
251
|
-
])) :
|
|
251
|
+
])) : u("", !0)
|
|
252
252
|
])
|
|
253
|
-
])) :
|
|
253
|
+
])) : u("", !0),
|
|
254
254
|
e[56] || (e[56] = a()),
|
|
255
255
|
t.property === "spdx:checksum" && Object.keys(t.data).length > 0 ? (s(), i("div", mt, [
|
|
256
|
-
r("td",
|
|
256
|
+
r("td", vt, d(l.$t(`${t.value.label}`)) + ":", 1),
|
|
257
257
|
e[27] || (e[27] = a()),
|
|
258
|
-
r("td",
|
|
259
|
-
typeof t.data == "string" ? (s(), i("div",
|
|
258
|
+
r("td", gt, [
|
|
259
|
+
typeof t.data == "string" ? (s(), i("div", yt, d(t.data), 1)) : u("", !0),
|
|
260
260
|
e[25] || (e[25] = a()),
|
|
261
|
-
typeof t.data == "object" ? (s(), i("div", ht, d(t.data["spdx:checksumValue"]), 1)) :
|
|
261
|
+
typeof t.data == "object" ? (s(), i("div", ht, d(t.data["spdx:checksumValue"]), 1)) : u("", !0),
|
|
262
262
|
e[26] || (e[26] = a()),
|
|
263
|
-
typeof t.data == "object" ? (s(), i("div", bt, d(t.data["spdx:algorithm"].name), 1)) :
|
|
263
|
+
typeof t.data == "object" ? (s(), i("div", bt, d(t.data["spdx:algorithm"].name), 1)) : u("", !0)
|
|
264
264
|
])
|
|
265
|
-
])) :
|
|
265
|
+
])) : u("", !0),
|
|
266
266
|
e[57] || (e[57] = a()),
|
|
267
267
|
t.property === "foaf:page" ? (s(), i("div", kt, [
|
|
268
268
|
r("td", wt, d(l.$t(`${t.value.label}`)) + ":", 1),
|
|
269
269
|
e[31] || (e[31] = a()),
|
|
270
270
|
r("td", null, [
|
|
271
|
-
o.showMultilingualValue(t.data, "dct:title") ? (s(), i("div", Vt, d(l.$t("message.metadata.title")) + ": " + d(t.data["dct:title"].filter((
|
|
271
|
+
o.showMultilingualValue(t.data, "dct:title") ? (s(), i("div", Vt, d(l.$t("message.metadata.title")) + ": " + d(t.data["dct:title"].filter((n) => n["@language"]).length === 0 ? t.data["dct:title"].map((n) => n["@value"])[0] : t.data["dct:title"].filter((n) => n["@language"] === t.dpiLocale).map((n) => n["@value"])[0] || l.$t("message.dataupload.datasets.distribution.overview.notitleinthislanguage")), 1)) : u("", !0),
|
|
272
272
|
e[28] || (e[28] = a()),
|
|
273
|
-
o.showMultilingualValue(t.data, "dct:description") ? (s(), i("div", ct, d(l.$t("message.metadata.description")) + ": " + d(t.data["dct:description"].filter((
|
|
273
|
+
o.showMultilingualValue(t.data, "dct:description") ? (s(), i("div", ct, d(l.$t("message.metadata.description")) + ": " + d(t.data["dct:description"].filter((n) => n["@language"]).length === 0 ? t.data["dct:description"].map((n) => n["@value"])[0] : t.data["dct:description"].filter((n) => n["@language"] === t.dpiLocale).map((n) => n["@value"])[0] || l.$t("message.catalogsAndDatasets.noDescriptionAvailable")), 1)) : u("", !0),
|
|
274
274
|
e[29] || (e[29] = a()),
|
|
275
|
-
o.showValue(t.data, "dct:format") ? (s(), i("div", Lt, d(l.$t("message.metadata.format")) + ": " + d(t.data["dct:format"].name), 1)) :
|
|
275
|
+
o.showValue(t.data, "dct:format") ? (s(), i("div", Lt, d(l.$t("message.metadata.format")) + ": " + d(t.data["dct:format"].name), 1)) : u("", !0),
|
|
276
276
|
e[30] || (e[30] = a()),
|
|
277
277
|
o.showValue(t.data, "@id") ? (s(), i("div", _t, [
|
|
278
278
|
a(d(l.$t("message.metadata.url")) + ": ", 1),
|
|
279
|
-
|
|
279
|
+
v(m, {
|
|
280
280
|
to: t.data["@id"]
|
|
281
281
|
}, {
|
|
282
|
-
default:
|
|
282
|
+
default: y(() => [
|
|
283
283
|
a(d(t.data["@id"]), 1)
|
|
284
284
|
]),
|
|
285
285
|
_: 1
|
|
286
286
|
}, 8, ["to"])
|
|
287
|
-
])) :
|
|
287
|
+
])) : u("", !0)
|
|
288
288
|
])
|
|
289
|
-
])) :
|
|
289
|
+
])) : u("", !0),
|
|
290
290
|
e[58] || (e[58] = a()),
|
|
291
|
-
t.property === "dct:conformsTo" && o.showValue(t.data, "rdfs:label") ? (s(), i("div",
|
|
292
|
-
r("td",
|
|
291
|
+
t.property === "dct:conformsTo" && o.showValue(t.data, "rdfs:label") ? (s(), i("div", St, [
|
|
292
|
+
r("td", At, d(l.$t(`${t.value.label}`)) + ":", 1),
|
|
293
293
|
e[33] || (e[33] = a()),
|
|
294
294
|
r("td", null, [
|
|
295
|
-
o.showValue(t.data, "rdfs:label") ? (s(), i("div",
|
|
295
|
+
o.showValue(t.data, "rdfs:label") ? (s(), i("div", Ot, d(t.data["rdfs:label"]), 1)) : u("", !0),
|
|
296
296
|
e[32] || (e[32] = a()),
|
|
297
|
-
o.showValue(t.data, "@id") ? (s(),
|
|
297
|
+
o.showValue(t.data, "@id") ? (s(), R(m, {
|
|
298
298
|
key: 1,
|
|
299
299
|
to: t.data["@id"]
|
|
300
300
|
}, {
|
|
301
|
-
default:
|
|
301
|
+
default: y(() => [
|
|
302
302
|
a(d(t.data["@id"]), 1)
|
|
303
303
|
]),
|
|
304
304
|
_: 1
|
|
305
|
-
}, 8, ["to"])) :
|
|
305
|
+
}, 8, ["to"])) : u("", !0)
|
|
306
306
|
])
|
|
307
|
-
])) :
|
|
307
|
+
])) : u("", !0),
|
|
308
308
|
e[59] || (e[59] = a()),
|
|
309
|
-
t.property === "dcat:temporalResolution" ? (s(), i("tr",
|
|
310
|
-
r("td",
|
|
309
|
+
t.property === "dcat:temporalResolution" ? (s(), i("tr", Rt, [
|
|
310
|
+
r("td", jt, d(l.$t(`${t.value.label}`)) + ":", 1),
|
|
311
311
|
e[34] || (e[34] = a()),
|
|
312
312
|
r("td", null, [
|
|
313
313
|
r("div", null, d(o.convertTemporalResolution(t.data)), 1)
|
|
314
314
|
])
|
|
315
|
-
])) :
|
|
315
|
+
])) : u("", !0),
|
|
316
316
|
e[60] || (e[60] = a()),
|
|
317
|
-
|
|
317
|
+
t.data["rdf:type"] === "dcat:DataService" ? (s(), i("tr", Ut, [
|
|
318
318
|
r("td", Et, d(l.$t(`${t.value.label}`)) + ":", 1),
|
|
319
319
|
e[38] || (e[38] = a()),
|
|
320
320
|
r("td", Mt, [
|
|
321
321
|
o.showValue(t.data, "dct:title") ? (s(), i("div", Dt, [
|
|
322
322
|
r("span", Nt, d(l.$t("message.dataupload.distributions.accessServiceTitle.label")) + ":", 1),
|
|
323
|
-
a(" " + d(t.data["dct:title"].filter((
|
|
324
|
-
|
|
323
|
+
a(" " + d(t.data["dct:title"].filter((n) => n["@language"] === t.dpiLocale).map((n) => n["@value"])[0]) + " ", 1),
|
|
324
|
+
t.data["dct:title"].filter((n) => n["@language"] === t.dpiLocale).map((n) => n["@value"])[0] === void 0 ? (s(), i("span", Tt, [
|
|
325
|
+
r("b", null, d(l.$t("message.dataupload.datasets.distribution.overview.notitleinthislanguage")), 1)
|
|
326
|
+
])) : u("", !0)
|
|
327
|
+
])) : u("", !0),
|
|
325
328
|
e[36] || (e[36] = a()),
|
|
326
|
-
o.showValue(t.data, "dct:description") ? (s(), i("div",
|
|
327
|
-
r("span",
|
|
328
|
-
a(" " + d(t.data["dct:description"].filter((
|
|
329
|
-
|
|
329
|
+
o.showValue(t.data, "dct:description") ? (s(), i("div", Ht, [
|
|
330
|
+
r("span", Pt, d(l.$t("message.dataupload.distributions.accessServiceDescription.label")) + ":", 1),
|
|
331
|
+
a(" " + d(t.data["dct:description"].filter((n) => n["@language"] === t.dpiLocale).map((n) => n["@value"])[0]) + " ", 1),
|
|
332
|
+
t.data["dct:description"].filter((n) => n["@language"] === t.dpiLocale).map((n) => n["@value"])[0] === void 0 ? (s(), i("span", Yt, [
|
|
333
|
+
r("b", null, d(l.$t("message.dataupload.datasets.distribution.overview.nodescriptioninthislanguage")), 1)
|
|
334
|
+
])) : u("", !0)
|
|
335
|
+
])) : u("", !0),
|
|
330
336
|
e[37] || (e[37] = a()),
|
|
331
|
-
o.showValue(t.data, "dcat:endpointURL") ? (s(), i("div",
|
|
332
|
-
r("span",
|
|
337
|
+
o.showValue(t.data, "dcat:endpointURL") ? (s(), i("div", Bt, [
|
|
338
|
+
r("span", Ft, d(l.$t("message.dataupload.distributions.accessServiceEndpointURL.label")) + ":", 1),
|
|
333
339
|
e[35] || (e[35] = a()),
|
|
334
|
-
|
|
340
|
+
v(m, {
|
|
335
341
|
class: "w-100",
|
|
336
342
|
to: t.data["dcat:endpointURL"]
|
|
337
343
|
}, {
|
|
338
|
-
default:
|
|
344
|
+
default: y(() => [
|
|
339
345
|
a(d(t.data["dcat:endpointURL"]), 1)
|
|
340
346
|
]),
|
|
341
347
|
_: 1
|
|
342
348
|
}, 8, ["to"])
|
|
343
|
-
])) :
|
|
349
|
+
])) : u("", !0)
|
|
344
350
|
])
|
|
345
|
-
])) :
|
|
351
|
+
])) : u("", !0),
|
|
346
352
|
e[61] || (e[61] = a()),
|
|
347
|
-
t.value.isHeader && o.manualSwitch(t.data, t.value.isHeader) === "man" ? (s(), i("tr",
|
|
348
|
-
r("td",
|
|
353
|
+
t.value.isHeader && o.manualSwitch(t.data, t.value.isHeader) === "man" ? (s(), i("tr", Ct, [
|
|
354
|
+
r("td", It, d(l.$t(`${t.value.label}`)) + ":", 1),
|
|
349
355
|
e[39] || (e[39] = a()),
|
|
350
356
|
r("td", null, d(t.data["dct:publisher"]["foaf:name"]), 1)
|
|
351
|
-
])) :
|
|
357
|
+
])) : u("", !0),
|
|
352
358
|
e[62] || (e[62] = a()),
|
|
353
|
-
o.manualSwitch(t.data, t.value.isHeader) === "man" && !t.value.isHeader ? (s(), i("tr",
|
|
354
|
-
r("td",
|
|
359
|
+
o.manualSwitch(t.data, t.value.isHeader) === "man" && !t.value.isHeader ? (s(), i("tr", zt, [
|
|
360
|
+
r("td", qt, d(l.$t(`${t.value.label}`)) + ":", 1),
|
|
355
361
|
e[45] || (e[45] = a()),
|
|
356
362
|
r("td", null, [
|
|
357
|
-
(s(!0), i(k, null, L(Object.keys(t.data["dct:publisher"]), (
|
|
358
|
-
t.data["dct:publisher"][
|
|
359
|
-
r("span",
|
|
363
|
+
(s(!0), i(k, null, L(Object.keys(t.data["dct:publisher"]), (n, _) => (s(), i("div", null, [
|
|
364
|
+
t.data["dct:publisher"][n] != null && t.data["dct:publisher"][n] != "" && n === "foaf:name" ? (s(), i("div", Gt, [
|
|
365
|
+
r("span", Jt, d(l.$t("message.dataupload.datasets.publisherName.label")) + ":", 1),
|
|
360
366
|
e[40] || (e[40] = a()),
|
|
361
|
-
r("span", null, d(t.data["dct:publisher"][
|
|
362
|
-
])) :
|
|
367
|
+
r("span", null, d(t.data["dct:publisher"][n]), 1)
|
|
368
|
+
])) : u("", !0),
|
|
363
369
|
e[43] || (e[43] = a()),
|
|
364
|
-
t.data["dct:publisher"][
|
|
365
|
-
r("span",
|
|
370
|
+
t.data["dct:publisher"][n] != null && t.data["dct:publisher"][n] != "" && n === "foaf:mbox" ? (s(), i("div", Kt, [
|
|
371
|
+
r("span", Qt, d(l.$t("message.dataupload.datasets.publisherEmail.label")) + ":", 1),
|
|
366
372
|
e[41] || (e[41] = a()),
|
|
367
|
-
|
|
373
|
+
v(m, {
|
|
368
374
|
class: "w-100",
|
|
369
|
-
to:
|
|
375
|
+
to: n
|
|
370
376
|
}, {
|
|
371
|
-
default:
|
|
372
|
-
a(d(t.data["dct:publisher"][
|
|
377
|
+
default: y(() => [
|
|
378
|
+
a(d(t.data["dct:publisher"][n]), 1)
|
|
373
379
|
]),
|
|
374
380
|
_: 2
|
|
375
381
|
}, 1032, ["to"])
|
|
376
|
-
])) :
|
|
382
|
+
])) : u("", !0),
|
|
377
383
|
e[44] || (e[44] = a()),
|
|
378
|
-
t.data["dct:publisher"][
|
|
379
|
-
r("span",
|
|
384
|
+
t.data["dct:publisher"][n] != null && t.data["dct:publisher"][n] != "" && n === "foaf:homepage" ? (s(), i("div", Wt, [
|
|
385
|
+
r("span", Xt, d(l.$t("message.dataupload.datasets.publisherHomepage.label")) + ":", 1),
|
|
380
386
|
e[42] || (e[42] = a()),
|
|
381
|
-
|
|
387
|
+
v(m, {
|
|
382
388
|
class: "w-100",
|
|
383
|
-
to:
|
|
389
|
+
to: n
|
|
384
390
|
}, {
|
|
385
|
-
default:
|
|
386
|
-
a(d(t.data["dct:publisher"][
|
|
391
|
+
default: y(() => [
|
|
392
|
+
a(d(t.data["dct:publisher"][n]), 1)
|
|
387
393
|
]),
|
|
388
394
|
_: 2
|
|
389
395
|
}, 1032, ["to"])
|
|
390
|
-
])) :
|
|
396
|
+
])) : u("", !0)
|
|
391
397
|
]))), 256))
|
|
392
398
|
])
|
|
393
|
-
])) :
|
|
399
|
+
])) : u("", !0),
|
|
394
400
|
e[63] || (e[63] = a()),
|
|
395
|
-
o.manualSwitch(t.data) === "auto" ? (s(), i("tr",
|
|
396
|
-
|
|
401
|
+
o.manualSwitch(t.data) === "auto" ? (s(), i("tr", Zt, [
|
|
402
|
+
v(g, {
|
|
397
403
|
property: t.property,
|
|
398
404
|
value: t.value,
|
|
399
405
|
data: t.data
|
|
400
406
|
}, null, 8, ["property", "value", "data"])
|
|
401
|
-
])) :
|
|
407
|
+
])) : u("", !0),
|
|
402
408
|
e[64] || (e[64] = a()),
|
|
403
|
-
o.manualSwitch(t.data) === "liMan" ? (s(), i("tr",
|
|
404
|
-
r("td",
|
|
409
|
+
o.manualSwitch(t.data) === "liMan" ? (s(), i("tr", xt, [
|
|
410
|
+
r("td", $t, d(l.$t(`${t.value.label}`)) + ":", 1),
|
|
405
411
|
e[51] || (e[51] = a()),
|
|
406
412
|
r("td", null, [
|
|
407
|
-
(s(!0), i(k, null, L(Object.keys(t.data["dct:license"]), (
|
|
408
|
-
t.data["dct:license"][
|
|
409
|
-
r("span",
|
|
413
|
+
(s(!0), i(k, null, L(Object.keys(t.data["dct:license"]), (n, _) => (s(), i("div", null, [
|
|
414
|
+
t.data["dct:license"][n] != null && t.data["dct:license"][n] != "" && n === "dct:title" ? (s(), i("div", pt, [
|
|
415
|
+
r("span", te, d(l.$t("message.dataupload.distributions.licenceTitle.label")) + ":", 1),
|
|
410
416
|
e[46] || (e[46] = a()),
|
|
411
|
-
r("span", null, d(t.data["dct:license"][
|
|
412
|
-
])) :
|
|
417
|
+
r("span", null, d(t.data["dct:license"][n]), 1)
|
|
418
|
+
])) : u("", !0),
|
|
413
419
|
e[49] || (e[49] = a()),
|
|
414
|
-
t.data["dct:license"][
|
|
415
|
-
r("span",
|
|
420
|
+
t.data["dct:license"][n] != null && t.data["dct:license"][n] != "" && n === "skos:prefLabel" ? (s(), i("div", ee, [
|
|
421
|
+
r("span", ae, d(l.$t("message.dataupload.distributions.licenceDescription.label")) + ":", 1),
|
|
416
422
|
e[47] || (e[47] = a()),
|
|
417
|
-
|
|
423
|
+
v(m, {
|
|
418
424
|
class: "w-100",
|
|
419
|
-
to:
|
|
425
|
+
to: n
|
|
420
426
|
}, {
|
|
421
|
-
default:
|
|
422
|
-
a(d(t.data["dct:license"][
|
|
427
|
+
default: y(() => [
|
|
428
|
+
a(d(t.data["dct:license"][n]), 1)
|
|
423
429
|
]),
|
|
424
430
|
_: 2
|
|
425
431
|
}, 1032, ["to"])
|
|
426
|
-
])) :
|
|
432
|
+
])) : u("", !0),
|
|
427
433
|
e[50] || (e[50] = a()),
|
|
428
|
-
t.data["dct:license"][
|
|
429
|
-
r("span",
|
|
434
|
+
t.data["dct:license"][n] != null && t.data["dct:license"][n] != "" && n === "skos:exactMatch" ? (s(), i("div", de, [
|
|
435
|
+
r("span", le, d(l.$t("message.dataupload.distributions.licenceURL.label")) + ":", 1),
|
|
430
436
|
e[48] || (e[48] = a()),
|
|
431
|
-
|
|
437
|
+
v(m, {
|
|
432
438
|
class: "w-100",
|
|
433
|
-
to:
|
|
439
|
+
to: n
|
|
434
440
|
}, {
|
|
435
|
-
default:
|
|
436
|
-
a(d(t.data["dct:license"][
|
|
441
|
+
default: y(() => [
|
|
442
|
+
a(d(t.data["dct:license"][n]), 1)
|
|
437
443
|
]),
|
|
438
444
|
_: 2
|
|
439
445
|
}, 1032, ["to"])
|
|
440
|
-
])) :
|
|
446
|
+
])) : u("", !0)
|
|
441
447
|
]))), 256))
|
|
442
448
|
])
|
|
443
|
-
])) :
|
|
449
|
+
])) : u("", !0),
|
|
444
450
|
e[65] || (e[65] = a()),
|
|
445
|
-
o.manualSwitch(t.data) === "liAuto" ? (s(), i("tr",
|
|
446
|
-
|
|
451
|
+
o.manualSwitch(t.data) === "liAuto" ? (s(), i("tr", se, [
|
|
452
|
+
v(g, {
|
|
447
453
|
property: t.property,
|
|
448
454
|
value: t.value,
|
|
449
455
|
data: t.data
|
|
450
456
|
}, null, 8, ["property", "value", "data"])
|
|
451
|
-
])) :
|
|
457
|
+
])) : u("", !0)
|
|
452
458
|
], 64);
|
|
453
459
|
}
|
|
454
|
-
const
|
|
460
|
+
const ge = /* @__PURE__ */ j(U, [["render", ie]]);
|
|
455
461
|
export {
|
|
456
|
-
|
|
462
|
+
ge as default
|
|
457
463
|
};
|
|
458
464
|
//# sourceMappingURL=SpecialProp.vue.mjs.map
|