@atscript/vue-wf 0.1.105 → 0.1.107

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-But1dqz0.mjs";
1
+ import { t as _default } from "./as-wf-form.vue-ZXwNejxv.mjs";
2
2
  export { _default as default };
@@ -327,26 +327,26 @@ declare const __VLS_base: vue.DefineComponent<AsWfFormProps, {
327
327
  action: typeof onAction;
328
328
  supportsAction: typeof supportsAction;
329
329
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
330
- dismiss: () => any;
331
- action: (action: WfActionRequest) => any;
330
+ finished: (response: unknown) => any;
332
331
  error: (error: {
333
332
  message: string;
334
333
  status?: number;
335
334
  }) => any;
336
- finished: (response: unknown) => any;
337
335
  submit: (data: unknown) => any;
338
336
  loading: (isLoading: boolean) => any;
337
+ dismiss: () => any;
338
+ action: (action: WfActionRequest) => any;
339
339
  form: (def: FormDef, context?: Record<string, unknown> | undefined) => any;
340
340
  }, string, vue.PublicProps, Readonly<AsWfFormProps> & Readonly<{
341
- onDismiss?: (() => any) | undefined;
342
- onAction?: ((action: WfActionRequest) => any) | undefined;
341
+ onFinished?: ((response: unknown) => any) | undefined;
343
342
  onError?: ((error: {
344
343
  message: string;
345
344
  status?: number;
346
345
  }) => any) | undefined;
347
- onFinished?: ((response: unknown) => any) | undefined;
348
346
  onSubmit?: ((data: unknown) => any) | undefined;
349
347
  onLoading?: ((isLoading: boolean) => any) | undefined;
348
+ onDismiss?: (() => any) | undefined;
349
+ onAction?: ((action: WfActionRequest) => any) | undefined;
350
350
  onForm?: ((def: FormDef, context?: Record<string, unknown> | undefined) => any) | undefined;
351
351
  }>, {
352
352
  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-But1dqz0.mjs";
2
+ import { i as useWfForm, n as UseWfFormOptions, r as UseWfFormReturn, t as _default$1 } from "./as-wf-form.vue-ZXwNejxv.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.105",
3
+ "version": "0.1.107",
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.105"
54
+ "@atscript/ui": "^0.1.107"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@atscript/core": "^0.1.78",
@@ -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/moost-wf": "^0.1.105",
67
- "@atscript/vue-form": "^0.1.105"
66
+ "@atscript/moost-wf": "^0.1.107",
67
+ "@atscript/vue-form": "^0.1.107"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "@atscript/typescript": "^0.1.78",
71
71
  "vue": "^3",
72
- "@atscript/vue-form": "^0.1.105"
72
+ "@atscript/vue-form": "^0.1.107"
73
73
  },
74
74
  "scripts": {
75
75
  "build": "node ../../scripts/gen-exports.mjs && vp pack",