@piveau/dpi 0.2.0-alpha.29 → 0.2.0-alpha.30
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/DPIHome.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue2.js +19 -19
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue2.js +24 -22
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +35 -33
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +25 -21
- 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 +1 -1
- 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 +1 -1
- 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 +13 -10
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +16 -15
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +34 -32
- 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 +56 -43
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +56 -54
- 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 +372 -325
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue2.js +71 -68
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepBase.vue.js +45 -36
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/RichOption.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/RichOption.vue2.js +33 -23
- 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 +137 -133
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +62 -59
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +250 -241
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +36 -36
- 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 +61 -57
- package/package.json +1 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { toTypedSchema as
|
|
3
|
-
import { useForm as Z, useFieldArray as
|
|
4
|
-
import * as
|
|
5
|
-
import { useTwinbyUser as
|
|
6
|
-
import
|
|
1
|
+
import { defineComponent as de, mergeModels as R, useModel as fe, unref as o, watch as C, ref as me, computed as m, createElementBlock as d, openBlock as c, createElementVNode as l, createCommentVNode as w, createVNode as a, Fragment as B, mergeProps as F, isRef as k, withCtx as pe, renderList as he, withDirectives as Se, vModelCheckbox as be, createBlock as ve } from "vue";
|
|
2
|
+
import { toTypedSchema as j } from "../../../../../../../node_modules/.pnpm/@vee-validate_zod@4.15.1_vue@3.5.18_typescript@5.8.3__zod@3.25.76/node_modules/@vee-validate/zod/dist/vee-validate-zod.js";
|
|
3
|
+
import { useForm as Z, useFieldArray as ye } from "vee-validate";
|
|
4
|
+
import * as s from "zod";
|
|
5
|
+
import { useTwinbyUser as ge } from "../../../composables/useTwinbyUser.js";
|
|
6
|
+
import we from "../Autocomplete/AutocompleteVocab.vue.js";
|
|
7
7
|
import b from "../ButtonV3.vue.js";
|
|
8
|
-
import
|
|
8
|
+
import Fe from "../Chip.vue.js";
|
|
9
9
|
import ke from "../InputField.vue.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
const
|
|
10
|
+
import Ie from "../ListBox/Listbox.vue.js";
|
|
11
|
+
import Ve from "./RichOption.vue.js";
|
|
12
|
+
const xe = { class: "dpi-project-process-step V3-typography" }, ze = { class: "step-section" }, Ae = { class: "step-section-actions" }, Ce = ["href"], Be = { class: "step-section" }, _e = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "functionalities-container"
|
|
15
|
-
},
|
|
15
|
+
}, De = ["id", "value"], Ue = { class: "step-section-actions" }, Le = { class: "step-section-actions" }, Te = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "button-row"
|
|
18
|
-
},
|
|
18
|
+
}, O = "Wählen Sie eine Funktionalität aus oder nennen Sie eine Funktionalität ein.", Ye = /* @__PURE__ */ de({
|
|
19
19
|
__name: "SoftwareForm",
|
|
20
|
-
props: /* @__PURE__ */
|
|
20
|
+
props: /* @__PURE__ */ R({
|
|
21
21
|
modelValue: {},
|
|
22
22
|
functionalities: {},
|
|
23
23
|
exclude: { default: () => [] }
|
|
@@ -27,78 +27,82 @@ const Ve = { class: "dpi-project-process-step V3-typography" }, xe = { class: "s
|
|
|
27
27
|
},
|
|
28
28
|
modelModifiers: {}
|
|
29
29
|
}),
|
|
30
|
-
emits: /* @__PURE__ */
|
|
31
|
-
setup(
|
|
32
|
-
const
|
|
33
|
-
lat:
|
|
34
|
-
lng:
|
|
35
|
-
}),
|
|
36
|
-
id:
|
|
37
|
-
functionalities:
|
|
38
|
-
locations:
|
|
30
|
+
emits: /* @__PURE__ */ R(["submit", "patch", "close"], ["update:modelValue"]),
|
|
31
|
+
setup(_, { emit: G }) {
|
|
32
|
+
const p = _, I = G, $ = fe(_, "modelValue"), h = !!p.modelValue, q = o(p.modelValue) || "", K = s.object({
|
|
33
|
+
lat: s.string().min(1, "Geben Sie einen Wert für die Breite ein"),
|
|
34
|
+
lng: s.string().min(1, "Geben Sie einen Wert für die Länge ein")
|
|
35
|
+
}), Q = s.array(K), Y = s.object({
|
|
36
|
+
id: s.string(),
|
|
37
|
+
functionalities: s.array(s.string()).min(1),
|
|
38
|
+
locations: Q
|
|
39
39
|
}), {
|
|
40
|
-
defineField:
|
|
41
|
-
handleSubmit:
|
|
42
|
-
resetForm:
|
|
43
|
-
errors:
|
|
40
|
+
defineField: D,
|
|
41
|
+
handleSubmit: H,
|
|
42
|
+
resetForm: J,
|
|
43
|
+
errors: We
|
|
44
44
|
} = Z({
|
|
45
|
-
validationSchema:
|
|
45
|
+
validationSchema: j(Y),
|
|
46
46
|
initialValues: {
|
|
47
|
-
id:
|
|
48
|
-
functionalities:
|
|
47
|
+
id: p.modelValue || "",
|
|
48
|
+
functionalities: p.functionalities || [],
|
|
49
49
|
locations: []
|
|
50
50
|
},
|
|
51
51
|
name: "softwareForm"
|
|
52
|
-
}), [
|
|
52
|
+
}), [f, X] = D("id"), [r, ee] = D("functionalities"), {
|
|
53
53
|
remove: Ee,
|
|
54
54
|
push: Me,
|
|
55
55
|
fields: Ne
|
|
56
|
-
} =
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
} = ye("locations");
|
|
57
|
+
C(f, (n) => {
|
|
58
|
+
$.value = n || "";
|
|
59
59
|
}, { immediate: !0 });
|
|
60
|
-
const
|
|
61
|
-
function
|
|
62
|
-
|
|
60
|
+
const U = me(null);
|
|
61
|
+
function te(n) {
|
|
62
|
+
U.value = n;
|
|
63
63
|
}
|
|
64
|
-
const
|
|
64
|
+
const S = m(() => !!f.value), L = m(() => {
|
|
65
65
|
var n;
|
|
66
66
|
return (((n = r.value) == null ? void 0 : n.length) ?? 0) > 0;
|
|
67
|
-
}),
|
|
67
|
+
}), V = m(() => {
|
|
68
68
|
var n;
|
|
69
|
-
return ((n =
|
|
70
|
-
}), ne =
|
|
71
|
-
functionalitySelect:
|
|
72
|
-
functionalityInput:
|
|
69
|
+
return ((n = U.value) == null ? void 0 : n.functionalities) ?? [];
|
|
70
|
+
}), ne = s.object({
|
|
71
|
+
functionalitySelect: s.string().optional(),
|
|
72
|
+
functionalityInput: s.string().optional()
|
|
73
73
|
}).superRefine((n, t) => {
|
|
74
|
-
const e = n.functionalitySelect && n.functionalitySelect.trim().length > 0,
|
|
75
|
-
!e && !
|
|
76
|
-
code:
|
|
77
|
-
message:
|
|
74
|
+
const e = n.functionalitySelect && n.functionalitySelect.trim().length > 0, i = n.functionalityInput && n.functionalityInput.trim().length > 0;
|
|
75
|
+
!e && !i && (t.addIssue({
|
|
76
|
+
code: s.ZodIssueCode.custom,
|
|
77
|
+
message: O,
|
|
78
78
|
path: ["functionalitySelect"]
|
|
79
79
|
}), t.addIssue({
|
|
80
|
-
code:
|
|
81
|
-
message:
|
|
80
|
+
code: s.ZodIssueCode.custom,
|
|
81
|
+
message: O,
|
|
82
82
|
path: ["functionalityInput"]
|
|
83
83
|
}));
|
|
84
84
|
}), {
|
|
85
|
-
defineField:
|
|
85
|
+
defineField: T,
|
|
86
86
|
handleSubmit: ie,
|
|
87
87
|
errors: v,
|
|
88
|
-
resetForm:
|
|
88
|
+
resetForm: x
|
|
89
89
|
} = Z({
|
|
90
|
-
validationSchema:
|
|
90
|
+
validationSchema: j(ne),
|
|
91
91
|
initialValues: {
|
|
92
92
|
functionalitySelect: "",
|
|
93
93
|
functionalityInput: ""
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
|
-
|
|
97
|
-
!!t && !!n && n !== t && (
|
|
96
|
+
C(f, (n, t) => {
|
|
97
|
+
!!t && !!n && n !== t && (x(), r.value = []);
|
|
98
98
|
});
|
|
99
|
-
const [y, oe] =
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
const [y, oe] = T("functionalitySelect"), [z, le] = T("functionalityInput"), A = m(() => Array.from(r.value || [])), se = m(() => {
|
|
100
|
+
var t, e;
|
|
101
|
+
const n = A.value.join(" ");
|
|
102
|
+
return (e = (t = V == null ? void 0 : V.value) == null ? void 0 : t.filter((i) => !n.includes(i))) == null ? void 0 : e.sort((i, u) => i.localeCompare(u));
|
|
103
|
+
}), W = H((n) => {
|
|
104
|
+
h ? I("patch", {
|
|
105
|
+
id: q,
|
|
102
106
|
software: {
|
|
103
107
|
id: n.id,
|
|
104
108
|
functionalities: Array.from(r.value || []).filter(Boolean)
|
|
@@ -106,16 +110,16 @@ const Ve = { class: "dpi-project-process-step V3-typography" }, xe = { class: "s
|
|
|
106
110
|
}) : I("submit", {
|
|
107
111
|
id: n.id,
|
|
108
112
|
functionalities: Array.from(r.value || []).filter(Boolean)
|
|
109
|
-
}),
|
|
113
|
+
}), x(), J();
|
|
110
114
|
}), E = ie((n) => {
|
|
111
|
-
var e,
|
|
115
|
+
var e, i;
|
|
112
116
|
const t = n.functionalitySelect || n.functionalityInput;
|
|
113
|
-
t && t.trim().length > 0 && !((e = r.value) != null && e.includes(t)) && ((
|
|
117
|
+
t && t.trim().length > 0 && !((e = r.value) != null && e.includes(t)) && ((i = r.value) == null || i.push(t)), x();
|
|
114
118
|
});
|
|
115
|
-
|
|
119
|
+
C(y, (n) => {
|
|
116
120
|
n && n.trim().length > 0 && E();
|
|
117
121
|
});
|
|
118
|
-
function
|
|
122
|
+
function re(n) {
|
|
119
123
|
return [
|
|
120
124
|
...n,
|
|
121
125
|
{
|
|
@@ -127,85 +131,85 @@ const Ve = { class: "dpi-project-process-step V3-typography" }, xe = { class: "s
|
|
|
127
131
|
}
|
|
128
132
|
];
|
|
129
133
|
}
|
|
130
|
-
const { authToken:
|
|
131
|
-
return (n, t) => (
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
t[6] || (t[6] =
|
|
135
|
-
t[7] || (t[7] =
|
|
134
|
+
const { authToken: ae, username: ue } = ge(), ce = m(() => `https://form.typeform.com/to/r9b1mAZL#token=${ae.value}&account=${ue.value}`);
|
|
135
|
+
return (n, t) => (c(), d("div", xe, [
|
|
136
|
+
l("section", ze, [
|
|
137
|
+
h ? w("", !0) : (c(), d(B, { key: 0 }, [
|
|
138
|
+
t[6] || (t[6] = l("h5", null, "Wählen Sie eine bestehende Software", -1)),
|
|
139
|
+
t[7] || (t[7] = l("p", null, "Falls die Software bereits angelegt wurde, können Sie sie hier auswählen.", -1))
|
|
136
140
|
], 64)),
|
|
137
|
-
|
|
138
|
-
modelValue:
|
|
139
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) =>
|
|
140
|
-
},
|
|
141
|
+
a(we, F({
|
|
142
|
+
modelValue: o(f),
|
|
143
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => k(f) ? f.value = e : null)
|
|
144
|
+
}, o(X), {
|
|
141
145
|
"base-url": "https://twin.bydata.de/api/hub/search",
|
|
142
146
|
resource: "software",
|
|
143
|
-
label: "",
|
|
144
|
-
placeholder: "Software
|
|
147
|
+
label: h ? "Software auswählen" : "",
|
|
148
|
+
placeholder: "Wählen Sie eine Software.",
|
|
145
149
|
name: "software",
|
|
146
150
|
"setup-fn": (e) => {
|
|
147
|
-
var
|
|
151
|
+
var i, u, g, M, N, P;
|
|
148
152
|
return {
|
|
149
153
|
id: e == null ? void 0 : e.id,
|
|
150
|
-
name: ((
|
|
154
|
+
name: ((i = e == null ? void 0 : e.name) == null ? void 0 : i.de) || ((u = e == null ? void 0 : e.name) == null ? void 0 : u.en),
|
|
151
155
|
functionalities: (e == null ? void 0 : e.functionalities) || [],
|
|
152
|
-
unavailable:
|
|
156
|
+
unavailable: p.exclude.includes(e == null ? void 0 : e.id),
|
|
153
157
|
manufacturer: (M = (g = e == null ? void 0 : e.manufacturer) == null ? void 0 : g[0]) == null ? void 0 : M.label,
|
|
154
158
|
description: ((N = e == null ? void 0 : e.description) == null ? void 0 : N.de) || ((P = e == null ? void 0 : e.description) == null ? void 0 : P.en),
|
|
155
159
|
version: e == null ? void 0 : e.version
|
|
156
160
|
};
|
|
157
161
|
},
|
|
158
|
-
"post-process-fn":
|
|
159
|
-
onSelect:
|
|
162
|
+
"post-process-fn": re,
|
|
163
|
+
onSelect: te
|
|
160
164
|
}), {
|
|
161
|
-
option:
|
|
162
|
-
|
|
165
|
+
option: pe(({ option: e, active: i, selected: u, disabled: g }) => [
|
|
166
|
+
a(Ve, {
|
|
163
167
|
name: e.name,
|
|
164
168
|
manufacturer: e.manufacturer,
|
|
165
169
|
description: e.description,
|
|
166
|
-
active:
|
|
167
|
-
selected:
|
|
170
|
+
active: i,
|
|
171
|
+
selected: u,
|
|
168
172
|
"is-disabled": g
|
|
169
173
|
}, null, 8, ["name", "manufacturer", "description", "active", "selected", "is-disabled"])
|
|
170
174
|
]),
|
|
171
175
|
_: 1
|
|
172
|
-
}, 16, ["modelValue", "setup-fn"]),
|
|
173
|
-
|
|
174
|
-
t[8] || (t[8] =
|
|
175
|
-
t[9] || (t[9] =
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
href:
|
|
176
|
+
}, 16, ["modelValue", "label", "setup-fn"]),
|
|
177
|
+
h ? w("", !0) : (c(), d(B, { key: 1 }, [
|
|
178
|
+
t[8] || (t[8] = l("h5", null, "oder", -1)),
|
|
179
|
+
t[9] || (t[9] = l("p", null, " Sollte die verwendete Software noch nicht im Katalog verfügbar sein, können Sie die Anlage bei uns beantragen. Damit Sie die Dokumentation Ihres Digitalen Zwillings dennoch abschließen können, ordnen Sie dem Prozessschritt vorübergehend den Platzhalter-Datensatz „Software in Beantragung“ zu. Sobald die gewünschten Daten im Katalog verfügbar sind, können Sie diesen Platzhalter durch den tatsächlichen Software-Datensatz ersetzen. ", -1)),
|
|
180
|
+
l("div", Ae, [
|
|
181
|
+
l("a", {
|
|
182
|
+
href: ce.value,
|
|
179
183
|
target: "_blank"
|
|
180
184
|
}, [
|
|
181
|
-
|
|
185
|
+
a(b, {
|
|
182
186
|
"button-text": "Zur Softwarebeantragung",
|
|
183
187
|
size: "medium",
|
|
184
188
|
variant: "secondary"
|
|
185
189
|
})
|
|
186
|
-
], 8,
|
|
190
|
+
], 8, Ce)
|
|
187
191
|
])
|
|
188
192
|
], 64))
|
|
189
193
|
]),
|
|
190
|
-
|
|
191
|
-
t[10] || (t[10] =
|
|
192
|
-
t[11] || (t[11] =
|
|
193
|
-
|
|
194
|
-
(
|
|
195
|
-
key:
|
|
194
|
+
l("section", Be, [
|
|
195
|
+
t[10] || (t[10] = l("h5", null, " Wie haben Sie die Software verwendet? ", -1)),
|
|
196
|
+
t[11] || (t[11] = l("p", null, " Beschreiben Sie, wie Sie die angegebene Software verwendet haben. Wählen Sie hierzu die genutzten Funktionalitäten aus oder ergänzen Sie diese. ", -1)),
|
|
197
|
+
A.value.length > 0 ? (c(), d("div", _e, [
|
|
198
|
+
(c(!0), d(B, null, he(A.value, (e, i) => (c(), d("div", {
|
|
199
|
+
key: i,
|
|
196
200
|
class: "functionalities"
|
|
197
201
|
}, [
|
|
198
|
-
|
|
202
|
+
Se(l("input", F({
|
|
199
203
|
id: e,
|
|
200
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
204
|
+
"onUpdate:modelValue": t[1] || (t[1] = (u) => k(r) ? r.value = u : null),
|
|
201
205
|
hidden: "",
|
|
202
206
|
value: e,
|
|
203
207
|
name: "selectedFunctionalities",
|
|
204
208
|
type: "checkbox"
|
|
205
|
-
}, { ref_for: !0 },
|
|
206
|
-
[be,
|
|
209
|
+
}, { ref_for: !0 }, o(ee)), null, 16, De), [
|
|
210
|
+
[be, o(r)]
|
|
207
211
|
]),
|
|
208
|
-
|
|
212
|
+
a(Fe, {
|
|
209
213
|
as: "label",
|
|
210
214
|
for: e,
|
|
211
215
|
text: e,
|
|
@@ -221,66 +225,66 @@ const Ve = { class: "dpi-project-process-step V3-typography" }, xe = { class: "s
|
|
|
221
225
|
}, null, 8, ["for", "text", "data"])
|
|
222
226
|
]))), 128))
|
|
223
227
|
])) : w("", !0),
|
|
224
|
-
|
|
225
|
-
modelValue:
|
|
226
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) =>
|
|
227
|
-
options:
|
|
228
|
-
"error-message":
|
|
228
|
+
a(Ie, F({
|
|
229
|
+
modelValue: o(y),
|
|
230
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => k(y) ? y.value = e : null),
|
|
231
|
+
options: se.value,
|
|
232
|
+
"error-message": o(v).functionalitySelect,
|
|
229
233
|
label: "Funktionalitäten auswählen",
|
|
230
234
|
placeholder: "Wählen Sie eine Funktionalität.",
|
|
231
|
-
disabled: !
|
|
232
|
-
},
|
|
233
|
-
t[12] || (t[12] =
|
|
234
|
-
|
|
235
|
-
modelValue:
|
|
236
|
-
"onUpdate:modelValue": t[3] || (t[3] = (e) =>
|
|
237
|
-
"initial-hint-text": !!
|
|
238
|
-
error_message:
|
|
239
|
-
"show-error": !!
|
|
235
|
+
disabled: !S.value
|
|
236
|
+
}, o(oe)), null, 16, ["modelValue", "options", "error-message", "disabled"]),
|
|
237
|
+
t[12] || (t[12] = l("h5", null, " oder ", -1)),
|
|
238
|
+
a(ke, F({
|
|
239
|
+
modelValue: o(z),
|
|
240
|
+
"onUpdate:modelValue": t[3] || (t[3] = (e) => k(z) ? z.value = e : null),
|
|
241
|
+
"initial-hint-text": !!o(v).functionalityInput,
|
|
242
|
+
error_message: o(v).functionalityInput,
|
|
243
|
+
"show-error": !!o(v).functionalityInput,
|
|
240
244
|
"add-on-text": !1,
|
|
241
245
|
"date-picker": !1,
|
|
242
246
|
"info-icon": !1,
|
|
243
247
|
"show-end-icon": !1,
|
|
244
248
|
"pre-icon": !1,
|
|
245
|
-
"is-disabled": !
|
|
249
|
+
"is-disabled": !S.value,
|
|
246
250
|
label: "Funktionalitäten nennen",
|
|
247
|
-
placeholder: "Nennen Sie eine Funktionalität"
|
|
248
|
-
},
|
|
249
|
-
|
|
250
|
-
|
|
251
|
+
placeholder: "Nennen Sie eine Funktionalität."
|
|
252
|
+
}, o(le)), null, 16, ["modelValue", "initial-hint-text", "error_message", "show-error", "is-disabled"]),
|
|
253
|
+
l("div", Ue, [
|
|
254
|
+
a(b, {
|
|
251
255
|
"button-text": "Funktionalität hinzufügen",
|
|
252
256
|
size: "medium",
|
|
253
257
|
variant: "tertiary",
|
|
254
258
|
"icon-start": "plus",
|
|
255
|
-
disabled: !
|
|
256
|
-
onClick:
|
|
259
|
+
disabled: !S.value,
|
|
260
|
+
onClick: o(E)
|
|
257
261
|
}, null, 8, ["disabled", "onClick"])
|
|
258
262
|
])
|
|
259
263
|
]),
|
|
260
264
|
w("", !0),
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
265
|
+
l("section", Le, [
|
|
266
|
+
h ? (c(), d("div", Te, [
|
|
267
|
+
a(b, {
|
|
264
268
|
"button-text": "Abbrechen",
|
|
265
269
|
variant: "tertiary",
|
|
266
270
|
onClick: t[5] || (t[5] = (e) => I("close"))
|
|
267
271
|
}),
|
|
268
|
-
|
|
272
|
+
a(b, {
|
|
269
273
|
"button-text": "Speichern",
|
|
270
|
-
disabled: !
|
|
271
|
-
onClick:
|
|
274
|
+
disabled: !S.value || !L.value,
|
|
275
|
+
onClick: o(W)
|
|
272
276
|
}, null, 8, ["disabled", "onClick"])
|
|
273
|
-
])) : (
|
|
277
|
+
])) : (c(), ve(b, {
|
|
274
278
|
key: 1,
|
|
275
279
|
"icon-start": "PlusSquare",
|
|
276
280
|
"button-text": "Software hinzufügen",
|
|
277
|
-
disabled: !
|
|
278
|
-
onClick:
|
|
281
|
+
disabled: !S.value || !L.value,
|
|
282
|
+
onClick: o(W)
|
|
279
283
|
}, null, 8, ["disabled", "onClick"]))
|
|
280
284
|
])
|
|
281
285
|
]));
|
|
282
286
|
}
|
|
283
287
|
});
|
|
284
288
|
export {
|
|
285
|
-
|
|
289
|
+
Ye as default
|
|
286
290
|
};
|
|
@@ -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
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d23df924"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|