@piveau/dpi 0.1.0-beta.69 → 0.1.0-beta.70
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/assets/dpi.css +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +24 -16
- package/dist/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +277 -264
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +77 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +99 -92
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +228 -227
- package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +386 -325
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +10 -6
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +1 -1
- package/dist/data-provider-interface/views/InputPage.vue.js +26 -23
- package/package.json +1 -1
|
@@ -13,6 +13,13 @@ const u = async (a) => {
|
|
|
13
13
|
} catch (e) {
|
|
14
14
|
throw console.error("Error fetching Dataset categories:", e), e;
|
|
15
15
|
}
|
|
16
|
+
}, h = async (a) => {
|
|
17
|
+
try {
|
|
18
|
+
let e = `${a}vocabularies/access-right`;
|
|
19
|
+
return (await c.get(e)).data.result.results;
|
|
20
|
+
} catch (e) {
|
|
21
|
+
throw console.error("Error fetching Dataset categories:", e), e;
|
|
22
|
+
}
|
|
16
23
|
}, d = async (a) => {
|
|
17
24
|
try {
|
|
18
25
|
let e = `${a}vocabularies/iana-media-types`;
|
|
@@ -22,7 +29,7 @@ const u = async (a) => {
|
|
|
22
29
|
} catch (e) {
|
|
23
30
|
throw console.error("Error fetching file types:", e), e;
|
|
24
31
|
}
|
|
25
|
-
},
|
|
32
|
+
}, p = async (a) => {
|
|
26
33
|
try {
|
|
27
34
|
let e = `${a}vocabularies/file-type`;
|
|
28
35
|
return (await c.get(e, {
|
|
@@ -56,12 +63,12 @@ const u = async (a) => {
|
|
|
56
63
|
} catch (l) {
|
|
57
64
|
throw console.error("Error fetching Dataset categories:", l), l;
|
|
58
65
|
}
|
|
59
|
-
},
|
|
66
|
+
}, y = async (a, e) => (await n(e)).map((l) => {
|
|
60
67
|
const t = l.list.filter(
|
|
61
68
|
(s) => s.alt_label && s.alt_label.de && s.alt_label.de.includes(a)
|
|
62
69
|
);
|
|
63
70
|
return { ...l, list: t };
|
|
64
|
-
}).filter((l) => l.list.length > 0),
|
|
71
|
+
}).filter((l) => l.list.length > 0), f = async (a, e, r) => {
|
|
65
72
|
let o = [];
|
|
66
73
|
try {
|
|
67
74
|
let l = `${e}vocabularies/${r}`;
|
|
@@ -69,7 +76,7 @@ const u = async (a) => {
|
|
|
69
76
|
} catch (l) {
|
|
70
77
|
throw console.error("Error fetching Dataset categories:", l), l;
|
|
71
78
|
}
|
|
72
|
-
},
|
|
79
|
+
}, b = async (a) => {
|
|
73
80
|
try {
|
|
74
81
|
let e = `${a}vocabularies/planned-availability`;
|
|
75
82
|
return (await c.get(e)).data.result.results.map((o) => ({
|
|
@@ -80,7 +87,7 @@ const u = async (a) => {
|
|
|
80
87
|
} catch (e) {
|
|
81
88
|
throw console.error("Error fetching planned availability:", e), e;
|
|
82
89
|
}
|
|
83
|
-
},
|
|
90
|
+
}, v = async (a, e = "de") => {
|
|
84
91
|
try {
|
|
85
92
|
let r = `${a}vocabularies/language`, l = (await c.get(r)).data.result.results.map((t) => ({
|
|
86
93
|
value: t.id,
|
|
@@ -91,7 +98,7 @@ const u = async (a) => {
|
|
|
91
98
|
} catch (r) {
|
|
92
99
|
throw console.error("Error fetching languages:", r), r;
|
|
93
100
|
}
|
|
94
|
-
},
|
|
101
|
+
}, w = async (a, e = "de") => {
|
|
95
102
|
try {
|
|
96
103
|
let r = `${a}vocabularies/licence`;
|
|
97
104
|
return (await c.get(r)).data.result.results.map((t) => {
|
|
@@ -106,7 +113,7 @@ const u = async (a) => {
|
|
|
106
113
|
} catch (r) {
|
|
107
114
|
throw console.error("Error fetching licenses:", r), r;
|
|
108
115
|
}
|
|
109
|
-
},
|
|
116
|
+
}, $ = async (a, e = "de") => {
|
|
110
117
|
try {
|
|
111
118
|
let r = `${a}vocabularies/adms`;
|
|
112
119
|
return (await c.get(r)).data.result.results.filter(
|
|
@@ -119,7 +126,7 @@ const u = async (a) => {
|
|
|
119
126
|
} catch (r) {
|
|
120
127
|
throw console.error("Error fetching dataset status:", r), r;
|
|
121
128
|
}
|
|
122
|
-
},
|
|
129
|
+
}, m = async (a, e = "en") => {
|
|
123
130
|
try {
|
|
124
131
|
let r = `${a}vocabularies/spdx-checksum-algorithm`;
|
|
125
132
|
return (await c.get(r)).data.result.results.map((t) => ({
|
|
@@ -132,16 +139,17 @@ const u = async (a) => {
|
|
|
132
139
|
}
|
|
133
140
|
};
|
|
134
141
|
export {
|
|
135
|
-
|
|
136
|
-
|
|
142
|
+
y as filterGeocodingURIs,
|
|
143
|
+
h as getAccessRights,
|
|
144
|
+
m as getChecksumAlgorithms,
|
|
137
145
|
g as getDatasetCategories,
|
|
138
|
-
|
|
146
|
+
$ as getDatasetStatus,
|
|
139
147
|
d as getFileTypes,
|
|
140
|
-
|
|
148
|
+
p as getFormatTypes,
|
|
141
149
|
n as getGeocodingURIs,
|
|
142
150
|
u as getHvdCategories,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
151
|
+
v as getLanguages,
|
|
152
|
+
w as getLicenses,
|
|
153
|
+
f as getOptionalURIs,
|
|
154
|
+
b as getPlannedAvailability
|
|
147
155
|
};
|