Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoSign 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
2.0.1
to
2.0.2
+5
-5
package.json
{
"name": "@leafer-ui/data",
"version": "2.0.1",
"version": "2.0.2",
"description": "@leafer-ui/data",

@@ -25,9 +25,9 @@ "author": "Chao (Leafer) Wan",

"dependencies": {
"@leafer/core": "2.0.1",
"@leafer-ui/external": "2.0.1"
"@leafer/core": "2.0.2",
"@leafer-ui/external": "2.0.2"
},
"devDependencies": {
"@leafer/interface": "2.0.1",
"@leafer-ui/interface": "2.0.1"
"@leafer/interface": "2.0.2",
"@leafer-ui/interface": "2.0.2"
}
}

@@ -0,1 +1,2 @@

import { IMultimediaType } from '@leafer/interface'
import { IImageData, IImageInputData, IImage, IObject, IJSONOptions } from '@leafer-ui/interface'

@@ -10,2 +11,4 @@

public get __urlType(): IMultimediaType { return 'image' }
protected _url: string

@@ -19,3 +22,3 @@

public __setImageFill(value: string): void {
(this as IImageInputData).fill = value ? { type: 'image', mode: 'stretch', url: value } : undefined
(this as IImageInputData).fill = value ? { type: this.__urlType, mode: 'stretch', url: value } : undefined
}

@@ -22,0 +25,0 @@

@@ -1,2 +0,2 @@

import { INumber, IPointData, IBoolean, IValue, IPathCommandData, IPathCommandNode, IPathCommandObject, IPathString, IJSONOptions as IJSONOptions$1 } from '@leafer/interface';
import { INumber, IPointData, IBoolean, IValue, IPathCommandData, IPathCommandNode, IPathCommandObject, IPathString, IJSONOptions as IJSONOptions$1, IMultimediaType } from '@leafer/interface';
import { LeafData } from '@leafer/core';

@@ -101,2 +101,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';

__leaf: IImage;
get __urlType(): IMultimediaType;
protected _url: string;

@@ -103,0 +104,0 @@ protected setUrl(value: string): void;