@piveau/dpi 0.2.0-alpha.3 → 0.2.0-alpha.4

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 (23) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +27 -24
  3. package/dist/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +17 -17
  4. package/dist/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +94 -0
  5. package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectStatusStep.vue.js +38 -0
  6. package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue.js +2 -2
  7. package/dist/data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue2.js +19 -18
  8. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
  9. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +27 -27
  10. package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js +64 -0
  11. package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js +48 -0
  12. package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js +64 -0
  13. package/dist/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +64 -0
  14. package/dist/data-provider-interface/views/InputPageProject.vue.js +246 -221
  15. package/dist/stories/components/DemoStepper.vue.js +2 -2
  16. package/dist/stories/components/DemoStepper.vue2.js +134 -102
  17. package/dist/stories/components/LinkCard.vue.js +3 -3
  18. package/dist/stories/components/LinkCard.vue2.js +17 -17
  19. package/dist/stories/components/PartnerCard.vue.js +2 -2
  20. package/dist/stories/components/PartnerCard.vue2.js +9 -8
  21. package/dist/stories/components/ScreenshotCard.vue.js +2 -2
  22. package/dist/stories/components/ScreenshotCard.vue2.js +6 -7
  23. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import o from "./DemoStepper.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-04b8afcf"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-bf9eb441"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };
@@ -1,101 +1,113 @@
1
- import { defineComponent as L, ref as p, toRef as $, computed as f, watch as q, createElementBlock as H, openBlock as k, createElementVNode as a, createVNode as t, toDisplayString as J, unref as i, isRef as C, withCtx as l, createBlock as K, createCommentVNode as M, createTextVNode as A, nextTick as G } from "vue";
2
- import { FormKit as d } from "@formkit/vue";
1
+ import { defineComponent as E, ref as d, toRef as $, computed as p, watch as q, createElementBlock as z, openBlock as x, createElementVNode as a, createVNode as e, toDisplayString as H, unref as i, isRef as _, withCtx as o, createBlock as J, createCommentVNode as K, createTextVNode as M, nextTick as A } from "vue";
2
+ import { FormKit as f } from "@formkit/vue";
3
3
  import r from "../../data-provider-interface/components/InputPageStep.vue.js";
4
- import I from "../../data-provider-interface/components/ProgressSteps.vue.js";
5
- import { useDpiStepper as z } from "../../data-provider-interface/composables/useDpiStepper.js";
6
- import Q from "../../data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js";
7
- import W from "../../data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js";
4
+ import G from "../../data-provider-interface/components/ProgressSteps.vue.js";
5
+ import { useDpiStepper as I } from "../../data-provider-interface/composables/useDpiStepper.js";
6
+ import W from "../../data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js";
7
+ import Q from "../../data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js";
8
8
  import X from "../../data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js";
9
- import y from "../../data-provider-interface/HappyFlowComponents/ui/ButtonV3.vue.js";
9
+ import S from "../../data-provider-interface/HappyFlowComponents/ui/ButtonV3.vue.js";
10
10
  import Y from "../../data-provider-interface/HappyFlowComponents/ui/Card.vue.js";
11
11
  import Z from "../../data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js";
12
12
  import ee from "../../data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js";
13
- import te from "../../data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js";
14
- import _ from "./DemoStep.vue.js";
15
- import ne from "./ReviewStepDemo.vue.js";
16
- const oe = { class: "demo-stepper" }, le = { style: { "margin-bottom": "1rem", padding: "1rem", background: "#f5f5f5", "border-radius": "8px" } }, ie = { style: { display: "flex", "flex-direction": "column", gap: "2.5rem" } }, re = { class: "dev-actions" }, Ce = /* @__PURE__ */ L({
13
+ import te from "../../data-provider-interface/HappyFlowComponents/ui/LandingProjectStep/LandingProjectStep.vue.js";
14
+ import ne from "../../data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js";
15
+ import oe from "../../data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js";
16
+ import le from "../../data-provider-interface/HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js";
17
+ import re from "../../data-provider-interface/HappyFlowComponents/ui/Projektphasen/ProjektPhasenOverviewStep.vue.js";
18
+ import ie from "../../data-provider-interface/HappyFlowComponents/ui/Projektphasen/UmstezenStep.vue.js";
19
+ import ae from "../../data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js";
20
+ import w from "./DemoStep.vue.js";
21
+ import ue from "./ReviewStepDemo.vue.js";
22
+ const se = { class: "demo-stepper" }, me = { style: { "margin-bottom": "1rem", padding: "1rem", background: "#f5f5f5", "border-radius": "8px" } }, de = { style: { display: "flex", "flex-direction": "column", gap: "2.5rem" } }, pe = { class: "dev-actions" }, Be = /* @__PURE__ */ E({
17
23
  __name: "DemoStepper",
18
- setup(ae) {
19
- const s = p({}), {
20
- steps: w,
24
+ setup(fe) {
25
+ const s = d({}), {
26
+ steps: C,
21
27
  stepList: v,
22
28
  visitedSteps: m,
23
29
  stepPlugin: N,
24
- goToNextStep: D,
25
- goToPreviousStep: P,
30
+ goToNextStep: P,
31
+ goToPreviousStep: D,
26
32
  current: u,
27
33
  isLast: O,
28
- triggerValidationCurrentStep: R,
29
- goToStep: T
30
- } = z(), B = $(w);
34
+ triggerValidationCurrentStep: j,
35
+ goToStep: R
36
+ } = I(), T = $(C);
31
37
  function U(n) {
32
- var o;
33
- const e = (o = B.value) == null ? void 0 : o[n];
34
- return e ? e.valid : !1;
38
+ var l;
39
+ const t = (l = T.value) == null ? void 0 : l[n];
40
+ return t ? t.valid : !1;
35
41
  }
36
- const S = f(() => {
42
+ const y = p(() => {
37
43
  const n = {};
38
- return v.value.forEach((e) => {
39
- const g = e.split("/")[0];
40
- n[g] || (n[g] = []), n[g].push(e);
44
+ return v.value.forEach((t) => {
45
+ const g = t.split("/")[0];
46
+ n[g] || (n[g] = []), n[g].push(t);
41
47
  }), n;
42
48
  });
43
- function j(n) {
44
- const e = S.value[n] || [];
45
- return e.length > 0 && e.every((o) => m.value.includes(o));
49
+ function h(n) {
50
+ const t = y.value[n] || [];
51
+ return t.length > 0 && t.every((l) => m.value.includes(l));
46
52
  }
47
- f(() => Object.keys(S.value).filter((n) => j(n)));
48
- function F() {
49
- U(u.value) && D();
53
+ p(() => Object.keys(y.value).filter((n) => h(n)));
54
+ function B() {
55
+ U(u.value) && P();
50
56
  }
51
- async function h() {
52
- R(), await G(), O.value ? (console.log("Form submitted", s.value), window.alert(`Form submitted: ${JSON.stringify(s.value)}`)) : F();
57
+ async function F() {
58
+ j(), await A(), O.value ? (console.log("Form submitted", s.value), window.alert(`Form submitted: ${JSON.stringify(s.value)}`)) : B();
53
59
  }
54
- const b = p(!1), V = p(0);
60
+ const b = d(!1), V = d(0);
55
61
  q(u, (n) => {
56
62
  n === "review" && (b.value = !0, V.value++);
57
63
  });
58
- const c = p(!1), E = f(() => v.value.map((n) => ({ id: n, name: n }))), x = f({
64
+ const c = d(!1), L = p(() => v.value.map((n) => ({ id: n, name: n }))), k = p({
59
65
  get() {
60
66
  return { id: u.value, name: u.value };
61
67
  },
62
68
  set(n) {
63
- T(n.id);
69
+ R(n.id);
64
70
  }
65
71
  });
66
- return (n, e) => (k(), H("div", oe, [
67
- a("div", le, [
68
- e[6] || (e[6] = a("strong", null, "Form Values:", -1)),
69
- a("pre", null, J(JSON.stringify(s.value, null, 2)), 1)
72
+ return (n, t) => (x(), z("div", se, [
73
+ a("div", me, [
74
+ t[6] || (t[6] = a("strong", null, "Form Values:", -1)),
75
+ a("pre", null, H(JSON.stringify(s.value, null, 2)), 1)
70
76
  ]),
71
- t(I, {
77
+ e(G, {
72
78
  checked: i(m),
73
- "onUpdate:checked": e[0] || (e[0] = (o) => C(m) ? m.value = o : null),
79
+ "onUpdate:checked": t[0] || (t[0] = (l) => _(m) ? m.value = l : null),
74
80
  current: i(u),
75
- "onUpdate:current": e[1] || (e[1] = (o) => C(u) ? u.value = o : null),
81
+ "onUpdate:current": t[1] || (t[1] = (l) => _(u) ? u.value = l : null),
76
82
  steps: i(v) || []
77
83
  }, null, 8, ["checked", "current", "steps"]),
78
- t(i(d), {
84
+ e(i(f), {
79
85
  id: "demo-stepper",
80
86
  modelValue: s.value,
81
- "onUpdate:modelValue": e[3] || (e[3] = (o) => s.value = o),
87
+ "onUpdate:modelValue": t[3] || (t[3] = (l) => s.value = l),
82
88
  type: "form",
83
89
  plugins: [i(N)],
84
90
  actions: !1,
85
91
  onSubmit: () => {
86
92
  }
87
93
  }, {
88
- default: l(() => [
89
- t(r, { name: "auffindbarkeit" }, {
90
- default: l(() => [
91
- t(_),
92
- t(Z, {
94
+ default: o(() => [
95
+ e(r, { name: "landing" }, {
96
+ default: o(() => [
97
+ e(te)
98
+ ]),
99
+ _: 1
100
+ }),
101
+ e(r, { name: "auffindbarkeit" }, {
102
+ default: o(() => [
103
+ e(w),
104
+ e(Z, {
93
105
  modelValue: c.value,
94
- "onUpdate:modelValue": e[2] || (e[2] = (o) => c.value = o)
106
+ "onUpdate:modelValue": t[2] || (t[2] = (l) => c.value = l)
95
107
  }, {
96
- default: l(() => [
108
+ default: o(() => [
97
109
  a("div", null, [
98
- t(_)
110
+ e(w)
99
111
  ])
100
112
  ]),
101
113
  _: 1
@@ -103,33 +115,33 @@ const oe = { class: "demo-stepper" }, le = { style: { "margin-bottom": "1rem", p
103
115
  ]),
104
116
  _: 1
105
117
  }),
106
- t(r, { name: "findability/visibility" }, {
107
- default: l(() => [
108
- t(ee)
118
+ e(r, { name: "findability/visibility" }, {
119
+ default: o(() => [
120
+ e(ee)
109
121
  ]),
110
122
  _: 1
111
123
  }),
112
- t(r, { name: "grundlegende-informationen/name" }, {
113
- default: l(() => [
114
- t(W)
124
+ e(r, { name: "grundlegende-informationen/name" }, {
125
+ default: o(() => [
126
+ e(Q)
115
127
  ]),
116
128
  _: 1
117
129
  }),
118
- t(r, { name: "grundlegende-informationen/description" }, {
119
- default: l(() => [
120
- t(Q)
130
+ e(r, { name: "grundlegende-informationen/description" }, {
131
+ default: o(() => [
132
+ e(W)
121
133
  ]),
122
134
  _: 1
123
135
  }),
124
- t(r, { name: "grundlegende-informationen/organisation" }, {
125
- default: l(() => [
126
- t(X)
136
+ e(r, { name: "grundlegende-informationen/organisation" }, {
137
+ default: o(() => [
138
+ e(X)
127
139
  ]),
128
140
  _: 1
129
141
  }),
130
- t(r, { name: "grundlegende-informationen/discoverability" }, {
131
- default: l(() => [
132
- t(i(d), {
142
+ e(r, { name: "grundlegende-informationen/discoverability" }, {
143
+ default: o(() => [
144
+ e(i(f), {
133
145
  type: "text",
134
146
  label: "Name",
135
147
  name: "name",
@@ -138,15 +150,15 @@ const oe = { class: "demo-stepper" }, le = { style: { "margin-bottom": "1rem", p
138
150
  ]),
139
151
  _: 1
140
152
  }),
141
- t(r, { name: "grundlegende-informationen/essentials" }, {
142
- default: l(() => [
143
- t(i(d), {
153
+ e(r, { name: "grundlegende-informationen/essentials" }, {
154
+ default: o(() => [
155
+ e(i(f), {
144
156
  type: "text",
145
157
  label: "Mail",
146
158
  name: "mail",
147
159
  validation: "required|email"
148
160
  }),
149
- t(i(d), {
161
+ e(i(f), {
150
162
  type: "text",
151
163
  label: "Homepage",
152
164
  name: "homepage",
@@ -155,61 +167,81 @@ const oe = { class: "demo-stepper" }, le = { style: { "margin-bottom": "1rem", p
155
167
  ]),
156
168
  _: 1
157
169
  }),
158
- t(r, { name: "optinale-daten" }, {
159
- default: l(() => [
160
- t(i(d), {
161
- type: "textarea",
162
- label: "Description",
163
- name: "description"
164
- })
170
+ e(r, { name: "optinale-daten" }, {
171
+ default: o(() => [
172
+ e(oe)
173
+ ]),
174
+ _: 1
175
+ }),
176
+ e(r, { name: "umstezen" }, {
177
+ default: o(() => [
178
+ e(ie)
179
+ ]),
180
+ _: 1
181
+ }),
182
+ e(r, { name: "planen" }, {
183
+ default: o(() => [
184
+ e(le)
185
+ ]),
186
+ _: 1
187
+ }),
188
+ e(r, { name: "weiterdenken" }, {
189
+ default: o(() => [
190
+ e(ae)
191
+ ]),
192
+ _: 1
193
+ }),
194
+ e(r, { name: "projektphasen" }, {
195
+ default: o(() => [
196
+ e(re)
165
197
  ]),
166
198
  _: 1
167
199
  }),
168
- t(r, { name: "review" }, {
169
- default: l(() => [
170
- b.value ? (k(), K(ne, {
200
+ e(r, { name: "review" }, {
201
+ default: o(() => [
202
+ b.value ? (x(), J(ue, {
171
203
  key: V.value,
172
204
  values: s.value
173
- }, null, 8, ["values"])) : M("", !0)
205
+ }, null, 8, ["values"])) : K("", !0)
174
206
  ]),
175
207
  _: 1
176
208
  })
177
209
  ]),
178
210
  _: 1
179
211
  }, 8, ["modelValue", "plugins"]),
180
- e[8] || (e[8] = a("hr", null, null, -1)),
181
- t(Y, null, {
182
- title: l(() => e[7] || (e[7] = [
183
- A(" dev view ", -1)
212
+ t[8] || (t[8] = a("hr", null, null, -1)),
213
+ e(Y, null, {
214
+ title: o(() => t[7] || (t[7] = [
215
+ M(" dev view ", -1)
184
216
  ])),
185
- default: l(() => [
186
- a("div", ie, [
187
- a("div", re, [
188
- t(y, {
217
+ default: o(() => [
218
+ a("div", de, [
219
+ a("div", pe, [
220
+ e(S, {
189
221
  type: "button",
190
222
  variant: "secondary",
191
223
  "button-text": "Open Hologram",
192
- onClick: e[4] || (e[4] = (o) => c.value = !0)
224
+ onClick: t[4] || (t[4] = (l) => c.value = !0)
193
225
  }),
194
- t(y, {
226
+ e(S, {
195
227
  type: "button",
196
228
  variant: "secondary",
197
229
  "button-text": "Previous",
198
- onClick: i(P)
230
+ onClick: i(D)
199
231
  }, null, 8, ["onClick"]),
200
- t(y, {
232
+ e(S, {
201
233
  type: "button",
202
234
  variant: "secondary",
203
235
  "button-text": "Next",
204
- onClick: h
236
+ onClick: F
205
237
  })
206
238
  ]),
207
239
  a("div", null, [
208
- t(te, {
209
- modelValue: x.value,
210
- "onUpdate:modelValue": e[5] || (e[5] = (o) => x.value = o),
240
+ e(ne, {
241
+ modelValue: k.value,
242
+ "onUpdate:modelValue": t[5] || (t[5] = (l) => k.value = l),
211
243
  label: "Go to step",
212
- options: E.value
244
+ options: L.value
213
245
  }, null, 8, ["modelValue", "options"])
214
246
  ])
215
247
  ])
@@ -220,5 +252,5 @@ const oe = { class: "demo-stepper" }, le = { style: { "margin-bottom": "1rem", p
220
252
  }
221
253
  });
222
254
  export {
223
- Ce as default
255
+ Be as default
224
256
  };
@@ -1,7 +1,7 @@
1
- import o from "./LinkCard.vue2.js";
1
+ import a from "./LinkCard.vue2.js";
2
2
  /* empty css */
3
- import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-6b0c4b24"]]);
3
+ import o from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ o(a, [["__scopeId", "data-v-5a9a9a0a"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,31 +1,31 @@
1
- import { defineComponent as s, ref as p, computed as c, createElementBlock as m, openBlock as h, renderSlot as a, createVNode as i, createElementVNode as v, unref as e } from "vue";
2
- import { FormKit as l } from "@formkit/vue";
3
- import r from "../../data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js";
1
+ import { defineComponent as p, ref as s, computed as c, createElementBlock as m, openBlock as h, renderSlot as r, createVNode as l, createElementVNode as v, unref as e } from "vue";
2
+ import { FormKit as i } from "@formkit/vue";
3
+ import a from "../../data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js";
4
4
  import f from "../../data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaDefinition.js";
5
- const b = { class: "dpiV3_Card_Tips" }, _ = { class: "action-container" }, y = 500, C = /* @__PURE__ */ s({
5
+ const b = { class: "dpiV3_Card_Tips" }, _ = { class: "action-container" }, B = 500, C = /* @__PURE__ */ p({
6
6
  __name: "LinkCard",
7
- setup(B) {
8
- const n = p(""), u = c(() => {
7
+ setup(y) {
8
+ const n = s(""), u = c(() => {
9
9
  var t;
10
10
  return (t = n.value) == null ? void 0 : t.length;
11
11
  });
12
12
  return (t, o) => (h(), m("div", b, [
13
- a(t.$slots, "default", {}, () => [
14
- i(e(l), {
15
- type: e(r),
13
+ r(t.$slots, "default", {}, () => [
14
+ l(e(i), {
15
+ type: e(a),
16
16
  name: "name",
17
17
  "text-label": "Name",
18
- placeholder: "Benennen Sie den Link."
18
+ placeholder: "Benennen Sie den Link.",
19
+ validation: "required"
19
20
  }, null, 8, ["type"]),
20
- i(e(l), {
21
- type: e(r),
21
+ l(e(i), {
22
+ type: e(a),
22
23
  name: "url",
23
24
  "text-label": "URL",
24
25
  placeholder: "www.url.com",
25
- validation: "url",
26
- "validation-visibility": "live"
26
+ validation: "url"
27
27
  }, null, 8, ["type"]),
28
- i(e(l), {
28
+ l(e(i), {
29
29
  id: "Beschreibung",
30
30
  modelValue: n.value,
31
31
  "onUpdate:modelValue": o[0] || (o[0] = (d) => n.value = d),
@@ -37,11 +37,11 @@ const b = { class: "dpiV3_Card_Tips" }, _ = { class: "action-container" }, y = 5
37
37
  validation: "length:0,500",
38
38
  "validation-visibility": "live",
39
39
  hint: "true",
40
- help: `${u.value} von ${y} Zeichen`,
40
+ help: `${u.value} von ${B} Zeichen`,
41
41
  "count-hint": !0
42
42
  }, null, 8, ["modelValue", "type", "help"]),
43
43
  v("div", _, [
44
- a(t.$slots, "action", {}, void 0, !0)
44
+ r(t.$slots, "action", {}, void 0, !0)
45
45
  ])
46
46
  ], !0)
47
47
  ]));
@@ -1,7 +1,7 @@
1
1
  import r from "./PartnerCard.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ o(r, [["__scopeId", "data-v-54b8f265"]]);
4
+ const p = /* @__PURE__ */ o(r, [["__scopeId", "data-v-11c633d3"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -1,18 +1,19 @@
1
- import { defineComponent as l, createElementBlock as a, openBlock as s, renderSlot as n, createVNode as o, createElementVNode as d, unref as e } from "vue";
2
- import { FormKit as i } from "@formkit/vue";
1
+ import { defineComponent as a, createElementBlock as l, openBlock as d, renderSlot as n, createVNode as i, createElementVNode as s, unref as e } from "vue";
2
+ import { FormKit as o } from "@formkit/vue";
3
3
  import r from "../../data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js";
4
- const c = { class: "dpiV3_Card_Tips" }, p = { class: "action-container" }, h = /* @__PURE__ */ l({
4
+ const c = { class: "dpiV3_Card_Tips" }, p = { class: "action-container" }, h = /* @__PURE__ */ a({
5
5
  __name: "PartnerCard",
6
6
  setup(m) {
7
- return (t, u) => (s(), a("div", c, [
7
+ return (t, u) => (d(), l("div", c, [
8
8
  n(t.$slots, "default", {}, () => [
9
- o(e(i), {
9
+ i(e(o), {
10
10
  type: e(r),
11
11
  name: "name",
12
12
  "text-label": "Name",
13
- placeholder: "Nennen Sie einen Partner."
13
+ placeholder: "Nennen Sie einen Partner.",
14
+ validation: "required"
14
15
  }, null, 8, ["type"]),
15
- o(e(i), {
16
+ i(e(o), {
16
17
  type: e(r),
17
18
  name: "url",
18
19
  "text-label": "Website",
@@ -20,7 +21,7 @@ const c = { class: "dpiV3_Card_Tips" }, p = { class: "action-container" }, h = /
20
21
  validation: "url",
21
22
  "validation-visibility": "live"
22
23
  }, null, 8, ["type"]),
23
- d("div", p, [
24
+ s("div", p, [
24
25
  n(t.$slots, "action", {}, void 0, !0)
25
26
  ])
26
27
  ], !0)
@@ -1,7 +1,7 @@
1
1
  import o from "./ScreenshotCard.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-9bc4a658"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-99b956bb"]]);
5
5
  export {
6
- e as default
6
+ m as default
7
7
  };
@@ -1,18 +1,17 @@
1
- import { defineComponent as i, createElementBlock as r, openBlock as n, renderSlot as t, createVNode as a, createElementVNode as l, unref as o } from "vue";
1
+ import { defineComponent as r, createElementBlock as n, openBlock as i, renderSlot as t, createVNode as a, createElementVNode as l, unref as o } from "vue";
2
2
  import { FormKit as s } from "@formkit/vue";
3
3
  import c from "../../data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js";
4
- const d = { class: "dpiV3_Card_Tips" }, p = { class: "action-container" }, h = /* @__PURE__ */ i({
4
+ const d = { class: "dpiV3_Card_Tips" }, p = { class: "action-container" }, v = /* @__PURE__ */ r({
5
5
  __name: "ScreenshotCard",
6
6
  setup(m) {
7
- return (e, u) => (n(), r("div", d, [
7
+ return (e, u) => (i(), n("div", d, [
8
8
  t(e.$slots, "default", {}, () => [
9
9
  a(o(s), {
10
10
  type: o(c),
11
11
  name: "homepage",
12
12
  "text-label": "URL",
13
- validation: "url",
14
- placeholder: "www.url.com",
15
- "validation-visibility": "live"
13
+ validation: "required|url",
14
+ placeholder: "www.url.com"
16
15
  }, null, 8, ["type"]),
17
16
  l("div", p, [
18
17
  t(e.$slots, "action", {}, void 0, !0)
@@ -22,5 +21,5 @@ const d = { class: "dpiV3_Card_Tips" }, p = { class: "action-container" }, h = /
22
21
  }
23
22
  });
24
23
  export {
25
- h as default
24
+ v as default
26
25
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@piveau/dpi",
3
3
  "type": "module",
4
- "version": "0.2.0-alpha.3",
4
+ "version": "0.2.0-alpha.4",
5
5
  "private": false,
6
6
  "sideEffects": [
7
7
  "*.css"