@oxog/reactscope 1.0.0

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.
Files changed (119) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +230 -0
  3. package/dist/chunk-4TZAECHG.cjs +160 -0
  4. package/dist/chunk-4TZAECHG.cjs.map +1 -0
  5. package/dist/chunk-6L3WUS6V.cjs +160 -0
  6. package/dist/chunk-6L3WUS6V.cjs.map +1 -0
  7. package/dist/chunk-6LHJL6MV.js +1176 -0
  8. package/dist/chunk-6LHJL6MV.js.map +1 -0
  9. package/dist/chunk-ALGKN7FA.cjs +192 -0
  10. package/dist/chunk-ALGKN7FA.cjs.map +1 -0
  11. package/dist/chunk-DVRJ7PFB.cjs +185 -0
  12. package/dist/chunk-DVRJ7PFB.cjs.map +1 -0
  13. package/dist/chunk-E4MB5KJQ.js +98 -0
  14. package/dist/chunk-E4MB5KJQ.js.map +1 -0
  15. package/dist/chunk-H4W4UBLZ.cjs +149 -0
  16. package/dist/chunk-H4W4UBLZ.cjs.map +1 -0
  17. package/dist/chunk-I427KZYN.cjs +29 -0
  18. package/dist/chunk-I427KZYN.cjs.map +1 -0
  19. package/dist/chunk-IFCS6ABF.cjs +1180 -0
  20. package/dist/chunk-IFCS6ABF.cjs.map +1 -0
  21. package/dist/chunk-JESQX3XO.js +157 -0
  22. package/dist/chunk-JESQX3XO.js.map +1 -0
  23. package/dist/chunk-KCUWALXE.cjs +252 -0
  24. package/dist/chunk-KCUWALXE.cjs.map +1 -0
  25. package/dist/chunk-LZO35OCP.js +26 -0
  26. package/dist/chunk-LZO35OCP.js.map +1 -0
  27. package/dist/chunk-M65L55OT.js +146 -0
  28. package/dist/chunk-M65L55OT.js.map +1 -0
  29. package/dist/chunk-MPOQNCGP.js +157 -0
  30. package/dist/chunk-MPOQNCGP.js.map +1 -0
  31. package/dist/chunk-MTCOZBRI.js +115 -0
  32. package/dist/chunk-MTCOZBRI.js.map +1 -0
  33. package/dist/chunk-MVK2UT4Z.js +182 -0
  34. package/dist/chunk-MVK2UT4Z.js.map +1 -0
  35. package/dist/chunk-OJGWFS55.cjs +173 -0
  36. package/dist/chunk-OJGWFS55.cjs.map +1 -0
  37. package/dist/chunk-QYMRRTSN.cjs +134 -0
  38. package/dist/chunk-QYMRRTSN.cjs.map +1 -0
  39. package/dist/chunk-QZ5T7HPO.cjs +118 -0
  40. package/dist/chunk-QZ5T7HPO.cjs.map +1 -0
  41. package/dist/chunk-RYAIO3BO.js +131 -0
  42. package/dist/chunk-RYAIO3BO.js.map +1 -0
  43. package/dist/chunk-U2OPUU5R.js +170 -0
  44. package/dist/chunk-U2OPUU5R.js.map +1 -0
  45. package/dist/chunk-WQRBHD23.cjs +105 -0
  46. package/dist/chunk-WQRBHD23.cjs.map +1 -0
  47. package/dist/chunk-XNNGOQH2.js +189 -0
  48. package/dist/chunk-XNNGOQH2.js.map +1 -0
  49. package/dist/chunk-ZTO5ZZVE.js +248 -0
  50. package/dist/chunk-ZTO5ZZVE.js.map +1 -0
  51. package/dist/index.cjs +1521 -0
  52. package/dist/index.cjs.map +1 -0
  53. package/dist/index.d.cts +198 -0
  54. package/dist/index.d.ts +198 -0
  55. package/dist/index.js +1381 -0
  56. package/dist/index.js.map +1 -0
  57. package/dist/plugins/console-reporter/index.cjs +17 -0
  58. package/dist/plugins/console-reporter/index.cjs.map +1 -0
  59. package/dist/plugins/console-reporter/index.d.cts +54 -0
  60. package/dist/plugins/console-reporter/index.d.ts +54 -0
  61. package/dist/plugins/console-reporter/index.js +4 -0
  62. package/dist/plugins/console-reporter/index.js.map +1 -0
  63. package/dist/plugins/dashboard-ui/index.cjs +17 -0
  64. package/dist/plugins/dashboard-ui/index.cjs.map +1 -0
  65. package/dist/plugins/dashboard-ui/index.d.cts +68 -0
  66. package/dist/plugins/dashboard-ui/index.d.ts +68 -0
  67. package/dist/plugins/dashboard-ui/index.js +4 -0
  68. package/dist/plugins/dashboard-ui/index.js.map +1 -0
  69. package/dist/plugins/json-exporter/index.cjs +16 -0
  70. package/dist/plugins/json-exporter/index.cjs.map +1 -0
  71. package/dist/plugins/json-exporter/index.d.cts +34 -0
  72. package/dist/plugins/json-exporter/index.d.ts +34 -0
  73. package/dist/plugins/json-exporter/index.js +3 -0
  74. package/dist/plugins/json-exporter/index.js.map +1 -0
  75. package/dist/plugins/lifecycle-tracker/index.cjs +16 -0
  76. package/dist/plugins/lifecycle-tracker/index.cjs.map +1 -0
  77. package/dist/plugins/lifecycle-tracker/index.d.cts +42 -0
  78. package/dist/plugins/lifecycle-tracker/index.d.ts +42 -0
  79. package/dist/plugins/lifecycle-tracker/index.js +3 -0
  80. package/dist/plugins/lifecycle-tracker/index.js.map +1 -0
  81. package/dist/plugins/memory-tracker/index.cjs +16 -0
  82. package/dist/plugins/memory-tracker/index.cjs.map +1 -0
  83. package/dist/plugins/memory-tracker/index.d.cts +56 -0
  84. package/dist/plugins/memory-tracker/index.d.ts +56 -0
  85. package/dist/plugins/memory-tracker/index.js +3 -0
  86. package/dist/plugins/memory-tracker/index.js.map +1 -0
  87. package/dist/plugins/network-correlator/index.cjs +17 -0
  88. package/dist/plugins/network-correlator/index.cjs.map +1 -0
  89. package/dist/plugins/network-correlator/index.d.cts +48 -0
  90. package/dist/plugins/network-correlator/index.d.ts +48 -0
  91. package/dist/plugins/network-correlator/index.js +4 -0
  92. package/dist/plugins/network-correlator/index.js.map +1 -0
  93. package/dist/plugins/props-differ/index.cjs +16 -0
  94. package/dist/plugins/props-differ/index.cjs.map +1 -0
  95. package/dist/plugins/props-differ/index.d.cts +41 -0
  96. package/dist/plugins/props-differ/index.d.ts +41 -0
  97. package/dist/plugins/props-differ/index.js +3 -0
  98. package/dist/plugins/props-differ/index.js.map +1 -0
  99. package/dist/plugins/render-tracker/index.cjs +16 -0
  100. package/dist/plugins/render-tracker/index.cjs.map +1 -0
  101. package/dist/plugins/render-tracker/index.d.cts +36 -0
  102. package/dist/plugins/render-tracker/index.d.ts +36 -0
  103. package/dist/plugins/render-tracker/index.js +3 -0
  104. package/dist/plugins/render-tracker/index.js.map +1 -0
  105. package/dist/plugins/timeline-recorder/index.cjs +17 -0
  106. package/dist/plugins/timeline-recorder/index.cjs.map +1 -0
  107. package/dist/plugins/timeline-recorder/index.d.cts +52 -0
  108. package/dist/plugins/timeline-recorder/index.d.ts +52 -0
  109. package/dist/plugins/timeline-recorder/index.js +4 -0
  110. package/dist/plugins/timeline-recorder/index.js.map +1 -0
  111. package/dist/plugins/wasted-render-detector/index.cjs +16 -0
  112. package/dist/plugins/wasted-render-detector/index.cjs.map +1 -0
  113. package/dist/plugins/wasted-render-detector/index.d.cts +44 -0
  114. package/dist/plugins/wasted-render-detector/index.d.ts +44 -0
  115. package/dist/plugins/wasted-render-detector/index.js +3 -0
  116. package/dist/plugins/wasted-render-detector/index.js.map +1 -0
  117. package/dist/types-DKPG_emi.d.cts +396 -0
  118. package/dist/types-DKPG_emi.d.ts +396 -0
  119. package/package.json +173 -0
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var chunk6L3WUS6V_cjs = require('../../chunk-6L3WUS6V.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "LifecycleTrackerPlugin", {
8
+ enumerable: true,
9
+ get: function () { return chunk6L3WUS6V_cjs.LifecycleTrackerPlugin; }
10
+ });
11
+ Object.defineProperty(exports, "createLifecycleTrackerPlugin", {
12
+ enumerable: true,
13
+ get: function () { return chunk6L3WUS6V_cjs.createLifecycleTrackerPlugin; }
14
+ });
15
+ //# sourceMappingURL=index.cjs.map
16
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,42 @@
1
+ import { c as Plugin, w as LifecycleEvent, k as MountEvent, l as UnmountEvent, a as Kernel } from '../../types-DKPG_emi.cjs';
2
+
3
+ interface LifecycleTrackerAPI {
4
+ [key: string]: unknown;
5
+ getMountTime(componentId: string): number | null;
6
+ getUnmountTime(componentId: string): number | null;
7
+ getLifetime(componentId: string): number | null;
8
+ getMountCount(componentId: string): number;
9
+ isCurrentlyMounted(componentId: string): boolean;
10
+ getLifecycleHistory(componentId: string): LifecycleEvent[];
11
+ getMountedComponents(): string[];
12
+ getAverageLifetime(componentId: string): number;
13
+ getAllMountCounts(): Map<string, number>;
14
+ }
15
+ /**
16
+ * Lifecycle Tracker Plugin
17
+ * Tracks mount/unmount events and component lifecycle.
18
+ */
19
+ declare class LifecycleTrackerPlugin implements Plugin {
20
+ readonly name = "lifecycle-tracker";
21
+ readonly version = "1.0.0";
22
+ private kernel;
23
+ private lifecycleHistory;
24
+ private maxHistorySize;
25
+ readonly api: LifecycleTrackerAPI;
26
+ readonly hooks: {
27
+ onMount: (event: MountEvent) => void;
28
+ onUnmount: (event: UnmountEvent) => void;
29
+ };
30
+ install(kernel: Kernel): void;
31
+ uninstall(): void;
32
+ private trackMount;
33
+ private trackUnmount;
34
+ private recordLifecycleEvent;
35
+ private recordLifetime;
36
+ }
37
+ /**
38
+ * Create a new lifecycle tracker plugin instance.
39
+ */
40
+ declare function createLifecycleTrackerPlugin(): LifecycleTrackerPlugin;
41
+
42
+ export { type LifecycleTrackerAPI, LifecycleTrackerPlugin, createLifecycleTrackerPlugin };
@@ -0,0 +1,42 @@
1
+ import { c as Plugin, w as LifecycleEvent, k as MountEvent, l as UnmountEvent, a as Kernel } from '../../types-DKPG_emi.js';
2
+
3
+ interface LifecycleTrackerAPI {
4
+ [key: string]: unknown;
5
+ getMountTime(componentId: string): number | null;
6
+ getUnmountTime(componentId: string): number | null;
7
+ getLifetime(componentId: string): number | null;
8
+ getMountCount(componentId: string): number;
9
+ isCurrentlyMounted(componentId: string): boolean;
10
+ getLifecycleHistory(componentId: string): LifecycleEvent[];
11
+ getMountedComponents(): string[];
12
+ getAverageLifetime(componentId: string): number;
13
+ getAllMountCounts(): Map<string, number>;
14
+ }
15
+ /**
16
+ * Lifecycle Tracker Plugin
17
+ * Tracks mount/unmount events and component lifecycle.
18
+ */
19
+ declare class LifecycleTrackerPlugin implements Plugin {
20
+ readonly name = "lifecycle-tracker";
21
+ readonly version = "1.0.0";
22
+ private kernel;
23
+ private lifecycleHistory;
24
+ private maxHistorySize;
25
+ readonly api: LifecycleTrackerAPI;
26
+ readonly hooks: {
27
+ onMount: (event: MountEvent) => void;
28
+ onUnmount: (event: UnmountEvent) => void;
29
+ };
30
+ install(kernel: Kernel): void;
31
+ uninstall(): void;
32
+ private trackMount;
33
+ private trackUnmount;
34
+ private recordLifecycleEvent;
35
+ private recordLifetime;
36
+ }
37
+ /**
38
+ * Create a new lifecycle tracker plugin instance.
39
+ */
40
+ declare function createLifecycleTrackerPlugin(): LifecycleTrackerPlugin;
41
+
42
+ export { type LifecycleTrackerAPI, LifecycleTrackerPlugin, createLifecycleTrackerPlugin };
@@ -0,0 +1,3 @@
1
+ export { LifecycleTrackerPlugin, createLifecycleTrackerPlugin } from '../../chunk-JESQX3XO.js';
2
+ //# sourceMappingURL=index.js.map
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var chunkDVRJ7PFB_cjs = require('../../chunk-DVRJ7PFB.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "MemoryTrackerPlugin", {
8
+ enumerable: true,
9
+ get: function () { return chunkDVRJ7PFB_cjs.MemoryTrackerPlugin; }
10
+ });
11
+ Object.defineProperty(exports, "createMemoryTrackerPlugin", {
12
+ enumerable: true,
13
+ get: function () { return chunkDVRJ7PFB_cjs.createMemoryTrackerPlugin; }
14
+ });
15
+ //# sourceMappingURL=index.cjs.map
16
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,56 @@
1
+ import { c as Plugin, x as MemorySnapshot, z as PotentialLeak, y as MemoryStats, a as Kernel } from '../../types-DKPG_emi.cjs';
2
+
3
+ interface MemoryTrackerAPI {
4
+ [key: string]: unknown;
5
+ getCurrentMemory(): MemorySnapshot | null;
6
+ getMemoryHistory(): MemorySnapshot[];
7
+ getMemoryTrend(): 'increasing' | 'stable' | 'decreasing';
8
+ detectPotentialLeaks(): PotentialLeak[];
9
+ startMonitoring(intervalMs?: number): void;
10
+ stopMonitoring(): void;
11
+ isMonitoring(): boolean;
12
+ getMemoryStats(): MemoryStats;
13
+ clearHistory(): void;
14
+ }
15
+ interface PerformanceMemory {
16
+ usedJSHeapSize: number;
17
+ totalJSHeapSize: number;
18
+ jsHeapSizeLimit: number;
19
+ }
20
+ declare global {
21
+ interface Performance {
22
+ memory?: PerformanceMemory;
23
+ }
24
+ }
25
+ /**
26
+ * Memory Tracker Plugin
27
+ * Monitors memory usage patterns.
28
+ */
29
+ declare class MemoryTrackerPlugin implements Plugin {
30
+ readonly name = "memory-tracker";
31
+ readonly version = "1.0.0";
32
+ private kernel;
33
+ private monitoring;
34
+ private intervalId;
35
+ private history;
36
+ private maxHistorySize;
37
+ private defaultInterval;
38
+ readonly api: MemoryTrackerAPI;
39
+ install(kernel: Kernel): void;
40
+ uninstall(): void;
41
+ private isMemoryAPIAvailable;
42
+ private getMemorySnapshot;
43
+ private startMonitoring;
44
+ private stopMonitoring;
45
+ private recordSnapshot;
46
+ private calculateTrend;
47
+ private detectLeaks;
48
+ private getStats;
49
+ private average;
50
+ }
51
+ /**
52
+ * Create a new memory tracker plugin instance.
53
+ */
54
+ declare function createMemoryTrackerPlugin(): MemoryTrackerPlugin;
55
+
56
+ export { type MemoryTrackerAPI, MemoryTrackerPlugin, createMemoryTrackerPlugin };
@@ -0,0 +1,56 @@
1
+ import { c as Plugin, x as MemorySnapshot, z as PotentialLeak, y as MemoryStats, a as Kernel } from '../../types-DKPG_emi.js';
2
+
3
+ interface MemoryTrackerAPI {
4
+ [key: string]: unknown;
5
+ getCurrentMemory(): MemorySnapshot | null;
6
+ getMemoryHistory(): MemorySnapshot[];
7
+ getMemoryTrend(): 'increasing' | 'stable' | 'decreasing';
8
+ detectPotentialLeaks(): PotentialLeak[];
9
+ startMonitoring(intervalMs?: number): void;
10
+ stopMonitoring(): void;
11
+ isMonitoring(): boolean;
12
+ getMemoryStats(): MemoryStats;
13
+ clearHistory(): void;
14
+ }
15
+ interface PerformanceMemory {
16
+ usedJSHeapSize: number;
17
+ totalJSHeapSize: number;
18
+ jsHeapSizeLimit: number;
19
+ }
20
+ declare global {
21
+ interface Performance {
22
+ memory?: PerformanceMemory;
23
+ }
24
+ }
25
+ /**
26
+ * Memory Tracker Plugin
27
+ * Monitors memory usage patterns.
28
+ */
29
+ declare class MemoryTrackerPlugin implements Plugin {
30
+ readonly name = "memory-tracker";
31
+ readonly version = "1.0.0";
32
+ private kernel;
33
+ private monitoring;
34
+ private intervalId;
35
+ private history;
36
+ private maxHistorySize;
37
+ private defaultInterval;
38
+ readonly api: MemoryTrackerAPI;
39
+ install(kernel: Kernel): void;
40
+ uninstall(): void;
41
+ private isMemoryAPIAvailable;
42
+ private getMemorySnapshot;
43
+ private startMonitoring;
44
+ private stopMonitoring;
45
+ private recordSnapshot;
46
+ private calculateTrend;
47
+ private detectLeaks;
48
+ private getStats;
49
+ private average;
50
+ }
51
+ /**
52
+ * Create a new memory tracker plugin instance.
53
+ */
54
+ declare function createMemoryTrackerPlugin(): MemoryTrackerPlugin;
55
+
56
+ export { type MemoryTrackerAPI, MemoryTrackerPlugin, createMemoryTrackerPlugin };
@@ -0,0 +1,3 @@
1
+ export { MemoryTrackerPlugin, createMemoryTrackerPlugin } from '../../chunk-MVK2UT4Z.js';
2
+ //# sourceMappingURL=index.js.map
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var chunkOJGWFS55_cjs = require('../../chunk-OJGWFS55.cjs');
4
+ require('../../chunk-I427KZYN.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "NetworkCorrelatorPlugin", {
9
+ enumerable: true,
10
+ get: function () { return chunkOJGWFS55_cjs.NetworkCorrelatorPlugin; }
11
+ });
12
+ Object.defineProperty(exports, "createNetworkCorrelatorPlugin", {
13
+ enumerable: true,
14
+ get: function () { return chunkOJGWFS55_cjs.createNetworkCorrelatorPlugin; }
15
+ });
16
+ //# sourceMappingURL=index.cjs.map
17
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,48 @@
1
+ import { c as Plugin, N as NetworkRequest, j as RenderEvent, A as Correlation, B as RequestStats, a as Kernel } from '../../types-DKPG_emi.cjs';
2
+
3
+ interface NetworkCorrelatorAPI {
4
+ [key: string]: unknown;
5
+ getRequestsForComponent(componentId: string): NetworkRequest[];
6
+ getRendersForRequest(requestId: string): RenderEvent[];
7
+ getCorrelations(): Correlation[];
8
+ startCapturing(): void;
9
+ stopCapturing(): void;
10
+ isCapturing(): boolean;
11
+ getRequestStats(): RequestStats;
12
+ clearRequests(): void;
13
+ getAllRequests(): NetworkRequest[];
14
+ }
15
+ /**
16
+ * Network Correlator Plugin
17
+ * Correlates renders with network requests.
18
+ */
19
+ declare class NetworkCorrelatorPlugin implements Plugin {
20
+ readonly name = "network-correlator";
21
+ readonly version = "1.0.0";
22
+ private capturing;
23
+ private requests;
24
+ private renderEvents;
25
+ private correlations;
26
+ private observer;
27
+ private maxHistorySize;
28
+ private correlationWindow;
29
+ readonly api: NetworkCorrelatorAPI;
30
+ readonly hooks: {
31
+ onRender: (event: RenderEvent) => void;
32
+ };
33
+ install(kernel: Kernel): void;
34
+ uninstall(): void;
35
+ private startCapturing;
36
+ private stopCapturing;
37
+ private recordRequest;
38
+ private recordRenderEvent;
39
+ private findCorrelations;
40
+ private getRequestsForComponent;
41
+ private getStats;
42
+ }
43
+ /**
44
+ * Create a new network correlator plugin instance.
45
+ */
46
+ declare function createNetworkCorrelatorPlugin(): NetworkCorrelatorPlugin;
47
+
48
+ export { type NetworkCorrelatorAPI, NetworkCorrelatorPlugin, createNetworkCorrelatorPlugin };
@@ -0,0 +1,48 @@
1
+ import { c as Plugin, N as NetworkRequest, j as RenderEvent, A as Correlation, B as RequestStats, a as Kernel } from '../../types-DKPG_emi.js';
2
+
3
+ interface NetworkCorrelatorAPI {
4
+ [key: string]: unknown;
5
+ getRequestsForComponent(componentId: string): NetworkRequest[];
6
+ getRendersForRequest(requestId: string): RenderEvent[];
7
+ getCorrelations(): Correlation[];
8
+ startCapturing(): void;
9
+ stopCapturing(): void;
10
+ isCapturing(): boolean;
11
+ getRequestStats(): RequestStats;
12
+ clearRequests(): void;
13
+ getAllRequests(): NetworkRequest[];
14
+ }
15
+ /**
16
+ * Network Correlator Plugin
17
+ * Correlates renders with network requests.
18
+ */
19
+ declare class NetworkCorrelatorPlugin implements Plugin {
20
+ readonly name = "network-correlator";
21
+ readonly version = "1.0.0";
22
+ private capturing;
23
+ private requests;
24
+ private renderEvents;
25
+ private correlations;
26
+ private observer;
27
+ private maxHistorySize;
28
+ private correlationWindow;
29
+ readonly api: NetworkCorrelatorAPI;
30
+ readonly hooks: {
31
+ onRender: (event: RenderEvent) => void;
32
+ };
33
+ install(kernel: Kernel): void;
34
+ uninstall(): void;
35
+ private startCapturing;
36
+ private stopCapturing;
37
+ private recordRequest;
38
+ private recordRenderEvent;
39
+ private findCorrelations;
40
+ private getRequestsForComponent;
41
+ private getStats;
42
+ }
43
+ /**
44
+ * Create a new network correlator plugin instance.
45
+ */
46
+ declare function createNetworkCorrelatorPlugin(): NetworkCorrelatorPlugin;
47
+
48
+ export { type NetworkCorrelatorAPI, NetworkCorrelatorPlugin, createNetworkCorrelatorPlugin };
@@ -0,0 +1,4 @@
1
+ export { NetworkCorrelatorPlugin, createNetworkCorrelatorPlugin } from '../../chunk-U2OPUU5R.js';
2
+ import '../../chunk-LZO35OCP.js';
3
+ //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var chunkKCUWALXE_cjs = require('../../chunk-KCUWALXE.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "PropsDifferPlugin", {
8
+ enumerable: true,
9
+ get: function () { return chunkKCUWALXE_cjs.PropsDifferPlugin; }
10
+ });
11
+ Object.defineProperty(exports, "createPropsDifferPlugin", {
12
+ enumerable: true,
13
+ get: function () { return chunkKCUWALXE_cjs.createPropsDifferPlugin; }
14
+ });
15
+ //# sourceMappingURL=index.cjs.map
16
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,41 @@
1
+ import { c as Plugin, r as PropsSnapshot, q as PropsDiff, s as PropChangeStats, m as PropsChangeEvent, a as Kernel } from '../../types-DKPG_emi.cjs';
2
+
3
+ interface PropsDifferAPI {
4
+ [key: string]: unknown;
5
+ getPropsHistory(componentId: string): PropsSnapshot[];
6
+ getLastChange(componentId: string): PropsDiff[] | null;
7
+ getChangeFrequency(componentId: string, propKey: string): number;
8
+ getMostChangedProps(componentId: string, limit?: number): PropChangeStats[];
9
+ compareProps(prev: unknown, next: unknown): PropsDiff[];
10
+ clearHistory(componentId?: string): void;
11
+ }
12
+ /**
13
+ * Props Differ Plugin
14
+ * Analyzes props changes between renders.
15
+ */
16
+ declare class PropsDifferPlugin implements Plugin {
17
+ readonly name = "props-differ";
18
+ readonly version = "1.0.0";
19
+ private kernel;
20
+ private propsHistory;
21
+ private maxHistorySize;
22
+ readonly api: PropsDifferAPI;
23
+ readonly hooks: {
24
+ onPropsChange: (event: PropsChangeEvent) => void;
25
+ };
26
+ install(kernel: Kernel): void;
27
+ uninstall(): void;
28
+ private recordPropsChange;
29
+ private computeDiff;
30
+ private getLastChangeTime;
31
+ /**
32
+ * Record a props snapshot.
33
+ */
34
+ recordSnapshot(componentId: string, props: Record<string, unknown>): void;
35
+ }
36
+ /**
37
+ * Create a new props differ plugin instance.
38
+ */
39
+ declare function createPropsDifferPlugin(): PropsDifferPlugin;
40
+
41
+ export { type PropsDifferAPI, PropsDifferPlugin, createPropsDifferPlugin };
@@ -0,0 +1,41 @@
1
+ import { c as Plugin, r as PropsSnapshot, q as PropsDiff, s as PropChangeStats, m as PropsChangeEvent, a as Kernel } from '../../types-DKPG_emi.js';
2
+
3
+ interface PropsDifferAPI {
4
+ [key: string]: unknown;
5
+ getPropsHistory(componentId: string): PropsSnapshot[];
6
+ getLastChange(componentId: string): PropsDiff[] | null;
7
+ getChangeFrequency(componentId: string, propKey: string): number;
8
+ getMostChangedProps(componentId: string, limit?: number): PropChangeStats[];
9
+ compareProps(prev: unknown, next: unknown): PropsDiff[];
10
+ clearHistory(componentId?: string): void;
11
+ }
12
+ /**
13
+ * Props Differ Plugin
14
+ * Analyzes props changes between renders.
15
+ */
16
+ declare class PropsDifferPlugin implements Plugin {
17
+ readonly name = "props-differ";
18
+ readonly version = "1.0.0";
19
+ private kernel;
20
+ private propsHistory;
21
+ private maxHistorySize;
22
+ readonly api: PropsDifferAPI;
23
+ readonly hooks: {
24
+ onPropsChange: (event: PropsChangeEvent) => void;
25
+ };
26
+ install(kernel: Kernel): void;
27
+ uninstall(): void;
28
+ private recordPropsChange;
29
+ private computeDiff;
30
+ private getLastChangeTime;
31
+ /**
32
+ * Record a props snapshot.
33
+ */
34
+ recordSnapshot(componentId: string, props: Record<string, unknown>): void;
35
+ }
36
+ /**
37
+ * Create a new props differ plugin instance.
38
+ */
39
+ declare function createPropsDifferPlugin(): PropsDifferPlugin;
40
+
41
+ export { type PropsDifferAPI, PropsDifferPlugin, createPropsDifferPlugin };
@@ -0,0 +1,3 @@
1
+ export { PropsDifferPlugin, createPropsDifferPlugin } from '../../chunk-ZTO5ZZVE.js';
2
+ //# sourceMappingURL=index.js.map
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var chunkQZ5T7HPO_cjs = require('../../chunk-QZ5T7HPO.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "RenderTrackerPlugin", {
8
+ enumerable: true,
9
+ get: function () { return chunkQZ5T7HPO_cjs.RenderTrackerPlugin; }
10
+ });
11
+ Object.defineProperty(exports, "createRenderTrackerPlugin", {
12
+ enumerable: true,
13
+ get: function () { return chunkQZ5T7HPO_cjs.createRenderTrackerPlugin; }
14
+ });
15
+ //# sourceMappingURL=index.cjs.map
16
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,36 @@
1
+ import { c as Plugin, d as RenderRecord, j as RenderEvent, a as Kernel } from '../../types-DKPG_emi.cjs';
2
+
3
+ interface RenderTrackerAPI {
4
+ [key: string]: unknown;
5
+ getRenderCount(componentId: string): number;
6
+ getAverageRenderTime(componentId: string): number;
7
+ getTotalRenderTime(componentId: string): number;
8
+ getLastRenderTime(componentId: string): number;
9
+ getRenderHistory(componentId: string): RenderRecord[];
10
+ getSlowRenders(threshold?: number): RenderRecord[];
11
+ getRendersByTimeRange(start: number, end: number): RenderRecord[];
12
+ getAllRenderCounts(): Map<string, number>;
13
+ }
14
+ /**
15
+ * Render Tracker Plugin
16
+ * Tracks render count and duration for each component.
17
+ */
18
+ declare class RenderTrackerPlugin implements Plugin {
19
+ readonly name = "render-tracker";
20
+ readonly version = "1.0.0";
21
+ private kernel;
22
+ private unsubscribe;
23
+ readonly api: RenderTrackerAPI;
24
+ readonly hooks: {
25
+ onRender: (event: RenderEvent) => void;
26
+ };
27
+ install(kernel: Kernel): void;
28
+ uninstall(): void;
29
+ private trackRender;
30
+ }
31
+ /**
32
+ * Create a new render tracker plugin instance.
33
+ */
34
+ declare function createRenderTrackerPlugin(): RenderTrackerPlugin;
35
+
36
+ export { type RenderTrackerAPI, RenderTrackerPlugin, createRenderTrackerPlugin };
@@ -0,0 +1,36 @@
1
+ import { c as Plugin, d as RenderRecord, j as RenderEvent, a as Kernel } from '../../types-DKPG_emi.js';
2
+
3
+ interface RenderTrackerAPI {
4
+ [key: string]: unknown;
5
+ getRenderCount(componentId: string): number;
6
+ getAverageRenderTime(componentId: string): number;
7
+ getTotalRenderTime(componentId: string): number;
8
+ getLastRenderTime(componentId: string): number;
9
+ getRenderHistory(componentId: string): RenderRecord[];
10
+ getSlowRenders(threshold?: number): RenderRecord[];
11
+ getRendersByTimeRange(start: number, end: number): RenderRecord[];
12
+ getAllRenderCounts(): Map<string, number>;
13
+ }
14
+ /**
15
+ * Render Tracker Plugin
16
+ * Tracks render count and duration for each component.
17
+ */
18
+ declare class RenderTrackerPlugin implements Plugin {
19
+ readonly name = "render-tracker";
20
+ readonly version = "1.0.0";
21
+ private kernel;
22
+ private unsubscribe;
23
+ readonly api: RenderTrackerAPI;
24
+ readonly hooks: {
25
+ onRender: (event: RenderEvent) => void;
26
+ };
27
+ install(kernel: Kernel): void;
28
+ uninstall(): void;
29
+ private trackRender;
30
+ }
31
+ /**
32
+ * Create a new render tracker plugin instance.
33
+ */
34
+ declare function createRenderTrackerPlugin(): RenderTrackerPlugin;
35
+
36
+ export { type RenderTrackerAPI, RenderTrackerPlugin, createRenderTrackerPlugin };
@@ -0,0 +1,3 @@
1
+ export { RenderTrackerPlugin, createRenderTrackerPlugin } from '../../chunk-MTCOZBRI.js';
2
+ //# sourceMappingURL=index.js.map
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var chunkQYMRRTSN_cjs = require('../../chunk-QYMRRTSN.cjs');
4
+ require('../../chunk-I427KZYN.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "TimelineRecorderPlugin", {
9
+ enumerable: true,
10
+ get: function () { return chunkQYMRRTSN_cjs.TimelineRecorderPlugin; }
11
+ });
12
+ Object.defineProperty(exports, "createTimelineRecorderPlugin", {
13
+ enumerable: true,
14
+ get: function () { return chunkQYMRRTSN_cjs.createTimelineRecorderPlugin; }
15
+ });
16
+ //# sourceMappingURL=index.cjs.map
17
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}