@effect-app/vue-components 3.0.7 → 3.2.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/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/OmegaFormStuff.d.ts +2 -1
- 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.es10.js +7 -7
- package/dist/vue-components.es11.js +3 -3
- package/dist/vue-components.es12.js +120 -144
- package/dist/vue-components.es16.js +11 -4
- package/dist/vue-components.es17.js +4 -10
- package/dist/vue-components.es18.js +10 -55
- package/dist/vue-components.es19.js +50 -63
- package/dist/vue-components.es20.js +68 -6
- package/dist/vue-components.es21.js +5 -5
- package/dist/vue-components.es22.js +6 -3
- package/dist/vue-components.es23.js +3 -3
- package/dist/vue-components.es24.js +3 -2
- package/dist/vue-components.es25.js +1 -1
- package/dist/vue-components.es26.js +1 -1
- package/dist/vue-components.es27.js +1 -1
- package/dist/vue-components.es28.js +2 -17
- package/dist/vue-components.es29.js +16 -10
- package/dist/vue-components.es3.js +1 -1
- package/dist/vue-components.es30.js +191 -41
- package/dist/vue-components.es32.js +42 -2
- package/dist/vue-components.es33.js +2 -111
- package/dist/vue-components.es34.js +4 -0
- package/dist/vue-components.es35.js +111 -7
- package/dist/vue-components.es37.js +9 -0
- package/dist/vue-components.es38.js +27 -187
- package/dist/vue-components.es40.js +4 -23
- package/dist/vue-components.es41.js +23 -5
- package/dist/vue-components.es42.js +5 -21
- package/dist/vue-components.es43.js +16 -25
- package/dist/vue-components.es44.js +23 -15
- package/dist/vue-components.es45.js +17 -7
- package/dist/vue-components.es46.js +12 -5
- package/dist/vue-components.es47.js +5 -19
- package/dist/vue-components.es48.js +19 -9
- package/dist/vue-components.es49.js +9 -31
- package/dist/vue-components.es5.js +1 -1
- package/dist/vue-components.es50.js +25 -42
- package/dist/vue-components.es51.js +38 -16
- package/dist/vue-components.es52.js +26 -11
- package/dist/vue-components.es53.js +11 -4
- 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 +3 -3
- package/package.json +24 -24
- package/src/components/OmegaForm/OmegaFormStuff.ts +23 -59
- package/src/components/OmegaForm/OmegaInputVuetify.vue +2 -2
- package/src/components/OmegaForm/OmegaInternalInput.vue +2 -2
- package/dist/vue-components.es31.js +0 -4
- package/dist/vue-components.es36.js +0 -34
|
@@ -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
|
+
}) & {};
|
|
@@ -95,11 +95,12 @@ export type StringFieldMeta = BaseFieldMeta & {
|
|
|
95
95
|
format?: string;
|
|
96
96
|
};
|
|
97
97
|
export type NumberFieldMeta = BaseFieldMeta & {
|
|
98
|
-
type: "number"
|
|
98
|
+
type: "number";
|
|
99
99
|
minimum?: number;
|
|
100
100
|
maximum?: number;
|
|
101
101
|
exclusiveMinimum?: number;
|
|
102
102
|
exclusiveMaximum?: number;
|
|
103
|
+
refinement?: "int";
|
|
103
104
|
};
|
|
104
105
|
export type SelectFieldMeta = BaseFieldMeta & {
|
|
105
106
|
type: "select";
|
|
@@ -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,17 +1,17 @@
|
|
|
1
1
|
import { useForm as K } from "@tanstack/vue-form";
|
|
2
2
|
import { Data as T, S as W, Effect as d, Fiber as $, Option as j, Array as F } from "effect-app";
|
|
3
|
-
import { runtimeFiberAsPromise as z } from "./vue-components.
|
|
3
|
+
import { runtimeFiberAsPromise as z } from "./vue-components.es18.js";
|
|
4
4
|
import { computed as x, onUnmounted as D, onMounted as G, onBeforeUnmount as Z, watch as R, ref as Q, h as J } from "vue";
|
|
5
5
|
import { useIntl as X } from "./vue-components.es3.js";
|
|
6
|
-
import Y from "./vue-components.
|
|
7
|
-
import C from "./vue-components.
|
|
8
|
-
import ee from "./vue-components.
|
|
6
|
+
import Y from "./vue-components.es19.js";
|
|
7
|
+
import C from "./vue-components.es20.js";
|
|
8
|
+
import ee from "./vue-components.es21.js";
|
|
9
9
|
import { generateMetaFromSchema as re, deepMerge as N, defaultsValueFromSchema as te } from "./vue-components.es12.js";
|
|
10
10
|
import se from "./vue-components.es6.js";
|
|
11
11
|
import ne from "./vue-components.es8.js";
|
|
12
|
-
import oe from "./vue-components.
|
|
13
|
-
import { trace as H } from "./vue-components.
|
|
14
|
-
import { context as U } from "./vue-components.
|
|
12
|
+
import oe from "./vue-components.es22.js";
|
|
13
|
+
import { trace as H } from "./vue-components.es23.js";
|
|
14
|
+
import { context as U } from "./vue-components.es24.js";
|
|
15
15
|
class ie extends T.TaggedError("FormErrors") {
|
|
16
16
|
}
|
|
17
17
|
const M = (i) => function(s) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import l from "./vue-components.
|
|
1
|
+
import l from "./vue-components.es29.js";
|
|
2
2
|
import { inject as c, provide as u } from "vue";
|
|
3
|
-
import { onMountedWithCleanup as f } from "./vue-components.
|
|
4
|
-
const p = () => l(), i = Symbol("DialogBus"), r = () => c(i, null), g = () => {
|
|
3
|
+
import { onMountedWithCleanup as f } from "./vue-components.es16.js";
|
|
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) => {
|