plotly.js 2.16.0 → 2.16.2

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,5 +1,5 @@
1
1
  /**
2
- * plotly.js v2.16.0
2
+ * plotly.js v2.16.2
3
3
  * Copyright 2012-2022, Plotly, Inc.
4
4
  * All rights reserved.
5
5
  * Licensed under the MIT license
@@ -167212,7 +167212,7 @@ proto.updateFx = function(fullLayout) {
167212
167212
  map.off('click', self.onClickInPanHandler);
167213
167213
  if(selectMode(dragMode) || drawMode(dragMode)) {
167214
167214
  map.dragPan.disable();
167215
- map.on('zoomstart', self.clearSelect);
167215
+ map.on('zoomstart', self.clearOutline);
167216
167216
 
167217
167217
  self.dragOptions.prepFn = function(e, startX, startY) {
167218
167218
  prepSelect(e, startX, startY, self.dragOptions, dragMode);
@@ -167221,7 +167221,7 @@ proto.updateFx = function(fullLayout) {
167221
167221
  dragElement.init(self.dragOptions);
167222
167222
  } else {
167223
167223
  map.dragPan.enable();
167224
- map.off('zoomstart', self.clearSelect);
167224
+ map.off('zoomstart', self.clearOutline);
167225
167225
  self.div.onmousedown = null;
167226
167226
  self.div.ontouchstart = null;
167227
167227
  self.div.removeEventListener('touchstart', self.div._ontouchstart);
@@ -186791,6 +186791,9 @@ var proto = ChoroplethMapbox.prototype;
186791
186791
 
186792
186792
  proto.update = function(calcTrace) {
186793
186793
  this._update(convert(calcTrace));
186794
+
186795
+ // link ref for quick update during selections
186796
+ calcTrace[0].trace._glTrace = this;
186794
186797
  };
186795
186798
 
186796
186799
  proto.updateOnSelect = function(calcTrace) {
@@ -220576,7 +220579,7 @@ proto.update = function update(calcTrace) {
220576
220579
  this.clusterEnabled = hasCluster;
220577
220580
  }
220578
220581
 
220579
- // link ref for quick update during selections
220582
+ // link ref for quick update during selections
220580
220583
  calcTrace[0].trace._glTrace = this;
220581
220584
  };
220582
220585
 
@@ -233911,7 +233914,7 @@ function getSortFunc(opts, d2c) {
233911
233914
  'use strict';
233912
233915
 
233913
233916
  // package version injected by `npm run preprocess`
233914
- exports.version = '2.16.0';
233917
+ exports.version = '2.16.2';
233915
233918
 
233916
233919
  },{}],1133:[function(_dereq_,module,exports){
233917
233920
  (function (global){(function (){
package/dist/plotly.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * plotly.js v2.16.0
2
+ * plotly.js v2.16.2
3
3
  * Copyright 2012-2022, Plotly, Inc.
4
4
  * All rights reserved.
5
5
  * Licensed under the MIT license
@@ -164298,7 +164298,7 @@ proto.updateFx = function(fullLayout) {
164298
164298
  map.off('click', self.onClickInPanHandler);
164299
164299
  if(selectMode(dragMode) || drawMode(dragMode)) {
164300
164300
  map.dragPan.disable();
164301
- map.on('zoomstart', self.clearSelect);
164301
+ map.on('zoomstart', self.clearOutline);
164302
164302
 
164303
164303
  self.dragOptions.prepFn = function(e, startX, startY) {
164304
164304
  prepSelect(e, startX, startY, self.dragOptions, dragMode);
@@ -164307,7 +164307,7 @@ proto.updateFx = function(fullLayout) {
164307
164307
  dragElement.init(self.dragOptions);
164308
164308
  } else {
164309
164309
  map.dragPan.enable();
164310
- map.off('zoomstart', self.clearSelect);
164310
+ map.off('zoomstart', self.clearOutline);
164311
164311
  self.div.onmousedown = null;
164312
164312
  self.div.ontouchstart = null;
164313
164313
  self.div.removeEventListener('touchstart', self.div._ontouchstart);
@@ -183053,6 +183053,9 @@ var proto = ChoroplethMapbox.prototype;
183053
183053
 
183054
183054
  proto.update = function(calcTrace) {
183055
183055
  this._update(convert(calcTrace));
183056
+
183057
+ // link ref for quick update during selections
183058
+ calcTrace[0].trace._glTrace = this;
183056
183059
  };
183057
183060
 
183058
183061
  proto.updateOnSelect = function(calcTrace) {
@@ -214948,7 +214951,7 @@ proto.update = function update(calcTrace) {
214948
214951
  this.clusterEnabled = hasCluster;
214949
214952
  }
214950
214953
 
214951
- // link ref for quick update during selections
214954
+ // link ref for quick update during selections
214952
214955
  calcTrace[0].trace._glTrace = this;
214953
214956
  };
214954
214957
 
@@ -227361,7 +227364,7 @@ function getSortFunc(opts, d2c) {
227361
227364
  'use strict';
227362
227365
 
227363
227366
  // package version injected by `npm run preprocess`
227364
- exports.version = '2.16.0';
227367
+ exports.version = '2.16.2';
227365
227368
 
227366
227369
  },{}],1133:[function(_dereq_,module,exports){
227367
227370
  (function (global){(function (){