@atscript/vue-wf 0.1.102 → 0.1.103
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-wf-form.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-wf-form.vue-
|
|
1
|
+
import { t as _default } from "./as-wf-form.vue-DRL-7bL_.mjs";
|
|
2
2
|
export { _default as default };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { i as WfMessage, n as WfButton, r as WfFinished, t as WfActionRequest } from "./index-C5MmoWFB.mjs";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
import { Component, Ref, ShallowRef } from "vue";
|
|
4
|
+
import * as _atscript_ui0 from "@atscript/ui";
|
|
4
5
|
import { ClientFactory, FormDef } from "@atscript/ui";
|
|
5
6
|
import { TAsTypeComponents, TFormState } from "@atscript/vue-form";
|
|
6
7
|
|
|
@@ -152,6 +153,10 @@ declare var __VLS_1: {
|
|
|
152
153
|
dismissError: (path: string) => void;
|
|
153
154
|
dismissFormError: () => void;
|
|
154
155
|
formContext: Record<string, unknown> | undefined;
|
|
156
|
+
isDirty: boolean;
|
|
157
|
+
changes: readonly _atscript_ui0.FormFieldChange[];
|
|
158
|
+
getPatch: (opts?: _atscript_ui0.FormDiffOptions) => Record<string, unknown>;
|
|
159
|
+
getChanges: () => _atscript_ui0.FormFieldChange[];
|
|
155
160
|
}, __VLS_49: {
|
|
156
161
|
title: string | undefined;
|
|
157
162
|
description: string | undefined;
|
|
@@ -168,6 +173,10 @@ declare var __VLS_1: {
|
|
|
168
173
|
dismissError: (path: string) => void;
|
|
169
174
|
dismissFormError: () => void;
|
|
170
175
|
formContext: Record<string, unknown> | undefined;
|
|
176
|
+
isDirty: boolean;
|
|
177
|
+
changes: readonly _atscript_ui0.FormFieldChange[];
|
|
178
|
+
getPatch: (opts?: _atscript_ui0.FormDiffOptions) => Record<string, unknown>;
|
|
179
|
+
getChanges: () => _atscript_ui0.FormFieldChange[];
|
|
171
180
|
}, __VLS_52: {
|
|
172
181
|
title: string | undefined;
|
|
173
182
|
description: string | undefined;
|
|
@@ -184,6 +193,10 @@ declare var __VLS_1: {
|
|
|
184
193
|
dismissError: (path: string) => void;
|
|
185
194
|
dismissFormError: () => void;
|
|
186
195
|
formContext: Record<string, unknown> | undefined;
|
|
196
|
+
isDirty: boolean;
|
|
197
|
+
changes: readonly _atscript_ui0.FormFieldChange[];
|
|
198
|
+
getPatch: (opts?: _atscript_ui0.FormDiffOptions) => Record<string, unknown>;
|
|
199
|
+
getChanges: () => _atscript_ui0.FormFieldChange[];
|
|
187
200
|
}, __VLS_55: {
|
|
188
201
|
message: string;
|
|
189
202
|
dismiss: () => void;
|
|
@@ -202,6 +215,10 @@ declare var __VLS_1: {
|
|
|
202
215
|
dismissError: (path: string) => void;
|
|
203
216
|
dismissFormError: () => void;
|
|
204
217
|
formContext: Record<string, unknown> | undefined;
|
|
218
|
+
isDirty: boolean;
|
|
219
|
+
changes: readonly _atscript_ui0.FormFieldChange[];
|
|
220
|
+
getPatch: (opts?: _atscript_ui0.FormDiffOptions) => Record<string, unknown>;
|
|
221
|
+
getChanges: () => _atscript_ui0.FormFieldChange[];
|
|
205
222
|
}, __VLS_58: {
|
|
206
223
|
text: string;
|
|
207
224
|
title: string | undefined;
|
|
@@ -219,6 +236,10 @@ declare var __VLS_1: {
|
|
|
219
236
|
dismissError: (path: string) => void;
|
|
220
237
|
dismissFormError: () => void;
|
|
221
238
|
formContext: Record<string, unknown> | undefined;
|
|
239
|
+
isDirty: boolean;
|
|
240
|
+
changes: readonly _atscript_ui0.FormFieldChange[];
|
|
241
|
+
getPatch: (opts?: _atscript_ui0.FormDiffOptions) => Record<string, unknown>;
|
|
242
|
+
getChanges: () => _atscript_ui0.FormFieldChange[];
|
|
222
243
|
}, __VLS_61: {
|
|
223
244
|
title: string | undefined;
|
|
224
245
|
description: string | undefined;
|
|
@@ -235,6 +256,10 @@ declare var __VLS_1: {
|
|
|
235
256
|
dismissError: (path: string) => void;
|
|
236
257
|
dismissFormError: () => void;
|
|
237
258
|
formContext: Record<string, unknown> | undefined;
|
|
259
|
+
isDirty: boolean;
|
|
260
|
+
changes: readonly _atscript_ui0.FormFieldChange[];
|
|
261
|
+
getPatch: (opts?: _atscript_ui0.FormDiffOptions) => Record<string, unknown>;
|
|
262
|
+
getChanges: () => _atscript_ui0.FormFieldChange[];
|
|
238
263
|
}, __VLS_64: {
|
|
239
264
|
title: string | undefined;
|
|
240
265
|
description: string | undefined;
|
|
@@ -251,6 +276,10 @@ declare var __VLS_1: {
|
|
|
251
276
|
dismissError: (path: string) => void;
|
|
252
277
|
dismissFormError: () => void;
|
|
253
278
|
formContext: Record<string, unknown> | undefined;
|
|
279
|
+
isDirty: boolean;
|
|
280
|
+
changes: readonly _atscript_ui0.FormFieldChange[];
|
|
281
|
+
getPatch: (opts?: _atscript_ui0.FormDiffOptions) => Record<string, unknown>;
|
|
282
|
+
getChanges: () => _atscript_ui0.FormFieldChange[];
|
|
254
283
|
};
|
|
255
284
|
type __VLS_Slots = {} & {
|
|
256
285
|
default?: (props: typeof __VLS_1) => any;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as WfNext, i as WfMessage, n as WfButton, r as WfFinished, t as WfActionRequest } from "./index-C5MmoWFB.mjs";
|
|
2
|
-
import { i as useWfForm, n as UseWfFormOptions, r as UseWfFormReturn, t as _default$1 } from "./as-wf-form.vue-
|
|
2
|
+
import { i as useWfForm, n as UseWfFormOptions, r as UseWfFormReturn, t as _default$1 } from "./as-wf-form.vue-DRL-7bL_.mjs";
|
|
3
3
|
import { t as _default } from "./as-wf-finish.vue-BhXMooP3.mjs";
|
|
4
4
|
export { _default as AsWfFinish, _default$1 as AsWfForm, type UseWfFormOptions, type UseWfFormReturn, type WfActionRequest, type WfButton, type WfFinished, type WfMessage, type WfNext, useWfForm };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/vue-wf",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.103",
|
|
4
4
|
"description": "Workflow form integration for Vue 3 — HTTP round-trip loop driven by atscript type metadata",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"atscript",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@atscript/ui": "^0.1.
|
|
54
|
+
"@atscript/ui": "^0.1.103"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@atscript/core": "^0.1.77",
|
|
@@ -63,13 +63,13 @@
|
|
|
63
63
|
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.14",
|
|
64
64
|
"vue": "^3",
|
|
65
65
|
"vue-tsc": "~3.2.9",
|
|
66
|
-
"@atscript/
|
|
67
|
-
"@atscript/
|
|
66
|
+
"@atscript/moost-wf": "^0.1.103",
|
|
67
|
+
"@atscript/vue-form": "^0.1.103"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"@atscript/typescript": "^0.1.77",
|
|
71
71
|
"vue": "^3",
|
|
72
|
-
"@atscript/vue-form": "^0.1.
|
|
72
|
+
"@atscript/vue-form": "^0.1.103"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|
|
75
75
|
"build": "node ../../scripts/gen-exports.mjs && vp pack",
|