@piveau/dpi 0.2.0-alpha.52 → 0.2.0-alpha.53
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/Organisation.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue2.js +44 -44
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +3 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +4 -4
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +7 -5
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +58 -50
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +23 -22
- package/dist/packages/dpi/src/data-provider-interface/components/ContactPage.vue.js +110 -112
- package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +2 -1
- package/dist/packages/dpi/src/data-provider-interface/components/TempResPage.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/components/dpiV3Description.vue.js +11 -10
- package/package.json +1 -1
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as m, computed as T, unref as v, watch as x, createElementBlock as r, openBlock as d, createElementVNode as s, createCommentVNode as g, toDisplayString as c, createVNode as u, Fragment as D, renderList as S } from "vue";
|
|
2
2
|
import { PhWarning as _ } from "@phosphor-icons/vue";
|
|
3
|
-
import { useEditModeInfo as
|
|
4
|
-
import { useFormValues as
|
|
5
|
-
import { useOrganizationInfo as
|
|
6
|
-
import { useTwinbyUser as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
3
|
+
import { useEditModeInfo as q } from "../composables/useDpiEditMode.js";
|
|
4
|
+
import { useFormValues as G } from "../composables/useDpiFormValues.js";
|
|
5
|
+
import { useOrganizationInfo as H } from "../composables/useOrganizationInfo.js";
|
|
6
|
+
import { useTwinbyUser as J } from "../composables/useTwinbyUser.js";
|
|
7
|
+
import V from "../HappyFlowComponents/ui/InputField.vue.js";
|
|
8
|
+
import F from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
9
9
|
/* empty css */
|
|
10
|
-
import
|
|
11
|
-
const
|
|
10
|
+
import Q from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
11
|
+
const X = { class: "dpiV3InnerComponentWrap" }, Y = { class: "copy-large-regular" }, Z = { class: "dpiV3AutoCompleteWrap" }, ee = { class: "CardTips_internal" }, ae = { class: "CardTips_Part" }, te = { class: "firstRow" }, se = { class: "icon_title copy-small-semi-bold" }, le = { class: "TextButton_small" }, oe = { class: "secondRow" }, ie = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "copy-small-regular"
|
|
14
|
-
},
|
|
14
|
+
}, ne = {
|
|
15
15
|
key: 2,
|
|
16
16
|
class: "copy-small-regular"
|
|
17
|
-
},
|
|
17
|
+
}, re = { class: "CardTips_Part" }, de = { class: "firstRow" }, ce = { class: "icon_title copy-small-semi-bold" }, ue = { class: "TextButton_small" }, pe = { class: "secondRow" }, me = { class: "input-container" }, ve = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "dpiV3_errormsgWrapper"
|
|
20
|
-
},
|
|
20
|
+
}, fe = { class: "copy-mini-regular" }, he = { class: "input-container" }, ge = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "dpiV3_errormsgWrapper"
|
|
23
|
-
},
|
|
23
|
+
}, _e = { class: "copy-mini-regular" }, be = { class: "input-container" }, we = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "dpiV3_errormsgWrapper"
|
|
26
|
-
},
|
|
26
|
+
}, ye = { class: "copy-mini-regular" }, ke = { class: "copy-large-regular" }, Pe = {
|
|
27
27
|
key: 0,
|
|
28
28
|
class: "form-error-message"
|
|
29
|
-
},
|
|
29
|
+
}, Te = {
|
|
30
30
|
__name: "ContactPage",
|
|
31
31
|
props: {
|
|
32
32
|
context: Object
|
|
33
33
|
},
|
|
34
|
-
setup(
|
|
35
|
-
const f =
|
|
36
|
-
|
|
37
|
-
const { resultEnhanced:
|
|
38
|
-
id:
|
|
39
|
-
authToken:
|
|
40
|
-
}),
|
|
34
|
+
setup(O) {
|
|
35
|
+
const f = O, { formValues: R } = G(), { isEditMode: W } = q(), { organization: A, authToken: L, startFetchPermissions: N } = J();
|
|
36
|
+
N();
|
|
37
|
+
const { resultEnhanced: b, isLoading: U, isFetching: j } = H({
|
|
38
|
+
id: A,
|
|
39
|
+
authToken: L
|
|
40
|
+
}), w = m(null), y = m(null), k = T(() => {
|
|
41
41
|
var e, t;
|
|
42
42
|
try {
|
|
43
|
-
const a = (t = (e =
|
|
43
|
+
const a = (t = (e = R.value.BasicInfos) == null ? void 0 : e["dct:publisher"]) == null ? void 0 : t[0];
|
|
44
44
|
if (a && a["foaf:name"] && a["foaf:mbox"])
|
|
45
45
|
return [
|
|
46
46
|
a["foaf:name"],
|
|
@@ -54,16 +54,14 @@ const Q = { class: "dpiV3InnerComponentWrap" }, X = { class: "copy-large-regular
|
|
|
54
54
|
"",
|
|
55
55
|
""
|
|
56
56
|
];
|
|
57
|
-
}),
|
|
58
|
-
var a;
|
|
59
|
-
const e = (a =
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
return e.email && (t.email = e.email), t;
|
|
66
|
-
}), l = p({
|
|
57
|
+
}), E = T(() => U.value || j.value), h = T(() => {
|
|
58
|
+
var a, o, z;
|
|
59
|
+
const e = (a = b.value) == null ? void 0 : a.publisher;
|
|
60
|
+
return e ? {
|
|
61
|
+
organization: ((o = b.value) == null ? void 0 : o.title) || ((z = b.value) == null ? void 0 : z.id) || "",
|
|
62
|
+
email: e.email || ""
|
|
63
|
+
} : {};
|
|
64
|
+
}), l = m({
|
|
67
65
|
1: {
|
|
68
66
|
show: !1,
|
|
69
67
|
message: "Bitte geben Sie einen gültigen Organisationsnamen ein."
|
|
@@ -77,8 +75,8 @@ const Q = { class: "dpiV3InnerComponentWrap" }, X = { class: "copy-large-regular
|
|
|
77
75
|
message: "Bitte geben Sie eine gültige Telefonnummer ein."
|
|
78
76
|
}
|
|
79
77
|
});
|
|
80
|
-
let n =
|
|
81
|
-
const
|
|
78
|
+
let n = m({ 1: !1, 2: !1, 3: !1 });
|
|
79
|
+
const i = m([
|
|
82
80
|
{
|
|
83
81
|
isValid: "unset",
|
|
84
82
|
"vcard:fn": "",
|
|
@@ -86,14 +84,14 @@ const Q = { class: "dpiV3InnerComponentWrap" }, X = { class: "copy-large-regular
|
|
|
86
84
|
"vcard:hasTelephone": ""
|
|
87
85
|
}
|
|
88
86
|
]);
|
|
89
|
-
|
|
90
|
-
function
|
|
87
|
+
W.value || f.context.node.input(i), f.context.node.value.length === 0 && f.context.node.input(v(i));
|
|
88
|
+
function B(e) {
|
|
91
89
|
return e.trim().length >= 2;
|
|
92
90
|
}
|
|
93
|
-
function
|
|
91
|
+
function $(e) {
|
|
94
92
|
return /^[^\s@]+@[^\s@][^\s.@]*\.[^\s@]+$/.test(e);
|
|
95
93
|
}
|
|
96
|
-
function
|
|
94
|
+
function C(e) {
|
|
97
95
|
if (!e || e.trim() === "")
|
|
98
96
|
return !0;
|
|
99
97
|
const t = e.replace(/[\s\-().]/g, "");
|
|
@@ -102,8 +100,8 @@ const Q = { class: "dpiV3InnerComponentWrap" }, X = { class: "copy-large-regular
|
|
|
102
100
|
const a = t.replace(/\D/g, "");
|
|
103
101
|
return a.length >= 6 && a.length <= 15;
|
|
104
102
|
}
|
|
105
|
-
function
|
|
106
|
-
let
|
|
103
|
+
function P(e, t, a) {
|
|
104
|
+
let o = !1;
|
|
107
105
|
if (a === 3 && e.trim() === "")
|
|
108
106
|
l.value[a].show = !1, n.value[a] = !0;
|
|
109
107
|
else if (e.trim() === "")
|
|
@@ -111,114 +109,114 @@ const Q = { class: "dpiV3InnerComponentWrap" }, X = { class: "copy-large-regular
|
|
|
111
109
|
else {
|
|
112
110
|
switch (t) {
|
|
113
111
|
case "vcard:fn":
|
|
114
|
-
|
|
112
|
+
o = B(e);
|
|
115
113
|
break;
|
|
116
114
|
case "vcard:hasEmail":
|
|
117
|
-
|
|
115
|
+
o = $(e);
|
|
118
116
|
break;
|
|
119
117
|
case "vcard:hasTelephone":
|
|
120
|
-
|
|
118
|
+
o = C(e);
|
|
121
119
|
break;
|
|
122
120
|
default:
|
|
123
|
-
|
|
121
|
+
o = e.trim() !== "";
|
|
124
122
|
}
|
|
125
|
-
l.value[a].show = !
|
|
123
|
+
l.value[a].show = !o, n.value[a] = o;
|
|
126
124
|
}
|
|
127
|
-
n.value[1] && n.value[2] ?
|
|
128
|
-
}
|
|
129
|
-
function m(e, t, a) {
|
|
130
|
-
o.value = o.value.map((i) => t in i ? { ...i, [t]: e } : i), f.context.node.input(o.value), a === 2 ? (b.value && clearTimeout(b.value), b.value = setTimeout(() => {
|
|
131
|
-
k(e, t, a);
|
|
132
|
-
}, 800)) : a === 3 ? (w.value && clearTimeout(w.value), w.value = setTimeout(() => {
|
|
133
|
-
k(e, t, a);
|
|
134
|
-
}, 800)) : k(e, t, a);
|
|
125
|
+
n.value[1] && n.value[2] ? i.value[0].isValid = !0 : i.value[0].isValid = "unset";
|
|
135
126
|
}
|
|
136
|
-
function
|
|
137
|
-
|
|
138
|
-
|
|
127
|
+
function p(e, t, a) {
|
|
128
|
+
i.value = i.value.map((o) => t in o ? { ...o, [t]: e } : o), f.context.node.input(i.value), a === 2 ? (w.value && clearTimeout(w.value), w.value = setTimeout(() => {
|
|
129
|
+
P(e, t, a);
|
|
130
|
+
}, 800)) : a === 3 ? (y.value && clearTimeout(y.value), y.value = setTimeout(() => {
|
|
131
|
+
P(e, t, a);
|
|
132
|
+
}, 800)) : P(e, t, a);
|
|
139
133
|
}
|
|
140
134
|
function I() {
|
|
141
|
-
|
|
135
|
+
const e = h.value;
|
|
136
|
+
e.organization && p(e.organization, "vcard:fn", 1), e.email && p(e.email, "vcard:hasEmail", 2);
|
|
142
137
|
}
|
|
143
138
|
function K() {
|
|
144
|
-
|
|
139
|
+
p(k.value[0], "vcard:fn", 1), p(k.value[1], "vcard:hasEmail", 2);
|
|
140
|
+
}
|
|
141
|
+
function M() {
|
|
142
|
+
const e = i.value[0];
|
|
145
143
|
if (e["vcard:fn"].trim() === "")
|
|
146
144
|
l.value[1].show = !0, n.value[1] = !1;
|
|
147
145
|
else {
|
|
148
|
-
const t =
|
|
146
|
+
const t = B(e["vcard:fn"]);
|
|
149
147
|
l.value[1].show = !t, n.value[1] = t;
|
|
150
148
|
}
|
|
151
149
|
if (e["vcard:hasEmail"].trim() === "")
|
|
152
150
|
l.value[2].show = !0, n.value[2] = !1;
|
|
153
151
|
else {
|
|
154
|
-
const t =
|
|
152
|
+
const t = $(e["vcard:hasEmail"]);
|
|
155
153
|
l.value[2].show = !t, n.value[2] = t;
|
|
156
154
|
}
|
|
157
155
|
if (e["vcard:hasTelephone"].trim() === "")
|
|
158
156
|
l.value[3].show = !1, n.value[3] = !0;
|
|
159
157
|
else {
|
|
160
|
-
const t =
|
|
158
|
+
const t = C(e["vcard:hasTelephone"]);
|
|
161
159
|
l.value[3].show = !t, n.value[3] = t;
|
|
162
160
|
}
|
|
163
|
-
n.value[1] && n.value[2] ?
|
|
161
|
+
n.value[1] && n.value[2] ? i.value[0].isValid = !0 : i.value[0].isValid = !1;
|
|
164
162
|
}
|
|
165
|
-
return
|
|
166
|
-
e === !1 &&
|
|
167
|
-
}), (e, t) => (
|
|
168
|
-
s("h4", null,
|
|
169
|
-
s("div",
|
|
170
|
-
s("div",
|
|
171
|
-
s("div",
|
|
172
|
-
s("div",
|
|
173
|
-
s("div",
|
|
174
|
-
s("div",
|
|
175
|
-
s("div",
|
|
176
|
-
u(
|
|
163
|
+
return x(() => i.value[0].isValid, (e) => {
|
|
164
|
+
e === !1 && M();
|
|
165
|
+
}), (e, t) => (d(), r("div", X, [
|
|
166
|
+
s("h4", null, c(e.$t("message.dataupload.datasets.dcat:contactPoint.title")), 1),
|
|
167
|
+
s("div", Y, c(e.$t("message.dataupload.datasets.dcat:contactPoint.description")), 1),
|
|
168
|
+
s("div", Z, [
|
|
169
|
+
s("div", ee, [
|
|
170
|
+
s("div", ae, [
|
|
171
|
+
s("div", te, [
|
|
172
|
+
s("div", se, c(e.$t("message.dataupload.datasets.dcat:contactPoint.account")), 1),
|
|
173
|
+
s("div", le, [
|
|
174
|
+
u(F, {
|
|
177
175
|
"button-text": e.$t(
|
|
178
176
|
"message.dataupload.datasets.dcat:contactPoint.useAccountButton"
|
|
179
177
|
),
|
|
180
178
|
"icon-start": "DeleteBlue",
|
|
181
179
|
"icon-name": "copy",
|
|
182
180
|
class: "dpiV3_usedetailsButton",
|
|
183
|
-
disabled:
|
|
184
|
-
onClick:
|
|
181
|
+
disabled: E.value || Object.keys(h.value).length === 0,
|
|
182
|
+
onClick: I
|
|
185
183
|
}, null, 8, ["button-text", "disabled"])
|
|
186
184
|
])
|
|
187
185
|
]),
|
|
188
|
-
s("div",
|
|
189
|
-
|
|
190
|
-
key:
|
|
186
|
+
s("div", oe, [
|
|
187
|
+
E.value ? (d(), r("span", ie, "Lade Kontodaten...")) : Object.keys(h.value).length > 0 ? (d(!0), r(D, { key: 1 }, S(h.value, (a, o) => (d(), r("span", {
|
|
188
|
+
key: o,
|
|
191
189
|
class: "copy-small-regular"
|
|
192
|
-
},
|
|
190
|
+
}, c(a), 1))), 128)) : (d(), r("span", ne, "Keine Kontodaten verfügbar"))
|
|
193
191
|
])
|
|
194
192
|
]),
|
|
195
|
-
s("div",
|
|
196
|
-
s("div",
|
|
197
|
-
s("div", ce,
|
|
198
|
-
s("div",
|
|
199
|
-
u(
|
|
193
|
+
s("div", re, [
|
|
194
|
+
s("div", de, [
|
|
195
|
+
s("div", ce, c(e.$t("message.metadata.publisher")), 1),
|
|
196
|
+
s("div", ue, [
|
|
197
|
+
u(F, {
|
|
200
198
|
"button-text": e.$t(
|
|
201
199
|
"message.dataupload.datasets.dcat:contactPoint.usePublisherButton"
|
|
202
200
|
),
|
|
203
201
|
"icon-start": "true",
|
|
204
202
|
"icon-name": "copy",
|
|
205
203
|
class: "",
|
|
206
|
-
onClick:
|
|
204
|
+
onClick: K
|
|
207
205
|
}, null, 8, ["button-text"])
|
|
208
206
|
])
|
|
209
207
|
]),
|
|
210
|
-
s("div",
|
|
211
|
-
(
|
|
212
|
-
key:
|
|
208
|
+
s("div", pe, [
|
|
209
|
+
(d(!0), r(D, null, S(k.value, (a, o) => (d(), r("span", {
|
|
210
|
+
key: o,
|
|
213
211
|
class: "copy-small-regular"
|
|
214
|
-
},
|
|
212
|
+
}, c(a), 1))), 128))
|
|
215
213
|
])
|
|
216
214
|
])
|
|
217
215
|
])
|
|
218
216
|
]),
|
|
219
217
|
s("div", me, [
|
|
220
|
-
u(
|
|
221
|
-
"model-value":
|
|
218
|
+
u(V, {
|
|
219
|
+
"model-value": i.value[0]["vcard:fn"],
|
|
222
220
|
"add-on-text": !1,
|
|
223
221
|
"date-picker": !1,
|
|
224
222
|
"info-icon": !1,
|
|
@@ -231,19 +229,19 @@ const Q = { class: "dpiV3InnerComponentWrap" }, X = { class: "copy-large-regular
|
|
|
231
229
|
label: e.$t("message.dataupload.datasets.dcat:contactPoint.nameInput.title"),
|
|
232
230
|
"show-end-icon": !1,
|
|
233
231
|
"show-error": l.value[1].show,
|
|
234
|
-
"onUpdate:modelValue": t[0] || (t[0] = (a) =>
|
|
232
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => p(a, "vcard:fn", 1))
|
|
235
233
|
}, null, 8, ["model-value", "placeholder", "label", "show-error"]),
|
|
236
|
-
l.value[1].show ? (
|
|
234
|
+
l.value[1].show ? (d(), r("div", ve, [
|
|
237
235
|
u(v(_), {
|
|
238
236
|
size: 16,
|
|
239
237
|
weight: "fill"
|
|
240
238
|
}),
|
|
241
|
-
s("span",
|
|
239
|
+
s("span", fe, c(l.value[1].message), 1)
|
|
242
240
|
])) : g("", !0)
|
|
243
241
|
]),
|
|
244
|
-
s("div",
|
|
245
|
-
u(
|
|
246
|
-
"model-value":
|
|
242
|
+
s("div", he, [
|
|
243
|
+
u(V, {
|
|
244
|
+
"model-value": i.value[0]["vcard:hasEmail"],
|
|
247
245
|
"add-on-text": !1,
|
|
248
246
|
"date-picker": !1,
|
|
249
247
|
"info-icon": !1,
|
|
@@ -256,19 +254,19 @@ const Q = { class: "dpiV3InnerComponentWrap" }, X = { class: "copy-large-regular
|
|
|
256
254
|
label: e.$t("message.dataupload.datasets.dcat:contactPoint.mailInput.title"),
|
|
257
255
|
"show-end-icon": !1,
|
|
258
256
|
"show-error": l.value[2].show,
|
|
259
|
-
"onUpdate:modelValue": t[1] || (t[1] = (a) =>
|
|
257
|
+
"onUpdate:modelValue": t[1] || (t[1] = (a) => p(a, "vcard:hasEmail", 2))
|
|
260
258
|
}, null, 8, ["model-value", "placeholder", "label", "show-error"]),
|
|
261
|
-
l.value[2].show ? (
|
|
259
|
+
l.value[2].show ? (d(), r("div", ge, [
|
|
262
260
|
u(v(_), {
|
|
263
261
|
size: 16,
|
|
264
262
|
weight: "fill"
|
|
265
263
|
}),
|
|
266
|
-
s("span",
|
|
264
|
+
s("span", _e, c(l.value[2].message), 1)
|
|
267
265
|
])) : g("", !0)
|
|
268
266
|
]),
|
|
269
|
-
s("div",
|
|
270
|
-
u(
|
|
271
|
-
"model-value":
|
|
267
|
+
s("div", be, [
|
|
268
|
+
u(V, {
|
|
269
|
+
"model-value": i.value[0]["vcard:hasTelephone"],
|
|
272
270
|
"add-on-text": !1,
|
|
273
271
|
"date-picker": !1,
|
|
274
272
|
"info-icon": !1,
|
|
@@ -281,18 +279,18 @@ const Q = { class: "dpiV3InnerComponentWrap" }, X = { class: "copy-large-regular
|
|
|
281
279
|
label: e.$t("message.dataupload.datasets.dcat:contactPoint.telInput.title"),
|
|
282
280
|
"show-end-icon": !1,
|
|
283
281
|
"show-error": l.value[3].show,
|
|
284
|
-
"onUpdate:modelValue": t[2] || (t[2] = (a) =>
|
|
282
|
+
"onUpdate:modelValue": t[2] || (t[2] = (a) => p(a, "vcard:hasTelephone", 3))
|
|
285
283
|
}, null, 8, ["model-value", "placeholder", "label", "show-error"]),
|
|
286
|
-
l.value[3].show ? (
|
|
284
|
+
l.value[3].show ? (d(), r("div", we, [
|
|
287
285
|
u(v(_), {
|
|
288
286
|
size: 16,
|
|
289
287
|
weight: "fill"
|
|
290
288
|
}),
|
|
291
|
-
s("span",
|
|
289
|
+
s("span", ye, c(l.value[3].message), 1)
|
|
292
290
|
])) : g("", !0)
|
|
293
291
|
]),
|
|
294
|
-
s("div",
|
|
295
|
-
|
|
292
|
+
s("div", ke, c(e.$t("message.dataupload.datasets.dcat:contactPoint.descriptionBottom")), 1),
|
|
293
|
+
i.value.find((a) => a.isValid === !1) ? (d(), r("div", Pe, [
|
|
296
294
|
u(v(_), {
|
|
297
295
|
size: 16,
|
|
298
296
|
weight: "fill"
|
|
@@ -301,7 +299,7 @@ const Q = { class: "dpiV3InnerComponentWrap" }, X = { class: "copy-large-regular
|
|
|
301
299
|
])) : g("", !0)
|
|
302
300
|
]));
|
|
303
301
|
}
|
|
304
|
-
},
|
|
302
|
+
}, Re = /* @__PURE__ */ Q(Te, [["__scopeId", "data-v-d319a7ed"]]);
|
|
305
303
|
export {
|
|
306
|
-
|
|
304
|
+
Re as default
|
|
307
305
|
};
|
|
@@ -66,6 +66,7 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
66
66
|
// They may need to be added to the backend vocabulary
|
|
67
67
|
"cc-by-nc",
|
|
68
68
|
"cc-by-nc/3.0",
|
|
69
|
+
"cc-by-nc-de/3.0",
|
|
69
70
|
"cc-by-nc/4.0",
|
|
70
71
|
"cc-by-nd",
|
|
71
72
|
"cc-by-nd/3.0",
|
|
@@ -346,7 +347,7 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
346
347
|
])
|
|
347
348
|
]));
|
|
348
349
|
}
|
|
349
|
-
}, Ee = /* @__PURE__ */ ie(Ne, [["__scopeId", "data-v-
|
|
350
|
+
}, Ee = /* @__PURE__ */ ie(Ne, [["__scopeId", "data-v-12b6bdbd"]]);
|
|
350
351
|
export {
|
|
351
352
|
Ee as default
|
|
352
353
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as f, createElementBlock as o, openBlock as r, createElementVNode as
|
|
1
|
+
import { ref as f, createElementBlock as o, openBlock as r, createElementVNode as i, createVNode as n, createCommentVNode as g, toDisplayString as l, unref as a } from "vue";
|
|
2
2
|
import h from "../HappyFlowComponents/ui/TextAreaV3.vue.js";
|
|
3
3
|
import { PhWarning as V } from "@phosphor-icons/vue";
|
|
4
4
|
/* empty css */
|
|
@@ -18,28 +18,29 @@ const b = { class: "dpiV3InnerComponentWrap" }, E = { class: "copy-large-regular
|
|
|
18
18
|
const c = (e) => {
|
|
19
19
|
e.target.value != "" ? t.value[0].isValid = !0 : t.value[0].isValid = !1, t.value[0]["@value"] = e.target.value;
|
|
20
20
|
}, { isEditMode: u } = _();
|
|
21
|
-
return u.value || p.context.node.input(t), (e,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
return u.value || p.context.node.input(t), (e, s) => (r(), o("div", b, [
|
|
22
|
+
i("h4", null, l(e.$t("message.dataupload.datasets.dct:description.title")), 1),
|
|
23
|
+
i("div", E, l(e.$t("message.dataupload.datasets.dct:description.description")), 1),
|
|
24
|
+
n(h, {
|
|
25
25
|
onInput: c,
|
|
26
|
+
id: "general-info-description-field",
|
|
26
27
|
class: "dpiV3_input-field",
|
|
27
28
|
hint: !1,
|
|
28
29
|
isDescription: !0,
|
|
29
30
|
label: e.$t("message.dataupload.datasets.dct:description.input.title"),
|
|
30
31
|
placeholder: e.$t("message.dataupload.datasets.dct:description.input.placeholder"),
|
|
31
|
-
showError:
|
|
32
|
+
showError: a(t)[0].isValid === !1
|
|
32
33
|
}, null, 8, ["label", "placeholder", "showError"]),
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
a(t).find((m) => m.isValid === !1) ? (r(), o("div", I, [
|
|
35
|
+
n(a(V), {
|
|
35
36
|
size: 16,
|
|
36
37
|
weight: "fill"
|
|
37
38
|
}),
|
|
38
|
-
|
|
39
|
+
s[0] || (s[0] = i("span", { class: "copy-mini-regular" }, "Bitte geben Sie eine Beschreibung ein, bevor Sie fortfahren.", -1))
|
|
39
40
|
])) : g("", !0)
|
|
40
41
|
]));
|
|
41
42
|
}
|
|
42
|
-
}, S = /* @__PURE__ */ v(y, [["__scopeId", "data-v-
|
|
43
|
+
}, S = /* @__PURE__ */ v(y, [["__scopeId", "data-v-cc20ed2e"]]);
|
|
43
44
|
export {
|
|
44
45
|
S as default
|
|
45
46
|
};
|