Socket
Socket
Sign inDemoInstall

@antv/g-gesture

Package Overview
Dependencies
1
Maintainers
58
Versions
148
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.10 to 0.0.11

dist/packages/g-plugin-a11y/src/AriaManager.d.ts

3

dist/packages/g-plugin-a11y/src/A11yPlugin.d.ts

@@ -8,7 +8,6 @@ import type { RenderingPlugin, RenderingService } from '@antv/g';

private textExtractor;
private ariaManager;
apply(renderingService: RenderingService): void;
private onKeyDown;
private activate;
private isSVG;
}
//# sourceMappingURL=A11yPlugin.d.ts.map

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

import type { DisplayObject, PolylineStyleProps, Point } from '@antv/g';
import type { DisplayObject, Point, PolylineStyleProps } from '@antv/g';
export declare function isPointInPath(displayObject: DisplayObject<PolylineStyleProps>, position: Point): boolean;
//# sourceMappingURL=Polygon.d.ts.map

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

import type { DisplayObject, PolylineStyleProps, Point } from '@antv/g';
import type { DisplayObject, Point, PolylineStyleProps } from '@antv/g';
export declare function isPointInPath(displayObject: DisplayObject<PolylineStyleProps>, position: Point): boolean;
//# sourceMappingURL=Polyline.d.ts.map

@@ -26,8 +26,12 @@ import type { RenderingPlugin, RenderingService } from '@antv/g';

private clearFullScreen;
/**
* view projection matrix
*/
private vpMatrix;
private dprMatrix;
private tmpMat4;
private tmpVec3;
private tmpMat4;
apply(renderingService: RenderingService): void;
private clearRect;
private renderDisplayObject;
private shouldClearFullScreen;
private convertAABB2Rect;

@@ -42,7 +46,9 @@ /**

private saveDirtyAABB;
private applyTransform;
/**
* TODO: batch the same global attributes
*/
private applyAttributesToContext;
private useAnchor;
private applyWorldTransform;
private safeMergeAABB;
}
//# sourceMappingURL=CanvasRendererPlugin.d.ts.map

@@ -112,3 +112,3 @@ import type { CSSNumericSumValue, UnitMap } from './CSSNumericSumValue';

export declare class CSSUnitValue extends CSSNumericValue {
static toCanonicalUnit(unit: UnitType): UnitType.kUnknown | UnitType.kNumber | UnitType.kPixels | UnitType.kDegrees | UnitType.kSeconds | UnitType.kHertz | UnitType.kDotsPerPixel;
static toCanonicalUnit(unit: UnitType): UnitType.kUnknown | UnitType.kNumber | UnitType.kPercentage | UnitType.kPixels | UnitType.kDegrees | UnitType.kSeconds | UnitType.kHertz | UnitType.kDotsPerPixel;
static toCanonicalUnitIfPossible(unit: UnitType): UnitType;

@@ -115,0 +115,0 @@ static formatInfinityOrNaN(number: number, suffix?: string): string;

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

import { Nested, ParenLess, UnitType, UnitCategory } from './types';
import { Nested, ParenLess, UnitCategory, UnitType } from './types';
export declare enum CSSStyleValueType {

@@ -34,3 +34,3 @@ kUnknownType = 0,

static stringToUnitType(name: string): UnitType;
static canonicalUnitTypeForCategory(category: UnitCategory): UnitType.kUnknown | UnitType.kNumber | UnitType.kPixels | UnitType.kDegrees | UnitType.kSeconds | UnitType.kHertz | UnitType.kDotsPerPixel;
static canonicalUnitTypeForCategory(category: UnitCategory): UnitType.kUnknown | UnitType.kNumber | UnitType.kPercentage | UnitType.kPixels | UnitType.kDegrees | UnitType.kSeconds | UnitType.kHertz | UnitType.kDotsPerPixel;
/**

@@ -37,0 +37,0 @@ * @see https://chromium.googlesource.com/chromium/src/+/refs/heads/main/third_party/blink/renderer/core/css/css_primitive_value.cc#353

import type { ParsedBaseStyleProps } from '../../types';
import type { CSSStyleValue } from '../cssom';
import type { LayoutFragment } from './LayoutFragment';
import type { MeasureFn, IntrinsicSizes } from './types';
import type { CSSStyleValue } from '../cssom';
import type { IntrinsicSizes, MeasureFn } from './types';
interface LayoutObjectIntrinsicSizes {

@@ -6,0 +6,0 @@ minContentInlineSize: number;

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

* 10deg + 10rad
* 10% + 20% = 30%
*/

@@ -33,0 +34,0 @@ export declare function mergeDimensions(left: CSSUnitValue, right: CSSUnitValue, target: IElement, nonNegative?: boolean, index?: number): [number, number, (value: number) => string];

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

export declare class CSSPropertyClipPath implements Partial<CSSProperty<DisplayObject, DisplayObject>> {
private sceneGraphService;
calculator(name: string, oldClipPath: DisplayObject, newClipPath: DisplayObject, object: DisplayObject): DisplayObject<any, any>;
}
//# sourceMappingURL=CSSPropertyClipPath.d.ts.map

@@ -9,2 +9,3 @@ export * from './CSSPropertyAngle';

export * from './CSSPropertyLocalPosition';
export * from './CSSPropertyNumber';
export * from './CSSPropertyOffsetDistance';

@@ -11,0 +12,0 @@ export * from './CSSPropertyOffsetPath';

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

private propertySyntaxFactory;
private sceneGraphService;
/**

@@ -25,0 +26,0 @@ * eg.

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

private activeAnimations;
private mutationEvent;
constructor(config: DisplayObjectConfig<StyleProps>);

@@ -38,0 +39,0 @@ destroy(): void;

@@ -39,3 +39,3 @@ import type { AbsoluteArray, CurveArray, PathArray } from '@antv/util';

*/
getPoint(ratio: number): Point | null;
getPoint(ratio: number): Point;
/**

@@ -42,0 +42,0 @@ * Get start tangent vector

@@ -7,5 +7,4 @@ import type { RenderingPlugin, RenderingService } from '../services/RenderingService';

static tag: string;
private renderingContext;
apply(renderingService: RenderingService): void;
}
//# sourceMappingURL=DirtyCheckPlugin.d.ts.map

@@ -6,2 +6,3 @@ import type { RenderingPlugin, RenderingService } from '../services';

private styleValueRegistry;
private sceneGraphService;
/**

@@ -8,0 +9,0 @@ * RBush used in dirty rectangle rendering

import { Syringe } from 'mana-syringe';
import { Camera } from '../camera';
import type { DisplayObject } from '../display-objects';
import type { CanvasConfig, EventPosition, InteractivePointerEvent } from '../types';
import type { EventPosition, InteractivePointerEvent } from '../types';
import { CanvasConfig } from '../types';
import { AsyncParallelHook, AsyncSeriesWaterfallHook, SyncHook, SyncWaterfallHook } from '../utils';

@@ -32,2 +33,3 @@ export interface RenderingPlugin {

private renderingPluginProvider;
private canvasConfig;
private renderingContext;

@@ -97,2 +99,8 @@ private sceneGraphService;

};
/**
* Meet the following conditions:
* * disable DirtyRectangleRendering
* * camera changed
*/
disableDirtyRectangleRendering(): boolean;
render(canvasConfig: Partial<CanvasConfig>): void;

@@ -99,0 +107,0 @@ private renderDisplayObject;

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

export declare function sortByZIndex(o1: IElement, o2: IElement): number;
export declare function dirtifyToRoot(element: INode, affectChildren?: boolean): void;
export declare const SceneGraphService: Syringe.DefinedToken;
export interface SceneGraphService {
triggerPendingEvents: () => void;
dirtifyToRoot: (element: INode, affectChildren?: boolean) => void;
matches: <T extends IElement>(query: string, root: T) => boolean;

@@ -55,2 +56,4 @@ querySelector: <R extends IElement, T extends IElement>(query: string, root: R) => T | null;

private sceneGraphSelectorFactory;
private pendingEvents;
private boundsChangedEvent;
matches<T extends IElement>(query: string, root: T): boolean;

@@ -129,2 +132,4 @@ querySelector<R extends IElement, T extends IElement>(query: string, root: R): T | null;

dirtifyWorld(element: INode, transform: Transform): void;
triggerPendingEvents(): void;
dirtifyToRoot(element: INode, affectChildren?: boolean): void;
getPosition(element: INode): vec3;

@@ -131,0 +136,0 @@ getRotation(element: INode): quat;

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

display?: string;
[key: string]: any;
}

@@ -166,2 +167,3 @@ export interface ParsedBaseStyleProps extends Omit<BaseStyleProps, 'anchor' | 'x' | 'y' | 'z' | 'opacity' | 'strokeOpacity' | 'fillOpacity' | 'fill' | 'stroke' | 'lineWidth' | 'increasedLineWidthForHitTesting' | 'lineJoin' | 'lineCap' | 'lineDash' | 'lineDashOffset' | 'path' | 'points' | 'shadowColor' | 'shadowBlur' | 'shadowOffsetX' | 'shadowOffsetY' | 'visibility' | 'pointerEvents' | 'zIndex' | 'transform' | 'transformOrigin' | 'textTransform' | 'offsetDistance'> {

textTransform?: CSSKeywordValue;
[key: string]: any;
}

@@ -168,0 +170,0 @@ export declare type Cursor = 'auto' | 'default' | 'none' | 'context-menu' | 'help' | 'pointer' | 'progress' | 'wait' | 'cell' | 'crosshair' | 'text' | 'vertical-text' | 'alias' | 'copy' | 'move' | 'no-drop' | 'not-allowed' | 'grab' | 'grabbing' | 'all-scroll' | 'col-resize' | 'row-resize' | 'n-resize' | 'e-resize' | 's-resize' | 'w-resize' | 'ne-resize' | 'nw-resize' | 'se-resize' | 'sw-resize' | 'ew-resize' | 'ns-resize' | 'nesw-resize' | 'nwse-resize' | 'zoom-in' | 'zoom-out';

{
"name": "@antv/g-gesture",
"version": "0.0.10",
"version": "0.0.11",
"description": "G Gesture",

@@ -34,4 +34,4 @@ "keywords": [

"devDependencies": {
"@antv/g-mobile-canvas": "^0.5.0",
"@antv/g-mobile-canvas-element": "^0.4.0"
"@antv/g-mobile-canvas": "^0.5.1",
"@antv/g-mobile-canvas-element": "^0.4.1"
},

@@ -41,3 +41,3 @@ "publishConfig": {

},
"gitHead": "464ea5f09af7cd041434233f113feeec3912357e"
"gitHead": "3d97367b6346b35d7780f2a3989a3beb70b87ff1"
}

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

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc