@effect-app/vue-components 3.1.0 → 4.0.0-beta.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 +10 -6
- 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 +11 -13
- 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/types/components/OmegaForm/useOmegaForm.d.ts +6 -4
- package/dist/types/utils/index.d.ts +4 -3
- package/dist/vue-components.es.js +13 -14
- package/dist/vue-components.es10.js +109 -115
- package/dist/vue-components.es11.js +3 -3
- package/dist/vue-components.es12.js +290 -341
- package/dist/vue-components.es16.js +11 -4
- package/dist/vue-components.es17.js +723 -10
- package/dist/vue-components.es18.js +138 -52
- package/dist/vue-components.es19.js +4 -68
- package/dist/vue-components.es2.js +17 -18
- package/dist/vue-components.es20.js +11 -6
- package/dist/vue-components.es21.js +3 -6
- package/dist/vue-components.es22.js +24 -3
- package/dist/vue-components.es23.js +4 -3
- package/dist/vue-components.es24.js +8 -2
- package/dist/vue-components.es25.js +55 -2
- package/dist/vue-components.es26.js +69 -2
- package/dist/vue-components.es27.js +6 -2
- package/dist/vue-components.es28.js +6 -17
- package/dist/vue-components.es29.js +3 -11
- package/dist/vue-components.es3.js +10 -10
- package/dist/vue-components.es30.js +3 -192
- package/dist/vue-components.es31.js +4 -0
- package/dist/vue-components.es32.js +2 -42
- package/dist/vue-components.es33.js +1 -1
- package/dist/vue-components.es34.js +1 -1
- package/dist/vue-components.es35.js +17 -111
- package/dist/vue-components.es36.js +40 -0
- package/dist/vue-components.es37.js +4 -7
- package/dist/vue-components.es38.js +82 -31
- package/dist/vue-components.es39.js +54 -0
- package/dist/vue-components.es40.js +561 -4
- package/dist/vue-components.es41.js +40 -22
- package/dist/vue-components.es42.js +27 -5
- package/dist/vue-components.es43.js +5 -21
- package/dist/vue-components.es44.js +39 -29
- package/dist/vue-components.es45.js +313 -21
- package/dist/vue-components.es46.js +31 -12
- package/dist/vue-components.es47.js +4 -5
- package/dist/vue-components.es48.js +23 -18
- package/dist/vue-components.es49.js +74 -8
- package/dist/vue-components.es5.js +1 -1
- package/dist/vue-components.es50.js +98 -30
- package/dist/vue-components.es51.js +2 -48
- package/dist/vue-components.es52.js +317 -25
- package/dist/vue-components.es53.js +64 -11
- package/dist/vue-components.es54.js +2 -65
- package/dist/vue-components.es55.js +2 -56
- package/dist/vue-components.es56.js +110 -16
- package/dist/vue-components.es58.js +7 -29
- package/dist/vue-components.es59.js +31 -41
- package/dist/vue-components.es61.js +190 -42
- package/dist/vue-components.es63.js +6 -0
- package/dist/vue-components.es64.js +103 -0
- package/dist/vue-components.es65.js +4 -0
- package/dist/vue-components.es66.js +23 -0
- package/dist/vue-components.es67.js +84 -0
- package/dist/vue-components.es68.js +14 -0
- package/dist/vue-components.es69.js +115 -0
- package/dist/vue-components.es7.js +1 -1
- package/dist/vue-components.es70.js +5 -0
- package/dist/vue-components.es71.js +34 -0
- package/dist/vue-components.es72.js +4 -0
- package/dist/vue-components.es73.js +4 -0
- package/dist/vue-components.es74.js +17 -0
- package/dist/vue-components.es75.js +72 -0
- package/dist/vue-components.es76.js +25 -0
- package/dist/vue-components.es77.js +7 -0
- package/dist/vue-components.es78.js +23 -0
- package/dist/vue-components.es79.js +32 -0
- package/dist/vue-components.es80.js +24 -0
- package/dist/vue-components.es81.js +14 -0
- package/dist/vue-components.es82.js +7 -0
- package/dist/vue-components.es83.js +21 -0
- package/dist/vue-components.es84.js +11 -0
- package/dist/vue-components.es85.js +33 -0
- package/dist/vue-components.es86.js +50 -0
- package/dist/vue-components.es87.js +28 -0
- package/dist/vue-components.es88.js +17 -0
- package/dist/vue-components.es89.js +18 -0
- package/dist/vue-components.es90.js +10 -0
- package/dist/vue-components.es91.js +13 -0
- package/dist/vue-components.es92.js +67 -0
- package/dist/vue-components.es93.js +58 -0
- package/dist/vue-components.es94.js +19 -0
- package/dist/{vue-components.es57.js → vue-components.es95.js} +4 -4
- package/dist/vue-components.es96.js +31 -0
- package/dist/vue-components.es97.js +44 -0
- package/dist/vue-components.es99.js +46 -0
- package/package.json +27 -26
- package/src/components/OmegaForm/OmegaAutoGen.vue +11 -10
- package/src/components/OmegaForm/OmegaErrorsInternal.vue +3 -2
- package/src/components/OmegaForm/OmegaFormStuff.ts +249 -274
- package/src/components/OmegaForm/OmegaInternalInput.vue +1 -1
- package/src/components/OmegaForm/useOmegaForm.ts +27 -28
- package/src/utils/index.ts +7 -7
- /package/dist/{vue-components.es62.js → vue-components.es100.js} +0 -0
- /package/dist/{vue-components.es60.js → vue-components.es98.js} +0 -0
|
@@ -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
|
+
}) & {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type DeepKeys } from "@tanstack/vue-form";
|
|
2
|
-
import
|
|
2
|
+
import * as Order from "effect/Order";
|
|
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,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type * as Effect from "effect/Effect";
|
|
2
|
+
import * as AST from "effect/SchemaAST";
|
|
2
3
|
import { type DeepKeys, type DeepValue, type FieldAsyncValidateOrFn, type FieldValidateOrFn, type FormApi, type FormAsyncValidateOrFn, type FormOptions, type FormState, type FormValidateOrFn, type StandardSchemaV1, type VueFormApi } from "@tanstack/vue-form";
|
|
3
|
-
import
|
|
4
|
+
import * as S from "effect/Schema";
|
|
4
5
|
import { useIntl } from "../../utils";
|
|
5
6
|
import { type OmegaFieldInternalApi } from "./InputProps";
|
|
6
7
|
import { type OF, type OmegaFormReturn } from "./useOmegaForm";
|
|
@@ -67,7 +68,7 @@ export type FormProps<From, To> = Omit<FormOptions<From, FormValidateOrFn<From>
|
|
|
67
68
|
formApi: OmegaFormParams<From, To>;
|
|
68
69
|
meta: any;
|
|
69
70
|
value: To;
|
|
70
|
-
}) => Promise<any> |
|
|
71
|
+
}) => Promise<any> | Effect.Effect<unknown, any, never>;
|
|
71
72
|
};
|
|
72
73
|
export type OmegaFormParams<From, To> = FormApi<From, FormValidateOrFn<From> | undefined, FormValidateOrFn<From> | undefined, StandardSchemaV1<From, To>, FormValidateOrFn<From> | undefined, FormAsyncValidateOrFn<From> | undefined, FormValidateOrFn<From> | undefined, FormAsyncValidateOrFn<From> | undefined, FormValidateOrFn<From> | undefined, FormAsyncValidateOrFn<From> | undefined, FormAsyncValidateOrFn<From> | undefined, Record<string, any> | undefined>;
|
|
73
74
|
export type OmegaFormState<From, To> = FormState<From, FormValidateOrFn<From> | undefined, FormValidateOrFn<From> | undefined, StandardSchemaV1<From, To>, FormValidateOrFn<From> | undefined, FormAsyncValidateOrFn<From> | undefined, FormValidateOrFn<From> | undefined, FormAsyncValidateOrFn<From> | undefined, FormValidateOrFn<From> | undefined, FormAsyncValidateOrFn<From> | undefined, FormAsyncValidateOrFn<From> | undefined>;
|
|
@@ -109,7 +110,7 @@ export type SelectFieldMeta = BaseFieldMeta & {
|
|
|
109
110
|
export type MultipleFieldMeta = BaseFieldMeta & {
|
|
110
111
|
type: "multiple";
|
|
111
112
|
members: any[];
|
|
112
|
-
rest:
|
|
113
|
+
rest: readonly AST.AST[];
|
|
113
114
|
};
|
|
114
115
|
export type BooleanFieldMeta = BaseFieldMeta & {
|
|
115
116
|
type: "boolean";
|
|
@@ -132,24 +133,21 @@ export type CreateMeta = {
|
|
|
132
133
|
meta?: Record<string, any>;
|
|
133
134
|
nullableOrUndefined?: false | "undefined" | "null";
|
|
134
135
|
} & ({
|
|
135
|
-
propertySignatures: readonly
|
|
136
|
+
propertySignatures: readonly AST.PropertySignature[];
|
|
136
137
|
property?: never;
|
|
137
138
|
} | {
|
|
138
139
|
propertySignatures?: never;
|
|
139
|
-
property:
|
|
140
|
+
property: AST.AST;
|
|
140
141
|
});
|
|
141
|
-
export declare const isNullableOrUndefined: (property: false |
|
|
142
|
+
export declare const isNullableOrUndefined: (property: false | AST.AST | undefined) => false | "undefined" | "null";
|
|
142
143
|
export declare const createMeta: <T = any>({ meta, parent, property, propertySignatures }: CreateMeta, acc?: Partial<MetaRecord<T>>) => MetaRecord<T> | FieldMeta;
|
|
143
|
-
export declare const duplicateSchema: <From, To>(schema: S.
|
|
144
|
-
export declare const generateMetaFromSchema: <
|
|
145
|
-
schema:
|
|
144
|
+
export declare const duplicateSchema: <From, To>(schema: S.Codec<To, From, never>) => S.Codec<To, From, never, never>;
|
|
145
|
+
export declare const generateMetaFromSchema: <_From, To>(schema: any) => {
|
|
146
|
+
schema: any;
|
|
146
147
|
meta: MetaRecord<To>;
|
|
147
148
|
unionMeta: Record<string, MetaRecord<To>>;
|
|
148
149
|
};
|
|
149
150
|
export declare const generateInputStandardSchemaFromFieldMeta: (meta: FieldMeta, trans?: ReturnType<typeof useIntl>["trans"]) => StandardSchemaV1<any, any>;
|
|
150
|
-
export declare const nullableInput: <A, I, R>(schema: S.Schema<A, I, R>, defaultValue: () => A) => S.transform<import("effect/Schema").NullOr<S.Schema<A, I, R>> & {
|
|
151
|
-
withDefault: S.PropertySignature<":", A | null, never, ":", I | null, true, R>;
|
|
152
|
-
}, S.SchemaClass<A, A, never>>;
|
|
153
151
|
export type OmegaAutoGenMeta<From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, Name extends DeepKeys<From>> = Omit<OmegaInputProps<From, To, Name>, "form">;
|
|
154
152
|
declare const supportedInputs: readonly ["button", "checkbox", "color", "date", "email", "number", "password", "radio", "range", "search", "submit", "tel", "text", "time", "url"];
|
|
155
153
|
export type SupportedInputs = typeof supportedInputs[number];
|
|
@@ -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,6 +1,8 @@
|
|
|
1
1
|
import { type DeepKeys, DeepValue, StandardSchemaV1Issue, ValidationError, ValidationErrorMap } from "@tanstack/vue-form";
|
|
2
|
-
import { Effect, Order, S } from "effect-app";
|
|
3
2
|
import { UnionToTuples } from "effect-app/utils";
|
|
3
|
+
import * as Effect from "effect/Effect";
|
|
4
|
+
import * as Order from "effect/Order";
|
|
5
|
+
import * as S from "effect/Schema";
|
|
4
6
|
import { ComputedRef, type InjectionKey } from "vue";
|
|
5
7
|
import { MergedInputProps } from "./InputProps";
|
|
6
8
|
import { BaseProps, DefaultTypeProps, FieldPath, type FormProps, type MetaRecord, type NestedKeyOf, OmegaArrayProps, OmegaAutoGenMeta, OmegaError, type OmegaFormApi, OmegaFormState } from "./OmegaFormStuff";
|
|
@@ -11,7 +13,7 @@ type keysRule<T> = {
|
|
|
11
13
|
keys?: "You should only use one of banKeys or keys, not both, moron";
|
|
12
14
|
banKeys?: NestedKeyOf<T>[];
|
|
13
15
|
};
|
|
14
|
-
declare const FormErrors_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").
|
|
16
|
+
declare const FormErrors_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").MatchRecord<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }, void, { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
15
17
|
readonly _tag: "FormErrors";
|
|
16
18
|
} & Readonly<A>;
|
|
17
19
|
export declare class FormErrors<From> extends FormErrors_base<{
|
|
@@ -94,7 +96,7 @@ type CachedFieldState<From, To, TypeProps = DefaultTypeProps> = import("@tanstac
|
|
|
94
96
|
export interface OmegaFormReturn<From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, TypeProps = DefaultTypeProps> extends OF<From, To> {
|
|
95
97
|
_paths: FieldPath<From>;
|
|
96
98
|
_keys: DeepKeys<From>;
|
|
97
|
-
_schema: S.
|
|
99
|
+
_schema: S.Codec<To, From, never>;
|
|
98
100
|
Input: <Name extends OmegaFormReturn<From, To, TypeProps>["_paths"]>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
99
101
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & TypeProps & Partial<{}>> & BaseProps<From, Name> & import("vue").PublicProps;
|
|
100
102
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
@@ -210,5 +212,5 @@ export interface OmegaFormReturn<From extends Record<PropertyKey, any>, To exten
|
|
|
210
212
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
211
213
|
};
|
|
212
214
|
}
|
|
213
|
-
export declare const useOmegaForm: <From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, TypeProps = DefaultTypeProps>(schema: S.
|
|
215
|
+
export declare const useOmegaForm: <From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, TypeProps = DefaultTypeProps>(schema: S.Codec<To, From, never>, tanstackFormOptions?: NoInfer<FormProps<From, To>>, omegaConfig?: OmegaConfig<To>) => OmegaFormReturn<From, To, TypeProps>;
|
|
214
216
|
export {};
|
|
@@ -11,9 +11,10 @@ export declare const useIntl: () => {
|
|
|
11
11
|
export declare const provideIntl: (intl: ReturnType<typeof makeIntl>["useIntl"]) => void;
|
|
12
12
|
/**
|
|
13
13
|
* Recursively extracts the source AST from a transformation chain.
|
|
14
|
-
*
|
|
14
|
+
* In v4, transformations are stored in the `encoding` property, not as wrapped AST nodes.
|
|
15
|
+
* This function returns the encoded form if an encoding chain exists, otherwise returns the AST itself.
|
|
15
16
|
*
|
|
16
17
|
* @param ast - The AST node to extract the transformation source from
|
|
17
|
-
* @returns The source AST
|
|
18
|
+
* @returns The source AST (the decoded/type form, which is the AST itself in v4)
|
|
18
19
|
*/
|
|
19
|
-
export declare function getTransformationFrom(ast: S.AST.AST): S.AST.
|
|
20
|
+
export declare function getTransformationFrom(ast: S.AST.AST): S.AST.AST;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as o from "./vue-components.es2.js";
|
|
2
|
-
import { getTransformationFrom as
|
|
2
|
+
import { getTransformationFrom as p, provideIntl as l, useIntl as s, useIntlKey as u } from "./vue-components.es3.js";
|
|
3
3
|
import { default as i } from "./vue-components.es4.js";
|
|
4
4
|
import { default as g } from "./vue-components.es5.js";
|
|
5
5
|
import { default as I } from "./vue-components.es6.js";
|
|
6
6
|
import { default as y } from "./vue-components.es7.js";
|
|
7
7
|
import { default as h } from "./vue-components.es8.js";
|
|
8
|
-
import { default as
|
|
9
|
-
import { useOmegaForm as
|
|
10
|
-
import { useOnClose as
|
|
11
|
-
import { createMeta as P, deepMerge as V, defaultsValueFromSchema as k, duplicateSchema as w, generateInputStandardSchemaFromFieldMeta as B, generateMetaFromSchema as D, getInputType as K, isNullableOrUndefined as N
|
|
12
|
-
import { createUseFormWithCustomInput as
|
|
8
|
+
import { default as C } from "./vue-components.es9.js";
|
|
9
|
+
import { useOmegaForm as T } from "./vue-components.es10.js";
|
|
10
|
+
import { useOnClose as b, usePreventClose as j } from "./vue-components.es11.js";
|
|
11
|
+
import { createMeta as P, deepMerge as V, defaultsValueFromSchema as k, duplicateSchema as w, generateInputStandardSchemaFromFieldMeta as B, generateMetaFromSchema as D, getInputType as K, isNullableOrUndefined as N } from "./vue-components.es12.js";
|
|
12
|
+
import { createUseFormWithCustomInput as $ } from "./vue-components.es13.js";
|
|
13
13
|
function r(a) {
|
|
14
14
|
for (const e in o)
|
|
15
15
|
if (Object.prototype.hasOwnProperty.call(o, e)) {
|
|
@@ -23,10 +23,10 @@ export {
|
|
|
23
23
|
g as Dialog,
|
|
24
24
|
I as OmegaInput,
|
|
25
25
|
h as OmegaTaggedUnion,
|
|
26
|
-
|
|
26
|
+
C as OmegaTaggedUnionInternal,
|
|
27
27
|
y as OmegaVuetifyInput,
|
|
28
28
|
P as createMeta,
|
|
29
|
-
|
|
29
|
+
$ as createUseFormWithCustomInput,
|
|
30
30
|
V as deepMerge,
|
|
31
31
|
n as default,
|
|
32
32
|
k as defaultsValueFromSchema,
|
|
@@ -34,13 +34,12 @@ export {
|
|
|
34
34
|
B as generateInputStandardSchemaFromFieldMeta,
|
|
35
35
|
D as generateMetaFromSchema,
|
|
36
36
|
K as getInputType,
|
|
37
|
-
|
|
37
|
+
p as getTransformationFrom,
|
|
38
38
|
N as isNullableOrUndefined,
|
|
39
|
-
W as nullableInput,
|
|
40
39
|
l as provideIntl,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
s as useIntl,
|
|
41
|
+
u as useIntlKey,
|
|
42
|
+
T as useOmegaForm,
|
|
43
|
+
b as useOnClose,
|
|
45
44
|
j as usePreventClose
|
|
46
45
|
};
|