New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@leafer-ui/interface

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafer-ui/interface - npm Package Compare versions

Comparing version
2.0.5
to
2.0.6
+2
-2
package.json
{
"name": "@leafer-ui/interface",
"version": "2.0.5",
"version": "2.0.6",
"description": "@leafer-ui/interface",

@@ -25,4 +25,4 @@ "author": "Chao (Leafer) Wan",

"dependencies": {
"@leafer/interface": "2.0.5"
"@leafer/interface": "2.0.6"
}
}

@@ -57,2 +57,3 @@ 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'

setBright(value: boolean): void
cancelDimOthers(): void

@@ -59,0 +60,0 @@ update(): void

@@ -70,2 +70,7 @@ import { ILeaf, ILeafComputedData, ILeafData, ILeafInputData, ILeaferCanvas, IRenderOptions, IExportOptions, IExportResult, IPathDrawer, IPointData, IPathCommandData, IBoundsData, IObject, IPathString, ILeaferImage, IPathCreator, IAnswer, IPickOptions, IPickResult, IValue, ICanvasContext2DSettings, IFourNumber, IFindCondition, IBoolean, ICanvasContext2D, IJSONOptions, IMatrixData, ISizeData, ITransition, IAround, IMultimediaType, IDirection4, IOptionPointData, IDirection } from '@leafer/interface'

snapRadius?: number
mode?:
| 'edge' // 自动吸附到元素包围盒边缘,默认模式
| 'four' // 自动吸附到元素包围盒上的4个方向
| 'auto' // 自动吸附到元素包围盒上,拖拽元素会自动更新最佳方向
| 'free' // 可以吸附到元素内部
}

@@ -516,2 +521,3 @@

createProxyData(): IUIInputData
clearProxyData(): void

@@ -518,0 +524,0 @@ find(condition: number | string | IFindCondition | IFindUIMethod, options?: any): IUI[]

@@ -60,2 +60,3 @@ import { IPointData, IPathCommandData, IWindingRule, IBlendMode, IExportFileType, IMultimediaType, IFourNumber, IAlign, IUnitPointData, IAxis, IAxisReverse, IInterlace, IFilter, IOptionSizeData, ISizeData, IGap, IPointGap, IScaleFixed, IDirection, IImageLOD, IPercentData, IFilmOptions } from '@leafer/interface'

to?: IAlign | IUnitPointData
rotation?: number
stretch?: number

@@ -62,0 +63,0 @@ stops: IColorStop[] | IColorString[]

@@ -52,2 +52,3 @@ import { IMultimediaType, IBlendMode, IScaleFixed, IAlign, IUnitPointData, IFilmOptions, IImageLOD, IExportFileType, IFourNumber, IPointData, IOptionSizeData, ISizeData, IGap, IPointGap, IPercentData, IInterlace, IPathCommandData, IAxis, IAxisReverse, IDirection, IWindingRule, IFilter, IFilmPlayOptions, IMatrixData, ILeaferImage, ITaskItem, INumber, IString, IBoolean, IUnitData, IAnimateOptions, IAnimateEasing, IEventer, IObject, IEventParamsMap, IAnimateEasingFunction, IAnimateEnding, ITransition, IBounds, ILeafInputData, ILeaf as ILeaf$1, ILeafComputedData, ILeafData, IBoundsData, IValue, IDirection4 as IDirection4$1, IAround, IOptionPointData, IPathCreator, IJSONOptions, IFindCondition, IAnswer, IPathString, IPathDrawer, ILeaferCanvas, IRenderOptions, IExportOptions, IExportResult, IPickOptions, IPickResult, ICanvasContext2DSettings, ICanvasContext2D, ILeaferAttrData, IControl, ILeaferType, ILeaferConfig, ILeafRender, ILeafBounds, ILeafHit, ICachedLeaf, IScaleData as IScaleData$1, IBooleanMap, IFunction, IMatrixWithBoundsScaleData } from '@leafer/interface';

to?: IAlign | IUnitPointData;
rotation?: number;
stretch?: number;

@@ -462,2 +463,3 @@ stops: IColorStop[] | IColorString[];

setBright(value: boolean): void;
cancelDimOthers(): void;
update(): void;

@@ -746,2 +748,3 @@ updateEditBox(): void;

snapRadius?: number;
mode?: 'edge' | 'four' | 'auto' | 'free';
}

@@ -1109,2 +1112,3 @@ type ILinkerPointType = 'start' | 'end';

createProxyData(): IUIInputData;
clearProxyData(): void;
find(condition: number | string | IFindCondition | IFindUIMethod, options?: any): IUI[];

@@ -1111,0 +1115,0 @@ findTag(tag: string | string[]): IUI[];