@piveau/piveau-hub-ui-modules 4.8.0-beta.0 → 4.8.1

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