@leafer-ui/interface
Advanced tools
+2
-2
| { | ||
| "name": "@leafer-ui/interface", | ||
| "version": "1.9.6", | ||
| "version": "1.9.7", | ||
| "description": "@leafer-ui/interface", | ||
@@ -25,4 +25,4 @@ "author": "Chao (Leafer) Wan", | ||
| "dependencies": { | ||
| "@leafer/interface": "1.9.6" | ||
| "@leafer/interface": "1.9.7" | ||
| } | ||
| } |
@@ -1,2 +0,2 @@ | ||
| import { IGroup, IUI, IBox, IRectInputData, ISelectorProxy, IEditSize, ICursorType, IAlign, IUnitPointData, IDragEvent, IMoveEvent, IRotateEvent, IStroke, IFill, ILeaf, ILeafList, IObject, IBoxInputData, IGroupInputData, IImageCursor, IRect, IKeyEvent, IUIInputData, IZoomEvent, IColorString, IDirection4, IPointData, IScaleData, ISkewData, ILayoutBoundsData, ITransition, IFourNumber, IShortcutKeys, IShortcutKeysCheck, IUIEvent, ILeafer } from '@leafer-ui/interface' | ||
| import { IGroup, IUI, IBox, IRectInputData, ISelectorProxy, IEditSize, ICursorType, IAlign, IUnitPointData, IDragEvent, IMoveEvent, IRotateEvent, IStroke, IFill, ILeaf, ILeafList, IObject, IBoxInputData, IGroupInputData, IImageCursor, IKeyEvent, IUIInputData, IZoomEvent, IColorString, IDirection4, IPointData, IScaleData, ISkewData, ILayoutBoundsData, ITransition, IFourNumber, IShortcutKeys, IShortcutKeysCheck, IUIEvent, ILeafer } from '@leafer-ui/interface' | ||
@@ -8,4 +8,5 @@ export interface IEditorBase extends IGroup, ISelectorProxy, ITransformTool { | ||
| target?: IUI | IUI[] | ||
| hoverTarget?: IUI | ||
| target?: IUI | IUI[] | ||
| dimTarget?: IGroup | IGroup[] // 需要淡化的容器 | ||
@@ -52,2 +53,5 @@ readonly list: IUI[] | ||
| setDimOthers(value: boolean | number): void | ||
| setBright(value: boolean): void | ||
| update(): void | ||
@@ -106,6 +110,10 @@ updateEditBox(): void | ||
| middlePoint?: IEditPointInputData | IEditPointInputData[] | ||
| resizeLine?: IEditPointInputData | ||
| rect?: IBoxInputData | ||
| area?: IRectInputData | ||
| mask?: boolean | IColorString | ||
| dimOthers?: boolean | number // 是否弱化其他内容,突出显示选中元素 | ||
| bright?: boolean // 仅突出显示选中元素 | ||
@@ -242,3 +250,3 @@ circle?: IEditPointInputData | ||
| export type IEditPointType = 'resize' | 'rotate' | 'skew' | 'resize-rotate' | 'button' | ||
| export type IEditPointType = 'move' | 'resize' | 'rotate' | 'skew' | 'resize-rotate' | 'button' | ||
@@ -260,3 +268,3 @@ export interface IEditBoxBase extends IGroup { | ||
| circle: IEditPoint | ||
| rect: IRect | ||
| rect: IEditPoint | ||
@@ -263,0 +271,0 @@ buttons: IGroup |
+10
-4
| import { IBlendMode, IAlign, IUnitPointData, IExportFileType, IFourNumber, IPointData, IOptionSizeData, ISizeData, IGap, IPointGap, IScaleFixed, IPathCommandData, IAxis, IAxisReverse, IDirection, IWindingRule, IFilter, IMatrixData, ILeaferImage, ITaskItem, INumber, IString, IBoolean, IUnitData, IAnimateOptions, IAnimateEasing, IEventer, IObject, IEventParamsMap, IAnimateEasingFunction, IAnimateEnding, ITransition, IPercentData, IBounds, ILeafInputData, ILeaf as ILeaf$1, ILeafComputedData, ILeafData, IBoundsData, IValue, IPathCreator, IJSONOptions, IFindCondition, IAnswer, IPathString, IPathDrawer, ILeaferCanvas, IRenderOptions, IExportOptions, IExportResult, IPickOptions, IPickResult, ICanvasContext2DSettings, ICanvasContext2D, ILeaferAttrData, IControl, ILeaferType, ILeaferConfig, ILeafRender, ILeafBounds, ILeafHit, ICachedLeaf, IBooleanMap, IMatrixWithBoundsScaleData } from '@leafer/interface'; | ||
| export * from '@leafer/interface'; | ||
| import { IObject as IObject$1, IEditSize, IStroke as IStroke$1, IFourNumber as IFourNumber$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, IShortcutKeysCheck, IShortcutKeys, IUI as IUI$1, IPointData as IPointData$1, IScaleData, ISkewData, IGroup as IGroup$1, ISelectorProxy, IBox as IBox$1, IRect as IRect$1, ILayoutBoundsData, IKeyEvent, IUIEvent, IDragEvent, IMoveEvent, IZoomEvent, IRotateEvent, ITransition as ITransition$1, ILeafList, ILeafer as ILeafer$1, ILeaf, IGroupInputData as IGroupInputData$1, IStateName as IStateName$1, IString as IString$1, IBoolean as IBoolean$1, IStateStyle as IStateStyle$1 } from '@leafer-ui/interface'; | ||
| import { IObject as IObject$1, IEditSize, IStroke as IStroke$1, IFourNumber as IFourNumber$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, IShortcutKeysCheck, IShortcutKeys, IUI as IUI$1, IPointData as IPointData$1, IScaleData, ISkewData, IGroup as IGroup$1, ISelectorProxy, IBox as IBox$1, ILayoutBoundsData, IKeyEvent, IUIEvent, IDragEvent, IMoveEvent, IZoomEvent, IRotateEvent, ITransition as ITransition$1, ILeafList, ILeafer as ILeafer$1, ILeaf, IGroupInputData as IGroupInputData$1, IStateName as IStateName$1, IString as IString$1, IBoolean as IBoolean$1, IStateStyle as IStateStyle$1 } from '@leafer-ui/interface'; | ||
@@ -425,4 +425,5 @@ type IPercent = string; | ||
| readonly mergedConfig: IEditorConfig; | ||
| target?: IUI$1 | IUI$1[]; | ||
| hoverTarget?: IUI$1; | ||
| target?: IUI$1 | IUI$1[]; | ||
| dimTarget?: IGroup$1 | IGroup$1[]; | ||
| readonly list: IUI$1[]; | ||
@@ -457,2 +458,4 @@ leafList: ILeafList; | ||
| removeItem(item: IUI$1): void; | ||
| setDimOthers(value: boolean | number): void; | ||
| setBright(value: boolean): void; | ||
| update(): void; | ||
@@ -497,5 +500,8 @@ updateEditBox(): void; | ||
| middlePoint?: IEditPointInputData | IEditPointInputData[]; | ||
| resizeLine?: IEditPointInputData; | ||
| rect?: IBoxInputData$1; | ||
| area?: IRectInputData$1; | ||
| mask?: boolean | IColorString$1; | ||
| dimOthers?: boolean | number; | ||
| bright?: boolean; | ||
| circle?: IEditPointInputData; | ||
@@ -602,3 +608,3 @@ circleDirection?: IDirection4; | ||
| } | ||
| type IEditPointType = 'resize' | 'rotate' | 'skew' | 'resize-rotate' | 'button'; | ||
| type IEditPointType = 'move' | 'resize' | 'rotate' | 'skew' | 'resize-rotate' | 'button'; | ||
| interface IEditBoxBase extends IGroup$1 { | ||
@@ -614,3 +620,3 @@ editor: IEditorBase; | ||
| circle: IEditPoint; | ||
| rect: IRect$1; | ||
| rect: IEditPoint; | ||
| buttons: IGroup$1; | ||
@@ -617,0 +623,0 @@ resizePoints: IEditPoint[]; |
103600
0.53%2664
0.45%+ Added
- Removed
Updated