@vc-shell/framework 2.5.0-pr335.be68f6d → 2.5.0-pr336.44e75bb

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.
@@ -31,6 +31,17 @@ export interface UseModificationTrackerReturn<T> {
31
31
  /**
32
32
  * Composable for tracking value changes (including deeply nested objects).
33
33
  *
34
+ * @deprecated Use `useBladeForm`, which owns validation, the dirty flag, the
35
+ * unsaved-changes guard and the close prompt together. This tracks only the
36
+ * dirty flag and has no callers left in the framework or the reference app;
37
+ * `cli/migrate`'s `use-blade-form` transform flags the `useForm` +
38
+ * `useBeforeUnload` + `useModificationTracker` combination for the same move.
39
+ *
40
+ * Its comparator is deliberately left as it is. It differs from
41
+ * `useBladeForm`'s: an empty array counts as empty there, and does not here.
42
+ * Aligning them would change the dirty flag for anyone still on this
43
+ * composable, which is not worth doing to code that is on its way out.
44
+ *
34
45
  * @template T Type of the tracked value.
35
46
  * @param initialValueProp Initial value or Ref to it.
36
47
  * @returns {UseModificationTrackerReturn<T>} Object with `currentValue`, `isModified` and `resetModificationState`.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useModificationTracker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,GAAG,EAAY,YAAY,EAAgB,MAAM,KAAK,CAAC;AAoB5E;;;GAGG;AACH,MAAM,WAAW,4BAA4B,CAAC,CAAC;IAC7C;;;OAGG;IACH,YAAY,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IACrB;;;OAGG;IACH,aAAa,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IACtB;;;OAGG;IACH,UAAU,EAAE,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,sBAAsB,EAAE,CAAC,gBAAgB,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;CACjE;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,gBAAgB,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,4BAA4B,CAAC,CAAC,CAAC,CA2DvG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useModificationTracker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,GAAG,EAAY,YAAY,EAAgB,MAAM,KAAK,CAAC;AAoB5E;;;GAGG;AACH,MAAM,WAAW,4BAA4B,CAAC,CAAC;IAC7C;;;OAGG;IACH,YAAY,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IACrB;;;OAGG;IACH,aAAa,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IACtB;;;OAGG;IACH,UAAU,EAAE,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,sBAAsB,EAAE,CAAC,gBAAgB,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;CACjE;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,gBAAgB,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,4BAA4B,CAAC,CAAC,CAAC,CA2DvG"}
package/dist/framework.js CHANGED
@@ -2121,12 +2121,12 @@ function xo() {
2121
2121
  hasNotification: (t) => e.hasNotification(t)
2122
2122
  });
2123
2123
  }
2124
- const $o = "2.5.0-pr335.be68f6d";
2124
+ const $o = "2.5.0-pr336.44e75bb";
2125
2125
  function Ko() {
2126
2126
  return {
2127
2127
  version: $o,
2128
- buildDate: "2026-08-31T14:20:21.689Z",
2129
- gitHash: "be68f6d51"
2128
+ buildDate: "2026-08-31T15:24:00.244Z",
2129
+ gitHash: "44e75bb40"
2130
2130
  };
2131
2131
  }
2132
2132
  function zo(e = Ko()) {