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.65 to 0.0.66

dist/__tests__/unit/display-objects/display-object.dataset.spec.d.ts

6

dist/packages/g-lite/src/Canvas.d.ts

@@ -102,4 +102,7 @@ import type { IRenderer } from './AbstractRenderer';

get ready(): Promise<any>;
destroy(destroyScenegraph?: boolean, skipTriggerEvent?: boolean): void;
/**
* `cleanUp` means clean all the internal services of Canvas which happens when calling `canvas.destroy()`.
*/
destroy(cleanUp?: boolean, skipTriggerEvent?: boolean): void;
/**
* compatible with G 3.0

@@ -120,2 +123,3 @@ * @deprecated

* Recursively destroy all children which can not be appended to its original parent later again.
* But the canvas remains running which means display objects can be appended later.
*/

@@ -122,0 +126,0 @@ destroyChildren(): void;

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

parser: CSSPropertyParser<Parsed>;
parserWithCSSDisabled: CSSPropertyParser<Parsed>;
/**

@@ -27,0 +28,0 @@ * convert parsed value to used value.

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

export declare function convertAngleUnit(value: CSSUnitValue): number;
export declare function parseDimensionArrayFormat(string: string | number | (string | number)[], size: number): number[];
export declare function parseDimensionArray(string: string | (string | number)[]): CSSUnitValue[];
export declare function convertPercentUnit(valueWithUnit: CSSUnitValue, vec3Index: number, target: DisplayObject): number;
//# sourceMappingURL=dimension.d.ts.map

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

};
parserWithCSSDisabled: any;
mixer: typeof mergeNumbers;

@@ -12,0 +13,0 @@ calculator(name: string, oldParsed: CSSUnitValue, parsed: CSSUnitValue, object: DisplayObject): number;

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

};
parserWithCSSDisabled: {
(...args: any[]): any;
cache: Map<any, any>;
};
calculator(name: string, oldParsed: CSSRGB | CSSGradientValue[] | CSSKeywordValue | Pattern, parsed: CSSRGB | CSSGradientValue[] | CSSKeywordValue | Pattern, object: DisplayObject): CSSRGB | Pattern | CSSGradientValue[];

@@ -14,0 +18,0 @@ mixer: typeof mergeColors;

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

parser: (css: string) => CSSUnitValue;
parserWithCSSDisabled: any;
mixer: typeof mergeNumbers;

@@ -13,0 +14,0 @@ /**

@@ -10,4 +10,5 @@ import type { CSSUnitValue } from '../cssom';

};
parserWithCSSDisabled: any;
calculator(name: string, oldParsed: CSSUnitValue, computed: CSSUnitValue): number;
}
//# sourceMappingURL=CSSPropertyNumber.d.ts.map

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

};
parserWithCSSDisabled: any;
calculator(name: string, oldParsed: CSSUnitValue, computed: CSSUnitValue): number;

@@ -11,0 +12,0 @@ mixer: (left: number, right: number) => [number, number, (i: number) => string];

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

};
parserWithCSSDisabled: any;
calculator(name: string, oldParsed: CSSUnitValue, computed: CSSUnitValue): number;

@@ -13,0 +14,0 @@ mixer: (left: number, right: number) => [number, number, (i: number) => string];

3

dist/packages/g-lite/src/css/properties/CSSPropertyPath.d.ts

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

parser: typeof parsePath;
parserWithCSSDisabled: typeof parsePath;
calculator(name: string, oldParsed: ParsedPathStyleProps['path'], parsed: ParsedPathStyleProps['path']): {

@@ -26,4 +27,4 @@ absolutePath: AbsoluteArray;

*/
postProcessor(object: DisplayObject): void;
postProcessor(object: DisplayObject, attributes: string[]): void;
}
//# sourceMappingURL=CSSPropertyPath.d.ts.map

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

*/
postProcessor(object: DisplayObject): void;
postProcessor(object: DisplayObject, attributes: string[]): void;
}
//# sourceMappingURL=CSSPropertyPoints.d.ts.map

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

parser: typeof parseTransform;
parserWithCSSDisabled: typeof parseTransform;
calculator(name: string, oldParsed: CSSKeywordValue | ParsedTransform[], parsed: CSSKeywordValue | ParsedTransform[], object: DisplayObject): ParsedTransform[];

@@ -40,0 +41,0 @@ mixer: typeof mergeTransforms;

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

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

@@ -3,0 +3,0 @@ import type { CSSStyleValue } from './cssom';

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

private activeAnimations;
/**
* Use data-* attribute.
* @see https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes
* @example
* group.dataset.prop1 = 1;
* group.getAttribute('data-prop1'); // 1
*/
dataset: any;
constructor(config: DisplayObjectConfig<StyleProps>);

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

import type { AbsoluteArray, AbsoluteSegment, CurveArray, PathArray } from '@antv/util';
import type { DisplayObjectConfig } from '../dom';
import { Point } from '../shapes';
import type { Rectangle } from '../shapes/Rectangle';
import { Rectangle } from '../shapes/Rectangle';
import type { BaseStyleProps, ParsedBaseStyleProps } from '../types';

@@ -52,2 +52,12 @@ import { DisplayObject } from './DisplayObject';

}
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 {

@@ -54,0 +64,0 @@ cx: number;

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

import type { CSSGlobalKeywords, CSSRGB } from '../css';
import { CSSGlobalKeywords, CSSRGB } from '../css';
import type { DisplayObjectConfig } from '../dom/interfaces';

@@ -3,0 +3,0 @@ import type { TextMetrics } from '../services';

@@ -7,3 +7,3 @@ import RBush from 'rbush/rbush.js';

export * from './components';
export { CSS, CSSGradientValue, CSSKeywordValue, CSSRGB, CSSStyleValue, CSSUnitValue, GradientType, Interpolatable, isPattern, isCSSRGB, isCSSGradientValue, LayoutRegistry, LinearGradient, parseColor, parsePath, parseLength, mergeColors, parseTransform, Pattern, propertyMetadataCache, PropertySyntax, RadialGradient, StyleValueRegistry, UnitType, BUILT_IN_PROPERTIES, } from './css';
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 * from './display-objects';

@@ -10,0 +10,0 @@ export * from './dom';

@@ -5,2 +5,3 @@ export declare const camelCase: {

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

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

import type { RenderingPlugin, RenderingPluginContext } from '@antv/g-lite';
import { RenderingPlugin, RenderingPluginContext } from '@antv/g-lite';
export declare class HTMLRenderingPlugin implements RenderingPlugin {

@@ -3,0 +3,0 @@ static tag: string;

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

import type { DisplayObject, LinearGradient, RadialGradient, RenderingPlugin, RenderingPluginContext } from '@antv/g-lite';
import { DisplayObject, LinearGradient, RadialGradient, RenderingPlugin, RenderingPluginContext } from '@antv/g-lite';
import { mat4 } from 'gl-matrix';

@@ -3,0 +3,0 @@ import type { DefElementManager } from './shapes/defs';

{
"name": "@antv/g-gesture",
"version": "0.0.65",
"version": "0.0.66",
"description": "G Gesture",

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

"devDependencies": {
"@antv/g-mobile-canvas": "^0.8.39",
"@antv/g-mobile-canvas-element": "^0.6.39"
"@antv/g-mobile-canvas": "^0.8.40",
"@antv/g-mobile-canvas-element": "^0.6.40"
},

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

},
"gitHead": "9cf36b5ea1951c9d6ee5da4e54d458f83900cb2f"
"gitHead": "a6afce5fd9b0c4635a13492fca7339ea8db8ea33"
}

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

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