@antv/l7-component 2.11.6 → 2.11.7
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/es/popup/popup.js +5 -5
- package/lib/popup/popup.js +5 -5
- package/package.json +5 -5
package/es/popup/popup.js
CHANGED
|
@@ -235,7 +235,7 @@ var Popup = /*#__PURE__*/function (_EventEmitter) {
|
|
|
235
235
|
}, {
|
|
236
236
|
key: "remove",
|
|
237
237
|
value: function remove() {
|
|
238
|
-
if (!this.isOpen()) {
|
|
238
|
+
if (!(this !== null && this !== void 0 && this.isOpen())) {
|
|
239
239
|
return;
|
|
240
240
|
}
|
|
241
241
|
|
|
@@ -285,15 +285,15 @@ var Popup = /*#__PURE__*/function (_EventEmitter) {
|
|
|
285
285
|
this.container = undefined;
|
|
286
286
|
}
|
|
287
287
|
|
|
288
|
-
if (this.popupOption.title) {
|
|
289
|
-
this.setTitle(this.popupOption.title);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
288
|
if (this.popupOption.html) {
|
|
293
289
|
this.setHTML(this.popupOption.html);
|
|
294
290
|
} else if (this.popupOption.text) {
|
|
295
291
|
this.setText(this.popupOption.text);
|
|
296
292
|
}
|
|
293
|
+
|
|
294
|
+
if (this.popupOption.title) {
|
|
295
|
+
this.setTitle(this.popupOption.title);
|
|
296
|
+
}
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
if (this.checkUpdateOption(option, ['closeOnEsc'])) {
|
package/lib/popup/popup.js
CHANGED
|
@@ -246,7 +246,7 @@ var Popup = /*#__PURE__*/function (_EventEmitter) {
|
|
|
246
246
|
}, {
|
|
247
247
|
key: "remove",
|
|
248
248
|
value: function remove() {
|
|
249
|
-
if (!this.isOpen()) {
|
|
249
|
+
if (!(this !== null && this !== void 0 && this.isOpen())) {
|
|
250
250
|
return;
|
|
251
251
|
}
|
|
252
252
|
|
|
@@ -298,15 +298,15 @@ var Popup = /*#__PURE__*/function (_EventEmitter) {
|
|
|
298
298
|
this.container = undefined;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
-
if (this.popupOption.title) {
|
|
302
|
-
this.setTitle(this.popupOption.title);
|
|
303
|
-
}
|
|
304
|
-
|
|
305
301
|
if (this.popupOption.html) {
|
|
306
302
|
this.setHTML(this.popupOption.html);
|
|
307
303
|
} else if (this.popupOption.text) {
|
|
308
304
|
this.setText(this.popupOption.text);
|
|
309
305
|
}
|
|
306
|
+
|
|
307
|
+
if (this.popupOption.title) {
|
|
308
|
+
this.setTitle(this.popupOption.title);
|
|
309
|
+
}
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
if (this.checkUpdateOption(option, ['closeOnEsc'])) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/l7-component",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"author": "lzxue",
|
|
27
27
|
"license": "ISC",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@antv/l7-core": "2.11.
|
|
30
|
-
"@antv/l7-utils": "2.11.
|
|
29
|
+
"@antv/l7-core": "2.11.7",
|
|
30
|
+
"@antv/l7-utils": "2.11.7",
|
|
31
31
|
"@babel/runtime": "^7.7.7",
|
|
32
32
|
"eventemitter3": "^4.0.0",
|
|
33
33
|
"inversify": "^5.0.1",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"supercluster": "^7.0.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@antv/l7-test-utils": "2.11.
|
|
39
|
+
"@antv/l7-test-utils": "2.11.7",
|
|
40
40
|
"gcoord": "^0.3.2",
|
|
41
41
|
"less": "^4.1.3"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "2cfdae91150313d75c87a21838b7512d0595052b",
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
}
|