@piveau/dpi 0.2.0-alpha.2 → 0.2.0-alpha.3
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/assets/stadt.png +0 -0
- package/dist/data-provider-interface/HappyFlowComponents/AboutProject.vue.js +99 -0
- package/dist/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +35 -11
- package/dist/data-provider-interface/HappyFlowComponents/img/DataProcessingSteps.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue2.js +1 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocabFormKit.vue.js +18 -18
- package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +89 -67
- package/dist/data-provider-interface/HappyFlowComponents/ui/Card.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/Card.vue2.js +34 -20
- package/dist/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue2.js +62 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +60 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +45 -28
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +5 -3
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +45 -37
- package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue2.js +39 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxDefinition.js +2 -1
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxFormKit.vue.js +20 -16
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue2.js +41 -37
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +341 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/WipStep.vue.js +2 -2
- package/dist/data-provider-interface/HappyFlowComponents/ui/WipStep.vue2.js +7 -7
- package/dist/data-provider-interface/components/ProgressSteps.vue.js +1 -1
- package/dist/data-provider-interface/components/ProgressSteps.vue2.js +45 -44
- package/dist/data-provider-interface/components/StepActionsSection.vue.js +2 -2
- package/dist/data-provider-interface/components/StepActionsSection.vue2.js +119 -42
- package/dist/data-provider-interface/composables/useDpiStepper.js +7 -7
- package/dist/data-provider-interface/views/InputPageProject.vue.js +281 -268
- package/dist/stories/components/LinkCard.vue.js +7 -0
- package/dist/stories/components/LinkCard.vue2.js +52 -0
- package/dist/stories/components/PartnerCard.vue.js +2 -2
- package/dist/stories/components/PartnerCard.vue2.js +19 -19
- package/dist/stories/components/ScreenshotCard.vue.js +7 -0
- package/dist/stories/components/ScreenshotCard.vue2.js +26 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Card.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-0eeefbaf"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1,36 +1,50 @@
|
|
|
1
|
-
import { defineComponent as c, computed as p, createElementBlock as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as c, computed as p, createElementBlock as e, openBlock as o, normalizeClass as r, createCommentVNode as i, createElementVNode as l, renderSlot as s } from "vue";
|
|
2
|
+
const _ = {
|
|
3
|
+
key: 0,
|
|
4
|
+
class: "dpiV3_Card_Icon_Title"
|
|
5
|
+
}, u = {
|
|
3
6
|
key: 1,
|
|
4
7
|
class: "dpiV3_Card_Info_Text copy-large-semi-bold"
|
|
5
|
-
},
|
|
8
|
+
}, C = { class: "dpiV3_Card_Body" }, v = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "dpiV3_Card_Icon"
|
|
11
|
+
}, V = { key: 1 }, f = /* @__PURE__ */ c({
|
|
6
12
|
__name: "Card",
|
|
7
13
|
props: {
|
|
8
14
|
variant: { default: "default" }
|
|
9
15
|
},
|
|
10
|
-
setup(
|
|
11
|
-
const
|
|
16
|
+
setup(a) {
|
|
17
|
+
const d = a, n = p(() => ({
|
|
12
18
|
"V3-typography": !0,
|
|
13
19
|
dpiV3_Card: !0,
|
|
14
|
-
"dpiV3_Card--default":
|
|
15
|
-
"dpiV3_Card--error":
|
|
20
|
+
"dpiV3_Card--default": d.variant === "default",
|
|
21
|
+
"dpiV3_Card--error": d.variant === "error"
|
|
16
22
|
}));
|
|
17
|
-
return (
|
|
18
|
-
class:
|
|
23
|
+
return (t, $) => (o(), e("div", {
|
|
24
|
+
class: r(n.value)
|
|
19
25
|
}, [
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
t
|
|
26
|
+
t.$slots.title ? (o(), e("div", _, [
|
|
27
|
+
t.$slots.icon ? s(t.$slots, "icon", { key: 0 }, void 0, !0) : i("", !0),
|
|
28
|
+
t.$slots.title ? (o(), e("div", u, [
|
|
29
|
+
s(t.$slots, "title", {}, void 0, !0)
|
|
24
30
|
])) : i("", !0)
|
|
25
|
-
]),
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
])) : i("", !0),
|
|
32
|
+
l("div", C, [
|
|
33
|
+
t.$slots.icon && !t.$slots.title ? (o(), e("div", v, [
|
|
34
|
+
s(t.$slots, "icon", {}, void 0, !0)
|
|
35
|
+
])) : (o(), e("div", V)),
|
|
36
|
+
l("div", {
|
|
37
|
+
class: r(["dpiV3_Card_Content", {
|
|
38
|
+
"dpiV3_Card_Content--with-icon": t.$slots.icon && t.$slots.title,
|
|
39
|
+
"dpiV3_Card_Content--with-icon-no-title": t.$slots.icon && !t.$slots.title
|
|
40
|
+
}])
|
|
41
|
+
}, [
|
|
42
|
+
s(t.$slots, "default", {}, void 0, !0)
|
|
43
|
+
], 2)
|
|
44
|
+
])
|
|
31
45
|
], 2));
|
|
32
46
|
}
|
|
33
47
|
});
|
|
34
48
|
export {
|
|
35
|
-
|
|
49
|
+
f as default
|
|
36
50
|
};
|
package/dist/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue2.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { defineComponent as m, mergeModels as p, useModel as f, createElementBlock as d, openBlock as a, Fragment as h, renderList as v, withDirectives as x, createElementVNode as u, vModelCheckbox as k, createVNode as _ } from "vue";
|
|
2
|
+
import { looseIndexOf as c } from "@vue/shared";
|
|
3
|
+
import C from "../Chip.vue.js";
|
|
4
|
+
const b = { class: "chip-toggle-list" }, g = ["id", "value"], V = ["for", "onClick"], $ = /* @__PURE__ */ m({
|
|
5
|
+
__name: "ChipToggleList",
|
|
6
|
+
props: /* @__PURE__ */ p({
|
|
7
|
+
options: {}
|
|
8
|
+
}, {
|
|
9
|
+
modelValue: {
|
|
10
|
+
default: () => []
|
|
11
|
+
},
|
|
12
|
+
modelModifiers: {}
|
|
13
|
+
}),
|
|
14
|
+
emits: ["update:modelValue"],
|
|
15
|
+
setup(r) {
|
|
16
|
+
const l = f(r, "modelValue");
|
|
17
|
+
function n(t) {
|
|
18
|
+
return c(l.value, t) !== -1;
|
|
19
|
+
}
|
|
20
|
+
function o(t) {
|
|
21
|
+
c(l.value, t.id) !== -1 ? l.value = l.value.filter((e) => e !== t.id) : l.value = [...l.value, t.id];
|
|
22
|
+
}
|
|
23
|
+
return (t, i) => (a(), d("div", b, [
|
|
24
|
+
(a(!0), d(h, null, v(t.options, (e) => (a(), d("div", {
|
|
25
|
+
key: e.id,
|
|
26
|
+
class: "chip-item"
|
|
27
|
+
}, [
|
|
28
|
+
x(u("input", {
|
|
29
|
+
id: `chip-${e.id}`,
|
|
30
|
+
"onUpdate:modelValue": i[0] || (i[0] = (s) => l.value = s),
|
|
31
|
+
class: "chip-checkbox",
|
|
32
|
+
type: "checkbox",
|
|
33
|
+
value: e.id
|
|
34
|
+
}, null, 8, g), [
|
|
35
|
+
[k, l.value]
|
|
36
|
+
]),
|
|
37
|
+
u("label", {
|
|
38
|
+
class: "chip-label",
|
|
39
|
+
for: `chip-${e.id}`,
|
|
40
|
+
onClick: (s) => o(e)
|
|
41
|
+
}, [
|
|
42
|
+
_(C, {
|
|
43
|
+
text: e.name,
|
|
44
|
+
data: {
|
|
45
|
+
"@value": e.id,
|
|
46
|
+
URI: e.uri || "https://example.com/default"
|
|
47
|
+
},
|
|
48
|
+
setup: {
|
|
49
|
+
"@type": "select",
|
|
50
|
+
"@inTable": !1,
|
|
51
|
+
"@findability": !0,
|
|
52
|
+
"@selected": n(e.id)
|
|
53
|
+
}
|
|
54
|
+
}, null, 8, ["text", "data", "setup"])
|
|
55
|
+
], 8, V)
|
|
56
|
+
]))), 128))
|
|
57
|
+
]));
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
export {
|
|
61
|
+
$ as default
|
|
62
|
+
};
|
package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { defineComponent as m, ref as c, resolveComponent as d, createElementBlock as f, openBlock as h, createElementVNode as n, createVNode as r, unref as g } from "vue";
|
|
2
|
+
import { defineHubSearch as y } from "@piveau/sdk-vue";
|
|
3
|
+
import * as _ from "zod";
|
|
4
|
+
import v from "../../../components/StepActionsSection.vue.js";
|
|
5
|
+
import b from "../ChipToggleList/ChipToggleList.vue.js";
|
|
6
|
+
const S = { class: "dpiV3_page V3-typography" }, V = { class: "funny-section" }, C = { class: "funny-flex" }, k = { class: "funny-section" }, K = /* @__PURE__ */ m({
|
|
7
|
+
__name: "CategoriesStep",
|
|
8
|
+
setup(x) {
|
|
9
|
+
const s = c([]), u = c(""), { useSearch: p } = y({
|
|
10
|
+
baseUrl: "https://staging.bydata.de/api/hub/search",
|
|
11
|
+
index: "vocabulary",
|
|
12
|
+
schema: _.any()
|
|
13
|
+
}, (e) => {
|
|
14
|
+
var t, l;
|
|
15
|
+
const o = String((e == null ? void 0 : e.resource) || ""), i = String(((t = e == null ? void 0 : e.pref_label) == null ? void 0 : t.de) || ((l = e == null ? void 0 : e.pref_label) == null ? void 0 : l.en) || "");
|
|
16
|
+
return {
|
|
17
|
+
id: o,
|
|
18
|
+
name: i
|
|
19
|
+
};
|
|
20
|
+
}), { getSearchResultsEnhanced: a } = p({
|
|
21
|
+
queryParams: {
|
|
22
|
+
q: u,
|
|
23
|
+
limit: 12,
|
|
24
|
+
vocabulary: "data-theme"
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
return (e, o) => {
|
|
28
|
+
const i = d("FormKit");
|
|
29
|
+
return h(), f("div", S, [
|
|
30
|
+
n("section", V, [
|
|
31
|
+
n("div", C, [
|
|
32
|
+
o[2] || (o[2] = n("div", null, [
|
|
33
|
+
n("h4", null, " Machen Sie Ihr Projekt leicht auffindbar "),
|
|
34
|
+
n("div", { class: "visibility-description" }, [
|
|
35
|
+
n("p", { class: "copy-large-regular" }, " Um sicherzustellen, dass Ihr Projekt für andere leicht zu finden ist, wählen Sie die relevanten, übergeordneten Kategorien aus. ")
|
|
36
|
+
])
|
|
37
|
+
], -1)),
|
|
38
|
+
r(i, {
|
|
39
|
+
modelValue: s.value,
|
|
40
|
+
"onUpdate:modelValue": o[0] || (o[0] = (t) => s.value = t),
|
|
41
|
+
type: "list",
|
|
42
|
+
name: "categories"
|
|
43
|
+
}, null, 8, ["modelValue"]),
|
|
44
|
+
r(b, {
|
|
45
|
+
modelValue: s.value,
|
|
46
|
+
"onUpdate:modelValue": o[1] || (o[1] = (t) => s.value = t),
|
|
47
|
+
options: g(a) || []
|
|
48
|
+
}, null, 8, ["modelValue", "options"])
|
|
49
|
+
])
|
|
50
|
+
]),
|
|
51
|
+
n("section", k, [
|
|
52
|
+
r(v)
|
|
53
|
+
])
|
|
54
|
+
]);
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
export {
|
|
59
|
+
K as default
|
|
60
|
+
};
|
package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js
CHANGED
|
@@ -1,59 +1,76 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as c, createElementBlock as l, openBlock as d, createElementVNode as e, createStaticVNode as o, createVNode as t, unref as a, withCtx as r, createTextVNode as n } from "vue";
|
|
2
2
|
import { FormKit as h } from "@formkit/vue";
|
|
3
|
-
import { PhLightbulb as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import { PhLightbulb as u } from "@phosphor-icons/vue";
|
|
4
|
+
import f from "../../../components/StepActionsSection.vue.js";
|
|
5
|
+
import v from "../Card.vue.js";
|
|
6
|
+
import g from "../ListBox/ListBoxDefinition.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import
|
|
9
|
-
const
|
|
8
|
+
import p from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
9
|
+
const m = { class: "dpiV3_page V3-typography" }, b = { class: "funny-section" }, S = { class: "funny-flex" }, k = { class: "funny-section" }, _ = { class: "funny-section" }, y = {
|
|
10
10
|
__name: "DiscoverabilityStep",
|
|
11
|
-
setup(
|
|
12
|
-
const s =
|
|
11
|
+
setup(z) {
|
|
12
|
+
const s = c([
|
|
13
13
|
{ id: 1, name: "Öffentlich", unavailable: !1 },
|
|
14
14
|
{ id: 2, name: "Eingeschränkt", unavailable: !1 },
|
|
15
15
|
{ id: 3, name: "Intern", unavailable: !1 }
|
|
16
16
|
]);
|
|
17
|
-
return (
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
type: t(m),
|
|
17
|
+
return (I, i) => (d(), l("div", m, [
|
|
18
|
+
e("section", b, [
|
|
19
|
+
e("div", S, [
|
|
20
|
+
i[0] || (i[0] = o('<div data-v-dc92c968><h4 data-v-dc92c968> Legen Sie die Sichtbarkeit Ihres Projekts fest </h4><div class="visibility-description" data-v-dc92c968><span class="copy-large-regular" data-v-dc92c968> Sie können für jedes Projekt individuell entscheiden, wer Ihre Metadaten sehen soll. Wir freuen uns, wenn Sie Ihre Daten möglichst offen teilen, um den Austausch zwischen den Kommunen zu fördern und gemeinsam von Erfahrungen und Lösungen zu profitieren. Gleichzeitig verstehen wir, dass manche Informationen einen geschützten Raum benötigen. Deshalb können Sie zwischen drei Sichtbarkeitsstufen wählen: </span></div><ul class="visibility-variants" data-v-dc92c968><li data-v-dc92c968><div class="variant-content" data-v-dc92c968><p data-v-dc92c968><strong data-v-dc92c968>„öffentlich“</strong> (für alle Nutzer sichtbar) </p></div></li><li data-v-dc92c968><div class="variant-content" data-v-dc92c968><p data-v-dc92c968><strong data-v-dc92c968>„eingeschränkt“</strong>(für alle registrierten Nutzer sichtbar) </p></div></li><li data-v-dc92c968><div class="variant-content" data-v-dc92c968><p data-v-dc92c968><strong data-v-dc92c968>„intern“</strong> (für alle registrierten Nutzer Ihrer Organisation und Nutzer, denen Sie oder Ihre Organisation Sichtrechte erteilt haben, sichtbar) </p></div></li></ul></div>', 1)),
|
|
21
|
+
t(a(h), {
|
|
22
|
+
type: a(g),
|
|
24
23
|
name: "visibility",
|
|
25
24
|
label: "Sichtbarkeit",
|
|
25
|
+
placeholder: "Wählen Sie eine Sichtbarkeit.",
|
|
26
26
|
options: s.value,
|
|
27
27
|
validation: "required"
|
|
28
28
|
}, null, 8, ["type", "options"])
|
|
29
29
|
])
|
|
30
30
|
]),
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
e("section", k, [
|
|
32
|
+
t(f)
|
|
33
33
|
]),
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
e("section", _, [
|
|
35
|
+
t(v, { variant: "default" }, {
|
|
36
36
|
icon: r(() => [
|
|
37
|
-
|
|
37
|
+
t(a(u), {
|
|
38
38
|
size: 32,
|
|
39
39
|
color: "#009fe3"
|
|
40
40
|
})
|
|
41
41
|
]),
|
|
42
|
-
title: r(() =>
|
|
43
|
-
|
|
42
|
+
title: r(() => i[1] || (i[1] = [
|
|
43
|
+
n(" Information ", -1)
|
|
44
44
|
])),
|
|
45
45
|
default: r(() => [
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
i[2] || (i[2] = e("div", { class: "visibility-information" }, [
|
|
47
|
+
e("p", null, [
|
|
48
|
+
n(" Wenn Sie Ihr Projekt "),
|
|
49
|
+
e("strong", null, "öffentlich"),
|
|
50
|
+
n(" zugänglich machen, sehen alle Besucher unserer Website alle Metadaten, die Sie hier angeben. ")
|
|
51
|
+
]),
|
|
52
|
+
e("p", null, [
|
|
53
|
+
n(" Bei einer "),
|
|
54
|
+
e("strong", null, "eingeschränkten"),
|
|
55
|
+
n(" Veröffentlichung sehen alle registrierten Besucher unserer Website, egal welcher Kommune oder Organisation sie angehören, alle Metadaten, die Sie hier angeben. ")
|
|
56
|
+
]),
|
|
57
|
+
e("p", null, [
|
|
58
|
+
n(" Für Projekte, die Sie exklusiv mit Ihrer eigenen Organisation teilen möchten, stellen Sie die Sichtbarkeit auf "),
|
|
59
|
+
e("strong", null, "intern"),
|
|
60
|
+
n(". ")
|
|
61
|
+
]),
|
|
62
|
+
e("p", null, " Ihr Organisations-Admin kann für Projekte mit diesem Sichtstatus zusätzliche Sichtrechte an einzelne Personen anderer Organisationen vergeben, sofern diese registriert sind. "),
|
|
63
|
+
e("p", null, " Sie können nicht nur für Projekte, sondern auch für Datensätze, die Sie über twin.bydata anlegen, die Sichtbarkeit Ihrer Daten (Metadaten und Rohdaten) einschränken. "),
|
|
64
|
+
e("p", null, "Auf twin.bydata können sich ausschließlich Organisationen der öffentlichen Verwaltung registrieren")
|
|
48
65
|
], -1))
|
|
49
66
|
]),
|
|
50
67
|
_: 1,
|
|
51
|
-
__: [
|
|
68
|
+
__: [2]
|
|
52
69
|
})
|
|
53
70
|
])
|
|
54
71
|
]));
|
|
55
72
|
}
|
|
56
|
-
},
|
|
73
|
+
}, B = /* @__PURE__ */ p(y, [["__scopeId", "data-v-dc92c968"]]);
|
|
57
74
|
export {
|
|
58
|
-
|
|
75
|
+
B as default
|
|
59
76
|
};
|
package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import t from "./InputFieldFormKit.vue.js";
|
|
2
|
-
const
|
|
2
|
+
const i = {
|
|
3
3
|
type: "input",
|
|
4
4
|
schema: [],
|
|
5
5
|
component: t,
|
|
@@ -13,9 +13,11 @@ const n = {
|
|
|
13
13
|
"tooltipText",
|
|
14
14
|
"initialHintText",
|
|
15
15
|
"textLabel",
|
|
16
|
-
"placeholder"
|
|
16
|
+
"placeholder",
|
|
17
|
+
"trailing_text",
|
|
18
|
+
"trailing-text"
|
|
17
19
|
]
|
|
18
20
|
};
|
|
19
21
|
export {
|
|
20
|
-
|
|
22
|
+
i as default
|
|
21
23
|
};
|
package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js
CHANGED
|
@@ -1,60 +1,68 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as K, computed as o, createBlock as P, openBlock as C, unref as a } from "vue";
|
|
2
|
+
import L from "../InputField.vue.js";
|
|
3
|
+
const $ = /* @__PURE__ */ K({
|
|
4
4
|
__name: "InputFieldFormKit",
|
|
5
5
|
props: {
|
|
6
6
|
context: {}
|
|
7
7
|
},
|
|
8
|
-
setup(
|
|
9
|
-
var
|
|
10
|
-
const t =
|
|
8
|
+
setup(_) {
|
|
9
|
+
var c, p, x, u, d, m, f;
|
|
10
|
+
const t = _, i = o({
|
|
11
11
|
get: () => {
|
|
12
12
|
var e;
|
|
13
13
|
return ((e = t.context) == null ? void 0 : e._value) || "";
|
|
14
14
|
},
|
|
15
15
|
set: (e) => {
|
|
16
|
-
var
|
|
17
|
-
(
|
|
16
|
+
var n;
|
|
17
|
+
(n = t.context) == null || n.node.input(e);
|
|
18
18
|
}
|
|
19
|
-
}),
|
|
19
|
+
}), T = o(() => {
|
|
20
20
|
var e;
|
|
21
21
|
return (e = t.context) == null ? void 0 : e.textLabel;
|
|
22
|
-
}),
|
|
22
|
+
}), k = o(() => {
|
|
23
23
|
var e;
|
|
24
24
|
return (e = t.context) == null ? void 0 : e.name;
|
|
25
|
-
}),
|
|
25
|
+
}), I = o(() => {
|
|
26
26
|
var e;
|
|
27
27
|
return ((e = t.context) == null ? void 0 : e.placeholder) || "Enter text here";
|
|
28
|
-
}),
|
|
28
|
+
}), y = o(() => {
|
|
29
|
+
var e;
|
|
30
|
+
return ((e = t.context) == null ? void 0 : e.trailing_text) || "$";
|
|
31
|
+
}), b = o(() => {
|
|
32
|
+
var e;
|
|
33
|
+
return ((e = t.context) == null ? void 0 : e.trailingText) || !1;
|
|
34
|
+
}), s = o(() => {
|
|
29
35
|
var e;
|
|
30
36
|
return Object.keys((e = t.context) == null ? void 0 : e.messages).length > 0;
|
|
31
|
-
}),
|
|
32
|
-
var
|
|
33
|
-
if (!
|
|
37
|
+
}), l = o(() => {
|
|
38
|
+
var n, r, g, h, v;
|
|
39
|
+
if (!s.value)
|
|
34
40
|
return "";
|
|
35
|
-
const e = (
|
|
36
|
-
return ((
|
|
37
|
-
}),
|
|
38
|
-
return (e,
|
|
39
|
-
modelValue:
|
|
40
|
-
"onUpdate:modelValue":
|
|
41
|
-
label:
|
|
42
|
-
placeholder:
|
|
43
|
-
"input-type":
|
|
44
|
-
"add-on-text":
|
|
45
|
-
"date-picker":
|
|
46
|
-
"info-icon":
|
|
47
|
-
"pre-icon":
|
|
48
|
-
"show-end-icon":
|
|
49
|
-
"tooltip-text":
|
|
50
|
-
"show-error":
|
|
51
|
-
"supporting-hint-message":
|
|
52
|
-
"initial-hint-text":
|
|
53
|
-
error_message:
|
|
54
|
-
name:
|
|
55
|
-
|
|
41
|
+
const e = (r = Object.keys((n = t.context) == null ? void 0 : n.messages)) == null ? void 0 : r[0];
|
|
42
|
+
return ((v = (h = (g = t.context) == null ? void 0 : g.messages) == null ? void 0 : h[e]) == null ? void 0 : v.value) || "";
|
|
43
|
+
}), w = ((c = t.context) == null ? void 0 : c.inputType) || "text", E = ((p = t.context) == null ? void 0 : p.addOnText) || !1, O = ((x = t.context) == null ? void 0 : x.datePicker) || !1, B = ((u = t.context) == null ? void 0 : u.infoIcon) || !1, F = ((d = t.context) == null ? void 0 : d.preIcon) || !1, V = ((m = t.context) == null ? void 0 : m.showEndIcon) !== !1, j = ((f = t.context) == null ? void 0 : f.tooltipText) || "This is helpful information";
|
|
44
|
+
return (e, n) => (C(), P(L, {
|
|
45
|
+
modelValue: i.value,
|
|
46
|
+
"onUpdate:modelValue": n[0] || (n[0] = (r) => i.value = r),
|
|
47
|
+
label: T.value,
|
|
48
|
+
placeholder: I.value,
|
|
49
|
+
"input-type": a(w),
|
|
50
|
+
"add-on-text": a(E),
|
|
51
|
+
"date-picker": a(O),
|
|
52
|
+
"info-icon": a(B),
|
|
53
|
+
"pre-icon": a(F),
|
|
54
|
+
"show-end-icon": V,
|
|
55
|
+
"tooltip-text": a(j),
|
|
56
|
+
"show-error": s.value,
|
|
57
|
+
"supporting-hint-message": l.value,
|
|
58
|
+
"initial-hint-text": l.value,
|
|
59
|
+
error_message: l.value,
|
|
60
|
+
name: k.value,
|
|
61
|
+
trailing_text: y.value,
|
|
62
|
+
"trailing-text": b.value
|
|
63
|
+
}, null, 8, ["modelValue", "label", "placeholder", "input-type", "add-on-text", "date-picker", "info-icon", "pre-icon", "tooltip-text", "show-error", "supporting-hint-message", "initial-hint-text", "error_message", "name", "trailing_text", "trailing-text"]));
|
|
56
64
|
}
|
|
57
65
|
});
|
|
58
66
|
export {
|
|
59
|
-
|
|
67
|
+
$ as default
|
|
60
68
|
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { defineComponent as r, createElementBlock as i, openBlock as a, createElementVNode as t, createVNode as o, withCtx as n, createTextVNode as l, unref as s } from "vue";
|
|
2
|
+
import { PhInfo as d } from "@phosphor-icons/vue";
|
|
3
|
+
import c from "../../../components/StepActionsSection.vue.js";
|
|
4
|
+
import m from "../Card.vue.js";
|
|
5
|
+
const p = { class: "dpiV3_page" }, h = /* @__PURE__ */ r({
|
|
6
|
+
__name: "LandingProjectStep",
|
|
7
|
+
setup(u) {
|
|
8
|
+
return (f, e) => (a(), i("div", p, [
|
|
9
|
+
e[1] || (e[1] = t("section", null, [
|
|
10
|
+
t("h4", null, " todo "),
|
|
11
|
+
t("p", { class: "copy-large-regular" }, " todo ")
|
|
12
|
+
], -1)),
|
|
13
|
+
t("section", null, [
|
|
14
|
+
o(m, null, {
|
|
15
|
+
icon: n(() => [
|
|
16
|
+
o(s(d), {
|
|
17
|
+
size: 32,
|
|
18
|
+
color: "#009fe3"
|
|
19
|
+
})
|
|
20
|
+
]),
|
|
21
|
+
default: n(() => [
|
|
22
|
+
e[0] || (e[0] = l(" Bitte stellen Sie sicher, dass alle im Projekt verwendeten Datensätze, Software und Hardware angelegt sind, bevor Sie mit der Projektanlage beginnen. ", -1))
|
|
23
|
+
]),
|
|
24
|
+
_: 1,
|
|
25
|
+
__: [0]
|
|
26
|
+
})
|
|
27
|
+
]),
|
|
28
|
+
o(c, {
|
|
29
|
+
"hide-previous": "",
|
|
30
|
+
"hide-cancel": "",
|
|
31
|
+
"next-text": "Projektanlage starten",
|
|
32
|
+
"hide-validation-summary": ""
|
|
33
|
+
})
|
|
34
|
+
]));
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
export {
|
|
38
|
+
h as default
|
|
39
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as v, computed as n, createBlock as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as v, computed as n, createBlock as b, openBlock as f } from "vue";
|
|
2
|
+
import h from "./Listbox.vue.js";
|
|
3
3
|
const k = /* @__PURE__ */ v({
|
|
4
4
|
__name: "ListBoxFormKit",
|
|
5
5
|
props: {
|
|
6
6
|
context: {}
|
|
7
7
|
},
|
|
8
|
-
setup(
|
|
9
|
-
const o =
|
|
8
|
+
setup(u) {
|
|
9
|
+
const o = u, s = n({
|
|
10
10
|
get: () => {
|
|
11
11
|
var e;
|
|
12
12
|
return ((e = o.context) == null ? void 0 : e._value) || null;
|
|
@@ -15,34 +15,38 @@ const k = /* @__PURE__ */ v({
|
|
|
15
15
|
var t;
|
|
16
16
|
(t = o.context) == null || t.node.input(e);
|
|
17
17
|
}
|
|
18
|
-
}),
|
|
18
|
+
}), p = n(() => {
|
|
19
19
|
var e;
|
|
20
20
|
return String(((e = o.context) == null ? void 0 : e.label) || "");
|
|
21
|
-
}),
|
|
21
|
+
}), m = n(() => {
|
|
22
22
|
var e;
|
|
23
23
|
return String(((e = o.context) == null ? void 0 : e.name) || "");
|
|
24
|
-
}),
|
|
24
|
+
}), i = n(() => {
|
|
25
25
|
var t;
|
|
26
26
|
const e = ((t = o.context) == null ? void 0 : t.options) || [];
|
|
27
27
|
return Array.isArray(e) ? e : [];
|
|
28
28
|
}), x = n(() => {
|
|
29
|
+
var e;
|
|
30
|
+
return String(((e = o.context) == null ? void 0 : e.placeholder) || "");
|
|
31
|
+
}), d = n(() => {
|
|
29
32
|
var e;
|
|
30
33
|
return Object.keys(((e = o.context) == null ? void 0 : e.messages) || {}).length > 0;
|
|
31
34
|
}), g = n(() => {
|
|
32
|
-
var t, r, a, l,
|
|
33
|
-
if (!
|
|
35
|
+
var t, r, a, l, c;
|
|
36
|
+
if (!d.value)
|
|
34
37
|
return "";
|
|
35
38
|
const e = (r = Object.keys(((t = o.context) == null ? void 0 : t.messages) || {})) == null ? void 0 : r[0];
|
|
36
|
-
return ((
|
|
39
|
+
return String(((c = (l = (a = o.context) == null ? void 0 : a.messages) == null ? void 0 : l[e]) == null ? void 0 : c.value) || "");
|
|
37
40
|
});
|
|
38
|
-
return (e, t) => (
|
|
41
|
+
return (e, t) => (f(), b(h, {
|
|
39
42
|
modelValue: s.value,
|
|
40
43
|
"onUpdate:modelValue": t[0] || (t[0] = (r) => s.value = r),
|
|
41
|
-
options:
|
|
42
|
-
label:
|
|
43
|
-
name:
|
|
44
|
-
"error-message": g.value
|
|
45
|
-
|
|
44
|
+
options: i.value,
|
|
45
|
+
label: p.value,
|
|
46
|
+
name: m.value,
|
|
47
|
+
"error-message": g.value,
|
|
48
|
+
placeholder: x.value
|
|
49
|
+
}, null, 8, ["modelValue", "options", "label", "name", "error-message", "placeholder"]));
|
|
46
50
|
}
|
|
47
51
|
});
|
|
48
52
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Listbox.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fef1f5ee"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|