Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@antv/g-lite

Package Overview
Dependencies
Maintainers
64
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g-lite - npm Package Compare versions

Comparing version 1.0.70 to 1.1.0-alpha.1

dist/display-objects/constants.d.ts

1

dist/AbstractRenderer.d.ts

@@ -50,2 +50,1 @@ import type { CanvasContext } from './dom';

}
//# sourceMappingURL=AbstractRenderer.d.ts.map

@@ -7,5 +7,5 @@ import EventEmitter from 'eventemitter3';

import type { TypeEasingFunction } from '../types';
import type { Landmark } from './Landmark';
import type { ICamera } from './interfaces';
import { CameraProjectionMode, CameraTrackingMode, CameraType } from './interfaces';
import type { Landmark } from './Landmark';
/**

@@ -281,2 +281,1 @@ * 参考「WebGL Insights - 23.Designing Cameras for WebGL Applications」,基于 Responsible Camera 思路设计

}
//# sourceMappingURL=Camera.d.ts.map
export * from './Camera';
export * from './interfaces';
export * from './Landmark';
//# sourceMappingURL=index.d.ts.map

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

import type EventEmitter from 'eventemitter3';
import type { EventEmitter } from 'eventemitter3';
import type { mat4, vec2, vec3 } from 'gl-matrix';

@@ -195,2 +195,1 @@ import type { TypeEasingFunction } from '..';

}
//# sourceMappingURL=interfaces.d.ts.map

@@ -24,2 +24,1 @@ import type { mat4, vec3 } from 'gl-matrix';

}
//# sourceMappingURL=Landmark.d.ts.map
import type { IRenderer } from './AbstractRenderer';
import { DisplayObject } from './display-objects';
import { DisplayObject } from './display-objects/DisplayObject';
import type { CanvasContext, IChildNode } from './dom';

@@ -9,3 +9,3 @@ import { Document, EventTarget } from './dom';

import type { PointLike } from './shapes';
import type { Cursor, InteractivePointerEvent, CanvasConfig } from './types';
import type { CanvasConfig, Cursor, InteractivePointerEvent } from './types';
export declare function isCanvas(value: any): value is Canvas;

@@ -151,2 +151,1 @@ export declare enum CanvasEvent {

}
//# sourceMappingURL=Canvas.d.ts.map

@@ -13,2 +13,1 @@ /**

}
//# sourceMappingURL=Cullable.d.ts.map

@@ -12,2 +12,1 @@ import type { AABB } from '../shapes';

}
//# sourceMappingURL=Geometry.d.ts.map

@@ -7,2 +7,1 @@ export * from './Cullable';

export * from './Transform';
//# sourceMappingURL=index.d.ts.map

@@ -12,2 +12,1 @@ import { DisplayObject } from '../display-objects';

}
//# sourceMappingURL=RBushNode.d.ts.map

@@ -28,2 +28,1 @@ import type { AABB } from '../shapes';

}
//# sourceMappingURL=Renderable.d.ts.map

@@ -26,2 +26,1 @@ import type { INode } from '../dom/interfaces';

}
//# sourceMappingURL=Sortable.d.ts.map

@@ -32,2 +32,1 @@ import type { mat4, quat, vec2, vec3 } from 'gl-matrix';

}
//# sourceMappingURL=Transform.d.ts.map

@@ -88,2 +88,1 @@ import { CSSUnitValue } from './cssom';

};
//# sourceMappingURL=CSS.d.ts.map

@@ -24,2 +24,1 @@ import { CSSStyleValue, CSSStyleValueType } from './CSSStyleValue';

}
//# sourceMappingURL=CSSColorValue.d.ts.map

@@ -32,2 +32,1 @@ import type { CSSKeywordValue } from './CSSKeywordValue';

}
//# sourceMappingURL=CSSGradientValue.d.ts.map

@@ -16,2 +16,1 @@ import { CSSStyleValue, CSSStyleValueType } from './CSSStyleValue';

}
//# sourceMappingURL=CSSKeywordValue.d.ts.map

@@ -12,2 +12,1 @@ export declare enum CSSMathOperator {

export declare function isComparison(op: CSSMathOperator): boolean;
//# sourceMappingURL=CSSMathOperator.d.ts.map

@@ -8,2 +8,1 @@ import type { UnitType } from './types';

export type CSSNumericSumValue = Term[];
//# sourceMappingURL=CSSNumericSumValue.d.ts.map

@@ -29,2 +29,1 @@ import { CSSStyleValue, CSSStyleValueType } from './CSSStyleValue';

export declare const Odeg: CSSUnitValue;
//# sourceMappingURL=CSSNumericValue.d.ts.map

@@ -26,2 +26,1 @@ import type { CSSColorPercent, CSSColorRGBComp } from './CSSColorValue';

}
//# sourceMappingURL=CSSRGB.d.ts.map

@@ -46,2 +46,1 @@ import { Nested, ParenLess, UnitCategory, UnitType } from './types';

}
//# sourceMappingURL=CSSStyleValue.d.ts.map

@@ -17,2 +17,1 @@ /**

export * from './types';
//# sourceMappingURL=index.d.ts.map

@@ -39,2 +39,1 @@ export declare enum UnitType {

}
//# sourceMappingURL=types.d.ts.map
import type { DisplayObject } from '../display-objects';
import type { IElement } from '../dom';
import type { StyleValueRegistry } from './interfaces';
import type { GlobalRuntime } from '../global-runtime';
export type CSSPropertySyntaxFactory = <P, U>(syntax: string) => CSSProperty<P, U>;

@@ -8,3 +8,3 @@ export type Interpolatable = number | boolean | number[] | boolean[];

type CSSPropertyParser<Parsed> = (value: string | any, object: DisplayObject) => Parsed;
type CSSPropertyCalculator<Parsed, Used> = (name: string, oldParsed: Parsed, parsed: Parsed, object: IElement, registry: StyleValueRegistry) => Used;
type CSSPropertyCalculator<Parsed, Used> = (name: string, oldParsed: Parsed, parsed: Parsed, object: IElement, runtime: GlobalRuntime) => Used;
/**

@@ -45,2 +45,1 @@ * 1. parser: raw CSS string -> Computed Value

export {};
//# sourceMappingURL=CSSProperty.d.ts.map

@@ -20,2 +20,1 @@ import { CSSKeywordValue, CSSRGB, CSSUnitValue, UnitType } from './cssom';

export declare const PECENTAGE_50: CSSUnitValue;
//# sourceMappingURL=CSSStyleValuePool.d.ts.map

@@ -12,2 +12,1 @@ /**

export * from './StyleValueRegistry';
//# sourceMappingURL=index.d.ts.map

@@ -137,2 +137,1 @@ import type { BaseStyleProps } from '..';

}
//# sourceMappingURL=interfaces.d.ts.map

@@ -23,2 +23,1 @@ import { Rect } from '../..';

export declare function mergeColors(left: CSSRGB | CSSGradientValue[] | Pattern, right: CSSRGB | CSSGradientValue[] | Pattern): [number[], number[], (color: number[]) => string] | undefined;
//# sourceMappingURL=color.d.ts.map

@@ -47,2 +47,1 @@ import type { DisplayObject } from '../../display-objects';

export declare function convertPercentUnit(valueWithUnit: CSSUnitValue, vec3Index: number, target: DisplayObject): number;
//# sourceMappingURL=dimension.d.ts.map

@@ -8,2 +8,1 @@ import type { CSSUnitValue } from '../cssom';

export declare function parseFilter(filterStr?: string): ParsedFilterStyleProperty[];
//# sourceMappingURL=filter.d.ts.map

@@ -5,2 +5,1 @@ export declare const parseGradient: {

};
//# sourceMappingURL=gradient.d.ts.map

@@ -16,2 +16,1 @@ /**

export * from './types';
//# sourceMappingURL=index.d.ts.map

@@ -25,2 +25,1 @@ export declare function numberToString(x: number): string;

export declare function mergeNumberLists(left: number[], right: number[]): [number[], number[], (numberList: number[]) => number[]] | undefined;
//# sourceMappingURL=numeric.d.ts.map
import type { CurveArray, PathArray } from '@antv/util';
import type { DisplayObject, ParsedPathStyleProps } from '../../display-objects';
import type { IElement } from '../../dom';
export declare function parsePath(path: string | PathArray, object: DisplayObject): ParsedPathStyleProps['path'];
export declare function mergePaths(left: ParsedPathStyleProps['path'], right: ParsedPathStyleProps['path'], object: IElement): [CurveArray, CurveArray, (b: CurveArray) => CurveArray];
//# sourceMappingURL=path.d.ts.map
export declare function parsePath(path: string | PathArray, object?: DisplayObject): ParsedPathStyleProps['path'];
export declare function mergePaths(left: ParsedPathStyleProps['path'], right: ParsedPathStyleProps['path'], object?: IElement): [CurveArray, CurveArray, (b: CurveArray) => CurveArray];

@@ -8,3 +8,3 @@ import type { DisplayObject } from '../..';

*/
export declare function parsePoints(pointsOrStr: string | [number, number][], object: DisplayObject): {
export declare function parsePoints(pointsOrStr: string | [number, number][], object?: DisplayObject): {
points: [number, number][];

@@ -25,2 +25,1 @@ totalLength: number;

] | undefined;
//# sourceMappingURL=points.d.ts.map

@@ -9,2 +9,1 @@ /**

};
//# sourceMappingURL=transform-origin.d.ts.map

@@ -16,2 +16,1 @@ import type { DisplayObject } from '../../display-objects';

export declare function mergeTransforms(left: ParsedTransform[], right: ParsedTransform[], target: DisplayObject | null): [number[][], number[][], (d: number[][]) => string];
//# sourceMappingURL=transform.d.ts.map
import type { CSSStyleValue } from '../cssom';
export type CSSValueParser = (css: string) => CSSStyleValue;
//# sourceMappingURL=types.d.ts.map

@@ -14,2 +14,1 @@ import type { DisplayObject } from '../../display-objects';

}
//# sourceMappingURL=CSSPropertyAngle.d.ts.map
import type { DisplayObject } from '../../display-objects';
import type { GlobalRuntime } from '../../global-runtime';
import type { CSSProperty } from '../CSSProperty';

@@ -7,4 +8,3 @@ /**

export declare class CSSPropertyClipPath implements Partial<CSSProperty<DisplayObject, DisplayObject>> {
calculator(name: string, oldPath: DisplayObject, newPath: DisplayObject, object: DisplayObject): DisplayObject<any, any>;
calculator(name: string, oldPath: DisplayObject, newPath: DisplayObject, object: DisplayObject, runtime: GlobalRuntime): DisplayObject<any, any>;
}
//# sourceMappingURL=CSSPropertyClipPath.d.ts.map

@@ -16,5 +16,4 @@ import type { DisplayObject } from '../../display-objects';

};
calculator(name: string, oldParsed: CSSRGB | CSSGradientValue[] | CSSKeywordValue | Pattern, parsed: CSSRGB | CSSGradientValue[] | CSSKeywordValue | Pattern, object: DisplayObject): CSSRGB | Pattern | CSSGradientValue[];
calculator(name: string, oldParsed: CSSRGB | CSSGradientValue[] | CSSKeywordValue | Pattern, parsed: CSSRGB | CSSGradientValue[] | CSSKeywordValue | Pattern, object: DisplayObject): CSSRGB | CSSGradientValue[] | Pattern;
mixer: typeof mergeColors;
}
//# sourceMappingURL=CSSPropertyColor.d.ts.map

@@ -8,2 +8,1 @@ import type { CSSProperty } from '../CSSProperty';

}
//# sourceMappingURL=CSSPropertyFilter.d.ts.map
import type { DisplayObject } from '../../display-objects';
import type { GlobalRuntime } from '../../global-runtime';
import type { CSSProperty } from '../CSSProperty';
import { CSSUnitValue } from '../cssom';
import type { CSSProperty } from '../CSSProperty';
import type { StyleValueRegistry } from '../interfaces';
import { mergeNumbers } from '../parser';

@@ -19,4 +19,3 @@ /**

*/
calculator(name: string, oldParsed: CSSUnitValue, computed: CSSUnitValue, object: DisplayObject, registry: StyleValueRegistry): number;
calculator(name: string, oldParsed: CSSUnitValue, computed: CSSUnitValue, object: DisplayObject, runtime: GlobalRuntime): number;
}
//# sourceMappingURL=CSSPropertyLengthOrPercentage.d.ts.map

@@ -17,2 +17,1 @@ import type { CSSUnitValue } from '../cssom';

}
//# sourceMappingURL=CSSPropertyLengthOrPercentage12.d.ts.map

@@ -27,2 +27,1 @@ import type { CSSUnitValue } from '../cssom';

}
//# sourceMappingURL=CSSPropertyLengthOrPercentage14.d.ts.map
import type { DisplayObject } from '../../display-objects';
import type { CSSProperty } from '../CSSProperty';
import type { CSSUnitValue } from '../cssom';
import type { CSSProperty } from '../CSSProperty';
import { CSSPropertyLengthOrPercentage } from './CSSPropertyLengthOrPercentage';

@@ -14,2 +14,1 @@ /**

}
//# sourceMappingURL=CSSPropertyLocalPosition.d.ts.map

@@ -6,2 +6,1 @@ import type { DisplayObject } from '../../display-objects';

}
//# sourceMappingURL=CSSPropertyMarker.d.ts.map

@@ -13,2 +13,1 @@ import type { CSSUnitValue } from '../cssom';

}
//# sourceMappingURL=CSSPropertyNumber.d.ts.map

@@ -14,2 +14,1 @@ import type { DisplayObject } from '../../display-objects';

}
//# sourceMappingURL=CSSPropertyOffsetDistance.d.ts.map

@@ -15,2 +15,1 @@ import type { CSSUnitValue } from '../cssom';

}
//# sourceMappingURL=CSSPropertyOpacity.d.ts.map

@@ -28,2 +28,1 @@ import type { AbsoluteArray } from '@antv/util';

}
//# sourceMappingURL=CSSPropertyPath.d.ts.map

@@ -20,2 +20,1 @@ import type { DisplayObject } from '../../display-objects';

}
//# sourceMappingURL=CSSPropertyPoints.d.ts.map

@@ -5,2 +5,1 @@ import { CSSPropertyLengthOrPercentage } from './CSSPropertyLengthOrPercentage';

}
//# sourceMappingURL=CSSPropertyShadowBlur.d.ts.map

@@ -8,2 +8,1 @@ import type { DisplayObject } from '../../display-objects';

}
//# sourceMappingURL=CSSPropertyText.d.ts.map

@@ -12,2 +12,1 @@ import type { TextTransform } from '../..';

}
//# sourceMappingURL=CSSPropertyTextTransform.d.ts.map

@@ -43,2 +43,1 @@ import type { DisplayObject } from '../../display-objects';

}
//# sourceMappingURL=CSSPropertyTransform.d.ts.map

@@ -14,2 +14,1 @@ import type { CSSUnitValue } from '../cssom';

}
//# sourceMappingURL=CSSPropertyTransformOrigin.d.ts.map

@@ -12,2 +12,1 @@ import type { DisplayObject } from '../../display-objects';

}
//# sourceMappingURL=CSSPropertyZIndex.d.ts.map

@@ -21,2 +21,1 @@ export * from './CSSPropertyAngle';

export * from './CSSPropertyZIndex';
//# sourceMappingURL=index.d.ts.map

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

import { DisplayObject } from '../display-objects';
import type { DisplayObject } from '../display-objects';
import type { GlobalRuntime } from '../global-runtime';
import type { BaseStyleProps } from '../types';

@@ -12,6 +13,7 @@ import type { CSSStyleValue } from './cssom';

export declare class DefaultStyleValueRegistry implements StyleValueRegistry {
private runtime;
/**
* need recalc later
*/
constructor();
constructor(runtime: GlobalRuntime);
registerMetadata(metadata: PropertyMetadata): void;

@@ -54,2 +56,1 @@ unregisterMetadata(name: string): void;

}
//# sourceMappingURL=StyleValueRegistry.d.ts.map

@@ -21,2 +21,1 @@ import type { DisplayObjectConfig } from '../dom/interfaces';

}
//# sourceMappingURL=Circle.d.ts.map

@@ -25,2 +25,1 @@ import type { DisplayObjectConfig } from '../dom';

}
//# sourceMappingURL=CustomElement.d.ts.map

@@ -5,3 +5,3 @@ import type { mat3, vec2 } from 'gl-matrix';

import type { DisplayObjectConfig, IAnimation, IChildNode } from '../dom';
import { Element } from '../dom';
import { Element } from '../dom/Element';
import type { BaseStyleProps, ParsedBaseStyleProps } from '../types';

@@ -275,2 +275,1 @@ export declare function isDisplayObject(value: any): value is DisplayObject;

}
//# sourceMappingURL=DisplayObject.d.ts.map

@@ -23,2 +23,1 @@ import type { DisplayObjectConfig } from '../dom/interfaces';

}
//# sourceMappingURL=Ellipse.d.ts.map

@@ -30,2 +30,1 @@ import type { CSSUnitValue } from '../css';

}
//# sourceMappingURL=Group.d.ts.map

@@ -42,2 +42,1 @@ import type { CSSUnitValue } from '../css';

}
//# sourceMappingURL=HTML.d.ts.map

@@ -27,2 +27,1 @@ import type { DisplayObjectConfig } from '../dom';

}
//# sourceMappingURL=Image.d.ts.map

@@ -14,2 +14,1 @@ export * from './Circle';

export * from './Text';
//# sourceMappingURL=index.d.ts.map

@@ -16,7 +16,7 @@ import type { DisplayObjectConfig } from '../dom';

*/
markerStart?: DisplayObject;
markerStart?: DisplayObject | null;
/**
* marker will be positioned at x2/y2
*/
markerEnd?: DisplayObject;
markerEnd?: DisplayObject | null;
/**

@@ -41,4 +41,4 @@ * offset relative to original position

isBillboard?: boolean;
markerStart?: DisplayObject;
markerEnd?: DisplayObject;
markerStart?: DisplayObject | null;
markerEnd?: DisplayObject | null;
markerStartOffset?: number;

@@ -63,2 +63,1 @@ markerEndOffset?: number;

}
//# sourceMappingURL=Line.d.ts.map

@@ -13,8 +13,8 @@ import type { AbsoluteArray, AbsoluteSegment, CurveArray, PathArray } from '@antv/util';

*/
markerStart?: DisplayObject;
markerStart?: DisplayObject | null;
/**
* marker will be positioned at the last point
*/
markerEnd?: DisplayObject;
markerMid?: DisplayObject;
markerEnd?: DisplayObject | null;
markerMid?: DisplayObject | null;
/**

@@ -53,12 +53,2 @@ * offset relative to original position

}
export declare const EMPTY_PARSED_PATH: {
absolutePath: AbsoluteArray;
hasArc: boolean;
segments: any[];
polygons: any[];
polylines: any[];
curve: any;
totalLength: number;
rect: Rectangle;
};
export interface PathArcParams {

@@ -96,5 +86,5 @@ cx: number;

};
markerStart?: DisplayObject;
markerMid?: DisplayObject;
markerEnd?: DisplayObject;
markerStart?: DisplayObject | null;
markerMid?: DisplayObject | null;
markerEnd?: DisplayObject | null;
markerStartOffset?: number;

@@ -137,2 +127,1 @@ markerEndOffset?: number;

}
//# sourceMappingURL=Path.d.ts.map

@@ -9,8 +9,8 @@ import type { DisplayObjectConfig } from '../dom';

*/
markerStart?: DisplayObject;
markerStart?: DisplayObject | null;
/**
* marker will be positioned at the last point
*/
markerEnd?: DisplayObject;
markerMid?: DisplayObject;
markerEnd?: DisplayObject | null;
markerMid?: DisplayObject | null;
/**

@@ -32,5 +32,5 @@ * offset relative to original position

};
markerStart?: DisplayObject;
markerMid?: DisplayObject;
markerEnd?: DisplayObject;
markerStart?: DisplayObject | null;
markerMid?: DisplayObject | null;
markerEnd?: DisplayObject | null;
markerStartOffset?: number;

@@ -52,2 +52,1 @@ markerEndOffset?: number;

}
//# sourceMappingURL=Polygon.d.ts.map

@@ -11,8 +11,8 @@ import type { DisplayObjectConfig } from '../dom';

*/
markerStart?: DisplayObject;
markerStart?: DisplayObject | null;
/**
* marker will be positioned at the last point
*/
markerEnd?: DisplayObject;
markerMid?: DisplayObject;
markerEnd?: DisplayObject | null;
markerMid?: DisplayObject | null;
/**

@@ -33,5 +33,5 @@ * offset relative to original position

};
markerStart?: DisplayObject;
markerMid?: DisplayObject;
markerEnd?: DisplayObject;
markerStart?: DisplayObject | null;
markerMid?: DisplayObject | null;
markerEnd?: DisplayObject | null;
markerStartOffset?: number;

@@ -51,2 +51,1 @@ markerEndOffset?: number;

}
//# sourceMappingURL=Polyline.d.ts.map

@@ -28,2 +28,1 @@ import type { DisplayObjectConfig } from '../dom';

}
//# sourceMappingURL=Rect.d.ts.map

@@ -181,2 +181,1 @@ import { CSSGlobalKeywords, CSSRGB } from '../css';

}
//# sourceMappingURL=Text.d.ts.map

@@ -16,2 +16,1 @@ import type { DisplayObject } from '../display-objects';

}
//# sourceMappingURL=CustomElementRegistry.d.ts.map

@@ -17,2 +17,1 @@ import { FederatedEvent } from './FederatedEvent';

}
//# sourceMappingURL=CustomEvent.d.ts.map

@@ -78,2 +78,1 @@ import { Group } from '../display-objects';

}
//# sourceMappingURL=Document.d.ts.map
import type { Cullable, Geometry, RBushNode, Renderable, Sortable, Transform } from '../components';
import type { AABB, Rectangle } from '../shapes';
import type { BaseStyleProps, ParsedBaseStyleProps } from '../types';
import type { ICSSStyleDeclaration, IElement, IEventTarget, INode } from './interfaces';
import { Node } from './Node';
import type { ICSSStyleDeclaration, IElement, INode } from './interfaces';
export declare function resetEntityCounter(): void;

@@ -14,3 +14,2 @@ /**

export declare class Element<StyleProps extends BaseStyleProps = any, ParsedStyleProps extends ParsedBaseStyleProps = any> extends Node implements IElement<StyleProps, ParsedStyleProps> {
static isElement(target: IEventTarget | INode | IElement): target is IElement;
/**

@@ -209,2 +208,1 @@ * Unique id.

}
//# sourceMappingURL=Element.d.ts.map
import EventEmitter from 'eventemitter3';
import { FederatedEvent } from './FederatedEvent';
import type { IEventTarget, EventListenerOrEventListenerObject } from './interfaces';
import type { EventListenerOrEventListenerObject, IEventTarget } from './interfaces';
/**

@@ -41,2 +41,1 @@ * Objects that can receive events and may have listeners for them.

}
//# sourceMappingURL=EventTarget.d.ts.map

@@ -7,3 +7,3 @@ import type { EventService } from '../services';

* An DOM-compatible synthetic event implementation that is "forwarded" on behalf of an original
* FederatedEvent or native {@link https://dom.spec.whatwg.org/#event Event}.
* FederatedEvent or native Event.
*/

@@ -149,2 +149,1 @@ export declare class FederatedEvent<N extends Event = Event, T = any> {

}
//# sourceMappingURL=FederatedEvent.d.ts.map

@@ -53,2 +53,1 @@ import type { DisplayObject } from '../display-objects/DisplayObject';

}
//# sourceMappingURL=FederatedMouseEvent.d.ts.map

@@ -88,2 +88,1 @@ import { FederatedMouseEvent } from './FederatedMouseEvent';

}
//# sourceMappingURL=FederatedPointerEvent.d.ts.map

@@ -14,10 +14,6 @@ import { FederatedMouseEvent } from './FederatedMouseEvent';

deltaZ: number;
/** Units specified in lines. */
DOM_DELTA_LINE: number;
/** Units specified in pages. */
DOM_DELTA_PAGE: number;
/** Units specified in pixels. */
DOM_DELTA_PIXEL: number;
readonly DOM_DELTA_PIXEL: 0x00;
readonly DOM_DELTA_LINE: 0x01;
readonly DOM_DELTA_PAGE: 0x02;
clone(): FederatedWheelEvent;
}
//# sourceMappingURL=FederatedWheelEvent.d.ts.map

@@ -13,2 +13,1 @@ export * from './CustomElementRegistry';

export * from './Node';
//# sourceMappingURL=index.d.ts.map

@@ -441,2 +441,1 @@ import type RBush from 'rbush';

export {};
//# sourceMappingURL=interfaces.d.ts.map

@@ -16,2 +16,1 @@ import { FederatedEvent } from './FederatedEvent';

}
//# sourceMappingURL=MutationEvent.d.ts.map

@@ -139,2 +139,1 @@ import { EventTarget } from './EventTarget';

}
//# sourceMappingURL=Node.d.ts.map

@@ -0,7 +1,7 @@

import { Camera } from './camera';
import type { LayoutRegistry } from './css';
import type { CSSProperty } from './css/CSSProperty';
import { DefaultStyleValueRegistry } from './css/StyleValueRegistry';
import { PropertySyntax } from './css/interfaces';
import { DefaultStyleValueRegistry } from './css/StyleValueRegistry';
import type { HTML } from './display-objects';
import { Camera } from './camera';
import type { GeometryAABBUpdater, SceneGraphSelector, SceneGraphService } from './services';

@@ -36,2 +36,1 @@ import { OffscreenCanvasCreator, TextService } from './services';

}
//# sourceMappingURL=global-runtime.d.ts.map
import RBush from 'rbush/rbush.js';
export * from './global-runtime';
export * from './AbstractRenderer';
export * from './Canvas';
export * from './camera';
export * from './Canvas';
export * from './components';
export { CSS, CSSGradientValue, CSSKeywordValue, CSSRGB, CSSStyleValue, CSSUnitValue, GradientType, Interpolatable, isPattern, isCSSRGB, isCSSGradientValue, LayoutRegistry, LinearGradient, parseColor, parsePath, parseLength, mergeColors, parseTransform, ParsedTransform, Pattern, propertyMetadataCache, PropertySyntax, RadialGradient, StyleValueRegistry, UnitType, BUILT_IN_PROPERTIES, } from './css';
export { BUILT_IN_PROPERTIES, CSS, CSSGradientValue, CSSKeywordValue, CSSRGB, CSSStyleValue, CSSUnitValue, GradientType, PropertySyntax, UnitType, isCSSGradientValue, isCSSRGB, isPattern, mergeColors, parseColor, parseLength, parsePath, parseTransform, propertyMetadataCache, } from './css';
export type { Interpolatable, LayoutRegistry, LinearGradient, ParsedTransform, Pattern, RadialGradient, StyleValueRegistry, } from './css';
export * from './display-objects';
export * from './dom';
export * from './global-runtime';
export * from './services';
export * from './shapes';
export * from './types';
export { computeLinearGradient, computeRadialGradient, convertToPath, deg2rad, deg2turn, ERROR_MSG_METHOD_NOT_IMPLEMENTED, getEuler, grad2deg, decompose, isBrowser, isFillOrStrokeAffected, rad2deg, setDOMSize, translatePathToString, turn2deg, getAngle, createVec3, fromRotationTranslationScale, findClosestClipPathTarget, getOrCalculatePathTotalLength, definedProps, parsedTransformToMat4, } from './utils';
export { ERROR_MSG_METHOD_NOT_IMPLEMENTED, computeLinearGradient, computeRadialGradient, convertToPath, createVec3, decompose, definedProps, deg2rad, deg2turn, findClosestClipPathTarget, fromRotationTranslationScale, getAngle, getEuler, getOrCalculatePathTotalLength, grad2deg, isBrowser, isFillOrStrokeAffected, parsedTransformToMat4, rad2deg, setDOMSize, translatePathToString, turn2deg, } from './utils';
export { RBush };
//# sourceMappingURL=index.d.ts.map

@@ -18,2 +18,1 @@ import type { ICamera } from '../camera';

}
//# sourceMappingURL=CullingPlugin.d.ts.map

@@ -9,2 +9,1 @@ import type { RenderingPlugin, RenderingPluginContext } from '../services/RenderingService';

}
//# sourceMappingURL=DirtyCheckPlugin.d.ts.map

@@ -27,2 +27,1 @@ import type { RenderingPlugin, RenderingPluginContext } from '../services';

}
//# sourceMappingURL=EventPlugin.d.ts.map

@@ -22,2 +22,1 @@ import type { ICamera } from '../camera';

}
//# sourceMappingURL=FrustumCullingStrategy.d.ts.map

@@ -12,2 +12,1 @@ import type { RenderingPlugin, RenderingPluginContext } from '../services';

}
//# sourceMappingURL=PrepareRendererPlugin.d.ts.map

@@ -9,2 +9,1 @@ import type { Circle, ParsedCircleStyleProps } from '../../display-objects/Circle';

}
//# sourceMappingURL=CircleUpdater.d.ts.map

@@ -9,2 +9,1 @@ import type { Ellipse, ParsedEllipseStyleProps } from '../../display-objects/Ellipse';

}
//# sourceMappingURL=EllipseUpdater.d.ts.map

@@ -9,2 +9,1 @@ export { CircleUpdater } from './CircleUpdater';

export { TextUpdater } from './TextUpdater';
//# sourceMappingURL=index.d.ts.map

@@ -13,2 +13,1 @@ import type { DisplayObject } from '../../display-objects/DisplayObject';

}
//# sourceMappingURL=interfaces.d.ts.map

@@ -9,2 +9,1 @@ import type { ParsedLineStyleProps } from '../../display-objects/Line';

}
//# sourceMappingURL=LineUpdater.d.ts.map

@@ -9,2 +9,1 @@ import type { ParsedPathStyleProps } from '../../display-objects';

}
//# sourceMappingURL=PathUpdater.d.ts.map

@@ -9,2 +9,1 @@ import type { ParsedPolylineStyleProps } from '../../display-objects';

}
//# sourceMappingURL=PolylineUpdater.d.ts.map

@@ -9,2 +9,1 @@ import type { Group, Image, ParsedImageStyleProps, Rect } from '../../display-objects';

}
//# sourceMappingURL=RectUpdater.d.ts.map
import type { DisplayObject, ParsedTextStyleProps } from '../../display-objects';
import { GlobalRuntime } from '../../global-runtime';
import type { GeometryAABBUpdater } from './interfaces';
import { GlobalRuntime } from '../../global-runtime';
export declare class TextUpdater implements GeometryAABBUpdater<ParsedTextStyleProps> {

@@ -24,2 +24,1 @@ private globalRuntime;

}
//# sourceMappingURL=TextUpdater.d.ts.map

@@ -29,2 +29,1 @@ import type { CanvasLike } from '../types';

}
//# sourceMappingURL=ContextService.d.ts.map

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

import type { CanvasContext, GlobalRuntime } from '..';
import type { FederatedEvent } from '../dom/FederatedEvent';

@@ -7,3 +8,2 @@ import { FederatedPointerEvent } from '../dom/FederatedPointerEvent';

import type { Cursor, EventPosition } from '../types';
import { CanvasContext, GlobalRuntime } from '..';
type Picker = (position: EventPosition) => IEventTarget | null;

@@ -84,2 +84,1 @@ export type EmitterListeners = Record<string, {

export {};
//# sourceMappingURL=EventService.d.ts.map

@@ -12,2 +12,1 @@ /** extends by g-canvas/svg/webgl */

export * from './TextService';
//# sourceMappingURL=index.d.ts.map

@@ -49,2 +49,1 @@ import type { mat4, quat, vec2, vec3 } from 'gl-matrix';

}
//# sourceMappingURL=interfaces.d.ts.map

@@ -16,2 +16,1 @@ import type { CanvasLike } from '..';

}
//# sourceMappingURL=OffscreenCanvasCreator.d.ts.map

@@ -27,2 +27,1 @@ import type { DisplayObject, Group } from '../display-objects';

}
//# sourceMappingURL=RenderingContext.d.ts.map

@@ -1,6 +0,6 @@

import type { GlobalRuntime } from '../global-runtime';
import type { ICamera } from '../camera';
import type { DisplayObject } from '../display-objects';
import type { CanvasContext } from '../dom';
import type { EventPosition, InteractivePointerEvent, CanvasConfig } from '../types';
import type { GlobalRuntime } from '../global-runtime';
import type { CanvasConfig, EventPosition, InteractivePointerEvent } from '../types';
import { AsyncParallelHook, AsyncSeriesWaterfallHook, SyncHook, SyncWaterfallHook } from '../utils';

@@ -113,2 +113,1 @@ export type RenderingPluginContext = CanvasContext & GlobalRuntime;

}
//# sourceMappingURL=RenderingService.d.ts.map

@@ -24,2 +24,1 @@ import type { IElement } from '../dom/interfaces';

}
//# sourceMappingURL=SceneGraphSelector.d.ts.map

@@ -5,5 +5,5 @@ import { mat4, quat, vec2, vec3 } from 'gl-matrix';

import type { IElement, INode, IParentNode } from '../dom/interfaces';
import { GlobalRuntime } from '../global-runtime';
import { AABB, Rectangle } from '../shapes';
import type { SceneGraphService } from './interfaces';
import { GlobalRuntime } from '../global-runtime';
/**

@@ -129,2 +129,1 @@ * update transform in scene graph

}
//# sourceMappingURL=SceneGraphService.d.ts.map

@@ -48,2 +48,1 @@ import { CanvasLike, GlobalRuntime } from '..';

export {};
//# sourceMappingURL=TextService.d.ts.map

@@ -34,2 +34,1 @@ import type { mat4 } from 'gl-matrix';

}
//# sourceMappingURL=AABB.d.ts.map

@@ -17,2 +17,1 @@ import type { mat4 } from 'gl-matrix';

}
//# sourceMappingURL=Frustum.d.ts.map

@@ -6,2 +6,1 @@ export * from './AABB';

export * from './Rectangle';
//# sourceMappingURL=index.d.ts.map

@@ -15,2 +15,1 @@ import { vec3 } from 'gl-matrix';

}
//# sourceMappingURL=Plane.d.ts.map

@@ -12,2 +12,1 @@ export interface PointLike {

}
//# sourceMappingURL=Point.d.ts.map

@@ -13,2 +13,1 @@ export declare class Rectangle implements DOMRect {

}
//# sourceMappingURL=Rectangle.d.ts.map

@@ -328,2 +328,1 @@ import type { vec2, vec3 } from 'gl-matrix';

export {};
//# sourceMappingURL=types.d.ts.map

@@ -13,2 +13,1 @@ export declare function DCHECK(bool: boolean): void;

};
//# sourceMappingURL=assert.d.ts.map

@@ -7,2 +7,1 @@ import type { Canvas } from '../Canvas';

export declare const isBrowser: boolean;
//# sourceMappingURL=canvas.d.ts.map

@@ -1,4 +0,5 @@

import type { IElement } from '../dom';
import type { DisplayObject } from '../display-objects';
import type { IElement, IEventTarget, INode } from '../dom';
import type { CanvasLike } from '../types';
export declare function isElement(target: IEventTarget | INode | IElement): target is IElement;
export declare function sortedIndex(array: IElement[], value: IElement): number;

@@ -11,2 +12,1 @@ export declare function sortByZIndex(o1: IElement, o2: IElement): number;

export declare function getHeight($el: HTMLElement | CanvasLike): number;
//# sourceMappingURL=dom.d.ts.map
export declare const ERROR_MSG_METHOD_NOT_IMPLEMENTED = "Method not implemented.";
export declare const ERROR_MSG_USE_DOCUMENT_ELEMENT = "Use document.documentElement instead.";
export declare const ERROR_MSG_APPEND_DESTROYED_ELEMENT = "Cannot append a destroyed element.";
//# sourceMappingURL=error.d.ts.map

@@ -36,2 +36,1 @@ export declare const MOUSE_POINTER_ID = 1;

}
//# sourceMappingURL=event.d.ts.map

@@ -5,3 +5,3 @@ /**

*/
import { CSSKeywordValue, CSSUnitValue } from '../css';
import { CSSKeywordValue, CSSUnitValue } from '../css/cssom';
export interface LinearGradientNode {

@@ -108,2 +108,1 @@ type: 'linear-gradient';

};
//# sourceMappingURL=gradient.d.ts.map

@@ -8,9 +8,9 @@ export * from './assert';

export * from './math';
export * from './memoize';
export * from './path';
export * from './pointer-events';
export * from './raf';
export * from './string';
export * from './tapable';
export * from './text';
export * from './raf';
export * from './memoize';
//# sourceMappingURL=index.d.ts.map
export * from './transform-mat4';
import type { quat, vec2 } from 'gl-matrix';
import { mat3, mat4, vec3, vec4 } from 'gl-matrix';
import { ParsedTransform } from '../css';
import { DisplayObject } from '../display-objects';
import { Tuple3Number } from '../types';

@@ -39,3 +37,1 @@ export declare function copyVec3(a: Tuple3Number, b: Tuple3Number): Tuple3Number;

export declare function decomposeMat4(matrix: mat4, translation: vec3, scale: vec3, skew: vec3, perspective: vec4, quaternion: vec4): boolean;
export declare function parsedTransformToMat4(transform: ParsedTransform[], object?: DisplayObject): mat4;
//# sourceMappingURL=math.d.ts.map

@@ -8,2 +8,1 @@ export declare function memoize(func: any, resolver?: (...args: any[]) => any): {

}
//# sourceMappingURL=memoize.d.ts.map

@@ -1,5 +0,1 @@

/**
* implements morph animation with cubic splitting
* @see http://thednp.github.io/kute.js/svgCubicMorph.html
*/
import type { AbsoluteArray } from '@antv/util';

@@ -29,2 +25,1 @@ import type { mat4 } from 'gl-matrix';

export declare function translatePathToString(absolutePath: AbsoluteArray, defX: number, defY: number, startOffsetX?: number, startOffsetY?: number, endOffsetX?: number, endOffsetY?: number): string;
//# sourceMappingURL=path.d.ts.map
import type { ParsedBaseStyleProps } from '../types';
export declare function isFillOrStrokeAffected(pointerEvents: ParsedBaseStyleProps['pointerEvents'], fill: ParsedBaseStyleProps['fill'], stroke: ParsedBaseStyleProps['stroke']): [boolean, boolean];
//# sourceMappingURL=pointer-events.d.ts.map

@@ -15,2 +15,1 @@ /**

export {};
//# sourceMappingURL=raf.d.ts.map

@@ -6,2 +6,1 @@ export declare const camelCase: {

export declare const kebabize: (str: string) => string;
//# sourceMappingURL=string.d.ts.map

@@ -7,2 +7,1 @@ export declare class AsyncParallelHook<T> {

}
//# sourceMappingURL=AsyncParallelHook.d.ts.map

@@ -7,2 +7,1 @@ import type { AsArray } from './Hook';

}
//# sourceMappingURL=AsyncSeriesWaterfallHook.d.ts.map
export type AsArray<T> = T extends any[] ? T : [T];
//# sourceMappingURL=Hook.d.ts.map

@@ -5,2 +5,1 @@ export * from './AsyncParallelHook';

export * from './SyncWaterfallHook';
//# sourceMappingURL=index.d.ts.map

@@ -7,2 +7,1 @@ import type { AsArray } from './Hook';

}
//# sourceMappingURL=SyncHook.d.ts.map

@@ -7,2 +7,1 @@ import type { AsArray } from './Hook';

}
//# sourceMappingURL=SyncWaterfallHook.d.ts.map
import type { ParsedTextStyleProps } from '../display-objects/Text';
export declare function toFontString(attributes: Partial<ParsedTextStyleProps>): string;
//# sourceMappingURL=text.d.ts.map
{
"name": "@antv/g-lite",
"version": "1.0.70",
"version": "1.1.0-alpha.1",
"description": "A core module for rendering engine implements DOM API.",

@@ -16,3 +16,4 @@ "keywords": [

"type": "git",
"url": "git+https://github.com/antvis/g.git"
"url": "git+https://github.com/antvis/g.git",
"directory": "packages/g-lite"
},

@@ -22,2 +23,7 @@ "license": "MIT",

"sideEffects": true,
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.js",
"default": "./dist/index.js"
},
"main": "dist/index.js",

@@ -34,13 +40,15 @@ "unpkg": "dist/index.umd.min.js",

"scripts": {
"sync": "tnpm sync"
"build": "npm run clean && rollup -c",
"clean": "rimraf dist",
"sync": "tnpm sync",
"watch": "rollup -c -w"
},
"dependencies": {
"@antv/g-math": "^1.7.49",
"@antv/g-math": "workspace:*",
"@antv/util": "^3.3.1",
"@types/offscreencanvas": "^2019.6.4",
"d3-color": "^1.4.0",
"eventemitter3": "^4.0.0",
"gl-matrix": "^3.1.0",
"eventemitter3": "^5.0.1",
"gl-matrix": "^3.3.0",
"rbush": "^3.0.1",
"tslib": "^2.3.1"
"tslib": "^2.5.3"
},

@@ -50,3 +58,3 @@ "devDependencies": {

"@types/gl-matrix": "^2.4.5",
"@types/offscreencanvas": "^2019.6.1",
"@types/offscreencanvas": "^2019.6.4",
"@types/rbush": "^3.0.0"

@@ -57,3 +65,3 @@ },

},
"gitHead": "09b3114354c305562668f22159d9cc35d56c813a"
"gitHead": "bf0d57ef10d56f48d6258906281b9edb34bffb48"
}

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

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc