@leafer-ui/data
Advanced tools
+5
-5
| { | ||
| "name": "@leafer-ui/data", | ||
| "version": "1.10.1", | ||
| "version": "1.11.0", | ||
| "description": "@leafer-ui/data", | ||
@@ -25,9 +25,9 @@ "author": "Chao (Leafer) Wan", | ||
| "dependencies": { | ||
| "@leafer/core": "1.10.1", | ||
| "@leafer-ui/external": "1.10.1" | ||
| "@leafer/core": "1.11.0", | ||
| "@leafer-ui/external": "1.11.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@leafer/interface": "1.10.1", | ||
| "@leafer-ui/interface": "1.10.1" | ||
| "@leafer/interface": "1.11.0", | ||
| "@leafer-ui/interface": "1.11.0" | ||
| } | ||
| } |
+3
-3
@@ -1,2 +0,2 @@ | ||
| import { INumber, IValue, IBoolean, IPathCommandData, IPathString, IPointData, IPathCommandObject, IObject, IFilter } from '@leafer/interface' | ||
| import { INumber, IValue, IBoolean, IPathCommandData, IPathString, IPointData, IPathCommandObject, IObject, IFilter, IPathCommandNode } from '@leafer/interface' | ||
| import { PathConvert, DataHelper, LeafData, Debug, isArray, isObject, isString, isUndefined } from '@leafer/core' | ||
@@ -10,3 +10,3 @@ | ||
| const { stintSet } = DataHelper, { hasTransparent } = ColorConvert | ||
| const emptyPaint: ILeafPaint = {} | ||
| const emptyPaint: ILeafPaint = { originPaint: {} as any } | ||
| const debug = Debug.get('UIData') | ||
@@ -108,3 +108,3 @@ export class UIData extends LeafData implements IUIData { | ||
| protected setPath(value: IPathCommandData | IPathCommandObject[] | IPathString) { | ||
| protected setPath(value: IPathCommandData | IPathCommandNode[] | IPathCommandObject[] | IPathString) { | ||
| const isStr = isString(value) | ||
@@ -111,0 +111,0 @@ if (isStr || (value && isObject(value[0]))) { |
+2
-2
@@ -1,2 +0,2 @@ | ||
| import { INumber, IPointData, IBoolean, IValue, IPathCommandData, IPathCommandObject, IPathString } from '@leafer/interface'; | ||
| import { INumber, IPointData, IBoolean, IValue, IPathCommandData, IPathCommandNode, IPathCommandObject, IPathString } from '@leafer/interface'; | ||
| import { LeafData } from '@leafer/core'; | ||
@@ -39,3 +39,3 @@ import { IUIData, IUI, IStrokeComputedStyle, IGroupData, IBoxData, ILeaferData, IObject, IJSONOptions, IFrameData, ILineData, IRectData, IEllipseData, IPolygonData, IStarData, IPathData, IPenData, ITextData, IBackgroundBoxStyle, IFontWeight, IImageData, IImage, ICanvasData } from '@leafer-ui/interface'; | ||
| protected setStroke(value: IValue): void; | ||
| protected setPath(value: IPathCommandData | IPathCommandObject[] | IPathString): void; | ||
| protected setPath(value: IPathCommandData | IPathCommandNode[] | IPathCommandObject[] | IPathString): void; | ||
| protected setShadow(value: IValue): void; | ||
@@ -42,0 +42,0 @@ protected setInnerShadow(value: IValue): void; |
19920
0.51%+ 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
Updated
Updated