jupytergis-core 0.6.2__py3-none-any.whl → 0.8.0__py3-none-any.whl
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/_version.py +1 -1
- jupytergis_core/schema/__init__.py +1 -0
- jupytergis_core/schema/interfaces/__init__.py +1 -1
- jupytergis_core/schema/interfaces/export/__init__.py +1 -1
- jupytergis_core/schema/interfaces/export/exportGeoJson.py +1 -1
- jupytergis_core/schema/interfaces/export/exportGeoTiff.py +1 -1
- jupytergis_core/schema/interfaces/geojson.py +1 -1
- jupytergis_core/schema/interfaces/processing/__init__.py +1 -1
- jupytergis_core/schema/interfaces/processing/boundingBoxes.py +1 -1
- jupytergis_core/schema/interfaces/processing/buffer.py +1 -1
- jupytergis_core/schema/interfaces/processing/centroids.py +1 -1
- jupytergis_core/schema/interfaces/processing/concaveHull.py +1 -1
- jupytergis_core/schema/interfaces/processing/convexHull.py +1 -1
- jupytergis_core/schema/interfaces/processing/dissolve.py +1 -1
- jupytergis_core/schema/interfaces/project/__init__.py +1 -1
- jupytergis_core/schema/interfaces/project/jgis.py +2 -1
- jupytergis_core/schema/interfaces/project/layers/__init__.py +1 -1
- jupytergis_core/schema/interfaces/project/layers/heatmapLayer.py +2 -2
- jupytergis_core/schema/interfaces/project/layers/hillshadeLayer.py +1 -1
- jupytergis_core/schema/interfaces/project/layers/imageLayer.py +1 -1
- jupytergis_core/schema/interfaces/project/layers/rasterLayer.py +1 -1
- jupytergis_core/schema/interfaces/project/layers/stacLayer.py +1 -1
- jupytergis_core/schema/interfaces/project/layers/vectorLayer.py +2 -2
- jupytergis_core/schema/interfaces/project/layers/vectorTileLayer.py +1 -1
- jupytergis_core/schema/interfaces/project/layers/webGlLayer.py +2 -2
- jupytergis_core/schema/interfaces/project/sources/__init__.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/geoJsonSource.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/geoParquetSource.py +23 -0
- jupytergis_core/schema/interfaces/project/sources/geoTiffSource.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/imageSource.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/rasterDemSource.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/rasterSource.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/shapefileSource.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/vectorTileSource.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/videoSource.py +1 -1
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/package.json +4 -4
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/schemas/@jupytergis/jupytergis-core/package.json.orig +3 -3
- jupytergis_core-0.8.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/199.2055e6228d3eceaf410d.js +1 -0
- jupytergis_core-0.8.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/397.ffeb4d7f31b735ce0a86.js +1 -0
- jupytergis_core-0.8.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/465.5ee170b35409f85f5361.js +1 -0
- jupytergis_core-0.8.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/639.096de5d4b4e9c562ab4b.js +1 -0
- jupytergis_core-0.8.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/671.12b59750568be4443b33.js +8 -0
- jupytergis_core-0.8.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/991.a3b4feb2455f9054cfef.js +1 -0
- jupytergis_core-0.8.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/remoteEntry.2c88e4f082054467fd67.js +1 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/third-party-licenses.json +39 -9
- {jupytergis_core-0.6.2.dist-info → jupytergis_core-0.8.0.dist-info}/METADATA +1 -1
- {jupytergis_core-0.6.2.dist-info → jupytergis_core-0.8.0.dist-info}/RECORD +117 -114
- jupytergis_core-0.6.2.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/229.ee0310f26253b45fe462.js +0 -8
- jupytergis_core-0.6.2.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/397.60274eedc66443d2b6fc.js +0 -1
- jupytergis_core-0.6.2.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/671.8da90f680f4c1d71b5fb.js +0 -1
- jupytergis_core-0.6.2.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/991.347021da09be0d178782.js +0 -1
- jupytergis_core-0.6.2.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/remoteEntry.9d9d71140699a8998c5a.js +0 -1
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/etc/jupyter/jupyter_server_config.d/jupytergis_core.json +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/schemas/@jupytergis/jupytergis-core/jupytergis-settings.json +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/026680ab0cd1523edc87.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/02ff7d503bbd90b21fc4.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/062a9554f6b4caac9713.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/064f37cecb8130ad66e8.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/08da2741746ddab81d04.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/0c6a0352b82839119f95.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/13c485bb93f5567f02fd.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1474207a6b3ca1001e78.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/14b98240613d5256c621.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/154.0d16fbe1d1182d138b2c.js +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1b97ea0f2b3af717cffa.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1d440270da19a2f22fee.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1ed164e010f3c0306d15.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2218dfba22fc2b08e948.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/234.2f0fc49f516ad354aa18.js +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.6ee794baeb00791424c2.js +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.6ee794baeb00791424c2.js.LICENSE.txt +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2ab791b60c4058e664f8.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2b24b6a745c11511f055.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2d676bc0a01c2cd2fccb.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2f02309ea499725612ea.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/32c7a73662cceb5bb1d7.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/350eec4ce9ae4bc10bca.wasm +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/363ca7c5f78deb6fd033.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/376.58a6410b7089dea5b0d5.js +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/3ae0bf244442de7efc35.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/3d48be10ffea86eb15de.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/407.da5d00862f4879fe3c9c.js +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/415edc3fa381260cf31e.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/42cbddf5e883673bc4e2.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/432.b81aa01fd224321ff376.js +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/472.b2ea9ebc35d5ad4e1fcc.js +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/527ef171d5df15dc7da5.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/542.477a73b8682de0e8d45e.js +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/552.0936beb209d3ea5a1229.js +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/555.be80e60305924af2e139.js +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5bb02252f243f8c7494f.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5d181edc3c046e1454a1.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5f32ad48aefe00e51312.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/618.86523276f857e0a3362e.js +0 -0
- /jupytergis_core-0.6.2.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/229.ee0310f26253b45fe462.js.LICENSE.txt → /jupytergis_core-0.8.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/671.12b59750568be4443b33.js.LICENSE.txt +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/6e4f6b4d0dfca3bd4450.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/71d436fb44627b6bfbd7.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/7b225dc2d37cd3582156.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.5f3759c98814aa602705.js +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.5f3759c98814aa602705.js.LICENSE.txt +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/843ab141e62516b9df5c.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/8814e17f6b110e8f3e42.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/88b2ae0d29edb684eae5.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/971a42d174dd17b9451a.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a3c609f5bff95a7a53be.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a86d626c9ed2e222d190.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a9e286b0c0264a9fc737.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ab309078b494f850430a.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/b15e3989b7b90b5a8d9d.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/b36717fbb06f21d53b01.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ba4b6e82fe5a816c40a5.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/bb2b310570da7a3587e9.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/be92bcf7bb99753b4b3d.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/c2ffa011d7f52a0ddf45.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d83457b1b925c1718f6d.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/e473e1e9f20af114bbb4.data +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/f2617180c6907263a7ff.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/fe99a6dbf5a71d308989.png +0 -0
- {jupytergis_core-0.6.2.data → jupytergis_core-0.8.0.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/style.js +0 -0
- {jupytergis_core-0.6.2.dist-info → jupytergis_core-0.8.0.dist-info}/WHEEL +0 -0
- {jupytergis_core-0.6.2.dist-info → jupytergis_core-0.8.0.dist-info}/entry_points.txt +0 -0
- {jupytergis_core-0.6.2.dist-info → jupytergis_core-0.8.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_jupytergis_jupytergis_core=self.webpackChunk_jupytergis_jupytergis_core||[]).push([[991],{29991:(e,t,r)=>{r.r(t),r.d(t,{JupyterGISDocumentWidgetFactory:()=>g,default:()=>J});var i=r(76903),o=r(42672),n=r(30280),a=r(78805),s=r(60322),p=r(65533),y=r(28708),m=r(6480),d=r(14884),u=r(8654),l=r(35974),c=r(82679);class g extends m.ABCWidgetFactory{constructor(e){var t;const{backendCheck:r,externalCommandRegistry:i}=e;super(function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(r[i[o]]=e[i[o]])}return r}(e,["backendCheck","externalCommandRegistry"])),this.options=e,this._backendCheck=r,this._commands=e.commands,this._externalCommandRegistry=i,this._contentsManager=null===(t=e.manager)||void 0===t?void 0:t.contents}createNewWidget(e){if(this._backendCheck&&!this._backendCheck())throw new Error("Requested backend is not installed");const{model:t}=e;t.filePath=e.localPath,e.pathChanged.connect(()=>{t.filePath=e.localPath}),this._contentsManager&&(t.contentsManager=this._contentsManager);const r=new o.JupyterGISPanel({model:t,manager:this.options.manager,contentFactory:this.options.contentFactory,mimeTypeService:this.options.mimeTypeService,rendermime:this.options.rendermime,consoleTracker:this.options.consoleTracker,commandRegistry:this.options.commands}),i=new o.ToolbarWidget({commands:this._commands,model:t,externalCommands:this._externalCommandRegistry.getCommands()});return new o.JupyterGISDocumentWidget({context:e,content:r,toolbar:i})}}class b{constructor(e){this.collaborative=!0,this._disposed=!1,this._annotationModel=e.annotationModel,this._settingRegistry=e.settingRegistry}get name(){return"jupytergis-jgismodel"}get contentType(){return"jgis"}get fileFormat(){return"text"}get isDisposed(){return this._disposed}dispose(){this._disposed=!0}preferredLanguage(e){return""}createNew(e){const t=new n.JupyterGISModel({sharedModel:e.sharedModel,languagePreference:e.languagePreference,annotationModel:this._annotationModel,settingRegistry:this._settingRegistry});return t.initSettings(),t}}const h="JupyterGIS .jgis Viewer",f="jgis",I="jupytergis-jgismodel",S="@jupytergis/jupytergis-core:jupytergis-settings",j={id:"jupyterGIS:jGISplugin",requires:[n.IJupyterGISDocTracker,a.IThemeManager,d.IFileBrowserFactory,n.IJGISExternalCommandRegistryToken,p.ConsolePanel.IContentFactory,s.IEditorServices,l.IRenderMimeRegistry,p.IConsoleTracker,n.IAnnotationToken,c.ISettingRegistry],optional:[u.ILauncher,a.ICommandPalette,i.ICollaborativeDrive],autoStart:!0,activate:async(e,t,r,i,a,s,p,d,u,l,c,j,x,O)=>{y.PageConfig.getOption("jgis_expose_maps")&&(window.jupytergisMaps={});let P=null;try{P=await c.load(S),console.log(`Loaded settings for ${S}`,P)}catch(e){console.warn(`Failed to load settings for ${S}`,e)}const T=new g({name:h,modelName:I,fileTypes:[f],defaultFor:[f],tracker:t,commands:e.commands,externalCommandRegistry:a,manager:e.serviceManager,contentFactory:s,rendermime:d,mimeTypeService:p.mimeTypeService,consoleTracker:u});e.docRegistry.addWidgetFactory(T);const G=new m.MimeDocumentFactory({dataType:"json",rendermime:d,modelName:I,name:"JSON Editor",primaryFileType:e.docRegistry.getFileType("json"),fileTypes:[f]});e.docRegistry.addWidgetFactory(G);const v=new b({annotationModel:l,settingRegistry:c});e.docRegistry.addModelFactory(v),e.docRegistry.addFileType({name:f,displayName:"JGIS",mimeTypes:["text/json"],extensions:[".jgis",".JGIS"],fileFormat:"text",contentType:f,icon:o.logoMiniIcon});if(O&&O.sharedModelFactory.registerDocumentFactory(f,()=>new n.JupyterGISDoc),T.widgetCreated.connect((i,n)=>{n.title.icon=o.logoIcon,n.context.pathChanged.connect(()=>{t.save(n)}),r.themeChanged.connect((e,t)=>n.model.themeChanged.emit(t)),e.shell.activateById("jupytergis::leftControlPanel"),e.shell.activateById("jupytergis::rightControlPanel"),t.add(n).then(()=>{Object.values(o.CommandIDs).forEach(t=>{e.commands.hasCommand(t)&&e.commands.notifyCommandChanged(t)})}).catch(e=>{console.error("Cannot update JupyterGIS commands",e)})}),e.commands.addCommand(o.CommandIDs.createNew,{label:e=>{var t;return null!==(t=e.label)&&void 0!==t?t:"GIS Project"},caption:"Create a new JGIS Editor",icon:e=>o.logoIcon,execute:async t=>{var r;const o=t.cwd||(null===(r=i.tracker.currentWidget)||void 0===r?void 0:r.model.path);let a=await e.serviceManager.contents.newUntitled({path:o,type:"file",ext:".jGIS"});return a=await e.serviceManager.contents.save(a.path,Object.assign(Object.assign({},a),{format:"text",size:void 0,content:`{\n\t"schemaVersion": "${n.SCHEMA_VERSION}",\n\t"layers": {},\n\t"sources": {},\n\t"options": {"latitude": 0, "longitude": 0, "zoom": 0, "bearing": 0, "pitch": 0, "projection": "EPSG:3857"},\n\t"layerTree": [],\n\t"metadata": {}\n}`})),e.commands.execute("docmanager:open",{path:a.path,factory:h})}}),j&&j.add({command:o.CommandIDs.createNew,category:"Other",rank:1}),x){x.addItem({command:o.CommandIDs.createNew,args:{isPalette:!0},category:"JupyterGIS"}),x.addItem({command:o.CommandIDs.openLayerBrowser,category:"JupyterGIS"}),x.addItem({command:o.CommandIDs.newRasterEntry,category:"JupyterGIS"}),x.addItem({command:o.CommandIDs.newVectorTileEntry,category:"JupyterGIS"}),x.addItem({command:o.CommandIDs.newGeoJSONEntry,category:"JupyterGIS"}),x.addItem({command:o.CommandIDs.newHillshadeEntry,category:"JupyterGIS"}),x.addItem({command:o.CommandIDs.moveLayerToNewGroup,category:"JupyterGIS"});for(const e of n.ProcessingMerge)x.addItem({command:e.name,category:"JupyterGIS"})}e.contextMenu.addItem({command:o.CommandIDs.createNew,selector:".jp-DirListing",rank:55,args:{label:"New JupyterGIS Project"}})}};var x=r(14805),O=r(85828),P=r(54503);class T{constructor(){this._registry=new Set}registerCommand(e){this._registry.add(e)}getCommands(){return[...this._registry]}}class G{constructor(){this._registry=[]}getRegistryLayers(){return[...this._registry]}addRegistryLayer(e){this._registry.push(e)}removeRegistryLayer(e){this._registry=this._registry.filter(t=>t.name!==e)}clearRegistry(){this._registry=[]}}const v=JSON.parse('{"ExportGeoJSONSchema":{"type":"object","required":["exportFileName"],"additionalProperties":false,"properties":{"exportFileName":{"type":"string","title":"GeoJSON File Name","default":"exported_layer","description":"The name of the exported GeoJSON file."}}},"ExportGeoTIFFSchema":{"type":"object","required":["exportFileName","resolutionX","resolutionY"],"additionalProperties":false,"properties":{"exportFileName":{"type":"string","title":"GeoTiFF File Name","default":"exported_layer","description":"The name of the exported GeoTIFF file."},"resolutionX":{"type":"number","title":"Resolution (Width)","default":1200,"minimum":1,"maximum":10000,"description":"The width resolution for the raster export."},"resolutionY":{"type":"number","title":"Resolution (Height)","default":1200,"minimum":1,"maximum":10000,"description":"The height resolution for the raster export."}}},"BoundingBoxes":{"type":"object","required":["inputLayer"],"additionalProperties":false,"properties":{"inputLayer":{"type":"string","description":"The input layer for bounding boxes."}}},"Buffer":{"type":"object","required":["inputLayer","bufferDistance"],"additionalProperties":false,"properties":{"inputLayer":{"type":"string","description":"The input layer for buffering."},"bufferDistance":{"type":"number","default":10,"description":"The distance used for buffering the geometry (in projection units)."},"embedOutputLayer":{"type":"boolean","title":"Embed output buffered layer in file","default":true}}},"Centroids":{"type":"object","required":["inputLayer"],"additionalProperties":false,"properties":{"inputLayer":{"type":"string","description":"The input layer for centroids."}}},"ConcaveHull":{"type":"object","required":["inputLayer"],"additionalProperties":false,"properties":{"inputLayer":{"type":"string","description":"The input layer for Concave Hull."},"pctconvex":{"type":"number","description":"Controls the concaveness of the computed hull, vary from 0 to 1, 0 corresponds to the maximum concavity.","multipleOf":0.1,"minimum":0,"maximum":1,"default":0.5},"allowHoles":{"type":"boolean","title":"Allow holes in the hull","default":false}}},"ConvexHull":{"type":"object","required":["inputLayer"],"additionalProperties":false,"properties":{"inputLayer":{"type":"string","description":"The input layer for Convex Hull."}}},"Dissolve":{"type":"object","required":["inputLayer","dissolveField"],"additionalProperties":false,"properties":{"inputLayer":{"type":"string","description":"The input layer for the dissolve operation."},"dissolveField":{"type":"string","description":"The field based on which geometries will be dissolved."},"embedOutputLayer":{"type":"boolean","title":"Embed output dissolved layer in file","default":true}}},"HeatmapLayer":{"type":"object","required":["source","blur","radius"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"opacity":{"type":"number","description":"The opacity of the source","default":1,"multipleOf":0.1,"minimum":0,"maximum":1},"radius":{"type":"number","description":"Radius size in pixels","default":8},"blur":{"type":"number","description":"Blur size in pixels","default":15},"color":{"type":"array","items":{"type":"string"},"default":["#00f","#0ff","#0f0","#ff0","#f00"]},"symbologyState":{"type":"object","description":"The state of the symbology panel options","required":["renderType"],"properties":{"renderType":{"type":"string"},"colorRamp":{"type":"string","default":"cool"}}}}},"HillshadeLayer":{"type":"object","required":["source"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"shadowColor":{"type":"string","description":"The color of the the shadows","default":"#473B24"}}},"ImageLayer":{"type":"object","required":["source"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"opacity":{"type":"number","description":"The opacity of the source","default":1,"multipleOf":0.1,"minimum":0,"maximum":1}}},"RasterLayer":{"type":"object","required":["source"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"opacity":{"type":"number","description":"The opacity of the source","default":1,"multipleOf":0.1,"minimum":0,"maximum":1}}},"StacLayer":{"type":"object","required":["data"],"additionalProperties":false,"properties":{"data":{"type":"object","description":"The data of the source"},"opacity":{"type":"number","description":"The opacity of the source","default":1,"multipleOf":0.1,"minimum":0,"maximum":1}}},"VectorLayer":{"type":"object","required":["source"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"color":{"type":"object","description":"The color of the the object"},"opacity":{"type":"number","description":"The opacity of the the object","default":1,"multipleOf":0.1,"minimum":0,"maximum":1},"symbologyState":{"type":"object","description":"The state of the symbology panel options","required":["renderType"],"properties":{"renderType":{"type":"string","enum":["Single Symbol","Graduated","Categorized"]},"value":{"type":"string"},"method":{"type":"string","enum":["color","radius"]},"colorRamp":{"type":"string","default":"cool"},"nClasses":{"type":"string","default":"9"},"mode":{"type":"string","default":"equal interval","enum":["quantile","equal interval","jenks","pretty","logarithmic"]}},"additionalProperties":false}}},"VectorTileLayer":{"type":"object","required":["source"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"color":{"type":"object","description":"The color of the the object"},"opacity":{"type":"number","description":"The opacity of the the object","default":1,"multipleOf":0.1,"minimum":0,"maximum":1}}},"WebGlLayer":{"type":"object","required":["source"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"opacity":{"type":"number","description":"The opacity of the source","default":1,"multipleOf":0.1,"minimum":0,"maximum":1},"color":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"string"},{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"string"}]}}]}}]}}],"description":"The color of the the object"},"symbologyState":{"type":"object","description":"The state of the symbology panel options","required":["renderType"],"properties":{"renderType":{"type":"string"},"band":{"type":"number"},"redBand":{"type":"number"},"greenBand":{"type":"number"},"blueBand":{"type":"number"},"alphaBand":{"type":"number"},"interpolation":{"type":"string","enum":["discrete","linear","exact"]},"colorRamp":{"type":"string","default":"cool"},"nClasses":{"type":"string","default":"9"},"mode":{"type":"string","default":"equal interval","enum":["continuous","equal interval","quantile"]}},"additionalProperties":false}}},"GeoTiffSource":{"type":"object","required":["urls"],"additionalProperties":false,"properties":{"urls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"}}},"minItems":1,"description":"URLs"},"normalize":{"type":"boolean","default":true},"wrapX":{"type":"boolean","default":false},"interpolate":{"type":"boolean","description":"Interpolate between grid cells when overzooming?","default":false}}},"ImageSource":{"type":"object","required":["path","coordinates"],"additionalProperties":false,"properties":{"path":{"type":"string","readOnly":true,"description":"Path that points to an image"},"coordinates":{"type":"array","readOnly":true,"items":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"minItems":4,"maxItems":4,"default":[],"description":"Corners of image specified in longitude, latitude pairs"},"interpolate":{"type":"boolean","description":"Interpolate between grid cells when overzooming?","default":false}}},"RasterDemSource":{"type":"object","required":["url"],"additionalProperties":false,"properties":{"url":{"type":"string","description":"The url to the tile provider"},"attribution":{"type":"string","description":"The attribution for the raster-dem source"},"urlParameters":{"type":"object","additionalProperties":{"type":"string"}},"interpolate":{"type":"boolean","description":"Interpolate between grid cells when overzooming?","default":false}}},"RasterSource":{"type":"object","required":["url","maxZoom","minZoom"],"additionalProperties":false,"properties":{"url":{"type":"string","description":"The url to the tile provider"},"minZoom":{"type":"number","minimum":0,"maximum":24,"readOnly":true,"description":"The minimum zoom level for the raster source","default":0},"maxZoom":{"type":"number","minimum":0,"maximum":24,"readOnly":true,"description":"The maximum zoom level for the raster source","default":24},"attribution":{"type":"string","readOnly":true,"description":"The attribution for the raster source","default":""},"htmlAttribution":{"type":"string","readOnly":true,"description":"The html attribution for the raster source","default":""},"provider":{"type":"string","readOnly":true,"description":"The map provider","default":""},"bounds":{"type":"array","readOnly":true,"items":{"type":"array","items":{"type":"number"}},"default":[],"description":"The bounds of the source"},"urlParameters":{"type":"object","additionalProperties":{"type":"string"},"default":{}},"interpolate":{"type":"boolean","description":"Interpolate between grid cells when overzooming?","default":false}}},"ShapefileSource":{"type":"object","required":["path"],"additionalProperties":false,"properties":{"path":{"type":"string","description":"The path to the shapefile (.shp, .zip, or folder URL)."},"attribution":{"type":"string","readOnly":true,"description":"The attribution for the shapefile source.","default":""},"projection":{"type":"string","description":"The projection information for the shapefile (optional).","default":"WGS84"},"encoding":{"type":"string","description":"The encoding used for the shapefile\'s DBF (optional).","default":"UTF-8"},"additionalFiles":{"type":"object","description":"Additional files associated with the shapefile (e.g., .dbf, .prj, .cpg).","additionalProperties":{"type":"string"},"default":{}}}},"VectorTileSource":{"type":"object","required":["url","maxZoom","minZoom"],"additionalProperties":false,"properties":{"url":{"type":"string","description":"The url to the tile provider"},"minZoom":{"type":"number","minimum":0,"maximum":24,"description":"The minimum zoom level for the vector source"},"maxZoom":{"type":"number","minimum":0,"maximum":24,"description":"The maximum zoom level for the vector source"},"attribution":{"type":"string","description":"The attribution for the vector source"},"provider":{"type":"string","readOnly":true,"description":"The map provider"},"urlParameters":{"type":"object","additionalProperties":{"type":"string"}}}},"VideoSource":{"type":"object","required":["urls","coordinates"],"additionalProperties":false,"properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"default":[],"description":"URLs to video content in order of preferred format"},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"minItems":4,"maxItems":4,"default":[],"description":"Corners of video specified in longitude, latitude pairs"}}},"GeoJSONSource":{"type":"object","required":[],"additionalProperties":false,"properties":{"path":{"type":"string","description":"The local path to a GeoJSON file"},"data":{"type":"object","description":"The GeoJSON data","$schema":"http://json-schema.org/draft-07/schema#","$id":"https://geojson.org/schema/GeoJSON.json","title":"GeoJSON","oneOf":[{"title":"GeoJSON Point","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Point"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"number"}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON LineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["LineString"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON Polygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Polygon"]},"coordinates":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPoint","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPoint"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiLineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiLineString"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPolygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPolygon"]},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON GeometryCollection","type":"object","required":["type","geometries"],"properties":{"type":{"type":"string","enum":["GeometryCollection"]},"geometries":{"type":"array","items":{"oneOf":[{"title":"GeoJSON Point","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Point"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"number"}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON LineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["LineString"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON Polygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Polygon"]},"coordinates":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPoint","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPoint"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiLineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiLineString"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPolygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPolygon"]},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}}]}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON Feature","type":"object","required":["type","properties","geometry"],"properties":{"type":{"type":"string","enum":["Feature"]},"id":{"oneOf":[{"type":"number"},{"type":"string"}]},"properties":{"oneOf":[{"type":"null"},{"type":"object"}]},"geometry":{"oneOf":[{"type":"null"},{"title":"GeoJSON Point","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Point"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"number"}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON LineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["LineString"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON Polygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Polygon"]},"coordinates":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPoint","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPoint"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiLineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiLineString"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPolygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPolygon"]},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON GeometryCollection","type":"object","required":["type","geometries"],"properties":{"type":{"type":"string","enum":["GeometryCollection"]},"geometries":{"type":"array","items":{"oneOf":[{"title":"GeoJSON Point","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Point"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"number"}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON LineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["LineString"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON Polygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Polygon"]},"coordinates":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPoint","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPoint"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiLineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiLineString"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPolygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPolygon"]},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}}]}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}}]},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON FeatureCollection","type":"object","required":["type","features"],"properties":{"type":{"type":"string","enum":["FeatureCollection"]},"features":{"type":"array","items":{"title":"GeoJSON Feature","type":"object","required":["type","properties","geometry"],"properties":{"type":{"type":"string","enum":["Feature"]},"id":{"oneOf":[{"type":"number"},{"type":"string"}]},"properties":{"oneOf":[{"type":"null"},{"type":"object"}]},"geometry":{"oneOf":[{"type":"null"},{"title":"GeoJSON Point","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Point"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"number"}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON LineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["LineString"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON Polygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Polygon"]},"coordinates":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPoint","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPoint"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiLineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiLineString"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPolygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPolygon"]},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON GeometryCollection","type":"object","required":["type","geometries"],"properties":{"type":{"type":"string","enum":["GeometryCollection"]},"geometries":{"type":"array","items":{"oneOf":[{"title":"GeoJSON Point","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Point"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"number"}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON LineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["LineString"]},"coordinates":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON Polygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["Polygon"]},"coordinates":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPoint","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPoint"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"number"}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiLineString","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiLineString"]},"coordinates":{"type":"array","items":{"type":"array","minItems":2,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}},{"title":"GeoJSON MultiPolygon","type":"object","required":["type","coordinates"],"properties":{"type":{"type":"string","enum":["MultiPolygon"]},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"array","minItems":4,"items":{"type":"array","minItems":2,"items":{"type":"number"}}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}}]}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}}]},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}}},"bbox":{"type":"array","minItems":4,"items":{"type":"number"}}}}]},"valid":{"type":"boolean","description":"Whether the data are valid or not","readOnly":true}}}}');class q{constructor(e){this._registry=new Map(Object.entries(v)),this._docManager=e}registerSchema(e,t){this._registry.has(e)?console.error("Worker is already registered!"):this._registry.set(e,t)}has(e){return this._registry.has(e)}getSchemas(){return this._registry}getDocManager(){return this._docManager}}const J=[{id:"jupytergis:core:tracker",autoStart:!0,requires:[P.ITranslator],optional:[O.IMainMenu],provides:n.IJupyterGISDocTracker,activate:(e,t,r)=>{const i=new a.WidgetTracker({namespace:"jupytergis"});return console.log("jupytergis:core:tracker is activated!"),i}},j,{id:"jupytergis:core:form-schema-registry",autoStart:!0,requires:[x.IDocumentManager],provides:n.IJGISFormSchemaRegistryToken,activate:(e,t)=>new q(t)},{id:"jupytergis:core:external-command-registry",autoStart:!0,requires:[],provides:n.IJGISExternalCommandRegistryToken,activate:e=>new T},{id:"jupytergis:core:layer-browser-registry",autoStart:!0,requires:[],provides:n.IJGISLayerBrowserRegistryToken,activate:e=>(console.log("jupytergis:core:layer-browser-registry is activated"),new G)},{id:"jupytergis:core:annotation",autoStart:!0,requires:[n.IJupyterGISDocTracker],provides:n.IAnnotationToken,activate:(e,t)=>{var r;const i=new o.AnnotationModel({model:null===(r=t.currentWidget)||void 0===r?void 0:r.model});return t.currentChanged.connect((e,t)=>{i.model=(null==t?void 0:t.model)||void 0}),i}}]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _JUPYTERLAB;(()=>{"use strict";var e,r,t,a,o,n,i,u,l,d,f,c,s,p,b,h,y,m,v,g,j,w,P,O,S,E,_,x={71650:(e,r,t)=>{var a={"./index":()=>Promise.all([t.e(583),t.e(991)]).then(()=>()=>t(29991)),"./extension":()=>Promise.all([t.e(583),t.e(991)]).then(()=>()=>t(29991)),"./style":()=>t.e(432).then(()=>()=>t(51432))},o=(e,r)=>(t.R=r,r=t.o(a,e)?a[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),n=(e,r)=>{if(t.S){var a="default",o=t.S[a];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[a]=e,t.I(a,r)}};t.d(r,{get:()=>o,init:()=>n})}},k={};function T(e){var r=k[e];if(void 0!==r)return r.exports;var t=k[e]={id:e,loaded:!1,exports:{}};return x[e].call(t.exports,t,t.exports,T),t.loaded=!0,t.exports}T.m=x,T.c=k,T.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return T.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,T.t=function(t,a){if(1&a&&(t=this(t)),8&a)return t;if("object"==typeof t&&t){if(4&a&&t.__esModule)return t;if(16&a&&"function"==typeof t.then)return t}var o=Object.create(null);T.r(o);var n={};e=e||[null,r({}),r([]),r(r)];for(var i=2&a&&t;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(e=>n[e]=()=>t[e]);return n.default=()=>t,T.d(o,n),o},T.d=(e,r)=>{for(var t in r)T.o(r,t)&&!T.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},T.f={},T.e=e=>Promise.all(Object.keys(T.f).reduce((r,t)=>(T.f[t](e,r),r),[])),T.u=e=>e+"."+{27:"6ee794baeb00791424c2",154:"0d16fbe1d1182d138b2c",229:"ee0310f26253b45fe462",234:"2f0fc49f516ad354aa18",376:"58a6410b7089dea5b0d5",397:"60274eedc66443d2b6fc",407:"da5d00862f4879fe3c9c",432:"b81aa01fd224321ff376",472:"b2ea9ebc35d5ad4e1fcc",542:"477a73b8682de0e8d45e",552:"0936beb209d3ea5a1229",555:"be80e60305924af2e139",618:"86523276f857e0a3362e",671:"8da90f680f4c1d71b5fb",803:"5f3759c98814aa602705",991:"347021da09be0d178782"}[e]+".js?v="+{27:"6ee794baeb00791424c2",154:"0d16fbe1d1182d138b2c",229:"ee0310f26253b45fe462",234:"2f0fc49f516ad354aa18",376:"58a6410b7089dea5b0d5",397:"60274eedc66443d2b6fc",407:"da5d00862f4879fe3c9c",432:"b81aa01fd224321ff376",472:"b2ea9ebc35d5ad4e1fcc",542:"477a73b8682de0e8d45e",552:"0936beb209d3ea5a1229",555:"be80e60305924af2e139",618:"86523276f857e0a3362e",671:"8da90f680f4c1d71b5fb",803:"5f3759c98814aa602705",991:"347021da09be0d178782"}[e],T.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),T.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),T.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},a="@jupytergis/jupytergis-core:",T.l=(e,r,o,n)=>{if(t[e])t[e].push(r);else{var i,u;if(void 0!==o)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var f=l[d];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==a+o){i=f;break}}i||(u=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,T.nc&&i.setAttribute("nonce",T.nc),i.setAttribute("data-webpack",a+o),i.src=e),t[e]=[r];var c=(r,a)=>{i.onerror=i.onload=null,clearTimeout(s);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(a)),r)return r(a)},s=setTimeout(c.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=c.bind(null,i.onerror),i.onload=c.bind(null,i.onload),u&&document.head.appendChild(i)}},T.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},T.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{T.S={};var e={},r={};T.I=(t,a)=>{a||(a=[]);var o=r[t];if(o||(o=r[t]={}),!(a.indexOf(o)>=0)){if(a.push(o),e[t])return e[t];T.o(T.S,t)||(T.S[t]={});var n=T.S[t],i="@jupytergis/jupytergis-core",u=(e,r,t,a)=>{var o=n[e]=n[e]||{},u=o[r];(!u||!u.loaded&&(!a!=!u.eager?a:i>u.from))&&(o[r]={get:t,from:i,eager:!!a})},l=[];return"default"===t&&(u("@jupyter/collaborative-drive","3.1.2",()=>Promise.all([T.e(262),T.e(234)]).then(()=>()=>T(20234))),u("@jupytergis/base","0.6.2",()=>Promise.all([T.e(229),T.e(262),T.e(602),T.e(671),T.e(583)]).then(()=>()=>T(16711))),u("@jupytergis/jupytergis-core","0.6.2",()=>Promise.all([T.e(583),T.e(991)]).then(()=>()=>T(29991))),u("@jupytergis/schema","0.6.2",()=>Promise.all([T.e(803),T.e(262),T.e(602),T.e(397)]).then(()=>()=>T(67397)))),e[t]=l.length?Promise.all(l).then(()=>e[t]=1):1}}})(),(()=>{var e;T.g.importScripts&&(e=T.g.location+"");var r=T.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var a=t.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=t[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),T.p=e})(),o=e=>{var r=e=>e.split(".").map(e=>+e==e?+e:e),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),a=t[1]?r(t[1]):[];return t[2]&&(a.length++,a.push.apply(a,r(t[2]))),t[3]&&(a.push([]),a.push.apply(a,r(t[3]))),a},n=(e,r)=>{e=o(e),r=o(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var a=e[t],n=(typeof a)[0];if(t>=r.length)return"u"==n;var i=r[t],u=(typeof i)[0];if(n!=u)return"o"==n&&"n"==u||"s"==u||"u"==n;if("o"!=n&&"u"!=n&&a!=i)return a<i;t++}},i=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var a=1,o=1;o<e.length;o++)a--,t+="u"==(typeof(u=e[o]))[0]?"-":(a>0?".":"")+(a=2,u);return t}var n=[];for(o=1;o<e.length;o++){var u=e[o];n.push(0===u?"not("+l()+")":1===u?"("+l()+" || "+l()+")":2===u?n.pop()+" "+n.pop():i(u))}return l();function l(){return n.pop().replace(/^\((.+)\)$/,"$1")}},u=(e,r)=>{if(0 in e){r=o(r);var t=e[0],a=t<0;a&&(t=-t-1);for(var n=0,i=1,l=!0;;i++,n++){var d,f,c=i<e.length?(typeof e[i])[0]:"";if(n>=r.length||"o"==(f=(typeof(d=r[n]))[0]))return!l||("u"==c?i>t&&!a:""==c!=a);if("u"==f){if(!l||"u"!=c)return!1}else if(l)if(c==f)if(i<=t){if(d!=e[i])return!1}else{if(a?d>e[i]:d<e[i])return!1;d!=e[i]&&(l=!1)}else if("s"!=c&&"n"!=c){if(a||i<=t)return!1;l=!1,i--}else{if(i<=t||f<c!=a)return!1;l=!1}else"s"!=c&&"n"!=c&&(l=!1,i--)}}var s=[],p=s.pop.bind(s);for(n=1;n<e.length;n++){var b=e[n];s.push(1==b?p()|p():2==b?p()&p():b?u(b,r):!p())}return!!p()},l=(e,r)=>e&&T.o(e,r),d=e=>(e.loaded=1,e.get()),f=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),c=(e,r,t)=>{var a=t?f(e[r]):e[r];return(r=Object.keys(a).reduce((e,r)=>!e||n(e,r)?r:e,0))&&a[r]},s=(e,r,t,a)=>{var o=a?f(e[r]):e[r];return(r=Object.keys(o).reduce((e,r)=>!u(t,r)||e&&!n(e,r)?e:r,0))&&o[r]},p=(e,r,t)=>{var a=t?f(e[r]):e[r];return Object.keys(a).reduce((e,r)=>!e||!a[e].loaded&&n(e,r)?r:e,0)},b=(e,r,t,a)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(a)+")",h=(e,r,t,a,o)=>{var n=e[t];return"No satisfying version ("+i(a)+")"+(o?" for eager consumption":"")+" of shared module "+t+" found in shared scope "+r+".\nAvailable versions: "+Object.keys(n).map(e=>e+" from "+n[e].from).join(", ")},y=e=>{throw new Error(e)},m=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},g=(e,r,t)=>t?t():((e,r)=>y("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),j=(v=e=>function(r,t,a,o,n){var i=T.I(r);return i&&i.then&&!a?i.then(e.bind(e,r,T.S[r],t,!1,o,n)):e(r,T.S[r],t,a,o,n)})((e,r,t,a,o,n)=>{if(!l(r,t))return g(e,t,n);var i=s(r,t,o,a);return i?d(i):(m(h(r,e,t,o,a)),d(c(r,t,a)))}),w=v((e,r,t,a,o,n)=>{if(!l(r,t))return g(e,t,n);var i=s(r,t,o,a);return i?d(i):n?n():void y(h(r,e,t,o,a))}),P=v((e,r,t,a,o,n)=>{if(!l(r,t))return g(e,t,n);var i=p(r,t,a);return u(o,i)||m(b(r,t,i,o)),d(r[t][i])}),O={},S={6480:()=>j("default","@jupyterlab/docregistry",!1,[1,4,4,4]),14884:()=>P("default","@jupyterlab/filebrowser",!1,[1,4,4,4]),28708:()=>P("default","@jupyterlab/coreutils",!1,[1,6,4,4]),30280:()=>P("default","@jupytergis/schema",!1,[2,0,6,2],()=>Promise.all([T.e(803),T.e(262),T.e(602),T.e(397)]).then(()=>()=>T(67397))),65533:()=>P("default","@jupyterlab/console",!1,[1,4,4,4]),78805:()=>P("default","@jupyterlab/apputils",!1,[1,4,5,4]),8654:()=>P("default","@jupyterlab/launcher",!1,[1,4,4,4]),14805:()=>P("default","@jupyterlab/docmanager",!1,[1,4,4,4]),35974:()=>P("default","@jupyterlab/rendermime",!1,[1,4,4,4]),42672:()=>P("default","@jupytergis/base",!1,[2,0,6,2],()=>Promise.all([T.e(229),T.e(262),T.e(602),T.e(671)]).then(()=>()=>T(16711))),54503:()=>P("default","@jupyterlab/translation",!1,[1,4,4,4]),60322:()=>P("default","@jupyterlab/codeeditor",!1,[1,4,4,4]),76903:()=>w("default","@jupyter/collaborative-drive",!1,[1,3,0,0],()=>Promise.all([T.e(262),T.e(234)]).then(()=>()=>T(20234))),82679:()=>P("default","@jupyterlab/settingregistry",!1,[1,4,4,4]),85828:()=>P("default","@jupyterlab/mainmenu",!1,[1,4,4,4]),67262:()=>P("default","@lumino/coreutils",!1,[1,2,0,0]),74602:()=>P("default","@lumino/signaling",!1,[1,2,0,0]),7628:()=>P("default","react-dom",!1,[1,18,2,0]),25955:()=>P("default","@jupyterlab/services",!1,[1,7,4,4]),35256:()=>P("default","@lumino/widgets",!1,[1,2,3,1,,"alpha",0]),40180:()=>P("default","@jupyter/react-components",!1,[2,0,16,6]),46167:()=>P("default","@lumino/commands",!1,[1,2,0,1]),46230:()=>P("default","@lumino/messaging",!1,[1,2,0,0]),46249:()=>P("default","@jupyterlab/ui-components",!1,[1,4,4,4]),89322:()=>j("default","@jupyterlab/observables",!1,[1,5,4,4]),93345:()=>P("default","react",!1,[1,18,2,0]),28e3:()=>P("default","@jupyter/ydoc",!1,[1,3,0,0,,"a3"])},E={262:[67262],397:[28e3],583:[6480,14884,28708,30280,65533,78805],602:[74602],671:[7628,25955,35256,40180,46167,46230,46249,89322,93345],991:[8654,14805,35974,42672,54503,60322,76903,82679,85828]},_={},T.f.consumes=(e,r)=>{T.o(E,e)&&E[e].forEach(e=>{if(T.o(O,e))return r.push(O[e]);if(!_[e]){var t=r=>{O[e]=0,T.m[e]=t=>{delete T.c[e],t.exports=r()}};_[e]=!0;var a=r=>{delete O[e],T.m[e]=t=>{throw delete T.c[e],r}};try{var o=S[e]();o.then?r.push(O[e]=o.then(t).catch(a)):t(o)}catch(e){a(e)}}})},(()=>{T.b=document.baseURI||self.location.href;var e={108:0};T.f.j=(r,t)=>{var a=T.o(e,r)?e[r]:void 0;if(0!==a)if(a)t.push(a[2]);else if(/^(262|583|602)$/.test(r))e[r]=0;else{var o=new Promise((t,o)=>a=e[r]=[t,o]);t.push(a[2]=o);var n=T.p+T.u(r),i=new Error;T.l(n,t=>{if(T.o(e,r)&&(0!==(a=e[r])&&(e[r]=void 0),a)){var o=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+n+")",i.name="ChunkLoadError",i.type=o,i.request=n,a[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var a,o,[n,i,u]=t,l=0;if(n.some(r=>0!==e[r])){for(a in i)T.o(i,a)&&(T.m[a]=i[a]);u&&u(T)}for(r&&r(t);l<n.length;l++)o=n[l],T.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunk_jupytergis_jupytergis_core=self.webpackChunk_jupytergis_jupytergis_core||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),T.nc=void 0;var A=T(71650);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["@jupytergis/jupytergis-core"]=A})();
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|