@atscript/vue-wf 0.1.66 → 0.1.68

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 { t as _default } from "./as-wf-form.vue-FiaBQQEu.mjs";
1
+ import { t as _default } from "./as-wf-form.vue-CBujwX55.mjs";
2
2
  export { _default as default };
@@ -196,26 +196,26 @@ type __VLS_Slots = {} & {
196
196
  'form.footer'?: (props: typeof __VLS_58) => any;
197
197
  };
198
198
  declare const __VLS_base: vue.DefineComponent<AsWfFormProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
199
- finished: (response: unknown) => any;
199
+ dismiss: () => any;
200
+ action: (action: WfAction) => any;
200
201
  error: (error: {
201
202
  message: string;
202
203
  status?: number;
203
204
  }) => any;
205
+ finished: (response: unknown) => any;
204
206
  submit: (data: unknown) => any;
205
207
  loading: (isLoading: boolean) => any;
206
- dismiss: () => any;
207
- action: (action: WfAction) => any;
208
208
  form: (def: FormDef, context?: Record<string, unknown> | undefined) => any;
209
209
  }, string, vue.PublicProps, Readonly<AsWfFormProps> & Readonly<{
210
- onFinished?: ((response: unknown) => any) | undefined;
210
+ onDismiss?: (() => any) | undefined;
211
+ onAction?: ((action: WfAction) => any) | undefined;
211
212
  onError?: ((error: {
212
213
  message: string;
213
214
  status?: number;
214
215
  }) => any) | undefined;
216
+ onFinished?: ((response: unknown) => any) | undefined;
215
217
  onSubmit?: ((data: unknown) => any) | undefined;
216
218
  onLoading?: ((isLoading: boolean) => any) | undefined;
217
- onDismiss?: (() => any) | undefined;
218
- onAction?: ((action: WfAction) => any) | undefined;
219
219
  onForm?: ((def: FormDef, context?: Record<string, unknown> | undefined) => any) | undefined;
220
220
  }>, {
221
221
  tokenTransport: "body" | "cookie" | "query";
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { a as WfMessage, i as WfFinishedEnd, n as WfButton, r as WfFinished, t as WfAction } from "./index-KRfH1NOi.mjs";
2
- import { i as useWfForm, n as UseWfFormOptions, r as UseWfFormReturn, t as _default$1 } from "./as-wf-form.vue-FiaBQQEu.mjs";
2
+ import { i as useWfForm, n as UseWfFormOptions, r as UseWfFormReturn, t as _default$1 } from "./as-wf-form.vue-CBujwX55.mjs";
3
3
  import { t as _default } from "./as-wf-finish.vue-BrMzuLaH.mjs";
4
4
  export { _default as AsWfFinish, _default$1 as AsWfForm, type UseWfFormOptions, type UseWfFormReturn, type WfAction, type WfButton, type WfFinished, type WfFinishedEnd, type WfMessage, useWfForm };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/vue-wf",
3
- "version": "0.1.66",
3
+ "version": "0.1.68",
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.66"
53
+ "@atscript/ui": "^0.1.68"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@atscript/core": "^0.1.56",
@@ -62,13 +62,13 @@
62
62
  "vitest": "npm:@voidzero-dev/vite-plus-test@latest",
63
63
  "vue": "^3",
64
64
  "vue-tsc": "^3.2.6",
65
- "@atscript/moost-wf": "^0.1.66",
66
- "@atscript/vue-form": "^0.1.66"
65
+ "@atscript/moost-wf": "^0.1.68",
66
+ "@atscript/vue-form": "^0.1.68"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@atscript/typescript": "^0.1.56",
70
70
  "vue": "^3",
71
- "@atscript/vue-form": "^0.1.66"
71
+ "@atscript/vue-form": "^0.1.68"
72
72
  },
73
73
  "scripts": {
74
74
  "build": "node ../../scripts/gen-exports.mjs && vp pack",