@leafer-in/interface 1.0.0 → 1.0.2

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.0.0",
3
+ "version": "1.0.2",
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
  "dependencies": {
28
- "@leafer-ui/interface": "1.0.0",
29
- "@leafer/interface": "1.0.0"
28
+ "@leafer-ui/interface": "^1.0.2",
29
+ "@leafer/interface": "^1.0.2"
30
30
  }
31
31
  }
@@ -1,4 +1,4 @@
1
- import { IUI, IPointData, IAround, IDragEvent, IEvent, IEventListenerId, IMatrixData, IEditorBase, IGroup, IObject } from '@leafer-ui/interface'
1
+ import { IUI, IPointData, IAround, IDragEvent, IEvent, IEventListenerId, IMatrixData, IEditorBase, IGroup, IObject, ILayoutBoundsData } from '@leafer-ui/interface'
2
2
 
3
3
  import { IEditBox } from './IEditBox'
4
4
  import { IEditSelect } from './IEditSelect'
@@ -13,6 +13,7 @@ export interface IEditor extends IEditorBase {
13
13
  innerEditor?: IInnerEditor
14
14
 
15
15
  dragStartPoint: IPointData
16
+ dragStartBounds: ILayoutBoundsData
16
17
  targetEventIds: IEventListenerId[]
17
18
 
18
19
  checkOpenedGroups(): void
package/types/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { IEditBoxBase, IUI, IRectInputData, IGroup, IBoundsData, IBounds, IPointerEvent, IEditorBase, IPointData, IEventListenerId, IObject, IEvent, IMatrixData, IAround, IDragEvent, IImageData, IImageInputData, IFourNumber, IBoxInputData, IAxisAlign, IFlowWrap, IGap, IFlowAlign } from '@leafer-ui/interface';
1
+ import { IEditBoxBase, IUI, IRectInputData, IGroup, IBoundsData, IBounds, IPointerEvent, IEditorBase, IPointData, ILayoutBoundsData, IEventListenerId, IObject, IEvent, IMatrixData, IAround, IDragEvent, IImageData, IImageInputData, IFourNumber, IBoxInputData, IAxisAlign, IFlowWrap, IGap, IFlowAlign } from '@leafer-ui/interface';
2
2
  export * from '@leafer-ui/interface';
3
3
 
4
4
  interface IEditBox extends IEditBoxBase {
@@ -35,6 +35,7 @@ interface IEditor extends IEditorBase {
35
35
  editTool?: IEditTool;
36
36
  innerEditor?: IInnerEditor;
37
37
  dragStartPoint: IPointData;
38
+ dragStartBounds: ILayoutBoundsData;
38
39
  targetEventIds: IEventListenerId[];
39
40
  checkOpenedGroups(): void;
40
41
  listenTargetEvents(): void;