@nocobase/plugin-graph-collection-manager 0.21.0-alpha.6 → 0.21.0-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.
@@ -1,5 +1,5 @@
1
1
  import { Plugin } from '@nocobase/client';
2
- export declare class GraphCollectionPlugin extends Plugin {
2
+ export declare class PluginGraphCollectionPlugin extends Plugin {
3
3
  load(): Promise<void>;
4
4
  }
5
- export default GraphCollectionPlugin;
5
+ export default PluginGraphCollectionPlugin;
@@ -730,4 +730,4 @@ Error generating stack: `+s.message+`
730
730
  overflow: auto;
731
731
  margin: calc(var(--nb-spacing) * -1);
732
732
  position: relative;
733
- `,id:"graph_container",children:_.jsx(L.SchemaComponent,{schema:{type:"void","x-component":"div",properties:{editor:{type:"void","x-component":"GraphDrawPage"}}},components:{GraphDrawPage:kM,DeleteOutlined:ue.DeleteOutlined},scope:{useCollectionValues:VY,useCreateActionAndRefreshCM:Xv}})}),$M="graph-collection-manager";class IM extends L.Plugin{load(){return Be(this,null,function*(){this.app.pluginSettingsManager.add("data-source-manager/main.graph",{title:`{{t("Graphical interface", { ns: "${$M}" })}}`,Component:qY,topLevelName:"data-source-manager/main",pluginKey:$M,aclSnippet:"pm.data-source-manager.graph"})})}}J.GraphCollectionPlugin=IM,J.default=IM,Object.defineProperties(J,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
733
+ `,id:"graph_container",children:_.jsx(L.SchemaComponent,{schema:{type:"void","x-component":"div",properties:{editor:{type:"void","x-component":"GraphDrawPage"}}},components:{GraphDrawPage:kM,DeleteOutlined:ue.DeleteOutlined},scope:{useCollectionValues:VY,useCreateActionAndRefreshCM:Xv}})}),$M="graph-collection-manager";class IM extends L.Plugin{load(){return Be(this,null,function*(){this.app.pluginSettingsManager.add("data-source-manager/main.graph",{title:`{{t("Graphical interface", { ns: "${$M}" })}}`,Component:qY,topLevelName:"data-source-manager/main",pluginKey:$M,aclSnippet:"pm.data-source-manager.graph"})})}}J.PluginGraphCollectionPlugin=IM,J.default=IM,Object.defineProperties(J,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1,7 +1,7 @@
1
1
  module.exports = {
2
2
  "@ant-design/icons": "5.2.6",
3
3
  "@formily/shared": "2.3.0",
4
- "@nocobase/client": "0.21.0-alpha.6",
4
+ "@nocobase/client": "0.21.0-alpha.7",
5
5
  "react": "18.2.0",
6
6
  "@emotion/css": "11.11.2",
7
7
  "@formily/react": "2.3.0",
@@ -9,9 +9,9 @@ module.exports = {
9
9
  "lodash": "4.17.21",
10
10
  "react-router-dom": "6.21.0",
11
11
  "@formily/reactive": "2.3.0",
12
- "@nocobase/utils": "0.21.0-alpha.6",
12
+ "@nocobase/utils": "0.21.0-alpha.7",
13
13
  "react-i18next": "11.18.6",
14
- "@nocobase/server": "0.21.0-alpha.6",
14
+ "@nocobase/server": "0.21.0-alpha.7",
15
15
  "ahooks": "3.7.8",
16
- "@nocobase/database": "0.21.0-alpha.6"
16
+ "@nocobase/database": "0.21.0-alpha.7"
17
17
  };
@@ -1,5 +1,5 @@
1
1
  import { Plugin } from '@nocobase/server';
2
- export declare class GraphCollectionManagerPlugin extends Plugin {
2
+ export declare class PluginGraphCollectionManagerServer extends Plugin {
3
3
  load(): Promise<void>;
4
4
  }
5
- export default GraphCollectionManagerPlugin;
5
+ export default PluginGraphCollectionManagerServer;
@@ -27,20 +27,20 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
28
  var server_exports = {};
29
29
  __export(server_exports, {
30
- GraphCollectionManagerPlugin: () => GraphCollectionManagerPlugin,
30
+ PluginGraphCollectionManagerServer: () => PluginGraphCollectionManagerServer,
31
31
  default: () => server_default
32
32
  });
33
33
  module.exports = __toCommonJS(server_exports);
34
34
  var import_server = require("@nocobase/server");
35
35
  var import_path = __toESM(require("path"));
36
- class GraphCollectionManagerPlugin extends import_server.Plugin {
36
+ class PluginGraphCollectionManagerServer extends import_server.Plugin {
37
37
  async load() {
38
38
  await this.importCollections(import_path.default.resolve(__dirname, "collections"));
39
39
  this.app.acl.allow("graphPositions", "*");
40
40
  }
41
41
  }
42
- var server_default = GraphCollectionManagerPlugin;
42
+ var server_default = PluginGraphCollectionManagerServer;
43
43
  // Annotate the CommonJS export names for ESM import in node:
44
44
  0 && (module.exports = {
45
- GraphCollectionManagerPlugin
45
+ PluginGraphCollectionManagerServer
46
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": "0.21.0-alpha.6",
7
+ "version": "0.21.0-alpha.7",
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": "0.x",
36
36
  "@nocobase/utils": "0.x"
37
37
  },
38
- "gitHead": "25eaaf1bdf44d2b457a3a3742532db9d2008216b",
38
+ "gitHead": "b1be3993f8aa81173d01bc390aa8e4c5adcc0e2d",
39
39
  "keywords": [
40
40
  "Data model tools"
41
41
  ]