This is an automated email from the ASF dual-hosted git repository. villebro pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push: new a8db78b chore: bump superset-ui to 0.13.27 (#10018) a8db78b is described below commit a8db78b069800017cf397e47a0f41d25c8d3ea8d Author: Ville Brofeldt <33317356+ville...@users.noreply.github.com> AuthorDate: Wed Jun 10 10:13:00 2020 +0300 chore: bump superset-ui to 0.13.27 (#10018) * chore: bump superset-ui * Remove redundant control panels --- superset-frontend/package-lock.json | 469 +++++++++++++-------- superset-frontend/package.json | 78 ++-- superset-frontend/src/chart/chartAction.js | 10 +- .../src/explore/controlPanels/CountryMap.js | 106 ----- .../src/explore/controlPanels/EventFlow.jsx | 128 ------ superset-frontend/src/setup/setupPlugins.ts | 4 - 6 files changed, 337 insertions(+), 458 deletions(-) diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index 9376e08..68aad1d 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -3626,18 +3626,23 @@ } }, "@babel/polyfill": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.4.4.tgz", - "integrity": "sha512-WlthFLfhQQhh+A2Gn5NSFl0Huxz36x86Jn+E9OW7ibK8edKPq+KLy4apM1yDpQ8kJOVi1OVjpP4vSDLdrI04dg==", + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.10.1.tgz", + "integrity": "sha512-TviueJ4PBW5p48ra8IMtLXVkDucrlOZAIZ+EXqS3Ot4eukHbWiqcn7DcqpA1k5PcKtmJ4Xl9xwdv6yQvvcA+3g==", "requires": { "core-js": "^2.6.5", - "regenerator-runtime": "^0.13.2" + "regenerator-runtime": "^0.13.4" }, "dependencies": { "core-js": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz", - "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==" + "version": "2.6.11", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz", + "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==" + }, + "regenerator-runtime": { + "version": "0.13.5", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz", + "integrity": "sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA==" } } }, @@ -5475,9 +5480,9 @@ }, "dependencies": { "@babel/runtime": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.6.tgz", - "integrity": "sha512-64AF1xY3OAkFHqOb9s4jpgk1Mm5vDZ4L3acHvAml+53nO1XbXLuDodsVpO4OIUsmemlUHMxNdYMNJmsvOwLrvQ==", + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.10.2.tgz", + "integrity": "sha512-6sF3uQw2ivImfVIl62RZ7MXhO2tap69WeWK57vAaimT6AZbE4FbqjdEJIN1UqoD6wI6B+1n9UiagafH1sxjOtg==", "requires": { "regenerator-runtime": "^0.13.4" } @@ -6512,32 +6517,23 @@ "dev": true }, "@superset-ui/chart": { - "version": "0.13.7", - "resolved": "https://registry.npmjs.org/@superset-ui/chart/-/chart-0.13.7.tgz", - "integrity": "sha512-mex++Z67nl809ZkgK44rW0DsIp7W73tGlXtTRfyVVjHDJMG4VYZ4BSrxMfunj4STgqW9IZWjGDe+ZAPXNyBkjA==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/chart/-/chart-0.13.27.tgz", + "integrity": "sha512-diCSG5s+611LSPtA8lsEeAUUtzCS8uR/+9JR/lIdtSmPvhlzC1wtw5ULaZZzZbXsjsqD9NElQZNKJByRxp+OQw==", "requires": { "@types/react": "^16.9.34", "@types/react-loadable": "^5.4.2", - "@vx/responsive": "^0.0.196", + "@vx/responsive": "^0.0.197", "prop-types": "^15.6.2", "react-error-boundary": "^1.2.5", "react-loadable": "^5.5.0", "reselect": "^4.0.0" }, "dependencies": { - "@types/react": { - "version": "16.9.34", - "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.34.tgz", - "integrity": "sha512-8AJlYMOfPe1KGLKyHpflCg5z46n0b5DbRfqDksxBLBTUpB75ypDBAO9eCUcjNwE6LCUslwTz00yyG/X9gaVtow==", - "requires": { - "@types/prop-types": "*", - "csstype": "^2.2.0" - } - }, "@vx/responsive": { - "version": "0.0.196", - "resolved": "https://registry.npmjs.org/@vx/responsive/-/responsive-0.0.196.tgz", - "integrity": "sha512-mwV0pf7YjdzQH5vqA81vtDLuPT9cKFDu2+vfyP8e4Xun0eWato7ut3j9dP0QLZ3k71CJWeZ4v2thzlcUWafAow==", + "version": "0.0.197", + "resolved": "https://registry.npmjs.org/@vx/responsive/-/responsive-0.0.197.tgz", + "integrity": "sha512-Qv15PJ/Hy79LjyfJ/9E8z+zacKAnD43O2Jg9wvB6PFSNs73xPEDy/mHTYxH+FZv94ruAE3scBO0330W29sQpyg==", "requires": { "@types/lodash": "^4.14.146", "@types/react": "*", @@ -6549,35 +6545,48 @@ } }, "@superset-ui/chart-composition": { - "version": "0.13.5", - "resolved": "https://registry.npmjs.org/@superset-ui/chart-composition/-/chart-composition-0.13.5.tgz", - "integrity": "sha512-hFesvQ1ShgKZ193Vt7EtMG2+msHIHmybLq+rJsZyLWOhrO1vpGukzvXA3cv6HYFa9suUSK1lgiH1aSiUvHssJA==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/chart-composition/-/chart-composition-0.13.27.tgz", + "integrity": "sha512-tF3cFmi6RMVEBwoPaTGYjoTSKPRKPsQThLfYzB7U1f9k/lTBNR/p6X4YMauLO+pwa1KYS3rkWDo9mSj81cFFwg==", "requires": { "@types/react": "^16.9.34", - "@vx/responsive": "^0.0.195", + "@vx/responsive": "^0.0.197", "csstype": "^2.6.4" }, "dependencies": { - "@types/react": { - "version": "16.9.34", - "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.34.tgz", - "integrity": "sha512-8AJlYMOfPe1KGLKyHpflCg5z46n0b5DbRfqDksxBLBTUpB75ypDBAO9eCUcjNwE6LCUslwTz00yyG/X9gaVtow==", + "@vx/responsive": { + "version": "0.0.197", + "resolved": "https://registry.npmjs.org/@vx/responsive/-/responsive-0.0.197.tgz", + "integrity": "sha512-Qv15PJ/Hy79LjyfJ/9E8z+zacKAnD43O2Jg9wvB6PFSNs73xPEDy/mHTYxH+FZv94ruAE3scBO0330W29sQpyg==", "requires": { - "@types/prop-types": "*", - "csstype": "^2.2.0" + "@types/lodash": "^4.14.146", + "@types/react": "*", + "lodash": "^4.17.10", + "prop-types": "^15.6.1", + "resize-observer-polyfill": "1.5.1" } } } }, "@superset-ui/color": { - "version": "0.13.3", - "resolved": "https://registry.npmjs.org/@superset-ui/color/-/color-0.13.3.tgz", - "integrity": "sha512-gtlcn1ZowhCCREkXqq2SsuwwTOdTmY6NeegUAhPqyIHpyZynxw8qoFIe8ieq9ymx5VQfkCiwvUuMOCKdc8tBRA==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/color/-/color-0.13.27.tgz", + "integrity": "sha512-NoA9WTL5hixM4SthGA3gvUNrT76Z5TTVQTsYrMrilCLBMcVjTRRs/SDJ0A9oEFjsZ46y0Mk4GYK1j7L+YlHWGQ==", "requires": { + "@types/d3-interpolate": "^1.3.1", "@types/d3-scale": "^2.1.1", + "d3-interpolate": "^1.4.0", "d3-scale": "^3.0.0" }, "dependencies": { + "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.1", "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-3.2.1.tgz", @@ -6593,9 +6602,9 @@ } }, "@superset-ui/connection": { - "version": "0.13.5", - "resolved": "https://registry.npmjs.org/@superset-ui/connection/-/connection-0.13.5.tgz", - "integrity": "sha512-v34kcH8ygV9r231zkRSzIQ2pD1EC2ICZJiq2wFJtuYzzgy5A2vpSTZPqiPxPtNYD8ic2uKEJbYkySah6isclAg==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/connection/-/connection-0.13.27.tgz", + "integrity": "sha512-DaSN2AjNMZQW3nmAgr9HBE9M2k5W2f4uPTAEPmOloQ3FRlwfLA1u29GdyMjOHpBqPREnCZmTe3Wh3nNE9mtgBA==", "requires": { "@babel/runtime": "^7.1.2", "fetch-retry": "^3.1.0", @@ -6603,9 +6612,9 @@ } }, "@superset-ui/control-utils": { - "version": "0.13.21", - "resolved": "https://registry.npmjs.org/@superset-ui/control-utils/-/control-utils-0.13.21.tgz", - "integrity": "sha512-KEDSkArY9/hTVW3wdmefbVxUdQNtOyjU3EJiJZ8zeGUZAn517MmEck9AWwKAL/UsOzccU5tq5HVwZ/eSSsmLqQ==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/control-utils/-/control-utils-0.13.27.tgz", + "integrity": "sha512-tM3fcFaHhpZ/6erh/I/PJhcgU/jZhLHJOwLoxvDJDNNabf/M9+2TbwOaK/91buiJadQrkBzAOOgGIjb02UrKLA==", "requires": { "@types/react-bootstrap": "0.32.21", "lodash": "^4.17.15", @@ -6613,23 +6622,23 @@ } }, "@superset-ui/core": { - "version": "0.13.5", - "resolved": "https://registry.npmjs.org/@superset-ui/core/-/core-0.13.5.tgz", - "integrity": "sha512-MHPILYftRLae0Nc7FDu3H497imlNuJWXDx1odN66/YDpOgY+Sr38sWbnahqI2VN3shNCoCioWjLllDpjowBXzQ==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/core/-/core-0.13.27.tgz", + "integrity": "sha512-coyQYO1oTj/4uIHPKETjbdHDdQdJ/uLo2z6AA0qyimr+oX2taXStUWy9040YjMo6S+s2gDxdvY6NMWA+ihW2Fw==", "requires": { "@types/lodash": "^4.14.149", "lodash": "^4.17.11" } }, "@superset-ui/dimension": { - "version": "0.13.3", - "resolved": "https://registry.npmjs.org/@superset-ui/dimension/-/dimension-0.13.3.tgz", - "integrity": "sha512-e4FuWPL8vFonhQBaUl9qHr8XrOa/NKIuYJ2rwVAhT10Do15C669EEDLSLD8kC3nER6rk79GCrIH4Obz11dTX8Q==" + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/dimension/-/dimension-0.13.27.tgz", + "integrity": "sha512-RuXzoMVel+UEN9WOG3IoAJxXVLO/KjIx/RzA15A0Z+U1TKXqiOMtxlI37o44QW/2p00q8hcEuwWnhPc49vHVtg==" }, "@superset-ui/legacy-plugin-chart-calendar": { - "version": "0.13.6", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-calendar/-/legacy-plugin-chart-calendar-0.13.6.tgz", - "integrity": "sha512-Ziv7fVdXNYATziITy1sXjMMg6e3NTJymUFdzkqYPVYl2CMszuXKS7LM7xTbwrcJ6og0eKhofyiGznR0TEvUMlg==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-calendar/-/legacy-plugin-chart-calendar-0.13.27.tgz", + "integrity": "sha512-vzMziI8NaRu0WT+0+Z+9PUDSSrEJk7smZErkBCwPQckU8KDmnjc8+rlblhR27M04kZJomLkxLWlJmsRwIQHCDQ==", "requires": { "d3-array": "^2.0.3", "d3-selection": "^1.4.0", @@ -6645,19 +6654,20 @@ } }, "@superset-ui/legacy-plugin-chart-chord": { - "version": "0.13.13", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-chord/-/legacy-plugin-chart-chord-0.13.13.tgz", - "integrity": "sha512-ve+8/g7gS4jCwj8JkmVQYut+UuO1ksqTCkqHzA29i8WFYyKqKKIkrBWwzrYCl0fo1fQ/VeXtyacJNo5pdDIIUw==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-chord/-/legacy-plugin-chart-chord-0.13.27.tgz", + "integrity": "sha512-9mjVdPvqvltTBQPG9vUinu7UATy5xzuuAlQuQWu/uy7C08e5cUwDQFR1mdWvNDs+BTaOeHfiJpPuiScRZMrvlg==", "requires": { "d3": "^3.5.17", "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-country-map": { - "version": "0.13.3", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-country-map/-/legacy-plugin-chart-country-map-0.13.3.tgz", - "integrity": "sha512-Tog9zOSjF+1bVD+lZADCgUisz1aOTy+p0LtivJzn8nqyLDUdEMWgsq5/RQ7mfsrro6NEUELvkilwqASPM/2Mvw==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-country-map/-/legacy-plugin-chart-country-map-0.13.27.tgz", + "integrity": "sha512-H9GO3iEugvRTxKkF0LzRmGLv4Vquhfp2bpbVzPIk1hvUWoQ39b6FpqoSREb2lq3RXeFPzqU623EgnauZ6wZetA==", "requires": { + "@superset-ui/control-utils": "0.13.27", "d3": "^3.5.17", "d3-array": "^2.0.3", "prop-types": "^15.6.2" @@ -6671,27 +6681,27 @@ } }, "@superset-ui/legacy-plugin-chart-event-flow": { - "version": "0.11.15", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-event-flow/-/legacy-plugin-chart-event-flow-0.11.15.tgz", - "integrity": "sha512-XMtTeKF0LS+rbKBYwqNYvRZWxkJ2WdZ6WSccgPLUZGUNoTJZM9Zb3f7VKluDrYkByc0jCso8SifyKMvfPUpu4A==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-event-flow/-/legacy-plugin-chart-event-flow-0.13.27.tgz", + "integrity": "sha512-C1KsYI8HcTbbpq+pSfa+AFrSvbIIvsuNEa6LBiJcvROnR2HQL76grjK51SE5zP46WCWc2kU+I3Lcl9+OUKW4yw==", "requires": { "@data-ui/event-flow": "^0.0.84", "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-force-directed": { - "version": "0.13.16", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-force-directed/-/legacy-plugin-chart-force-directed-0.13.16.tgz", - "integrity": "sha512-LBkxN9Sgzagq4mzYtZaI1PBOHxXWiQqyWhrXT8Jl6z84K8L/zEd0rdbtQz3UI7WioEYXx7OU7eK1zzJxoEoDXQ==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-force-directed/-/legacy-plugin-chart-force-directed-0.13.27.tgz", + "integrity": "sha512-pF7VHN3k9HLYyQTnaCH7yT2VyPNxnKeHMuNFkgSaPoMbFHTYdyVXQUKaydxHLm1yGsNp0kSr1MNr5TUlZ3qTQQ==", "requires": { "d3": "^3.5.17", "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-heatmap": { - "version": "0.13.16", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-heatmap/-/legacy-plugin-chart-heatmap-0.13.16.tgz", - "integrity": "sha512-5hPO33B/5qg9uK20fneWRE5uNWLS5n/rp19X/3osx38m4peIOtOEmM2LJizxgPKpi7dVxql++hSOFm+LaIb3zw==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-heatmap/-/legacy-plugin-chart-heatmap-0.13.27.tgz", + "integrity": "sha512-ZMJLx+D+9/Y/3z+AtA3U8EkeAiF7Yf5ggUYkbitd/KnJY+gw8r/lv7vVlVs50yvdXSO+HiCW38sG78mbud3/mw==", "requires": { "d3": "^3.5.17", "d3-svg-legend": "^1.x", @@ -6700,14 +6710,14 @@ } }, "@superset-ui/legacy-plugin-chart-histogram": { - "version": "0.13.16", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-histogram/-/legacy-plugin-chart-histogram-0.13.16.tgz", - "integrity": "sha512-x2up2/wDU0F8wuXKxwfhk1vmyD/xiIaHo5STRxWf+O3os9Brcky/IhbtncxI/JaPfAkS+ObcOD4MdTuOsadcqg==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-histogram/-/legacy-plugin-chart-histogram-0.13.27.tgz", + "integrity": "sha512-fFvC2OB3qnQcc3IAYqhQupqnKzpyFZgdpQtZLcRm6shVa33PVHDPJpan3JFzNvgyUKkrO8ApjWPLqmqQ1JKn6w==", "requires": { "@data-ui/histogram": "^0.0.84", "@data-ui/theme": "^0.0.84", "@vx/legend": "^0.0.196", - "@vx/responsive": "^0.0.196", + "@vx/responsive": "^0.0.197", "@vx/scale": "^0.0.196", "prop-types": "^15.6.2" }, @@ -6737,9 +6747,9 @@ } }, "@vx/responsive": { - "version": "0.0.196", - "resolved": "https://registry.npmjs.org/@vx/responsive/-/responsive-0.0.196.tgz", - "integrity": "sha512-mwV0pf7YjdzQH5vqA81vtDLuPT9cKFDu2+vfyP8e4Xun0eWato7ut3j9dP0QLZ3k71CJWeZ4v2thzlcUWafAow==", + "version": "0.0.197", + "resolved": "https://registry.npmjs.org/@vx/responsive/-/responsive-0.0.197.tgz", + "integrity": "sha512-Qv15PJ/Hy79LjyfJ/9E8z+zacKAnD43O2Jg9wvB6PFSNs73xPEDy/mHTYxH+FZv94ruAE3scBO0330W29sQpyg==", "requires": { "@types/lodash": "^4.14.146", "@types/react": "*", @@ -6773,9 +6783,9 @@ } }, "@superset-ui/legacy-plugin-chart-horizon": { - "version": "0.13.16", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-horizon/-/legacy-plugin-chart-horizon-0.13.16.tgz", - "integrity": "sha512-XTZjvY02jLIloifBC8xdkUR35wAdPvGlSVvQrH6fJ6kX6xcss71PmV2/B6ler2FLSME/ZnihqYxbBbhYQwSE5Q==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-horizon/-/legacy-plugin-chart-horizon-0.13.27.tgz", + "integrity": "sha512-pbCa3guA9M/Jp7sTM50plKfupQVjhtoaYDPU5CEdelOGgykKeBDRGm/0G+KCCd+hzBU68/hRFk2NzeCIBkHB8A==", "requires": { "d3-array": "^2.0.3", "d3-scale": "^3.0.1", @@ -6802,9 +6812,9 @@ } }, "@superset-ui/legacy-plugin-chart-iframe": { - "version": "0.13.16", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-iframe/-/legacy-plugin-chart-iframe-0.13.16.tgz", - "integrity": "sha512-9a1YNql6yAYLfP5DARbZxi6zGOKCWxEleQPumJuSD167p5eVmJvm8Avvy1lscKngGydFFJ4uIRmNyPAmlKhbnA==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-iframe/-/legacy-plugin-chart-iframe-0.13.27.tgz", + "integrity": "sha512-qHRb6GJStFBihpX7yE5rd8fxuTkkz1ppqWTdV74N4qwsxepZEMAVSVWnidu8AO/Wg2GB5u7TtLDh5eVJ0dVpFQ==", "requires": { "mustache": "^4.0.0", "prop-types": "^15.6.2" @@ -6818,9 +6828,9 @@ } }, "@superset-ui/legacy-plugin-chart-map-box": { - "version": "0.13.16", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-map-box/-/legacy-plugin-chart-map-box-0.13.16.tgz", - "integrity": "sha512-14B+vd883Ne0feNFXNcGOyluPUjAl7MEqswYfOPZTpAQYh1neyiDnFhUUssYaYH8h9/pNK7s33c38TfZjxFUiA==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-map-box/-/legacy-plugin-chart-map-box-0.13.27.tgz", + "integrity": "sha512-rMhhLm1+iuLWavE50/QJquFYWI4UQaaV/S4qKkaMgZmkgDCgDZaJYB9lVfVLNvTJlUt4m7+RsKKAe8GdHbZLww==", "requires": { "immutable": "^3.8.2", "mapbox-gl": "^0.53.0", @@ -6831,17 +6841,17 @@ } }, "@superset-ui/legacy-plugin-chart-markup": { - "version": "0.13.12", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-markup/-/legacy-plugin-chart-markup-0.13.12.tgz", - "integrity": "sha512-WROR27CuofVsmqACQSNq/m5kTqVJnGg0TVeK6vMgFOdaud+OPdOoN2scQM0FqsC1/pN+whDqy4TJwK3XeuOr2g==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-markup/-/legacy-plugin-chart-markup-0.13.27.tgz", + "integrity": "sha512-HaLBK9MTB8vrM2dImW8T7UapTJO8OGyccop30GCLmPG8LcY+DVrGdWUUDzZbkGZl1hF4OMIOBIuAh8JEiIv3YA==", "requires": { "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-paired-t-test": { - "version": "0.13.21", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-paired-t-test/-/legacy-plugin-chart-paired-t-test-0.13.21.tgz", - "integrity": "sha512-j1trQdA1/QGCttTqsG93tFwrK01EMX4hJtwkzYPvuNGV80Q/iK3TDSy82mB6Mt9SzKHakm4jq+KUWKlpkez5pg==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-paired-t-test/-/legacy-plugin-chart-paired-t-test-0.13.27.tgz", + "integrity": "sha512-E2uN6liJ14X4eH2Xq+WY585gvdlbkJ9Hc9PayaTNU7A5UxNNDfz6vwBzVUCaqwU0ZNReAESl4D5T1EX+abtTmQ==", "requires": { "distributions": "^1.0.0", "prop-types": "^15.6.2", @@ -6856,18 +6866,18 @@ } }, "@superset-ui/legacy-plugin-chart-parallel-coordinates": { - "version": "0.13.20", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-parallel-coordinates/-/legacy-plugin-chart-parallel-coordinates-0.13.20.tgz", - "integrity": "sha512-qdkRVfav6zv2J59OjTuZZooXqJDD1yybiwFTbzGgLDAqeu63gtKSaIeJVmiLRHpu5Qg6n0Vd3eb6T4Z+XDVYcw==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-parallel-coordinates/-/legacy-plugin-chart-parallel-coordinates-0.13.27.tgz", + "integrity": "sha512-/8By4X/OWr+AT3DlUoaNgt1dwl1jQj6GQd/b2uHY9eCoMS8YUkfkCDAvX8o0FEkg0ILo0qEfIVClUEMCR6gMpg==", "requires": { "d3": "^3.5.17", "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-partition": { - "version": "0.13.11", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-partition/-/legacy-plugin-chart-partition-0.13.11.tgz", - "integrity": "sha512-z49rqBLWQ7GRf1MCz3QdYz+8HRmK8UJo1kHRKBnqah4NQB4jemgWnOznNHuPXxOCIct1ZejvUmaf5EAg/24dMQ==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-partition/-/legacy-plugin-chart-partition-0.13.27.tgz", + "integrity": "sha512-2AStImK22T351iNj6/2X9DplVTT+FHFxvtZqRoWPIVD2caG2mK8OBaK7IEC0s2PKfDJRU/aP8lsnf33ZPCfgqA==", "requires": { "d3": "^3.5.17", "d3-hierarchy": "^1.1.8", @@ -6875,9 +6885,9 @@ } }, "@superset-ui/legacy-plugin-chart-pivot-table": { - "version": "0.13.10", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-pivot-table/-/legacy-plugin-chart-pivot-table-0.13.10.tgz", - "integrity": "sha512-0cN1QZibOnD/xO+3jbJgkxhAGWsjttDhAUPJ6SwNE0sHSHqFBD+TaftBWHSwGQ3cLtCRT1aZKcXi67hW4dq+xA==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-pivot-table/-/legacy-plugin-chart-pivot-table-0.13.27.tgz", + "integrity": "sha512-aP2AnEFMTx4qYexW49HKg4lNSDdSuYdpQ2gGUa3RiDw6fzX416q+erKeY5dwwSeN66+tpfuJdt486e1cB9LacA==", "requires": { "d3": "^3.5.17", "datatables.net-bs": "^1.10.15", @@ -6885,9 +6895,9 @@ } }, "@superset-ui/legacy-plugin-chart-rose": { - "version": "0.13.10", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-rose/-/legacy-plugin-chart-rose-0.13.10.tgz", - "integrity": "sha512-Yb6Wjm/sUVP3yIu/3mjB6NyplvaBLvaXSuU96AsM5optiyjiTW0MPhH9XJWmaAE6SakdzfyqxBZN0YtG6ohb6g==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-rose/-/legacy-plugin-chart-rose-0.13.27.tgz", + "integrity": "sha512-la5pG/zGMfvsbZgERcdopfni1gmm74eWwaUwWvKkE8u2H5/GLAZxaAOlkpX98nyu04kPvHa0scJWswPM1U8w4Q==", "requires": { "d3": "^3.5.17", "nvd3": "1.8.6", @@ -6895,28 +6905,38 @@ } }, "@superset-ui/legacy-plugin-chart-sankey": { - "version": "0.13.10", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sankey/-/legacy-plugin-chart-sankey-0.13.10.tgz", - "integrity": "sha512-SF58t2Cx3H/xYp0PPKsHaIa1HOVNAlINmVmrQ9umKQM1URDVDRfbyPY/wW6P/8KqNPFle88uYNdzMJaj1fePcA==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sankey/-/legacy-plugin-chart-sankey-0.13.27.tgz", + "integrity": "sha512-G9yqK1hkwe4N4jSv0B3ZuPguJ/OpPOCzEkFouFvu8W1R8scJFmNL4zNToGbZTY7ih3bFi6m9VJN5GkVQL0Xqig==", "requires": { "d3": "^3.5.17", "d3-sankey": "^0.4.2", "prop-types": "^15.6.2" } }, + "@superset-ui/legacy-plugin-chart-sankey-loop": { + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sankey-loop/-/legacy-plugin-chart-sankey-loop-0.13.27.tgz", + "integrity": "sha512-evPkkLOYGj+wF8pF7ghvB/w3inE2hzFXFFZZhQ0czJqJ4U43MunBo4hzllVbEewAtjlmpJUl8WOWxAYLPjktkw==", + "requires": { + "d3-sankey-diagram": "^0.7.3", + "d3-selection": "^1.4.0", + "prop-types": "^15.6.2" + } + }, "@superset-ui/legacy-plugin-chart-sunburst": { - "version": "0.13.7", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sunburst/-/legacy-plugin-chart-sunburst-0.13.7.tgz", - "integrity": "sha512-y3DTFS2V5JVSHalpGaNeEFr3EcBNJO+zsQYWWv1ctgOPul7nQT6OafaNmThuNY+3uQxhXRzjNF/Nwo9Kkh2y0g==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-sunburst/-/legacy-plugin-chart-sunburst-0.13.27.tgz", + "integrity": "sha512-Z0DJNlNcRT6boqLFu2zqVA6s5Gmaw2hmevqqJHvHa2VdbaDqp/M0GBOG0M6J+o7IDyKV64+UJ/5ycy+TxLd0uw==", "requires": { "d3": "^3.5.17", "prop-types": "^15.6.2" } }, "@superset-ui/legacy-plugin-chart-table": { - "version": "0.13.21", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-table/-/legacy-plugin-chart-table-0.13.21.tgz", - "integrity": "sha512-D18Y5dUNJIJ2MTYfCd4vBWQfG++8JDnf/X2pzhpAzN7tshAWYRx6DV4kUAry8eZfRAvOVjAj2Fc4YiLVkdHRIw==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-table/-/legacy-plugin-chart-table-0.13.27.tgz", + "integrity": "sha512-TzLcMcTD3cNUgF0uDFzykj19c2hJbY10xQP5J6elNVXK4mlJ51VAxTE6f3wmsen6pgQTS5VVeTYzgl1WDIA4QA==", "requires": { "@types/datatables.net": "^1.10.18", "@types/react-dom": "^16.9.6", @@ -6925,9 +6945,9 @@ } }, "@superset-ui/legacy-plugin-chart-treemap": { - "version": "0.13.10", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-treemap/-/legacy-plugin-chart-treemap-0.13.10.tgz", - "integrity": "sha512-eqzuUJQvmSO6gi0pBbhop2yoEveEIv8oBXMvl4o+urTffitpQ6+c8qOgpAwdbWqVGNScnMtH042yVshTxREUMw==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-treemap/-/legacy-plugin-chart-treemap-0.13.27.tgz", + "integrity": "sha512-hy8Q+Y/RYgwp2xchsZoAxvRXCNVWXxjKSg7iAD5OR8ZR7fWu4Yc0+Q1+u/OKXWniGtNNRmcsCwcdkBpoAavvRg==", "requires": { "d3-hierarchy": "^1.1.8", "d3-selection": "^1.4.0", @@ -6935,9 +6955,9 @@ } }, "@superset-ui/legacy-plugin-chart-world-map": { - "version": "0.13.10", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-world-map/-/legacy-plugin-chart-world-map-0.13.10.tgz", - "integrity": "sha512-xidQbvRnKP6vRFlZuIJ0OilAh9xZPTWz7WkyMDSjoMY4S+xsR+uARMOkRlRUuek5fGegjT5tg42mR37Vw6kKbg==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-world-map/-/legacy-plugin-chart-world-map-0.13.27.tgz", + "integrity": "sha512-JuqgdGWJR0JKH37qkECNTetFBPelj7agUKuAGnisJOBZAD13y8J0z4B1rZzZW3uVPPYR+UGZInbIHGLLIYbQuA==", "requires": { "d3": "^3.5.17", "datamaps": "^0.5.8", @@ -6945,9 +6965,9 @@ } }, "@superset-ui/legacy-preset-chart-big-number": { - "version": "0.13.14", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-big-number/-/legacy-preset-chart-big-number-0.13.14.tgz", - "integrity": "sha512-PloL92DSlbyV5larQx7PMg5JKGngDLW/wTq3C74+1XPQcV6oA0JY/fauRWeA7BVPc3J1QXKuBqmwGOk/Wk7ETA==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-big-number/-/legacy-preset-chart-big-number-0.13.27.tgz", + "integrity": "sha512-Gfn23xPijleHpvrBkb7kKwjoSIrqQ7hCEesaJlBX4ww2/upwoN11bkJid8N0A6VcgYeY0N0/+n0bb8+iG4vKiw==", "requires": { "@data-ui/xy-chart": "^0.0.84", "@types/d3-color": "^1.2.2", @@ -6982,9 +7002,9 @@ } }, "@superset-ui/legacy-preset-chart-nvd3": { - "version": "0.13.23", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-nvd3/-/legacy-preset-chart-nvd3-0.13.23.tgz", - "integrity": "sha512-9PmlnPsQ5PQx6rdOoiznCc5ByNu9I1QJ16ONNAWLP/+nHMk0xNJX97gZR3YrECkFB8ir7MQV0xTFljjZpoprew==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-preset-chart-nvd3/-/legacy-preset-chart-nvd3-0.13.27.tgz", + "integrity": "sha512-qHDnxwhoWfMp1NjcVHw5jrZKIFoW589UR36uR8b9HL+tkDv872AzE+V69w+3Y585yA1aOMJjHFumB6x3RNem6w==", "requires": { "@data-ui/xy-chart": "^0.0.84", "d3": "^3.5.17", @@ -7000,9 +7020,9 @@ } }, "@superset-ui/number-format": { - "version": "0.13.3", - "resolved": "https://registry.npmjs.org/@superset-ui/number-format/-/number-format-0.13.3.tgz", - "integrity": "sha512-sfY6qqL9P40jLsO6wS7PEbb+8aK5oirKjQZa1aFfqRdJnMyBDYrPA4CRV4rR3CqXd/7s6ny+qTNj3aFicQkT1Q==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/number-format/-/number-format-0.13.27.tgz", + "integrity": "sha512-9tddw8sZZkas9C3hWl5hvv3ZG2EAfDh8lmR0yh1YpTc5s6ME+JaJ3hvTyRw8O20i17khtx/VMQdoM8cjhiZIxg==", "requires": { "@types/d3-format": "^1.3.0", "d3-format": "^1.3.2", @@ -7010,9 +7030,9 @@ } }, "@superset-ui/plugin-chart-word-cloud": { - "version": "0.13.24", - "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-word-cloud/-/plugin-chart-word-cloud-0.13.24.tgz", - "integrity": "sha512-EzOFoWMg+fDep/r6rBYMXuHmbceYf5pGQKhZQaY/flUR6F3iVS4NUb9+K9zowK4A9HWcLMN3oAHxFJP32p1Jjg==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-word-cloud/-/plugin-chart-word-cloud-0.13.27.tgz", + "integrity": "sha512-ESc41HtY2Ob+Mm3u2+CXKimugUY//C6pITCdMzha2gQcURIweVppmReqjDE63wMkOJOqD0LBYBzcMwDC77jHbQ==", "requires": { "@types/d3-cloud": "^1.2.1", "@types/d3-scale": "^2.0.2", @@ -7020,7 +7040,7 @@ "d3-cloud": "^1.2.5", "d3-scale": "^3.0.1", "emotion-theming": "^10.0.27", - "encodable": "^0.3.3" + "encodable": "^0.3.7" }, "dependencies": { "d3-scale": { @@ -7034,13 +7054,45 @@ "d3-time": "1", "d3-time-format": "2" } + }, + "encodable": { + "version": "0.3.7", + "resolved": "https://registry.npmjs.org/encodable/-/encodable-0.3.7.tgz", + "integrity": "sha512-aFbrhAsxPUN+OMZ28+N2tOqaeIFs4I1t/Li9+WmQwPFONrsu7InwMehLR3XTOQjmo+ucCBcSV9ABjQqMawgKNw==", + "requires": { + "@types/d3-array": "^2.0.0", + "@types/d3-interpolate": "^1.3.1", + "@types/d3-scale": "^2.1.1", + "@types/d3-time": "^1.0.10", + "@types/lodash": "^4.14.149", + "d3-array": "^2.3.1", + "d3-interpolate": "^1.3.2", + "d3-scale": "^3.0.1", + "d3-time": "^1.0.11", + "lodash": "^4.17.15", + "reselect": "^4.0.0", + "vega": "^5.9.1", + "vega-lite": "~4.1.0" + }, + "dependencies": { + "d3-array": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.4.0.tgz", + "integrity": "sha512-KQ41bAF2BMakf/HdKT865ALd4cgND6VcIztVQZUTt0+BH3RWy6ZYnHghVXf6NFjt2ritLr8H1T8LreAAlfiNcw==" + }, + "d3-time": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz", + "integrity": "sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA==" + } + } } } }, "@superset-ui/preset-chart-xy": { - "version": "0.13.11", - "resolved": "https://registry.npmjs.org/@superset-ui/preset-chart-xy/-/preset-chart-xy-0.13.11.tgz", - "integrity": "sha512-VgRb1DRWhRFg67Y5I6y3oo/I2+QtzR8hAC0m2ZWqOLiMsoItDUr4jwTnxpiHywg3eYBviU4q5FpI5j1kCutu8w==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/preset-chart-xy/-/preset-chart-xy-0.13.27.tgz", + "integrity": "sha512-kUskKXYR5T7aSLnX1VaY1JJFc2IZKLs/cJBrKhKsTVXJv5Z2nckTSc1v8X23gwG1cFEB+4iB4/MEa5BLmGK+Qw==", "requires": { "@data-ui/theme": "^0.0.84", "@data-ui/xy-chart": "^0.0.84", @@ -7144,18 +7196,6 @@ "lodash": "^4.17.15", "prop-types": "^15.7.2", "reduce-css-calc": "^1.3.0" - }, - "dependencies": { - "prop-types": { - "version": "15.7.2", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz", - "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==", - "requires": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.8.1" - } - } } }, "d3-scale": { @@ -7170,32 +7210,82 @@ "d3-time": "1", "d3-time-format": "2" } - }, - "react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" } } }, "@superset-ui/query": { - "version": "0.13.21", - "resolved": "https://registry.npmjs.org/@superset-ui/query/-/query-0.13.21.tgz", - "integrity": "sha512-cD4o7ChFBS/9k2joYKdxqXBIyV2ZlrFVAmitNk1U4tAUE1zaipofNhZ2imV1Q3H8p8c3Fgk8QiqYOSbpyXiuQQ==" + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/query/-/query-0.13.27.tgz", + "integrity": "sha512-TTQEv9KsTl8U3XMWhZET7xNOaaDOstS7+ZklbdGyQ27sxLNSA5+/Kzo9MU44BGJNS1rbEEzV3SC0AnFPmGOdPw==" }, "@superset-ui/style": { - "version": "0.13.11", - "resolved": "https://registry.npmjs.org/@superset-ui/style/-/style-0.13.11.tgz", - "integrity": "sha512-Zwj5UrL1CCJ1mVZDHGw89G0ghaZWXHHjqRPrJp9IuNFLOVrKi8LfA6Y9perXQq9B0gnPYLG3NRjfgXQj03Q4kw==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/style/-/style-0.13.27.tgz", + "integrity": "sha512-OzTayt9SJnwv8SZ/gfsxz1OTReaXdHo5AUgoBu1myYKqgUgdUBiCglv0WJwYpClQDzTLgDWI3oO8uWqnA+r7oQ==", "requires": { "@emotion/core": "^10.0.28", - "@emotion/styled": "^10.0.27" + "@emotion/styled": "^10.0.27", + "emotion-theming": "^10.0.27" + } + }, + "@superset-ui/superset-ui": { + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/superset-ui/-/superset-ui-0.13.27.tgz", + "integrity": "sha512-Fop1FYGGK6KW0zGS0Q4b3uaUXngT9PYJO6oGrr1HKp/6Bd3HbOafioA73imHBTOj7GYpNwECISzaunxpKeSplQ==", + "requires": { + "@superset-ui/chart": "0.13.27", + "@superset-ui/chart-composition": "0.13.27", + "@superset-ui/color": "0.13.27", + "@superset-ui/connection": "0.13.27", + "@superset-ui/control-utils": "0.13.27", + "@superset-ui/core": "0.13.27", + "@superset-ui/dimension": "0.13.27", + "@superset-ui/number-format": "0.13.27", + "@superset-ui/query": "0.13.27", + "@superset-ui/style": "0.13.27", + "@superset-ui/time-format": "0.13.27", + "@superset-ui/translation": "0.13.27", + "@superset-ui/validator": "0.13.27" + }, + "dependencies": { + "@superset-ui/time-format": { + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/time-format/-/time-format-0.13.27.tgz", + "integrity": "sha512-3TSg0CO45Y4mkcqZjddGUqyNzUKpD3jcxtJLrnICk2BmuL9VPdQf2DIGqfjv+CGJ3c3ajAWePvKkv9ghn+QlIA==", + "requires": { + "@types/d3-time": "^1.0.9", + "@types/d3-time-format": "^2.1.0", + "d3-time": "^1.0.10", + "d3-time-format": "^2.2.0" + } + }, + "@superset-ui/translation": { + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/translation/-/translation-0.13.27.tgz", + "integrity": "sha512-pHAG2P9oE2VnuvIGoxjLdRkES260oSjDzBhOpBMhbzzeQdcTykVa8MsAPJ8gSYX6MbhOY9ep0J0jND3pO0UVcw==", + "requires": { + "jed": "^1.1.1" + } + }, + "@superset-ui/validator": { + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/validator/-/validator-0.13.27.tgz", + "integrity": "sha512-W5NzVRfwM2c/MxQv92BOzeJbgIJRDdVowLg1bOZvWOCBk+IjDRx2BsdbDawQAoRAplRPJjSG5NKbEU3k/730qA==" + }, + "d3-time-format": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.2.3.tgz", + "integrity": "sha512-RAHNnD8+XvC4Zc4d2A56Uw0yJoM7bsvOlJR33bclxq399Rak/b9bhvu/InjxdWhPtkgU53JJcleJTGkNRnN6IA==", + "requires": { + "d3-time": "1" + } + } } }, "@superset-ui/time-format": { - "version": "0.13.15", - "resolved": "https://registry.npmjs.org/@superset-ui/time-format/-/time-format-0.13.15.tgz", - "integrity": "sha512-7x/021NYgLNxUq1T+PZn1v8bpNEbNG4sUQRbBfui2debGT3/XHtFJ+Kgghym7Gf/9dOu4+Ie6lc9KWMiH4ftJA==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/time-format/-/time-format-0.13.27.tgz", + "integrity": "sha512-3TSg0CO45Y4mkcqZjddGUqyNzUKpD3jcxtJLrnICk2BmuL9VPdQf2DIGqfjv+CGJ3c3ajAWePvKkv9ghn+QlIA==", "requires": { "@types/d3-time": "^1.0.9", "@types/d3-time-format": "^2.1.0", @@ -7214,17 +7304,17 @@ } }, "@superset-ui/translation": { - "version": "0.13.3", - "resolved": "https://registry.npmjs.org/@superset-ui/translation/-/translation-0.13.3.tgz", - "integrity": "sha512-1FTyQC/9fu3l5dXOSfTKwvGTqaVXLG2JNuuAPyXWIWTQ3g2Z+Zgr165jGnJJW6XXx1DIC2CYhekCAMQ3/scKNA==", + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/translation/-/translation-0.13.27.tgz", + "integrity": "sha512-pHAG2P9oE2VnuvIGoxjLdRkES260oSjDzBhOpBMhbzzeQdcTykVa8MsAPJ8gSYX6MbhOY9ep0J0jND3pO0UVcw==", "requires": { "jed": "^1.1.1" } }, "@superset-ui/validator": { - "version": "0.13.3", - "resolved": "https://registry.npmjs.org/@superset-ui/validator/-/validator-0.13.3.tgz", - "integrity": "sha512-8zbqn5TJHxhqGSmD9gQ4U8oqQhe5SsshBFOqTMcHzI6nXLjmKxmjZrF9zLKv0Ln/McmCJyeWpbQGMUsRJypi+g==" + "version": "0.13.27", + "resolved": "https://registry.npmjs.org/@superset-ui/validator/-/validator-0.13.27.tgz", + "integrity": "sha512-W5NzVRfwM2c/MxQv92BOzeJbgIJRDdVowLg1bOZvWOCBk+IjDRx2BsdbDawQAoRAplRPJjSG5NKbEU3k/730qA==" }, "@types/anymatch": { "version": "1.3.1", @@ -12508,6 +12598,21 @@ "d3-interpolate": "1" } }, + "d3-sankey-diagram": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/d3-sankey-diagram/-/d3-sankey-diagram-0.7.3.tgz", + "integrity": "sha512-k9DOe7MaLWhWV6J/aqY/CGw88Briu8drTQ+uGGyQg55MIR2WXjKUXryLs0ONFmRQkOSH1F+TSz5XiMc4KwKtuA==", + "requires": { + "d3-array": "^1.0.2", + "d3-collection": "^1.0.2", + "d3-dispatch": "^1.0.3", + "d3-format": "^1.1.1", + "d3-interpolate": "^1.1.3", + "d3-selection": "^1.0.3", + "d3-transition": "^1.0.4", + "graphlib": "~2.1.0" + } + }, "d3-scale": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-2.1.2.tgz", @@ -13235,9 +13340,9 @@ } }, "encodable": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/encodable/-/encodable-0.3.5.tgz", - "integrity": "sha512-ofpVxFEYwFjgk94syrbdTc4nn6nxOO8rvJTieFz/Ko7V5oJMDpYwJYO87eL5xbc84XqD07vUJp50Zi54y+WAhw==", + "version": "0.3.7", + "resolved": "https://registry.npmjs.org/encodable/-/encodable-0.3.7.tgz", + "integrity": "sha512-aFbrhAsxPUN+OMZ28+N2tOqaeIFs4I1t/Li9+WmQwPFONrsu7InwMehLR3XTOQjmo+ucCBcSV9ABjQqMawgKNw==", "requires": { "@types/d3-array": "^2.0.0", "@types/d3-interpolate": "^1.3.1", @@ -15896,6 +16001,14 @@ "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==", "dev": true }, + "graphlib": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/graphlib/-/graphlib-2.1.8.tgz", + "integrity": "sha512-jcLLfkpoVGmH7/InMC/1hIvOPSUh38oJtGhvrOFGzioE1DZ+0YW16RgmOJhHiuWTvGiJQ9Z1Ik43JvkRPRvE+A==", + "requires": { + "lodash": "^4.17.15" + } + }, "grid-index": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/grid-index/-/grid-index-1.1.0.tgz", @@ -25135,13 +25248,13 @@ } }, "react-split-pane": { - "version": "0.1.89", - "resolved": "https://registry.npmjs.org/react-split-pane/-/react-split-pane-0.1.89.tgz", - "integrity": "sha512-bGEiOevi6nBE1evEJOsZjd5A7plLboFAU4+HGASWWVm94XUg7QdsuPInGOB+5Ym4RtY3TZCpmUvLe6qQmrZUOg==", + "version": "0.1.91", + "resolved": "https://registry.npmjs.org/react-split-pane/-/react-split-pane-0.1.91.tgz", + "integrity": "sha512-8U56HOKQGFlvXXT1PaHbijjYy2W8g0iQaHC99Q2aV4yYfvUURcRGyfPKN3scGkbYN2pvy3qyoEwHyewUmR1VbQ==", "requires": { - "prop-types": "^15.5.10", + "prop-types": "^15.7.2", "react-lifecycles-compat": "^3.0.4", - "react-style-proptype": "^3.0.0" + "react-style-proptype": "^3.2.2" } }, "react-sticky": { @@ -27149,9 +27262,9 @@ }, "dependencies": { "escodegen": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.1.tgz", - "integrity": "sha512-Bmt7NcRySdIfNPfU2ZoXDrrXsG9ZjvDxcAlMfDUgRBjLOWTuIACXPBFJH7Z+cLb40JeQco5toikyc9t9P8E9SQ==", + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.2.tgz", + "integrity": "sha512-InuOIiKk8wwuOFg6x9BQXbzjrQhtyXh46K9bqVTPzSo2FnyMBaYGBMC6PhQy7yxxil9vIedFBweQBMK74/7o8A==", "requires": { "esprima": "^4.0.1", "estraverse": "^4.2.0", diff --git a/superset-frontend/package.json b/superset-frontend/package.json index d1c941b..14d3e9a 100644 --- a/superset-frontend/package.json +++ b/superset-frontend/package.json @@ -59,45 +59,47 @@ "@babel/runtime-corejs3": "^7.8.4", "@data-ui/sparkline": "^0.0.54", "@emotion/core": "^10.0.28", - "@superset-ui/chart": "^0.13.7", - "@superset-ui/chart-composition": "^0.13.5", - "@superset-ui/color": "^0.13.3", - "@superset-ui/connection": "^0.13.5", - "@superset-ui/control-utils": "^0.13.21", - "@superset-ui/core": "^0.13.5", - "@superset-ui/dimension": "^0.13.3", - "@superset-ui/legacy-plugin-chart-calendar": "^0.13.6", - "@superset-ui/legacy-plugin-chart-chord": "^0.13.13", - "@superset-ui/legacy-plugin-chart-country-map": "^0.13.3", - "@superset-ui/legacy-plugin-chart-event-flow": "^0.11.15", - "@superset-ui/legacy-plugin-chart-force-directed": "^0.13.16", - "@superset-ui/legacy-plugin-chart-heatmap": "^0.13.16", - "@superset-ui/legacy-plugin-chart-histogram": "^0.13.16", - "@superset-ui/legacy-plugin-chart-horizon": "^0.13.16", - "@superset-ui/legacy-plugin-chart-iframe": "^0.13.16", - "@superset-ui/legacy-plugin-chart-map-box": "^0.13.16", - "@superset-ui/legacy-plugin-chart-markup": "^0.13.12", - "@superset-ui/legacy-plugin-chart-paired-t-test": "^0.13.21", - "@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.13.20", - "@superset-ui/legacy-plugin-chart-partition": "^0.13.11", - "@superset-ui/legacy-plugin-chart-pivot-table": "^0.13.10", - "@superset-ui/legacy-plugin-chart-rose": "^0.13.10", - "@superset-ui/legacy-plugin-chart-sankey": "^0.13.10", - "@superset-ui/legacy-plugin-chart-sunburst": "^0.13.7", - "@superset-ui/legacy-plugin-chart-table": "^0.13.21", - "@superset-ui/legacy-plugin-chart-treemap": "^0.13.10", - "@superset-ui/legacy-plugin-chart-world-map": "^0.13.10", - "@superset-ui/legacy-preset-chart-big-number": "^0.13.14", + "@superset-ui/chart": "^0.13.27", + "@superset-ui/chart-composition": "^0.13.27", + "@superset-ui/color": "^0.13.27", + "@superset-ui/connection": "^0.13.27", + "@superset-ui/control-utils": "^0.13.27", + "@superset-ui/core": "^0.13.27", + "@superset-ui/dimension": "^0.13.27", + "@superset-ui/legacy-plugin-chart-calendar": "^0.13.27", + "@superset-ui/legacy-plugin-chart-chord": "^0.13.27", + "@superset-ui/legacy-plugin-chart-country-map": "^0.13.27", + "@superset-ui/legacy-plugin-chart-event-flow": "^0.13.27", + "@superset-ui/legacy-plugin-chart-force-directed": "^0.13.27", + "@superset-ui/legacy-plugin-chart-heatmap": "^0.13.27", + "@superset-ui/legacy-plugin-chart-histogram": "^0.13.27", + "@superset-ui/legacy-plugin-chart-horizon": "^0.13.27", + "@superset-ui/legacy-plugin-chart-iframe": "^0.13.27", + "@superset-ui/legacy-plugin-chart-map-box": "^0.13.27", + "@superset-ui/legacy-plugin-chart-markup": "^0.13.27", + "@superset-ui/legacy-plugin-chart-paired-t-test": "^0.13.27", + "@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.13.27", + "@superset-ui/legacy-plugin-chart-partition": "^0.13.27", + "@superset-ui/legacy-plugin-chart-pivot-table": "^0.13.27", + "@superset-ui/legacy-plugin-chart-rose": "^0.13.27", + "@superset-ui/legacy-plugin-chart-sankey": "^0.13.27", + "@superset-ui/legacy-plugin-chart-sankey-loop": "^0.13.27", + "@superset-ui/legacy-plugin-chart-sunburst": "^0.13.27", + "@superset-ui/legacy-plugin-chart-table": "^0.13.27", + "@superset-ui/legacy-plugin-chart-treemap": "^0.13.27", + "@superset-ui/legacy-plugin-chart-world-map": "^0.13.27", + "@superset-ui/legacy-preset-chart-big-number": "^0.13.27", "@superset-ui/legacy-preset-chart-deckgl": "^0.2.3", - "@superset-ui/legacy-preset-chart-nvd3": "^0.13.23", - "@superset-ui/number-format": "^0.13.3", - "@superset-ui/plugin-chart-word-cloud": "^0.13.24", - "@superset-ui/preset-chart-xy": "^0.13.11", - "@superset-ui/query": "^0.13.21", - "@superset-ui/style": "^0.13.11", - "@superset-ui/time-format": "^0.13.15", - "@superset-ui/translation": "^0.13.3", - "@superset-ui/validator": "^0.13.3", + "@superset-ui/legacy-preset-chart-nvd3": "^0.13.27", + "@superset-ui/number-format": "^0.13.27", + "@superset-ui/plugin-chart-word-cloud": "^0.13.27", + "@superset-ui/preset-chart-xy": "^0.13.27", + "@superset-ui/query": "^0.13.27", + "@superset-ui/style": "^0.13.27", + "@superset-ui/superset-ui": "^0.13.27", + "@superset-ui/time-format": "^0.13.27", + "@superset-ui/translation": "^0.13.27", + "@superset-ui/validator": "^0.13.27", "@types/classnames": "^2.2.9", "@types/react-bootstrap": "^0.32.21", "@types/react-json-tree": "^0.6.11", diff --git a/superset-frontend/src/chart/chartAction.js b/superset-frontend/src/chart/chartAction.js index 0c3c0ca..7ea14ae 100644 --- a/superset-frontend/src/chart/chartAction.js +++ b/superset-frontend/src/chart/chartAction.js @@ -149,10 +149,12 @@ const v1ChartDataRequest = async ( force, requestParams, ) => { - const payload = buildV1ChartDataPayload({ formData, force }); - // TODO: remove once these are added to superset-ui/query - payload.result_type = resultType; - payload.result_format = resultFormat; + const payload = buildV1ChartDataPayload({ + formData, + resultType, + resultFormat, + force, + }); // The dashboard id is added to query params for tracking purposes const qs = requestParams.dashboard_id diff --git a/superset-frontend/src/explore/controlPanels/CountryMap.js b/superset-frontend/src/explore/controlPanels/CountryMap.js deleted file mode 100644 index e9e0215..0000000 --- a/superset-frontend/src/explore/controlPanels/CountryMap.js +++ /dev/null @@ -1,106 +0,0 @@ -/** - * 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. - */ -import { t } from '@superset-ui/translation'; -import { D3_FORMAT_OPTIONS, D3_FORMAT_DOCS } from '../controls'; - -export default { - controlPanelSections: [ - { - label: t('Query'), - expanded: true, - controlSetRows: [['entity'], ['metric'], ['adhoc_filters']], - }, - { - label: t('Options'), - expanded: true, - controlSetRows: [ - [ - { - name: 'select_country', - config: { - type: 'SelectControl', - label: t('Country Name'), - default: 'France', - choices: [ - 'Belgium', - 'Brazil', - 'Bulgaria', - 'China', - 'Egypt', - 'France', - 'Germany', - 'India', - 'Iran', - 'Italy', - 'Japan', - 'Korea', - 'Liechtenstein', - 'Morocco', - 'Myanmar', - 'Netherlands', - 'Portugal', - 'Russia', - 'Singapore', - 'Spain', - 'Switzerland', - 'Thailand', - 'Timorleste', - 'Uk', - 'Ukraine', - 'Usa', - 'Zambia', - ].map(s => [s, s]), - description: t( - 'The name of the country that Superset should display', - ), - }, - }, - { - name: 'number_format', - config: { - type: 'SelectControl', - freeForm: true, - label: t('Number format'), - renderTrigger: true, - default: 'SMART_NUMBER', - choices: D3_FORMAT_OPTIONS, - description: D3_FORMAT_DOCS, - }, - }, - ], - ['linear_color_scheme'], - ], - }, - ], - controlOverrides: { - entity: { - label: t('ISO 3166-2 codes of region/province/department'), - description: t( - "It's ISO 3166-2 of your region/province/department in your table. (see documentation for list of ISO 3166-2)", - ), - }, - metric: { - label: t('Metric'), - description: 'Metric to display bottom title', - }, - linear_color_scheme: { - renderTrigger: false, - }, - }, -}; diff --git a/superset-frontend/src/explore/controlPanels/EventFlow.jsx b/superset-frontend/src/explore/controlPanels/EventFlow.jsx deleted file mode 100644 index fa32610..0000000 --- a/superset-frontend/src/explore/controlPanels/EventFlow.jsx +++ /dev/null @@ -1,128 +0,0 @@ -/** - * 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. - */ -import React from 'react'; -import { t } from '@superset-ui/translation'; -import { validateNonEmpty } from '@superset-ui/validator'; -import { ColumnOption } from '@superset-ui/control-utils'; -import { formatSelectOptionsForRange } from '../../modules/utils'; -import { columnChoices } from '../controls'; - -export default { - requiresTime: true, - controlPanelSections: [ - { - label: t('Event definition'), - controlSetRows: [ - ['entity'], - [ - { - name: 'all_columns_x', - config: { - type: 'SelectControl', - label: t('Column containing event names'), - default: control => - control.choices && control.choices.length > 0 - ? control.choices[0][0] - : null, - }, - description: t('Columns to display'), - mapStateToProps: state => ({ - choices: columnChoices(state.datasource), - }), - validators: [validateNonEmpty], - }, - ], - ['row_limit'], - [ - { - name: 'order_by_entity', - config: { - type: 'CheckboxControl', - label: t('Order by entity id'), - description: t( - 'Important! Select this if the table is not already sorted by entity id, ' + - 'else there is no guarantee that all events for each entity are returned.', - ), - default: true, - }, - }, - ], - [ - { - name: 'min_leaf_node_event_count', - config: { - type: 'SelectControl', - freeForm: false, - label: t('Minimum leaf node event count'), - default: 1, - choices: formatSelectOptionsForRange(1, 10), - description: t( - 'Leaf nodes that represent fewer than this number of events will be initially ' + - 'hidden in the visualization', - ), - }, - }, - ], - ], - }, - { - label: t('Query'), - expanded: true, - controlSetRows: [['adhoc_filters']], - }, - { - label: t('Additional metadata'), - controlSetRows: [ - [ - { - name: 'all_columns', - config: { - type: 'SelectControl', - multi: true, - label: t('Meta data'), - default: [], - description: t('Select any columns for metadata inspection'), - optionRenderer: c => <ColumnOption column={c} showType />, - valueRenderer: c => <ColumnOption column={c} />, - valueKey: 'column_name', - allowAll: true, - mapStateToProps: state => ({ - options: state.datasource ? state.datasource.columns : [], - }), - commaChoosesOption: false, - freeForm: true, - }, - }, - ], - ], - }, - ], - controlOverrides: { - entity: { - label: t('Column containing entity ids'), - description: t('e.g., a "user id" column'), - }, - row_limit: { - label: t('Event count limit'), - description: t( - 'The maximum number of events to return, equivalent to the number of rows', - ), - }, - }, -}; diff --git a/superset-frontend/src/setup/setupPlugins.ts b/superset-frontend/src/setup/setupPlugins.ts index 899be1e..b9c927d 100644 --- a/superset-frontend/src/setup/setupPlugins.ts +++ b/superset-frontend/src/setup/setupPlugins.ts @@ -20,7 +20,6 @@ import { getChartControlPanelRegistry } from '@superset-ui/chart'; import MainPreset from '../visualizations/presets/MainPreset'; import setupPluginsExtra from './setupPluginsExtra'; -import CountryMap from '../explore/controlPanels/CountryMap'; import DeckArc from '../explore/controlPanels/DeckArc'; import DeckGeojson from '../explore/controlPanels/DeckGeojson'; import DeckGrid from '../explore/controlPanels/DeckGrid'; @@ -30,7 +29,6 @@ import DeckPath from '../explore/controlPanels/DeckPath'; import DeckPolygon from '../explore/controlPanels/DeckPolygon'; import DeckScatter from '../explore/controlPanels/DeckScatter'; import DeckScreengrid from '../explore/controlPanels/DeckScreengrid'; -import EventFlow from '../explore/controlPanels/EventFlow'; import FilterBox from '../explore/controlPanels/FilterBox'; import Separator from '../explore/controlPanels/Separator'; import TimeTable from '../explore/controlPanels/TimeTable'; @@ -40,8 +38,6 @@ export default function setupPlugins() { // TODO: Remove these shims once the control panel configs are moved into the plugin package. getChartControlPanelRegistry() - .registerValue('country_map', CountryMap) - .registerValue('event_flow', EventFlow) .registerValue('filter_box', FilterBox) .registerValue('separator', Separator) .registerValue('time_table', TimeTable)