@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.
Files changed (39) hide show
  1. package/dist/configurations/configureServices.mjs +9 -6
  2. package/dist/configurations/configureServices.mjs.map +1 -1
  3. package/dist/datasetDetails/header/DatasetDetailsHeaderCatalogue.vue.d.ts +10 -3
  4. package/dist/datasetDetails/header/DatasetDetailsHeaderCatalogue.vue.mjs +55 -38
  5. package/dist/datasetDetails/header/DatasetDetailsHeaderCatalogue.vue.mjs.map +1 -1
  6. package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue.d.ts +7 -2
  7. package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue.mjs +164 -140
  8. package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue.mjs.map +1 -1
  9. package/dist/datasetDetails/properties/DatasetseriesDetailsProperties.vue.d.ts +55 -0
  10. package/dist/datasetDetails/properties/DatasetseriesDetailsProperties.vue.mjs +128 -0
  11. package/dist/datasetDetails/properties/DatasetseriesDetailsProperties.vue.mjs.map +1 -0
  12. package/dist/datasetDetails/properties/DatasetseriesDetailsProperties.vue2.mjs +5 -0
  13. package/dist/datasetDetails/properties/DatasetseriesDetailsProperties.vue2.mjs.map +1 -0
  14. package/dist/datasetDetails/properties/DatasetseriesDetailsProperty.vue.d.ts +52 -0
  15. package/dist/datasetDetails/properties/DatasetseriesDetailsProperty.vue.mjs +168 -0
  16. package/dist/datasetDetails/properties/DatasetseriesDetailsProperty.vue.mjs.map +1 -0
  17. package/dist/datasetDetails/properties/DatasetseriesDetailsProperty.vue2.mjs +5 -0
  18. package/dist/datasetDetails/properties/DatasetseriesDetailsProperty.vue2.mjs.map +1 -0
  19. package/dist/datasetDetails/properties/specification.d.ts +38 -0
  20. package/dist/datasetDetails/properties/specification.mjs +15 -4
  21. package/dist/datasetDetails/properties/specification.mjs.map +1 -1
  22. package/dist/index.d.ts +3 -1
  23. package/dist/index.mjs +112 -108
  24. package/dist/index.mjs.map +1 -1
  25. package/dist/piveau-hub-ui-modules.css +1 -1
  26. package/dist/services/datasetService.mjs +1 -1
  27. package/dist/services/datasetService.mjs.map +1 -1
  28. package/dist/services/datasetseriesService.d.ts +9 -0
  29. package/dist/services/datasetseriesService.mjs +30 -0
  30. package/dist/services/datasetseriesService.mjs.map +1 -0
  31. package/dist/store/index.mjs +25 -23
  32. package/dist/store/index.mjs.map +1 -1
  33. package/dist/store/modules/dataserviceDetailsStore.d.ts +1 -0
  34. package/dist/store/modules/dataserviceDetailsStore.mjs +8 -4
  35. package/dist/store/modules/dataserviceDetailsStore.mjs.map +1 -1
  36. package/dist/store/modules/datasetseriesDetailsStore.d.ts +85 -0
  37. package/dist/store/modules/datasetseriesDetailsStore.mjs +142 -0
  38. package/dist/store/modules/datasetseriesDetailsStore.mjs.map +1 -0
  39. package/package.json +1 -1
@@ -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 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 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,55 @@ 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
+ ...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: Q,
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(), I("#citationModal").modal({ show: !0 });
95
+ this.citationStyle = a, await this.$nextTick(), L("#citationModal").modal({ show: !0 });
81
96
  },
82
97
  modal() {
83
- I("#citationModal").modal({ show: !0 });
98
+ L("#citationModal").modal({ show: !0 });
84
99
  },
85
100
  openApiCall() {
86
- window.open(this.baseUrl + "datasets/" + this.getID, "_blank");
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
- }, _ = { 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 = {
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 = { class: "d-inline dropdown dsd-link-cite" }, J = ["title"], U = {
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" }, W = ["title"], j = {
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
- }, 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,
139
+ }, K = ["title"], Y = {
140
+ key: 3,
124
141
  class: "d-inline dropdown dsd-link-dqv"
125
- }, Y = ["title"], Z = {
142
+ }, Z = ["title"], tt = {
126
143
  class: "dropdown-menu dropdown-menu-right",
127
144
  "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, [
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
- o("div", x, [
136
- i(D, {
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: v(() => [
147
- o("span", {
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
- o("div", B, [
157
- i(c, {
176
+ s("div", B, [
177
+ i(f, {
158
178
  class: "dropdown-item",
159
- to: `https://www.facebook.com/sharer.php?u=${n.url}`,
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(c, {
183
+ i(f, {
164
184
  class: "dropdown-item",
165
- to: `https://twitter.com/intent/tweet?url=${n.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(c, {
189
+ i(f, {
170
190
  class: "dropdown-item",
171
- to: `https://www.linkedin.com/shareArticle?mini=true&url=${n.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 ? (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", {
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
- }, [...t[4] || (t[4] = [
191
- o("span", {
210
+ }, [
211
+ s("span", {
192
212
  class: "api-link",
193
- title: "Open API request of this Dataset.",
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
- o("svg", {
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
- o("path", {
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
- o("path", {
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
- ], -1)
219
- ])], 2)
220
- ])) : f("", !0),
237
+ ], -1)
238
+ ])], 8, R)
239
+ ], 2)
240
+ ])) : D("", !0),
221
241
  t[18] || (t[18] = e()),
222
- o("div", R, [
223
- i(D, {
224
- class: d(["nav-item nav-link dropdown-toggle text-nowrap", {
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: v(() => [
237
- o("span", {
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, J)
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
- o("div", U, [
247
- (p(!0), u(V, null, A(k.availableCitationStyles, (h, w) => (p(), u("button", {
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: (it) => n.showCitationModal(w)
272
+ onClick: (ot) => o.showCitationModal(w)
253
273
  }, [
254
- o("div", {
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}`) : h), 9, H)
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
- o("div", P, [
262
- i(D, {
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: v(() => [
273
- o("span", {
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, W)
297
+ }, m(a.$t("message.metadata.linkedData")), 9, j)
278
298
  ]),
279
299
  _: 1
280
300
  }),
281
301
  t[10] || (t[10] = e()),
282
- o("div", j, [
283
- i(g, {
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": s.datasetId
309
+ "resources-id": d.datasetId
290
310
  }, null, 8, ["resources-id"]),
291
311
  t[6] || (t[6] = e()),
292
- i(g, {
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": s.datasetId
318
+ "resources-id": d.datasetId
299
319
  }, null, 8, ["resources-id"]),
300
320
  t[7] || (t[7] = e()),
301
- i(g, {
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": s.datasetId
327
+ "resources-id": d.datasetId
308
328
  }, null, 8, ["resources-id"]),
309
329
  t[8] || (t[8] = e()),
310
- i(g, {
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": s.datasetId
336
+ "resources-id": d.datasetId
317
337
  }, null, 8, ["resources-id"]),
318
338
  t[9] || (t[9] = e()),
319
- i(g, {
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": s.datasetId
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") ? (p(), u("div", z, [
331
- o("button", X, [
332
- o("span", G, m(a.$t("message.datasetDetails.datasets.modal.embed")), 1)
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
- ])) : f("", !0),
358
+ ])) : D("", !0),
335
359
  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) }]),
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: v(() => [
348
- o("span", {
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, Y)
378
+ `, 8, Z)
355
379
  ]),
356
380
  _: 1
357
381
  }, 8, ["class"]),
358
382
  t[15] || (t[15] = e()),
359
- o("div", Z, [
360
- i(b, {
383
+ s("div", tt, [
384
+ i(v, {
361
385
  isTooltip: "true",
362
- class: d(["dropdown-item", { disabled: !a.getIsDQVDataRDFAvailable }]),
386
+ class: r(["dropdown-item", { disabled: !a.getIsDQVDataRDFAvailable }]),
363
387
  format: "rdf",
364
388
  text: "RDF/XML",
365
- "dataset-id": s.datasetId
389
+ "dataset-id": d.datasetId
366
390
  }, null, 8, ["class", "dataset-id"]),
367
391
  t[11] || (t[11] = e()),
368
- i(b, {
392
+ i(v, {
369
393
  isTooltip: "true",
370
- class: d(["dropdown-item", { disabled: !a.getIsDQVDataTTLAvailable }]),
394
+ class: r(["dropdown-item", { disabled: !a.getIsDQVDataTTLAvailable }]),
371
395
  format: "ttl",
372
396
  text: "Turtle",
373
- "dataset-id": s.datasetId
397
+ "dataset-id": d.datasetId
374
398
  }, null, 8, ["class", "dataset-id"]),
375
399
  t[12] || (t[12] = e()),
376
- i(b, {
400
+ i(v, {
377
401
  isTooltip: "true",
378
- class: d(["dropdown-item", { disabled: !a.getIsDQVDataN3Available }]),
402
+ class: r(["dropdown-item", { disabled: !a.getIsDQVDataN3Available }]),
379
403
  format: "n3",
380
404
  text: "Notation3",
381
- "dataset-id": s.datasetId
405
+ "dataset-id": d.datasetId
382
406
  }, null, 8, ["class", "dataset-id"]),
383
407
  t[13] || (t[13] = e()),
384
- i(b, {
408
+ i(v, {
385
409
  isTooltip: "true",
386
- class: d(["dropdown-item", { disabled: !a.getIsDQVDataNTAvailable }]),
410
+ class: r(["dropdown-item", { disabled: !a.getIsDQVDataNTAvailable }]),
387
411
  format: "nt",
388
412
  text: "N-Triples",
389
- "dataset-id": s.datasetId
413
+ "dataset-id": d.datasetId
390
414
  }, null, 8, ["class", "dataset-id"]),
391
415
  t[14] || (t[14] = e()),
392
- i(b, {
416
+ i(v, {
393
417
  isTooltip: "true",
394
- class: d(["dropdown-item", { disabled: !a.getIsDQVDataJSONLDAvailable }]),
418
+ class: r(["dropdown-item", { disabled: !a.getIsDQVDataJSONLDAvailable }]),
395
419
  format: "jsonld",
396
420
  text: "JSON-LD",
397
- "dataset-id": s.datasetId
421
+ "dataset-id": d.datasetId
398
422
  }, null, 8, ["class", "dataset-id"])
399
423
  ])
400
- ])) : f("", !0),
424
+ ])) : D("", !0),
401
425
  t[22] || (t[22] = e()),
402
- o("div", tt, [
403
- i(D, {
426
+ !o.isDataservice && !o.isDatasetseries ? (l(), n("div", at, [
427
+ i(g, {
404
428
  class: "nav-item nav-link text-nowrap",
405
- to: n.getFeedLink(),
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: v(() => [
412
- o("span", {
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, at)
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] = o("hr", null, null, -1))
446
+ t[24] || (t[24] = s("hr", null, null, -1))
423
447
  ]),
424
448
  t[25] || (t[25] = e()),
425
- !a.getLoading && a.getID ? (p(), N(L, {
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"])) : f("", !0),
454
+ }, null, 8, ["modal-id", "citation-style", "available-citation-styles"])) : D("", !0),
431
455
  t[26] || (t[26] = e()),
432
- i(T)
456
+ i(V)
433
457
  ]);
434
458
  }
435
- const Vt = /* @__PURE__ */ S($, [["render", et], ["__scopeId", "data-v-fa1bb325"]]);
459
+ const At = /* @__PURE__ */ S(_, [["render", st], ["__scopeId", "data-v-2137ad48"]]);
436
460
  export {
437
- Vt as default
461
+ At as default
438
462
  };
439
463
  //# sourceMappingURL=DatasetDetailsNavigationLinks.vue.mjs.map