@effect-app/vue-components 4.0.0-beta.4 → 4.0.0-beta.40
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/README.md +24 -0
- package/dist/reset.css +51 -0
- package/dist/types/components/OmegaForm/OmegaAutoGen.vue.d.ts +1 -1
- package/dist/types/components/OmegaForm/OmegaFormStuff.d.ts +22 -15
- package/dist/types/components/OmegaForm/useOmegaForm.d.ts +3 -5
- package/dist/types/utils/index.d.ts +3 -4
- package/dist/vue-components.es.js +8 -7
- package/dist/vue-components.es10.js +138 -135
- package/dist/vue-components.es11.js +2 -2
- package/dist/vue-components.es12.js +430 -344
- package/dist/vue-components.es16.js +4 -11
- package/dist/vue-components.es17.js +11 -723
- package/dist/vue-components.es18.js +52 -138
- package/dist/vue-components.es19.js +54 -4
- package/dist/vue-components.es2.js +15 -14
- package/dist/vue-components.es20.js +6 -11
- package/dist/vue-components.es21.js +6 -3
- package/dist/vue-components.es22.js +3 -24
- package/dist/vue-components.es23.js +3 -4
- package/dist/vue-components.es24.js +2 -8
- package/dist/vue-components.es25.js +2 -55
- package/dist/vue-components.es26.js +2 -69
- package/dist/vue-components.es27.js +2 -6
- package/dist/vue-components.es28.js +17 -6
- package/dist/vue-components.es29.js +11 -3
- package/dist/vue-components.es3.js +11 -10
- package/dist/vue-components.es30.js +192 -3
- package/dist/vue-components.es32.js +29 -2
- package/dist/vue-components.es33.js +4 -2
- package/dist/vue-components.es34.js +1 -1
- package/dist/vue-components.es35.js +2 -17
- package/dist/vue-components.es36.js +107 -188
- package/dist/vue-components.es38.js +7 -4
- package/dist/vue-components.es39.js +30 -36
- package/dist/vue-components.es41.js +4 -83
- package/dist/vue-components.es42.js +22 -51
- package/dist/vue-components.es43.js +5 -561
- package/dist/vue-components.es44.js +20 -40
- package/dist/vue-components.es45.js +29 -26
- package/dist/vue-components.es46.js +22 -5
- package/dist/vue-components.es47.js +12 -40
- package/dist/vue-components.es48.js +5 -314
- package/dist/vue-components.es49.js +16 -28
- package/dist/vue-components.es5.js +1 -1
- package/dist/vue-components.es50.js +9 -4
- package/dist/vue-components.es51.js +31 -24
- package/dist/vue-components.es52.js +46 -73
- package/dist/vue-components.es53.js +25 -98
- package/dist/vue-components.es54.js +11 -2
- package/dist/vue-components.es55.js +61 -314
- package/dist/vue-components.es56.js +55 -63
- package/dist/vue-components.es57.js +17 -2
- package/dist/vue-components.es58.js +33 -2
- package/dist/vue-components.es59.js +29 -111
- package/dist/{vue-components.es97.js → vue-components.es60.js} +1 -1
- package/dist/vue-components.es61.js +2 -7
- package/dist/vue-components.es62.js +43 -31
- package/dist/vue-components.es7.js +37 -37
- package/package.json +17 -13
- package/src/components/OmegaForm/OmegaAutoGen.vue +25 -30
- package/src/components/OmegaForm/OmegaErrorsInternal.vue +2 -3
- package/src/components/OmegaForm/OmegaFormStuff.ts +499 -326
- package/src/components/OmegaForm/OmegaInternalInput.vue +9 -5
- package/src/components/OmegaForm/useOmegaForm.ts +39 -36
- package/src/reset.css +51 -0
- package/src/utils/index.ts +4 -8
- package/dist/vue-components.es31.js +0 -4
- package/dist/vue-components.es40.js +0 -6
- package/dist/vue-components.es64.js +0 -103
- package/dist/vue-components.es65.js +0 -4
- package/dist/vue-components.es66.js +0 -23
- package/dist/vue-components.es67.js +0 -84
- package/dist/vue-components.es68.js +0 -14
- package/dist/vue-components.es69.js +0 -115
- package/dist/vue-components.es70.js +0 -5
- package/dist/vue-components.es71.js +0 -34
- package/dist/vue-components.es72.js +0 -4
- package/dist/vue-components.es73.js +0 -4
- package/dist/vue-components.es74.js +0 -17
- package/dist/vue-components.es75.js +0 -72
- package/dist/vue-components.es76.js +0 -25
- package/dist/vue-components.es77.js +0 -7
- package/dist/vue-components.es78.js +0 -23
- package/dist/vue-components.es79.js +0 -32
- package/dist/vue-components.es80.js +0 -24
- package/dist/vue-components.es81.js +0 -14
- package/dist/vue-components.es82.js +0 -7
- package/dist/vue-components.es83.js +0 -21
- package/dist/vue-components.es84.js +0 -11
- package/dist/vue-components.es85.js +0 -33
- package/dist/vue-components.es86.js +0 -50
- package/dist/vue-components.es87.js +0 -28
- package/dist/vue-components.es88.js +0 -17
- package/dist/vue-components.es89.js +0 -18
- package/dist/vue-components.es90.js +0 -10
- package/dist/vue-components.es91.js +0 -13
- package/dist/vue-components.es92.js +0 -67
- package/dist/vue-components.es93.js +0 -58
- package/dist/vue-components.es94.js +0 -19
- package/dist/vue-components.es95.js +0 -35
- package/dist/vue-components.es96.js +0 -31
- package/dist/vue-components.es98.js +0 -4
- package/dist/vue-components.es99.js +0 -46
- /package/dist/{vue-components.es100.js → vue-components.es63.js} +0 -0
|
@@ -1,60 +1,57 @@
|
|
|
1
|
-
import { useForm as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
|
|
17
|
-
import { trace as D } from "./vue-components.es29.js";
|
|
18
|
-
import { context as P } from "./vue-components.es30.js";
|
|
19
|
-
class me extends B("FormErrors") {
|
|
1
|
+
import { useForm as z } from "@tanstack/vue-form";
|
|
2
|
+
import { Data as G, ServiceMap as Z, S as V, Effect as b, Fiber as R, Option as Q, Array as A } from "effect-app";
|
|
3
|
+
import { runtimeFiberAsPromise as W } from "./vue-components.es17.js";
|
|
4
|
+
import { computed as $, onUnmounted as D, onMounted as X, onBeforeUnmount as Y, watch as N, ref as C, h as B } from "vue";
|
|
5
|
+
import { useIntl as ee } from "./vue-components.es3.js";
|
|
6
|
+
import re from "./vue-components.es18.js";
|
|
7
|
+
import te from "./vue-components.es19.js";
|
|
8
|
+
import se from "./vue-components.es20.js";
|
|
9
|
+
import { toFormSchema as ne, generateMetaFromSchema as oe, deepMerge as H, defaultsValueFromSchema as ie } from "./vue-components.es12.js";
|
|
10
|
+
import ae from "./vue-components.es6.js";
|
|
11
|
+
import ce from "./vue-components.es8.js";
|
|
12
|
+
import le from "./vue-components.es21.js";
|
|
13
|
+
import { makeRunPromise as ue } from "@effect-app/vue/runtime";
|
|
14
|
+
import { trace as J } from "./vue-components.es22.js";
|
|
15
|
+
import { context as _ } from "./vue-components.es23.js";
|
|
16
|
+
class de extends G.TaggedError("FormErrors") {
|
|
20
17
|
}
|
|
21
|
-
const
|
|
18
|
+
const F = (a) => function(s) {
|
|
22
19
|
return {
|
|
23
20
|
render() {
|
|
24
|
-
return
|
|
25
|
-
form:
|
|
21
|
+
return B(s, {
|
|
22
|
+
form: a,
|
|
26
23
|
...this.$attrs
|
|
27
24
|
}, this.$slots);
|
|
28
25
|
}
|
|
29
26
|
};
|
|
30
|
-
},
|
|
31
|
-
const { formatMessage:
|
|
32
|
-
return (
|
|
33
|
-
},
|
|
27
|
+
}, me = (a) => {
|
|
28
|
+
const { formatMessage: c } = ee(), s = (l) => l.replace(/([A-Z])/g, " $1").replace(/^./, (h) => h.toUpperCase()).trim(), m = (l) => c ? c({ id: `general.fields.${l}`, defaultMessage: s(l) }) : s(l);
|
|
29
|
+
return (l) => a.i18nNamespace ? c({ id: `${a.i18nNamespace}.fields.${l}`, defaultMessage: m(l) }) : m(l);
|
|
30
|
+
}, fe = (a) => function(s) {
|
|
34
31
|
return {
|
|
35
32
|
setup() {
|
|
36
|
-
const { fieldMap: m, form:
|
|
37
|
-
const v = Object.entries(
|
|
38
|
-
const u =
|
|
33
|
+
const { fieldMap: m, form: p } = a, l = p.useStore((v) => v.errors), h = p.useStore((v) => v.fieldMeta), M = p.useStore((v) => v.errorMap), S = me(p), L = $(() => {
|
|
34
|
+
const v = Object.entries(h.value).reduce((o, [y, g]) => {
|
|
35
|
+
const u = g?.errors ?? [];
|
|
39
36
|
if (!u.length)
|
|
40
|
-
return
|
|
41
|
-
const d = m.value.get(
|
|
42
|
-
return d &&
|
|
37
|
+
return o;
|
|
38
|
+
const d = m.value.get(y);
|
|
39
|
+
return d && o.push({
|
|
43
40
|
label: d.label,
|
|
44
41
|
inputId: d.id,
|
|
45
42
|
errors: [u[0]?.message].filter(Boolean)
|
|
46
|
-
}),
|
|
47
|
-
}, []),
|
|
48
|
-
if (
|
|
49
|
-
for (const [
|
|
50
|
-
if (
|
|
51
|
-
for (const
|
|
52
|
-
const u =
|
|
53
|
-
if (u?.path &&
|
|
43
|
+
}), o;
|
|
44
|
+
}, []), O = [];
|
|
45
|
+
if (M.value.onSubmit) {
|
|
46
|
+
for (const [o, y] of Object.entries(M.value.onSubmit))
|
|
47
|
+
if (A.isArray(y) && y.length)
|
|
48
|
+
for (const g of y) {
|
|
49
|
+
const u = g;
|
|
50
|
+
if (u?.path && A.isArray(u.path) && u.path.length) {
|
|
54
51
|
const d = u.path.join(".");
|
|
55
52
|
if (!m.value.has(d)) {
|
|
56
|
-
|
|
57
|
-
label:
|
|
53
|
+
O.push({
|
|
54
|
+
label: S(d),
|
|
58
55
|
inputId: d,
|
|
59
56
|
errors: [u.message].filter(Boolean)
|
|
60
57
|
});
|
|
@@ -63,175 +60,181 @@ const A = (i) => function(s) {
|
|
|
63
60
|
}
|
|
64
61
|
}
|
|
65
62
|
}
|
|
66
|
-
return [...v, ...
|
|
63
|
+
return [...v, ...O];
|
|
67
64
|
});
|
|
68
65
|
return {
|
|
69
|
-
generalErrors:
|
|
66
|
+
generalErrors: l,
|
|
70
67
|
errors: L
|
|
71
68
|
};
|
|
72
69
|
},
|
|
73
|
-
render({ errors: m, generalErrors:
|
|
74
|
-
return
|
|
70
|
+
render({ errors: m, generalErrors: p }) {
|
|
71
|
+
return B(s, {
|
|
75
72
|
errors: m,
|
|
76
|
-
generalErrors:
|
|
73
|
+
generalErrors: p,
|
|
77
74
|
...this.$attrs
|
|
78
75
|
}, this.$slots);
|
|
79
76
|
}
|
|
80
77
|
};
|
|
81
|
-
},
|
|
82
|
-
if (!
|
|
83
|
-
const m =
|
|
78
|
+
}, w = (a, c) => a.includes(c), q = ue(Z.empty()), Ue = (a, c, s) => {
|
|
79
|
+
if (!a) throw new Error("Schema is required");
|
|
80
|
+
const m = ne(a), p = V.toStandardSchemaV1(m), l = V.decodeUnknownEffect(m), { meta: h, unionMeta: M } = oe(a), S = $(() => {
|
|
84
81
|
if (s?.persistency?.id)
|
|
85
82
|
return s.persistency.id;
|
|
86
|
-
const e = window.location.pathname, r = Object.keys(
|
|
83
|
+
const e = window.location.pathname, r = Object.keys(h);
|
|
87
84
|
return `${e}-${r.join("-")}`;
|
|
88
|
-
}),
|
|
85
|
+
}), L = () => {
|
|
89
86
|
const e = new URLSearchParams(window.location.search);
|
|
90
|
-
e.delete(
|
|
87
|
+
e.delete(S.value);
|
|
91
88
|
const r = new URL(window.location.href);
|
|
92
89
|
r.search = e.toString(), window.history.replaceState({}, "", r.toString());
|
|
93
|
-
},
|
|
90
|
+
}, v = $(() => {
|
|
94
91
|
let e;
|
|
95
92
|
const r = s?.persistency;
|
|
96
93
|
if (
|
|
97
94
|
// query string has higher priority than local/session storage
|
|
98
|
-
r?.policies && !e && (
|
|
95
|
+
r?.policies && !e && (w(r.policies, "local") || w(r.policies, "session"))
|
|
99
96
|
) {
|
|
100
|
-
const n =
|
|
97
|
+
const n = w(r.policies, "local") ? localStorage : sessionStorage;
|
|
101
98
|
if (n)
|
|
102
99
|
try {
|
|
103
100
|
const t = JSON.parse(
|
|
104
|
-
n.getItem(
|
|
101
|
+
n.getItem(S.value) || "{}"
|
|
105
102
|
);
|
|
106
|
-
n.removeItem(
|
|
103
|
+
n.removeItem(S.value), e = t;
|
|
107
104
|
} catch (t) {
|
|
108
105
|
console.error(t);
|
|
109
106
|
}
|
|
110
107
|
}
|
|
111
|
-
if (r?.policies &&
|
|
108
|
+
if (r?.policies && w(r.policies, "querystring"))
|
|
112
109
|
try {
|
|
113
|
-
const t = new URLSearchParams(window.location.search).get(
|
|
114
|
-
|
|
110
|
+
const t = new URLSearchParams(window.location.search).get(S.value);
|
|
111
|
+
L(), t && (e = H(e || {}, JSON.parse(t)));
|
|
115
112
|
} catch (n) {
|
|
116
113
|
console.error(n);
|
|
117
114
|
}
|
|
118
115
|
e ??= {};
|
|
119
|
-
const
|
|
120
|
-
tanstack:
|
|
116
|
+
const i = {
|
|
117
|
+
tanstack: c?.defaultValues || {},
|
|
121
118
|
persistency: e,
|
|
122
|
-
schema:
|
|
119
|
+
schema: ie(a)
|
|
123
120
|
};
|
|
124
121
|
return (s?.defaultValuesPriority || ["tanstack", "persistency", "schema"]).reverse().reduce(
|
|
125
|
-
(n, t) => Object.keys(n).length ?
|
|
122
|
+
(n, t) => Object.keys(n).length ? H(n, i[t]) : i[t],
|
|
126
123
|
{}
|
|
127
124
|
);
|
|
128
|
-
}),
|
|
129
|
-
...
|
|
125
|
+
}), O = (e, r) => e ? _.with(J.setSpan(_.active(), e), r) : r(), o = z({
|
|
126
|
+
...c,
|
|
130
127
|
validators: {
|
|
131
|
-
onSubmit:
|
|
132
|
-
...
|
|
128
|
+
onSubmit: p,
|
|
129
|
+
...c?.validators || {}
|
|
133
130
|
},
|
|
134
|
-
onSubmit:
|
|
135
|
-
const n = await
|
|
131
|
+
onSubmit: c?.onSubmit ? ({ formApi: e, meta: r, value: i }) => O(r?.currentSpan, async () => {
|
|
132
|
+
const n = await q(l(i)), t = c.onSubmit({
|
|
136
133
|
formApi: e,
|
|
137
134
|
meta: r,
|
|
138
135
|
value: n
|
|
139
136
|
});
|
|
140
|
-
|
|
137
|
+
if (R.isFiber(t))
|
|
138
|
+
return await W(t);
|
|
139
|
+
if (b.isEffect(t)) {
|
|
140
|
+
const f = await q(t);
|
|
141
|
+
return R.isFiber(f) ? await W(f) : f;
|
|
142
|
+
}
|
|
143
|
+
return t;
|
|
141
144
|
}) : void 0,
|
|
142
|
-
defaultValues:
|
|
143
|
-
}),
|
|
144
|
-
Object.keys(
|
|
145
|
+
defaultValues: v.value
|
|
146
|
+
}), y = () => {
|
|
147
|
+
Object.keys(h).forEach((e) => {
|
|
145
148
|
o.setFieldValue(e, void 0);
|
|
146
149
|
});
|
|
147
|
-
},
|
|
148
|
-
const n =
|
|
149
|
-
return n.reduce((t,
|
|
150
|
-
}, {}),
|
|
151
|
-
if (e)
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
return o.store.state.values;
|
|
150
|
+
}, g = (e) => e.reduce((r, i) => {
|
|
151
|
+
const n = i.split(".");
|
|
152
|
+
return n.reduce((t, f, U) => (U === n.length - 1 ? t[f] = o.getFieldValue(i) : t[f] = t[f] ?? {}, t[f]), r), r;
|
|
153
|
+
}, {}), u = (e) => {
|
|
154
|
+
if (!e) return;
|
|
155
|
+
const { banKeys: r, keys: i } = e;
|
|
156
|
+
if (A.isArray(i))
|
|
157
|
+
return g(i);
|
|
158
|
+
if (A.isArray(r)) {
|
|
159
|
+
const n = Object.keys(h).filter((t) => r.includes(t));
|
|
160
|
+
return g(n);
|
|
159
161
|
}
|
|
160
|
-
|
|
162
|
+
return o.store.state.values;
|
|
163
|
+
}, d = () => {
|
|
161
164
|
const e = s?.persistency;
|
|
162
|
-
if (!(!e?.policies || e.policies.length === 0) && (
|
|
163
|
-
const r =
|
|
165
|
+
if (!(!e?.policies || e.policies.length === 0) && (w(e.policies, "local") || w(e.policies, "session"))) {
|
|
166
|
+
const r = w(e.policies, "local") ? localStorage : sessionStorage;
|
|
164
167
|
if (!r) return;
|
|
165
|
-
const
|
|
166
|
-
return r.setItem(
|
|
168
|
+
const i = u(e);
|
|
169
|
+
return r.setItem(S.value, JSON.stringify(i));
|
|
167
170
|
}
|
|
168
|
-
},
|
|
171
|
+
}, j = () => {
|
|
169
172
|
const e = s?.persistency;
|
|
170
|
-
if (!(!e?.policies || e.policies.length === 0) &&
|
|
171
|
-
const r =
|
|
172
|
-
|
|
173
|
+
if (!(!e?.policies || e.policies.length === 0) && w(e.policies, "querystring")) {
|
|
174
|
+
const r = u(e), i = new URLSearchParams(window.location.search);
|
|
175
|
+
i.set(S.value, JSON.stringify(r));
|
|
173
176
|
const n = new URL(window.location.href);
|
|
174
|
-
n.search =
|
|
177
|
+
n.search = i.toString(), window.history.replaceState({}, "", n.toString());
|
|
175
178
|
}
|
|
176
|
-
},
|
|
179
|
+
}, k = (e) => {
|
|
177
180
|
o.store.state.isDirty && e.preventDefault();
|
|
178
181
|
};
|
|
179
|
-
if (
|
|
180
|
-
window.addEventListener("beforeunload",
|
|
181
|
-
}),
|
|
182
|
-
window.removeEventListener("beforeunload",
|
|
182
|
+
if (D(d), X(() => {
|
|
183
|
+
window.addEventListener("beforeunload", d), window.addEventListener("blur", j), s?.preventWindowExit && s.preventWindowExit !== "nope" && window.addEventListener("beforeunload", k);
|
|
184
|
+
}), Y(() => {
|
|
185
|
+
window.removeEventListener("beforeunload", d), window.removeEventListener("blur", j), s?.preventWindowExit && s.preventWindowExit !== "nope" && window.removeEventListener("beforeunload", k);
|
|
183
186
|
}), s?.preventWindowExit === "prevent-and-reset") {
|
|
184
|
-
const e = o.useStore((t) => t.isSubmitting), r = o.useStore((t) => t.submissionAttempts),
|
|
185
|
-
|
|
186
|
-
|
|
187
|
+
const e = o.useStore((t) => t.isSubmitting), r = o.useStore((t) => t.submissionAttempts), i = o.useStore((t) => t.canSubmit), n = o.useStore((t) => t.values);
|
|
188
|
+
N([e, r], ([t, f], [U]) => {
|
|
189
|
+
U && !t && f > 0 && i.value && o.reset(n.value);
|
|
187
190
|
});
|
|
188
191
|
}
|
|
189
|
-
const
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
(r) =>
|
|
192
|
+
const x = (e) => b.currentSpan.pipe(
|
|
193
|
+
b.option,
|
|
194
|
+
b.flatMap(
|
|
195
|
+
(r) => b.promise(() => o.handleSubmit(Q.isSome(r) ? { currentSpan: r.value, ...e } : e))
|
|
193
196
|
)
|
|
194
|
-
),
|
|
197
|
+
), K = (e) => e?.checkErrors ? x(e?.meta).pipe(b.flatMap(b.fnUntraced(function* () {
|
|
195
198
|
const r = o.getAllErrors();
|
|
196
199
|
if (Object.keys(r.fields).length || r.form.errors.length)
|
|
197
|
-
return yield* new
|
|
198
|
-
}))) :
|
|
200
|
+
return yield* b.fail(new de({ form: r.form, fields: r.fields }));
|
|
201
|
+
}))) : x(e?.meta), T = o.handleSubmit, P = C(/* @__PURE__ */ new Map()), E = Object.assign(o, {
|
|
199
202
|
i18nNamespace: s?.i18nNamespace,
|
|
200
203
|
ignorePreventCloseEvents: s?.ignorePreventCloseEvents,
|
|
201
|
-
meta:
|
|
202
|
-
unionMeta:
|
|
203
|
-
clear:
|
|
204
|
+
meta: h,
|
|
205
|
+
unionMeta: M,
|
|
206
|
+
clear: y,
|
|
204
207
|
handleSubmit: (e) => {
|
|
205
|
-
const r =
|
|
206
|
-
return
|
|
208
|
+
const r = J.getSpan(_.active());
|
|
209
|
+
return T({ currentSpan: r, ...e });
|
|
207
210
|
},
|
|
208
211
|
// /** @experimental */
|
|
209
|
-
handleSubmitEffect:
|
|
212
|
+
handleSubmitEffect: K,
|
|
210
213
|
registerField: (e) => {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}, { immediate: !0 }),
|
|
214
|
-
|
|
214
|
+
N(e, (r) => {
|
|
215
|
+
P.value.set(r.name, { label: r.label, id: r.id });
|
|
216
|
+
}, { immediate: !0 }), D(() => {
|
|
217
|
+
P.value.get(e.value.name)?.id === e.value.id && P.value.delete(e.value.name);
|
|
215
218
|
});
|
|
216
219
|
}
|
|
217
|
-
}),
|
|
218
|
-
return Object.assign(
|
|
220
|
+
}), I = { form: E, fieldMap: P };
|
|
221
|
+
return Object.assign(E, {
|
|
219
222
|
// Type-level properties for performance optimization (not used at runtime)
|
|
220
223
|
_paths: void 0,
|
|
221
224
|
_keys: void 0,
|
|
222
|
-
_schema:
|
|
223
|
-
errorContext:
|
|
224
|
-
Form:
|
|
225
|
-
Input:
|
|
226
|
-
TaggedUnion:
|
|
225
|
+
_schema: a,
|
|
226
|
+
errorContext: I,
|
|
227
|
+
Form: F(E)(le),
|
|
228
|
+
Input: F(E)(s?.input ?? ae),
|
|
229
|
+
TaggedUnion: F(E)(ce),
|
|
227
230
|
Field: o.Field,
|
|
228
|
-
Errors:
|
|
229
|
-
Array:
|
|
230
|
-
AutoGen:
|
|
231
|
+
Errors: fe(I)(se),
|
|
232
|
+
Array: F(E)(re),
|
|
233
|
+
AutoGen: F(E)(te)
|
|
231
234
|
});
|
|
232
235
|
};
|
|
233
236
|
export {
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
+
de as FormErrors,
|
|
238
|
+
me as useErrorLabel,
|
|
239
|
+
Ue as useOmegaForm
|
|
237
240
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import l from "./vue-components.
|
|
1
|
+
import l from "./vue-components.es28.js";
|
|
2
2
|
import { inject as c, provide as u } from "vue";
|
|
3
|
-
import { onMountedWithCleanup as f } from "./vue-components.
|
|
3
|
+
import { onMountedWithCleanup as f } from "./vue-components.es29.js";
|
|
4
4
|
const p = () => l(), i = /* @__PURE__ */ Symbol("DialogBus"), r = () => c(i, null), g = () => {
|
|
5
5
|
const n = p();
|
|
6
6
|
return u(i, n), n;
|