@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,5 +1,5 @@
1
- import type { CommandRegistry } from '@difizen/mana-app';
2
- import { CommandContribution } from '@difizen/mana-app';
1
+ import type { CommandRegistry } from '@difizen/libro-common/app';
2
+ import { CommandContribution } from '@difizen/libro-common/app';
3
3
  export declare const LibroAddBetweenCellCommand: {
4
4
  AddBetweenCell: {
5
5
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"add-between-cell-command-contribution.d.ts","sourceRoot":"","sources":["../../src/add-between-cell/add-between-cell-command-contribution.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAa,MAAM,mBAAmB,CAAC;AAEnE,eAAO,MAAM,0BAA0B;;;;;;;CAOtC,CAAC;AAEF,qBACa,sCAAuC,YAAW,mBAAmB;IAChF,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;CA+CjD"}
1
+ {"version":3,"file":"add-between-cell-command-contribution.d.ts","sourceRoot":"","sources":["../../src/add-between-cell/add-between-cell-command-contribution.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAa,MAAM,2BAA2B,CAAC;AAE3E,eAAO,MAAM,0BAA0B;;;;;;;CAOtC,CAAC;AAEF,qBACa,sCAAuC,YAAW,mBAAmB;IAChF,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;CA+CjD"}
@@ -8,7 +8,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
8
8
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
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
- import { CommandContribution, singleton } from '@difizen/mana-app';
11
+ import { CommandContribution, singleton } from '@difizen/libro-common/app';
12
12
  export var LibroAddBetweenCellCommand = {
13
13
  AddBetweenCell: {
14
14
  id: 'notebook:libro-add-between-cell'
@@ -10,8 +10,8 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
10
10
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
11
  import { DisplayWrapComponent } from '@difizen/libro-common';
12
12
  import { CellService } from '@difizen/libro-core';
13
- import { CommandRegistry, useInject, ViewInstance } from '@difizen/mana-app';
14
- import { l10n } from '@difizen/mana-l10n';
13
+ import { CommandRegistry, useInject, ViewInstance } from '@difizen/libro-common/app';
14
+ import { l10n } from '@difizen/libro-common/l10n';
15
15
  import { Tooltip, Popover, Menu } from 'antd';
16
16
  import { useEffect, useRef, useState, forwardRef } from 'react';
17
17
  import { LibroAddBetweenCellCommand } from "./add-between-cell-command-contribution.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 LibroBetweenCellModule: ManaModule;
3
3
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/add-between-cell/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK/C,eAAO,MAAM,sBAAsB,YAMlC,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/add-between-cell/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAKvD,eAAO,MAAM,sBAAsB,YAMlC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { BetweenCellProvider } from '@difizen/libro-core';
2
- import { ManaModule } from '@difizen/mana-app';
2
+ import { ManaModule } from '@difizen/libro-common/app';
3
3
  import { LibroAddBetweenCellCommandContribution } from "./add-between-cell-command-contribution.js";
4
4
  import { LibroWrappedBetweenCellContent } from "./add-between-cell.js";
5
5
  export var LibroBetweenCellModule = ManaModule.create().register({
@@ -1,7 +1,7 @@
1
1
  import { LibroCodeCellModel } from '@difizen/libro-code-cell';
2
2
  import type { ICellMetadata } from '@difizen/libro-common';
3
3
  import { CellOptions } from '@difizen/libro-core';
4
- import { ViewManager } from '@difizen/mana-app';
4
+ import { ViewManager } from '@difizen/libro-common/app';
5
5
  import type { CodeCellMetadata, ExecutedWithKernelCellModel } from '../libro-jupyter-protocol.js';
6
6
  export declare class JupyterCodeCellModel extends LibroCodeCellModel implements ExecutedWithKernelCellModel {
7
7
  metadata: Partial<CodeCellMetadata | ICellMetadata>;
@@ -1 +1 @@
1
- {"version":3,"file":"jupyter-code-cell-model.d.ts","sourceRoot":"","sources":["../../src/cell/jupyter-code-cell-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,EAAQ,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEtD,OAAO,KAAK,EACV,gBAAgB,EAChB,2BAA2B,EAC5B,MAAM,8BAA8B,CAAC;AAEtC,qBACa,oBACX,SAAQ,kBACR,YAAW,2BAA2B;IAG7B,QAAQ,EAAE,OAAO,CAAC,gBAAgB,GAAG,aAAa,CAAC,CAAC;IAE7D,eAAe,UAAS;gBAGD,OAAO,EAAE,WAAW,EACpB,WAAW,EAAE,WAAW;IAStC,cAAc,aAIrB;CACH"}
1
+ {"version":3,"file":"jupyter-code-cell-model.d.ts","sourceRoot":"","sources":["../../src/cell/jupyter-code-cell-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,EAAQ,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,KAAK,EACV,gBAAgB,EAChB,2BAA2B,EAC5B,MAAM,8BAA8B,CAAC;AAEtC,qBACa,oBACX,SAAQ,kBACR,YAAW,2BAA2B;IAG7B,QAAQ,EAAE,OAAO,CAAC,gBAAgB,GAAG,aAAa,CAAC,CAAC;IAE7D,eAAe,UAAS;gBAGD,OAAO,EAAE,WAAW,EACpB,WAAW,EAAE,WAAW;IAStC,cAAc,aAIrB;CACH"}
@@ -20,8 +20,8 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
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 { LibroCodeCellModel } from '@difizen/libro-code-cell';
22
22
  import { CellOptions } from '@difizen/libro-core';
23
- import { inject, transient } from '@difizen/mana-app';
24
- import { prop, ViewManager } from '@difizen/mana-app';
23
+ import { inject, transient } from '@difizen/libro-common/app';
24
+ import { prop, ViewManager } from '@difizen/libro-common/app';
25
25
  export var JupyterCodeCellModel = (_dec = transient(), _dec2 = prop(), _dec3 = prop(), _dec(_class = (_class2 = /*#__PURE__*/function (_LibroCodeCellModel) {
26
26
  _inherits(JupyterCodeCellModel, _LibroCodeCellModel);
27
27
  var _super = _createSuper(JupyterCodeCellModel);
@@ -22,10 +22,10 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
22
22
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
23
23
  import { CellEditorMemo, LibroCodeCellView } from '@difizen/libro-code-cell';
24
24
  import { KernelError } from '@difizen/libro-kernel';
25
- import { transient } from '@difizen/mana-app';
26
- import { view, ViewInstance } from '@difizen/mana-app';
27
- import { getOrigin, useInject } from '@difizen/mana-app';
28
- import { l10n } from '@difizen/mana-l10n';
25
+ import { transient } from '@difizen/libro-common/app';
26
+ import { view, ViewInstance } from '@difizen/libro-common/app';
27
+ import { getOrigin, useInject } from '@difizen/libro-common/app';
28
+ import { l10n } from '@difizen/libro-common/l10n';
29
29
  import { forwardRef } from 'react';
30
30
  import { LibroJupyterModel } from "../libro-jupyter-model.js";
31
31
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { LibroCommandRegister, LibroService } from '@difizen/libro-core';
2
- import type { CommandRegistry } from '@difizen/mana-app';
3
- import { CommandContribution, ModalService } from '@difizen/mana-app';
2
+ import type { CommandRegistry } from '@difizen/libro-common/app';
3
+ import { CommandContribution, ModalService } from '@difizen/libro-common/app';
4
4
  export declare class LibroJupyterCommandContribution implements CommandContribution {
5
5
  protected readonly modalService: ModalService;
6
6
  protected readonly libroCommand: LibroCommandRegister;
@@ -1 +1 @@
1
- {"version":3,"file":"command-contribution.d.ts","sourceRoot":"","sources":["../../src/command/command-contribution.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,oBAAoB,EACpB,YAAY,EAKb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EACL,mBAAmB,EAEnB,YAAY,EAEb,MAAM,mBAAmB,CAAC;AAK3B,qBACa,+BAAgC,YAAW,mBAAmB;IACnD,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IACtC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,oBAAoB,CAAC;IAC9D,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IAEpE,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;CAoIjD"}
1
+ {"version":3,"file":"command-contribution.d.ts","sourceRoot":"","sources":["../../src/command/command-contribution.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,oBAAoB,EACpB,YAAY,EAKb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EACL,mBAAmB,EAEnB,YAAY,EAEb,MAAM,2BAA2B,CAAC;AAKnC,qBACa,+BAAgC,YAAW,mBAAmB;IACnD,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IACtC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,oBAAoB,CAAC;IAC9D,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IAEpE,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;CAoIjD"}
@@ -12,7 +12,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
12
12
  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; }
13
13
  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.'); }
14
14
  import { KernelCommands, LibroCommandRegister, LibroService, LibroToolbarArea, LibroView, NotebookCommands, ExecutableCellView } from '@difizen/libro-core';
15
- import { CommandContribution, inject, ModalService, singleton } from '@difizen/mana-app';
15
+ import { CommandContribution, inject, ModalService, singleton } from '@difizen/libro-common/app';
16
16
  import { LibroJupyterModel } from "../libro-jupyter-model.js";
17
17
  import { ExecutedWithKernelCellModel } from "../libro-jupyter-protocol.js";
18
18
  export var LibroJupyterCommandContribution = (_dec = singleton({
@@ -1,5 +1,5 @@
1
1
  import { LibroCommandRegister } from '@difizen/libro-core';
2
- import { KeybindingRegistry, KeybindingContribution } from '@difizen/mana-app';
2
+ import { KeybindingRegistry, KeybindingContribution } from '@difizen/libro-common/app';
3
3
  export declare class LibroJupyterKeybindingContribution implements KeybindingContribution {
4
4
  protected readonly libroCommand: LibroCommandRegister;
5
5
  constructor(keybindRegistry: KeybindingRegistry);
@@ -1 +1 @@
1
- {"version":3,"file":"keybinding-contribution.d.ts","sourceRoot":"","sources":["../../src/command/keybinding-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,kBAAkB,EAElB,sBAAsB,EACvB,MAAM,mBAAmB,CAAC;AAE3B,qBACa,kCAAmC,YAAW,sBAAsB;IACjD,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,oBAAoB,CAAC;gBAC5C,eAAe,EAAE,kBAAkB;IAK3E,mBAAmB,CAAC,WAAW,EAAE,kBAAkB;CAIpD"}
1
+ {"version":3,"file":"keybinding-contribution.d.ts","sourceRoot":"","sources":["../../src/command/keybinding-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,kBAAkB,EAElB,sBAAsB,EACvB,MAAM,2BAA2B,CAAC;AAEnC,qBACa,kCAAmC,YAAW,sBAAsB;IACjD,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,oBAAoB,CAAC;gBAC5C,eAAe,EAAE,kBAAkB;IAK3E,mBAAmB,CAAC,WAAW,EAAE,kBAAkB;CAIpD"}
@@ -9,7 +9,7 @@ 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 { NotebookCommands, DocumentCommands, LibroCommandRegister } from '@difizen/libro-core';
12
- import { inject, KeybindingRegistry, singleton, KeybindingContribution } from '@difizen/mana-app';
12
+ import { inject, KeybindingRegistry, singleton, KeybindingContribution } from '@difizen/libro-common/app';
13
13
  export var LibroJupyterKeybindingContribution = (_dec = singleton({
14
14
  contrib: KeybindingContribution
15
15
  }), _dec2 = inject(LibroCommandRegister), _dec(_class = (_class2 = /*#__PURE__*/function () {
@@ -6,8 +6,8 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
7
  import { LoadingOutlined } from '@ant-design/icons';
8
8
  import { ExecutableCellView, CheckCircleOutlined, ExecutableCellModel } from '@difizen/libro-core';
9
- import { useObserve } from '@difizen/mana-app';
10
- import { l10n } from '@difizen/mana-l10n';
9
+ import { useObserve } from '@difizen/libro-common/app';
10
+ import { l10n } from '@difizen/libro-common/l10n';
11
11
  import classnames from 'classnames';
12
12
  import moment from 'moment';
13
13
  import { useState } from 'react';
@@ -1,5 +1,5 @@
1
1
  import { LibroEditableExecutableCellView, LibroOutputArea } from '@difizen/libro-core';
2
- import { useObserve } from '@difizen/mana-app';
2
+ import { useObserve } from '@difizen/libro-common/app';
3
3
  import { isWaitingExecute } from "../utils/index.js";
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
5
  export function CellInputBottomBlank(_ref) {
@@ -1,5 +1,5 @@
1
1
  import { LibroEditableExecutableCellView, LibroOutputArea } from '@difizen/libro-core';
2
- import { useObserve } from '@difizen/mana-app';
2
+ import { useObserve } from '@difizen/libro-common/app';
3
3
  import { isWaitingExecute } from "../utils/index.js";
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
5
  export function CellOutputBottomBlank(_ref) {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  export declare const InfoCircle: React.FC;
3
3
  export declare const WarningIcon: React.FC;
4
- export declare const Location: React.FC;
4
+ export declare const LocationIcon: React.FC;
5
5
  //# sourceMappingURL=icons.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/components/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EA4C9B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAuC/B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EA2B5B,CAAC"}
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/components/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EA4C9B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAuC/B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EA2BhC,CAAC"}
@@ -117,7 +117,7 @@ export var WarningIcon = function WarningIcon() {
117
117
  })
118
118
  });
119
119
  };
120
- export var Location = function Location() {
120
+ export var LocationIcon = function LocationIcon() {
121
121
  return /*#__PURE__*/_jsx("svg", {
122
122
  width: "17px",
123
123
  height: "20px",
@@ -1,7 +1,7 @@
1
- import { ConfigurationContribution, ConfigurationService } from '@difizen/mana-app';
2
- import { ApplicationContribution } from '@difizen/mana-app';
1
+ import { ConfigurationContribution, ConfigurationService } from '@difizen/libro-common/app';
2
+ import { ApplicationContribution } from '@difizen/libro-common/app';
3
3
  export declare class LibroJupyterSettingContribution implements ConfigurationContribution {
4
- registerConfigurations(): (import("@difizen/mana-app").ConfigurationNode<boolean> | import("@difizen/mana-app").ConfigurationNode<string>)[];
4
+ registerConfigurations(): (import("@difizen/libro-common/app").ConfigurationNode<boolean> | import("@difizen/libro-common/app").ConfigurationNode<string>)[];
5
5
  }
6
6
  export declare class ConfigAppContribution implements ApplicationContribution {
7
7
  configurationService: ConfigurationService;
@@ -1 +1 @@
1
- {"version":3,"file":"config-contribution.d.ts","sourceRoot":"","sources":["../../src/config/config-contribution.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAK5D,qBACa,+BAAgC,YAAW,yBAAyB;IAC/E,sBAAsB;CAWvB;AACD,qBACa,qBAAsB,YAAW,uBAAuB;IACrC,oBAAoB,EAAE,oBAAoB,CAAC;IACzE,WAAW;CAIZ"}
1
+ {"version":3,"file":"config-contribution.d.ts","sourceRoot":"","sources":["../../src/config/config-contribution.ts"],"names":[],"mappings":"AACA,OAAO,EACL,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAKpE,qBACa,+BAAgC,YAAW,yBAAyB;IAC/E,sBAAsB;CAWvB;AACD,qBACa,qBAAsB,YAAW,uBAAuB;IACrC,oBAAoB,EAAE,oBAAoB,CAAC;IACzE,WAAW;CAIZ"}
@@ -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 { AutoInsertWhenNoCell, EnterEditModeWhenAddCell } from '@difizen/libro-core';
12
- import { ConfigurationContribution, ConfigurationService } from '@difizen/mana-app';
13
- import { ApplicationContribution } from '@difizen/mana-app';
14
- import { inject, singleton } from '@difizen/mana-app';
12
+ import { ConfigurationContribution, 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
  import { LibroJupyterConfiguration } from "./config.js";
16
16
  export var LibroJupyterSettingContribution = (_dec = singleton({
17
17
  contrib: ConfigurationContribution
@@ -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 LibroConfigAutoSave: ConfigurationNode<boolean>;
3
3
  export declare const LibroConfigOpenSlot: ConfigurationNode<string>;
4
4
  export declare const LibroConfigAllowDownload: 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,mBAAmB,EAAE,iBAAiB,CAAC,OAAO,CAS1D,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,iBAAiB,CAAC,MAAM,CASzD,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,iBAAiB,CAAC,OAAO,CAS/D,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,iBAAiB,CAAC,OAAO,CAS7D,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,iBAAiB,CAAC,OAAO,CASvE,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,MAAM,CASlE,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,MAAM,CASrE,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;CAQrC,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,mBAAmB,EAAE,iBAAiB,CAAC,OAAO,CAS1D,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,iBAAiB,CAAC,MAAM,CASzD,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,iBAAiB,CAAC,OAAO,CAS/D,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,iBAAiB,CAAC,OAAO,CAS7D,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,iBAAiB,CAAC,OAAO,CASvE,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,MAAM,CASlE,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,MAAM,CASrE,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;CAQrC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { l10n } from '@difizen/mana-l10n';
1
+ import { l10n } from '@difizen/libro-common/l10n';
2
2
  export var LibroConfigAutoSave = {
3
3
  id: 'libro.autosave',
4
4
  description: l10n.t('是否自动保存修改'),
@@ -9,8 +9,8 @@ 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';
12
+ import { URI } from '@difizen/libro-common/app';
13
+ import { singleton } from '@difizen/libro-common/app';
14
14
  export var LibroJupyterContentContribution = (_dec = singleton({
15
15
  contrib: ContentContribution
16
16
  }), _dec(_class = /*#__PURE__*/function () {
@@ -1,6 +1,6 @@
1
1
  import type { NotebookOption } from '@difizen/libro-core';
2
2
  import { ContentSaveContribution } from '@difizen/libro-core';
3
- import { ModalService } from '@difizen/mana-app';
3
+ import { ModalService } from '@difizen/libro-common/app';
4
4
  import type { LibroJupyterModel } from '../libro-jupyter-model.js';
5
5
  export declare class LibroJupyterContentSaveContribution implements ContentSaveContribution {
6
6
  protected readonly modalService: ModalService;
@@ -1 +1 @@
1
- {"version":3,"file":"save-content-contribution.d.ts","sourceRoot":"","sources":["../../src/contents/save-content-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAqB,MAAM,mBAAmB,CAAC;AAEpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBACa,mCAAoC,YAAW,uBAAuB;IAC3D,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IAEpE,SAAS,eAEP;IACF,WAAW,YAAmB,cAAc,SAAS,iBAAiB,mBAkDpE;CACH"}
1
+ {"version":3,"file":"save-content-contribution.d.ts","sourceRoot":"","sources":["../../src/contents/save-content-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAqB,MAAM,2BAA2B,CAAC;AAE5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBACa,mCAAoC,YAAW,uBAAuB;IAC3D,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IAEpE,SAAS,eAEP;IACF,WAAW,YAAmB,cAAc,SAAS,iBAAiB,mBAkDpE;CACH"}
@@ -12,7 +12,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
12
12
  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; }
13
13
  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.'); }
14
14
  import { ContentSaveContribution } from '@difizen/libro-core';
15
- import { ModalService, inject, singleton } from '@difizen/mana-app';
15
+ import { ModalService, inject, singleton } from '@difizen/libro-common/app';
16
16
  import { SaveFileErrorModal } from "../toolbar/save-file-error.js";
17
17
  export var LibroJupyterContentSaveContribution = (_dec = singleton({
18
18
  contrib: ContentSaveContribution
@@ -1,5 +1,5 @@
1
- import type { ColorRegistry } from '@difizen/mana-app';
2
- import { ColorContribution } from '@difizen/mana-app';
1
+ import type { ColorRegistry } from '@difizen/libro-common/app';
2
+ import { ColorContribution } from '@difizen/libro-common/app';
3
3
  export declare class FileColorContribution implements ColorContribution {
4
4
  registerColors(colors: ColorRegistry): void;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"file-color-registry.d.ts","sourceRoot":"","sources":["../../src/file/file-color-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAS,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG7D,qBACa,qBAAsB,YAAW,iBAAiB;IAC7D,cAAc,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;CAqB5C"}
1
+ {"version":3,"file":"file-color-registry.d.ts","sourceRoot":"","sources":["../../src/file/file-color-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAS,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGrE,qBACa,qBAAsB,YAAW,iBAAiB;IAC7D,cAAc,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;CAqB5C"}
@@ -5,8 +5,8 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5
5
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
6
6
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
7
  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); }
8
- import { Color, ColorContribution } from '@difizen/mana-app';
9
- import { singleton } from '@difizen/mana-app';
8
+ import { Color, ColorContribution } from '@difizen/libro-common/app';
9
+ import { singleton } from '@difizen/libro-common/app';
10
10
  export var FileColorContribution = (_dec = singleton({
11
11
  contrib: ColorContribution
12
12
  }), _dec(_class = /*#__PURE__*/function () {
@@ -1,7 +1,7 @@
1
1
  import { ContentsManager } from '@difizen/libro-kernel';
2
- import type { CommandRegistry, MenuPath, MenuRegistry, ToolbarRegistry } from '@difizen/mana-app';
3
- import { ViewManager, ConfigurationService } from '@difizen/mana-app';
4
- import { CommandContribution, FileStatNode, MenuContribution, ModalService, OpenerService, ToolbarContribution } from '@difizen/mana-app';
2
+ import type { CommandRegistry, MenuPath, MenuRegistry, ToolbarRegistry } from '@difizen/libro-common/app';
3
+ import { ViewManager, ConfigurationService } from '@difizen/libro-common/app';
4
+ import { CommandContribution, FileStatNode, MenuContribution, ModalService, OpenerService, ToolbarContribution } from '@difizen/libro-common/app';
5
5
  import { JupyterFileService } from './file-service.js';
6
6
  import { FileView } from './file-view/index.js';
7
7
  import './index.less';
@@ -1 +1 @@
1
- {"version":3,"file":"file-command.d.ts","sourceRoot":"","sources":["../../src/file/file-command.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EACV,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,EACL,mBAAmB,EACnB,YAAY,EAEZ,gBAAgB,EAChB,YAAY,EACZ,aAAa,EAEb,mBAAmB,EAEpB,MAAM,mBAAmB,CAAC;AAO3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,cAAc,CAAC;AAEtB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDxB,CAAC;AACF,eAAO,MAAM,uBAAuB,EAAE,QAAqC,CAAC;AAC5E,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAK9D,CAAC;AAEF,qBAGa,uBACX,YAAW,mBAAmB,EAAE,gBAAgB,EAAE,mBAAmB;IAErE,SAAS,CAAC,WAAW,EAAE,WAAW,CAAC;IACP,WAAW,EAAE,kBAAkB,CAAC;IACtC,YAAY,EAAE,YAAY,CAAC;IAC1B,SAAS,CAAC,WAAW,EAAE,aAAa,CAAC;IAC9B,oBAAoB,EAAE,oBAAoB,CAAC;IAChD,eAAe,EAAE,eAAe,CAAC;IAE1D,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,MAAM,GAAG,KAAK,CAAC;IAC3B,cAAc,EAAE,YAAY,CAAC;IAC7B,aAAa,UAAS;IACtB,WAAW,UAAS;gBAEa,WAAW,EAAE,WAAW;IAazD,aAAa,CAAC,IAAI,EAAE,YAAY;IA+EhC,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;IAqOhD,oBAAoB,CAAC,eAAe,EAAE,eAAe,GAAG,IAAI;CAQ7D"}
1
+ {"version":3,"file":"file-command.d.ts","sourceRoot":"","sources":["../../src/file/file-command.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EACV,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,eAAe,EAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EACL,mBAAmB,EACnB,YAAY,EAEZ,gBAAgB,EAChB,YAAY,EACZ,aAAa,EAEb,mBAAmB,EAEpB,MAAM,2BAA2B,CAAC;AAOnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,cAAc,CAAC;AAEtB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDxB,CAAC;AACF,eAAO,MAAM,uBAAuB,EAAE,QAAqC,CAAC;AAC5E,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAK9D,CAAC;AAEF,qBAGa,uBACX,YAAW,mBAAmB,EAAE,gBAAgB,EAAE,mBAAmB;IAErE,SAAS,CAAC,WAAW,EAAE,WAAW,CAAC;IACP,WAAW,EAAE,kBAAkB,CAAC;IACtC,YAAY,EAAE,YAAY,CAAC;IAC1B,SAAS,CAAC,WAAW,EAAE,aAAa,CAAC;IAC9B,oBAAoB,EAAE,oBAAoB,CAAC;IAChD,eAAe,EAAE,eAAe,CAAC;IAE1D,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,MAAM,GAAG,KAAK,CAAC;IAC3B,cAAc,EAAE,YAAY,CAAC;IAC7B,aAAa,UAAS;IACtB,WAAW,UAAS;gBAEa,WAAW,EAAE,WAAW;IAazD,aAAa,CAAC,IAAI,EAAE,YAAY;IA+EhC,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;IAqOhD,oBAAoB,CAAC,eAAe,EAAE,eAAe,GAAG,IAAI;CAQ7D"}
@@ -17,9 +17,9 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
17
17
  import pathUtil from 'path';
18
18
  import { ReloadOutlined } from '@ant-design/icons';
19
19
  import { ContentsManager } from '@difizen/libro-kernel';
20
- import { ViewManager, ConfigurationService } from '@difizen/mana-app';
21
- import { CommandContribution, FileStatNode, inject, MenuContribution, ModalService, OpenerService, singleton, ToolbarContribution, URI } from '@difizen/mana-app';
22
- import { l10n } from '@difizen/mana-l10n';
20
+ import { ViewManager, ConfigurationService } from '@difizen/libro-common/app';
21
+ import { CommandContribution, FileStatNode, inject, MenuContribution, ModalService, OpenerService, singleton, ToolbarContribution, URI } from '@difizen/libro-common/app';
22
+ import { l10n } from '@difizen/libro-common/l10n';
23
23
  import { message, Modal } from 'antd';
24
24
  import { FileCreateModal } from "./file-create-modal.js";
25
25
  import { FileDirCreateModal } from "./file-createdir-modal.js";
@@ -1,5 +1,5 @@
1
- import { ModalContribution } from '@difizen/mana-app';
1
+ import { ModalContribution } from '@difizen/libro-common/app';
2
2
  export declare class FileCreateModalContribution implements ModalContribution {
3
- registerModal(): import("@difizen/mana-app").ModalItem<import("./file-create-modal.js").ModalItemType>;
3
+ registerModal(): import("@difizen/libro-common/app").ModalItem<import("./file-create-modal.js").ModalItemType>;
4
4
  }
5
5
  //# sourceMappingURL=file-create-modal-contribution.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"file-create-modal-contribution.d.ts","sourceRoot":"","sources":["../../src/file/file-create-modal-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,mBAAmB,CAAC;AAIjE,qBACa,2BAA4B,YAAW,iBAAiB;IACnE,aAAa;CAGd"}
1
+ {"version":3,"file":"file-create-modal-contribution.d.ts","sourceRoot":"","sources":["../../src/file/file-create-modal-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,2BAA2B,CAAC;AAIzE,qBACa,2BAA4B,YAAW,iBAAiB;IACnE,aAAa;CAGd"}
@@ -5,7 +5,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5
5
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
6
6
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
7
  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); }
8
- import { ModalContribution, singleton } from '@difizen/mana-app';
8
+ import { ModalContribution, singleton } from '@difizen/libro-common/app';
9
9
  import { FileCreateModal } from "./file-create-modal.js";
10
10
  export var FileCreateModalContribution = (_dec = singleton({
11
11
  contrib: ModalContribution
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" resolution-mode="require"/>
2
- import type { ModalItemProps, ModalItem } from '@difizen/mana-app';
2
+ import type { ModalItemProps, ModalItem } from '@difizen/libro-common/app';
3
3
  import './index.less';
4
4
  export interface ModalItemType {
5
5
  path: string;
@@ -1 +1 @@
1
- {"version":3,"file":"file-create-modal.d.ts","sourceRoot":"","sources":["../../src/file/file-create-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAQnE,OAAO,cAAc,CAAC;AAWtB,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,KAAK,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AAEhE,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,aAAa,CAAC,CA8K5E,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,aAAa,CAGpD,CAAC"}
1
+ {"version":3,"file":"file-create-modal.d.ts","sourceRoot":"","sources":["../../src/file/file-create-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAQ3E,OAAO,cAAc,CAAC;AAWtB,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,KAAK,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AAEhE,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,aAAa,CAAC,CA8K5E,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,aAAa,CAGpD,CAAC"}
@@ -8,10 +8,10 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
8
8
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
9
9
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
10
10
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
- import { ThemeService } from '@difizen/mana-app';
12
- import { CommandRegistry } from '@difizen/mana-app';
13
- import { URI, useInject, ViewManager } from '@difizen/mana-app';
14
- import { l10n } from '@difizen/mana-l10n';
11
+ import { ThemeService } from '@difizen/libro-common/app';
12
+ import { CommandRegistry } from '@difizen/libro-common/app';
13
+ import { URI, useInject, ViewManager } from '@difizen/libro-common/app';
14
+ import { l10n } from '@difizen/libro-common/l10n';
15
15
  import { Col, Form, message, Row, Input, Modal, ConfigProvider, theme } from 'antd';
16
16
  import { useEffect, useRef, useState } from 'react';
17
17
  import "./index.less";
@@ -1,5 +1,5 @@
1
- import { ModalContribution } from '@difizen/mana-app';
1
+ import { ModalContribution } from '@difizen/libro-common/app';
2
2
  export declare class FileCreateDirModalContribution implements ModalContribution {
3
- registerModal(): import("@difizen/mana-app").ModalItem<import("./file-createdir-modal.js").FileDirCreateModalItemType>;
3
+ registerModal(): import("@difizen/libro-common/app").ModalItem<import("./file-createdir-modal.js").FileDirCreateModalItemType>;
4
4
  }
5
5
  //# sourceMappingURL=file-createdir-modal-contribution.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"file-createdir-modal-contribution.d.ts","sourceRoot":"","sources":["../../src/file/file-createdir-modal-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,mBAAmB,CAAC;AAIjE,qBACa,8BAA+B,YAAW,iBAAiB;IACtE,aAAa;CAGd"}
1
+ {"version":3,"file":"file-createdir-modal-contribution.d.ts","sourceRoot":"","sources":["../../src/file/file-createdir-modal-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,2BAA2B,CAAC;AAIzE,qBACa,8BAA+B,YAAW,iBAAiB;IACtE,aAAa;CAGd"}
@@ -5,7 +5,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5
5
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
6
6
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
7
  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); }
8
- import { ModalContribution, singleton } from '@difizen/mana-app';
8
+ import { ModalContribution, singleton } from '@difizen/libro-common/app';
9
9
  import { FileDirCreateModal } from "./file-createdir-modal.js";
10
10
  export var FileCreateDirModalContribution = (_dec = singleton({
11
11
  contrib: ModalContribution
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" resolution-mode="require"/>
2
- import type { ModalItem, ModalItemProps } from '@difizen/mana-app';
2
+ import type { ModalItem, ModalItemProps } from '@difizen/libro-common/app';
3
3
  import './index.less';
4
4
  export interface FileDirCreateModalItemType {
5
5
  path: string;
@@ -1 +1 @@
1
- {"version":3,"file":"file-createdir-modal.d.ts","sourceRoot":"","sources":["../../src/file/file-createdir-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAYnE,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAChD,cAAc,CAAC,0BAA0B,CAAC,CA+F3C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,SAAS,CAAC,0BAA0B,CAGpE,CAAC"}
1
+ {"version":3,"file":"file-createdir-modal.d.ts","sourceRoot":"","sources":["../../src/file/file-createdir-modal.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAY3E,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAChD,cAAc,CAAC,0BAA0B,CAAC,CA+F3C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,SAAS,CAAC,0BAA0B,CAGpE,CAAC"}
@@ -8,11 +8,11 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
8
8
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
9
9
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
10
10
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
- import { ThemeService } from '@difizen/mana-app';
12
- import { URI } from '@difizen/mana-app';
13
- import { ViewManager } from '@difizen/mana-app';
14
- import { useInject } from '@difizen/mana-app';
15
- import { l10n } from '@difizen/mana-l10n';
11
+ import { ThemeService } from '@difizen/libro-common/app';
12
+ import { URI } from '@difizen/libro-common/app';
13
+ import { ViewManager } from '@difizen/libro-common/app';
14
+ import { useInject } from '@difizen/libro-common/app';
15
+ import { l10n } from '@difizen/libro-common/l10n';
16
16
  import { Form, message, Input, Modal, ConfigProvider, theme } from 'antd';
17
17
  import { useEffect, useRef, useState } from 'react';
18
18
  import { JupyterFileService } from "./file-service.js";
@@ -1,4 +1,4 @@
1
- import type { URI } from '@difizen/mana-app';
1
+ import type { URI } from '@difizen/libro-common/app';
2
2
  export declare class FileNameAlias {
3
3
  protected aliases: Map<string, string>;
4
4
  set(uri: URI, name: string): void;
@@ -1 +1 @@
1
- {"version":3,"file":"file-name-alias.d.ts","sourceRoot":"","sources":["../../src/file/file-name-alias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAG7C,qBACa,aAAa;IACxB,SAAS,CAAC,OAAO,sBAA6B;IAE9C,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM;IAI1B,GAAG,CAAC,GAAG,EAAE,GAAG;CAGb"}
1
+ {"version":3,"file":"file-name-alias.d.ts","sourceRoot":"","sources":["../../src/file/file-name-alias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAGrD,qBACa,aAAa;IACxB,SAAS,CAAC,OAAO,sBAA6B;IAE9C,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM;IAI1B,GAAG,CAAC,GAAG,EAAE,GAAG;CAGb"}
@@ -5,7 +5,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5
5
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
6
6
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
7
  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); }
8
- import { singleton } from '@difizen/mana-app';
8
+ import { singleton } from '@difizen/libro-common/app';
9
9
  export var FileNameAlias = (_dec = singleton(), _dec(_class = /*#__PURE__*/function () {
10
10
  function FileNameAlias() {
11
11
  _classCallCheck(this, FileNameAlias);
@@ -1,5 +1,5 @@
1
- import { ModalContribution } from '@difizen/mana-app';
1
+ import { ModalContribution } from '@difizen/libro-common/app';
2
2
  export declare class FileRenameModalContribution implements ModalContribution {
3
- registerModal(): import("@difizen/mana-app").ModalItem<import("./file-rename-modal.js").ModalItemType>;
3
+ registerModal(): import("@difizen/libro-common/app").ModalItem<import("./file-rename-modal.js").ModalItemType>;
4
4
  }
5
5
  //# sourceMappingURL=file-rename-modal-contribution.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"file-rename-modal-contribution.d.ts","sourceRoot":"","sources":["../../src/file/file-rename-modal-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,mBAAmB,CAAC;AAIjE,qBACa,2BAA4B,YAAW,iBAAiB;IACnE,aAAa;CAGd"}
1
+ {"version":3,"file":"file-rename-modal-contribution.d.ts","sourceRoot":"","sources":["../../src/file/file-rename-modal-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,2BAA2B,CAAC;AAIzE,qBACa,2BAA4B,YAAW,iBAAiB;IACnE,aAAa;CAGd"}
@@ -5,7 +5,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5
5
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
6
6
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
7
  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); }
8
- import { ModalContribution, singleton } from '@difizen/mana-app';
8
+ import { ModalContribution, singleton } from '@difizen/libro-common/app';
9
9
  import { FileRenameModal } from "./file-rename-modal.js";
10
10
  export var FileRenameModalContribution = (_dec = singleton({
11
11
  contrib: ModalContribution
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" resolution-mode="require"/>
2
- import type { ModalItem, ModalItemProps, URI } from '@difizen/mana-app';
2
+ import type { ModalItem, ModalItemProps, URI } from '@difizen/libro-common/app';
3
3
  import './index.less';
4
4
  export interface ModalItemType {
5
5
  resource: URI;
@@ -1 +1 @@
1
- {"version":3,"file":"file-rename-modal.d.ts","sourceRoot":"","sources":["../../src/file/file-rename-modal.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxE,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,GAAG,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,aAAa,CAAC,CA6F5E,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,aAAa,CAGpD,CAAC"}
1
+ {"version":3,"file":"file-rename-modal.d.ts","sourceRoot":"","sources":["../../src/file/file-rename-modal.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAQhF,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,GAAG,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,aAAa,CAAC,CA6F5E,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,aAAa,CAGpD,CAAC"}
@@ -8,8 +8,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
8
8
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
9
9
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
10
10
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
- import { ThemeService, useInject, ViewManager } from '@difizen/mana-app';
12
- import { l10n } from '@difizen/mana-l10n';
11
+ import { ThemeService, useInject, ViewManager } from '@difizen/libro-common/app';
12
+ import { l10n } from '@difizen/libro-common/l10n';
13
13
  import { Form, message, Input, Modal, theme, ConfigProvider } from 'antd';
14
14
  import { useEffect, useRef, useState } from 'react';
15
15
  import { JupyterFileService } from "./file-service.js";