@piveau/dpi 0.2.0-alpha.5 → 0.2.0-alpha.6

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 (17) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js +1 -1
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/AreYouSureToSkipCard.vue.js +31 -0
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/AreYouSureToSkipCard.vue2.js +4 -0
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +1 -1
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +62 -55
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js +2 -2
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue2.js +76 -69
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +2 -2
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +83 -94
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/utils.js +27 -42
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js +1 -1
  13. package/dist/packages/dpi/src/data-provider-interface/components/ProgressSteps.vue.js +1 -1
  14. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  15. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +52 -45
  16. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +250 -224
  17. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import o from "./Listbox.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c6c8da16"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e664b9ea"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -0,0 +1,31 @@
1
+ import { defineComponent as o, createBlock as i, openBlock as a, withCtx as e, createElementVNode as t, toDisplayString as d, createTextVNode as s, createVNode as l, unref as p } from "vue";
2
+ import { PhLightbulb as c } from "@phosphor-icons/vue";
3
+ import u from "../Card.vue.js";
4
+ const m = { class: "application-information" }, b = /* @__PURE__ */ o({
5
+ __name: "AreYouSureToSkipCard",
6
+ props: {
7
+ resourceLabel: {}
8
+ },
9
+ setup(f) {
10
+ return (n, r) => (a(), i(u, { variant: "default" }, {
11
+ icon: e(() => [
12
+ l(p(c), {
13
+ size: 32,
14
+ color: "#009fe3"
15
+ })
16
+ ]),
17
+ title: e(() => r[0] || (r[0] = [
18
+ s(" Vorsicht ", -1)
19
+ ])),
20
+ default: e(() => [
21
+ t("div", m, [
22
+ t("p", null, " Sind Sie sicher, dass Sie die Angabe der verwendeten " + d(n.resourceLabel) + " überspringen wollen? Jedem Schritt muss mindestens eine Software, ein Datensatz oder eine Hardware zugeordnet werden, die verwendet wurden. ", 1)
23
+ ])
24
+ ]),
25
+ _: 1
26
+ }));
27
+ }
28
+ });
29
+ export {
30
+ b as default
31
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./AreYouSureToSkipCard.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,7 +1,7 @@
1
1
  import t from "./DatasetStep.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-026ff163"]]);
4
+ const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-df1f1d4a"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,43 +1,44 @@
1
- import { defineComponent as B, ref as H, computed as p, toRef as A, createBlock as l, openBlock as a, withCtx as i, createVNode as o, createElementBlock as f, createElementVNode as v, unref as u, isRef as I, Fragment as C, renderList as M, createCommentVNode as b, createTextVNode as d, toDisplayString as S } from "vue";
2
- import { FormKit as g } from "@formkit/vue";
1
+ import { defineComponent as A, ref as C, computed as p, toRef as H, createBlock as l, openBlock as s, withCtx as i, createVNode as o, createElementBlock as f, createElementVNode as v, unref as u, isRef as I, Fragment as $, renderList as M, createCommentVNode as _, createTextVNode as d, toDisplayString as D } from "vue";
2
+ import { FormKit as k } from "@formkit/vue";
3
3
  import { schemaDataset as N } from "@piveau/sdk-core";
4
- import { defineHubSearch as $, dcatApDataset as G } from "@piveau/sdk-vue";
5
- import O from "../../../components/StepActionsSection.vue.js";
6
- import T from "../ActionCard.vue.js";
7
- import E from "../Card.vue.js";
8
- import _ from "../SummaryBox.vue.js";
9
- import P from "./DatasetForm.vue.js";
10
- import U from "./ProcessStepBase.vue.js";
4
+ import { defineHubSearch as G, dcatApDataset as O } from "@piveau/sdk-vue";
5
+ import T from "../../../components/StepActionsSection.vue.js";
6
+ import E from "../ActionCard.vue.js";
7
+ import P from "../Card.vue.js";
8
+ import S from "../SummaryBox.vue.js";
9
+ import U from "./AreYouSureToSkipCard.vue.js";
10
+ import F from "./DatasetForm.vue.js";
11
+ import L from "./ProcessStepBase.vue.js";
11
12
  /* empty css */
12
- import { useProcessStepResources as F, ensureHasOneResource as L } from "./utils.js";
13
- const K = {
13
+ import { useProcessStepResources as K, ensureHasOneResource as W } from "./utils.js";
14
+ const j = {
14
15
  key: 0,
15
16
  class: "software-step__card-list--empty"
16
- }, W = {
17
+ }, q = {
17
18
  key: 1,
18
19
  class: "software-step__card-list"
19
- }, j = { class: "step-section step-section--lg" }, q = { class: "" }, le = /* @__PURE__ */ B({
20
+ }, J = { class: "step-section step-section--lg" }, Q = { class: "" }, ce = /* @__PURE__ */ A({
20
21
  __name: "DatasetStep",
21
22
  props: {
22
23
  stepGroup: {},
23
24
  edit: { type: Boolean }
24
25
  },
25
- setup(k) {
26
- const y = k, s = H([]), { useResources: x } = $({
26
+ setup(g) {
27
+ const h = g, r = C([]), { useResources: z } = G({
27
28
  baseUrl: "https://twin.bydata.de/api/hub/search",
28
29
  index: "dataset",
29
30
  indexDetails: "datasets",
30
31
  schema: N
31
32
  }, (n, e) => {
32
- const { setup: r } = G({});
33
- return r(n, {
33
+ const { setup: a } = O({});
34
+ return a(n, {
34
35
  ...e,
35
36
  currentLocale: "de"
36
37
  });
37
- }), D = x(p(() => s.value.map((n) => ({
38
+ }), y = z(p(() => r.value.map((n) => ({
38
39
  resourceId: n.id
39
- })))), z = p(() => D.value.every((n) => n.isSuccess)), h = p(() => z.value ? D.value.map((n) => {
40
- const e = n.resultEnhanced, r = e == null ? void 0 : e.getPublisher, t = e == null ? void 0 : e.getModified, m = `${r == null ? void 0 : r.name}, ${t}`;
40
+ })))), x = p(() => y.value.every((n) => n.isSuccess)), b = p(() => x.value ? y.value.map((n) => {
41
+ const e = n.resultEnhanced, a = e == null ? void 0 : e.getPublisher, t = e == null ? void 0 : e.getModified, m = `${a == null ? void 0 : a.name}, ${t}`;
41
42
  return {
42
43
  // The ones that come from API
43
44
  id: e == null ? void 0 : e.getId,
@@ -46,82 +47,84 @@ const K = {
46
47
  manufacturer: m
47
48
  };
48
49
  }) : []);
49
- function w(n) {
50
- return s.value.findIndex((e) => e.id === n);
51
- }
52
50
  function V(n) {
53
- const e = w(n);
54
- e !== -1 && s.value.splice(e, 1);
51
+ return r.value.findIndex((e) => e.id === n);
52
+ }
53
+ function w(n) {
54
+ const e = V(n);
55
+ e !== -1 && r.value.splice(e, 1);
55
56
  }
56
57
  function R(n) {
57
- s.value.push(n);
58
+ r.value.push(n);
58
59
  }
59
- const { model: c } = F(y.stepGroup || "", A(y.edit));
60
- return (n, e) => (a(), l(U, {
61
- title: "Geben Sie Informationen zur verwendeten Hardware an",
60
+ const { count: c, realCount: B } = K(h.stepGroup || "", H(h.edit));
61
+ return (n, e) => (s(), l(L, {
62
+ title: "Geben Sie Informationen zu verwendeten Datensätzen an",
62
63
  subtitle: "Geben Sie an, welche Datensätze Sie für diesen Prozessschritt verwendet haben. Sie können entweder einen bestehenden Datensatz auswählen oder einen Datensatz neu anlegen. Wenn Sie einen Datensatz neu anlegen, haben Sie die Möglichkeit die Sichtbarkeit des Datensatzes einzuschränken."
63
64
  }, {
64
- default: i(({ confirm: r }) => [
65
- o(u(g), {
65
+ default: i(({ confirm: a }) => [
66
+ o(u(k), {
66
67
  modelValue: u(c),
67
68
  "onUpdate:modelValue": e[0] || (e[0] = (t) => I(c) ? c.value = t : null),
68
- type: "group",
69
+ type: "hidden",
70
+ name: "__resourceCount",
71
+ hidden: "",
69
72
  "aria-hidden": "",
70
- "validation-rules": { ensureHasOneResource: u(L) },
73
+ "validation-rules": { ensureHasOneResource: u(W) },
71
74
  validation: "+ensureHasOneResource",
72
75
  "validation-visibility": "live",
73
76
  "validation-messages": { ensureHasOneResource: "Sie müssen pro Schritt mindestens eine Software, einen Datensatz oder eine Hardware zuordnen, um fortfahren zu können." }
74
77
  }, null, 8, ["modelValue", "validation-rules"]),
75
- o(u(g), {
76
- modelValue: s.value,
77
- "onUpdate:modelValue": e[1] || (e[1] = (t) => s.value = t),
78
+ o(u(k), {
79
+ modelValue: r.value,
80
+ "onUpdate:modelValue": e[1] || (e[1] = (t) => r.value = t),
78
81
  name: "selected",
79
82
  type: "list",
80
83
  hidden: "",
81
84
  "aria-hidden": ""
82
85
  }, null, 8, ["modelValue"]),
83
- h.value.length ? (a(), f("section", W, [
84
- (a(!0), f(C, null, M(h.value, (t, m) => (a(), l(T, {
86
+ b.value.length ? (s(), f("section", q, [
87
+ (s(!0), f($, null, M(b.value, (t, m) => (s(), l(E, {
85
88
  key: m,
86
89
  class: "software-card",
87
90
  "no-edit": !0,
88
- onDelete: (J) => r({ id: t.id || "", resourceType: "Software", resource: t.name, callback: V })
91
+ onDelete: (X) => a({ id: t.id || "", resourceType: "Software", resource: t.name, callback: w })
89
92
  }, {
90
93
  "standalone-name": i(() => e[3] || (e[3] = [
91
94
  d(" Datensatz ", -1)
92
95
  ])),
93
96
  default: i(() => [
94
- v("div", j, [
95
- o(_, { title: "Name" }, {
97
+ v("div", J, [
98
+ o(S, { title: "Name" }, {
96
99
  default: i(() => [
97
- d(S(t.name), 1)
100
+ d(D(t.name), 1)
98
101
  ]),
99
102
  _: 2
100
103
  }, 1024),
101
- t.manufacturer ? (a(), l(_, {
104
+ t.manufacturer ? (s(), l(S, {
102
105
  key: 0,
103
106
  title: "Datenbereitsteller, Aktualisiert"
104
107
  }, {
105
108
  default: i(() => [
106
- d(S(t.manufacturer), 1)
109
+ d(D(t.manufacturer), 1)
107
110
  ]),
108
111
  _: 2
109
- }, 1024)) : b("", !0),
110
- t.description ? (a(), l(_, {
112
+ }, 1024)) : _("", !0),
113
+ t.description ? (s(), l(S, {
111
114
  key: 1,
112
115
  title: "Beschreibung"
113
116
  }, {
114
117
  default: i(() => [
115
- d(S(t.description), 1)
118
+ d(D(t.description), 1)
116
119
  ]),
117
120
  _: 2
118
- }, 1024)) : b("", !0)
121
+ }, 1024)) : _("", !0)
119
122
  ])
120
123
  ]),
121
124
  _: 2
122
125
  }, 1032, ["onDelete"]))), 128))
123
- ])) : (a(), f("section", K, [
124
- o(E, {
126
+ ])) : (s(), f("section", j, [
127
+ o(P, {
125
128
  small: "",
126
129
  class: "empty-card"
127
130
  }, {
@@ -132,12 +135,16 @@ const K = {
132
135
  __: [2]
133
136
  })
134
137
  ])),
135
- o(P, {
136
- exclude: s.value.map((t) => t.id),
138
+ o(F, {
139
+ exclude: r.value.map((t) => t.id),
137
140
  onSubmit: R
138
141
  }, null, 8, ["exclude"]),
139
- v("section", q, [
140
- o(O)
142
+ v("section", Q, [
143
+ o(T),
144
+ u(B) === 0 ? (s(), l(U, {
145
+ key: 0,
146
+ "resource-label": "Datensätze"
147
+ })) : _("", !0)
141
148
  ])
142
149
  ]),
143
150
  _: 1
@@ -145,5 +152,5 @@ const K = {
145
152
  }
146
153
  });
147
154
  export {
148
- le as default
155
+ ce as default
149
156
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./HardwareStep.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-f2c65cd6"]]);
4
+ const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-f5825d3b"]]);
5
5
  export {
6
- c as default
6
+ e as default
7
7
  };
@@ -1,38 +1,39 @@
1
- import { defineComponent as Q, ref as w, computed as x, watch as X, toRef as Y, createBlock as d, openBlock as i, withCtx as s, createVNode as p, createElementBlock as o, createElementVNode as H, unref as _, isRef as ee, Fragment as m, renderList as f, createCommentVNode as v, createTextVNode as B, toDisplayString as y, nextTick as te } from "vue";
2
- import { FormKit as O } from "@formkit/vue";
3
- import { defineHubSearch as re } from "@piveau/sdk-vue";
4
- import ne from "zod";
5
- import ie from "../../../components/StepActionsSection.vue.js";
6
- import le from "../ActionCard.vue.js";
7
- import oe from "../Card.vue.js";
8
- import ue from "../Chip.vue.js";
9
- import se from "../DpiModalBase.vue.js";
10
- import c from "../SummaryBox.vue.js";
11
- import $ from "./HardwareForm.vue.js";
12
- import ae from "./ProcessStepBase.vue.js";
1
+ import { defineComponent as X, ref as w, computed as _, watch as Y, toRef as ee, createBlock as d, openBlock as i, withCtx as s, createVNode as m, createElementBlock as o, createElementVNode as H, unref as x, isRef as te, Fragment as f, renderList as v, createCommentVNode as c, createTextVNode as B, toDisplayString as y, nextTick as re } from "vue";
2
+ import { FormKit as $ } from "@formkit/vue";
3
+ import { defineHubSearch as ne } from "@piveau/sdk-vue";
4
+ import ie from "zod";
5
+ import le from "../../../components/StepActionsSection.vue.js";
6
+ import oe from "../ActionCard.vue.js";
7
+ import ue from "../Card.vue.js";
8
+ import se from "../Chip.vue.js";
9
+ import ae from "../DpiModalBase.vue.js";
10
+ import p from "../SummaryBox.vue.js";
11
+ import de from "./AreYouSureToSkipCard.vue.js";
12
+ import O from "./HardwareForm.vue.js";
13
+ import ce from "./ProcessStepBase.vue.js";
13
14
  /* empty css */
14
- import { looseRenderable as h, useProcessStepResources as de, ensureHasOneResource as ce } from "./utils.js";
15
- const pe = {
15
+ import { looseRenderable as h, useProcessStepResources as pe, ensureHasOneResource as me } from "./utils.js";
16
+ const fe = {
16
17
  key: 0,
17
18
  class: "software-step__card-list--empty"
18
- }, me = {
19
+ }, ve = {
19
20
  key: 1,
20
21
  class: "software-step__card-list"
21
- }, fe = { class: "step-section step-section--lg" }, ve = { class: "functionalities" }, Re = /* @__PURE__ */ Q({
22
+ }, ye = { class: "step-section step-section--lg" }, he = { class: "functionalities" }, Ce = /* @__PURE__ */ X({
22
23
  __name: "HardwareStep",
23
24
  props: {
24
25
  stepGroup: {},
25
26
  edit: { type: Boolean }
26
27
  },
27
28
  setup(A) {
28
- const z = A, S = w(!1), u = w([]), { useResources: F } = re({
29
+ const z = A, S = w(!1), u = w([]), { useResources: F } = ne({
29
30
  baseUrl: "https://twin.bydata.de/api/hub/search",
30
31
  index: "resource",
31
32
  indexDetails: "resources/hardware",
32
- schema: ne.any()
33
+ schema: ie.any()
33
34
  }, (e) => {
34
- var T, E, N, C, G, U;
35
- const t = String((e == null ? void 0 : e.id) || ""), n = String(((T = e == null ? void 0 : e.name) == null ? void 0 : T.de) || ((E = e == null ? void 0 : e.name) == null ? void 0 : E.en) || ""), r = (e == null ? void 0 : e.functionalities) || [], V = String(((C = (N = e == null ? void 0 : e.manufacturer) == null ? void 0 : N[0]) == null ? void 0 : C.label) || ""), l = String(((G = e == null ? void 0 : e.description) == null ? void 0 : G.de) || ((U = e == null ? void 0 : e.description) == null ? void 0 : U.en) || ""), a = String((e == null ? void 0 : e.version) || "");
35
+ var T, C, E, N, G, U;
36
+ const t = String((e == null ? void 0 : e.id) || ""), n = String(((T = e == null ? void 0 : e.name) == null ? void 0 : T.de) || ((C = e == null ? void 0 : e.name) == null ? void 0 : C.en) || ""), r = (e == null ? void 0 : e.functionalities) || [], V = String(((N = (E = e == null ? void 0 : e.manufacturer) == null ? void 0 : E[0]) == null ? void 0 : N.label) || ""), l = String(((G = e == null ? void 0 : e.description) == null ? void 0 : G.de) || ((U = e == null ? void 0 : e.description) == null ? void 0 : U.en) || ""), a = String((e == null ? void 0 : e.version) || "");
36
37
  return {
37
38
  id: t,
38
39
  name: n,
@@ -41,9 +42,9 @@ const pe = {
41
42
  description: l,
42
43
  version: a
43
44
  };
44
- }), I = F(x(() => u.value.map((e) => ({
45
+ }), I = F(_(() => u.value.map((e) => ({
45
46
  resourceId: e.id
46
- })))), W = x(() => I.value.every((e) => e.isSuccess)), D = x(() => W.value ? I.value.map((e) => {
47
+ })))), W = _(() => I.value.every((e) => e.isSuccess)), D = _(() => W.value ? I.value.map((e) => {
47
48
  const t = e.resultEnhanced, n = u.value.find((r) => r.id === (t == null ? void 0 : t.id));
48
49
  return {
49
50
  // The ones that come from API
@@ -63,8 +64,8 @@ const pe = {
63
64
  isHostedByItems: h(n == null ? void 0 : n.isHostedBy),
64
65
  hosts: h(n == null ? void 0 : n.hosts)
65
66
  };
66
- }) : []), k = w(""), L = x(() => u.value.find((e) => e.id === k.value)), g = w(0);
67
- X(S, (e, t) => {
67
+ }) : []), k = w(""), L = _(() => u.value.find((e) => e.id === k.value)), g = w(0);
68
+ Y(S, (e, t) => {
68
69
  !e && t && g.value++;
69
70
  });
70
71
  function M(e) {
@@ -78,7 +79,7 @@ const pe = {
78
79
  t !== -1 && u.value.splice(t, 1);
79
80
  }
80
81
  async function Z(e) {
81
- M(e) && (k.value = e, g.value++, await te(), S.value = !0);
82
+ M(e) && (k.value = e, g.value++, await re(), S.value = !0);
82
83
  }
83
84
  function P(e) {
84
85
  u.value.push(e), S.value = !1, k.value = "";
@@ -87,31 +88,33 @@ const pe = {
87
88
  const t = R(e.id);
88
89
  t !== -1 && (u.value.splice(t, 1), u.value.splice(t, 0, e.hardware), k.value = "", S.value = !1);
89
90
  }
90
- const q = x(() => u.value.length > 0 ? "Weiter" : "Weiter ohne Hardware"), J = x(() => u.value.length > 0 ? "primary" : "secondary"), { model: b } = de(z.stepGroup || "", Y(z.edit));
91
- return (e, t) => (i(), d(ae, {
91
+ const q = _(() => u.value.length > 0 ? "Weiter" : "Weiter ohne Hardware"), J = _(() => u.value.length > 0 ? "primary" : "secondary"), { count: b, realCount: Q } = pe(z.stepGroup || "", ee(z.edit));
92
+ return (e, t) => (i(), d(ce, {
92
93
  title: "Geben Sie Informationen zur verwendeten Hardware an",
93
94
  subtitle: "Die Hardware wird zentral von uns verwaltet. Sie können in diesem Schritt auswählen, welche Hardware Sie verwendet haben. Sobald Sie eine Hardware zugeordnet haben, geben Sie bitte an, wie die Hardware in diesem Schritt eingesetzt wurde."
94
95
  }, {
95
96
  default: s(({ confirm: n }) => [
96
- p(_(O), {
97
- modelValue: _(b),
98
- "onUpdate:modelValue": t[0] || (t[0] = (r) => ee(b) ? b.value = r : null),
99
- type: "group",
97
+ m(x($), {
98
+ modelValue: x(b),
99
+ "onUpdate:modelValue": t[0] || (t[0] = (r) => te(b) ? b.value = r : null),
100
+ type: "hidden",
101
+ name: "__resourceCount",
102
+ hidden: "",
100
103
  "aria-hidden": "",
101
- "validation-rules": { ensureHasOneResource: _(ce) },
104
+ "validation-rules": { ensureHasOneResource: x(me) },
102
105
  validation: "+ensureHasOneResource",
103
106
  "validation-visibility": "live",
104
107
  "validation-messages": { ensureHasOneResource: "Sie müssen pro Schritt mindestens eine Software, einen Datensatz oder eine Hardware zuordnen, um fortfahren zu können." }
105
108
  }, null, 8, ["modelValue", "validation-rules"]),
106
- p(_(O), {
109
+ m(x($), {
107
110
  modelValue: u.value,
108
111
  "onUpdate:modelValue": t[1] || (t[1] = (r) => u.value = r),
109
112
  name: "selected",
110
113
  type: "list",
111
114
  hidden: ""
112
115
  }, null, 8, ["modelValue"]),
113
- D.value.length ? (i(), o("section", me, [
114
- (i(!0), o(m, null, f(D.value, (r, V) => (i(), d(le, {
116
+ D.value.length ? (i(), o("section", ve, [
117
+ (i(!0), o(f, null, v(D.value, (r, V) => (i(), d(oe, {
115
118
  key: V,
116
119
  class: "software-card",
117
120
  onEdit: (l) => Z(r.id),
@@ -121,17 +124,17 @@ const pe = {
121
124
  B(" Hardware ", -1)
122
125
  ])),
123
126
  default: s(() => [
124
- H("div", fe, [
125
- p(c, { title: "Name" }, {
127
+ H("div", ye, [
128
+ m(p, { title: "Name" }, {
126
129
  default: s(() => [
127
130
  B(y(r.name), 1)
128
131
  ]),
129
132
  _: 2
130
133
  }, 1024),
131
- p(c, { title: "Genutzte Funktionalitäten" }, {
134
+ m(p, { title: "Genutzte Funktionalitäten" }, {
132
135
  default: s(() => [
133
- H("div", ve, [
134
- (i(!0), o(m, null, f(r.functionalities, (l) => (i(), d(ue, {
136
+ H("div", he, [
137
+ (i(!0), o(f, null, v(r.functionalities, (l) => (i(), d(se, {
135
138
  key: l,
136
139
  text: l,
137
140
  data: { "@value": "", URI: "" },
@@ -141,7 +144,7 @@ const pe = {
141
144
  ]),
142
145
  _: 2
143
146
  }, 1024),
144
- r.description ? (i(), d(c, {
147
+ r.description ? (i(), d(p, {
145
148
  key: 0,
146
149
  title: "Beschreibung der Nutzung (optional)"
147
150
  }, {
@@ -149,67 +152,67 @@ const pe = {
149
152
  B(y(r.description), 1)
150
153
  ]),
151
154
  _: 2
152
- }, 1024)) : v("", !0),
153
- r.isHostedByItems ? (i(), d(c, {
155
+ }, 1024)) : c("", !0),
156
+ r.isHostedByItems ? (i(), d(p, {
154
157
  key: 1,
155
158
  title: "Host-Plattform (optional)"
156
159
  }, {
157
160
  default: s(() => [
158
- (i(!0), o(m, null, f(r.isHostedByItems, (l, a) => (i(), o("div", { key: a }, y(l), 1))), 128))
161
+ (i(!0), o(f, null, v(r.isHostedByItems, (l, a) => (i(), o("div", { key: a }, y(l), 1))), 128))
159
162
  ]),
160
163
  _: 2
161
- }, 1024)) : v("", !0),
162
- r.hosts ? (i(), d(c, {
164
+ }, 1024)) : c("", !0),
165
+ r.hosts ? (i(), d(p, {
163
166
  key: 2,
164
167
  title: "Gehostete Geräte (optional)"
165
168
  }, {
166
169
  default: s(() => [
167
- (i(!0), o(m, null, f(r.hosts, (l, a) => (i(), o("div", { key: a }, y(l), 1))), 128))
170
+ (i(!0), o(f, null, v(r.hosts, (l, a) => (i(), o("div", { key: a }, y(l), 1))), 128))
168
171
  ]),
169
172
  _: 2
170
- }, 1024)) : v("", !0),
171
- r.forProperty ? (i(), d(c, {
173
+ }, 1024)) : c("", !0),
174
+ r.forProperty ? (i(), d(p, {
172
175
  key: 3,
173
176
  title: "Zweck (optional)"
174
177
  }, {
175
178
  default: s(() => [
176
- (i(!0), o(m, null, f(r.forProperty, (l, a) => (i(), o("div", { key: a }, y(l), 1))), 128))
179
+ (i(!0), o(f, null, v(r.forProperty, (l, a) => (i(), o("div", { key: a }, y(l), 1))), 128))
177
180
  ]),
178
181
  _: 2
179
- }, 1024)) : v("", !0),
180
- r.locations ? (i(), d(c, {
182
+ }, 1024)) : c("", !0),
183
+ r.locations ? (i(), d(p, {
181
184
  key: 4,
182
185
  title: "Standort (optional)"
183
186
  }, {
184
187
  default: s(() => [
185
- (i(!0), o(m, null, f(r.locations, (l, a) => (i(), o("div", { key: a }, y(`${l.lat} ${l.lng}`), 1))), 128))
188
+ (i(!0), o(f, null, v(r.locations, (l, a) => (i(), o("div", { key: a }, y(`${l.lat} ${l.lng}`), 1))), 128))
186
189
  ]),
187
190
  _: 2
188
- }, 1024)) : v("", !0),
189
- r.depictions ? (i(), d(c, {
191
+ }, 1024)) : c("", !0),
192
+ r.depictions ? (i(), d(p, {
190
193
  key: 5,
191
194
  title: "Darstellungen (optional)"
192
195
  }, {
193
196
  default: s(() => [
194
- (i(!0), o(m, null, f(r.depictions, (l, a) => (i(), o("div", { key: a }, y(l), 1))), 128))
197
+ (i(!0), o(f, null, v(r.depictions, (l, a) => (i(), o("div", { key: a }, y(l), 1))), 128))
195
198
  ]),
196
199
  _: 2
197
- }, 1024)) : v("", !0),
198
- r.references ? (i(), d(c, {
200
+ }, 1024)) : c("", !0),
201
+ r.references ? (i(), d(p, {
199
202
  key: 6,
200
203
  title: "Weiterführende Links (optional)"
201
204
  }, {
202
205
  default: s(() => [
203
- (i(!0), o(m, null, f(r.references, (l, a) => (i(), o("div", { key: a }, y(l.name), 1))), 128))
206
+ (i(!0), o(f, null, v(r.references, (l, a) => (i(), o("div", { key: a }, y(l.name), 1))), 128))
204
207
  ]),
205
208
  _: 2
206
- }, 1024)) : v("", !0)
209
+ }, 1024)) : c("", !0)
207
210
  ])
208
211
  ]),
209
212
  _: 2
210
213
  }, 1032, ["onEdit", "onDelete"]))), 128))
211
- ])) : (i(), o("section", pe, [
212
- p(oe, {
214
+ ])) : (i(), o("section", fe, [
215
+ m(ue, {
213
216
  small: "",
214
217
  class: "empty-card"
215
218
  }, {
@@ -220,22 +223,26 @@ const pe = {
220
223
  __: [4]
221
224
  })
222
225
  ])),
223
- p($, {
226
+ m(O, {
224
227
  exclude: u.value.map((r) => r.id),
225
228
  onSubmit: P
226
229
  }, null, 8, ["exclude"]),
227
230
  H("section", null, [
228
- p(ie, {
231
+ m(le, {
229
232
  "next-text": q.value,
230
233
  "next-variant": J.value
231
- }, null, 8, ["next-text", "next-variant"])
234
+ }, null, 8, ["next-text", "next-variant"]),
235
+ x(Q) === 0 ? (i(), d(de, {
236
+ key: 0,
237
+ "resource-label": "Hardware"
238
+ })) : c("", !0)
232
239
  ]),
233
- p(se, {
240
+ m(ae, {
234
241
  modelValue: S.value,
235
242
  "onUpdate:modelValue": t[3] || (t[3] = (r) => S.value = r)
236
243
  }, {
237
244
  default: s(() => [
238
- k.value ? (i(), d($, {
245
+ k.value ? (i(), d(O, {
239
246
  key: g.value,
240
247
  modelValue: k.value,
241
248
  "onUpdate:modelValue": t[2] || (t[2] = (r) => k.value = r),
@@ -243,7 +250,7 @@ const pe = {
243
250
  exclude: u.value.map((r) => r.id),
244
251
  onSubmit: P,
245
252
  onPatch: j
246
- }, null, 8, ["modelValue", "initialize-with", "exclude"])) : v("", !0)
253
+ }, null, 8, ["modelValue", "initialize-with", "exclude"])) : c("", !0)
247
254
  ]),
248
255
  _: 1
249
256
  }, 8, ["modelValue"])
@@ -253,5 +260,5 @@ const pe = {
253
260
  }
254
261
  });
255
262
  export {
256
- Re as default
263
+ Ce as default
257
264
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./SoftwareStep.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8219fa7d"]]);
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-325b9691"]]);
5
5
  export {
6
- p as default
6
+ e as default
7
7
  };