@next-core/brick-utils 2.45.19 → 2.45.20
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.
- package/dist/index.bundle.js +4 -0
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +4 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/types/track.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.bundle.js
CHANGED
|
@@ -19505,6 +19505,9 @@
|
|
|
19505
19505
|
function trackUsedState(data) {
|
|
19506
19506
|
return collectContextUsage(data, "STATE").usedContexts;
|
|
19507
19507
|
}
|
|
19508
|
+
function trackUsedFormState(data) {
|
|
19509
|
+
return collectContextUsage(data, "FORM_STATE").usedContexts;
|
|
19510
|
+
}
|
|
19508
19511
|
function track(raw, trackText, variableName) {
|
|
19509
19512
|
if (raw.includes(trackText)) {
|
|
19510
19513
|
// const contexts = new Set<string>();
|
|
@@ -20420,6 +20423,7 @@
|
|
|
20420
20423
|
exports.trackFormState = trackFormState;
|
|
20421
20424
|
exports.trackState = trackState;
|
|
20422
20425
|
exports.trackUsedContext = trackUsedContext;
|
|
20426
|
+
exports.trackUsedFormState = trackUsedFormState;
|
|
20423
20427
|
exports.trackUsedState = trackUsedState;
|
|
20424
20428
|
exports.transform = transform;
|
|
20425
20429
|
exports.transformAndInject = transformAndInject;
|