ronds-metadata 1.3.6 → 1.3.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,10 +3,10 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
3
3
  /*
4
4
  * @Author: wangxian
5
5
  * @Date: 2022-05-24 08:50:16
6
- * @LastEditTime: 2023-09-12 15:58:00
6
+ * @LastEditTime: 2023-09-12 18:29:22
7
7
  */
8
8
  import { GlobalOutlined } from '@ant-design/icons';
9
- import { filter, map } from 'rxjs/operators';
9
+ import { filter } from 'rxjs/operators';
10
10
  import '../index.less';
11
11
  import Icon from '../../../comps/Icons';
12
12
  import { NodeStatus } from './NodeStatus';
@@ -25,13 +25,13 @@ var NodeElement = function NodeElement(props) {
25
25
  React.useEffect(function () {
26
26
  var sub = gDPGraph && gDPGraph.factory$.executionStatus.pipe(filter(function (x) {
27
27
  return !!x;
28
- }), map(function (x) {
29
- return x.statusList;
30
28
  })).subscribe(function (v) {
31
- var _status = v.find(function (it) {
29
+ var _status = v.statusList.find(function (it) {
32
30
  return (it === null || it === void 0 ? void 0 : it.nodeId) === id;
33
31
  });
34
- setNodeStatus(_status);
32
+ setNodeStatus(_objectSpread(_objectSpread({}, _status), {}, {
33
+ debugId: v.debugId
34
+ }));
35
35
  });
36
36
  return function () {
37
37
  sub.unsubscribe();
@@ -67,6 +67,7 @@ export declare namespace NDPGraph {
67
67
  nodeId: string;
68
68
  nodeStatus: string;
69
69
  }[];
70
+ debugId?: string;
70
71
  status: string;
71
72
  }
72
73
  }
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * @Author: wangxian
3
3
  * @Date: 2022-05-24 16:10:46
4
- * @LastEditTime: 2023-08-30 08:55:55
4
+ * @LastEditTime: 2023-09-12 18:32:38
5
5
  */
6
6
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "ronds-metadata",
4
- "version": "1.3.6",
4
+ "version": "1.3.8",
5
5
  "scripts": {
6
6
  "start": "dumi dev",
7
7
  "docs:build": "dumi build",