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