@piveau/dpi 0.2.0-alpha.7 → 0.2.0-alpha.9

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 (51) 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/ButtonV3.vue.js +30 -29
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +1 -1
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +119 -137
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +7 -0
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +189 -0
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +11 -11
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +25 -25
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +1 -1
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +1 -1
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +117 -117
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +5 -72
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +72 -2
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +22 -22
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +1 -1
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +9 -4
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepsOverviewStep.vue.js +12 -12
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +1 -1
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +16 -15
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js +31 -26
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +32 -26
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js +7 -7
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +30 -25
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +67 -27
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +5 -932
  32. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +1053 -2
  33. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/StateTag.vue.js +17 -13
  34. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SummaryBox.vue.js +1 -1
  35. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SummaryBox.vue2.js +14 -10
  36. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +84 -73
  37. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +41 -46
  38. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  39. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +41 -38
  40. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue.js +2 -2
  41. package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue2.js +22 -22
  42. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +158 -156
  43. package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +1 -1
  44. package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +6 -6
  45. package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +1 -1
  46. package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +15 -12
  47. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
  48. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +1 -0
  49. package/package.json +1 -1
  50. package/dist/packages/dpi/src/stories/components/MethodsCard.vue.js +0 -7
  51. package/dist/packages/dpi/src/stories/components/MethodsCard.vue2.js +0 -45
@@ -2,8 +2,8 @@
2
2
  /* empty css */
3
3
  import { createElementBlock as e, openBlock as s, normalizeClass as o, createCommentVNode as a, createElementVNode as i, toDisplayString as c } from "vue";
4
4
  import l from "../img/Ellipse2Published.svg.js";
5
- import m from "../img/Ellipse2Warning.svg.js";
6
- import n from "../img/Ellipse2Error.svg.js";
5
+ import n from "../img/Ellipse2Warning.svg.js";
6
+ import m from "../img/Ellipse2Error.svg.js";
7
7
  /* empty css */
8
8
  import _ from "../../../../../../_virtual/_plugin-vue_export-helper.js";
9
9
  const d = {
@@ -22,6 +22,10 @@ const d = {
22
22
  type: String,
23
23
  default: "table"
24
24
  // "table", "page", or other custom sizes
25
+ },
26
+ hasDotIcon: {
27
+ type: Boolean,
28
+ default: !0
25
29
  }
26
30
  },
27
31
  computed: {
@@ -32,33 +36,33 @@ const d = {
32
36
  return `state-tag--${this.size}`;
33
37
  }
34
38
  }
35
- }, p = {
39
+ }, u = {
36
40
  key: 0,
37
41
  class: "dot",
38
42
  src: l,
39
43
  alt: ""
40
- }, u = {
44
+ }, f = {
41
45
  key: 1,
42
46
  class: "dot",
43
- src: m,
47
+ src: n,
44
48
  alt: ""
45
- }, f = {
49
+ }, p = {
46
50
  key: 2,
47
51
  class: "dot",
48
- src: n,
52
+ src: m,
49
53
  alt: ""
50
54
  }, g = { class: "label" };
51
- function h(y, C, t, S, b, r) {
55
+ function h(y, b, t, C, S, r) {
52
56
  return s(), e("div", {
53
57
  class: o(["state-tag", [r.stateClass, r.sizeClass]])
54
58
  }, [
55
- t.state === "published" ? (s(), e("img", p)) : a("", !0),
56
- t.state === "draft" ? (s(), e("img", u)) : a("", !0),
57
- t.state === "error" ? (s(), e("img", f)) : a("", !0),
59
+ t.state === "published" && t.hasDotIcon ? (s(), e("img", u)) : a("", !0),
60
+ t.state === "draft" && t.hasDotIcon ? (s(), e("img", f)) : a("", !0),
61
+ t.state === "error" && t.hasDotIcon ? (s(), e("img", p)) : a("", !0),
58
62
  i("span", g, c(t.label), 1)
59
63
  ], 2);
60
64
  }
61
- const T = /* @__PURE__ */ _(d, [["render", h], ["__scopeId", "data-v-acd8463a"]]);
65
+ const E = /* @__PURE__ */ _(d, [["render", h], ["__scopeId", "data-v-65fb0446"]]);
62
66
  export {
63
- T as default
67
+ E as default
64
68
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./SummaryBox.vue2.js";
2
2
  /* empty css */
3
3
  import m from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ m(o, [["__scopeId", "data-v-91940b27"]]);
4
+ const p = /* @__PURE__ */ m(o, [["__scopeId", "data-v-36d0d28b"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,23 +1,27 @@
1
- import { defineComponent as l, createElementBlock as a, openBlock as n, renderSlot as t, createElementVNode as o, createTextVNode as r, toDisplayString as s } from "vue";
2
- const i = { class: "summary-box" }, p = { class: "copy-large-regular" }, d = { class: "headline-5" }, _ = /* @__PURE__ */ l({
1
+ import { defineComponent as i, createElementBlock as o, openBlock as s, renderSlot as t, createCommentVNode as p, createTextVNode as r, toDisplayString as l, createElementVNode as d } from "vue";
2
+ const c = { class: "summary-box" }, m = {
3
+ key: 0,
4
+ class: "copy-large-regular"
5
+ }, u = { class: "headline-5" }, y = /* @__PURE__ */ i({
3
6
  __name: "SummaryBox",
4
7
  props: {
5
8
  title: {},
6
9
  text: {}
7
10
  },
8
- setup(c) {
9
- return (e, u) => (n(), a("div", i, [
11
+ setup(a) {
12
+ const n = a;
13
+ return (e, f) => (s(), o("div", c, [
10
14
  t(e.$slots, "title-wrapper", {}, () => [
11
- o("div", p, [
15
+ e.$slots.title || n.title ? (s(), o("div", m, [
12
16
  t(e.$slots, "title", {}, () => [
13
- r(s(e.title), 1)
17
+ r(l(e.title), 1)
14
18
  ], !0)
15
- ])
19
+ ])) : p("", !0)
16
20
  ], !0),
17
21
  t(e.$slots, "content-wrapper", {}, () => [
18
- o("div", d, [
22
+ d("div", u, [
19
23
  t(e.$slots, "default", {}, () => [
20
- r(s(e.text), 1)
24
+ r(l(e.text), 1)
21
25
  ], !0)
22
26
  ])
23
27
  ], !0)
@@ -25,5 +29,5 @@ const i = { class: "summary-box" }, p = { class: "copy-large-regular" }, d = { c
25
29
  }
26
30
  });
27
31
  export {
28
- _ as default
32
+ y as default
29
33
  };
@@ -1,5 +1,5 @@
1
- import { ref as u, watch as $, createElementBlock as N, openBlock as c, Fragment as F, createElementVNode as o, createBlock as v, createCommentVNode as g, withKeys as m, normalizeClass as H, withModifiers as b, unref as n, toDisplayString as x, isRef as T } from "vue";
2
- import _ from "./StateTag.vue.js";
1
+ import { ref as u, watch as $, createElementBlock as N, openBlock as c, Fragment as F, createElementVNode as o, createBlock as f, createCommentVNode as b, withKeys as h, normalizeClass as H, withModifiers as m, unref as n, toDisplayString as S, isRef as _ } from "vue";
2
+ import w from "./StateTag.vue.js";
3
3
  import L from "./Dropdown.vue.js";
4
4
  import j from "./ModalSimpleV3.vue.js";
5
5
  import q from "./Toast.vue.js";
@@ -8,8 +8,8 @@ import { useRouter as O } from "vue-router";
8
8
  import { useDpiUtils as W } from "../../composables/useDpiUtils.js";
9
9
  /* empty css */
10
10
  import G from "../../../../../../_virtual/_plugin-vue_export-helper.js";
11
- import { useDpiContext as S } from "../../composables/useDpiContext.js";
12
- const P = { class: "dpiV3_tableRowInner" }, Q = { class: "dpiV3_TableRowDescContainer" }, X = { class: "dpiV3_dsDesc" }, Y = { class: "dpiV3_TableRowStatus" }, Z = { class: "dpiV3_TableRowUpdated" }, ee = { class: "dpiV3_TableRowButtonWrap" }, te = {
11
+ import { useDpiContext as z } from "../../composables/useDpiContext.js";
12
+ const P = { class: "dpiV3_tableRowInner" }, Q = { class: "dpiV3_TableRowDescContainer" }, X = { class: "dpiV3_dsDesc" }, Y = { class: "dpiV3_TableRowStatus" }, Z = { class: "dpiV3_TableRowUpdated" }, ee = { class: "dpiV3_TableRowStatus" }, te = { class: "dpiV3_TableRowButtonWrap" }, ae = {
13
13
  __name: "TableRowV3",
14
14
  props: {
15
15
  text: {
@@ -19,6 +19,9 @@ const P = { class: "dpiV3_tableRowInner" }, Q = { class: "dpiV3_TableRowDescCont
19
19
  draft: {
20
20
  type: Boolean
21
21
  },
22
+ visibility: {
23
+ type: String
24
+ },
22
25
  date: {
23
26
  type: Object,
24
27
  required: !0
@@ -28,31 +31,31 @@ const P = { class: "dpiV3_tableRowInner" }, Q = { class: "dpiV3_TableRowDescCont
28
31
  catalogue: String,
29
32
  dataset: Object
30
33
  },
31
- setup(z) {
32
- const h = J();
34
+ setup(g) {
35
+ const D = J();
33
36
  O();
34
- let r = u(!1), l = u(!1), f = u(!1), i = u({}), d = u({}), D = u({ edit: { fromDraft: !1 } });
35
- S() && (D = S());
36
- const s = z, { toEditMode: R } = W(), B = () => {
37
- const t = s.draft, e = s.catalogue, a = s.id || s.dataset.id || s.catalogue.id;
38
- R({ id: a, catalogId: e, isDraft: t, locale: "de" });
39
- }, C = (t, e, a, U) => {
40
- console.log(s.dataset), h.dispatch("auth/putDatasetToDraft", { id: t, catalog: e, title: a, description: U });
37
+ let l = u(!1), i = u(!1), p = u(!1), r = u({}), d = u({}), y = u({ edit: { fromDraft: !1 } });
38
+ z() && (y = z());
39
+ const a = g, { toEditMode: R } = W(), B = () => {
40
+ const t = a.draft, e = a.catalogue, s = a.id || a.dataset.id || a.catalogue.id;
41
+ R({ id: s, catalogId: e, isDraft: t, locale: "de" });
42
+ }, C = (t, e, s, U) => {
43
+ console.log(a.dataset), D.dispatch("auth/putDatasetToDraft", { id: t, catalog: e, title: s, description: U });
41
44
  }, M = (t, e) => {
42
- h.dispatch("auth/deleteUserDraftById", { id: t, catalog: e });
45
+ D.dispatch("auth/deleteUserDraftById", { id: t, catalog: e });
43
46
  }, A = (t, e) => {
44
- h.dispatch("auth/publishUserDraftById", { id: t, catalog: e });
45
- }, E = () => {
46
- f.value = !1, setTimeout(() => {
47
- l.value = !1;
47
+ D.dispatch("auth/publishUserDraftById", { id: t, catalog: e });
48
+ }, I = () => {
49
+ p.value = !1, setTimeout(() => {
50
+ i.value = !1;
48
51
  }, 2e3);
49
52
  };
50
- $(l, (t) => {
53
+ $(i, (t) => {
51
54
  t && setTimeout(() => {
52
- f.value || (l.value = !1);
55
+ p.value || (i.value = !1);
53
56
  }, 2e3);
54
57
  });
55
- const I = () => s.draft ? [
58
+ const E = () => a.draft ? [
56
59
  { "@value": "Ansehen", selected: !1 },
57
60
  { "@value": "Bearbeiten", selected: !1 },
58
61
  { "@value": "Veröffentlichen", selected: !1 },
@@ -65,7 +68,7 @@ const P = { class: "dpiV3_tableRowInner" }, Q = { class: "dpiV3_TableRowDescCont
65
68
  ], K = (t) => {
66
69
  switch (t) {
67
70
  case "publishDataset":
68
- A(s.id, s.catalogue), console.log("Datensatz wird veröffentlicht"), l.value = !0, d.value = {
71
+ A(a.id, a.catalogue), console.log("Datensatz wird veröffentlicht"), i.value = !0, d.value = {
69
72
  type: "success",
70
73
  text: "Der Datensatz wurde veröffentlicht",
71
74
  button: "Ansehen",
@@ -73,7 +76,7 @@ const P = { class: "dpiV3_tableRowInner" }, Q = { class: "dpiV3_TableRowDescCont
73
76
  };
74
77
  break;
75
78
  case "deleteDataset":
76
- M(s.id, s.catalogue), l.value = !0, d.value = {
79
+ M(a.id, a.catalogue), i.value = !0, d.value = {
77
80
  type: "success",
78
81
  text: "Der Datensatz wurde erfolgreich gelöscht",
79
82
  button: "Rückgängig machen",
@@ -82,131 +85,139 @@ const P = { class: "dpiV3_tableRowInner" }, Q = { class: "dpiV3_TableRowDescCont
82
85
  break;
83
86
  case "setToDraft":
84
87
  C(
85
- s.dataset.id,
86
- s.dataset.catalog.id,
87
- s.dataset.title,
88
- s.dataset.description
89
- ), l.value = !0, d.value = {
88
+ a.dataset.id,
89
+ a.dataset.catalog.id,
90
+ a.dataset.title,
91
+ a.dataset.description
92
+ ), i.value = !0, d.value = {
90
93
  type: "success",
91
94
  text: "Der Datensatz wurde erfolgreich zu einem Entwurf zurückgesetzt",
92
95
  button: "Rückgängig machen",
93
96
  action: "revertToDraft"
94
97
  };
95
98
  }
96
- }, w = (t) => {
99
+ }, k = (t) => {
97
100
  let e = "";
98
101
  switch (typeof t == "string" ? e = t : e = t.target.innerText, e) {
99
102
  case "Bearbeiten":
100
103
  B();
101
104
  break;
102
105
  case "Veröffentlichen":
103
- i.value = {
106
+ r.value = {
104
107
  button: "Veröffentlichen",
105
108
  header: "Datensatz veröffentlichen",
106
109
  text: "Sind Sie sicher, dass Sie diesen Datensatz veröffentlichen möchten?",
107
110
  action: "publishDataset"
108
- }, r.value = !0;
111
+ }, l.value = !0;
109
112
  break;
110
113
  case "Löschen":
111
- i.value = {
114
+ r.value = {
112
115
  button: "Ja, löschen",
113
116
  header: "Datensatz endgültig löschen",
114
117
  text: "Möchten Sie diesen Datensatz wirklich endgültig löschen? Diese Aktion kann nicht rückgängig gemacht werden. Alle damit verbundenen Daten werden entfernt.",
115
118
  action: "deleteDataset"
116
- }, r.value = !0;
119
+ }, l.value = !0;
117
120
  break;
118
121
  case "Veröffentlichung aufheben":
119
- i.value = {
122
+ r.value = {
120
123
  button: "Ja",
121
124
  header: "Veröffentlichung aufheben",
122
125
  text: "Sind Sie sicher, dass Sie diesen Datensatz zu einem Entwurf zurücksetzen möchten?",
123
126
  action: "setToDraft"
124
- }, r.value = !0;
127
+ }, l.value = !0;
125
128
  break;
126
129
  }
127
130
  };
128
- let p = u(!1);
129
- const k = (t, e) => {
130
- e ? p.value = !0 : p.value = !1;
131
- }, V = (t) => {
132
- t.target.className != "dpiV3_more-button dpiV3_activeState" && (p.value = !0);
133
- }, y = (t) => {
134
- t.target.className != "dpiV3_more-button dpiV3_activeState" && (p.value = !1);
131
+ let v = u(!1);
132
+ const V = (t, e) => {
133
+ e ? v.value = !0 : v.value = !1;
134
+ }, T = (t) => {
135
+ t.target.className != "dpiV3_more-button dpiV3_activeState" && (v.value = !0);
136
+ }, x = (t) => {
137
+ t.target.className != "dpiV3_more-button dpiV3_activeState" && (v.value = !1);
135
138
  };
136
139
  return (t, e) => (c(), N(F, null, [
137
140
  o("button", {
138
141
  class: H(["dpiV3_tableRowWrapper", {
139
- dpiV3_pressedTableRow: n(p),
140
- tRowInDraft: s.fromDraft
142
+ dpiV3_pressedTableRow: n(v),
143
+ tRowInDraft: a.fromDraft
141
144
  }]),
142
145
  onKeydown: [
143
- e[3] || (e[3] = m(b((a) => V(a), ["prevent"]), ["space"])),
144
- e[4] || (e[4] = m(b((a) => V(a), ["prevent"]), ["enter"]))
146
+ e[3] || (e[3] = h(m((s) => T(s), ["prevent"]), ["space"])),
147
+ e[4] || (e[4] = h(m((s) => T(s), ["prevent"]), ["enter"]))
145
148
  ],
146
149
  onKeyup: [
147
- e[5] || (e[5] = m((a) => y(a), ["space"])),
148
- e[6] || (e[6] = m((a) => y(a), ["enter"]))
150
+ e[5] || (e[5] = h((s) => x(s), ["space"])),
151
+ e[6] || (e[6] = h((s) => x(s), ["enter"]))
149
152
  ]
150
153
  }, [
151
154
  o("div", P, [
152
155
  o("div", {
153
156
  class: "dpiV3_tableRowContent",
154
- onMousedown: e[0] || (e[0] = b((a) => k(a, !0), ["prevent"])),
155
- onMouseup: e[1] || (e[1] = b((a) => k(a, !1), ["prevent"])),
156
- onClick: e[2] || (e[2] = (a) => w("Bearbeiten"))
157
+ onMousedown: e[0] || (e[0] = m((s) => V(s, !0), ["prevent"])),
158
+ onMouseup: e[1] || (e[1] = m((s) => V(s, !1), ["prevent"])),
159
+ onClick: e[2] || (e[2] = (s) => k("Bearbeiten"))
157
160
  }, [
158
161
  o("div", Q, [
159
- o("span", X, x(s.text), 1)
162
+ o("span", X, S(a.text), 1)
160
163
  ]),
161
164
  o("div", Y, [
162
- s.draft ? (c(), v(_, {
165
+ a.draft ? (c(), f(w, {
163
166
  key: 1,
164
167
  label: "Entwurf",
165
168
  state: "draft"
166
- })) : (c(), v(_, {
169
+ })) : (c(), f(w, {
167
170
  key: 0,
168
171
  label: "Freigegeben",
169
172
  state: "published"
170
173
  })),
171
- o("span", Z, " Updated am: " + x(s.date), 1)
174
+ o("span", Z, " Updated am: " + S(a.date), 1)
175
+ ]),
176
+ o("div", ee, [
177
+ g.visibility ? (c(), f(w, {
178
+ key: 0,
179
+ label: g.visibility,
180
+ state: a.draft ? "draft" : "published",
181
+ hasDotIcon: !1
182
+ }, null, 8, ["label", "state"])) : b("", !0)
172
183
  ])
173
184
  ], 32),
174
- o("div", ee, [
175
- n(D).edit.fromDraft ? g("", !0) : (c(), v(L, {
185
+ o("div", te, [
186
+ n(y).edit.fromDraft ? b("", !0) : (c(), f(L, {
176
187
  key: 0,
177
- onClick: w,
188
+ onClick: k,
178
189
  type: "moreButton",
179
190
  alignment: "right",
180
191
  text: {
181
192
  support: "This is a supporting message"
182
193
  },
183
- data: I()
194
+ data: E()
184
195
  }, null, 8, ["data"]))
185
196
  ])
186
197
  ])
187
198
  ], 34),
188
- n(r) ? (c(), v(j, {
199
+ n(l) ? (c(), f(j, {
189
200
  key: 0,
190
- buttons: n(i).button,
191
- headerText: n(i).header,
192
- text: n(i).text,
193
- onClose: e[7] || (e[7] = (a) => T(r) ? r.value = !1 : r = !1),
194
- action: n(i).action,
195
- onActionHandling: e[8] || (e[8] = (a) => K(a))
196
- }, null, 8, ["buttons", "headerText", "text", "action"])) : g("", !0),
197
- n(l) ? (c(), v(q, {
201
+ buttons: n(r).button,
202
+ headerText: n(r).header,
203
+ text: n(r).text,
204
+ onClose: e[7] || (e[7] = (s) => _(l) ? l.value = !1 : l = !1),
205
+ action: n(r).action,
206
+ onActionHandling: e[8] || (e[8] = (s) => K(s))
207
+ }, null, 8, ["buttons", "headerText", "text", "action"])) : b("", !0),
208
+ n(i) ? (c(), f(q, {
198
209
  key: 1,
199
210
  type: n(d).type,
200
211
  text: n(d).text,
201
212
  class: "dpiV3_tableToast",
202
213
  button: n(d).button,
203
214
  action: n(d).action,
204
- onMouseenter: e[9] || (e[9] = (a) => T(f) ? f.value = !0 : f = !0),
205
- onMouseleave: E
206
- }, null, 8, ["type", "text", "button", "action"])) : g("", !0)
215
+ onMouseenter: e[9] || (e[9] = (s) => _(p) ? p.value = !0 : p = !0),
216
+ onMouseleave: I
217
+ }, null, 8, ["type", "text", "button", "action"])) : b("", !0)
207
218
  ], 64));
208
219
  }
209
- }, pe = /* @__PURE__ */ G(te, [["__scopeId", "data-v-4aa67196"]]);
220
+ }, ve = /* @__PURE__ */ G(ae, [["__scopeId", "data-v-9f89e274"]]);
210
221
  export {
211
- pe as default
222
+ ve as default
212
223
  };
@@ -1,10 +1,10 @@
1
- import { ref as o, watch as V, createElementBlock as c, openBlock as d, createElementVNode as l, createCommentVNode as p, createBlock as T, toDisplayString as f, normalizeStyle as C, normalizeClass as h, unref as u, withDirectives as H, vModelText as z } from "vue";
2
- import A from "./TextButtonSmall.vue.js";
1
+ import { ref as a, watch as y, createElementBlock as c, openBlock as d, createElementVNode as l, createCommentVNode as p, createBlock as S, toDisplayString as f, normalizeStyle as T, normalizeClass as v, unref as s, withDirectives as C, vModelText as A } from "vue";
2
+ import H from "./TextButtonSmall.vue.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  import L from "../../../../../../_virtual/_plugin-vue_export-helper.js";
7
- const R = { class: "dpiV3_input-field V3-typography" }, j = { class: "dpiV3_InputFieldBase" }, N = { class: "dpiV3_InputWithLabel" }, O = { class: "dpiV3_Top" }, U = { class: "dpiV3_Label" }, W = { class: "dpiV3_label copy-small-regular" }, $ = ["disabled", "maxlength", "placeholder"], q = {
7
+ const j = { class: "dpiV3_input-field V3-typography" }, z = { class: "dpiV3_InputFieldBase" }, N = { class: "dpiV3_InputWithLabel" }, R = { class: "dpiV3_Top" }, O = { class: "dpiV3_Label" }, U = { class: "dpiV3_label copy-small-regular" }, W = ["disabled", "maxlength", "placeholder"], q = {
8
8
  key: 1,
9
9
  class: "dpiV3_errorText copy-small-regular"
10
10
  }, G = {
@@ -50,52 +50,48 @@ const R = { class: "dpiV3_input-field V3-typography" }, j = { class: "dpiV3_Inpu
50
50
  }
51
51
  },
52
52
  emits: ["update:modelValue", "deleteClicked"],
53
- setup(e, { emit: g }) {
54
- const n = e, v = g;
55
- let s = o(!1), x = o(!1);
56
- const m = o(null);
57
- let w = o(!1), t = o("inset 0 0 0 1px var(--neutral-30, #687178)"), i = o(!1), b = o(!1);
58
- const r = o(n.modelValue);
59
- V(
60
- () => n.modelValue,
61
- (a) => {
62
- r.value = a;
53
+ setup(e, { emit: V }) {
54
+ const o = e, h = V;
55
+ let n = a(!1), x = a(!1);
56
+ const g = a(null);
57
+ let w = a(!1), t = a("inset 0 0 0 1px var(--neutral-30, #687178)"), u = a(!1), m = a(!1);
58
+ const i = a(o.modelValue);
59
+ y(
60
+ () => o.modelValue,
61
+ (r) => {
62
+ i.value = r;
63
63
  }
64
- ), V(r, (a) => {
65
- v("update:modelValue", a);
64
+ ), y(i, (r) => {
65
+ h("update:modelValue", r);
66
66
  });
67
67
  function _() {
68
- v("deleteClicked");
68
+ h("deleteClicked");
69
69
  }
70
70
  function B() {
71
- w.value = !1, i.value = !0, s.value = !0, t.value = "0 0 0 2px var(--blue-70, #009FE3)";
71
+ w.value = !1, u.value = !0, n.value = !0, t.value = "0 0 0 2px var(--blue-70, #009FE3)";
72
72
  }
73
73
  function E() {
74
- i.value = !1, s.value = !1, t.value = "inset 0 0 0 1px var(--neutral-30, #687178)";
74
+ u.value = !1, n.value = !1, t.value = "inset 0 0 0 1px var(--neutral-30, #687178)";
75
75
  }
76
76
  function I() {
77
- b.value = !0, t.value = "inset 0 0 0 1px var(--neutral-60, #687178)", i.value && (t.value = "0 0 0 2px var(--blue-70, #009FE3)");
77
+ m.value = !0, t.value = "inset 0 0 0 1px var(--neutral-60, #687178)", u.value && (t.value = "0 0 0 2px var(--blue-70, #009FE3)");
78
78
  }
79
79
  function M() {
80
- b.value = !1, t.value = "inset 0 0 0 1px var(--neutral-30, #687178)", i.value && (t.value = "0 0 0 2px var(--blue-70, #009FE3)");
80
+ m.value = !1, t.value = "inset 0 0 0 1px var(--neutral-30, #687178)", u.value && (t.value = "0 0 0 2px var(--blue-70, #009FE3)");
81
81
  }
82
82
  function F() {
83
- s.value && (t.value = "0 0 0 2px var(--blue-70, #009FE3)");
83
+ n.value && (t.value = "0 0 0 2px var(--blue-70, #009FE3)");
84
84
  }
85
85
  function k() {
86
86
  t.value = "inset 0 0 0 2px var(--Focused)";
87
87
  }
88
- function D() {
89
- const a = m.value;
90
- a.style.height = "auto", a.style.height = `${Math.min(a.scrollHeight, 372)}px`;
91
- }
92
- return (a, y) => (d(), c("div", R, [
93
- l("div", j, [
88
+ return (r, b) => (d(), c("div", j, [
89
+ l("div", z, [
94
90
  l("div", N, [
95
- l("div", O, [
96
- l("div", U, [
97
- l("label", W, f(n.label), 1),
98
- e.showDeleteButton ? (d(), T(A, {
91
+ l("div", R, [
92
+ l("div", O, [
93
+ l("label", U, f(o.label), 1),
94
+ e.showDeleteButton ? (d(), S(H, {
99
95
  key: 0,
100
96
  "button-text": "löschen",
101
97
  tabindex: "0",
@@ -104,23 +100,23 @@ const R = { class: "dpiV3_input-field V3-typography" }, j = { class: "dpiV3_Inpu
104
100
  ])
105
101
  ]),
106
102
  l("div", {
107
- class: h(["dpiV3_Input", {
103
+ class: v(["dpiV3_Input", {
108
104
  dpiV3_disabled: e.isDisabled,
109
- "error-state": e.showError && !u(s) && !u(x),
110
- "focused-error-state": e.showError && u(s),
111
- "filled-error-state": e.showError && u(x)
105
+ "error-state": e.showError && !s(n) && !s(x),
106
+ "focused-error-state": e.showError && s(n),
107
+ "filled-error-state": e.showError && s(x)
112
108
  }]),
113
- style: C({ "box-shadow": u(t) }),
109
+ style: T({ "box-shadow": s(t) }),
114
110
  onMouseenter: I,
115
111
  onMouseleave: M,
116
112
  onMousedown: F
117
113
  }, [
118
- H(l("textarea", {
114
+ C(l("textarea", {
119
115
  ref_key: "inputRef",
120
- ref: m,
121
- "onUpdate:modelValue": y[0] || (y[0] = (S) => r.value = S),
116
+ ref: g,
117
+ "onUpdate:modelValue": b[0] || (b[0] = (D) => i.value = D),
122
118
  type: "text",
123
- class: h(["dpiV3_textArea copy-large-regular", {
119
+ class: v(["dpiV3_textArea copy-large-regular", {
124
120
  "error-state": e.showError,
125
121
  dpiV3_input_disabled: e.isDisabled
126
122
  }]),
@@ -129,16 +125,15 @@ const R = { class: "dpiV3_input-field V3-typography" }, j = { class: "dpiV3_Inpu
129
125
  placeholder: e.placeholder,
130
126
  onFocus: B,
131
127
  onBlur: E,
132
- onMousedown: k,
133
- onInput: D
134
- }, null, 42, $), [
135
- [z, r.value]
128
+ onMousedown: k
129
+ }, null, 42, W), [
130
+ [A, i.value]
136
131
  ])
137
132
  ], 38)
138
133
  ]),
139
134
  e.hint && !e.showError ? (d(), c("div", {
140
135
  key: 0,
141
- class: h(["dpiV3_hintText", { "copy-large-semi-bold justify-content-end": n.countHint, "copy-small-regular": !n.countHint }])
136
+ class: v(["dpiV3_hintText", { "copy-large-semi-bold justify-content-end": o.countHint, "copy-small-regular": !o.countHint }])
142
137
  }, [
143
138
  l("span", null, f(e.hintMessage), 1)
144
139
  ], 2)) : p("", !0),
@@ -148,7 +143,7 @@ const R = { class: "dpiV3_input-field V3-typography" }, j = { class: "dpiV3_Inpu
148
143
  ])
149
144
  ]));
150
145
  }
151
- }, Z = /* @__PURE__ */ L(G, [["__scopeId", "data-v-85b71c6c"]]);
146
+ }, Z = /* @__PURE__ */ L(G, [["__scopeId", "data-v-d3d8298f"]]);
152
147
  export {
153
148
  Z as default
154
149
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./StepActionsSection.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4b1aabda"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a96dc312"]]);
5
5
  export {
6
- c as default
6
+ a as default
7
7
  };