@piveau/dpi 0.2.0-alpha.11 → 0.2.0-alpha.13

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 (41) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +1 -1
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue.js +7 -0
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataSimulation/BasicInformationStep.vue2.js +180 -0
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue.js +7 -0
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataVisualisation/BasicInformationStep.vue2.js +215 -0
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +37 -29
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +1 -1
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +27 -27
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js +4 -4
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +8 -8
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +127 -118
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js +2 -2
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue2.js +64 -57
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepBase.vue.js +21 -23
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepsOverviewStep.vue.js +12 -12
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +105 -96
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js +2 -2
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue2.js +89 -80
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js +6 -5
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +4 -3
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +6 -5
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +6 -5
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +2 -2
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +388 -375
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaDefinition.js +4 -3
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaFormKit.vue.js +35 -31
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +43 -35
  32. package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +224 -133
  33. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  34. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +11 -11
  35. package/dist/packages/dpi/src/data-provider-interface/components/VisibilityPage.vue.js +106 -0
  36. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +4 -0
  37. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +1 -1
  38. package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +276 -251
  39. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +131 -124
  40. package/dist/packages/dpi/src/form/inputDefinitions.js +15 -10
  41. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import t from "./TextAreaFormKit.vue.js";
2
- const o = {
2
+ const a = {
3
3
  type: "text",
4
4
  schema: [],
5
5
  component: t,
@@ -11,10 +11,11 @@ const o = {
11
11
  "hint",
12
12
  "maxlength",
13
13
  "help",
14
- "countHint"
14
+ "countHint",
15
+ "labelWeight"
15
16
  ],
16
17
  inheritAttrs: !0
17
18
  };
18
19
  export {
19
- o as default
20
+ a as default
20
21
  };
@@ -1,13 +1,13 @@
1
- import { defineComponent as k, computed as o, createBlock as B, openBlock as y } from "vue";
2
- import E from "../TextAreaV3.vue.js";
3
- const _ = /* @__PURE__ */ k({
1
+ import { defineComponent as B, computed as l, createBlock as y, openBlock as E } from "vue";
2
+ import K from "../TextAreaV3.vue.js";
3
+ const A = /* @__PURE__ */ B({
4
4
  __name: "TextAreaFormKit",
5
5
  props: {
6
6
  context: {},
7
7
  maxlength: {}
8
8
  },
9
9
  setup(d) {
10
- const t = d, a = t.maxlength || 1e3, s = o({
10
+ const t = d, s = t.maxlength || 1e3, a = l({
11
11
  get: () => {
12
12
  var e;
13
13
  return ((e = t.context) == null ? void 0 : e._value) || "";
@@ -17,62 +17,66 @@ const _ = /* @__PURE__ */ k({
17
17
  // },
18
18
  set: (e) => {
19
19
  var n;
20
- const l = e.slice(0, a);
21
- (n = t.context) == null || n.node.input(l);
20
+ const o = e.slice(0, s);
21
+ (n = t.context) == null || n.node.input(o);
22
22
  }
23
- }), p = o(() => {
23
+ }), p = l(() => {
24
24
  var e;
25
25
  return ((e = t.context) == null ? void 0 : e.label) || "";
26
- }), x = o(() => {
26
+ }), x = l(() => {
27
27
  var e;
28
28
  return ((e = t.context) == null ? void 0 : e.placeholder) || "Enter text here...";
29
- }), r = o(() => {
29
+ }), r = l(() => {
30
30
  var e;
31
31
  return ((e = t.context) == null ? void 0 : e.help) || "";
32
- }), m = o(() => {
32
+ }), m = l(() => {
33
33
  var e;
34
34
  return ((e = t.context) == null ? void 0 : e.countHint) || "";
35
- }), c = o(() => {
35
+ }), v = l(() => {
36
+ var e;
37
+ return ((e = t.context) == null ? void 0 : e.labelWeight) || "normal";
38
+ }), c = l(() => {
36
39
  var e;
37
40
  return Object.keys(((e = t.context) == null ? void 0 : e.messages) || {}).length > 0;
38
- }), v = o(() => {
39
- var l, n, u, i, h;
41
+ }), g = l(() => {
42
+ var o, n, u, i, h;
40
43
  if (!c.value)
41
44
  return "";
42
- const e = (n = Object.keys(((l = t.context) == null ? void 0 : l.messages) || {})) == null ? void 0 : n[0];
45
+ const e = (n = Object.keys(((o = t.context) == null ? void 0 : o.messages) || {})) == null ? void 0 : n[0];
43
46
  return ((h = (i = (u = t.context) == null ? void 0 : u.messages) == null ? void 0 : i[e]) == null ? void 0 : h.value) || "";
44
- }), g = o(() => {
47
+ }), b = l(() => {
45
48
  var e;
46
49
  return ((e = t.context) == null ? void 0 : e.disabled) || !1;
47
- }), f = o(() => {
50
+ }), f = l(() => {
48
51
  var e;
49
52
  return ((e = t.context) == null ? void 0 : e.showDeleteButton) || !1;
50
- }), b = o(() => {
53
+ }), w = l(() => {
51
54
  var e;
52
55
  return ((e = t.context) == null ? void 0 : e.hint) || !1;
53
- }), w = () => {
54
- s.value = "";
55
- }, D = (e) => {
56
- !["Backspace", "Delete", "ArrowLeft", "ArrowRight", "Tab"].includes(e.key) && s.value.length >= a && e.preventDefault();
56
+ }), D = () => {
57
+ a.value = "";
58
+ }, k = (e) => {
59
+ !["Backspace", "Delete", "ArrowLeft", "ArrowRight", "Tab"].includes(e.key) && a.value.length >= s && e.preventDefault();
57
60
  };
58
- return (e, l) => (y(), B(E, {
59
- modelValue: s.value,
60
- "onUpdate:modelValue": l[0] || (l[0] = (n) => s.value = n),
61
+ return (e, o) => (E(), y(K, {
62
+ modelValue: a.value,
63
+ "onUpdate:modelValue": o[0] || (o[0] = (n) => a.value = n),
61
64
  label: p.value,
62
65
  placeholder: x.value,
63
66
  help: r.value,
64
- isDisabled: g.value,
67
+ isDisabled: b.value,
65
68
  showError: c.value,
66
- errorMessage: v.value,
69
+ errorMessage: g.value,
67
70
  showDeleteButton: f.value,
68
- hint: b.value,
71
+ hint: w.value,
69
72
  hintMessage: r.value,
73
+ labelWeight: v.value,
70
74
  countHint: m.value,
71
- onDeleteClicked: w,
72
- onKeydown: D
73
- }, null, 8, ["modelValue", "label", "placeholder", "help", "isDisabled", "showError", "errorMessage", "showDeleteButton", "hint", "hintMessage", "countHint"]));
75
+ onDeleteClicked: D,
76
+ onKeydown: k
77
+ }, null, 8, ["modelValue", "label", "placeholder", "help", "isDisabled", "showError", "errorMessage", "showDeleteButton", "hint", "hintMessage", "labelWeight", "countHint"]));
74
78
  }
75
79
  });
76
80
  export {
77
- _ as default
81
+ A as default
78
82
  };
@@ -1,13 +1,13 @@
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";
1
+ import { ref as a, watch as y, createElementBlock as c, openBlock as d, createElementVNode as l, createCommentVNode as p, createBlock as T, normalizeStyle as g, toDisplayString as f, normalizeClass as v, unref as s, withDirectives as C, vModelText as A } from "vue";
2
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 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 = {
7
+ const W = { class: "dpiV3_input-field V3-typography" }, j = { class: "dpiV3_InputFieldBase" }, z = { class: "dpiV3_InputWithLabel" }, N = { class: "dpiV3_Top" }, R = { class: "dpiV3_Label" }, O = ["disabled", "maxlength", "placeholder"], U = {
8
8
  key: 1,
9
9
  class: "dpiV3_errorText copy-small-regular"
10
- }, G = {
10
+ }, q = {
11
11
  __name: "TextAreaV3",
12
12
  props: {
13
13
  text: {
@@ -51,14 +51,19 @@ const j = { class: "dpiV3_input-field V3-typography" }, z = { class: "dpiV3_Inpu
51
51
  help: {
52
52
  type: String,
53
53
  default: ""
54
+ },
55
+ labelWeight: {
56
+ type: String,
57
+ default: "normal",
58
+ validator: (e) => ["bold", "normal"].includes(e)
54
59
  }
55
60
  },
56
61
  emits: ["update:modelValue", "deleteClicked"],
57
62
  setup(e, { emit: V }) {
58
63
  const o = e, h = V;
59
- let n = a(!1), x = a(!1);
60
- const g = a(null);
61
- let w = a(!1), t = a("inset 0 0 0 1px var(--neutral-30, #687178)"), u = a(!1), m = a(!1);
64
+ let n = a(!1), m = a(!1);
65
+ const w = a(null);
66
+ let B = a(!1), t = a("inset 0 0 0 1px var(--neutral-30, #687178)"), u = a(!1), x = a(!1);
62
67
  const i = a(o.modelValue);
63
68
  y(
64
69
  () => o.modelValue,
@@ -71,31 +76,34 @@ const j = { class: "dpiV3_input-field V3-typography" }, z = { class: "dpiV3_Inpu
71
76
  function _() {
72
77
  h("deleteClicked");
73
78
  }
74
- function B() {
75
- w.value = !1, u.value = !0, n.value = !0, t.value = "0 0 0 2px var(--blue-70, #009FE3)";
76
- }
77
79
  function E() {
78
- u.value = !1, n.value = !1, t.value = "inset 0 0 0 1px var(--neutral-30, #687178)";
80
+ B.value = !1, u.value = !0, n.value = !0, t.value = "0 0 0 2px var(--blue-70, #009FE3)";
79
81
  }
80
82
  function I() {
81
- 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)");
83
+ u.value = !1, n.value = !1, t.value = "inset 0 0 0 1px var(--neutral-30, #687178)";
82
84
  }
83
85
  function M() {
84
- 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)");
86
+ x.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)");
85
87
  }
86
88
  function F() {
87
- n.value && (t.value = "0 0 0 2px var(--blue-70, #009FE3)");
89
+ x.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)");
88
90
  }
89
91
  function D() {
92
+ n.value && (t.value = "0 0 0 2px var(--blue-70, #009FE3)");
93
+ }
94
+ function k() {
90
95
  t.value = "inset 0 0 0 2px var(--Focused)";
91
96
  }
92
- return (r, b) => (d(), c("div", j, [
93
- l("div", z, [
94
- l("div", N, [
95
- l("div", R, [
96
- l("div", O, [
97
- l("label", U, f(o.label), 1),
98
- e.showDeleteButton ? (d(), S(H, {
97
+ return (r, b) => (d(), c("div", W, [
98
+ l("div", j, [
99
+ l("div", z, [
100
+ l("div", N, [
101
+ l("div", R, [
102
+ l("label", {
103
+ style: g({ "font-weight": o.labelWeight === "bold" ? "600" : "normal" }),
104
+ class: "dpiV3_label copy-small-regular"
105
+ }, f(o.label), 5),
106
+ e.showDeleteButton ? (d(), T(H, {
99
107
  key: 0,
100
108
  "button-text": "löschen",
101
109
  tabindex: "0",
@@ -106,19 +114,19 @@ const j = { class: "dpiV3_input-field V3-typography" }, z = { class: "dpiV3_Inpu
106
114
  l("div", {
107
115
  class: v(["dpiV3_Input", {
108
116
  dpiV3_disabled: e.isDisabled,
109
- "error-state": e.showError && !s(n) && !s(x),
117
+ "error-state": e.showError && !s(n) && !s(m),
110
118
  "focused-error-state": e.showError && s(n),
111
- "filled-error-state": e.showError && s(x)
119
+ "filled-error-state": e.showError && s(m)
112
120
  }]),
113
- style: T({ "box-shadow": s(t) }),
114
- onMouseenter: I,
115
- onMouseleave: M,
116
- onMousedown: F
121
+ style: g({ "box-shadow": s(t) }),
122
+ onMouseenter: M,
123
+ onMouseleave: F,
124
+ onMousedown: D
117
125
  }, [
118
126
  C(l("textarea", {
119
127
  ref_key: "inputRef",
120
- ref: g,
121
- "onUpdate:modelValue": b[0] || (b[0] = (k) => i.value = k),
128
+ ref: w,
129
+ "onUpdate:modelValue": b[0] || (b[0] = (S) => i.value = S),
122
130
  type: "text",
123
131
  class: v(["dpiV3_textArea copy-large-regular", {
124
132
  "error-state": e.showError,
@@ -127,10 +135,10 @@ const j = { class: "dpiV3_input-field V3-typography" }, z = { class: "dpiV3_Inpu
127
135
  disabled: e.isDisabled,
128
136
  maxlength: e.max,
129
137
  placeholder: e.placeholder,
130
- onFocus: B,
131
- onBlur: E,
132
- onMousedown: D
133
- }, null, 42, W), [
138
+ onFocus: E,
139
+ onBlur: I,
140
+ onMousedown: k
141
+ }, null, 42, O), [
134
142
  [A, i.value]
135
143
  ])
136
144
  ], 38)
@@ -141,13 +149,13 @@ const j = { class: "dpiV3_input-field V3-typography" }, z = { class: "dpiV3_Inpu
141
149
  }, [
142
150
  l("span", null, f(e.hintMessage), 1)
143
151
  ], 2)) : p("", !0),
144
- e.showError ? (d(), c("div", q, [
152
+ e.showError ? (d(), c("div", U, [
145
153
  l("span", null, f(e.errorMessage), 1)
146
154
  ])) : p("", !0)
147
155
  ])
148
156
  ]));
149
157
  }
150
- }, Z = /* @__PURE__ */ L(G, [["__scopeId", "data-v-f7088c16"]]);
158
+ }, Y = /* @__PURE__ */ L(q, [["__scopeId", "data-v-8b7262ed"]]);
151
159
  export {
152
- Z as default
160
+ Y as default
153
161
  };