@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.
- package/dist/assets/dpi.css +1 -1
- package/dist/assets/stadt.png +0 -0
- package/dist/data-provider-interface/HappyFlowComponents/AboutProject.vue.js +99 -0
- package/dist/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +38 -11
- package/dist/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +17 -17
- package/dist/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +94 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/DataProcessingSteps.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue2.js +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocabFormKit.vue.js +18 -18
- package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +89 -67
- package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js +38 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Card.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/Card.vue2.js +34 -20
- package/dist/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue2.js +62 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +60 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +45 -28
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +5 -3
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +45 -37
- package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue2.js +40 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxDefinition.js +2 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxFormKit.vue.js +20 -16
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue2.js +41 -37
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +341 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +64 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js +48 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +64 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +64 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/WipStep.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/WipStep.vue2.js +7 -7
- package/dist/data-provider-interface/components/ProgressSteps.vue.js +1 -1
- package/dist/data-provider-interface/components/ProgressSteps.vue2.js +45 -44
- package/dist/data-provider-interface/components/StepActionsSection.vue.js +2 -2
- package/dist/data-provider-interface/components/StepActionsSection.vue2.js +119 -42
- package/dist/data-provider-interface/composables/useDpiStepper.js +7 -7
- package/dist/data-provider-interface/views/InputPageProject.vue.js +354 -316
- package/dist/stories/components/DemoStepper.vue.js +2 -2
- package/dist/stories/components/DemoStepper.vue2.js +134 -102
- package/dist/stories/components/LinkCard.vue.js +7 -0
- package/dist/stories/components/LinkCard.vue2.js +52 -0
- package/dist/stories/components/PartnerCard.vue.js +2 -2
- package/dist/stories/components/PartnerCard.vue2.js +20 -19
- package/dist/stories/components/ScreenshotCard.vue.js +7 -0
- package/dist/stories/components/ScreenshotCard.vue2.js +25 -0
- package/package.json +1 -1
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
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
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
const
|
|
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(
|
|
19
|
-
return (t, n) => (u(), c("div",
|
|
20
|
-
e("section",
|
|
21
|
-
e("div",
|
|
22
|
-
n[
|
|
23
|
-
n[
|
|
24
|
-
|
|
25
|
-
e("section",
|
|
26
|
-
e("div",
|
|
27
|
-
e("p",
|
|
28
|
-
e("div",
|
|
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",
|
|
38
|
+
e("div", N, [
|
|
35
39
|
e("div", w, [
|
|
36
|
-
e("span",
|
|
37
|
-
|
|
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",
|
|
41
|
-
e("span",
|
|
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:
|
|
46
|
-
},
|
|
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
|
-
|
|
56
|
-
|
|
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(
|
|
60
|
-
default:
|
|
61
|
-
o(
|
|
79
|
+
o(_, null, {
|
|
80
|
+
default: i(() => [
|
|
81
|
+
o(s(l), {
|
|
62
82
|
type: "group",
|
|
63
83
|
name: "contact"
|
|
64
84
|
}, {
|
|
65
|
-
default:
|
|
66
|
-
o(
|
|
67
|
-
type:
|
|
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(
|
|
75
|
-
type:
|
|
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: "
|
|
98
|
+
validation: "email",
|
|
80
99
|
"validation-label": "E-Mail-Adresse"
|
|
81
100
|
}, null, 8, ["type"]),
|
|
82
|
-
o(
|
|
83
|
-
type:
|
|
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: "
|
|
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
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
]
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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
|
-
|
|
150
|
+
Q as default
|
|
129
151
|
};
|
package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js
ADDED
|
@@ -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
|
|
4
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-0eeefbaf"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1,36 +1,50 @@
|
|
|
1
|
-
import { defineComponent as c, computed as p, createElementBlock as
|
|
2
|
-
const
|
|
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
|
-
},
|
|
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(
|
|
11
|
-
const
|
|
16
|
+
setup(a) {
|
|
17
|
+
const d = a, n = p(() => ({
|
|
12
18
|
"V3-typography": !0,
|
|
13
19
|
dpiV3_Card: !0,
|
|
14
|
-
"dpiV3_Card--default":
|
|
15
|
-
"dpiV3_Card--error":
|
|
20
|
+
"dpiV3_Card--default": d.variant === "default",
|
|
21
|
+
"dpiV3_Card--error": d.variant === "error"
|
|
16
22
|
}));
|
|
17
|
-
return (
|
|
18
|
-
class:
|
|
23
|
+
return (t, $) => (o(), e("div", {
|
|
24
|
+
class: r(n.value)
|
|
19
25
|
}, [
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
t
|
|
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
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
|
|
49
|
+
f as default
|
|
36
50
|
};
|
package/dist/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue2.js
ADDED
|
@@ -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
|
+
};
|
package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js
ADDED
|
@@ -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
|
+
};
|
package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js
CHANGED
|
@@ -1,59 +1,76 @@
|
|
|
1
|
-
import { ref as
|
|
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
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
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
|
|
9
|
-
const
|
|
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(
|
|
12
|
-
const s =
|
|
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 (
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
-
|
|
32
|
-
|
|
31
|
+
e("section", k, [
|
|
32
|
+
t(f)
|
|
33
33
|
]),
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
e("section", _, [
|
|
35
|
+
t(v, { variant: "default" }, {
|
|
36
36
|
icon: r(() => [
|
|
37
|
-
|
|
37
|
+
t(a(u), {
|
|
38
38
|
size: 32,
|
|
39
39
|
color: "#009fe3"
|
|
40
40
|
})
|
|
41
41
|
]),
|
|
42
|
-
title: r(() =>
|
|
43
|
-
|
|
42
|
+
title: r(() => i[1] || (i[1] = [
|
|
43
|
+
n(" Information ", -1)
|
|
44
44
|
])),
|
|
45
45
|
default: r(() => [
|
|
46
|
-
|
|
47
|
-
|
|
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
|
-
__: [
|
|
68
|
+
__: [2]
|
|
52
69
|
})
|
|
53
70
|
])
|
|
54
71
|
]));
|
|
55
72
|
}
|
|
56
|
-
},
|
|
73
|
+
}, B = /* @__PURE__ */ p(y, [["__scopeId", "data-v-dc92c968"]]);
|
|
57
74
|
export {
|
|
58
|
-
|
|
75
|
+
B as default
|
|
59
76
|
};
|
package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import t from "./InputFieldFormKit.vue.js";
|
|
2
|
-
const
|
|
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
|
-
|
|
22
|
+
i as default
|
|
21
23
|
};
|