@piveau/dpi 0.2.0-alpha.41 → 0.2.0-alpha.43
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/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ButtonV3.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +97 -80
- 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 +107 -90
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +96 -80
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +4 -4
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +115 -93
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +120 -109
- 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 +60 -38
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldVeeValidate.vue.js +9 -8
- 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 +114 -103
- 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 +180 -185
- 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 +101 -90
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/decodeProject.js +74 -74
- package/dist/packages/dpi/src/data-provider-interface/composables/useFormKitMessages.js +14 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/useFormKitSummary.js +46 -0
- package/dist/packages/dpi/src/data-provider-interface/utils/useSteps.js +35 -29
- package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +22 -21
- package/dist/packages/dpi/src/utils/twinbyUtils.js +1 -0
- package/dist/styles/_dpi.scss +16 -0
- package/package.json +1 -1
|
@@ -1,67 +1,89 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
1
|
+
import { defineComponent as g, ref as m, computed as h, watch as y, resolveComponent as _, createElementBlock as b, openBlock as V, createElementVNode as s, createVNode as r, unref as u } from "vue";
|
|
2
|
+
import { getValidationMessages as S } from "@formkit/validation";
|
|
3
|
+
import { useFormKitNodeById as x, FormKitMessages as C } from "@formkit/vue";
|
|
4
|
+
import { defineHubSearch as K } from "@piveau/sdk-vue";
|
|
5
|
+
import * as P from "zod";
|
|
6
|
+
import { useRuntimeEnv as U } from "../../../../composables/useRuntimeEnv.js";
|
|
7
|
+
import k from "../../../components/StepActionsSection.vue.js";
|
|
8
|
+
import q from "../ChipToggleList/ChipToggleList.vue.js";
|
|
9
|
+
const E = { class: "dpiV3_page V3-typography" }, F = { class: "funny-section" }, O = { class: "funny-flex" }, R = { style: { display: "flex", "flex-direction": "column", gap: ".5rem" } }, z = { class: "funny-section" }, D = /* @__PURE__ */ g({
|
|
7
10
|
__name: "CategoriesStep",
|
|
8
|
-
setup(
|
|
9
|
-
const
|
|
10
|
-
baseUrl:
|
|
11
|
+
setup(B) {
|
|
12
|
+
const n = m([]), d = U(), p = m(""), { useSearch: f } = K({
|
|
13
|
+
baseUrl: d.api.baseUrl,
|
|
11
14
|
index: "vocabulary",
|
|
12
|
-
schema:
|
|
15
|
+
schema: P.any()
|
|
13
16
|
}, (e) => {
|
|
14
|
-
var t,
|
|
15
|
-
const o = String((e == null ? void 0 : e.resource) || ""),
|
|
17
|
+
var t, c;
|
|
18
|
+
const o = String((e == null ? void 0 : e.resource) || ""), i = String(((t = e == null ? void 0 : e.pref_label) == null ? void 0 : t.de) || ((c = e == null ? void 0 : e.pref_label) == null ? void 0 : c.en) || "");
|
|
16
19
|
return {
|
|
17
20
|
id: o,
|
|
18
|
-
name:
|
|
21
|
+
name: i
|
|
19
22
|
};
|
|
20
|
-
}), { getSearchResultsEnhanced:
|
|
23
|
+
}), { getSearchResultsEnhanced: a } = f({
|
|
21
24
|
queryParams: {
|
|
22
|
-
q:
|
|
25
|
+
q: p,
|
|
23
26
|
limit: 40,
|
|
24
27
|
vocabulary: "data-theme",
|
|
25
28
|
sort: "title+asc"
|
|
26
29
|
}
|
|
27
|
-
}),
|
|
30
|
+
}), v = h(() => {
|
|
28
31
|
var e;
|
|
29
|
-
return
|
|
30
|
-
});
|
|
31
|
-
return (e, o) => {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
return a.value ? (e = [...a.value].filter((o) => !o.id.endsWith("OP_DATPRO"))) == null ? void 0 : e.sort((o, i) => o.name.localeCompare(i.name)) : [];
|
|
33
|
+
}), l = x("categories");
|
|
34
|
+
return y(n, (e, o) => {
|
|
35
|
+
if (!l.value)
|
|
36
|
+
return;
|
|
37
|
+
const i = S(l.value);
|
|
38
|
+
console.log("le messages", i, e, o);
|
|
39
|
+
}), (e, o) => {
|
|
40
|
+
const i = _("FormKit");
|
|
41
|
+
return V(), b("div", E, [
|
|
42
|
+
s("section", F, [
|
|
43
|
+
s("div", O, [
|
|
44
|
+
o[2] || (o[2] = s("div", null, [
|
|
45
|
+
s("h4", null, " Machen Sie Ihr Projekt leicht auffindbar "),
|
|
46
|
+
s("div", { class: "visibility-description" }, [
|
|
47
|
+
s("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. ")
|
|
40
48
|
])
|
|
41
49
|
], -1)),
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
50
|
+
r(i, {
|
|
51
|
+
id: "categories",
|
|
52
|
+
modelValue: n.value,
|
|
53
|
+
"onUpdate:modelValue": o[0] || (o[0] = (t) => n.value = t),
|
|
45
54
|
type: "list",
|
|
46
55
|
name: "categories",
|
|
47
56
|
validation: "required",
|
|
48
57
|
"validation-visibility": "submit",
|
|
49
58
|
"validation-label": "Kategorien"
|
|
50
59
|
}, null, 8, ["modelValue"]),
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
60
|
+
s("div", R, [
|
|
61
|
+
r(q, {
|
|
62
|
+
modelValue: n.value,
|
|
63
|
+
"onUpdate:modelValue": o[1] || (o[1] = (t) => n.value = t),
|
|
64
|
+
options: v.value || []
|
|
65
|
+
}, null, 8, ["modelValue", "options"]),
|
|
66
|
+
r(u(C), {
|
|
67
|
+
node: u(l),
|
|
68
|
+
"sections-schema": {
|
|
69
|
+
message: {
|
|
70
|
+
$el: "div",
|
|
71
|
+
attrs: {
|
|
72
|
+
class: "dpiV3_errorText"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}, null, 8, ["node"])
|
|
77
|
+
])
|
|
56
78
|
])
|
|
57
79
|
]),
|
|
58
|
-
|
|
59
|
-
|
|
80
|
+
s("section", z, [
|
|
81
|
+
r(k, { "hide-cancel": "" })
|
|
60
82
|
])
|
|
61
83
|
]);
|
|
62
84
|
};
|
|
63
85
|
}
|
|
64
86
|
});
|
|
65
87
|
export {
|
|
66
|
-
|
|
88
|
+
D as default
|
|
67
89
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as g, toRef as c, computed as s, ref as y, watch as h, createBlock as v, openBlock as B, unref as T, isRef as k } from "vue";
|
|
2
|
-
import { watchOnce as
|
|
3
|
-
import { useField as
|
|
4
|
-
import
|
|
2
|
+
import { watchOnce as V } from "@vueuse/core";
|
|
3
|
+
import { useField as x } from "vee-validate";
|
|
4
|
+
import M from "../InputField.vue.js";
|
|
5
5
|
const F = /* @__PURE__ */ g({
|
|
6
6
|
__name: "InputFieldVeeValidate",
|
|
7
7
|
props: {
|
|
@@ -29,18 +29,19 @@ const F = /* @__PURE__ */ g({
|
|
|
29
29
|
errorMessage: { default: "" }
|
|
30
30
|
},
|
|
31
31
|
emits: ["update:modelValue"],
|
|
32
|
-
setup(
|
|
33
|
-
const t =
|
|
32
|
+
setup(u) {
|
|
33
|
+
const t = u, p = c(t, "name"), { value: a, errorMessage: o, meta: l, validate: f } = x(p, void 0, {
|
|
34
34
|
syncVModel: !0,
|
|
35
35
|
form: t.form,
|
|
36
36
|
validateOnValueUpdate: !1,
|
|
37
|
-
validateOnMount: !1
|
|
37
|
+
validateOnMount: !1,
|
|
38
|
+
keepValueOnUnmount: !1
|
|
38
39
|
}), i = s(() => !!((l.touched || l.dirty) && (o.value || t.errorMessage))), n = s(() => o.value || t.errorMessage || ""), d = y(!1);
|
|
39
|
-
return
|
|
40
|
+
return V(i, (e) => {
|
|
40
41
|
e && (d.value = !0);
|
|
41
42
|
}), h(a, () => {
|
|
42
43
|
d.value && l.validated && f({ mode: "force" });
|
|
43
|
-
}), (e, r) => (B(), v(
|
|
44
|
+
}), (e, r) => (B(), v(M, {
|
|
44
45
|
modelValue: T(a),
|
|
45
46
|
"onUpdate:modelValue": r[0] || (r[0] = (m) => k(a) ? a.value = m : null),
|
|
46
47
|
label: e.label,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./OptionalDataStep.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-d206ff46"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
r as default
|
|
7
7
|
};
|
|
@@ -1,78 +1,84 @@
|
|
|
1
|
-
import { defineComponent as j, ref as
|
|
2
|
-
import { FormKit as
|
|
3
|
-
import { PhLightbulb as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import T from "
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import Z from "../
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
|
|
1
|
+
import { defineComponent as j, ref as f, computed as L, createElementBlock as h, openBlock as u, createElementVNode as t, createVNode as i, unref as l, withCtx as s, Fragment as y, renderList as k, createBlock as S, createTextVNode as U, createCommentVNode as $, withDirectives as A, vModelCheckbox as q } from "vue";
|
|
2
|
+
import { FormKit as o } from "@formkit/vue";
|
|
3
|
+
import { PhLightbulb as N } from "@phosphor-icons/vue";
|
|
4
|
+
import G from "../../../../stories/components/LinkCard.vue.js";
|
|
5
|
+
import K from "../../../../stories/components/PartnerCard.vue.js";
|
|
6
|
+
import M from "../../../../stories/components/ScreenshotCard.vue.js";
|
|
7
|
+
import { generateIsRequiredMsg as T, empty as D } from "../../../../utils/twinbyUtils.js";
|
|
8
|
+
import W from "../../../components/StepActionsSection.vue.js";
|
|
9
|
+
import v from "../ButtonV3.vue.js";
|
|
10
|
+
import R from "../Card.vue.js";
|
|
11
|
+
import Z from "../Chip.vue.js";
|
|
12
|
+
import O from "../InputField.vue.js";
|
|
13
|
+
import V from "../InputField/InputFieldDefinition.js";
|
|
14
|
+
import H from "../TextArea/TextAreaDefinition.js";
|
|
15
|
+
const J = { class: "dpiV3_page V3-typography" }, Q = {
|
|
15
16
|
id: "partners-section",
|
|
16
17
|
class: "funny-section"
|
|
17
|
-
},
|
|
18
|
+
}, X = { class: "partner-cards-container" }, Y = { class: "action-container" }, ee = { class: "funny-section" }, te = { class: "start-and-end" }, ne = { class: "funny-section" }, ie = { class: "budget-field" }, le = { class: "funny-section required-skills" }, ae = {
|
|
18
19
|
key: 0,
|
|
19
20
|
style: { display: "flex", "flex-wrap": "wrap" }
|
|
20
|
-
},
|
|
21
|
+
}, re = ["id", "value"], se = ["for"], oe = { class: "action-container" }, ue = {
|
|
21
22
|
id: "partners-section",
|
|
22
23
|
class: "funny-section"
|
|
23
|
-
},
|
|
24
|
+
}, de = { class: "partner-cards-container" }, me = { class: "action-container" }, pe = {
|
|
24
25
|
id: "partners-section",
|
|
25
26
|
class: "funny-section"
|
|
26
|
-
},
|
|
27
|
+
}, ce = { class: "partner-cards-container" }, fe = { class: "action-container" }, he = 500, Pe = /* @__PURE__ */ j({
|
|
27
28
|
__name: "OptionalDataStep",
|
|
28
|
-
setup(
|
|
29
|
-
const x =
|
|
29
|
+
setup(ve) {
|
|
30
|
+
const x = f(""), C = f([]), w = f([]), _ = f([]), P = L(() => {
|
|
30
31
|
var a;
|
|
31
32
|
return ((a = x.value) == null ? void 0 : a.length) || 0;
|
|
32
|
-
}), b =
|
|
33
|
-
function
|
|
33
|
+
}), b = f(""), d = f([]);
|
|
34
|
+
function B(a) {
|
|
34
35
|
if (a && a.trim()) {
|
|
35
36
|
const e = a.trim();
|
|
36
37
|
d.value.includes(e) || d.value.push(e), b.value = "";
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
|
-
const z =
|
|
40
|
-
function
|
|
40
|
+
const z = f("");
|
|
41
|
+
function E(a) {
|
|
41
42
|
return a._value === null || a._value === void 0 ? !0 : typeof a._value != "string" ? !1 : /^\d*$/.test(a._value);
|
|
42
43
|
}
|
|
43
|
-
|
|
44
|
+
function I(a) {
|
|
45
|
+
var r;
|
|
46
|
+
const e = a.at("$parent"), n = (r = e == null ? void 0 : e.value) == null ? void 0 : r.endDate;
|
|
47
|
+
return n ? D(n) ? !0 : !D(a.value) : !0;
|
|
48
|
+
}
|
|
49
|
+
return I.skipEmpty = !1, (a, e) => (u(), h("div", J, [
|
|
44
50
|
e[24] || (e[24] = t("section", { class: "funny-section" }, [
|
|
45
51
|
t("div", { class: "funny-flex" }, [
|
|
46
52
|
t("h4", null, "Fügen Sie optionale Daten hinzu"),
|
|
47
53
|
t("span", { class: "copy-large-regular" }, " Zusätzliche Informationen, wie etwa zur Laufzeit oder zum Budgetrahmen Ihres Projekts, können für andere Kommunen hilfreich sein. ")
|
|
48
54
|
])
|
|
49
55
|
], -1)),
|
|
50
|
-
t("section",
|
|
56
|
+
t("section", Q, [
|
|
51
57
|
e[9] || (e[9] = t("h5", null, " Partner ", -1)),
|
|
52
58
|
e[10] || (e[10] = t("span", { class: "copy-large-regular" }, "Wenn Sie mit einem oder mehreren Partnern zusammengearbeitet haben, können Sie diese hier angeben.", -1)),
|
|
53
|
-
t("div",
|
|
54
|
-
i(l(
|
|
59
|
+
t("div", X, [
|
|
60
|
+
i(l(o), {
|
|
55
61
|
modelValue: C.value,
|
|
56
62
|
"onUpdate:modelValue": e[0] || (e[0] = (n) => C.value = n),
|
|
57
63
|
type: "list",
|
|
58
64
|
name: "partners",
|
|
59
65
|
dynamic: ""
|
|
60
66
|
}, {
|
|
61
|
-
default:
|
|
62
|
-
(u(!0),
|
|
67
|
+
default: s(({ items: n, node: r, value: m }) => [
|
|
68
|
+
(u(!0), h(y, null, k(n, (p, c) => (u(), S(l(o), {
|
|
63
69
|
key: p,
|
|
64
70
|
type: "group",
|
|
65
71
|
index: c
|
|
66
72
|
}, {
|
|
67
|
-
default:
|
|
68
|
-
i(
|
|
69
|
-
action:
|
|
70
|
-
i(
|
|
73
|
+
default: s(() => [
|
|
74
|
+
i(K, null, {
|
|
75
|
+
action: s(() => [
|
|
76
|
+
i(v, {
|
|
71
77
|
"button-text": "Löschen",
|
|
72
78
|
size: "small",
|
|
73
79
|
variant: "tertiary",
|
|
74
80
|
"icon-start": "trash",
|
|
75
|
-
onClick: () =>
|
|
81
|
+
onClick: () => r.input(m.filter((F, g) => g !== c))
|
|
76
82
|
}, null, 8, ["onClick"])
|
|
77
83
|
]),
|
|
78
84
|
_: 2
|
|
@@ -80,13 +86,13 @@ const q = { class: "dpiV3_page V3-typography" }, O = {
|
|
|
80
86
|
]),
|
|
81
87
|
_: 2
|
|
82
88
|
}, 1032, ["index"]))), 128)),
|
|
83
|
-
t("div",
|
|
84
|
-
i(
|
|
89
|
+
t("div", Y, [
|
|
90
|
+
i(v, {
|
|
85
91
|
"button-text": "Partner hinzufügen",
|
|
86
92
|
size: "medium",
|
|
87
93
|
variant: "tertiary",
|
|
88
94
|
"icon-start": "plus",
|
|
89
|
-
onClick: (p) =>
|
|
95
|
+
onClick: (p) => r.input(m.concat({}))
|
|
90
96
|
}, null, 8, ["onClick"])
|
|
91
97
|
])
|
|
92
98
|
]),
|
|
@@ -94,12 +100,12 @@ const q = { class: "dpiV3_page V3-typography" }, O = {
|
|
|
94
100
|
}, 8, ["modelValue"])
|
|
95
101
|
])
|
|
96
102
|
]),
|
|
97
|
-
t("section",
|
|
103
|
+
t("section", ee, [
|
|
98
104
|
e[11] || (e[11] = t("h5", null, " Projektzeitraum ", -1)),
|
|
99
105
|
e[12] || (e[12] = t("span", { class: "copy-large-regular" }, "Für Projekte, die noch nicht abgeschlossen sind, können Sie das Enddatum frei lassen.", -1)),
|
|
100
|
-
t("div",
|
|
101
|
-
i(l(
|
|
102
|
-
type: l(
|
|
106
|
+
t("div", te, [
|
|
107
|
+
i(l(o), {
|
|
108
|
+
type: l(V),
|
|
103
109
|
name: "startDate",
|
|
104
110
|
"text-label": "Startdatum",
|
|
105
111
|
"input-type": "date",
|
|
@@ -109,10 +115,15 @@ const q = { class: "dpiV3_page V3-typography" }, O = {
|
|
|
109
115
|
"info-icon": !1,
|
|
110
116
|
"pre-icon": !1,
|
|
111
117
|
"show-end-icon": !1,
|
|
112
|
-
"initial-hint-text": !1
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
118
|
+
"initial-hint-text": !1,
|
|
119
|
+
"validation-rules": { requireIfEndDate: I },
|
|
120
|
+
validation: "+requireIfEndDate",
|
|
121
|
+
"validation-visibility": "submit",
|
|
122
|
+
"validation-label": "Startdatum",
|
|
123
|
+
"validation-messages": { requireIfEndDate: l(T)("Startdatum") }
|
|
124
|
+
}, null, 8, ["type", "validation-rules", "validation-messages"]),
|
|
125
|
+
i(l(o), {
|
|
126
|
+
type: l(V),
|
|
116
127
|
name: "endDate",
|
|
117
128
|
"text-label": "Enddatum",
|
|
118
129
|
"input-type": "date",
|
|
@@ -126,13 +137,13 @@ const q = { class: "dpiV3_page V3-typography" }, O = {
|
|
|
126
137
|
}, null, 8, ["type"])
|
|
127
138
|
])
|
|
128
139
|
]),
|
|
129
|
-
t("section",
|
|
140
|
+
t("section", ne, [
|
|
130
141
|
e[16] || (e[16] = t("h5", null, "Budget", -1)),
|
|
131
142
|
e[17] || (e[17] = t("div", { class: "budget" }, [
|
|
132
143
|
t("span", { class: "copy-large-regular" }, " Bitte geben Sie hier das Gesamtbudget für Ihr Projekt an. ")
|
|
133
144
|
], -1)),
|
|
134
|
-
t("div",
|
|
135
|
-
i(l(
|
|
145
|
+
t("div", ie, [
|
|
146
|
+
i(l(o), {
|
|
136
147
|
modelValue: z.value,
|
|
137
148
|
"onUpdate:modelValue": e[1] || (e[1] = (n) => z.value = n),
|
|
138
149
|
name: "budget",
|
|
@@ -143,11 +154,11 @@ const q = { class: "dpiV3_page V3-typography" }, O = {
|
|
|
143
154
|
"text-label": "Budget",
|
|
144
155
|
placeholder: "....",
|
|
145
156
|
"input-style": { paddingRight: "50px" },
|
|
146
|
-
"validation-rules": { numeric:
|
|
157
|
+
"validation-rules": { numeric: E },
|
|
147
158
|
validation: "numeric",
|
|
148
159
|
"validation-visibility": "submit",
|
|
149
160
|
inputmode: "numeric",
|
|
150
|
-
type: l(
|
|
161
|
+
type: l(V),
|
|
151
162
|
pattern: "[0-9]*",
|
|
152
163
|
"validation-messages": {
|
|
153
164
|
numeric: "Budget muss eine Zahl sein, ohne Sonderzeichen."
|
|
@@ -155,13 +166,13 @@ const q = { class: "dpiV3_page V3-typography" }, O = {
|
|
|
155
166
|
}, null, 8, ["modelValue", "validation-rules", "type"]),
|
|
156
167
|
e[13] || (e[13] = t("div", { class: "euro-icon" }, " € ", -1))
|
|
157
168
|
]),
|
|
158
|
-
i(l(
|
|
169
|
+
i(l(o), {
|
|
159
170
|
id: "Förderung",
|
|
160
171
|
modelValue: x.value,
|
|
161
172
|
"onUpdate:modelValue": e[2] || (e[2] = (n) => x.value = n),
|
|
162
173
|
class: "budgetArea",
|
|
163
174
|
label: "Förderung (optional)",
|
|
164
|
-
type: l(
|
|
175
|
+
type: l(H),
|
|
165
176
|
name: "budgetDescription",
|
|
166
177
|
"text-label": "Förderung (optional)",
|
|
167
178
|
placeholder: "Beschreiben Sie welche Förderung Sie erhalten haben.",
|
|
@@ -169,20 +180,20 @@ const q = { class: "dpiV3_page V3-typography" }, O = {
|
|
|
169
180
|
validation: "length:0,500",
|
|
170
181
|
"validation-visibility": "live",
|
|
171
182
|
hint: "true",
|
|
172
|
-
help: `${P.value} von ${
|
|
183
|
+
help: `${P.value} von ${he} Zeichen`,
|
|
173
184
|
"count-hint": !0
|
|
174
185
|
}, null, 8, ["modelValue", "type", "disabled", "help"]),
|
|
175
|
-
i(
|
|
176
|
-
icon:
|
|
177
|
-
i(l(
|
|
186
|
+
i(R, { variant: "default" }, {
|
|
187
|
+
icon: s(() => [
|
|
188
|
+
i(l(N), {
|
|
178
189
|
size: 32,
|
|
179
190
|
color: "#009fe3"
|
|
180
191
|
})
|
|
181
192
|
]),
|
|
182
|
-
title:
|
|
183
|
-
|
|
193
|
+
title: s(() => e[14] || (e[14] = [
|
|
194
|
+
U(" Information ", -1)
|
|
184
195
|
])),
|
|
185
|
-
default:
|
|
196
|
+
default: s(() => [
|
|
186
197
|
e[15] || (e[15] = t("div", { class: "copy-large-regular" }, [
|
|
187
198
|
t("p", null, "Ihre Angabe zum Gesamtbudget hilft anderen Kommunen, den Umfang Ihres Projekts besser einzuschätzen. Sie können hier auch einen Schätzwert eingeben, falls das Projekt z.B. noch nicht abgeschlossen ist. Wenn Sie eine Förderung erhalten und das Projekt ausschließlich damit finanziert haben, geben Sie die Fördersumme als Ihr Gesamtbudget an.")
|
|
188
199
|
], -1))
|
|
@@ -191,34 +202,34 @@ const q = { class: "dpiV3_page V3-typography" }, O = {
|
|
|
191
202
|
__: [15]
|
|
192
203
|
})
|
|
193
204
|
]),
|
|
194
|
-
t("section",
|
|
205
|
+
t("section", le, [
|
|
195
206
|
e[18] || (e[18] = t("h5", null, "Erforderliche Fachkompetenzen", -1)),
|
|
196
207
|
e[19] || (e[19] = t("p", null, "Damit andere Kommunen besser einschätzen können, welche Fachkenntnisse das Projektteam mitbringen sollte, bitten wir Sie, hier die Kompetenzfelder anzugeben, die für Ihr Projekt am Wichtigsten waren (z.B. Datenmanagement oder Projektmanagement).", -1)),
|
|
197
|
-
i(l(
|
|
208
|
+
i(l(o), {
|
|
198
209
|
modelValue: d.value,
|
|
199
210
|
"onUpdate:modelValue": e[3] || (e[3] = (n) => d.value = n),
|
|
200
211
|
type: "hidden",
|
|
201
212
|
name: "requiredExpertise"
|
|
202
213
|
}, null, 8, ["modelValue"]),
|
|
203
|
-
d.value.length > 0 ? (u(),
|
|
204
|
-
(u(!0),
|
|
214
|
+
d.value.length > 0 ? (u(), h("div", ae, [
|
|
215
|
+
(u(!0), h(y, null, k(d.value, (n) => (u(), h("div", {
|
|
205
216
|
key: n,
|
|
206
217
|
class: "label-chip"
|
|
207
218
|
}, [
|
|
208
|
-
|
|
219
|
+
A(t("input", {
|
|
209
220
|
id: `hardware-${n}`,
|
|
210
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
221
|
+
"onUpdate:modelValue": e[4] || (e[4] = (r) => d.value = r),
|
|
211
222
|
class: "label-chip__input",
|
|
212
223
|
type: "checkbox",
|
|
213
224
|
value: n
|
|
214
|
-
}, null, 8,
|
|
215
|
-
[
|
|
225
|
+
}, null, 8, re), [
|
|
226
|
+
[q, d.value]
|
|
216
227
|
]),
|
|
217
228
|
t("label", {
|
|
218
229
|
class: "label-chip__label",
|
|
219
230
|
for: `hardware-${n}`
|
|
220
231
|
}, [
|
|
221
|
-
i(
|
|
232
|
+
i(Z, {
|
|
222
233
|
class: "label-chip__inner",
|
|
223
234
|
text: n,
|
|
224
235
|
data: {
|
|
@@ -231,10 +242,10 @@ const q = { class: "dpiV3_page V3-typography" }, O = {
|
|
|
231
242
|
"@inTable": !1
|
|
232
243
|
}
|
|
233
244
|
}, null, 8, ["text", "data"])
|
|
234
|
-
], 8,
|
|
245
|
+
], 8, se)
|
|
235
246
|
]))), 128))
|
|
236
|
-
])) :
|
|
237
|
-
i(
|
|
247
|
+
])) : $("", !0),
|
|
248
|
+
i(O, {
|
|
238
249
|
modelValue: b.value,
|
|
239
250
|
"onUpdate:modelValue": e[5] || (e[5] = (n) => b.value = n),
|
|
240
251
|
label: "Erforderliche Fachkompetenz",
|
|
@@ -247,42 +258,42 @@ const q = { class: "dpiV3_page V3-typography" }, O = {
|
|
|
247
258
|
"show-end-icon": !1,
|
|
248
259
|
"initial-hint-text": !1
|
|
249
260
|
}, null, 8, ["modelValue"]),
|
|
250
|
-
t("div",
|
|
251
|
-
i(
|
|
261
|
+
t("div", oe, [
|
|
262
|
+
i(v, {
|
|
252
263
|
"button-text": "Fachkompetenz hinzufügen",
|
|
253
264
|
size: "medium",
|
|
254
265
|
variant: "tertiary",
|
|
255
266
|
"icon-start": "plus",
|
|
256
|
-
onClick: e[6] || (e[6] = (n) =>
|
|
267
|
+
onClick: e[6] || (e[6] = (n) => B(b.value))
|
|
257
268
|
})
|
|
258
269
|
])
|
|
259
270
|
]),
|
|
260
|
-
t("section",
|
|
271
|
+
t("section", ue, [
|
|
261
272
|
e[20] || (e[20] = t("h5", null, " Screenshots ", -1)),
|
|
262
273
|
e[21] || (e[21] = t("span", { class: "copy-large-regular" }, "Bilder oder Screenshots helfen einen besseren Eindruck von Ihrem Projekt zu bekommen. Aus rechtlichen und technischen Gründen können Sie keine Dateien hochladen. Geben Sie daher bitte die URL an, unter der das Bild oder der Screenshot dauerhaft zu erreichen sein wird.", -1)),
|
|
263
|
-
t("div",
|
|
264
|
-
i(l(
|
|
274
|
+
t("div", de, [
|
|
275
|
+
i(l(o), {
|
|
265
276
|
modelValue: w.value,
|
|
266
277
|
"onUpdate:modelValue": e[7] || (e[7] = (n) => w.value = n),
|
|
267
278
|
type: "list",
|
|
268
279
|
name: "references",
|
|
269
280
|
dynamic: ""
|
|
270
281
|
}, {
|
|
271
|
-
default:
|
|
272
|
-
(u(!0),
|
|
282
|
+
default: s(({ items: n, node: r, value: m }) => [
|
|
283
|
+
(u(!0), h(y, null, k(n, (p, c) => (u(), S(l(o), {
|
|
273
284
|
key: p,
|
|
274
285
|
type: "group",
|
|
275
286
|
index: c
|
|
276
287
|
}, {
|
|
277
|
-
default:
|
|
278
|
-
i(
|
|
279
|
-
action:
|
|
280
|
-
i(
|
|
288
|
+
default: s(() => [
|
|
289
|
+
i(M, null, {
|
|
290
|
+
action: s(() => [
|
|
291
|
+
i(v, {
|
|
281
292
|
"button-text": "Löschen",
|
|
282
293
|
size: "small",
|
|
283
294
|
variant: "tertiary",
|
|
284
295
|
"icon-start": "trash",
|
|
285
|
-
onClick: () =>
|
|
296
|
+
onClick: () => r.input(m.filter((F, g) => g !== c))
|
|
286
297
|
}, null, 8, ["onClick"])
|
|
287
298
|
]),
|
|
288
299
|
_: 2
|
|
@@ -290,13 +301,13 @@ const q = { class: "dpiV3_page V3-typography" }, O = {
|
|
|
290
301
|
]),
|
|
291
302
|
_: 2
|
|
292
303
|
}, 1032, ["index"]))), 128)),
|
|
293
|
-
t("div",
|
|
294
|
-
i(
|
|
304
|
+
t("div", me, [
|
|
305
|
+
i(v, {
|
|
295
306
|
"button-text": "Screenshot hinzufügen",
|
|
296
307
|
size: "medium",
|
|
297
308
|
variant: "tertiary",
|
|
298
309
|
"icon-start": "plus",
|
|
299
|
-
onClick: (p) =>
|
|
310
|
+
onClick: (p) => r.input(m.concat({}))
|
|
300
311
|
}, null, 8, ["onClick"])
|
|
301
312
|
])
|
|
302
313
|
]),
|
|
@@ -304,32 +315,32 @@ const q = { class: "dpiV3_page V3-typography" }, O = {
|
|
|
304
315
|
}, 8, ["modelValue"])
|
|
305
316
|
])
|
|
306
317
|
]),
|
|
307
|
-
t("section",
|
|
318
|
+
t("section", pe, [
|
|
308
319
|
e[22] || (e[22] = t("h5", null, " Weiterführende Links ", -1)),
|
|
309
320
|
e[23] || (e[23] = t("span", { class: "copy-large-regular" }, "Fügen Sie hier Links zu Dokumenten hinzu, die weitere Informationen zu Ihrer Vorgehensweise beim Aufbau eines Digitalen Zwillings enthalten, wie etwa Status- oder Abschlussberichte.", -1)),
|
|
310
|
-
t("div",
|
|
311
|
-
i(l(
|
|
321
|
+
t("div", ce, [
|
|
322
|
+
i(l(o), {
|
|
312
323
|
modelValue: _.value,
|
|
313
324
|
"onUpdate:modelValue": e[8] || (e[8] = (n) => _.value = n),
|
|
314
325
|
type: "list",
|
|
315
326
|
name: "links",
|
|
316
327
|
dynamic: ""
|
|
317
328
|
}, {
|
|
318
|
-
default:
|
|
319
|
-
(u(!0),
|
|
329
|
+
default: s(({ items: n, node: r, value: m }) => [
|
|
330
|
+
(u(!0), h(y, null, k(n, (p, c) => (u(), S(l(o), {
|
|
320
331
|
key: p,
|
|
321
332
|
type: "group",
|
|
322
333
|
index: c
|
|
323
334
|
}, {
|
|
324
|
-
default:
|
|
325
|
-
i(
|
|
326
|
-
action:
|
|
327
|
-
i(
|
|
335
|
+
default: s(() => [
|
|
336
|
+
i(G, null, {
|
|
337
|
+
action: s(() => [
|
|
338
|
+
i(v, {
|
|
328
339
|
"button-text": "Löschen",
|
|
329
340
|
size: "small",
|
|
330
341
|
variant: "tertiary",
|
|
331
342
|
"icon-start": "trash",
|
|
332
|
-
onClick: () =>
|
|
343
|
+
onClick: () => r.input(m.filter((F, g) => g !== c))
|
|
333
344
|
}, null, 8, ["onClick"])
|
|
334
345
|
]),
|
|
335
346
|
_: 2
|
|
@@ -337,13 +348,13 @@ const q = { class: "dpiV3_page V3-typography" }, O = {
|
|
|
337
348
|
]),
|
|
338
349
|
_: 2
|
|
339
350
|
}, 1032, ["index"]))), 128)),
|
|
340
|
-
t("div",
|
|
341
|
-
i(
|
|
351
|
+
t("div", fe, [
|
|
352
|
+
i(v, {
|
|
342
353
|
"button-text": "Link hinzufügen",
|
|
343
354
|
size: "medium",
|
|
344
355
|
variant: "tertiary",
|
|
345
356
|
"icon-start": "plus",
|
|
346
|
-
onClick: (p) =>
|
|
357
|
+
onClick: (p) => r.input(m.concat({}))
|
|
347
358
|
}, null, 8, ["onClick"])
|
|
348
359
|
])
|
|
349
360
|
]),
|
|
@@ -351,10 +362,10 @@ const q = { class: "dpiV3_page V3-typography" }, O = {
|
|
|
351
362
|
}, 8, ["modelValue"])
|
|
352
363
|
])
|
|
353
364
|
]),
|
|
354
|
-
i(
|
|
365
|
+
i(W, { "next-text": "Weiter zu den Projektphasen" })
|
|
355
366
|
]));
|
|
356
367
|
}
|
|
357
368
|
});
|
|
358
369
|
export {
|
|
359
|
-
|
|
370
|
+
Pe as default
|
|
360
371
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./HardwareForm.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-30c5b8e0"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|