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