@atscript/vue-wf 0.1.187 → 0.1.189

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-23gylIsm.mjs";
1
+ import { t as _default } from "./as-wf-form.vue-DGCuoZOj.mjs";
2
2
  export { _default as default };
@@ -391,21 +391,21 @@ declare const __VLS_base: vue.DefineComponent<AsWfFormProps, {
391
391
  action: typeof onAction;
392
392
  supportsAction: typeof supportsAction;
393
393
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
394
- dismiss: () => any;
395
- action: (action: WfActionRequest) => any;
396
- error: (error: WfFormError) => any;
397
394
  finished: (response: unknown) => any;
395
+ error: (error: WfFormError) => any;
398
396
  submit: (data: unknown) => any;
399
397
  loading: (isLoading: boolean) => any;
398
+ dismiss: () => any;
399
+ action: (action: WfActionRequest) => any;
400
400
  token: (token: string | undefined) => any;
401
401
  form: (def: FormDef, context?: Record<string, unknown> | undefined) => any;
402
402
  }, string, vue.PublicProps, Readonly<AsWfFormProps> & Readonly<{
403
- onDismiss?: (() => any) | undefined;
404
- onAction?: ((action: WfActionRequest) => any) | undefined;
405
- onError?: ((error: WfFormError) => any) | undefined;
406
403
  onFinished?: ((response: unknown) => any) | undefined;
404
+ onError?: ((error: WfFormError) => any) | undefined;
407
405
  onSubmit?: ((data: unknown) => any) | undefined;
408
406
  onLoading?: ((isLoading: boolean) => any) | undefined;
407
+ onDismiss?: (() => any) | undefined;
408
+ onAction?: ((action: WfActionRequest) => any) | undefined;
409
409
  onToken?: ((token: string | undefined) => any) | undefined;
410
410
  onForm?: ((def: FormDef, context?: Record<string, unknown> | undefined) => any) | undefined;
411
411
  }>, {
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 { a as useWfForm, i as WfFormError, n as UseWfFormOptions, r as UseWfFormReturn, t as _default$1 } from "./as-wf-form.vue-23gylIsm.mjs";
2
+ import { a as useWfForm, i as WfFormError, n as UseWfFormOptions, r as UseWfFormReturn, t as _default$1 } from "./as-wf-form.vue-DGCuoZOj.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 WfFormError, 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.187",
3
+ "version": "0.1.189",
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,25 +51,25 @@
51
51
  "access": "public"
52
52
  },
53
53
  "dependencies": {
54
- "@atscript/ui": "^0.1.187"
54
+ "@atscript/ui": "^0.1.189"
55
55
  },
56
56
  "devDependencies": {
57
- "@atscript/core": "^0.2.20",
58
- "@atscript/typescript": "^0.2.20",
57
+ "@atscript/core": "^0.2.22",
58
+ "@atscript/typescript": "^0.2.22",
59
59
  "@vitejs/plugin-vue": "^6",
60
60
  "@vue/test-utils": "^2",
61
61
  "happy-dom": "^18",
62
- "unplugin-atscript": "^0.2.20",
62
+ "unplugin-atscript": "^0.2.22",
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.187",
67
- "@atscript/vue-form": "^0.1.187"
66
+ "@atscript/moost-wf": "^0.1.189",
67
+ "@atscript/vue-form": "^0.1.189"
68
68
  },
69
69
  "peerDependencies": {
70
- "@atscript/typescript": "^0.2.20",
70
+ "@atscript/typescript": "^0.2.22",
71
71
  "vue": "^3",
72
- "@atscript/vue-form": "^0.1.187"
72
+ "@atscript/vue-form": "^0.1.189"
73
73
  },
74
74
  "scripts": {
75
75
  "build": "node ../../scripts/gen-exports.mjs && vp pack",