@atscript/vue-wf 0.1.96 → 0.1.97
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-Bh8OD4Wn.mjs";
|
|
2
2
|
export { _default as default };
|
|
@@ -283,26 +283,26 @@ type __VLS_Slots = {} & {
|
|
|
283
283
|
'form.loading'?: (props: typeof __VLS_64) => any;
|
|
284
284
|
};
|
|
285
285
|
declare const __VLS_base: vue.DefineComponent<AsWfFormProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
286
|
-
|
|
286
|
+
dismiss: () => any;
|
|
287
|
+
action: (action: WfActionRequest) => any;
|
|
287
288
|
error: (error: {
|
|
288
289
|
message: string;
|
|
289
290
|
status?: number;
|
|
290
291
|
}) => any;
|
|
292
|
+
finished: (response: unknown) => any;
|
|
291
293
|
submit: (data: unknown) => any;
|
|
292
294
|
loading: (isLoading: boolean) => any;
|
|
293
|
-
dismiss: () => any;
|
|
294
|
-
action: (action: WfActionRequest) => any;
|
|
295
295
|
form: (def: FormDef, context?: Record<string, unknown> | undefined) => any;
|
|
296
296
|
}, string, vue.PublicProps, Readonly<AsWfFormProps> & Readonly<{
|
|
297
|
-
|
|
297
|
+
onDismiss?: (() => any) | undefined;
|
|
298
|
+
onAction?: ((action: WfActionRequest) => any) | undefined;
|
|
298
299
|
onError?: ((error: {
|
|
299
300
|
message: string;
|
|
300
301
|
status?: number;
|
|
301
302
|
}) => any) | undefined;
|
|
303
|
+
onFinished?: ((response: unknown) => any) | undefined;
|
|
302
304
|
onSubmit?: ((data: unknown) => any) | undefined;
|
|
303
305
|
onLoading?: ((isLoading: boolean) => any) | undefined;
|
|
304
|
-
onDismiss?: (() => any) | undefined;
|
|
305
|
-
onAction?: ((action: WfActionRequest) => any) | undefined;
|
|
306
306
|
onForm?: ((def: FormDef, context?: Record<string, unknown> | undefined) => any) | undefined;
|
|
307
307
|
}>, {
|
|
308
308
|
tokenTransport: "body" | "cookie" | "query";
|
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-Bh8OD4Wn.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.97",
|
|
4
4
|
"description": "Workflow form integration for Vue 3 — HTTP round-trip loop driven by atscript type metadata",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"atscript",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@atscript/ui": "^0.1.
|
|
53
|
+
"@atscript/ui": "^0.1.97"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@atscript/core": "^0.1.74",
|
|
@@ -62,13 +62,13 @@
|
|
|
62
62
|
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.14",
|
|
63
63
|
"vue": "^3",
|
|
64
64
|
"vue-tsc": "~3.2.9",
|
|
65
|
-
"@atscript/
|
|
66
|
-
"@atscript/
|
|
65
|
+
"@atscript/moost-wf": "^0.1.97",
|
|
66
|
+
"@atscript/vue-form": "^0.1.97"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"@atscript/typescript": "^0.1.74",
|
|
70
70
|
"vue": "^3",
|
|
71
|
-
"@atscript/vue-form": "^0.1.
|
|
71
|
+
"@atscript/vue-form": "^0.1.97"
|
|
72
72
|
},
|
|
73
73
|
"scripts": {
|
|
74
74
|
"build": "node ../../scripts/gen-exports.mjs && vp pack",
|