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-mapbox.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* plotly.js (mapbox) v2.13.
|
|
2
|
+
* plotly.js (mapbox) v2.13.1
|
|
3
3
|
* Copyright 2012-2022, Plotly, Inc.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Licensed under the MIT license
|
|
@@ -84256,7 +84256,6 @@ function prepSelect(evt, startX, startY, dragOptions, mode) {
|
|
|
84256
84256
|
dragOptions.doneFnCompleted(selection);
|
|
84257
84257
|
}
|
|
84258
84258
|
|
|
84259
|
-
eventData.selections = gd.layout.selections;
|
|
84260
84259
|
emitSelected(gd, eventData);
|
|
84261
84260
|
}).catch(Lib.error);
|
|
84262
84261
|
};
|
|
@@ -84335,7 +84334,6 @@ function selectOnClick(evt, gd, xAxes, yAxes, subplot, dragOptions, polygonOutli
|
|
|
84335
84334
|
}
|
|
84336
84335
|
|
|
84337
84336
|
if(sendEvents) {
|
|
84338
|
-
eventData.selections = gd.layout.selections;
|
|
84339
84337
|
emitSelected(gd, eventData);
|
|
84340
84338
|
}
|
|
84341
84339
|
}
|
|
@@ -85000,7 +84998,6 @@ function reselect(gd, selectionTesters, searchTraces, dragOptions) {
|
|
|
85000
84998
|
fillRangeItems(eventData, poly);
|
|
85001
84999
|
}
|
|
85002
85000
|
|
|
85003
|
-
eventData.selections = gd.layout.selections;
|
|
85004
85001
|
emitSelected(gd, eventData);
|
|
85005
85002
|
}
|
|
85006
85003
|
|
|
@@ -85021,7 +85018,6 @@ function reselect(gd, selectionTesters, searchTraces, dragOptions) {
|
|
|
85021
85018
|
|
|
85022
85019
|
if(sendEvents) {
|
|
85023
85020
|
if(eventData.points.length) {
|
|
85024
|
-
eventData.selections = gd.layout.selections;
|
|
85025
85021
|
emitSelected(gd, eventData);
|
|
85026
85022
|
} else {
|
|
85027
85023
|
gd.emit('plotly_deselect', null);
|
|
@@ -85312,14 +85308,22 @@ function getFillRangeItems(dragOptions) {
|
|
|
85312
85308
|
}
|
|
85313
85309
|
|
|
85314
85310
|
function emitSelecting(gd, eventData) {
|
|
85311
|
+
if(drawMode(gd._fullLayout.dragmode)) return;
|
|
85315
85312
|
gd.emit('plotly_selecting', eventData);
|
|
85316
85313
|
}
|
|
85317
85314
|
|
|
85318
85315
|
function emitSelected(gd, eventData) {
|
|
85316
|
+
if(drawMode(gd._fullLayout.dragmode)) return;
|
|
85317
|
+
|
|
85318
|
+
if(eventData) {
|
|
85319
|
+
eventData.selections = (gd.layout || {}).selections || [];
|
|
85320
|
+
}
|
|
85321
|
+
|
|
85319
85322
|
gd.emit('plotly_selected', eventData);
|
|
85320
85323
|
}
|
|
85321
85324
|
|
|
85322
85325
|
function emitDeselect(gd) {
|
|
85326
|
+
if(drawMode(gd._fullLayout.dragmode)) return;
|
|
85323
85327
|
gd.emit('plotly_deselect', null);
|
|
85324
85328
|
}
|
|
85325
85329
|
|
|
@@ -131871,7 +131875,7 @@ function getSortFunc(opts, d2c) {
|
|
|
131871
131875
|
'use strict';
|
|
131872
131876
|
|
|
131873
131877
|
// package version injected by `npm run preprocess`
|
|
131874
|
-
exports.version = '2.13.
|
|
131878
|
+
exports.version = '2.13.1';
|
|
131875
131879
|
|
|
131876
131880
|
},{}]},{},[9])(9)
|
|
131877
131881
|
});
|