notebook 7.4.0a3__py3-none-any.whl → 7.4.0b0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of notebook might be problematic. Click here for more details.

Files changed (116) hide show
  1. notebook/_version.py +1 -1
  2. notebook/static/{131.ae628045345ebd7a085c.js → 131.c728b25b3e9d5fbfed0e.js} +3 -3
  3. notebook/static/{131.ae628045345ebd7a085c.js.map → 131.c728b25b3e9d5fbfed0e.js.map} +1 -1
  4. notebook/static/{1650.bf80791e0e3f54872ac5.js → 1650.3994c2ae58820a51ef6e.js} +4 -4
  5. notebook/static/{1650.bf80791e0e3f54872ac5.js.map → 1650.3994c2ae58820a51ef6e.js.map} +1 -1
  6. notebook/static/{1684.b03906c1c6c0672e21f7.js → 1684.ffb57250d6932201e986.js} +5 -5
  7. notebook/static/{1684.b03906c1c6c0672e21f7.js.map → 1684.ffb57250d6932201e986.js.map} +1 -1
  8. notebook/static/{2065.e9b5d8d0a8bec3304454.js → 2065.4ca1081010e8ed491cb3.js} +3 -3
  9. notebook/static/{2065.e9b5d8d0a8bec3304454.js.map → 2065.4ca1081010e8ed491cb3.js.map} +1 -1
  10. notebook/static/{2666.4477d99b147b7777234b.js → 2666.39e11f71d749eca59f8e.js} +3 -3
  11. notebook/static/{2666.4477d99b147b7777234b.js.map → 2666.39e11f71d749eca59f8e.js.map} +1 -1
  12. notebook/static/{28.d9082b0cb6ca3ff21b41.js → 28.b5145a84e3a511427e72.js} +3 -3
  13. notebook/static/{28.d9082b0cb6ca3ff21b41.js.map → 28.b5145a84e3a511427e72.js.map} +1 -1
  14. notebook/static/{3146.50775b118f3b16c03cf8.js → 3146.f7405571592f8081c229.js} +5 -5
  15. notebook/static/{3146.50775b118f3b16c03cf8.js.map → 3146.f7405571592f8081c229.js.map} +1 -1
  16. notebook/static/{3768.a5a265e9ca2e82ed6928.js → 3768.622e6043f171d5e91c22.js} +21 -21
  17. notebook/static/{3768.a5a265e9ca2e82ed6928.js.map → 3768.622e6043f171d5e91c22.js.map} +1 -1
  18. notebook/static/{3797.861e562685aa1e1621bb.js → 3797.ad30e7a4bf8dc994e5be.js} +2 -2
  19. notebook/static/{3797.861e562685aa1e1621bb.js.map → 3797.ad30e7a4bf8dc994e5be.js.map} +1 -1
  20. notebook/static/{4382.3a85250ee39fcf2c6af5.js → 4382.24932cb1b66431a2cfc7.js} +3 -3
  21. notebook/static/{4382.3a85250ee39fcf2c6af5.js.map → 4382.24932cb1b66431a2cfc7.js.map} +1 -1
  22. notebook/static/{4406.aa6e48d547067e1f6a24.js → 4406.02ce3b8ea2a22f9d7909.js} +4 -4
  23. notebook/static/{4406.aa6e48d547067e1f6a24.js.map → 4406.02ce3b8ea2a22f9d7909.js.map} +1 -1
  24. notebook/static/{4645.9f7eb49cdbd77d7702b9.js → 4645.f1cd6ed7dc083b4ee676.js} +5 -5
  25. notebook/static/{4645.9f7eb49cdbd77d7702b9.js.map → 4645.f1cd6ed7dc083b4ee676.js.map} +1 -1
  26. notebook/static/{4837.3c1870387da3d1a7e16f.js → 4837.ecf66262e53d123e977f.js} +5 -5
  27. notebook/static/{4837.3c1870387da3d1a7e16f.js.map → 4837.ecf66262e53d123e977f.js.map} +1 -1
  28. notebook/static/{4926.c68927936b855fd893c5.js → 4926.7abeef2c6f94f22366bf.js} +4 -4
  29. notebook/static/{4926.c68927936b855fd893c5.js.map → 4926.7abeef2c6f94f22366bf.js.map} +1 -1
  30. notebook/static/{6008.b4fc0ceb2a3939eb8b68.js → 4951.d8baaf3632bee27d4888.js} +2 -2
  31. notebook/static/{6008.b4fc0ceb2a3939eb8b68.js.map → 4951.d8baaf3632bee27d4888.js.map} +1 -1
  32. notebook/static/{5135.0ecfc3d3763bbc747bc9.js → 5135.6f146bc83223b0a367d6.js} +13 -13
  33. notebook/static/{5135.0ecfc3d3763bbc747bc9.js.map → 5135.6f146bc83223b0a367d6.js.map} +1 -1
  34. notebook/static/{5573.ab9d384a884e09658b03.js → 5573.5f13d58b4fb49bd20e96.js} +19 -19
  35. notebook/static/{5573.ab9d384a884e09658b03.js.map → 5573.5f13d58b4fb49bd20e96.js.map} +1 -1
  36. notebook/static/{5601.45182b85ab0e98caf471.js → 5601.67eaf59e4443e7464bbc.js} +5 -5
  37. notebook/static/{5601.45182b85ab0e98caf471.js.map → 5601.67eaf59e4443e7464bbc.js.map} +1 -1
  38. notebook/static/{6345.60be8a1c9a88eb9063fa.js → 6345.ca03ab559d7d152f0bcf.js} +5 -5
  39. notebook/static/{6345.60be8a1c9a88eb9063fa.js.map → 6345.ca03ab559d7d152f0bcf.js.map} +1 -1
  40. notebook/static/{7302.df6964b0415f9dbf5018.js → 7302.384fc5f4283ea3aba3cf.js} +21 -21
  41. notebook/static/{7302.df6964b0415f9dbf5018.js.map → 7302.384fc5f4283ea3aba3cf.js.map} +1 -1
  42. notebook/static/{7369.a065dc2ed2f56a44cb0f.js → 7369.5b8c5f78b70096907327.js} +3 -3
  43. notebook/static/{7369.a065dc2ed2f56a44cb0f.js.map → 7369.5b8c5f78b70096907327.js.map} +1 -1
  44. notebook/static/{7811.7bee8f65de06e5ed183f.js → 7811.fa11577c84ea92d4102c.js} +3 -3
  45. notebook/static/{7811.7bee8f65de06e5ed183f.js.map → 7811.fa11577c84ea92d4102c.js.map} +1 -1
  46. notebook/static/{7906.d7759de73aaa2293418f.js → 7906.0591558f697337e877b8.js} +3 -3
  47. notebook/static/{7906.d7759de73aaa2293418f.js.map → 7906.0591558f697337e877b8.js.map} +1 -1
  48. notebook/static/{7969.5667d549b02f2ff5a8da.js → 7969.0080840fce265b81a360.js} +3 -3
  49. notebook/static/{7969.5667d549b02f2ff5a8da.js.map → 7969.0080840fce265b81a360.js.map} +1 -1
  50. notebook/static/{8579.76faaf0e9b9c36ba1bb7.js → 8579.75044552fbfae5d3e169.js} +14 -14
  51. notebook/static/{8579.76faaf0e9b9c36ba1bb7.js.map → 8579.75044552fbfae5d3e169.js.map} +1 -1
  52. notebook/static/{8781.4bdd053da4416b9cdb7c.js → 8781.93ded0db04e1cace2f46.js} +57 -57
  53. notebook/static/{8781.4bdd053da4416b9cdb7c.js.map → 8781.93ded0db04e1cace2f46.js.map} +1 -1
  54. notebook/static/{8875.942df747b6be8432b432.js → 8875.55554006d7836a7e9685.js} +4 -4
  55. notebook/static/{8875.942df747b6be8432b432.js.map → 8875.55554006d7836a7e9685.js.map} +1 -1
  56. notebook/static/{8929.b5b29c25d0b317812054.js → 8929.52734b044aa837e7132d.js} +29 -3
  57. notebook/static/8929.52734b044aa837e7132d.js.map +1 -0
  58. notebook/static/{9068.b2842f92bbfa2dcb3045.js → 9068.903efe1a91c5838e0d91.js} +3 -3
  59. notebook/static/{9068.b2842f92bbfa2dcb3045.js.map → 9068.903efe1a91c5838e0d91.js.map} +1 -1
  60. notebook/static/{9380.6aaea3cf9ecd440f875d.js → 9380.ed0becd75cac76b98c1a.js} +5 -5
  61. notebook/static/{9380.6aaea3cf9ecd440f875d.js.map → 9380.ed0becd75cac76b98c1a.js.map} +1 -1
  62. notebook/static/main.65ae09d99829c70c593d.js +1179 -0
  63. notebook/static/main.65ae09d99829c70c593d.js.map +1 -0
  64. notebook/static/{notebook_core.0dfd038c4062400eb2f0.js → notebook_core.37d09340001fe2b154a6.js} +1387 -1055
  65. notebook/static/{notebook_core.0dfd038c4062400eb2f0.js.map → notebook_core.37d09340001fe2b154a6.js.map} +1 -1
  66. notebook/static/third-party-licenses.json +104 -104
  67. notebook/templates/consoles.html +1 -1
  68. notebook/templates/edit.html +1 -1
  69. notebook/templates/error.html +1 -1
  70. notebook/templates/notebooks.html +1 -1
  71. notebook/templates/terminals.html +1 -1
  72. notebook/templates/tree.html +1 -1
  73. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/package.json.orig +15 -15
  74. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +5 -5
  75. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/package.json.orig +7 -7
  76. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/package.json.orig +10 -10
  77. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/package.json.orig +16 -16
  78. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/package.json +12 -12
  79. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/package.json.orig +11 -11
  80. notebook-7.4.0a3.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/534.b1feb1e5dee752bdfe43.js → notebook-7.4.0b0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/507.64fd87004a86738ad850.js +1 -1
  81. notebook-7.4.0b0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.ad0301c36223355b3801.js +1 -0
  82. notebook-7.4.0b0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.2ba1817f535919acaab3.js +1 -0
  83. notebook-7.4.0b0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.8706c463a056a3aa7c83.js +1 -0
  84. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/third-party-licenses.json +2 -2
  85. {notebook-7.4.0a3.dist-info → notebook-7.4.0b0.dist-info}/METADATA +2 -2
  86. {notebook-7.4.0a3.dist-info → notebook-7.4.0b0.dist-info}/RECORD +110 -110
  87. notebook/static/8929.b5b29c25d0b317812054.js.map +0 -1
  88. notebook/static/main.c6908a870ddfdeca33c6.js +0 -1179
  89. notebook/static/main.c6908a870ddfdeca33c6.js.map +0 -1
  90. notebook-7.4.0a3.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.c029341adc38298144f0.js +0 -1
  91. notebook-7.4.0a3.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.c9dae1baa4490d650ce9.js +0 -1
  92. notebook-7.4.0a3.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.807cb03d0000bf5bc66c.js +0 -1
  93. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/etc/jupyter/jupyter_server_config.d/notebook.json +0 -0
  94. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/applications/jupyter-notebook.desktop +0 -0
  95. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/icons/hicolor/scalable/apps/notebook.svg +0 -0
  96. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
  97. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
  98. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json +0 -0
  99. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/title.json +0 -0
  100. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/top.json +0 -0
  101. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
  102. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/open.json +0 -0
  103. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
  104. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/edit-notebook-metadata.json +0 -0
  105. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/full-width-notebook.json +0 -0
  106. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
  107. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
  108. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -0
  109. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/widget.json +0 -0
  110. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/interface-switcher.json +0 -0
  111. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/launch-tree.json +0 -0
  112. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.eae3497dd223d842d198.js +0 -0
  113. {notebook-7.4.0a3.data → notebook-7.4.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/style.js +0 -0
  114. {notebook-7.4.0a3.dist-info → notebook-7.4.0b0.dist-info}/WHEEL +0 -0
  115. {notebook-7.4.0a3.dist-info → notebook-7.4.0b0.dist-info}/entry_points.txt +0 -0
  116. {notebook-7.4.0a3.dist-info → notebook-7.4.0b0.dist-info}/licenses/LICENSE +0 -0
@@ -8,11 +8,11 @@ __webpack_require__.r(__webpack_exports__);
8
8
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9
9
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
10
10
  /* harmony export */ });
11
- /* harmony import */ var _jupyterlab_coreutils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(34686);
11
+ /* harmony import */ var _jupyterlab_coreutils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3152);
12
12
  /* harmony import */ var _jupyterlab_coreutils__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_jupyterlab_coreutils__WEBPACK_IMPORTED_MODULE_0__);
13
- /* harmony import */ var _jupyterlab_docmanager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(48265);
13
+ /* harmony import */ var _jupyterlab_docmanager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14098);
14
14
  /* harmony import */ var _jupyterlab_docmanager__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_jupyterlab_docmanager__WEBPACK_IMPORTED_MODULE_1__);
15
- /* harmony import */ var _jupyter_notebook_application__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(95518);
15
+ /* harmony import */ var _jupyter_notebook_application__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(77448);
16
16
  /* harmony import */ var _jupyter_notebook_application__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_jupyter_notebook_application__WEBPACK_IMPORTED_MODULE_2__);
17
17
  /* harmony import */ var _lumino_signaling__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2159);
18
18
  /* harmony import */ var _lumino_signaling__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_lumino_signaling__WEBPACK_IMPORTED_MODULE_3__);
@@ -107,4 +107,4 @@ const plugins = [opener];
107
107
  /***/ })
108
108
 
109
109
  }]);
110
- //# sourceMappingURL=8875.942df747b6be8432b432.js.map?v=942df747b6be8432b432
110
+ //# sourceMappingURL=8875.55554006d7836a7e9685.js.map?v=55554006d7836a7e9685
@@ -1 +1 @@
1
- {"version":3,"file":"8875.942df747b6be8432b432.js?v=942df747b6be8432b432","mappings":";;;;;;;;;;;;;;;;;;AAAA;AACA;AACoE;AACL;AACiD;AACrE;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,8EAAmB,EAAE,yEAAc;AAClD,cAAc,yEAAqB;AACnC;AACA;AACA,wBAAwB,6DAAU;AAClC;AACA,+GAA+G,oFAAyB;AACxI;AACA;AACA;AACA,mCAAmC,qDAAM;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,0DAAO;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA,gCAAgC,yDAAM;AACtC;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD,KAAK;AACzD;AACA;AACA;AACA;AACA;AACA;AACA,+DAA+D;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,iEAAe,OAAO,EAAC","sources":["webpack://_JUPYTERLAB.CORE_OUTPUT/../packages/docmanager-extension/lib/index.js"],"sourcesContent":["// Copyright (c) Jupyter Development Team.\n// Distributed under the terms of the Modified BSD License.\nimport { PageConfig, PathExt, URLExt } from '@jupyterlab/coreutils';\nimport { IDocumentWidgetOpener } from '@jupyterlab/docmanager';\nimport { INotebookPathOpener, INotebookShell, defaultNotebookPathOpener, } from '@jupyter-notebook/application';\nimport { Signal } from '@lumino/signaling';\n/**\n * A plugin to open documents in a new browser tab.\n *\n */\nconst opener = {\n id: '@jupyter-notebook/docmanager-extension:opener',\n autoStart: true,\n optional: [INotebookPathOpener, INotebookShell],\n provides: IDocumentWidgetOpener,\n description: 'Open documents in a new browser tab',\n activate: (app, notebookPathOpener, notebookShell) => {\n const baseUrl = PageConfig.getBaseUrl();\n const docRegistry = app.docRegistry;\n const pathOpener = notebookPathOpener !== null && notebookPathOpener !== void 0 ? notebookPathOpener : defaultNotebookPathOpener;\n let id = 0;\n return new (class {\n constructor() {\n this._opened = new Signal(this);\n }\n async open(widget, options) {\n var _a, _b, _c;\n const widgetName = (_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : '';\n const ref = options === null || options === void 0 ? void 0 : options.ref;\n // check if there is an setting override and if it would add the widget in the main area\n const userLayoutArea = (_c = (_b = notebookShell === null || notebookShell === void 0 ? void 0 : notebookShell.userLayout) === null || _b === void 0 ? void 0 : _b[widgetName]) === null || _c === void 0 ? void 0 : _c.area;\n if (ref !== '_noref' && userLayoutArea === undefined) {\n const path = widget.context.path;\n const ext = PathExt.extname(path);\n let route = 'edit';\n if ((widgetName === 'default' && ext === '.ipynb') ||\n widgetName.includes('Notebook')) {\n // make sure to save the notebook before opening it in a new tab\n // so the kernel info is saved (if created from the New dropdown)\n if (widget.context.sessionContext.kernelPreference.name) {\n await widget.context.save();\n }\n route = 'notebooks';\n }\n // append ?factory only if it's not the default\n const defaultFactory = docRegistry.defaultWidgetFactory(path);\n let searchParams = undefined;\n if (widgetName !== defaultFactory.name) {\n searchParams = new URLSearchParams({\n factory: widgetName,\n });\n }\n pathOpener.open({\n prefix: URLExt.join(baseUrl, route),\n path,\n searchParams,\n });\n // dispose the widget since it is not used on this page\n widget.dispose();\n return;\n }\n // otherwise open the document on the current page\n if (!widget.id) {\n widget.id = `document-manager-${++id}`;\n }\n widget.title.dataset = {\n type: 'document-title',\n ...widget.title.dataset,\n };\n if (!widget.isAttached) {\n app.shell.add(widget, 'main', options || {});\n }\n app.shell.activateById(widget.id);\n this._opened.emit(widget);\n }\n get opened() {\n return this._opened;\n }\n })();\n },\n};\n/**\n * Export the plugins as default.\n */\nconst plugins = [opener];\nexport default plugins;\n"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"8875.55554006d7836a7e9685.js?v=55554006d7836a7e9685","mappings":";;;;;;;;;;;;;;;;;;AAAA;AACA;AACoE;AACL;AACiD;AACrE;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,8EAAmB,EAAE,yEAAc;AAClD,cAAc,yEAAqB;AACnC;AACA;AACA,wBAAwB,6DAAU;AAClC;AACA,+GAA+G,oFAAyB;AACxI;AACA;AACA;AACA,mCAAmC,qDAAM;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,0DAAO;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA,gCAAgC,yDAAM;AACtC;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD,KAAK;AACzD;AACA;AACA;AACA;AACA;AACA;AACA,+DAA+D;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,iEAAe,OAAO,EAAC","sources":["webpack://_JUPYTERLAB.CORE_OUTPUT/../packages/docmanager-extension/lib/index.js"],"sourcesContent":["// Copyright (c) Jupyter Development Team.\n// Distributed under the terms of the Modified BSD License.\nimport { PageConfig, PathExt, URLExt } from '@jupyterlab/coreutils';\nimport { IDocumentWidgetOpener } from '@jupyterlab/docmanager';\nimport { INotebookPathOpener, INotebookShell, defaultNotebookPathOpener, } from '@jupyter-notebook/application';\nimport { Signal } from '@lumino/signaling';\n/**\n * A plugin to open documents in a new browser tab.\n *\n */\nconst opener = {\n id: '@jupyter-notebook/docmanager-extension:opener',\n autoStart: true,\n optional: [INotebookPathOpener, INotebookShell],\n provides: IDocumentWidgetOpener,\n description: 'Open documents in a new browser tab',\n activate: (app, notebookPathOpener, notebookShell) => {\n const baseUrl = PageConfig.getBaseUrl();\n const docRegistry = app.docRegistry;\n const pathOpener = notebookPathOpener !== null && notebookPathOpener !== void 0 ? notebookPathOpener : defaultNotebookPathOpener;\n let id = 0;\n return new (class {\n constructor() {\n this._opened = new Signal(this);\n }\n async open(widget, options) {\n var _a, _b, _c;\n const widgetName = (_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : '';\n const ref = options === null || options === void 0 ? void 0 : options.ref;\n // check if there is an setting override and if it would add the widget in the main area\n const userLayoutArea = (_c = (_b = notebookShell === null || notebookShell === void 0 ? void 0 : notebookShell.userLayout) === null || _b === void 0 ? void 0 : _b[widgetName]) === null || _c === void 0 ? void 0 : _c.area;\n if (ref !== '_noref' && userLayoutArea === undefined) {\n const path = widget.context.path;\n const ext = PathExt.extname(path);\n let route = 'edit';\n if ((widgetName === 'default' && ext === '.ipynb') ||\n widgetName.includes('Notebook')) {\n // make sure to save the notebook before opening it in a new tab\n // so the kernel info is saved (if created from the New dropdown)\n if (widget.context.sessionContext.kernelPreference.name) {\n await widget.context.save();\n }\n route = 'notebooks';\n }\n // append ?factory only if it's not the default\n const defaultFactory = docRegistry.defaultWidgetFactory(path);\n let searchParams = undefined;\n if (widgetName !== defaultFactory.name) {\n searchParams = new URLSearchParams({\n factory: widgetName,\n });\n }\n pathOpener.open({\n prefix: URLExt.join(baseUrl, route),\n path,\n searchParams,\n });\n // dispose the widget since it is not used on this page\n widget.dispose();\n return;\n }\n // otherwise open the document on the current page\n if (!widget.id) {\n widget.id = `document-manager-${++id}`;\n }\n widget.title.dataset = {\n type: 'document-title',\n ...widget.title.dataset,\n };\n if (!widget.isAttached) {\n app.shell.add(widget, 'main', options || {});\n }\n app.shell.activateById(widget.id);\n this._opened.emit(widget);\n }\n get opened() {\n return this._opened;\n }\n })();\n },\n};\n/**\n * Export the plugins as default.\n */\nconst plugins = [opener];\nexport default plugins;\n"],"names":[],"sourceRoot":""}
@@ -49,7 +49,7 @@ __webpack_require__.r(__webpack_exports__);
49
49
  /* harmony import */ var _lumino_algorithm__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_lumino_algorithm__WEBPACK_IMPORTED_MODULE_3__);
50
50
  /* harmony import */ var _lumino_signaling__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2159);
51
51
  /* harmony import */ var _lumino_signaling__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_lumino_signaling__WEBPACK_IMPORTED_MODULE_4__);
52
- /* harmony import */ var _lumino_widgets__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2260);
52
+ /* harmony import */ var _lumino_widgets__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(63367);
53
53
  /* harmony import */ var _lumino_widgets__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_lumino_widgets__WEBPACK_IMPORTED_MODULE_5__);
54
54
  /* harmony import */ var _lumino_messaging__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62633);
55
55
  /* harmony import */ var _lumino_messaging__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_lumino_messaging__WEBPACK_IMPORTED_MODULE_6__);
@@ -2351,6 +2351,7 @@ class BasicMouseHandler {
2351
2351
  * @param event - The mouse up event of interest.
2352
2352
  */
2353
2353
  onMouseDoubleClick(grid, event) {
2354
+ var _a, _b, _c;
2354
2355
  if (!grid.dataModel) {
2355
2356
  this.release();
2356
2357
  return;
@@ -2382,7 +2383,32 @@ class BasicMouseHandler {
2382
2383
  return;
2383
2384
  }
2384
2385
  }
2385
- grid.resizeColumn(colRegion, colIndex, null);
2386
+ const cs = (_a = grid.selectionModel) === null || _a === void 0 ? void 0 : _a.currentSelection();
2387
+ const cv = grid.currentViewport;
2388
+ const rowCount = (_c = (_b = grid.selectionModel) === null || _b === void 0 ? void 0 : _b.dataModel.rowCount('body')) !== null && _c !== void 0 ? _c : 0;
2389
+ if (colRegion == 'body' &&
2390
+ cs != null &&
2391
+ cv != null &&
2392
+ cs.r1 == 0 &&
2393
+ cs.r2 == rowCount - 1) {
2394
+ // One or more columns are selected
2395
+ let c1 = Math.max(Math.min(cs.c1, cs.c2), cv.firstColumn);
2396
+ let c2 = Math.min(Math.max(cs.c1, cs.c2), cv.lastColumn);
2397
+ if (c1 <= colIndex && colIndex <= c2) {
2398
+ // When we double-click one of the selected column headers, resize all visible selected columns.
2399
+ for (let ci = c1; ci <= c2; ci++) {
2400
+ grid.resizeColumn(colRegion, ci, null);
2401
+ }
2402
+ }
2403
+ else {
2404
+ // When we double-click the column header outside the selection, resize only the clicked column.
2405
+ grid.resizeColumn(colRegion, colIndex, null);
2406
+ }
2407
+ }
2408
+ else {
2409
+ // When no columns are selected, resize only the clicked column.
2410
+ grid.resizeColumn(colRegion, colIndex, null);
2411
+ }
2386
2412
  }
2387
2413
  }
2388
2414
  if (region === 'body') {
@@ -11555,4 +11581,4 @@ ImageRenderer.dataCache = new Map();
11555
11581
  /***/ })
11556
11582
 
11557
11583
  }]);
11558
- //# sourceMappingURL=8929.b5b29c25d0b317812054.js.map?v=b5b29c25d0b317812054
11584
+ //# sourceMappingURL=8929.52734b044aa837e7132d.js.map?v=52734b044aa837e7132d