@leafer/display
Advanced tools
+11
-11
| { | ||
| "name": "@leafer/display", | ||
| "version": "1.6.2", | ||
| "version": "1.6.3", | ||
| "description": "@leafer/display", | ||
@@ -25,15 +25,15 @@ "author": "Chao (Leafer) Wan", | ||
| "dependencies": { | ||
| "@leafer/math": "1.6.2", | ||
| "@leafer/data": "1.6.2", | ||
| "@leafer/layout": "1.6.2", | ||
| "@leafer/display-module": "1.6.2", | ||
| "@leafer/event": "1.6.2", | ||
| "@leafer/decorator": "1.6.2", | ||
| "@leafer/helper": "1.6.2", | ||
| "@leafer/debug": "1.6.2", | ||
| "@leafer/platform": "1.6.2" | ||
| "@leafer/math": "1.6.3", | ||
| "@leafer/data": "1.6.3", | ||
| "@leafer/layout": "1.6.3", | ||
| "@leafer/display-module": "1.6.3", | ||
| "@leafer/event": "1.6.3", | ||
| "@leafer/decorator": "1.6.3", | ||
| "@leafer/helper": "1.6.3", | ||
| "@leafer/debug": "1.6.3", | ||
| "@leafer/platform": "1.6.3" | ||
| }, | ||
| "devDependencies": { | ||
| "@leafer/interface": "1.6.2" | ||
| "@leafer/interface": "1.6.3" | ||
| } | ||
| } |
+8
-5
@@ -1,2 +0,2 @@ | ||
| import { ILeaferBase, ILeaf, ILeafInputData, ILeafData, ILeaferCanvas, IRenderOptions, IBoundsType, ILocationType, IMatrixWithBoundsData, ILayoutBoundsData, IValue, ILeafLayout, InnerId, IHitCanvas, IRadiusPointData, IEventListenerMap, IEventListener, IEventListenerId, IEvent, IObject, IFunction, IPointData, IBoundsData, IBranch, IFindMethod, IMatrixData, IAttrDecorator, IMatrixWithBoundsScaleData, IMatrixWithScaleData, IAlign, IJSONOptions, IEventMap, IEventOption, IAxis, IMotionPathData, IUnitData, IRotationPointData, ITransition, IValueFunction } from '@leafer/interface' | ||
| import { ILeaferBase, ILeaf, ILeafInputData, ILeafData, ILeaferCanvas, IRenderOptions, IBoundsType, ILocationType, IMatrixWithBoundsData, ILayoutBoundsData, IValue, ILeafLayout, InnerId, IHitCanvas, IRadiusPointData, IEventListenerMap, IEventListener, IEventListenerId, IEvent, IObject, IFunction, IPointData, IBoundsData, IBranch, IFindMethod, IMatrixData, IAttrDecorator, IMatrixWithBoundsScaleData, IMatrixWithScaleData, IAlign, IJSONOptions, IEventParamsMap, IEventOption, IAxis, IMotionPathData, IUnitData, IRotationPointData, ITransition, IValueFunction, IEventParams } from '@leafer/interface' | ||
| import { BoundsHelper, IncrementId, MatrixHelper, PointHelper } from '@leafer/math' | ||
@@ -94,3 +94,3 @@ import { LeafData } from '@leafer/data' | ||
| // event | ||
| public set event(map: IEventMap) { this.on(map) } | ||
| public set event(map: IEventParamsMap) { this.on(map) } | ||
@@ -100,2 +100,5 @@ public __captureMap?: IEventListenerMap | ||
| public __hasLocalEvent?: boolean | ||
| public __hasWorldEvent?: boolean | ||
| // branch | ||
@@ -636,11 +639,11 @@ public children?: ILeaf[] | ||
| public on(_type: string | string[] | IEventMap, _listener?: IEventListener, _options?: IEventOption): void { } | ||
| public on(_type: string | string[] | IEventParams[] | IEventParamsMap, _listener?: IEventListener, _options?: IEventOption): void { } | ||
| public off(_type?: string | string[], _listener?: IEventListener, _options?: IEventOption): void { } | ||
| public on_(_type: string | string[], _listener: IEventListener, _bind?: IObject, _options?: IEventOption): IEventListenerId { return undefined } | ||
| public on_(_type: string | string[] | IEventParams[], _listener?: IEventListener, _bind?: IObject, _options?: IEventOption): IEventListenerId { return undefined } | ||
| public off_(_id: IEventListenerId | IEventListenerId[]): void { } | ||
| public once(_type: string | string[], _listener: IEventListener, _capture?: boolean): void { } | ||
| public once(_type: string | string[] | IEventParams[], _listener?: IEventListener, _captureOrBind?: boolean | IObject, _capture?: boolean): void { } | ||
@@ -647,0 +650,0 @@ public emit(_type: string, _event?: IEvent | IObject, _capture?: boolean): void { } |
+7
-5
@@ -1,2 +0,2 @@ | ||
| import { ILeaf, InnerId, ILeaferBase, ILeafData, ILeafLayout, IMatrixWithBoundsScaleData, IMatrixWithBoundsData, IMatrixData, IBoundsData, IMatrixWithScaleData, IHitCanvas, IEventMap, IEventListenerMap, ILeafInputData, IFunction, IObject, IValue, IJSONOptions, IFindMethod, ILeaferCanvas, IRenderOptions, ILocationType, IBoundsType, ILayoutBoundsData, IPointData, ITransition, IAlign, IAxis, IRadiusPointData, IMotionPathData, IUnitData, IRotationPointData, IEventListener, IEventOption, IEventListenerId, IEvent, IValueFunction, IAttrDecorator } from '@leafer/interface'; | ||
| import { ILeaf, InnerId, ILeaferBase, ILeafData, ILeafLayout, IMatrixWithBoundsScaleData, IMatrixWithBoundsData, IMatrixData, IBoundsData, IMatrixWithScaleData, IHitCanvas, IEventParamsMap, IEventListenerMap, ILeafInputData, IFunction, IObject, IValue, IJSONOptions, IFindMethod, ILeaferCanvas, IRenderOptions, ILocationType, IBoundsType, ILayoutBoundsData, IPointData, ITransition, IAlign, IAxis, IRadiusPointData, IMotionPathData, IUnitData, IRotationPointData, IEventParams, IEventListener, IEventOption, IEventListenerId, IEvent, IValueFunction, IAttrDecorator } from '@leafer/interface'; | ||
| import { LeafData } from '@leafer/data'; | ||
@@ -50,5 +50,7 @@ import { LeafLayout } from '@leafer/layout'; | ||
| get pathInputed(): boolean; | ||
| set event(map: IEventMap); | ||
| set event(map: IEventParamsMap); | ||
| __captureMap?: IEventListenerMap; | ||
| __bubbleMap?: IEventListenerMap; | ||
| __hasLocalEvent?: boolean; | ||
| __hasWorldEvent?: boolean; | ||
| children?: ILeaf[]; | ||
@@ -175,7 +177,7 @@ destroyed: boolean; | ||
| dropTo(parent: ILeaf, index?: number, resize?: boolean): void; | ||
| on(_type: string | string[] | IEventMap, _listener?: IEventListener, _options?: IEventOption): void; | ||
| on(_type: string | string[] | IEventParams[] | IEventParamsMap, _listener?: IEventListener, _options?: IEventOption): void; | ||
| off(_type?: string | string[], _listener?: IEventListener, _options?: IEventOption): void; | ||
| on_(_type: string | string[], _listener: IEventListener, _bind?: IObject, _options?: IEventOption): IEventListenerId; | ||
| on_(_type: string | string[] | IEventParams[], _listener?: IEventListener, _bind?: IObject, _options?: IEventOption): IEventListenerId; | ||
| off_(_id: IEventListenerId | IEventListenerId[]): void; | ||
| once(_type: string | string[], _listener: IEventListener, _capture?: boolean): void; | ||
| once(_type: string | string[] | IEventParams[], _listener?: IEventListener, _captureOrBind?: boolean | IObject, _capture?: boolean): void; | ||
| emit(_type: string, _event?: IEvent | IObject, _capture?: boolean): void; | ||
@@ -182,0 +184,0 @@ emitEvent(_event?: IEvent, _capture?: boolean): void; |
43637
0.88%796
0.51%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated