flow-mindmap 0.3.2 → 0.3.3
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.
|
@@ -4,14 +4,19 @@ type __VLS_Props = {
|
|
|
4
4
|
/** Cursor Y in viewport coords (clientY). */
|
|
5
5
|
y: number;
|
|
6
6
|
/** Container the menu should not escape. Used to clamp the
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
7
10
|
* position so the menu stays on-screen. */
|
|
8
11
|
container: HTMLElement | null;
|
|
9
12
|
};
|
|
10
13
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
14
|
close: () => any;
|
|
12
15
|
openSettings: () => any;
|
|
16
|
+
openData: () => any;
|
|
13
17
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
18
|
onClose?: (() => any) | undefined;
|
|
15
19
|
onOpenSettings?: (() => any) | undefined;
|
|
20
|
+
onOpenData?: (() => any) | undefined;
|
|
16
21
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
22
|
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: unknown;
|
|
3
|
+
/** Initial key for this node; empty string when rendering the root. */
|
|
4
|
+
keyName?: string;
|
|
5
|
+
/** When true, the node is at the root of the tree. */
|
|
6
|
+
isRoot?: boolean;
|
|
7
|
+
/** Dot-separated path from the root. Auto-derived when nested. */
|
|
8
|
+
path?: string;
|
|
9
|
+
/** Current depth in the tree (root = 0). */
|
|
10
|
+
depth?: number;
|
|
11
|
+
/** Current filter query (case-insensitive substring). */
|
|
12
|
+
query?: string;
|
|
13
|
+
/** Pre-computed set of collapsed paths (so the parent's state survives
|
|
14
|
+
* across re-renders when a different subtree is expanded). */
|
|
15
|
+
collapsedPaths?: Set<string>;
|
|
16
|
+
};
|
|
17
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
+
path: string;
|
|
19
|
+
depth: number;
|
|
20
|
+
isRoot: boolean;
|
|
21
|
+
keyName: string;
|
|
22
|
+
query: string;
|
|
23
|
+
collapsedPaths: Set<string>;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
export default _default;
|
|
@@ -77,12 +77,14 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
77
77
|
"edit-note": (nodeId: string) => any;
|
|
78
78
|
markdownChange: (markdown: string) => any;
|
|
79
79
|
"canvas-settings": () => any;
|
|
80
|
+
"canvas-data": () => any;
|
|
80
81
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
81
82
|
onSelect?: ((node: MindMapNode | null) => any) | undefined;
|
|
82
83
|
onChange?: ((data: MindMapNode) => any) | undefined;
|
|
83
84
|
"onEdit-note"?: ((nodeId: string) => any) | undefined;
|
|
84
85
|
onMarkdownChange?: ((markdown: string) => any) | undefined;
|
|
85
86
|
"onCanvas-settings"?: (() => any) | undefined;
|
|
87
|
+
"onCanvas-data"?: (() => any) | undefined;
|
|
86
88
|
}>, {
|
|
87
89
|
previewMode: boolean;
|
|
88
90
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|