@jupytergis/jupytergis-qgis 0.1.6 → 0.1.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.
@@ -8,7 +8,7 @@ export declare class JupyterGISModelFactoryBase implements DocumentRegistry.IMod
8
8
  /**
9
9
  * Whether the model is collaborative or not.
10
10
  */
11
- readonly collaborative = true;
11
+ readonly collaborative: boolean;
12
12
  /**
13
13
  * The name of the model.
14
14
  *
@@ -7,7 +7,7 @@ export class JupyterGISModelFactoryBase {
7
7
  /**
8
8
  * Whether the model is collaborative or not.
9
9
  */
10
- this.collaborative = true;
10
+ this.collaborative = document.querySelectorAll('[data-jupyter-lite-root]')[0] === undefined;
11
11
  this._disposed = false;
12
12
  }
13
13
  /**
package/lib/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ICollaborativeDrive } from '@jupyter/docprovider';
1
+ import { ICollaborativeDrive } from '@jupyter/collaborative-drive';
2
2
  import { IJGISExternalCommandRegistryToken, JupyterGISDoc } from '@jupytergis/schema';
3
3
  import { Dialog, ICommandPalette, IThemeManager, InputDialog, showDialog, showErrorMessage } from '@jupyterlab/apputils';
4
4
  import { IEditorServices } from '@jupyterlab/codeeditor';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupytergis/jupytergis-qgis",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "JupyterGIS QGIS extension.",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -53,26 +53,26 @@
53
53
  "watch:labextension": "jupyter labextension watch ."
54
54
  },
55
55
  "dependencies": {
56
- "@jupyter/docprovider": "^2.0.0",
57
- "@jupytergis/base": "^0.1.6",
58
- "@jupytergis/jupytergis-core": "^0.1.6",
59
- "@jupytergis/schema": "^0.1.6",
60
- "@jupyterlab/application": "^4.0.0",
61
- "@jupyterlab/apputils": "^4.0.0",
62
- "@jupyterlab/coreutils": "^6.0.0",
63
- "@jupyterlab/docregistry": "^4.0.0",
64
- "@jupyterlab/filebrowser": "^4.0.0",
65
- "@jupyterlab/launcher": "^4.0.0",
66
- "@jupyterlab/mainmenu": "^4.0.0",
67
- "@jupyterlab/services": "^7.0.0",
68
- "@jupyterlab/translation": "^4.0.0",
69
- "@jupyterlab/ui-components": "^4.0.0",
56
+ "@jupyter/collaborative-drive": "^3.0.0",
57
+ "@jupytergis/base": "^0.1.7",
58
+ "@jupytergis/jupytergis-core": "^0.1.7",
59
+ "@jupytergis/schema": "^0.1.7",
60
+ "@jupyterlab/application": "^4.3.0",
61
+ "@jupyterlab/apputils": "^4.3.0",
62
+ "@jupyterlab/coreutils": "^6.3.0",
63
+ "@jupyterlab/docregistry": "^4.3.0",
64
+ "@jupyterlab/filebrowser": "^4.3.0",
65
+ "@jupyterlab/launcher": "^4.3.0",
66
+ "@jupyterlab/mainmenu": "^4.3.0",
67
+ "@jupyterlab/services": "^7.3.0",
68
+ "@jupyterlab/translation": "^4.3.0",
69
+ "@jupyterlab/ui-components": "^4.3.0",
70
70
  "@lumino/messaging": "^2.0.0",
71
71
  "@lumino/widgets": "^2.0.0",
72
72
  "react": "^18.0.1"
73
73
  },
74
74
  "devDependencies": {
75
- "@jupyterlab/builder": "^4.0.0",
75
+ "@jupyterlab/builder": "^4.3.0",
76
76
  "css-loader": "^6.7.1",
77
77
  "mkdirp": "^1.0.3",
78
78
  "npm-run-all": "^4.1.5",