@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.
Files changed (19) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +4 -6
  3. package/dist/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +316 -302
  4. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +32 -36
  5. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +120 -105
  6. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +40 -40
  7. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +44 -48
  8. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +57 -61
  9. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +61 -45
  10. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +394 -378
  11. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +31 -92
  12. package/dist/data-provider-interface/components/DistLicense.vue.js +107 -96
  13. package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +286 -267
  14. package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +2 -2
  15. package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +174 -177
  16. package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +196 -192
  17. package/dist/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +5 -5
  18. package/dist/data-provider-interface/views/InputPage.vue.js +95 -96
  19. package/package.json +1 -1
@@ -1,103 +1,42 @@
1
- import { ref as a, getCurrentInstance as B, onMounted as k, resolveComponent as R, createElementBlock as T, openBlock as E, createVNode as m, withCtx as F, unref as c, isRef as N } from "vue";
2
- import { getLicenses as O } from "../../services/dpiV3_apis.js";
3
- import j from "../Dropdown.vue.js";
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 U from "../InputField.vue.js";
7
- import { useFormValues as H } from "../../../composables/useDpiFormValues.js";
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(M) {
15
- a();
16
- let f = a("");
17
- a([]), B().appContext.app.config.globalProperties.$env;
18
- let s = a([]);
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
- ]), P = (e, t, l) => {
24
- g(e, t, l);
25
- }, _ = (e) => {
26
- const t = typeof e == "object" && e.target ? e.target.value : e;
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 l = await O(t.api.baseUrl);
39
- s.value = l.map((n) => ({
40
- "@value": n.value,
41
- label: n.label,
42
- uri: n.uri
43
- })), s.value.sort((n, u) => n["@value"].localeCompare(u["@value"]));
44
- } catch (l) {
45
- console.error("Failed to load licenses", l);
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
- }), (e, t) => {
48
- const l = R("innerRapModalItem");
49
- return E(), T("div", W, [
50
- m(l, null, {
51
- default: F(() => {
52
- var n, u, p, i, V, D, h, w, I, x, L, z, C, S;
53
- return [
54
- m(j, {
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
- Y as default
50
+ O as default
112
51
  };
@@ -1,26 +1,27 @@
1
- import { ref as f, watch as N, onMounted as q, getCurrentInstance as x, onUnmounted as O, createElementBlock as z, openBlock as y, createElementVNode as l, createVNode as V, createCommentVNode as T, toDisplayString as o, unref as v, isRef as W, createBlock as U, createTextVNode as k } from "vue";
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 Q from "../../_virtual/_plugin-vue_export-helper.js";
9
- const X = { class: "dpiV3InnerComponentWrap" }, Y = { class: "copy-large-regular" }, Z = {
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
- }, ee = { class: "copy-mini-regular" }, te = { class: "input-container" }, se = {
13
+ }, te = { class: "copy-mini-regular" }, se = { class: "input-container" }, ie = {
13
14
  key: 1,
14
15
  class: "dpiV3_errormsgWrapper"
15
- }, ie = { class: "copy-mini-regular" }, ae = { class: "dpiV3_Content_InputPage" }, le = { class: "dpiV3_Card_Tips" }, ne = { class: "dpiV3_Icon_Title" }, oe = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, de = { class: "dpiV3_CT-Content" }, re = { class: "dpiV3_copy_large_regular dpiV3_hvd_frame3846" }, ue = { class: "dpiV3_hvd_frame3846" }, ce = { class: "dpiV3_dots dpiV3_copy_large_semi_bold" }, pe = { class: "dpiV3_normal" }, ve = { class: "dpiV3_dots dpiV3_copy_large_semi_bold" }, fe = { class: "dpiV3_normal" }, me = { class: "dpiV3_dots dpiV3_copy_large_semi_bold" }, _e = { class: "dpiV3_normal" }, he = {
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
- }, ge = { class: "end_container" }, Ve = {
21
+ }, Ve = { class: "end_container" }, be = {
21
22
  key: 0,
22
23
  class: "form-error-message"
23
- }, be = {
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 = f(!1), r = f([]), g = f(""), _ = f(null);
33
- const u = f(""), L = S;
34
- let d = f({ 1: "unset", 2: "unset" });
35
- const i = f([
36
- { isValid: "unset", "dcterms:license": "", attribution: "", uri: "" }
37
- ]), c = f({
38
- 2: { show: !1, message: "Namensnennungstext ist für diese Lizenz erforderlich" }
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 || L.context.node.input(i);
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
- _.value && clearTimeout(_.value), E(t, "dcterms:license", 1), _.value = setTimeout(() => {
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
- u.value = "";
50
- const a = r.value.find((n) => n["@value"] === e);
51
- a ? w(e, t, s, a.uri) : e === "" ? (d.value[s] = !1, i.value[0].isValid = "unset", I.value = !1, c.value[2].show = !1, i.value = i.value.map((n) => t in n ? { ...n, [t]: "", uri: "", title: "" } : n), L.context.node.input(i.value)) : (d.value[s] = "unset", i.value[0].isValid = "unset");
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
- u.value = "";
60
+ r.value = "";
55
61
  return;
56
62
  }
57
- const a = r.value.find((n) => n["@value"] === e);
58
- a ? w(e, t, s, a.uri) : (u.value = "Bitte wählen Sie eine gültige Lizenz aus der Liste", d.value[s] = !1, i.value[0].isValid = "unset");
59
- }, M = (e) => {
60
- _.value && clearTimeout(_.value);
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
- }, P = (e, t, s) => {
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 m = e && e.trim() !== "";
70
- c.value[2].show = !m, d.value[2] = m, d.value[1] === !0 && m ? i.value[0].isValid = !0 : i.value[0].isValid = "unset";
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
- c.value[2].show = !1, d.value[2] = "unset";
80
+ u.value[2].show = !1, d.value[2] = "unset";
73
81
  }
74
- L.context.node.input(i.value);
82
+ y.context.node.input(i.value);
75
83
  }, w = (e, t, s, a) => {
76
- var m;
77
- const n = e === "" || r.value.some((p) => p["@value"] === e);
78
- let b = f();
79
- if (r.value.some((p) => p["@value"] === e) && (b.value = r.value.find(
80
- (p) => p["@value"] === e
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
- u.value = "";
85
- const p = e !== "" && (e.includes("cc-by") || e.includes("dl-by-de"));
86
- if (I.value = p, e !== "") {
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 h = ((m = i.value[0]) == null ? void 0 : m.attribution) || "", F = !p || p && h.trim() !== "";
89
- i.value[0].isValid = F ? !0 : "unset", p ? (c.value[2].show = h.trim() === "", d.value[2] = h.trim() !== "") : (c.value[2].show = !1, d.value[2] = "unset");
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", c.value[2].show = !1;
92
- i.value = i.value.map((h) => t in h ? { ...h, [t]: e, uri: a, title: b } : h);
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
- L.context.node.input(i.value);
100
+ y.context.node.input(i.value);
95
101
  };
96
- return N(g, (e) => {
102
+ return N(h, (e) => {
97
103
  var s;
98
- let t = (s = r.value.find(
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(() => i.value[0].isValid, (e) => {
103
- var t, s;
104
- if (console.log("License validity changed:", e), e === !1) {
105
- const a = ((t = i.value[0]) == null ? void 0 : t["dcterms:license"]) || "";
106
- a === "" ? u.value = "Bitte wählen Sie eine Lizenz aus." : r.value.find((m) => m["@value"] === a) || (u.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.attribution) || "").trim() === "" && (c.value[2].show = !0);
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
- }), q(async () => {
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
- r.value = s.map((a) => ({
123
+ v.value = s.map((a) => ({
113
124
  "@value": a.value,
114
125
  label: a.label,
115
126
  uri: a.uri
116
- })), r.value.sort((a, n) => a["@value"].localeCompare(n["@value"])), console.log(r.value);
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
- _.value && clearTimeout(_.value);
122
- }), (e, t) => (y(), z("div", X, [
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", Y, o(e.$t("message.dataupload.datasets.dct:license.description")), 1),
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(g) ? g.value = s : g = s)
139
+ t[1] || (t[1] = (s) => W(h) ? h.value = s : h = s)
129
140
  ],
130
141
  onInput: A,
131
- onBlur: M,
142
+ onBlur: F,
132
143
  dropdownWidth: "large",
133
144
  type: "inputField",
134
- modelValue: v(g),
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: v(g),
156
+ modelValue: c(h),
146
157
  defaultInput: !0,
147
- showError: u.value !== "" || i.value[0].isValid === "unset" && v(d)[1] === !1
158
+ showError: r.value !== "" || i.value[0].isValid === "unset" && c(d)[1] === !1
148
159
  },
149
- data: v(r),
160
+ data: c(v),
150
161
  onDeleteButtonClicked: e.deleteModifiedField
151
162
  }, null, 8, ["modelValue", "inputFieldProps", "data", "onDeleteButtonClicked"]),
152
- u.value ? (y(), z("div", Z, [
153
- V(v(B), {
163
+ r.value ? (b(), z("div", ee, [
164
+ V(c(B), {
154
165
  size: 16,
155
166
  weight: "fill"
156
167
  }),
157
- l("span", ee, o(u.value), 1)
168
+ l("span", te, o(r.value), 1)
158
169
  ])) : T("", !0),
159
- l("div", te, [
160
- v(I) ? (y(), U(j, {
170
+ l("div", se, [
171
+ c(I) ? (b(), U(j, {
161
172
  key: 0,
162
- modelValue: i.value[0].attribution,
163
- "onUpdate:modelValue": t[2] || (t[2] = (s) => P(s, "attribution")),
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 && c.value[2].show,
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 && c.value[2].show ? (y(), z("div", se, [
180
- V(v(B), {
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", ie, o(c.value[2].message), 1)
195
+ l("span", ae, o(u.value[2].message), 1)
185
196
  ])) : T("", !0)
186
197
  ]),
187
- l("div", ae, [
188
- l("div", le, [
189
- l("div", ne, [
190
- V(v(R), {
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", oe, o(e.$t("message.dataupload.datasets.dct:license.advices.title")), 1)
205
+ l("div", de, o(e.$t("message.dataupload.datasets.dct:license.advices.title")), 1)
195
206
  ]),
196
- l("div", de, [
197
- l("div", re, o(e.$t("message.dataupload.datasets.dct:license.advices.description")), 1),
198
- l("div", ue, [
199
- l("div", ce, [
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", pe, o(e.$t(
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", ve, [
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", fe, o(e.$t(
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", me, [
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", _e, o(e.$t(
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", he, [
224
- V(v(G), { size: 24 }),
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", ge, [
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) ? (y(), z("div", Ve, [
236
- V(v(B), {
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
- }, Ce = /* @__PURE__ */ Q(be, [["__scopeId", "data-v-cd24d08b"]]);
256
+ }, De = /* @__PURE__ */ X(ye, [["__scopeId", "data-v-787ea982"]]);
246
257
  export {
247
- Ce as default
258
+ De as default
248
259
  };