@deck.gl/jupyter-widget 8.10.0-alpha.6 → 9.0.0-alpha.3
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/dist/index.js +673 -1438
- package/dist/index.js.map +4 -4
- package/package.json +12 -12
- package/src/index.js +1 -0
- package/src/playground/create-deck.js +7 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@deck.gl/jupyter-widget",
|
|
3
3
|
"description": "Jupyter widget for rendering deck.gl in a Jupyter notebook",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "9.0.0-alpha.3",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"jupyter",
|
|
8
8
|
"jupyterlab",
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
"prepublishOnly": "npm run build"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@deck.gl/aggregation-layers": "
|
|
33
|
-
"@deck.gl/geo-layers": "
|
|
34
|
-
"@deck.gl/google-maps": "
|
|
35
|
-
"@deck.gl/json": "
|
|
36
|
-
"@deck.gl/layers": "
|
|
37
|
-
"@deck.gl/mesh-layers": "
|
|
32
|
+
"@deck.gl/aggregation-layers": "9.0.0-alpha.3",
|
|
33
|
+
"@deck.gl/geo-layers": "9.0.0-alpha.3",
|
|
34
|
+
"@deck.gl/google-maps": "9.0.0-alpha.3",
|
|
35
|
+
"@deck.gl/json": "9.0.0-alpha.3",
|
|
36
|
+
"@deck.gl/layers": "9.0.0-alpha.3",
|
|
37
|
+
"@deck.gl/mesh-layers": "9.0.0-alpha.3",
|
|
38
38
|
"@jupyter-widgets/base": "^1.1.10 || ^2 || ^3 || ^4",
|
|
39
|
-
"@loaders.gl/3d-tiles": "
|
|
40
|
-
"@loaders.gl/core": "
|
|
41
|
-
"@loaders.gl/csv": "
|
|
42
|
-
"@luma.gl/
|
|
39
|
+
"@loaders.gl/3d-tiles": "4.0.3",
|
|
40
|
+
"@loaders.gl/core": "4.0.3",
|
|
41
|
+
"@loaders.gl/csv": "4.0.3",
|
|
42
|
+
"@luma.gl/core": "9.0.0-alpha.42",
|
|
43
43
|
"mapbox-gl": "^1.13.2"
|
|
44
44
|
},
|
|
45
45
|
"jupyterlab": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "51dfb88f9168ccf478d01b28a2c5ada7bd8281c7"
|
|
55
55
|
}
|
package/src/index.js
CHANGED
|
@@ -11,6 +11,7 @@ import jupyterTransport from './lib/jupyter-transport';
|
|
|
11
11
|
import JupyterTransportModel from './lib/jupyter-transport-model';
|
|
12
12
|
import JupyterTransportView from './lib/jupyter-transport-view';
|
|
13
13
|
|
|
14
|
+
// eslint-disable-next-line import/namespace
|
|
14
15
|
import * as deckExports from './deck-bundle';
|
|
15
16
|
import * as lumaExports from '@deck.gl/core/scripting/lumagl';
|
|
16
17
|
import * as loadersExports from '@deck.gl/core/scripting/loadersgl';
|
|
@@ -2,8 +2,14 @@
|
|
|
2
2
|
/* eslint-disable no-console */
|
|
3
3
|
import {CSVLoader} from '@loaders.gl/csv';
|
|
4
4
|
import {registerLoaders} from '@loaders.gl/core';
|
|
5
|
+
|
|
6
|
+
// Make sure there is a device registered
|
|
7
|
+
import {luma} from '@luma.gl/core';
|
|
8
|
+
import {WebGLDevice} from '@luma.gl/webgl';
|
|
9
|
+
luma.registerDevices([WebGLDevice]);
|
|
10
|
+
|
|
5
11
|
// Avoid calling it GL - would be removed by babel-plugin-inline-webgl-constants
|
|
6
|
-
import GLConstants from '@luma.gl/constants';
|
|
12
|
+
import {GL as GLConstants} from '@luma.gl/constants';
|
|
7
13
|
|
|
8
14
|
import makeTooltip from './widget-tooltip';
|
|
9
15
|
|