@syncfusion/ej2-maps 29.2.11 → 30.1.37

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 29.2.11
3
+ * version : 30.1.37
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-maps",
3
- "version": "29.2.11",
3
+ "version": "30.1.37",
4
4
  "description": "The Maps component is used to visualize the geographical data and represent the statistical data of a particular geographical area on earth with user interactivity, and provides various customizing options",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
7
7
  "dependencies": {
8
- "@syncfusion/ej2-base": "~29.2.11",
9
- "@syncfusion/ej2-buttons": "~29.2.5",
10
- "@syncfusion/ej2-compression": "~29.2.4",
11
- "@syncfusion/ej2-data": "~29.2.4",
12
- "@syncfusion/ej2-file-utils": "~29.2.4",
13
- "@syncfusion/ej2-pdf-export": "~29.2.4",
14
- "@syncfusion/ej2-svg-base": "~29.2.4"
8
+ "@syncfusion/ej2-base": "~30.1.37",
9
+ "@syncfusion/ej2-buttons": "~30.1.37",
10
+ "@syncfusion/ej2-compression": "~30.1.37",
11
+ "@syncfusion/ej2-data": "~30.1.37",
12
+ "@syncfusion/ej2-file-utils": "~30.1.37",
13
+ "@syncfusion/ej2-pdf-export": "~30.1.37",
14
+ "@syncfusion/ej2-svg-base": "~30.1.37"
15
15
  },
16
16
  "devDependencies": {},
17
17
  "keywords": [
@@ -638,7 +638,7 @@ var Legend = /** @class */ (function () {
638
638
  this.maps.legendSettings.toggleLegendSettings.opacity :
639
639
  this.maps.legendSettings.toggleLegendSettings.border.opacity, this.maps.legendSettings.toggleLegendSettings.fill);
640
640
  }
641
- else {
641
+ else if (currentItem[currentItem.length - 1].length > 0) {
642
642
  var layerIndex = currentItem[currentItem.length - 1].layerIndex;
643
643
  this.setToggleAttributes(legendTextElement, legendShapeElement, this.maps.layers[layerIndex].shapeSettings.fill, this.maps.layers[layerIndex].shapeSettings.opacity,
644
644
  /* eslint-disable-next-line max-len */
@@ -2767,9 +2767,7 @@ export function getElementsByClassName(className) {
2767
2767
  */
2768
2768
  export function querySelector(args, elementSelector) {
2769
2769
  var targetEle = null;
2770
- if (document.getElementById(elementSelector)) {
2771
- targetEle = document.getElementById(elementSelector).querySelector('#' + args);
2772
- }
2770
+ targetEle = document.querySelector('#' + args);
2773
2771
  return targetEle;
2774
2772
  }
2775
2773
  /**