@piveau/dpi 0.2.0-alpha.6 → 0.2.0-alpha.7
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/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 +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +5 -5
- 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 +47 -38
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +33 -29
- 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/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/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 +17 -17
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +10 -10
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +16 -16
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +13 -13
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +934 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +4 -0
- 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 +394 -361
- package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +3 -3
- package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +6 -6
- package/package.json +5 -2
|
@@ -1,121 +1,121 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { FormKit as
|
|
3
|
-
import { schemaDataset as
|
|
4
|
-
import { defineHubSearch as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
1
|
+
import { defineComponent as H, ref as I, computed as l, toRef as $, createBlock as u, openBlock as r, withCtx as i, createVNode as o, createElementBlock as f, createElementVNode as v, unref as d, isRef as M, Fragment as N, renderList as T, createCommentVNode as _, createTextVNode as c, toDisplayString as h } from "vue";
|
|
2
|
+
import { FormKit as b } from "@formkit/vue";
|
|
3
|
+
import { schemaDataset as G } from "@piveau/sdk-core";
|
|
4
|
+
import { defineHubSearch as O, dcatApDataset as E } from "@piveau/sdk-vue";
|
|
5
|
+
import P from "../../../components/StepActionsSection.vue.js";
|
|
6
|
+
import U from "../ActionCard.vue.js";
|
|
7
|
+
import W from "../Card.vue.js";
|
|
8
|
+
import y from "../SummaryBox.vue.js";
|
|
9
|
+
import F from "./AreYouSureToSkipCard.vue.js";
|
|
10
|
+
import L from "./DatasetForm.vue.js";
|
|
11
|
+
import K from "./ProcessStepBase.vue.js";
|
|
12
12
|
/* empty css */
|
|
13
|
-
import { useProcessStepResources as
|
|
14
|
-
const
|
|
13
|
+
import { useProcessStepResources as j, ensureHasOneResource as q } from "./utils.js";
|
|
14
|
+
const J = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "software-step__card-list--empty"
|
|
17
|
-
},
|
|
17
|
+
}, Q = {
|
|
18
18
|
key: 1,
|
|
19
19
|
class: "software-step__card-list"
|
|
20
|
-
},
|
|
20
|
+
}, X = { class: "step-section step-section--lg" }, Y = { class: "" }, pe = /* @__PURE__ */ H({
|
|
21
21
|
__name: "DatasetStep",
|
|
22
22
|
props: {
|
|
23
23
|
stepGroup: {},
|
|
24
24
|
edit: { type: Boolean }
|
|
25
25
|
},
|
|
26
26
|
setup(g) {
|
|
27
|
-
const
|
|
27
|
+
const D = g, a = I([]), { useResources: k } = O({
|
|
28
28
|
baseUrl: "https://twin.bydata.de/api/hub/search",
|
|
29
29
|
index: "dataset",
|
|
30
30
|
indexDetails: "datasets",
|
|
31
|
-
schema:
|
|
31
|
+
schema: G
|
|
32
32
|
}, (n, e) => {
|
|
33
|
-
const { setup:
|
|
34
|
-
return
|
|
33
|
+
const { setup: s } = E({});
|
|
34
|
+
return s(n, {
|
|
35
35
|
...e,
|
|
36
36
|
currentLocale: "de"
|
|
37
37
|
});
|
|
38
|
-
}),
|
|
38
|
+
}), x = k(l(() => a.value.map((n) => ({
|
|
39
39
|
resourceId: n.id
|
|
40
|
-
})))),
|
|
41
|
-
const e = n.resultEnhanced,
|
|
40
|
+
})))), z = l(() => x.value.every((n) => n.isSuccess)), S = l(() => z.value ? x.value.map((n) => {
|
|
41
|
+
const e = n.resultEnhanced, s = e == null ? void 0 : e.getPublisher, t = e == null ? void 0 : e.getModified, p = `${s == null ? void 0 : s.name}, ${t}`;
|
|
42
42
|
return {
|
|
43
43
|
// The ones that come from API
|
|
44
44
|
id: e == null ? void 0 : e.getId,
|
|
45
45
|
name: (e == null ? void 0 : e.getTitle) || "",
|
|
46
46
|
description: (e == null ? void 0 : e.getDescription) || "",
|
|
47
|
-
manufacturer:
|
|
47
|
+
manufacturer: p
|
|
48
48
|
};
|
|
49
49
|
}) : []);
|
|
50
50
|
function V(n) {
|
|
51
|
-
return
|
|
51
|
+
return a.value.findIndex((e) => e.id === n);
|
|
52
52
|
}
|
|
53
53
|
function w(n) {
|
|
54
54
|
const e = V(n);
|
|
55
|
-
e !== -1 &&
|
|
55
|
+
e !== -1 && a.value.splice(e, 1);
|
|
56
56
|
}
|
|
57
57
|
function R(n) {
|
|
58
|
-
|
|
58
|
+
a.value.push(n);
|
|
59
59
|
}
|
|
60
|
-
const { count:
|
|
61
|
-
return (n, e) => (
|
|
60
|
+
const { count: m, realCount: B } = j(D.stepGroup || "", $(D.edit)), A = l(() => a.value.length > 0 ? "Weiter" : "Weiter ohne Datensätze"), C = l(() => a.value.length > 0 ? "primary" : "secondary");
|
|
61
|
+
return (n, e) => (r(), u(K, {
|
|
62
62
|
title: "Geben Sie Informationen zu verwendeten Datensätzen an",
|
|
63
63
|
subtitle: "Geben Sie an, welche Datensätze Sie für diesen Prozessschritt verwendet haben. Sie können entweder einen bestehenden Datensatz auswählen oder einen Datensatz neu anlegen. Wenn Sie einen Datensatz neu anlegen, haben Sie die Möglichkeit die Sichtbarkeit des Datensatzes einzuschränken."
|
|
64
64
|
}, {
|
|
65
|
-
default: i(({ confirm:
|
|
66
|
-
o(
|
|
67
|
-
modelValue:
|
|
68
|
-
"onUpdate:modelValue": e[0] || (e[0] = (t) =>
|
|
65
|
+
default: i(({ confirm: s }) => [
|
|
66
|
+
o(d(b), {
|
|
67
|
+
modelValue: d(m),
|
|
68
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => M(m) ? m.value = t : null),
|
|
69
69
|
type: "hidden",
|
|
70
70
|
name: "__resourceCount",
|
|
71
71
|
hidden: "",
|
|
72
72
|
"aria-hidden": "",
|
|
73
|
-
"validation-rules": { ensureHasOneResource:
|
|
73
|
+
"validation-rules": { ensureHasOneResource: d(q) },
|
|
74
74
|
validation: "+ensureHasOneResource",
|
|
75
75
|
"validation-visibility": "live",
|
|
76
76
|
"validation-messages": { ensureHasOneResource: "Sie müssen pro Schritt mindestens eine Software, einen Datensatz oder eine Hardware zuordnen, um fortfahren zu können." }
|
|
77
77
|
}, null, 8, ["modelValue", "validation-rules"]),
|
|
78
|
-
o(
|
|
79
|
-
modelValue:
|
|
80
|
-
"onUpdate:modelValue": e[1] || (e[1] = (t) =>
|
|
78
|
+
o(d(b), {
|
|
79
|
+
modelValue: a.value,
|
|
80
|
+
"onUpdate:modelValue": e[1] || (e[1] = (t) => a.value = t),
|
|
81
81
|
name: "selected",
|
|
82
82
|
type: "list",
|
|
83
83
|
hidden: "",
|
|
84
84
|
"aria-hidden": ""
|
|
85
85
|
}, null, 8, ["modelValue"]),
|
|
86
|
-
|
|
87
|
-
(
|
|
88
|
-
key:
|
|
86
|
+
S.value.length ? (r(), f("section", Q, [
|
|
87
|
+
(r(!0), f(N, null, T(S.value, (t, p) => (r(), u(U, {
|
|
88
|
+
key: p,
|
|
89
89
|
class: "software-card",
|
|
90
90
|
"no-edit": !0,
|
|
91
|
-
onDelete: (
|
|
91
|
+
onDelete: (Z) => s({ id: t.id || "", resourceType: "Software", resource: t.name, callback: w })
|
|
92
92
|
}, {
|
|
93
93
|
"standalone-name": i(() => e[3] || (e[3] = [
|
|
94
|
-
|
|
94
|
+
c(" Datensatz ", -1)
|
|
95
95
|
])),
|
|
96
96
|
default: i(() => [
|
|
97
|
-
v("div",
|
|
98
|
-
o(
|
|
97
|
+
v("div", X, [
|
|
98
|
+
o(y, { title: "Name" }, {
|
|
99
99
|
default: i(() => [
|
|
100
|
-
|
|
100
|
+
c(h(t.name), 1)
|
|
101
101
|
]),
|
|
102
102
|
_: 2
|
|
103
103
|
}, 1024),
|
|
104
|
-
t.manufacturer ? (
|
|
104
|
+
t.manufacturer ? (r(), u(y, {
|
|
105
105
|
key: 0,
|
|
106
106
|
title: "Datenbereitsteller, Aktualisiert"
|
|
107
107
|
}, {
|
|
108
108
|
default: i(() => [
|
|
109
|
-
|
|
109
|
+
c(h(t.manufacturer), 1)
|
|
110
110
|
]),
|
|
111
111
|
_: 2
|
|
112
112
|
}, 1024)) : _("", !0),
|
|
113
|
-
t.description ? (
|
|
113
|
+
t.description ? (r(), u(y, {
|
|
114
114
|
key: 1,
|
|
115
115
|
title: "Beschreibung"
|
|
116
116
|
}, {
|
|
117
117
|
default: i(() => [
|
|
118
|
-
|
|
118
|
+
c(h(t.description), 1)
|
|
119
119
|
]),
|
|
120
120
|
_: 2
|
|
121
121
|
}, 1024)) : _("", !0)
|
|
@@ -123,8 +123,8 @@ const j = {
|
|
|
123
123
|
]),
|
|
124
124
|
_: 2
|
|
125
125
|
}, 1032, ["onDelete"]))), 128))
|
|
126
|
-
])) : (
|
|
127
|
-
o(
|
|
126
|
+
])) : (r(), f("section", J, [
|
|
127
|
+
o(W, {
|
|
128
128
|
small: "",
|
|
129
129
|
class: "empty-card"
|
|
130
130
|
}, {
|
|
@@ -135,13 +135,16 @@ const j = {
|
|
|
135
135
|
__: [2]
|
|
136
136
|
})
|
|
137
137
|
])),
|
|
138
|
-
o(
|
|
139
|
-
exclude:
|
|
138
|
+
o(L, {
|
|
139
|
+
exclude: a.value.map((t) => t.id),
|
|
140
140
|
onSubmit: R
|
|
141
141
|
}, null, 8, ["exclude"]),
|
|
142
|
-
v("section",
|
|
143
|
-
o(
|
|
144
|
-
|
|
142
|
+
v("section", Y, [
|
|
143
|
+
o(P, {
|
|
144
|
+
"next-text": A.value,
|
|
145
|
+
"next-variant": C.value
|
|
146
|
+
}, null, 8, ["next-text", "next-variant"]),
|
|
147
|
+
d(B) === 0 ? (r(), u(F, {
|
|
145
148
|
key: 0,
|
|
146
149
|
"resource-label": "Datensätze"
|
|
147
150
|
})) : _("", !0)
|
|
@@ -152,5 +155,5 @@ const j = {
|
|
|
152
155
|
}
|
|
153
156
|
});
|
|
154
157
|
export {
|
|
155
|
-
|
|
158
|
+
pe as default
|
|
156
159
|
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { defineComponent as b, computed as u, toRef as m, reactive as v, renderSlot as y, createTextVNode as h, toDisplayString as a } from "vue";
|
|
2
|
+
import { defineHubSearch as R } from "@piveau/sdk-vue";
|
|
3
|
+
import _ from "zod";
|
|
4
|
+
const S = /* @__PURE__ */ b({
|
|
5
|
+
__name: "GetResource",
|
|
6
|
+
props: {
|
|
7
|
+
baseUrl: { default: "https://staging.bydata.de/api/hub/search" },
|
|
8
|
+
resourceId: {},
|
|
9
|
+
vocabulary: { default: "" },
|
|
10
|
+
resource: { default: "" },
|
|
11
|
+
setupFn: {},
|
|
12
|
+
enabled: { type: Boolean, default: !0 }
|
|
13
|
+
},
|
|
14
|
+
setup(o) {
|
|
15
|
+
const e = o, t = u(() => !!e.vocabulary), n = u(() => t.value ? "vocabulary" : "resource"), c = u(() => t.value ? "vocabularies" : e.resource === "dataset" ? `${e.resource}` : `resources/${e.resource}`), s = u(() => e.resourceId), l = m(e.enabled), { useResource: d } = R({
|
|
16
|
+
baseUrl: e.baseUrl,
|
|
17
|
+
index: n.value,
|
|
18
|
+
indexDetails: c.value,
|
|
19
|
+
schema: _.any()
|
|
20
|
+
}, e.setupFn), i = u(() => e.enabled ? t.value ? `${e.vocabulary}/vocable` : s.value : ""), p = u(() => t.value ? { resource: s.value } : {}), r = v(d(i, {
|
|
21
|
+
additionalParams: p,
|
|
22
|
+
queryOptions: {
|
|
23
|
+
enabled: l
|
|
24
|
+
}
|
|
25
|
+
}));
|
|
26
|
+
return (f, g) => y(f.$slots, "default", {
|
|
27
|
+
result: r.resultEnhanced,
|
|
28
|
+
loading: r.isLoading,
|
|
29
|
+
error: r.query.error,
|
|
30
|
+
success: r.isSuccess
|
|
31
|
+
}, () => [
|
|
32
|
+
h(a(r.resultEnhanced) + " " + a(r.isLoading) + " " + a(r.isSuccess) + " " + a(r.query.error), 1)
|
|
33
|
+
]);
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
export {
|
|
37
|
+
S as default
|
|
38
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SoftwareStep.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d658cd16"]]);
|
|
5
5
|
export {
|
|
6
6
|
e as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { defineComponent as $, ref as v, computed as c, watch as M, toRef as W, createBlock as
|
|
1
|
+
import { defineComponent as $, ref as v, computed as c, watch as M, toRef as W, createBlock as f, openBlock as o, withCtx as u, createVNode as s, createElementBlock as S, createElementVNode as x, unref as m, isRef as K, Fragment as g, renderList as D, createTextVNode as B, toDisplayString as L, createCommentVNode as I, nextTick as j } from "vue";
|
|
2
2
|
import { FormKit as R } from "@formkit/vue";
|
|
3
|
-
import "@phosphor-icons/vue";
|
|
4
3
|
import { defineHubSearch as q } from "@piveau/sdk-vue";
|
|
5
4
|
import J from "zod";
|
|
6
5
|
import Q from "../../../components/StepActionsSection.vue.js";
|
|
@@ -15,19 +14,19 @@ import re from "./ProcessStepBase.vue.js";
|
|
|
15
14
|
import z from "./SoftwareForm.vue.js";
|
|
16
15
|
import { useProcessStepResources as oe, ensureHasOneResource as ie } from "./utils.js";
|
|
17
16
|
const ae = {
|
|
18
|
-
key:
|
|
17
|
+
key: 0,
|
|
19
18
|
class: "software-step__card-list--empty"
|
|
20
19
|
}, le = {
|
|
21
|
-
key:
|
|
20
|
+
key: 1,
|
|
22
21
|
class: "software-step__card-list"
|
|
23
|
-
}, ue = { class: "functionalities" }, se = { class: "" },
|
|
22
|
+
}, ue = { class: "functionalities" }, se = { class: "" }, ge = /* @__PURE__ */ $({
|
|
24
23
|
__name: "SoftwareStep",
|
|
25
24
|
props: {
|
|
26
25
|
stepGroup: {},
|
|
27
26
|
edit: { type: Boolean }
|
|
28
27
|
},
|
|
29
28
|
setup(T) {
|
|
30
|
-
const
|
|
29
|
+
const y = T, d = v(!1), r = v([]), { useResources: C } = q({
|
|
31
30
|
baseUrl: "https://twin.bydata.de/api/hub/search",
|
|
32
31
|
index: "resource",
|
|
33
32
|
indexDetails: "resources/software",
|
|
@@ -40,9 +39,9 @@ const ae = {
|
|
|
40
39
|
id: t,
|
|
41
40
|
name: i
|
|
42
41
|
};
|
|
43
|
-
}),
|
|
42
|
+
}), b = C(c(() => r.value.map((e) => ({
|
|
44
43
|
resourceId: e.id
|
|
45
|
-
})))), E = c(() =>
|
|
44
|
+
})))), E = c(() => b.value.every((e) => e.isSuccess)), _ = c(() => E.value ? b.value.map((e, t) => {
|
|
46
45
|
const i = e.resultEnhanced;
|
|
47
46
|
return {
|
|
48
47
|
id: i.id,
|
|
@@ -59,43 +58,42 @@ const ae = {
|
|
|
59
58
|
function H(e) {
|
|
60
59
|
return r.value.find((t) => t.id === e);
|
|
61
60
|
}
|
|
62
|
-
function
|
|
61
|
+
function V(e) {
|
|
63
62
|
return r.value.findIndex((t) => t.id === e);
|
|
64
63
|
}
|
|
65
64
|
function N(e) {
|
|
66
|
-
const t =
|
|
65
|
+
const t = V(e);
|
|
67
66
|
t !== -1 && r.value.splice(t, 1);
|
|
68
67
|
}
|
|
69
68
|
async function U(e) {
|
|
70
69
|
H(e) && (a.value = e, w.value++, await j(), d.value = !0);
|
|
71
70
|
}
|
|
72
|
-
function
|
|
71
|
+
function k(e) {
|
|
73
72
|
r.value.push(e), d.value = !1, a.value = "";
|
|
74
73
|
}
|
|
75
74
|
function A(e) {
|
|
76
|
-
const t =
|
|
75
|
+
const t = V(e.id);
|
|
77
76
|
t !== -1 && (r.value.splice(t, 1), r.value.splice(t, 0, e.software), a.value = "", d.value = !1);
|
|
78
77
|
}
|
|
79
|
-
const G = c(() => r.value.length > 0 ? "Weiter" : "Weiter ohne Software"), O = c(() => r.value.length > 0 ? "primary" : "secondary"), { count: h, realCount: P } = oe(
|
|
80
|
-
return (e, t) => (o(),
|
|
78
|
+
const G = c(() => r.value.length > 0 ? "Weiter" : "Weiter ohne Software"), O = c(() => r.value.length > 0 ? "primary" : "secondary"), { count: h, realCount: P } = oe(y.stepGroup || "", W(y.edit));
|
|
79
|
+
return (e, t) => (o(), f(re, {
|
|
81
80
|
title: "Geben Sie Informationen zur verwendeten Software an",
|
|
82
81
|
subtitle: "Die Software wird zentral von uns verwaltet. Sie können in diesem Schritt auswählen, welche Software Sie verwendet haben. Sobald Sie eine Software zugeordnet haben, geben Sie bitte an, welche Funktionalitäten der Software Sie für diesen Schritt benötigt haben."
|
|
83
82
|
}, {
|
|
84
83
|
default: u(({ confirm: i }) => [
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
modelValue: f(h),
|
|
84
|
+
s(m(R), {
|
|
85
|
+
modelValue: m(h),
|
|
88
86
|
"onUpdate:modelValue": t[0] || (t[0] = (n) => K(h) ? h.value = n : null),
|
|
89
87
|
type: "hidden",
|
|
90
88
|
name: "__resourceCount",
|
|
91
89
|
hidden: "",
|
|
92
90
|
"aria-hidden": "",
|
|
93
|
-
"validation-rules": { ensureHasOneResource:
|
|
91
|
+
"validation-rules": { ensureHasOneResource: m(ie) },
|
|
94
92
|
validation: "+ensureHasOneResource",
|
|
95
93
|
"validation-visibility": "live",
|
|
96
94
|
"validation-messages": { ensureHasOneResource: "Sie müssen pro Schritt mindestens eine Software, einen Datensatz oder eine Hardware zuordnen, um fortfahren zu können." }
|
|
97
95
|
}, null, 8, ["modelValue", "validation-rules"]),
|
|
98
|
-
s(
|
|
96
|
+
s(m(R), {
|
|
99
97
|
modelValue: r.value,
|
|
100
98
|
"onUpdate:modelValue": t[1] || (t[1] = (n) => r.value = n),
|
|
101
99
|
name: "selected",
|
|
@@ -103,24 +101,24 @@ const ae = {
|
|
|
103
101
|
hidden: "",
|
|
104
102
|
"aria-hidden": ""
|
|
105
103
|
}, null, 8, ["modelValue"]),
|
|
106
|
-
|
|
107
|
-
(o(!0), S(
|
|
104
|
+
_.value.length ? (o(), S("section", le, [
|
|
105
|
+
(o(!0), S(g, null, D(_.value, (n, p) => (o(), f(X, {
|
|
108
106
|
key: p,
|
|
109
107
|
class: "software-card",
|
|
110
108
|
onEdit: (l) => U(n.id),
|
|
111
109
|
onDelete: (l) => i({ id: n.id, resourceType: "Software", resource: n.name, callback: N })
|
|
112
110
|
}, {
|
|
113
111
|
"sub-title": u(() => t[5] || (t[5] = [
|
|
114
|
-
|
|
112
|
+
B(" Name ", -1)
|
|
115
113
|
])),
|
|
116
114
|
title: u(() => [
|
|
117
|
-
|
|
115
|
+
B(L(n.name), 1)
|
|
118
116
|
]),
|
|
119
117
|
default: u(() => [
|
|
120
118
|
s(te, { title: "Genutzte Funktionalitäten" }, {
|
|
121
119
|
default: u(() => [
|
|
122
|
-
|
|
123
|
-
(o(!0), S(
|
|
120
|
+
x("div", ue, [
|
|
121
|
+
(o(!0), S(g, null, D(n.functionalities, (l) => (o(), f(Z, {
|
|
124
122
|
key: l,
|
|
125
123
|
text: l,
|
|
126
124
|
data: { "@value": "", URI: "" },
|
|
@@ -139,7 +137,7 @@ const ae = {
|
|
|
139
137
|
class: "empty-card"
|
|
140
138
|
}, {
|
|
141
139
|
default: u(() => t[4] || (t[4] = [
|
|
142
|
-
|
|
140
|
+
x("p", { class: "copy-large-regular empty-card-text" }, " Aktuell haben Sie noch keine Software im Prozessschritt hinterlegt. ", -1)
|
|
143
141
|
])),
|
|
144
142
|
_: 1,
|
|
145
143
|
__: [4]
|
|
@@ -147,32 +145,32 @@ const ae = {
|
|
|
147
145
|
])),
|
|
148
146
|
s(z, {
|
|
149
147
|
exclude: r.value.map((n) => n.id),
|
|
150
|
-
onSubmit:
|
|
148
|
+
onSubmit: k
|
|
151
149
|
}, null, 8, ["exclude"]),
|
|
152
|
-
|
|
150
|
+
x("section", se, [
|
|
153
151
|
s(Q, {
|
|
154
152
|
"next-text": G.value,
|
|
155
153
|
"next-variant": O.value
|
|
156
154
|
}, null, 8, ["next-text", "next-variant"]),
|
|
157
|
-
|
|
155
|
+
m(P) === 0 ? (o(), f(ne, {
|
|
158
156
|
key: 0,
|
|
159
157
|
"resource-label": "Software"
|
|
160
|
-
})) :
|
|
158
|
+
})) : I("", !0)
|
|
161
159
|
]),
|
|
162
160
|
s(ee, {
|
|
163
161
|
modelValue: d.value,
|
|
164
162
|
"onUpdate:modelValue": t[3] || (t[3] = (n) => d.value = n)
|
|
165
163
|
}, {
|
|
166
164
|
default: u(() => [
|
|
167
|
-
a.value ? (o(),
|
|
165
|
+
a.value ? (o(), f(z, {
|
|
168
166
|
key: w.value,
|
|
169
167
|
modelValue: a.value,
|
|
170
168
|
"onUpdate:modelValue": t[2] || (t[2] = (n) => a.value = n),
|
|
171
169
|
functionalities: F.value,
|
|
172
170
|
exclude: r.value.map((n) => n.id),
|
|
173
|
-
onSubmit:
|
|
171
|
+
onSubmit: k,
|
|
174
172
|
onPatch: A
|
|
175
|
-
}, null, 8, ["modelValue", "functionalities", "exclude"])) :
|
|
173
|
+
}, null, 8, ["modelValue", "functionalities", "exclude"])) : I("", !0)
|
|
176
174
|
]),
|
|
177
175
|
_: 1
|
|
178
176
|
}, 8, ["modelValue"])
|
|
@@ -182,5 +180,5 @@ const ae = {
|
|
|
182
180
|
}
|
|
183
181
|
});
|
|
184
182
|
export {
|
|
185
|
-
|
|
183
|
+
ge as default
|
|
186
184
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { reactive as
|
|
2
|
-
import { FormKit as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { reactive as u, createElementBlock as c, openBlock as o, createElementVNode as i, createVNode as m, Fragment as h, renderList as g, unref as s, createBlock as b } from "vue";
|
|
2
|
+
import { FormKit as f } from "@formkit/vue";
|
|
3
|
+
import v from "../../../components/StepActionsSection.vue.js";
|
|
4
|
+
import k from "../TextArea/TextAreaDefinition.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import
|
|
6
|
+
import _ from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
7
7
|
const j = { class: "project-phasen-initiieren" }, w = { class: "project-phasen-initiieren-content" }, l = 1e3, V = {
|
|
8
8
|
__name: "InitiierenStep",
|
|
9
9
|
setup(x) {
|
|
10
|
-
const n =
|
|
10
|
+
const n = u({
|
|
11
11
|
questions: {
|
|
12
|
-
|
|
12
|
+
projectTriggers: {
|
|
13
13
|
question: "Was waren Auslöser für das Projekta (z.B. rechtliche oder politische Vorgaben, intrinsische Motivation oder inspirierende Projekte aus anderen Kommunen)?",
|
|
14
14
|
answer: ""
|
|
15
15
|
},
|
|
16
|
-
|
|
16
|
+
involvedStakeholders: {
|
|
17
17
|
question: "Welche relevanten Akteure - innerhalb oder außerhalb Ihrer Organisation - haben Sie frühzeitig involviert (z.B. um politische Rückendeckung sicherzustellen)?",
|
|
18
18
|
answer: ""
|
|
19
19
|
},
|
|
20
|
-
|
|
20
|
+
dataCollectionMethod: {
|
|
21
21
|
question: "Wie haben Sie den Bestand vorhandener Daten erhoben?",
|
|
22
22
|
answer: ""
|
|
23
23
|
},
|
|
24
|
-
|
|
24
|
+
budgetPlanning: {
|
|
25
25
|
question: "Wie haben Sie das (erste) Budget berechnet und nachhaltig gesichert?",
|
|
26
26
|
answer: ""
|
|
27
27
|
}
|
|
@@ -39,26 +39,26 @@ const j = { class: "project-phasen-initiieren" }, w = { class: "project-phasen-i
|
|
|
39
39
|
], -1)),
|
|
40
40
|
i("div", w, [
|
|
41
41
|
t[0] || (t[0] = i("p", { class: "project-phasen-initiieren-description" }, " Von der Projektid bis zum Projektplan. ", -1)),
|
|
42
|
-
(o(!0), c(h, null,
|
|
43
|
-
key: e.name,
|
|
42
|
+
(o(!0), c(h, null, g(s(d), (e) => (o(), b(s(f), {
|
|
44
43
|
id: e.name,
|
|
44
|
+
key: e.name,
|
|
45
45
|
modelValue: n.questions[e.name].answer,
|
|
46
46
|
"onUpdate:modelValue": (a) => n.questions[e.name].answer = a,
|
|
47
47
|
label: e.text,
|
|
48
|
-
type: s(
|
|
48
|
+
type: s(k),
|
|
49
49
|
name: e.name,
|
|
50
50
|
validation: "length:0,1000",
|
|
51
51
|
hint: "true",
|
|
52
52
|
help: `${n.questions[e.name].answer.length || 0} von ${l} Zeichen`,
|
|
53
53
|
"count-hint": !0,
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
maxlength: l,
|
|
55
|
+
onInput: (a) => p(e.name, a)
|
|
56
56
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "label", "type", "name", "help", "onInput"]))), 128)),
|
|
57
|
-
|
|
57
|
+
m(v)
|
|
58
58
|
])
|
|
59
59
|
]));
|
|
60
60
|
}
|
|
61
|
-
}, W = /* @__PURE__ */
|
|
61
|
+
}, W = /* @__PURE__ */ _(V, [["__scopeId", "data-v-5f6263b9"]]);
|
|
62
62
|
export {
|
|
63
63
|
W as default
|
|
64
64
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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
2
|
import { FormKit as b } from "@formkit/vue";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import w from "../../../components/StepActionsSection.vue.js";
|
|
4
|
+
import _ from "../TextArea/TextAreaDefinition.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import k from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
7
7
|
const V = { class: "project-phasen-planen" }, x = { class: "project-phasen-planen-content" }, l = 1e3, S = {
|
|
@@ -9,19 +9,19 @@ const V = { class: "project-phasen-planen" }, x = { class: "project-phasen-plane
|
|
|
9
9
|
setup(q) {
|
|
10
10
|
const n = d({
|
|
11
11
|
questions: {
|
|
12
|
-
|
|
12
|
+
requirementsGatherings: {
|
|
13
13
|
question: "Wie haben Sie die Anforderungen erhoben und dokumentiert (z.B. durch Markterkundung, externe Berater oder Workshops)?",
|
|
14
14
|
answer: ""
|
|
15
15
|
},
|
|
16
|
-
|
|
16
|
+
tenderFormat: {
|
|
17
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
18
|
answer: ""
|
|
19
19
|
},
|
|
20
|
-
|
|
20
|
+
tenderTips: {
|
|
21
21
|
question: "Welche Tipps haben Sie für eine erfolgreiche Ausschreibung?",
|
|
22
22
|
answer: ""
|
|
23
23
|
},
|
|
24
|
-
|
|
24
|
+
resourcePlanning: {
|
|
25
25
|
question: "Wie haben Sie die Ressourcenplanung für die Entwicklung und den Betrieb Ihres Digitalen Zwillings gestaltet und gesichert?",
|
|
26
26
|
answer: ""
|
|
27
27
|
}
|
|
@@ -45,7 +45,7 @@ const V = { class: "project-phasen-planen" }, x = { class: "project-phasen-plane
|
|
|
45
45
|
modelValue: n.questions[e.name].answer,
|
|
46
46
|
"onUpdate:modelValue": (a) => n.questions[e.name].answer = a,
|
|
47
47
|
label: e.text,
|
|
48
|
-
type: i(
|
|
48
|
+
type: i(_),
|
|
49
49
|
name: e.name,
|
|
50
50
|
validation: "length:0,1000",
|
|
51
51
|
hint: "true",
|
|
@@ -54,11 +54,11 @@ const V = { class: "project-phasen-planen" }, x = { class: "project-phasen-plane
|
|
|
54
54
|
onInput: (a) => c(e.name, a),
|
|
55
55
|
maxlength: l
|
|
56
56
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "label", "type", "name", "help", "onInput"]))), 128)),
|
|
57
|
-
m(
|
|
57
|
+
m(w)
|
|
58
58
|
])
|
|
59
59
|
]));
|
|
60
60
|
}
|
|
61
|
-
},
|
|
61
|
+
}, P = /* @__PURE__ */ k(S, [["__scopeId", "data-v-4cf72e48"]]);
|
|
62
62
|
export {
|
|
63
|
-
|
|
63
|
+
P as default
|
|
64
64
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { reactive as c, createElementBlock as l, openBlock as o, createElementVNode as r, createVNode as p, Fragment as h, renderList as g, unref as i, createBlock as
|
|
2
|
-
import { FormKit as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { reactive as c, createElementBlock as l, openBlock as o, createElementVNode as r, createVNode as p, Fragment as h, renderList as g, unref as i, createBlock as f } from "vue";
|
|
2
|
+
import { FormKit as w } from "@formkit/vue";
|
|
3
|
+
import b from "../../../components/StepActionsSection.vue.js";
|
|
4
|
+
import z from "../TextArea/TextAreaDefinition.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import
|
|
6
|
+
import _ from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
7
7
|
const v = { class: "project-phasen-umstezen" }, S = { class: "project-phasen-umstezen-content" }, u = 1e3, V = {
|
|
8
8
|
__name: "UmstezenStep",
|
|
9
9
|
setup(k) {
|
|
10
10
|
const n = c({
|
|
11
11
|
questions: {
|
|
12
|
-
|
|
12
|
+
projectTriggers: {
|
|
13
13
|
question: "Wie haben Sie die Zusammenarbeit mit den Dienstleistern organisiert und wie wurden relevante Stakeholder in Entscheidungsprozesse eingebunden (z.B. Meetingstruktur oder Frameworks)?",
|
|
14
14
|
answer: ""
|
|
15
15
|
},
|
|
16
|
-
|
|
16
|
+
involvedStakeholders: {
|
|
17
17
|
question: "Gab es Verzögerungen und wenn ja, was waren die Gründe?",
|
|
18
18
|
answer: ""
|
|
19
19
|
},
|
|
20
|
-
|
|
20
|
+
dataCollectionMethod: {
|
|
21
21
|
question: "Welche Schnittstellen wurden genutzt und traten technische Herausforderungen auf?",
|
|
22
22
|
answer: ""
|
|
23
23
|
},
|
|
24
|
-
|
|
24
|
+
budgetPlanning: {
|
|
25
25
|
question: "Welche Überlegungen sind in Ihre Entscheidung für eine Open-Source-Lösung geflossen und welche Erfahrungen haben Sie bisher damit gemacht?",
|
|
26
26
|
answer: ""
|
|
27
27
|
}
|
|
@@ -39,26 +39,26 @@ const v = { class: "project-phasen-umstezen" }, S = { class: "project-phasen-ums
|
|
|
39
39
|
], -1)),
|
|
40
40
|
r("div", S, [
|
|
41
41
|
t[0] || (t[0] = r("p", { class: "project-phasen-umstezen-description" }, " Von der Dienstleistersteuerung bis zur Meilensteinerreichung. ", -1)),
|
|
42
|
-
(o(!0), l(h, null, g(i(m), (e) => (o(),
|
|
43
|
-
key: e.name,
|
|
42
|
+
(o(!0), l(h, null, g(i(m), (e) => (o(), f(i(w), {
|
|
44
43
|
id: e.name,
|
|
44
|
+
key: e.name,
|
|
45
45
|
modelValue: n.questions[e.name].answer,
|
|
46
46
|
"onUpdate:modelValue": (a) => n.questions[e.name].answer = a,
|
|
47
47
|
label: e.text,
|
|
48
|
-
type: i(
|
|
48
|
+
type: i(z),
|
|
49
49
|
name: e.name,
|
|
50
50
|
validation: "length:0,1000",
|
|
51
51
|
hint: "true",
|
|
52
52
|
help: `${n.questions[e.name].answer.length || 0} von ${u} Zeichen`,
|
|
53
53
|
"count-hint": !0,
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
maxlength: u,
|
|
55
|
+
onInput: (a) => d(e.name, a)
|
|
56
56
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "label", "type", "name", "help", "onInput"]))), 128)),
|
|
57
|
-
p(
|
|
57
|
+
p(b)
|
|
58
58
|
])
|
|
59
59
|
]));
|
|
60
60
|
}
|
|
61
|
-
}, B = /* @__PURE__ */
|
|
61
|
+
}, B = /* @__PURE__ */ _(V, [["__scopeId", "data-v-69f26bb3"]]);
|
|
62
62
|
export {
|
|
63
63
|
B as default
|
|
64
64
|
};
|