@buoy-gg/zustand 7.0.38 → 7.0.39

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 (62) hide show
  1. package/lib/commonjs/index.js +105 -1
  2. package/lib/commonjs/preset.js +102 -1
  3. package/lib/commonjs/zustand/components/ZustandActionButton.js +118 -1
  4. package/lib/commonjs/zustand/components/ZustandDetailViewToggle.js +48 -1
  5. package/lib/commonjs/zustand/components/ZustandEventFilterView.js +43 -1
  6. package/lib/commonjs/zustand/components/ZustandIcon.js +18 -1
  7. package/lib/commonjs/zustand/components/ZustandModal.js +772 -1
  8. package/lib/commonjs/zustand/components/ZustandStateChangeItem.js +117 -1
  9. package/lib/commonjs/zustand/components/ZustandStateDetailContent.js +372 -1
  10. package/lib/commonjs/zustand/components/ZustandStateInfoView.js +488 -1
  11. package/lib/commonjs/zustand/components/ZustandStoreBrowser.js +204 -1
  12. package/lib/commonjs/zustand/components/ZustandStoreDetailContent.js +471 -1
  13. package/lib/commonjs/zustand/components/ZustandStoreEditorScreen.js +393 -1
  14. package/lib/commonjs/zustand/hooks/useZustandStateChanges.js +74 -1
  15. package/lib/commonjs/zustand/sync/zustandSyncAdapter.js +382 -1
  16. package/lib/commonjs/zustand/utils/buoyZustandMiddleware.js +284 -1
  17. package/lib/commonjs/zustand/utils/editableState.js +146 -1
  18. package/lib/commonjs/zustand/utils/snapshotProvider.js +209 -1
  19. package/lib/commonjs/zustand/utils/testIDs.js +82 -1
  20. package/lib/commonjs/zustand/utils/zustandStateStore.js +379 -1
  21. package/lib/module/index.js +90 -1
  22. package/lib/module/preset.js +98 -1
  23. package/lib/module/zustand/components/ZustandActionButton.js +114 -1
  24. package/lib/module/zustand/components/ZustandDetailViewToggle.js +43 -1
  25. package/lib/module/zustand/components/ZustandEventFilterView.js +39 -1
  26. package/lib/module/zustand/components/ZustandIcon.js +11 -1
  27. package/lib/module/zustand/components/ZustandModal.js +767 -1
  28. package/lib/module/zustand/components/ZustandStateChangeItem.js +113 -1
  29. package/lib/module/zustand/components/ZustandStateDetailContent.js +368 -1
  30. package/lib/module/zustand/components/ZustandStateInfoView.js +483 -1
  31. package/lib/module/zustand/components/ZustandStoreBrowser.js +200 -1
  32. package/lib/module/zustand/components/ZustandStoreDetailContent.js +469 -1
  33. package/lib/module/zustand/components/ZustandStoreEditorScreen.js +389 -1
  34. package/lib/module/zustand/hooks/useZustandStateChanges.js +70 -1
  35. package/lib/module/zustand/sync/zustandSyncAdapter.js +380 -1
  36. package/lib/module/zustand/utils/buoyZustandMiddleware.js +278 -1
  37. package/lib/module/zustand/utils/editableState.js +138 -1
  38. package/lib/module/zustand/utils/snapshotProvider.js +209 -1
  39. package/lib/module/zustand/utils/testIDs.js +74 -1
  40. package/lib/module/zustand/utils/zustandStateStore.js +375 -1
  41. package/lib/typescript/index.d.ts.map +1 -0
  42. package/lib/typescript/preset.d.ts.map +1 -0
  43. package/lib/typescript/zustand/components/ZustandActionButton.d.ts.map +1 -0
  44. package/lib/typescript/zustand/components/ZustandDetailViewToggle.d.ts.map +1 -0
  45. package/lib/typescript/zustand/components/ZustandEventFilterView.d.ts.map +1 -0
  46. package/lib/typescript/zustand/components/ZustandIcon.d.ts.map +1 -0
  47. package/lib/typescript/zustand/components/ZustandModal.d.ts.map +1 -0
  48. package/lib/typescript/zustand/components/ZustandStateChangeItem.d.ts.map +1 -0
  49. package/lib/typescript/zustand/components/ZustandStateDetailContent.d.ts.map +1 -0
  50. package/lib/typescript/zustand/components/ZustandStateInfoView.d.ts.map +1 -0
  51. package/lib/typescript/zustand/components/ZustandStoreBrowser.d.ts.map +1 -0
  52. package/lib/typescript/zustand/components/ZustandStoreDetailContent.d.ts.map +1 -0
  53. package/lib/typescript/zustand/components/ZustandStoreEditorScreen.d.ts.map +1 -0
  54. package/lib/typescript/zustand/hooks/useZustandStateChanges.d.ts.map +1 -0
  55. package/lib/typescript/zustand/sync/zustandSyncAdapter.d.ts.map +1 -0
  56. package/lib/typescript/zustand/types/index.d.ts.map +1 -0
  57. package/lib/typescript/zustand/utils/buoyZustandMiddleware.d.ts.map +1 -0
  58. package/lib/typescript/zustand/utils/editableState.d.ts.map +1 -0
  59. package/lib/typescript/zustand/utils/snapshotProvider.d.ts.map +1 -0
  60. package/lib/typescript/zustand/utils/testIDs.d.ts.map +1 -0
  61. package/lib/typescript/zustand/utils/zustandStateStore.d.ts.map +1 -0
  62. package/package.json +3 -3
@@ -1 +1,375 @@
1
- "use strict";import{ChangeLog,entityColor,formatValuePreview,shallowDiffSummary}from"@buoy-gg/shared-ui";const STORE_COLORS={counter:"#10B981",auth:"#8B5CF6",user:"#3B82F6",cart:"#EC4899",app:"#6366F1",ui:"#F59E0B",settings:"#14B8A6",theme:"#06B6D4",navigation:"#F97316",form:"#EF4444"};function getStoreColor(t){return entityColor(t,STORE_COLORS)}function formatPartialPreview(t,e=40){return formatValuePreview(t,{maxLength:e,undefinedLabel:"",functionLabel:"(updater fn)"})}class ZustandStateStore extends ChangeLog{stores=new Map;storeListeners=new Set;remoteSetStateHandler=null;addStateChange(t){if(!this.canRecord())return;const{storeName:e,partial:s,replace:r,prevState:a,nextState:o,duration:n,category:i,isPersisted:h=!1}=t,u=a!==o,{summary:S,changedKeys:c,changedCount:g}=shallowDiffSummary(a,o),l=formatPartialPreview(s),d=(n??0)>16,m=i??(r?"replace":"setState"),f={id:this.nextId(),storeName:e,timestamp:Date.now(),prevState:a,nextState:o,partial:s,duration:n,hasStateChange:u,replace:r,category:m,changedKeys:c,changedKeysCount:g,diffSummary:S,partialPreview:l,isSlowUpdate:d,isPersisted:h};this.push(f);const C=this.stores.get(e);C&&C.stateChangeCount++,this.notifyListeners()}getStateChanges(){return this.getAll()}getStateChangeById(t){return this.getById(t)}clearStateChanges(){for(const t of this.stores.values())t.stateChangeCount=0;this.clear(),this.notifyStoreListeners()}replaceStateChanges(t){if(!this.getEnabled())return;for(const t of this.stores.values())t.stateChangeCount=0;const e=t.slice(0,this.max);for(const t of e){const e=this.stores.get(t.storeName);e&&e.stateChangeCount++}this.setItems(e),this.notifyStoreListeners()}getStoreSnapshots(){return Array.from(this.stores.values()).map(t=>{let e;try{e=t.api.getState()}catch{e=void 0}return{name:t.name,stateChangeCount:t.stateChangeCount,isPersisted:t.isPersisted,persistName:t.persistName,canRehydrate:"function"==typeof t.rehydrate,color:t.color,currentState:e}})}setRemoteSetStateHandler(t){this.remoteSetStateHandler=t}replaceFromSnapshot(t,e){if(!this.getEnabled())return;const s=new Map;for(const t of this.items){const e=t.prevState;e&&!0===e.__buoyStateOnDevice||s.set(t.id,t)}const r=t.slice(0,this.max).map(t=>{const e=s.get(t.id),r=t.prevState;return e&&!0===r?.__buoyStateOnDevice?{...t,prevState:e.prevState,nextState:e.nextState,partial:e.partial}:t}),a=new Map;for(const[t,e]of this.stores)try{const s=e.api.getState();s&&!0===s.__buoyStateOnDevice||a.set(t,s)}catch{}this.stores=new Map(e.map(t=>{const e=t.currentState,s=a.get(t.name),r=void 0!==s&&!0===e?.__buoyStateOnDevice?s:t.currentState;return[t.name,{name:t.name,api:{getState:()=>r,setState:(e,s)=>{this.remoteSetStateHandler?.(t.name,e,s)},subscribe:()=>()=>{}},stateChangeCount:t.stateChangeCount,isPersisted:t.isPersisted,persistName:t.persistName,color:t.color}]})),this.setItems(r),this.notifyStoreListeners()}hydrateChange(t,e){this.hydrateById(t,e)}hydrateStoreState(t,e){const s=this.stores.get(t);s&&(this.stores.set(t,{...s,api:{...s.api,getState:()=>e}}),this.notifyStoreListeners())}registerStore(t,e,s){if(this.stores.has(t))return;const r={name:t,api:e,stateChangeCount:0,isPersisted:s?.isPersisted??!1,persistName:s?.persistName,rehydrate:s?.rehydrate,color:getStoreColor(t)};this.stores.set(t,r),this.notifyStoreListeners()}unregisterStore(t){this.stores.delete(t),this.notifyStoreListeners()}getStores(){return Array.from(this.stores.values())}getStore(t){return this.stores.get(t)}getStoreColor(t){return this.stores.get(t)?.color??getStoreColor(t)}filterStateChanges(t){let e=this.getAll();if(t.searchText){const s=t.searchText.toLowerCase();e=e.filter(t=>t.storeName.toLowerCase().includes(s)||t.partialPreview.toLowerCase().includes(s)||t.changedKeys.some(t=>t.toLowerCase().includes(s)))}return t.storeNames&&t.storeNames.length>0&&(e=e.filter(e=>t.storeNames.includes(e.storeName))),t.onlyWithChanges&&(e=e.filter(t=>t.hasStateChange)),e}getStats(){const t=this.items.length,e=this.items.filter(t=>t.hasStateChange).length,s=this.stores.size,r=this.items.filter(t=>void 0!==t.duration).map(t=>t.duration),a=r.length>0?r.reduce((t,e)=>t+e,0)/r.length:0;return{totalChanges:t,changesWithStateChange:e,changesWithoutStateChange:t-e,storeCount:s,averageDuration:Math.round(100*a)/100}}getUniqueStoreNames(){return Array.from(this.stores.keys()).sort()}setMaxChanges(t){this.setMax(t)}subscribeToStores(t){return this.storeListeners.add(t),()=>{this.storeListeners.delete(t)}}notifyStoreListeners(){const t=this.getStores();this.storeListeners.forEach(e=>e(t))}}export const zustandStateStore=new ZustandStateStore;
1
+ "use strict";
2
+
3
+ /**
4
+ * Zustand state store - captures and stores Zustand state changes
5
+ *
6
+ * The generic event-log half (ring buffer, listeners, clear-forwarding for
7
+ * the desktop mirror, pause/suppress flags, hydrate-by-id) is the shared
8
+ * `ChangeLog`; this file owns the zustand-specific half — the store registry,
9
+ * snapshots, mirror rebuild, filters and stats.
10
+ */
11
+
12
+ import { ChangeLog, entityColor, formatValuePreview, shallowDiffSummary } from "@buoy-gg/shared-ui";
13
+ // ============================================
14
+ // Store Color Palette
15
+ // ============================================
16
+
17
+ const STORE_COLORS = {
18
+ counter: "#10B981",
19
+ // emerald
20
+ auth: "#8B5CF6",
21
+ // purple
22
+ user: "#3B82F6",
23
+ // blue
24
+ cart: "#EC4899",
25
+ // pink
26
+ app: "#6366F1",
27
+ // indigo
28
+ ui: "#F59E0B",
29
+ // amber
30
+ settings: "#14B8A6",
31
+ // teal
32
+ theme: "#06B6D4",
33
+ // cyan
34
+ navigation: "#F97316",
35
+ // orange
36
+ form: "#EF4444" // red
37
+ };
38
+
39
+ /**
40
+ * Get consistent color for a store based on its name
41
+ */
42
+ function getStoreColor(storeName) {
43
+ return entityColor(storeName, STORE_COLORS);
44
+ }
45
+
46
+ /**
47
+ * Format payload preview for display
48
+ */
49
+ function formatPartialPreview(partial, maxLength = 40) {
50
+ return formatValuePreview(partial, {
51
+ maxLength,
52
+ undefinedLabel: "",
53
+ functionLabel: "(updater fn)"
54
+ });
55
+ }
56
+
57
+ // ============================================
58
+ // Zustand State Store
59
+ // ============================================
60
+
61
+ class ZustandStateStore extends ChangeLog {
62
+ stores = new Map();
63
+ storeListeners = new Set();
64
+ remoteSetStateHandler = null;
65
+
66
+ // ---- State Change Tracking ----
67
+
68
+ addStateChange(params) {
69
+ if (!this.canRecord()) return;
70
+ const {
71
+ storeName,
72
+ partial,
73
+ replace,
74
+ prevState,
75
+ nextState,
76
+ duration,
77
+ category,
78
+ isPersisted = false
79
+ } = params;
80
+ const hasStateChange = prevState !== nextState;
81
+ // `changedCount` counts the keys in `changedKeys` and nothing else, so the
82
+ // row's "N keys changed" and the detail page's CHANGED KEYS card agree —
83
+ // including the persist-rehydrate case where the object is replaced
84
+ // without any top-level value moving.
85
+ const {
86
+ summary,
87
+ changedKeys,
88
+ changedCount
89
+ } = shallowDiffSummary(prevState, nextState);
90
+ const partialPreview = formatPartialPreview(partial);
91
+ const isSlowUpdate = (duration ?? 0) > 16;
92
+ const resolvedCategory = category ?? (replace ? "replace" : "setState");
93
+ const stateChange = {
94
+ id: this.nextId(),
95
+ storeName,
96
+ timestamp: Date.now(),
97
+ prevState,
98
+ nextState,
99
+ partial,
100
+ duration,
101
+ hasStateChange,
102
+ replace,
103
+ category: resolvedCategory,
104
+ changedKeys,
105
+ changedKeysCount: changedCount,
106
+ diffSummary: summary,
107
+ partialPreview,
108
+ isSlowUpdate,
109
+ isPersisted
110
+ };
111
+ this.push(stateChange);
112
+
113
+ // Update store change count
114
+ const storeInfo = this.stores.get(storeName);
115
+ if (storeInfo) {
116
+ storeInfo.stateChangeCount++;
117
+ }
118
+ this.notifyListeners();
119
+ }
120
+ getStateChanges() {
121
+ return this.getAll();
122
+ }
123
+ getStateChangeById(id) {
124
+ return this.getById(id);
125
+ }
126
+ clearStateChanges() {
127
+ // Reset counts
128
+ for (const store of this.stores.values()) {
129
+ store.stateChangeCount = 0;
130
+ }
131
+ this.clear();
132
+ // The browser keeps its store list in React state and only re-reads it
133
+ // on a store notification — `clear()` above only tells the change-log
134
+ // listeners, so without this the cards kept their old counts after Clear.
135
+ this.notifyStoreListeners();
136
+ }
137
+
138
+ // ---- Remote Mirror Mode ----
139
+
140
+ /**
141
+ * Replace the change log without touching the store registry. Used when a
142
+ * host keeps real registered stores (JUMP / RESET stay wired) but needs to
143
+ * reseed the event list — the docs live tour, or any mirror that already
144
+ * called `registerStore`. Does not fire `onClear`. Respects the enabled
145
+ * flag so the UI's pause button freezes the reseed.
146
+ */
147
+ replaceStateChanges(changes) {
148
+ if (!this.getEnabled()) return;
149
+ for (const store of this.stores.values()) {
150
+ store.stateChangeCount = 0;
151
+ }
152
+ const kept = changes.slice(0, this.max);
153
+ for (const change of kept) {
154
+ const store = this.stores.get(change.storeName);
155
+ if (store) store.stateChangeCount++;
156
+ }
157
+ this.setItems(kept);
158
+ this.notifyStoreListeners();
159
+ }
160
+
161
+ /**
162
+ * Serializable snapshot of the tracked stores (registry metadata plus each
163
+ * store's current state). Used by the sync adapter on the device side —
164
+ * the live `api` handles can't go over the wire.
165
+ */
166
+ getStoreSnapshots() {
167
+ return Array.from(this.stores.values()).map(store => {
168
+ let currentState;
169
+ try {
170
+ currentState = store.api.getState();
171
+ } catch {
172
+ currentState = undefined;
173
+ }
174
+ return {
175
+ name: store.name,
176
+ stateChangeCount: store.stateChangeCount,
177
+ isPersisted: store.isPersisted,
178
+ persistName: store.persistName,
179
+ // Persisted is not the same as re-readable: a store registered before
180
+ // its persist middleware attached has a name but no handle. The
181
+ // Storage tool needs the difference to decide between offering "apply"
182
+ // and telling the user to restart.
183
+ canRehydrate: typeof store.rehydrate === "function",
184
+ color: store.color,
185
+ currentState
186
+ };
187
+ });
188
+ }
189
+
190
+ /**
191
+ * Handler invoked when the UI calls setState on a mirrored store (e.g.
192
+ * time-travel from the dashboard). Forward it to the synced device.
193
+ */
194
+ setRemoteSetStateHandler(handler) {
195
+ this.remoteSetStateHandler = handler;
196
+ }
197
+
198
+ /**
199
+ * Replace the entire mirror contents from a synced device snapshot. The
200
+ * rebuilt registry entries get stub `api` handles: getState() serves the
201
+ * snapshotted state, setState() forwards to the remote handler. Respects
202
+ * the enabled flag so the UI's pause button freezes the mirror.
203
+ */
204
+ replaceFromSnapshot(changes, storeSnapshots) {
205
+ if (!this.getEnabled()) return;
206
+
207
+ // Preserve trees a remote mirror already hydrated — wire-form snapshots
208
+ // always carry markers, and a later snapshot must not blank the detail pane.
209
+ const hydrated = new Map();
210
+ for (const existing of this.items) {
211
+ const prev = existing.prevState;
212
+ if (!prev || prev.__buoyStateOnDevice !== true) {
213
+ hydrated.set(existing.id, existing);
214
+ }
215
+ }
216
+ const merged = changes.slice(0, this.max).map(change => {
217
+ const kept = hydrated.get(change.id);
218
+ const incoming = change.prevState;
219
+ return kept && incoming?.__buoyStateOnDevice === true ? {
220
+ ...change,
221
+ prevState: kept.prevState,
222
+ nextState: kept.nextState,
223
+ partial: kept.partial
224
+ } : change;
225
+ });
226
+
227
+ // Preserve currentState a remote mirror already hydrated — oversized
228
+ // stores arrive as STATE_ON_DEVICE markers on every snapshot.
229
+ const hydratedStores = new Map();
230
+ for (const [name, store] of this.stores) {
231
+ try {
232
+ const state = store.api.getState();
233
+ const marker = state;
234
+ if (!marker || marker.__buoyStateOnDevice !== true) {
235
+ hydratedStores.set(name, state);
236
+ }
237
+ } catch {
238
+ // ignore
239
+ }
240
+ }
241
+ this.stores = new Map(storeSnapshots.map(snapshot => {
242
+ const incoming = snapshot.currentState;
243
+ const kept = hydratedStores.get(snapshot.name);
244
+ const currentState = kept !== undefined && incoming?.__buoyStateOnDevice === true ? kept : snapshot.currentState;
245
+ return [snapshot.name, {
246
+ name: snapshot.name,
247
+ api: {
248
+ getState: () => currentState,
249
+ setState: (partial, replace) => {
250
+ this.remoteSetStateHandler?.(snapshot.name, partial, replace);
251
+ },
252
+ subscribe: () => () => {}
253
+ },
254
+ stateChangeCount: snapshot.stateChangeCount,
255
+ isPersisted: snapshot.isPersisted,
256
+ persistName: snapshot.persistName,
257
+ color: snapshot.color
258
+ }];
259
+ }));
260
+ this.setItems(merged);
261
+ this.notifyStoreListeners();
262
+ }
263
+
264
+ /**
265
+ * Hydrate one mirrored change with real trees fetched on demand from the
266
+ * device via the adapter's `getChangeDetail`. Remote-mirror (desktop) only.
267
+ */
268
+ hydrateChange(id, patch) {
269
+ this.hydrateById(id, patch);
270
+ }
271
+
272
+ /**
273
+ * Hydrate one mirrored store's currentState fetched on demand from the
274
+ * device via the adapter's `getStoreState`. Remote-mirror (desktop) only.
275
+ */
276
+ hydrateStoreState(storeName, currentState) {
277
+ const store = this.stores.get(storeName);
278
+ if (!store) return;
279
+ this.stores.set(storeName, {
280
+ ...store,
281
+ api: {
282
+ ...store.api,
283
+ getState: () => currentState
284
+ }
285
+ });
286
+ this.notifyStoreListeners();
287
+ }
288
+
289
+ // ---- Store Registry ----
290
+
291
+ registerStore(name, api, options) {
292
+ if (this.stores.has(name)) return;
293
+ const storeInfo = {
294
+ name,
295
+ api,
296
+ stateChangeCount: 0,
297
+ isPersisted: options?.isPersisted ?? false,
298
+ persistName: options?.persistName,
299
+ rehydrate: options?.rehydrate,
300
+ color: getStoreColor(name)
301
+ };
302
+ this.stores.set(name, storeInfo);
303
+ this.notifyStoreListeners();
304
+ }
305
+ unregisterStore(name) {
306
+ this.stores.delete(name);
307
+ this.notifyStoreListeners();
308
+ }
309
+ getStores() {
310
+ return Array.from(this.stores.values());
311
+ }
312
+ getStore(name) {
313
+ return this.stores.get(name);
314
+ }
315
+ getStoreColor(name) {
316
+ return this.stores.get(name)?.color ?? getStoreColor(name);
317
+ }
318
+
319
+ // ---- Filtering ----
320
+
321
+ filterStateChanges(filter) {
322
+ let filtered = this.getAll();
323
+ if (filter.searchText) {
324
+ const search = filter.searchText.toLowerCase();
325
+ filtered = filtered.filter(c => c.storeName.toLowerCase().includes(search) || c.partialPreview.toLowerCase().includes(search) || c.changedKeys.some(k => k.toLowerCase().includes(search)));
326
+ }
327
+ if (filter.storeNames && filter.storeNames.length > 0) {
328
+ filtered = filtered.filter(c => filter.storeNames.includes(c.storeName));
329
+ }
330
+ if (filter.onlyWithChanges) {
331
+ filtered = filtered.filter(c => c.hasStateChange);
332
+ }
333
+ return filtered;
334
+ }
335
+
336
+ // ---- Stats ----
337
+
338
+ getStats() {
339
+ const total = this.items.length;
340
+ const withChanges = this.items.filter(c => c.hasStateChange).length;
341
+ const storeCount = this.stores.size;
342
+ const durations = this.items.filter(c => c.duration !== undefined).map(c => c.duration);
343
+ const avgDuration = durations.length > 0 ? durations.reduce((sum, d) => sum + d, 0) / durations.length : 0;
344
+ return {
345
+ totalChanges: total,
346
+ changesWithStateChange: withChanges,
347
+ changesWithoutStateChange: total - withChanges,
348
+ storeCount,
349
+ averageDuration: Math.round(avgDuration * 100) / 100
350
+ };
351
+ }
352
+ getUniqueStoreNames() {
353
+ return Array.from(this.stores.keys()).sort();
354
+ }
355
+
356
+ // ---- Enable / Disable ----
357
+
358
+ setMaxChanges(max) {
359
+ this.setMax(max);
360
+ }
361
+
362
+ // ---- Subscriptions ----
363
+
364
+ subscribeToStores(listener) {
365
+ this.storeListeners.add(listener);
366
+ return () => {
367
+ this.storeListeners.delete(listener);
368
+ };
369
+ }
370
+ notifyStoreListeners() {
371
+ const stores = this.getStores();
372
+ this.storeListeners.forEach(listener => listener(stores));
373
+ }
374
+ }
375
+ export const zustandStateStore = new ZustandStateStore();
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;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AACH,wBAAgB,iBAAiB,CAAC,OAAO,CAAC,EAAE;IAC1C,qCAAqC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0CAA0C;IAC1C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,iBAAiB;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qCAAqC;IACrC,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;;;;;qBAMoB;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;;;;;EAWpC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZustandActionButton.d.ts","sourceRoot":"","sources":["../../../../src/zustand/components/ZustandActionButton.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;CAyBlB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,aAAa,CAAC;AAEpD,UAAU,wBAAwB;IAChC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,QAAgB,EAChB,MAAM,GACP,EAAE,wBAAwB,+BA2C1B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZustandDetailViewToggle.d.ts","sourceRoot":"","sources":["../../../../src/zustand/components/ZustandDetailViewToggle.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAe,MAAM,OAAO,CAAC;AASpC,MAAM,MAAM,qBAAqB,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAEhE,UAAU,4BAA4B;IACpC,UAAU,EAAE,qBAAqB,CAAC;IAClC,YAAY,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACpD,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAUD,eAAO,MAAM,uBAAuB,0DAclC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZustandEventFilterView.d.ts","sourceRoot":"","sources":["../../../../src/zustand/components/ZustandEventFilterView.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAIjD,UAAU,2BAA2B;IACnC,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,MAAM,EAAE,gBAAgB,EAAE,CAAC;CAC5B;AAQD,wBAAgB,sBAAsB,CAAC,EACrC,eAAe,EACf,eAAe,EACf,YAAY,EACZ,MAAM,GACP,EAAE,2BAA2B,+BAwB7B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZustandIcon.d.ts","sourceRoot":"","sources":["../../../../src/zustand/components/ZustandIcon.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZustandModal.d.ts","sourceRoot":"","sources":["../../../../src/zustand/components/ZustandModal.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAkDH,OAAO,KAAK,EAAE,iBAAiB,EAAsB,MAAM,UAAU,CAAC;AAsCtE,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,OAAO,EACP,MAAM,EACN,UAAU,EACV,2BAAmC,EACnC,MAAc,EACd,aAAqB,EACrB,UAAqB,EACrB,uBAAuB,EACvB,iBAAiB,EACjB,cAAc,EACd,aAAa,GACd,EAAE,iBAAiB,sCA8tBnB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,KAAK,GAAE,IAAI,CAAC,iBAAiB,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAM,+BAGtE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZustandStateChangeItem.d.ts","sourceRoot":"","sources":["../../../../src/zustand/components/ZustandStateChangeItem.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,kBAAkB,EAAuB,MAAM,UAAU,CAAC;AAGxE,UAAU,2BAA2B;IACnC,MAAM,EAAE,kBAAkB,CAAC;IAC3B,OAAO,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC9C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AA2FD,eAAO,MAAM,sBAAsB,mEAyBjC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZustandStateDetailContent.d.ts","sourceRoot":"","sources":["../../../../src/zustand/components/ZustandStateDetailContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAkBH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,2BAA2B,CAAC;AAMnC,UAAU,8BAA8B;IACtC,MAAM,EAAE,kBAAkB,CAAC;IAC3B,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,0EAA0E;IAC1E,WAAW,CAAC,EAAE,qBAAqB,CAAC;CACrC;AAyCD,wBAAgB,yBAAyB,CAAC,EACxC,MAAM,EACN,OAAO,EACP,aAAa,EACb,aAAa,EACb,qBAA6B,EAC7B,WAAsB,GACvB,EAAE,8BAA8B,+BAmNhC;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,EACvC,MAAM,EACN,OAAO,EACP,aAAa,EACb,aAAa,GACd,EAAE;IACD,MAAM,EAAE,kBAAkB,CAAC;IAC3B,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC,sCAmBA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZustandStateInfoView.d.ts","sourceRoot":"","sources":["../../../../src/zustand/components/ZustandStateInfoView.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAiD,MAAM,OAAO,CAAC;AAmBtE,OAAO,KAAK,EAAE,kBAAkB,EAAuB,MAAM,UAAU,CAAC;AAKxE,UAAU,yBAAyB;IACjC,MAAM,EAAE,kBAAkB,CAAC;CAC5B;AAwED,eAAO,MAAM,oBAAoB,uDAuQ/B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZustandStoreBrowser.d.ts","sourceRoot":"","sources":["../../../../src/zustand/components/ZustandStoreBrowser.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAUH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAIjD,UAAU,wBAAwB;IAChC,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8DAA8D;IAC9D,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;AA4DD,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EACN,WAAW,EACX,SAAiB,EACjB,WAAW,GACZ,EAAE,wBAAwB,+BAgG1B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZustandStoreDetailContent.d.ts","sourceRoot":"","sources":["../../../../src/zustand/components/ZustandStoreDetailContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AA4BH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAyBjD,UAAU,8BAA8B;IACtC,KAAK,EAAE,gBAAgB,CAAC;IACxB,mEAAmE;IACnE,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAED,wBAAgB,yBAAyB,CAAC,EACxC,KAAK,EACL,aAAa,GACd,EAAE,8BAA8B,+BAsQhC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZustandStoreEditorScreen.d.ts","sourceRoot":"","sources":["../../../../src/zustand/components/ZustandStoreEditorScreen.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AA6BH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAMjD,UAAU,6BAA6B;IACrC,KAAK,EAAE,gBAAgB,CAAC;IACxB,uEAAuE;IACvE,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,wBAAgB,wBAAwB,CAAC,EACvC,KAAK,EACL,OAAO,EACP,kBAAkB,GACnB,EAAE,6BAA6B,+BAsO/B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useZustandStateChanges.d.ts","sourceRoot":"","sources":["../../../../src/zustand/hooks/useZustandStateChanges.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EACV,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACd,MAAM,UAAU,CAAC;AAGlB,MAAM,WAAW,4BAA4B;IAC3C,iCAAiC;IACjC,YAAY,EAAE,kBAAkB,EAAE,CAAC;IACnC,qDAAqD;IACrD,eAAe,EAAE,kBAAkB,EAAE,CAAC;IACtC,8BAA8B;IAC9B,MAAM,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,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAS1E;AAED,8DAA8D;AAC9D,wBAAgB,cAAc,CAC5B,KAAK,EAAE,OAAO,EACd,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EAAE,EACjB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,EACrB,KAAK,EAAE,MAAM,GACZ,OAAO,CA2BT;AAED,MAAM,WAAW,kBAAkB;IACjC,8EAA8E;IAC9E,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACrC,iFAAiF;IACjF,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,0DAA0D;IAC1D,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,kBAAkB,CAsClE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,KAAK,EAAE,OAAO,GACb,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBzB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"snapshotProvider.d.ts","sourceRoot":"","sources":["../../../../src/zustand/utils/snapshotProvider.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testIDs.d.ts","sourceRoot":"","sources":["../../../../src/zustand/utils/testIDs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,+CAA+C;AAC/C,eAAO,MAAM,eAAe,iBAAiB,CAAC;AAE9C,kEAAkE;AAClE,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAO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gBAAgB,EAAE,KAAK,IAAI,GAC7C,MAAM,IAAI;IAOb,OAAO,CAAC,oBAAoB;CAI7B;AAED,eAAO,MAAM,iBAAiB,mBAA0B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buoy-gg/zustand",
3
- "version": "7.0.38",
3
+ "version": "7.0.39",
4
4
  "description": "Inspect registered Zustand stores, compare captured state changes and use supported reset or state-update actions.",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -29,8 +29,8 @@
29
29
  "**/snapshotProvider.ts"
30
30
  ],
31
31
  "dependencies": {
32
- "@buoy-gg/license": "^7.0.38",
33
- "@buoy-gg/shared-ui": "^7.0.38"
32
+ "@buoy-gg/license": "^7.0.39",
33
+ "@buoy-gg/shared-ui": "^7.0.39"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "react": "*",