@antv/g-lite 1.3.0-next.8 → 1.3.0-next.9
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/index.esm.js +19 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +19 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/dist/services/aabb/GroupUpdater.d.ts +10 -0
- package/dist/services/aabb/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7943,6 +7943,9 @@ function parsedTransformToMat4(transform, object) {
|
|
|
7943
7943
|
});
|
|
7944
7944
|
object.setLocalTransform(m_1);
|
|
7945
7945
|
}
|
|
7946
|
+
else {
|
|
7947
|
+
object.resetLocalTransform();
|
|
7948
|
+
}
|
|
7946
7949
|
return object.getLocalTransform();
|
|
7947
7950
|
}
|
|
7948
7951
|
|
|
@@ -8266,6 +8269,20 @@ var TextUpdater = /** @class */ (function () {
|
|
|
8266
8269
|
return TextUpdater;
|
|
8267
8270
|
}());
|
|
8268
8271
|
|
|
8272
|
+
var GroupUpdater = /** @class */ (function () {
|
|
8273
|
+
function GroupUpdater() {
|
|
8274
|
+
}
|
|
8275
|
+
GroupUpdater.prototype.update = function (parsedStyle, object) {
|
|
8276
|
+
return {
|
|
8277
|
+
cx: 0,
|
|
8278
|
+
cy: 0,
|
|
8279
|
+
hwidth: 0,
|
|
8280
|
+
hheight: 0,
|
|
8281
|
+
};
|
|
8282
|
+
};
|
|
8283
|
+
return GroupUpdater;
|
|
8284
|
+
}());
|
|
8285
|
+
|
|
8269
8286
|
function isFederatedEvent(value) {
|
|
8270
8287
|
return !!value.type;
|
|
8271
8288
|
}
|
|
@@ -11547,7 +11564,7 @@ var geometryUpdaterFactory = (function () {
|
|
|
11547
11564
|
_a[exports.Shape.ELLIPSE] = new EllipseUpdater(),
|
|
11548
11565
|
_a[exports.Shape.RECT] = rectUpdater,
|
|
11549
11566
|
_a[exports.Shape.IMAGE] = rectUpdater,
|
|
11550
|
-
_a[exports.Shape.GROUP] =
|
|
11567
|
+
_a[exports.Shape.GROUP] = new GroupUpdater(),
|
|
11551
11568
|
_a[exports.Shape.LINE] = new LineUpdater(),
|
|
11552
11569
|
_a[exports.Shape.TEXT] = new TextUpdater(runtime),
|
|
11553
11570
|
_a[exports.Shape.POLYLINE] = polylineUpdater,
|
|
@@ -15373,6 +15390,7 @@ exports.FederatedPointerEvent = FederatedPointerEvent;
|
|
|
15373
15390
|
exports.FederatedWheelEvent = FederatedWheelEvent;
|
|
15374
15391
|
exports.Frustum = Frustum;
|
|
15375
15392
|
exports.Group = Group;
|
|
15393
|
+
exports.GroupUpdater = GroupUpdater;
|
|
15376
15394
|
exports.HTML = HTML;
|
|
15377
15395
|
exports.Image = Image;
|
|
15378
15396
|
exports.Line = Line;
|