notebook 7.3.0a0__tar.gz → 7.3.0a1__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.
Potentially problematic release.
This version of notebook might be problematic. Click here for more details.
- {notebook-7.3.0a0 → notebook-7.3.0a1}/CHANGELOG.md +20 -2
- {notebook-7.3.0a0 → notebook-7.3.0a1}/PKG-INFO +2 -2
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/_version.py +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/labextension/package.json +11 -11
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/labextension/schemas/@jupyter-notebook/lab-extension/package.json.orig +10 -10
- notebook-7.3.0a1/notebook/labextension/static/568.45e1d3167710e94c3d26.js +1 -0
- notebook-7.3.0a0/notebook/labextension/static/646.57a345a80ce9f0e64830.js → notebook-7.3.0a1/notebook/labextension/static/600.25341cef1598f2727482.js +1 -1
- notebook-7.3.0a1/notebook/labextension/static/928.b94c92715d631efb4a8f.js +1 -0
- notebook-7.3.0a1/notebook/labextension/static/remoteEntry.8ca922abea871b34db72.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/labextension/static/third-party-licenses.json +2 -2
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/application-extension/package.json.orig +14 -14
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +4 -4
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/help-extension/package.json.orig +6 -6
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/notebook-extension/package.json.orig +9 -9
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/tree-extension/package.json.orig +15 -15
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/113.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1198.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1226.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/131.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/134.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1408.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1496.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1584.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1647.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/1650.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1684.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1809.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/1827.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1833.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1958.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/1962.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2007.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2065.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/2088.bundle.js +1 -0
- notebook-7.3.0a1/notebook/static/2089.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2122.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2167.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2184.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2311.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2401.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/2479.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2489.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2607.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2615.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/2636.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2924.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2944.bundle.js +1 -1
- notebook-7.3.0a0/notebook/static/2323.bundle.js → notebook-7.3.0a1/notebook/static/3030.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3129.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3146.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3187.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3213.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/3340.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3360.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3466.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/3512.bundle.js +1 -0
- notebook-7.3.0a1/notebook/static/3676.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3680.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/374.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3768.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/377.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3863.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/3881.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4042.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/4058.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4212.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4382.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4526.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4588.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4645.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4811.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4837.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5099.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5135.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5254.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5261.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5313.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/5325.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5346.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5426.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/545.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5573.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5601.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5733.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/5828.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5850.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5912.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5921.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6017.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6139.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/62.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6271.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6318.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6345.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/6604.bundle.js +1 -0
- notebook-7.3.0a1/notebook/static/6621.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6627.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/6748.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/677.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/6815.bundle.js +1 -0
- notebook-7.3.0a1/notebook/static/6853.bundle.js +1 -0
- notebook-7.3.0a1/notebook/static/6893.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6898.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/690.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6962.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6999.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/7226.bundle.js +1 -0
- notebook-7.3.0a1/notebook/static/7252.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7302.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/7369.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7386.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7391.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/7450.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7506.bundle.js +2 -2
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7543.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/755.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7603.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7639.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7655.bundle.js +1 -1
- notebook-7.3.0a0/notebook/static/4427.bundle.js → notebook-7.3.0a1/notebook/static/7674.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/7684.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7812.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7819.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/7854.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7900.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7906.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7995.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/8054.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8285.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/8471.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8579.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8633.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8771.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/8781.bundle.js +1 -0
- notebook-7.3.0a1/notebook/static/8875.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8907.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8928.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/893.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/901.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9068.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/9136.bundle.js +1 -0
- notebook-7.3.0a1/notebook/static/9151.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9161.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9268.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9335.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/9341.bundle.js +1 -0
- notebook-7.3.0a1/notebook/static/9380.bundle.js +1 -0
- notebook-7.3.0a1/notebook/static/9605.bundle.js +2 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9638.bundle.js +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9680.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/9685.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9752.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/9821.bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9852.bundle.js +1 -1
- notebook-7.3.0a1/notebook/static/bundle.js +1 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/third-party-licenses.json +104 -104
- {notebook-7.3.0a0 → notebook-7.3.0a1}/package.json +1 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/pyproject.toml +3 -3
- notebook-7.3.0a0/notebook/labextension/static/568.6d49b092e49dc147dc54.js +0 -1
- notebook-7.3.0a0/notebook/labextension/static/928.7bcc163b9139ecb2b25b.js +0 -1
- notebook-7.3.0a0/notebook/labextension/static/remoteEntry.9381fdb35e72f41d8af1.js +0 -1
- notebook-7.3.0a0/notebook/static/1650.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/1827.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/1962.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/2088.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/2089.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/2479.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/2636.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/3340.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/3512.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/3676.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/374.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/377.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/3881.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/4058.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/5325.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/545.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/5828.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/6604.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/6621.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/6748.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/6815.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/6853.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/6893.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/7226.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/7252.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/7369.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/7450.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/7684.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/7854.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/8054.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/8471.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/8781.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/8875.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/893.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/9092.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/9136.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/9151.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/9341.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/9380.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/9605.bundle.js +0 -2
- notebook-7.3.0a0/notebook/static/9685.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/9821.bundle.js +0 -1
- notebook-7.3.0a0/notebook/static/bundle.js +0 -1
- {notebook-7.3.0a0 → notebook-7.3.0a1}/.gitignore +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/CONTRIBUTING.md +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/LICENSE +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/README.md +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/RELEASE.md +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/jupyter-config/jupyter_server_config.d/notebook.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/jupyter-notebook.desktop +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/node_modules/@jupyterlab/ui-components/style/icons/filetype/notebook.svg +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/__init__.py +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/__main__.py +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/app.py +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/custom/custom.css +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/labextension/schemas/@jupyter-notebook/lab-extension/interface-switcher.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/labextension/schemas/@jupyter-notebook/lab-extension/launch-tree.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/labextension/static/93.eae3497dd223d842d198.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/labextension/static/style.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/application-extension/shell.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/application-extension/title.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/application-extension/top.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/help-extension/open.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/notebook-extension/edit-notebook-metadata.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/schemas/@jupyter-notebook/tree-extension/widget.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1053.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1088.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1091.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1122.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/114.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1169.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1261.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1326.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1326.bundle.js.LICENSE.txt +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1388.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1418.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1495.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1495.bundle.js.LICENSE.txt +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1542.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1542.bundle.js.LICENSE.txt +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1558.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1601.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1618.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1696.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/170.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1750.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1828.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1837.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1846.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1869.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1884.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1941.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/1cb1c39ea642f26a4dfe.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/214.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2188.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/221.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2241.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2324.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2343.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2386.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2520.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2552.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/261.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2666.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/26683bf201fb258a2237.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2682.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2692.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/270.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2702.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2756.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/28.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2813.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2866.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2871.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2913.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/2913.bundle.js.LICENSE.txt +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3079.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/30e889b58cbc51adfbb0.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/311.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3111.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3154.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3211.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3230.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/32792104b5ef69eded90.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3301.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3322.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3325.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3336.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3370.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3420.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3449.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3462.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3488.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/35.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3501.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/355254db9ca10a09a3b5.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3562.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/36e0d72d8a7afc696a3e.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3700.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3733.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/373c04fd2418f5c77eea.eot +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3752.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3797.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3bc6ecaae7ecf6f8d7f8.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3de784d07b9fa8f104c1.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/3f6d3488cf65374f6f67.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4002.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/403.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4030.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4035.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4038.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4039.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4045.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/409.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4105.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4148.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4271.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4291.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/431.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4387.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4430.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4434.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4498.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4499.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4521.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4630.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4630.bundle.js.LICENSE.txt +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4670.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4708.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4780.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4810.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/481e39042508ae313a60.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4825.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4843.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4965.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/4971.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5018.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5019.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5061.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5115.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5166.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5234.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5249.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5297.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5299.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5343.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5425.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5451.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5494.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5614.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/563.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5649.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5698.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5712.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5765.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5777.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5822.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5834.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5972.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5996.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/5cda41563a095bd70c78.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6061.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6164.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6281.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/632.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6417.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/647.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6521.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/661.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6619.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6640.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6667.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/67.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6731.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6739.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6788.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/69.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6942.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/6972.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7005.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7010.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7022.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7054.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7097.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7153.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7154.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7170.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7179.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/721921bab0d001ebff02.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7259.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7264.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/72bc573386dd1d48c5bb.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7360.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7378.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7378.bundle.js.LICENSE.txt +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7427.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/745.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7471.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7506.bundle.js.LICENSE.txt +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7534.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7579.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7582.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7679.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7796.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7796.bundle.js.LICENSE.txt +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7803.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7811.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7811.bundle.js.LICENSE.txt +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7817.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7821.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7884.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/792.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7957.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7969.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7995.bundle.js.LICENSE.txt +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/7997.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/79d088064beb3826054f.eot +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8010.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8032.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8060.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8378.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8381.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8433.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8443.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8446.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8479.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/85.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8647.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/870673df72e70f87c91a.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8723.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8768.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8801.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/883.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8845.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8845.bundle.js.LICENSE.txt +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/88b98cad3688915e50da.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8929.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8937.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8979.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8983.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/899.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8ea8791754915a898a31.woff2 +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/8ea8dbb1b02e6f730f55.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9022.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9037.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/906.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9060.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/911.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9116.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9222.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9233.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9234.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9239.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9250.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9331.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9425.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9558.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9604.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9605.bundle.js.LICENSE.txt +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9674eb1bd55047179038.svg +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9676.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9734.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9752.bundle.js.LICENSE.txt +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9834b82ad26e2a37583d.woff2 +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9866.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/9906.bundle.js +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/a009bea404f7a500ded4.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/a3b9817780214caf01e8.svg +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/af04542b29eaac04550a.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/af6397503fcefbd61397.ttf +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/af96f67d7accf5fd2a4a.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/b418136e3b384baaadec.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/be0a084962d8066884f7.svg +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/c49810b53ecc0d87d802.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/c56da8d69f1a0208b8e0.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/cb9e9e693192413cde2b.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/cda59d6efffa685830fd.ttf +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/e4299464e7b012968eed.eot +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/e42a88444448ac3d6054.woff2 +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/e8711bbb871afd8e9dea.ttf +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/f9217f66874b0c01cd8c.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/static/fc6ddf5df402b263cfb1.woff +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/templates/consoles.html +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/templates/edit.html +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/templates/error.html +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/templates/notebooks.html +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/templates/terminals.html +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/templates/tree.html +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/notebook.svg +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/tests/conftest.py +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/tests/test_app.py +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/tsconfig.eslint.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/tsconfigbase.json +0 -0
- {notebook-7.3.0a0 → notebook-7.3.0a1}/tsconfigbase.test.json +0 -0
|
@@ -42,6 +42,26 @@ A new theme, JupyterLab Dark High Contrast, which is intended to benefit users w
|
|
|
42
42
|
|
|
43
43
|
<!-- <START NEW CHANGELOG ENTRY> -->
|
|
44
44
|
|
|
45
|
+
## 7.3.0a1
|
|
46
|
+
|
|
47
|
+
([Full Changelog](https://github.com/jupyter/notebook/compare/@jupyter-notebook/application-extension@7.3.0-alpha.0...ff2b822d066dc8d733a259f955177da4bd4d668c))
|
|
48
|
+
|
|
49
|
+
### Enhancements made
|
|
50
|
+
|
|
51
|
+
- Update to JupyterLab `4.3.0a1` [#7416](https://github.com/jupyter/notebook/pull/7416) ([@jtpio](https://github.com/jtpio))
|
|
52
|
+
|
|
53
|
+
### Bugs fixed
|
|
54
|
+
|
|
55
|
+
- Remove pseudoelement obstructing the cell collapser [#7392](https://github.com/jupyter/notebook/pull/7392) ([@krassowski](https://github.com/krassowski))
|
|
56
|
+
|
|
57
|
+
### Contributors to this release
|
|
58
|
+
|
|
59
|
+
([GitHub contributors page for this release](https://github.com/jupyter/notebook/graphs/contributors?from=2024-05-31&to=2024-07-01&type=c))
|
|
60
|
+
|
|
61
|
+
[@github-actions](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2024-05-31..2024-07-01&type=Issues) | [@jtpio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2024-05-31..2024-07-01&type=Issues) | [@krassowski](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Akrassowski+updated%3A2024-05-31..2024-07-01&type=Issues)
|
|
62
|
+
|
|
63
|
+
<!-- <END NEW CHANGELOG ENTRY> -->
|
|
64
|
+
|
|
45
65
|
## 7.3.0a0
|
|
46
66
|
|
|
47
67
|
([Full Changelog](https://github.com/jupyter/notebook/compare/@jupyter-notebook/application-extension@7.2.0...1a03b9d8e502f8177684e39d7b627bed1c772bb2))
|
|
@@ -71,8 +91,6 @@ A new theme, JupyterLab Dark High Contrast, which is intended to benefit users w
|
|
|
71
91
|
|
|
72
92
|
[@bluestealth](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Abluestealth+updated%3A2024-05-16..2024-05-31&type=Issues) | [@github-actions](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2024-05-16..2024-05-31&type=Issues) | [@JasonWeill](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3AJasonWeill+updated%3A2024-05-16..2024-05-31&type=Issues) | [@jtpio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2024-05-16..2024-05-31&type=Issues) | [@martinRenou](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3AmartinRenou+updated%3A2024-05-16..2024-05-31&type=Issues)
|
|
73
93
|
|
|
74
|
-
<!-- <END NEW CHANGELOG ENTRY> -->
|
|
75
|
-
|
|
76
94
|
## 7.2.0
|
|
77
95
|
|
|
78
96
|
([Full Changelog](https://github.com/jupyter/notebook/compare/@jupyter-notebook/application-extension@7.1.2...31bf294e85175bbf39816a90dc8858dedaf73bde))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: notebook
|
|
3
|
-
Version: 7.3.
|
|
3
|
+
Version: 7.3.0a1
|
|
4
4
|
Summary: Jupyter Notebook - A web-based notebook environment for interactive computing
|
|
5
5
|
Project-URL: Documentation, https://jupyter-notebook.readthedocs.io/
|
|
6
6
|
Project-URL: Homepage, https://github.com/jupyter/notebook
|
|
@@ -55,7 +55,7 @@ Classifier: Typing :: Typed
|
|
|
55
55
|
Requires-Python: >=3.8
|
|
56
56
|
Requires-Dist: jupyter-server<3,>=2.4.0
|
|
57
57
|
Requires-Dist: jupyterlab-server<3,>=2.27.1
|
|
58
|
-
Requires-Dist: jupyterlab<4.4,>=4.3.
|
|
58
|
+
Requires-Dist: jupyterlab<4.4,>=4.3.0a1
|
|
59
59
|
Requires-Dist: notebook-shim<0.3,>=0.2
|
|
60
60
|
Requires-Dist: tornado>=6.2.0
|
|
61
61
|
Provides-Extra: dev
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter-notebook/lab-extension",
|
|
3
|
-
"version": "7.3.0-alpha.
|
|
3
|
+
"version": "7.3.0-alpha.1",
|
|
4
4
|
"description": "Jupyter Notebook - Lab Extension",
|
|
5
5
|
"homepage": "https://github.com/jupyter/notebook",
|
|
6
6
|
"bugs": {
|
|
@@ -43,19 +43,19 @@
|
|
|
43
43
|
"watch:src": "tsc -w"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@jupyter-notebook/application": "^7.3.0-alpha.
|
|
47
|
-
"@jupyterlab/application": "~4.3.0-alpha.
|
|
48
|
-
"@jupyterlab/apputils": "~4.4.0-alpha.
|
|
49
|
-
"@jupyterlab/coreutils": "~6.3.0-alpha.
|
|
50
|
-
"@jupyterlab/docregistry": "~4.3.0-alpha.
|
|
51
|
-
"@jupyterlab/notebook": "~4.3.0-alpha.
|
|
52
|
-
"@jupyterlab/translation": "~4.3.0-alpha.
|
|
53
|
-
"@jupyterlab/ui-components": "~4.3.0-alpha.
|
|
46
|
+
"@jupyter-notebook/application": "^7.3.0-alpha.1",
|
|
47
|
+
"@jupyterlab/application": "~4.3.0-alpha.1",
|
|
48
|
+
"@jupyterlab/apputils": "~4.4.0-alpha.1",
|
|
49
|
+
"@jupyterlab/coreutils": "~6.3.0-alpha.1",
|
|
50
|
+
"@jupyterlab/docregistry": "~4.3.0-alpha.1",
|
|
51
|
+
"@jupyterlab/notebook": "~4.3.0-alpha.1",
|
|
52
|
+
"@jupyterlab/translation": "~4.3.0-alpha.1",
|
|
53
|
+
"@jupyterlab/ui-components": "~4.3.0-alpha.1",
|
|
54
54
|
"@lumino/commands": "^2.3.0",
|
|
55
55
|
"@lumino/disposable": "^2.1.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@jupyterlab/builder": "~4.3.0-alpha.
|
|
58
|
+
"@jupyterlab/builder": "~4.3.0-alpha.1",
|
|
59
59
|
"rimraf": "^3.0.2",
|
|
60
60
|
"typescript": "~5.0.2"
|
|
61
61
|
},
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"outputDir": "../../notebook/labextension",
|
|
68
68
|
"schemaDir": "schema",
|
|
69
69
|
"_build": {
|
|
70
|
-
"load": "static/remoteEntry.
|
|
70
|
+
"load": "static/remoteEntry.8ca922abea871b34db72.js",
|
|
71
71
|
"extension": "./extension",
|
|
72
72
|
"style": "./style"
|
|
73
73
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter-notebook/lab-extension",
|
|
3
|
-
"version": "7.3.0-alpha.
|
|
3
|
+
"version": "7.3.0-alpha.1",
|
|
4
4
|
"description": "Jupyter Notebook - Lab Extension",
|
|
5
5
|
"homepage": "https://github.com/jupyter/notebook",
|
|
6
6
|
"bugs": {
|
|
@@ -43,19 +43,19 @@
|
|
|
43
43
|
"watch:src": "tsc -w"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@jupyter-notebook/application": "^7.3.0-alpha.
|
|
47
|
-
"@jupyterlab/application": "~4.3.0-alpha.
|
|
48
|
-
"@jupyterlab/apputils": "~4.4.0-alpha.
|
|
49
|
-
"@jupyterlab/coreutils": "~6.3.0-alpha.
|
|
50
|
-
"@jupyterlab/docregistry": "~4.3.0-alpha.
|
|
51
|
-
"@jupyterlab/notebook": "~4.3.0-alpha.
|
|
52
|
-
"@jupyterlab/translation": "~4.3.0-alpha.
|
|
53
|
-
"@jupyterlab/ui-components": "~4.3.0-alpha.
|
|
46
|
+
"@jupyter-notebook/application": "^7.3.0-alpha.1",
|
|
47
|
+
"@jupyterlab/application": "~4.3.0-alpha.1",
|
|
48
|
+
"@jupyterlab/apputils": "~4.4.0-alpha.1",
|
|
49
|
+
"@jupyterlab/coreutils": "~6.3.0-alpha.1",
|
|
50
|
+
"@jupyterlab/docregistry": "~4.3.0-alpha.1",
|
|
51
|
+
"@jupyterlab/notebook": "~4.3.0-alpha.1",
|
|
52
|
+
"@jupyterlab/translation": "~4.3.0-alpha.1",
|
|
53
|
+
"@jupyterlab/ui-components": "~4.3.0-alpha.1",
|
|
54
54
|
"@lumino/commands": "^2.3.0",
|
|
55
55
|
"@lumino/disposable": "^2.1.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@jupyterlab/builder": "~4.3.0-alpha.
|
|
58
|
+
"@jupyterlab/builder": "~4.3.0-alpha.1",
|
|
59
59
|
"rimraf": "^3.0.2",
|
|
60
60
|
"typescript": "~5.0.2"
|
|
61
61
|
},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_jupyter_notebook_lab_extension=self.webpackChunk_jupyter_notebook_lab_extension||[]).push([[568],{568:(e,o,t)=>{t.r(o),t.d(o,{default:()=>m});var n,a=t(400),r=t(212),c=t(17),l=t(174),i=t(462),s=t(882),b=t(818),d=t(108);!function(e){e.launchNotebookTree="jupyter-notebook:launch-tree",e.openNotebook="jupyter-notebook:open-notebook",e.openLab="jupyter-notebook:open-lab",e.openNbClassic="jupyter-notebook:open-nbclassic"}(n||(n={}));const u={id:"@jupyter-notebook/lab-extension:interface-switcher",description:"A plugin to add custom toolbar items to the notebook page.",autoStart:!0,requires:[i.ITranslator,l.INotebookTracker],optional:[r.ICommandPalette,b.INotebookPathOpener,b.INotebookShell,a.ILabShell,r.IToolbarWidgetRegistry],activate:(e,o,t,a,r,l,i,u)=>{const{commands:m,shell:p}=e,k=c.PageConfig.getBaseUrl(),h=o.load("notebook"),_="true"===c.PageConfig.getOption("nbclassic_enabled"),g=new s.Menu({commands:m}),f=[],N=null!=r?r:b.defaultNotebookPathOpener;l||f.push({command:n.openNotebook,commandLabel:h.__("Notebook"),commandDescription:h.__("Open in %1","Jupyter Notebook"),buttonLabel:"openNotebook",urlPrefix:`${k}tree`}),i||f.push({command:n.openLab,commandLabel:h.__("JupyterLab"),commandDescription:h.__("Open in %1","JupyterLab"),buttonLabel:"openLab",urlPrefix:`${k}doc/tree`}),_&&f.push({command:n.openNbClassic,commandLabel:h.__("NbClassic"),commandDescription:h.__("Open in %1","NbClassic"),buttonLabel:"openNbClassic",urlPrefix:`${k}nbclassic/notebooks`});const y=()=>null!==t.currentWidget&&t.currentWidget===p.currentWidget;let C;if(f.forEach((e=>{const{command:o}=e;(e=>{const{command:o,commandLabel:n,commandDescription:r,urlPrefix:c}=e;m.addCommand(o,{label:e=>(e.noLabel,e.isMenu||e.isPalette?r:n),caption:n,execute:()=>{const e=t.currentWidget;e&&N.open({prefix:c,path:e.context.path})},isEnabled:y}),a&&a.addItem({command:o,category:"Other",args:{isPalette:!0}})})(e),g.addItem({command:o})})),1===f.length)C=e=>{const o=new d.CommandToolbarButton({commands:m,id:f[0].command,label:f[0].commandLabel,icon:d.launchIcon});return o.addClass("jp-nb-interface-switcher-button"),o};else{const e={overflowMenuOptions:{isVisible:!1}},o=new s.MenuBar(e);g.title.label=h.__("Open in..."),g.title.icon=d.caretDownIcon,o.addMenu(g),C=o=>{const t=new s.MenuBar(e);return t.addMenu(g),t.addClass("jp-InterfaceSwitcher"),t}}u&&u.addFactory("Notebook","interfaceSwitcher",C)}},m=[{id:"@jupyter-notebook/lab-extension:launch-tree",description:"A plugin to add a command to open the Jupyter Notebook Tree.",autoStart:!0,requires:[i.ITranslator],optional:[r.ICommandPalette],activate:(e,o,t)=>{const{commands:a}=e,r=o.load("notebook"),l=r.__("Help");a.addCommand(n.launchNotebookTree,{label:r.__("Launch Jupyter Notebook File Browser"),execute:()=>{const e=c.URLExt.join(c.PageConfig.getBaseUrl(),"tree");window.open(e)}}),t&&t.addItem({command:n.launchNotebookTree,category:l})}},u]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_jupyter_notebook_lab_extension=self.webpackChunk_jupyter_notebook_lab_extension||[]).push([[646],{30:(e,t,i)=>{i.r(t),i.d(t,{INotebookPathOpener:()=>C,INotebookShell:()=>y,NotebookApp:()=>H,NotebookShell:()=>k,PanelHandler:()=>f,Private:()=>v,SidePanelHandler:()=>w,SidePanelPalette:()=>W,defaultNotebookPathOpener:()=>P});var s,n=i(815),r=i(81),a=i(950),o=i(448),d=i(455),l=i(797),h=i(482),p=i(697),g=i(930),u=i(901),c=i(882),_=i(712),m=i(633);class f{constructor(){this._panelChildHook=(e,t)=>{if("child-removed"===t.type){const e=t.child;p.ArrayExt.removeFirstWhere(this._items,(t=>t.widget===e))}return!0},this._items=new Array,this._panel=new c.Panel,m.MessageLoop.installMessageHook(this._panel,this._panelChildHook)}get panel(){return this._panel}addWidget(e,t){e.parent=null;const i={widget:e,rank:t},n=p.ArrayExt.upperBound(this._items,i,s.itemCmp);p.ArrayExt.insert(this._items,n,i),this._panel.insertWidget(n,e)}}class w extends f{constructor(e){super(),this._isHiddenByUser=!1,this._widgetAdded=new u.Signal(this),this._widgetRemoved=new u.Signal(this),this._area=e,this._panel.hide(),this._currentWidget=null,this._lastCurrentWidget=null,this._widgetPanel=new c.StackedPanel,this._widgetPanel.widgetRemoved.connect(this._onWidgetRemoved,this),this._closeButton=document.createElement("button"),_.closeIcon.element({container:this._closeButton,height:"16px",width:"auto"}),this._closeButton.onclick=()=>{this.collapse(),this.hide()},this._closeButton.className="jp-Button jp-SidePanel-collapse",this._closeButton.title="Collapse side panel";const t=new c.Widget({node:this._closeButton});this._panel.addWidget(t),this._panel.addWidget(this._widgetPanel)}get currentWidget(){return this._currentWidget||this._lastCurrentWidget||(this._items.length>0?this._items[0].widget:null)}get area(){return this._area}get isVisible(){return this._panel.isVisible}get panel(){return this._panel}get widgets(){return this._items.map((e=>e.widget))}get widgetAdded(){return this._widgetAdded}get widgetRemoved(){return this._widgetRemoved}get closeButton(){return this._closeButton}expand(e){e?this._currentWidget&&this._currentWidget.id===e?(this.collapse(),this.hide()):(this.collapse(),this.hide(),this.activate(e),this.show()):this.currentWidget&&(this._currentWidget=this.currentWidget,this.activate(this._currentWidget.id),this.show())}activate(e){const t=this._findWidgetByID(e);t&&(this._currentWidget=t,t.show(),t.activate())}has(e){return null!==this._findWidgetByID(e)}collapse(){var e;null===(e=this._currentWidget)||void 0===e||e.hide(),this._currentWidget=null}addWidget(e,t){e.parent=null,e.hide();const i={widget:e,rank:t},s=this._findInsertIndex(i);p.ArrayExt.insert(this._items,s,i),this._widgetPanel.insertWidget(s,e),this._refreshVisibility(),this._widgetAdded.emit(e)}hide(){this._isHiddenByUser=!0,this._refreshVisibility()}show(){this._isHiddenByUser=!1,this._refreshVisibility()}_findInsertIndex(e){return p.ArrayExt.upperBound(this._items,e,s.itemCmp)}_findWidgetIndex(e){return p.ArrayExt.findFirstIndex(this._items,(t=>t.widget===e))}_findWidgetByID(e){const t=(0,p.find)(this._items,(t=>t.widget.id===e));return t?t.widget:null}_refreshVisibility(){this._panel.setHidden(this._isHiddenByUser)}_onWidgetRemoved(e,t){t===this._lastCurrentWidget&&(this._lastCurrentWidget=null),p.ArrayExt.removeAt(this._items,this._findWidgetIndex(t)),this._refreshVisibility(),this._widgetRemoved.emit(t)}}class W{constructor(e){this._items=[],this._commandPalette=e.commandPalette,this._command=e.command}getItem(e,t){const i=this._items;for(let s=0;s<i.length;s++){const n=i[s];if(n.widgetId===e.id&&n.area===t)return n}return null}addItem(e,t){if(this.getItem(e,t))return;const i=this._commandPalette.addItem({command:this._command,category:"View",args:{side:t,title:`Show ${e.title.caption}`,id:e.id}});this._items.push({widgetId:e.id,area:t,disposable:i})}removeItem(e,t){const i=this.getItem(e,t);i&&i.disposable.dispose()}}!function(e){e.itemCmp=function(e,t){return e.rank-t.rank}}(s||(s={}));const y=new g.Token("@jupyter-notebook/application:INotebookShell");class k extends c.Widget{constructor(){super(),this._translator=h.nullTranslator,this._currentChanged=new u.Signal(this),this._mainWidgetLoaded=new g.PromiseDelegate,this.id="main",this._userLayout={},this._topHandler=new f,this._menuHandler=new f,this._leftHandler=new w("left"),this._rightHandler=new w("right"),this._main=new c.Panel;const e=this._topWrapper=new c.Panel,t=this._menuWrapper=new c.Panel;this._topHandler.panel.id="top-panel",this._topHandler.panel.node.setAttribute("role","banner"),this._menuHandler.panel.id="menu-panel",this._menuHandler.panel.node.setAttribute("role","navigation"),this._main.id="main-panel",this._main.node.setAttribute("role","main"),this._spacer_top=new c.Widget,this._spacer_top.id="spacer-widget-top",this._spacer_bottom=new c.Widget,this._spacer_bottom.id="spacer-widget-bottom",e.id="top-panel-wrapper",e.addWidget(this._topHandler.panel),t.id="menu-panel-wrapper",t.addWidget(this._menuHandler.panel);const i=new c.BoxLayout,s=this._leftHandler,n=this._rightHandler;s.panel.id="jp-left-stack",s.panel.node.setAttribute("role","complementary"),n.panel.id="jp-right-stack",n.panel.node.setAttribute("role","complementary"),s.hide(),n.hide();const r=new c.BoxLayout({spacing:0,direction:"top-to-bottom"});c.BoxLayout.setStretch(this._topWrapper,0),c.BoxLayout.setStretch(this._menuWrapper,0),c.BoxLayout.setStretch(this._main,1);const a=new c.Panel({layout:r});a.addWidget(this._topWrapper),a.addWidget(this._menuWrapper),a.addWidget(this._spacer_top),a.addWidget(this._main),a.addWidget(this._spacer_bottom),a.layout=r;const o=new c.SplitPanel;o.id="main-split-panel",o.spacing=1,c.BoxLayout.setStretch(o,1),c.SplitPanel.setStretch(s.panel,0),c.SplitPanel.setStretch(n.panel,0),c.SplitPanel.setStretch(a,1),o.addWidget(s.panel),o.addWidget(a),o.addWidget(n.panel),o.setRelativeSizes([1,2.5,1]),i.spacing=0,i.addWidget(o),this.layout=i;const d=this._skipLinkWidgetHandler=new v.SkipLinkWidgetHandler(this);this.add(d.skipLinkWidget,"top",{rank:0}),this._skipLinkWidgetHandler.show()}get currentChanged(){return this._currentChanged}get currentWidget(){var e;return null!==(e=this._main.widgets[0])&&void 0!==e?e:null}get top(){return this._topWrapper}get menu(){return this._menuWrapper}get leftHandler(){return this._leftHandler}get rightHandler(){return this._rightHandler}get leftCollapsed(){return!(this._leftHandler.isVisible&&this._leftHandler.panel.isVisible)}get rightCollapsed(){return!(this._rightHandler.isVisible&&this._rightHandler.panel.isVisible)}get restored(){return this._mainWidgetLoaded.promise}get translator(){var e;return null!==(e=this._translator)&&void 0!==e?e:h.nullTranslator}set translator(e){if(e!==this._translator){this._translator=e;const t=e.load("notebook");this._leftHandler.closeButton.title=t.__("Collapse %1 side panel",this._leftHandler.area),this._rightHandler.closeButton.title=t.__("Collapse %1 side panel",this._rightHandler.area)}}get userLayout(){return g.JSONExt.deepCopy(this._userLayout)}activateById(e){for(const t of["main","top","left","right","menu"]){const i=(0,p.find)(this.widgets(t),(t=>t.id===e));i&&("left"===t?this.expandLeft(e):"right"===t?this.expandRight(e):i.activate())}}add(e,t,i){var s,n;let r;r=(null==i?void 0:i.type)&&this._userLayout[i.type]?this._userLayout[i.type]:this._userLayout[e.id],t=null!==(s=null==r?void 0:r.area)&&void 0!==s?s:t;const a=null!==(n=null==(i=i||(null==r?void 0:r.options)?{...i,...null==r?void 0:r.options}:void 0)?void 0:i.rank)&&void 0!==n?n:900;switch(t){case"top":return this._topHandler.addWidget(e,a);case"menu":return this._menuHandler.addWidget(e,a);case"main":case void 0:{if(this._main.widgets.length>0)return;const t=this.currentWidget;this._main.addWidget(e),this._main.update(),this._currentChanged.emit({newValue:e,oldValue:t}),this._mainWidgetLoaded.resolve();break}case"left":return this._leftHandler.addWidget(e,a);case"right":return this._rightHandler.addWidget(e,a);default:console.warn(`Cannot add widget to area: ${t}`)}}collapseTop(){this._topWrapper.setHidden(!0),this._spacer_top.setHidden(!0)}expandTop(){this._topWrapper.setHidden(!1),this._spacer_top.setHidden(!1)}*widgets(e){switch(null!=e?e:"main"){case"top":return void(yield*this._topHandler.panel.widgets);case"menu":return void(yield*this._menuHandler.panel.widgets);case"main":return void(yield*this._main.widgets);case"left":return void(yield*this._leftHandler.widgets);case"right":return void(yield*this._rightHandler.widgets);default:return void console.error(`This shell has no area called "${e}"`)}}expandLeft(e){this._leftHandler.panel.show(),this._leftHandler.expand(e)}collapseLeft(){this._leftHandler.collapse(),this._leftHandler.panel.hide()}expandRight(e){this._rightHandler.panel.show(),this._rightHandler.expand(e)}collapseRight(){this._rightHandler.collapse(),this._rightHandler.panel.hide()}async restoreLayout(e){this._userLayout=e}}var v,b;!function(e){e.SkipLinkWidgetHandler=class{constructor(e){this._isDisposed=!1;const t=this._skipLinkWidget=new c.Widget,i=document.createElement("a");i.href="#first-cell",i.tabIndex=1,i.text="Skip to Main",i.className="skip-link",i.addEventListener("click",this),t.addClass("jp-skiplink"),t.id="jp-skiplink",t.node.appendChild(i)}handleEvent(e){"click"===e.type&&this._focusMain()}_focusMain(){const e=document.querySelector("#main-panel .jp-InputArea-editor");e.tabIndex=1,e.focus()}get skipLinkWidget(){return this._skipLinkWidget}dispose(){this.isDisposed||(this._isDisposed=!0,this._skipLinkWidget.node.removeEventListener("click",this),this._skipLinkWidget.dispose())}hide(){this._skipLinkWidget.hide()}show(){this._skipLinkWidget.show()}get isDisposed(){return this._isDisposed}}}(v||(v={}));class H extends n.JupyterFrontEnd{constructor(e={shell:new k}){var t,i;if(super({...e,shell:null!==(t=e.shell)&&void 0!==t?t:new k}),this.name="Jupyter Notebook",this.namespace=this.name,this.status=new o.J(this),this.version=null!==(i=d.PageConfig.getOption("appVersion"))&&void 0!==i?i:"unknown",this._info=n.JupyterLab.defaultInfo,this._formatter=new l.Throttler((()=>{b.setFormat(this)}),250),this.docRegistry.addModelFactory(new r.Base64ModelFactory),e.mimeExtensions)for(const t of(0,a.as)(e.mimeExtensions))this.registerPlugin(t);const s=Object.keys(n.JupyterLab.defaultInfo).reduce(((t,i)=>(i in e&&(t[i]=JSON.parse(JSON.stringify(e[i]))),t)),{});this._info={...n.JupyterLab.defaultInfo,...s},this.restored=this.shell.restored,this.restored.then((()=>this._formatter.invoke()))}get info(){return this._info}get paths(){return{urls:{base:d.PageConfig.getOption("baseUrl"),notFound:d.PageConfig.getOption("notFoundUrl"),app:d.PageConfig.getOption("appUrl"),static:d.PageConfig.getOption("staticUrl"),settings:d.PageConfig.getOption("settingsUrl"),themes:d.PageConfig.getOption("themesUrl"),doc:d.PageConfig.getOption("docUrl"),translations:d.PageConfig.getOption("translationsApiUrl"),hubHost:d.PageConfig.getOption("hubHost")||void 0,hubPrefix:d.PageConfig.getOption("hubPrefix")||void 0,hubUser:d.PageConfig.getOption("hubUser")||void 0,hubServerName:d.PageConfig.getOption("hubServerName")||void 0},directories:{appSettings:d.PageConfig.getOption("appSettingsDir"),schemas:d.PageConfig.getOption("schemasDir"),static:d.PageConfig.getOption("staticDir"),templates:d.PageConfig.getOption("templatesDir"),themes:d.PageConfig.getOption("themesDir"),userSettings:d.PageConfig.getOption("userSettingsDir"),serverRoot:d.PageConfig.getOption("serverRoot"),workspaces:d.PageConfig.getOption("workspacesDir")}}}handleEvent(e){super.handleEvent(e),"resize"===e.type&&this._formatter.invoke()}registerPluginModule(e){let t=e.default;Object.prototype.hasOwnProperty.call(e,"__esModule")||(t=e),Array.isArray(t)||(t=[t]),t.forEach((e=>{try{this.registerPlugin(e)}catch(e){console.error(e)}}))}registerPluginModules(e){e.forEach((e=>{this.registerPluginModule(e)}))}}!function(e){e.setFormat=function(e){e.format=window.matchMedia("only screen and (max-width: 760px)").matches?"mobile":"desktop"}}(b||(b={}));const P=new class{open(e){const{prefix:t,path:i,searchParams:s,target:n,features:r}=e,a=new URL(d.URLExt.join(t,null!=i?i:""),window.location.origin);return s&&(a.search=s.toString()),window.open(a,n,r)}},C=new g.Token("@jupyter-notebook/application:INotebookPathOpener")}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_jupyter_notebook_lab_extension=self.webpackChunk_jupyter_notebook_lab_extension||[]).push([[600],{30:(e,t,i)=>{i.r(t),i.d(t,{INotebookPathOpener:()=>C,INotebookShell:()=>y,NotebookApp:()=>H,NotebookShell:()=>k,PanelHandler:()=>f,Private:()=>v,SidePanelHandler:()=>w,SidePanelPalette:()=>W,defaultNotebookPathOpener:()=>P});var s,n=i(400),r=i(978),a=i(950),o=i(448),d=i(17),l=i(797),h=i(462),p=i(697),g=i(930),u=i(901),c=i(882),_=i(108),m=i(633);class f{constructor(){this._panelChildHook=(e,t)=>{if("child-removed"===t.type){const e=t.child;p.ArrayExt.removeFirstWhere(this._items,(t=>t.widget===e))}return!0},this._items=new Array,this._panel=new c.Panel,m.MessageLoop.installMessageHook(this._panel,this._panelChildHook)}get panel(){return this._panel}addWidget(e,t){e.parent=null;const i={widget:e,rank:t},n=p.ArrayExt.upperBound(this._items,i,s.itemCmp);p.ArrayExt.insert(this._items,n,i),this._panel.insertWidget(n,e)}}class w extends f{constructor(e){super(),this._isHiddenByUser=!1,this._widgetAdded=new u.Signal(this),this._widgetRemoved=new u.Signal(this),this._area=e,this._panel.hide(),this._currentWidget=null,this._lastCurrentWidget=null,this._widgetPanel=new c.StackedPanel,this._widgetPanel.widgetRemoved.connect(this._onWidgetRemoved,this),this._closeButton=document.createElement("button"),_.closeIcon.element({container:this._closeButton,height:"16px",width:"auto"}),this._closeButton.onclick=()=>{this.collapse(),this.hide()},this._closeButton.className="jp-Button jp-SidePanel-collapse",this._closeButton.title="Collapse side panel";const t=new c.Widget({node:this._closeButton});this._panel.addWidget(t),this._panel.addWidget(this._widgetPanel)}get currentWidget(){return this._currentWidget||this._lastCurrentWidget||(this._items.length>0?this._items[0].widget:null)}get area(){return this._area}get isVisible(){return this._panel.isVisible}get panel(){return this._panel}get widgets(){return this._items.map((e=>e.widget))}get widgetAdded(){return this._widgetAdded}get widgetRemoved(){return this._widgetRemoved}get closeButton(){return this._closeButton}expand(e){e?this._currentWidget&&this._currentWidget.id===e?(this.collapse(),this.hide()):(this.collapse(),this.hide(),this.activate(e),this.show()):this.currentWidget&&(this._currentWidget=this.currentWidget,this.activate(this._currentWidget.id),this.show())}activate(e){const t=this._findWidgetByID(e);t&&(this._currentWidget=t,t.show(),t.activate())}has(e){return null!==this._findWidgetByID(e)}collapse(){var e;null===(e=this._currentWidget)||void 0===e||e.hide(),this._currentWidget=null}addWidget(e,t){e.parent=null,e.hide();const i={widget:e,rank:t},s=this._findInsertIndex(i);p.ArrayExt.insert(this._items,s,i),this._widgetPanel.insertWidget(s,e),this._refreshVisibility(),this._widgetAdded.emit(e)}hide(){this._isHiddenByUser=!0,this._refreshVisibility()}show(){this._isHiddenByUser=!1,this._refreshVisibility()}_findInsertIndex(e){return p.ArrayExt.upperBound(this._items,e,s.itemCmp)}_findWidgetIndex(e){return p.ArrayExt.findFirstIndex(this._items,(t=>t.widget===e))}_findWidgetByID(e){const t=(0,p.find)(this._items,(t=>t.widget.id===e));return t?t.widget:null}_refreshVisibility(){this._panel.setHidden(this._isHiddenByUser)}_onWidgetRemoved(e,t){t===this._lastCurrentWidget&&(this._lastCurrentWidget=null),p.ArrayExt.removeAt(this._items,this._findWidgetIndex(t)),this._refreshVisibility(),this._widgetRemoved.emit(t)}}class W{constructor(e){this._items=[],this._commandPalette=e.commandPalette,this._command=e.command}getItem(e,t){const i=this._items;for(let s=0;s<i.length;s++){const n=i[s];if(n.widgetId===e.id&&n.area===t)return n}return null}addItem(e,t){if(this.getItem(e,t))return;const i=this._commandPalette.addItem({command:this._command,category:"View",args:{side:t,title:`Show ${e.title.caption}`,id:e.id}});this._items.push({widgetId:e.id,area:t,disposable:i})}removeItem(e,t){const i=this.getItem(e,t);i&&i.disposable.dispose()}}!function(e){e.itemCmp=function(e,t){return e.rank-t.rank}}(s||(s={}));const y=new g.Token("@jupyter-notebook/application:INotebookShell");class k extends c.Widget{constructor(){super(),this._translator=h.nullTranslator,this._currentChanged=new u.Signal(this),this._mainWidgetLoaded=new g.PromiseDelegate,this.id="main",this._userLayout={},this._topHandler=new f,this._menuHandler=new f,this._leftHandler=new w("left"),this._rightHandler=new w("right"),this._main=new c.Panel;const e=this._topWrapper=new c.Panel,t=this._menuWrapper=new c.Panel;this._topHandler.panel.id="top-panel",this._topHandler.panel.node.setAttribute("role","banner"),this._menuHandler.panel.id="menu-panel",this._menuHandler.panel.node.setAttribute("role","navigation"),this._main.id="main-panel",this._main.node.setAttribute("role","main"),this._spacer_top=new c.Widget,this._spacer_top.id="spacer-widget-top",this._spacer_bottom=new c.Widget,this._spacer_bottom.id="spacer-widget-bottom",e.id="top-panel-wrapper",e.addWidget(this._topHandler.panel),t.id="menu-panel-wrapper",t.addWidget(this._menuHandler.panel);const i=new c.BoxLayout,s=this._leftHandler,n=this._rightHandler;s.panel.id="jp-left-stack",s.panel.node.setAttribute("role","complementary"),n.panel.id="jp-right-stack",n.panel.node.setAttribute("role","complementary"),s.hide(),n.hide();const r=new c.BoxLayout({spacing:0,direction:"top-to-bottom"});c.BoxLayout.setStretch(this._topWrapper,0),c.BoxLayout.setStretch(this._menuWrapper,0),c.BoxLayout.setStretch(this._main,1);const a=new c.Panel({layout:r});a.addWidget(this._topWrapper),a.addWidget(this._menuWrapper),a.addWidget(this._spacer_top),a.addWidget(this._main),a.addWidget(this._spacer_bottom),a.layout=r;const o=new c.SplitPanel;o.id="main-split-panel",o.spacing=1,c.BoxLayout.setStretch(o,1),c.SplitPanel.setStretch(s.panel,0),c.SplitPanel.setStretch(n.panel,0),c.SplitPanel.setStretch(a,1),o.addWidget(s.panel),o.addWidget(a),o.addWidget(n.panel),o.setRelativeSizes([1,2.5,1]),i.spacing=0,i.addWidget(o),this.layout=i;const d=this._skipLinkWidgetHandler=new v.SkipLinkWidgetHandler(this);this.add(d.skipLinkWidget,"top",{rank:0}),this._skipLinkWidgetHandler.show()}get currentChanged(){return this._currentChanged}get currentWidget(){var e;return null!==(e=this._main.widgets[0])&&void 0!==e?e:null}get top(){return this._topWrapper}get menu(){return this._menuWrapper}get leftHandler(){return this._leftHandler}get rightHandler(){return this._rightHandler}get leftCollapsed(){return!(this._leftHandler.isVisible&&this._leftHandler.panel.isVisible)}get rightCollapsed(){return!(this._rightHandler.isVisible&&this._rightHandler.panel.isVisible)}get restored(){return this._mainWidgetLoaded.promise}get translator(){var e;return null!==(e=this._translator)&&void 0!==e?e:h.nullTranslator}set translator(e){if(e!==this._translator){this._translator=e;const t=e.load("notebook");this._leftHandler.closeButton.title=t.__("Collapse %1 side panel",this._leftHandler.area),this._rightHandler.closeButton.title=t.__("Collapse %1 side panel",this._rightHandler.area)}}get userLayout(){return g.JSONExt.deepCopy(this._userLayout)}activateById(e){for(const t of["main","top","left","right","menu"]){const i=(0,p.find)(this.widgets(t),(t=>t.id===e));i&&("left"===t?this.expandLeft(e):"right"===t?this.expandRight(e):i.activate())}}add(e,t,i){var s,n;let r;r=(null==i?void 0:i.type)&&this._userLayout[i.type]?this._userLayout[i.type]:this._userLayout[e.id],t=null!==(s=null==r?void 0:r.area)&&void 0!==s?s:t;const a=null!==(n=null==(i=i||(null==r?void 0:r.options)?{...i,...null==r?void 0:r.options}:void 0)?void 0:i.rank)&&void 0!==n?n:900;switch(t){case"top":return this._topHandler.addWidget(e,a);case"menu":return this._menuHandler.addWidget(e,a);case"main":case void 0:{if(this._main.widgets.length>0)return;const t=this.currentWidget;this._main.addWidget(e),this._main.update(),this._currentChanged.emit({newValue:e,oldValue:t}),this._mainWidgetLoaded.resolve();break}case"left":return this._leftHandler.addWidget(e,a);case"right":return this._rightHandler.addWidget(e,a);default:console.warn(`Cannot add widget to area: ${t}`)}}collapseTop(){this._topWrapper.setHidden(!0),this._spacer_top.setHidden(!0)}expandTop(){this._topWrapper.setHidden(!1),this._spacer_top.setHidden(!1)}*widgets(e){switch(null!=e?e:"main"){case"top":return void(yield*this._topHandler.panel.widgets);case"menu":return void(yield*this._menuHandler.panel.widgets);case"main":return void(yield*this._main.widgets);case"left":return void(yield*this._leftHandler.widgets);case"right":return void(yield*this._rightHandler.widgets);default:return void console.error(`This shell has no area called "${e}"`)}}expandLeft(e){this._leftHandler.panel.show(),this._leftHandler.expand(e)}collapseLeft(){this._leftHandler.collapse(),this._leftHandler.panel.hide()}expandRight(e){this._rightHandler.panel.show(),this._rightHandler.expand(e)}collapseRight(){this._rightHandler.collapse(),this._rightHandler.panel.hide()}async restoreLayout(e){this._userLayout=e}}var v,b;!function(e){e.SkipLinkWidgetHandler=class{constructor(e){this._isDisposed=!1;const t=this._skipLinkWidget=new c.Widget,i=document.createElement("a");i.href="#first-cell",i.tabIndex=1,i.text="Skip to Main",i.className="skip-link",i.addEventListener("click",this),t.addClass("jp-skiplink"),t.id="jp-skiplink",t.node.appendChild(i)}handleEvent(e){"click"===e.type&&this._focusMain()}_focusMain(){const e=document.querySelector("#main-panel .jp-InputArea-editor");e.tabIndex=1,e.focus()}get skipLinkWidget(){return this._skipLinkWidget}dispose(){this.isDisposed||(this._isDisposed=!0,this._skipLinkWidget.node.removeEventListener("click",this),this._skipLinkWidget.dispose())}hide(){this._skipLinkWidget.hide()}show(){this._skipLinkWidget.show()}get isDisposed(){return this._isDisposed}}}(v||(v={}));class H extends n.JupyterFrontEnd{constructor(e={shell:new k}){var t,i;if(super({...e,shell:null!==(t=e.shell)&&void 0!==t?t:new k}),this.name="Jupyter Notebook",this.namespace=this.name,this.status=new o.J(this),this.version=null!==(i=d.PageConfig.getOption("appVersion"))&&void 0!==i?i:"unknown",this._info=n.JupyterLab.defaultInfo,this._formatter=new l.Throttler((()=>{b.setFormat(this)}),250),this.docRegistry.addModelFactory(new r.Base64ModelFactory),e.mimeExtensions)for(const t of(0,a.as)(e.mimeExtensions))this.registerPlugin(t);const s=Object.keys(n.JupyterLab.defaultInfo).reduce(((t,i)=>(i in e&&(t[i]=JSON.parse(JSON.stringify(e[i]))),t)),{});this._info={...n.JupyterLab.defaultInfo,...s},this.restored=this.shell.restored,this.restored.then((()=>this._formatter.invoke()))}get info(){return this._info}get paths(){return{urls:{base:d.PageConfig.getOption("baseUrl"),notFound:d.PageConfig.getOption("notFoundUrl"),app:d.PageConfig.getOption("appUrl"),static:d.PageConfig.getOption("staticUrl"),settings:d.PageConfig.getOption("settingsUrl"),themes:d.PageConfig.getOption("themesUrl"),doc:d.PageConfig.getOption("docUrl"),translations:d.PageConfig.getOption("translationsApiUrl"),hubHost:d.PageConfig.getOption("hubHost")||void 0,hubPrefix:d.PageConfig.getOption("hubPrefix")||void 0,hubUser:d.PageConfig.getOption("hubUser")||void 0,hubServerName:d.PageConfig.getOption("hubServerName")||void 0},directories:{appSettings:d.PageConfig.getOption("appSettingsDir"),schemas:d.PageConfig.getOption("schemasDir"),static:d.PageConfig.getOption("staticDir"),templates:d.PageConfig.getOption("templatesDir"),themes:d.PageConfig.getOption("themesDir"),userSettings:d.PageConfig.getOption("userSettingsDir"),serverRoot:d.PageConfig.getOption("serverRoot"),workspaces:d.PageConfig.getOption("workspacesDir")}}}handleEvent(e){super.handleEvent(e),"resize"===e.type&&this._formatter.invoke()}registerPluginModule(e){let t=e.default;Object.prototype.hasOwnProperty.call(e,"__esModule")||(t=e),Array.isArray(t)||(t=[t]),t.forEach((e=>{try{this.registerPlugin(e)}catch(e){console.error(e)}}))}registerPluginModules(e){e.forEach((e=>{this.registerPluginModule(e)}))}}!function(e){e.setFormat=function(e){e.format=window.matchMedia("only screen and (max-width: 760px)").matches?"mobile":"desktop"}}(b||(b={}));const P=new class{open(e){const{prefix:t,path:i,searchParams:s,target:n,features:r}=e,a=new URL(d.URLExt.join(t,null!=i?i:""),window.location.origin);return s&&(a.search=s.toString()),window.open(a,n,r)}},C=new g.Token("@jupyter-notebook/application:INotebookPathOpener")}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_jupyter_notebook_lab_extension=self.webpackChunk_jupyter_notebook_lab_extension||[]).push([[928],{950:(t,e,r)=>{r.d(e,{as:()=>p});var n=r(212),i=r(978),a=r(752),o=r(462),s=r(108),c=r(930),d=r(4);const u=new c.Token("@jupyterlab/application:ILayoutRestorer","A service providing application layout restoration functionality. Use this to have your activities restored across page loads.");var y;!function(t){function e(r){return r&&r.type?"tab-area"===r.type?{type:"tab-area",currentIndex:r.currentIndex,widgets:r.widgets.map((e=>t.nameProperty.get(e))).filter((t=>!!t))}:{type:"split-area",orientation:r.orientation,sizes:r.sizes,children:r.children.map(e).filter((t=>!!t))}:null}function r(t,e){if(!t)return null;const n=t.type||"unknown";if("unknown"===n||"tab-area"!==n&&"split-area"!==n)return console.warn(`Attempted to deserialize unknown type: ${n}`),null;if("tab-area"===n){const{currentIndex:r,widgets:n}=t,i={type:"tab-area",currentIndex:r||0,widgets:n&&n.map((t=>e.get(t))).filter((t=>!!t))||[]};return i.currentIndex>i.widgets.length-1&&(i.currentIndex=0),i}const{orientation:i,sizes:a,children:o}=t;return{type:"split-area",orientation:i,sizes:a||[],children:o&&o.map((t=>r(t,e))).filter((t=>!!t))||[]}}t.nameProperty=new d.AttachedProperty({name:"name",create:t=>""}),t.serializeMain=function(r){const n={dock:r&&r.dock&&e(r.dock.main)||null};if(r&&r.currentWidget){const e=t.nameProperty.get(r.currentWidget);e&&(n.current=e)}return n},t.deserializeMain=function(t,e){if(!t)return null;const n=t.current||null,i=t.dock||null;return{currentWidget:n&&e.has(n)&&e.get(n)||null,dock:i?{main:r(i,e)}:null}}}(y||(y={}));const l=new c.Token("@jupyterlab/application:IMimeDocumentTracker","A widget tracker for documents rendered using a mime renderer extension. Use this if you want to list and interact with documents rendered by such extensions.");function p(t){const e=[],r=new n.WidgetTracker({namespace:"application-mimedocuments"});return t.forEach((t=>{let n=t.default;t.hasOwnProperty("__esModule")||(n=t),Array.isArray(n)||(n=[n]),n.forEach((t=>{e.push(function(t,e){return{id:e.id,description:e.description,requires:[a.IRenderMimeRegistry,o.ITranslator],autoStart:!0,activate:(r,n,a)=>{if(void 0!==e.rank?n.addFactory(e.rendererFactory,e.rank):n.addFactory(e.rendererFactory),!e.documentWidgetFactoryOptions)return;const o=r.docRegistry;let c=[];c=Array.isArray(e.documentWidgetFactoryOptions)?e.documentWidgetFactoryOptions:[e.documentWidgetFactoryOptions],e.fileTypes&&e.fileTypes.forEach((t=>{t.icon&&(t={...t,icon:s.LabIcon.resolve({icon:t.icon})}),r.docRegistry.addFileType(t)})),c.forEach((r=>{const s=r.toolbarFactory?t=>r.toolbarFactory(t.content.renderer):void 0,c=new i.MimeDocumentFactory({renderTimeout:e.renderTimeout,dataType:e.dataType,rendermime:n,modelName:r.modelName,name:r.name,primaryFileType:o.getFileType(r.primaryFileType),fileTypes:r.fileTypes,defaultFor:r.defaultFor,defaultRendered:r.defaultRendered,toolbarFactory:s,translator:a,factory:e.rendererFactory});o.addWidgetFactory(c),c.widgetCreated.connect(((e,r)=>{m.factoryNameProperty.set(r,c.name),r.context.pathChanged.connect((()=>{t.save(r)})),t.add(r)}))}))}}}(r,t))}))})),e.push({id:"@jupyterlab/application:mimedocument",description:"Provides a mime document widget tracker.",optional:[u],provides:l,autoStart:!0,activate:(t,e)=>(e&&e.restore(r,{command:"docmanager:open",args:t=>({path:t.context.path,factory:m.factoryNameProperty.get(t)}),name:t=>`${t.context.path}:${m.factoryNameProperty.get(t)}`}),r)}),e}var m;!function(t){t.factoryNameProperty=new d.AttachedProperty({name:"factoryName",create:()=>{}})}(m||(m={}))},448:(t,e,r)=>{r.d(e,{J:()=>a});var n=r(717),i=r(901);class a{constructor(t){this._busyCount=0,this._dirtyCount=0,this._busySignal=new i.Signal(t),this._dirtySignal=new i.Signal(t)}get busySignal(){return this._busySignal}get dirtySignal(){return this._dirtySignal}get isBusy(){return this._busyCount>0}get isDirty(){return this._dirtyCount>0}setDirty(){const t=this.isDirty;return this._dirtyCount++,this.isDirty!==t&&this._dirtySignal.emit(this.isDirty),new n.DisposableDelegate((()=>{const t=this.isDirty;this._dirtyCount=Math.max(0,this._dirtyCount-1),this.isDirty!==t&&this._dirtySignal.emit(this.isDirty)}))}setBusy(){const t=this.isBusy;return this._busyCount++,this.isBusy!==t&&this._busySignal.emit(this.isBusy),new n.DisposableDelegate((()=>{const t=this.isBusy;this._busyCount--,this.isBusy!==t&&this._busySignal.emit(this.isBusy)}))}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _JUPYTERLAB;(()=>{"use strict";var e,r,t,o,n,a,i,l,u,s,f,d,p,c,h,b,v,m,g,y,j,w,k,S={215:(e,r,t)=>{var o={"./index":()=>Promise.all([t.e(631),t.e(568)]).then((()=>()=>t(568))),"./extension":()=>Promise.all([t.e(631),t.e(568)]).then((()=>()=>t(568))),"./style":()=>t.e(93).then((()=>()=>t(93)))},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})}},P={};function x(e){var r=P[e];if(void 0!==r)return r.exports;var t=P[e]={id:e,exports:{}};return S[e](t,t.exports,x),t.exports}x.m=S,x.c=P,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+"."+{93:"eae3497dd223d842d198",568:"45e1d3167710e94c3d26",600:"25341cef1598f2727482",631:"358a93f2b3e20c86895b",928:"b94c92715d631efb4a8f"}[e]+".js?v="+{93:"eae3497dd223d842d198",568:"45e1d3167710e94c3d26",600:"25341cef1598f2727482",631:"358a93f2b3e20c86895b",928:"b94c92715d631efb4a8f"}[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-notebook/lab-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-notebook/lab-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-notebook/application","7.3.0-alpha.1",(()=>Promise.all([x.e(928),x.e(600),x.e(631)]).then((()=>()=>x(30))))),l("@jupyter-notebook/lab-extension","7.3.0-alpha.1",(()=>Promise.all([x.e(631),x.e(568)]).then((()=>()=>x(568)))))),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&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&!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 h=e[i];p.push(1==h?c()|c():2==h?c()&c():h?a(h,r):!c())}return!!c()},i=(e,r)=>{var t=x.S[e];if(!t||!x.o(t,r))throw new Error("Shared module "+r+" doesn't exist in shared scope "+e);return t},l=(e,r)=>{var t=e[r];return(r=Object.keys(t).reduce(((e,r)=>!e||o(e,r)?r:e),0))&&t[r]},u=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&o(e,r)?r:e),0)},s=(e,r,t,o)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+n(o)+")",f=(e,r,t,o)=>{var n=u(e,t);return a(o,n)||c(s(e,t,n,o)),b(e[t][n])},d=(e,r,t)=>{var n=e[r];return(r=Object.keys(n).reduce(((e,r)=>!a(t,r)||e&&!o(e,r)?e:r),0))&&n[r]},p=(e,r,t,o)=>{var a=e[t];return"No satisfying version ("+n(o)+") of shared module "+t+" found in shared scope "+r+".\nAvailable versions: "+Object.keys(a).map((e=>e+" from "+a[e].from)).join(", ")},c=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},h=(e,r,t,o)=>{c(p(e,r,t,o))},b=e=>(e.loaded=1,e.get()),m=(v=e=>function(r,t,o,n){var a=x.I(r);return a&&a.then?a.then(e.bind(e,r,x.S[r],t,o,n)):e(r,x.S[r],t,o,n)})(((e,r,t,o)=>(i(e,t),b(d(r,t,o)||h(r,e,t,o)||l(r,t))))),g=v(((e,r,t,o)=>(i(e,t),f(r,0,t,o)))),y=v(((e,r,t,o,n)=>{var a=r&&x.o(r,t)&&d(r,t,o);return a?b(a):n()})),j={},w={17:()=>g("default","@jupyterlab/coreutils",[1,6,3,0,,"alpha",1]),108:()=>g("default","@jupyterlab/ui-components",[1,4,3,0,,"alpha",1]),212:()=>g("default","@jupyterlab/apputils",[1,4,4,0,,"alpha",1]),400:()=>g("default","@jupyterlab/application",[1,4,3,0,,"alpha",1]),462:()=>g("default","@jupyterlab/translation",[1,4,3,0,,"alpha",1]),882:()=>g("default","@lumino/widgets",[1,2,3,1,,"alpha",0]),174:()=>g("default","@jupyterlab/notebook",[1,4,3,0,,"alpha",1]),818:()=>y("default","@jupyter-notebook/application",[1,7,3,0,,"alpha",1],(()=>Promise.all([x.e(928),x.e(600)]).then((()=>()=>x(30))))),4:()=>g("default","@lumino/properties",[1,2,0,0]),633:()=>g("default","@lumino/messaging",[1,2,0,0]),697:()=>g("default","@lumino/algorithm",[1,2,0,0]),717:()=>g("default","@lumino/disposable",[1,2,0,0]),752:()=>g("default","@jupyterlab/rendermime",[1,4,3,0,,"alpha",1]),797:()=>g("default","@lumino/polling",[1,2,0,0]),901:()=>g("default","@lumino/signaling",[1,2,0,0]),930:()=>g("default","@lumino/coreutils",[1,2,0,0]),978:()=>m("default","@jupyterlab/docregistry",[1,4,3,0,,"alpha",1])},k={568:[174,818],600:[4,633,697,717,752,797,901,930,978],631:[17,108,212,400,462,882]},x.f.consumes=(e,r)=>{x.o(k,e)&&k[e].forEach((e=>{if(x.o(j,e))return r.push(j[e]);var t=r=>{j[e]=0,x.m[e]=t=>{delete x.c[e],t.exports=r()}},o=r=>{delete j[e],x.m[e]=t=>{throw delete x.c[e],r}};try{var n=w[e]();n.then?r.push(j[e]=n.then(t).catch(o)):t(n)}catch(e){o(e)}}))},(()=>{var e={572: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(631!=r){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)}else e[r]=0};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_notebook_lab_extension=self.webpackChunk_jupyter_notebook_lab_extension||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),x.nc=void 0;var E=x(215);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["@jupyter-notebook/lab-extension"]=E})();
|
{notebook-7.3.0a0 → notebook-7.3.0a1}/notebook/labextension/static/third-party-licenses.json
RENAMED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"packages": [
|
|
3
3
|
{
|
|
4
4
|
"name": "@jupyter-notebook/application",
|
|
5
|
-
"versionInfo": "7.3.0-alpha.
|
|
5
|
+
"versionInfo": "7.3.0-alpha.1",
|
|
6
6
|
"licenseId": "BSD-3-Clause",
|
|
7
7
|
"extractedText": ""
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
"name": "@jupyterlab/application",
|
|
11
|
-
"versionInfo": "4.3.0-alpha.
|
|
11
|
+
"versionInfo": "4.3.0-alpha.1",
|
|
12
12
|
"licenseId": "BSD-3-Clause",
|
|
13
13
|
"extractedText": ""
|
|
14
14
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter-notebook/application-extension",
|
|
3
|
-
"version": "7.3.0-alpha.
|
|
3
|
+
"version": "7.3.0-alpha.1",
|
|
4
4
|
"description": "Jupyter Notebook - Application Extension",
|
|
5
5
|
"homepage": "https://github.com/jupyter/notebook",
|
|
6
6
|
"bugs": {
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
"watch": "tsc -b --watch"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@jupyter-notebook/application": "^7.3.0-alpha.
|
|
42
|
-
"@jupyter-notebook/ui-components": "^7.3.0-alpha.
|
|
43
|
-
"@jupyterlab/application": "~4.3.0-alpha.
|
|
44
|
-
"@jupyterlab/apputils": "~4.4.0-alpha.
|
|
45
|
-
"@jupyterlab/codeeditor": "~4.3.0-alpha.
|
|
46
|
-
"@jupyterlab/console": "~4.3.0-alpha.
|
|
47
|
-
"@jupyterlab/coreutils": "~6.3.0-alpha.
|
|
48
|
-
"@jupyterlab/docmanager": "~4.3.0-alpha.
|
|
49
|
-
"@jupyterlab/docregistry": "~4.3.0-alpha.
|
|
50
|
-
"@jupyterlab/mainmenu": "~4.3.0-alpha.
|
|
51
|
-
"@jupyterlab/rendermime": "~4.3.0-alpha.
|
|
52
|
-
"@jupyterlab/settingregistry": "~4.3.0-alpha.
|
|
53
|
-
"@jupyterlab/translation": "~4.3.0-alpha.
|
|
41
|
+
"@jupyter-notebook/application": "^7.3.0-alpha.1",
|
|
42
|
+
"@jupyter-notebook/ui-components": "^7.3.0-alpha.1",
|
|
43
|
+
"@jupyterlab/application": "~4.3.0-alpha.1",
|
|
44
|
+
"@jupyterlab/apputils": "~4.4.0-alpha.1",
|
|
45
|
+
"@jupyterlab/codeeditor": "~4.3.0-alpha.1",
|
|
46
|
+
"@jupyterlab/console": "~4.3.0-alpha.1",
|
|
47
|
+
"@jupyterlab/coreutils": "~6.3.0-alpha.1",
|
|
48
|
+
"@jupyterlab/docmanager": "~4.3.0-alpha.1",
|
|
49
|
+
"@jupyterlab/docregistry": "~4.3.0-alpha.1",
|
|
50
|
+
"@jupyterlab/mainmenu": "~4.3.0-alpha.1",
|
|
51
|
+
"@jupyterlab/rendermime": "~4.3.0-alpha.1",
|
|
52
|
+
"@jupyterlab/settingregistry": "~4.3.0-alpha.1",
|
|
53
|
+
"@jupyterlab/translation": "~4.3.0-alpha.1",
|
|
54
54
|
"@lumino/coreutils": "^2.1.2",
|
|
55
55
|
"@lumino/disposable": "^2.1.2",
|
|
56
56
|
"@lumino/widgets": "^2.3.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter-notebook/documentsearch-extension",
|
|
3
|
-
"version": "7.3.0-alpha.
|
|
3
|
+
"version": "7.3.0-alpha.1",
|
|
4
4
|
"description": "Jupyter Notebook - Document Search Extension",
|
|
5
5
|
"homepage": "https://github.com/jupyter/notebook",
|
|
6
6
|
"bugs": {
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"watch": "tsc -b --watch"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@jupyter-notebook/application": "^7.3.0-alpha.
|
|
42
|
-
"@jupyterlab/application": "~4.3.0-alpha.
|
|
43
|
-
"@jupyterlab/documentsearch": "~4.3.0-alpha.
|
|
41
|
+
"@jupyter-notebook/application": "^7.3.0-alpha.1",
|
|
42
|
+
"@jupyterlab/application": "~4.3.0-alpha.1",
|
|
43
|
+
"@jupyterlab/documentsearch": "~4.3.0-alpha.1",
|
|
44
44
|
"@lumino/widgets": "^2.3.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter-notebook/help-extension",
|
|
3
|
-
"version": "7.3.0-alpha.
|
|
3
|
+
"version": "7.3.0-alpha.1",
|
|
4
4
|
"description": "Jupyter Notebook - Help Extension",
|
|
5
5
|
"homepage": "https://github.com/jupyter/notebook",
|
|
6
6
|
"bugs": {
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"watch": "tsc -b --watch"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@jupyter-notebook/ui-components": "^7.3.0-alpha.
|
|
42
|
-
"@jupyterlab/application": "~4.3.0-alpha.
|
|
43
|
-
"@jupyterlab/apputils": "~4.4.0-alpha.
|
|
44
|
-
"@jupyterlab/mainmenu": "~4.3.0-alpha.
|
|
45
|
-
"@jupyterlab/translation": "~4.3.0-alpha.
|
|
41
|
+
"@jupyter-notebook/ui-components": "^7.3.0-alpha.1",
|
|
42
|
+
"@jupyterlab/application": "~4.3.0-alpha.1",
|
|
43
|
+
"@jupyterlab/apputils": "~4.4.0-alpha.1",
|
|
44
|
+
"@jupyterlab/mainmenu": "~4.3.0-alpha.1",
|
|
45
|
+
"@jupyterlab/translation": "~4.3.0-alpha.1",
|
|
46
46
|
"react": "^18.2.0",
|
|
47
47
|
"react-dom": "^18.2.0"
|
|
48
48
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter-notebook/notebook-extension",
|
|
3
|
-
"version": "7.3.0-alpha.
|
|
3
|
+
"version": "7.3.0-alpha.1",
|
|
4
4
|
"description": "Jupyter Notebook - Notebook Extension",
|
|
5
5
|
"homepage": "https://github.com/jupyter/notebook",
|
|
6
6
|
"bugs": {
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"watch": "tsc -b --watch"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@jupyter-notebook/application": "^7.3.0-alpha.
|
|
42
|
-
"@jupyterlab/application": "~4.3.0-alpha.
|
|
43
|
-
"@jupyterlab/apputils": "~4.4.0-alpha.
|
|
44
|
-
"@jupyterlab/cells": "~4.3.0-alpha.
|
|
45
|
-
"@jupyterlab/docmanager": "~4.3.0-alpha.
|
|
46
|
-
"@jupyterlab/notebook": "~4.3.0-alpha.
|
|
47
|
-
"@jupyterlab/settingregistry": "~4.3.0-alpha.
|
|
48
|
-
"@jupyterlab/translation": "~4.3.0-alpha.
|
|
41
|
+
"@jupyter-notebook/application": "^7.3.0-alpha.1",
|
|
42
|
+
"@jupyterlab/application": "~4.3.0-alpha.1",
|
|
43
|
+
"@jupyterlab/apputils": "~4.4.0-alpha.1",
|
|
44
|
+
"@jupyterlab/cells": "~4.3.0-alpha.1",
|
|
45
|
+
"@jupyterlab/docmanager": "~4.3.0-alpha.1",
|
|
46
|
+
"@jupyterlab/notebook": "~4.3.0-alpha.1",
|
|
47
|
+
"@jupyterlab/settingregistry": "~4.3.0-alpha.1",
|
|
48
|
+
"@jupyterlab/translation": "~4.3.0-alpha.1",
|
|
49
49
|
"@lumino/polling": "^2.1.2",
|
|
50
50
|
"@lumino/widgets": "^2.3.2",
|
|
51
51
|
"react": "^18.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter-notebook/tree-extension",
|
|
3
|
-
"version": "7.3.0-alpha.
|
|
3
|
+
"version": "7.3.0-alpha.1",
|
|
4
4
|
"description": "Jupyter Notebook - Tree Extension",
|
|
5
5
|
"homepage": "https://github.com/jupyter/notebook",
|
|
6
6
|
"bugs": {
|
|
@@ -38,20 +38,20 @@
|
|
|
38
38
|
"watch": "tsc -b --watch"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@jupyter-notebook/application": "^7.3.0-alpha.
|
|
42
|
-
"@jupyter-notebook/tree": "^7.3.0-alpha.
|
|
43
|
-
"@jupyterlab/application": "~4.3.0-alpha.
|
|
44
|
-
"@jupyterlab/apputils": "~4.4.0-alpha.
|
|
45
|
-
"@jupyterlab/coreutils": "~6.3.0-alpha.
|
|
46
|
-
"@jupyterlab/docmanager": "~4.3.0-alpha.
|
|
47
|
-
"@jupyterlab/filebrowser": "~4.3.0-alpha.
|
|
48
|
-
"@jupyterlab/mainmenu": "~4.3.0-alpha.
|
|
49
|
-
"@jupyterlab/services": "~7.3.0-alpha.
|
|
50
|
-
"@jupyterlab/settingeditor": "~4.3.0-alpha.
|
|
51
|
-
"@jupyterlab/settingregistry": "~4.3.0-alpha.
|
|
52
|
-
"@jupyterlab/statedb": "~4.3.0-alpha.
|
|
53
|
-
"@jupyterlab/translation": "~4.3.0-alpha.
|
|
54
|
-
"@jupyterlab/ui-components": "~4.3.0-alpha.
|
|
41
|
+
"@jupyter-notebook/application": "^7.3.0-alpha.1",
|
|
42
|
+
"@jupyter-notebook/tree": "^7.3.0-alpha.1",
|
|
43
|
+
"@jupyterlab/application": "~4.3.0-alpha.1",
|
|
44
|
+
"@jupyterlab/apputils": "~4.4.0-alpha.1",
|
|
45
|
+
"@jupyterlab/coreutils": "~6.3.0-alpha.1",
|
|
46
|
+
"@jupyterlab/docmanager": "~4.3.0-alpha.1",
|
|
47
|
+
"@jupyterlab/filebrowser": "~4.3.0-alpha.1",
|
|
48
|
+
"@jupyterlab/mainmenu": "~4.3.0-alpha.1",
|
|
49
|
+
"@jupyterlab/services": "~7.3.0-alpha.1",
|
|
50
|
+
"@jupyterlab/settingeditor": "~4.3.0-alpha.1",
|
|
51
|
+
"@jupyterlab/settingregistry": "~4.3.0-alpha.1",
|
|
52
|
+
"@jupyterlab/statedb": "~4.3.0-alpha.1",
|
|
53
|
+
"@jupyterlab/translation": "~4.3.0-alpha.1",
|
|
54
|
+
"@jupyterlab/ui-components": "~4.3.0-alpha.1",
|
|
55
55
|
"@lumino/algorithm": "^2.0.1",
|
|
56
56
|
"@lumino/commands": "^2.3.0",
|
|
57
57
|
"@lumino/widgets": "^2.3.2"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[113],{113:(t,e,s)=>{s.r(e),s.d(e,{default:()=>K});var i,n=s(89150),r=s(70858),o=s(95291),l=s(16934),a=s(20998),c=s(2549),h=s(18395);!function(t){t.editBinding="shortcuts:edit-keybinding",t.addBinding="shortcuts:add-keybinding",t.deleteBinding="shortcuts:delete-keybinding",t.toggleSelectors="shortcuts:toggle-selectors",t.resetAll="shortcuts:reset-all"}(i||(i={}));var d=s(78156),u=s.n(d),p=s(33625),m=s(80554);class g extends d.Component{constructor(t){super(t),this.handleSubmit=async()=>{this._isReplacingExistingKeybinding?this.state.selected?(this.props.toggleInput(),this.setState({value:"",userInput:""})):await this._updateShortcut():(await this._updateShortcut(),this.setState({value:"",keys:[],currentChain:""}),this.props.toggleInput()),this._updateConflictDisplay()},this._updateShortcut=async()=>{const t=[...this.state.keys,this.state.currentChain];this.setState({keys:t}),this.props.keybinding?await this.props.replaceKeybinding(this.props.shortcut,this.props.keybinding,t):await this.props.addKeybinding(this.props.shortcut,t)},this.handleOverwrite=async()=>{const t=[...this.state.keys,this.state.currentChain];for(const e of this.state.conflicts){const s=e.keybindings.filter((e=>a.JSONExt.deepEqual(e.keys,t)||t.some((t=>a.JSONExt.deepEqual(e.keys,[t])))))[0];s?await this.props.deleteKeybinding(e,s):console.error(`Conflicting binding could not be found for ${e} using keys ${t}`)}this.setState({conflicts:[]}),await this._updateShortcut(),this._updateConflictDisplay()},this.parseChaining=(t,e,s,i,n)=>{let r=m.EN_US.keyForKeydownEvent(t.nativeEvent);const o=["Shift","Control","Alt","Meta","Ctrl","Accel"];if("Backspace"===t.key)s="",i=[],n="",this.setState({value:"",userInput:s,keys:i,currentChain:n});else if("CapsLock"!==t.key){const e=s.substr(s.lastIndexOf(" ")+1,s.length).trim();-1===o.lastIndexOf(e)&&""!=e?(s+=",",i.push(n),n="",t.ctrlKey&&"Control"!=t.key&&(s=(s+" Ctrl").trim(),n=(n+" Ctrl").trim()),t.metaKey&&"Meta"!=t.key&&(s=(s+" Accel").trim(),n=(n+" Accel").trim()),t.altKey&&"Alt"!=t.key&&(s=(s+" Alt").trim(),n=(n+" Alt").trim()),t.shiftKey&&"Shift"!=t.key&&(s=(s+" Shift").trim(),n=(n+" Shift").trim()),-1===o.lastIndexOf(t.key)?(s=(s+" "+r).trim(),n=(n+" "+r).trim()):"Meta"===t.key?(s=(s+" Accel").trim(),n=(n+" Accel").trim()):"Control"===t.key?(s=(s+" Ctrl").trim(),n=(n+" Ctrl").trim()):"Shift"===t.key?(s=(s+" Shift").trim(),n=(n+" Shift").trim()):"Alt"===t.key?(s=(s+" Alt").trim(),n=(n+" Alt").trim()):(s=(s+" "+t.key).trim(),n=(n+" "+t.key).trim())):"Control"===t.key?(s=(s+" Ctrl").trim(),n=(n+" Ctrl").trim()):"Meta"===t.key?(s=(s+" Accel").trim(),n=(n+" Accel").trim()):"Shift"===t.key?(s=(s+" Shift").trim(),n=(n+" Shift").trim()):"Alt"===t.key?(s=(s+" Alt").trim(),n=(n+" Alt").trim()):(s=(s+" "+r).trim(),n=(n+" "+r).trim())}return this.setState({keys:i,currentChain:n}),[s,i,n]},this.checkNonFunctional=()=>{const t=["Ctrl","Alt","Accel","Shift"],e=this.state.currentChain.split(" "),s=e[e.length-1];return this.setState({isFunctional:!(-1!==t.indexOf(s))}),-1!==t.indexOf(s)},this.checkShortcutAvailability=(t,e,s)=>{const i=this.props.findConflictsFor([...e,s],this.props.shortcut.selector),n=""===t||0===i.length;return!n&&1===i.length&&i[0].id===this.props.shortcut.id&&this._isReplacingExistingKeybinding?(this.setState({isAvailable:!0}),[]):(this.setState({isAvailable:n}),i)},this.handleInput=t=>{t.preventDefault(),this.setState({selected:!1});const e=this.parseChaining(t,this.state.value,this.state.userInput,this.state.keys,this.state.currentChain),s=e[0],i=e[1],n=e[2],r=this.props.toSymbols(s);let o=this.checkShortcutAvailability(s,i,n);this.setState({value:r,userInput:s,conflicts:o,keys:i,currentChain:n},(()=>{this.checkNonFunctional(),this._updateConflictDisplay()}))},this.handleBlur=t=>{null!==t.relatedTarget&&"no-blur"===t.relatedTarget.id||(this.props.toggleInput(),this.setState({value:"",userInput:"",conflicts:[]},(()=>{this._updateConflictDisplay()})))},this.state={value:this.props.placeholder,userInput:"",isAvailable:!0,isFunctional:this._isReplacingExistingKeybinding,conflicts:[],keys:[],currentChain:"",selected:!0}}get _isReplacingExistingKeybinding(){return!!this.props.keybinding}_updateConflictDisplay(){this.props.displayConflicts({conflictsWith:this.state.conflicts,keys:this.state.keys,overwrite:this.handleOverwrite})}render(){const t=this.props.translator.load("jupyterlab");let e="jp-Shortcuts-Input";return this.state.isAvailable||(e+=" jp-mod-unavailable-Input"),d.createElement("div",{className:this.props.displayInput?this._isReplacingExistingKeybinding?"jp-Shortcuts-InputBox":"jp-Shortcuts-InputBox jp-Shortcuts-InputBoxNew":"jp-mod-hidden",onBlur:t=>this.handleBlur(t)},d.createElement("div",{tabIndex:0,id:"no-blur",className:e,onKeyDown:this.handleInput,ref:t=>t&&t.focus(),"data-lm-suppress-shortcuts":"true"},d.createElement("p",{className:this.state.selected&&this._isReplacingExistingKeybinding?"jp-Shortcuts-InputText jp-mod-selected-InputText":""===this.state.value?"jp-Shortcuts-InputText jp-mod-waiting-InputText":"jp-Shortcuts-InputText"},""===this.state.value?t.__("press keys"):this.state.value)),d.createElement("button",{className:this.state.isFunctional?this.state.isAvailable?"jp-Shortcuts-Submit":"jp-Shortcuts-Submit jp-mod-conflict-Submit":"jp-Shortcuts-Submit jp-mod-defunc-Submit",id:"no-blur",disabled:!this.state.isAvailable||!this.state.isFunctional,onClick:this.handleSubmit},this.state.isAvailable?d.createElement(o.checkIcon.react,null):d.createElement(o.errorIcon.react,null)))}}class y extends d.Component{constructor(t){super(t),this.toggleInputNew=()=>{this.setState({displayNewInput:!this.state.displayNewInput})},this.toSymbols=t=>t.split(" ").reduce(((t,e)=>"Ctrl"===e?(t+" ⌃").trim():"Alt"===e?(t+" ⌥").trim():"Shift"===e?(t+" ⇧").trim():"Accel"===e&&h.Platform.IS_MAC?(t+" ⌘").trim():"Accel"===e?(t+" ⌃").trim():(t+" "+e).trim()),""),this._trans=this.props.external.translator.load("jupyterlab"),this.state={displayNewInput:!1,displayReplaceInput:Object.freeze({}),conflicts:new Map}}componentDidMount(){this.props.external.actionRequested.connect(this._onActionRequested,this)}componentWillUnmount(){this.props.external.actionRequested.disconnect(this._onActionRequested,this)}async _onActionRequested(t,e){if(!("shortcutId"in e)||e.shortcutId===this.props.shortcut.id){if("add-keybinding"===e.request)return this.toggleInputNew();if("edit-keybinding"===e.request&&this.toggleInputReplaceMethod(e.keybinding),"delete-keybinding"===e.request){const t=this.props.shortcut,s=t.keybindings[e.keybinding];this.props.deleteKeybinding(t,s).catch(console.error)}}}getCategoryCell(){return d.createElement("div",{className:"jp-Shortcuts-Cell"},this.props.shortcut.category)}getLabelCell(){var t;return d.createElement("div",{className:"jp-Shortcuts-Cell"},d.createElement("div",{className:"jp-label"},null!==(t=this.props.shortcut.label)&&void 0!==t?t:this._trans.__("(Command label missing)")))}getResetShortCutLink(){return d.createElement("a",{className:"jp-Shortcuts-Reset",onClick:()=>this.props.resetKeybindings(this.props.shortcut)},this._trans.__("Reset"))}getSourceCell(){const t=this.props.shortcut.keybindings.every((t=>t.isDefault));return d.createElement("div",{className:"jp-Shortcuts-Cell"},d.createElement("div",{className:"jp-Shortcuts-SourceCell"},t?this._trans.__("Default"):this._trans.__("Custom")),t?"":this.getResetShortCutLink())}getOptionalSelectorCell(){return this.props.showSelectors?d.createElement("div",{className:"jp-Shortcuts-Cell"},d.createElement("div",{className:"jp-selector"},this.props.shortcut.selector)):null}getClassNameForShortCuts(t){const e=["jp-Shortcuts-ShortcutCell"];switch(t.length){case 1:e.push("jp-Shortcuts-SingleCell");break;case 0:e.push("jp-Shortcuts-EmptyCell")}return e.join(" ")}toggleInputReplaceMethod(t){const e=this.state.displayReplaceInput[t];this.setState({displayReplaceInput:{...this.state.displayReplaceInput,[t]:!e}})}getDisplayReplaceInput(t){return this.state.displayReplaceInput[t]}getOrDiplayIfNeeded(t){const e=["jp-Shortcuts-Or"];return(t||this.state.displayNewInput)&&e.push("jp-Shortcuts-Or-Forced"),d.createElement("div",{className:e.join(" ")},this._trans.__("or"))}getShortCutAsInput(t,e){return d.createElement(g,{addKeybinding:this.props.addKeybinding,replaceKeybinding:this.props.replaceKeybinding,deleteKeybinding:this.props.deleteKeybinding,findConflictsFor:this.props.findConflictsFor,toggleInput:()=>this.toggleInputReplaceMethod(e),shortcut:this.props.shortcut,keybinding:t,displayConflicts:e=>{const s=new Map(this.state.conflicts);s.set(t,e),this.setState({conflicts:s})},toSymbols:this.toSymbols,displayInput:this.getDisplayReplaceInput(e),placeholder:this.toSymbols(t.keys.join(", ")),translator:this.props.external.translator})}getShortCutForDisplayOnly(t){return t.keys.map(((e,s)=>d.createElement("div",{className:"jp-Shortcuts-ShortcutKeysContainer",key:s},d.createElement("div",{className:"jp-Shortcuts-ShortcutKeys"},this.toSymbols(e)),s+1<t.keys.length?d.createElement("div",{className:"jp-Shortcuts-Comma"},","):null)))}isLocationBeingEdited(t){return this.state.displayReplaceInput[t]}getDivForKey(t,e,s){return d.createElement("div",{className:"jp-Shortcuts-ShortcutContainer",key:this.props.shortcut.id+"_"+t,"data-keybinding":t,"data-shortcut":this.props.shortcut.id,onClick:()=>this.toggleInputReplaceMethod(t)},this.isLocationBeingEdited(t)?this.getShortCutAsInput(e,t):this.getShortCutForDisplayOnly(e),this.getOrDiplayIfNeeded(t<s.length-1))}getAddLink(){return d.createElement("a",{className:this.state.displayNewInput?"":"jp-Shortcuts-Plus",onClick:()=>{this.toggleInputNew()}},this._trans.__("Add"))}getInputBoxWhenToggled(){return this.state.displayNewInput?d.createElement(g,{addKeybinding:this.props.addKeybinding,replaceKeybinding:this.props.replaceKeybinding,deleteKeybinding:this.props.deleteKeybinding,findConflictsFor:this.props.findConflictsFor,toggleInput:this.toggleInputNew,shortcut:this.props.shortcut,displayConflicts:t=>{const e=new Map(this.state.conflicts);e.set(null,t),this.setState({conflicts:e})},toSymbols:this.toSymbols,displayInput:this.state.displayNewInput,placeholder:"",translator:this.props.external.translator}):d.createElement("div",null)}getShortCutsCell(t){return d.createElement("div",{className:"jp-Shortcuts-Cell"},d.createElement("div",{className:this.getClassNameForShortCuts(t)},t.map(((e,s)=>this.getDivForKey(s,e,t))),t.length>=1&&!this.state.displayNewInput&&!this.state.displayReplaceInput[0]&&this.getAddLink(),0===t.length&&!this.state.displayNewInput&&this.getAddLink(),this.getInputBoxWhenToggled()))}getConflicts(){const t=[...this.state.conflicts.values()].filter((t=>0!==t.conflictsWith.length));return 0===t.length?d.createElement(d.Fragment,null):d.createElement("div",{className:"jp-Shortcuts-Row"},d.createElement("div",{className:"jp-Shortcuts-ConflictContainer"},t.map((t=>{const e=t.keys.join(" ")+"_"+t.conflictsWith.map((t=>t.id)).join("");return d.createElement("div",{className:"jp-Shortcuts-Conflict",key:e},d.createElement("div",{className:"jp-Shortcuts-ErrorMessage"},this._trans.__("Shortcut already in use by %1. Overwrite it?",t.conflictsWith.map((t=>{var e;return null!==(e=t.label)&&void 0!==e?e:t.command})).join(", "))),d.createElement("div",{className:"jp-Shortcuts-ErrorButton"},d.createElement("button",null,this._trans.__("Cancel")),d.createElement("button",{id:"no-blur",onClick:()=>{t.overwrite()}},this._trans.__("Overwrite"))))}))))}get _nonEmptyBindings(){return this.props.shortcut.keybindings.filter((t=>0!==t.keys.filter((t=>""!=t)).length))}render(){return d.createElement(d.Fragment,null,d.createElement("div",{className:"jp-Shortcuts-Row","data-shortcut":this.props.shortcut.id},this.getCategoryCell(),this.getLabelCell(),this.getShortCutsCell(this._nonEmptyBindings),this.getSourceCell(),this.getOptionalSelectorCell()),this.getConflicts())}}class S extends d.Component{render(){return d.createElement("div",{className:"jp-Shortcuts-ShortcutListContainer",style:{height:this.props.height-115+"px"},id:"shortcutListContainer"},d.createElement("div",{className:"jp-Shortcuts-ShortcutList"},this.props.shortcuts.map((t=>d.createElement(y,{key:t.id,addKeybinding:this.props.addKeybinding,replaceKeybinding:this.props.replaceKeybinding,deleteKeybinding:this.props.deleteKeybinding,resetKeybindings:this.props.resetKeybindings,findConflictsFor:this.props.findConflictsFor,shortcut:t,showSelectors:this.props.showSelectors,external:this.props.external})))))}}class b extends d.Component{render(){return d.createElement("div",{className:this.props.title.toLowerCase()===this.props.active?"jp-Shortcuts-Header jp-Shortcuts-CurrentHeader":"jp-Shortcuts-Header",onClick:()=>this.props.updateSort(this.props.columnId)},this.props.title,d.createElement(o.caretDownEmptyThinIcon.react,{className:"jp-Shortcuts-SortButton jp-ShortcutTitleItem-sortButton"}))}}function f(t){return d.createElement("div",{className:"jp-Shortcuts-Symbols"},d.createElement("table",null,d.createElement("tbody",null,d.createElement("tr",null,d.createElement("td",null,d.createElement("kbd",null,"Cmd")),d.createElement("td",null,"⌘"),d.createElement("td",null,d.createElement("kbd",null,"Ctrl")),d.createElement("td",null,"⌃")),d.createElement("tr",null,d.createElement("td",null,d.createElement("kbd",null,"Alt")),d.createElement("td",null,"⌥"),d.createElement("td",null,d.createElement("kbd",null,"Shift")),d.createElement("td",null,"⇧")))))}function C(t){const e=t.translator.load("jupyterlab");return d.createElement("div",{className:"jp-Shortcuts-AdvancedOptions"},d.createElement("a",{className:"jp-Shortcuts-AdvancedOptionsLink",onClick:()=>t.toggleSelectors()},t.showSelectors?e.__("Hide Selectors"):e.__("Show Selectors")),d.createElement("a",{className:"jp-Shortcuts-AdvancedOptionsLink",onClick:()=>t.resetShortcuts()},e.__("Reset All")))}class k extends d.Component{constructor(t){super(t)}getShortCutTitleItem(t,e){return d.createElement("div",{className:"jp-Shortcuts-Cell"},d.createElement(b,{title:t,updateSort:this.props.updateSort,active:this.props.currentSort,columnId:e}))}render(){const t=this.props.translator.load("jupyterlab");return d.createElement("div",{className:"jp-Shortcuts-Top"},d.createElement("div",{className:"jp-Shortcuts-TopNav"},d.createElement(f,null),d.createElement(o.FilterBox,{"aria-label":t.__("Search shortcuts"),updateFilter:(t,e)=>this.props.updateSearchQuery(null!=e?e:""),placeholder:t.__("Search…"),useFuzzyFilter:!1}),d.createElement(C,{toggleSelectors:this.props.toggleSelectors,showSelectors:this.props.showSelectors,resetShortcuts:this.props.resetShortcuts,translator:this.props.translator})),d.createElement("div",{className:"jp-Shortcuts-HeaderRowContainer"},d.createElement("div",{className:"jp-Shortcuts-HeaderRow"},this.getShortCutTitleItem(t.__("Category"),"category"),this.getShortCutTitleItem(t.__("Command"),"command"),d.createElement("div",{className:"jp-Shortcuts-Cell"},d.createElement("div",{className:"title-div"},t.__("Shortcut"))),this.getShortCutTitleItem(t.__("Source"),"source"),this.props.showSelectors&&this.getShortCutTitleItem(t.__("Selectors"),"selector"))))}}class v extends Map{constructor(t){var e,s,i;super();const{settings:n,commandRegistry:r}=t,o=null!==(e=n.user.shortcuts)&&void 0!==e?e:[],l=new Set(o.map(this._computeKeybindingId.bind(this))),a=null!==(s=n.composite.shortcuts)&&void 0!==s?s:[];for(const t of a){const e=this._computeTargetId(t),s=this._computeKeybindingId(t),n={keys:t.keys,isDefault:!l.has(s)},o=this.get(e);if(o)o.keybindings.push(n);else{const s=t.command.split(":"),o=null!==(i=r.label(t.command,t.args))&&void 0!==i?i:s.length>1?s[1]:void 0,l=s[0];this.set(e,{id:e,selector:t.selector,command:t.command,category:l,label:o,args:t.args,keybindings:[n]})}}}findConflictsFor(t,e){const s=new _({registry:this});let i=s.findConflicts(t,e);if(0!==i.length)return i;for(const n of t)if(i=s.findConflicts([n],e),0!==i.length)return i;return[]}_computeTargetId(t){var e;return t.command+"_"+t.selector+"_"+JSON.stringify(null!==(e=t.args)&&void 0!==e?e:{})}_computeKeybindingId(t){var e;return[t.command,t.selector,JSON.stringify(null!==(e=t.args)&&void 0!==e?e:{}),t.keys.join(" ")].join("_")}}class _{constructor(t){var e;const s=new Map;for(const i of t.registry.values())for(const t of i.keybindings){const n=this._keybindingHash(t.keys,i.selector),r=null!==(e=s.get(n))&&void 0!==e?e:[];r.push(i),s.set(n,r)}this._keybindingsMap=s}findConflicts(t,e){var s;const i=this._keybindingHash(t,e);return null!==(s=this._keybindingsMap.get(i))&&void 0!==s?s:[]}_keybindingHash(t,e){return t.join(" ")+"_"+e}}function E(t,e){var s;const i=t.category.toLowerCase(),n=`${i} ${(null!==(s=t.label)&&void 0!==s?s:"").toLowerCase()}`;let r=1/0,o=null;const l=/\b\w/g;for(;;){const t=l.exec(n);if(!t)break;const s=p.StringExt.matchSumOfDeltas(n,e,t.index);if(!s)break;s&&s.score<=r&&(r=s.score,o=s.indices)}if(!o||r===1/0)return null;const a=i.length+1,c=p.ArrayExt.lowerBound(o,a,((t,e)=>t-e)),h=o.slice(0,c),d=o.slice(c);for(let t=0,e=d.length;t<e;++t)d[t]-=a;return 0===h.length?{matchType:0,categoryIndices:null,labelIndices:d,score:r,item:t}:0===d.length?{matchType:1,categoryIndices:h,labelIndices:null,score:r,item:t}:{matchType:2,categoryIndices:h,labelIndices:d,score:r,item:t}}class I extends d.Component{constructor(t){super(t),this.updateSearchQuery=t=>{this.setState({searchQuery:t},(()=>{const t=this.state.shortcutRegistry;this.setState({filteredShortcutList:this._searchFilterShortcuts(t)},(()=>{this.sortShortcuts()}))}))},this.resetShortcuts=async()=>{const t=await this.props.external.getSettings();await t.set("shortcuts",[]),await this._refreshShortcutList()},this.resetKeybindings=async t=>{for(const e of t.keybindings)await this._setKeybinding(t,e.isDefault?e.keys:[],e)},this.replaceKeybinding=async(t,e,s)=>this._setKeybinding(t,s,e),this.deleteKeybinding=async(t,e)=>{await this._setKeybinding(t,[],e)},this.addKeybinding=async(t,e)=>{await this._setKeybinding(t,e)},this.toggleSelectors=()=>{this.setState({showSelectors:!this.state.showSelectors})},this.updateSort=t=>{t!==this.state.currentSort&&this.setState({currentSort:t},this.sortShortcuts)},this.state={shortcutRegistry:null,filteredShortcutList:new Array,shortcutsFetched:!1,searchQuery:"",showSelectors:!1,currentSort:"category"}}componentDidMount(){this.props.external.actionRequested.connect(this._onActionRequested,this),this._refreshShortcutList()}componentWillUnmount(){this.props.external.actionRequested.disconnect(this._onActionRequested,this)}async _onActionRequested(t,e){if("toggle-selectors"===e.request)return this.toggleSelectors();"reset-all"===e.request&&await this.resetShortcuts()}async _refreshShortcutList(){const t=await this.props.external.getSettings(),e=new v({commandRegistry:this.props.external.commandRegistry,settings:t});this.setState({shortcutRegistry:e,filteredShortcutList:this._searchFilterShortcuts(e),shortcutsFetched:!0},(()=>{this.sortShortcuts()}))}_searchFilterShortcuts(t){return t?function(t,e){e=e.replace(/\s+/g,"").toLowerCase();let s=[];for(const i of t.values()){if(!e){s.push({matchType:3,categoryIndices:null,labelIndices:null,score:0,item:i});continue}let t=E(i,e);t&&s.push(t)}return s}(t,this.state.searchQuery).map((t=>t.item)):[]}async _setKeybinding(t,e,s){var i,n,r;1===e.length&&""==e[0]&&(e=[]);const o=await this.props.external.getSettings(),l=null!==(i=o.user.shortcuts)&&void 0!==i?i:[],c=[];let h=!1;for(let i of l)if(i.command===t.command&&i.selector===t.selector&&a.JSONExt.deepEqual(null!==(n=i.args)&&void 0!==n?n:{},null!==(r=t.args)&&void 0!==r?r:{})&&s&&a.JSONExt.deepEqual(s.keys,i.keys)){const t=s&&s.isDefault&&a.JSONExt.deepEqual(s.keys,e);0===e.length||t||c.push({command:i.command,selector:i.selector,keys:e}),h=!0}else{if(s&&!a.JSONExt.deepEqual(s.keys,i.keys)&&0===e.length)continue;c.push(i)}if(!h){const i=!s||!a.JSONExt.deepEqual(s.keys,e);s&&s.isDefault&&i&&c.push({command:t.command,selector:t.selector,disabled:!0,keys:s.keys}),0!==e.length&&c.push({command:t.command,selector:t.selector,keys:e})}await o.set("shortcuts",c),await this._refreshShortcutList()}sortShortcuts(){const t=this.state.filteredShortcutList;let e=this.state.currentSort;"command"===e&&(e="label");const s=t=>{var s;return"source"===e?t.keybindings.every((t=>t.isDefault))?"default":"other":null!==(s=t[e])&&void 0!==s?s:""};t.sort(((t,e)=>{var i,n;const r=s(t),o=s(e),l=r.localeCompare(o);if(l)return l;{const s=null!==(i=t.label)&&void 0!==i?i:"",r=null!==(n=e.label)&&void 0!==n?n:"";return s.localeCompare(r)}})),this.setState({filteredShortcutList:t})}render(){return this.state.shortcutsFetched?d.createElement("div",{className:"jp-Shortcuts-ShortcutUI",id:"jp-shortcutui"},d.createElement(k,{updateSearchQuery:this.updateSearchQuery,resetShortcuts:this.resetShortcuts,toggleSelectors:this.toggleSelectors,showSelectors:this.state.showSelectors,updateSort:this.updateSort,currentSort:this.state.currentSort,width:this.props.width,translator:this.props.external.translator}),d.createElement(S,{shortcuts:this.state.filteredShortcutList,resetKeybindings:this.resetKeybindings,addKeybinding:this.addKeybinding,replaceKeybinding:this.replaceKeybinding,deleteKeybinding:this.deleteKeybinding,showSelectors:this.state.showSelectors,findConflictsFor:(t,e)=>this.state.shortcutRegistry?this.state.shortcutRegistry.findConflictsFor(t,e):(console.error("Cannot search for keybinding conflicts at this time: registry is not ready"),[]),height:this.props.height,external:this.props.external})):null}}var w=s(81997);const j="@jupyterlab/shortcuts-extension:shortcuts";function x(t,e,s,i){return{translator:s,getSettings:()=>t.load(j,!0),commandRegistry:e.commands,actionRequested:i}}const N={id:j,description:"Adds the keyboard shortcuts editor.",requires:[n.ISettingRegistry],optional:[r.ITranslator,o.IFormRendererRegistry],activate:async(t,e,s,o)=>{const c=null!=s?s:r.nullTranslator,d=c.load("jupyterlab"),{commands:p}=t;let m,g,y={};if(o){const s=new w.Signal({}),n=t=>void 0!==t.dataset.shortcut;t.commands.addCommand(i.editBinding,{label:d.__("Edit Keybinding"),caption:d.__("Edit existing keybinding"),execute:()=>{const e=t.contextMenuHitTest(n),i=null==e?void 0:e.dataset.keybinding,r=null==e?void 0:e.dataset.shortcut;if(!r||!i)return console.log("Missing shortcut id/keybinding information");s.emit({request:"edit-keybinding",keybinding:parseInt(i,10),shortcutId:r})}}),t.commands.addCommand(i.deleteBinding,{label:d.__("Delete Keybinding"),caption:d.__("Delete chosen keybinding"),execute:()=>{const e=t.contextMenuHitTest(n),i=null==e?void 0:e.dataset.keybinding,r=null==e?void 0:e.dataset.shortcut;if(!r||!i)return console.log("Missing shortcut id/keybinding information");s.emit({request:"delete-keybinding",keybinding:parseInt(i,10),shortcutId:r})}}),t.commands.addCommand(i.addBinding,{label:d.__("Add Keybinding"),caption:d.__("Add new keybinding for existing shortcut target"),execute:()=>{const e=t.contextMenuHitTest(n),i=null==e?void 0:e.dataset.shortcut;if(!i)return console.log("Missing shortcut id to add keybinding to");s.emit({request:"add-keybinding",shortcutId:i})}}),p.addCommand(i.toggleSelectors,{label:d.__("Toggle Selectors"),caption:d.__("Toggle command selectors"),execute:()=>{s.emit({request:"toggle-selectors"})}}),p.addCommand(i.resetAll,{label:d.__("Reset All"),caption:d.__("Reset all shortcuts"),execute:()=>{s.emit({request:"reset-all"})}});const r={fieldRenderer:i=>(t=>u().createElement(I,{external:t.external,height:1e3,width:1e3}))({external:x(e,t,c,s),...i})};o.addRenderer(`${N.id}.shortcuts`,r)}function S(s){const i=t.commands.listCommands().join("\n");g||(g=a.JSONExt.deepCopy(s.properties.shortcuts.default)),y={},s.properties.shortcuts.default=Object.keys(e.plugins).map((t=>{const s=e.plugins[t].schema["jupyter.lab.shortcuts"]||[];return y[t]=s,s})).concat([g]).reduce(((t,e)=>h.Platform.IS_MAC?t.concat(e):t.concat(e.filter((t=>!t.keys.some((t=>{const{cmd:e}=l.CommandRegistry.parseKeystroke(t);return e})))))),[]).sort(((t,e)=>t.command.localeCompare(e.command))),s.properties.shortcuts.description=d.__('Note: To disable a system default shortcut,\ncopy it to User Preferences and add the\n"disabled" key, for example:\n{\n "command": "application:activate-next-tab",\n "keys": [\n "Ctrl Shift ]"\n ],\n "selector": "body",\n "disabled": true\n}\n\nList of commands followed by keyboard shortcuts:\n%1\n\nList of keyboard shortcuts:',i)}e.pluginChanged.connect((async(t,s)=>{if(s!==N.id){const t=y[s],i=e.plugins[s].schema["jupyter.lab.shortcuts"]||[];void 0!==t&&a.JSONExt.deepEqual(t,i)||(m=null,e.plugins[N.id].schema.properties.shortcuts.default=g,await e.load(N.id,!0))}})),e.transform(N.id,{compose:t=>{var e,s,i,r;m||(m=a.JSONExt.deepCopy(t.schema),S(m));const o=null!==(i=null===(s=null===(e=m.properties)||void 0===e?void 0:e.shortcuts)||void 0===s?void 0:s.default)&&void 0!==i?i:[],l={shortcuts:null!==(r=t.data.user.shortcuts)&&void 0!==r?r:[]},c={shortcuts:n.SettingRegistry.reconcileShortcuts(o,l.shortcuts)};return t.data={composite:c,user:l},t},fetch:t=>(m||(m=a.JSONExt.deepCopy(t.schema),S(m)),{data:t.data,id:t.id,raw:t.raw,schema:m,version:t.version})});try{m=null;const t=await e.load(N.id);A.loadShortcuts(p,t.composite),t.changed.connect((()=>{A.loadShortcuts(p,t.composite)}))}catch(t){console.error(`Loading ${N.id} failed.`,t)}},autoStart:!0},K=N;var A;!function(t){let e;t.loadShortcuts=function(t,s){var i;const n=null!==(i=null==s?void 0:s.shortcuts)&&void 0!==i?i:[];e&&e.dispose(),e=n.reduce(((e,s)=>{const i=function(t){if(!t||"object"!=typeof t)return;const{isArray:e}=Array;return"command"in t&&"keys"in t&&"selector"in t&&e(t.keys)?t:void 0}(s);return i&&e.add(t.addKeyBinding(i)),e}),new c.DisposableSet)}}(A||(A={}))}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[113],{113:(t,e,s)=>{s.r(e),s.d(e,{default:()=>K});var i,n=s(87844),r=s(25291),o=s(12668),l=s(16934),a=s(20998),c=s(2549),h=s(18395);!function(t){t.editBinding="shortcuts:edit-keybinding",t.addBinding="shortcuts:add-keybinding",t.deleteBinding="shortcuts:delete-keybinding",t.toggleSelectors="shortcuts:toggle-selectors",t.resetAll="shortcuts:reset-all"}(i||(i={}));var d=s(78156),u=s.n(d),p=s(33625),m=s(80554);class g extends d.Component{constructor(t){super(t),this.handleSubmit=async()=>{this._isReplacingExistingKeybinding?this.state.selected?(this.props.toggleInput(),this.setState({value:"",userInput:""})):await this._updateShortcut():(await this._updateShortcut(),this.setState({value:"",keys:[],currentChain:""}),this.props.toggleInput()),this._updateConflictDisplay()},this._updateShortcut=async()=>{const t=[...this.state.keys,this.state.currentChain];this.setState({keys:t}),this.props.keybinding?await this.props.replaceKeybinding(this.props.shortcut,this.props.keybinding,t):await this.props.addKeybinding(this.props.shortcut,t)},this.handleOverwrite=async()=>{const t=[...this.state.keys,this.state.currentChain];for(const e of this.state.conflicts){const s=e.keybindings.filter((e=>a.JSONExt.deepEqual(e.keys,t)||t.some((t=>a.JSONExt.deepEqual(e.keys,[t])))))[0];s?await this.props.deleteKeybinding(e,s):console.error(`Conflicting binding could not be found for ${e} using keys ${t}`)}this.setState({conflicts:[]}),await this._updateShortcut(),this._updateConflictDisplay()},this.parseChaining=(t,e,s,i,n)=>{let r=m.EN_US.keyForKeydownEvent(t.nativeEvent);const o=["Shift","Control","Alt","Meta","Ctrl","Accel"];if("Backspace"===t.key)s="",i=[],n="",this.setState({value:"",userInput:s,keys:i,currentChain:n});else if("CapsLock"!==t.key){const e=s.substr(s.lastIndexOf(" ")+1,s.length).trim();-1===o.lastIndexOf(e)&&""!=e?(s+=",",i.push(n),n="",t.ctrlKey&&"Control"!=t.key&&(s=(s+" Ctrl").trim(),n=(n+" Ctrl").trim()),t.metaKey&&"Meta"!=t.key&&(s=(s+" Accel").trim(),n=(n+" Accel").trim()),t.altKey&&"Alt"!=t.key&&(s=(s+" Alt").trim(),n=(n+" Alt").trim()),t.shiftKey&&"Shift"!=t.key&&(s=(s+" Shift").trim(),n=(n+" Shift").trim()),-1===o.lastIndexOf(t.key)?(s=(s+" "+r).trim(),n=(n+" "+r).trim()):"Meta"===t.key?(s=(s+" Accel").trim(),n=(n+" Accel").trim()):"Control"===t.key?(s=(s+" Ctrl").trim(),n=(n+" Ctrl").trim()):"Shift"===t.key?(s=(s+" Shift").trim(),n=(n+" Shift").trim()):"Alt"===t.key?(s=(s+" Alt").trim(),n=(n+" Alt").trim()):(s=(s+" "+t.key).trim(),n=(n+" "+t.key).trim())):"Control"===t.key?(s=(s+" Ctrl").trim(),n=(n+" Ctrl").trim()):"Meta"===t.key?(s=(s+" Accel").trim(),n=(n+" Accel").trim()):"Shift"===t.key?(s=(s+" Shift").trim(),n=(n+" Shift").trim()):"Alt"===t.key?(s=(s+" Alt").trim(),n=(n+" Alt").trim()):(s=(s+" "+r).trim(),n=(n+" "+r).trim())}return this.setState({keys:i,currentChain:n}),[s,i,n]},this.checkNonFunctional=()=>{const t=["Ctrl","Alt","Accel","Shift"],e=this.state.currentChain.split(" "),s=e[e.length-1];return this.setState({isFunctional:!(-1!==t.indexOf(s))}),-1!==t.indexOf(s)},this.checkShortcutAvailability=(t,e,s)=>{const i=this.props.findConflictsFor([...e,s],this.props.shortcut.selector),n=""===t||0===i.length;return!n&&1===i.length&&i[0].id===this.props.shortcut.id&&this._isReplacingExistingKeybinding?(this.setState({isAvailable:!0}),[]):(this.setState({isAvailable:n}),i)},this.handleInput=t=>{t.preventDefault(),this.setState({selected:!1});const e=this.parseChaining(t,this.state.value,this.state.userInput,this.state.keys,this.state.currentChain),s=e[0],i=e[1],n=e[2],r=this.props.toSymbols(s);let o=this.checkShortcutAvailability(s,i,n);this.setState({value:r,userInput:s,conflicts:o,keys:i,currentChain:n},(()=>{this.checkNonFunctional(),this._updateConflictDisplay()}))},this.handleBlur=t=>{null!==t.relatedTarget&&"no-blur"===t.relatedTarget.id||(this.props.toggleInput(),this.setState({value:"",userInput:"",conflicts:[]},(()=>{this._updateConflictDisplay()})))},this.state={value:this.props.placeholder,userInput:"",isAvailable:!0,isFunctional:this._isReplacingExistingKeybinding,conflicts:[],keys:[],currentChain:"",selected:!0}}get _isReplacingExistingKeybinding(){return!!this.props.keybinding}_updateConflictDisplay(){this.props.displayConflicts({conflictsWith:this.state.conflicts,keys:this.state.keys,overwrite:this.handleOverwrite})}render(){const t=this.props.translator.load("jupyterlab");let e="jp-Shortcuts-Input";return this.state.isAvailable||(e+=" jp-mod-unavailable-Input"),d.createElement("div",{className:this.props.displayInput?this._isReplacingExistingKeybinding?"jp-Shortcuts-InputBox":"jp-Shortcuts-InputBox jp-Shortcuts-InputBoxNew":"jp-mod-hidden",onBlur:t=>this.handleBlur(t)},d.createElement("div",{tabIndex:0,id:"no-blur",className:e,onKeyDown:this.handleInput,ref:t=>t&&t.focus(),"data-lm-suppress-shortcuts":"true"},d.createElement("p",{className:this.state.selected&&this._isReplacingExistingKeybinding?"jp-Shortcuts-InputText jp-mod-selected-InputText":""===this.state.value?"jp-Shortcuts-InputText jp-mod-waiting-InputText":"jp-Shortcuts-InputText"},""===this.state.value?t.__("press keys"):this.state.value)),d.createElement("button",{className:this.state.isFunctional?this.state.isAvailable?"jp-Shortcuts-Submit":"jp-Shortcuts-Submit jp-mod-conflict-Submit":"jp-Shortcuts-Submit jp-mod-defunc-Submit",id:"no-blur",disabled:!this.state.isAvailable||!this.state.isFunctional,onClick:this.handleSubmit},this.state.isAvailable?d.createElement(o.checkIcon.react,null):d.createElement(o.errorIcon.react,null)))}}class y extends d.Component{constructor(t){super(t),this.toggleInputNew=()=>{this.setState({displayNewInput:!this.state.displayNewInput})},this.toSymbols=t=>t.split(" ").reduce(((t,e)=>"Ctrl"===e?(t+" ⌃").trim():"Alt"===e?(t+" ⌥").trim():"Shift"===e?(t+" ⇧").trim():"Accel"===e&&h.Platform.IS_MAC?(t+" ⌘").trim():"Accel"===e?(t+" ⌃").trim():(t+" "+e).trim()),""),this._trans=this.props.external.translator.load("jupyterlab"),this.state={displayNewInput:!1,displayReplaceInput:Object.freeze({}),conflicts:new Map}}componentDidMount(){this.props.external.actionRequested.connect(this._onActionRequested,this)}componentWillUnmount(){this.props.external.actionRequested.disconnect(this._onActionRequested,this)}async _onActionRequested(t,e){if(!("shortcutId"in e)||e.shortcutId===this.props.shortcut.id){if("add-keybinding"===e.request)return this.toggleInputNew();if("edit-keybinding"===e.request&&this.toggleInputReplaceMethod(e.keybinding),"delete-keybinding"===e.request){const t=this.props.shortcut,s=t.keybindings[e.keybinding];this.props.deleteKeybinding(t,s).catch(console.error)}}}getCategoryCell(){return d.createElement("div",{className:"jp-Shortcuts-Cell"},this.props.shortcut.category)}getLabelCell(){var t;return d.createElement("div",{className:"jp-Shortcuts-Cell"},d.createElement("div",{className:"jp-label"},null!==(t=this.props.shortcut.label)&&void 0!==t?t:this._trans.__("(Command label missing)")))}getResetShortCutLink(){return d.createElement("a",{className:"jp-Shortcuts-Reset",onClick:()=>this.props.resetKeybindings(this.props.shortcut)},this._trans.__("Reset"))}getSourceCell(){const t=this.props.shortcut.keybindings.every((t=>t.isDefault));return d.createElement("div",{className:"jp-Shortcuts-Cell"},d.createElement("div",{className:"jp-Shortcuts-SourceCell"},t?this._trans.__("Default"):this._trans.__("Custom")),t?"":this.getResetShortCutLink())}getOptionalSelectorCell(){return this.props.showSelectors?d.createElement("div",{className:"jp-Shortcuts-Cell"},d.createElement("div",{className:"jp-selector"},this.props.shortcut.selector)):null}getClassNameForShortCuts(t){const e=["jp-Shortcuts-ShortcutCell"];switch(t.length){case 1:e.push("jp-Shortcuts-SingleCell");break;case 0:e.push("jp-Shortcuts-EmptyCell")}return e.join(" ")}toggleInputReplaceMethod(t){const e=this.state.displayReplaceInput[t];this.setState({displayReplaceInput:{...this.state.displayReplaceInput,[t]:!e}})}getDisplayReplaceInput(t){return this.state.displayReplaceInput[t]}getOrDiplayIfNeeded(t){const e=["jp-Shortcuts-Or"];return(t||this.state.displayNewInput)&&e.push("jp-Shortcuts-Or-Forced"),d.createElement("div",{className:e.join(" ")},this._trans.__("or"))}getShortCutAsInput(t,e){return d.createElement(g,{addKeybinding:this.props.addKeybinding,replaceKeybinding:this.props.replaceKeybinding,deleteKeybinding:this.props.deleteKeybinding,findConflictsFor:this.props.findConflictsFor,toggleInput:()=>this.toggleInputReplaceMethod(e),shortcut:this.props.shortcut,keybinding:t,displayConflicts:e=>{const s=new Map(this.state.conflicts);s.set(t,e),this.setState({conflicts:s})},toSymbols:this.toSymbols,displayInput:this.getDisplayReplaceInput(e),placeholder:this.toSymbols(t.keys.join(", ")),translator:this.props.external.translator})}getShortCutForDisplayOnly(t){return t.keys.map(((e,s)=>d.createElement("div",{className:"jp-Shortcuts-ShortcutKeysContainer",key:s},d.createElement("div",{className:"jp-Shortcuts-ShortcutKeys"},this.toSymbols(e)),s+1<t.keys.length?d.createElement("div",{className:"jp-Shortcuts-Comma"},","):null)))}isLocationBeingEdited(t){return this.state.displayReplaceInput[t]}getDivForKey(t,e,s){return d.createElement("div",{className:"jp-Shortcuts-ShortcutContainer",key:this.props.shortcut.id+"_"+t,"data-keybinding":t,"data-shortcut":this.props.shortcut.id,onClick:()=>this.toggleInputReplaceMethod(t)},this.isLocationBeingEdited(t)?this.getShortCutAsInput(e,t):this.getShortCutForDisplayOnly(e),this.getOrDiplayIfNeeded(t<s.length-1))}getAddLink(){return d.createElement("a",{className:this.state.displayNewInput?"":"jp-Shortcuts-Plus",onClick:()=>{this.toggleInputNew()}},this._trans.__("Add"))}getInputBoxWhenToggled(){return this.state.displayNewInput?d.createElement(g,{addKeybinding:this.props.addKeybinding,replaceKeybinding:this.props.replaceKeybinding,deleteKeybinding:this.props.deleteKeybinding,findConflictsFor:this.props.findConflictsFor,toggleInput:this.toggleInputNew,shortcut:this.props.shortcut,displayConflicts:t=>{const e=new Map(this.state.conflicts);e.set(null,t),this.setState({conflicts:e})},toSymbols:this.toSymbols,displayInput:this.state.displayNewInput,placeholder:"",translator:this.props.external.translator}):d.createElement("div",null)}getShortCutsCell(t){return d.createElement("div",{className:"jp-Shortcuts-Cell"},d.createElement("div",{className:this.getClassNameForShortCuts(t)},t.map(((e,s)=>this.getDivForKey(s,e,t))),t.length>=1&&!this.state.displayNewInput&&!this.state.displayReplaceInput[0]&&this.getAddLink(),0===t.length&&!this.state.displayNewInput&&this.getAddLink(),this.getInputBoxWhenToggled()))}getConflicts(){const t=[...this.state.conflicts.values()].filter((t=>0!==t.conflictsWith.length));return 0===t.length?d.createElement(d.Fragment,null):d.createElement("div",{className:"jp-Shortcuts-Row"},d.createElement("div",{className:"jp-Shortcuts-ConflictContainer"},t.map((t=>{const e=t.keys.join(" ")+"_"+t.conflictsWith.map((t=>t.id)).join("");return d.createElement("div",{className:"jp-Shortcuts-Conflict",key:e},d.createElement("div",{className:"jp-Shortcuts-ErrorMessage"},this._trans.__("Shortcut already in use by %1. Overwrite it?",t.conflictsWith.map((t=>{var e;return null!==(e=t.label)&&void 0!==e?e:t.command})).join(", "))),d.createElement("div",{className:"jp-Shortcuts-ErrorButton"},d.createElement("button",null,this._trans.__("Cancel")),d.createElement("button",{id:"no-blur",onClick:()=>{t.overwrite()}},this._trans.__("Overwrite"))))}))))}get _nonEmptyBindings(){return this.props.shortcut.keybindings.filter((t=>0!==t.keys.filter((t=>""!=t)).length))}render(){return d.createElement(d.Fragment,null,d.createElement("div",{className:"jp-Shortcuts-Row","data-shortcut":this.props.shortcut.id},this.getCategoryCell(),this.getLabelCell(),this.getShortCutsCell(this._nonEmptyBindings),this.getSourceCell(),this.getOptionalSelectorCell()),this.getConflicts())}}class S extends d.Component{render(){return d.createElement("div",{className:"jp-Shortcuts-ShortcutListContainer",style:{height:this.props.height-115+"px"},id:"shortcutListContainer"},d.createElement("div",{className:"jp-Shortcuts-ShortcutList"},this.props.shortcuts.map((t=>d.createElement(y,{key:t.id,addKeybinding:this.props.addKeybinding,replaceKeybinding:this.props.replaceKeybinding,deleteKeybinding:this.props.deleteKeybinding,resetKeybindings:this.props.resetKeybindings,findConflictsFor:this.props.findConflictsFor,shortcut:t,showSelectors:this.props.showSelectors,external:this.props.external})))))}}class b extends d.Component{render(){return d.createElement("div",{className:this.props.title.toLowerCase()===this.props.active?"jp-Shortcuts-Header jp-Shortcuts-CurrentHeader":"jp-Shortcuts-Header",onClick:()=>this.props.updateSort(this.props.columnId)},this.props.title,d.createElement(o.caretDownEmptyThinIcon.react,{className:"jp-Shortcuts-SortButton jp-ShortcutTitleItem-sortButton"}))}}function f(t){return d.createElement("div",{className:"jp-Shortcuts-Symbols"},d.createElement("table",null,d.createElement("tbody",null,d.createElement("tr",null,d.createElement("td",null,d.createElement("kbd",null,"Cmd")),d.createElement("td",null,"⌘"),d.createElement("td",null,d.createElement("kbd",null,"Ctrl")),d.createElement("td",null,"⌃")),d.createElement("tr",null,d.createElement("td",null,d.createElement("kbd",null,"Alt")),d.createElement("td",null,"⌥"),d.createElement("td",null,d.createElement("kbd",null,"Shift")),d.createElement("td",null,"⇧")))))}function C(t){const e=t.translator.load("jupyterlab");return d.createElement("div",{className:"jp-Shortcuts-AdvancedOptions"},d.createElement("a",{className:"jp-Shortcuts-AdvancedOptionsLink",onClick:()=>t.toggleSelectors()},t.showSelectors?e.__("Hide Selectors"):e.__("Show Selectors")),d.createElement("a",{className:"jp-Shortcuts-AdvancedOptionsLink",onClick:()=>t.resetShortcuts()},e.__("Reset All")))}class k extends d.Component{constructor(t){super(t)}getShortCutTitleItem(t,e){return d.createElement("div",{className:"jp-Shortcuts-Cell"},d.createElement(b,{title:t,updateSort:this.props.updateSort,active:this.props.currentSort,columnId:e}))}render(){const t=this.props.translator.load("jupyterlab");return d.createElement("div",{className:"jp-Shortcuts-Top"},d.createElement("div",{className:"jp-Shortcuts-TopNav"},d.createElement(f,null),d.createElement(o.FilterBox,{"aria-label":t.__("Search shortcuts"),updateFilter:(t,e)=>this.props.updateSearchQuery(null!=e?e:""),placeholder:t.__("Search…"),useFuzzyFilter:!1}),d.createElement(C,{toggleSelectors:this.props.toggleSelectors,showSelectors:this.props.showSelectors,resetShortcuts:this.props.resetShortcuts,translator:this.props.translator})),d.createElement("div",{className:"jp-Shortcuts-HeaderRowContainer"},d.createElement("div",{className:"jp-Shortcuts-HeaderRow"},this.getShortCutTitleItem(t.__("Category"),"category"),this.getShortCutTitleItem(t.__("Command"),"command"),d.createElement("div",{className:"jp-Shortcuts-Cell"},d.createElement("div",{className:"title-div"},t.__("Shortcut"))),this.getShortCutTitleItem(t.__("Source"),"source"),this.props.showSelectors&&this.getShortCutTitleItem(t.__("Selectors"),"selector"))))}}class v extends Map{constructor(t){var e,s,i;super();const{settings:n,commandRegistry:r}=t,o=null!==(e=n.user.shortcuts)&&void 0!==e?e:[],l=new Set(o.map(this._computeKeybindingId.bind(this))),a=null!==(s=n.composite.shortcuts)&&void 0!==s?s:[];for(const t of a){const e=this._computeTargetId(t),s=this._computeKeybindingId(t),n={keys:t.keys,isDefault:!l.has(s)},o=this.get(e);if(o)o.keybindings.push(n);else{const s=t.command.split(":"),o=null!==(i=r.label(t.command,t.args))&&void 0!==i?i:s.length>1?s[1]:void 0,l=s[0];this.set(e,{id:e,selector:t.selector,command:t.command,category:l,label:o,args:t.args,keybindings:[n]})}}}findConflictsFor(t,e){const s=new _({registry:this});let i=s.findConflicts(t,e);if(0!==i.length)return i;for(const n of t)if(i=s.findConflicts([n],e),0!==i.length)return i;return[]}_computeTargetId(t){var e;return t.command+"_"+t.selector+"_"+JSON.stringify(null!==(e=t.args)&&void 0!==e?e:{})}_computeKeybindingId(t){var e;return[t.command,t.selector,JSON.stringify(null!==(e=t.args)&&void 0!==e?e:{}),t.keys.join(" ")].join("_")}}class _{constructor(t){var e;const s=new Map;for(const i of t.registry.values())for(const t of i.keybindings){const n=this._keybindingHash(t.keys,i.selector),r=null!==(e=s.get(n))&&void 0!==e?e:[];r.push(i),s.set(n,r)}this._keybindingsMap=s}findConflicts(t,e){var s;const i=this._keybindingHash(t,e);return null!==(s=this._keybindingsMap.get(i))&&void 0!==s?s:[]}_keybindingHash(t,e){return t.join(" ")+"_"+e}}function E(t,e){var s;const i=t.category.toLowerCase(),n=`${i} ${(null!==(s=t.label)&&void 0!==s?s:"").toLowerCase()}`;let r=1/0,o=null;const l=/\b\w/g;for(;;){const t=l.exec(n);if(!t)break;const s=p.StringExt.matchSumOfDeltas(n,e,t.index);if(!s)break;s&&s.score<=r&&(r=s.score,o=s.indices)}if(!o||r===1/0)return null;const a=i.length+1,c=p.ArrayExt.lowerBound(o,a,((t,e)=>t-e)),h=o.slice(0,c),d=o.slice(c);for(let t=0,e=d.length;t<e;++t)d[t]-=a;return 0===h.length?{matchType:0,categoryIndices:null,labelIndices:d,score:r,item:t}:0===d.length?{matchType:1,categoryIndices:h,labelIndices:null,score:r,item:t}:{matchType:2,categoryIndices:h,labelIndices:d,score:r,item:t}}class I extends d.Component{constructor(t){super(t),this.updateSearchQuery=t=>{this.setState({searchQuery:t},(()=>{const t=this.state.shortcutRegistry;this.setState({filteredShortcutList:this._searchFilterShortcuts(t)},(()=>{this.sortShortcuts()}))}))},this.resetShortcuts=async()=>{const t=await this.props.external.getSettings();await t.set("shortcuts",[]),await this._refreshShortcutList()},this.resetKeybindings=async t=>{for(const e of t.keybindings)await this._setKeybinding(t,e.isDefault?e.keys:[],e)},this.replaceKeybinding=async(t,e,s)=>this._setKeybinding(t,s,e),this.deleteKeybinding=async(t,e)=>{await this._setKeybinding(t,[],e)},this.addKeybinding=async(t,e)=>{await this._setKeybinding(t,e)},this.toggleSelectors=()=>{this.setState({showSelectors:!this.state.showSelectors})},this.updateSort=t=>{t!==this.state.currentSort&&this.setState({currentSort:t},this.sortShortcuts)},this.state={shortcutRegistry:null,filteredShortcutList:new Array,shortcutsFetched:!1,searchQuery:"",showSelectors:!1,currentSort:"category"}}componentDidMount(){this.props.external.actionRequested.connect(this._onActionRequested,this),this._refreshShortcutList()}componentWillUnmount(){this.props.external.actionRequested.disconnect(this._onActionRequested,this)}async _onActionRequested(t,e){if("toggle-selectors"===e.request)return this.toggleSelectors();"reset-all"===e.request&&await this.resetShortcuts()}async _refreshShortcutList(){const t=await this.props.external.getSettings(),e=new v({commandRegistry:this.props.external.commandRegistry,settings:t});this.setState({shortcutRegistry:e,filteredShortcutList:this._searchFilterShortcuts(e),shortcutsFetched:!0},(()=>{this.sortShortcuts()}))}_searchFilterShortcuts(t){return t?function(t,e){e=e.replace(/\s+/g,"").toLowerCase();let s=[];for(const i of t.values()){if(!e){s.push({matchType:3,categoryIndices:null,labelIndices:null,score:0,item:i});continue}let t=E(i,e);t&&s.push(t)}return s}(t,this.state.searchQuery).map((t=>t.item)):[]}async _setKeybinding(t,e,s){var i,n,r;1===e.length&&""==e[0]&&(e=[]);const o=await this.props.external.getSettings(),l=null!==(i=o.user.shortcuts)&&void 0!==i?i:[],c=[];let h=!1;for(let i of l)if(i.command===t.command&&i.selector===t.selector&&a.JSONExt.deepEqual(null!==(n=i.args)&&void 0!==n?n:{},null!==(r=t.args)&&void 0!==r?r:{})&&s&&a.JSONExt.deepEqual(s.keys,i.keys)){const t=s&&s.isDefault&&a.JSONExt.deepEqual(s.keys,e);0===e.length||t||c.push({command:i.command,selector:i.selector,keys:e}),h=!0}else{if(s&&!a.JSONExt.deepEqual(s.keys,i.keys)&&0===e.length)continue;c.push(i)}if(!h){const i=!s||!a.JSONExt.deepEqual(s.keys,e);s&&s.isDefault&&i&&c.push({command:t.command,selector:t.selector,disabled:!0,keys:s.keys}),0!==e.length&&c.push({command:t.command,selector:t.selector,keys:e})}await o.set("shortcuts",c),await this._refreshShortcutList()}sortShortcuts(){const t=this.state.filteredShortcutList;let e=this.state.currentSort;"command"===e&&(e="label");const s=t=>{var s;return"source"===e?t.keybindings.every((t=>t.isDefault))?"default":"other":null!==(s=t[e])&&void 0!==s?s:""};t.sort(((t,e)=>{var i,n;const r=s(t),o=s(e),l=r.localeCompare(o);if(l)return l;{const s=null!==(i=t.label)&&void 0!==i?i:"",r=null!==(n=e.label)&&void 0!==n?n:"";return s.localeCompare(r)}})),this.setState({filteredShortcutList:t})}render(){return this.state.shortcutsFetched?d.createElement("div",{className:"jp-Shortcuts-ShortcutUI",id:"jp-shortcutui"},d.createElement(k,{updateSearchQuery:this.updateSearchQuery,resetShortcuts:this.resetShortcuts,toggleSelectors:this.toggleSelectors,showSelectors:this.state.showSelectors,updateSort:this.updateSort,currentSort:this.state.currentSort,width:this.props.width,translator:this.props.external.translator}),d.createElement(S,{shortcuts:this.state.filteredShortcutList,resetKeybindings:this.resetKeybindings,addKeybinding:this.addKeybinding,replaceKeybinding:this.replaceKeybinding,deleteKeybinding:this.deleteKeybinding,showSelectors:this.state.showSelectors,findConflictsFor:(t,e)=>this.state.shortcutRegistry?this.state.shortcutRegistry.findConflictsFor(t,e):(console.error("Cannot search for keybinding conflicts at this time: registry is not ready"),[]),height:this.props.height,external:this.props.external})):null}}var w=s(81997);const j="@jupyterlab/shortcuts-extension:shortcuts";function x(t,e,s,i){return{translator:s,getSettings:()=>t.load(j,!0),commandRegistry:e.commands,actionRequested:i}}const N={id:j,description:"Adds the keyboard shortcuts editor.",requires:[n.ISettingRegistry],optional:[r.ITranslator,o.IFormRendererRegistry],activate:async(t,e,s,o)=>{const c=null!=s?s:r.nullTranslator,d=c.load("jupyterlab"),{commands:p}=t;let m,g,y={};if(o){const s=new w.Signal({}),n=t=>void 0!==t.dataset.shortcut;t.commands.addCommand(i.editBinding,{label:d.__("Edit Keybinding"),caption:d.__("Edit existing keybinding"),execute:()=>{const e=t.contextMenuHitTest(n),i=null==e?void 0:e.dataset.keybinding,r=null==e?void 0:e.dataset.shortcut;if(!r||!i)return console.log("Missing shortcut id/keybinding information");s.emit({request:"edit-keybinding",keybinding:parseInt(i,10),shortcutId:r})}}),t.commands.addCommand(i.deleteBinding,{label:d.__("Delete Keybinding"),caption:d.__("Delete chosen keybinding"),execute:()=>{const e=t.contextMenuHitTest(n),i=null==e?void 0:e.dataset.keybinding,r=null==e?void 0:e.dataset.shortcut;if(!r||!i)return console.log("Missing shortcut id/keybinding information");s.emit({request:"delete-keybinding",keybinding:parseInt(i,10),shortcutId:r})}}),t.commands.addCommand(i.addBinding,{label:d.__("Add Keybinding"),caption:d.__("Add new keybinding for existing shortcut target"),execute:()=>{const e=t.contextMenuHitTest(n),i=null==e?void 0:e.dataset.shortcut;if(!i)return console.log("Missing shortcut id to add keybinding to");s.emit({request:"add-keybinding",shortcutId:i})}}),p.addCommand(i.toggleSelectors,{label:d.__("Toggle Selectors"),caption:d.__("Toggle command selectors"),execute:()=>{s.emit({request:"toggle-selectors"})}}),p.addCommand(i.resetAll,{label:d.__("Reset All"),caption:d.__("Reset all shortcuts"),execute:()=>{s.emit({request:"reset-all"})}});const r={fieldRenderer:i=>(t=>u().createElement(I,{external:t.external,height:1e3,width:1e3}))({external:x(e,t,c,s),...i})};o.addRenderer(`${N.id}.shortcuts`,r)}function S(s){const i=t.commands.listCommands().join("\n");g||(g=a.JSONExt.deepCopy(s.properties.shortcuts.default)),y={},s.properties.shortcuts.default=Object.keys(e.plugins).map((t=>{const s=e.plugins[t].schema["jupyter.lab.shortcuts"]||[];return y[t]=s,s})).concat([g]).reduce(((t,e)=>h.Platform.IS_MAC?t.concat(e):t.concat(e.filter((t=>!t.keys.some((t=>{const{cmd:e}=l.CommandRegistry.parseKeystroke(t);return e})))))),[]).sort(((t,e)=>t.command.localeCompare(e.command))),s.properties.shortcuts.description=d.__('Note: To disable a system default shortcut,\ncopy it to User Preferences and add the\n"disabled" key, for example:\n{\n "command": "application:activate-next-tab",\n "keys": [\n "Ctrl Shift ]"\n ],\n "selector": "body",\n "disabled": true\n}\n\nList of commands followed by keyboard shortcuts:\n%1\n\nList of keyboard shortcuts:',i)}e.pluginChanged.connect((async(t,s)=>{if(s!==N.id){const t=y[s],i=e.plugins[s].schema["jupyter.lab.shortcuts"]||[];void 0!==t&&a.JSONExt.deepEqual(t,i)||(m=null,e.plugins[N.id].schema.properties.shortcuts.default=g,await e.load(N.id,!0))}})),e.transform(N.id,{compose:t=>{var e,s,i,r;m||(m=a.JSONExt.deepCopy(t.schema),S(m));const o=null!==(i=null===(s=null===(e=m.properties)||void 0===e?void 0:e.shortcuts)||void 0===s?void 0:s.default)&&void 0!==i?i:[],l={shortcuts:null!==(r=t.data.user.shortcuts)&&void 0!==r?r:[]},c={shortcuts:n.SettingRegistry.reconcileShortcuts(o,l.shortcuts)};return t.data={composite:c,user:l},t},fetch:t=>(m||(m=a.JSONExt.deepCopy(t.schema),S(m)),{data:t.data,id:t.id,raw:t.raw,schema:m,version:t.version})});try{m=null;const t=await e.load(N.id);A.loadShortcuts(p,t.composite),t.changed.connect((()=>{A.loadShortcuts(p,t.composite)}))}catch(t){console.error(`Loading ${N.id} failed.`,t)}},autoStart:!0},K=N;var A;!function(t){let e;t.loadShortcuts=function(t,s){var i;const n=null!==(i=null==s?void 0:s.shortcuts)&&void 0!==i?i:[];e&&e.dispose(),e=n.reduce(((e,s)=>{const i=function(t){if(!t||"object"!=typeof t)return;const{isArray:e}=Array;return"command"in t&&"keys"in t&&"selector"in t&&e(t.keys)?t:void 0}(s);return i&&e.add(t.addKeyBinding(i)),e}),new c.DisposableSet)}}(A||(A={}))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[1198,8907],{41198:(t,e,s)=>{s.r(e),s.d(e,{IPropertyInspectorProvider:()=>c,SideBarPropertyInspectorProvider:()=>a});var n=s(
|
|
1
|
+
"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[1198,8907],{41198:(t,e,s)=>{s.r(e),s.d(e,{IPropertyInspectorProvider:()=>c,SideBarPropertyInspectorProvider:()=>a});var n=s(25291),r=s(12668),o=s(81997),i=s(63485);const c=new(s(20998).Token)("@jupyterlab/property-inspector:IPropertyInspectorProvider","A service to registry new widget in the property inspector side panel.");class h extends i.Widget{constructor(){super(),this._tracker=new i.FocusTracker,this._inspectors=new Map,this.addClass("jp-PropertyInspector"),this._tracker=new i.FocusTracker,this._tracker.currentChanged.connect(this._onCurrentChanged,this)}register(t){if(this._inspectors.has(t))throw new Error("Widget is already registered");const e=new l.PropertyInspector(t);return t.disposed.connect(this._onWidgetDisposed,this),this._inspectors.set(t,e),e.onAction.connect(this._onInspectorAction,this),this._tracker.add(t),e}get currentWidget(){return this._tracker.currentWidget}refresh(){const t=this._tracker.currentWidget;if(!t)return void this.setContent(null);const e=this._inspectors.get(t);e&&this.setContent(e.content)}_onWidgetDisposed(t){const e=this._inspectors.get(t);e&&(e.dispose(),this._inspectors.delete(t))}_onInspectorAction(t,e){const s=t.owner,n=this._tracker.currentWidget;switch(e){case"content":n===s&&this.setContent(t.content);break;case"dispose":s&&(this._tracker.remove(s),this._inspectors.delete(s));break;case"show-panel":n===s&&this.showPanel();break;default:throw new Error("Unsupported inspector action")}}_onCurrentChanged(){const t=this._tracker.currentWidget;if(t){const e=this._inspectors.get(t).content;this.setContent(e)}else this.setContent(null)}}class a extends h{constructor({shell:t,placeholder:e,translator:s}){super(),this._labshell=t,this.translator=s||n.nullTranslator,this._trans=this.translator.load("jupyterlab");const r=this.layout=new i.SingletonLayout;if(e)this._placeholder=e;else{const t=document.createElement("div"),e=document.createElement("div");e.textContent=this._trans.__("No properties to inspect."),e.className="jp-PropertyInspector-placeholderContent",t.appendChild(e),this._placeholder=new i.Widget({node:t}),this._placeholder.addClass("jp-PropertyInspector-placeholder")}r.widget=this._placeholder,this._labshell.currentChanged.connect(this._onShellCurrentChanged,this),this._onShellCurrentChanged()}setContent(t){const e=this.layout;e.widget&&(e.widget.removeClass("jp-PropertyInspector-content"),e.removeWidget(e.widget)),t||(t=this._placeholder),t.addClass("jp-PropertyInspector-content"),e.widget=t}showPanel(){this._labshell.activateById(this.id)}_onShellCurrentChanged(){const t=this.currentWidget;if(!t)return void this.setContent(null);const e=this._labshell.currentWidget;(null==e?void 0:e.node.contains(t.node))?this.refresh():this.setContent(null)}}var l;!function(t){t.PropertyInspector=class{constructor(t){this._isDisposed=!1,this._content=null,this._owner=null,this._onAction=new o.Signal(this),this._owner=t}get owner(){return this._owner}get content(){return this._content}get isDisposed(){return this._isDisposed}get onAction(){return this._onAction}showPanel(){this._isDisposed||this._onAction.emit("show-panel")}render(t){this._isDisposed||(t instanceof i.Widget?this._content=t:this._content=r.ReactWidget.create(t),this._onAction.emit("content"))}dispose(){this._isDisposed||(this._isDisposed=!0,this._content=null,this._owner=null,o.Signal.clearData(this))}}}(l||(l={}))}}]);
|