diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index 341898a6453b..5837351adeb6 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -13,34 +13,34 @@ "@babel/runtime-corejs3": "^7.12.5", "@data-ui/sparkline": "^0.0.84", "@emotion/core": "^10.0.35", - "@superset-ui/chart-controls": "^0.17.15", + "@superset-ui/chart-controls": "^0.17.17", "@superset-ui/core": "^0.17.15", - "@superset-ui/legacy-plugin-chart-calendar": "^0.17.15", - "@superset-ui/legacy-plugin-chart-chord": "^0.17.15", - "@superset-ui/legacy-plugin-chart-country-map": "^0.17.15", - "@superset-ui/legacy-plugin-chart-event-flow": "^0.17.15", - "@superset-ui/legacy-plugin-chart-force-directed": "^0.17.15", - "@superset-ui/legacy-plugin-chart-heatmap": "^0.17.15", - "@superset-ui/legacy-plugin-chart-histogram": "^0.17.15", - "@superset-ui/legacy-plugin-chart-horizon": "^0.17.15", - "@superset-ui/legacy-plugin-chart-map-box": "^0.17.15", - "@superset-ui/legacy-plugin-chart-paired-t-test": "^0.17.15", - "@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.17.15", - "@superset-ui/legacy-plugin-chart-partition": "^0.17.15", - "@superset-ui/legacy-plugin-chart-pivot-table": "^0.17.15", - "@superset-ui/legacy-plugin-chart-rose": "^0.17.15", - "@superset-ui/legacy-plugin-chart-sankey": "^0.17.15", - "@superset-ui/legacy-plugin-chart-sankey-loop": "^0.17.15", - "@superset-ui/legacy-plugin-chart-sunburst": "^0.17.15", - "@superset-ui/legacy-plugin-chart-treemap": "^0.17.15", - "@superset-ui/legacy-plugin-chart-world-map": "^0.17.15", - "@superset-ui/legacy-preset-chart-big-number": "^0.17.15", + "@superset-ui/legacy-plugin-chart-calendar": "^0.17.17", + "@superset-ui/legacy-plugin-chart-chord": "^0.17.17", + "@superset-ui/legacy-plugin-chart-country-map": "^0.17.17", + "@superset-ui/legacy-plugin-chart-event-flow": "^0.17.17", + "@superset-ui/legacy-plugin-chart-force-directed": "^0.17.17", + "@superset-ui/legacy-plugin-chart-heatmap": "^0.17.17", + "@superset-ui/legacy-plugin-chart-histogram": "^0.17.17", + "@superset-ui/legacy-plugin-chart-horizon": "^0.17.17", + "@superset-ui/legacy-plugin-chart-map-box": "^0.17.17", + "@superset-ui/legacy-plugin-chart-paired-t-test": "^0.17.17", + "@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.17.17", + "@superset-ui/legacy-plugin-chart-partition": "^0.17.17", + "@superset-ui/legacy-plugin-chart-pivot-table": "^0.17.17", + "@superset-ui/legacy-plugin-chart-rose": "^0.17.17", + "@superset-ui/legacy-plugin-chart-sankey": "^0.17.17", + "@superset-ui/legacy-plugin-chart-sankey-loop": "^0.17.17", + "@superset-ui/legacy-plugin-chart-sunburst": "^0.17.17", + "@superset-ui/legacy-plugin-chart-treemap": "^0.17.17", + "@superset-ui/legacy-plugin-chart-world-map": "^0.17.17", + "@superset-ui/legacy-preset-chart-big-number": "^0.17.17", "@superset-ui/legacy-preset-chart-deckgl": "^0.4.6", - "@superset-ui/legacy-preset-chart-nvd3": "^0.17.15", - "@superset-ui/plugin-chart-echarts": "^0.17.15", - "@superset-ui/plugin-chart-table": "^0.17.15", - "@superset-ui/plugin-chart-word-cloud": "^0.17.15", - "@superset-ui/preset-chart-xy": "^0.17.15", + "@superset-ui/legacy-preset-chart-nvd3": "^0.17.17", + "@superset-ui/plugin-chart-echarts": "^0.17.17", + "@superset-ui/plugin-chart-table": "^0.17.17", + "@superset-ui/plugin-chart-word-cloud": "^0.17.17", + "@superset-ui/preset-chart-xy": "^0.17.17", "@vx/responsive": "^0.0.195", "abortcontroller-polyfill": "^1.1.9", "antd": "^4.9.4", @@ -15957,9 +15957,9 @@ } }, "node_modules/@superset-ui/chart-controls": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/chart-controls/-/chart-controls-0.17.15.tgz", - "integrity": "sha512-D0KoG5QvE3gxDnnN3lrLaQOXLQOCk8HBfQLXqAafGJDxIjatfAopty+7lz6Yzu859/OCBJK5AJybLm7fW5JtTg==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/chart-controls/-/chart-controls-0.17.17.tgz", + "integrity": "sha512-8W56ny/ErpyrUJ1fFmFoo5Mf7PQkxnMBpFVMdp/wCLugFi+5WZtLT3Ozmz/K4rNOyYUvjuQwmfIg76L8AMXybA==", "dependencies": { "@superset-ui/core": "0.17.15", "lodash": "^4.17.15", @@ -16026,6 +16026,9 @@ "lodash": "^4.17.10", "prop-types": "^15.6.1", "resize-observer-polyfill": "1.5.1" + }, + "peerDependencies": { + "react": "^15.0.0-0 || ^16.0.0-0" } }, "node_modules/@superset-ui/core/node_modules/d3-array": { @@ -16036,14 +16039,6 @@ "internmap": "^1.0.0" } }, - "node_modules/@superset-ui/core/node_modules/d3-interpolate": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.4.0.tgz", - "integrity": "sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA==", - "dependencies": { - "d3-color": "1" - } - }, "node_modules/@superset-ui/core/node_modules/d3-scale": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-3.2.3.tgz", @@ -16056,20 +16051,12 @@ "d3-time-format": "2 - 3" } }, - "node_modules/@superset-ui/core/node_modules/d3-time-format": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.3.0.tgz", - "integrity": "sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ==", - "dependencies": { - "d3-time": "1" - } - }, "node_modules/@superset-ui/legacy-plugin-chart-calendar": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-calendar/-/legacy-plugin-chart-calendar-0.17.15.tgz", - "integrity": "sha512-GIDY1ihvS24tV7IQYQKZJQaxlOvQ45RGfPMhi9bOmphVaV1X/sWwlBZK0LbL00kAzQJyOgvC+tE1+8y4ZoHrvg==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-calendar/-/legacy-plugin-chart-calendar-0.17.17.tgz", + "integrity": "sha512-SSCo25xpg99LzS8wr37cbpTwxf/0NH8vw3seDjskwVnpTyshAy8A4XL3No5t3yOe/+eKvvfpBv9WYpFQoNY9gA==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3-array": "^2.0.3", "d3-selection": "^1.4.0", @@ -16089,11 +16076,11 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-chord": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-chord/-/legacy-plugin-chart-chord-0.17.15.tgz", - "integrity": "sha512-1coV7lCw5T1AnaDaRVaHWvwkCZDJFLHItHLby0dsnQ8tYgBTVOocC7GC34EESmirwfYSh/yutAV8uyNU4g3MMA==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-chord/-/legacy-plugin-chart-chord-0.17.17.tgz", + "integrity": "sha512-TpqbGzveKF1MPz5MAq5C2QiUQcVylhjnPq7upo95XhcHDEREfuZq9pMpv0V+M6HB4FeOOK8vqbdggaHI2Zfygg==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "prop-types": "^15.6.2", @@ -16101,11 +16088,11 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-country-map": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-country-map/-/legacy-plugin-chart-country-map-0.17.15.tgz", - "integrity": "sha512-e1ve2hm9BAXihOwLkJeZ46N7E0h3VUBOUjF4Q087WHC/n4Mwh+JEcD8/xWwrrQ+HLZ9QhaRQNeTc2EjuZjfTKA==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-country-map/-/legacy-plugin-chart-country-map-0.17.17.tgz", + "integrity": "sha512-F/a6a0K2qcohnGB3SfGrfqWXMaGkzSNUDgDfXqECP6L+oZa97eDZXSI9+5eKPWHw/Q+5jL18NKpwoiGCO3ePag==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "d3-array": "^2.0.3", @@ -16121,12 +16108,12 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-event-flow": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-event-flow/-/legacy-plugin-chart-event-flow-0.17.15.tgz", - "integrity": "sha512-iYxkUysd/3Xvfi459ER3R+JKo5AZHiAf9YanXsh1W9UvWdfRgtFuef+lr+ZTUT2S7CMS8PsFqczs51DXyMha5w==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-event-flow/-/legacy-plugin-chart-event-flow-0.17.17.tgz", + "integrity": "sha512-wNv9N4S6JLZCY07WlUFQhyA9qdOqVHnmOOOLSkwy6jAzCIhIYw19daZOyJqvBNaodY8Apiq2YbC7MDUvl1ZuGA==", "dependencies": { "@data-ui/event-flow": "^0.0.84", - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "prop-types": "^15.6.2" }, @@ -16135,11 +16122,11 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-force-directed": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-force-directed/-/legacy-plugin-chart-force-directed-0.17.15.tgz", - "integrity": "sha512-EB4oKcGDIJ5qoICOmXIsOKkyPNOHnwujp9iDcTEDjxDt70jBoLRtEnUjJDXvMW9Fx2a5RncIFczYfVG5imgw8Q==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-force-directed/-/legacy-plugin-chart-force-directed-0.17.17.tgz", + "integrity": "sha512-t5vo/5gVeJlD8VFxpzpFPD70O0DTh8N0aEbb9m6t0hYn2BrRJSd+AQ5enXDakkODw+8MIgKw4eEt6VOgetqkXw==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "prop-types": "^15.7.2" @@ -16149,11 +16136,11 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-heatmap": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-heatmap/-/legacy-plugin-chart-heatmap-0.17.15.tgz", - "integrity": "sha512-AXLMn8UE3UoDhAdAOiicSwAvQijWCPnTeBsKSy6s3iHMPpAgMzcm2ZhoNlc0r40cKs4zTzsytB91/l/1qoHqEw==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-heatmap/-/legacy-plugin-chart-heatmap-0.17.17.tgz", + "integrity": "sha512-5UuD373mOljaVLNhwuFncXxueZ99zI16CrQoa4C8U6m9GTH8NjAndHgB6gAqApu/RTyUOfWz1NNPHZXVCHYwLw==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "d3-svg-legend": "^1.x", @@ -16162,13 +16149,13 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-histogram": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-histogram/-/legacy-plugin-chart-histogram-0.17.15.tgz", - "integrity": "sha512-cyzbFKj5vOn+bp8Q/ZEDufuJ2G+7ujt+z5TUevVTWXcCDxbQ59XcDLsn7itfNzMmOyrLPNz786eG/yWdozqpgA==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-histogram/-/legacy-plugin-chart-histogram-0.17.17.tgz", + "integrity": "sha512-BMo768QjP9ICzOd0BvX20LungvVlpAAX7wB1kRmgGfsPPsVZuERHlwEBZdIgY8SLtuJj0qxuAybRuQcQaeZVRA==", "dependencies": { "@data-ui/histogram": "^0.0.84", "@data-ui/theme": "^0.0.84", - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "@vx/legend": "^0.0.198", "@vx/responsive": "^0.0.199", @@ -16238,11 +16225,11 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-horizon": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-horizon/-/legacy-plugin-chart-horizon-0.17.15.tgz", - "integrity": "sha512-8qW5gsP+hL0S0RESlwIuCsvroN3SJcCo8wtxS1NURrvUK85SBZx4pNzrVf+OMDBtb1WYzUge9JkF6I5G4vqLKQ==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-horizon/-/legacy-plugin-chart-horizon-0.17.17.tgz", + "integrity": "sha512-ZSqar9sdoqDfYlOBvgL3jp4+HBd4cVdbc83fXlI/eMaMmdYOfE1xSDbAJzCbLO5vppDLAAF8aKVx6MyoVEAKWA==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3-array": "^2.0.3", "d3-scale": "^3.0.1", @@ -16273,11 +16260,11 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-map-box": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-map-box/-/legacy-plugin-chart-map-box-0.17.15.tgz", - "integrity": "sha512-2iYN5QTKyyPmXARo9B0pMaSvlyXnbfiw3BdS5I0kGzhGGf2XV03aM1wrsZ0gNJxXtIvFL9XJ3sa6qjKFo1vsQw==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-map-box/-/legacy-plugin-chart-map-box-0.17.17.tgz", + "integrity": "sha512-IG4GdOInbygyXSiKBRcWfql0zc8I8iWx0AT34Bn5xcYKtfR7UhmqQmW0lqwT7ABDCI4oOfR6KyA/yxeOw/UN6A==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "immutable": "^3.8.2", "mapbox-gl": "^0.53.0", @@ -16299,11 +16286,11 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-paired-t-test": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-paired-t-test/-/legacy-plugin-chart-paired-t-test-0.17.15.tgz", - "integrity": "sha512-RO0L+p3E8FZ4e9cdJreFPsiXz0yhBX7eTar3rMjA6TWnCm1Lc/RQPjxi6EqiY39gbY/I8d4dYgBiFWCKdDiYJw==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-paired-t-test/-/legacy-plugin-chart-paired-t-test-0.17.17.tgz", + "integrity": "sha512-V9rK+KLVT5xlgIBpiI3yRgIL8BWjIfYGG3MMbgJLO8IPKtG7ixzbWYat1YqEUC1RwvnQeaHZZeG3JiDWgC2hUw==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "distributions": "^1.0.0", "prop-types": "^15.6.2", @@ -16314,11 +16301,11 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-parallel-coordinates": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-parallel-coordinates/-/legacy-plugin-chart-parallel-coordinates-0.17.15.tgz", - "integrity": "sha512-JT0mjItlu6T2Rs6nGzbS9z8BWeWmTok7TQT4JMonMjzqWNlGEPXLR89SnAIh3Nz8wZX6ilZ0YjteXTujnivErA==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-parallel-coordinates/-/legacy-plugin-chart-parallel-coordinates-0.17.17.tgz", + "integrity": "sha512-RApI10I2YeJxtNmjiQOpc3HYFhGlxgrxM8RXzFxyFM1E97k2/A32CEMi0cU7SD1FoLZtrJKao2QO+tcQFAPVXQ==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "prop-types": "^15.7.2" @@ -16328,11 +16315,11 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-partition": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-partition/-/legacy-plugin-chart-partition-0.17.15.tgz", - "integrity": "sha512-xQM/Eg4XxlM6Fz1DWp34PzxB6PLFdFsoewXC2C4g5GZ9J+10Mm8RaWf43DxwaG06i+8aV4R3+WeefbkzGHp0Bw==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-partition/-/legacy-plugin-chart-partition-0.17.17.tgz", + "integrity": "sha512-5f6ozGZ3Mm6G9mcsbxYcf5G7afnZ0K2Opy59MrCHDFhXVxRsOy/WpwLO+kgz9BHXRSnx8T51KlOPRk1RlGMSvQ==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "d3-hierarchy": "^1.1.8", @@ -16343,11 +16330,11 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-pivot-table": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-pivot-table/-/legacy-plugin-chart-pivot-table-0.17.15.tgz", - "integrity": "sha512-N+k1gHw5HbEGD8KrVogEz7O70y2ZjlUaLLbB63Fl4wfLeP4D9FkpEJmgWA3f7g2aQq3Wd1PD4ByQ2CD8wEtbNw==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-pivot-table/-/legacy-plugin-chart-pivot-table-0.17.17.tgz", + "integrity": "sha512-P5QvAcmfT/UQb4mnWeRTFZT9U0Fl/krS6x4l44w2VRqg4IdoBJhvuS5yIdXOOIUF7WArYwIB4MzJQvNrrC+q6w==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "datatables.net-bs": "^1.10.15", @@ -16355,11 +16342,11 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-rose": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-rose/-/legacy-plugin-chart-rose-0.17.15.tgz", - "integrity": "sha512-4VpZTpVyDmfko1n31q2jHDpZlIIMy2aM2INS5TxPpph245CevqYZcrLH3GDwIco119TcINlUD07s88k4MDFrEA==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-rose/-/legacy-plugin-chart-rose-0.17.17.tgz", + "integrity": "sha512-C2C8n3bCPlojlbBXxSRb0WmXvikAbANunSlZORyqHD+FyGkiFW05Ep+I1B4rupfCO479Lm5CykR0pzZTUfbB4A==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "nvd3": "1.8.6", @@ -16370,11 +16357,11 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-sankey": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sankey/-/legacy-plugin-chart-sankey-0.17.15.tgz", - "integrity": "sha512-KNMlpyWgYOEVo6vU2gcf8aWl8NpZMOoL4CzW45TkOd6wzwvtH0ZtU0M1PeGJVXzdgvha+NzxNBZ1adga7TMuhg==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sankey/-/legacy-plugin-chart-sankey-0.17.17.tgz", + "integrity": "sha512-vvJ50z6S41VkZEh1nVb9fak/qb5au+8yZGg8XrMP7wq5IE0wNEaaz89egeUmaday3VCpPfnJ77z9+C6zYtAfoA==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "d3-sankey": "^0.4.2", @@ -16385,11 +16372,11 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-sankey-loop": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sankey-loop/-/legacy-plugin-chart-sankey-loop-0.17.15.tgz", - "integrity": "sha512-U6glpKz+mEyeQbjNzZh2UqDJPGpEFadjOajPwWOOej3c383/KaHSntaydbN15ZD+m2f9QkvqQFCsP4kvfm0muA==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sankey-loop/-/legacy-plugin-chart-sankey-loop-0.17.17.tgz", + "integrity": "sha512-TCxzA7OnFuXba0AqAnckG6k3259VPJHf/gc+tF+MvzmwApsPPSEt+kHeE0w8ozS69W6yWeqKf+7pwvy7UMSFQw==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3-sankey-diagram": "^0.7.3", "d3-selection": "^1.4.0", @@ -16397,22 +16384,22 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-sunburst": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sunburst/-/legacy-plugin-chart-sunburst-0.17.15.tgz", - "integrity": "sha512-Fb8arcmPapk2KYZyRM7DE7R4rBlZsSjzjIk8ObA10UJ30CsppzA/rEyYweXQd3ge6RUiBeIED81+1+CXnGUs8w==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sunburst/-/legacy-plugin-chart-sunburst-0.17.17.tgz", + "integrity": "sha512-UMOyA8UJJr98/9fFTU5P0HP3imKqs7AUKIxxWe0gKWB2aA87wnUECJzzjONHM1tLLADPyKX4doNCJ8zvK5TLxA==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "prop-types": "^15.6.2" } }, "node_modules/@superset-ui/legacy-plugin-chart-treemap": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-treemap/-/legacy-plugin-chart-treemap-0.17.15.tgz", - "integrity": "sha512-R0GrXtgYhJtMhRCoMGtPSby8Q+CdnPJiNU8/MoDxziyJwQtXzNEQFyACA7s4phlvDvC559KLJ3037vrc1/Sl6A==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-treemap/-/legacy-plugin-chart-treemap-0.17.17.tgz", + "integrity": "sha512-CuEa6q/0pLy5iO7414sGxNksJHjRAHooE8vsPK4gsf6XPFo7gp2EG6iByV0RmSrrU4qynR5Pc8KLiHb39X658g==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3-hierarchy": "^1.1.8", "d3-selection": "^1.4.0", @@ -16420,11 +16407,11 @@ } }, "node_modules/@superset-ui/legacy-plugin-chart-world-map": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-world-map/-/legacy-plugin-chart-world-map-0.17.15.tgz", - "integrity": "sha512-Ts9F25wqhJZUQhSH47kkKQ/ab02n25vMf1QbU9oryRCJnwWc55xxNeT0lPbdr6FmjFew83+WdkSAL8137Onv7w==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-world-map/-/legacy-plugin-chart-world-map-0.17.17.tgz", + "integrity": "sha512-GRLDZEpfBDQgqgYY/djlhb45HQu72pEOGg0fXZzATeI3rNfgbH1i++rmJZ4KLrIof+/M6W3yg1C3yJsbmN3P7Q==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "d3-array": "^2.4.0", @@ -16450,12 +16437,12 @@ "integrity": "sha512-p2sTHSLCJI2QKunbGb7ocOh7DgTAn8IrLx21QRc/BSnodXM4sv6aLQlnfpvehFMLZEfBc6g9pH9SWQccFYfJ9Q==" }, "node_modules/@superset-ui/legacy-preset-chart-big-number": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-big-number/-/legacy-preset-chart-big-number-0.17.15.tgz", - "integrity": "sha512-hYB3LRgzhfSecsqM+0MTSjc6hjpOGuGEdLBTcPW4hli6UODoy+XUG0o+22LxFBW/sYqGgWIsVi0mF7pseJnAbQ==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-big-number/-/legacy-preset-chart-big-number-0.17.17.tgz", + "integrity": "sha512-8SYNOq6jGoeHGUAekJA2cfRbLYPYsc7LLaancPsT7MJJcOT02ZcsJUDjdbA6j2iikSzG2DpKGWECKC1ag3J1mQ==", "dependencies": { "@data-ui/xy-chart": "^0.0.84", - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "@types/d3-color": "^1.2.2", "@types/shortid": "^0.0.29", @@ -16492,12 +16479,12 @@ } }, "node_modules/@superset-ui/legacy-preset-chart-nvd3": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-nvd3/-/legacy-preset-chart-nvd3-0.17.15.tgz", - "integrity": "sha512-skUHQ3i9AhfPNHofkes49ZnaBZcbr5MNyXxvT8CiGa+MP80n+vgt+i5V12kIwxPWRIFwIUpcNxDRtlfE4PjpGg==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-nvd3/-/legacy-preset-chart-nvd3-0.17.17.tgz", + "integrity": "sha512-m6cE7L9+JPCTKpcX0D/FR+nLxHtu9exFWMem4S+Stjl0thgoO66VzjGjPFPnjIejk3OJHqsY6ghs3QbOpP1gYA==", "dependencies": { "@data-ui/xy-chart": "^0.0.84", - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "d3-tip": "^0.9.1", @@ -16515,11 +16502,11 @@ } }, "node_modules/@superset-ui/plugin-chart-echarts": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-echarts/-/plugin-chart-echarts-0.17.15.tgz", - "integrity": "sha512-wryWvEcKd4MaUvdNMhpCwZ/CY7y38HXnH1muHnNEE4d2PoHKwMN5WXqVQYnE1c90ljTih3kbR3ALPVPSJWGG4g==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-echarts/-/plugin-chart-echarts-0.17.17.tgz", + "integrity": "sha512-PCFUtovcR2BhpLCuFbqAdLCB1mYfs4OUrWtx2+B8r6l6jfoKvlB59cSJH1teK87T0yd15T0a3mOxoQ/EFBIcEg==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "@types/mathjs": "^6.0.7", "d3-array": "^1.2.0", @@ -16531,12 +16518,12 @@ } }, "node_modules/@superset-ui/plugin-chart-table": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-table/-/plugin-chart-table-0.17.15.tgz", - "integrity": "sha512-JT8gw16389RF/lY27CchnL0Yo7/U/o6HrWkz46CMGnFnHbY0fq+aqZd7Rqqz0RbTkRS3paWeZdy2nf9MMYsa1g==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-table/-/plugin-chart-table-0.17.17.tgz", + "integrity": "sha512-ENatuU0oj9hASkMPITHJLvZjBqQGpF4cGPDmUZNvtDIoxzWpwrnIUZXoqQSprJFD1QONCtptTSNYO+XjYL784Q==", "dependencies": { "@emotion/core": "^10.0.28", - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "@types/d3-array": "^2.0.0", "@types/react-table": "^7.0.19", @@ -16563,11 +16550,11 @@ } }, "node_modules/@superset-ui/plugin-chart-word-cloud": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-word-cloud/-/plugin-chart-word-cloud-0.17.15.tgz", - "integrity": "sha512-3amMqmF5+HntzcZAP+TdAEtlBvQbq4VZRAwon/+IHcAnHnBlSYNCdjaI3lU/7udIFrMtmkMcPeaQE2lDbjuW3g==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-word-cloud/-/plugin-chart-word-cloud-0.17.17.tgz", + "integrity": "sha512-TW13j+OWq9xHMelQiTx5t+VqoRs2uzplG1rG0jbjWBNjaRWEf/3+0LQfRiygw5Wyq7gnPQHBQ5m3KK8xvqZM3A==", "dependencies": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "@types/d3-cloud": "^1.2.1", "@types/d3-scale": "^2.0.2", @@ -16602,13 +16589,13 @@ } }, "node_modules/@superset-ui/preset-chart-xy": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/preset-chart-xy/-/preset-chart-xy-0.17.15.tgz", - "integrity": "sha512-6V2oIIuYcfHWRcPRuiHdMv7HpD7XdpuB08zDJADIFyV0QRM0RVpGW9kee3j8KyjecXIVtMvNyI81c/2P/kwEdg==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/preset-chart-xy/-/preset-chart-xy-0.17.17.tgz", + "integrity": "sha512-uRfnQJaiQvdOehTCr0UyyZH6L0k9d2qA/kUKuz7zOJ7ovMHReUObVfYYM8obniltmtx9XuIm/NVCSJPNwk6sYQ==", "dependencies": { "@data-ui/theme": "^0.0.84", "@data-ui/xy-chart": "^0.0.84", - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "@vx/axis": "^0.0.198", "@vx/legend": "^0.0.198", @@ -19001,9 +18988,9 @@ "integrity": "sha512-mE3eRK0fpTN/GnNBOIg2tGq2cFhchQXF6fCbrLxus75TgnoOECbdHikr948FGO/UAml7/ZhLMa5FbGkF5PKvmw==" }, "node_modules/@types/seedrandom": { - "version": "2.4.28", - "resolved": "https://registry.npmjs.org/@types/seedrandom/-/seedrandom-2.4.28.tgz", - "integrity": "sha512-SMA+fUwULwK7sd/ZJicUztiPs8F1yCPwF3O23Z9uQ32ME5Ha0NmDK9+QTsYE4O2tHXChzXomSWWeIhCnoN1LqA==" + "version": "2.4.29", + "resolved": "https://registry.npmjs.org/@types/seedrandom/-/seedrandom-2.4.29.tgz", + "integrity": "sha512-nSjRNBaE9y5Zzv6CCwDWH6DVC0E+g8/1Nu7LOSntusxQaHZOv9GJ7rrnS5G1dSGd2k1Ovvg5+JJG6idjuGtpDA==" }, "node_modules/@types/shortid": { "version": "0.0.29", @@ -26747,9 +26734,9 @@ "integrity": "sha512-j8tPxlqh1srJHAtxfvOUwKNYJkQuBFdM1+JAUfq6xqH5eAqf93L7oG1NVqDa4CpFZNvnNKtCYEUC8KY9yEn9lQ==" }, "node_modules/d3-interpolate": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.3.2.tgz", - "integrity": "sha512-NlNKGopqaz9qM1PXh9gBF1KSCVh+jSFErrSlD/4hybwoNX/gt1d8CDbDW+3i+5UOHhjC6s6nMvRxcuoMVNgL2w==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.4.0.tgz", + "integrity": "sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA==", "dependencies": { "d3-color": "1" } @@ -26835,9 +26822,9 @@ "integrity": "sha512-hF+NTLCaJHF/JqHN5hE8HVGAXPStEq6/omumPE/SxyHVrR7/qQxusFDo0t0c/44+sCGHthC7yNGFZIEgju0P8g==" }, "node_modules/d3-time-format": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.1.3.tgz", - "integrity": "sha512-6k0a2rZryzGm5Ihx+aFMuO1GgelgIz+7HhB4PH4OEndD5q2zGn1mDfRdNrulspOfR6JXkb2sThhDK41CSK85QA==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.3.0.tgz", + "integrity": "sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ==", "dependencies": { "d3-time": "1" } @@ -45660,6 +45647,9 @@ }, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/prismjs": { @@ -47918,7 +47908,10 @@ "node_modules/react-error-boundary": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-1.2.5.tgz", - "integrity": "sha512-5CPSeLJA2igJNppAgFRwnTL9aK3ojenk65enNzhVyoxYNbHpIJXnChUO7+4vPhkncRA9wvQMXq6Azp2XeXd+iQ==" + "integrity": "sha512-5CPSeLJA2igJNppAgFRwnTL9aK3ojenk65enNzhVyoxYNbHpIJXnChUO7+4vPhkncRA9wvQMXq6Azp2XeXd+iQ==", + "peerDependencies": { + "react": "^16.0.0-beta.1" + } }, "node_modules/react-error-overlay": { "version": "6.0.9", @@ -71948,9 +71941,9 @@ } }, "@superset-ui/chart-controls": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/chart-controls/-/chart-controls-0.17.15.tgz", - "integrity": "sha512-D0KoG5QvE3gxDnnN3lrLaQOXLQOCk8HBfQLXqAafGJDxIjatfAopty+7lz6Yzu859/OCBJK5AJybLm7fW5JtTg==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/chart-controls/-/chart-controls-0.17.17.tgz", + "integrity": "sha512-8W56ny/ErpyrUJ1fFmFoo5Mf7PQkxnMBpFVMdp/wCLugFi+5WZtLT3Ozmz/K4rNOyYUvjuQwmfIg76L8AMXybA==", "requires": { "@superset-ui/core": "0.17.15", "lodash": "^4.17.15", @@ -72012,14 +72005,6 @@ "internmap": "^1.0.0" } }, - "d3-interpolate": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.4.0.tgz", - "integrity": "sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA==", - "requires": { - "d3-color": "1" - } - }, "d3-scale": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-3.2.3.tgz", @@ -72031,23 +72016,15 @@ "d3-time": "1 - 2", "d3-time-format": "2 - 3" } - }, - "d3-time-format": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.3.0.tgz", - "integrity": "sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ==", - "requires": { - "d3-time": "1" - } } } }, "@superset-ui/legacy-plugin-chart-calendar": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-calendar/-/legacy-plugin-chart-calendar-0.17.15.tgz", - "integrity": "sha512-GIDY1ihvS24tV7IQYQKZJQaxlOvQ45RGfPMhi9bOmphVaV1X/sWwlBZK0LbL00kAzQJyOgvC+tE1+8y4ZoHrvg==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-calendar/-/legacy-plugin-chart-calendar-0.17.17.tgz", + "integrity": "sha512-SSCo25xpg99LzS8wr37cbpTwxf/0NH8vw3seDjskwVnpTyshAy8A4XL3No5t3yOe/+eKvvfpBv9WYpFQoNY9gA==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3-array": "^2.0.3", "d3-selection": "^1.4.0", @@ -72066,11 +72043,11 @@ } }, "@superset-ui/legacy-plugin-chart-chord": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-chord/-/legacy-plugin-chart-chord-0.17.15.tgz", - "integrity": "sha512-1coV7lCw5T1AnaDaRVaHWvwkCZDJFLHItHLby0dsnQ8tYgBTVOocC7GC34EESmirwfYSh/yutAV8uyNU4g3MMA==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-chord/-/legacy-plugin-chart-chord-0.17.17.tgz", + "integrity": "sha512-TpqbGzveKF1MPz5MAq5C2QiUQcVylhjnPq7upo95XhcHDEREfuZq9pMpv0V+M6HB4FeOOK8vqbdggaHI2Zfygg==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "prop-types": "^15.6.2", @@ -72078,11 +72055,11 @@ } }, "@superset-ui/legacy-plugin-chart-country-map": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-country-map/-/legacy-plugin-chart-country-map-0.17.15.tgz", - "integrity": "sha512-e1ve2hm9BAXihOwLkJeZ46N7E0h3VUBOUjF4Q087WHC/n4Mwh+JEcD8/xWwrrQ+HLZ9QhaRQNeTc2EjuZjfTKA==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-country-map/-/legacy-plugin-chart-country-map-0.17.17.tgz", + "integrity": "sha512-F/a6a0K2qcohnGB3SfGrfqWXMaGkzSNUDgDfXqECP6L+oZa97eDZXSI9+5eKPWHw/Q+5jL18NKpwoiGCO3ePag==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "d3-array": "^2.0.3", @@ -72100,33 +72077,33 @@ } }, "@superset-ui/legacy-plugin-chart-event-flow": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-event-flow/-/legacy-plugin-chart-event-flow-0.17.15.tgz", - "integrity": "sha512-iYxkUysd/3Xvfi459ER3R+JKo5AZHiAf9YanXsh1W9UvWdfRgtFuef+lr+ZTUT2S7CMS8PsFqczs51DXyMha5w==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-event-flow/-/legacy-plugin-chart-event-flow-0.17.17.tgz", + "integrity": "sha512-wNv9N4S6JLZCY07WlUFQhyA9qdOqVHnmOOOLSkwy6jAzCIhIYw19daZOyJqvBNaodY8Apiq2YbC7MDUvl1ZuGA==", "requires": { "@data-ui/event-flow": "^0.0.84", - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-force-directed": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-force-directed/-/legacy-plugin-chart-force-directed-0.17.15.tgz", - "integrity": "sha512-EB4oKcGDIJ5qoICOmXIsOKkyPNOHnwujp9iDcTEDjxDt70jBoLRtEnUjJDXvMW9Fx2a5RncIFczYfVG5imgw8Q==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-force-directed/-/legacy-plugin-chart-force-directed-0.17.17.tgz", + "integrity": "sha512-t5vo/5gVeJlD8VFxpzpFPD70O0DTh8N0aEbb9m6t0hYn2BrRJSd+AQ5enXDakkODw+8MIgKw4eEt6VOgetqkXw==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "prop-types": "^15.7.2" } }, "@superset-ui/legacy-plugin-chart-heatmap": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-heatmap/-/legacy-plugin-chart-heatmap-0.17.15.tgz", - "integrity": "sha512-AXLMn8UE3UoDhAdAOiicSwAvQijWCPnTeBsKSy6s3iHMPpAgMzcm2ZhoNlc0r40cKs4zTzsytB91/l/1qoHqEw==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-heatmap/-/legacy-plugin-chart-heatmap-0.17.17.tgz", + "integrity": "sha512-5UuD373mOljaVLNhwuFncXxueZ99zI16CrQoa4C8U6m9GTH8NjAndHgB6gAqApu/RTyUOfWz1NNPHZXVCHYwLw==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "d3-svg-legend": "^1.x", @@ -72135,13 +72112,13 @@ } }, "@superset-ui/legacy-plugin-chart-histogram": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-histogram/-/legacy-plugin-chart-histogram-0.17.15.tgz", - "integrity": "sha512-cyzbFKj5vOn+bp8Q/ZEDufuJ2G+7ujt+z5TUevVTWXcCDxbQ59XcDLsn7itfNzMmOyrLPNz786eG/yWdozqpgA==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-histogram/-/legacy-plugin-chart-histogram-0.17.17.tgz", + "integrity": "sha512-BMo768QjP9ICzOd0BvX20LungvVlpAAX7wB1kRmgGfsPPsVZuERHlwEBZdIgY8SLtuJj0qxuAybRuQcQaeZVRA==", "requires": { "@data-ui/histogram": "^0.0.84", "@data-ui/theme": "^0.0.84", - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "@vx/legend": "^0.0.198", "@vx/responsive": "^0.0.199", @@ -72210,11 +72187,11 @@ } }, "@superset-ui/legacy-plugin-chart-horizon": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-horizon/-/legacy-plugin-chart-horizon-0.17.15.tgz", - "integrity": "sha512-8qW5gsP+hL0S0RESlwIuCsvroN3SJcCo8wtxS1NURrvUK85SBZx4pNzrVf+OMDBtb1WYzUge9JkF6I5G4vqLKQ==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-horizon/-/legacy-plugin-chart-horizon-0.17.17.tgz", + "integrity": "sha512-ZSqar9sdoqDfYlOBvgL3jp4+HBd4cVdbc83fXlI/eMaMmdYOfE1xSDbAJzCbLO5vppDLAAF8aKVx6MyoVEAKWA==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3-array": "^2.0.3", "d3-scale": "^3.0.1", @@ -72244,11 +72221,11 @@ } }, "@superset-ui/legacy-plugin-chart-map-box": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-map-box/-/legacy-plugin-chart-map-box-0.17.15.tgz", - "integrity": "sha512-2iYN5QTKyyPmXARo9B0pMaSvlyXnbfiw3BdS5I0kGzhGGf2XV03aM1wrsZ0gNJxXtIvFL9XJ3sa6qjKFo1vsQw==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-map-box/-/legacy-plugin-chart-map-box-0.17.17.tgz", + "integrity": "sha512-IG4GdOInbygyXSiKBRcWfql0zc8I8iWx0AT34Bn5xcYKtfR7UhmqQmW0lqwT7ABDCI4oOfR6KyA/yxeOw/UN6A==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "immutable": "^3.8.2", "mapbox-gl": "^0.53.0", @@ -72266,11 +72243,11 @@ } }, "@superset-ui/legacy-plugin-chart-paired-t-test": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-paired-t-test/-/legacy-plugin-chart-paired-t-test-0.17.15.tgz", - "integrity": "sha512-RO0L+p3E8FZ4e9cdJreFPsiXz0yhBX7eTar3rMjA6TWnCm1Lc/RQPjxi6EqiY39gbY/I8d4dYgBiFWCKdDiYJw==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-paired-t-test/-/legacy-plugin-chart-paired-t-test-0.17.17.tgz", + "integrity": "sha512-V9rK+KLVT5xlgIBpiI3yRgIL8BWjIfYGG3MMbgJLO8IPKtG7ixzbWYat1YqEUC1RwvnQeaHZZeG3JiDWgC2hUw==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "distributions": "^1.0.0", "prop-types": "^15.6.2", @@ -72278,22 +72255,22 @@ } }, "@superset-ui/legacy-plugin-chart-parallel-coordinates": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-parallel-coordinates/-/legacy-plugin-chart-parallel-coordinates-0.17.15.tgz", - "integrity": "sha512-JT0mjItlu6T2Rs6nGzbS9z8BWeWmTok7TQT4JMonMjzqWNlGEPXLR89SnAIh3Nz8wZX6ilZ0YjteXTujnivErA==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-parallel-coordinates/-/legacy-plugin-chart-parallel-coordinates-0.17.17.tgz", + "integrity": "sha512-RApI10I2YeJxtNmjiQOpc3HYFhGlxgrxM8RXzFxyFM1E97k2/A32CEMi0cU7SD1FoLZtrJKao2QO+tcQFAPVXQ==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "prop-types": "^15.7.2" } }, "@superset-ui/legacy-plugin-chart-partition": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-partition/-/legacy-plugin-chart-partition-0.17.15.tgz", - "integrity": "sha512-xQM/Eg4XxlM6Fz1DWp34PzxB6PLFdFsoewXC2C4g5GZ9J+10Mm8RaWf43DxwaG06i+8aV4R3+WeefbkzGHp0Bw==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-partition/-/legacy-plugin-chart-partition-0.17.17.tgz", + "integrity": "sha512-5f6ozGZ3Mm6G9mcsbxYcf5G7afnZ0K2Opy59MrCHDFhXVxRsOy/WpwLO+kgz9BHXRSnx8T51KlOPRk1RlGMSvQ==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "d3-hierarchy": "^1.1.8", @@ -72301,11 +72278,11 @@ } }, "@superset-ui/legacy-plugin-chart-pivot-table": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-pivot-table/-/legacy-plugin-chart-pivot-table-0.17.15.tgz", - "integrity": "sha512-N+k1gHw5HbEGD8KrVogEz7O70y2ZjlUaLLbB63Fl4wfLeP4D9FkpEJmgWA3f7g2aQq3Wd1PD4ByQ2CD8wEtbNw==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-pivot-table/-/legacy-plugin-chart-pivot-table-0.17.17.tgz", + "integrity": "sha512-P5QvAcmfT/UQb4mnWeRTFZT9U0Fl/krS6x4l44w2VRqg4IdoBJhvuS5yIdXOOIUF7WArYwIB4MzJQvNrrC+q6w==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "datatables.net-bs": "^1.10.15", @@ -72313,11 +72290,11 @@ } }, "@superset-ui/legacy-plugin-chart-rose": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-rose/-/legacy-plugin-chart-rose-0.17.15.tgz", - "integrity": "sha512-4VpZTpVyDmfko1n31q2jHDpZlIIMy2aM2INS5TxPpph245CevqYZcrLH3GDwIco119TcINlUD07s88k4MDFrEA==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-rose/-/legacy-plugin-chart-rose-0.17.17.tgz", + "integrity": "sha512-C2C8n3bCPlojlbBXxSRb0WmXvikAbANunSlZORyqHD+FyGkiFW05Ep+I1B4rupfCO479Lm5CykR0pzZTUfbB4A==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "nvd3": "1.8.6", @@ -72325,11 +72302,11 @@ } }, "@superset-ui/legacy-plugin-chart-sankey": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sankey/-/legacy-plugin-chart-sankey-0.17.15.tgz", - "integrity": "sha512-KNMlpyWgYOEVo6vU2gcf8aWl8NpZMOoL4CzW45TkOd6wzwvtH0ZtU0M1PeGJVXzdgvha+NzxNBZ1adga7TMuhg==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sankey/-/legacy-plugin-chart-sankey-0.17.17.tgz", + "integrity": "sha512-vvJ50z6S41VkZEh1nVb9fak/qb5au+8yZGg8XrMP7wq5IE0wNEaaz89egeUmaday3VCpPfnJ77z9+C6zYtAfoA==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "d3-sankey": "^0.4.2", @@ -72337,11 +72314,11 @@ } }, "@superset-ui/legacy-plugin-chart-sankey-loop": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sankey-loop/-/legacy-plugin-chart-sankey-loop-0.17.15.tgz", - "integrity": "sha512-U6glpKz+mEyeQbjNzZh2UqDJPGpEFadjOajPwWOOej3c383/KaHSntaydbN15ZD+m2f9QkvqQFCsP4kvfm0muA==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sankey-loop/-/legacy-plugin-chart-sankey-loop-0.17.17.tgz", + "integrity": "sha512-TCxzA7OnFuXba0AqAnckG6k3259VPJHf/gc+tF+MvzmwApsPPSEt+kHeE0w8ozS69W6yWeqKf+7pwvy7UMSFQw==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3-sankey-diagram": "^0.7.3", "d3-selection": "^1.4.0", @@ -72349,22 +72326,22 @@ } }, "@superset-ui/legacy-plugin-chart-sunburst": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sunburst/-/legacy-plugin-chart-sunburst-0.17.15.tgz", - "integrity": "sha512-Fb8arcmPapk2KYZyRM7DE7R4rBlZsSjzjIk8ObA10UJ30CsppzA/rEyYweXQd3ge6RUiBeIED81+1+CXnGUs8w==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sunburst/-/legacy-plugin-chart-sunburst-0.17.17.tgz", + "integrity": "sha512-UMOyA8UJJr98/9fFTU5P0HP3imKqs7AUKIxxWe0gKWB2aA87wnUECJzzjONHM1tLLADPyKX4doNCJ8zvK5TLxA==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-treemap": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-treemap/-/legacy-plugin-chart-treemap-0.17.15.tgz", - "integrity": "sha512-R0GrXtgYhJtMhRCoMGtPSby8Q+CdnPJiNU8/MoDxziyJwQtXzNEQFyACA7s4phlvDvC559KLJ3037vrc1/Sl6A==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-treemap/-/legacy-plugin-chart-treemap-0.17.17.tgz", + "integrity": "sha512-CuEa6q/0pLy5iO7414sGxNksJHjRAHooE8vsPK4gsf6XPFo7gp2EG6iByV0RmSrrU4qynR5Pc8KLiHb39X658g==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3-hierarchy": "^1.1.8", "d3-selection": "^1.4.0", @@ -72372,11 +72349,11 @@ } }, "@superset-ui/legacy-plugin-chart-world-map": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-world-map/-/legacy-plugin-chart-world-map-0.17.15.tgz", - "integrity": "sha512-Ts9F25wqhJZUQhSH47kkKQ/ab02n25vMf1QbU9oryRCJnwWc55xxNeT0lPbdr6FmjFew83+WdkSAL8137Onv7w==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-world-map/-/legacy-plugin-chart-world-map-0.17.17.tgz", + "integrity": "sha512-GRLDZEpfBDQgqgYY/djlhb45HQu72pEOGg0fXZzATeI3rNfgbH1i++rmJZ4KLrIof+/M6W3yg1C3yJsbmN3P7Q==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "d3-array": "^2.4.0", @@ -72401,12 +72378,12 @@ } }, "@superset-ui/legacy-preset-chart-big-number": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-big-number/-/legacy-preset-chart-big-number-0.17.15.tgz", - "integrity": "sha512-hYB3LRgzhfSecsqM+0MTSjc6hjpOGuGEdLBTcPW4hli6UODoy+XUG0o+22LxFBW/sYqGgWIsVi0mF7pseJnAbQ==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-big-number/-/legacy-preset-chart-big-number-0.17.17.tgz", + "integrity": "sha512-8SYNOq6jGoeHGUAekJA2cfRbLYPYsc7LLaancPsT7MJJcOT02ZcsJUDjdbA6j2iikSzG2DpKGWECKC1ag3J1mQ==", "requires": { "@data-ui/xy-chart": "^0.0.84", - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "@types/d3-color": "^1.2.2", "@types/shortid": "^0.0.29", @@ -72440,12 +72417,12 @@ } }, "@superset-ui/legacy-preset-chart-nvd3": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-nvd3/-/legacy-preset-chart-nvd3-0.17.15.tgz", - "integrity": "sha512-skUHQ3i9AhfPNHofkes49ZnaBZcbr5MNyXxvT8CiGa+MP80n+vgt+i5V12kIwxPWRIFwIUpcNxDRtlfE4PjpGg==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-nvd3/-/legacy-preset-chart-nvd3-0.17.17.tgz", + "integrity": "sha512-m6cE7L9+JPCTKpcX0D/FR+nLxHtu9exFWMem4S+Stjl0thgoO66VzjGjPFPnjIejk3OJHqsY6ghs3QbOpP1gYA==", "requires": { "@data-ui/xy-chart": "^0.0.84", - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "d3": "^3.5.17", "d3-tip": "^0.9.1", @@ -72460,11 +72437,11 @@ } }, "@superset-ui/plugin-chart-echarts": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-echarts/-/plugin-chart-echarts-0.17.15.tgz", - "integrity": "sha512-wryWvEcKd4MaUvdNMhpCwZ/CY7y38HXnH1muHnNEE4d2PoHKwMN5WXqVQYnE1c90ljTih3kbR3ALPVPSJWGG4g==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-echarts/-/plugin-chart-echarts-0.17.17.tgz", + "integrity": "sha512-PCFUtovcR2BhpLCuFbqAdLCB1mYfs4OUrWtx2+B8r6l6jfoKvlB59cSJH1teK87T0yd15T0a3mOxoQ/EFBIcEg==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "@types/mathjs": "^6.0.7", "d3-array": "^1.2.0", @@ -72473,12 +72450,12 @@ } }, "@superset-ui/plugin-chart-table": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-table/-/plugin-chart-table-0.17.15.tgz", - "integrity": "sha512-JT8gw16389RF/lY27CchnL0Yo7/U/o6HrWkz46CMGnFnHbY0fq+aqZd7Rqqz0RbTkRS3paWeZdy2nf9MMYsa1g==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-table/-/plugin-chart-table-0.17.17.tgz", + "integrity": "sha512-ENatuU0oj9hASkMPITHJLvZjBqQGpF4cGPDmUZNvtDIoxzWpwrnIUZXoqQSprJFD1QONCtptTSNYO+XjYL784Q==", "requires": { "@emotion/core": "^10.0.28", - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "@types/d3-array": "^2.0.0", "@types/react-table": "^7.0.19", @@ -72502,11 +72479,11 @@ } }, "@superset-ui/plugin-chart-word-cloud": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-word-cloud/-/plugin-chart-word-cloud-0.17.15.tgz", - "integrity": "sha512-3amMqmF5+HntzcZAP+TdAEtlBvQbq4VZRAwon/+IHcAnHnBlSYNCdjaI3lU/7udIFrMtmkMcPeaQE2lDbjuW3g==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-word-cloud/-/plugin-chart-word-cloud-0.17.17.tgz", + "integrity": "sha512-TW13j+OWq9xHMelQiTx5t+VqoRs2uzplG1rG0jbjWBNjaRWEf/3+0LQfRiygw5Wyq7gnPQHBQ5m3KK8xvqZM3A==", "requires": { - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "@types/d3-cloud": "^1.2.1", "@types/d3-scale": "^2.0.2", @@ -72539,13 +72516,13 @@ } }, "@superset-ui/preset-chart-xy": { - "version": "0.17.15", - "resolved": "https://registry.npmjs.org/@superset-ui/preset-chart-xy/-/preset-chart-xy-0.17.15.tgz", - "integrity": "sha512-6V2oIIuYcfHWRcPRuiHdMv7HpD7XdpuB08zDJADIFyV0QRM0RVpGW9kee3j8KyjecXIVtMvNyI81c/2P/kwEdg==", + "version": "0.17.17", + "resolved": "https://registry.npmjs.org/@superset-ui/preset-chart-xy/-/preset-chart-xy-0.17.17.tgz", + "integrity": "sha512-uRfnQJaiQvdOehTCr0UyyZH6L0k9d2qA/kUKuz7zOJ7ovMHReUObVfYYM8obniltmtx9XuIm/NVCSJPNwk6sYQ==", "requires": { "@data-ui/theme": "^0.0.84", "@data-ui/xy-chart": "^0.0.84", - "@superset-ui/chart-controls": "0.17.15", + "@superset-ui/chart-controls": "0.17.17", "@superset-ui/core": "0.17.15", "@vx/axis": "^0.0.198", "@vx/legend": "^0.0.198", @@ -74779,9 +74756,9 @@ "integrity": "sha512-mE3eRK0fpTN/GnNBOIg2tGq2cFhchQXF6fCbrLxus75TgnoOECbdHikr948FGO/UAml7/ZhLMa5FbGkF5PKvmw==" }, "@types/seedrandom": { - "version": "2.4.28", - "resolved": "https://registry.npmjs.org/@types/seedrandom/-/seedrandom-2.4.28.tgz", - "integrity": "sha512-SMA+fUwULwK7sd/ZJicUztiPs8F1yCPwF3O23Z9uQ32ME5Ha0NmDK9+QTsYE4O2tHXChzXomSWWeIhCnoN1LqA==" + "version": "2.4.29", + "resolved": "https://registry.npmjs.org/@types/seedrandom/-/seedrandom-2.4.29.tgz", + "integrity": "sha512-nSjRNBaE9y5Zzv6CCwDWH6DVC0E+g8/1Nu7LOSntusxQaHZOv9GJ7rrnS5G1dSGd2k1Ovvg5+JJG6idjuGtpDA==" }, "@types/shortid": { "version": "0.0.29", @@ -81460,9 +81437,9 @@ "integrity": "sha512-j8tPxlqh1srJHAtxfvOUwKNYJkQuBFdM1+JAUfq6xqH5eAqf93L7oG1NVqDa4CpFZNvnNKtCYEUC8KY9yEn9lQ==" }, "d3-interpolate": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.3.2.tgz", - "integrity": "sha512-NlNKGopqaz9qM1PXh9gBF1KSCVh+jSFErrSlD/4hybwoNX/gt1d8CDbDW+3i+5UOHhjC6s6nMvRxcuoMVNgL2w==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.4.0.tgz", + "integrity": "sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA==", "requires": { "d3-color": "1" } @@ -81548,9 +81525,9 @@ "integrity": "sha512-hF+NTLCaJHF/JqHN5hE8HVGAXPStEq6/omumPE/SxyHVrR7/qQxusFDo0t0c/44+sCGHthC7yNGFZIEgju0P8g==" }, "d3-time-format": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.1.3.tgz", - "integrity": "sha512-6k0a2rZryzGm5Ihx+aFMuO1GgelgIz+7HhB4PH4OEndD5q2zGn1mDfRdNrulspOfR6JXkb2sThhDK41CSK85QA==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.3.0.tgz", + "integrity": "sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ==", "requires": { "d3-time": "1" } @@ -99121,7 +99098,8 @@ "react-error-boundary": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-1.2.5.tgz", - "integrity": "sha512-5CPSeLJA2igJNppAgFRwnTL9aK3ojenk65enNzhVyoxYNbHpIJXnChUO7+4vPhkncRA9wvQMXq6Azp2XeXd+iQ==" + "integrity": "sha512-5CPSeLJA2igJNppAgFRwnTL9aK3ojenk65enNzhVyoxYNbHpIJXnChUO7+4vPhkncRA9wvQMXq6Azp2XeXd+iQ==", + "requires": {} }, "react-error-overlay": { "version": "6.0.9", diff --git a/superset-frontend/package.json b/superset-frontend/package.json index 0762309734e2..d357de164db8 100644 --- a/superset-frontend/package.json +++ b/superset-frontend/package.json @@ -65,34 +65,34 @@ "@babel/runtime-corejs3": "^7.12.5", "@data-ui/sparkline": "^0.0.84", "@emotion/core": "^10.0.35", - "@superset-ui/chart-controls": "^0.17.15", + "@superset-ui/chart-controls": "^0.17.17", "@superset-ui/core": "^0.17.15", - "@superset-ui/legacy-plugin-chart-calendar": "^0.17.15", - "@superset-ui/legacy-plugin-chart-chord": "^0.17.15", - "@superset-ui/legacy-plugin-chart-country-map": "^0.17.15", - "@superset-ui/legacy-plugin-chart-event-flow": "^0.17.15", - "@superset-ui/legacy-plugin-chart-force-directed": "^0.17.15", - "@superset-ui/legacy-plugin-chart-heatmap": "^0.17.15", - "@superset-ui/legacy-plugin-chart-histogram": "^0.17.15", - "@superset-ui/legacy-plugin-chart-horizon": "^0.17.15", - "@superset-ui/legacy-plugin-chart-map-box": "^0.17.15", - "@superset-ui/legacy-plugin-chart-paired-t-test": "^0.17.15", - "@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.17.15", - "@superset-ui/legacy-plugin-chart-partition": "^0.17.15", - "@superset-ui/legacy-plugin-chart-pivot-table": "^0.17.15", - "@superset-ui/legacy-plugin-chart-rose": "^0.17.15", - "@superset-ui/legacy-plugin-chart-sankey": "^0.17.15", - "@superset-ui/legacy-plugin-chart-sankey-loop": "^0.17.15", - "@superset-ui/legacy-plugin-chart-sunburst": "^0.17.15", - "@superset-ui/legacy-plugin-chart-treemap": "^0.17.15", - "@superset-ui/legacy-plugin-chart-world-map": "^0.17.15", - "@superset-ui/legacy-preset-chart-big-number": "^0.17.15", + "@superset-ui/legacy-plugin-chart-calendar": "^0.17.17", + "@superset-ui/legacy-plugin-chart-chord": "^0.17.17", + "@superset-ui/legacy-plugin-chart-country-map": "^0.17.17", + "@superset-ui/legacy-plugin-chart-event-flow": "^0.17.17", + "@superset-ui/legacy-plugin-chart-force-directed": "^0.17.17", + "@superset-ui/legacy-plugin-chart-heatmap": "^0.17.17", + "@superset-ui/legacy-plugin-chart-histogram": "^0.17.17", + "@superset-ui/legacy-plugin-chart-horizon": "^0.17.17", + "@superset-ui/legacy-plugin-chart-map-box": "^0.17.17", + "@superset-ui/legacy-plugin-chart-paired-t-test": "^0.17.17", + "@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.17.17", + "@superset-ui/legacy-plugin-chart-partition": "^0.17.17", + "@superset-ui/legacy-plugin-chart-pivot-table": "^0.17.17", + "@superset-ui/legacy-plugin-chart-rose": "^0.17.17", + "@superset-ui/legacy-plugin-chart-sankey": "^0.17.17", + "@superset-ui/legacy-plugin-chart-sankey-loop": "^0.17.17", + "@superset-ui/legacy-plugin-chart-sunburst": "^0.17.17", + "@superset-ui/legacy-plugin-chart-treemap": "^0.17.17", + "@superset-ui/legacy-plugin-chart-world-map": "^0.17.17", + "@superset-ui/legacy-preset-chart-big-number": "^0.17.17", "@superset-ui/legacy-preset-chart-deckgl": "^0.4.6", - "@superset-ui/legacy-preset-chart-nvd3": "^0.17.15", - "@superset-ui/plugin-chart-echarts": "^0.17.15", - "@superset-ui/plugin-chart-table": "^0.17.15", - "@superset-ui/plugin-chart-word-cloud": "^0.17.15", - "@superset-ui/preset-chart-xy": "^0.17.15", + "@superset-ui/legacy-preset-chart-nvd3": "^0.17.17", + "@superset-ui/plugin-chart-echarts": "^0.17.17", + "@superset-ui/plugin-chart-table": "^0.17.17", + "@superset-ui/plugin-chart-word-cloud": "^0.17.17", + "@superset-ui/preset-chart-xy": "^0.17.17", "@vx/responsive": "^0.0.195", "abortcontroller-polyfill": "^1.1.9", "antd": "^4.9.4", diff --git a/superset-frontend/spec/javascripts/explore/controlUtils_spec.jsx b/superset-frontend/spec/javascripts/explore/controlUtils_spec.tsx similarity index 77% rename from superset-frontend/spec/javascripts/explore/controlUtils_spec.jsx rename to superset-frontend/spec/javascripts/explore/controlUtils_spec.tsx index a85d40394457..7c4a69d9aef8 100644 --- a/superset-frontend/spec/javascripts/explore/controlUtils_spec.jsx +++ b/superset-frontend/spec/javascripts/explore/controlUtils_spec.tsx @@ -16,8 +16,13 @@ * specific language governing permissions and limitations * under the License. */ - import { getChartControlPanelRegistry, t } from '@superset-ui/core'; +import { + ControlConfig, + ControlPanelState, + CustomControlItem, + DatasourceMeta, +} from '@superset-ui/chart-controls'; import { getControlConfig, getControlState, @@ -30,13 +35,20 @@ import { controlPanelSectionsChartOptionsTable, } from 'spec/javascripts/explore/fixtures'; +const getKnownControlConfig = (controlKey: string, vizType: string) => + getControlConfig(controlKey, vizType) as ControlConfig; + +const getKnownControlState = (...args: Parameters) => + getControlState(...args) as Exclude, null>; + describe('controlUtils', () => { - const state = { - datasource: { - columns: ['a', 'b', 'c'], + const state: ControlPanelState = { + datasource: ({ + columns: [{ column_name: 'a' }], metrics: [{ metric_name: 'first' }, { metric_name: 'second' }], - }, + } as unknown) as DatasourceMeta, controls: {}, + form_data: { datasource: '1__table', viz_type: 'table' }, }; beforeAll(() => { @@ -66,15 +78,14 @@ describe('controlUtils', () => { describe('getControlConfig', () => { it('returns a valid spatial controlConfig', () => { const spatialControl = getControlConfig('color_scheme', 'test-chart'); - expect(spatialControl.type).toEqual('ColorSchemeControl'); + expect(spatialControl?.type).toEqual('ColorSchemeControl'); }); it('overrides according to vizType', () => { - let control = getControlConfig('color_scheme', 'test-chart'); + let control = getKnownControlConfig('color_scheme', 'test-chart'); expect(control.label).toEqual('Color Scheme'); - // deck_polygon overrides and removes validators - control = getControlConfig('color_scheme', 'test-chart-override'); + control = getKnownControlConfig('color_scheme', 'test-chart-override'); expect(control.label).toEqual('My beautiful colors'); }); @@ -102,27 +113,21 @@ describe('controlUtils', () => { describe('applyMapStateToPropsToControl,', () => { it('applies state to props as expected', () => { - let control = getControlConfig('all_columns', 'table'); + let control = getKnownControlConfig('all_columns', 'table'); control = applyMapStateToPropsToControl(control, state); - expect(control.options).toEqual(['a', 'b', 'c']); - }); - - it('removes the mapStateToProps key from the object', () => { - let control = getControlConfig('all_columns', 'table'); - control = applyMapStateToPropsToControl(control, state); - expect(control.mapStateToProps[0]).toBe(undefined); + expect(control.options).toEqual([{ column_name: 'a' }]); }); }); describe('getControlState', () => { it('to still have the functions', () => { - const control = getControlState('metrics', 'table', state, ['a']); + const control = getKnownControlState('metrics', 'table', state, 'a'); expect(typeof control.mapStateToProps).toBe('function'); - expect(typeof control.validators[0]).toBe('function'); + expect(typeof control.validators?.[0]).toBe('function'); }); - it('to fix multi with non-array values', () => { - const control = getControlState('all_columns', 'table', state, 'a'); + it('to make sure value is array', () => { + const control = getKnownControlState('all_columns', 'table', state, 'a'); expect(control.value).toEqual(['a']); }); @@ -133,10 +138,10 @@ describe('controlUtils', () => { state, 'stack', ); - expect(control.value).toBe('stack'); + expect(control?.value).toBe('stack'); control = getControlState('stacked_style', 'test-chart', state, 'FOO'); - expect(control.value).toBeNull(); + expect(control?.value).toBeNull(); }); it('returns null for non-existent field', () => { @@ -146,19 +151,19 @@ describe('controlUtils', () => { it('applies the default function for metrics', () => { const control = getControlState('metrics', 'table', state); - expect(control.default).toEqual(['first']); + expect(control?.default).toEqual(['first']); }); it('applies the default function for metric', () => { const control = getControlState('metric', 'table', state); - expect(control.default).toEqual('first'); + expect(control?.default).toEqual('first'); }); it('applies the default function, prefers count if it exists', () => { const stateWithCount = { ...state, datasource: { - ...state.datasource, + ...(state.datasource as DatasourceMeta), metrics: [ { metric_name: 'first' }, { metric_name: 'second' }, @@ -167,7 +172,7 @@ describe('controlUtils', () => { }, }; const control = getControlState('metrics', 'table', stateWithCount); - expect(control.default).toEqual(['count']); + expect(control?.default).toEqual(['count']); }); it('should not apply mapStateToProps when initializing', () => { @@ -175,15 +180,15 @@ describe('controlUtils', () => { ...state, controls: undefined, }); - expect(typeof control.default).toBe('function'); - expect(control.value).toBe(undefined); + expect(typeof control?.default).toBe('function'); + expect(control?.value).toBe(undefined); }); }); describe('validateControl', () => { it('validates the control, returns an error if empty', () => { const control = getControlState('metric', 'table', state, null); - expect(control.validationErrors).toEqual(['cannot be empty']); + expect(control?.validationErrors).toEqual(['cannot be empty']); }); it('should not validate if control panel is initializing', () => { const control = getControlState( @@ -192,7 +197,7 @@ describe('controlUtils', () => { { ...state, controls: undefined }, undefined, ); - expect(control.validationErrors).toBeUndefined(); + expect(control?.validationErrors).toBeUndefined(); }); }); @@ -209,14 +214,14 @@ describe('controlUtils', () => { let controlItem = findControlItem( controlPanelSectionsChartOptions, 'rose_area_proportion', - ); + ) as CustomControlItem; expect(controlItem.name).toEqual('rose_area_proportion'); expect(controlItem).toHaveProperty('config'); controlItem = findControlItem( controlPanelSectionsChartOptions, 'stacked_style', - ); + ) as CustomControlItem; expect(controlItem.name).toEqual('stacked_style'); expect(controlItem).toHaveProperty('config'); }); diff --git a/superset-frontend/spec/javascripts/explore/fixtures.jsx b/superset-frontend/spec/javascripts/explore/fixtures.tsx similarity index 86% rename from superset-frontend/spec/javascripts/explore/fixtures.jsx rename to superset-frontend/spec/javascripts/explore/fixtures.tsx index 798389290521..d9185cf83eaf 100644 --- a/superset-frontend/spec/javascripts/explore/fixtures.jsx +++ b/superset-frontend/spec/javascripts/explore/fixtures.tsx @@ -19,9 +19,14 @@ import React from 'react'; import { t } from '@superset-ui/core'; -import { ColumnOption } from '@superset-ui/chart-controls'; +import { + ColumnMeta, + ColumnOption, + ControlConfig, + ControlPanelSectionConfig, +} from '@superset-ui/chart-controls'; -export const controlPanelSectionsChartOptions = [ +export const controlPanelSectionsChartOptions: ControlPanelSectionConfig[] = [ { label: t('Chart Options'), expanded: true, @@ -63,7 +68,7 @@ export const controlPanelSectionsChartOptions = [ }, ]; -export const controlPanelSectionsChartOptionsOnlyColorScheme = [ +export const controlPanelSectionsChartOptionsOnlyColorScheme: ControlPanelSectionConfig[] = [ { label: t('Chart Options'), expanded: true, @@ -71,7 +76,7 @@ export const controlPanelSectionsChartOptionsOnlyColorScheme = [ }, ]; -export const controlPanelSectionsChartOptionsTable = [ +export const controlPanelSectionsChartOptionsTable: ControlPanelSectionConfig[] = [ { label: t('Chart Options'), expanded: true, @@ -96,7 +101,7 @@ export const controlPanelSectionsChartOptionsTable = [ }), commaChoosesOption: false, freeForm: true, - }, + } as ControlConfig<'SelectControl', ColumnMeta>, }, ], ], diff --git a/superset-frontend/src/explore/controlUtils/getControlConfig.ts b/superset-frontend/src/explore/controlUtils/getControlConfig.ts index 6be87e4d6f06..fb36e3f4338a 100644 --- a/superset-frontend/src/explore/controlUtils/getControlConfig.ts +++ b/superset-frontend/src/explore/controlUtils/getControlConfig.ts @@ -23,20 +23,6 @@ import { expandControlConfig, } from '@superset-ui/chart-controls'; -const getMemoizedControlConfig = memoizeOne( - (controlKey, controlPanelConfig) => { - const { - controlOverrides = {}, - controlPanelSections = [], - } = controlPanelConfig; - const control = expandControlConfig( - findControlItem(controlPanelSections, controlKey), - controlOverrides, - ); - return control && 'config' in control ? control.config : control; - }, -); - /** * Find control item from control panel config. */ @@ -59,6 +45,20 @@ export function findControlItem( ); } +const getMemoizedControlConfig = memoizeOne( + (controlKey, controlPanelConfig) => { + const { + controlOverrides = {}, + controlPanelSections = [], + } = controlPanelConfig; + const control = expandControlConfig( + findControlItem(controlPanelSections, controlKey), + controlOverrides, + ); + return control && 'config' in control ? control.config : control; + }, +); + export const getControlConfig = function getControlConfig( controlKey: string, vizType: string, diff --git a/superset-frontend/src/explore/controlUtils/index.js b/superset-frontend/src/explore/controlUtils/getControlState.ts similarity index 61% rename from superset-frontend/src/explore/controlUtils/index.js rename to superset-frontend/src/explore/controlUtils/getControlState.ts index b426754b7084..7769ca49c2b9 100644 --- a/superset-frontend/src/explore/controlUtils/index.js +++ b/superset-frontend/src/explore/controlUtils/getControlState.ts @@ -16,21 +16,36 @@ * specific language governing permissions and limitations * under the License. */ +import { ReactNode } from 'react'; +import { + DatasourceType, + ensureIsArray, + JsonValue, + QueryFormData, +} from '@superset-ui/core'; +import { + ControlConfig, + ControlPanelState, + ControlState, + ControlType, + ControlValueValidator, +} from '@superset-ui/chart-controls'; import { getSectionsToRender } from './getSectionsToRender'; import { getControlConfig } from './getControlConfig'; -export * from './getFormDataFromControls'; -export * from './getControlConfig'; -export * from './getSectionsToRender'; +type ValidationError = JsonValue; -export function validateControl(control, processedState) { - const { validators } = control; - const validationErrors = []; +function execControlValidator( + control: ControlState, + processedState: ControlState, +) { + const validators = control.validators as ControlValueValidator[] | undefined; + const validationErrors: ValidationError[] = []; if (validators && validators.length > 0) { - validators.forEach(f => { - const v = f.call(control, control.value, processedState); - if (v) { - validationErrors.push(v); + validators.forEach(validator => { + const error = validator.call(control, control.value, processedState); + if (error) { + validationErrors.push(error); } }); } @@ -38,22 +53,26 @@ export function validateControl(control, processedState) { return { ...control, validationErrors }; } -function handleMissingChoice(control) { +/** + * Clear control values that are no longer in the `choices` list. + */ +function handleMissingChoice(control: ControlState) { // If the value is not valid anymore based on choices, clear it - const { value } = control; if ( control.type === 'SelectControl' && !control.freeForm && control.choices && - value + control.value ) { const alteredControl = { ...control }; - const choiceValues = control.choices.map(c => c[0]); + const choices = control.choices as [JsonValue, ReactNode][]; + const value = ensureIsArray(control.value); + const choiceValues = choices.map(c => c[0]); if (control.multi && value.length > 0) { - alteredControl.value = value.filter(el => choiceValues.indexOf(el) > -1); + alteredControl.value = value.filter(el => choiceValues.includes(el)); return alteredControl; } - if (!control.multi && choiceValues.indexOf(value) < 0) { + if (!control.multi && !choiceValues.includes(value[0])) { alteredControl.value = null; return alteredControl; } @@ -61,14 +80,17 @@ function handleMissingChoice(control) { return control; } -export function applyMapStateToPropsToControl(controlState, controlPanelState) { +export function applyMapStateToPropsToControl( + controlState: ControlState, + controlPanelState: Partial, +) { const { mapStateToProps } = controlState; let state = { ...controlState }; let { value } = state; // value is current user-input value if (mapStateToProps && controlPanelState) { state = { ...controlState, - ...mapStateToProps(controlPanelState, controlState), + ...mapStateToProps.call(controlState, controlPanelState, controlState), }; // `mapStateToProps` may also provide a value value = value || state.value; @@ -90,19 +112,19 @@ export function applyMapStateToPropsToControl(controlState, controlPanelState) { value = [value]; } state.value = value; - return validateControl(handleMissingChoice(state), state); + return execControlValidator(handleMissingChoice(state), state); } -export function getControlStateFromControlConfig( - controlConfig, - controlPanelState, - value, +export function getControlStateFromControlConfig( + controlConfig: ControlConfig | null, + controlPanelState: Partial, + value?: JsonValue, ) { // skip invalid config values if (!controlConfig) { return null; } - const controlState = { ...controlConfig, value }; + const controlState = { ...controlConfig, value } as ControlState; // only apply mapStateToProps when control states have been initialized // or when explicitly didn't provide control panel state (mostly for testing) if ( @@ -114,7 +136,12 @@ export function getControlStateFromControlConfig( return controlState; } -export function getControlState(controlKey, vizType, state, value) { +export function getControlState( + controlKey: string, + vizType: string, + state: Partial, + value?: JsonValue, +) { return getControlStateFromControlConfig( getControlConfig(controlKey, vizType), state, @@ -122,12 +149,17 @@ export function getControlState(controlKey, vizType, state, value) { ); } -export function getAllControlsState(vizType, datasourceType, state, formData) { +export function getAllControlsState( + vizType: string, + datasourceType: DatasourceType, + state: ControlPanelState, + formData: QueryFormData, +) { const controlsState = {}; getSectionsToRender(vizType, datasourceType).forEach(section => section.controlSetRows.forEach(fieldsetRow => fieldsetRow.forEach(field => { - if (field && field.config && field.name) { + if (field && 'config' in field && field.config && field.name) { const { config, name } = field; controlsState[name] = getControlStateFromControlConfig( config, diff --git a/superset-frontend/src/explore/controlUtils/index.ts b/superset-frontend/src/explore/controlUtils/index.ts new file mode 100644 index 000000000000..0556cd2ab740 --- /dev/null +++ b/superset-frontend/src/explore/controlUtils/index.ts @@ -0,0 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +export * from './getSectionsToRender'; +export * from './getControlConfig'; +export * from './getControlState'; +export * from './getFormDataFromControls'; diff --git a/superset-frontend/src/explore/reducers/getInitialState.ts b/superset-frontend/src/explore/reducers/getInitialState.ts index e1d6488cb1d2..dea0ff7af4b9 100644 --- a/superset-frontend/src/explore/reducers/getInitialState.ts +++ b/superset-frontend/src/explore/reducers/getInitialState.ts @@ -17,13 +17,11 @@ * under the License. */ import shortid from 'shortid'; +import { DatasourceType, JsonObject, QueryFormData } from '@superset-ui/core'; import { - Datasource, - DatasourceType, - JsonObject, - QueryFormData, -} from '@superset-ui/core'; -import { ControlStateMapping } from '@superset-ui/chart-controls'; + ControlStateMapping, + DatasourceMeta, +} from '@superset-ui/chart-controls'; import { CommonBootstrapData } from 'src/types/bootstrapTypes'; import getToastsFromPyFlashMessages from 'src/messageToasts/utils/getToastsFromPyFlashMessages'; @@ -39,7 +37,7 @@ export interface ExlorePageBootstrapData extends JsonObject { can_add: boolean; can_download: boolean; can_overwrite: boolean; - datasource: Datasource; + datasource: DatasourceMeta; form_data: QueryFormData; datasource_id: number; datasource_type: DatasourceType;