@piveau/dpi 0.2.0-alpha.3 → 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/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +27 -24
- 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/ui/BasicInfosStep/ProjectStatusStep.vue.js +38 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue2.js +19 -18
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +27 -27
- 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/views/InputPageProject.vue.js +246 -221
- 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 +3 -3
- package/dist/stories/components/LinkCard.vue2.js +17 -17
- package/dist/stories/components/PartnerCard.vue.js +2 -2
- package/dist/stories/components/PartnerCard.vue2.js +9 -8
- package/dist/stories/components/ScreenshotCard.vue.js +2 -2
- package/dist/stories/components/ScreenshotCard.vue2.js +6 -7
- package/package.json +1 -1
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import
|
|
3
|
-
import h from "./
|
|
1
|
+
import { ref as c, createElementBlock as d, openBlock as i, Fragment as f, createElementVNode as t, createBlock as r, createCommentVNode as s, toDisplayString as l, normalizeClass as p } from "vue";
|
|
2
|
+
import g from "./AboutProject.vue.js";
|
|
3
|
+
import h from "./HomeTable.vue.js";
|
|
4
|
+
import k from "./ProjectTable.vue.js";
|
|
4
5
|
/* empty css */
|
|
5
|
-
import
|
|
6
|
-
const
|
|
6
|
+
import v from "../../_virtual/_plugin-vue_export-helper.js";
|
|
7
|
+
const j = { class: "dpi_home" }, b = { class: "copy-small-regular dpi_home-subtitle" }, y = { class: "header_sections" }, I = {
|
|
7
8
|
__name: "DPIHome",
|
|
8
|
-
setup(
|
|
9
|
+
setup(w) {
|
|
9
10
|
const m = {
|
|
10
11
|
dpi: "Schön, dass Sie Ihre Vorgehensweise beim Aufbau eines Digitalen Zwillings mit anderen Kommunen teilen.",
|
|
11
12
|
project: 'Schön, dass Sie Ihre Vorgehensweise beim Aufbau eines Digitalen Zwillings mit anderen Kommunen teilen. Bevor Sie Ihr erstes Projekt anlegen, empfehlen wir Ihnen, die Hinweise unter "Über die Projektanlage" sorgfältig zu lesen. Ihre bereits angelegten Projekte und Datensätze finden Sie unter "DPI Home".'
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
}, o = c("project");
|
|
14
|
+
function a(n) {
|
|
15
|
+
o.value = n;
|
|
16
|
+
}
|
|
17
|
+
return (n, e) => (i(), d(f, null, [
|
|
16
18
|
e[3] || (e[3] = t("link", {
|
|
17
19
|
rel: "preconnect",
|
|
18
20
|
href: "https://fonts.googleapis.com"
|
|
@@ -26,25 +28,26 @@ const v = { class: "dpi_home" }, b = { class: "copy-small-regular dpi_home-subti
|
|
|
26
28
|
href: "https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap",
|
|
27
29
|
rel: "stylesheet"
|
|
28
30
|
}, null, -1)),
|
|
29
|
-
t("div",
|
|
30
|
-
e[2] || (e[2] = t("h1", { class: "dpi_home-title" }, "Willkommen", -1)),
|
|
31
|
-
t("p", b,
|
|
32
|
-
t("div",
|
|
31
|
+
t("div", j, [
|
|
32
|
+
e[2] || (e[2] = t("h1", { class: "dpi_home-title" }, " Willkommen ", -1)),
|
|
33
|
+
t("p", b, l(m[o.value]), 1),
|
|
34
|
+
t("div", y, [
|
|
33
35
|
t("button", {
|
|
34
|
-
class: p({ active:
|
|
35
|
-
onClick: e[0] || (e[0] = (
|
|
36
|
-
},
|
|
36
|
+
class: p({ active: o.value === "project" }),
|
|
37
|
+
onClick: e[0] || (e[0] = (u) => a("project"))
|
|
38
|
+
}, l(n.$t("projectFacility.projectFacility")), 3),
|
|
37
39
|
t("button", {
|
|
38
|
-
class: p({ active:
|
|
39
|
-
onClick: e[1] || (e[1] = (
|
|
40
|
-
},
|
|
40
|
+
class: p({ active: o.value === "dpi" }),
|
|
41
|
+
onClick: e[1] || (e[1] = (u) => a("dpi"))
|
|
42
|
+
}, l(n.$t("projectFacility.dpiHome")), 3)
|
|
41
43
|
]),
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
o.value === "project" ? (i(), r(g, { key: 0 })) : s("", !0),
|
|
45
|
+
o.value === "dpi" ? (i(), r(k, { key: 1 })) : s("", !0),
|
|
46
|
+
o.value === "dpi" ? (i(), r(h, { key: 2 })) : s("", !0)
|
|
44
47
|
])
|
|
45
48
|
], 64));
|
|
46
49
|
}
|
|
47
|
-
},
|
|
50
|
+
}, z = /* @__PURE__ */ v(I, [["__scopeId", "data-v-f225efea"]]);
|
|
48
51
|
export {
|
|
49
|
-
|
|
52
|
+
z as default
|
|
50
53
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as v, computed as
|
|
1
|
+
import { ref as v, computed as l, watch as _, createElementBlock as r, openBlock as a, createElementVNode as o, createCommentVNode as B, unref as u, createTextVNode as b, createVNode as h, withCtx as L, createStaticVNode as N, Fragment as D, renderList as V, createBlock as k } from "vue";
|
|
2
2
|
import { useAsyncState as U, useDebounce as z } from "@vueuse/core";
|
|
3
3
|
import C from "axios";
|
|
4
4
|
import "jquery";
|
|
@@ -24,28 +24,28 @@ const F = { class: "dpiV3_dpiHome V3-typography" }, K = { class: "dpiV3_homeHead
|
|
|
24
24
|
setup(X) {
|
|
25
25
|
const x = R(), i = W();
|
|
26
26
|
E(), localStorage.getItem("dpi_duplicate"), v("");
|
|
27
|
-
let
|
|
27
|
+
let d = l(() => i.getters["auth/getUserCatalogIds"]);
|
|
28
28
|
v({
|
|
29
29
|
loading: !1,
|
|
30
30
|
message: "",
|
|
31
31
|
confirm: () => null
|
|
32
32
|
});
|
|
33
|
-
const m =
|
|
34
|
-
|
|
33
|
+
const m = l(() => i.getters["auth/getUserDrafts"]), I = l(() => i.getters["auth/getUserData"]);
|
|
34
|
+
l(() => I.value.rtpToken);
|
|
35
35
|
const S = (s) => i.dispatch("snackbar/showSnackbar", s);
|
|
36
36
|
async function w(s) {
|
|
37
|
-
const t = s.map((
|
|
38
|
-
return (await Promise.all(t)).flatMap((
|
|
37
|
+
const t = s.map((n) => C.get(`${x.api.baseUrl}search?facets={%22catalog%22:[%22${n}%22]}&filters=dataset&includes=title,modified,id,description,catalog`));
|
|
38
|
+
return (await Promise.all(t)).flatMap((n) => n.data.result.results);
|
|
39
39
|
}
|
|
40
40
|
const {
|
|
41
41
|
state: p,
|
|
42
42
|
execute: H,
|
|
43
43
|
isLoading: P,
|
|
44
44
|
error: c
|
|
45
|
-
} = U(async () => w(
|
|
46
|
-
_(
|
|
45
|
+
} = U(async () => w(d.value), [], { immediate: !1 });
|
|
46
|
+
_(d, () => {
|
|
47
47
|
var s;
|
|
48
|
-
((s =
|
|
48
|
+
((s = d.value) == null ? void 0 : s.length) > 0 && H();
|
|
49
49
|
}, { immediate: !0 }), _(c, () => {
|
|
50
50
|
console.error(c), S({
|
|
51
51
|
message: c.message,
|
|
@@ -57,14 +57,14 @@ const F = { class: "dpiV3_dpiHome V3-typography" }, K = { class: "dpiV3_homeHead
|
|
|
57
57
|
o("div", K, [
|
|
58
58
|
t[1] || (t[1] = o("h2", { class: "dpiV3_tableHeader" }, " Ihre Datensätze ", -1)),
|
|
59
59
|
u(p).length === 0 && m.value.length === 0 ? (a(), r("p", M, t[0] || (t[0] = [
|
|
60
|
-
|
|
60
|
+
b(" Willkommen im Data Provider Interface ✨ ", -1),
|
|
61
61
|
o("br", null, null, -1),
|
|
62
|
-
|
|
62
|
+
b("Beginnen Sie mit der Erstellung Ihres ersten Datensatzes! ", -1)
|
|
63
63
|
]))) : B("", !0),
|
|
64
64
|
o("div", j, [
|
|
65
|
-
|
|
65
|
+
h(A, { to: { name: "DataProviderInterface-Input", query: { locale: "de", edit: !1 }, params: { property: "datasets" } } }, {
|
|
66
66
|
default: L(() => [
|
|
67
|
-
|
|
67
|
+
h($, {
|
|
68
68
|
"button-text": "Neuen Datensatz erstellen",
|
|
69
69
|
size: "large"
|
|
70
70
|
})
|
|
@@ -77,9 +77,9 @@ const F = { class: "dpiV3_dpiHome V3-typography" }, K = { class: "dpiV3_homeHead
|
|
|
77
77
|
u(T) ? (a(), r("div", J, t[2] || (t[2] = [
|
|
78
78
|
o("p", null, "Lädt Daten...", -1)
|
|
79
79
|
]))) : (a(), r("div", O, [
|
|
80
|
-
t[3] || (t[3] = N('<div class="dpiV3_tableHeadWrap" data-v-
|
|
80
|
+
t[3] || (t[3] = N('<div class="dpiV3_tableHeadWrap" data-v-e624e9b0><div class="dpiV3_thWrap" data-v-e624e9b0><div scope="col" data-v-e624e9b0><span data-v-e624e9b0>Datensätze</span></div><div scope="col" class="dpiV3_statusHead" data-v-e624e9b0><span data-v-e624e9b0>Status</span></div></div><div class="dpiV3_blankCell" data-v-e624e9b0></div></div>', 1)),
|
|
81
81
|
o("div", null, [
|
|
82
|
-
(a(!0), r(
|
|
82
|
+
(a(!0), r(D, null, V(m.value, (e) => (a(), k(y, {
|
|
83
83
|
id: e.id,
|
|
84
84
|
key: e.id,
|
|
85
85
|
"data-cy": e,
|
|
@@ -89,7 +89,7 @@ const F = { class: "dpiV3_dpiHome V3-typography" }, K = { class: "dpiV3_homeHead
|
|
|
89
89
|
draft: "true",
|
|
90
90
|
dataset: e
|
|
91
91
|
}, null, 8, ["id", "data-cy", "catalogue", "text", "date", "dataset"]))), 128)),
|
|
92
|
-
(a(!0), r(
|
|
92
|
+
(a(!0), r(D, null, V(u(p), (e, n) => {
|
|
93
93
|
var g, f;
|
|
94
94
|
return a(), k(y, {
|
|
95
95
|
key: e.id,
|
|
@@ -103,7 +103,7 @@ const F = { class: "dpiV3_dpiHome V3-typography" }, K = { class: "dpiV3_homeHead
|
|
|
103
103
|
])
|
|
104
104
|
]));
|
|
105
105
|
}
|
|
106
|
-
}, ce = /* @__PURE__ */ q(Q, [["__scopeId", "data-v-
|
|
106
|
+
}, ce = /* @__PURE__ */ q(Q, [["__scopeId", "data-v-e624e9b0"]]);
|
|
107
107
|
export {
|
|
108
108
|
ce as default
|
|
109
109
|
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { ref as m, computed as l, watch as u, createElementBlock as r, openBlock as s, createElementVNode as o, createVNode as v, withCtx as y, unref as _, createStaticVNode as w, Fragment as x, renderList as I, createBlock as S } from "vue";
|
|
2
|
+
import { useAsyncState as T, useDebounce as j } from "@vueuse/core";
|
|
3
|
+
import "axios";
|
|
4
|
+
import "jquery";
|
|
5
|
+
import { useRouter as B } from "vue-router";
|
|
6
|
+
import { useStore as H } from "vuex";
|
|
7
|
+
import { useRuntimeEnv as L } from "../../composables/useRuntimeEnv.js";
|
|
8
|
+
import N from "../../widgets/AppLink.vue.js";
|
|
9
|
+
import C from "./ui/ButtonV3.vue.js";
|
|
10
|
+
import A from "./ui/TableRowV3.vue.js";
|
|
11
|
+
/* empty css */
|
|
12
|
+
import E from "../../_virtual/_plugin-vue_export-helper.js";
|
|
13
|
+
const R = { class: "dpiV3_dpiHome V3-typography" }, U = { class: "dpiV3_homeHeadWrap" }, W = { class: "interactionButtonsDPIHome" }, q = { class: "dpiV3_table" }, z = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "loading-screen"
|
|
16
|
+
}, F = {
|
|
17
|
+
key: 1,
|
|
18
|
+
class: "dpiV3_innerTable"
|
|
19
|
+
}, K = {
|
|
20
|
+
__name: "ProjectTable",
|
|
21
|
+
setup(M) {
|
|
22
|
+
L();
|
|
23
|
+
const i = H();
|
|
24
|
+
B(), localStorage.getItem("dpi_duplicate"), m("");
|
|
25
|
+
let d = l(() => i.getters["auth/getUserCatalogIds"]);
|
|
26
|
+
m({
|
|
27
|
+
loading: !1,
|
|
28
|
+
message: "",
|
|
29
|
+
confirm: () => null
|
|
30
|
+
});
|
|
31
|
+
const f = l(() => i.getters["auth/getUserData"]);
|
|
32
|
+
l(() => f.value.rtpToken);
|
|
33
|
+
const g = (e) => i.dispatch("snackbar/showSnackbar", e);
|
|
34
|
+
async function b(e) {
|
|
35
|
+
return [
|
|
36
|
+
{ id: 1, title: { de: "Test-Projekt A" }, modified: Date.now() },
|
|
37
|
+
{ id: 2, title: { en: "Mock Project B" }, modified: Date.now() }
|
|
38
|
+
];
|
|
39
|
+
}
|
|
40
|
+
const {
|
|
41
|
+
state: h,
|
|
42
|
+
execute: k,
|
|
43
|
+
isLoading: V,
|
|
44
|
+
error: n
|
|
45
|
+
} = T(async () => b(d.value), [], { immediate: !1 });
|
|
46
|
+
u(d, () => {
|
|
47
|
+
var e;
|
|
48
|
+
((e = d.value) == null ? void 0 : e.length) > 0 && k();
|
|
49
|
+
}, { immediate: !0 }), u(n, () => {
|
|
50
|
+
console.error(n), g({
|
|
51
|
+
message: n.message,
|
|
52
|
+
color: "error"
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
const P = j(V, 500);
|
|
56
|
+
return (e, t) => (s(), r("div", R, [
|
|
57
|
+
o("div", U, [
|
|
58
|
+
t[0] || (t[0] = o("h2", { class: "dpiV3_tableHeader" }, " Ihre Projekte ", -1)),
|
|
59
|
+
o("div", W, [
|
|
60
|
+
v(N, { to: { name: "DataProviderInterface-InputProject", query: { locale: "de", edit: !1 }, params: { property: "datasets" } } }, {
|
|
61
|
+
default: y(() => [
|
|
62
|
+
v(C, {
|
|
63
|
+
"button-text": "Neues Projekt erstellen",
|
|
64
|
+
size: "large"
|
|
65
|
+
})
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
})
|
|
69
|
+
])
|
|
70
|
+
]),
|
|
71
|
+
o("div", q, [
|
|
72
|
+
_(P) ? (s(), r("div", z, t[1] || (t[1] = [
|
|
73
|
+
o("p", null, "Lädt Daten...", -1)
|
|
74
|
+
]))) : (s(), r("div", F, [
|
|
75
|
+
t[2] || (t[2] = w('<div class="dpiV3_tableHeadWrap" data-v-2e8b8301><div class="dpiV3_thWrap" data-v-2e8b8301><div scope="col" data-v-2e8b8301><span data-v-2e8b8301>Name</span></div><div scope="col" class="dpiV3_statusHead" data-v-2e8b8301><span data-v-2e8b8301>Status</span></div></div><div class="dpiV3_blankCell" data-v-2e8b8301></div></div>', 1)),
|
|
76
|
+
o("div", null, [
|
|
77
|
+
(s(!0), r(x, null, I(_(h), (a, D) => {
|
|
78
|
+
var c, p;
|
|
79
|
+
return s(), S(A, {
|
|
80
|
+
key: a.id ?? D,
|
|
81
|
+
text: ((c = a.title) == null ? void 0 : c.de) || ((p = a.title) == null ? void 0 : p.en) || "Kein Titel in englisch oder deutsch vohanden",
|
|
82
|
+
date: a.modified ? new Date(a.modified).toDateString() : "-",
|
|
83
|
+
dataset: a
|
|
84
|
+
}, null, 8, ["text", "date", "dataset"]);
|
|
85
|
+
}), 128))
|
|
86
|
+
])
|
|
87
|
+
]))
|
|
88
|
+
])
|
|
89
|
+
]));
|
|
90
|
+
}
|
|
91
|
+
}, se = /* @__PURE__ */ E(K, [["__scopeId", "data-v-2e8b8301"]]);
|
|
92
|
+
export {
|
|
93
|
+
se as default
|
|
94
|
+
};
|
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 "./LandingProjectStep.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ea3c97cd"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { PhInfo as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as s, createElementBlock as r, openBlock as o, createElementVNode as n, createVNode as i, withCtx as t, unref as l } from "vue";
|
|
2
|
+
import { PhInfo as a } from "@phosphor-icons/vue";
|
|
3
|
+
import d from "../../../components/StepActionsSection.vue.js";
|
|
4
|
+
import u from "../Card.vue.js";
|
|
5
|
+
const m = { class: "dpiV3_page" }, S = /* @__PURE__ */ s({
|
|
6
6
|
__name: "LandingProjectStep",
|
|
7
|
-
setup(
|
|
8
|
-
return (
|
|
9
|
-
e[1] || (e[1] =
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
setup(g) {
|
|
8
|
+
return (p, e) => (o(), r("div", m, [
|
|
9
|
+
e[1] || (e[1] = n("section", { class: "funny-section" }, [
|
|
10
|
+
n("h4", null, " Beginnen Sie mit der Dokumentation Ihres Digitalen Zwillings "),
|
|
11
|
+
n("p", { class: "copy-large-regular" }, " Willkommen und schön, dass Sie Ihre Vorgehensweise beim Aufbau eines Digitalen Zwillings mit uns teilen! Dieser Assistent führt Sie effektiv durch die notwendigen Schritte, um Ihr Projekt zu dokumentieren. Die Projektanlage ist für die Abbildung eines Use Cases Ihres Digitalen Zwillings konzipiert. ")
|
|
12
12
|
], -1)),
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
icon:
|
|
16
|
-
|
|
13
|
+
n("section", null, [
|
|
14
|
+
i(u, null, {
|
|
15
|
+
icon: t(() => [
|
|
16
|
+
i(l(a), {
|
|
17
17
|
size: 32,
|
|
18
18
|
color: "#009fe3"
|
|
19
19
|
})
|
|
20
20
|
]),
|
|
21
|
-
default:
|
|
22
|
-
e[0] || (e[0] =
|
|
21
|
+
default: t(() => [
|
|
22
|
+
e[0] || (e[0] = n("span", { class: "card-info" }, " Bitte stellen Sie sicher, dass alle im Projekt verwendeten Datensätze, Software und Hardware angelegt sind, bevor Sie mit der Projektanlage beginnen.", -1))
|
|
23
23
|
]),
|
|
24
24
|
_: 1,
|
|
25
25
|
__: [0]
|
|
26
26
|
})
|
|
27
27
|
]),
|
|
28
|
-
|
|
28
|
+
e[2] || (e[2] = n("p", null, "Lassen Sie uns beginnen!", -1)),
|
|
29
|
+
i(d, {
|
|
29
30
|
"hide-previous": "",
|
|
30
31
|
"hide-cancel": "",
|
|
31
32
|
"next-text": "Projektanlage starten",
|
|
@@ -35,5 +36,5 @@ const p = { class: "dpiV3_page" }, h = /* @__PURE__ */ r({
|
|
|
35
36
|
}
|
|
36
37
|
});
|
|
37
38
|
export {
|
|
38
|
-
|
|
39
|
+
S as default
|
|
39
40
|
};
|
package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./OptionalDataStep.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const e = /* @__PURE__ */
|
|
3
|
+
import o from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-9f2092e9"]]);
|
|
5
5
|
export {
|
|
6
6
|
e as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as I, ref as g, computed as B, createElementBlock as h, openBlock as o, createElementVNode as n, createVNode as i, unref as l, withCtx as a, Fragment as v, renderList as y, createBlock as x, normalizeClass as j, createTextVNode as D, createCommentVNode as L, withDirectives as E, vModelCheckbox as U } from "vue";
|
|
2
|
-
import { FormKit as
|
|
2
|
+
import { FormKit as r } from "@formkit/vue";
|
|
3
3
|
import { PhLightbulb as $ } from "@phosphor-icons/vue";
|
|
4
4
|
import A from "../../../../stories/components/LinkCard.vue.js";
|
|
5
5
|
import N from "../../../../stories/components/PartnerCard.vue.js";
|
|
@@ -20,7 +20,7 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
20
20
|
}, te = ["id", "value"], ie = ["for"], le = { class: "action-container" }, ae = {
|
|
21
21
|
id: "partners-section",
|
|
22
22
|
class: "funny-section"
|
|
23
|
-
},
|
|
23
|
+
}, re = { class: "partner-cards-container" }, se = { class: "action-container" }, oe = {
|
|
24
24
|
id: "partners-section",
|
|
25
25
|
class: "funny-section"
|
|
26
26
|
}, ue = { class: "partner-cards-container" }, de = { class: "action-container" }, ce = { class: "funny-section" }, me = 500, we = /* @__PURE__ */ I({
|
|
@@ -28,7 +28,7 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
28
28
|
setup(pe) {
|
|
29
29
|
const z = g(""), S = g([]), V = g([]), _ = g([]), F = B(() => {
|
|
30
30
|
var d;
|
|
31
|
-
return (d = z.value) == null ? void 0 : d.length;
|
|
31
|
+
return ((d = z.value) == null ? void 0 : d.length) || 0;
|
|
32
32
|
}), k = g(""), u = g([]);
|
|
33
33
|
function P(d) {
|
|
34
34
|
if (d && d.trim()) {
|
|
@@ -47,15 +47,15 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
47
47
|
e[8] || (e[8] = n("h5", null, " Partner ", -1)),
|
|
48
48
|
e[9] || (e[9] = n("span", { class: "copy-large-regular" }, "Wenn Sie mit einem oder mehreren Partnern zusammengearbeitet haben, können Sie diese hier angeben.", -1)),
|
|
49
49
|
n("div", q, [
|
|
50
|
-
i(l(
|
|
50
|
+
i(l(r), {
|
|
51
51
|
modelValue: S.value,
|
|
52
52
|
"onUpdate:modelValue": e[0] || (e[0] = (t) => S.value = t),
|
|
53
53
|
type: "list",
|
|
54
54
|
name: "partners",
|
|
55
55
|
dynamic: ""
|
|
56
56
|
}, {
|
|
57
|
-
default: a(({ items: t, node:
|
|
58
|
-
(o(!0), h(v, null, y(t, (m, p) => (o(), x(l(
|
|
57
|
+
default: a(({ items: t, node: s, value: c }) => [
|
|
58
|
+
(o(!0), h(v, null, y(t, (m, p) => (o(), x(l(r), {
|
|
59
59
|
key: m,
|
|
60
60
|
type: "group",
|
|
61
61
|
index: p
|
|
@@ -68,7 +68,7 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
68
68
|
size: "small",
|
|
69
69
|
variant: "secondary",
|
|
70
70
|
"icon-start": "trash",
|
|
71
|
-
onClick: () =>
|
|
71
|
+
onClick: () => s.input(c.filter((w, b) => b !== p))
|
|
72
72
|
}, null, 8, ["onClick"])
|
|
73
73
|
]),
|
|
74
74
|
_: 2
|
|
@@ -82,7 +82,7 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
82
82
|
size: "medium",
|
|
83
83
|
variant: "tertiary",
|
|
84
84
|
"icon-start": "plus",
|
|
85
|
-
onClick: (m) =>
|
|
85
|
+
onClick: (m) => s.input(c.concat({}))
|
|
86
86
|
}, null, 8, ["onClick"])
|
|
87
87
|
])
|
|
88
88
|
]),
|
|
@@ -94,7 +94,7 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
94
94
|
e[10] || (e[10] = n("h5", null, " Projektzeitraum ", -1)),
|
|
95
95
|
e[11] || (e[11] = n("span", { class: "copy-large-regular" }, "Für Projekte, die noch nicht abgeschlossen sind, können Sie das Enddatum frei lassen.", -1)),
|
|
96
96
|
n("div", Q, [
|
|
97
|
-
i(l(
|
|
97
|
+
i(l(r), {
|
|
98
98
|
type: l(C),
|
|
99
99
|
name: "startDate",
|
|
100
100
|
"text-label": "Startdatum",
|
|
@@ -107,7 +107,7 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
107
107
|
"show-end-icon": !1,
|
|
108
108
|
"initial-hint-text": !1
|
|
109
109
|
}, null, 8, ["type"]),
|
|
110
|
-
i(l(
|
|
110
|
+
i(l(r), {
|
|
111
111
|
type: l(C),
|
|
112
112
|
name: "endDate",
|
|
113
113
|
"text-label": "Enddatum",
|
|
@@ -127,13 +127,13 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
127
127
|
e[13] || (e[13] = n("div", { class: "budget" }, [
|
|
128
128
|
n("span", { class: "copy-large-regular" }, " Bitte geben Sie hier das Gesamtbudget für Ihr Projekt an. ")
|
|
129
129
|
], -1)),
|
|
130
|
-
i(l(
|
|
130
|
+
i(l(r), {
|
|
131
131
|
type: l(C),
|
|
132
132
|
name: "budget",
|
|
133
133
|
"text-label": "Budget",
|
|
134
134
|
placeholder: "...."
|
|
135
135
|
}, null, 8, ["type"]),
|
|
136
|
-
i(l(
|
|
136
|
+
i(l(r), {
|
|
137
137
|
id: "Förderung",
|
|
138
138
|
modelValue: z.value,
|
|
139
139
|
"onUpdate:modelValue": e[1] || (e[1] = (t) => z.value = t),
|
|
@@ -173,7 +173,7 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
173
173
|
n("section", ee, [
|
|
174
174
|
e[16] || (e[16] = n("h5", null, "Erforderliche Fachkompetenzen", -1)),
|
|
175
175
|
e[17] || (e[17] = n("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)),
|
|
176
|
-
i(l(
|
|
176
|
+
i(l(r), {
|
|
177
177
|
modelValue: u.value,
|
|
178
178
|
"onUpdate:modelValue": e[2] || (e[2] = (t) => u.value = t),
|
|
179
179
|
type: "hidden",
|
|
@@ -186,7 +186,7 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
186
186
|
}, [
|
|
187
187
|
E(n("input", {
|
|
188
188
|
id: `hardware-${t}`,
|
|
189
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
189
|
+
"onUpdate:modelValue": e[3] || (e[3] = (s) => u.value = s),
|
|
190
190
|
class: "label-chip__input",
|
|
191
191
|
type: "checkbox",
|
|
192
192
|
value: t
|
|
@@ -239,16 +239,16 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
239
239
|
n("section", ae, [
|
|
240
240
|
e[18] || (e[18] = n("h5", null, " Screenshots ", -1)),
|
|
241
241
|
e[19] || (e[19] = n("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)),
|
|
242
|
-
n("div",
|
|
243
|
-
i(l(
|
|
242
|
+
n("div", re, [
|
|
243
|
+
i(l(r), {
|
|
244
244
|
modelValue: V.value,
|
|
245
245
|
"onUpdate:modelValue": e[6] || (e[6] = (t) => V.value = t),
|
|
246
246
|
type: "list",
|
|
247
|
-
name: "
|
|
247
|
+
name: "references",
|
|
248
248
|
dynamic: ""
|
|
249
249
|
}, {
|
|
250
|
-
default: a(({ items: t, node:
|
|
251
|
-
(o(!0), h(v, null, y(t, (m, p) => (o(), x(l(
|
|
250
|
+
default: a(({ items: t, node: s, value: c }) => [
|
|
251
|
+
(o(!0), h(v, null, y(t, (m, p) => (o(), x(l(r), {
|
|
252
252
|
key: m,
|
|
253
253
|
type: "group",
|
|
254
254
|
index: p
|
|
@@ -261,7 +261,7 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
261
261
|
size: "small",
|
|
262
262
|
variant: "secondary",
|
|
263
263
|
"icon-start": "trash",
|
|
264
|
-
onClick: () =>
|
|
264
|
+
onClick: () => s.input(c.filter((w, b) => b !== p))
|
|
265
265
|
}, null, 8, ["onClick"])
|
|
266
266
|
]),
|
|
267
267
|
_: 2
|
|
@@ -269,13 +269,13 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
269
269
|
]),
|
|
270
270
|
_: 2
|
|
271
271
|
}, 1032, ["index"]))), 128)),
|
|
272
|
-
n("div",
|
|
272
|
+
n("div", se, [
|
|
273
273
|
i(f, {
|
|
274
274
|
"button-text": "Screenshot hinzufügen",
|
|
275
275
|
size: "medium",
|
|
276
276
|
variant: "tertiary",
|
|
277
277
|
"icon-start": "plus",
|
|
278
|
-
onClick: (m) =>
|
|
278
|
+
onClick: (m) => s.input(c.concat({}))
|
|
279
279
|
}, null, 8, ["onClick"])
|
|
280
280
|
])
|
|
281
281
|
]),
|
|
@@ -287,15 +287,15 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
287
287
|
e[20] || (e[20] = n("h5", null, " Weiterführende Links ", -1)),
|
|
288
288
|
e[21] || (e[21] = n("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)),
|
|
289
289
|
n("div", ue, [
|
|
290
|
-
i(l(
|
|
290
|
+
i(l(r), {
|
|
291
291
|
modelValue: _.value,
|
|
292
292
|
"onUpdate:modelValue": e[7] || (e[7] = (t) => _.value = t),
|
|
293
293
|
type: "list",
|
|
294
294
|
name: "links",
|
|
295
295
|
dynamic: ""
|
|
296
296
|
}, {
|
|
297
|
-
default: a(({ items: t, node:
|
|
298
|
-
(o(!0), h(v, null, y(t, (m, p) => (o(), x(l(
|
|
297
|
+
default: a(({ items: t, node: s, value: c }) => [
|
|
298
|
+
(o(!0), h(v, null, y(t, (m, p) => (o(), x(l(r), {
|
|
299
299
|
key: m,
|
|
300
300
|
type: "group",
|
|
301
301
|
index: p
|
|
@@ -308,7 +308,7 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
308
308
|
size: "small",
|
|
309
309
|
variant: "secondary",
|
|
310
310
|
"icon-start": "trash",
|
|
311
|
-
onClick: () =>
|
|
311
|
+
onClick: () => s.input(c.filter((w, b) => b !== p))
|
|
312
312
|
}, null, 8, ["onClick"])
|
|
313
313
|
]),
|
|
314
314
|
_: 2
|
|
@@ -322,7 +322,7 @@ const O = { class: "dpiV3_page V3-typography" }, R = {
|
|
|
322
322
|
size: "medium",
|
|
323
323
|
variant: "tertiary",
|
|
324
324
|
"icon-start": "plus",
|
|
325
|
-
onClick: (m) =>
|
|
325
|
+
onClick: (m) => s.input(c.concat({}))
|
|
326
326
|
}, null, 8, ["onClick"])
|
|
327
327
|
])
|
|
328
328
|
]),
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { reactive as d, createElementBlock as u, openBlock as o, createElementVNode as s, createVNode as m, Fragment as h, renderList as g, unref as i, createBlock as f } from "vue";
|
|
2
|
+
import { FormKit as b } from "@formkit/vue";
|
|
3
|
+
import _ from "../../../components/StepActionsSection.vue.js";
|
|
4
|
+
import w from "../TextArea/TextAreaDefinition.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
import k from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
7
|
+
const V = { class: "project-phasen-planen" }, x = { class: "project-phasen-planen-content" }, l = 1e3, S = {
|
|
8
|
+
__name: "PlanenStep",
|
|
9
|
+
setup(q) {
|
|
10
|
+
const n = d({
|
|
11
|
+
questions: {
|
|
12
|
+
requirements_gatherings: {
|
|
13
|
+
question: "Wie haben Sie die Anforderungen erhoben und dokumentiert (z.B. durch Markterkundung, externe Berater oder Workshops)?",
|
|
14
|
+
answer: ""
|
|
15
|
+
},
|
|
16
|
+
tender_format: {
|
|
17
|
+
question: "Welche Ausschreibungsform haben Sie gewählt und warum? Gab es eine Vorlage oder Muster-Leistungsbeschreibung, die hilfreich war und die Sie teilen können?",
|
|
18
|
+
answer: ""
|
|
19
|
+
},
|
|
20
|
+
tender_tips: {
|
|
21
|
+
question: "Welche Tipps haben Sie für eine erfolgreiche Ausschreibung?",
|
|
22
|
+
answer: ""
|
|
23
|
+
},
|
|
24
|
+
resource_planning: {
|
|
25
|
+
question: "Wie haben Sie die Ressourcenplanung für die Entwicklung und den Betrieb Ihres Digitalen Zwillings gestaltet und gesichert?",
|
|
26
|
+
answer: ""
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}), p = Object.keys(n.questions).map((r) => ({
|
|
30
|
+
name: r,
|
|
31
|
+
text: n.questions[r].question
|
|
32
|
+
}));
|
|
33
|
+
function c(r, t) {
|
|
34
|
+
n.questions[r].answer = t.slice(0, l);
|
|
35
|
+
}
|
|
36
|
+
return (r, t) => (o(), u("div", V, [
|
|
37
|
+
t[1] || (t[1] = s("div", { class: "project-phasen-planen-header" }, [
|
|
38
|
+
s("h4", null, "Planen")
|
|
39
|
+
], -1)),
|
|
40
|
+
s("div", x, [
|
|
41
|
+
t[0] || (t[0] = s("p", { class: "project-phasen-planen-description" }, " Von der Ausschreibung bis zur Vergabe. ", -1)),
|
|
42
|
+
(o(!0), u(h, null, g(i(p), (e) => (o(), f(i(b), {
|
|
43
|
+
key: e.name,
|
|
44
|
+
id: e.name,
|
|
45
|
+
modelValue: n.questions[e.name].answer,
|
|
46
|
+
"onUpdate:modelValue": (a) => n.questions[e.name].answer = a,
|
|
47
|
+
label: e.text,
|
|
48
|
+
type: i(w),
|
|
49
|
+
name: e.name,
|
|
50
|
+
validation: "length:0,1000",
|
|
51
|
+
hint: "true",
|
|
52
|
+
help: `${n.questions[e.name].answer.length || 0} von ${l} Zeichen`,
|
|
53
|
+
"count-hint": !0,
|
|
54
|
+
onInput: (a) => c(e.name, a),
|
|
55
|
+
maxlength: l
|
|
56
|
+
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "label", "type", "name", "help", "onInput"]))), 128)),
|
|
57
|
+
m(_)
|
|
58
|
+
])
|
|
59
|
+
]));
|
|
60
|
+
}
|
|
61
|
+
}, y = /* @__PURE__ */ k(S, [["__scopeId", "data-v-7497c24a"]]);
|
|
62
|
+
export {
|
|
63
|
+
y as default
|
|
64
|
+
};
|