@effect-app/vue-components 1.4.2 → 1.5.0
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/types/components/OmegaForm/blockDialog.d.ts +12 -0
- package/dist/types/components/OmegaForm/index.d.ts +1 -0
- package/dist/types/components/OmegaForm/onMountedWithCleanup.d.ts +6 -0
- package/dist/types/components/OmegaForm/useOmegaForm.d.ts +1 -0
- package/dist/vue-components.es.js +21 -18
- package/dist/vue-components.es10.js +30 -10
- package/dist/vue-components.es11.js +10 -5
- package/dist/vue-components.es12.js +5 -54
- package/dist/vue-components.es13.js +49 -63
- package/dist/vue-components.es14.js +68 -6
- package/dist/vue-components.es15.js +5 -5
- package/dist/vue-components.es16.js +6 -3
- package/dist/vue-components.es17.js +3 -3
- package/dist/vue-components.es18.js +3 -2
- package/dist/vue-components.es19.js +1 -1
- package/dist/vue-components.es2.js +12 -9
- package/dist/vue-components.es20.js +2 -135
- package/dist/vue-components.es21.js +19 -0
- package/dist/vue-components.es22.js +11 -42
- package/dist/vue-components.es23.js +135 -2
- package/dist/vue-components.es25.js +41 -89
- package/dist/vue-components.es27.js +2 -7
- package/dist/vue-components.es28.js +86 -27
- package/dist/vue-components.es30.js +7 -4
- package/dist/vue-components.es31.js +31 -23
- package/dist/vue-components.es33.js +4 -21
- package/dist/vue-components.es34.js +20 -27
- package/dist/vue-components.es35.js +5 -22
- package/dist/vue-components.es36.js +15 -6
- package/dist/vue-components.es37.js +30 -5
- package/dist/vue-components.es38.js +22 -19
- package/dist/vue-components.es39.js +12 -9
- package/dist/vue-components.es4.js +1 -1
- package/dist/vue-components.es40.js +5 -31
- package/dist/vue-components.es41.js +19 -48
- package/dist/vue-components.es42.js +9 -26
- package/dist/vue-components.es43.js +31 -11
- package/dist/vue-components.es44.js +37 -54
- package/dist/vue-components.es45.js +21 -51
- package/dist/vue-components.es46.js +10 -16
- package/dist/vue-components.es47.js +64 -32
- package/dist/vue-components.es48.js +55 -28
- package/dist/vue-components.es49.js +16 -41
- package/dist/vue-components.es5.js +44 -44
- package/dist/vue-components.es50.js +33 -2
- package/dist/vue-components.es51.js +28 -43
- package/dist/vue-components.es52.js +42 -2
- package/dist/vue-components.es53.js +4 -0
- package/dist/vue-components.es54.js +46 -0
- package/dist/vue-components.es55.js +4 -0
- package/dist/vue-components.es7.js +45 -44
- package/dist/vue-components.es8.js +29 -355
- package/dist/vue-components.es9.js +352 -26
- package/package.json +5 -4
- package/src/components/OmegaForm/OmegaInternalInput.vue +6 -4
- package/src/components/OmegaForm/blockDialog.ts +56 -0
- package/src/components/OmegaForm/index.ts +2 -0
- package/src/components/OmegaForm/onMountedWithCleanup.ts +22 -0
- package/src/components/OmegaForm/useOmegaForm.ts +7 -0
- package/dist/vue-components.es32.js +0 -7
- /package/dist/{vue-components.es24.js → vue-components.es26.js} +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
export type DialogClosing = {
|
|
3
|
+
prevent?: boolean | Promise<boolean>;
|
|
4
|
+
};
|
|
5
|
+
export declare const injectBus: () => import("mitt").Emitter<{
|
|
6
|
+
"dialog-closing": DialogClosing;
|
|
7
|
+
}> | undefined;
|
|
8
|
+
export declare const provideBus: () => import("mitt").Emitter<{
|
|
9
|
+
"dialog-closing": DialogClosing;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const usePreventClose: (mkIsDirty: () => Ref<boolean>) => void;
|
|
12
|
+
export declare const useOnClose: (close: () => void) => () => void;
|
|
@@ -3,5 +3,6 @@ export * from "./OmegaFormStuff";
|
|
|
3
3
|
export { type OmegaFormReturn, useOmegaForm } from "./useOmegaForm";
|
|
4
4
|
export { default as OmegaInput } from "./OmegaInput.vue";
|
|
5
5
|
export { default as OmegaVuetifyInput } from "./OmegaInternalInput.vue";
|
|
6
|
+
export { useOnClose, usePreventClose } from "./blockDialog";
|
|
6
7
|
export { getInputType } from "./OmegaFormStuff";
|
|
7
8
|
export { createUseFormWithCustomInput } from "./createUseFormWithCustomInput";
|
|
@@ -1,34 +1,37 @@
|
|
|
1
1
|
import * as o from "./vue-components.es2.js";
|
|
2
|
-
import { getTransformationFrom as
|
|
2
|
+
import { getTransformationFrom as f, provideIntl as u, useIntl as l, useIntlKey as c } from "./vue-components.es3.js";
|
|
3
3
|
import { default as x } from "./vue-components.es4.js";
|
|
4
4
|
import { default as I } from "./vue-components.es5.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as a from "./vue-components.es6.js";
|
|
6
6
|
import { useOmegaForm as y } from "./vue-components.es7.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
7
|
+
import { useOnClose as F, usePreventClose as h } from "./vue-components.es8.js";
|
|
8
|
+
import { createMeta as S, duplicateSchema as b, generateInputStandardSchemaFromFieldMeta as M, generateMetaFromSchema as j, getInputType as v, nullableInput as P } from "./vue-components.es9.js";
|
|
9
|
+
import { createUseFormWithCustomInput as k } from "./vue-components.es10.js";
|
|
10
|
+
function n(r) {
|
|
10
11
|
for (const e in o)
|
|
11
12
|
if (Object.prototype.hasOwnProperty.call(o, e)) {
|
|
12
13
|
const t = o[e];
|
|
13
14
|
t && typeof t == "object" && r.component(e, t);
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
|
-
const m = { install:
|
|
17
|
+
const m = { install: n };
|
|
17
18
|
export {
|
|
18
|
-
|
|
19
|
+
a as OmegaErrorsContext,
|
|
19
20
|
x as OmegaInput,
|
|
20
21
|
I as OmegaVuetifyInput,
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
S as createMeta,
|
|
23
|
+
k as createUseFormWithCustomInput,
|
|
23
24
|
m as default,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
b as duplicateSchema,
|
|
26
|
+
M as generateInputStandardSchemaFromFieldMeta,
|
|
27
|
+
j as generateMetaFromSchema,
|
|
28
|
+
v as getInputType,
|
|
29
|
+
f as getTransformationFrom,
|
|
30
|
+
P as nullableInput,
|
|
30
31
|
u as provideIntl,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
y as useOmegaForm
|
|
32
|
+
l as useIntl,
|
|
33
|
+
c as useIntlKey,
|
|
34
|
+
y as useOmegaForm,
|
|
35
|
+
F as useOnClose,
|
|
36
|
+
h as usePreventClose
|
|
34
37
|
};
|
|
@@ -1,12 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { h as e } from "vue";
|
|
2
|
+
import s from "./vue-components.es4.js";
|
|
3
|
+
import { useOmegaForm as p } from "./vue-components.es7.js";
|
|
4
|
+
const W = (r) => (...a) => {
|
|
5
|
+
const [m, n, o] = a;
|
|
6
|
+
return p(
|
|
7
|
+
m,
|
|
8
|
+
n,
|
|
9
|
+
{
|
|
10
|
+
...o,
|
|
11
|
+
input: {
|
|
12
|
+
name: "WrappedInput",
|
|
13
|
+
inheritAttrs: !1,
|
|
14
|
+
setup(f, { attrs: u, slots: i }) {
|
|
15
|
+
return () => e(s, {
|
|
16
|
+
...f,
|
|
17
|
+
...u
|
|
18
|
+
}, {
|
|
19
|
+
// Override the default slot that OmegaInternalInput provides
|
|
20
|
+
default: (t) => t && "field" in t ? e(r, {
|
|
21
|
+
inputProps: t,
|
|
22
|
+
vuetifyValue: t.field.state.value
|
|
23
|
+
}) : i.default?.(t)
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
};
|
|
8
30
|
export {
|
|
9
|
-
|
|
10
|
-
i as cloneTrait,
|
|
11
|
-
b as runtimeFiberAsPromise
|
|
31
|
+
W as createUseFormWithCustomInput
|
|
12
32
|
};
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Exit as c, Runtime as s } from "effect";
|
|
2
|
+
import { dual as n, isFunction as m } from "./vue-components.es25.js";
|
|
3
|
+
const i = Symbol.for("clone-trait"), u = n(2, (e, t) => i in e ? e[i](t) : Object.setPrototypeOf(t, Object.getPrototypeOf(e)));
|
|
4
|
+
n(2, (e, t) => u(e, { ...e, ...m(t) ? t(e) : t }));
|
|
5
|
+
const b = (e) => new Promise((t, r) => e.addObserver((o) => {
|
|
6
|
+
c.isSuccess(o) ? t(o.value) : r(s.makeFiberFailure(o.cause));
|
|
7
|
+
}));
|
|
3
8
|
export {
|
|
4
|
-
|
|
5
|
-
i as
|
|
6
|
-
|
|
9
|
+
u as clone,
|
|
10
|
+
i as cloneTrait,
|
|
11
|
+
b as runtimeFiberAsPromise
|
|
7
12
|
};
|
|
@@ -1,56 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
inheritAttrs: !1,
|
|
4
|
-
__name: "OmegaArray",
|
|
5
|
-
props: {
|
|
6
|
-
form: {},
|
|
7
|
-
name: {},
|
|
8
|
-
defaultItems: {},
|
|
9
|
-
items: {}
|
|
10
|
-
},
|
|
11
|
-
setup(n) {
|
|
12
|
-
const a = n, y = a.form.useStore((e) => e.values), d = i(() => {
|
|
13
|
-
const e = a.name.replace(/\[/g, ".").replace(/\]/g, "");
|
|
14
|
-
try {
|
|
15
|
-
return e.split(".").reduce((r, t) => r && r[t], y.value);
|
|
16
|
-
} catch (r) {
|
|
17
|
-
return console.error(r), [];
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
M(async () => {
|
|
21
|
-
a.defaultItems && !d.value && a.form.setFieldValue(a.name, a.defaultItems);
|
|
22
|
-
});
|
|
23
|
-
const $ = i(() => (r) => {
|
|
24
|
-
const t = r.replace(/\[\d+\]/g, "");
|
|
25
|
-
return a.form.meta[t];
|
|
26
|
-
});
|
|
27
|
-
return P("getMetaFromArray", $), (e, r) => (s(), c(p(n.form.Field), { name: n.name }, {
|
|
28
|
-
default: g(({ field: t, state: f }) => [
|
|
29
|
-
o(e.$slots, "pre-array", l(u({ field: t, state: f }))),
|
|
30
|
-
(s(!0), k(A, null, b(d.value, (C, m) => (s(), c(p(n.form.Field), {
|
|
31
|
-
key: `${n.name}[${Number(m)}]`,
|
|
32
|
-
name: (
|
|
33
|
-
// eslint-disable-next-line
|
|
34
|
-
`${n.name}[${Number(m)}]`
|
|
35
|
-
)
|
|
36
|
-
}, {
|
|
37
|
-
default: g(({ field: v, state: h }) => [
|
|
38
|
-
o(e.$slots, "default", B({ ref_for: !0 }, {
|
|
39
|
-
subField: v,
|
|
40
|
-
subState: h,
|
|
41
|
-
index: Number(m),
|
|
42
|
-
field: t
|
|
43
|
-
}))
|
|
44
|
-
]),
|
|
45
|
-
_: 2
|
|
46
|
-
}, 1032, ["name"]))), 128)),
|
|
47
|
-
o(e.$slots, "post-array", l(u({ field: t, state: f }))),
|
|
48
|
-
o(e.$slots, "field", l(u({ field: t })))
|
|
49
|
-
]),
|
|
50
|
-
_: 3
|
|
51
|
-
}, 8, ["name"]));
|
|
52
|
-
}
|
|
53
|
-
});
|
|
1
|
+
import { isFunction as c } from "./vue-components.es25.js";
|
|
2
|
+
const s = c, t = (o) => typeof o == "object" && o !== null, i = (o) => t(o) || s(o);
|
|
54
3
|
export {
|
|
55
|
-
|
|
4
|
+
s as isFunction,
|
|
5
|
+
i as isObject,
|
|
6
|
+
t as isRecordOrArray
|
|
56
7
|
};
|
|
@@ -1,70 +1,56 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
__name: "
|
|
1
|
+
import { defineComponent as F, computed as i, onMounted as M, provide as P, createBlock as c, openBlock as s, resolveDynamicComponent as p, withCtx as g, renderSlot as o, createElementBlock as k, normalizeProps as l, guardReactiveProps as u, Fragment as A, renderList as b, mergeProps as B } from "vue";
|
|
2
|
+
const N = /* @__PURE__ */ F({
|
|
3
|
+
inheritAttrs: !1,
|
|
4
|
+
__name: "OmegaArray",
|
|
5
5
|
props: {
|
|
6
6
|
form: {},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
filterMap: { type: Function },
|
|
11
|
-
order: {},
|
|
12
|
-
sort: {}
|
|
7
|
+
name: {},
|
|
8
|
+
defaultItems: {},
|
|
9
|
+
items: {}
|
|
13
10
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
)
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
n.form.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
(e
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
n.sort ? u.sort(n.sort) : (e) => e
|
|
56
|
-
)
|
|
57
|
-
);
|
|
58
|
-
return (e, r) => (_(!0), M(E, null, A(b.value, ({ name: t, label: o, ...c }) => F(e.$slots, "default", {
|
|
59
|
-
child: { name: t, label: o, ...c }
|
|
60
|
-
}, () => [
|
|
61
|
-
g(h(i.form).Input, k({
|
|
62
|
-
name: t,
|
|
63
|
-
label: o
|
|
64
|
-
}, { ref_for: !0 }, c), null, 16, ["name", "label"])
|
|
65
|
-
])), 256));
|
|
11
|
+
setup(n) {
|
|
12
|
+
const a = n, y = a.form.useStore((e) => e.values), d = i(() => {
|
|
13
|
+
const e = a.name.replace(/\[/g, ".").replace(/\]/g, "");
|
|
14
|
+
try {
|
|
15
|
+
return e.split(".").reduce((r, t) => r && r[t], y.value);
|
|
16
|
+
} catch (r) {
|
|
17
|
+
return console.error(r), [];
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
M(async () => {
|
|
21
|
+
a.defaultItems && !d.value && a.form.setFieldValue(a.name, a.defaultItems);
|
|
22
|
+
});
|
|
23
|
+
const $ = i(() => (r) => {
|
|
24
|
+
const t = r.replace(/\[\d+\]/g, "");
|
|
25
|
+
return a.form.meta[t];
|
|
26
|
+
});
|
|
27
|
+
return P("getMetaFromArray", $), (e, r) => (s(), c(p(n.form.Field), { name: n.name }, {
|
|
28
|
+
default: g(({ field: t, state: f }) => [
|
|
29
|
+
o(e.$slots, "pre-array", l(u({ field: t, state: f }))),
|
|
30
|
+
(s(!0), k(A, null, b(d.value, (C, m) => (s(), c(p(n.form.Field), {
|
|
31
|
+
key: `${n.name}[${Number(m)}]`,
|
|
32
|
+
name: (
|
|
33
|
+
// eslint-disable-next-line
|
|
34
|
+
`${n.name}[${Number(m)}]`
|
|
35
|
+
)
|
|
36
|
+
}, {
|
|
37
|
+
default: g(({ field: v, state: h }) => [
|
|
38
|
+
o(e.$slots, "default", B({ ref_for: !0 }, {
|
|
39
|
+
subField: v,
|
|
40
|
+
subState: h,
|
|
41
|
+
index: Number(m),
|
|
42
|
+
field: t
|
|
43
|
+
}))
|
|
44
|
+
]),
|
|
45
|
+
_: 2
|
|
46
|
+
}, 1032, ["name"]))), 128)),
|
|
47
|
+
o(e.$slots, "post-array", l(u({ field: t, state: f }))),
|
|
48
|
+
o(e.$slots, "field", l(u({ field: t })))
|
|
49
|
+
]),
|
|
50
|
+
_: 3
|
|
51
|
+
}, 8, ["name"]));
|
|
66
52
|
}
|
|
67
53
|
});
|
|
68
54
|
export {
|
|
69
|
-
|
|
55
|
+
N as default
|
|
70
56
|
};
|
|
@@ -1,8 +1,70 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { defineComponent as O, computed as j, createElementBlock as M, openBlock as _, Fragment as E, renderList as A, renderSlot as F, createVNode as g, unref as h, mergeProps as k } from "vue";
|
|
2
|
+
import { Order as l, pipe as v, Array as u } from "effect-app";
|
|
3
|
+
const I = /* @__PURE__ */ O({
|
|
4
|
+
__name: "OmegaAutoGen",
|
|
5
|
+
props: {
|
|
6
|
+
form: {},
|
|
7
|
+
pick: {},
|
|
8
|
+
omit: {},
|
|
9
|
+
labelMap: { type: Function },
|
|
10
|
+
filterMap: { type: Function },
|
|
11
|
+
order: {},
|
|
12
|
+
sort: {}
|
|
13
|
+
},
|
|
14
|
+
setup(i) {
|
|
15
|
+
const p = (e) => (r) => Object.fromEntries(
|
|
16
|
+
Object.entries(r).map(([t, o]) => [t, e(o, t)])
|
|
17
|
+
), a = (e) => (r) => Object.fromEntries(
|
|
18
|
+
Object.entries(r).filter(([t, o]) => e(o, t))
|
|
19
|
+
), m = (e) => (r) => Object.entries(r).reduce(
|
|
20
|
+
(t, [o, c]) => {
|
|
21
|
+
const s = e(c, o);
|
|
22
|
+
return s !== !1 && (t[o] = s), t;
|
|
23
|
+
},
|
|
24
|
+
{}
|
|
25
|
+
), n = i, f = (e, r) => {
|
|
26
|
+
const t = r?.indexOf(e) ?? -1;
|
|
27
|
+
return t === -1 ? Number.MAX_SAFE_INTEGER : t;
|
|
28
|
+
}, d = l.mapInput(
|
|
29
|
+
l.number,
|
|
30
|
+
(e) => f(e.name, n.order || [])
|
|
31
|
+
), b = j(
|
|
32
|
+
() => v(
|
|
33
|
+
n.form.meta,
|
|
34
|
+
// include / exclude
|
|
35
|
+
a(
|
|
36
|
+
(e, r) => n.pick ? n.pick.includes(r) && !n.omit?.includes(r) : !n.omit?.includes(r)
|
|
37
|
+
),
|
|
38
|
+
(e) => e,
|
|
39
|
+
// labelMap and adding name
|
|
40
|
+
p((e, r) => ({
|
|
41
|
+
name: r,
|
|
42
|
+
label: n.labelMap?.(r) || r,
|
|
43
|
+
...e
|
|
44
|
+
})),
|
|
45
|
+
// filterMap
|
|
46
|
+
n.filterMap ? m((e) => {
|
|
47
|
+
const r = n.filterMap?.(e.name, e);
|
|
48
|
+
return r === void 0 || r === !0 ? e : r;
|
|
49
|
+
}) : (e) => e,
|
|
50
|
+
// transform to array
|
|
51
|
+
(e) => Object.values(e),
|
|
52
|
+
// order
|
|
53
|
+
u.sort(d),
|
|
54
|
+
// sort
|
|
55
|
+
n.sort ? u.sort(n.sort) : (e) => e
|
|
56
|
+
)
|
|
57
|
+
);
|
|
58
|
+
return (e, r) => (_(!0), M(E, null, A(b.value, ({ name: t, label: o, ...c }) => F(e.$slots, "default", {
|
|
59
|
+
child: { name: t, label: o, ...c }
|
|
60
|
+
}, () => [
|
|
61
|
+
g(h(i.form).Input, k({
|
|
62
|
+
name: t,
|
|
63
|
+
label: o
|
|
64
|
+
}, { ref_for: !0 }, c), null, 16, ["name", "label"])
|
|
65
|
+
])), 256));
|
|
66
|
+
}
|
|
67
|
+
});
|
|
6
68
|
export {
|
|
7
|
-
|
|
69
|
+
I as default
|
|
8
70
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var
|
|
2
|
-
import
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");if(t.appendChild(document.createTextNode(".v-enter-from[data-v-193816ae],.v-leave-to[data-v-193816ae]{max-height:0px;grid-template-rows:0fr;opacity:0}.v-enter-active[data-v-193816ae],.v-leave-active[data-v-193816ae]{display:grid;transition:all .15s}.v-enter-to[data-v-193816ae],.v-leave-from[data-v-193816ae]{grid-template-rows:1fr;max-height:50vh;opacity:1}.error-alert[data-v-193816ae]{transition-behavior:allow-discrete;display:grid;overflow:hidden;min-height:0}.error-alert>*[data-v-193816ae]{min-height:0}.error-list[data-v-193816ae]{list-style-position:inside}div.error-list[data-v-193816ae]{container-type:inline-size;display:grid;grid-template-columns:auto 1fr auto;gap:1.5em;align-items:start}@container (max-width: 27.125rem){div.error-list[data-v-193816ae]{grid-template-columns:auto 1fr}.error-link[data-v-193816ae]{grid-column:1 / -1;justify-self:end}}@container (max-width: 17.75rem){div.error-list[data-v-193816ae]{grid-template-columns:1fr}.error-message[data-v-193816ae]{grid-column:1 / -1}}.error-item[data-v-193816ae]{display:contents}a[data-v-193816ae]{min-width:min-content}.error-link[data-v-193816ae]{align-items:center;color:inherit;display:inline-flex;flex-wrap:wrap;gap:.25em;padding-bottom:1em;text-decoration:none}")),document.head.appendChild(t),window.customElements){const e=window.customElements.define;window.customElements.define=function(n,a){const i=a.prototype.connectedCallback;return a.prototype.connectedCallback=function(){if(i&&i.call(this),this.shadowRoot){const r=document.createElement("style");r.appendChild(document.createTextNode(".v-enter-from[data-v-193816ae],.v-leave-to[data-v-193816ae]{max-height:0px;grid-template-rows:0fr;opacity:0}.v-enter-active[data-v-193816ae],.v-leave-active[data-v-193816ae]{display:grid;transition:all .15s}.v-enter-to[data-v-193816ae],.v-leave-from[data-v-193816ae]{grid-template-rows:1fr;max-height:50vh;opacity:1}.error-alert[data-v-193816ae]{transition-behavior:allow-discrete;display:grid;overflow:hidden;min-height:0}.error-alert>*[data-v-193816ae]{min-height:0}.error-list[data-v-193816ae]{list-style-position:inside}div.error-list[data-v-193816ae]{container-type:inline-size;display:grid;grid-template-columns:auto 1fr auto;gap:1.5em;align-items:start}@container (max-width: 27.125rem){div.error-list[data-v-193816ae]{grid-template-columns:auto 1fr}.error-link[data-v-193816ae]{grid-column:1 / -1;justify-self:end}}@container (max-width: 17.75rem){div.error-list[data-v-193816ae]{grid-template-columns:1fr}.error-message[data-v-193816ae]{grid-column:1 / -1}}.error-item[data-v-193816ae]{display:contents}a[data-v-193816ae]{min-width:min-content}.error-link[data-v-193816ae]{align-items:center;color:inherit;display:inline-flex;flex-wrap:wrap;gap:.25em;padding-bottom:1em;text-decoration:none}")),this.shadowRoot.appendChild(r)}},e.call(window.customElements,n,a)}}}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import r from "./vue-components.es28.js";
|
|
3
3
|
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import o from "./vue-components.es30.js";
|
|
5
|
+
const m = /* @__PURE__ */ o(r, [["__scopeId", "data-v-193816ae"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
m as default
|
|
8
8
|
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var n=document.createElement("style");if(n.appendChild(document.createTextNode("fieldset[data-v-440e1a59]{display:contents}fieldset[disabled][data-v-440e1a59]>*{pointer-events:none}")),document.head.appendChild(n),window.customElements){const e=window.customElements.define;window.customElements.define=function(i,t){const d=t.prototype.connectedCallback;return t.prototype.connectedCallback=function(){if(d&&d.call(this),this.shadowRoot){const o=document.createElement("style");o.appendChild(document.createTextNode("fieldset[data-v-440e1a59]{display:contents}fieldset[disabled][data-v-440e1a59]>*{pointer-events:none}")),this.shadowRoot.appendChild(o)}},e.call(window.customElements,i,t)}}}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import o from "./vue-components.es31.js";
|
|
3
|
+
|
|
4
|
+
import m from "./vue-components.es30.js";
|
|
5
|
+
const e = /* @__PURE__ */ m(o, [["__scopeId", "data-v-440e1a59"]]);
|
|
3
6
|
export {
|
|
4
|
-
|
|
7
|
+
e as default
|
|
5
8
|
};
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import * as e from "./vue-components.es6.js";
|
|
2
|
-
import { createMeta as
|
|
3
|
-
import { useOmegaForm as
|
|
4
|
-
import { default as
|
|
2
|
+
import { createMeta as o, duplicateSchema as a, generateInputStandardSchemaFromFieldMeta as m, generateMetaFromSchema as p, getInputType as u, nullableInput as n } from "./vue-components.es9.js";
|
|
3
|
+
import { useOmegaForm as f } from "./vue-components.es7.js";
|
|
4
|
+
import { default as x } from "./vue-components.es4.js";
|
|
5
5
|
import { default as c } from "./vue-components.es5.js";
|
|
6
|
-
import {
|
|
6
|
+
import { useOnClose as I, usePreventClose as i } from "./vue-components.es8.js";
|
|
7
|
+
import { createUseFormWithCustomInput as O } from "./vue-components.es10.js";
|
|
7
8
|
export {
|
|
8
9
|
e as OmegaErrorsContext,
|
|
9
|
-
|
|
10
|
+
x as OmegaInput,
|
|
10
11
|
c as OmegaVuetifyInput,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
o as createMeta,
|
|
13
|
+
O as createUseFormWithCustomInput,
|
|
14
|
+
a as duplicateSchema,
|
|
14
15
|
m as generateInputStandardSchemaFromFieldMeta,
|
|
15
16
|
p as generateMetaFromSchema,
|
|
16
17
|
u as getInputType,
|
|
17
18
|
n as nullableInput,
|
|
18
|
-
|
|
19
|
+
f as useOmegaForm,
|
|
20
|
+
I as useOnClose,
|
|
21
|
+
i as usePreventClose
|
|
19
22
|
};
|