@jupytergis/jupytergis-lab 0.8.0 → 0.9.0
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/lib/notebookrenderer.js +4 -1
- package/package.json +3 -3
package/lib/notebookrenderer.js
CHANGED
|
@@ -5,6 +5,7 @@ import { showErrorMessage } from '@jupyterlab/apputils';
|
|
|
5
5
|
import { ConsolePanel } from '@jupyterlab/console';
|
|
6
6
|
import { PathExt } from '@jupyterlab/coreutils';
|
|
7
7
|
import { NotebookPanel } from '@jupyterlab/notebook';
|
|
8
|
+
import { ISettingRegistry } from '@jupyterlab/settingregistry';
|
|
8
9
|
import { IStateDB } from '@jupyterlab/statedb';
|
|
9
10
|
import { MessageLoop } from '@lumino/messaging';
|
|
10
11
|
import { Panel, Widget } from '@lumino/widgets';
|
|
@@ -78,8 +79,9 @@ export const notebookRendererPlugin = {
|
|
|
78
79
|
IStateDB,
|
|
79
80
|
IJGISFormSchemaRegistryToken,
|
|
80
81
|
IAnnotationToken,
|
|
82
|
+
ISettingRegistry,
|
|
81
83
|
],
|
|
82
|
-
activate: (app, externalCommandRegistry, jgisTracker, yWidgetManager, drive, formSchemaRegistry, state, annotationModel) => {
|
|
84
|
+
activate: (app, externalCommandRegistry, jgisTracker, yWidgetManager, drive, formSchemaRegistry, state, annotationModel, settingRegistry) => {
|
|
83
85
|
if (!yWidgetManager) {
|
|
84
86
|
console.error('Missing IJupyterYWidgetManager token!');
|
|
85
87
|
return;
|
|
@@ -125,6 +127,7 @@ export const notebookRendererPlugin = {
|
|
|
125
127
|
});
|
|
126
128
|
this.jupyterGISModel = new JupyterGISModel({
|
|
127
129
|
sharedModel: sharedModel,
|
|
130
|
+
settingRegistry,
|
|
128
131
|
});
|
|
129
132
|
this.jupyterGISModel.contentsManager = app.serviceManager.contents;
|
|
130
133
|
this.jupyterGISModel.filePath = localPath;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupytergis/jupytergis-lab",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "JupyterGIS Lab extension.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@jupyter/collaborative-drive": "^3.0.0",
|
|
56
|
-
"@jupytergis/base": "^0.
|
|
57
|
-
"@jupytergis/schema": "^0.
|
|
56
|
+
"@jupytergis/base": "^0.9.0",
|
|
57
|
+
"@jupytergis/schema": "^0.9.0",
|
|
58
58
|
"@jupyterlab/application": "^4.3.0",
|
|
59
59
|
"@jupyterlab/apputils": "^4.3.0",
|
|
60
60
|
"@jupyterlab/completer": "^4.3.0",
|