@dxos/plugin-sheet 0.7.4 → 0.7.5-labs.a279d8c

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 (320) hide show
  1. package/dist/lib/browser/SheetContainer-CM4CO3DC.mjs +370 -0
  2. package/dist/lib/browser/SheetContainer-CM4CO3DC.mjs.map +7 -0
  3. package/dist/lib/browser/chunk-FOO6NGBM.mjs +229 -0
  4. package/dist/lib/browser/chunk-FOO6NGBM.mjs.map +7 -0
  5. package/dist/lib/browser/chunk-H23JW3DX.mjs +800 -0
  6. package/dist/lib/browser/chunk-H23JW3DX.mjs.map +7 -0
  7. package/dist/lib/browser/{chunk-RABELMEQ.mjs → chunk-K6EUYKWT.mjs} +3 -3
  8. package/dist/lib/browser/chunk-K6EUYKWT.mjs.map +7 -0
  9. package/dist/lib/browser/chunk-PW25VUP6.mjs +15 -0
  10. package/dist/lib/browser/chunk-PW25VUP6.mjs.map +7 -0
  11. package/dist/lib/browser/chunk-T3IVPMRX.mjs +900 -0
  12. package/dist/lib/browser/chunk-T3IVPMRX.mjs.map +7 -0
  13. package/dist/lib/browser/compute-graph-registry-XH6B2SWG.mjs +27 -0
  14. package/dist/lib/browser/compute-graph-registry-XH6B2SWG.mjs.map +7 -0
  15. package/dist/lib/browser/index.mjs +86 -324
  16. package/dist/lib/browser/index.mjs.map +4 -4
  17. package/dist/lib/browser/intent-resolver-Q7DTHAM5.mjs +47 -0
  18. package/dist/lib/browser/intent-resolver-Q7DTHAM5.mjs.map +7 -0
  19. package/dist/lib/browser/markdown-IKG5FNCA.mjs +26 -0
  20. package/dist/lib/browser/markdown-IKG5FNCA.mjs.map +7 -0
  21. package/dist/lib/browser/meta.json +1 -1
  22. package/dist/lib/browser/react-context-JG43577H.mjs +28 -0
  23. package/dist/lib/browser/react-context-JG43577H.mjs.map +7 -0
  24. package/dist/lib/browser/react-surface-URRC3AFC.mjs +43 -0
  25. package/dist/lib/browser/react-surface-URRC3AFC.mjs.map +7 -0
  26. package/dist/lib/browser/thread-YX6KBQNQ.mjs +17 -0
  27. package/dist/lib/browser/thread-YX6KBQNQ.mjs.map +7 -0
  28. package/dist/lib/browser/types/index.mjs +62 -0
  29. package/dist/lib/node/SheetContainer-TJ3JQLWM.cjs +364 -0
  30. package/dist/lib/node/SheetContainer-TJ3JQLWM.cjs.map +7 -0
  31. package/dist/lib/node/chunk-E3RXOEL6.cjs +935 -0
  32. package/dist/lib/node/chunk-E3RXOEL6.cjs.map +7 -0
  33. package/dist/lib/node/{types.cjs → chunk-FU5K66DS.cjs} +12 -16
  34. package/dist/lib/node/chunk-FU5K66DS.cjs.map +7 -0
  35. package/dist/lib/node/{chunk-2ZVZI2KJ.cjs → chunk-NLDXUFDG.cjs} +7 -7
  36. package/dist/lib/node/chunk-NLDXUFDG.cjs.map +7 -0
  37. package/dist/lib/node/chunk-P4KSGZSS.cjs +251 -0
  38. package/dist/lib/node/chunk-P4KSGZSS.cjs.map +7 -0
  39. package/dist/lib/node/chunk-ZPWW4LPY.cjs +807 -0
  40. package/dist/lib/node/chunk-ZPWW4LPY.cjs.map +7 -0
  41. package/dist/lib/node/compute-graph-registry-ORGTIE5M.cjs +53 -0
  42. package/dist/lib/node/compute-graph-registry-ORGTIE5M.cjs.map +7 -0
  43. package/dist/lib/node/index.cjs +87 -318
  44. package/dist/lib/node/index.cjs.map +4 -4
  45. package/dist/lib/node/intent-resolver-ZUDJJUFG.cjs +60 -0
  46. package/dist/lib/node/intent-resolver-ZUDJJUFG.cjs.map +7 -0
  47. package/dist/lib/node/markdown-EUUL3Q36.cjs +40 -0
  48. package/dist/lib/node/markdown-EUUL3Q36.cjs.map +7 -0
  49. package/dist/lib/node/meta.json +1 -1
  50. package/dist/lib/node/react-context-OOH5QFE2.cjs +50 -0
  51. package/dist/lib/node/react-context-OOH5QFE2.cjs.map +7 -0
  52. package/dist/lib/node/react-surface-IQN5JKSS.cjs +64 -0
  53. package/dist/lib/node/react-surface-IQN5JKSS.cjs.map +7 -0
  54. package/dist/lib/node/{meta.cjs → thread-VBPS23P2.cjs} +12 -10
  55. package/dist/lib/node/thread-VBPS23P2.cjs.map +7 -0
  56. package/dist/lib/node/types/index.cjs +84 -0
  57. package/dist/lib/node/types/index.cjs.map +7 -0
  58. package/dist/lib/node-esm/SheetContainer-QEEFORIC.mjs +371 -0
  59. package/dist/lib/node-esm/SheetContainer-QEEFORIC.mjs.map +7 -0
  60. package/dist/lib/node-esm/{chunk-BM2Q3FFC.mjs → chunk-FMOVRTS4.mjs} +3 -3
  61. package/dist/lib/node-esm/chunk-FMOVRTS4.mjs.map +7 -0
  62. package/dist/lib/node-esm/chunk-KCXK5UM6.mjs +16 -0
  63. package/dist/lib/node-esm/chunk-KCXK5UM6.mjs.map +7 -0
  64. package/dist/lib/node-esm/chunk-NSVUOAI6.mjs +901 -0
  65. package/dist/lib/node-esm/chunk-NSVUOAI6.mjs.map +7 -0
  66. package/dist/lib/node-esm/chunk-OXD6RBFF.mjs +801 -0
  67. package/dist/lib/node-esm/chunk-OXD6RBFF.mjs.map +7 -0
  68. package/dist/lib/node-esm/chunk-PTOI45NK.mjs +231 -0
  69. package/dist/lib/node-esm/chunk-PTOI45NK.mjs.map +7 -0
  70. package/dist/lib/node-esm/compute-graph-registry-JH2FRHLD.mjs +28 -0
  71. package/dist/lib/node-esm/compute-graph-registry-JH2FRHLD.mjs.map +7 -0
  72. package/dist/lib/node-esm/index.mjs +86 -324
  73. package/dist/lib/node-esm/index.mjs.map +4 -4
  74. package/dist/lib/node-esm/intent-resolver-IF64RN7B.mjs +48 -0
  75. package/dist/lib/node-esm/intent-resolver-IF64RN7B.mjs.map +7 -0
  76. package/dist/lib/node-esm/markdown-D2ZMN7LR.mjs +27 -0
  77. package/dist/lib/node-esm/markdown-D2ZMN7LR.mjs.map +7 -0
  78. package/dist/lib/node-esm/meta.json +1 -1
  79. package/dist/lib/node-esm/react-context-CJVSLO74.mjs +29 -0
  80. package/dist/lib/node-esm/react-context-CJVSLO74.mjs.map +7 -0
  81. package/dist/lib/node-esm/react-surface-XJIX5G3I.mjs +44 -0
  82. package/dist/lib/node-esm/react-surface-XJIX5G3I.mjs.map +7 -0
  83. package/dist/lib/node-esm/thread-HSJD3SR6.mjs +18 -0
  84. package/dist/lib/node-esm/thread-HSJD3SR6.mjs.map +7 -0
  85. package/dist/lib/node-esm/types/index.mjs +63 -0
  86. package/dist/types/src/SheetPlugin.d.ts +1 -3
  87. package/dist/types/src/SheetPlugin.d.ts.map +1 -1
  88. package/dist/types/src/capabilities/capabilities.d.ts +5 -0
  89. package/dist/types/src/capabilities/capabilities.d.ts.map +1 -0
  90. package/dist/types/src/capabilities/compute-graph-registry.d.ts +4 -0
  91. package/dist/types/src/capabilities/compute-graph-registry.d.ts.map +1 -0
  92. package/dist/types/src/capabilities/index.d.ts +17 -0
  93. package/dist/types/src/capabilities/index.d.ts.map +1 -0
  94. package/dist/types/src/capabilities/intent-resolver.d.ts +4 -0
  95. package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -0
  96. package/dist/types/src/capabilities/markdown.d.ts +6 -0
  97. package/dist/types/src/capabilities/markdown.d.ts.map +1 -0
  98. package/dist/types/src/capabilities/react-context.d.ts +8 -0
  99. package/dist/types/src/capabilities/react-context.d.ts.map +1 -0
  100. package/dist/types/src/capabilities/react-surface.d.ts +4 -0
  101. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
  102. package/dist/types/src/capabilities/thread.d.ts +6 -0
  103. package/dist/types/src/capabilities/thread.d.ts.map +1 -0
  104. package/dist/types/src/components/ComputeGraph/ComputeGraphContextProvider.d.ts +1 -1
  105. package/dist/types/src/components/ComputeGraph/ComputeGraphContextProvider.d.ts.map +1 -1
  106. package/dist/types/src/components/ComputeGraph/compute-graph.stories.d.ts.map +1 -0
  107. package/dist/types/src/components/FunctionEditor/FunctionEditor.d.ts.map +1 -1
  108. package/dist/types/src/components/GridSheet/GridSheet.d.ts.map +1 -1
  109. package/dist/types/src/components/GridSheet/GridSheet.stories.d.ts.map +1 -1
  110. package/dist/types/src/components/GridSheet/SheetCellEditor.stories.d.ts.map +1 -1
  111. package/dist/types/src/components/GridSheet/util.d.ts.map +1 -1
  112. package/dist/types/src/components/RangeList/RangeList.d.ts.map +1 -1
  113. package/dist/types/src/components/SheetContainer/SheetContainer.d.ts.map +1 -1
  114. package/dist/types/src/components/SheetContainer/SheetContainer.stories.d.ts.map +1 -1
  115. package/dist/types/src/components/SheetContext/SheetContext.d.ts +1 -2
  116. package/dist/types/src/components/SheetContext/SheetContext.d.ts.map +1 -1
  117. package/dist/types/src/components/SheetToolbar/SheetToolbar.d.ts +7 -0
  118. package/dist/types/src/components/SheetToolbar/SheetToolbar.d.ts.map +1 -0
  119. package/dist/types/src/components/SheetToolbar/SheetToolbar.stories.d.ts +6 -0
  120. package/dist/types/src/components/SheetToolbar/SheetToolbar.stories.d.ts.map +1 -0
  121. package/dist/types/src/components/SheetToolbar/align.d.ts +28 -0
  122. package/dist/types/src/components/SheetToolbar/align.d.ts.map +1 -0
  123. package/dist/types/src/components/SheetToolbar/comment.d.ts +23 -0
  124. package/dist/types/src/components/SheetToolbar/comment.d.ts.map +1 -0
  125. package/dist/types/src/components/SheetToolbar/index.d.ts +2 -0
  126. package/dist/types/src/components/SheetToolbar/index.d.ts.map +1 -0
  127. package/dist/types/src/components/SheetToolbar/style.d.ts +26 -0
  128. package/dist/types/src/components/SheetToolbar/style.d.ts.map +1 -0
  129. package/dist/types/src/components/SheetToolbar/useToolbarAction.d.ts +8 -0
  130. package/dist/types/src/components/SheetToolbar/useToolbarAction.d.ts.map +1 -0
  131. package/dist/types/src/components/SheetToolbar/useToolbarState.d.ts +6 -0
  132. package/dist/types/src/components/SheetToolbar/useToolbarState.d.ts.map +1 -0
  133. package/dist/types/src/components/index.d.ts +0 -1
  134. package/dist/types/src/components/index.d.ts.map +1 -1
  135. package/dist/types/src/extensions/compute.d.ts +1 -1
  136. package/dist/types/src/extensions/compute.d.ts.map +1 -1
  137. package/dist/types/src/extensions/editor/extension.d.ts +1 -1
  138. package/dist/types/src/extensions/editor/extension.d.ts.map +1 -1
  139. package/dist/types/src/index.d.ts +2 -3
  140. package/dist/types/src/index.d.ts.map +1 -1
  141. package/dist/types/src/integrations/thread-ranges.d.ts +1 -1
  142. package/dist/types/src/integrations/thread-ranges.d.ts.map +1 -1
  143. package/dist/types/src/meta.d.ts +1 -2
  144. package/dist/types/src/meta.d.ts.map +1 -1
  145. package/dist/types/src/model/sheet-model.d.ts +6 -8
  146. package/dist/types/src/model/sheet-model.d.ts.map +1 -1
  147. package/dist/types/src/model/testing.d.ts +1 -1
  148. package/dist/types/src/model/testing.d.ts.map +1 -1
  149. package/dist/types/src/model/useSheetModel.d.ts +1 -1
  150. package/dist/types/src/model/useSheetModel.d.ts.map +1 -1
  151. package/dist/types/src/testing/testing.d.ts +1 -1
  152. package/dist/types/src/testing/testing.d.ts.map +1 -1
  153. package/dist/types/src/{defs → types}/index.d.ts +1 -0
  154. package/dist/types/src/types/index.d.ts.map +1 -0
  155. package/dist/types/src/types/schema.d.ts +105 -0
  156. package/dist/types/src/types/schema.d.ts.map +1 -0
  157. package/dist/types/src/{defs → types}/sheet-range-types.d.ts +1 -1
  158. package/dist/types/src/types/sheet-range-types.d.ts.map +1 -0
  159. package/dist/types/src/types/types.d.ts +71 -0
  160. package/dist/types/src/types/types.d.ts.map +1 -0
  161. package/dist/types/src/{defs → types}/util.d.ts +5 -1
  162. package/dist/types/src/types/util.d.ts.map +1 -0
  163. package/dist/types/tsconfig.tsbuildinfo +1 -0
  164. package/package.json +47 -61
  165. package/src/SheetPlugin.tsx +70 -176
  166. package/src/capabilities/capabilities.ts +14 -0
  167. package/src/capabilities/compute-graph-registry.ts +25 -0
  168. package/src/capabilities/index.ts +14 -0
  169. package/src/capabilities/intent-resolver.ts +29 -0
  170. package/src/capabilities/markdown.ts +22 -0
  171. package/src/capabilities/react-context.tsx +20 -0
  172. package/src/capabilities/react-surface.tsx +30 -0
  173. package/src/capabilities/thread.ts +14 -0
  174. package/src/components/ComputeGraph/ComputeGraphContextProvider.tsx +1 -2
  175. package/src/{compute-graph → components/ComputeGraph}/compute-graph.stories.tsx +6 -7
  176. package/src/components/FunctionEditor/FunctionEditor.tsx +2 -1
  177. package/src/components/GridSheet/GridSheet.stories.tsx +2 -0
  178. package/src/components/GridSheet/GridSheet.tsx +15 -18
  179. package/src/components/GridSheet/SheetCellEditor.stories.tsx +6 -7
  180. package/src/components/GridSheet/util.ts +3 -2
  181. package/src/components/RangeList/RangeList.tsx +2 -1
  182. package/src/components/SheetContainer/SheetContainer.stories.tsx +25 -23
  183. package/src/components/SheetContainer/SheetContainer.tsx +3 -8
  184. package/src/components/SheetContext/SheetContext.tsx +1 -2
  185. package/src/components/{Toolbar/Toolbar.stories.tsx → SheetToolbar/SheetToolbar.stories.tsx} +4 -8
  186. package/src/components/SheetToolbar/SheetToolbar.tsx +48 -0
  187. package/src/components/SheetToolbar/align.ts +68 -0
  188. package/src/components/SheetToolbar/comment.ts +56 -0
  189. package/src/components/{Toolbar → SheetToolbar}/index.ts +1 -1
  190. package/src/components/SheetToolbar/style.ts +72 -0
  191. package/src/components/SheetToolbar/useToolbarAction.ts +87 -0
  192. package/src/components/SheetToolbar/useToolbarState.ts +17 -0
  193. package/src/components/index.ts +0 -1
  194. package/src/extensions/compute.ts +7 -4
  195. package/src/extensions/editor/extension.test.ts +2 -1
  196. package/src/extensions/editor/extension.ts +2 -3
  197. package/src/index.ts +2 -7
  198. package/src/integrations/thread-ranges.ts +28 -24
  199. package/src/meta.ts +1 -1
  200. package/src/model/sheet-model.test.ts +4 -10
  201. package/src/model/sheet-model.ts +30 -22
  202. package/src/model/testing.ts +3 -2
  203. package/src/model/useSheetModel.ts +2 -1
  204. package/src/sanity.test.ts +1 -1
  205. package/src/testing/testing.tsx +2 -3
  206. package/src/{defs → types}/index.ts +1 -0
  207. package/src/types/schema.ts +56 -0
  208. package/src/{defs → types}/sheet-range-types.ts +1 -1
  209. package/src/types/types.ts +67 -0
  210. package/src/{defs → types}/util.ts +13 -13
  211. package/dist/lib/browser/SheetContainer-KCLT6PEO.mjs +0 -296
  212. package/dist/lib/browser/SheetContainer-KCLT6PEO.mjs.map +0 -7
  213. package/dist/lib/browser/chunk-E5WQ7U7G.mjs +0 -1675
  214. package/dist/lib/browser/chunk-E5WQ7U7G.mjs.map +0 -7
  215. package/dist/lib/browser/chunk-F3HE6D3J.mjs +0 -3269
  216. package/dist/lib/browser/chunk-F3HE6D3J.mjs.map +0 -7
  217. package/dist/lib/browser/chunk-JXFPOYNA.mjs +0 -67
  218. package/dist/lib/browser/chunk-JXFPOYNA.mjs.map +0 -7
  219. package/dist/lib/browser/chunk-RABELMEQ.mjs.map +0 -7
  220. package/dist/lib/browser/compute-graph-SNUS7HOH.mjs +0 -35
  221. package/dist/lib/browser/meta.mjs +0 -9
  222. package/dist/lib/browser/types.mjs +0 -16
  223. package/dist/lib/browser/types.mjs.map +0 -7
  224. package/dist/lib/node/SheetContainer-VVVRYTQG.cjs +0 -298
  225. package/dist/lib/node/SheetContainer-VVVRYTQG.cjs.map +0 -7
  226. package/dist/lib/node/chunk-2ZVZI2KJ.cjs.map +0 -7
  227. package/dist/lib/node/chunk-45YW2DX2.cjs +0 -1656
  228. package/dist/lib/node/chunk-45YW2DX2.cjs.map +0 -7
  229. package/dist/lib/node/chunk-KSEEI5VC.cjs +0 -3323
  230. package/dist/lib/node/chunk-KSEEI5VC.cjs.map +0 -7
  231. package/dist/lib/node/chunk-OWH2EUHZ.cjs +0 -90
  232. package/dist/lib/node/chunk-OWH2EUHZ.cjs.map +0 -7
  233. package/dist/lib/node/compute-graph-WILPHO4A.cjs +0 -57
  234. package/dist/lib/node/compute-graph-WILPHO4A.cjs.map +0 -7
  235. package/dist/lib/node/meta.cjs.map +0 -7
  236. package/dist/lib/node/types.cjs.map +0 -7
  237. package/dist/lib/node-esm/SheetContainer-LSBE6Q4X.mjs +0 -297
  238. package/dist/lib/node-esm/SheetContainer-LSBE6Q4X.mjs.map +0 -7
  239. package/dist/lib/node-esm/chunk-6JF2AHKO.mjs +0 -3270
  240. package/dist/lib/node-esm/chunk-6JF2AHKO.mjs.map +0 -7
  241. package/dist/lib/node-esm/chunk-BM2Q3FFC.mjs.map +0 -7
  242. package/dist/lib/node-esm/chunk-BVS2IQRO.mjs +0 -68
  243. package/dist/lib/node-esm/chunk-BVS2IQRO.mjs.map +0 -7
  244. package/dist/lib/node-esm/chunk-NYDNXI7L.mjs +0 -1676
  245. package/dist/lib/node-esm/chunk-NYDNXI7L.mjs.map +0 -7
  246. package/dist/lib/node-esm/compute-graph-S6CVN7RS.mjs +0 -36
  247. package/dist/lib/node-esm/compute-graph-S6CVN7RS.mjs.map +0 -7
  248. package/dist/lib/node-esm/meta.mjs +0 -10
  249. package/dist/lib/node-esm/meta.mjs.map +0 -7
  250. package/dist/lib/node-esm/types.mjs +0 -17
  251. package/dist/lib/node-esm/types.mjs.map +0 -7
  252. package/dist/types/src/components/SheetObjectSettings.d.ts +0 -7
  253. package/dist/types/src/components/SheetObjectSettings.d.ts.map +0 -1
  254. package/dist/types/src/components/Toolbar/Toolbar.d.ts +0 -48
  255. package/dist/types/src/components/Toolbar/Toolbar.d.ts.map +0 -1
  256. package/dist/types/src/components/Toolbar/Toolbar.stories.d.ts +0 -7
  257. package/dist/types/src/components/Toolbar/Toolbar.stories.d.ts.map +0 -1
  258. package/dist/types/src/components/Toolbar/index.d.ts +0 -2
  259. package/dist/types/src/components/Toolbar/index.d.ts.map +0 -1
  260. package/dist/types/src/compute-graph/compute-graph-registry.d.ts +0 -34
  261. package/dist/types/src/compute-graph/compute-graph-registry.d.ts.map +0 -1
  262. package/dist/types/src/compute-graph/compute-graph.d.ts +0 -64
  263. package/dist/types/src/compute-graph/compute-graph.d.ts.map +0 -1
  264. package/dist/types/src/compute-graph/compute-graph.stories.d.ts.map +0 -1
  265. package/dist/types/src/compute-graph/compute-graph.test.d.ts +0 -2
  266. package/dist/types/src/compute-graph/compute-graph.test.d.ts.map +0 -1
  267. package/dist/types/src/compute-graph/compute-node.d.ts +0 -26
  268. package/dist/types/src/compute-graph/compute-node.d.ts.map +0 -1
  269. package/dist/types/src/compute-graph/functions/async-function.d.ts +0 -66
  270. package/dist/types/src/compute-graph/functions/async-function.d.ts.map +0 -1
  271. package/dist/types/src/compute-graph/functions/edge-function.d.ts +0 -21
  272. package/dist/types/src/compute-graph/functions/edge-function.d.ts.map +0 -1
  273. package/dist/types/src/compute-graph/functions/function-defs.d.ts +0 -11
  274. package/dist/types/src/compute-graph/functions/function-defs.d.ts.map +0 -1
  275. package/dist/types/src/compute-graph/functions/index.d.ts +0 -4
  276. package/dist/types/src/compute-graph/functions/index.d.ts.map +0 -1
  277. package/dist/types/src/compute-graph/hyperformula.test.d.ts +0 -2
  278. package/dist/types/src/compute-graph/hyperformula.test.d.ts.map +0 -1
  279. package/dist/types/src/compute-graph/index.d.ts +0 -5
  280. package/dist/types/src/compute-graph/index.d.ts.map +0 -1
  281. package/dist/types/src/compute-graph/testing/index.d.ts +0 -3
  282. package/dist/types/src/compute-graph/testing/index.d.ts.map +0 -1
  283. package/dist/types/src/compute-graph/testing/test-builder.d.ts +0 -15
  284. package/dist/types/src/compute-graph/testing/test-builder.d.ts.map +0 -1
  285. package/dist/types/src/compute-graph/testing/test-plugin.d.ts +0 -36
  286. package/dist/types/src/compute-graph/testing/test-plugin.d.ts.map +0 -1
  287. package/dist/types/src/compute-graph/util.d.ts +0 -2
  288. package/dist/types/src/compute-graph/util.d.ts.map +0 -1
  289. package/dist/types/src/defs/index.d.ts.map +0 -1
  290. package/dist/types/src/defs/sheet-range-types.d.ts.map +0 -1
  291. package/dist/types/src/defs/types.d.ts +0 -26
  292. package/dist/types/src/defs/types.d.ts.map +0 -1
  293. package/dist/types/src/defs/types.test.d.ts +0 -2
  294. package/dist/types/src/defs/types.test.d.ts.map +0 -1
  295. package/dist/types/src/defs/util.d.ts.map +0 -1
  296. package/dist/types/src/types.d.ts +0 -182
  297. package/dist/types/src/types.d.ts.map +0 -1
  298. package/dist/vendor/hyperformula.mjs +0 -37145
  299. package/src/components/SheetObjectSettings.tsx +0 -38
  300. package/src/components/Toolbar/Toolbar.tsx +0 -346
  301. package/src/compute-graph/compute-graph-registry.ts +0 -90
  302. package/src/compute-graph/compute-graph.test.ts +0 -87
  303. package/src/compute-graph/compute-graph.ts +0 -260
  304. package/src/compute-graph/compute-node.ts +0 -62
  305. package/src/compute-graph/functions/async-function.ts +0 -179
  306. package/src/compute-graph/functions/edge-function.ts +0 -102
  307. package/src/compute-graph/functions/function-defs.ts +0 -2427
  308. package/src/compute-graph/functions/index.ts +0 -7
  309. package/src/compute-graph/hyperformula.test.ts +0 -14
  310. package/src/compute-graph/index.ts +0 -8
  311. package/src/compute-graph/testing/index.ts +0 -6
  312. package/src/compute-graph/testing/test-builder.ts +0 -54
  313. package/src/compute-graph/testing/test-plugin.ts +0 -100
  314. package/src/compute-graph/util.ts +0 -8
  315. package/src/defs/types.test.ts +0 -91
  316. package/src/defs/types.ts +0 -88
  317. package/src/types.ts +0 -125
  318. /package/dist/lib/browser/{compute-graph-SNUS7HOH.mjs.map → types/index.mjs.map} +0 -0
  319. /package/dist/lib/{browser/meta.mjs.map → node-esm/types/index.mjs.map} +0 -0
  320. /package/dist/types/src/{compute-graph → components/ComputeGraph}/compute-graph.stories.d.ts +0 -0
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ declare const _default: () => import("@dxos/app-framework").Capability<Readonly<{
3
+ id: string;
4
+ dependsOn?: string[];
5
+ context: React.FC<React.PropsWithChildren>;
6
+ }>>;
7
+ export default _default;
8
+ //# sourceMappingURL=react-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-context.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-context.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;AAQ1B,wBAOK"}
@@ -0,0 +1,4 @@
1
+ import { Capabilities } from '@dxos/app-framework';
2
+ declare const _default: () => import("@dxos/app-framework").Capability<Capabilities.ReactSurface>;
3
+ export default _default;
4
+ //# sourceMappingURL=react-surface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAA8B,MAAM,qBAAqB,CAAC;;AAO/E,wBAgBK"}
@@ -0,0 +1,6 @@
1
+ declare const _default: () => import("@dxos/app-framework").Capability<{
2
+ predicate: (obj: any) => obj is any;
3
+ createSort: (obj: any) => (anchorA: string | undefined, anchorB: string | undefined) => number;
4
+ }>;
5
+ export default _default;
6
+ //# sourceMappingURL=thread.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/thread.ts"],"names":[],"mappings":";;;;AASA,wBAIK"}
@@ -1,6 +1,6 @@
1
1
  import React, { type PropsWithChildren } from 'react';
2
+ import { type ComputeGraph, type ComputeGraphRegistry } from '@dxos/compute';
2
3
  import { type Space } from '@dxos/react-client/echo';
3
- import { type ComputeGraph, type ComputeGraphRegistry } from '../../compute-graph';
4
4
  export type ComputeGraphContextType = {
5
5
  registry: ComputeGraphRegistry;
6
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ComputeGraphContextProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/ComputeGraph/ComputeGraphContextProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAiB,KAAK,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAGjF,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAGrD,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEnF,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,oBAAoB,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,oDAAgE,CAAC;AAEjG,eAAO,MAAM,2BAA2B,2BAA4B,iBAAiB,CAAC,uBAAuB,CAAC,sBAE7G,CAAC;AAEF,eAAO,MAAM,eAAe,WAAY,KAAK,KAAG,YAAY,GAAG,SAW9D,CAAC"}
1
+ {"version":3,"file":"ComputeGraphContextProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/ComputeGraph/ComputeGraphContextProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAiB,KAAK,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAEjF,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAE7E,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAGrD,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,oBAAoB,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,oDAAgE,CAAC;AAEjG,eAAO,MAAM,2BAA2B,2BAA4B,iBAAiB,CAAC,uBAAuB,CAAC,sBAE7G,CAAC;AAEF,eAAO,MAAM,eAAe,WAAY,KAAK,KAAG,YAAY,GAAG,SAW9D,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compute-graph.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/ComputeGraph/compute-graph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AA6E7C,eAAO,MAAM,OAAO,IAAK,CAAC;AAE1B,QAAA,MAAM,IAAI,EAAE,IAQX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/FunctionEditor/FunctionEditor.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,cAAc,yBA4B1B,CAAC"}
1
+ {"version":3,"file":"FunctionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/FunctionEditor/FunctionEditor.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,cAAc,yBA4B1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"GridSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/GridSheet/GridSheet.tsx"],"names":[],"mappings":"AAIA,OAAO,KASN,MAAM,OAAO,CAAC;AAqDf,eAAO,MAAM,SAAS,yBAiTrB,CAAC"}
1
+ {"version":3,"file":"GridSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/GridSheet/GridSheet.tsx"],"names":[],"mappings":"AAIA,OAAO,KASN,MAAM,OAAO,CAAC;AAqDf,eAAO,MAAM,SAAS,yBA8SrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"GridSheet.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/GridSheet/GridSheet.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,eAAO,MAAM,KAAK,gCAajB,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAUX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"GridSheet.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/GridSheet/GridSheet.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,eAAO,MAAM,KAAK,gCAajB,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAWX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SheetCellEditor.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/GridSheet/SheetCellEditor.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAuC,MAAM,OAAO,CAAC;AAK5D,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AASvE,KAAK,UAAU,GAAG,eAAe,CAAC;AA4ClC,eAAO,MAAM,OAAO,IAAK,CAAC;AAE1B,eAAO,MAAM,YAAY;;;;CAIxB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;CAItB,CAAC;AAEF,eAAO,MAAM,SAAS;mBACL,UAAU;;;;CAI1B,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAKX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"SheetCellEditor.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/GridSheet/SheetCellEditor.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAuC,MAAM,OAAO,CAAC;AAO5D,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAMvE,KAAK,UAAU,GAAG,eAAe,CAAC;AA4ClC,eAAO,MAAM,OAAO,IAAK,CAAC;AAE1B,eAAO,MAAM,YAAY;;;;CAIxB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;CAItB,CAAC;AAEF,eAAO,MAAM,SAAS;mBACL,UAAU;;;;CAI1B,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAKX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/components/GridSheet/util.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,aAAa,EASnB,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAgE9C,eAAO,MAAM,YAAY,QAAS,MAAM;;;;CAItC,CAAC;AAEH,eAAO,MAAM,YAAY,QAAS,MAAM;;;;CAItC,CAAC;AA0BH,eAAO,MAAM,wBAAwB,WAC3B,aAAa,GAAG,IAAI,SACrB,UAAU,KAChB,IAAI,CAAC,gBAAgB,EAAE,SAAS,GAAG,MAAM,CAsC3C,CAAC"}
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/components/GridSheet/util.ts"],"names":[],"mappings":"AASA,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,aAAa,EASnB,MAAM,qBAAqB,CAAC;AAI7B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAiE9C,eAAO,MAAM,YAAY,QAAS,MAAM;;;;CAItC,CAAC;AAEH,eAAO,MAAM,YAAY,QAAS,MAAM;;;;CAItC,CAAC;AA0BH,eAAO,MAAM,wBAAwB,WAC3B,aAAa,GAAG,IAAI,SACrB,UAAU,KAChB,IAAI,CAAC,gBAAgB,EAAE,SAAS,GAAG,MAAM,CAsC3C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RangeList.d.ts","sourceRoot":"","sources":["../../../../../src/components/RangeList/RangeList.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAS3C,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,SAAS,cAAe,cAAc,sBAiClD,CAAC"}
1
+ {"version":3,"file":"RangeList.d.ts","sourceRoot":"","sources":["../../../../../src/components/RangeList/RangeList.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAU3C,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,SAAS,cAAe,cAAc,sBAiClD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SheetContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContainer/SheetContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAGrD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAO7C,eAAO,MAAM,cAAc,6CAKxB;IACD,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,6BAiBA,CAAC"}
1
+ {"version":3,"file":"SheetContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContainer/SheetContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAoB,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAGvE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAO7C,eAAO,MAAM,cAAc,6CAKxB;IACD,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,6BAYA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SheetContainer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContainer/SheetContainer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAgC1B,eAAO,MAAM,KAAK,gCASjB,CAAC;AAEF,eAAO,MAAM,IAAI,gCAkBhB,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAcX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"SheetContainer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContainer/SheetContainer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAiB1B,eAAO,MAAM,KAAK,gCAajB,CAAC;AAEF,eAAO,MAAM,IAAI,gCAkBhB,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IA2BX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import React, { type PropsWithChildren } from 'react';
2
+ import { type ComputeGraph, type CellAddress, type CellRange, type CompleteCellRange } from '@dxos/compute';
2
3
  import { type GridContentProps, type GridEditing } from '@dxos/react-ui-grid';
3
- import { type ComputeGraph } from '../../compute-graph';
4
- import { type CellAddress, type CellRange, type CompleteCellRange } from '../../defs';
5
4
  import { type SheetModel } from '../../model';
6
5
  import { type SheetType } from '../../types';
7
6
  export type SheetContextValue = {
@@ -1 +1 @@
1
- {"version":3,"file":"SheetContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContext/SheetContext.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAoD,MAAM,OAAO,CAAC;AAIxG,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAGjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,KAAK,WAAW,EAAE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AAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,GAAG,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC;AAEtC,eAAO,MAAM,aAAa,mEAOvB,iBAAiB,CAAC,kBAAkB,CAAC,6BAUvC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React, { type PropsWithChildren } from 'react';
2
+ import { type ThemedClassName } from '@dxos/react-ui';
3
+ export type SheetToolbarProps = ThemedClassName<PropsWithChildren<{
4
+ attendableId?: string;
5
+ }>>;
6
+ export declare const SheetToolbar: ({ attendableId, classNames }: SheetToolbarProps) => React.JSX.Element;
7
+ //# sourceMappingURL=SheetToolbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SheetToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/SheetToolbar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAe,MAAM,OAAO,CAAC;AAEnE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAatD,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,iBAAiB,CAAC;IAAE,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAAC;AAa9F,eAAO,MAAM,YAAY,iCAAkC,iBAAiB,sBAe3E,CAAC"}
@@ -0,0 +1,6 @@
1
+ import '@dxos-theme';
2
+ import { type Meta } from '@storybook/react';
3
+ export declare const Default: {};
4
+ declare const meta: Meta;
5
+ export default meta;
6
+ //# sourceMappingURL=SheetToolbar.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SheetToolbar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/SheetToolbar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAa7C,eAAO,MAAM,OAAO,IAAK,CAAC;AAE1B,QAAA,MAAM,IAAI,EAAE,IAMX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { type ToolbarMenuActionGroupProperties } from '@dxos/react-ui-menu';
2
+ import { type AlignKey, alignKey, type AlignValue } from '../../types';
3
+ export type AlignAction = {
4
+ key: AlignKey;
5
+ value: AlignValue;
6
+ };
7
+ export type AlignState = {
8
+ [alignKey]: AlignValue | undefined;
9
+ };
10
+ export declare const useAlignState: (state: Partial<AlignState>) => void;
11
+ export declare const createAlign: ({ [alignKey]: alignValue }: Partial<AlignState>) => {
12
+ nodes: ({
13
+ id: string;
14
+ type: string;
15
+ properties: ToolbarMenuActionGroupProperties;
16
+ data: typeof import("packages/sdk/app-graph/dist/types/src").actionGroupSymbol;
17
+ } | {
18
+ id: string;
19
+ type: string;
20
+ properties: AlignAction & import("@dxos/react-ui-menu").MenuActionProperties;
21
+ data: () => void;
22
+ })[];
23
+ edges: {
24
+ source: string;
25
+ target: string;
26
+ }[];
27
+ };
28
+ //# sourceMappingURL=align.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"align.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/align.ts"],"names":[],"mappings":"AAOA,OAAO,EAAyC,KAAK,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAGnH,OAAO,EAAE,KAAK,QAAQ,EAAE,QAAQ,EAAE,KAAK,UAAU,EAAkB,MAAM,aAAa,CAAC;AAGvF,MAAM,MAAM,WAAW,GAAG;IAAE,GAAG,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,UAAU,CAAA;CAAE,CAAC;AAE/D,MAAM,MAAM,UAAU,GAAG;IAAE,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,SAAS,CAAA;CAAE,CAAC;AAQhE,eAAO,MAAM,aAAa,UAAW,OAAO,CAAC,UAAU,CAAC,SAYvD,CAAC;AAsBF,eAAO,MAAM,WAAW,+BAAgC,OAAO,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;;CAU1E,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { type CommentKey, type CommentValue } from '../../types';
2
+ export type CommentAction = {
3
+ key: CommentKey;
4
+ value: CommentValue;
5
+ cellContent?: string;
6
+ };
7
+ export type CommentState = {
8
+ commentEnabled: 'comment' | 'no cursor' | 'selection overlaps existing comment';
9
+ };
10
+ export declare const useCommentState: (state: Partial<CommentState>) => void;
11
+ export declare const createComment: (state: Partial<CommentState>) => {
12
+ nodes: {
13
+ id: string;
14
+ type: string;
15
+ properties: Pick<CommentAction, "key"> & import("@dxos/react-ui-menu").MenuActionProperties;
16
+ data: () => void;
17
+ }[];
18
+ edges: {
19
+ source: string;
20
+ target: string;
21
+ }[];
22
+ };
23
+ //# sourceMappingURL=comment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/comment.ts"],"names":[],"mappings":"AAUA,OAAO,EAAc,KAAK,UAAU,EAAE,KAAK,YAAY,EAAgB,MAAM,aAAa,CAAC;AAG3F,MAAM,MAAM,aAAa,GAAG;IAAE,GAAG,EAAE,UAAU,CAAC;IAAC,KAAK,EAAE,YAAY,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3F,MAAM,MAAM,YAAY,GAAG;IAAE,cAAc,EAAE,SAAS,GAAG,WAAW,GAAG,qCAAqC,CAAA;CAAE,CAAC;AAE/G,eAAO,MAAM,eAAe,UAAW,OAAO,CAAC,YAAY,CAAC,SAwB3D,CAAC;AAWF,eAAO,MAAM,aAAa,UAAW,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;CAGxD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './SheetToolbar';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { type ToolbarMenuActionGroupProperties } from '@dxos/react-ui-menu';
2
+ import { type StyleKey, type StyleValue } from '../../types';
3
+ export type StyleState = Partial<Record<StyleValue, boolean>>;
4
+ export type StyleAction = {
5
+ key: StyleKey;
6
+ value: StyleValue;
7
+ };
8
+ export declare const useStyleState: (state: StyleState) => void;
9
+ export declare const createStyle: (state: StyleState) => {
10
+ nodes: ({
11
+ id: string;
12
+ type: string;
13
+ properties: ToolbarMenuActionGroupProperties;
14
+ data: typeof import("packages/sdk/app-graph/dist/types/src").actionGroupSymbol;
15
+ } | {
16
+ id: string;
17
+ type: string;
18
+ properties: StyleAction & import("@dxos/react-ui-menu").MenuActionProperties;
19
+ data: () => void;
20
+ })[];
21
+ edges: {
22
+ source: string;
23
+ target: string;
24
+ }[];
25
+ };
26
+ //# sourceMappingURL=style.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/style.ts"],"names":[],"mappings":"AAOA,OAAO,EAAyC,KAAK,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAGnH,OAAO,EAAkB,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAG7E,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC;AAE9D,MAAM,MAAM,WAAW,GAAG;IAAE,GAAG,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,UAAU,CAAA;CAAE,CAAC;AAO/D,eAAO,MAAM,aAAa,UAAW,UAAU,SAgB9C,CAAC;AAuBF,eAAO,MAAM,WAAW,UAAW,UAAU;;;;;;;;;;;;;;;;CAU5C,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { MenuActionHandler } from '@dxos/react-ui-menu';
2
+ import { type AlignAction } from './align';
3
+ import { type CommentAction } from './comment';
4
+ import { type StyleAction } from './style';
5
+ import { type ToolbarState } from './useToolbarState';
6
+ export type ToolbarAction = StyleAction | AlignAction | CommentAction;
7
+ export declare const useToolbarAction: (state: ToolbarState) => MenuActionHandler;
8
+ //# sourceMappingURL=useToolbarAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useToolbarAction.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/useToolbarAction.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAc,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAEzE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKtD,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,WAAW,GAAG,aAAa,CAAC;AAEtE,eAAO,MAAM,gBAAgB,UAAW,YAAY,KAgE7C,iBACN,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { type AlignState } from './align';
2
+ import { type CommentState } from './comment';
3
+ import { type StyleState } from './style';
4
+ export type ToolbarState = Partial<StyleState & AlignState & CommentState>;
5
+ export declare const useToolbarState: (initialState?: ToolbarState) => import("@dxos/live-object").ReactiveObject<Partial<Partial<Record<import("../../types").StyleValue, boolean>> & AlignState & CommentState>>;
6
+ //# sourceMappingURL=useToolbarState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useToolbarState.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/useToolbarState.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,UAAU,GAAG,UAAU,GAAG,YAAY,CAAC,CAAC;AAE3E,eAAO,MAAM,eAAe,kBAAkB,YAAY,gJAEzD,CAAC"}
@@ -2,7 +2,6 @@ export * from './ComputeGraph';
2
2
  export * from './GridSheet';
3
3
  export * from './RangeList';
4
4
  export * from './SheetContext';
5
- export * from './SheetObjectSettings';
6
5
  export declare const SheetContainer: import("react").LazyExoticComponent<({ space, sheet, role, ignoreAttention, }: {
7
6
  space: import("packages/sdk/client-protocol/dist/types/src").Space;
8
7
  sheet: import("../types").SheetType;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AAEtC,eAAO,MAAM,cAAc;;;QACuP,CAAC;mBAA2B,CAAC;yCAD3O,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAE/B,eAAO,MAAM,cAAc;;;QAC0T,CAAC;mBAA2B,CAAC;yCAD9S,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { type Extension } from '@codemirror/state';
2
- import { type ComputeGraph } from '../compute-graph';
2
+ import { type ComputeGraph } from '@dxos/compute';
3
3
  export declare const computeGraphFacet: import("@codemirror/state").Facet<ComputeGraph, ComputeGraph>;
4
4
  export type ComputeOptions = {};
5
5
  export declare const compute: (options?: ComputeOptions) => Extension;
@@ -1 +1 @@
1
- {"version":3,"file":"compute.d.ts","sourceRoot":"","sources":["../../../../src/extensions/compute.ts"],"names":[],"mappings":"AAKA,OAAO,EAEL,KAAK,SAAS,EAMf,MAAM,mBAAmB,CAAC;AAO3B,OAAO,EAAE,KAAK,YAAY,EAAqC,MAAM,kBAAkB,CAAC;AASxF,eAAO,MAAM,iBAAiB,+DAAmC,CAAC;AAElE,MAAM,MAAM,cAAc,GAAG,EAAE,CAAC;AAEhC,eAAO,MAAM,OAAO,aAAa,cAAc,KAAQ,SAgGtD,CAAC"}
1
+ {"version":3,"file":"compute.d.ts","sourceRoot":"","sources":["../../../../src/extensions/compute.ts"],"names":[],"mappings":"AAKA,OAAO,EAEL,KAAK,SAAS,EAMf,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EAIL,KAAK,YAAY,EAElB,MAAM,eAAe,CAAC;AASvB,eAAO,MAAM,iBAAiB,+DAAmC,CAAC;AAElE,MAAM,MAAM,cAAc,GAAG,EAAE,CAAC;AAEhC,eAAO,MAAM,OAAO,aAAa,cAAc,KAAQ,SAgGtD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { type Extension } from '@codemirror/state';
2
- import { type FunctionDefinition } from '../../compute-graph';
2
+ import { type FunctionDefinition } from '@dxos/compute';
3
3
  export type SheetExtensionOptions = {
4
4
  debug?: boolean;
5
5
  functions?: FunctionDefinition[];
@@ -1 +1 @@
1
- {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/editor/extension.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AASnD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AA0C9D,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAClC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,yBAA+B,qBAAqB,KAAG,SAuHjF,CAAC;AAEF,MAAM,M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C,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,KAAK,IAAI,CAAC;CACtE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,8BAA+B,qBAAqB,KAAG,SAuEjF,CAAC"}
@@ -1,5 +1,4 @@
1
- import { SheetPlugin } from './SheetPlugin';
1
+ export { SheetCapabilities } from './capabilities';
2
+ export * from './meta';
2
3
  export * from './SheetPlugin';
3
- export * from './defs';
4
- export default SheetPlugin;
5
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,cAAc,eAAe,CAAC;AAG9B,cAAc,QAAQ,CAAC;AAEvB,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC"}
@@ -1,5 +1,5 @@
1
+ import { type CompleteCellRange } from '@dxos/compute';
1
2
  import { type DxGridElement } from '@dxos/react-ui-grid';
2
- import { type CompleteCellRange } from '../defs';
3
3
  export declare const completeCellRangeToThreadCursor: (range: CompleteCellRange) => string;
4
4
  export declare const parseThreadAnchorAsCellRange: (cursor: string) => CompleteCellRange | null;
5
5
  export declare const useUpdateFocusedCellOnThreadSelection: (grid: DxGridElement | null) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"thread-ranges.d.ts","sourceRoot":"","sources":["../../../../src/integrations/thread-ranges.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,qBAAqB,CAAC;AAG9E,OAAO,EAAoB,KAAK,iBAAiB,EAAW,MAAM,SAAS,CAAC;AAG5E,eAAO,MAAM,+BAA+B,UAAW,iBAAiB,KAAG,MAE1E,CAAC;AAEF,eAAO,MAAM,4BAA4B,WAAY,MAAM,KAAG,iBAAiB,GAAG,IAWjF,CAAC;AAEF,eAAO,MAAM,qCAAqC,SAAU,aAAa,GAAG,IAAI,SAsB/E,CAAC;AAEF,eAAO,MAAM,0BAA0B,YA8CtC,CAAC"}
1
+ {"version":3,"file":"thread-ranges.d.ts","sourceRoot":"","sources":["../../../../src/integrations/thread-ranges.ts"],"names":[],"mappings":"AAcA,OAAO,EAAoB,KAAK,iBAAiB,EAAW,MAAM,eAAe,CAAC;AAGlF,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,qBAAqB,CAAC;AAK9E,eAAO,MAAM,+BAA+B,UAAW,iBAAiB,KAAG,MAE1E,CAAC;AAEF,eAAO,MAAM,4BAA4B,WAAY,MAAM,KAAG,iBAAiB,GAAG,IAWjF,CAAC;AAEF,eAAO,MAAM,qCAAqC,SAAU,aAAa,GAAG,IAAI,SAqB/E,CAAC;AAEF,eAAO,MAAM,0BAA0B,YA4CtC,CAAC"}
@@ -1,10 +1,9 @@
1
1
  export declare const SHEET_PLUGIN = "dxos.org/plugin/sheet";
2
- declare const _default: {
2
+ export declare const meta: {
3
3
  id: string;
4
4
  name: string;
5
5
  description: string;
6
6
  icon: string;
7
7
  source: string;
8
8
  };
9
- export default _default;
10
9
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,0BAA0B,CAAC;;;;;;;;AAEpD,wBAMuB"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,0BAA0B,CAAC;AAEpD,eAAO,MAAM,IAAI;;;;;;CAMK,CAAC"}
@@ -1,10 +1,8 @@
1
- import { type SimpleDate, type SimpleDateTime } from 'hyperformula/typings/DateTimeHelper';
2
1
  import { Event } from '@dxos/async';
2
+ import { type CellAddress, type CellRange, type CellScalarValue, type ComputeGraph, type ComputeNodeEvent, type SimpleDate, type SimpleDateTime } from '@dxos/compute';
3
3
  import { Resource } from '@dxos/context';
4
4
  import { FormatEnum, TypeEnum } from '@dxos/echo-schema';
5
- import { type ComputeGraph, type ComputeNodeEvent } from '../compute-graph';
6
- import { type CellAddress, type CellRange } from '../defs';
7
- import { type CellScalarValue, type CellValue, type SheetType, type RestoreAxis } from '../types';
5
+ import { type SheetAction, type CellValue, type SheetType } from '../types';
8
6
  export type SheetModelOptions = {
9
7
  readonly?: boolean;
10
8
  };
@@ -47,10 +45,10 @@ export declare class SheetModel extends Resource {
47
45
  recalculate(): void;
48
46
  insertRows(i: number, n?: number): string[];
49
47
  insertColumns(i: number, n?: number): string[];
50
- dropRow(rowIndex: string): RestoreAxis;
51
- dropColumn(colIndex: string): RestoreAxis;
52
- restoreRow({ index, axisIndex, axisMeta, values }: RestoreAxis): void;
53
- restoreColumn({ index, axisIndex, axisMeta, values }: RestoreAxis): void;
48
+ dropRow(rowIndex: string): SheetAction.RestoreAxis;
49
+ dropColumn(colIndex: string): SheetAction.RestoreAxis;
50
+ restoreRow({ index, axisIndex, axisMeta, values }: SheetAction.RestoreAxis): void;
51
+ restoreColumn({ index, axisIndex, axisMeta, values }: SheetAction.RestoreAxis): void;
54
52
  /**
55
53
  * Clear range of values.
56
54
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sheet-model.d.ts","sourceRoot":"","sources":["../../../../src/model/sheet-model.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAE3F,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAe,UAAU,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;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,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU;IAK/B,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU;CAIhC"}
@@ -1,4 +1,4 @@
1
- import type { SheetType } from '../types';
1
+ import { type SheetType } from '../types';
2
2
  export declare const createTestGrid: ({ cols, rows }: {
3
3
  cols: number;
4
4
  rows: number;
@@ -1 +1 @@
1
- {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/model/testing.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAa,SAAS,EAAE,MAAM,UAAU,CAAC;AAIrD,eAAO,MAAM,cAAc,mBAA6B;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,KAAG,SAyBxF,CAAC"}
1
+ {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/model/testing.ts"],"names":[],"mappings":"AAMA,OAAO,EAAkB,KAAK,SAAS,EAAe,MAAM,UAAU,CAAC;AAIvE,eAAO,MAAM,cAAc,mBAA6B;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,KAAG,SAyBxF,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type ComputeGraph } from '../compute-graph';
1
+ import { type ComputeGraph } from '@dxos/compute';
2
2
  import { SheetModel } from '../model';
3
3
  import { type SheetType } from '../types';
4
4
  export type UseSheetModelOptions = {
@@ -1 +1 @@
1
- {"version":3,"file":"useSheetModel.d.ts","sourceRoot":"","sources":["../../../../src/model/useSheetModel.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,WAChB,YAAY,UACZ,SAAS,iBACH,oBAAoB,KACjC,UAAU,GAAG,SAqBf,CAAC"}
1
+ {"version":3,"file":"useSheetModel.d.ts","sourceRoot":"","sources":["../../../../src/model/useSheetModel.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,WAChB,YAAY,UACZ,SAAS,iBACH,oBAAoB,KACjC,UAAU,GAAG,SAqBf,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { type Decorator } from '@storybook/react';
2
+ import { type ComputeGraph, type ComputeGraphOptions } from '@dxos/compute';
2
3
  import { type Space } from '@dxos/react-client/echo';
3
- import { type ComputeGraph, type ComputeGraphOptions } from '../compute-graph';
4
4
  import { type CreateSheetOptions } from '../types';
5
5
  export declare const useTestSheet: (space?: Space, graph?: ComputeGraph, options?: CreateSheetOptions) => import("../types").SheetType | undefined;
6
6
  export declare const withComputeGraphDecorator: (options?: ComputeGraphOptions) => Decorator;
@@ -1 +1 @@
1
- {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/testing/testing.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,mBAAmB,EAAwB,MAAM,kBAAkB,CAAC;AAErG,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,eAAO,MAAM,YAAY,WAAY,KAAK,UAAU,YAAY,YAAY,kBAAkB,6CAW7F,CAAC;AAEF,eAAO,MAAM,yBAAyB,aACzB,mBAAmB,KAAG,SAQhC,CAAC"}
1
+ {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/testing/testing.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,mBAAmB,EAAwB,MAAM,eAAe,CAAC;AAClG,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAe,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEhE,eAAO,MAAM,YAAY,WAAY,KAAK,UAAU,YAAY,YAAY,kBAAkB,6CAW7F,CAAC;AAEF,eAAO,MAAM,yBAAyB,aACzB,mBAAmB,KAAG,SAQhC,CAAC"}
@@ -1,3 +1,4 @@
1
+ export * from './schema';
1
2
  export * from './sheet-range-types';
2
3
  export * from './types';
3
4
  export * from './util';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,105 @@
1
+ import { S } from '@dxos/echo-schema';
2
+ export declare const CellValue: S.Struct<{
3
+ value: typeof S.Any;
4
+ }>;
5
+ export type CellValue = S.Schema.Type<typeof CellValue>;
6
+ export declare const Range: S.Struct<{
7
+ range: typeof S.String;
8
+ key: typeof S.String;
9
+ value: typeof S.String;
10
+ }>;
11
+ export type Range = S.Schema.Type<typeof Range>;
12
+ export declare const RowColumnMeta: S.Struct<{
13
+ size: S.optional<typeof S.Number>;
14
+ }>;
15
+ declare const SheetType_base: import("@dxos/echo-schema").TypedObjectPrototype<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
16
+ name: S.optional<typeof S.String>;
17
+ cells: S.mutable<S.Record$<typeof S.String, S.mutable<S.Struct<{
18
+ value: typeof S.Any;
19
+ }>>>>;
20
+ rows: S.mutable<S.Array$<typeof S.String>>;
21
+ columns: S.mutable<S.Array$<typeof S.String>>;
22
+ rowMeta: S.mutable<S.Record$<typeof S.String, S.mutable<S.Struct<{
23
+ size: S.optional<typeof S.Number>;
24
+ }>>>>;
25
+ columnMeta: S.mutable<S.Record$<typeof S.String, S.mutable<S.Struct<{
26
+ size: S.optional<typeof S.Number>;
27
+ }>>>>;
28
+ ranges: S.mutable<S.Array$<S.Struct<{
29
+ range: typeof S.String;
30
+ key: typeof S.String;
31
+ value: typeof S.String;
32
+ }>>>;
33
+ threads: S.optional<S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
34
+ name: S.optional<typeof S.String>;
35
+ anchor: S.optional<typeof S.String>;
36
+ status: S.optional<S.Union<[S.Literal<["staged"]>, S.Literal<["active"]>, S.Literal<["resolved"]>]>>;
37
+ messages: S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
38
+ timestamp: typeof S.String;
39
+ state: S.optional<S.Enums<typeof import("@dxos/plugin-space/types").MessageState>>;
40
+ sender: S.mutable<S.Struct<{
41
+ contact: S.optional<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
42
+ name: S.optional<typeof S.String>;
43
+ identifiers: S.mutable<S.Array$<S.Struct<{
44
+ type: typeof S.String;
45
+ value: typeof S.String;
46
+ }>>>;
47
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>;
48
+ identityKey: S.optional<typeof S.String>;
49
+ email: S.optional<typeof S.String>;
50
+ name: S.optional<typeof S.String>;
51
+ }>>;
52
+ text: typeof S.String;
53
+ parts: S.optional<S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").Expando>>>>;
54
+ properties: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
55
+ context: S.optional<import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").Expando>>;
56
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>>;
57
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>>>;
58
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>, S.Struct.Encoded<{
59
+ name: S.optional<typeof S.String>;
60
+ cells: S.mutable<S.Record$<typeof S.String, S.mutable<S.Struct<{
61
+ value: typeof S.Any;
62
+ }>>>>;
63
+ rows: S.mutable<S.Array$<typeof S.String>>;
64
+ columns: S.mutable<S.Array$<typeof S.String>>;
65
+ rowMeta: S.mutable<S.Record$<typeof S.String, S.mutable<S.Struct<{
66
+ size: S.optional<typeof S.Number>;
67
+ }>>>>;
68
+ columnMeta: S.mutable<S.Record$<typeof S.String, S.mutable<S.Struct<{
69
+ size: S.optional<typeof S.Number>;
70
+ }>>>>;
71
+ ranges: S.mutable<S.Array$<S.Struct<{
72
+ range: typeof S.String;
73
+ key: typeof S.String;
74
+ value: typeof S.String;
75
+ }>>>;
76
+ threads: S.optional<S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
77
+ name: S.optional<typeof S.String>;
78
+ anchor: S.optional<typeof S.String>;
79
+ status: S.optional<S.Union<[S.Literal<["staged"]>, S.Literal<["active"]>, S.Literal<["resolved"]>]>>;
80
+ messages: S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
81
+ timestamp: typeof S.String;
82
+ state: S.optional<S.Enums<typeof import("@dxos/plugin-space/types").MessageState>>;
83
+ sender: S.mutable<S.Struct<{
84
+ contact: S.optional<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
85
+ name: S.optional<typeof S.String>;
86
+ identifiers: S.mutable<S.Array$<S.Struct<{
87
+ type: typeof S.String;
88
+ value: typeof S.String;
89
+ }>>>;
90
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>;
91
+ identityKey: S.optional<typeof S.String>;
92
+ email: S.optional<typeof S.String>;
93
+ name: S.optional<typeof S.String>;
94
+ }>>;
95
+ text: typeof S.String;
96
+ parts: S.optional<S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").Expando>>>>;
97
+ properties: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
98
+ context: S.optional<import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").Expando>>;
99
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>>;
100
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>>>;
101
+ }>>;
102
+ export declare class SheetType extends SheetType_base {
103
+ }
104
+ export {};
105
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAO,CAAC,EAAe,MAAM,mBAAmB,CAAC;AAGxD,eAAO,MAAM,SAAS;;EAKpB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC;AAGxD,eAAO,MAAM,KAAK;;;;EAIhB,CAAC;AAEH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,CAAC;AAGhD,eAAO,MAAM,aAAa;;EAExB,CAAC;;;;;;;;;;;;;;;;;;;;cA4Bi/F,EAAG,QAAQ,QAAO,EAAG,MAAM;gBAAqD,EAAG,QAAQ,QAAO,EAAG,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AmB,cAAc,6DAA6D;0BAA2C,EAAG,QAAQ,QAAO,EAAG,MAAM;iCAA+B,EAAG,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM;qCAAmC,EAAG,MAAM;sCAAmC,EAAG,MAAM;;0BAA8C,6DAA6D;6BAAiD,EAAG,QAAQ,QAAO,EAAG,MAAM;uBAAqB,EAAG,QAAQ,QAAO,EAAG,MAAM;sBAAoB,EAAG,QAAQ,QAAO,EAAG,MAAM;;yBAAgF,EAAG,MAAM;mBAA+F,EAAG,QAAQ,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM,QAAQ,mBAAmB;wBAAsI,EAAG,QAAQ,CAAC,EAAE,OAAO,CAAC,EAAE,OAAO,QAAO,EAAG,MAAM,SAAQ,EAAG,GAAG;qBAAyF,EAAG,QAAQ,QAAQ,mBAAmB;kBAAgC,6DAA6D;;;AAxBr3J,qBAAa,SAAU,SAAQ,cAuB7B;CAAG"}
@@ -2,7 +2,7 @@ import { type ClassNameValue } from '@dxos/react-ui';
2
2
  import { type SheetType } from '../types';
3
3
  export declare const alignKey = "alignment";
4
4
  export type AlignKey = typeof alignKey;
5
- export type AlignValue = 'start' | 'center' | 'end' | 'unset';
5
+ export type AlignValue = 'start' | 'center' | 'end';
6
6
  export declare const commentKey = "comment";
7
7
  export type CommentKey = typeof commentKey;
8
8
  export type CommentValue = string;