@dxos/plugin-sheet 0.6.12 → 0.6.13-main.548ca8d

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 (325) hide show
  1. package/dist/lib/browser/SheetContainer-NDNIS44E.mjs +265 -0
  2. package/dist/lib/browser/SheetContainer-NDNIS44E.mjs.map +7 -0
  3. package/dist/lib/browser/chunk-AQSGDA4X.mjs +1614 -0
  4. package/dist/lib/browser/chunk-AQSGDA4X.mjs.map +7 -0
  5. package/dist/lib/browser/chunk-D3QTX46O.mjs +14 -0
  6. package/dist/lib/browser/chunk-D3QTX46O.mjs.map +7 -0
  7. package/dist/lib/browser/chunk-GKI67SEF.mjs +69 -0
  8. package/dist/lib/browser/chunk-GKI67SEF.mjs.map +7 -0
  9. package/dist/lib/browser/chunk-GSV5QNLD.mjs +2966 -0
  10. package/dist/lib/browser/chunk-GSV5QNLD.mjs.map +7 -0
  11. package/dist/lib/browser/graph-M4IQ76QX.mjs +33 -0
  12. package/dist/lib/browser/graph-M4IQ76QX.mjs.map +7 -0
  13. package/dist/lib/browser/index.mjs +93 -62
  14. package/dist/lib/browser/index.mjs.map +3 -3
  15. package/dist/lib/browser/meta.json +1 -1
  16. package/dist/lib/browser/meta.mjs +1 -1
  17. package/dist/lib/browser/types.mjs +4 -10
  18. package/dist/lib/node/SheetContainer-YSQGJD7K.cjs +276 -0
  19. package/dist/lib/node/SheetContainer-YSQGJD7K.cjs.map +7 -0
  20. package/dist/lib/node/{chunk-5KKJ4NPP.cjs → chunk-5XPK2V4A.cjs} +418 -678
  21. package/dist/lib/node/chunk-5XPK2V4A.cjs.map +7 -0
  22. package/dist/lib/node/chunk-6F43RV45.cjs +1610 -0
  23. package/dist/lib/node/chunk-6F43RV45.cjs.map +7 -0
  24. package/dist/lib/node/{chunk-DSYKOI4E.cjs → chunk-ER3PM7GD.cjs} +29 -45
  25. package/dist/lib/node/chunk-ER3PM7GD.cjs.map +7 -0
  26. package/dist/lib/node/chunk-QIFIGEKV.cjs +37 -0
  27. package/dist/lib/node/chunk-QIFIGEKV.cjs.map +7 -0
  28. package/dist/lib/node/graph-Q3N2X26H.cjs +55 -0
  29. package/dist/lib/node/graph-Q3N2X26H.cjs.map +7 -0
  30. package/dist/lib/node/index.cjs +105 -69
  31. package/dist/lib/node/index.cjs.map +3 -3
  32. package/dist/lib/node/meta.cjs +3 -3
  33. package/dist/lib/node/meta.cjs.map +1 -1
  34. package/dist/lib/node/meta.json +1 -1
  35. package/dist/lib/node/types.cjs +8 -14
  36. package/dist/lib/node/types.cjs.map +2 -2
  37. package/dist/lib/node-esm/SheetContainer-M7WRMZDU.mjs +266 -0
  38. package/dist/lib/node-esm/SheetContainer-M7WRMZDU.mjs.map +7 -0
  39. package/dist/lib/{browser/chunk-D5AGLXJP.mjs → node-esm/chunk-5WPZCXNS.mjs} +411 -678
  40. package/dist/lib/node-esm/chunk-5WPZCXNS.mjs.map +7 -0
  41. package/dist/lib/node-esm/chunk-ELTFPX5B.mjs +1615 -0
  42. package/dist/lib/node-esm/chunk-ELTFPX5B.mjs.map +7 -0
  43. package/dist/lib/node-esm/chunk-VCYJWE3O.mjs +16 -0
  44. package/dist/lib/node-esm/chunk-VCYJWE3O.mjs.map +7 -0
  45. package/dist/lib/node-esm/chunk-ZVLLQ2PJ.mjs +70 -0
  46. package/dist/lib/node-esm/chunk-ZVLLQ2PJ.mjs.map +7 -0
  47. package/dist/lib/node-esm/graph-SMPUMOV2.mjs +34 -0
  48. package/dist/lib/node-esm/graph-SMPUMOV2.mjs.map +7 -0
  49. package/dist/lib/node-esm/index.mjs +280 -0
  50. package/dist/lib/node-esm/index.mjs.map +7 -0
  51. package/dist/lib/node-esm/meta.json +1 -0
  52. package/dist/lib/node-esm/meta.mjs +10 -0
  53. package/dist/lib/node-esm/meta.mjs.map +7 -0
  54. package/dist/lib/node-esm/types.mjs +17 -0
  55. package/dist/lib/node-esm/types.mjs.map +7 -0
  56. package/dist/types/src/SheetPlugin.d.ts.map +1 -1
  57. package/dist/types/src/components/ComputeGraph/ComputeGraphContextProvider.d.ts +11 -0
  58. package/dist/types/src/components/ComputeGraph/ComputeGraphContextProvider.d.ts.map +1 -0
  59. package/dist/types/src/components/ComputeGraph/index.d.ts +1 -3
  60. package/dist/types/src/components/ComputeGraph/index.d.ts.map +1 -1
  61. package/dist/types/src/components/FunctionEditor/FunctionEditor.d.ts +3 -0
  62. package/dist/types/src/components/FunctionEditor/FunctionEditor.d.ts.map +1 -0
  63. package/dist/types/src/components/FunctionEditor/index.d.ts +2 -0
  64. package/dist/types/src/components/FunctionEditor/index.d.ts.map +1 -0
  65. package/dist/types/src/components/GridSheet/GridSheet.d.ts +3 -0
  66. package/dist/types/src/components/GridSheet/GridSheet.d.ts.map +1 -0
  67. package/dist/types/src/components/GridSheet/GridSheet.stories.d.ts +9 -0
  68. package/dist/types/src/components/GridSheet/GridSheet.stories.d.ts.map +1 -0
  69. package/dist/types/src/components/{CellEditor/CellEditor.stories.d.ts → GridSheet/SheetCellEditor.stories.d.ts} +4 -4
  70. package/dist/types/src/components/GridSheet/SheetCellEditor.stories.d.ts.map +1 -0
  71. package/dist/types/src/components/GridSheet/index.d.ts +2 -0
  72. package/dist/types/src/components/GridSheet/index.d.ts.map +1 -0
  73. package/dist/types/src/components/GridSheet/util.d.ts +16 -0
  74. package/dist/types/src/components/GridSheet/util.d.ts.map +1 -0
  75. package/dist/types/src/components/SheetContainer/SheetContainer.d.ts +6 -0
  76. package/dist/types/src/components/SheetContainer/SheetContainer.d.ts.map +1 -0
  77. package/dist/types/src/components/SheetContainer/SheetContainer.stories.d.ts +11 -0
  78. package/dist/types/src/components/SheetContainer/SheetContainer.stories.d.ts.map +1 -0
  79. package/dist/types/src/components/SheetContainer/index.d.ts +3 -0
  80. package/dist/types/src/components/SheetContainer/index.d.ts.map +1 -0
  81. package/dist/types/src/components/SheetContext/SheetContext.d.ts +27 -0
  82. package/dist/types/src/components/SheetContext/SheetContext.d.ts.map +1 -0
  83. package/dist/types/src/components/SheetContext/index.d.ts +2 -0
  84. package/dist/types/src/components/SheetContext/index.d.ts.map +1 -0
  85. package/dist/types/src/components/Toolbar/Toolbar.d.ts +36 -6
  86. package/dist/types/src/components/Toolbar/Toolbar.d.ts.map +1 -1
  87. package/dist/types/src/components/Toolbar/Toolbar.stories.d.ts +19 -14
  88. package/dist/types/src/components/Toolbar/Toolbar.stories.d.ts.map +1 -1
  89. package/dist/types/src/components/index.d.ts +3 -2
  90. package/dist/types/src/components/index.d.ts.map +1 -1
  91. package/dist/types/src/defs/index.d.ts +3 -0
  92. package/dist/types/src/defs/index.d.ts.map +1 -0
  93. package/dist/types/src/{model → defs}/types.d.ts +8 -3
  94. package/dist/types/src/defs/types.d.ts.map +1 -0
  95. package/dist/types/src/defs/types.test.d.ts.map +1 -0
  96. package/dist/types/src/defs/util.d.ts +43 -0
  97. package/dist/types/src/defs/util.d.ts.map +1 -0
  98. package/dist/types/src/extensions/compute.d.ts +6 -0
  99. package/dist/types/src/extensions/compute.d.ts.map +1 -0
  100. package/dist/types/src/extensions/compute.stories.d.ts +26 -0
  101. package/dist/types/src/extensions/compute.stories.d.ts.map +1 -0
  102. package/dist/types/src/{components/CellEditor → extensions/editor}/extension.d.ts +1 -1
  103. package/dist/types/src/extensions/editor/extension.d.ts.map +1 -0
  104. package/dist/types/src/extensions/editor/extension.test.d.ts.map +1 -0
  105. package/dist/types/src/extensions/editor/index.d.ts +2 -0
  106. package/dist/types/src/extensions/editor/index.d.ts.map +1 -0
  107. package/dist/types/src/extensions/index.d.ts +3 -0
  108. package/dist/types/src/extensions/index.d.ts.map +1 -0
  109. package/dist/types/src/graph/compute-graph-registry.d.ts +34 -0
  110. package/dist/types/src/graph/compute-graph-registry.d.ts.map +1 -0
  111. package/dist/types/src/graph/compute-graph.d.ts +64 -0
  112. package/dist/types/src/graph/compute-graph.d.ts.map +1 -0
  113. package/dist/types/src/graph/compute-graph.stories.d.ts +10 -0
  114. package/dist/types/src/graph/compute-graph.stories.d.ts.map +1 -0
  115. package/dist/types/src/graph/compute-graph.test.d.ts +2 -0
  116. package/dist/types/src/graph/compute-graph.test.d.ts.map +1 -0
  117. package/dist/types/src/graph/compute-node.d.ts +26 -0
  118. package/dist/types/src/graph/compute-node.d.ts.map +1 -0
  119. package/dist/types/src/{components/ComputeGraph → graph/functions}/async-function.d.ts +14 -5
  120. package/dist/types/src/graph/functions/async-function.d.ts.map +1 -0
  121. package/dist/types/src/graph/functions/edge-function.d.ts +21 -0
  122. package/dist/types/src/graph/functions/edge-function.d.ts.map +1 -0
  123. package/dist/types/src/{model/functions.d.ts → graph/functions/function-defs.d.ts} +1 -1
  124. package/dist/types/src/graph/functions/function-defs.d.ts.map +1 -0
  125. package/dist/types/src/graph/functions/index.d.ts +4 -0
  126. package/dist/types/src/graph/functions/index.d.ts.map +1 -0
  127. package/dist/types/src/graph/hyperformula.test.d.ts +2 -0
  128. package/dist/types/src/graph/hyperformula.test.d.ts.map +1 -0
  129. package/dist/types/src/graph/index.d.ts +5 -0
  130. package/dist/types/src/graph/index.d.ts.map +1 -0
  131. package/dist/types/src/graph/testing/index.d.ts +3 -0
  132. package/dist/types/src/graph/testing/index.d.ts.map +1 -0
  133. package/dist/types/src/graph/testing/test-builder.d.ts +15 -0
  134. package/dist/types/src/graph/testing/test-builder.d.ts.map +1 -0
  135. package/dist/types/src/graph/testing/test-plugin.d.ts +36 -0
  136. package/dist/types/src/graph/testing/test-plugin.d.ts.map +1 -0
  137. package/dist/types/src/graph/util.d.ts +2 -0
  138. package/dist/types/src/graph/util.d.ts.map +1 -0
  139. package/dist/types/src/hooks/hooks.stories.d.ts +11 -0
  140. package/dist/types/src/hooks/hooks.stories.d.ts.map +1 -0
  141. package/dist/types/src/hooks/index.d.ts +5 -0
  142. package/dist/types/src/hooks/index.d.ts.map +1 -0
  143. package/dist/types/src/hooks/threads.d.ts +8 -0
  144. package/dist/types/src/hooks/threads.d.ts.map +1 -0
  145. package/dist/types/src/hooks/useComputeGraph.d.ts +7 -0
  146. package/dist/types/src/hooks/useComputeGraph.d.ts.map +1 -0
  147. package/dist/types/src/hooks/useFormattingModel.d.ts +3 -0
  148. package/dist/types/src/hooks/useFormattingModel.d.ts.map +1 -0
  149. package/dist/types/src/hooks/useSheetModel.d.ts +8 -0
  150. package/dist/types/src/hooks/useSheetModel.d.ts.map +1 -0
  151. package/dist/types/src/meta.d.ts +3 -9
  152. package/dist/types/src/meta.d.ts.map +1 -1
  153. package/dist/types/src/model/decorations.d.ts +25 -0
  154. package/dist/types/src/model/decorations.d.ts.map +1 -0
  155. package/dist/types/src/model/formatting-model.d.ts +19 -0
  156. package/dist/types/src/model/formatting-model.d.ts.map +1 -0
  157. package/dist/types/src/model/index.d.ts +3 -3
  158. package/dist/types/src/model/index.d.ts.map +1 -1
  159. package/dist/types/src/model/{model.d.ts → sheet-model.d.ts} +13 -67
  160. package/dist/types/src/model/sheet-model.d.ts.map +1 -0
  161. package/dist/types/src/model/sheet-model.test.d.ts +2 -0
  162. package/dist/types/src/model/sheet-model.test.d.ts.map +1 -0
  163. package/dist/types/src/sanity.test.d.ts +2 -0
  164. package/dist/types/src/sanity.test.d.ts.map +1 -0
  165. package/dist/types/src/testing/index.d.ts +2 -0
  166. package/dist/types/src/testing/index.d.ts.map +1 -0
  167. package/dist/types/src/testing/testing.d.ts +8 -0
  168. package/dist/types/src/testing/testing.d.ts.map +1 -0
  169. package/dist/types/src/translations.d.ts +17 -12
  170. package/dist/types/src/translations.d.ts.map +1 -1
  171. package/dist/types/src/types.d.ts +98 -32
  172. package/dist/types/src/types.d.ts.map +1 -1
  173. package/dist/vendor/hyperformula.mjs +37145 -0
  174. package/package.json +57 -52
  175. package/src/SheetPlugin.tsx +52 -74
  176. package/src/components/ComputeGraph/ComputeGraphContextProvider.tsx +20 -0
  177. package/src/components/ComputeGraph/index.ts +1 -3
  178. package/src/components/FunctionEditor/FunctionEditor.tsx +45 -0
  179. package/src/components/FunctionEditor/index.ts +5 -0
  180. package/src/components/GridSheet/GridSheet.stories.tsx +41 -0
  181. package/src/components/GridSheet/GridSheet.tsx +161 -0
  182. package/src/components/{CellEditor/CellEditor.stories.tsx → GridSheet/SheetCellEditor.stories.tsx} +8 -8
  183. package/src/components/GridSheet/index.ts +5 -0
  184. package/src/components/GridSheet/util.ts +144 -0
  185. package/src/components/SheetContainer/SheetContainer.stories.tsx +40 -0
  186. package/src/components/SheetContainer/SheetContainer.tsx +52 -0
  187. package/src/components/SheetContainer/index.ts +7 -0
  188. package/src/components/SheetContext/SheetContext.tsx +108 -0
  189. package/src/components/SheetContext/index.ts +5 -0
  190. package/src/components/Toolbar/Toolbar.tsx +167 -85
  191. package/src/components/index.ts +2 -0
  192. package/src/defs/index.ts +6 -0
  193. package/src/{model → defs}/types.test.ts +8 -9
  194. package/src/{model → defs}/types.ts +24 -14
  195. package/src/defs/util.ts +151 -0
  196. package/src/extensions/compute.stories.tsx +151 -0
  197. package/src/extensions/compute.ts +147 -0
  198. package/src/{components/CellEditor → extensions/editor}/extension.test.ts +4 -6
  199. package/src/{components/CellEditor → extensions/editor}/extension.ts +5 -6
  200. package/src/{components/CellEditor → extensions/editor}/index.ts +0 -1
  201. package/src/extensions/index.ts +6 -0
  202. package/src/graph/compute-graph-registry.ts +90 -0
  203. package/src/graph/compute-graph.stories.tsx +93 -0
  204. package/src/graph/compute-graph.test.ts +87 -0
  205. package/src/graph/compute-graph.ts +242 -0
  206. package/src/graph/compute-node.ts +63 -0
  207. package/src/{components/ComputeGraph → graph/functions}/async-function.ts +25 -15
  208. package/src/{components/ComputeGraph → graph/functions}/edge-function.ts +16 -14
  209. package/src/graph/functions/index.ts +7 -0
  210. package/src/graph/hyperformula.test.ts +14 -0
  211. package/src/graph/index.ts +8 -0
  212. package/src/graph/testing/index.ts +6 -0
  213. package/src/graph/testing/test-builder.ts +54 -0
  214. package/src/{components/ComputeGraph/custom.ts → graph/testing/test-plugin.ts} +44 -14
  215. package/src/graph/util.ts +8 -0
  216. package/src/hooks/hooks.stories.tsx +50 -0
  217. package/src/hooks/index.ts +8 -0
  218. package/src/hooks/threads.ts +147 -0
  219. package/src/hooks/useComputeGraph.ts +28 -0
  220. package/src/hooks/useFormattingModel.ts +11 -0
  221. package/src/hooks/useSheetModel.ts +40 -0
  222. package/src/meta.ts +14 -0
  223. package/src/model/decorations.ts +64 -0
  224. package/src/{components/Sheet/formatting.ts → model/formatting-model.ts} +30 -20
  225. package/src/model/index.ts +3 -3
  226. package/src/model/sheet-model.test.ts +57 -0
  227. package/src/model/sheet-model.ts +418 -0
  228. package/src/sanity.test.ts +40 -0
  229. package/src/{components/Sheet → testing}/index.ts +1 -1
  230. package/src/testing/testing.tsx +68 -0
  231. package/src/translations.ts +6 -1
  232. package/src/types.ts +40 -41
  233. package/dist/lib/browser/SheetContainer-U4H5D34A.mjs +0 -1772
  234. package/dist/lib/browser/SheetContainer-U4H5D34A.mjs.map +0 -7
  235. package/dist/lib/browser/chunk-APHOLYUB.mjs +0 -175
  236. package/dist/lib/browser/chunk-APHOLYUB.mjs.map +0 -7
  237. package/dist/lib/browser/chunk-D5AGLXJP.mjs.map +0 -7
  238. package/dist/lib/browser/chunk-FUAGSXA4.mjs +0 -82
  239. package/dist/lib/browser/chunk-FUAGSXA4.mjs.map +0 -7
  240. package/dist/lib/browser/chunk-JRL5LGCE.mjs +0 -18
  241. package/dist/lib/browser/chunk-JRL5LGCE.mjs.map +0 -7
  242. package/dist/lib/browser/chunk-NU4PBN33.mjs +0 -8
  243. package/dist/lib/browser/chunk-NU4PBN33.mjs.map +0 -7
  244. package/dist/lib/browser/testing.mjs +0 -92
  245. package/dist/lib/browser/testing.mjs.map +0 -7
  246. package/dist/lib/node/SheetContainer-AXQV3ZT5.cjs +0 -1765
  247. package/dist/lib/node/SheetContainer-AXQV3ZT5.cjs.map +0 -7
  248. package/dist/lib/node/chunk-5KKJ4NPP.cjs.map +0 -7
  249. package/dist/lib/node/chunk-BJ6ZD7MN.cjs +0 -51
  250. package/dist/lib/node/chunk-BJ6ZD7MN.cjs.map +0 -7
  251. package/dist/lib/node/chunk-CN3RPESU.cjs +0 -202
  252. package/dist/lib/node/chunk-CN3RPESU.cjs.map +0 -7
  253. package/dist/lib/node/chunk-DSYKOI4E.cjs.map +0 -7
  254. package/dist/lib/node/chunk-PYXHNAAK.cjs +0 -40
  255. package/dist/lib/node/chunk-PYXHNAAK.cjs.map +0 -7
  256. package/dist/lib/node/testing.cjs +0 -111
  257. package/dist/lib/node/testing.cjs.map +0 -7
  258. package/dist/types/src/components/CellEditor/CellEditor.d.ts +0 -14
  259. package/dist/types/src/components/CellEditor/CellEditor.d.ts.map +0 -1
  260. package/dist/types/src/components/CellEditor/CellEditor.stories.d.ts.map +0 -1
  261. package/dist/types/src/components/CellEditor/extension.d.ts.map +0 -1
  262. package/dist/types/src/components/CellEditor/extension.test.d.ts.map +0 -1
  263. package/dist/types/src/components/CellEditor/index.d.ts +0 -3
  264. package/dist/types/src/components/CellEditor/index.d.ts.map +0 -1
  265. package/dist/types/src/components/ComputeGraph/async-function.d.ts.map +0 -1
  266. package/dist/types/src/components/ComputeGraph/custom.d.ts +0 -21
  267. package/dist/types/src/components/ComputeGraph/custom.d.ts.map +0 -1
  268. package/dist/types/src/components/ComputeGraph/edge-function.d.ts +0 -20
  269. package/dist/types/src/components/ComputeGraph/edge-function.d.ts.map +0 -1
  270. package/dist/types/src/components/ComputeGraph/graph-context.d.ts +0 -12
  271. package/dist/types/src/components/ComputeGraph/graph-context.d.ts.map +0 -1
  272. package/dist/types/src/components/ComputeGraph/graph.browser.test.d.ts +0 -2
  273. package/dist/types/src/components/ComputeGraph/graph.browser.test.d.ts.map +0 -1
  274. package/dist/types/src/components/ComputeGraph/graph.d.ts +0 -26
  275. package/dist/types/src/components/ComputeGraph/graph.d.ts.map +0 -1
  276. package/dist/types/src/components/Sheet/Sheet.d.ts +0 -55
  277. package/dist/types/src/components/Sheet/Sheet.d.ts.map +0 -1
  278. package/dist/types/src/components/Sheet/Sheet.stories.d.ts +0 -54
  279. package/dist/types/src/components/Sheet/Sheet.stories.d.ts.map +0 -1
  280. package/dist/types/src/components/Sheet/formatting.d.ts +0 -14
  281. package/dist/types/src/components/Sheet/formatting.d.ts.map +0 -1
  282. package/dist/types/src/components/Sheet/grid.d.ts +0 -52
  283. package/dist/types/src/components/Sheet/grid.d.ts.map +0 -1
  284. package/dist/types/src/components/Sheet/index.d.ts +0 -2
  285. package/dist/types/src/components/Sheet/index.d.ts.map +0 -1
  286. package/dist/types/src/components/Sheet/nav.d.ts +0 -29
  287. package/dist/types/src/components/Sheet/nav.d.ts.map +0 -1
  288. package/dist/types/src/components/Sheet/sheet-context.d.ts +0 -25
  289. package/dist/types/src/components/Sheet/sheet-context.d.ts.map +0 -1
  290. package/dist/types/src/components/Sheet/util.d.ts +0 -18
  291. package/dist/types/src/components/Sheet/util.d.ts.map +0 -1
  292. package/dist/types/src/components/SheetContainer.d.ts +0 -9
  293. package/dist/types/src/components/SheetContainer.d.ts.map +0 -1
  294. package/dist/types/src/components/Toolbar/common.d.ts +0 -20
  295. package/dist/types/src/components/Toolbar/common.d.ts.map +0 -1
  296. package/dist/types/src/model/functions.d.ts.map +0 -1
  297. package/dist/types/src/model/model.browser.test.d.ts +0 -2
  298. package/dist/types/src/model/model.browser.test.d.ts.map +0 -1
  299. package/dist/types/src/model/model.d.ts.map +0 -1
  300. package/dist/types/src/model/types.d.ts.map +0 -1
  301. package/dist/types/src/model/types.test.d.ts.map +0 -1
  302. package/dist/types/src/model/util.d.ts +0 -15
  303. package/dist/types/src/model/util.d.ts.map +0 -1
  304. package/dist/types/src/testing.d.ts +0 -9
  305. package/dist/types/src/testing.d.ts.map +0 -1
  306. package/src/components/CellEditor/CellEditor.tsx +0 -113
  307. package/src/components/ComputeGraph/graph-context.tsx +0 -50
  308. package/src/components/ComputeGraph/graph.browser.test.ts +0 -50
  309. package/src/components/ComputeGraph/graph.ts +0 -62
  310. package/src/components/Sheet/Sheet.stories.tsx +0 -287
  311. package/src/components/Sheet/Sheet.tsx +0 -1160
  312. package/src/components/Sheet/grid.ts +0 -191
  313. package/src/components/Sheet/nav.ts +0 -157
  314. package/src/components/Sheet/sheet-context.tsx +0 -150
  315. package/src/components/Sheet/util.ts +0 -56
  316. package/src/components/SheetContainer.tsx +0 -34
  317. package/src/components/Toolbar/common.tsx +0 -72
  318. package/src/meta.tsx +0 -18
  319. package/src/model/model.browser.test.ts +0 -100
  320. package/src/model/model.ts +0 -550
  321. package/src/model/util.ts +0 -36
  322. package/src/testing.ts +0 -50
  323. /package/dist/types/src/{model → defs}/types.test.d.ts +0 -0
  324. /package/dist/types/src/{components/CellEditor → extensions/editor}/extension.test.d.ts +0 -0
  325. /package/src/{model/functions.ts → graph/functions/function-defs.ts} +0 -0
@@ -1 +1 @@
1
- {"inputs":{"packages/plugins/plugin-sheet/src/components/ComputeGraph/async-function.ts":{"bytes":18292,"imports":[{"path":"hyperformula","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/ComputeGraph/custom.ts":{"bytes":6745,"imports":[{"path":"hyperformula","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/async-function.ts","kind":"import-statement","original":"./async-function"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/ComputeGraph/graph.ts":{"bytes":6174,"imports":[{"path":"hyperformula","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/async-function.ts","kind":"import-statement","original":"./async-function"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts":{"bytes":710,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/async-function.ts","kind":"import-statement","original":"./async-function"},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/custom.ts","kind":"import-statement","original":"./custom"},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/graph.ts","kind":"import-statement","original":"./graph"}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/functions.ts":{"bytes":204643,"imports":[],"format":"esm"},"packages/plugins/plugin-sheet/src/model/types.ts":{"bytes":8465,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/util.ts":{"bytes":4597,"imports":[{"path":"@dxos/crypto","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/meta.tsx":{"bytes":1868,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/types.ts":{"bytes":10617,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.tsx","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/model.ts":{"bytes":58751,"imports":[{"path":"hyperformula","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/model/functions.ts","kind":"import-statement","original":"./functions"},{"path":"packages/plugins/plugin-sheet/src/model/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-sheet/src/model/util.ts","kind":"import-statement","original":"./util"},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"../types"},{"path":"@dxos/client/echo","kind":"dynamic-import","external":true},{"path":"@dxos/plugin-script/types","kind":"dynamic-import","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/index.ts":{"bytes":674,"imports":[{"path":"packages/plugins/plugin-sheet/src/model/functions.ts","kind":"import-statement","original":"./functions"},{"path":"packages/plugins/plugin-sheet/src/model/model.ts","kind":"import-statement","original":"./model"},{"path":"packages/plugins/plugin-sheet/src/model/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/Sheet/grid.ts":{"bytes":17316,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/Sheet/nav.ts":{"bytes":15441,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/Sheet/grid.ts","kind":"import-statement","original":"./grid"},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/Sheet/formatting.ts":{"bytes":12660,"imports":[{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../../model"},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/ComputeGraph/edge-function.ts":{"bytes":13802,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"hyperformula","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/edge","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/async-function.ts","kind":"import-statement","original":"./async-function"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/ComputeGraph/graph-context.tsx":{"bytes":5449,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/custom.ts","kind":"import-statement","original":"./custom"},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/edge-function.ts","kind":"import-statement","original":"./edge-function"},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/graph.ts","kind":"import-statement","original":"./graph"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/Sheet/sheet-context.tsx":{"bytes":13183,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/Sheet/formatting.ts","kind":"import-statement","original":"./formatting"},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../../model"},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/graph-context.tsx","kind":"import-statement","original":"../ComputeGraph/graph-context"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/Sheet/util.ts":{"bytes":7372,"imports":[],"format":"esm"},"packages/plugins/plugin-sheet/src/components/CellEditor/CellEditor.tsx":{"bytes":10459,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/CellEditor/extension.ts":{"bytes":26847,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"codemirror-lang-spreadsheet","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/CellEditor/index.ts":{"bytes":618,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/CellEditor/CellEditor.tsx","kind":"import-statement","original":"./CellEditor"},{"path":"packages/plugins/plugin-sheet/src/components/CellEditor/extension.ts","kind":"import-statement","original":"./extension"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/Sheet/Sheet.tsx":{"bytes":119082,"imports":[{"path":"@dnd-kit/core","kind":"import-statement","external":true},{"path":"@dnd-kit/modifiers","kind":"import-statement","external":true},{"path":"@dnd-kit/utilities","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"re-resizable","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dom","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/Sheet/grid.ts","kind":"import-statement","original":"./grid"},{"path":"packages/plugins/plugin-sheet/src/components/Sheet/nav.ts","kind":"import-statement","original":"./nav"},{"path":"packages/plugins/plugin-sheet/src/components/Sheet/sheet-context.tsx","kind":"import-statement","original":"./sheet-context"},{"path":"packages/plugins/plugin-sheet/src/components/Sheet/util.ts","kind":"import-statement","original":"./util"},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../../model"},{"path":"packages/plugins/plugin-sheet/src/components/CellEditor/index.ts","kind":"import-statement","original":"../CellEditor"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/Sheet/index.ts":{"bytes":511,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/Sheet/Sheet.tsx","kind":"import-statement","original":"./Sheet"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContainer.tsx":{"bytes":2720,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/Sheet/index.ts","kind":"import-statement","original":"./Sheet"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/index.ts":{"bytes":1061,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts","kind":"import-statement","original":"./ComputeGraph"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContainer.tsx","kind":"dynamic-import","original":"./SheetContainer"}],"format":"esm"},"packages/plugins/plugin-sheet/src/translations.ts":{"bytes":1989,"imports":[{"path":"packages/plugins/plugin-sheet/src/meta.tsx","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-sheet/src/SheetPlugin.tsx":{"bytes":26368,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/edge-function.ts","kind":"import-statement","original":"./components/ComputeGraph/edge-function"},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/graph-context.tsx","kind":"import-statement","original":"./components/ComputeGraph/graph-context"},{"path":"packages/plugins/plugin-sheet/src/meta.tsx","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"./model"},{"path":"packages/plugins/plugin-sheet/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/index.ts":{"bytes":769,"imports":[{"path":"packages/plugins/plugin-sheet/src/SheetPlugin.tsx","kind":"import-statement","original":"./SheetPlugin"},{"path":"packages/plugins/plugin-sheet/src/SheetPlugin.tsx","kind":"import-statement","original":"./SheetPlugin"}],"format":"esm"},"packages/plugins/plugin-sheet/src/testing.ts":{"bytes":5777,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"./model"},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-sheet/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12781},"packages/plugins/plugin-sheet/dist/lib/node/index.cjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-PYXHNAAK.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-CN3RPESU.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-5KKJ4NPP.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-DSYKOI4E.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-BJ6ZD7MN.cjs","kind":"import-statement"},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["SheetPlugin","default"],"entryPoint":"packages/plugins/plugin-sheet/src/index.ts","inputs":{"packages/plugins/plugin-sheet/src/SheetPlugin.tsx":{"bytesInOutput":6535},"packages/plugins/plugin-sheet/src/translations.ts":{"bytesInOutput":454},"packages/plugins/plugin-sheet/src/index.ts":{"bytesInOutput":31}},"bytes":7771},"packages/plugins/plugin-sheet/dist/lib/node/meta.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-sheet/dist/lib/node/meta.cjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-BJ6ZD7MN.cjs","kind":"import-statement"}],"exports":["SHEET_PLUGIN","default"],"entryPoint":"packages/plugins/plugin-sheet/src/meta.tsx","inputs":{},"bytes":159},"packages/plugins/plugin-sheet/dist/lib/node/testing.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2733},"packages/plugins/plugin-sheet/dist/lib/node/testing.cjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-PYXHNAAK.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-5KKJ4NPP.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-DSYKOI4E.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-BJ6ZD7MN.cjs","kind":"import-statement"}],"exports":["createCells","createTestSheet","testSheetName"],"entryPoint":"packages/plugins/plugin-sheet/src/testing.ts","inputs":{"packages/plugins/plugin-sheet/src/testing.ts":{"bytesInOutput":1076}},"bytes":1415},"packages/plugins/plugin-sheet/dist/lib/node/chunk-PYXHNAAK.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":468},"packages/plugins/plugin-sheet/dist/lib/node/chunk-PYXHNAAK.cjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/dist/lib/node/SheetContainer-AXQV3ZT5.cjs","kind":"dynamic-import"}],"exports":["SheetContainer"],"inputs":{"packages/plugins/plugin-sheet/src/components/index.ts":{"bytesInOutput":107},"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts":{"bytesInOutput":0}},"bytes":238},"packages/plugins/plugin-sheet/dist/lib/node/types.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-sheet/dist/lib/node/types.cjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-DSYKOI4E.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-BJ6ZD7MN.cjs","kind":"import-statement"}],"exports":["CellValue","Formatting","RowColumnMeta","SheetAction","SheetType","ValueType","ValueTypeEnum","createSheet"],"entryPoint":"packages/plugins/plugin-sheet/src/types.ts","inputs":{},"bytes":350},"packages/plugins/plugin-sheet/dist/lib/node/SheetContainer-AXQV3ZT5.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":112698},"packages/plugins/plugin-sheet/dist/lib/node/SheetContainer-AXQV3ZT5.cjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-CN3RPESU.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-5KKJ4NPP.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-DSYKOI4E.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-BJ6ZD7MN.cjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dnd-kit/core","kind":"import-statement","external":true},{"path":"@dnd-kit/modifiers","kind":"import-statement","external":true},{"path":"@dnd-kit/utilities","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"re-resizable","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dom","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"codemirror-lang-spreadsheet","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-sheet/src/components/SheetContainer.tsx","inputs":{"packages/plugins/plugin-sheet/src/components/SheetContainer.tsx":{"bytesInOutput":570},"packages/plugins/plugin-sheet/src/components/Sheet/Sheet.tsx":{"bytesInOutput":29039},"packages/plugins/plugin-sheet/src/components/Sheet/grid.ts":{"bytesInOutput":3517},"packages/plugins/plugin-sheet/src/components/Sheet/nav.ts":{"bytesInOutput":3414},"packages/plugins/plugin-sheet/src/components/Sheet/sheet-context.tsx":{"bytesInOutput":2702},"packages/plugins/plugin-sheet/src/components/Sheet/formatting.ts":{"bytesInOutput":2782},"packages/plugins/plugin-sheet/src/components/Sheet/util.ts":{"bytesInOutput":1375},"packages/plugins/plugin-sheet/src/components/CellEditor/CellEditor.tsx":{"bytesInOutput":2445},"packages/plugins/plugin-sheet/src/components/CellEditor/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/CellEditor/extension.ts":{"bytesInOutput":5800},"packages/plugins/plugin-sheet/src/components/Sheet/index.ts":{"bytesInOutput":0}},"bytes":52889},"packages/plugins/plugin-sheet/dist/lib/node/chunk-CN3RPESU.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9175},"packages/plugins/plugin-sheet/dist/lib/node/chunk-CN3RPESU.cjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-5KKJ4NPP.cjs","kind":"import-statement"},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"hyperformula","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/edge","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["ComputeGraphContextProvider","EdgeFunctionPlugin","EdgeFunctionPluginTranslations","useComputeGraph"],"inputs":{"packages/plugins/plugin-sheet/src/components/ComputeGraph/edge-function.ts":{"bytesInOutput":3377},"packages/plugins/plugin-sheet/src/components/ComputeGraph/graph-context.tsx":{"bytesInOutput":964}},"bytes":4790},"packages/plugins/plugin-sheet/dist/lib/node/chunk-5KKJ4NPP.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":143395},"packages/plugins/plugin-sheet/dist/lib/node/chunk-5KKJ4NPP.cjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-DSYKOI4E.cjs","kind":"import-statement"},{"path":"hyperformula","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"hyperformula","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"hyperformula","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"dynamic-import","external":true},{"path":"@dxos/plugin-script/types","kind":"dynamic-import","external":true},{"path":"hyperformula","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["CustomPlugin","CustomPluginTranslations","FunctionPluginAsync","SheetModel","addressFromA1Notation","addressToA1Notation","columnLetter","createComputeGraph","defaultFunctions","inRange","posEquals","rangeToA1Notation"],"inputs":{"packages/plugins/plugin-sheet/src/components/ComputeGraph/graph.ts":{"bytesInOutput":1185},"packages/plugins/plugin-sheet/src/components/ComputeGraph/async-function.ts":{"bytesInOutput":3832},"packages/plugins/plugin-sheet/src/model/model.ts":{"bytesInOutput":13927},"packages/plugins/plugin-sheet/src/model/functions.ts":{"bytesInOutput":68677},"packages/plugins/plugin-sheet/src/model/types.ts":{"bytesInOutput":1899},"packages/plugins/plugin-sheet/src/model/util.ts":{"bytesInOutput":611},"packages/plugins/plugin-sheet/src/model/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/ComputeGraph/custom.ts":{"bytesInOutput":1354}},"bytes":92391},"packages/plugins/plugin-sheet/dist/lib/node/chunk-DSYKOI4E.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5141},"packages/plugins/plugin-sheet/dist/lib/node/chunk-DSYKOI4E.cjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-BJ6ZD7MN.cjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["CellValue","Formatting","RowColumnMeta","SheetAction","SheetType","ValueType","ValueTypeEnum","createSheet"],"inputs":{"packages/plugins/plugin-sheet/src/types.ts":{"bytesInOutput":2484}},"bytes":2759},"packages/plugins/plugin-sheet/dist/lib/node/chunk-BJ6ZD7MN.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":931},"packages/plugins/plugin-sheet/dist/lib/node/chunk-BJ6ZD7MN.cjs":{"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["SHEET_PLUGIN","meta_default"],"inputs":{"packages/plugins/plugin-sheet/src/meta.tsx":{"bytesInOutput":412}},"bytes":546}}}
1
+ {"inputs":{"packages/plugins/plugin-sheet/src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytes":2198,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts":{"bytes":572,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/ComputeGraphContextProvider.tsx","kind":"import-statement","original":"./ComputeGraphContextProvider"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/GridSheet/util.ts":{"bytes":18311,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/defs/types.ts":{"bytes":9014,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/meta.ts":{"bytes":1178,"imports":[],"format":"esm"},"packages/plugins/plugin-sheet/src/types.ts":{"bytes":9967,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-sheet/src/defs/util.ts":{"bytes":14952,"imports":[{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/defs/index.ts":{"bytes":579,"imports":[{"path":"packages/plugins/plugin-sheet/src/defs/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-sheet/src/defs/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"packages/plugins/plugin-sheet/src/graph/compute-node.ts":{"bytes":5989,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/graph/functions/async-function.ts":{"bytes":18956,"imports":[{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/graph/functions/edge-function.ts":{"bytes":13852,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/edge","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/graph/functions/async-function.ts","kind":"import-statement","original":"./async-function"}],"format":"esm"},"packages/plugins/plugin-sheet/src/graph/functions/function-defs.ts":{"bytes":204661,"imports":[],"format":"esm"},"packages/plugins/plugin-sheet/src/graph/functions/index.ts":{"bytes":741,"imports":[{"path":"packages/plugins/plugin-sheet/src/graph/functions/async-function.ts","kind":"import-statement","original":"./async-function"},{"path":"packages/plugins/plugin-sheet/src/graph/functions/edge-function.ts","kind":"import-statement","original":"./edge-function"},{"path":"packages/plugins/plugin-sheet/src/graph/functions/function-defs.ts","kind":"import-statement","original":"./function-defs"}],"format":"esm"},"packages/plugins/plugin-sheet/src/graph/compute-graph.ts":{"bytes":27682,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/graph/compute-node.ts","kind":"import-statement","original":"./compute-node"},{"path":"packages/plugins/plugin-sheet/src/graph/functions/index.ts","kind":"import-statement","original":"./functions"}],"format":"esm"},"packages/plugins/plugin-sheet/src/graph/compute-graph-registry.ts":{"bytes":9443,"imports":[{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/graph/compute-graph.ts","kind":"import-statement","original":"./compute-graph"},{"path":"packages/plugins/plugin-sheet/src/graph/functions/index.ts","kind":"import-statement","original":"./functions"}],"format":"esm"},"packages/plugins/plugin-sheet/src/graph/index.ts":{"bytes":839,"imports":[{"path":"packages/plugins/plugin-sheet/src/graph/compute-graph.ts","kind":"import-statement","original":"./compute-graph"},{"path":"packages/plugins/plugin-sheet/src/graph/compute-graph-registry.ts","kind":"import-statement","original":"./compute-graph-registry"},{"path":"packages/plugins/plugin-sheet/src/graph/compute-node.ts","kind":"import-statement","original":"./compute-node"},{"path":"packages/plugins/plugin-sheet/src/graph/functions/index.ts","kind":"import-statement","original":"./functions"}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/compute.ts":{"bytes":17995,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor/state","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/graph/index.ts","kind":"import-statement","original":"../graph"}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/editor/extension.ts":{"bytes":26619,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"codemirror-lang-spreadsheet","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor/state","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/editor/index.ts":{"bytes":520,"imports":[{"path":"packages/plugins/plugin-sheet/src/extensions/editor/extension.ts","kind":"import-statement","original":"./extension"}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/index.ts":{"bytes":593,"imports":[{"path":"packages/plugins/plugin-sheet/src/extensions/compute.ts","kind":"import-statement","original":"./compute"},{"path":"packages/plugins/plugin-sheet/src/extensions/editor/index.ts","kind":"import-statement","original":"./editor"}],"format":"esm"},"packages/plugins/plugin-sheet/src/hooks/useComputeGraph.ts":{"bytes":2875,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/index.ts","kind":"import-statement","original":"../components"}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/decorations.ts":{"bytes":5951,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/formatting-model.ts":{"bytes":13257,"imports":[{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../defs"},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../defs"}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/sheet-model.ts":{"bytes":48085,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../defs"},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../defs"},{"path":"packages/plugins/plugin-sheet/src/graph/index.ts","kind":"import-statement","original":"../graph"}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/index.ts":{"bytes":725,"imports":[{"path":"packages/plugins/plugin-sheet/src/model/decorations.ts","kind":"import-statement","original":"./decorations"},{"path":"packages/plugins/plugin-sheet/src/model/formatting-model.ts","kind":"import-statement","original":"./formatting-model"},{"path":"packages/plugins/plugin-sheet/src/model/sheet-model.ts","kind":"import-statement","original":"./sheet-model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/hooks/useFormattingModel.ts":{"bytes":1313,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/hooks/useSheetModel.ts":{"bytes":3097,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/hooks/threads.ts":{"bytes":17036,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../defs"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-sheet/src/hooks/index.ts":{"bytes":832,"imports":[{"path":"packages/plugins/plugin-sheet/src/hooks/useComputeGraph.ts","kind":"import-statement","original":"./useComputeGraph"},{"path":"packages/plugins/plugin-sheet/src/hooks/useFormattingModel.ts","kind":"import-statement","original":"./useFormattingModel"},{"path":"packages/plugins/plugin-sheet/src/hooks/useSheetModel.ts","kind":"import-statement","original":"./useSheetModel"},{"path":"packages/plugins/plugin-sheet/src/hooks/threads.ts","kind":"import-statement","original":"./threads"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContext/SheetContext.tsx":{"bytes":9194,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts":{"bytes":537,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/SheetContext.tsx","kind":"import-statement","original":"./SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/GridSheet/GridSheet.tsx":{"bytes":19564,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/util.ts","kind":"import-statement","original":"./util"},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../../defs"},{"path":"packages/plugins/plugin-sheet/src/extensions/index.ts","kind":"import-statement","original":"../../extensions"},{"path":"packages/plugins/plugin-sheet/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts":{"bytes":523,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/GridSheet.tsx","kind":"import-statement","original":"./GridSheet"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx":{"bytes":5266,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../../defs"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/FunctionEditor/index.ts":{"bytes":545,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx","kind":"import-statement","original":"./FunctionEditor"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/Toolbar/Toolbar.tsx":{"bytes":24740,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../../defs"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/Toolbar/index.ts":{"bytes":519,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/Toolbar/Toolbar.tsx","kind":"import-statement","original":"./Toolbar"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx":{"bytes":6004,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/FunctionEditor/index.ts","kind":"import-statement","original":"../FunctionEditor"},{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts","kind":"import-statement","original":"../GridSheet"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"packages/plugins/plugin-sheet/src/components/Toolbar/index.ts","kind":"import-statement","original":"../Toolbar"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts":{"bytes":721,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx","kind":"import-statement","original":"./SheetContainer"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/index.ts":{"bytes":1254,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts","kind":"import-statement","original":"./ComputeGraph"},{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts","kind":"import-statement","original":"./GridSheet"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"./SheetContext"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts","kind":"dynamic-import","original":"./SheetContainer"}],"format":"esm"},"packages/plugins/plugin-sheet/src/translations.ts":{"bytes":2948,"imports":[{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-sheet/src/SheetPlugin.tsx":{"bytes":26166,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"./defs"},{"path":"packages/plugins/plugin-sheet/src/extensions/index.ts","kind":"import-statement","original":"./extensions"},{"path":"packages/plugins/plugin-sheet/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-sheet/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-sheet/src/graph/index.ts","kind":"dynamic-import","original":"./graph"}],"format":"esm"},"packages/plugins/plugin-sheet/src/index.ts":{"bytes":769,"imports":[{"path":"packages/plugins/plugin-sheet/src/SheetPlugin.tsx","kind":"import-statement","original":"./SheetPlugin"},{"path":"packages/plugins/plugin-sheet/src/SheetPlugin.tsx","kind":"import-statement","original":"./SheetPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-sheet/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12835},"packages/plugins/plugin-sheet/dist/lib/node/index.cjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-6F43RV45.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-ER3PM7GD.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-QIFIGEKV.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-5XPK2V4A.cjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/dist/lib/node/graph-Q3N2X26H.cjs","kind":"dynamic-import"}],"exports":["SheetPlugin","default"],"entryPoint":"packages/plugins/plugin-sheet/src/index.ts","inputs":{"packages/plugins/plugin-sheet/src/SheetPlugin.tsx":{"bytesInOutput":7156},"packages/plugins/plugin-sheet/src/translations.ts":{"bytesInOutput":797},"packages/plugins/plugin-sheet/src/index.ts":{"bytesInOutput":31}},"bytes":8617},"packages/plugins/plugin-sheet/dist/lib/node/meta.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-sheet/dist/lib/node/meta.cjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-QIFIGEKV.cjs","kind":"import-statement"}],"exports":["SHEET_PLUGIN","default"],"entryPoint":"packages/plugins/plugin-sheet/src/meta.ts","inputs":{},"bytes":159},"packages/plugins/plugin-sheet/dist/lib/node/types.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-sheet/dist/lib/node/types.cjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-ER3PM7GD.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-QIFIGEKV.cjs","kind":"import-statement"}],"exports":["CellValue","Formatting","RowColumnMeta","SheetAction","SheetType"],"entryPoint":"packages/plugins/plugin-sheet/src/types.ts","inputs":{},"bytes":260},"packages/plugins/plugin-sheet/dist/lib/node/graph-Q3N2X26H.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-sheet/dist/lib/node/graph-Q3N2X26H.cjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-5XPK2V4A.cjs","kind":"import-statement"}],"exports":["AsyncFunctionPlugin","ComputeGraph","ComputeGraphRegistry","ComputeNode","EDGE_FUNCTION_NAME","EdgeFunctionPlugin","EdgeFunctionPluginTranslations","FunctionContext","createSheetName","defaultFunctionContextOptions","defaultFunctions","defaultOptions","defaultPlugins","parseSheetName"],"entryPoint":"packages/plugins/plugin-sheet/src/graph/index.ts","inputs":{},"bytes":696},"packages/plugins/plugin-sheet/dist/lib/node/SheetContainer-YSQGJD7K.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":18811},"packages/plugins/plugin-sheet/dist/lib/node/SheetContainer-YSQGJD7K.cjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-6F43RV45.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-ER3PM7GD.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-QIFIGEKV.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-5XPK2V4A.cjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts","inputs":{"packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx":{"bytesInOutput":1341},"packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx":{"bytesInOutput":1348},"packages/plugins/plugin-sheet/src/components/FunctionEditor/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/Toolbar/Toolbar.tsx":{"bytesInOutput":5822},"packages/plugins/plugin-sheet/src/components/Toolbar/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts":{"bytesInOutput":45}},"bytes":9315},"packages/plugins/plugin-sheet/dist/lib/node/chunk-6F43RV45.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":100534},"packages/plugins/plugin-sheet/dist/lib/node/chunk-6F43RV45.cjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-ER3PM7GD.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-QIFIGEKV.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-5XPK2V4A.cjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor/state","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"codemirror-lang-spreadsheet","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor/state","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/dist/lib/node/SheetContainer-YSQGJD7K.cjs","kind":"dynamic-import"}],"exports":["ComputeGraphContextProvider","GridSheet","SheetContainer","SheetProvider","addressToA1Notation","addressToIndex","compareIndexPositions","computeGraphFacet","createSheet","rangeToA1Notation","useComputeGraph","useSheetContext"],"inputs":{"packages/plugins/plugin-sheet/src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytesInOutput":305},"packages/plugins/plugin-sheet/src/defs/util.ts":{"bytesInOutput":2644},"packages/plugins/plugin-sheet/src/defs/types.ts":{"bytesInOutput":1909},"packages/plugins/plugin-sheet/src/defs/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/extensions/compute.ts":{"bytesInOutput":480},"packages/plugins/plugin-sheet/src/extensions/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/extensions/editor/extension.ts":{"bytesInOutput":5710},"packages/plugins/plugin-sheet/src/extensions/editor/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/hooks/useComputeGraph.ts":{"bytesInOutput":510},"packages/plugins/plugin-sheet/src/components/index.ts":{"bytesInOutput":109},"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/GridSheet/GridSheet.tsx":{"bytesInOutput":4207},"packages/plugins/plugin-sheet/src/components/GridSheet/util.ts":{"bytesInOutput":4343},"packages/plugins/plugin-sheet/src/hooks/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/hooks/useFormattingModel.ts":{"bytesInOutput":152},"packages/plugins/plugin-sheet/src/model/decorations.ts":{"bytesInOutput":958},"packages/plugins/plugin-sheet/src/model/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/model/formatting-model.ts":{"bytesInOutput":2886},"packages/plugins/plugin-sheet/src/model/sheet-model.ts":{"bytesInOutput":12219},"packages/plugins/plugin-sheet/src/hooks/useSheetModel.ts":{"bytesInOutput":572},"packages/plugins/plugin-sheet/src/hooks/threads.ts":{"bytesInOutput":3929},"packages/plugins/plugin-sheet/src/components/SheetContext/SheetContext.tsx":{"bytesInOutput":1874},"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts":{"bytesInOutput":0}},"bytes":44609},"packages/plugins/plugin-sheet/dist/lib/node/chunk-ER3PM7GD.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5408},"packages/plugins/plugin-sheet/dist/lib/node/chunk-ER3PM7GD.cjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/node/chunk-QIFIGEKV.cjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["CellValue","Formatting","RowColumnMeta","SheetAction","SheetType"],"inputs":{"packages/plugins/plugin-sheet/src/types.ts":{"bytesInOutput":1853}},"bytes":2083},"packages/plugins/plugin-sheet/dist/lib/node/chunk-QIFIGEKV.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":568},"packages/plugins/plugin-sheet/dist/lib/node/chunk-QIFIGEKV.cjs":{"imports":[],"exports":["SHEET_PLUGIN","meta_default"],"inputs":{"packages/plugins/plugin-sheet/src/meta.ts":{"bytesInOutput":185}},"bytes":318},"packages/plugins/plugin-sheet/dist/lib/node/chunk-5XPK2V4A.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":129730},"packages/plugins/plugin-sheet/dist/lib/node/chunk-5XPK2V4A.cjs":{"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/edge","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true}],"exports":["AsyncFunctionPlugin","ComputeGraph","ComputeGraphRegistry","ComputeNode","EDGE_FUNCTION_NAME","EdgeFunctionPlugin","EdgeFunctionPluginTranslations","FunctionContext","createSheetName","defaultFunctionContextOptions","defaultFunctions","defaultOptions","defaultPlugins","parseSheetName"],"inputs":{"packages/plugins/plugin-sheet/src/graph/compute-graph.ts":{"bytesInOutput":6205},"packages/plugins/plugin-sheet/src/graph/compute-node.ts":{"bytesInOutput":1029},"packages/plugins/plugin-sheet/src/graph/functions/async-function.ts":{"bytesInOutput":3955},"packages/plugins/plugin-sheet/src/graph/functions/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/graph/functions/edge-function.ts":{"bytesInOutput":3406},"packages/plugins/plugin-sheet/src/graph/functions/function-defs.ts":{"bytesInOutput":68677},"packages/plugins/plugin-sheet/src/graph/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/graph/compute-graph-registry.ts":{"bytesInOutput":1910}},"bytes":86004}}}
@@ -18,27 +18,21 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var types_exports = {};
20
20
  __export(types_exports, {
21
- CellValue: () => import_chunk_DSYKOI4E.CellValue,
22
- Formatting: () => import_chunk_DSYKOI4E.Formatting,
23
- RowColumnMeta: () => import_chunk_DSYKOI4E.RowColumnMeta,
24
- SheetAction: () => import_chunk_DSYKOI4E.SheetAction,
25
- SheetType: () => import_chunk_DSYKOI4E.SheetType,
26
- ValueType: () => import_chunk_DSYKOI4E.ValueType,
27
- ValueTypeEnum: () => import_chunk_DSYKOI4E.ValueTypeEnum,
28
- createSheet: () => import_chunk_DSYKOI4E.createSheet
21
+ CellValue: () => import_chunk_ER3PM7GD.CellValue,
22
+ Formatting: () => import_chunk_ER3PM7GD.Formatting,
23
+ RowColumnMeta: () => import_chunk_ER3PM7GD.RowColumnMeta,
24
+ SheetAction: () => import_chunk_ER3PM7GD.SheetAction,
25
+ SheetType: () => import_chunk_ER3PM7GD.SheetType
29
26
  });
30
27
  module.exports = __toCommonJS(types_exports);
31
- var import_chunk_DSYKOI4E = require("./chunk-DSYKOI4E.cjs");
32
- var import_chunk_BJ6ZD7MN = require("./chunk-BJ6ZD7MN.cjs");
28
+ var import_chunk_ER3PM7GD = require("./chunk-ER3PM7GD.cjs");
29
+ var import_chunk_QIFIGEKV = require("./chunk-QIFIGEKV.cjs");
33
30
  // Annotate the CommonJS export names for ESM import in node:
34
31
  0 && (module.exports = {
35
32
  CellValue,
36
33
  Formatting,
37
34
  RowColumnMeta,
38
35
  SheetAction,
39
- SheetType,
40
- ValueType,
41
- ValueTypeEnum,
42
- createSheet
36
+ SheetType
43
37
  });
44
38
  //# sourceMappingURL=types.cjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["types.cjs"],
4
- "sourcesContent": ["import {\n CellValue,\n Formatting,\n RowColumnMeta,\n SheetAction,\n SheetType,\n ValueType,\n ValueTypeEnum,\n createSheet\n} from \"./chunk-DSYKOI4E.cjs\";\nimport \"./chunk-BJ6ZD7MN.cjs\";\nexport {\n CellValue,\n Formatting,\n RowColumnMeta,\n SheetAction,\n SheetType,\n ValueType,\n ValueTypeEnum,\n createSheet\n};\n//# sourceMappingURL=types.cjs.map\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BASO;AACP,4BAAO;",
4
+ "sourcesContent": ["import {\n CellValue,\n Formatting,\n RowColumnMeta,\n SheetAction,\n SheetType\n} from \"./chunk-ER3PM7GD.cjs\";\nimport \"./chunk-QIFIGEKV.cjs\";\nexport {\n CellValue,\n Formatting,\n RowColumnMeta,\n SheetAction,\n SheetType\n};\n//# sourceMappingURL=types.cjs.map\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAMO;AACP,4BAAO;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,266 @@
1
+ import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
+ import {
3
+ GridSheet,
4
+ SheetProvider,
5
+ addressToA1Notation,
6
+ addressToIndex,
7
+ rangeToA1Notation,
8
+ useSheetContext
9
+ } from "./chunk-ELTFPX5B.mjs";
10
+ import "./chunk-ZVLLQ2PJ.mjs";
11
+ import {
12
+ SHEET_PLUGIN
13
+ } from "./chunk-VCYJWE3O.mjs";
14
+ import "./chunk-5WPZCXNS.mjs";
15
+
16
+ // packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx
17
+ import React3, { useCallback } from "react";
18
+ import { useIntentDispatcher } from "@dxos/app-framework";
19
+
20
+ // packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx
21
+ import React from "react";
22
+ import { Icon } from "@dxos/react-ui";
23
+ import { mx } from "@dxos/react-ui-theme";
24
+ var FunctionEditor = () => {
25
+ const { model, cursor, range } = useSheetContext();
26
+ let value;
27
+ let isFormula = false;
28
+ if (cursor) {
29
+ value = model.getCellValue(cursor);
30
+ if (typeof value === "string" && value.charAt(0) === "=") {
31
+ value = model.graph.mapFunctionBindingFromId(model.mapFormulaIndicesToRefs(value));
32
+ isFormula = true;
33
+ } else if (value != null) {
34
+ value = String(value);
35
+ }
36
+ }
37
+ return /* @__PURE__ */ React.createElement("div", {
38
+ className: mx("flex shrink-0 justify-between items-center px-4 py-1 text-sm border-bs !border-separator attention-surface")
39
+ }, /* @__PURE__ */ React.createElement("div", {
40
+ className: "flex gap-4 items-center"
41
+ }, /* @__PURE__ */ React.createElement("div", {
42
+ className: "flex w-16 items-center font-mono"
43
+ }, range && rangeToA1Notation(range) || cursor && addressToA1Notation(cursor)), /* @__PURE__ */ React.createElement("div", {
44
+ className: "flex gap-2 items-center"
45
+ }, /* @__PURE__ */ React.createElement(Icon, {
46
+ icon: "ph--function--regular",
47
+ classNames: [
48
+ "text-greenText",
49
+ isFormula ? "visible" : "invisible"
50
+ ]
51
+ }), /* @__PURE__ */ React.createElement("span", {
52
+ className: "font-mono"
53
+ }, value))));
54
+ };
55
+
56
+ // packages/plugins/plugin-sheet/src/components/Toolbar/Toolbar.tsx
57
+ import { createContext } from "@radix-ui/react-context";
58
+ import React2 from "react";
59
+ import { Icon as Icon2, Toolbar as NaturalToolbar, useTranslation, Tooltip } from "@dxos/react-ui";
60
+ import { useAttention } from "@dxos/react-ui-attention";
61
+ import { nonNullable } from "@dxos/util";
62
+ var buttonStyles = "min-bs-0 p-2";
63
+ var tooltipProps = {
64
+ side: "bottom",
65
+ classNames: "z-10"
66
+ };
67
+ var ToolbarSeparator = () => /* @__PURE__ */ React2.createElement("div", {
68
+ role: "separator",
69
+ className: "grow"
70
+ });
71
+ var ToolbarItem = ({ itemType, icon, children, ...props }) => {
72
+ const Invoker = itemType === "toggleGroupItem" ? NaturalToolbar.ToggleGroupItem : itemType === "toggle" ? NaturalToolbar.Toggle : NaturalToolbar.Button;
73
+ return /* @__PURE__ */ React2.createElement(Tooltip.Root, null, /* @__PURE__ */ React2.createElement(Tooltip.Trigger, {
74
+ asChild: true
75
+ }, /* @__PURE__ */ React2.createElement(Invoker, {
76
+ variant: "ghost",
77
+ ...props,
78
+ classNames: buttonStyles
79
+ }, /* @__PURE__ */ React2.createElement(Icon2, {
80
+ icon,
81
+ size: 5
82
+ }), /* @__PURE__ */ React2.createElement("span", {
83
+ className: "sr-only"
84
+ }, children))), /* @__PURE__ */ React2.createElement(Tooltip.Portal, null, /* @__PURE__ */ React2.createElement(Tooltip.Content, tooltipProps, children, /* @__PURE__ */ React2.createElement(Tooltip.Arrow, null))));
85
+ };
86
+ var [ToolbarContextProvider, useToolbarContext] = createContext("Toolbar");
87
+ var sectionToolbarLayout = "bs-[--rail-action] bg-[--sticky-bg] sticky block-start-0 __-block-start-px transition-opacity";
88
+ var ToolbarRoot = ({ children, onAction, role, classNames }) => {
89
+ const { id } = useSheetContext();
90
+ const { hasAttention } = useAttention(id);
91
+ return /* @__PURE__ */ React2.createElement(ToolbarContextProvider, {
92
+ onAction
93
+ }, /* @__PURE__ */ React2.createElement(NaturalToolbar.Root, {
94
+ classNames: [
95
+ ...role === "section" ? [
96
+ "z-[2] group-focus-within/section:visible",
97
+ !hasAttention && "invisible",
98
+ sectionToolbarLayout
99
+ ] : [
100
+ "attention-surface"
101
+ ],
102
+ classNames
103
+ ]
104
+ }, children));
105
+ };
106
+ var formatOptions = [
107
+ {
108
+ value: "date",
109
+ icon: "ph--calendar--regular",
110
+ getState: (state) => false
111
+ },
112
+ {
113
+ value: "currency",
114
+ icon: "ph--currency-dollar--regular",
115
+ getState: (state) => false
116
+ }
117
+ ];
118
+ var Format = () => {
119
+ const { onAction } = useToolbarContext("Format");
120
+ const { t } = useTranslation(SHEET_PLUGIN);
121
+ return /* @__PURE__ */ React2.createElement(NaturalToolbar.ToggleGroup, {
122
+ type: "single"
123
+ }, formatOptions.map(({ value, getState, icon }) => /* @__PURE__ */ React2.createElement(ToolbarItem, {
124
+ itemType: "toggleGroupItem",
125
+ key: value,
126
+ value,
127
+ icon,
128
+ onClick: () => onAction?.({
129
+ type: "format",
130
+ value
131
+ })
132
+ }, t(`toolbar ${value} label`))));
133
+ };
134
+ var alignmentOptions = [
135
+ {
136
+ value: "left",
137
+ icon: "ph--text-align-left--regular",
138
+ getState: (state) => false
139
+ },
140
+ {
141
+ value: "center",
142
+ icon: "ph--text-align-center--regular",
143
+ getState: (state) => false
144
+ },
145
+ {
146
+ value: "right",
147
+ icon: "ph--text-align-right--regular",
148
+ getState: (state) => false
149
+ }
150
+ ];
151
+ var Alignment = () => {
152
+ const { onAction } = useToolbarContext("Alignment");
153
+ const { t } = useTranslation(SHEET_PLUGIN);
154
+ return /* @__PURE__ */ React2.createElement(NaturalToolbar.ToggleGroup, {
155
+ type: "single",
156
+ // value={cellStyles.filter(({ getState }) => state && getState(state)).map(({ type }) => type)}
157
+ // disabled={state?.blockType === 'codeblock'}
158
+ onValueChange: (value) => onAction?.({
159
+ type: "align",
160
+ value
161
+ })
162
+ }, alignmentOptions.map(({ value, getState, icon }) => /* @__PURE__ */ React2.createElement(ToolbarItem, {
163
+ itemType: "toggleGroupItem",
164
+ key: value,
165
+ value,
166
+ icon
167
+ }, t(`toolbar ${value} label`))));
168
+ };
169
+ var styleOptions = [
170
+ {
171
+ value: "highlight",
172
+ icon: "ph--highlighter--regular",
173
+ getState: (state) => false
174
+ }
175
+ ];
176
+ var Styles = () => {
177
+ const { onAction } = useToolbarContext("Styles");
178
+ const { t } = useTranslation(SHEET_PLUGIN);
179
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, styleOptions.map(({ value, getState, icon }) => /* @__PURE__ */ React2.createElement(ToolbarItem, {
180
+ itemType: "toggle",
181
+ key: value,
182
+ onPressedChange: (nextPressed) => onAction?.({
183
+ type: "style",
184
+ value: nextPressed ? "highlight" : "unset"
185
+ }),
186
+ icon
187
+ }, t(`toolbar ${value} label`))));
188
+ };
189
+ var Actions = () => {
190
+ const { onAction } = useToolbarContext("Actions");
191
+ const { cursor, range, model } = useSheetContext();
192
+ const { t } = useTranslation(SHEET_PLUGIN);
193
+ const overlapsCommentAnchor = (model.sheet.threads ?? []).filter(nonNullable).filter((thread) => thread.status !== "resolved").some((thread) => {
194
+ if (!cursor) {
195
+ return false;
196
+ }
197
+ return addressToIndex(model.sheet, cursor) === thread.anchor;
198
+ });
199
+ const hasCursor = !!cursor;
200
+ const cursorOnly = hasCursor && !range && !overlapsCommentAnchor;
201
+ const tooltipLabelKey = !hasCursor ? "no cursor label" : overlapsCommentAnchor ? "selection overlaps existing comment label" : range ? "comment ranges not supported label" : "comment label";
202
+ return /* @__PURE__ */ React2.createElement(ToolbarItem, {
203
+ itemType: "button",
204
+ value: "comment",
205
+ icon: "ph--chat-text--regular",
206
+ "data-testid": "editor.toolbar.comment",
207
+ onClick: () => {
208
+ if (!cursor) {
209
+ return;
210
+ }
211
+ return onAction?.({
212
+ type: "comment",
213
+ anchor: addressToIndex(model.sheet, cursor),
214
+ cellContent: model.getCellText(cursor)
215
+ });
216
+ },
217
+ disabled: !cursorOnly || overlapsCommentAnchor
218
+ }, t(tooltipLabelKey));
219
+ };
220
+ var Toolbar = {
221
+ Root: ToolbarRoot,
222
+ Separator: ToolbarSeparator,
223
+ Alignment,
224
+ Format,
225
+ Styles,
226
+ Actions
227
+ };
228
+
229
+ // packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx
230
+ var SheetContainer = ({ graph, sheet, role }) => {
231
+ const dispatch = useIntentDispatcher();
232
+ const handleAction = useCallback((action) => {
233
+ switch (action.type) {
234
+ case "comment": {
235
+ void dispatch({
236
+ action: "dxos.org/plugin/thread/action/create",
237
+ data: {
238
+ cursor: action.anchor,
239
+ name: action.cellContent,
240
+ subject: sheet
241
+ }
242
+ });
243
+ }
244
+ }
245
+ }, [
246
+ sheet,
247
+ dispatch
248
+ ]);
249
+ return /* @__PURE__ */ React3.createElement(SheetProvider, {
250
+ sheet,
251
+ graph
252
+ }, /* @__PURE__ */ React3.createElement(Toolbar.Root, {
253
+ onAction: handleAction,
254
+ role
255
+ }, /* @__PURE__ */ React3.createElement(Toolbar.Styles, null), /* @__PURE__ */ React3.createElement(Toolbar.Format, null), /* @__PURE__ */ React3.createElement(Toolbar.Alignment, null), /* @__PURE__ */ React3.createElement(Toolbar.Separator, null), /* @__PURE__ */ React3.createElement(Toolbar.Actions, null)), /* @__PURE__ */ React3.createElement("div", {
256
+ role: "none",
257
+ className: "border-bs border-separator grid cols-1 rows-[1fr_min-content] min-bs-0"
258
+ }, /* @__PURE__ */ React3.createElement(GridSheet, null), /* @__PURE__ */ React3.createElement(FunctionEditor, null)));
259
+ };
260
+
261
+ // packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts
262
+ var SheetContainer_default = SheetContainer;
263
+ export {
264
+ SheetContainer_default as default
265
+ };
266
+ //# sourceMappingURL=SheetContainer-M7WRMZDU.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/components/SheetContainer/SheetContainer.tsx", "../../../src/components/FunctionEditor/FunctionEditor.tsx", "../../../src/components/Toolbar/Toolbar.tsx", "../../../src/components/SheetContainer/index.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { useCallback } from 'react';\n\nimport { useIntentDispatcher } from '@dxos/app-framework';\n\nimport { FunctionEditor } from '../FunctionEditor';\nimport { GridSheet } from '../GridSheet';\nimport { SheetProvider, type SheetProviderProps } from '../SheetContext';\nimport { Toolbar, type ToolbarAction } from '../Toolbar';\n\nexport const SheetContainer = ({ graph, sheet, role }: SheetProviderProps & { role?: string }) => {\n const dispatch = useIntentDispatcher();\n\n // TODO(Zan): Centralise the toolbar action handler. Current implementation in stories.\n const handleAction = useCallback(\n (action: ToolbarAction) => {\n switch (action.type) {\n case 'comment': {\n // TODO(Zan): We shouldn't hardcode the action ID.\n void dispatch({\n action: 'dxos.org/plugin/thread/action/create',\n data: {\n cursor: action.anchor,\n name: action.cellContent,\n subject: sheet,\n },\n });\n }\n }\n },\n [sheet, dispatch],\n );\n\n return (\n <SheetProvider sheet={sheet} graph={graph}>\n <Toolbar.Root onAction={handleAction} role={role}>\n <Toolbar.Styles />\n <Toolbar.Format />\n <Toolbar.Alignment />\n <Toolbar.Separator />\n <Toolbar.Actions />\n </Toolbar.Root>\n <div role='none' className='border-bs border-separator grid cols-1 rows-[1fr_min-content] min-bs-0'>\n <GridSheet />\n <FunctionEditor />\n </div>\n </SheetProvider>\n );\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Icon } from '@dxos/react-ui';\nimport { mx } from '@dxos/react-ui-theme';\n\nimport { addressToA1Notation, rangeToA1Notation } from '../../defs';\nimport { useSheetContext } from '../SheetContext';\n\nexport const FunctionEditor = () => {\n const { model, cursor, range } = useSheetContext();\n\n let value;\n let isFormula = false;\n if (cursor) {\n value = model.getCellValue(cursor);\n if (typeof value === 'string' && value.charAt(0) === '=') {\n value = model.graph.mapFunctionBindingFromId(model.mapFormulaIndicesToRefs(value));\n isFormula = true;\n } else if (value != null) {\n value = String(value);\n }\n }\n\n return (\n <div\n className={mx(\n 'flex shrink-0 justify-between items-center px-4 py-1 text-sm border-bs !border-separator attention-surface',\n )}\n >\n <div className='flex gap-4 items-center'>\n <div className='flex w-16 items-center font-mono'>\n {(range && rangeToA1Notation(range)) || (cursor && addressToA1Notation(cursor))}\n </div>\n <div className='flex gap-2 items-center'>\n <Icon icon='ph--function--regular' classNames={['text-greenText', isFormula ? 'visible' : 'invisible']} />\n <span className='font-mono'>{value}</span>\n </div>\n </div>\n </div>\n );\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { createContext } from '@radix-ui/react-context';\nimport React, { type PropsWithChildren } from 'react';\n\nimport {\n Icon,\n Toolbar as NaturalToolbar,\n useTranslation,\n Tooltip,\n type ToolbarToggleGroupItemProps as NaturalToolbarToggleGroupItemProps,\n type ToolbarButtonProps as NaturalToolbarButtonProps,\n type ToolbarToggleProps as NaturalToolbarToggleProps,\n type ThemedClassName,\n} from '@dxos/react-ui';\nimport { useAttention } from '@dxos/react-ui-attention';\nimport { nonNullable } from '@dxos/util';\n\nimport { addressToIndex } from '../../defs';\nimport { SHEET_PLUGIN } from '../../meta';\nimport { type Formatting } from '../../types';\nimport { useSheetContext } from '../SheetContext';\n\n//\n// Buttons\n//\n\nconst buttonStyles = 'min-bs-0 p-2';\nconst tooltipProps = { side: 'bottom' as const, classNames: 'z-10' };\n\nconst ToolbarSeparator = () => <div role='separator' className='grow' />;\n\n//\n// ToolbarItem\n//\n\ntype ToolbarItemProps =\n | (NaturalToolbarButtonProps & { itemType: 'button'; icon: string })\n | (NaturalToolbarToggleGroupItemProps & { itemType: 'toggleGroupItem'; icon: string })\n | (NaturalToolbarToggleProps & { itemType: 'toggle'; icon: string });\n\nexport const ToolbarItem = ({ itemType, icon, children, ...props }: ToolbarItemProps) => {\n const Invoker =\n itemType === 'toggleGroupItem'\n ? NaturalToolbar.ToggleGroupItem\n : itemType === 'toggle'\n ? NaturalToolbar.Toggle\n : NaturalToolbar.Button;\n return (\n <Tooltip.Root>\n <Tooltip.Trigger asChild>\n {/* TODO(thure): type the props spread better. */}\n <Invoker variant='ghost' {...(props as any)} classNames={buttonStyles}>\n <Icon icon={icon} size={5} />\n <span className='sr-only'>{children}</span>\n </Invoker>\n </Tooltip.Trigger>\n <Tooltip.Portal>\n <Tooltip.Content {...tooltipProps}>\n {children}\n <Tooltip.Arrow />\n </Tooltip.Content>\n </Tooltip.Portal>\n </Tooltip.Root>\n );\n};\n\n//\n// Root\n//\n\ntype AlignValue = 'left' | 'center' | 'right' | 'unset';\ntype AlignAction = { type: 'align'; value: AlignValue };\n\ntype CommentAction = { type: 'comment'; anchor: string; cellContent?: string };\n\ntype FormatValue = 'date' | 'currency' | 'unset';\ntype FormatAction = { type: 'format'; value: FormatValue };\n\ntype StyleValue = 'highlight' | 'unset';\ntype StyleAction = { type: 'style'; value: StyleValue };\n\nexport type ToolbarAction = StyleAction | AlignAction | FormatAction | CommentAction;\n\nexport type ToolbarActionType = ToolbarAction['type'];\n\nexport type ToolbarActionHandler = (action: ToolbarAction) => void;\n\nexport type ToolbarProps = ThemedClassName<\n PropsWithChildren<{\n onAction?: ToolbarActionHandler;\n role?: string;\n }>\n>;\n\nconst [ToolbarContextProvider, useToolbarContext] = createContext<ToolbarProps>('Toolbar');\n\n// TODO(Zan): Factor out, copied this from MarkdownPlugin.\nconst sectionToolbarLayout =\n 'bs-[--rail-action] bg-[--sticky-bg] sticky block-start-0 __-block-start-px transition-opacity';\n\nconst ToolbarRoot = ({ children, onAction, role, classNames }: ToolbarProps) => {\n const { id } = useSheetContext();\n const { hasAttention } = useAttention(id);\n\n return (\n <ToolbarContextProvider onAction={onAction}>\n <NaturalToolbar.Root\n classNames={[\n ...(role === 'section'\n ? ['z-[2] group-focus-within/section:visible', !hasAttention && 'invisible', sectionToolbarLayout]\n : ['attention-surface']),\n classNames,\n ]}\n >\n {children}\n </NaturalToolbar.Root>\n </ToolbarContextProvider>\n );\n};\n\n// TODO(burdon): Generalize.\n// TODO(burdon): Detect and display current state.\ntype ButtonProps<T> = {\n value: T;\n icon: string;\n getState: (state: Formatting) => boolean;\n disabled?: (state: Formatting) => boolean;\n};\n\n//\n// Alignment\n//\n\nconst formatOptions: ButtonProps<FormatValue>[] = [\n { value: 'date', icon: 'ph--calendar--regular', getState: (state) => false },\n { value: 'currency', icon: 'ph--currency-dollar--regular', getState: (state) => false },\n];\n\nconst Format = () => {\n const { onAction } = useToolbarContext('Format');\n const { t } = useTranslation(SHEET_PLUGIN);\n\n return (\n <NaturalToolbar.ToggleGroup\n type='single'\n // value={cellStyles.filter(({ getState }) => state && getState(state)).map(({ type }) => type)}\n >\n {formatOptions.map(({ value, getState, icon }) => (\n <ToolbarItem\n itemType='toggleGroupItem'\n key={value}\n value={value}\n icon={icon}\n onClick={() => onAction?.({ type: 'format', value })}\n >\n {t(`toolbar ${value} label`)}\n </ToolbarItem>\n ))}\n </NaturalToolbar.ToggleGroup>\n );\n};\n\nconst alignmentOptions: ButtonProps<AlignValue>[] = [\n { value: 'left', icon: 'ph--text-align-left--regular', getState: (state) => false },\n { value: 'center', icon: 'ph--text-align-center--regular', getState: (state) => false },\n { value: 'right', icon: 'ph--text-align-right--regular', getState: (state) => false },\n];\n\nconst Alignment = () => {\n const { onAction } = useToolbarContext('Alignment');\n const { t } = useTranslation(SHEET_PLUGIN);\n\n return (\n <NaturalToolbar.ToggleGroup\n type='single'\n // value={cellStyles.filter(({ getState }) => state && getState(state)).map(({ type }) => type)}\n // disabled={state?.blockType === 'codeblock'}\n onValueChange={(value: AlignValue) => onAction?.({ type: 'align', value })}\n >\n {alignmentOptions.map(({ value, getState, icon }) => (\n <ToolbarItem itemType='toggleGroupItem' key={value} value={value} icon={icon}>\n {t(`toolbar ${value} label`)}\n </ToolbarItem>\n ))}\n </NaturalToolbar.ToggleGroup>\n );\n};\n\nconst styleOptions: ButtonProps<StyleValue>[] = [\n { value: 'highlight', icon: 'ph--highlighter--regular', getState: (state) => false },\n];\n\nconst Styles = () => {\n const { onAction } = useToolbarContext('Styles');\n const { t } = useTranslation(SHEET_PLUGIN);\n\n return (\n <>\n {styleOptions.map(({ value, getState, icon }) => (\n <ToolbarItem\n itemType='toggle'\n key={value}\n onPressedChange={(nextPressed: boolean) =>\n onAction?.({ type: 'style', value: nextPressed ? 'highlight' : 'unset' })\n }\n icon={icon}\n >\n {t(`toolbar ${value} label`)}\n </ToolbarItem>\n ))}\n </>\n );\n};\n\n//\n// Actions\n//\n\nconst Actions = () => {\n const { onAction } = useToolbarContext('Actions');\n const { cursor, range, model } = useSheetContext();\n const { t } = useTranslation(SHEET_PLUGIN);\n\n const overlapsCommentAnchor = (model.sheet.threads ?? [])\n .filter(nonNullable)\n .filter((thread) => thread.status !== 'resolved')\n .some((thread) => {\n if (!cursor) {\n return false;\n }\n return addressToIndex(model.sheet, cursor) === thread.anchor;\n });\n\n const hasCursor = !!cursor;\n const cursorOnly = hasCursor && !range && !overlapsCommentAnchor;\n\n const tooltipLabelKey = !hasCursor\n ? 'no cursor label'\n : overlapsCommentAnchor\n ? 'selection overlaps existing comment label'\n : range\n ? 'comment ranges not supported label'\n : 'comment label';\n\n return (\n <ToolbarItem\n itemType='button'\n value='comment'\n icon='ph--chat-text--regular'\n data-testid='editor.toolbar.comment'\n onClick={() => {\n if (!cursor) {\n return;\n }\n return onAction?.({\n type: 'comment',\n anchor: addressToIndex(model.sheet, cursor),\n cellContent: model.getCellText(cursor),\n });\n }}\n disabled={!cursorOnly || overlapsCommentAnchor}\n >\n {t(tooltipLabelKey)}\n </ToolbarItem>\n );\n};\n\nexport const Toolbar = {\n Root: ToolbarRoot,\n Separator: ToolbarSeparator,\n Alignment,\n Format,\n Styles,\n Actions,\n};\n\nexport { useToolbarContext };\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { SheetContainer } from './SheetContainer';\n\nexport default SheetContainer;\n"],
5
+ "mappings": "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",
6
+ "names": ["React", "useCallback", "useIntentDispatcher", "React", "Icon", "mx", "FunctionEditor", "model", "cursor", "range", "useSheetContext", "value", "isFormula", "getCellValue", "charAt", "graph", "mapFunctionBindingFromId", "mapFormulaIndicesToRefs", "String", "div", "className", "mx", "rangeToA1Notation", "addressToA1Notation", "Icon", "icon", "classNames", "span", "createContext", "React", "Icon", "Toolbar", "NaturalToolbar", "useTranslation", "Tooltip", "useAttention", "nonNullable", "buttonStyles", "tooltipProps", "side", "classNames", "ToolbarSeparator", "React", "div", "role", "className", "ToolbarItem", "itemType", "icon", "children", "props", "Invoker", "NaturalToolbar", "ToggleGroupItem", "Toggle", "Button", "Tooltip", "Root", "Trigger", "asChild", "variant", "Icon", "size", "span", "Portal", "Content", "Arrow", "ToolbarContextProvider", "useToolbarContext", "createContext", "sectionToolbarLayout", "ToolbarRoot", "onAction", "id", "useSheetContext", "hasAttention", "useAttention", "formatOptions", "value", "getState", "state", "Format", "t", "useTranslation", "SHEET_PLUGIN", "ToggleGroup", "type", "map", "key", "onClick", "alignmentOptions", "Alignment", "onValueChange", "styleOptions", "Styles", "onPressedChange", "nextPressed", "Actions", "cursor", "range", "model", "overlapsCommentAnchor", "sheet", "threads", "filter", "nonNullable", "thread", "status", "some", "addressToIndex", "anchor", "hasCursor", "cursorOnly", "tooltipLabelKey", "data-testid", "cellContent", "getCellText", "disabled", "Toolbar", "Separator", "SheetContainer", "graph", "sheet", "role", "dispatch", "useIntentDispatcher", "handleAction", "useCallback", "action", "type", "data", "cursor", "anchor", "name", "cellContent", "subject", "React", "SheetProvider", "Toolbar", "Root", "onAction", "Styles", "Format", "Alignment", "Separator", "Actions", "div", "className", "GridSheet", "FunctionEditor", "SheetContainer"]
7
+ }