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