@piveau/piveau-hub-ui-modules 4.4.10 → 4.4.12

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 (47) hide show
  1. package/dist/data-provider-interface/DataProviderInterface.vue.d.ts +37 -0
  2. package/dist/data-provider-interface/components/DistributionStepper.vue.d.ts +1 -0
  3. package/dist/data-provider-interface/components/DistributionStepper.vue.mjs +101 -96
  4. package/dist/data-provider-interface/components/DistributionStepper.vue.mjs.map +1 -1
  5. package/dist/data-provider-interface/config/dcatap/input-definition.mjs +2 -2
  6. package/dist/data-provider-interface/config/dcatap/input-definition.mjs.map +1 -1
  7. package/dist/data-provider-interface/config/dcatapde/input-definition.mjs +16 -8
  8. package/dist/data-provider-interface/config/dcatapde/input-definition.mjs.map +1 -1
  9. package/dist/data-provider-interface/views/DraftsPage.vue.mjs +37 -37
  10. package/dist/data-provider-interface/views/DraftsPage.vue.mjs.map +1 -1
  11. package/dist/data-provider-interface/views/InputPage.vue.d.ts +37 -0
  12. package/dist/data-provider-interface/views/InputPage.vue.mjs +111 -149
  13. package/dist/data-provider-interface/views/InputPage.vue.mjs.map +1 -1
  14. package/dist/data-provider-interface/views/OverviewPage/CatalogueOverview.vue.d.ts +12 -0
  15. package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.d.ts +25 -0
  16. package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.mjs +18 -14
  17. package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.mjs.map +1 -1
  18. package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.d.ts +12 -0
  19. package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.mjs +89 -79
  20. package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.mjs.map +1 -1
  21. package/dist/data-provider-interface/views/OverviewPage/Properties/MultilingualProp.vue.d.ts +13 -0
  22. package/dist/data-provider-interface/views/OverviewPage/Properties/MultilingualProp.vue.mjs +21 -0
  23. package/dist/data-provider-interface/views/OverviewPage/Properties/MultilingualProp.vue.mjs.map +1 -0
  24. package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.mjs +48 -48
  25. package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.mjs.map +1 -1
  26. package/dist/data-provider-interface/views/OverviewPage/Properties/StringProp.vue.mjs +17 -17
  27. package/dist/data-provider-interface/views/OverviewPage/Properties/StringProp.vue.mjs.map +1 -1
  28. package/dist/data-provider-interface/views/OverviewPage/Properties/URLProp.vue.mjs +42 -32
  29. package/dist/data-provider-interface/views/OverviewPage/Properties/URLProp.vue.mjs.map +1 -1
  30. package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.d.ts +12 -0
  31. package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.mjs +48 -38
  32. package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.mjs.map +1 -1
  33. package/dist/data-provider-interface/views/OverviewPage.vue.d.ts +37 -0
  34. package/dist/datasetDetails/distributions/Distribution.vue.mjs +31 -29
  35. package/dist/datasetDetails/distributions/Distribution.vue.mjs.map +1 -1
  36. package/dist/datasetDetails/distributions/Distributions.vue.d.ts +6 -2
  37. package/dist/datasetDetails/distributions/Distributions.vue.mjs +44 -37
  38. package/dist/datasetDetails/distributions/Distributions.vue.mjs.map +1 -1
  39. package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue.d.ts +3 -1
  40. package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue.mjs +35 -24
  41. package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue.mjs.map +1 -1
  42. package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue2.mjs +2 -2
  43. package/dist/datasetDetails/distributions/distributionPreview/DistributionVisualisationSlot.vue.d.ts +9 -1
  44. package/dist/datasetDetails/distributions/distributionPreview/DistributionVisualisationSlot.vue.mjs +21 -8
  45. package/dist/datasetDetails/distributions/distributionPreview/DistributionVisualisationSlot.vue.mjs.map +1 -1
  46. package/dist/piveau-hub-ui-modules.css +1 -1
  47. package/package.json +1 -1
@@ -220,6 +220,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
220
220
  getData: import('vuex').Computed;
221
221
  }, {
222
222
  checkIfPropertySet(data: any, property: any): any;
223
+ getDate(date: any): any;
223
224
  checkIfPropertyValueSet(data: any, property: any, value: any): any;
224
225
  reqName(URI: any): Promise<any>;
225
226
  requestFirstEntrySuggestions: import('vuex').ActionMethod;
@@ -342,6 +343,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
342
343
  inHeader: StringConstructor;
343
344
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
344
345
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
346
+ MultilingualProp: import('vue').DefineComponent<{}, {
347
+ value?: Record<string, any> | undefined;
348
+ data?: Record<string, any> | undefined;
349
+ property?: Record<string, any> | undefined;
350
+ dpiLocale?: Record<string, any> | undefined;
351
+ $props: {
352
+ readonly value?: Record<string, any> | undefined;
353
+ readonly data?: Record<string, any> | undefined;
354
+ readonly property?: Record<string, any> | undefined;
355
+ readonly dpiLocale?: Record<string, any> | undefined;
356
+ };
357
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
345
358
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
346
359
  DistributionOverview: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
347
360
  dpiLocale: StringConstructor;
@@ -590,6 +603,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
590
603
  inHeader: StringConstructor;
591
604
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
592
605
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
606
+ MultilingualProp: import('vue').DefineComponent<{}, {
607
+ value?: Record<string, any> | undefined;
608
+ data?: Record<string, any> | undefined;
609
+ property?: Record<string, any> | undefined;
610
+ dpiLocale?: Record<string, any> | undefined;
611
+ $props: {
612
+ readonly value?: Record<string, any> | undefined;
613
+ readonly data?: Record<string, any> | undefined;
614
+ readonly property?: Record<string, any> | undefined;
615
+ readonly dpiLocale?: Record<string, any> | undefined;
616
+ };
617
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
593
618
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
594
619
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
595
620
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -2,7 +2,7 @@ import R from "./PropertyEntry.vue.mjs";
2
2
  import L from "./DistributionOverview.vue.mjs";
3
3
  import { mapGetters as I, mapActions as U } from "vuex";
4
4
  import w from "axios";
5
- import { resolveComponent as b, openBlock as o, createElementBlock as r, createElementVNode as a, toDisplayString as i, createTextVNode as l, createVNode as p, Fragment as v, renderList as y, createCommentVNode as g } from "vue";
5
+ import { resolveComponent as b, openBlock as o, createElementBlock as r, createElementVNode as a, toDisplayString as i, createTextVNode as l, createVNode as p, Fragment as v, renderList as y, createCommentVNode as m } from "vue";
6
6
  import "./DatasetOverview.vue2.mjs";
7
7
  import P from "../../../_virtual/_plugin-vue_export-helper.mjs";
8
8
  const k = {
@@ -95,6 +95,10 @@ const k = {
95
95
  checkIfPropertySet(t, e) {
96
96
  return t[e] != null ? t[e] : "-";
97
97
  },
98
+ getDate(t) {
99
+ let e = {};
100
+ return this.dpiLocale === "de" ? (e = { year: "numeric", month: "long", day: "numeric" }, t.toLocaleDateString("de-DE", e)) : (e = { year: "numeric", month: "long", day: "numeric" }, t.toLocaleDateString("en-EN", e));
101
+ },
98
102
  checkIfPropertyValueSet(t, e, d) {
99
103
  return t[e] != null && t[e][d] != null ? t[e][d] : "-";
100
104
  },
@@ -116,7 +120,7 @@ const k = {
116
120
  }, _ = {
117
121
  key: 0,
118
122
  class: "mt-2"
119
- }, S = { class: "overviewHeader p-3" }, V = { class: "firstRow d-flex" }, q = { class: "datasetNotation dsd-title-tag d-flex align-items-center" }, x = { class: "dsTitle" }, B = { class: "secondRow d-flex justify-content-between" }, O = { class: "dsCatalogue" }, E = { href: "" }, N = { class: "dsPublisher" }, T = { class: "dsIssued" }, G = { class: "dsUpdated" }, j = { class: "dsMainWrap d-flex flex-column mt-3" }, A = { class: "" }, C = { class: "dsDesc px-3" }, M = { class: "" }, F = { class: "table table-borderless table-responsive bg-light disOverview p-3" }, H = {
123
+ }, S = { class: "overviewHeader p-3" }, V = { class: "firstRow d-flex" }, q = { class: "datasetNotation dsd-title-tag d-flex align-items-center" }, x = { class: "dsTitle" }, E = { class: "secondRow d-flex justify-content-between" }, B = { class: "dsCatalogue" }, N = { href: "" }, O = { class: "dsPublisher" }, T = { class: "dsIssued" }, G = { class: "dsUpdated" }, j = { class: "dsMainWrap d-flex flex-column mt-3" }, A = { class: "" }, C = { class: "dsDesc px-3" }, M = { class: "" }, F = { class: "table table-borderless table-responsive bg-light disOverview p-3" }, H = {
120
124
  key: 0,
121
125
  class: "dsDist b-top p-3"
122
126
  }, K = { class: "my-4" }, W = {
@@ -124,7 +128,7 @@ const k = {
124
128
  class: "dsKeywords b-top my-2 p-3"
125
129
  }, z = { class: "my-4" }, J = { class: "d-flex" }, Q = ["title"];
126
130
  function X(t, e, d, f, c, s) {
127
- const m = b("PropertyEntry"), h = b("DistributionOverview");
131
+ const g = b("PropertyEntry"), h = b("DistributionOverview");
128
132
  return c.pageLoaded ? (o(), r("div", _, [
129
133
  a("div", S, [
130
134
  a("div", V, [
@@ -135,17 +139,17 @@ function X(t, e, d, f, c, s) {
135
139
  a("h1", x, i(s.getTitle), 1)
136
140
  ]),
137
141
  e[7] || (e[7] = l()),
138
- a("div", B, [
139
- a("div", O, [
142
+ a("div", E, [
143
+ a("div", B, [
140
144
  a("span", null, [
141
145
  a("b", null, i(t.$te("message.metadata.catalog") ? t.$t("message.metadata.catalog") : "Catalogue") + ":", 1)
142
146
  ]),
143
147
  e[1] || (e[1] = l()),
144
- a("a", E, i(s.checkIfPropertySet(s.getDatasets, "dcat:catalog")), 1)
148
+ a("a", N, i(s.checkIfPropertySet(s.getDatasets, "dcat:catalog")), 1)
145
149
  ]),
146
150
  e[4] || (e[4] = l()),
147
- a("div", N, [
148
- p(m, {
151
+ a("div", O, [
152
+ p(g, {
149
153
  profile: "datasets",
150
154
  data: s.getDatasets,
151
155
  property: "dct:publisher",
@@ -159,7 +163,7 @@ function X(t, e, d, f, c, s) {
159
163
  a("b", null, i(t.$te("message.dataupload.datasets.issued.label") ? t.$t("message.dataupload.datasets.issued.label") : "Issued") + ":", 1)
160
164
  ]),
161
165
  e[2] || (e[2] = l()),
162
- a("a", null, i(new Date(s.checkIfPropertyValueSet(s.getDatasets, "dct:issued", "@value")).toDateString()), 1)
166
+ a("a", null, i(s.getDate(new Date(s.checkIfPropertyValueSet(s.getDatasets, "dct:issued", "@value")))), 1)
163
167
  ]),
164
168
  e[6] || (e[6] = l()),
165
169
  a("div", G, [
@@ -167,7 +171,7 @@ function X(t, e, d, f, c, s) {
167
171
  a("b", null, i(t.$te("message.dataupload.datasets.modified.label") ? t.$t("message.dataupload.datasets.modified.label") : "Updated") + ":", 1)
168
172
  ]),
169
173
  e[3] || (e[3] = l()),
170
- a("a", null, i(new Date(s.checkIfPropertyValueSet(s.getDatasets, "dct:modified", "@value")).toDateString()), 1)
174
+ a("a", null, i(s.getDate(new Date(s.checkIfPropertyValueSet(s.getDatasets, "dct:modified", "@value")))), 1)
171
175
  ])
172
176
  ])
173
177
  ]),
@@ -180,7 +184,7 @@ function X(t, e, d, f, c, s) {
180
184
  a("div", M, [
181
185
  a("table", F, [
182
186
  (o(!0), r(v, null, y(c.tableProperties, (n, u, D) => (o(), r("div", { key: D }, [
183
- p(m, {
187
+ p(g, {
184
188
  profile: "datasets",
185
189
  data: c.values,
186
190
  property: u,
@@ -199,7 +203,7 @@ function X(t, e, d, f, c, s) {
199
203
  dpiLocale: d.dpiLocale,
200
204
  distributions: s.getDistributions
201
205
  }, null, 8, ["dpiLocale", "distributions"])
202
- ])) : g("", !0),
206
+ ])) : m("", !0),
203
207
  e[14] || (e[14] = l()),
204
208
  s.getDatasets["dct:keyword"] != null && s.getDatasets["dct:keyword"][0]["@value"] != null && s.getDatasets["dct:keyword"].length > 0 ? (o(), r("div", W, [
205
209
  a("h2", z, [
@@ -218,8 +222,8 @@ function X(t, e, d, f, c, s) {
218
222
  }, i(n["@value"]), 9, Q)
219
223
  ]))), 128))
220
224
  ])
221
- ])) : g("", !0)
222
- ])) : g("", !0);
225
+ ])) : m("", !0)
226
+ ])) : m("", !0);
223
227
  }
224
228
  const le = /* @__PURE__ */ P(k, [["render", X]]);
225
229
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"DatasetOverview.vue.mjs","sources":["../../../../lib/data-provider-interface/views/OverviewPage/DatasetOverview.vue"],"sourcesContent":["<template>\n <div class=\"mt-2\" v-if=\"pageLoaded\">\n\n <div class=\"overviewHeader p-3\">\n <div class=\"firstRow d-flex \">\n <div class=\"datasetNotation dsd-title-tag d-flex align-items-center\"><span>\n {{ $te('message.metadata.dataset') ? $t('message.metadata.dataset') : 'Dataset' }}\n </span></div>\n <h1 class=\"dsTitle\"> {{ getTitle }}</h1>\n </div>\n <div class=\"secondRow d-flex justify-content-between\">\n <div class=\"dsCatalogue \">\n <span><b>{{ $te('message.metadata.catalog') ? $t('message.metadata.catalog') : 'Catalogue' }}:</b></span>\n <a href=\"\">\n {{ checkIfPropertySet(getDatasets, 'dcat:catalog') }}\n </a>\n </div>\n <div class=\"dsPublisher\">\n <PropertyEntry profile=\"datasets\" :data=\"getDatasets\" property='dct:publisher'\n :value=\"{ type: 'special', voc: 'corporate-body', label: 'message.metadata.publisher', isHeader: true }\"\n :dpiLocale=\"dpiLocale\"></PropertyEntry>\n </div>\n <div class=\"dsIssued \">\n <span><b>\n {{ $te('message.dataupload.datasets.issued.label') ? $t('message.dataupload.datasets.issued.label') : 'Issued' }}:</b></span>\n <a>\n {{ new Date(checkIfPropertyValueSet(getDatasets, 'dct:issued', '@value')).toDateString() }}\n <!-- {{ new Date(getDatasets['dct:modified']).toISOString().split('T')[0] }} -->\n </a>\n </div>\n <div class=\"dsUpdated \">\n <span><b>{{ $te('message.dataupload.datasets.modified.label') ? $t('message.dataupload.datasets.modified.label') : 'Updated' }}:</b></span>\n <a>\n {{ new Date(checkIfPropertyValueSet(getDatasets, 'dct:modified', '@value')).toDateString() }}\n <!-- {{ new Date(getDatasets['dct:modified']).toISOString().split('T')[0] }} -->\n </a>\n </div>\n </div>\n </div>\n <div class=\"dsMainWrap d-flex flex-column mt-3\">\n <div class=\"\">\n <p class=\"dsDesc px-3\">\n {{ getDescription }}\n </p>\n </div>\n <div class=\"\">\n\n <table class=\"table table-borderless table-responsive bg-light disOverview p-3\">\n <div v-for=\"(value, name, index) in tableProperties\" :key=\"index\">\n\n <PropertyEntry profile=\"datasets\" :data=\"values\" :property=\"name\" :value=\"value\"\n :dpiLocale=\"dpiLocale\"></PropertyEntry>\n </div>\n </table>\n </div>\n </div>\n <div class=\"dsDist b-top p-3\" v-if=\"getDistributions.length > 0\">\n <h2 class=\"my-4\">{{ $t('message.metadata.distributions') }} ({{ getDistributions.length }})</h2>\n <DistributionOverview :dpiLocale=\"dpiLocale\" :distributions=\"getDistributions\"></DistributionOverview>\n </div>\n <div class=\"dsKeywords b-top my-2 p-3\"\n v-if=\"getDatasets['dct:keyword'] != undefined && getDatasets['dct:keyword'][0]['@value'] != undefined && getDatasets['dct:keyword'].length > 0\">\n <h2 class=\"my-4\">Keywords <span>({{ getDatasets['dct:keyword'].length }})</span></h2>\n <div class=\"d-flex\">\n <span class=\"mx-1\"\n v-for=\"( element, index ) in getDatasets['dct:keyword'].filter(el => el['@language'] === dpiLocale)\"\n :key=\"index\">\n <small :title=\"element\"\n class=\"d-inline-block w-100 p-2 ml-1 rounded-pill text-center text-white text-truncate bg-primary\">\n {{ element['@value'] }}\n </small>\n </span>\n </div>\n </div>\n </div>\n</template>\n\n<script>\n\nimport PropertyEntry from './PropertyEntry.vue';\nimport DistributionOverview from './DistributionOverview.vue';\nimport { mapGetters, mapActions } from 'vuex';\nimport axios from 'axios';\n\nexport default {\n data() {\n return {\n values: [],\n pageLoaded: false,\n tableProperties: {\n 'dct:publisher': { type: 'special', voc: 'corporate-body', label: 'message.metadata.publisher' },\n 'dcat:contactPoint': { type: 'special', voc: '', label: 'message.metadata.contactPoints' },\n 'dct:creator': { type: 'special', voc: '', label: 'message.metadata.creator' },\n // 'dct:issued': { type: 'date', label: 'message.metadata.created' },\n // 'dct:modified': { type: 'date', label: 'message.metadata.updated' },\n 'dct:language': { type: 'multiURI', voc: 'language', label: 'message.metadata.languages' },\n 'dct:subject': { type: 'multiURI', voc: 'eurovoc', label: 'message.dataupload.datasets.subject.label' },\n 'dcat:theme': { type: 'multiURI', voc: 'data-theme', label: 'message.dataupload.datasets.theme.label' },\n 'dct:type': { type: 'singularURI', voc: 'dataset-type', label: 'message.metadata.type' },\n 'dct:source': { type: 'multiURL', voc: '', label: 'message.metadata.sources' },\n 'dct:identifier': { type: 'multiString', voc: '', label: 'message.metadata.identifiers' },\n 'adms:identifier': { type: 'special', voc: '', label: 'message.metadata.otherIdentifiers' },\n 'foaf:page': { type: 'special', voc: '', label: 'message.dataupload.datasets.page.label' },\n 'dcat:landingPage': { type: 'multiURL', voc: '', label: 'message.metadata.landingPage' },\n 'dct:provenance': { type: 'multiString', voc: '', label: 'message.metadata.provenances' },\n 'dct:accrualPeriodicity': { type: 'singularURI', voc: 'frequency', label: 'message.metadata.accrualPeriodicity' },\n 'dct:accessRights': { type: 'singularURI', voc: 'access-right', label: 'message.metadata.accessRights' },\n 'dct:conformsTo': { type: 'special', voc: '', label: 'message.metadata.conformsTo' },\n 'dct:relation': { type: 'multiURL', voc: '', label: 'message.dataupload.datasets.relation.label' },\n 'dcat:qualifiedRelation': { type: 'multiURL', voc: '', label: 'message.dataupload.datasets.qualifiedRelation.label' },\n 'prov:qualifiedAttribution': { type: 'multiURL', voc: '', label: 'message.dataupload.datasets.qualifiedAttribution.label' },\n 'dct:spatial': { type: 'multiURI', voc: '', label: 'message.metadata.spatial' },\n 'dcat:spatialResolutionInMeters': { type: 'singularString', voc: '', label: 'message.dataupload.datasets.spatialResolutionInMeters.label' },\n 'dct:temporal': { type: 'special', voc: '', label: 'message.metadata.temporal' },\n 'dcat:temporalResolution': { type: 'special', voc: '', label: 'message.dataupload.datasets.temporalResolution.label' },\n 'dct:isReferencedBy': { type: 'multiURL', voc: '', label: 'message.dataupload.datasets.isReferencedBy.label' },\n 'prov:wasGeneratedBy': { type: 'multiURL', voc: '', label: 'message.dataupload.datasets.wasGeneratedBy.label' },\n 'dct:isVersionOf': { type: 'multiURL', voc: '', label: 'message.metadata.isVersionOf' },\n 'dext:metadataExtension': { type: 'multiURL', voc: '', label: 'message.dataupload.datasets.isUsedBy.label' },\n 'dct:hasVersion': { type: 'multiURL', voc: '', label: 'message.metadata.hasVersion' },\n 'owl:versionInfo': { type: 'singularString', voc: '', label: 'message.metadata.versionInfo' },\n 'adms:versionNotes': { type: 'multiLingual', voc: '', label: 'message.metadata.versionNotes' },\n 'dcatde:qualityProcessURI': { type: 'singularURI', voc: '', label: 'message.dataupload.datasets.qualityProcessURI.label' },\n 'dct:references': { type: 'singularURI', voc: '', label: 'message.dataupload.datasets.references.label' },\n 'dcatde:legalBasis': { type: 'multiLingual', voc: '', label: 'message.dataupload.datasets.legalBasis.label' },\n 'dct:contributor': { type: 'special', voc: '', label: 'message.dataupload.datasets.contributor.label' },\n 'dcatde:contributorID': { type: 'multiURI', voc: 'contributors', label: 'message.dataupload.datasets.contributorID.label' },\n 'dcatde:originator': { type: 'special', voc: '', label: 'message.dataupload.datasets.originator.label' },\n 'dcatde:maintainer': { type: 'special', voc: '', label: 'message.dataupload.datasets.maintainer.label' },\n 'dcatap:availability': { type: 'singularURI', voc: 'planned-availability', label: 'message.dataupload.datasets.availabilityDE.label' },\n 'dcatde:geocodingDescription': { type: 'multiLingual', voc: '', label: 'message.dataupload.datasets.geocodingDescription.label' },\n 'dcatde:politicalGeocodingLevelURI': { type: 'multiURI', voc: '', label: 'message.dataupload.datasets.politicalGeocodingLevelURI.label' },\n 'dcatde:politicalGeocodingURI': { type: 'multiURI', voc: 'political-geocoding-level', label: 'message.dataupload.datasets.politicalGeocodingURI.label' },\n }\n }\n },\n props: {\n dpiLocale: String,\n\n },\n components: {\n PropertyEntry,\n DistributionOverview,\n },\n computed: {\n ...mapGetters('dpiStore', [\n 'getData',\n ]),\n getDatasets() {\n return this.values;\n },\n getDistributions() {\n return this.getDatasets['distributionList'] || [];\n },\n showTable() {\n return Object.keys(this.tableProperties).filter(prop => this.getDatasets[prop]).length > 0;\n },\n storeData() {\n return this.getData('datasets')\n },\n getTitle() {\n return this.getDatasets['dct:title'] && this.getDatasets['dct:title'].filter(el => el['@language'] === this.dpiLocale).map(el => el['@value'])[0];\n },\n getDescription() {\n return this.getDatasets['dct:description'] && this.getDatasets['dct:description'].filter(el => el['@language'] === this.dpiLocale).map(el => el['@value'])[0];\n },\n },\n methods: {\n ...mapActions(\"dpiStore\", [\n \"requestFirstEntrySuggestions\",\n \"requestAutocompleteSuggestions\",\n ]),\n checkIfPropertySet(data, property) {\n if (data[property] != undefined) return data[property]\n else {\n return '-'\n // return \"No data available\"\n }\n },\n checkIfPropertyValueSet(data, property, value) {\n if (data[property] != undefined && data[property][value] != undefined) return data[property][value]\n else {\n return '-'\n // return \"No data available\"\n }\n },\n async reqName(URI) {\n let nameOfProperty = URI.split('/')\n let req = `${this.$env.api.baseUrl}vocabularies/${nameOfProperty[nameOfProperty.length - 2]}/${nameOfProperty[nameOfProperty.length - 1]}`\n\n const data = await axios.get(req)\n return data['data']['result']['pref_label'][this.dpiLocale]\n }\n },\n async mounted() {\n this.$nextTick(() => {\n this.pageLoaded = true;\n this.values = this.getData('datasets');\n })\n\n\n },\n watch: {\n storeData(newValue, oldValue) {\n this.values = newValue\n }\n }\n}\n</script>\n\n<style>\n.overviewHeader {\n border-bottom: 1px solid lightgray\n}\n\n.firstRow {\n align-items: center;\n}\n\n.dsDist td:first-child {\n padding: 1rem;\n width: 25%;\n\n}\n\n.disOverview td:first-child {\n min-width: 25%;\n}\n\n.disOverview td:last-child {\n width: 75%;\n}\n\n.b-top {\n border-top: 1px solid lightgray\n}\n\n.dist-edit {\n cursor: pointer\n}\n</style>\n"],"names":["_sfc_main","PropertyEntry","DistributionOverview","mapGetters","prop","el","mapActions","data","property","value","URI","nameOfProperty","req","axios","newValue","oldValue","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_18","_hoisted_20","_hoisted_21","_hoisted_22","$data","_openBlock","_createElementBlock","_hoisted_1","_createElementVNode","_toDisplayString","_ctx","_cache","_createTextVNode","$options","_createVNode","_component_PropertyEntry","$props","_Fragment","_renderList","name","index","_hoisted_17","_component_DistributionOverview","_createCommentVNode","_hoisted_19","element"],"mappings":";;;;;;;AAoFA,MAAKA,IAAU;AAAA,EACX,OAAO;AACH,WAAO;AAAA,MACH,QAAQ,CAAE;AAAA,MACV,YAAY;AAAA,MACZ,iBAAiB;AAAA,QACb,iBAAiB,EAAE,MAAM,WAAW,KAAK,kBAAkB,OAAO,6BAA8B;AAAA,QAChG,qBAAqB,EAAE,MAAM,WAAW,KAAK,IAAI,OAAO,iCAAkC;AAAA,QAC1F,eAAe,EAAE,MAAM,WAAW,KAAK,IAAI,OAAO,2BAA4B;AAAA;AAAA;AAAA,QAG9E,gBAAgB,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,OAAOiB;AAAA,YACX,OAAM;AAAA,UACH,GAAAhB,EAAAgB,EArE3B,QAAA,CAAA,GAAA,GAAAtB,CAAA;AAAA;;UAAAoB,EAAA,IAAA,EAAA;AAAA,QAAAA,EAAA,IAAA,EAAA;;;"}
1
+ {"version":3,"file":"DatasetOverview.vue.mjs","sources":["../../../../lib/data-provider-interface/views/OverviewPage/DatasetOverview.vue"],"sourcesContent":["<template>\n <div class=\"mt-2\" v-if=\"pageLoaded\">\n\n <div class=\"overviewHeader p-3\">\n <div class=\"firstRow d-flex \">\n <div class=\"datasetNotation dsd-title-tag d-flex align-items-center\"><span>\n {{ $te('message.metadata.dataset') ? $t('message.metadata.dataset') : 'Dataset' }}\n </span></div>\n <h1 class=\"dsTitle\"> {{ getTitle }}</h1>\n </div>\n <div class=\"secondRow d-flex justify-content-between\">\n <div class=\"dsCatalogue \">\n <span><b>{{ $te('message.metadata.catalog') ? $t('message.metadata.catalog') : 'Catalogue'\n }}:</b></span>\n <a href=\"\">\n {{ checkIfPropertySet(getDatasets, 'dcat:catalog') }}\n </a>\n </div>\n <div class=\"dsPublisher\">\n <PropertyEntry profile=\"datasets\" :data=\"getDatasets\" property='dct:publisher'\n :value=\"{ type: 'special', voc: 'corporate-body', label: 'message.metadata.publisher', isHeader: true }\"\n :dpiLocale=\"dpiLocale\"></PropertyEntry>\n </div>\n <div class=\"dsIssued \">\n <span><b>\n {{ $te('message.dataupload.datasets.issued.label') ?\n $t('message.dataupload.datasets.issued.label') : 'Issued' }}:</b></span>\n <a>\n {{ getDate(new Date(checkIfPropertyValueSet(getDatasets, 'dct:issued', '@value'))) }}\n </a>\n </div>\n <div class=\"dsUpdated \">\n <span><b>{{ $te('message.dataupload.datasets.modified.label') ?\n $t('message.dataupload.datasets.modified.label') : 'Updated' }}:</b></span>\n <a>\n {{ getDate(new Date(checkIfPropertyValueSet(getDatasets, 'dct:modified', '@value')))}}\n </a>\n </div>\n </div>\n </div>\n <div class=\"dsMainWrap d-flex flex-column mt-3\">\n <div class=\"\">\n <p class=\"dsDesc px-3\">\n {{ getDescription }}\n </p>\n </div>\n <div class=\"\">\n\n <table class=\"table table-borderless table-responsive bg-light disOverview p-3\">\n <div v-for=\"(value, name, index) in tableProperties\" :key=\"index\">\n\n <PropertyEntry profile=\"datasets\" :data=\"values\" :property=\"name\" :value=\"value\"\n :dpiLocale=\"dpiLocale\"></PropertyEntry>\n </div>\n </table>\n </div>\n </div>\n <div class=\"dsDist b-top p-3\" v-if=\"getDistributions.length > 0\">\n <h2 class=\"my-4\">{{ $t('message.metadata.distributions') }} ({{ getDistributions.length }})</h2>\n <DistributionOverview :dpiLocale=\"dpiLocale\" :distributions=\"getDistributions\"></DistributionOverview>\n </div>\n <div class=\"dsKeywords b-top my-2 p-3\"\n v-if=\"getDatasets['dct:keyword'] != undefined && getDatasets['dct:keyword'][0]['@value'] != undefined && getDatasets['dct:keyword'].length > 0\">\n <h2 class=\"my-4\">Keywords <span>({{ getDatasets['dct:keyword'].length }})</span></h2>\n <div class=\"d-flex\">\n <span class=\"mx-1\"\n v-for=\"( element, index ) in getDatasets['dct:keyword'].filter(el => el['@language'] === dpiLocale)\"\n :key=\"index\">\n <small :title=\"element\"\n class=\"d-inline-block w-100 p-2 ml-1 rounded-pill text-center text-white text-truncate bg-primary\">\n {{ element['@value'] }}\n </small>\n </span>\n </div>\n </div>\n </div>\n</template>\n\n<script>\n\nimport PropertyEntry from './PropertyEntry.vue';\nimport DistributionOverview from './DistributionOverview.vue';\nimport { mapGetters, mapActions } from 'vuex';\nimport axios from 'axios';\n\nexport default {\n data() {\n return {\n values: [],\n pageLoaded: false,\n tableProperties: {\n 'dct:publisher': { type: 'special', voc: 'corporate-body', label: 'message.metadata.publisher' },\n 'dcat:contactPoint': { type: 'special', voc: '', label: 'message.metadata.contactPoints' },\n 'dct:creator': { type: 'special', voc: '', label: 'message.metadata.creator' },\n // 'dct:issued': { type: 'date', label: 'message.metadata.created' },\n // 'dct:modified': { type: 'date', label: 'message.metadata.updated' },\n 'dct:language': { type: 'multiURI', voc: 'language', label: 'message.metadata.languages' },\n 'dct:subject': { type: 'multiURI', voc: 'eurovoc', label: 'message.dataupload.datasets.subject.label' },\n 'dcat:theme': { type: 'multiURI', voc: 'data-theme', label: 'message.dataupload.datasets.theme.label' },\n 'dct:type': { type: 'singularURI', voc: 'dataset-type', label: 'message.metadata.type' },\n 'dct:source': { type: 'multiURL', voc: '', label: 'message.metadata.sources' },\n 'dct:identifier': { type: 'multiString', voc: '', label: 'message.metadata.identifiers' },\n 'adms:identifier': { type: 'special', voc: '', label: 'message.metadata.otherIdentifiers' },\n 'foaf:page': { type: 'special', voc: '', label: 'message.dataupload.datasets.page.label' },\n 'dcat:landingPage': { type: 'multiURL', voc: '', label: 'message.metadata.landingPage' },\n 'dct:provenance': { type: 'multiString', voc: '', label: 'message.metadata.provenances' },\n 'dct:accrualPeriodicity': { type: 'singularURI', voc: 'frequency', label: 'message.metadata.accrualPeriodicity' },\n 'dct:accessRights': { type: 'singularURI', voc: 'access-right', label: 'message.metadata.accessRights' },\n 'dct:conformsTo': { type: 'special', voc: '', label: 'message.metadata.conformsTo' },\n 'dct:relation': { type: 'multiURL', voc: '', label: 'message.dataupload.datasets.relation.label' },\n 'dcat:qualifiedRelation': { type: 'multiURL', voc: '', label: 'message.dataupload.datasets.qualifiedRelation.label' },\n 'prov:qualifiedAttribution': { type: 'multiURL', voc: '', label: 'message.dataupload.datasets.qualifiedAttribution.label' },\n 'dct:spatial': { type: 'multiURI', voc: '', label: 'message.metadata.spatial' },\n 'dcat:spatialResolutionInMeters': { type: 'singularString', voc: '', label: 'message.dataupload.datasets.spatialResolutionInMeters.label' },\n 'dct:temporal': { type: 'special', voc: '', label: 'message.metadata.temporal' },\n 'dcat:temporalResolution': { type: 'special', voc: '', label: 'message.dataupload.datasets.temporalResolution.label' },\n 'dct:isReferencedBy': { type: 'multiURL', voc: '', label: 'message.dataupload.datasets.isReferencedBy.label' },\n 'prov:wasGeneratedBy': { type: 'multiURL', voc: '', label: 'message.dataupload.datasets.wasGeneratedBy.label' },\n 'dct:isVersionOf': { type: 'multiURL', voc: '', label: 'message.metadata.isVersionOf' },\n 'dext:metadataExtension': { type: 'multiURL', voc: '', label: 'message.dataupload.datasets.isUsedBy.label' },\n 'dct:hasVersion': { type: 'multiURL', voc: '', label: 'message.metadata.hasVersion' },\n 'owl:versionInfo': { type: 'singularString', voc: '', label: 'message.metadata.versionInfo' },\n 'adms:versionNotes': { type: 'multiLingual', voc: '', label: 'message.metadata.versionNotes' },\n 'dcatde:qualityProcessURI': { type: 'singularURI', voc: '', label: 'message.dataupload.datasets.qualityProcessURI.label' },\n 'dct:references': { type: 'singularURI', voc: '', label: 'message.dataupload.datasets.references.label' },\n 'dcatde:legalBasis': { type: 'multiLingual', voc: '', label: 'message.dataupload.datasets.legalBasis.label' },\n 'dct:contributor': { type: 'special', voc: '', label: 'message.dataupload.datasets.contributor.label' },\n 'dcatde:contributorID': { type: 'multiURI', voc: 'contributors', label: 'message.dataupload.datasets.contributorID.label' },\n 'dcatde:originator': { type: 'special', voc: '', label: 'message.dataupload.datasets.originator.label' },\n 'dcatde:maintainer': { type: 'special', voc: '', label: 'message.dataupload.datasets.maintainer.label' },\n 'dcatap:availability': { type: 'singularURI', voc: 'planned-availability', label: 'message.dataupload.datasets.availabilityDE.label' },\n 'dcatde:geocodingDescription': { type: 'multiLingual', voc: '', label: 'message.dataupload.datasets.geocodingDescription.label' },\n 'dcatde:politicalGeocodingLevelURI': { type: 'multiURI', voc: '', label: 'message.dataupload.datasets.politicalGeocodingLevelURI.label' },\n 'dcatde:politicalGeocodingURI': { type: 'multiURI', voc: 'political-geocoding-level', label: 'message.dataupload.datasets.politicalGeocodingURI.label' },\n }\n }\n },\n props: {\n dpiLocale: String,\n\n },\n components: {\n PropertyEntry,\n DistributionOverview,\n },\n computed: {\n ...mapGetters('dpiStore', [\n 'getData',\n ]),\n getDatasets() {\n return this.values;\n },\n getDistributions() {\n return this.getDatasets['distributionList'] || [];\n },\n showTable() {\n return Object.keys(this.tableProperties).filter(prop => this.getDatasets[prop]).length > 0;\n },\n storeData() {\n return this.getData('datasets')\n },\n getTitle() {\n return this.getDatasets['dct:title'] && this.getDatasets['dct:title'].filter(el => el['@language'] === this.dpiLocale).map(el => el['@value'])[0];\n },\n getDescription() {\n return this.getDatasets['dct:description'] && this.getDatasets['dct:description'].filter(el => el['@language'] === this.dpiLocale).map(el => el['@value'])[0];\n },\n },\n methods: {\n ...mapActions(\"dpiStore\", [\n \"requestFirstEntrySuggestions\",\n \"requestAutocompleteSuggestions\",\n ]),\n checkIfPropertySet(data, property) {\n if (data[property] != undefined) return data[property]\n else {\n return '-'\n // return \"No data available\"\n }\n },\n getDate(date) {\n let options = {};\n if (this.dpiLocale === 'de') {\n options = { year: 'numeric', month: 'long', day: 'numeric' };\n return date.toLocaleDateString('de-DE', options);\n }\n else {\n options = { year: 'numeric', month: 'long', day: 'numeric' };\n return date.toLocaleDateString('en-EN', options);\n }\n\n\n },\n checkIfPropertyValueSet(data, property, value) {\n if (data[property] != undefined && data[property][value] != undefined) return data[property][value]\n else {\n return '-'\n // return \"No data available\"\n }\n },\n async reqName(URI) {\n let nameOfProperty = URI.split('/')\n let req = `${this.$env.api.baseUrl}vocabularies/${nameOfProperty[nameOfProperty.length - 2]}/${nameOfProperty[nameOfProperty.length - 1]}`\n\n const data = await axios.get(req)\n return data['data']['result']['pref_label'][this.dpiLocale]\n }\n },\n async mounted() {\n this.$nextTick(() => {\n this.pageLoaded = true;\n this.values = this.getData('datasets');\n })\n\n\n },\n watch: {\n storeData(newValue, oldValue) {\n this.values = newValue\n }\n }\n}\n</script>\n\n<style>\n.overviewHeader {\n border-bottom: 1px solid lightgray\n}\n\n.firstRow {\n align-items: center;\n}\n\n.dsDist td:first-child {\n padding: 1rem;\n width: 25%;\n\n}\n\n.disOverview td:first-child {\n min-width: 25%;\n}\n\n.disOverview td:last-child {\n width: 75%;\n}\n\n.b-top {\n border-top: 1px solid lightgray\n}\n\n.dist-edit {\n cursor: pointer\n}\n</style>\n"],"names":["_sfc_main","PropertyEntry","DistributionOverview","mapGetters","prop","el","mapActions","data","property","date","options","value","URI","nameOfProperty","req","axios","newValue","oldValue","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_18","_hoisted_20","_hoisted_21","_hoisted_22","$data","_openBlock","_createElementBlock","_hoisted_1","_createElementVNode","_toDisplayString","_ctx","_cache","_createTextVNode","$options","_createVNode","_component_PropertyEntry","$props","_Fragment","_renderList","name","index","_hoisted_17","_component_DistributionOverview","_createCommentVNode","_hoisted_19","element"],"mappings":";;;;;;;AAqFA,MAAKA,IAAU;AAAA,EACX,OAAO;AACH,WAAO;AAAA,MACH,QAAQ,CAAE;AAAA,MACV,YAAY;AAAA,MACZ,iBAAiB;AAAA,QACb,iBAAiB,EAAE,MAAM,WAAW,KAAK,kBAAkB,OAAO,6BAA8B;AAAA,QAChG,qBAAqB,EAAE,MAAM,WAAW,KAAK,IAAI,OAAO,iCAAkC;AAAA,QAC1F,eAAe,EAAE,MAAM,WAAW,KAAK,IAAI,OAAO,2BAA4B;AAAA;AAAA;AAAA,QAG9E,gBAAgB,EAAE,MAAM,YAAY,KAAK,YAAY,OAAO,6BAA8B;AAAA,QAC1F,eAAe,EAAE,MAAM,YAAY,KAAK,WAAW,OAAO,4CAA6C;AAAA,QACvG,cAAc,EAAE,MAAM,YAAY,KAAK,cAAc,OAAO,0CAA2C;AAAA,QACvG,YAAY,EAAE,MAAM,eAAe,KAAK,gBAAgB,OAAO,wBAAyB;AAAA,QACxF,cAAc,EAAE,MAAM,YAAY,KAAK,IAAI,OAAO,2BAA4B;AAAA,QAC9E,kBAAkB,EAAE,MAAM,eAAe,KAAK,IAAI,OAAO,+BAAgC;AAAA,QACzF,mBAAmB,EAAE,MAAM,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AAAA;;UAAAoB,EAAA,IAAA,EAAA;AAAA,QAAAA,EAAA,IAAA,EAAA;;;"}
@@ -246,6 +246,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
246
246
  inHeader: StringConstructor;
247
247
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
248
248
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
249
+ MultilingualProp: import('vue').DefineComponent<{}, {
250
+ value?: Record<string, any> | undefined;
251
+ data?: Record<string, any> | undefined;
252
+ property?: Record<string, any> | undefined;
253
+ dpiLocale?: Record<string, any> | undefined;
254
+ $props: {
255
+ readonly value?: Record<string, any> | undefined;
256
+ readonly data?: Record<string, any> | undefined;
257
+ readonly property?: Record<string, any> | undefined;
258
+ readonly dpiLocale?: Record<string, any> | undefined;
259
+ };
260
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
249
261
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
250
262
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
251
263
  export default _default;
@@ -1,11 +1,11 @@
1
- import { mapGetters as w } from "vuex";
1
+ import { mapGetters as L } from "vuex";
2
2
  import k from "./PropertyEntry.vue.mjs";
3
- import { has as L, isNil as _, isEmpty as D } from "lodash-es";
3
+ import { has as w, isNil as _, isEmpty as D } from "lodash-es";
4
4
  import { truncate as I } from "../../../utils/helpers.mjs";
5
5
  import R from "../../utils/general-helper.mjs";
6
- import { resolveComponent as U, openBlock as t, createElementBlock as a, createElementVNode as o, toDisplayString as n, createTextVNode as d, Fragment as v, renderList as y, createVNode as b, createCommentVNode as f } from "vue";
6
+ import { resolveComponent as S, openBlock as t, createElementBlock as a, createElementVNode as o, toDisplayString as n, createTextVNode as i, Fragment as y, renderList as v, createVNode as f, createCommentVNode as b } from "vue";
7
7
  import "./DistributionOverview.vue2.mjs";
8
- import S from "../../../_virtual/_plugin-vue_export-helper.mjs";
8
+ import U from "../../../_virtual/_plugin-vue_export-helper.mjs";
9
9
  const C = {
10
10
  props: {
11
11
  dpiLocale: String,
@@ -17,7 +17,7 @@ const C = {
17
17
  PropertyEntry: k
18
18
  },
19
19
  computed: {
20
- ...w("dpiStore", [
20
+ ...L("dpiStore", [
21
21
  "getData"
22
22
  ]),
23
23
  distributionList() {
@@ -39,7 +39,7 @@ const C = {
39
39
  }
40
40
  },
41
41
  showValue(s, e) {
42
- return L(s, e) && !_(s[e]) && !D(s[e]);
42
+ return w(s, e) && !_(s[e]) && !D(s[e]);
43
43
  },
44
44
  unfoldDisDetails(s) {
45
45
  document.getElementsByClassName("tdWrap")[s].classList.toggle("dropShdw"), document.getElementsByClassName("bi-chevron-down")[s].classList.toggle("turnChev"), document.getElementsByClassName("disInfoWrap")[s].classList.toggle("openDisDetails");
@@ -73,61 +73,67 @@ const C = {
73
73
  }
74
74
  };
75
75
  }
76
- }, B = { class: "w-100 disDetailsWrap" }, N = { class: "tHeadWrap" }, E = { class: "" }, P = { class: "" }, W = { class: "" }, T = { class: "" }, F = {
76
+ }, B = { class: "w-100 disDetailsWrap" }, N = { class: "tHeadWrap" }, E = { class: "" }, P = { class: "" }, W = { class: "" }, T = { class: "" }, F = { class: "" }, M = {
77
77
  key: 0,
78
78
  class: "tdWrap"
79
- }, M = { key: 0 }, V = { key: 1 }, x = { key: 2 }, z = { key: 3 }, H = { key: 4 }, O = { key: 5 }, j = ["onClick"], A = {
79
+ }, V = { key: 0 }, z = { key: 1 }, H = { key: 2 }, x = { key: 3 }, O = { key: 4 }, j = { key: 5 }, A = { key: 6 }, q = { key: 7 }, G = ["onClick"], J = {
80
80
  key: 1,
81
81
  class: "tdWrap grey"
82
- }, q = { key: 0 }, G = { key: 1 }, J = { key: 2 }, K = { key: 3 }, Q = { key: 4 }, X = { key: 5 }, Y = ["onClick"], Z = { class: "disInfoWrap" }, $ = {
82
+ }, K = { key: 0 }, Q = { key: 1 }, X = { key: 2 }, Y = { key: 3 }, Z = { key: 4 }, $ = { key: 5 }, ee = { key: 6 }, te = { key: 7 }, ae = ["onClick"], se = { class: "disInfoWrap" }, le = {
83
83
  key: 0,
84
84
  class: "list list-unstyled"
85
- }, ee = { class: "mb-3 disDetails" }, te = { class: "row bg-light mb-2" }, ae = {
85
+ }, oe = { class: "mb-3 disDetails" }, de = { class: "row bg-light mb-2" }, ie = {
86
86
  key: 0,
87
87
  class: "table table-borderless table-responsive pl-3 bg-light mb-0"
88
- }, se = { class: "font-weight-bold w-25" }, le = { class: "w-75" }, oe = ["href"], ie = { class: "table table-borderless table-responsive pl-3 bg-light" };
89
- function de(s, e, m, ne, c, p) {
90
- const u = U("PropertyEntry");
88
+ }, ne = { class: "font-weight-bold w-25" }, re = { class: "w-75" }, me = ["href"], pe = { class: "table table-borderless table-responsive pl-3 bg-light" };
89
+ function ce(s, e, r, ue, c, p) {
90
+ const u = S("PropertyEntry");
91
91
  return t(), a("div", null, [
92
92
  o("div", B, [
93
93
  o("div", N, [
94
94
  o("p", E, n(s.$t("message.dataupload.datasets.distribution.overview.name")), 1),
95
- e[0] || (e[0] = d()),
95
+ e[0] || (e[0] = i()),
96
96
  o("p", P, n(s.$t("message.metadata.format")), 1),
97
- e[1] || (e[1] = d()),
97
+ e[1] || (e[1] = i()),
98
98
  o("p", W, n(s.$t("message.metadata.updated")), 1),
99
- e[2] || (e[2] = d()),
100
- o("p", T, n(s.$t("message.dataupload.info.actions")), 1)
99
+ e[2] || (e[2] = i()),
100
+ o("p", T, n(s.$t("message.metadata.issued")), 1),
101
+ e[3] || (e[3] = i()),
102
+ o("p", F, n(s.$t("message.dataupload.info.actions")), 1)
101
103
  ]),
102
- e[16] || (e[16] = d()),
103
- (t(!0), a(v, null, y(p.distributionList, (i, r) => (t(), a("div", {
104
- key: "distribution" + r
104
+ e[19] || (e[19] = i()),
105
+ (t(!0), a(y, null, v(p.distributionList, (l, m) => (t(), a("div", {
106
+ key: "distribution" + m
105
107
  }, [
106
- r % 2 == 0 ? (t(), a("div", F, [
107
- i["dct:title"] != null && i["dct:title"].filter((l) => l["@language"] === m.dpiLocale).map((l) => l["@value"])[0] ? (t(), a("p", M, n(i["dct:title"].filter((l) => l["@language"] === m.dpiLocale).map((l) => l["@value"])[0]), 1)) : (t(), a("p", V, n(s.$t("message.dataupload.datasets.distribution.overview.notitleinthislanguage")), 1)),
108
- e[4] || (e[4] = d()),
109
- i["dct:format"] != "" || Object.keys(i["dct:format"]).length != 0 ? (t(), a("p", x, [
110
- b(u, {
108
+ m % 2 == 0 ? (t(), a("div", M, [
109
+ l["dct:title"] != null && l["dct:title"].filter((d) => d["@language"] === r.dpiLocale).map((d) => d["@value"])[0] ? (t(), a("p", V, n(l["dct:title"].filter((d) => d["@language"] === r.dpiLocale).map((d) => d["@value"])[0]), 1)) : (t(), a("p", z, n(s.$t("message.dataupload.datasets.distribution.overview.notitleinthislanguage")), 1)),
110
+ e[5] || (e[5] = i()),
111
+ l["dct:format"] != "" || Object.keys(l["dct:format"]).length != 0 ? (t(), a("p", H, [
112
+ f(u, {
111
113
  profile: "distributions",
112
- data: p.distributionList[r],
114
+ data: p.distributionList[m],
113
115
  property: "dct:format",
114
116
  value: c.tableProperties["dct:format"],
115
- dpiLocale: m.dpiLocale,
116
- distId: r,
117
+ dpiLocale: r.dpiLocale,
118
+ distId: m,
117
119
  inHeader: !0
118
120
  }, null, 8, ["data", "value", "dpiLocale", "distId"])
119
- ])) : (t(), a("p", z, n(s.$t("message.dataupload.datasets.distribution.overview.noformatprovided")), 1)),
120
- e[5] || (e[5] = d()),
121
- i["dct:modified"] != null && i["dct:modified"] ? (t(), a("p", H, n(new Date(i["dct:modified"]["@value"]).toDateString()), 1)) : (t(), a("p", O, `
121
+ ])) : (t(), a("p", x, n(s.$t("message.dataupload.datasets.distribution.overview.noformatprovided")), 1)),
122
+ e[6] || (e[6] = i()),
123
+ l["dct:modified"] != null && l["dct:modified"] ? (t(), a("p", O, n(new Date(l["dct:modified"]["@value"]).toLocaleDateString(r.dpiLocale)), 1)) : (t(), a("p", j, `
122
124
  -
123
125
  `)),
124
- e[6] || (e[6] = d()),
126
+ e[7] || (e[7] = i()),
127
+ l["dct:issued"] != null && l["dct:modified"] ? (t(), a("p", A, n(new Date(l["dct:issued"]["@value"]).toLocaleDateString(r.dpiLocale)), 1)) : (t(), a("p", q, `
128
+ -
129
+ `)),
130
+ e[8] || (e[8] = i()),
125
131
  o("p", null, [
126
132
  o("a", {
127
133
  class: "moreDisInfoBtn",
128
- onClick: (l) => p.unfoldDisDetails(r)
129
- }, e[3] || (e[3] = [
130
- d(`
134
+ onClick: (d) => p.unfoldDisDetails(m)
135
+ }, e[4] || (e[4] = [
136
+ i(`
131
137
  More information
132
138
  `),
133
139
  o("svg", {
@@ -143,33 +149,37 @@ function de(s, e, m, ne, c, p) {
143
149
  d: "M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"
144
150
  })
145
151
  ], -1)
146
- ]), 8, j)
152
+ ]), 8, G)
147
153
  ])
148
- ])) : (t(), a("div", A, [
149
- i["dct:title"] != null && i["dct:title"].filter((l) => l["@language"] === m.dpiLocale).map((l) => l["@value"])[0] ? (t(), a("p", q, n(i["dct:title"].filter((l) => l["@language"] === m.dpiLocale).map((l) => l["@value"])[0]), 1)) : (t(), a("p", G, n(s.$t("message.dataupload.datasets.distribution.overview.notitleinthislanguage")), 1)),
150
- e[8] || (e[8] = d()),
151
- i["dct:format"] != null ? (t(), a("p", J, [
152
- b(u, {
154
+ ])) : (t(), a("div", J, [
155
+ l["dct:title"] != null && l["dct:title"].filter((d) => d["@language"] === r.dpiLocale).map((d) => d["@value"])[0] ? (t(), a("p", K, n(l["dct:title"].filter((d) => d["@language"] === r.dpiLocale).map((d) => d["@value"])[0]), 1)) : (t(), a("p", Q, n(s.$t("message.dataupload.datasets.distribution.overview.notitleinthislanguage")), 1)),
156
+ e[10] || (e[10] = i()),
157
+ l["dct:format"] != null ? (t(), a("p", X, [
158
+ f(u, {
153
159
  profile: "distributions",
154
- data: p.distributionList[r],
160
+ data: p.distributionList[m],
155
161
  property: "dct:format",
156
162
  value: c.tableProperties["dct:format"],
157
- dpiLocale: m.dpiLocale,
158
- distId: r,
163
+ dpiLocale: r.dpiLocale,
164
+ distId: m,
159
165
  inHeader: !0
160
166
  }, null, 8, ["data", "value", "dpiLocale", "distId"])
161
- ])) : (t(), a("p", K, n(s.$t("message.dataupload.datasets.distribution.overview.noformatprovided")), 1)),
162
- e[9] || (e[9] = d()),
163
- i["dct:modified"] != null && i["dct:modified"] ? (t(), a("p", Q, n(new Date(i["dct:modified"]["@value"]).toDateString()), 1)) : (t(), a("p", X, `
167
+ ])) : (t(), a("p", Y, n(s.$t("message.dataupload.datasets.distribution.overview.noformatprovided")), 1)),
168
+ e[11] || (e[11] = i()),
169
+ l["dct:modified"] != null && l["dct:modified"] ? (t(), a("p", Z, n(new Date(l["dct:modified"]["@value"]).toLocaleDateString(r.dpiLocale)), 1)) : (t(), a("p", $, `
170
+ -
171
+ `)),
172
+ e[12] || (e[12] = i()),
173
+ l["dct:issued"] != null && l["dct:modified"] ? (t(), a("p", ee, n(new Date(l["dct:issued"]["@value"]).toLocaleDateString(r.dpiLocale)), 1)) : (t(), a("p", te, `
164
174
  -
165
175
  `)),
166
- e[10] || (e[10] = d()),
176
+ e[13] || (e[13] = i()),
167
177
  o("p", null, [
168
178
  o("a", {
169
179
  class: "moreDisInfoBtn",
170
- onClick: (l) => p.unfoldDisDetails(r)
171
- }, e[7] || (e[7] = [
172
- d(`
180
+ onClick: (d) => p.unfoldDisDetails(m)
181
+ }, e[9] || (e[9] = [
182
+ i(`
173
183
  More information
174
184
  `),
175
185
  o("svg", {
@@ -185,56 +195,56 @@ function de(s, e, m, ne, c, p) {
185
195
  d: "M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"
186
196
  })
187
197
  ], -1)
188
- ]), 8, Y)
198
+ ]), 8, ae)
189
199
  ])
190
200
  ])),
191
- e[15] || (e[15] = d()),
192
- o("div", Z, [
193
- m.distributions.length > 0 ? (t(), a("ul", $, [
201
+ e[18] || (e[18] = i()),
202
+ o("div", se, [
203
+ r.distributions.length > 0 ? (t(), a("ul", le, [
194
204
  (t(), a("li", {
195
205
  class: "disWrapper",
196
- key: `distribution${r + 1}`
206
+ key: `distribution${m + 1}`
197
207
  }, [
198
- o("span", ee, [
199
- e[13] || (e[13] = o("span", { class: "row" }, null, -1)),
200
- e[14] || (e[14] = d()),
201
- o("span", te, [
202
- p.showValue(i, "dcat:accessURL") ? (t(), a("table", ae, [
203
- (t(!0), a(v, null, y(i["dcat:accessURL"], (l, g) => (t(), a("tr", { key: g }, [
204
- o("td", se, n(s.$t("message.metadata.accessUrl")) + `:
208
+ o("span", oe, [
209
+ e[16] || (e[16] = o("span", { class: "row" }, null, -1)),
210
+ e[17] || (e[17] = i()),
211
+ o("span", de, [
212
+ p.showValue(l, "dcat:accessURL") ? (t(), a("table", ie, [
213
+ (t(!0), a(y, null, v(l["dcat:accessURL"], (d, g) => (t(), a("tr", { key: g }, [
214
+ o("td", ne, n(s.$t("message.metadata.accessUrl")) + `:
205
215
  `, 1),
206
- e[11] || (e[11] = d()),
207
- o("td", le, [
216
+ e[14] || (e[14] = i()),
217
+ o("td", re, [
208
218
  o("a", {
209
- href: l["@id"]
210
- }, n(l["@id"]), 9, oe)
219
+ href: d["@id"]
220
+ }, n(d["@id"]), 9, me)
211
221
  ])
212
222
  ]))), 128))
213
- ])) : f("", !0),
214
- e[12] || (e[12] = d()),
215
- o("table", ie, [
216
- (t(!0), a(v, null, y(c.tableProperties, (l, g, h) => (t(), a("div", { key: h }, [
217
- b(u, {
223
+ ])) : b("", !0),
224
+ e[15] || (e[15] = i()),
225
+ o("table", pe, [
226
+ (t(!0), a(y, null, v(c.tableProperties, (d, g, h) => (t(), a("div", { key: h }, [
227
+ f(u, {
218
228
  profile: "distributions",
219
- data: p.distributionList[r],
229
+ data: p.distributionList[m],
220
230
  property: g,
221
- value: l,
222
- dpiLocale: m.dpiLocale,
223
- distId: r
231
+ value: d,
232
+ dpiLocale: r.dpiLocale,
233
+ distId: m
224
234
  }, null, 8, ["data", "property", "value", "dpiLocale", "distId"])
225
235
  ]))), 128))
226
236
  ])
227
237
  ])
228
238
  ])
229
239
  ]))
230
- ])) : f("", !0)
240
+ ])) : b("", !0)
231
241
  ])
232
242
  ]))), 128))
233
243
  ])
234
244
  ]);
235
245
  }
236
- const be = /* @__PURE__ */ S(C, [["render", de]]);
246
+ const we = /* @__PURE__ */ U(C, [["render", ce]]);
237
247
  export {
238
- be as default
248
+ we as default
239
249
  };
240
250
  //# sourceMappingURL=DistributionOverview.vue.mjs.map