@nocobase/plugin-graph-collection-manager 0.21.0-alpha.1 → 0.21.0-alpha.11
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/client/index.d.ts +2 -2
- package/dist/client/index.js +1 -1
- package/dist/externalVersion.js +4 -4
- package/dist/server/index.d.ts +2 -2
- package/dist/server/index.js +8 -17
- package/package.json +2 -2
package/dist/client/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Plugin } from '@nocobase/client';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class PluginGraphCollectionPlugin extends Plugin {
|
|
3
3
|
load(): Promise<void>;
|
|
4
4
|
}
|
|
5
|
-
export default
|
|
5
|
+
export default PluginGraphCollectionPlugin;
|
package/dist/client/index.js
CHANGED
|
@@ -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.
|
|
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,skipAclConfigure:!0,aclSnippet:"pm.data-source-manager.graph-collection-manager"})})}}J.PluginGraphCollectionPlugin=IM,J.default=IM,Object.defineProperties(J,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/dist/externalVersion.js
CHANGED
|
@@ -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.
|
|
4
|
+
"@nocobase/client": "0.21.0-alpha.11",
|
|
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.
|
|
12
|
+
"@nocobase/utils": "0.21.0-alpha.11",
|
|
13
13
|
"react-i18next": "11.18.6",
|
|
14
|
-
"@nocobase/server": "0.21.0-alpha.
|
|
14
|
+
"@nocobase/server": "0.21.0-alpha.11",
|
|
15
15
|
"ahooks": "3.7.8",
|
|
16
|
-
"@nocobase/database": "0.21.0-alpha.
|
|
16
|
+
"@nocobase/database": "0.21.0-alpha.11"
|
|
17
17
|
};
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Plugin } from '@nocobase/server';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class PluginGraphCollectionManagerServer extends Plugin {
|
|
3
3
|
load(): Promise<void>;
|
|
4
4
|
}
|
|
5
|
-
export default
|
|
5
|
+
export default PluginGraphCollectionManagerServer;
|
package/dist/server/index.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
1
|
var __defProp = Object.defineProperty;
|
|
3
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
5
|
var __export = (target, all) => {
|
|
8
6
|
for (var name in all)
|
|
@@ -16,31 +14,24 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
14
|
}
|
|
17
15
|
return to;
|
|
18
16
|
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
18
|
var server_exports = {};
|
|
29
19
|
__export(server_exports, {
|
|
30
|
-
|
|
20
|
+
PluginGraphCollectionManagerServer: () => PluginGraphCollectionManagerServer,
|
|
31
21
|
default: () => server_default
|
|
32
22
|
});
|
|
33
23
|
module.exports = __toCommonJS(server_exports);
|
|
34
24
|
var import_server = require("@nocobase/server");
|
|
35
|
-
|
|
36
|
-
class GraphCollectionManagerPlugin extends import_server.Plugin {
|
|
25
|
+
class PluginGraphCollectionManagerServer extends import_server.Plugin {
|
|
37
26
|
async load() {
|
|
38
|
-
|
|
39
|
-
|
|
27
|
+
this.app.acl.registerSnippet({
|
|
28
|
+
name: "pm.data-source-manager.graph-collection-manager",
|
|
29
|
+
actions: ["graphPositions:*"]
|
|
30
|
+
});
|
|
40
31
|
}
|
|
41
32
|
}
|
|
42
|
-
var server_default =
|
|
33
|
+
var server_default = PluginGraphCollectionManagerServer;
|
|
43
34
|
// Annotate the CommonJS export names for ESM import in node:
|
|
44
35
|
0 && (module.exports = {
|
|
45
|
-
|
|
36
|
+
PluginGraphCollectionManagerServer
|
|
46
37
|
});
|
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.
|
|
7
|
+
"version": "0.21.0-alpha.11",
|
|
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": "
|
|
38
|
+
"gitHead": "69fe8a6d75864a3ba98c5a6d3ebfe43a585d4cd3",
|
|
39
39
|
"keywords": [
|
|
40
40
|
"Data model tools"
|
|
41
41
|
]
|