@leafer-ui/data
Advanced tools
+5
-5
| { | ||
| "name": "@leafer-ui/data", | ||
| "version": "1.11.2", | ||
| "version": "1.12.0", | ||
| "description": "@leafer-ui/data", | ||
@@ -25,9 +25,9 @@ "author": "Chao (Leafer) Wan", | ||
| "dependencies": { | ||
| "@leafer/core": "1.11.2", | ||
| "@leafer-ui/external": "1.11.2" | ||
| "@leafer/core": "1.12.0", | ||
| "@leafer-ui/external": "1.12.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@leafer/interface": "1.11.2", | ||
| "@leafer-ui/interface": "1.11.2" | ||
| "@leafer/interface": "1.12.0", | ||
| "@leafer-ui/interface": "1.12.0" | ||
| } | ||
| } |
+9
-1
@@ -0,4 +1,5 @@ | ||
| import { IJSONOptions } from '@leafer/interface' | ||
| import { UICreator, isString } from '@leafer/core' | ||
| import { IFontWeight, ITextData, IUI, IText, IObject, IBackgroundBoxStyle, IFontWeightNumer } from '@leafer-ui/interface' | ||
| import { IFontWeight, ITextData, IUI, IText, IObject, IBackgroundBoxStyle, IFontWeightNumer, ITextInputData } from '@leafer-ui/interface' | ||
@@ -8,2 +9,3 @@ import { UIData } from "./UIData" | ||
| const fontWeightMap = { | ||
@@ -60,2 +62,8 @@ 'thin': 100, | ||
| public __getInputData(names?: string[] | IObject, options?: IJSONOptions): IObject { | ||
| const data: ITextInputData = super.__getInputData(names, options) | ||
| if (data.textEditing) delete data.textEditing | ||
| return data | ||
| } | ||
| } |
+2
-1
@@ -1,2 +0,2 @@ | ||
| import { INumber, IPointData, IBoolean, IValue, IPathCommandData, IPathCommandNode, IPathCommandObject, IPathString } from '@leafer/interface'; | ||
| import { INumber, IPointData, IBoolean, IValue, IPathCommandData, IPathCommandNode, IPathCommandObject, IPathString, IJSONOptions as IJSONOptions$1 } from '@leafer/interface'; | ||
| import { LeafData } from '@leafer/core'; | ||
@@ -96,2 +96,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'; | ||
| setBoxStyle(value: IUI): void; | ||
| __getInputData(names?: string[] | IObject, options?: IJSONOptions$1): IObject; | ||
| } | ||
@@ -98,0 +99,0 @@ |
20345
2.13%391
1.82%+ 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