@leafer-ui/display
Advanced tools
Comparing version
{ | ||
"name": "@leafer-ui/display", | ||
"version": "1.0.0-alpha.2", | ||
"version": "1.0.0-alpha.5", | ||
"description": "@leafer-ui/display", | ||
@@ -8,3 +8,5 @@ "author": "Chao (Leafer) Wan", | ||
"main": "src/index.ts", | ||
"files": ["src"], | ||
"files": [ | ||
"src" | ||
], | ||
"repository": { | ||
@@ -22,11 +24,11 @@ "type": "git", | ||
"dependencies": { | ||
"@leafer/core": "1.0.0-alpha.1", | ||
"@leafer-ui/data": "1.0.0-alpha.1", | ||
"@leafer-ui/display-module": "1.0.0-alpha.1", | ||
"@leafer-ui/decorator": "1.0.0-alpha.1" | ||
"@leafer/core": "1.0.0-alpha.5", | ||
"@leafer-ui/data": "1.0.0-alpha.5", | ||
"@leafer-ui/display-module": "1.0.0-alpha.5", | ||
"@leafer-ui/decorator": "1.0.0-alpha.5" | ||
}, | ||
"devDependencies": { | ||
"@leafer/interface": "1.0.0-alpha.1", | ||
"@leafer-ui/interface": "1.0.0-alpha.1" | ||
"@leafer/interface": "1.0.0-alpha.5", | ||
"@leafer-ui/interface": "1.0.0-alpha.5" | ||
} | ||
} |
@@ -36,3 +36,3 @@ import { ILeaferCanvas, IRenderOptions, ICanvasDrawPath, IBoundsData, IPathCommandData } from '@leafer/interface' | ||
@rewrite(rect.__drawPathByData) | ||
public __drawPathByData(drawer: ICanvasDrawPath, data: IPathCommandData): void { } | ||
public __drawPathByData(_drawer: ICanvasDrawPath, _data: IPathCommandData): void { } | ||
@@ -80,7 +80,7 @@ public __updateBoxBounds(): void { | ||
@rewrite(rect.__render) | ||
public __renderRect(canvas: ILeaferCanvas, options: IRenderOptions): void { } | ||
public __renderRect(_canvas: ILeaferCanvas, _options: IRenderOptions): void { } | ||
@rewrite(group.__render) | ||
public __renderGroup(canvas: ILeaferCanvas, options: IRenderOptions): void { } | ||
public __renderGroup(_canvas: ILeaferCanvas, _options: IRenderOptions): void { } | ||
} |
@@ -28,3 +28,3 @@ import { Branch, useModule, dataProcessor, registerUI } from '@leafer/core' | ||
public add(child: IUI, index?: number): void { } // Branch rewrite | ||
public add(_child: IUI, _index?: number): void { } // Branch rewrite | ||
@@ -43,4 +43,4 @@ public addAt(child: IUI, index: number): void { | ||
public remove(child?: IUI): void { } // Branch rewrite | ||
public remove(_child?: IUI): void { } // Branch rewrite | ||
} |
@@ -24,3 +24,3 @@ import { ICanvasDrawPath, IPathCommandData } from '@leafer/interface' | ||
public __drawPathByData(drawer: ICanvasDrawPath, data: IPathCommandData): void { | ||
public __drawPathByData(drawer: ICanvasDrawPath, _data: IPathCommandData): void { | ||
const { width, height, borderRadius } = this.__ | ||
@@ -27,0 +27,0 @@ if (borderRadius) { |
@@ -59,3 +59,3 @@ import { ICanvasDrawPath, IPathCommandData } from '@leafer/interface' | ||
public __drawPathByData(drawer: ICanvasDrawPath, data: IPathCommandData): void { | ||
public __drawPathByData(drawer: ICanvasDrawPath, _data: IPathCommandData): void { | ||
const { width, height } = this.__ | ||
@@ -62,0 +62,0 @@ drawer.rect(0, 0, width, height) |
@@ -195,4 +195,4 @@ import { ILeaferCanvas, ICanvasDrawPath, IPathCommandData, __Number, __Boolean, __String, IMatrixData, IBoundsData } from '@leafer/interface' | ||
@rewrite(PathHelper.drawData) | ||
public __drawPathByData(drawer: ICanvasDrawPath, data: IPathCommandData): void { } | ||
public __drawPathByData(_drawer: ICanvasDrawPath, _data: IPathCommandData): void { } | ||
} |
20883
0.09%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ 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
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated