@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/DistributionSimplePage.vue.js
CHANGED
|
@@ -1,104 +1,107 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ref as v, computed as Te, toRef as nt, onUnmounted as dt, onMounted as ct, getCurrentInstance as rt, watch as ut, createElementBlock as m, openBlock as r, Fragment as Q, createElementVNode as f, createBlock as X, createCommentVNode as p, toDisplayString as B, renderList as Ue, unref as U, createVNode as u, withDirectives as mt, vShow as ft } from "vue";
|
|
2
2
|
import "@formkit/core";
|
|
3
|
-
import { PhWarning as
|
|
4
|
-
import { useI18n as
|
|
5
|
-
import { useStore as
|
|
6
|
-
import { useEditModeInfo as
|
|
7
|
-
import { useFormValues as
|
|
8
|
-
import
|
|
9
|
-
import { getFileTypes as
|
|
10
|
-
import { eventBus as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
3
|
+
import { PhWarning as Y } from "@phosphor-icons/vue";
|
|
4
|
+
import { useI18n as pt } from "vue-i18n";
|
|
5
|
+
import { useStore as vt } from "vuex";
|
|
6
|
+
import { useEditModeInfo as ht } from "../composables/useDpiEditMode.js";
|
|
7
|
+
import { useFormValues as gt } from "../composables/useDpiFormValues.js";
|
|
8
|
+
import M from "../config/dcatapdeHappyFlow/page-content-config.js";
|
|
9
|
+
import { getLicenses as yt, getFileTypes as kt, getFormatTypes as xt, getChecksumAlgorithms as bt, getPlannedAvailability as wt, getLanguages as Dt } from "../HappyFlowComponents/services/dpiV3_apis.js";
|
|
10
|
+
import { eventBus as Le } from "../HappyFlowComponents/services/eventBus.js";
|
|
11
|
+
import z from "../HappyFlowComponents/ui/ButtonV3.vue.js";
|
|
12
|
+
import _t from "../HappyFlowComponents/ui/Dropdown.vue.js";
|
|
13
|
+
import Z from "../HappyFlowComponents/ui/InputField.vue.js";
|
|
14
|
+
import It from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
|
|
15
|
+
import Tt from "../HappyFlowComponents/ui/ModalV3.vue.js";
|
|
16
|
+
import Ut from "../HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js";
|
|
17
|
+
import Lt from "../HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js";
|
|
18
|
+
import Vt from "../HappyFlowComponents/ui/OptionalInformation/ByteSizeV3.vue.js";
|
|
19
|
+
import Rt from "../HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js";
|
|
20
|
+
import Ct from "../HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js";
|
|
21
|
+
import At from "../HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js";
|
|
22
|
+
import St from "../HappyFlowComponents/ui/OptionalInformation/DescriptionV3.vue.js";
|
|
23
|
+
import Ft from "../HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js";
|
|
24
|
+
import ee from "../HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js";
|
|
25
|
+
import $t from "../HappyFlowComponents/ui/OptionalInformation/IssuedDateV3.vue.js";
|
|
26
|
+
import Et from "../HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js";
|
|
27
|
+
import Bt from "../HappyFlowComponents/ui/OptionalInformation/ModifiedDateV3.vue.js";
|
|
28
|
+
import Mt from "../HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js";
|
|
29
|
+
import zt from "../HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js";
|
|
30
|
+
import A from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
31
31
|
/* empty css */
|
|
32
|
-
import
|
|
33
|
-
const
|
|
32
|
+
import Pt from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
33
|
+
const Nt = { class: "dpiV3InnerComponentWrap" }, Ot = { key: 0 }, Wt = {
|
|
34
34
|
key: 1,
|
|
35
35
|
class: "copy-large-regular"
|
|
36
|
-
},
|
|
36
|
+
}, jt = { class: "dpiV3_LinkAndMetadata input-container" }, Ht = {
|
|
37
37
|
key: 0,
|
|
38
38
|
class: "accUrlError"
|
|
39
|
-
},
|
|
39
|
+
}, Jt = { class: "copy-mini-regular" }, Kt = {
|
|
40
40
|
key: 1,
|
|
41
41
|
class: "validation-error"
|
|
42
|
-
},
|
|
42
|
+
}, qt = { class: "copy-mini-regular" }, Gt = {
|
|
43
43
|
key: 2,
|
|
44
44
|
class: "dpiV3_DocumentationsInDistr"
|
|
45
|
-
},
|
|
45
|
+
}, Qt = { class: "dpiV3_TitleDelete" }, Xt = { class: "dpiV3_documentationContents" }, Yt = { class: "dpiV3_Documentation" }, Zt = {
|
|
46
46
|
key: 3,
|
|
47
47
|
class: "dpiV3_DocumentationsInDistr"
|
|
48
|
-
},
|
|
49
|
-
key:
|
|
50
|
-
class: "
|
|
51
|
-
},
|
|
48
|
+
}, ea = { class: "dpiV3_TitleDelete" }, ta = { class: "dpiV3_documentationContents" }, aa = { class: "dpiV3_Documentation" }, oa = { class: "dpiV3_DocumentationsInDistr" }, sa = { class: "dpiV3_TitleDelete" }, ia = { key: 0 }, la = {
|
|
49
|
+
key: 0,
|
|
50
|
+
class: "dpiV3_tempAddMore"
|
|
51
|
+
}, na = {
|
|
52
52
|
key: 5,
|
|
53
53
|
class: "dpiV3_modified dpiV3_label"
|
|
54
|
-
},
|
|
54
|
+
}, da = {
|
|
55
55
|
key: 6,
|
|
56
56
|
class: "dpiV3_modified dpiV3_label"
|
|
57
|
-
},
|
|
57
|
+
}, ca = { class: "dpiV3_modified dpiV3_label" }, ra = {
|
|
58
58
|
key: 7,
|
|
59
59
|
class: "dpiV3_modified dpiV3_label"
|
|
60
|
-
},
|
|
60
|
+
}, ua = {
|
|
61
61
|
key: 8,
|
|
62
62
|
class: "dpiV3_modified dpiV3_label"
|
|
63
|
-
},
|
|
63
|
+
}, ma = {
|
|
64
64
|
key: 9,
|
|
65
65
|
class: "dpiV3_modified dpiV3_label"
|
|
66
|
-
},
|
|
66
|
+
}, fa = {
|
|
67
67
|
key: 10,
|
|
68
|
-
class: "
|
|
69
|
-
},
|
|
68
|
+
class: "dpiV3_modified dpiV3_label"
|
|
69
|
+
}, pa = {
|
|
70
70
|
key: 11,
|
|
71
71
|
class: "dpiV3_DocumentationsInDistr"
|
|
72
|
-
},
|
|
72
|
+
}, va = { class: "dpiV3_TitleDelete" }, ha = {
|
|
73
73
|
key: 12,
|
|
74
|
-
class: "
|
|
75
|
-
},
|
|
74
|
+
class: "dpiV3_DocumentationsInDistr"
|
|
75
|
+
}, ga = { class: "dpiV3_TitleDelete" }, ya = {
|
|
76
76
|
key: 13,
|
|
77
77
|
class: "dpiV3_modified dpiV3_label"
|
|
78
|
-
},
|
|
78
|
+
}, ka = {
|
|
79
79
|
key: 14,
|
|
80
80
|
class: "dpiV3_modified dpiV3_label"
|
|
81
|
-
},
|
|
81
|
+
}, xa = {
|
|
82
82
|
key: 15,
|
|
83
83
|
class: "dpiV3_modified dpiV3_label"
|
|
84
|
-
},
|
|
84
|
+
}, ba = {
|
|
85
85
|
key: 16,
|
|
86
86
|
class: "dpiV3_modified dpiV3_label"
|
|
87
|
-
},
|
|
87
|
+
}, wa = {
|
|
88
88
|
key: 17,
|
|
89
|
+
class: "dpiV3_modified dpiV3_label"
|
|
90
|
+
}, Da = {
|
|
91
|
+
key: 18,
|
|
89
92
|
class: "copy-mini-regular dpiV3_text_error"
|
|
90
|
-
},
|
|
93
|
+
}, _a = { class: "dpiV3_CTA-Distribution" }, Ia = { class: "dpiV3_tempAddMore" }, Ta = {
|
|
91
94
|
key: 2,
|
|
92
95
|
class: "dpiV3_errormsgWrapper"
|
|
93
|
-
},
|
|
96
|
+
}, Ua = {
|
|
94
97
|
__name: "DistributionSimplePage",
|
|
95
98
|
props: {
|
|
96
99
|
context: Object,
|
|
97
100
|
inRap: Boolean
|
|
98
101
|
},
|
|
99
|
-
setup(
|
|
100
|
-
var
|
|
101
|
-
const
|
|
102
|
+
setup(S) {
|
|
103
|
+
var ye, ke, xe;
|
|
104
|
+
const P = S, { isEditMode: te } = ht(), { t: _ } = pt(), L = v(null), Ve = {
|
|
102
105
|
isValid: "unset",
|
|
103
106
|
id: 1,
|
|
104
107
|
"dcat:accessURL": "",
|
|
@@ -107,6 +110,7 @@ const At = { class: "dpiV3InnerComponentWrap" }, Ct = { key: 0 }, St = {
|
|
|
107
110
|
documentations: [],
|
|
108
111
|
conformsToItems: [],
|
|
109
112
|
policyItems: [],
|
|
113
|
+
"dcat:downloadURL": [{ "@id": "" }],
|
|
110
114
|
accessServices: [],
|
|
111
115
|
"dct:modified": "",
|
|
112
116
|
"dct:issued": "",
|
|
@@ -125,107 +129,134 @@ const At = { class: "dpiV3InnerComponentWrap" }, Ct = { key: 0 }, St = {
|
|
|
125
129
|
"spdx:checksum": "",
|
|
126
130
|
uri: ""
|
|
127
131
|
},
|
|
128
|
-
|
|
132
|
+
"dct:license": {
|
|
129
133
|
title: "",
|
|
130
134
|
"dcterms:license": ""
|
|
131
135
|
}
|
|
132
|
-
}, { formValues:
|
|
133
|
-
() =>
|
|
134
|
-
).value ?
|
|
135
|
-
|
|
136
|
-
const
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
136
|
+
}, { formValues: b } = gt(), l = Te(
|
|
137
|
+
() => te.value || P.inRap
|
|
138
|
+
).value ? nt((ye = b.value.DistributionSimple) == null ? void 0 : ye["dcat:distribution"]) : v([Ve]);
|
|
139
|
+
l.value[0]["dcat:downloadURL"] || (console.log(l["dcat:downloadURL"], l), l.value[0]["dcat:downloadURL"] = [{ "@id": "" }]);
|
|
140
|
+
const n = v({}), V = v({}), ae = v([]), F = v(!1), N = v(!1), k = v(0), x = v([]), D = v([]), oe = v([]), O = v([]), se = v([]);
|
|
141
|
+
v([...x.value]);
|
|
142
|
+
const $ = v([...D.value]), Re = vt(), W = v(null);
|
|
143
|
+
v(null);
|
|
144
|
+
const j = v(!1), ie = v(!1), H = v(!1), le = v(!0);
|
|
145
|
+
for (let a = 0; a < l.value.length; a++)
|
|
146
|
+
if (((ke = b.value.DistributionSimple["dcat:distribution"][a]) == null ? void 0 : ke.checksum.uri) !== "" || ((xe = b.value.DistributionSimple["dcat:distribution"][a]) == null ? void 0 : xe.checksum.title) !== "") {
|
|
147
|
+
ie.value = !1;
|
|
140
148
|
break;
|
|
141
149
|
}
|
|
142
|
-
function
|
|
143
|
-
|
|
150
|
+
function Ce() {
|
|
151
|
+
ae.value = [
|
|
144
152
|
{
|
|
145
|
-
title:
|
|
153
|
+
title: _(
|
|
146
154
|
"message.dataupload.datasets.dcat:distribution.recommended.title"
|
|
147
155
|
),
|
|
148
|
-
items:
|
|
149
|
-
(
|
|
150
|
-
`message.dataupload.datasets.dcat:distribution.recommended.${
|
|
151
|
-
) ||
|
|
156
|
+
items: M.distributions.Recommended.map(
|
|
157
|
+
(a) => _(
|
|
158
|
+
`message.dataupload.datasets.dcat:distribution.recommended.${a}`
|
|
159
|
+
) || a
|
|
152
160
|
),
|
|
153
|
-
keys:
|
|
161
|
+
keys: M.distributions.Recommended
|
|
154
162
|
},
|
|
155
163
|
{
|
|
156
|
-
title:
|
|
157
|
-
items:
|
|
158
|
-
(
|
|
164
|
+
title: _("message.dataupload.datasets.dcat:distribution.advanced.title"),
|
|
165
|
+
items: M.distributions.Advanced.map(
|
|
166
|
+
(a) => _(`message.dataupload.datasets.dcat:distribution.advanced.${a}`) || a
|
|
159
167
|
),
|
|
160
|
-
keys:
|
|
168
|
+
keys: M.distributions.Advanced
|
|
161
169
|
}
|
|
162
170
|
];
|
|
163
171
|
}
|
|
164
|
-
function
|
|
165
|
-
|
|
172
|
+
function ne(a) {
|
|
173
|
+
var t, e, o;
|
|
174
|
+
(o = (e = (t = P.context) == null ? void 0 : t.node) == null ? void 0 : e.name) != null && o.includes("distribution") && (a.includes("dcat:distribution") || a.includes("dct:license")) && (le.value || J(), le.value = !1);
|
|
166
175
|
}
|
|
167
|
-
function
|
|
168
|
-
let
|
|
169
|
-
|
|
170
|
-
var
|
|
171
|
-
const o =
|
|
172
|
-
|
|
176
|
+
function J(a) {
|
|
177
|
+
let t = !0;
|
|
178
|
+
l.value = l.value.map((e) => {
|
|
179
|
+
var d;
|
|
180
|
+
const o = e["dcat:accessURL"] != null && e["dcat:accessURL"].trim() !== "" && K(e["dcat:accessURL"]), s = ((d = e["dct:format"]) == null ? void 0 : d.label) != null && e["dct:format"].label.trim() !== "" && x.value.some(
|
|
181
|
+
(g) => g["@value"].toUpperCase() === e["dct:format"].label.toUpperCase()
|
|
182
|
+
), i = o && s;
|
|
183
|
+
return i || (t = !1), a === e.id ? {
|
|
173
184
|
...e,
|
|
174
|
-
isValid:
|
|
185
|
+
isValid: i,
|
|
175
186
|
showErrorDownloadURL: !1,
|
|
176
187
|
showErrorFormat: !1
|
|
177
188
|
} : {
|
|
178
189
|
...e,
|
|
179
|
-
isValid:
|
|
190
|
+
isValid: i,
|
|
180
191
|
showErrorDownloadURL: !o,
|
|
181
|
-
showErrorFormat: !
|
|
192
|
+
showErrorFormat: !s
|
|
182
193
|
};
|
|
183
|
-
}), !
|
|
194
|
+
}), !t && l.value.length > 0 && (l.value[0].isValid = !1), a == null && (H.value = !t), b.value.DistributionSimple["dcat:distribution"] = l.value;
|
|
184
195
|
}
|
|
185
|
-
function
|
|
186
|
-
var o,
|
|
196
|
+
function E(a, t) {
|
|
197
|
+
var o, s, i;
|
|
187
198
|
let e = !0;
|
|
188
|
-
if (
|
|
189
|
-
e = ((o = t
|
|
190
|
-
else if (
|
|
191
|
-
const
|
|
192
|
-
e =
|
|
199
|
+
if (t === "dcat:accessURL")
|
|
200
|
+
e = ((o = a[t]) == null ? void 0 : o.trim()) !== "" && (a[t] ? K(a[t]) : !1), e ? (a.showErrorDownloadURL = !1, a.urlErrorMessage = "") : (a.showErrorDownloadURL = !0, ((s = a[t]) == null ? void 0 : s.trim()) === "" ? a.urlErrorMessage = "URL ist erforderlich" : a.urlErrorMessage = "Bitte geben Sie eine gültige URL ein.");
|
|
201
|
+
else if (t === "dct:format") {
|
|
202
|
+
const d = (i = a[t].label) == null ? void 0 : i.trim();
|
|
203
|
+
e = d !== "" && D.value.some(
|
|
204
|
+
(g) => g["@value"].toLowerCase() === d.toLowerCase()
|
|
205
|
+
), e ? (a.showErrorFormat = !1, a.formatErrorMessage = "") : (a.showErrorFormat = !0, d === "" ? a.formatErrorMessage = "Format ist erforderlich" : a.formatErrorMessage = "Bitte wählen Sie ein gültiges Format aus der Liste");
|
|
193
206
|
}
|
|
194
|
-
|
|
207
|
+
Ae();
|
|
195
208
|
}
|
|
196
|
-
function
|
|
197
|
-
let
|
|
198
|
-
|
|
199
|
-
var
|
|
200
|
-
const e = ((
|
|
209
|
+
function Ae() {
|
|
210
|
+
let a = !0;
|
|
211
|
+
l.value = l.value.map((t) => {
|
|
212
|
+
var i, d;
|
|
213
|
+
const e = ((i = t["dcat:accessURL"]) == null ? void 0 : i.trim()) !== "" && K(t["dcat:accessURL"]), o = ((d = t["dct:format"].label) == null ? void 0 : d.trim()) !== "" && $.value.some(
|
|
201
214
|
(g) => {
|
|
202
|
-
var
|
|
203
|
-
return g["@value"].toUpperCase() === ((
|
|
215
|
+
var h;
|
|
216
|
+
return g["@value"].toUpperCase() === ((h = t["dct:format"].label) == null ? void 0 : h.toUpperCase());
|
|
204
217
|
}
|
|
205
|
-
),
|
|
206
|
-
return
|
|
207
|
-
...
|
|
208
|
-
isValid:
|
|
218
|
+
), s = e && o;
|
|
219
|
+
return console.log(s), s || (a = !1), {
|
|
220
|
+
...t,
|
|
221
|
+
isValid: s
|
|
209
222
|
};
|
|
210
|
-
}), !
|
|
223
|
+
}), !a && l.value.length > 0 ? l.value[0].isValid = !1 : l.value.length > 0 && (l.value[0].isValid = !0), H.value = !a, b.value.DistributionSimple["dcat:distribution"] = l.value;
|
|
211
224
|
}
|
|
212
|
-
function
|
|
213
|
-
return /^(https
|
|
225
|
+
function K(a) {
|
|
226
|
+
return /^(https?|http):\/\/[^\s/$.?#].[^\s]*$/i.test(a);
|
|
214
227
|
}
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
})
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
228
|
+
dt(() => {
|
|
229
|
+
Le.off("nextClicked", ne), L.value && clearTimeout(L.value);
|
|
230
|
+
});
|
|
231
|
+
let de = v([]);
|
|
232
|
+
ct(async () => {
|
|
233
|
+
Le.on("nextClicked", ne);
|
|
234
|
+
const a = rt(), t = a.appContext.app.config.globalProperties.$env;
|
|
235
|
+
if (a) {
|
|
236
|
+
const e = a.appContext.app.config.globalProperties.$env;
|
|
237
|
+
W.value = e.content.dataProviderInterface.specification;
|
|
223
238
|
} else
|
|
224
239
|
console.log("Instance is null!");
|
|
225
240
|
try {
|
|
226
|
-
const e = await
|
|
227
|
-
|
|
228
|
-
|
|
241
|
+
const e = await yt(t.api.baseUrl);
|
|
242
|
+
de.value = e.map((s) => ({
|
|
243
|
+
uri: s.uri,
|
|
244
|
+
"@value": s.value,
|
|
245
|
+
label: s.label
|
|
246
|
+
}));
|
|
247
|
+
const o = await kt(t.api.baseUrl);
|
|
248
|
+
x.value = o.results.map((s) => ({
|
|
249
|
+
"@value": s.pref_label.en,
|
|
250
|
+
uri: s.resource,
|
|
251
|
+
selected: !1
|
|
252
|
+
}));
|
|
253
|
+
} catch (e) {
|
|
254
|
+
error.value = e;
|
|
255
|
+
}
|
|
256
|
+
try {
|
|
257
|
+
const e = await xt(t.api.baseUrl);
|
|
258
|
+
D.value = e.results.map((o) => ({
|
|
259
|
+
"@value": o.pref_label.en,
|
|
229
260
|
uri: o.resource,
|
|
230
261
|
selected: !1
|
|
231
262
|
}));
|
|
@@ -233,191 +264,204 @@ const At = { class: "dpiV3InnerComponentWrap" }, Ct = { key: 0 }, St = {
|
|
|
233
264
|
error.value = e;
|
|
234
265
|
}
|
|
235
266
|
try {
|
|
236
|
-
const e = await
|
|
237
|
-
|
|
238
|
-
const o = await
|
|
239
|
-
|
|
240
|
-
const
|
|
241
|
-
|
|
267
|
+
const e = await bt(t.api.baseUrl);
|
|
268
|
+
oe.value = e;
|
|
269
|
+
const o = await wt(t.api.baseUrl);
|
|
270
|
+
O.value = o;
|
|
271
|
+
const s = await Dt(t.api.baseUrl);
|
|
272
|
+
se.value = s;
|
|
242
273
|
} catch (e) {
|
|
243
274
|
console.log(e);
|
|
244
275
|
}
|
|
245
|
-
|
|
276
|
+
Ce();
|
|
246
277
|
});
|
|
247
|
-
function
|
|
248
|
-
const e =
|
|
278
|
+
function Se(a, t) {
|
|
279
|
+
const e = l.value.find((s) => s.id === t);
|
|
249
280
|
if (!e) return;
|
|
250
|
-
let o =
|
|
251
|
-
e["dct:format"] = { label:
|
|
281
|
+
let o = D.value.find((s) => s["@value"] === a).uri || "";
|
|
282
|
+
e["dct:format"] = { label: a, uri: o }, e.showErrorFormat = !1, e.formatErrorMessage = "", E(e, "dct:format"), b.value.DistributionSimple["dcat:distribution"] = l.value;
|
|
252
283
|
}
|
|
253
|
-
function
|
|
254
|
-
const e =
|
|
255
|
-
e ? (e["dct:modified"] =
|
|
284
|
+
function ce(a, t) {
|
|
285
|
+
const e = l.value.find((o) => o.id === t);
|
|
286
|
+
e ? (e["dct:modified"] = a, n.value.dctModified = a) : console.warn(`No matching distribution found for ID ${t}.`);
|
|
256
287
|
}
|
|
257
|
-
function
|
|
258
|
-
const e =
|
|
259
|
-
e ? (e["dct:issued"] =
|
|
288
|
+
function re(a, t) {
|
|
289
|
+
const e = l.value.find((o) => o.id === t);
|
|
290
|
+
e ? (e["dct:issued"] = a, n.value.dctIssued = a) : console.warn(`No matching distribution found for ID ${t}.`);
|
|
260
291
|
}
|
|
261
|
-
function
|
|
262
|
-
const e =
|
|
263
|
-
e ? (e["dct:description"] =
|
|
292
|
+
function ue(a, t) {
|
|
293
|
+
const e = l.value.find((o) => o.id === t);
|
|
294
|
+
e ? (e["dct:description"] = a, n.value.dctDescription = a) : console.warn(`No matching distribution found for ID ${t}.`);
|
|
264
295
|
}
|
|
265
|
-
function
|
|
266
|
-
const o =
|
|
267
|
-
e || (e =
|
|
296
|
+
function me(a, t, e) {
|
|
297
|
+
const o = l.value.find((s) => s.id === t);
|
|
298
|
+
e || (console.log(O.value), e = O.value.find((s) => s.label === a).uri || ""), o ? (o["dcatap:availability"] = { label: { de: a }, uri: e }, n.value.availabilityText = a) : console.warn(`No matching distribution found for ID ${t}.`);
|
|
268
299
|
}
|
|
269
|
-
function
|
|
270
|
-
const e =
|
|
271
|
-
e ? (e["adms:status"] =
|
|
300
|
+
function fe(a, t) {
|
|
301
|
+
const e = l.value.find((o) => o.id === t);
|
|
302
|
+
e ? (e["adms:status"] = a, n.value.statusText = a) : console.warn(`No matching distribution found for ID ${t}.`);
|
|
272
303
|
}
|
|
273
|
-
function
|
|
274
|
-
|
|
275
|
-
const
|
|
276
|
-
o || (o =
|
|
304
|
+
function pe(a, t, e, o) {
|
|
305
|
+
ie.value = !0;
|
|
306
|
+
const s = l.value.find((i) => i.id === e);
|
|
307
|
+
o || (o = oe.value.find((i) => i.value === t).resource || ""), s ? (s.checksum.title = a, s.checksum["spdx:checksum"] = t, s.checksum.uri = o || "no URI", n.value.checksumText = a, n.value.checksumDropdownText = t, n.value.checksumURI = o) : console.warn(`No matching distribution found for ID ${e}.`);
|
|
277
308
|
}
|
|
278
|
-
function
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
309
|
+
function ve(a, t, e, o) {
|
|
310
|
+
const s = l.value.find((d) => d.id === e);
|
|
311
|
+
let i = de.value.find(
|
|
312
|
+
(d) => d["@value"] === t
|
|
313
|
+
);
|
|
314
|
+
s ? (s["dct:license"].title = a, s["dcatde:licenseAttributionByText"] = a, s["dct:license"]["dcterms:license"] = t, s["dct:license"].uri = i.uri, b.value.DistributionSimple["dct:license"] = [
|
|
315
|
+
{
|
|
316
|
+
title: a,
|
|
317
|
+
"dcterms:license": t,
|
|
318
|
+
uri: i.uri
|
|
319
|
+
}
|
|
320
|
+
], n.value.changeLicenseText = a, n.value.changeLicenseDropdownText = t) : console.warn(`No matching distribution found for ID ${e}.`);
|
|
282
321
|
}
|
|
283
|
-
function
|
|
284
|
-
const o =
|
|
285
|
-
e || (e =
|
|
322
|
+
function he(a, t, e) {
|
|
323
|
+
const o = l.value.find((s) => s.id === t);
|
|
324
|
+
e || (e = se.value.find((s) => s.label === a).uri || ""), o ? (o["dct:language"] = [{ label: a, uri: e }], n.value.languageText = a) : console.warn(`No matching distribution found for ID ${t}.`);
|
|
286
325
|
}
|
|
287
|
-
function
|
|
288
|
-
const e =
|
|
289
|
-
e ? (e["dcat:byteSize"] =
|
|
326
|
+
function ge(a, t) {
|
|
327
|
+
const e = l.value.find((o) => o.id === t);
|
|
328
|
+
e ? (e["dcat:byteSize"] = a, n.value.byteSizeText = a) : console.warn(`No matching distribution found for ID ${t}.`);
|
|
290
329
|
}
|
|
291
|
-
function
|
|
292
|
-
const o =
|
|
293
|
-
let
|
|
330
|
+
function I(a, t, e) {
|
|
331
|
+
const o = l.value.find((i) => i.id === e);
|
|
332
|
+
let s = x.value.find((i) => i["@value"] === a).uri || "";
|
|
294
333
|
if (o)
|
|
295
|
-
switch (o[
|
|
334
|
+
switch (o[t] = { label: a, uri: s }, t) {
|
|
296
335
|
case "dcat:mediaType":
|
|
297
|
-
n.value.mediaTypeText =
|
|
336
|
+
n.value.mediaTypeText = a;
|
|
298
337
|
break;
|
|
299
338
|
case "dcat:compressFormat":
|
|
300
|
-
n.value.compressFormatText =
|
|
339
|
+
n.value.compressFormatText = a;
|
|
301
340
|
break;
|
|
302
341
|
case "dcat:packageFormat":
|
|
303
|
-
n.value.packageFormatText =
|
|
342
|
+
n.value.packageFormatText = a;
|
|
304
343
|
break;
|
|
305
344
|
}
|
|
306
345
|
else
|
|
307
346
|
console.warn(`No matching distribution found for ID ${e}.`);
|
|
308
347
|
}
|
|
309
|
-
function
|
|
310
|
-
|
|
311
|
-
|
|
348
|
+
function Fe(a) {
|
|
349
|
+
y(
|
|
350
|
+
a,
|
|
312
351
|
"Konform zu Standard",
|
|
313
352
|
"conformsToItems",
|
|
314
353
|
!0,
|
|
315
354
|
!0
|
|
316
355
|
);
|
|
317
356
|
}
|
|
318
|
-
function
|
|
319
|
-
|
|
320
|
-
|
|
357
|
+
function $e(a) {
|
|
358
|
+
y(
|
|
359
|
+
a,
|
|
321
360
|
"Verfügbarkeit",
|
|
322
361
|
"dcatap:availability",
|
|
323
362
|
!1,
|
|
324
363
|
!1
|
|
325
364
|
);
|
|
326
365
|
}
|
|
327
|
-
function
|
|
328
|
-
|
|
329
|
-
|
|
366
|
+
function Ee(a) {
|
|
367
|
+
y(
|
|
368
|
+
a,
|
|
330
369
|
"Status",
|
|
331
370
|
"adms:status",
|
|
332
371
|
!1,
|
|
333
372
|
!1
|
|
334
373
|
);
|
|
335
374
|
}
|
|
336
|
-
function
|
|
337
|
-
|
|
338
|
-
|
|
375
|
+
function Be(a) {
|
|
376
|
+
y(
|
|
377
|
+
a,
|
|
339
378
|
"Größe in Bytes",
|
|
340
379
|
"dcat:byteSize",
|
|
341
380
|
!0,
|
|
342
381
|
!1
|
|
343
382
|
);
|
|
344
383
|
}
|
|
345
|
-
function
|
|
346
|
-
|
|
347
|
-
|
|
384
|
+
function Me(a) {
|
|
385
|
+
y(
|
|
386
|
+
a,
|
|
348
387
|
"Sprache",
|
|
349
388
|
"dct:language",
|
|
350
389
|
!0,
|
|
351
390
|
!1
|
|
352
391
|
);
|
|
353
392
|
}
|
|
354
|
-
function
|
|
355
|
-
|
|
393
|
+
function q(a, t) {
|
|
394
|
+
y(t, a, a, !0, !1);
|
|
356
395
|
}
|
|
357
|
-
function
|
|
358
|
-
|
|
359
|
-
|
|
396
|
+
function ze(a) {
|
|
397
|
+
y(
|
|
398
|
+
a,
|
|
360
399
|
"Regelwerk",
|
|
361
400
|
"policyItems",
|
|
362
401
|
!0,
|
|
363
402
|
!0
|
|
364
403
|
);
|
|
365
404
|
}
|
|
366
|
-
function
|
|
367
|
-
|
|
368
|
-
|
|
405
|
+
function Pe(a) {
|
|
406
|
+
y(
|
|
407
|
+
a,
|
|
369
408
|
"Dokumentation",
|
|
370
409
|
"documentations",
|
|
371
410
|
!0,
|
|
372
411
|
!0
|
|
373
412
|
);
|
|
374
413
|
}
|
|
375
|
-
function
|
|
376
|
-
|
|
377
|
-
|
|
414
|
+
function Ne(a) {
|
|
415
|
+
y(
|
|
416
|
+
a,
|
|
378
417
|
"Ausliefernder Datenservice",
|
|
379
418
|
"accessServices",
|
|
380
419
|
!0,
|
|
381
420
|
!0
|
|
382
421
|
);
|
|
383
422
|
}
|
|
384
|
-
function
|
|
385
|
-
|
|
386
|
-
|
|
423
|
+
function Oe(a, t, e) {
|
|
424
|
+
const o = b.value.DistributionSimple["dcat:distribution"].find((s) => s.id === t);
|
|
425
|
+
o["dcat:downloadURL"][0] != "init" ? o["dcat:downloadURL"][e] = { "@id": a } : o["dcat:downloadURL"][0] = { "@id": a };
|
|
426
|
+
}
|
|
427
|
+
function We(a) {
|
|
428
|
+
y(
|
|
429
|
+
a,
|
|
387
430
|
"Aktualisierungsdatum",
|
|
388
431
|
"dct:modified",
|
|
389
432
|
!1
|
|
390
433
|
);
|
|
391
434
|
}
|
|
392
|
-
function
|
|
393
|
-
|
|
394
|
-
|
|
435
|
+
function je(a) {
|
|
436
|
+
y(
|
|
437
|
+
a,
|
|
395
438
|
"Veröffentlichungsdatum",
|
|
396
439
|
"dct:issued",
|
|
397
440
|
!1
|
|
398
441
|
);
|
|
399
442
|
}
|
|
400
|
-
function
|
|
401
|
-
|
|
402
|
-
|
|
443
|
+
function He(a) {
|
|
444
|
+
y(
|
|
445
|
+
a,
|
|
403
446
|
"Beschreibung",
|
|
404
447
|
"dct:description",
|
|
405
448
|
!0
|
|
406
449
|
);
|
|
407
450
|
}
|
|
408
|
-
const
|
|
409
|
-
|
|
410
|
-
}),
|
|
411
|
-
function
|
|
412
|
-
const
|
|
413
|
-
|
|
451
|
+
const Je = Te(() => W.value ? Re.getters["dpiStore/getNavSteps"](W.value) : {});
|
|
452
|
+
ut(Je, (a) => {
|
|
453
|
+
}), te.value || P.context.node.input([{ isValid: "unset" }]);
|
|
454
|
+
function Ke() {
|
|
455
|
+
const a = Date.now();
|
|
456
|
+
l.value.push({
|
|
414
457
|
isValid: "unset",
|
|
415
|
-
id:
|
|
458
|
+
id: a,
|
|
416
459
|
"dcat:accessURL": "",
|
|
417
460
|
"dct:format": {},
|
|
418
461
|
"dct:title": "",
|
|
419
462
|
documentations: [],
|
|
420
463
|
conformsToItems: [],
|
|
464
|
+
"dcat:downloadURL": [{ "@id": "" }],
|
|
421
465
|
policyItems: [],
|
|
422
466
|
accessServices: [],
|
|
423
467
|
"dct:modified": "",
|
|
@@ -437,37 +481,37 @@ const At = { class: "dpiV3InnerComponentWrap" }, Ct = { key: 0 }, St = {
|
|
|
437
481
|
"spdx:checksum": "",
|
|
438
482
|
uri: ""
|
|
439
483
|
},
|
|
440
|
-
|
|
484
|
+
"dct:license": {
|
|
441
485
|
title: "",
|
|
442
486
|
"dcterms:license": ""
|
|
443
487
|
}
|
|
444
|
-
}),
|
|
488
|
+
}), J(a);
|
|
445
489
|
}
|
|
446
|
-
function
|
|
447
|
-
const e =
|
|
490
|
+
function qe(a, t) {
|
|
491
|
+
const e = l.value.find((o) => o.id === a);
|
|
448
492
|
if (!e) {
|
|
449
|
-
console.error(`Distribution with ID ${
|
|
493
|
+
console.error(`Distribution with ID ${a} not found`);
|
|
450
494
|
return;
|
|
451
495
|
}
|
|
452
|
-
if (!Array.isArray(
|
|
453
|
-
console.error("Provided documentations is not an array",
|
|
496
|
+
if (!Array.isArray(t)) {
|
|
497
|
+
console.error("Provided documentations is not an array", t);
|
|
454
498
|
return;
|
|
455
499
|
}
|
|
456
500
|
e.documentations = e.documentations.filter(
|
|
457
|
-
(o) =>
|
|
458
|
-
),
|
|
459
|
-
const
|
|
460
|
-
(
|
|
501
|
+
(o) => t.some((s) => s.id === o.id)
|
|
502
|
+
), t.forEach((o) => {
|
|
503
|
+
const s = e.documentations.findIndex(
|
|
504
|
+
(i) => i.id === o.id
|
|
461
505
|
);
|
|
462
|
-
if (
|
|
463
|
-
e.documentations[
|
|
464
|
-
...e.documentations[
|
|
506
|
+
if (s !== -1)
|
|
507
|
+
e.documentations[s] = {
|
|
508
|
+
...e.documentations[s],
|
|
465
509
|
...o
|
|
466
510
|
};
|
|
467
511
|
else {
|
|
468
|
-
const
|
|
512
|
+
const i = e.documentations.length > 0 ? Math.max(...e.documentations.map((d) => d.id)) + 1 : 1;
|
|
469
513
|
e.documentations.push({
|
|
470
|
-
id: o.id ||
|
|
514
|
+
id: o.id || i,
|
|
471
515
|
"dcat:accessURL": o["dcat:accessURL"] || "",
|
|
472
516
|
"dct:format": o["dct:format"] || "",
|
|
473
517
|
"dct:title": o["dct:title"] || "",
|
|
@@ -477,36 +521,36 @@ const At = { class: "dpiV3InnerComponentWrap" }, Ct = { key: 0 }, St = {
|
|
|
477
521
|
}
|
|
478
522
|
});
|
|
479
523
|
}
|
|
480
|
-
function
|
|
481
|
-
const e =
|
|
524
|
+
function Ge(a, t) {
|
|
525
|
+
const e = l.value.find((o) => o.id === a);
|
|
482
526
|
if (!e) {
|
|
483
|
-
console.error(`Distribution with ID ${
|
|
527
|
+
console.error(`Distribution with ID ${a} not found`);
|
|
484
528
|
return;
|
|
485
529
|
}
|
|
486
|
-
if (!Array.isArray(
|
|
530
|
+
if (!Array.isArray(t)) {
|
|
487
531
|
console.error(
|
|
488
532
|
"Provided access services is not an array",
|
|
489
|
-
|
|
533
|
+
t
|
|
490
534
|
);
|
|
491
535
|
return;
|
|
492
536
|
}
|
|
493
537
|
e.accessServices = e.accessServices.filter(
|
|
494
|
-
(o) =>
|
|
495
|
-
(i) => i.id === o.id
|
|
496
|
-
)
|
|
497
|
-
), a.forEach((o) => {
|
|
498
|
-
const i = e.accessServices.findIndex(
|
|
538
|
+
(o) => t.some(
|
|
499
539
|
(s) => s.id === o.id
|
|
540
|
+
)
|
|
541
|
+
), t.forEach((o) => {
|
|
542
|
+
const s = e.accessServices.findIndex(
|
|
543
|
+
(i) => i.id === o.id
|
|
500
544
|
);
|
|
501
|
-
if (
|
|
502
|
-
e.accessServices[
|
|
503
|
-
...e.accessServices[
|
|
545
|
+
if (s !== -1)
|
|
546
|
+
e.accessServices[s] = {
|
|
547
|
+
...e.accessServices[s],
|
|
504
548
|
...o
|
|
505
549
|
};
|
|
506
550
|
else {
|
|
507
|
-
const
|
|
551
|
+
const i = e.accessServices.length > 0 ? Math.max(...e.accessServices.map((d) => d.id)) + 1 : 1;
|
|
508
552
|
e.accessServices.push({
|
|
509
|
-
id: o.id ||
|
|
553
|
+
id: o.id || i,
|
|
510
554
|
"dcat:downloadURL": o["dcat:downloadURL"] || "",
|
|
511
555
|
"dct:title": o["dct:title"] || "",
|
|
512
556
|
"dct:description": o["dct:description"] || ""
|
|
@@ -514,248 +558,252 @@ const At = { class: "dpiV3InnerComponentWrap" }, Ct = { key: 0 }, St = {
|
|
|
514
558
|
}
|
|
515
559
|
});
|
|
516
560
|
}
|
|
517
|
-
function
|
|
561
|
+
function Qe(a, t) {
|
|
518
562
|
var o;
|
|
519
|
-
const e =
|
|
563
|
+
const e = l.value.find((s) => s.id === a);
|
|
520
564
|
if (!e) {
|
|
521
|
-
console.error(`Distribution with ID ${
|
|
565
|
+
console.error(`Distribution with ID ${a} not found`);
|
|
522
566
|
return;
|
|
523
567
|
}
|
|
524
|
-
if (!Array.isArray(
|
|
525
|
-
console.error("Provided items is not an array",
|
|
568
|
+
if (!Array.isArray(t)) {
|
|
569
|
+
console.error("Provided items is not an array", t);
|
|
526
570
|
return;
|
|
527
571
|
}
|
|
528
572
|
e.conformsToItems = ((o = e == null ? void 0 : e.conformsToItems) == null ? void 0 : o.filter(
|
|
529
|
-
(
|
|
530
|
-
)) || [],
|
|
531
|
-
const
|
|
532
|
-
(
|
|
573
|
+
(s) => t.some((i) => i.id === s.id)
|
|
574
|
+
)) || [], t.forEach((s) => {
|
|
575
|
+
const i = e.conformsToItems.findIndex(
|
|
576
|
+
(d) => d.id === s.id
|
|
533
577
|
);
|
|
534
|
-
if (
|
|
535
|
-
e.conformsToItems[
|
|
536
|
-
...e.conformsToItems[
|
|
537
|
-
...
|
|
578
|
+
if (i !== -1)
|
|
579
|
+
e.conformsToItems[i] = {
|
|
580
|
+
...e.conformsToItems[i],
|
|
581
|
+
...s
|
|
538
582
|
};
|
|
539
583
|
else {
|
|
540
|
-
const
|
|
584
|
+
const d = e.conformsToItems.length > 0 ? Math.max(...e.conformsToItems.map((g) => g.id)) + 1 : 1;
|
|
541
585
|
e.conformsToItems.push({
|
|
542
|
-
id:
|
|
543
|
-
"dcat:downloadURL":
|
|
544
|
-
"dct:title":
|
|
586
|
+
id: s.id || d,
|
|
587
|
+
"dcat:downloadURL": s["dcat:downloadURL"] || "",
|
|
588
|
+
"dct:title": s["dct:title"] || ""
|
|
545
589
|
});
|
|
546
590
|
}
|
|
547
591
|
});
|
|
548
592
|
}
|
|
549
|
-
function
|
|
593
|
+
function Xe(a, t) {
|
|
550
594
|
var o;
|
|
551
|
-
const e =
|
|
595
|
+
const e = l.value.find((s) => s.id === a);
|
|
552
596
|
if (!e) {
|
|
553
|
-
console.error(`Distribution with ID ${
|
|
597
|
+
console.error(`Distribution with ID ${a} not found`);
|
|
554
598
|
return;
|
|
555
599
|
}
|
|
556
|
-
if (!Array.isArray(
|
|
557
|
-
console.error("Provided items is not an array",
|
|
600
|
+
if (!Array.isArray(t)) {
|
|
601
|
+
console.error("Provided items is not an array", t);
|
|
558
602
|
return;
|
|
559
603
|
}
|
|
560
604
|
e.policyItems = ((o = e == null ? void 0 : e.policyItems) == null ? void 0 : o.filter(
|
|
561
|
-
(
|
|
562
|
-
)) || [],
|
|
563
|
-
var
|
|
564
|
-
const
|
|
565
|
-
(
|
|
605
|
+
(s) => t.some((i) => i.id === s.id)
|
|
606
|
+
)) || [], t.forEach((s) => {
|
|
607
|
+
var d, g;
|
|
608
|
+
const i = (d = e == null ? void 0 : e.policyItems) == null ? void 0 : d.findIndex(
|
|
609
|
+
(h) => h.id === s.id
|
|
566
610
|
);
|
|
567
|
-
if (
|
|
568
|
-
e.policyItems[
|
|
569
|
-
...e.policyItems[
|
|
570
|
-
...
|
|
611
|
+
if (i !== -1)
|
|
612
|
+
e.policyItems[i] = {
|
|
613
|
+
...e.policyItems[i],
|
|
614
|
+
...s
|
|
571
615
|
};
|
|
572
616
|
else {
|
|
573
|
-
const
|
|
617
|
+
const h = ((g = e == null ? void 0 : e.policyItems) == null ? void 0 : g.length) > 0 ? Math.max(...e.policyItems.map((w) => w.id)) + 1 : 1;
|
|
574
618
|
e.policyItems.push({
|
|
575
|
-
id:
|
|
576
|
-
"dcat:accessURL":
|
|
619
|
+
id: s.id || h,
|
|
620
|
+
"dcat:accessURL": s["dcat:accessURL"] || ""
|
|
577
621
|
});
|
|
578
622
|
}
|
|
579
623
|
});
|
|
580
624
|
}
|
|
581
|
-
function
|
|
582
|
-
if (
|
|
583
|
-
if (
|
|
584
|
-
|
|
625
|
+
function Ye(a) {
|
|
626
|
+
if (a === "deleteDataset" && k.value !== null) {
|
|
627
|
+
if (l.value.length === 1) {
|
|
628
|
+
j.value = !0;
|
|
585
629
|
return;
|
|
586
630
|
}
|
|
587
|
-
|
|
588
|
-
(
|
|
589
|
-
),
|
|
631
|
+
l.value = l.value.filter(
|
|
632
|
+
(t) => t.id !== k.value
|
|
633
|
+
), j.value = !1, k.value = null, J();
|
|
590
634
|
}
|
|
591
635
|
}
|
|
592
|
-
function
|
|
593
|
-
const
|
|
594
|
-
(o) => o.id ===
|
|
636
|
+
function Ze(a) {
|
|
637
|
+
const t = JSON.parse(a), e = l.value.find(
|
|
638
|
+
(o) => o.id === t.distributionId
|
|
595
639
|
);
|
|
596
|
-
if (
|
|
597
|
-
e[
|
|
640
|
+
if (t.isArray) {
|
|
641
|
+
e[t.optType] = [];
|
|
598
642
|
return;
|
|
599
643
|
}
|
|
600
|
-
|
|
644
|
+
t.useUndefined ? e[t.optType] = void 0 : e[t.optType] = "";
|
|
601
645
|
}
|
|
602
|
-
function
|
|
603
|
-
var e, o,
|
|
604
|
-
|
|
605
|
-
const
|
|
606
|
-
|
|
646
|
+
function et(a) {
|
|
647
|
+
var e, o, s, i, d;
|
|
648
|
+
k.value = a;
|
|
649
|
+
const t = l.value.find((g) => g.id === a);
|
|
650
|
+
t && (n.value = {
|
|
607
651
|
button: "",
|
|
608
652
|
header: "Optionale Informationen hinzufügen",
|
|
609
653
|
text: "",
|
|
610
654
|
action: "deleteDataset",
|
|
611
655
|
showButtons: !1,
|
|
612
656
|
optionalInfoView: !0,
|
|
613
|
-
distributionId:
|
|
614
|
-
documentations:
|
|
615
|
-
accessServices:
|
|
616
|
-
dctModified:
|
|
617
|
-
dctIssued:
|
|
618
|
-
dctDescription:
|
|
657
|
+
distributionId: a,
|
|
658
|
+
documentations: t.documentations || [],
|
|
659
|
+
accessServices: t.accessServices || [],
|
|
660
|
+
dctModified: t["dct:modified"] || "",
|
|
661
|
+
dctIssued: t["dct:issued"] || "",
|
|
662
|
+
dctDescription: t["dct:description"] || "",
|
|
619
663
|
// nameTextByClauses: distribution["dcatde:licenseAttributionByText"] || "",
|
|
620
664
|
// accessRightsText: distribution["dct:accessRights"].uri || "",
|
|
621
|
-
availabilityText: ((o = (e =
|
|
622
|
-
languageText: ((
|
|
623
|
-
byteSizeText:
|
|
624
|
-
mediaTypeText:
|
|
665
|
+
availabilityText: ((o = (e = t["dcatap:availability"]) == null ? void 0 : e.label) == null ? void 0 : o.de) || "",
|
|
666
|
+
languageText: ((s = t == null ? void 0 : t["dct:language"]) == null ? void 0 : s["@value"]) || "",
|
|
667
|
+
byteSizeText: t["dcat:byteSize"] || "",
|
|
668
|
+
mediaTypeText: t["dcat:mediaType"].label || "",
|
|
625
669
|
// compressFormatText: distribution["dcat:compressFormat"].label || "",
|
|
626
|
-
packageFormatText:
|
|
627
|
-
statusText:
|
|
628
|
-
checksumText:
|
|
629
|
-
checksumURI:
|
|
630
|
-
checksumDropdownText:
|
|
631
|
-
changeLicenseText: ((
|
|
632
|
-
changeLicenseDropdownText: ((
|
|
633
|
-
conformsToItems: (
|
|
634
|
-
policyItems: (
|
|
635
|
-
|
|
670
|
+
packageFormatText: t["dcat:packageFormat"].label || "",
|
|
671
|
+
statusText: t["adms:status"].label || "",
|
|
672
|
+
checksumText: t.checksum.title || "",
|
|
673
|
+
checksumURI: t.checksum.uri || "",
|
|
674
|
+
checksumDropdownText: t.checksum["spdx:checksum"] || "",
|
|
675
|
+
changeLicenseText: ((i = t == null ? void 0 : t.changeLicense) == null ? void 0 : i.title) || "",
|
|
676
|
+
changeLicenseDropdownText: ((d = t == null ? void 0 : t.changeLicense) == null ? void 0 : d["dcterms:license"]) || "",
|
|
677
|
+
conformsToItems: (t == null ? void 0 : t.conformsToItems) || [],
|
|
678
|
+
policyItems: (t == null ? void 0 : t.policyItems) || [],
|
|
679
|
+
downloadURL: (t == null ? void 0 : t.downloadURL) || []
|
|
680
|
+
}, F.value = !0, document.body.style.overflow = "hidden");
|
|
636
681
|
}
|
|
637
|
-
function
|
|
638
|
-
|
|
682
|
+
function tt() {
|
|
683
|
+
F.value = !1, document.body.style.overflow = "auto";
|
|
639
684
|
}
|
|
640
|
-
function
|
|
641
|
-
|
|
642
|
-
const
|
|
685
|
+
function at(a) {
|
|
686
|
+
k.value = a;
|
|
687
|
+
const t = l.value.find((i) => i.id === a), e = t ? t["dct:title"] : "", o = t ? t["dct:format"].label : "", s = t ? t["dcat:accessURL"] : "";
|
|
643
688
|
n.value = {
|
|
644
689
|
button: "Löschen",
|
|
645
|
-
header:
|
|
690
|
+
header: _(
|
|
646
691
|
"message.dataupload.datasets.dcat:distribution.delete-distribution.header"
|
|
647
692
|
),
|
|
648
|
-
text:
|
|
693
|
+
text: _(
|
|
649
694
|
"message.dataupload.datasets.dcat:distribution.delete-distribution.text"
|
|
650
695
|
),
|
|
651
696
|
action: "deleteDataset",
|
|
652
697
|
title: e,
|
|
653
698
|
format: o,
|
|
654
|
-
distributionLink:
|
|
655
|
-
},
|
|
699
|
+
distributionLink: s
|
|
700
|
+
}, F.value = !0;
|
|
656
701
|
}
|
|
657
|
-
function
|
|
658
|
-
const
|
|
659
|
-
distributionId:
|
|
702
|
+
function y(a, t, e, o, s) {
|
|
703
|
+
const d = JSON.stringify({
|
|
704
|
+
distributionId: a,
|
|
660
705
|
optType: e,
|
|
661
706
|
useUndefined: o,
|
|
662
|
-
isArray:
|
|
707
|
+
isArray: s
|
|
663
708
|
});
|
|
664
709
|
V.value = {
|
|
665
710
|
button: "Löschen",
|
|
666
|
-
header: `${
|
|
667
|
-
text: `Sind Sie sicher, dass Sie das optionale Feld ${
|
|
668
|
-
action:
|
|
669
|
-
},
|
|
711
|
+
header: `${t} löschen`,
|
|
712
|
+
text: `Sind Sie sicher, dass Sie das optionale Feld ${t} löschen wollen?`,
|
|
713
|
+
action: d
|
|
714
|
+
}, N.value = !0;
|
|
670
715
|
}
|
|
671
|
-
function
|
|
672
|
-
var
|
|
673
|
-
const o =
|
|
674
|
-
if (o)
|
|
675
|
-
if (
|
|
676
|
-
const
|
|
677
|
-
o[
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
716
|
+
function G(a, t, e) {
|
|
717
|
+
var s, i, d, g;
|
|
718
|
+
const o = l.value.find((h) => h.id === e);
|
|
719
|
+
if (o)
|
|
720
|
+
if (t === "dcat:accessURL") {
|
|
721
|
+
const h = (s = a == null ? void 0 : a.target) == null ? void 0 : s.value;
|
|
722
|
+
o[t] = h, L.value && clearTimeout(L.value), L.value = setTimeout(() => {
|
|
723
|
+
E(o, t);
|
|
724
|
+
}, 800);
|
|
725
|
+
} else if (t === "dct:format") {
|
|
726
|
+
const h = typeof a == "string" ? a.trim() : (d = (i = a == null ? void 0 : a.target) == null ? void 0 : i.value) == null ? void 0 : d.trim();
|
|
727
|
+
if (o.showErrorFormat = !1, o.formatErrorMessage = "", h === "")
|
|
728
|
+
$.value = [...D.value];
|
|
682
729
|
else {
|
|
683
|
-
const
|
|
684
|
-
(
|
|
730
|
+
const w = D.value.find(
|
|
731
|
+
(T) => T["@value"].toLowerCase() === h.toLowerCase()
|
|
685
732
|
);
|
|
686
|
-
|
|
687
|
-
|
|
733
|
+
w ? (o[t] = {
|
|
734
|
+
label: w["@value"],
|
|
735
|
+
uri: w.uri
|
|
736
|
+
}, o.showErrorFormat = !1, o.formatErrorMessage = "") : h === "" ? (o[t] = { label: "", uri: "" }, o.showErrorFormat = !1) : (o[t] = { label: h, uri: "" }, o.showErrorFormat = !0, o.formatErrorMessage = "Ungültiges Format. Bitte wählen Sie aus der Liste."), $.value = D.value.filter(
|
|
737
|
+
(T) => T["@value"].toLowerCase().includes(h.toLowerCase())
|
|
688
738
|
);
|
|
689
739
|
}
|
|
690
|
-
|
|
740
|
+
E(o, t);
|
|
691
741
|
} else
|
|
692
|
-
o[
|
|
693
|
-
a !== "dct:format" && z(o, a);
|
|
694
|
-
}
|
|
742
|
+
o[t] = (g = a == null ? void 0 : a.target) == null ? void 0 : g.value, E(o, t);
|
|
695
743
|
}
|
|
696
|
-
function
|
|
697
|
-
const e =
|
|
744
|
+
function ot(a, t) {
|
|
745
|
+
const e = l.value.find((o) => o.id === a);
|
|
698
746
|
e.documentations = e.documentations.filter(
|
|
699
|
-
(o) =>
|
|
747
|
+
(o) => t.some((s) => s.id === o.id)
|
|
700
748
|
);
|
|
701
749
|
}
|
|
702
|
-
function
|
|
703
|
-
const e =
|
|
750
|
+
function st(a, t) {
|
|
751
|
+
const e = l.value.find((o) => o.id === a);
|
|
704
752
|
e.accessServices = e.accessServices.filter(
|
|
705
|
-
(o) =>
|
|
753
|
+
(o) => t.some((s) => s.id === o.id)
|
|
706
754
|
);
|
|
707
755
|
}
|
|
708
|
-
function
|
|
709
|
-
const e =
|
|
756
|
+
function it(a, t) {
|
|
757
|
+
const e = l.value.find((o) => o.id === a);
|
|
710
758
|
e.conformsToItems = e.conformsToItems.filter(
|
|
711
|
-
(o) =>
|
|
759
|
+
(o) => t.some((s) => s.id === o.id)
|
|
712
760
|
);
|
|
713
761
|
}
|
|
714
|
-
function
|
|
715
|
-
const e =
|
|
762
|
+
function lt(a, t) {
|
|
763
|
+
const e = l.value.find((o) => o.id === a);
|
|
716
764
|
e.policyItems = e.policyItems.filter(
|
|
717
|
-
(o) =>
|
|
765
|
+
(o) => t.some((s) => s.id === o.id)
|
|
718
766
|
);
|
|
719
767
|
}
|
|
720
|
-
return (
|
|
721
|
-
f("div",
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
(
|
|
725
|
-
var
|
|
726
|
-
return
|
|
768
|
+
return (a, t) => (r(), m(Q, null, [
|
|
769
|
+
f("div", Nt, [
|
|
770
|
+
S.inRap ? p("", !0) : (r(), m("h4", Ot, B(a.$t("message.dataupload.datasets.dcat:distribution.title")), 1)),
|
|
771
|
+
S.inRap ? p("", !0) : (r(), m("div", Wt, B(a.$t("message.dataupload.datasets.dcat:distribution.description")), 1)),
|
|
772
|
+
(r(!0), m(Q, null, Ue(U(l), (e, o) => {
|
|
773
|
+
var s, i, d, g, h, w, T, be, we, De, _e, Ie;
|
|
774
|
+
return r(), m("div", {
|
|
727
775
|
key: e.id,
|
|
728
776
|
class: "dpiV3AutoCompleteWrap"
|
|
729
777
|
}, [
|
|
730
|
-
f("div",
|
|
731
|
-
|
|
778
|
+
f("div", jt, [
|
|
779
|
+
u(Z, {
|
|
732
780
|
"add-on-text": !1,
|
|
733
781
|
datePicker: !1,
|
|
734
782
|
infoIcon: !0,
|
|
735
783
|
tooltip_text: `Datenlink(s): URL(s), unter denen Ihr Datensatz online gehostet
|
|
736
784
|
wird oder über eine Schnittstelle abgerufen werden kann.`,
|
|
737
|
-
placeholder:
|
|
785
|
+
placeholder: a.$t(
|
|
738
786
|
"message.dataupload.datasets.dcat:distribution.download-link.placeholder"
|
|
739
787
|
),
|
|
740
788
|
preIcon: !1,
|
|
741
789
|
"input-field-size": "large",
|
|
742
790
|
initialHintText: !1,
|
|
743
|
-
label:
|
|
791
|
+
label: a.$t(
|
|
744
792
|
"message.dataupload.datasets.dcat:distribution.download-link.label"
|
|
745
793
|
),
|
|
746
794
|
showEndIcon: !1,
|
|
747
795
|
showError: e.showErrorDownloadURL,
|
|
748
796
|
"model-value": e["dcat:accessURL"],
|
|
749
|
-
onInput: (
|
|
797
|
+
onInput: (c) => G(c, "dcat:accessURL", e.id)
|
|
750
798
|
}, null, 8, ["placeholder", "label", "showError", "model-value", "onInput"]),
|
|
751
|
-
e.showErrorDownloadURL && e.urlErrorMessage ? (
|
|
752
|
-
|
|
799
|
+
e.showErrorDownloadURL && e.urlErrorMessage ? (r(), m("div", Ht, [
|
|
800
|
+
u(U(Y), {
|
|
753
801
|
size: 16,
|
|
754
802
|
weight: "fill"
|
|
755
803
|
}),
|
|
756
|
-
f("span",
|
|
804
|
+
f("span", Jt, B(e.urlErrorMessage), 1)
|
|
757
805
|
])) : p("", !0),
|
|
758
|
-
|
|
806
|
+
u(_t, {
|
|
759
807
|
"dropdown-width": "large",
|
|
760
808
|
type: "inputField",
|
|
761
809
|
"input-field-props": {
|
|
@@ -765,11 +813,11 @@ const At = { class: "dpiV3InnerComponentWrap" }, Ct = { key: 0 }, St = {
|
|
|
765
813
|
infoIcon: !1,
|
|
766
814
|
preIcon: !0,
|
|
767
815
|
showEndIcon: !1,
|
|
768
|
-
label:
|
|
816
|
+
label: a.$t(
|
|
769
817
|
"message.dataupload.datasets.dcat:distribution.format.label"
|
|
770
818
|
),
|
|
771
819
|
dropdown_dpiV3: !0,
|
|
772
|
-
placeholder:
|
|
820
|
+
placeholder: a.$t(
|
|
773
821
|
"message.dataupload.datasets.dcat:distribution.format.placeholder"
|
|
774
822
|
),
|
|
775
823
|
inputFieldSize: "large",
|
|
@@ -778,279 +826,323 @@ const At = { class: "dpiV3InnerComponentWrap" }, Ct = { key: 0 }, St = {
|
|
|
778
826
|
},
|
|
779
827
|
data: $.value,
|
|
780
828
|
autocomplete: !0,
|
|
781
|
-
onInput: (
|
|
782
|
-
"onUpdate:modelValue": (
|
|
783
|
-
"model-value": (
|
|
829
|
+
onInput: (c) => G(c, "dct:format", e.id),
|
|
830
|
+
"onUpdate:modelValue": (c) => Se(c, e.id),
|
|
831
|
+
"model-value": (s = e == null ? void 0 : e["dct:format"]) == null ? void 0 : s.label
|
|
784
832
|
}, null, 8, ["input-field-props", "data", "onInput", "onUpdate:modelValue", "model-value"]),
|
|
785
|
-
e.showErrorFormat && e.formatErrorMessage ? (
|
|
786
|
-
|
|
833
|
+
e.showErrorFormat && e.formatErrorMessage ? (r(), m("div", Kt, [
|
|
834
|
+
u(U(Y), {
|
|
787
835
|
size: 16,
|
|
788
836
|
weight: "fill"
|
|
789
837
|
}),
|
|
790
|
-
f("span",
|
|
838
|
+
f("span", qt, B(e.formatErrorMessage), 1)
|
|
791
839
|
])) : p("", !0),
|
|
792
|
-
|
|
840
|
+
u(Z, {
|
|
793
841
|
modelValue: e["dct:title"],
|
|
794
|
-
"onUpdate:modelValue": (
|
|
842
|
+
"onUpdate:modelValue": (c) => e["dct:title"] = c,
|
|
795
843
|
"add-on-text": !1,
|
|
796
844
|
"date-picker": !1,
|
|
797
845
|
"info-icon": !1,
|
|
798
|
-
placeholder:
|
|
846
|
+
placeholder: a.$t(
|
|
799
847
|
"message.dataupload.datasets.dcat:distribution.distribution-title.placeholder"
|
|
800
848
|
),
|
|
801
849
|
"pre-icon": !1,
|
|
802
850
|
"input-field-size": "large",
|
|
803
851
|
"initial-hint-text": !1,
|
|
804
|
-
label:
|
|
852
|
+
label: a.$t(
|
|
805
853
|
"message.dataupload.datasets.dcat:distribution.distribution-title.label"
|
|
806
854
|
),
|
|
807
855
|
"show-end-icon": !1,
|
|
808
|
-
onInput: (
|
|
856
|
+
onInput: (c) => G(c, "dct:title", e.id)
|
|
809
857
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "label", "onInput"]),
|
|
810
|
-
(e.documentations || []).length > 0 ? (
|
|
811
|
-
f("div",
|
|
812
|
-
|
|
858
|
+
(e.documentations || []).length > 0 ? (r(), m("div", Gt, [
|
|
859
|
+
f("div", Qt, [
|
|
860
|
+
t[6] || (t[6] = f("div", null, "Webpage (optional)", -1)),
|
|
813
861
|
f("div", null, [
|
|
814
|
-
|
|
862
|
+
u(A, {
|
|
815
863
|
"button-text": "löschen",
|
|
816
|
-
onClick: (
|
|
864
|
+
onClick: (c) => Pe(e.id)
|
|
817
865
|
}, null, 8, ["onClick"])
|
|
818
866
|
])
|
|
819
867
|
]),
|
|
820
|
-
f("div",
|
|
821
|
-
f("div",
|
|
822
|
-
|
|
868
|
+
f("div", Xt, [
|
|
869
|
+
f("div", Yt, [
|
|
870
|
+
u(Ft, {
|
|
823
871
|
documentations: e.documentations,
|
|
824
|
-
"file-types":
|
|
872
|
+
"file-types": x.value,
|
|
825
873
|
"distribution-id": e.id,
|
|
826
874
|
"as-card": !0,
|
|
827
875
|
"show-delete-button": !0,
|
|
828
|
-
onUpdate: (
|
|
876
|
+
onUpdate: (c) => ot(e.id, c)
|
|
829
877
|
}, null, 8, ["documentations", "file-types", "distribution-id", "onUpdate"])
|
|
830
878
|
])
|
|
831
879
|
])
|
|
832
880
|
])) : p("", !0),
|
|
833
|
-
(e.accessServices || []).length > 0 ? (
|
|
834
|
-
f("div",
|
|
835
|
-
|
|
881
|
+
(e.accessServices || []).length > 0 ? (r(), m("div", Zt, [
|
|
882
|
+
f("div", ea, [
|
|
883
|
+
t[7] || (t[7] = f("div", null, "Ausliefernder Datenservice (optional)", -1)),
|
|
836
884
|
f("div", null, [
|
|
837
|
-
|
|
885
|
+
u(A, {
|
|
838
886
|
"button-text": "löschen",
|
|
839
|
-
onClick: (
|
|
887
|
+
onClick: (c) => Ne(e.id)
|
|
840
888
|
}, null, 8, ["onClick"])
|
|
841
889
|
])
|
|
842
890
|
]),
|
|
843
|
-
f("div",
|
|
844
|
-
f("div",
|
|
845
|
-
|
|
891
|
+
f("div", ta, [
|
|
892
|
+
f("div", aa, [
|
|
893
|
+
u(Ut, {
|
|
846
894
|
"access-services": e.accessServices,
|
|
847
895
|
"distribution-id": e.id,
|
|
848
896
|
"as-card": !0,
|
|
849
897
|
"show-delete-button": !0,
|
|
850
|
-
onUpdate: (
|
|
898
|
+
onUpdate: (c) => st(
|
|
851
899
|
e.id,
|
|
852
|
-
|
|
900
|
+
c
|
|
853
901
|
)
|
|
854
902
|
}, null, 8, ["access-services", "distribution-id", "onUpdate"])
|
|
855
903
|
])
|
|
856
904
|
])
|
|
857
905
|
])) : p("", !0),
|
|
858
|
-
|
|
859
|
-
|
|
906
|
+
(r(!0), m(Q, { key: 4 }, Ue(e["dcat:downloadURL"], (c, R) => (r(), m("div", oa, [
|
|
907
|
+
f("div", sa, [
|
|
908
|
+
t[8] || (t[8] = f("div", {
|
|
909
|
+
class: "dpiV3_label",
|
|
910
|
+
style: { margin: "0" }
|
|
911
|
+
}, " DownloadURL (optional) ", -1)),
|
|
912
|
+
e["dcat:downloadURL"].length !== 1 ? (r(), m("div", ia, [
|
|
913
|
+
u(A, {
|
|
914
|
+
"button-text": "löschen",
|
|
915
|
+
onClick: (C) => e["dcat:downloadURL"].splice(R, 1)
|
|
916
|
+
}, null, 8, ["onClick"])
|
|
917
|
+
])) : p("", !0)
|
|
918
|
+
]),
|
|
919
|
+
u(Z, {
|
|
920
|
+
onInput: (C) => Oe(
|
|
921
|
+
C.target.value,
|
|
922
|
+
e.id,
|
|
923
|
+
R
|
|
924
|
+
),
|
|
925
|
+
addOnText: !1,
|
|
926
|
+
datePicker: !1,
|
|
927
|
+
infoIcon: !1,
|
|
928
|
+
placeholder: "Bitte URL eingeben...",
|
|
929
|
+
preIcon: !1,
|
|
930
|
+
inputFieldSize: "large",
|
|
931
|
+
initialHintText: !1,
|
|
932
|
+
label: "",
|
|
933
|
+
modelValue: e["dcat:downloadURL"][R]["@id"],
|
|
934
|
+
"onUpdate:modelValue": (C) => e["dcat:downloadURL"][R]["@id"] = C,
|
|
935
|
+
showEndIcon: !1
|
|
936
|
+
}, null, 8, ["onInput", "modelValue", "onUpdate:modelValue"]),
|
|
937
|
+
R === e["dcat:downloadURL"].length - 1 ? (r(), m("div", la, [
|
|
938
|
+
u(z, {
|
|
939
|
+
buttonText: "Weitere DownloadURL hinzufügen",
|
|
940
|
+
size: "small",
|
|
941
|
+
iconStart: "plus",
|
|
942
|
+
variant: "tertiary",
|
|
943
|
+
onClick: (C) => e["dcat:downloadURL"].push({ "@id": "" })
|
|
944
|
+
}, null, 8, ["onClick"])
|
|
945
|
+
])) : p("", !0)
|
|
946
|
+
]))), 256)),
|
|
947
|
+
e["dct:modified"] && e["dct:modified"].trim() !== "" ? (r(), m("div", na, [
|
|
948
|
+
u(Bt, {
|
|
860
949
|
"show-delete-button": !0,
|
|
861
950
|
"distribution-id": e.id,
|
|
862
951
|
"model-value": e["dct:modified"],
|
|
863
|
-
onAddModifiedDate:
|
|
864
|
-
onDeleteButtonClicked: (
|
|
952
|
+
onAddModifiedDate: ce,
|
|
953
|
+
onDeleteButtonClicked: (c) => We(e.id)
|
|
865
954
|
}, null, 8, ["distribution-id", "model-value", "onDeleteButtonClicked"])
|
|
866
955
|
])) : p("", !0),
|
|
867
|
-
e["dct:issued"] && e["dct:issued"].trim() !== "" ? (
|
|
868
|
-
|
|
956
|
+
e["dct:issued"] && e["dct:issued"].trim() !== "" ? (r(), m("div", da, [
|
|
957
|
+
u($t, {
|
|
869
958
|
"show-delete-button": !0,
|
|
870
959
|
"distribution-id": e.id,
|
|
871
960
|
"model-value": e["dct:issued"],
|
|
872
|
-
onAddIssuedDate:
|
|
873
|
-
onDeleteButtonClicked: (
|
|
961
|
+
onAddIssuedDate: re,
|
|
962
|
+
onDeleteButtonClicked: (c) => je(e.id)
|
|
874
963
|
}, null, 8, ["distribution-id", "model-value", "onDeleteButtonClicked"])
|
|
875
964
|
])) : p("", !0),
|
|
876
|
-
|
|
877
|
-
|
|
965
|
+
mt(f("div", ca, [
|
|
966
|
+
u(St, {
|
|
878
967
|
"distribution-id": e.id,
|
|
879
968
|
"description-text": e["dct:description"],
|
|
880
969
|
"show-delete-button": !0,
|
|
881
|
-
onAddDescription:
|
|
882
|
-
onDeleteDescription: (
|
|
970
|
+
onAddDescription: ue,
|
|
971
|
+
onDeleteDescription: (c) => He(e.id)
|
|
883
972
|
}, null, 8, ["distribution-id", "description-text", "onDeleteDescription"])
|
|
884
973
|
], 512), [
|
|
885
|
-
[
|
|
974
|
+
[
|
|
975
|
+
ft,
|
|
976
|
+
e["dct:description"] !== void 0 && e["dct:description"] !== ""
|
|
977
|
+
]
|
|
886
978
|
]),
|
|
887
|
-
e["dcatap:availability"].label != null && e["dcatap:availability"].label.de && e["dcatap:availability"].label.de.trim() !== "" ? (
|
|
888
|
-
|
|
979
|
+
e["dcatap:availability"].label != null && e["dcatap:availability"].label.de && e["dcatap:availability"].label.de.trim() !== "" ? (r(), m("div", ra, [
|
|
980
|
+
u(Lt, {
|
|
889
981
|
"availability-text": e["dcatap:availability"].label.de,
|
|
890
982
|
"distribution-id": e.id,
|
|
891
983
|
"show-delete-button": !0,
|
|
892
|
-
onAddAvailability:
|
|
893
|
-
onDeleteButtonClicked: (
|
|
984
|
+
onAddAvailability: me,
|
|
985
|
+
onDeleteButtonClicked: (c) => $e(e.id)
|
|
894
986
|
}, null, 8, ["availability-text", "distribution-id", "onDeleteButtonClicked"])
|
|
895
987
|
])) : p("", !0),
|
|
896
|
-
e["adms:status"]
|
|
897
|
-
|
|
898
|
-
"status-text": e["adms:status"]
|
|
988
|
+
e["adms:status"]["@value"] && e["adms:status"]["@value"].trim() !== "" ? (r(), m("div", ua, [
|
|
989
|
+
u(zt, {
|
|
990
|
+
"status-text": e["adms:status"]["@value"],
|
|
899
991
|
"distribution-id": e.id,
|
|
900
992
|
"show-delete-button": !0,
|
|
901
|
-
onAddStatus:
|
|
902
|
-
onDeleteButtonClicked: (
|
|
993
|
+
onAddStatus: fe,
|
|
994
|
+
onDeleteButtonClicked: (c) => Ee(e.id)
|
|
903
995
|
}, null, 8, ["status-text", "distribution-id", "onDeleteButtonClicked"])
|
|
904
996
|
])) : p("", !0),
|
|
905
|
-
e.checksum["spdx:checksum"] != "" ? (
|
|
906
|
-
|
|
997
|
+
e.checksum["spdx:checksum"] != "" ? (r(), m("div", ma, [
|
|
998
|
+
u(Ct, {
|
|
907
999
|
"checksum-text": e.checksum.title,
|
|
908
1000
|
"checksum-dropdown-text": e.checksum["spdx:checksum"],
|
|
909
1001
|
"distribution-id": e.id,
|
|
910
1002
|
distIndex: o,
|
|
911
1003
|
"checksum-u-r-i": e.checksum.uri,
|
|
912
1004
|
"show-delete-button": !0,
|
|
913
|
-
onAddChecksum:
|
|
1005
|
+
onAddChecksum: pe
|
|
914
1006
|
}, null, 8, ["checksum-text", "checksum-dropdown-text", "distribution-id", "distIndex", "checksum-u-r-i"])
|
|
915
1007
|
])) : p("", !0),
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
"change-license-text": e.
|
|
919
|
-
"change-license-dropdown-text": e
|
|
1008
|
+
Object.keys(e["dct:license"]).length > 0 && ((i = e["dct:license"]) == null ? void 0 : i["dcterms:license"]) != "" ? (r(), m("div", fa, [
|
|
1009
|
+
u(Rt, {
|
|
1010
|
+
"change-license-text": (d = e["dct:license"]) == null ? void 0 : d.title,
|
|
1011
|
+
"change-license-dropdown-text": (g = e["dct:license"]) == null ? void 0 : g["dcterms:license"],
|
|
920
1012
|
"distribution-id": e.id,
|
|
921
1013
|
"as-card": !0,
|
|
922
1014
|
"show-delete-button": !0,
|
|
923
|
-
onAddChangeLicense:
|
|
1015
|
+
onAddChangeLicense: ve
|
|
924
1016
|
}, null, 8, ["change-license-text", "change-license-dropdown-text", "distribution-id"])
|
|
925
1017
|
])) : p("", !0),
|
|
926
|
-
e.conformsToItems && e.conformsToItems.length > 0 ? (
|
|
927
|
-
f("div",
|
|
928
|
-
|
|
1018
|
+
e.conformsToItems && e.conformsToItems.length > 0 ? (r(), m("div", pa, [
|
|
1019
|
+
f("div", va, [
|
|
1020
|
+
t[9] || (t[9] = f("div", null, "Konform zu Standard (optional)", -1)),
|
|
929
1021
|
f("div", null, [
|
|
930
|
-
|
|
1022
|
+
u(A, {
|
|
931
1023
|
"button-text": "löschen",
|
|
932
|
-
onClick: (
|
|
1024
|
+
onClick: (c) => Fe(e.id)
|
|
933
1025
|
}, null, 8, ["onClick"])
|
|
934
1026
|
])
|
|
935
1027
|
]),
|
|
936
|
-
|
|
1028
|
+
u(At, {
|
|
937
1029
|
"conforms-to-items": e.conformsToItems,
|
|
938
1030
|
"distribution-id": e.id,
|
|
939
1031
|
"as-card": !0,
|
|
940
1032
|
"show-delete-button": !0,
|
|
941
|
-
onUpdate: (
|
|
1033
|
+
onUpdate: (c) => it(e.id, c)
|
|
942
1034
|
}, null, 8, ["conforms-to-items", "distribution-id", "onUpdate"])
|
|
943
1035
|
])) : p("", !0),
|
|
944
|
-
e.policyItems && e.policyItems.length > 0 ? (
|
|
945
|
-
f("div",
|
|
946
|
-
|
|
1036
|
+
((w = (h = e == null ? void 0 : e.policyItems) == null ? void 0 : h[0]) == null ? void 0 : w["dcat:downloadURL"]) != "" && e.policyItems.length > 0 ? (r(), m("div", ha, [
|
|
1037
|
+
f("div", ga, [
|
|
1038
|
+
t[10] || (t[10] = f("div", null, "Regelwerk (optional)", -1)),
|
|
947
1039
|
f("div", null, [
|
|
948
|
-
|
|
1040
|
+
u(A, {
|
|
949
1041
|
"button-text": "löschen",
|
|
950
|
-
onClick: (
|
|
1042
|
+
onClick: (c) => ze(e.id)
|
|
951
1043
|
}, null, 8, ["onClick"])
|
|
952
1044
|
])
|
|
953
1045
|
]),
|
|
954
|
-
|
|
1046
|
+
u(Mt, {
|
|
955
1047
|
"policy-items": e.policyItems,
|
|
956
1048
|
"distribution-id": e.id,
|
|
957
1049
|
"as-card": !0,
|
|
958
|
-
onUpdate: (
|
|
1050
|
+
onUpdate: (c) => lt(e.id, c)
|
|
959
1051
|
}, null, 8, ["policy-items", "distribution-id", "onUpdate"])
|
|
960
1052
|
])) : p("", !0),
|
|
961
|
-
(
|
|
962
|
-
|
|
1053
|
+
(be = (T = e["dct:language"]) == null ? void 0 : T[0]) != null && be.label || (De = (we = e["dct:language"]) == null ? void 0 : we[0]) != null && De["@value"] && ((Ie = (_e = e["dct:language"]) == null ? void 0 : _e[0]) == null ? void 0 : Ie["@value"].trim()) !== "" ? (r(), m("div", ya, [
|
|
1054
|
+
u(Et, {
|
|
963
1055
|
"distribution-id": e.id,
|
|
964
1056
|
"show-delete-button": !1,
|
|
965
|
-
onAddLanguage:
|
|
966
|
-
onDeleteButtonClicked: (
|
|
1057
|
+
onAddLanguage: he,
|
|
1058
|
+
onDeleteButtonClicked: (c) => Me(e.id),
|
|
967
1059
|
inOverview: !0
|
|
968
1060
|
}, null, 8, ["distribution-id", "onDeleteButtonClicked"])
|
|
969
1061
|
])) : p("", !0),
|
|
970
|
-
e["dcat:byteSize"] !== void 0 && e["dcat:byteSize"] !== "" ? (
|
|
971
|
-
|
|
1062
|
+
e["dcat:byteSize"] !== void 0 && e["dcat:byteSize"] !== "" ? (r(), m("div", ka, [
|
|
1063
|
+
u(Vt, {
|
|
972
1064
|
"byte-size-prop": e["dcat:byteSize"],
|
|
973
1065
|
"distribution-id": e.id,
|
|
974
1066
|
"show-delete-button": !0,
|
|
975
|
-
onAddByteSize:
|
|
976
|
-
onDeleteButtonClicked: (
|
|
1067
|
+
onAddByteSize: ge,
|
|
1068
|
+
onDeleteButtonClicked: (c) => Be(e.id)
|
|
977
1069
|
}, null, 8, ["byte-size-prop", "distribution-id", "onDeleteButtonClicked"])
|
|
978
1070
|
])) : p("", !0),
|
|
979
|
-
e["dcat:mediaType"].label && e["dcat:mediaType"].label.trim() !== "" ? (
|
|
980
|
-
|
|
1071
|
+
e["dcat:mediaType"].label && e["dcat:mediaType"].label.trim() !== "" ? (r(), m("div", xa, [
|
|
1072
|
+
u(ee, {
|
|
981
1073
|
"distribution-id": e.id,
|
|
982
|
-
"file-types":
|
|
1074
|
+
"file-types": x.value,
|
|
983
1075
|
"file-format-type": "dcat:mediaType",
|
|
984
1076
|
"file-format-text": e["dcat:mediaType"].label,
|
|
985
1077
|
"show-delete-button": !0,
|
|
986
|
-
onAddMediaType:
|
|
987
|
-
onDeleteButtonClicked:
|
|
1078
|
+
onAddMediaType: I,
|
|
1079
|
+
onDeleteButtonClicked: t[0] || (t[0] = (c) => q("dcat:mediaType", k.value))
|
|
988
1080
|
}, null, 8, ["distribution-id", "file-types", "file-format-text"])
|
|
989
1081
|
])) : p("", !0),
|
|
990
|
-
e["dcat:compressFormat"] && e["dcat:compressFormat"].label && e["dcat:compressFormat"].label.trim() !== "" ? (
|
|
991
|
-
|
|
1082
|
+
e["dcat:compressFormat"] && e["dcat:compressFormat"].label && e["dcat:compressFormat"].label.trim() !== "" ? (r(), m("div", ba, [
|
|
1083
|
+
u(ee, {
|
|
992
1084
|
"distribution-id": e.id,
|
|
993
|
-
"file-types":
|
|
1085
|
+
"file-types": x.value,
|
|
994
1086
|
"file-format-type": "dcat:compressFormat",
|
|
995
1087
|
"compress-format-text": e["dcat:compressFormat"].label,
|
|
996
1088
|
"show-delete-button": !0,
|
|
997
|
-
onAddCompressFormat:
|
|
998
|
-
onDeleteButtonClicked:
|
|
1089
|
+
onAddCompressFormat: I,
|
|
1090
|
+
onDeleteButtonClicked: t[1] || (t[1] = (c) => q("dcat:compressFormat", k.value))
|
|
999
1091
|
}, null, 8, ["distribution-id", "file-types", "compress-format-text"])
|
|
1000
1092
|
])) : p("", !0),
|
|
1001
|
-
e["dcat:packageFormat"].label && e["dcat:packageFormat"].label.trim() !== "" ? (
|
|
1002
|
-
|
|
1093
|
+
e["dcat:packageFormat"].label && e["dcat:packageFormat"].label.trim() !== "" ? (r(), m("div", wa, [
|
|
1094
|
+
u(ee, {
|
|
1003
1095
|
"distribution-id": e.id,
|
|
1004
|
-
"file-types":
|
|
1096
|
+
"file-types": x.value,
|
|
1005
1097
|
"file-format-type": "dcat:packageFormat",
|
|
1006
1098
|
"package-format-text": e["dcat:packageFormat"].label,
|
|
1007
1099
|
"show-delete-button": !0,
|
|
1008
|
-
onAddPackageFormat:
|
|
1009
|
-
onDeleteButtonClicked:
|
|
1100
|
+
onAddPackageFormat: I,
|
|
1101
|
+
onDeleteButtonClicked: t[2] || (t[2] = (c) => q("dcat:packageFormat", k.value))
|
|
1010
1102
|
}, null, 8, ["distribution-id", "file-types", "package-format-text"])
|
|
1011
1103
|
])) : p("", !0),
|
|
1012
|
-
|
|
1104
|
+
j.value && U(l).length === 1 ? (r(), m("p", Da, " Mindestens ein Link muss vorhanden sein. ")) : p("", !0)
|
|
1013
1105
|
]),
|
|
1014
|
-
f("div",
|
|
1015
|
-
|
|
1016
|
-
"button-text":
|
|
1106
|
+
f("div", _a, [
|
|
1107
|
+
u(z, {
|
|
1108
|
+
"button-text": a.$t("message.dataupload.datasets.dcat:distribution.add-more-info"),
|
|
1017
1109
|
size: "small",
|
|
1018
1110
|
"icon-start": "PlusSquare",
|
|
1019
1111
|
variant: "tertiary",
|
|
1020
|
-
onClick: (
|
|
1112
|
+
onClick: (c) => et(e.id)
|
|
1021
1113
|
}, null, 8, ["button-text", "onClick"]),
|
|
1022
|
-
|
|
1114
|
+
U(l).length > 1 ? (r(), X(z, {
|
|
1023
1115
|
key: 0,
|
|
1024
|
-
"button-text":
|
|
1116
|
+
"button-text": a.$t("message.dataupload.datasets.dcat:distribution.delete"),
|
|
1025
1117
|
size: "small",
|
|
1026
1118
|
"icon-start": "trash",
|
|
1027
1119
|
variant: "tertiary",
|
|
1028
|
-
onClick: (
|
|
1120
|
+
onClick: (c) => at(e.id)
|
|
1029
1121
|
}, null, 8, ["button-text", "onClick"])) : p("", !0)
|
|
1030
1122
|
])
|
|
1031
1123
|
]);
|
|
1032
1124
|
}), 128)),
|
|
1033
|
-
f("div",
|
|
1034
|
-
|
|
1035
|
-
"button-text":
|
|
1125
|
+
f("div", Ia, [
|
|
1126
|
+
u(z, {
|
|
1127
|
+
"button-text": a.$t("message.dataupload.datasets.dcat:distribution.add-more-links"),
|
|
1036
1128
|
size: "large",
|
|
1037
1129
|
"icon-start": "plus",
|
|
1038
1130
|
variant: "tertiary",
|
|
1039
|
-
onClick:
|
|
1131
|
+
onClick: Ke
|
|
1040
1132
|
}, null, 8, ["button-text"])
|
|
1041
1133
|
]),
|
|
1042
|
-
|
|
1043
|
-
|
|
1134
|
+
H.value ? (r(), m("div", Ta, [
|
|
1135
|
+
u(U(Y), {
|
|
1044
1136
|
size: 16,
|
|
1045
1137
|
weight: "fill"
|
|
1046
1138
|
}),
|
|
1047
|
-
|
|
1139
|
+
t[11] || (t[11] = f("span", { class: "copy-mini-regular" }, "Bitte füllen Sie alle Pflichtfelder aus, bevor Sie fortfahren.", -1))
|
|
1048
1140
|
])) : p("", !0)
|
|
1049
1141
|
]),
|
|
1050
|
-
|
|
1142
|
+
F.value ? (r(), X(Tt, {
|
|
1051
1143
|
key: 0,
|
|
1052
|
-
"distibution-id":
|
|
1053
|
-
"file-types":
|
|
1144
|
+
"distibution-id": k.value,
|
|
1145
|
+
"file-types": x.value,
|
|
1054
1146
|
buttons: n.value.button,
|
|
1055
1147
|
"header-text": n.value.header,
|
|
1056
1148
|
text: n.value.text,
|
|
@@ -1062,8 +1154,8 @@ const At = { class: "dpiV3InnerComponentWrap" }, Ct = { key: 0 }, St = {
|
|
|
1062
1154
|
title: n.value.title,
|
|
1063
1155
|
format: n.value.format,
|
|
1064
1156
|
"distribution-link": n.value.distributionLink,
|
|
1065
|
-
sections:
|
|
1066
|
-
context:
|
|
1157
|
+
sections: ae.value,
|
|
1158
|
+
context: S.context,
|
|
1067
1159
|
"distribution-id": n.value.distributionId,
|
|
1068
1160
|
"modified-date": n.value.dctModified || "",
|
|
1069
1161
|
"issued-date": n.value.dctIssued || "",
|
|
@@ -1083,38 +1175,39 @@ const At = { class: "dpiV3InnerComponentWrap" }, Ct = { key: 0 }, St = {
|
|
|
1083
1175
|
"change-license-dropdown-text": n.value.changeLicenseDropdownText || "",
|
|
1084
1176
|
"conforms-to-items": n.value.conformsToItems,
|
|
1085
1177
|
"policy-items": n.value.policyItems,
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1178
|
+
"download-URL": n.value.downloadURL,
|
|
1179
|
+
onClose: tt,
|
|
1180
|
+
onActionHandling: t[3] || (t[3] = (e) => Ye(e)),
|
|
1181
|
+
onAddDocumentations: qe,
|
|
1182
|
+
onAddAccessServices: Ge,
|
|
1183
|
+
onAddModifiedDate: ce,
|
|
1184
|
+
onAddIssuedDate: re,
|
|
1185
|
+
onAddDescription: ue,
|
|
1186
|
+
onAddAccessRights: a.handleAccessRights,
|
|
1187
|
+
onAddAvailability: me,
|
|
1188
|
+
onAddLanguage: he,
|
|
1189
|
+
onAddByteSize: ge,
|
|
1190
|
+
onAddMediaType: I,
|
|
1191
|
+
onAddCompressFormat: I,
|
|
1192
|
+
onAddPackageFormat: I,
|
|
1193
|
+
onAddStatus: fe,
|
|
1194
|
+
onAddChecksum: pe,
|
|
1195
|
+
onAddChangeLicense: ve,
|
|
1196
|
+
onAddConformsToItems: Qe,
|
|
1197
|
+
onAddPolicyItems: Xe
|
|
1198
|
+
}, null, 8, ["distibution-id", "file-types", "buttons", "header-text", "text", "show-buttons", "optional-info-view", "documentations", "access-services", "action", "title", "format", "distribution-link", "sections", "context", "distribution-id", "modified-date", "issued-date", "description-text", "access-rights-text", "availability-text", "language-text", "byte-size-text", "media-type-text", "compress-format-text", "package-format-text", "status-text", "checksum-text", "checksum-u-r-i", "checksum-dropdown-text", "change-license-text", "change-license-dropdown-text", "conforms-to-items", "policy-items", "download-URL", "onAddAccessRights"])) : p("", !0),
|
|
1199
|
+
N.value ? (r(), X(It, {
|
|
1107
1200
|
key: 1,
|
|
1108
1201
|
buttons: V.value.button,
|
|
1109
1202
|
"header-text": V.value.header,
|
|
1110
1203
|
text: V.value.text,
|
|
1111
1204
|
action: V.value.action,
|
|
1112
|
-
onClose:
|
|
1113
|
-
onActionHandling:
|
|
1205
|
+
onClose: t[4] || (t[4] = (e) => N.value = !1),
|
|
1206
|
+
onActionHandling: t[5] || (t[5] = (e) => Ze(e))
|
|
1114
1207
|
}, null, 8, ["buttons", "header-text", "text", "action"])) : p("", !0)
|
|
1115
1208
|
], 64));
|
|
1116
1209
|
}
|
|
1117
|
-
},
|
|
1210
|
+
}, no = /* @__PURE__ */ Pt(Ua, [["__scopeId", "data-v-c3a67881"]]);
|
|
1118
1211
|
export {
|
|
1119
|
-
|
|
1212
|
+
no as default
|
|
1120
1213
|
};
|