flow-mindmap 0.4.6 → 0.4.7

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.
@@ -30,6 +30,12 @@ export interface KeyboardOptions {
30
30
  * the primary selected node, or the root when nothing is selected).
31
31
  * `targetId === null` means "default to root". */
32
32
  onPaste: (targetId: string | null) => void;
33
+ /** Returns true when the host's internal clipboard buffer has at
34
+ * least one copied node ready to paste. When false, Ctrl+V is
35
+ * NOT intercepted so the browser's native `paste` event fires —
36
+ * this lets the onPaste(ClipboardEvent) handler pick up image
37
+ * data from the system clipboard. */
38
+ hasClipboard: () => boolean;
33
39
  onUndo: () => void;
34
40
  onRedo: () => void;
35
41
  /**
@@ -23,6 +23,7 @@ export declare function usePanZoom(opts: PanZoomOptions): {
23
23
  offsetX: Ref<number, number>;
24
24
  offsetY: Ref<number, number>;
25
25
  isPanning: Ref<boolean, boolean>;
26
+ panMoved: Ref<boolean, boolean>;
26
27
  onWheel: (e: WheelEvent) => void;
27
28
  zoomIn: () => void;
28
29
  zoomOut: () => void;