@piveau/dpi 0.2.0-alpha.1 → 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.
Files changed (43) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/assets/stadt.png +0 -0
  3. package/dist/data-provider-interface/HappyFlowComponents/AboutProject.vue.js +99 -0
  4. package/dist/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +35 -11
  5. package/dist/data-provider-interface/HappyFlowComponents/img/DataProcessingSteps.svg.js +4 -0
  6. package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +2 -2
  7. package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue2.js +1 -1
  8. package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocabFormKit.vue.js +18 -18
  9. package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js +10 -11
  10. package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
  11. package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +89 -67
  12. package/dist/data-provider-interface/HappyFlowComponents/ui/Card.vue.js +2 -2
  13. package/dist/data-provider-interface/HappyFlowComponents/ui/Card.vue2.js +34 -20
  14. package/dist/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue.js +7 -0
  15. package/dist/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue2.js +62 -0
  16. package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue.js +7 -0
  17. package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/CategoriesStep.vue2.js +60 -0
  18. package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +45 -28
  19. package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +5 -3
  20. package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +45 -37
  21. package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue.js +7 -0
  22. package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue2.js +39 -0
  23. package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxDefinition.js +2 -1
  24. package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxFormKit.vue.js +20 -16
  25. package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js +2 -2
  26. package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue2.js +41 -37
  27. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +7 -0
  28. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +341 -0
  29. package/dist/data-provider-interface/HappyFlowComponents/ui/WipStep.vue.js +2 -2
  30. package/dist/data-provider-interface/HappyFlowComponents/ui/WipStep.vue2.js +21 -15
  31. package/dist/data-provider-interface/components/ProgressSteps.vue.js +1 -1
  32. package/dist/data-provider-interface/components/ProgressSteps.vue2.js +45 -44
  33. package/dist/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  34. package/dist/data-provider-interface/components/StepActionsSection.vue2.js +119 -42
  35. package/dist/data-provider-interface/composables/useDpiStepper.js +7 -7
  36. package/dist/data-provider-interface/views/InputPageProject.vue.js +328 -315
  37. package/dist/stories/components/LinkCard.vue.js +7 -0
  38. package/dist/stories/components/LinkCard.vue2.js +52 -0
  39. package/dist/stories/components/PartnerCard.vue.js +1 -1
  40. package/dist/stories/components/PartnerCard.vue2.js +18 -18
  41. package/dist/stories/components/ScreenshotCard.vue.js +7 -0
  42. package/dist/stories/components/ScreenshotCard.vue2.js +26 -0
  43. package/package.json +1 -1
@@ -1,60 +1,68 @@
1
- import { defineComponent as V, computed as n, createBlock as j, openBlock as K, unref as r } from "vue";
2
- import P from "../InputField.vue.js";
3
- const M = /* @__PURE__ */ V({
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(k) {
9
- var i, p, u, x, d, m, f;
10
- const t = k, c = n({
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 o;
17
- (o = t.context) == null || o.node.input(e);
16
+ var n;
17
+ (n = t.context) == null || n.node.input(e);
18
18
  }
19
- }), I = n(() => {
19
+ }), T = o(() => {
20
20
  var e;
21
21
  return (e = t.context) == null ? void 0 : e.textLabel;
22
- }), y = n(() => {
22
+ }), k = o(() => {
23
23
  var e;
24
24
  return (e = t.context) == null ? void 0 : e.name;
25
- }), T = n(() => {
25
+ }), I = o(() => {
26
26
  var e;
27
27
  return ((e = t.context) == null ? void 0 : e.placeholder) || "Enter text here";
28
- }), l = n(() => {
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
- }), s = n(() => {
32
- var o, a, h, v, g;
33
- if (!l.value)
37
+ }), l = o(() => {
38
+ var n, r, g, h, v;
39
+ if (!s.value)
34
40
  return "";
35
- const e = (a = Object.keys((o = t.context) == null ? void 0 : o.messages)) == null ? void 0 : a[0];
36
- return ((g = (v = (h = t.context) == null ? void 0 : h.messages) == null ? void 0 : v[e]) == null ? void 0 : g.value) || "";
37
- }), _ = ((i = t.context) == null ? void 0 : i.inputType) || "text", b = ((p = t.context) == null ? void 0 : p.addOnText) || !1, w = ((u = t.context) == null ? void 0 : u.datePicker) || !1, E = ((x = t.context) == null ? void 0 : x.infoIcon) || !1, O = ((d = t.context) == null ? void 0 : d.preIcon) || !1, B = ((m = t.context) == null ? void 0 : m.showEndIcon) !== !1, F = ((f = t.context) == null ? void 0 : f.tooltipText) || "This is helpful information";
38
- return (e, o) => (K(), j(P, {
39
- modelValue: c.value,
40
- "onUpdate:modelValue": o[0] || (o[0] = (a) => c.value = a),
41
- label: I.value,
42
- placeholder: T.value,
43
- "input-type": r(_),
44
- "add-on-text": r(b),
45
- "date-picker": r(w),
46
- "info-icon": r(E),
47
- "pre-icon": r(O),
48
- "show-end-icon": B,
49
- "tooltip-text": r(F),
50
- "show-error": l.value,
51
- "supporting-hint-message": s.value,
52
- "initial-hint-text": s.value,
53
- error_message: s.value,
54
- name: y.value
55
- }, 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"]));
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
- M as default
67
+ $ as default
60
68
  };
@@ -0,0 +1,7 @@
1
+ import o from "./LandingProjectStep.vue2.js";
2
+ /* empty css */
3
+ import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a24aea37"]]);
5
+ export {
6
+ p as default
7
+ };
@@ -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
+ };
@@ -5,7 +5,8 @@ const e = {
5
5
  component: o,
6
6
  props: [
7
7
  "label",
8
- "options"
8
+ "options",
9
+ "placeholder"
9
10
  ]
10
11
  };
11
12
  export {
@@ -1,12 +1,12 @@
1
- import { defineComponent as v, computed as n, createBlock as d, openBlock as b } from "vue";
2
- import f from "./Listbox.vue.js";
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(c) {
9
- const o = c, s = n({
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
- }), m = n(() => {
18
+ }), p = n(() => {
19
19
  var e;
20
20
  return String(((e = o.context) == null ? void 0 : e.label) || "");
21
- }), i = n(() => {
21
+ }), m = n(() => {
22
22
  var e;
23
23
  return String(((e = o.context) == null ? void 0 : e.name) || "");
24
- }), p = n(() => {
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, u;
33
- if (!x.value)
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 ((u = (l = (a = o.context) == null ? void 0 : a.messages) == null ? void 0 : l[e]) == null ? void 0 : u.value) || "";
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) => (b(), d(f, {
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: p.value,
42
- label: m.value,
43
- name: i.value,
44
- "error-message": g.value
45
- }, null, 8, ["modelValue", "options", "label", "name", "error-message"]));
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 p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-20d6f6d1"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fef1f5ee"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,48 +1,52 @@
1
- import { defineComponent as v, mergeModels as f, useModel as g, computed as V, createElementBlock as m, openBlock as n, createVNode as d, unref as l, withCtx as s, normalizeClass as b, createElementVNode as t, createCommentVNode as k, renderSlot as L, createTextVNode as M, toDisplayString as u, Fragment as w, renderList as B, createBlock as C } from "vue";
2
- import { Listbox as h, ListboxButton as N, ListboxLabel as y, ListboxOptions as E, ListboxOption as z } from "@headlessui/vue";
3
- const O = { class: "listbox" }, S = { class: "listbox__input" }, j = { class: "listbox__input-label" }, F = /* @__PURE__ */ v({
1
+ import { defineComponent as v, mergeModels as f, useModel as g, computed as V, createElementBlock as c, openBlock as d, createVNode as u, unref as s, withCtx as a, normalizeClass as b, createElementVNode as l, createCommentVNode as k, renderSlot as L, createTextVNode as M, toDisplayString as m, Fragment as w, renderList as h, createBlock as B } from "vue";
2
+ import { Listbox as C, ListboxButton as y, ListboxLabel as N, ListboxOptions as E, ListboxOption as z } from "@headlessui/vue";
3
+ const O = { class: "listbox" }, S = { class: "listbox__input" }, D = /* @__PURE__ */ v({
4
4
  __name: "Listbox",
5
5
  props: /* @__PURE__ */ f({
6
6
  options: {},
7
7
  label: { default: "" },
8
8
  errorMessage: { default: "" },
9
- name: { default: "" }
9
+ name: { default: "" },
10
+ placeholder: { default: "" }
10
11
  }, {
11
12
  modelValue: { required: !0 },
12
13
  modelModifiers: {}
13
14
  }),
14
15
  emits: ["update:modelValue"],
15
16
  setup(_) {
16
- const o = _, a = g(_, "modelValue"), c = V(() => !!o.errorMessage);
17
- return (r, i) => (n(), m("div", O, [
18
- d(l(h), {
19
- modelValue: a.value,
20
- "onUpdate:modelValue": i[0] || (i[0] = (e) => a.value = e),
21
- name: o.name
17
+ const t = _, o = g(_, "modelValue"), p = V(() => !!t.errorMessage);
18
+ return (r, i) => (d(), c("div", O, [
19
+ u(s(C), {
20
+ modelValue: o.value,
21
+ "onUpdate:modelValue": i[0] || (i[0] = (e) => o.value = e),
22
+ name: t.name,
23
+ by: "id"
22
24
  }, {
23
- default: s(() => [
24
- d(l(N), {
25
+ default: a(() => [
26
+ u(s(y), {
25
27
  as: "button",
26
- class: b(["listbox__button", { "listbox__button--error": c.value }])
28
+ class: b(["listbox__button", { "listbox__button--error": p.value }])
27
29
  }, {
28
- default: s(() => {
29
- var e;
30
+ default: a(() => {
31
+ var e, n;
30
32
  return [
31
- d(l(y), { as: "div" }, {
32
- default: s(() => [
33
+ u(s(N), { as: "div" }, {
34
+ default: a(() => [
33
35
  L(r.$slots, "label", {
34
- label: o.label,
35
- selected: a.value
36
+ label: t.label,
37
+ selected: o.value
36
38
  }, () => [
37
- M(u(o.label), 1)
39
+ M(m(t.label), 1)
38
40
  ], !0)
39
41
  ]),
40
42
  _: 3
41
43
  }),
42
- t("div", S, [
43
- t("div", j, u((e = a.value) == null ? void 0 : e.name), 1),
44
- i[1] || (i[1] = t("div", { class: "listbox__input-icon" }, [
45
- t("svg", {
44
+ l("div", S, [
45
+ l("div", {
46
+ class: b(["listbox__input-label", { "listbox__input-label--placeholder": !((e = o.value) != null && e.name) }])
47
+ }, m(((n = o.value) == null ? void 0 : n.name) || t.placeholder), 3),
48
+ i[1] || (i[1] = l("div", { class: "listbox__input-icon" }, [
49
+ l("svg", {
46
50
  xmlns: "http://www.w3.org/2000/svg",
47
51
  fill: "none",
48
52
  viewBox: "0 0 24 24",
@@ -50,7 +54,7 @@ const O = { class: "listbox" }, S = { class: "listbox__input" }, j = { class: "l
50
54
  stroke: "currentColor",
51
55
  class: "size-4"
52
56
  }, [
53
- t("path", {
57
+ l("path", {
54
58
  "stroke-linecap": "round",
55
59
  "stroke-linejoin": "round",
56
60
  d: "M19.5 8.25l-7.5 7.5-7.5-7.5"
@@ -58,29 +62,29 @@ const O = { class: "listbox" }, S = { class: "listbox__input" }, j = { class: "l
58
62
  ])
59
63
  ], -1))
60
64
  ]),
61
- r.errorMessage ? (n(), m("div", {
65
+ r.errorMessage ? (d(), c("div", {
62
66
  key: 0,
63
- class: b(["listbox__message", { "listbox__message--error": c.value }])
64
- }, u(r.errorMessage), 3)) : k("", !0)
67
+ class: b(["listbox__message", { "listbox__message--error": p.value }])
68
+ }, m(r.errorMessage), 3)) : k("", !0)
65
69
  ];
66
70
  }),
67
71
  _: 3
68
72
  }, 8, ["class"]),
69
- d(l(E), {
73
+ u(s(E), {
70
74
  class: "listbox__options",
71
75
  as: "ul"
72
76
  }, {
73
- default: s(() => [
74
- (n(!0), m(w, null, B(r.options, (e) => (n(), C(l(z), {
75
- as: "template",
77
+ default: a(() => [
78
+ (d(!0), c(w, null, h(r.options, (e) => (d(), B(s(z), {
76
79
  key: e.id,
80
+ as: "template",
77
81
  value: e,
78
82
  disabled: e.unavailable
79
83
  }, {
80
- default: s(({ active: p, selected: x }) => [
81
- t("li", {
82
- class: b(["listbox__option", { "listbox__option--active": p, "listbox__option--selected": x }])
83
- }, u(e.name), 3)
84
+ default: a(({ active: n, selected: x }) => [
85
+ l("li", {
86
+ class: b(["listbox__option", { "listbox__option--active": n, "listbox__option--selected": x }])
87
+ }, m(e.name), 3)
84
88
  ]),
85
89
  _: 2
86
90
  }, 1032, ["value", "disabled"]))), 128))
@@ -94,5 +98,5 @@ const O = { class: "listbox" }, S = { class: "listbox__input" }, j = { class: "l
94
98
  }
95
99
  });
96
100
  export {
97
- F as default
101
+ D as default
98
102
  };
@@ -0,0 +1,7 @@
1
+ import t from "./OptionalDataStep.vue2.js";
2
+ /* empty css */
3
+ import a from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const e = /* @__PURE__ */ a(t, [["__scopeId", "data-v-fea893a5"]]);
5
+ export {
6
+ e as default
7
+ };