jupytergis-core 0.4.2__py3-none-any.whl → 0.4.4__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/__init__.py +4 -1
- jupytergis_core/_version.py +1 -1
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/package.json +4 -4
- jupytergis_core-0.4.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/31.e9cd0d7591d75f6758de.js +1 -0
- jupytergis_core-0.4.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/350eec4ce9ae4bc10bca.wasm +0 -0
- jupytergis_core-0.4.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/713.32aef4e64952eb9ee4ea.js +1 -0
- jupytergis_core-0.4.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/729.324a42416a3ebbd3b351.js +8 -0
- jupytergis_core-0.4.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/991.2b2f966775f1e2f4e94e.js +1 -0
- jupytergis_core-0.4.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/e473e1e9f20af114bbb4.data +97604 -44
- jupytergis_core-0.4.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/remoteEntry.92b9caad6441d1ab3223.js +1 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/third-party-licenses.json +19 -31
- {jupytergis_core-0.4.2.dist-info → jupytergis_core-0.4.4.dist-info}/METADATA +1 -1
- {jupytergis_core-0.4.2.dist-info → jupytergis_core-0.4.4.dist-info}/RECORD +80 -78
- jupytergis_core-0.4.2.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/557.9c6874ed5c47fc6eb4d2.js +0 -1
- jupytergis_core-0.4.2.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/839.6daf90cfa9cc1dbf9a8e.js +0 -1
- jupytergis_core-0.4.2.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/964.d6afe22a09e727d334e4.js +0 -8
- jupytergis_core-0.4.2.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/991.327406a0a654309e2eb2.js +0 -1
- jupytergis_core-0.4.2.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/remoteEntry.bddf023ee67b1d4729fd.js +0 -1
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/etc/jupyter/jupyter_server_config.d/jupytergis_core.json +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/026680ab0cd1523edc87.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/02ff7d503bbd90b21fc4.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/062a9554f6b4caac9713.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/064f37cecb8130ad66e8.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/08da2741746ddab81d04.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/0c6a0352b82839119f95.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/13c485bb93f5567f02fd.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1474207a6b3ca1001e78.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/14b98240613d5256c621.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/154.0d16fbe1d1182d138b2c.js +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1b97ea0f2b3af717cffa.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1d440270da19a2f22fee.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1ed164e010f3c0306d15.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2218dfba22fc2b08e948.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/234.2f0fc49f516ad354aa18.js +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.aea9e291ba3dd16790fb.js +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.aea9e291ba3dd16790fb.js.LICENSE.txt +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2ab791b60c4058e664f8.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2b24b6a745c11511f055.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2d676bc0a01c2cd2fccb.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2f02309ea499725612ea.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/32c7a73662cceb5bb1d7.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/363ca7c5f78deb6fd033.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/376.58a6410b7089dea5b0d5.js +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/3ae0bf244442de7efc35.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/3d48be10ffea86eb15de.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/407.da5d00862f4879fe3c9c.js +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/415edc3fa381260cf31e.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/42cbddf5e883673bc4e2.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/432.df2bee6966bdd5a48317.js +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/472.b2ea9ebc35d5ad4e1fcc.js +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/527ef171d5df15dc7da5.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/542.477a73b8682de0e8d45e.js +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/552.3f267df0d8b2c9ef2c40.js +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/555.be80e60305924af2e139.js +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5bb02252f243f8c7494f.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5d181edc3c046e1454a1.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5f32ad48aefe00e51312.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/618.86523276f857e0a3362e.js +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/6e4f6b4d0dfca3bd4450.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/71d436fb44627b6bfbd7.png +0 -0
- /jupytergis_core-0.4.2.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/964.d6afe22a09e727d334e4.js.LICENSE.txt → /jupytergis_core-0.4.4.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/729.324a42416a3ebbd3b351.js.LICENSE.txt +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/7b225dc2d37cd3582156.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.8b9c4e2f8bed9130b6d0.js +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.8b9c4e2f8bed9130b6d0.js.LICENSE.txt +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/843ab141e62516b9df5c.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/8814e17f6b110e8f3e42.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/88b2ae0d29edb684eae5.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/971a42d174dd17b9451a.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a3c609f5bff95a7a53be.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a86d626c9ed2e222d190.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a9e286b0c0264a9fc737.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ab309078b494f850430a.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/b15e3989b7b90b5a8d9d.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/b36717fbb06f21d53b01.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ba4b6e82fe5a816c40a5.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/bb2b310570da7a3587e9.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/be92bcf7bb99753b4b3d.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/c2ffa011d7f52a0ddf45.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d83457b1b925c1718f6d.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/f2617180c6907263a7ff.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/fe99a6dbf5a71d308989.png +0 -0
- {jupytergis_core-0.4.2.data → jupytergis_core-0.4.4.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/style.js +0 -0
- {jupytergis_core-0.4.2.dist-info → jupytergis_core-0.4.4.dist-info}/WHEEL +0 -0
- {jupytergis_core-0.4.2.dist-info → jupytergis_core-0.4.4.dist-info}/entry_points.txt +0 -0
- {jupytergis_core-0.4.2.dist-info → jupytergis_core-0.4.4.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1 @@
|
|
|
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:()=>l,default:()=>J});var i=r(76903),o=r(85524),n=r(79569),a=r(9366),s=r(75545),p=r(91808),y=r(36928),m=r(30650),d=r(74258),u=r(96812),c=r(58596);class l extends c.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,this._contentsManager&&(t.contentsManager=this._contentsManager);const r=new u.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 u.ToolbarWidget({commands:this._commands,model:t,externalCommands:this._externalCommandRegistry.getCommands()});return new u.JupyterGISDocumentWidget({context:e,content:r,toolbar:i})}}class b{constructor(e){this.collaborative=!0,this._disposed=!1,this._annotationModel=e.annotationModel}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){return new o.JupyterGISModel({sharedModel:e.sharedModel,languagePreference:e.languagePreference,annotationModel:this._annotationModel})}}const g="JupyterGIS .jgis Viewer",h="jgis",I="jupytergis-jgismodel",f={id:"jupyterGIS:jGISplugin",requires:[o.IJupyterGISDocTracker,n.IThemeManager,y.IFileBrowserFactory,o.IJGISExternalCommandRegistryToken,s.ConsolePanel.IContentFactory,a.IEditorServices,d.IRenderMimeRegistry,s.IConsoleTracker,o.IAnnotationToken],optional:[m.ILauncher,n.ICommandPalette,i.ICollaborativeDrive],autoStart:!0,activate:(e,t,r,i,n,a,s,y,m,d,f,S,j)=>{p.PageConfig.getOption("jgis_expose_maps")&&(window.jupytergisMaps={});const x=new l({name:g,modelName:I,fileTypes:[h],defaultFor:[h],tracker:t,commands:e.commands,externalCommandRegistry:n,manager:e.serviceManager,contentFactory:a,rendermime:y,mimeTypeService:s.mimeTypeService,consoleTracker:m});e.docRegistry.addWidgetFactory(x);const G=new c.MimeDocumentFactory({dataType:"json",rendermime:y,modelName:I,name:"JSON Editor",primaryFileType:e.docRegistry.getFileType("json"),fileTypes:[h]});e.docRegistry.addWidgetFactory(G);const O=new b({annotationModel:d});e.docRegistry.addModelFactory(O),e.docRegistry.addFileType({name:h,displayName:"JGIS",mimeTypes:["text/json"],extensions:[".jgis",".JGIS"],fileFormat:"text",contentType:h,icon:u.logoMiniIcon});j&&j.sharedModelFactory.registerDocumentFactory(h,(()=>new o.JupyterGISDoc)),x.widgetCreated.connect(((i,o)=>{o.title.icon=u.logoIcon,o.context.pathChanged.connect((()=>{t.save(o)})),r.themeChanged.connect(((e,t)=>o.model.themeChanged.emit(t))),e.shell.activateById("jupytergis::leftControlPanel"),e.shell.activateById("jupytergis::rightControlPanel"),t.add(o).then((()=>{Object.values(u.CommandIDs).forEach((t=>{e.commands.hasCommand(t)&&e.commands.notifyCommandChanged(t)}))})).catch((e=>{console.error("Cannot update JupyterGIS commands",e)}))})),e.commands.addCommand(u.CommandIDs.createNew,{label:e=>"GIS File",caption:"Create a new JGIS Editor",icon:e=>u.logoIcon,execute:async t=>{var r;const o=t.cwd||(null===(r=i.tracker.currentWidget)||void 0===r?void 0:r.model.path);let n=await e.serviceManager.contents.newUntitled({path:o,type:"file",ext:".jGIS"});return n=await e.serviceManager.contents.save(n.path,Object.assign(Object.assign({},n),{format:"text",size:void 0,content:'{\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:n.path,factory:g})}}),f&&f.add({command:u.CommandIDs.createNew,category:"Other",rank:1}),S&&(S.addItem({command:u.CommandIDs.createNew,args:{isPalette:!0},category:"JupyterGIS"}),S.addItem({command:u.CommandIDs.openLayerBrowser,category:"JupyterGIS"}),S.addItem({command:u.CommandIDs.newRasterEntry,category:"JupyterGIS"}),S.addItem({command:u.CommandIDs.newVectorTileEntry,category:"JupyterGIS"}),S.addItem({command:u.CommandIDs.newGeoJSONEntry,category:"JupyterGIS"}),S.addItem({command:u.CommandIDs.newHillshadeEntry,category:"JupyterGIS"}),S.addItem({command:u.CommandIDs.newRasterSource,category:"JupyterGIS"}),S.addItem({command:u.CommandIDs.newRasterDemSource,category:"JupyterGIS"}),S.addItem({command:u.CommandIDs.newVectorSource,category:"JupyterGIS"}),S.addItem({command:u.CommandIDs.newGeoJSONSource,category:"JupyterGIS"}),S.addItem({command:u.CommandIDs.newRasterLayer,category:"JupyterGIS"}),S.addItem({command:u.CommandIDs.newVectorLayer,category:"JupyterGIS"}),S.addItem({command:u.CommandIDs.newHillshadeLayer,category:"JupyterGIS"}),S.addItem({command:u.CommandIDs.moveLayerToNewGroup,category:"JupyterGIS"}),S.addItem({command:u.CommandIDs.buffer,category:"JupyterGIS"}))}};var S=r(60128),j=r(7579),x=r(70513);class G{constructor(){this._registry=new Set}registerCommand(e){this._registry.add(e)}getCommands(){return[...this._registry]}}class O{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 T=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."}}},"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}}},"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}}},"VectorTileLayer":{"type":"object","required":["source","type"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"type":{"type":"string","enum":["circle","fill","line"],"default":"line","description":"The type of vector layer"},"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}}},"VectorLayer":{"type":"object","required":["source","type"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the source"},"type":{"type":"string","enum":["circle","fill","line"],"default":"line","description":"The type of vector layer"},"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}}},"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"},"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 P{constructor(e){this._registry=new Map(Object.entries(T)),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:[j.ITranslator],optional:[S.IMainMenu],provides:o.IJupyterGISDocTracker,activate:(e,t,r)=>{const i=new n.WidgetTracker({namespace:"jupytergis"});return console.log("jupytergis:core:tracker is activated!"),i}},f,{id:"jupytergis:core:form-schema-registry",autoStart:!0,requires:[x.IDocumentManager],provides:o.IJGISFormSchemaRegistryToken,activate:(e,t)=>new P(t)},{id:"jupytergis:core:external-command-registry",autoStart:!0,requires:[],provides:o.IJGISExternalCommandRegistryToken,activate:e=>new G},{id:"jupytergis:core:layer-browser-registry",autoStart:!0,requires:[],provides:o.IJGISLayerBrowserRegistryToken,activate:e=>(console.log("jupytergis:core:layer-browser-registry is activated"),new O)},{id:"jupytergis:core:annotation",autoStart:!0,requires:[o.IJupyterGISDocTracker],provides:o.IAnnotationToken,activate:(e,t)=>{var r;const i=new u.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}}]}}]);
|