@logicflow/core 1.2.0-next.2 → 1.2.0-next.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.2.0-next.2",
3
+ "version": "1.2.0-next.3",
4
4
  "description": "LogicFlow core, to quickly build flowchart editor",
5
5
  "main": "dist/entry.js",
6
6
  "module": "dist/logic-flow.js",
@@ -251,7 +251,7 @@ export declare type GraphTransform = {
251
251
  transform: string;
252
252
  transformOrigin: string;
253
253
  };
254
- export declare type EventArgs = Record<string, number | object | string>;
254
+ export declare type EventArgs = Record<string, number | object | string | boolean>;
255
255
  export declare type FocusOnArgs = {
256
256
  id?: string;
257
257
  coordinate?: {
@@ -11,6 +11,7 @@ export default class BaseEdge extends Component<IProps> {
11
11
  startTime: number;
12
12
  contextMenuTime: number;
13
13
  clickTimer: number;
14
+ textRef: import("preact").RefObject<any>;
14
15
  getShape(): void;
15
16
  getTextStyle(): void;
16
17
  getText(): "" | h.JSX.Element;