@datalayer/jupyter-react 0.0.1 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -54
- package/lib/{widgets/cell/CellAdapter.css → components/cell/Cell.css} +4 -0
- package/lib/components/cell/Cell.d.ts +15 -0
- package/lib/components/cell/Cell.js +48 -0
- package/lib/{widgets → components}/cell/CellAdapter.d.ts +1 -5
- package/lib/{widgets → components}/cell/CellAdapter.js +16 -43
- package/lib/components/cell/CellCommands.d.ts +6 -0
- package/lib/components/cell/CellCommands.js +37 -0
- package/lib/{widgets → components}/cell/CellState.d.ts +6 -6
- package/lib/components/cell/CellState.js +45 -0
- package/lib/components/commands/Commands.d.ts +2 -0
- package/lib/components/commands/Commands.js +8 -0
- package/lib/{widgets → components}/commands/CommandsAdapter.css +0 -0
- package/lib/{widgets → components}/commands/CommandsAdapter.d.ts +0 -0
- package/lib/{widgets → components}/commands/CommandsAdapter.js +0 -1
- package/lib/{widgets → components}/commands/CommandsState.d.ts +2 -6
- package/lib/components/commands/CommandsState.js +29 -0
- package/lib/components/console/Console.d.ts +2 -0
- package/lib/components/console/Console.js +8 -0
- package/lib/{widgets → components}/console/ConsoleAdapter.css +1 -1
- package/lib/{widgets → components}/console/ConsoleAdapter.d.ts +0 -0
- package/lib/{widgets → components}/console/ConsoleAdapter.js +12 -9
- package/lib/{widgets → components}/console/ConsoleState.d.ts +2 -6
- package/lib/components/console/ConsoleState.js +29 -0
- package/lib/components/dialog/Dialog.d.ts +2 -0
- package/lib/components/dialog/Dialog.js +12 -0
- package/lib/{widgets → components}/dialog/DialogAdapter.css +0 -0
- package/lib/{widgets → components}/dialog/DialogAdapter.d.ts +3 -3
- package/lib/{widgets → components}/dialog/DialogAdapter.js +5 -6
- package/lib/{widgets → components}/editor/CodeMirrorEditor.d.ts +0 -0
- package/lib/{widgets → components}/editor/CodeMirrorEditor.js +1 -2
- package/lib/{widgets → components}/filebrowser/FileBrowser.d.ts +0 -0
- package/lib/components/filebrowser/FileBrowser.js +8 -0
- package/lib/{widgets → components}/filebrowser/FileBrowserAdapter.css +0 -0
- package/lib/{widgets → components}/filebrowser/FileBrowserAdapter.d.ts +0 -0
- package/lib/{widgets → components}/filebrowser/FileBrowserAdapter.js +0 -1
- package/lib/{widgets → components}/filebrowser/FileBrowserState.d.ts +2 -6
- package/lib/components/filebrowser/FileBrowserState.js +29 -0
- package/lib/components/filebrowser/FileBrowserTree.d.ts +2 -0
- package/lib/{widgets/filebrowser/FileBrowser.js → components/filebrowser/FileBrowserTree.js} +4 -5
- package/lib/components/ipywidgets/IpyWidgetsComponent.css +3 -0
- package/lib/{ipywidgets → components/ipywidgets}/IpyWidgetsComponent.d.ts +1 -0
- package/lib/{ipywidgets → components/ipywidgets}/IpyWidgetsComponent.js +2 -3
- package/lib/{widgets/notebook/NotebookAdapter.css → components/notebook/Notebook.css} +1 -1
- package/lib/components/notebook/Notebook.d.ts +25 -0
- package/lib/components/notebook/Notebook.js +78 -0
- package/lib/components/notebook/NotebookAdapter.d.ts +25 -0
- package/lib/components/notebook/NotebookAdapter.js +186 -0
- package/lib/components/notebook/NotebookCommands.d.ts +38 -0
- package/lib/{widgets → components}/notebook/NotebookCommands.js +45 -26
- package/lib/{widgets → components}/notebook/NotebookState.d.ts +18 -12
- package/lib/components/notebook/NotebookState.js +116 -0
- package/lib/{widgets/notebook/extension → components/notebook/content}/CellSidebar.d.ts +3 -2
- package/lib/{widgets/notebook/extension → components/notebook/content}/CellSidebar.js +4 -5
- package/lib/{widgets/notebook/extension → components/notebook/content}/ContentFactoryWithSidebar.d.ts +2 -2
- package/lib/{widgets/notebook/extension → components/notebook/content}/ContentFactoryWithSidebar.js +3 -4
- package/lib/{widgets/notebook/extension → components/notebook/content}/NotebookInputPrompt.d.ts +0 -0
- package/lib/{widgets/notebook/extension → components/notebook/content}/NotebookInputPrompt.js +0 -1
- package/lib/components/notebook/render/marked.d.ts +3 -0
- package/lib/components/notebook/render/marked.js +71 -0
- package/lib/{widgets/outputs/OutputLumino.d.ts → components/outputs/Output.d.ts} +3 -3
- package/lib/{widgets/outputs/OutputLumino.js → components/outputs/Output.js} +10 -11
- package/lib/components/outputs/OutputAdapter.css +3 -0
- package/lib/{widgets → components}/outputs/OutputAdapter.d.ts +1 -2
- package/lib/{widgets → components}/outputs/OutputAdapter.js +3 -9
- package/lib/{widgets → components}/outputs/OutputState.d.ts +2 -6
- package/lib/components/outputs/OutputState.js +29 -0
- package/lib/components/settings/Settings.d.ts +2 -0
- package/lib/components/settings/Settings.js +8 -0
- package/lib/{widgets → components}/settings/SettingsAdapter.css +0 -0
- package/lib/{widgets → components}/settings/SettingsAdapter.d.ts +0 -0
- package/lib/{widgets → components}/settings/SettingsAdapter.js +0 -1
- package/lib/{widgets → components}/settings/SettingsState.d.ts +2 -6
- package/lib/components/settings/SettingsState.js +29 -0
- package/lib/components/terminal/Terminal.d.ts +2 -0
- package/lib/components/terminal/Terminal.js +15 -0
- package/lib/components/terminal/TerminalAdapter.css +3 -0
- package/lib/{widgets → components}/terminal/TerminalAdapter.d.ts +1 -1
- package/lib/{widgets → components}/terminal/TerminalAdapter.js +2 -3
- package/lib/{widgets → components}/terminal/TerminalState.d.ts +4 -6
- package/lib/components/terminal/TerminalState.js +37 -0
- package/lib/index.d.ts +22 -30
- package/lib/index.js +33 -43
- package/lib/jupyter/AuthError.js +0 -1
- package/lib/jupyter/Handlers.js +0 -1
- package/lib/jupyter/Jupyter.d.ts +1 -1
- package/lib/jupyter/Jupyter.js +2 -3
- package/lib/jupyter/JupyterConfig.js +0 -1
- package/lib/jupyter/JupyterContext.js +0 -1
- package/lib/{ipywidgets → jupyter/ipywidgets}/IPyWidgetsAttached.d.ts +0 -0
- package/lib/{ipywidgets → jupyter/ipywidgets}/IPyWidgetsAttached.js +0 -1
- package/lib/{ipywidgets → jupyter/ipywidgets}/IPyWidgetsClassicManager.d.ts +0 -0
- package/lib/{ipywidgets → jupyter/ipywidgets}/IPyWidgetsClassicManager.js +0 -1
- package/lib/{ipywidgets → jupyter/ipywidgets}/IPyWidgetsJupyterLabPlugin.d.ts +0 -0
- package/lib/{ipywidgets → jupyter/ipywidgets}/IPyWidgetsJupyterLabPlugin.js +1 -2
- package/lib/{ipywidgets → jupyter/ipywidgets}/IpyWidgetsManager.d.ts +0 -0
- package/lib/{ipywidgets → jupyter/ipywidgets}/IpyWidgetsManager.js +0 -1
- package/lib/{ipywidgets → jupyter/ipywidgets}/plotly/Figure.d.ts +0 -0
- package/lib/{ipywidgets → jupyter/ipywidgets}/plotly/Figure.js +2 -3
- package/lib/{ipywidgets/plotly/jupyterlab-plugin.d.ts → jupyter/ipywidgets/plotly/JupyterlabPlugin.d.ts} +0 -0
- package/lib/{ipywidgets/plotly/jupyterlab-plugin.js → jupyter/ipywidgets/plotly/JupyterlabPlugin.js} +1 -2
- package/lib/{ipywidgets/plotly/version.d.ts → jupyter/ipywidgets/plotly/Version.d.ts} +0 -0
- package/lib/{ipywidgets/plotly/version.js → jupyter/ipywidgets/plotly/Version.js} +1 -2
- package/lib/jupyter/ipywidgets/plotly/index.d.ts +2 -0
- package/lib/{ipywidgets → jupyter/ipywidgets}/plotly/index.js +1 -2
- package/lib/{lumino → jupyter/lumino}/LuminoAttached.d.ts +1 -1
- package/lib/{lumino → jupyter/lumino}/LuminoAttached.js +0 -1
- package/lib/{lumino → jupyter/lumino}/LuminoDetached.d.ts +0 -0
- package/lib/{lumino → jupyter/lumino}/LuminoDetached.js +0 -1
- package/lib/{lumino → jupyter/lumino}/LuminoObservable.d.ts +0 -0
- package/lib/{lumino → jupyter/lumino}/LuminoObservable.js +0 -1
- package/lib/{lumino → jupyter/lumino}/LuminoReactPortal.d.ts +0 -0
- package/lib/{lumino → jupyter/lumino}/LuminoReactPortal.js +0 -1
- package/lib/{lumino → jupyter/lumino}/LuminoRedux.d.ts +0 -0
- package/lib/{examples/bootstrap/All.bootstrap.d.ts → jupyter/lumino/LuminoRedux.js} +0 -0
- package/lib/jupyter/services/Services.d.ts +16 -0
- package/lib/{services → jupyter/services}/Services.js +0 -1
- package/lib/{services → jupyter/services}/kernel/Kernel.d.ts +2 -5
- package/lib/{services → jupyter/services}/kernel/Kernel.js +7 -38
- package/lib/{services → jupyter/services}/kernel/KernelModel.d.ts +1 -1
- package/lib/{services → jupyter/services}/kernel/KernelModel.js +1 -2
- package/lib/state/{AllState.d.ts → State.d.ts} +7 -1
- package/lib/state/State.js +31 -0
- package/lib/state/Store.d.ts +4 -0
- package/lib/state/Store.js +38 -0
- package/lib/state/init/Init.js +3 -4
- package/lib/state/init/{InitRedux.d.ts → InitState.d.ts} +5 -7
- package/lib/state/init/{InitRedux.js → InitState.js} +12 -15
- package/package.json +65 -99
- package/style/index.css +5 -2
- package/LICENSE +0 -21
- package/lib/examples/Example.d.ts +0 -1
- package/lib/examples/Example.js +0 -8
- package/lib/examples/Example.js.map +0 -1
- package/lib/examples/MuiSetup.d.ts +0 -5
- package/lib/examples/MuiSetup.js +0 -13
- package/lib/examples/MuiSetup.js.map +0 -1
- package/lib/examples/bootstrap/All.bootstrap.js +0 -84
- package/lib/examples/bootstrap/All.bootstrap.js.map +0 -1
- package/lib/examples/bootstrap/Cell.bootstrap.d.ts +0 -1
- package/lib/examples/bootstrap/Cell.bootstrap.js +0 -12
- package/lib/examples/bootstrap/Cell.bootstrap.js.map +0 -1
- package/lib/examples/bootstrap/FileBrowser.bootstrap.d.ts +0 -1
- package/lib/examples/bootstrap/FileBrowser.bootstrap.js +0 -10
- package/lib/examples/bootstrap/FileBrowser.bootstrap.js.map +0 -1
- package/lib/examples/bootstrap/Gallery.bootstrap.d.ts +0 -1
- package/lib/examples/bootstrap/Gallery.bootstrap.js +0 -18
- package/lib/examples/bootstrap/Gallery.bootstrap.js.map +0 -1
- package/lib/examples/bootstrap/IPyWidgets.bootstrap.d.ts +0 -1
- package/lib/examples/bootstrap/IPyWidgets.bootstrap.js +0 -12
- package/lib/examples/bootstrap/IPyWidgets.bootstrap.js.map +0 -1
- package/lib/examples/bootstrap/Lumino.bootstrap.d.ts +0 -1
- package/lib/examples/bootstrap/Lumino.bootstrap.js +0 -11
- package/lib/examples/bootstrap/Lumino.bootstrap.js.map +0 -1
- package/lib/examples/bootstrap/Notebook.bootstrap.d.ts +0 -1
- package/lib/examples/bootstrap/Notebook.bootstrap.js +0 -22
- package/lib/examples/bootstrap/Notebook.bootstrap.js.map +0 -1
- package/lib/examples/bootstrap/NotebookCustom.bootstrap.d.ts +0 -1
- package/lib/examples/bootstrap/NotebookCustom.bootstrap.js +0 -7
- package/lib/examples/bootstrap/NotebookCustom.bootstrap.js.map +0 -1
- package/lib/examples/bootstrap/Outputs.bootstrap.d.ts +0 -1
- package/lib/examples/bootstrap/Outputs.bootstrap.js +0 -154
- package/lib/examples/bootstrap/Outputs.bootstrap.js.map +0 -1
- package/lib/examples/bootstrap/Terminal.bootstrap.d.ts +0 -1
- package/lib/examples/bootstrap/Terminal.bootstrap.js +0 -13
- package/lib/examples/bootstrap/Terminal.bootstrap.js.map +0 -1
- package/lib/examples/controls/CellControl.d.ts +0 -3
- package/lib/examples/controls/CellControl.js +0 -15
- package/lib/examples/controls/CellControl.js.map +0 -1
- package/lib/examples/controls/CommandsControl.d.ts +0 -3
- package/lib/examples/controls/CommandsControl.js +0 -12
- package/lib/examples/controls/CommandsControl.js.map +0 -1
- package/lib/examples/controls/ConsoleControl.d.ts +0 -3
- package/lib/examples/controls/ConsoleControl.js +0 -12
- package/lib/examples/controls/ConsoleControl.js.map +0 -1
- package/lib/examples/controls/DialogControl.d.ts +0 -2
- package/lib/examples/controls/DialogControl.js +0 -7
- package/lib/examples/controls/DialogControl.js.map +0 -1
- package/lib/examples/controls/FileBrowserControl.d.ts +0 -3
- package/lib/examples/controls/FileBrowserControl.js +0 -12
- package/lib/examples/controls/FileBrowserControl.js.map +0 -1
- package/lib/examples/controls/InitControl.d.ts +0 -2
- package/lib/examples/controls/InitControl.js +0 -7
- package/lib/examples/controls/InitControl.js.map +0 -1
- package/lib/examples/controls/NotebookControl.d.ts +0 -3
- package/lib/examples/controls/NotebookControl.js +0 -16
- package/lib/examples/controls/NotebookControl.js.map +0 -1
- package/lib/examples/controls/OutputControl.d.ts +0 -3
- package/lib/examples/controls/OutputControl.js +0 -7
- package/lib/examples/controls/OutputControl.js.map +0 -1
- package/lib/examples/controls/SettingsControl.d.ts +0 -3
- package/lib/examples/controls/SettingsControl.js +0 -12
- package/lib/examples/controls/SettingsControl.js.map +0 -1
- package/lib/examples/controls/SimpleControl.d.ts +0 -2
- package/lib/examples/controls/SimpleControl.js +0 -7
- package/lib/examples/controls/SimpleControl.js.map +0 -1
- package/lib/examples/controls/TerminalControl.d.ts +0 -3
- package/lib/examples/controls/TerminalControl.js +0 -22
- package/lib/examples/controls/TerminalControl.js.map +0 -1
- package/lib/examples/examples/cell/CellExample.d.ts +0 -2
- package/lib/examples/examples/cell/CellExample.js +0 -42
- package/lib/examples/examples/cell/CellExample.js.map +0 -1
- package/lib/examples/examples/gallery/GalleryExample.d.ts +0 -2
- package/lib/examples/examples/gallery/GalleryExample.js +0 -154
- package/lib/examples/examples/gallery/GalleryExample.js.map +0 -1
- package/lib/examples/examples/ipywidgets/IpyWidgetsExample.d.ts +0 -4
- package/lib/examples/examples/ipywidgets/IpyWidgetsExample.js +0 -156
- package/lib/examples/examples/ipywidgets/IpyWidgetsExample.js.map +0 -1
- package/lib/examples/examples/lumino/LuminoAdapter.css +0 -34
- package/lib/examples/examples/lumino/LuminoAdapter.d.ts +0 -9
- package/lib/examples/examples/lumino/LuminoAdapter.js +0 -70
- package/lib/examples/examples/lumino/LuminoAdapter.js.map +0 -1
- package/lib/examples/examples/lumino/LuminoExample.d.ts +0 -2
- package/lib/examples/examples/lumino/LuminoExample.js +0 -10
- package/lib/examples/examples/lumino/LuminoExample.js.map +0 -1
- package/lib/examples/examples/notebook/NotebookCustomHeader.d.ts +0 -2
- package/lib/examples/examples/notebook/NotebookCustomHeader.js +0 -39
- package/lib/examples/examples/notebook/NotebookCustomHeader.js.map +0 -1
- package/lib/examples/examples/notebook/NotebookExample.d.ts +0 -1
- package/lib/examples/examples/notebook/NotebookExample.js +0 -24
- package/lib/examples/examples/notebook/NotebookExample.js.map +0 -1
- package/lib/examples/theme/Layers.d.ts +0 -2
- package/lib/examples/theme/Layers.js +0 -15
- package/lib/examples/theme/Layers.js.map +0 -1
- package/lib/examples/theme/Layers.svg +0 -14
- package/lib/examples/theme/muiLightTheme.d.ts +0 -8
- package/lib/examples/theme/muiLightTheme.js +0 -169
- package/lib/examples/theme/muiLightTheme.js.map +0 -1
- package/lib/examples/theme/vintage.project.json +0 -172
- package/lib/examples/theme/westeros.project.json +0 -168
- package/lib/examples/theme/wonderland.project.json +0 -168
- package/lib/index.js.map +0 -1
- package/lib/ipywidgets/IPyWidgetsAttached.js.map +0 -1
- package/lib/ipywidgets/IPyWidgetsClassicManager.js.map +0 -1
- package/lib/ipywidgets/IPyWidgetsJupyterLabPlugin.js.map +0 -1
- package/lib/ipywidgets/IpyWidgetsComponent.js.map +0 -1
- package/lib/ipywidgets/IpyWidgetsManager.js.map +0 -1
- package/lib/ipywidgets/plotly/Figure.js.map +0 -1
- package/lib/ipywidgets/plotly/index.d.ts +0 -2
- package/lib/ipywidgets/plotly/index.js.map +0 -1
- package/lib/ipywidgets/plotly/jupyterlab-plugin.js.map +0 -1
- package/lib/ipywidgets/plotly/version.js.map +0 -1
- package/lib/jupyter/AuthError.js.map +0 -1
- package/lib/jupyter/Handlers.js.map +0 -1
- package/lib/jupyter/Jupyter.js.map +0 -1
- package/lib/jupyter/JupyterConfig.js.map +0 -1
- package/lib/jupyter/JupyterContext.js.map +0 -1
- package/lib/lumino/LuminoAttached.js.map +0 -1
- package/lib/lumino/LuminoDetached.js.map +0 -1
- package/lib/lumino/LuminoObservable.js.map +0 -1
- package/lib/lumino/LuminoReactPortal.js.map +0 -1
- package/lib/lumino/LuminoRedux.js +0 -2
- package/lib/lumino/LuminoRedux.js.map +0 -1
- package/lib/services/Services.d.ts +0 -17
- package/lib/services/Services.js.map +0 -1
- package/lib/services/kernel/Kernel.js.map +0 -1
- package/lib/services/kernel/KernelModel.js.map +0 -1
- package/lib/state/AllState.js +0 -24
- package/lib/state/AllState.js.map +0 -1
- package/lib/state/InjectableStore.d.ts +0 -9
- package/lib/state/InjectableStore.js +0 -27
- package/lib/state/InjectableStore.js.map +0 -1
- package/lib/state/init/Init.js.map +0 -1
- package/lib/state/init/InitRedux.js.map +0 -1
- package/lib/widgets/cell/CellAdapter.js.map +0 -1
- package/lib/widgets/cell/CellLumino.d.ts +0 -9
- package/lib/widgets/cell/CellLumino.js +0 -48
- package/lib/widgets/cell/CellLumino.js.map +0 -1
- package/lib/widgets/cell/CellState.js +0 -79
- package/lib/widgets/cell/CellState.js.map +0 -1
- package/lib/widgets/commands/CommandsAdapter.js.map +0 -1
- package/lib/widgets/commands/CommandsLumino.d.ts +0 -2
- package/lib/widgets/commands/CommandsLumino.js +0 -9
- package/lib/widgets/commands/CommandsLumino.js.map +0 -1
- package/lib/widgets/commands/CommandsState.js +0 -50
- package/lib/widgets/commands/CommandsState.js.map +0 -1
- package/lib/widgets/console/ConsoleAdapter.js.map +0 -1
- package/lib/widgets/console/ConsoleLumino.d.ts +0 -2
- package/lib/widgets/console/ConsoleLumino.js +0 -9
- package/lib/widgets/console/ConsoleLumino.js.map +0 -1
- package/lib/widgets/console/ConsoleState.js +0 -50
- package/lib/widgets/console/ConsoleState.js.map +0 -1
- package/lib/widgets/dialog/DialogAdapter.js.map +0 -1
- package/lib/widgets/dialog/DialogLumino.d.ts +0 -2
- package/lib/widgets/dialog/DialogLumino.js +0 -13
- package/lib/widgets/dialog/DialogLumino.js.map +0 -1
- package/lib/widgets/editor/CodeMirrorEditor.js.map +0 -1
- package/lib/widgets/filebrowser/FileBrowser.js.map +0 -1
- package/lib/widgets/filebrowser/FileBrowserAdapter.js.map +0 -1
- package/lib/widgets/filebrowser/FileBrowserLumino.d.ts +0 -2
- package/lib/widgets/filebrowser/FileBrowserLumino.js +0 -9
- package/lib/widgets/filebrowser/FileBrowserLumino.js.map +0 -1
- package/lib/widgets/filebrowser/FileBrowserState.js +0 -50
- package/lib/widgets/filebrowser/FileBrowserState.js.map +0 -1
- package/lib/widgets/notebook/NotebookAdapter.d.ts +0 -26
- package/lib/widgets/notebook/NotebookAdapter.js +0 -187
- package/lib/widgets/notebook/NotebookAdapter.js.map +0 -1
- package/lib/widgets/notebook/NotebookCommands.d.ts +0 -7
- package/lib/widgets/notebook/NotebookCommands.js.map +0 -1
- package/lib/widgets/notebook/NotebookLumino.d.ts +0 -19
- package/lib/widgets/notebook/NotebookLumino.js +0 -75
- package/lib/widgets/notebook/NotebookLumino.js.map +0 -1
- package/lib/widgets/notebook/NotebookState.js +0 -114
- package/lib/widgets/notebook/NotebookState.js.map +0 -1
- package/lib/widgets/notebook/NotebookToolbar.d.ts +0 -2
- package/lib/widgets/notebook/NotebookToolbar.js +0 -24
- package/lib/widgets/notebook/NotebookToolbar.js.map +0 -1
- package/lib/widgets/notebook/extension/CellSidebar.js.map +0 -1
- package/lib/widgets/notebook/extension/CellSidebarDefault.d.ts +0 -2
- package/lib/widgets/notebook/extension/CellSidebarDefault.js +0 -47
- package/lib/widgets/notebook/extension/CellSidebarDefault.js.map +0 -1
- package/lib/widgets/notebook/extension/ContentFactoryWithSidebar.js.map +0 -1
- package/lib/widgets/notebook/extension/NotebookInputPrompt.js.map +0 -1
- package/lib/widgets/outputs/OutputAdapter.css +0 -0
- package/lib/widgets/outputs/OutputAdapter.js.map +0 -1
- package/lib/widgets/outputs/OutputLumino.js.map +0 -1
- package/lib/widgets/outputs/OutputState.js +0 -50
- package/lib/widgets/outputs/OutputState.js.map +0 -1
- package/lib/widgets/settings/SettingsAdapter.js.map +0 -1
- package/lib/widgets/settings/SettingsLumino.d.ts +0 -2
- package/lib/widgets/settings/SettingsLumino.js +0 -11
- package/lib/widgets/settings/SettingsLumino.js.map +0 -1
- package/lib/widgets/settings/SettingsState.js +0 -50
- package/lib/widgets/settings/SettingsState.js.map +0 -1
- package/lib/widgets/terminal/TerminalAdapter.css +0 -3
- package/lib/widgets/terminal/TerminalAdapter.js.map +0 -1
- package/lib/widgets/terminal/TerminalLumino.d.ts +0 -2
- package/lib/widgets/terminal/TerminalLumino.js +0 -17
- package/lib/widgets/terminal/TerminalLumino.js.map +0 -1
- package/lib/widgets/terminal/TerminalState.js +0 -45
- package/lib/widgets/terminal/TerminalState.js.map +0 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { combineReducers } from "redux";
|
|
2
|
+
import { combineEpics } from "redux-observable";
|
|
3
|
+
import { initInitialState, initReducer, initEpics } from "./init/InitState";
|
|
4
|
+
import { cellInitialState, cellReducer } from "../components/cell/CellState";
|
|
5
|
+
import { notebookInitialState, notebookEpics, notebookReducer } from "../components/notebook/NotebookState";
|
|
6
|
+
import { terminalInitialState, terminalReducer } from "../components/terminal/TerminalState";
|
|
7
|
+
export const initialState = {
|
|
8
|
+
counter: initInitialState,
|
|
9
|
+
cell: cellInitialState,
|
|
10
|
+
notebook: notebookInitialState,
|
|
11
|
+
terminal: terminalInitialState,
|
|
12
|
+
};
|
|
13
|
+
/* Actions
|
|
14
|
+
export type ActionUnion<
|
|
15
|
+
A extends { [asyncActionCreator: string]: (...args: any[]) => any; }
|
|
16
|
+
> = Exclude<ReturnType<A[keyof A]>, (...args: any[]) => Promise<void>>;
|
|
17
|
+
|
|
18
|
+
export type CellAction = ActionUnion<typeof cellActions>;
|
|
19
|
+
export type NotebookAction = ActionUnion<typeof notebookActions>;
|
|
20
|
+
|
|
21
|
+
export type AppAction = CellAction | NotebookAction;
|
|
22
|
+
*/
|
|
23
|
+
/* Epics */
|
|
24
|
+
export const epics = combineEpics(initEpics, notebookEpics);
|
|
25
|
+
/* Reducers */
|
|
26
|
+
export const reducers = combineReducers({
|
|
27
|
+
counter: initReducer,
|
|
28
|
+
cell: cellReducer,
|
|
29
|
+
notebook: notebookReducer,
|
|
30
|
+
terminal: terminalReducer,
|
|
31
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { applyMiddleware, createStore } from "redux";
|
|
2
|
+
import { createEpicMiddleware } from "redux-observable";
|
|
3
|
+
import { reducers, epics } from "./State";
|
|
4
|
+
// import { BehaviorSubject } from 'rxjs';
|
|
5
|
+
// import { mergeMap } from 'rxjs/operators';
|
|
6
|
+
// import { initEpics } from "./init/InitState";
|
|
7
|
+
const epicMiddleware = createEpicMiddleware();
|
|
8
|
+
/*
|
|
9
|
+
function createReducer(asyncReducers: any) {
|
|
10
|
+
return combineReducers({
|
|
11
|
+
...reducers,
|
|
12
|
+
...asyncReducers,
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
*/
|
|
16
|
+
function createInjectableStore() {
|
|
17
|
+
const injectableStore = createStore(
|
|
18
|
+
// createReducer({}),
|
|
19
|
+
reducers, applyMiddleware(epicMiddleware));
|
|
20
|
+
/*
|
|
21
|
+
(injectableStore as any).asyncReducers = {};
|
|
22
|
+
(injectableStore as any).injectReducer = (key: any, asyncReducer: any) => {
|
|
23
|
+
(injectableStore as any).asyncReducers[key] = asyncReducer;
|
|
24
|
+
injectableStore.replaceReducer(createReducer((injectableStore as any).asyncReducers));
|
|
25
|
+
}
|
|
26
|
+
*/
|
|
27
|
+
epicMiddleware.run(epics);
|
|
28
|
+
return injectableStore;
|
|
29
|
+
}
|
|
30
|
+
/*
|
|
31
|
+
export const epic$ = new BehaviorSubject(initEpics);
|
|
32
|
+
const rootEpic = (action$: any, state$: any, deps: any) => epic$.pipe(
|
|
33
|
+
mergeMap(epic => epic(action$, state$, deps))
|
|
34
|
+
);
|
|
35
|
+
epicMiddleware.run(rootEpic);
|
|
36
|
+
*/
|
|
37
|
+
const injectableStore = createInjectableStore();
|
|
38
|
+
export default injectableStore;
|
package/lib/state/init/Init.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { useDispatch } from "react-redux";
|
|
3
|
-
import { selectInit, initActions } from './
|
|
3
|
+
import { selectInit, initActions } from './InitState';
|
|
4
4
|
const Init = () => {
|
|
5
5
|
const init = selectInit();
|
|
6
6
|
const dispatch = useDispatch();
|
|
7
7
|
return (_jsxs(_Fragment, { children: [_jsxs("h2", { children: ["Init value: ", init] }, void 0),
|
|
8
|
-
_jsx("button", Object.assign({ onClick: () => dispatch(initActions.increment.started(
|
|
9
|
-
_jsx("button", Object.assign({ onClick: () => dispatch(initActions.decrement.started(
|
|
8
|
+
_jsx("button", Object.assign({ onClick: () => dispatch(initActions.increment.started()) }, { children: "Increment Init (1 second delay)" }), void 0),
|
|
9
|
+
_jsx("button", Object.assign({ onClick: () => dispatch(initActions.decrement.started()) }, { children: "Decrement Init (0.2 second delay)" }), void 0)] }, void 0));
|
|
10
10
|
};
|
|
11
11
|
export default Init;
|
|
12
|
-
//# sourceMappingURL=Init.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { Epic } from "redux-observable";
|
|
2
|
-
import { AnyAction } from "typescript-fsa";
|
|
3
1
|
export declare type IInit = number;
|
|
4
2
|
export interface IInitState {
|
|
5
3
|
init: IInit;
|
|
@@ -7,14 +5,14 @@ export interface IInitState {
|
|
|
7
5
|
export declare const initInitialState: IInitState;
|
|
8
6
|
export declare const selectInit: () => any;
|
|
9
7
|
export declare enum ActionType {
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
INCREMENT = "init/INCREMENT",
|
|
9
|
+
DECREMENT = "init/DECREMENT"
|
|
12
10
|
}
|
|
13
11
|
export declare const initActions: {
|
|
14
|
-
increment: import("typescript-fsa").AsyncActionCreators<
|
|
15
|
-
decrement: import("typescript-fsa").AsyncActionCreators<
|
|
12
|
+
increment: import("typescript-fsa").AsyncActionCreators<void, void, {}>;
|
|
13
|
+
decrement: import("typescript-fsa").AsyncActionCreators<void, void, {}>;
|
|
16
14
|
};
|
|
17
|
-
export declare const initEpics:
|
|
15
|
+
export declare const initEpics: any;
|
|
18
16
|
export declare const initReducer: import("typescript-fsa-reducers").ReducerBuilder<IInitState, IInitState>;
|
|
19
17
|
export declare const initReducers: {
|
|
20
18
|
initReducer: import("typescript-fsa-reducers").ReducerBuilder<IInitState, IInitState>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useSelector } from "react-redux";
|
|
2
2
|
import actionCreatorFactory from "typescript-fsa";
|
|
3
3
|
import { combineEpics } from "redux-observable";
|
|
4
|
-
import { delay, map, ignoreElements } from "rxjs/operators";
|
|
4
|
+
import { delay, map, tap, ignoreElements } from "rxjs/operators";
|
|
5
5
|
import { ofAction } from "@datalayer/typescript-fsa-redux-observable";
|
|
6
6
|
import { reducerWithInitialState } from "typescript-fsa-reducers";
|
|
7
7
|
export const initInitialState = {
|
|
@@ -14,29 +14,27 @@ export const selectInit = () => useSelector((state) => {
|
|
|
14
14
|
/* Actions */
|
|
15
15
|
export var ActionType;
|
|
16
16
|
(function (ActionType) {
|
|
17
|
-
ActionType["
|
|
18
|
-
ActionType["
|
|
17
|
+
ActionType["INCREMENT"] = "init/INCREMENT";
|
|
18
|
+
ActionType["DECREMENT"] = "init/DECREMENT";
|
|
19
19
|
})(ActionType || (ActionType = {}));
|
|
20
20
|
const actionCreator = actionCreatorFactory('jupyterReact');
|
|
21
21
|
export const initActions = {
|
|
22
|
-
increment: actionCreator.async(ActionType.
|
|
23
|
-
decrement: actionCreator.async(ActionType.
|
|
22
|
+
increment: actionCreator.async(ActionType.INCREMENT),
|
|
23
|
+
decrement: actionCreator.async(ActionType.DECREMENT)
|
|
24
24
|
};
|
|
25
25
|
/* Epics */
|
|
26
26
|
const initIncrementEpic = action$ => action$.pipe(ofAction(initActions.increment.started), delay(2000), map(action => initActions.increment.done({
|
|
27
27
|
params: action.payload,
|
|
28
28
|
result: undefined
|
|
29
29
|
})));
|
|
30
|
-
const initDecrementEpic = action$ =>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
const initDecrementEpic = action$ => {
|
|
31
|
+
return action$.pipe(ofAction(initActions.decrement.started), delay(100), map(action => initActions.decrement.done({
|
|
32
|
+
params: action.payload,
|
|
33
|
+
result: undefined
|
|
34
|
+
})));
|
|
35
|
+
};
|
|
34
36
|
const loggingEpic = action$ => action$
|
|
35
|
-
.pipe(ofAction(initActions.decrement.started, initActions.increment.started),
|
|
36
|
-
// tap(action => console.log(action.type)),
|
|
37
|
-
ignoreElements()).pipe(ofAction(initActions.increment.started),
|
|
38
|
-
// tap(action => console.log(action.type)),
|
|
39
|
-
ignoreElements());
|
|
37
|
+
.pipe(ofAction(initActions.decrement.started), tap(action => console.log(action.type)), ignoreElements()).pipe(ofAction(initActions.increment.started), tap(action => console.log(action.type)), ignoreElements());
|
|
40
38
|
export const initEpics = combineEpics(initIncrementEpic, initDecrementEpic, loggingEpic);
|
|
41
39
|
/* Reducers */
|
|
42
40
|
export const initReducer = reducerWithInitialState(initInitialState)
|
|
@@ -47,4 +45,3 @@ export const initReducer = reducerWithInitialState(initInitialState)
|
|
|
47
45
|
export const initReducers = {
|
|
48
46
|
initReducer: initReducer
|
|
49
47
|
};
|
|
50
|
-
//# sourceMappingURL=InitRedux.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datalayer/jupyter-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
|
+
"description": "Jupyter React",
|
|
4
5
|
"license": "MIT",
|
|
5
6
|
"private": false,
|
|
6
7
|
"main": "lib/index.js",
|
|
@@ -8,13 +9,18 @@
|
|
|
8
9
|
"lib",
|
|
9
10
|
"style"
|
|
10
11
|
],
|
|
12
|
+
"keywords": [
|
|
13
|
+
"jupyter",
|
|
14
|
+
"react",
|
|
15
|
+
"jupyterlab"
|
|
16
|
+
],
|
|
11
17
|
"scripts": {
|
|
12
|
-
"build": "gulp resources-to-lib && tsc && webpack",
|
|
13
|
-
"build:prod": "gulp resources-to-lib && tsc &&
|
|
18
|
+
"build": "gulp resources-to-lib && tsc && NODE_OPTIONS=\"${NODE_OPTIONS}\" webpack",
|
|
19
|
+
"build:prod": "gulp resources-to-lib && tsc && NODE_OPTIONS=\"${NODE_OPTIONS}\"",
|
|
14
20
|
"clean": "rimraf lib build dist tsconfig.tsbuildinfo",
|
|
15
21
|
"start": "run-p -c start:*",
|
|
16
|
-
"start:
|
|
17
|
-
"start:
|
|
22
|
+
"start:jupyter": "cd ./../.. && make start-jupyter-server",
|
|
23
|
+
"start:webpack": "NODE_OPTIONS=\"${NODE_OPTIONS}\" webpack serve",
|
|
18
24
|
"build:tsc:watch:tsc": "tsc --watch",
|
|
19
25
|
"build:tsc:watch:res": "gulp resources-to-lib-watch",
|
|
20
26
|
"typedoc": "typedoc ./src",
|
|
@@ -25,61 +31,74 @@
|
|
|
25
31
|
"@codemirror/basic-setup": "0.19.0",
|
|
26
32
|
"@codemirror/lang-python": "0.19.2",
|
|
27
33
|
"@datalayer/typescript-fsa-redux-observable": "0.18.0",
|
|
28
|
-
"@
|
|
29
|
-
"@
|
|
30
|
-
"@jupyter-widgets/
|
|
31
|
-
"@jupyter-widgets/
|
|
32
|
-
"@jupyter-widgets/
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@jupyterlab/
|
|
36
|
-
"@jupyterlab/
|
|
37
|
-
"@jupyterlab/
|
|
38
|
-
"@jupyterlab/
|
|
39
|
-
"@jupyterlab/
|
|
40
|
-
"@jupyterlab/
|
|
41
|
-
"@jupyterlab/
|
|
42
|
-
"@jupyterlab/
|
|
43
|
-
"@jupyterlab/
|
|
44
|
-
"@jupyterlab/
|
|
45
|
-
"@jupyterlab/
|
|
46
|
-
"@jupyterlab/
|
|
47
|
-
"@jupyterlab/
|
|
48
|
-
"@jupyterlab/
|
|
49
|
-
"@jupyterlab/
|
|
50
|
-
"@jupyterlab/
|
|
51
|
-
"@
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
34
|
+
"@jupyter-widgets/base": "6.0.0-rc.1",
|
|
35
|
+
"@jupyter-widgets/controls": "5.0.0-rc.1",
|
|
36
|
+
"@jupyter-widgets/html-manager": "1.0.0-rc.1",
|
|
37
|
+
"@jupyter-widgets/jupyterlab-manager": "5.0.0-rc.1",
|
|
38
|
+
"@jupyter-widgets/output": "6.0.0-rc.1",
|
|
39
|
+
"@jupyterlab/apputils": "4.0.0-alpha.11",
|
|
40
|
+
"@jupyterlab/cells": "4.0.0-alpha.11",
|
|
41
|
+
"@jupyterlab/codemirror": "4.0.0-alpha.11",
|
|
42
|
+
"@jupyterlab/completer": "4.0.0-alpha.11",
|
|
43
|
+
"@jupyterlab/console": "4.0.0-alpha.11",
|
|
44
|
+
"@jupyterlab/coreutils": "6.0.0-alpha.11",
|
|
45
|
+
"@jupyterlab/docmanager": "4.0.0-alpha.11",
|
|
46
|
+
"@jupyterlab/docprovider": "4.0.0-alpha.11",
|
|
47
|
+
"@jupyterlab/docregistry": "4.0.0-alpha.11",
|
|
48
|
+
"@jupyterlab/documentsearch": "4.0.0-alpha.11",
|
|
49
|
+
"@jupyterlab/filebrowser": "4.0.0-alpha.11",
|
|
50
|
+
"@jupyterlab/fileeditor": "4.0.0-alpha.11",
|
|
51
|
+
"@jupyterlab/json-extension": "4.0.0-alpha.11",
|
|
52
|
+
"@jupyterlab/javascript-extension": "4.0.0-alpha.11",
|
|
53
|
+
"@jupyterlab/mathjax2": "4.0.0-alpha.11",
|
|
54
|
+
"@jupyterlab/markedparser-extension": "4.0.0-alpha.11",
|
|
55
|
+
"@jupyterlab/notebook": "4.0.0-alpha.11",
|
|
56
|
+
"@jupyterlab/outputarea": "4.0.0-alpha.11",
|
|
57
|
+
"@jupyterlab/rendermime": "4.0.0-alpha.11",
|
|
58
|
+
"@jupyterlab/rendermime-extension": "4.0.0-alpha.11",
|
|
59
|
+
"@jupyterlab/rendermime-interfaces": "3.8.0-alpha.11",
|
|
60
|
+
"@jupyterlab/services": "7.0.0-alpha.11",
|
|
61
|
+
"@jupyterlab/terminal": "4.0.0-alpha.11",
|
|
62
|
+
"@jupyterlab/theme-dark-extension": "4.0.0-alpha.11",
|
|
63
|
+
"@jupyterlab/theme-light-extension": "4.0.0-alpha.11",
|
|
64
|
+
"@lumino/commands": "1.20.0",
|
|
65
|
+
"@lumino/coreutils": "1.12.0",
|
|
66
|
+
"@lumino/default-theme": "0.21.1",
|
|
67
|
+
"@lumino/widgets": "1.31.1",
|
|
68
|
+
"marked": "4.0.10",
|
|
54
69
|
"lodash": "^4.17.4",
|
|
55
|
-
"plotly.js": "2.
|
|
56
|
-
"react": "
|
|
57
|
-
"react-dom": "
|
|
70
|
+
"plotly.js": "2.11.1",
|
|
71
|
+
"react": "18.1.0",
|
|
72
|
+
"react-dom": "18.1.0",
|
|
58
73
|
"react-error-boundary": "3.1.3",
|
|
59
74
|
"react-redux": "7.2.4",
|
|
60
75
|
"redux": "4.1.0",
|
|
61
76
|
"redux-observable": "1.2.0",
|
|
62
|
-
"rxjs": "6.
|
|
77
|
+
"rxjs": "6.6.0",
|
|
63
78
|
"typescript-fsa": "3.0.0",
|
|
64
79
|
"typescript-fsa-reducers": "1.2.1",
|
|
65
80
|
"uuid": "8.3.2"
|
|
66
81
|
},
|
|
67
82
|
"devDependencies": {
|
|
83
|
+
"@types/marked": "4.0.1",
|
|
68
84
|
"@babel/core": "7.14.6",
|
|
69
85
|
"@babel/plugin-proposal-class-properties": "7.14.5",
|
|
70
86
|
"@babel/preset-react": "7.14.5",
|
|
71
87
|
"@babel/preset-typescript": "7.14.5",
|
|
72
|
-
"@mui/material": "5.0.0",
|
|
73
|
-
"@mui/icons-material": "5.0.0",
|
|
74
|
-
"@mui/lab": "5.0.0-alpha.47",
|
|
75
|
-
"@mui/styles": "5.0.0",
|
|
76
|
-
"@mui/system": "5.0.0",
|
|
77
88
|
"@types/codemirror": "5.60.4",
|
|
78
89
|
"@types/node": "15.6.1",
|
|
79
90
|
"@types/plotly.js": "1.54.11",
|
|
80
|
-
"@types/react": "
|
|
81
|
-
"@types/react-dom": "
|
|
91
|
+
"@types/react": "18.0.9",
|
|
92
|
+
"@types/react-dom": "18.0.5",
|
|
82
93
|
"@types/uuid": "8.3.0",
|
|
94
|
+
"@emotion/react": "11.4.0",
|
|
95
|
+
"@emotion/styled": "11.3.0",
|
|
96
|
+
"@mui/material": "5.8.3",
|
|
97
|
+
"@mui/icons-material": "5.8.3",
|
|
98
|
+
"@mui/lab": "5.0.0-alpha.85",
|
|
99
|
+
"@mui/styles": "5.8.3",
|
|
100
|
+
"@mui/system": "5.8.3",
|
|
101
|
+
"@primer/react": "35.3.0",
|
|
83
102
|
"assert": "2.0.0",
|
|
84
103
|
"babel-loader": "8.2.2",
|
|
85
104
|
"bundle-loader": "0.5.6",
|
|
@@ -100,64 +119,11 @@
|
|
|
100
119
|
"style-loader": "2.0.0",
|
|
101
120
|
"svg-url-loader": "~3.0.3",
|
|
102
121
|
"typedoc": "0.20.37",
|
|
103
|
-
"typescript": "4.2.
|
|
122
|
+
"typescript": "4.2.4",
|
|
104
123
|
"url-loader": "~3.0.0",
|
|
105
124
|
"watch": "~1.0.2",
|
|
106
|
-
"webpack": "5.
|
|
107
|
-
"webpack-cli": "4.
|
|
108
|
-
"webpack-dev-
|
|
109
|
-
"webpack-dev-server": "4.3.1"
|
|
110
|
-
},
|
|
111
|
-
"resolutions": {
|
|
112
|
-
"**/@jupyterlab/application": "3.1.0",
|
|
113
|
-
"**/@jupyterlab/apputils": "3.1.0",
|
|
114
|
-
"**/@jupyterlab/cells": "3.1.0",
|
|
115
|
-
"**/@jupyterlab/codemirror": "3.1.0",
|
|
116
|
-
"**/@jupyterlab/completer": "3.1.0",
|
|
117
|
-
"**/@jupyterlab/console": "3.1.0",
|
|
118
|
-
"**/@jupyterlab/coreutils": "5.1.0",
|
|
119
|
-
"**/@jupyterlab/docmanager": "3.1.0",
|
|
120
|
-
"**/@jupyterlab/docregistry": "3.1.0",
|
|
121
|
-
"**/@jupyterlab/documentsearch": "3.1.0",
|
|
122
|
-
"**/@jupyterlab/filebrowser": "3.1.0",
|
|
123
|
-
"**/@jupyterlab/json-extension": "3.1.0",
|
|
124
|
-
"**/@jupyterlab/launcher": "3.1.0",
|
|
125
|
-
"**/@jupyterlab/mainmenu": "3.1.0",
|
|
126
|
-
"**/@jupyterlab/mathjax2": "3.1.0",
|
|
127
|
-
"**/@jupyterlab/notebook": "3.1.0",
|
|
128
|
-
"**/@jupyterlab/rendermime": "3.1.0",
|
|
129
|
-
"**/@jupyterlab/services": "6.1.0",
|
|
130
|
-
"**/@jupyterlab/settingregistry": "3.1.0",
|
|
131
|
-
"**/@jupyterlab/terminal": "3.1.0",
|
|
132
|
-
"**/@jupyterlab/theme-dark-extension": "3.1.0",
|
|
133
|
-
"**/@jupyterlab/theme-light-extension": "3.1.0",
|
|
134
|
-
"**/@jupyterlab/ui-components": "3.1.0",
|
|
135
|
-
"**/@lumino/commands": "1.15.0",
|
|
136
|
-
"**/@lumino/coreutils": "1.11.1",
|
|
137
|
-
"**/@lumino/default-theme": "0.14.0",
|
|
138
|
-
"**/@lumino/widgets": "1.23.0",
|
|
139
|
-
"**/@jupyter-widgets/base": "5.0.0-beta.1",
|
|
140
|
-
"**/@jupyter-widgets/controls": "4.0.0-beta.1",
|
|
141
|
-
"**/@jupyter-widgets/html-manager": "0.21.0-beta.1",
|
|
142
|
-
"**/@jupyter-widgets/jupyterlab-manager": "4.0.0-beta.1",
|
|
143
|
-
"**/@jupyter-widgets/output": "5.0.0-beta.1",
|
|
144
|
-
"**/@mui/material": "5.0.0",
|
|
145
|
-
"**/@mui/icons-material": "5.0.0",
|
|
146
|
-
"**/@mui/styles": "5.0.0",
|
|
147
|
-
"**/@mui/system": "5.0.0",
|
|
148
|
-
"**/@mui/lab": "5.0.0-alpha.47",
|
|
149
|
-
"**/@types/react": "17.0.6",
|
|
150
|
-
"**/@types/react-dom": "17.0.5",
|
|
151
|
-
"**/react": "17.0.2",
|
|
152
|
-
"**/react-dom": "17.0.2",
|
|
153
|
-
"**/react-redux": "7.2.4",
|
|
154
|
-
"**/redux": "4.1.0",
|
|
155
|
-
"**/redux-observable": "1.2.0",
|
|
156
|
-
"**/rxjs": "6.5.5",
|
|
157
|
-
"**/typescript": "4.2.4",
|
|
158
|
-
"**/html-webpack-plugin": "5.3.1",
|
|
159
|
-
"**/webpack": "5.57.1",
|
|
160
|
-
"**/webpack-cli": "4.9.0",
|
|
161
|
-
"**/webpack-dev-server": "4.3.1"
|
|
125
|
+
"webpack": "5.74.0",
|
|
126
|
+
"webpack-cli": "4.10.0",
|
|
127
|
+
"webpack-dev-server": "4.9.3"
|
|
162
128
|
}
|
|
163
129
|
}
|
package/style/index.css
CHANGED
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
Copyright (c) Datalayer Inc. All rights reserved.
|
|
2
|
-
|
|
3
|
-
MIT License
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./../../style/index.css";
|
package/lib/examples/Example.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Example.js","sourceRoot":"","sources":["../../src/examples/Example.tsx"],"names":[],"mappings":"AAAA,aAAa;AACb,OAAO,SAAS,MAAM,+BAA+B,CAAC;AAEtD,OAAO,yBAAyB,CAAC;AAEjC;;GAEG;AACH,SAAS,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC"}
|
package/lib/examples/MuiSetup.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { create } from 'jss';
|
|
2
|
-
import { jssPreset } from '@mui/styles';
|
|
3
|
-
import createCache from '@emotion/cache';
|
|
4
|
-
const setupMui = (id) => {
|
|
5
|
-
const jss = create(Object.assign(Object.assign({}, jssPreset()), { insertionPoint: document.getElementById(id) }));
|
|
6
|
-
const cache = createCache({
|
|
7
|
-
key: 'css',
|
|
8
|
-
prepend: true,
|
|
9
|
-
});
|
|
10
|
-
return { jss, cache };
|
|
11
|
-
};
|
|
12
|
-
export default setupMui;
|
|
13
|
-
//# sourceMappingURL=MuiSetup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MuiSetup.js","sourceRoot":"","sources":["../../src/examples/MuiSetup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,MAAM,QAAQ,GAAG,CAAC,EAAU,EAAE,EAAE;IAC9B,MAAM,GAAG,GAAG,MAAM,iCACb,SAAS,EAAE,KACd,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAgB,IAC1D,CAAC;IACH,MAAM,KAAK,GAAG,WAAW,CAAC;QACxB,GAAG,EAAE,KAAK;QACV,OAAO,EAAE,IAAI;KACd,CAAC,CAAC;IACH,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAA;AACvB,CAAC,CAAA;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { useEffect, useState } from 'react';
|
|
3
|
-
import { render } from 'react-dom';
|
|
4
|
-
import { ThemeProvider } from '@mui/material/styles';
|
|
5
|
-
import muiLightTheme from '../theme/muiLightTheme';
|
|
6
|
-
import Jupyter from '../../jupyter/Jupyter';
|
|
7
|
-
import { useJupyter } from '../../jupyter/JupyterContext';
|
|
8
|
-
import CellLumino from '../../widgets/cell/CellLumino';
|
|
9
|
-
import CellControl from './../controls/CellControl';
|
|
10
|
-
import CommandsLumino from '../../widgets/commands/CommandsLumino';
|
|
11
|
-
import CommandsControl from '../controls/CommandsControl';
|
|
12
|
-
import ConsoleLumino from '../../widgets/console/ConsoleLumino';
|
|
13
|
-
import ConsoleControl from '../controls/ConsoleControl';
|
|
14
|
-
// import DialogLumino from './../examples/dialog/DialogLumino';
|
|
15
|
-
import DialogControl from '../controls/DialogControl';
|
|
16
|
-
import FileBrowser from '../../widgets/filebrowser/FileBrowser';
|
|
17
|
-
import FileBrowserLumino from '../../widgets/filebrowser/FileBrowserLumino';
|
|
18
|
-
import FileBrowserControl from '../controls/FileBrowserControl';
|
|
19
|
-
import NotebookLumino from '../../widgets/notebook/NotebookLumino';
|
|
20
|
-
import NotebookControl from '../controls/NotebookControl';
|
|
21
|
-
import OutputLumino from '../../widgets/outputs/OutputLumino';
|
|
22
|
-
import OutputControl from '../controls/OutputControl';
|
|
23
|
-
import Kernel from '../../services/kernel/Kernel';
|
|
24
|
-
import SettingsLumino from '../../widgets/settings/SettingsLumino';
|
|
25
|
-
import SettingsControl from '../controls/SettingsControl';
|
|
26
|
-
import SimpleLumino from '../examples/lumino/LuminoExample';
|
|
27
|
-
import SimpleControl from '../controls/SimpleControl';
|
|
28
|
-
import TerminalLumino from '../../widgets/terminal/TerminalLumino';
|
|
29
|
-
import TerminalControl from '../controls/TerminalControl';
|
|
30
|
-
/**
|
|
31
|
-
* The source to be shown in the examples.
|
|
32
|
-
*/
|
|
33
|
-
const source = `from IPython.display import display
|
|
34
|
-
for i in range(3):
|
|
35
|
-
display('😃 String {} added to the DOM in separated DIV.'.format(i))
|
|
36
|
-
|
|
37
|
-
import numpy as np
|
|
38
|
-
import matplotlib.pyplot as plt
|
|
39
|
-
x1 = np.linspace(0.0, 5.0)
|
|
40
|
-
x2 = np.linspace(0.0, 2.0)
|
|
41
|
-
y1 = np.cos(2 * np.pi * x1) * np.exp(-x1)
|
|
42
|
-
y2 = np.cos(2 * np.pi * x2)
|
|
43
|
-
fig, (ax1, ax2) = plt.subplots(2, 1)
|
|
44
|
-
fig.suptitle('A tale of 2 subplots')
|
|
45
|
-
ax1.plot(x1, y1, 'o-')
|
|
46
|
-
ax1.set_ylabel('Damped oscillation')
|
|
47
|
-
ax2.plot(x2, y2, '.-')
|
|
48
|
-
ax2.set_xlabel('time (s)')
|
|
49
|
-
ax2.set_ylabel('Undamped')
|
|
50
|
-
plt.show()`;
|
|
51
|
-
/**
|
|
52
|
-
* A simple example for the Jupyter React.
|
|
53
|
-
*/
|
|
54
|
-
const Example = () => {
|
|
55
|
-
const { baseUrl, wsUrl } = useJupyter();
|
|
56
|
-
const [kernel,] = useState(new Kernel({ baseUrl, wsUrl }));
|
|
57
|
-
useEffect(() => { window.scrollTo(0, 0); }, []);
|
|
58
|
-
return _jsxs(_Fragment, { children: [_jsx(OutputControl, {}, void 0),
|
|
59
|
-
_jsx(OutputLumino, { showEditor: true, autoRun: false, kernel: kernel, code: "print('Hello Datalayer 👍')" }, void 0),
|
|
60
|
-
_jsx(OutputLumino, { showEditor: true, autoRun: true, kernel: kernel, code: source }, void 0),
|
|
61
|
-
_jsx(OutputLumino, { showEditor: false, autoRun: true, kernel: kernel, code: "print('=> Hello Datalayer again... I am the output of an non-shown editor 👍 <=')" }, void 0),
|
|
62
|
-
_jsx(CellControl, {}, void 0),
|
|
63
|
-
_jsx(CellLumino, { source: source }, void 0),
|
|
64
|
-
_jsx(CommandsControl, {}, void 0),
|
|
65
|
-
_jsx(CommandsLumino, {}, void 0),
|
|
66
|
-
_jsx(ConsoleControl, {}, void 0),
|
|
67
|
-
_jsx(ConsoleLumino, {}, void 0),
|
|
68
|
-
_jsx(DialogControl, {}, void 0),
|
|
69
|
-
_jsx(FileBrowserControl, {}, void 0),
|
|
70
|
-
_jsx(FileBrowser, {}, void 0),
|
|
71
|
-
_jsx(FileBrowserLumino, {}, void 0),
|
|
72
|
-
_jsx(NotebookControl, {}, void 0),
|
|
73
|
-
_jsx(NotebookLumino, { path: 'ping.ipynb', ipywidgets: 'classic' }, void 0),
|
|
74
|
-
_jsx(SettingsControl, {}, void 0),
|
|
75
|
-
_jsx(SettingsLumino, {}, void 0),
|
|
76
|
-
_jsx(SimpleControl, {}, void 0),
|
|
77
|
-
_jsx(SimpleLumino, {}, void 0),
|
|
78
|
-
_jsx(TerminalControl, {}, void 0),
|
|
79
|
-
_jsx(TerminalLumino, {}, void 0)] }, void 0);
|
|
80
|
-
};
|
|
81
|
-
const div = document.createElement('div');
|
|
82
|
-
document.body.appendChild(div);
|
|
83
|
-
render(_jsx(ThemeProvider, Object.assign({ theme: muiLightTheme }, { children: _jsx(Jupyter, Object.assign({ collaborative: true, terminals: true }, { children: _jsx(Example, {}, void 0) }), void 0) }), void 0), div);
|
|
84
|
-
//# sourceMappingURL=All.bootstrap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"All.bootstrap.js","sourceRoot":"","sources":["../../../src/examples/bootstrap/All.bootstrap.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { render } from 'react-dom';
|
|
3
|
-
import { ThemeProvider } from '@mui/material/styles';
|
|
4
|
-
import muiLightTheme from '../theme/muiLightTheme';
|
|
5
|
-
import Jupyter from '../../jupyter/Jupyter';
|
|
6
|
-
import Layers from '../theme/Layers';
|
|
7
|
-
import CellExample from './../examples/cell/CellExample';
|
|
8
|
-
const div = document.createElement('div');
|
|
9
|
-
document.body.appendChild(div);
|
|
10
|
-
render(_jsx(ThemeProvider, Object.assign({ theme: muiLightTheme }, { children: _jsxs(Jupyter, Object.assign({ collaborative: false, terminals: false }, { children: [_jsx(Layers, {}, void 0),
|
|
11
|
-
_jsx(CellExample, {}, void 0)] }), void 0) }), void 0), div);
|
|
12
|
-
//# sourceMappingURL=Cell.bootstrap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Cell.bootstrap.js","sourceRoot":"","sources":["../../../src/examples/bootstrap/Cell.bootstrap.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,aAAa,MAAM,wBAAwB,CAAC;AACnD,OAAO,OAAO,MAAM,uBAAuB,CAAC;AAC5C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,WAAW,MAAM,gCAAgC,CAAC;AAEzD,MAAM,GAAG,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;AAC1C,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;AAE/B,MAAM,CACJ,KAAC,aAAa,kBAAC,KAAK,EAAE,aAAa,gBACjC,MAAC,OAAO,kBACN,aAAa,EAAE,KAAK,EACpB,SAAS,EAAE,KAAK,iBAEhB,KAAC,MAAM,aAAG;YACV,KAAC,WAAW,aAAG,aACP,YACI,EAEhB,GAAG,CACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { render } from 'react-dom';
|
|
3
|
-
import Jupyter from '../../jupyter/Jupyter';
|
|
4
|
-
import Layers from '../theme/Layers';
|
|
5
|
-
import FileBrowserLumino from './../../widgets/filebrowser/FileBrowserLumino';
|
|
6
|
-
const div = document.createElement('div');
|
|
7
|
-
document.body.appendChild(div);
|
|
8
|
-
render(_jsxs(Jupyter, Object.assign({ collaborative: false, terminals: false }, { children: [_jsx(Layers, {}, void 0),
|
|
9
|
-
_jsx(Jupyter, Object.assign({ collaborative: false, terminals: true }, { children: _jsx(FileBrowserLumino, {}, void 0) }), void 0)] }), void 0), div);
|
|
10
|
-
//# sourceMappingURL=FileBrowser.bootstrap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FileBrowser.bootstrap.js","sourceRoot":"","sources":["../../../src/examples/bootstrap/FileBrowser.bootstrap.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,OAAO,MAAM,uBAAuB,CAAC;AAC5C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,iBAAiB,MAAM,+CAA+C,CAAC;AAE9E,MAAM,GAAG,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;AAC1C,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;AAE/B,MAAM,CACJ,MAAC,OAAO,kBACN,aAAa,EAAE,KAAK,EACpB,SAAS,EAAE,KAAK,iBAEhB,KAAC,MAAM,aAAG;QACV,KAAC,OAAO,kBAAC,aAAa,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,gBAC5C,KAAC,iBAAiB,aAAG,YACb,aACF,EAEV,GAAG,CACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { render } from 'react-dom';
|
|
3
|
-
import Typography from '@mui/material/Typography';
|
|
4
|
-
import { CacheProvider } from '@emotion/react';
|
|
5
|
-
import { StylesProvider } from '@mui/styles';
|
|
6
|
-
import { ThemeProvider } from '@mui/material/styles';
|
|
7
|
-
import muiLightTheme from '../theme/muiLightTheme';
|
|
8
|
-
import Jupyter from '../../jupyter/Jupyter';
|
|
9
|
-
import setupMui from '../MuiSetup';
|
|
10
|
-
import Gallery from '../examples/gallery/GalleryExample';
|
|
11
|
-
const { jss, cache } = setupMui('datalayer-jss-insertion-point');
|
|
12
|
-
const div = document.createElement('div');
|
|
13
|
-
document.body.appendChild(div);
|
|
14
|
-
const Header = () => _jsxs(_Fragment, { children: [_jsx(Typography, Object.assign({ variant: "h4", gutterBottom: true }, { children: "Jupyter React Gallery" }), void 0),
|
|
15
|
-
_jsx(Typography, Object.assign({ variant: "subtitle1", gutterBottom: true }, { children: "\u00A9 Datalayer, 2022" }), void 0)] }, void 0);
|
|
16
|
-
render(_jsx(ThemeProvider, Object.assign({ theme: muiLightTheme }, { children: _jsx(CacheProvider, Object.assign({ value: cache }, { children: _jsx(StylesProvider, Object.assign({ jss: jss }, { children: _jsxs(Jupyter, Object.assign({ collaborative: true, terminals: true }, { children: [_jsx(Header, {}, void 0),
|
|
17
|
-
_jsx(Gallery, {}, void 0)] }), void 0) }), void 0) }), void 0) }), void 0), div);
|
|
18
|
-
//# sourceMappingURL=Gallery.bootstrap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.bootstrap.js","sourceRoot":"","sources":["../../../src/examples/bootstrap/Gallery.bootstrap.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,aAAa,MAAM,wBAAwB,CAAC;AACnD,OAAO,OAAO,MAAM,uBAAuB,CAAC;AAC5C,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,OAAO,MAAM,oCAAoC,CAAC;AAEzD,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC,+BAA+B,CAAC,CAAC;AAEjE,MAAM,GAAG,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;AAC1C,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;AAE/B,MAAM,MAAM,GAAG,GAAG,EAAE,CAAE,8BAClB,KAAC,UAAU,kBAAC,OAAO,EAAC,IAAI,EAAC,YAAY,yDAExB;QACb,KAAC,UAAU,kBAAC,OAAO,EAAC,WAAW,EAAC,YAAY,0DAE/B,YACZ,CAAA;AAEL,MAAM,CACJ,KAAC,aAAa,kBAAC,KAAK,EAAE,aAAa,gBACjC,KAAC,aAAa,kBAAC,KAAK,EAAE,KAAK,gBACzB,KAAC,cAAc,kBAAC,GAAG,EAAE,GAAG,gBACtB,MAAC,OAAO,kBAAC,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,iBAC3C,KAAC,MAAM,aAAE;oBACT,KAAC,OAAO,aAAE,aACF,YACK,YACH,YACF,EAEhB,GAAG,CACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|