@piveau/dpi 0.2.0-alpha.40 → 0.2.0-alpha.41
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/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +84 -65
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Card.vue.js +3 -3
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Card.vue2.js +30 -27
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldVeeValidate.vue.js +18 -13
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ListBox/ListboxVeeValidate.vue.js +16 -11
- 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 +113 -105
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/FunctionalityForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/FunctionalityForm.vue2.js +45 -49
- 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 +103 -103
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/UrlField.vue.js +30 -0
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/UrlField.vue2.js +4 -0
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +68 -67
- package/dist/packages/dpi/src/stories/components/LinkCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/LinkCard.vue2.js +24 -26
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/PartnerCard.vue2.js +15 -19
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue.js +2 -2
- package/dist/packages/dpi/src/stories/components/ScreenshotCard.vue2.js +13 -18
- package/dist/packages/dpi/src/utils/twinbyUtils.js +28 -4
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ProjectOrganisationStep.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f2c2fe06"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as _, createElementBlock as o, openBlock as l, createElementVNode as e, createCommentVNode as b, renderSlot as A, toDisplayString as a, unref as n, createVNode as s, withCtx as r, createTextVNode as k } from "vue";
|
|
2
2
|
import { FormKit as c } from "@formkit/vue";
|
|
3
|
-
import { PhLightbulb as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
3
|
+
import { PhLightbulb as I } from "@phosphor-icons/vue";
|
|
4
|
+
import S from "../../../../stories/components/PartnerCard.vue.js";
|
|
5
|
+
import { generateIsRequiredMsg as u, requireAllIfAny as m, generateIsInvalidMsg as g } from "../../../../utils/twinbyUtils.js";
|
|
6
|
+
import w from "../../../components/StepActionsSection.vue.js";
|
|
7
|
+
import { useTwinbyUser as D } from "../../../composables/useTwinbyUser.js";
|
|
8
|
+
import q from "../Card.vue.js";
|
|
8
9
|
import p from "../InputField/InputFieldDefinition.js";
|
|
9
|
-
const
|
|
10
|
+
const z = { class: "dpiV3_page V3-typography" }, E = { class: "funny-section" }, M = { class: "funny-flex" }, N = { class: "funny-section" }, P = { class: "contact-container" }, T = { class: "contact-title" }, C = { class: "contact-wrapper" }, B = {
|
|
10
11
|
key: 0,
|
|
11
12
|
class: "contact-logo-wrapper"
|
|
12
|
-
},
|
|
13
|
+
}, V = ["src"], O = { key: 1 }, j = { class: "info-wrapper" }, G = { class: "contact-grid" }, F = { class: "contact-col" }, K = { class: "contact-info" }, $ = { class: "contact-info" }, x = { class: "contact-col" }, H = { class: "contact-info" }, L = ["href"], R = {
|
|
13
14
|
key: 1,
|
|
14
15
|
class: "copy-large-regular"
|
|
15
|
-
},
|
|
16
|
+
}, W = { class: "funny-section" }, U = { class: "contact-section" }, J = { class: "funny-section" }, Q = { class: "funny-section" }, X = { class: "funny-flex" }, d = "...", re = /* @__PURE__ */ _({
|
|
16
17
|
__name: "ProjectOrganisationStep",
|
|
17
18
|
props: {
|
|
18
19
|
isWip: { type: Boolean },
|
|
@@ -23,49 +24,52 @@ const D = { class: "dpiV3_page V3-typography" }, z = { class: "funny-section" },
|
|
|
23
24
|
phone: {},
|
|
24
25
|
email: {}
|
|
25
26
|
},
|
|
26
|
-
setup(
|
|
27
|
-
const { organizationDetails:
|
|
27
|
+
setup(Y) {
|
|
28
|
+
const { organizationDetails: h } = D({
|
|
28
29
|
keycloak: "https://keycloak.twin.bydata.de",
|
|
29
30
|
realm: "piveau",
|
|
30
31
|
audience: "piveau-hub-repo"
|
|
31
32
|
});
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
function y(t) {
|
|
34
|
+
return t._value === null || t._value === void 0 ? !0 : typeof t._value != "string" ? !1 : /^\d*$/.test(t._value);
|
|
35
|
+
}
|
|
36
|
+
return (t, i) => (l(), o("div", z, [
|
|
37
|
+
e("section", E, [
|
|
38
|
+
e("div", M, [
|
|
39
|
+
i[2] || (i[2] = e("h4", null, "Informationen zu Ihrer Organisation", -1)),
|
|
40
|
+
i[3] || (i[3] = e("span", { class: "copy-large-regular" }, " Die Angaben zur durchführenden Organisation werden nicht hier bei der Projektdokumentation erfasst. Diese Daten werden automatisch aus den Kontoinformationen übernommen, die bei uns hinterlegt sind. So wird sichergestellt, dass die Angaben zu Ihrer Organisation stets konsistent und aktuell bleiben, ohne dass sie mehrfach eingegeben werden müssen. ", -1)),
|
|
41
|
+
A(t.$slots, "organization", {}, () => {
|
|
42
|
+
var f, v;
|
|
39
43
|
return [
|
|
40
|
-
e("section",
|
|
41
|
-
e("div",
|
|
42
|
-
e("p",
|
|
44
|
+
e("section", N, [
|
|
45
|
+
e("div", P, [
|
|
46
|
+
e("p", T, a(((v = (f = n(h).resultEnhanced) == null ? void 0 : f.value) == null ? void 0 : v.title) || "Stadt Haar"), 1),
|
|
43
47
|
e("div", C, [
|
|
44
|
-
t.icon ? (l(),
|
|
48
|
+
t.icon ? (l(), o("div", B, [
|
|
45
49
|
e("img", {
|
|
46
50
|
class: "contact-logo",
|
|
47
51
|
src: t.icon,
|
|
48
52
|
alt: "Stadt Haar Logo"
|
|
49
|
-
}, null, 8,
|
|
50
|
-
])) : (l(),
|
|
53
|
+
}, null, 8, V)
|
|
54
|
+
])) : (l(), o("div", O, i[0] || (i[0] = [
|
|
51
55
|
e("div", { class: "avatar-circle" }, null, -1)
|
|
52
56
|
]))),
|
|
53
|
-
e("div",
|
|
54
|
-
e("div",
|
|
55
|
-
e("div",
|
|
56
|
-
e("span",
|
|
57
|
-
e("span",
|
|
57
|
+
e("div", j, [
|
|
58
|
+
e("div", G, [
|
|
59
|
+
e("div", F, [
|
|
60
|
+
e("span", K, a(t.address || d), 1),
|
|
61
|
+
e("span", $, a(t.postalCode || d) + " " + a(t.city || d), 1)
|
|
58
62
|
]),
|
|
59
|
-
e("div",
|
|
60
|
-
e("span",
|
|
61
|
-
t.email ? (l(),
|
|
63
|
+
e("div", x, [
|
|
64
|
+
e("span", H, a(t.phone || d), 1),
|
|
65
|
+
t.email ? (l(), o("a", {
|
|
62
66
|
key: 0,
|
|
63
67
|
class: "contact-info",
|
|
64
68
|
href: `mailto:${t.email}`
|
|
65
|
-
},
|
|
69
|
+
}, a(t.email), 9, L)) : (l(), o("span", R, a(d)))
|
|
66
70
|
])
|
|
67
71
|
]),
|
|
68
|
-
|
|
72
|
+
i[1] || (i[1] = e("div", { style: { position: "absolute", top: "0", left: "-12px", width: "360px", height: "100%", "background-color": "var(--blue-10)", "border-radius": "24px", display: "grid", "place-content": "center" } }, " Keine Daten verfügbar ", -1))
|
|
69
73
|
])
|
|
70
74
|
])
|
|
71
75
|
])
|
|
@@ -74,44 +78,59 @@ const D = { class: "dpiV3_page V3-typography" }, z = { class: "funny-section" },
|
|
|
74
78
|
}, !0)
|
|
75
79
|
])
|
|
76
80
|
]),
|
|
77
|
-
|
|
78
|
-
e("section",
|
|
79
|
-
e("div",
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
b("", !0),
|
|
82
|
+
e("section", W, [
|
|
83
|
+
e("div", U, [
|
|
84
|
+
i[6] || (i[6] = e("h5", null, "Projektkontakt (optional)", -1)),
|
|
85
|
+
i[7] || (i[7] = e("span", { class: "copy-large-regular" }, " Bitte nennen Sie eine allgemeine E-Mail-Adresse oder Funktionsadresse, unter der interessierte Personen Rückfragen zum Projekt stellen können. Bitte geben Sie keine personenbezogenen Daten an. ", -1)),
|
|
86
|
+
s(S, null, {
|
|
83
87
|
default: r(() => [
|
|
84
|
-
|
|
88
|
+
s(n(c), {
|
|
85
89
|
type: "group",
|
|
86
90
|
name: "contact"
|
|
87
91
|
}, {
|
|
88
92
|
default: r(() => [
|
|
89
|
-
|
|
90
|
-
type:
|
|
93
|
+
s(n(c), {
|
|
94
|
+
type: n(p),
|
|
91
95
|
name: "name",
|
|
92
96
|
"text-label": "Name",
|
|
93
97
|
placeholder: "Geben Sie einen Namen an.",
|
|
98
|
+
validation: "+requireAllIfAny|",
|
|
94
99
|
"validation-label": "Name",
|
|
95
|
-
"validation-visibility": "submit"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
100
|
+
"validation-visibility": "submit",
|
|
101
|
+
"validation-rules": { requireAllIfAny: n(m) },
|
|
102
|
+
"validation-messages": {
|
|
103
|
+
requireAllIfAny: n(u)("Name")
|
|
104
|
+
}
|
|
105
|
+
}, null, 8, ["type", "validation-rules", "validation-messages"]),
|
|
106
|
+
s(n(c), {
|
|
107
|
+
type: n(p),
|
|
99
108
|
name: "mail",
|
|
100
109
|
"text-label": "E-Mail-Adresse",
|
|
101
110
|
placeholder: "Geben Sie eine E-Mail-Adresse an.",
|
|
102
|
-
validation: "email",
|
|
111
|
+
validation: "email|+requireAllIfAny|",
|
|
103
112
|
"validation-visibility": "submit",
|
|
104
|
-
"validation-label": "E-Mail-Adresse"
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
113
|
+
"validation-label": "E-Mail-Adresse",
|
|
114
|
+
"validation-messages": {
|
|
115
|
+
email: n(g)("E-Mail-Adresse"),
|
|
116
|
+
requireAllIfAny: n(u)("E-Mail-Adresse")
|
|
117
|
+
},
|
|
118
|
+
"validation-rules": { requireAllIfAny: n(m) }
|
|
119
|
+
}, null, 8, ["type", "validation-messages", "validation-rules"]),
|
|
120
|
+
s(n(c), {
|
|
121
|
+
type: n(p),
|
|
108
122
|
name: "phone",
|
|
109
123
|
"text-label": "Telefonnummer",
|
|
110
124
|
placeholder: "Geben Sie eine Telefonnummer an.",
|
|
111
|
-
validation:
|
|
125
|
+
"validation-rules": { numeric: y, requireAllIfAny: n(m) },
|
|
126
|
+
validation: "numeric|+requireAllIfAny|",
|
|
112
127
|
"validation-label": "Telefonnummer",
|
|
113
|
-
"validation-visibility": "submit"
|
|
114
|
-
|
|
128
|
+
"validation-visibility": "submit",
|
|
129
|
+
"validation-messages": {
|
|
130
|
+
numeric: n(g)("Telefonnummer"),
|
|
131
|
+
requireAllIfAny: n(u)("Telefonnummer")
|
|
132
|
+
}
|
|
133
|
+
}, null, 8, ["type", "validation-rules", "validation-messages"])
|
|
115
134
|
]),
|
|
116
135
|
_: 1
|
|
117
136
|
})
|
|
@@ -120,23 +139,23 @@ const D = { class: "dpiV3_page V3-typography" }, z = { class: "funny-section" },
|
|
|
120
139
|
})
|
|
121
140
|
])
|
|
122
141
|
]),
|
|
123
|
-
e("section",
|
|
124
|
-
|
|
142
|
+
e("section", J, [
|
|
143
|
+
s(w)
|
|
125
144
|
]),
|
|
126
|
-
e("section",
|
|
127
|
-
e("div",
|
|
128
|
-
|
|
145
|
+
e("section", Q, [
|
|
146
|
+
e("div", X, [
|
|
147
|
+
s(q, { variant: "default" }, {
|
|
129
148
|
icon: r(() => [
|
|
130
|
-
|
|
149
|
+
s(n(I), {
|
|
131
150
|
size: 32,
|
|
132
151
|
color: "#009fe3"
|
|
133
152
|
})
|
|
134
153
|
]),
|
|
135
|
-
title: r(() =>
|
|
136
|
-
|
|
154
|
+
title: r(() => i[8] || (i[8] = [
|
|
155
|
+
k(" Wichtig! ", -1)
|
|
137
156
|
])),
|
|
138
157
|
default: r(() => [
|
|
139
|
-
|
|
158
|
+
i[9] || (i[9] = e("div", { class: "copy-large-regular" }, [
|
|
140
159
|
e("p", null, "Bitte geben Sie keine persönlichen Daten preis! Diese dürfen auf unserer Plattform nicht veröffentlicht werden."),
|
|
141
160
|
e("p", null, "Dazu zählen Namen, E-Mail-Adresse oder auch Telefonnummern von realen Personen."),
|
|
142
161
|
e("p", null, "Geben Sie daher hier die Daten einer Organisationseinheit oder Abteilung an.")
|
|
@@ -151,5 +170,5 @@ const D = { class: "dpiV3_page V3-typography" }, z = { class: "funny-section" },
|
|
|
151
170
|
}
|
|
152
171
|
});
|
|
153
172
|
export {
|
|
154
|
-
|
|
173
|
+
re as default
|
|
155
174
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Card.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-bd2840af"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,52 +1,55 @@
|
|
|
1
|
-
import { defineComponent as p, computed as c, createElementBlock as
|
|
2
|
-
const _ = {
|
|
1
|
+
import { defineComponent as p, computed as c, createElementBlock as o, openBlock as t, normalizeClass as d, createCommentVNode as l, createElementVNode as a, renderSlot as i } from "vue";
|
|
2
|
+
const _ = { class: "icon" }, u = {
|
|
3
3
|
key: 0,
|
|
4
|
-
class: "dpiV3_Card_Icon_Title"
|
|
5
|
-
}, u = {
|
|
6
|
-
key: 1,
|
|
7
4
|
class: "dpiV3_Card_Info_Text copy-large-semi-bold"
|
|
8
|
-
}, C = { class: "dpiV3_Card_Body" },
|
|
5
|
+
}, C = { class: "dpiV3_Card_Body" }, v = {
|
|
9
6
|
key: 0,
|
|
10
7
|
class: "dpiV3_Card_Icon"
|
|
11
|
-
},
|
|
8
|
+
}, m = { key: 1 }, $ = /* @__PURE__ */ p({
|
|
12
9
|
__name: "Card",
|
|
13
10
|
props: {
|
|
14
11
|
variant: { default: "default" },
|
|
15
|
-
small: { type: Boolean, default: !1 }
|
|
12
|
+
small: { type: Boolean, default: !1 },
|
|
13
|
+
iconTop: { type: Boolean, default: !1 }
|
|
16
14
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
15
|
+
setup(n) {
|
|
16
|
+
const s = n, r = c(() => ({
|
|
19
17
|
"V3-typography": !0,
|
|
20
18
|
dpiV3_Card: !0,
|
|
21
|
-
"dpiV3_Card--small":
|
|
22
|
-
"dpiV3_Card--default":
|
|
23
|
-
"dpiV3_Card--error":
|
|
19
|
+
"dpiV3_Card--small": s.small,
|
|
20
|
+
"dpiV3_Card--default": s.variant === "default",
|
|
21
|
+
"dpiV3_Card--error": s.variant === "error"
|
|
24
22
|
}));
|
|
25
|
-
return (e, V) => (
|
|
26
|
-
class:
|
|
23
|
+
return (e, V) => (t(), o("div", {
|
|
24
|
+
class: d(r.value)
|
|
27
25
|
}, [
|
|
28
|
-
e.$slots.title ? (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
26
|
+
e.$slots.title ? (t(), o("div", {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: d(["dpiV3_Card_Icon_Title", { "dpiV3_Card_Icon_Title--icon-top": s.iconTop }])
|
|
29
|
+
}, [
|
|
30
|
+
a("div", _, [
|
|
31
|
+
e.$slots.icon ? i(e.$slots, "icon", { key: 0 }, void 0, !0) : l("", !0)
|
|
32
|
+
]),
|
|
33
|
+
e.$slots.title ? (t(), o("div", u, [
|
|
34
|
+
i(e.$slots, "title", {}, void 0, !0)
|
|
35
|
+
])) : l("", !0)
|
|
36
|
+
], 2)) : l("", !0),
|
|
34
37
|
a("div", C, [
|
|
35
|
-
e.$slots.icon && !e.$slots.title ? (
|
|
36
|
-
|
|
37
|
-
])) : (
|
|
38
|
+
e.$slots.icon && !e.$slots.title ? (t(), o("div", v, [
|
|
39
|
+
i(e.$slots, "icon", {}, void 0, !0)
|
|
40
|
+
])) : (t(), o("div", m)),
|
|
38
41
|
a("div", {
|
|
39
|
-
class:
|
|
42
|
+
class: d(["dpiV3_Card_Content", {
|
|
40
43
|
"dpiV3_Card_Content--with-icon": e.$slots.icon && e.$slots.title,
|
|
41
44
|
"dpiV3_Card_Content--with-icon-no-title": e.$slots.icon && !e.$slots.title
|
|
42
45
|
}])
|
|
43
46
|
}, [
|
|
44
|
-
|
|
47
|
+
i(e.$slots, "default", {}, void 0, !0)
|
|
45
48
|
], 2)
|
|
46
49
|
])
|
|
47
50
|
], 2));
|
|
48
51
|
}
|
|
49
52
|
});
|
|
50
53
|
export {
|
|
51
|
-
|
|
54
|
+
$ as default
|
|
52
55
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { defineComponent as g, toRef as c, computed as s, ref as y, watch as h, createBlock as v, openBlock as B, unref as T, isRef as k } from "vue";
|
|
2
|
+
import { watchOnce as x } from "@vueuse/core";
|
|
3
|
+
import { useField as M } from "vee-validate";
|
|
4
|
+
import V from "../InputField.vue.js";
|
|
5
|
+
const F = /* @__PURE__ */ g({
|
|
5
6
|
__name: "InputFieldVeeValidate",
|
|
6
7
|
props: {
|
|
7
8
|
modelValue: {},
|
|
@@ -28,16 +29,20 @@ const M = /* @__PURE__ */ f({
|
|
|
28
29
|
errorMessage: { default: "" }
|
|
29
30
|
},
|
|
30
31
|
emits: ["update:modelValue"],
|
|
31
|
-
setup(
|
|
32
|
-
const t =
|
|
32
|
+
setup(p) {
|
|
33
|
+
const t = p, u = c(t, "name"), { value: a, errorMessage: o, meta: l, validate: f } = M(u, void 0, {
|
|
33
34
|
syncVModel: !0,
|
|
34
35
|
form: t.form,
|
|
35
36
|
validateOnValueUpdate: !1,
|
|
36
37
|
validateOnMount: !1
|
|
37
|
-
}),
|
|
38
|
-
return (
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
}), i = s(() => !!((l.touched || l.dirty) && (o.value || t.errorMessage))), n = s(() => o.value || t.errorMessage || ""), d = y(!1);
|
|
39
|
+
return x(i, (e) => {
|
|
40
|
+
e && (d.value = !0);
|
|
41
|
+
}), h(a, () => {
|
|
42
|
+
d.value && l.validated && f({ mode: "force" });
|
|
43
|
+
}), (e, r) => (B(), v(V, {
|
|
44
|
+
modelValue: T(a),
|
|
45
|
+
"onUpdate:modelValue": r[0] || (r[0] = (m) => k(a) ? a.value = m : null),
|
|
41
46
|
label: e.label,
|
|
42
47
|
placeholder: e.placeholder,
|
|
43
48
|
"input-type": e.inputType,
|
|
@@ -54,13 +59,13 @@ const M = /* @__PURE__ */ f({
|
|
|
54
59
|
"is-disabled": e.isDisabled,
|
|
55
60
|
"input-field-size": e.inputFieldSize,
|
|
56
61
|
"input-style": e.inputStyle,
|
|
57
|
-
"show-error":
|
|
62
|
+
"show-error": i.value,
|
|
58
63
|
error_message: n.value,
|
|
59
64
|
"supporting-hint-message": n.value || e.supportingHintMessage,
|
|
60
|
-
"initial-hint-text":
|
|
65
|
+
"initial-hint-text": i.value || e.initialHintText
|
|
61
66
|
}, null, 8, ["modelValue", "label", "placeholder", "input-type", "add-on-text", "add-on-leading-text", "trailing-text", "trailing_text", "date-picker", "time-picker", "info-icon", "tooltip-text", "pre-icon", "show-end-icon", "is-disabled", "input-field-size", "input-style", "show-error", "error_message", "supporting-hint-message", "initial-hint-text"]));
|
|
62
67
|
}
|
|
63
68
|
});
|
|
64
69
|
export {
|
|
65
|
-
|
|
70
|
+
F as default
|
|
66
71
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { defineComponent as b, toRef as c, computed as r, ref as v, watch as V, createBlock as h, openBlock as y, unref as g, isRef as B } from "vue";
|
|
2
|
+
import { watchOnce as F } from "@vueuse/core";
|
|
3
|
+
import { useField as L } from "vee-validate";
|
|
4
|
+
import M from "./Listbox.vue.js";
|
|
5
|
+
const D = /* @__PURE__ */ b({
|
|
5
6
|
__name: "ListboxVeeValidate",
|
|
6
7
|
props: {
|
|
7
8
|
modelValue: {},
|
|
@@ -17,15 +18,19 @@ const L = /* @__PURE__ */ p({
|
|
|
17
18
|
},
|
|
18
19
|
emits: ["update:modelValue"],
|
|
19
20
|
setup(o) {
|
|
20
|
-
const l = o,
|
|
21
|
+
const l = o, s = c(l, "name"), { value: a, errorMessage: n, validate: p, meta: t } = L(s, void 0, {
|
|
21
22
|
syncVModel: !0,
|
|
22
23
|
form: l.form,
|
|
23
24
|
validateOnValueUpdate: !1,
|
|
24
25
|
validateOnMount: !1
|
|
25
|
-
}),
|
|
26
|
-
return (
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
}), u = r(() => !!((t.touched || t.dirty) && n.value)), m = r(() => n.value || ""), d = v(!1);
|
|
27
|
+
return F(u, (e) => {
|
|
28
|
+
e && (d.value = !0);
|
|
29
|
+
}), V(a, () => {
|
|
30
|
+
d.value && t.validated && p({ mode: "force" });
|
|
31
|
+
}), (e, i) => (y(), h(M, {
|
|
32
|
+
modelValue: g(a),
|
|
33
|
+
"onUpdate:modelValue": i[0] || (i[0] = (f) => B(a) ? a.value = f : null),
|
|
29
34
|
options: e.options,
|
|
30
35
|
label: e.label,
|
|
31
36
|
placeholder: e.placeholder,
|
|
@@ -33,11 +38,11 @@ const L = /* @__PURE__ */ p({
|
|
|
33
38
|
"option-value": e.optionValue,
|
|
34
39
|
"option-disabled": e.optionDisabled,
|
|
35
40
|
disabled: e.disabled,
|
|
36
|
-
"error-message":
|
|
41
|
+
"error-message": m.value,
|
|
37
42
|
name: l.name
|
|
38
43
|
}, null, 8, ["modelValue", "options", "label", "placeholder", "option-label", "option-value", "option-disabled", "disabled", "error-message", "name"]));
|
|
39
44
|
}
|
|
40
45
|
});
|
|
41
46
|
export {
|
|
42
|
-
|
|
47
|
+
D as default
|
|
43
48
|
};
|
|
@@ -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-799e1d2d"]]);
|
|
5
5
|
export {
|
|
6
6
|
e as default
|
|
7
7
|
};
|