@piveau/dpi 0.2.0-alpha.2 → 0.2.0-alpha.4

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 (51) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/assets/stadt.png +0 -0
  3. package/dist/data-provider-interface/HappyFlowComponents/AboutProject.vue.js +99 -0
  4. package/dist/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +38 -11
  5. package/dist/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +17 -17
  6. package/dist/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +94 -0
  7. package/dist/data-provider-interface/HappyFlowComponents/img/DataProcessingSteps.svg.js +4 -0
  8. package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +2 -2
  9. package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue2.js +1 -1
  10. package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocabFormKit.vue.js +18 -18
  11. package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
  12. package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +89 -67
  13. package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js +38 -0
  14. package/dist/data-provider-interface/HappyFlowComponents/ui/Card.vue.js +2 -2
  15. package/dist/data-provider-interface/HappyFlowComponents/ui/Card.vue2.js +34 -20
  16. package/dist/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue.js +7 -0
  17. package/dist/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue2.js +62 -0
  18. package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +7 -0
  19. package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +60 -0
  20. package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +45 -28
  21. package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +5 -3
  22. package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +45 -37
  23. package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue.js +7 -0
  24. package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue2.js +40 -0
  25. package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxDefinition.js +2 -1
  26. package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxFormKit.vue.js +20 -16
  27. package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js +2 -2
  28. package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue2.js +41 -37
  29. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +7 -0
  30. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +341 -0
  31. package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +64 -0
  32. package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js +48 -0
  33. package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +64 -0
  34. package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +64 -0
  35. package/dist/data-provider-interface/HappyFlowComponents/ui/WipStep.vue.js +2 -2
  36. package/dist/data-provider-interface/HappyFlowComponents/ui/WipStep.vue2.js +7 -7
  37. package/dist/data-provider-interface/components/ProgressSteps.vue.js +1 -1
  38. package/dist/data-provider-interface/components/ProgressSteps.vue2.js +45 -44
  39. package/dist/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  40. package/dist/data-provider-interface/components/StepActionsSection.vue2.js +119 -42
  41. package/dist/data-provider-interface/composables/useDpiStepper.js +7 -7
  42. package/dist/data-provider-interface/views/InputPageProject.vue.js +354 -316
  43. package/dist/stories/components/DemoStepper.vue.js +2 -2
  44. package/dist/stories/components/DemoStepper.vue2.js +134 -102
  45. package/dist/stories/components/LinkCard.vue.js +7 -0
  46. package/dist/stories/components/LinkCard.vue2.js +52 -0
  47. package/dist/stories/components/PartnerCard.vue.js +2 -2
  48. package/dist/stories/components/PartnerCard.vue2.js +20 -19
  49. package/dist/stories/components/ScreenshotCard.vue.js +7 -0
  50. package/dist/stories/components/ScreenshotCard.vue2.js +25 -0
  51. package/package.json +1 -1
@@ -1,13 +1,17 @@
1
- import { defineComponent as d, createElementBlock as c, openBlock as u, createElementVNode as e, renderSlot as p, toDisplayString as s, createVNode as o, withCtx as a, unref as i, createTextVNode as m } from "vue";
1
+ import { defineComponent as f, createElementBlock as c, openBlock as u, createElementVNode as e, createCommentVNode as g, renderSlot as h, toDisplayString as a, createVNode as o, withCtx as i, createTextVNode as r, unref as s } from "vue";
2
2
  import { FormKit as l } from "@formkit/vue";
3
- import { PhLightbulb as f } from "@phosphor-icons/vue";
4
- import g from "../../../components/StepActionsSection.vue.js";
5
- import h from "../Card.vue.js";
6
- import b from "../../../../stories/components/PartnerCard.vue.js";
7
- import r from "../InputField/InputFieldDefinition.js";
8
- const y = { class: "dpiV3_page V3-typography" }, _ = { class: "funny-section" }, v = { class: "funny-flex" }, k = { class: "funny-section" }, S = { class: "contact-container" }, D = { class: "contact-title" }, z = { class: "contact-wrapper" }, A = ["src"], P = { class: "contact-grid" }, w = { class: "contact-col" }, E = { class: "copy-large-regular" }, N = { class: "copy-large-regular" }, C = { class: "contact-col" }, B = { class: "copy-large-regular" }, M = ["href"], O = { class: "funny-section" }, T = { class: "funny-flex" }, V = { class: "funny-section" }, j = { class: "funny-section" }, W = /* @__PURE__ */ d({
3
+ import { PhLightbulb as p } from "@phosphor-icons/vue";
4
+ import _ from "../../../../stories/components/PartnerCard.vue.js";
5
+ import y from "../../../components/StepActionsSection.vue.js";
6
+ import m from "../Card.vue.js";
7
+ import d from "../InputField/InputFieldDefinition.js";
8
+ const b = { class: "dpiV3_page V3-typography" }, v = { class: "funny-section" }, k = { class: "funny-flex" }, S = { class: "funny-section" }, P = { class: "contact-container" }, z = { class: "contact-title" }, D = { class: "contact-wrapper" }, A = ["src"], N = { class: "contact-grid" }, w = { class: "contact-col" }, C = { class: "copy-large-regular" }, E = { class: "copy-large-regular" }, B = { class: "contact-col" }, O = { class: "copy-large-regular" }, V = ["href"], M = {
9
+ key: 0,
10
+ class: "funny-section"
11
+ }, T = { class: "funny-section" }, W = { class: "funny-flex" }, j = { class: "funny-section" }, G = { class: "funny-flex" }, I = { class: "funny-section" }, F = { class: "funny-flex" }, Q = /* @__PURE__ */ f({
9
12
  __name: "ProjectOrganisationStep",
10
13
  props: {
14
+ isWip: { type: Boolean },
11
15
  icon: {},
12
16
  address: {},
13
17
  postalCode: {},
@@ -15,35 +19,33 @@ const y = { class: "dpiV3_page V3-typography" }, _ = { class: "funny-section" },
15
19
  phone: {},
16
20
  email: {}
17
21
  },
18
- setup(G) {
19
- return (t, n) => (u(), c("div", y, [
20
- e("section", _, [
21
- e("div", v, [
22
- n[2] || (n[2] = e("h4", null, "Informationen zu Ihrer Organisation", -1)),
23
- 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)),
24
- p(t.$slots, "organization", {}, () => [
25
- e("section", k, [
26
- e("div", S, [
27
- e("p", D, "Stadt " + s(t.city), 1),
28
- e("div", z, [
22
+ setup(K) {
23
+ return (t, n) => (u(), c("div", b, [
24
+ e("section", v, [
25
+ e("div", k, [
26
+ n[0] || (n[0] = e("h4", null, "Informationen zu Ihrer Organisation", -1)),
27
+ 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)),
28
+ h(t.$slots, "organization", {}, () => [
29
+ e("section", S, [
30
+ e("div", P, [
31
+ e("p", z, " Stadt " + a(t.city), 1),
32
+ e("div", D, [
29
33
  e("img", {
30
34
  class: "contact-logo",
31
35
  src: t.icon,
32
36
  alt: "Stadt Haar Logo"
33
37
  }, null, 8, A),
34
- e("div", P, [
38
+ e("div", N, [
35
39
  e("div", w, [
36
- e("span", E, s(t.address), 1),
37
- n[0] || (n[0] = e("br", null, null, -1)),
38
- e("span", N, s(t.postalCode) + " " + s(t.city), 1)
40
+ e("span", C, a(t.address), 1),
41
+ e("span", E, a(t.postalCode) + " " + a(t.city), 1)
39
42
  ]),
40
- e("div", C, [
41
- e("span", B, s(t.phone), 1),
42
- n[1] || (n[1] = e("br", null, null, -1)),
43
+ e("div", B, [
44
+ e("span", O, a(t.phone), 1),
43
45
  e("a", {
44
46
  class: "copy-large-regular",
45
- href: "mailto:" + t.email
46
- }, s(t.email), 9, M)
47
+ href: `mailto:${t.email}`
48
+ }, a(t.email), 9, V)
47
49
  ])
48
50
  ])
49
51
  ])
@@ -52,39 +54,56 @@ const y = { class: "dpiV3_page V3-typography" }, _ = { class: "funny-section" },
52
54
  ], !0)
53
55
  ])
54
56
  ]),
55
- e("section", O, [
56
- e("div", T, [
57
+ t.isWip ? (u(), c("section", M, [
58
+ o(m, null, {
59
+ title: i(() => n[2] || (n[2] = [
60
+ r(" Work-in-Progress ", -1)
61
+ ])),
62
+ icon: i(() => [
63
+ o(s(p), {
64
+ size: 32,
65
+ color: "#009fe3"
66
+ })
67
+ ]),
68
+ default: i(() => [
69
+ n[3] || (n[3] = r(" Organisation card above is WIP ", -1))
70
+ ]),
71
+ _: 1,
72
+ __: [3]
73
+ })
74
+ ])) : g("", !0),
75
+ e("section", T, [
76
+ e("div", W, [
57
77
  n[4] || (n[4] = e("h5", null, "Projektkontakt (optional)", -1)),
58
78
  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)),
59
- o(b, null, {
60
- default: a(() => [
61
- o(i(l), {
79
+ o(_, null, {
80
+ default: i(() => [
81
+ o(s(l), {
62
82
  type: "group",
63
83
  name: "contact"
64
84
  }, {
65
- default: a(() => [
66
- o(i(l), {
67
- type: i(r),
85
+ default: i(() => [
86
+ o(s(l), {
87
+ type: s(d),
68
88
  name: "name",
69
89
  "text-label": "Name",
70
90
  placeholder: "Geben Sie einen Namen an.",
71
- validation: "required",
72
91
  "validation-label": "Name"
73
92
  }, null, 8, ["type"]),
74
- o(i(l), {
75
- type: i(r),
93
+ o(s(l), {
94
+ type: s(d),
76
95
  name: "mail",
77
96
  "text-label": "E-Mail-Adresse",
78
97
  placeholder: "Geben Sie eine E-Mail-Adresse an.",
79
- validation: "required",
98
+ validation: "email",
80
99
  "validation-label": "E-Mail-Adresse"
81
100
  }, null, 8, ["type"]),
82
- o(i(l), {
83
- type: i(r),
101
+ o(s(l), {
102
+ type: s(d),
84
103
  name: "phone",
85
104
  "text-label": "Telefonnummer",
86
105
  placeholder: "Geben Sie eine Telefonnummer an.",
87
- validation: "required",
106
+ validation: "number",
88
107
  "validation-label": "Telefonnummer"
89
108
  }, null, 8, ["type"])
90
109
  ]),
@@ -95,35 +114,38 @@ const y = { class: "dpiV3_page V3-typography" }, _ = { class: "funny-section" },
95
114
  })
96
115
  ])
97
116
  ]),
98
- e("section", V, [
99
- o(g)
100
- ]),
101
- n[8] || (n[8] = e("br", null, null, -1)),
102
117
  e("section", j, [
103
- o(h, { variant: "default" }, {
104
- icon: a(() => [
105
- o(i(f), {
106
- size: 32,
107
- color: "#009fe3"
108
- })
109
- ]),
110
- title: a(() => n[6] || (n[6] = [
111
- m(" Wichtig! ", -1)
112
- ])),
113
- default: a(() => [
114
- n[7] || (n[7] = e("div", { class: "copy-large-regular" }, [
115
- e("p", null, "Bitte geben Sie keine persönlichen Daten preis! Diese dürfen auf unserer Plattform nicht veröffentlicht werden."),
116
- e("p", null, "Dazu zählen Namen, E-Mail-Adresse oder auch Telefonnummern von realen Personen."),
117
- e("p", null, "Geben Sie daher hier die Daten einer Organisationseinheit oder Abteilung an.")
118
- ], -1))
119
- ]),
120
- _: 1,
121
- __: [7]
122
- })
118
+ e("div", G, [
119
+ o(y)
120
+ ])
121
+ ]),
122
+ e("section", I, [
123
+ e("div", F, [
124
+ o(m, { variant: "default" }, {
125
+ icon: i(() => [
126
+ o(s(p), {
127
+ size: 32,
128
+ color: "#009fe3"
129
+ })
130
+ ]),
131
+ title: i(() => n[6] || (n[6] = [
132
+ r(" Wichtig! ", -1)
133
+ ])),
134
+ default: i(() => [
135
+ n[7] || (n[7] = e("div", { class: "copy-large-regular" }, [
136
+ e("p", null, "Bitte geben Sie keine persönlichen Daten preis! Diese dürfen auf unserer Plattform nicht veröffentlicht werden."),
137
+ e("p", null, "Dazu zählen Namen, E-Mail-Adresse oder auch Telefonnummern von realen Personen."),
138
+ e("p", null, "Geben Sie daher hier die Daten einer Organisationseinheit oder Abteilung an.")
139
+ ], -1))
140
+ ]),
141
+ _: 1,
142
+ __: [7]
143
+ })
144
+ ])
123
145
  ])
124
146
  ]));
125
147
  }
126
148
  });
127
149
  export {
128
- W as default
150
+ Q as default
129
151
  };
@@ -0,0 +1,38 @@
1
+ import { createElementBlock as n, openBlock as r, createElementVNode as e, createVNode as o, unref as s } from "vue";
2
+ import { FormKit as i } from "@formkit/vue";
3
+ import a from "../../../components/StepActionsSection.vue.js";
4
+ import l from "../ListBox/ListBoxDefinition.js";
5
+ /* empty css */
6
+ import c from "../../../../_virtual/_plugin-vue_export-helper.js";
7
+ const p = { class: "dpiV3_page V3-typography" }, d = { class: "funny-section" }, m = { class: "funny-flex" }, u = { class: "funny-section" }, _ = {
8
+ __name: "ProjectStatusStep",
9
+ setup(f) {
10
+ return (h, t) => (r(), n("div", p, [
11
+ e("section", d, [
12
+ e("div", m, [
13
+ t[0] || (t[0] = e("h4", null, " Legen Sie den Status Ihres Projekts fest ", -1)),
14
+ t[1] || (t[1] = e("span", { class: "copy-large-regular" }, "Ist Ihr Projekt noch in Planung, in Arbeit oder bereits abgeschlossen?", -1)),
15
+ o(s(i), {
16
+ type: s(l),
17
+ name: "projectName",
18
+ label: "Projektstatus",
19
+ placeholder: "Wählen Sie den Projektstatus.",
20
+ options: [
21
+ { id: "open", name: "Offen" },
22
+ { id: "in_progress", name: "In Arbeit" },
23
+ { id: "done", name: "Abgeschlossen" }
24
+ ],
25
+ validation: "required",
26
+ "validation-label": "Projektstatus"
27
+ }, null, 8, ["type"])
28
+ ])
29
+ ]),
30
+ e("section", u, [
31
+ o(a)
32
+ ])
33
+ ]));
34
+ }
35
+ }, k = /* @__PURE__ */ c(_, [["__scopeId", "data-v-835a4f9c"]]);
36
+ export {
37
+ k as default
38
+ };
@@ -1,7 +1,7 @@
1
1
  import o from "./Card.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b2439452"]]);
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-0eeefbaf"]]);
5
5
  export {
6
- p as default
6
+ f as default
7
7
  };
@@ -1,36 +1,50 @@
1
- import { defineComponent as c, computed as p, createElementBlock as r, openBlock as a, normalizeClass as s, createElementVNode as d, renderSlot as t, createCommentVNode as i } from "vue";
2
- const u = { class: "dpiV3_Card_Icon_Title" }, _ = {
1
+ import { defineComponent as c, computed as p, createElementBlock as e, openBlock as o, normalizeClass as r, createCommentVNode as i, createElementVNode as l, renderSlot as s } from "vue";
2
+ const _ = {
3
+ key: 0,
4
+ class: "dpiV3_Card_Icon_Title"
5
+ }, u = {
3
6
  key: 1,
4
7
  class: "dpiV3_Card_Info_Text copy-large-semi-bold"
5
- }, v = /* @__PURE__ */ c({
8
+ }, C = { class: "dpiV3_Card_Body" }, v = {
9
+ key: 0,
10
+ class: "dpiV3_Card_Icon"
11
+ }, V = { key: 1 }, f = /* @__PURE__ */ c({
6
12
  __name: "Card",
7
13
  props: {
8
14
  variant: { default: "default" }
9
15
  },
10
- setup(n) {
11
- const o = n, l = p(() => ({
16
+ setup(a) {
17
+ const d = a, n = p(() => ({
12
18
  "V3-typography": !0,
13
19
  dpiV3_Card: !0,
14
- "dpiV3_Card--default": o.variant === "default",
15
- "dpiV3_Card--error": o.variant === "error"
20
+ "dpiV3_Card--default": d.variant === "default",
21
+ "dpiV3_Card--error": d.variant === "error"
16
22
  }));
17
- return (e, C) => (a(), r("div", {
18
- class: s(l.value)
23
+ return (t, $) => (o(), e("div", {
24
+ class: r(n.value)
19
25
  }, [
20
- d("div", u, [
21
- e.$slots.icon ? t(e.$slots, "icon", { key: 0 }, void 0, !0) : i("", !0),
22
- e.$slots.title ? (a(), r("div", _, [
23
- t(e.$slots, "title", {}, void 0, !0)
26
+ t.$slots.title ? (o(), e("div", _, [
27
+ t.$slots.icon ? s(t.$slots, "icon", { key: 0 }, void 0, !0) : i("", !0),
28
+ t.$slots.title ? (o(), e("div", u, [
29
+ s(t.$slots, "title", {}, void 0, !0)
24
30
  ])) : i("", !0)
25
- ]),
26
- d("div", {
27
- class: s(["dpiV3_Card_Content", { "dpiV3_Card_Content--with-icon": e.$slots.icon }])
28
- }, [
29
- t(e.$slots, "default", {}, void 0, !0)
30
- ], 2)
31
+ ])) : i("", !0),
32
+ l("div", C, [
33
+ t.$slots.icon && !t.$slots.title ? (o(), e("div", v, [
34
+ s(t.$slots, "icon", {}, void 0, !0)
35
+ ])) : (o(), e("div", V)),
36
+ l("div", {
37
+ class: r(["dpiV3_Card_Content", {
38
+ "dpiV3_Card_Content--with-icon": t.$slots.icon && t.$slots.title,
39
+ "dpiV3_Card_Content--with-icon-no-title": t.$slots.icon && !t.$slots.title
40
+ }])
41
+ }, [
42
+ s(t.$slots, "default", {}, void 0, !0)
43
+ ], 2)
44
+ ])
31
45
  ], 2));
32
46
  }
33
47
  });
34
48
  export {
35
- v as default
49
+ f as default
36
50
  };
@@ -0,0 +1,7 @@
1
+ import o from "./ChipToggleList.vue2.js";
2
+ /* empty css */
3
+ import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f4348c10"]]);
5
+ export {
6
+ i as default
7
+ };
@@ -0,0 +1,62 @@
1
+ import { defineComponent as m, mergeModels as p, useModel as f, createElementBlock as d, openBlock as a, Fragment as h, renderList as v, withDirectives as x, createElementVNode as u, vModelCheckbox as k, createVNode as _ } from "vue";
2
+ import { looseIndexOf as c } from "@vue/shared";
3
+ import C from "../Chip.vue.js";
4
+ const b = { class: "chip-toggle-list" }, g = ["id", "value"], V = ["for", "onClick"], $ = /* @__PURE__ */ m({
5
+ __name: "ChipToggleList",
6
+ props: /* @__PURE__ */ p({
7
+ options: {}
8
+ }, {
9
+ modelValue: {
10
+ default: () => []
11
+ },
12
+ modelModifiers: {}
13
+ }),
14
+ emits: ["update:modelValue"],
15
+ setup(r) {
16
+ const l = f(r, "modelValue");
17
+ function n(t) {
18
+ return c(l.value, t) !== -1;
19
+ }
20
+ function o(t) {
21
+ c(l.value, t.id) !== -1 ? l.value = l.value.filter((e) => e !== t.id) : l.value = [...l.value, t.id];
22
+ }
23
+ return (t, i) => (a(), d("div", b, [
24
+ (a(!0), d(h, null, v(t.options, (e) => (a(), d("div", {
25
+ key: e.id,
26
+ class: "chip-item"
27
+ }, [
28
+ x(u("input", {
29
+ id: `chip-${e.id}`,
30
+ "onUpdate:modelValue": i[0] || (i[0] = (s) => l.value = s),
31
+ class: "chip-checkbox",
32
+ type: "checkbox",
33
+ value: e.id
34
+ }, null, 8, g), [
35
+ [k, l.value]
36
+ ]),
37
+ u("label", {
38
+ class: "chip-label",
39
+ for: `chip-${e.id}`,
40
+ onClick: (s) => o(e)
41
+ }, [
42
+ _(C, {
43
+ text: e.name,
44
+ data: {
45
+ "@value": e.id,
46
+ URI: e.uri || "https://example.com/default"
47
+ },
48
+ setup: {
49
+ "@type": "select",
50
+ "@inTable": !1,
51
+ "@findability": !0,
52
+ "@selected": n(e.id)
53
+ }
54
+ }, null, 8, ["text", "data", "setup"])
55
+ ], 8, V)
56
+ ]))), 128))
57
+ ]));
58
+ }
59
+ });
60
+ export {
61
+ $ as default
62
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./CategoriesStep.vue2.js";
2
+ /* empty css */
3
+ import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1ab9488a"]]);
5
+ export {
6
+ p as default
7
+ };
@@ -0,0 +1,60 @@
1
+ import { defineComponent as m, ref as c, resolveComponent as d, createElementBlock as f, openBlock as h, createElementVNode as n, createVNode as r, unref as g } from "vue";
2
+ import { defineHubSearch as y } from "@piveau/sdk-vue";
3
+ import * as _ from "zod";
4
+ import v from "../../../components/StepActionsSection.vue.js";
5
+ import b from "../ChipToggleList/ChipToggleList.vue.js";
6
+ const S = { class: "dpiV3_page V3-typography" }, V = { class: "funny-section" }, C = { class: "funny-flex" }, k = { class: "funny-section" }, K = /* @__PURE__ */ m({
7
+ __name: "CategoriesStep",
8
+ setup(x) {
9
+ const s = c([]), u = c(""), { useSearch: p } = y({
10
+ baseUrl: "https://staging.bydata.de/api/hub/search",
11
+ index: "vocabulary",
12
+ schema: _.any()
13
+ }, (e) => {
14
+ var t, l;
15
+ const o = String((e == null ? void 0 : e.resource) || ""), i = String(((t = e == null ? void 0 : e.pref_label) == null ? void 0 : t.de) || ((l = e == null ? void 0 : e.pref_label) == null ? void 0 : l.en) || "");
16
+ return {
17
+ id: o,
18
+ name: i
19
+ };
20
+ }), { getSearchResultsEnhanced: a } = p({
21
+ queryParams: {
22
+ q: u,
23
+ limit: 12,
24
+ vocabulary: "data-theme"
25
+ }
26
+ });
27
+ return (e, o) => {
28
+ const i = d("FormKit");
29
+ return h(), f("div", S, [
30
+ n("section", V, [
31
+ n("div", C, [
32
+ o[2] || (o[2] = n("div", null, [
33
+ n("h4", null, " Machen Sie Ihr Projekt leicht auffindbar "),
34
+ n("div", { class: "visibility-description" }, [
35
+ n("p", { class: "copy-large-regular" }, " Um sicherzustellen, dass Ihr Projekt für andere leicht zu finden ist, wählen Sie die relevanten, übergeordneten Kategorien aus. ")
36
+ ])
37
+ ], -1)),
38
+ r(i, {
39
+ modelValue: s.value,
40
+ "onUpdate:modelValue": o[0] || (o[0] = (t) => s.value = t),
41
+ type: "list",
42
+ name: "categories"
43
+ }, null, 8, ["modelValue"]),
44
+ r(b, {
45
+ modelValue: s.value,
46
+ "onUpdate:modelValue": o[1] || (o[1] = (t) => s.value = t),
47
+ options: g(a) || []
48
+ }, null, 8, ["modelValue", "options"])
49
+ ])
50
+ ]),
51
+ n("section", k, [
52
+ r(v)
53
+ ])
54
+ ]);
55
+ };
56
+ }
57
+ });
58
+ export {
59
+ K as default
60
+ };
@@ -1,59 +1,76 @@
1
- import { ref as a, createElementBlock as o, openBlock as l, createElementVNode as n, createVNode as i, unref as t, withCtx as r, createTextVNode as c } from "vue";
1
+ import { ref as c, createElementBlock as l, openBlock as d, createElementVNode as e, createStaticVNode as o, createVNode as t, unref as a, withCtx as r, createTextVNode as n } from "vue";
2
2
  import { FormKit as h } from "@formkit/vue";
3
- import { PhLightbulb as d } from "@phosphor-icons/vue";
4
- import u from "../../../components/StepActionsSection.vue.js";
5
- import f from "../Card.vue.js";
6
- import m from "../ListBox/ListBoxDefinition.js";
3
+ import { PhLightbulb as u } from "@phosphor-icons/vue";
4
+ import f from "../../../components/StepActionsSection.vue.js";
5
+ import v from "../Card.vue.js";
6
+ import g from "../ListBox/ListBoxDefinition.js";
7
7
  /* empty css */
8
- import g from "../../../../_virtual/_plugin-vue_export-helper.js";
9
- const b = { class: "dpiV3_page V3-typography" }, p = { class: "funny-section" }, S = { class: "funny-flex" }, k = { class: "funny-section" }, v = { class: "funny-section" }, _ = {
8
+ import p from "../../../../_virtual/_plugin-vue_export-helper.js";
9
+ const m = { class: "dpiV3_page V3-typography" }, b = { class: "funny-section" }, S = { class: "funny-flex" }, k = { class: "funny-section" }, _ = { class: "funny-section" }, y = {
10
10
  __name: "DiscoverabilityStep",
11
- setup(y) {
12
- const s = a([
11
+ setup(z) {
12
+ const s = c([
13
13
  { id: 1, name: "Öffentlich", unavailable: !1 },
14
14
  { id: 2, name: "Eingeschränkt", unavailable: !1 },
15
15
  { id: 3, name: "Intern", unavailable: !1 }
16
16
  ]);
17
- return (z, e) => (l(), o("div", b, [
18
- n("section", p, [
19
- n("div", S, [
20
- e[0] || (e[0] = n("h4", null, " Legen Sie die Sichtbarkeit Ihres Projekts fest ", -1)),
21
- e[1] || (e[1] = n("span", { class: "copy-large-regular" }, " Sie können für jedes Projekt individuell entscheiden, wer Ihre Metadaten sehen soll. Wir freuen uns, wenn Sie Ihre Daten möglichst offen teilen, um den Austausch zwischen den Kommunen zu fördern und gemeinsam von Erfahrungen und Lösungen zu profitieren. Gleichzeitig verstehen wir, dass manche Informationen einen geschützten Raum benötigen. Deshalb können Sie zwischen drei Sichtbarkeitsstufen wählen: „öffentlich“ (für alle Nutzer sichtbar) „eingeschränkt“ (für alle registrierten Nutzer sichtbar) „intern“ (für alle registrierten Nutzer Ihrer Organisation und Nutzer, denen Sie oder Ihre Organisation Sichtrechte erteilt haben, sichtbar) ", -1)),
22
- i(t(h), {
23
- type: t(m),
17
+ return (I, i) => (d(), l("div", m, [
18
+ e("section", b, [
19
+ e("div", S, [
20
+ i[0] || (i[0] = o('<div data-v-dc92c968><h4 data-v-dc92c968> Legen Sie die Sichtbarkeit Ihres Projekts fest </h4><div class="visibility-description" data-v-dc92c968><span class="copy-large-regular" data-v-dc92c968> Sie können für jedes Projekt individuell entscheiden, wer Ihre Metadaten sehen soll. Wir freuen uns, wenn Sie Ihre Daten möglichst offen teilen, um den Austausch zwischen den Kommunen zu fördern und gemeinsam von Erfahrungen und Lösungen zu profitieren. Gleichzeitig verstehen wir, dass manche Informationen einen geschützten Raum benötigen. Deshalb können Sie zwischen drei Sichtbarkeitsstufen wählen: </span></div><ul class="visibility-variants" data-v-dc92c968><li data-v-dc92c968><div class="variant-content" data-v-dc92c968><p data-v-dc92c968><strong data-v-dc92c968>„öffentlich“</strong> (für alle Nutzer sichtbar) </p></div></li><li data-v-dc92c968><div class="variant-content" data-v-dc92c968><p data-v-dc92c968><strong data-v-dc92c968>„eingeschränkt“</strong>(für alle registrierten Nutzer sichtbar) </p></div></li><li data-v-dc92c968><div class="variant-content" data-v-dc92c968><p data-v-dc92c968><strong data-v-dc92c968>„intern“</strong> (für alle registrierten Nutzer Ihrer Organisation und Nutzer, denen Sie oder Ihre Organisation Sichtrechte erteilt haben, sichtbar) </p></div></li></ul></div>', 1)),
21
+ t(a(h), {
22
+ type: a(g),
24
23
  name: "visibility",
25
24
  label: "Sichtbarkeit",
25
+ placeholder: "Wählen Sie eine Sichtbarkeit.",
26
26
  options: s.value,
27
27
  validation: "required"
28
28
  }, null, 8, ["type", "options"])
29
29
  ])
30
30
  ]),
31
- n("section", k, [
32
- i(u)
31
+ e("section", k, [
32
+ t(f)
33
33
  ]),
34
- n("section", v, [
35
- i(f, { variant: "default" }, {
34
+ e("section", _, [
35
+ t(v, { variant: "default" }, {
36
36
  icon: r(() => [
37
- i(t(d), {
37
+ t(a(u), {
38
38
  size: 32,
39
39
  color: "#009fe3"
40
40
  })
41
41
  ]),
42
- title: r(() => e[2] || (e[2] = [
43
- c(" Information ", -1)
42
+ title: r(() => i[1] || (i[1] = [
43
+ n(" Information ", -1)
44
44
  ])),
45
45
  default: r(() => [
46
- e[3] || (e[3] = n("div", { class: "copy-large-regular" }, [
47
- n("p", null, " Wenn Sie Ihr Projekt öffentlich zugänglich machen, sehen alle Besucher unserer Website alle Metadaten, die Sie hier angeben. Bei einer eingeschränkten Veröffentlichung sehen alle registrierten Besucher unserer Website, egal welcher Kommune oder Organisation sie angehören, alle Metadaten, die Sie hier angeben. Für Projekte, die Sie exklusiv mit Ihrer eigenen Organisation teilen möchten, stellen Sie die Sichtbarkeit auf intern. Ihr Organisations-Admin kann für Projekte mit diesem Sichtstatus zusätzliche Sichtrechte an einzelne Personen anderer Organisationen vergeben, sofern diese registriert sind. Sie können nicht nur für Projekte, sondern auch für Datensätze, die Sie über twin.bydata anlegen, die Sichtbarkeit Ihrer Daten (Metadaten und Rohdaten) einschränken. Auf twin.bydata können sich ausschließlich Organisationen der öffentlichen Verwaltung registrieren. ")
46
+ i[2] || (i[2] = e("div", { class: "visibility-information" }, [
47
+ e("p", null, [
48
+ n(" Wenn Sie Ihr Projekt "),
49
+ e("strong", null, "öffentlich"),
50
+ n(" zugänglich machen, sehen alle Besucher unserer Website alle Metadaten, die Sie hier angeben. ")
51
+ ]),
52
+ e("p", null, [
53
+ n(" Bei einer "),
54
+ e("strong", null, "eingeschränkten"),
55
+ n(" Veröffentlichung sehen alle registrierten Besucher unserer Website, egal welcher Kommune oder Organisation sie angehören, alle Metadaten, die Sie hier angeben. ")
56
+ ]),
57
+ e("p", null, [
58
+ n(" Für Projekte, die Sie exklusiv mit Ihrer eigenen Organisation teilen möchten, stellen Sie die Sichtbarkeit auf "),
59
+ e("strong", null, "intern"),
60
+ n(". ")
61
+ ]),
62
+ e("p", null, " Ihr Organisations-Admin kann für Projekte mit diesem Sichtstatus zusätzliche Sichtrechte an einzelne Personen anderer Organisationen vergeben, sofern diese registriert sind. "),
63
+ e("p", null, " Sie können nicht nur für Projekte, sondern auch für Datensätze, die Sie über twin.bydata anlegen, die Sichtbarkeit Ihrer Daten (Metadaten und Rohdaten) einschränken. "),
64
+ e("p", null, "Auf twin.bydata können sich ausschließlich Organisationen der öffentlichen Verwaltung registrieren")
48
65
  ], -1))
49
66
  ]),
50
67
  _: 1,
51
- __: [3]
68
+ __: [2]
52
69
  })
53
70
  ])
54
71
  ]));
55
72
  }
56
- }, D = /* @__PURE__ */ g(_, [["__scopeId", "data-v-b14fbdd9"]]);
73
+ }, B = /* @__PURE__ */ p(y, [["__scopeId", "data-v-dc92c968"]]);
57
74
  export {
58
- D as default
75
+ B as default
59
76
  };
@@ -1,5 +1,5 @@
1
1
  import t from "./InputFieldFormKit.vue.js";
2
- const n = {
2
+ const i = {
3
3
  type: "input",
4
4
  schema: [],
5
5
  component: t,
@@ -13,9 +13,11 @@ const n = {
13
13
  "tooltipText",
14
14
  "initialHintText",
15
15
  "textLabel",
16
- "placeholder"
16
+ "placeholder",
17
+ "trailing_text",
18
+ "trailing-text"
17
19
  ]
18
20
  };
19
21
  export {
20
- n as default
22
+ i as default
21
23
  };