@difizen/libro-core 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 (307) hide show
  1. package/es/add-cell/libro-add-cell-module.d.ts +1 -1
  2. package/es/add-cell/libro-add-cell-module.d.ts.map +1 -1
  3. package/es/add-cell/libro-add-cell-module.js +1 -1
  4. package/es/add-cell/libro-add-cell-slot-contribution.d.ts +1 -1
  5. package/es/add-cell/libro-add-cell-slot-contribution.d.ts.map +1 -1
  6. package/es/add-cell/libro-add-cell-slot-contribution.js +2 -2
  7. package/es/add-cell/libro-add-cell-view.d.ts +1 -1
  8. package/es/add-cell/libro-add-cell-view.d.ts.map +1 -1
  9. package/es/add-cell/libro-add-cell-view.js +1 -1
  10. package/es/cell/libro-cell-contribution.js +1 -1
  11. package/es/cell/libro-cell-model.d.ts +1 -1
  12. package/es/cell/libro-cell-model.d.ts.map +1 -1
  13. package/es/cell/libro-cell-model.js +2 -2
  14. package/es/cell/libro-cell-module.d.ts +1 -1
  15. package/es/cell/libro-cell-module.d.ts.map +1 -1
  16. package/es/cell/libro-cell-module.js +1 -1
  17. package/es/cell/libro-cell-protocol.d.ts +2 -2
  18. package/es/cell/libro-cell-protocol.d.ts.map +1 -1
  19. package/es/cell/libro-cell-protocol.js +1 -1
  20. package/es/cell/libro-cell-service.d.ts +2 -2
  21. package/es/cell/libro-cell-service.d.ts.map +1 -1
  22. package/es/cell/libro-cell-service.js +3 -3
  23. package/es/cell/libro-cell-view.d.ts +4 -4
  24. package/es/cell/libro-cell-view.d.ts.map +1 -1
  25. package/es/cell/libro-cell-view.js +6 -6
  26. package/es/cell/libro-edit-cell-view.d.ts +1 -1
  27. package/es/cell/libro-edit-cell-view.d.ts.map +1 -1
  28. package/es/cell/libro-edit-cell-view.js +1 -1
  29. package/es/cell/libro-executable-cell-model.d.ts +1 -1
  30. package/es/cell/libro-executable-cell-model.d.ts.map +1 -1
  31. package/es/cell/libro-executable-cell-view.js +3 -3
  32. package/es/collapse-service.js +1 -1
  33. package/es/command/document-commands.d.ts +1 -1
  34. package/es/command/document-commands.d.ts.map +1 -1
  35. package/es/command/kernel-command.d.ts +1 -1
  36. package/es/command/kernel-command.d.ts.map +1 -1
  37. package/es/command/kernel-command.js +1 -1
  38. package/es/command/libro-command-contribution.d.ts +2 -2
  39. package/es/command/libro-command-contribution.d.ts.map +1 -1
  40. package/es/command/libro-command-contribution.js +2 -2
  41. package/es/command/libro-command-register.d.ts +1 -1
  42. package/es/command/libro-command-register.d.ts.map +1 -1
  43. package/es/command/libro-command-register.js +1 -1
  44. package/es/command/module.d.ts +1 -1
  45. package/es/command/module.d.ts.map +1 -1
  46. package/es/command/module.js +1 -1
  47. package/es/command/notebook-commands.d.ts +1 -1
  48. package/es/command/notebook-commands.d.ts.map +1 -1
  49. package/es/command/notebook-commands.js +1 -1
  50. package/es/components/dnd-cell-item-render.js +2 -2
  51. package/es/components/dnd-component/default-dnd-content.d.ts.map +1 -1
  52. package/es/components/dnd-component/default-dnd-content.js +90 -167
  53. package/es/components/dnd-component/dnd-list.d.ts +12 -0
  54. package/es/components/dnd-component/dnd-list.d.ts.map +1 -1
  55. package/es/components/dnd-component/dnd-list.js +307 -63
  56. package/es/components/dnd-component/index.d.ts +0 -2
  57. package/es/components/dnd-component/index.d.ts.map +1 -1
  58. package/es/components/dnd-component/index.js +0 -2
  59. package/es/components/dnd-component/index.less +84 -0
  60. package/es/components/dnd-component/virtualized-manager.d.ts.map +1 -1
  61. package/es/components/dnd-component/virtualized-manager.js +3 -9
  62. package/es/components/libro-component.js +2 -2
  63. package/es/components/libro-side-toolbar-menu.js +2 -2
  64. package/es/components/libro-view-header.js +1 -1
  65. package/es/content/libro-content-contribution.js +1 -1
  66. package/es/content/libro-content-module.d.ts +1 -1
  67. package/es/content/libro-content-module.d.ts.map +1 -1
  68. package/es/content/libro-content-module.js +1 -1
  69. package/es/content/libro-content-protocol.d.ts +1 -1
  70. package/es/content/libro-content-protocol.d.ts.map +1 -1
  71. package/es/content/libro-content-protocol.js +1 -1
  72. package/es/content/libro-content-service.d.ts +1 -1
  73. package/es/content/libro-content-service.d.ts.map +1 -1
  74. package/es/content/libro-content-service.js +1 -1
  75. package/es/content/libro-save-content-contribution.js +1 -1
  76. package/es/formatter/libro-formatter-json-contribution.d.ts +1 -1
  77. package/es/formatter/libro-formatter-json-contribution.js +1 -1
  78. package/es/formatter/libro-formatter-manager.d.ts +1 -1
  79. package/es/formatter/libro-formatter-manager.d.ts.map +1 -1
  80. package/es/formatter/libro-formatter-manager.js +1 -1
  81. package/es/formatter/libro-formatter-module.d.ts +1 -1
  82. package/es/formatter/libro-formatter-module.d.ts.map +1 -1
  83. package/es/formatter/libro-formatter-module.js +1 -1
  84. package/es/formatter/libro-formatter-protocol.d.ts +1 -1
  85. package/es/formatter/libro-formatter-protocol.d.ts.map +1 -1
  86. package/es/formatter/libro-formatter-protocol.js +1 -1
  87. package/es/formatter/libro-formatter-string-contribution.d.ts +1 -1
  88. package/es/formatter/libro-formatter-string-contribution.js +1 -1
  89. package/es/formatter/libro-formatter-trans-default-contribution.js +1 -1
  90. package/es/index.d.ts +2 -0
  91. package/es/index.d.ts.map +1 -1
  92. package/es/index.js +2 -0
  93. package/es/index.less +0 -22
  94. package/es/libro-context-key.d.ts +3 -3
  95. package/es/libro-context-key.d.ts.map +1 -1
  96. package/es/libro-context-key.js +2 -2
  97. package/es/libro-keybind-registry.d.ts +1 -1
  98. package/es/libro-keybind-registry.d.ts.map +1 -1
  99. package/es/libro-keybind-registry.js +2 -2
  100. package/es/libro-model.d.ts +9 -9
  101. package/es/libro-model.d.ts.map +1 -1
  102. package/es/libro-model.js +4 -4
  103. package/es/libro-protocol.d.ts +2 -2
  104. package/es/libro-protocol.d.ts.map +1 -1
  105. package/es/libro-service.d.ts +13 -13
  106. package/es/libro-service.d.ts.map +1 -1
  107. package/es/libro-service.js +4 -4
  108. package/es/libro-setting-contribution.d.ts +2 -2
  109. package/es/libro-setting-contribution.d.ts.map +1 -1
  110. package/es/libro-setting-contribution.js +1 -1
  111. package/es/libro-setting.d.ts +1 -1
  112. package/es/libro-setting.d.ts.map +1 -1
  113. package/es/libro-setting.js +1 -1
  114. package/es/libro-view-tracker.js +1 -1
  115. package/es/libro-view.d.ts +9 -9
  116. package/es/libro-view.d.ts.map +1 -1
  117. package/es/libro-view.js +8 -12
  118. package/es/libro-workspace-service.d.ts +1 -1
  119. package/es/libro-workspace-service.d.ts.map +1 -1
  120. package/es/libro-workspace-service.js +2 -2
  121. package/es/module.d.ts +1 -1
  122. package/es/module.d.ts.map +1 -1
  123. package/es/module.js +2 -2
  124. package/es/output/output-area.d.ts +4 -4
  125. package/es/output/output-area.d.ts.map +1 -1
  126. package/es/output/output-area.js +2 -2
  127. package/es/output/output-contribution.d.ts +1 -1
  128. package/es/output/output-contribution.d.ts.map +1 -1
  129. package/es/output/output-contribution.js +1 -1
  130. package/es/output/output-model.d.ts +1 -1
  131. package/es/output/output-model.d.ts.map +1 -1
  132. package/es/output/output-model.js +2 -2
  133. package/es/output/output-module.d.ts +1 -1
  134. package/es/output/output-module.d.ts.map +1 -1
  135. package/es/output/output-module.js +1 -1
  136. package/es/output/output-protocol.d.ts +3 -3
  137. package/es/output/output-protocol.d.ts.map +1 -1
  138. package/es/output/output-protocol.js +1 -1
  139. package/es/settings/module.d.ts +1 -1
  140. package/es/settings/module.d.ts.map +1 -1
  141. package/es/settings/module.js +1 -1
  142. package/es/settings/setting-editor/configuration-panel-view.d.ts +2 -2
  143. package/es/settings/setting-editor/configuration-panel-view.d.ts.map +1 -1
  144. package/es/settings/setting-editor/configuration-panel-view.js +1 -1
  145. package/es/settings/setting-editor/configuration-render-contribution.d.ts +2 -2
  146. package/es/settings/setting-editor/configuration-render-contribution.d.ts.map +1 -1
  147. package/es/settings/setting-editor/configuration-render-contribution.js +1 -1
  148. package/es/settings/setting-editor/default-node-render.d.ts +1 -1
  149. package/es/settings/setting-editor/default-node-render.d.ts.map +1 -1
  150. package/es/settings/setting-editor/default-node-render.js +1 -1
  151. package/es/settings/setting-editor/module.d.ts +1 -1
  152. package/es/settings/setting-editor/module.d.ts.map +1 -1
  153. package/es/settings/setting-editor/module.js +1 -1
  154. package/es/settings/setting-editor/setting-editor-view.d.ts +1 -1
  155. package/es/settings/setting-editor/setting-editor-view.d.ts.map +1 -1
  156. package/es/settings/setting-editor/setting-editor-view.js +2 -2
  157. package/es/settings/setting-editor/setting-tree-service.d.ts +3 -3
  158. package/es/settings/setting-editor/setting-tree-service.d.ts.map +1 -1
  159. package/es/settings/setting-editor/setting-tree-service.js +2 -2
  160. package/es/settings/setting-editor/setting-tree-view.d.ts +2 -2
  161. package/es/settings/setting-editor/setting-tree-view.d.ts.map +1 -1
  162. package/es/settings/setting-editor/setting-tree-view.js +2 -2
  163. package/es/settings/settings-contribution.d.ts +3 -3
  164. package/es/settings/settings-contribution.d.ts.map +1 -1
  165. package/es/settings/settings-contribution.js +2 -2
  166. package/es/settings/settings-modal.d.ts +1 -1
  167. package/es/settings/settings-modal.d.ts.map +1 -1
  168. package/es/settings/settings-modal.js +3 -3
  169. package/es/settings/settings-protocol.d.ts +1 -1
  170. package/es/settings/settings-protocol.d.ts.map +1 -1
  171. package/es/slot/libro-slot-manager.d.ts +2 -2
  172. package/es/slot/libro-slot-manager.d.ts.map +1 -1
  173. package/es/slot/libro-slot-manager.js +2 -2
  174. package/es/slot/libro-slot-protocol.d.ts +2 -2
  175. package/es/slot/libro-slot-protocol.d.ts.map +1 -1
  176. package/es/slot/libro-slot-protocol.js +1 -1
  177. package/es/slot/libro-slot-view.d.ts +2 -2
  178. package/es/slot/libro-slot-view.d.ts.map +1 -1
  179. package/es/slot/libro-slot-view.js +3 -3
  180. package/es/slot/module.d.ts +1 -1
  181. package/es/slot/module.d.ts.map +1 -1
  182. package/es/slot/module.js +1 -1
  183. package/es/theme/libro-color-registry.d.ts +2 -2
  184. package/es/theme/libro-color-registry.d.ts.map +1 -1
  185. package/es/theme/libro-color-registry.js +2 -2
  186. package/es/toolbar/all-outputs-scroll-icon.js +1 -1
  187. package/es/toolbar/change-cell-to-selector.js +1 -1
  188. package/es/toolbar/hide-all-selector.js +2 -2
  189. package/es/toolbar/libro-toolbar.d.ts +2 -2
  190. package/es/toolbar/libro-toolbar.d.ts.map +1 -1
  191. package/es/toolbar/libro-toolbar.js +3 -3
  192. package/es/toolbar/module.d.ts +1 -1
  193. package/es/toolbar/module.d.ts.map +1 -1
  194. package/es/toolbar/module.js +1 -1
  195. package/es/toolbar/restart-clear-outputs-contribution.d.ts +2 -2
  196. package/es/toolbar/restart-clear-outputs-contribution.d.ts.map +1 -1
  197. package/es/toolbar/restart-clear-outputs-contribution.js +1 -1
  198. package/es/toolbar/restart-clear-outputs-modal.d.ts +1 -1
  199. package/es/toolbar/restart-clear-outputs-modal.d.ts.map +1 -1
  200. package/es/toolbar/restart-clear-outputs-modal.js +1 -1
  201. package/es/toolbar/save-icon.js +1 -1
  202. package/es/toolbar/shutdown-contribution.d.ts +2 -2
  203. package/es/toolbar/shutdown-contribution.d.ts.map +1 -1
  204. package/es/toolbar/shutdown-contribution.js +1 -1
  205. package/es/toolbar/shutdown-modal.d.ts +1 -1
  206. package/es/toolbar/shutdown-modal.d.ts.map +1 -1
  207. package/es/toolbar/side-toolar-more-select.js +4 -4
  208. package/es/utils/index.js +1 -1
  209. package/es/virtualized-manager-helper.js +1 -1
  210. package/es/virtualized-manager.d.ts.map +1 -1
  211. package/es/virtualized-manager.js +2 -9
  212. package/package.json +10 -9
  213. package/src/add-cell/libro-add-cell-module.ts +1 -1
  214. package/src/add-cell/libro-add-cell-slot-contribution.ts +2 -2
  215. package/src/add-cell/libro-add-cell-view.tsx +1 -1
  216. package/src/cell/libro-cell-contribution.ts +1 -1
  217. package/src/cell/libro-cell-model.ts +2 -2
  218. package/src/cell/libro-cell-module.ts +1 -1
  219. package/src/cell/libro-cell-protocol.ts +2 -2
  220. package/src/cell/libro-cell-service.ts +4 -4
  221. package/src/cell/libro-cell-view.tsx +7 -7
  222. package/src/cell/libro-edit-cell-view.tsx +1 -1
  223. package/src/cell/libro-executable-cell-model.ts +1 -1
  224. package/src/cell/libro-executable-cell-view.ts +3 -3
  225. package/src/collapse-service.ts +1 -1
  226. package/src/command/document-commands.ts +1 -1
  227. package/src/command/kernel-command.ts +2 -2
  228. package/src/command/libro-command-contribution.ts +3 -3
  229. package/src/command/libro-command-register.ts +2 -2
  230. package/src/command/module.ts +1 -1
  231. package/src/command/notebook-commands.ts +2 -2
  232. package/src/components/dnd-cell-item-render.tsx +2 -2
  233. package/src/components/dnd-component/default-dnd-content.tsx +101 -165
  234. package/src/components/dnd-component/dnd-list.tsx +309 -35
  235. package/src/components/dnd-component/index.less +84 -0
  236. package/src/components/dnd-component/index.tsx +0 -2
  237. package/src/components/dnd-component/virtualized-manager.ts +11 -8
  238. package/src/components/libro-component.tsx +2 -2
  239. package/src/components/libro-side-toolbar-menu.tsx +3 -3
  240. package/src/components/libro-view-header.tsx +1 -1
  241. package/src/content/libro-content-contribution.ts +1 -1
  242. package/src/content/libro-content-module.ts +1 -1
  243. package/src/content/libro-content-protocol.ts +1 -1
  244. package/src/content/libro-content-service.ts +2 -2
  245. package/src/content/libro-save-content-contribution.ts +1 -1
  246. package/src/formatter/libro-formatter-json-contribution.ts +1 -1
  247. package/src/formatter/libro-formatter-manager.ts +2 -2
  248. package/src/formatter/libro-formatter-module.ts +1 -1
  249. package/src/formatter/libro-formatter-protocol.ts +1 -1
  250. package/src/formatter/libro-formatter-string-contribution.ts +1 -1
  251. package/src/formatter/libro-formatter-trans-default-contribution.ts +1 -1
  252. package/src/index.less +0 -22
  253. package/src/index.tsx +3 -0
  254. package/src/libro-context-key.ts +4 -4
  255. package/src/libro-keybind-registry.ts +2 -2
  256. package/src/libro-model.ts +4 -4
  257. package/src/libro-protocol.ts +2 -2
  258. package/src/libro-service.ts +5 -5
  259. package/src/libro-setting-contribution.ts +1 -1
  260. package/src/libro-setting.ts +2 -2
  261. package/src/libro-view-tracker.ts +1 -1
  262. package/src/libro-view.tsx +8 -18
  263. package/src/libro-workspace-service.ts +2 -2
  264. package/src/module.ts +2 -2
  265. package/src/output/output-area.tsx +3 -3
  266. package/src/output/output-contribution.ts +1 -1
  267. package/src/output/output-model.tsx +2 -2
  268. package/src/output/output-module.ts +1 -1
  269. package/src/output/output-protocol.ts +3 -3
  270. package/src/settings/module.ts +1 -1
  271. package/src/settings/setting-editor/configuration-panel-view.tsx +2 -2
  272. package/src/settings/setting-editor/configuration-render-contribution.ts +2 -2
  273. package/src/settings/setting-editor/default-node-render.tsx +2 -2
  274. package/src/settings/setting-editor/module.ts +1 -1
  275. package/src/settings/setting-editor/setting-editor-view.tsx +2 -2
  276. package/src/settings/setting-editor/setting-tree-service.ts +3 -3
  277. package/src/settings/setting-editor/setting-tree-view.tsx +3 -3
  278. package/src/settings/settings-contribution.tsx +7 -3
  279. package/src/settings/settings-modal.tsx +4 -4
  280. package/src/settings/settings-protocol.ts +1 -1
  281. package/src/slot/libro-slot-manager.ts +3 -3
  282. package/src/slot/libro-slot-protocol.ts +2 -2
  283. package/src/slot/libro-slot-view.tsx +9 -4
  284. package/src/slot/module.ts +1 -1
  285. package/src/theme/libro-color-registry.ts +3 -3
  286. package/src/toolbar/all-outputs-scroll-icon.tsx +1 -1
  287. package/src/toolbar/change-cell-to-selector.tsx +2 -2
  288. package/src/toolbar/hide-all-selector.tsx +3 -3
  289. package/src/toolbar/libro-toolbar.tsx +4 -4
  290. package/src/toolbar/module.ts +1 -1
  291. package/src/toolbar/restart-clear-outputs-contribution.tsx +1 -1
  292. package/src/toolbar/restart-clear-outputs-modal.tsx +2 -2
  293. package/src/toolbar/save-icon.tsx +2 -2
  294. package/src/toolbar/shutdown-contribution.tsx +1 -1
  295. package/src/toolbar/shutdown-modal.tsx +1 -1
  296. package/src/toolbar/side-toolar-more-select.tsx +5 -5
  297. package/src/utils/index.ts +1 -1
  298. package/src/virtualized-manager-helper.ts +1 -1
  299. package/src/virtualized-manager.ts +10 -8
  300. package/es/components/dnd-component/custom-drag-layer.d.ts +0 -9
  301. package/es/components/dnd-component/custom-drag-layer.d.ts.map +0 -1
  302. package/es/components/dnd-component/custom-drag-layer.js +0 -140
  303. package/es/components/dnd-component/dnd-context.d.ts +0 -3
  304. package/es/components/dnd-component/dnd-context.d.ts.map +0 -1
  305. package/es/components/dnd-component/dnd-context.js +0 -20
  306. package/src/components/dnd-component/custom-drag-layer.tsx +0 -144
  307. package/src/components/dnd-component/dnd-context.tsx +0 -28
@@ -1,5 +1,5 @@
1
1
  import type { IModelContentChange } from '@difizen/libro-code-editor';
2
- import { BaseView, ViewManager, Deferred, DisposableCollection, Emitter, ConfigurationService } from '@difizen/mana-app';
2
+ import { BaseView, ViewManager, Deferred, DisposableCollection, Emitter, ConfigurationService } from '@difizen/libro-common/app';
3
3
  import type { FC, ForwardRefExoticComponent, RefAttributes } from 'react';
4
4
  import { CellService } from './cell/index.js';
5
5
  import type { LibroCell } from './cell/index.js';
@@ -27,13 +27,13 @@ export declare class LibroView extends BaseView implements NotebookView {
27
27
  dndContentRender: FC<DndContentProps>;
28
28
  dndItemRender: React.MemoExoticComponent<ForwardRefExoticComponent<DndItemProps & RefAttributes<HTMLDivElement>>>;
29
29
  protected onCellCreateEmitter: Emitter<CellView>;
30
- get onCellCreate(): import("@difizen/mana-app").Event<CellView>;
30
+ get onCellCreate(): import("@difizen/libro-common/app").Event<CellView>;
31
31
  protected onCellDeleteEmitter: Emitter<CellView>;
32
- get onCellDelete(): import("@difizen/mana-app").Event<CellView>;
32
+ get onCellDelete(): import("@difizen/libro-common/app").Event<CellView>;
33
33
  onBlurEmitter: Emitter;
34
- get onBlur(): import("@difizen/mana-app").Event<any>;
34
+ get onBlur(): import("@difizen/libro-common/app").Event<any>;
35
35
  onRestartEmitter: Emitter;
36
- get onRestart(): import("@difizen/mana-app").Event<any>;
36
+ get onRestart(): import("@difizen/libro-common/app").Event<any>;
37
37
  cellService: CellService;
38
38
  libroService: LibroService;
39
39
  libroSlotManager: LibroSlotManager;
@@ -51,13 +51,13 @@ export declare class LibroView extends BaseView implements NotebookView {
51
51
  get hasModal(): boolean;
52
52
  saving?: boolean;
53
53
  onSaveEmitter: Emitter<boolean>;
54
- get onSave(): import("@difizen/mana-app").Event<boolean>;
54
+ get onSave(): import("@difizen/libro-common/app").Event<boolean>;
55
55
  onCellContentChangedEmitter: Emitter<IModelContentChange[]>;
56
- get onCellContentChanged(): import("@difizen/mana-app").Event<IModelContentChange[]>;
56
+ get onCellContentChanged(): import("@difizen/libro-common/app").Event<IModelContentChange[]>;
57
57
  runCellEmitter: Emitter<CellView>;
58
- get onRunCell(): import("@difizen/mana-app").Event<CellView>;
58
+ get onRunCell(): import("@difizen/libro-common/app").Event<CellView>;
59
59
  cellScrollEmitter: Emitter<void>;
60
- get onCellScroll(): import("@difizen/mana-app").Event<void>;
60
+ get onCellScroll(): import("@difizen/libro-common/app").Event<void>;
61
61
  protected initializedDefer: Deferred<void>;
62
62
  get initialized(): Promise<void>;
63
63
  constructor(options: NotebookOption, collapseServiceFactory: CollapseServiceFactory, notebookService: NotebookService, virtualizedManagerHelper: VirtualizedManagerHelper);
@@ -1 +1 @@
1
- {"version":3,"file":"libro-view.d.ts","sourceRoot":"","sources":["../src/libro-view.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAMtE,OAAO,EAKL,QAAQ,EAIR,WAAW,EAEX,QAAQ,EAER,oBAAoB,EACpB,OAAO,EAIP,oBAAoB,EAErB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,EAAE,EAAE,yBAAyB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI1E,OAAO,EACL,WAAW,EAIZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAA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,cAAc,SAAgB,QAAQ,mBA+BpC;IAEF,cAAc,SAAgB,QAAQ,mBA8BpC;IAEF,UAAU,SAAgB,QAAQ,mBAgChC;IACF,aAAa,aAEX;IAEF,SAAS,SAAgB,QAAQ,mBA0C/B;IACF,kBAAkB,aAKhB;IAEF,gBAAgB,aAId;IAEF;;OAEG;IACH,iBAAiB,SAAgB,QAAQ,SAAS,MAAM,mBAqEtD;IAEF,YAAY,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO;IAI9C,IAAI;CAYL"}
package/es/libro-view.js CHANGED
@@ -32,13 +32,13 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
32
32
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
33
33
  import { ToTopOutlined } from '@ant-design/icons';
34
34
  import { concatMultilineString, copy2clipboard, readFromClipboard } from '@difizen/libro-common';
35
- import { equals, useInject, inject, transient, BaseView, Slot, view, ViewInstance, ViewManager, ViewOption, Deferred, Disposable, DisposableCollection, Emitter, getOrigin, prop, watch, ConfigurationService, useConfigurationValue } from '@difizen/mana-app';
35
+ import { equals, useInject, inject, transient, BaseView, Slot, view, ViewInstance, ViewManager, ViewOption, Deferred, Disposable, DisposableCollection, Emitter, getOrigin, prop, watch, ConfigurationService, useConfigurationValue } from '@difizen/libro-common/app';
36
36
  import { FloatButton, Button, Spin } from 'antd';
37
37
  import { forwardRef, memo, useCallback, useEffect, useRef } from 'react';
38
38
  import { v4 } from 'uuid';
39
39
  import { CellService, EditorCellView, ExecutableCellModel, ExecutableCellView } from "./cell/index.js";
40
40
  import { CollapseServiceFactory } from "./collapse-service.js";
41
- import { CustomDragLayer, DndCellContainer, DndCellItemRender, DndContext, DndList } from "./components/index.js";
41
+ import { DndCellContainer, DndCellItemRender, DndList } from "./components/index.js";
42
42
  import { LibroViewHeader } from "./components/libro-view-header.js";
43
43
  import { LibroContextKey } from "./libro-context-key.js";
44
44
  import { LibroModel } from "./libro-model.js";
@@ -54,7 +54,6 @@ import { jsxs as _jsxs } from "react/jsx-runtime";
54
54
  import { Fragment as _Fragment } from "react/jsx-runtime";
55
55
  export var LibroContentComponent = /*#__PURE__*/memo(function LibroContentComponent() {
56
56
  var libroSlotManager = useInject(LibroSlotManager);
57
- var ref = useRef(null);
58
57
  var libroViewTopRef = useRef(null);
59
58
  var libroViewRightContentRef = useRef(null);
60
59
  var libroViewLeftContentRef = useRef(null);
@@ -116,15 +115,12 @@ export var LibroContentComponent = /*#__PURE__*/memo(function LibroContentCompon
116
115
  className: "libro-view-content-left",
117
116
  style: leftContentStyles,
118
117
  ref: libroViewLeftContentRef,
119
- children: /*#__PURE__*/_jsxs(DndContext, {
120
- children: [/*#__PURE__*/_jsx(CustomDragLayer, {}), /*#__PURE__*/_jsx(DndList, {
121
- libroView: instance,
122
- ref: ref,
123
- children: /*#__PURE__*/_jsx(Slot, {
124
- name: libroSlotManager.getSlotName(instance, 'list'),
125
- slotView: LibroSlotView
126
- })
127
- })]
118
+ children: /*#__PURE__*/_jsx(DndList, {
119
+ libroView: instance,
120
+ children: /*#__PURE__*/_jsx(Slot, {
121
+ name: libroSlotManager.getSlotName(instance, 'list'),
122
+ slotView: LibroSlotView
123
+ })
128
124
  })
129
125
  }), /*#__PURE__*/_jsx("div", {
130
126
  className: "libro-view-content-right",
@@ -1,4 +1,4 @@
1
- import { Deferred, URI } from '@difizen/mana-app';
1
+ import { Deferred, URI } from '@difizen/libro-common/app';
2
2
  import type { NotebookView } from './libro-protocol.js';
3
3
  export declare const ILibroWorkspaceService: unique symbol;
4
4
  export interface ILibroWorkspaceService {
@@ -1 +1 @@
1
- {"version":3,"file":"libro-workspace-service.d.ts","sourceRoot":"","sources":["../src/libro-workspace-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGlD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,sBAAsB,eAAmC,CAAC;AACvE,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACrB,IAAI,aAAa,IAAI,GAAG,CAAC;IACzB,IAAI,SAAS,IAAI,YAAY,EAAE,CAAC;IAChC,IAAI,KAAK,IAAI,GAAG,EAAE,CAAC;CACpB;AAED,qBACa,oBAAqB,YAAW,sBAAsB;IACjE,SAAS,CAAC,QAAQ,iBAAwB;IAC1C,KAAK,gBAAyB;IAE9B,IAAI,aAAa,QAEhB;IACD,IAAI,SAAS,YAEZ;IACD,IAAI,KAAK,YAER;CACF"}
1
+ {"version":3,"file":"libro-workspace-service.d.ts","sourceRoot":"","sources":["../src/libro-workspace-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAG1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,sBAAsB,eAAmC,CAAC;AACvE,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACrB,IAAI,aAAa,IAAI,GAAG,CAAC;IACzB,IAAI,SAAS,IAAI,YAAY,EAAE,CAAC;IAChC,IAAI,KAAK,IAAI,GAAG,EAAE,CAAC;CACpB;AAED,qBACa,oBAAqB,YAAW,sBAAsB;IACjE,SAAS,CAAC,QAAQ,iBAAwB;IAC1C,KAAK,gBAAyB;IAE9B,IAAI,aAAa,QAEhB;IACD,IAAI,SAAS,YAEZ;IACD,IAAI,KAAK,YAER;CACF"}
@@ -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 { Deferred, URI } from '@difizen/mana-app';
9
- import { singleton } from '@difizen/mana-app';
8
+ import { Deferred, URI } from '@difizen/libro-common/app';
9
+ import { singleton } from '@difizen/libro-common/app';
10
10
  export var ILibroWorkspaceService = Symbol('ILibroWorkspaceService');
11
11
  export var BaseWorkspaceService = (_dec = singleton({
12
12
  contrib: ILibroWorkspaceService
package/es/module.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
  export declare const LibroModule: ManaModule;
3
3
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AA6C/C,eAAO,MAAM,WAAW,YA+ErB,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AA6CvD,eAAO,MAAM,WAAW,YA+ErB,CAAC"}
package/es/module.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { CodeEditorModule } from '@difizen/libro-code-editor';
2
- import { ConfigurationModule, ManaAppPreset } from '@difizen/mana-app';
3
- import { ManaModule } from '@difizen/mana-app';
2
+ import { ConfigurationModule, ManaAppPreset } from '@difizen/libro-common/app';
3
+ import { ManaModule } from '@difizen/libro-common/app';
4
4
  import { LibroCellModule } from "./cell/libro-cell-module.js";
5
5
  import { CollapseService, CollapseServiceFactory, CollapseServiceOption, DefaultCollapseService } from "./collapse-service.js";
6
6
  import { LibroCommandModule } from "./command/index.js";
@@ -1,7 +1,7 @@
1
1
  import type { IOutput } from '@difizen/libro-common';
2
- import type { ViewComponent, Contribution } from '@difizen/mana-app';
3
- import { BaseView } from '@difizen/mana-app';
4
- import { Emitter } from '@difizen/mana-app';
2
+ import type { ViewComponent, Contribution } from '@difizen/libro-common/app';
3
+ import { BaseView } from '@difizen/libro-common/app';
4
+ import { Emitter } from '@difizen/libro-common/app';
5
5
  import type { CellView } from '../libro-protocol.js';
6
6
  import type { BaseOutputArea, BaseOutputView, IOutputAreaOption } from './output-protocol.js';
7
7
  import { OutputContribution } from './output-protocol.js';
@@ -20,7 +20,7 @@ export declare class LibroOutputArea extends BaseView implements BaseOutputArea
20
20
  * @internal
21
21
  */
22
22
  onUpdateEmitter: Emitter<void>;
23
- get onUpdate(): import("@difizen/mana-app").Event<void>;
23
+ get onUpdate(): import("@difizen/libro-common/app").Event<void>;
24
24
  get(index: number): BaseOutputView;
25
25
  protected doCreateOutput(options: IOutput): Promise<BaseOutputView>;
26
26
  add: (output: IOutput) => Promise<number>;
@@ -1 +1 @@
1
- {"version":3,"file":"output-area.d.ts","sourceRoot":"","sources":["../../src/output/output-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAIL,QAAQ,EAKT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAoC,MAAM,mBAAmB,CAAC;AAK9E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACd,iBAAiB,EAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAuC1D,qBAEa,eAAgB,SAAQ,QAAS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C,cAAc,CAAC;IASnE,GAAG,WAAkB,OAAO,KAAG,QAAQ,MAAM,CAAC,CA4C5C;IAEF,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,cAAc;IAMtC,GAAG,UAAiB,MAAM,UAAU,OAAO,mBASzC;IACF,KAAK,CAAC,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS;IAUhC,QAAQ,WAAkB,OAAO,EAAE,mBAQjC;IACF,MAAM,QAAO,OAAO,EAAE,CAEpB;IAEF,aAAa,CAAC,IAAI,EAAE,QAAQ;IAI5B,SAAS,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,kBAAkB;IAS5D;;;;;OAKG;IAEH,SAAS,CAAC,aAAa,CAAC,OAAO,EAAE;QAC/B,MAAM,EAAE,OAAO,CAAC;QAChB,SAAS,EAAE,cAAc,CAAC;KAC3B,GAAG,OAAO;CAGZ;AAoCD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE3D;AAED;;GAEG;AAEH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,MAAM,CAK1D;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAQtD"}
@@ -29,8 +29,8 @@ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol
29
29
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
30
30
  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; }
31
31
  import { isError, isStream } from '@difizen/libro-common';
32
- import { ViewOption, getOrigin, ViewRender, BaseView, Priority, useInject, view, ViewInstance } from '@difizen/mana-app';
33
- import { Emitter, prop, contrib, inject, transient } from '@difizen/mana-app';
32
+ import { ViewOption, getOrigin, ViewRender, BaseView, Priority, useInject, view, ViewInstance } from '@difizen/libro-common/app';
33
+ import { Emitter, prop, contrib, inject, transient } from '@difizen/libro-common/app';
34
34
  import { useEffect, forwardRef } from 'react';
35
35
  import { v4 } from 'uuid';
36
36
  import { ExecutableCellView } from "../cell/index.js";
@@ -1,4 +1,4 @@
1
- import { ViewManager } from '@difizen/mana-app';
1
+ import { ViewManager } from '@difizen/libro-common/app';
2
2
  import { LibroOutputView } from './output-model.js';
3
3
  import type { IOutputOptions } from './output-protocol.js';
4
4
  import { OutputContribution } from './output-protocol.js';
@@ -1 +1 @@
1
- {"version":3,"file":"output-contribution.d.ts","sourceRoot":"","sources":["../../src/output/output-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEnE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,qBACa,yBAA0B,YAAW,kBAAkB;IAC7C,WAAW,EAAE,WAAW,CAAC;IAC9C,SAAS,eAAW;IACpB,OAAO,CAAC,MAAM,EAAE,cAAc;CAG/B"}
1
+ {"version":3,"file":"output-contribution.d.ts","sourceRoot":"","sources":["../../src/output/output-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE3E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,qBACa,yBAA0B,YAAW,kBAAkB;IAC7C,WAAW,EAAE,WAAW,CAAC;IAC9C,SAAS,eAAW;IACpB,OAAO,CAAC,MAAM,EAAE,cAAc;CAG/B"}
@@ -8,7 +8,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
8
8
  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); }
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
- import { inject, singleton, ViewManager } from '@difizen/mana-app';
11
+ import { inject, singleton, ViewManager } from '@difizen/libro-common/app';
12
12
  import { LibroOutputView } from "./output-model.js";
13
13
  import { OutputContribution } from "./output-protocol.js";
14
14
  export var DefaultOutputContribution = (_dec = singleton({
@@ -1,5 +1,5 @@
1
1
  import type { IOutput, JSONObject, PartialJSONObject } from '@difizen/libro-common';
2
- import { BaseView } from '@difizen/mana-app';
2
+ import { BaseView } from '@difizen/libro-common/app';
3
3
  import type { FC } from 'react';
4
4
  import type { CellView } from '../libro-protocol.js';
5
5
  import type { IOutputOptions } from './output-protocol.js';
@@ -1 +1 @@
1
- {"version":3,"file":"output-model.d.ts","sourceRoot":"","sources":["../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sBAAsB,CAAC;AAErD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAS5E,qBAEa,eAAgB,SAAQ,QAAS,YAAW,cAAc;IAC5D,EAAE,SAAQ;IAGnB,IAAI,EAAE,QAAQ,CAAC;IAGf,GAAG,EAAE,OAAO,CAAC;IAGb,UAAU,UAAQ;IAGlB,IAAI,EAAE,UAAU,CAAC;IAEjB,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;gBACe,OAAO,EAAE,cAAc;IAUvD,MAAM,EAAE,EAAE,CAAC;QAAE,MAAM,EAAE,cAAc,CAAA;KAAE,CAAC,CAA0B;IAEvD,OAAO;IAGhB,MAAM;IAGN,OAAO,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;CAQxC;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,wBAAkB,CAAC"}
@@ -17,8 +17,8 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
17
17
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
18
18
  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; }
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
- import { BaseView, prop, view, ViewOption } from '@difizen/mana-app';
21
- import { inject, transient } from '@difizen/mana-app';
20
+ import { BaseView, prop, view, ViewOption } from '@difizen/libro-common/app';
21
+ import { inject, transient } from '@difizen/libro-common/app';
22
22
  import { v4 } from 'uuid';
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  var LibroOutputModelRender = function LibroOutputModelRender(props) {
@@ -1,3 +1,3 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
  export declare const OutputModule: ManaModule;
3
3
  //# sourceMappingURL=output-module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"output-module.d.ts","sourceRoot":"","sources":["../../src/output/output-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAO/C,eAAO,MAAM,YAAY,YAEgD,CAAC"}
1
+ {"version":3,"file":"output-module.d.ts","sourceRoot":"","sources":["../../src/output/output-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAOvD,eAAO,MAAM,YAAY,YAEgD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
  import { LibroOutputArea } from "./output-area.js";
3
3
  import { DefaultOutputContribution } from "./output-contribution.js";
4
4
  import { LibroOutputModel } from "./output-model.js";
@@ -1,7 +1,7 @@
1
1
  import type { IOutput, ReadonlyPartialJSONObject, JSONObject } from '@difizen/libro-common';
2
- import type { Event } from '@difizen/mana-app';
3
- import type { View } from '@difizen/mana-app';
4
- import { Syringe } from '@difizen/mana-app';
2
+ import type { Event } from '@difizen/libro-common/app';
3
+ import type { View } from '@difizen/libro-common/app';
4
+ import { Syringe } from '@difizen/libro-common/app';
5
5
  import type { CellView } from '../libro-protocol.js';
6
6
  export declare const CellOption: unique symbol;
7
7
  export interface IOutputAreaOption {
@@ -1 +1 @@
1
- {"version":3,"file":"output-protocol.d.ts","sourceRoot":"","sources":["../../src/output/output-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,yBAAyB,EACzB,UAAU,EACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,UAAU,eAAuB,CAAC;AAE/C,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,MAAM,WAAW,cAAe,SAAQ,IAAI;IAC1C;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB;;OAEG;IAGH;;OAEG;IACH,GAAG,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,eAAe,CAAC;IAExC;;;;;;;;OAQG;IACH,GAAG,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAE1C;;OAEG;IACH,GAAG,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvD;;;;OAIG;IACH,KAAK,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAEhC;;;;;OAKG;IACH,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/C;;OAEG;IACH,MAAM,EAAE,MAA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AAc,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;AAEvF,eAAO,MAAM,kBAAkB,sBAA4C,CAAC;AAC5E,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,MAAM,CAAC;IACvC,OAAO,EAAE,kBAAkB,CAAC;CAC7B"}
@@ -1,4 +1,4 @@
1
- import { Syringe } from '@difizen/mana-app';
1
+ import { Syringe } from '@difizen/libro-common/app';
2
2
  export var CellOption = Symbol('CellOption');
3
3
 
4
4
  /**
@@ -1,3 +1,3 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
  export declare const SettingsModule: ManaModule;
3
3
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/settings/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK/C,eAAO,MAAM,cAAc,YAEK,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/settings/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAKvD,eAAO,MAAM,cAAc,YAEK,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
  import { SettingEditorModule } from "./setting-editor/index.js";
3
3
  import { SettingsContribution } from "./settings-contribution.js";
4
4
  export var SettingsModule = ManaModule.create().register(SettingsContribution).dependOn(SettingEditorModule);
@@ -1,5 +1,5 @@
1
- import type { ConfigurationNode } from '@difizen/mana-app';
2
- import { BaseView } from '@difizen/mana-app';
1
+ import type { ConfigurationNode } from '@difizen/libro-common/app';
2
+ import { BaseView } from '@difizen/libro-common/app';
3
3
  import React from 'react';
4
4
  import './index.less';
5
5
  export declare const ConfigurationNodeRender: React.FC<{
@@ -1 +1 @@
1
- {"version":3,"file":"configuration-panel-view.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/configuration-panel-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EACL,QAAQ,EAST,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,cAAc,CAAC;AAOtB,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,IAAI,EAAE,iBAAiB,CAAC,GAAG,CAAC,CAAA;CAAE,CAwC9E,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,KAAK,CAAC,EAerD,CAAC;AAEF,qBAEa,sBAAuB,SAAQ,QAAQ;IACzC,IAAI,eAAqC;IAGlD,kBAAkB,EAAE,iBAAiB,CAAC,GAAG,CAAC,EAAE,CAAM;CACnD"}
1
+ {"version":3,"file":"configuration-panel-view.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/configuration-panel-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACL,QAAQ,EAST,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,cAAc,CAAC;AAOtB,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,IAAI,EAAE,iBAAiB,CAAC,GAAG,CAAC,CAAA;CAAE,CAwC9E,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,KAAK,CAAC,EAerD,CAAC;AAEF,qBAEa,sBAAuB,SAAQ,QAAQ;IACzC,IAAI,eAAqC;IAGlD,kBAAkB,EAAE,iBAAiB,CAAC,GAAG,CAAC,EAAE,CAAM;CACnD"}
@@ -24,7 +24,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
24
24
  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; }
25
25
  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; } }
26
26
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
27
- import { BaseView, prop, transient, useInject, view, ViewInstance, ConfigurationRenderRegistry, useConfigurationValue, SchemaValidator } from '@difizen/mana-app';
27
+ import { BaseView, prop, transient, useInject, view, ViewInstance, ConfigurationRenderRegistry, useConfigurationValue, SchemaValidator } from '@difizen/libro-common/app';
28
28
  import { Form } from 'antd';
29
29
  import React from 'react';
30
30
  import "./index.less";
@@ -1,5 +1,5 @@
1
- import type { ConfigurationRender } from '@difizen/mana-app';
2
- import { ConfigurationRenderContribution } from '@difizen/mana-app';
1
+ import type { ConfigurationRender } from '@difizen/libro-common/app';
2
+ import { ConfigurationRenderContribution } from '@difizen/libro-common/app';
3
3
  export declare class DefaultConfigurationRenderContribution implements ConfigurationRenderContribution {
4
4
  registerConfigurationRenders(): ConfigurationRender[];
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"configuration-render-contribution.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/configuration-render-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAa,+BAA+B,EAAE,MAAM,mBAAmB,CAAC;AAW/E,qBACa,sCACX,YAAW,+BAA+B;IAE1C,4BAA4B,IAAI,mBAAmB,EAAE;CAgEtD"}
1
+ {"version":3,"file":"configuration-render-contribution.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/configuration-render-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAa,+BAA+B,EAAE,MAAM,2BAA2B,CAAC;AAWvF,qBACa,sCACX,YAAW,+BAA+B;IAE1C,4BAA4B,IAAI,mBAAmB,EAAE;CAgEtD"}
@@ -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, ConfigurationRenderContribution } from '@difizen/mana-app';
8
+ import { singleton, ConfigurationRenderContribution } from '@difizen/libro-common/app';
9
9
  import { DefaultCheckbox, DefaultInput, DefaultInputNumber, DefaultSelect, DefaultSwitch, DefaultDatePicker } from "./default-node-render.js";
10
10
  export var DefaultConfigurationRenderContribution = (_dec = singleton({
11
11
  contrib: [ConfigurationRenderContribution]
@@ -1,4 +1,4 @@
1
- import type { RenderProps } from '@difizen/mana-app';
1
+ import type { RenderProps } from '@difizen/libro-common/app';
2
2
  import React from 'react';
3
3
  export declare const DefaultInput: React.FC<RenderProps<string>>;
4
4
  export declare const DefaultInputNumber: React.FC<RenderProps<number>>;
@@ -1 +1 @@
1
- {"version":3,"file":"default-node-render.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/default-node-render.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAEtD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAW5D,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,CAS1D,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,CAExD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAYvD,CAAC;AAIF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAQ3D,CAAC"}
1
+ {"version":3,"file":"default-node-render.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/default-node-render.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAI7D,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAEtD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAW5D,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,CAS1D,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,CAExD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAYvD,CAAC;AAIF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,CAQ3D,CAAC"}
@@ -1,4 +1,4 @@
1
- import { l10n } from '@difizen/mana-l10n';
1
+ import { l10n } from '@difizen/libro-common/l10n';
2
2
  import { Checkbox, DatePicker, Input, InputNumber, Select, Switch } from 'antd';
3
3
  import dayjs from 'dayjs';
4
4
  import React from 'react';
@@ -1,3 +1,3 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
  export declare const SettingEditorModule: ManaModule;
3
3
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAuB,MAAM,mBAAmB,CAAC;AAQpE,eAAO,MAAM,mBAAmB,YAQA,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAuB,MAAM,2BAA2B,CAAC;AAQ5E,eAAO,MAAM,mBAAmB,YAQA,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ManaModule, ConfigurationModule } from '@difizen/mana-app';
1
+ import { ManaModule, ConfigurationModule } from '@difizen/libro-common/app';
2
2
  import { ConfigurationPanelView } from "./configuration-panel-view.js";
3
3
  import { DefaultConfigurationRenderContribution } from "./configuration-render-contribution.js";
4
4
  import { SettingEditorView } from "./setting-editor-view.js";
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" resolution-mode="require"/>
2
- import { BaseView, ViewManager, ConfigurationRegistry } from '@difizen/mana-app';
2
+ import { BaseView, ViewManager, ConfigurationRegistry } from '@difizen/libro-common/app';
3
3
  import { ConfigurationPanelView } from './configuration-panel-view.js';
4
4
  export declare const SettingEditorComponent: React.FC;
5
5
  export declare class SettingEditorView extends BaseView {
@@ -1 +1 @@
1
- {"version":3,"file":"setting-editor-view.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/setting-editor-view.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,QAAQ,EAKR,WAAW,EAKX,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAGvE,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EA0B1C,CAAC;AAEF,qBAEa,iBAAkB,SAAQ,QAAQ;IACpC,IAAI,yBAA0B;IAEvC,SAAS,CAAC,QAAQ,CAAC,qBAAqB,EAAE,qBAAqB,CAAC;IAChE,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;gBAGX,qBAAqB,EAAE,qBAAqB,EACtD,WAAW,EAAE,WAAW;IAQ/C,kBAAkB,CAAC,EAAE,sBAAsB,CAAC;IAE7B,WAAW;IAKpB,SAAS;IAYT,YAAY;CAQnB"}
1
+ {"version":3,"file":"setting-editor-view.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/setting-editor-view.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,QAAQ,EAKR,WAAW,EAKX,qBAAqB,EACtB,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAGvE,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EA0B1C,CAAC;AAEF,qBAEa,iBAAkB,SAAQ,QAAQ;IACpC,IAAI,yBAA0B;IAEvC,SAAS,CAAC,QAAQ,CAAC,qBAAqB,EAAE,qBAAqB,CAAC;IAChE,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;gBAGX,qBAAqB,EAAE,qBAAqB,EACtD,WAAW,EAAE,WAAW;IAQ/C,kBAAkB,CAAC,EAAE,sBAAsB,CAAC;IAE7B,WAAW;IAKpB,SAAS;IAYT,YAAY;CAQnB"}
@@ -24,8 +24,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
24
24
  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; }
25
25
  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; } }
26
26
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
27
- import { BaseView, view, singleton, ViewRender, inject, ViewManager, useInject, ViewInstance, prop, URI, ConfigurationRegistry } from '@difizen/mana-app';
28
- import { SplitPanel } from '@difizen/mana-react';
27
+ import { SplitPanel } from '@difizen/libro-common/react';
28
+ import { BaseView, view, singleton, ViewRender, inject, ViewManager, useInject, ViewInstance, prop, URI, ConfigurationRegistry } from '@difizen/libro-common/app';
29
29
  import { useEffect, useState } from 'react';
30
30
  import { ConfigurationPanelView } from "./configuration-panel-view.js";
31
31
  import { SettingTreeView } from "./setting-tree-view.js";
@@ -1,6 +1,6 @@
1
- import { ConfigurationRegistry, URI } from '@difizen/mana-app';
2
- import { FileService } from '@difizen/mana-app';
3
- import type { FileStatWithMetadata } from '@difizen/mana-app';
1
+ import { ConfigurationRegistry, URI } from '@difizen/libro-common/app';
2
+ import { FileService } from '@difizen/libro-common/app';
3
+ import type { FileStatWithMetadata } from '@difizen/libro-common/app';
4
4
  export declare class SettingTreeService extends FileService {
5
5
  protected readonly configurationRegistry: ConfigurationRegistry;
6
6
  constructor(configurationRegistry: ConfigurationRegistry);
@@ -1 +1 @@
1
- {"version":3,"file":"setting-tree-service.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/setting-tree-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,qBAAqB,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAa,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAY9D,qBACa,kBAAmB,SAAQ,WAAW;IACjD,SAAS,CAAC,QAAQ,CAAC,qBAAqB,EAAE,qBAAqB,CAAC;gBAE/B,qBAAqB,EAAE,qBAAqB;IAM9D,OAAO,CACpB,QAAQ,EAAE,GAAG,GAEZ,OAAO,CAAC,oBAAoB,CAAC;CAsDjC"}
1
+ {"version":3,"file":"setting-tree-service.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/setting-tree-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,qBAAqB,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAa,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAYtE,qBACa,kBAAmB,SAAQ,WAAW;IACjD,SAAS,CAAC,QAAQ,CAAC,qBAAqB,EAAE,qBAAqB,CAAC;gBAE/B,qBAAqB,EAAE,qBAAqB;IAM9D,OAAO,CACpB,QAAQ,EAAE,GAAG,GAEZ,OAAO,CAAC,oBAAoB,CAAC;CAsDjC"}
@@ -24,8 +24,8 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
24
24
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
25
25
  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; } }
26
26
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
27
- import { inject, ConfigurationRegistry, URI } from '@difizen/mana-app';
28
- import { FileService, singleton } from '@difizen/mana-app';
27
+ import { inject, ConfigurationRegistry, URI } from '@difizen/libro-common/app';
28
+ import { FileService, singleton } from '@difizen/libro-common/app';
29
29
  var defaultFileMeta = {
30
30
  mtime: 0,
31
31
  ctime: 0,
@@ -1,5 +1,5 @@
1
- import { CommandRegistry, FileTreeModel, FileTreeView, LabelProvider, SelectionService, TreeDecoratorService, TreeProps, TreeViewDecorator } from '@difizen/mana-app';
2
- import type { TreeNode } from '@difizen/mana-app';
1
+ import { CommandRegistry, FileTreeModel, FileTreeView, LabelProvider, SelectionService, TreeDecoratorService, TreeProps, TreeViewDecorator } from '@difizen/libro-common/app';
2
+ import type { TreeNode } from '@difizen/libro-common/app';
3
3
  import React from 'react';
4
4
  import './index.less';
5
5
  export declare const SettingTreeFactoryId = "setting-editor-tree";
@@ -1 +1 @@
1
- {"version":3,"file":"setting-tree-view.d.ts","sourceRoot":"","sources":["../../../src/settings/setting-editor/setting-tree-view.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAEf,aAAa,EACb,YAAY,EAGZ,aAAa,EACb,gBAAgB,EAEhB,oBAAoB,EACpB,SAAS,EAET,iBAAiB,EAElB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,cAAc,CAAC;AAEtB,eAAO,MAAM,oBAAoB,wBAAwB,CAAC;AAC1D,eAAO,MAAM,iBAAiB,yFAW7B,CA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SAAS,CAAC,OAAO,EAAE,eAAe,CAAC;IACnC,SAAkB,KAAK,EAAE,SAAS,CAAC;IACnC,SAAkB,KAAK,EAAE,aAAa,CAAC;IACvC,SAAkB,iBAAiB,EAAE,iBAAiB,CAAC;IACvD,SAAkB,gBAAgB,EAAE,gBAAgB,CAAC;IACrD,SAAkB,aAAa,EAAE,aAAa,CAAC;IAC/C,mBAA4B,gBAAgB,EAAE,oBAAoB,CAAC;gBAGxC,OAAO,EAAE,eAAe,EAC9B,KAAK,EAAE,SAAS,EACZ,KAAK,EAAE,aAAa,EAChB,iBAAiB,EAAE,iBAAiB,EACrC,gBAAgB,EAAE,gBAAgB,EACrC,aAAa,EAAE,aAAa,EAEnD,gBAAgB,EAAE,oBAAoB;IAqB/B,gBAAgB,CACvB,IAAI,EAAE,QAAQ,GAAG,SAAS,EAC1B,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,GACnC,IAAI;CAMR"}
@@ -14,8 +14,8 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
14
14
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
15
15
  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; } }
16
16
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
17
- import { CommandRegistry, FileStatNode, FileTreeModel, FileTreeView, FileTreeViewModule, inject, LabelProvider, SelectionService, singleton, TreeDecoratorService, TreeProps, TreeViewComponent, TreeViewDecorator, view } from '@difizen/mana-app';
18
- import { l10n } from '@difizen/mana-l10n';
17
+ import { CommandRegistry, FileStatNode, FileTreeModel, FileTreeView, FileTreeViewModule, inject, LabelProvider, SelectionService, singleton, TreeDecoratorService, TreeProps, TreeViewComponent, TreeViewDecorator, view } from '@difizen/libro-common/app';
18
+ import { l10n } from '@difizen/libro-common/l10n';
19
19
  import React, { forwardRef } from 'react';
20
20
  import "./index.less";
21
21
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
- import { ModalContribution, ToolbarContribution } from '@difizen/mana-app';
2
- import type { ToolbarRegistry } from '@difizen/mana-app';
1
+ import { ModalContribution, ToolbarContribution } from '@difizen/libro-common/app';
2
+ import type { ToolbarRegistry } from '@difizen/libro-common/app';
3
3
  export declare class SettingsContribution implements ModalContribution, ToolbarContribution {
4
- registerModal(): import("@difizen/mana-app").ModalItem<any>;
4
+ registerModal(): import("@difizen/libro-common/app").ModalItem<any>;
5
5
  registerToolbarItems(registry: ToolbarRegistry): void;
6
6
  }
7
7
  //# sourceMappingURL=settings-contribution.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings-contribution.d.ts","sourceRoot":"","sources":["../../src/settings/settings-contribution.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACtF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,qBACa,oBAAqB,YAAW,iBAAiB,EAAE,mBAAmB;IACjF,aAAa;IAIb,oBAAoB,CAAC,QAAQ,EAAE,eAAe;CAS/C"}
1
+ {"version":3,"file":"settings-contribution.d.ts","sourceRoot":"","sources":["../../src/settings/settings-contribution.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAEjB,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAOjE,qBACa,oBAAqB,YAAW,iBAAiB,EAAE,mBAAmB;IACjF,aAAa;IAIb,oBAAoB,CAAC,QAAQ,EAAE,eAAe;CAS/C"}
@@ -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 { ModalContribution, singleton, ToolbarContribution } from '@difizen/mana-app';
9
- import { l10n } from '@difizen/mana-l10n';
8
+ import { ModalContribution, singleton, ToolbarContribution } from '@difizen/libro-common/app';
9
+ import { l10n } from '@difizen/libro-common/l10n';
10
10
  import { DocumentCommands } from "../command/document-commands.js";
11
11
  import { SettingsModal } from "./settings-modal.js";
12
12
  export var SettingsContribution = (_dec = singleton({
@@ -1,4 +1,4 @@
1
- import type { ModalItem, ModalItemProps } from '@difizen/mana-app';
1
+ import type { ModalItem, ModalItemProps } from '@difizen/libro-common/app';
2
2
  import './settings-modal.less';
3
3
  export declare function SettingsModalComponent({ visible, close }: ModalItemProps<void>): import("react/jsx-runtime").JSX.Element;
4
4
  export declare const SettingsModal: ModalItem;
@@ -1 +1 @@
1
- {"version":3,"file":"settings-modal.d.ts","sourceRoot":"","sources":["../../src/settings/settings-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AASnE,OAAO,uBAAuB,CAAC;AAE/B,wBAAgB,sBAAsB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,2CAkC9E;AAED,eAAO,MAAM,aAAa,EAAE,SAG3B,CAAC"}
1
+ {"version":3,"file":"settings-modal.d.ts","sourceRoot":"","sources":["../../src/settings/settings-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAS3E,OAAO,uBAAuB,CAAC;AAE/B,wBAAgB,sBAAsB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,2CAkC9E;AAED,eAAO,MAAM,aAAa,EAAE,SAG3B,CAAC"}