plotly.js 2.13.0 → 2.13.1
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/README.md +3 -3
- package/dist/README.md +19 -19
- package/dist/plotly-basic.js +10 -6
- package/dist/plotly-basic.min.js +2 -2
- package/dist/plotly-cartesian.js +10 -6
- package/dist/plotly-cartesian.min.js +2 -2
- package/dist/plotly-finance.js +10 -6
- package/dist/plotly-finance.min.js +2 -2
- package/dist/plotly-geo-assets.js +2 -2
- package/dist/plotly-geo.js +10 -6
- package/dist/plotly-geo.min.js +2 -2
- package/dist/plotly-gl2d.js +10 -6
- package/dist/plotly-gl2d.min.js +2 -2
- package/dist/plotly-gl3d.js +10 -6
- package/dist/plotly-gl3d.min.js +2 -2
- package/dist/plotly-mapbox.js +10 -6
- package/dist/plotly-mapbox.min.js +2 -2
- package/dist/plotly-strict.js +10 -6
- package/dist/plotly-strict.min.js +2 -2
- package/dist/plotly-with-meta.js +10 -6
- package/dist/plotly.js +10 -6
- package/dist/plotly.min.js +2 -2
- package/package.json +1 -1
- package/src/components/selections/select.js +8 -4
- package/src/version.js +1 -1
package/dist/plotly-gl3d.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* plotly.js (gl3d) v2.13.
|
|
2
|
+
* plotly.js (gl3d) v2.13.1
|
|
3
3
|
* Copyright 2012-2022, Plotly, Inc.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Licensed under the MIT license
|
|
@@ -37683,7 +37683,6 @@ function prepSelect(evt, startX, startY, dragOptions, mode) {
|
|
|
37683
37683
|
dragOptions.doneFnCompleted(selection);
|
|
37684
37684
|
}
|
|
37685
37685
|
|
|
37686
|
-
eventData.selections = gd.layout.selections;
|
|
37687
37686
|
emitSelected(gd, eventData);
|
|
37688
37687
|
}).catch(Lib.error);
|
|
37689
37688
|
};
|
|
@@ -37762,7 +37761,6 @@ function selectOnClick(evt, gd, xAxes, yAxes, subplot, dragOptions, polygonOutli
|
|
|
37762
37761
|
}
|
|
37763
37762
|
|
|
37764
37763
|
if(sendEvents) {
|
|
37765
|
-
eventData.selections = gd.layout.selections;
|
|
37766
37764
|
emitSelected(gd, eventData);
|
|
37767
37765
|
}
|
|
37768
37766
|
}
|
|
@@ -38427,7 +38425,6 @@ function reselect(gd, selectionTesters, searchTraces, dragOptions) {
|
|
|
38427
38425
|
fillRangeItems(eventData, poly);
|
|
38428
38426
|
}
|
|
38429
38427
|
|
|
38430
|
-
eventData.selections = gd.layout.selections;
|
|
38431
38428
|
emitSelected(gd, eventData);
|
|
38432
38429
|
}
|
|
38433
38430
|
|
|
@@ -38448,7 +38445,6 @@ function reselect(gd, selectionTesters, searchTraces, dragOptions) {
|
|
|
38448
38445
|
|
|
38449
38446
|
if(sendEvents) {
|
|
38450
38447
|
if(eventData.points.length) {
|
|
38451
|
-
eventData.selections = gd.layout.selections;
|
|
38452
38448
|
emitSelected(gd, eventData);
|
|
38453
38449
|
} else {
|
|
38454
38450
|
gd.emit('plotly_deselect', null);
|
|
@@ -38739,14 +38735,22 @@ function getFillRangeItems(dragOptions) {
|
|
|
38739
38735
|
}
|
|
38740
38736
|
|
|
38741
38737
|
function emitSelecting(gd, eventData) {
|
|
38738
|
+
if(drawMode(gd._fullLayout.dragmode)) return;
|
|
38742
38739
|
gd.emit('plotly_selecting', eventData);
|
|
38743
38740
|
}
|
|
38744
38741
|
|
|
38745
38742
|
function emitSelected(gd, eventData) {
|
|
38743
|
+
if(drawMode(gd._fullLayout.dragmode)) return;
|
|
38744
|
+
|
|
38745
|
+
if(eventData) {
|
|
38746
|
+
eventData.selections = (gd.layout || {}).selections || [];
|
|
38747
|
+
}
|
|
38748
|
+
|
|
38746
38749
|
gd.emit('plotly_selected', eventData);
|
|
38747
38750
|
}
|
|
38748
38751
|
|
|
38749
38752
|
function emitDeselect(gd) {
|
|
38753
|
+
if(drawMode(gd._fullLayout.dragmode)) return;
|
|
38750
38754
|
gd.emit('plotly_deselect', null);
|
|
38751
38755
|
}
|
|
38752
38756
|
|
|
@@ -88321,7 +88325,7 @@ function getSortFunc(opts, d2c) {
|
|
|
88321
88325
|
'use strict';
|
|
88322
88326
|
|
|
88323
88327
|
// package version injected by `npm run preprocess`
|
|
88324
|
-
exports.version = '2.13.
|
|
88328
|
+
exports.version = '2.13.1';
|
|
88325
88329
|
|
|
88326
88330
|
},{}],444:[function(_dereq_,module,exports){
|
|
88327
88331
|
(function (global){(function (){
|