@piveau/dpi 0.1.0-beta.46 → 0.1.0-beta.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/dpi.css +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +4 -6
- package/dist/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +316 -302
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +32 -36
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +120 -105
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +40 -40
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +44 -48
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +57 -61
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +61 -45
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +394 -378
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +31 -92
- package/dist/data-provider-interface/components/DistLicense.vue.js +107 -96
- package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +286 -267
- package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +2 -2
- package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +174 -177
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +196 -192
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +5 -5
- package/dist/data-provider-interface/views/InputPage.vue.js +95 -96
- package/package.json +1 -1
package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js
CHANGED
|
@@ -1,103 +1,42 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { getLicenses as
|
|
3
|
-
import
|
|
4
|
-
import A from "../../../components/DistributionSimplePage.vue.js";
|
|
1
|
+
import { ref as e, getCurrentInstance as i, watch as u, onMounted as m, resolveComponent as f, createElementBlock as d, openBlock as v, createVNode as n, withCtx as _ } from "vue";
|
|
2
|
+
import { getLicenses as b } from "../../services/dpiV3_apis.js";
|
|
3
|
+
import g from "../../../components/DistributionSimplePage.vue.js";
|
|
5
4
|
import "@formkit/core";
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
const W = { class: "dpiV3_innerRapModalWrapper" }, Y = {
|
|
5
|
+
import { useFormValues as h } from "../../../composables/useDpiFormValues.js";
|
|
6
|
+
const x = { class: "dpiV3_innerRapModalWrapper" }, O = {
|
|
9
7
|
__name: "DistributionModal",
|
|
10
8
|
props: {
|
|
11
9
|
context: Object,
|
|
12
10
|
newValues: Object
|
|
13
11
|
},
|
|
14
|
-
setup(
|
|
15
|
-
|
|
16
|
-
let
|
|
17
|
-
a
|
|
18
|
-
|
|
19
|
-
const { formValues: r } = H(), v = a("");
|
|
20
|
-
let y = a(!1), b = a({ 1: !1, 2: !1 });
|
|
21
|
-
const o = a([
|
|
12
|
+
setup(c) {
|
|
13
|
+
e(), e(""), e([]), i().appContext.app.config.globalProperties.$env;
|
|
14
|
+
let l = e([]);
|
|
15
|
+
const { formValues: a } = h();
|
|
16
|
+
return e(""), e(!1), e({ 1: !1, 2: !1 }), e([
|
|
22
17
|
{ isValid: "unset", "dcterms:license": "", title: "", uri: "" }
|
|
23
|
-
]),
|
|
24
|
-
|
|
25
|
-
},
|
|
26
|
-
const
|
|
27
|
-
g(t, "dcterms:license", 1);
|
|
28
|
-
}, g = (e, t, l, n) => {
|
|
29
|
-
const u = e === "" || s.value.some((i) => i["@value"] === e);
|
|
30
|
-
let p = a();
|
|
31
|
-
s.value.some((i) => i["@value"] === e) && (p.value = s.value.find(
|
|
32
|
-
(i) => i["@value"] === e
|
|
33
|
-
).label), !u && e !== "" ? (v.value = "Bitte wählen Sie eine gültige Lizenz aus der Liste", b.value[l] = !1, o.value[0].isValid = !1) : (v.value = "", y.value = e !== "", e !== "" ? (b.value[l] = !0, e !== "" && b.value[2] && (o.value[0].isValid = !0)) : (b.value[l] = !1, o.value[0].isValid = !1), o.value = o.value.map((i) => t in i ? { ...i, [t]: e, uri: n, title: p } : i)), console.log(r.value.DistributionSimple), r.value.DistributionSimple["dct:license"] = o.value;
|
|
34
|
-
};
|
|
35
|
-
return k(async () => {
|
|
36
|
-
const t = B().appContext.app.config.globalProperties.$env;
|
|
18
|
+
]), e(!1), u(a.value.DistributionSimple.length, (r) => {
|
|
19
|
+
a.value.DistributionSimple.length > 1 && console.log("halo"), console.log("halo Outer");
|
|
20
|
+
}), m(async () => {
|
|
21
|
+
const s = i().appContext.app.config.globalProperties.$env;
|
|
37
22
|
try {
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
"@value":
|
|
41
|
-
label:
|
|
42
|
-
uri:
|
|
43
|
-
})),
|
|
44
|
-
} catch (
|
|
45
|
-
console.error("Failed to load licenses",
|
|
23
|
+
const t = await b(s.api.baseUrl);
|
|
24
|
+
l.value = t.map((o) => ({
|
|
25
|
+
"@value": o.value,
|
|
26
|
+
label: o.label,
|
|
27
|
+
uri: o.uri
|
|
28
|
+
})), l.value.sort((o, p) => o["@value"].localeCompare(p["@value"]));
|
|
29
|
+
} catch (t) {
|
|
30
|
+
console.error("Failed to load licenses", t);
|
|
46
31
|
}
|
|
47
|
-
}), (
|
|
48
|
-
const
|
|
49
|
-
return
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"onUpdate:modelValue": [
|
|
56
|
-
t[0] || (t[0] = (d) => P(d, "dcterms:license", 1)),
|
|
57
|
-
t[1] || (t[1] = (d) => N(f) ? f.value = d : f = d)
|
|
58
|
-
],
|
|
59
|
-
dropdownWidth: "large",
|
|
60
|
-
onInput: _,
|
|
61
|
-
type: "inputField",
|
|
62
|
-
modelValue: c(f),
|
|
63
|
-
inputFieldProps: {
|
|
64
|
-
addOnText: !1,
|
|
65
|
-
initialHintText: !1,
|
|
66
|
-
datePicker: !1,
|
|
67
|
-
infoIcon: !1,
|
|
68
|
-
preIcon: !1,
|
|
69
|
-
label: "Lizenz",
|
|
70
|
-
dropdown_dpiV3: !0,
|
|
71
|
-
placeholder: ((V = (i = (p = (u = (n = c(r).DistributionSimple) == null ? void 0 : n["dcat:distribution"]) == null ? void 0 : u[0]) == null ? void 0 : p["dct:license"]) == null ? void 0 : i[0]) == null ? void 0 : V["dcterms:license"]) || ((w = (h = (D = c(r).DistributionSimple) == null ? void 0 : D["dct:license"]) == null ? void 0 : h[0]) == null ? void 0 : w["dcterms:license"]) || "Lizenz wählen...",
|
|
72
|
-
inputFieldSize: "large",
|
|
73
|
-
defaultInput: !0,
|
|
74
|
-
showError: !1
|
|
75
|
-
},
|
|
76
|
-
data: c(s),
|
|
77
|
-
onDeleteButtonClicked: e.deleteModifiedField,
|
|
78
|
-
class: "gap5BottomAsMargin"
|
|
79
|
-
}, null, 8, ["modelValue", "inputFieldProps", "data", "onDeleteButtonClicked"]),
|
|
80
|
-
m(U, {
|
|
81
|
-
label: e.$t(
|
|
82
|
-
"message.dataupload.datasets.dcat:distribution.advanced.dcatde:licenseAttributionByText"
|
|
83
|
-
),
|
|
84
|
-
infoIcon: !1,
|
|
85
|
-
preIcon: !1,
|
|
86
|
-
initialHintText: !0,
|
|
87
|
-
"supporting-hint-message": "Dieser Namensnennungstext stellt sicher, dass die Lizenzbedingungen eingehalten werden.",
|
|
88
|
-
showEndIcon: !1,
|
|
89
|
-
placeholder: ((L = (x = (I = c(r).DistributionSimple) == null ? void 0 : I["dcat:distribution"]) == null ? void 0 : x[0]) == null ? void 0 : L["dcatde:licenseAttributionByText"]) || ((S = (C = (z = c(r).DistributionSimple) == null ? void 0 : z["dct:license"]) == null ? void 0 : C[0]) == null ? void 0 : S.attribution) || "Nennung des Datenbereitstellers",
|
|
90
|
-
modelValue: o.value[0].attribution,
|
|
91
|
-
"onUpdate:modelValue": t[2] || (t[2] = (d) => o.value[0].attribution = d)
|
|
92
|
-
}, null, 8, ["label", "placeholder", "modelValue"])
|
|
93
|
-
];
|
|
94
|
-
}),
|
|
95
|
-
_: 1
|
|
96
|
-
}),
|
|
97
|
-
m(l, null, {
|
|
98
|
-
default: F(() => [
|
|
99
|
-
m(A, {
|
|
100
|
-
context: M.context,
|
|
32
|
+
}), (r, s) => {
|
|
33
|
+
const t = f("innerRapModalItem");
|
|
34
|
+
return v(), d("div", x, [
|
|
35
|
+
n(t),
|
|
36
|
+
n(t, null, {
|
|
37
|
+
default: _(() => [
|
|
38
|
+
n(g, {
|
|
39
|
+
context: c.context,
|
|
101
40
|
inRap: !0
|
|
102
41
|
}, null, 8, ["context"])
|
|
103
42
|
]),
|
|
@@ -108,5 +47,5 @@ const W = { class: "dpiV3_innerRapModalWrapper" }, Y = {
|
|
|
108
47
|
}
|
|
109
48
|
};
|
|
110
49
|
export {
|
|
111
|
-
|
|
50
|
+
O as default
|
|
112
51
|
};
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as p, watch as N, onMounted as q, getCurrentInstance as x, onUnmounted as O, createElementBlock as z, openBlock as b, createElementVNode as l, createVNode as V, createCommentVNode as T, toDisplayString as o, unref as c, isRef as W, createBlock as U, createTextVNode as k } from "vue";
|
|
2
2
|
import j from "../HappyFlowComponents/ui/InputField.vue.js";
|
|
3
3
|
import H from "../HappyFlowComponents/ui/Dropdown.vue.js";
|
|
4
4
|
import { PhWarning as B, PhLightbulb as R, PhArrowSquareOut as G } from "@phosphor-icons/vue";
|
|
5
5
|
import { getLicenses as J } from "../HappyFlowComponents/services/dpiV3_apis.js";
|
|
6
6
|
import { useEditModeInfo as K } from "../composables/useDpiEditMode.js";
|
|
7
|
+
import { useFormValues as Q } from "../composables/useDpiFormValues.js";
|
|
7
8
|
/* empty css */
|
|
8
|
-
import
|
|
9
|
-
const
|
|
9
|
+
import X from "../../_virtual/_plugin-vue_export-helper.js";
|
|
10
|
+
const Y = { class: "dpiV3InnerComponentWrap" }, Z = { class: "copy-large-regular" }, ee = {
|
|
10
11
|
key: 0,
|
|
11
12
|
class: "validation-error"
|
|
12
|
-
},
|
|
13
|
+
}, te = { class: "copy-mini-regular" }, se = { class: "input-container" }, ie = {
|
|
13
14
|
key: 1,
|
|
14
15
|
class: "dpiV3_errormsgWrapper"
|
|
15
|
-
},
|
|
16
|
+
}, ae = { class: "copy-mini-regular" }, le = { class: "dpiV3_Content_InputPage" }, ne = { class: "dpiV3_Card_Tips" }, oe = { class: "dpiV3_Icon_Title" }, de = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, re = { class: "dpiV3_CT-Content" }, ue = { class: "dpiV3_copy_large_regular dpiV3_hvd_frame3846" }, ce = { class: "dpiV3_hvd_frame3846" }, pe = { class: "dpiV3_dots dpiV3_copy_large_semi_bold" }, ve = { class: "dpiV3_normal" }, fe = { class: "dpiV3_dots dpiV3_copy_large_semi_bold" }, me = { class: "dpiV3_normal" }, _e = { class: "dpiV3_dots dpiV3_copy_large_semi_bold" }, he = { class: "dpiV3_normal" }, ge = {
|
|
16
17
|
href: "https://oc.bydata.de/sharing/articles/licenses",
|
|
17
18
|
target: "_blank",
|
|
18
19
|
rel: "noopener noreferrer",
|
|
19
20
|
class: "dpiV3_link"
|
|
20
|
-
},
|
|
21
|
+
}, Ve = { class: "end_container" }, be = {
|
|
21
22
|
key: 0,
|
|
22
23
|
class: "form-error-message"
|
|
23
|
-
},
|
|
24
|
+
}, ye = {
|
|
24
25
|
__name: "DistLicense",
|
|
25
26
|
props: {
|
|
26
27
|
context: Object,
|
|
@@ -28,110 +29,120 @@ const X = { class: "dpiV3InnerComponentWrap" }, Y = { class: "copy-large-regular
|
|
|
28
29
|
changeLicenseDropdownText: { type: String, default: "" }
|
|
29
30
|
},
|
|
30
31
|
setup(S) {
|
|
31
|
-
const { isEditMode: D } = K();
|
|
32
|
-
let I =
|
|
33
|
-
const
|
|
34
|
-
let d =
|
|
35
|
-
const i =
|
|
36
|
-
{ isValid: "unset", "dcterms:license": "",
|
|
37
|
-
]),
|
|
38
|
-
2: {
|
|
32
|
+
const { isEditMode: D } = K(), { formValues: we } = Q();
|
|
33
|
+
let I = p(!1), v = p([]), h = p(""), m = p(null);
|
|
34
|
+
const r = p(""), y = S;
|
|
35
|
+
let d = p({ 1: "unset", 2: "unset" });
|
|
36
|
+
const i = p([
|
|
37
|
+
{ isValid: "unset", "dcterms:license": "", title: "", uri: "" }
|
|
38
|
+
]), u = p({
|
|
39
|
+
2: {
|
|
40
|
+
show: !1,
|
|
41
|
+
message: "Namensnennungstext ist für diese Lizenz erforderlich"
|
|
42
|
+
}
|
|
39
43
|
});
|
|
40
|
-
D.value ||
|
|
44
|
+
D.value || y.context.node.input(i);
|
|
41
45
|
const $ = (e, t, s) => {
|
|
42
46
|
w(e, t, s);
|
|
43
47
|
}, A = (e) => {
|
|
44
48
|
const t = typeof e == "object" && e.target ? e.target.value : e;
|
|
45
|
-
|
|
49
|
+
m.value && clearTimeout(m.value), E(t, "dcterms:license", 1), m.value = setTimeout(() => {
|
|
46
50
|
C(t, "dcterms:license", 1);
|
|
47
51
|
}, 800);
|
|
48
52
|
}, E = (e, t, s) => {
|
|
49
|
-
|
|
50
|
-
const a =
|
|
51
|
-
|
|
53
|
+
r.value = "";
|
|
54
|
+
const a = v.value.find(
|
|
55
|
+
(n) => n["@value"] === e
|
|
56
|
+
);
|
|
57
|
+
a ? w(e, t, s, a.uri) : e === "" ? (d.value[s] = !1, i.value[0].isValid = "unset", I.value = !1, u.value[2].show = !1, i.value = i.value.map((n) => t in n ? { ...n, [t]: "", uri: "", title: "" } : n), y.context.node.input(i.value)) : (d.value[s] = "unset", i.value[0].isValid = "unset");
|
|
52
58
|
}, C = (e, t, s) => {
|
|
53
59
|
if (e === "") {
|
|
54
|
-
|
|
60
|
+
r.value = "";
|
|
55
61
|
return;
|
|
56
62
|
}
|
|
57
|
-
const a =
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
63
|
+
const a = v.value.find(
|
|
64
|
+
(n) => n["@value"] === e
|
|
65
|
+
);
|
|
66
|
+
a ? w(e, t, s, a.uri) : (r.value = "Bitte wählen Sie eine gültige Lizenz aus der Liste", d.value[s] = !1, i.value[0].isValid = "unset");
|
|
67
|
+
}, F = (e) => {
|
|
68
|
+
m.value && clearTimeout(m.value);
|
|
61
69
|
const t = e.target.value;
|
|
62
70
|
C(t, "dcterms:license", 1);
|
|
63
|
-
},
|
|
71
|
+
}, M = (e, t, s) => {
|
|
64
72
|
var a;
|
|
65
73
|
i.value = i.value.map((n) => t in n ? { ...n, [t]: e } : n);
|
|
66
74
|
{
|
|
67
75
|
const n = ((a = i.value[0]) == null ? void 0 : a["dcterms:license"]) || "";
|
|
68
76
|
if (n !== "" && (n.includes("cc-by") || n.includes("dl-by-de"))) {
|
|
69
|
-
const
|
|
70
|
-
|
|
77
|
+
const f = e && e.trim() !== "";
|
|
78
|
+
u.value[2].show = !f, d.value[2] = f, d.value[1] === !0 && f ? i.value[0].isValid = !0 : i.value[0].isValid = "unset";
|
|
71
79
|
} else
|
|
72
|
-
|
|
80
|
+
u.value[2].show = !1, d.value[2] = "unset";
|
|
73
81
|
}
|
|
74
|
-
|
|
82
|
+
y.context.node.input(i.value);
|
|
75
83
|
}, w = (e, t, s, a) => {
|
|
76
|
-
var
|
|
77
|
-
const n = e === "" ||
|
|
78
|
-
let
|
|
79
|
-
if (
|
|
80
|
-
|
|
81
|
-
).label), !n && e !== "")
|
|
82
|
-
u.value = "Bitte wählen Sie eine gültige Lizenz aus der Liste", d.value[s] = !1, i.value[0].isValid = "unset";
|
|
84
|
+
var f;
|
|
85
|
+
const n = e === "" || v.value.some((g) => g["@value"] === e);
|
|
86
|
+
let L = p();
|
|
87
|
+
if (!n && e !== "")
|
|
88
|
+
r.value = "Bitte wählen Sie eine gültige Lizenz aus der Liste", d.value[s] = !1, i.value[0].isValid = "unset";
|
|
83
89
|
else {
|
|
84
|
-
|
|
85
|
-
const
|
|
86
|
-
if (I.value =
|
|
90
|
+
r.value = "";
|
|
91
|
+
const g = e !== "" && (e.includes("cc-by") || e.includes("dl-by-de"));
|
|
92
|
+
if (I.value = g, e !== "") {
|
|
87
93
|
d.value[s] = !0;
|
|
88
|
-
const
|
|
89
|
-
i.value[0].isValid =
|
|
94
|
+
const _ = ((f = i.value[0]) == null ? void 0 : f.title) || "", P = !g || g && _.trim() !== "";
|
|
95
|
+
i.value[0].isValid = P ? !0 : "unset", g ? (u.value[2].show = _.trim() === "", d.value[2] = _.trim() !== "") : (u.value[2].show = !1, d.value[2] = "unset");
|
|
90
96
|
} else
|
|
91
|
-
d.value[s] = !1, i.value[0].isValid = "unset",
|
|
92
|
-
i.value = i.value.map((
|
|
97
|
+
d.value[s] = !1, i.value[0].isValid = "unset", u.value[2].show = !1;
|
|
98
|
+
i.value = i.value.map((_) => t in _ ? { ..._, [t]: e, uri: a, title: L } : _);
|
|
93
99
|
}
|
|
94
|
-
|
|
100
|
+
y.context.node.input(i.value);
|
|
95
101
|
};
|
|
96
|
-
return N(
|
|
102
|
+
return N(h, (e) => {
|
|
97
103
|
var s;
|
|
98
|
-
let t = (s =
|
|
104
|
+
let t = (s = v.value.find(
|
|
99
105
|
(a) => a["@value"] === e
|
|
100
106
|
)) == null ? void 0 : s.uri;
|
|
101
107
|
e !== void 0 && w(e, "dcterms:license", 1, t);
|
|
102
|
-
}), N(
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
108
|
+
}), N(
|
|
109
|
+
() => i.value[0].isValid,
|
|
110
|
+
(e) => {
|
|
111
|
+
var t, s;
|
|
112
|
+
if (e === !1) {
|
|
113
|
+
const a = ((t = i.value[0]) == null ? void 0 : t["dcterms:license"]) || "";
|
|
114
|
+
a === "" ? r.value = "Bitte wählen Sie eine Lizenz aus." : v.value.find(
|
|
115
|
+
(f) => f["@value"] === a
|
|
116
|
+
) || (r.value = "Bitte wählen Sie eine gültige Lizenz aus der Liste"), a !== "" && (a.includes("cc-by") || a.includes("dl-by-de")) && (((s = i.value[0]) == null ? void 0 : s.title) || "").trim() === "" && (u.value[2].show = !0);
|
|
117
|
+
}
|
|
107
118
|
}
|
|
108
|
-
|
|
119
|
+
), q(async () => {
|
|
109
120
|
const t = x().appContext.app.config.globalProperties.$env;
|
|
110
121
|
try {
|
|
111
122
|
const s = await J(t.api.baseUrl);
|
|
112
|
-
|
|
123
|
+
v.value = s.map((a) => ({
|
|
113
124
|
"@value": a.value,
|
|
114
125
|
label: a.label,
|
|
115
126
|
uri: a.uri
|
|
116
|
-
})),
|
|
127
|
+
})), v.value.sort((a, n) => a["@value"].localeCompare(n["@value"]));
|
|
117
128
|
} catch (s) {
|
|
118
129
|
console.error("Failed to load licenses", s);
|
|
119
130
|
}
|
|
120
131
|
}), O(() => {
|
|
121
|
-
|
|
122
|
-
}), (e, t) => (
|
|
132
|
+
m.value && clearTimeout(m.value);
|
|
133
|
+
}), (e, t) => (b(), z("div", Y, [
|
|
123
134
|
l("h4", null, o(e.$t("message.dataupload.datasets.dct:license.title")), 1),
|
|
124
|
-
l("div",
|
|
135
|
+
l("div", Z, o(e.$t("message.dataupload.datasets.dct:license.description")), 1),
|
|
125
136
|
V(H, {
|
|
126
137
|
"onUpdate:modelValue": [
|
|
127
138
|
t[0] || (t[0] = (s) => $(s, "dcterms:license", 1)),
|
|
128
|
-
t[1] || (t[1] = (s) => W(
|
|
139
|
+
t[1] || (t[1] = (s) => W(h) ? h.value = s : h = s)
|
|
129
140
|
],
|
|
130
141
|
onInput: A,
|
|
131
|
-
onBlur:
|
|
142
|
+
onBlur: F,
|
|
132
143
|
dropdownWidth: "large",
|
|
133
144
|
type: "inputField",
|
|
134
|
-
modelValue:
|
|
145
|
+
modelValue: c(h),
|
|
135
146
|
inputFieldProps: {
|
|
136
147
|
addOnText: !1,
|
|
137
148
|
initialHintText: !1,
|
|
@@ -142,25 +153,25 @@ const X = { class: "dpiV3InnerComponentWrap" }, Y = { class: "copy-large-regular
|
|
|
142
153
|
dropdown_dpiV3: !0,
|
|
143
154
|
placeholder: "Lizenz wählen...",
|
|
144
155
|
inputFieldSize: "large",
|
|
145
|
-
modelValue:
|
|
156
|
+
modelValue: c(h),
|
|
146
157
|
defaultInput: !0,
|
|
147
|
-
showError:
|
|
158
|
+
showError: r.value !== "" || i.value[0].isValid === "unset" && c(d)[1] === !1
|
|
148
159
|
},
|
|
149
|
-
data: v
|
|
160
|
+
data: c(v),
|
|
150
161
|
onDeleteButtonClicked: e.deleteModifiedField
|
|
151
162
|
}, null, 8, ["modelValue", "inputFieldProps", "data", "onDeleteButtonClicked"]),
|
|
152
|
-
|
|
153
|
-
V(
|
|
163
|
+
r.value ? (b(), z("div", ee, [
|
|
164
|
+
V(c(B), {
|
|
154
165
|
size: 16,
|
|
155
166
|
weight: "fill"
|
|
156
167
|
}),
|
|
157
|
-
l("span",
|
|
168
|
+
l("span", te, o(r.value), 1)
|
|
158
169
|
])) : T("", !0),
|
|
159
|
-
l("div",
|
|
160
|
-
|
|
170
|
+
l("div", se, [
|
|
171
|
+
c(I) ? (b(), U(j, {
|
|
161
172
|
key: 0,
|
|
162
|
-
modelValue: i.value[0].
|
|
163
|
-
"onUpdate:modelValue": t[2] || (t[2] = (s) =>
|
|
173
|
+
modelValue: i.value[0].title,
|
|
174
|
+
"onUpdate:modelValue": t[2] || (t[2] = (s) => M(s, "title")),
|
|
164
175
|
addOnText: !1,
|
|
165
176
|
datePicker: !1,
|
|
166
177
|
infoIcon: !1,
|
|
@@ -173,55 +184,55 @@ const X = { class: "dpiV3InnerComponentWrap" }, Y = { class: "copy-large-regular
|
|
|
173
184
|
),
|
|
174
185
|
showEndIcon: !1,
|
|
175
186
|
defaultInput: !0,
|
|
176
|
-
showError: i.value[0].isValid == !1 &&
|
|
187
|
+
showError: i.value[0].isValid == !1 && u.value[2].show,
|
|
177
188
|
onDeleteButtonClicked: e.deleteModifiedField
|
|
178
189
|
}, null, 8, ["modelValue", "label", "showError", "onDeleteButtonClicked"])) : T("", !0),
|
|
179
|
-
i.value[0].isValid == !1 &&
|
|
180
|
-
V(
|
|
190
|
+
i.value[0].isValid == !1 && u.value[2].show ? (b(), z("div", ie, [
|
|
191
|
+
V(c(B), {
|
|
181
192
|
size: 16,
|
|
182
193
|
weight: "fill"
|
|
183
194
|
}),
|
|
184
|
-
l("span",
|
|
195
|
+
l("span", ae, o(u.value[2].message), 1)
|
|
185
196
|
])) : T("", !0)
|
|
186
197
|
]),
|
|
187
|
-
l("div",
|
|
188
|
-
l("div",
|
|
189
|
-
l("div",
|
|
190
|
-
V(
|
|
198
|
+
l("div", le, [
|
|
199
|
+
l("div", ne, [
|
|
200
|
+
l("div", oe, [
|
|
201
|
+
V(c(R), {
|
|
191
202
|
size: 32,
|
|
192
203
|
color: "#009fe3"
|
|
193
204
|
}),
|
|
194
|
-
l("div",
|
|
205
|
+
l("div", de, o(e.$t("message.dataupload.datasets.dct:license.advices.title")), 1)
|
|
195
206
|
]),
|
|
196
|
-
l("div",
|
|
197
|
-
l("div",
|
|
198
|
-
l("div",
|
|
199
|
-
l("div",
|
|
207
|
+
l("div", re, [
|
|
208
|
+
l("div", ue, o(e.$t("message.dataupload.datasets.dct:license.advices.description")), 1),
|
|
209
|
+
l("div", ce, [
|
|
210
|
+
l("div", pe, [
|
|
200
211
|
k(o(e.$t(
|
|
201
212
|
"message.dataupload.datasets.dct:license.advices.licenseName1"
|
|
202
213
|
)) + " ", 1),
|
|
203
|
-
l("span",
|
|
214
|
+
l("span", ve, o(e.$t(
|
|
204
215
|
"message.dataupload.datasets.dct:license.advices.licenseName1_desc"
|
|
205
216
|
)), 1)
|
|
206
217
|
]),
|
|
207
|
-
l("div",
|
|
218
|
+
l("div", fe, [
|
|
208
219
|
k(o(e.$t(
|
|
209
220
|
"message.dataupload.datasets.dct:license.advices.licenseName2"
|
|
210
221
|
)) + " ", 1),
|
|
211
|
-
l("span",
|
|
222
|
+
l("span", me, o(e.$t(
|
|
212
223
|
"message.dataupload.datasets.dct:license.advices.licenseName2_desc"
|
|
213
224
|
)), 1)
|
|
214
225
|
]),
|
|
215
|
-
l("div",
|
|
226
|
+
l("div", _e, [
|
|
216
227
|
k(o(e.$t(
|
|
217
228
|
"message.dataupload.datasets.dct:license.advices.licenseName3"
|
|
218
229
|
)) + " ", 1),
|
|
219
|
-
l("span",
|
|
230
|
+
l("span", he, o(e.$t(
|
|
220
231
|
"message.dataupload.datasets.dct:license.advices.licenseName3_desc"
|
|
221
232
|
)), 1)
|
|
222
233
|
]),
|
|
223
|
-
l("a",
|
|
224
|
-
V(
|
|
234
|
+
l("a", ge, [
|
|
235
|
+
V(c(G), { size: 24 }),
|
|
225
236
|
k(" " + o(e.$t(
|
|
226
237
|
"message.dataupload.datasets.dct:license.advices.linkToLicenses"
|
|
227
238
|
)), 1)
|
|
@@ -230,10 +241,10 @@ const X = { class: "dpiV3InnerComponentWrap" }, Y = { class: "copy-large-regular
|
|
|
230
241
|
])
|
|
231
242
|
])
|
|
232
243
|
]),
|
|
233
|
-
l("div",
|
|
244
|
+
l("div", Ve, [
|
|
234
245
|
t[4] || (t[4] = l("span", { class: "copy-large-regular" }, " Die Wahl der Lizenz spielt eine wichtige Rolle für den korrekten Umgang mit Ihrem Datensatz. ", -1)),
|
|
235
|
-
i.value.find((s) => s.isValid === !1) ? (
|
|
236
|
-
V(
|
|
246
|
+
i.value.find((s) => s.isValid === !1) ? (b(), z("div", be, [
|
|
247
|
+
V(c(B), {
|
|
237
248
|
size: 16,
|
|
238
249
|
weight: "fill"
|
|
239
250
|
}),
|
|
@@ -242,7 +253,7 @@ const X = { class: "dpiV3InnerComponentWrap" }, Y = { class: "copy-large-regular
|
|
|
242
253
|
])
|
|
243
254
|
]));
|
|
244
255
|
}
|
|
245
|
-
},
|
|
256
|
+
}, De = /* @__PURE__ */ X(ye, [["__scopeId", "data-v-787ea982"]]);
|
|
246
257
|
export {
|
|
247
|
-
|
|
258
|
+
De as default
|
|
248
259
|
};
|