@piveau/dpi 0.2.0-alpha.8 → 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 (28) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ButtonV3.vue.js +30 -29
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue.js +2 -2
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataCollection/BasicInformationStep.vue2.js +101 -91
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue.js +1 -1
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DataProcessing/BasicInformationStep.vue2.js +68 -59
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +2 -2
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +59 -62
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +5 -72
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +72 -2
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue2.js +22 -22
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +1 -1
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +9 -4
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +1 -1
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +16 -15
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Projektphasen/WeiterdenkenStep.vue.js +57 -22
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +2 -2
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +161 -161
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +41 -46
  20. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  21. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +32 -29
  22. package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +1 -1
  23. package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +3 -4
  24. package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
  25. package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +11 -13
  26. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
  27. package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +6 -7
  28. package/package.json +1 -1
@@ -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 = "268px", 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-609d64d4"]]);
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-a83f996d"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a96dc312"]]);
5
5
  export {
6
- c as default
6
+ a as default
7
7
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as E, inject as z, ref as d, watch as D, toRef as M, computed as A, createElementBlock as f, openBlock as r, createElementVNode as v, createBlock as F, createCommentVNode as I, createVNode as i, renderSlot as x, normalizeStyle as L, withDirectives as y, vShow as C, withCtx as m, Fragment as R, renderList as K, toDisplayString as _, createTextVNode as $, unref as j, nextTick as U } from "vue";
2
- import { getNode as W, isNode as Z } from "@formkit/core";
3
- import { getValidationMessages as q } from "@formkit/validation";
4
- import { PhExclamationMark as G } from "@phosphor-icons/vue";
1
+ import { defineComponent as z, inject as E, ref as d, watch as D, toRef as L, computed as M, createElementBlock as f, openBlock as r, normalizeClass as A, createElementVNode as v, createBlock as F, createCommentVNode as I, createVNode as i, renderSlot as x, normalizeStyle as R, withDirectives as C, vShow as y, withCtx as m, Fragment as K, renderList as $, toDisplayString as j, createTextVNode as U, unref as W, nextTick as Z } from "vue";
2
+ import { getNode as q, isNode as G } from "@formkit/core";
3
+ import { getValidationMessages as H } from "@formkit/validation";
4
+ import { PhExclamationMark as J } from "@phosphor-icons/vue";
5
5
  import h from "../HappyFlowComponents/ui/ButtonV3.vue.js";
6
- import H from "../HappyFlowComponents/ui/Card.vue.js";
7
- import { dpiStepperKey as J } from "../utils/injectionKeys.js";
8
- import O from "./TheCancelConfirmationDialog.vue.js";
9
- const Q = { class: "step-actions-container" }, X = { class: "step-actions" }, Y = { class: "step-actions__prev-and-next" }, ee = { class: "validation-errors" }, ce = /* @__PURE__ */ E({
6
+ import O from "../HappyFlowComponents/ui/Card.vue.js";
7
+ import { dpiStepperKey as Q } from "../utils/injectionKeys.js";
8
+ import X from "./TheCancelConfirmationDialog.vue.js";
9
+ const Y = { class: "step-actions" }, _ = { class: "step-actions__prev-and-next" }, ee = { class: "validation-errors" }, ce = /* @__PURE__ */ z({
10
10
  __name: "StepActionsSection",
11
11
  props: {
12
12
  hideCancel: { type: Boolean, default: !1 },
@@ -16,11 +16,12 @@ const Q = { class: "step-actions-container" }, X = { class: "step-actions" }, Y
16
16
  cancelText: { default: "Abbrechen" },
17
17
  previousText: { default: "Zurück" },
18
18
  nextText: { default: "Weiter" },
19
- nextVariant: { default: "primary" }
19
+ nextVariant: { default: "primary" },
20
+ classList: {}
20
21
  },
21
22
  emits: ["submit"],
22
23
  setup(te, { emit: V }) {
23
- const S = V, e = z(J);
24
+ const S = V, e = E(Q);
24
25
  e || console.warn("dpiStepper is not provided. Please use StepActionsSection inside InputPage");
25
26
  function T(t) {
26
27
  return t !== void 0;
@@ -29,13 +30,13 @@ const Q = { class: "step-actions-container" }, X = { class: "step-actions" }, Y
29
30
  function N(t) {
30
31
  if (!t)
31
32
  return;
32
- const n = q(t);
33
+ const n = H(t);
33
34
  !n || n.size === 0 || (a.value = [...n.entries()].flatMap(([o, B]) => B.map((P) => String(P.value))));
34
35
  }
35
36
  e && D(e.activeStep, () => {
36
37
  a.value.splice(0, a.value.length), s.value = !1;
37
38
  });
38
- const b = M(e == null ? void 0 : e.steps);
39
+ const b = L(e == null ? void 0 : e.steps);
39
40
  function p(t) {
40
41
  var o;
41
42
  const n = (o = b.value) == null ? void 0 : o[t];
@@ -50,14 +51,14 @@ const Q = { class: "step-actions-container" }, X = { class: "step-actions" }, Y
50
51
  function u() {
51
52
  e == null || e.goToPreviousStep();
52
53
  }
53
- const w = A(() => e != null && e.activeStep.value ? W(e == null ? void 0 : e.activeStep.value) : null);
54
+ const w = M(() => e != null && e.activeStep.value ? q(e == null ? void 0 : e.activeStep.value) : null);
54
55
  async function c() {
55
56
  if (!T(e))
56
57
  return;
57
- e.triggerValidationCurrentStep(), await U();
58
+ e.triggerValidationCurrentStep(), await Z();
58
59
  const t = w.value;
59
60
  if (t ? !p((e == null ? void 0 : e.activeStep.value) || "") : !1) {
60
- if (!Z(t)) {
61
+ if (!G(t)) {
61
62
  console.error("Current step node is not a FormKitNode", t);
62
63
  return;
63
64
  }
@@ -65,22 +66,24 @@ const Q = { class: "step-actions-container" }, X = { class: "step-actions" }, Y
65
66
  }
66
67
  e != null && e.isLast.value ? S("submit") : k();
67
68
  }
68
- return (t, n) => (r(), f("div", Q, [
69
- v("div", X, [
69
+ return (t, n) => (r(), f("div", {
70
+ class: A([t.classList, "step-actions-container"])
71
+ }, [
72
+ v("div", Y, [
70
73
  x(t.$slots, "default", {
71
74
  handleCancel: g,
72
75
  handlePrevious: u,
73
76
  handleSubmit: c
74
77
  }, () => [
75
78
  i(h, {
76
- style: L({ opacity: t.hideCancel ? 0 : 1 }),
79
+ style: R({ opacity: t.hideCancel ? 0 : 1 }),
77
80
  variant: "tertiary",
78
81
  size: "large",
79
82
  type: "button",
80
83
  "button-text": t.cancelText,
81
84
  onClick: g
82
85
  }, null, 8, ["style", "button-text"]),
83
- v("div", Y, [
86
+ v("div", _, [
84
87
  x(t.$slots, "prev-and-next", {
85
88
  hidePrevious: t.hidePrevious,
86
89
  hideNext: t.hideNext,
@@ -89,7 +92,7 @@ const Q = { class: "step-actions-container" }, X = { class: "step-actions" }, Y
89
92
  handlePrevious: u,
90
93
  handleSubmit: c
91
94
  }, () => [
92
- y(i(h, {
95
+ C(i(h, {
93
96
  variant: "secondary",
94
97
  size: "large",
95
98
  type: "button",
@@ -97,9 +100,9 @@ const Q = { class: "step-actions-container" }, X = { class: "step-actions" }, Y
97
100
  "icon-start": "CaretLeft",
98
101
  onClick: u
99
102
  }, null, 8, ["button-text"]), [
100
- [C, !t.hidePrevious]
103
+ [y, !t.hidePrevious]
101
104
  ]),
102
- y(i(h, {
105
+ C(i(h, {
103
106
  size: "large",
104
107
  variant: t.nextVariant,
105
108
  type: "button",
@@ -107,37 +110,37 @@ const Q = { class: "step-actions-container" }, X = { class: "step-actions" }, Y
107
110
  "icon-end": t.nextText === "Als Entwurf Speichern" ? null : "CaretRight",
108
111
  onClick: c
109
112
  }, null, 8, ["variant", "button-text", "icon-end"]), [
110
- [C, !t.hideNext]
113
+ [y, !t.hideNext]
111
114
  ])
112
115
  ], !0)
113
116
  ])
114
117
  ], !0)
115
118
  ]),
116
- s.value && a.value.length ? (r(), F(H, {
119
+ s.value && a.value.length ? (r(), F(O, {
117
120
  key: 0,
118
121
  variant: "error"
119
122
  }, {
120
123
  icon: m(() => [
121
- i(j(G), {
124
+ i(W(J), {
122
125
  size: 32,
123
126
  color: "currentColor"
124
127
  })
125
128
  ]),
126
129
  title: m(() => n[1] || (n[1] = [
127
- $(" Bitte korrigieren Sie die folgenden Fehler ", -1)
130
+ U(" Bitte korrigieren Sie die folgenden Fehler ", -1)
128
131
  ])),
129
132
  default: m(() => [
130
133
  v("ul", ee, [
131
- (r(!0), f(R, null, K(a.value, (o) => (r(), f("li", { key: o }, _(o), 1))), 128))
134
+ (r(!0), f(K, null, $(a.value, (o) => (r(), f("li", { key: o }, j(o), 1))), 128))
132
135
  ])
133
136
  ]),
134
137
  _: 1
135
138
  })) : I("", !0),
136
- i(O, {
139
+ i(X, {
137
140
  modelValue: l.value,
138
141
  "onUpdate:modelValue": n[0] || (n[0] = (o) => l.value = o)
139
142
  }, null, 8, ["modelValue"])
140
- ]));
143
+ ], 2));
141
144
  }
142
145
  });
143
146
  export {
@@ -1,7 +1,7 @@
1
1
  import o from "./LinkCard.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-242c6637"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-bc004ed9"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -2,9 +2,9 @@ import { defineComponent as p, ref as s, computed as c, createElementBlock as m,
2
2
  import { FormKit as l } from "@formkit/vue";
3
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" }, x = 500, C = /* @__PURE__ */ p({
5
+ const b = { class: "dpiV3_Card_Tips" }, _ = { class: "action-container" }, y = 500, C = /* @__PURE__ */ p({
6
6
  __name: "LinkCard",
7
- setup(y) {
7
+ setup(B) {
8
8
  const n = s(""), d = c(() => {
9
9
  var t;
10
10
  return (t = n.value) == null ? void 0 : t.length;
@@ -21,7 +21,6 @@ const b = { class: "dpiV3_Card_Tips" }, _ = { class: "action-container" }, x = 5
21
21
  i(e(l), {
22
22
  type: e(a),
23
23
  name: "url",
24
- "add-on-text": !0,
25
24
  "text-label": "URL",
26
25
  placeholder: "www.url.com",
27
26
  validation: "required|url"
@@ -38,7 +37,7 @@ const b = { class: "dpiV3_Card_Tips" }, _ = { class: "action-container" }, x = 5
38
37
  validation: "length:0,500",
39
38
  "validation-visibility": "live",
40
39
  hint: "true",
41
- help: `${d.value} von ${x} Zeichen`,
40
+ help: `${d.value} von ${y} Zeichen`,
42
41
  "count-hint": !0
43
42
  }, null, 8, ["modelValue", "type", "help"]),
44
43
  v("div", _, [
@@ -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-9d837a2d"]]);
4
+ const p = /* @__PURE__ */ o(r, [["__scopeId", "data-v-39b38a13"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -1,14 +1,13 @@
1
- import { defineComponent as l, createElementBlock as o, openBlock as d, renderSlot as i, createVNode as n, createElementVNode as s, unref as e } from "vue";
2
- import { FormKit as r } from "@formkit/vue";
3
- import a from "../../data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js";
4
- const c = { class: "dpiV3_Card_Tips" }, p = { class: "action-container" }, x = /* @__PURE__ */ l({
1
+ import { defineComponent as a, createElementBlock as o, openBlock as d, renderSlot as i, createVNode as n, createElementVNode as s, 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";
4
+ const c = { class: "dpiV3_Card_Tips" }, p = { class: "action-container" }, y = /* @__PURE__ */ a({
5
5
  __name: "PartnerCard",
6
- setup(u) {
7
- return (t, m) => (d(), o("div", c, [
6
+ setup(m) {
7
+ return (t, u) => (d(), o("div", c, [
8
8
  i(t.$slots, "default", {}, () => [
9
- n(e(r), {
10
- type: e(a),
11
- addOnText: !0,
9
+ n(e(l), {
10
+ type: e(r),
12
11
  name: "name",
13
12
  "text-label": "Name",
14
13
  placeholder: "Nennen Sie einen Partner.",
@@ -16,9 +15,8 @@ const c = { class: "dpiV3_Card_Tips" }, p = { class: "action-container" }, x = /
16
15
  "validation-visibility": "live",
17
16
  "trailing-text": !1
18
17
  }, null, 8, ["type"]),
19
- n(e(r), {
20
- type: e(a),
21
- addOnText: !0,
18
+ n(e(l), {
19
+ type: e(r),
22
20
  name: "url",
23
21
  "text-label": "Website",
24
22
  placeholder: "www.url.com",
@@ -34,5 +32,5 @@ const c = { class: "dpiV3_Card_Tips" }, p = { class: "action-container" }, x = /
34
32
  }
35
33
  });
36
34
  export {
37
- x as default
35
+ y as default
38
36
  };
@@ -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-1d05c3a6"]]);
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-fa7a352e"]]);
5
5
  export {
6
- e as default
6
+ f as default
7
7
  };
@@ -1,15 +1,14 @@
1
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
- import { FormKit as d } from "@formkit/vue";
3
- import s from "../../data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js";
4
- const c = { class: "dpiV3_Card_Tips" }, p = { class: "action-container" }, v = /* @__PURE__ */ r({
2
+ import { FormKit as s } from "@formkit/vue";
3
+ import c from "../../data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js";
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) => (i(), n("div", c, [
7
+ return (e, u) => (i(), n("div", d, [
8
8
  t(e.$slots, "default", {}, () => [
9
- a(o(d), {
10
- type: o(s),
9
+ a(o(s), {
10
+ type: o(c),
11
11
  name: "homepage",
12
- "add-on-text": !0,
13
12
  "text-label": "URL",
14
13
  "trailing-text": !1,
15
14
  validation: "required|url",
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.8",
4
+ "version": "0.2.0-alpha.9",
5
5
  "private": false,
6
6
  "sideEffects": [
7
7
  "*.css"