@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.
@@ -1,7 +1,7 @@
1
1
  import o from "./Organisation.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c1e08c52"]]);
4
+ const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d75553ee"]]);
5
5
  export {
6
6
  i as default
7
7
  };
@@ -1,69 +1,69 @@
1
- import { defineComponent as f, computed as r, createElementBlock as t, openBlock as s, createElementVNode as i, unref as k, Fragment as y, toDisplayString as l } from "vue";
2
- import { useOrganizationInfo as b } from "../composables/useOrganizationInfo.js";
3
- import { useTwinbyUser as V } from "../composables/useTwinbyUser.js";
4
- const T = { class: "dpiV3_organisation" }, I = { class: "dpiV3_organisationInfo" }, O = { key: 0 }, E = { key: 0 }, S = {
1
+ import { defineComponent as h, computed as r, createElementBlock as t, openBlock as s, createElementVNode as a, unref as m, Fragment as f, toDisplayString as l } from "vue";
2
+ import { useOrganizationInfo as k } from "../composables/useOrganizationInfo.js";
3
+ import { useTwinbyUser as y } from "../composables/useTwinbyUser.js";
4
+ const b = { class: "dpiV3_organisation" }, V = { class: "dpiV3_organisationInfo" }, T = { key: 0 }, I = { key: 0 }, O = {
5
5
  key: 1,
6
6
  class: "not-available"
7
- }, C = { class: "dpiV3_organisationData" }, D = {
7
+ }, E = { class: "dpiV3_organisationData" }, S = {
8
8
  key: 0,
9
9
  class: "dpiV3_organisationTitle"
10
- }, F = ["src"], L = { key: 1 }, w = { class: "info-wrapper" }, x = { class: "dpiV3_organisationTitle" }, z = { key: 0 }, B = {
10
+ }, C = ["src"], D = { key: 1 }, F = { class: "info-wrapper" }, L = { class: "dpiV3_organisationTitle" }, w = { key: 0 }, x = {
11
11
  key: 1,
12
12
  class: "not-available"
13
- }, N = { key: 2 }, M = {
13
+ }, z = { key: 2 }, B = {
14
14
  key: 3,
15
15
  class: "not-available"
16
- }, P = { class: "dpiV3_organisationTitle" }, U = { key: 0 }, W = {
16
+ }, N = { class: "dpiV3_organisationTitle" }, M = { key: 0 }, P = {
17
17
  key: 1,
18
18
  class: "not-available"
19
- }, H = /* @__PURE__ */ f({
19
+ }, A = /* @__PURE__ */ h({
20
20
  __name: "Organisation",
21
- setup(j) {
22
- const { organization: u, authToken: g, startFetchPermissions: h } = V();
23
- h();
24
- const { resultEnhanced: o, isLoading: m } = b({
25
- id: u,
26
- authToken: g
21
+ setup(U) {
22
+ const { organization: p, authToken: v, startFetchPermissions: u } = y();
23
+ u();
24
+ const { resultEnhanced: n, isLoading: g } = k({
25
+ id: p,
26
+ authToken: v
27
27
  }), d = r(
28
28
  () => {
29
- var a, e, p, v;
30
- return ((e = (a = o.value) == null ? void 0 : a.publisher) == null ? void 0 : e.name) || ((p = o.value) == null ? void 0 : p.title) || ((v = o.value) == null ? void 0 : v.id) || "";
29
+ var i, e;
30
+ return ((i = n.value) == null ? void 0 : i.title) || ((e = n.value) == null ? void 0 : e.id) || "";
31
31
  }
32
32
  ), c = r(
33
33
  () => {
34
- var a, e;
35
- return ((e = (a = o.value) == null ? void 0 : a.catalogueFavIcon) == null ? void 0 : e[0]) || "";
34
+ var i, e;
35
+ return ((e = (i = n.value) == null ? void 0 : i.catalogueFavIcon) == null ? void 0 : e[0]) || "";
36
36
  }
37
- ), n = r(() => {
38
- var a, e;
39
- return ((e = (a = o.value) == null ? void 0 : a.publisher) == null ? void 0 : e.address) || {};
37
+ ), o = r(() => {
38
+ var i, e;
39
+ return ((e = (i = n.value) == null ? void 0 : i.publisher) == null ? void 0 : e.address) || {};
40
40
  }), _ = r(() => {
41
- var a;
42
- return ((a = o.value) == null ? void 0 : a.publisher) || {};
41
+ var i;
42
+ return ((i = n.value) == null ? void 0 : i.publisher) || {};
43
43
  });
44
- return (a, e) => (s(), t("div", T, [
45
- e[2] || (e[2] = i("h3", { class: "dpiV3_organisationTitle" }, " Ihre Organisation ", -1)),
46
- e[3] || (e[3] = i("p", { class: "dpiV3_organisationDescription" }, " Wenn Sie die Informationen Ihrer Organisation ändern möchten, kontaktieren Sie uns gerne. ", -1)),
47
- i("div", I, [
48
- k(m) ? (s(), t("p", O, "Lade Organisationsdaten...")) : (s(), t(y, { key: 1 }, [
49
- d.value ? (s(), t("p", E, l(d.value), 1)) : (s(), t("p", S, " Name nicht verfügbar ")),
50
- i("div", C, [
51
- c.value ? (s(), t("div", D, [
52
- i("img", {
44
+ return (i, e) => (s(), t("div", b, [
45
+ e[2] || (e[2] = a("h3", { class: "dpiV3_organisationTitle" }, " Ihre Organisation ", -1)),
46
+ e[3] || (e[3] = a("p", { class: "dpiV3_organisationDescription" }, " Wenn Sie die Informationen Ihrer Organisation ändern möchten, kontaktieren Sie uns gerne. ", -1)),
47
+ a("div", V, [
48
+ m(g) ? (s(), t("p", T, "Lade Organisationsdaten...")) : (s(), t(f, { key: 1 }, [
49
+ d.value ? (s(), t("p", I, l(d.value), 1)) : (s(), t("p", O, " Name nicht verfügbar ")),
50
+ a("div", E, [
51
+ c.value ? (s(), t("div", S, [
52
+ a("img", {
53
53
  src: c.value,
54
54
  alt: ""
55
- }, null, 8, F)
56
- ])) : (s(), t("div", L, e[0] || (e[0] = [
57
- i("div", { class: "avatar-circle" }, null, -1)
55
+ }, null, 8, C)
56
+ ])) : (s(), t("div", D, e[0] || (e[0] = [
57
+ a("div", { class: "avatar-circle" }, null, -1)
58
58
  ]))),
59
- i("div", w, [
60
- i("div", x, [
61
- n.value.street ? (s(), t("p", z, l(n.value.street), 1)) : (s(), t("p", B, " Straße nicht verfügbar ")),
62
- n.value.postalCode || n.value.locality ? (s(), t("p", N, l(n.value.postalCode || "") + " " + l(n.value.locality || ""), 1)) : (s(), t("p", M, " Ort nicht verfügbar "))
59
+ a("div", F, [
60
+ a("div", L, [
61
+ o.value.street ? (s(), t("p", w, l(o.value.street), 1)) : (s(), t("p", x, " Straße nicht verfügbar ")),
62
+ o.value.postalCode || o.value.locality ? (s(), t("p", z, l(o.value.postalCode || "") + " " + l(o.value.locality || ""), 1)) : (s(), t("p", B, " Ort nicht verfügbar "))
63
63
  ]),
64
- i("div", P, [
65
- e[1] || (e[1] = i("p", { class: "not-available" }, " Telefon nicht verfügbar ", -1)),
66
- _.value.email ? (s(), t("p", U, l(_.value.email), 1)) : (s(), t("p", W, " E-Mail nicht verfügbar "))
64
+ a("div", N, [
65
+ e[1] || (e[1] = a("p", { class: "not-available" }, " Telefon nicht verfügbar ", -1)),
66
+ _.value.email ? (s(), t("p", M, l(_.value.email), 1)) : (s(), t("p", P, " E-Mail nicht verfügbar "))
67
67
  ])
68
68
  ])
69
69
  ])
@@ -73,5 +73,5 @@ const T = { class: "dpiV3_organisation" }, I = { class: "dpiV3_organisationInfo"
73
73
  }
74
74
  });
75
75
  export {
76
- H as default
76
+ A as default
77
77
  };
@@ -1,5 +1,5 @@
1
1
  import t from "./InputFieldFormKit.vue.js";
2
- const e = {
2
+ const i = {
3
3
  type: "input",
4
4
  schema: [],
5
5
  component: t,
@@ -7,6 +7,7 @@ const e = {
7
7
  "inputType",
8
8
  "addOnText",
9
9
  "datePicker",
10
+ "date-picker",
10
11
  "infoIcon",
11
12
  "preIcon",
12
13
  "showEndIcon",
@@ -21,5 +22,5 @@ const e = {
21
22
  ]
22
23
  };
23
24
  export {
24
- e as default
25
+ i as default
25
26
  };
@@ -485,7 +485,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
485
485
  ])) : o("", !0)
486
486
  ]));
487
487
  }
488
- }, Oe = /* @__PURE__ */ te(Me, [["__scopeId", "data-v-6d2518f0"]]);
488
+ }, Oe = /* @__PURE__ */ te(Me, [["__scopeId", "data-v-3dd4351a"]]);
489
489
  export {
490
490
  Oe as default
491
491
  };
@@ -1,7 +1,7 @@
1
- import t from "./OptionalDataStep.vue2.js";
1
+ import a from "./OptionalDataStep.vue2.js";
2
2
  /* empty css */
3
- import o from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-d206ff46"]]);
3
+ import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const e = /* @__PURE__ */ t(a, [["__scopeId", "data-v-a28ea0fa"]]);
5
5
  export {
6
- r as default
6
+ e as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as j, ref as f, computed as L, createElementBlock as h, openBlock as u, createElementVNode as t, createVNode as i, unref as l, withCtx as s, Fragment as y, renderList as k, createBlock as S, createTextVNode as U, createCommentVNode as $, withDirectives as A, vModelCheckbox as q } from "vue";
1
+ import { defineComponent as j, ref as f, computed as L, createElementBlock as h, openBlock as u, createElementVNode as t, createVNode as i, unref as l, withCtx as s, Fragment as k, renderList as y, createBlock as S, createTextVNode as U, createCommentVNode as $, withDirectives as A, vModelCheckbox as q } from "vue";
2
2
  import { FormKit as o } from "@formkit/vue";
3
3
  import { PhLightbulb as N } from "@phosphor-icons/vue";
4
4
  import G from "../../../../stories/components/LinkCard.vue.js";
@@ -65,7 +65,7 @@ const J = { class: "dpiV3_page V3-typography" }, Q = {
65
65
  dynamic: ""
66
66
  }, {
67
67
  default: s(({ items: n, node: r, value: m }) => [
68
- (u(!0), h(y, null, k(n, (p, c) => (u(), S(l(o), {
68
+ (u(!0), h(k, null, y(n, (p, c) => (u(), S(l(o), {
69
69
  key: p,
70
70
  type: "group",
71
71
  index: c
@@ -116,6 +116,7 @@ const J = { class: "dpiV3_page V3-typography" }, Q = {
116
116
  "pre-icon": !1,
117
117
  "show-end-icon": !1,
118
118
  "initial-hint-text": !1,
119
+ "date-picker": !0,
119
120
  "validation-rules": { requireIfEndDate: I },
120
121
  validation: "+requireIfEndDate",
121
122
  "validation-visibility": "submit",
@@ -132,6 +133,7 @@ const J = { class: "dpiV3_page V3-typography" }, Q = {
132
133
  "add-on-text": !1,
133
134
  "info-icon": !1,
134
135
  "pre-icon": !1,
136
+ "date-picker": !0,
135
137
  "show-end-icon": !1,
136
138
  "initial-hint-text": !1
137
139
  }, null, 8, ["type"])
@@ -212,7 +214,7 @@ const J = { class: "dpiV3_page V3-typography" }, Q = {
212
214
  name: "requiredExpertise"
213
215
  }, null, 8, ["modelValue"]),
214
216
  d.value.length > 0 ? (u(), h("div", ae, [
215
- (u(!0), h(y, null, k(d.value, (n) => (u(), h("div", {
217
+ (u(!0), h(k, null, y(d.value, (n) => (u(), h("div", {
216
218
  key: n,
217
219
  class: "label-chip"
218
220
  }, [
@@ -280,7 +282,7 @@ const J = { class: "dpiV3_page V3-typography" }, Q = {
280
282
  dynamic: ""
281
283
  }, {
282
284
  default: s(({ items: n, node: r, value: m }) => [
283
- (u(!0), h(y, null, k(n, (p, c) => (u(), S(l(o), {
285
+ (u(!0), h(k, null, y(n, (p, c) => (u(), S(l(o), {
284
286
  key: p,
285
287
  type: "group",
286
288
  index: c
@@ -327,7 +329,7 @@ const J = { class: "dpiV3_page V3-typography" }, Q = {
327
329
  dynamic: ""
328
330
  }, {
329
331
  default: s(({ items: n, node: r, value: m }) => [
330
- (u(!0), h(y, null, k(n, (p, c) => (u(), S(l(o), {
332
+ (u(!0), h(k, null, y(n, (p, c) => (u(), S(l(o), {
331
333
  key: p,
332
334
  type: "group",
333
335
  index: c
@@ -1,4 +1,4 @@
1
- import { ref as d, getCurrentInstance as S, onMounted as _, computed as P, watch as z, createElementBlock as g, openBlock as c, Fragment as h, createCommentVNode as w, renderList as W, unref as r, normalizeClass as $, createVNode as V, createBlock as A } from "vue";
1
+ import { ref as d, getCurrentInstance as _, onMounted as P, computed as z, watch as h, createElementBlock as g, openBlock as c, Fragment as w, createCommentVNode as V, renderList as W, unref as r, normalizeClass as $, createVNode as k, createBlock as A } from "vue";
2
2
  import { getLanguages as N } from "../../services/dpiV3_apis.js";
3
3
  import U from "../Dropdown.vue.js";
4
4
  import q from "../ButtonV3.vue.js";
@@ -18,69 +18,77 @@ const Q = {
18
18
  inOverview: { type: Boolean, default: !1 }
19
19
  },
20
20
  emits: ["addLanguage", "deleteButtonClicked"],
21
- setup(v, { emit: C }) {
22
- const n = v;
23
- let l = d([{ label: "", "@value": "", uri: "" }]), u = {};
24
- const { formValues: k } = H(), { t: f } = E(), y = () => {
25
- l.value.push({});
26
- }, b = S(), B = b.appContext.app.config.globalProperties.$env, L = b.appContext.app.config.globalProperties.$i18n.locale;
21
+ setup(v, { emit: y }) {
22
+ const u = v;
23
+ let t = d([{ label: "", "@value": "", uri: "" }]), o = {};
24
+ const { formValues: C } = H(), { t: f } = E(), B = () => {
25
+ t.value.push({});
26
+ }, b = _(), L = b.appContext.app.config.globalProperties.$env, I = b.appContext.app.config.globalProperties.$i18n.locale;
27
27
  let p = d([]);
28
- u = k.value.DistributionSimple["dcat:distribution"].find(
29
- (e) => e.id === n.distributionId
30
- ) || {}, _(async () => {
28
+ o = C.value.DistributionSimple["dcat:distribution"].find(
29
+ (e) => e.id === u.distributionId
30
+ ) || {}, P(async () => {
31
31
  var e;
32
- u["dct:language"].length > 0 && (l.value = u["dct:language"]), p.value = (e = u["dct:language"]) == null ? void 0 : e.map((a) => a.label);
32
+ o["dct:language"].length > 0 && (t.value = o["dct:language"]), p.value = (e = o["dct:language"]) == null ? void 0 : e.map((l) => l.label);
33
33
  try {
34
- const a = await N(B.api.baseUrl, L);
35
- s.value = a.map((t) => ({
36
- "@value": t.label,
37
- label: t.label,
38
- uri: t.uri
34
+ const l = await N(L.api.baseUrl, I);
35
+ s.value = l.map((a) => ({
36
+ "@value": a.label,
37
+ label: a.label,
38
+ uri: a.uri
39
39
  }));
40
- } catch (a) {
41
- console.error("Failed to load language data", a);
40
+ } catch (l) {
41
+ console.error("Failed to load language data", l);
42
42
  }
43
43
  });
44
44
  const s = d([]);
45
- let I = d(p);
46
- console.log("Titelliste", I);
47
- const O = C, F = (e, a) => {
48
- l.value.length > 1 ? (l.value[a] = {
45
+ let O = d(p);
46
+ console.log("Titelliste", O);
47
+ const F = y, T = (e, l) => {
48
+ t.value.length > 1 ? (t.value[l] = {
49
+ "@value": e,
49
50
  label: e,
50
- uri: s.value.find((t) => t["@value"] === e).uri || ""
51
- }, u["dct:language"] = l.value) : (l.value[0] = {
51
+ uri: s.value.find((a) => a["@value"] === e).uri || ""
52
+ }, console.log(o["dct:language"], t.value), o["dct:language"] = t.value, console.log(o["dct:language"], t.value)) : (t.value[0] = {
52
53
  "@value": e,
53
- uri: s.value.find((t) => t["@value"] === e).uri || ""
54
- }, u["dct:language"][0] = l.value[0], s.value.find((t) => t["@value"] === e).uri);
54
+ uri: s.value.find((a) => a["@value"] === e).uri || ""
55
+ }, o["dct:language"][0] = t.value[0], s.value.find((a) => a["@value"] === e).uri);
55
56
  }, m = d(""), x = (e) => {
56
57
  m.value = e, console.log(m);
57
- }, T = P(() => s.value.filter(
58
+ }, D = z(() => s.value.filter(
58
59
  (e) => {
59
- var a, t, o, i;
60
- return (i = (a = e["@value"]) == null ? void 0 : a.toLowerCase()) == null ? void 0 : i.trim().startsWith((o = (t = m.value) == null ? void 0 : t.toLowerCase()) == null ? void 0 : o.trim());
60
+ var l, a, n, i;
61
+ return (i = (l = e["@value"]) == null ? void 0 : l.toLowerCase()) == null ? void 0 : i.trim().startsWith((n = (a = m.value) == null ? void 0 : a.toLowerCase()) == null ? void 0 : n.trim());
61
62
  }
62
63
  ));
63
- z(
64
- () => n.languageText,
64
+ h(
65
+ () => o["dct:language"],
66
+ (e) => {
67
+ t.value = o["dct:language"];
68
+ },
69
+ { deep: !0 }
70
+ ), h(
71
+ () => u.languageText,
65
72
  (e) => {
66
73
  p.value = e;
67
74
  }
68
75
  );
69
- const D = () => {
70
- console.log("delete clicked"), O("deleteButtonClicked", n.distributionId);
76
+ const S = () => {
77
+ console.log("delete clicked"), F("deleteButtonClicked", u.distributionId);
71
78
  };
72
- return (e, a) => (c(), g(h, null, [
73
- (c(!0), g(h, null, W(r(l), (t, o) => (c(), g("div", {
79
+ return (e, l) => (c(), g(w, null, [
80
+ (c(!0), g(w, null, W(r(t), (a, n) => (c(), g("div", {
74
81
  class: $([{
75
- repeatableOuter: !n.inOverview,
76
- dpiV3AutoCompleteWrap: !n.inOverview
77
- }, "langDropdown"])
82
+ repeatableOuter: !u.inOverview,
83
+ dpiV3AutoCompleteWrap: !u.inOverview
84
+ }, "langDropdown"]),
85
+ key: n
78
86
  }, [
79
- V(U, {
80
- "onUpdate:modelValue": [(i) => F(i, o), (i) => r(l)[o].label = i],
87
+ k(U, {
88
+ "onUpdate:modelValue": [(i) => T(i, n), (i) => r(t)[n].label = i],
81
89
  dropdownWidth: "large",
82
90
  type: "inputField",
83
- modelValue: r(l)[o].label,
91
+ modelValue: r(t)[n].label,
84
92
  inputFieldProps: {
85
93
  addOnText: !1,
86
94
  initialHintText: !1,
@@ -95,29 +103,29 @@ const Q = {
95
103
  "message.dataupload.datasets.dcat:distribution.advanced.language-placeholder"
96
104
  ),
97
105
  inputFieldSize: "large",
98
- modelValue: r(p)[o],
106
+ modelValue: r(p)[n],
99
107
  defaultInput: !v.showDeleteButton
100
108
  },
101
- data: T.value,
102
- onDeleteDropdownField: D,
109
+ data: D.value,
110
+ onDeleteDropdownField: S,
103
111
  onInput: x
104
112
  }, null, 8, ["onUpdate:modelValue", "modelValue", "inputFieldProps", "data"]),
105
- n.inOverview ? w("", !0) : (c(), A(M, {
113
+ u.inOverview ? V("", !0) : (c(), A(M, {
106
114
  key: 0,
107
115
  "button-text": "Löschen",
108
116
  class: "rightAlign",
109
117
  iconStart: "trash",
110
- onClick: (i) => r(l).splice(o, 1)
118
+ onClick: (i) => r(t).splice(n, 1)
111
119
  }, null, 8, ["onClick"]))
112
- ], 2))), 256)),
113
- n.inOverview ? w("", !0) : (c(), g("div", Q, [
114
- V(q, {
120
+ ], 2))), 128)),
121
+ u.inOverview ? V("", !0) : (c(), g("div", Q, [
122
+ k(q, {
115
123
  buttonText: "Weitere hinzufügen",
116
124
  size: "large",
117
125
  iconStart: "plus",
118
126
  variant: "tertiary",
119
127
  class: "mt-3",
120
- onClick: a[0] || (a[0] = (t) => y())
128
+ onClick: l[0] || (l[0] = (a) => B())
121
129
  })
122
130
  ]))
123
131
  ], 64));
@@ -1,4 +1,4 @@
1
- import { ref as E, getCurrentInstance as we, reactive as Re, watch as Be, computed as me, resolveComponent as Q, createElementBlock as k, openBlock as s, Fragment as Z, createVNode as y, createCommentVNode as c, withCtx as J, createTextVNode as Se, toDisplayString as T, createBlock as g, renderList as X, unref as $, createElementVNode as R, isRef as ie } from "vue";
1
+ import { ref as E, getCurrentInstance as Ve, reactive as Re, watch as Be, computed as me, resolveComponent as Q, createElementBlock as k, openBlock as s, Fragment as Z, createVNode as y, createCommentVNode as c, withCtx as J, createTextVNode as Se, toDisplayString as T, createBlock as g, renderList as X, unref as $, createElementVNode as R, isRef as ie } from "vue";
2
2
  import le from "../ButtonV3.vue.js";
3
3
  import I from "../InputField.vue.js";
4
4
  import ce from "../TextAreaV3.vue.js";
@@ -41,7 +41,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
41
41
  },
42
42
  setup(e, { emit: de }) {
43
43
  const ne = de;
44
- let K = E([{}]), B = E([]), C = E(!1), P = E(), re = we().appContext.app.config.globalProperties.$env;
44
+ let K = E([{}]), B = E([]), C = E(!1), P = E(), re = Ve().appContext.app.config.globalProperties.$env;
45
45
  const { formValues: D } = Le(), a = Re({}), r = E([]), A = e;
46
46
  Be(
47
47
  () => {
@@ -99,8 +99,8 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
99
99
  if (!U.trim() || !h(U))
100
100
  return a[l] = "Bitte geben Sie eine gültige URL ein.", !1;
101
101
  case "isVersionOf":
102
- const w = t["@id"] || "";
103
- if (!w.trim() || !h(w))
102
+ const V = t["@id"] || "";
103
+ if (!V.trim() || !h(V))
104
104
  return a[l] = "Bitte geben Sie eine gültige URL ein.", !1;
105
105
  break;
106
106
  case "isReferencedBy":
@@ -182,7 +182,8 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
182
182
  "hasVersion",
183
183
  "isVersionOf",
184
184
  "isReferencedBy",
185
- "references"
185
+ "references",
186
+ "wasGeneratedBy"
186
187
  ].includes(n) && r.value.forEach((l, m) => {
187
188
  Y(l, m) || (t = !1);
188
189
  }), t;
@@ -207,7 +208,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
207
208
  r.value[n] || (r.value[n] = {}), r.value[n]["@value"] = t.pref_label.de || t.pref_label.en, r.value[n].uri = t.resource, setTimeout(() => {
208
209
  Y(r.value[n], n);
209
210
  }, 0);
210
- }, V = (t, n, u, l) => {
211
+ }, w = (t, n, u, l) => {
211
212
  var v;
212
213
  const m = typeof t == "string" ? t : ((v = t == null ? void 0 : t.target) == null ? void 0 : v.value) ?? "";
213
214
  r.value[u] || (r.value[u] = {}), n === "dct:issued" ? r.value[u][l] = $e(m) : r.value[u][l] = m, m != "" && (K.value[0][n] = m), l === "@id" && m != "" && (K.value[0][n] = "https://" + m), setTimeout(() => {
@@ -254,7 +255,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
254
255
  console.log(m);
255
256
  }
256
257
  }
257
- }, Ve = () => {
258
+ }, we = () => {
258
259
  if (!ge())
259
260
  return;
260
261
  const t = r.value.filter(
@@ -281,7 +282,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
281
282
  (i) => i.$formkit !== "group"
282
283
  ), (i, b) => (s(), g(l, { key: b }, {
283
284
  default: J(() => {
284
- var p, U, w, S, F, M, N, W, j, q, _, ee, te, G, L, z, ue, se;
285
+ var p, U, V, S, F, M, N, W, j, q, _, ee, te, G, L, z, ue, se;
285
286
  return [
286
287
  R("div", Ie, [
287
288
  i.$formkit === "url" && e.item.name === "@id" ? (s(), g(I, {
@@ -292,7 +293,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
292
293
  preIcon: !1,
293
294
  showEndIcon: !1,
294
295
  "show-error": !!a[`${e.item.identifier}-${o}`],
295
- onInput: (f) => V(f, e.item.name, o, "@id"),
296
+ onInput: (f) => w(f, e.item.name, o, "@id"),
296
297
  initialHintText: !1,
297
298
  "model-value": (p = r.value[o]) == null ? void 0 : p["@id"],
298
299
  "v-model": (U = r.value[o]) == null ? void 0 : U["@id"]
@@ -305,9 +306,9 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
305
306
  preIcon: !1,
306
307
  showEndIcon: !1,
307
308
  "show-error": !1,
308
- onInput: (f) => V(f, e.item.name, o, i.name),
309
+ onInput: (f) => w(f, e.item.name, o, i.name),
309
310
  initialHintText: !1,
310
- "model-value": (w = r.value[o]) == null ? void 0 : w[i.name],
311
+ "model-value": (V = r.value[o]) == null ? void 0 : V[i.name],
311
312
  "v-model": (S = r.value[o]) == null ? void 0 : S[i.name]
312
313
  }, null, 8, ["label", "placeholder", "onInput", "model-value", "v-model"])) : c("", !0),
313
314
  i.$formkit === "url" && i.label != "Homepage" && i.label != "Contributor Homepage" && e.item.name != "@id" && a[`${e.item.identifier}-${o}`] ? (s(), k("div", Ce, [
@@ -325,7 +326,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
325
326
  preIcon: !1,
326
327
  showEndIcon: !1,
327
328
  "show-error": !!a[`${e.item.identifier}-${o}`],
328
- onInput: (f) => V(f, e.item.name, o, "@value"),
329
+ onInput: (f) => w(f, e.item.name, o, "@value"),
329
330
  initialHintText: !1,
330
331
  "model-value": (F = r.value[o]) == null ? void 0 : F["@value"],
331
332
  "v-model": (M = r.value[o]) == null ? void 0 : M["@value"]
@@ -345,7 +346,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
345
346
  preIcon: !1,
346
347
  showEndIcon: !1,
347
348
  "show-error": i.name === "foaf:name" && !!a[`${e.item.identifier}-${o}`],
348
- onInput: (f) => V(f, e.item.name, o, i.name),
349
+ onInput: (f) => w(f, e.item.name, o, i.name),
349
350
  initialHintText: !1,
350
351
  "model-value": (N = r.value[o]) == null ? void 0 : N[i.name],
351
352
  "v-model": (W = r.value[o]) == null ? void 0 : W[i.name]
@@ -413,7 +414,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
413
414
  infoIcon: !1,
414
415
  preIcon: !1,
415
416
  showEndIcon: !1,
416
- onInput: (f) => V(f, e.item.name, o, "@value"),
417
+ onInput: (f) => w(f, e.item.name, o, "@value"),
417
418
  initialHintText: !1,
418
419
  "model-value": (L = r.value[o]) == null ? void 0 : L["@value"]
419
420
  }, null, 8, ["label", "placeholder", "onInput", "model-value"])) : c("", !0),
@@ -424,7 +425,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
424
425
  infoIcon: !1,
425
426
  preIcon: !1,
426
427
  showEndIcon: !1,
427
- onInput: (f) => V(f, e.item.name, o, i.name),
428
+ onInput: (f) => w(f, e.item.name, o, i.name),
428
429
  initialHintText: !1,
429
430
  "model-value": (ue = r.value[o]) == null ? void 0 : ue[i.name]
430
431
  }, null, 8, ["label", "placeholder", "onInput", "model-value"])) : c("", !0),
@@ -437,7 +438,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
437
438
  preIcon: !1,
438
439
  showEndIcon: !1,
439
440
  "show-error": !1,
440
- onInput: (f) => V(f, e.item.name, o, "@value"),
441
+ onInput: (f) => w(f, e.item.name, o, "@value"),
441
442
  initialHintText: !1,
442
443
  "model-value": (se = r.value[o]) == null ? void 0 : se["@value"]
443
444
  }, null, 8, ["label", "placeholder", "onInput", "model-value"])) : c("", !0)
@@ -473,7 +474,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
473
474
  preIcon: !1,
474
475
  showEndIcon: !1,
475
476
  "show-error": !!a[e.item.identifier],
476
- onInput: n[1] || (n[1] = (i) => V(i, e.item.name, 0, "@value")),
477
+ onInput: n[1] || (n[1] = (i) => w(i, e.item.name, 0, "@value")),
477
478
  initialHintText: !1,
478
479
  "model-value": (d = r.value[0]) == null ? void 0 : d["@value"]
479
480
  }, null, 8, ["label", "placeholder", "show-error", "model-value"])) : c("", !0),
@@ -494,7 +495,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
494
495
  preIcon: !1,
495
496
  showEndIcon: !1,
496
497
  "show-error": !!a[e.item.identifier],
497
- onInput: (w) => V(w, e.item.name, b, i.name),
498
+ onInput: (V) => w(V, e.item.name, b, i.name),
498
499
  initialHintText: !1,
499
500
  "model-value": (p = r.value[b]) == null ? void 0 : p[i.name],
500
501
  "v-model": (U = r.value[b]) == null ? void 0 : U[i.name]
@@ -508,7 +509,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
508
509
  R("span", qe, T(oe.value.message), 1)
509
510
  ])) : c("", !0),
510
511
  e.item.$formkit === "formkitGroup" && e.item.children[0].$formkit === "date" ? (s(!0), k(Z, { key: 4 }, X(e.item.children, (i, b) => {
511
- var p, U, w, S;
512
+ var p, U, V, S;
512
513
  return s(), g(I, {
513
514
  key: b,
514
515
  label: i.label,
@@ -519,10 +520,10 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
519
520
  inputType: "date",
520
521
  showEndIcon: !1,
521
522
  "show-error": !1,
522
- onInput: (F) => V(F, e.item.name, b, i.name),
523
+ onInput: (F) => w(F, e.item.name, b, i.name),
523
524
  initialHintText: !1,
524
525
  "model-value": (U = (p = r.value[b]) == null ? void 0 : p[i.name]) == null ? void 0 : U["@value"],
525
- "v-model": (S = (w = r.value[b]) == null ? void 0 : w[i.name]) == null ? void 0 : S["@value"]
526
+ "v-model": (S = (V = r.value[b]) == null ? void 0 : V[i.name]) == null ? void 0 : S["@value"]
526
527
  }, null, 8, ["label", "placeholder", "onInput", "model-value", "v-model"]);
527
528
  }), 128)) : c("", !0),
528
529
  e.item.$formkit === "auto" ? (s(), g(ae, {
@@ -590,7 +591,7 @@ const Ie = { class: "dpiV3_LinkAndMetadata" }, Ce = {
590
591
  variant: "tertiary"
591
592
  }),
592
593
  y(le, {
593
- onClick: Ve,
594
+ onClick: we,
594
595
  buttonText: "Speichern",
595
596
  size: "large"
596
597
  })