@atscript/vue-form 0.1.70 → 0.1.71

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,2 +1,2 @@
1
- import { n as _default, t as Props } from "./as-form.vue-Bnx5wmrs.cjs";
1
+ import { n as _default, t as Props } from "./as-form.vue-BkSIywRv.cjs";
2
2
  export { Props, _default as default };
@@ -1,2 +1,2 @@
1
- import { n as _default, t as Props } from "./as-form.vue-r8RVlous.mjs";
1
+ import { n as _default, t as Props } from "./as-form.vue-BOfKxDTv.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
+ onAction?: ((name: string, data: TFormData) => any) | undefined;
80
81
  onError?: ((errors: {
81
82
  path: string;
82
83
  message: string;
83
84
  }[]) => any) | undefined;
84
85
  onSubmit?: ((data: TFormData) => any) | undefined;
85
- onAction?: ((name: string, 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
+ onAction?: ((name: string, data: TFormData) => any) | undefined;
80
81
  onError?: ((errors: {
81
82
  path: string;
82
83
  message: string;
83
84
  }[]) => any) | undefined;
84
85
  onSubmit?: ((data: TFormData) => any) | undefined;
85
- onAction?: ((name: string, 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-Bnx5wmrs.cjs";
2
+ import { a as TFormRule, i as TFormFieldRegistration, n as _default$8, o as TFormState, r as TFormFieldCallbacks } from "./as-form.vue-BkSIywRv.cjs";
3
3
  import { a as TAsTypeComponents, i as TAsComponentProps, n as TAsChangeType, o as TAsUnionContext, r as TAsComponentEmits, t as TAsBaseComponentProps } from "./types-CzMUE5Dk.cjs";
4
4
  import _default$10 from "./as-iterator.cjs";
5
5
  import { t as _default } from "./as-action.vue-BOLmcRHb.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-r8RVlous.mjs";
2
+ import { a as TFormRule, i as TFormFieldRegistration, n as _default$8, o as TFormState, r as TFormFieldCallbacks } from "./as-form.vue-BOfKxDTv.mjs";
3
3
  import { a as TAsTypeComponents, i as TAsComponentProps, n as TAsChangeType, o as TAsUnionContext, r as TAsComponentEmits, t as TAsBaseComponentProps } from "./types-D0xtsrz8.mjs";
4
4
  import _default$10 from "./as-iterator.mjs";
5
5
  import { t as _default } from "./as-action.vue-ReXXWCRt.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/vue-form",
3
- "version": "0.1.70",
3
+ "version": "0.1.71",
4
4
  "description": "Type-driven form rendering for Atscript with Vue 3",
5
5
  "keywords": [
6
6
  "atscript",
@@ -152,7 +152,7 @@
152
152
  "access": "public"
153
153
  },
154
154
  "dependencies": {
155
- "@atscript/ui": "^0.1.70"
155
+ "@atscript/ui": "^0.1.71"
156
156
  },
157
157
  "devDependencies": {
158
158
  "@atscript/core": "^0.1.58",
@@ -168,13 +168,13 @@
168
168
  "vue": "^3",
169
169
  "vue-tsc": "^3.2.6",
170
170
  "vunor": "^0.2",
171
- "@atscript/ui-fns": "^0.1.70"
171
+ "@atscript/ui-fns": "^0.1.71"
172
172
  },
173
173
  "peerDependencies": {
174
174
  "@atscript/db-client": "^0.1.82",
175
175
  "reka-ui": "^2.9.2",
176
176
  "vue": "^3",
177
- "@atscript/ui-fns": "^0.1.70"
177
+ "@atscript/ui-fns": "^0.1.71"
178
178
  },
179
179
  "scripts": {
180
180
  "build": "node ../../scripts/gen-exports.mjs && vp pack",