@syncfusion/ej2-maps 21.2.3 → 21.2.4
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/CHANGELOG.md +6 -0
- package/dist/ej2-maps.min.js +2 -2
- package/dist/ej2-maps.umd.min.js +2 -2
- package/dist/ej2-maps.umd.min.js.map +1 -1
- package/dist/es6/ej2-maps.es2015.js +11 -8
- package/dist/es6/ej2-maps.es2015.js.map +1 -1
- package/dist/es6/ej2-maps.es5.js +11 -8
- package/dist/es6/ej2-maps.es5.js.map +1 -1
- package/dist/global/ej2-maps.min.js +2 -2
- package/dist/global/ej2-maps.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +10 -7
- package/src/maps/user-interaction/tooltip.js +11 -8
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 21.2.
|
|
3
|
+
* version : 21.2.4
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-maps@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-maps@21.
|
|
3
|
+
"_id": "@syncfusion/ej2-maps@21.2.3",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-PSiITREcLYnKvsKTv1UDiFpid89kYPUC7VdGSeKHtCKgdU8pgrj3c374QiHCpuarpMm3FN1OZ+SQoCeZlOM9Nw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-maps",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -18,10 +18,13 @@
|
|
|
18
18
|
},
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/",
|
|
21
|
-
"/@syncfusion/ej2"
|
|
21
|
+
"/@syncfusion/ej2",
|
|
22
|
+
"/@syncfusion/ej2-angular-maps",
|
|
23
|
+
"/@syncfusion/ej2-react-maps",
|
|
24
|
+
"/@syncfusion/ej2-vue-maps"
|
|
22
25
|
],
|
|
23
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-maps/-/ej2-maps-21.
|
|
24
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-maps/-/ej2-maps-21.2.3.tgz",
|
|
27
|
+
"_shasum": "db740bd3feb13b219448114efef68f484d65c33f",
|
|
25
28
|
"_spec": "@syncfusion/ej2-maps@*",
|
|
26
29
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
27
30
|
"author": {
|
|
@@ -35,7 +38,7 @@
|
|
|
35
38
|
"@syncfusion/ej2-base": "~21.2.3",
|
|
36
39
|
"@syncfusion/ej2-buttons": "~21.2.3",
|
|
37
40
|
"@syncfusion/ej2-compression": "~21.2.3",
|
|
38
|
-
"@syncfusion/ej2-data": "~21.2.
|
|
41
|
+
"@syncfusion/ej2-data": "~21.2.4",
|
|
39
42
|
"@syncfusion/ej2-file-utils": "~21.2.3",
|
|
40
43
|
"@syncfusion/ej2-pdf-export": "~21.2.3",
|
|
41
44
|
"@syncfusion/ej2-svg-base": "~21.2.3"
|
|
@@ -90,6 +93,6 @@
|
|
|
90
93
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
91
94
|
},
|
|
92
95
|
"typings": "index.d.ts",
|
|
93
|
-
"version": "21.2.
|
|
96
|
+
"version": "21.2.4",
|
|
94
97
|
"sideEffects": false
|
|
95
98
|
}
|
|
@@ -252,7 +252,7 @@ var MapsTooltip = /** @class */ (function () {
|
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
else {
|
|
255
|
-
_this.clearTooltip();
|
|
255
|
+
_this.clearTooltip(e.target);
|
|
256
256
|
}
|
|
257
257
|
});
|
|
258
258
|
if (this.svgTooltip) {
|
|
@@ -267,7 +267,7 @@ var MapsTooltip = /** @class */ (function () {
|
|
|
267
267
|
});
|
|
268
268
|
}
|
|
269
269
|
else {
|
|
270
|
-
this.clearTooltip();
|
|
270
|
+
this.clearTooltip(e.target);
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
else {
|
|
@@ -277,7 +277,7 @@ var MapsTooltip = /** @class */ (function () {
|
|
|
277
277
|
this.maps.notify(click, this);
|
|
278
278
|
}
|
|
279
279
|
else {
|
|
280
|
-
this.clearTooltip();
|
|
280
|
+
this.clearTooltip(e.target);
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
};
|
|
@@ -336,11 +336,14 @@ var MapsTooltip = /** @class */ (function () {
|
|
|
336
336
|
}
|
|
337
337
|
return isTooltipRemoved;
|
|
338
338
|
};
|
|
339
|
-
MapsTooltip.prototype.clearTooltip = function () {
|
|
340
|
-
var
|
|
341
|
-
if (
|
|
342
|
-
|
|
343
|
-
|
|
339
|
+
MapsTooltip.prototype.clearTooltip = function (element) {
|
|
340
|
+
var tooltipElement = element.closest('#' + this.maps.element.id + '_mapsTooltipparent_template');
|
|
341
|
+
if (isNullOrUndefined(tooltipElement)) {
|
|
342
|
+
var isTooltipRemoved = this.removeTooltip();
|
|
343
|
+
if (isTooltipRemoved) {
|
|
344
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
345
|
+
this.maps.clearTemplate();
|
|
346
|
+
}
|
|
344
347
|
}
|
|
345
348
|
};
|
|
346
349
|
// eslint-disable-next-line valid-jsdoc
|