flow-mindmap 0.5.0 → 0.5.1
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/JsonTreeViewer.vue.d.ts +2 -2
- package/dist/components/MindMap.vue.d.ts +10 -0
- package/dist/components/NotePanel.vue.d.ts +2 -2
- package/dist/entry.d.ts +2 -0
- package/dist/flow-mindmap.js +12157 -11970
- package/dist/flow-mindmap.umd.cjs +62 -62
- package/dist/style.css +2 -2
- package/package.json +1 -1
|
@@ -16,9 +16,9 @@ type __VLS_Props = {
|
|
|
16
16
|
};
|
|
17
17
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
18
|
path: string;
|
|
19
|
-
depth: number;
|
|
20
|
-
isRoot: boolean;
|
|
21
19
|
keyName: string;
|
|
20
|
+
isRoot: boolean;
|
|
21
|
+
depth: number;
|
|
22
22
|
query: string;
|
|
23
23
|
collapsedPaths: Set<string>;
|
|
24
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -37,6 +37,15 @@ type __VLS_Props = {
|
|
|
37
37
|
* UI.
|
|
38
38
|
*/
|
|
39
39
|
hideCanvasActions?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* When true (default), MindMap renders its own Drawer + Panel
|
|
42
|
+
* components for settings / data / markdown / note / outline —
|
|
43
|
+
* the same experience as the library's built-in MindMapApp.
|
|
44
|
+
* Consumers who want full control can set this to false and
|
|
45
|
+
* wire up the canvas-settings / canvas-data / canvas-import /
|
|
46
|
+
* canvas-outline / edit-note events themselves.
|
|
47
|
+
*/
|
|
48
|
+
builtInDrawers?: boolean;
|
|
40
49
|
};
|
|
41
50
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
42
51
|
addChild: (parentId: string) => void;
|
|
@@ -119,5 +128,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
119
128
|
}>, {
|
|
120
129
|
previewMode: boolean;
|
|
121
130
|
hideCanvasActions: boolean;
|
|
131
|
+
builtInDrawers: boolean;
|
|
122
132
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
123
133
|
export default _default;
|
|
@@ -11,9 +11,9 @@ type __VLS_Props = {
|
|
|
11
11
|
focusTick?: number;
|
|
12
12
|
};
|
|
13
13
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
|
-
"set-link": (url: string) => any;
|
|
15
14
|
apply: (text: string) => any;
|
|
16
15
|
remove: () => any;
|
|
16
|
+
"set-link": (url: string) => any;
|
|
17
17
|
"set-image": (src: string) => any;
|
|
18
18
|
"set-rich": (payload: {
|
|
19
19
|
kind: "code" | "table";
|
|
@@ -21,9 +21,9 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
21
21
|
lang?: string;
|
|
22
22
|
} | null) => any;
|
|
23
23
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
-
"onSet-link"?: ((url: string) => any) | undefined;
|
|
25
24
|
onApply?: ((text: string) => any) | undefined;
|
|
26
25
|
onRemove?: (() => any) | undefined;
|
|
26
|
+
"onSet-link"?: ((url: string) => any) | undefined;
|
|
27
27
|
"onSet-image"?: ((src: string) => any) | undefined;
|
|
28
28
|
"onSet-rich"?: ((payload: {
|
|
29
29
|
kind: "code" | "table";
|
package/dist/entry.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ export type { MindMapNode, MindMapOptions, MindMapTheme, MindMapExpose, MindMapS
|
|
|
15
15
|
export { MindMap, Outline, Drawer, DataPanel, MarkdownPanel, SettingsPanel, NotePanel, MindMapApp };
|
|
16
16
|
export { uid, clone, findNode, findParent, removeNode, addChild, addSibling, markdownToMindMap, mindMapToMarkdown, markdownToRichMindMap, richBlockToMarkdown };
|
|
17
17
|
export { MARKER_LIB, markerSvg, markerLabel, markerDef, tagColor };
|
|
18
|
+
/** Package version, injected at build time from package.json. */
|
|
19
|
+
export declare const VERSION: string;
|
|
18
20
|
declare const plugin: {
|
|
19
21
|
install(app: App): void;
|
|
20
22
|
};
|