ronds-metadata 1.1.10 → 1.1.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.
@@ -4,13 +4,13 @@ import _Popover from "antd/es/popover";
4
4
  /*
5
5
  * @Author: wangxian
6
6
  * @Date: 2022-05-27 14:21:23
7
- * @LastEditTime: 2022-05-28 10:18:24
7
+ * @LastEditTime: 2022-05-30 09:45:54
8
8
  */
9
9
  import React from 'react';
10
10
  import { CompressOutlined, OneToOneOutlined, ZoomInOutlined, ZoomOutOutlined } from '@ant-design/icons';
11
11
  import classNames from 'classnames';
12
12
  import "./index.css";
13
- import { tr } from '@/framework/locale';
13
+ import { tr } from '../../../../framework/locale';
14
14
  export var GraphHandler = function GraphHandler(props) {
15
15
  var className = props.className,
16
16
  onZoomIn = props.onZoomIn,
@@ -16,11 +16,29 @@ export declare namespace NDPGraph {
16
16
  * 图标
17
17
  */
18
18
  icon?: string;
19
+ /**
20
+ * 名称
21
+ */
19
22
  name: string;
23
+ /**
24
+ * 输入引脚
25
+ */
20
26
  inPorts: InPort[];
27
+ /**
28
+ * 输出引脚
29
+ */
21
30
  outPorts: OutPort[];
31
+ /**
32
+ * position x
33
+ */
22
34
  x: number;
35
+ /**
36
+ * position y
37
+ */
23
38
  y: number;
39
+ /**
40
+ * 附带参数信息
41
+ */
24
42
  param?: Param;
25
43
  }
26
44
  interface Edge {
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * @Author: wangxian
3
3
  * @Date: 2022-05-24 16:10:46
4
- * @LastEditTime: 2022-05-28 10:57:33
4
+ * @LastEditTime: 2022-05-30 09:44:45
5
5
  */
6
6
  export {};
@@ -1,20 +1,20 @@
1
- export interface IMetaFileds {
2
- id: string;
3
- type: 'object';
4
- properties: any[];
5
- value: any;
6
- }
7
-
8
- export type ITypeStatus = 'object' | 'ref' | 'bool' | 'number' | 'text' | 'enum' | 'array';
9
-
10
- export type IMetaProperty = {
11
- /**
12
- * 属性的名称
13
- */
14
- id: string;
15
- /**
16
- * 类型
17
- */
18
- type: string;
19
- enum?: any[];
20
- };
1
+ export interface IMetaFileds {
2
+ id: string;
3
+ type: 'object';
4
+ properties: any[];
5
+ value: any;
6
+ }
7
+
8
+ export type ITypeStatus = 'object' | 'ref' | 'bool' | 'number' | 'text' | 'enum' | 'array';
9
+
10
+ export type IMetaProperty = {
11
+ /**
12
+ * 属性的名称
13
+ */
14
+ id: string;
15
+ /**
16
+ * 类型
17
+ */
18
+ type: string;
19
+ enum?: any[];
20
+ };
@@ -1,8 +1,8 @@
1
1
  @font-face {
2
2
  font-family: "fa"; /* Project id 2247093 */
3
- src: url('iconfont.woff2?t=1653706081036') format('woff2'),
4
- url('iconfont.woff?t=1653706081036') format('woff'),
5
- url('iconfont.ttf?t=1653706081036') format('truetype');
3
+ src: url('iconfont.woff2?t=1653875373166') format('woff2'),
4
+ url('iconfont.woff?t=1653875373166') format('woff'),
5
+ url('iconfont.ttf?t=1653875373166') format('truetype');
6
6
  }
7
7
 
8
8
  .fa {
@@ -13,6 +13,22 @@
13
13
  -moz-osx-font-smoothing: grayscale;
14
14
  }
15
15
 
16
+ .fa-ai:before {
17
+ content: "\e887";
18
+ }
19
+
20
+ .fa-signal:before {
21
+ content: "\ec4a";
22
+ }
23
+
24
+ .fa-circle:before {
25
+ content: "\e660";
26
+ }
27
+
28
+ .fa-scan:before {
29
+ content: "\e6df";
30
+ }
31
+
16
32
  .fa-py:before {
17
33
  content: "\e916";
18
34
  }
package/package.json CHANGED
@@ -1,86 +1,86 @@
1
- {
2
- "public": true,
3
- "name": "ronds-metadata",
4
- "version": "1.1.10",
5
- "scripts": {
6
- "start": "dumi dev",
7
- "docs:build": "dumi build",
8
- "docs:deploy": "gh-pages -d docs-dist",
9
- "build": "father-build",
10
- "deploy": "npm run docs:build && npm run docs:deploy",
11
- "release": "npm run build && npm publish",
12
- "prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
13
- "test": "umi-test",
14
- "test:coverage": "umi-test --coverage"
15
- },
16
- "main": "es",
17
- "module": "es",
18
- "types": "es/index.d.ts",
19
- "gitHooks": {
20
- "pre-commit": "lint-staged"
21
- },
22
- "lint-staged": {
23
- "*.{js,jsx,less,md,json}": [
24
- "prettier --write"
25
- ],
26
- "*.ts?(x)": [
27
- "prettier --parser=typescript --write"
28
- ]
29
- },
30
- "files": [
31
- "/es"
32
- ],
33
- "dependencies": {
34
- "@antv/x6": "^1.32.2",
35
- "@antv/x6-react-shape": "^1.6.0",
36
- "@babel/helper-create-regexp-features-plugin": "^7.12.13",
37
- "@babel/runtime": "^7.11.2",
38
- "@popperjs/core": "^2.4.4",
39
- "ahooks": "^3.4.0",
40
- "axios": "^0.21.4",
41
- "babel-plugin-import": "^1.13.3",
42
- "babel-plugin-transform-remove-console": "^6.9.4",
43
- "bl": "^5.0.0",
44
- "codemirror": "^5.63.0",
45
- "highlight.js": "11.3.1",
46
- "immer": "^9.0.14",
47
- "lodash": "^4.17.21",
48
- "markdown-it": "^12.3.2",
49
- "markdown-it-emoji": "^2.0.0",
50
- "qs": "^6.10.1",
51
- "react": "^17.0.2",
52
- "react-dnd": "^11.1.3",
53
- "react-dnd-html5-backend": "^11.1.3",
54
- "react-markdown-editor-lite": "^1.3.2",
55
- "react-popper": "^2.2.3",
56
- "rxjs": "^7.5.4"
57
- },
58
- "peerDependencies": {
59
- "antd": ">=4.1.5",
60
- "react": ">=16.14.0",
61
- "react-dom": ">=16.14.0",
62
- "react-router": ">=5.0.0",
63
- "styled-components": ">=4.1.1"
64
- },
65
- "devDependencies": {
66
- "@types/react": "^17.0.2",
67
- "@types/react-dom": "^17.0.2",
68
- "@types/react-router": "^5.1.8",
69
- "@types/react-window": "^1.8.2",
70
- "@types/styled-components": "^5.1.2",
71
- "@umijs/test": "^3.0.5",
72
- "antd": "^4.18.1",
73
- "babel-loader": "^8.1.0",
74
- "css-loader": "^4.2.2",
75
- "dumi": "^1.0.16",
76
- "father-build": "^1.17.2",
77
- "gh-pages": "^3.0.0",
78
- "less-loader": "^7.0.0",
79
- "lint-staged": "^10.0.7",
80
- "prettier": "^2.2.1",
81
- "style-loader": "^1.2.1",
82
- "webpack-cli": "^3.3.12",
83
- "copy-to-clipboard": "^3.3.1",
84
- "yorkie": "^2.0.0"
85
- }
86
- }
1
+ {
2
+ "public": true,
3
+ "name": "ronds-metadata",
4
+ "version": "1.1.11",
5
+ "scripts": {
6
+ "start": "dumi dev",
7
+ "docs:build": "dumi build",
8
+ "docs:deploy": "gh-pages -d docs-dist",
9
+ "build": "father-build",
10
+ "deploy": "npm run docs:build && npm run docs:deploy",
11
+ "release": "npm run build && npm publish",
12
+ "prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
13
+ "test": "umi-test",
14
+ "test:coverage": "umi-test --coverage"
15
+ },
16
+ "main": "es",
17
+ "module": "es",
18
+ "types": "es/index.d.ts",
19
+ "gitHooks": {
20
+ "pre-commit": "lint-staged"
21
+ },
22
+ "lint-staged": {
23
+ "*.{js,jsx,less,md,json}": [
24
+ "prettier --write"
25
+ ],
26
+ "*.ts?(x)": [
27
+ "prettier --parser=typescript --write"
28
+ ]
29
+ },
30
+ "files": [
31
+ "/es"
32
+ ],
33
+ "dependencies": {
34
+ "@antv/x6": "^1.32.2",
35
+ "@antv/x6-react-shape": "^1.6.0",
36
+ "@babel/helper-create-regexp-features-plugin": "^7.12.13",
37
+ "@babel/runtime": "^7.11.2",
38
+ "@popperjs/core": "^2.4.4",
39
+ "ahooks": "^3.4.0",
40
+ "axios": "^0.21.4",
41
+ "babel-plugin-import": "^1.13.3",
42
+ "babel-plugin-transform-remove-console": "^6.9.4",
43
+ "bl": "^5.0.0",
44
+ "codemirror": "^5.63.0",
45
+ "highlight.js": "11.3.1",
46
+ "immer": "^9.0.14",
47
+ "lodash": "^4.17.21",
48
+ "markdown-it": "^12.3.2",
49
+ "markdown-it-emoji": "^2.0.0",
50
+ "qs": "^6.10.1",
51
+ "react": "^17.0.2",
52
+ "react-dnd": "^11.1.3",
53
+ "react-dnd-html5-backend": "^11.1.3",
54
+ "react-markdown-editor-lite": "^1.3.2",
55
+ "react-popper": "^2.2.3",
56
+ "rxjs": "^7.5.4"
57
+ },
58
+ "peerDependencies": {
59
+ "antd": ">=4.1.5",
60
+ "react": ">=16.14.0",
61
+ "react-dom": ">=16.14.0",
62
+ "react-router": ">=5.0.0",
63
+ "styled-components": ">=4.1.1"
64
+ },
65
+ "devDependencies": {
66
+ "@types/react": "^17.0.2",
67
+ "@types/react-dom": "^17.0.2",
68
+ "@types/react-router": "^5.1.8",
69
+ "@types/react-window": "^1.8.2",
70
+ "@types/styled-components": "^5.1.2",
71
+ "@umijs/test": "^3.0.5",
72
+ "antd": "^4.18.1",
73
+ "babel-loader": "^8.1.0",
74
+ "css-loader": "^4.2.2",
75
+ "dumi": "^1.0.16",
76
+ "father-build": "^1.17.2",
77
+ "gh-pages": "^3.0.0",
78
+ "less-loader": "^7.0.0",
79
+ "lint-staged": "^10.0.7",
80
+ "prettier": "^2.2.1",
81
+ "style-loader": "^1.2.1",
82
+ "webpack-cli": "^3.3.12",
83
+ "copy-to-clipboard": "^3.3.1",
84
+ "yorkie": "^2.0.0"
85
+ }
86
+ }