@piveau/dpi 0.2.0-alpha.19 → 0.2.0-alpha.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +62 -56
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue.js +4 -53
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue2.js +58 -0
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +65 -53
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +60 -56
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +1 -1
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +67 -79
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +17 -17
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +411 -318
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +1 -1
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +1 -1
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +103 -71
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +130 -77
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +88 -60
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +111 -74
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +143 -126
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +32 -32
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +64 -48
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js +29 -28
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +46 -41
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +227 -208
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +124 -106
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +113 -108
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +1 -1
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +370 -360
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +464 -182
  32. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +31 -26
  33. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +31 -92
  34. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +183 -126
  35. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +2 -2
  36. package/dist/packages/dpi/src/data-provider-interface/components/ContactPage.vue.js +95 -89
  37. package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +139 -122
  38. package/dist/packages/dpi/src/data-provider-interface/components/DistributionSimplePage.vue.js +618 -525
  39. package/dist/packages/dpi/src/data-provider-interface/components/HVDPage.vue.js +56 -55
  40. package/dist/packages/dpi/src/data-provider-interface/components/PublisherPage.vue.js +94 -89
  41. package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js +247 -238
  42. package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue.js +4 -4
  43. package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue2.js +16 -17
  44. package/dist/packages/dpi/src/data-provider-interface/components/TempResPage.vue.js +122 -104
  45. package/dist/packages/dpi/src/data-provider-interface/components/TempResPageInModal.vue.js +249 -108
  46. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +332 -305
  47. package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyUser.js +89 -55
  48. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +243 -199
  49. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +24 -11
  50. package/dist/packages/dpi/src/data-provider-interface/store/modules/authStore.js +14 -12
  51. package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +317 -288
  52. package/package.json +2 -2
@@ -1,12 +1,16 @@
1
- import { ref as c, onMounted as C, createElementBlock as u, openBlock as r, normalizeClass as y, createBlock as b, createCommentVNode as I, Fragment as h, renderList as k, createElementVNode as L, createVNode as U, unref as n, isRef as A } from "vue";
2
- import R from "../ModalSimpleV3.vue.js";
3
- import P from "../InputField.vue.js";
1
+ import { ref as i, onMounted as R, createElementBlock as c, openBlock as l, normalizeClass as y, createBlock as h, createCommentVNode as p, Fragment as A, renderList as C, createElementVNode as k, createVNode as w, toDisplayString as P, unref as n, isRef as B } from "vue";
2
+ import E from "../ModalSimpleV3.vue.js";
3
+ import D from "../InputField.vue.js";
4
+ import { useFormValues as M } from "../../../composables/useDpiFormValues.js";
4
5
  /* empty css */
5
- import w from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
6
- const B = { class: "dpiV3_LinkAndMetadata" }, M = {
6
+ import S from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
7
+ const T = { class: "dpiV3_LinkAndMetadata" }, F = {
7
8
  key: 0,
8
9
  class: "copy-mini-regular dpiV3_text_error"
9
- }, T = {
10
+ }, N = {
11
+ key: 1,
12
+ class: "copy-mini-regular dpiV3_text_error"
13
+ }, q = {
10
14
  __name: "PolicyV3",
11
15
  props: {
12
16
  policyItems: { type: Array, required: !0 },
@@ -14,52 +18,63 @@ const B = { class: "dpiV3_LinkAndMetadata" }, M = {
14
18
  asCard: { type: Boolean, required: !1, default: !1 }
15
19
  },
16
20
  emits: ["update"],
17
- setup(a, { emit: V }) {
18
- let l = c({});
19
- const i = a, m = V, f = c(!1), g = c(null);
20
- let s = c(!1);
21
- C(() => {
21
+ setup(d, { expose: I, emit: V }) {
22
+ const { formValues: _ } = M();
23
+ let r = i({});
24
+ const u = i({}), s = d, f = V, v = i(!1), g = i(null);
25
+ let m = i(!1);
26
+ R(() => {
22
27
  console.log(
23
28
  "Component Mounted: policyItems received for distributionId:",
24
- i.distributionId
25
- ), i.policyItems.length === 0 && m("update", [
29
+ s.distributionId
30
+ ), s.policyItems.length === 0 && f("update", [
26
31
  {
27
32
  id: 1,
28
33
  "dcat:downloadURL": ""
29
34
  }
30
35
  ]);
31
36
  });
32
- const v = (o) => {
37
+ const U = (o) => {
33
38
  switch (o) {
34
39
  case "delete":
35
- x();
40
+ b();
36
41
  break;
37
42
  }
38
- }, _ = (o, t, e) => {
39
- const d = i.policyItems.map(
40
- (p) => p.id === e ? { ...p, [t]: o.target.value } : p
41
- );
42
- m("update", d);
43
- }, x = () => {
44
- if (i.policyItems.length === 1) {
45
- f.value = !0;
43
+ };
44
+ I({ validateAllItems: () => {
45
+ const o = (e) => {
46
+ if (!e || e.trim() === "") return !1;
47
+ const t = e.trim();
48
+ return /\.[a-zA-Z]{2,}$/.test(t);
49
+ };
50
+ s.policyItems.forEach((e) => {
51
+ const t = e["dcat:downloadURL"] ? e["dcat:downloadURL"].trim() : "";
52
+ t && !o(t) ? u.value[e.id] = "Bitte geben Sie eine gültige URL ein." : delete u.value[e.id];
53
+ });
54
+ } });
55
+ const L = (o, e, t) => {
56
+ let a = i(_.value.DistributionSimple["dcat:distribution"].find((x) => x.id === t));
57
+ a.value.policyItems === void 0 && (a.value.policyItems = [{ "dcat:downloadURL": "" }]), a.value.policyItems[0]["dcat:downloadURL"] = o.target.value;
58
+ }, b = () => {
59
+ if (s.policyItems.length === 1) {
60
+ v.value = !0;
46
61
  return;
47
62
  }
48
- const o = i.policyItems.filter(
49
- (t) => t.id !== g.value.id
63
+ const o = s.policyItems.filter(
64
+ (e) => e.id !== g.value.id
50
65
  );
51
- m("update", o);
66
+ f("update", o);
52
67
  };
53
- return (o, t) => (r(), u("div", {
54
- class: y(["dpiV3_documentationsWrap", { dpiV3_docAllAsCard: a.asCard }])
68
+ return (o, e) => (l(), c("div", {
69
+ class: y(["dpiV3_documentationsWrap", { dpiV3_docAllAsCard: d.asCard }])
55
70
  }, [
56
- (r(!0), u(h, null, k(a.policyItems, (e) => (r(), u("div", {
57
- key: e.id,
58
- class: y(["dpiV3AutoCompleteWrap", { dpiV3_docAsCard: a.asCard }])
71
+ (l(!0), c(A, null, C(d.policyItems, (t) => (l(), c("div", {
72
+ key: t.id,
73
+ class: y(["dpiV3AutoCompleteWrap", { dpiV3_docAsCard: d.asCard }])
59
74
  }, [
60
- L("div", B, [
61
- U(P, {
62
- onInput: (d) => _(d, "dcat:downloadURL", e.id),
75
+ k("div", T, [
76
+ w(D, {
77
+ onInput: (a) => L(a, "dcat:downloadURL", t.id),
63
78
  addOnText: !1,
64
79
  datePicker: !1,
65
80
  infoIcon: !1,
@@ -69,25 +84,26 @@ const B = { class: "dpiV3_LinkAndMetadata" }, M = {
69
84
  initialHintText: !1,
70
85
  label: "URL",
71
86
  showEndIcon: !1,
72
- modelValue: e["dcat:downloadURL"],
73
- "onUpdate:modelValue": (d) => e["dcat:downloadURL"] = d
87
+ modelValue: t["dcat:downloadURL"],
88
+ "onUpdate:modelValue": (a) => t["dcat:downloadURL"] = a
74
89
  }, null, 8, ["onInput", "modelValue", "onUpdate:modelValue"]),
75
- f.value && a.policyItems.length === 1 ? (r(), u("p", M, " Mindestens eine URL muss vorhanden sein. ")) : I("", !0)
90
+ u.value[t.id] ? (l(), c("p", F, P(u.value[t.id]), 1)) : p("", !0),
91
+ v.value && d.policyItems.length === 1 ? (l(), c("p", N, " Mindestens eine URL muss vorhanden sein. ")) : p("", !0)
76
92
  ])
77
93
  ], 2))), 128)),
78
- n(s) ? (r(), b(R, {
94
+ n(m) ? (l(), h(E, {
79
95
  key: 0,
80
- buttons: n(l).button,
81
- headerText: n(l).header,
82
- text: n(l).text,
83
- onClose: t[0] || (t[0] = (e) => A(s) ? s.value = !1 : s = !1),
84
- action: n(l).action,
85
- onActionHandling: t[1] || (t[1] = (e) => v(e)),
86
- optionalString_1: n(l).optionalString_1
87
- }, null, 8, ["buttons", "headerText", "text", "action", "optionalString_1"])) : I("", !0)
96
+ buttons: n(r).button,
97
+ headerText: n(r).header,
98
+ text: n(r).text,
99
+ onClose: e[0] || (e[0] = (t) => B(m) ? m.value = !1 : m = !1),
100
+ action: n(r).action,
101
+ onActionHandling: e[1] || (e[1] = (t) => U(t)),
102
+ optionalString_1: n(r).optionalString_1
103
+ }, null, 8, ["buttons", "headerText", "text", "action", "optionalString_1"])) : p("", !0)
88
104
  ], 2));
89
105
  }
90
- }, z = /* @__PURE__ */ w(T, [["__scopeId", "data-v-9c3e343e"]]);
106
+ }, G = /* @__PURE__ */ S(q, [["__scopeId", "data-v-389f6598"]]);
91
107
  export {
92
- z as default
108
+ G as default
93
109
  };
@@ -1,7 +1,7 @@
1
- import { ref as i, onMounted as f, getCurrentInstance as m, watch as v, createBlock as S, openBlock as b } from "vue";
2
- import { getDatasetStatus as x } from "../../services/dpiV3_apis.js";
3
- import w from "../Dropdown.vue.js";
4
- const V = {
1
+ import { ref as d, onMounted as f, getCurrentInstance as v, watch as m, createBlock as S, openBlock as b } from "vue";
2
+ import { getDatasetStatus as g } from "../../services/dpiV3_apis.js";
3
+ import x from "../Dropdown.vue.js";
4
+ const T = {
5
5
  __name: "StatusV3",
6
6
  props: {
7
7
  distributionId: { type: Number, required: !1 },
@@ -9,41 +9,42 @@ const V = {
9
9
  statusText: { type: String, default: "" }
10
10
  },
11
11
  emits: ["addStatus", "deleteButtonClicked"],
12
- setup(n, { emit: r }) {
13
- const s = i([]);
12
+ setup(u, { emit: i }) {
13
+ const l = d([]);
14
14
  f(async () => {
15
- const e = m().appContext.app.config.globalProperties.$env;
15
+ const t = v().appContext.app.config.globalProperties.$env;
16
16
  try {
17
- const t = await x(e.api.baseUrl);
18
- s.value = t.map((u) => ({
19
- "@value": u.label,
20
- value: u.value,
17
+ const e = await g(t.api.baseUrl);
18
+ console.log(e), l.value = e.flatMap((o) => o.value === "OP_DATPRO" ? [] : o.value === "DEVELOP" ? [] : o.value === "DISCONT" ? [] : [{
19
+ "@value": o.label,
20
+ uri: o.resource,
21
21
  selected: !1
22
- }));
23
- } catch (t) {
24
- console.error("Failed to load dataset status data:", t);
22
+ }]);
23
+ } catch (e) {
24
+ console.error("Failed to load dataset status data:", e);
25
25
  }
26
26
  });
27
- const o = n, l = i(o.statusText), d = r, p = (a) => {
28
- d("addStatus", a, o.distributionId);
27
+ const n = u, s = d(n.statusText), r = i, p = (a) => {
28
+ const t = l.value.find((e) => e["@value"] === a);
29
+ console.log(t, l), r("addStatus", t, n.distributionId);
29
30
  };
30
- v(
31
- () => o.statusText,
31
+ m(
32
+ () => n.statusText,
32
33
  (a) => {
33
- l.value = a;
34
+ s.value = a;
34
35
  }
35
36
  );
36
37
  const c = () => {
37
- d("deleteButtonClicked", o.distributionId);
38
+ r("deleteButtonClicked", n.distributionId);
38
39
  };
39
- return (a, e) => (b(), S(w, {
40
+ return (a, t) => (b(), S(x, {
40
41
  "onUpdate:modelValue": [
41
- e[0] || (e[0] = (t) => p(t)),
42
- e[1] || (e[1] = (t) => l.value = t)
42
+ t[0] || (t[0] = (e) => p(e)),
43
+ t[1] || (t[1] = (e) => s.value = e)
43
44
  ],
44
45
  dropdownWidth: "large",
45
46
  type: "inputField",
46
- modelValue: l.value,
47
+ modelValue: s.value,
47
48
  inputFieldProps: {
48
49
  addOnText: !1,
49
50
  initialHintText: !1,
@@ -54,14 +55,14 @@ const V = {
54
55
  dropdown_dpiV3: !0,
55
56
  placeholder: "Geben Sie den Status ein...",
56
57
  inputFieldSize: "large",
57
- modelValue: l.value,
58
- defaultInput: !n.showDeleteButton
58
+ modelValue: s.value,
59
+ defaultInput: !u.showDeleteButton
59
60
  },
60
- data: s.value,
61
+ data: l.value,
61
62
  onDeleteDropdownField: c
62
63
  }, null, 8, ["modelValue", "inputFieldProps", "data"]));
63
64
  }
64
65
  };
65
66
  export {
66
- V as default
67
+ T as default
67
68
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./DatasetForm.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6f847a91"]]);
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fb053e09"]]);
5
5
  export {
6
- f as default
6
+ e as default
7
7
  };
@@ -1,57 +1,61 @@
1
- import { defineComponent as w, watch as k, createElementBlock as I, openBlock as _, createElementVNode as t, createVNode as l, mergeProps as B, unref as m, isRef as R, withCtx as D } from "vue";
2
- import { toTypedSchema as a } from "../../../../../../../node_modules/.pnpm/@vee-validate_zod@4.15.1_vue@3.5.18_typescript@5.8.3__zod@3.25.76/node_modules/@vee-validate/zod/dist/vee-validate-zod.js";
3
- import { useForm as j } from "vee-validate";
1
+ import { defineComponent as F, watch as _, computed as k, createElementBlock as I, openBlock as B, createElementVNode as t, createVNode as l, mergeProps as R, unref as b, isRef as j, withCtx as A } from "vue";
2
+ import { toTypedSchema as C } from "../../../../../../../node_modules/.pnpm/@vee-validate_zod@4.15.1_vue@3.5.18_typescript@5.8.3__zod@3.25.76/node_modules/@vee-validate/zod/dist/vee-validate-zod.js";
3
+ import { useForm as E } from "vee-validate";
4
+ import { useRouter as N } from "vue-router";
4
5
  import * as v from "zod";
5
- import A from "../Autocomplete/AutocompleteVocab.vue.js";
6
- import C from "../ButtonV3.vue.js";
7
- import E from "./RichOption.vue.js";
8
- import { RouterLink as N } from "vue-router";
9
- const P = { class: "dpi-project-process-step V3-typography" }, W = { class: "step-section" }, K = { class: "step-section-actions" }, H = /* @__PURE__ */ w({
6
+ import P from "../Autocomplete/AutocompleteVocab.vue.js";
7
+ import W from "../ButtonV3.vue.js";
8
+ import H from "./RichOption.vue.js";
9
+ const K = { class: "dpi-project-process-step V3-typography" }, O = { class: "step-section" }, T = { class: "step-section-actions" }, U = ["href"], X = /* @__PURE__ */ F({
10
10
  __name: "DatasetForm",
11
11
  props: {
12
12
  exclude: { default: () => [] }
13
13
  },
14
14
  emits: ["submit"],
15
- setup(z, { emit: S }) {
16
- const g = z, V = S, x = v.object({ id: v.string() }), { defineField: y } = j({
17
- validationSchema: a(x),
15
+ setup(D, { emit: g }) {
16
+ const z = D, S = g, V = v.object({ id: v.string() }), { defineField: a } = E({
17
+ validationSchema: C(V),
18
18
  initialValues: { id: "" },
19
19
  name: "datasetForm"
20
- }), [i, F] = y("id");
21
- return k(i, (u) => {
22
- const n = String(u || "").trim();
23
- n && V("submit", { id: n });
24
- }), (u, n) => (_(), I("div", P, [
25
- t("section", W, [
20
+ }), [r, w] = a("id");
21
+ _(r, (m) => {
22
+ const n = String(m || "").trim();
23
+ n && S("submit", { id: n });
24
+ });
25
+ const x = N(), y = k(
26
+ () => x.resolve({ name: "DataProviderInterface-Input", params: { property: "datasets" } }).href
27
+ );
28
+ return (m, n) => (B(), I("div", K, [
29
+ t("section", O, [
26
30
  n[1] || (n[1] = t("h5", null, "Wählen Sie einen bestehenden Datensatz", -1)),
27
31
  n[2] || (n[2] = t("p", null, "Falls der Datensatz schon in unserem System existiert, können Sie ihn hier auswählen.", -1)),
28
- l(A, B({
29
- modelValue: m(i),
30
- "onUpdate:modelValue": n[0] || (n[0] = (e) => R(i) ? i.value = e : null)
31
- }, m(F), {
32
+ l(P, R({
33
+ modelValue: b(r),
34
+ "onUpdate:modelValue": n[0] || (n[0] = (e) => j(r) ? r.value = e : null)
35
+ }, b(w), {
32
36
  "base-url": "https://twin.bydata.de/api/hub/search",
33
37
  resource: "dataset",
34
38
  label: "",
35
39
  placeholder: "Wählen Sie einen Datensatz.",
36
40
  name: "dataset",
37
41
  "setup-fn": (e) => {
38
- var s, r, o, p, c, f, h, d, b;
42
+ var s, i, o, u, p, c, f, h, d;
39
43
  return {
40
44
  id: e == null ? void 0 : e.id,
41
- name: ((s = e == null ? void 0 : e.title) == null ? void 0 : s.de) || ((r = e == null ? void 0 : e.title) == null ? void 0 : r.en) || (e == null ? void 0 : e.id),
42
- description: ((o = e == null ? void 0 : e.description) == null ? void 0 : o.de) || ((p = e == null ? void 0 : e.description) == null ? void 0 : p.en),
43
- manufacturer: ((f = (c = e == null ? void 0 : e.publisher) == null ? void 0 : c.name) == null ? void 0 : f.de) || ((d = (h = e == null ? void 0 : e.publisher) == null ? void 0 : h.name) == null ? void 0 : d.en) || ((b = e == null ? void 0 : e.publisher) == null ? void 0 : b.name),
44
- unavailable: g.exclude.includes(e == null ? void 0 : e.id)
45
+ name: ((s = e == null ? void 0 : e.title) == null ? void 0 : s.de) || ((i = e == null ? void 0 : e.title) == null ? void 0 : i.en) || (e == null ? void 0 : e.id),
46
+ description: ((o = e == null ? void 0 : e.description) == null ? void 0 : o.de) || ((u = e == null ? void 0 : e.description) == null ? void 0 : u.en),
47
+ manufacturer: ((c = (p = e == null ? void 0 : e.publisher) == null ? void 0 : p.name) == null ? void 0 : c.de) || ((h = (f = e == null ? void 0 : e.publisher) == null ? void 0 : f.name) == null ? void 0 : h.en) || ((d = e == null ? void 0 : e.publisher) == null ? void 0 : d.name),
48
+ unavailable: z.exclude.includes(e == null ? void 0 : e.id)
45
49
  };
46
50
  }
47
51
  }), {
48
- option: D(({ option: e, active: s, selected: r, disabled: o }) => [
49
- l(E, {
52
+ option: A(({ option: e, active: s, selected: i, disabled: o }) => [
53
+ l(H, {
50
54
  name: e.name,
51
55
  manufacturer: e.manufacturer,
52
56
  description: e.description,
53
57
  active: s,
54
- selected: r,
58
+ selected: i,
55
59
  disabled: o
56
60
  }, null, 8, ["name", "manufacturer", "description", "active", "selected", "disabled"])
57
61
  ]),
@@ -59,22 +63,23 @@ const P = { class: "dpi-project-process-step V3-typography" }, W = { class: "ste
59
63
  }, 16, ["modelValue", "setup-fn"]),
60
64
  n[3] || (n[3] = t("h5", null, "oder", -1)),
61
65
  n[4] || (n[4] = t("p", null, " Sollte der verwendete Datensatz noch nicht im Katalog verfügbar sein, legen Sie einen neuen Datensatz an. Der Datensatz kann zugeordnet werden, sobald er veröffentlicht ist. ", -1)),
62
- t("div", K, [
63
- l(m(N), { to: { name: "DataProviderInterface-Input", params: { property: "datasets" } } }, {
64
- default: D(() => [
65
- l(C, {
66
- "button-text": "Zur Datensatzanlage",
67
- size: "medium",
68
- variant: "secondary"
69
- })
70
- ]),
71
- _: 1
72
- })
66
+ t("div", T, [
67
+ t("a", {
68
+ href: y.value,
69
+ target: "_blank",
70
+ rel: "noopener noreferrer"
71
+ }, [
72
+ l(W, {
73
+ "button-text": "Zur Datensatzanlage",
74
+ size: "medium",
75
+ variant: "secondary"
76
+ })
77
+ ], 8, U)
73
78
  ])
74
79
  ])
75
80
  ]));
76
81
  }
77
82
  });
78
83
  export {
79
- H as default
84
+ X as default
80
85
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./HardwareForm.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-cfb3800e"]]);
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b946f96b"]]);
5
5
  export {
6
- e as default
6
+ f as default
7
7
  };