@stonecrop/stonecrop 0.13.4 → 0.13.6

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.
@@ -55,6 +55,22 @@ function deserializeFromBroadcast(serialized) {
55
55
  }
56
56
  return message;
57
57
  }
58
+ /**
59
+ * Revert an operation (apply beforeValue)
60
+ */
61
+ function revertOperation(operation, store) {
62
+ if ((operation.type === 'set' || operation.type === 'delete') && store && typeof store.set === 'function') {
63
+ store.set(operation.path, operation.beforeValue, 'undo');
64
+ }
65
+ }
66
+ /**
67
+ * Apply an operation (apply afterValue)
68
+ */
69
+ function applyOperation(operation, store) {
70
+ if ((operation.type === 'set' || operation.type === 'delete') && store && typeof store.set === 'function') {
71
+ store.set(operation.path, operation.afterValue, 'redo');
72
+ }
73
+ }
58
74
  /**
59
75
  * Global HST Operation Log Store
60
76
  * Tracks all mutations with full metadata for undo/redo, sync, and audit
@@ -249,7 +265,6 @@ export const useOperationLogStore = defineStore('hst-operation-log', () => {
249
265
  if (!operation.reversible) {
250
266
  // Warn about irreversible operation
251
267
  if (typeof console !== 'undefined' && operation.irreversibleReason) {
252
- // eslint-disable-next-line no-console
253
268
  console.warn('Cannot undo irreversible operation:', operation.irreversibleReason);
254
269
  }
255
270
  return false;
@@ -280,7 +295,6 @@ export const useOperationLogStore = defineStore('hst-operation-log', () => {
280
295
  catch (error) {
281
296
  // Log error in development
282
297
  if (typeof console !== 'undefined') {
283
- // eslint-disable-next-line no-console
284
298
  console.error('Undo failed:', error);
285
299
  }
286
300
  return false;
@@ -318,34 +332,11 @@ export const useOperationLogStore = defineStore('hst-operation-log', () => {
318
332
  catch (error) {
319
333
  // Log error in development
320
334
  if (typeof console !== 'undefined') {
321
- // eslint-disable-next-line no-console
322
335
  console.error('Redo failed:', error);
323
336
  }
324
337
  return false;
325
338
  }
326
339
  }
327
- /**
328
- * Revert an operation (apply beforeValue)
329
- */
330
- function revertOperation(operation, store) {
331
- // Both 'set' and 'delete' operations can be reverted by setting to beforeValue
332
- if ((operation.type === 'set' || operation.type === 'delete') && store && typeof store.set === 'function') {
333
- store.set(operation.path, operation.beforeValue, 'undo');
334
- }
335
- // Note: 'transition' operations are marked as non-reversible, so they won't reach here
336
- // Note: 'batch' operations are handled separately in the undo function
337
- }
338
- /**
339
- * Apply an operation (apply afterValue)
340
- */
341
- function applyOperation(operation, store) {
342
- // Both 'set' and 'delete' operations can be applied by setting to afterValue
343
- if ((operation.type === 'set' || operation.type === 'delete') && store && typeof store.set === 'function') {
344
- store.set(operation.path, operation.afterValue, 'redo');
345
- }
346
- // Note: 'transition' operations are marked as non-reversible, so they won't reach here
347
- // Note: 'batch' operations are handled separately in the redo function
348
- }
349
340
  /**
350
341
  * Get operation log snapshot for debugging
351
342
  */
@@ -424,7 +415,6 @@ export const useOperationLogStore = defineStore('hst-operation-log', () => {
424
415
  const rawMessage = event.data;
425
416
  if (!rawMessage || typeof rawMessage !== 'object')
426
417
  return;
427
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
428
418
  const message = deserializeFromBroadcast(rawMessage);
429
419
  // Ignore messages from this tab
430
420
  if (message.clientId === clientId.value)
@@ -436,7 +426,7 @@ export const useOperationLogStore = defineStore('hst-operation-log', () => {
436
426
  }
437
427
  else if (message.type === 'operation' && message.operations) {
438
428
  // Add batch operations from another tab
439
- operations.value.push(...message.operations.map((op) => ({ ...op, source: 'sync' })));
429
+ operations.value.push(...message.operations.map((op) => Object.assign({}, op, { source: 'sync' })));
440
430
  currentIndex.value = operations.value.length - 1;
441
431
  }
442
432
  });
@@ -450,6 +440,7 @@ export const useOperationLogStore = defineStore('hst-operation-log', () => {
450
440
  clientId: clientId.value,
451
441
  timestamp: new Date(),
452
442
  };
443
+ // oxlint-disable-next-line unicorn/require-post-message-target-origin -- BroadcastChannel.postMessage does not accept targetOrigin; rule only applies to window.postMessage
453
444
  broadcastChannel.postMessage(serializeForBroadcast(message));
454
445
  }
455
446
  function broadcastBatch(descendantOps, batchOp) {
@@ -461,6 +452,7 @@ export const useOperationLogStore = defineStore('hst-operation-log', () => {
461
452
  clientId: clientId.value,
462
453
  timestamp: new Date(),
463
454
  };
455
+ // oxlint-disable-next-line unicorn/require-post-message-target-origin -- BroadcastChannel.postMessage does not accept targetOrigin; rule only applies to window.postMessage
464
456
  broadcastChannel.postMessage(serializeForBroadcast(message));
465
457
  }
466
458
  function broadcastUndo(operation) {
@@ -472,6 +464,7 @@ export const useOperationLogStore = defineStore('hst-operation-log', () => {
472
464
  clientId: clientId.value,
473
465
  timestamp: new Date(),
474
466
  };
467
+ // oxlint-disable-next-line unicorn/require-post-message-target-origin -- BroadcastChannel.postMessage does not accept targetOrigin; rule only applies to window.postMessage
475
468
  broadcastChannel.postMessage(serializeForBroadcast(message));
476
469
  }
477
470
  function broadcastRedo(operation) {
@@ -483,6 +476,7 @@ export const useOperationLogStore = defineStore('hst-operation-log', () => {
483
476
  clientId: clientId.value,
484
477
  timestamp: new Date(),
485
478
  };
479
+ // oxlint-disable-next-line unicorn/require-post-message-target-origin -- BroadcastChannel.postMessage does not accept targetOrigin; rule only applies to window.postMessage
486
480
  broadcastChannel.postMessage(serializeForBroadcast(message));
487
481
  }
488
482
  const persistedData = useLocalStorage('stonecrop-operations', null, {
@@ -519,7 +513,6 @@ export const useOperationLogStore = defineStore('hst-operation-log', () => {
519
513
  catch (error) {
520
514
  // Log error in development
521
515
  if (typeof console !== 'undefined') {
522
- // eslint-disable-next-line no-console
523
516
  console.error('Failed to load operations from persistence:', error);
524
517
  }
525
518
  }
@@ -539,7 +532,6 @@ export const useOperationLogStore = defineStore('hst-operation-log', () => {
539
532
  catch (error) {
540
533
  // Log error in development
541
534
  if (typeof console !== 'undefined') {
542
- // eslint-disable-next-line no-console
543
535
  console.error('Failed to save operations to persistence:', error);
544
536
  }
545
537
  }
@@ -263,6 +263,6 @@ export type LazyLink = {
263
263
  /** Explicitly trigger a fetch for this link */
264
264
  reload: () => Promise<void>;
265
265
  /** The loaded data from HST, or undefined if not loaded */
266
- data: ComputedRef<any>;
266
+ data: ComputedRef;
267
267
  };
268
268
  //# sourceMappingURL=composable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"composable.d.ts","sourceRoot":"","sources":["../../../src/types/composable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAE3C,OAAO,KAAK,OAAO,MAAM,YAAY,CAAA;AACrC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAE7F;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG;IAC7B;;;OAGG;IACH,UAAU,EAAE,GAAG,CAAC,YAAY,EAAE,CAAC,CAAA;IAC/B;;;OAGG;IACH,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACzB;;;OAGG;IACH,aAAa,EAAE,WAAW,CAAC;QAC1B,OAAO,EAAE,OAAO,CAAA;QAChB,OAAO,EAAE,OAAO,CAAA;QAChB,SAAS,EAAE,MAAM,CAAA;QACjB,SAAS,EAAE,MAAM,CAAA;QACjB,YAAY,EAAE,MAAM,CAAA;KACpB,CAAC,CAAA;IACF;;;OAGG;IACH,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC7B;;;OAGG;IACH,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC7B;;OAEG;IACH,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC9B;;OAEG;IACH,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC9B;;;;OAIG;IACH,IAAI,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,OAAO,CAAA;IACpC;;;;OAIG;IACH,IAAI,EAAE,CAAC,QAAQ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D,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACpB,0BAA0B;IAC1B,KAAK,EAAE,GAAG,CAAC,KAAK,GAAG,IAAI,CAAC,CAAA;IACxB,+CAA+C;IAC/C,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3B,2DAA2D;IAC3D,IAAI,EAAE,WAAW,CAAA;CACjB,CAAA"}
@@ -921,7 +921,7 @@ export declare type LazyLink = {
921
921
  /** Explicitly trigger a fetch for this link */
922
922
  reload: () => Promise<void>;
923
923
  /** The loaded data from HST, or undefined if not loaded */
924
- data: ComputedRef<any>;
924
+ data: ComputedRef;
925
925
  };
926
926
 
927
927
  /**