@difizen/libro-jupyter 0.3.4 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/es/add-between-cell/add-between-cell-command-contribution.d.ts +2 -2
  2. package/es/add-between-cell/add-between-cell-command-contribution.d.ts.map +1 -1
  3. package/es/add-between-cell/add-between-cell-command-contribution.js +1 -1
  4. package/es/add-between-cell/add-between-cell.js +2 -2
  5. package/es/add-between-cell/module.d.ts +1 -1
  6. package/es/add-between-cell/module.d.ts.map +1 -1
  7. package/es/add-between-cell/module.js +1 -1
  8. package/es/cell/jupyter-code-cell-model.d.ts +1 -1
  9. package/es/cell/jupyter-code-cell-model.d.ts.map +1 -1
  10. package/es/cell/jupyter-code-cell-model.js +2 -2
  11. package/es/cell/jupyter-code-cell-view.js +4 -4
  12. package/es/command/command-contribution.d.ts +2 -2
  13. package/es/command/command-contribution.d.ts.map +1 -1
  14. package/es/command/command-contribution.js +1 -1
  15. package/es/command/keybinding-contribution.d.ts +1 -1
  16. package/es/command/keybinding-contribution.d.ts.map +1 -1
  17. package/es/command/keybinding-contribution.js +1 -1
  18. package/es/components/cell-execution-tip.js +2 -2
  19. package/es/components/cell-input-bottom-blank.js +1 -1
  20. package/es/components/cell-output-bottom-blank.js +1 -1
  21. package/es/components/icons.d.ts +1 -1
  22. package/es/components/icons.d.ts.map +1 -1
  23. package/es/components/icons.js +1 -1
  24. package/es/config/config-contribution.d.ts +3 -3
  25. package/es/config/config-contribution.d.ts.map +1 -1
  26. package/es/config/config-contribution.js +3 -3
  27. package/es/config/config.d.ts +1 -1
  28. package/es/config/config.d.ts.map +1 -1
  29. package/es/config/config.js +1 -1
  30. package/es/contents/content-contribution.js +2 -2
  31. package/es/contents/save-content-contribution.d.ts +1 -1
  32. package/es/contents/save-content-contribution.d.ts.map +1 -1
  33. package/es/contents/save-content-contribution.js +1 -1
  34. package/es/file/file-color-registry.d.ts +2 -2
  35. package/es/file/file-color-registry.d.ts.map +1 -1
  36. package/es/file/file-color-registry.js +2 -2
  37. package/es/file/file-command.d.ts +3 -3
  38. package/es/file/file-command.d.ts.map +1 -1
  39. package/es/file/file-command.js +3 -3
  40. package/es/file/file-create-modal-contribution.d.ts +2 -2
  41. package/es/file/file-create-modal-contribution.d.ts.map +1 -1
  42. package/es/file/file-create-modal-contribution.js +1 -1
  43. package/es/file/file-create-modal.d.ts +1 -1
  44. package/es/file/file-create-modal.d.ts.map +1 -1
  45. package/es/file/file-create-modal.js +4 -4
  46. package/es/file/file-createdir-modal-contribution.d.ts +2 -2
  47. package/es/file/file-createdir-modal-contribution.d.ts.map +1 -1
  48. package/es/file/file-createdir-modal-contribution.js +1 -1
  49. package/es/file/file-createdir-modal.d.ts +1 -1
  50. package/es/file/file-createdir-modal.d.ts.map +1 -1
  51. package/es/file/file-createdir-modal.js +5 -5
  52. package/es/file/file-name-alias.d.ts +1 -1
  53. package/es/file/file-name-alias.d.ts.map +1 -1
  54. package/es/file/file-name-alias.js +1 -1
  55. package/es/file/file-rename-modal-contribution.d.ts +2 -2
  56. package/es/file/file-rename-modal-contribution.d.ts.map +1 -1
  57. package/es/file/file-rename-modal-contribution.js +1 -1
  58. package/es/file/file-rename-modal.d.ts +1 -1
  59. package/es/file/file-rename-modal.d.ts.map +1 -1
  60. package/es/file/file-rename-modal.js +2 -2
  61. package/es/file/file-service.d.ts +3 -3
  62. package/es/file/file-service.d.ts.map +1 -1
  63. package/es/file/file-service.js +3 -3
  64. package/es/file/file-tree-label-provider.d.ts +2 -2
  65. package/es/file/file-tree-label-provider.d.ts.map +1 -1
  66. package/es/file/file-tree-label-provider.js +1 -1
  67. package/es/file/file-view/index.d.ts +2 -2
  68. package/es/file/file-view/index.d.ts.map +1 -1
  69. package/es/file/file-view/index.js +3 -3
  70. package/es/file/module.d.ts +1 -1
  71. package/es/file/module.d.ts.map +1 -1
  72. package/es/file/module.js +1 -1
  73. package/es/file/navigatable-view.d.ts +5 -5
  74. package/es/file/navigatable-view.d.ts.map +1 -1
  75. package/es/file/navigatable-view.js +3 -3
  76. package/es/file/open-handler-contribution.d.ts +3 -3
  77. package/es/file/open-handler-contribution.d.ts.map +1 -1
  78. package/es/file/open-handler-contribution.js +2 -2
  79. package/es/file/utils.js +1 -1
  80. package/es/index.d.ts +73 -0
  81. package/es/index.d.ts.map +1 -1
  82. package/es/index.js +12 -1
  83. package/es/keybind-instructions/keybind-instructions-contribution.d.ts +4 -4
  84. package/es/keybind-instructions/keybind-instructions-contribution.d.ts.map +1 -1
  85. package/es/keybind-instructions/keybind-instructions-contribution.js +4 -4
  86. package/es/keybind-instructions/keybind-instructions-icon.js +1 -1
  87. package/es/keybind-instructions/keybind-instructions-items.js +2 -2
  88. package/es/keybind-instructions/keybind-instructions-view.d.ts +2 -2
  89. package/es/keybind-instructions/keybind-instructions-view.d.ts.map +1 -1
  90. package/es/keybind-instructions/keybind-instructions-view.js +3 -3
  91. package/es/keybind-instructions/module.d.ts +1 -1
  92. package/es/keybind-instructions/module.d.ts.map +1 -1
  93. package/es/keybind-instructions/module.js +1 -1
  94. package/es/libro-jupyter-file-service.d.ts +3 -3
  95. package/es/libro-jupyter-file-service.d.ts.map +1 -1
  96. package/es/libro-jupyter-file-service.js +2 -2
  97. package/es/libro-jupyter-model.d.ts +2 -2
  98. package/es/libro-jupyter-model.d.ts.map +1 -1
  99. package/es/libro-jupyter-model.js +4 -4
  100. package/es/libro-jupyter-protocol.d.ts +1 -1
  101. package/es/libro-jupyter-protocol.d.ts.map +1 -1
  102. package/es/libro-jupyter-server-launch-manager.js +1 -1
  103. package/es/libro-jupyter-view.d.ts +1 -1
  104. package/es/libro-jupyter-view.d.ts.map +1 -1
  105. package/es/libro-jupyter-view.js +2 -2
  106. package/es/libro-jupyter-workspace.d.ts +2 -2
  107. package/es/libro-jupyter-workspace.d.ts.map +1 -1
  108. package/es/libro-jupyter-workspace.js +3 -3
  109. package/es/module-noeditor.d.ts +1 -1
  110. package/es/module-noeditor.d.ts.map +1 -1
  111. package/es/module-noeditor.js +1 -1
  112. package/es/module.d.ts +1 -1
  113. package/es/module.d.ts.map +1 -1
  114. package/es/module.js +1 -1
  115. package/es/output/libro-jupyter-outputarea.js +1 -1
  116. package/es/rendermime/module.d.ts +1 -1
  117. package/es/rendermime/module.d.ts.map +1 -1
  118. package/es/rendermime/module.js +1 -1
  119. package/es/rendermime/plotly-render.js +1 -1
  120. package/es/rendermime/plotly-rendermime-contribution.js +1 -1
  121. package/es/theme/color-registry.d.ts +2 -2
  122. package/es/theme/color-registry.d.ts.map +1 -1
  123. package/es/theme/color-registry.js +2 -2
  124. package/es/toolbar/kernel-selector-dropdown.d.ts.map +1 -1
  125. package/es/toolbar/kernel-selector-dropdown.js +2 -2
  126. package/es/toolbar/kernel-status-and-selector.js +2 -2
  127. package/es/toolbar/run-selector.js +2 -2
  128. package/es/toolbar/save-file-error-contribution.d.ts +2 -2
  129. package/es/toolbar/save-file-error-contribution.d.ts.map +1 -1
  130. package/es/toolbar/save-file-error-contribution.js +1 -1
  131. package/es/toolbar/save-file-error.d.ts +1 -1
  132. package/es/toolbar/save-file-error.d.ts.map +1 -1
  133. package/es/toolbar/save-file-error.js +2 -2
  134. package/es/toolbar/side-toolbar-run-selector.d.ts.map +1 -1
  135. package/es/toolbar/side-toolbar-run-selector.js +2 -2
  136. package/es/toolbar/toolbar-contribution.d.ts +2 -2
  137. package/es/toolbar/toolbar-contribution.d.ts.map +1 -1
  138. package/es/toolbar/toolbar-contribution.js +4 -4
  139. package/es/utils/index.js +1 -1
  140. package/es/widget/box/contribution.d.ts +1 -1
  141. package/es/widget/box/contribution.d.ts.map +1 -1
  142. package/es/widget/box/contribution.js +1 -1
  143. package/es/widget/box/view.js +1 -1
  144. package/es/widget/comm.js +1 -1
  145. package/es/widget/instance-progress/contribution.d.ts +1 -1
  146. package/es/widget/instance-progress/contribution.d.ts.map +1 -1
  147. package/es/widget/instance-progress/contribution.js +1 -1
  148. package/es/widget/instance-progress/view.js +1 -1
  149. package/es/widget/libro-widgets.d.ts +3 -3
  150. package/es/widget/libro-widgets.d.ts.map +1 -1
  151. package/es/widget/libro-widgets.js +2 -2
  152. package/es/widget/module.d.ts +1 -1
  153. package/es/widget/module.d.ts.map +1 -1
  154. package/es/widget/module.js +1 -1
  155. package/es/widget/progress/contribution.d.ts +1 -1
  156. package/es/widget/progress/contribution.d.ts.map +1 -1
  157. package/es/widget/progress/contribution.js +1 -1
  158. package/es/widget/progress/view.js +1 -1
  159. package/es/widget/protocol.d.ts +1 -1
  160. package/es/widget/protocol.d.ts.map +1 -1
  161. package/es/widget/protocol.js +1 -1
  162. package/es/widget/widget-manager.d.ts +1 -1
  163. package/es/widget/widget-manager.d.ts.map +1 -1
  164. package/es/widget/widget-manager.js +1 -1
  165. package/es/widget/widget-render.js +1 -1
  166. package/es/widget/widget-rendermime-contribution.js +1 -1
  167. package/es/widget/widget-view-contribution.d.ts +1 -1
  168. package/es/widget/widget-view-contribution.d.ts.map +1 -1
  169. package/es/widget/widget-view-contribution.js +1 -1
  170. package/es/widget/widget-view.d.ts +2 -2
  171. package/es/widget/widget-view.d.ts.map +1 -1
  172. package/es/widget/widget-view.js +1 -1
  173. package/package.json +17 -19
  174. package/src/add-between-cell/add-between-cell-command-contribution.ts +2 -2
  175. package/src/add-between-cell/add-between-cell.tsx +2 -2
  176. package/src/add-between-cell/module.ts +1 -1
  177. package/src/cell/jupyter-code-cell-model.ts +2 -2
  178. package/src/cell/jupyter-code-cell-view.tsx +4 -4
  179. package/src/command/command-contribution.ts +2 -2
  180. package/src/command/keybinding-contribution.ts +1 -1
  181. package/src/components/cell-execution-tip.tsx +2 -2
  182. package/src/components/cell-input-bottom-blank.tsx +1 -1
  183. package/src/components/cell-output-bottom-blank.tsx +1 -1
  184. package/src/components/icons.tsx +1 -1
  185. package/src/config/config-contribution.ts +6 -3
  186. package/src/config/config.ts +2 -2
  187. package/src/contents/content-contribution.ts +2 -2
  188. package/src/contents/save-content-contribution.ts +1 -1
  189. package/src/file/file-color-registry.ts +3 -3
  190. package/src/file/file-command.tsx +4 -4
  191. package/src/file/file-create-modal-contribution.ts +1 -1
  192. package/src/file/file-create-modal.tsx +5 -5
  193. package/src/file/file-createdir-modal-contribution.ts +1 -1
  194. package/src/file/file-createdir-modal.tsx +6 -6
  195. package/src/file/file-name-alias.ts +2 -2
  196. package/src/file/file-rename-modal-contribution.ts +1 -1
  197. package/src/file/file-rename-modal.tsx +3 -3
  198. package/src/file/file-service.ts +4 -4
  199. package/src/file/file-tree-label-provider.ts +2 -2
  200. package/src/file/file-view/index.tsx +4 -4
  201. package/src/file/module.ts +1 -1
  202. package/src/file/navigatable-view.tsx +4 -4
  203. package/src/file/open-handler-contribution.ts +3 -3
  204. package/src/file/utils.ts +1 -1
  205. package/src/index.ts +10 -0
  206. package/src/keybind-instructions/keybind-instructions-contribution.tsx +5 -5
  207. package/src/keybind-instructions/keybind-instructions-icon.tsx +1 -1
  208. package/src/keybind-instructions/keybind-instructions-items.tsx +2 -2
  209. package/src/keybind-instructions/keybind-instructions-view.tsx +5 -5
  210. package/src/keybind-instructions/module.ts +1 -1
  211. package/src/libro-jupyter-file-service.ts +4 -4
  212. package/src/libro-jupyter-model.ts +4 -4
  213. package/src/libro-jupyter-protocol.ts +1 -1
  214. package/src/libro-jupyter-server-launch-manager.ts +1 -1
  215. package/src/libro-jupyter-view.tsx +2 -2
  216. package/src/libro-jupyter-workspace.ts +3 -3
  217. package/src/module-noeditor.ts +1 -1
  218. package/src/module.ts +1 -1
  219. package/src/output/libro-jupyter-outputarea.tsx +1 -1
  220. package/src/rendermime/module.ts +1 -1
  221. package/src/rendermime/plotly-render.tsx +1 -1
  222. package/src/rendermime/plotly-rendermime-contribution.ts +1 -1
  223. package/src/theme/color-registry.ts +3 -3
  224. package/src/toolbar/kernel-selector-dropdown.tsx +6 -2
  225. package/src/toolbar/kernel-status-and-selector.tsx +2 -2
  226. package/src/toolbar/run-selector.tsx +3 -3
  227. package/src/toolbar/save-file-error-contribution.ts +1 -1
  228. package/src/toolbar/save-file-error.tsx +3 -3
  229. package/src/toolbar/side-toolbar-run-selector.tsx +6 -2
  230. package/src/toolbar/toolbar-contribution.tsx +5 -5
  231. package/src/utils/index.ts +1 -1
  232. package/src/widget/box/contribution.ts +1 -1
  233. package/src/widget/box/view.tsx +1 -1
  234. package/src/widget/comm.ts +1 -1
  235. package/src/widget/instance-progress/contribution.ts +1 -1
  236. package/src/widget/instance-progress/view.tsx +1 -1
  237. package/src/widget/libro-widgets.ts +3 -3
  238. package/src/widget/module.ts +1 -1
  239. package/src/widget/progress/contribution.ts +1 -1
  240. package/src/widget/progress/view.tsx +1 -1
  241. package/src/widget/protocol.ts +1 -1
  242. package/src/widget/widget-manager.ts +6 -1
  243. package/src/widget/widget-render.tsx +1 -1
  244. package/src/widget/widget-rendermime-contribution.ts +1 -1
  245. package/src/widget/widget-view-contribution.ts +1 -1
  246. package/src/widget/widget-view.tsx +2 -2
@@ -1,10 +1,10 @@
1
1
  import type { INotebookContent } from '@difizen/libro-common';
2
2
  import type { IContentsModel } from '@difizen/libro-kernel';
3
3
  import { ServerManager, ContentsManager } from '@difizen/libro-kernel';
4
- import { Emitter } from '@difizen/mana-app';
5
- import { inject, singleton } from '@difizen/mana-app';
6
- import type { URI } from '@difizen/mana-app';
7
- import type { Event as ManaEvent } from '@difizen/mana-app';
4
+ import { Emitter } from '@difizen/libro-common/app';
5
+ import { inject, singleton } from '@difizen/libro-common/app';
6
+ import type { URI } from '@difizen/libro-common/app';
7
+ import type { Event as ManaEvent } from '@difizen/libro-common/app';
8
8
 
9
9
  import { LibroFileService } from './libro-jupyter-protocol.js';
10
10
 
@@ -10,10 +10,10 @@ import {
10
10
  } from '@difizen/libro-kernel';
11
11
  import type { IKernelConnection, ExecutableNotebookModel } from '@difizen/libro-kernel';
12
12
  import type { IContentsCheckpointModel, IContentsModel } from '@difizen/libro-kernel';
13
- import { getOrigin, ModalService, prop } from '@difizen/mana-app';
14
- import { Deferred } from '@difizen/mana-app';
15
- import { inject, transient } from '@difizen/mana-app';
16
- import { l10n } from '@difizen/mana-l10n';
13
+ import { getOrigin, ModalService, prop } from '@difizen/libro-common/app';
14
+ import { Deferred } from '@difizen/libro-common/app';
15
+ import { inject, transient } from '@difizen/libro-common/app';
16
+ import { l10n } from '@difizen/libro-common/l10n';
17
17
 
18
18
  import {
19
19
  ExecutedWithKernelCellModel,
@@ -7,7 +7,7 @@ import type {
7
7
  } from '@difizen/libro-common';
8
8
  import { ExecutableCellModel } from '@difizen/libro-core';
9
9
  import type { IContentsModel } from '@difizen/libro-kernel';
10
- import type { Event as ManaEvent, Emitter } from '@difizen/mana-app';
10
+ import type { Event as ManaEvent, Emitter } from '@difizen/libro-common/app';
11
11
 
12
12
  export interface ExecutionMeta extends PartialJSONObject {
13
13
  'shell.execute_reply.started': string; // Kernel 开始执行任务时间在 metadata 中的 key
@@ -1,5 +1,5 @@
1
1
  import { ServerManager, ServerConnection } from '@difizen/libro-kernel';
2
- import { inject, singleton } from '@difizen/mana-app';
2
+ import { inject, singleton } from '@difizen/libro-common/app';
3
3
 
4
4
  import { ServerLaunchManager } from './libro-jupyter-protocol.js';
5
5
 
@@ -2,8 +2,8 @@ import type { NotebookOption } from '@difizen/libro-core';
2
2
  import { VirtualizedManagerHelper } from '@difizen/libro-core';
3
3
  import { CollapseServiceFactory, NotebookService } from '@difizen/libro-core';
4
4
  import { LibroView, notebookViewFactoryId } from '@difizen/libro-core';
5
- import { URI, view, ViewOption } from '@difizen/mana-app';
6
- import { inject, transient } from '@difizen/mana-app';
5
+ import { URI, view, ViewOption } from '@difizen/libro-common/app';
6
+ import { inject, transient } from '@difizen/libro-common/app';
7
7
 
8
8
  import type { LibroJupyterModel } from './libro-jupyter-model.js';
9
9
 
@@ -1,9 +1,9 @@
1
1
  import { URL } from '@difizen/libro-common';
2
2
  import { BaseWorkspaceService, ILibroWorkspaceService } from '@difizen/libro-core';
3
3
  import { ServerConnection, ServerManager } from '@difizen/libro-kernel';
4
- import { ApplicationContribution } from '@difizen/mana-app';
5
- import { URI } from '@difizen/mana-app';
6
- import { inject, singleton } from '@difizen/mana-app';
4
+ import { ApplicationContribution } from '@difizen/libro-common/app';
5
+ import { URI } from '@difizen/libro-common/app';
6
+ import { inject, singleton } from '@difizen/libro-common/app';
7
7
 
8
8
  interface JupyterWorkspaceData {
9
9
  rootUri: string;
@@ -22,7 +22,7 @@ import {
22
22
  import { RawCellModule } from '@difizen/libro-raw-cell';
23
23
  import { LibroSearchModule } from '@difizen/libro-search';
24
24
  import { SearchCodeCellModule } from '@difizen/libro-search-code-cell';
25
- import { ManaModule } from '@difizen/mana-app';
25
+ import { ManaModule } from '@difizen/libro-common/app';
26
26
 
27
27
  import { LibroBetweenCellModule } from './add-between-cell/index.js';
28
28
  import { JupyterCodeCellModel, JupyterCodeCellView } from './cell/index.js';
package/src/module.ts CHANGED
@@ -25,7 +25,7 @@ import {
25
25
  import { RawCellModule } from '@difizen/libro-raw-cell';
26
26
  import { LibroSearchModule } from '@difizen/libro-search';
27
27
  import { SearchCodeCellModule } from '@difizen/libro-search-code-cell';
28
- import { ManaModule } from '@difizen/mana-app';
28
+ import { ManaModule } from '@difizen/libro-common/app';
29
29
 
30
30
  import { LibroBetweenCellModule } from './add-between-cell/index.js';
31
31
  import { JupyterCodeCellModel, JupyterCodeCellView } from './cell/index.js';
@@ -15,7 +15,7 @@ import {
15
15
  isStreamMsg,
16
16
  isUpdateDisplayDataMsg,
17
17
  } from '@difizen/libro-kernel';
18
- import { inject, transient, view, ViewOption } from '@difizen/mana-app';
18
+ import { inject, transient, view, ViewOption } from '@difizen/libro-common/app';
19
19
 
20
20
  @transient()
21
21
  @view('libro-output-area')
@@ -1,4 +1,4 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
 
3
3
  import { LibroPlotlyMimeTypeContribution } from './plotly-rendermime-contribution.js';
4
4
 
@@ -1,7 +1,7 @@
1
1
  import type { BaseOutputView } from '@difizen/libro-core';
2
2
  import type { IRenderMimeRegistry } from '@difizen/libro-rendermime';
3
3
  import { RenderMimeRegistry } from '@difizen/libro-rendermime';
4
- import { useInject } from '@difizen/mana-app';
4
+ import { useInject } from '@difizen/libro-common/app';
5
5
  import { useEffect, useRef } from 'react';
6
6
  import type { FC } from 'react';
7
7
 
@@ -1,5 +1,5 @@
1
1
  import { RenderMimeContribution } from '@difizen/libro-rendermime';
2
- import { singleton } from '@difizen/mana-app';
2
+ import { singleton } from '@difizen/libro-common/app';
3
3
 
4
4
  import { PlotlyRender } from './plotly-render.js';
5
5
 
@@ -1,6 +1,6 @@
1
- import type { ColorRegistry } from '@difizen/mana-app';
2
- import { Color, ColorContribution } from '@difizen/mana-app';
3
- import { singleton } from '@difizen/mana-app';
1
+ import type { ColorRegistry } from '@difizen/libro-common/app';
2
+ import { Color, ColorContribution } from '@difizen/libro-common/app';
3
+ import { singleton } from '@difizen/libro-common/app';
4
4
 
5
5
  @singleton({ contrib: ColorContribution })
6
6
  export class LibroJupyterColorContribution implements ColorContribution {
@@ -1,8 +1,12 @@
1
1
  import { CaretDownOutlined } from '@ant-design/icons';
2
2
  import type { LibroView } from '@difizen/libro-core';
3
3
  import { LibroKernelConnectionManager, KernelSpecManager } from '@difizen/libro-kernel';
4
- import { ConfigurationService, useInject, ViewInstance } from '@difizen/mana-app';
5
- import { l10n } from '@difizen/mana-l10n';
4
+ import {
5
+ ConfigurationService,
6
+ useInject,
7
+ ViewInstance,
8
+ } from '@difizen/libro-common/app';
9
+ import { l10n } from '@difizen/libro-common/l10n';
6
10
  import { Dropdown, Space } from 'antd';
7
11
  import type { MenuProps } from 'antd';
8
12
  import { useCallback, useEffect, useState } from 'react';
@@ -1,8 +1,8 @@
1
1
  import { LoadingOutlined, StopOutlined } from '@ant-design/icons';
2
2
  import type { LibroView } from '@difizen/libro-core';
3
3
  import { ServerManager } from '@difizen/libro-kernel';
4
- import { useInject, ViewInstance } from '@difizen/mana-app';
5
- import { l10n } from '@difizen/mana-l10n';
4
+ import { useInject, ViewInstance } from '@difizen/libro-common/app';
5
+ import { l10n } from '@difizen/libro-common/l10n';
6
6
  import { Badge } from 'antd';
7
7
 
8
8
  import type { LibroJupyterModel } from '../libro-jupyter-model.js';
@@ -9,9 +9,9 @@ import {
9
9
  CommandRegistry,
10
10
  ViewInstance,
11
11
  ConfigurationService,
12
- } from '@difizen/mana-app';
13
- import type { Toolbar } from '@difizen/mana-app';
14
- import { l10n } from '@difizen/mana-l10n';
12
+ } from '@difizen/libro-common/app';
13
+ import type { Toolbar } from '@difizen/libro-common/app';
14
+ import { l10n } from '@difizen/libro-common/l10n';
15
15
  import { Menu, Dropdown, Tooltip } from 'antd';
16
16
  import type { MenuProps } from 'antd';
17
17
  import { useEffect, useState } from 'react';
@@ -1,4 +1,4 @@
1
- import { ModalContribution, singleton } from '@difizen/mana-app';
1
+ import { ModalContribution, singleton } from '@difizen/libro-common/app';
2
2
 
3
3
  import { SaveFileErrorModal } from './save-file-error.js';
4
4
 
@@ -1,7 +1,7 @@
1
1
  import type { LibroView } from '@difizen/libro-core';
2
- import type { ModalItemProps, ModalItem } from '@difizen/mana-app';
3
- import { ThemeService } from '@difizen/mana-app';
4
- import { useInject, ViewInstance } from '@difizen/mana-app';
2
+ import type { ModalItemProps, ModalItem } from '@difizen/libro-common/app';
3
+ import { ThemeService } from '@difizen/libro-common/app';
4
+ import { useInject, ViewInstance } from '@difizen/libro-common/app';
5
5
  import { ConfigProvider, Modal, theme } from 'antd';
6
6
 
7
7
  import type { LibroJupyterModel } from '../libro-jupyter-model.js';
@@ -2,8 +2,12 @@ import { PlayCircleOutlined } from '@ant-design/icons';
2
2
  import type { LibroSideToolbarMenuItemType, LibroView } from '@difizen/libro-core';
3
3
  import { NotebookCommands, LibroSideToolbarMenu } from '@difizen/libro-core';
4
4
  import { ServerManager } from '@difizen/libro-kernel';
5
- import { ConfigurationService, useInject, ViewInstance } from '@difizen/mana-app';
6
- import { l10n } from '@difizen/mana-l10n';
5
+ import {
6
+ ConfigurationService,
7
+ useInject,
8
+ ViewInstance,
9
+ } from '@difizen/libro-common/app';
10
+ import { l10n } from '@difizen/libro-common/l10n';
7
11
  import { Popover, Tooltip } from 'antd';
8
12
  import { useEffect, useState } from 'react';
9
13
 
@@ -1,9 +1,9 @@
1
1
  import { KernelCommands, NotebookCommands } from '@difizen/libro-core';
2
- import type { ToolbarRegistry } from '@difizen/mana-app';
3
- import { singleton, inject, ToolbarContribution } from '@difizen/mana-app';
4
- import { l10n } from '@difizen/mana-l10n';
2
+ import type { ToolbarRegistry } from '@difizen/libro-common/app';
3
+ import { singleton, inject, ToolbarContribution } from '@difizen/libro-common/app';
4
+ import { l10n } from '@difizen/libro-common/l10n';
5
5
 
6
- import { Location } from '../components/icons.js';
6
+ import { LocationIcon } from '../components/icons.js';
7
7
  import { KernelStatusAndSelectorProvider } from '../libro-jupyter-protocol.js';
8
8
 
9
9
  import { RunSelector } from './run-selector.js';
@@ -48,7 +48,7 @@ export class LibroJupyterToolbarContribution implements ToolbarContribution {
48
48
 
49
49
  registry.registerItem({
50
50
  id: NotebookCommands['SelectLastRunCell'].id,
51
- icon: Location,
51
+ icon: LocationIcon,
52
52
  command: NotebookCommands['SelectLastRunCell'].id,
53
53
  group: ['group2'],
54
54
  order: 'b',
@@ -1,6 +1,6 @@
1
1
  import type { CellModel } from '@difizen/libro-core';
2
2
  import type { ServerManager } from '@difizen/libro-kernel';
3
- import { l10n } from '@difizen/mana-l10n';
3
+ import { l10n } from '@difizen/libro-common/l10n';
4
4
  import { duration } from 'moment';
5
5
 
6
6
  import { LibroJupyterModel } from '../libro-jupyter-model.js';
@@ -1,4 +1,4 @@
1
- import { ViewManager, inject, singleton } from '@difizen/mana-app';
1
+ import { ViewManager, inject, singleton } from '@difizen/libro-common/app';
2
2
 
3
3
  import type { IWidgetViewProps } from '../protocol.js';
4
4
  import { WidgetViewContribution } from '../protocol.js';
@@ -10,7 +10,7 @@ import {
10
10
  ViewOption,
11
11
  ViewRender,
12
12
  getOrigin,
13
- } from '@difizen/mana-app';
13
+ } from '@difizen/libro-common/app';
14
14
  import { forwardRef } from 'react';
15
15
 
16
16
  import type { IWidgets, IWidgetViewProps, WidgetState } from '../protocol.js';
@@ -1,6 +1,6 @@
1
1
  import type { JSONObject } from '@difizen/libro-common';
2
2
  import type { IComm, IKernelConnection, IShellFuture } from '@difizen/libro-kernel';
3
- import { inject, transient } from '@difizen/mana-app';
3
+ import { inject, transient } from '@difizen/libro-common/app';
4
4
 
5
5
  import type { ICallbacks, IClassicComm } from './protocol.js';
6
6
  import { WidgetCommOption } from './protocol.js';
@@ -1,4 +1,4 @@
1
- import { ViewManager, inject, singleton } from '@difizen/mana-app';
1
+ import { ViewManager, inject, singleton } from '@difizen/libro-common/app';
2
2
 
3
3
  import type { IWidgetViewProps } from '../protocol.js';
4
4
  import { WidgetViewContribution } from '../protocol.js';
@@ -8,7 +8,7 @@ import {
8
8
  transient,
9
9
  inject,
10
10
  prop,
11
- } from '@difizen/mana-app';
11
+ } from '@difizen/libro-common/app';
12
12
  import { forwardRef } from 'react';
13
13
 
14
14
  import type { IWidgetViewProps } from '../protocol.js';
@@ -1,8 +1,8 @@
1
1
  import type { JSONObject } from '@difizen/libro-common';
2
2
  import type { IKernelConnection, KernelMessage } from '@difizen/libro-kernel';
3
- import type { Contribution } from '@difizen/mana-app';
4
- import { contrib, inject, Priority, prop, transient } from '@difizen/mana-app';
5
- import { Emitter } from '@difizen/mana-app';
3
+ import type { Contribution } from '@difizen/libro-common/app';
4
+ import { contrib, inject, Priority, prop, transient } from '@difizen/libro-common/app';
5
+ import { Emitter } from '@difizen/libro-common/app';
6
6
 
7
7
  import type { Comm } from './comm.js';
8
8
  import type {
@@ -1,5 +1,5 @@
1
1
  import { LibroKernelManageModule } from '@difizen/libro-kernel';
2
- import { ManaModule } from '@difizen/mana-app';
2
+ import { ManaModule } from '@difizen/libro-common/app';
3
3
 
4
4
  import { VBoxWidget, VBoxWidgetContribution } from './box/index.js';
5
5
  import { Comm } from './comm.js';
@@ -1,4 +1,4 @@
1
- import { ViewManager, inject, singleton } from '@difizen/mana-app';
1
+ import { ViewManager, inject, singleton } from '@difizen/libro-common/app';
2
2
 
3
3
  import type { IWidgetViewProps } from '../protocol.js';
4
4
  import { WidgetViewContribution } from '../protocol.js';
@@ -8,7 +8,7 @@ import {
8
8
  ViewInstance,
9
9
  inject,
10
10
  prop,
11
- } from '@difizen/mana-app';
11
+ } from '@difizen/libro-common/app';
12
12
  import { forwardRef } from 'react';
13
13
 
14
14
  import type { IWidgetViewProps, WidgetState } from '../protocol.js';
@@ -1,6 +1,6 @@
1
1
  import type { JSONObject, JSONValue } from '@difizen/libro-common';
2
2
  import type { IComm, IKernelConnection, KernelMessage } from '@difizen/libro-kernel';
3
- import { Syringe } from '@difizen/mana-app';
3
+ import { Syringe } from '@difizen/libro-common/app';
4
4
 
5
5
  import type { WidgetView } from './widget-view.js';
6
6
 
@@ -1,7 +1,12 @@
1
1
  import { LibroService } from '@difizen/libro-core';
2
2
  import type { IKernelConnection } from '@difizen/libro-kernel';
3
3
  import { KernelConnection, LibroKernelManager } from '@difizen/libro-kernel';
4
- import { inject, prop, singleton, ApplicationContribution } from '@difizen/mana-app';
4
+ import {
5
+ inject,
6
+ prop,
7
+ singleton,
8
+ ApplicationContribution,
9
+ } from '@difizen/libro-common/app';
5
10
 
6
11
  import type { LibroWidgets } from './libro-widgets.js';
7
12
  import { LibroWidgetsFactory } from './protocol.js';
@@ -7,7 +7,7 @@ import {
7
7
  useObserve,
8
8
  ViewInstance,
9
9
  ViewRender,
10
- } from '@difizen/mana-app';
10
+ } from '@difizen/libro-common/app';
11
11
  import React from 'react';
12
12
 
13
13
  import './index.less';
@@ -1,6 +1,6 @@
1
1
  import type { BaseOutputView } from '@difizen/libro-core';
2
2
  import { RenderMimeContribution } from '@difizen/libro-rendermime';
3
- import { inject, singleton } from '@difizen/mana-app';
3
+ import { inject, singleton } from '@difizen/libro-common/app';
4
4
 
5
5
  import { LibroJupyterModel } from '../libro-jupyter-model.js';
6
6
 
@@ -1,4 +1,4 @@
1
- import { ViewManager, inject, singleton } from '@difizen/mana-app';
1
+ import { ViewManager, inject, singleton } from '@difizen/libro-common/app';
2
2
 
3
3
  import type { IWidgetViewProps } from './protocol.js';
4
4
  import { WidgetViewContribution } from './protocol.js';
@@ -11,8 +11,8 @@ import {
11
11
  BaseView,
12
12
  prop,
13
13
  watch,
14
- } from '@difizen/mana-app';
15
- import type { ViewComponent, Disposable } from '@difizen/mana-app';
14
+ } from '@difizen/libro-common/app';
15
+ import type { ViewComponent, Disposable } from '@difizen/libro-common/app';
16
16
  import { forwardRef } from 'react';
17
17
 
18
18
  import { LibroJupyterModel } from '../libro-jupyter-model.js';