@difizen/libro-lab 0.3.3 → 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 (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
@@ -1,9 +1,9 @@
1
1
  import { LibroService } from '@difizen/libro-jupyter';
2
2
  import { TerminalManager } from '@difizen/libro-terminal';
3
- import type { KeybindingRegistry, MenuRegistry } from '@difizen/mana-app';
4
- import { SlotViewManager } from '@difizen/mana-app';
5
- import { KeybindingContribution } from '@difizen/mana-app';
6
- import { CommandContribution, CommandRegistry, MenuContribution, ViewManager } from '@difizen/mana-app';
3
+ import type { KeybindingRegistry, MenuRegistry } from '@difizen/libro-common/app';
4
+ import { SlotViewManager } from '@difizen/libro-common/app';
5
+ import { KeybindingContribution } from '@difizen/libro-common/app';
6
+ import { CommandContribution, CommandRegistry, MenuContribution, ViewManager } from '@difizen/libro-common/app';
7
7
  import { LayoutService } from '../layout/layout-service.js';
8
8
  export declare namespace LabMenus {
9
9
  const FILE: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"lab-menu-contribution.d.ts","sourceRoot":"","sources":["../../src/command/lab-menu-contribution.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,YAAY,EAEb,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAoB,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,EACL,mBAAmB,EACnB,eAAe,EAGf,gBAAgB,EAEhB,WAAW,EACZ,MAAM,mBAAmB,CAAC;AAK3B,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAI5D,yBAAiB,QAAQ,CAAC;IACjB,MAAM,IAAI,UAA+B,CAAC;IAC1C,MAAM,IAAI,UAA+B,CAAC;IAC1C,MAAM,IAAI,UAA+B,CAAC;IAC1C,MAAM,GAAG,UAA8B,CAAC;IACxC,MAAM,QAAQ,UAAmC,CAAC;IAClD,MAAM,IAAI,UAA+B,CAAC;CAClD;AAED,qBACa,OACX,YAAW,gBAAgB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AAS,CAAC,YAAY,EAAE,YAAY,CAAC;IACpC,SAAS,CAAC,aAAa,EAAE,aAAa,CAAC;IACrC,eAAe,EAAE,eAAe,CAAC;IACrC,WAAW,EAAE,WAAW,CAAC;IACrB,WAAW,EAAE,eAAe,CAAC;IAEtD,mBAAmB,CAAC,WAAW,EAAE,kBAAkB;IAOnD,aAAa,CAAC,IAAI,EAAE,YAAY;IA8LhC,gBAAgB,CAAC,QAAQ,EAAE,eAAe;CAwnB3C"}
@@ -19,11 +19,11 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
19
19
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
20
20
  import { LibroJupyterView, LibroService, NotebookCommands } from '@difizen/libro-jupyter';
21
21
  import { TerminalCommands, TerminalManager } from '@difizen/libro-terminal';
22
- import { SlotViewManager } from '@difizen/mana-app';
23
- import { KeybindingContribution } from '@difizen/mana-app';
24
- import { Saveable } from '@difizen/mana-app';
25
- import { CommandContribution, CommandRegistry, inject, MAIN_MENU_BAR, MenuContribution, singleton, ViewManager } from '@difizen/mana-app';
26
- import { l10n } from '@difizen/mana-l10n';
22
+ import { SlotViewManager } from '@difizen/libro-common/app';
23
+ import { KeybindingContribution } from '@difizen/libro-common/app';
24
+ import { Saveable } from '@difizen/libro-common/app';
25
+ import { CommandContribution, CommandRegistry, inject, MAIN_MENU_BAR, MenuContribution, singleton, ViewManager } from '@difizen/libro-common/app';
26
+ import { l10n } from '@difizen/libro-common/l10n';
27
27
  import { GuideView } from "../guide/index.js";
28
28
  import { LibroLabLayoutSlots } from "../layout/index.js";
29
29
  import { LayoutService } from "../layout/layout-service.js";
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" resolution-mode="require"/>
2
- import { BaseView } from '@difizen/mana-app';
2
+ import { BaseView } from '@difizen/libro-common/app';
3
3
  export declare const ManaMenubarComponent: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
4
4
  export declare class MenuBarView extends BaseView {
5
5
  view: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
@@ -1 +1 @@
1
- {"version":3,"file":"menu-bar-view.d.ts","sourceRoot":"","sources":["../../src/command/menu-bar-view.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,QAAQ,EAMT,MAAM,mBAAmB,CAAC;AAI3B,eAAO,MAAM,oBAAoB,mFAE/B,CAAC;AAEH,qBAEa,WAAY,SAAQ,QAAQ;IAC9B,IAAI,oFAAwB;IAErC,KAAK,SAAK;;CAOX"}
1
+ {"version":3,"file":"menu-bar-view.d.ts","sourceRoot":"","sources":["../../src/command/menu-bar-view.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,QAAQ,EAMT,MAAM,2BAA2B,CAAC;AAInC,eAAO,MAAM,oBAAoB,mFAE/B,CAAC;AAEH,qBAEa,WAAY,SAAQ,QAAQ;IAC9B,IAAI,oFAAwB;IAErC,KAAK,SAAK;;CAOX"}
@@ -16,8 +16,8 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
16
16
  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
17
17
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
18
18
  import { MacCommandOutlined } from '@ant-design/icons';
19
- import { BaseView, MAIN_MENU_BAR, MenuBarRender, prop, singleton, view } from '@difizen/mana-app';
20
- import { l10n } from '@difizen/mana-l10n';
19
+ import { BaseView, MAIN_MENU_BAR, MenuBarRender, prop, singleton, view } from '@difizen/libro-common/app';
20
+ import { l10n } from '@difizen/libro-common/l10n';
21
21
  import { forwardRef } from 'react';
22
22
  import { jsx as _jsx } from "react/jsx-runtime";
23
23
  export var ManaMenubarComponent = /*#__PURE__*/forwardRef(function GithubLinkComponent() {
@@ -1,3 +1,3 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
  export declare const LibroLabHeaderMenuModule: ManaModule;
3
3
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/command/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAKjF,eAAO,MAAM,wBAAwB,YAOpC,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/command/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EACX,MAAM,2BAA2B,CAAC;AAKnC,eAAO,MAAM,wBAAwB,YAOpC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { createSlotPreference, HeaderArea, ManaModule } from '@difizen/mana-app';
1
+ import { createSlotPreference, HeaderArea, ManaModule } from '@difizen/libro-common/app';
2
2
  import { LabMenu } from "./lab-menu-contribution.js";
3
3
  import { MenuBarView } from "./menu-bar-view.js";
4
4
  export var LibroLabHeaderMenuModule = ManaModule.create().register(LabMenu, MenuBarView, createSlotPreference({
@@ -1,5 +1,5 @@
1
- import { ConfigurationService } from '@difizen/mana-app';
2
- import { ApplicationContribution } from '@difizen/mana-app';
1
+ import { ConfigurationService } from '@difizen/libro-common/app';
2
+ import { ApplicationContribution } from '@difizen/libro-common/app';
3
3
  export declare class LabConfigAppContribution implements ApplicationContribution {
4
4
  configurationService: ConfigurationService;
5
5
  onViewStart(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"config-contribution.d.ts","sourceRoot":"","sources":["../../src/config/config-contribution.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAG5D,qBACa,wBAAyB,YAAW,uBAAuB;IACxC,oBAAoB,EAAE,oBAAoB,CAAC;IACzE,WAAW;CAGZ"}
1
+ {"version":3,"file":"config-contribution.d.ts","sourceRoot":"","sources":["../../src/config/config-contribution.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAGpE,qBACa,wBAAyB,YAAW,uBAAuB;IACxC,oBAAoB,EAAE,oBAAoB,CAAC;IACzE,WAAW;CAGZ"}
@@ -9,9 +9,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
9
9
  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
10
10
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
11
11
  import { LibroConfigAutoSave } from '@difizen/libro-jupyter';
12
- import { ConfigurationService } from '@difizen/mana-app';
13
- import { ApplicationContribution } from '@difizen/mana-app';
14
- import { inject, singleton } from '@difizen/mana-app';
12
+ import { ConfigurationService } from '@difizen/libro-common/app';
13
+ import { ApplicationContribution } from '@difizen/libro-common/app';
14
+ import { inject, singleton } from '@difizen/libro-common/app';
15
15
  export var LabConfigAppContribution = (_dec = singleton({
16
16
  contrib: ApplicationContribution
17
17
  }), _dec2 = inject(ConfigurationService), _dec(_class = (_class2 = /*#__PURE__*/function () {
@@ -1,4 +1,4 @@
1
- import type { ConfigurationNode } from '@difizen/mana-app';
1
+ import type { ConfigurationNode } from '@difizen/libro-common/app';
2
2
  export declare const LibroLabKernelAndTerminalPanelEnabled: ConfigurationNode<boolean>;
3
3
  export declare const LibroLabTocPanelEnabled: ConfigurationNode<boolean>;
4
4
  export declare const LibroLabGuideViewEnabled: ConfigurationNode<boolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,eAAO,MAAM,qCAAqC,EAAE,iBAAiB,CAAC,OAAO,CAS5E,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,iBAAiB,CAAC,OAAO,CAS9D,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,iBAAiB,CAAC,OAAO,CAS/D,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;CAIjC,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,eAAO,MAAM,qCAAqC,EAAE,iBAAiB,CAAC,OAAO,CAS5E,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,iBAAiB,CAAC,OAAO,CAS9D,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,iBAAiB,CAAC,OAAO,CAS/D,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;CAIjC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { l10n } from '@difizen/mana-l10n';
1
+ import { l10n } from '@difizen/libro-common/l10n';
2
2
  export var LibroLabKernelAndTerminalPanelEnabled = {
3
3
  id: 'libro.lab.kernel.termianl.panel.enabled',
4
4
  description: 'whether enable kernel and terminal panel ',
@@ -1,7 +1,7 @@
1
- import type { URI, ViewOpenHandlerOptions } from '@difizen/mana-app';
2
- import { ConfigurationService } from '@difizen/mana-app';
3
- import { Priority } from '@difizen/mana-app';
4
- import { NavigatableViewOpenHandler } from '@difizen/mana-app';
1
+ import type { URI, ViewOpenHandlerOptions } from '@difizen/libro-common/app';
2
+ import { ConfigurationService } from '@difizen/libro-common/app';
3
+ import { Priority } from '@difizen/libro-common/app';
4
+ import { NavigatableViewOpenHandler } from '@difizen/libro-common/app';
5
5
  import type { CodeEditorViewer } from './code-editor-viewer.js';
6
6
  export declare class CodeEditorViewerOpenHandler extends NavigatableViewOpenHandler<CodeEditorViewer> {
7
7
  protected configurationService: ConfigurationService;
@@ -1 +1 @@
1
- {"version":3,"file":"code-editor-open-handler.d.ts","sourceRoot":"","sources":["../../src/editor-viewer/code-editor-open-handler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAU,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,0BAA0B,EAA0B,MAAM,mBAAmB,CAAC;AAEvF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,qBACa,2BAA4B,SAAQ,0BAA0B,CAAC,gBAAgB,CAAC;IAC7D,SAAS,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IAEnF,EAAE,SAA2B;IAG7B,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,sBAAsB;IAOrC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,GAAE,sBAA2B;CAgBnE"}
1
+ {"version":3,"file":"code-editor-open-handler.d.ts","sourceRoot":"","sources":["../../src/editor-viewer/code-editor-open-handler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAU,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EACL,0BAA0B,EAG3B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,qBACa,2BAA4B,SAAQ,0BAA0B,CAAC,gBAAgB,CAAC;IAC7D,SAAS,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IAEnF,EAAE,SAA2B;IAG7B,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,sBAAsB;IAOrC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,GAAE,sBAA2B;CAgBnE"}
@@ -27,9 +27,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
27
27
  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
28
28
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
29
29
  import { LibroJupyterConfiguration } from '@difizen/libro-jupyter';
30
- import { ConfigurationService, inject } from '@difizen/mana-app';
31
- import { Priority } from '@difizen/mana-app';
32
- import { NavigatableViewOpenHandler, OpenHandler, singleton } from '@difizen/mana-app';
30
+ import { ConfigurationService, inject } from '@difizen/libro-common/app';
31
+ import { Priority } from '@difizen/libro-common/app';
32
+ import { NavigatableViewOpenHandler, OpenHandler, singleton } from '@difizen/libro-common/app';
33
33
  import { CodeEditorViewerFactory, textFileTypes } from "./protocol.js";
34
34
  export var CodeEditorViewerOpenHandler = (_dec = singleton({
35
35
  contrib: OpenHandler
@@ -1,10 +1,10 @@
1
1
  import { EditorProvider } from '@difizen/libro-cofine-editor-core';
2
2
  import type { LanguageSpec } from '@difizen/libro-jupyter';
3
3
  import { JupyterFileService, LanguageSpecRegistry } from '@difizen/libro-jupyter';
4
- import type { NavigatableView, Saveable } from '@difizen/mana-app';
5
- import { ConfigurationService } from '@difizen/mana-app';
6
- import { DisposableCollection, Emitter, LabelProvider, URI } from '@difizen/mana-app';
7
- import { BaseView } from '@difizen/mana-app';
4
+ import type { NavigatableView, Saveable } from '@difizen/libro-common/app';
5
+ import { ConfigurationService } from '@difizen/libro-common/app';
6
+ import { DisposableCollection, Emitter, LabelProvider, URI } from '@difizen/libro-common/app';
7
+ import { BaseView } from '@difizen/libro-common/app';
8
8
  import React from 'react';
9
9
  import './index.less';
10
10
  import type { EditorOption } from './protocol.js';
@@ -21,7 +21,7 @@ export declare class CodeEditorViewer extends BaseView implements NavigatableVie
21
21
  autoSaveDelay: number;
22
22
  dirtyEmitter: Emitter<void>;
23
23
  languageSpecRegistry: LanguageSpecRegistry;
24
- get onDirtyChanged(): import("@difizen/mana-app").Event<void>;
24
+ get onDirtyChanged(): import("@difizen/libro-common/app").Event<void>;
25
25
  autoSave: 'on' | 'off';
26
26
  protected readonly toDisposeOnAutoSave: DisposableCollection;
27
27
  languageSpec?: LanguageSpec;
@@ -1 +1 @@
1
- {"version":3,"file":"code-editor-viewer.d.ts","sourceRoot":"","sources":["../../src/editor-viewer/code-editor-viewer.tsx"],"names":[],"mappings":"AAA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CAAC;IAGhC,KAAK,UAAS;IAEd,QAAQ,SAAU;IAElB,KAAK,EAAE,MAAM,CAAC;IAEN,QAAQ,CAAC,EAAE,MAAM,CAAC;IAE1B,aAAa,SAAQ;IAErB,YAAY,gBAAuB;IAEnC,oBAAoB,EAAE,oBAAoB,CAAC;IAE3C,IAAI,cAAc,oDAEjB;IAED,QAAQ,EAAE,IAAI,GAAG,KAAK,CAAS;IAE/B,SAAS,CAAC,QAAQ,CAAC,mBAAmB,uBAA8B;IAEpE,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B,WAAW,EAAE,kBAAkB,CAAC;gBAI9B,OAAO,EAAE,YAAY,EACE,aAAa,EAAE,aAAa,EACvB,WAAW,EAAE,kBAAkB,EAE3D,oBAAoB,EAAE,oBAAoB,EACZ,oBAAoB,EAAE,oBAAoB;IA+B3D,WAAW;IA0C1B,SAAS,CAAC,UAAU,aASlB;IAEF,IAAI,sBAIF;IAEF,cAAc,IAAI,GAAG,GAAG,SAAS;IAIxB,YAAY,aAKnB;IAEF,eAAe,CAAC,WAAW,EAAE,GAAG,GAAG,GAAG,GAAG,SAAS;IAKzC,OAAO,IAAI,IAAI;CAKzB"}
@@ -24,10 +24,10 @@ import { EditorProvider, MonacoEnvironment } from '@difizen/libro-cofine-editor-
24
24
  import { LibroConfigAutoSave } from '@difizen/libro-jupyter';
25
25
  import { MonacoUri } from '@difizen/libro-jupyter';
26
26
  import { JupyterFileService, LanguageSpecRegistry } from '@difizen/libro-jupyter';
27
- import { ConfigurationService } from '@difizen/mana-app';
28
- import { Disposable } from '@difizen/mana-app';
29
- import { DisposableCollection, Emitter, getOrigin, inject, LabelProvider, prop, URI, URIIconReference, ViewOption } from '@difizen/mana-app';
30
- import { BaseView, transient, useInject, view, ViewInstance } from '@difizen/mana-app';
27
+ import { ConfigurationService } from '@difizen/libro-common/app';
28
+ import { Disposable } from '@difizen/libro-common/app';
29
+ import { DisposableCollection, Emitter, getOrigin, inject, LabelProvider, prop, URI, URIIconReference, ViewOption } from '@difizen/libro-common/app';
30
+ import { BaseView, transient, useInject, view, ViewInstance } from '@difizen/libro-common/app';
31
31
  import React from 'react';
32
32
  import "./index.less";
33
33
  import { CodeEditorViewerFactory } from "./protocol.js";
@@ -6,7 +6,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
6
6
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
8
8
  import { LanguageSpecContribution } from '@difizen/libro-jupyter';
9
- import { singleton } from '@difizen/mana-app';
9
+ import { singleton } from '@difizen/libro-common/app';
10
10
  export var JSONLanguageSpecs = (_dec = singleton({
11
11
  contrib: [LanguageSpecContribution]
12
12
  }), _dec(_class = /*#__PURE__*/_createClass(function JSONLanguageSpecs() {
@@ -6,7 +6,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
6
6
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
8
8
  import { LanguageSpecContribution } from '@difizen/libro-jupyter';
9
- import { singleton } from '@difizen/mana-app';
9
+ import { singleton } from '@difizen/libro-common/app';
10
10
  export var JuliaLanguageSpecs = (_dec = singleton({
11
11
  contrib: [LanguageSpecContribution]
12
12
  }), _dec(_class = /*#__PURE__*/_createClass(function JuliaLanguageSpecs() {
@@ -1,6 +1,6 @@
1
- import type { URI, ViewOpenHandlerOptions } from '@difizen/mana-app';
2
- import { ConfigurationService } from '@difizen/mana-app';
3
- import { NavigatableViewOpenHandler } from '@difizen/mana-app';
1
+ import type { URI, ViewOpenHandlerOptions } from '@difizen/libro-common/app';
2
+ import { ConfigurationService } from '@difizen/libro-common/app';
3
+ import { NavigatableViewOpenHandler } from '@difizen/libro-common/app';
4
4
  import type { LibroDefaultViewer } from './libro-default-viewer.js';
5
5
  export declare class LibroDefaultViewerOpenHandler extends NavigatableViewOpenHandler<LibroDefaultViewer> {
6
6
  protected configurationService: ConfigurationService;
@@ -1 +1 @@
1
- {"version":3,"file":"libro-default-open-handler.d.ts","sourceRoot":"","sources":["../../src/editor-viewer/libro-default-open-handler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAU,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,0BAA0B,EAA0B,MAAM,mBAAmB,CAAC;AAEvF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAGpE,qBACa,6BAA8B,SAAQ,0BAA0B,CAAC,kBAAkB,CAAC;IACjE,SAAS,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IAEnF,EAAE,SAA6B;IAE/B,SAAS;IAIM,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,GAAE,sBAA2B;CAgBnE"}
1
+ {"version":3,"file":"libro-default-open-handler.d.ts","sourceRoot":"","sources":["../../src/editor-viewer/libro-default-open-handler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAU,MAAM,2BAA2B,CAAC;AACzE,OAAO,EACL,0BAA0B,EAG3B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAGpE,qBACa,6BAA8B,SAAQ,0BAA0B,CAAC,kBAAkB,CAAC;IACjE,SAAS,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IAEnF,EAAE,SAA6B;IAE/B,SAAS;IAIM,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,GAAE,sBAA2B;CAgBnE"}
@@ -27,8 +27,8 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
27
27
  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
28
28
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
29
29
  import { LibroJupyterConfiguration } from '@difizen/libro-jupyter';
30
- import { ConfigurationService, inject } from '@difizen/mana-app';
31
- import { NavigatableViewOpenHandler, OpenHandler, singleton } from '@difizen/mana-app';
30
+ import { ConfigurationService, inject } from '@difizen/libro-common/app';
31
+ import { NavigatableViewOpenHandler, OpenHandler, singleton } from '@difizen/libro-common/app';
32
32
  import { LibroDefaultViewerFactory } from "./protocol.js";
33
33
  export var LibroDefaultViewerOpenHandler = (_dec = singleton({
34
34
  contrib: OpenHandler
@@ -1,6 +1,6 @@
1
- import type { NavigatableView } from '@difizen/mana-app';
2
- import { LabelProvider, URI } from '@difizen/mana-app';
3
- import { BaseView } from '@difizen/mana-app';
1
+ import type { NavigatableView } from '@difizen/libro-common/app';
2
+ import { LabelProvider, URI } from '@difizen/libro-common/app';
3
+ import { BaseView } from '@difizen/libro-common/app';
4
4
  import React from 'react';
5
5
  import './index.less';
6
6
  import type { EditorOption } from './protocol.js';
@@ -1 +1 @@
1
- {"version":3,"file":"libro-default-viewer.d.ts","sourceRoot":"","sources":["../../src/editor-viewer/libro-default-viewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAEL,aAAa,EAEb,GAAG,EAGJ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAmB,MAAM,mBAAmB,CAAC;AAE9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAclD,qBAEa,kBAAmB,SAAQ,QAAS,YAAW,eAAe;IAChE,IAAI,eAA0B;IAE/B,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAIxB,OAAO,EAAE,YAAY,EACE,aAAa,EAAE,aAAa;IAYrD,cAAc,IAAI,GAAG,GAAG,SAAS;IAIjC,eAAe,CAAC,WAAW,EAAE,GAAG,GAAG,GAAG,GAAG,SAAS;CAInD"}
1
+ {"version":3,"file":"libro-default-viewer.d.ts","sourceRoot":"","sources":["../../src/editor-viewer/libro-default-viewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAEL,aAAa,EAEb,GAAG,EAGJ,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAmB,MAAM,2BAA2B,CAAC;AAEtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAclD,qBAEa,kBAAmB,SAAQ,QAAS,YAAW,eAAe;IAChE,IAAI,eAA0B;IAE/B,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAIxB,OAAO,EAAE,YAAY,EACE,aAAa,EAAE,aAAa;IAYrD,cAAc,IAAI,GAAG,GAAG,SAAS;IAIjC,eAAe,CAAC,WAAW,EAAE,GAAG,GAAG,GAAG,GAAG,SAAS;CAInD"}
@@ -15,9 +15,9 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
15
15
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
16
16
  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
17
17
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
18
- import { inject, LabelProvider, prop, URI, URIIconReference, ViewOption } from '@difizen/mana-app';
19
- import { BaseView, transient, view } from '@difizen/mana-app';
20
- import { l10n } from '@difizen/mana-l10n';
18
+ import { inject, LabelProvider, prop, URI, URIIconReference, ViewOption } from '@difizen/libro-common/app';
19
+ import { BaseView, transient, view } from '@difizen/libro-common/app';
20
+ import { l10n } from '@difizen/libro-common/l10n';
21
21
  import React from 'react';
22
22
  import "./index.less";
23
23
  import { Empty } from "./empty-icon.js";
@@ -1,3 +1,3 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
  export declare const CodeEditorViewerModule: ManaModule;
3
3
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/editor-viewer/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAU/C,eAAO,MAAM,sBAAsB,YAUlC,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/editor-viewer/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAUvD,eAAO,MAAM,sBAAsB,YAUlC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
  import { CodeEditorViewerOpenHandler } from "./code-editor-open-handler.js";
3
3
  import { CodeEditorViewer } from "./code-editor-viewer.js";
4
4
  import { JSONLanguageSpecs } from "./json-langauge.js";
@@ -6,7 +6,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
6
6
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
8
8
  import { LanguageSpecContribution } from '@difizen/libro-jupyter';
9
- import { singleton } from '@difizen/mana-app';
9
+ import { singleton } from '@difizen/libro-common/app';
10
10
  export var RLanguageSpecs = (_dec = singleton({
11
11
  contrib: [LanguageSpecContribution]
12
12
  }), _dec(_class = /*#__PURE__*/_createClass(function RLanguageSpecs() {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" resolution-mode="require"/>
2
- import { BaseView } from '@difizen/mana-app';
2
+ import { BaseView } from '@difizen/libro-common/app';
3
3
  export declare const GithubLinkComponent: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
4
4
  export declare class GithubLinkView extends BaseView {
5
5
  view: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/github-link/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAG7C,eAAO,MAAM,mBAAmB,mFAW9B,CAAC;AAEH,qBAEa,cAAe,SAAQ,QAAQ;IACjC,IAAI,oFAAuB;IACpC,IAAI,SAAM;;CAIX"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/github-link/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGrD,eAAO,MAAM,mBAAmB,mFAW9B,CAAC;AAEH,qBAEa,cAAe,SAAQ,QAAQ;IACjC,IAAI,oFAAuB;IACpC,IAAI,SAAM;;CAIX"}
@@ -13,8 +13,8 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
13
13
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
14
14
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
15
15
  import { GithubFilled } from '@ant-design/icons';
16
- import { singleton, view } from '@difizen/mana-app';
17
- import { BaseView } from '@difizen/mana-app';
16
+ import { singleton, view } from '@difizen/libro-common/app';
17
+ import { BaseView } from '@difizen/libro-common/app';
18
18
  import { forwardRef } from 'react';
19
19
  import { jsx as _jsx } from "react/jsx-runtime";
20
20
  export var GithubLinkComponent = /*#__PURE__*/forwardRef(function GithubLinkComponent() {
@@ -9,9 +9,9 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
9
9
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
10
10
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
11
11
  import { ContentContribution } from '@difizen/libro-core';
12
- import { URI } from '@difizen/mana-app';
13
- import { singleton } from '@difizen/mana-app';
14
- import { l10n, L10nLang } from '@difizen/mana-l10n';
12
+ import { URI } from '@difizen/libro-common/app';
13
+ import { singleton } from '@difizen/libro-common/app';
14
+ import { l10n, L10nLang } from '@difizen/libro-common/l10n';
15
15
  import contentJson from "./libro_guide_book.json";
16
16
  import contentZhJson from "./libro_guide_book_zh.json";
17
17
  export var LibroGuidebookContentContribution = (_dec = singleton({
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" resolution-mode="require"/>
2
2
  import type { LibroView } from '@difizen/libro-jupyter';
3
3
  import { LibroService } from '@difizen/libro-jupyter';
4
- import { Deferred } from '@difizen/mana-app';
5
- import { BaseView } from '@difizen/mana-app';
4
+ import { Deferred } from '@difizen/libro-common/app';
5
+ import { BaseView } from '@difizen/libro-common/app';
6
6
  import './index.less';
7
7
  export declare const GuideComponent: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
8
8
  export declare class GuideView extends BaseView {
@@ -1 +1 @@
1
- {"version":3,"file":"guide-view.d.ts","sourceRoot":"","sources":["../../src/guide/guide-view.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EACL,QAAQ,EAQT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAG7C,OAAO,cAAc,CAAC;AAItB,eAAO,MAAM,cAAc,mFAOzB,CAAC;AAEH,qBAEa,SAAU,SAAQ,QAAQ;IAC5B,IAAI,oFAAkB;IAG/B,SAAS,CAAC,EAAE,SAAS,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAEJ,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IAE3D,SAAS,CAAC,KAAK,iBAAwB;IAEvC,IAAI,KAAK,kBAER;;IAac,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;cAI3B,oBAAoB;CAerC"}
1
+ {"version":3,"file":"guide-view.d.ts","sourceRoot":"","sources":["../../src/guide/guide-view.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EACL,QAAQ,EAQT,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGrD,OAAO,cAAc,CAAC;AAItB,eAAO,MAAM,cAAc,mFAOzB,CAAC;AAEH,qBAEa,SAAU,SAAQ,QAAQ;IAC5B,IAAI,oFAAkB;IAG/B,SAAS,CAAC,EAAE,SAAS,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAEJ,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IAE3D,SAAS,CAAC,KAAK,iBAAwB;IAEvC,IAAI,KAAK,kBAER;;IAac,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;cAI3B,oBAAoB;CAerC"}
@@ -19,9 +19,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
19
19
  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
20
20
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
21
21
  import { LibroService } from '@difizen/libro-jupyter';
22
- import { Deferred, inject, prop, singleton, useInject, view, ViewInstance, ViewRender } from '@difizen/mana-app';
23
- import { BaseView } from '@difizen/mana-app';
24
- import { l10n, L10nLang } from '@difizen/mana-l10n';
22
+ import { Deferred, inject, prop, singleton, useInject, view, ViewInstance, ViewRender } from '@difizen/libro-common/app';
23
+ import { BaseView } from '@difizen/libro-common/app';
24
+ import { l10n, L10nLang } from '@difizen/libro-common/l10n';
25
25
  import { forwardRef } from 'react';
26
26
  import "./index.less";
27
27
  import { Logo } from "../common/icon.js";
@@ -1,3 +1,3 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
  export declare const ImageViewerModule: ManaModule;
3
3
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/image-viewer/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK/C,eAAO,MAAM,iBAAiB,YAG7B,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/image-viewer/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAKvD,eAAO,MAAM,iBAAiB,YAG7B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
  import { ImageViewerOpenHandler } from "./open-handler.js";
3
3
  import { NavigatableImageViewerView } from "./viewer.js";
4
4
  export var ImageViewerModule = ManaModule.create('ImageViewerModule').register(NavigatableImageViewerView, ImageViewerOpenHandler);
@@ -1,6 +1,6 @@
1
- import type { URI, ViewOpenHandlerOptions } from '@difizen/mana-app';
2
- import { ConfigurationService } from '@difizen/mana-app';
3
- import { NavigatableViewOpenHandler, Priority } from '@difizen/mana-app';
1
+ import type { URI, ViewOpenHandlerOptions } from '@difizen/libro-common/app';
2
+ import { ConfigurationService } from '@difizen/libro-common/app';
3
+ import { NavigatableViewOpenHandler, Priority } from '@difizen/libro-common/app';
4
4
  import type { NavigatableImageViewerView } from './viewer.js';
5
5
  export declare class ImageViewerOpenHandler extends NavigatableViewOpenHandler<NavigatableImageViewerView> {
6
6
  protected configurationService: ConfigurationService;
@@ -1 +1 @@
1
- {"version":3,"file":"open-handler.d.ts","sourceRoot":"","sources":["../../src/image-viewer/open-handler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAU,MAAM,mBAAmB,CAAC;AACjE,OAAO,EACL,0BAA0B,EAG1B,QAAQ,EACT,MAAM,mBAAmB,CAAC;AAI3B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAE9D,qBACa,sBAAuB,SAAQ,0BAA0B,CAAC,0BAA0B,CAAC;IAClE,SAAS,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IAEnF,EAAE,SAAuC;IAGzC,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,sBAAsB;IAUtC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,GAAE,sBAA2B;CAenE"}
1
+ {"version":3,"file":"open-handler.d.ts","sourceRoot":"","sources":["../../src/image-viewer/open-handler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAU,MAAM,2BAA2B,CAAC;AACzE,OAAO,EACL,0BAA0B,EAG1B,QAAQ,EACT,MAAM,2BAA2B,CAAC;AAInC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAE9D,qBACa,sBAAuB,SAAQ,0BAA0B,CAAC,0BAA0B,CAAC;IAClE,SAAS,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IAEnF,EAAE,SAAuC;IAGzC,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,sBAAsB;IAUtC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,GAAE,sBAA2B;CAenE"}
@@ -27,8 +27,8 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
27
27
  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
28
28
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
29
29
  import { LibroJupyterConfiguration } from '@difizen/libro-jupyter';
30
- import { ConfigurationService, inject } from '@difizen/mana-app';
31
- import { NavigatableViewOpenHandler, OpenHandler, singleton, Priority } from '@difizen/mana-app';
30
+ import { ConfigurationService, inject } from '@difizen/libro-common/app';
31
+ import { NavigatableViewOpenHandler, OpenHandler, singleton, Priority } from '@difizen/libro-common/app';
32
32
  import { imageExtToTypes } from "./protocol.js";
33
33
  import { NavigatableImageViewerViewFactoryId } from "./viewer.js";
34
34
  export var ImageViewerOpenHandler = (_dec = singleton({
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" resolution-mode="require"/>
2
2
  import { ContentsManager } from '@difizen/libro-kernel';
3
- import type { NavigatableView } from '@difizen/mana-app';
4
- import { DisposableCollection } from '@difizen/mana-app';
5
- import { BaseView, LabelProvider, Deferred, URI, CommandRegistry } from '@difizen/mana-app';
3
+ import type { NavigatableView } from '@difizen/libro-common/app';
4
+ import { DisposableCollection } from '@difizen/libro-common/app';
5
+ import { BaseView, LabelProvider, Deferred, URI, CommandRegistry } from '@difizen/libro-common/app';
6
6
  import './index.less';
7
7
  import 'viewerjs/dist/viewer.css';
8
8
  export declare function ImageViewer(): import("react/jsx-runtime").JSX.Element | null;
@@ -1 +1 @@
1
- {"version":3,"file":"viewer.d.ts","sourceRoot":"","sources":["../../src/image-viewer/viewer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EACL,QAAQ,EAER,aAAa,EASb,QAAQ,EACR,GAAG,EACH,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAI3B,OAAO,cAAc,CAAC;AACtB,OAAO,0BAA0B,CAAC;AAElC,wBAAgB,WAAW,mDA8B1B;AAED,eAAO,MAAM,+BAA+B,0FAY3C,CAAC;AAEF,eAAO,MAAM,mCAAmC,0CACP,CAAC;AAC1C,qBAEa,0BAA2B,SAAQ,QAAS,YAAW,eAAe;IACxD,eAAe,EAAE,eAAe,CAAC;IACjC,eAAe,EAAE,eAAe,CAAC;IAE1D,SAAS,CAAC,QAAQ,CAAC,mBAAmB,uB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AwB;IAEvC,IAAI,KAAK,kBAER;gBAGqB,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EACtB,aAAa,EAAE,aAAa;IAYrD,cAAc,sBAQZ;IAEa,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3C,cAAc,IAAI,GAAG,GAAG,SAAS;IAIjC,eAAe,CAAC,WAAW,EAAE,GAAG,GAAG,GAAG,GAAG,SAAS;CAInD"}
@@ -19,8 +19,8 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
19
19
  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
20
20
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
21
21
  import { ContentsManager } from '@difizen/libro-kernel';
22
- import { DisposableCollection } from '@difizen/mana-app';
23
- import { BaseView, inject, LabelProvider, prop, transient, URI as VScodeURI, URIIconReference, useInject, view, ViewInstance, ViewOption, Deferred, URI, CommandRegistry } from '@difizen/mana-app';
22
+ import { DisposableCollection } from '@difizen/libro-common/app';
23
+ import { BaseView, inject, LabelProvider, prop, transient, URI as VScodeURI, URIIconReference, useInject, view, ViewInstance, ViewOption, Deferred, URI, CommandRegistry } from '@difizen/libro-common/app';
24
24
  import { Spin } from 'antd';
25
25
  import { createRef, forwardRef, useEffect, useRef } from 'react';
26
26
  import Viewer from 'viewerjs';