@nocobase/plugin-graph-collection-manager 1.2.13-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
|
@@ -1,9 +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
|
-
export declare const NAMESPACE = "graph-collection-manager";
|
package/dist/client/style.d.ts
DELETED
|
@@ -1,20 +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
|
-
declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
10
|
-
graphMinimap: import("antd-style").SerializedStyles;
|
|
11
|
-
addButtonClass: import("antd-style").SerializedStyles;
|
|
12
|
-
entityContainer: import("antd-style").SerializedStyles;
|
|
13
|
-
headClass: import("antd-style").SerializedStyles;
|
|
14
|
-
tableNameClass: import("antd-style").SerializedStyles;
|
|
15
|
-
tableBtnClass: import("antd-style").SerializedStyles;
|
|
16
|
-
collectionPopoverClass: import("antd-style").SerializedStyles;
|
|
17
|
-
collectionListClass: import("antd-style").SerializedStyles;
|
|
18
|
-
graphCollectionContainerClass: import("antd-style").SerializedStyles;
|
|
19
|
-
}>;
|
|
20
|
-
export default useStyles;
|
package/dist/client/utils.d.ts
DELETED
|
@@ -1,29 +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 lodash from 'lodash';
|
|
10
|
-
import { CollectionOptions } from '@nocobase/client';
|
|
11
|
-
export declare const useGCMTranslation: () => import("react-i18next").UseTranslationResponse<"graph-collection-manager", undefined>;
|
|
12
|
-
export declare const getInheritCollections: (collections: any, name: any) => any[];
|
|
13
|
-
export declare const getChildrenCollections: (collections: any, name: any) => any[];
|
|
14
|
-
export declare const formatData: (data: any) => {
|
|
15
|
-
nodesData: any;
|
|
16
|
-
edgesData: any[];
|
|
17
|
-
inheritEdges: any[];
|
|
18
|
-
};
|
|
19
|
-
export declare const formatPortData: (ports: any) => lodash.Dictionary<any[]>;
|
|
20
|
-
export declare const formatInheritEdgeData: (collections: any) => any[];
|
|
21
|
-
export declare const getDiffNode: (newNodes: any, oldNodes: any) => any[];
|
|
22
|
-
export declare const getDiffEdge: (newEdges: any, oldEdges: any) => any[];
|
|
23
|
-
/**
|
|
24
|
-
* 所有的 getPopupContainer 都需要保证返回的是唯一的 div。React 18 concurrent 下会反复调用该方法
|
|
25
|
-
* 参考:https://ant.design/docs/react/migration-v5-cn#%E5%8D%87%E7%BA%A7%E5%87%86%E5%A4%87
|
|
26
|
-
*/
|
|
27
|
-
export declare const getPopupContainer: () => any;
|
|
28
|
-
export declare const cleanGraphContainer: () => void;
|
|
29
|
-
export declare const collection: CollectionOptions;
|
package/dist/externalVersion.js
DELETED
|
@@ -1,26 +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
|
-
|
|
10
|
-
module.exports = {
|
|
11
|
-
"@ant-design/icons": "5.2.6",
|
|
12
|
-
"@formily/shared": "2.3.0",
|
|
13
|
-
"@nocobase/client": "1.2.13-alpha",
|
|
14
|
-
"react": "18.2.0",
|
|
15
|
-
"@emotion/css": "11.11.2",
|
|
16
|
-
"@formily/react": "2.3.0",
|
|
17
|
-
"antd": "5.12.8",
|
|
18
|
-
"lodash": "4.17.21",
|
|
19
|
-
"react-router-dom": "6.21.0",
|
|
20
|
-
"@formily/reactive": "2.3.0",
|
|
21
|
-
"@nocobase/utils": "1.2.13-alpha",
|
|
22
|
-
"react-i18next": "11.18.6",
|
|
23
|
-
"@nocobase/server": "1.2.13-alpha",
|
|
24
|
-
"ahooks": "3.7.8",
|
|
25
|
-
"@nocobase/database": "1.2.13-alpha"
|
|
26
|
-
};
|
package/dist/index.d.ts
DELETED
|
@@ -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
|
-
export * from './server';
|
|
10
|
-
export { default } from './server';
|
package/dist/index.js
DELETED
|
@@ -1,48 +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
|
-
|
|
10
|
-
var __create = Object.create;
|
|
11
|
-
var __defProp = Object.defineProperty;
|
|
12
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
13
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
14
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
15
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
16
|
-
var __export = (target, all) => {
|
|
17
|
-
for (var name in all)
|
|
18
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
19
|
-
};
|
|
20
|
-
var __copyProps = (to, from, except, desc) => {
|
|
21
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
22
|
-
for (let key of __getOwnPropNames(from))
|
|
23
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
24
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
25
|
-
}
|
|
26
|
-
return to;
|
|
27
|
-
};
|
|
28
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
29
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
30
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
31
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
32
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
33
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
34
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
35
|
-
mod
|
|
36
|
-
));
|
|
37
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
38
|
-
var src_exports = {};
|
|
39
|
-
__export(src_exports, {
|
|
40
|
-
default: () => import_server.default
|
|
41
|
-
});
|
|
42
|
-
module.exports = __toCommonJS(src_exports);
|
|
43
|
-
__reExport(src_exports, require("./server"), module.exports);
|
|
44
|
-
var import_server = __toESM(require("./server"));
|
|
45
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
46
|
-
0 && (module.exports = {
|
|
47
|
-
...require("./server")
|
|
48
|
-
});
|
package/dist/locale/en-US.json
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"Graph Collection": "Graph Collection",
|
|
3
|
-
"Collection List": "Collection List",
|
|
4
|
-
"Full Screen": "Full Screen",
|
|
5
|
-
"Collection Search": "Collection Search",
|
|
6
|
-
"Create Collection": "Create Collection",
|
|
7
|
-
"All Fields": "All Fields",
|
|
8
|
-
"Association Fields": "Association Fields",
|
|
9
|
-
"Choices fields": "Choices fields",
|
|
10
|
-
"All relationships": "All relationships",
|
|
11
|
-
"Entity relationship only": "Entity relationship only",
|
|
12
|
-
"Inheritance relationship only": "Inheritance relationship only",
|
|
13
|
-
"Graphical interface": "Graphical interface",
|
|
14
|
-
"Selection": "Selection"
|
|
15
|
-
}
|
package/dist/locale/es-ES.json
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"Graph Collection": "Colección de gráficos",
|
|
3
|
-
"Collection List": "Lista de colecciones",
|
|
4
|
-
"Full Screen": "Vista completa",
|
|
5
|
-
"Collection Search": "Búsqueda de colecciones",
|
|
6
|
-
"Create Collection": "Crear colección",
|
|
7
|
-
"All Fields": "Todos los campos",
|
|
8
|
-
"Association Fields": "Campos de asociación",
|
|
9
|
-
"Optional fields": "Campos opcionales",
|
|
10
|
-
"All relationships": "Todas las relaciones",
|
|
11
|
-
"Entity relationship only": "Sólo relaciones de entidad",
|
|
12
|
-
"Inheritance relationship only": "Sólo relaciones de herencia",
|
|
13
|
-
"Graphical interface": "Interfaz gráfica",
|
|
14
|
-
"Selection": "Selección"
|
|
15
|
-
}
|
package/dist/locale/fr-FR.json
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"Graph Collection": "Collection de graphiques",
|
|
3
|
-
"Collection List": "Liste des collections",
|
|
4
|
-
"Full Screen": "Plein écran",
|
|
5
|
-
"Collection Search": "Recherche de collection",
|
|
6
|
-
"Create Collection": "Créer une collection",
|
|
7
|
-
"All Fields": "Tous les champs",
|
|
8
|
-
"Association Fields": "Champs d'association",
|
|
9
|
-
"Choices fields": "Champs de choix",
|
|
10
|
-
"All relationships": "Toutes les relations",
|
|
11
|
-
"Entity relationship only": "Uniquement les relations d'entité",
|
|
12
|
-
"Inheritance relationship only": "Uniquement les relations d'héritage",
|
|
13
|
-
"Graphical interface": "Interface graphique",
|
|
14
|
-
"Selection": "Sélection"
|
|
15
|
-
}
|
package/dist/locale/ja-JP.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"Graph Collection": "グラフ化データテーブル",
|
|
3
|
-
"Collection List": "データテーブルリスト",
|
|
4
|
-
"Full Screen": "フルスクリーン",
|
|
5
|
-
"Collection Search": "表フィルタ",
|
|
6
|
-
"Create Collection": "データテーブルの作成",
|
|
7
|
-
"All Fields": "すべて",
|
|
8
|
-
"Associations Fields": "関係フィールド",
|
|
9
|
-
"All relationships": "すべての関係",
|
|
10
|
-
"Entity relationship only": "エンティティ関係",
|
|
11
|
-
"Inheritance relationship only": "継承関係",
|
|
12
|
-
"Selection": "せんたく"
|
|
13
|
-
}
|
package/dist/locale/ko_KR.json
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"Graph Collection": "그래픽 데이터 테이블",
|
|
3
|
-
"Collection List": "데이터 테이블 목록",
|
|
4
|
-
"Full Screen": "전체 화면",
|
|
5
|
-
"Collection Search": "테이블 검색",
|
|
6
|
-
"Create Collection": "데이터 테이블 생성",
|
|
7
|
-
"All Fields": "모두",
|
|
8
|
-
"Association Fields": "연관 필드",
|
|
9
|
-
"Choices fields": "선택 필드",
|
|
10
|
-
"All relationships": "모든 관계",
|
|
11
|
-
"Entity relationship only": "엔터티 관계만",
|
|
12
|
-
"Inheritance relationship only": "상속 관계만",
|
|
13
|
-
"Graphical interface": "그래픽 인터페이스",
|
|
14
|
-
"Auto layout": "자동 레이아웃",
|
|
15
|
-
"Selection": "선택 모드"
|
|
16
|
-
}
|
package/dist/locale/pt-BR.json
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"Graph Collection": "Coleção de Gráficos",
|
|
3
|
-
"Collection List": "Lista de Coleções",
|
|
4
|
-
"Full Screen": "Tela Cheia",
|
|
5
|
-
"Collection Search": "Busca de Coleção",
|
|
6
|
-
"Create Collection": "Criar Coleção",
|
|
7
|
-
"All Fields": "Todos os Campos",
|
|
8
|
-
"Association Fields": "Campos de Associação",
|
|
9
|
-
"Choices fields": "Campos de opções",
|
|
10
|
-
"All relationships": "Todos os relacionamentos",
|
|
11
|
-
"Entity relationship only": "Somente relação de Entidade",
|
|
12
|
-
"Inheritance relationship only": "Somente relação de Herança",
|
|
13
|
-
"Graphical interface": "Interface Gráfica",
|
|
14
|
-
"Selection": "Seleção"
|
|
15
|
-
}
|
package/dist/locale/zh-CN.json
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"Graph Collection": "图形化数据表",
|
|
3
|
-
"Collection List": "数据表列表",
|
|
4
|
-
"Full Screen": "全屏",
|
|
5
|
-
"Collection Search": "表筛选",
|
|
6
|
-
"Create Collection": "创建数据表",
|
|
7
|
-
"All Fields": "全部",
|
|
8
|
-
"Association Fields": "关系字段",
|
|
9
|
-
"Choices fields": "选项字段",
|
|
10
|
-
"All relationships": "所有关系",
|
|
11
|
-
"Entity relationship only": "实体关系",
|
|
12
|
-
"Inheritance relationship only": "继承关系",
|
|
13
|
-
"Graphical interface": "图形化界面",
|
|
14
|
-
"Auto layout": "自动布局",
|
|
15
|
-
"Selection": "选择模式"
|
|
16
|
-
}
|
|
@@ -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
|
-
declare const _default: import("@nocobase/database").CollectionOptions;
|
|
10
|
-
export default _default;
|
|
@@ -1,52 +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
|
-
|
|
10
|
-
var __defProp = Object.defineProperty;
|
|
11
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
13
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
|
-
var __export = (target, all) => {
|
|
15
|
-
for (var name in all)
|
|
16
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
17
|
-
};
|
|
18
|
-
var __copyProps = (to, from, except, desc) => {
|
|
19
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
20
|
-
for (let key of __getOwnPropNames(from))
|
|
21
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
22
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
23
|
-
}
|
|
24
|
-
return to;
|
|
25
|
-
};
|
|
26
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
27
|
-
var graphPositions_exports = {};
|
|
28
|
-
__export(graphPositions_exports, {
|
|
29
|
-
default: () => graphPositions_default
|
|
30
|
-
});
|
|
31
|
-
module.exports = __toCommonJS(graphPositions_exports);
|
|
32
|
-
var import_database = require("@nocobase/database");
|
|
33
|
-
var graphPositions_default = (0, import_database.defineCollection)({
|
|
34
|
-
dumpRules: "required",
|
|
35
|
-
name: "graphPositions",
|
|
36
|
-
shared: true,
|
|
37
|
-
fields: [
|
|
38
|
-
{
|
|
39
|
-
type: "string",
|
|
40
|
-
name: "collectionName",
|
|
41
|
-
unique: true
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
type: "double",
|
|
45
|
-
name: "x"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
type: "double",
|
|
49
|
-
name: "y"
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
});
|
package/dist/server/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/server';
|
|
10
|
-
export declare class PluginGraphCollectionManagerServer extends Plugin {
|
|
11
|
-
load(): Promise<void>;
|
|
12
|
-
}
|
|
13
|
-
export default PluginGraphCollectionManagerServer;
|
package/dist/server/index.js
DELETED
|
@@ -1,46 +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
|
-
|
|
10
|
-
var __defProp = Object.defineProperty;
|
|
11
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
13
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
|
-
var __export = (target, all) => {
|
|
15
|
-
for (var name in all)
|
|
16
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
17
|
-
};
|
|
18
|
-
var __copyProps = (to, from, except, desc) => {
|
|
19
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
20
|
-
for (let key of __getOwnPropNames(from))
|
|
21
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
22
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
23
|
-
}
|
|
24
|
-
return to;
|
|
25
|
-
};
|
|
26
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
27
|
-
var server_exports = {};
|
|
28
|
-
__export(server_exports, {
|
|
29
|
-
PluginGraphCollectionManagerServer: () => PluginGraphCollectionManagerServer,
|
|
30
|
-
default: () => server_default
|
|
31
|
-
});
|
|
32
|
-
module.exports = __toCommonJS(server_exports);
|
|
33
|
-
var import_server = require("@nocobase/server");
|
|
34
|
-
class PluginGraphCollectionManagerServer extends import_server.Plugin {
|
|
35
|
-
async load() {
|
|
36
|
-
this.app.acl.registerSnippet({
|
|
37
|
-
name: "pm.data-source-manager.graph-collection-manager",
|
|
38
|
-
actions: ["graphPositions:*"]
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
var server_default = PluginGraphCollectionManagerServer;
|
|
43
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
-
0 && (module.exports = {
|
|
45
|
-
PluginGraphCollectionManagerServer
|
|
46
|
-
});
|