@antv/g2 5.0.0-beta.2 → 5.0.0-beta.3
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/dist/g2-lite.min.js +2 -2
- package/dist/g2.min.js +2 -2
- package/esm/spec/geometry.d.ts +1 -1
- package/esm/transform/sample.js.map +1 -1
- package/esm/transform/selectX.js +1 -1
- package/esm/transform/selectY.js +1 -1
- package/lib/spec/geometry.d.ts +1 -1
- package/lib/transform/sample.js.map +1 -1
- package/lib/transform/selectX.js +2 -2
- package/lib/transform/selectY.js +2 -2
- package/package.json +1 -1
- package/src/spec/geometry.ts +1 -7
- package/src/transform/sample.ts +1 -2
- package/src/transform/selectX.ts +1 -1
- package/src/transform/selectY.ts +1 -1
package/esm/spec/geometry.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export type BaseGeometry<T extends GeometryTypes, C extends string = ChannelType
|
|
|
48
48
|
enterDuration?: number;
|
|
49
49
|
enterDelay?: number;
|
|
50
50
|
enterEasing?: string;
|
|
51
|
-
enterFill?: 'forwards' | 'none' | 'backwards' | '
|
|
51
|
+
enterFill?: 'forwards' | 'none' | 'backwards' | 'both' | 'auto';
|
|
52
52
|
updateType?: AnimationTypes;
|
|
53
53
|
updateDuration?: number;
|
|
54
54
|
updateDelay?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sample.js","sourceRoot":"src/","sources":["transform/sample.ts"],"names":[],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"sample.js","sourceRoot":"src/","sources":["transform/sample.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC;;GAEG;AACH,SAAS,SAAS,CAAC,CAAc,EAAE,SAAiB;IAClD,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,MAAM,MAAM,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package/esm/transform/selectY.js
CHANGED
package/lib/spec/geometry.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export type BaseGeometry<T extends GeometryTypes, C extends string = ChannelType
|
|
|
48
48
|
enterDuration?: number;
|
|
49
49
|
enterDelay?: number;
|
|
50
50
|
enterEasing?: string;
|
|
51
|
-
enterFill?: 'forwards' | 'none' | 'backwards' | '
|
|
51
|
+
enterFill?: 'forwards' | 'none' | 'backwards' | 'both' | 'auto';
|
|
52
52
|
updateType?: AnimationTypes;
|
|
53
53
|
updateDuration?: number;
|
|
54
54
|
updateDelay?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sample.js","sourceRoot":"src/","sources":["transform/sample.ts"],"names":[],"mappings":";;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"sample.js","sourceRoot":"src/","sources":["transform/sample.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,yCAA6C;AAC7C,qCAAkC;AAIlC;;GAEG;AACH,SAAS,SAAS,CAAC,CAAc,EAAE,SAAiB;IAClD,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,MAAM,MAAM,GAAG,EAAE,CAAC;IAClB,IAAI,CAAC,GAAG,CAAC,CAAC;IACV,OAAO,CAAC,GAAG,IAAI,EAAE;QACf,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC;KAC3C;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;GAGG;AACI,MAAM,MAAM,GAAsB,CAAC,OAAO,GAAG,EAAE,EAAE,EAAE;IACxD,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,UAAU,GAAG,IAAI,KAAc,OAAO,EAAhB,IAAI,UAAK,OAAO,EAArD,yBAA2C,CAAU,CAAC;IAE5D,MAAM,OAAO,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE;QAC1B,MAAM,MAAM,GAAG,IAAA,oBAAY,EAAC,EAAE,EAAE,CAAC,EAAE,IAAI,CAAC,CAAC;QACzC,OAAO;QACP,IAAI,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,IAAI,UAAU,CAAC;YAAE,OAAO,IAAI,CAAC;QAE7D,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YAC1B,8BAA8B;YAC9B,2CAA2C;YAC3C,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,CAAC,CAAC;YACjE,MAAM,MAAM,GAAG,SAAS,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;YACvC,OAAO,MAAM,CAAC;QAChB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;IACF,OAAO,IAAA,eAAM,kCAAM,IAAI,KAAE,OAAO,IAAG,CAAC;AACtC,CAAC,CAAC;AAjBW,QAAA,MAAM,UAiBjB;AAEF,cAAM,CAAC,KAAK,GAAG,EAAE,CAAC"}
|
package/lib/transform/selectX.js
CHANGED
|
@@ -12,13 +12,13 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.SelectX = void 0;
|
|
15
|
-
const
|
|
15
|
+
const select_1 = require("./select");
|
|
16
16
|
/**
|
|
17
17
|
* The selectX transform filter index by y channel.
|
|
18
18
|
*/
|
|
19
19
|
const SelectX = (options = {}) => {
|
|
20
20
|
const { selector } = options, rest = __rest(options, ["selector"]);
|
|
21
|
-
return (0,
|
|
21
|
+
return (0, select_1.Select)(Object.assign({ x: selector }, rest));
|
|
22
22
|
};
|
|
23
23
|
exports.SelectX = SelectX;
|
|
24
24
|
exports.SelectX.props = {};
|
package/lib/transform/selectY.js
CHANGED
|
@@ -12,13 +12,13 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.SelectY = void 0;
|
|
15
|
-
const
|
|
15
|
+
const select_1 = require("./select");
|
|
16
16
|
/**
|
|
17
17
|
* The selectY transform filter index by y channel.
|
|
18
18
|
*/
|
|
19
19
|
const SelectY = (options = {}) => {
|
|
20
20
|
const { selector } = options, rest = __rest(options, ["selector"]);
|
|
21
|
-
return (0,
|
|
21
|
+
return (0, select_1.Select)(Object.assign({ y: selector }, rest));
|
|
22
22
|
};
|
|
23
23
|
exports.SelectY = SelectY;
|
|
24
24
|
exports.SelectY.props = {};
|
package/package.json
CHANGED
package/src/spec/geometry.ts
CHANGED
|
@@ -141,13 +141,7 @@ export type BaseGeometry<
|
|
|
141
141
|
enterDuration?: number;
|
|
142
142
|
enterDelay?: number;
|
|
143
143
|
enterEasing?: string;
|
|
144
|
-
enterFill?:
|
|
145
|
-
| 'forwards'
|
|
146
|
-
| 'none'
|
|
147
|
-
| 'backwards'
|
|
148
|
-
| 'forwards'
|
|
149
|
-
| 'both'
|
|
150
|
-
| 'auto';
|
|
144
|
+
enterFill?: 'forwards' | 'none' | 'backwards' | 'both' | 'auto';
|
|
151
145
|
updateType?: AnimationTypes;
|
|
152
146
|
updateDuration?: number;
|
|
153
147
|
updateDelay?: number;
|
package/src/transform/sample.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TransformComponent as TC, G2Mark, Primitive } from '../runtime';
|
|
1
|
+
import { TransformComponent as TC, Primitive } from '../runtime';
|
|
3
2
|
import { SampleTransform } from '../spec';
|
|
4
3
|
import { createGroups } from './utils/order';
|
|
5
4
|
import { GroupN } from './groupN';
|
package/src/transform/selectX.ts
CHANGED
package/src/transform/selectY.ts
CHANGED