@atscript/vue-form 0.1.88 → 0.1.89

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-jWfGgDC2.cjs";
1
+ import { n as _default, t as Props } from "./as-form.vue-CpR9DD0e.cjs";
2
2
  export { Props, _default as default };
@@ -1,2 +1,2 @@
1
- import { n as _default, t as Props } from "./as-form.vue-DLL244uG.mjs";
1
+ import { n as _default, t as Props } from "./as-form.vue-u1wuYLiG.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
- onSubmit?: ((data: TFormData) => any) | undefined;
81
80
  onError?: ((errors: {
82
81
  path: string;
83
82
  message: string;
84
83
  }[]) => any) | undefined;
84
+ onSubmit?: ((data: TFormData) => any) | undefined;
85
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;
@@ -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
- onSubmit?: ((data: TFormData) => any) | undefined;
81
80
  onError?: ((errors: {
82
81
  path: string;
83
82
  message: string;
84
83
  }[]) => any) | undefined;
84
+ onSubmit?: ((data: TFormData) => any) | undefined;
85
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;
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { a as TAsComponentEmits, c as TAsUnionContext, i as TAsCollapsibleSlots, n as TAsChangeType, o as TAsComponentProps, r as TAsCollapsibleProps, s as TAsTypeComponents, t as TAsBaseComponentProps } from "./types-BYfe1QEF.cjs";
2
2
  import _default$3 from "./as-collapsible.cjs";
3
3
  import _default$7 from "./as-field.cjs";
4
- import { a as TFormRule, i as TFormFieldRegistration, n as _default$9, o as TFormState, r as TFormFieldCallbacks } from "./as-form.vue-jWfGgDC2.cjs";
4
+ import { a as TFormRule, i as TFormFieldRegistration, n as _default$9, o as TFormState, r as TFormFieldCallbacks } from "./as-form.vue-CpR9DD0e.cjs";
5
5
  import _default$11 from "./as-iterator.cjs";
6
6
  import { t as _default } from "./as-action.vue-BCbopk0S.cjs";
7
7
  import { t as _default$1 } from "./as-array.vue-Ci4xO292.cjs";
@@ -24,7 +24,7 @@ import * as vue from "vue";
24
24
  import { Component, ComputedRef, MaybeRef, Ref, ShallowRef, WritableComputedRef } from "vue";
25
25
  import * as _atscript_ui0 from "@atscript/ui";
26
26
  import { ClientFactory, ClientFactory as ClientFactory$1, FormArrayFieldDef, FormDef, FormFieldDef, FormTupleFieldDef, FormUnionFieldDef, FormUnionVariant, ResolvedValueHelp, ValueHelpInfo, getDefaultClientFactory, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
27
- //#region ../../node_modules/.pnpm/@atscript+typescript@0.1.69_@atscript+core@0.1.69_@emnapi+core@1.10.0_@emnapi+runtime@1_e3fb5ecc477d4e72e98cc920fbc7e884/node_modules/@atscript/typescript/dist/utils.d.ts
27
+ //#region ../../node_modules/.pnpm/@atscript+typescript@0.1.70_@atscript+core@0.1.70_@emnapi+core@1.10.0_@emnapi+runtime@1_b6a579a982251a44a51d12461f43e362/node_modules/@atscript/typescript/dist/utils.d.ts
28
28
  interface TError {
29
29
  path: string;
30
30
  message: string;
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { a as TAsComponentEmits, c as TAsUnionContext, i as TAsCollapsibleSlots, n as TAsChangeType, o as TAsComponentProps, r as TAsCollapsibleProps, s as TAsTypeComponents, t as TAsBaseComponentProps } from "./types-CV9ss4UN.mjs";
2
2
  import _default$3 from "./as-collapsible.mjs";
3
3
  import _default$7 from "./as-field.mjs";
4
- import { a as TFormRule, i as TFormFieldRegistration, n as _default$9, o as TFormState, r as TFormFieldCallbacks } from "./as-form.vue-DLL244uG.mjs";
4
+ import { a as TFormRule, i as TFormFieldRegistration, n as _default$9, o as TFormState, r as TFormFieldCallbacks } from "./as-form.vue-u1wuYLiG.mjs";
5
5
  import _default$11 from "./as-iterator.mjs";
6
6
  import { t as _default } from "./as-action.vue-BtQX09n-.mjs";
7
7
  import { t as _default$1 } from "./as-array.vue-I42wuF6e.mjs";
@@ -24,7 +24,7 @@ import * as vue from "vue";
24
24
  import { Component, ComputedRef, MaybeRef, Ref, ShallowRef, WritableComputedRef } from "vue";
25
25
  import * as _atscript_ui0 from "@atscript/ui";
26
26
  import { ClientFactory, ClientFactory as ClientFactory$1, FormArrayFieldDef, FormDef, FormFieldDef, FormTupleFieldDef, FormUnionFieldDef, FormUnionVariant, ResolvedValueHelp, ValueHelpInfo, getDefaultClientFactory, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
27
- //#region ../../node_modules/.pnpm/@atscript+typescript@0.1.69_@atscript+core@0.1.69_@emnapi+core@1.10.0_@emnapi+runtime@1_e3fb5ecc477d4e72e98cc920fbc7e884/node_modules/@atscript/typescript/dist/utils.d.ts
27
+ //#region ../../node_modules/.pnpm/@atscript+typescript@0.1.70_@atscript+core@0.1.70_@emnapi+core@1.10.0_@emnapi+runtime@1_b6a579a982251a44a51d12461f43e362/node_modules/@atscript/typescript/dist/utils.d.ts
28
28
  interface TError {
29
29
  path: string;
30
30
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/vue-form",
3
- "version": "0.1.88",
3
+ "version": "0.1.89",
4
4
  "description": "Type-driven form rendering for Atscript with Vue 3",
5
5
  "keywords": [
6
6
  "atscript",
@@ -157,29 +157,29 @@
157
157
  "access": "public"
158
158
  },
159
159
  "dependencies": {
160
- "@atscript/ui": "^0.1.88"
160
+ "@atscript/ui": "^0.1.89"
161
161
  },
162
162
  "devDependencies": {
163
- "@atscript/core": "^0.1.69",
164
- "@atscript/db-client": "^0.1.96",
165
- "@atscript/typescript": "^0.1.69",
163
+ "@atscript/core": "^0.1.70",
164
+ "@atscript/db-client": "^0.1.97",
165
+ "@atscript/typescript": "^0.1.70",
166
166
  "@tsdown/css": "^0.21.4",
167
167
  "@vitejs/plugin-vue": "^6",
168
168
  "@vue/test-utils": "^2",
169
169
  "happy-dom": "^18",
170
170
  "reka-ui": "^2.9.8",
171
- "unplugin-atscript": "^0.1.69",
171
+ "unplugin-atscript": "^0.1.70",
172
172
  "vitest": "npm:@voidzero-dev/vite-plus-test@0.1.14",
173
173
  "vue": "^3",
174
174
  "vue-tsc": "~3.2.9",
175
175
  "vunor": "^0.2.1",
176
- "@atscript/ui-fns": "^0.1.88"
176
+ "@atscript/ui-fns": "^0.1.89"
177
177
  },
178
178
  "peerDependencies": {
179
- "@atscript/db-client": "^0.1.96",
179
+ "@atscript/db-client": "^0.1.97",
180
180
  "reka-ui": "^2.9.8",
181
181
  "vue": "^3",
182
- "@atscript/ui-fns": "^0.1.88"
182
+ "@atscript/ui-fns": "^0.1.89"
183
183
  },
184
184
  "scripts": {
185
185
  "build": "node ../../scripts/gen-exports.mjs && vp pack",