@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.
@@ -1,39 +1,42 @@
1
- import { mergeModels as A, ref as R, getCurrentInstance as z, useModel as H, computed as N, watch as o, createElementBlock as u, openBlock as c, createElementVNode as s, createVNode as l, createCommentVNode as d, unref as p, toDisplayString as n } from "vue";
2
- import h from "../InputField.vue.js";
3
- import x from "../TextAreaV3.vue.js";
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 D } from "../../../composables/useDpiFormValues.js";
7
+ import { useFormValues as O } from "../../../composables/useDpiFormValues.js";
8
8
  /* empty css */
9
- import F from "../../../../_virtual/_plugin-vue_export-helper.js";
10
- const O = { class: "dpiV3_innerRapModalWrapper" }, L = { class: "dpiV3_innerRapModalWrapper__section" }, Z = {
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
- }, j = { class: "copy-mini-regular" }, q = { class: "topSpacing" }, G = {
13
+ }, q = { class: "copy-mini-regular" }, J = { class: "topSpacing" }, G = {
14
14
  key: 0,
15
15
  class: "dpiV3_field_error_text"
16
- }, J = { class: "copy-mini-regular" }, K = { class: "topSpacing" }, Q = { class: "dpiV3_innerRapModalWrapper__section" }, X = { class: "headline-5 gap3BottomAsMargin" }, Y = { class: "topSpacing" }, ee = {
16
+ }, K = { class: "copy-mini-regular" }, Q = { class: "topSpacing" }, X = {
17
17
  key: 0,
18
18
  class: "dpiV3_field_error_text"
19
- }, te = { class: "copy-mini-regular" }, ae = { class: "topSpacing" }, re = {
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
- }, se = { class: "copy-mini-regular" }, le = { class: "topSpacing" }, ie = {
22
+ }, ie = { class: "copy-mini-regular" }, oe = { class: "topSpacing" }, le = {
23
23
  key: 0,
24
24
  class: "dpiV3_field_error_text"
25
- }, oe = { class: "copy-mini-regular" }, ne = { class: "dpiV3_innerRapModalWrapper__section" }, ue = { class: "headline-5 gap3BottomAsMargin" }, ce = { class: "topSpacing" }, de = {
25
+ }, ne = { class: "copy-mini-regular" }, ue = { class: "topSpacing" }, de = {
26
26
  key: 0,
27
27
  class: "dpiV3_field_error_text"
28
- }, pe = { class: "copy-mini-regular" }, he = { class: "topSpacing" }, me = {
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
- }, ge = { class: "copy-mini-regular" }, be = { class: "topSpacing" }, ve = {
31
+ }, fe = { class: "copy-mini-regular" }, ve = { class: "topSpacing" }, Ee = {
32
32
  key: 0,
33
33
  class: "dpiV3_field_error_text"
34
- }, fe = { class: "copy-mini-regular" }, Ee = {
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__ */ A({
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(I, { expose: W }) {
77
+ setup(S, { expose: y }) {
72
78
  R([]), z().appContext.app.config.globalProperties.$env;
73
- const { formValues: Pe } = D(), e = H(I, "modelValue"), g = (t) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.trim()), P = (t) => {
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 a = t.replace(/[\s\-().]/g, "");
77
- if (!/^[+]?\d+$/.test(a))
82
+ const r = t.replace(/[\s\-().]/g, "");
83
+ if (!/^[+]?\d+$/.test(r))
78
84
  return !1;
79
- const r = a.replace(/\D/g, "");
80
- return r.length >= 6 && r.length <= 15;
81
- }, v = (t) => !t || !t.trim() ? !1 : t.trim().length >= 2, f = (t) => {
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 a = t.trim(), r = a.startsWith("http://") || a.startsWith("https://") ? a : `https://${a}`;
84
- return new URL(r), !0;
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
- }, b = (t) => !t || !t.trim() ? !1 : /[a-zA-Z0-9]/.test(t.trim()), E = (t) => t && t.trim().length > 0, i = (t, a) => {
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 b(a) ? (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);
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 E(a) ? (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);
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 b(a) ? (e.value.showErrorPublisherName = !1, e.value.publisherNameErrorMessage = "", !0) : (e.value.showErrorPublisherName = !0, e.value.publisherNameErrorMessage = "Bitte geben Sie einen gültigen Organisationsnamen ein.", !1);
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 !a || !a.trim() || !g(a) ? (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);
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 !a || !a.trim() || !f(a) ? (e.value.showErrorPublisherWebsite = !0, e.value.publisherWebsiteErrorMessage = "Bitte geben Sie eine gültige URL ein.", !1) : (e.value.showErrorPublisherWebsite = !1, e.value.publisherWebsiteErrorMessage = "", !0);
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 v(a) ? (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);
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 !a || !a.trim() || !g(a) ? (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);
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 a && a.trim() && !P(a) ? (e.value.showErrorContactPointPhone = !0, e.value.contactPointPhoneErrorMessage = "Bitte geben Sie eine gültige Telefonnummer ein.", !1) : (e.value.showErrorContactPointPhone = !1, e.value.contactPointPhoneErrorMessage = "", !0);
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
- }, S = N(() => {
110
- var M, w, _, V;
111
- const t = b(e.value.title), a = E(e.value.description), r = b(e.value.publisherName), $ = ((M = e.value.publisherMail) == null ? void 0 : M.trim()) && g(e.value.publisherMail), y = ((w = e.value.publisherWebsite) == null ? void 0 : w.trim()) && f(e.value.publisherWebsite), B = v(e.value.contactPointName), U = ((_ = e.value.contactPointMail) == null ? void 0 : _.trim()) && g(e.value.contactPointMail), k = !((V = e.value.contactPointPhone) != null && V.trim()) || P(e.value.contactPointPhone);
112
- return t && a && r && $ && y && B && U && k;
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
- o(() => e.value.title, (t) => i("title", t)), o(() => e.value.description, (t) => i("description", t)), o(() => e.value.publisherName, (t) => i("publisherName", t)), o(() => e.value.publisherMail, (t) => i("publisherMail", t)), o(() => e.value.publisherWebsite, (t) => i("publisherWebsite", t)), o(() => e.value.contactPointMail, (t) => i("contactPointMail", t)), o(() => e.value.contactPointName, (t) => i("contactPointName", t)), o(() => e.value.contactPointMail, (t) => i("contactPointMail", t)), o(() => e.value.contactPointPhone, (t) => i("contactPointPhone", t));
115
- const C = N(() => {
116
- var t, a, r;
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: !b(e.value.title),
119
- description: !E(e.value.description),
120
- publisherName: !b(e.value.publisherName),
121
- publisherMail: !((t = e.value.publisherMail) != null && t.trim()) || !g(e.value.publisherMail),
122
- publisherWebsite: !((a = e.value.publisherWebsite) != null && a.trim()) || !f(e.value.publisherWebsite),
123
- contactPointName: !v(e.value.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: !((r = e.value.contactPointMail) != null && r.trim()) || !g(e.value.contactPointMail)
144
+ contactPointMail: !((a = e.value.contactPointMail) != null && a.trim()) || !f(e.value.contactPointMail)
126
145
  };
127
- }), T = () => {
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 o(() => e.value, () => {
132
- }, { deep: !0 }), W({
133
- isValid: S,
134
- validationErrors: C,
135
- getValidationErrorMessages: T,
136
- validateField: i
137
- }), (t, a) => (c(), u("div", O, [
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
- l(h, {
158
+ i(g, {
140
159
  class: "",
141
160
  label: t.$t("message.metadata.title"),
142
161
  modelValue: e.value.title,
143
- "onUpdate:modelValue": a[0] || (a[0] = (r) => e.value.title = r),
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 ? (c(), u("div", Z, [
152
- l(p(m), {
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", j, n(e.value.titleErrorMessage), 1)
157
- ])) : d("", !0),
158
- s("div", q, [
159
- l(x, {
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": a[1] || (a[1] = (r) => e.value.description = r)
164
- }, null, 8, ["label", "modelValue"]),
165
- e.value.showErrorDescription && e.value.descriptionErrorMessage ? (c(), u("div", G, [
166
- l(p(m), {
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", J, n(e.value.descriptionErrorMessage), 1)
171
- ])) : d("", !0)
190
+ s("span", K, n(e.value.descriptionErrorMessage), 1)
191
+ ])) : h("", !0)
172
192
  ]),
173
- s("div", K, [
174
- l(h, {
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": a[2] || (a[2] = (r) => e.value.modified = r),
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", Q, [
189
- s("h5", X, n(t.$t("message.metadata.publisher")), 1),
190
- s("div", Y, [
191
- l(h, {
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": a[3] || (a[3] = (r) => e.value.publisherName = r),
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 ? (c(), u("div", ee, [
205
- l(p(m), {
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", te, n(e.value.publisherNameErrorMessage), 1)
210
- ])) : d("", !0)
237
+ s("span", ie, n(e.value.publisherNameErrorMessage), 1)
238
+ ])) : h("", !0)
211
239
  ]),
212
- s("div", ae, [
213
- l(h, {
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": a[4] || (a[4] = (r) => e.value.publisherMail = r),
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 ? (c(), u("div", re, [
227
- l(p(m), {
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", se, n(e.value.publisherMailErrorMessage), 1)
232
- ])) : d("", !0)
259
+ s("span", ne, n(e.value.publisherMailErrorMessage), 1)
260
+ ])) : h("", !0)
233
261
  ]),
234
- s("div", le, [
235
- l(h, {
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": a[5] || (a[5] = (r) => e.value.publisherWebsite = r),
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 ? (c(), u("div", ie, [
248
- l(p(m), {
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", oe, n(e.value.publisherWebsiteErrorMessage), 1)
253
- ])) : d("", !0)
280
+ s("span", ce, n(e.value.publisherWebsiteErrorMessage), 1)
281
+ ])) : h("", !0)
254
282
  ])
255
283
  ]),
256
- s("div", ne, [
257
- s("h5", ue, n(t.$t("message.header.subnav.contact")), 1),
258
- s("div", ce, [
259
- l(h, {
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": a[6] || (a[6] = (r) => e.value.contactPointName = r),
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 ? (c(), u("div", de, [
275
- l(p(m), {
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", pe, n(e.value.contactPointNameErrorMessage), 1)
280
- ])) : d("", !0)
307
+ s("span", fe, n(e.value.contactPointNameErrorMessage), 1)
308
+ ])) : h("", !0)
281
309
  ]),
282
- s("div", he, [
283
- l(h, {
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": a[7] || (a[7] = (r) => e.value.contactPointMail = r),
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 ? (c(), u("div", me, [
299
- l(p(m), {
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", ge, n(e.value.contactPointMailErrorMessage), 1)
304
- ])) : d("", !0)
331
+ s("span", be, n(e.value.contactPointMailErrorMessage), 1)
332
+ ])) : h("", !0)
305
333
  ]),
306
- s("div", be, [
307
- l(h, {
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": a[8] || (a[8] = (r) => e.value.contactPointPhone = r),
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 ? (c(), u("div", ve, [
322
- l(p(m), {
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", fe, n(e.value.contactPointPhoneErrorMessage), 1)
327
- ])) : d("", !0)
354
+ s("span", we, n(e.value.contactPointPhoneErrorMessage), 1)
355
+ ])) : h("", !0)
328
356
  ])
329
357
  ])
330
358
  ]));
331
359
  }
332
- }, Te = /* @__PURE__ */ F(Ee, [["__scopeId", "data-v-8225049b"]]);
360
+ }, $e = /* @__PURE__ */ Y(_e, [["__scopeId", "data-v-ea4362eb"]]);
333
361
  export {
334
- Te as default
362
+ $e as default
335
363
  };