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-gl2d.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* plotly.js (gl2d) v2.13.
|
|
2
|
+
* plotly.js (gl2d) v2.13.1
|
|
3
3
|
* Copyright 2012-2022, Plotly, Inc.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Licensed under the MIT license
|
|
@@ -50461,7 +50461,6 @@ function prepSelect(evt, startX, startY, dragOptions, mode) {
|
|
|
50461
50461
|
dragOptions.doneFnCompleted(selection);
|
|
50462
50462
|
}
|
|
50463
50463
|
|
|
50464
|
-
eventData.selections = gd.layout.selections;
|
|
50465
50464
|
emitSelected(gd, eventData);
|
|
50466
50465
|
}).catch(Lib.error);
|
|
50467
50466
|
};
|
|
@@ -50540,7 +50539,6 @@ function selectOnClick(evt, gd, xAxes, yAxes, subplot, dragOptions, polygonOutli
|
|
|
50540
50539
|
}
|
|
50541
50540
|
|
|
50542
50541
|
if(sendEvents) {
|
|
50543
|
-
eventData.selections = gd.layout.selections;
|
|
50544
50542
|
emitSelected(gd, eventData);
|
|
50545
50543
|
}
|
|
50546
50544
|
}
|
|
@@ -51205,7 +51203,6 @@ function reselect(gd, selectionTesters, searchTraces, dragOptions) {
|
|
|
51205
51203
|
fillRangeItems(eventData, poly);
|
|
51206
51204
|
}
|
|
51207
51205
|
|
|
51208
|
-
eventData.selections = gd.layout.selections;
|
|
51209
51206
|
emitSelected(gd, eventData);
|
|
51210
51207
|
}
|
|
51211
51208
|
|
|
@@ -51226,7 +51223,6 @@ function reselect(gd, selectionTesters, searchTraces, dragOptions) {
|
|
|
51226
51223
|
|
|
51227
51224
|
if(sendEvents) {
|
|
51228
51225
|
if(eventData.points.length) {
|
|
51229
|
-
eventData.selections = gd.layout.selections;
|
|
51230
51226
|
emitSelected(gd, eventData);
|
|
51231
51227
|
} else {
|
|
51232
51228
|
gd.emit('plotly_deselect', null);
|
|
@@ -51517,14 +51513,22 @@ function getFillRangeItems(dragOptions) {
|
|
|
51517
51513
|
}
|
|
51518
51514
|
|
|
51519
51515
|
function emitSelecting(gd, eventData) {
|
|
51516
|
+
if(drawMode(gd._fullLayout.dragmode)) return;
|
|
51520
51517
|
gd.emit('plotly_selecting', eventData);
|
|
51521
51518
|
}
|
|
51522
51519
|
|
|
51523
51520
|
function emitSelected(gd, eventData) {
|
|
51521
|
+
if(drawMode(gd._fullLayout.dragmode)) return;
|
|
51522
|
+
|
|
51523
|
+
if(eventData) {
|
|
51524
|
+
eventData.selections = (gd.layout || {}).selections || [];
|
|
51525
|
+
}
|
|
51526
|
+
|
|
51524
51527
|
gd.emit('plotly_selected', eventData);
|
|
51525
51528
|
}
|
|
51526
51529
|
|
|
51527
51530
|
function emitDeselect(gd) {
|
|
51531
|
+
if(drawMode(gd._fullLayout.dragmode)) return;
|
|
51528
51532
|
gd.emit('plotly_deselect', null);
|
|
51529
51533
|
}
|
|
51530
51534
|
|
|
@@ -103010,7 +103014,7 @@ function getSortFunc(opts, d2c) {
|
|
|
103010
103014
|
'use strict';
|
|
103011
103015
|
|
|
103012
103016
|
// package version injected by `npm run preprocess`
|
|
103013
|
-
exports.version = '2.13.
|
|
103017
|
+
exports.version = '2.13.1';
|
|
103014
103018
|
|
|
103015
103019
|
},{}],600:[function(_dereq_,module,exports){
|
|
103016
103020
|
(function (global){(function (){
|