@piveau/dpi 0.2.0-alpha.24 → 0.2.0-alpha.27

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 (39) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +43 -38
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +23 -22
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue.js +3 -3
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue2.js +44 -40
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ResourceTable.vue.js +7 -0
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ResourceTable.vue2.js +206 -0
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +76 -62
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +2 -2
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +2 -2
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +1 -1
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +7 -7
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +2 -2
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +106 -135
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/AreYouSureToSkipCard.vue.js +1 -1
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +1 -1
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +35 -28
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +3 -3
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +114 -111
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js +2 -2
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue2.js +59 -52
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepBase.vue.js +44 -33
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +4 -4
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +465 -452
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/StateTag.vue.js +2 -2
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +83 -75
  28. package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +1 -1
  29. package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +33 -33
  30. package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue.js +3 -3
  31. package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue2.js +37 -21
  32. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  33. package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyHome.js +14 -14
  34. package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyUser.js +86 -73
  35. package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +197 -170
  36. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +320 -317
  37. package/package.json +1 -1
  38. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +0 -7
  39. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue2.js +0 -143
@@ -1,12 +1,18 @@
1
- import { defineComponent as p, createElementBlock as m, openBlock as h, createElementVNode as e, createCommentVNode as f, renderSlot as g, toDisplayString as s, unref as t, createVNode as o, withCtx as a, createTextVNode as y } from "vue";
2
- import { FormKit as l } from "@formkit/vue";
3
- import { PhLightbulb as b } from "@phosphor-icons/vue";
1
+ import { defineComponent as h, createElementBlock as a, openBlock as l, createElementVNode as e, createCommentVNode as f, renderSlot as y, toDisplayString as s, unref as i, createVNode as o, withCtx as r, createTextVNode as b } from "vue";
2
+ import { FormKit as c } from "@formkit/vue";
3
+ import { PhLightbulb as v } from "@phosphor-icons/vue";
4
4
  import _ from "../../../../stories/components/PartnerCard.vue.js";
5
- import v from "../../../components/StepActionsSection.vue.js";
6
- import { useTwinbyUser as k } from "../../../composables/useTwinbyUser.js";
7
- import S from "../Card.vue.js";
8
- import r from "../InputField/InputFieldDefinition.js";
9
- const D = { class: "dpiV3_page V3-typography" }, z = { class: "funny-section" }, w = { class: "funny-flex" }, A = { class: "funny-section" }, P = { class: "contact-container" }, E = { class: "contact-title" }, N = { class: "contact-wrapper" }, C = ["src"], B = { class: "contact-grid" }, T = { class: "contact-col" }, V = { class: "copy-large-regular" }, M = { class: "copy-large-regular" }, O = { class: "contact-col" }, j = { class: "copy-large-regular" }, G = ["href"], F = { class: "funny-section" }, I = { class: "funny-flex" }, x = { class: "funny-section" }, H = { class: "funny-section" }, K = { class: "funny-flex" }, Y = /* @__PURE__ */ p({
5
+ import k from "../../../components/StepActionsSection.vue.js";
6
+ import { useTwinbyUser as S } from "../../../composables/useTwinbyUser.js";
7
+ import w from "../Card.vue.js";
8
+ import p from "../InputField/InputFieldDefinition.js";
9
+ const D = { class: "dpiV3_page V3-typography" }, z = { class: "funny-section" }, A = { class: "funny-flex" }, P = { class: "funny-section" }, E = { class: "contact-container" }, N = { class: "contact-title" }, C = { class: "contact-wrapper" }, B = {
10
+ key: 0,
11
+ class: "contact-logo-wrapper"
12
+ }, T = ["src"], V = { key: 1 }, M = { class: "info-wrapper" }, O = { class: "contact-grid" }, j = { class: "contact-col" }, G = { class: "copy-large-regular" }, x = { class: "copy-large-regular" }, F = { class: "contact-col" }, I = { class: "copy-large-regular" }, K = ["href"], H = {
13
+ key: 1,
14
+ class: "copy-large-regular"
15
+ }, L = { class: "funny-section" }, W = { class: "funny-flex" }, $ = { class: "funny-section" }, R = { class: "funny-section" }, U = { class: "funny-flex" }, d = "...", ie = /* @__PURE__ */ h({
10
16
  __name: "ProjectOrganisationStep",
11
17
  props: {
12
18
  isWip: { type: Boolean },
@@ -17,41 +23,49 @@ const D = { class: "dpiV3_page V3-typography" }, z = { class: "funny-section" },
17
23
  phone: {},
18
24
  email: {}
19
25
  },
20
- setup(L) {
21
- const { organizationDetails: u } = k({
26
+ setup(q) {
27
+ const { organizationDetails: g } = S({
22
28
  keycloak: "https://keycloak.twin.bydata.de",
23
29
  realm: "piveau",
24
30
  audience: "piveau-hub-repo"
25
31
  });
26
- return (i, n) => (h(), m("div", D, [
32
+ return (t, n) => (l(), a("div", D, [
27
33
  e("section", z, [
28
- e("div", w, [
29
- n[0] || (n[0] = e("h4", null, "Informationen zu Ihrer Organisation", -1)),
30
- n[1] || (n[1] = e("span", { class: "copy-large-regular" }, " Die Angaben zur durchführenden Organisation werden nicht hier bei der Projektdokumentation erfasst. Diese Daten werden automatisch aus den Kontoinformationen übernommen, die bei uns hinterlegt sind. So wird sichergestellt, dass die Angaben zu Ihrer Organisation stets konsistent und aktuell bleiben, ohne dass sie mehrfach eingegeben werden müssen. ", -1)),
31
- g(i.$slots, "organization", {}, () => {
32
- var d, c;
34
+ e("div", A, [
35
+ n[2] || (n[2] = e("h4", null, "Informationen zu Ihrer Organisation", -1)),
36
+ n[3] || (n[3] = e("span", { class: "copy-large-regular" }, " Die Angaben zur durchführenden Organisation werden nicht hier bei der Projektdokumentation erfasst. Diese Daten werden automatisch aus den Kontoinformationen übernommen, die bei uns hinterlegt sind. So wird sichergestellt, dass die Angaben zu Ihrer Organisation stets konsistent und aktuell bleiben, ohne dass sie mehrfach eingegeben werden müssen. ", -1)),
37
+ y(t.$slots, "organization", {}, () => {
38
+ var u, m;
33
39
  return [
34
- e("section", A, [
35
- e("div", P, [
36
- e("p", E, s(((c = (d = t(u).resultEnhanced) == null ? void 0 : d.value) == null ? void 0 : c.title) || "Stadt Haar"), 1),
37
- e("div", N, [
38
- e("img", {
39
- class: "contact-logo",
40
- src: i.icon,
41
- alt: "Stadt Haar Logo"
42
- }, null, 8, C),
43
- e("div", B, [
44
- e("div", T, [
45
- e("span", V, s(i.address), 1),
46
- e("span", M, s(i.postalCode) + " " + s(i.city), 1)
47
- ]),
40
+ e("section", P, [
41
+ e("div", E, [
42
+ e("p", N, s(((m = (u = i(g).resultEnhanced) == null ? void 0 : u.value) == null ? void 0 : m.title) || "Stadt Haar"), 1),
43
+ e("div", C, [
44
+ t.icon ? (l(), a("div", B, [
45
+ e("img", {
46
+ class: "contact-logo",
47
+ src: t.icon,
48
+ alt: "Stadt Haar Logo"
49
+ }, null, 8, T)
50
+ ])) : (l(), a("div", V, n[0] || (n[0] = [
51
+ e("div", { class: "avatar-circle" }, null, -1)
52
+ ]))),
53
+ e("div", M, [
48
54
  e("div", O, [
49
- e("span", j, s(i.phone), 1),
50
- e("a", {
51
- class: "copy-large-regular",
52
- href: `mailto:${i.email}`
53
- }, s(i.email), 9, G)
54
- ])
55
+ e("div", j, [
56
+ e("span", G, s(t.address || d), 1),
57
+ e("span", x, s(t.postalCode || d) + " " + s(t.city || d), 1)
58
+ ]),
59
+ e("div", F, [
60
+ e("span", I, s(t.phone || d), 1),
61
+ t.email ? (l(), a("a", {
62
+ key: 0,
63
+ class: "copy-large-regular",
64
+ href: `mailto:${t.email}`
65
+ }, s(t.email), 9, K)) : (l(), a("span", H, s(d)))
66
+ ])
67
+ ]),
68
+ n[1] || (n[1] = e("div", { style: { position: "absolute", top: "0", left: "-12px", width: "360px", height: "100%", "background-color": "var(--blue-10)", "border-radius": "24px", display: "grid", "place-content": "center" } }, " Keine Daten verfügbar ", -1))
55
69
  ])
56
70
  ])
57
71
  ])
@@ -61,27 +75,27 @@ const D = { class: "dpiV3_page V3-typography" }, z = { class: "funny-section" },
61
75
  ])
62
76
  ]),
63
77
  f("", !0),
64
- e("section", F, [
65
- e("div", I, [
66
- n[4] || (n[4] = e("h5", null, "Projektkontakt (optional)", -1)),
67
- n[5] || (n[5] = e("span", { class: "copy-large-regular" }, " Bitte nennen Sie eine allgemeine E-Mail-Adresse oder Funktionsadresse, unter der interessierte Personen Rückfragen zum Projekt stellen können. Bitte geben Sie keine personenbezogenen Daten an. ", -1)),
78
+ e("section", L, [
79
+ e("div", W, [
80
+ n[6] || (n[6] = e("h5", null, "Projektkontakt (optional)", -1)),
81
+ n[7] || (n[7] = e("span", { class: "copy-large-regular" }, " Bitte nennen Sie eine allgemeine E-Mail-Adresse oder Funktionsadresse, unter der interessierte Personen Rückfragen zum Projekt stellen können. Bitte geben Sie keine personenbezogenen Daten an. ", -1)),
68
82
  o(_, null, {
69
- default: a(() => [
70
- o(t(l), {
83
+ default: r(() => [
84
+ o(i(c), {
71
85
  type: "group",
72
86
  name: "contact"
73
87
  }, {
74
- default: a(() => [
75
- o(t(l), {
76
- type: t(r),
88
+ default: r(() => [
89
+ o(i(c), {
90
+ type: i(p),
77
91
  name: "name",
78
92
  "text-label": "Name",
79
93
  placeholder: "Geben Sie einen Namen an.",
80
94
  "validation-label": "Name",
81
95
  "validation-visibility": "submit"
82
96
  }, null, 8, ["type"]),
83
- o(t(l), {
84
- type: t(r),
97
+ o(i(c), {
98
+ type: i(p),
85
99
  name: "mail",
86
100
  "text-label": "E-Mail-Adresse",
87
101
  placeholder: "Geben Sie eine E-Mail-Adresse an.",
@@ -89,8 +103,8 @@ const D = { class: "dpiV3_page V3-typography" }, z = { class: "funny-section" },
89
103
  "validation-visibility": "submit",
90
104
  "validation-label": "E-Mail-Adresse"
91
105
  }, null, 8, ["type"]),
92
- o(t(l), {
93
- type: t(r),
106
+ o(i(c), {
107
+ type: i(p),
94
108
  name: "phone",
95
109
  "text-label": "Telefonnummer",
96
110
  placeholder: "Geben Sie eine Telefonnummer an.",
@@ -106,30 +120,30 @@ const D = { class: "dpiV3_page V3-typography" }, z = { class: "funny-section" },
106
120
  })
107
121
  ])
108
122
  ]),
109
- e("section", x, [
110
- o(v)
123
+ e("section", $, [
124
+ o(k)
111
125
  ]),
112
- e("section", H, [
113
- e("div", K, [
114
- o(S, { variant: "default" }, {
115
- icon: a(() => [
116
- o(t(b), {
126
+ e("section", R, [
127
+ e("div", U, [
128
+ o(w, { variant: "default" }, {
129
+ icon: r(() => [
130
+ o(i(v), {
117
131
  size: 32,
118
132
  color: "#009fe3"
119
133
  })
120
134
  ]),
121
- title: a(() => n[6] || (n[6] = [
122
- y(" Wichtig! ", -1)
135
+ title: r(() => n[8] || (n[8] = [
136
+ b(" Wichtig! ", -1)
123
137
  ])),
124
- default: a(() => [
125
- n[7] || (n[7] = e("div", { class: "copy-large-regular" }, [
138
+ default: r(() => [
139
+ n[9] || (n[9] = e("div", { class: "copy-large-regular" }, [
126
140
  e("p", null, "Bitte geben Sie keine persönlichen Daten preis! Diese dürfen auf unserer Plattform nicht veröffentlicht werden."),
127
141
  e("p", null, "Dazu zählen Namen, E-Mail-Adresse oder auch Telefonnummern von realen Personen."),
128
142
  e("p", null, "Geben Sie daher hier die Daten einer Organisationseinheit oder Abteilung an.")
129
143
  ], -1))
130
144
  ]),
131
145
  _: 1,
132
- __: [7]
146
+ __: [9]
133
147
  })
134
148
  ])
135
149
  ])
@@ -137,5 +151,5 @@ const D = { class: "dpiV3_page V3-typography" }, z = { class: "funny-section" },
137
151
  }
138
152
  });
139
153
  export {
140
- Y as default
154
+ ie as default
141
155
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./BasicInformationStep.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-c2be8f0e"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6964f995"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };
@@ -12,7 +12,7 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
12
12
  class: "funny-section"
13
13
  }, Z = { class: "partner-cards-container" }, $ = { class: "action-container" }, j = { class: "step-actions__prev-and-next" }, A = { class: "actions" }, G = { class: "funny-section" }, U = 1e3, ie = /* @__PURE__ */ B({
14
14
  __name: "BasicInformationStep",
15
- setup(q) {
15
+ setup(O) {
16
16
  const f = g(""), k = g([]);
17
17
  g([]);
18
18
  const w = D(() => {
@@ -48,7 +48,7 @@ const F = { class: "dpiV3_page V3-typography" }, K = { class: "funny-section" },
48
48
  name: "description",
49
49
  "text-label": "Beschreibung",
50
50
  placeholder: "Beschreiben Sie kurz Ihr Vorgehen, Ziel und Ergebnis des Prozessschritts.",
51
- validation: "required|length:0,1000",
51
+ validation: "length:0,1000",
52
52
  "validation-visibility": "live",
53
53
  hint: "true",
54
54
  help: `${w.value} von ${U} Zeichen`,
@@ -1,7 +1,7 @@
1
1
  import o from "./BasicInformationStep.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b22c0cd1"]]);
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-be37f85f"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -10,7 +10,7 @@ import R from "../TextArea/TextAreaDefinition.js";
10
10
  const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" }, T = { class: "funny-section" }, $ = {
11
11
  id: "partners-section",
12
12
  class: "funny-section"
13
- }, j = { class: "partner-cards-container" }, q = { class: "action-container" }, K = { class: "step-actions__prev-and-next" }, M = { class: "actions" }, U = { class: "funny-section" }, Z = 1e3, ie = /* @__PURE__ */ B({
13
+ }, j = { class: "partner-cards-container" }, K = { class: "action-container" }, M = { class: "step-actions__prev-and-next" }, U = { class: "actions" }, Z = { class: "funny-section" }, q = 1e3, ie = /* @__PURE__ */ B({
14
14
  __name: "BasicInformationStep",
15
15
  setup(G) {
16
16
  const p = b(""), y = b([]);
@@ -44,10 +44,10 @@ const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" },
44
44
  name: "description",
45
45
  "text-label": "Beschreibung",
46
46
  placeholder: "Beschreiben Sie kurz Ihr Vorgehen, Ziel und Ergebnis des Prozessschritts.",
47
- validation: "required|length:0,1000",
47
+ validation: "length:0,1000",
48
48
  "validation-visibility": "submit",
49
49
  hint: "true",
50
- help: `${V.value} von ${Z} Zeichen`,
50
+ help: `${V.value} von ${q} Zeichen`,
51
51
  "count-hint": !0
52
52
  }, null, 8, ["modelValue", "type", "help"])
53
53
  ]),
@@ -102,7 +102,7 @@ const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" },
102
102
  ]),
103
103
  _: 2
104
104
  }, 1032, ["index"]))), 128)),
105
- t("div", q, [
105
+ t("div", K, [
106
106
  n(a, {
107
107
  "button-text": "Link hinzufügen",
108
108
  size: "medium",
@@ -128,8 +128,8 @@ const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" },
128
128
  handlePrevious: c,
129
129
  handleSubmit: x
130
130
  }) => [
131
- t("div", K, [
132
- t("div", M, [
131
+ t("div", M, [
132
+ t("div", U, [
133
133
  r ? v("", !0) : (s(), h(a, {
134
134
  key: 0,
135
135
  variant: "secondary",
@@ -162,7 +162,7 @@ const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" },
162
162
  ]),
163
163
  _: 1
164
164
  }),
165
- t("section", U, [
165
+ t("section", Z, [
166
166
  n(C, { variant: "default" }, {
167
167
  icon: i(() => [
168
168
  n(o(z), {
@@ -1,7 +1,7 @@
1
1
  import o from "./ApplicationsStep.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-53df9331"]]);
4
+ const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1196d162"]]);
5
5
  export {
6
- f as default
6
+ i as default
7
7
  };
@@ -1,179 +1,150 @@
1
- import { defineComponent as V, ref as h, computed as b, createElementBlock as u, openBlock as m, createElementVNode as i, createVNode as t, createCommentVNode as z, unref as c, Fragment as S, renderList as x, withDirectives as A, vModelCheckbox as C, withCtx as s, createTextVNode as v } from "vue";
2
- import { FormKit as U } from "@formkit/vue";
3
- import { PhLightbulb as w } from "@phosphor-icons/vue";
4
- import { defineHubSearch as B } from "@piveau/sdk-vue";
5
- import D from "zod";
6
- import I from "../../../components/StepActionsSection.vue.js";
7
- import E from "../ButtonV3.vue.js";
8
- import k from "../Card.vue.js";
9
- import L from "../Chip.vue.js";
10
- import P from "../ListBox/Listbox.vue.js";
11
- const H = { class: "dpiV3_page V3-typography" }, M = { class: "funny-section" }, N = { class: "funny-flex" }, W = {
1
+ import { defineComponent as w, ref as p, computed as k, watch as V, createElementBlock as o, openBlock as u, createElementVNode as n, createVNode as a, createCommentVNode as _, unref as d, Fragment as y, renderList as z, withDirectives as A, vModelCheckbox as S, withCtx as l, createTextVNode as g } from "vue";
2
+ import { FormKit as x } from "@formkit/vue";
3
+ import { PhLightbulb as f } from "@phosphor-icons/vue";
4
+ import "@piveau/sdk-vue";
5
+ import "zod";
6
+ import U from "../../../components/StepActionsSection.vue.js";
7
+ import h from "../Card.vue.js";
8
+ import C from "../Chip.vue.js";
9
+ import I from "../ListBox/Listbox.vue.js";
10
+ const B = { class: "dpiV3_page V3-typography" }, E = { class: "funny-section" }, L = { class: "funny-flex" }, P = {
12
11
  key: 0,
13
12
  class: "d-flex selected-applications"
14
- }, j = ["id", "value"], K = { class: "ml-auto" }, T = { class: "funny-section action-section" }, $ = { class: "action-section" }, q = { class: "action-section" }, ae = /* @__PURE__ */ V({
13
+ }, D = ["id", "value"], M = { class: "funny-section action-section" }, N = { class: "action-section" }, W = { class: "action-section" }, R = /* @__PURE__ */ w({
15
14
  __name: "ApplicationsStep",
16
- setup(Z) {
17
- const l = h([]), r = h({ id: "", name: "", label: "", value: "" }), { useSearch: F } = B({
18
- baseUrl: "https://staging.bydata.de/api/hub/search",
19
- index: "vocabulary",
20
- indexDetails: "vocabularies",
21
- schema: D.any()
22
- }, (e) => {
23
- var o, f;
24
- const n = String((e == null ? void 0 : e.id) || ""), a = String(((o = e == null ? void 0 : e.pref_label) == null ? void 0 : o.de) || ((f = e == null ? void 0 : e.pref_label) == null ? void 0 : f.en) || "");
25
- return {
26
- id: n,
27
- name: a,
28
- resource: e == null ? void 0 : e.resource
29
- };
30
- }), p = [
31
- { id: 1, name: "Abfallmanagement" },
32
- { id: 2, name: "Abwassermanagement" },
33
- { id: 3, name: "Baumanagement" },
34
- { id: 4, name: "Besuchermanagement" },
35
- { id: 5, name: "Bildungsinfrastruktur" },
36
- { id: 6, name: "Bürgerinformationssysteme" },
37
- { id: 7, name: "Denkmalschutz" },
38
- { id: 8, name: "E-Mobilität" },
39
- { id: 9, name: "Emissionsüberwachung" },
40
- { id: 10, name: "Energieeffizienz" },
41
- { id: 11, name: "Energieversorgung" },
42
- { id: 12, name: "Gebäudemanagement" },
43
- { id: 13, name: "Hitzeinseln" },
44
- { id: 14, name: "Hochwassermanagement" },
45
- { id: 15, name: "Integration & Teilhabe" },
46
- { id: 16, name: "Katastrophenschutz" },
47
- { id: 17, name: "Krankenhausmanagement" },
48
- { id: 18, name: "Ladeinfrastruktur" },
49
- { id: 19, name: "Lärmschutz" },
50
- { id: 20, name: "Lieferverkehr" },
51
- { id: 21, name: "Luftqualität" },
52
- { id: 22, name: "Mobilitätsauslastung" },
53
- { id: 23, name: "Netzwerkinfrastruktur" },
54
- { id: 24, name: "Notfallmanagement" },
55
- { id: 25, name: "Parkraummanagement" },
56
- { id: 26, name: "Sozialraummonitoring" },
57
- { id: 27, name: "Stadtplanung" },
58
- { id: 28, name: "Straßenbeleuchtung" },
59
- { id: 29, name: "Straßeninstandhaltung" },
60
- { id: 30, name: "Tourismusmanagement" },
61
- { id: 31, name: "Umweltüberwachung" },
62
- { id: 32, name: "Urbanes Monitoring" },
63
- { id: 33, name: "Veranstaltungsplanung" },
64
- { id: 34, name: "Verkehrsflussanalyse" },
65
- { id: 35, name: "Wasserqualität" },
66
- { id: 36, name: "Wasserversorgung" },
67
- { id: 37, name: "Wirtschaftsflächenmanagement" }
68
- ], g = b(() => l.value), _ = b(() => p ? p.map((e) => ({
69
- id: e.id,
70
- name: e.name,
71
- label: e.name,
72
- value: e.name
73
- })) : []);
74
- function y() {
75
- const e = r.value;
76
- e.id && (l.value.includes(e.value) || l.value.push(e.value), r.value = { id: "", name: "", label: "", value: "" });
77
- }
78
- return (e, n) => (m(), u("div", H, [
79
- i("section", M, [
80
- i("div", N, [
81
- n[3] || (n[3] = i("h4", null, " Geben Sie Anwendungsbereiche an ", -1)),
82
- n[4] || (n[4] = i("span", { class: "copy-large-regular" }, "Wenn Ihr Projekt mehrere Anwendungsbereiche abdeckt, wählen Sie diese hier entweder aus der Liste oder geben Sie sie manuell an. ", -1)),
83
- t(c(U), {
84
- modelValue: l.value,
85
- "onUpdate:modelValue": n[0] || (n[0] = (a) => l.value = a),
15
+ setup(H) {
16
+ const i = p([]), r = p(""), b = [
17
+ "Abfallmanagement",
18
+ "Abwassermanagement",
19
+ "Baumanagement",
20
+ "Besuchermanagement",
21
+ "Bildungsinfrastruktur",
22
+ "Bürgerinformationssysteme",
23
+ "Denkmalschutz",
24
+ "E-Mobilität",
25
+ "Emissionsüberwachung",
26
+ "Energieeffizienz",
27
+ "Energieversorgung",
28
+ "Gebäudemanagement",
29
+ "Hitzeinseln",
30
+ "Hochwassermanagement",
31
+ "Integration & Teilhabe",
32
+ "Katastrophenschutz",
33
+ "Krankenhausmanagement",
34
+ "Ladeinfrastruktur",
35
+ "Lärmschutz",
36
+ "Lieferverkehr",
37
+ "Luftqualität",
38
+ "Mobilitätsauslastung",
39
+ "Netzwerkinfrastruktur",
40
+ "Notfallmanagement",
41
+ "Parkraummanagement",
42
+ "Sozialraummonitoring",
43
+ "Stadtplanung",
44
+ "Straßenbeleuchtung",
45
+ "Straßeninstandhaltung",
46
+ "Tourismusmanagement",
47
+ "Umweltüberwachung",
48
+ "Urbanes Monitoring",
49
+ "Veranstaltungsplanung",
50
+ "Verkehrsflussanalyse",
51
+ "Wasserqualität",
52
+ "Wasserversorgung",
53
+ "Wirtschaftsflächenmanagement"
54
+ ], m = k(() => i.value);
55
+ return V(r, (s) => {
56
+ r.value = "", s && (i.value.includes(s) || i.value.push(s));
57
+ }), (s, e) => (u(), o("div", B, [
58
+ n("section", E, [
59
+ n("div", L, [
60
+ e[3] || (e[3] = n("h4", null, " Geben Sie Anwendungsbereiche an ", -1)),
61
+ e[4] || (e[4] = n("span", { class: "copy-large-regular" }, "Wenn Ihr Projekt mehrere Anwendungsbereiche abdeckt, wählen Sie diese in der Liste aus. ", -1)),
62
+ a(d(x), {
63
+ modelValue: i.value,
64
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => i.value = t),
86
65
  name: "applications",
87
66
  type: "list",
88
67
  validation: "required",
89
68
  "validation-label": "Anwendungsbereiche",
90
69
  hidden: ""
91
70
  }, null, 8, ["modelValue"]),
92
- g.value.length > 0 ? (m(), u("div", W, [
93
- (m(!0), u(S, null, x(g.value, (a, d) => (m(), u("div", {
94
- key: `application-${a}@${d}`,
71
+ m.value.length > 0 ? (u(), o("div", P, [
72
+ (u(!0), o(y, null, z(m.value, (t, c) => (u(), o("div", {
73
+ key: `application-${t}@${c}`,
95
74
  class: "label-chip"
96
75
  }, [
97
- A(i("input", {
98
- id: `application-${a}@${d}`,
99
- "onUpdate:modelValue": n[1] || (n[1] = (o) => l.value = o),
76
+ A(n("input", {
77
+ id: `application-${t}@${c}`,
78
+ "onUpdate:modelValue": e[1] || (e[1] = (v) => i.value = v),
100
79
  class: "label-chip__input",
101
80
  type: "checkbox",
102
- value: a
103
- }, null, 8, j), [
104
- [C, l.value]
81
+ value: t
82
+ }, null, 8, D), [
83
+ [S, i.value]
105
84
  ]),
106
- t(L, {
85
+ a(C, {
107
86
  as: "label",
108
- for: a,
87
+ for: t,
109
88
  class: "label-chip__inner",
110
- text: a,
111
- data: { "@value": a, URI: "https://example.com/default" },
89
+ text: t,
90
+ data: { "@value": t, URI: "https://example.com/default" },
112
91
  setup: { "@type": "selected", "@icon": "suffix", "@inTable": !1, "@selected": !0 }
113
92
  }, null, 8, ["for", "text", "data"])
114
93
  ]))), 128))
115
- ])) : z("", !0),
116
- t(P, {
94
+ ])) : _("", !0),
95
+ a(I, {
117
96
  modelValue: r.value,
118
- "onUpdate:modelValue": n[2] || (n[2] = (a) => r.value = a),
119
- options: _.value,
120
- placeholder: "Suche oder neuen Anwendungsbereich eingeben...",
121
- label: "Anwendungsbereich auswählen oder neuen eingeben",
97
+ "onUpdate:modelValue": [
98
+ e[2] || (e[2] = (t) => r.value = t),
99
+ s.addapplicationInput
100
+ ],
101
+ options: b,
102
+ placeholder: "Wählen Sie Ihre Anwendungsbereiche",
103
+ label: "Anwendungsbereich auswählen",
122
104
  filterable: "",
123
105
  taggable: "",
124
106
  "create-option": "",
125
- clearable: "",
126
- class: "mt-6"
127
- }, null, 8, ["modelValue", "options"]),
128
- i("div", K, [
129
- t(E, {
130
- "button-text": "Anwendungsbereich hinzufügen",
131
- size: "medium",
132
- variant: "tertiary",
133
- "icon-start": "plus",
134
- disabled: !r.value.id,
135
- onClick: y
136
- }, null, 8, ["disabled"])
137
- ])
107
+ clearable: ""
108
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
138
109
  ])
139
110
  ]),
140
- i("section", T, [
141
- t(I, { "hide-cancel": "" })
111
+ n("section", M, [
112
+ a(U, { "hide-cancel": "" })
142
113
  ]),
143
- i("section", $, [
144
- t(k, { variant: "default" }, {
145
- icon: s(() => [
146
- t(c(w), {
114
+ n("section", N, [
115
+ a(h, { variant: "default" }, {
116
+ icon: l(() => [
117
+ a(d(f), {
147
118
  size: 32,
148
119
  color: "#009fe3"
149
120
  })
150
121
  ]),
151
- title: s(() => n[5] || (n[5] = [
152
- v(" Information ", -1)
122
+ title: l(() => e[5] || (e[5] = [
123
+ g(" Information ", -1)
153
124
  ])),
154
- default: s(() => [
155
- n[6] || (n[6] = i("div", { class: "application-information" }, [
156
- i("p", null, " Ein Projekt beschreibt einen Use Case, der mithilfe eines Digitalen Zwillings umgesetzt wurde – nicht den gesamten Digitalen Zwilling. Ein Use Case kann unterschiedliche kommunale Anwendungsbereiche betreffen, die Sie für Ihr Projekt im Verlauf der Anlage benennen können. ")
125
+ default: l(() => [
126
+ e[6] || (e[6] = n("div", { class: "application-information" }, [
127
+ n("p", null, " Ein Projekt beschreibt einen Use Case, der mithilfe eines Digitalen Zwillings umgesetzt wurde – nicht den gesamten Digitalen Zwilling. Ein Use Case kann unterschiedliche kommunale Anwendungsbereiche betreffen, die Sie für Ihr Projekt im Verlauf der Anlage benennen können. ")
157
128
  ], -1))
158
129
  ]),
159
130
  _: 1,
160
131
  __: [6]
161
132
  })
162
133
  ]),
163
- i("section", q, [
164
- t(k, { variant: "default" }, {
165
- icon: s(() => [
166
- t(c(w), {
134
+ n("section", W, [
135
+ a(h, { variant: "default" }, {
136
+ icon: l(() => [
137
+ a(d(f), {
167
138
  size: 32,
168
139
  color: "#009fe3"
169
140
  })
170
141
  ]),
171
- title: s(() => n[7] || (n[7] = [
172
- v(" Beispiel ", -1)
142
+ title: l(() => e[7] || (e[7] = [
143
+ g(" Beispiel ", -1)
173
144
  ])),
174
- default: s(() => [
175
- n[8] || (n[8] = i("div", { class: "application-information" }, [
176
- i("p", null, " In Ihrem Projekt „Hochwasserschutzprogramm mit Prognosen“ wird mit Hilfe eines Digitalen Zwillings des lokalen Wassersystems die Hochwasserlage überwacht und vorhergesagt. Dieser Use Case betrifft mehrere Anwendungsbereiche wie Katastrophenschutz, Stadtplanung, Umwelt, Infrastrukturschutz und Bürgerinformation. ")
145
+ default: l(() => [
146
+ e[8] || (e[8] = n("div", { class: "application-information" }, [
147
+ n("p", null, " In Ihrem Projekt „Hochwasserschutzprogramm mit Prognosen“ wird mit Hilfe eines Digitalen Zwillings des lokalen Wassersystems die Hochwasserlage überwacht und vorhergesagt. Dieser Use Case betrifft mehrere Anwendungsbereiche wie Katastrophenschutz, Stadtplanung, Umwelt, Infrastrukturschutz und Bürgerinformation. ")
177
148
  ], -1))
178
149
  ]),
179
150
  _: 1,
@@ -184,5 +155,5 @@ const H = { class: "dpiV3_page V3-typography" }, M = { class: "funny-section" },
184
155
  }
185
156
  });
186
157
  export {
187
- ae as default
158
+ R as default
188
159
  };
@@ -15,7 +15,7 @@ const m = { class: "application-information" }, b = /* @__PURE__ */ o({
15
15
  })
16
16
  ]),
17
17
  title: e(() => r[0] || (r[0] = [
18
- s(" Vorsicht ", -1)
18
+ s(" Vorsicht! ", -1)
19
19
  ])),
20
20
  default: e(() => [
21
21
  t("div", m, [
@@ -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-b49e83d7"]]);
4
+ const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-773a15be"]]);
5
5
  export {
6
6
  r as default
7
7
  };