@vc-shell/framework 2.5.0-pr338.cf3c39c → 2.5.0-pr338.ea22f20
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,17 +31,6 @@ 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
|
-
*
|
|
45
34
|
* @template T Type of the tracked value.
|
|
46
35
|
* @param initialValueProp Initial value or Ref to it.
|
|
47
36
|
* @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
|
|
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"}
|
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-pr338.
|
|
2124
|
+
const $o = "2.5.0-pr338.ea22f20";
|
|
2125
2125
|
function Ko() {
|
|
2126
2126
|
return {
|
|
2127
2127
|
version: $o,
|
|
2128
|
-
buildDate: "2026-08-
|
|
2129
|
-
gitHash: "
|
|
2128
|
+
buildDate: "2026-08-31T15:38:06.807Z",
|
|
2129
|
+
gitHash: "ea22f208d"
|
|
2130
2130
|
};
|
|
2131
2131
|
}
|
|
2132
2132
|
function zo(e = Ko()) {
|