@piveau/dpi 0.2.0-alpha.19 → 0.2.0-alpha.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/dpi.css +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +62 -56
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue.js +4 -53
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue2.js +58 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +65 -53
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +60 -56
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +67 -79
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +17 -17
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +411 -318
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +103 -71
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +130 -77
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +88 -60
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +111 -74
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +143 -126
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +32 -32
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +64 -48
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js +29 -28
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +46 -41
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +227 -208
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +124 -106
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +113 -108
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +370 -360
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +464 -182
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +31 -26
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +31 -92
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +183 -126
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/components/ContactPage.vue.js +95 -89
- package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +139 -122
- package/dist/packages/dpi/src/data-provider-interface/components/DistributionSimplePage.vue.js +618 -525
- package/dist/packages/dpi/src/data-provider-interface/components/HVDPage.vue.js +56 -55
- package/dist/packages/dpi/src/data-provider-interface/components/PublisherPage.vue.js +94 -89
- package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js +247 -238
- package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue.js +4 -4
- package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue2.js +16 -17
- package/dist/packages/dpi/src/data-provider-interface/components/TempResPage.vue.js +122 -104
- package/dist/packages/dpi/src/data-provider-interface/components/TempResPageInModal.vue.js +249 -108
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +332 -305
- package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyUser.js +89 -55
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +243 -199
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +24 -11
- package/dist/packages/dpi/src/data-provider-interface/store/modules/authStore.js +14 -12
- package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +317 -288
- package/package.json +2 -2
|
@@ -1,31 +1,37 @@
|
|
|
1
|
-
import { mergeModels as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { PhWarning as
|
|
5
|
-
import { useFormValues as
|
|
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
|
|
8
|
-
const
|
|
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
|
-
},
|
|
11
|
+
}, j = { class: "copy-mini-regular" }, q = {
|
|
12
12
|
key: 1,
|
|
13
13
|
class: "dpiV3_field_error_text"
|
|
14
|
-
},
|
|
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
|
-
},
|
|
17
|
+
}, X = { class: "copy-mini-regular" }, Y = {
|
|
18
18
|
key: 1,
|
|
19
19
|
class: "dpiV3_field_error_text"
|
|
20
|
-
},
|
|
20
|
+
}, ee = { class: "copy-mini-regular" }, te = {
|
|
21
21
|
key: 2,
|
|
22
22
|
class: "dpiV3_field_error_text"
|
|
23
|
-
},
|
|
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
|
-
},
|
|
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__ */
|
|
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(
|
|
60
|
-
|
|
61
|
-
const { formValues:
|
|
62
|
-
if (!
|
|
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
|
|
65
|
-
return new URL(
|
|
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
|
-
},
|
|
70
|
-
switch (
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
},
|
|
87
|
-
var
|
|
88
|
-
const
|
|
89
|
-
return r &&
|
|
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
|
-
|
|
92
|
-
const
|
|
93
|
-
title: !
|
|
94
|
-
description: !
|
|
95
|
-
publisherName: !
|
|
96
|
-
publisherMail: e.value.publisherMail && e.value.publisherMail.trim() && !
|
|
97
|
-
publisherWebsite: e.value.publisherWebsite && e.value.publisherWebsite.trim() && !
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
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
|
|
104
|
-
}, { deep: !0 }),
|
|
105
|
-
isValid:
|
|
106
|
-
validationErrors:
|
|
107
|
-
getValidationErrorMessages:
|
|
108
|
-
validateField:
|
|
109
|
-
}), (
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
class: "
|
|
113
|
-
label:
|
|
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":
|
|
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 ? (
|
|
124
|
-
|
|
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
|
-
|
|
129
|
-
])) :
|
|
130
|
-
|
|
131
|
-
class: "
|
|
132
|
-
label:
|
|
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":
|
|
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 ? (
|
|
137
|
-
|
|
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
|
-
|
|
142
|
-
])) :
|
|
143
|
-
|
|
144
|
-
label:
|
|
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":
|
|
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
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
label:
|
|
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: "
|
|
192
|
+
class: "",
|
|
165
193
|
modelValue: e.value.publisherName,
|
|
166
|
-
"onUpdate:modelValue":
|
|
194
|
+
"onUpdate:modelValue": r[3] || (r[3] = (a) => e.value.publisherName = a),
|
|
167
195
|
showError: e.value.showErrorPublisherName,
|
|
168
|
-
error_message: "
|
|
169
|
-
}, null, 8, ["label", "modelValue", "showError"]),
|
|
170
|
-
e.value.showErrorPublisherName && e.value.publisherNameErrorMessage ? (
|
|
171
|
-
|
|
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
|
-
|
|
176
|
-
])) :
|
|
177
|
-
|
|
178
|
-
label:
|
|
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: "
|
|
212
|
+
class: "",
|
|
184
213
|
modelValue: e.value.publisherMail,
|
|
185
|
-
"onUpdate:modelValue":
|
|
214
|
+
"onUpdate:modelValue": r[4] || (r[4] = (a) => e.value.publisherMail = a),
|
|
186
215
|
showError: e.value.showErrorPublisherMail,
|
|
187
|
-
error_message: "
|
|
188
|
-
}, null, 8, ["label", "modelValue", "showError"]),
|
|
189
|
-
e.value.showErrorPublisherMail && e.value.publisherMailErrorMessage ? (
|
|
190
|
-
|
|
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
|
-
|
|
195
|
-
])) :
|
|
196
|
-
|
|
197
|
-
label:
|
|
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":
|
|
233
|
+
"onUpdate:modelValue": r[5] || (r[5] = (a) => e.value.publisherWebsite = a),
|
|
204
234
|
showError: e.value.showErrorPublisherWebsite,
|
|
205
|
-
error_message: "
|
|
206
|
-
}, null, 8, ["label", "modelValue", "showError"]),
|
|
207
|
-
e.value.showErrorPublisherWebsite && e.value.publisherWebsiteErrorMessage ? (
|
|
208
|
-
|
|
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
|
-
|
|
213
|
-
])) :
|
|
242
|
+
l("span", re, n(e.value.publisherWebsiteErrorMessage), 1)
|
|
243
|
+
])) : d("", !0)
|
|
214
244
|
]),
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
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":
|
|
220
|
-
label:
|
|
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: "
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
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: !
|
|
273
|
+
initialHintText: !1,
|
|
274
|
+
placeholder: t.$t(
|
|
275
|
+
"message.dataupload.datasets.dcat:contactPoint.mailInput.placeholder"
|
|
276
|
+
),
|
|
232
277
|
showEndIcon: !1,
|
|
233
|
-
class: "
|
|
278
|
+
class: "",
|
|
234
279
|
modelValue: e.value.contactPointMail,
|
|
235
|
-
"onUpdate:modelValue":
|
|
280
|
+
"onUpdate:modelValue": r[7] || (r[7] = (a) => e.value.contactPointMail = a),
|
|
236
281
|
showError: e.value.showErrorContactPointMail,
|
|
237
|
-
error_message: "
|
|
238
|
-
}, null, 8, ["label", "modelValue", "showError"]),
|
|
239
|
-
e.value.showErrorContactPointMail && e.value.contactPointMailErrorMessage ? (
|
|
240
|
-
|
|
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
|
-
|
|
245
|
-
])) :
|
|
246
|
-
|
|
247
|
-
label:
|
|
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":
|
|
254
|
-
|
|
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
|
-
},
|
|
315
|
+
}, Me = /* @__PURE__ */ F(de, [["__scopeId", "data-v-b37346f9"]]);
|
|
259
316
|
export {
|
|
260
|
-
|
|
317
|
+
Me as default
|
|
261
318
|
};
|
package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js
CHANGED
|
@@ -29,7 +29,7 @@ const ee = { class: "dpiV3_tableRowInner" }, te = { class: "dpiV3_TableRowDescCo
|
|
|
29
29
|
},
|
|
30
30
|
type: {
|
|
31
31
|
type: String,
|
|
32
|
-
default: "
|
|
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-
|
|
308
|
+
}, ye = /* @__PURE__ */ Z(ie, [["__scopeId", "data-v-98e2acbf"]]);
|
|
309
309
|
export {
|
|
310
310
|
ye as default
|
|
311
311
|
};
|