@piveau/dpi 0.2.0-alpha.6 → 0.2.0-alpha.8

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 (68) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/AboutProject.vue.js +20 -17
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +4 -4
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +45 -44
  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/BasicInfosStep/ProjectDescriptionStep.vue.js +2 -2
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js +18 -21
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +49 -41
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue.js +2 -2
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ChipToggleList/ChipToggleList.vue2.js +30 -24
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +2 -2
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +105 -133
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +7 -0
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +180 -0
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue.js +1 -1
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/ApplicationsStep.vue2.js +63 -61
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +48 -39
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +40 -36
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +1 -1
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxDefinition.js +8 -3
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxFormKit.vue.js +65 -37
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js +2 -2
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue2.js +21 -22
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +96 -93
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +3 -3
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +59 -56
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue.js +38 -0
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue2.js +4 -0
  32. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepsOverviewStep.vue.js +12 -12
  33. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +1 -1
  34. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +32 -34
  35. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js +38 -33
  36. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +38 -32
  37. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js +7 -7
  38. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +36 -31
  39. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +35 -30
  40. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +7 -0
  41. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +1055 -0
  42. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/StateTag.vue.js +17 -13
  43. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SummaryBox.vue.js +1 -1
  44. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SummaryBox.vue2.js +14 -10
  45. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +84 -73
  46. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +2 -2
  47. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  48. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +70 -65
  49. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue.js +7 -0
  50. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue2.js +42 -0
  51. package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue.js +7 -0
  52. package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/ProjectDpiDevTools.vue2.js +249 -0
  53. package/dist/packages/dpi/src/data-provider-interface/components/dev-tools/fixtures.js +287 -0
  54. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/__tests__/fixtures/theProjectForm.js +281 -0
  55. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/decodeProject.js +244 -0
  56. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +330 -0
  57. package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/shared.js +37 -0
  58. package/dist/packages/dpi/src/data-provider-interface/schema/projectLdSchema.js +114 -0
  59. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +406 -371
  60. package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +3 -3
  61. package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +12 -11
  62. package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
  63. package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +21 -16
  64. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
  65. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +8 -6
  66. package/package.json +5 -2
  67. package/dist/packages/dpi/src/stories/components/MethodsCard.vue.js +0 -7
  68. package/dist/packages/dpi/src/stories/components/MethodsCard.vue2.js +0 -45
@@ -1,19 +1,19 @@
1
1
  import { createElementBlock as a, openBlock as e, createElementVNode as t, toDisplayString as c, Fragment as l, renderList as p, createCommentVNode as n, createBlock as u, unref as d, withCtx as y, createVNode as m } from "vue";
2
2
  import { RouterLink as _ } from "vue-router";
3
- import b from "./img/DataProcessingSteps.svg.js";
3
+ import h from "./img/DataProcessingSteps.svg.js";
4
4
  import j from "./ui/ButtonV3.vue.js";
5
5
  /* empty css */
6
- import F from "../../../../../_virtual/_plugin-vue_export-helper.js";
7
- const f = { class: "about-project" }, g = { class: "about-project-header" }, v = { class: "about-project-title" }, P = { class: "copy-small-regular about-project-description" }, k = { class: "about-project-steps" }, w = { class: "about-project-step-header" }, x = { class: "circle" }, S = { class: "about-project-step" }, D = { class: "copy-small-regular" }, I = ["src"], $ = {
6
+ import g from "../../../../../_virtual/_plugin-vue_export-helper.js";
7
+ const F = { class: "about-project" }, f = { class: "about-project-header" }, v = { class: "about-project-title" }, P = { class: "copy-small-regular about-project-description" }, k = { class: "about-project-steps" }, w = { class: "about-project-step-header" }, x = { class: "circle" }, S = ["src"], D = { class: "about-project-step" }, $ = { class: "copy-small-regular" }, I = ["src"], B = {
8
8
  key: 0,
9
9
  class: "about-project-step-buttons"
10
- }, B = { class: "new-project" }, C = {
10
+ }, C = { class: "new-project" }, N = {
11
11
  __name: "AboutProject",
12
- setup(N) {
13
- const h = [
12
+ setup(R) {
13
+ const b = [
14
14
  {
15
15
  text: "projectFacility.projectDocumentationProcessStepsResources",
16
- image: b,
16
+ image: h,
17
17
  buttons: null
18
18
  },
19
19
  {
@@ -40,22 +40,25 @@ const f = { class: "about-project" }, g = { class: "about-project-header" }, v =
40
40
  buttons: null
41
41
  }
42
42
  ];
43
- return (r, R) => (e(), a("div", f, [
44
- t("div", g, [
43
+ return (r, V) => (e(), a("div", F, [
44
+ t("div", f, [
45
45
  t("h4", v, c(r.$t("projectFacility.projectFacilityTitle")), 1),
46
46
  t("p", P, c(r.$t("projectFacility.projectFacilitySubtitle")), 1)
47
47
  ]),
48
48
  t("div", k, [
49
- (e(), a(l, null, p(h, (o, i) => t("div", {
49
+ (e(), a(l, null, p(b, (o, i) => t("div", {
50
50
  key: i,
51
51
  class: "about-project-step-heading"
52
52
  }, [
53
53
  t("div", w, [
54
54
  t("div", x, [
55
- t("span", null, c(i + 1), 1)
55
+ t("img", {
56
+ src: `/src/assets/icon/selected${i + 1}.svg`,
57
+ alt: ""
58
+ }, null, 8, S)
56
59
  ]),
57
- t("div", S, [
58
- t("p", D, c(r.$t(o.text)), 1),
60
+ t("div", D, [
61
+ t("p", $, c(r.$t(o.text)), 1),
59
62
  o.image ? (e(), a("img", {
60
63
  key: 0,
61
64
  src: o.image,
@@ -63,7 +66,7 @@ const f = { class: "about-project" }, g = { class: "about-project-header" }, v =
63
66
  }, null, 8, I)) : n("", !0)
64
67
  ])
65
68
  ]),
66
- o.buttons ? (e(), a("div", $, [
69
+ o.buttons ? (e(), a("div", B, [
67
70
  (e(!0), a(l, null, p(o.buttons, (s) => (e(), u(d(_), {
68
71
  to: s.url
69
72
  }, {
@@ -80,7 +83,7 @@ const f = { class: "about-project" }, g = { class: "about-project-header" }, v =
80
83
  ])) : n("", !0)
81
84
  ])), 64))
82
85
  ]),
83
- t("div", B, [
86
+ t("div", C, [
84
87
  m(d(_), { to: { name: "DataProviderInterface-InputProject", query: { locale: "de", edit: !1 }, params: { property: "datasets" } } }, {
85
88
  default: y(() => [
86
89
  m(j, {
@@ -93,7 +96,7 @@ const f = { class: "about-project" }, g = { class: "about-project-header" }, v =
93
96
  ])
94
97
  ]));
95
98
  }
96
- }, L = /* @__PURE__ */ F(C, [["__scopeId", "data-v-0d42e480"]]);
99
+ }, O = /* @__PURE__ */ g(N, [["__scopeId", "data-v-a7be0b11"]]);
97
100
  export {
98
- L as default
101
+ O as default
99
102
  };
@@ -4,8 +4,8 @@ import h from "./HomeTable.vue.js";
4
4
  import k from "./ProjectTable.vue.js";
5
5
  import v from "./Organisation.vue.js";
6
6
  /* empty css */
7
- import b from "../../../../../_virtual/_plugin-vue_export-helper.js";
8
- const j = { class: "dpi_home" }, y = { class: "copy-small-regular dpi_home-subtitle" }, I = { class: "header_sections" }, w = {
7
+ import j from "../../../../../_virtual/_plugin-vue_export-helper.js";
8
+ const b = { class: "dpi_home" }, y = { class: "copy-small-regular dpi_home-subtitle" }, I = { class: "header_sections" }, w = {
9
9
  __name: "DPIHome",
10
10
  setup(P) {
11
11
  const m = {
@@ -29,7 +29,7 @@ const j = { class: "dpi_home" }, y = { class: "copy-small-regular dpi_home-subti
29
29
  href: "https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap",
30
30
  rel: "stylesheet"
31
31
  }, null, -1)),
32
- t("div", j, [
32
+ t("div", b, [
33
33
  e[2] || (e[2] = t("h1", { class: "dpi_home-title" }, " Willkommen ", -1)),
34
34
  t("p", y, l(m[o.value]), 1),
35
35
  t("div", I, [
@@ -49,7 +49,7 @@ const j = { class: "dpi_home" }, y = { class: "copy-small-regular dpi_home-subti
49
49
  ])
50
50
  ], 64));
51
51
  }
52
- }, F = /* @__PURE__ */ b(w, [["__scopeId", "data-v-6a10ab12"]]);
52
+ }, F = /* @__PURE__ */ j(w, [["__scopeId", "data-v-446634a4"]]);
53
53
  export {
54
54
  F as default
55
55
  };
@@ -1,16 +1,16 @@
1
- import { ref as u, computed as l, watch as v, createElementBlock as r, openBlock as s, createElementVNode as t, createVNode as f, withCtx as y, unref as _, createStaticVNode as D, Fragment as S, renderList as x, createBlock as I } from "vue";
2
- import { useAsyncState as j, useDebounce as w } from "@vueuse/core";
1
+ import { ref as u, computed as l, watch as v, createElementBlock as o, openBlock as s, createElementVNode as a, createVNode as f, withCtx as P, unref as b, createStaticVNode as D, Fragment as S, renderList as x, createBlock as H } from "vue";
2
+ import { useAsyncState as I, useDebounce as w } from "@vueuse/core";
3
3
  import "axios";
4
4
  import "jquery";
5
- import { useRouter as H } from "vue-router";
6
- import { useStore as T } from "vuex";
5
+ import { useRouter as T } from "vue-router";
6
+ import { useStore as j } from "vuex";
7
7
  import { useRuntimeEnv as B } from "../../composables/useRuntimeEnv.js";
8
8
  import L from "../../widgets/AppLink.vue.js";
9
9
  import N from "./ui/ButtonV3.vue.js";
10
10
  import C from "./ui/TableRowV3.vue.js";
11
- import { formatDate as A } from "../utils/formatDate.js";
11
+ import { formatDate as E } from "../utils/formatDate.js";
12
12
  /* empty css */
13
- import E from "../../../../../_virtual/_plugin-vue_export-helper.js";
13
+ import A from "../../../../../_virtual/_plugin-vue_export-helper.js";
14
14
  const R = { class: "dpiV3_dpiHome V3-typography" }, U = { class: "dpiV3_homeHeadWrap" }, W = { class: "interactionButtonsDPIHome" }, q = { class: "dpiV3_table" }, z = {
15
15
  key: 0,
16
16
  class: "loading-screen"
@@ -21,46 +21,46 @@ const R = { class: "dpiV3_dpiHome V3-typography" }, U = { class: "dpiV3_homeHead
21
21
  __name: "ProjectTable",
22
22
  setup(M) {
23
23
  B();
24
- const i = T();
25
- H(), localStorage.getItem("dpi_duplicate"), u("");
26
- let d = l(() => i.getters["auth/getUserCatalogIds"]);
24
+ const d = j();
25
+ T(), localStorage.getItem("dpi_duplicate"), u("");
26
+ let r = l(() => d.getters["auth/getUserCatalogIds"]);
27
27
  u({
28
28
  loading: !1,
29
29
  message: "",
30
30
  confirm: () => null
31
31
  });
32
- const g = l(() => i.getters["auth/getUserData"]);
33
- l(() => g.value.rtpToken);
34
- const k = (a) => i.dispatch("snackbar/showSnackbar", a);
35
- async function c(a) {
32
+ const _ = l(() => d.getters["auth/getUserData"]);
33
+ l(() => _.value.rtpToken);
34
+ const g = (i) => d.dispatch("snackbar/showSnackbar", i);
35
+ function c(i) {
36
36
  return [
37
- { id: 1, title: { de: "Test-Projekt A" }, modified: Date.now() },
38
- { id: 2, title: { en: "Mock Project B" }, modified: Date.now() }
37
+ { id: 1, title: { de: "Test-Projekt A" }, modified: Date.now(), visibility: "Öffentlich" },
38
+ { id: 2, title: { en: "Mock Project B" }, modified: Date.now(), visibility: "Eingeschränkt" }
39
39
  ];
40
40
  }
41
41
  const {
42
42
  state: G,
43
43
  execute: h,
44
- isLoading: b,
44
+ isLoading: k,
45
45
  error: n
46
- } = j(async () => c(d.value), [], { immediate: !1 });
47
- v(d, () => {
48
- var a;
49
- ((a = d.value) == null ? void 0 : a.length) > 0 && h();
46
+ } = I(async () => c(r.value), [], { immediate: !1 });
47
+ v(r, () => {
48
+ var i;
49
+ ((i = r.value) == null ? void 0 : i.length) > 0 && h();
50
50
  }, { immediate: !0 }), v(n, () => {
51
- console.error(n), k({
51
+ console.error(n), g({
52
52
  message: n.message,
53
53
  color: "error"
54
54
  });
55
55
  });
56
- const V = w(b, 500);
57
- return (a, e) => (s(), r("div", R, [
58
- t("div", U, [
59
- e[0] || (e[0] = t("h2", { class: "dpiV3_tableHeader" }, " Ihre Projekte ", -1)),
60
- e[1] || (e[1] = t("p", null, "Hier sehen Sie alle Projekte, die Sie bearbeiten oder veröffentlichen können.", -1)),
61
- t("div", W, [
56
+ const V = w(k, 500);
57
+ return (i, e) => (s(), o("div", R, [
58
+ a("div", U, [
59
+ e[0] || (e[0] = a("h2", { class: "dpiV3_tableHeader" }, " Ihre Projekte ", -1)),
60
+ e[1] || (e[1] = a("p", null, "Hier sehen Sie alle Projekte, die Sie bearbeiten oder veröffentlichen können.", -1)),
61
+ a("div", W, [
62
62
  f(L, { to: { name: "DataProviderInterface-InputProject", query: { locale: "de", edit: !1 }, params: { property: "datasets" } } }, {
63
- default: y(() => [
63
+ default: P(() => [
64
64
  f(N, {
65
65
  "button-text": "Neues Projekt erstellen",
66
66
  size: "large"
@@ -70,27 +70,28 @@ const R = { class: "dpiV3_dpiHome V3-typography" }, U = { class: "dpiV3_homeHead
70
70
  })
71
71
  ])
72
72
  ]),
73
- t("div", q, [
74
- _(V) ? (s(), r("div", z, e[2] || (e[2] = [
75
- t("p", null, "Lädt Daten...", -1)
76
- ]))) : (s(), r("div", F, [
77
- e[3] || (e[3] = D('<div class="dpiV3_tableHeadWrap" data-v-13d69c74><div class="dpiV3_thWrap" data-v-13d69c74><div scope="col" data-v-13d69c74><span data-v-13d69c74>Name</span></div><div scope="col" class="dpiV3_statusHead" data-v-13d69c74><span data-v-13d69c74>Status</span></div></div><div class="dpiV3_blankCell" data-v-13d69c74></div></div>', 1)),
78
- t("div", null, [
79
- (s(!0), r(S, null, x(c(), (o, P) => {
80
- var m, p;
81
- return s(), I(C, {
82
- key: o.id ?? P,
83
- text: ((m = o.title) == null ? void 0 : m.de) || ((p = o.title) == null ? void 0 : p.en) || "Kein Titel in englisch oder deutsch vohanden",
84
- date: o.modified ? _(A)(o.modified) : "-",
85
- dataset: o
86
- }, null, 8, ["text", "date", "dataset"]);
73
+ a("div", q, [
74
+ b(V) ? (s(), o("div", z, e[2] || (e[2] = [
75
+ a("p", null, "Lädt Daten...", -1)
76
+ ]))) : (s(), o("div", F, [
77
+ e[3] || (e[3] = D('<div class="dpiV3_tableHeadWrap" data-v-5a97bada><div class="dpiV3_thWrap" data-v-5a97bada><div scope="col" data-v-5a97bada><span data-v-5a97bada>Name</span></div><div scope="col" class="dpiV3_statusHead" data-v-5a97bada><span data-v-5a97bada>Status</span></div><div scope="col" class="dpiV3_statusHead" data-v-5a97bada><span data-v-5a97bada>Sichtbarkeit</span></div></div><div class="dpiV3_blankCell" data-v-5a97bada></div></div>', 1)),
78
+ a("div", null, [
79
+ (s(!0), o(S, null, x(c(), (t, y) => {
80
+ var p, m;
81
+ return s(), H(C, {
82
+ key: t.id ?? y,
83
+ text: ((p = t.title) == null ? void 0 : p.de) || ((m = t.title) == null ? void 0 : m.en) || "Kein Titel in englisch oder deutsch vohanden",
84
+ date: t.modified ? b(E)(t.modified) : "-",
85
+ dataset: t,
86
+ visibility: t.visibility
87
+ }, null, 8, ["text", "date", "dataset", "visibility"]);
87
88
  }), 128))
88
89
  ])
89
90
  ]))
90
91
  ])
91
92
  ]));
92
93
  }
93
- }, ie = /* @__PURE__ */ E(K, [["__scopeId", "data-v-13d69c74"]]);
94
+ }, de = /* @__PURE__ */ A(K, [["__scopeId", "data-v-5a97bada"]]);
94
95
  export {
95
- ie as default
96
+ de as default
96
97
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ActionCard.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8fad84a6"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-bcd49214"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,30 +1,31 @@
1
- import { defineComponent as v, computed as C, createElementBlock as d, openBlock as a, normalizeClass as _, createElementVNode as s, createBlock as V, withCtx as i, renderSlot as t, createCommentVNode as y, createVNode as l } from "vue";
2
- import p from "./ButtonV3.vue.js";
3
- import $ from "./SummaryBox.vue.js";
4
- const k = { class: "dpiV3_Card_Header" }, B = {
1
+ import { defineComponent as C, computed as y, createElementBlock as s, openBlock as o, normalizeClass as V, createElementVNode as n, createBlock as _, withCtx as i, renderSlot as t, createCommentVNode as l, createVNode as p } from "vue";
2
+ import m from "./ButtonV3.vue.js";
3
+ import k from "./SummaryBox.vue.js";
4
+ const $ = { class: "dpiV3_Card_Header" }, B = {
5
5
  key: 1,
6
6
  class: "standalone-text"
7
- }, h = { class: "dpiV3_Card_Actions" }, E = { class: "dpiV3_Card_Body" }, A = /* @__PURE__ */ v({
7
+ }, h = { class: "dpiV3_Card_Actions" }, E = { class: "dpiV3_Card_Body" }, A = /* @__PURE__ */ C({
8
8
  __name: "ActionCard",
9
9
  props: {
10
10
  variant: { default: "default" },
11
- noEdit: { type: Boolean, default: !1 }
11
+ noEdit: { type: Boolean, default: !1 },
12
+ noDelete: { type: Boolean, default: !0 }
12
13
  },
13
14
  emits: ["edit", "delete"],
14
- setup(m, { emit: c }) {
15
- const r = m, n = c, u = C(() => ({
15
+ setup(u, { emit: c }) {
16
+ const r = u, d = c, f = y(() => ({
16
17
  "V3-typography": !0,
17
18
  dpiV3_Card: !0,
18
19
  "dpiV3_Card--default": r.variant === "default",
19
20
  "dpiV3_Card--error": r.variant === "error"
20
21
  }));
21
- return (e, o) => (a(), d("div", {
22
- class: _(u.value)
22
+ return (e, a) => (o(), s("div", {
23
+ class: V(f.value)
23
24
  }, [
24
- s("div", k, [
25
- e.$slots["standalone-name"] ? (a(), d("span", B, [
25
+ n("div", $, [
26
+ e.$slots["standalone-name"] ? (o(), s("span", B, [
26
27
  t(e.$slots, "standalone-name")
27
- ])) : (a(), V($, { key: 0 }, {
28
+ ])) : (o(), _(k, { key: 0 }, {
28
29
  title: i(() => [
29
30
  t(e.$slots, "sub-title")
30
31
  ]),
@@ -33,33 +34,34 @@ const k = { class: "dpiV3_Card_Header" }, B = {
33
34
  ]),
34
35
  _: 3
35
36
  })),
36
- s("div", h, [
37
- e.noEdit ? y("", !0) : (a(), d("div", {
37
+ n("div", h, [
38
+ e.noEdit ? l("", !0) : (o(), s("div", {
38
39
  key: 0,
39
- onClick: o[0] || (o[0] = (f) => n("edit"))
40
+ onClick: a[0] || (a[0] = (v) => d("edit"))
40
41
  }, [
41
42
  t(e.$slots, "edit-icon", {}, () => [
42
- l(p, {
43
+ p(m, {
43
44
  size: "large",
44
45
  "icon-start": "pen",
45
46
  variant: "secondary"
46
47
  })
47
48
  ])
48
49
  ])),
49
- s("div", {
50
- onClick: o[1] || (o[1] = (f) => n("delete"))
50
+ e.noDelete ? (o(), s("div", {
51
+ key: 1,
52
+ onClick: a[1] || (a[1] = (v) => d("delete"))
51
53
  }, [
52
54
  t(e.$slots, "delete-icon", {}, () => [
53
- l(p, {
55
+ p(m, {
54
56
  size: "large",
55
57
  "icon-start": "Trash",
56
58
  variant: "secondary"
57
59
  })
58
60
  ])
59
- ])
61
+ ])) : l("", !0)
60
62
  ])
61
63
  ]),
62
- s("div", E, [
64
+ n("div", E, [
63
65
  t(e.$slots, "default")
64
66
  ])
65
67
  ], 2));
@@ -21,7 +21,7 @@ const z = { class: "dpiV3_page V3-typography" }, k = { class: "funny-section" },
21
21
  "onUpdate:modelValue": t[0] || (t[0] = (l) => s.value = l),
22
22
  label: "Beschreibung",
23
23
  type: r(_),
24
- name: "project_description",
24
+ name: "projectDescription",
25
25
  "text-label": "Name",
26
26
  placeholder: "Geben Sie Ihrem Projekt einen Namen.",
27
27
  validation: "required|length:0,500",
@@ -59,7 +59,7 @@ const z = { class: "dpiV3_page V3-typography" }, k = { class: "funny-section" },
59
59
  ])
60
60
  ]));
61
61
  }
62
- }, F = /* @__PURE__ */ b(P, [["__scopeId", "data-v-9ea5f3f2"]]);
62
+ }, F = /* @__PURE__ */ b(P, [["__scopeId", "data-v-9f4e9fc8"]]);
63
63
  export {
64
64
  F as default
65
65
  };
@@ -1,38 +1,35 @@
1
- import { createElementBlock as n, openBlock as r, createElementVNode as e, createVNode as o, unref as s } from "vue";
2
- import { FormKit as i } from "@formkit/vue";
3
- import a from "../../../components/StepActionsSection.vue.js";
4
- import l from "../ListBox/ListBoxDefinition.js";
1
+ import { ref as r, createElementBlock as i, openBlock as a, createElementVNode as e, createVNode as o, unref as s } from "vue";
2
+ import { FormKit as l } from "@formkit/vue";
3
+ import c from "../../../components/StepActionsSection.vue.js";
4
+ import p from "../ListBox/ListBoxDefinition.js";
5
5
  /* empty css */
6
- import c from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
7
- const p = { class: "dpiV3_page V3-typography" }, d = { class: "funny-section" }, m = { class: "funny-flex" }, u = { class: "funny-section" }, _ = {
6
+ import u from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
7
+ const d = { class: "dpiV3_page V3-typography" }, f = { class: "funny-section" }, m = { class: "funny-flex" }, _ = { class: "funny-section" }, h = {
8
8
  __name: "ProjectStatusStep",
9
- setup(f) {
10
- return (h, t) => (r(), n("div", p, [
11
- e("section", d, [
9
+ setup(S) {
10
+ const n = r(["Offen", "In Arbeit", "Abgeschlossen"]);
11
+ return (b, t) => (a(), i("div", d, [
12
+ e("section", f, [
12
13
  e("div", m, [
13
14
  t[0] || (t[0] = e("h4", null, " Legen Sie den Status Ihres Projekts fest ", -1)),
14
15
  t[1] || (t[1] = e("span", { class: "copy-large-regular" }, "Ist Ihr Projekt noch in Planung, in Arbeit oder bereits abgeschlossen?", -1)),
15
- o(s(i), {
16
- type: s(l),
16
+ o(s(l), {
17
+ type: s(p),
17
18
  name: "projectName",
18
19
  label: "Projektstatus",
19
20
  placeholder: "Wählen Sie den Projektstatus.",
20
- options: [
21
- { id: "open", name: "Offen" },
22
- { id: "in_progress", name: "In Arbeit" },
23
- { id: "done", name: "Abgeschlossen" }
24
- ],
21
+ options: n.value,
25
22
  validation: "required",
26
23
  "validation-label": "Projektstatus"
27
- }, null, 8, ["type"])
24
+ }, null, 8, ["type", "options"])
28
25
  ])
29
26
  ]),
30
- e("section", u, [
31
- o(a)
27
+ e("section", _, [
28
+ o(c)
32
29
  ])
33
30
  ]));
34
31
  }
35
- }, k = /* @__PURE__ */ c(_, [["__scopeId", "data-v-835a4f9c"]]);
32
+ }, x = /* @__PURE__ */ u(h, [["__scopeId", "data-v-4e2fe302"]]);
36
33
  export {
37
- k as default
34
+ x as default
38
35
  };
@@ -1,8 +1,9 @@
1
- import { useAttrs as C, ref as c, computed as S, createElementBlock as F, createCommentVNode as d, openBlock as s, normalizeClass as P, createBlock as r, resolveDynamicComponent as D, mergeProps as M, withModifiers as T, withCtx as W, createElementVNode as w, unref as f, toDisplayString as N } from "vue";
2
- import { PhMagnifyingGlass as m, PhX as b } from "@phosphor-icons/vue";
1
+ import { useAttrs as C, ref as f, computed as S, createElementBlock as F, createCommentVNode as c, openBlock as n, normalizeClass as M, createBlock as d, resolveDynamicComponent as P, mergeProps as D, withModifiers as T, unref as r, withCtx as W, createElementVNode as w, toDisplayString as N } from "vue";
2
+ import { PhMagnifyingGlass as m, PhX as V } from "@phosphor-icons/vue";
3
+ import { useVModel as j } from "@vueuse/core";
3
4
  /* empty css */
4
- import j from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
- const q = ["title"], A = { class: "dpiV3_chipBody-text" }, E = {
5
+ import q from "../../../../../../_virtual/_plugin-vue_export-helper.js";
6
+ const A = ["title"], E = { class: "dpiV3_chipBody-text" }, G = {
6
7
  __name: "Chip",
7
8
  props: {
8
9
  text: {
@@ -20,45 +21,52 @@ const q = ["title"], A = { class: "dpiV3_chipBody-text" }, E = {
20
21
  as: {
21
22
  type: String,
22
23
  default: "button"
24
+ },
25
+ selectValue: {
26
+ type: Boolean,
27
+ default: !1
23
28
  }
24
29
  },
25
- emits: ["click", "selection-change"],
26
- setup(e, { emit: V }) {
27
- const a = e, h = V, v = C(), n = c(), t = c(a.setup["@selected"]), y = c(), o = c("16px");
28
- function k(u) {
30
+ emits: ["click", "selection-change", "update:selectValue"],
31
+ setup(e, { emit: b }) {
32
+ const t = e, h = b, v = C(), u = f(), i = j(t, "selectValue", h, {
33
+ defaultValue: t.setup["@selected"],
34
+ passive: !0
35
+ }), y = f(), o = f("16px");
36
+ function k(s) {
29
37
  }
30
- function x(u, i) {
31
- if (u != "disabled" && u != "default" && u != "static" && (n.value.children[0].classList.toggle("dpiV3_chipSelected"), t.value = !t.value, h("click", a.data), h("selection-change", {
32
- selected: t.value,
33
- data: a.data
34
- }), t.value))
35
- for (let l = 0; l < n.value.children[0].children.length; l++)
36
- n.value.children[0].children[l].tagName === "IMG" && !y.value && (t.value ? n.value.children[0].children[l].src = X : n.value.children[0].children[l].src = XB);
38
+ function x(s, l) {
39
+ if (s != "disabled" && s != "default" && s != "static" && (u.value.children[0].classList.toggle("dpiV3_chipSelected"), i.value = !i.value, h("click", t.data), h("selection-change", {
40
+ selected: i.value,
41
+ data: t.data
42
+ }), i.value))
43
+ for (let a = 0; a < u.value.children[0].children.length; a++)
44
+ u.value.children[0].children[a].tagName === "IMG" && !y.value && (i.value ? u.value.children[0].children[a].src = X : u.value.children[0].children[a].src = XB);
37
45
  }
38
- a.setup["@type"] === "selected" && (t.value = !0), a.setup["@search"] && (y.value = !0);
39
- const p = c(!1);
40
- function g(u) {
46
+ t.setup["@type"] === "selected" && (i.value = !0), t.setup["@search"] && (y.value = !0);
47
+ const p = f(!1);
48
+ function g(s) {
41
49
  p.value = !0;
42
50
  }
43
- function z() {
51
+ function B() {
44
52
  p.value = !1;
45
53
  }
46
- const B = S(() => a.as === "button" ? {
54
+ const z = S(() => t.as === "button" ? {
47
55
  type: "button",
48
56
  ...v
49
57
  } : v);
50
- return (u, i) => typeof e.text < "u" ? (s(), F("div", {
58
+ return (s, l) => typeof e.text < "u" ? (n(), F("div", {
51
59
  key: 0,
52
60
  ref_key: "chipWrap",
53
- ref: n,
54
- class: P(["dpiV3_chipBorder", { dpiV3_focusBorder: p.value, dpiV3_inTableWrap: e.setup["@inTable"], dpiV3_inRaPFindability_outer: e.setup["@rapfindability"] }]),
61
+ ref: u,
62
+ class: M(["dpiV3_chipBorder", { dpiV3_focusBorder: p.value, dpiV3_inTableWrap: e.setup["@inTable"], dpiV3_inRaPFindability_outer: e.setup["@rapfindability"] }]),
55
63
  title: e.text,
56
64
  onClick: k
57
65
  }, [
58
- (s(), r(D(e.as), M(B.value, {
66
+ (n(), d(P(e.as), D(z.value, {
59
67
  class: ["dpiV3_chipBody", {
60
68
  dpiV3_chipUnselected: e.setup["@type"] === "select",
61
- dpiV3_chipSelected: t.value,
69
+ dpiV3_chipSelected: r(i),
62
70
  dpiV3_chipDefault: e.setup["@type"] === "default",
63
71
  dpiV3_chipDisabled: e.setup["@type"] === "disabled",
64
72
  dpiV3_specialFocus: p.value,
@@ -68,36 +76,36 @@ const q = ["title"], A = { class: "dpiV3_chipBody-text" }, E = {
68
76
  dpiV3_inRaPFindability: e.setup["@rapfindability"]
69
77
  }],
70
78
  disabled: e.setup["@type"] === "disabled" || e.setup["@type"] === "static",
71
- onClick: i[0] || (i[0] = (l) => x(e.setup["@type"])),
72
- onMousedown: i[1] || (i[1] = T(() => {
79
+ onClick: l[0] || (l[0] = (a) => x(e.setup["@type"])),
80
+ onMousedown: l[1] || (l[1] = T(() => {
73
81
  }, ["prevent"])),
74
- onFocus: i[2] || (i[2] = (l) => g()),
75
- onBlur: z
82
+ onFocus: l[2] || (l[2] = (a) => g()),
83
+ onBlur: B
76
84
  }), {
77
85
  default: W(() => [
78
- e.setup["@search"] && e.setup["@icon"] === "prefix" ? (s(), r(f(m), {
86
+ e.setup["@search"] && e.setup["@icon"] === "prefix" ? (n(), d(r(m), {
79
87
  key: 0,
80
88
  size: o.value
81
- }, null, 8, ["size"])) : d("", !0),
82
- !e.setup["@search"] && e.setup["@icon"] === "prefix" ? (s(), r(f(b), {
89
+ }, null, 8, ["size"])) : c("", !0),
90
+ !e.setup["@search"] && e.setup["@icon"] === "prefix" ? (n(), d(r(V), {
83
91
  key: 1,
84
92
  size: o.value
85
- }, null, 8, ["size"])) : d("", !0),
86
- w("span", A, N(e.text), 1),
87
- !e.setup["@search"] && e.setup["@icon"] === "suffix" ? (s(), r(f(b), {
93
+ }, null, 8, ["size"])) : c("", !0),
94
+ w("span", E, N(e.text), 1),
95
+ !e.setup["@search"] && e.setup["@icon"] === "suffix" ? (n(), d(r(V), {
88
96
  key: 2,
89
97
  size: o.value
90
- }, null, 8, ["size"])) : d("", !0),
91
- e.setup["@search"] && e.setup["@icon"] === "suffix" ? (s(), r(f(m), {
98
+ }, null, 8, ["size"])) : c("", !0),
99
+ e.setup["@search"] && e.setup["@icon"] === "suffix" ? (n(), d(r(m), {
92
100
  key: 3,
93
101
  size: o.value
94
- }, null, 8, ["size"])) : d("", !0)
102
+ }, null, 8, ["size"])) : c("", !0)
95
103
  ]),
96
104
  _: 1
97
105
  }, 16, ["class", "disabled"]))
98
- ], 10, q)) : d("", !0);
106
+ ], 10, A)) : c("", !0);
99
107
  }
100
- }, $ = /* @__PURE__ */ j(E, [["__scopeId", "data-v-4d5c66f5"]]);
108
+ }, U = /* @__PURE__ */ q(G, [["__scopeId", "data-v-c0f41940"]]);
101
109
  export {
102
- $ as default
110
+ U as default
103
111
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ChipToggleList.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f4348c10"]]);
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-bc5c88ab"]]);
5
5
  export {
6
- i as default
6
+ c as default
7
7
  };