@atscript/vue-form 0.1.59 → 0.1.60
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/as-form.d.cts +1 -1
- package/dist/as-form.d.mts +1 -1
- package/dist/{as-form.vue-CJzVg56y.d.cts → as-form.vue-B4Bn0pbC.d.cts} +1 -1
- package/dist/{as-form.vue-ClKba5-p.d.mts → as-form.vue-DRrb_yoj.d.mts} +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +4 -4
package/dist/as-form.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _default, t as Props } from "./as-form.vue-
|
|
1
|
+
import { n as _default, t as Props } from "./as-form.vue-B4Bn0pbC.cjs";
|
|
2
2
|
export { Props, _default as default };
|
package/dist/as-form.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _default, t as Props } from "./as-form.vue-
|
|
1
|
+
import { n as _default, t as Props } from "./as-form.vue-DRrb_yoj.mjs";
|
|
2
2
|
export { Props, _default as default };
|
|
@@ -77,12 +77,12 @@ interface Props<TF, TC> {
|
|
|
77
77
|
}
|
|
78
78
|
declare const __VLS_export: <TFormData = any, TFormContext = any>(__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<{
|
|
79
79
|
props: vue.PublicProps & __VLS_PrettifyLocal<Props<TFormData, TFormContext> & {
|
|
80
|
-
onSubmit?: ((data: TFormData) => any) | undefined;
|
|
81
80
|
onError?: ((errors: {
|
|
82
81
|
path: string;
|
|
83
82
|
message: string;
|
|
84
83
|
}[]) => any) | undefined;
|
|
85
84
|
onAction?: ((name: string, data: TFormData) => any) | undefined;
|
|
85
|
+
onSubmit?: ((data: TFormData) => any) | undefined;
|
|
86
86
|
"onUnsupported-action"?: ((name: string, data: TFormData) => any) | undefined;
|
|
87
87
|
onChange?: ((type: TAsChangeType, path: string, value: unknown, formData: TFormData) => any) | undefined;
|
|
88
88
|
}> & (typeof globalThis extends {
|
|
@@ -77,12 +77,12 @@ interface Props<TF, TC> {
|
|
|
77
77
|
}
|
|
78
78
|
declare const __VLS_export: <TFormData = any, TFormContext = any>(__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<{
|
|
79
79
|
props: vue.PublicProps & __VLS_PrettifyLocal<Props<TFormData, TFormContext> & {
|
|
80
|
-
onSubmit?: ((data: TFormData) => any) | undefined;
|
|
81
80
|
onError?: ((errors: {
|
|
82
81
|
path: string;
|
|
83
82
|
message: string;
|
|
84
83
|
}[]) => any) | undefined;
|
|
85
84
|
onAction?: ((name: string, data: TFormData) => any) | undefined;
|
|
85
|
+
onSubmit?: ((data: TFormData) => any) | undefined;
|
|
86
86
|
"onUnsupported-action"?: ((name: string, data: TFormData) => any) | undefined;
|
|
87
87
|
onChange?: ((type: TAsChangeType, path: string, value: unknown, formData: TFormData) => any) | undefined;
|
|
88
88
|
}> & (typeof globalThis extends {
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _default$6 from "./as-field.cjs";
|
|
2
|
-
import { a as TFormRule, i as TFormFieldRegistration, n as _default$8, o as TFormState, r as TFormFieldCallbacks } from "./as-form.vue-
|
|
2
|
+
import { a as TFormRule, i as TFormFieldRegistration, n as _default$8, o as TFormState, r as TFormFieldCallbacks } from "./as-form.vue-B4Bn0pbC.cjs";
|
|
3
3
|
import { a as TAsTypeComponents, i as TAsComponentProps, n as TAsChangeType, o as TAsUnionContext, r as TAsComponentEmits, t as TAsBaseComponentProps } from "./types-C4HRSxgV.cjs";
|
|
4
4
|
import _default$10 from "./as-iterator.cjs";
|
|
5
5
|
import { t as _default } from "./as-action.vue-BdbAOZCL.cjs";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _default$6 from "./as-field.mjs";
|
|
2
|
-
import { a as TFormRule, i as TFormFieldRegistration, n as _default$8, o as TFormState, r as TFormFieldCallbacks } from "./as-form.vue-
|
|
2
|
+
import { a as TFormRule, i as TFormFieldRegistration, n as _default$8, o as TFormState, r as TFormFieldCallbacks } from "./as-form.vue-DRrb_yoj.mjs";
|
|
3
3
|
import { a as TAsTypeComponents, i as TAsComponentProps, n as TAsChangeType, o as TAsUnionContext, r as TAsComponentEmits, t as TAsBaseComponentProps } from "./types-Czm-Gtud.mjs";
|
|
4
4
|
import _default$10 from "./as-iterator.mjs";
|
|
5
5
|
import { t as _default } from "./as-action.vue-CmY3eil1.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/vue-form",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.60",
|
|
4
4
|
"description": "Type-driven form rendering for Atscript with Vue 3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"atscript",
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"access": "public"
|
|
148
148
|
},
|
|
149
149
|
"dependencies": {
|
|
150
|
-
"@atscript/ui": "^0.1.
|
|
150
|
+
"@atscript/ui": "^0.1.60"
|
|
151
151
|
},
|
|
152
152
|
"devDependencies": {
|
|
153
153
|
"@atscript/core": "^0.1.54",
|
|
@@ -163,13 +163,13 @@
|
|
|
163
163
|
"vue": "^3",
|
|
164
164
|
"vue-tsc": "^3.2.6",
|
|
165
165
|
"vunor": "^0.2",
|
|
166
|
-
"@atscript/ui-fns": "^0.1.
|
|
166
|
+
"@atscript/ui-fns": "^0.1.60"
|
|
167
167
|
},
|
|
168
168
|
"peerDependencies": {
|
|
169
169
|
"@atscript/db-client": "^0.1.75",
|
|
170
170
|
"reka-ui": "^2.9.2",
|
|
171
171
|
"vue": "^3",
|
|
172
|
-
"@atscript/ui-fns": "^0.1.
|
|
172
|
+
"@atscript/ui-fns": "^0.1.60"
|
|
173
173
|
},
|
|
174
174
|
"scripts": {
|
|
175
175
|
"build": "node ../../scripts/gen-exports.mjs && vp pack",
|