@atscript/vue-wf 0.1.102 → 0.1.104

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-COkfnHRG.mjs";
1
+ import { t as _default } from "./as-wf-form.vue-But1dqz0.mjs";
2
2
  export { _default as default };
@@ -1,6 +1,7 @@
1
1
  import { i as WfMessage, n as WfButton, r as WfFinished, t as WfActionRequest } from "./index-C5MmoWFB.mjs";
2
2
  import * as vue from "vue";
3
3
  import { Component, Ref, ShallowRef } from "vue";
4
+ import * as _atscript_ui0 from "@atscript/ui";
4
5
  import { ClientFactory, FormDef } from "@atscript/ui";
5
6
  import { TAsTypeComponents, TFormState } from "@atscript/vue-form";
6
7
 
@@ -152,6 +153,11 @@ declare var __VLS_1: {
152
153
  dismissError: (path: string) => void;
153
154
  dismissFormError: () => void;
154
155
  formContext: Record<string, unknown> | undefined;
156
+ isDirty: boolean;
157
+ changes: readonly _atscript_ui0.FormFieldChange[];
158
+ getPatch: (opts?: _atscript_ui0.FormDiffOptions) => Record<string, unknown>;
159
+ getChanges: () => _atscript_ui0.FormFieldChange[];
160
+ isDirtyPath: (path: string) => boolean;
155
161
  }, __VLS_49: {
156
162
  title: string | undefined;
157
163
  description: string | undefined;
@@ -168,6 +174,11 @@ declare var __VLS_1: {
168
174
  dismissError: (path: string) => void;
169
175
  dismissFormError: () => void;
170
176
  formContext: Record<string, unknown> | undefined;
177
+ isDirty: boolean;
178
+ changes: readonly _atscript_ui0.FormFieldChange[];
179
+ getPatch: (opts?: _atscript_ui0.FormDiffOptions) => Record<string, unknown>;
180
+ getChanges: () => _atscript_ui0.FormFieldChange[];
181
+ isDirtyPath: (path: string) => boolean;
171
182
  }, __VLS_52: {
172
183
  title: string | undefined;
173
184
  description: string | undefined;
@@ -184,6 +195,11 @@ declare var __VLS_1: {
184
195
  dismissError: (path: string) => void;
185
196
  dismissFormError: () => void;
186
197
  formContext: Record<string, unknown> | undefined;
198
+ isDirty: boolean;
199
+ changes: readonly _atscript_ui0.FormFieldChange[];
200
+ getPatch: (opts?: _atscript_ui0.FormDiffOptions) => Record<string, unknown>;
201
+ getChanges: () => _atscript_ui0.FormFieldChange[];
202
+ isDirtyPath: (path: string) => boolean;
187
203
  }, __VLS_55: {
188
204
  message: string;
189
205
  dismiss: () => void;
@@ -202,6 +218,11 @@ declare var __VLS_1: {
202
218
  dismissError: (path: string) => void;
203
219
  dismissFormError: () => void;
204
220
  formContext: Record<string, unknown> | undefined;
221
+ isDirty: boolean;
222
+ changes: readonly _atscript_ui0.FormFieldChange[];
223
+ getPatch: (opts?: _atscript_ui0.FormDiffOptions) => Record<string, unknown>;
224
+ getChanges: () => _atscript_ui0.FormFieldChange[];
225
+ isDirtyPath: (path: string) => boolean;
205
226
  }, __VLS_58: {
206
227
  text: string;
207
228
  title: string | undefined;
@@ -219,6 +240,11 @@ declare var __VLS_1: {
219
240
  dismissError: (path: string) => void;
220
241
  dismissFormError: () => void;
221
242
  formContext: Record<string, unknown> | undefined;
243
+ isDirty: boolean;
244
+ changes: readonly _atscript_ui0.FormFieldChange[];
245
+ getPatch: (opts?: _atscript_ui0.FormDiffOptions) => Record<string, unknown>;
246
+ getChanges: () => _atscript_ui0.FormFieldChange[];
247
+ isDirtyPath: (path: string) => boolean;
222
248
  }, __VLS_61: {
223
249
  title: string | undefined;
224
250
  description: string | undefined;
@@ -235,6 +261,11 @@ declare var __VLS_1: {
235
261
  dismissError: (path: string) => void;
236
262
  dismissFormError: () => void;
237
263
  formContext: Record<string, unknown> | undefined;
264
+ isDirty: boolean;
265
+ changes: readonly _atscript_ui0.FormFieldChange[];
266
+ getPatch: (opts?: _atscript_ui0.FormDiffOptions) => Record<string, unknown>;
267
+ getChanges: () => _atscript_ui0.FormFieldChange[];
268
+ isDirtyPath: (path: string) => boolean;
238
269
  }, __VLS_64: {
239
270
  title: string | undefined;
240
271
  description: string | undefined;
@@ -251,6 +282,11 @@ declare var __VLS_1: {
251
282
  dismissError: (path: string) => void;
252
283
  dismissFormError: () => void;
253
284
  formContext: Record<string, unknown> | undefined;
285
+ isDirty: boolean;
286
+ changes: readonly _atscript_ui0.FormFieldChange[];
287
+ getPatch: (opts?: _atscript_ui0.FormDiffOptions) => Record<string, unknown>;
288
+ getChanges: () => _atscript_ui0.FormFieldChange[];
289
+ isDirtyPath: (path: string) => boolean;
254
290
  };
255
291
  type __VLS_Slots = {} & {
256
292
  default?: (props: typeof __VLS_1) => any;
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-COkfnHRG.mjs";
2
+ import { i as useWfForm, n as UseWfFormOptions, r as UseWfFormReturn, t as _default$1 } from "./as-wf-form.vue-But1dqz0.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.102",
3
+ "version": "0.1.104",
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.102"
54
+ "@atscript/ui": "^0.1.104"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@atscript/core": "^0.1.77",
@@ -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/vue-form": "^0.1.102",
67
- "@atscript/moost-wf": "^0.1.102"
66
+ "@atscript/moost-wf": "^0.1.104",
67
+ "@atscript/vue-form": "^0.1.104"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "@atscript/typescript": "^0.1.77",
71
71
  "vue": "^3",
72
- "@atscript/vue-form": "^0.1.102"
72
+ "@atscript/vue-form": "^0.1.104"
73
73
  },
74
74
  "scripts": {
75
75
  "build": "node ../../scripts/gen-exports.mjs && vp pack",