@rxflow/mind-map 0.0.4-alpha.6 → 0.0.4-alpha.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.
- package/cjs/hooks/useMindMapProps.d.ts +11 -27
- package/cjs/hooks/useMindMapProps.d.ts.map +1 -1
- package/cjs/hooks/useMindMapProps.js +13 -34
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +3 -8
- package/esm/hooks/useMindMapProps.d.ts +11 -27
- package/esm/hooks/useMindMapProps.d.ts.map +1 -1
- package/esm/hooks/useMindMapProps.js +11 -30
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -8
- package/package.json +2 -2
|
@@ -6,39 +6,23 @@
|
|
|
6
6
|
* Copyright (c) 2025 by yanxianliang, All Rights Reserved.
|
|
7
7
|
*/
|
|
8
8
|
import { IBaseFlowProps } from '@rxflow/base';
|
|
9
|
-
import {
|
|
10
|
-
type
|
|
9
|
+
import { MindMapExtendProps } from '../types';
|
|
10
|
+
type MindMapFullProps = IBaseFlowProps & MindMapExtendProps;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* 获取 Flow props
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
|
-
* const
|
|
16
|
-
* const root =
|
|
15
|
+
* const props = useMindMapProps();
|
|
16
|
+
* const root = useMindMapProps(state => state.root);
|
|
17
17
|
*/
|
|
18
|
-
export declare function
|
|
19
|
-
export declare function
|
|
18
|
+
export declare function useMindMapProps(): MindMapFullProps;
|
|
19
|
+
export declare function useMindMapProps<U>(selector: (state: MindMapFullProps) => U): U;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* const flowProps = useMindMapFlowProps();
|
|
25
|
-
* const nodes = useMindMapFlowProps(state => state.nodes);
|
|
26
|
-
*/
|
|
27
|
-
export declare function useMindMapFlowProps(): MindMapFullFlowProps;
|
|
28
|
-
export declare function useMindMapFlowProps<U>(selector: (state: MindMapFullFlowProps) => U): U;
|
|
29
|
-
/**
|
|
30
|
-
* 获取原始输入 props 的 getter(非响应式)
|
|
31
|
-
*/
|
|
32
|
-
export declare const useGetMindMapInputProps: () => {
|
|
33
|
-
(): MindMapFlowProps;
|
|
34
|
-
<U>(selector: (state: MindMapFlowProps) => U): U;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* 获取转换后 Flow props 的 getter(非响应式)
|
|
21
|
+
* 获取 Flow props 的 getter(非响应式)
|
|
38
22
|
*/
|
|
39
|
-
export declare const
|
|
40
|
-
():
|
|
41
|
-
<U>(selector: (state:
|
|
23
|
+
export declare const useGetMindMapProps: () => {
|
|
24
|
+
(): MindMapFullProps;
|
|
25
|
+
<U>(selector: (state: MindMapFullProps) => U): U;
|
|
42
26
|
};
|
|
43
27
|
/**
|
|
44
28
|
* 获取 root 节点数据
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMindMapProps.d.ts","sourceRoot":"","sources":["useMindMapProps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"useMindMapProps.d.ts","sourceRoot":"","sources":["useMindMapProps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAiC,cAAc,EAAE,MAAM,cAAc,CAAC;AAC7E,OAAO,EAAoB,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEhE,KAAK,gBAAgB,GAAG,cAAc,GAAG,kBAAkB,CAAC;AAE5D;;;;;;GAMG;AACH,wBAAgB,eAAe,IAAI,gBAAgB,CAAC;AACpD,wBAAgB,eAAe,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,CAAC,GAAG,CAAC,CAAC;AAKhF;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;CAE9B,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,cAAc,wFAA6C,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,eAAe,oGAA8C,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,cAAc,iDAAoD,CAAC;AAEhF;;GAEG;AACH,eAAO,MAAM,aAAa,iDAAmD,CAAC"}
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.useLayoutType = exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.useMindMapInputProps = useMindMapInputProps;
|
|
6
|
+
exports.useLayoutType = exports.useGetMindMapProps = void 0;
|
|
7
|
+
exports.useMindMapProps = useMindMapProps;
|
|
9
8
|
exports.useShowTooltip = exports.useMindMapTheme = exports.useMindMapRoot = void 0;
|
|
10
9
|
var _base = require("@rxflow/base");
|
|
11
10
|
/**
|
|
@@ -17,41 +16,21 @@ var _base = require("@rxflow/base");
|
|
|
17
16
|
*/
|
|
18
17
|
|
|
19
18
|
/**
|
|
20
|
-
*
|
|
19
|
+
* 获取 Flow props
|
|
21
20
|
*
|
|
22
21
|
* @example
|
|
23
|
-
* const
|
|
24
|
-
* const root =
|
|
22
|
+
* const props = useMindMapProps();
|
|
23
|
+
* const root = useMindMapProps(state => state.root);
|
|
25
24
|
*/
|
|
26
25
|
|
|
27
|
-
function
|
|
28
|
-
return (0, _base.useInputProps)(selector);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* 获取转换后的 Flow props
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* const flowProps = useMindMapFlowProps();
|
|
36
|
-
* const nodes = useMindMapFlowProps(state => state.nodes);
|
|
37
|
-
*/
|
|
38
|
-
|
|
39
|
-
function useMindMapFlowProps(selector) {
|
|
26
|
+
function useMindMapProps(selector) {
|
|
40
27
|
return (0, _base.useFlowProps)(selector);
|
|
41
28
|
}
|
|
42
29
|
|
|
43
30
|
/**
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
const useGetMindMapInputProps = () => {
|
|
47
|
-
return (0, _base.useGetInputProps)();
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* 获取转换后 Flow props 的 getter(非响应式)
|
|
31
|
+
* 获取 Flow props 的 getter(非响应式)
|
|
52
32
|
*/
|
|
53
|
-
|
|
54
|
-
const useGetMindMapFlowProps = () => {
|
|
33
|
+
const useGetMindMapProps = () => {
|
|
55
34
|
return (0, _base.useGetFlowProps)();
|
|
56
35
|
};
|
|
57
36
|
|
|
@@ -59,24 +38,24 @@ const useGetMindMapFlowProps = () => {
|
|
|
59
38
|
/**
|
|
60
39
|
* 获取 root 节点数据
|
|
61
40
|
*/
|
|
62
|
-
exports.
|
|
63
|
-
const useMindMapRoot = () =>
|
|
41
|
+
exports.useGetMindMapProps = useGetMindMapProps;
|
|
42
|
+
const useMindMapRoot = () => useMindMapProps(state => state.root);
|
|
64
43
|
|
|
65
44
|
/**
|
|
66
45
|
* 获取主题配置
|
|
67
46
|
*/
|
|
68
47
|
exports.useMindMapRoot = useMindMapRoot;
|
|
69
|
-
const useMindMapTheme = () =>
|
|
48
|
+
const useMindMapTheme = () => useMindMapProps(state => state.theme);
|
|
70
49
|
|
|
71
50
|
/**
|
|
72
51
|
* 获取是否显示 tooltip
|
|
73
52
|
*/
|
|
74
53
|
exports.useMindMapTheme = useMindMapTheme;
|
|
75
|
-
const useShowTooltip = () =>
|
|
54
|
+
const useShowTooltip = () => useMindMapProps(state => state.showTooltip);
|
|
76
55
|
|
|
77
56
|
/**
|
|
78
57
|
* 获取布局类型
|
|
79
58
|
*/
|
|
80
59
|
exports.useShowTooltip = useShowTooltip;
|
|
81
|
-
const useLayoutType = () =>
|
|
60
|
+
const useLayoutType = () => useMindMapProps(state => state.layoutType);
|
|
82
61
|
exports.useLayoutType = useLayoutType;
|
package/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAsB,gBAAgB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAsB,gBAAgB,EAAE,MAAM,SAAS,CAAC;AA0C/D,QAAA,MAAM,WAAW,yGAmBW,CAAC;AAE7B,eAAe,WAAW,CAAC;AAG3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAG5B,cAAc,yBAAyB,CAAC"}
|
package/cjs/index.js
CHANGED
|
@@ -58,6 +58,7 @@ const defaultFitViewOptions = {
|
|
|
58
58
|
minZoom: 1,
|
|
59
59
|
maxZoom: 1
|
|
60
60
|
};
|
|
61
|
+
const onNodeClick = () => {};
|
|
61
62
|
|
|
62
63
|
/**
|
|
63
64
|
* Props 转换 hook
|
|
@@ -66,8 +67,7 @@ const useMindMapPropsTransform = props => {
|
|
|
66
67
|
const {
|
|
67
68
|
nodeTypes: customNodeTypes = [],
|
|
68
69
|
root,
|
|
69
|
-
fitViewOptions: userFitViewOptions
|
|
70
|
-
flowProps: userFlowProps
|
|
70
|
+
fitViewOptions: userFitViewOptions
|
|
71
71
|
} = props;
|
|
72
72
|
|
|
73
73
|
// 将 root 转换为 nodes(放在外层)
|
|
@@ -80,11 +80,6 @@ const useMindMapPropsTransform = props => {
|
|
|
80
80
|
...defaultFitViewOptions,
|
|
81
81
|
...userFitViewOptions
|
|
82
82
|
}), [userFitViewOptions]);
|
|
83
|
-
|
|
84
|
-
// 合并 flowProps(不常用的配置)
|
|
85
|
-
const flowProps = (0, _react.useMemo)(() => ({
|
|
86
|
-
...userFlowProps
|
|
87
|
-
}), [userFlowProps]);
|
|
88
83
|
return {
|
|
89
84
|
...props,
|
|
90
85
|
autoCenter: false,
|
|
@@ -96,7 +91,7 @@ const useMindMapPropsTransform = props => {
|
|
|
96
91
|
minZoom: 1,
|
|
97
92
|
maxZoom: 1,
|
|
98
93
|
fitViewOptions,
|
|
99
|
-
|
|
94
|
+
onNodeClick: props.onNodeClick || onNodeClick // 支持点击事件
|
|
100
95
|
};
|
|
101
96
|
};
|
|
102
97
|
const MindMapFlow = (0, _base.createFlow)(props => {
|
|
@@ -6,39 +6,23 @@
|
|
|
6
6
|
* Copyright (c) 2025 by yanxianliang, All Rights Reserved.
|
|
7
7
|
*/
|
|
8
8
|
import { IBaseFlowProps } from '@rxflow/base';
|
|
9
|
-
import {
|
|
10
|
-
type
|
|
9
|
+
import { MindMapExtendProps } from '../types';
|
|
10
|
+
type MindMapFullProps = IBaseFlowProps & MindMapExtendProps;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* 获取 Flow props
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
|
-
* const
|
|
16
|
-
* const root =
|
|
15
|
+
* const props = useMindMapProps();
|
|
16
|
+
* const root = useMindMapProps(state => state.root);
|
|
17
17
|
*/
|
|
18
|
-
export declare function
|
|
19
|
-
export declare function
|
|
18
|
+
export declare function useMindMapProps(): MindMapFullProps;
|
|
19
|
+
export declare function useMindMapProps<U>(selector: (state: MindMapFullProps) => U): U;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* const flowProps = useMindMapFlowProps();
|
|
25
|
-
* const nodes = useMindMapFlowProps(state => state.nodes);
|
|
26
|
-
*/
|
|
27
|
-
export declare function useMindMapFlowProps(): MindMapFullFlowProps;
|
|
28
|
-
export declare function useMindMapFlowProps<U>(selector: (state: MindMapFullFlowProps) => U): U;
|
|
29
|
-
/**
|
|
30
|
-
* 获取原始输入 props 的 getter(非响应式)
|
|
31
|
-
*/
|
|
32
|
-
export declare const useGetMindMapInputProps: () => {
|
|
33
|
-
(): MindMapFlowProps;
|
|
34
|
-
<U>(selector: (state: MindMapFlowProps) => U): U;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* 获取转换后 Flow props 的 getter(非响应式)
|
|
21
|
+
* 获取 Flow props 的 getter(非响应式)
|
|
38
22
|
*/
|
|
39
|
-
export declare const
|
|
40
|
-
():
|
|
41
|
-
<U>(selector: (state:
|
|
23
|
+
export declare const useGetMindMapProps: () => {
|
|
24
|
+
(): MindMapFullProps;
|
|
25
|
+
<U>(selector: (state: MindMapFullProps) => U): U;
|
|
42
26
|
};
|
|
43
27
|
/**
|
|
44
28
|
* 获取 root 节点数据
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMindMapProps.d.ts","sourceRoot":"","sources":["useMindMapProps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"useMindMapProps.d.ts","sourceRoot":"","sources":["useMindMapProps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAiC,cAAc,EAAE,MAAM,cAAc,CAAC;AAC7E,OAAO,EAAoB,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEhE,KAAK,gBAAgB,GAAG,cAAc,GAAG,kBAAkB,CAAC;AAE5D;;;;;;GAMG;AACH,wBAAgB,eAAe,IAAI,gBAAgB,CAAC;AACpD,wBAAgB,eAAe,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,CAAC,GAAG,CAAC,CAAC;AAKhF;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;CAE9B,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,cAAc,wFAA6C,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,eAAe,oGAA8C,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,cAAc,iDAAoD,CAAC;AAEhF;;GAEG;AACH,eAAO,MAAM,aAAa,iDAAmD,CAAC"}
|
|
@@ -5,43 +5,24 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2025 by yanxianliang, All Rights Reserved.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { useFlowProps, useGetFlowProps } from '@rxflow/base';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 获取 Flow props
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
|
-
* const
|
|
15
|
-
* const root =
|
|
14
|
+
* const props = useMindMapProps();
|
|
15
|
+
* const root = useMindMapProps(state => state.root);
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
export function
|
|
19
|
-
return useInputProps(selector);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* 获取转换后的 Flow props
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* const flowProps = useMindMapFlowProps();
|
|
27
|
-
* const nodes = useMindMapFlowProps(state => state.nodes);
|
|
28
|
-
*/
|
|
29
|
-
|
|
30
|
-
export function useMindMapFlowProps(selector) {
|
|
18
|
+
export function useMindMapProps(selector) {
|
|
31
19
|
return useFlowProps(selector);
|
|
32
20
|
}
|
|
33
21
|
|
|
34
22
|
/**
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
export var useGetMindMapInputProps = function useGetMindMapInputProps() {
|
|
38
|
-
return useGetInputProps();
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* 获取转换后 Flow props 的 getter(非响应式)
|
|
23
|
+
* 获取 Flow props 的 getter(非响应式)
|
|
43
24
|
*/
|
|
44
|
-
export var
|
|
25
|
+
export var useGetMindMapProps = function useGetMindMapProps() {
|
|
45
26
|
return useGetFlowProps();
|
|
46
27
|
};
|
|
47
28
|
|
|
@@ -50,7 +31,7 @@ export var useGetMindMapFlowProps = function useGetMindMapFlowProps() {
|
|
|
50
31
|
* 获取 root 节点数据
|
|
51
32
|
*/
|
|
52
33
|
export var useMindMapRoot = function useMindMapRoot() {
|
|
53
|
-
return
|
|
34
|
+
return useMindMapProps(function (state) {
|
|
54
35
|
return state.root;
|
|
55
36
|
});
|
|
56
37
|
};
|
|
@@ -59,7 +40,7 @@ export var useMindMapRoot = function useMindMapRoot() {
|
|
|
59
40
|
* 获取主题配置
|
|
60
41
|
*/
|
|
61
42
|
export var useMindMapTheme = function useMindMapTheme() {
|
|
62
|
-
return
|
|
43
|
+
return useMindMapProps(function (state) {
|
|
63
44
|
return state.theme;
|
|
64
45
|
});
|
|
65
46
|
};
|
|
@@ -68,7 +49,7 @@ export var useMindMapTheme = function useMindMapTheme() {
|
|
|
68
49
|
* 获取是否显示 tooltip
|
|
69
50
|
*/
|
|
70
51
|
export var useShowTooltip = function useShowTooltip() {
|
|
71
|
-
return
|
|
52
|
+
return useMindMapProps(function (state) {
|
|
72
53
|
return state.showTooltip;
|
|
73
54
|
});
|
|
74
55
|
};
|
|
@@ -77,7 +58,7 @@ export var useShowTooltip = function useShowTooltip() {
|
|
|
77
58
|
* 获取布局类型
|
|
78
59
|
*/
|
|
79
60
|
export var useLayoutType = function useLayoutType() {
|
|
80
|
-
return
|
|
61
|
+
return useMindMapProps(function (state) {
|
|
81
62
|
return state.layoutType;
|
|
82
63
|
});
|
|
83
64
|
};
|
package/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAsB,gBAAgB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAsB,gBAAgB,EAAE,MAAM,SAAS,CAAC;AA0C/D,QAAA,MAAM,WAAW,yGAmBW,CAAC;AAE7B,eAAe,WAAW,CAAC;AAG3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAG5B,cAAc,yBAAyB,CAAC"}
|
package/esm/index.js
CHANGED
|
@@ -26,6 +26,7 @@ var defaultFitViewOptions = {
|
|
|
26
26
|
minZoom: 1,
|
|
27
27
|
maxZoom: 1
|
|
28
28
|
};
|
|
29
|
+
var onNodeClick = function onNodeClick() {};
|
|
29
30
|
|
|
30
31
|
/**
|
|
31
32
|
* Props 转换 hook
|
|
@@ -34,8 +35,7 @@ var useMindMapPropsTransform = function useMindMapPropsTransform(props) {
|
|
|
34
35
|
var _props$nodeTypes = props.nodeTypes,
|
|
35
36
|
customNodeTypes = _props$nodeTypes === void 0 ? [] : _props$nodeTypes,
|
|
36
37
|
root = props.root,
|
|
37
|
-
userFitViewOptions = props.fitViewOptions
|
|
38
|
-
userFlowProps = props.flowProps;
|
|
38
|
+
userFitViewOptions = props.fitViewOptions;
|
|
39
39
|
|
|
40
40
|
// 将 root 转换为 nodes(放在外层)
|
|
41
41
|
var nodes = useMemo(function () {
|
|
@@ -46,11 +46,6 @@ var useMindMapPropsTransform = function useMindMapPropsTransform(props) {
|
|
|
46
46
|
var fitViewOptions = useMemo(function () {
|
|
47
47
|
return _objectSpread(_objectSpread({}, defaultFitViewOptions), userFitViewOptions);
|
|
48
48
|
}, [userFitViewOptions]);
|
|
49
|
-
|
|
50
|
-
// 合并 flowProps(不常用的配置)
|
|
51
|
-
var flowProps = useMemo(function () {
|
|
52
|
-
return _objectSpread({}, userFlowProps);
|
|
53
|
-
}, [userFlowProps]);
|
|
54
49
|
return _objectSpread(_objectSpread({}, props), {}, {
|
|
55
50
|
autoCenter: false,
|
|
56
51
|
forceLayout: false,
|
|
@@ -61,7 +56,7 @@ var useMindMapPropsTransform = function useMindMapPropsTransform(props) {
|
|
|
61
56
|
minZoom: 1,
|
|
62
57
|
maxZoom: 1,
|
|
63
58
|
fitViewOptions: fitViewOptions,
|
|
64
|
-
|
|
59
|
+
onNodeClick: props.onNodeClick || onNodeClick // 支持点击事件
|
|
65
60
|
});
|
|
66
61
|
};
|
|
67
62
|
var MindMapFlow = createFlow(function (props) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxflow/mind-map",
|
|
3
|
-
"version": "0.0.4-alpha.
|
|
3
|
+
"version": "0.0.4-alpha.7",
|
|
4
4
|
"description": "资产树/思维导图",
|
|
5
5
|
"homepage": "https://tree-graph.publib.cn/packages/mind-map",
|
|
6
6
|
"repository": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"build": "father build"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@rxflow/base": "^0.0.4-alpha.
|
|
34
|
+
"@rxflow/base": "^0.0.4-alpha.7"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@types/lodash": ">=4.17.16",
|