jupytergis-qgis 0.9.2__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.
Files changed (46) hide show
  1. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/PKG-INFO +1 -1
  2. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupytergis_qgis/_version.py +1 -1
  3. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupytergis_qgis/labextension/package.json +5 -5
  4. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupytergis_qgis/labextension/schemas/@jupytergis/jupytergis-qgis/package.json.orig +4 -4
  5. jupytergis_qgis-0.10.1/jupytergis_qgis/labextension/static/4.b343f064ea45c7c98a03.js +1 -0
  6. jupytergis_qgis-0.10.1/jupytergis_qgis/labextension/static/remoteEntry.19b2a2698f2af1a03f89.js +1 -0
  7. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/lib/plugins.js +1 -1
  8. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/package.json +4 -4
  9. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/pyproject.toml +2 -2
  10. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/src/modelfactory.ts +1 -3
  11. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/src/plugins.ts +1 -2
  12. jupytergis_qgis-0.10.1/tsconfig.tsbuildinfo +1 -0
  13. jupytergis_qgis-0.9.2/jupytergis_qgis/labextension/static/4.c6ea6731ee54f44d153e.js +0 -1
  14. jupytergis_qgis-0.9.2/jupytergis_qgis/labextension/static/remoteEntry.ae7e67f4412c1c642125.js +0 -1
  15. jupytergis_qgis-0.9.2/tsconfig.tsbuildinfo +0 -1
  16. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/.gitignore +0 -0
  17. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/.prettierignore +0 -0
  18. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/LICENSE +0 -0
  19. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/README.md +0 -0
  20. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/install.json +0 -0
  21. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupyter-config/server-config/jupytergis_qgis.json +0 -0
  22. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupytergis_qgis/__init__.py +0 -0
  23. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupytergis_qgis/handlers.py +0 -0
  24. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupytergis_qgis/labextension/schemas/@jupytergis/jupytergis-qgis/qgisplugin.json +0 -0
  25. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupytergis_qgis/labextension/static/234.0e83af2f2f78ca5704f8.js +0 -0
  26. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupytergis_qgis/labextension/static/432.2f6bd92ee5f330f2ca8e.js +0 -0
  27. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupytergis_qgis/labextension/static/style.js +0 -0
  28. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupytergis_qgis/labextension/static/third-party-licenses.json +0 -0
  29. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupytergis_qgis/qgis_loader.py +0 -0
  30. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupytergis_qgis/qgis_ydoc.py +0 -0
  31. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupytergis_qgis/tests/__init__.py +0 -0
  32. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupytergis_qgis/tests/files/project0.qgs +0 -0
  33. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/jupytergis_qgis/tests/test_qgis.py +0 -0
  34. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/lib/index.d.ts +0 -0
  35. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/lib/index.js +0 -0
  36. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/lib/modelfactory.d.ts +0 -0
  37. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/lib/modelfactory.js +0 -0
  38. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/lib/plugins.d.ts +0 -0
  39. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/schema/qgisplugin.json +0 -0
  40. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/scripts/bump-version.py +0 -0
  41. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/setup.py +0 -0
  42. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/src/index.ts +0 -0
  43. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/style/base.css +0 -0
  44. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/style/index.css +0 -0
  45. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/style/index.js +0 -0
  46. {jupytergis_qgis-0.9.2 → jupytergis_qgis-0.10.1}/tsconfig.json +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jupytergis_qgis
3
- Version: 0.9.2
3
+ Version: 0.10.1
4
4
  Dynamic: Keywords
5
5
  Summary: JupyterGIS QGIS extension.
6
6
  Project-URL: Homepage, https://github.com/geojupyter/jupytergis
@@ -1,4 +1,4 @@
1
1
  # This file is auto-generated by Hatchling. As such, do not:
2
2
  # - modify
3
3
  # - track in version control e.g. be sure to add to .gitignore
4
- __version__ = VERSION = '0.9.2'
4
+ __version__ = VERSION = '0.10.1'
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupytergis/jupytergis-qgis",
3
- "version": "0.9.2",
3
+ "version": "0.10.1",
4
4
  "description": "JupyterGIS QGIS extension.",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -54,9 +54,9 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@jupyter/collaborative-drive": "^3.0.0",
57
- "@jupytergis/base": "^0.9.2",
58
- "@jupytergis/jupytergis-core": "^0.9.2",
59
- "@jupytergis/schema": "^0.9.2",
57
+ "@jupytergis/base": "^0.10.1",
58
+ "@jupytergis/jupytergis-core": "^0.10.1",
59
+ "@jupytergis/schema": "^0.10.1",
60
60
  "@jupyterlab/application": "^4.3.0",
61
61
  "@jupyterlab/apputils": "^4.3.0",
62
62
  "@jupyterlab/coreutils": "^6.3.0",
@@ -121,7 +121,7 @@
121
121
  }
122
122
  },
123
123
  "_build": {
124
- "load": "static/remoteEntry.ae7e67f4412c1c642125.js",
124
+ "load": "static/remoteEntry.19b2a2698f2af1a03f89.js",
125
125
  "extension": "./extension",
126
126
  "style": "./style"
127
127
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupytergis/jupytergis-qgis",
3
- "version": "0.9.2",
3
+ "version": "0.10.1",
4
4
  "description": "JupyterGIS QGIS extension.",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -54,9 +54,9 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@jupyter/collaborative-drive": "^3.0.0",
57
- "@jupytergis/base": "^0.9.2",
58
- "@jupytergis/jupytergis-core": "^0.9.2",
59
- "@jupytergis/schema": "^0.9.2",
57
+ "@jupytergis/base": "^0.10.1",
58
+ "@jupytergis/jupytergis-core": "^0.10.1",
59
+ "@jupytergis/schema": "^0.10.1",
60
60
  "@jupyterlab/application": "^4.3.0",
61
61
  "@jupyterlab/apputils": "^4.3.0",
62
62
  "@jupyterlab/coreutils": "^6.3.0",
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_jupytergis_jupytergis_qgis=self.webpackChunk_jupytergis_jupytergis_qgis||[]).push([[4],{4:(e,t,o)=>{o.r(t),o.d(t,{default:()=>I});var r,n=o(903),a=o(315),i=o(820),s=o(973),l=o(986),d=o(291),c=o(605),g=o(297),m=o(975),y=o(560),p=o(404),u=o(256);class h{constructor(e){this.collaborative=void 0===document.querySelectorAll("[data-jupyter-lite-root]")[0],this._disposed=!1,this._annotationModel=e.annotationModel}get name(){throw"Not implemented"}get contentType(){throw"Not implemented"}get fileFormat(){return"base64"}get isDisposed(){return this._disposed}dispose(){this._disposed=!0}preferredLanguage(e){return""}createNew(e){return new s.JupyterGISModel({sharedModel:e.sharedModel,languagePreference:e.languagePreference,annotationModel:this._annotationModel,settingRegistry:this._settingRegistry})}}class G extends h{get name(){return"jupytergis-qgzmodel"}get contentType(){return"QGZ"}}class S extends h{get name(){return"jupytergis-qgsmodel"}get contentType(){return"QGS"}}!function(e){e.exportQgis="jupytergis:export"}(r||(r={}));const I=[{id:"@jupytergis/jupytergis-qgis:qgisplugin",requires:[s.IJupyterGISDocTracker,l.IThemeManager,n.ICollaborativeDrive,s.IJGISExternalCommandRegistryToken,c.ConsolePanel.IContentFactory,d.IEditorServices,m.IRenderMimeRegistry,c.IConsoleTracker,s.IAnnotationToken,y.ISettingRegistry,s.IJGISFormSchemaRegistryToken,p.IStateDB],optional:[l.ICommandPalette],autoStart:!0,activate:async(e,t,o,n,d,c,m,y,p,h,I,f,w,Q)=>{const T=await(0,a.requestAPI)("jupytergis_qgis/backend-check",{method:"POST",body:JSON.stringify({})}),{installed:x}=T,j=()=>(x||(0,l.showErrorMessage)("QGIS is not installed","QGIS is required to open QGIS files"),x),M=new i.JupyterGISDocumentWidgetFactory({name:"JupyterGIS QGS Factory",modelName:"jupytergis-qgsmodel",fileTypes:["QGS"],defaultFor:["QGS"],tracker:t,commands:e.commands,externalCommandRegistry:d,backendCheck:j,manager:e.serviceManager,contentFactory:c,rendermime:y,mimeTypeService:m.mimeTypeService,consoleTracker:p,formSchemaRegistry:f,state:w,annotationModel:h}),v=new i.JupyterGISDocumentWidgetFactory({name:"JupyterGIS QGZ Factory",modelName:"jupytergis-qgzmodel",fileTypes:["QGZ"],defaultFor:["QGZ"],tracker:t,commands:e.commands,externalCommandRegistry:d,backendCheck:j,manager:e.serviceManager,contentFactory:c,rendermime:y,mimeTypeService:m.mimeTypeService,consoleTracker:p,formSchemaRegistry:f,state:w,annotationModel:h});e.docRegistry.addWidgetFactory(M),e.docRegistry.addWidgetFactory(v),e.docRegistry.addModelFactory(new S({annotationModel:h,settingRegistry:I})),e.docRegistry.addModelFactory(new G({annotationModel:h,settingRegistry:I})),e.docRegistry.addFileType({name:"QGS",displayName:"QGS",mimeTypes:["application/octet-stream"],extensions:[".qgs",".QGS"],fileFormat:"base64",contentType:"QGS",icon:a.logoMiniIcon}),e.docRegistry.addFileType({name:"QGZ",displayName:"QGZ",mimeTypes:["application/octet-stream"],extensions:[".qgz",".QGZ"],fileFormat:"base64",contentType:"QGZ",icon:a.logoMiniIconQGZ});const b=()=>new s.JupyterGISDoc;n.sharedModelFactory.registerDocumentFactory("QGS",b),n.sharedModelFactory.registerDocumentFactory("QGZ",b);const F=(r,n)=>{n.title.icon=a.logoMiniIconQGZ,n.context.pathChanged.connect(()=>{t.save(n)}),o.themeChanged.connect((e,t)=>n.model.themeChanged.emit(t)),t.add(n),e.shell.activateById("jupytergis::leftControlPanel"),e.shell.activateById("jupytergis::rightControlPanel")};M.widgetCreated.connect(F),v.widgetCreated.connect(F),x&&(e.commands.addCommand(r.exportQgis,{label:"Export To QGZ",isEnabled:()=>!!t.currentWidget&&t.currentWidget.model.sharedModel.editable,execute:async e=>{var o,r;const i=".jGIS",s=".qgz",d=null===(o=t.currentWidget)||void 0===o?void 0:o.model.sharedModel;if(!d)return;const c=t.currentWidget.model.filePath;let m=null!==(r=e.filepath)&&void 0!==r?r:null;if(m||(m=(await l.InputDialog.getText({label:"File name",placeholder:g.PathExt.basename(c,i),title:"Export the project to QGZ file"})).value),null===m)return;m?m.endsWith(s)||(m=`${m}${s}`):m=`${g.PathExt.basename(c,i)}${s}`;let y=g.PathExt.dirname(c);y.includes(":")&&(y=y.split(":")[1]);const p=g.PathExt.join(y,m),h={layers:d.layers,sources:d.sources,layerTree:d.layerTree.slice().reverse(),options:d.options};let G=!0;if(await n.get(p,{content:!1}).catch(()=>{G=!1}),G&&!(await(0,l.showDialog)({title:"Export the project to QGZ file",body:`The file ${m} already exists.\nDo you want to overwrite it ?`})).button.accept)return;const S=await(0,a.requestAPI)("jupytergis_qgis/export",{method:"POST",body:JSON.stringify({path:p,virtual_file:h})});if(S.exported){if(S.logs.warnings.length){const e=document.createElement("pre");e.textContent=`${m} has been exported with warnings\n - ${S.logs.warnings.join("\n - ")}`;const t=new u.Widget({node:e});await(0,l.showDialog)({title:"Export the project to QGZ file",body:t,buttons:[l.Dialog.okButton()]})}}else(0,l.showErrorMessage)("Export the project to QGZ file",S.logs.errors.length?S.logs.errors.join("\n"):"Unknown error")}}),Q&&Q.addItem({command:r.exportQgis,category:"JupyterGIS"})),console.debug("@jupytergis/jupytergis-qgis:qgisplugin is activated!")}}]}}]);
@@ -0,0 +1 @@
1
+ var _JUPYTERLAB;(()=>{"use strict";var e,r,t,n,o,i,a,u,s,l,f,d,p,c,h,g,v,y,b,m,j,w,S,E={7:(e,r,t)=>{var n={"./index":()=>t.e(4).then(()=>()=>t(4)),"./extension":()=>t.e(4).then(()=>()=>t(4)),"./style":()=>t.e(432).then(()=>()=>t(432))},o=(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),i=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==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:()=>o,init:()=>i})}},k={};function P(e){var r=k[e];if(void 0!==r)return r.exports;var t=k[e]={id:e,exports:{}};return E[e](t,t.exports,P),t.exports}P.m=E,P.c=k,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+"."+{4:"b343f064ea45c7c98a03",234:"0e83af2f2f78ca5704f8",432:"2f6bd92ee5f330f2ca8e"}[e]+".js?v="+{4:"b343f064ea45c7c98a03",234:"0e83af2f2f78ca5704f8",432:"2f6bd92ee5f330f2ca8e"}[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-qgis:",P.l=(t,n,o,i)=>{if(e[t])e[t].push(n);else{var a,u;if(void 0!==o)for(var s=document.getElementsByTagName("script"),l=0;l<s.length;l++){var f=s[l];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+o){a=f;break}}a||(u=!0,(a=document.createElement("script")).charset="utf-8",P.nc&&a.setAttribute("nonce",P.nc),a.setAttribute("data-webpack",r+o),a.src=t),e[t]=[n];var d=(r,n)=>{a.onerror=a.onload=null,clearTimeout(p);var o=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(e=>e(n)),r)return r(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),u&&document.head.appendChild(a)}},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 o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];P.o(P.S,t)||(P.S[t]={});var i=P.S[t],a="@jupytergis/jupytergis-qgis",u=(e,r,t,n)=>{var o=i[e]=i[e]||{},u=o[r];(!u||!u.loaded&&(!n!=!u.eager?n:a>u.from))&&(o[r]={get:t,from:a,eager:!!n})},s=[];return"default"===t&&(u("@jupyter/collaborative-drive","3.1.2",()=>P.e(234).then(()=>()=>P(234))),u("@jupytergis/jupytergis-qgis","0.10.1",()=>P.e(4).then(()=>()=>P(4)))),e[t]=s.length?Promise.all(s).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 o=e[n],i=(typeof o)[0];if(n>=r.length)return"u"==i;var a=r[n],u=(typeof a)[0];if(i!=u)return"o"==i&&"n"==u||"s"==u||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;n++}},o=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,i=1;i<e.length;i++)n--,t+="u"==(typeof(u=e[i]))[0]?"-":(n>0?".":"")+(n=2,u);return t}var a=[];for(i=1;i<e.length;i++){var u=e[i];a.push(0===u?"not("+s()+")":1===u?"("+s()+" || "+s()+")":2===u?a.pop()+" "+a.pop():o(u))}return s();function s(){return a.pop().replace(/^\((.+)\)$/,"$1")}},i=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var a=0,u=1,s=!0;;u++,a++){var l,f,d=u<e.length?(typeof e[u])[0]:"";if(a>=r.length||"o"==(f=(typeof(l=r[a]))[0]))return!s||("u"==d?u>n&&!o:""==d!=o);if("u"==f){if(!s||"u"!=d)return!1}else if(s)if(d==f)if(u<=n){if(l!=e[u])return!1}else{if(o?l>e[u]:l<e[u])return!1;l!=e[u]&&(s=!1)}else if("s"!=d&&"n"!=d){if(o||u<=n)return!1;s=!1,u--}else{if(u<=n||f<d!=o)return!1;s=!1}else"s"!=d&&"n"!=d&&(s=!1,u--)}}var p=[],c=p.pop.bind(p);for(a=1;a<e.length;a++){var h=e[a];p.push(1==h?c()|c():2==h?c()&c():h?i(h,r):!c())}return!!c()},a=(e,r)=>e&&P.o(e,r),u=e=>(e.loaded=1,e.get()),s=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),l=(e,r,t,o)=>{var a=o?s(e[r]):e[r];return(r=Object.keys(a).reduce((e,r)=>!i(t,r)||e&&!n(e,r)?e:r,0))&&a[r]},f=(e,r,t)=>{var o=t?s(e[r]):e[r];return Object.keys(o).reduce((e,r)=>!e||!o[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 "+o(n)+")",p=(e,r,t,n,i)=>{var a=e[t];return"No satisfying version ("+o(n)+")"+(i?" for eager consumption":"")+" of shared module "+t+" found in shared scope "+r+".\nAvailable versions: "+Object.keys(a).map(e=>e+" from "+a[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),y=(g=e=>function(r,t,n,o,i){var a=P.I(r);return a&&a.then&&!n?a.then(e.bind(e,r,P.S[r],t,!1,o,i)):e(r,P.S[r],t,n,o,i)})((e,r,t,n,o,i)=>{if(!a(r,t))return v(e,t,i);var s=l(r,t,o,n);return s?u(s):i?i():void c(p(r,e,t,o,n))}),b=g((e,r,t,n,o,s)=>{if(!a(r,t))return v(e,t,s);var l=f(r,t,n);return i(o,l)||h(d(r,t,l,o)),u(r[t][l])}),m={},j={256:()=>b("default","@lumino/widgets",!1,[1,2,3,1,,"alpha",0]),291:()=>b("default","@jupyterlab/codeeditor",!1,[1,4,4,10]),297:()=>b("default","@jupyterlab/coreutils",!1,[1,6,4,10]),315:()=>b("default","@jupytergis/base",!1,[2,0,10,1]),404:()=>b("default","@jupyterlab/statedb",!1,[1,4,4,10]),560:()=>b("default","@jupyterlab/settingregistry",!1,[1,4,4,10]),605:()=>b("default","@jupyterlab/console",!1,[1,4,4,10]),820:()=>b("default","@jupytergis/jupytergis-core",!1,[2,0,10,1]),903:()=>y("default","@jupyter/collaborative-drive",!1,[1,3,0,0],()=>P.e(234).then(()=>()=>P(234))),973:()=>b("default","@jupytergis/schema",!1,[2,0,10,1]),975:()=>b("default","@jupyterlab/rendermime",!1,[1,4,4,10]),986:()=>b("default","@jupyterlab/apputils",!1,[1,4,5,10]),262:()=>b("default","@lumino/coreutils",!1,[1,2,0,0])},w={4:[256,291,297,315,404,560,605,820,903,973,975,986],234:[262]},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 o=j[e]();o.then?r.push(m[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}})},(()=>{var e={617: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 o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var i=P.p+P.u(r),a=new Error;P.l(i,t=>{if(P.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;a.message="Loading chunk "+r+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[i,a,u]=t,s=0;if(i.some(r=>0!==e[r])){for(n in a)P.o(a,n)&&(P.m[n]=a[n]);u&&u(P)}for(r&&r(t);s<i.length;s++)o=i[s],P.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunk_jupytergis_jupytergis_qgis=self.webpackChunk_jupytergis_jupytergis_qgis||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),P.nc=void 0;var _=P(7);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["@jupytergis/jupytergis-qgis"]=_})();
@@ -208,7 +208,7 @@ const activate = async (app, tracker, themeManager, drive, externalCommandRegist
208
208
  });
209
209
  }
210
210
  }
211
- console.log('@jupytergis/jupytergis-qgis:qgisplugin is activated!');
211
+ console.debug('@jupytergis/jupytergis-qgis:qgisplugin is activated!');
212
212
  };
213
213
  export const qgisplugin = {
214
214
  id: '@jupytergis/jupytergis-qgis:qgisplugin',
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupytergis/jupytergis-qgis",
3
- "version": "0.9.2",
3
+ "version": "0.10.1",
4
4
  "description": "JupyterGIS QGIS extension.",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -54,9 +54,9 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@jupyter/collaborative-drive": "^3.0.0",
57
- "@jupytergis/base": "^0.9.2",
58
- "@jupytergis/jupytergis-core": "^0.9.2",
59
- "@jupytergis/schema": "^0.9.2",
57
+ "@jupytergis/base": "^0.10.1",
58
+ "@jupytergis/jupytergis-core": "^0.10.1",
59
+ "@jupytergis/schema": "^0.10.1",
60
60
  "@jupyterlab/application": "^4.3.0",
61
61
  "@jupyterlab/apputils": "^4.3.0",
62
62
  "@jupyterlab/coreutils": "^6.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
 
@@ -78,7 +78,7 @@ version_cmd = "hatch version"
78
78
 
79
79
  [tool.jupyter-releaser.hooks]
80
80
  before-build-npm = [
81
- "python -m pip install 'jupyterlab>=4.0.0,<5'",
81
+ "python -m pip install 'jupyterlab>=4.0.0,<4.5.0'",
82
82
  "jlpm",
83
83
  "jlpm build:prod",
84
84
  ]
@@ -10,9 +10,7 @@ import { ISettingRegistry } from '@jupyterlab/settingregistry';
10
10
  /**
11
11
  * A Model factory to create new instances of JupyterGISModel.
12
12
  */
13
- export class JupyterGISModelFactoryBase
14
- implements DocumentRegistry.IModelFactory<JupyterGISModel>
15
- {
13
+ export class JupyterGISModelFactoryBase implements DocumentRegistry.IModelFactory<JupyterGISModel> {
16
14
  constructor(options: JupyterGISModelFactoryBase.IOptions) {
17
15
  this._annotationModel = options.annotationModel;
18
16
  }
@@ -315,8 +315,7 @@ const activate = async (
315
315
  });
316
316
  }
317
317
  }
318
-
319
- console.log('@jupytergis/jupytergis-qgis:qgisplugin is activated!');
318
+ console.debug('@jupytergis/jupytergis-qgis:qgisplugin is activated!');
320
319
  };
321
320
 
322
321
  export const qgisplugin: JupyterFrontEndPlugin<void> = {