@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.js CHANGED
@@ -7531,8 +7531,8 @@ function sortedIndex(array, value) {
7531
7531
  return low;
7532
7532
  }
7533
7533
  function sortByZIndex(o1, o2) {
7534
- var zIndex1 = Number(o1.parsedStyle.zIndex);
7535
- var zIndex2 = Number(o2.parsedStyle.zIndex);
7534
+ var zIndex1 = Number(o1.parsedStyle.zIndex || 0);
7535
+ var zIndex2 = Number(o2.parsedStyle.zIndex || 0);
7536
7536
  if (zIndex1 === zIndex2) {
7537
7537
  var parent_1 = o1.parentNode;
7538
7538
  if (parent_1) {
@@ -13993,7 +13993,7 @@ var Document = /** @class */ (function (_super) {
13993
13993
  var hitTestList = [];
13994
13994
  rBushNodes.forEach(function (_a) {
13995
13995
  var displayObject = _a.displayObject;
13996
- var pointerEvents = displayObject.parsedStyle.pointerEvents;
13996
+ var _b = displayObject.parsedStyle.pointerEvents, pointerEvents = _b === void 0 ? 'auto' : _b;
13997
13997
  // account for `visibility`
13998
13998
  // @see https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events
13999
13999
  var isVisibilityAffected = [