@piveau/dpi 0.2.0-alpha.47 → 0.2.0-alpha.49
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/Organisation.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue2.js +64 -49
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +38 -30
- 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 +59 -55
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +129 -98
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +148 -135
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js +5 -5
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +317 -296
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +77 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +58 -56
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +97 -90
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +35 -35
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +86 -86
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js +7 -10
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +9 -8
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +2 -2
- 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 +55 -50
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue.js +8 -8
- 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 +92 -91
- 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 +49 -48
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +122 -117
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsModal.vue.js +48 -48
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +289 -293
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +32 -30
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +46 -29
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +264 -221
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +41 -35
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +63 -65
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +36 -35
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +30 -29
- package/dist/packages/dpi/src/data-provider-interface/components/ContactPage.vue.js +121 -108
- package/dist/packages/dpi/src/data-provider-interface/components/DiscoverabilityPage.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +102 -100
- package/dist/packages/dpi/src/data-provider-interface/components/DistributionSimplePage.vue.js +657 -600
- package/dist/packages/dpi/src/data-provider-interface/components/HVDPage.vue.js +41 -42
- package/dist/packages/dpi/src/data-provider-interface/components/PublisherPage.vue.js +161 -130
- package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js +272 -239
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +94 -82
- package/dist/packages/dpi/src/data-provider-interface/components/TempResPage.vue.js +81 -81
- package/dist/packages/dpi/src/data-provider-interface/components/TempResPageInModal.vue.js +138 -141
- package/dist/packages/dpi/src/data-provider-interface/components/TitelPage.vue.js +4 -4
- package/dist/packages/dpi/src/data-provider-interface/components/VisibilityPage.vue.js +4 -3
- package/dist/packages/dpi/src/data-provider-interface/components/dpiV3Description.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +255 -242
- package/dist/packages/dpi/src/data-provider-interface/composables/useOrganizationInfo.js +48 -0
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +80 -84
- package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/store/modules/authStore.js +1 -3
- package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +226 -250
- package/package.json +2 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as en, mergeModels as
|
|
1
|
+
import { defineComponent as en, mergeModels as ce, useModel as nn, unref as l, watch as N, ref as F, computed as b, createElementBlock as m, openBlock as d, createElementVNode as i, createCommentVNode as z, createVNode as s, Fragment as w, mergeProps as E, isRef as Z, withCtx as h, createTextVNode as tn, renderList as B, createBlock as S, withDirectives as me, vModelCheckbox as ln, vShow as on } from "vue";
|
|
2
2
|
import { PhLightbulb as sn } from "@phosphor-icons/vue";
|
|
3
|
-
import { toTypedSchema as
|
|
4
|
-
import { useForm as
|
|
3
|
+
import { toTypedSchema as pe } 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";
|
|
4
|
+
import { useForm as fe, useFieldArray as P } from "vee-validate";
|
|
5
5
|
import * as r from "zod";
|
|
6
|
-
import { generateIsRequiredMsg as g, generateIsInvalidMsg as
|
|
6
|
+
import { generateIsRequiredMsg as g, generateIsInvalidMsg as he } from "../../../../utils/twinbyUtils.js";
|
|
7
7
|
import { useTwinbyUser as rn } from "../../../composables/useTwinbyUser.js";
|
|
8
8
|
import an from "../Autocomplete/AutocompleteVocab.vue.js";
|
|
9
9
|
import p from "../ButtonV3.vue.js";
|
|
10
10
|
import un from "../Card.vue.js";
|
|
11
11
|
import dn from "../Chip.vue.js";
|
|
12
12
|
import V from "../InputField/InputFieldVeeValidate.vue.js";
|
|
13
|
-
import
|
|
13
|
+
import ve from "../ListBox/ListboxVeeValidate.vue.js";
|
|
14
14
|
import cn from "../TextArea/TextAreaVeeValidate.vue.js";
|
|
15
15
|
import mn from "../TextAreaV3.vue.js";
|
|
16
16
|
import pn from "./FunctionalityForm.vue.js";
|
|
@@ -27,7 +27,7 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
27
27
|
class: "button-row"
|
|
28
28
|
}, A = 500, ot = /* @__PURE__ */ en({
|
|
29
29
|
__name: "HardwareForm",
|
|
30
|
-
props: /* @__PURE__ */
|
|
30
|
+
props: /* @__PURE__ */ ce({
|
|
31
31
|
modelValue: {},
|
|
32
32
|
initializeWith: {},
|
|
33
33
|
exclude: { default: () => [] }
|
|
@@ -37,31 +37,31 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
37
37
|
},
|
|
38
38
|
modelModifiers: {}
|
|
39
39
|
}),
|
|
40
|
-
emits: /* @__PURE__ */
|
|
41
|
-
setup(O, { emit:
|
|
42
|
-
var
|
|
43
|
-
const c = O, W =
|
|
40
|
+
emits: /* @__PURE__ */ ce(["submit", "patch", "close"], ["update:modelValue"]),
|
|
41
|
+
setup(O, { emit: be }) {
|
|
42
|
+
var X, Y, ee, ne, te, ie, le, oe, se, re;
|
|
43
|
+
const c = O, W = be, we = nn(O, "modelValue"), H = !!c.modelValue, ge = l(c.modelValue) || "", ke = r.object({
|
|
44
44
|
lat: r.string().min(1, g("Latitude / Breite")),
|
|
45
45
|
lng: r.string().min(1, g("Longitude / Länge"))
|
|
46
|
-
}),
|
|
46
|
+
}), ye = r.array(ke), ze = r.object({
|
|
47
47
|
name: r.string().min(1, g("Name")).default(""),
|
|
48
|
-
url: r.string().min(1, g("URL")).url(
|
|
48
|
+
url: r.string().min(1, g("URL")).url(he("URL")).default(""),
|
|
49
49
|
description: r.string().default("")
|
|
50
50
|
});
|
|
51
51
|
function T(t) {
|
|
52
52
|
return Array.isArray(t) ? t : t != null ? [t] : [];
|
|
53
53
|
}
|
|
54
|
-
const
|
|
54
|
+
const Se = r.object({
|
|
55
55
|
id: r.string(),
|
|
56
56
|
description: r.string().optional(),
|
|
57
57
|
functionalities: r.array(r.string()).min(1),
|
|
58
58
|
forProperty: r.array(r.string()),
|
|
59
|
-
locations:
|
|
60
|
-
depictions: r.array(r.string().min(1, g("URL")).url(
|
|
61
|
-
references: r.array(
|
|
59
|
+
locations: ye,
|
|
60
|
+
depictions: r.array(r.string().min(1, g("URL")).url(he("URL"))),
|
|
61
|
+
references: r.array(ze),
|
|
62
62
|
isHostedBy: r.array(r.string().min(1, g("Host-Plattform"))),
|
|
63
63
|
hosts: r.array(r.string())
|
|
64
|
-
}),
|
|
64
|
+
}), Ve = [
|
|
65
65
|
...[
|
|
66
66
|
"Mast",
|
|
67
67
|
"Ampel",
|
|
@@ -77,39 +77,39 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
77
77
|
"Grünfläche"
|
|
78
78
|
].sort((t, n) => t.localeCompare(n)),
|
|
79
79
|
"Sonstiges"
|
|
80
|
-
], v =
|
|
81
|
-
validationSchema:
|
|
80
|
+
], v = fe({
|
|
81
|
+
validationSchema: pe(Se),
|
|
82
82
|
initialValues: {
|
|
83
83
|
id: c.modelValue || "",
|
|
84
|
-
description: ((
|
|
85
|
-
functionalities: ((
|
|
86
|
-
forProperty: ((
|
|
87
|
-
locations: ((
|
|
88
|
-
depictions: ((
|
|
89
|
-
references: ((
|
|
90
|
-
isHostedBy: T((
|
|
91
|
-
hosts: T((
|
|
84
|
+
description: ((X = c.initializeWith) == null ? void 0 : X.description) || "",
|
|
85
|
+
functionalities: ((Y = c.initializeWith) == null ? void 0 : Y.functionalities) || [],
|
|
86
|
+
forProperty: ((ee = c.initializeWith) == null ? void 0 : ee.forProperty) || [],
|
|
87
|
+
locations: ((ne = c.initializeWith) == null ? void 0 : ne.locations) || [],
|
|
88
|
+
depictions: ((te = c.initializeWith) == null ? void 0 : te.depictions) || [],
|
|
89
|
+
references: ((ie = c.initializeWith) == null ? void 0 : ie.references) || [],
|
|
90
|
+
isHostedBy: T((le = c.initializeWith) == null ? void 0 : le.isHostedBy),
|
|
91
|
+
hosts: T((oe = c.initializeWith) == null ? void 0 : oe.hosts)
|
|
92
92
|
},
|
|
93
93
|
name: "hardwareForm"
|
|
94
94
|
}), {
|
|
95
95
|
defineField: U,
|
|
96
|
-
handleSubmit:
|
|
97
|
-
resetForm:
|
|
98
|
-
} = v, [k,
|
|
99
|
-
remove:
|
|
100
|
-
push:
|
|
101
|
-
fields:
|
|
96
|
+
handleSubmit: He,
|
|
97
|
+
resetForm: Be
|
|
98
|
+
} = v, [k, Pe] = U("id"), [y] = U("functionalities"), [f, xe] = U("forProperty"), [I, Ue] = U("description"), {
|
|
99
|
+
remove: Ie,
|
|
100
|
+
push: Ce,
|
|
101
|
+
fields: $e
|
|
102
102
|
} = P("locations"), {
|
|
103
|
-
remove:
|
|
104
|
-
push:
|
|
105
|
-
fields:
|
|
103
|
+
remove: Le,
|
|
104
|
+
push: De,
|
|
105
|
+
fields: Fe
|
|
106
106
|
} = P("depictions"), {
|
|
107
|
-
remove:
|
|
108
|
-
push:
|
|
109
|
-
fields:
|
|
107
|
+
remove: Ze,
|
|
108
|
+
push: Ae,
|
|
109
|
+
fields: We
|
|
110
110
|
} = P("references"), {
|
|
111
|
-
remove:
|
|
112
|
-
push:
|
|
111
|
+
remove: Re,
|
|
112
|
+
push: _e,
|
|
113
113
|
fields: j
|
|
114
114
|
} = P("isHostedBy"), {
|
|
115
115
|
remove: Rn,
|
|
@@ -117,10 +117,10 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
117
117
|
fields: Mn
|
|
118
118
|
} = P("hosts");
|
|
119
119
|
N(k, (t) => {
|
|
120
|
-
|
|
120
|
+
we.value = t || "";
|
|
121
121
|
}, { immediate: !0 });
|
|
122
122
|
const R = F(null);
|
|
123
|
-
function
|
|
123
|
+
function Me(t) {
|
|
124
124
|
const n = {
|
|
125
125
|
id: String(t.id || ""),
|
|
126
126
|
name: typeof t.name == "string" ? t.name : "",
|
|
@@ -136,40 +136,40 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
136
136
|
const a = b(() => !!k.value), G = b(() => {
|
|
137
137
|
var t;
|
|
138
138
|
return (((t = y.value) == null ? void 0 : t.length) ?? 0) > 0;
|
|
139
|
-
}),
|
|
139
|
+
}), Ne = b(() => {
|
|
140
140
|
var t;
|
|
141
141
|
return ((t = R.value) == null ? void 0 : t.functionalities) ?? [];
|
|
142
|
-
}),
|
|
142
|
+
}), Ee = b(() => {
|
|
143
143
|
var t;
|
|
144
144
|
return [...((t = R.value) == null ? void 0 : t.forProperty) || []].sort((n, e) => n.localeCompare(e)) ?? [];
|
|
145
|
-
}),
|
|
145
|
+
}), Oe = g("Zweck"), Te = r.object({
|
|
146
146
|
zweckSelect: r.string().optional(),
|
|
147
147
|
zweckInput: r.string().optional()
|
|
148
148
|
}).superRefine((t, n) => {
|
|
149
149
|
const e = t.zweckSelect && t.zweckSelect.trim().length > 0, o = t.zweckInput && t.zweckInput.trim().length > 0;
|
|
150
150
|
!e && !o && n.addIssue({
|
|
151
151
|
code: r.ZodIssueCode.custom,
|
|
152
|
-
message:
|
|
152
|
+
message: Oe,
|
|
153
153
|
path: ["zweckInput"]
|
|
154
154
|
});
|
|
155
|
-
}), _ =
|
|
156
|
-
validationSchema:
|
|
155
|
+
}), _ = fe({
|
|
156
|
+
validationSchema: pe(Te),
|
|
157
157
|
initialValues: {
|
|
158
158
|
zweckSelect: "",
|
|
159
159
|
zweckInput: ""
|
|
160
160
|
}
|
|
161
161
|
}), {
|
|
162
|
-
handleSubmit:
|
|
162
|
+
handleSubmit: je,
|
|
163
163
|
resetForm: C
|
|
164
164
|
} = _;
|
|
165
165
|
N(k, (t, n) => {
|
|
166
166
|
!!n && !!t && t !== n && (y.value = [], C(), f.value = []);
|
|
167
167
|
});
|
|
168
|
-
const M = F(""), K = F(""), $ = b(() => f.value && f.value.length > 0), L = F(!!((
|
|
169
|
-
function
|
|
168
|
+
const M = F(""), K = F(""), $ = b(() => f.value && f.value.length > 0), L = F(!!((re = (se = c.initializeWith) == null ? void 0 : se.forProperty) != null && re.length));
|
|
169
|
+
function Ge() {
|
|
170
170
|
f.value = [];
|
|
171
171
|
}
|
|
172
|
-
const q =
|
|
172
|
+
const q = He((t) => {
|
|
173
173
|
const n = {
|
|
174
174
|
id: t.id,
|
|
175
175
|
description: t.description || "",
|
|
@@ -186,11 +186,11 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
186
186
|
hosts: (t.hosts || []).filter(Boolean)
|
|
187
187
|
};
|
|
188
188
|
H ? W("patch", {
|
|
189
|
-
id:
|
|
189
|
+
id: ge,
|
|
190
190
|
hardware: n
|
|
191
|
-
}) : W("submit", n), C(),
|
|
191
|
+
}) : W("submit", n), C(), Be();
|
|
192
192
|
});
|
|
193
|
-
function
|
|
193
|
+
function Ke(t) {
|
|
194
194
|
return [
|
|
195
195
|
...t,
|
|
196
196
|
{
|
|
@@ -202,24 +202,24 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
202
202
|
}
|
|
203
203
|
];
|
|
204
204
|
}
|
|
205
|
-
const Q =
|
|
205
|
+
const Q = je((t) => {
|
|
206
206
|
var e, o;
|
|
207
207
|
const n = t.zweckSelect || t.zweckInput;
|
|
208
208
|
n && n.trim().length > 0 && !((e = f.value) != null && e.includes(n)) && ((o = f.value) == null || o.push(n)), C();
|
|
209
209
|
});
|
|
210
|
-
function
|
|
210
|
+
function qe() {
|
|
211
211
|
C(), L.value = !1;
|
|
212
212
|
}
|
|
213
213
|
N(M, () => Q());
|
|
214
|
-
const
|
|
214
|
+
const Qe = b(() => {
|
|
215
215
|
var t;
|
|
216
216
|
return ((t = I.value) == null ? void 0 : t.length) || 0;
|
|
217
217
|
});
|
|
218
|
-
function
|
|
218
|
+
function Je(t) {
|
|
219
219
|
var n;
|
|
220
220
|
return ((n = t.value.description) == null ? void 0 : n.length) ?? 0;
|
|
221
221
|
}
|
|
222
|
-
const { authToken:
|
|
222
|
+
const { authToken: J, username: Xe } = rn(), Ye = b(() => `https://form.typeform.com/to/ayL37uiV#token=${J.value}&account=${Xe.value}`);
|
|
223
223
|
return (t, n) => (d(), m("div", hn, [
|
|
224
224
|
i("section", vn, [
|
|
225
225
|
H ? z("", !0) : (d(), m(w, { key: 0 }, [
|
|
@@ -230,26 +230,27 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
230
230
|
modelValue: l(k),
|
|
231
231
|
"onUpdate:modelValue": n[0] || (n[0] = (e) => Z(k) ? k.value = e : null),
|
|
232
232
|
label: H ? "Hardware auswählen" : ""
|
|
233
|
-
}, l(
|
|
233
|
+
}, l(Pe), {
|
|
234
234
|
"base-url": "https://twin.bydata.de/api/hub/search",
|
|
235
235
|
resource: "hardware",
|
|
236
236
|
placeholder: "Wählen Sie eine Hardware.",
|
|
237
237
|
name: "hardware",
|
|
238
238
|
"setup-fn": (e) => {
|
|
239
|
-
var o, u, D,
|
|
239
|
+
var o, u, D, ae, ue, de;
|
|
240
240
|
return {
|
|
241
241
|
id: e == null ? void 0 : e.id,
|
|
242
242
|
name: ((o = e == null ? void 0 : e.name) == null ? void 0 : o.de) || ((u = e == null ? void 0 : e.name) == null ? void 0 : u.en),
|
|
243
243
|
functionalities: (e == null ? void 0 : e.functionalities) || [],
|
|
244
244
|
forProperties: (e == null ? void 0 : e.measured_actuated_properties) || [],
|
|
245
245
|
unavailable: c.exclude.includes(e == null ? void 0 : e.id),
|
|
246
|
-
manufacturer: (
|
|
247
|
-
description: ((
|
|
246
|
+
manufacturer: (ae = (D = e == null ? void 0 : e.manufacturer) == null ? void 0 : D[0]) == null ? void 0 : ae.label,
|
|
247
|
+
description: ((ue = e == null ? void 0 : e.description) == null ? void 0 : ue.de) || ((de = e == null ? void 0 : e.description) == null ? void 0 : de.en),
|
|
248
248
|
version: e == null ? void 0 : e.version
|
|
249
249
|
};
|
|
250
250
|
},
|
|
251
|
-
"post-process-fn":
|
|
252
|
-
|
|
251
|
+
"post-process-fn": Ke,
|
|
252
|
+
"auth-token": l(J),
|
|
253
|
+
onSelect: Me
|
|
253
254
|
}), {
|
|
254
255
|
option: h(({ option: e, active: o, selected: u, disabled: D }) => [
|
|
255
256
|
s(fn, {
|
|
@@ -262,7 +263,7 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
262
263
|
}, null, 8, ["name", "manufacturer", "description", "active", "selected", "disabled"])
|
|
263
264
|
]),
|
|
264
265
|
_: 1
|
|
265
|
-
}, 16, ["modelValue", "label", "setup-fn"]),
|
|
266
|
+
}, 16, ["modelValue", "label", "setup-fn", "auth-token"]),
|
|
266
267
|
H ? z("", !0) : (d(), m(w, { key: 1 }, [
|
|
267
268
|
n[15] || (n[15] = i("h5", null, "oder", -1)),
|
|
268
269
|
n[16] || (n[16] = i("p", null, " Sollte die verwendete Hardware 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 „Hardware in Beantragung“ zu. Sobald die gewünschten Daten im Katalog verfügbar sind, können Sie diesen Platzhalter durch den tatsächlichen Hardware-Datensatz ersetzen. ", -1)),
|
|
@@ -286,7 +287,7 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
286
287
|
s(pn, {
|
|
287
288
|
modelValue: l(y),
|
|
288
289
|
"onUpdate:modelValue": n[1] || (n[1] = (e) => Z(y) ? y.value = e : null),
|
|
289
|
-
options:
|
|
290
|
+
options: Ne.value,
|
|
290
291
|
disabled: !a.value
|
|
291
292
|
}, null, 8, ["modelValue", "options", "disabled"])
|
|
292
293
|
]),
|
|
@@ -299,11 +300,11 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
299
300
|
label: "",
|
|
300
301
|
placeholder: "Beschreiben Sie in ein paar Sätzen, wie Sie die Hardware eingesetzt haben.",
|
|
301
302
|
"is-disabled": !a.value
|
|
302
|
-
}, l(
|
|
303
|
+
}, l(Ue), {
|
|
303
304
|
max: A,
|
|
304
305
|
validation: "required|length:0,500",
|
|
305
306
|
hint: "true",
|
|
306
|
-
"hint-message": `${
|
|
307
|
+
"hint-message": `${Qe.value} von ${A} Zeichen`,
|
|
307
308
|
"count-hint": !0
|
|
308
309
|
}), null, 16, ["modelValue", "is-disabled", "hint-message"]),
|
|
309
310
|
s(un, { variant: "default" }, {
|
|
@@ -331,14 +332,14 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
331
332
|
n[23] || (n[23] = i("p", null, "Falls die von Ihnen verwendete Hardware Sensoren oder Aktuatoren sind, geben Sie hier die Plattform oder physische Struktur an, welche diese hostet (z.B. Wetterstation, Lichtmast).", -1)),
|
|
332
333
|
(d(!0), m(w, null, B(l(j), (e, o) => (d(), S(x, {
|
|
333
334
|
key: e.key,
|
|
334
|
-
onDelete: (u) => l(
|
|
335
|
+
onDelete: (u) => l(Re)(o)
|
|
335
336
|
}, {
|
|
336
337
|
default: h(() => [
|
|
337
|
-
s(
|
|
338
|
+
s(ve, {
|
|
338
339
|
modelValue: e.value,
|
|
339
340
|
"onUpdate:modelValue": (u) => e.value = u,
|
|
340
341
|
name: `isHostedBy[${o}]`,
|
|
341
|
-
options:
|
|
342
|
+
options: Ve,
|
|
342
343
|
label: "Host-Plattform",
|
|
343
344
|
placeholder: "Wählen Sie eine Host-Plattform.",
|
|
344
345
|
disabled: !a.value,
|
|
@@ -354,7 +355,7 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
354
355
|
variant: "tertiary",
|
|
355
356
|
"icon-start": "plus",
|
|
356
357
|
disabled: !a.value,
|
|
357
|
-
onClick: n[3] || (n[3] = (e) => a.value && l(
|
|
358
|
+
onClick: n[3] || (n[3] = (e) => a.value && l(_e)(""))
|
|
358
359
|
}, null, 8, ["disabled"])
|
|
359
360
|
])) : z("", !0)
|
|
360
361
|
]),
|
|
@@ -367,14 +368,14 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
367
368
|
key: `zweck-${o}`,
|
|
368
369
|
class: "functionalities"
|
|
369
370
|
}, [
|
|
370
|
-
|
|
371
|
+
me(i("input", E({
|
|
371
372
|
id: `zweck-${e}`,
|
|
372
373
|
"onUpdate:modelValue": n[5] || (n[5] = (u) => Z(f) ? f.value = u : null),
|
|
373
374
|
hidden: "",
|
|
374
375
|
value: e,
|
|
375
376
|
name: "selectedForProperties",
|
|
376
377
|
type: "checkbox"
|
|
377
|
-
}, { ref_for: !0 }, l(
|
|
378
|
+
}, { ref_for: !0 }, l(xe)), null, 16, Bn), [
|
|
378
379
|
[ln, l(f)]
|
|
379
380
|
]),
|
|
380
381
|
s(dn, {
|
|
@@ -393,7 +394,7 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
393
394
|
}, null, 8, ["for", "text", "data"])
|
|
394
395
|
]))), 128))
|
|
395
396
|
])) : z("", !0),
|
|
396
|
-
|
|
397
|
+
me(s(x, { onDelete: Ge }, {
|
|
397
398
|
actions: h(() => [
|
|
398
399
|
i("div", Pn, [
|
|
399
400
|
i("div", xn, [
|
|
@@ -412,17 +413,17 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
412
413
|
size: "small",
|
|
413
414
|
variant: "tertiary",
|
|
414
415
|
"icon-start": "trash",
|
|
415
|
-
onClick:
|
|
416
|
+
onClick: qe
|
|
416
417
|
})
|
|
417
418
|
])
|
|
418
419
|
])
|
|
419
420
|
]),
|
|
420
421
|
default: h(() => [
|
|
421
|
-
s(
|
|
422
|
+
s(ve, {
|
|
422
423
|
modelValue: M.value,
|
|
423
424
|
"onUpdate:modelValue": n[6] || (n[6] = (e) => M.value = e),
|
|
424
425
|
name: "zweckSelect",
|
|
425
|
-
options:
|
|
426
|
+
options: Ee.value,
|
|
426
427
|
label: "Zweck auswählen",
|
|
427
428
|
placeholder: "Wählen Sie einen Zweck.",
|
|
428
429
|
disabled: !a.value || $.value,
|
|
@@ -465,9 +466,9 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
465
466
|
i("section", Cn, [
|
|
466
467
|
n[29] || (n[29] = i("h5", null, "Standort (optional)", -1)),
|
|
467
468
|
n[30] || (n[30] = i("p", null, "Geben Sie hier die Koordinaten an, wo die von Ihnen verwendete Hardware verbaut wurde.", -1)),
|
|
468
|
-
(d(!0), m(w, null, B(l(
|
|
469
|
+
(d(!0), m(w, null, B(l($e), (e, o) => (d(), S(x, {
|
|
469
470
|
key: e.key,
|
|
470
|
-
onDelete: (u) => l(
|
|
471
|
+
onDelete: (u) => l(Ie)(o)
|
|
471
472
|
}, {
|
|
472
473
|
default: h(() => [
|
|
473
474
|
s(V, {
|
|
@@ -508,16 +509,16 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
508
509
|
variant: "tertiary",
|
|
509
510
|
"icon-start": "plus",
|
|
510
511
|
disabled: !a.value,
|
|
511
|
-
onClick: n[9] || (n[9] = (e) => a.value && l(
|
|
512
|
+
onClick: n[9] || (n[9] = (e) => a.value && l(Ce)({ lat: "", lng: "" }))
|
|
512
513
|
}, null, 8, ["disabled"])
|
|
513
514
|
])
|
|
514
515
|
]),
|
|
515
516
|
i("section", Ln, [
|
|
516
517
|
n[31] || (n[31] = i("h5", null, "Darstellungen (optional)", -1)),
|
|
517
518
|
n[32] || (n[32] = i("p", null, "Fügen Sie hier ein Bild der von Ihnen verwendeten Hardware ein. Dies sollte eine gültige Bild-URL sein.", -1)),
|
|
518
|
-
(d(!0), m(w, null, B(l(
|
|
519
|
+
(d(!0), m(w, null, B(l(Fe), (e, o) => (d(), S(x, {
|
|
519
520
|
key: e.key,
|
|
520
|
-
onDelete: (u) => l(
|
|
521
|
+
onDelete: (u) => l(Le)(o)
|
|
521
522
|
}, {
|
|
522
523
|
default: h(() => [
|
|
523
524
|
s(V, {
|
|
@@ -545,16 +546,16 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
545
546
|
variant: "tertiary",
|
|
546
547
|
"icon-start": "plus",
|
|
547
548
|
disabled: !a.value,
|
|
548
|
-
onClick: n[10] || (n[10] = (e) => a.value && l(
|
|
549
|
+
onClick: n[10] || (n[10] = (e) => a.value && l(De)(""))
|
|
549
550
|
}, null, 8, ["disabled"])
|
|
550
551
|
])
|
|
551
552
|
]),
|
|
552
553
|
i("section", Fn, [
|
|
553
554
|
n[33] || (n[33] = i("h5", null, "Weiterführende Links (optional)", -1)),
|
|
554
555
|
n[34] || (n[34] = i("p", null, "Fügen Sie hier Links zu Dokumenten hinzu, die weitere Informationen zum Einsatz der Hardware enthalten.", -1)),
|
|
555
|
-
(d(!0), m(w, null, B(l(
|
|
556
|
+
(d(!0), m(w, null, B(l(We), (e, o) => (d(), S(x, {
|
|
556
557
|
key: e.key,
|
|
557
|
-
onDelete: (u) => l(
|
|
558
|
+
onDelete: (u) => l(Ze)(o)
|
|
558
559
|
}, {
|
|
559
560
|
default: h(() => [
|
|
560
561
|
s(V, {
|
|
@@ -595,7 +596,7 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
595
596
|
"is-disabled": !a.value,
|
|
596
597
|
max: A,
|
|
597
598
|
hint: "true",
|
|
598
|
-
"hint-message": `${
|
|
599
|
+
"hint-message": `${Je(e)} von ${A} Zeichen`,
|
|
599
600
|
"count-hint": !0,
|
|
600
601
|
form: l(v)
|
|
601
602
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "name", "is-disabled", "hint-message", "form"])
|
|
@@ -609,7 +610,7 @@ const hn = { class: "dpi-project-process-step V3-typography" }, vn = { class: "s
|
|
|
609
610
|
variant: "tertiary",
|
|
610
611
|
"icon-start": "plus",
|
|
611
612
|
disabled: !a.value,
|
|
612
|
-
onClick: n[11] || (n[11] = (e) => a.value && l(
|
|
613
|
+
onClick: n[11] || (n[11] = (e) => a.value && l(Ae)({ name: "", url: "", description: "" }))
|
|
613
614
|
}, null, 8, ["disabled"])
|
|
614
615
|
])
|
|
615
616
|
]),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SoftwareForm.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-af7247b3"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|