@piveau/piveau-hub-ui-modules 4.8.0 → 4.8.2
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/configurations/configureServices.mjs +9 -6
- package/dist/configurations/configureServices.mjs.map +1 -1
- package/dist/datasetDetails/header/DatasetDetailsHeaderCatalogue.vue.d.ts +10 -3
- package/dist/datasetDetails/header/DatasetDetailsHeaderCatalogue.vue.mjs +55 -38
- package/dist/datasetDetails/header/DatasetDetailsHeaderCatalogue.vue.mjs.map +1 -1
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue.d.ts +7 -2
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue.mjs +164 -140
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue.mjs.map +1 -1
- package/dist/datasetDetails/properties/DatasetseriesDetailsProperties.vue.d.ts +55 -0
- package/dist/datasetDetails/properties/DatasetseriesDetailsProperties.vue.mjs +128 -0
- package/dist/datasetDetails/properties/DatasetseriesDetailsProperties.vue.mjs.map +1 -0
- package/dist/datasetDetails/properties/DatasetseriesDetailsProperties.vue2.mjs +5 -0
- package/dist/datasetDetails/properties/DatasetseriesDetailsProperties.vue2.mjs.map +1 -0
- package/dist/datasetDetails/properties/DatasetseriesDetailsProperty.vue.d.ts +52 -0
- package/dist/datasetDetails/properties/DatasetseriesDetailsProperty.vue.mjs +168 -0
- package/dist/datasetDetails/properties/DatasetseriesDetailsProperty.vue.mjs.map +1 -0
- package/dist/datasetDetails/properties/DatasetseriesDetailsProperty.vue2.mjs +5 -0
- package/dist/datasetDetails/properties/DatasetseriesDetailsProperty.vue2.mjs.map +1 -0
- package/dist/datasetDetails/properties/specification.d.ts +38 -0
- package/dist/datasetDetails/properties/specification.mjs +15 -4
- package/dist/datasetDetails/properties/specification.mjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +112 -108
- package/dist/index.mjs.map +1 -1
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/dist/services/datasetService.mjs +1 -1
- package/dist/services/datasetService.mjs.map +1 -1
- package/dist/services/datasetseriesService.d.ts +9 -0
- package/dist/services/datasetseriesService.mjs +30 -0
- package/dist/services/datasetseriesService.mjs.map +1 -0
- package/dist/store/index.mjs +25 -23
- package/dist/store/index.mjs.map +1 -1
- package/dist/store/modules/dataserviceDetailsStore.d.ts +1 -0
- package/dist/store/modules/dataserviceDetailsStore.mjs +8 -4
- package/dist/store/modules/dataserviceDetailsStore.mjs.map +1 -1
- package/dist/store/modules/datasetseriesDetailsStore.d.ts +85 -0
- package/dist/store/modules/datasetseriesDetailsStore.mjs +142 -0
- package/dist/store/modules/datasetseriesDetailsStore.mjs.map +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { mapGetters as
|
|
3
|
-
import
|
|
1
|
+
import { defineAsyncComponent as p, resolveComponent as u, openBlock as l, createElementBlock as n, createElementVNode as s, createVNode as i, createTextVNode as e, withCtx as c, toDisplayString as m, normalizeClass as r, createCommentVNode as D, Fragment as A, renderList as N, createBlock as Q } from "vue";
|
|
2
|
+
import { mapGetters as h } from "vuex";
|
|
3
|
+
import L from "jquery";
|
|
4
4
|
import "@unhead/vue";
|
|
5
5
|
import "merge-anything";
|
|
6
6
|
import "../../configurations/config-schema/apiSchema.mjs";
|
|
@@ -14,12 +14,12 @@ import "../../configurations/config-schema/trackerSchema.mjs";
|
|
|
14
14
|
import "../../configurations/config-schema/configSchema.mjs";
|
|
15
15
|
import "vue-router";
|
|
16
16
|
import "vue-i18n";
|
|
17
|
-
import { getTranslationFor as
|
|
17
|
+
import { getTranslationFor as M } from "../../utils/helpers.mjs";
|
|
18
18
|
import "lodash-es";
|
|
19
19
|
import { useDatasetDetailsNavigationLinksHead as C } from "../../composables/head/useDatasetDetailsNavigationLinksHead.mjs";
|
|
20
20
|
import "./DatasetDetailsNavigationLinks.vue2.mjs";
|
|
21
21
|
import S from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
22
|
-
const
|
|
22
|
+
const _ = {
|
|
23
23
|
name: "DatasetDetailsNavigationLinks",
|
|
24
24
|
props: {
|
|
25
25
|
datasetId: {
|
|
@@ -28,13 +28,13 @@ const $ = {
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
components: {
|
|
31
|
-
AppLink:
|
|
32
|
-
DatasetCitationModal:
|
|
33
|
-
DatasetEmbedModal:
|
|
34
|
-
DatasetDetailsFeedbackButton:
|
|
35
|
-
DatasetDetailsShareButton:
|
|
36
|
-
DatasetDetailsLinkedMetricsButton:
|
|
37
|
-
ResourceDetailsLinkedDataButton:
|
|
31
|
+
AppLink: p(() => import("../../widgets/AppLink.vue.mjs")),
|
|
32
|
+
DatasetCitationModal: p(() => import("../../citation/DatasetCitationModal.vue.mjs")),
|
|
33
|
+
DatasetEmbedModal: p(() => import("../../embed/DatasetEmbedModal.vue.mjs")),
|
|
34
|
+
DatasetDetailsFeedbackButton: p(() => import("../DatasetDetailsFeedbackButton.vue.mjs")),
|
|
35
|
+
DatasetDetailsShareButton: p(() => import("../DatasetDetailsShareButton.vue.mjs")),
|
|
36
|
+
DatasetDetailsLinkedMetricsButton: p(() => import("../DatasetDetailsLinkedMetricsButton.vue.mjs")),
|
|
37
|
+
ResourceDetailsLinkedDataButton: p(() => import("../../widgets/ResourceDetailsLinkedDataButton.vue.mjs"))
|
|
38
38
|
},
|
|
39
39
|
data() {
|
|
40
40
|
return {
|
|
@@ -53,37 +53,55 @@ const $ = {
|
|
|
53
53
|
};
|
|
54
54
|
},
|
|
55
55
|
computed: {
|
|
56
|
-
...
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
|
|
56
|
+
...h("datasetDetails", {
|
|
57
|
+
getDatasetID: "getID",
|
|
58
|
+
getTitle: "getTitle",
|
|
59
|
+
getLanguages: "getLanguages",
|
|
60
|
+
getLoading: "getLoading",
|
|
61
|
+
getIsDQVDataRDFAvailable: "getIsDQVDataRDFAvailable",
|
|
62
|
+
getIsDQVDataTTLAvailable: "getIsDQVDataTTLAvailable",
|
|
63
|
+
getIsDQVDataN3Available: "getIsDQVDataN3Available",
|
|
64
|
+
getIsDQVDataNTAvailable: "getIsDQVDataNTAvailable",
|
|
65
|
+
getIsDQVDataJSONLDAvailable: "getIsDQVDataJSONLDAvailable"
|
|
66
|
+
}),
|
|
67
|
+
...h("dataserviceDetails", {
|
|
68
|
+
getDataserviceID: "getID"
|
|
69
|
+
}),
|
|
70
|
+
...h("datasetseriesDetails", {
|
|
71
|
+
getDatasetseriesID: "getID"
|
|
72
|
+
}),
|
|
73
|
+
getID() {
|
|
74
|
+
return this.isDataservice ? this.getDataserviceID : this.isDatasetseries ? this.getDatasetseriesID : this.getDatasetID;
|
|
75
|
+
},
|
|
67
76
|
url() {
|
|
68
77
|
return window.location.href;
|
|
69
78
|
},
|
|
70
79
|
showDQV() {
|
|
71
80
|
return this.useDQVDataDropdown && this.$route.path.endsWith("quality");
|
|
81
|
+
},
|
|
82
|
+
isDataservice() {
|
|
83
|
+
return this.$route.path.startsWith("/dataservices/");
|
|
84
|
+
},
|
|
85
|
+
isDatasetseries() {
|
|
86
|
+
return this.$route.path.startsWith("/datasetseries/");
|
|
72
87
|
}
|
|
73
88
|
},
|
|
74
89
|
methods: {
|
|
75
|
-
getTranslationFor:
|
|
90
|
+
getTranslationFor: M,
|
|
76
91
|
getFeedLink() {
|
|
77
92
|
return `${this.baseUrl}${this.$route.query.locale}/feeds/datasets/${this.datasetId}.rss`;
|
|
78
93
|
},
|
|
79
94
|
async showCitationModal(a = "default") {
|
|
80
|
-
this.citationStyle = a, await this.$nextTick(),
|
|
95
|
+
this.citationStyle = a, await this.$nextTick(), L("#citationModal").modal({ show: !0 });
|
|
81
96
|
},
|
|
82
97
|
modal() {
|
|
83
|
-
|
|
98
|
+
L("#citationModal").modal({ show: !0 });
|
|
84
99
|
},
|
|
85
100
|
openApiCall() {
|
|
86
|
-
window.open(
|
|
101
|
+
window.open(
|
|
102
|
+
this.baseUrl + `${this.isDataservice ? "dataservices/" : this.isDatasetseries ? "datasetseries/" : "datasets/"}` + this.getID,
|
|
103
|
+
"_blank"
|
|
104
|
+
);
|
|
87
105
|
}
|
|
88
106
|
},
|
|
89
107
|
mounted() {
|
|
@@ -91,22 +109,25 @@ const $ = {
|
|
|
91
109
|
setup() {
|
|
92
110
|
C();
|
|
93
111
|
}
|
|
94
|
-
},
|
|
112
|
+
}, $ = { class: "dsd-nav-links" }, F = { class: "menu m-0 list-inline list-unstyled navbar-nav" }, x = { class: "d-inline dropdown dsd-link-share" }, q = ["title"], B = {
|
|
95
113
|
class: "dropdown-menu",
|
|
96
114
|
"aria-labelledby": "shareDatasetDropdownMenuLink"
|
|
97
115
|
}, O = {
|
|
98
116
|
key: 0,
|
|
99
117
|
class: "d-inline dropdown dsd-link-cite"
|
|
100
|
-
}, R =
|
|
118
|
+
}, R = ["title"], J = {
|
|
119
|
+
key: 1,
|
|
120
|
+
class: "d-inline dropdown dsd-link-cite"
|
|
121
|
+
}, U = ["title"], W = {
|
|
101
122
|
class: "dropdown-menu dropdown-menu-right",
|
|
102
123
|
"aria-labelledby": "citationDropdown"
|
|
103
|
-
}, E = ["disabled", "onClick"], H = ["data-cy"], P = { class: "d-inline dropdown dsd-link-linked-data" },
|
|
124
|
+
}, E = ["disabled", "onClick"], H = ["data-cy"], P = { class: "d-inline dropdown dsd-link-linked-data" }, j = ["title"], z = {
|
|
104
125
|
class: "dropdown-menu",
|
|
105
126
|
"aria-labelledby": "linkedDataDropdownMenuLink"
|
|
106
|
-
}, z = {
|
|
107
|
-
key: 1,
|
|
108
|
-
class: "d-inline dropdown dsd-link-cite"
|
|
109
127
|
}, X = {
|
|
128
|
+
key: 2,
|
|
129
|
+
class: "d-inline dropdown dsd-link-cite"
|
|
130
|
+
}, G = {
|
|
110
131
|
type: "button",
|
|
111
132
|
"data-toggle": "modal",
|
|
112
133
|
"data-target": "#embedModal",
|
|
@@ -115,25 +136,24 @@ const $ = {
|
|
|
115
136
|
role: "button",
|
|
116
137
|
id: "",
|
|
117
138
|
style: { background: "none" }
|
|
118
|
-
},
|
|
119
|
-
|
|
120
|
-
"data-toggle": "tooltip",
|
|
121
|
-
"data-placement": "top"
|
|
122
|
-
}, K = {
|
|
123
|
-
key: 2,
|
|
139
|
+
}, K = ["title"], Y = {
|
|
140
|
+
key: 3,
|
|
124
141
|
class: "d-inline dropdown dsd-link-dqv"
|
|
125
|
-
},
|
|
142
|
+
}, Z = ["title"], tt = {
|
|
126
143
|
class: "dropdown-menu dropdown-menu-right",
|
|
127
144
|
"aria-labelledby": "metaDataDropdownMenuLink"
|
|
128
|
-
},
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
145
|
+
}, at = {
|
|
146
|
+
key: 4,
|
|
147
|
+
class: "d-inline dsd-link-feed"
|
|
148
|
+
}, et = ["title"];
|
|
149
|
+
function st(a, t, d, it, k, o) {
|
|
150
|
+
const y = u("dataset-details-feedback-button"), g = u("app-link"), f = u("dataset-details-share-button"), b = u("resource-details-linked-data-button"), v = u("dataset-details-linked-metrics-button"), T = u("dataset-citation-modal"), V = u("dataset-embed-modal");
|
|
151
|
+
return l(), n("nav", $, [
|
|
152
|
+
s("ul", F, [
|
|
133
153
|
i(y),
|
|
134
154
|
t[16] || (t[16] = e()),
|
|
135
|
-
|
|
136
|
-
i(
|
|
155
|
+
s("div", x, [
|
|
156
|
+
i(g, {
|
|
137
157
|
class: "nav-item nav-link dropdown-toggle text-nowrap",
|
|
138
158
|
fragment: "#",
|
|
139
159
|
role: "button",
|
|
@@ -143,8 +163,8 @@ function et(a, t, s, ot, k, n) {
|
|
|
143
163
|
"aria-expanded": "false",
|
|
144
164
|
isTooltip: "true"
|
|
145
165
|
}, {
|
|
146
|
-
default:
|
|
147
|
-
|
|
166
|
+
default: c(() => [
|
|
167
|
+
s("span", {
|
|
148
168
|
title: a.$t("message.tooltip.datasetDetails.share"),
|
|
149
169
|
"data-toggle": "tooltip",
|
|
150
170
|
"data-placement": "top"
|
|
@@ -153,31 +173,31 @@ function et(a, t, s, ot, k, n) {
|
|
|
153
173
|
_: 1
|
|
154
174
|
}),
|
|
155
175
|
t[3] || (t[3] = e()),
|
|
156
|
-
|
|
157
|
-
i(
|
|
176
|
+
s("div", B, [
|
|
177
|
+
i(f, {
|
|
158
178
|
class: "dropdown-item",
|
|
159
|
-
to: `https://www.facebook.com/sharer.php?u=${
|
|
179
|
+
to: `https://www.facebook.com/sharer.php?u=${o.url}`,
|
|
160
180
|
icon: { prefix: "fab", iconName: "facebook-f" }
|
|
161
181
|
}, null, 8, ["to"]),
|
|
162
182
|
t[1] || (t[1] = e()),
|
|
163
|
-
i(
|
|
183
|
+
i(f, {
|
|
164
184
|
class: "dropdown-item",
|
|
165
|
-
to: `https://twitter.com/intent/tweet?url=${
|
|
185
|
+
to: `https://twitter.com/intent/tweet?url=${o.url}`,
|
|
166
186
|
icon: { prefix: "fab", iconName: "twitter" }
|
|
167
187
|
}, null, 8, ["to"]),
|
|
168
188
|
t[2] || (t[2] = e()),
|
|
169
|
-
i(
|
|
189
|
+
i(f, {
|
|
170
190
|
class: "dropdown-item",
|
|
171
|
-
to: `https://www.linkedin.com/shareArticle?mini=true&url=${
|
|
191
|
+
to: `https://www.linkedin.com/shareArticle?mini=true&url=${o.url}`,
|
|
172
192
|
icon: { prefix: "fab", iconName: "linkedin-in" }
|
|
173
193
|
}, null, 8, ["to"])
|
|
174
194
|
])
|
|
175
195
|
]),
|
|
176
196
|
t[17] || (t[17] = e()),
|
|
177
|
-
this.$env.content.datasetDetails.embed.enable ? (
|
|
178
|
-
|
|
179
|
-
onClick: t[0] || (t[0] = (
|
|
180
|
-
class:
|
|
197
|
+
this.$env.content.datasetDetails.embed.enable ? (l(), n("div", O, [
|
|
198
|
+
s("button", {
|
|
199
|
+
onClick: t[0] || (t[0] = (I) => o.openApiCall()),
|
|
200
|
+
class: r(["nav-item nav-link text-nowrap api-button", {
|
|
181
201
|
disabled: a.getLoading
|
|
182
202
|
}]),
|
|
183
203
|
fragment: "#",
|
|
@@ -187,17 +207,17 @@ function et(a, t, s, ot, k, n) {
|
|
|
187
207
|
"aria-haspopup": "true",
|
|
188
208
|
"aria-expanded": "false",
|
|
189
209
|
"data-cy": "citation-dropdown-expand"
|
|
190
|
-
}, [
|
|
191
|
-
|
|
210
|
+
}, [
|
|
211
|
+
s("span", {
|
|
192
212
|
class: "api-link",
|
|
193
|
-
title:
|
|
213
|
+
title: `Open API request of this ${o.isDataservice ? "Dataservice" : "Dataset"}.`,
|
|
194
214
|
"data-toggle": "tooltip",
|
|
195
215
|
"data-placement": "top"
|
|
196
|
-
}, [
|
|
216
|
+
}, [...t[4] || (t[4] = [
|
|
197
217
|
e(`
|
|
198
218
|
API
|
|
199
|
-
|
|
200
|
-
|
|
219
|
+
`, -1),
|
|
220
|
+
s("svg", {
|
|
201
221
|
xmlns: "http://www.w3.org/2000/svg",
|
|
202
222
|
width: "12",
|
|
203
223
|
height: "12",
|
|
@@ -205,23 +225,23 @@ function et(a, t, s, ot, k, n) {
|
|
|
205
225
|
class: "bi bi-box-arrow-up-right",
|
|
206
226
|
viewBox: "0 0 16 16"
|
|
207
227
|
}, [
|
|
208
|
-
|
|
228
|
+
s("path", {
|
|
209
229
|
"fill-rule": "evenodd",
|
|
210
230
|
d: "M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5"
|
|
211
231
|
}),
|
|
212
232
|
e(),
|
|
213
|
-
|
|
233
|
+
s("path", {
|
|
214
234
|
"fill-rule": "evenodd",
|
|
215
235
|
d: "M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0z"
|
|
216
236
|
})
|
|
217
|
-
])
|
|
218
|
-
],
|
|
219
|
-
]
|
|
220
|
-
])) :
|
|
237
|
+
], -1)
|
|
238
|
+
])], 8, R)
|
|
239
|
+
], 2)
|
|
240
|
+
])) : D("", !0),
|
|
221
241
|
t[18] || (t[18] = e()),
|
|
222
|
-
o("div",
|
|
223
|
-
i(
|
|
224
|
-
class:
|
|
242
|
+
!o.isDataservice && !o.isDatasetseries ? (l(), n("div", J, [
|
|
243
|
+
i(g, {
|
|
244
|
+
class: r(["nav-item nav-link dropdown-toggle text-nowrap", {
|
|
225
245
|
disabled: a.getLoading
|
|
226
246
|
}]),
|
|
227
247
|
fragment: "#",
|
|
@@ -233,33 +253,33 @@ function et(a, t, s, ot, k, n) {
|
|
|
233
253
|
"aria-expanded": "false",
|
|
234
254
|
"data-cy": "citation-dropdown-expand"
|
|
235
255
|
}, {
|
|
236
|
-
default:
|
|
237
|
-
|
|
256
|
+
default: c(() => [
|
|
257
|
+
s("span", {
|
|
238
258
|
title: a.$t("message.tooltip.datasetDetails.cite"),
|
|
239
259
|
"data-toggle": "tooltip",
|
|
240
260
|
"data-placement": "top"
|
|
241
|
-
}, m(a.$t("message.datasetDetails.cite")), 9,
|
|
261
|
+
}, m(a.$t("message.datasetDetails.cite")), 9, U)
|
|
242
262
|
]),
|
|
243
263
|
_: 1
|
|
244
264
|
}, 8, ["class"]),
|
|
245
265
|
t[5] || (t[5] = e()),
|
|
246
|
-
|
|
247
|
-
(
|
|
266
|
+
s("div", W, [
|
|
267
|
+
(l(!0), n(A, null, N(k.availableCitationStyles, (I, w) => (l(), n("button", {
|
|
248
268
|
class: "dropdown-item",
|
|
249
269
|
type: "button",
|
|
250
270
|
key: w,
|
|
251
271
|
disabled: a.getLoading,
|
|
252
|
-
onClick: (
|
|
272
|
+
onClick: (ot) => o.showCitationModal(w)
|
|
253
273
|
}, [
|
|
254
|
-
|
|
274
|
+
s("div", {
|
|
255
275
|
"data-cy": `citation-dropdown-item@${w}`
|
|
256
|
-
}, m(a.$te(`message.datasetDetails.citationStyle.${w}`) ? a.$t(`message.datasetDetails.citationStyle.${w}`) :
|
|
276
|
+
}, m(a.$te(`message.datasetDetails.citationStyle.${w}`) ? a.$t(`message.datasetDetails.citationStyle.${w}`) : I), 9, H)
|
|
257
277
|
], 8, E))), 128))
|
|
258
278
|
])
|
|
259
|
-
]),
|
|
279
|
+
])) : D("", !0),
|
|
260
280
|
t[19] || (t[19] = e()),
|
|
261
|
-
|
|
262
|
-
i(
|
|
281
|
+
s("div", P, [
|
|
282
|
+
i(g, {
|
|
263
283
|
class: "nav-item nav-link dropdown-toggle text-nowrap",
|
|
264
284
|
fragment: "#",
|
|
265
285
|
role: "button",
|
|
@@ -269,73 +289,77 @@ function et(a, t, s, ot, k, n) {
|
|
|
269
289
|
"aria-expanded": "false",
|
|
270
290
|
isTooltip: "true"
|
|
271
291
|
}, {
|
|
272
|
-
default:
|
|
273
|
-
|
|
292
|
+
default: c(() => [
|
|
293
|
+
s("span", {
|
|
274
294
|
title: a.$t("message.tooltip.datasetDetails.linkedData"),
|
|
275
295
|
"data-toggle": "tooltip",
|
|
276
296
|
"data-placement": "top"
|
|
277
|
-
}, m(a.$t("message.metadata.linkedData")), 9,
|
|
297
|
+
}, m(a.$t("message.metadata.linkedData")), 9, j)
|
|
278
298
|
]),
|
|
279
299
|
_: 1
|
|
280
300
|
}),
|
|
281
301
|
t[10] || (t[10] = e()),
|
|
282
|
-
|
|
283
|
-
i(
|
|
302
|
+
s("div", z, [
|
|
303
|
+
i(b, {
|
|
284
304
|
isTooltip: "true",
|
|
285
305
|
class: "dropdown-item",
|
|
286
306
|
format: "rdf",
|
|
287
307
|
text: "RDF/XML",
|
|
288
308
|
resources: "datasets",
|
|
289
|
-
"resources-id":
|
|
309
|
+
"resources-id": d.datasetId
|
|
290
310
|
}, null, 8, ["resources-id"]),
|
|
291
311
|
t[6] || (t[6] = e()),
|
|
292
|
-
i(
|
|
312
|
+
i(b, {
|
|
293
313
|
isTooltip: "true",
|
|
294
314
|
class: "dropdown-item",
|
|
295
315
|
format: "ttl",
|
|
296
316
|
text: "Turtle",
|
|
297
317
|
resources: "datasets",
|
|
298
|
-
"resources-id":
|
|
318
|
+
"resources-id": d.datasetId
|
|
299
319
|
}, null, 8, ["resources-id"]),
|
|
300
320
|
t[7] || (t[7] = e()),
|
|
301
|
-
i(
|
|
321
|
+
i(b, {
|
|
302
322
|
isTooltip: "true",
|
|
303
323
|
class: "dropdown-item",
|
|
304
324
|
format: "n3",
|
|
305
325
|
text: "Notation3",
|
|
306
326
|
resources: "datasets",
|
|
307
|
-
"resources-id":
|
|
327
|
+
"resources-id": d.datasetId
|
|
308
328
|
}, null, 8, ["resources-id"]),
|
|
309
329
|
t[8] || (t[8] = e()),
|
|
310
|
-
i(
|
|
330
|
+
i(b, {
|
|
311
331
|
isTooltip: "true",
|
|
312
332
|
class: "dropdown-item",
|
|
313
333
|
format: "nt",
|
|
314
334
|
text: "N-Triples",
|
|
315
335
|
resources: "datasets",
|
|
316
|
-
"resources-id":
|
|
336
|
+
"resources-id": d.datasetId
|
|
317
337
|
}, null, 8, ["resources-id"]),
|
|
318
338
|
t[9] || (t[9] = e()),
|
|
319
|
-
i(
|
|
339
|
+
i(b, {
|
|
320
340
|
isTooltip: "true",
|
|
321
341
|
class: "dropdown-item",
|
|
322
342
|
format: "jsonld",
|
|
323
343
|
text: "JSON-LD",
|
|
324
344
|
resources: "datasets",
|
|
325
|
-
"resources-id":
|
|
345
|
+
"resources-id": d.datasetId
|
|
326
346
|
}, null, 8, ["resources-id"])
|
|
327
347
|
])
|
|
328
348
|
]),
|
|
329
349
|
t[20] || (t[20] = e()),
|
|
330
|
-
this.$env.content.datasetDetails.embed.enable && !this.$route.path.endsWith("/quality") && !this.$route.path.endsWith("/similarDatasets") ? (
|
|
331
|
-
|
|
332
|
-
|
|
350
|
+
this.$env.content.datasetDetails.embed.enable && !this.$route.path.endsWith("/quality") && !this.$route.path.endsWith("/similarDatasets") ? (l(), n("div", X, [
|
|
351
|
+
s("button", G, [
|
|
352
|
+
s("span", {
|
|
353
|
+
title: `Copy link to embed the ${o.isDataservice ? "dataservice" : "dataset"} in other pages`,
|
|
354
|
+
"data-toggle": "tooltip",
|
|
355
|
+
"data-placement": "top"
|
|
356
|
+
}, m(a.$t("message.datasetDetails.datasets.modal.embed")), 9, K)
|
|
333
357
|
])
|
|
334
|
-
])) :
|
|
358
|
+
])) : D("", !0),
|
|
335
359
|
t[21] || (t[21] = e()),
|
|
336
|
-
|
|
337
|
-
i(
|
|
338
|
-
class:
|
|
360
|
+
o.showDQV ? (l(), n("div", Y, [
|
|
361
|
+
i(g, {
|
|
362
|
+
class: r(["nav-item nav-link dropdown-toggle text-nowrap", { disabled: !(a.getIsDQVDataRDFAvailable || a.getIsDQVDataTTLAvailable || a.getIsDQVDataN3Available || a.getIsDQVDataNTAvailable || a.getIsDQVDataJSONLDAvailable) }]),
|
|
339
363
|
fragment: "#",
|
|
340
364
|
role: "button",
|
|
341
365
|
id: "metaDataDropdownMenuLink",
|
|
@@ -344,96 +368,96 @@ function et(a, t, s, ot, k, n) {
|
|
|
344
368
|
"aria-expanded": "false",
|
|
345
369
|
isTooltip: "true"
|
|
346
370
|
}, {
|
|
347
|
-
default:
|
|
348
|
-
|
|
371
|
+
default: c(() => [
|
|
372
|
+
s("span", {
|
|
349
373
|
title: a.$t("message.tooltip.datasetDetails.dqvData"),
|
|
350
374
|
"data-toggle": "tooltip",
|
|
351
375
|
"data-placement": "top"
|
|
352
376
|
}, `
|
|
353
377
|
DQV Data
|
|
354
|
-
`, 8,
|
|
378
|
+
`, 8, Z)
|
|
355
379
|
]),
|
|
356
380
|
_: 1
|
|
357
381
|
}, 8, ["class"]),
|
|
358
382
|
t[15] || (t[15] = e()),
|
|
359
|
-
|
|
360
|
-
i(
|
|
383
|
+
s("div", tt, [
|
|
384
|
+
i(v, {
|
|
361
385
|
isTooltip: "true",
|
|
362
|
-
class:
|
|
386
|
+
class: r(["dropdown-item", { disabled: !a.getIsDQVDataRDFAvailable }]),
|
|
363
387
|
format: "rdf",
|
|
364
388
|
text: "RDF/XML",
|
|
365
|
-
"dataset-id":
|
|
389
|
+
"dataset-id": d.datasetId
|
|
366
390
|
}, null, 8, ["class", "dataset-id"]),
|
|
367
391
|
t[11] || (t[11] = e()),
|
|
368
|
-
i(
|
|
392
|
+
i(v, {
|
|
369
393
|
isTooltip: "true",
|
|
370
|
-
class:
|
|
394
|
+
class: r(["dropdown-item", { disabled: !a.getIsDQVDataTTLAvailable }]),
|
|
371
395
|
format: "ttl",
|
|
372
396
|
text: "Turtle",
|
|
373
|
-
"dataset-id":
|
|
397
|
+
"dataset-id": d.datasetId
|
|
374
398
|
}, null, 8, ["class", "dataset-id"]),
|
|
375
399
|
t[12] || (t[12] = e()),
|
|
376
|
-
i(
|
|
400
|
+
i(v, {
|
|
377
401
|
isTooltip: "true",
|
|
378
|
-
class:
|
|
402
|
+
class: r(["dropdown-item", { disabled: !a.getIsDQVDataN3Available }]),
|
|
379
403
|
format: "n3",
|
|
380
404
|
text: "Notation3",
|
|
381
|
-
"dataset-id":
|
|
405
|
+
"dataset-id": d.datasetId
|
|
382
406
|
}, null, 8, ["class", "dataset-id"]),
|
|
383
407
|
t[13] || (t[13] = e()),
|
|
384
|
-
i(
|
|
408
|
+
i(v, {
|
|
385
409
|
isTooltip: "true",
|
|
386
|
-
class:
|
|
410
|
+
class: r(["dropdown-item", { disabled: !a.getIsDQVDataNTAvailable }]),
|
|
387
411
|
format: "nt",
|
|
388
412
|
text: "N-Triples",
|
|
389
|
-
"dataset-id":
|
|
413
|
+
"dataset-id": d.datasetId
|
|
390
414
|
}, null, 8, ["class", "dataset-id"]),
|
|
391
415
|
t[14] || (t[14] = e()),
|
|
392
|
-
i(
|
|
416
|
+
i(v, {
|
|
393
417
|
isTooltip: "true",
|
|
394
|
-
class:
|
|
418
|
+
class: r(["dropdown-item", { disabled: !a.getIsDQVDataJSONLDAvailable }]),
|
|
395
419
|
format: "jsonld",
|
|
396
420
|
text: "JSON-LD",
|
|
397
|
-
"dataset-id":
|
|
421
|
+
"dataset-id": d.datasetId
|
|
398
422
|
}, null, 8, ["class", "dataset-id"])
|
|
399
423
|
])
|
|
400
|
-
])) :
|
|
424
|
+
])) : D("", !0),
|
|
401
425
|
t[22] || (t[22] = e()),
|
|
402
|
-
o("div",
|
|
403
|
-
i(
|
|
426
|
+
!o.isDataservice && !o.isDatasetseries ? (l(), n("div", at, [
|
|
427
|
+
i(g, {
|
|
404
428
|
class: "nav-item nav-link text-nowrap",
|
|
405
|
-
to:
|
|
429
|
+
to: o.getFeedLink(),
|
|
406
430
|
isTooltip: "true",
|
|
407
431
|
target: "_blank",
|
|
408
432
|
"matomo-track-page-view": "",
|
|
409
433
|
role: "button"
|
|
410
434
|
}, {
|
|
411
|
-
default:
|
|
412
|
-
|
|
435
|
+
default: c(() => [
|
|
436
|
+
s("span", {
|
|
413
437
|
title: a.$t("message.tooltip.datasetDetails.datasetFeed"),
|
|
414
438
|
"data-toggle": "tooltip",
|
|
415
439
|
"data-placement": "top"
|
|
416
|
-
}, m(a.$t("message.datasetDetails.datasetFeed")), 9,
|
|
440
|
+
}, m(a.$t("message.datasetDetails.datasetFeed")), 9, et)
|
|
417
441
|
]),
|
|
418
442
|
_: 1
|
|
419
443
|
}, 8, ["to"])
|
|
420
|
-
]),
|
|
444
|
+
])) : D("", !0),
|
|
421
445
|
t[23] || (t[23] = e()),
|
|
422
|
-
t[24] || (t[24] =
|
|
446
|
+
t[24] || (t[24] = s("hr", null, null, -1))
|
|
423
447
|
]),
|
|
424
448
|
t[25] || (t[25] = e()),
|
|
425
|
-
!a.getLoading &&
|
|
449
|
+
!a.getLoading && o.getID ? (l(), Q(T, {
|
|
426
450
|
key: 0,
|
|
427
451
|
"modal-id": k.citationModalId,
|
|
428
452
|
"citation-style": k.citationStyle,
|
|
429
453
|
"available-citation-styles": k.availableCitationStyles
|
|
430
|
-
}, null, 8, ["modal-id", "citation-style", "available-citation-styles"])) :
|
|
454
|
+
}, null, 8, ["modal-id", "citation-style", "available-citation-styles"])) : D("", !0),
|
|
431
455
|
t[26] || (t[26] = e()),
|
|
432
|
-
i(
|
|
456
|
+
i(V)
|
|
433
457
|
]);
|
|
434
458
|
}
|
|
435
|
-
const
|
|
459
|
+
const At = /* @__PURE__ */ S(_, [["render", st], ["__scopeId", "data-v-2137ad48"]]);
|
|
436
460
|
export {
|
|
437
|
-
|
|
461
|
+
At as default
|
|
438
462
|
};
|
|
439
463
|
//# sourceMappingURL=DatasetDetailsNavigationLinks.vue.mjs.map
|