@effect-app/vue-components 3.1.0 → 3.2.1
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/CommandButton.vue.d.ts +12 -8
- package/dist/types/components/OmegaForm/OmegaArray.vue.d.ts +8 -4
- package/dist/types/components/OmegaForm/OmegaAutoGen.vue.d.ts +9 -5
- package/dist/types/components/OmegaForm/OmegaErrorsInternal.vue.d.ts +4 -4
- package/dist/types/components/OmegaForm/OmegaFormInput.vue.d.ts +8 -4
- package/dist/types/components/OmegaForm/OmegaInput.vue.d.ts +8 -4
- package/dist/types/components/OmegaForm/OmegaInputVuetify.vue.d.ts +9 -5
- package/dist/types/components/OmegaForm/OmegaInternalInput.vue.d.ts +9 -5
- package/dist/types/components/OmegaForm/OmegaTaggedUnion.vue.d.ts +9 -9
- package/dist/types/components/OmegaForm/OmegaTaggedUnionInternal.vue.d.ts +9 -5
- package/dist/types/components/OmegaForm/OmegaWrapper.vue.d.ts +9 -5
- package/dist/vue-components.es11.js +1 -1
- package/dist/vue-components.es17.js +2 -2
- package/dist/vue-components.es20.js +2 -2
- package/dist/vue-components.es21.js +2 -2
- package/dist/vue-components.es22.js +1 -1
- package/dist/vue-components.es23.js +1 -1
- package/dist/vue-components.es3.js +1 -1
- package/dist/vue-components.es30.js +41 -191
- package/dist/vue-components.es31.js +4 -0
- package/dist/vue-components.es32.js +2 -42
- package/dist/vue-components.es33.js +111 -2
- package/dist/vue-components.es35.js +7 -111
- package/dist/vue-components.es36.js +34 -0
- package/dist/vue-components.es38.js +187 -27
- package/dist/vue-components.es40.js +23 -4
- package/dist/vue-components.es41.js +5 -23
- package/dist/vue-components.es42.js +21 -5
- package/dist/vue-components.es43.js +25 -16
- package/dist/vue-components.es44.js +15 -23
- package/dist/vue-components.es45.js +7 -17
- package/dist/vue-components.es46.js +5 -12
- package/dist/vue-components.es47.js +19 -5
- package/dist/vue-components.es48.js +9 -19
- package/dist/vue-components.es49.js +31 -9
- package/dist/vue-components.es50.js +42 -25
- package/dist/vue-components.es51.js +16 -38
- package/dist/vue-components.es52.js +11 -26
- package/dist/vue-components.es53.js +4 -11
- package/dist/vue-components.es54.js +1 -1
- package/dist/vue-components.es56.js +1 -1
- package/dist/vue-components.es57.js +1 -1
- package/dist/vue-components.es58.js +3 -3
- package/dist/vue-components.es59.js +1 -1
- package/dist/vue-components.es7.js +1 -1
- package/package.json +24 -24
- package/dist/vue-components.es34.js +0 -4
- package/dist/vue-components.es37.js +0 -9
|
@@ -3,8 +3,11 @@ import type { VBtn } from "vuetify/components";
|
|
|
3
3
|
export type VBtnProps = VBtn["$props"];
|
|
4
4
|
export interface ButtonProps extends /* @vue-ignore */ VBtnProps {
|
|
5
5
|
}
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
/** Command Button is an easy way to connect commands and have it execute on click, while keeping track of disabled/loading states automatically */
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
declare const __VLS_export: <I = never>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
10
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
8
11
|
input: NoInfer<I>;
|
|
9
12
|
command: CommandBase<I>;
|
|
10
13
|
empty?: boolean;
|
|
@@ -15,7 +18,9 @@ declare const __VLS_export: <I = never>(__VLS_props: NonNullable<Awaited<typeof
|
|
|
15
18
|
}) & {
|
|
16
19
|
disabled?: ButtonProps["disabled"];
|
|
17
20
|
title?: string;
|
|
18
|
-
} & ButtonProps> &
|
|
21
|
+
} & ButtonProps> & (typeof globalThis extends {
|
|
22
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
23
|
+
} ? P : {});
|
|
19
24
|
expose: (exposed: {}) => void;
|
|
20
25
|
attrs: any;
|
|
21
26
|
slots: {
|
|
@@ -30,9 +35,8 @@ declare const __VLS_export: <I = never>(__VLS_props: NonNullable<Awaited<typeof
|
|
|
30
35
|
}>) => import("vue").VNode & {
|
|
31
36
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
32
37
|
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
type __VLS_PrettifyLocal<T> = {
|
|
38
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} : {
|
|
37
41
|
[K in keyof T as K]: T[K];
|
|
38
|
-
} & {};
|
|
42
|
+
}) & {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { type DeepKeys } from "@tanstack/vue-form";
|
|
2
2
|
import { type OmegaArrayProps } from "./OmegaFormStuff";
|
|
3
|
-
declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, Name extends DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
4
|
-
props: __VLS_PrettifyLocal<OmegaArrayProps<From, To, Name>> &
|
|
3
|
+
declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, Name extends DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<OmegaArrayProps<From, To, Name>> & (typeof globalThis extends {
|
|
5
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
6
|
+
} ? P : {});
|
|
5
7
|
expose: (exposed: {}) => void;
|
|
6
8
|
attrs: any;
|
|
7
9
|
slots: {
|
|
@@ -32,6 +34,8 @@ declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends R
|
|
|
32
34
|
};
|
|
33
35
|
declare const _default: typeof __VLS_export;
|
|
34
36
|
export default _default;
|
|
35
|
-
type __VLS_PrettifyLocal<T> = {
|
|
37
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
38
|
+
[K in keyof T]: T[K];
|
|
39
|
+
} : {
|
|
36
40
|
[K in keyof T as K]: T[K];
|
|
37
|
-
} & {};
|
|
41
|
+
}) & {};
|
|
@@ -2,8 +2,8 @@ import { type DeepKeys } from "@tanstack/vue-form";
|
|
|
2
2
|
import { Order } from "effect-app";
|
|
3
3
|
import { type OmegaAutoGenMeta, type OmegaInputProps } from "./OmegaFormStuff";
|
|
4
4
|
declare const __VLS_export: <// dprint-ignore
|
|
5
|
-
From extends Record<PropertyKey, string>, To extends Record<PropertyKey, string>, Name extends DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
6
|
-
props: __VLS_PrettifyLocal<{
|
|
5
|
+
From extends Record<PropertyKey, string>, To extends Record<PropertyKey, string>, Name extends DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
7
7
|
form: OmegaInputProps<From, To, Name>["form"];
|
|
8
8
|
pick?: DeepKeys<From>[];
|
|
9
9
|
omit?: DeepKeys<From>[];
|
|
@@ -11,7 +11,9 @@ From extends Record<PropertyKey, string>, To extends Record<PropertyKey, string>
|
|
|
11
11
|
filterMap?: <M extends OmegaAutoGenMeta<From, To, Name>>(key: DeepKeys<From>, meta: M) => boolean | M;
|
|
12
12
|
order?: DeepKeys<From>[];
|
|
13
13
|
sort?: Order.Order<OmegaAutoGenMeta<From, To, Name>>;
|
|
14
|
-
}> &
|
|
14
|
+
}> & (typeof globalThis extends {
|
|
15
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
16
|
+
} ? P : {});
|
|
15
17
|
expose: (exposed: {}) => void;
|
|
16
18
|
attrs: any;
|
|
17
19
|
slots: {
|
|
@@ -25,6 +27,8 @@ From extends Record<PropertyKey, string>, To extends Record<PropertyKey, string>
|
|
|
25
27
|
};
|
|
26
28
|
declare const _default: typeof __VLS_export;
|
|
27
29
|
export default _default;
|
|
28
|
-
type __VLS_PrettifyLocal<T> = {
|
|
30
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
31
|
+
[K in keyof T]: T[K];
|
|
32
|
+
} : {
|
|
29
33
|
[K in keyof T as K]: T[K];
|
|
30
|
-
} & {};
|
|
34
|
+
}) & {};
|
|
@@ -5,14 +5,14 @@ type __VLS_Props = {
|
|
|
5
5
|
errors: OmegaError[];
|
|
6
6
|
hideErrorDetails?: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare var
|
|
8
|
+
declare var __VLS_7: {
|
|
9
9
|
errors: OmegaError[];
|
|
10
10
|
showedGeneralErrors: string[];
|
|
11
|
-
},
|
|
11
|
+
}, __VLS_15: {};
|
|
12
12
|
type __VLS_Slots = {} & {
|
|
13
|
-
default?: (props: typeof
|
|
13
|
+
default?: (props: typeof __VLS_7) => any;
|
|
14
14
|
} & {
|
|
15
|
-
icon?: (props: typeof
|
|
15
|
+
icon?: (props: typeof __VLS_15) => any;
|
|
16
16
|
};
|
|
17
17
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { type DeepKeys } from "@tanstack/vue-form";
|
|
2
2
|
import type { MergedInputProps } from "./InputProps";
|
|
3
3
|
import type { BaseProps, DefaultTypeProps } from "./OmegaFormStuff";
|
|
4
|
-
declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, Name extends DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
5
|
-
props: __VLS_PrettifyLocal<BaseProps<From, Name> & DefaultTypeProps> &
|
|
4
|
+
declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, Name extends DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<BaseProps<From, Name> & DefaultTypeProps> & (typeof globalThis extends {
|
|
6
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
7
|
+
} ? P : {});
|
|
6
8
|
expose: (exposed: {}) => void;
|
|
7
9
|
attrs: any;
|
|
8
10
|
slots: {
|
|
@@ -14,6 +16,8 @@ declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends R
|
|
|
14
16
|
};
|
|
15
17
|
declare const _default: typeof __VLS_export;
|
|
16
18
|
export default _default;
|
|
17
|
-
type __VLS_PrettifyLocal<T> = {
|
|
19
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
20
|
+
[K in keyof T]: T[K];
|
|
21
|
+
} : {
|
|
18
22
|
[K in keyof T as K]: T[K];
|
|
19
|
-
} & {};
|
|
23
|
+
}) & {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { type DeepKeys } from "@tanstack/vue-form";
|
|
2
2
|
import { type OmegaInputPropsBase } from "./OmegaFormStuff";
|
|
3
|
-
declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, Name extends DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
4
|
-
props: __VLS_PrettifyLocal<OmegaInputPropsBase<From, To, Name>> &
|
|
3
|
+
declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, Name extends DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<OmegaInputPropsBase<From, To, Name>> & (typeof globalThis extends {
|
|
5
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
6
|
+
} ? P : {});
|
|
5
7
|
expose: (exposed: {}) => void;
|
|
6
8
|
attrs: any;
|
|
7
9
|
slots: {
|
|
@@ -18,6 +20,8 @@ declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends R
|
|
|
18
20
|
};
|
|
19
21
|
declare const _default: typeof __VLS_export;
|
|
20
22
|
export default _default;
|
|
21
|
-
type __VLS_PrettifyLocal<T> = {
|
|
23
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
24
|
+
[K in keyof T]: T[K];
|
|
25
|
+
} : {
|
|
22
26
|
[K in keyof T as K]: T[K];
|
|
23
|
-
} & {};
|
|
27
|
+
}) & {};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { type DeepKeys } from "@tanstack/vue-form";
|
|
2
2
|
import type { VuetifyInputProps } from "./InputProps";
|
|
3
|
-
declare const __VLS_export: <From extends Record<PropertyKey, any>, Name extends DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
4
|
-
props: __VLS_PrettifyLocal<VuetifyInputProps<From, Name> & {
|
|
3
|
+
declare const __VLS_export: <From extends Record<PropertyKey, any>, Name extends DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<VuetifyInputProps<From, Name> & {
|
|
5
5
|
onBlur?: ((event: Event) => any) | undefined;
|
|
6
6
|
onFocus?: ((event: Event) => any) | undefined;
|
|
7
|
-
}> &
|
|
7
|
+
}> & (typeof globalThis extends {
|
|
8
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
9
|
+
} ? P : {});
|
|
8
10
|
expose: (exposed: {}) => void;
|
|
9
11
|
attrs: any;
|
|
10
12
|
slots: {
|
|
@@ -59,6 +61,8 @@ declare const __VLS_export: <From extends Record<PropertyKey, any>, Name extends
|
|
|
59
61
|
};
|
|
60
62
|
declare const _default: typeof __VLS_export;
|
|
61
63
|
export default _default;
|
|
62
|
-
type __VLS_PrettifyLocal<T> = {
|
|
64
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
65
|
+
[K in keyof T]: T[K];
|
|
66
|
+
} : {
|
|
63
67
|
[K in keyof T as K]: T[K];
|
|
64
|
-
} & {};
|
|
68
|
+
}) & {};
|
|
@@ -2,8 +2,8 @@ import { type DeepKeys } from "@tanstack/vue-form";
|
|
|
2
2
|
import { type ComputedRef } from "vue";
|
|
3
3
|
import type { OmegaFieldInternalApi } from "./InputProps";
|
|
4
4
|
import type { FieldValidators, MetaRecord, NestedKeyOf, TypeOverride } from "./OmegaFormStuff";
|
|
5
|
-
declare const __VLS_export: <From extends Record<PropertyKey, any>, Name extends DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
6
|
-
props: __VLS_PrettifyLocal<{
|
|
5
|
+
declare const __VLS_export: <From extends Record<PropertyKey, any>, Name extends DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
7
7
|
field: OmegaFieldInternalApi<From, Name>;
|
|
8
8
|
state: OmegaFieldInternalApi<From, Name>["state"];
|
|
9
9
|
meta: MetaRecord<From>[NestedKeyOf<From>];
|
|
@@ -21,7 +21,9 @@ declare const __VLS_export: <From extends Record<PropertyKey, any>, Name extends
|
|
|
21
21
|
title: string;
|
|
22
22
|
value: string;
|
|
23
23
|
}[];
|
|
24
|
-
}> &
|
|
24
|
+
}> & (typeof globalThis extends {
|
|
25
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
26
|
+
} ? P : {});
|
|
25
27
|
expose: (exposed: {}) => void;
|
|
26
28
|
attrs: any;
|
|
27
29
|
slots: {
|
|
@@ -53,6 +55,8 @@ declare const __VLS_export: <From extends Record<PropertyKey, any>, Name extends
|
|
|
53
55
|
};
|
|
54
56
|
declare const _default: typeof __VLS_export;
|
|
55
57
|
export default _default;
|
|
56
|
-
type __VLS_PrettifyLocal<T> = {
|
|
58
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
59
|
+
[K in keyof T]: T[K];
|
|
60
|
+
} : {
|
|
57
61
|
[K in keyof T as K]: T[K];
|
|
58
|
-
} & {};
|
|
62
|
+
}) & {};
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { type DeepKeys } from "@tanstack/vue-form";
|
|
2
2
|
import { type TaggedUnionOption } from "./InputProps";
|
|
3
3
|
import { type useOmegaForm } from "./useOmegaForm";
|
|
4
|
-
declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, Name extends DeepKeys<From> | undefined = DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
5
|
-
props: __VLS_PrettifyLocal<{
|
|
4
|
+
declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, Name extends DeepKeys<From> | undefined = DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
6
6
|
name?: Name;
|
|
7
7
|
form: ReturnType<typeof useOmegaForm<From, To>>;
|
|
8
8
|
type?: "select" | "radio";
|
|
9
9
|
options: TaggedUnionOption<From, Name>[];
|
|
10
10
|
label?: string;
|
|
11
|
-
}> &
|
|
11
|
+
}> & (typeof globalThis extends {
|
|
12
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
13
|
+
} ? P : {});
|
|
12
14
|
expose: (exposed: {}) => void;
|
|
13
15
|
attrs: any;
|
|
14
16
|
slots: {
|
|
@@ -16,10 +18,6 @@ declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends R
|
|
|
16
18
|
field: import("./InputProps").OmegaFieldInternalApi<From, "_tag" | `${NonNullable<Name>}._tag`>;
|
|
17
19
|
state: NonNullable<import("@tanstack/vue-form").DeepValue<From, "_tag" | `${NonNullable<Name>}._tag`>>;
|
|
18
20
|
}) => any) | undefined;
|
|
19
|
-
[x: number]: ((props: {
|
|
20
|
-
field: import("./InputProps").OmegaFieldInternalApi<From, "_tag" | `${NonNullable<Name>}._tag`>;
|
|
21
|
-
state: NonNullable<import("@tanstack/vue-form").DeepValue<From, "_tag" | `${NonNullable<Name>}._tag`>>;
|
|
22
|
-
}) => any) | undefined;
|
|
23
21
|
} & {
|
|
24
22
|
OmegaCustomInput?: (props: {
|
|
25
23
|
field: import("@tanstack/vue-form").FieldApi<From, "_tag" | `${NonNullable<Name>}._tag`, import("@tanstack/vue-form").DeepValue<From, "_tag" | `${NonNullable<Name>}._tag`>, import("@tanstack/vue-form").FieldValidateOrFn<From, "_tag" | `${NonNullable<Name>}._tag`, import("@tanstack/vue-form").DeepValue<From, "_tag" | `${NonNullable<Name>}._tag`>> | undefined, import("@tanstack/vue-form").FieldValidateOrFn<From, "_tag" | `${NonNullable<Name>}._tag`, import("@tanstack/vue-form").DeepValue<From, "_tag" | `${NonNullable<Name>}._tag`>> | undefined, import("@tanstack/vue-form").FieldAsyncValidateOrFn<From, "_tag" | `${NonNullable<Name>}._tag`, import("@tanstack/vue-form").DeepValue<From, "_tag" | `${NonNullable<Name>}._tag`>> | undefined, import("@tanstack/vue-form").FieldValidateOrFn<From, "_tag" | `${NonNullable<Name>}._tag`, import("@tanstack/vue-form").DeepValue<From, "_tag" | `${NonNullable<Name>}._tag`>> | undefined, import("@tanstack/vue-form").FieldAsyncValidateOrFn<From, "_tag" | `${NonNullable<Name>}._tag`, import("@tanstack/vue-form").DeepValue<From, "_tag" | `${NonNullable<Name>}._tag`>> | undefined, import("@tanstack/vue-form").FieldValidateOrFn<From, "_tag" | `${NonNullable<Name>}._tag`, import("@tanstack/vue-form").DeepValue<From, "_tag" | `${NonNullable<Name>}._tag`>> | undefined, import("@tanstack/vue-form").FieldAsyncValidateOrFn<From, "_tag" | `${NonNullable<Name>}._tag`, import("@tanstack/vue-form").DeepValue<From, "_tag" | `${NonNullable<Name>}._tag`>> | undefined, import("@tanstack/vue-form").FieldValidateOrFn<From, "_tag" | `${NonNullable<Name>}._tag`, import("@tanstack/vue-form").DeepValue<From, "_tag" | `${NonNullable<Name>}._tag`>> | undefined, import("@tanstack/vue-form").FieldAsyncValidateOrFn<From, "_tag" | `${NonNullable<Name>}._tag`, import("@tanstack/vue-form").DeepValue<From, "_tag" | `${NonNullable<Name>}._tag`>> | undefined, import("@tanstack/vue-form").FormValidateOrFn<From> | undefined, import("@tanstack/vue-form").FormValidateOrFn<From> | undefined, import("@tanstack/vue-form").StandardSchemaV1<From, To>, import("@tanstack/vue-form").FormValidateOrFn<From> | undefined, import("@tanstack/vue-form").FormAsyncValidateOrFn<From> | undefined, import("@tanstack/vue-form").FormValidateOrFn<From> | undefined, import("@tanstack/vue-form").FormAsyncValidateOrFn<From> | undefined, import("@tanstack/vue-form").FormValidateOrFn<From> | undefined, import("@tanstack/vue-form").FormAsyncValidateOrFn<From> | undefined, import("@tanstack/vue-form").FormAsyncValidateOrFn<From> | undefined, Record<string, any> | undefined>;
|
|
@@ -36,6 +34,8 @@ declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends R
|
|
|
36
34
|
};
|
|
37
35
|
declare const _default: typeof __VLS_export;
|
|
38
36
|
export default _default;
|
|
39
|
-
type __VLS_PrettifyLocal<T> = {
|
|
37
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
38
|
+
[K in keyof T]: T[K];
|
|
39
|
+
} : {
|
|
40
40
|
[K in keyof T as K]: T[K];
|
|
41
|
-
} & {};
|
|
41
|
+
}) & {};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { type DeepKeys, type DeepValue } from "@tanstack/vue-form";
|
|
2
2
|
import { type OmegaFieldInternalApi } from "./InputProps";
|
|
3
3
|
import { type useOmegaForm } from "./useOmegaForm";
|
|
4
|
-
declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, Name extends DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
5
|
-
props: __VLS_PrettifyLocal<{
|
|
4
|
+
declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, Name extends DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
6
6
|
state: DeepValue<From, Name>;
|
|
7
7
|
field: OmegaFieldInternalApi<From, Name>;
|
|
8
8
|
name?: DeepKeys<From>;
|
|
9
9
|
form: ReturnType<typeof useOmegaForm<From, To>>;
|
|
10
|
-
}> &
|
|
10
|
+
}> & (typeof globalThis extends {
|
|
11
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
12
|
+
} ? P : {});
|
|
11
13
|
expose: (exposed: {}) => void;
|
|
12
14
|
attrs: any;
|
|
13
15
|
slots: {
|
|
@@ -22,6 +24,8 @@ declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends R
|
|
|
22
24
|
};
|
|
23
25
|
declare const _default: typeof __VLS_export;
|
|
24
26
|
export default _default;
|
|
25
|
-
type __VLS_PrettifyLocal<T> = {
|
|
27
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
28
|
+
[K in keyof T]: T[K];
|
|
29
|
+
} : {
|
|
26
30
|
[K in keyof T as K]: T[K];
|
|
27
|
-
} & {};
|
|
31
|
+
}) & {};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { type DefaultTypeProps, type OmegaFormState } from "./OmegaFormStuff";
|
|
2
2
|
import { type OmegaFormReturn } from "./useOmegaForm";
|
|
3
|
-
declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, K extends keyof OmegaFormState<From, To> = keyof OmegaFormState<From, To>, Props = DefaultTypeProps>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>,
|
|
4
|
-
props: __VLS_PrettifyLocal<{
|
|
3
|
+
declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, K extends keyof OmegaFormState<From, To> = keyof OmegaFormState<From, To>, Props = DefaultTypeProps>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
5
5
|
form: OmegaFormReturn<From, To, Props>;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
subscribe?: K[];
|
|
8
|
-
}> &
|
|
8
|
+
}> & (typeof globalThis extends {
|
|
9
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
10
|
+
} ? P : {});
|
|
9
11
|
expose: (exposed: {}) => void;
|
|
10
12
|
attrs: any;
|
|
11
13
|
slots: {
|
|
@@ -19,6 +21,8 @@ declare const __VLS_export: <From extends Record<PropertyKey, any>, To extends R
|
|
|
19
21
|
};
|
|
20
22
|
declare const _default: typeof __VLS_export;
|
|
21
23
|
export default _default;
|
|
22
|
-
type __VLS_PrettifyLocal<T> = {
|
|
24
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} : {
|
|
23
27
|
[K in keyof T as K]: T[K];
|
|
24
|
-
} & {};
|
|
28
|
+
}) & {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import l from "./vue-components.es28.js";
|
|
2
2
|
import { inject as c, provide as u } from "vue";
|
|
3
3
|
import { onMountedWithCleanup as f } from "./vue-components.es29.js";
|
|
4
|
-
const p = () => l(), i = Symbol("DialogBus"), r = () => c(i, null), g = () => {
|
|
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;
|
|
7
7
|
}, d = (n) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Exit as c, Runtime as u } from "effect";
|
|
2
|
-
import { dual as n, isFunction as m } from "./vue-components.
|
|
3
|
-
const i = Symbol.for("clone-trait"), a = n(2, (e, t) => i in e ? e[i](t) : Object.setPrototypeOf(t, Object.getPrototypeOf(e)));
|
|
2
|
+
import { dual as n, isFunction as m } from "./vue-components.es30.js";
|
|
3
|
+
const i = /* @__PURE__ */ Symbol.for("clone-trait"), a = n(2, (e, t) => i in e ? e[i](t) : Object.setPrototypeOf(t, Object.getPrototypeOf(e)));
|
|
4
4
|
n(2, (e, t) => a(e, { ...e, ...m(t) ? t(e) : t }));
|
|
5
5
|
const p = (e, t) => new Promise((o, s) => e.addObserver((r) => {
|
|
6
6
|
c.isSuccess(r) ? o(r.value) : s(u.makeFiberFailure(r.cause));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");if(a.appendChild(document.createTextNode('.v-enter-from[data-v-6b2bf87e],.v-leave-to[data-v-6b2bf87e]{max-height:0px;grid-template-rows:0fr;opacity:0}.v-enter-active[data-v-6b2bf87e],.v-leave-active[data-v-6b2bf87e]{display:grid;transition:all .15s}.v-enter-to[data-v-6b2bf87e],.v-leave-from[data-v-6b2bf87e]{grid-template-rows:1fr;max-height:50vh;opacity:1}.error-alert[data-v-6b2bf87e]{transition-behavior:allow-discrete;display:grid;overflow:hidden;min-height:0}.error-alert>*[data-v-6b2bf87e]{min-height:0}.error-list[data-v-6b2bf87e]{list-style-position:inside}.error-list [data-v-6b2bf87e]::marker{margin:0;padding:0}.error-alert-content[data-v-6b2bf87e]{background-color:var(--error-background, #fff5f5);color:var(--error-color, #c92a2a);padding:1em}.error-link[data-v-6b2bf87e]{font-weight:700;position:relative;color:var(--error-color, #c92a2a);cursor:pointer}.error-link[data-v-6b2bf87e]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(from var(--error-color, #c92a2a) r g b / .5)}.text-h6[data-v-6b2bf87e]{font-weight:700;font-size:1.25em}.error-message[data-v-6b2bf87e]{font-style:italic}.error-item[data-v-6b2bf87e]{margin-bottom:.5em;overflow:hidden}.error-item>div[data-v-6b2bf87e]{float:right;width:100%;max-width:calc(100% - 1.5em)}.container[data-v-6b2bf87e]{display:flex;gap:1.5em}.container svg[data-v-6b2bf87e]{width:3em}.container .single-error[data-v-6b2bf87e]{display:inline-block}')),document.head.appendChild(a),window.customElements){const e=window.customElements.define;window.customElements.define=function(i,t){const r=t.prototype.connectedCallback;return t.prototype.connectedCallback=function(){if(r&&r.call(this),this.shadowRoot){const o=document.createElement("style");o.appendChild(document.createTextNode('.v-enter-from[data-v-6b2bf87e],.v-leave-to[data-v-6b2bf87e]{max-height:0px;grid-template-rows:0fr;opacity:0}.v-enter-active[data-v-6b2bf87e],.v-leave-active[data-v-6b2bf87e]{display:grid;transition:all .15s}.v-enter-to[data-v-6b2bf87e],.v-leave-from[data-v-6b2bf87e]{grid-template-rows:1fr;max-height:50vh;opacity:1}.error-alert[data-v-6b2bf87e]{transition-behavior:allow-discrete;display:grid;overflow:hidden;min-height:0}.error-alert>*[data-v-6b2bf87e]{min-height:0}.error-list[data-v-6b2bf87e]{list-style-position:inside}.error-list [data-v-6b2bf87e]::marker{margin:0;padding:0}.error-alert-content[data-v-6b2bf87e]{background-color:var(--error-background, #fff5f5);color:var(--error-color, #c92a2a);padding:1em}.error-link[data-v-6b2bf87e]{font-weight:700;position:relative;color:var(--error-color, #c92a2a);cursor:pointer}.error-link[data-v-6b2bf87e]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(from var(--error-color, #c92a2a) r g b / .5)}.text-h6[data-v-6b2bf87e]{font-weight:700;font-size:1.25em}.error-message[data-v-6b2bf87e]{font-style:italic}.error-item[data-v-6b2bf87e]{margin-bottom:.5em;overflow:hidden}.error-item>div[data-v-6b2bf87e]{float:right;width:100%;max-width:calc(100% - 1.5em)}.container[data-v-6b2bf87e]{display:flex;gap:1.5em}.container svg[data-v-6b2bf87e]{width:3em}.container .single-error[data-v-6b2bf87e]{display:inline-block}')),this.shadowRoot.appendChild(o)}},e.call(window.customElements,i,t)}}}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import r from "./vue-components.
|
|
2
|
+
import r from "./vue-components.es33.js";
|
|
3
3
|
|
|
4
|
-
import o from "./vue-components.
|
|
4
|
+
import o from "./vue-components.es35.js";
|
|
5
5
|
const m = /* @__PURE__ */ o(r, [["__scopeId", "data-v-6b2bf87e"]]);
|
|
6
6
|
export {
|
|
7
7
|
m as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var n=document.createElement("style");if(n.appendChild(document.createTextNode("fieldset[data-v-8c9cb27c]{display:contents}fieldset[disabled][data-v-8c9cb27c]>*{pointer-events:none}")),document.head.appendChild(n),window.customElements){const e=window.customElements.define;window.customElements.define=function(o,t){const d=t.prototype.connectedCallback;return t.prototype.connectedCallback=function(){if(d&&d.call(this),this.shadowRoot){const c=document.createElement("style");c.appendChild(document.createTextNode("fieldset[data-v-8c9cb27c]{display:contents}fieldset[disabled][data-v-8c9cb27c]>*{pointer-events:none}")),this.shadowRoot.appendChild(c)}},e.call(window.customElements,o,t)}}}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import o from "./vue-components.
|
|
2
|
+
import o from "./vue-components.es36.js";
|
|
3
3
|
|
|
4
|
-
import m from "./vue-components.
|
|
4
|
+
import m from "./vue-components.es35.js";
|
|
5
5
|
const a = /* @__PURE__ */ m(o, [["__scopeId", "data-v-8c9cb27c"]]);
|
|
6
6
|
export {
|
|
7
7
|
a as default
|