@piveau/dpi 0.2.0-alpha.6 → 0.2.0-alpha.8
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/packages/dpi/src/data-provider-interface/HappyFlowComponents/AboutProject.vue.js +20 -17
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +4 -4
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +45 -44
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue2.js +24 -22
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js +18 -21
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +49 -41
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue2.js +30 -24
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +105 -133
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +180 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +63 -61
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +48 -39
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +40 -36
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxDefinition.js +8 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxFormKit.vue.js +65 -37
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue2.js +21 -22
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +96 -93
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +59 -56
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue.js +38 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue2.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepsOverviewStep.vue.js +12 -12
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +32 -34
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js +38 -33
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +38 -32
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js +7 -7
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +36 -31
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +35 -30
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +1055 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/StateTag.vue.js +17 -13
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SummaryBox.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SummaryBox.vue2.js +14 -10
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +84 -73
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +70 -65
- package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue2.js +42 -0
- package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue2.js +249 -0
- package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/fixtures.js +287 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/__tests__/fixtures/theProjectForm.js +281 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/decodeProject.js +244 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +330 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/shared.js +37 -0
- package/dist/packages/dpi/src/data-provider-interface/schema/projectLdSchema.js +114 -0
- package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +406 -371
- package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +3 -3
- package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +12 -11
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +21 -16
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +8 -6
- package/package.json +5 -2
- package/dist/packages/dpi/src/stories/components/MethodsCard.vue.js +0 -7
- package/dist/packages/dpi/src/stories/components/MethodsCard.vue2.js +0 -45
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { FormKit as
|
|
1
|
+
import { defineComponent as C, ref as v, computed as b, createElementBlock as d, openBlock as p, createElementVNode as t, createVNode as l, createCommentVNode as A, unref as m, Fragment as U, renderList as z, withDirectives as I, vModelCheckbox as P, withCtx as o, createTextVNode as g } from "vue";
|
|
2
|
+
import { FormKit as D } from "@formkit/vue";
|
|
3
3
|
import { PhLightbulb as _ } from "@phosphor-icons/vue";
|
|
4
|
-
import { defineHubSearch as
|
|
5
|
-
import
|
|
4
|
+
import { defineHubSearch as j } from "@piveau/sdk-vue";
|
|
5
|
+
import $ from "zod";
|
|
6
6
|
import B from "../../../components/StepActionsSection.vue.js";
|
|
7
7
|
import E from "../Autocomplete/AutocompleteVocab.vue.js";
|
|
8
8
|
import L from "../ButtonV3.vue.js";
|
|
@@ -11,70 +11,71 @@ import N from "../Chip.vue.js";
|
|
|
11
11
|
const H = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" }, W = { class: "funny-flex" }, M = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "d-flex selected-applications"
|
|
14
|
-
}, Z = ["id", "value"],
|
|
14
|
+
}, Z = ["id", "value"], q = { class: "ml-auto" }, F = { class: "funny-section action-section" }, K = { class: "action-section" }, T = { class: "action-section" }, V = "data-theme", se = /* @__PURE__ */ C({
|
|
15
15
|
__name: "ApplicationsStep",
|
|
16
16
|
setup(G) {
|
|
17
|
-
const s =
|
|
17
|
+
const s = v([]), c = v(""), { useResources: k } = j({
|
|
18
18
|
baseUrl: "https://staging.bydata.de/api/hub/search",
|
|
19
19
|
index: "vocabulary",
|
|
20
20
|
indexDetails: "vocabularies",
|
|
21
|
-
schema:
|
|
22
|
-
}, (
|
|
23
|
-
var
|
|
24
|
-
const e = String((
|
|
21
|
+
schema: $.any()
|
|
22
|
+
}, (n) => {
|
|
23
|
+
var a, u;
|
|
24
|
+
const e = String((n == null ? void 0 : n.id) || ""), i = String(((a = n == null ? void 0 : n.pref_label) == null ? void 0 : a.de) || ((u = n == null ? void 0 : n.pref_label) == null ? void 0 : u.en) || "");
|
|
25
25
|
return {
|
|
26
26
|
id: e,
|
|
27
|
-
name: i
|
|
27
|
+
name: i,
|
|
28
|
+
resource: n == null ? void 0 : n.resource
|
|
28
29
|
};
|
|
29
|
-
}), y =
|
|
30
|
+
}), y = b(() => s.value.map((n) => ({
|
|
30
31
|
resourceId: `${V}/vocable`,
|
|
31
32
|
params: {
|
|
32
33
|
additionalParams: {
|
|
33
|
-
resource:
|
|
34
|
+
resource: n
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
|
-
}))),
|
|
37
|
-
const e =
|
|
37
|
+
}))), f = k(y), h = b(() => f.value.every((n) => n.isSuccess) ? f.value.map((n) => {
|
|
38
|
+
const e = n.resultEnhanced;
|
|
38
39
|
return (e == null ? void 0 : e.name) || "";
|
|
39
40
|
}) : []);
|
|
40
|
-
function
|
|
41
|
-
const
|
|
42
|
-
if (
|
|
43
|
-
const e =
|
|
44
|
-
s.value.includes(e) || s.value.push(e),
|
|
41
|
+
function S() {
|
|
42
|
+
const n = c.value;
|
|
43
|
+
if (n && n.trim()) {
|
|
44
|
+
const e = n.trim();
|
|
45
|
+
s.value.includes(e) || s.value.push(e), c.value = "";
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
|
-
return (
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
e[3] || (e[3] =
|
|
51
|
-
e[4] || (e[4] =
|
|
52
|
-
l(
|
|
48
|
+
return (n, e) => (p(), d("div", H, [
|
|
49
|
+
t("section", R, [
|
|
50
|
+
t("div", W, [
|
|
51
|
+
e[3] || (e[3] = t("h4", null, " Geben Sie Anwendungsbereiche an ", -1)),
|
|
52
|
+
e[4] || (e[4] = t("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)),
|
|
53
|
+
l(m(D), {
|
|
53
54
|
modelValue: s.value,
|
|
54
55
|
"onUpdate:modelValue": e[0] || (e[0] = (i) => s.value = i),
|
|
55
56
|
name: "applications",
|
|
56
57
|
type: "list",
|
|
57
58
|
hidden: ""
|
|
58
59
|
}, null, 8, ["modelValue"]),
|
|
59
|
-
|
|
60
|
-
(
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
id: `application-${i}`,
|
|
66
|
-
"onUpdate:modelValue": e[1] || (e[1] = (m) => s.value = m),
|
|
67
|
-
class: "label-chip__input",
|
|
68
|
-
type: "checkbox",
|
|
69
|
-
value: i
|
|
70
|
-
}, null, 8, Z), [
|
|
71
|
-
[I, s.value]
|
|
72
|
-
]),
|
|
73
|
-
n("label", {
|
|
74
|
-
class: "label-chip__label",
|
|
75
|
-
for: `application-${i}`
|
|
60
|
+
h.value.length > 0 ? (p(), d("div", M, [
|
|
61
|
+
(p(!0), d(U, null, z(h.value, (i, r) => {
|
|
62
|
+
var a, u;
|
|
63
|
+
return p(), d("div", {
|
|
64
|
+
key: `application-${i}@${r}`,
|
|
65
|
+
class: "label-chip"
|
|
76
66
|
}, [
|
|
67
|
+
I(t("input", {
|
|
68
|
+
id: `application-${i}@${r}`,
|
|
69
|
+
"onUpdate:modelValue": e[1] || (e[1] = (x) => s.value = x),
|
|
70
|
+
class: "label-chip__input",
|
|
71
|
+
type: "checkbox",
|
|
72
|
+
value: (u = (a = m(f)[r]) == null ? void 0 : a.resultEnhanced) == null ? void 0 : u.resource
|
|
73
|
+
}, null, 8, Z), [
|
|
74
|
+
[P, s.value]
|
|
75
|
+
]),
|
|
77
76
|
l(N, {
|
|
77
|
+
as: "label",
|
|
78
|
+
for: `application-${i}@${r}`,
|
|
78
79
|
class: "label-chip__inner",
|
|
79
80
|
text: i,
|
|
80
81
|
data: {
|
|
@@ -84,15 +85,16 @@ const H = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" },
|
|
|
84
85
|
setup: {
|
|
85
86
|
"@type": "selected",
|
|
86
87
|
"@icon": "suffix",
|
|
87
|
-
"@inTable": !1
|
|
88
|
+
"@inTable": !1,
|
|
89
|
+
"@selected": !0
|
|
88
90
|
}
|
|
89
|
-
}, null, 8, ["text", "data"])
|
|
90
|
-
]
|
|
91
|
-
|
|
92
|
-
])) :
|
|
91
|
+
}, null, 8, ["for", "text", "data"])
|
|
92
|
+
]);
|
|
93
|
+
}), 128))
|
|
94
|
+
])) : A("", !0),
|
|
93
95
|
l(E, {
|
|
94
|
-
modelValue:
|
|
95
|
-
"onUpdate:modelValue": e[2] || (e[2] = (i) =>
|
|
96
|
+
modelValue: c.value,
|
|
97
|
+
"onUpdate:modelValue": e[2] || (e[2] = (i) => c.value = i),
|
|
96
98
|
vocabulary: V,
|
|
97
99
|
name: "projectName",
|
|
98
100
|
label: "Wählen Sie Vorschläge aus der Liste",
|
|
@@ -100,24 +102,24 @@ const H = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" },
|
|
|
100
102
|
validation: "required",
|
|
101
103
|
"validation-label": "Projektstatus"
|
|
102
104
|
}, null, 8, ["modelValue"]),
|
|
103
|
-
|
|
105
|
+
t("div", q, [
|
|
104
106
|
l(L, {
|
|
105
107
|
"button-text": "Anwendungsbereich hinzufügen",
|
|
106
108
|
size: "medium",
|
|
107
109
|
variant: "tertiary",
|
|
108
110
|
"icon-start": "plus",
|
|
109
|
-
onClick:
|
|
111
|
+
onClick: S
|
|
110
112
|
})
|
|
111
113
|
])
|
|
112
114
|
])
|
|
113
115
|
]),
|
|
114
|
-
|
|
116
|
+
t("section", F, [
|
|
115
117
|
l(B, { "hide-cancel": "" })
|
|
116
118
|
]),
|
|
117
|
-
|
|
119
|
+
t("section", K, [
|
|
118
120
|
l(w, { variant: "default" }, {
|
|
119
121
|
icon: o(() => [
|
|
120
|
-
l(
|
|
122
|
+
l(m(_), {
|
|
121
123
|
size: 32,
|
|
122
124
|
color: "#009fe3"
|
|
123
125
|
})
|
|
@@ -126,18 +128,18 @@ const H = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" },
|
|
|
126
128
|
g(" Information ", -1)
|
|
127
129
|
])),
|
|
128
130
|
default: o(() => [
|
|
129
|
-
e[6] || (e[6] =
|
|
130
|
-
|
|
131
|
+
e[6] || (e[6] = t("div", { class: "application-information" }, [
|
|
132
|
+
t("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. ")
|
|
131
133
|
], -1))
|
|
132
134
|
]),
|
|
133
135
|
_: 1,
|
|
134
136
|
__: [6]
|
|
135
137
|
})
|
|
136
138
|
]),
|
|
137
|
-
|
|
139
|
+
t("section", T, [
|
|
138
140
|
l(w, { variant: "default" }, {
|
|
139
141
|
icon: o(() => [
|
|
140
|
-
l(
|
|
142
|
+
l(m(_), {
|
|
141
143
|
size: 32,
|
|
142
144
|
color: "#009fe3"
|
|
143
145
|
})
|
|
@@ -146,8 +148,8 @@ const H = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" },
|
|
|
146
148
|
g(" Beispiel ", -1)
|
|
147
149
|
])),
|
|
148
150
|
default: o(() => [
|
|
149
|
-
e[8] || (e[8] =
|
|
150
|
-
|
|
151
|
+
e[8] || (e[8] = t("div", { class: "application-information" }, [
|
|
152
|
+
t("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. ")
|
|
151
153
|
], -1))
|
|
152
154
|
]),
|
|
153
155
|
_: 1,
|
|
@@ -1,67 +1,76 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { FormKit as
|
|
3
|
-
import { PhLightbulb as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import { ref as h, computed as v, createElementBlock as g, openBlock as p, createElementVNode as e, createStaticVNode as m, createVNode as a, unref as l, withCtx as o, createTextVNode as t } from "vue";
|
|
2
|
+
import { FormKit as b } from "@formkit/vue";
|
|
3
|
+
import { PhLightbulb as S } from "@phosphor-icons/vue";
|
|
4
|
+
import k from "../../../components/StepActionsSection.vue.js";
|
|
5
|
+
import y from "../Card.vue.js";
|
|
6
|
+
import _ from "../ListBox/ListBoxDefinition.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import
|
|
9
|
-
const
|
|
8
|
+
import z from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
9
|
+
const I = { class: "dpiV3_page V3-typography" }, w = { class: "funny-section" }, V = { class: "funny-flex" }, x = { class: "funny-section" }, N = { class: "funny-section" }, O = {
|
|
10
10
|
__name: "DiscoverabilityStep",
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
{ id: "
|
|
14
|
-
{ id: "
|
|
15
|
-
{ id: "
|
|
16
|
-
])
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
11
|
+
setup(P) {
|
|
12
|
+
const r = h([
|
|
13
|
+
{ id: "public", name: "Öffentlich", unavailable: !1 },
|
|
14
|
+
{ id: "restricted", name: "Eingeschränkt", unavailable: !1 },
|
|
15
|
+
{ id: "internal", name: "Intern", unavailable: !1 }
|
|
16
|
+
]), d = v(() => r.value.map((n) => String(n.id))), c = (n) => {
|
|
17
|
+
var i;
|
|
18
|
+
return ((i = r.value.find((s) => String(s.id) === String(n))) == null ? void 0 : i.name) ?? n;
|
|
19
|
+
}, u = (n) => String(n), f = (n) => {
|
|
20
|
+
var i;
|
|
21
|
+
return !!((i = r.value.find((s) => String(s.id) === String(n))) != null && i.unavailable);
|
|
22
|
+
};
|
|
23
|
+
return (n, i) => (p(), g("div", I, [
|
|
24
|
+
e("section", w, [
|
|
25
|
+
e("div", V, [
|
|
26
|
+
i[0] || (i[0] = m('<div data-v-912af005><h4 data-v-912af005> Legen Sie die Sichtbarkeit Ihres Projekts fest </h4><div class="visibility-description" data-v-912af005><span class="copy-large-regular" data-v-912af005> 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-912af005><li data-v-912af005><div class="variant-content" data-v-912af005><p data-v-912af005><strong data-v-912af005>„öffentlich“</strong> (für alle Nutzer sichtbar) </p></div></li><li data-v-912af005><div class="variant-content" data-v-912af005><p data-v-912af005><strong data-v-912af005>„eingeschränkt“</strong> (für alle registrierten Nutzer sichtbar) </p></div></li><li data-v-912af005><div class="variant-content" data-v-912af005><p data-v-912af005><strong data-v-912af005>„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)),
|
|
27
|
+
a(l(b), {
|
|
28
|
+
type: l(_),
|
|
23
29
|
name: "visibility",
|
|
24
30
|
label: "Sichtbarkeit",
|
|
25
31
|
placeholder: "Wählen Sie eine Sichtbarkeit.",
|
|
26
|
-
options:
|
|
32
|
+
options: d.value,
|
|
33
|
+
"option-label": c,
|
|
34
|
+
"option-value": u,
|
|
35
|
+
"option-disabled": f,
|
|
27
36
|
validation: "required"
|
|
28
37
|
}, null, 8, ["type", "options"])
|
|
29
38
|
])
|
|
30
39
|
]),
|
|
31
|
-
e("section",
|
|
32
|
-
|
|
40
|
+
e("section", x, [
|
|
41
|
+
a(k, { "hide-cancel": "" })
|
|
33
42
|
]),
|
|
34
|
-
e("section",
|
|
35
|
-
|
|
36
|
-
icon:
|
|
37
|
-
|
|
43
|
+
e("section", N, [
|
|
44
|
+
a(y, { variant: "default" }, {
|
|
45
|
+
icon: o(() => [
|
|
46
|
+
a(l(S), {
|
|
38
47
|
size: 32,
|
|
39
48
|
color: "#009fe3"
|
|
40
49
|
})
|
|
41
50
|
]),
|
|
42
|
-
title:
|
|
43
|
-
|
|
51
|
+
title: o(() => i[1] || (i[1] = [
|
|
52
|
+
t(" Information ", -1)
|
|
44
53
|
])),
|
|
45
|
-
default:
|
|
54
|
+
default: o(() => [
|
|
46
55
|
i[2] || (i[2] = e("div", { class: "visibility-information" }, [
|
|
47
56
|
e("p", null, [
|
|
48
|
-
|
|
57
|
+
t(" Wenn Sie Ihr Projekt "),
|
|
49
58
|
e("strong", null, "öffentlich"),
|
|
50
|
-
|
|
59
|
+
t(" zugänglich machen, sehen alle Besucher unserer Website alle Metadaten, die Sie hier angeben. ")
|
|
51
60
|
]),
|
|
52
61
|
e("p", null, [
|
|
53
|
-
|
|
62
|
+
t(" Bei einer "),
|
|
54
63
|
e("strong", null, "eingeschränkten"),
|
|
55
|
-
|
|
64
|
+
t(" Veröffentlichung sehen alle registrierten Besucher unserer Website, egal welcher Kommune oder Organisation sie angehören, alle Metadaten, die Sie hier angeben. ")
|
|
56
65
|
]),
|
|
57
66
|
e("p", null, [
|
|
58
|
-
|
|
67
|
+
t(" Für Projekte, die Sie exklusiv mit Ihrer eigenen Organisation teilen möchten, stellen Sie die Sichtbarkeit auf "),
|
|
59
68
|
e("strong", null, "intern"),
|
|
60
|
-
|
|
69
|
+
t(". ")
|
|
61
70
|
]),
|
|
62
71
|
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
72
|
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")
|
|
73
|
+
e("p", null, "Auf twin.bydata können sich ausschließlich Organisationen der öffentlichen Verwaltung registrieren.")
|
|
65
74
|
], -1))
|
|
66
75
|
]),
|
|
67
76
|
_: 1,
|
|
@@ -70,7 +79,7 @@ const p = { class: "dpiV3_page V3-typography" }, m = { class: "funny-section" },
|
|
|
70
79
|
])
|
|
71
80
|
]));
|
|
72
81
|
}
|
|
73
|
-
},
|
|
82
|
+
}, K = /* @__PURE__ */ z(O, [["__scopeId", "data-v-912af005"]]);
|
|
74
83
|
export {
|
|
75
|
-
|
|
84
|
+
K as default
|
|
76
85
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as V, computed as o, createBlock as j, openBlock as K, unref as a } from "vue";
|
|
2
|
+
import P from "../InputField.vue.js";
|
|
3
|
+
const M = /* @__PURE__ */ V({
|
|
4
4
|
__name: "InputFieldFormKit",
|
|
5
5
|
props: {
|
|
6
6
|
context: {}
|
|
7
7
|
},
|
|
8
|
-
setup(
|
|
9
|
-
var
|
|
10
|
-
const t =
|
|
8
|
+
setup(y) {
|
|
9
|
+
var x, d, m, g, f, v, h;
|
|
10
|
+
const t = y, s = o({
|
|
11
11
|
get: () => {
|
|
12
12
|
var e;
|
|
13
13
|
return ((e = t.context) == null ? void 0 : e._value) || "";
|
|
@@ -16,53 +16,57 @@ const $ = /* @__PURE__ */ K({
|
|
|
16
16
|
var n;
|
|
17
17
|
(n = t.context) == null || n.node.input(e);
|
|
18
18
|
}
|
|
19
|
-
}),
|
|
19
|
+
}), b = o(() => {
|
|
20
20
|
var e;
|
|
21
21
|
return (e = t.context) == null ? void 0 : e.textLabel;
|
|
22
|
-
}),
|
|
22
|
+
}), I = o(() => {
|
|
23
23
|
var e;
|
|
24
24
|
return (e = t.context) == null ? void 0 : e.name;
|
|
25
|
-
}),
|
|
25
|
+
}), i = o(() => {
|
|
26
26
|
var e;
|
|
27
27
|
return ((e = t.context) == null ? void 0 : e.placeholder) || "Enter text here";
|
|
28
|
-
}),
|
|
28
|
+
}), c = o(() => {
|
|
29
29
|
var e;
|
|
30
30
|
return ((e = t.context) == null ? void 0 : e.trailing_text) || "$";
|
|
31
|
-
}),
|
|
31
|
+
}), p = o(() => {
|
|
32
32
|
var e;
|
|
33
33
|
return ((e = t.context) == null ? void 0 : e.trailingText) || !1;
|
|
34
|
-
}),
|
|
34
|
+
}), u = o(() => {
|
|
35
35
|
var e;
|
|
36
36
|
return Object.keys((e = t.context) == null ? void 0 : e.messages).length > 0;
|
|
37
|
-
}),
|
|
38
|
-
var n,
|
|
39
|
-
if (!
|
|
37
|
+
}), r = o(() => {
|
|
38
|
+
var n, l, _, T, k;
|
|
39
|
+
if (!u.value)
|
|
40
40
|
return "";
|
|
41
|
-
const e = (
|
|
42
|
-
return ((
|
|
43
|
-
}), w = ((
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
const e = (l = Object.keys((n = t.context) == null ? void 0 : n.messages)) == null ? void 0 : l[0];
|
|
42
|
+
return ((k = (T = (_ = t.context) == null ? void 0 : _.messages) == null ? void 0 : T[e]) == null ? void 0 : k.value) || "";
|
|
43
|
+
}), w = ((x = t.context) == null ? void 0 : x.inputType) || "text", E = ((d = t.context) == null ? void 0 : d.addOnText) || !1, O = ((m = t.context) == null ? void 0 : m.datePicker) || !1;
|
|
44
|
+
(g = t.context) != null && g.infoIcon;
|
|
45
|
+
const B = ((f = t.context) == null ? void 0 : f.preIcon) || !1;
|
|
46
|
+
(v = t.context) == null || v.showEndIcon;
|
|
47
|
+
const F = ((h = t.context) == null ? void 0 : h.tooltipText) || "This is helpful information";
|
|
48
|
+
return console.log(p.value, c.value, i.value), (e, n) => (K(), j(P, {
|
|
49
|
+
modelValue: s.value,
|
|
50
|
+
"onUpdate:modelValue": n[0] || (n[0] = (l) => s.value = l),
|
|
51
|
+
label: b.value,
|
|
52
|
+
placeholder: i.value,
|
|
49
53
|
"input-type": a(w),
|
|
50
54
|
"add-on-text": a(E),
|
|
51
55
|
"date-picker": a(O),
|
|
52
|
-
"info-icon":
|
|
53
|
-
"pre-icon": a(
|
|
54
|
-
"show-end-icon":
|
|
55
|
-
"tooltip-text": a(
|
|
56
|
-
"show-error":
|
|
57
|
-
"supporting-hint-message":
|
|
58
|
-
"initial-hint-text":
|
|
59
|
-
error_message:
|
|
60
|
-
name:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}, null, 8, ["modelValue", "label", "placeholder", "input-type", "add-on-text", "date-picker", "
|
|
56
|
+
"info-icon": !1,
|
|
57
|
+
"pre-icon": a(B),
|
|
58
|
+
"show-end-icon": !1,
|
|
59
|
+
"tooltip-text": a(F),
|
|
60
|
+
"show-error": u.value,
|
|
61
|
+
"supporting-hint-message": r.value,
|
|
62
|
+
"initial-hint-text": r.value,
|
|
63
|
+
error_message: r.value,
|
|
64
|
+
name: I.value,
|
|
65
|
+
"trailing-text": p.value,
|
|
66
|
+
trailing_text: c.value
|
|
67
|
+
}, null, 8, ["modelValue", "label", "placeholder", "input-type", "add-on-text", "date-picker", "pre-icon", "tooltip-text", "show-error", "supporting-hint-message", "initial-hint-text", "error_message", "name", "trailing-text", "trailing_text"]));
|
|
64
68
|
}
|
|
65
69
|
});
|
|
66
70
|
export {
|
|
67
|
-
|
|
71
|
+
M as default
|
|
68
72
|
};
|
package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js
CHANGED
|
@@ -471,7 +471,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
471
471
|
])) : i("", !0)
|
|
472
472
|
]));
|
|
473
473
|
}
|
|
474
|
-
}, Oe = /* @__PURE__ */ te(Me, [["__scopeId", "data-v-
|
|
474
|
+
}, Oe = /* @__PURE__ */ te(Me, [["__scopeId", "data-v-7dd0458d"]]);
|
|
475
475
|
export {
|
|
476
476
|
Oe as default
|
|
477
477
|
};
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import o from "./ListBoxFormKit.vue.js";
|
|
2
|
-
const
|
|
2
|
+
const t = {
|
|
3
3
|
type: "text",
|
|
4
4
|
schema: [],
|
|
5
5
|
component: o,
|
|
6
6
|
props: [
|
|
7
7
|
"label",
|
|
8
8
|
"options",
|
|
9
|
-
"placeholder"
|
|
9
|
+
"placeholder",
|
|
10
|
+
// pass-through customization hooks & flags
|
|
11
|
+
"optionLabel",
|
|
12
|
+
"optionValue",
|
|
13
|
+
"optionDisabled",
|
|
14
|
+
"disabled"
|
|
10
15
|
]
|
|
11
16
|
};
|
|
12
17
|
export {
|
|
13
|
-
|
|
18
|
+
t as default
|
|
14
19
|
};
|
|
@@ -1,54 +1,82 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as B, computed as n, createBlock as L, openBlock as V } from "vue";
|
|
2
|
+
import _ from "./Listbox.vue.js";
|
|
3
|
+
const j = /* @__PURE__ */ B({
|
|
4
4
|
__name: "ListBoxFormKit",
|
|
5
5
|
props: {
|
|
6
6
|
context: {}
|
|
7
7
|
},
|
|
8
|
-
setup(
|
|
9
|
-
const
|
|
8
|
+
setup(p) {
|
|
9
|
+
const t = p, s = n({
|
|
10
10
|
get: () => {
|
|
11
|
-
var
|
|
12
|
-
return ((
|
|
11
|
+
var o;
|
|
12
|
+
return String(((o = t.context) == null ? void 0 : o._value) || "");
|
|
13
13
|
},
|
|
14
|
-
set: (
|
|
15
|
-
var
|
|
16
|
-
(
|
|
14
|
+
set: (o) => {
|
|
15
|
+
var e;
|
|
16
|
+
(e = t.context) == null || e.node.input(o);
|
|
17
17
|
}
|
|
18
|
-
}),
|
|
19
|
-
var
|
|
20
|
-
return String(((
|
|
18
|
+
}), d = n(() => {
|
|
19
|
+
var o;
|
|
20
|
+
return String(((o = t.context) == null ? void 0 : o.label) || "");
|
|
21
21
|
}), m = n(() => {
|
|
22
|
+
var o;
|
|
23
|
+
return String(((o = t.context) == null ? void 0 : o.name) || "");
|
|
24
|
+
}), l = n(() => {
|
|
22
25
|
var e;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
return
|
|
26
|
+
const o = ((e = t.context) == null ? void 0 : e.options) || [];
|
|
27
|
+
return Array.isArray(o) ? o : [];
|
|
28
|
+
}), v = n(() => {
|
|
29
|
+
var o;
|
|
30
|
+
return String(((o = t.context) == null ? void 0 : o.placeholder) || "");
|
|
31
|
+
}), b = n(() => {
|
|
32
|
+
var o;
|
|
33
|
+
return Object.keys(((o = t.context) == null ? void 0 : o.messages) || {}).length > 0;
|
|
28
34
|
}), x = n(() => {
|
|
29
|
-
var e;
|
|
30
|
-
|
|
31
|
-
}), d = n(() => {
|
|
32
|
-
var e;
|
|
33
|
-
return Object.keys(((e = o.context) == null ? void 0 : e.messages) || {}).length > 0;
|
|
34
|
-
}), g = n(() => {
|
|
35
|
-
var t, r, a, l, c;
|
|
36
|
-
if (!d.value)
|
|
35
|
+
var e, a, i, u, c;
|
|
36
|
+
if (!b.value)
|
|
37
37
|
return "";
|
|
38
|
-
const
|
|
39
|
-
return String(((c = (
|
|
38
|
+
const o = (a = Object.keys(((e = t.context) == null ? void 0 : e.messages) || {})) == null ? void 0 : a[0];
|
|
39
|
+
return String(((c = (u = (i = t.context) == null ? void 0 : i.messages) == null ? void 0 : u[o]) == null ? void 0 : c.value) || "");
|
|
40
|
+
}), g = n(() => {
|
|
41
|
+
var o;
|
|
42
|
+
return (o = t.context) == null ? void 0 : o.optionLabel;
|
|
43
|
+
}), f = n(() => {
|
|
44
|
+
var o;
|
|
45
|
+
return (o = t.context) == null ? void 0 : o.optionValue;
|
|
46
|
+
}), h = n(() => {
|
|
47
|
+
var o;
|
|
48
|
+
return (o = t.context) == null ? void 0 : o.optionDisabled;
|
|
49
|
+
}), y = n(() => {
|
|
50
|
+
var o;
|
|
51
|
+
return !!((o = t.context) != null && o.disabled);
|
|
52
|
+
}), r = n({
|
|
53
|
+
get: () => {
|
|
54
|
+
const o = s.value;
|
|
55
|
+
return o ? l.value.find((a) => String(a.id) === String(o)) ?? o : "";
|
|
56
|
+
},
|
|
57
|
+
set: (o) => {
|
|
58
|
+
if (typeof o == "string") {
|
|
59
|
+
s.value = o;
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
s.value = String((o == null ? void 0 : o.id) ?? "");
|
|
63
|
+
}
|
|
40
64
|
});
|
|
41
|
-
return (
|
|
42
|
-
modelValue:
|
|
43
|
-
"onUpdate:modelValue":
|
|
44
|
-
options:
|
|
45
|
-
label:
|
|
65
|
+
return (o, e) => (V(), L(_, {
|
|
66
|
+
modelValue: r.value,
|
|
67
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => r.value = a),
|
|
68
|
+
options: l.value,
|
|
69
|
+
label: d.value,
|
|
46
70
|
name: m.value,
|
|
47
|
-
"error-message":
|
|
48
|
-
placeholder:
|
|
49
|
-
|
|
71
|
+
"error-message": x.value,
|
|
72
|
+
placeholder: v.value,
|
|
73
|
+
"option-label": g.value,
|
|
74
|
+
"option-value": f.value,
|
|
75
|
+
"option-disabled": h.value,
|
|
76
|
+
disabled: y.value
|
|
77
|
+
}, null, 8, ["modelValue", "options", "label", "name", "error-message", "placeholder", "option-label", "option-value", "option-disabled", "disabled"]));
|
|
50
78
|
}
|
|
51
79
|
});
|
|
52
80
|
export {
|
|
53
|
-
|
|
81
|
+
j as default
|
|
54
82
|
};
|
package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js
CHANGED
|
@@ -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
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0071f1d0"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|