@logicflow/core 1.1.3-alpha.0 → 1.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logicflow/core",
3
- "version": "1.1.3-alpha.0",
3
+ "version": "1.1.3",
4
4
  "description": "LogicFlow core, to quickly build flowchart editor",
5
5
  "main": "dist/logic-flow.js",
6
6
  "unpkg": "dist/logic-flow.js",
@@ -113,7 +113,7 @@ export default class BaseNodeModel implements IBaseNodeModel {
113
113
  * 获取当前节点锚点样式
114
114
  * @returns 自定义样式
115
115
  */
116
- getAnchorStyle(): Record<string, any>;
116
+ getAnchorStyle(anchorInfo: any): Record<string, any>;
117
117
  /**
118
118
  * @overridable 支持重写
119
119
  * 获取当前节点锚点拖出连线样式
@@ -27,6 +27,7 @@ export default class TextEdit extends Component<IProps, IState> {
27
27
  };
28
28
  componentDidUpdate(): void;
29
29
  keyupHandler: (ev: any) => void;
30
+ inputHandler: (ev: any) => void;
30
31
  placeCaretAtEnd(el: any): void;
31
32
  render(): h.JSX.Element;
32
33
  }
@@ -4,9 +4,6 @@ import GraphModel from '../model/GraphModel';
4
4
  import { AnchorConfig } from '../type';
5
5
  declare type TargetNodeId = string;
6
6
  interface IProps {
7
- x: number;
8
- y: number;
9
- id?: string;
10
7
  anchorData: AnchorConfig;
11
8
  style?: Record<string, any>;
12
9
  hoverStyle?: Record<string, any>;