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-strict.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* plotly.js (strict) v2.13.
|
|
2
|
+
* plotly.js (strict) v2.13.1
|
|
3
3
|
* Copyright 2012-2022, Plotly, Inc.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Licensed under the MIT license
|
|
@@ -121437,7 +121437,6 @@ function prepSelect(evt, startX, startY, dragOptions, mode) {
|
|
|
121437
121437
|
dragOptions.doneFnCompleted(selection);
|
|
121438
121438
|
}
|
|
121439
121439
|
|
|
121440
|
-
eventData.selections = gd.layout.selections;
|
|
121441
121440
|
emitSelected(gd, eventData);
|
|
121442
121441
|
}).catch(Lib.error);
|
|
121443
121442
|
};
|
|
@@ -121516,7 +121515,6 @@ function selectOnClick(evt, gd, xAxes, yAxes, subplot, dragOptions, polygonOutli
|
|
|
121516
121515
|
}
|
|
121517
121516
|
|
|
121518
121517
|
if(sendEvents) {
|
|
121519
|
-
eventData.selections = gd.layout.selections;
|
|
121520
121518
|
emitSelected(gd, eventData);
|
|
121521
121519
|
}
|
|
121522
121520
|
}
|
|
@@ -122181,7 +122179,6 @@ function reselect(gd, selectionTesters, searchTraces, dragOptions) {
|
|
|
122181
122179
|
fillRangeItems(eventData, poly);
|
|
122182
122180
|
}
|
|
122183
122181
|
|
|
122184
|
-
eventData.selections = gd.layout.selections;
|
|
122185
122182
|
emitSelected(gd, eventData);
|
|
122186
122183
|
}
|
|
122187
122184
|
|
|
@@ -122202,7 +122199,6 @@ function reselect(gd, selectionTesters, searchTraces, dragOptions) {
|
|
|
122202
122199
|
|
|
122203
122200
|
if(sendEvents) {
|
|
122204
122201
|
if(eventData.points.length) {
|
|
122205
|
-
eventData.selections = gd.layout.selections;
|
|
122206
122202
|
emitSelected(gd, eventData);
|
|
122207
122203
|
} else {
|
|
122208
122204
|
gd.emit('plotly_deselect', null);
|
|
@@ -122493,14 +122489,22 @@ function getFillRangeItems(dragOptions) {
|
|
|
122493
122489
|
}
|
|
122494
122490
|
|
|
122495
122491
|
function emitSelecting(gd, eventData) {
|
|
122492
|
+
if(drawMode(gd._fullLayout.dragmode)) return;
|
|
122496
122493
|
gd.emit('plotly_selecting', eventData);
|
|
122497
122494
|
}
|
|
122498
122495
|
|
|
122499
122496
|
function emitSelected(gd, eventData) {
|
|
122497
|
+
if(drawMode(gd._fullLayout.dragmode)) return;
|
|
122498
|
+
|
|
122499
|
+
if(eventData) {
|
|
122500
|
+
eventData.selections = (gd.layout || {}).selections || [];
|
|
122501
|
+
}
|
|
122502
|
+
|
|
122500
122503
|
gd.emit('plotly_selected', eventData);
|
|
122501
122504
|
}
|
|
122502
122505
|
|
|
122503
122506
|
function emitDeselect(gd) {
|
|
122507
|
+
if(drawMode(gd._fullLayout.dragmode)) return;
|
|
122504
122508
|
gd.emit('plotly_deselect', null);
|
|
122505
122509
|
}
|
|
122506
122510
|
|
|
@@ -249311,7 +249315,7 @@ function getSortFunc(opts, d2c) {
|
|
|
249311
249315
|
'use strict';
|
|
249312
249316
|
|
|
249313
249317
|
// package version injected by `npm run preprocess`
|
|
249314
|
-
exports.version = '2.13.
|
|
249318
|
+
exports.version = '2.13.1';
|
|
249315
249319
|
|
|
249316
249320
|
},{}],1151:[function(_dereq_,module,exports){
|
|
249317
249321
|
(function (global){(function (){
|