@antv/g-lite 2.7.0 → 2.7.1

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.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * @antv/g-lite
3
3
  * @description A core module for rendering engine implements DOM API.
4
- * @version 2.7.0
5
- * @date 12/24/2025, 11:55:20 AM
4
+ * @version 2.7.1
5
+ * @date 10/10/2026, 9:45:35 AM
6
6
  * @author AntVis
7
7
  * @docs https://g.antv.antgroup.com/
8
8
  */
@@ -3077,7 +3077,7 @@ var CSSStyleValue = /*#__PURE__*/function () {
3077
3077
  // type === UnitType.kChs ||
3078
3078
  // this.isViewportPercentageLength(type) ||
3079
3079
  // this.isContainerPercentageLength(type)
3080
- ;
3080
+ ;
3081
3081
  }
3082
3082
  }, {
3083
3083
  key: "isTime",
@@ -8234,7 +8234,7 @@ var FederatedEvent = /*#__PURE__*/function () {
8234
8234
  }]);
8235
8235
  }();
8236
8236
 
8237
- var FederatedMouseEvent = /*#__PURE__*/function (_ref) {
8237
+ var FederatedMouseEvent = /*#__PURE__*/function (_FederatedEvent) {
8238
8238
  function FederatedMouseEvent() {
8239
8239
  var _this;
8240
8240
  _classCallCheck(this, FederatedMouseEvent);
@@ -8273,7 +8273,7 @@ var FederatedMouseEvent = /*#__PURE__*/function (_ref) {
8273
8273
  _this.screen = new Point();
8274
8274
  return _this;
8275
8275
  }
8276
- _inherits(FederatedMouseEvent, _ref);
8276
+ _inherits(FederatedMouseEvent, _FederatedEvent);
8277
8277
  return _createClass(FederatedMouseEvent, [{
8278
8278
  key: "clientX",
8279
8279
  get: function get() {
@@ -15488,10 +15488,20 @@ var PrepareRendererPlugin = /*#__PURE__*/function () {
15488
15488
  renderingService.dirty();
15489
15489
  };
15490
15490
  var handleBoundsChanged = function handleBoundsChanged(e) {
15491
- var _this$mutationRecords;
15492
15491
  var records = e.detail;
15493
15492
  // Store mutation records for potential future processing
15494
- (_this$mutationRecords = _this.mutationRecords).push.apply(_this$mutationRecords, _toConsumableArray(records));
15493
+ var _iterator = _createForOfIteratorHelper(records),
15494
+ _step;
15495
+ try {
15496
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
15497
+ var record = _step.value;
15498
+ _this.mutationRecords.push(record);
15499
+ }
15500
+ } catch (err) {
15501
+ _iterator.e(err);
15502
+ } finally {
15503
+ _iterator.f();
15504
+ }
15495
15505
  renderingService.dirty();
15496
15506
  };
15497
15507
  var handleMounted = function handleMounted(e) {