jupytergis-core 0.1.7__tar.gz → 0.2.1__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.
Files changed (118) hide show
  1. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/PKG-INFO +3 -2
  2. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/_version.py +1 -1
  3. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/jgis_ydoc.py +10 -1
  4. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/package.json +4 -4
  5. jupytergis_core-0.2.1/jupytergis_core/labextension/static/206.96bf5064280104ca1dfc.js +1 -0
  6. jupytergis_core-0.2.1/jupytergis_core/labextension/static/522.26c37ca2966d1fe3683c.js +8 -0
  7. jupytergis_core-0.1.7/jupytergis_core/labextension/static/701.9d04cf6155fcf7ee1121.js.LICENSE.txt → jupytergis_core-0.2.1/jupytergis_core/labextension/static/522.26c37ca2966d1fe3683c.js.LICENSE.txt +13 -2
  8. jupytergis_core-0.2.1/jupytergis_core/labextension/static/557.8b7e6570b121d16e9b75.js +1 -0
  9. jupytergis_core-0.2.1/jupytergis_core/labextension/static/803.fb5db0cf2ba651643784.js +8 -0
  10. jupytergis_core-0.2.1/jupytergis_core/labextension/static/991.dd0c17bfa03200081503.js +1 -0
  11. jupytergis_core-0.2.1/jupytergis_core/labextension/static/remoteEntry.6217d6628c8bdbd81c6e.js +1 -0
  12. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/third-party-licenses.json +32 -80
  13. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/factory.d.ts +1 -1
  14. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/factory.js +4 -3
  15. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/index.d.ts +1 -1
  16. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/index.js +3 -2
  17. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/jgisplugin/modelfactory.d.ts +8 -1
  18. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/jgisplugin/modelfactory.js +4 -2
  19. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/jgisplugin/plugins.js +6 -6
  20. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/plugin.d.ts +2 -1
  21. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/plugin.js +18 -1
  22. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/package.json +3 -3
  23. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/src/factory.ts +5 -5
  24. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/src/index.ts +4 -2
  25. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/src/jgisplugin/modelfactory.ts +17 -2
  26. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/src/jgisplugin/plugins.ts +7 -4
  27. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/src/plugin.ts +20 -1
  28. jupytergis_core-0.2.1/tsconfig.tsbuildinfo +1 -0
  29. jupytergis_core-0.1.7/jupytergis_core/labextension/static/134.37bf595d62ab300eb6f7.js +0 -1
  30. jupytergis_core-0.1.7/jupytergis_core/labextension/static/197.34d9096e78e2f4b7138c.js +0 -1
  31. jupytergis_core-0.1.7/jupytergis_core/labextension/static/226.280aa14a2e4c0654c374.js +0 -1
  32. jupytergis_core-0.1.7/jupytergis_core/labextension/static/36.b2f6adaa2d1def5c163f.js +0 -1
  33. jupytergis_core-0.1.7/jupytergis_core/labextension/static/366.33cb40029b4f4da3d3ad.js +0 -1
  34. jupytergis_core-0.1.7/jupytergis_core/labextension/static/509.233ac263af6747c26484.js +0 -1
  35. jupytergis_core-0.1.7/jupytergis_core/labextension/static/557.af53141561158309d445.js +0 -1
  36. jupytergis_core-0.1.7/jupytergis_core/labextension/static/701.9d04cf6155fcf7ee1121.js +0 -8
  37. jupytergis_core-0.1.7/jupytergis_core/labextension/static/733.b43ed14b1ef61a811cc0.js +0 -1
  38. jupytergis_core-0.1.7/jupytergis_core/labextension/static/777.b41e81dd6b0af001baab.js +0 -2
  39. jupytergis_core-0.1.7/jupytergis_core/labextension/static/803.959deb5eafbb3ab489c6.js +0 -7
  40. jupytergis_core-0.1.7/jupytergis_core/labextension/static/991.f0524d50b5e938656070.js +0 -1
  41. jupytergis_core-0.1.7/jupytergis_core/labextension/static/remoteEntry.95356109bff94a55da74.js +0 -1
  42. jupytergis_core-0.1.7/tsconfig.tsbuildinfo +0 -1
  43. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/.gitignore +0 -0
  44. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/LICENSE +0 -0
  45. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/README.md +0 -0
  46. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupyter-config/server-config/jupytergis_core.json +0 -0
  47. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/__init__.py +0 -0
  48. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/handler.py +0 -0
  49. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/02ff7d503bbd90b21fc4.png +0 -0
  50. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/062a9554f6b4caac9713.png +0 -0
  51. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/064f37cecb8130ad66e8.png +0 -0
  52. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/08da2741746ddab81d04.png +0 -0
  53. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/0c6a0352b82839119f95.png +0 -0
  54. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/13c485bb93f5567f02fd.png +0 -0
  55. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/1474207a6b3ca1001e78.png +0 -0
  56. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/154.0d16fbe1d1182d138b2c.js +0 -0
  57. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/1d440270da19a2f22fee.png +0 -0
  58. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/2218dfba22fc2b08e948.png +0 -0
  59. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/234.2f0fc49f516ad354aa18.js +0 -0
  60. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/27.aea9e291ba3dd16790fb.js +0 -0
  61. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/27.aea9e291ba3dd16790fb.js.LICENSE.txt +0 -0
  62. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/2ab791b60c4058e664f8.png +0 -0
  63. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/2b24b6a745c11511f055.png +0 -0
  64. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/2d676bc0a01c2cd2fccb.png +0 -0
  65. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/2f02309ea499725612ea.png +0 -0
  66. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/32c7a73662cceb5bb1d7.png +0 -0
  67. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/350eec4ce9ae4bc10bca.wasm +0 -0
  68. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/363ca7c5f78deb6fd033.png +0 -0
  69. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/3ae0bf244442de7efc35.png +0 -0
  70. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/3d48be10ffea86eb15de.png +0 -0
  71. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/407.fa2f7a0dc4d3371a5e2c.js +0 -0
  72. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/415edc3fa381260cf31e.png +0 -0
  73. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/42cbddf5e883673bc4e2.png +0 -0
  74. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/432.19e693d578a221132366.js +0 -0
  75. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/460.a2074380632031c05e8d.js +0 -0
  76. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/472.08add5249d72d563ba32.js +0 -0
  77. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/527ef171d5df15dc7da5.png +0 -0
  78. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/542.3038c6cef679f15b8d9a.js +0 -0
  79. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/552.9f37fbb73d9f60b6c3f3.js +0 -0
  80. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/555.7d0c1d2ee9e49a619cb9.js +0 -0
  81. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/5bb02252f243f8c7494f.png +0 -0
  82. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/5d181edc3c046e1454a1.png +0 -0
  83. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/5f32ad48aefe00e51312.png +0 -0
  84. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/618.86523276f857e0a3362e.js +0 -0
  85. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/6e4f6b4d0dfca3bd4450.png +0 -0
  86. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/71d436fb44627b6bfbd7.png +0 -0
  87. /jupytergis_core-0.1.7/jupytergis_core/labextension/static/777.b41e81dd6b0af001baab.js.LICENSE.txt → /jupytergis_core-0.2.1/jupytergis_core/labextension/static/803.fb5db0cf2ba651643784.js.LICENSE.txt +0 -0
  88. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/8814e17f6b110e8f3e42.png +0 -0
  89. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/88b2ae0d29edb684eae5.png +0 -0
  90. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/971a42d174dd17b9451a.png +0 -0
  91. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/a86d626c9ed2e222d190.png +0 -0
  92. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/a9e286b0c0264a9fc737.png +0 -0
  93. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/ab309078b494f850430a.png +0 -0
  94. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/b36717fbb06f21d53b01.png +0 -0
  95. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/ba4b6e82fe5a816c40a5.png +0 -0
  96. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/bb2b310570da7a3587e9.png +0 -0
  97. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/d83457b1b925c1718f6d.png +0 -0
  98. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/e473e1e9f20af114bbb4.data +0 -0
  99. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/f2617180c6907263a7ff.png +0 -0
  100. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/fe99a6dbf5a71d308989.png +0 -0
  101. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/jupytergis_core/labextension/static/style.js +0 -0
  102. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/externalcommand.d.ts +0 -0
  103. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/externalcommand.js +0 -0
  104. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/jgisplugin/plugins.d.ts +0 -0
  105. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/layerBrowserRegistry.d.ts +0 -0
  106. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/layerBrowserRegistry.js +0 -0
  107. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/schemaregistry.d.ts +0 -0
  108. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/lib/schemaregistry.js +0 -0
  109. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/pyproject.toml +0 -0
  110. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/scripts/bump-version.py +0 -0
  111. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/setup.py +0 -0
  112. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/src/externalcommand.ts +0 -0
  113. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/src/layerBrowserRegistry.ts +0 -0
  114. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/src/schemaregistry.ts +0 -0
  115. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/style/base.css +0 -0
  116. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/style/index.css +0 -0
  117. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/style/index.js +0 -0
  118. {jupytergis_core-0.1.7 → jupytergis_core-0.2.1}/tsconfig.json +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: jupytergis_core
3
- Version: 0.1.7
3
+ Version: 0.2.1
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
@@ -1,4 +1,4 @@
1
1
  # This file is auto-generated by Hatchling. As such, do not:
2
2
  # - modify
3
3
  # - track in version control e.g. be sure to add to .gitignore
4
- __version__ = VERSION = '0.1.7'
4
+ __version__ = VERSION = '0.2.1'
@@ -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.1.7",
3
+ "version": "0.2.1",
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.1.7",
57
- "@jupytergis/schema": "^0.1.7",
56
+ "@jupytergis/base": "^0.2.1",
57
+ "@jupytergis/schema": "^0.2.1",
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.95356109bff94a55da74.js",
121
+ "load": "static/remoteEntry.6217d6628c8bdbd81c6e.js",
122
122
  "extension": "./extension",
123
123
  "style": "./style"
124
124
  }