flow-mindmap 0.3.1 → 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/components/CanvasContextMenu.vue.d.ts +17 -0
- package/dist/components/MindMap.vue.d.ts +2 -0
- package/dist/flow-mindmap.js +2508 -2439
- package/dist/flow-mindmap.umd.cjs +18 -18
- package/dist/style.css +1 -1
- package/package.json +77 -77
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Cursor X in viewport coords (clientX). */
|
|
3
|
+
x: number;
|
|
4
|
+
/** Cursor Y in viewport coords (clientY). */
|
|
5
|
+
y: number;
|
|
6
|
+
/** Container the menu should not escape. Used to clamp the
|
|
7
|
+
* position so the menu stays on-screen. */
|
|
8
|
+
container: HTMLElement | null;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
close: () => any;
|
|
12
|
+
openSettings: () => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onClose?: (() => any) | undefined;
|
|
15
|
+
onOpenSettings?: (() => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -76,11 +76,13 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
76
76
|
change: (data: MindMapNode) => any;
|
|
77
77
|
"edit-note": (nodeId: string) => any;
|
|
78
78
|
markdownChange: (markdown: string) => any;
|
|
79
|
+
"canvas-settings": () => any;
|
|
79
80
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
80
81
|
onSelect?: ((node: MindMapNode | null) => any) | undefined;
|
|
81
82
|
onChange?: ((data: MindMapNode) => any) | undefined;
|
|
82
83
|
"onEdit-note"?: ((nodeId: string) => any) | undefined;
|
|
83
84
|
onMarkdownChange?: ((markdown: string) => any) | undefined;
|
|
85
|
+
"onCanvas-settings"?: (() => any) | undefined;
|
|
84
86
|
}>, {
|
|
85
87
|
previewMode: boolean;
|
|
86
88
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|