@piveau/dpi 0.2.0-alpha.14 → 0.2.0-alpha.15
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 +46 -48
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +48 -31
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +107 -88
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue2.js +86 -62
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +36 -68
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js +14 -14
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js +7 -4
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +26 -27
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js +8 -8
- 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 +19 -19
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +38 -39
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +72 -67
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +84 -97
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +103 -88
- 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 +18 -17
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +35 -28
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +11 -10
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +4 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +46 -40
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +144 -134
- 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 +189 -155
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +44 -38
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +128 -123
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +50 -45
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/utils.js +17 -17
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +337 -337
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +38 -71
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue2.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +157 -141
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +172 -0
- package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue.js +7 -0
- package/dist/packages/dpi/src/data-provider-interface/components/SpatialPage.vue2.js +44 -0
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/components/TheErrorDialog.vue.js +57 -46
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +53 -55
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiEditMode.js +61 -59
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +185 -180
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiStepper.js +60 -61
- package/dist/packages/dpi/src/data-provider-interface/composables/useProjectActions.js +76 -46
- package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyHome.js +67 -34
- package/dist/packages/dpi/src/data-provider-interface/composables/useTwinbyUser.js +85 -0
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +19 -19
- package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +333 -308
- package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +314 -307
- package/dist/packages/dpi/src/form/inputDefinitions.js +52 -53
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +14 -14
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +9 -8
- package/package.json +5 -5
- package/dist/packages/dpi/src/data-provider-interface/components/PolGeoUriPage.vue.js +0 -124
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/__tests__/fixtures/theProjectForm.js +0 -281
|
@@ -1,4 +1,4 @@
|
|
|
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
|
|
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 r, createTextVNode as g } from "vue";
|
|
2
2
|
import { FormKit as D } from "@formkit/vue";
|
|
3
3
|
import { PhLightbulb as _ } from "@phosphor-icons/vue";
|
|
4
4
|
import { defineHubSearch as j } from "@piveau/sdk-vue";
|
|
@@ -8,10 +8,10 @@ import E from "../Autocomplete/AutocompleteVocab.vue.js";
|
|
|
8
8
|
import L from "../ButtonV3.vue.js";
|
|
9
9
|
import w from "../Card.vue.js";
|
|
10
10
|
import N from "../Chip.vue.js";
|
|
11
|
-
const H = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" }, W = { class: "funny-flex" },
|
|
11
|
+
const H = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" }, W = { class: "funny-flex" }, q = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "d-flex selected-applications"
|
|
14
|
-
},
|
|
14
|
+
}, M = ["id", "value"], Z = { 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
17
|
const s = v([]), c = v(""), { useResources: k } = j({
|
|
@@ -55,27 +55,28 @@ const H = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" },
|
|
|
55
55
|
"onUpdate:modelValue": e[0] || (e[0] = (i) => s.value = i),
|
|
56
56
|
name: "applications",
|
|
57
57
|
type: "list",
|
|
58
|
+
validation: "required",
|
|
58
59
|
hidden: ""
|
|
59
60
|
}, null, 8, ["modelValue"]),
|
|
60
|
-
h.value.length > 0 ? (p(), d("div",
|
|
61
|
-
(p(!0), d(U, null, z(h.value, (i,
|
|
61
|
+
h.value.length > 0 ? (p(), d("div", q, [
|
|
62
|
+
(p(!0), d(U, null, z(h.value, (i, o) => {
|
|
62
63
|
var a, u;
|
|
63
64
|
return p(), d("div", {
|
|
64
|
-
key: `application-${i}@${
|
|
65
|
+
key: `application-${i}@${o}`,
|
|
65
66
|
class: "label-chip"
|
|
66
67
|
}, [
|
|
67
68
|
I(t("input", {
|
|
68
|
-
id: `application-${i}@${
|
|
69
|
+
id: `application-${i}@${o}`,
|
|
69
70
|
"onUpdate:modelValue": e[1] || (e[1] = (x) => s.value = x),
|
|
70
71
|
class: "label-chip__input",
|
|
71
72
|
type: "checkbox",
|
|
72
|
-
value: (u = (a = m(f)[
|
|
73
|
-
}, null, 8,
|
|
73
|
+
value: (u = (a = m(f)[o]) == null ? void 0 : a.resultEnhanced) == null ? void 0 : u.resource
|
|
74
|
+
}, null, 8, M), [
|
|
74
75
|
[P, s.value]
|
|
75
76
|
]),
|
|
76
77
|
l(N, {
|
|
77
78
|
as: "label",
|
|
78
|
-
for: `application-${i}@${
|
|
79
|
+
for: `application-${i}@${o}`,
|
|
79
80
|
class: "label-chip__inner",
|
|
80
81
|
text: i,
|
|
81
82
|
data: {
|
|
@@ -102,7 +103,7 @@ const H = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" },
|
|
|
102
103
|
validation: "required",
|
|
103
104
|
"validation-label": "Projektstatus"
|
|
104
105
|
}, null, 8, ["modelValue"]),
|
|
105
|
-
t("div",
|
|
106
|
+
t("div", Z, [
|
|
106
107
|
l(L, {
|
|
107
108
|
"button-text": "Anwendungsbereich hinzufügen",
|
|
108
109
|
size: "medium",
|
|
@@ -118,16 +119,16 @@ const H = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" },
|
|
|
118
119
|
]),
|
|
119
120
|
t("section", K, [
|
|
120
121
|
l(w, { variant: "default" }, {
|
|
121
|
-
icon:
|
|
122
|
+
icon: r(() => [
|
|
122
123
|
l(m(_), {
|
|
123
124
|
size: 32,
|
|
124
125
|
color: "#009fe3"
|
|
125
126
|
})
|
|
126
127
|
]),
|
|
127
|
-
title:
|
|
128
|
+
title: r(() => e[5] || (e[5] = [
|
|
128
129
|
g(" Information ", -1)
|
|
129
130
|
])),
|
|
130
|
-
default:
|
|
131
|
+
default: r(() => [
|
|
131
132
|
e[6] || (e[6] = t("div", { class: "application-information" }, [
|
|
132
133
|
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. ")
|
|
133
134
|
], -1))
|
|
@@ -138,16 +139,16 @@ const H = { class: "dpiV3_page V3-typography" }, R = { class: "funny-section" },
|
|
|
138
139
|
]),
|
|
139
140
|
t("section", T, [
|
|
140
141
|
l(w, { variant: "default" }, {
|
|
141
|
-
icon:
|
|
142
|
+
icon: r(() => [
|
|
142
143
|
l(m(_), {
|
|
143
144
|
size: 32,
|
|
144
145
|
color: "#009fe3"
|
|
145
146
|
})
|
|
146
147
|
]),
|
|
147
|
-
title:
|
|
148
|
+
title: r(() => e[7] || (e[7] = [
|
|
148
149
|
g(" Beispiel ", -1)
|
|
149
150
|
])),
|
|
150
|
-
default:
|
|
151
|
+
default: r(() => [
|
|
151
152
|
e[8] || (e[8] = t("div", { class: "application-information" }, [
|
|
152
153
|
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. ")
|
|
153
154
|
], -1))
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./CategoriesStep.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-f9a54e61"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,60 +1,67 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as d, ref as c, computed as f, resolveComponent as v, createElementBlock as h, openBlock as g, createElementVNode as i, createVNode as l } from "vue";
|
|
2
2
|
import { defineHubSearch as y } from "@piveau/sdk-vue";
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
const
|
|
3
|
+
import * as b from "zod";
|
|
4
|
+
import _ from "../../../components/StepActionsSection.vue.js";
|
|
5
|
+
import S from "../ChipToggleList/ChipToggleList.vue.js";
|
|
6
|
+
const V = { class: "dpiV3_page V3-typography" }, C = { class: "funny-section" }, P = { class: "funny-flex" }, k = { class: "funny-section" }, z = /* @__PURE__ */ d({
|
|
7
7
|
__name: "CategoriesStep",
|
|
8
|
-
setup(
|
|
9
|
-
const s = c([]), u = c(""), { useSearch:
|
|
8
|
+
setup(q) {
|
|
9
|
+
const s = c([]), u = c(""), { useSearch: m } = y({
|
|
10
10
|
baseUrl: "https://staging.bydata.de/api/hub/search",
|
|
11
11
|
index: "vocabulary",
|
|
12
|
-
schema:
|
|
12
|
+
schema: b.any()
|
|
13
13
|
}, (e) => {
|
|
14
|
-
var t,
|
|
15
|
-
const o = String((e == null ? void 0 : e.resource) || ""),
|
|
14
|
+
var t, a;
|
|
15
|
+
const o = String((e == null ? void 0 : e.resource) || ""), n = String(((t = e == null ? void 0 : e.pref_label) == null ? void 0 : t.de) || ((a = e == null ? void 0 : e.pref_label) == null ? void 0 : a.en) || "");
|
|
16
16
|
return {
|
|
17
17
|
id: o,
|
|
18
|
-
name:
|
|
18
|
+
name: n
|
|
19
19
|
};
|
|
20
|
-
}), { getSearchResultsEnhanced:
|
|
20
|
+
}), { getSearchResultsEnhanced: r } = m({
|
|
21
21
|
queryParams: {
|
|
22
22
|
q: u,
|
|
23
23
|
limit: 12,
|
|
24
|
-
vocabulary: "data-theme"
|
|
24
|
+
vocabulary: "data-theme",
|
|
25
|
+
sort: "title+asc"
|
|
25
26
|
}
|
|
27
|
+
}), p = f(() => {
|
|
28
|
+
var e;
|
|
29
|
+
return r.value ? (e = [...r.value].filter((o) => !o.id.endsWith("OP_DATPRO"))) == null ? void 0 : e.sort((o, n) => o.name.localeCompare(n.name)) : [];
|
|
26
30
|
});
|
|
27
31
|
return (e, o) => {
|
|
28
|
-
const
|
|
29
|
-
return
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
o[2] || (o[2] =
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
const n = v("FormKit");
|
|
33
|
+
return g(), h("div", V, [
|
|
34
|
+
i("section", C, [
|
|
35
|
+
i("div", P, [
|
|
36
|
+
o[2] || (o[2] = i("div", null, [
|
|
37
|
+
i("h4", null, " Machen Sie Ihr Projekt leicht auffindbar "),
|
|
38
|
+
i("div", { class: "visibility-description" }, [
|
|
39
|
+
i("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
40
|
])
|
|
37
41
|
], -1)),
|
|
38
|
-
|
|
42
|
+
l(n, {
|
|
39
43
|
modelValue: s.value,
|
|
40
44
|
"onUpdate:modelValue": o[0] || (o[0] = (t) => s.value = t),
|
|
41
45
|
type: "list",
|
|
42
|
-
name: "categories"
|
|
46
|
+
name: "categories",
|
|
47
|
+
validation: "required",
|
|
48
|
+
"validation-visibility": "submit",
|
|
49
|
+
"validation-label": "Kategorien"
|
|
43
50
|
}, null, 8, ["modelValue"]),
|
|
44
|
-
|
|
51
|
+
l(S, {
|
|
45
52
|
modelValue: s.value,
|
|
46
53
|
"onUpdate:modelValue": o[1] || (o[1] = (t) => s.value = t),
|
|
47
|
-
options:
|
|
54
|
+
options: p.value || []
|
|
48
55
|
}, null, 8, ["modelValue", "options"])
|
|
49
56
|
])
|
|
50
57
|
]),
|
|
51
|
-
|
|
52
|
-
|
|
58
|
+
i("section", k, [
|
|
59
|
+
l(_, { "hide-cancel": "" })
|
|
53
60
|
])
|
|
54
61
|
]);
|
|
55
62
|
};
|
|
56
63
|
}
|
|
57
64
|
});
|
|
58
65
|
export {
|
|
59
|
-
|
|
66
|
+
z as default
|
|
60
67
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { FormKit as
|
|
1
|
+
import { ref as b, computed as v, createElementBlock as f, openBlock as g, createElementVNode as e, createStaticVNode as p, createVNode as a, unref as l, withCtx as o, createTextVNode as t } from "vue";
|
|
2
|
+
import { FormKit as m } from "@formkit/vue";
|
|
3
3
|
import { PhLightbulb as S } from "@phosphor-icons/vue";
|
|
4
4
|
import k from "../../../components/StepActionsSection.vue.js";
|
|
5
5
|
import y from "../Card.vue.js";
|
|
@@ -9,22 +9,22 @@ import z from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
9
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
11
|
setup(P) {
|
|
12
|
-
const r =
|
|
12
|
+
const r = b([
|
|
13
13
|
{ id: "public", name: "Öffentlich", unavailable: !1 },
|
|
14
14
|
{ id: "restricted", name: "Eingeschränkt", unavailable: !1 },
|
|
15
15
|
{ id: "internal", name: "Intern", unavailable: !1 }
|
|
16
16
|
]), d = v(() => r.value.map((n) => String(n.id))), c = (n) => {
|
|
17
17
|
var i;
|
|
18
18
|
return ((i = r.value.find((s) => String(s.id) === String(n))) == null ? void 0 : i.name) ?? n;
|
|
19
|
-
}, u = (n) => String(n),
|
|
19
|
+
}, u = (n) => String(n), h = (n) => {
|
|
20
20
|
var i;
|
|
21
21
|
return !!((i = r.value.find((s) => String(s.id) === String(n))) != null && i.unavailable);
|
|
22
22
|
};
|
|
23
|
-
return (n, i) => (
|
|
23
|
+
return (n, i) => (g(), f("div", I, [
|
|
24
24
|
e("section", w, [
|
|
25
25
|
e("div", V, [
|
|
26
|
-
i[0] || (i[0] =
|
|
27
|
-
a(l(
|
|
26
|
+
i[0] || (i[0] = p('<div data-v-17b7a73a><h4 data-v-17b7a73a> Legen Sie die Sichtbarkeit Ihres Projekts fest </h4><div class="visibility-description" data-v-17b7a73a><span class="copy-large-regular" data-v-17b7a73a> 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-17b7a73a><li data-v-17b7a73a><div class="variant-content" data-v-17b7a73a><p data-v-17b7a73a><strong data-v-17b7a73a>„öffentlich“</strong> (für alle Nutzer sichtbar) </p></div></li><li data-v-17b7a73a><div class="variant-content" data-v-17b7a73a><p data-v-17b7a73a><strong data-v-17b7a73a>„eingeschränkt“</strong> (für alle registrierten Nutzer sichtbar) </p></div></li><li data-v-17b7a73a><div class="variant-content" data-v-17b7a73a><p data-v-17b7a73a><strong data-v-17b7a73a>„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(m), {
|
|
28
28
|
type: l(_),
|
|
29
29
|
name: "visibility",
|
|
30
30
|
label: "Sichtbarkeit",
|
|
@@ -32,8 +32,9 @@ const I = { class: "dpiV3_page V3-typography" }, w = { class: "funny-section" },
|
|
|
32
32
|
options: d.value,
|
|
33
33
|
"option-label": c,
|
|
34
34
|
"option-value": u,
|
|
35
|
-
"option-disabled":
|
|
36
|
-
validation: "required"
|
|
35
|
+
"option-disabled": h,
|
|
36
|
+
validation: "required",
|
|
37
|
+
"validation-visibility": "submit"
|
|
37
38
|
}, null, 8, ["type", "options"])
|
|
38
39
|
])
|
|
39
40
|
]),
|
|
@@ -79,7 +80,7 @@ const I = { class: "dpiV3_page V3-typography" }, w = { class: "funny-section" },
|
|
|
79
80
|
])
|
|
80
81
|
]));
|
|
81
82
|
}
|
|
82
|
-
}, K = /* @__PURE__ */ z(O, [["__scopeId", "data-v-
|
|
83
|
+
}, K = /* @__PURE__ */ z(O, [["__scopeId", "data-v-17b7a73a"]]);
|
|
83
84
|
export {
|
|
84
85
|
K as default
|
|
85
86
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import t from "./InputFieldFormKit.vue.js";
|
|
2
|
-
const
|
|
2
|
+
const e = {
|
|
3
3
|
type: "input",
|
|
4
4
|
schema: [],
|
|
5
5
|
component: t,
|
|
@@ -15,9 +15,10 @@ const i = {
|
|
|
15
15
|
"textLabel",
|
|
16
16
|
"placeholder",
|
|
17
17
|
"trailing_text",
|
|
18
|
-
"trailing-text"
|
|
18
|
+
"trailing-text",
|
|
19
|
+
"is-disabled"
|
|
19
20
|
]
|
|
20
21
|
};
|
|
21
22
|
export {
|
|
22
|
-
|
|
23
|
+
e as default
|
|
23
24
|
};
|
|
@@ -1,70 +1,76 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
const M = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as j, computed as n, createBlock as K, openBlock as P, unref as l } from "vue";
|
|
2
|
+
import C from "../InputField.vue.js";
|
|
3
|
+
const M = /* @__PURE__ */ j({
|
|
4
4
|
__name: "InputFieldFormKit",
|
|
5
5
|
props: {
|
|
6
6
|
context: {}
|
|
7
7
|
},
|
|
8
8
|
setup(y) {
|
|
9
|
-
var
|
|
10
|
-
const t = y,
|
|
9
|
+
var d, m, g, f, v, h, _;
|
|
10
|
+
const t = y, r = n({
|
|
11
11
|
get: () => {
|
|
12
12
|
var e;
|
|
13
13
|
return ((e = t.context) == null ? void 0 : e._value) || "";
|
|
14
14
|
},
|
|
15
15
|
set: (e) => {
|
|
16
|
-
var
|
|
17
|
-
(
|
|
16
|
+
var o;
|
|
17
|
+
(o = t.context) == null || o.node.input(e);
|
|
18
18
|
}
|
|
19
|
-
}),
|
|
19
|
+
}), I = n(() => {
|
|
20
20
|
var e;
|
|
21
21
|
return (e = t.context) == null ? void 0 : e.textLabel;
|
|
22
|
-
}),
|
|
22
|
+
}), w = n(() => {
|
|
23
23
|
var e;
|
|
24
24
|
return (e = t.context) == null ? void 0 : e.name;
|
|
25
|
-
}), i =
|
|
25
|
+
}), i = n(() => {
|
|
26
26
|
var e;
|
|
27
27
|
return ((e = t.context) == null ? void 0 : e.placeholder) || "Enter text here";
|
|
28
|
-
}), c =
|
|
28
|
+
}), c = n(() => {
|
|
29
29
|
var e;
|
|
30
30
|
return ((e = t.context) == null ? void 0 : e.trailing_text) || "$";
|
|
31
|
-
}),
|
|
31
|
+
}), u = n(() => {
|
|
32
32
|
var e;
|
|
33
33
|
return ((e = t.context) == null ? void 0 : e.trailingText) || !1;
|
|
34
|
-
}),
|
|
34
|
+
}), p = n(() => {
|
|
35
|
+
var e;
|
|
36
|
+
return ((e = t.context) == null ? void 0 : e["is-disabled"]) || !1;
|
|
37
|
+
});
|
|
38
|
+
console.log(p.value);
|
|
39
|
+
const x = n(() => {
|
|
35
40
|
var e;
|
|
36
41
|
return Object.keys((e = t.context) == null ? void 0 : e.messages).length > 0;
|
|
37
|
-
}),
|
|
38
|
-
var
|
|
39
|
-
if (!
|
|
42
|
+
}), s = n(() => {
|
|
43
|
+
var o, a, b, T, k;
|
|
44
|
+
if (!x.value)
|
|
40
45
|
return "";
|
|
41
|
-
const e = (
|
|
42
|
-
return ((k = (T = (
|
|
43
|
-
}),
|
|
44
|
-
(
|
|
45
|
-
const
|
|
46
|
-
(
|
|
47
|
-
const
|
|
48
|
-
return console.log(
|
|
49
|
-
modelValue:
|
|
50
|
-
"onUpdate:modelValue":
|
|
51
|
-
label:
|
|
46
|
+
const e = (a = Object.keys((o = t.context) == null ? void 0 : o.messages)) == null ? void 0 : a[0];
|
|
47
|
+
return ((k = (T = (b = t.context) == null ? void 0 : b.messages) == null ? void 0 : T[e]) == null ? void 0 : k.value) || "";
|
|
48
|
+
}), E = ((d = t.context) == null ? void 0 : d.inputType) || "text", O = ((m = t.context) == null ? void 0 : m.addOnText) || !1, B = ((g = t.context) == null ? void 0 : g.datePicker) || !1;
|
|
49
|
+
(f = t.context) != null && f.infoIcon;
|
|
50
|
+
const F = ((v = t.context) == null ? void 0 : v.preIcon) || !1;
|
|
51
|
+
(h = t.context) == null || h.showEndIcon;
|
|
52
|
+
const V = ((_ = t.context) == null ? void 0 : _.tooltipText) || "This is helpful information";
|
|
53
|
+
return console.log(u.value, c.value, i.value), (e, o) => (P(), K(C, {
|
|
54
|
+
modelValue: r.value,
|
|
55
|
+
"onUpdate:modelValue": o[0] || (o[0] = (a) => r.value = a),
|
|
56
|
+
label: I.value,
|
|
52
57
|
placeholder: i.value,
|
|
53
|
-
"input-type":
|
|
54
|
-
"add-on-text":
|
|
55
|
-
"date-picker":
|
|
58
|
+
"input-type": l(E),
|
|
59
|
+
"add-on-text": l(O),
|
|
60
|
+
"date-picker": l(B),
|
|
56
61
|
"info-icon": !1,
|
|
57
|
-
"pre-icon":
|
|
62
|
+
"pre-icon": l(F),
|
|
58
63
|
"show-end-icon": !1,
|
|
59
|
-
"tooltip-text":
|
|
60
|
-
"show-error":
|
|
61
|
-
"supporting-hint-message":
|
|
62
|
-
"initial-hint-text":
|
|
63
|
-
error_message:
|
|
64
|
-
name:
|
|
65
|
-
"trailing-text":
|
|
66
|
-
trailing_text: c.value
|
|
67
|
-
|
|
64
|
+
"tooltip-text": l(V),
|
|
65
|
+
"show-error": x.value,
|
|
66
|
+
"supporting-hint-message": s.value,
|
|
67
|
+
"initial-hint-text": s.value,
|
|
68
|
+
error_message: s.value,
|
|
69
|
+
name: w.value,
|
|
70
|
+
"trailing-text": u.value,
|
|
71
|
+
trailing_text: c.value,
|
|
72
|
+
"is-disabled": p.value
|
|
73
|
+
}, 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", "is-disabled"]));
|
|
68
74
|
}
|
|
69
75
|
});
|
|
70
76
|
export {
|