@formisch/vue 0.6.1 → 0.6.2
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue3 from "vue";
|
|
3
3
|
import { ComponentPublicInstance, MaybeRefOrGetter, ShallowRef as Signal } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region ../../packages/core/dist/index.vue.d.ts
|
|
@@ -11,6 +11,7 @@ import { ComponentPublicInstance, MaybeRefOrGetter, ShallowRef as Signal } from
|
|
|
11
11
|
type Schema = v.GenericSchema | v.GenericSchemaAsync;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/types/signal.d.ts
|
|
14
|
+
|
|
14
15
|
/**
|
|
15
16
|
* Batch interface.
|
|
16
17
|
*/
|
|
@@ -939,14 +940,14 @@ interface FieldProps<TSchema extends Schema = Schema, TFieldPath extends Require
|
|
|
939
940
|
readonly path: ValidPath<v.InferInput<TSchema>, TFieldPath>;
|
|
940
941
|
}
|
|
941
942
|
declare const __VLS_export$2: <TSchema extends Schema, TFieldPath extends RequiredPath>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
942
|
-
props: __VLS_PrettifyLocal$2<FieldProps<TSchema, TFieldPath>> &
|
|
943
|
+
props: __VLS_PrettifyLocal$2<FieldProps<TSchema, TFieldPath>> & vue3.PublicProps;
|
|
943
944
|
expose: (exposed: {}) => void;
|
|
944
945
|
attrs: any;
|
|
945
946
|
slots: {
|
|
946
947
|
default(props: FieldStore<TSchema, TFieldPath>): any;
|
|
947
948
|
};
|
|
948
949
|
emit: {};
|
|
949
|
-
}>) =>
|
|
950
|
+
}>) => vue3.VNode & {
|
|
950
951
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
951
952
|
};
|
|
952
953
|
declare const _default: typeof __VLS_export$2;
|
|
@@ -967,14 +968,14 @@ interface FieldArrayProps<TSchema extends Schema = Schema, TFieldArrayPath exten
|
|
|
967
968
|
readonly path: ValidArrayPath<v.InferInput<TSchema>, TFieldArrayPath>;
|
|
968
969
|
}
|
|
969
970
|
declare const __VLS_export$1: <TSchema extends Schema, TFieldArrayPath extends RequiredPath>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
970
|
-
props: __VLS_PrettifyLocal$1<FieldArrayProps<TSchema, TFieldArrayPath>> &
|
|
971
|
+
props: __VLS_PrettifyLocal$1<FieldArrayProps<TSchema, TFieldArrayPath>> & vue3.PublicProps;
|
|
971
972
|
expose: (exposed: {}) => void;
|
|
972
973
|
attrs: any;
|
|
973
974
|
slots: {
|
|
974
975
|
default(props: FieldArrayStore<TSchema, TFieldArrayPath>): any;
|
|
975
976
|
};
|
|
976
977
|
emit: {};
|
|
977
|
-
}>) =>
|
|
978
|
+
}>) => vue3.VNode & {
|
|
978
979
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
979
980
|
};
|
|
980
981
|
declare const _default$1: typeof __VLS_export$1;
|
|
@@ -995,14 +996,14 @@ interface FormProps<TSchema extends Schema = Schema> {
|
|
|
995
996
|
onSubmit: SubmitHandler<TSchema>;
|
|
996
997
|
}
|
|
997
998
|
declare const __VLS_export: <TSchema extends Schema = Schema>(__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<{
|
|
998
|
-
props: __VLS_PrettifyLocal<FormProps<TSchema>> &
|
|
999
|
+
props: __VLS_PrettifyLocal<FormProps<TSchema>> & vue3.PublicProps;
|
|
999
1000
|
expose: (exposed: {}) => void;
|
|
1000
1001
|
attrs: any;
|
|
1001
1002
|
slots: {
|
|
1002
1003
|
default?: (props: {}) => any;
|
|
1003
1004
|
};
|
|
1004
1005
|
emit: {};
|
|
1005
|
-
}>) =>
|
|
1006
|
+
}>) => vue3.VNode & {
|
|
1006
1007
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1007
1008
|
};
|
|
1008
1009
|
declare const _default$2: typeof __VLS_export;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formisch/vue",
|
|
3
3
|
"description": "The modular and type-safe form library for Vue",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Fabian Hiller",
|
|
7
7
|
"homepage": "https://formisch.dev",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
38
38
|
"eslint": "^9.32.0",
|
|
39
39
|
"eslint-plugin-vue": "~10.3.0",
|
|
40
|
-
"tsdown": "^0.
|
|
40
|
+
"tsdown": "^0.16.8",
|
|
41
41
|
"typescript": "~5.8.3",
|
|
42
42
|
"unplugin-vue": "^7.0.0",
|
|
43
43
|
"valibot": "^1.1.0",
|
|
44
44
|
"vue": "^3.5.18",
|
|
45
45
|
"vue-tsc": "^3.0.4",
|
|
46
|
-
"@formisch/core": "0.4.
|
|
46
|
+
"@formisch/core": "0.4.3",
|
|
47
47
|
"@formisch/methods": "0.5.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|