kakidash 0.3.0 → 0.3.2

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.d.ts CHANGED
@@ -5,7 +5,7 @@ declare class ClipboardService {
5
5
  constructor(mindMap: MindMap, idGenerator: IdGenerator);
6
6
  copyNodes(nodeIds: string[]): void;
7
7
  getClipboardNodes(): Node_2[];
8
- createPastedNodes(parentId: string): Node_2[];
8
+ createPastedNodes(parentId: string, systemClipboardText?: string): Node_2[];
9
9
  private deepCloneNode;
10
10
  private regenerateIds;
11
11
  }
@@ -47,6 +47,7 @@ declare type Command = {
47
47
  } | {
48
48
  type: 'pasteNode';
49
49
  parentId: string;
50
+ text?: string;
50
51
  } | {
51
52
  type: 'cutNode';
52
53
  nodeId: string;
@@ -598,7 +599,7 @@ declare class MindMapController {
598
599
  selectRangeTo(targetId: string): void;
599
600
  private selectRange;
600
601
  copyNode(nodeId: string): void;
601
- pasteNode(parentId: string): void;
602
+ pasteNode(parentId: string, text?: string): void;
602
603
  cutNode(nodeId: string): void;
603
604
  pasteImage(parentId: string, imageData: string, width?: number, height?: number): void;
604
605
  onEditEnd(): void;