@atscript/vue-wf 0.1.168 → 0.1.170

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,9 +1,8 @@
1
1
  import { t as as_wf_finish_default } from "./as-wf-finish-DSlzLuDT.mjs";
2
2
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, normalizeProps, onMounted, onUnmounted, openBlock, reactive, ref, renderSlot, shallowRef, toDisplayString, toRaw, unref, watch, withCtx } from "vue";
3
- import { createFormData, createFormDef, getDeclaredFormActions } from "@atscript/ui";
3
+ import { createFormData, createFormDef, deserializeServedType, getDeclaredFormActions } from "@atscript/ui";
4
4
  import { AS_UI_MESSAGES } from "@atscript/ui/messages";
5
5
  import { useAsTexts } from "@atscript/vue-form/locale";
6
- import { deserializeAnnotatedType } from "@atscript/typescript/utils";
7
6
  import { AsForm } from "@atscript/vue-form";
8
7
  //#region src/use-wf-form.ts
9
8
  /**
@@ -115,7 +114,7 @@ function useWfForm(options) {
115
114
  if (payloadJson !== lastPayloadJson) {
116
115
  lastPayloadJson = payloadJson;
117
116
  formKey.value++;
118
- const type = deserializeAnnotatedType(ir.payload);
117
+ const type = deserializeServedType(ir.payload);
119
118
  formDef.value = createFormDef(type);
120
119
  formData.value = reactive(createFormData(type));
121
120
  }
@@ -1,2 +1,2 @@
1
- import { t as as_wf_form_default } from "./as-wf-form-Cb-iyrR8.mjs";
1
+ import { t as as_wf_form_default } from "./as-wf-form-DEkBW0o_.mjs";
2
2
  export { as_wf_form_default as default };
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { n as useWfForm, t as as_wf_form_default } from "./as-wf-form-Cb-iyrR8.mjs";
1
+ import { n as useWfForm, t as as_wf_form_default } from "./as-wf-form-DEkBW0o_.mjs";
2
2
  import { t as as_wf_finish_default } from "./as-wf-finish-DSlzLuDT.mjs";
3
3
  export { as_wf_finish_default as AsWfFinish, as_wf_form_default as AsWfForm, useWfForm };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/vue-wf",
3
- "version": "0.1.168",
3
+ "version": "0.1.170",
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.168"
54
+ "@atscript/ui": "^0.1.170"
55
55
  },
56
56
  "devDependencies": {
57
- "@atscript/core": "^0.2.9",
58
- "@atscript/typescript": "^0.2.9",
57
+ "@atscript/core": "^0.2.11",
58
+ "@atscript/typescript": "^0.2.11",
59
59
  "@vitejs/plugin-vue": "^6",
60
60
  "@vue/test-utils": "^2",
61
61
  "happy-dom": "^18",
62
- "unplugin-atscript": "^0.2.9",
62
+ "unplugin-atscript": "^0.2.11",
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.168",
67
- "@atscript/vue-form": "^0.1.168"
66
+ "@atscript/vue-form": "^0.1.170",
67
+ "@atscript/moost-wf": "^0.1.170"
68
68
  },
69
69
  "peerDependencies": {
70
- "@atscript/typescript": "^0.2.9",
70
+ "@atscript/typescript": "^0.2.11",
71
71
  "vue": "^3",
72
- "@atscript/vue-form": "^0.1.168"
72
+ "@atscript/vue-form": "^0.1.170"
73
73
  },
74
74
  "scripts": {
75
75
  "build": "node ../../scripts/gen-exports.mjs && vp pack",