@atscript/vue-form 0.1.73 → 0.1.74

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-B6iBidP7.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-BmDsOgLK.mjs";
1
+ import { n as _default, t as Props } from "./as-form.vue-BOfKxDTv.mjs";
2
2
  export { Props, _default as default };
@@ -77,11 +77,11 @@ 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
- onAction?: ((name: string, data: TFormData) => any) | undefined;
85
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;
@@ -77,11 +77,11 @@ 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
- onAction?: ((name: string, data: TFormData) => any) | undefined;
85
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;
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-B6iBidP7.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";
@@ -23,7 +23,7 @@ import * as vue from "vue";
23
23
  import { Component, ComputedRef, MaybeRef, Ref, ShallowRef, WritableComputedRef } from "vue";
24
24
  import * as _atscript_ui0 from "@atscript/ui";
25
25
  import { ClientFactory, ClientFactory as ClientFactory$1, FormArrayFieldDef, FormDef, FormFieldDef, FormTupleFieldDef, FormUnionFieldDef, FormUnionVariant, ResolvedValueHelp, ValueHelpInfo, getDefaultClientFactory, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
26
- //#region ../../node_modules/.pnpm/@atscript+typescript@0.1.59_@atscript+core@0.1.59_@emnapi+core@1.9.2_@emnapi+runtime@1._b7f0c8d3a17388bcf2361a0fa987523e/node_modules/@atscript/typescript/dist/utils.d.ts
26
+ //#region ../../node_modules/.pnpm/@atscript+typescript@0.1.60_@atscript+core@0.1.60_@emnapi+core@1.9.2_@emnapi+runtime@1._727b012471faf9ee3f0ce46991d52ac8/node_modules/@atscript/typescript/dist/utils.d.ts
27
27
  interface TError {
28
28
  path: string;
29
29
  message: string;
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-BmDsOgLK.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";
@@ -23,7 +23,7 @@ import * as vue from "vue";
23
23
  import { Component, ComputedRef, MaybeRef, Ref, ShallowRef, WritableComputedRef } from "vue";
24
24
  import * as _atscript_ui0 from "@atscript/ui";
25
25
  import { ClientFactory, ClientFactory as ClientFactory$1, FormArrayFieldDef, FormDef, FormFieldDef, FormTupleFieldDef, FormUnionFieldDef, FormUnionVariant, ResolvedValueHelp, ValueHelpInfo, getDefaultClientFactory, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
26
- //#region ../../node_modules/.pnpm/@atscript+typescript@0.1.59_@atscript+core@0.1.59_@emnapi+core@1.9.2_@emnapi+runtime@1._b7f0c8d3a17388bcf2361a0fa987523e/node_modules/@atscript/typescript/dist/utils.d.ts
26
+ //#region ../../node_modules/.pnpm/@atscript+typescript@0.1.60_@atscript+core@0.1.60_@emnapi+core@1.9.2_@emnapi+runtime@1._727b012471faf9ee3f0ce46991d52ac8/node_modules/@atscript/typescript/dist/utils.d.ts
27
27
  interface TError {
28
28
  path: string;
29
29
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/vue-form",
3
- "version": "0.1.73",
3
+ "version": "0.1.74",
4
4
  "description": "Type-driven form rendering for Atscript with Vue 3",
5
5
  "keywords": [
6
6
  "atscript",
@@ -152,29 +152,29 @@
152
152
  "access": "public"
153
153
  },
154
154
  "dependencies": {
155
- "@atscript/ui": "^0.1.73"
155
+ "@atscript/ui": "^0.1.74"
156
156
  },
157
157
  "devDependencies": {
158
- "@atscript/core": "^0.1.59",
159
- "@atscript/db-client": "^0.1.85",
160
- "@atscript/typescript": "^0.1.59",
158
+ "@atscript/core": "^0.1.60",
159
+ "@atscript/db-client": "^0.1.86",
160
+ "@atscript/typescript": "^0.1.60",
161
161
  "@tsdown/css": "^0.21.4",
162
162
  "@vitejs/plugin-vue": "^6",
163
163
  "@vue/test-utils": "^2",
164
164
  "happy-dom": "^18",
165
165
  "reka-ui": "^2.9.2",
166
- "unplugin-atscript": "^0.1.59",
166
+ "unplugin-atscript": "^0.1.60",
167
167
  "vitest": "npm:@voidzero-dev/vite-plus-test@0.1.14",
168
168
  "vue": "^3",
169
169
  "vue-tsc": "^3.2.6",
170
170
  "vunor": "^0.2",
171
- "@atscript/ui-fns": "^0.1.73"
171
+ "@atscript/ui-fns": "^0.1.74"
172
172
  },
173
173
  "peerDependencies": {
174
- "@atscript/db-client": "^0.1.85",
174
+ "@atscript/db-client": "^0.1.86",
175
175
  "reka-ui": "^2.9.2",
176
176
  "vue": "^3",
177
- "@atscript/ui-fns": "^0.1.73"
177
+ "@atscript/ui-fns": "^0.1.74"
178
178
  },
179
179
  "scripts": {
180
180
  "build": "node ../../scripts/gen-exports.mjs && vp pack",