@logicflow/core
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.2.3](https://github.com/didi/LogicFlow/compare/@logicflow/core@0.2.2...@logicflow/core@0.2.3) (2021-02-19) | ||
### Bug Fixes | ||
* **core:** print error when double click edge ([a890ef7](https://github.com/didi/LogicFlow/commit/a890ef7f81e559ef16da505568b1ddb94c7eb365)) | ||
## [0.2.2](https://github.com/didi/LogicFlow/compare/@logicflow/core@0.2.1...@logicflow/core@0.2.2) (2021-02-08) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@logicflow/core", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "LogicFlow core, to quickly build flowchart editor", | ||
@@ -96,3 +96,3 @@ "main": "dist/logic-flow.js", | ||
}, | ||
"gitHead": "e6c9a17102075d24ae33855b4d0ff15440f225e2" | ||
"gitHead": "302b7154c2d5535af53bdf76e2a972bf7ed2648c" | ||
} |
import { h, Component } from 'preact'; | ||
import LogicFlow from '../LogicFlow'; | ||
import GraphModel from '../model/GraphModel'; | ||
declare type Style = { | ||
left: number; | ||
top: number; | ||
}; | ||
declare type IProps = { | ||
@@ -8,3 +12,6 @@ graphModel: GraphModel; | ||
}; | ||
export default class TextEdit extends Component<IProps> { | ||
declare type IState = { | ||
style: Style; | ||
}; | ||
export default class TextEdit extends Component<IProps, IState> { | ||
ref: import("preact").RefObject<any>; | ||
@@ -15,8 +22,15 @@ __prevText: { | ||
}; | ||
constructor(); | ||
componentDidMount(): void; | ||
static getDerivedStateFromProps(props: any): { | ||
style: { | ||
left: any; | ||
top: any; | ||
}; | ||
}; | ||
componentDidUpdate(): void; | ||
keyupHandler: (ev: KeyboardEvent) => void; | ||
placeCaretAtEnd(el: any): void; | ||
render(): "" | h.JSX.Element; | ||
render(): h.JSX.Element; | ||
} | ||
export {}; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
525099
2886