ronds-metadata 1.3.85 → 1.3.87

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. package/README.md +25 -25
  2. package/es/api/index.js +5 -7
  3. package/es/comps/CodeEdit/index.d.ts +1 -2
  4. package/es/comps/CodeEdit/index.less +6 -6
  5. package/es/comps/DataMine/Line.d.ts +1 -2
  6. package/es/comps/DataMine/Line.js +1 -0
  7. package/es/comps/DataMine/index.d.ts +1 -2
  8. package/es/comps/DynamicPorts/comps/ContextMenu.less +8 -8
  9. package/es/comps/DynamicPorts/comps/DragNode.d.ts +1 -1
  10. package/es/comps/DynamicPorts/comps/GraphHandler/index.less +39 -39
  11. package/es/comps/DynamicPorts/comps/NodeElementForm.d.ts +1 -2
  12. package/es/comps/DynamicPorts/comps/NodeElementNormal.d.ts +1 -2
  13. package/es/comps/DynamicPorts/comps/contextMenu/EdgeContextMenu/index.less +5 -5
  14. package/es/comps/DynamicPorts/comps/contextMenu/GraphContextMenu/index.less +40 -40
  15. package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.d.ts +1 -2
  16. package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.less +42 -42
  17. package/es/comps/DynamicPorts/comps/shape/edge.js +7 -7
  18. package/es/comps/DynamicPorts/comps/shape/edge.less +8 -8
  19. package/es/comps/DynamicPorts/comps/shape/node.js +9 -8
  20. package/es/comps/DynamicPorts/graph.js +4 -5
  21. package/es/comps/DynamicPorts/index.d.ts +1 -2
  22. package/es/comps/DynamicPorts/index.less +307 -307
  23. package/es/comps/Editable/DataCell/ButtonCell.d.ts +1 -1
  24. package/es/comps/Editable/DataCell/ColorPicker.d.ts +1 -1
  25. package/es/comps/Editable/DataCell/Input.d.ts +1 -1
  26. package/es/comps/Editable/DataCell/Number.d.ts +1 -1
  27. package/es/comps/Editable/DataCell/Select.d.ts +1 -1
  28. package/es/comps/Editable/DataCell/Switch.d.ts +1 -1
  29. package/es/comps/Editable/DataCell/TreeSelect.d.ts +1 -1
  30. package/es/comps/Editable/comps/EditableAction.d.ts +1 -2
  31. package/es/comps/Editable/comps/Texty.d.ts +1 -1
  32. package/es/comps/Editable/comps/Texty.js +4 -5
  33. package/es/comps/Editable/comps/Texty.less +43 -43
  34. package/es/comps/Editable/comps/index.less +38 -38
  35. package/es/comps/Editable/index.d.ts +1 -2
  36. package/es/comps/Editable/index.less +97 -97
  37. package/es/comps/Editable/utils.d.ts +1 -2
  38. package/es/comps/FileView/index.d.ts +1 -2
  39. package/es/comps/FileView/index.js +3 -2
  40. package/es/comps/FormGenerator/comps/Canvas/Preview.d.ts +1 -2
  41. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Checkbox.d.ts +1 -2
  42. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Color.d.ts +1 -1
  43. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Date.d.ts +1 -1
  44. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Input.d.ts +1 -1
  45. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/List.d.ts +1 -2
  46. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/MutiSelect.d.ts +1 -2
  47. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Number.d.ts +1 -1
  48. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/NumberRange.d.ts +1 -1
  49. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Obj.d.ts +1 -2
  50. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Password.d.ts +1 -1
  51. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Radio.d.ts +1 -2
  52. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Select.d.ts +1 -2
  53. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Switch.d.ts +1 -1
  54. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Table.d.ts +1 -2
  55. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/TextArea.d.ts +1 -1
  56. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Upload.d.ts +1 -1
  57. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/HOC/index.d.ts +1 -2
  58. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/index.d.ts +1 -2
  59. package/es/comps/FormGenerator/comps/Canvas/core/index.d.ts +1 -1
  60. package/es/comps/FormGenerator/comps/Canvas/core/index.less +23 -23
  61. package/es/comps/FormGenerator/comps/Canvas/index.d.ts +1 -2
  62. package/es/comps/FormGenerator/comps/Settings/index.d.ts +1 -2
  63. package/es/comps/FormGenerator/comps/Settings/index.js +2 -1
  64. package/es/comps/FormGenerator/comps/Sidebar/Elements.d.ts +1 -1
  65. package/es/comps/FormGenerator/comps/Sidebar/JsonSchema.d.ts +1 -1
  66. package/es/comps/FormGenerator/comps/Sidebar/index.d.ts +1 -2
  67. package/es/comps/FormGenerator/comps/Sidebar/index.less +21 -21
  68. package/es/comps/FormGenerator/index.d.ts +1 -2
  69. package/es/comps/FormGenerator/index.less +20 -20
  70. package/es/comps/JsonEdit/index.d.ts +1 -2
  71. package/es/comps/JsonEdit/index.js +1 -0
  72. package/es/comps/JsonEdit/index.less +64 -64
  73. package/es/comps/JsonView/index.d.ts +1 -2
  74. package/es/comps/JsonView/index.less +41 -41
  75. package/es/comps/MdEdit/index.d.ts +1 -2
  76. package/es/comps/MdEdit/index.less +6 -6
  77. package/es/comps/MdEditPro/index.d.ts +1 -2
  78. package/es/comps/MdEditPro/index.less +166 -166
  79. package/es/comps/MdEditPro/index2.d.ts +1 -1
  80. package/es/comps/MdNavbar/index.d.ts +1 -2
  81. package/es/comps/MdNavbar/index.less +77 -77
  82. package/es/comps/MdView/index.d.ts +1 -1
  83. package/es/comps/MdView/index.less +376 -376
  84. package/es/comps/MetadataEdit/components/MetaFieldsEdit.d.ts +1 -2
  85. package/es/comps/MetadataEdit/components/MetaPropsEdit.d.ts +1 -2
  86. package/es/comps/MetadataEdit/constant/index.js +2 -0
  87. package/es/comps/MetadataEdit/index.d.ts +1 -2
  88. package/es/comps/MetadataEdit/index.less +10 -10
  89. package/es/comps/MetadataEdit/type.d.ts +20 -20
  90. package/es/comps/MetadataForm/DataCell/Array.d.ts +1 -1
  91. package/es/comps/MetadataForm/DataCell/Input.d.ts +1 -1
  92. package/es/comps/MetadataForm/DataCell/Number.d.ts +1 -1
  93. package/es/comps/MetadataForm/DataCell/Ref.d.ts +1 -1
  94. package/es/comps/MetadataForm/DataCell/Select.d.ts +1 -1
  95. package/es/comps/MetadataForm/DataCell/Switch.d.ts +1 -1
  96. package/es/comps/MetadataForm/DataCell/business/index.d.ts +1 -2
  97. package/es/comps/MetadataForm/DataCell/layout/TableArray.d.ts +1 -2
  98. package/es/comps/MetadataForm/DataCell/plugin/Datasource/Cassandra.d.ts +1 -2
  99. package/es/comps/MetadataForm/DataCell/plugin/Datasource/Kafka.d.ts +1 -2
  100. package/es/comps/MetadataForm/DataCell/plugin/Datasource/PostgreSQL.d.ts +1 -2
  101. package/es/comps/MetadataForm/DataCell/plugin/Datasource/SqlServer.d.ts +1 -2
  102. package/es/comps/MetadataForm/DataCell/plugin/Datasource/index.d.ts +1 -2
  103. package/es/comps/MetadataForm/DataCell/plugin/MapTable.d.ts +1 -2
  104. package/es/comps/MetadataForm/DataCell/plugin/NumberRange.d.ts +1 -2
  105. package/es/comps/MetadataForm/DataCell/plugin/NumberRange.js +2 -1
  106. package/es/comps/MetadataForm/DataCell/plugin/RefreshSelect.d.ts +1 -2
  107. package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.d.ts +1 -2
  108. package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.js +17 -2
  109. package/es/comps/MetadataForm/HOC/index.d.ts +1 -2
  110. package/es/comps/MetadataForm/HOC/index.less +41 -41
  111. package/es/comps/MetadataForm/index.d.ts +1 -2
  112. package/es/comps/MetadataForm/utils.d.ts +2 -3
  113. package/es/comps/Split/index.d.ts +1 -1
  114. package/es/comps/Split/index.less +29 -29
  115. package/es/config.js +0 -1
  116. package/es/framework/RxStore/demo/index.d.ts +1 -2
  117. package/es/framework/graph/index.less +15 -15
  118. package/es/framework/http/msgpack5/lib/helpers.js +1 -0
  119. package/es/framework/libs/jquery.min.js +4 -4
  120. package/es/framework/locale/dil8/di18n.js +3 -5
  121. package/es/framework/metadata/MetadataService.js +14 -14
  122. package/es/framework/metadata/index.js +15 -14
  123. package/es/framework/metadata/types.d.ts +103 -103
  124. package/es/theme.less +81 -81
  125. package/package.json +116 -116
@@ -27,7 +27,7 @@ export var MetadataService = /*#__PURE__*/function () {
27
27
  /** 获取元数据列表 */
28
28
  _createClass(MetadataService, [{
29
29
  key: "GetMetadataList",
30
- value: (function () {
30
+ value: function () {
31
31
  var _GetMetadataList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(keyWords) {
32
32
  return _regeneratorRuntime.wrap(function _callee$(_context) {
33
33
  while (1) switch (_context.prev = _context.next) {
@@ -43,10 +43,10 @@ export var MetadataService = /*#__PURE__*/function () {
43
43
  return _GetMetadataList.apply(this, arguments);
44
44
  }
45
45
  return GetMetadataList;
46
- }() /** 通过元数据Id获取元数据详情 */)
46
+ }() /** 通过元数据Id获取元数据详情 */
47
47
  }, {
48
48
  key: "GetMetadataDetailById",
49
- value: (function () {
49
+ value: function () {
50
50
  var _GetMetadataDetailById = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(metadataId) {
51
51
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
52
52
  while (1) switch (_context2.prev = _context2.next) {
@@ -62,10 +62,10 @@ export var MetadataService = /*#__PURE__*/function () {
62
62
  return _GetMetadataDetailById.apply(this, arguments);
63
63
  }
64
64
  return GetMetadataDetailById;
65
- }() /** 添加元数据 */)
65
+ }() /** 添加元数据 */
66
66
  }, {
67
67
  key: "SaveMetadata",
68
- value: (function () {
68
+ value: function () {
69
69
  var _SaveMetadata = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(data, metadataTag) {
70
70
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
71
71
  while (1) switch (_context3.prev = _context3.next) {
@@ -81,10 +81,10 @@ export var MetadataService = /*#__PURE__*/function () {
81
81
  return _SaveMetadata.apply(this, arguments);
82
82
  }
83
83
  return SaveMetadata;
84
- }() /** 获取元数据的值 */)
84
+ }() /** 获取元数据的值 */
85
85
  }, {
86
86
  key: "GetMetadataObjList",
87
- value: (function () {
87
+ value: function () {
88
88
  var _GetMetadataObjList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(data) {
89
89
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
90
90
  while (1) switch (_context4.prev = _context4.next) {
@@ -100,10 +100,10 @@ export var MetadataService = /*#__PURE__*/function () {
100
100
  return _GetMetadataObjList.apply(this, arguments);
101
101
  }
102
102
  return GetMetadataObjList;
103
- }() /** 通过扩展规则获取枚举类型的值 */)
103
+ }() /** 通过扩展规则获取枚举类型的值 */
104
104
  }, {
105
105
  key: "GetEnumDataByUrl",
106
- value: (function () {
106
+ value: function () {
107
107
  var _GetEnumDataByUrl = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(url) {
108
108
  var method,
109
109
  body,
@@ -124,10 +124,10 @@ export var MetadataService = /*#__PURE__*/function () {
124
124
  return _GetEnumDataByUrl.apply(this, arguments);
125
125
  }
126
126
  return GetEnumDataByUrl;
127
- }() /** 获取执行状态 */)
127
+ }() /** 获取执行状态 */
128
128
  }, {
129
129
  key: "GetGraphStatus",
130
- value: (function () {
130
+ value: function () {
131
131
  var _GetGraphStatus = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6(data) {
132
132
  return _regeneratorRuntime.wrap(function _callee6$(_context6) {
133
133
  while (1) switch (_context6.prev = _context6.next) {
@@ -143,10 +143,10 @@ export var MetadataService = /*#__PURE__*/function () {
143
143
  return _GetGraphStatus.apply(this, arguments);
144
144
  }
145
145
  return GetGraphStatus;
146
- }() /** 获取执行状态 */)
146
+ }() /** 获取执行状态 */
147
147
  }, {
148
148
  key: "StopGraphRun",
149
- value: (function () {
149
+ value: function () {
150
150
  var _StopGraphRun = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee7(data) {
151
151
  return _regeneratorRuntime.wrap(function _callee7$(_context7) {
152
152
  while (1) switch (_context7.prev = _context7.next) {
@@ -162,7 +162,7 @@ export var MetadataService = /*#__PURE__*/function () {
162
162
  return _StopGraphRun.apply(this, arguments);
163
163
  }
164
164
  return StopGraphRun;
165
- }())
165
+ }()
166
166
  }]);
167
167
  return MetadataService;
168
168
  }();
@@ -1,10 +1,7 @@
1
- import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
2
- import _isNativeReflectConstruct from "@babel/runtime/helpers/esm/isNativeReflectConstruct";
3
- import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
4
1
  import _inherits from "@babel/runtime/helpers/esm/inherits";
2
+ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
5
3
  import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
6
4
  import _createClass from "@babel/runtime/helpers/esm/createClass";
7
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
8
5
  export var Enum = /*#__PURE__*/function () {
9
6
  function Enum(value) {
10
7
  _classCallCheck(this, Enum);
@@ -19,11 +16,12 @@ export var Enum = /*#__PURE__*/function () {
19
16
  }], [{
20
17
  key: "makeEnum",
21
18
  value: function makeEnum(name, _enum) {
22
- var result = /*#__PURE__*/function (_Enum2) {
23
- _inherits(result, _Enum2);
19
+ var result = /*#__PURE__*/function (_Enum) {
20
+ _inherits(result, _Enum);
21
+ var _super = _createSuper(result);
24
22
  function result(value) {
25
23
  _classCallCheck(this, result);
26
- return _callSuper(this, result, [value]);
24
+ return _super.call(this, value);
27
25
  }
28
26
  _createClass(result, [{
29
27
  key: "__type__",
@@ -83,9 +81,10 @@ export var MetaObject = /*#__PURE__*/function () {
83
81
  value: function makeType(name) {
84
82
  var result = /*#__PURE__*/function (_MetaObject) {
85
83
  _inherits(result, _MetaObject);
84
+ var _super2 = _createSuper(result);
86
85
  function result() {
87
86
  _classCallCheck(this, result);
88
- return _callSuper(this, result, arguments);
87
+ return _super2.apply(this, arguments);
89
88
  }
90
89
  _createClass(result, [{
91
90
  key: "__type__",
@@ -103,11 +102,12 @@ export var MetaObject = /*#__PURE__*/function () {
103
102
  }, {
104
103
  key: "makeArray",
105
104
  value: function makeArray() {
106
- var result = /*#__PURE__*/function (_Array2) {
107
- _inherits(result, _Array2);
105
+ var result = /*#__PURE__*/function (_Array) {
106
+ _inherits(result, _Array);
107
+ var _super3 = _createSuper(result);
108
108
  function result(items) {
109
109
  _classCallCheck(this, result);
110
- return _callSuper(this, result, [items]);
110
+ return _super3.call(this, items);
111
111
  }
112
112
  _createClass(result, [{
113
113
  key: "type",
@@ -193,12 +193,13 @@ export var MetadataProvider = /*#__PURE__*/function () {
193
193
  }]);
194
194
  return MetadataProvider;
195
195
  }();
196
- export var JsonMetadataProvider = /*#__PURE__*/function (_MetadataProvider2) {
197
- _inherits(JsonMetadataProvider, _MetadataProvider2);
196
+ export var JsonMetadataProvider = /*#__PURE__*/function (_MetadataProvider) {
197
+ _inherits(JsonMetadataProvider, _MetadataProvider);
198
+ var _super4 = _createSuper(JsonMetadataProvider);
198
199
  function JsonMetadataProvider() {
199
200
  var _this2;
200
201
  _classCallCheck(this, JsonMetadataProvider);
201
- _this2 = _callSuper(this, JsonMetadataProvider);
202
+ _this2 = _super4.call(this);
202
203
  _this2.types['str'] = String;
203
204
  _this2.types['int'] = Number;
204
205
  _this2.types['double'] = Number;
@@ -1,103 +1,103 @@
1
- /*
2
- * @Author: wangxian
3
- * @Date: 2021-09-18 14:15:04
4
- * @LastEditTime: 2023-08-22 16:30:28
5
- */
6
- export type IMetaType = 'object' | 'ref' | 'bool' | 'number' | 'text' | 'enum' | 'array' | string;
7
-
8
- export type IMetaData = {
9
- /**
10
- * 类名称/属性名称
11
- */
12
- id: string;
13
- /**
14
- * 类型
15
- */
16
- type: IMetaType;
17
- /**
18
- * 属性
19
- */
20
- properties?: IMetaProperties[];
21
-
22
- /**
23
- * 引用id
24
- */
25
- refId?: string;
26
- /**
27
- * 静态的变量
28
- */
29
- fields?: IMetaFileds[];
30
- /**
31
- * 内部类
32
- */
33
- types?: IMetaData[];
34
- };
35
-
36
- export type IMetaProperties = {
37
- /**
38
- * 类规则名称
39
- */
40
- id: string;
41
-
42
- /**
43
- * 类型
44
- */
45
- type: IMetaType;
46
-
47
- /**
48
- * 引用id
49
- */
50
- refId?: string;
51
- /**
52
- * 静态的变量
53
- */
54
- fields?: IMetaFileds[];
55
- /**
56
- * 枚举值
57
- */
58
- enum?: { value: string }[];
59
- /**
60
- * 数组类型
61
- */
62
- items?: { type: IMetaType; refId?: string };
63
- };
64
-
65
- export type IMetaFileds = {
66
- /**
67
- * 规则名称
68
- */
69
- id: string;
70
-
71
- /**
72
- * 类型
73
- */
74
- type: IMetaType;
75
-
76
- /**
77
- * 引用id
78
- */
79
- refId?: string;
80
-
81
- /**
82
- * 规则值
83
- */
84
- value: any;
85
- };
86
-
87
- export interface IAPI {
88
- // 获取元数据列表
89
- GetMetadataList(keyWords?: string[]): Promise<{ id: string; name: string; schema: string }[]>;
90
- // 通过元数据Id获取元数据详情
91
- GetMetadataDetailById(metadataId: string): Promise<any>;
92
- // 新增元数据
93
- SaveMetadata(data: any, metadataTag: string): Promise<any>;
94
- // 获取元数据的值
95
- GetMetadataObjList(data: any): Promise<any[]>;
96
- /** 通过扩展规则获取枚举类型的值 */
97
- GetEnumDataByUrl(url: string, method: 'get' | 'post', body: any): Promise<any>;
98
- // 获取执行状态
99
-
100
- GetGraphStatus(data: any): Promise<any>;
101
- // 获取执行状态
102
- StopGraphRun(data: any): Promise<any>;
103
- }
1
+ /*
2
+ * @Author: wangxian
3
+ * @Date: 2021-09-18 14:15:04
4
+ * @LastEditTime: 2023-08-22 16:30:28
5
+ */
6
+ export type IMetaType = 'object' | 'ref' | 'bool' | 'number' | 'text' | 'enum' | 'array' | string;
7
+
8
+ export type IMetaData = {
9
+ /**
10
+ * 类名称/属性名称
11
+ */
12
+ id: string;
13
+ /**
14
+ * 类型
15
+ */
16
+ type: IMetaType;
17
+ /**
18
+ * 属性
19
+ */
20
+ properties?: IMetaProperties[];
21
+
22
+ /**
23
+ * 引用id
24
+ */
25
+ refId?: string;
26
+ /**
27
+ * 静态的变量
28
+ */
29
+ fields?: IMetaFileds[];
30
+ /**
31
+ * 内部类
32
+ */
33
+ types?: IMetaData[];
34
+ };
35
+
36
+ export type IMetaProperties = {
37
+ /**
38
+ * 类规则名称
39
+ */
40
+ id: string;
41
+
42
+ /**
43
+ * 类型
44
+ */
45
+ type: IMetaType;
46
+
47
+ /**
48
+ * 引用id
49
+ */
50
+ refId?: string;
51
+ /**
52
+ * 静态的变量
53
+ */
54
+ fields?: IMetaFileds[];
55
+ /**
56
+ * 枚举值
57
+ */
58
+ enum?: { value: string }[];
59
+ /**
60
+ * 数组类型
61
+ */
62
+ items?: { type: IMetaType; refId?: string };
63
+ };
64
+
65
+ export type IMetaFileds = {
66
+ /**
67
+ * 规则名称
68
+ */
69
+ id: string;
70
+
71
+ /**
72
+ * 类型
73
+ */
74
+ type: IMetaType;
75
+
76
+ /**
77
+ * 引用id
78
+ */
79
+ refId?: string;
80
+
81
+ /**
82
+ * 规则值
83
+ */
84
+ value: any;
85
+ };
86
+
87
+ export interface IAPI {
88
+ // 获取元数据列表
89
+ GetMetadataList(keyWords?: string[]): Promise<{ id: string; name: string; schema: string }[]>;
90
+ // 通过元数据Id获取元数据详情
91
+ GetMetadataDetailById(metadataId: string): Promise<any>;
92
+ // 新增元数据
93
+ SaveMetadata(data: any, metadataTag: string): Promise<any>;
94
+ // 获取元数据的值
95
+ GetMetadataObjList(data: any): Promise<any[]>;
96
+ /** 通过扩展规则获取枚举类型的值 */
97
+ GetEnumDataByUrl(url: string, method: 'get' | 'post', body: any): Promise<any>;
98
+ // 获取执行状态
99
+
100
+ GetGraphStatus(data: any): Promise<any>;
101
+ // 获取执行状态
102
+ StopGraphRun(data: any): Promise<any>;
103
+ }
package/es/theme.less CHANGED
@@ -1,81 +1,81 @@
1
- .ronds-metadata-dark {
2
- --ronds-metadata-color-border-1: #314162;
3
- --ronds-metadata-color-border-2: #0d9af3;
4
- --ronds-metadata-color-bg-2: #0d1f40;
5
- --ronds-metadata-color-bg-3: #021125;
6
- --ronds-metadata-color-bg-4: #1c3771;
7
- --ronds-metadata-color-bg-5: #13264e;
8
- --ronds-metadata-color-bg-6: #0d1f40;
9
- --ronds-metadata-color-text-1: #ffffff;
10
- --ronds-metadata-color-text-2: #ffffff;
11
- --ronds-metadata-color-text-3: #ffffff;
12
-
13
- ::-webkit-scrollbar {
14
- width: 6px;
15
- height: 6px;
16
- overflow: auto;
17
- }
18
- ::-webkit-scrollbar-corner {
19
- background-color: transparent;
20
- color: transparent;
21
- }
22
-
23
- ::-webkit-scrollbar-thumb {
24
- box-shadow: inset 0 0 5px var(--scrollbar-bg-color);
25
- background: var(--scrollbar-color);
26
- min-height: 25px;
27
- min-width: 25px;
28
- border-radius: 3px;
29
-
30
- &:hover {
31
- border-radius: 2px;
32
- // box-shadow: inset 0 0 5px var(--scrollbar-color-hover);
33
- background: var(--scrollbar-color-hover);
34
- }
35
-
36
- &:active {
37
- // box-shadow: inset 0 0 5px var(--scrollbar-bg-color);
38
- background: var(--scrollbar-color-hover);
39
- }
40
- }
41
- }
42
-
43
- .ronds-metadata-normal {
44
- --ronds-metadata-color-border-1: #d9d9d9;
45
- --ronds-metadata-color-border-2: #165dff;
46
- --ronds-metadata-color-bg-2: #ffffff;
47
- --ronds-metadata-color-bg-3: #f6f5f6;
48
- --ronds-metadata-color-bg-4: #ffffff;
49
- --ronds-metadata-color-bg-5: #ffffff;
50
- --ronds-metadata-color-bg-6: rgba(229, 238, 255, 0.85);
51
- --ronds-metadata-color-text-1: #1d2129;
52
- --ronds-metadata-color-text-2: #24292f;
53
- --ronds-metadata-color-text-3: #f2f3f5;
54
-
55
- ::-webkit-scrollbar {
56
- width: 6px;
57
- height: 6px;
58
- overflow: auto;
59
- }
60
-
61
- ::-webkit-scrollbar-thumb {
62
- background-color: var(--scrollbar-color);
63
- min-height: 25px;
64
- min-width: 25px;
65
- border-radius: 3px;
66
-
67
- &:hover {
68
- background-color: #a8a8a8;
69
- }
70
-
71
- &:active {
72
- background-color: #787878;
73
- }
74
-
75
- /* border: 1px solid #e0e0e0; */
76
- }
77
-
78
- ::-webkit-scrollbar-track {
79
- background-color: #f7f7f7;
80
- }
81
- }
1
+ .ronds-metadata-dark {
2
+ --ronds-metadata-color-border-1: #314162;
3
+ --ronds-metadata-color-border-2: #0d9af3;
4
+ --ronds-metadata-color-bg-2: #0d1f40;
5
+ --ronds-metadata-color-bg-3: #021125;
6
+ --ronds-metadata-color-bg-4: #1c3771;
7
+ --ronds-metadata-color-bg-5: #13264e;
8
+ --ronds-metadata-color-bg-6: #0d1f40;
9
+ --ronds-metadata-color-text-1: #ffffff;
10
+ --ronds-metadata-color-text-2: #ffffff;
11
+ --ronds-metadata-color-text-3: #ffffff;
12
+
13
+ ::-webkit-scrollbar {
14
+ width: 6px;
15
+ height: 6px;
16
+ overflow: auto;
17
+ }
18
+ ::-webkit-scrollbar-corner {
19
+ background-color: transparent;
20
+ color: transparent;
21
+ }
22
+
23
+ ::-webkit-scrollbar-thumb {
24
+ box-shadow: inset 0 0 5px var(--scrollbar-bg-color);
25
+ background: var(--scrollbar-color);
26
+ min-height: 25px;
27
+ min-width: 25px;
28
+ border-radius: 3px;
29
+
30
+ &:hover {
31
+ border-radius: 2px;
32
+ // box-shadow: inset 0 0 5px var(--scrollbar-color-hover);
33
+ background: var(--scrollbar-color-hover);
34
+ }
35
+
36
+ &:active {
37
+ // box-shadow: inset 0 0 5px var(--scrollbar-bg-color);
38
+ background: var(--scrollbar-color-hover);
39
+ }
40
+ }
41
+ }
42
+
43
+ .ronds-metadata-normal {
44
+ --ronds-metadata-color-border-1: #d9d9d9;
45
+ --ronds-metadata-color-border-2: #165dff;
46
+ --ronds-metadata-color-bg-2: #ffffff;
47
+ --ronds-metadata-color-bg-3: #f6f5f6;
48
+ --ronds-metadata-color-bg-4: #ffffff;
49
+ --ronds-metadata-color-bg-5: #ffffff;
50
+ --ronds-metadata-color-bg-6: rgba(229, 238, 255, 0.85);
51
+ --ronds-metadata-color-text-1: #1d2129;
52
+ --ronds-metadata-color-text-2: #24292f;
53
+ --ronds-metadata-color-text-3: #f2f3f5;
54
+
55
+ ::-webkit-scrollbar {
56
+ width: 6px;
57
+ height: 6px;
58
+ overflow: auto;
59
+ }
60
+
61
+ ::-webkit-scrollbar-thumb {
62
+ background-color: var(--scrollbar-color);
63
+ min-height: 25px;
64
+ min-width: 25px;
65
+ border-radius: 3px;
66
+
67
+ &:hover {
68
+ background-color: #a8a8a8;
69
+ }
70
+
71
+ &:active {
72
+ background-color: #787878;
73
+ }
74
+
75
+ /* border: 1px solid #e0e0e0; */
76
+ }
77
+
78
+ ::-webkit-scrollbar-track {
79
+ background-color: #f7f7f7;
80
+ }
81
+ }