@leafer-in/interface 2.1.3 → 2.1.5

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": "2.1.3",
3
+ "version": "2.1.5",
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": "^2.1.3",
29
- "@leafer/interface": "^2.1.3"
28
+ "@leafer-ui/interface": "^2.1.5",
29
+ "@leafer/interface": "^2.1.5"
30
30
  }
31
31
  }
@@ -1,4 +1,4 @@
1
- import { IUI, IPointData, IAround, IDragEvent, IEvent, IEventListenerId, IMatrixData, IEditorBase, IGroup, IObject, IMoveEvent, IZoomEvent, IRotateEvent, IEditorConfig } from '@leafer-ui/interface'
1
+ import { IUI, IPointData, IAround, IDragEvent, IEvent, IEventListenerId, IMatrixData, IEditorBase, IGroup, IObject, IMoveEvent, IZoomEvent, IRotateEvent, IEditorConfig, IBoundsType } from '@leafer-ui/interface'
2
2
 
3
3
  import { IEditBox } from './IEditBox'
4
4
  import { IEditSelect } from './IEditSelect'
@@ -90,6 +90,7 @@ export interface IEditorGroupEvent extends IEditorEvent {
90
90
 
91
91
  export interface IEditorTransformEvent extends IEditorEvent {
92
92
  transform?: IMatrixData
93
+ editBoxType?: IBoundsType
93
94
 
94
95
  operateEvent?: IDragEvent | IMoveEvent | IZoomEvent | IRotateEvent // 操作源事件
95
96
  isStart?: boolean // 是否开始
package/types/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { IEditBoxBase, IUI, IUIInputData, IGroup, IRectInputData, IBoundsData, IBounds, IPointerEvent, IRect, IMatrix, IFunction, IEditorBase, IObject, IEditorConfig, IEventListenerId, IEvent, IPointData, IMatrixData, IDragEvent, IMoveEvent, IZoomEvent, IRotateEvent, IAround, IImageData, IImageInputData, IBoxInputData, IFourNumber, IAxisAlign, IFlowWrap, IGap, IFlowAlign } from '@leafer-ui/interface';
1
+ import { IEditBoxBase, IUI, IUIInputData, IGroup, IRectInputData, IBoundsData, IBounds, IPointerEvent, IRect, IMatrix, IFunction, IEditorBase, IObject, IEditorConfig, IEventListenerId, IEvent, IPointData, IMatrixData, IBoundsType, IDragEvent, IMoveEvent, IZoomEvent, IRotateEvent, IAround, 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 {
@@ -97,6 +97,7 @@ interface IEditorGroupEvent extends IEditorEvent {
97
97
  }
98
98
  interface IEditorTransformEvent extends IEditorEvent {
99
99
  transform?: IMatrixData;
100
+ editBoxType?: IBoundsType;
100
101
  operateEvent?: IDragEvent | IMoveEvent | IZoomEvent | IRotateEvent;
101
102
  isStart?: boolean;
102
103
  isEnd?: boolean;