@antv/g-lite 1.3.0-next.16 → 1.3.0-next.18

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 CHANGED
@@ -7510,8 +7510,8 @@ function sortedIndex(array, value) {
7510
7510
  return low;
7511
7511
  }
7512
7512
  function sortByZIndex(o1, o2) {
7513
- var zIndex1 = Number(o1.parsedStyle.zIndex);
7514
- var zIndex2 = Number(o2.parsedStyle.zIndex);
7513
+ var zIndex1 = Number(o1.parsedStyle.zIndex || 0);
7514
+ var zIndex2 = Number(o2.parsedStyle.zIndex || 0);
7515
7515
  if (zIndex1 === zIndex2) {
7516
7516
  var parent_1 = o1.parentNode;
7517
7517
  if (parent_1) {
@@ -13972,7 +13972,7 @@ var Document = /** @class */ (function (_super) {
13972
13972
  var hitTestList = [];
13973
13973
  rBushNodes.forEach(function (_a) {
13974
13974
  var displayObject = _a.displayObject;
13975
- var pointerEvents = displayObject.parsedStyle.pointerEvents;
13975
+ var _b = displayObject.parsedStyle.pointerEvents, pointerEvents = _b === void 0 ? 'auto' : _b;
13976
13976
  // account for `visibility`
13977
13977
  // @see https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events
13978
13978
  var isVisibilityAffected = [