@leafer-in/interface 1.4.1 → 1.5.0

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": "@leafer-in/interface",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "@leafer-in/interface",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -25,7 +25,7 @@
25
25
  "leaferjs"
26
26
  ],
27
27
  "peerDependencies": {
28
- "@leafer-ui/interface": "^1.4.1",
29
- "@leafer/interface": "^1.4.1"
28
+ "@leafer-ui/interface": "^1.5.0",
29
+ "@leafer/interface": "^1.5.0"
30
30
  }
31
31
  }
@@ -1,4 +1,4 @@
1
- import { IUI, IPointData, IAround, IDragEvent, IEvent, IEventListenerId, IMatrixData, IEditorBase, IGroup, IObject, ILayoutBoundsData } from '@leafer-ui/interface'
1
+ import { IUI, IPointData, IAround, IDragEvent, IEvent, IEventListenerId, IMatrixData, IEditorBase, IGroup, IObject } from '@leafer-ui/interface'
2
2
 
3
3
  import { IEditBox } from './IEditBox'
4
4
  import { IEditSelect } from './IEditSelect'
@@ -13,8 +13,6 @@ export interface IEditor extends IEditorBase {
13
13
  editTool?: IEditTool
14
14
  innerEditor?: IInnerEditor
15
15
 
16
- dragStartPoint: IPointData
17
- dragStartBounds: ILayoutBoundsData
18
16
  targetEventIds: IEventListenerId[]
19
17
 
20
18
  checkOpenedGroups(): void
package/types/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { IEditBoxBase, IUI, IRectInputData, IGroup, IBoundsData, IBounds, IPointerEvent, IRect, IMatrix, IFunction, IEditorBase, IObject, IEventListenerId, IEvent, IPointData, IMatrixData, IAround, IDragEvent, ILayoutBoundsData, IImageData, IImageInputData, IBoxInputData, IFourNumber, IAxisAlign, IFlowWrap, IGap, IFlowAlign } from '@leafer-ui/interface';
1
+ import { IEditBoxBase, IUI, IRectInputData, IGroup, IBoundsData, IBounds, IPointerEvent, IRect, IMatrix, IFunction, IEditorBase, IObject, IEventListenerId, IEvent, IPointData, IMatrixData, IAround, IDragEvent, IImageData, IImageInputData, IBoxInputData, IFourNumber, IAxisAlign, IFlowWrap, IGap, IFlowAlign } from '@leafer-ui/interface';
2
2
  export * from '@leafer-ui/interface';
3
3
 
4
4
  interface IEditBox extends IEditBoxBase {
@@ -42,8 +42,6 @@ interface IEditor extends IEditorBase {
42
42
  editBox: IEditBox;
43
43
  editTool?: IEditTool;
44
44
  innerEditor?: IInnerEditor;
45
- dragStartPoint: IPointData;
46
- dragStartBounds: ILayoutBoundsData;
47
45
  targetEventIds: IEventListenerId[];
48
46
  checkOpenedGroups(): void;
49
47
  listenTargetEvents(): void;