From b0e21628c03d26d7c633f2b754e8952f6d57f5f5 Mon Sep 17 00:00:00 2001 From: Mike Bender Date: Fri, 26 Jan 2024 17:02:23 -0500 Subject: [PATCH] fix: Use deferred API to get the API (#226) - Previously we were rendering the WidgetHandler with the Enterprise API, as that was what was wrapping the DashboardPlugin - Instead, use the DeferredApiBootstrap to fetch the API and only render the component after getting the API --- package-lock.json | 811 +++++++++++++++++++--- plugins/ui/src/js/package.json | 24 +- plugins/ui/src/js/src/DashboardPlugin.tsx | 18 +- plugins/ui/src/js/src/WidgetTypes.ts | 1 + 4 files changed, 730 insertions(+), 124 deletions(-) diff --git a/package-lock.json b/package-lock.json index df24fb6dc..0ef179932 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30920,6 +30920,14 @@ "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "peer": true }, + "plugins/matplotlib/src/js/node_modules/redux-thunk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-2.4.1.tgz", + "integrity": "sha512-OOYGNY5Jy2TWvTL1KgAlVy6dcx3siPJ1wTq741EPyUKfn6W6nChdICjZwCd0p8AZBs5kWpZlbkXW2nE/zjUa+Q==", + "peerDependencies": { + "redux": "^4" + } + }, "plugins/matplotlib/src/js/node_modules/typescript": { "version": "4.9.5", "dev": true, @@ -31222,18 +31230,18 @@ "license": "Apache-2.0", "dependencies": { "@adobe/react-spectrum": "^3.29.0", - "@deephaven/chart": "0.55.0", - "@deephaven/components": "0.55.0", - "@deephaven/dashboard": "0.55.0", - "@deephaven/dashboard-core-plugins": "0.55.0", - "@deephaven/icons": "0.55.0", - "@deephaven/iris-grid": "0.55.0", - "@deephaven/jsapi-bootstrap": "0.55.0", - "@deephaven/jsapi-types": "0.55.0", - "@deephaven/log": "0.55.0", - "@deephaven/plugin": "0.55.0", - "@deephaven/react-hooks": "0.55.0", - "@deephaven/utils": "0.55.0", + "@deephaven/chart": "^0.60.0", + "@deephaven/components": "^0.60.0", + "@deephaven/dashboard": "^0.60.0", + "@deephaven/dashboard-core-plugins": "^0.60.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/iris-grid": "^0.60.0", + "@deephaven/jsapi-bootstrap": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/plugin": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/utils": "^0.60.0", "@fortawesome/react-fontawesome": "^0.2.0", "json-rpc-2.0": "^1.6.0", "shortid": "^2.2.16" @@ -31251,15 +31259,44 @@ "react-dom": "^17.0.2" } }, + "plugins/ui/src/js/node_modules/@deephaven/chart": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/chart/-/chart-0.60.0.tgz", + "integrity": "sha512-L4vBkonA2DtH5cudS6YYYXrTZacq/bmW8eUCP48n9JW9/6wEbMy7WlO83VHcEDEaQwDm5Y/UTf+gt/cVIHgz6A==", + "dependencies": { + "@deephaven/components": "^0.60.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/jsapi-utils": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/utils": "^0.60.0", + "deep-equal": "^2.0.5", + "lodash.debounce": "^4.0.8", + "lodash.set": "^4.3.2", + "memoize-one": "^5.1.1", + "memoizee": "^0.4.15", + "plotly.js": "^2.18.2", + "prop-types": "^15.7.2", + "react-plotly.js": "^2.6.0" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "react": "^17.x" + } + }, "plugins/ui/src/js/node_modules/@deephaven/components": { - "version": "0.55.0", - "license": "Apache-2.0", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/components/-/components-0.60.0.tgz", + "integrity": "sha512-liD2ILrDWOoQ1j9qHK7XbO5gQSpuJExQukOE6HmowcjE6ZFx114gSuPbLck97g2QTnNN3L2rqrqaaB+9fgeDMA==", "dependencies": { "@adobe/react-spectrum": "^3.29.0", - "@deephaven/icons": "^0.55.0", - "@deephaven/log": "^0.55.0", - "@deephaven/react-hooks": "^0.55.0", - "@deephaven/utils": "^0.55.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/utils": "^0.60.0", "@fortawesome/fontawesome-svg-core": "^6.2.1", "@fortawesome/react-fontawesome": "^0.2.0", "@react-spectrum/theme-default": "^3.5.1", @@ -31286,17 +31323,53 @@ "react-dom": "^17.x" } }, + "plugins/ui/src/js/node_modules/@deephaven/console": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/console/-/console-0.60.0.tgz", + "integrity": "sha512-gbwBa3vmm5Js8A2KkPqZ+Y5KgIyvfqupn50VIlFlJOnetNWy1SZXg6tikHOthANeMFgV76P5wIzvlvzEfCvzHw==", + "dependencies": { + "@deephaven/chart": "^0.60.0", + "@deephaven/components": "^0.60.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/jsapi-bootstrap": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/storage": "^0.60.0", + "@deephaven/utils": "^0.60.0", + "@fortawesome/react-fontawesome": "^0.2.0", + "classnames": "^2.3.1", + "linkifyjs": "^4.1.0", + "lodash.debounce": "^4.0.8", + "lodash.throttle": "^4.1.1", + "memoize-one": "^5.1.1", + "memoizee": "^0.4.15", + "monaco-editor": "^0.41.0", + "papaparse": "5.3.2", + "popper.js": "^1.16.1", + "prop-types": "^15.7.2", + "shell-quote": "^1.7.2", + "shortid": "^2.2.16" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "react": "^17.x", + "react-dom": "^17.x" + } + }, "plugins/ui/src/js/node_modules/@deephaven/dashboard": { - "version": "0.55.0", - "license": "Apache-2.0", - "dependencies": { - "@deephaven/components": "^0.55.0", - "@deephaven/golden-layout": "^0.55.0", - "@deephaven/jsapi-bootstrap": "^0.55.0", - "@deephaven/log": "^0.55.0", - "@deephaven/react-hooks": "^0.55.0", - "@deephaven/redux": "^0.55.0", - "@deephaven/utils": "^0.55.0", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/dashboard/-/dashboard-0.60.0.tgz", + "integrity": "sha512-IviL11Q6S5M4WNDzmkHcTlmjqpNPHFYW9HMQDn7wtFdFVtrpzbaRzI9Pkpjk2mNQgUvTLlB4gkQq+4/aHYv8pA==", + "dependencies": { + "@deephaven/components": "^0.60.0", + "@deephaven/golden-layout": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/redux": "^0.60.0", + "@deephaven/utils": "^0.60.0", "deep-equal": "^2.0.5", "lodash.ismatch": "^4.1.1", "lodash.throttle": "^4.1.1", @@ -31313,11 +31386,93 @@ "react-redux": "^7.2.4" } }, + "plugins/ui/src/js/node_modules/@deephaven/dashboard-core-plugins": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/dashboard-core-plugins/-/dashboard-core-plugins-0.60.0.tgz", + "integrity": "sha512-fyf6sQtvjhMwJHIa1zEa9Suu+wsUmXwM30dxaVzoyC1G0ZtedvU4XaQxyKC6wLLIP0f4MWQbLKJ46yEb/kQcFw==", + "dependencies": { + "@deephaven/chart": "^0.60.0", + "@deephaven/components": "^0.60.0", + "@deephaven/console": "^0.60.0", + "@deephaven/dashboard": "^0.60.0", + "@deephaven/file-explorer": "^0.60.0", + "@deephaven/filters": "^0.60.0", + "@deephaven/golden-layout": "^0.60.0", + "@deephaven/grid": "^0.60.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/iris-grid": "^0.60.0", + "@deephaven/jsapi-bootstrap": "^0.60.0", + "@deephaven/jsapi-components": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/jsapi-utils": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/plugin": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/redux": "^0.60.0", + "@deephaven/storage": "^0.60.0", + "@deephaven/utils": "^0.60.0", + "@fortawesome/react-fontawesome": "^0.2.0", + "classnames": "^2.3.1", + "deep-equal": "^2.0.5", + "lodash.clamp": "^4.0.3", + "lodash.debounce": "^4.0.8", + "lodash.throttle": "^4.1.1", + "memoize-one": "^5.1.1", + "memoizee": "^0.4.15", + "prop-types": "^15.7.2", + "react-markdown": "^6.0.2", + "react-transition-group": "^4.4.2", + "redux": "^4.2.0", + "redux-thunk": "^2.4.1", + "remark-gfm": "1.0.0", + "shortid": "^2.2.16" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "react": "^17.0.0", + "react-dom": "^17.0.0", + "react-redux": "^7.2.4" + } + }, + "plugins/ui/src/js/node_modules/@deephaven/file-explorer": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/file-explorer/-/file-explorer-0.60.0.tgz", + "integrity": "sha512-SJM9t/Zxt88kb03xwRbqI06T/2XrfFP/+NBmxEcJmL/NwxPuCMhywC5sraJ2tyHSNxb+jsuyFTgsYk2uRld6Cw==", + "dependencies": { + "@deephaven/components": "^0.60.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/storage": "^0.60.0", + "@deephaven/utils": "^0.60.0", + "@fortawesome/fontawesome-svg-core": "^6.2.1", + "@fortawesome/react-fontawesome": "^0.2.0", + "classnames": "^2.3.1", + "lodash.throttle": "^4.1.1", + "prop-types": "^15.7.2" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "react": "^17.0.0" + } + }, + "plugins/ui/src/js/node_modules/@deephaven/filters": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/filters/-/filters-0.60.0.tgz", + "integrity": "sha512-mVOLepTNMtuA281tGDv/mrhmbvQg2hGvKSuDt9+kJOXxx5lUXCm29ldulx95MQb9te8JpJa5Hyzx8am4KKrpKw==", + "engines": { + "node": ">=16" + } + }, "plugins/ui/src/js/node_modules/@deephaven/golden-layout": { - "version": "0.55.0", - "license": "Apache-2.0", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/golden-layout/-/golden-layout-0.60.0.tgz", + "integrity": "sha512-k9+1nJk66N8jYMkId+iE7QZR0r+5izv0pgeGpnqJTmg6eHgfzbwoaaumu4wj4OKTZv++F1JDezRAMHQRskYkYA==", "dependencies": { - "@deephaven/components": "^0.55.0", + "@deephaven/components": "^0.60.0", "jquery": "^3.6.0" }, "peerDependencies": { @@ -31325,14 +31480,116 @@ "react-dom": "^17.x" } }, + "plugins/ui/src/js/node_modules/@deephaven/grid": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/grid/-/grid-0.60.0.tgz", + "integrity": "sha512-JU7R1jBU7aMV01Nfv875MJrWogoBUVb7P2NH17qs27OYv9n/0nlXaMi7Xd8McEsqBK+1JM4NnL3vJwFUN9MRaA==", + "dependencies": { + "@deephaven/utils": "^0.60.0", + "classnames": "^2.3.1", + "color-convert": "^2.0.1", + "event-target-shim": "^6.0.2", + "linkifyjs": "^4.1.0", + "lodash.clamp": "^4.0.3", + "memoize-one": "^5.1.1", + "memoizee": "^0.4.15", + "prop-types": "^15.7.2" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "react": "^17.x" + } + }, + "plugins/ui/src/js/node_modules/@deephaven/icons": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/icons/-/icons-0.60.0.tgz", + "integrity": "sha512-zbfPncScVrGzRqSKT9hNtNgWI3CJxWZRhBHqHMidOWpwuVWG19Pgpyzj4nRahdcWzKv6LAbMYB0kIBEr1cs7gQ==", + "dependencies": { + "@fortawesome/fontawesome-common-types": "^6.1.1" + }, + "peerDependencies": { + "@fortawesome/fontawesome-svg-core": "^6.2.1", + "@fortawesome/react-fontawesome": "^0.2.0" + } + }, + "plugins/ui/src/js/node_modules/@deephaven/iris-grid": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/iris-grid/-/iris-grid-0.60.0.tgz", + "integrity": "sha512-dL1US3EU5ZUVWXlDWFNHFFnDWvUPbV6WjZX+uW0XEFsUxI2bJtwSIiIRXQeTVGEeXHCsb2zq0Gq00aVicH2bog==", + "dependencies": { + "@deephaven/components": "^0.60.0", + "@deephaven/console": "^0.60.0", + "@deephaven/filters": "^0.60.0", + "@deephaven/grid": "^0.60.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/jsapi-components": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/jsapi-utils": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/storage": "^0.60.0", + "@deephaven/utils": "^0.60.0", + "@dnd-kit/core": "^6.0.5", + "@dnd-kit/sortable": "^7.0.0", + "@dnd-kit/utilities": "^3.2.0", + "@fortawesome/react-fontawesome": "^0.2.0", + "classnames": "^2.3.1", + "deep-equal": "^2.0.5", + "lodash.clamp": "^4.0.3", + "lodash.debounce": "^4.0.8", + "lodash.throttle": "^4.1.1", + "memoize-one": "^5.1.1", + "memoizee": "^0.4.15", + "monaco-editor": "^0.41.0", + "prop-types": "^15.7.2", + "react-beautiful-dnd": "^13.1.0", + "react-transition-group": "^4.4.2", + "shortid": "^2.2.16" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "react": "^17.x", + "react-dom": "^17.x" + } + }, "plugins/ui/src/js/node_modules/@deephaven/jsapi-bootstrap": { - "version": "0.55.0", - "license": "Apache-2.0", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/jsapi-bootstrap/-/jsapi-bootstrap-0.60.0.tgz", + "integrity": "sha512-OlsvXnz6tEMF9qFvbmWLqmMlyABzVw7vp0w86up4GZYTczFOKxTYUWPo3qnYhp1iDtRvblfuvMqQCbTI4yrbzQ==", "dependencies": { - "@deephaven/components": "^0.55.0", - "@deephaven/jsapi-types": "^0.55.0", - "@deephaven/log": "^0.55.0", - "@deephaven/react-hooks": "^0.55.0" + "@deephaven/components": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "react": "^17.x" + } + }, + "plugins/ui/src/js/node_modules/@deephaven/jsapi-components": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/jsapi-components/-/jsapi-components-0.60.0.tgz", + "integrity": "sha512-00fbIKkdl84HdwPJsTD1EwG8cychNPSENurmn3FB2GvO6DdHwjKZvHkZvvtxb8jOUFFGPDYBK8djo4HKM23AVA==", + "dependencies": { + "@deephaven/components": "^0.60.0", + "@deephaven/jsapi-bootstrap": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/jsapi-utils": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/utils": "^0.60.0", + "@types/js-cookie": "^3.0.3", + "classnames": "^2.3.2", + "js-cookie": "^3.0.5", + "lodash.debounce": "^4.0.8", + "prop-types": "^15.8.1" }, "engines": { "node": ">=16" @@ -31342,20 +31599,22 @@ } }, "plugins/ui/src/js/node_modules/@deephaven/jsapi-types": { - "version": "0.55.0", - "license": "Apache-2.0", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/jsapi-types/-/jsapi-types-0.60.0.tgz", + "integrity": "sha512-Ml0/iEjUDQCKdTxwyMQ1lgO2XbohNrYy5NZmpveUaiN/Ml/Kxm1VHBt739kvHVaBVZ10etLR8bmad70fzWpX2Q==", "engines": { "node": ">=16" } }, "plugins/ui/src/js/node_modules/@deephaven/jsapi-utils": { - "version": "0.55.0", - "license": "Apache-2.0", - "dependencies": { - "@deephaven/filters": "^0.55.0", - "@deephaven/jsapi-types": "^0.55.0", - "@deephaven/log": "^0.55.0", - "@deephaven/utils": "^0.55.0", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/jsapi-utils/-/jsapi-utils-0.60.0.tgz", + "integrity": "sha512-ZLqwqk9fxLScUEL67XV+H5KP7CrMa67muMqMOjPHcF4tZhAuQIei5BvniUyrpOVLnMxqg0zJ2K0aqLtsOR9/CQ==", + "dependencies": { + "@deephaven/filters": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/utils": "^0.60.0", "lodash.clamp": "^4.0.3", "shortid": "^2.2.16" }, @@ -31364,8 +31623,9 @@ } }, "plugins/ui/src/js/node_modules/@deephaven/log": { - "version": "0.55.0", - "license": "Apache-2.0", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/log/-/log-0.60.0.tgz", + "integrity": "sha512-9LktbG2rlnHv+Sv7Y+l9anPvmFCma7Awylx/Da7Zi9ZFs0fFpnjLIGdPdU6lDgqq4krx8fxCVJnl0bbgVY3btw==", "dependencies": { "event-target-shim": "^6.0.2" }, @@ -31373,14 +31633,55 @@ "node": ">=16" } }, - "plugins/ui/src/js/node_modules/@deephaven/redux": { - "version": "0.55.0", - "license": "Apache-2.0", + "plugins/ui/src/js/node_modules/@deephaven/plugin": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/plugin/-/plugin-0.60.0.tgz", + "integrity": "sha512-qGg3ECTf06x/eB8lBDYI9KgW2QqXn2G66EkpNWrAC0PwKK7MeMvUY0+q5eyQTTLdX27dxIq6aTt3D0lv9NO6oA==", "dependencies": { - "@deephaven/jsapi-types": "^0.55.0", - "@deephaven/jsapi-utils": "^0.55.0", - "@deephaven/log": "^0.55.0", - "@deephaven/plugin": "^0.55.0", + "@deephaven/components": "^0.60.0", + "@deephaven/golden-layout": "^0.60.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/iris-grid": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@fortawesome/fontawesome-common-types": "^6.1.1", + "@fortawesome/react-fontawesome": "^0.2.0" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "react": "^17.x" + } + }, + "plugins/ui/src/js/node_modules/@deephaven/react-hooks": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/react-hooks/-/react-hooks-0.60.0.tgz", + "integrity": "sha512-R4ZNF9DVCaajpLSEe1Ev1B+K9Iv2fOK7nLWESENb9VhViUkAjBw8DjW1+Qph59NlJkkGd6k2TTsqE7VswO7TNw==", + "dependencies": { + "@adobe/react-spectrum": "^3.29.0", + "@deephaven/log": "^0.60.0", + "@deephaven/utils": "^0.60.0", + "lodash.debounce": "^4.0.8", + "shortid": "^2.2.16" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "react": "^17.x" + } + }, + "plugins/ui/src/js/node_modules/@deephaven/redux": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/redux/-/redux-0.60.0.tgz", + "integrity": "sha512-98d5XKttHsc8/hyF98+B6V6kEwodGti1xHDX/mQZXhAjQ12J1JsCIjdOwa3yzE1WSx4Z1IOM5EIZBQex6poHYQ==", + "dependencies": { + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/jsapi-utils": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/plugin": "^0.60.0", "deep-equal": "^2.0.5", "redux-thunk": "2.4.1" }, @@ -31391,13 +31692,46 @@ "redux": "^4.2.0" } }, + "plugins/ui/src/js/node_modules/@deephaven/storage": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/storage/-/storage-0.60.0.tgz", + "integrity": "sha512-5U27ibvuGOq4U2lGY17VFAPDY2SdrehOrCgbd1pB3cXoX0uQmkJyaOIpNdcN2RNSgzTRYidSa0ilhY6b96wDlg==", + "dependencies": { + "@deephaven/filters": "^0.60.0", + "@deephaven/log": "^0.60.0", + "lodash.throttle": "^4.1.1" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "react": "^17.x" + } + }, "plugins/ui/src/js/node_modules/@deephaven/utils": { - "version": "0.55.0", - "license": "Apache-2.0", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/utils/-/utils-0.60.0.tgz", + "integrity": "sha512-EX9/Fw8W69osU1HYwT1auomYbcS3ZcsHr4USlpqxM7S9lcZgeGHsRIXXwck0C/yhdgWLhVTCE30fN2T4/wsqJw==", "engines": { "node": ">=16" } }, + "plugins/ui/src/js/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "plugins/ui/src/js/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, "plugins/ui/src/js/node_modules/event-target-shim": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-6.0.2.tgz", @@ -33993,6 +34327,12 @@ "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "peer": true }, + "redux-thunk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-2.4.1.tgz", + "integrity": "sha512-OOYGNY5Jy2TWvTL1KgAlVy6dcx3siPJ1wTq741EPyUKfn6W6nChdICjZwCd0p8AZBs5kWpZlbkXW2nE/zjUa+Q==", + "requires": {} + }, "typescript": { "version": "4.9.5", "dev": true @@ -34187,18 +34527,18 @@ "version": "file:plugins/ui/src/js", "requires": { "@adobe/react-spectrum": "^3.29.0", - "@deephaven/chart": "0.55.0", - "@deephaven/components": "0.55.0", - "@deephaven/dashboard": "0.55.0", - "@deephaven/dashboard-core-plugins": "0.55.0", - "@deephaven/icons": "0.55.0", - "@deephaven/iris-grid": "0.55.0", - "@deephaven/jsapi-bootstrap": "0.55.0", - "@deephaven/jsapi-types": "0.55.0", - "@deephaven/log": "0.55.0", - "@deephaven/plugin": "0.55.0", - "@deephaven/react-hooks": "0.55.0", - "@deephaven/utils": "0.55.0", + "@deephaven/chart": "^0.60.0", + "@deephaven/components": "^0.60.0", + "@deephaven/dashboard": "^0.60.0", + "@deephaven/dashboard-core-plugins": "^0.60.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/iris-grid": "^0.60.0", + "@deephaven/jsapi-bootstrap": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/plugin": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/utils": "^0.60.0", "@fortawesome/react-fontawesome": "^0.2.0", "@types/react": "^17.0.2", "@vitejs/plugin-react-swc": "^3.0.0", @@ -34210,14 +34550,38 @@ "vite": "~4.1.4" }, "dependencies": { + "@deephaven/chart": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/chart/-/chart-0.60.0.tgz", + "integrity": "sha512-L4vBkonA2DtH5cudS6YYYXrTZacq/bmW8eUCP48n9JW9/6wEbMy7WlO83VHcEDEaQwDm5Y/UTf+gt/cVIHgz6A==", + "requires": { + "@deephaven/components": "^0.60.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/jsapi-utils": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/utils": "^0.60.0", + "deep-equal": "^2.0.5", + "lodash.debounce": "^4.0.8", + "lodash.set": "^4.3.2", + "memoize-one": "^5.1.1", + "memoizee": "^0.4.15", + "plotly.js": "^2.18.2", + "prop-types": "^15.7.2", + "react-plotly.js": "^2.6.0" + } + }, "@deephaven/components": { - "version": "0.55.0", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/components/-/components-0.60.0.tgz", + "integrity": "sha512-liD2ILrDWOoQ1j9qHK7XbO5gQSpuJExQukOE6HmowcjE6ZFx114gSuPbLck97g2QTnNN3L2rqrqaaB+9fgeDMA==", "requires": { "@adobe/react-spectrum": "^3.29.0", - "@deephaven/icons": "^0.55.0", - "@deephaven/log": "^0.55.0", - "@deephaven/react-hooks": "^0.55.0", - "@deephaven/utils": "^0.55.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/utils": "^0.60.0", "@fortawesome/fontawesome-svg-core": "^6.2.1", "@fortawesome/react-fontawesome": "^0.2.0", "@react-spectrum/theme-default": "^3.5.1", @@ -34237,16 +34601,46 @@ "shortid": "^2.2.16" } }, + "@deephaven/console": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/console/-/console-0.60.0.tgz", + "integrity": "sha512-gbwBa3vmm5Js8A2KkPqZ+Y5KgIyvfqupn50VIlFlJOnetNWy1SZXg6tikHOthANeMFgV76P5wIzvlvzEfCvzHw==", + "requires": { + "@deephaven/chart": "^0.60.0", + "@deephaven/components": "^0.60.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/jsapi-bootstrap": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/storage": "^0.60.0", + "@deephaven/utils": "^0.60.0", + "@fortawesome/react-fontawesome": "^0.2.0", + "classnames": "^2.3.1", + "linkifyjs": "^4.1.0", + "lodash.debounce": "^4.0.8", + "lodash.throttle": "^4.1.1", + "memoize-one": "^5.1.1", + "memoizee": "^0.4.15", + "monaco-editor": "^0.41.0", + "papaparse": "5.3.2", + "popper.js": "^1.16.1", + "prop-types": "^15.7.2", + "shell-quote": "^1.7.2", + "shortid": "^2.2.16" + } + }, "@deephaven/dashboard": { - "version": "0.55.0", - "requires": { - "@deephaven/components": "^0.55.0", - "@deephaven/golden-layout": "^0.55.0", - "@deephaven/jsapi-bootstrap": "^0.55.0", - "@deephaven/log": "^0.55.0", - "@deephaven/react-hooks": "^0.55.0", - "@deephaven/redux": "^0.55.0", - "@deephaven/utils": "^0.55.0", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/dashboard/-/dashboard-0.60.0.tgz", + "integrity": "sha512-IviL11Q6S5M4WNDzmkHcTlmjqpNPHFYW9HMQDn7wtFdFVtrpzbaRzI9Pkpjk2mNQgUvTLlB4gkQq+4/aHYv8pA==", + "requires": { + "@deephaven/components": "^0.60.0", + "@deephaven/golden-layout": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/redux": "^0.60.0", + "@deephaven/utils": "^0.60.0", "deep-equal": "^2.0.5", "lodash.ismatch": "^4.1.1", "lodash.throttle": "^4.1.1", @@ -34254,55 +34648,262 @@ "shortid": "^2.2.16" } }, + "@deephaven/dashboard-core-plugins": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/dashboard-core-plugins/-/dashboard-core-plugins-0.60.0.tgz", + "integrity": "sha512-fyf6sQtvjhMwJHIa1zEa9Suu+wsUmXwM30dxaVzoyC1G0ZtedvU4XaQxyKC6wLLIP0f4MWQbLKJ46yEb/kQcFw==", + "requires": { + "@deephaven/chart": "^0.60.0", + "@deephaven/components": "^0.60.0", + "@deephaven/console": "^0.60.0", + "@deephaven/dashboard": "^0.60.0", + "@deephaven/file-explorer": "^0.60.0", + "@deephaven/filters": "^0.60.0", + "@deephaven/golden-layout": "^0.60.0", + "@deephaven/grid": "^0.60.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/iris-grid": "^0.60.0", + "@deephaven/jsapi-bootstrap": "^0.60.0", + "@deephaven/jsapi-components": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/jsapi-utils": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/plugin": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/redux": "^0.60.0", + "@deephaven/storage": "^0.60.0", + "@deephaven/utils": "^0.60.0", + "@fortawesome/react-fontawesome": "^0.2.0", + "classnames": "^2.3.1", + "deep-equal": "^2.0.5", + "lodash.clamp": "^4.0.3", + "lodash.debounce": "^4.0.8", + "lodash.throttle": "^4.1.1", + "memoize-one": "^5.1.1", + "memoizee": "^0.4.15", + "prop-types": "^15.7.2", + "react-markdown": "^6.0.2", + "react-transition-group": "^4.4.2", + "redux": "^4.2.0", + "redux-thunk": "^2.4.1", + "remark-gfm": "1.0.0", + "shortid": "^2.2.16" + } + }, + "@deephaven/file-explorer": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/file-explorer/-/file-explorer-0.60.0.tgz", + "integrity": "sha512-SJM9t/Zxt88kb03xwRbqI06T/2XrfFP/+NBmxEcJmL/NwxPuCMhywC5sraJ2tyHSNxb+jsuyFTgsYk2uRld6Cw==", + "requires": { + "@deephaven/components": "^0.60.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/storage": "^0.60.0", + "@deephaven/utils": "^0.60.0", + "@fortawesome/fontawesome-svg-core": "^6.2.1", + "@fortawesome/react-fontawesome": "^0.2.0", + "classnames": "^2.3.1", + "lodash.throttle": "^4.1.1", + "prop-types": "^15.7.2" + } + }, + "@deephaven/filters": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/filters/-/filters-0.60.0.tgz", + "integrity": "sha512-mVOLepTNMtuA281tGDv/mrhmbvQg2hGvKSuDt9+kJOXxx5lUXCm29ldulx95MQb9te8JpJa5Hyzx8am4KKrpKw==" + }, "@deephaven/golden-layout": { - "version": "0.55.0", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/golden-layout/-/golden-layout-0.60.0.tgz", + "integrity": "sha512-k9+1nJk66N8jYMkId+iE7QZR0r+5izv0pgeGpnqJTmg6eHgfzbwoaaumu4wj4OKTZv++F1JDezRAMHQRskYkYA==", "requires": { - "@deephaven/components": "^0.55.0", + "@deephaven/components": "^0.60.0", "jquery": "^3.6.0" } }, + "@deephaven/grid": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/grid/-/grid-0.60.0.tgz", + "integrity": "sha512-JU7R1jBU7aMV01Nfv875MJrWogoBUVb7P2NH17qs27OYv9n/0nlXaMi7Xd8McEsqBK+1JM4NnL3vJwFUN9MRaA==", + "requires": { + "@deephaven/utils": "^0.60.0", + "classnames": "^2.3.1", + "color-convert": "^2.0.1", + "event-target-shim": "^6.0.2", + "linkifyjs": "^4.1.0", + "lodash.clamp": "^4.0.3", + "memoize-one": "^5.1.1", + "memoizee": "^0.4.15", + "prop-types": "^15.7.2" + } + }, + "@deephaven/icons": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/icons/-/icons-0.60.0.tgz", + "integrity": "sha512-zbfPncScVrGzRqSKT9hNtNgWI3CJxWZRhBHqHMidOWpwuVWG19Pgpyzj4nRahdcWzKv6LAbMYB0kIBEr1cs7gQ==", + "requires": { + "@fortawesome/fontawesome-common-types": "^6.1.1" + } + }, + "@deephaven/iris-grid": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/iris-grid/-/iris-grid-0.60.0.tgz", + "integrity": "sha512-dL1US3EU5ZUVWXlDWFNHFFnDWvUPbV6WjZX+uW0XEFsUxI2bJtwSIiIRXQeTVGEeXHCsb2zq0Gq00aVicH2bog==", + "requires": { + "@deephaven/components": "^0.60.0", + "@deephaven/console": "^0.60.0", + "@deephaven/filters": "^0.60.0", + "@deephaven/grid": "^0.60.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/jsapi-components": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/jsapi-utils": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/storage": "^0.60.0", + "@deephaven/utils": "^0.60.0", + "@dnd-kit/core": "^6.0.5", + "@dnd-kit/sortable": "^7.0.0", + "@dnd-kit/utilities": "^3.2.0", + "@fortawesome/react-fontawesome": "^0.2.0", + "classnames": "^2.3.1", + "deep-equal": "^2.0.5", + "lodash.clamp": "^4.0.3", + "lodash.debounce": "^4.0.8", + "lodash.throttle": "^4.1.1", + "memoize-one": "^5.1.1", + "memoizee": "^0.4.15", + "monaco-editor": "^0.41.0", + "prop-types": "^15.7.2", + "react-beautiful-dnd": "^13.1.0", + "react-transition-group": "^4.4.2", + "shortid": "^2.2.16" + } + }, "@deephaven/jsapi-bootstrap": { - "version": "0.55.0", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/jsapi-bootstrap/-/jsapi-bootstrap-0.60.0.tgz", + "integrity": "sha512-OlsvXnz6tEMF9qFvbmWLqmMlyABzVw7vp0w86up4GZYTczFOKxTYUWPo3qnYhp1iDtRvblfuvMqQCbTI4yrbzQ==", "requires": { - "@deephaven/components": "^0.55.0", - "@deephaven/jsapi-types": "^0.55.0", - "@deephaven/log": "^0.55.0", - "@deephaven/react-hooks": "^0.55.0" + "@deephaven/components": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0" + } + }, + "@deephaven/jsapi-components": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/jsapi-components/-/jsapi-components-0.60.0.tgz", + "integrity": "sha512-00fbIKkdl84HdwPJsTD1EwG8cychNPSENurmn3FB2GvO6DdHwjKZvHkZvvtxb8jOUFFGPDYBK8djo4HKM23AVA==", + "requires": { + "@deephaven/components": "^0.60.0", + "@deephaven/jsapi-bootstrap": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/jsapi-utils": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/utils": "^0.60.0", + "@types/js-cookie": "^3.0.3", + "classnames": "^2.3.2", + "js-cookie": "^3.0.5", + "lodash.debounce": "^4.0.8", + "prop-types": "^15.8.1" } }, "@deephaven/jsapi-types": { - "version": "0.55.0" + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/jsapi-types/-/jsapi-types-0.60.0.tgz", + "integrity": "sha512-Ml0/iEjUDQCKdTxwyMQ1lgO2XbohNrYy5NZmpveUaiN/Ml/Kxm1VHBt739kvHVaBVZ10etLR8bmad70fzWpX2Q==" }, "@deephaven/jsapi-utils": { - "version": "0.55.0", - "requires": { - "@deephaven/filters": "^0.55.0", - "@deephaven/jsapi-types": "^0.55.0", - "@deephaven/log": "^0.55.0", - "@deephaven/utils": "^0.55.0", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/jsapi-utils/-/jsapi-utils-0.60.0.tgz", + "integrity": "sha512-ZLqwqk9fxLScUEL67XV+H5KP7CrMa67muMqMOjPHcF4tZhAuQIei5BvniUyrpOVLnMxqg0zJ2K0aqLtsOR9/CQ==", + "requires": { + "@deephaven/filters": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/utils": "^0.60.0", "lodash.clamp": "^4.0.3", "shortid": "^2.2.16" } }, "@deephaven/log": { - "version": "0.55.0", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/log/-/log-0.60.0.tgz", + "integrity": "sha512-9LktbG2rlnHv+Sv7Y+l9anPvmFCma7Awylx/Da7Zi9ZFs0fFpnjLIGdPdU6lDgqq4krx8fxCVJnl0bbgVY3btw==", "requires": { "event-target-shim": "^6.0.2" } }, - "@deephaven/redux": { - "version": "0.55.0", + "@deephaven/plugin": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/plugin/-/plugin-0.60.0.tgz", + "integrity": "sha512-qGg3ECTf06x/eB8lBDYI9KgW2QqXn2G66EkpNWrAC0PwKK7MeMvUY0+q5eyQTTLdX27dxIq6aTt3D0lv9NO6oA==", + "requires": { + "@deephaven/components": "^0.60.0", + "@deephaven/golden-layout": "^0.60.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/iris-grid": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@fortawesome/fontawesome-common-types": "^6.1.1", + "@fortawesome/react-fontawesome": "^0.2.0" + } + }, + "@deephaven/react-hooks": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/react-hooks/-/react-hooks-0.60.0.tgz", + "integrity": "sha512-R4ZNF9DVCaajpLSEe1Ev1B+K9Iv2fOK7nLWESENb9VhViUkAjBw8DjW1+Qph59NlJkkGd6k2TTsqE7VswO7TNw==", "requires": { - "@deephaven/jsapi-types": "^0.55.0", - "@deephaven/jsapi-utils": "^0.55.0", - "@deephaven/log": "^0.55.0", - "@deephaven/plugin": "^0.55.0", + "@adobe/react-spectrum": "^3.29.0", + "@deephaven/log": "^0.60.0", + "@deephaven/utils": "^0.60.0", + "lodash.debounce": "^4.0.8", + "shortid": "^2.2.16" + } + }, + "@deephaven/redux": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/redux/-/redux-0.60.0.tgz", + "integrity": "sha512-98d5XKttHsc8/hyF98+B6V6kEwodGti1xHDX/mQZXhAjQ12J1JsCIjdOwa3yzE1WSx4Z1IOM5EIZBQex6poHYQ==", + "requires": { + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/jsapi-utils": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/plugin": "^0.60.0", "deep-equal": "^2.0.5", "redux-thunk": "2.4.1" } }, + "@deephaven/storage": { + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/storage/-/storage-0.60.0.tgz", + "integrity": "sha512-5U27ibvuGOq4U2lGY17VFAPDY2SdrehOrCgbd1pB3cXoX0uQmkJyaOIpNdcN2RNSgzTRYidSa0ilhY6b96wDlg==", + "requires": { + "@deephaven/filters": "^0.60.0", + "@deephaven/log": "^0.60.0", + "lodash.throttle": "^4.1.1" + } + }, "@deephaven/utils": { - "version": "0.55.0" + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@deephaven/utils/-/utils-0.60.0.tgz", + "integrity": "sha512-EX9/Fw8W69osU1HYwT1auomYbcS3ZcsHr4USlpqxM7S9lcZgeGHsRIXXwck0C/yhdgWLhVTCE30fN2T4/wsqJw==" + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "event-target-shim": { "version": "6.0.2", diff --git a/plugins/ui/src/js/package.json b/plugins/ui/src/js/package.json index 1c156777b..44723b570 100644 --- a/plugins/ui/src/js/package.json +++ b/plugins/ui/src/js/package.json @@ -41,18 +41,18 @@ }, "dependencies": { "@adobe/react-spectrum": "^3.29.0", - "@deephaven/chart": "0.55.0", - "@deephaven/components": "0.55.0", - "@deephaven/dashboard": "0.55.0", - "@deephaven/dashboard-core-plugins": "0.55.0", - "@deephaven/icons": "0.55.0", - "@deephaven/iris-grid": "0.55.0", - "@deephaven/jsapi-bootstrap": "0.55.0", - "@deephaven/jsapi-types": "0.55.0", - "@deephaven/log": "0.55.0", - "@deephaven/plugin": "0.55.0", - "@deephaven/react-hooks": "0.55.0", - "@deephaven/utils": "0.55.0", + "@deephaven/chart": "^0.60.0", + "@deephaven/components": "^0.60.0", + "@deephaven/dashboard": "^0.60.0", + "@deephaven/dashboard-core-plugins": "^0.60.0", + "@deephaven/icons": "^0.60.0", + "@deephaven/iris-grid": "^0.60.0", + "@deephaven/jsapi-bootstrap": "^0.60.0", + "@deephaven/jsapi-types": "^0.60.0", + "@deephaven/log": "^0.60.0", + "@deephaven/plugin": "^0.60.0", + "@deephaven/react-hooks": "^0.60.0", + "@deephaven/utils": "^0.60.0", "@fortawesome/react-fontawesome": "^0.2.0", "shortid": "^2.2.16", "json-rpc-2.0": "^1.6.0" diff --git a/plugins/ui/src/js/src/DashboardPlugin.tsx b/plugins/ui/src/js/src/DashboardPlugin.tsx index bf2b45eea..383278f05 100644 --- a/plugins/ui/src/js/src/DashboardPlugin.tsx +++ b/plugins/ui/src/js/src/DashboardPlugin.tsx @@ -7,6 +7,7 @@ import { useListener, } from '@deephaven/dashboard'; import Log from '@deephaven/log'; +import { DeferredApiBootstrap } from '@deephaven/jsapi-bootstrap'; import { Widget } from '@deephaven/jsapi-types'; import type { VariableDefinition } from '@deephaven/jsapi-types'; import styles from './styles.scss?inline'; @@ -46,7 +47,7 @@ export function DashboardPlugin({ // Only want to listen for Element panels trying to be opened return; } - log.info('Opening widget with ID', widgetId); + log.info('Opening widget with ID', widgetId, metadata); setWidgetMap(prevWidgetMap => { const newWidgetMap = new Map(prevWidgetMap); // We need to create a new definition object, otherwise the layout will think it's already open @@ -57,7 +58,12 @@ export function DashboardPlugin({ id: widget.id, name: widget.name, }; - newWidgetMap.set(widgetId, { definition, fetch, id: widgetId }); + newWidgetMap.set(widgetId, { + definition, + fetch, + id: widgetId, + metadata, + }); return newWidgetMap; }); }, @@ -99,11 +105,9 @@ export function DashboardPlugin({ const widgetHandlers = useMemo( () => [...widgetMap.entries()].map(([widgetId, widget]) => ( - + + + )), [handleWidgetClose, widgetMap] ); diff --git a/plugins/ui/src/js/src/WidgetTypes.ts b/plugins/ui/src/js/src/WidgetTypes.ts index c4ed147a3..41fa51934 100644 --- a/plugins/ui/src/js/src/WidgetTypes.ts +++ b/plugins/ui/src/js/src/WidgetTypes.ts @@ -15,4 +15,5 @@ export type WidgetWrapper = { definition: WidgetDefinition; fetch: WidgetFetch; id: string; + metadata: Record; };