jupytergis-core 0.1.3__py3-none-any.whl → 0.1.5__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/jgis_ydoc.py +1 -10
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/package.json +4 -4
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/00c411a1ee170202a2e9.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/0141a2f191aec848c2fc.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/0658ea829d1a5bb04782.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/0cc01c5e06e85f07278d.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/0da4fb6356fc019b42db.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/155.ab2d4685af67486e0658.js +1 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2a84257afdcbef844b92.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2c73fcafe95e709689ec.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2cfc6c2c5119745ef7fd.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/44bdc73392ad23fcdf8c.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/557.0b58e3e2f305c1511239.js +1 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/57.44a013e9affe2ac3d6f8.js +8 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/63a2e6b796d3371f0dbe.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/69de9b388f10a59617ab.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/6d3f756096544a4eb94c.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/887786e1adaea7e7f538.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/991.bb0392c1b52af940e3a4.js +1 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ad72ae933fb2e1bdaa5a.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d14d26bf47e46c9bad29.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d60bd335ae109e02c303.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d8a3298da7a65d7b5e71.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/dd972f8b6d596f779629.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/deaabc4d2e62eaa7260e.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ed84732e3f459c60501b.png +0 -0
- jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/remoteEntry.3efacd5a07b08d672cb0.js +1 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/third-party-licenses.json +4 -4
- {jupytergis_core-0.1.3.dist-info → jupytergis_core-0.1.5.dist-info}/METADATA +1 -1
- jupytergis_core-0.1.5.dist-info/RECORD +79 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/05cd6f9ef7cee99b045d.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/25add056a64c313112c1.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2fd48688b8db6630a98b.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/342e1e3d19b03b1fe609.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/378afa99d57ed2ae3412.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/49aaa70fdbd358566081.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/557.fe291f5575a15c36d24c.js +0 -1
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/57.5de96a80fc76b40d5c98.js +0 -8
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/65a5e66f99e9379dfc35.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/6d8404aa058fc40542b5.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/81ffc09a91df6d865b2a.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/880b33982acf113f7814.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/91d7eac484745f2cc5be.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/936.169e398d63d619903349.js +0 -1
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/987b25b09e2ab3aa14c7.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/991.31397828c39e542d58cd.js +0 -1
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/9ed013096549f2bf7c22.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a3d0ada3998dc5eedfd3.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/b55cd9c1ba258194a75b.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/c5f242778732b5dc2895.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/c6533f8919fbd9204588.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/e48a0a08bd9700f029ef.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/edf2f8b4d83dca6ed541.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/f96120c463d07664c2e3.png +0 -0
- jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/remoteEntry.2c0a4f1ad6ed25d278ab.js +0 -1
- jupytergis_core-0.1.3.dist-info/RECORD +0 -79
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/etc/jupyter/jupyter_server_config.d/jupytergis_core.json +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/034e72037478aea1bd04.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/062a9554f6b4caac9713.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/064f37cecb8130ad66e8.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/08da2741746ddab81d04.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/154.0d16fbe1d1182d138b2c.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/197.34d9096e78e2f4b7138c.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1d440270da19a2f22fee.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1f152a2e838d5bc9734a.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/226.280aa14a2e4c0654c374.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.aea9e291ba3dd16790fb.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.aea9e291ba3dd16790fb.js.LICENSE.txt +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2b3d42a470b5ce14859a.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/32c7a73662cceb5bb1d7.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/350eec4ce9ae4bc10bca.wasm +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/36.b2f6adaa2d1def5c163f.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/363ca7c5f78deb6fd033.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/366.33cb40029b4f4da3d3ad.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/3d48be10ffea86eb15de.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/407.fa2f7a0dc4d3371a5e2c.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/432.19e693d578a221132366.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/460.a2074380632031c05e8d.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/472.08add5249d72d563ba32.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/4ed4ae4121d38d85100b.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/509.0d58394cd3a34bdbd0b9.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/542.3038c6cef679f15b8d9a.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/552.9f37fbb73d9f60b6c3f3.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/555.7d0c1d2ee9e49a619cb9.js +0 -0
- /jupytergis_core-0.1.3.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/57.5de96a80fc76b40d5c98.js.LICENSE.txt → /jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/57.44a013e9affe2ac3d6f8.js.LICENSE.txt +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/618.86523276f857e0a3362e.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/733.9bce9fdd113869d413d0.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/777.b41e81dd6b0af001baab.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/777.b41e81dd6b0af001baab.js.LICENSE.txt +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.959deb5eafbb3ab489c6.js +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/9d23b9ebf800c009f835.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/aa0d1282df07ef3c385f.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ae2589dc6f6090080a25.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/bf9c5537f242b3244cfd.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d0917c2edc1eee1562a2.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d7eb57ad53f788b1fa92.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d83457b1b925c1718f6d.png +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/e473e1e9f20af114bbb4.data +0 -0
- {jupytergis_core-0.1.3.data → jupytergis_core-0.1.5.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/style.js +0 -0
- {jupytergis_core-0.1.3.dist-info → jupytergis_core-0.1.5.dist-info}/WHEEL +0 -0
- {jupytergis_core-0.1.3.dist-info → jupytergis_core-0.1.5.dist-info}/entry_points.txt +0 -0
- {jupytergis_core-0.1.3.dist-info → jupytergis_core-0.1.5.dist-info}/licenses/LICENSE +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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,{JupyterGISWidgetFactory:()=>d,default:()=>O});var i=r(84796),o=r(9260),n=r(12200),s=r(40131),a=r(98032),y=r(77313),p=r(56887),m=r(95215),u=r(556),c=r(72135);class d extends c.ABCWidgetFactory{constructor(e){const{backendCheck:t,externalCommandRegistry:r}=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=t,this._commands=e.commands,this._externalCommandRegistry=r,this._drive=e.drive}createNewWidget(e){if(this._backendCheck&&!this._backendCheck())throw new Error("Requested backend is not installed");const{model:t}=e;this._drive&&t.setDrive(this._drive,e.path);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.JupyterGISWidget({context:e,content:r,toolbar:i})}}class l{constructor(){this.collaborative=!0,this._disposed=!1}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})}}const b="JupyterGIS .jgis Viewer",g={id:"jupyterGIS:jGISplugin",requires:[o.IJupyterGISDocTracker,n.IThemeManager,y.IFileBrowserFactory,o.IJGISExternalCommandRegistryToken,a.ConsolePanel.IContentFactory,s.IEditorServices,m.IRenderMimeRegistry,a.IConsoleTracker],optional:[p.ILauncher,n.ICommandPalette,i.ICollaborativeDrive],autoStart:!0,activate:(e,t,r,i,n,s,a,y,p,m,c,g)=>{const I=new d({name:b,modelName:"jupytergis-jgismodel",fileTypes:["jgis"],defaultFor:["jgis"],tracker:t,commands:e.commands,externalCommandRegistry:n,drive:g,manager:e.serviceManager,contentFactory:s,rendermime:y,mimeTypeService:a.mimeTypeService,consoleTracker:p});e.docRegistry.addWidgetFactory(I);const h=new l;e.docRegistry.addModelFactory(h),e.docRegistry.addFileType({name:"jgis",displayName:"JGIS",mimeTypes:["text/json"],extensions:[".jgis",".JGIS"],fileFormat:"text",contentType:"jgis"});g&&g.sharedModelFactory.registerDocumentFactory("jgis",(()=>new o.JupyterGISDoc)),I.widgetCreated.connect(((i,o)=>{o.context.pathChanged.connect((()=>{t.save(o)})),r.themeChanged.connect(((e,t)=>o.context.model.themeChanged.emit(t))),t.add(o),e.shell.activateById("jupytergis::leftControlPanel"),e.shell.activateById("jupytergis::rightControlPanel")})),e.commands.addCommand(u.CommandIDs.createNew,{label:e=>"New JGIS 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}'})),e.commands.execute("docmanager:open",{path:n.path,factory:b})}}),m&&m.add({command:u.CommandIDs.createNew,category:"Other",rank:1}),c&&(c.addItem({command:u.CommandIDs.createNew,args:{isPalette:!0},category:"JupyterGIS"}),c.addItem({command:u.CommandIDs.openLayerBrowser,category:"JupyterGIS"}),c.addItem({command:u.CommandIDs.newRasterEntry,category:"JupyterGIS"}),c.addItem({command:u.CommandIDs.newVectorTileEntry,category:"JupyterGIS"}),c.addItem({command:u.CommandIDs.newGeoJSONEntry,category:"JupyterGIS"}),c.addItem({command:u.CommandIDs.newHillshadeEntry,category:"JupyterGIS"}),c.addItem({command:u.CommandIDs.newRasterSource,category:"JupyterGIS"}),c.addItem({command:u.CommandIDs.newRasterDemSource,category:"JupyterGIS"}),c.addItem({command:u.CommandIDs.newVectorSource,category:"JupyterGIS"}),c.addItem({command:u.CommandIDs.newGeoJSONSource,category:"JupyterGIS"}),c.addItem({command:u.CommandIDs.newRasterLayer,category:"JupyterGIS"}),c.addItem({command:u.CommandIDs.newVectorLayer,category:"JupyterGIS"}),c.addItem({command:u.CommandIDs.newHillshadeLayer,category:"JupyterGIS"}),c.addItem({command:u.CommandIDs.moveLayerToNewGroup,category:"JupyterGIS"}))}};var I=r(86241),h=r(2678);class f{constructor(){this._registry=new Set}registerCommand(e){this._registry.add(e)}getCommands(){return[...this._registry]}}class S{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 j=JSON.parse('{"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}}},"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}}},"ImageSource":{"type":"object","required":["url","coordinates"],"additionalProperties":false,"properties":{"url":{"type":"string","readOnly":true,"description":"URL 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"}}},"RasterDemSource":{"type":"object","required":["url"],"additionalProperties":false,"properties":{"url":{"type":"string","description":"The url to the tile provider"},"tileSize":{"type":"number","description":" The tile size","default":512},"attribution":{"type":"string","description":"The attribution for the raster-dem source"},"encoding":{"type":"string","enum":["terrarium","mapbox"],"default":"mapbox"},"urlParameters":{"type":"object","additionalProperties":{"type":"string"}}}},"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}}},"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":{}}}},"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":{}}}},"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"},"sourceLayer":{"type":"string","description":"The source layer to use"},"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"},"sourceLayer":{"type":"string","description":"The source layer to use"},"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}}},"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"}}},"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"}}},"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 G{constructor(){this._registry=new Map(Object.entries(j))}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}}const O=[{id:"jupytergis:core:tracker",autoStart:!0,requires:[h.ITranslator],optional:[I.IMainMenu],provides:o.IJupyterGISDocTracker,activate:(e,t,r)=>{const i=new n.WidgetTracker({namespace:"jupytergis"});return console.log("jupytergis:core:tracker is activated!"),i}},g,{id:"jupytergis:core:form-schema-registry",autoStart:!0,requires:[],provides:o.IJGISFormSchemaRegistryToken,activate:e=>new G},{id:"jupytergis:core:external-command-registry",autoStart:!0,requires:[],provides:o.IJGISExternalCommandRegistryToken,activate:e=>new f},{id:"jupytergis:core:layer-browser-registry",autoStart:!0,requires:[],provides:o.IJGISLayerBrowserRegistryToken,activate:e=>(console.log("jupytergis:core:layer-browser-registry is activated"),new S)}]}}]);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _JUPYTERLAB;(()=>{"use strict";var e,r,t,a,o,n,i,f,u,c,d,l,s,p,b,h,y,v,g,m,j,w,P,O,S,_,E={71650:(e,r,t)=>{var a={"./index":()=>Promise.all([t.e(437),t.e(991)]).then((()=>()=>t(29991))),"./extension":()=>Promise.all([t.e(437),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 x(e){var r=k[e];if(void 0!==r)return r.exports;var t=k[e]={id:e,loaded:!1,exports:{}};return E[e].call(t.exports,t,t.exports,x),t.loaded=!0,t.exports}x.m=E,x.c=k,x.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return x.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,x.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);x.r(o);var n={};e=e||[null,r({}),r([]),r(r)];for(var i=2&a&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((e=>n[e]=()=>t[e]));return n.default=()=>t,x.d(o,n),o},x.d=(e,r)=>{for(var t in r)x.o(r,t)&&!x.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},x.f={},x.e=e=>Promise.all(Object.keys(x.f).reduce(((r,t)=>(x.f[t](e,r),r)),[])),x.u=e=>e+"."+{27:"aea9e291ba3dd16790fb",36:"b2f6adaa2d1def5c163f",57:"44a013e9affe2ac3d6f8",141:"5102567b7f1b3154d707",154:"0d16fbe1d1182d138b2c",155:"ab2d4685af67486e0658",197:"34d9096e78e2f4b7138c",226:"280aa14a2e4c0654c374",366:"33cb40029b4f4da3d3ad",407:"fa2f7a0dc4d3371a5e2c",432:"19e693d578a221132366",437:"5991b954cb4fb3d4b431",460:"a2074380632031c05e8d",472:"08add5249d72d563ba32",509:"0d58394cd3a34bdbd0b9",542:"3038c6cef679f15b8d9a",552:"9f37fbb73d9f60b6c3f3",555:"7d0c1d2ee9e49a619cb9",557:"0b58e3e2f305c1511239",618:"86523276f857e0a3362e",733:"9bce9fdd113869d413d0",777:"b41e81dd6b0af001baab",803:"959deb5eafbb3ab489c6",991:"bb0392c1b52af940e3a4"}[e]+".js?v="+{27:"aea9e291ba3dd16790fb",36:"b2f6adaa2d1def5c163f",57:"44a013e9affe2ac3d6f8",141:"5102567b7f1b3154d707",154:"0d16fbe1d1182d138b2c",155:"ab2d4685af67486e0658",197:"34d9096e78e2f4b7138c",226:"280aa14a2e4c0654c374",366:"33cb40029b4f4da3d3ad",407:"fa2f7a0dc4d3371a5e2c",432:"19e693d578a221132366",437:"5991b954cb4fb3d4b431",460:"a2074380632031c05e8d",472:"08add5249d72d563ba32",509:"0d58394cd3a34bdbd0b9",542:"3038c6cef679f15b8d9a",552:"9f37fbb73d9f60b6c3f3",555:"7d0c1d2ee9e49a619cb9",557:"0b58e3e2f305c1511239",618:"86523276f857e0a3362e",733:"9bce9fdd113869d413d0",777:"b41e81dd6b0af001baab",803:"959deb5eafbb3ab489c6",991:"bb0392c1b52af940e3a4"}[e],x.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),x.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},a="@jupytergis/jupytergis-core:",x.l=(e,r,o,n)=>{if(t[e])t[e].push(r);else{var i,f;if(void 0!==o)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var d=u[c];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==a+o){i=d;break}}i||(f=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,x.nc&&i.setAttribute("nonce",x.nc),i.setAttribute("data-webpack",a+o),i.src=e),t[e]=[r];var l=(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(l.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),f&&document.head.appendChild(i)}},x.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},x.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{x.S={};var e={},r={};x.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];x.o(x.S,t)||(x.S[t]={});var n=x.S[t],i="@jupytergis/jupytergis-core",f=(e,r,t,a)=>{var o=n[e]=n[e]||{},f=o[r];(!f||!f.loaded&&(!a!=!f.eager?a:i>f.from))&&(o[r]={get:t,from:i,eager:!!a})},u=[];return"default"===t&&(f("@jupytergis/base","0.1.5",(()=>Promise.all([x.e(777),x.e(57),x.e(437),x.e(141),x.e(155)]).then((()=>()=>x(29908))))),f("@jupytergis/jupytergis-core","0.1.5",(()=>Promise.all([x.e(437),x.e(991)]).then((()=>()=>x(29991))))),f("@jupytergis/schema","0.1.5",(()=>Promise.all([x.e(777),x.e(803),x.e(141),x.e(557)]).then((()=>()=>x(92557)))))),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),(()=>{var e;x.g.importScripts&&(e=x.g.location+"");var r=x.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(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),x.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],f=(typeof i)[0];if(n!=f)return"o"==n&&"n"==f||"s"==f||"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(f=e[o]))[0]?"-":(a>0?".":"")+(a=2,f);return t}var n=[];for(o=1;o<e.length;o++){var f=e[o];n.push(0===f?"not("+u()+")":1===f?"("+u()+" || "+u()+")":2===f?n.pop()+" "+n.pop():i(f))}return u();function u(){return n.pop().replace(/^\((.+)\)$/,"$1")}},f=(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,u=!0;;i++,n++){var c,d,l=i<e.length?(typeof e[i])[0]:"";if(n>=r.length||"o"==(d=(typeof(c=r[n]))[0]))return!u||("u"==l?i>t&&!a:""==l!=a);if("u"==d){if(!u||"u"!=l)return!1}else if(u)if(l==d)if(i<=t){if(c!=e[i])return!1}else{if(a?c>e[i]:c<e[i])return!1;c!=e[i]&&(u=!1)}else if("s"!=l&&"n"!=l){if(a||i<=t)return!1;u=!1,i--}else{if(i<=t||d<l!=a)return!1;u=!1}else"s"!=l&&"n"!=l&&(u=!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?f(b,r):!p())}return!!p()},u=(e,r)=>e&&x.o(e,r),c=e=>(e.loaded=1,e.get()),d=e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}),l=(e,r,t)=>{var a=t?d(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?d(e[r]):e[r];return(r=Object.keys(o).reduce(((e,r)=>!f(t,r)||e&&!n(e,r)?e:r),0))&&o[r]},p=(e,r,t)=>{var a=t?d(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)},v=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},m=(e,r,t)=>t?t():((e,r)=>y("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),j=(g=e=>function(r,t,a,o,n){var i=x.I(r);return i&&i.then&&!a?i.then(e.bind(e,r,x.S[r],t,!1,o,n)):e(r,x.S[r],t,a,o,n)})(((e,r,t,a,o,n)=>{if(!u(r,t))return m(e,t,n);var i=s(r,t,o,a);return i?c(i):(v(h(r,e,t,o,a)),c(l(r,t,a)))})),w=g(((e,r,t,a,o,n)=>{if(!u(r,t))return m(e,t,n);var i=p(r,t,a);return f(o,i)||v(b(r,t,i,o)),c(r[t][i])})),P={},O={2678:()=>w("default","@jupyterlab/translation",!1,[1,4,2,5]),9260:()=>w("default","@jupytergis/schema",!1,[2,0,1,5],(()=>Promise.all([x.e(777),x.e(803),x.e(141),x.e(557)]).then((()=>()=>x(92557))))),12200:()=>w("default","@jupyterlab/apputils",!1,[1,4,3,5]),72135:()=>j("default","@jupyterlab/docregistry",!1,[1,4,2,5]),98032:()=>w("default","@jupyterlab/console",!1,[1,4,2,5]),556:()=>w("default","@jupytergis/base",!1,[2,0,1,5],(()=>Promise.all([x.e(777),x.e(57),x.e(141),x.e(155)]).then((()=>()=>x(29908))))),40131:()=>w("default","@jupyterlab/codeeditor",!1,[1,4,2,5]),56887:()=>w("default","@jupyterlab/launcher",!1,[1,4,2,5]),77313:()=>w("default","@jupyterlab/filebrowser",!1,[1,4,2,5]),84796:()=>w("default","@jupyter/docprovider",!1,[1,2,0,0]),86241:()=>w("default","@jupyterlab/mainmenu",!1,[1,4,2,5]),95215:()=>w("default","@jupyterlab/rendermime",!1,[1,4,2,5]),67262:()=>w("default","@lumino/coreutils",!1,[1,2,0,0]),74602:()=>w("default","@lumino/signaling",!1,[1,2,0,0]),81473:()=>w("default","@jupyterlab/coreutils",!1,[1,6,2,5]),35256:()=>w("default","@lumino/widgets",!1,[1,2,3,1,,"alpha",0]),44993:()=>w("default","@jupyterlab/codemirror",!1,[1,4,2,5]),46230:()=>w("default","@lumino/messaging",!1,[1,2,0,0]),57354:()=>w("default","@jupyterlab/services",!1,[1,7,2,5]),59429:()=>j("default","@jupyterlab/observables",!1,[1,5,2,5]),64053:()=>w("default","@lumino/algorithm",!1,[1,2,0,0]),87460:()=>w("default","@jupyterlab/ui-components",!1,[1,4,2,5]),93345:()=>w("default","react",!1,[1,18,2,0]),22697:()=>w("default","@jupyter/ydoc",!1,[1,2,0,1])},S={141:[67262,74602,81473],155:[35256,44993,46230,57354,59429,64053,87460,93345],437:[2678,9260,12200,72135,98032],557:[22697],991:[556,40131,56887,77313,84796,86241,95215]},_={},x.f.consumes=(e,r)=>{x.o(S,e)&&S[e].forEach((e=>{if(x.o(P,e))return r.push(P[e]);if(!_[e]){var t=r=>{P[e]=0,x.m[e]=t=>{delete x.c[e],t.exports=r()}};_[e]=!0;var a=r=>{delete P[e],x.m[e]=t=>{throw delete x.c[e],r}};try{var o=O[e]();o.then?r.push(P[e]=o.then(t).catch(a)):t(o)}catch(e){a(e)}}}))},(()=>{x.b=document.baseURI||self.location.href;var e={108:0};x.f.j=(r,t)=>{var a=x.o(e,r)?e[r]:void 0;if(0!==a)if(a)t.push(a[2]);else if(/^(141|437)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>a=e[r]=[t,o]));t.push(a[2]=o);var n=x.p+x.u(r),i=new Error;x.l(n,(t=>{if(x.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,f]=t,u=0;if(n.some((r=>0!==e[r]))){for(a in i)x.o(i,a)&&(x.m[a]=i[a]);f&&f(x)}for(r&&r(t);u<n.length;u++)o=n[u],x.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))})(),x.nc=void 0;var T=x(71650);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["@jupytergis/jupytergis-core"]=T})();
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "@jupytergis/base",
|
|
29
|
-
"versionInfo": "0.1.
|
|
29
|
+
"versionInfo": "0.1.5",
|
|
30
30
|
"licenseId": "BSD-3-Clause",
|
|
31
31
|
"extractedText": ""
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"name": "@jupytergis/schema",
|
|
35
|
-
"versionInfo": "0.1.
|
|
35
|
+
"versionInfo": "0.1.5",
|
|
36
36
|
"licenseId": "BSD-3-Clause",
|
|
37
37
|
"extractedText": ""
|
|
38
38
|
},
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
"name": "fast-uri",
|
|
161
|
-
"versionInfo": "3.0.
|
|
161
|
+
"versionInfo": "3.0.2",
|
|
162
162
|
"licenseId": "MIT",
|
|
163
163
|
"extractedText": "Copyright (c) 2021 The Fastify Team\nCopyright (c) 2011-2021, Gary Court until https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n * The names of any contributors may not be used to endorse or promote\n products derived from this software without specific prior written\n permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n * * *\n\nThe complete list of contributors can be found at:\n- https://github.com/garycourt/uri-js/graphs/contributors"
|
|
164
164
|
},
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
244
|
"name": "ol",
|
|
245
|
-
"versionInfo": "10.2.
|
|
245
|
+
"versionInfo": "10.2.1",
|
|
246
246
|
"licenseId": "BSD-2-Clause",
|
|
247
247
|
"extractedText": "BSD 2-Clause License\n\nCopyright 2005-present, OpenLayers Contributors\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
|
|
248
248
|
},
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
jupytergis_core/__init__.py,sha256=a_0rFN3JcV2ETxMBxTGG9znAC7cPP3quyeloDPXJaD0,1075
|
|
2
|
+
jupytergis_core/_version.py,sha256=rT_m-tZAf0KIGqEcmsoISBVPQOZD0GnEi4vbMpYUeto,171
|
|
3
|
+
jupytergis_core/handler.py,sha256=W9GaEdV0_dohQW963bx2FP8nkhUraJ1WMG4g9OQjQoI,1337
|
|
4
|
+
jupytergis_core/jgis_ydoc.py,sha256=UwY21NzKoUwjjOtYCHgsG8Gf_9d9tBWoFSCUShbN_dk,2477
|
|
5
|
+
jupytergis_core-0.1.5.data/data/etc/jupyter/jupyter_server_config.d/jupytergis_core.json,sha256=CV_X7pENr4UgKxFL4m6f8FGBtrrV5PJazlckMYVrelo,90
|
|
6
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/package.json,sha256=uvxzerQHBJgvxEDZrf4vxsw-FXLqh4IclXhsGA9MtEY,4014
|
|
7
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/00c411a1ee170202a2e9.png,sha256=AMQRoe4XAgKi6YVaL9knMOz9lzIbA6snBNZY4RKbIoA,8837
|
|
8
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/0141a2f191aec848c2fc.png,sha256=AUGi8ZGuyEjC_DqyepKXiCPYSv1SCxRoxWc6_0S8FsE,327436
|
|
9
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/034e72037478aea1bd04.png,sha256=A05yA3R4rqG9BOqERhnzKe1Izoavs6LDZJJo6F1IxME,1838
|
|
10
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/062a9554f6b4caac9713.png,sha256=BiqVVPa0yqyXExBtgWeeMTcPACeYir3ULoOKDFkdGjg,369976
|
|
11
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/064f37cecb8130ad66e8.png,sha256=Bk83zsuBMK1m6EmLobbOXNgBSn2FKfdHM3I8cg2azPg,431901
|
|
12
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/0658ea829d1a5bb04782.png,sha256=Bljqgp0aW7BHgjZztuVnkm-V3DzBRmtuObgemOlvO0k,48080
|
|
13
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/08da2741746ddab81d04.png,sha256=CNonQXRt2rgdBPPmwxPZQoWyTJygC_FFlui1rDD8NjE,442782
|
|
14
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/0cc01c5e06e85f07278d.png,sha256=DMAcXgboXwcnjd1nJgb0-fWqapeGzAjpQKgWEEhVkrU,352170
|
|
15
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/0da4fb6356fc019b42db.png,sha256=DaT7Y1b8AZtC21D7-pjBkzPsNx9px5z2PXA1lICx6-U,406658
|
|
16
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/154.0d16fbe1d1182d138b2c.js,sha256=DRb74dEYLROLLP2aREv72_x72j7Zu5xsKkGYwPLRZ9g,2742
|
|
17
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/155.ab2d4685af67486e0658.js,sha256=qy1Gha9nSG4GWCIyz7hrytNHujihy8XcDT-1IlpkZ2o,223933
|
|
18
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/197.34d9096e78e2f4b7138c.js,sha256=NNkJbnji9LcTjDGXQ5rMsSyhsy3UF7-vIHruQQp8cqo,1866
|
|
19
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1d440270da19a2f22fee.png,sha256=HUQCcNoZovIv7gEA5ngeodlMG-4S9JOHdB2PtJWby_A,319945
|
|
20
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1f152a2e838d5bc9734a.png,sha256=HxUqLoONW8lzSqyghf9RY6hm8M06EJfbD3yQ1Q-Wy8Y,1936
|
|
21
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/226.280aa14a2e4c0654c374.js,sha256=KAqhSi5MBlTDdNlIH7o9hqm-RTooza5mxVMPDMi3t5Q,675
|
|
22
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.aea9e291ba3dd16790fb.js,sha256=SLTsXf31nRttUhzRmrcjLFEec_sjPLbWxGwE3x5Jb94,63307
|
|
23
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.aea9e291ba3dd16790fb.js.LICENSE.txt,sha256=dwQ7H60QoWgzT-QRmxxtmVIE1715m87nofpOOY7yeqE,254
|
|
24
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2a84257afdcbef844b92.png,sha256=KoQlev3L74RLkgM-OxooabAstRncD_ISNFTYrTe2wy8,548112
|
|
25
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2b3d42a470b5ce14859a.png,sha256=Kz1CpHC1zhSFmn_hyZeyFdXCrcRKtLQbeItfXXJzpHs,62730
|
|
26
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2c73fcafe95e709689ec.png,sha256=LHP8r-lecJaJ7LwWis-FXTjL22ZYwR-Iw1rseapQvVw,511724
|
|
27
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2cfc6c2c5119745ef7fd.png,sha256=LPxsLFEZdF73_cfCrIS9NOusWzWgQlMvCzqlK-1IOdk,109472
|
|
28
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/32c7a73662cceb5bb1d7.png,sha256=MsenNmLM61ux1zTnKQUeboPZrl8wiESG8BL6f9S5Xvw,172231
|
|
29
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/350eec4ce9ae4bc10bca.wasm,sha256=NQ7sTOmuS8ELyv2GIUY-BXq9u4-DcvDY4K8G5rhWGDU,28219835
|
|
30
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/36.b2f6adaa2d1def5c163f.js,sha256=svatqi0d71wWP0_1T79JkZFLqyjAMsC-2tjRkkoXbUI,183509
|
|
31
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/363ca7c5f78deb6fd033.png,sha256=NjynxfeN62_QM_iVvsjjqCRhWhvhTRnuNb33yD9Roqs,445044
|
|
32
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/366.33cb40029b4f4da3d3ad.js,sha256=M8tAAptPTaPTrUoSvZkuOzIDGLdqo4sBtLVw9OGo2F4,13788
|
|
33
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/3d48be10ffea86eb15de.png,sha256=PUi-EP_qhusV3uzeAW6SKeKROOQ7TpVWUlWxQCEof0A,452348
|
|
34
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/407.fa2f7a0dc4d3371a5e2c.js,sha256=-i96DcTTNxpeLK740d_4PXvXaHbx7aMPV1xMvajYFSk,1475
|
|
35
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/432.19e693d578a221132366.js,sha256=GeaT1XiiIRMjZosn6wCvubDk7L-HpxKEIlgfksIkraU,4065
|
|
36
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/44bdc73392ad23fcdf8c.png,sha256=RL3HM5KtI_zfjF0RrrwL4EyJc1Fk_dEDPsI7H_0hatY,415023
|
|
37
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/460.a2074380632031c05e8d.js,sha256=ogdDgGMgMcBejYUWb3OWmNaClW6WB8aHvuRphFAwz7Q,115737
|
|
38
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/472.08add5249d72d563ba32.js,sha256=CK3VJJ1y1WO6Mjuo7DxB75xwwaF1xc9VBAUQBSER93E,1712
|
|
39
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/4ed4ae4121d38d85100b.png,sha256=TtSuQSHTjYUQC94SjPoG4I4UOPGebkPi74mAAJDSjw0,279431
|
|
40
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/509.0d58394cd3a34bdbd0b9.js,sha256=DVg5TNOjS9vQuR8VyMe7jiyK7HMZr2-jiVspr0rp8nc,1071
|
|
41
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/542.3038c6cef679f15b8d9a.js,sha256=MDjGzvZ58VuNmpE_2ZmCXvEaSRxMWP_CV1NRHQfbH90,2085
|
|
42
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/552.9f37fbb73d9f60b6c3f3.js,sha256=nzf7tz2fYLbD87wnP6_UfQZftQrTR0EDi3-dxi1C7pY,46950
|
|
43
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/555.7d0c1d2ee9e49a619cb9.js,sha256=fQwdLunkmmGcuXJ0jvyPicLWN2Pks9x1vml10bKSVhE,10175
|
|
44
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/557.0b58e3e2f305c1511239.js,sha256=C1jj4vMFwVESOYpZS6NA4BAPX7dvcM_S0Q1mnvJ08xk,15181
|
|
45
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/57.44a013e9affe2ac3d6f8.js,sha256=B9rKvojsPUb8ZO2deOkVenjHR0OKmNsWez8mAYAlaw0,1381783
|
|
46
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/57.44a013e9affe2ac3d6f8.js.LICENSE.txt,sha256=ruYrmeUkIwDuwi7iFTBkaV-6lPZNcMs34gzMirrmR4U,583
|
|
47
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/618.86523276f857e0a3362e.js,sha256=hlIydvhX4KM2LoIUZ1oETZ5I15DqAITSjIcQE8sin1s,276
|
|
48
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/63a2e6b796d3371f0dbe.png,sha256=Y6Lmt5bTNx8NvnkHYfPec8Yitm3dl4kWTMS8QxEV-G0,142784
|
|
49
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/69de9b388f10a59617ab.png,sha256=ad6bOI8QpZYXq6afmto6LoH7fpmiQqxmHYu6GF7_A44,18783
|
|
50
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/6d3f756096544a4eb94c.png,sha256=bT91YJZUSk65TLaefPofsWTUOGa9sgqvBgoDz9zGMj8,518969
|
|
51
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/733.9bce9fdd113869d413d0.js,sha256=m86f3RE4adQT0Io87IQI_Sb3YPXQkAaTu-m6dLVcbQ4,1010
|
|
52
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/777.b41e81dd6b0af001baab.js,sha256=-z5B5tG1xfs8MwNwXfauwNuXawyXeHM-lvmCynT7UEA,19551
|
|
53
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/777.b41e81dd6b0af001baab.js.LICENSE.txt,sha256=e5rXKlIVk9PRn8cQPr8kfCfz1Paakt2urafpaM7lFGg,95
|
|
54
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.959deb5eafbb3ab489c6.js,sha256=lZ3rXq-7OrSJxjxeOkAj_khYWNS7oAiHYkmAY1Go91Y,102350
|
|
55
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/887786e1adaea7e7f538.png,sha256=iHeG4a2up-f1OCGVr2JTZJSlCBp1CuGMnbtbLnYv17s,370358
|
|
56
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/991.bb0392c1b52af940e3a4.js,sha256=uwOSwbUq-UDjpOezANIjV4iB4LrUquKkx1f6wA0PMHw,26865
|
|
57
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/9d23b9ebf800c009f835.png,sha256=nSO56_gAwAn4NapniPFDJb_cU5-CSuSnDlsn1JUkOQU,100288
|
|
58
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/aa0d1282df07ef3c385f.png,sha256=qg0Sgt8H7zw4X441EGGerbUcDfGEfwJtyk2bO-Y-s8A,108044
|
|
59
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ad72ae933fb2e1bdaa5a.png,sha256=rXKukz-y4b2qWuSGmui6L9vvvXIhJeNP4WZ1BxLXHpg,69756
|
|
60
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ae2589dc6f6090080a25.png,sha256=riWJ3G9gkAgKJQjZ8T5akYOX9OmDFs4NdjuaY2Ml8ps,283669
|
|
61
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/bf9c5537f242b3244cfd.png,sha256=v5xVN_JCsyRM_YNSfF1-P1YgyRU9rY9DAO0C8rqJyYQ,459450
|
|
62
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d0917c2edc1eee1562a2.png,sha256=0JF8Ltwe7hViom5EdyD4jo2mUfWca4SayMc07UA2v2Q,257521
|
|
63
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d14d26bf47e46c9bad29.png,sha256=0U0mv0fkbJutKRT1F8xrVb5gX3-oXW8C0Bv0powBwZM,528297
|
|
64
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d60bd335ae109e02c303.png,sha256=1gvTNa4QngLDAwGDc_841hA0VIkKnZ4aJ3CqD-CCn78,18217
|
|
65
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d7eb57ad53f788b1fa92.png,sha256=1-tXrVP3iLH6kqMKQ_Y8E6sSHMBoPdnoRtiNw1JDqk8,128059
|
|
66
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d83457b1b925c1718f6d.png,sha256=2DRXsbklwXGPbaqI2gpSzHS3_KxNOx8RnK5l8C8iBqc,17852
|
|
67
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d8a3298da7a65d7b5e71.png,sha256=2KMpjaemXXteceybDAvT3fYpKJ_xOmp_0ozKPHNbtL8,416767
|
|
68
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/dd972f8b6d596f779629.png,sha256=3Zcvi21Zb3eWKc6PF4AXuYBoTTwRkp0aKtmaud3pukA,54127
|
|
69
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/deaabc4d2e62eaa7260e.png,sha256=3qq8TS5i6qcmDkjSqvEd043FOTS0oXwP0vJg43U1zQ0,517911
|
|
70
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/e473e1e9f20af114bbb4.data,sha256=5HPh6fIK8RS7tJHZz37xVJhnCKfsdjsiGBxeXwEviJ4,11595145
|
|
71
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ed84732e3f459c60501b.png,sha256=7YRzLj9FnGBQGzMDHxbJOnZ5Ji0cj0gpZJtUDex0j2o,24674
|
|
72
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/remoteEntry.3efacd5a07b08d672cb0.js,sha256=PvrNWgewjWcssLGN2dN_i3pMoZF5MjnfNqNEP-VkcoQ,11028
|
|
73
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/style.js,sha256=g-u07NhwojMBj_0iNeJCJ_gEBVW7Pmt1VqjTGoAynKk,170
|
|
74
|
+
jupytergis_core-0.1.5.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/third-party-licenses.json,sha256=J8ArV8gZzoC8tMo79QZWFDBQNTI21QcEeyxnV8J3E34,154943
|
|
75
|
+
jupytergis_core-0.1.5.dist-info/METADATA,sha256=xondakPb_1MXwmkkWFc1rChTjtEKQ5PbY37uQjzdFNY,2966
|
|
76
|
+
jupytergis_core-0.1.5.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
77
|
+
jupytergis_core-0.1.5.dist-info/entry_points.txt,sha256=kAnz_pUpRTtFL8hibChlanokZH0yEGcBDnbs1hJzHGw,54
|
|
78
|
+
jupytergis_core-0.1.5.dist-info/licenses/LICENSE,sha256=VblFgHMsSan_kg15lNsI-YHIqUOUNXGptcoaX2yDDhU,1531
|
|
79
|
+
jupytergis_core-0.1.5.dist-info/RECORD,,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_jupytergis_jupytergis_core=self.webpackChunk_jupytergis_jupytergis_core||[]).push([[557],{92557:(e,t,r)=>{r.r(t),r.d(t,{IJGISExternalCommandRegistryToken:()=>g,IJGISFormSchemaRegistryToken:()=>c,IJGISLayerBrowserRegistryToken:()=>f,IJupyterGISDocTracker:()=>p,JupyterGISDoc:()=>d,JupyterGISModel:()=>u});var s=r(81473),i=r(74602),a=r(26803),n=r.n(a),o=r(22697),h=r(67262);class d extends o.YDocument{constructor(){super(),this.editable=!0,this._optionsObserver=e=>{this._optionsChanged.emit(e.keys)},this._optionsChanged=new i.Signal(this),this._layersChanged=new i.Signal(this),this._layerTreeChanged=new i.Signal(this),this._sourcesChanged=new i.Signal(this),this._terrainChanged=new i.Signal(this),this._options=this.ydoc.getMap("options"),this._layers=this.ydoc.getMap("layers"),this._layerTree=this.ydoc.getArray("layerTree"),this._sources=this.ydoc.getMap("sources"),this._terrain=this.ydoc.getMap("terrain"),this.undoManager.addToScope(this._layers),this.undoManager.addToScope(this._sources),this.undoManager.addToScope(this._layerTree),this._layers.observeDeep(this._layersObserver.bind(this)),this._layerTree.observe(this._layerTreeObserver.bind(this)),this._sources.observeDeep(this._sourcesObserver.bind(this)),this._terrain.observe(this._terrainObserver.bind(this)),this._options.observe(this._optionsObserver.bind(this))}dispose(){super.dispose()}get version(){return"0.1.0"}get layers(){return h.JSONExt.deepCopy(this._layers.toJSON())}set layers(e){this.transact((()=>{for(const[t,r]of Object.entries(e))this._layers.set(t,r)}))}set sources(e){this.transact((()=>{for(const[t,r]of Object.entries(e))this._sources.set(t,r)}))}get sources(){return h.JSONExt.deepCopy(this._sources.toJSON())}get layerTree(){return h.JSONExt.deepCopy(this._layerTree.toJSON())}set layerTree(e){this.transact((()=>{this._layerTree.delete(0,this._layerTree.length),this._layerTree.push(e)}))}get terrain(){return h.JSONExt.deepCopy(this._terrain.toJSON())}set terrain(e){this.transact((()=>{for(const[t,r]of Object.entries(e))this._terrain.set(t,r)}))}getLayer(e){if(this._layers.has(e))return h.JSONExt.deepCopy(this._layers.get(e))}getSource(e){if(this._sources.has(e))return h.JSONExt.deepCopy(this._sources.get(e))}set options(e){this.transact((()=>{for(const[t,r]of Object.entries(e))this._options.set(t,r)}))}get options(){return h.JSONExt.deepCopy(this._options.toJSON())}get layersChanged(){return this._layersChanged}get layerTreeChanged(){return this._layerTreeChanged}get sourcesChanged(){return this._sourcesChanged}get optionsChanged(){return this._optionsChanged}get terrainChanged(){return this._terrainChanged}layerExists(e){return Boolean(this._getLayerAsYMap(e))}removeLayer(e){this.transact((()=>{this._layers.delete(e)}))}addLayer(e,t){this.transact((()=>{this._layers.set(e,t)}))}updateLayer(e,t){this.transact((()=>{this._layers.set(e,t)}))}addLayerTreeItem(e,t){this.transact((()=>{this._layerTree.insert(e,[t])}))}updateLayerTreeItem(e,t){this.transact((()=>{this._layerTree.delete(e),t&&this._layerTree.insert(e,[t])}))}getObject(e){const t=this.getLayer(e);if(t)return t;return this.getSource(e)||void 0}updateObjectParameters(e,t){const r=this.getLayer(e);r&&(r.parameters=Object.assign(Object.assign({},r.parameters),t),this.updateLayer(e,r));const s=this.getSource(e);s&&(s.parameters=Object.assign(Object.assign({},s.parameters),t),this.updateSource(e,s))}sourceExists(e){return Boolean(this._getSourceAsYMap(e))}removeSource(e){this.transact((()=>{this._sources.delete(e)}))}addSource(e,t){this.transact((()=>{this._sources.set(e,t)}))}updateSource(e,t){this.transact((()=>this._sources.set(e,t)))}getOption(e){const t=this._options.get(e);if(t)return h.JSONExt.deepCopy(t)}setOption(e,t){this.transact((()=>{this._options.set(e,t)}))}static create(){return new d}_getLayerAsYMap(e){if(this._layers.has(e))return this._layers.get(e)}_getSourceAsYMap(e){if(this._sources.has(e))return this._sources.get(e)}_layersObserver(e){const t=[];let r=!1;e.forEach((e=>{e.keys.forEach(((s,i)=>{r||(r=!0),t.push({id:i,newValue:h.JSONExt.deepCopy(e.target.toJSON()[i])})}))})),r=0===t.length||r,r&&this._layersChanged.emit({layerChange:t})}_layerTreeObserver(e){const t=e.delta;this._layerTreeChanged.emit({layerTreeChange:t})}_sourcesObserver(e){const t=[];let r=!1;e.forEach((e=>{e.keys.forEach(((s,i)=>{r||(r=!0),t.push({id:i,newValue:h.JSONExt.deepCopy(e.target.toJSON()[i])})}))})),r=0===t.length||r,r&&this._sourcesChanged.emit({sourceChange:t})}_terrainObserver(e){this._terrainChanged.emit(this.terrain)}}const l=JSON.parse('{"type":"object","title":"IJGISContent","required":["layers","sources"],"additionalProperties":false,"properties":{"layers":{"$ref":"#/definitions/jGISLayers"},"sources":{"$ref":"#/definitions/jGISSources"},"layerTree":{"$ref":"#/definitions/jGISLayerTree"},"terrain":{"$ref":"#/definitions/jGISTerrain"},"options":{"$ref":"#/definitions/jGISOptions"}},"definitions":{"layerType":{"type":"string","enum":["RasterLayer","VectorLayer","VectorTileLayer","HillshadeLayer","WebGlLayer","ImageLayer"]},"sourceType":{"type":"string","enum":["RasterSource","VectorTileSource","GeoJSONSource","RasterDemSource","VideoSource","ImageSource","ShapefileSource","GeoTiffSource"]},"jGISLayer":{"title":"IJGISLayer","type":"object","additionalProperties":false,"required":["name","type","visible"],"properties":{"name":{"type":"string"},"type":{"$ref":"#/definitions/layerType"},"visible":{"type":"boolean","default":true},"parameters":{"type":"object"},"filters":{"$ref":"#/definitions/jGISFilter"}}},"jGISSource":{"title":"IJGISSource","type":"object","additionalProperties":false,"required":["name","type"],"properties":{"name":{"type":"string"},"type":{"$ref":"#/definitions/sourceType"},"parameters":{"type":"object"}}},"jGISLayerGroup":{"title":"IJGISLayerGroup","type":"object","additionalProperties":false,"required":["name","layers"],"properties":{"name":{"type":"string"},"layers":{"type":"array","default":[],"items":{"$ref":"#/definitions/jGISLayerItem"}},"visible":{"type":"boolean","default":true},"parameters":{"type":"object"}}},"jGISLayerItem":{"title":"IJGISLayerItem","oneOf":[{"type":"string"},{"$ref":"#/definitions/jGISLayerGroup"}]},"jGISLayers":{"title":"IJGISLayers","type":"object","default":{},"additionalProperties":{"$ref":"#/definitions/jGISLayer"}},"jGISSources":{"title":"IJGISSources","type":"object","default":{},"additionalProperties":{"$ref":"#/definitions/jGISSource"}},"jGISLayerTree":{"title":"IJGISLayerTree","type":"array","default":[],"items":{"$ref":"#/definitions/jGISLayerItem"}},"jGISTerrain":{"title":"IJGISTerrain","type":"object","default":{},"required":["source","exaggeration"],"additionalProperties":false,"properties":{"source":{"type":"string","description":"The id of the DEM source","default":""},"exaggeration":{"type":"number","default":1}}},"jGISOptions":{"title":"IJGISOptions","type":"object","default":{},"required":[],"additionalProperties":false,"properties":{"latitude":{"type":"number","default":0},"longitude":{"type":"number","default":0},"zoom":{"type":"number","default":0},"bearing":{"type":"number","default":0},"pitch":{"type":"number","default":0},"extent":{"type":"array","default":null,"items":{"type":"number"}},"projection":{"type":"string","default":"EPSG:3857"}}},"jGISFilterItem":{"title":"IJGISFilterItem","type":"object","default":{},"required":["operator","feature","value"],"additionalProperties":false,"properties":{"operator":{"type":"string","enum":["==","!=",">","<",">=","<="],"default":"=="},"feature":{"type":"string","default":""},"value":{"type":["string","number"]}}},"jGISFilter":{"title":"IJGISFilter","type":"object","required":["logicalOp","appliedFilters"],"additionalProperties":false,"properties":{"logicalOp":{"type":"string","default":"all"},"appliedFilters":{"type":"array","default":[],"items":{"$ref":"#/definitions/jGISFilterItem"}}}}}}');class u{constructor(e){this._onSharedModelChanged=(e,t)=>{var r;t&&(null===(r=null==t?void 0:t.objectChange)||void 0===r?void 0:r.length)&&(this._contentChanged.emit(void 0),this.dirty=!0)},this.collaborative=!0,this._onClientStateChanged=e=>{const t=this.sharedModel.awareness.getStates();this._clientStateChanged.emit(t),this._sharedModel.awareness.on("change",(e=>{(e.added.length||e.removed.length)&&this._userChanged.emit(this.users)}))},this.defaultKernelName="",this.defaultKernelLanguage="",this._dirty=!1,this._readOnly=!1,this._isDisposed=!1,this._userChanged=new i.Signal(this),this._disposed=new i.Signal(this),this._contentChanged=new i.Signal(this),this._stateChanged=new i.Signal(this),this._themeChanged=new i.Signal(this),this._clientStateChanged=new i.Signal(this);const{sharedModel:t}=e;t?this._sharedModel=t:(this._sharedModel=d.create(),this._sharedModel.changed.connect(this._onSharedModelChanged)),this.sharedModel.awareness.on("change",this._onClientStateChanged)}get sharedModel(){return this._sharedModel}get isDisposed(){return this._isDisposed}get contentChanged(){return this._contentChanged}get stateChanged(){return this._stateChanged}get themeChanged(){return this._themeChanged}get currentUserId(){var e;return null===(e=this.sharedModel)||void 0===e?void 0:e.awareness.clientID}get users(){var e;this._usersMap=null===(e=this._sharedModel)||void 0===e?void 0:e.awareness.getStates();const t=[];return this._usersMap&&this._usersMap.forEach(((e,r)=>{t.push({userId:r,userData:e.user})})),t}get userChanged(){return this._userChanged}get dirty(){return this._dirty}set dirty(e){this._dirty=e}get readOnly(){return this._readOnly}set readOnly(e){this._readOnly=e}get localState(){return this.sharedModel.awareness.getLocalState()}get clientStateChanged(){return this._clientStateChanged}get sharedOptionsChanged(){return this.sharedModel.optionsChanged}get sharedLayersChanged(){return this.sharedModel.layersChanged}get sharedLayerTreeChanged(){return this.sharedModel.layerTreeChanged}get sharedSourcesChanged(){return this.sharedModel.sourcesChanged}get terrainChanged(){return this.sharedModel.terrainChanged}get disposed(){return this._disposed}dispose(){this._isDisposed||(this._isDisposed=!0,this._sharedModel.dispose(),this._disposed.emit(),i.Signal.clearData(this))}toString(){return JSON.stringify(this.getContent(),null,2)}fromString(e){const t=JSON.parse(e),r=(new(n())).compile(l);if(!r(t)){let e="File format errors:\n";for(const t of r.errors||[])e=`${e}- ${t.instancePath} ${t.message}\n`;throw Error(e)}this.sharedModel.transact((()=>{var e,r,s,i,a;this.sharedModel.sources=null!==(e=t.sources)&&void 0!==e?e:{},this.sharedModel.layers=null!==(r=t.layers)&&void 0!==r?r:{},this.sharedModel.layerTree=null!==(s=t.layerTree)&&void 0!==s?s:[],this.sharedModel.terrain=null!==(i=t.terrain)&&void 0!==i?i:{source:"",exaggeration:0},this.sharedModel.options=null!==(a=t.options)&&void 0!==a?a:{latitude:0,longitude:0,zoom:0,bearing:0,pitch:0,projection:"EPSG:3857"}})),this.dirty=!0}toJSON(){return JSON.parse(this.toString())}fromJSON(e){}initialize(){}getWorker(){return u.worker}getContent(){return{sources:this.sharedModel.sources,layers:this.sharedModel.layers,layerTree:this.sharedModel.layerTree,options:this.sharedModel.options,terrain:this.sharedModel.terrain}}setDrive(e,t){this._drive=e,this._filePath=t}getLayers(){return this.sharedModel.layers}getSources(){return this.sharedModel.sources}getLayerTree(){return this.sharedModel.layerTree}getLayer(e){return this.sharedModel.getLayer(e)}getSource(e){return this.sharedModel.getSource(e)}getSourcesByType(e){const t={};for(const r of Object.keys(this.getSources()||{})){const s=this.getSource(r);(null==s?void 0:s.type)===e&&(t[r]=s.name)}return t}getLayersBySource(e){const t=[];return Object.entries(this.getLayers()||{}).forEach((([r,s])=>{var i;(null===(i=s.parameters)||void 0===i?void 0:i.source)===e&&t.push(r)})),t}async readGeoJSON(e){if(!this._drive)return;let t=s.PathExt.dirname(this._filePath);t.includes(":")&&(t=t.split(":")[1]);const r=s.PathExt.join(t,e);return this._drive.get(r).then((e=>JSON.parse(e.content))).catch((e=>{throw e}))}addGroup(e,t,r){if(y.findItemPath(this.getLayerTree(),e).length)return void console.warn(`The group "${t}" already exist in the layer tree`);const s={name:e,layers:[]};this._addLayerTreeItem(s,t,r)}addLayer(e,t,r,s){this.getLayer(e)||this.sharedModel.addLayer(e,t),this._addLayerTreeItem(e,r,s)}removeLayer(e){this._removeLayerTreeLayer(this.getLayerTree(),e),this.sharedModel.removeLayer(e)}setTerrain(e){this._sharedModel.terrain=e}setOptions(e){this._sharedModel.options=e}getOptions(){return this._sharedModel.options}syncSelected(e,t){this.sharedModel.awareness.setLocalStateField("selected",{value:e,emitter:t})}setUserToFollow(e){this._sharedModel&&this._sharedModel.awareness.setLocalStateField("remoteUser",e)}getClientId(){return this.sharedModel.awareness.clientID}_addLayerTreeItem(e,t,r){if(t){const s=this._getLayerTreeInfo(t);s&&(s.workingGroup.layers.splice(null!=r?r:s.workingGroup.layers.length,0,e),this._sharedModel.updateLayerTreeItem(s.mainGroupIndex,s.mainGroup))}else this.sharedModel.addLayerTreeItem(null!=r?r:this.getLayerTree().length,e)}moveItemsToGroup(e,t,r){const s=this.getLayerTree();for(const i of e)if(this.getLayer(i))this._removeLayerTreeLayer(s,i),this._addLayerTreeItem(i,t,r);else{const e=this._getLayerTreeInfo(i);if(void 0===e)continue;const a=Object.assign({},e.workingGroup);this._removeLayerTreeGroup(s,i),this._addLayerTreeItem(a,t,r)}}moveItemRelatedTo(e,t,r){var s;const i=this.getLayerTree();let a;if(this.getLayer(e))this._removeLayerTreeLayer(i,e),a=e;else{const t=this._getLayerTreeInfo(e);if(void 0===t)return;a=Object.assign({},t.workingGroup),this._removeLayerTreeGroup(i,e)}const n=y.findItemPath(i,t),o=(null!==(s=n.pop())&&void 0!==s?s:0)+(r?1:0);let h="",d=n.shift();if(void 0!==d){let e=i[d];for(;n.length&&(d=n.shift(),void 0!==d);)e=e.layers[d];h=e.name}this._addLayerTreeItem(a,h,o)}addNewLayerGroup(e,t){const r=this.getLayerTree();for(const t in e)this._removeLayerTreeLayer(r,t);this._addLayerTreeItem(t)}_removeLayerTreeLayer(e,t){for(let r=0;r<e.length;r++){const s=e[r];"string"==typeof s&&s===t?(e.splice(r,1),r--):"string"!=typeof s&&"layers"in s&&this._removeLayerTreeLayer(s.layers,t)}this.sharedModel.layerTree=e}_removeLayerTreeGroup(e,t){for(let r=0;r<e.length;r++){const s=e[r];"string"!=typeof s&&s.name===t?(e.splice(r,1),r--):"string"!=typeof s&&"layers"in s&&this._removeLayerTreeGroup(s.layers,t)}this.sharedModel.layerTree=e}renameLayerGroup(e,t){const r=this._getLayerTreeInfo(e);r?(r.workingGroup.name=t,this._sharedModel.updateLayerTreeItem(r.mainGroupIndex,r.mainGroup)):console.log("Something went wrong when renaming layer")}removeLayerGroup(e){const t=this.getLayerTree(),r=this._getLayerTreeInfo(e),s=function e(t,r){const s=[];for(const i of t)if("string"==typeof i)s.push(i);else if(i.name!==r){const t=e(i.layers,r);s.push(Object.assign(Object.assign({},i),{layers:t}))}return s}(t,e);r&&this._sharedModel.updateLayerTreeItem(r.mainGroupIndex,s[r.mainGroupIndex])}_getLayerTreeInfo(e){const t=this.getLayerTree(),r=y.findItemPath(t,e);if(!r.length)return void console.warn(`The group "${e}" does not exist in the layer tree`);const s=r.shift();if(void 0===s)return;const i=t[s];let a=i;for(;r.length;){const e=r.shift();if(void 0===e)break;a=a.layers[e]}return{mainGroup:i,workingGroup:a,mainGroupIndex:s}}}var y;!function(e){e.getOrderedLayerIds=function(e){return y.layerTreeRecursion(e.sharedModel.layerTree)}}(u||(u={})),function(e){e.layerTreeRecursion=function e(t,r=[]){for(const s of t)"string"==typeof s?r.push(s):r.push(...e(s.layers));return r},e.findItemPath=function e(t,r,s=[]){for(let i=0;i<t.length;i++){const a=t[i];if("string"==typeof a){if(a===r){const e=[...s];return e.push(i),e}}else{const t=[...s];if(t.push(i),a.name===r)return t;const n=e(a.layers,r,t);if(n.length>t.length)return n}}return s}}(y||(y={}));const p=new h.Token("jupyterGISDocTracker"),c=new h.Token("jupytergisFormSchemaRegistry"),g=new h.Token("jupytergisExternalCommandRegistry"),f=new h.Token("jupytergisExternalCommandRegistry")}}]);
|