@leafer-ui/interface
Advanced tools
+2
-2
| { | ||
| "name": "@leafer-ui/interface", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "description": "@leafer-ui/interface", | ||
@@ -25,4 +25,4 @@ "author": "Chao (Leafer) Wan", | ||
| "dependencies": { | ||
| "@leafer/interface": "1.0.0" | ||
| "@leafer/interface": "1.0.1" | ||
| } | ||
| } |
+19
-10
@@ -1,2 +0,2 @@ | ||
| import { IGroup, IUI, IBox, IRectInputData, ISelectorProxy, IEditSize, ICursorType, IAlign, IUnitPointData, IDragEvent, IRotateEvent, IStroke, IFill, ILeaf, ILeafList, IObject, IBoxInputData, IGroupInputData, IImageCursor, IRect, IBoundsData, IKeyEvent, IUIInputData, IZoomEvent, IColorString } from '@leafer-ui/interface' | ||
| import { IGroup, IUI, IBox, IRectInputData, ISelectorProxy, IEditSize, ICursorType, IAlign, IUnitPointData, IDragEvent, IRotateEvent, IStroke, IFill, ILeaf, ILeafList, IObject, IBoxInputData, IGroupInputData, IImageCursor, IRect, IBoundsData, IKeyEvent, IUIInputData, IZoomEvent, IColorString, IDirection4 } from '@leafer-ui/interface' | ||
@@ -77,12 +77,16 @@ export interface IEditorBase extends IGroup, ISelectorProxy { | ||
| point?: IBoxInputData | IBoxInputData[] | ||
| middlePoint?: IBoxInputData | IBoxInputData[] | ||
| rotatePoint?: IBoxInputData | ||
| point?: IEditPointInputData | IEditPointInputData[] | ||
| middlePoint?: IEditPointInputData | IEditPointInputData[] | ||
| rect?: IBoxInputData | ||
| area?: IRectInputData | ||
| mask?: IColorString | ||
| mask?: boolean | IColorString | ||
| buttonsDirection?: 'top' | 'right' | 'bottom' | 'left' | ||
| buttonsFixed?: boolean | ||
| circle?: IEditPointInputData | ||
| circleDirection?: IDirection4 | ||
| circleMargin?: number | ||
| rotatePoint?: IEditPointInputData // 改用circle代替,后期可移除 | ||
| buttonsDirection?: IDirection4 | ||
| buttonsFixed?: boolean | 'AABB' | 'OBB' | ||
| buttonsMargin?: number | ||
@@ -110,8 +114,13 @@ | ||
| moveable?: boolean | ||
| moveable?: boolean | 'move' | ||
| resizeable?: boolean | 'zoom' | ||
| flipable?: boolean | ||
| rotateable?: boolean | 'rotate' | ||
| resizeable?: boolean | 'zoom' | ||
| skewable?: boolean | ||
| } | ||
| export interface IEditPointInputData extends IBoxInputData { | ||
| direction?: number | ||
| pointType?: IEditPointType | ||
| } | ||
| export interface IEditPoint extends IBox { | ||
@@ -122,3 +131,3 @@ direction: number | ||
| export type IEditPointType = 'rotate' | 'resize' | ||
| export type IEditPointType = 'rotate' | 'resize' | 'button' | ||
@@ -125,0 +134,0 @@ export interface IEditBoxBase extends IGroup { |
+1
-1
@@ -46,2 +46,2 @@ export * from '@leafer/interface' | ||
| export { IEditorBase, IEditorConfig, IEditBoxBase, IEditPoint, IEditPointType, IEditToolFunction, IEditorConfigFunction } from './editor/IEditor' | ||
| export { IEditorBase, IEditorConfig, IEditBoxBase, IEditPoint, IEditPointInputData, IEditPointType, IEditToolFunction, IEditorConfigFunction } from './editor/IEditor' |
+19
-11
| import { IAlign, IUnitPointData, IExportFileType, IFourNumber, IPointData, ISizeData, IPathCommandData, IWindingRule, IBlendMode, IMatrixData, ILeaferImage, ITaskItem, IBoolean, INumber, IString, IUnitData, IPathCreator, IBoundsData as IBoundsData$1, ILeaferImageConfig, ICanvasContext2DSettings, ILeaferCanvas, ICanvasContext2D, IRenderOptions, IPickOptions, IPickResult, ILeaf as ILeaf$1, IJSONOptions, IValue, IFindCondition, IPathString, IPathDrawer, IExportOptions, IExportResult, IAnswer, ILeafData, ILeafComputedData, ILeafInputData, IObject as IObject$1, ILeaferAttrData, IControl, ILeaferConfig, ILeaferType, ILeafRender, ILeafBounds, ILeafHit, IStateStyleType, ICachedLeaf, IBooleanMap, IAround } from '@leafer/interface'; | ||
| export * from '@leafer/interface'; | ||
| import { IGroup as IGroup$1, ISelectorProxy, IUI as IUI$1, ILeafList, IObject, ILeaf, IEditSize, IDragEvent, IZoomEvent, IRotateEvent, IGroupInputData as IGroupInputData$1, IStroke as IStroke$1, IFill as IFill$1, IBoxInputData as IBoxInputData$1, IRectInputData as IRectInputData$1, IColorString as IColorString$1, ICursorType, IImageCursor, IAlign as IAlign$1, IUnitPointData as IUnitPointData$1, IUIInputData as IUIInputData$1, IBox as IBox$1, IRect as IRect$1, IBoundsData, IKeyEvent } from '@leafer-ui/interface'; | ||
| import { IGroup as IGroup$1, ISelectorProxy, IUI as IUI$1, ILeafList, IObject, ILeaf, IEditSize, IDragEvent, IZoomEvent, IRotateEvent, IGroupInputData as IGroupInputData$1, IStroke as IStroke$1, IFill as IFill$1, IBoxInputData as IBoxInputData$1, IRectInputData as IRectInputData$1, IColorString as IColorString$1, IDirection4, ICursorType, IImageCursor, IAlign as IAlign$1, IUnitPointData as IUnitPointData$1, IUIInputData as IUIInputData$1, IBox as IBox$1, IRect as IRect$1, IBoundsData, IKeyEvent } from '@leafer-ui/interface'; | ||
@@ -358,10 +358,13 @@ type IPercent = string; | ||
| pointRadius?: number; | ||
| point?: IBoxInputData$1 | IBoxInputData$1[]; | ||
| middlePoint?: IBoxInputData$1 | IBoxInputData$1[]; | ||
| rotatePoint?: IBoxInputData$1; | ||
| point?: IEditPointInputData | IEditPointInputData[]; | ||
| middlePoint?: IEditPointInputData | IEditPointInputData[]; | ||
| rect?: IBoxInputData$1; | ||
| area?: IRectInputData$1; | ||
| mask?: IColorString$1; | ||
| buttonsDirection?: 'top' | 'right' | 'bottom' | 'left'; | ||
| buttonsFixed?: boolean; | ||
| mask?: boolean | IColorString$1; | ||
| circle?: IEditPointInputData; | ||
| circleDirection?: IDirection4; | ||
| circleMargin?: number; | ||
| rotatePoint?: IEditPointInputData; | ||
| buttonsDirection?: IDirection4; | ||
| buttonsFixed?: boolean | 'AABB' | 'OBB'; | ||
| buttonsMargin?: number; | ||
@@ -384,7 +387,12 @@ hideOnMove?: boolean; | ||
| openInner?: 'double' | 'long'; | ||
| moveable?: boolean; | ||
| moveable?: boolean | 'move'; | ||
| resizeable?: boolean | 'zoom'; | ||
| flipable?: boolean; | ||
| rotateable?: boolean | 'rotate'; | ||
| resizeable?: boolean | 'zoom'; | ||
| skewable?: boolean; | ||
| } | ||
| interface IEditPointInputData extends IBoxInputData$1 { | ||
| direction?: number; | ||
| pointType?: IEditPointType; | ||
| } | ||
| interface IEditPoint extends IBox$1 { | ||
@@ -394,3 +402,3 @@ direction: number; | ||
| } | ||
| type IEditPointType = 'rotate' | 'resize'; | ||
| type IEditPointType = 'rotate' | 'resize' | 'button'; | ||
| interface IEditBoxBase extends IGroup$1 { | ||
@@ -874,2 +882,2 @@ editor: IEditorBase; | ||
| export type { IApp, IAppConfig, IAppData, IAppInputData, IArrow, IArrowData, IArrowInputData, IArrowType, IBlurEffect, IBox, IBoxData, IBoxInputData, ICachedShape, ICanvas, ICanvasData, ICanvasInputData, IColor, IColorConvertModule, IColorStop, IColorString, ICornerRadiusString, IDashPatternString, IEditBoxBase, IEditPoint, IEditPointType, IEditToolFunction, IEditorBase, IEditorConfig, IEditorConfigFunction, IEffectAttrData, IEffectComputedData, IEffectInputData, IEffectModule, IEllipse, IEllipseData, IEllipseInputData, IExportModule, IFill, IFindUIMethod, IFlow, IFlowData, IFlowInputData, IFontWeight, IFrame, IFrameData, IFrameInputData, IFrameRenderModule, IGradientPaint, IGrayscaleEffect, IGroup, IGroupData, IGroupInputData, IGroupRenderModule, IImage, IImageData, IImageInputData, IImagePaint, IImagePaintMode, IImageRenderModule, ILeafFill, ILeafPaint, ILeafPaintColor, ILeafPaintPatternData, ILeafShadowEffect, ILeafStrokePaint, ILeafer, ILeaferData, ILeaferInputData, ILine, ILineData, ILineInputData, IOverflow, IPaint, IPaintAttr, IPaintGradientModule, IPaintImageModule, IPaintModule, IPaintString, IPath, IPathArrowModule, IPathData, IPathDataArrow, IPathDataArrowMap, IPathInputData, IPen, IPenData, IPenInputData, IPercent, IPolygon, IPolygonData, IPolygonInputData, IRGB, IRGBA, IRect, IRectData, IRectInputData, IRectRenderModule, IRepeat, IShadowEffect, IShadowString, IStar, IStarData, IStarInputData, IStateModule, IStroke, IStrokeAlign, IStrokeAttrData, IStrokeCap, IStrokeComputedData, IStrokeInputData, IStrokeJoin, IStrokeWidthString, IText, ITextAlign, ITextCase, ITextCharData, ITextConvertModule, ITextData, ITextDecoration, ITextDrawData, ITextInputData, ITextRenderModule, ITextRowData, ITextStyleAttrData, ITextStyleComputedData, ITextStyleInputData, ITextWordData, ITextWrap, IUI, IUIBaseInputData, IUIBoundsModule, IUIData, IUIHitModule, IUIInputData, IUIJSONData, IUIRenderModule, IUITag, IVectorPath, IVerticalAlign }; | ||
| export type { IApp, IAppConfig, IAppData, IAppInputData, IArrow, IArrowData, IArrowInputData, IArrowType, IBlurEffect, IBox, IBoxData, IBoxInputData, ICachedShape, ICanvas, ICanvasData, ICanvasInputData, IColor, IColorConvertModule, IColorStop, IColorString, ICornerRadiusString, IDashPatternString, IEditBoxBase, IEditPoint, IEditPointInputData, IEditPointType, IEditToolFunction, IEditorBase, IEditorConfig, IEditorConfigFunction, IEffectAttrData, IEffectComputedData, IEffectInputData, IEffectModule, IEllipse, IEllipseData, IEllipseInputData, IExportModule, IFill, IFindUIMethod, IFlow, IFlowData, IFlowInputData, IFontWeight, IFrame, IFrameData, IFrameInputData, IFrameRenderModule, IGradientPaint, IGrayscaleEffect, IGroup, IGroupData, IGroupInputData, IGroupRenderModule, IImage, IImageData, IImageInputData, IImagePaint, IImagePaintMode, IImageRenderModule, ILeafFill, ILeafPaint, ILeafPaintColor, ILeafPaintPatternData, ILeafShadowEffect, ILeafStrokePaint, ILeafer, ILeaferData, ILeaferInputData, ILine, ILineData, ILineInputData, IOverflow, IPaint, IPaintAttr, IPaintGradientModule, IPaintImageModule, IPaintModule, IPaintString, IPath, IPathArrowModule, IPathData, IPathDataArrow, IPathDataArrowMap, IPathInputData, IPen, IPenData, IPenInputData, IPercent, IPolygon, IPolygonData, IPolygonInputData, IRGB, IRGBA, IRect, IRectData, IRectInputData, IRectRenderModule, IRepeat, IShadowEffect, IShadowString, IStar, IStarData, IStarInputData, IStateModule, IStroke, IStrokeAlign, IStrokeAttrData, IStrokeCap, IStrokeComputedData, IStrokeInputData, IStrokeJoin, IStrokeWidthString, IText, ITextAlign, ITextCase, ITextCharData, ITextConvertModule, ITextData, ITextDecoration, ITextDrawData, ITextInputData, ITextRenderModule, ITextRowData, ITextStyleAttrData, ITextStyleComputedData, ITextStyleInputData, ITextWordData, ITextWrap, IUI, IUIBaseInputData, IUIBoundsModule, IUIData, IUIHitModule, IUIInputData, IUIJSONData, IUIRenderModule, IUITag, IVectorPath, IVerticalAlign }; |
66516
1.02%1844
0.88%+ Added
- Removed
Updated