@piveau/dpi 0.2.0-alpha.46 → 0.2.0-alpha.48
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/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +38 -30
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +59 -55
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +148 -135
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js +5 -5
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +317 -296
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +77 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +58 -56
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +97 -90
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +35 -35
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +86 -86
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js +7 -10
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +9 -8
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +55 -50
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue.js +8 -8
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +92 -91
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +49 -48
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +122 -117
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsModal.vue.js +48 -48
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +289 -293
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +32 -30
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +46 -29
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +264 -221
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +41 -35
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +63 -65
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +36 -35
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +30 -29
- package/dist/packages/dpi/src/data-provider-interface/components/ContactPage.vue.js +49 -49
- package/dist/packages/dpi/src/data-provider-interface/components/DiscoverabilityPage.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +102 -100
- package/dist/packages/dpi/src/data-provider-interface/components/DistributionSimplePage.vue.js +657 -600
- package/dist/packages/dpi/src/data-provider-interface/components/HVDPage.vue.js +41 -42
- package/dist/packages/dpi/src/data-provider-interface/components/ProgressSteps.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/components/ProgressSteps.vue2.js +61 -54
- package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js +272 -239
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +94 -82
- package/dist/packages/dpi/src/data-provider-interface/components/TempResPage.vue.js +81 -81
- package/dist/packages/dpi/src/data-provider-interface/components/TempResPageInModal.vue.js +138 -141
- package/dist/packages/dpi/src/data-provider-interface/components/TitelPage.vue.js +4 -4
- package/dist/packages/dpi/src/data-provider-interface/components/VisibilityPage.vue.js +2 -1
- package/dist/packages/dpi/src/data-provider-interface/components/dpiV3Description.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/components/icons/PhCircleInCircle.vue.js +26 -0
- package/dist/packages/dpi/src/data-provider-interface/components/icons/PhCircleInCircle.vue2.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +255 -242
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +80 -84
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/store/modules/authStore.js +1 -3
- package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +226 -250
- package/package.json +2 -2
package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js
CHANGED
|
@@ -1,88 +1,95 @@
|
|
|
1
|
-
import { computed as
|
|
1
|
+
import { computed as v, ref as y, onMounted as Ne, resolveComponent as Fe, createElementBlock as n, openBlock as o, Fragment as k, createCommentVNode as u, createBlock as w, createVNode as h, createElementVNode as a, unref as p, toDisplayString as s, renderList as B, createTextVNode as L, withCtx as H, isRef as Se } from "vue";
|
|
2
2
|
import "@formkit/core";
|
|
3
|
-
import { useFormKitNodeById as
|
|
3
|
+
import { useFormKitNodeById as Oe } from "@formkit/vue";
|
|
4
4
|
import "@phosphor-icons/vue";
|
|
5
|
-
import { useI18n as
|
|
5
|
+
import { useI18n as Ue } from "vue-i18n";
|
|
6
6
|
import "vue-router";
|
|
7
|
-
import { useStore as
|
|
8
|
-
import { useFormValues as
|
|
7
|
+
import { useStore as je } from "vuex";
|
|
8
|
+
import { useFormValues as We } from "../composables/useDpiFormValues.js";
|
|
9
9
|
import b from "../HappyFlowComponents/ui/ButtonV3.vue.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
10
|
+
import Ye from "../HappyFlowComponents/ui/Chip.vue.js";
|
|
11
|
+
import Ke from "../HappyFlowComponents/ui/DpiModalBase.vue.js";
|
|
12
|
+
import ke from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
|
|
13
|
+
import Ge from "../HappyFlowComponents/ui/RapModal.vue.js";
|
|
14
|
+
import Xe from "../HappyFlowComponents/ui/StateTag.vue.js";
|
|
15
|
+
import Ze from "../HappyFlowComponents/ui/TableRowV3.vue.js";
|
|
16
|
+
import De from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
17
|
+
import qe from "./Spatial.vue.js";
|
|
18
|
+
import Je from "./VisibilityPage.vue.js";
|
|
18
19
|
/* empty css */
|
|
19
20
|
/* empty css */
|
|
20
21
|
/* empty css */
|
|
21
|
-
import
|
|
22
|
-
import { useDpiContext as
|
|
23
|
-
const
|
|
22
|
+
import Qe from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
23
|
+
import { useDpiContext as Ie } from "../composables/useDpiContext.js";
|
|
24
|
+
const Ae = { key: 0 }, et = {
|
|
24
25
|
key: 1,
|
|
25
26
|
class: "dpiV3InnerComponentWrap V3-typography"
|
|
26
|
-
},
|
|
27
|
+
}, tt = { class: "w-100" }, at = { class: "dpiV3_Frame_831" }, st = { key: 0 }, ot = {
|
|
27
28
|
key: 1,
|
|
28
29
|
class: "dpiV3_Frame_840"
|
|
29
|
-
},
|
|
30
|
+
}, it = {
|
|
31
|
+
class: "dpiV3_title",
|
|
32
|
+
style: { "margin-bottom": "32px" }
|
|
33
|
+
}, lt = { class: "dpiV3_intro copy-large-regular" }, nt = {
|
|
30
34
|
key: 0,
|
|
31
35
|
class: "dpiV3Card rapFindability"
|
|
32
|
-
},
|
|
36
|
+
}, rt = { class: "firstSec" }, dt = { class: "secondSec" }, ct = {
|
|
33
37
|
key: 0,
|
|
34
38
|
class: "headline-5"
|
|
35
|
-
},
|
|
39
|
+
}, ut = {
|
|
36
40
|
key: 1,
|
|
37
41
|
class: "copy-large-regular"
|
|
38
|
-
},
|
|
42
|
+
}, pt = {
|
|
39
43
|
key: 1,
|
|
40
44
|
class: "dpiV3Card rapFindability"
|
|
41
|
-
},
|
|
45
|
+
}, vt = { class: "firstSec" }, ft = { class: "secondSec" }, gt = {
|
|
42
46
|
class: "copy-large-regular",
|
|
43
|
-
style: { "margin-bottom": "
|
|
44
|
-
},
|
|
47
|
+
style: { "margin-bottom": "5px" }
|
|
48
|
+
}, ht = {
|
|
45
49
|
key: 0,
|
|
46
50
|
class: "thirdSec"
|
|
47
|
-
},
|
|
51
|
+
}, yt = { class: "headline-5" }, _t = {
|
|
48
52
|
key: 2,
|
|
49
53
|
class: "dpiV3Card rapEssentials"
|
|
50
|
-
},
|
|
54
|
+
}, mt = { class: "firstSec" }, bt = { class: "secondSec" }, St = { class: "heading-3" }, kt = { class: "thirdSec" }, Dt = { class: "fourthSec flexSec" }, Vt = { class: "copy-large-regular" }, Ct = { class: "copy-large-semi-bold" }, $t = { class: "fifthSec flexSec" }, xt = { class: "copy-large-regular" }, wt = { class: "headline-5" }, Bt = { class: "copy-large-regular" }, Mt = ["href"], Tt = { class: "sixthSec flexSec" }, Rt = { class: "copy-large-regular" }, Pt = { class: "headline-5" }, zt = { class: "copy-large-regular" }, Et = { class: "copy-large-regular" }, Lt = { class: "dpiV3Card rapCoverage" }, Ht = { class: "firstSec" }, Nt = {
|
|
55
|
+
key: 0,
|
|
56
|
+
class: "coveragePlaceWrap"
|
|
57
|
+
}, Ft = {
|
|
51
58
|
key: 0,
|
|
52
|
-
class: "secondSec flexSec"
|
|
53
|
-
}, Mt = { class: "rapHeadWrap" }, Bt = { class: "copy-large-regular" }, Tt = { class: "coveragePlaceWrap" }, zt = { class: "headline-5" }, Pt = {
|
|
54
|
-
key: 1,
|
|
55
59
|
class: "thirdSec"
|
|
56
|
-
},
|
|
60
|
+
}, Ot = { class: "rapHeadWrap" }, Ut = { class: "copy-large-regular" }, jt = { class: "dpiV3_RapInnerCardWrapper" }, Wt = { class: "dpiV3_RapInnerCard" }, Yt = { class: "copy-small-regular" }, Kt = { key: 0 }, Gt = { class: "copy-small-regular" }, Xt = { key: 0 }, Zt = { class: "dpiV3Card rapDistribution" }, qt = { class: "firstSec" }, Jt = { class: "secondSec flexSec" }, Qt = { class: "copy-large-regular" }, It = { class: "headline-5" }, At = {
|
|
61
|
+
key: 0,
|
|
62
|
+
class: "thirdSec flexSec"
|
|
63
|
+
}, ea = { class: "copy-large-regular" }, ta = { class: "headline-5" }, aa = { class: "fourthSec flexSec" }, sa = { class: "copy-large-regular" }, oa = { class: "dpiV3_distCard" }, ia = ["href"], la = {
|
|
57
64
|
key: 0,
|
|
58
65
|
class: "dpiV3Card rapDistribution"
|
|
59
|
-
},
|
|
66
|
+
}, na = { class: "firstSec" }, ra = { class: "secondSec flexSec" }, da = { class: "dpiV3_optionalSpanHeadWrap" }, ca = { class: "dpiV3_optionalSpan copy-large-regular" }, ua = { key: 0 }, pa = { key: 0 }, va = { key: 1 }, fa = { key: 2 }, ga = { key: 3 }, ha = { key: 4 }, ya = { key: 5 }, _a = { key: 6 }, ma = { key: 7 }, ba = { key: 8 }, Sa = { key: 9 }, ka = { class: "dpiV3_tempAddMore" }, Da = {
|
|
60
67
|
key: 1,
|
|
61
68
|
class: "dpiV3_tempAddMore"
|
|
62
|
-
},
|
|
69
|
+
}, Va = {
|
|
63
70
|
__name: "ReviewAndPublishPage",
|
|
64
71
|
props: {
|
|
65
72
|
context: Object
|
|
66
73
|
},
|
|
67
|
-
setup(
|
|
68
|
-
const { t:
|
|
69
|
-
|
|
74
|
+
setup(N) {
|
|
75
|
+
const { t: F } = Ue(), V = Ie();
|
|
76
|
+
v(() => {
|
|
70
77
|
var e;
|
|
71
|
-
return !!((e =
|
|
78
|
+
return !!((e = V.value.edit) != null && e.enabled);
|
|
72
79
|
});
|
|
73
|
-
let
|
|
74
|
-
|
|
80
|
+
let Ve = y(
|
|
81
|
+
V.value.edit.enabled && !V.value.edit.fromDraft
|
|
75
82
|
);
|
|
76
|
-
function
|
|
83
|
+
function Ce() {
|
|
77
84
|
c.value.Covering["dcat:temporalResolution"] = {};
|
|
78
85
|
}
|
|
79
|
-
|
|
80
|
-
let
|
|
81
|
-
const M =
|
|
82
|
-
|
|
83
|
-
|
|
86
|
+
y([{ isValid: !0 }]), y(!1), je(), y(null);
|
|
87
|
+
let _ = y(!1), m = y({});
|
|
88
|
+
const M = y(!1), O = y(!1), { formValues: c } = We();
|
|
89
|
+
Oe("dpiForm", (e) => {
|
|
90
|
+
O.value = !0;
|
|
84
91
|
});
|
|
85
|
-
const
|
|
92
|
+
const C = v(() => {
|
|
86
93
|
var t, r, d;
|
|
87
94
|
const e = (r = (t = c.value) == null ? void 0 : t.Discoverability) == null ? void 0 : r.visibilityPage;
|
|
88
95
|
if (Array.isArray(e)) {
|
|
@@ -93,15 +100,15 @@ const Ye = { key: 0 }, je = {
|
|
|
93
100
|
}
|
|
94
101
|
return "";
|
|
95
102
|
});
|
|
96
|
-
function
|
|
97
|
-
let t, r, d,
|
|
103
|
+
function $e(e) {
|
|
104
|
+
let t, r, d, f, $, x;
|
|
98
105
|
return e.forEach((g) => {
|
|
99
|
-
g.Year && (t = Number.parseInt(g.Year)), g.Month && (r = Number.parseInt(g.Month) - 1), g.Day && (d = Number.parseInt(g.Day)), g.Hour && (
|
|
106
|
+
g.Year && (t = Number.parseInt(g.Year)), g.Month && (r = Number.parseInt(g.Month) - 1), g.Day && (d = Number.parseInt(g.Day)), g.Hour && (f = Number.parseInt(g.Hour)), g.Minute && ($ = Number.parseInt(g.Minute)), g.Second && (x = Number.parseInt(g.Second));
|
|
100
107
|
}), new Date(
|
|
101
108
|
t || 2025,
|
|
102
109
|
r || 0,
|
|
103
110
|
d || 1,
|
|
104
|
-
|
|
111
|
+
f || 0,
|
|
105
112
|
$ || 0,
|
|
106
113
|
x || 0
|
|
107
114
|
).toLocaleString("de", {
|
|
@@ -109,167 +116,191 @@ const Ye = { key: 0 }, je = {
|
|
|
109
116
|
timeZoneName: "short"
|
|
110
117
|
});
|
|
111
118
|
}
|
|
112
|
-
const
|
|
113
|
-
function
|
|
119
|
+
const U = y(), z = y(!1);
|
|
120
|
+
function j(e) {
|
|
114
121
|
return !(Object.keys(e).includes("isValid") && Object.keys(e).length === 1);
|
|
115
122
|
}
|
|
116
|
-
const
|
|
123
|
+
const xe = v(() => {
|
|
117
124
|
var t, r;
|
|
118
125
|
const e = (r = (t = c.value) == null ? void 0 : t.Discoverability) == null ? void 0 : r.discoverabilityPage;
|
|
119
|
-
return Array.isArray(e) ? (e == null ? void 0 : e.filter(
|
|
120
|
-
}),
|
|
126
|
+
return Array.isArray(e) ? (e == null ? void 0 : e.filter(j)) || [] : [];
|
|
127
|
+
}), W = v(() => {
|
|
121
128
|
var e, t;
|
|
122
129
|
return ((t = (e = c.value) == null ? void 0 : e.Discoverability) == null ? void 0 : t.hvdPage) || [];
|
|
123
|
-
}),
|
|
130
|
+
}), we = v(() => {
|
|
124
131
|
var r, d;
|
|
125
|
-
const e = (d = (r = c.value) == null ? void 0 : r.BasicInfos) == null ? void 0 : d["dct:title"], t = e == null ? void 0 : e.find((
|
|
132
|
+
const e = (d = (r = c.value) == null ? void 0 : r.BasicInfos) == null ? void 0 : d["dct:title"], t = e == null ? void 0 : e.find((f) => f["@language"] === "de");
|
|
126
133
|
return t ? t["@value"] : null;
|
|
127
|
-
}),
|
|
134
|
+
}), Be = v(() => {
|
|
128
135
|
var e, t, r, d;
|
|
129
136
|
return ((d = (r = (t = (e = c.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dct:description"]) == null ? void 0 : r[0]) == null ? void 0 : d["@value"]) || "";
|
|
130
|
-
}),
|
|
131
|
-
var t, r, d,
|
|
132
|
-
const e = (
|
|
137
|
+
}), Y = v(() => {
|
|
138
|
+
var t, r, d, f;
|
|
139
|
+
const e = (f = (d = (r = (t = c.value) == null ? void 0 : t.BasicInfos) == null ? void 0 : r["dct:modified"]) == null ? void 0 : d[0]) == null ? void 0 : f["@value"];
|
|
133
140
|
return e ? new Date(e).toLocaleDateString("de-DE", {
|
|
134
141
|
day: "2-digit",
|
|
135
142
|
month: "2-digit",
|
|
136
143
|
year: "numeric"
|
|
137
144
|
}) : "";
|
|
138
|
-
}),
|
|
145
|
+
}), T = v(() => {
|
|
139
146
|
var e, t, r;
|
|
140
147
|
return ((r = (t = (e = c.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dct:publisher"]) == null ? void 0 : r[0]) || {};
|
|
141
|
-
}),
|
|
148
|
+
}), E = v(() => {
|
|
142
149
|
var e, t, r;
|
|
143
150
|
return ((r = (t = (e = c.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dcat:contactPoint"]) == null ? void 0 : r[0]) || {};
|
|
144
|
-
}),
|
|
151
|
+
}), Me = v(() => {
|
|
145
152
|
var e, t, r, d;
|
|
146
153
|
return ((d = (r = (t = (e = c.value) == null ? void 0 : e.Covering) == null ? void 0 : t["dcatde:politicalGeocodingURI"]) == null ? void 0 : r.filter(
|
|
147
|
-
|
|
154
|
+
j
|
|
148
155
|
)) == null ? void 0 : d[0]) || {};
|
|
149
|
-
}),
|
|
156
|
+
}), R = v(() => {
|
|
150
157
|
var e, t;
|
|
151
158
|
return ((t = (e = c.value) == null ? void 0 : e.Covering) == null ? void 0 : t["dcat:temporalResolution"]) || {};
|
|
152
|
-
})
|
|
159
|
+
});
|
|
160
|
+
v(() => Object.keys(Me.value).length > 1);
|
|
161
|
+
const Te = v(() => {
|
|
153
162
|
var e;
|
|
154
|
-
return ((e =
|
|
163
|
+
return ((e = R.value["dct:temporal"]) == null ? void 0 : e.length) > 0 && R.value["dct:temporal"][0]["dcat:startDate"] != "" && R.value["dct:temporal"][0]["dcat:endDate"] != "";
|
|
155
164
|
});
|
|
156
|
-
let
|
|
157
|
-
|
|
158
|
-
var e, t, r, d,
|
|
159
|
-
return ((
|
|
165
|
+
let K = y();
|
|
166
|
+
K.value = v(() => {
|
|
167
|
+
var e, t, r, d, f;
|
|
168
|
+
return ((f = (d = (r = (t = (e = c.value) == null ? void 0 : e.DistributionSimple) == null ? void 0 : t["dcat:distribution"]) == null ? void 0 : r[0]) == null ? void 0 : d["dct:license"]) == null ? void 0 : f[0]) || {};
|
|
160
169
|
});
|
|
161
|
-
const
|
|
170
|
+
const Re = v(() => {
|
|
162
171
|
var e, t;
|
|
163
172
|
return ((t = (e = c.value) == null ? void 0 : e.DistributionSimple) == null ? void 0 : t["dcat:distribution"]) || [];
|
|
164
|
-
}), S =
|
|
173
|
+
}), S = v(() => {
|
|
165
174
|
var e;
|
|
166
175
|
return ((e = c.value) == null ? void 0 : e.Additionals) || {};
|
|
167
|
-
}),
|
|
176
|
+
}), G = v(() => (Object.keys(S.value).forEach((e) => {
|
|
168
177
|
if (S.value.hasOwnProperty(e)) {
|
|
169
178
|
const t = S.value[e];
|
|
170
179
|
(t === void 0 || Array.isArray(t) && t.length === 0) && delete S.value[e];
|
|
171
180
|
}
|
|
172
|
-
}), Object.keys(S.value))),
|
|
181
|
+
}), Object.keys(S.value).filter((e) => e !== "dct:spatial"))), Pe = (e) => {
|
|
173
182
|
const t = e.split("-");
|
|
174
183
|
if (t.length !== 3)
|
|
175
184
|
throw new Error("Ungültiges Format, erwartet YYYY-MM-DD");
|
|
176
|
-
let [r, d,
|
|
177
|
-
if (
|
|
185
|
+
let [r, d, f] = t;
|
|
186
|
+
if (f = f.padStart(2, "0"), d = d.padStart(2, "0"), !/^\d{4}$/.test(r) || !/^\d{2}$/.test(d) || !/^\d{2}$/.test(f))
|
|
178
187
|
throw new Error("Ungültige Datenteile");
|
|
179
|
-
return `${
|
|
180
|
-
},
|
|
188
|
+
return `${f}.${d}.${r}`;
|
|
189
|
+
}, X = v(() => G.value.length > 0);
|
|
181
190
|
function D(e) {
|
|
182
|
-
|
|
191
|
+
U.value = e, z.value = !0, document.body.style.overflow = "hidden";
|
|
183
192
|
}
|
|
184
|
-
function
|
|
185
|
-
document.body.style.overflow = "",
|
|
193
|
+
function ze() {
|
|
194
|
+
document.body.style.overflow = "", z.value = !1;
|
|
186
195
|
}
|
|
187
|
-
function
|
|
196
|
+
function Z(e) {
|
|
188
197
|
delete c.value.Additionals[e];
|
|
189
198
|
}
|
|
190
|
-
function
|
|
191
|
-
|
|
199
|
+
function Ee(e, t) {
|
|
200
|
+
_.value = !0, m.value = {
|
|
192
201
|
button: "Löschen",
|
|
193
|
-
header: `${
|
|
194
|
-
text: `Sind Sie sicher, dass Sie das optionale Feld ${
|
|
202
|
+
header: `${F(`message.dataupload.additionals.${e}`)} löschen`,
|
|
203
|
+
text: `Sind Sie sicher, dass Sie das optionale Feld ${F(
|
|
195
204
|
`message.dataupload.additionals.${e}`
|
|
196
205
|
)} löschen wollen?`,
|
|
197
206
|
action: e
|
|
198
207
|
};
|
|
199
208
|
}
|
|
200
|
-
const
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
})
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
+
const q = y(!1);
|
|
210
|
+
Ne(() => {
|
|
211
|
+
q.value = !0;
|
|
212
|
+
});
|
|
213
|
+
const Le = {
|
|
214
|
+
public: "Öffentlich",
|
|
215
|
+
restricted: "Eingeschränkt",
|
|
216
|
+
internal: "Intern"
|
|
217
|
+
};
|
|
218
|
+
function He(e) {
|
|
219
|
+
return Le[e] || e;
|
|
220
|
+
}
|
|
221
|
+
const P = v({
|
|
222
|
+
get() {
|
|
223
|
+
var e, t, r;
|
|
224
|
+
return ((r = (t = (e = c.value.Additionals) == null ? void 0 : e["dct:spatial"]) == null ? void 0 : t.filter((d) => !(d.isValid && Object.keys(d).length === 1))) == null ? void 0 : r.map((d) => d["@id"])) || [];
|
|
225
|
+
},
|
|
226
|
+
set(e) {
|
|
227
|
+
c.value.Additionals || (c.value.Additionals = {}), c.value.Additionals["dct:spatial"] = [
|
|
228
|
+
...e.map((t) => ({ "@id": t }))
|
|
229
|
+
];
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
return (e, t) => {
|
|
233
|
+
var d, f, $, x, g, J, Q, I, A, ee, te, ae, se, oe, ie, le, ne, re, de, ce, ue, pe, ve, fe, ge, he, ye, _e, me, be;
|
|
234
|
+
const r = Fe("formatbubble");
|
|
235
|
+
return o(), n(k, null, [
|
|
236
|
+
q.value && O.value ? (o(), n("div", Ae, [
|
|
237
|
+
z.value ? (o(), w(Ge, {
|
|
209
238
|
key: 0,
|
|
210
|
-
context:
|
|
211
|
-
"active-section":
|
|
212
|
-
onClose:
|
|
239
|
+
context: N.context,
|
|
240
|
+
"active-section": U.value,
|
|
241
|
+
onClose: ze
|
|
213
242
|
}, null, 8, ["context", "active-section"])) : u("", !0),
|
|
214
|
-
(o(),
|
|
215
|
-
a("div",
|
|
216
|
-
a("div",
|
|
217
|
-
p(
|
|
218
|
-
(o(),
|
|
219
|
-
id: (
|
|
243
|
+
(o(), n("div", et, [
|
|
244
|
+
a("div", tt, [
|
|
245
|
+
a("div", at, [
|
|
246
|
+
p(V).edit.fromDraft || p(V).edit.enabled ? (o(), n("div", st, [
|
|
247
|
+
(o(), w(Ze, {
|
|
248
|
+
id: (f = (d = p(c).value) == null ? void 0 : d.BasicInfos) == null ? void 0 : f.datasetID,
|
|
220
249
|
key: (x = ($ = p(c).value) == null ? void 0 : $.BasicInfos) == null ? void 0 : x.datasetID,
|
|
221
250
|
"data-cy": p(c).value,
|
|
222
251
|
catalogue: "test-catalog",
|
|
223
|
-
text: ((
|
|
224
|
-
|
|
225
|
-
|
|
252
|
+
text: ((J = (g = p(c).value) == null ? void 0 : g.BasicInfos) == null ? void 0 : J.title.de) || ((I = (Q = p(c).value) == null ? void 0 : Q.BasicInfos) == null ? void 0 : I.title.en),
|
|
253
|
+
visibility: He(C.value || "public"),
|
|
254
|
+
"visibility-state": C.value,
|
|
255
|
+
date: Y.value,
|
|
256
|
+
draft: !p(Ve),
|
|
226
257
|
dataset: e.dataset,
|
|
227
258
|
"from-draft": "true"
|
|
228
|
-
}, null, 8, ["id", "data-cy", "text", "date", "draft", "dataset"]))
|
|
229
|
-
])) : (o(),
|
|
230
|
-
a("h4",
|
|
231
|
-
a("div",
|
|
259
|
+
}, null, 8, ["id", "data-cy", "text", "visibility", "visibility-state", "date", "draft", "dataset"]))
|
|
260
|
+
])) : (o(), n("div", ot, [
|
|
261
|
+
a("h4", it, s(e.$t("message.dataupload.datasets.rap.title")), 1),
|
|
262
|
+
a("div", lt, s(e.$t("message.dataupload.datasets.rap.intro-text")), 1)
|
|
232
263
|
]))
|
|
233
264
|
])
|
|
234
265
|
]),
|
|
235
|
-
(o(),
|
|
236
|
-
a("div",
|
|
237
|
-
t[
|
|
266
|
+
(o(), n("div", nt, [
|
|
267
|
+
a("div", rt, [
|
|
268
|
+
t[14] || (t[14] = a("span", null, "Sichtbarkeit", -1)),
|
|
238
269
|
h(b, {
|
|
239
270
|
size: "large",
|
|
240
271
|
"icon-start": "pen",
|
|
241
272
|
variant: "secondary",
|
|
242
|
-
onClick: t[0] || (t[0] = (
|
|
273
|
+
onClick: t[0] || (t[0] = (l) => M.value = !0)
|
|
243
274
|
})
|
|
244
275
|
]),
|
|
245
|
-
a("div",
|
|
246
|
-
t[
|
|
276
|
+
a("div", dt, [
|
|
277
|
+
t[15] || (t[15] = a("span", {
|
|
247
278
|
class: "copy-large-regular",
|
|
248
279
|
style: { "margin-bottom": "4px" }
|
|
249
280
|
}, " Sichtbarkeit des Datensatzes: ", -1)),
|
|
250
|
-
|
|
281
|
+
C.value ? (o(), n("h5", ct, s({
|
|
251
282
|
public: "Öffentlich",
|
|
252
283
|
restricted: "Eingeschränkt",
|
|
253
284
|
internal: "Intern"
|
|
254
|
-
}[
|
|
285
|
+
}[C.value] || C.value), 1)) : (o(), n("span", ut, "–"))
|
|
255
286
|
])
|
|
256
287
|
])),
|
|
257
|
-
(o(),
|
|
258
|
-
a("div",
|
|
288
|
+
(o(), n("div", pt, [
|
|
289
|
+
a("div", vt, [
|
|
259
290
|
a("span", null, s(e.$t("message.dataupload.datasets.rap.findability.title")), 1),
|
|
260
291
|
h(b, {
|
|
261
292
|
size: "large",
|
|
262
293
|
"icon-start": "pen",
|
|
263
294
|
variant: "secondary",
|
|
264
|
-
onClick: t[1] || (t[1] = (
|
|
295
|
+
onClick: t[1] || (t[1] = (l) => D("findabilityHvd"))
|
|
265
296
|
})
|
|
266
297
|
]),
|
|
267
|
-
a("div",
|
|
268
|
-
a("
|
|
269
|
-
(o(!0),
|
|
298
|
+
a("div", ft, [
|
|
299
|
+
a("div", gt, s(e.$t("message.dataupload.datasets.rap.findability.categoryHeader")), 1),
|
|
300
|
+
(o(!0), n(k, null, B(xe.value, (l, i) => (o(), w(Ye, {
|
|
270
301
|
key: i,
|
|
271
|
-
text:
|
|
272
|
-
data: { "@value":
|
|
302
|
+
text: l.label,
|
|
303
|
+
data: { "@value": l.value, URI: l.URI },
|
|
273
304
|
setup: {
|
|
274
305
|
"@type": "static",
|
|
275
306
|
"@inTable": !1,
|
|
@@ -277,90 +308,88 @@ const Ye = { key: 0 }, je = {
|
|
|
277
308
|
}
|
|
278
309
|
}, null, 8, ["text", "data"]))), 128))
|
|
279
310
|
]),
|
|
280
|
-
(
|
|
281
|
-
h(
|
|
311
|
+
(ee = (A = W.value) == null ? void 0 : A[0]) != null && ee.label ? (o(), n("div", ht, [
|
|
312
|
+
h(Xe, {
|
|
282
313
|
label: "HVD",
|
|
283
314
|
state: "hvd",
|
|
284
315
|
size: "page"
|
|
285
316
|
}),
|
|
286
|
-
a("h5",
|
|
317
|
+
a("h5", yt, s((ae = (te = W.value) == null ? void 0 : te[0]) == null ? void 0 : ae.label), 1)
|
|
287
318
|
])) : u("", !0)
|
|
288
319
|
])),
|
|
289
|
-
(o(),
|
|
290
|
-
a("div",
|
|
320
|
+
(o(), n("div", _t, [
|
|
321
|
+
a("div", mt, [
|
|
291
322
|
a("span", null, s(e.$t("message.dataupload.datasets.rap.essentials.title")), 1),
|
|
292
323
|
h(b, {
|
|
293
324
|
size: "large",
|
|
294
325
|
"icon-start": "pen",
|
|
295
326
|
variant: "secondary",
|
|
296
|
-
onClick: t[2] || (t[2] = (
|
|
327
|
+
onClick: t[2] || (t[2] = (l) => D("essentials"))
|
|
297
328
|
})
|
|
298
329
|
]),
|
|
299
|
-
a("div",
|
|
300
|
-
a("h3",
|
|
330
|
+
a("div", bt, [
|
|
331
|
+
a("h3", St, s(we.value), 1)
|
|
301
332
|
]),
|
|
302
|
-
a("div",
|
|
303
|
-
a("span", null, s(
|
|
333
|
+
a("div", kt, [
|
|
334
|
+
a("span", null, s(Be.value), 1)
|
|
304
335
|
]),
|
|
305
|
-
a("div",
|
|
306
|
-
a("span",
|
|
307
|
-
a("span",
|
|
336
|
+
a("div", Dt, [
|
|
337
|
+
a("span", Vt, s(e.$t("message.dataupload.datasets.rap.essentials.modifiedHeader")), 1),
|
|
338
|
+
a("span", Ct, s(Y.value), 1)
|
|
308
339
|
]),
|
|
309
|
-
a("div",
|
|
310
|
-
a("span",
|
|
311
|
-
a("h5",
|
|
312
|
-
a("a",
|
|
340
|
+
a("div", $t, [
|
|
341
|
+
a("span", xt, s(e.$t("message.dataupload.datasets.rap.essentials.publisherHeader")), 1),
|
|
342
|
+
a("h5", wt, s(T.value["foaf:name"] || ""), 1),
|
|
343
|
+
a("a", Bt, s(T.value["foaf:mbox"] || ""), 1),
|
|
313
344
|
a("a", {
|
|
314
345
|
class: "copy-large-regular",
|
|
315
|
-
href:
|
|
316
|
-
}, s(
|
|
346
|
+
href: T.value["foaf:homepage"] || ""
|
|
347
|
+
}, s(T.value["foaf:homepage"] || ""), 9, Mt)
|
|
317
348
|
]),
|
|
318
|
-
a("div",
|
|
319
|
-
a("span",
|
|
320
|
-
a("h5",
|
|
321
|
-
a("a",
|
|
322
|
-
a("span",
|
|
349
|
+
a("div", Tt, [
|
|
350
|
+
a("span", Rt, s(e.$t("message.dataupload.datasets.rap.essentials.contactHeader")), 1),
|
|
351
|
+
a("h5", Pt, s(E.value["vcard:fn"] || ""), 1),
|
|
352
|
+
a("a", zt, s(E.value["vcard:hasEmail"] || ""), 1),
|
|
353
|
+
a("span", Et, s(E.value["vcard:hasTelephone"] || ""), 1)
|
|
323
354
|
])
|
|
324
355
|
])),
|
|
325
|
-
(o(),
|
|
326
|
-
a("div",
|
|
327
|
-
a("div",
|
|
356
|
+
(o(), n(k, { key: 3 }, [
|
|
357
|
+
a("div", Lt, [
|
|
358
|
+
a("div", Ht, [
|
|
328
359
|
a("span", null, s(e.$t("message.dataupload.datasets.rap.coverage.title")), 1),
|
|
329
360
|
h(b, {
|
|
330
361
|
size: "large",
|
|
331
362
|
"icon-start": "pen",
|
|
332
363
|
variant: "secondary",
|
|
333
|
-
onClick: t[3] || (t[3] = (
|
|
364
|
+
onClick: t[3] || (t[3] = (l) => D("coverage"))
|
|
334
365
|
})
|
|
335
366
|
]),
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
a("
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
a("span", Et, s(e.$t("message.dataupload.datasets.rap.coverage.tempCoverage")), 1),
|
|
353
|
-
h(F, {
|
|
367
|
+
a("div", null, [
|
|
368
|
+
P.value && ((se = P.value) == null ? void 0 : se.length) > 0 ? (o(), n("div", Nt, [
|
|
369
|
+
t[16] || (t[16] = a("div", { class: "copy-large-regular" }, " Räumliche Abdeckung ", -1)),
|
|
370
|
+
a("div", null, [
|
|
371
|
+
h(qe, {
|
|
372
|
+
modelValue: P.value,
|
|
373
|
+
"onUpdate:modelValue": t[4] || (t[4] = (l) => P.value = l),
|
|
374
|
+
readonly: ""
|
|
375
|
+
}, null, 8, ["modelValue"])
|
|
376
|
+
])
|
|
377
|
+
])) : u("", !0)
|
|
378
|
+
]),
|
|
379
|
+
Te.value ? (o(), n("div", Ft, [
|
|
380
|
+
a("div", Ot, [
|
|
381
|
+
a("span", Ut, s(e.$t("message.dataupload.datasets.rap.coverage.tempCoverage")), 1),
|
|
382
|
+
h(De, {
|
|
354
383
|
"button-text": "löschen",
|
|
355
|
-
onClick:
|
|
384
|
+
onClick: Ce
|
|
356
385
|
})
|
|
357
386
|
]),
|
|
358
|
-
a("div",
|
|
359
|
-
(o(!0),
|
|
360
|
-
a("div",
|
|
361
|
-
t[
|
|
387
|
+
a("div", jt, [
|
|
388
|
+
(o(!0), n(k, null, B(R.value["dct:temporal"] || [], (l) => (o(), n("div", Wt, [
|
|
389
|
+
a("div", Yt, [
|
|
390
|
+
t[17] || (t[17] = L(" Von ", -1)),
|
|
362
391
|
a("div", null, [
|
|
363
|
-
a("span", null, s(new Date(
|
|
392
|
+
a("span", null, s(new Date(l["dcat:startDate"]).toLocaleDateString(
|
|
364
393
|
"de-DE",
|
|
365
394
|
{
|
|
366
395
|
day: "2-digit",
|
|
@@ -368,13 +397,13 @@ const Ye = { key: 0 }, je = {
|
|
|
368
397
|
year: "numeric"
|
|
369
398
|
}
|
|
370
399
|
)), 1),
|
|
371
|
-
|
|
400
|
+
l.startTime != null ? (o(), n("span", Kt, s(l.startTime), 1)) : u("", !0)
|
|
372
401
|
])
|
|
373
402
|
]),
|
|
374
|
-
a("div",
|
|
375
|
-
t[
|
|
403
|
+
a("div", Gt, [
|
|
404
|
+
t[18] || (t[18] = L(" Bis ", -1)),
|
|
376
405
|
a("div", null, [
|
|
377
|
-
a("span", null, s(new Date(
|
|
406
|
+
a("span", null, s(new Date(l["dcat:endDate"]).toLocaleDateString(
|
|
378
407
|
"de-DE",
|
|
379
408
|
{
|
|
380
409
|
day: "2-digit",
|
|
@@ -382,42 +411,46 @@ const Ye = { key: 0 }, je = {
|
|
|
382
411
|
year: "numeric"
|
|
383
412
|
}
|
|
384
413
|
)), 1),
|
|
385
|
-
|
|
414
|
+
l.endTime != null ? (o(), n("span", Xt, s(l.endTime), 1)) : u("", !0)
|
|
386
415
|
])
|
|
387
416
|
])
|
|
388
417
|
]))), 256))
|
|
389
418
|
])
|
|
390
419
|
])) : u("", !0)
|
|
391
420
|
]),
|
|
392
|
-
a("div",
|
|
393
|
-
a("div",
|
|
421
|
+
a("div", Zt, [
|
|
422
|
+
a("div", qt, [
|
|
394
423
|
a("span", null, s(e.$t("message.metadata.distributions")), 1),
|
|
395
424
|
h(b, {
|
|
396
425
|
size: "large",
|
|
397
426
|
"icon-start": "pen",
|
|
398
427
|
variant: "secondary",
|
|
399
|
-
onClick: t[
|
|
428
|
+
onClick: t[5] || (t[5] = (l) => D("distributions"))
|
|
400
429
|
})
|
|
401
430
|
]),
|
|
402
|
-
a("div",
|
|
403
|
-
a("span",
|
|
404
|
-
a("h5",
|
|
431
|
+
a("div", Jt, [
|
|
432
|
+
a("span", Qt, s(e.$t("message.dataupload.steps.dct:license")), 1),
|
|
433
|
+
a("h5", It, s(p(K)["dcterms:license"] || ((le = (ie = (oe = p(c).DistributionSimple) == null ? void 0 : oe["dct:license"]) == null ? void 0 : ie[0]) == null ? void 0 : le["dcterms:license"]) || "Keine Lizenz angegeben"), 1)
|
|
405
434
|
]),
|
|
406
|
-
|
|
407
|
-
a("span",
|
|
435
|
+
(de = (re = (ne = p(c).DistributionSimple) == null ? void 0 : ne["dct:license"]) == null ? void 0 : re[0]) != null && de.title || (ve = (pe = (ue = (ce = p(c)) == null ? void 0 : ce.DistributionSimple) == null ? void 0 : ue["dcat:distribution"]) == null ? void 0 : pe[0]) != null && ve["dcatde:licenseAttributionByText"] ? (o(), n("div", At, [
|
|
436
|
+
a("span", ea, s(e.$t(
|
|
408
437
|
"message.dataupload.datasets.dcat:distribution.advanced.dcatde:licenseAttributionByText"
|
|
409
438
|
)), 1),
|
|
410
|
-
a("h5",
|
|
411
|
-
]),
|
|
412
|
-
a("div",
|
|
413
|
-
a("span",
|
|
414
|
-
(o(!0),
|
|
415
|
-
a("
|
|
439
|
+
a("h5", ta, s(((he = (ge = (fe = p(c).DistributionSimple) == null ? void 0 : fe["dct:license"]) == null ? void 0 : ge[0]) == null ? void 0 : he.title) || ((be = (me = (_e = (ye = p(c)) == null ? void 0 : ye.DistributionSimple) == null ? void 0 : _e["dcat:distribution"]) == null ? void 0 : me[0]) == null ? void 0 : be["dcatde:licenseAttributionByText"])), 1)
|
|
440
|
+
])) : u("", !0),
|
|
441
|
+
a("div", aa, [
|
|
442
|
+
a("span", sa, s(e.$t("message.dataupload.steps.dcat:distribution")), 1),
|
|
443
|
+
(o(!0), n(k, null, B(Re.value, (l) => (o(), n("div", oa, [
|
|
444
|
+
a("a", {
|
|
445
|
+
class: "copy-large-semi-bold",
|
|
446
|
+
href: l["dcat:accessURL"],
|
|
447
|
+
target: "_blank"
|
|
448
|
+
}, s(l["dct:title"] || l["dcat:accessURL"]), 9, ia),
|
|
416
449
|
h(r, null, {
|
|
417
|
-
default:
|
|
450
|
+
default: H(() => {
|
|
418
451
|
var i;
|
|
419
452
|
return [
|
|
420
|
-
|
|
453
|
+
L(s(((i = l["dct:format"]) == null ? void 0 : i.label) || "Kein Format angegeben"), 1)
|
|
421
454
|
];
|
|
422
455
|
}),
|
|
423
456
|
_: 2
|
|
@@ -425,100 +458,100 @@ const Ye = { key: 0 }, je = {
|
|
|
425
458
|
]))), 256))
|
|
426
459
|
])
|
|
427
460
|
]),
|
|
428
|
-
|
|
429
|
-
a("div",
|
|
461
|
+
X.value ? (o(), n("div", la, [
|
|
462
|
+
a("div", na, [
|
|
430
463
|
a("span", null, s(e.$t("message.metadata.additionals")), 1)
|
|
431
464
|
]),
|
|
432
|
-
(o(!0),
|
|
433
|
-
a("div",
|
|
434
|
-
a("span",
|
|
435
|
-
h(
|
|
465
|
+
(o(!0), n(k, null, B(G.value, (l) => (o(), n("div", ra, [
|
|
466
|
+
a("div", da, [
|
|
467
|
+
a("span", ca, s(e.$t(`message.dataupload.additionals.${l}`)) + " (optional)", 1),
|
|
468
|
+
h(De, {
|
|
436
469
|
"button-text": "löschen",
|
|
437
|
-
onClick: (i) =>
|
|
470
|
+
onClick: (i) => Ee(l)
|
|
438
471
|
}, null, 8, ["onClick"])
|
|
439
472
|
]),
|
|
440
|
-
|
|
441
|
-
a("span", null, s(
|
|
473
|
+
l === "dcat:temporalResolution" ? (o(), n("div", ua, [
|
|
474
|
+
a("span", null, s($e(S.value[l] || [])), 1)
|
|
442
475
|
])) : u("", !0),
|
|
443
|
-
|
|
476
|
+
l != "dcat:temporalResolution" ? (o(!0), n(k, { key: 1 }, B(S.value[l] || [], (i) => (o(), n("div", {
|
|
444
477
|
key: i ? i["@id"] || i["@value"] || i["rdfs:label"] : null,
|
|
445
478
|
class: "additionalSubPropsWrapper"
|
|
446
479
|
}, [
|
|
447
|
-
i && i["rdf:type"] ? (o(),
|
|
448
|
-
i && i["@type"] === "http://www.w3.org/2001/XMLSchema#date" ? (o(),
|
|
449
|
-
i && i["@value"] && i["@type"] !== "http://www.w3.org/2001/XMLSchema#date" ? (o(),
|
|
450
|
-
i && i["dct:title"] ? (o(),
|
|
451
|
-
i && i["dct:description"] ? (o(),
|
|
452
|
-
i && i["@id"] ? (o(),
|
|
453
|
-
i && i["rdfs:label"] ? (o(),
|
|
454
|
-
i && i["foaf:name"] ? (o(),
|
|
455
|
-
i && i["foaf:homepage"] ? (o(),
|
|
456
|
-
i && i["foaf:mbox"] ? (o(),
|
|
480
|
+
i && i["rdf:type"] ? (o(), n("span", pa, s(i["rdf:type"]), 1)) : u("", !0),
|
|
481
|
+
i && i["@type"] === "http://www.w3.org/2001/XMLSchema#date" ? (o(), n("span", va, s(Pe(i["@value"])), 1)) : u("", !0),
|
|
482
|
+
i && i["@value"] && i["@type"] !== "http://www.w3.org/2001/XMLSchema#date" ? (o(), n("span", fa, s(i["@value"]), 1)) : u("", !0),
|
|
483
|
+
i && i["dct:title"] ? (o(), n("span", ga, s(i["dct:title"]), 1)) : u("", !0),
|
|
484
|
+
i && i["dct:description"] ? (o(), n("span", ha, s(i["dct:description"]), 1)) : u("", !0),
|
|
485
|
+
i && i["@id"] ? (o(), n("span", ya, s(i["@id"]), 1)) : u("", !0),
|
|
486
|
+
i && i["rdfs:label"] ? (o(), n("span", _a, s(i["rdfs:label"]), 1)) : u("", !0),
|
|
487
|
+
i && i["foaf:name"] ? (o(), n("span", ma, s(i["foaf:name"]), 1)) : u("", !0),
|
|
488
|
+
i && i["foaf:homepage"] ? (o(), n("span", ba, s(i["foaf:homepage"]), 1)) : u("", !0),
|
|
489
|
+
i && i["foaf:mbox"] ? (o(), n("span", Sa, s(i["foaf:mbox"]), 1)) : u("", !0)
|
|
457
490
|
]))), 128)) : u("", !0)
|
|
458
491
|
]))), 256)),
|
|
459
|
-
a("div",
|
|
492
|
+
a("div", ka, [
|
|
460
493
|
h(b, {
|
|
461
494
|
"button-text": "Optionale Informationen hinzufügen",
|
|
462
495
|
size: "large",
|
|
463
496
|
"icon-start": "plus",
|
|
464
497
|
variant: "tertiary",
|
|
465
|
-
onClick: t[
|
|
498
|
+
onClick: t[6] || (t[6] = (l) => D("additionals"))
|
|
466
499
|
})
|
|
467
500
|
])
|
|
468
501
|
])) : u("", !0),
|
|
469
|
-
|
|
502
|
+
X.value ? u("", !0) : (o(), n("div", Da, [
|
|
470
503
|
h(b, {
|
|
471
504
|
"button-text": "Optionale Informationen hinzufügen",
|
|
472
505
|
size: "large",
|
|
473
506
|
"icon-start": "plus",
|
|
474
507
|
variant: "tertiary",
|
|
475
|
-
onClick: t[
|
|
508
|
+
onClick: t[7] || (t[7] = (l) => D("additionals"))
|
|
476
509
|
})
|
|
477
510
|
]))
|
|
478
511
|
], 64))
|
|
479
512
|
])),
|
|
480
|
-
p(
|
|
513
|
+
p(_) ? (o(), w(ke, {
|
|
481
514
|
key: 2,
|
|
482
515
|
buttons: p(m).button,
|
|
483
516
|
"header-text": p(m).header,
|
|
484
517
|
text: p(m).text,
|
|
485
518
|
action: p(m).action,
|
|
486
|
-
onClose: t[
|
|
487
|
-
onActionHandling: t[
|
|
519
|
+
onClose: t[8] || (t[8] = (l) => Se(_) ? _.value = !1 : _ = !1),
|
|
520
|
+
onActionHandling: t[9] || (t[9] = (l) => Z(l))
|
|
488
521
|
}, null, 8, ["buttons", "header-text", "text", "action"])) : u("", !0),
|
|
489
|
-
h(
|
|
522
|
+
h(Ke, {
|
|
490
523
|
modelValue: M.value,
|
|
491
|
-
"onUpdate:modelValue": t[
|
|
524
|
+
"onUpdate:modelValue": t[11] || (t[11] = (l) => M.value = l),
|
|
492
525
|
title: "Sichtbarkeit"
|
|
493
526
|
}, {
|
|
494
|
-
footer:
|
|
527
|
+
footer: H(() => [
|
|
495
528
|
h(b, {
|
|
496
529
|
size: "large",
|
|
497
530
|
variant: "primary",
|
|
498
531
|
"button-text": "Schließen",
|
|
499
532
|
style: { "margin-left": "auto" },
|
|
500
|
-
onClick: t[
|
|
533
|
+
onClick: t[10] || (t[10] = (l) => M.value = !1)
|
|
501
534
|
})
|
|
502
535
|
]),
|
|
503
|
-
default:
|
|
504
|
-
h(
|
|
536
|
+
default: H(() => [
|
|
537
|
+
h(Je, { context: N.context }, null, 8, ["context"])
|
|
505
538
|
]),
|
|
506
539
|
_: 1
|
|
507
540
|
}, 8, ["modelValue"])
|
|
508
541
|
])) : u("", !0),
|
|
509
|
-
p(
|
|
542
|
+
p(_) ? (o(), w(ke, {
|
|
510
543
|
key: 1,
|
|
511
544
|
buttons: p(m).button,
|
|
512
545
|
"header-text": p(m).header,
|
|
513
546
|
text: p(m).text,
|
|
514
547
|
action: p(m).action,
|
|
515
|
-
onClose: t[
|
|
516
|
-
onActionHandling: t[
|
|
548
|
+
onClose: t[12] || (t[12] = (l) => Se(_) ? _.value = !1 : _ = !1),
|
|
549
|
+
onActionHandling: t[13] || (t[13] = (l) => Z(l))
|
|
517
550
|
}, null, 8, ["buttons", "header-text", "text", "action"])) : u("", !0)
|
|
518
551
|
], 64);
|
|
519
552
|
};
|
|
520
553
|
}
|
|
521
|
-
},
|
|
554
|
+
}, Za = /* @__PURE__ */ Qe(Va, [["__scopeId", "data-v-4ac4fd18"]]);
|
|
522
555
|
export {
|
|
523
|
-
|
|
556
|
+
Za as default
|
|
524
557
|
};
|