@piveau/dpi 0.2.0-alpha.34 → 0.2.0-alpha.36
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.
- package/dist/assets/dpi.css +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue2.js +35 -31
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +1 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +37 -33
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +41 -37
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +69 -64
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +474 -458
- package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/components/TheCancelConfirmationDialog.vue2.js +20 -14
- package/dist/packages/dpi/src/data-provider-interface/components/TheErrorDialog.vue.js +44 -41
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/decodeProject.js +97 -95
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +26 -19
- package/package.json +1 -1
package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue.js
CHANGED
|
@@ -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
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-98155283"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ActionCard.vue2.js
CHANGED
|
@@ -1,74 +1,78 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as C, computed as v, createElementBlock as a, openBlock as t, normalizeClass as B, createElementVNode as l, createCommentVNode as r, createBlock as V, withCtx as i, renderSlot as o, createVNode as p } from "vue";
|
|
2
|
+
import u from "./ButtonV3.vue.js";
|
|
3
3
|
import k from "./SummaryBox.vue.js";
|
|
4
|
-
const
|
|
4
|
+
const _ = { class: "dpiV3_Card_Header" }, $ = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "standalone-text"
|
|
7
|
-
}, h = { class: "dpiV3_Card_Actions" }, E = {
|
|
7
|
+
}, h = { class: "dpiV3_Card_Actions" }, E = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "dpiV3_Card_Body"
|
|
10
|
+
}, N = /* @__PURE__ */ C({
|
|
8
11
|
__name: "ActionCard",
|
|
9
12
|
props: {
|
|
10
13
|
variant: { default: "default" },
|
|
11
14
|
noEdit: { type: Boolean, default: !1 },
|
|
12
15
|
noDelete: { type: Boolean, default: !0 },
|
|
13
|
-
spaced: { type: Boolean, default: !1 }
|
|
16
|
+
spaced: { type: Boolean, default: !1 },
|
|
17
|
+
showBody: { type: Boolean, default: !0 }
|
|
14
18
|
},
|
|
15
19
|
emits: ["edit", "delete"],
|
|
16
|
-
setup(
|
|
17
|
-
const d =
|
|
20
|
+
setup(m, { emit: c }) {
|
|
21
|
+
const d = m, n = c, f = v(() => ({
|
|
18
22
|
"V3-typography": !0,
|
|
19
23
|
dpiV3_Card: !0,
|
|
20
24
|
"dpiV3_Card--default": d.variant === "default",
|
|
21
25
|
"dpiV3_Card--error": d.variant === "error",
|
|
22
26
|
"dpiV3_Card--spaced": d.spaced
|
|
23
27
|
}));
|
|
24
|
-
return (e,
|
|
25
|
-
class:
|
|
28
|
+
return (e, s) => (t(), a("div", {
|
|
29
|
+
class: B(f.value)
|
|
26
30
|
}, [
|
|
27
|
-
|
|
28
|
-
e.$slots["standalone-name"] ? (
|
|
29
|
-
|
|
30
|
-
])) : (
|
|
31
|
-
title:
|
|
32
|
-
|
|
31
|
+
l("div", _, [
|
|
32
|
+
e.$slots["standalone-name"] ? (t(), a("span", $, [
|
|
33
|
+
o(e.$slots, "standalone-name")
|
|
34
|
+
])) : (t(), V(k, { key: 0 }, {
|
|
35
|
+
title: i(() => [
|
|
36
|
+
o(e.$slots, "sub-title")
|
|
33
37
|
]),
|
|
34
|
-
default:
|
|
35
|
-
|
|
38
|
+
default: i(() => [
|
|
39
|
+
o(e.$slots, "title")
|
|
36
40
|
]),
|
|
37
41
|
_: 3
|
|
38
42
|
})),
|
|
39
|
-
|
|
40
|
-
e.noEdit ?
|
|
43
|
+
l("div", h, [
|
|
44
|
+
e.noEdit ? r("", !0) : (t(), a("div", {
|
|
41
45
|
key: 0,
|
|
42
|
-
onClick:
|
|
46
|
+
onClick: s[0] || (s[0] = (y) => n("edit"))
|
|
43
47
|
}, [
|
|
44
|
-
|
|
45
|
-
p(
|
|
48
|
+
o(e.$slots, "edit-icon", {}, () => [
|
|
49
|
+
p(u, {
|
|
46
50
|
size: "large",
|
|
47
51
|
"icon-start": "pen",
|
|
48
52
|
variant: "secondary"
|
|
49
53
|
})
|
|
50
54
|
])
|
|
51
55
|
])),
|
|
52
|
-
e.noDelete ? (
|
|
56
|
+
e.noDelete ? (t(), a("div", {
|
|
53
57
|
key: 1,
|
|
54
|
-
onClick:
|
|
58
|
+
onClick: s[1] || (s[1] = (y) => n("delete"))
|
|
55
59
|
}, [
|
|
56
|
-
|
|
57
|
-
p(
|
|
60
|
+
o(e.$slots, "delete-icon", {}, () => [
|
|
61
|
+
p(u, {
|
|
58
62
|
size: "large",
|
|
59
63
|
"icon-start": "Trash",
|
|
60
64
|
variant: "secondary"
|
|
61
65
|
})
|
|
62
66
|
])
|
|
63
|
-
])) :
|
|
67
|
+
])) : r("", !0)
|
|
64
68
|
])
|
|
65
69
|
]),
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
])
|
|
70
|
+
e.showBody && e.$slots.default ? (t(), a("div", E, [
|
|
71
|
+
o(e.$slots, "default")
|
|
72
|
+
])) : r("", !0)
|
|
69
73
|
], 2));
|
|
70
74
|
}
|
|
71
75
|
});
|
|
72
76
|
export {
|
|
73
|
-
|
|
77
|
+
N as default
|
|
74
78
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as j, computed as n, createBlock as K, openBlock as P, unref as
|
|
1
|
+
import { defineComponent as j, computed as n, createBlock as K, openBlock as P, unref as l } from "vue";
|
|
2
2
|
import C from "../InputField.vue.js";
|
|
3
3
|
const M = /* @__PURE__ */ j({
|
|
4
4
|
__name: "InputFieldFormKit",
|
|
5
5
|
props: {
|
|
6
6
|
context: {}
|
|
7
7
|
},
|
|
8
|
-
setup(
|
|
9
|
-
var c, p,
|
|
10
|
-
const t =
|
|
8
|
+
setup(y) {
|
|
9
|
+
var c, p, u, x, d, m, f;
|
|
10
|
+
const t = y, s = n({
|
|
11
11
|
get: () => {
|
|
12
12
|
var e;
|
|
13
13
|
return ((e = t.context) == null ? void 0 : e._value) || "";
|
|
@@ -16,59 +16,63 @@ const M = /* @__PURE__ */ j({
|
|
|
16
16
|
var o;
|
|
17
17
|
(o = t.context) == null || o.node.input(e);
|
|
18
18
|
}
|
|
19
|
-
}),
|
|
19
|
+
}), _ = n(() => {
|
|
20
20
|
var e;
|
|
21
21
|
return (e = t.context) == null ? void 0 : e.textLabel;
|
|
22
|
-
}),
|
|
22
|
+
}), b = n(() => {
|
|
23
23
|
var e;
|
|
24
24
|
return (e = t.context) == null ? void 0 : e.name;
|
|
25
|
-
}),
|
|
25
|
+
}), T = n(() => {
|
|
26
26
|
var e;
|
|
27
27
|
return ((e = t.context) == null ? void 0 : e.placeholder) || "Enter text here";
|
|
28
|
-
}),
|
|
28
|
+
}), k = n(() => {
|
|
29
29
|
var e;
|
|
30
30
|
return ((e = t.context) == null ? void 0 : e.trailing_text) || "$";
|
|
31
31
|
}), I = n(() => {
|
|
32
32
|
var e;
|
|
33
33
|
return ((e = t.context) == null ? void 0 : e.trailingText) || !1;
|
|
34
34
|
}), w = n(() => {
|
|
35
|
+
var e;
|
|
36
|
+
return ((e = t.context) == null ? void 0 : e.inputStyle) || "";
|
|
37
|
+
}), E = n(() => {
|
|
35
38
|
var e;
|
|
36
39
|
return ((e = t.context) == null ? void 0 : e["is-disabled"]) || !1;
|
|
37
|
-
}),
|
|
40
|
+
}), r = n(() => {
|
|
38
41
|
var e;
|
|
39
42
|
return Object.keys((e = t.context) == null ? void 0 : e.messages).length > 0;
|
|
40
|
-
}),
|
|
41
|
-
var o,
|
|
42
|
-
if (!
|
|
43
|
+
}), i = n(() => {
|
|
44
|
+
var o, a, g, v, h;
|
|
45
|
+
if (!r.value)
|
|
43
46
|
return "";
|
|
44
|
-
const e = (
|
|
45
|
-
return ((
|
|
46
|
-
}),
|
|
47
|
-
(
|
|
47
|
+
const e = (a = Object.keys((o = t.context) == null ? void 0 : o.messages)) == null ? void 0 : a[0];
|
|
48
|
+
return ((h = (v = (g = t.context) == null ? void 0 : g.messages) == null ? void 0 : v[e]) == null ? void 0 : h.value) || "";
|
|
49
|
+
}), O = ((c = t.context) == null ? void 0 : c.inputType) || "text", S = ((p = t.context) == null ? void 0 : p.addOnText) || !1, B = ((u = t.context) == null ? void 0 : u.datePicker) || !1;
|
|
50
|
+
(x = t.context) != null && x.infoIcon;
|
|
48
51
|
const F = ((d = t.context) == null ? void 0 : d.preIcon) || !1;
|
|
49
52
|
(m = t.context) == null || m.showEndIcon;
|
|
50
53
|
const V = ((f = t.context) == null ? void 0 : f.tooltipText) || "This is helpful information";
|
|
51
54
|
return (e, o) => (P(), K(C, {
|
|
52
|
-
modelValue:
|
|
53
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
54
|
-
label:
|
|
55
|
-
placeholder:
|
|
56
|
-
"input-type":
|
|
57
|
-
"add-on-text":
|
|
58
|
-
"date-picker":
|
|
55
|
+
modelValue: s.value,
|
|
56
|
+
"onUpdate:modelValue": o[0] || (o[0] = (a) => s.value = a),
|
|
57
|
+
label: _.value,
|
|
58
|
+
placeholder: T.value,
|
|
59
|
+
"input-type": l(O),
|
|
60
|
+
"add-on-text": l(S),
|
|
61
|
+
"date-picker": l(B),
|
|
59
62
|
"info-icon": !1,
|
|
60
|
-
"pre-icon":
|
|
63
|
+
"pre-icon": l(F),
|
|
61
64
|
"show-end-icon": !1,
|
|
62
|
-
"tooltip-text":
|
|
63
|
-
"show-error":
|
|
64
|
-
"supporting-hint-message":
|
|
65
|
-
"initial-hint-text":
|
|
66
|
-
error_message:
|
|
67
|
-
name:
|
|
65
|
+
"tooltip-text": l(V),
|
|
66
|
+
"show-error": r.value,
|
|
67
|
+
"supporting-hint-message": i.value,
|
|
68
|
+
"initial-hint-text": i.value,
|
|
69
|
+
error_message: i.value,
|
|
70
|
+
name: b.value,
|
|
68
71
|
"trailing-text": I.value,
|
|
69
|
-
trailing_text:
|
|
70
|
-
|
|
71
|
-
|
|
72
|
+
trailing_text: k.value,
|
|
73
|
+
inputStyle: w.value,
|
|
74
|
+
"is-disabled": E.value
|
|
75
|
+
}, null, 8, ["modelValue", "label", "placeholder", "input-type", "add-on-text", "date-picker", "pre-icon", "tooltip-text", "show-error", "supporting-hint-message", "initial-hint-text", "error_message", "name", "trailing-text", "trailing_text", "inputStyle", "is-disabled"]));
|
|
72
76
|
}
|
|
73
77
|
});
|
|
74
78
|
export {
|
package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as f, watch as N, createElementBlock as u, openBlock as i, createCommentVNode as o, createElementVNode as d, createBlock as v, toDisplayString as h, unref as n, normalizeStyle as S, normalizeClass as p, withDirectives as M, vModelDynamic as F, createVNode as W, withKeys as w, withModifiers as k, isRef as r } from "vue";
|
|
2
|
-
import { PhInfo as
|
|
3
|
-
import
|
|
2
|
+
import { PhInfo as j, PhMagnifyingGlass as X, PhQuestion as O, PhWarningCircle as H, PhCaretDown as Y, PhCaretUp as Z, PhCalendar as _, PhClock as ee } from "@phosphor-icons/vue";
|
|
3
|
+
import q from "./TextButtonSmall.vue.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -23,10 +23,10 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
23
23
|
}, pe = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "dpiV3_hintText"
|
|
26
|
-
},
|
|
26
|
+
}, ye = {
|
|
27
27
|
key: 1,
|
|
28
28
|
class: "dpiV3_errorText"
|
|
29
|
-
},
|
|
29
|
+
}, xe = {
|
|
30
30
|
key: 1,
|
|
31
31
|
class: "dpiV3_InputFieldBase"
|
|
32
32
|
}, Ve = { class: "dpiV3_Top_leading_text" }, be = { class: "dpiV3_Lebel" }, he = { class: "dpiV3_label" }, we = { class: "dpiV3_Input" }, ge = { class: "dpiV3_Text-Add-On" }, ke = { class: "dpiV3_Content-leading-Text" }, Te = ["type", "disabled", "placeholder"], me = { class: "dpiV3_Content-leading-Text" }, Ee = ["type", "disabled", "placeholder"], Be = { class: "dpiV3_Text-Add-On" }, Ie = {
|
|
@@ -127,24 +127,28 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
127
127
|
error_message: {
|
|
128
128
|
type: String,
|
|
129
129
|
default: "error"
|
|
130
|
+
},
|
|
131
|
+
inputStyle: {
|
|
132
|
+
type: Object,
|
|
133
|
+
default: () => ({})
|
|
130
134
|
}
|
|
131
135
|
},
|
|
132
136
|
emits: ["update:modelValue", "deleteButtonClicked"],
|
|
133
|
-
setup(e, { emit:
|
|
134
|
-
const c = e, L =
|
|
135
|
-
let K = f("var(--neutral-60)"),
|
|
137
|
+
setup(e, { emit: G }) {
|
|
138
|
+
const c = e, L = G;
|
|
139
|
+
let K = f("var(--neutral-60)"), y = f(!1), l = f(!1), g = f(!1);
|
|
136
140
|
const V = f(null);
|
|
137
141
|
let T = f(!1), s = f("inset 0 0 0 1px var(--neutral-30, #687178)"), m = f(!1), C = f(!1), b = f();
|
|
138
|
-
const $ = f(!1),
|
|
142
|
+
const $ = f(!1), x = f(c.modelValue);
|
|
139
143
|
N(
|
|
140
144
|
() => c.modelValue,
|
|
141
145
|
(D) => {
|
|
142
|
-
|
|
146
|
+
x.value = D;
|
|
143
147
|
}
|
|
144
|
-
), N(
|
|
148
|
+
), N(x, (D) => {
|
|
145
149
|
L("update:modelValue", D);
|
|
146
150
|
});
|
|
147
|
-
function
|
|
151
|
+
function Q() {
|
|
148
152
|
V.value && V.value.showPicker();
|
|
149
153
|
}
|
|
150
154
|
function J() {
|
|
@@ -154,13 +158,13 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
154
158
|
L("deleteButtonClicked");
|
|
155
159
|
}
|
|
156
160
|
function E() {
|
|
157
|
-
T.value = !1, m.value = !0,
|
|
161
|
+
T.value = !1, m.value = !0, y.value = !0, s.value = "0 0 0 2px var(--Focused)", c.addOnText && (s.value = "0 0 0 2px var(--blue-60, #009FE3)", b.value = "none"), V.value;
|
|
158
162
|
}
|
|
159
163
|
function B() {
|
|
160
|
-
m.value = !1,
|
|
164
|
+
m.value = !1, y.value = !1, s.value = "inset 0 0 0 1px var(--neutral-30, #687178)";
|
|
161
165
|
}
|
|
162
166
|
function A() {
|
|
163
|
-
T.value = !0,
|
|
167
|
+
T.value = !0, y.value = !1, C.value && (s.value = "inset 0 0 0 1px var(--neutral-60, #687178)");
|
|
164
168
|
}
|
|
165
169
|
function P() {
|
|
166
170
|
C.value = !0, s.value = "inset 0 0 0 1px var(--neutral-60, #687178)", c.addOnText && (b.value = "none"), m.value && (s.value = "0 0 0 2px var(--Focused)", c.addOnText && (s.value = "0 0 0 2px var(--blue-blue-60, #009FE3)", b.value = "none"));
|
|
@@ -169,7 +173,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
169
173
|
C.value = !1, s.value = "inset 0 0 0 1px var(--neutral-30, #687178)", c.addOnText && (b.value = "none"), m.value && (s.value = "0 0 0 2px var(--Focused, #687178)", c.addOnText && (s.value = "0 0 0 2px var(--blue-blue-60, #009FE3)", b.value = "none"));
|
|
170
174
|
}
|
|
171
175
|
function R() {
|
|
172
|
-
|
|
176
|
+
y.value && (s.value = "0 0 0 2px var(--Focused)", c.addOnText && (s.value = "0 0 0 2px var(--blue-blue-60, #009FE3)", b.value = "none"));
|
|
173
177
|
}
|
|
174
178
|
function I() {
|
|
175
179
|
s.value = "0 0 0 2px var(--Focused)", c.addOnText && (s.value = "0 0 0 2px var(--blue-blue-60, #009FE3)", b.value = "none");
|
|
@@ -180,7 +184,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
180
184
|
d("div", oe, [
|
|
181
185
|
e.label ? (i(), u("label", ae, h(e.label), 1)) : o("", !0),
|
|
182
186
|
d("span", de, [
|
|
183
|
-
e.infoIcon ? (i(), v(n(
|
|
187
|
+
e.infoIcon ? (i(), v(n(j), {
|
|
184
188
|
key: 0,
|
|
185
189
|
weight: "fill",
|
|
186
190
|
class: "dpiV3_labelIcon",
|
|
@@ -192,7 +196,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
192
196
|
$.value ? (i(), u("span", se, h(e.tooltip_text), 1)) : o("", !0)
|
|
193
197
|
])
|
|
194
198
|
]),
|
|
195
|
-
e.defaultInput ? o("", !0) : (i(), v(
|
|
199
|
+
e.defaultInput ? o("", !0) : (i(), v(q, {
|
|
196
200
|
key: 0,
|
|
197
201
|
"button-text": "löschen",
|
|
198
202
|
class: "dpiV3_deleteButton",
|
|
@@ -204,8 +208,8 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
204
208
|
class: p(["dpiV3_Input_box", {
|
|
205
209
|
dpiV3_disabled: e.isDisabled,
|
|
206
210
|
"calendar-focused": n(T),
|
|
207
|
-
"error-state": e.showError && !n(
|
|
208
|
-
"focused-error-state": e.showError && n(
|
|
211
|
+
"error-state": e.showError && !n(y) && !n(g),
|
|
212
|
+
"focused-error-state": e.showError && n(y),
|
|
209
213
|
"filled-error-state": e.showError && n(g)
|
|
210
214
|
}]),
|
|
211
215
|
style: S({ "box-shadow": n(s) }),
|
|
@@ -224,7 +228,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
224
228
|
key: 1,
|
|
225
229
|
ref_key: "inputRef",
|
|
226
230
|
ref: V,
|
|
227
|
-
"onUpdate:modelValue": t[3] || (t[3] = (a) =>
|
|
231
|
+
"onUpdate:modelValue": t[3] || (t[3] = (a) => x.value = a),
|
|
228
232
|
type: e.inputType,
|
|
229
233
|
class: p(["dpiV3_Text", {
|
|
230
234
|
"error-state": e.showError,
|
|
@@ -236,13 +240,13 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
236
240
|
onBlur: B,
|
|
237
241
|
onMousedown: I
|
|
238
242
|
}, null, 42, re)), [
|
|
239
|
-
[F,
|
|
243
|
+
[F, x.value]
|
|
240
244
|
]),
|
|
241
245
|
e.dropdown_dpiV3 ? M((i(), u("input", {
|
|
242
246
|
key: 2,
|
|
243
247
|
ref_key: "inputRef",
|
|
244
248
|
ref: V,
|
|
245
|
-
"onUpdate:modelValue": t[4] || (t[4] = (a) =>
|
|
249
|
+
"onUpdate:modelValue": t[4] || (t[4] = (a) => x.value = a),
|
|
246
250
|
type: e.inputType,
|
|
247
251
|
class: p(["dpiV3_Text", {
|
|
248
252
|
"error-state": e.showError,
|
|
@@ -255,7 +259,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
255
259
|
onBlur: B,
|
|
256
260
|
onMousedown: I
|
|
257
261
|
}, null, 42, ve)), [
|
|
258
|
-
[F,
|
|
262
|
+
[F, x.value]
|
|
259
263
|
]) : o("", !0),
|
|
260
264
|
e.showEndIcon && !e.showError && !e.dropdown_dpiV3 ? (i(), v(n(O), {
|
|
261
265
|
key: 3,
|
|
@@ -290,7 +294,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
290
294
|
}, null, 8, ["color"]),
|
|
291
295
|
d("div", {
|
|
292
296
|
class: p(["dpiV3_Rectangle1", { dpiV3_Pressed: n(l) }]),
|
|
293
|
-
onClick:
|
|
297
|
+
onClick: Q,
|
|
294
298
|
onFocus: k(A, ["stop"]),
|
|
295
299
|
onMousedown: t[5] || (t[5] = (a) => r(l) ? l.value = !0 : l = !0),
|
|
296
300
|
onMouseup: t[6] || (t[6] = (a) => r(l) ? l.value = !1 : l = !1),
|
|
@@ -332,15 +336,15 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
332
336
|
!e.showError && e.initialHintText ? (i(), u("div", pe, [
|
|
333
337
|
d("span", null, h(e.supportingHintMessage), 1)
|
|
334
338
|
])) : o("", !0),
|
|
335
|
-
e.showError && e.initialHintText ? (i(), u("div",
|
|
339
|
+
e.showError && e.initialHintText ? (i(), u("div", ye, [
|
|
336
340
|
d("span", null, h(e.error_message), 1)
|
|
337
341
|
])) : o("", !0)
|
|
338
342
|
])),
|
|
339
|
-
e.addOnText ? (i(), u("div",
|
|
343
|
+
e.addOnText ? (i(), u("div", xe, [
|
|
340
344
|
d("div", Ve, [
|
|
341
345
|
d("div", be, [
|
|
342
346
|
d("label", he, h(e.label), 1),
|
|
343
|
-
e.infoIcon ? (i(), v(n(
|
|
347
|
+
e.infoIcon ? (i(), v(n(j), {
|
|
344
348
|
key: 0,
|
|
345
349
|
weight: "fill",
|
|
346
350
|
class: "dpiV3_labelIcon",
|
|
@@ -348,7 +352,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
348
352
|
color: "var(--neutral-60, #3D4952)"
|
|
349
353
|
})) : o("", !0)
|
|
350
354
|
]),
|
|
351
|
-
e.defaultInput ? o("", !0) : (i(), v(
|
|
355
|
+
e.defaultInput ? o("", !0) : (i(), v(q, {
|
|
352
356
|
key: 0,
|
|
353
357
|
"button-text": "löschen",
|
|
354
358
|
class: "dpiV3_deleteButton",
|
|
@@ -370,8 +374,8 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
370
374
|
class: p(["dpiV3_Text_input", {
|
|
371
375
|
dpiV3_input_disabled: e.isDisabled,
|
|
372
376
|
"calendar-focused": n(T),
|
|
373
|
-
"error-state": e.showError && !n(
|
|
374
|
-
"focused-error-state": e.showError && n(
|
|
377
|
+
"error-state": e.showError && !n(y) && !n(g),
|
|
378
|
+
"focused-error-state": e.showError && n(y),
|
|
375
379
|
"filled-error-state": e.showError && n(g)
|
|
376
380
|
}]),
|
|
377
381
|
style: S({
|
|
@@ -386,7 +390,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
386
390
|
M(d("input", {
|
|
387
391
|
ref_key: "inputRef",
|
|
388
392
|
ref: V,
|
|
389
|
-
"onUpdate:modelValue": t[20] || (t[20] = (a) =>
|
|
393
|
+
"onUpdate:modelValue": t[20] || (t[20] = (a) => x.value = a),
|
|
390
394
|
type: e.inputType,
|
|
391
395
|
class: p(["dpiV3_Text", {
|
|
392
396
|
"error-state": e.showError,
|
|
@@ -398,7 +402,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
398
402
|
onBlur: B,
|
|
399
403
|
onMousedown: I
|
|
400
404
|
}, null, 42, Te), [
|
|
401
|
-
[F,
|
|
405
|
+
[F, x.value]
|
|
402
406
|
])
|
|
403
407
|
]),
|
|
404
408
|
e.showError ? (i(), v(n(H), {
|
|
@@ -419,8 +423,8 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
419
423
|
class: p(["dpiV3_Text_input-trailing", {
|
|
420
424
|
dpiV3_input_disabled: e.isDisabled,
|
|
421
425
|
"calendar-focused": n(T),
|
|
422
|
-
"error-state": e.showError && !n(
|
|
423
|
-
"focused-error-state": e.showError && n(
|
|
426
|
+
"error-state": e.showError && !n(y) && !n(g),
|
|
427
|
+
"focused-error-state": e.showError && n(y),
|
|
424
428
|
"filled-error-state": e.showError && n(g)
|
|
425
429
|
}]),
|
|
426
430
|
style: S({
|
|
@@ -435,7 +439,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
435
439
|
M(d("input", {
|
|
436
440
|
ref_key: "inputRef",
|
|
437
441
|
ref: V,
|
|
438
|
-
"onUpdate:modelValue": t[21] || (t[21] = (a) =>
|
|
442
|
+
"onUpdate:modelValue": t[21] || (t[21] = (a) => x.value = a),
|
|
439
443
|
type: e.inputType,
|
|
440
444
|
class: p(["dpiV3_Text", {
|
|
441
445
|
"error-state": e.showError,
|
|
@@ -447,7 +451,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
447
451
|
onBlur: B,
|
|
448
452
|
onMousedown: I
|
|
449
453
|
}, null, 42, Ee), [
|
|
450
|
-
[F,
|
|
454
|
+
[F, x.value]
|
|
451
455
|
])
|
|
452
456
|
]),
|
|
453
457
|
e.showError ? (i(), v(n(H), {
|
|
@@ -481,7 +485,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
|
|
|
481
485
|
])) : o("", !0)
|
|
482
486
|
]));
|
|
483
487
|
}
|
|
484
|
-
}, Oe = /* @__PURE__ */ te(Me, [["__scopeId", "data-v-
|
|
488
|
+
}, Oe = /* @__PURE__ */ te(Me, [["__scopeId", "data-v-6d2518f0"]]);
|
|
485
489
|
export {
|
|
486
490
|
Oe as default
|
|
487
491
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./OptionalDataStep.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-
|
|
4
|
+
const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-c0f37be8"]]);
|
|
5
5
|
export {
|
|
6
6
|
e as default
|
|
7
7
|
};
|