Socket
Socket
Sign inDemoInstall

@antv/g-gesture

Package Overview
Dependencies
Maintainers
64
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g-gesture - npm Package Compare versions

Comparing version 0.0.75 to 0.0.76

dist/packages/g-plugin-physx/src/interfaces.d.ts

3

dist/packages/g-lite/src/components/RBushNode.d.ts

@@ -0,3 +1,4 @@

import { DisplayObject } from '../display-objects';
export interface RBushNodeAABB {
id: number;
displayObject: DisplayObject;
minX: number;

@@ -4,0 +5,0 @@ minY: number;

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

y?: number | string;
z?: number;
img?: string | HTMLImageElement;

@@ -12,2 +13,3 @@ src?: string | HTMLImageElement;

height?: number | string;
isBillboard?: boolean;
}

@@ -17,2 +19,3 @@ export interface ParsedImageStyleProps extends ParsedBaseStyleProps {

y: number;
z?: number;
img?: string | HTMLImageElement;

@@ -22,2 +25,3 @@ src?: string | HTMLImageElement;

height?: number;
isBillboard?: boolean;
}

@@ -24,0 +28,0 @@ export declare class Image extends DisplayObject<ImageStyleProps, ParsedImageStyleProps> {

export * from './Circle';
export * from './CustomElement';
export * from './DisplayObject';
export * from './DisplayObjectPool';
export * from './Ellipse';

@@ -6,0 +5,0 @@ export * from './Group';

@@ -5,3 +5,3 @@ import type { LayoutRegistry } from './css';

import { DefaultStyleValueRegistry } from './css/StyleValueRegistry';
import { DisplayObjectPool } from './display-objects';
import type { HTML } from './display-objects';
import { Camera } from './camera';

@@ -16,3 +16,2 @@ import type { GeometryAABBUpdater, SceneGraphSelector, SceneGraphService } from './services';

EasingFunction: (...args: any[]) => (t: number) => number;
displayObjectPool: DisplayObjectPool;
offscreenCanvas: OffscreenCanvasCreator;

@@ -28,3 +27,4 @@ sceneGraphSelector: SceneGraphSelector;

enableCSSParsing: boolean;
nativeHTMLMap: WeakMap<HTMLElement, HTML>;
}
//# sourceMappingURL=global-runtime.d.ts.map

@@ -7,3 +7,3 @@ import type { FederatedEvent } from '../dom/FederatedEvent';

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

@@ -59,2 +59,5 @@ export type EmitterListeners = Record<string, {

private isNativeEventFromCanvas;
/**
* Find HTML from composed path in native UI event.
*/
private getExistedHTML;

@@ -61,0 +64,0 @@ private pickTarget;

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

import type { DisplayObject, GlobalRuntime, RenderingPlugin, RenderingPluginContext } from '@antv/g-lite';
import type { DisplayObject, RenderingPlugin, RenderingPluginContext } from '@antv/g-lite';
import type { Box2DPluginOptions } from './interfaces';

@@ -18,3 +18,3 @@ export declare class Box2DPlugin implements RenderingPlugin {

private pendingDisplayObjects;
apply(context: RenderingPluginContext, runtime: GlobalRuntime): void;
apply(context: RenderingPluginContext): void;
applyForce(object: DisplayObject, force: [number, number], point: [number, number]): void;

@@ -21,0 +21,0 @@ private createScene;

@@ -10,2 +10,7 @@ import type { DisplayObject } from '@antv/g-lite';

}
export interface Box2DBody {
body: Box2D.b2Body;
fixture: Box2D.b2Fixture;
displayObject: DisplayObject;
}
//# sourceMappingURL=interfaces.d.ts.map

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

import { DisplayObject } from '@antv/g-lite';
import { Body } from 'matter-js';
export interface MatterJSPluginOptions {

@@ -12,2 +14,6 @@ debug: boolean;

}
export interface MatterJSBody {
body: Body;
displayObject: DisplayObject;
}
//# sourceMappingURL=interfaces.d.ts.map

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

import type { DisplayObject, GlobalRuntime, RenderingPlugin, RenderingPluginContext } from '@antv/g-lite';
import type { DisplayObject, RenderingPlugin, RenderingPluginContext } from '@antv/g-lite';
import type { MatterJSPluginOptions } from './interfaces';

@@ -10,3 +10,3 @@ export declare class MatterJSPlugin implements RenderingPlugin {

private pendingDisplayObjects;
apply(context: RenderingPluginContext, runtime: GlobalRuntime): void;
apply(context: RenderingPluginContext): void;
/**

@@ -13,0 +13,0 @@ * @see https://brm.io/matter-js/docs/classes/Body.html#method_applyForce

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

import type { GlobalRuntime, RenderingPlugin, RenderingPluginContext } from '@antv/g-lite';
import type { RenderingPlugin, RenderingPluginContext } from '@antv/g-lite';
/**

@@ -20,3 +20,3 @@ * PhysX runtime mode.

private pendingDisplayObjects;
apply(context: RenderingPluginContext, runtime: GlobalRuntime): void;
apply(context: RenderingPluginContext): void;
private initPhysX;

@@ -23,0 +23,0 @@ private createScene;

@@ -22,2 +22,3 @@ import { DisplayObject, LinearGradient, RadialGradient, RenderingPlugin, RenderingPluginContext } from '@antv/g-lite';

constructor(pluginOptions: SVGRendererPluginOptions, defElementManager: DefElementManager, context: RenderingPluginContext);
private svgElementMap;
/**

@@ -24,0 +25,0 @@ * <camera>

{
"name": "@antv/g-gesture",
"version": "0.0.75",
"version": "0.0.76",
"description": "G Gesture",

@@ -37,3 +37,3 @@ "keywords": [

"devDependencies": {
"@antv/g-mobile-canvas": "^0.8.48",
"@antv/g-mobile-canvas": "^0.8.49",
"@antv/g-mobile-canvas-element": "^0.6.44"

@@ -44,3 +44,3 @@ },

},
"gitHead": "24512ba8af869f3ce8318f746fc635fb2aab13e0"
"gitHead": "2c855770599a29bafbdb4ce1876e300ec9f1305b"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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