@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.
Files changed (41) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +1 -1
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue.js +1 -1
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue2.js +19 -19
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue.js +1 -1
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue2.js +24 -22
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +2 -2
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +35 -33
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +25 -21
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +2 -2
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +1 -1
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +2 -2
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +1 -1
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +2 -2
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +13 -10
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +3 -3
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +16 -15
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +2 -2
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +34 -32
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +56 -43
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +1 -1
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +56 -54
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +372 -325
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js +2 -2
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue2.js +71 -68
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepBase.vue.js +45 -36
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/RichOption.vue.js +2 -2
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/RichOption.vue2.js +33 -23
  32. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
  33. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +137 -133
  34. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +2 -2
  35. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +62 -59
  36. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +3 -3
  37. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +250 -241
  38. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +36 -36
  39. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +1 -1
  40. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +61 -57
  41. package/package.json +1 -1
@@ -1,23 +1,23 @@
1
- import { defineComponent as ce, mergeModels as W, useModel as de, unref as i, watch as z, ref as fe, computed as h, createElementBlock as c, openBlock as a, createElementVNode as o, createCommentVNode as w, createVNode as u, Fragment as A, mergeProps as k, isRef as F, withCtx as me, renderList as pe, withDirectives as he, vModelCheckbox as be, createBlock as Se } from "vue";
2
- import { toTypedSchema as R } 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 ve } from "vee-validate";
4
- import * as l from "zod";
5
- import { useTwinbyUser as ye } from "../../../composables/useTwinbyUser.js";
6
- import ge from "../Autocomplete/AutocompleteVocab.vue.js";
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 we from "../Chip.vue.js";
8
+ import Fe from "../Chip.vue.js";
9
9
  import ke from "../InputField.vue.js";
10
- import Fe from "../ListBox/Listbox.vue.js";
11
- import Ie from "./RichOption.vue.js";
12
- const Ve = { class: "dpi-project-process-step V3-typography" }, xe = { class: "step-section" }, ze = { class: "step-section-actions" }, Ae = ["href"], Ce = { class: "step-section" }, Be = {
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
- }, _e = ["id", "value"], De = { class: "step-section-actions" }, Ue = { class: "step-section-actions" }, Le = {
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
- }, j = "Wählen Sie eine Funktionalität aus oder nennen Sie eine Funktionalität ein.", Qe = /* @__PURE__ */ ce({
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__ */ W({
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__ */ W(["submit", "patch", "close"], ["update:modelValue"]),
31
- setup(C, { emit: O }) {
32
- const m = C, I = O, G = de(C, "modelValue"), S = !!m.modelValue, $ = i(m.modelValue) || "", q = l.object({
33
- lat: l.string().min(1, "Geben Sie einen Wert für die Breite ein"),
34
- lng: l.string().min(1, "Geben Sie einen Wert für die Länge ein")
35
- }), K = l.array(q), Q = l.object({
36
- id: l.string(),
37
- functionalities: l.array(l.string()).min(1),
38
- locations: K
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: B,
41
- handleSubmit: Y,
42
- resetForm: H,
43
- errors: Te
40
+ defineField: D,
41
+ handleSubmit: H,
42
+ resetForm: J,
43
+ errors: We
44
44
  } = Z({
45
- validationSchema: R(Q),
45
+ validationSchema: j(Y),
46
46
  initialValues: {
47
- id: m.modelValue || "",
48
- functionalities: m.functionalities || [],
47
+ id: p.modelValue || "",
48
+ functionalities: p.functionalities || [],
49
49
  locations: []
50
50
  },
51
51
  name: "softwareForm"
52
- }), [d, J] = B("id"), [r, X] = B("functionalities"), {
52
+ }), [f, X] = D("id"), [r, ee] = D("functionalities"), {
53
53
  remove: Ee,
54
54
  push: Me,
55
55
  fields: Ne
56
- } = ve("locations");
57
- z(d, (n) => {
58
- G.value = n || "";
56
+ } = ye("locations");
57
+ C(f, (n) => {
58
+ $.value = n || "";
59
59
  }, { immediate: !0 });
60
- const _ = fe(null);
61
- function ee(n) {
62
- _.value = n;
60
+ const U = me(null);
61
+ function te(n) {
62
+ U.value = n;
63
63
  }
64
- const p = h(() => !!d.value), D = h(() => {
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
- }), te = h(() => {
67
+ }), V = m(() => {
68
68
  var n;
69
- return ((n = _.value) == null ? void 0 : n.functionalities) ?? [];
70
- }), ne = l.object({
71
- functionalitySelect: l.string().optional(),
72
- functionalityInput: l.string().optional()
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, s = n.functionalityInput && n.functionalityInput.trim().length > 0;
75
- !e && !s && (t.addIssue({
76
- code: l.ZodIssueCode.custom,
77
- message: j,
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: l.ZodIssueCode.custom,
81
- message: j,
80
+ code: s.ZodIssueCode.custom,
81
+ message: O,
82
82
  path: ["functionalityInput"]
83
83
  }));
84
84
  }), {
85
- defineField: U,
85
+ defineField: T,
86
86
  handleSubmit: ie,
87
87
  errors: v,
88
- resetForm: V
88
+ resetForm: x
89
89
  } = Z({
90
- validationSchema: R(ne),
90
+ validationSchema: j(ne),
91
91
  initialValues: {
92
92
  functionalitySelect: "",
93
93
  functionalityInput: ""
94
94
  }
95
95
  });
96
- z(d, (n, t) => {
97
- !!t && !!n && n !== t && (V(), r.value = []);
96
+ C(f, (n, t) => {
97
+ !!t && !!n && n !== t && (x(), r.value = []);
98
98
  });
99
- const [y, oe] = U("functionalitySelect"), [x, le] = U("functionalityInput"), L = h(() => Array.from(r.value || [])), T = Y((n) => {
100
- S ? I("patch", {
101
- id: $,
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
- }), V(), H();
113
+ }), x(), J();
110
114
  }), E = ie((n) => {
111
- var e, s;
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)) && ((s = r.value) == null || s.push(t)), V();
117
+ t && t.trim().length > 0 && !((e = r.value) != null && e.includes(t)) && ((i = r.value) == null || i.push(t)), x();
114
118
  });
115
- z(y, (n) => {
119
+ C(y, (n) => {
116
120
  n && n.trim().length > 0 && E();
117
121
  });
118
- function se(n) {
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: re, username: ue } = ye(), ae = h(() => `https://form.typeform.com/to/r9b1mAZL#token=${re.value}&account=${ue.value}`);
131
- return (n, t) => (a(), c("div", Ve, [
132
- o("section", xe, [
133
- S ? w("", !0) : (a(), c(A, { key: 0 }, [
134
- t[6] || (t[6] = o("h5", null, "Wählen Sie eine bestehende Software", -1)),
135
- t[7] || (t[7] = o("p", null, "Falls die Software bereits angelegt wurde, können Sie sie hier auswählen.", -1))
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
- u(ge, k({
138
- modelValue: i(d),
139
- "onUpdate:modelValue": t[0] || (t[0] = (e) => F(d) ? d.value = e : null)
140
- }, i(J), {
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 s, f, g, M, N, P;
151
+ var i, u, g, M, N, P;
148
152
  return {
149
153
  id: e == null ? void 0 : e.id,
150
- name: ((s = e == null ? void 0 : e.name) == null ? void 0 : s.de) || ((f = e == null ? void 0 : e.name) == null ? void 0 : f.en),
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: m.exclude.includes(e == null ? void 0 : e.id),
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": se,
159
- onSelect: ee
162
+ "post-process-fn": re,
163
+ onSelect: te
160
164
  }), {
161
- option: me(({ option: e, active: s, selected: f, disabled: g }) => [
162
- u(Ie, {
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: s,
167
- selected: f,
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
- S ? w("", !0) : (a(), c(A, { key: 1 }, [
174
- t[8] || (t[8] = o("h5", null, "oder", -1)),
175
- t[9] || (t[9] = o("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)),
176
- o("div", ze, [
177
- o("a", {
178
- href: ae.value,
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
- u(b, {
185
+ a(b, {
182
186
  "button-text": "Zur Softwarebeantragung",
183
187
  size: "medium",
184
188
  variant: "secondary"
185
189
  })
186
- ], 8, Ae)
190
+ ], 8, Ce)
187
191
  ])
188
192
  ], 64))
189
193
  ]),
190
- o("section", Ce, [
191
- t[10] || (t[10] = o("h5", null, " Wie haben Sie die Software verwendet? ", -1)),
192
- t[11] || (t[11] = o("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)),
193
- L.value.length > 0 ? (a(), c("div", Be, [
194
- (a(!0), c(A, null, pe(L.value, (e, s) => (a(), c("div", {
195
- key: s,
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
- he(o("input", k({
202
+ Se(l("input", F({
199
203
  id: e,
200
- "onUpdate:modelValue": t[1] || (t[1] = (f) => F(r) ? r.value = f : null),
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 }, i(X)), null, 16, _e), [
206
- [be, i(r)]
209
+ }, { ref_for: !0 }, o(ee)), null, 16, De), [
210
+ [be, o(r)]
207
211
  ]),
208
- u(we, {
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
- u(Fe, k({
225
- modelValue: i(y),
226
- "onUpdate:modelValue": t[2] || (t[2] = (e) => F(y) ? y.value = e : null),
227
- options: te.value,
228
- "error-message": i(v).functionalitySelect,
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: !p.value
232
- }, i(oe)), null, 16, ["modelValue", "options", "error-message", "disabled"]),
233
- t[12] || (t[12] = o("h5", null, " oder ", -1)),
234
- u(ke, k({
235
- modelValue: i(x),
236
- "onUpdate:modelValue": t[3] || (t[3] = (e) => F(x) ? x.value = e : null),
237
- "initial-hint-text": !!i(v).functionalityInput,
238
- error_message: i(v).functionalityInput,
239
- "show-error": !!i(v).functionalityInput,
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": !p.value,
249
+ "is-disabled": !S.value,
246
250
  label: "Funktionalitäten nennen",
247
- placeholder: "Nennen Sie eine Funktionalität"
248
- }, i(le)), null, 16, ["modelValue", "initial-hint-text", "error_message", "show-error", "is-disabled"]),
249
- o("div", De, [
250
- u(b, {
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: !p.value,
256
- onClick: i(E)
259
+ disabled: !S.value,
260
+ onClick: o(E)
257
261
  }, null, 8, ["disabled", "onClick"])
258
262
  ])
259
263
  ]),
260
264
  w("", !0),
261
- o("section", Ue, [
262
- S ? (a(), c("div", Le, [
263
- u(b, {
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
- u(b, {
272
+ a(b, {
269
273
  "button-text": "Speichern",
270
- disabled: !p.value || !D.value,
271
- onClick: i(T)
274
+ disabled: !S.value || !L.value,
275
+ onClick: o(W)
272
276
  }, null, 8, ["disabled", "onClick"])
273
- ])) : (a(), Se(b, {
277
+ ])) : (c(), ve(b, {
274
278
  key: 1,
275
279
  "icon-start": "PlusSquare",
276
280
  "button-text": "Software hinzufügen",
277
- disabled: !p.value || !D.value,
278
- onClick: i(T)
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
- Qe as default
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 e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8bdca471"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d23df924"]]);
5
5
  export {
6
- e as default
6
+ a as default
7
7
  };