@piveau/dpi 0.2.0-alpha.47 → 0.2.0-alpha.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/dpi.css +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +38 -30
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +59 -55
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +148 -135
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js +5 -5
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +317 -296
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +77 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +58 -56
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +97 -90
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +35 -35
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +86 -86
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js +7 -10
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +9 -8
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +55 -50
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue.js +8 -8
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +92 -91
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +49 -48
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +122 -117
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsModal.vue.js +48 -48
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +289 -293
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +32 -30
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +46 -29
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +264 -221
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +41 -35
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +63 -65
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +36 -35
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +30 -29
- package/dist/packages/dpi/src/data-provider-interface/components/ContactPage.vue.js +49 -49
- package/dist/packages/dpi/src/data-provider-interface/components/DiscoverabilityPage.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +102 -100
- package/dist/packages/dpi/src/data-provider-interface/components/DistributionSimplePage.vue.js +657 -600
- package/dist/packages/dpi/src/data-provider-interface/components/HVDPage.vue.js +41 -42
- package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js +272 -239
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +94 -82
- package/dist/packages/dpi/src/data-provider-interface/components/TempResPage.vue.js +81 -81
- package/dist/packages/dpi/src/data-provider-interface/components/TempResPageInModal.vue.js +138 -141
- package/dist/packages/dpi/src/data-provider-interface/components/TitelPage.vue.js +4 -4
- package/dist/packages/dpi/src/data-provider-interface/components/VisibilityPage.vue.js +2 -1
- package/dist/packages/dpi/src/data-provider-interface/components/dpiV3Description.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +255 -242
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +80 -84
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/store/modules/authStore.js +1 -3
- package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +226 -250
- package/package.json +2 -2
|
@@ -1,37 +1,40 @@
|
|
|
1
|
-
import { mergeModels as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { mergeModels as H, ref as R, getCurrentInstance as z, useModel as x, computed as W, watch as l, createElementBlock as u, openBlock as d, createElementVNode as s, createVNode as i, createCommentVNode as h, unref as p, toDisplayString as n } from "vue";
|
|
2
|
+
import g from "../InputField.vue.js";
|
|
3
|
+
import F from "../TextAreaV3.vue.js";
|
|
4
4
|
import { PhWarning as m } from "@phosphor-icons/vue";
|
|
5
|
-
import { useFormValues as
|
|
5
|
+
import { useFormValues as O } from "../../../composables/useDpiFormValues.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import
|
|
8
|
-
const
|
|
7
|
+
import Y from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
const Z = { class: "dpiV3_innerRapModalWrapper" }, L = { class: "dpiV3_innerRapModalWrapper__section" }, j = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "dpiV3_field_error_text"
|
|
11
|
-
},
|
|
12
|
-
key:
|
|
11
|
+
}, q = { class: "copy-mini-regular" }, J = { class: "topSpacing" }, G = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "dpiV3_field_error_text"
|
|
14
|
+
}, K = { class: "copy-mini-regular" }, Q = { class: "topSpacing" }, X = {
|
|
15
|
+
key: 0,
|
|
13
16
|
class: "dpiV3_field_error_text"
|
|
14
|
-
},
|
|
17
|
+
}, ee = { class: "copy-mini-regular" }, te = { class: "dpiV3_innerRapModalWrapper__section" }, re = { class: "headline-5 gap3BottomAsMargin" }, ae = { class: "topSpacing" }, se = {
|
|
15
18
|
key: 0,
|
|
16
19
|
class: "dpiV3_field_error_text"
|
|
17
|
-
},
|
|
18
|
-
key:
|
|
20
|
+
}, ie = { class: "copy-mini-regular" }, oe = { class: "topSpacing" }, le = {
|
|
21
|
+
key: 0,
|
|
19
22
|
class: "dpiV3_field_error_text"
|
|
20
|
-
},
|
|
21
|
-
key:
|
|
23
|
+
}, ne = { class: "copy-mini-regular" }, ue = { class: "topSpacing" }, de = {
|
|
24
|
+
key: 0,
|
|
22
25
|
class: "dpiV3_field_error_text"
|
|
23
|
-
},
|
|
26
|
+
}, ce = { class: "copy-mini-regular" }, he = { class: "dpiV3_innerRapModalWrapper__section" }, pe = { class: "headline-5 gap3BottomAsMargin" }, me = { class: "topSpacing" }, ge = {
|
|
24
27
|
key: 0,
|
|
25
28
|
class: "dpiV3_field_error_text"
|
|
26
|
-
},
|
|
27
|
-
key:
|
|
29
|
+
}, fe = { class: "copy-mini-regular" }, ve = { class: "topSpacing" }, Ee = {
|
|
30
|
+
key: 0,
|
|
28
31
|
class: "dpiV3_field_error_text"
|
|
29
|
-
},
|
|
30
|
-
key:
|
|
32
|
+
}, be = { class: "copy-mini-regular" }, Me = { class: "topSpacing" }, Pe = {
|
|
33
|
+
key: 0,
|
|
31
34
|
class: "dpiV3_field_error_text"
|
|
32
|
-
},
|
|
35
|
+
}, we = { class: "copy-mini-regular" }, _e = {
|
|
33
36
|
__name: "EssentialsModal",
|
|
34
|
-
props: /* @__PURE__ */
|
|
37
|
+
props: /* @__PURE__ */ H({
|
|
35
38
|
context: Object,
|
|
36
39
|
newValues: Object
|
|
37
40
|
}, {
|
|
@@ -61,14 +64,17 @@ const L = { class: "dpiV3_innerRapModalWrapper" }, O = { class: "dpiV3_innerRapM
|
|
|
61
64
|
showErrorContactPointMail: !1,
|
|
62
65
|
contactPointMailErrorMessage: "",
|
|
63
66
|
showErrorContactPointPhone: !1,
|
|
64
|
-
contactPointPhoneErrorMessage: ""
|
|
67
|
+
contactPointPhoneErrorMessage: "",
|
|
68
|
+
modified: "",
|
|
69
|
+
showErrorModified: !1,
|
|
70
|
+
modifiedErrorMessage: ""
|
|
65
71
|
} },
|
|
66
72
|
modelModifiers: {}
|
|
67
73
|
}),
|
|
68
74
|
emits: ["update:modelValue"],
|
|
69
|
-
setup(
|
|
75
|
+
setup(S, { expose: y }) {
|
|
70
76
|
R([]), z().appContext.app.config.globalProperties.$env;
|
|
71
|
-
const { formValues:
|
|
77
|
+
const { formValues: Ve } = O(), e = x(S, "modelValue"), f = (t) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.trim()), w = (t) => {
|
|
72
78
|
if (!t || t.trim() === "")
|
|
73
79
|
return !0;
|
|
74
80
|
const r = t.replace(/[\s\-().]/g, "");
|
|
@@ -76,66 +82,78 @@ const L = { class: "dpiV3_innerRapModalWrapper" }, O = { class: "dpiV3_innerRapM
|
|
|
76
82
|
return !1;
|
|
77
83
|
const a = r.replace(/\D/g, "");
|
|
78
84
|
return a.length >= 6 && a.length <= 15;
|
|
79
|
-
},
|
|
85
|
+
}, b = (t) => !t || !t.trim() ? !1 : t.trim().length >= 2, M = (t) => {
|
|
80
86
|
try {
|
|
81
87
|
const r = t.trim(), a = r.startsWith("http://") || r.startsWith("https://") ? r : `https://${r}`;
|
|
82
88
|
return new URL(a), !0;
|
|
83
89
|
} catch {
|
|
84
90
|
return !1;
|
|
85
91
|
}
|
|
86
|
-
},
|
|
92
|
+
}, D = (t) => {
|
|
93
|
+
if (!t) return !1;
|
|
94
|
+
const r = new Date(t);
|
|
95
|
+
if (isNaN(r.getTime())) return !1;
|
|
96
|
+
const a = r.getFullYear(), c = /* @__PURE__ */ new Date();
|
|
97
|
+
c.setHours(0, 0, 0, 0);
|
|
98
|
+
const E = new Date(r);
|
|
99
|
+
return E.setHours(0, 0, 0, 0), a >= 1950 && E <= c;
|
|
100
|
+
}, v = (t) => !t || !t.trim() ? !1 : /[a-zA-Z0-9]/.test(t.trim()), P = (t) => t && t.trim().length > 0, o = (t, r) => {
|
|
87
101
|
switch (t) {
|
|
88
102
|
case "title":
|
|
89
|
-
return
|
|
103
|
+
return v(r) ? (e.value.showErrorTitle = !1, e.value.titleErrorMessage = "", !0) : (e.value.showErrorTitle = !0, e.value.titleErrorMessage = "Bitte geben Sie einen Titel ein, bevor Sie fortfahren.", !1);
|
|
90
104
|
case "description":
|
|
91
|
-
return
|
|
92
|
-
case "
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
105
|
+
return P(r) ? (e.value.showErrorDescription = !1, e.value.descriptionErrorMessage = "", !0) : (e.value.showErrorDescription = !0, e.value.descriptionErrorMessage = "Bitte geben Sie eine Beschreibung ein, bevor Sie fortfahren.", !1);
|
|
106
|
+
case "modified":
|
|
107
|
+
if (!r)
|
|
108
|
+
return e.value.showErrorModified = !0, e.value.modifiedErrorMessage = "Bitte geben Sie ein Aktualisierungsdatum ein.", !1;
|
|
109
|
+
const a = new Date(r), c = /* @__PURE__ */ new Date();
|
|
110
|
+
return new Date(a.getFullYear(), a.getMonth(), a.getDate()), new Date(c.getFullYear(), c.getMonth(), c.getDate()), isNaN(a.getTime()) ? (e.value.showErrorModified = !0, e.value.modifiedErrorMessage = "Bitte geben Sie ein gültiges Datum ein.", !1) : a.getFullYear() < 1950 ? (e.value.showErrorModified = !0, e.value.modifiedErrorMessage = "Das Jahr darf nicht vor 1950 liegen.", !1) : a > c ? (e.value.showErrorModified = !0, e.value.modifiedErrorMessage = "Das Datum darf nicht in der Zukunft liegen.", !1) : (e.value.showErrorModified = !1, e.value.modifiedErrorMessage = "", !0);
|
|
96
111
|
case "publisherName":
|
|
97
|
-
return
|
|
112
|
+
return v(r) ? (e.value.showErrorPublisherName = !1, e.value.publisherNameErrorMessage = "", !0) : (e.value.showErrorPublisherName = !0, e.value.publisherNameErrorMessage = "Bitte geben Sie einen gültigen Organisationsnamen ein.", !1);
|
|
98
113
|
case "publisherMail":
|
|
99
|
-
return r
|
|
114
|
+
return !r || !r.trim() || !f(r) ? (e.value.showErrorPublisherMail = !0, e.value.publisherMailErrorMessage = "Bitte geben Sie eine gültige E-Mail-Adresse ein.", !1) : (e.value.showErrorPublisherMail = !1, e.value.publisherMailErrorMessage = "", !0);
|
|
100
115
|
case "publisherWebsite":
|
|
101
|
-
return r
|
|
116
|
+
return !r || !r.trim() || !M(r) ? (e.value.showErrorPublisherWebsite = !0, e.value.publisherWebsiteErrorMessage = "Bitte geben Sie eine gültige URL ein.", !1) : (e.value.showErrorPublisherWebsite = !1, e.value.publisherWebsiteErrorMessage = "", !0);
|
|
102
117
|
case "contactPointName":
|
|
103
|
-
return
|
|
118
|
+
return b(r) ? (e.value.showErrorContactPointName = !1, e.value.contactPointNameErrorMessage = "", !0) : (e.value.showErrorContactPointName = !0, e.value.contactPointNameErrorMessage = "Bitte geben Sie einen gültigen Namen ein (mindestens 2 Zeichen).", !1);
|
|
104
119
|
case "contactPointMail":
|
|
105
|
-
return r
|
|
120
|
+
return !r || !r.trim() || !f(r) ? (e.value.showErrorContactPointMail = !0, e.value.contactPointMailErrorMessage = "Bitte geben Sie eine gültige E-Mail-Adresse ein.", !1) : (e.value.showErrorContactPointMail = !1, e.value.contactPointMailErrorMessage = "", !0);
|
|
106
121
|
case "contactPointPhone":
|
|
107
|
-
return r && r.trim() && !
|
|
122
|
+
return r && r.trim() && !w(r) ? (e.value.showErrorContactPointPhone = !0, e.value.contactPointPhoneErrorMessage = "Bitte geben Sie eine gültige Telefonnummer ein.", !1) : (e.value.showErrorContactPointPhone = !1, e.value.contactPointPhoneErrorMessage = "", !0);
|
|
108
123
|
default:
|
|
109
124
|
return !0;
|
|
110
125
|
}
|
|
111
|
-
},
|
|
112
|
-
var
|
|
113
|
-
const t =
|
|
114
|
-
return t && r &&
|
|
126
|
+
}, T = W(() => {
|
|
127
|
+
var _, V, N, I;
|
|
128
|
+
const t = v(e.value.title), r = P(e.value.description), a = D(e.value.modified), c = v(e.value.publisherName), E = ((_ = e.value.publisherMail) == null ? void 0 : _.trim()) && f(e.value.publisherMail), $ = ((V = e.value.publisherWebsite) == null ? void 0 : V.trim()) && M(e.value.publisherWebsite), k = b(e.value.contactPointName), U = ((N = e.value.contactPointMail) == null ? void 0 : N.trim()) && f(e.value.contactPointMail), A = !((I = e.value.contactPointPhone) != null && I.trim()) || w(e.value.contactPointPhone);
|
|
129
|
+
return t && r && c && E && $ && k && U && A && a;
|
|
115
130
|
});
|
|
116
|
-
|
|
117
|
-
const
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
131
|
+
l(() => e.value.title, (t) => o("title", t)), l(() => e.value.description, (t) => o("description", t)), l(() => e.value.publisherName, (t) => o("publisherName", t)), l(() => e.value.publisherMail, (t) => o("publisherMail", t)), l(() => e.value.publisherWebsite, (t) => o("publisherWebsite", t)), l(() => e.value.contactPointMail, (t) => o("contactPointMail", t)), l(() => e.value.contactPointName, (t) => o("contactPointName", t)), l(() => e.value.contactPointMail, (t) => o("contactPointMail", t)), l(() => e.value.contactPointPhone, (t) => o("contactPointPhone", t)), l(() => e.value.modified, (t) => o("modified", t));
|
|
132
|
+
const B = W(() => {
|
|
133
|
+
var t, r, a;
|
|
134
|
+
return {
|
|
135
|
+
title: !v(e.value.title),
|
|
136
|
+
description: !P(e.value.description),
|
|
137
|
+
publisherName: !v(e.value.publisherName),
|
|
138
|
+
publisherMail: !((t = e.value.publisherMail) != null && t.trim()) || !f(e.value.publisherMail),
|
|
139
|
+
publisherWebsite: !((r = e.value.publisherWebsite) != null && r.trim()) || !M(e.value.publisherWebsite),
|
|
140
|
+
contactPointName: !b(e.value.contactPointName),
|
|
141
|
+
// Now always validated
|
|
142
|
+
contactPointMail: !((a = e.value.contactPointMail) != null && a.trim()) || !f(e.value.contactPointMail)
|
|
143
|
+
};
|
|
144
|
+
}), C = () => {
|
|
127
145
|
const t = [];
|
|
128
|
-
return e.value.showErrorTitle && t.push(e.value.titleErrorMessage), e.value.showErrorDescription && t.push(e.value.descriptionErrorMessage), e.value.showErrorPublisherName && t.push(e.value.publisherNameErrorMessage), e.value.showErrorPublisherMail && t.push(e.value.publisherMailErrorMessage), e.value.showErrorPublisherWebsite && t.push(e.value.publisherWebsiteErrorMessage), e.value.showErrorContactPointName && t.push(e.value.contactPointNameErrorMessage), e.value.showErrorContactPointMail && t.push(e.value.contactPointMailErrorMessage), e.value.showErrorContactPointPhone && t.push(e.value.contactPointPhoneErrorMessage), t.length > 0 ? t : ["Bitte füllen Sie alle erforderlichen Felder korrekt aus."];
|
|
146
|
+
return e.value.showErrorTitle && t.push(e.value.titleErrorMessage), e.value.showErrorDescription && t.push(e.value.descriptionErrorMessage), e.value.showErrorPublisherName && t.push(e.value.publisherNameErrorMessage), e.value.showErrorPublisherMail && t.push(e.value.publisherMailErrorMessage), e.value.showErrorPublisherWebsite && t.push(e.value.publisherWebsiteErrorMessage), e.value.showErrorContactPointName && t.push(e.value.contactPointNameErrorMessage), e.value.showErrorContactPointMail && t.push(e.value.contactPointMailErrorMessage), e.value.showErrorContactPointPhone && t.push(e.value.contactPointPhoneErrorMessage), e.value.showErrorModified && t.push(e.value.modifiedErrorMessage), t.length > 0 ? t : ["Bitte füllen Sie alle erforderlichen Felder korrekt aus."];
|
|
129
147
|
};
|
|
130
|
-
return
|
|
131
|
-
}, { deep: !0 }),
|
|
132
|
-
isValid:
|
|
133
|
-
validationErrors:
|
|
134
|
-
getValidationErrorMessages:
|
|
135
|
-
validateField:
|
|
136
|
-
}), (t, r) => (
|
|
137
|
-
|
|
138
|
-
|
|
148
|
+
return l(() => e.value, () => {
|
|
149
|
+
}, { deep: !0 }), y({
|
|
150
|
+
isValid: T,
|
|
151
|
+
validationErrors: B,
|
|
152
|
+
getValidationErrorMessages: C,
|
|
153
|
+
validateField: o
|
|
154
|
+
}), (t, r) => (d(), u("div", Z, [
|
|
155
|
+
s("div", L, [
|
|
156
|
+
i(g, {
|
|
139
157
|
class: "",
|
|
140
158
|
label: t.$t("message.metadata.title"),
|
|
141
159
|
modelValue: e.value.title,
|
|
@@ -147,172 +165,197 @@ const L = { class: "dpiV3_innerRapModalWrapper" }, O = { class: "dpiV3_innerRapM
|
|
|
147
165
|
showEndIcon: !1,
|
|
148
166
|
showError: e.value.showErrorTitle
|
|
149
167
|
}, null, 8, ["label", "modelValue", "showError"]),
|
|
150
|
-
e.value.showErrorTitle && e.value.titleErrorMessage ? (
|
|
151
|
-
|
|
152
|
-
size: 16,
|
|
153
|
-
weight: "fill"
|
|
154
|
-
}),
|
|
155
|
-
l("span", j, n(e.value.titleErrorMessage), 1)
|
|
156
|
-
])) : d("", !0),
|
|
157
|
-
s(x, {
|
|
158
|
-
class: "",
|
|
159
|
-
label: t.$t("message.metadata.description"),
|
|
160
|
-
modelValue: e.value.description,
|
|
161
|
-
"onUpdate:modelValue": r[1] || (r[1] = (a) => e.value.description = a)
|
|
162
|
-
}, null, 8, ["label", "modelValue"]),
|
|
163
|
-
e.value.showErrorDescription && e.value.descriptionErrorMessage ? (c(), u("div", q, [
|
|
164
|
-
s(h(m), {
|
|
168
|
+
e.value.showErrorTitle && e.value.titleErrorMessage ? (d(), u("div", j, [
|
|
169
|
+
i(p(m), {
|
|
165
170
|
size: 16,
|
|
166
171
|
weight: "fill"
|
|
167
172
|
}),
|
|
168
|
-
|
|
169
|
-
])) :
|
|
170
|
-
s(
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
173
|
+
s("span", q, n(e.value.titleErrorMessage), 1)
|
|
174
|
+
])) : h("", !0),
|
|
175
|
+
s("div", J, [
|
|
176
|
+
i(F, {
|
|
177
|
+
class: "",
|
|
178
|
+
label: t.$t("message.metadata.description"),
|
|
179
|
+
modelValue: e.value.description,
|
|
180
|
+
"onUpdate:modelValue": r[1] || (r[1] = (a) => e.value.description = a),
|
|
181
|
+
showError: e.value.showErrorDescription
|
|
182
|
+
}, null, 8, ["label", "modelValue", "showError"]),
|
|
183
|
+
e.value.showErrorDescription && e.value.descriptionErrorMessage ? (d(), u("div", G, [
|
|
184
|
+
i(p(m), {
|
|
185
|
+
size: 16,
|
|
186
|
+
weight: "fill"
|
|
187
|
+
}),
|
|
188
|
+
s("span", K, n(e.value.descriptionErrorMessage), 1)
|
|
189
|
+
])) : h("", !0)
|
|
190
|
+
]),
|
|
191
|
+
s("div", Q, [
|
|
192
|
+
i(g, {
|
|
193
|
+
label: t.$t("message.dataupload.datasets.rap.essentials.modifiedHeader"),
|
|
194
|
+
infoIcon: !1,
|
|
195
|
+
preIcon: !1,
|
|
196
|
+
datePicker: !0,
|
|
197
|
+
showEndIcon: !1,
|
|
198
|
+
modelValue: e.value.modified,
|
|
199
|
+
"onUpdate:modelValue": r[2] || (r[2] = (a) => e.value.modified = a),
|
|
200
|
+
defaultInput: !0,
|
|
201
|
+
inputType: "date",
|
|
202
|
+
showError: e.value.showErrorModified,
|
|
203
|
+
initialHintText: !1
|
|
204
|
+
}, null, 8, ["label", "modelValue", "showError"]),
|
|
205
|
+
e.value.showErrorModified && e.value.modifiedErrorMessage ? (d(), u("div", X, [
|
|
206
|
+
i(p(m), {
|
|
207
|
+
size: 16,
|
|
208
|
+
weight: "fill"
|
|
209
|
+
}),
|
|
210
|
+
s("span", ee, n(e.value.modifiedErrorMessage), 1)
|
|
211
|
+
])) : h("", !0)
|
|
212
|
+
])
|
|
182
213
|
]),
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
s(
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
}),
|
|
242
|
-
|
|
243
|
-
|
|
214
|
+
s("div", te, [
|
|
215
|
+
s("h5", re, n(t.$t("message.metadata.publisher")), 1),
|
|
216
|
+
s("div", ae, [
|
|
217
|
+
i(g, {
|
|
218
|
+
label: t.$t("message.dataupload.datasets.dct:publisher.nameInput.title"),
|
|
219
|
+
infoIcon: !1,
|
|
220
|
+
preIcon: !1,
|
|
221
|
+
placeholder: t.$t("message.dataupload.datasets.dct:publisher.nameInput.placeholder"),
|
|
222
|
+
initialHintText: !1,
|
|
223
|
+
showEndIcon: !1,
|
|
224
|
+
class: "",
|
|
225
|
+
modelValue: e.value.publisherName,
|
|
226
|
+
"onUpdate:modelValue": r[3] || (r[3] = (a) => e.value.publisherName = a),
|
|
227
|
+
showError: e.value.showErrorPublisherName,
|
|
228
|
+
error_message: "Bitte geben Sie einen gültigen Organisationsnamen ein."
|
|
229
|
+
}, null, 8, ["label", "placeholder", "modelValue", "showError"]),
|
|
230
|
+
e.value.showErrorPublisherName && e.value.publisherNameErrorMessage ? (d(), u("div", se, [
|
|
231
|
+
i(p(m), {
|
|
232
|
+
size: 16,
|
|
233
|
+
weight: "fill"
|
|
234
|
+
}),
|
|
235
|
+
s("span", ie, n(e.value.publisherNameErrorMessage), 1)
|
|
236
|
+
])) : h("", !0)
|
|
237
|
+
]),
|
|
238
|
+
s("div", oe, [
|
|
239
|
+
i(g, {
|
|
240
|
+
label: t.$t("message.dataupload.datasets.dct:publisher.mailInput.title"),
|
|
241
|
+
placeholder: t.$t("message.dataupload.datasets.dct:publisher.mailInput.placeholder"),
|
|
242
|
+
infoIcon: !1,
|
|
243
|
+
preIcon: !1,
|
|
244
|
+
initialHintText: !1,
|
|
245
|
+
showEndIcon: !1,
|
|
246
|
+
class: "",
|
|
247
|
+
modelValue: e.value.publisherMail,
|
|
248
|
+
"onUpdate:modelValue": r[4] || (r[4] = (a) => e.value.publisherMail = a),
|
|
249
|
+
showError: e.value.showErrorPublisherMail,
|
|
250
|
+
error_message: "Bitte geben Sie eine gültige E-Mail-Adresse ein."
|
|
251
|
+
}, null, 8, ["label", "placeholder", "modelValue", "showError"]),
|
|
252
|
+
e.value.showErrorPublisherMail && e.value.publisherMailErrorMessage ? (d(), u("div", le, [
|
|
253
|
+
i(p(m), {
|
|
254
|
+
size: 16,
|
|
255
|
+
weight: "fill"
|
|
256
|
+
}),
|
|
257
|
+
s("span", ne, n(e.value.publisherMailErrorMessage), 1)
|
|
258
|
+
])) : h("", !0)
|
|
259
|
+
]),
|
|
260
|
+
s("div", ue, [
|
|
261
|
+
i(g, {
|
|
262
|
+
label: t.$t("message.dataupload.datasets.dct:publisher.websiteInput.title"),
|
|
263
|
+
placeholder: t.$t("message.dataupload.datasets.dct:publisher.websiteInput.placeholder"),
|
|
264
|
+
infoIcon: !1,
|
|
265
|
+
preIcon: !1,
|
|
266
|
+
initialHintText: !1,
|
|
267
|
+
showEndIcon: !1,
|
|
268
|
+
modelValue: e.value.publisherWebsite,
|
|
269
|
+
"onUpdate:modelValue": r[5] || (r[5] = (a) => e.value.publisherWebsite = a),
|
|
270
|
+
showError: e.value.showErrorPublisherWebsite,
|
|
271
|
+
error_message: "Bitte geben Sie eine gültige URL ein."
|
|
272
|
+
}, null, 8, ["label", "placeholder", "modelValue", "showError"]),
|
|
273
|
+
e.value.showErrorPublisherWebsite && e.value.publisherWebsiteErrorMessage ? (d(), u("div", de, [
|
|
274
|
+
i(p(m), {
|
|
275
|
+
size: 16,
|
|
276
|
+
weight: "fill"
|
|
277
|
+
}),
|
|
278
|
+
s("span", ce, n(e.value.publisherWebsiteErrorMessage), 1)
|
|
279
|
+
])) : h("", !0)
|
|
280
|
+
])
|
|
244
281
|
]),
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
s(
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
}),
|
|
310
|
-
|
|
311
|
-
|
|
282
|
+
s("div", he, [
|
|
283
|
+
s("h5", pe, n(t.$t("message.header.subnav.contact")), 1),
|
|
284
|
+
s("div", me, [
|
|
285
|
+
i(g, {
|
|
286
|
+
modelValue: e.value.contactPointName,
|
|
287
|
+
"onUpdate:modelValue": r[6] || (r[6] = (a) => e.value.contactPointName = a),
|
|
288
|
+
label: t.$t("message.dataupload.datasets.dcat:contactPoint.nameInput.title"),
|
|
289
|
+
placeholder: t.$t(
|
|
290
|
+
"message.dataupload.datasets.dcat:contactPoint.nameInput.placeholder"
|
|
291
|
+
),
|
|
292
|
+
infoIcon: !1,
|
|
293
|
+
preIcon: !1,
|
|
294
|
+
initialHintText: !1,
|
|
295
|
+
showEndIcon: !1,
|
|
296
|
+
class: "",
|
|
297
|
+
showError: e.value.showErrorContactPointName,
|
|
298
|
+
error_message: "Bitte geben Sie einen gültigen Namen ein (mindestens 2 Zeichen)."
|
|
299
|
+
}, null, 8, ["modelValue", "label", "placeholder", "showError"]),
|
|
300
|
+
e.value.showErrorContactPointName && e.value.contactPointNameErrorMessage ? (d(), u("div", ge, [
|
|
301
|
+
i(p(m), {
|
|
302
|
+
size: 16,
|
|
303
|
+
weight: "fill"
|
|
304
|
+
}),
|
|
305
|
+
s("span", fe, n(e.value.contactPointNameErrorMessage), 1)
|
|
306
|
+
])) : h("", !0)
|
|
307
|
+
]),
|
|
308
|
+
s("div", ve, [
|
|
309
|
+
i(g, {
|
|
310
|
+
label: t.$t("message.dataupload.datasets.dcat:contactPoint.mailInput.title"),
|
|
311
|
+
infoIcon: !1,
|
|
312
|
+
preIcon: !1,
|
|
313
|
+
initialHintText: !1,
|
|
314
|
+
placeholder: t.$t(
|
|
315
|
+
"message.dataupload.datasets.dcat:contactPoint.mailInput.placeholder"
|
|
316
|
+
),
|
|
317
|
+
showEndIcon: !1,
|
|
318
|
+
class: "",
|
|
319
|
+
modelValue: e.value.contactPointMail,
|
|
320
|
+
"onUpdate:modelValue": r[7] || (r[7] = (a) => e.value.contactPointMail = a),
|
|
321
|
+
showError: e.value.showErrorContactPointMail,
|
|
322
|
+
error_message: "Bitte geben Sie eine gültige E-Mail-Adresse ein."
|
|
323
|
+
}, null, 8, ["label", "placeholder", "modelValue", "showError"]),
|
|
324
|
+
e.value.showErrorContactPointMail && e.value.contactPointMailErrorMessage ? (d(), u("div", Ee, [
|
|
325
|
+
i(p(m), {
|
|
326
|
+
size: 16,
|
|
327
|
+
weight: "fill"
|
|
328
|
+
}),
|
|
329
|
+
s("span", be, n(e.value.contactPointMailErrorMessage), 1)
|
|
330
|
+
])) : h("", !0)
|
|
331
|
+
]),
|
|
332
|
+
s("div", Me, [
|
|
333
|
+
i(g, {
|
|
334
|
+
label: t.$t("message.dataupload.datasets.dcat:contactPoint.telInput.title"),
|
|
335
|
+
infoIcon: !1,
|
|
336
|
+
placeholder: t.$t(
|
|
337
|
+
"message.dataupload.datasets.dcat:contactPoint.telInput.placeholder"
|
|
338
|
+
),
|
|
339
|
+
preIcon: !1,
|
|
340
|
+
initialHintText: !1,
|
|
341
|
+
showEndIcon: !1,
|
|
342
|
+
modelValue: e.value.contactPointPhone,
|
|
343
|
+
"onUpdate:modelValue": r[8] || (r[8] = (a) => e.value.contactPointPhone = a),
|
|
344
|
+
showError: e.value.showErrorContactPointPhone,
|
|
345
|
+
error_message: "Bitte geben Sie eine gültige Telefonnummer ein."
|
|
346
|
+
}, null, 8, ["label", "placeholder", "modelValue", "showError"]),
|
|
347
|
+
e.value.showErrorContactPointPhone && e.value.contactPointPhoneErrorMessage ? (d(), u("div", Pe, [
|
|
348
|
+
i(p(m), {
|
|
349
|
+
size: 16,
|
|
350
|
+
weight: "fill"
|
|
351
|
+
}),
|
|
352
|
+
s("span", we, n(e.value.contactPointPhoneErrorMessage), 1)
|
|
353
|
+
])) : h("", !0)
|
|
354
|
+
])
|
|
312
355
|
])
|
|
313
356
|
]));
|
|
314
357
|
}
|
|
315
|
-
},
|
|
358
|
+
}, Be = /* @__PURE__ */ Y(_e, [["__scopeId", "data-v-6c3c68f1"]]);
|
|
316
359
|
export {
|
|
317
|
-
|
|
360
|
+
Be as default
|
|
318
361
|
};
|