@difizen/libro-core 0.1.0 → 0.1.2

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 (305) hide show
  1. package/es/add-cell/index.less +1 -1
  2. package/es/add-cell/libro-add-cell-slot-contribution.d.ts +1 -2
  3. package/es/add-cell/libro-add-cell-slot-contribution.d.ts.map +1 -1
  4. package/es/add-cell/libro-add-cell-slot-contribution.js +12 -6
  5. package/es/add-cell/libro-add-cell-view.d.ts +4 -4
  6. package/es/add-cell/libro-add-cell-view.d.ts.map +1 -1
  7. package/es/add-cell/libro-add-cell-view.js +4 -6
  8. package/es/cell/libro-cell-contribution.d.ts +1 -2
  9. package/es/cell/libro-cell-contribution.d.ts.map +1 -1
  10. package/es/cell/libro-cell-contribution.js +14 -8
  11. package/es/cell/libro-cell-model.d.ts +9 -0
  12. package/es/cell/libro-cell-model.d.ts.map +1 -1
  13. package/es/cell/libro-cell-model.js +53 -11
  14. package/es/cell/libro-cell-protocol.d.ts +2 -0
  15. package/es/cell/libro-cell-protocol.d.ts.map +1 -1
  16. package/es/cell/libro-cell-view.d.ts +39 -3
  17. package/es/cell/libro-cell-view.d.ts.map +1 -1
  18. package/es/cell/libro-cell-view.js +54 -24
  19. package/es/cell/libro-edit-cell-view.d.ts +6 -12
  20. package/es/cell/libro-edit-cell-view.d.ts.map +1 -1
  21. package/es/cell/libro-edit-cell-view.js +9 -4
  22. package/es/cell/libro-executable-cell-view.d.ts +2 -0
  23. package/es/cell/libro-executable-cell-view.d.ts.map +1 -1
  24. package/es/cell/libro-executable-cell-view.js +4 -1
  25. package/es/collapse-service.d.ts +1 -1
  26. package/es/collapse-service.d.ts.map +1 -1
  27. package/es/collapse-service.js +1 -1
  28. package/es/command/document-commands.d.ts +5 -0
  29. package/es/command/document-commands.d.ts.map +1 -0
  30. package/es/command/document-commands.js +3 -2
  31. package/es/command/kernel-command.d.ts +5 -0
  32. package/es/command/kernel-command.d.ts.map +1 -0
  33. package/es/command/kernel-command.js +3 -0
  34. package/es/command/libro-command-contribution.d.ts +0 -1
  35. package/es/command/libro-command-contribution.d.ts.map +1 -1
  36. package/es/command/libro-command-contribution.js +179 -129
  37. package/es/command/libro-command-register.d.ts +0 -1
  38. package/es/command/libro-command-register.d.ts.map +1 -1
  39. package/es/command/libro-command-register.js +13 -7
  40. package/es/command/notebook-commands.d.ts +6 -0
  41. package/es/command/notebook-commands.d.ts.map +1 -0
  42. package/es/command/notebook-commands.js +17 -4
  43. package/es/components/cell-protocol.d.ts +5 -5
  44. package/es/components/cell-protocol.d.ts.map +1 -1
  45. package/es/components/dnd-cell-item-render.d.ts +6 -2
  46. package/es/components/dnd-cell-item-render.d.ts.map +1 -1
  47. package/es/components/dnd-cell-item-render.js +194 -89
  48. package/es/components/dnd-component/custom-drag-layer.d.ts +1 -1
  49. package/es/components/dnd-component/custom-drag-layer.d.ts.map +1 -1
  50. package/es/components/dnd-component/custom-drag-layer.js +3 -4
  51. package/es/components/dnd-component/default-dnd-content.d.ts +2 -1
  52. package/es/components/dnd-component/default-dnd-content.d.ts.map +1 -1
  53. package/es/components/dnd-component/default-dnd-content.js +100 -44
  54. package/es/components/dnd-component/dnd-context.js +1 -1
  55. package/es/components/dnd-component/dnd-list.d.ts +9 -5
  56. package/es/components/dnd-component/dnd-list.d.ts.map +1 -1
  57. package/es/components/dnd-component/dnd-list.js +93 -26
  58. package/es/components/dnd-component/index.d.ts +1 -1
  59. package/es/components/dnd-component/index.d.ts.map +1 -1
  60. package/es/components/dnd-component/index.js +2 -2
  61. package/es/components/dnd-component/index.less +8 -0
  62. package/es/components/dnd-component/overscanIndices-getter.d.ts +22 -0
  63. package/es/components/dnd-component/overscanIndices-getter.d.ts.map +1 -0
  64. package/es/components/dnd-component/overscanIndices-getter.js +58 -0
  65. package/es/components/dnd-component/virtualized-manager.d.ts +19 -0
  66. package/es/components/dnd-component/virtualized-manager.d.ts.map +1 -0
  67. package/es/components/dnd-component/virtualized-manager.js +60 -0
  68. package/es/components/index.d.ts +2 -2
  69. package/es/components/index.d.ts.map +1 -1
  70. package/es/components/index.js +2 -2
  71. package/es/components/libro-virtualized-render.d.ts +15 -0
  72. package/es/components/libro-virtualized-render.d.ts.map +1 -0
  73. package/es/components/libro-virtualized-render.js +174 -0
  74. package/es/content/index.d.ts +1 -0
  75. package/es/content/index.d.ts.map +1 -1
  76. package/es/content/index.js +2 -1
  77. package/es/content/libro-content-contribution.d.ts +2 -2
  78. package/es/content/libro-content-contribution.d.ts.map +1 -1
  79. package/es/content/libro-content-contribution.js +2 -3
  80. package/es/content/libro-content-module.d.ts.map +1 -1
  81. package/es/content/libro-content-module.js +3 -2
  82. package/es/content/libro-content-protocol.d.ts +5 -0
  83. package/es/content/libro-content-protocol.d.ts.map +1 -1
  84. package/es/content/libro-content-protocol.js +2 -1
  85. package/es/content/libro-content-service.d.ts +6 -4
  86. package/es/content/libro-content-service.d.ts.map +1 -1
  87. package/es/content/libro-content-service.js +36 -8
  88. package/es/content/libro-save-content-contribution.d.ts +6 -0
  89. package/es/content/libro-save-content-contribution.d.ts.map +1 -0
  90. package/es/content/libro-save-content-contribution.js +27 -0
  91. package/es/formatter/index.d.ts +6 -0
  92. package/es/formatter/index.d.ts.map +1 -0
  93. package/es/formatter/index.js +5 -0
  94. package/es/formatter/libro-formatter-json-contribution.d.ts +18 -0
  95. package/es/formatter/libro-formatter-json-contribution.d.ts.map +1 -0
  96. package/es/formatter/libro-formatter-json-contribution.js +41 -0
  97. package/es/formatter/libro-formatter-manager.d.ts +16 -0
  98. package/es/formatter/libro-formatter-manager.d.ts.map +1 -0
  99. package/es/formatter/libro-formatter-manager.js +86 -0
  100. package/es/formatter/libro-formatter-module.d.ts +3 -0
  101. package/es/formatter/libro-formatter-module.d.ts.map +1 -0
  102. package/es/formatter/libro-formatter-module.js +7 -0
  103. package/es/formatter/libro-formatter-protocol.d.ts +37 -0
  104. package/es/formatter/libro-formatter-protocol.d.ts.map +1 -0
  105. package/es/formatter/libro-formatter-protocol.js +18 -0
  106. package/es/formatter/libro-formatter-string-contribution.d.ts +18 -0
  107. package/es/formatter/libro-formatter-string-contribution.d.ts.map +1 -0
  108. package/es/formatter/libro-formatter-string-contribution.js +41 -0
  109. package/es/formatter/libro-formatter-trans-default-contribution.d.ts +7 -0
  110. package/es/formatter/libro-formatter-trans-default-contribution.d.ts.map +1 -0
  111. package/es/formatter/libro-formatter-trans-default-contribution.js +19 -0
  112. package/es/index.d.ts +5 -1
  113. package/es/index.d.ts.map +1 -1
  114. package/es/index.js +6 -2
  115. package/es/index.less +135 -58
  116. package/es/libro-context-key.d.ts.map +1 -1
  117. package/es/libro-keybind-registry.d.ts +5 -0
  118. package/es/libro-keybind-registry.d.ts.map +1 -0
  119. package/es/libro-model.d.ts +13 -2
  120. package/es/libro-model.d.ts.map +1 -1
  121. package/es/libro-model.js +149 -70
  122. package/es/libro-protocol.d.ts +44 -2
  123. package/es/libro-protocol.d.ts.map +1 -1
  124. package/es/libro-protocol.js +16 -3
  125. package/es/libro-service.d.ts +1 -1
  126. package/es/libro-service.d.ts.map +1 -1
  127. package/es/libro-service.js +29 -20
  128. package/es/libro-setting-contribution.d.ts +5 -0
  129. package/es/libro-setting-contribution.d.ts.map +1 -0
  130. package/es/{configuration/libro-configuration-contribution.js → libro-setting-contribution.js} +8 -9
  131. package/es/libro-setting.d.ts +11 -0
  132. package/es/libro-setting.d.ts.map +1 -0
  133. package/es/{configuration/libro-configuration.js → libro-setting.js} +17 -7
  134. package/es/libro-view.d.ts +21 -8
  135. package/es/libro-view.d.ts.map +1 -1
  136. package/es/libro-view.js +477 -338
  137. package/es/material-from-designer.d.ts +30 -0
  138. package/es/material-from-designer.d.ts.map +1 -0
  139. package/es/material-from-designer.js +112 -1
  140. package/es/module.d.ts.map +1 -1
  141. package/es/module.js +20 -5
  142. package/es/output/output-area.d.ts +3 -4
  143. package/es/output/output-area.d.ts.map +1 -1
  144. package/es/output/output-area.js +23 -16
  145. package/es/output/output-contribution.d.ts +0 -1
  146. package/es/output/output-contribution.d.ts.map +1 -1
  147. package/es/output/output-contribution.js +14 -9
  148. package/es/output/output-model.d.ts +2 -2
  149. package/es/output/output-model.d.ts.map +1 -1
  150. package/es/output/output-model.js +2 -2
  151. package/es/output/output-protocol.d.ts.map +1 -1
  152. package/es/output/output-protocol.js +0 -2
  153. package/es/settings/index.d.ts +5 -0
  154. package/es/settings/index.d.ts.map +1 -0
  155. package/es/settings/index.js +4 -0
  156. package/es/settings/index.less +3 -0
  157. package/es/settings/module.d.ts +3 -0
  158. package/es/settings/module.d.ts.map +1 -0
  159. package/es/settings/module.js +4 -0
  160. package/es/settings/setting-editor/configuration-panel-view.d.ts +13 -0
  161. package/es/settings/setting-editor/configuration-panel-view.d.ts.map +1 -0
  162. package/es/settings/setting-editor/configuration-panel-view.js +115 -0
  163. package/es/settings/setting-editor/configuration-render-contribution.d.ts +6 -0
  164. package/es/settings/setting-editor/configuration-render-contribution.d.ts.map +1 -0
  165. package/es/settings/setting-editor/configuration-render-contribution.js +77 -0
  166. package/es/settings/setting-editor/default-node-render.d.ts +9 -0
  167. package/es/settings/setting-editor/default-node-render.d.ts.map +1 -0
  168. package/es/settings/setting-editor/default-node-render.js +79 -0
  169. package/es/settings/setting-editor/index.d.ts +7 -0
  170. package/es/settings/setting-editor/index.d.ts.map +1 -0
  171. package/es/settings/setting-editor/index.js +6 -0
  172. package/es/settings/setting-editor/index.less +12 -0
  173. package/es/settings/setting-editor/module.d.ts +3 -0
  174. package/es/settings/setting-editor/module.d.ts.map +1 -0
  175. package/es/settings/setting-editor/module.js +7 -0
  176. package/es/settings/setting-editor/setting-editor-view.d.ts +15 -0
  177. package/es/settings/setting-editor/setting-editor-view.d.ts.map +1 -0
  178. package/es/settings/setting-editor/setting-editor-view.js +169 -0
  179. package/es/settings/setting-editor/setting-tree-service.d.ts +9 -0
  180. package/es/settings/setting-editor/setting-tree-service.d.ts.map +1 -0
  181. package/es/settings/setting-editor/setting-tree-service.js +118 -0
  182. package/es/settings/setting-editor/setting-tree-view.d.ts +19 -0
  183. package/es/settings/setting-editor/setting-tree-view.d.ts.map +1 -0
  184. package/es/settings/setting-editor/setting-tree-view.js +88 -0
  185. package/es/settings/settings-contribution.d.ts +7 -0
  186. package/es/settings/settings-contribution.d.ts.map +1 -0
  187. package/es/settings/settings-contribution.js +36 -0
  188. package/es/settings/settings-modal.d.ts +5 -0
  189. package/es/settings/settings-modal.d.ts.map +1 -0
  190. package/es/settings/settings-modal.js +53 -0
  191. package/es/settings/settings-modal.less +3 -0
  192. package/es/settings/settings-protocol.d.ts +4 -0
  193. package/es/settings/settings-protocol.d.ts.map +1 -0
  194. package/es/settings/settings-protocol.js +5 -0
  195. package/es/slot/libro-slot-manager.d.ts +2 -2
  196. package/es/slot/libro-slot-manager.d.ts.map +1 -1
  197. package/es/slot/libro-slot-manager.js +14 -8
  198. package/es/slot/libro-slot-view.d.ts +3 -3
  199. package/es/slot/libro-slot-view.d.ts.map +1 -1
  200. package/es/slot/libro-slot-view.js +2 -2
  201. package/es/theme/libro-color-registry.d.ts +6 -0
  202. package/es/theme/libro-color-registry.d.ts.map +1 -0
  203. package/es/theme/libro-color-registry.js +7 -0
  204. package/es/toolbar/all-outputs-scroll-icon.d.ts +3 -0
  205. package/es/toolbar/all-outputs-scroll-icon.d.ts.map +1 -0
  206. package/es/toolbar/all-outputs-scroll-icon.js +10 -0
  207. package/es/toolbar/libro-toolbar.d.ts +2 -1
  208. package/es/toolbar/libro-toolbar.d.ts.map +1 -1
  209. package/es/toolbar/libro-toolbar.js +44 -8
  210. package/es/toolbar/restart-clear-outputs-modal.d.ts +1 -2
  211. package/es/toolbar/restart-clear-outputs-modal.d.ts.map +1 -1
  212. package/es/toolbar/restart-clear-outputs-modal.js +2 -2
  213. package/es/toolbar/shutdown-modal.d.ts +1 -2
  214. package/es/toolbar/shutdown-modal.d.ts.map +1 -1
  215. package/es/toolbar/shutdown-modal.js +2 -2
  216. package/es/toolbar/side-toolar-more-select.d.ts.map +1 -1
  217. package/es/toolbar/side-toolar-more-select.js +2 -2
  218. package/es/virtualized-manager-helper.d.ts +11 -0
  219. package/es/virtualized-manager-helper.d.ts.map +1 -0
  220. package/es/virtualized-manager-helper.js +51 -0
  221. package/es/virtualized-manager.d.ts +19 -0
  222. package/es/virtualized-manager.d.ts.map +1 -0
  223. package/es/virtualized-manager.js +61 -0
  224. package/package.json +9 -6
  225. package/src/add-cell/index.less +1 -1
  226. package/src/add-cell/libro-add-cell-slot-contribution.ts +1 -4
  227. package/src/add-cell/libro-add-cell-view.tsx +13 -6
  228. package/src/cell/libro-cell-contribution.ts +2 -6
  229. package/src/cell/libro-cell-model.ts +57 -4
  230. package/src/cell/libro-cell-protocol.ts +2 -0
  231. package/src/cell/libro-cell-view.tsx +21 -9
  232. package/src/cell/libro-edit-cell-view.tsx +10 -9
  233. package/src/cell/libro-executable-cell-view.ts +6 -1
  234. package/src/collapse-service.ts +1 -1
  235. package/src/command/document-commands.ts +3 -5
  236. package/src/command/kernel-command.ts +3 -0
  237. package/src/command/libro-command-contribution.ts +107 -91
  238. package/src/command/libro-command-register.ts +1 -4
  239. package/src/command/notebook-commands.ts +16 -3
  240. package/src/components/cell-protocol.ts +5 -5
  241. package/src/components/dnd-cell-item-render.tsx +239 -92
  242. package/src/components/dnd-component/custom-drag-layer.tsx +5 -6
  243. package/src/components/dnd-component/default-dnd-content.tsx +113 -42
  244. package/src/components/dnd-component/dnd-context.tsx +1 -1
  245. package/src/components/dnd-component/dnd-list.tsx +135 -43
  246. package/src/components/dnd-component/index.less +8 -0
  247. package/src/components/dnd-component/index.tsx +1 -1
  248. package/src/components/dnd-component/overscanIndices-getter.ts +92 -0
  249. package/src/components/dnd-component/virtualized-manager.ts +34 -0
  250. package/src/components/index.ts +2 -2
  251. package/src/components/libro-virtualized-render.tsx +178 -0
  252. package/src/content/index.ts +1 -0
  253. package/src/content/libro-content-contribution.ts +2 -3
  254. package/src/content/libro-content-module.ts +11 -3
  255. package/src/content/libro-content-protocol.ts +6 -0
  256. package/src/content/libro-content-service.ts +26 -8
  257. package/src/content/libro-save-content-contribution.ts +12 -0
  258. package/src/formatter/index.ts +5 -0
  259. package/src/formatter/libro-formatter-json-contribution.ts +42 -0
  260. package/src/formatter/libro-formatter-manager.ts +85 -0
  261. package/src/formatter/libro-formatter-module.ts +19 -0
  262. package/src/formatter/libro-formatter-protocol.ts +63 -0
  263. package/src/formatter/libro-formatter-string-contribution.ts +41 -0
  264. package/src/formatter/libro-formatter-trans-default-contribution.ts +15 -0
  265. package/src/index.less +135 -58
  266. package/src/index.tsx +6 -1
  267. package/src/libro-context-key.ts +3 -3
  268. package/src/libro-model.ts +87 -23
  269. package/src/libro-protocol.ts +81 -4
  270. package/src/libro-service.ts +4 -13
  271. package/src/{configuration/libro-configuration-contribution.ts → libro-setting-contribution.ts} +7 -8
  272. package/src/{configuration/libro-configuration.ts → libro-setting.ts} +18 -7
  273. package/src/libro-view.tsx +273 -141
  274. package/src/material-from-designer.tsx +93 -1
  275. package/src/module.ts +29 -7
  276. package/src/output/output-area.tsx +18 -12
  277. package/src/output/output-contribution.ts +2 -6
  278. package/src/output/output-model.tsx +3 -3
  279. package/src/output/output-protocol.ts +0 -1
  280. package/src/settings/index.less +3 -0
  281. package/src/settings/index.ts +4 -0
  282. package/src/settings/module.ts +8 -0
  283. package/src/settings/setting-editor/configuration-panel-view.tsx +89 -0
  284. package/src/settings/setting-editor/configuration-render-contribution.ts +81 -0
  285. package/src/settings/setting-editor/default-node-render.tsx +65 -0
  286. package/src/settings/setting-editor/index.less +12 -0
  287. package/src/settings/setting-editor/index.ts +6 -0
  288. package/src/settings/setting-editor/module.ts +17 -0
  289. package/src/settings/setting-editor/setting-editor-view.tsx +93 -0
  290. package/src/settings/setting-editor/setting-tree-service.ts +82 -0
  291. package/src/settings/setting-editor/setting-tree-view.tsx +95 -0
  292. package/src/settings/settings-contribution.tsx +24 -0
  293. package/src/settings/settings-modal.less +3 -0
  294. package/src/settings/settings-modal.tsx +50 -0
  295. package/src/settings/settings-protocol.ts +7 -0
  296. package/src/slot/libro-slot-manager.ts +1 -3
  297. package/src/slot/libro-slot-view.tsx +2 -5
  298. package/src/theme/libro-color-registry.ts +6 -0
  299. package/src/toolbar/all-outputs-scroll-icon.tsx +19 -0
  300. package/src/toolbar/libro-toolbar.tsx +30 -5
  301. package/src/toolbar/restart-clear-outputs-modal.tsx +3 -3
  302. package/src/toolbar/shutdown-modal.tsx +3 -3
  303. package/src/toolbar/side-toolar-more-select.tsx +2 -1
  304. package/src/virtualized-manager-helper.ts +29 -0
  305. package/src/virtualized-manager.ts +34 -0
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ export declare const ClearOutlined: React.FC;
3
+ export declare const PauseCircleOutlined: React.FC;
4
+ export declare const Reload: React.FC;
5
+ export declare const Redo: React.FC;
6
+ export declare const Undo: React.FC;
7
+ export declare const MoveUpOutlined: React.FC;
8
+ export declare const MoveDownOutlined: React.FC;
9
+ export declare const DeleteOutlined: React.FC;
10
+ export declare const MoreOutlined: React.FC;
11
+ export declare const KeybindInstructionsOutlined: React.FC<{
12
+ className: string;
13
+ style: object;
14
+ }>;
15
+ export declare const ContentMore: React.FC;
16
+ export declare const HolderOutlined: React.FC<{
17
+ className: string;
18
+ }>;
19
+ export declare const CheckCircleOutlined: React.FC;
20
+ export declare const PlusOutlined: React.FC<{
21
+ className: string;
22
+ }>;
23
+ export declare const AddCellOutlined: React.FC<{
24
+ className: string;
25
+ }>;
26
+ export declare const ArrowDown: React.FC;
27
+ export declare const ArrowRight: React.FC;
28
+ export declare const EnableOutputScroll: React.FC;
29
+ export declare const DisableOutputScroll: React.FC;
30
+ //# sourceMappingURL=material-from-designer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"material-from-designer.d.ts","sourceRoot":"","sources":["../src/material-from-designer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EA6B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CAAC,EA4BvC,CAAC"}
@@ -40,6 +40,40 @@ export var ClearOutlined = function ClearOutlined() {
40
40
  })
41
41
  });
42
42
  };
43
+ export var PauseCircleOutlined = function PauseCircleOutlined() {
44
+ return /*#__PURE__*/_jsx("svg", {
45
+ width: "21px",
46
+ height: "21px",
47
+ viewBox: "0 0 20 20",
48
+ version: "1.1",
49
+ xmlns: "http://www.w3.org/2000/svg",
50
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
51
+ children: /*#__PURE__*/_jsx("g", {
52
+ id: "\u539F\u8272",
53
+ stroke: "none",
54
+ strokeWidth: "1",
55
+ fill: "none",
56
+ fillRule: "evenodd",
57
+ children: /*#__PURE__*/_jsxs("g", {
58
+ id: "time-out",
59
+ fillRule: "nonzero",
60
+ fill: "#7B7B7B",
61
+ children: [/*#__PURE__*/_jsx("rect", {
62
+ id: "\u77E9\u5F62",
63
+ fill: "#000000",
64
+ opacity: "0",
65
+ x: "0",
66
+ y: "0",
67
+ width: "20",
68
+ height: "20"
69
+ }), /*#__PURE__*/_jsx("path", {
70
+ d: "M10,1.25 C5.16796875,1.25 1.25,5.16796875 1.25,10 C1.25,14.8320312 5.16796875,18.75 10,18.75 C14.8320312,18.75 18.75,14.8320312 18.75,10 C18.75,5.16796875 14.8320312,1.25 10,1.25 Z M10,17.265625 C5.98828125,17.265625 2.734375,14.0117187 2.734375,10 C2.734375,5.98828125 5.98828125,2.734375 10,2.734375 C14.0117187,2.734375 17.265625,5.98828125 17.265625,10 C17.265625,14.0117187 14.0117187,17.265625 10,17.265625 Z M8.28125,6.875 L7.34375,6.875 C7.2578125,6.875 7.1875,6.9453125 7.1875,7.03125 L7.1875,12.96875 C7.1875,13.0546875 7.2578125,13.125 7.34375,13.125 L8.28125,13.125 C8.3671875,13.125 8.4375,13.0546875 8.4375,12.96875 L8.4375,7.03125 C8.4375,6.9453125 8.3671875,6.875 8.28125,6.875 Z M12.65625,6.875 L11.71875,6.875 C11.6328125,6.875 11.5625,6.9453125 11.5625,7.03125 L11.5625,12.96875 C11.5625,13.0546875 11.6328125,13.125 11.71875,13.125 L12.65625,13.125 C12.7421875,13.125 12.8125,13.0546875 12.8125,12.96875 L12.8125,7.03125 C12.8125,6.9453125 12.7421875,6.875 12.65625,6.875 Z",
71
+ id: "\u5F62\u72B6"
72
+ })]
73
+ })
74
+ })
75
+ });
76
+ };
43
77
  export var Reload = function Reload() {
44
78
  return /*#__PURE__*/_jsx("svg", {
45
79
  width: "18px",
@@ -501,7 +535,7 @@ export var AddCellOutlined = function AddCellOutlined(prop) {
501
535
  id: "\u9875\u9762-1",
502
536
  stroke: "none",
503
537
  strokeWidth: "1",
504
- fill: "#1890FF",
538
+ fill: "currentColor",
505
539
  fillRule: "evenodd",
506
540
  children: /*#__PURE__*/_jsx("g", {
507
541
  id: "2.0-\u6DFB\u52A0-cell",
@@ -547,4 +581,81 @@ export var ArrowRight = function ArrowRight() {
547
581
  })
548
582
  })
549
583
  });
584
+ };
585
+ export var EnableOutputScroll = function EnableOutputScroll() {
586
+ return /*#__PURE__*/_jsx("svg", {
587
+ width: "16px",
588
+ height: "16px",
589
+ viewBox: "0 0 16 16",
590
+ version: "1.1",
591
+ xmlns: "http://www.w3.org/2000/svg",
592
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
593
+ children: /*#__PURE__*/_jsx("g", {
594
+ id: "libro-enable-output-scroll",
595
+ stroke: "none",
596
+ strokeWidth: "1",
597
+ fill: "none",
598
+ fillRule: "evenodd",
599
+ children: /*#__PURE__*/_jsx("g", {
600
+ id: "2.1\u56FA\u5B9Aicon",
601
+ transform: "translate(-314.000000, -344.000000)",
602
+ children: /*#__PURE__*/_jsx("g", {
603
+ id: "\u7F16\u7EC4-15\u5907\u4EFD-4",
604
+ transform: "translate(314.000000, 344.000000)",
605
+ children: /*#__PURE__*/_jsx("g", {
606
+ id: "\u7F16\u7EC4",
607
+ transform: "translate(2.045455, 0.909091)",
608
+ fill: "currentColor",
609
+ fillRule: "nonzero",
610
+ children: /*#__PURE__*/_jsx("path", {
611
+ d: "M11.7897727,12.8551136 L0.142045455,12.8551136 C0.0639204545,12.8551136 0,12.9190341 0,12.9971591 L0,14.0625 C0,14.140625 0.0639204545,14.2045455 0.142045455,14.2045455 L11.7897727,14.2045455 C11.8678977,14.2045455 11.9318182,14.140625 11.9318182,14.0625 L11.9318182,12.9971591 C11.9318182,12.9190341 11.8678977,12.8551136 11.7897727,12.8551136 Z M11.7897727,0 L0.142045455,0 C0.0639204545,0 0,0.0639204545 0,0.142045455 L0,1.20738636 C0,1.28551136 0.0639204545,1.34943182 0.142045455,1.34943182 L11.7897727,1.34943182 C11.8678977,1.34943182 11.9318182,1.28551136 11.9318182,1.20738636 L11.9318182,0.142045455 C11.9318182,0.0639204545 11.8678977,0 11.7897727,0 Z M6.45454545,2.18181818 C6.50475316,2.18181818 6.54545455,2.22251957 6.54545455,2.27272727 L6.54457706,4.38181818 L7.71985588,4.38219105 C7.81269273,4.38219105 7.8690036,4.47350599 7.84182654,4.55214864 L7.82106326,4.58993253 L6.03129054,6.85378196 C5.98157463,6.91947798 5.88214281,6.91947798 5.83065133,6.85378196 L4.0408786,4.58993253 C3.97518258,4.50648082 4.0355519,4.38219105 4.14208599,4.38219105 L5.27257706,4.38181818 L5.27272727,2.27272727 C5.27272727,2.22251957 5.31342866,2.18181818 5.36363636,2.18181818 L6.45454545,2.18181818 Z M5.83096591,7.34055398 C5.88068182,7.27485795 5.98011364,7.27485795 6.03160511,7.34055398 L7.82137784,9.60617898 C7.88707386,9.68963068 7.82670455,9.81392045 7.72017045,9.81392045 L6.54457706,9.81381818 L6.54545455,11.9090909 C6.54545455,11.9592986 6.50475316,12 6.45454545,12 L5.36363636,12 C5.31342866,12 5.27272727,11.9592986 5.27272727,11.9090909 L5.27257706,9.81381818 L4.14240057,9.81392045 C4.04956372,9.81392045 3.99325284,9.72260552 4.0204299,9.64396286 L4.04119318,9.60617898 Z",
612
+ id: "\u5F62\u72B6"
613
+ })
614
+ })
615
+ })
616
+ })
617
+ })
618
+ });
619
+ };
620
+ export var DisableOutputScroll = function DisableOutputScroll() {
621
+ return /*#__PURE__*/_jsx("svg", {
622
+ width: "16px",
623
+ height: "16px",
624
+ viewBox: "0 0 16 16",
625
+ version: "1.1",
626
+ xmlns: "http://www.w3.org/2000/svg",
627
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
628
+ children: /*#__PURE__*/_jsx("g", {
629
+ id: "\u9875\u9762-1",
630
+ stroke: "none",
631
+ strokeWidth: "1",
632
+ fill: "none",
633
+ fillRule: "evenodd",
634
+ children: /*#__PURE__*/_jsx("g", {
635
+ id: "4.1\u53D6\u6D88\u56FA\u5B9A",
636
+ transform: "translate(-314.000000, -344.000000)",
637
+ children: /*#__PURE__*/_jsxs("g", {
638
+ id: "\u7F16\u7EC4-15\u5907\u4EFD",
639
+ transform: "translate(314.000000, 344.000000)",
640
+ children: [/*#__PURE__*/_jsx("rect", {
641
+ id: "\u77E9\u5F62",
642
+ x: "0",
643
+ y: "0",
644
+ width: "16",
645
+ height: "16",
646
+ rx: "4"
647
+ }), /*#__PURE__*/_jsx("g", {
648
+ id: "\u7F16\u7EC4",
649
+ transform: "translate(2.000000, 1.000000)",
650
+ fill: "currentColor",
651
+ fillRule: "nonzero",
652
+ children: /*#__PURE__*/_jsx("path", {
653
+ d: "M11.7897727,12.8551136 L0.142045455,12.8551136 C0.0639204545,12.8551136 0,12.9190341 0,12.9971591 L0,14.0625 C0,14.140625 0.0639204545,14.2045455 0.142045455,14.2045455 L11.7897727,14.2045455 C11.8678977,14.2045455 11.9318182,14.140625 11.9318182,14.0625 L11.9318182,12.9971591 C11.9318182,12.9190341 11.8678977,12.8551136 11.7897727,12.8551136 Z M11.7897727,0 L0.142045455,0 C0.0639204545,0 0,0.0639204545 0,0.142045455 L0,1.20738636 C0,1.28551136 0.0639204545,1.34943182 0.142045455,1.34943182 L11.7897727,1.34943182 C11.8678977,1.34943182 11.9318182,1.28551136 11.9318182,1.20738636 L11.9318182,0.142045455 C11.9318182,0.0639204545 11.8678977,0 11.7897727,0 Z M7.72017045,4.72301136 C7.82670455,4.72301136 7.88707386,4.59872159 7.82137784,4.51526989 L6.03160511,2.24964489 C5.98011364,2.18394886 5.88068182,2.18394886 5.83096591,2.24964489 L4.04119318,4.51526989 C3.97549716,4.59872159 4.03409091,4.72301136 4.14240057,4.72301136 L5.32670455,4.72301136 L5.32670455,9.48153409 L4.21164773,9.48153409 C4.10511364,9.48153409 4.04474432,9.60582386 4.11044034,9.68927557 L5.90021307,11.953125 C5.95170455,12.018821 6.05113636,12.018821 6.10085227,11.953125 L7.890625,9.68927557 C7.95632102,9.60582386 7.89772727,9.48153409 7.78941761,9.48153409 L6.60511364,9.48153409 L6.60511364,4.72301136 L7.72017045,4.72301136 Z",
654
+ id: "\u5F62\u72B6"
655
+ })
656
+ })]
657
+ })
658
+ })
659
+ })
660
+ });
550
661
  };
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAgC/C,eAAO,MAAM,WAAW,YAwDrB,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAwC/C,eAAO,MAAM,WAAW,YAsErB,CAAC"}
package/es/module.js CHANGED
@@ -4,19 +4,22 @@ import { ManaModule } from '@difizen/mana-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";
7
- import { CellExecutionTimeProvider, LibroCellExecutionTime, CellInputBottonBlankProvider, LibroCellInputBottonBlank, CellOutputVisulizationProvider, LibroCellVisualization, LibroBetweenCellContent, BetweenCellProvider } from "./components/index.js";
8
- import { LibroConfigurationContribution } from "./configuration/libro-configuration-contribution.js";
7
+ import { BetweenCellProvider, CellExecutionTimeProvider, CellInputBottonBlankProvider, CellOutputVisulizationProvider, LibroBetweenCellContent, LibroCellExecutionTime, LibroCellInputBottonBlank, LibroCellVisualization } from "./components/index.js";
9
8
  import { LibroContentModule } from "./content/index.js";
9
+ import { LibroFormatterModule } from "./formatter/index.js";
10
10
  import { LirboContextKey } from "./libro-context-key.js";
11
11
  import { LibroModel } from "./libro-model.js";
12
- import { NotebookOption, ModelFactory } from "./libro-protocol.js";
12
+ import { ModelFactory, NotebookOption, VirtualizedManagerOption, VirtualizedManagerOptionFactory } from "./libro-protocol.js";
13
13
  import { LibroService } from "./libro-service.js";
14
+ import { LibroSettingContribution } from "./libro-setting-contribution.js";
14
15
  import { LibroViewTracker } from "./libro-view-tracker.js";
15
16
  import { LibroView } from "./libro-view.js";
16
17
  import { OutputModule } from "./output/index.js";
17
18
  import { LibroSlotModule } from "./slot/index.js";
18
19
  import { LibroColorRegistry } from "./theme/libro-color-registry.js";
19
- export var LibroModule = ManaModule.create().register(LibroService, LirboContextKey, LibroModel, LibroView, LibroConfigurationContribution, LibroColorRegistry, LibroViewTracker, {
20
+ import { VirtualizedManagerHelper } from "./virtualized-manager-helper.js";
21
+ import { VirtualizedManager } from "./virtualized-manager.js";
22
+ export var LibroModule = ManaModule.create().register(VirtualizedManager, LibroService, LirboContextKey, LibroModel, LibroView, LibroSettingContribution, LibroColorRegistry, LibroViewTracker, {
20
23
  token: ModelFactory,
21
24
  useFactory: function useFactory(ctx) {
22
25
  return function (options) {
@@ -40,6 +43,18 @@ export var LibroModule = ManaModule.create().register(LibroService, LirboContext
40
43
  return child.get(CollapseService);
41
44
  };
42
45
  }
46
+ }, VirtualizedManagerHelper, VirtualizedManager, {
47
+ token: VirtualizedManagerOptionFactory,
48
+ useFactory: function useFactory(ctx) {
49
+ return function (target) {
50
+ var child = ctx.container.createChild();
51
+ child.register({
52
+ token: VirtualizedManagerOption,
53
+ useValue: target
54
+ });
55
+ return child.get(VirtualizedManager);
56
+ };
57
+ }
43
58
  }, {
44
59
  token: CellExecutionTimeProvider,
45
60
  useValue: LibroCellExecutionTime
@@ -52,4 +67,4 @@ export var LibroModule = ManaModule.create().register(LibroService, LirboContext
52
67
  }, {
53
68
  token: BetweenCellProvider,
54
69
  useValue: LibroBetweenCellContent
55
- }).dependOn(ManaAppPreset, LibroCellModule, LibroSlotModule, CodeEditorModule, LibroCommandModule, ConfigurationModule, OutputModule, LibroContentModule);
70
+ }).dependOn(ManaAppPreset, LibroCellModule, LibroSlotModule, CodeEditorModule, LibroCommandModule, ConfigurationModule, OutputModule, LibroContentModule, LibroFormatterModule);
@@ -1,6 +1,5 @@
1
1
  import type { IOutput } from '@difizen/libro-common';
2
- import type { ViewComponent } from '@difizen/mana-app';
3
- import type { Contribution } from '@difizen/mana-app';
2
+ import type { ViewComponent, Contribution } from '@difizen/mana-app';
4
3
  import { BaseView } from '@difizen/mana-app';
5
4
  import { Emitter } from '@difizen/mana-app';
6
5
  import type { CellView } from '../libro-protocol.js';
@@ -8,9 +7,9 @@ import type { BaseOutputArea, BaseOutputView, IOutputAreaOption } from './output
8
7
  import { OutputContribution } from './output-protocol.js';
9
8
  export declare class LibroOutputArea extends BaseView implements BaseOutputArea {
10
9
  view: ViewComponent;
10
+ outputProvider: Contribution.Provider<OutputContribution>;
11
11
  cell: CellView;
12
12
  outputs: BaseOutputView[];
13
- outputProvider: Contribution.Provider<OutputContribution>;
14
13
  constructor(option: IOutputAreaOption);
15
14
  disposed?: boolean | undefined;
16
15
  get length(): number;
@@ -37,7 +36,7 @@ export declare class LibroOutputArea extends BaseView implements BaseOutputArea
37
36
  * This will only be called if the minimal criteria of both being stream
38
37
  * messages of the same type.
39
38
  */
40
- protected shouldCombine(_options: {
39
+ protected shouldCombine(options: {
41
40
  output: IOutput;
42
41
  lastModel: BaseOutputView;
43
42
  }): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"output-area.d.ts","sourceRo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(target, property, decorators, descriptor, con
26
26
  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.'); }
27
27
  import { isError, isStream } from '@difizen/libro-common';
28
28
  import { ViewOption, getOrigin, ViewRender, BaseView, Priority, useInject, view, ViewInstance } from '@difizen/mana-app';
29
- import { Emitter } from '@difizen/mana-app';
30
- import { contrib, inject, transient } from '@difizen/mana-app';
31
- import { prop } from '@difizen/mana-app';
32
- import React, { useEffect } from 'react';
29
+ import { Emitter, prop, contrib, inject, transient } from '@difizen/mana-app';
30
+ import { useEffect, forwardRef } from 'react';
33
31
  import { v4 } from 'uuid';
34
32
  import { ExecutableCellView } from "../cell/index.js";
35
33
  import { OutputContribution } from "./output-protocol.js";
36
34
  import { jsx as _jsx } from "react/jsx-runtime";
37
- var LibroOutputAreaRender = /*#__PURE__*/React.forwardRef(function LibroOutputAreaRender(_props, ref) {
35
+ var LibroOutputAreaRender = /*#__PURE__*/forwardRef(function LibroOutputAreaRender(props, ref) {
38
36
  var outputArea = useInject(ViewInstance);
37
+
38
+ // const cellModel = outputArea.cell.model;
39
+ // const executing = ExecutableCellModel.is(cellModel) && cellModel.executing;
40
+
39
41
  useEffect(function () {
40
42
  outputArea.onUpdateEmitter.fire();
41
43
  }, [outputArea.onUpdateEmitter, outputArea.outputs]);
42
44
  return /*#__PURE__*/_jsx("div", {
43
45
  className: "libro-output-area",
44
- ref: ref,
46
+ ref: ref
47
+ //设置最小高度,用于优化长文本输出再次执行时的页面的滚动控制
48
+ // style={{ minHeight: `${executing ? outputArea.lastOutputContainerHeight + 'px' : 'unset'}` }}
49
+ ,
45
50
  children: outputArea.outputs.map(function (output) {
46
51
  return /*#__PURE__*/_jsx(ViewRender, {
47
52
  view: output
@@ -49,17 +54,19 @@ var LibroOutputAreaRender = /*#__PURE__*/React.forwardRef(function LibroOutputAr
49
54
  })
50
55
  });
51
56
  });
52
- export var LibroOutputArea = (_dec = transient(), _dec2 = view('libro-output-area'), _dec3 = prop(), _dec4 = contrib(OutputContribution), _dec(_class = _dec2(_class = (_class2 = /*#__PURE__*/function (_BaseView) {
57
+ export var LibroOutputArea = (_dec = transient(), _dec2 = view('libro-output-area'), _dec3 = contrib(OutputContribution), _dec4 = prop(), _dec(_class = _dec2(_class = (_class2 = /*#__PURE__*/function (_BaseView) {
53
58
  _inherits(LibroOutputArea, _BaseView);
54
59
  var _super = _createSuper(LibroOutputArea);
60
+ // lastOutputContainerHeight?: number;
61
+
55
62
  function LibroOutputArea(option) {
56
63
  var _this;
57
64
  _classCallCheck(this, LibroOutputArea);
58
65
  _this = _super.call(this);
59
66
  _this.view = LibroOutputAreaRender;
67
+ _initializerDefineProperty(_this, "outputProvider", _descriptor, _assertThisInitialized(_this));
60
68
  _this.cell = void 0;
61
- _initializerDefineProperty(_this, "outputs", _descriptor, _assertThisInitialized(_this));
62
- _initializerDefineProperty(_this, "outputProvider", _descriptor2, _assertThisInitialized(_this));
69
+ _initializerDefineProperty(_this, "outputs", _descriptor2, _assertThisInitialized(_this));
63
70
  _this.disposed = void 0;
64
71
  _this.clearNext = false;
65
72
  _this.lastStream = '';
@@ -266,23 +273,23 @@ export var LibroOutputArea = (_dec = transient(), _dec2 = view('libro-output-are
266
273
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
267
274
  }, {
268
275
  key: "shouldCombine",
269
- value: function shouldCombine(_options) {
276
+ value: function shouldCombine(options) {
270
277
  return true;
271
278
  }
272
279
  }]);
273
280
  return LibroOutputArea;
274
- }(BaseView), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "outputs", [_dec3], {
281
+ }(BaseView), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "outputProvider", [_dec3], {
275
282
  configurable: true,
276
283
  enumerable: true,
277
284
  writable: true,
278
- initializer: function initializer() {
279
- return [];
280
- }
281
- }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "outputProvider", [_dec4], {
285
+ initializer: null
286
+ }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "outputs", [_dec4], {
282
287
  configurable: true,
283
288
  enumerable: true,
284
289
  writable: true,
285
- initializer: null
290
+ initializer: function initializer() {
291
+ return [];
292
+ }
286
293
  })), _class2)) || _class) || _class);
287
294
 
288
295
  /**
@@ -4,7 +4,6 @@ import type { IOutputOptions } from './output-protocol.js';
4
4
  import { OutputContribution } from './output-protocol.js';
5
5
  export declare class DefaultOutputContribution implements OutputContribution {
6
6
  viewManager: ViewManager;
7
- constructor(viewManager: ViewManager);
8
7
  canHandle: () => number;
9
8
  factory(output: IOutputOptions): Promise<LibroOutputView>;
10
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"output-contribution.d.ts","sourceRoot":"","sources":["../../src/output/output-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhD,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;IAClE,WAAW,EAAE,WAAW,CAAC;gBACQ,WAAW,EAAE,WAAW;IAGzD,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,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,26 +1,26 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _dec, _class;
2
+ var _dec, _dec2, _class, _class2, _descriptor;
3
+ function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
3
4
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
5
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
5
6
  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
7
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
8
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
8
- import { ViewManager } from '@difizen/mana-app';
9
- import { inject, singleton } from '@difizen/mana-app';
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
+ 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';
10
12
  import { LibroOutputView } from "./output-model.js";
11
13
  import { OutputContribution } from "./output-protocol.js";
12
14
  export var DefaultOutputContribution = (_dec = singleton({
13
15
  contrib: OutputContribution
14
- }), _dec(_class = /*#__PURE__*/function () {
15
- function DefaultOutputContribution(viewManager) {
16
+ }), _dec2 = inject(ViewManager), _dec(_class = (_class2 = /*#__PURE__*/function () {
17
+ function DefaultOutputContribution() {
16
18
  _classCallCheck(this, DefaultOutputContribution);
17
- this.viewManager = void 0;
19
+ _initializerDefineProperty(this, "viewManager", _descriptor, this);
18
20
  this.canHandle = function () {
19
21
  return 1;
20
22
  };
21
- this.viewManager = viewManager;
22
23
  }
23
- DefaultOutputContribution = inject(ViewManager)(DefaultOutputContribution, undefined, 0) || DefaultOutputContribution;
24
24
  _createClass(DefaultOutputContribution, [{
25
25
  key: "factory",
26
26
  value: function factory(output) {
@@ -28,4 +28,9 @@ export var DefaultOutputContribution = (_dec = singleton({
28
28
  }
29
29
  }]);
30
30
  return DefaultOutputContribution;
31
- }()) || _class);
31
+ }(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "viewManager", [_dec2], {
32
+ configurable: true,
33
+ enumerable: true,
34
+ writable: true,
35
+ initializer: null
36
+ })), _class2)) || _class);
@@ -7,15 +7,15 @@ import type { ISetDataOptions, BaseOutputView } from './output-protocol.js';
7
7
  export declare class LibroOutputView extends BaseView implements BaseOutputView {
8
8
  id: string;
9
9
  cell: CellView;
10
- type: string;
11
10
  raw: IOutput;
12
11
  data: JSONObject;
13
12
  metadata: PartialJSONObject;
13
+ type: string;
14
+ trusted: boolean;
14
15
  constructor(options: IOutputOptions);
15
16
  render: FC<{
16
17
  output: BaseOutputView;
17
18
  }>;
18
- trusted: boolean;
19
19
  dispose(): void;
20
20
  toJSON(): IOutput;
21
21
  setData(options: ISetDataOptions): void;
@@ -1 +1 @@
1
- {"version":3,"file":"output-model.d.ts","sourceRoot":"","sources":["../../src/output/output-model.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACpF,OAAO,EAAE,QAAQ,EAA0B,MAAM,mBAAmB,CAAC;AAErE,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,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;IACf,IAAI,EAAE,MAAM,CAAC;IAGb,GAAG,EAAE,OAAO,CAAC;IAGb,IAAI,EAAE,UAAU,CAAC;IAEjB,QAAQ,EAAE,iBAAiB,CAAC;gBACI,OAAO,EAAE,cAAc;IAUvD,MAAM,EAAE,EAAE,CAAC;QAAE,MAAM,EAAE,cAAc,CAAA;KAAE,CAAC,CAA0B;IAChE,OAAO,EAAE,OAAO,CAAC;IACR,OAAO;IAGhB,MAAM;IAGN,OAAO,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;CAQxC;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,wBAAkB,CAAC"}
1
+ {"version":3,"file":"output-model.d.ts","sourceRoot":"","sources":["../../src/output/output-model.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACpF,OAAO,EAAE,QAAQ,EAA0B,MAAM,mBAAmB,CAAC;AAErE,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,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;IAEb,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"}
@@ -35,12 +35,12 @@ export var LibroOutputView = (_dec = transient(), _dec2 = view('libro-output-mod
35
35
  _this.id = v4();
36
36
  // 增加cell属性,使得通过output可以找到Cell
37
37
  _this.cell = void 0;
38
- _this.type = void 0;
39
38
  _initializerDefineProperty(_this, "raw", _descriptor, _assertThisInitialized(_this));
40
39
  _initializerDefineProperty(_this, "data", _descriptor2, _assertThisInitialized(_this));
41
40
  _initializerDefineProperty(_this, "metadata", _descriptor3, _assertThisInitialized(_this));
42
- _this.render = LibroOutputModelRender;
41
+ _this.type = void 0;
43
42
  _this.trusted = void 0;
43
+ _this.render = LibroOutputModelRender;
44
44
  _this.raw = options.output;
45
45
  _this.trusted = options.trusted;
46
46
  _this.cell = options.cell;
@@ -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;AAGrD,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,EAA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O,EAAE,cAAc,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,6 +1,4 @@
1
1
  import { Syringe } from '@difizen/mana-app';
2
- // import type { CellModel } from '../libro-protocol';
3
-
4
2
  export var CellOption = Symbol('CellOption');
5
3
 
6
4
  /**
@@ -0,0 +1,5 @@
1
+ export * from './module.js';
2
+ export * from './settings-contribution.js';
3
+ export * from './settings-modal.js';
4
+ export * from './settings-protocol.js';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./module.js";
2
+ export * from "./settings-contribution.js";
3
+ export * from "./settings-modal.js";
4
+ export * from "./settings-protocol.js";
@@ -0,0 +1,3 @@
1
+ .libro-settings-modal {
2
+ background-color: #fff !important;
3
+ }
@@ -0,0 +1,3 @@
1
+ import { ManaModule } from '@difizen/mana-app';
2
+ export declare const SettingsModule: ManaModule;
3
+ //# sourceMappingURL=module.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,4 @@
1
+ import { ManaModule } from '@difizen/mana-app';
2
+ import { SettingEditorModule } from "./setting-editor/index.js";
3
+ import { SettingsContribution } from "./settings-contribution.js";
4
+ export var SettingsModule = ManaModule.create().register(SettingsContribution).dependOn(SettingEditorModule);
@@ -0,0 +1,13 @@
1
+ import type { ConfigurationNode } from '@difizen/mana-app';
2
+ import { BaseView } from '@difizen/mana-app';
3
+ import React from 'react';
4
+ import './index.less';
5
+ export declare const ConfigurationNodeRender: React.FC<{
6
+ node: ConfigurationNode<any>;
7
+ }>;
8
+ export declare const DefaultConfigurationViewComponent: React.FC;
9
+ export declare class ConfigurationPanelView extends BaseView {
10
+ view: React.FC<{}>;
11
+ configurationNodes: ConfigurationNode<any>[];
12
+ }
13
+ //# sourceMappingURL=configuration-panel-view.d.ts.map
@@ -0,0 +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"}