plotly.js 2.13.3 → 2.14.0
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 +12 -0
- package/README.md +3 -3
- package/dist/README.md +19 -19
- package/dist/plot-schema.json +12 -0
- package/dist/plotly-basic.js +18 -3
- package/dist/plotly-basic.min.js +2 -2
- package/dist/plotly-cartesian.js +18 -3
- package/dist/plotly-cartesian.min.js +2 -2
- package/dist/plotly-finance.js +18 -3
- package/dist/plotly-finance.min.js +2 -2
- package/dist/plotly-geo-assets.js +2 -2
- package/dist/plotly-geo.js +18 -3
- package/dist/plotly-geo.min.js +2 -2
- package/dist/plotly-gl2d.js +18 -3
- package/dist/plotly-gl2d.min.js +2 -2
- package/dist/plotly-gl3d.js +18 -3
- package/dist/plotly-gl3d.min.js +2 -2
- package/dist/plotly-locale-nl.js +1 -1
- package/dist/plotly-mapbox.js +18 -3
- package/dist/plotly-mapbox.min.js +2 -2
- package/dist/plotly-strict.js +67 -35
- package/dist/plotly-strict.min.js +2 -2
- package/dist/plotly-with-meta.js +71 -35
- package/dist/plotly.js +67 -35
- package/dist/plotly.min.js +2 -2
- package/lib/locales/nl.js +42 -2
- package/package.json +1 -1
- package/src/components/selections/draw.js +11 -1
- package/src/plot_api/plot_config.js +6 -0
- package/src/traces/sankey/attributes.js +8 -0
- package/src/traces/sankey/defaults.js +1 -0
- package/src/traces/sankey/render.js +43 -32
- package/src/version.js +1 -1
package/dist/plotly-locale-nl.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var locale={moduleType:"locale",name:"nl",dictionary:{},format:{days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],shortDays:["zon","maa","din","woe","don","vri","zat"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],shortMonths:["jan","feb","maa","apr","mei","jun","jul","aug","sep","okt","nov","dec"],date:"%d-%m-%Y"}};"undefined"==typeof Plotly?(window.PlotlyLocales=window.PlotlyLocales||[],window.PlotlyLocales.push(locale)):Plotly.register(locale);
|
|
1
|
+
var locale={moduleType:"locale",name:"nl",dictionary:{Autoscale:"Automatische schaal","Click to enter Colorscale title":"Klik om kleurenschaal titel in te vullen","Click to enter Component A title":"Klik om Component A titel in te vullen","Click to enter Component B title":"Klik om Component B titel in te vullen","Click to enter Component C title":"Klik om Component C titel in te vullen","Click to enter Plot title":"Klik om Plot titel in te vullen","Click to enter X axis title":"Klik om x-as titel in te vullen","Click to enter Y axis title":"Klik om y-as titel in te vullen","Click to enter radial axis title":"Klik om radiaal-as titel in te vullen","Double-click to zoom back out":"Zoom uit door te dubbel klikken","Download plot as a png":"Dowload de plot als een png-bestand","Download plot":"Download de plot","Draw circle":"Teken cirkel","Draw closed freeform":"Teken gesloten vorm","Draw line":"Teken lijn","Draw open freeform":"Teken open vorm","Draw rectangle":"Teken rechthoek","Edit in Chart Studio":"In Chart Studio wijzigen","Erase active shape":"Wis huidige vorm","IE only supports svg. Changing format to svg.":"IE ondersteunt alleen svg bestanden. Formaat gewijzigd naar svg.","Lasso Select":"Lasso selectie","Produced with Plotly.js":"Gemaakt met Plotly.js",Zoom:"Inzoomen","max:":"maximum:","mean \xb1 \u03c3:":"gemiddelde \xb1 \u03c3:","mean:":"gemiddelde:","min:":"minimum:","new text":"nieuwe tekst","open:":"openen:","high:":"hoog:","low:":"laag:","source:":"bron:","target:":"doel:"},format:{days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],shortDays:["zon","maa","din","woe","don","vri","zat"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],shortMonths:["jan","feb","maa","apr","mei","jun","jul","aug","sep","okt","nov","dec"],date:"%d-%m-%Y",decimal:",",thousands:".",year:"%Y",month:"%b %Y",dayMonth:"%-d %b",dayMonthYear:"%-d %b %Y"}};"undefined"==typeof Plotly?(window.PlotlyLocales=window.PlotlyLocales||[],window.PlotlyLocales.push(locale)):Plotly.register(locale);
|
package/dist/plotly-mapbox.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* plotly.js (mapbox) v2.
|
|
2
|
+
* plotly.js (mapbox) v2.14.0
|
|
3
3
|
* Copyright 2012-2022, Plotly, Inc.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Licensed under the MIT license
|
|
@@ -83398,6 +83398,10 @@ function draw(gd) {
|
|
|
83398
83398
|
}
|
|
83399
83399
|
}
|
|
83400
83400
|
|
|
83401
|
+
function couldHaveActiveSelection(gd) {
|
|
83402
|
+
return gd._context.editSelection;
|
|
83403
|
+
}
|
|
83404
|
+
|
|
83401
83405
|
function drawOne(gd, index) {
|
|
83402
83406
|
// remove the existing selection if there is one.
|
|
83403
83407
|
// because indices can change, we need to look in all selection layers
|
|
@@ -83434,7 +83438,7 @@ function drawOne(gd, index) {
|
|
|
83434
83438
|
lineDash = 'solid';
|
|
83435
83439
|
}
|
|
83436
83440
|
|
|
83437
|
-
var isActiveSelection =
|
|
83441
|
+
var isActiveSelection = couldHaveActiveSelection(gd) &&
|
|
83438
83442
|
gd._fullLayout._activeSelectionIndex === index;
|
|
83439
83443
|
|
|
83440
83444
|
if(isActiveSelection) {
|
|
@@ -83501,6 +83505,8 @@ function setClipPath(selectionPath, gd, selectionOptions) {
|
|
|
83501
83505
|
|
|
83502
83506
|
|
|
83503
83507
|
function activateSelection(gd, path) {
|
|
83508
|
+
if(!couldHaveActiveSelection(gd)) return;
|
|
83509
|
+
|
|
83504
83510
|
var element = path.node();
|
|
83505
83511
|
var id = +element.getAttribute('data-index');
|
|
83506
83512
|
if(id >= 0) {
|
|
@@ -83517,6 +83523,8 @@ function activateSelection(gd, path) {
|
|
|
83517
83523
|
}
|
|
83518
83524
|
|
|
83519
83525
|
function activateLastSelection(gd) {
|
|
83526
|
+
if(!couldHaveActiveSelection(gd)) return;
|
|
83527
|
+
|
|
83520
83528
|
var id = gd._fullLayout.selections.length - 1;
|
|
83521
83529
|
gd._fullLayout._activeSelectionIndex = id;
|
|
83522
83530
|
gd._fullLayout._deactivateSelection = deactivateSelection;
|
|
@@ -83524,6 +83532,8 @@ function activateLastSelection(gd) {
|
|
|
83524
83532
|
}
|
|
83525
83533
|
|
|
83526
83534
|
function deactivateSelection(gd) {
|
|
83535
|
+
if(!couldHaveActiveSelection(gd)) return;
|
|
83536
|
+
|
|
83527
83537
|
var id = gd._fullLayout._activeSelectionIndex;
|
|
83528
83538
|
if(id >= 0) {
|
|
83529
83539
|
clearOutlineControllers(gd);
|
|
@@ -103283,6 +103293,11 @@ var configAttributes = {
|
|
|
103283
103293
|
}
|
|
103284
103294
|
},
|
|
103285
103295
|
|
|
103296
|
+
editSelection: {
|
|
103297
|
+
valType: 'boolean',
|
|
103298
|
+
dflt: true,
|
|
103299
|
+
},
|
|
103300
|
+
|
|
103286
103301
|
autosizable: {
|
|
103287
103302
|
valType: 'boolean',
|
|
103288
103303
|
dflt: false,
|
|
@@ -131914,7 +131929,7 @@ function getSortFunc(opts, d2c) {
|
|
|
131914
131929
|
'use strict';
|
|
131915
131930
|
|
|
131916
131931
|
// package version injected by `npm run preprocess`
|
|
131917
|
-
exports.version = '2.
|
|
131932
|
+
exports.version = '2.14.0';
|
|
131918
131933
|
|
|
131919
131934
|
},{}]},{},[9])(9)
|
|
131920
131935
|
});
|