@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.
Files changed (52) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +62 -56
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue.js +4 -53
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue2.js +58 -0
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +65 -53
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +60 -56
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +1 -1
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +67 -79
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +17 -17
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +411 -318
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +1 -1
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +1 -1
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +103 -71
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +130 -77
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +88 -60
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +111 -74
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +143 -126
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +32 -32
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +64 -48
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js +29 -28
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +46 -41
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +227 -208
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +124 -106
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +113 -108
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +1 -1
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +370 -360
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +464 -182
  32. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +31 -26
  33. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +31 -92
  34. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +183 -126
  35. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +2 -2
  36. package/dist/packages/dpi/src/data-provider-interface/components/ContactPage.vue.js +95 -89
  37. package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +139 -122
  38. package/dist/packages/dpi/src/data-provider-interface/components/DistributionSimplePage.vue.js +618 -525
  39. package/dist/packages/dpi/src/data-provider-interface/components/HVDPage.vue.js +56 -55
  40. package/dist/packages/dpi/src/data-provider-interface/components/PublisherPage.vue.js +94 -89
  41. package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js +247 -238
  42. package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue.js +4 -4
  43. package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue2.js +16 -17
  44. package/dist/packages/dpi/src/data-provider-interface/components/TempResPage.vue.js +122 -104
  45. package/dist/packages/dpi/src/data-provider-interface/components/TempResPageInModal.vue.js +249 -108
  46. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +332 -305
  47. package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyUser.js +89 -55
  48. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +243 -199
  49. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +24 -11
  50. package/dist/packages/dpi/src/data-provider-interface/store/modules/authStore.js +14 -12
  51. package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +317 -288
  52. package/package.json +2 -2
@@ -1,31 +1,37 @@
1
- import { mergeModels as y, ref as $, getCurrentInstance as x, useModel as B, computed as P, watch as u, createElementBlock as d, openBlock as p, createElementVNode as t, createVNode as a, createCommentVNode as m, unref as b, toDisplayString as i } from "vue";
2
- import o from "../InputField.vue.js";
3
- import k from "../TextAreaV3.vue.js";
4
- import { PhWarning as f } from "@phosphor-icons/vue";
5
- import { useFormValues as R } from "../../../composables/useDpiFormValues.js";
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 l, createVNode as s, createCommentVNode as d, unref as h, toDisplayString as n } from "vue";
2
+ import p from "../InputField.vue.js";
3
+ import x from "../TextAreaV3.vue.js";
4
+ import { PhWarning as m } from "@phosphor-icons/vue";
5
+ import { useFormValues as D } from "../../../composables/useDpiFormValues.js";
6
6
  /* empty css */
7
- import C from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
8
- const H = { class: "dpiV3_innerRapModalWrapper" }, z = { class: "dpiV3_innerRapModalWrapper__section" }, D = {
7
+ import F from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
8
+ const L = { class: "dpiV3_innerRapModalWrapper" }, O = { class: "dpiV3_innerRapModalWrapper__section" }, Z = {
9
9
  key: 0,
10
10
  class: "dpiV3_field_error_text"
11
- }, F = { class: "copy-mini-regular" }, Z = {
11
+ }, j = { class: "copy-mini-regular" }, q = {
12
12
  key: 1,
13
13
  class: "dpiV3_field_error_text"
14
- }, L = { class: "copy-mini-regular" }, j = { class: "dpiV3_innerRapModalWrapper__section" }, O = { class: "headline-5 gap3BottomAsMargin" }, S = {
14
+ }, G = { class: "copy-mini-regular" }, J = { class: "dpiV3_innerRapModalWrapper__section" }, K = { class: "headline-5 gap3BottomAsMargin" }, Q = {
15
15
  key: 0,
16
16
  class: "dpiV3_field_error_text"
17
- }, q = { class: "copy-mini-regular" }, G = {
17
+ }, X = { class: "copy-mini-regular" }, Y = {
18
18
  key: 1,
19
19
  class: "dpiV3_field_error_text"
20
- }, J = { class: "copy-mini-regular" }, K = {
20
+ }, ee = { class: "copy-mini-regular" }, te = {
21
21
  key: 2,
22
22
  class: "dpiV3_field_error_text"
23
- }, Q = { class: "copy-mini-regular" }, X = { class: "dpiV3_innerRapModalWrapper__section" }, Y = { class: "headline-5 gap3BottomAsMargin" }, ee = {
23
+ }, re = { class: "copy-mini-regular" }, ae = { class: "dpiV3_innerRapModalWrapper__section" }, se = { class: "headline-5 gap3BottomAsMargin" }, le = {
24
24
  key: 0,
25
25
  class: "dpiV3_field_error_text"
26
- }, re = { class: "copy-mini-regular" }, se = {
26
+ }, ie = { class: "copy-mini-regular" }, oe = {
27
+ key: 1,
28
+ class: "dpiV3_field_error_text"
29
+ }, ne = { class: "copy-mini-regular" }, ue = {
30
+ key: 2,
31
+ class: "dpiV3_field_error_text"
32
+ }, ce = { class: "copy-mini-regular" }, de = {
27
33
  __name: "EssentialsModal",
28
- props: /* @__PURE__ */ y({
34
+ props: /* @__PURE__ */ A({
29
35
  context: Object,
30
36
  newValues: Object
31
37
  }, {
@@ -50,69 +56,90 @@ const H = { class: "dpiV3_innerRapModalWrapper" }, z = { class: "dpiV3_innerRapM
50
56
  publisherMailErrorMessage: "",
51
57
  showErrorPublisherWebsite: !1,
52
58
  publisherWebsiteErrorMessage: "",
59
+ showErrorContactPointName: !1,
60
+ contactPointNameErrorMessage: "",
53
61
  showErrorContactPointMail: !1,
54
- contactPointMailErrorMessage: ""
62
+ contactPointMailErrorMessage: "",
63
+ showErrorContactPointPhone: !1,
64
+ contactPointPhoneErrorMessage: ""
55
65
  } },
56
66
  modelModifiers: {}
57
67
  }),
58
68
  emits: ["update:modelValue"],
59
- setup(V, { expose: _ }) {
60
- $([]), x().appContext.app.config.globalProperties.$env;
61
- const { formValues: le } = R(), e = B(V, "modelValue"), c = (r) => !r || !r.trim() ? !0 : /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r.trim()), v = (r) => {
62
- if (!r || !r.trim()) return !0;
69
+ setup(I, { expose: W }) {
70
+ R([]), z().appContext.app.config.globalProperties.$env;
71
+ const { formValues: he } = D(), e = H(I, "modelValue"), b = (t) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.trim()), M = (t) => {
72
+ if (!t || t.trim() === "")
73
+ return !0;
74
+ const r = t.replace(/[\s\-().]/g, "");
75
+ if (!/^[+]?\d+$/.test(r))
76
+ return !1;
77
+ const a = r.replace(/\D/g, "");
78
+ return a.length >= 6 && a.length <= 15;
79
+ }, E = (t) => !t || !t.trim() ? !1 : t.trim().length >= 2, f = (t) => {
63
80
  try {
64
- const s = r.trim(), l = s.startsWith("http://") || s.startsWith("https://") ? s : `https://${s}`;
65
- return new URL(l), !0;
81
+ const r = t.trim(), a = r.startsWith("http://") || r.startsWith("https://") ? r : `https://${r}`;
82
+ return new URL(a), !0;
66
83
  } catch {
67
84
  return !1;
68
85
  }
69
- }, h = (r) => !r || !r.trim() ? !1 : /[a-zA-Z0-9]/.test(r.trim()), M = (r) => r && r.trim().length > 0, n = (r, s) => {
70
- switch (r) {
86
+ }, g = (t) => !t || !t.trim() ? !1 : /[a-zA-Z0-9]/.test(t.trim()), v = (t) => t && t.trim().length > 0, i = (t, r) => {
87
+ switch (t) {
71
88
  case "title":
72
- return h(s) ? (e.value.showErrorTitle = !1, e.value.titleErrorMessage = "", !0) : (e.value.showErrorTitle = !0, e.value.titleErrorMessage = "Titel ist erforderlich und muss mindestens ein alphanumerisches Zeichen enthalten.", !1);
89
+ return g(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);
73
90
  case "description":
74
- return M(s) ? (e.value.showErrorDescription = !1, e.value.descriptionErrorMessage = "", !0) : (e.value.showErrorDescription = !0, e.value.descriptionErrorMessage = "Beschreibung ist erforderlich.", !1);
91
+ return v(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);
92
+ case "publisherMail":
93
+ return r && r.trim() && !b(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);
94
+ case "publisherWebsite":
95
+ return r && r.trim() && !f(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);
75
96
  case "publisherName":
76
- return h(s) ? (e.value.showErrorPublisherName = !1, e.value.publisherNameErrorMessage = "", !0) : (e.value.showErrorPublisherName = !0, e.value.publisherNameErrorMessage = "Publisher-Name ist erforderlich und muss mindestens ein alphanumerisches Zeichen enthalten.", !1);
97
+ return g(r) ? (e.value.showErrorPublisherName = !1, e.value.publisherNameErrorMessage = "", !0) : (e.value.showErrorPublisherName = !0, e.value.publisherNameErrorMessage = "Publisher-Name ist erforderlich und muss mindestens ein alphanumerisches Zeichen enthalten.", !1);
77
98
  case "publisherMail":
78
- return s && s.trim() && !c(s) ? (e.value.showErrorPublisherMail = !0, e.value.publisherMailErrorMessage = "Ungültige E-Mail-Adresse.", !1) : (e.value.showErrorPublisherMail = !1, e.value.publisherMailErrorMessage = "", !0);
99
+ return r && r.trim() && !b(r) ? (e.value.showErrorPublisherMail = !0, e.value.publisherMailErrorMessage = "Ungültige E-Mail-Adresse.", !1) : (e.value.showErrorPublisherMail = !1, e.value.publisherMailErrorMessage = "", !0);
79
100
  case "publisherWebsite":
80
- return s && s.trim() && !v(s) ? (e.value.showErrorPublisherWebsite = !0, e.value.publisherWebsiteErrorMessage = "Ungültige Website-URL.", !1) : (e.value.showErrorPublisherWebsite = !1, e.value.publisherWebsiteErrorMessage = "", !0);
101
+ return r && r.trim() && !f(r) ? (e.value.showErrorPublisherWebsite = !0, e.value.publisherWebsiteErrorMessage = "Ungültige Website-URL.", !1) : (e.value.showErrorPublisherWebsite = !1, e.value.publisherWebsiteErrorMessage = "", !0);
102
+ case "contactPointName":
103
+ return E(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);
81
104
  case "contactPointMail":
82
- return s && s.trim() && !c(s) ? (e.value.showErrorContactPointMail = !0, e.value.contactPointMailErrorMessage = "Ungültige E-Mail-Adresse.", !1) : (e.value.showErrorContactPointMail = !1, e.value.contactPointMailErrorMessage = "", !0);
105
+ return r && r.trim() && !b(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
+ case "contactPointPhone":
107
+ return r && r.trim() && !M(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);
83
108
  default:
84
109
  return !0;
85
110
  }
86
- }, I = P(() => {
87
- var g, E, w;
88
- const r = h(e.value.title), s = M(e.value.description), l = h(e.value.publisherName), U = !((g = e.value.publisherMail) != null && g.trim()) || c(e.value.publisherMail), T = !((E = e.value.publisherWebsite) != null && E.trim()) || v(e.value.publisherWebsite), A = !((w = e.value.contactPointMail) != null && w.trim()) || c(e.value.contactPointMail);
89
- return r && s && l && U && T && A;
111
+ }, C = N(() => {
112
+ var P, w, V, _;
113
+ const t = g(e.value.title), r = v(e.value.description), a = g(e.value.publisherName), y = !((P = e.value.publisherMail) != null && P.trim()) || b(e.value.publisherMail), B = !((w = e.value.publisherWebsite) != null && w.trim()) || f(e.value.publisherWebsite), S = E(e.value.contactPointName), U = !((V = e.value.contactPointMail) != null && V.trim()) || b(e.value.contactPointMail), k = !((_ = e.value.contactPointPhone) != null && _.trim()) || M(e.value.contactPointPhone);
114
+ return t && r && a && y && B && S && U && k;
90
115
  });
91
- u(() => e.value.title, (r) => n("title", r)), u(() => e.value.description, (r) => n("description", r)), u(() => e.value.publisherName, (r) => n("publisherName", r)), u(() => e.value.publisherMail, (r) => n("publisherMail", r)), u(() => e.value.publisherWebsite, (r) => n("publisherWebsite", r)), u(() => e.value.contactPointMail, (r) => n("contactPointMail", r));
92
- const W = P(() => ({
93
- title: !h(e.value.title),
94
- description: !M(e.value.description),
95
- publisherName: !h(e.value.publisherName),
96
- publisherMail: e.value.publisherMail && e.value.publisherMail.trim() && !c(e.value.publisherMail),
97
- publisherWebsite: e.value.publisherWebsite && e.value.publisherWebsite.trim() && !v(e.value.publisherWebsite),
98
- contactPointMail: e.value.contactPointMail && e.value.contactPointMail.trim() && !c(e.value.contactPointMail)
99
- })), N = () => {
100
- const r = [];
101
- return e.value.showErrorTitle && r.push(e.value.titleErrorMessage), e.value.showErrorDescription && r.push(e.value.descriptionErrorMessage), e.value.showErrorPublisherName && r.push(e.value.publisherNameErrorMessage), e.value.showErrorPublisherMail && r.push(e.value.publisherMailErrorMessage), e.value.showErrorPublisherWebsite && r.push(e.value.publisherWebsiteErrorMessage), e.value.showErrorContactPointMail && r.push(e.value.contactPointMailErrorMessage), r.length > 0 ? r : ["Bitte füllen Sie alle erforderlichen Felder korrekt aus."];
116
+ 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));
117
+ const T = N(() => ({
118
+ title: !g(e.value.title),
119
+ description: !v(e.value.description),
120
+ publisherName: !g(e.value.publisherName),
121
+ publisherMail: e.value.publisherMail && e.value.publisherMail.trim() && !b(e.value.publisherMail),
122
+ publisherWebsite: e.value.publisherWebsite && e.value.publisherWebsite.trim() && !f(e.value.publisherWebsite),
123
+ contactPointName: !E(e.value.contactPointName),
124
+ // Now always validated
125
+ contactPointMail: e.value.contactPointMail && e.value.contactPointMail.trim() && !b(e.value.contactPointMail)
126
+ })), $ = () => {
127
+ 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."];
102
129
  };
103
- return u(() => e.value, () => {
104
- }, { deep: !0 }), _({
105
- isValid: I,
106
- validationErrors: W,
107
- getValidationErrorMessages: N,
108
- validateField: n
109
- }), (r, s) => (p(), d("div", H, [
110
- t("div", z, [
111
- a(o, {
112
- class: "gap5BottomAsMargin",
113
- label: r.$t("message.metadata.title"),
130
+ return o(() => e.value, () => {
131
+ }, { deep: !0 }), W({
132
+ isValid: C,
133
+ validationErrors: T,
134
+ getValidationErrorMessages: $,
135
+ validateField: i
136
+ }), (t, r) => (c(), u("div", L, [
137
+ l("div", O, [
138
+ s(p, {
139
+ class: "",
140
+ label: t.$t("message.metadata.title"),
114
141
  modelValue: e.value.title,
115
- "onUpdate:modelValue": s[0] || (s[0] = (l) => e.value.title = l),
142
+ "onUpdate:modelValue": r[0] || (r[0] = (a) => e.value.title = a),
116
143
  placeholder: "",
117
144
  infoIcon: !1,
118
145
  preIcon: !1,
@@ -120,142 +147,172 @@ const H = { class: "dpiV3_innerRapModalWrapper" }, z = { class: "dpiV3_innerRapM
120
147
  showEndIcon: !1,
121
148
  showError: e.value.showErrorTitle
122
149
  }, null, 8, ["label", "modelValue", "showError"]),
123
- e.value.showErrorTitle && e.value.titleErrorMessage ? (p(), d("div", D, [
124
- a(b(f), {
150
+ e.value.showErrorTitle && e.value.titleErrorMessage ? (c(), u("div", Z, [
151
+ s(h(m), {
125
152
  size: 16,
126
153
  weight: "fill"
127
154
  }),
128
- t("span", F, i(e.value.titleErrorMessage), 1)
129
- ])) : m("", !0),
130
- a(k, {
131
- class: "gap5BottomAsMargin",
132
- label: r.$t("message.metadata.description"),
155
+ l("span", j, n(e.value.titleErrorMessage), 1)
156
+ ])) : d("", !0),
157
+ s(x, {
158
+ class: "",
159
+ label: t.$t("message.metadata.description"),
133
160
  modelValue: e.value.description,
134
- "onUpdate:modelValue": s[1] || (s[1] = (l) => e.value.description = l)
161
+ "onUpdate:modelValue": r[1] || (r[1] = (a) => e.value.description = a)
135
162
  }, null, 8, ["label", "modelValue"]),
136
- e.value.showErrorDescription && e.value.descriptionErrorMessage ? (p(), d("div", Z, [
137
- a(b(f), {
163
+ e.value.showErrorDescription && e.value.descriptionErrorMessage ? (c(), u("div", q, [
164
+ s(h(m), {
138
165
  size: 16,
139
166
  weight: "fill"
140
167
  }),
141
- t("span", L, i(e.value.descriptionErrorMessage), 1)
142
- ])) : m("", !0),
143
- a(o, {
144
- label: r.$t("message.dataupload.datasets.rap.essentials.modifiedHeader"),
168
+ l("span", G, n(e.value.descriptionErrorMessage), 1)
169
+ ])) : d("", !0),
170
+ s(p, {
171
+ label: t.$t("message.dataupload.datasets.rap.essentials.modifiedHeader"),
145
172
  infoIcon: !1,
146
173
  preIcon: !1,
147
174
  datePicker: !0,
148
175
  showEndIcon: !1,
149
176
  modelValue: e.value.modified,
150
- "onUpdate:modelValue": s[2] || (s[2] = (l) => e.value.modified = l),
177
+ "onUpdate:modelValue": r[2] || (r[2] = (a) => e.value.modified = a),
151
178
  defaultInput: !0,
152
179
  inputType: "date",
153
180
  initialHintText: !1
154
181
  }, null, 8, ["label", "modelValue"])
155
182
  ]),
156
- t("div", j, [
157
- t("h5", O, i(r.$t("message.metadata.publisher")), 1),
158
- a(o, {
159
- label: r.$t("message.dataupload.datasets.dct:publisher.nameInput.title"),
183
+ l("div", J, [
184
+ l("h5", K, n(t.$t("message.metadata.publisher")), 1),
185
+ s(p, {
186
+ label: t.$t("message.dataupload.datasets.dct:publisher.nameInput.title"),
160
187
  infoIcon: !1,
161
188
  preIcon: !1,
189
+ placeholder: t.$t("message.dataupload.datasets.dct:publisher.nameInput.placeholder"),
162
190
  initialHintText: !1,
163
191
  showEndIcon: !1,
164
- class: "gap5BottomAsMargin",
192
+ class: "",
165
193
  modelValue: e.value.publisherName,
166
- "onUpdate:modelValue": s[3] || (s[3] = (l) => e.value.publisherName = l),
194
+ "onUpdate:modelValue": r[3] || (r[3] = (a) => e.value.publisherName = a),
167
195
  showError: e.value.showErrorPublisherName,
168
- error_message: "Publisher-Name ist erforderlich und muss mindestens ein alphanumerisches Zeichen enthalten."
169
- }, null, 8, ["label", "modelValue", "showError"]),
170
- e.value.showErrorPublisherName && e.value.publisherNameErrorMessage ? (p(), d("div", S, [
171
- a(b(f), {
196
+ error_message: "Bitte geben Sie einen gültigen Organisationsnamen ein."
197
+ }, null, 8, ["label", "placeholder", "modelValue", "showError"]),
198
+ e.value.showErrorPublisherName && e.value.publisherNameErrorMessage ? (c(), u("div", Q, [
199
+ s(h(m), {
172
200
  size: 16,
173
201
  weight: "fill"
174
202
  }),
175
- t("span", q, i(e.value.publisherNameErrorMessage), 1)
176
- ])) : m("", !0),
177
- a(o, {
178
- label: r.$t("message.dataupload.datasets.dct:publisher.mailInput.title"),
203
+ l("span", X, n(e.value.publisherNameErrorMessage), 1)
204
+ ])) : d("", !0),
205
+ s(p, {
206
+ label: t.$t("message.dataupload.datasets.dct:publisher.mailInput.title"),
207
+ placeholder: t.$t("message.dataupload.datasets.dct:publisher.mailInput.placeholder"),
179
208
  infoIcon: !1,
180
209
  preIcon: !1,
181
210
  initialHintText: !1,
182
211
  showEndIcon: !1,
183
- class: "gap5BottomAsMargin",
212
+ class: "",
184
213
  modelValue: e.value.publisherMail,
185
- "onUpdate:modelValue": s[4] || (s[4] = (l) => e.value.publisherMail = l),
214
+ "onUpdate:modelValue": r[4] || (r[4] = (a) => e.value.publisherMail = a),
186
215
  showError: e.value.showErrorPublisherMail,
187
- error_message: "Ungültige E-Mail-Adresse."
188
- }, null, 8, ["label", "modelValue", "showError"]),
189
- e.value.showErrorPublisherMail && e.value.publisherMailErrorMessage ? (p(), d("div", G, [
190
- a(b(f), {
216
+ error_message: "Bitte geben Sie eine gültige E-Mail-Adresse ein."
217
+ }, null, 8, ["label", "placeholder", "modelValue", "showError"]),
218
+ e.value.showErrorPublisherMail && e.value.publisherMailErrorMessage ? (c(), u("div", Y, [
219
+ s(h(m), {
191
220
  size: 16,
192
221
  weight: "fill"
193
222
  }),
194
- t("span", J, i(e.value.publisherMailErrorMessage), 1)
195
- ])) : m("", !0),
196
- a(o, {
197
- label: r.$t("message.dataupload.datasets.dct:publisher.websiteInput.title"),
223
+ l("span", ee, n(e.value.publisherMailErrorMessage), 1)
224
+ ])) : d("", !0),
225
+ s(p, {
226
+ label: t.$t("message.dataupload.datasets.dct:publisher.websiteInput.title"),
227
+ placeholder: t.$t("message.dataupload.datasets.dct:publisher.websiteInput.placeholder"),
198
228
  infoIcon: !1,
199
229
  preIcon: !1,
200
230
  initialHintText: !1,
201
231
  showEndIcon: !1,
202
232
  modelValue: e.value.publisherWebsite,
203
- "onUpdate:modelValue": s[5] || (s[5] = (l) => e.value.publisherWebsite = l),
233
+ "onUpdate:modelValue": r[5] || (r[5] = (a) => e.value.publisherWebsite = a),
204
234
  showError: e.value.showErrorPublisherWebsite,
205
- error_message: "Ungültige Website-URL."
206
- }, null, 8, ["label", "modelValue", "showError"]),
207
- e.value.showErrorPublisherWebsite && e.value.publisherWebsiteErrorMessage ? (p(), d("div", K, [
208
- a(b(f), {
235
+ error_message: "Bitte geben Sie eine gültige URL ein."
236
+ }, null, 8, ["label", "placeholder", "modelValue", "showError"]),
237
+ e.value.showErrorPublisherWebsite && e.value.publisherWebsiteErrorMessage ? (c(), u("div", te, [
238
+ s(h(m), {
209
239
  size: 16,
210
240
  weight: "fill"
211
241
  }),
212
- t("span", Q, i(e.value.publisherWebsiteErrorMessage), 1)
213
- ])) : m("", !0)
242
+ l("span", re, n(e.value.publisherWebsiteErrorMessage), 1)
243
+ ])) : d("", !0)
214
244
  ]),
215
- t("div", X, [
216
- t("h5", Y, i(r.$t("message.header.subnav.contact")), 1),
217
- a(o, {
245
+ l("div", ae, [
246
+ l("h5", se, n(t.$t("message.header.subnav.contact")), 1),
247
+ s(p, {
218
248
  modelValue: e.value.contactPointName,
219
- "onUpdate:modelValue": s[6] || (s[6] = (l) => e.value.contactPointName = l),
220
- label: r.$t("message.dataupload.datasets.dcat:contactPoint.nameInput.title"),
249
+ "onUpdate:modelValue": r[6] || (r[6] = (a) => e.value.contactPointName = a),
250
+ label: t.$t("message.dataupload.datasets.dcat:contactPoint.nameInput.title"),
251
+ placeholder: t.$t(
252
+ "message.dataupload.datasets.dcat:contactPoint.nameInput.placeholder"
253
+ ),
221
254
  infoIcon: !1,
222
255
  preIcon: !1,
223
256
  initialHintText: !1,
224
257
  showEndIcon: !1,
225
- class: "gap5BottomAsMargin"
226
- }, null, 8, ["modelValue", "label"]),
227
- a(o, {
228
- label: r.$t("message.dataupload.datasets.dcat:contactPoint.mailInput.title"),
258
+ class: "",
259
+ showError: e.value.showErrorContactPointName,
260
+ error_message: "Bitte geben Sie einen gültigen Namen ein (mindestens 2 Zeichen)."
261
+ }, null, 8, ["modelValue", "label", "placeholder", "showError"]),
262
+ e.value.showErrorContactPointName && e.value.contactPointNameErrorMessage ? (c(), u("div", le, [
263
+ s(h(m), {
264
+ size: 16,
265
+ weight: "fill"
266
+ }),
267
+ l("span", ie, n(e.value.contactPointNameErrorMessage), 1)
268
+ ])) : d("", !0),
269
+ s(p, {
270
+ label: t.$t("message.dataupload.datasets.dcat:contactPoint.mailInput.title"),
229
271
  infoIcon: !1,
230
272
  preIcon: !1,
231
- initialHintText: !0,
273
+ initialHintText: !1,
274
+ placeholder: t.$t(
275
+ "message.dataupload.datasets.dcat:contactPoint.mailInput.placeholder"
276
+ ),
232
277
  showEndIcon: !1,
233
- class: "gap5BottomAsMargin",
278
+ class: "",
234
279
  modelValue: e.value.contactPointMail,
235
- "onUpdate:modelValue": s[7] || (s[7] = (l) => e.value.contactPointMail = l),
280
+ "onUpdate:modelValue": r[7] || (r[7] = (a) => e.value.contactPointMail = a),
236
281
  showError: e.value.showErrorContactPointMail,
237
- error_message: "Ungültige E-Mail-Adresse."
238
- }, null, 8, ["label", "modelValue", "showError"]),
239
- e.value.showErrorContactPointMail && e.value.contactPointMailErrorMessage ? (p(), d("div", ee, [
240
- a(b(f), {
282
+ error_message: "Bitte geben Sie eine gültige E-Mail-Adresse ein."
283
+ }, null, 8, ["label", "placeholder", "modelValue", "showError"]),
284
+ e.value.showErrorContactPointMail && e.value.contactPointMailErrorMessage ? (c(), u("div", oe, [
285
+ s(h(m), {
241
286
  size: 16,
242
287
  weight: "fill"
243
288
  }),
244
- t("span", re, i(e.value.contactPointMailErrorMessage), 1)
245
- ])) : m("", !0),
246
- a(o, {
247
- label: r.$t("message.dataupload.datasets.dcat:contactPoint.telInput.title"),
289
+ l("span", ne, n(e.value.contactPointMailErrorMessage), 1)
290
+ ])) : d("", !0),
291
+ s(p, {
292
+ label: t.$t("message.dataupload.datasets.dcat:contactPoint.telInput.title"),
248
293
  infoIcon: !1,
294
+ placeholder: t.$t(
295
+ "message.dataupload.datasets.dcat:contactPoint.telInput.placeholder"
296
+ ),
249
297
  preIcon: !1,
250
298
  initialHintText: !1,
251
299
  showEndIcon: !1,
252
300
  modelValue: e.value.contactPointPhone,
253
- "onUpdate:modelValue": s[8] || (s[8] = (l) => e.value.contactPointPhone = l)
254
- }, null, 8, ["label", "modelValue"])
301
+ "onUpdate:modelValue": r[8] || (r[8] = (a) => e.value.contactPointPhone = a),
302
+ showError: e.value.showErrorContactPointPhone,
303
+ error_message: "Bitte geben Sie eine gültige Telefonnummer ein."
304
+ }, null, 8, ["label", "placeholder", "modelValue", "showError"]),
305
+ e.value.showErrorContactPointPhone && e.value.contactPointPhoneErrorMessage ? (c(), u("div", ue, [
306
+ s(h(m), {
307
+ size: 16,
308
+ weight: "fill"
309
+ }),
310
+ l("span", ce, n(e.value.contactPointPhoneErrorMessage), 1)
311
+ ])) : d("", !0)
255
312
  ])
256
313
  ]));
257
314
  }
258
- }, pe = /* @__PURE__ */ C(se, [["__scopeId", "data-v-9c868ed4"]]);
315
+ }, Me = /* @__PURE__ */ F(de, [["__scopeId", "data-v-b37346f9"]]);
259
316
  export {
260
- pe as default
317
+ Me as default
261
318
  };
@@ -29,7 +29,7 @@ const ee = { class: "dpiV3_tableRowInner" }, te = { class: "dpiV3_TableRowDescCo
29
29
  },
30
30
  type: {
31
31
  type: String,
32
- default: "dataset"
32
+ default: "datasets"
33
33
  },
34
34
  fromDraft: Boolean,
35
35
  id: String,
@@ -305,7 +305,7 @@ const ee = { class: "dpiV3_tableRowInner" }, te = { class: "dpiV3_TableRowDescCo
305
305
  }, null, 8, ["type", "text", "button", "action"])) : h("", !0)
306
306
  ], 64));
307
307
  }
308
- }, ye = /* @__PURE__ */ Z(ie, [["__scopeId", "data-v-88c79544"]]);
308
+ }, ye = /* @__PURE__ */ Z(ie, [["__scopeId", "data-v-98e2acbf"]]);
309
309
  export {
310
310
  ye as default
311
311
  };