@antv/g-lite 2.3.3-beta.1 → 2.3.3-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/g-lite",
3
- "version": "2.3.3-beta.1",
3
+ "version": "2.3.3-beta.2",
4
4
  "description": "A core module for rendering engine implements DOM API.",
5
5
  "keywords": [
6
6
  "antv",
@@ -43,7 +43,7 @@
43
43
  "gl-matrix": "^3.4.3",
44
44
  "rbush": "^3.0.1",
45
45
  "tslib": "^2.5.3",
46
- "@antv/g-math": "3.0.1"
46
+ "@antv/g-math": "3.0.2-beta.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/d3-color": "^3.0.2",
@@ -1,12 +0,0 @@
1
- export declare enum CSSMathOperator {
2
- kAdd = "+",
3
- kSubtract = "-",
4
- kMultiply = "*",
5
- kDivide = "/",
6
- kMin = "min",
7
- kMax = "max",
8
- kClamp = "clamp",
9
- kInvalid = ""
10
- }
11
- export declare function isComparison(op: CSSMathOperator): op is CSSMathOperator.kMin | CSSMathOperator.kMax | CSSMathOperator.kClamp;
12
- //# sourceMappingURL=CSSMathOperator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CSSMathOperator.d.ts","sourceRoot":"","sources":["../../../src/css/cssom/CSSMathOperator.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,IAAI,MAAM;IACV,SAAS,MAAM;IACf,SAAS,MAAM;IACf,OAAO,MAAM;IACb,IAAI,QAAQ;IACZ,IAAI,QAAQ;IACZ,MAAM,UAAU;IAChB,QAAQ,KAAK;CACd;AAmBD,wBAAgB,YAAY,CAAC,EAAE,EAAE,eAAe,8EAM/C"}
@@ -1,8 +0,0 @@
1
- import type { UnitType } from './types';
2
- export type UnitMap = Record<UnitType, number>;
3
- export interface Term {
4
- value: number;
5
- units: UnitMap;
6
- }
7
- export type CSSNumericSumValue = Term[];
8
- //# sourceMappingURL=CSSNumericSumValue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CSSNumericSumValue.d.ts","sourceRoot":"","sources":["../../../src/css/cssom/CSSNumericSumValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AAI/C,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAC;IAId,KAAK,EAAE,OAAO,CAAC;CAChB;AAKD,MAAM,MAAM,kBAAkB,GAAG,IAAI,EAAE,CAAC"}
@@ -1,14 +0,0 @@
1
- import type { DisplayObject } from '../../display-objects';
2
- import type { CSSProperty } from '../CSSProperty';
3
- import type { CSSUnitValue } from '../cssom';
4
- import { CSSPropertyLengthOrPercentage } from './CSSPropertyLengthOrPercentage';
5
- /**
6
- * local position
7
- */
8
- export declare class CSSPropertyLocalPosition extends CSSPropertyLengthOrPercentage implements Partial<CSSProperty<CSSUnitValue, number>> {
9
- /**
10
- * update local position
11
- */
12
- postProcessor(object: DisplayObject, attributes: string[]): void;
13
- }
14
- //# sourceMappingURL=CSSPropertyLocalPosition.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CSSPropertyLocalPosition.d.ts","sourceRoot":"","sources":["../../../src/css/properties/CSSPropertyLocalPosition.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAc,MAAM,uBAAuB,CAAC;AAGvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAEhF;;GAEG;AACH,qBAAa,wBACX,SAAQ,6BACR,YAAW,OAAO,CAAC,WAAW,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAErD;;OAEG;IACH,aAAa,CAAC,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,EAAE;CAsC1D"}
@@ -1,8 +0,0 @@
1
- import type { CSSUnitValue } from '../cssom';
2
- import type { CSSProperty } from '../CSSProperty';
3
- import { mergeNumbers } from '../parser/numeric';
4
- export declare class CSSPropertyTextDecorationThickness implements Partial<CSSProperty<CSSUnitValue, number>> {
5
- mixer: typeof mergeNumbers;
6
- calculator(name: string, oldParsed: CSSUnitValue, computed: CSSUnitValue): number;
7
- }
8
- //# sourceMappingURL=CSSPropertyTextDecorationThickness.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CSSPropertyTextDecorationThickness.d.ts","sourceRoot":"","sources":["../../../src/css/properties/CSSPropertyTextDecorationThickness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,qBAAa,kCACX,YAAW,OAAO,CAAC,WAAW,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAErD,KAAK,sBAAgB;IACrB,UAAU,CACR,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,YAAY,EACvB,QAAQ,EAAE,YAAY,GACrB,MAAM;CAGV"}
@@ -1,19 +0,0 @@
1
- import type { IElement } from './interfaces';
2
- /**
3
- * @link https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord
4
- */
5
- export interface MutationRecord {
6
- type: MutationRecordType;
7
- target: IElement;
8
- addedNodes?: IElement[];
9
- attributeName?: string;
10
- attributeNamespace?: string;
11
- nextSibling?: IElement;
12
- oldValue?: string;
13
- previousSibling?: IElement;
14
- removedNodes?: IElement[];
15
- _boundsChangeData?: {
16
- affectChildren: boolean;
17
- };
18
- }
19
- //# sourceMappingURL=MutationObserver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MutationObserver.d.ts","sourceRoot":"","sources":["../../src/dom/MutationObserver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,kBAAkB,CAAC;IACzB,MAAM,EAAE,QAAQ,CAAC;IACjB,UAAU,CAAC,EAAE,QAAQ,EAAE,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,QAAQ,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,QAAQ,CAAC;IAC3B,YAAY,CAAC,EAAE,QAAQ,EAAE,CAAC;IAG1B,iBAAiB,CAAC,EAAE;QAAE,cAAc,EAAE,OAAO,CAAA;KAAE,CAAC;CACjD"}
@@ -1,49 +0,0 @@
1
- import type { DisplayObject, IElement } from '..';
2
- import { MutationEvent } from '..';
3
- import type { MutationRecord as IMutationRecord } from '../dom/MutationObserver';
4
- export declare class MutationRecord implements IMutationRecord {
5
- type: MutationRecordType;
6
- target: IElement;
7
- static copy(original: MutationRecord): MutationRecord;
8
- addedNodes: IElement[];
9
- attributeName: string;
10
- attributeNamespace: string;
11
- nextSibling: IElement;
12
- oldValue: string;
13
- previousSibling: IElement;
14
- removedNodes: IElement[];
15
- constructor(type: MutationRecordType, target: IElement);
16
- }
17
- export declare class Registration {
18
- observer: MutationObserver;
19
- target: IElement;
20
- options?: MutationObserverInit;
21
- private transientObservedNodes;
22
- constructor(observer: MutationObserver, target: IElement, options?: MutationObserverInit);
23
- enqueue(record: MutationRecord): void;
24
- addListeners(): void;
25
- private addListeners_;
26
- removeListeners(): void;
27
- removeListeners_(node: IElement): void;
28
- /**
29
- * Adds a transient observer on node. The transient observer gets removed
30
- * next time we deliver the change records.
31
- */
32
- removeTransientObservers(): void;
33
- handleEvent(e: MutationEvent): void;
34
- }
35
- /**
36
- * @see https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver
37
- * @see https://github.com/googlearchive/MutationObservers/blob/master/MutationObserver.js
38
- */
39
- export declare class MutationObserver {
40
- callback: MutationCallback;
41
- nodes: IElement[];
42
- records: MutationRecord[];
43
- uid: number;
44
- constructor(callback: MutationCallback);
45
- observe(target: DisplayObject, options?: MutationObserverInit): void;
46
- disconnect(): void;
47
- takeRecords(): MutationRecord[];
48
- }
49
- //# sourceMappingURL=MutationObserver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MutationObserver.d.ts","sourceRoot":"","sources":["../../src/plugins/MutationObserver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,IAAI,CAAC;AAClD,OAAO,EAAgB,aAAa,EAAW,MAAM,IAAI,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,IAAI,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAKjF,qBAAa,cAAe,YAAW,eAAe;IAqB3C,IAAI,EAAE,kBAAkB;IACxB,MAAM,EAAE,QAAQ;IArBzB,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,cAAc;IAYpC,UAAU,EAAE,QAAQ,EAAE,CAAM;IAC5B,aAAa,EAAE,MAAM,CAAQ;IAC7B,kBAAkB,EAAE,MAAM,CAAQ;IAClC,WAAW,EAAE,QAAQ,CAAQ;IAC7B,QAAQ,EAAE,MAAM,CAAQ;IACxB,eAAe,EAAE,QAAQ,CAAQ;IACjC,YAAY,EAAE,QAAQ,EAAE,CAAM;gBAErB,IAAI,EAAE,kBAAkB,EACxB,MAAM,EAAE,QAAQ;CAE1B;AAED,qBAAa,YAAY;IAId,QAAQ,EAAE,gBAAgB;IAC1B,MAAM,EAAE,QAAQ;IAChB,OAAO,CAAC,EAAE,oBAAoB;IALvC,OAAO,CAAC,sBAAsB,CAAM;gBAG3B,QAAQ,EAAE,gBAAgB,EAC1B,MAAM,EAAE,QAAQ,EAChB,OAAO,CAAC,EAAE,oBAAoB;IAGvC,OAAO,CAAC,MAAM,EAAE,cAAc;IAsB9B,YAAY;IAIZ,OAAO,CAAC,aAAa;IAcrB,eAAe;IAIf,gBAAgB,CAAC,IAAI,EAAE,QAAQ;IAc/B;;;OAGG;IAgBH,wBAAwB;IAoBxB,WAAW,CAAC,CAAC,EAAE,aAAa;CA+G7B;AAED;;;GAGG;AACH,qBAAa,gBAAgB;IAKR,QAAQ,EAAE,gBAAgB;IAJ7C,KAAK,EAAE,QAAQ,EAAE,CAAM;IACvB,OAAO,EAAE,cAAc,EAAE,CAAM;IAC/B,GAAG,SAAgB;gBAEA,QAAQ,EAAE,gBAAgB;IAE7C,OAAO,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,oBAAoB;IA+C7D,UAAU;IAiBV,WAAW;CAKZ"}
@@ -1,6 +0,0 @@
1
- export declare const camelCase: {
2
- (...args: any[]): any;
3
- cache: Map<any, any>;
4
- };
5
- export declare const kebabize: (str: string) => string;
6
- //# sourceMappingURL=string.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../src/utils/string.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;CAEpB,CAAC;AAEH,eAAO,MAAM,QAAQ,QAAS,MAAM,WASnC,CAAC"}