Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@leafer-ui/data

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafer-ui/data - npm Package Compare versions

Comparing version
1.11.2
to
1.12.0
+5
-5
package.json
{
"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"
}
}

@@ -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
}
}

@@ -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 @@