@piveau/piveau-hub-ui-modules 4.4.28 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/configurations/configureComponents.mjs +20 -18
- package/dist/configurations/configureComponents.mjs.map +1 -1
- package/dist/data-provider-interface/DataProviderInterface.vue.d.ts +378 -20
- package/dist/data-provider-interface/DataProviderInterface.vue.mjs.map +1 -1
- package/dist/data-provider-interface/DataProviderInterface.vue2.mjs +36 -25
- package/dist/data-provider-interface/DataProviderInterface.vue2.mjs.map +1 -1
- package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs +92 -89
- package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs +104 -107
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/SpatialInput.vue.mjs +190 -148
- package/dist/data-provider-interface/components/SpatialInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.mjs +19 -8
- package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/composables/aucotomplete.d.ts +27 -0
- package/dist/data-provider-interface/composables/aucotomplete.mjs +52 -0
- package/dist/data-provider-interface/composables/aucotomplete.mjs.map +1 -0
- package/dist/data-provider-interface/composables/index.d.ts +4 -0
- package/dist/data-provider-interface/composables/useDpiContext.mjs +7 -9
- package/dist/data-provider-interface/composables/useDpiContext.mjs.map +1 -1
- package/dist/data-provider-interface/composables/useRequestUriName.d.ts +18 -0
- package/dist/data-provider-interface/composables/useRequestUriName.mjs +59 -0
- package/dist/data-provider-interface/composables/useRequestUriName.mjs.map +1 -0
- package/dist/data-provider-interface/config/dcatapde/vocab-prefixes.mjs +1 -1
- package/dist/data-provider-interface/config/dcatapde/vocab-prefixes.mjs.map +1 -1
- package/dist/data-provider-interface/index.mjs +10 -6
- package/dist/data-provider-interface/index.mjs.map +1 -1
- package/dist/data-provider-interface/store/dpiStore.d.ts +0 -26
- package/dist/data-provider-interface/store/dpiStore.mjs +12 -14
- package/dist/data-provider-interface/store/dpiStore.mjs.map +1 -1
- package/dist/data-provider-interface/views/InputPage.vue.d.ts +368 -20
- package/dist/data-provider-interface/views/InputPage.vue.mjs +125 -107
- package/dist/data-provider-interface/views/InputPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/CatalogueOverview.vue.d.ts +16 -6
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.d.ts +32 -14
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.mjs +27 -31
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.d.ts +16 -6
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.d.ts +8 -3
- package/dist/data-provider-interface/views/OverviewPage/Properties/URIProp.vue.d.ts +8 -3
- package/dist/data-provider-interface/views/OverviewPage/Properties/URIProp.vue.mjs +57 -47
- package/dist/data-provider-interface/views/OverviewPage/Properties/URIProp.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.d.ts +16 -6
- package/dist/data-provider-interface/views/OverviewPage.vue.d.ts +367 -20
- package/dist/data-provider-interface/views/OverviewPage.vue.mjs +66 -58
- package/dist/data-provider-interface/views/OverviewPage.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsDataset.vue.mjs +50 -36
- package/dist/datasetDetails/DatasetDetailsDataset.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsDataset.vue2.mjs +4 -4
- package/dist/datasetDetails/DatasetDetailsDataset.vue2.mjs.map +1 -1
- package/dist/datasetDetails/features/DatasetDetailsFeatures.vue.d.ts +3 -3
- package/dist/datasetDetails/features/DatasetDetailsFeatures.vue.mjs +3 -3
- package/dist/datasetDetails/features/DatasetDetailsFeatures.vue.mjs.map +1 -1
- package/dist/datasetDetails/features/DatasetDetailsIsUsedBy.vue.mjs +18 -18
- package/dist/datasetDetails/properties/DatasetDetailsProperties.vue.mjs +58 -50
- package/dist/datasetDetails/properties/DatasetDetailsProperties.vue.mjs.map +1 -1
- package/dist/external/@vueuse/core/index +3 -2
- package/dist/external/@vueuse/shared/index +86 -72
- package/dist/external/@vueuse/shared/index.map +1 -1
- package/dist/form/Repeatable.vue.d.ts +11 -10
- package/dist/form/Repeatable.vue.mjs +5 -62
- package/dist/form/Repeatable.vue.mjs.map +1 -1
- package/dist/form/Repeatable.vue2.mjs +72 -2
- package/dist/form/Repeatable.vue2.mjs.map +1 -1
- package/dist/form/Repeatable.vue3.mjs +5 -0
- package/dist/form/Repeatable.vue3.mjs.map +1 -0
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/package.json +1 -1
- package/dist/data-provider-interface/store/modules/autocompleteStore.d.ts +0 -27
- package/dist/data-provider-interface/store/modules/autocompleteStore.mjs +0 -54
- package/dist/data-provider-interface/store/modules/autocompleteStore.mjs.map +0 -1
|
@@ -223,8 +223,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
223
223
|
getDate(date: any): string;
|
|
224
224
|
checkIfPropertyValueSet(data: any, property: any, value: any): any;
|
|
225
225
|
reqName(URI: any): Promise<any>;
|
|
226
|
-
requestFirstEntrySuggestions: import('vuex').ActionMethod;
|
|
227
|
-
requestAutocompleteSuggestions: import('vuex').ActionMethod;
|
|
228
226
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
229
227
|
dpiLocale: StringConstructor;
|
|
230
228
|
}>> & Readonly<{}>, {}, {}, {
|
|
@@ -254,15 +252,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
254
252
|
value: ObjectConstructor;
|
|
255
253
|
data: ObjectConstructor;
|
|
256
254
|
inHeader: StringConstructor;
|
|
257
|
-
}>, {
|
|
255
|
+
}>, {
|
|
256
|
+
requestResourceName: (options: {
|
|
257
|
+
voc: string;
|
|
258
|
+
uri: string;
|
|
259
|
+
envs: any;
|
|
260
|
+
}) => Promise<any>;
|
|
261
|
+
getURILabel: (value: any) => Promise<any>;
|
|
262
|
+
}, {
|
|
258
263
|
nameOfProperty: string;
|
|
259
264
|
namesOfMulti: never[];
|
|
260
265
|
}, {}, {
|
|
261
266
|
trimString(str: any, maxLength: any): any;
|
|
262
267
|
getTranslationFor: typeof import('../../..').getTranslationFor;
|
|
263
268
|
requestURILabel(voc: any, res: any): Promise<undefined>;
|
|
264
|
-
getURILabel(value: any): Promise<any>;
|
|
265
|
-
requestResourceName: import('vuex').ActionMethod;
|
|
266
269
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
267
270
|
property: StringConstructor;
|
|
268
271
|
value: ObjectConstructor;
|
|
@@ -326,15 +329,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
326
329
|
value: ObjectConstructor;
|
|
327
330
|
data: ObjectConstructor;
|
|
328
331
|
inHeader: StringConstructor;
|
|
329
|
-
}>, {
|
|
332
|
+
}>, {
|
|
333
|
+
requestResourceName: (options: {
|
|
334
|
+
voc: string;
|
|
335
|
+
uri: string;
|
|
336
|
+
envs: any;
|
|
337
|
+
}) => Promise<any>;
|
|
338
|
+
getURILabel: (value: any) => Promise<any>;
|
|
339
|
+
}, {
|
|
330
340
|
nameOfProperty: string;
|
|
331
341
|
namesOfMulti: never[];
|
|
332
342
|
}, {}, {
|
|
333
343
|
trimString(str: any, maxLength: any): any;
|
|
334
344
|
getTranslationFor: typeof import('../../..').getTranslationFor;
|
|
335
345
|
requestURILabel(voc: any, res: any): Promise<undefined>;
|
|
336
|
-
getURILabel(value: any): Promise<any>;
|
|
337
|
-
requestResourceName: import('vuex').ActionMethod;
|
|
338
346
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
339
347
|
property: StringConstructor;
|
|
340
348
|
value: ObjectConstructor;
|
|
@@ -513,15 +521,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
513
521
|
value: ObjectConstructor;
|
|
514
522
|
data: ObjectConstructor;
|
|
515
523
|
inHeader: StringConstructor;
|
|
516
|
-
}>, {
|
|
524
|
+
}>, {
|
|
525
|
+
requestResourceName: (options: {
|
|
526
|
+
voc: string;
|
|
527
|
+
uri: string;
|
|
528
|
+
envs: any;
|
|
529
|
+
}) => Promise<any>;
|
|
530
|
+
getURILabel: (value: any) => Promise<any>;
|
|
531
|
+
}, {
|
|
517
532
|
nameOfProperty: string;
|
|
518
533
|
namesOfMulti: never[];
|
|
519
534
|
}, {}, {
|
|
520
535
|
trimString(str: any, maxLength: any): any;
|
|
521
536
|
getTranslationFor: typeof import('../../..').getTranslationFor;
|
|
522
537
|
requestURILabel(voc: any, res: any): Promise<undefined>;
|
|
523
|
-
getURILabel(value: any): Promise<any>;
|
|
524
|
-
requestResourceName: import('vuex').ActionMethod;
|
|
525
538
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
526
539
|
property: StringConstructor;
|
|
527
540
|
value: ObjectConstructor;
|
|
@@ -585,15 +598,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
585
598
|
value: ObjectConstructor;
|
|
586
599
|
data: ObjectConstructor;
|
|
587
600
|
inHeader: StringConstructor;
|
|
588
|
-
}>, {
|
|
601
|
+
}>, {
|
|
602
|
+
requestResourceName: (options: {
|
|
603
|
+
voc: string;
|
|
604
|
+
uri: string;
|
|
605
|
+
envs: any;
|
|
606
|
+
}) => Promise<any>;
|
|
607
|
+
getURILabel: (value: any) => Promise<any>;
|
|
608
|
+
}, {
|
|
589
609
|
nameOfProperty: string;
|
|
590
610
|
namesOfMulti: never[];
|
|
591
611
|
}, {}, {
|
|
592
612
|
trimString(str: any, maxLength: any): any;
|
|
593
613
|
getTranslationFor: typeof import('../../..').getTranslationFor;
|
|
594
614
|
requestURILabel(voc: any, res: any): Promise<undefined>;
|
|
595
|
-
getURILabel(value: any): Promise<any>;
|
|
596
|
-
requestResourceName: import('vuex').ActionMethod;
|
|
597
615
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
598
616
|
property: StringConstructor;
|
|
599
617
|
value: ObjectConstructor;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import R from "./PropertyEntry.vue.mjs";
|
|
2
2
|
import L from "./DistributionOverview.vue.mjs";
|
|
3
|
-
import { mapGetters as I
|
|
4
|
-
import
|
|
3
|
+
import { mapGetters as I } from "vuex";
|
|
4
|
+
import U from "axios";
|
|
5
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
|
-
import
|
|
8
|
-
const
|
|
7
|
+
import w from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
8
|
+
const P = {
|
|
9
9
|
data() {
|
|
10
10
|
return {
|
|
11
11
|
values: [],
|
|
@@ -88,10 +88,6 @@ const k = {
|
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
methods: {
|
|
91
|
-
...U("dpiStore", [
|
|
92
|
-
"requestFirstEntrySuggestions",
|
|
93
|
-
"requestAutocompleteSuggestions"
|
|
94
|
-
]),
|
|
95
91
|
checkIfPropertySet(t, e) {
|
|
96
92
|
return t[e] != null ? t[e] : "-";
|
|
97
93
|
},
|
|
@@ -106,7 +102,7 @@ const k = {
|
|
|
106
102
|
},
|
|
107
103
|
async reqName(t) {
|
|
108
104
|
let e = t.split("/"), d = `${this.$env.api.baseUrl}vocabularies/${e[e.length - 2]}/${e[e.length - 1]}`;
|
|
109
|
-
return (await
|
|
105
|
+
return (await U.get(d)).data.result.pref_label[this.dpiLocale];
|
|
110
106
|
}
|
|
111
107
|
},
|
|
112
108
|
async mounted() {
|
|
@@ -119,22 +115,22 @@ const k = {
|
|
|
119
115
|
this.values = t;
|
|
120
116
|
}
|
|
121
117
|
}
|
|
122
|
-
},
|
|
118
|
+
}, k = {
|
|
123
119
|
key: 0,
|
|
124
120
|
class: "mt-2"
|
|
125
|
-
},
|
|
121
|
+
}, _ = { class: "overviewHeader p-3" }, S = { class: "firstRow d-flex" }, V = { class: "datasetNotation dsd-title-tag d-flex align-items-center" }, N = { class: "dsTitle" }, x = { class: "secondRow d-flex justify-content-between" }, q = { class: "dsCatalogue" }, B = { href: "" }, E = { class: "dsPublisher" }, O = { class: "dsIssued" }, T = { class: "dsUpdated" }, G = { class: "dsMainWrap d-flex flex-column mt-3" }, j = { class: "" }, C = { class: "dsDesc px-3" }, M = { class: "" }, A = { class: "table table-borderless table-responsive bg-light disOverview p-3" }, H = {
|
|
126
122
|
key: 0,
|
|
127
123
|
class: "dsDist b-top p-3"
|
|
128
|
-
}, K = { class: "my-4" },
|
|
124
|
+
}, K = { class: "my-4" }, F = {
|
|
129
125
|
key: 1,
|
|
130
126
|
class: "dsKeywords b-top my-2 p-3"
|
|
131
|
-
},
|
|
132
|
-
function
|
|
127
|
+
}, W = { class: "my-4" }, z = { class: "d-flex" }, J = ["title"];
|
|
128
|
+
function Q(t, e, d, f, c, s) {
|
|
133
129
|
const g = b("PropertyEntry"), h = b("DistributionOverview");
|
|
134
|
-
return c.pageLoaded ? (o(), r("div",
|
|
135
|
-
a("div",
|
|
136
|
-
a("div",
|
|
137
|
-
a("div",
|
|
130
|
+
return c.pageLoaded ? (o(), r("div", k, [
|
|
131
|
+
a("div", _, [
|
|
132
|
+
a("div", S, [
|
|
133
|
+
a("div", V, [
|
|
138
134
|
a("span", null, i(t.$te("message.metadata.dataset") ? t.$t("message.metadata.dataset") : "Dataset"), 1)
|
|
139
135
|
]),
|
|
140
136
|
e[0] || (e[0] = l()),
|
|
@@ -142,7 +138,7 @@ function X(t, e, d, f, c, s) {
|
|
|
142
138
|
]),
|
|
143
139
|
e[7] || (e[7] = l()),
|
|
144
140
|
a("div", x, [
|
|
145
|
-
a("div",
|
|
141
|
+
a("div", q, [
|
|
146
142
|
a("span", null, [
|
|
147
143
|
a("b", null, i(t.$te("message.metadata.catalog") ? t.$t("message.metadata.catalog") : "Catalogue") + ":", 1)
|
|
148
144
|
]),
|
|
@@ -150,7 +146,7 @@ function X(t, e, d, f, c, s) {
|
|
|
150
146
|
a("a", B, i(s.checkIfPropertySet(s.getDatasets, "dcat:catalog")), 1)
|
|
151
147
|
]),
|
|
152
148
|
e[4] || (e[4] = l()),
|
|
153
|
-
a("div",
|
|
149
|
+
a("div", E, [
|
|
154
150
|
p(g, {
|
|
155
151
|
profile: "datasets",
|
|
156
152
|
data: s.getDatasets,
|
|
@@ -160,7 +156,7 @@ function X(t, e, d, f, c, s) {
|
|
|
160
156
|
}, null, 8, ["data", "dpiLocale"])
|
|
161
157
|
]),
|
|
162
158
|
e[5] || (e[5] = l()),
|
|
163
|
-
a("div",
|
|
159
|
+
a("div", O, [
|
|
164
160
|
a("span", null, [
|
|
165
161
|
a("b", null, i(t.$te("message.dataupload.datasets.issued.label") ? t.$t("message.dataupload.datasets.issued.label") : "Issued") + ":", 1)
|
|
166
162
|
]),
|
|
@@ -168,7 +164,7 @@ function X(t, e, d, f, c, s) {
|
|
|
168
164
|
a("a", null, i(s.getDate(new Date(s.checkIfPropertyValueSet(s.getDatasets, "dct:issued", "@value")))), 1)
|
|
169
165
|
]),
|
|
170
166
|
e[6] || (e[6] = l()),
|
|
171
|
-
a("div",
|
|
167
|
+
a("div", T, [
|
|
172
168
|
a("span", null, [
|
|
173
169
|
a("b", null, i(t.$te("message.dataupload.datasets.modified.label") ? t.$t("message.dataupload.datasets.modified.label") : "Updated") + ":", 1)
|
|
174
170
|
]),
|
|
@@ -178,13 +174,13 @@ function X(t, e, d, f, c, s) {
|
|
|
178
174
|
])
|
|
179
175
|
]),
|
|
180
176
|
e[12] || (e[12] = l()),
|
|
181
|
-
a("div",
|
|
182
|
-
a("div",
|
|
177
|
+
a("div", G, [
|
|
178
|
+
a("div", j, [
|
|
183
179
|
a("p", C, i(s.getDescription), 1)
|
|
184
180
|
]),
|
|
185
181
|
e[8] || (e[8] = l()),
|
|
186
182
|
a("div", M, [
|
|
187
|
-
a("table",
|
|
183
|
+
a("table", A, [
|
|
188
184
|
(o(!0), r(v, null, y(c.tableProperties, (n, u, D) => (o(), r("div", { key: D }, [
|
|
189
185
|
p(g, {
|
|
190
186
|
profile: "datasets",
|
|
@@ -207,13 +203,13 @@ function X(t, e, d, f, c, s) {
|
|
|
207
203
|
}, null, 8, ["dpiLocale", "distributions"])
|
|
208
204
|
])) : m("", !0),
|
|
209
205
|
e[14] || (e[14] = l()),
|
|
210
|
-
s.getDatasets["dct:keyword"] != null && s.getDatasets["dct:keyword"][0]["@value"] != null && s.getDatasets["dct:keyword"].length > 0 ? (o(), r("div",
|
|
211
|
-
a("h2",
|
|
206
|
+
s.getDatasets["dct:keyword"] != null && s.getDatasets["dct:keyword"][0]["@value"] != null && s.getDatasets["dct:keyword"].length > 0 ? (o(), r("div", F, [
|
|
207
|
+
a("h2", W, [
|
|
212
208
|
e[10] || (e[10] = l("Keywords ")),
|
|
213
209
|
a("span", null, "(" + i(s.getDatasets["dct:keyword"].length) + ")", 1)
|
|
214
210
|
]),
|
|
215
211
|
e[11] || (e[11] = l()),
|
|
216
|
-
a("div",
|
|
212
|
+
a("div", z, [
|
|
217
213
|
(o(!0), r(v, null, y(s.getDatasets["dct:keyword"].filter((n) => n["@language"] === d.dpiLocale), (n, u) => (o(), r("span", {
|
|
218
214
|
class: "mx-1",
|
|
219
215
|
key: u
|
|
@@ -221,14 +217,14 @@ function X(t, e, d, f, c, s) {
|
|
|
221
217
|
a("small", {
|
|
222
218
|
title: n,
|
|
223
219
|
class: "d-inline-block w-100 p-2 ml-1 rounded-pill text-center text-white text-truncate bg-primary"
|
|
224
|
-
}, i(n["@value"]), 9,
|
|
220
|
+
}, i(n["@value"]), 9, J)
|
|
225
221
|
]))), 128))
|
|
226
222
|
])
|
|
227
223
|
])) : m("", !0)
|
|
228
224
|
])) : m("", !0);
|
|
229
225
|
}
|
|
230
|
-
const
|
|
226
|
+
const se = /* @__PURE__ */ w(P, [["render", Q]]);
|
|
231
227
|
export {
|
|
232
|
-
|
|
228
|
+
se as default
|
|
233
229
|
};
|
|
234
230
|
//# sourceMappingURL=DatasetOverview.vue.mjs.map
|
|
@@ -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'\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 if (!(date instanceof Date) || isNaN(date.getTime())) return '-';\n\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,E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AAA,MAAM,IAAG,KAAC,CAAA;AAAA;MA/DrFF,EAAA,EAAA,MAAAA,EAAA,EAAA,IAAAC,EAAA;AAAA,MAgEYJ,EASM,OATNN,GASM;AAAA,SARFG,EAAA,EAAA,GAAAC,EAOOW,GAxEvB,MAAAC,EAkEiDL,EAAW,YAAA,aAAA,EAAgB,OAAO,CAAAzC,MAAMA,mBAAoB4C,EAAS,SAAA,GAlEtH,CAkE6BS,GAASL,YADtBd,EAOO,QAAA;AAAA,UAPD,OAAM;AAAA,UAEP,KAAKc;AAAA;UACNZ,EAGQ,SAAA;AAAA,YAHA,OAAOiB;AAAA,YACX,OAAM;AAAA,UACH,GAAAhB,EAAAgB,EAtE3B,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 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 if (!(date instanceof Date) || isNaN(date.getTime())) return '-';\n\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","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,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ARFG,EAAA,EAAA,GAAAC,EAOOW,GAxEvB,MAAAC,EAkEiDL,EAAW,YAAA,aAAA,EAAgB,OAAO,CAAAxC,MAAMA,mBAAoB2C,EAAS,SAAA,GAlEtH,CAkE6BS,GAASL,YADtBd,EAOO,QAAA;AAAA,UAPD,OAAM;AAAA,UAEP,KAAKc;AAAA;UACNZ,EAGQ,SAAA;AAAA,YAHA,OAAOiB;AAAA,YACX,OAAM;AAAA,UACH,GAAAhB,EAAAgB,EAtE3B,QAAA,CAAA,GAAA,GAAAtB,CAAA;AAAA;;UAAAoB,EAAA,IAAA,EAAA;AAAA,QAAAA,EAAA,IAAA,EAAA;;;"}
|
|
@@ -157,15 +157,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
157
157
|
value: ObjectConstructor;
|
|
158
158
|
data: ObjectConstructor;
|
|
159
159
|
inHeader: StringConstructor;
|
|
160
|
-
}>, {
|
|
160
|
+
}>, {
|
|
161
|
+
requestResourceName: (options: {
|
|
162
|
+
voc: string;
|
|
163
|
+
uri: string;
|
|
164
|
+
envs: any;
|
|
165
|
+
}) => Promise<any>;
|
|
166
|
+
getURILabel: (value: any) => Promise<any>;
|
|
167
|
+
}, {
|
|
161
168
|
nameOfProperty: string;
|
|
162
169
|
namesOfMulti: never[];
|
|
163
170
|
}, {}, {
|
|
164
171
|
trimString(str: any, maxLength: any): any;
|
|
165
172
|
getTranslationFor: typeof import('../../../utils/helpers').getTranslationFor;
|
|
166
173
|
requestURILabel(voc: any, res: any): Promise<undefined>;
|
|
167
|
-
getURILabel(value: any): Promise<any>;
|
|
168
|
-
requestResourceName: import('vuex').ActionMethod;
|
|
169
174
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
170
175
|
property: StringConstructor;
|
|
171
176
|
value: ObjectConstructor;
|
|
@@ -229,15 +234,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
229
234
|
value: ObjectConstructor;
|
|
230
235
|
data: ObjectConstructor;
|
|
231
236
|
inHeader: StringConstructor;
|
|
232
|
-
}>, {
|
|
237
|
+
}>, {
|
|
238
|
+
requestResourceName: (options: {
|
|
239
|
+
voc: string;
|
|
240
|
+
uri: string;
|
|
241
|
+
envs: any;
|
|
242
|
+
}) => Promise<any>;
|
|
243
|
+
getURILabel: (value: any) => Promise<any>;
|
|
244
|
+
}, {
|
|
233
245
|
nameOfProperty: string;
|
|
234
246
|
namesOfMulti: never[];
|
|
235
247
|
}, {}, {
|
|
236
248
|
trimString(str: any, maxLength: any): any;
|
|
237
249
|
getTranslationFor: typeof import('../../../utils/helpers').getTranslationFor;
|
|
238
250
|
requestURILabel(voc: any, res: any): Promise<undefined>;
|
|
239
|
-
getURILabel(value: any): Promise<any>;
|
|
240
|
-
requestResourceName: import('vuex').ActionMethod;
|
|
241
251
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
242
252
|
property: StringConstructor;
|
|
243
253
|
value: ObjectConstructor;
|
|
@@ -22,15 +22,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
22
22
|
value: ObjectConstructor;
|
|
23
23
|
data: ObjectConstructor;
|
|
24
24
|
inHeader: StringConstructor;
|
|
25
|
-
}>, {
|
|
25
|
+
}>, {
|
|
26
|
+
requestResourceName: (options: {
|
|
27
|
+
voc: string;
|
|
28
|
+
uri: string;
|
|
29
|
+
envs: any;
|
|
30
|
+
}) => Promise<any>;
|
|
31
|
+
getURILabel: (value: any) => Promise<any>;
|
|
32
|
+
}, {
|
|
26
33
|
nameOfProperty: string;
|
|
27
34
|
namesOfMulti: never[];
|
|
28
35
|
}, {}, {
|
|
29
36
|
trimString(str: any, maxLength: any): any;
|
|
30
37
|
getTranslationFor: typeof import('../../../..').getTranslationFor;
|
|
31
38
|
requestURILabel(voc: any, res: any): Promise<undefined>;
|
|
32
|
-
getURILabel(value: any): Promise<any>;
|
|
33
|
-
requestResourceName: import('vuex').ActionMethod;
|
|
34
39
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
35
40
|
property: StringConstructor;
|
|
36
41
|
value: ObjectConstructor;
|
|
@@ -4,15 +4,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4
4
|
value: ObjectConstructor;
|
|
5
5
|
data: ObjectConstructor;
|
|
6
6
|
inHeader: StringConstructor;
|
|
7
|
-
}>, {
|
|
7
|
+
}>, {
|
|
8
|
+
requestResourceName: (options: {
|
|
9
|
+
voc: string;
|
|
10
|
+
uri: string;
|
|
11
|
+
envs: any;
|
|
12
|
+
}) => Promise<any>;
|
|
13
|
+
getURILabel: (value: any) => Promise<any>;
|
|
14
|
+
}, {
|
|
8
15
|
nameOfProperty: string;
|
|
9
16
|
namesOfMulti: never[];
|
|
10
17
|
}, {}, {
|
|
11
18
|
trimString(str: any, maxLength: any): any;
|
|
12
19
|
getTranslationFor: typeof getTranslationFor;
|
|
13
20
|
requestURILabel(voc: any, res: any): Promise<undefined>;
|
|
14
|
-
getURILabel(value: any): Promise<any>;
|
|
15
|
-
requestResourceName: import('vuex').ActionMethod;
|
|
16
21
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
22
|
property: StringConstructor;
|
|
18
23
|
value: ObjectConstructor;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { getTranslationFor as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import "vuex";
|
|
2
|
+
import { getTranslationFor as f } from "../../../../utils/helpers.mjs";
|
|
3
|
+
import h from "../../../utils/general-helper.mjs";
|
|
4
|
+
import "../../../config/dcatapdeODB/page-content-config.mjs";
|
|
5
|
+
import "../../../config/dcatapdeODB/input-definition.mjs";
|
|
6
|
+
import "../../../config/dcatapdeODB/prefixes.mjs";
|
|
7
|
+
import "../../../config/dcatapdeODB/format-types.mjs";
|
|
8
|
+
import "../../../config/dcatapdeODB/vocab-prefixes.mjs";
|
|
9
|
+
import { useDpiContext as p } from "../../../composables/useDpiContext.mjs";
|
|
10
|
+
import { useAutocomplete as g } from "../../../composables/aucotomplete.mjs";
|
|
11
|
+
import { openBlock as i, createElementBlock as l, Fragment as c, toDisplayString as u, createCommentVNode as d, createTextVNode as m, normalizeClass as v, renderList as b } from "vue";
|
|
6
12
|
import "./URIProp.vue2.mjs";
|
|
7
13
|
import U from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
8
14
|
const R = {
|
|
@@ -19,30 +25,20 @@ const R = {
|
|
|
19
25
|
inHeader: String
|
|
20
26
|
},
|
|
21
27
|
methods: {
|
|
22
|
-
...h("dpiStore", [
|
|
23
|
-
"requestResourceName"
|
|
24
|
-
]),
|
|
25
28
|
trimString(a, t) {
|
|
26
29
|
return a.length > t ? a.slice(0, t) + "..." : a;
|
|
27
30
|
},
|
|
28
|
-
getTranslationFor:
|
|
31
|
+
getTranslationFor: f,
|
|
29
32
|
async requestURILabel(a, t) {
|
|
30
33
|
const e = this.$env;
|
|
31
34
|
if (t != null) {
|
|
32
|
-
let
|
|
35
|
+
let o = this.voc === "iana-media-types" || this.voc === "spdx-checksum-algorithm", r;
|
|
33
36
|
return await this.requestResourceName({ voc: a, uri: t, envs: e }).then(
|
|
34
|
-
(
|
|
35
|
-
this.property === "dcatde:politicalGeocodingURI" ?
|
|
37
|
+
(n) => {
|
|
38
|
+
this.property === "dcatde:politicalGeocodingURI" ? n != null && (r = o ? n.data.result.results.filter((s) => s.resource === t).map((s) => s.alt_label)[0].en : f(n.data.result.alt_label, this.$i18n.locale, [])) : n != null && (r = o ? n.data.result.results.filter((s) => s.resource === t).map((s) => s.pref_label)[0].en : f(n.data.result.pref_label, this.$i18n.locale, []));
|
|
36
39
|
}
|
|
37
|
-
),
|
|
40
|
+
), r;
|
|
38
41
|
}
|
|
39
|
-
},
|
|
40
|
-
async getURILabel(a) {
|
|
41
|
-
if (g.isUrl(a.name)) {
|
|
42
|
-
const t = p[this.$env.content.dataProviderInterface.specification].vocabPrefixes, e = Object.keys(t).find((y) => a.name.includes(y));
|
|
43
|
-
return await this.requestURILabel(e, a.name);
|
|
44
|
-
} else
|
|
45
|
-
return a.name;
|
|
46
42
|
}
|
|
47
43
|
},
|
|
48
44
|
async created() {
|
|
@@ -57,11 +53,25 @@ const R = {
|
|
|
57
53
|
} catch (a) {
|
|
58
54
|
console.warn(a);
|
|
59
55
|
}
|
|
56
|
+
},
|
|
57
|
+
setup() {
|
|
58
|
+
const { requestResourceName: a } = g(), t = p();
|
|
59
|
+
async function e(o) {
|
|
60
|
+
if (h.isUrl(o.name)) {
|
|
61
|
+
const r = t.value.specification.vocabPrefixes, n = Object.keys(r).find((y) => o.name.includes(y));
|
|
62
|
+
return await this.requestURILabel(n, o.name);
|
|
63
|
+
} else
|
|
64
|
+
return o.name;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
requestResourceName: a,
|
|
68
|
+
getURILabel: e
|
|
69
|
+
};
|
|
60
70
|
}
|
|
61
|
-
},
|
|
71
|
+
}, k = {
|
|
62
72
|
key: 0,
|
|
63
73
|
class: "font-weight-bold"
|
|
64
|
-
},
|
|
74
|
+
}, I = {
|
|
65
75
|
key: 1,
|
|
66
76
|
class: ""
|
|
67
77
|
}, O = {
|
|
@@ -80,36 +90,36 @@ const R = {
|
|
|
80
90
|
key: 7,
|
|
81
91
|
class: ""
|
|
82
92
|
};
|
|
83
|
-
function H(a, t, e,
|
|
84
|
-
return
|
|
85
|
-
e.value.type !== "special" && e.inHeader != !0 ? (
|
|
86
|
-
`, 1)) :
|
|
87
|
-
t[0] || (t[0] =
|
|
88
|
-
e.value.type === "singularURI" && typeof e.data[e.property] == "string" ? (
|
|
89
|
-
t[1] || (t[1] =
|
|
90
|
-
Object.keys(e.data[e.property]).length === 1 && e.value.type === "singularURI" ? (
|
|
91
|
-
t[2] || (t[2] =
|
|
92
|
-
e.value.type === "singularURI" && typeof e.data[e.property] != "string" && Object.keys(e.data[e.property]).length > 1 ? (
|
|
93
|
+
function H(a, t, e, o, r, n) {
|
|
94
|
+
return i(), l(c, null, [
|
|
95
|
+
e.value.type !== "special" && e.inHeader != !0 ? (i(), l("td", k, u(a.$t(`${e.value.label}`)) + `:
|
|
96
|
+
`, 1)) : d("", !0),
|
|
97
|
+
t[0] || (t[0] = m()),
|
|
98
|
+
e.value.type === "singularURI" && typeof e.data[e.property] == "string" ? (i(), l("td", I, u(e.data[e.property]), 1)) : d("", !0),
|
|
99
|
+
t[1] || (t[1] = m()),
|
|
100
|
+
Object.keys(e.data[e.property]).length === 1 && e.value.type === "singularURI" ? (i(), l("td", O, u(e.data[e.property][0]["@id"]), 1)) : d("", !0),
|
|
101
|
+
t[2] || (t[2] = m()),
|
|
102
|
+
e.value.type === "singularURI" && typeof e.data[e.property] != "string" && Object.keys(e.data[e.property]).length > 1 ? (i(), l("td", {
|
|
93
103
|
key: 3,
|
|
94
104
|
class: v({ "p-0": e.inHeader })
|
|
95
|
-
}, u(
|
|
96
|
-
t[3] || (t[3] =
|
|
97
|
-
e.value.type === "multiURI" ? (
|
|
98
|
-
(
|
|
99
|
-
key:
|
|
105
|
+
}, u(r.nameOfProperty), 3)) : d("", !0),
|
|
106
|
+
t[3] || (t[3] = m()),
|
|
107
|
+
e.value.type === "multiURI" ? (i(), l("td", P, [
|
|
108
|
+
(i(!0), l(c, null, b(e.data[e.property], (y, s) => (i(), l("div", {
|
|
109
|
+
key: s,
|
|
100
110
|
class: "border shadow-sm p-2 mb-1 mr-1"
|
|
101
|
-
}, u(
|
|
102
|
-
])) :
|
|
103
|
-
t[4] || (t[4] =
|
|
104
|
-
e.value.type === "special" &&
|
|
105
|
-
t[5] || (t[5] =
|
|
106
|
-
e.value.type === "special" &&
|
|
107
|
-
t[6] || (t[6] =
|
|
108
|
-
e.value.type === "special" &&
|
|
111
|
+
}, u(y.name), 1))), 128))
|
|
112
|
+
])) : d("", !0),
|
|
113
|
+
t[4] || (t[4] = m()),
|
|
114
|
+
e.value.type === "special" && r.nameOfProperty != "Unchanged Value" ? (i(), l("td", w, u(a.$t(`${e.value.label}`)) + ":", 1)) : d("", !0),
|
|
115
|
+
t[5] || (t[5] = m()),
|
|
116
|
+
e.value.type === "special" && r.nameOfProperty != "Unchanged Value" && e.value.isHeader != !0 ? (i(), l("td", _, u(r.nameOfProperty), 1)) : d("", !0),
|
|
117
|
+
t[6] || (t[6] = m()),
|
|
118
|
+
e.value.type === "special" && r.nameOfProperty != "Unchanged Value" && e.value.isHeader === !0 ? (i(), l("td", x, u(n.trimString(r.nameOfProperty, 35)), 1)) : d("", !0)
|
|
109
119
|
], 64);
|
|
110
120
|
}
|
|
111
|
-
const
|
|
121
|
+
const A = /* @__PURE__ */ U(R, [["render", H]]);
|
|
112
122
|
export {
|
|
113
|
-
|
|
123
|
+
A as default
|
|
114
124
|
};
|
|
115
125
|
//# sourceMappingURL=URIProp.vue.mjs.map
|