jupyter-docprovider 2.0.0a0__tar.gz → 2.0.0b0__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.
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/PKG-INFO +1 -1
- jupyter_docprovider-2.0.0b0/jupyter_docprovider/_version.py +1 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/jupyter_docprovider/labextension/package.json +4 -4
- jupyter_docprovider-2.0.0b0/jupyter_docprovider/labextension/static/703.898057df87d0484ba2b2.js +1 -0
- jupyter_docprovider-2.0.0b0/jupyter_docprovider/labextension/static/remoteEntry.2fed0dac8d85f9c99c42.js +1 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/jupyter_docprovider/labextension/static/third-party-licenses.json +3 -3
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/package.json +2 -2
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider-extension/package.json +3 -3
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider-extension/src/filebrowser.ts +1 -14
- jupyter_docprovider-2.0.0a0/jupyter_docprovider/_version.py +0 -1
- jupyter_docprovider-2.0.0a0/jupyter_docprovider/labextension/static/703.2912506fcb1425845daa.js +0 -1
- jupyter_docprovider-2.0.0a0/jupyter_docprovider/labextension/static/remoteEntry.196723c527be1325950c.js +0 -1
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/.gitignore +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/LICENSE +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/README.md +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/install.json +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/jupyter_docprovider/__init__.py +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/jupyter_docprovider/labextension/static/240.f36e770b79989fd00ff8.js +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/jupyter_docprovider/labextension/static/444.13de0fd44849e3f7d780.js +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/jupyter_docprovider/labextension/static/576.21a3c1a9ebaebb58d346.js +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/jupyter_docprovider/labextension/static/944.a13dc96a22c557e2f32c.js +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/jupyter_docprovider/labextension/static/style.js +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/babel.config.js +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/jest.config.js +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/TimelineSlider.tsx +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/__tests__/forkManager.spec.ts +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/__tests__/yprovider.spec.ts +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/awareness.ts +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/component.tsx +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/forkManager.ts +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/index.ts +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/notebookCellExecutor.ts +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/requests.ts +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/tokens.ts +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/ydrive.ts +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/yprovider.ts +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/style/base.css +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/style/index.css +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/style/index.js +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/style/slider.css +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/tsconfig.json +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/tsconfig.test.json +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider-extension/README.md +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider-extension/src/executor.ts +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider-extension/src/forkManager.ts +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider-extension/src/index.ts +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider-extension/style/index.css +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider-extension/style/index.js +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider-extension/tsconfig.json +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/pyproject.toml +0 -0
- {jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jupyter-docprovider
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.0b0
|
|
4
4
|
Summary: JupyterLab/Jupyter Notebook 7+ extension integrating collaborative shared models.
|
|
5
5
|
Project-URL: Documentation, https://jupyterlab-realtime-collaboration.readthedocs.io/
|
|
6
6
|
Project-URL: Repository, https://github.com/jupyterlab/jupyter-collaboration
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.0.0b0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter/docprovider-extension",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-beta.0",
|
|
4
4
|
"description": "JupyterLab - Collaborative Shared Models",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"watch:labextension": "jupyter labextension watch ."
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@jupyter/collaborative-drive": "^4.0.0-
|
|
57
|
-
"@jupyter/docprovider": "^4.0.0-
|
|
56
|
+
"@jupyter/collaborative-drive": "^4.0.0-beta.0",
|
|
57
|
+
"@jupyter/docprovider": "^4.0.0-beta.0",
|
|
58
58
|
"@jupyter/ydoc": "^2.1.3 || ^3.0.0",
|
|
59
59
|
"@jupyterlab/application": "^4.4.0-alpha.2",
|
|
60
60
|
"@jupyterlab/apputils": "^4.4.0-alpha.2",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
"_build": {
|
|
131
|
-
"load": "static/remoteEntry.
|
|
131
|
+
"load": "static/remoteEntry.2fed0dac8d85f9c99c42.js",
|
|
132
132
|
"extension": "./extension",
|
|
133
133
|
"style": "./style"
|
|
134
134
|
}
|
jupyter_docprovider-2.0.0b0/jupyter_docprovider/labextension/static/703.898057df87d0484ba2b2.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_jupyter_docprovider_extension=self.webpackChunk_jupyter_docprovider_extension||[]).push([[703],{703:(e,t,o)=>{o.r(t),o.d(t,{default:()=>k});var r=o(594),n=o(256),i=o(446),a=o(810),s=o(854),l=o(228),d=o(338),c=o(458),u=o(0),v=o(115),p=o(925),g=o(597);const h="api/collaboration/timeline",b="The file %1 has been opened with two different views. This is not supported. Please close this view; otherwise, some of your edits may not be saved properly.",y={id:"@jupyter/docprovider-extension:content-provider",description:"The RTC content provider",provides:v.ICollaborativeContentProvider,requires:[c.ITranslator],optional:[v.IGlobalAwareness],activate:(e,t,o)=>{const r=t.load("jupyter_collaboration"),n=e.serviceManager.contents.defaultDrive;if(!n)throw Error("Cannot initialize content provider: default drive property not accessible on contents manager instance.");const i=n.contentProviderRegistry;if(!i)throw Error("Cannot initialize content provider: no content provider registry.");const a=new p.RtcContentProvider({apiEndpoint:"/api/contents",serverSettings:n.serverSettings,user:e.serviceManager.user,trans:r,globalAwareness:o});return i.register("rtc",a),a}},m={id:"@jupyter/docprovider-extension:yfile",description:"Plugin to register the shared model factory for the content type 'file'",autoStart:!0,requires:[v.ICollaborativeContentProvider,a.IEditorWidgetFactory],activate:(e,t,o)=>{t.sharedModelFactory.registerDocumentFactory("file",(()=>new u.YFile)),o.contentProviderId="rtc"}},f={id:"@jupyter/docprovider-extension:ynotebook",description:"Plugin to register the shared model factory for the content type 'notebook'",autoStart:!0,requires:[v.ICollaborativeContentProvider,l.INotebookWidgetFactory],optional:[d.ISettingRegistry],activate:(e,t,o,r)=>{let n=!0;r&&r.load("@jupyterlab/notebook-extension:tracker").then((e=>{const t=e=>{var t;const o=null==e?void 0:e.get("experimentalEnableDocumentWideUndoRedo").composite;n=null===(t=!o)||void 0===t||t};t(e),e.changed.connect((e=>t(e)))})),t.sharedModelFactory.registerDocumentFactory("notebook",(()=>new u.YNotebook({disableDocumentWideUndoRedo:n}))),o.contentProviderId="rtc"}},w={id:"@jupyter/docprovider-extension:statusBarTimeline",description:"Plugin to add a timeline slider to the status bar",autoStart:!0,requires:[i.IStatusBar,v.ICollaborativeContentProvider],activate:async(e,t,o)=>{try{let r=null,i=null;const a=async(t,r)=>{if(!r)return;i&&(i.dispose(),i=null);const[a,s]=r.split(":"),l=o.providers.get(`${a}:${s}:${t}`);if(!l)return;const d=l,c=g.URLExt.join(e.serviceManager.serverSettings.baseUrl,h,t);i=new p.TimelineWidget(c,d,d.contentType,d.format,h);const u=document.getElementById("jp-slider-status-bar");u&&!i.isAttached&&n.Widget.attach(i,u)};e.shell.currentChanged&&e.shell.currentChanged.connect((async(e,t)=>{const o=t.newValue;i&&(i.dispose(),i=null),o&&"context"in o&&(await o.context.ready,await a(o.context.path,o.context.model.sharedModel.getState("document_id")))})),t&&(r||(r=new n.Widget,r.addClass("jp-StatusBar-GroupItem"),r.addClass("jp-mod-highlighted"),r.id="jp-slider-status-bar",t.registerStatusItem("jp-slider-status-bar",{item:r,align:"left",rank:4,isActive:()=>{var t,o;const r=e.shell.currentWidget;return(null===(o=null===(t=null==r?void 0:r.context)||void 0===t?void 0:t.model)||void 0===o?void 0:o.collaborative)||!1}})))}catch(e){console.error("Failed to activate statusBarTimeline plugin:",e)}}},k=[y,m,f,{id:"@jupyter/docprovider-extension:logger",description:"A logging plugin for debugging purposes.",autoStart:!0,optional:[s.ILoggerRegistry,a.IEditorTracker,l.INotebookTracker,c.ITranslator],activate:(e,t,o,n,i)=>{const a=(null!=i?i:c.nullTranslator).load("jupyter_collaboration"),s="https://schema.jupyter.org/jupyter_collaboration/session/v1";if(!t)return void e.serviceManager.events.stream.connect(((e,t)=>{var o,n;t.schema_id===s&&(console.debug(`[${t.room}(${t.path})] ${null!==(o=t.action)&&void 0!==o?o:""}: ${null!==(n=t.msg)&&void 0!==n?n:""}`),"WARNING"===t.level&&(0,r.showDialog)({title:a.__("Warning"),body:a.__(b,t.path),buttons:[r.Dialog.okButton()]}))}));const l=new Map,d=(e,o)=>{const r=t.getLogger(o.context.path);l.set(o.context.localPath,r),o.disposed.connect((e=>{l.delete(e.context.localPath)}))};o&&o.widgetAdded.connect(d),n&&n.widgetAdded.connect(d),(async()=>{var t,o;const{events:n}=e.serviceManager;for await(const e of n.stream)if(e.schema_id===s){const n=l.get(e.path);null==n||n.log({type:"text",level:e.level.toLowerCase(),data:`[${e.room}] ${null!==(t=e.action)&&void 0!==t?t:""}: ${null!==(o=e.msg)&&void 0!==o?o:""}`}),"WARNING"===e.level&&(0,r.showDialog)({title:a.__("Warning"),body:a.__(b,e.path),buttons:[r.Dialog.warnButton({label:a.__("Ok")})]})}})()}},{id:"@jupyter/docprovider-extension:notebook-cell-executor",description:"Add notebook cell executor that uses REST API instead of kernel protocol over WebSocket.",autoStart:!0,provides:l.INotebookCellExecutor,activate:e=>"true"===g.PageConfig.getOption("serverSideExecution")?new p.NotebookCellServerExecutor({serverSettings:e.serviceManager.serverSettings}):Object.freeze({runCell:l.runCell})},w,{id:"@jupyter/docprovider-extension:forkManager",autoStart:!0,requires:[v.ICollaborativeContentProvider],provides:p.IForkManagerToken,activate:(e,t)=>{const o=e.serviceManager.events;return new p.ForkManager({contentProvider:t,eventManager:o})}}]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _JUPYTERLAB;(()=>{"use strict";var e,r,t,o,n,a,i,l,u,s,f,d,p,c,v,h,b,y,m,g,j,w,P,S={496:(e,r,t)=>{var o={"./index":()=>Promise.all([t.e(729),t.e(606),t.e(703)]).then((()=>()=>t(703))),"./extension":()=>Promise.all([t.e(729),t.e(606),t.e(703)]).then((()=>()=>t(703))),"./style":()=>t.e(944).then((()=>()=>t(944)))},n=(e,r)=>(t.R=r,r=t.o(o,e)?o[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var o="default",n=t.S[o];if(n&&n!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[o]=e,t.I(o,r)}};t.d(r,{get:()=>n,init:()=>a})}},k={};function x(e){var r=k[e];if(void 0!==r)return r.exports;var t=k[e]={id:e,exports:{}};return S[e](t,t.exports,x),t.exports}x.m=S,x.c=k,x.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return x.d(r,{a:r}),r},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+"."+{240:"f36e770b79989fd00ff8",444:"13de0fd44849e3f7d780",576:"21a3c1a9ebaebb58d346",703:"898057df87d0484ba2b2",944:"a13dc96a22c557e2f32c"}[e]+".js?v="+{240:"f36e770b79989fd00ff8",444:"13de0fd44849e3f7d780",576:"21a3c1a9ebaebb58d346",703:"898057df87d0484ba2b2",944:"a13dc96a22c557e2f32c"}[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),e={},r="@jupyter/docprovider-extension:",x.l=(t,o,n,a)=>{if(e[t])e[t].push(o);else{var i,l;if(void 0!==n)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++){var f=u[s];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+n){i=f;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,x.nc&&i.setAttribute("nonce",x.nc),i.setAttribute("data-webpack",r+n),i.src=t),e[t]=[o];var d=(r,o)=>{i.onerror=i.onload=null,clearTimeout(p);var n=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach((e=>e(o))),r)return r(o)},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),l&&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.S={};var e={},r={};x.I=(t,o)=>{o||(o=[]);var n=r[t];if(n||(n=r[t]={}),!(o.indexOf(n)>=0)){if(o.push(n),e[t])return e[t];x.o(x.S,t)||(x.S[t]={});var a=x.S[t],i="@jupyter/docprovider-extension",l=(e,r,t,o)=>{var n=a[e]=a[e]||{},l=n[r];(!l||!l.loaded&&(!o!=!l.eager?o:i>l.from))&&(n[r]={get:t,from:i,eager:!!o})},u=[];return"default"===t&&(l("@jupyter/collaborative-drive","4.0.0-beta.0",(()=>Promise.all([x.e(262),x.e(444)]).then((()=>()=>x(444))))),l("@jupyter/docprovider-extension","4.0.0-beta.0",(()=>Promise.all([x.e(729),x.e(606),x.e(703)]).then((()=>()=>x(703))))),l("@jupyter/docprovider","4.0.0-beta.0",(()=>Promise.all([x.e(729),x.e(262),x.e(240)]).then((()=>()=>x(240))))),l("y-websocket","1.5.4",(()=>Promise.all([x.e(576),x.e(206)]).then((()=>()=>x(576)))))),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 o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),x.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),o=t[1]?r(t[1]):[];return t[2]&&(o.length++,o.push.apply(o,r(t[2]))),t[3]&&(o.push([]),o.push.apply(o,r(t[3]))),o},o=(e,r)=>{e=t(e),r=t(r);for(var o=0;;){if(o>=e.length)return o<r.length&&"u"!=(typeof r[o])[0];var n=e[o],a=(typeof n)[0];if(o>=r.length)return"u"==a;var i=r[o],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&n!=i)return n<i;o++}},n=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 o=1,a=1;a<e.length;a++)o--,t+="u"==(typeof(l=e[a]))[0]?"-":(o>0?".":"")+(o=2,l);return t}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?i.pop()+" "+i.pop():n(l))}return u();function u(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var o=e[0],n=o<0;n&&(o=-o-1);for(var i=0,l=1,u=!0;;l++,i++){var s,f,d=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(f=(typeof(s=r[i]))[0]))return!u||("u"==d?l>o&&!n:""==d!=n);if("u"==f){if(!u||"u"!=d)return!1}else if(u)if(d==f)if(l<=o){if(s!=e[l])return!1}else{if(n?s>e[l]:s<e[l])return!1;s!=e[l]&&(u=!1)}else if("s"!=d&&"n"!=d){if(n||l<=o)return!1;u=!1,l--}else{if(l<=o||f<d!=n)return!1;u=!1}else"s"!=d&&"n"!=d&&(u=!1,l--)}}var p=[],c=p.pop.bind(p);for(i=1;i<e.length;i++){var v=e[i];p.push(1==v?c()|c():2==v?c()&c():v?a(v,r):!c())}return!!c()},i=(e,r)=>e&&x.o(e,r),l=e=>(e.loaded=1,e.get()),u=e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}),s=(e,r,t,n)=>{var i=n?u(e[r]):e[r];return(r=Object.keys(i).reduce(((e,r)=>!a(t,r)||e&&!o(e,r)?e:r),0))&&i[r]},f=(e,r,t)=>{var n=t?u(e[r]):e[r];return Object.keys(n).reduce(((e,r)=>!e||!n[e].loaded&&o(e,r)?r:e),0)},d=(e,r,t,o)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+n(o)+")",p=(e,r,t,o,a)=>{var i=e[t];return"No satisfying version ("+n(o)+")"+(a?" 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)},v=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},b=(e,r,t)=>t?t():((e,r)=>c("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),y=(h=e=>function(r,t,o,n,a){var i=x.I(r);return i&&i.then&&!o?i.then(e.bind(e,r,x.S[r],t,!1,n,a)):e(r,x.S[r],t,o,n,a)})(((e,r,t,o,n,a)=>{if(!i(r,t))return b(e,t,a);var u=s(r,t,n,o);return u?l(u):a?a():void c(p(r,e,t,n,o))})),m=h(((e,r,t,o,n,u)=>{if(!i(r,t))return b(e,t,u);var s=f(r,t,o);return a(n,s)||v(d(r,t,s,n)),l(r[t][s])})),g={},j={458:()=>m("default","@jupyterlab/translation",!1,[1,4,3,4]),594:()=>m("default","@jupyterlab/apputils",!1,[1,4,4,4]),597:()=>m("default","@jupyterlab/coreutils",!1,[1,6,3,4]),0:()=>m("default","@jupyter/ydoc",!1,[1,3,0,0,,"a3"]),115:()=>m("default","@jupyter/collaborative-drive",!1,[1,4,0,0,,"beta",0],(()=>Promise.all([x.e(262),x.e(444)]).then((()=>()=>x(444))))),228:()=>m("default","@jupyterlab/notebook",!1,[1,4,3,4]),256:()=>m("default","@lumino/widgets",!1,[1,2,3,1,,"alpha",0]),338:()=>m("default","@jupyterlab/settingregistry",!1,[1,4,3,4]),446:()=>m("default","@jupyterlab/statusbar",!1,[1,4,3,4]),810:()=>m("default","@jupyterlab/fileeditor",!1,[1,4,3,4]),854:()=>m("default","@jupyterlab/logconsole",!1,[1,4,3,4]),925:()=>m("default","@jupyter/docprovider",!1,[1,4,0,0,,"beta",0],(()=>Promise.all([x.e(262),x.e(240)]).then((()=>()=>x(240))))),262:()=>m("default","@lumino/coreutils",!1,[1,2,0,0]),345:()=>m("default","react",!1,[1,18,2,0]),358:()=>m("default","@jupyterlab/services",!1,[1,7,3,4]),560:()=>y("default","y-websocket",!1,[1,1,3,15],(()=>Promise.all([x.e(576),x.e(206)]).then((()=>()=>x(576))))),602:()=>m("default","@lumino/signaling",!1,[1,2,0,0]),960:()=>m("default","@jupyterlab/ui-components",!1,[1,4,3,4]),206:()=>m("default","yjs",!1,[1,13,5,40])},w={206:[206],240:[345,358,560,602,960],262:[262],606:[0,115,228,256,338,446,810,854,925],729:[458,594,597]},P={},x.f.consumes=(e,r)=>{x.o(w,e)&&w[e].forEach((e=>{if(x.o(g,e))return r.push(g[e]);if(!P[e]){var t=r=>{g[e]=0,x.m[e]=t=>{delete x.c[e],t.exports=r()}};P[e]=!0;var o=r=>{delete g[e],x.m[e]=t=>{throw delete x.c[e],r}};try{var n=j[e]();n.then?r.push(g[e]=n.then(t).catch(o)):t(n)}catch(e){o(e)}}}))},(()=>{var e={552:0};x.f.j=(r,t)=>{var o=x.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else if(/^([26]06|262|729)$/.test(r))e[r]=0;else{var n=new Promise(((t,n)=>o=e[r]=[t,n]));t.push(o[2]=n);var a=x.p+x.u(r),i=new Error;x.l(a,(t=>{if(x.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+n+": "+a+")",i.name="ChunkLoadError",i.type=n,i.request=a,o[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var o,n,[a,i,l]=t,u=0;if(a.some((r=>0!==e[r]))){for(o in i)x.o(i,o)&&(x.m[o]=i[o]);l&&l(x)}for(r&&r(t);u<a.length;u++)n=a[u],x.o(e,n)&&e[n]&&e[n][0](),e[n]=0},t=self.webpackChunk_jupyter_docprovider_extension=self.webpackChunk_jupyter_docprovider_extension||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),x.nc=void 0;var E=x(496);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["@jupyter/docprovider-extension"]=E})();
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
"packages": [
|
|
3
3
|
{
|
|
4
4
|
"name": "@jupyter/collaboration",
|
|
5
|
-
"versionInfo": "4.0.0-
|
|
5
|
+
"versionInfo": "4.0.0-beta.0",
|
|
6
6
|
"licenseId": "BSD-3-Clause",
|
|
7
7
|
"extractedText": ""
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
"name": "@jupyter/collaborative-drive",
|
|
11
|
-
"versionInfo": "4.0.0-
|
|
11
|
+
"versionInfo": "4.0.0-beta.0",
|
|
12
12
|
"licenseId": "BSD-3-Clause",
|
|
13
13
|
"extractedText": ""
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"name": "@jupyter/docprovider",
|
|
17
|
-
"versionInfo": "4.0.0-
|
|
17
|
+
"versionInfo": "4.0.0-beta.0",
|
|
18
18
|
"licenseId": "BSD-3-Clause",
|
|
19
19
|
"extractedText": ""
|
|
20
20
|
},
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/package.json
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter/docprovider",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-beta.0",
|
|
4
4
|
"description": "JupyterLab - Document Provider",
|
|
5
5
|
"homepage": "https://github.com/jupyterlab/jupyter-collaboration",
|
|
6
6
|
"bugs": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"watch": "tsc -b --watch"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@jupyter/collaborative-drive": "^4.0.0-
|
|
44
|
+
"@jupyter/collaborative-drive": "^4.0.0-beta.0",
|
|
45
45
|
"@jupyter/ydoc": "^2.1.3 || ^3.0.0",
|
|
46
46
|
"@jupyterlab/apputils": "^4.4.0-alpha.2",
|
|
47
47
|
"@jupyterlab/cells": "^4.4.0-alpha.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter/docprovider-extension",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-beta.0",
|
|
4
4
|
"description": "JupyterLab - Collaborative Shared Models",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"watch:labextension": "jupyter labextension watch ."
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@jupyter/collaborative-drive": "^4.0.0-
|
|
57
|
-
"@jupyter/docprovider": "^4.0.0-
|
|
56
|
+
"@jupyter/collaborative-drive": "^4.0.0-beta.0",
|
|
57
|
+
"@jupyter/docprovider": "^4.0.0-beta.0",
|
|
58
58
|
"@jupyter/ydoc": "^2.1.3 || ^3.0.0",
|
|
59
59
|
"@jupyterlab/application": "^4.4.0-alpha.2",
|
|
60
60
|
"@jupyterlab/apputils": "^4.4.0-alpha.2",
|
|
@@ -257,20 +257,7 @@ export const statusBarTimeline: JupyterFrontEndPlugin<void> = {
|
|
|
257
257
|
const currentWidget = app.shell
|
|
258
258
|
.currentWidget as DocumentWidget | null;
|
|
259
259
|
|
|
260
|
-
|
|
261
|
-
currentWidget &&
|
|
262
|
-
currentWidget.context &&
|
|
263
|
-
typeof currentWidget.context.path === 'string'
|
|
264
|
-
) {
|
|
265
|
-
const documentId =
|
|
266
|
-
currentWidget.context.model.sharedModel.getState(
|
|
267
|
-
'document_id'
|
|
268
|
-
) as string;
|
|
269
|
-
return (
|
|
270
|
-
!!documentId && !!currentWidget.context.model.collaborative
|
|
271
|
-
);
|
|
272
|
-
}
|
|
273
|
-
return false;
|
|
260
|
+
return currentWidget?.context?.model?.collaborative || false;
|
|
274
261
|
}
|
|
275
262
|
});
|
|
276
263
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.0.0.a0"
|
jupyter_docprovider-2.0.0a0/jupyter_docprovider/labextension/static/703.2912506fcb1425845daa.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_jupyter_docprovider_extension=self.webpackChunk_jupyter_docprovider_extension||[]).push([[703],{703:(e,t,o)=>{o.r(t),o.d(t,{default:()=>x});var r=o(594),n=o(256),i=o(446),a=o(810),s=o(854),l=o(228),c=o(338),d=o(458),u=o(0),p=o(229),v=o(233),g=o(597);const h="api/collaboration/timeline",y="The file %1 has been opened with two different views. This is not supported. Please close this view; otherwise, some of your edits may not be saved properly.",b={id:"@jupyter/docprovider-extension:content-provider",description:"The RTC content provider",provides:p.ICollaborativeContentProvider,requires:[d.ITranslator],optional:[p.IGlobalAwareness],activate:(e,t,o)=>{const r=t.load("jupyter_collaboration"),n=e.serviceManager.contents.defaultDrive;if(!n)throw Error("Cannot initialize content provider: default drive property not accessible on contents manager instance.");const i=n.contentProviderRegistry;if(!i)throw Error("Cannot initialize content provider: no content provider registry.");const a=new v.RtcContentProvider({apiEndpoint:"/api/contents",serverSettings:n.serverSettings,user:e.serviceManager.user,trans:r,globalAwareness:o});return i.register("rtc",a),a}},m={id:"@jupyter/docprovider-extension:yfile",description:"Plugin to register the shared model factory for the content type 'file'",autoStart:!0,requires:[p.ICollaborativeContentProvider,a.IEditorWidgetFactory],activate:(e,t,o)=>{t.sharedModelFactory.registerDocumentFactory("file",(()=>new u.YFile)),o.contentProviderId="rtc"}},f={id:"@jupyter/docprovider-extension:ynotebook",description:"Plugin to register the shared model factory for the content type 'notebook'",autoStart:!0,requires:[p.ICollaborativeContentProvider,l.INotebookWidgetFactory],optional:[c.ISettingRegistry],activate:(e,t,o,r)=>{let n=!0;r&&r.load("@jupyterlab/notebook-extension:tracker").then((e=>{const t=e=>{var t;const o=null==e?void 0:e.get("experimentalEnableDocumentWideUndoRedo").composite;n=null===(t=!o)||void 0===t||t};t(e),e.changed.connect((e=>t(e)))})),t.sharedModelFactory.registerDocumentFactory("notebook",(()=>new u.YNotebook({disableDocumentWideUndoRedo:n}))),o.contentProviderId="rtc"}},w={id:"@jupyter/docprovider-extension:statusBarTimeline",description:"Plugin to add a timeline slider to the status bar",autoStart:!0,requires:[i.IStatusBar,p.ICollaborativeContentProvider],activate:async(e,t,o)=>{try{let r=null,i=null;const a=async(t,r)=>{if(!r)return;i&&(i.dispose(),i=null);const[a,s]=r.split(":"),l=o.providers.get(`${a}:${s}:${t}`);if(!l)return;const c=l,d=g.URLExt.join(e.serviceManager.serverSettings.baseUrl,h,t);i=new v.TimelineWidget(d,c,c.contentType,c.format,h);const u=document.getElementById("jp-slider-status-bar");u&&!i.isAttached&&n.Widget.attach(i,u)};e.shell.currentChanged&&e.shell.currentChanged.connect((async(e,t)=>{const o=t.newValue;i&&(i.dispose(),i=null),o&&"context"in o&&(await o.context.ready,await a(o.context.path,o.context.model.sharedModel.getState("document_id")))})),t&&(r||(r=new n.Widget,r.addClass("jp-StatusBar-GroupItem"),r.addClass("jp-mod-highlighted"),r.id="jp-slider-status-bar",t.registerStatusItem("jp-slider-status-bar",{item:r,align:"left",rank:4,isActive:()=>{const t=e.shell.currentWidget;return!(!t||!t.context||"string"!=typeof t.context.path)&&(!!t.context.model.sharedModel.getState("document_id")&&!!t.context.model.collaborative)}})))}catch(e){console.error("Failed to activate statusBarTimeline plugin:",e)}}},x=[b,m,f,{id:"@jupyter/docprovider-extension:logger",description:"A logging plugin for debugging purposes.",autoStart:!0,optional:[s.ILoggerRegistry,a.IEditorTracker,l.INotebookTracker,d.ITranslator],activate:(e,t,o,n,i)=>{const a=(null!=i?i:d.nullTranslator).load("jupyter_collaboration"),s="https://schema.jupyter.org/jupyter_collaboration/session/v1";if(!t)return void e.serviceManager.events.stream.connect(((e,t)=>{var o,n;t.schema_id===s&&(console.debug(`[${t.room}(${t.path})] ${null!==(o=t.action)&&void 0!==o?o:""}: ${null!==(n=t.msg)&&void 0!==n?n:""}`),"WARNING"===t.level&&(0,r.showDialog)({title:a.__("Warning"),body:a.__(y,t.path),buttons:[r.Dialog.okButton()]}))}));const l=new Map,c=(e,o)=>{const r=t.getLogger(o.context.path);l.set(o.context.localPath,r),o.disposed.connect((e=>{l.delete(e.context.localPath)}))};o&&o.widgetAdded.connect(c),n&&n.widgetAdded.connect(c),(async()=>{var t,o;const{events:n}=e.serviceManager;for await(const e of n.stream)if(e.schema_id===s){const n=l.get(e.path);null==n||n.log({type:"text",level:e.level.toLowerCase(),data:`[${e.room}] ${null!==(t=e.action)&&void 0!==t?t:""}: ${null!==(o=e.msg)&&void 0!==o?o:""}`}),"WARNING"===e.level&&(0,r.showDialog)({title:a.__("Warning"),body:a.__(y,e.path),buttons:[r.Dialog.warnButton({label:a.__("Ok")})]})}})()}},{id:"@jupyter/docprovider-extension:notebook-cell-executor",description:"Add notebook cell executor that uses REST API instead of kernel protocol over WebSocket.",autoStart:!0,provides:l.INotebookCellExecutor,activate:e=>"true"===g.PageConfig.getOption("serverSideExecution")?new v.NotebookCellServerExecutor({serverSettings:e.serviceManager.serverSettings}):Object.freeze({runCell:l.runCell})},w,{id:"@jupyter/docprovider-extension:forkManager",autoStart:!0,requires:[p.ICollaborativeContentProvider],provides:v.IForkManagerToken,activate:(e,t)=>{const o=e.serviceManager.events;return new v.ForkManager({contentProvider:t,eventManager:o})}}]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _JUPYTERLAB;(()=>{"use strict";var e,r,t,o,a,n,i,l,u,s,d,f,p,c,h,v,b,y,m,g,j,w,P,S={496:(e,r,t)=>{var o={"./index":()=>Promise.all([t.e(729),t.e(60),t.e(703)]).then((()=>()=>t(703))),"./extension":()=>Promise.all([t.e(729),t.e(60),t.e(703)]).then((()=>()=>t(703))),"./style":()=>t.e(944).then((()=>()=>t(944)))},a=(e,r)=>(t.R=r,r=t.o(o,e)?o[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 o="default",a=t.S[o];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[o]=e,t.I(o,r)}};t.d(r,{get:()=>a,init:()=>n})}},k={};function x(e){var r=k[e];if(void 0!==r)return r.exports;var t=k[e]={id:e,exports:{}};return S[e](t,t.exports,x),t.exports}x.m=S,x.c=k,x.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return x.d(r,{a:r}),r},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+"."+{240:"f36e770b79989fd00ff8",444:"13de0fd44849e3f7d780",576:"21a3c1a9ebaebb58d346",703:"2912506fcb1425845daa",944:"a13dc96a22c557e2f32c"}[e]+".js?v="+{240:"f36e770b79989fd00ff8",444:"13de0fd44849e3f7d780",576:"21a3c1a9ebaebb58d346",703:"2912506fcb1425845daa",944:"a13dc96a22c557e2f32c"}[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),e={},r="@jupyter/docprovider-extension:",x.l=(t,o,a,n)=>{if(e[t])e[t].push(o);else{var i,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++){var d=u[s];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==r+a){i=d;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,x.nc&&i.setAttribute("nonce",x.nc),i.setAttribute("data-webpack",r+a),i.src=t),e[t]=[o];var f=(r,o)=>{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(o))),r)return r(o)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&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.S={};var e={},r={};x.I=(t,o)=>{o||(o=[]);var a=r[t];if(a||(a=r[t]={}),!(o.indexOf(a)>=0)){if(o.push(a),e[t])return e[t];x.o(x.S,t)||(x.S[t]={});var n=x.S[t],i="@jupyter/docprovider-extension",l=(e,r,t,o)=>{var a=n[e]=n[e]||{},l=a[r];(!l||!l.loaded&&(!o!=!l.eager?o:i>l.from))&&(a[r]={get:t,from:i,eager:!!o})},u=[];return"default"===t&&(l("@jupyter/collaborative-drive","4.0.0-alpha.0",(()=>Promise.all([x.e(262),x.e(444)]).then((()=>()=>x(444))))),l("@jupyter/docprovider-extension","4.0.0-alpha.0",(()=>Promise.all([x.e(729),x.e(60),x.e(703)]).then((()=>()=>x(703))))),l("@jupyter/docprovider","4.0.0-alpha.0",(()=>Promise.all([x.e(729),x.e(262),x.e(240)]).then((()=>()=>x(240))))),l("y-websocket","1.5.4",(()=>Promise.all([x.e(576),x.e(206)]).then((()=>()=>x(576)))))),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 o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),x.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),o=t[1]?r(t[1]):[];return t[2]&&(o.length++,o.push.apply(o,r(t[2]))),t[3]&&(o.push([]),o.push.apply(o,r(t[3]))),o},o=(e,r)=>{e=t(e),r=t(r);for(var o=0;;){if(o>=e.length)return o<r.length&&"u"!=(typeof r[o])[0];var a=e[o],n=(typeof a)[0];if(o>=r.length)return"u"==n;var i=r[o],l=(typeof i)[0];if(n!=l)return"o"==n&&"n"==l||"s"==l||"u"==n;if("o"!=n&&"u"!=n&&a!=i)return a<i;o++}},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 o=1,n=1;n<e.length;n++)o--,t+="u"==(typeof(l=e[n]))[0]?"-":(o>0?".":"")+(o=2,l);return t}var i=[];for(n=1;n<e.length;n++){var l=e[n];i.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?i.pop()+" "+i.pop():a(l))}return u();function u(){return i.pop().replace(/^\((.+)\)$/,"$1")}},n=(e,r)=>{if(0 in e){r=t(r);var o=e[0],a=o<0;a&&(o=-o-1);for(var i=0,l=1,u=!0;;l++,i++){var s,d,f=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(d=(typeof(s=r[i]))[0]))return!u||("u"==f?l>o&&!a:""==f!=a);if("u"==d){if(!u||"u"!=f)return!1}else if(u)if(f==d)if(l<=o){if(s!=e[l])return!1}else{if(a?s>e[l]:s<e[l])return!1;s!=e[l]&&(u=!1)}else if("s"!=f&&"n"!=f){if(a||l<=o)return!1;u=!1,l--}else{if(l<=o||d<f!=a)return!1;u=!1}else"s"!=f&&"n"!=f&&(u=!1,l--)}}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?n(h,r):!c())}return!!c()},i=(e,r)=>e&&x.o(e,r),l=e=>(e.loaded=1,e.get()),u=e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}),s=(e,r,t,a)=>{var i=a?u(e[r]):e[r];return(r=Object.keys(i).reduce(((e,r)=>!n(t,r)||e&&!o(e,r)?e:r),0))&&i[r]},d=(e,r,t)=>{var a=t?u(e[r]):e[r];return Object.keys(a).reduce(((e,r)=>!e||!a[e].loaded&&o(e,r)?r:e),0)},f=(e,r,t,o)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+a(o)+")",p=(e,r,t,o,n)=>{var i=e[t];return"No satisfying version ("+a(o)+")"+(n?" 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)},b=(e,r,t)=>t?t():((e,r)=>c("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),y=(v=e=>function(r,t,o,a,n){var i=x.I(r);return i&&i.then&&!o?i.then(e.bind(e,r,x.S[r],t,!1,a,n)):e(r,x.S[r],t,o,a,n)})(((e,r,t,o,a,n)=>{if(!i(r,t))return b(e,t,n);var u=s(r,t,a,o);return u?l(u):n?n():void c(p(r,e,t,a,o))})),m=v(((e,r,t,o,a,u)=>{if(!i(r,t))return b(e,t,u);var s=d(r,t,o);return n(a,s)||h(f(r,t,s,a)),l(r[t][s])})),g={},j={458:()=>m("default","@jupyterlab/translation",!1,[1,4,3,4]),594:()=>m("default","@jupyterlab/apputils",!1,[1,4,4,4]),597:()=>m("default","@jupyterlab/coreutils",!1,[1,6,3,4]),0:()=>m("default","@jupyter/ydoc",!1,[1,3,0,0,,"a3"]),228:()=>m("default","@jupyterlab/notebook",!1,[1,4,3,4]),229:()=>m("default","@jupyter/collaborative-drive",!1,[1,4,0,0,,"alpha",0],(()=>Promise.all([x.e(262),x.e(444)]).then((()=>()=>x(444))))),233:()=>m("default","@jupyter/docprovider",!1,[1,4,0,0,,"alpha",0],(()=>Promise.all([x.e(262),x.e(240)]).then((()=>()=>x(240))))),256:()=>m("default","@lumino/widgets",!1,[1,2,3,1,,"alpha",0]),338:()=>m("default","@jupyterlab/settingregistry",!1,[1,4,3,4]),446:()=>m("default","@jupyterlab/statusbar",!1,[1,4,3,4]),810:()=>m("default","@jupyterlab/fileeditor",!1,[1,4,3,4]),854:()=>m("default","@jupyterlab/logconsole",!1,[1,4,3,4]),262:()=>m("default","@lumino/coreutils",!1,[1,2,0,0]),345:()=>m("default","react",!1,[1,18,2,0]),358:()=>m("default","@jupyterlab/services",!1,[1,7,3,4]),560:()=>y("default","y-websocket",!1,[1,1,3,15],(()=>Promise.all([x.e(576),x.e(206)]).then((()=>()=>x(576))))),602:()=>m("default","@lumino/signaling",!1,[1,2,0,0]),960:()=>m("default","@jupyterlab/ui-components",!1,[1,4,3,4]),206:()=>m("default","yjs",!1,[1,13,5,40])},w={60:[0,228,229,233,256,338,446,810,854],206:[206],240:[345,358,560,602,960],262:[262],729:[458,594,597]},P={},x.f.consumes=(e,r)=>{x.o(w,e)&&w[e].forEach((e=>{if(x.o(g,e))return r.push(g[e]);if(!P[e]){var t=r=>{g[e]=0,x.m[e]=t=>{delete x.c[e],t.exports=r()}};P[e]=!0;var o=r=>{delete g[e],x.m[e]=t=>{throw delete x.c[e],r}};try{var a=j[e]();a.then?r.push(g[e]=a.then(t).catch(o)):t(a)}catch(e){o(e)}}}))},(()=>{var e={552:0};x.f.j=(r,t)=>{var o=x.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else if(/^(206|262|60|729)$/.test(r))e[r]=0;else{var a=new Promise(((t,a)=>o=e[r]=[t,a]));t.push(o[2]=a);var n=x.p+x.u(r),i=new Error;x.l(n,(t=>{if(x.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var a=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+a+": "+n+")",i.name="ChunkLoadError",i.type=a,i.request=n,o[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var o,a,[n,i,l]=t,u=0;if(n.some((r=>0!==e[r]))){for(o in i)x.o(i,o)&&(x.m[o]=i[o]);l&&l(x)}for(r&&r(t);u<n.length;u++)a=n[u],x.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk_jupyter_docprovider_extension=self.webpackChunk_jupyter_docprovider_extension||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),x.nc=void 0;var E=x(496);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["@jupyter/docprovider-extension"]=E})();
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/babel.config.js
RENAMED
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/jest.config.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/awareness.ts
RENAMED
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/component.tsx
RENAMED
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/forkManager.ts
RENAMED
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/index.ts
RENAMED
|
File without changes
|
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/requests.ts
RENAMED
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/tokens.ts
RENAMED
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/ydrive.ts
RENAMED
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/src/yprovider.ts
RENAMED
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/style/base.css
RENAMED
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/style/index.css
RENAMED
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/style/index.js
RENAMED
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/style/slider.css
RENAMED
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/tsconfig.json
RENAMED
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider/tsconfig.test.json
RENAMED
|
File without changes
|
{jupyter_docprovider-2.0.0a0 → jupyter_docprovider-2.0.0b0}/packages/docprovider-extension/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|