Reuse doc manager from lab

pull/6294/head
Jeremy Tuloup 5 years ago
parent 3c1b3325ce
commit 797a1ae9d6

@ -73,6 +73,9 @@ async function main() {
require('@jupyterlab/codemirror-extension').default.filter(({ id }) =>
['@jupyterlab/codemirror-extension:services'].includes(id)
),
require('@jupyterlab/docmanager-extension').default.filter(({ id }) =>
['@jupyterlab/docmanager-extension:plugin'].includes(id)
),
require('@jupyterlab/mainmenu-extension'),
require('@jupyterlab/rendermime-extension'),
require('@jupyterlab/notebook-extension').default.filter(({ id }) =>

@ -13,17 +13,18 @@
"@jupyterlab-classic/application": "^0.1.0",
"@jupyterlab-classic/application-extension": "^0.1.0",
"@jupyterlab-classic/ui-components": "^0.1.0",
"@jupyterlab/apputils-extension": "^3.0.0-rc.10",
"@jupyterlab/codemirror-extension": "^3.0.0-rc.10",
"@jupyterlab/mainmenu-extension": "^3.0.0-rc.10",
"@jupyterlab/notebook-extension": "^3.0.0-rc.10",
"@jupyterlab/rendermime-extension": "^3.0.0-rc.10",
"@jupyterlab/shortcuts-extension": "^3.0.0-rc.10",
"@jupyterlab/theme-light-extension": "^3.0.0-rc.10",
"@jupyterlab/coreutils": "~5.0.0-rc.10"
"@jupyterlab/apputils-extension": "^3.0.0-rc.12",
"@jupyterlab/codemirror-extension": "^3.0.0-rc.12",
"@jupyterlab/docmanager-extension": "^3.0.0-rc.12",
"@jupyterlab/mainmenu-extension": "^3.0.0-rc.12",
"@jupyterlab/notebook-extension": "^3.0.0-rc.12",
"@jupyterlab/rendermime-extension": "^3.0.0-rc.12",
"@jupyterlab/shortcuts-extension": "^3.0.0-rc.12",
"@jupyterlab/theme-light-extension": "^3.0.0-rc.12",
"@jupyterlab/coreutils": "~5.0.0-rc.12"
},
"devDependencies": {
"@jupyterlab/builder": "^3.0.0-rc.10",
"@jupyterlab/builder": "^3.0.0-rc.12",
"css-loader": "~3.2.0",
"file-loader": "~5.0.2",
"fs-extra": "^8.1.0",
@ -43,93 +44,93 @@
"whatwg-fetch": "^3.0.0"
},
"resolutions": {
"@jupyterlab/application": "~3.0.0-rc.10",
"@jupyterlab/application-extension": "~3.0.0-rc.10",
"@jupyterlab/apputils": "~3.0.0-rc.10",
"@jupyterlab/apputils-extension": "~3.0.0-rc.10",
"@jupyterlab/attachments": "~3.0.0-rc.10",
"@jupyterlab/cells": "~3.0.0-rc.10",
"@jupyterlab/celltags": "~3.0.0-rc.10",
"@jupyterlab/celltags-extension": "~3.0.0-rc.10",
"@jupyterlab/codeeditor": "~3.0.0-rc.10",
"@jupyterlab/codemirror": "~3.0.0-rc.10",
"@jupyterlab/codemirror-extension": "~3.0.0-rc.10",
"@jupyterlab/completer": "~3.0.0-rc.10",
"@jupyterlab/completer-extension": "~3.0.0-rc.10",
"@jupyterlab/console": "~3.0.0-rc.10",
"@jupyterlab/console-extension": "~3.0.0-rc.10",
"@jupyterlab/coreutils": "~5.0.0-rc.10",
"@jupyterlab/csvviewer": "~3.0.0-rc.10",
"@jupyterlab/csvviewer-extension": "~3.0.0-rc.10",
"@jupyterlab/debugger": "~3.0.0-rc.10",
"@jupyterlab/debugger-extension": "~3.0.0-rc.10",
"@jupyterlab/docmanager": "~3.0.0-rc.10",
"@jupyterlab/docmanager-extension": "~3.0.0-rc.10",
"@jupyterlab/docregistry": "~3.0.0-rc.10",
"@jupyterlab/documentsearch": "~3.0.0-rc.10",
"@jupyterlab/documentsearch-extension": "~3.0.0-rc.10",
"@jupyterlab/extensionmanager": "^3.0.0-rc.10",
"@jupyterlab/extensionmanager-extension": "~3.0.0-rc.10",
"@jupyterlab/filebrowser": "~3.0.0-rc.10",
"@jupyterlab/filebrowser-extension": "~3.0.0-rc.10",
"@jupyterlab/fileeditor": "~3.0.0-rc.10",
"@jupyterlab/fileeditor-extension": "~3.0.0-rc.10",
"@jupyterlab/help-extension": "~3.0.0-rc.10",
"@jupyterlab/htmlviewer": "~3.0.0-rc.10",
"@jupyterlab/htmlviewer-extension": "~3.0.0-rc.10",
"@jupyterlab/hub-extension": "~3.0.0-rc.10",
"@jupyterlab/imageviewer": "~3.0.0-rc.10",
"@jupyterlab/imageviewer-extension": "~3.0.0-rc.10",
"@jupyterlab/inspector": "~3.0.0-rc.10",
"@jupyterlab/inspector-extension": "~3.0.0-rc.10",
"@jupyterlab/javascript-extension": "~3.0.0-rc.10",
"@jupyterlab/json-extension": "~3.0.0-rc.10",
"@jupyterlab/launcher": "~3.0.0-rc.10",
"@jupyterlab/launcher-extension": "~3.0.0-rc.10",
"@jupyterlab/logconsole": "~3.0.0-rc.10",
"@jupyterlab/logconsole-extension": "~3.0.0-rc.10",
"@jupyterlab/mainmenu": "~3.0.0-rc.10",
"@jupyterlab/mainmenu-extension": "~3.0.0-rc.10",
"@jupyterlab/markdownviewer-extension": "~3.0.0-rc.10",
"@jupyterlab/mathjax2": "~3.0.0-rc.10",
"@jupyterlab/mathjax2-extension": "~3.0.0-rc.10",
"@jupyterlab/metapackage": "~3.0.0-rc.10",
"@jupyterlab/nbconvert-css": "~3.0.0-rc.10",
"@jupyterlab/nbformat": "~3.0.0-rc.10",
"@jupyterlab/notebook": "~3.0.0-rc.10",
"@jupyterlab/notebook-extension": "~3.0.0-rc.10",
"@jupyterlab/observables": "~4.0.0-rc.10",
"@jupyterlab/outputarea": "~3.0.0-rc.10",
"@jupyterlab/pdf-extension": "~3.0.0-rc.10",
"@jupyterlab/property-inspector": "~3.0.0-rc.10",
"@jupyterlab/rendermime": "~3.0.0-rc.10",
"@jupyterlab/rendermime-extension": "~3.0.0-rc.10",
"@jupyterlab/rendermime-interfaces": "~3.0.0-rc.10",
"@jupyterlab/running": "~3.0.0-rc.10",
"@jupyterlab/running-extension": "~3.0.0-rc.10",
"@jupyterlab/services": "~6.0.0-rc.10",
"@jupyterlab/settingeditor": "~3.0.0-rc.10",
"@jupyterlab/settingeditor-extension": "~3.0.0-rc.10",
"@jupyterlab/settingregistry": "~3.0.0-rc.10",
"@jupyterlab/shortcuts-extension": "~3.0.0-rc.10",
"@jupyterlab/statedb": "~3.0.0-rc.10",
"@jupyterlab/statusbar": "~3.0.0-rc.10",
"@jupyterlab/statusbar-extension": "~3.0.0-rc.10",
"@jupyterlab/terminal": "~3.0.0-rc.10",
"@jupyterlab/terminal-extension": "~3.0.0-rc.10",
"@jupyterlab/theme-dark-extension": "~3.0.0-rc.10",
"@jupyterlab/theme-light-extension": "~3.0.0-rc.10",
"@jupyterlab/toc": "~5.0.0-rc.10",
"@jupyterlab/toc-extension": "~5.0.0-rc.10",
"@jupyterlab/tooltip": "~3.0.0-rc.10",
"@jupyterlab/tooltip-extension": "~3.0.0-rc.10",
"@jupyterlab/translation": "~3.0.0-rc.10",
"@jupyterlab/translation-extension": "~3.0.0-rc.10",
"@jupyterlab/ui-components": "~3.0.0-rc.10",
"@jupyterlab/ui-components-extension": "~3.0.0-rc.10",
"@jupyterlab/vdom": "~3.0.0-rc.10",
"@jupyterlab/vdom-extension": "~3.0.0-rc.10",
"@jupyterlab/vega5-extension": "~3.0.0-rc.10",
"@jupyterlab/application": "~3.0.0-rc.12",
"@jupyterlab/application-extension": "~3.0.0-rc.12",
"@jupyterlab/apputils": "~3.0.0-rc.12",
"@jupyterlab/apputils-extension": "~3.0.0-rc.12",
"@jupyterlab/attachments": "~3.0.0-rc.12",
"@jupyterlab/cells": "~3.0.0-rc.12",
"@jupyterlab/celltags": "~3.0.0-rc.12",
"@jupyterlab/celltags-extension": "~3.0.0-rc.12",
"@jupyterlab/codeeditor": "~3.0.0-rc.12",
"@jupyterlab/codemirror": "~3.0.0-rc.12",
"@jupyterlab/codemirror-extension": "~3.0.0-rc.12",
"@jupyterlab/completer": "~3.0.0-rc.12",
"@jupyterlab/completer-extension": "~3.0.0-rc.12",
"@jupyterlab/console": "~3.0.0-rc.12",
"@jupyterlab/console-extension": "~3.0.0-rc.12",
"@jupyterlab/coreutils": "~5.0.0-rc.12",
"@jupyterlab/csvviewer": "~3.0.0-rc.12",
"@jupyterlab/csvviewer-extension": "~3.0.0-rc.12",
"@jupyterlab/debugger": "~3.0.0-rc.12",
"@jupyterlab/debugger-extension": "~3.0.0-rc.12",
"@jupyterlab/docmanager": "~3.0.0-rc.12",
"@jupyterlab/docmanager-extension": "~3.0.0-rc.12",
"@jupyterlab/docregistry": "~3.0.0-rc.12",
"@jupyterlab/documentsearch": "~3.0.0-rc.12",
"@jupyterlab/documentsearch-extension": "~3.0.0-rc.12",
"@jupyterlab/extensionmanager": "^3.0.0-rc.12",
"@jupyterlab/extensionmanager-extension": "~3.0.0-rc.12",
"@jupyterlab/filebrowser": "~3.0.0-rc.12",
"@jupyterlab/filebrowser-extension": "~3.0.0-rc.12",
"@jupyterlab/fileeditor": "~3.0.0-rc.12",
"@jupyterlab/fileeditor-extension": "~3.0.0-rc.12",
"@jupyterlab/help-extension": "~3.0.0-rc.12",
"@jupyterlab/htmlviewer": "~3.0.0-rc.12",
"@jupyterlab/htmlviewer-extension": "~3.0.0-rc.12",
"@jupyterlab/hub-extension": "~3.0.0-rc.12",
"@jupyterlab/imageviewer": "~3.0.0-rc.12",
"@jupyterlab/imageviewer-extension": "~3.0.0-rc.12",
"@jupyterlab/inspector": "~3.0.0-rc.12",
"@jupyterlab/inspector-extension": "~3.0.0-rc.12",
"@jupyterlab/javascript-extension": "~3.0.0-rc.12",
"@jupyterlab/json-extension": "~3.0.0-rc.12",
"@jupyterlab/launcher": "~3.0.0-rc.12",
"@jupyterlab/launcher-extension": "~3.0.0-rc.12",
"@jupyterlab/logconsole": "~3.0.0-rc.12",
"@jupyterlab/logconsole-extension": "~3.0.0-rc.12",
"@jupyterlab/mainmenu": "~3.0.0-rc.12",
"@jupyterlab/mainmenu-extension": "~3.0.0-rc.12",
"@jupyterlab/markdownviewer-extension": "~3.0.0-rc.12",
"@jupyterlab/mathjax2": "~3.0.0-rc.12",
"@jupyterlab/mathjax2-extension": "~3.0.0-rc.12",
"@jupyterlab/metapackage": "~3.0.0-rc.12",
"@jupyterlab/nbconvert-css": "~3.0.0-rc.12",
"@jupyterlab/nbformat": "~3.0.0-rc.12",
"@jupyterlab/notebook": "~3.0.0-rc.12",
"@jupyterlab/notebook-extension": "~3.0.0-rc.12",
"@jupyterlab/observables": "~4.0.0-rc.12",
"@jupyterlab/outputarea": "~3.0.0-rc.12",
"@jupyterlab/pdf-extension": "~3.0.0-rc.12",
"@jupyterlab/property-inspector": "~3.0.0-rc.12",
"@jupyterlab/rendermime": "~3.0.0-rc.12",
"@jupyterlab/rendermime-extension": "~3.0.0-rc.12",
"@jupyterlab/rendermime-interfaces": "~3.0.0-rc.12",
"@jupyterlab/running": "~3.0.0-rc.12",
"@jupyterlab/running-extension": "~3.0.0-rc.12",
"@jupyterlab/services": "~6.0.0-rc.12",
"@jupyterlab/settingeditor": "~3.0.0-rc.12",
"@jupyterlab/settingeditor-extension": "~3.0.0-rc.12",
"@jupyterlab/settingregistry": "~3.0.0-rc.12",
"@jupyterlab/shortcuts-extension": "~3.0.0-rc.12",
"@jupyterlab/statedb": "~3.0.0-rc.12",
"@jupyterlab/statusbar": "~3.0.0-rc.12",
"@jupyterlab/statusbar-extension": "~3.0.0-rc.12",
"@jupyterlab/terminal": "~3.0.0-rc.12",
"@jupyterlab/terminal-extension": "~3.0.0-rc.12",
"@jupyterlab/theme-dark-extension": "~3.0.0-rc.12",
"@jupyterlab/theme-light-extension": "~3.0.0-rc.12",
"@jupyterlab/toc": "~5.0.0-rc.12",
"@jupyterlab/toc-extension": "~5.0.0-rc.12",
"@jupyterlab/tooltip": "~3.0.0-rc.12",
"@jupyterlab/tooltip-extension": "~3.0.0-rc.12",
"@jupyterlab/translation": "~3.0.0-rc.12",
"@jupyterlab/translation-extension": "~3.0.0-rc.12",
"@jupyterlab/ui-components": "~3.0.0-rc.12",
"@jupyterlab/ui-components-extension": "~3.0.0-rc.12",
"@jupyterlab/vdom": "~3.0.0-rc.12",
"@jupyterlab/vdom-extension": "~3.0.0-rc.12",
"@jupyterlab/vega5-extension": "~3.0.0-rc.12",
"@lumino/algorithm": "^1.2.3",
"@lumino/application": "^1.8.4",
"@lumino/commands": "^1.10.1",

@ -2,6 +2,7 @@
@import url('~@jupyterlab-classic/ui-components/style/index.css');
@import url('~@jupyterlab/codemirror-extension/style/index.css');
@import url('~@jupyterlab/docmanager-extension/style/index.css');
@import url('~@jupyterlab/rendermime-extension/style/index.css');
@import url('~@jupyterlab/notebook-extension/style/index.css');
@import url('~@jupyterlab/theme-light-extension/style/index.css');

@ -54,108 +54,5 @@
"hooks": {
"pre-commit": "lint-staged"
}
},
"resolutions": {
"@jupyterlab/application": "3.0.0-rc.10",
"@jupyterlab/application-extension": "3.0.0-rc.10",
"@jupyterlab/apputils": "3.0.0-rc.10",
"@jupyterlab/apputils-extension": "3.0.0-rc.10",
"@jupyterlab/attachments": "3.0.0-rc.10",
"@jupyterlab/cells": "3.0.0-rc.10",
"@jupyterlab/celltags": "3.0.0-rc.10",
"@jupyterlab/celltags-extension": "3.0.0-rc.10",
"@jupyterlab/codeeditor": "3.0.0-rc.10",
"@jupyterlab/codemirror": "3.0.0-rc.10",
"@jupyterlab/codemirror-extension": "3.0.0-rc.10",
"@jupyterlab/completer": "3.0.0-rc.10",
"@jupyterlab/completer-extension": "3.0.0-rc.10",
"@jupyterlab/console": "3.0.0-rc.10",
"@jupyterlab/console-extension": "3.0.0-rc.10",
"@jupyterlab/coreutils": "5.0.0-rc.10",
"@jupyterlab/csvviewer": "3.0.0-rc.10",
"@jupyterlab/csvviewer-extension": "3.0.0-rc.10",
"@jupyterlab/debugger": "3.0.0-rc.10",
"@jupyterlab/debugger-extension": "3.0.0-rc.10",
"@jupyterlab/docmanager": "3.0.0-rc.10",
"@jupyterlab/docmanager-extension": "3.0.0-rc.10",
"@jupyterlab/docregistry": "3.0.0-rc.10",
"@jupyterlab/documentsearch": "3.0.0-rc.10",
"@jupyterlab/documentsearch-extension": "3.0.0-rc.10",
"@jupyterlab/extensionmanager": "3.0.0-rc.10",
"@jupyterlab/extensionmanager-extension": "3.0.0-rc.10",
"@jupyterlab/filebrowser": "3.0.0-rc.10",
"@jupyterlab/filebrowser-extension": "3.0.0-rc.10",
"@jupyterlab/fileeditor": "3.0.0-rc.10",
"@jupyterlab/fileeditor-extension": "3.0.0-rc.10",
"@jupyterlab/help-extension": "3.0.0-rc.10",
"@jupyterlab/htmlviewer": "3.0.0-rc.10",
"@jupyterlab/htmlviewer-extension": "3.0.0-rc.10",
"@jupyterlab/hub-extension": "3.0.0-rc.10",
"@jupyterlab/imageviewer": "3.0.0-rc.10",
"@jupyterlab/imageviewer-extension": "3.0.0-rc.10",
"@jupyterlab/inspector": "3.0.0-rc.10",
"@jupyterlab/inspector-extension": "3.0.0-rc.10",
"@jupyterlab/javascript-extension": "3.0.0-rc.10",
"@jupyterlab/json-extension": "3.0.0-rc.10",
"@jupyterlab/launcher": "3.0.0-rc.10",
"@jupyterlab/launcher-extension": "3.0.0-rc.10",
"@jupyterlab/logconsole": "3.0.0-rc.10",
"@jupyterlab/logconsole-extension": "3.0.0-rc.10",
"@jupyterlab/mainmenu": "3.0.0-rc.10",
"@jupyterlab/mainmenu-extension": "3.0.0-rc.10",
"@jupyterlab/markdownviewer-extension": "3.0.0-rc.10",
"@jupyterlab/mathjax2": "3.0.0-rc.10",
"@jupyterlab/mathjax2-extension": "3.0.0-rc.10",
"@jupyterlab/metapackage": "3.0.0-rc.10",
"@jupyterlab/nbconvert-css": "3.0.0-rc.10",
"@jupyterlab/nbformat": "3.0.0-rc.10",
"@jupyterlab/notebook": "3.0.0-rc.10",
"@jupyterlab/notebook-extension": "3.0.0-rc.10",
"@jupyterlab/observables": "4.0.0-rc.10",
"@jupyterlab/outputarea": "3.0.0-rc.10",
"@jupyterlab/pdf-extension": "3.0.0-rc.10",
"@jupyterlab/property-inspector": "3.0.0-rc.10",
"@jupyterlab/rendermime": "3.0.0-rc.10",
"@jupyterlab/rendermime-extension": "3.0.0-rc.10",
"@jupyterlab/rendermime-interfaces": "3.0.0-rc.10",
"@jupyterlab/running": "3.0.0-rc.10",
"@jupyterlab/running-extension": "3.0.0-rc.10",
"@jupyterlab/services": "6.0.0-rc.10",
"@jupyterlab/settingeditor": "3.0.0-rc.10",
"@jupyterlab/settingeditor-extension": "3.0.0-rc.10",
"@jupyterlab/settingregistry": "3.0.0-rc.10",
"@jupyterlab/shortcuts-extension": "3.0.0-rc.10",
"@jupyterlab/statedb": "3.0.0-rc.10",
"@jupyterlab/statusbar": "3.0.0-rc.10",
"@jupyterlab/statusbar-extension": "3.0.0-rc.10",
"@jupyterlab/terminal": "3.0.0-rc.10",
"@jupyterlab/terminal-extension": "3.0.0-rc.10",
"@jupyterlab/theme-dark-extension": "3.0.0-rc.10",
"@jupyterlab/theme-light-extension": "3.0.0-rc.10",
"@jupyterlab/toc": "5.0.0-rc.10",
"@jupyterlab/toc-extension": "5.0.0-rc.10",
"@jupyterlab/tooltip": "3.0.0-rc.10",
"@jupyterlab/tooltip-extension": "3.0.0-rc.10",
"@jupyterlab/translation": "3.0.0-rc.10",
"@jupyterlab/translation-extension": "3.0.0-rc.10",
"@jupyterlab/ui-components": "3.0.0-rc.10",
"@jupyterlab/ui-components-extension": "3.0.0-rc.10",
"@jupyterlab/vdom": "3.0.0-rc.10",
"@jupyterlab/vdom-extension": "3.0.0-rc.10",
"@jupyterlab/vega5-extension": "3.0.0-rc.10",
"@lumino/algorithm": "^1.2.3",
"@lumino/application": "^1.8.4",
"@lumino/commands": "^1.10.1",
"@lumino/coreutils": "^1.4.3",
"@lumino/disposable": "^1.3.5",
"@lumino/domutils": "^1.1.7",
"@lumino/dragdrop": "^1.5.1",
"@lumino/messaging": "^1.3.3",
"@lumino/properties": "^1.1.6",
"@lumino/signaling": "^1.3.5",
"@lumino/virtualdom": "^1.6.1",
"@lumino/widgets": "^1.14.0",
"react": "^17.0.1",
"react-dom": "^17.0.1"
}
}

@ -38,14 +38,14 @@
"dependencies": {
"@jupyterlab-classic/application": "0.1.0",
"@jupyterlab-classic/ui-components": "0.1.0",
"@jupyterlab/application": "^3.0.0-rc.10",
"@jupyterlab/apputils": "^3.0.0-rc.10",
"@jupyterlab/codeeditor": "^3.0.0-rc.10",
"@jupyterlab/codemirror": "^3.0.0-rc.10",
"@jupyterlab/docregistry": "^3.0.0-rc.10",
"@jupyterlab/docmanager": "^3.0.0-rc.10",
"@jupyterlab/notebook": "^3.0.0-rc.10",
"@jupyterlab/translation": "^3.0.0-rc.10",
"@jupyterlab/application": "^3.0.0-rc.12",
"@jupyterlab/apputils": "^3.0.0-rc.12",
"@jupyterlab/codeeditor": "^3.0.0-rc.12",
"@jupyterlab/codemirror": "^3.0.0-rc.12",
"@jupyterlab/docregistry": "^3.0.0-rc.12",
"@jupyterlab/docmanager": "^3.0.0-rc.12",
"@jupyterlab/notebook": "^3.0.0-rc.12",
"@jupyterlab/translation": "^3.0.0-rc.12",
"@lumino/widgets": "^1.14.0"
},
"devDependencies": {

@ -16,13 +16,7 @@ import {
import { PageConfig } from '@jupyterlab/coreutils';
import {
DocumentManager,
IDocumentManager,
renameDialog
} from '@jupyterlab/docmanager';
import { DocumentRegistry } from '@jupyterlab/docregistry';
import { IDocumentManager, renameDialog } from '@jupyterlab/docmanager';
import { NotebookPanel } from '@jupyterlab/notebook';
@ -47,47 +41,9 @@ const NOTEBOOK_FACTORY = 'Notebook';
* The command IDs used by the application plugin.
*/
namespace CommandIDs {
export const open = 'open';
export const open = 'docmanager:open';
}
/**
* A minimal document manager plugin.
* TODO: move to @jupyterlab-classic/docmanager-extension
*/
const doc: JupyterFrontEndPlugin<IDocumentManager> = {
id: '@jupyterlab-classic/application-extension:docmanager',
provides: IDocumentManager,
autoStart: true,
activate: (app: JupyterFrontEnd) => {
const opener = {
open: (widget: Widget, options: DocumentRegistry.IOpenOptions) => {
app.shell.add(widget, 'main', options);
}
};
const docManager = new DocumentManager({
registry: app.docRegistry,
manager: app.serviceManager,
opener
});
app.commands.addCommand(CommandIDs.open, {
label: 'Open a document',
execute: (args: any) => {
const path = args['path'] as string;
const factory = args['factory'] as string;
const options = args['options'] as DocumentRegistry.IOpenOptions;
const closable = args['closable'] as boolean;
const widget = docManager.open(path, factory, undefined, options);
if (widget) {
widget.title.closable = closable ?? true;
}
}
});
return docManager;
}
};
/**
* The kernel logo plugin.
*/
@ -350,7 +306,6 @@ const tree: JupyterFrontEndPlugin<void> = {
* Export the plugins as default.
*/
const plugins: JupyterFrontEndPlugin<any>[] = [
doc,
kernelLogo,
logo,
main,

@ -40,10 +40,10 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/application": "^3.0.0-rc.10",
"@jupyterlab/docregistry": "^3.0.0-rc.10",
"@jupyterlab/coreutils": "^5.0.0-rc.10",
"@jupyterlab/ui-components": "^3.0.0-rc.10",
"@jupyterlab/application": "^3.0.0-rc.12",
"@jupyterlab/docregistry": "^3.0.0-rc.12",
"@jupyterlab/coreutils": "^5.0.0-rc.12",
"@jupyterlab/ui-components": "^3.0.0-rc.12",
"@lumino/algorithm": "^1.3.3",
"@lumino/coreutils": "^1.5.3",
"@lumino/messaging": "^1.4.3",
@ -54,7 +54,7 @@
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.12.1",
"@jupyterlab/testutils": "^3.0.0-rc.10",
"@jupyterlab/testutils": "^3.0.0-rc.12",
"@types/jest": "^26.0.10",
"jest": "^26.4.2",
"rimraf": "~3.0.0",

@ -41,12 +41,12 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/ui-components": "^3.0.0-rc.10"
"@jupyterlab/ui-components": "^3.0.0-rc.12"
},
"devDependencies": {
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"@jupyterlab/testutils": "^3.0.0-rc.10",
"@jupyterlab/testutils": "^3.0.0-rc.12",
"@types/jest": "^26.0.10",
"babel-loader": "^8.0.6",
"jest": "^26.4.2",

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save