@nocobase/plugin-graph-collection-manager 1.2.12-alpha → 1.3.0-alpha.20240710084543
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/package.json +2 -2
- package/dist/client/GraphCollectionShortcut.d.ts +0 -10
- package/dist/client/GraphDrawPage.d.ts +0 -21
- package/dist/client/action-hooks.d.ts +0 -39
- package/dist/client/components/AddCollectionAction.d.ts +0 -12
- package/dist/client/components/AddFieldAction.d.ts +0 -13
- package/dist/client/components/CollectionNodeProvder.d.ts +0 -18
- package/dist/client/components/ConnectAssociationAction.d.ts +0 -10
- package/dist/client/components/ConnectChildAction.d.ts +0 -10
- package/dist/client/components/ConnectParentAction.d.ts +0 -10
- package/dist/client/components/ConnectorAction.d.ts +0 -10
- package/dist/client/components/DeleteCollectionAction.d.ts +0 -14
- package/dist/client/components/DirectionAction.d.ts +0 -10
- package/dist/client/components/EditCollectionAction.d.ts +0 -13
- package/dist/client/components/EditFieldAction.d.ts +0 -13
- package/dist/client/components/Entity.d.ts +0 -15
- package/dist/client/components/FieldSummary.d.ts +0 -10
- package/dist/client/components/FullScreenAction.d.ts +0 -10
- package/dist/client/components/LocateCollectionAction.d.ts +0 -10
- package/dist/client/components/OverrideFieldAction.d.ts +0 -13
- package/dist/client/components/SelectCollectionsAction.d.ts +0 -10
- package/dist/client/components/ViewFieldAction.d.ts +0 -13
- package/dist/client/components/ViewNode.d.ts +0 -13
- package/dist/client/index.d.ts +0 -13
- package/dist/client/index.js +0 -742
- package/dist/client/locale/index.d.ts +0 -9
- package/dist/client/style.d.ts +0 -20
- package/dist/client/utils.d.ts +0 -29
- package/dist/externalVersion.js +0 -26
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -48
- package/dist/locale/en-US.json +0 -15
- package/dist/locale/es-ES.json +0 -15
- package/dist/locale/fr-FR.json +0 -15
- package/dist/locale/ja-JP.json +0 -13
- package/dist/locale/ko_KR.json +0 -16
- package/dist/locale/pt-BR.json +0 -15
- package/dist/locale/zh-CN.json +0 -16
- package/dist/server/collections/graphPositions.d.ts +0 -10
- package/dist/server/collections/graphPositions.js +0 -52
- package/dist/server/index.d.ts +0 -13
- package/dist/server/index.js +0 -46
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"displayName.zh-CN": "可视化数据表管理",
|
|
5
5
|
"description": "An ER diagram-like tool. Currently only the Master database is supported.",
|
|
6
6
|
"description.zh-CN": "类似 ER 图的工具,目前只支持主数据库。",
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.3.0-alpha.20240710084543",
|
|
8
8
|
"license": "AGPL-3.0",
|
|
9
9
|
"main": "./dist/server/index.js",
|
|
10
10
|
"homepage": "https://docs.nocobase.com/handbook/graph-collection-manager",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@nocobase/test": "1.x",
|
|
36
36
|
"@nocobase/utils": "1.x"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "07a8b596fc64a9779a194cb9b0dc2ca7570ed9d4",
|
|
39
39
|
"keywords": [
|
|
40
40
|
"Data model tools"
|
|
41
41
|
]
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const GraphCollectionPane: () => React.JSX.Element;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare enum DirectionType {
|
|
11
|
-
Both = "both",
|
|
12
|
-
Target = "target",
|
|
13
|
-
Source = "source"
|
|
14
|
-
}
|
|
15
|
-
export declare enum ConnectionType {
|
|
16
|
-
Both = "both",
|
|
17
|
-
Inherit = "inherited",
|
|
18
|
-
Entity = "entity"
|
|
19
|
-
}
|
|
20
|
-
export declare const CollapsedContext: React.Context<any>;
|
|
21
|
-
export declare const GraphDrawPage: React.MemoExoticComponent<() => React.JSX.Element>;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const useValuesFromRecord: (options: any, data: any) => import("@nocobase/client").UseRequestResult<unknown>;
|
|
11
|
-
export declare const SourceCollection: React.MemoExoticComponent<import("@formily/react").ReactFC<unknown>>;
|
|
12
|
-
export declare const useCancelAction: () => {
|
|
13
|
-
run(): Promise<void>;
|
|
14
|
-
};
|
|
15
|
-
export declare const useCreateActionAndRefreshCM: (setTargetNode: any) => {
|
|
16
|
-
run(): Promise<void>;
|
|
17
|
-
};
|
|
18
|
-
export declare const useCreateAction: (collectionName: any, targetId?: any) => {
|
|
19
|
-
run(): Promise<void>;
|
|
20
|
-
};
|
|
21
|
-
export declare const useUpdateFieldAction: ({ collectionName, name, key }: {
|
|
22
|
-
collectionName: any;
|
|
23
|
-
name: any;
|
|
24
|
-
key: any;
|
|
25
|
-
}) => {
|
|
26
|
-
run(): Promise<void>;
|
|
27
|
-
};
|
|
28
|
-
export declare const useUpdateCollectionActionAndRefreshCM: () => {
|
|
29
|
-
run(): Promise<void>;
|
|
30
|
-
};
|
|
31
|
-
export declare const useDestroyActionAndRefreshCM: (props: any) => {
|
|
32
|
-
run(): Promise<void>;
|
|
33
|
-
};
|
|
34
|
-
export declare const useDestroyFieldActionAndRefreshCM: (props: any) => {
|
|
35
|
-
run(): Promise<void>;
|
|
36
|
-
};
|
|
37
|
-
export declare const useAsyncDataSource: (service: any) => (field: any, { targetScope }: {
|
|
38
|
-
targetScope: any;
|
|
39
|
-
}) => void;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const AddCollectionAction: ({ item: recordData }: {
|
|
11
|
-
item: any;
|
|
12
|
-
}) => React.JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const AddFieldAction: ({ item: record, database }: {
|
|
11
|
-
item: any;
|
|
12
|
-
database: any;
|
|
13
|
-
}) => React.JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
interface CollectionNodeOptions {
|
|
11
|
-
setTargetNode?: Function;
|
|
12
|
-
node?: Node | any;
|
|
13
|
-
record?: Object;
|
|
14
|
-
handelOpenPorts?: Function;
|
|
15
|
-
}
|
|
16
|
-
export declare const GraphCollectionContext: React.Context<any>;
|
|
17
|
-
export declare const CollectionNodeProvder: React.FC<CollectionNodeOptions>;
|
|
18
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const ConnectAssociationAction: (props: any) => React.JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const ConnectChildAction: (props: any) => React.JSX.Element | "";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const ConnectParentAction: (props: any) => React.JSX.Element | "";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const ConnectorAction: (props: any) => React.JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const DeleteCollectionAction: ({ item: record, className, ...other }: {
|
|
11
|
-
[x: string]: any;
|
|
12
|
-
item: any;
|
|
13
|
-
className: any;
|
|
14
|
-
}) => React.JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const DirectionAction: (props: any) => React.JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const EditCollectionAction: ({ item: record, className }: {
|
|
11
|
-
item: any;
|
|
12
|
-
className: any;
|
|
13
|
-
}) => React.JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const EditFieldAction: ({ item: record, parentItem: ParentRecord }: {
|
|
11
|
-
item: any;
|
|
12
|
-
parentItem: any;
|
|
13
|
-
}) => React.JSX.Element;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
declare const Entity: React.FC<{
|
|
11
|
-
node?: Node | any;
|
|
12
|
-
setTargetNode: Function | any;
|
|
13
|
-
targetGraph: any;
|
|
14
|
-
}>;
|
|
15
|
-
export default Entity;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const FieldSummary: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<any, "ref">>>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const FullscreenAction: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const LocateCollectionAction: (props: any) => React.JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const OverrideFieldAction: ({ item: record, parentItem: parentRecord }: {
|
|
11
|
-
item: any;
|
|
12
|
-
parentItem: any;
|
|
13
|
-
}) => React.JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const SelectCollectionsAction: (props: any) => React.JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const ViewFieldAction: ({ item: record, parentItem: parentRecord }: {
|
|
11
|
-
item: any;
|
|
12
|
-
parentItem: any;
|
|
13
|
-
}) => React.JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { NodeView } from '@antv/x6';
|
|
10
|
-
export declare class SimpleNodeView extends NodeView {
|
|
11
|
-
protected renderMarkup(): void;
|
|
12
|
-
update(): void;
|
|
13
|
-
}
|
package/dist/client/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { Plugin } from '@nocobase/client';
|
|
10
|
-
export declare class PluginGraphCollectionPlugin extends Plugin {
|
|
11
|
-
load(): Promise<void>;
|
|
12
|
-
}
|
|
13
|
-
export default PluginGraphCollectionPlugin;
|