jupytergis-core 0.1.7__tar.gz → 0.2.0__tar.gz
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.
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/PKG-INFO +3 -2
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/_version.py +1 -1
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/jgis_ydoc.py +10 -1
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/package.json +4 -4
- jupytergis_core-0.2.0/jupytergis_core/labextension/static/206.e2d9e9f31a44ce3e8c99.js +1 -0
- jupytergis_core-0.2.0/jupytergis_core/labextension/static/214.97384f2da6f34b1639f3.js +8 -0
- jupytergis_core-0.1.7/jupytergis_core/labextension/static/701.9d04cf6155fcf7ee1121.js.LICENSE.txt → jupytergis_core-0.2.0/jupytergis_core/labextension/static/214.97384f2da6f34b1639f3.js.LICENSE.txt +13 -2
- jupytergis_core-0.2.0/jupytergis_core/labextension/static/557.8b7e6570b121d16e9b75.js +1 -0
- jupytergis_core-0.2.0/jupytergis_core/labextension/static/803.fb5db0cf2ba651643784.js +8 -0
- jupytergis_core-0.2.0/jupytergis_core/labextension/static/991.53b791003c75e2501e14.js +1 -0
- jupytergis_core-0.2.0/jupytergis_core/labextension/static/remoteEntry.00afff7176a699aaeddb.js +1 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/third-party-licenses.json +32 -80
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/factory.d.ts +1 -1
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/factory.js +4 -3
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/index.d.ts +1 -1
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/index.js +3 -2
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/jgisplugin/modelfactory.d.ts +8 -1
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/jgisplugin/modelfactory.js +4 -2
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/jgisplugin/plugins.js +6 -6
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/plugin.d.ts +2 -1
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/plugin.js +18 -1
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/package.json +3 -3
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/src/factory.ts +5 -5
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/src/index.ts +4 -2
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/src/jgisplugin/modelfactory.ts +17 -2
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/src/jgisplugin/plugins.ts +7 -4
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/src/plugin.ts +20 -1
- jupytergis_core-0.2.0/tsconfig.tsbuildinfo +1 -0
- jupytergis_core-0.1.7/jupytergis_core/labextension/static/134.37bf595d62ab300eb6f7.js +0 -1
- jupytergis_core-0.1.7/jupytergis_core/labextension/static/197.34d9096e78e2f4b7138c.js +0 -1
- jupytergis_core-0.1.7/jupytergis_core/labextension/static/226.280aa14a2e4c0654c374.js +0 -1
- jupytergis_core-0.1.7/jupytergis_core/labextension/static/36.b2f6adaa2d1def5c163f.js +0 -1
- jupytergis_core-0.1.7/jupytergis_core/labextension/static/366.33cb40029b4f4da3d3ad.js +0 -1
- jupytergis_core-0.1.7/jupytergis_core/labextension/static/509.233ac263af6747c26484.js +0 -1
- jupytergis_core-0.1.7/jupytergis_core/labextension/static/557.af53141561158309d445.js +0 -1
- jupytergis_core-0.1.7/jupytergis_core/labextension/static/701.9d04cf6155fcf7ee1121.js +0 -8
- jupytergis_core-0.1.7/jupytergis_core/labextension/static/733.b43ed14b1ef61a811cc0.js +0 -1
- jupytergis_core-0.1.7/jupytergis_core/labextension/static/777.b41e81dd6b0af001baab.js +0 -2
- jupytergis_core-0.1.7/jupytergis_core/labextension/static/803.959deb5eafbb3ab489c6.js +0 -7
- jupytergis_core-0.1.7/jupytergis_core/labextension/static/991.f0524d50b5e938656070.js +0 -1
- jupytergis_core-0.1.7/jupytergis_core/labextension/static/remoteEntry.95356109bff94a55da74.js +0 -1
- jupytergis_core-0.1.7/tsconfig.tsbuildinfo +0 -1
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/.gitignore +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/LICENSE +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/README.md +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupyter-config/server-config/jupytergis_core.json +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/__init__.py +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/handler.py +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/02ff7d503bbd90b21fc4.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/062a9554f6b4caac9713.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/064f37cecb8130ad66e8.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/08da2741746ddab81d04.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/0c6a0352b82839119f95.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/13c485bb93f5567f02fd.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/1474207a6b3ca1001e78.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/154.0d16fbe1d1182d138b2c.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/1d440270da19a2f22fee.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/2218dfba22fc2b08e948.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/234.2f0fc49f516ad354aa18.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/27.aea9e291ba3dd16790fb.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/27.aea9e291ba3dd16790fb.js.LICENSE.txt +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/2ab791b60c4058e664f8.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/2b24b6a745c11511f055.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/2d676bc0a01c2cd2fccb.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/2f02309ea499725612ea.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/32c7a73662cceb5bb1d7.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/350eec4ce9ae4bc10bca.wasm +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/363ca7c5f78deb6fd033.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/3ae0bf244442de7efc35.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/3d48be10ffea86eb15de.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/407.fa2f7a0dc4d3371a5e2c.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/415edc3fa381260cf31e.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/42cbddf5e883673bc4e2.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/432.19e693d578a221132366.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/460.a2074380632031c05e8d.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/472.08add5249d72d563ba32.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/527ef171d5df15dc7da5.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/542.3038c6cef679f15b8d9a.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/552.9f37fbb73d9f60b6c3f3.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/555.7d0c1d2ee9e49a619cb9.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/5bb02252f243f8c7494f.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/5d181edc3c046e1454a1.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/5f32ad48aefe00e51312.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/618.86523276f857e0a3362e.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/6e4f6b4d0dfca3bd4450.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/71d436fb44627b6bfbd7.png +0 -0
- /jupytergis_core-0.1.7/jupytergis_core/labextension/static/777.b41e81dd6b0af001baab.js.LICENSE.txt → /jupytergis_core-0.2.0/jupytergis_core/labextension/static/803.fb5db0cf2ba651643784.js.LICENSE.txt +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/8814e17f6b110e8f3e42.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/88b2ae0d29edb684eae5.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/971a42d174dd17b9451a.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/a86d626c9ed2e222d190.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/a9e286b0c0264a9fc737.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/ab309078b494f850430a.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/b36717fbb06f21d53b01.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/ba4b6e82fe5a816c40a5.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/bb2b310570da7a3587e9.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/d83457b1b925c1718f6d.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/e473e1e9f20af114bbb4.data +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/f2617180c6907263a7ff.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/fe99a6dbf5a71d308989.png +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/jupytergis_core/labextension/static/style.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/externalcommand.d.ts +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/externalcommand.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/jgisplugin/plugins.d.ts +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/layerBrowserRegistry.d.ts +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/layerBrowserRegistry.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/schemaregistry.d.ts +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/lib/schemaregistry.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/pyproject.toml +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/scripts/bump-version.py +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/setup.py +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/src/externalcommand.ts +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/src/layerBrowserRegistry.ts +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/src/schemaregistry.ts +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/style/base.css +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/style/index.css +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/style/index.js +0 -0
- {jupytergis_core-0.1.7 → jupytergis_core-0.2.0}/tsconfig.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: jupytergis_core
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Dynamic: Keywords
|
|
5
5
|
Summary: JupyterGIS core extension
|
|
6
6
|
Project-URL: Homepage, https://github.com/geojupyter/jupytergis
|
|
@@ -36,6 +36,7 @@ License: BSD 3-Clause License
|
|
|
36
36
|
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
37
37
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
38
38
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
39
|
+
License-File: LICENSE
|
|
39
40
|
Classifier: Framework :: Jupyter
|
|
40
41
|
Classifier: Framework :: Jupyter :: JupyterLab
|
|
41
42
|
Classifier: Framework :: Jupyter :: JupyterLab :: 4
|
|
@@ -13,6 +13,7 @@ class YJGIS(YBaseDoc):
|
|
|
13
13
|
self._ydoc["sources"] = self._ysources = Map()
|
|
14
14
|
self._ydoc["options"] = self._yoptions = Map()
|
|
15
15
|
self._ydoc["layerTree"] = self._ylayerTree = Array()
|
|
16
|
+
self._ydoc["metadata"] = self._ymetadata = Map()
|
|
16
17
|
|
|
17
18
|
def version(self) -> str:
|
|
18
19
|
return "0.1.0"
|
|
@@ -26,13 +27,15 @@ class YJGIS(YBaseDoc):
|
|
|
26
27
|
layers = self._ylayers.to_py()
|
|
27
28
|
sources = self._ysources.to_py()
|
|
28
29
|
options = self._yoptions.to_py()
|
|
30
|
+
meta = self._ymetadata.to_py()
|
|
29
31
|
layers_tree = self._ylayerTree.to_py()
|
|
30
32
|
return json.dumps(
|
|
31
33
|
dict(
|
|
32
34
|
layers=layers,
|
|
33
35
|
sources=sources,
|
|
34
36
|
options=options,
|
|
35
|
-
layerTree=layers_tree
|
|
37
|
+
layerTree=layers_tree,
|
|
38
|
+
metadata=meta,
|
|
36
39
|
),
|
|
37
40
|
sort_keys=True,
|
|
38
41
|
indent=2,
|
|
@@ -59,6 +62,9 @@ class YJGIS(YBaseDoc):
|
|
|
59
62
|
self._ylayerTree.clear()
|
|
60
63
|
self._ylayerTree.extend(valueDict.get("layerTree", []))
|
|
61
64
|
|
|
65
|
+
self._ymetadata.clear()
|
|
66
|
+
self._ymetadata.update(valueDict.get("metadata", {}))
|
|
67
|
+
|
|
62
68
|
def observe(self, callback: Callable[[str, Any], None]):
|
|
63
69
|
self.unobserve()
|
|
64
70
|
self._subscriptions[self._ystate] = self._ystate.observe(
|
|
@@ -76,3 +82,6 @@ class YJGIS(YBaseDoc):
|
|
|
76
82
|
self._subscriptions[self._ylayerTree] = self._ylayerTree.observe(
|
|
77
83
|
partial(callback, "layerTree")
|
|
78
84
|
)
|
|
85
|
+
self._subscriptions[self._ymetadata] = self._ymetadata.observe_deep(
|
|
86
|
+
partial(callback, "meta")
|
|
87
|
+
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupytergis/jupytergis-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "JupyterGIS core 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.2.0",
|
|
57
|
+
"@jupytergis/schema": "^0.2.0",
|
|
58
58
|
"@jupyterlab/application": "^4.3.0",
|
|
59
59
|
"@jupyterlab/apputils": "^4.3.0",
|
|
60
60
|
"@jupyterlab/docregistry": "^4.3.0",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
"_build": {
|
|
121
|
-
"load": "static/remoteEntry.
|
|
121
|
+
"load": "static/remoteEntry.00afff7176a699aaeddb.js",
|
|
122
122
|
"extension": "./extension",
|
|
123
123
|
"style": "./style"
|
|
124
124
|
}
|