You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@leafer/interface

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafer/interface - npm Package Compare versions

Comparing version
1.0.0-rc.25
to
1.0.0-rc.26
+1
-1
package.json
{
"name": "@leafer/interface",
"version": "1.0.0-rc.25",
"version": "1.0.0-rc.26",
"description": "@leafer/interface",

@@ -5,0 +5,0 @@ "author": "Chao (Leafer) Wan",

@@ -73,3 +73,3 @@ import { ILeaferBase } from '../app/ILeafer'

windingRule: IWindingRule
closed: boolean
closed: IBoolean

@@ -87,2 +87,3 @@ // auto layout

autoHeight: IAutoSize
lockRatio: IBoolean
autoBox: IAutoBoxData | IConstraint

@@ -329,3 +330,3 @@

windingRule?: IWindingRule
closed?: boolean
closed?: IBoolean

@@ -343,2 +344,3 @@ // auto layout

autoHeight?: IAutoSize
lockRatio?: IBoolean
autoBox?: IAutoBoxData | IConstraint

@@ -431,2 +433,3 @@

autoHeight?: IAutoSize
lockRatio?: boolean
autoBox?: IAutoBoxData | IConstraint

@@ -573,4 +576,5 @@

toString(): string
toSVG?(): string
toHTML?(): string
toSVG(): string
__SVG(data: IObject): void
toHTML(): string

@@ -586,4 +590,4 @@ // ILeafData ->

findTag(tag: string | string[]): ILeaf[]
findOne(condition: number | string | IFindMethod, options?: any): ILeaf
findId(id: number | string): ILeaf
findOne(condition: number | string | IFindMethod, options?: any): ILeaf | undefined
findId(id: number | string): ILeaf | undefined

@@ -658,5 +662,5 @@ focus(value?: boolean): void

move(x: number | IPointData, y?: number): void
scaleOf(origin: IPointData, scaleX: number, scaleY?: number, resize?: boolean): void
rotateOf(origin: IPointData, rotation: number): void
skewOf(origin: IPointData, skewX: number, skewY?: number, resize?: boolean): void
scaleOf(origin: IPointData | IAlign, scaleX: number, scaleY?: number, resize?: boolean): void
rotateOf(origin: IPointData | IAlign, rotation: number): void
skewOf(origin: IPointData | IAlign, skewX: number, skewY?: number, resize?: boolean): void

@@ -672,2 +676,5 @@ transformWorld(worldTransform?: IMatrixData, resize?: boolean): void

resizeWidth(width: number): void
resizeHeight(height: number): void
// ILeafHit ->

@@ -674,0 +681,0 @@ __hitWorld(point: IRadiusPointData): boolean

@@ -6,3 +6,3 @@ import { IObject } from '../data/IData'

import { ILeaf } from '../display/ILeaf'
import { IPointData } from '../math/IMath'
import { IPointData, IBoundsData } from '../math/IMath'

@@ -59,2 +59,4 @@ export interface IUIEvent extends IEvent {

getLocalTotal?(relative?: ILeaf): IPointData
getPageBounds?(): IBoundsData
}

@@ -61,0 +63,0 @@

@@ -89,2 +89,3 @@ import { INumberFunction, IPointDataFunction } from '../function/IFunction'

eventer?: IObject
keyEvent?: boolean
}

@@ -91,0 +92,0 @@

@@ -106,2 +106,3 @@ import { IFourNumber, IObject } from '../data/IData'

setPoint(point: IPointData): IBounds
setPoints(points: IPointData[]): IBounds

@@ -108,0 +109,0 @@ addPoint(point: IPointData): IBounds

@@ -12,2 +12,3 @@ import { IFunction } from '../function/IFunction'

os?: 'Mac' | 'Windows' | 'Linux'
toURL(text: string, fileType?: 'text' | 'svg'): string
requestRender?(render: IFunction): void

@@ -22,3 +23,3 @@ canvas?: ILeaferCanvas

conicGradientRotate90?: boolean // firefox need rotate
fullImageShadow?: boolean // safari need
fullImageShadow?: boolean // safari need
syncDomFont?: boolean // firefox need

@@ -25,0 +26,0 @@ layout?(target: ILeaf): void

Sorry, the diff of this file is too big to display