浏览代码

Export ILayoutRestorer et alia in @jupyterlab/apputils.

Afshin Darian 8 年之前
父节点
当前提交
8eedf07fac

+ 1 - 1
src/about-extension/index.ts

@@ -15,7 +15,7 @@ import {
 
 import {
   ILayoutRestorer
-} from '../apputils/layoutrestorer';
+} from '../apputils';
 
 import {
   AboutModel, AboutWidget

+ 1 - 1
src/application/instancetracker.ts

@@ -31,7 +31,7 @@ import {
 
 import {
   ILayoutRestorer
-} from '../apputils/layoutrestorer';
+} from '../apputils';
 
 import {
   IStateDB

+ 1 - 0
src/apputils/index.ts

@@ -7,6 +7,7 @@ export * from './domutils';
 export * from './hoverbox';
 export * from './iframe';
 export * from './jsoneditor';
+export * from './layoutrestorer';
 export * from './sanitizer';
 export * from './styling';
 export * from './vdom';

+ 1 - 1
src/commandpalette/plugin.ts

@@ -17,7 +17,7 @@ import {
 
 import {
   ILayoutRestorer
-} from '../apputils/layoutrestorer';
+} from '../apputils';
 
 import {
   CommandIDs, ICommandPalette, IPaletteItem

+ 1 - 5
src/console/plugin.ts

@@ -30,7 +30,7 @@ import {
 } from '../coreutils';
 
 import {
-  showDialog, Dialog
+  Dialog, ILayoutRestorer, showDialog
 } from '../apputils';
 
 import {
@@ -41,10 +41,6 @@ import {
   IPathTracker
 } from '../filebrowser';
 
-import {
-  ILayoutRestorer
-} from '../apputils/layoutrestorer';
-
 import {
   IMainMenu
 } from '../mainmenu';

+ 4 - 4
src/csvwidget/plugin.ts

@@ -5,6 +5,10 @@ import {
   InstanceTracker, JupyterLab, JupyterLabPlugin
 } from '../application';
 
+import {
+  ILayoutRestorer
+} from '../apputils';
+
 import {
   IDocumentRegistry
 } from '../docregistry';
@@ -13,10 +17,6 @@ import {
   CommandIDs as FileBrowserCommandIDs
 } from '../filebrowser';
 
-import {
-  ILayoutRestorer
-} from '../apputils/layoutrestorer';
-
 import {
   CSVWidget, CSVWidgetFactory
 } from './widget';

+ 1 - 1
src/editorwidget/plugin.ts

@@ -7,7 +7,7 @@ import {
 
 import {
   ILayoutRestorer
-} from '../apputils/layoutrestorer';
+} from '../apputils';
 
 import {
   IEditorServices

+ 1 - 1
src/filebrowser/plugin.ts

@@ -19,7 +19,7 @@ import {
 
 import {
   ILayoutRestorer
-} from '../apputils/layoutrestorer';
+} from '../apputils';
 
 import {
   ICommandPalette

+ 1 - 5
src/help-extension/index.ts

@@ -18,11 +18,7 @@ import {
 } from '../application';
 
 import {
-  ILayoutRestorer
-} from '../apputils/layoutrestorer';
-
-import {
-  IFrameWidget
+  IFrameWidget, ILayoutRestorer
 } from '../apputils';
 
 import {

+ 1 - 1
src/imagewidget/plugin.ts

@@ -7,7 +7,7 @@ import {
 
 import {
   ILayoutRestorer
-} from '../apputils/layoutrestorer';
+} from '../apputils';
 
 import {
   ICommandPalette

+ 1 - 1
src/inspector/plugin.ts

@@ -7,7 +7,7 @@ import {
 
 import {
   ILayoutRestorer
-} from '../apputils/layoutrestorer';
+} from '../apputils';
 
 import {
   ICommandPalette

+ 1 - 1
src/landing-extension/index.ts

@@ -7,7 +7,7 @@ import {
 
 import {
   ILayoutRestorer
-} from '../apputils/layoutrestorer';
+} from '../apputils';
 
 import {
   ICommandPalette

+ 1 - 1
src/launcher/plugin.ts

@@ -7,7 +7,7 @@ import {
 
 import {
   ILayoutRestorer
-} from '../apputils/layoutrestorer';
+} from '../apputils';
 
 import {
   ICommandLinker

+ 1 - 1
src/markdownwidget/plugin.ts

@@ -7,7 +7,7 @@ import {
 
 import {
   ILayoutRestorer
-} from '../apputils/layoutrestorer';
+} from '../apputils';
 
 import {
   IDocumentRegistry

+ 1 - 1
src/notebook/plugin.ts

@@ -15,7 +15,7 @@ import {
 
 import {
   ILayoutRestorer
-} from '../apputils/layoutrestorer';
+} from '../apputils';
 
 import {
   IEditorServices

+ 1 - 1
src/running/plugin.ts

@@ -7,7 +7,7 @@ import {
 
 import {
   ILayoutRestorer
-} from '../apputils/layoutrestorer';
+} from '../apputils';
 
 import {
   CommandIDs as ConsoleCommandIDs

+ 1 - 1
src/terminal/plugin.ts

@@ -12,7 +12,7 @@ import {
 
 import {
   ILayoutRestorer
-} from '../apputils/layoutrestorer';
+} from '../apputils';
 
 import {
   ICommandPalette