jupytergis-lab 0.10.0__tar.gz → 0.10.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/PKG-INFO +1 -1
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/jupytergis_lab/_version.py +1 -1
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/jupytergis_lab/labextension/package.json +4 -4
- jupytergis_lab-0.10.1/jupytergis_lab/labextension/static/484.7571ddb7a6a45232fb50.js +1 -0
- jupytergis_lab-0.10.0/jupytergis_lab/labextension/static/remoteEntry.36efe14fdf92d32191a6.js → jupytergis_lab-0.10.1/jupytergis_lab/labextension/static/remoteEntry.92422faa24870362cec4.js +1 -1
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/jupytergis_lab/labextension/static/third-party-licenses.json +1 -1
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/jupytergis_lab/notebook/gis_document.py +4 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/package.json +3 -3
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/pyproject.toml +2 -2
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/tsconfig.tsbuildinfo +1 -1
- jupytergis_lab-0.10.0/jupytergis_lab/labextension/static/484.4a7a14761001cdafd861.js +0 -1
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/.gitignore +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/.prettierignore +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/LICENSE +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/README.md +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/install.json +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/jupytergis_lab/__init__.py +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/jupytergis_lab/labextension/static/234.8ab0931c15a13e5d92fd.js +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/jupytergis_lab/labextension/static/432.c414327f14c269c58c99.js +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/jupytergis_lab/labextension/static/style.js +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/jupytergis_lab/notebook/__init__.py +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/jupytergis_lab/notebook/explore.py +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/jupytergis_lab/notebook/tests/__init__.py +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/jupytergis_lab/notebook/tests/test_api.py +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/jupytergis_lab/notebook/utils.py +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/jupytergis_lab/notebook/y_connector.py +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/lib/index.d.ts +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/lib/index.js +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/lib/notebookrenderer.d.ts +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/lib/notebookrenderer.js +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/scripts/bump-version.py +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/setup.py +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/src/index.ts +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/src/notebookrenderer.ts +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/style/base.css +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/style/index.css +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/style/index.js +0 -0
- {jupytergis_lab-0.10.0 → jupytergis_lab-0.10.1}/tsconfig.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupytergis/jupytergis-lab",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "JupyterGIS Lab extension.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@jupyter/collaborative-drive": "^3.0.0",
|
|
56
|
-
"@jupytergis/base": "^0.10.
|
|
57
|
-
"@jupytergis/schema": "^0.10.
|
|
56
|
+
"@jupytergis/base": "^0.10.1",
|
|
57
|
+
"@jupytergis/schema": "^0.10.1",
|
|
58
58
|
"@jupyterlab/application": "^4.3.0",
|
|
59
59
|
"@jupyterlab/apputils": "^4.3.0",
|
|
60
60
|
"@jupyterlab/completer": "^4.3.0",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
126
|
"_build": {
|
|
127
|
-
"load": "static/remoteEntry.
|
|
127
|
+
"load": "static/remoteEntry.92422faa24870362cec4.js",
|
|
128
128
|
"extension": "./extension",
|
|
129
129
|
"style": "./style"
|
|
130
130
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_jupytergis_jupytergis_lab=self.webpackChunk_jupytergis_jupytergis_lab||[]).push([[484],{3484:(e,t,n)=>{n.r(t),n.d(t,{default:()=>v});var o=n(315),a=n(4973),s=n(6956),r=n(6177),d=n(9404),i=n(9424),m=n(5256),l=n(6903),c=n(2986),u=n(5986),g=n(1297),p=n(8762),y=n(4560),I=n(6230),h=n(9173);class M extends h.JupyterYModel{}class b extends m.Panel{constructor(e){super(),this._buildWidget=e=>{const{commands:t,model:n,externalCommands:a,tracker:s,formSchemaRegistry:r,state:d,annotationModel:i}=e,m=new o.JupyterGISPanel({model:n,commandRegistry:t,formSchemaRegistry:r,state:d,annotationModel:i});let l;n.filePath&&(l=new o.ToolbarWidget({commands:t,model:n,externalCommands:(null==a?void 0:a.getCommands())||[]})),this._jgisWidget=new o.JupyterGISOutputWidget({model:n,content:m,toolbar:l}),this.addWidget(this._jgisWidget),null==s||s.add(this._jgisWidget)};const{model:t}=e;this.addClass("jupytergis-notebook-widget"),this._buildWidget(e),t.sharedModel.changed.connect((t,n)=>{n.stateChange&&n.stateChange.forEach(t=>{var n;"path"===t.name&&(null===(n=this.layout)||void 0===n||n.removeWidget(this._jgisWidget),this._jgisWidget.dispose(),this._buildWidget(e))})})}get jgisWidget(){return this._jgisWidget}}const j={id:"jupytergis:yjswidget-plugin",autoStart:!0,requires:[a.IJGISFormSchemaRegistryToken],optional:[a.IJGISExternalCommandRegistryToken,a.IJupyterGISDocTracker,h.IJupyterYWidgetManager,l.ICollaborativeDrive,d.IStateDB,a.IAnnotationToken,y.ISettingRegistry],activate:(e,t,n,o,s,r,d,i,l)=>{s?s.registerWidget("@jupytergis:widget",class extends M{async initialize(t){const{path:n,format:o,contentType:s}=t,d=o;if(!r)throw(0,c.showErrorMessage)("Error using the JupyterGIS Python API","You cannot use the JupyterGIS Python API without a collaborative drive. You need to install a package providing collaboration features (e.g. jupyter-collaboration)."),new Error("Failed to create the YDoc without a collaborative drive");let i="";const m=e.shell.currentWidget;(m instanceof p.NotebookPanel||m instanceof u.ConsolePanel)&&(i=m.sessionContext.path);let y="";if(n){y=g.PathExt.join(g.PathExt.dirname(i),n);try{await e.serviceManager.contents.get(y)}catch(t){await e.serviceManager.contents.save(y,{content:btoa("{}"),format:"base64"})}}else y=g.PathExt.join(g.PathExt.dirname(i),"unsaved_project");const I=r.sharedModelFactory.createNew({path:y,format:d,contentType:s,collaborative:!0});this.jupyterGISModel=new a.JupyterGISModel({sharedModel:I,settingRegistry:l}),this.jupyterGISModel.contentsManager=e.serviceManager.contents,this.jupyterGISModel.filePath=y,this.ydoc=this.jupyterGISModel.sharedModel.ydoc,this.sharedModel=new h.JupyterYDoc(t,this.ydoc)}},class{constructor(a,s){this.yModel=a,this.node=s;const r=new b({commands:e.commands,model:a.jupyterGISModel,externalCommands:n,tracker:o,annotationModel:i,state:d,formSchemaRegistry:t});this._jgisWidget=r.jgisWidget,I.MessageLoop.sendMessage(r,m.Widget.Msg.BeforeAttach),s.appendChild(r.node),I.MessageLoop.sendMessage(r,m.Widget.Msg.AfterAttach)}dispose(){this._jgisWidget.dispose()}}):console.error("Missing IJupyterYWidgetManager token!")}},v=[{id:"jupytergis:lab:main-menu",autoStart:!0,requires:[a.IJupyterGISDocTracker,a.IJGISFormSchemaRegistryToken,a.IJGISLayerBrowserRegistryToken,d.IStateDB],optional:[r.IMainMenu,i.ITranslator,s.ICompletionProviderManager],activate:(e,t,n,s,r,d,l,c)=>{console.debug("jupytergis:lab:main-menu is activated!"),l=null!=l?l:i.nullTranslator;(0,o.createDefaultLayerRegistry)(s),o.GlobalStateDbManager.getInstance().initialize(r),(0,o.addCommands)(e,t,l,n,s,r,c),e.contextMenu.addItem({selector:".jp-gis-source.jp-gis-sourceUnused",rank:1,command:o.CommandIDs.removeSource}),e.contextMenu.addItem({selector:".jp-gis-source",rank:1,command:o.CommandIDs.renameSource}),e.contextMenu.addItem({command:o.CommandIDs.symbology,selector:".jp-gis-layerItem",rank:1}),e.contextMenu.addItem({type:"separator",selector:".jp-gis-layerPanel",rank:1}),e.contextMenu.addItem({command:o.CommandIDs.removeLayer,selector:".jp-gis-layerItem",rank:2}),e.contextMenu.addItem({command:o.CommandIDs.renameLayer,selector:".jp-gis-layerItem",rank:2}),e.contextMenu.addItem({command:o.CommandIDs.zoomToLayer,selector:".jp-gis-layerItem",rank:2});const u=new m.Menu({commands:e.commands});u.title.label=l.load("jupyterlab").__("Download"),u.id="jp-gis-contextmenu-download",u.addItem({command:o.CommandIDs.downloadGeoJSON}),e.contextMenu.addItem({type:"submenu",selector:".jp-gis-layerItem",rank:2,submenu:u});const g=new m.Menu({commands:e.commands});g.title.label=l.load("jupyterlab").__("Processing"),g.id="jp-gis-contextmenu-processing";for(const e of a.ProcessingMerge)g.addItem({command:e.name});e.contextMenu.addItem({type:"submenu",selector:".jp-gis-layerItem",rank:2,submenu:g});const p=new m.Menu({commands:e.commands});p.title.label=l.load("jupyterlab").__("Move Selected Layers to Group"),p.id="jp-gis-contextmenu-movelayer",e.contextMenu.addItem({type:"submenu",selector:".jp-gis-layerItem",rank:2,submenu:p}),e.contextMenu.opened.connect(()=>function(e,t){var n,a,s,r;if(!(null===(n=t.currentWidget)||void 0===n?void 0:n.model))return;const d=null===(a=t.currentWidget)||void 0===a?void 0:a.model,i=null!==(r=null===(s=e.menu.items.find(e=>{var t;return"submenu"===e.type&&"jp-gis-contextmenu-movelayer"===(null===(t=e.submenu)||void 0===t?void 0:t.id)}))||void 0===s?void 0:s.submenu)&&void 0!==r?r:null;if(!i)return;i.clearItems();const m=function e(t){const n=[];for(const o of t)if("string"!=typeof o&&o.layers){n.push(o.name);const t=e(o.layers);n.push(...t)}return n}(d.getLayerTree());i.addItem({command:o.CommandIDs.moveLayersToGroup,args:{label:""}}),m.forEach(e=>{i.addItem({command:o.CommandIDs.moveLayersToGroup,args:{label:e}})}),i.addItem({command:o.CommandIDs.moveLayerToNewGroup})}(e.contextMenu,t)),e.contextMenu.addItem({command:o.CommandIDs.removeGroup,selector:".jp-gis-layerGroupHeader",rank:2}),e.contextMenu.addItem({command:o.CommandIDs.renameGroup,selector:".jp-gis-layerGroupHeader",rank:2}),e.contextMenu.addItem({type:"separator",selector:".jp-gis-layerPanel",rank:2});const y=new m.Menu({commands:e.commands});y.title.label=l.load("jupyterlab").__("Add Layer"),y.id="jp-gis-contextmenu-addLayer",y.addItem({type:"submenu",submenu:(0,o.rasterSubMenu)(e.commands)}),y.addItem({type:"submenu",submenu:(0,o.vectorSubMenu)(e.commands)}),e.contextMenu.addItem({type:"submenu",selector:".jp-gis-layerPanel",rank:3,submenu:y}),d&&function(e,t){e.editMenu.undoers.redo.add({id:o.CommandIDs.redo,isEnabled:t}),e.editMenu.undoers.undo.add({id:o.CommandIDs.undo,isEnabled:t})}(d,()=>null!==t.currentWidget&&t.currentWidget===e.shell.currentWidget)}},j]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _JUPYTERLAB;(()=>{"use strict";var e,r,t,n,a,o,i,u,l,s,f,d,p,c,h,b,v,g,y,m,j,w,S,k={1450:(e,r,t)=>{var n={"./index":()=>t.e(484).then(()=>()=>t(3484)),"./extension":()=>t.e(484).then(()=>()=>t(3484)),"./style":()=>t.e(432).then(()=>()=>t(1432))},a=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),o=(e,r)=>{if(t.S){var n="default",a=t.S[n];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>a,init:()=>o})}},E={};function P(e){var r=E[e];if(void 0!==r)return r.exports;var t=E[e]={id:e,exports:{}};return k[e](t,t.exports,P),t.exports}P.m=k,P.c=E,P.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return P.d(r,{a:r}),r},P.d=(e,r)=>{for(var t in r)P.o(r,t)&&!P.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},P.f={},P.e=e=>Promise.all(Object.keys(P.f).reduce((r,t)=>(P.f[t](e,r),r),[])),P.u=e=>e+"."+{234:"8ab0931c15a13e5d92fd",432:"c414327f14c269c58c99",484:"
|
|
1
|
+
var _JUPYTERLAB;(()=>{"use strict";var e,r,t,n,a,o,i,u,l,s,f,d,p,c,h,b,v,g,y,m,j,w,S,k={1450:(e,r,t)=>{var n={"./index":()=>t.e(484).then(()=>()=>t(3484)),"./extension":()=>t.e(484).then(()=>()=>t(3484)),"./style":()=>t.e(432).then(()=>()=>t(1432))},a=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),o=(e,r)=>{if(t.S){var n="default",a=t.S[n];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>a,init:()=>o})}},E={};function P(e){var r=E[e];if(void 0!==r)return r.exports;var t=E[e]={id:e,exports:{}};return k[e](t,t.exports,P),t.exports}P.m=k,P.c=E,P.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return P.d(r,{a:r}),r},P.d=(e,r)=>{for(var t in r)P.o(r,t)&&!P.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},P.f={},P.e=e=>Promise.all(Object.keys(P.f).reduce((r,t)=>(P.f[t](e,r),r),[])),P.u=e=>e+"."+{234:"8ab0931c15a13e5d92fd",432:"c414327f14c269c58c99",484:"7571ddb7a6a45232fb50"}[e]+".js?v="+{234:"8ab0931c15a13e5d92fd",432:"c414327f14c269c58c99",484:"7571ddb7a6a45232fb50"}[e],P.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),P.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@jupytergis/jupytergis-lab:",P.l=(t,n,a,o)=>{if(e[t])e[t].push(n);else{var i,u;if(void 0!==a)for(var l=document.getElementsByTagName("script"),s=0;s<l.length;s++){var f=l[s];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+a){i=f;break}}i||(u=!0,(i=document.createElement("script")).charset="utf-8",P.nc&&i.setAttribute("nonce",P.nc),i.setAttribute("data-webpack",r+a),i.src=t),e[t]=[n];var d=(r,n)=>{i.onerror=i.onload=null,clearTimeout(p);var a=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),r)return r(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),u&&document.head.appendChild(i)}},P.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{P.S={};var e={},r={};P.I=(t,n)=>{n||(n=[]);var a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];P.o(P.S,t)||(P.S[t]={});var o=P.S[t],i="@jupytergis/jupytergis-lab",u=(e,r,t,n)=>{var a=o[e]=o[e]||{},u=a[r];(!u||!u.loaded&&(!n!=!u.eager?n:i>u.from))&&(a[r]={get:t,from:i,eager:!!n})},l=[];return"default"===t&&(u("@jupyter/collaborative-drive","3.1.2",()=>P.e(234).then(()=>()=>P(234))),u("@jupytergis/jupytergis-lab","0.10.1",()=>P.e(484).then(()=>()=>P(3484)))),e[t]=l.length?Promise.all(l).then(()=>e[t]=1):1}}})(),(()=>{var e;P.g.importScripts&&(e=P.g.location+"");var r=P.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 n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),P.p=e})(),t=e=>{var r=e=>e.split(".").map(e=>+e==e?+e:e),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var a=e[n],o=(typeof a)[0];if(n>=r.length)return"u"==o;var i=r[n],u=(typeof i)[0];if(o!=u)return"o"==o&&"n"==u||"s"==u||"u"==o;if("o"!=o&&"u"!=o&&a!=i)return a<i;n++}},a=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 n=1,o=1;o<e.length;o++)n--,t+="u"==(typeof(u=e[o]))[0]?"-":(n>0?".":"")+(n=2,u);return t}var i=[];for(o=1;o<e.length;o++){var u=e[o];i.push(0===u?"not("+l()+")":1===u?"("+l()+" || "+l()+")":2===u?i.pop()+" "+i.pop():a(u))}return l();function l(){return i.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,r)=>{if(0 in e){r=t(r);var n=e[0],a=n<0;a&&(n=-n-1);for(var i=0,u=1,l=!0;;u++,i++){var s,f,d=u<e.length?(typeof e[u])[0]:"";if(i>=r.length||"o"==(f=(typeof(s=r[i]))[0]))return!l||("u"==d?u>n&&!a:""==d!=a);if("u"==f){if(!l||"u"!=d)return!1}else if(l)if(d==f)if(u<=n){if(s!=e[u])return!1}else{if(a?s>e[u]:s<e[u])return!1;s!=e[u]&&(l=!1)}else if("s"!=d&&"n"!=d){if(a||u<=n)return!1;l=!1,u--}else{if(u<=n||f<d!=a)return!1;l=!1}else"s"!=d&&"n"!=d&&(l=!1,u--)}}var p=[],c=p.pop.bind(p);for(i=1;i<e.length;i++){var h=e[i];p.push(1==h?c()|c():2==h?c()&c():h?o(h,r):!c())}return!!c()},i=(e,r)=>e&&P.o(e,r),u=e=>(e.loaded=1,e.get()),l=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),s=(e,r,t,a)=>{var i=a?l(e[r]):e[r];return(r=Object.keys(i).reduce((e,r)=>!o(t,r)||e&&!n(e,r)?e:r,0))&&i[r]},f=(e,r,t)=>{var a=t?l(e[r]):e[r];return Object.keys(a).reduce((e,r)=>!e||!a[e].loaded&&n(e,r)?r:e,0)},d=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+a(n)+")",p=(e,r,t,n,o)=>{var i=e[t];return"No satisfying version ("+a(n)+")"+(o?" for eager consumption":"")+" of shared module "+t+" found in shared scope "+r+".\nAvailable versions: "+Object.keys(i).map(e=>e+" from "+i[e].from).join(", ")},c=e=>{throw new Error(e)},h=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},v=(e,r,t)=>t?t():((e,r)=>c("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),g=(b=e=>function(r,t,n,a,o){var i=P.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,P.S[r],t,!1,a,o)):e(r,P.S[r],t,n,a,o)})((e,r,t,n,a,o)=>{if(!i(r,t))return v(e,t,o);var l=s(r,t,a,n);return l?u(l):o?o():void c(p(r,e,t,a,n))}),y=b((e,r,t,n,a,l)=>{if(!i(r,t))return v(e,t,l);var s=f(r,t,n);return o(a,s)||h(d(r,t,s,a)),u(r[t][s])}),m={},j={315:()=>y("default","@jupytergis/base",!1,[2,0,10,1]),1297:()=>y("default","@jupyterlab/coreutils",!1,[1,6,4,10]),2986:()=>y("default","@jupyterlab/apputils",!1,[1,4,5,10]),4560:()=>y("default","@jupyterlab/settingregistry",!1,[1,4,4,10]),4973:()=>y("default","@jupytergis/schema",!1,[2,0,10,1]),5256:()=>y("default","@lumino/widgets",!1,[1,2,3,1,,"alpha",0]),5986:()=>y("default","@jupyterlab/console",!1,[1,4,4,10]),6177:()=>y("default","@jupyterlab/mainmenu",!1,[1,4,4,10]),6230:()=>y("default","@lumino/messaging",!1,[1,2,0,0]),6903:()=>g("default","@jupyter/collaborative-drive",!1,[1,3,0,0],()=>P.e(234).then(()=>()=>P(234))),6956:()=>y("default","@jupyterlab/completer",!1,[1,4,4,10]),8762:()=>y("default","@jupyterlab/notebook",!1,[1,4,4,10]),9173:()=>y("default","yjs-widgets",!1,[2,0,4]),9404:()=>y("default","@jupyterlab/statedb",!1,[1,4,4,10]),9424:()=>y("default","@jupyterlab/translation",!1,[1,4,4,10]),7262:()=>y("default","@lumino/coreutils",!1,[1,2,0,0])},w={234:[7262],484:[315,1297,2986,4560,4973,5256,5986,6177,6230,6903,6956,8762,9173,9404,9424]},S={},P.f.consumes=(e,r)=>{P.o(w,e)&&w[e].forEach(e=>{if(P.o(m,e))return r.push(m[e]);if(!S[e]){var t=r=>{m[e]=0,P.m[e]=t=>{delete P.c[e],t.exports=r()}};S[e]=!0;var n=r=>{delete m[e],P.m[e]=t=>{throw delete P.c[e],r}};try{var a=j[e]();a.then?r.push(m[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}})},(()=>{P.b="undefined"!=typeof document&&document.baseURI||self.location.href;var e={738:0};P.f.j=(r,t)=>{var n=P.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,a)=>n=e[r]=[t,a]);t.push(n[2]=a);var o=P.p+P.u(r),i=new Error;P.l(o,t=>{if(P.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,n[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,a,[o,i,u]=t,l=0;if(o.some(r=>0!==e[r])){for(n in i)P.o(i,n)&&(P.m[n]=i[n]);u&&u(P)}for(r&&r(t);l<o.length;l++)a=o[l],P.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk_jupytergis_jupytergis_lab=self.webpackChunk_jupytergis_jupytergis_lab||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),P.nc=void 0;var _=P(1450);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["@jupytergis/jupytergis-lab"]=_})();
|
|
@@ -304,6 +304,10 @@ class GISDocument(CommWidget):
|
|
|
304
304
|
"source": source_id,
|
|
305
305
|
"color": color_expr,
|
|
306
306
|
"opacity": opacity,
|
|
307
|
+
"symbologyState": {
|
|
308
|
+
"renderType": "Single Symbol",
|
|
309
|
+
"mode": "equal interval",
|
|
310
|
+
},
|
|
307
311
|
},
|
|
308
312
|
"filters": {
|
|
309
313
|
"appliedFilters": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupytergis/jupytergis-lab",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "JupyterGIS Lab extension.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@jupyter/collaborative-drive": "^3.0.0",
|
|
56
|
-
"@jupytergis/base": "^0.10.
|
|
57
|
-
"@jupytergis/schema": "^0.10.
|
|
56
|
+
"@jupytergis/base": "^0.10.1",
|
|
57
|
+
"@jupytergis/schema": "^0.10.1",
|
|
58
58
|
"@jupyterlab/application": "^4.3.0",
|
|
59
59
|
"@jupyterlab/apputils": "^4.3.0",
|
|
60
60
|
"@jupyterlab/completer": "^4.3.0",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
build-backend = "hatchling.build"
|
|
3
3
|
requires = [
|
|
4
4
|
"hatchling>=1.5.0",
|
|
5
|
-
"jupyterlab>=4.0.0,<5",
|
|
5
|
+
"jupyterlab>=4.0.0,<4.5.0",
|
|
6
6
|
"hatch-nodejs-version>=0.3.2",
|
|
7
7
|
]
|
|
8
8
|
|
|
@@ -79,7 +79,7 @@ version_cmd = "hatch version"
|
|
|
79
79
|
|
|
80
80
|
[tool.jupyter-releaser.hooks]
|
|
81
81
|
before-build-npm = [
|
|
82
|
-
"python -m pip install 'jupyterlab>=4.0.0,<5'",
|
|
82
|
+
"python -m pip install 'jupyterlab>=4.0.0,<4.5.0'",
|
|
83
83
|
"jlpm",
|
|
84
84
|
"jlpm build:prod",
|
|
85
85
|
]
|