@difizen/libro-lab 0.3.16 → 1.0.1

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 (182) hide show
  1. package/es/command/lab-menu-contribution.d.ts +4 -4
  2. package/es/command/lab-menu-contribution.d.ts.map +1 -1
  3. package/es/command/lab-menu-contribution.js +5 -5
  4. package/es/command/menu-bar-view.d.ts +1 -1
  5. package/es/command/menu-bar-view.d.ts.map +1 -1
  6. package/es/command/menu-bar-view.js +2 -2
  7. package/es/command/module.d.ts +1 -1
  8. package/es/command/module.d.ts.map +1 -1
  9. package/es/command/module.js +1 -1
  10. package/es/config/config-contribution.d.ts +2 -2
  11. package/es/config/config-contribution.d.ts.map +1 -1
  12. package/es/config/config-contribution.js +3 -3
  13. package/es/config/config.d.ts +1 -1
  14. package/es/config/config.d.ts.map +1 -1
  15. package/es/config/config.js +1 -1
  16. package/es/editor-viewer/code-editor-open-handler.d.ts +4 -4
  17. package/es/editor-viewer/code-editor-open-handler.d.ts.map +1 -1
  18. package/es/editor-viewer/code-editor-open-handler.js +3 -3
  19. package/es/editor-viewer/code-editor-viewer.d.ts +5 -5
  20. package/es/editor-viewer/code-editor-viewer.d.ts.map +1 -1
  21. package/es/editor-viewer/code-editor-viewer.js +4 -4
  22. package/es/editor-viewer/json-langauge.js +1 -1
  23. package/es/editor-viewer/julia-language.js +1 -1
  24. package/es/editor-viewer/libro-default-open-handler.d.ts +3 -3
  25. package/es/editor-viewer/libro-default-open-handler.d.ts.map +1 -1
  26. package/es/editor-viewer/libro-default-open-handler.js +2 -2
  27. package/es/editor-viewer/libro-default-viewer.d.ts +3 -3
  28. package/es/editor-viewer/libro-default-viewer.d.ts.map +1 -1
  29. package/es/editor-viewer/libro-default-viewer.js +3 -3
  30. package/es/editor-viewer/module.d.ts +1 -1
  31. package/es/editor-viewer/module.d.ts.map +1 -1
  32. package/es/editor-viewer/module.js +1 -1
  33. package/es/editor-viewer/r-language.js +1 -1
  34. package/es/github-link/index.d.ts +1 -1
  35. package/es/github-link/index.d.ts.map +1 -1
  36. package/es/github-link/index.js +2 -2
  37. package/es/guide/content-contribution.js +3 -3
  38. package/es/guide/guide-view.d.ts +2 -2
  39. package/es/guide/guide-view.d.ts.map +1 -1
  40. package/es/guide/guide-view.js +3 -3
  41. package/es/image-viewer/module.d.ts +1 -1
  42. package/es/image-viewer/module.d.ts.map +1 -1
  43. package/es/image-viewer/module.js +1 -1
  44. package/es/image-viewer/open-handler.d.ts +3 -3
  45. package/es/image-viewer/open-handler.d.ts.map +1 -1
  46. package/es/image-viewer/open-handler.js +2 -2
  47. package/es/image-viewer/viewer.d.ts +3 -3
  48. package/es/image-viewer/viewer.d.ts.map +1 -1
  49. package/es/image-viewer/viewer.js +2 -2
  50. package/es/index.d.ts +82 -1
  51. package/es/index.d.ts.map +1 -1
  52. package/es/index.js +21 -2
  53. package/es/kernel-and-terminal-panel/collapse/collapse-content.js +1 -1
  54. package/es/kernel-and-terminal-panel/collapse/index.js +2 -2
  55. package/es/kernel-and-terminal-panel/collapse/kernel-collapse-content-item.js +1 -1
  56. package/es/kernel-and-terminal-panel/collapse/page-collapse-content.d.ts.map +1 -1
  57. package/es/kernel-and-terminal-panel/collapse/page-collapse-content.js +1 -1
  58. package/es/kernel-and-terminal-panel/kernel-and-terminal-panel-view.d.ts +1 -1
  59. package/es/kernel-and-terminal-panel/kernel-and-terminal-panel-view.d.ts.map +1 -1
  60. package/es/kernel-and-terminal-panel/kernel-and-terminal-panel-view.js +2 -2
  61. package/es/kernel-and-terminal-panel/kernel-color-registry.d.ts +2 -2
  62. package/es/kernel-and-terminal-panel/kernel-color-registry.d.ts.map +1 -1
  63. package/es/kernel-and-terminal-panel/kernel-color-registry.js +2 -2
  64. package/es/kernel-and-terminal-panel/module.d.ts +1 -1
  65. package/es/kernel-and-terminal-panel/module.d.ts.map +1 -1
  66. package/es/kernel-and-terminal-panel/module.js +1 -1
  67. package/es/kernel-and-terminal-panel/panel-command.d.ts +3 -3
  68. package/es/kernel-and-terminal-panel/panel-command.d.ts.map +1 -1
  69. package/es/kernel-and-terminal-panel/panel-command.js +3 -3
  70. package/es/kernel-manager/index.d.ts +1 -1
  71. package/es/kernel-manager/index.d.ts.map +1 -1
  72. package/es/kernel-manager/index.js +3 -3
  73. package/es/lab-app.d.ts +1 -1
  74. package/es/lab-app.d.ts.map +1 -1
  75. package/es/lab-app.js +1 -1
  76. package/es/lab-color-registry.d.ts +2 -2
  77. package/es/lab-color-registry.d.ts.map +1 -1
  78. package/es/lab-color-registry.js +2 -2
  79. package/es/lang-switcher/index.d.ts +1 -1
  80. package/es/lang-switcher/index.d.ts.map +1 -1
  81. package/es/lang-switcher/index.js +3 -3
  82. package/es/layout/brand/brand.d.ts +1 -1
  83. package/es/layout/brand/brand.d.ts.map +1 -1
  84. package/es/layout/brand/brand.js +1 -1
  85. package/es/layout/container.d.ts +1 -1
  86. package/es/layout/container.d.ts.map +1 -1
  87. package/es/layout/container.js +3 -3
  88. package/es/layout/content-bottom-tab-view.d.ts +2 -2
  89. package/es/layout/content-bottom-tab-view.d.ts.map +1 -1
  90. package/es/layout/content-bottom-tab-view.js +1 -1
  91. package/es/layout/footer/current-file-footer-view.d.ts +2 -2
  92. package/es/layout/footer/current-file-footer-view.d.ts.map +1 -1
  93. package/es/layout/footer/current-file-footer-view.js +2 -2
  94. package/es/layout/footer/footer-view.d.ts +1 -1
  95. package/es/layout/footer/footer-view.d.ts.map +1 -1
  96. package/es/layout/footer/footer-view.js +2 -2
  97. package/es/layout/footer/status-footer-view.d.ts +2 -2
  98. package/es/layout/footer/status-footer-view.d.ts.map +1 -1
  99. package/es/layout/footer/status-footer-view.js +2 -2
  100. package/es/layout/layout-service.d.ts +3 -3
  101. package/es/layout/layout-service.d.ts.map +1 -1
  102. package/es/layout/layout-service.js +3 -3
  103. package/es/layout/layout.d.ts +1 -1
  104. package/es/layout/layout.d.ts.map +1 -1
  105. package/es/layout/layout.js +4 -4
  106. package/es/layout/main.d.ts +1 -1
  107. package/es/layout/main.d.ts.map +1 -1
  108. package/es/layout/main.js +3 -3
  109. package/es/layout/module.d.ts +1 -1
  110. package/es/layout/module.d.ts.map +1 -1
  111. package/es/layout/module.js +1 -1
  112. package/es/layout/saveable-tab-view.d.ts +3 -3
  113. package/es/layout/saveable-tab-view.d.ts.map +1 -1
  114. package/es/layout/saveable-tab-view.js +5 -5
  115. package/es/layout/side-tab-view.d.ts +1 -1
  116. package/es/layout/side-tab-view.d.ts.map +1 -1
  117. package/es/layout/side-tab-view.js +3 -3
  118. package/es/module.d.ts +1 -1
  119. package/es/module.d.ts.map +1 -1
  120. package/es/module.js +6 -4
  121. package/es/toc/libro-toc-panel-view.d.ts +1 -1
  122. package/es/toc/libro-toc-panel-view.d.ts.map +1 -1
  123. package/es/toc/libro-toc-panel-view.js +2 -2
  124. package/es/toc/module.d.ts +1 -1
  125. package/es/toc/module.d.ts.map +1 -1
  126. package/es/toc/module.js +1 -1
  127. package/es/welcome/entry-point-view.d.ts +1 -1
  128. package/es/welcome/entry-point-view.d.ts.map +1 -1
  129. package/es/welcome/entry-point-view.js +3 -3
  130. package/es/welcome/welcome-view.d.ts +2 -2
  131. package/es/welcome/welcome-view.d.ts.map +1 -1
  132. package/es/welcome/welcome-view.js +3 -3
  133. package/package.json +14 -18
  134. package/src/command/lab-menu-contribution.tsx +6 -6
  135. package/src/command/menu-bar-view.tsx +2 -2
  136. package/src/command/module.ts +5 -1
  137. package/src/config/config-contribution.ts +3 -3
  138. package/src/config/config.ts +2 -2
  139. package/src/editor-viewer/code-editor-open-handler.ts +8 -4
  140. package/src/editor-viewer/code-editor-viewer.tsx +11 -5
  141. package/src/editor-viewer/json-langauge.ts +1 -1
  142. package/src/editor-viewer/julia-language.ts +1 -1
  143. package/src/editor-viewer/libro-default-open-handler.ts +7 -3
  144. package/src/editor-viewer/libro-default-viewer.tsx +4 -4
  145. package/src/editor-viewer/module.ts +1 -1
  146. package/src/editor-viewer/r-language.ts +1 -1
  147. package/src/github-link/index.tsx +2 -2
  148. package/src/guide/content-contribution.ts +3 -3
  149. package/src/guide/guide-view.tsx +3 -3
  150. package/src/image-viewer/module.ts +1 -1
  151. package/src/image-viewer/open-handler.ts +3 -3
  152. package/src/image-viewer/viewer.tsx +3 -3
  153. package/src/index.ts +19 -1
  154. package/src/kernel-and-terminal-panel/collapse/collapse-content.tsx +1 -1
  155. package/src/kernel-and-terminal-panel/collapse/index.tsx +2 -2
  156. package/src/kernel-and-terminal-panel/collapse/kernel-collapse-content-item.tsx +1 -1
  157. package/src/kernel-and-terminal-panel/collapse/page-collapse-content.tsx +6 -1
  158. package/src/kernel-and-terminal-panel/kernel-and-terminal-panel-view.tsx +2 -2
  159. package/src/kernel-and-terminal-panel/kernel-color-registry.ts +3 -3
  160. package/src/kernel-and-terminal-panel/module.ts +1 -1
  161. package/src/kernel-and-terminal-panel/panel-command.tsx +4 -4
  162. package/src/kernel-manager/index.tsx +3 -3
  163. package/src/lab-app.ts +2 -2
  164. package/src/lab-color-registry.ts +3 -3
  165. package/src/lang-switcher/index.tsx +3 -3
  166. package/src/layout/brand/brand.tsx +1 -1
  167. package/src/layout/container.tsx +3 -3
  168. package/src/layout/content-bottom-tab-view.tsx +2 -2
  169. package/src/layout/footer/current-file-footer-view.tsx +2 -2
  170. package/src/layout/footer/footer-view.tsx +2 -2
  171. package/src/layout/footer/status-footer-view.tsx +8 -2
  172. package/src/layout/layout-service.ts +9 -5
  173. package/src/layout/layout.tsx +4 -4
  174. package/src/layout/main.tsx +3 -3
  175. package/src/layout/module.ts +1 -1
  176. package/src/layout/saveable-tab-view.tsx +6 -6
  177. package/src/layout/side-tab-view.tsx +3 -3
  178. package/src/module.tsx +10 -10
  179. package/src/toc/libro-toc-panel-view.tsx +2 -2
  180. package/src/toc/module.ts +1 -1
  181. package/src/welcome/entry-point-view.tsx +3 -3
  182. package/src/welcome/welcome-view.tsx +3 -3
@@ -9,9 +9,9 @@ import {
9
9
  view,
10
10
  ViewInstance,
11
11
  ViewRender,
12
- } from '@difizen/mana-app';
13
- import { BaseView } from '@difizen/mana-app';
14
- import { l10n, L10nLang } from '@difizen/mana-l10n';
12
+ } from '@difizen/libro-common/app';
13
+ import { BaseView } from '@difizen/libro-common/app';
14
+ import { l10n, L10nLang } from '@difizen/libro-common/l10n';
15
15
  import { forwardRef } from 'react';
16
16
  import './index.less';
17
17
 
@@ -1,4 +1,4 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
 
3
3
  import { ImageViewerOpenHandler } from './open-handler.js';
4
4
  import { NavigatableImageViewerView } from './viewer.js';
@@ -1,12 +1,12 @@
1
1
  import { LibroJupyterConfiguration } from '@difizen/libro-jupyter';
2
- import type { URI, ViewOpenHandlerOptions } from '@difizen/mana-app';
3
- import { ConfigurationService, inject } from '@difizen/mana-app';
2
+ import type { URI, ViewOpenHandlerOptions } from '@difizen/libro-common/app';
3
+ import { ConfigurationService, inject } from '@difizen/libro-common/app';
4
4
  import {
5
5
  NavigatableViewOpenHandler,
6
6
  OpenHandler,
7
7
  singleton,
8
8
  Priority,
9
- } from '@difizen/mana-app';
9
+ } from '@difizen/libro-common/app';
10
10
 
11
11
  import { imageExtToTypes } from './protocol.js';
12
12
  import { NavigatableImageViewerViewFactoryId } from './viewer.js';
@@ -1,6 +1,6 @@
1
1
  import { ContentsManager } from '@difizen/libro-kernel';
2
- import type { NavigatableView } from '@difizen/mana-app';
3
- import { DisposableCollection } from '@difizen/mana-app';
2
+ import type { NavigatableView } from '@difizen/libro-common/app';
3
+ import { DisposableCollection } from '@difizen/libro-common/app';
4
4
  import {
5
5
  BaseView,
6
6
  inject,
@@ -16,7 +16,7 @@ import {
16
16
  Deferred,
17
17
  URI,
18
18
  CommandRegistry,
19
- } from '@difizen/mana-app';
19
+ } from '@difizen/libro-common/app';
20
20
  import { Spin } from 'antd';
21
21
  import { createRef, forwardRef, useEffect, useRef } from 'react';
22
22
  import Viewer from 'viewerjs';
package/src/index.ts CHANGED
@@ -1,4 +1,3 @@
1
- export * from '@difizen/libro-jupyter';
2
1
  export * from './module.js';
3
2
  export * from './lab-app.js';
4
3
  export * from './github-link/index.js';
@@ -12,3 +11,22 @@ export * from './kernel-and-terminal-panel/index.js';
12
11
  export * from './common/index.js';
13
12
  export * from './image-viewer/index.js';
14
13
  export * from './editor-viewer/index.js';
14
+ export * from '@difizen/libro-prompt-cell';
15
+ export * from '@difizen/libro-sql-cell';
16
+ export * from '@difizen/libro-terminal';
17
+ export * from '@difizen/libro-toc';
18
+ export * from '@difizen/libro-widget';
19
+ export * from '@difizen/libro-app';
20
+ export * from '@difizen/libro-cofine-editor-core';
21
+ export * from '@difizen/libro-language-client';
22
+ export * from '@difizen/libro-jupyter';
23
+
24
+ import * as SyringeModules from '@difizen/libro-common/ioc';
25
+ import * as ObservableModules from '@difizen/libro-common/observable';
26
+
27
+ export const AppIOC = {
28
+ ...ObservableModules,
29
+ ...SyringeModules,
30
+ };
31
+
32
+ export * as AppExtention from '@difizen/libro-common/app';
@@ -1,6 +1,6 @@
1
1
  import { CloseOutlined } from '@ant-design/icons';
2
2
  import { TerminalCommands } from '@difizen/libro-terminal';
3
- import { CommandRegistry, useInject } from '@difizen/mana-app';
3
+ import { CommandRegistry, useInject } from '@difizen/libro-common/app';
4
4
  import { message } from 'antd';
5
5
  import React from 'react';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { CaretDownOutlined, CaretRightOutlined } from '@ant-design/icons';
2
- import { ViewContext } from '@difizen/mana-app';
3
- import { l10n } from '@difizen/mana-l10n';
2
+ import { ViewContext } from '@difizen/libro-common/app';
3
+ import { l10n } from '@difizen/libro-common/l10n';
4
4
  import { Empty, message, Popconfirm } from 'antd';
5
5
  import React, { useState } from 'react';
6
6
 
@@ -3,7 +3,7 @@ import {
3
3
  CaretRightOutlined,
4
4
  CloseOutlined,
5
5
  } from '@ant-design/icons';
6
- import { OpenerService, URI, useInject } from '@difizen/mana-app';
6
+ import { OpenerService, URI, useInject } from '@difizen/libro-common/app';
7
7
  import React, { useState } from 'react';
8
8
 
9
9
  import { fileUnderKernel, runningKernel } from '../../common/icon.js';
@@ -1,5 +1,10 @@
1
1
  import { CloseOutlined } from '@ant-design/icons';
2
- import { renderNode, useInject, ViewContext, ViewInstance } from '@difizen/mana-app';
2
+ import {
3
+ renderNode,
4
+ useInject,
5
+ ViewContext,
6
+ ViewInstance,
7
+ } from '@difizen/libro-common/app';
3
8
 
4
9
  import type { SaveableTabView } from '../../index.js';
5
10
 
@@ -11,8 +11,8 @@ import {
11
11
  view,
12
12
  ViewInstance,
13
13
  ViewManager,
14
- } from '@difizen/mana-app';
15
- import { l10n } from '@difizen/mana-l10n';
14
+ } from '@difizen/libro-common/app';
15
+ import { l10n } from '@difizen/libro-common/l10n';
16
16
  import { ConfigProvider, theme } from 'antd';
17
17
  import { useEffect, useState } from 'react';
18
18
 
@@ -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 KernelPanelColorContribution implements ColorContribution {
@@ -1,4 +1,4 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
 
3
3
  import { KernelAndTerminalPanelView } from './kernel-and-terminal-panel-view.js';
4
4
  import { KernelPanelColorContribution } from './kernel-color-registry.js';
@@ -1,13 +1,13 @@
1
1
  import { ReloadOutlined } from '@ant-design/icons';
2
- import type { CommandRegistry, ToolbarRegistry } from '@difizen/mana-app';
3
- import { ViewManager } from '@difizen/mana-app';
2
+ import type { CommandRegistry, ToolbarRegistry } from '@difizen/libro-common/app';
3
+ import { ViewManager } from '@difizen/libro-common/app';
4
4
  import {
5
5
  CommandContribution,
6
6
  inject,
7
7
  singleton,
8
8
  ToolbarContribution,
9
- } from '@difizen/mana-app';
10
- import { l10n } from '@difizen/mana-l10n';
9
+ } from '@difizen/libro-common/app';
10
+ import { l10n } from '@difizen/libro-common/l10n';
11
11
 
12
12
  import { KernelAndTerminalPanelView } from './kernel-and-terminal-panel-view.js';
13
13
 
@@ -1,7 +1,7 @@
1
1
  import { CodeFilled } from '@ant-design/icons';
2
- import { singleton, view } from '@difizen/mana-app';
3
- import { BaseView } from '@difizen/mana-app';
4
- import { l10n } from '@difizen/mana-l10n';
2
+ import { singleton, view } from '@difizen/libro-common/app';
3
+ import { BaseView } from '@difizen/libro-common/app';
4
+ import { l10n } from '@difizen/libro-common/l10n';
5
5
  import { forwardRef } from 'react';
6
6
 
7
7
  // import './index.less';
package/src/lab-app.ts CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  ServerManager,
6
6
  } from '@difizen/libro-jupyter';
7
7
  import { terminalDefaultSlot } from '@difizen/libro-terminal';
8
- import type { FileTreeView } from '@difizen/mana-app';
8
+ import type { FileTreeView } from '@difizen/libro-common/app';
9
9
  import {
10
10
  ConfigurationService,
11
11
  FileTreeViewFactory,
@@ -15,7 +15,7 @@ import {
15
15
  ViewManager,
16
16
  inject,
17
17
  singleton,
18
- } from '@difizen/mana-app';
18
+ } from '@difizen/libro-common/app';
19
19
 
20
20
  import { LibroLabConfiguration, LibroLabGuideViewEnabled } from './config/index.js';
21
21
  import { GuideView } from './guide/index.js';
@@ -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 LabColorContribution implements ColorContribution {
@@ -1,6 +1,6 @@
1
- import { singleton, useInject, view } from '@difizen/mana-app';
2
- import { BaseView } from '@difizen/mana-app';
3
- import { l10n, L10nLang } from '@difizen/mana-l10n';
1
+ import { singleton, useInject, view } from '@difizen/libro-common/app';
2
+ import { BaseView } from '@difizen/libro-common/app';
3
+ import { l10n, L10nLang } from '@difizen/libro-common/l10n';
4
4
  import { Select } from 'antd';
5
5
  import { forwardRef } from 'react';
6
6
 
@@ -1,4 +1,4 @@
1
- import { BaseView, view, singleton } from '@difizen/mana-app';
1
+ import { BaseView, view, singleton } from '@difizen/libro-common/app';
2
2
  import * as React from 'react';
3
3
  import { Logo } from '../../common/index.js';
4
4
 
@@ -1,6 +1,6 @@
1
- import { singleton, Slot, view } from '@difizen/mana-app';
2
- import { BaseView } from '@difizen/mana-app';
3
- import { BoxPanel } from '@difizen/mana-react';
1
+ import { BoxPanel } from '@difizen/libro-common/react';
2
+ import { singleton, Slot, view } from '@difizen/libro-common/app';
3
+ import { BaseView } from '@difizen/libro-common/app';
4
4
  import { forwardRef } from 'react';
5
5
 
6
6
  import './index.less';
@@ -1,5 +1,5 @@
1
- import type { View } from '@difizen/mana-app';
2
- import { transient, view, CardTabView, inject } from '@difizen/mana-app';
1
+ import type { View } from '@difizen/libro-common/app';
2
+ import { transient, view, CardTabView, inject } from '@difizen/libro-common/app';
3
3
 
4
4
  import { LayoutService } from './layout-service.js';
5
5
  import { LibroLabLayoutSlots } from './protocol.js';
@@ -5,8 +5,8 @@ import {
5
5
  useInject,
6
6
  view,
7
7
  ViewInstance,
8
- } from '@difizen/mana-app';
9
- import { l10n } from '@difizen/mana-l10n';
8
+ } from '@difizen/libro-common/app';
9
+ import { l10n } from '@difizen/libro-common/l10n';
10
10
  import * as React from 'react';
11
11
 
12
12
  import { LayoutService } from '../layout-service.js';
@@ -1,5 +1,5 @@
1
- import { DefaultSlotView, singleton, Slot, view } from '@difizen/mana-app';
2
- import { BoxPanel } from '@difizen/mana-react';
1
+ import { BoxPanel } from '@difizen/libro-common/react';
2
+ import { DefaultSlotView, singleton, Slot, view } from '@difizen/libro-common/app';
3
3
  import * as React from 'react';
4
4
  import './index.less';
5
5
 
@@ -1,5 +1,11 @@
1
- import { BaseView, inject, singleton, useInject, view } from '@difizen/mana-app';
2
- import { l10n } from '@difizen/mana-l10n';
1
+ import {
2
+ BaseView,
3
+ inject,
4
+ singleton,
5
+ useInject,
6
+ view,
7
+ } from '@difizen/libro-common/app';
8
+ import { l10n } from '@difizen/libro-common/l10n';
3
9
  import * as React from 'react';
4
10
 
5
11
  import { Loadding, SuccIcon } from '../../common/icon.js';
@@ -1,15 +1,19 @@
1
+ import type { Disposable } from '@difizen/libro-common/common';
1
2
  import { LibroNavigatableView, LibroService } from '@difizen/libro-jupyter';
2
- import type { View, ViewOpenHandlerOptions, ViewOpenOption } from '@difizen/mana-app';
3
- import { SideTabView } from '@difizen/mana-app';
4
- import { observable } from '@difizen/mana-app';
3
+ import type {
4
+ View,
5
+ ViewOpenHandlerOptions,
6
+ ViewOpenOption,
7
+ } from '@difizen/libro-common/app';
8
+ import { SideTabView } from '@difizen/libro-common/app';
9
+ import { observable } from '@difizen/libro-common/app';
5
10
  import {
6
11
  DefaultSlotView,
7
12
  inject,
8
13
  prop,
9
14
  singleton,
10
15
  SlotViewManager,
11
- } from '@difizen/mana-app';
12
- import type { Disposable } from '@difizen/mana-common';
16
+ } from '@difizen/libro-common/app';
13
17
 
14
18
  import type { LibroLabLayoutSlotsType, StatusType } from './protocol.js';
15
19
  import { LibroLabLayoutSlots } from './protocol.js';
@@ -1,7 +1,7 @@
1
- import { inject, singleton, Slot, useInject, view } from '@difizen/mana-app';
2
- import { BaseView } from '@difizen/mana-app';
3
- import { l10n } from '@difizen/mana-l10n';
4
- import { BoxPanel } from '@difizen/mana-react';
1
+ import { BoxPanel } from '@difizen/libro-common/react';
2
+ import { inject, singleton, Slot, useInject, view } from '@difizen/libro-common/app';
3
+ import { BaseView } from '@difizen/libro-common/app';
4
+ import { l10n } from '@difizen/libro-common/l10n';
5
5
  import { Alert } from 'antd';
6
6
  import { forwardRef } from 'react';
7
7
 
@@ -1,6 +1,6 @@
1
- import { singleton, Slot, useInject, view } from '@difizen/mana-app';
2
- import { BaseView } from '@difizen/mana-app';
3
- import { SplitPanel } from '@difizen/mana-react';
1
+ import { SplitPanel } from '@difizen/libro-common/react';
2
+ import { singleton, Slot, useInject, view } from '@difizen/libro-common/app';
3
+ import { BaseView } from '@difizen/libro-common/app';
4
4
  import { forwardRef } from 'react';
5
5
 
6
6
  import './index.less';
@@ -4,7 +4,7 @@ import {
4
4
  HeaderArea,
5
5
  HeaderView,
6
6
  ManaModule,
7
- } from '@difizen/mana-app';
7
+ } from '@difizen/libro-common/app';
8
8
 
9
9
  import { BrandView } from './brand/brand.js';
10
10
  import { LibroLabLayoutContainerView } from './container.js';
@@ -1,9 +1,10 @@
1
1
  import { CloseOutlined } from '@ant-design/icons';
2
+ import { Dropdown } from '@difizen/libro-common/react';
2
3
  import { JupyterFileService } from '@difizen/libro-jupyter';
3
- import type { CardTabOption, View } from '@difizen/mana-app';
4
- import { ViewManager, ViewOption } from '@difizen/mana-app';
5
- import { NavigatableView } from '@difizen/mana-app';
6
- import { inject } from '@difizen/mana-app';
4
+ import type { CardTabOption, View } from '@difizen/libro-common/app';
5
+ import { ViewManager, ViewOption } from '@difizen/libro-common/app';
6
+ import { NavigatableView } from '@difizen/libro-common/app';
7
+ import { inject } from '@difizen/libro-common/app';
7
8
  import {
8
9
  CardTabView,
9
10
  MenuRender,
@@ -11,8 +12,7 @@ import {
11
12
  view,
12
13
  ViewContext,
13
14
  Saveable,
14
- } from '@difizen/mana-app';
15
- import { Dropdown } from '@difizen/mana-react';
15
+ } from '@difizen/libro-common/app';
16
16
  import { Badge } from 'antd';
17
17
  import classnames from 'classnames';
18
18
 
@@ -1,6 +1,6 @@
1
- import { SideTabView, ToolbarRender } from '@difizen/mana-app';
2
- import { view } from '@difizen/mana-app';
3
- import { transient } from '@difizen/mana-app';
1
+ import { SideTabView, ToolbarRender } from '@difizen/libro-common/app';
2
+ import { view } from '@difizen/libro-common/app';
3
+ import { transient } from '@difizen/libro-common/app';
4
4
 
5
5
  @transient()
6
6
  @view('libro-lab-side-tab')
package/src/module.tsx CHANGED
@@ -1,19 +1,19 @@
1
- import { LibroAINativeModule } from '@difizen/libro-ai-native';
1
+ // import { LibroAINativeModule } from '@difizen/libro-ai-native';
2
2
  import { LibroAppModule } from '@difizen/libro-app';
3
- import { FileView, LibroJupyterModule } from '@difizen/libro-jupyter';
4
- import { langBundles } from '@difizen/libro-l10n';
5
- import { LibroPromptCellModule } from '@difizen/libro-prompt-cell';
6
- import { LibroSqlCellModule } from '@difizen/libro-sql-cell';
7
- import { TerminalModule } from '@difizen/libro-terminal';
8
- import { CommonWidgetsModule } from '@difizen/libro-widget';
9
3
  import {
10
4
  ManaModule,
11
5
  createSlotPreference,
12
6
  RootSlotId,
13
7
  createViewPreference,
14
8
  HeaderArea,
15
- } from '@difizen/mana-app';
16
- import { l10n } from '@difizen/mana-l10n';
9
+ } from '@difizen/libro-common/app';
10
+ import { l10n } from '@difizen/libro-common/l10n';
11
+ import { FileView, LibroJupyterModule } from '@difizen/libro-jupyter';
12
+ import { langBundles } from '@difizen/libro-l10n';
13
+ import { LibroPromptCellModule } from '@difizen/libro-prompt-cell';
14
+ import { LibroSqlCellModule } from '@difizen/libro-sql-cell';
15
+ import { TerminalModule } from '@difizen/libro-terminal';
16
+ import { CommonWidgetsModule } from '@difizen/libro-widget';
17
17
 
18
18
  import { LibroLabHeaderMenuModule } from './command/module.js';
19
19
  import { LabConfigAppContribution } from './config/config-contribution.js';
@@ -135,6 +135,6 @@ export const LibroLabModule = ManaModule.create()
135
135
  TerminalModule,
136
136
  ImageViewerModule,
137
137
  CodeEditorViewerModule,
138
- LibroAINativeModule,
138
+ // LibroAINativeModule,
139
139
  LibroAppModule,
140
140
  );
@@ -11,8 +11,8 @@ import {
11
11
  ViewInstance,
12
12
  ViewManager,
13
13
  ViewRender,
14
- } from '@difizen/mana-app';
15
- import { l10n } from '@difizen/mana-l10n';
14
+ } from '@difizen/libro-common/app';
15
+ import { l10n } from '@difizen/libro-common/l10n';
16
16
  import { ConfigProvider, Empty, theme } from 'antd';
17
17
 
18
18
  import { TocIcon } from '../common/index.js';
package/src/toc/module.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LibroTOCModule } from '@difizen/libro-toc';
2
- import { ManaModule } from '@difizen/mana-app';
2
+ import { ManaModule } from '@difizen/libro-common/app';
3
3
 
4
4
  import { TocPanelView } from './libro-toc-panel-view.js';
5
5
 
@@ -14,9 +14,9 @@ import {
14
14
  useInject,
15
15
  view,
16
16
  ViewManager,
17
- } from '@difizen/mana-app';
18
- import { BaseView } from '@difizen/mana-app';
19
- import { l10n } from '@difizen/mana-l10n';
17
+ } from '@difizen/libro-common/app';
18
+ import { BaseView } from '@difizen/libro-common/app';
19
+ import { l10n } from '@difizen/libro-common/l10n';
20
20
  import { Col, Row } from 'antd';
21
21
  import { forwardRef, useEffect, useState } from 'react';
22
22
 
@@ -7,9 +7,9 @@ import {
7
7
  ViewInstance,
8
8
  ViewManager,
9
9
  ViewRender,
10
- } from '@difizen/mana-app';
11
- import { BaseView } from '@difizen/mana-app';
12
- import { l10n } from '@difizen/mana-l10n';
10
+ } from '@difizen/libro-common/app';
11
+ import { BaseView } from '@difizen/libro-common/app';
12
+ import { l10n } from '@difizen/libro-common/l10n';
13
13
  import { forwardRef } from 'react';
14
14
 
15
15
  import { LayoutService } from '../layout/layout-service.js';