@atscript/vue-form 0.1.98 → 0.1.100
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-DoWDasax.d.cts → as-form.vue-5FyX_1CQ.d.cts} +2 -2
- package/dist/{as-form.vue-jEaSCN0P.d.mts → as-form.vue-ZykHT4gZ.d.mts} +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/package.json +9 -9
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-5FyX_1CQ.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-ZykHT4gZ.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
|
-
|
|
80
|
+
onSubmit?: ((data: TFormData) => any) | undefined;
|
|
81
81
|
onError?: ((errors: {
|
|
82
82
|
path: string;
|
|
83
83
|
message: string;
|
|
84
84
|
}[]) => 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;
|
|
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
|
-
|
|
80
|
+
onSubmit?: ((data: TFormData) => any) | undefined;
|
|
81
81
|
onError?: ((errors: {
|
|
82
82
|
path: string;
|
|
83
83
|
message: string;
|
|
84
84
|
}[]) => 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;
|
|
88
88
|
}> & (typeof globalThis extends {
|
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-
|
|
4
|
+
import { a as TFormRule, i as TFormFieldRegistration, n as _default$9, o as TFormState, r as TFormFieldCallbacks } from "./as-form.vue-5FyX_1CQ.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";
|
|
@@ -25,7 +25,7 @@ import * as vue from "vue";
|
|
|
25
25
|
import { Component, ComputedRef, MaybeRef, Ref, ShallowRef, WritableComputedRef } from "vue";
|
|
26
26
|
import * as _atscript_ui0 from "@atscript/ui";
|
|
27
27
|
import { ClientFactory, ClientFactory as ClientFactory$1, FormArrayFieldDef, FormDef, FormFieldDef, FormTupleFieldDef, FormUnionFieldDef, FormUnionVariant, ResolvedValueHelp, ValueHelpInfo, getDefaultClientFactory, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
|
|
28
|
-
//#region ../../node_modules/.pnpm/@atscript+typescript@0.1.
|
|
28
|
+
//#region ../../node_modules/.pnpm/@atscript+typescript@0.1.76_@atscript+core@0.1.76_@emnapi+core@1.10.0_@emnapi+runtime@1_c74b63ecfec61eb3b1f4104ec2b0fae5/node_modules/@atscript/typescript/dist/utils.d.ts
|
|
29
29
|
interface TError {
|
|
30
30
|
path: string;
|
|
31
31
|
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-
|
|
4
|
+
import { a as TFormRule, i as TFormFieldRegistration, n as _default$9, o as TFormState, r as TFormFieldCallbacks } from "./as-form.vue-ZykHT4gZ.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";
|
|
@@ -25,7 +25,7 @@ import * as vue from "vue";
|
|
|
25
25
|
import { Component, ComputedRef, MaybeRef, Ref, ShallowRef, WritableComputedRef } from "vue";
|
|
26
26
|
import * as _atscript_ui0 from "@atscript/ui";
|
|
27
27
|
import { ClientFactory, ClientFactory as ClientFactory$1, FormArrayFieldDef, FormDef, FormFieldDef, FormTupleFieldDef, FormUnionFieldDef, FormUnionVariant, ResolvedValueHelp, ValueHelpInfo, getDefaultClientFactory, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
|
|
28
|
-
//#region ../../node_modules/.pnpm/@atscript+typescript@0.1.
|
|
28
|
+
//#region ../../node_modules/.pnpm/@atscript+typescript@0.1.76_@atscript+core@0.1.76_@emnapi+core@1.10.0_@emnapi+runtime@1_c74b63ecfec61eb3b1f4104ec2b0fae5/node_modules/@atscript/typescript/dist/utils.d.ts
|
|
29
29
|
interface TError {
|
|
30
30
|
path: string;
|
|
31
31
|
message: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/vue-form",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.100",
|
|
4
4
|
"description": "Type-driven form rendering for Atscript with Vue 3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"atscript",
|
|
@@ -160,29 +160,29 @@
|
|
|
160
160
|
"access": "public"
|
|
161
161
|
},
|
|
162
162
|
"dependencies": {
|
|
163
|
-
"@atscript/ui": "^0.1.
|
|
163
|
+
"@atscript/ui": "^0.1.100"
|
|
164
164
|
},
|
|
165
165
|
"devDependencies": {
|
|
166
|
-
"@atscript/core": "^0.1.
|
|
167
|
-
"@atscript/db-client": "^0.1.
|
|
168
|
-
"@atscript/typescript": "^0.1.
|
|
166
|
+
"@atscript/core": "^0.1.76",
|
|
167
|
+
"@atscript/db-client": "^0.1.106",
|
|
168
|
+
"@atscript/typescript": "^0.1.76",
|
|
169
169
|
"@tsdown/css": "^0.21.4",
|
|
170
170
|
"@vitejs/plugin-vue": "^6",
|
|
171
171
|
"@vue/test-utils": "^2",
|
|
172
172
|
"happy-dom": "^18",
|
|
173
173
|
"reka-ui": "^2.9.8",
|
|
174
|
-
"unplugin-atscript": "^0.1.
|
|
174
|
+
"unplugin-atscript": "^0.1.76",
|
|
175
175
|
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.14",
|
|
176
176
|
"vue": "^3",
|
|
177
177
|
"vue-tsc": "~3.2.9",
|
|
178
178
|
"vunor": "^0.2.1",
|
|
179
|
-
"@atscript/ui-fns": "^0.1.
|
|
179
|
+
"@atscript/ui-fns": "^0.1.100"
|
|
180
180
|
},
|
|
181
181
|
"peerDependencies": {
|
|
182
|
-
"@atscript/db-client": "^0.1.
|
|
182
|
+
"@atscript/db-client": "^0.1.106",
|
|
183
183
|
"reka-ui": "^2.9.8",
|
|
184
184
|
"vue": "^3",
|
|
185
|
-
"@atscript/ui-fns": "^0.1.
|
|
185
|
+
"@atscript/ui-fns": "^0.1.100"
|
|
186
186
|
},
|
|
187
187
|
"scripts": {
|
|
188
188
|
"build": "node ../../scripts/gen-exports.mjs && vp pack",
|