@leafer/display
Advanced tools
+12
-12
| { | ||
| "name": "@leafer/display", | ||
| "version": "1.9.4", | ||
| "version": "1.9.5", | ||
| "description": "@leafer/display", | ||
@@ -25,16 +25,16 @@ "author": "Chao (Leafer) Wan", | ||
| "dependencies": { | ||
| "@leafer/math": "1.9.4", | ||
| "@leafer/data": "1.9.4", | ||
| "@leafer/layout": "1.9.4", | ||
| "@leafer/display-module": "1.9.4", | ||
| "@leafer/event": "1.9.4", | ||
| "@leafer/decorator": "1.9.4", | ||
| "@leafer/helper": "1.9.4", | ||
| "@leafer/image": "1.9.4", | ||
| "@leafer/debug": "1.9.4", | ||
| "@leafer/platform": "1.9.4" | ||
| "@leafer/math": "1.9.5", | ||
| "@leafer/data": "1.9.5", | ||
| "@leafer/layout": "1.9.5", | ||
| "@leafer/display-module": "1.9.5", | ||
| "@leafer/event": "1.9.5", | ||
| "@leafer/decorator": "1.9.5", | ||
| "@leafer/helper": "1.9.5", | ||
| "@leafer/image": "1.9.5", | ||
| "@leafer/debug": "1.9.5", | ||
| "@leafer/platform": "1.9.5" | ||
| }, | ||
| "devDependencies": { | ||
| "@leafer/interface": "1.9.4" | ||
| "@leafer/interface": "1.9.5" | ||
| } | ||
| } |
+2
-2
@@ -25,3 +25,3 @@ 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, IScaleData, IScaleFixed } from '@leafer/interface' | ||
| @useModule(LeafRender) | ||
| export class Leaf implements ILeaf { | ||
| export class Leaf<TInputData = ILeafInputData> implements ILeaf { | ||
@@ -115,3 +115,3 @@ public get tag(): string { return this.__tag } | ||
| constructor(data?: ILeafInputData) { | ||
| constructor(data?: TInputData) { | ||
| this.innerId = create(LEAF) | ||
@@ -118,0 +118,0 @@ this.reset(data) |
+3
-3
@@ -1,6 +0,6 @@ | ||
| import { ILeaf, InnerId, ILeaferBase, ILeafData, ILeafLayout, IMatrixWithBoundsScaleData, IMatrixWithBoundsData, IMatrixData, IBoundsData, IMatrixWithScaleData, IHitCanvas, IEventParamsMap, IEventListenerMap, ILeafInputData, IFunction, IObject, IValue, IJSONOptions, IFindMethod, ILeaferCanvas, IRenderOptions, IScaleFixed, IScaleData, ILocationType, IBoundsType, ILayoutBoundsData, IPointData, ITransition, IAlign, IAxis, IRadiusPointData, IMotionPathData, IUnitData, IRotationPointData, IEventParams, IEventListener, IEventOption, IEventListenerId, IEvent, IValueFunction, IAttrDecorator } from '@leafer/interface'; | ||
| import { ILeafInputData, ILeaf, InnerId, ILeaferBase, ILeafData, ILeafLayout, IMatrixWithBoundsScaleData, IMatrixWithBoundsData, IMatrixData, IBoundsData, IMatrixWithScaleData, IHitCanvas, IEventParamsMap, IEventListenerMap, IFunction, IObject, IValue, IJSONOptions, IFindMethod, ILeaferCanvas, IRenderOptions, IScaleFixed, IScaleData, 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'; | ||
| import { LeafLayout } from '@leafer/layout'; | ||
| declare class Leaf implements ILeaf { | ||
| declare class Leaf<TInputData = ILeafInputData> implements ILeaf { | ||
| get tag(): string; | ||
@@ -60,3 +60,3 @@ set tag(_value: string); | ||
| destroyed: boolean; | ||
| constructor(data?: ILeafInputData); | ||
| constructor(data?: TInputData); | ||
| reset(data?: ILeafInputData): void; | ||
@@ -63,0 +63,0 @@ resetCustom(): void; |
45632
0.11%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated