@allyhub/sdk 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (561) hide show
  1. package/{node_modules → dist/node_modules}/@allyhub-next/audio/package.json +1 -1
  2. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.d.ts +31 -0
  3. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +3 -0
  4. package/{node_modules/@allyhub-next/slides-core → dist/node_modules/@allyhub-next/chart}/dist/chart.d.ts +26 -15
  5. package/dist/node_modules/@allyhub-next/chart/dist/chart.js +2 -0
  6. package/dist/node_modules/@allyhub-next/chart/dist/index.d.ts +3 -0
  7. package/dist/node_modules/@allyhub-next/chart/dist/index.js +2 -0
  8. package/dist/node_modules/@allyhub-next/chart/package.json +14 -0
  9. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/reference.d.ts +0 -86
  10. package/dist/node_modules/@allyhub-next/formats/dist/data/reference.js +2 -0
  11. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +5087 -0
  12. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.js +2 -0
  13. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/slides.d.ts +306 -11
  14. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +2 -0
  15. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/index.d.ts +2 -0
  16. package/dist/node_modules/@allyhub-next/formats/dist/index.js +2 -0
  17. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/items.d.ts +1 -1
  18. package/dist/node_modules/@allyhub-next/formats/dist/items.js +2 -0
  19. package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +2278 -0
  20. package/dist/node_modules/@allyhub-next/formats/dist/schemas.js +2 -0
  21. package/dist/node_modules/@allyhub-next/formats/dist/strict.d.ts +28 -0
  22. package/dist/node_modules/@allyhub-next/formats/dist/strict.js +2 -0
  23. package/dist/node_modules/@allyhub-next/formats/dist/zip.d.ts +17 -0
  24. package/dist/node_modules/@allyhub-next/formats/dist/zip.js +2 -0
  25. package/{node_modules → dist/node_modules}/@allyhub-next/formats/package.json +1 -1
  26. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/editor.d.ts +20 -0
  27. package/dist/node_modules/@allyhub-next/protocol/dist/editor.js +2 -0
  28. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/notes.d.ts +4 -0
  29. package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +2 -0
  30. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/tools.d.ts +6 -0
  31. package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +2 -0
  32. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/package.json +1 -1
  33. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/lock.d.ts +2 -0
  34. package/dist/node_modules/@allyhub-next/runtimes/dist/lock.js +2 -0
  35. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/runtimes.d.ts +6 -0
  36. package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.js +4 -0
  37. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/package.json +1 -1
  38. package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/moire.d.ts +7 -0
  39. package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/phone.d.ts +3 -1
  40. package/dist/node_modules/@allyhub-next/scenery/dist/phone.js +2 -0
  41. package/{node_modules → dist/node_modules}/@allyhub-next/scenery/package.json +1 -1
  42. package/dist/node_modules/@allyhub-next/sheet/dist/address.d.ts +32 -0
  43. package/dist/node_modules/@allyhub-next/sheet/dist/address.js +2 -0
  44. package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.d.ts +23 -0
  45. package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +2 -0
  46. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.d.ts +204 -0
  47. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.js +2 -0
  48. package/dist/node_modules/@allyhub-next/sheet/dist/api/code.d.ts +19 -0
  49. package/dist/node_modules/@allyhub-next/sheet/dist/api/code.js +2 -0
  50. package/dist/node_modules/@allyhub-next/sheet/dist/api/hint.d.ts +3 -0
  51. package/dist/node_modules/@allyhub-next/sheet/dist/api/hint.js +2 -0
  52. package/dist/node_modules/@allyhub-next/sheet/dist/api/index.d.ts +8 -0
  53. package/dist/node_modules/@allyhub-next/sheet/dist/api/index.js +2 -0
  54. package/dist/node_modules/@allyhub-next/sheet/dist/api/page.d.ts +83 -0
  55. package/dist/node_modules/@allyhub-next/sheet/dist/api/page.js +2 -0
  56. package/dist/node_modules/@allyhub-next/sheet/dist/api/rectangles.d.ts +4 -0
  57. package/dist/node_modules/@allyhub-next/sheet/dist/api/rectangles.js +2 -0
  58. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.d.ts +170 -0
  59. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.js +2 -0
  60. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.d.ts +117 -0
  61. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.js +2 -0
  62. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.d.ts +362 -0
  63. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +2 -0
  64. package/dist/node_modules/@allyhub-next/sheet/dist/arrange.d.ts +68 -0
  65. package/dist/node_modules/@allyhub-next/sheet/dist/arrange.js +2 -0
  66. package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.d.ts +21 -0
  67. package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.js +2 -0
  68. package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.d.ts +19 -0
  69. package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.js +2 -0
  70. package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.d.ts +152 -0
  71. package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.js +2 -0
  72. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.d.ts +2 -0
  73. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.js +2 -0
  74. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.d.ts +15 -0
  75. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.js +2 -0
  76. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.d.ts +2 -0
  77. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.js +2 -0
  78. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.d.ts +2 -0
  79. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.js +2 -0
  80. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.d.ts +69 -0
  81. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.js +2 -0
  82. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/distributions.d.ts +2 -0
  83. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/distributions.js +2 -0
  84. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.d.ts +2 -0
  85. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.js +2 -0
  86. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.d.ts +2 -0
  87. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.js +2 -0
  88. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.d.ts +15 -0
  89. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.js +2 -0
  90. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.d.ts +2 -0
  91. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.js +2 -0
  92. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.d.ts +2 -0
  93. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.js +2 -0
  94. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.d.ts +2 -0
  95. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.js +2 -0
  96. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.d.ts +2 -0
  97. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.js +2 -0
  98. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.d.ts +2 -0
  99. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.js +2 -0
  100. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/special.d.ts +29 -0
  101. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/special.js +2 -0
  102. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.d.ts +2 -0
  103. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.js +2 -0
  104. package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.d.ts +50 -0
  105. package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.js +2 -0
  106. package/dist/node_modules/@allyhub-next/sheet/dist/chart.d.ts +58 -0
  107. package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +2 -0
  108. package/dist/node_modules/@allyhub-next/sheet/dist/check.d.ts +15 -0
  109. package/dist/node_modules/@allyhub-next/sheet/dist/check.js +2 -0
  110. package/dist/node_modules/@allyhub-next/sheet/dist/csv.d.ts +62 -0
  111. package/dist/node_modules/@allyhub-next/sheet/dist/csv.js +12 -0
  112. package/dist/node_modules/@allyhub-next/sheet/dist/diff.d.ts +64 -0
  113. package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +2 -0
  114. package/dist/node_modules/@allyhub-next/sheet/dist/edit.d.ts +154 -0
  115. package/dist/node_modules/@allyhub-next/sheet/dist/edit.js +2 -0
  116. package/dist/node_modules/@allyhub-next/sheet/dist/export.d.ts +11 -0
  117. package/dist/node_modules/@allyhub-next/sheet/dist/export.js +6 -0
  118. package/dist/node_modules/@allyhub-next/sheet/dist/file.d.ts +19 -0
  119. package/dist/node_modules/@allyhub-next/sheet/dist/file.js +3 -0
  120. package/dist/node_modules/@allyhub-next/sheet/dist/files.d.ts +24 -0
  121. package/dist/node_modules/@allyhub-next/sheet/dist/files.js +2 -0
  122. package/dist/node_modules/@allyhub-next/sheet/dist/fill.d.ts +30 -0
  123. package/dist/node_modules/@allyhub-next/sheet/dist/fill.js +2 -0
  124. package/dist/node_modules/@allyhub-next/sheet/dist/filter.d.ts +29 -0
  125. package/dist/node_modules/@allyhub-next/sheet/dist/filter.js +2 -0
  126. package/dist/node_modules/@allyhub-next/sheet/dist/format.d.ts +9 -0
  127. package/dist/node_modules/@allyhub-next/sheet/dist/format.js +2 -0
  128. package/dist/node_modules/@allyhub-next/sheet/dist/formula/ast.d.ts +113 -0
  129. package/dist/node_modules/@allyhub-next/sheet/dist/formula/ast.js +2 -0
  130. package/dist/node_modules/@allyhub-next/sheet/dist/formula/move.d.ts +6 -0
  131. package/dist/node_modules/@allyhub-next/sheet/dist/formula/move.js +2 -0
  132. package/dist/node_modules/@allyhub-next/sheet/dist/formula/parse.d.ts +4 -0
  133. package/dist/node_modules/@allyhub-next/sheet/dist/formula/parse.js +2 -0
  134. package/dist/node_modules/@allyhub-next/sheet/dist/formula/print.d.ts +6 -0
  135. package/dist/node_modules/@allyhub-next/sheet/dist/formula/print.js +2 -0
  136. package/dist/node_modules/@allyhub-next/sheet/dist/formula/rewrite.d.ts +65 -0
  137. package/dist/node_modules/@allyhub-next/sheet/dist/formula/rewrite.js +2 -0
  138. package/dist/node_modules/@allyhub-next/sheet/dist/formula/walk.d.ts +6 -0
  139. package/dist/node_modules/@allyhub-next/sheet/dist/formula/walk.js +2 -0
  140. package/dist/node_modules/@allyhub-next/sheet/dist/generated.d.ts +46 -0
  141. package/dist/node_modules/@allyhub-next/sheet/dist/generated.js +2 -0
  142. package/dist/node_modules/@allyhub-next/sheet/dist/html.d.ts +34 -0
  143. package/dist/node_modules/@allyhub-next/sheet/dist/html.js +20 -0
  144. package/dist/node_modules/@allyhub-next/sheet/dist/import.d.ts +11 -0
  145. package/dist/node_modules/@allyhub-next/sheet/dist/import.js +2 -0
  146. package/dist/node_modules/@allyhub-next/sheet/dist/index.d.ts +38 -0
  147. package/dist/node_modules/@allyhub-next/sheet/dist/index.js +2 -0
  148. package/dist/node_modules/@allyhub-next/sheet/dist/inspect.d.ts +25 -0
  149. package/dist/node_modules/@allyhub-next/sheet/dist/inspect.js +2 -0
  150. package/dist/node_modules/@allyhub-next/sheet/dist/patch.d.ts +4 -0
  151. package/dist/node_modules/@allyhub-next/sheet/dist/patch.js +2 -0
  152. package/dist/node_modules/@allyhub-next/sheet/dist/profile.d.ts +30 -0
  153. package/dist/node_modules/@allyhub-next/sheet/dist/profile.js +2 -0
  154. package/dist/node_modules/@allyhub-next/sheet/dist/rules.d.ts +56 -0
  155. package/dist/node_modules/@allyhub-next/sheet/dist/rules.js +2 -0
  156. package/dist/node_modules/@allyhub-next/sheet/dist/scenario.d.ts +42 -0
  157. package/dist/node_modules/@allyhub-next/sheet/dist/scenario.js +2 -0
  158. package/dist/node_modules/@allyhub-next/sheet/dist/series.d.ts +10 -0
  159. package/dist/node_modules/@allyhub-next/sheet/dist/series.js +2 -0
  160. package/dist/node_modules/@allyhub-next/sheet/dist/sort.d.ts +24 -0
  161. package/dist/node_modules/@allyhub-next/sheet/dist/sort.js +2 -0
  162. package/dist/node_modules/@allyhub-next/sheet/dist/structure.d.ts +38 -0
  163. package/dist/node_modules/@allyhub-next/sheet/dist/structure.js +2 -0
  164. package/dist/node_modules/@allyhub-next/sheet/dist/validate.d.ts +26 -0
  165. package/dist/node_modules/@allyhub-next/sheet/dist/validate.js +2 -0
  166. package/dist/node_modules/@allyhub-next/sheet/dist/values.d.ts +67 -0
  167. package/dist/node_modules/@allyhub-next/sheet/dist/values.js +2 -0
  168. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +315 -0
  169. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +2 -0
  170. package/dist/node_modules/@allyhub-next/sheet/dist/write.d.ts +5 -0
  171. package/dist/node_modules/@allyhub-next/sheet/dist/write.js +21 -0
  172. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +44 -0
  173. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +2 -0
  174. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/colors.d.ts +19 -0
  175. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/colors.js +2 -0
  176. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.d.ts +21 -0
  177. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.js +4 -0
  178. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.d.ts +5 -0
  179. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.js +17 -0
  180. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +47 -0
  181. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +2 -0
  182. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/index.d.ts +5 -0
  183. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/index.js +2 -0
  184. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/numfmt.d.ts +8 -0
  185. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/numfmt.js +2 -0
  186. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +118 -0
  187. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +2 -0
  188. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.d.ts +23 -0
  189. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.js +2 -0
  190. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/theme.d.ts +3 -0
  191. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/theme.js +2 -0
  192. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.d.ts +17 -0
  193. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +2 -0
  194. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/xml.d.ts +28 -0
  195. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/xml.js +3 -0
  196. package/dist/node_modules/@allyhub-next/sheet/package.json +21 -0
  197. package/dist/node_modules/@allyhub-next/slides-core/LICENSE +241 -0
  198. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/api.d.ts +64 -7
  199. package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +4 -0
  200. package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.js +2 -0
  201. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/chart-api.d.ts +24 -1
  202. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +2 -0
  203. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/chart-file.d.ts +1 -1
  204. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +2 -0
  205. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/enums.d.ts +20 -0
  206. package/dist/node_modules/@allyhub-next/slides-core/dist/enums.js +2 -0
  207. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/index.d.ts +2 -1
  208. package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +2 -0
  209. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/model.d.ts +39 -6
  210. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/office.d.ts +10 -0
  211. package/dist/node_modules/@allyhub-next/slides-core/dist/office.js +2 -0
  212. package/dist/node_modules/@allyhub-next/slides-core/dist/preset.d.ts +5 -0
  213. package/dist/node_modules/@allyhub-next/slides-core/dist/preset.js +2 -0
  214. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/resolve.d.ts +8 -3
  215. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +2 -0
  216. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +7 -0
  217. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +2 -0
  218. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/package.json +1 -1
  219. package/dist/node_modules/@allyhub-next/video-core/LICENSE +241 -0
  220. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/fact.d.ts +8 -2
  221. package/dist/node_modules/@allyhub-next/video-core/dist/fact.js +2 -0
  222. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/formats.d.ts +0 -28
  223. package/dist/node_modules/@allyhub-next/video-core/dist/formats.js +2 -0
  224. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/measure.d.ts +10 -0
  225. package/dist/node_modules/@allyhub-next/video-core/dist/measure.js +5 -0
  226. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/problem.d.ts +5 -1
  227. package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +2 -0
  228. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/package.json +1 -1
  229. package/dist/phone.js +1 -1
  230. package/dist/sheets.d.ts +2 -0
  231. package/dist/sheets.js +2 -0
  232. package/docs/README.md +2 -2
  233. package/docs/defaults.md +24 -0
  234. package/docs/project.md +1 -1
  235. package/docs/scenery.md +1 -1
  236. package/docs/sheets.md +402 -84
  237. package/docs/slides.md +5 -5
  238. package/docs/speech.md +1 -1
  239. package/package.json +11 -19
  240. package/node_modules/@allyhub-next/formats/dist/data/reference.js +0 -2
  241. package/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +0 -214
  242. package/node_modules/@allyhub-next/formats/dist/data/sheet.js +0 -2
  243. package/node_modules/@allyhub-next/formats/dist/data/slides.js +0 -2
  244. package/node_modules/@allyhub-next/formats/dist/index.js +0 -2
  245. package/node_modules/@allyhub-next/formats/dist/items.js +0 -2
  246. package/node_modules/@allyhub-next/formats/dist/schemas.d.ts +0 -719
  247. package/node_modules/@allyhub-next/formats/dist/schemas.js +0 -2
  248. package/node_modules/@allyhub-next/protocol/dist/editor.js +0 -2
  249. package/node_modules/@allyhub-next/protocol/dist/notes.js +0 -2
  250. package/node_modules/@allyhub-next/protocol/dist/tools.js +0 -2
  251. package/node_modules/@allyhub-next/runtimes/dist/lock.js +0 -2
  252. package/node_modules/@allyhub-next/runtimes/dist/runtimes.js +0 -3
  253. package/node_modules/@allyhub-next/runtimes/pins/exceljs/package-lock.json +0 -2533
  254. package/node_modules/@allyhub-next/runtimes/pins/exceljs/package.json +0 -8
  255. package/node_modules/@allyhub-next/scenery/dist/phone.js +0 -2
  256. package/node_modules/@allyhub-next/slides-core/dist/api.js +0 -4
  257. package/node_modules/@allyhub-next/slides-core/dist/capabilities.js +0 -2
  258. package/node_modules/@allyhub-next/slides-core/dist/chart-api.js +0 -2
  259. package/node_modules/@allyhub-next/slides-core/dist/chart-file.js +0 -2
  260. package/node_modules/@allyhub-next/slides-core/dist/chart.js +0 -2
  261. package/node_modules/@allyhub-next/slides-core/dist/enums.js +0 -2
  262. package/node_modules/@allyhub-next/slides-core/dist/index.js +0 -2
  263. package/node_modules/@allyhub-next/slides-core/dist/office.js +0 -2
  264. package/node_modules/@allyhub-next/slides-core/dist/resolve.js +0 -2
  265. package/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +0 -23
  266. package/node_modules/@allyhub-next/slides-core/dist/strict.js +0 -2
  267. package/node_modules/@allyhub-next/video-core/dist/fact.js +0 -2
  268. package/node_modules/@allyhub-next/video-core/dist/formats.js +0 -2
  269. package/node_modules/@allyhub-next/video-core/dist/measure.js +0 -5
  270. package/node_modules/@allyhub-next/video-core/dist/problem.js +0 -2
  271. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/LICENSE +0 -0
  272. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/at-cut.d.ts +0 -0
  273. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/at-cut.js +0 -0
  274. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/decode.d.ts +0 -0
  275. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/decode.js +0 -0
  276. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/envelope.d.ts +0 -0
  277. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/envelope.js +0 -0
  278. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/index.d.ts +0 -0
  279. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/index.js +0 -0
  280. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/levels.d.ts +0 -0
  281. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/levels.js +0 -0
  282. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/master.d.ts +0 -0
  283. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/master.js +0 -0
  284. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/music.d.ts +0 -0
  285. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/music.js +0 -0
  286. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/decode.d.ts +0 -0
  287. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/decode.js +0 -0
  288. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ebur128.d.ts +0 -0
  289. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ebur128.js +0 -0
  290. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ffmpeg.d.ts +0 -0
  291. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ffmpeg.js +0 -0
  292. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/index.d.ts +0 -0
  293. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/index.js +0 -0
  294. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/loudness.d.ts +0 -0
  295. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/loudness.js +0 -0
  296. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/master.d.ts +0 -0
  297. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/master.js +0 -0
  298. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/measure.d.ts +0 -0
  299. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/measure.js +0 -0
  300. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/mix.d.ts +0 -0
  301. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/mix.js +0 -0
  302. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/plan.d.ts +0 -0
  303. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/plan.js +0 -0
  304. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recorded.d.ts +0 -0
  305. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recorded.js +0 -0
  306. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/bandwidth.d.ts +0 -0
  307. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/bandwidth.js +0 -0
  308. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/chain.d.ts +0 -0
  309. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/chain.js +0 -0
  310. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/dynamics.d.ts +0 -0
  311. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/dynamics.js +0 -0
  312. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fft.d.ts +0 -0
  313. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fft.js +0 -0
  314. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/filters.d.ts +0 -0
  315. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/filters.js +0 -0
  316. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fit.d.ts +0 -0
  317. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fit.js +0 -0
  318. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/index.d.ts +0 -0
  319. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/index.js +0 -0
  320. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/loudness.d.ts +0 -0
  321. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/loudness.js +0 -0
  322. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/measure.d.ts +0 -0
  323. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/measure.js +0 -0
  324. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/mic.d.ts +0 -0
  325. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/mic.js +0 -0
  326. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/noise.d.ts +0 -0
  327. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/noise.js +0 -0
  328. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/presets.d.ts +0 -0
  329. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/presets.js +0 -0
  330. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/room.d.ts +0 -0
  331. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/room.js +0 -0
  332. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/setup.d.ts +0 -0
  333. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/setup.js +0 -0
  334. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/vec.d.ts +0 -0
  335. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/vec.js +0 -0
  336. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/render.d.ts +0 -0
  337. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/render.js +0 -0
  338. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/sfx.d.ts +0 -0
  339. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/sfx.js +0 -0
  340. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/shape.d.ts +0 -0
  341. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/shape.js +0 -0
  342. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/voice.d.ts +0 -0
  343. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/voice.js +0 -0
  344. /package/{node_modules/@allyhub-next/formats → dist/node_modules/@allyhub-next/chart}/LICENSE +0 -0
  345. /package/{node_modules/@allyhub-next/protocol → dist/node_modules/@allyhub-next/formats}/LICENSE +0 -0
  346. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/comments.d.ts +0 -0
  347. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/comments.js +0 -0
  348. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/config.d.ts +0 -0
  349. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/config.js +0 -0
  350. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/edits.d.ts +0 -0
  351. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/edits.js +0 -0
  352. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/elements.d.ts +0 -0
  353. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/elements.js +0 -0
  354. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/faces.d.ts +0 -0
  355. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/faces.js +0 -0
  356. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/file.d.ts +0 -0
  357. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/file.js +0 -0
  358. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/gen.d.ts +0 -0
  359. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/gen.js +0 -0
  360. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/messages.d.ts +0 -0
  361. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/messages.js +0 -0
  362. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/script.d.ts +0 -0
  363. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/script.js +0 -0
  364. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/words.d.ts +0 -0
  365. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/words.js +0 -0
  366. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/layout.d.ts +0 -0
  367. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/layout.js +0 -0
  368. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/note-shape.d.ts +0 -0
  369. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/note-shape.js +0 -0
  370. /package/{node_modules/@allyhub-next/runtimes → dist/node_modules/@allyhub-next/protocol}/LICENSE +0 -0
  371. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/app.d.ts +0 -0
  372. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/app.js +0 -0
  373. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/auth.d.ts +0 -0
  374. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/auth.js +0 -0
  375. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cli.d.ts +0 -0
  376. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cli.js +0 -0
  377. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cloud.d.ts +0 -0
  378. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cloud.js +0 -0
  379. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/files.d.ts +0 -0
  380. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/files.js +0 -0
  381. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/index.d.ts +0 -0
  382. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/index.js +0 -0
  383. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/jsonrpc.d.ts +0 -0
  384. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/jsonrpc.js +0 -0
  385. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/registry.d.ts +0 -0
  386. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/registry.js +0 -0
  387. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/routes.d.ts +0 -0
  388. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/routes.js +0 -0
  389. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/runtimes.d.ts +0 -0
  390. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/runtimes.js +0 -0
  391. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/teams.d.ts +0 -0
  392. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/teams.js +0 -0
  393. /package/{node_modules/@allyhub-next/scenery → dist/node_modules/@allyhub-next/runtimes}/LICENSE +0 -0
  394. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/bundled.d.ts +0 -0
  395. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/bundled.js +0 -0
  396. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/download.d.ts +0 -0
  397. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/download.js +0 -0
  398. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/errors.d.ts +0 -0
  399. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/errors.js +0 -0
  400. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/home.d.ts +0 -0
  401. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/home.js +0 -0
  402. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/index.d.ts +0 -0
  403. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/index.js +0 -0
  404. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/manifest.d.ts +0 -0
  405. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/manifest.js +0 -0
  406. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/node-program.d.ts +0 -0
  407. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/node-program.js +0 -0
  408. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/packages.d.ts +0 -0
  409. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/packages.js +0 -0
  410. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/unpack.d.ts +0 -0
  411. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/unpack.js +0 -0
  412. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/manifest.json +0 -0
  413. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/docx/package-lock.json +0 -0
  414. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/docx/package.json +0 -0
  415. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/gltf-tools/package-lock.json +0 -0
  416. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/gltf-tools/package.json +0 -0
  417. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/manifold-3d/package-lock.json +0 -0
  418. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/manifold-3d/package.json +0 -0
  419. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/onnxruntime-node/package-lock.json +0 -0
  420. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/onnxruntime-node/package.json +0 -0
  421. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -0
  422. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/sherpa-onnx-node/package.json +0 -0
  423. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/tesseract.js/package-lock.json +0 -0
  424. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/tesseract.js/package.json +0 -0
  425. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/schemas/runtimes.schema.json +0 -0
  426. /package/{node_modules/@allyhub-next/slides-core → dist/node_modules/@allyhub-next/scenery}/LICENSE +0 -0
  427. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/NOTICE +0 -0
  428. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/aim.d.ts +0 -0
  429. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/aim.js +0 -0
  430. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/bake.d.ts +0 -0
  431. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/bake.js +0 -0
  432. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/camera.d.ts +0 -0
  433. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/camera.js +0 -0
  434. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/curve.d.ts +0 -0
  435. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/curve.js +0 -0
  436. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/define.d.ts +0 -0
  437. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/define.js +0 -0
  438. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/fit.d.ts +0 -0
  439. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/fit.js +0 -0
  440. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/glass.d.ts +0 -0
  441. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/glass.js +0 -0
  442. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/handheld.d.ts +0 -0
  443. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/handheld.js +0 -0
  444. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/hull.d.ts +0 -0
  445. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/hull.js +0 -0
  446. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/index.d.ts +0 -0
  447. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/index.js +0 -0
  448. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/lens.d.ts +0 -0
  449. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/lens.js +0 -0
  450. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/moire.js +0 -0
  451. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/motion.d.ts +0 -0
  452. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/motion.js +0 -0
  453. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/move.d.ts +0 -0
  454. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/move.js +0 -0
  455. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/noise.d.ts +0 -0
  456. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/noise.js +0 -0
  457. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/report.d.ts +0 -0
  458. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/report.js +0 -0
  459. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen-focus.d.ts +0 -0
  460. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen-focus.js +0 -0
  461. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen.d.ts +0 -0
  462. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen.js +0 -0
  463. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/solve.d.ts +0 -0
  464. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/solve.js +0 -0
  465. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/timing.d.ts +0 -0
  466. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/timing.js +0 -0
  467. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/vec.d.ts +0 -0
  468. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/vec.js +0 -0
  469. /package/{node_modules/@allyhub-next/video-core → dist/node_modules/@allyhub-next/sheet}/LICENSE +0 -0
  470. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/animation.d.ts +0 -0
  471. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/animation.js +0 -0
  472. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/capabilities.d.ts +0 -0
  473. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/check.d.ts +0 -0
  474. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/check.js +0 -0
  475. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/file.d.ts +0 -0
  476. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/file.js +0 -0
  477. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/measure.d.ts +0 -0
  478. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/measure.js +0 -0
  479. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/model.js +0 -0
  480. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/path.d.ts +0 -0
  481. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/path.js +0 -0
  482. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/placeholders.d.ts +0 -0
  483. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/placeholders.js +0 -0
  484. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/script.d.ts +0 -0
  485. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/script.js +0 -0
  486. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/stage.d.ts +0 -0
  487. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/stage.js +0 -0
  488. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/theme.d.ts +0 -0
  489. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/theme.js +0 -0
  490. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/units.d.ts +0 -0
  491. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/units.js +0 -0
  492. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/anchors.d.ts +0 -0
  493. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/anchors.js +0 -0
  494. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/audio-types.d.ts +0 -0
  495. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/audio-types.js +0 -0
  496. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/backdrop.d.ts +0 -0
  497. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/backdrop.js +0 -0
  498. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/captions.d.ts +0 -0
  499. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/captions.js +0 -0
  500. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/console.d.ts +0 -0
  501. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/console.js +0 -0
  502. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/contrast.d.ts +0 -0
  503. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/contrast.js +0 -0
  504. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/cut-report.d.ts +0 -0
  505. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/cut-report.js +0 -0
  506. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edit.d.ts +0 -0
  507. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edit.js +0 -0
  508. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edits.d.ts +0 -0
  509. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edits.js +0 -0
  510. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/export.d.ts +0 -0
  511. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/export.js +0 -0
  512. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/footage-motion.d.ts +0 -0
  513. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/footage-motion.js +0 -0
  514. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/gen.d.ts +0 -0
  515. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/gen.js +0 -0
  516. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/index.d.ts +0 -0
  517. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/index.js +0 -0
  518. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/look.d.ts +0 -0
  519. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/look.js +0 -0
  520. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/marks.d.ts +0 -0
  521. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/marks.js +0 -0
  522. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/matrix.d.ts +0 -0
  523. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/matrix.js +0 -0
  524. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/media.d.ts +0 -0
  525. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/media.js +0 -0
  526. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/messages.d.ts +0 -0
  527. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/messages.js +0 -0
  528. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/motion.d.ts +0 -0
  529. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/motion.js +0 -0
  530. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/music.d.ts +0 -0
  531. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/music.js +0 -0
  532. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/piece.d.ts +0 -0
  533. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/piece.js +0 -0
  534. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/placement.d.ts +0 -0
  535. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/placement.js +0 -0
  536. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/render-types.d.ts +0 -0
  537. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/render-types.js +0 -0
  538. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/schema.d.ts +0 -0
  539. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/schema.js +0 -0
  540. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script-edit.d.ts +0 -0
  541. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script-edit.js +0 -0
  542. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script.d.ts +0 -0
  543. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script.js +0 -0
  544. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/seams.d.ts +0 -0
  545. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/seams.js +0 -0
  546. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/sound-under.d.ts +0 -0
  547. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/sound-under.js +0 -0
  548. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/speech.d.ts +0 -0
  549. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/speech.js +0 -0
  550. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timeline.d.ts +0 -0
  551. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timeline.js +0 -0
  552. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timing.d.ts +0 -0
  553. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timing.js +0 -0
  554. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transcript.d.ts +0 -0
  555. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transcript.js +0 -0
  556. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transition.d.ts +0 -0
  557. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transition.js +0 -0
  558. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/voice.d.ts +0 -0
  559. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/voice.js +0 -0
  560. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/words.d.ts +0 -0
  561. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/words.js +0 -0
package/docs/sheets.md CHANGED
@@ -1,119 +1,437 @@
1
1
  # Sheets
2
2
 
3
- A sheet is rows a person sorts, filters and edits as a grid and an agent writes as files: `sheet.csv`, and `sheet.yaml` beside it saying what its columns are. It is one grid (no saved views, groups or footers in its files) and not a piece: it has no format, languages or combos. `allyhub check` checks it, `allyhub dev` shows it in its editor, `allyhub render` writes it out.
3
+ A sheet is a workbook: what a person sees is Excel, and its source is text. A formula is code, results are computed and never stored, and data, logic and look each have a home. A person works in the editor as in Excel, and what they do lands in these files.
4
4
 
5
5
  ## A sheet item
6
6
 
7
- A sheet is a folder whose entry file is `sheet.csv`:
7
+ A sheet is a folder whose entry file is `sheet.yaml`:
8
8
 
9
9
  ```
10
- research/leads/
11
- sheet.csv the rows: a header row, then a row per record
12
- sheet.yaml optional: its title, its key and title columns, what each column is
13
- files/ optional: files its cells name (logo.png)
14
- comments.json optional: what was said about its cells
10
+ finance/budget/
11
+ sheet.yaml the workbook: sheets, cells, formulas, formats, names, checks
12
+ data/*.csv a table's rows, or a large block of typed cells
13
+ sheet.ts optional: code that makes sheets from data
14
+ files/ what cells name: pictures and other files
15
15
  ```
16
16
 
17
- - The folder may be anywhere in the project but its root, a folder whose name starts with a dot, or `node_modules`. Its place is its path from the project (`research/leads`), which commands take.
18
- - A sheet is never inside another item's folder (AK-M009), and its folder holds no other item (AK-M003).
17
+ The folder may be anywhere in the project except its root, a folder whose name starts with a dot, or `node_modules`. Its place is its path from the project (`finance/budget`). A sheet is never inside another item's folder, and its folder holds no other item (AK-M003).
19
18
 
20
- ## sheet.csv
19
+ ## sheet.yaml
20
+
21
+ ```yaml
22
+ title: Budget
23
+ names:
24
+ growth: 0.08 # a constant
25
+ revenue: =Summary!$B$1 # a place, or a formula
26
+ sheets:
27
+ - name: Orders
28
+ freeze: A2
29
+ tables:
30
+ - name: orders
31
+ at: A1 # its header's top left
32
+ rows: data/orders.csv # the header row, then the rows
33
+ key: id # optional: how a merge lines rows up
34
+ columns:
35
+ total: { formula: "=[@price]*[@qty]", format: "$#,##0.00" }
36
+ - name: Summary
37
+ columns: { A: { width: 180 } }
38
+ cells:
39
+ A1: Revenue
40
+ B1: "=SUM(orders[total])"
41
+ B3:M3: { formula: "=A3*(1+growth)", format: "#,##0" }
42
+ format:
43
+ - { range: A1:A9, bold: true }
44
+ merges: [A10:C10]
45
+ blocks:
46
+ - { at: A100, rows: data/hand.csv }
47
+ checks:
48
+ - { name: totals add up, formula: "=revenue=SUM(Summary!B3:M3)" }
49
+ scenarios:
50
+ high: { growth: 0.2 }
51
+ ```
52
+
53
+ Its JSON Schema is `https://allyhub.com/schemas/sheet.schema.json`.
54
+
55
+ | Field | What |
56
+ | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
57
+ | `title` | The workbook's title |
58
+ | `names` | Defined names: a constant, or a place or formula after `=` |
59
+ | `sheets[]` | `name`, at most 31 characters, none of `\ / ? * [ ] :`; `hidden`; `freeze`, the first cell that scrolls; `gridlines: false`; `tab`, its tab's colour |
60
+ | `sheets[].tables[]` | `name`, `at` (its header's top left), `rows` (a CSV file from the sheet's folder), `key`, `style` (Excel's, `TableStyleMedium2` unless it says, `none` for none), `columns` (by name: `formula`, `format`, a look, `width`, `files`) |
61
+ | `sheets[].columns` | By letter: `width` in pixels, `hidden`, `format`, a look, `files` (see [Files in a cell](#files-in-a-cell)) |
62
+ | `sheets[].charts[]` | A chart over the cells: see [Charts](#charts) |
63
+ | `sheets[].rows` | By number: `height` in pixels, `hidden`, `format`, a look |
64
+ | `sheets[].cells` | By address, or a range one value or formula covers |
65
+ | `sheets[].format` | A list of `{ range, format, …look }`: later entries win over earlier ones, a cell's own look wins over them |
66
+ | `sheets[].merges` | Merged ranges |
67
+ | `sheets[].blocks` | `{ at, rows }`: a CSV file of typed cells, from a cell |
68
+ | `sheets[].filter` | An AutoFilter on a range: `{ range, columns }`, its columns by letter, each `{ values, blanks }`: what it keeps, as the column shows it. A table's is `tables[].filter`, `{ columns }` by column name, or `false` for no buttons. What it hides is worked out, never written |
69
+ | `sheets[].conditional` | Conditional formats, the first the strongest: `{ range, type, …, stop }`; ranges apart by spaces. See below |
70
+ | `sheets[].validations` | Data validation: `{ range, type, operator, formula, values, blank, dropdown, prompt, error }`. See below |
71
+ | `checks` | `{ name, formula }`: a formula that must hold. One that is false, 0 or an error is a problem (AK-M009) |
72
+ | `scenarios` | Named sets of inputs, each what names hold instead: see [Scenarios](#scenarios) |
73
+
74
+ A **cell** is YAML's value: a number, `true`, text; text that starts with `=` is a formula. In a `{ … }` a formula with a comma or a bracket is quoted. Its long form is `{ value | formula, format, name, …look }`: `name` is a defined name for that cell.
75
+
76
+ A **range key** (`B3:M3`) gives one value or formula to every cell in it. A formula is written for its first cell and moved as a fill moves it: relative references shift, `$` ones stay. A single cell's key wins over a range's, and a later range over an earlier one; `B5: null` keeps a cell of a range empty.
77
+
78
+ `format` is Excel's number format code. A **look** is `bold`, `italic`, `underline` (`true` or Excel's `single`, `double`, `singleAccounting`, `doubleAccounting`), `strike`, `font`, `size`, `color` and `fill` (`#RRGGBB`; a fill may be `{ pattern, color, background }`), `align`, `valign`, `wrap`, `shrink`, `indent`, `rotation`, `border` (`left`, `right`, `top`, `bottom`, each `{ style, color }`). Later `format` entries win field by field, and a `border` side by side, so `{ style: none }` takes one side away.
79
+
80
+ **Conditional formats.** A `type` is Excel's, and a rule that gives a look says it in the rule: `bold`, `italic`, `underline`, `strike`, `color`, `fill`, `border`.
21
81
 
22
- Plain CSV (RFC 4180) with a header row:
82
+ | `type` | With |
83
+ | ------------------------------------ | -------------------------------------------------------------------------------------------- |
84
+ | `cellIs` | `operator` (`between`, `notBetween`, `equal`, `notEqual`, `greaterThan`, `lessThan`, `greaterThanOrEqual`, `lessThanOrEqual`), `formula`: one or two bounds, a number, text, or a formula after `=` |
85
+ | `containsText` | `text`, `operator` (`contains` unless it says, `notContains`, `beginsWith`, `endsWith`) |
86
+ | `duplicateValues`, `uniqueValues` | Nothing |
87
+ | `top10` | `rank`, `percent`, `bottom` |
88
+ | `aboveAverage` | `below`, `equal` |
89
+ | `expression` | `formula`, written for the first cell of the range and moved as a fill moves it |
90
+ | `dataBar` | `color`, `min` and `max` (each `{ at, value }`, `at` being `min`, `max`, `num`, `percent`, `percentile` or `formula`), `show: false` for the bar alone |
91
+ | `colorScale` | `stops`: two or three `{ at, value, color }` |
92
+ | `iconSet` | `icons` (Excel's `3Arrows`, `3TrafficLights1`, `5Rating`…), `stops`, `reverse`, `show` |
23
93
 
24
- ```csv
25
- id,company,arr,share,stage,tags,signed,active,site,contact,notes,logo
26
- 1,Acme,12000,0.12,Won,inbound;partner,2026-10-14,true,acme.example,ops@acme.example,"Signed after a demo, ""fast""",files/acme.png
27
- 2,Globex,,,Lead,,2026-10-14T09:30,false,https://globex.example,,,
94
+ **Data validation.** `type` is `whole`, `decimal`, `list`, `date`, `time`, `textLength` or `custom`; `operator` is `between` unless it says, and `formula` its bounds (a date as ISO text, or a formula after `=`). A list is `values`, spelled out, or `formula: ["=$A$1:$A$9"]`; `dropdown: false` leaves out its arrow. `blank: false` refuses an empty cell. `prompt` is `{ title, message, show }`, what shows while the cell is selected, and `error` is `{ style, title, message, show }`, where `style` is `stop` (unless it says), `warning` or `information` and `show: false` lets any value in. A person's typing is refused as the rule says; what a script writes is not, and a value that breaks its rule is a fact in `allyhub sheet`.
95
+
96
+ A list with `multiple: true` lets a cell hold several of its values, joined by `separator` (`, ` unless it says):
97
+
98
+ ```yaml
99
+ validations:
100
+ - { range: D2:D99, type: list, values: [vip, new, churn], multiple: true }
28
101
  ```
29
102
 
30
- - The delimiter is a comma. A field is quoted when it holds a comma, a quote or a line break; `""` is a quote inside quotes.
31
- - Every value is text. Its column's type says how it is read; nothing is guessed from what the values look like.
32
- - A row may have fewer fields than the header (the rest are empty), never more. A blank line is a row of empty cells.
33
- - Header names are trimmed; each is a column's name, not empty, not repeated.
34
- - The file's dialect is kept when the editor writes rows back (line endings, a byte-order mark, a final line ending), and every row that did not change keeps its bytes.
103
+ They are text, so a formula counts one with a wildcard, `=COUNTIF(D:D,"*vip*")`, or splits them, `=TEXTSPLIT(D2,", ")`. A person ticks them in the cell's dropdown and sees them as chips; a filter's list offers each, and keeps a row that holds any it ticks. In an `.xlsx` the cell keeps its text and the column a list, whose refusal is turned off as Excel's list takes one value: the render says so.
35
104
 
36
- ## sheet.yaml
105
+ ### For the file
106
+
107
+ A worksheet holds what Excel prints and shows around its cells. Each goes in the `.xlsx`; the grid and a PDF do not draw them yet.
108
+
109
+ ```yaml
110
+ sheets:
111
+ - name: Quote
112
+ print:
113
+ area: A1:G22
114
+ title_rows: "1:2" # and title_cols: A:B, repeated on every page
115
+ orientation: landscape
116
+ paper: a4 # letter, legal, a3, a4, a5
117
+ fit: { width: 1, height: 0 } # one page wide, as tall as it takes
118
+ margins: { left: 0.5, right: 0.5 } # inches
119
+ footer: { right: "Page &P of &N" } # Excel's codes; left, center, right
120
+ links: { B2: "https://example.com", B3: "#Terms!A1" }
121
+ notes: { C4: Agreed with Sam, C5: { text: Check, author: Finance } }
122
+ pictures:
123
+ - { file: files/logo.png, at: B1, x: 4, y: 4, height: 40 } # over the cells; pixels
124
+ rows: { 12: { level: 1 } } # grouped, 1 to 7; columns too
125
+ protect: true # Protect Sheet, with no password
126
+ ```
127
+
128
+ In a script: `ws.page_setup.orientation`, `.paperSize`, `.fitToWidth`, `.fitToHeight`, `ws.page_margins.left`, `ws.print_area`, `ws.print_title_rows`, `ws.print_title_cols`, `ws.oddFooter.right.text`, `cell.hyperlink`, `cell.comment = new Comment("Check", "Finance")`, `ws.add_image(new Image("files/logo.png"), "B1")`, `ws.row_dimensions[12].outlineLevel`, `ws.protection.sheet`.
37
129
 
38
- Every field is optional; a column not named under `columns` is text (JSON Schema: `https://allyhub.com/schemas/sheet.schema.json`).
130
+ ### Files in a cell
131
+
132
+ A column with `files` holds files, each named by its path from the sheet's folder:
133
+
134
+ ```yaml
135
+ sheets:
136
+ - name: Team
137
+ columns:
138
+ C: { files: true, width: 120 }
139
+ D: { files: { separator: "; ", height: 40 } } # 60 px tall, joined by ", ", unless it says
140
+ cells:
141
+ C2: files/ada.png
142
+ D2: files/ada.pdf; files/cv.docx
143
+ ```
144
+
145
+ `columns` of a table take it too, by the column's name. A person drops, pastes or chooses files on a cell: they are kept in the sheet's `files/`. A picture is drawn in its cell, its row as tall, any other file by its name. A file that is not there is a problem (AK-M009). In an `.xlsx` a PNG, JPEG or GIF goes in its cell and any other file is its name, which the render says.
146
+
147
+ ### Scenarios
148
+
149
+ Each scenario says what names hold instead:
39
150
 
40
151
  ```yaml
41
- title: Launch leads
42
- key: id
43
- primary: company
44
- columns:
45
- arr:
46
- type: number
47
- format: { style: currency, currency: USD, decimals: 0 }
48
- width: 120
49
- share: { type: number, format: percent }
50
- stage:
51
- type: select
52
- options:
53
- - { name: Lead, color: gray }
54
- - { name: Won, color: green }
55
- tags: { type: multi-select, options: [inbound, partner], separator: ";" }
56
- signed: { type: date, format: { style: long, time: false } }
57
- active: checkbox
58
- site: url
59
- contact: email
60
- notes: { type: text, wrap: true }
61
- logo: { type: file, height: 48 }
152
+ names:
153
+ growth: 0.08 # a constant
154
+ tax: =Inputs!$B$2 # a cell
155
+ scenarios:
156
+ high: { growth: 0.2, tax: 0.1 }
157
+ low: { growth: 0.01 }
62
158
  ```
63
159
 
64
- | Field | Type | |
65
- | --- | --- | --- |
66
- | `title` | string | The sheet's name; its workbook's worksheet is named by it, else by the sheet's folder |
67
- | `key` | column name | The column whose value names a row: every row has one, and no two rows share it |
68
- | `primary` | column name | The column a row is called by (a record's title). Default: the first text column that is not the key, else the first column that is not the key |
69
- | `columns` | map | By the column's name in the header: its type alone (`active: checkbox`), or a map of the fields below |
160
+ A name that is one cell has that cell hold the value, as Excel's Scenario Manager changes cells, so what reads it by its address sees it too. Any other name holds the value itself. A name that is not there is a problem (AK-M009). A person shows one in the editor's Scenario Manager, and nothing is written. `allyhub sheet calc <sheet> <what> --scenario high` computes with one; `--scenarios` compares the base case and every one, a column each, over `what`: names, cells or ranges apart by commas, or every name no scenario sets. An `.xlsx` holds them as Excel's own on the sheet of the cells they change, with a `Base case` to come back to; a name that is no cell has no place there, and the render says so.
161
+
162
+ Write scenarios on names of cells where the file will leave for Excel.
163
+
164
+ ## CSV
165
+
166
+ A CSV file is RFC 4180. A table's starts with its header row, whose names are its columns; a block's is cells from its first line. Blank lines in a table's file are not rows.
70
167
 
71
- A column:
168
+ A value reads as Excel reads what is typed:
72
169
 
73
- | Field | Type | For | |
74
- | --- | --- | --- | --- |
75
- | `type` | one of the types below | every column | Default `text` |
76
- | `options` | list | `select`, `multi-select` | In order, each once. An option is a name (`Won`) or `{ name, color }` |
77
- | `separator` | string | `multi-select`, `file` | What joins names or paths in a cell. Default `;`. Not empty, not a quote |
78
- | `format` | see below | `number`, `date` | How values are shown |
79
- | `width` | number, px | every column | Its width in the grid |
80
- | `wrap` | boolean | every column | Long text wraps onto more lines |
81
- | `height` | number, px | `file` | Pictures this tall in the grid; rows grow to hold them |
170
+ | Written | Reads as |
171
+ | -------------------------------------- | ------------------------------------------------------------------------------ |
172
+ | `12`, `-1.5e3`, `007` | A number. Past 15 digits it stays text, whole, where Excel would lose the rest |
173
+ | `12%`, `1,234.50`, `$5` | A number, and the format that implies |
174
+ | `TRUE`, `false` | TRUE or FALSE |
175
+ | `2026-10-14`, `2026-10-14T09:30` | A date (with its time), and the format `yyyy-mm-dd`; a zone is taken to UTC |
176
+ | `#N/A` | That error |
177
+ | `=…` | A formula |
178
+ | `'…` | What follows as text |
82
179
 
83
- A field set on a column of another type (`options` on a number column) is a problem. An option's `color` is one of `gray`, `brown`, `red`, `orange`, `yellow`, `green`, `blue`, `purple`, `pink`; its name is trimmed, not empty, and does not contain the separator.
180
+ A **calculated column** has its `formula` in `columns` and no column in the CSV, or one whose non-empty cells are exceptions. One that is not the table's last has an empty column there, as a column left out goes to the table's end.
84
181
 
85
- **Number format**: `plain`, `percent` (0.12 shows as 12%), `currency`, or a map of `style` (`plain`, `percent`, `currency`; `currency` when `currency` is given, else `plain`), `decimals` (0 to 10; default as many as the value has, at most 6), `currency` (ISO 4217, default `USD`) and `thousands` (default `true`).
182
+ ## Formulas
86
183
 
87
- **Date format**: `iso` (2026-10-14), `short` (Oct 14, 2026), `long` (Wednesday, October 14, 2026), or a map of `style` (default `short`) and `time` (default `true`: the time of day shows when a value has one). Without a format a date shows as `short`.
184
+ The language is Excel's: `A1` and `$` references, ranges, `Sheet!A1`, `'My Sheet'!A1`, `Jan:Dec!A1`, whole columns and rows, defined names, structured references (`orders[total]`, `[@price]`, `orders[@total]`, `orders[[#Headers],[a]:[c]]`, `orders` for its rows), operators with Excel's precedence (`-2^2` is 4), array constants, `LET`, `LAMBDA` (a name may hold one, and is then called: `=double(4)`), error values. `allyhub sheet capabilities` lists the functions under `formulas`.
88
185
 
89
- ## Types
186
+ - Results are computed in order, each once. `NOW`, `TODAY`, `RAND`, `RANDBETWEEN`, `OFFSET` and `INDIRECT` are volatile. `NOW` and `TODAY` read the clock when the sheet is built or exported; `RAND` in a build and an export is seeded by the sheet's files, so the same files give the same rows.
187
+ - A formula that reads itself is a problem, and its cells and what reads them show `#CYCLE!`: Excel says so in a dialog. A cycle through a branch `IF` does not take is none, as in Excel.
188
+ - An array result spills, as in Excel: the formula's cell shows the first value and the cells beside it the rest. They hold nothing in any file, read like any others, and `A1#` is the range the spill covers now. `#SPILL!` says something stands in the way (a cell that holds anything, a merge, a table, the edge of the sheet), and what stands there going lets it spill. A calculated column cannot spill. `=@A1:A9` is the value in the formula's own row. `FILTER`, `SORT`, `SORTBY`, `UNIQUE`, `SEQUENCE`, `RANDARRAY` (seeded as `RAND` is), `TEXTSPLIT`, `TAKE`, `DROP`, `VSTACK`, `HSTACK`, `TOCOL`, `TOROW`, `CHOOSEROWS`, `CHOOSECOLS`, `EXPAND`, `WRAPROWS` and `WRAPCOLS` give arrays; `MAP`, `REDUCE`, `SCAN`, `BYROW`, `BYCOL` and `MAKEARRAY` take a `LAMBDA`.
189
+ - A formula cannot reach into another workbook.
90
190
 
91
- | Type | A value is written | Read as |
92
- | --- | --- | --- |
93
- | `text` | as it is | text |
94
- | `number` | `1234.5`, `-0.12`, `1e6`: digits, a point for decimals, no thousands separator | a number |
95
- | `select` | one option's name | the option, sorted by its place among the options |
96
- | `multi-select` | option names joined by the separator: `inbound;partner` | a list of names |
97
- | `date` | `2026-10-14`, or `2026-10-14T09:30` with optional seconds and zone (`Z`, `+02:00`); UTC without a zone | a moment |
98
- | `checkbox` | `true` or `false`, any case | true or false |
99
- | `url` | an address with no space; without a scheme it links to `https://` | a link |
100
- | `email` | `name@domain.tld` | a `mailto:` link |
101
- | `phone` | as it is | a `tel:` link |
102
- | `file` | a path to a file of the project, from the sheet's folder or the project's root; several joined by the separator: `files/a.png;files/b.pdf` | an attachment: a picture (png, jpg, gif, webp, avif, svg) shows as itself, any other file by its name |
191
+ ## In a script
103
192
 
104
- Any column may have an empty cell. Sorting is by type; a value its type cannot read comes after those it can, and empty cells come last whichever the direction.
193
+ `@allyhub/sdk/sheets` is openpyxl's API in TypeScript over these files. A script opens a workbook, changes it and saves it; what it did not change keeps its bytes, comments included.
105
194
 
106
- ## comments.json
195
+ ```ts
196
+ import {
197
+ Font,
198
+ PatternFill,
199
+ Table,
200
+ Workbook,
201
+ load_workbook,
202
+ } from "@allyhub/sdk/sheets";
107
203
 
108
- Threads about a sheet's cells are kept beside it in `comments.json`, as a doc's are ([docs.md](docs.md#commentsjson)), each with the `range` it is about (`B4`, or `B4:C9`: columns by letter, rows counted from 1 under the header).
204
+ const wb = new Workbook();
205
+ const ws = wb.active;
206
+ ws.title = "Orders";
207
+ ws.append(["id", "price", "qty", "total"]);
208
+ ws.append(["a1", 2.5, 4, "=B2*C2"]);
209
+ ws.append(["a2", 7, 2, "=B3*C3"]);
210
+ ws.add_table(new Table({ displayName: "orders", ref: "A1:D3" }));
211
+ ws.freeze_panes = "A2";
109
212
 
110
- ## Check, measure, import, render
213
+ const summary = wb.create_sheet("Summary");
214
+ const total = summary.cell(1, 2, "=SUM(orders[total])");
215
+ total.number_format = "$#,##0.00";
216
+ total.font = new Font({ bold: true });
217
+ total.fill = new PatternFill({ fill_type: "solid", fgColor: "FFEECC" });
218
+ wb.save("content/finance/budget");
111
219
 
112
- - `allyhub check` reports AK-M009, each with its file and line: rows that are not CSV, a header with an empty or repeated name, a row with more fields than the header; a value its column's type cannot read (five per column, then a count); a `file` cell naming no file of the project; a key with an empty or repeated value; a `sheet.yaml` that is not YAML, an unknown field or one of the wrong kind, a column, key or primary the sheet does not have; a sheet inside another item's folder. A mistake in `sheet.yaml` leaves the rest of it read.
113
- - `allyhub sheet <sheet>` measures each column of a sheet too long to read whole: count, empty cells, distinct values, values its type cannot read, smallest and largest, the most frequent values.
114
- - `allyhub sheet import <file> --to <folder>` makes a sheet of a CSV, a TSV or an Excel workbook (a sheet per worksheet), never over a place that is taken.
115
- - `allyhub render` writes each sheet as an Excel workbook named for its folder, `.allyhub/out/research/leads/leads.xlsx`; `--type` takes any of `xlsx`, `csv`, `md`, `json`, and an item's place names one sheet (`allyhub render research/leads --type csv,md`). A sheet with a problem is not written: the command fails and says why.
220
+ const again = load_workbook("content/finance/budget");
221
+ console.log(again.get_sheet_by_name("Summary")?.cell(1, 2).computed);
222
+ console.log(again.check());
223
+ ```
224
+
225
+ `ws.insert_rows(idx, amount)`, `ws.delete_rows`, `ws.insert_cols` and `ws.delete_cols` rewrite every formula in the workbook as Excel does: a reference moves, a range grows or shrinks, one to what went is `#REF!`. Tables, blocks, merges, looks and sizes move with them, and rows or columns put in a table go in its CSV. A table's header row is not deleted unless all of the table is.
226
+
227
+ Each change lands in the file it belongs in: a cell of a table in its CSV; a cell overtyped in a calculated column as an exception in the CSV; a run of one formula, moved, as one range key; a column whose every row has one formula as a calculated column; 100 or more typed cells together (`wb.block_cells`) as a block in a CSV file of their own; any other cell in `cells`. A number computed in a script is a number in the source, so a sheet's arithmetic belongs in its formulas.
228
+
229
+ Rules are openpyxl's too, each a field of an object:
230
+
231
+ ```ts
232
+ import {
233
+ CellIsRule,
234
+ ColorScaleRule,
235
+ DataValidation,
236
+ PatternFill,
237
+ Workbook,
238
+ } from "@allyhub/sdk/sheets";
239
+
240
+ const ws = new Workbook().active;
241
+ ws.conditional_formatting.add(
242
+ "D2:D9",
243
+ CellIsRule({
244
+ operator: "greaterThan",
245
+ formula: ["1000"],
246
+ fill: new PatternFill({ bgColor: "FFC7CE" }),
247
+ }),
248
+ );
249
+ ws.conditional_formatting.add(
250
+ "E2:E9",
251
+ ColorScaleRule({ start_color: "F8696B", end_color: "63BE7B" }),
252
+ );
253
+
254
+ const stage = new DataValidation({ type: "list", formula1: '"Open,Won,Lost"' });
255
+ stage.add("F2:F9");
256
+ ws.add_data_validation(stage);
257
+
258
+ ws.auto_filter.ref = "A1:F9";
259
+ ws.auto_filter.add_filter_column(5, ["Open"]);
260
+ ```
261
+
262
+ `FormulaRule`, `DataBarRule`, `IconSetRule` and `new Rule({ type, … })` are held as well, and a table has its own `table.autoFilter`. What a filter leaves out is worked out from what it keeps; sorting is the rows of a table's CSV file, or the cells, put in order.
263
+
264
+ ## Charts
265
+
266
+ A chart floats over the cells at its anchor and reads them live: it holds references, never numbers, so it follows what its cells compute. In `sheet.yaml`:
267
+
268
+ ```yaml
269
+ charts:
270
+ - type: column-clustered # or column-stacked, column-stacked-100, bar-…, line, line-markers,
271
+ # area, area-stacked, area-stacked-100, pie, doughnut, scatter, scatter-lines, scatter-smooth
272
+ at: E2 # the cell its top left is in; x and y, pixels into it
273
+ width: 480 # pixels: 480 × 288 unless it says
274
+ height: 288
275
+ title: Revenue # words, or a cell: =Summary!A1
276
+ categories: orders[month] # a range, Summary!A2:A13, a table's column, or a spill, A1#
277
+ series:
278
+ - { values: "orders[total]", name: "=C1", color: "#4472C4" }
279
+ - { values: "D2:D13", name: Cost, smooth: true, line_width: 2, marker_size: 6 }
280
+ legend: bottom # top, left, right; absent: none
281
+ labels: { value: true, position: outEnd } # or true; percentage, category, series, format, size, color
282
+ value_axis: { title: Dollars, min: 0, max: 100, major: 20, format: "0%", gridlines: false }
283
+ category_axis: { title: Month, reverse: true, visible: true }
284
+ gap_width: 80
285
+ overlap: 100
286
+ vary_by_categories: true
287
+ hole_size: 60
288
+ size: 9 # its text, points; title_size 14 and color #595959 unless it says
289
+ ```
290
+
291
+ In a flow map (`{ … }`), quote a reference with `[`. A scatter's `x` names its places across, each series its own, the chart's `categories` unless it says. Rows and columns a person or a filter hides are left out, as Excel plots what shows; an empty cell or `#N/A` is a gap, text is 0. An inserted row, a renamed table or column and a cut reach a chart's references as they reach a formula, and `allyhub check` reports one that names nothing.
292
+
293
+ In a script they are openpyxl's classes. A `Reference` is a range; a table's column or a spill, which it cannot name, is a formula's text:
294
+
295
+ ```ts
296
+ import {
297
+ BarChart,
298
+ PieChart,
299
+ Reference,
300
+ ScatterChart,
301
+ Series,
302
+ Workbook,
303
+ } from "@allyhub/sdk/sheets";
304
+
305
+ const wb = Workbook.open("content/finance/budget");
306
+ const ws = wb.get_sheet_by_name("Orders");
307
+ if (!ws) throw new Error("no Orders");
308
+
309
+ const bars = new BarChart();
310
+ bars.type = "col";
311
+ bars.grouping = "stacked";
312
+ bars.title = "By month";
313
+ bars.y_axis.title = "Dollars";
314
+ bars.add_data(
315
+ new Reference(ws, { min_col: 2, max_col: 3, min_row: 1, max_row: 13 }),
316
+ { titles_from_data: true },
317
+ );
318
+ bars.set_categories(
319
+ new Reference(ws, { min_col: 1, min_row: 2, max_row: 13 }),
320
+ );
321
+ bars.width = 18; // centimetres, as openpyxl's
322
+ ws.add_chart(bars, "E2");
323
+
324
+ const pie = new PieChart();
325
+ pie.add_data("orders[total]", { title: "Share" });
326
+ pie.set_categories("orders[month]");
327
+ ws.add_chart(pie, "E20");
328
+
329
+ const points = new ScatterChart();
330
+ points.append(
331
+ new Series("orders[total]", { xvalues: "orders[qty]", title: "By size" }),
332
+ );
333
+ ws.add_chart(points, "E40");
334
+ wb.save();
335
+ ```
336
+
337
+ `LineChart`, `AreaChart` and `DoughnutChart` are held as well, and `chart.legend` (`null` for none, else its `position`), `chart.dataLabels`, `chart.x_axis` and `y_axis` (`title`, `scaling`, `majorUnit`, `number_format`, `delete`, `majorGridlines`), `series.marker`, `series.smooth` and `series.graphicalProperties`. `ws._charts` lists a sheet's charts.
338
+
339
+ ## sheet.ts
340
+
341
+ `sheet.ts` beside `sheet.yaml` makes sheets from data and code: a sheet per region, a sheet per month, a schedule from a parameter. It uses the same classes as a script, on a workbook of its own that starts with no sheets:
342
+
343
+ ```ts
344
+ import { Font, workbook } from "@allyhub/sdk/sheets";
345
+
346
+ interface Region {
347
+ region: string;
348
+ base: number;
349
+ }
350
+
351
+ export default workbook((wb, { data }) => {
352
+ for (const { region, base } of data("data/regions.csv") as Region[]) {
353
+ const ws = wb.create_sheet(region);
354
+ ws.cell(1, 1, "Base");
355
+ ws.cell(1, 2, base);
356
+ ws.cell(2, 1, "Next year").font = new Font({ bold: true });
357
+ ws.cell(2, 2, "=B1*(1+growth)");
358
+ }
359
+ });
360
+ ```
361
+
362
+ - It holds logic, never a number it computed: what it writes are inputs, formulas and references, so a change of an input computes again here and in Excel. A number it typed that neither its data nor its code holds is a fact, `sheet-typed`.
363
+ - `data(path)` reads a file of the project, from the sheet's folder: CSV as an object per row, numbers as numbers where a whole column is; YAML and JSON as they are. It reads files, never what a formula computes.
364
+ - It runs with no clock, randomness or network. `Date.now()`, `new Date()`, `Math.random()`, `crypto`, `performance.now()` and Node's own modules are AK-M012, with their line, and `fetch` AK-B003; it runs twice and what it makes must be the same (AK-M012). One that hangs is stopped (AK-B004), one that throws is AK-R001. A date or a random number belongs in the data, or in a formula (`TODAY`, `RAND`).
365
+ - What it makes is never written. Every command reads it with `sheet.yaml`: `check`, `render`, `sheet calc`, `sheet trace`, `sheet diff`, `inspect`, `frames`, and the editor, which shows a change to it as another hand's. Its formulas read `sheet.yaml`'s names and tables, and `sheet.yaml`'s read its sheets. `wb.defined_names` adds names; one `sheet.yaml` has stands. A problem on a generated sheet names `sheet.ts`.
366
+ - Its sheets come after `sheet.yaml`'s, and `sheet.yaml` holds at least one.
367
+ - A person sees them locked. A change is refused as on a protected sheet, offering to ask you or Make Ordinary Sheet, which writes that sheet to `sheet.yaml` and its rows to CSV files. **A sheet `sheet.yaml` holds by a name is `sheet.yaml`'s: what `sheet.ts` makes of that name is left out**, which `allyhub inspect` says (`sheet-ordinary`). Take it out of `sheet.yaml` to give it back to the code.
368
+ - An `.xlsx` holds them as plain sheets.
369
+ - Since a generated formula is not rewritten when a person inserts a row or renames a sheet, it reads names and tables (`=growth`, `=orders[total]`), not addresses, wherever it can.
370
+
371
+ `ws["A1"]` is a cell in TypeScript's types, so a value is written `ws["A1"].value = 5` or `ws.cell(1, 1, 5)`. TypeScript has no way to type openpyxl's `ws["A1"] = 5`, though it runs.
372
+
373
+ A name of openpyxl's that is not held throws where it is used, naming what the class holds. `allyhub sheet capabilities` lists what is held, how it differs and what is added: `cell.computed`, what a cell computes to as the workbook stands, and `wb.check()`, what `allyhub check` would say.
374
+
375
+ ## Commands
376
+
377
+ - `allyhub check` reports AK-M009, each with its file and line: YAML that is not, a field the format does not have, a cell or range that is not one, two sheets, tables or names of one name, a table's rows that are not there, a CSV quote never closed, a header with an empty or repeated name, a row with more fields than its header, a repeated or empty key, tables and cells that overlap, a formula that does not parse, an unknown function, name, sheet, table or column, a function given the wrong number of arguments, a circular reference, a `checks` entry that does not hold, a scenario's name that is not there, a file a cell names that is not there; and AK-M012 for a `sheet.ts`. An error value in a cell is not a problem: `=1/0` says what it says.
378
+ - A sheet is named by its folder, with or without `content/`, or its `sheet.yaml`.
379
+ - `allyhub sheet calc <sheet> [what]` prints what a workbook computes, as an aligned table: a sheet (`Summary`, its used range), a range (`Summary!B3:M3`), a table, a name, or every sheet. `--scenario high` computes it with a scenario's inputs; `--scenarios` compares them.
380
+ - `allyhub sheet trace <sheet> <cell>` prints a cell's formula, where it is written, what it reads and what reads it.
381
+ - `allyhub sheet <sheet>` measures each table's columns: counts, empty cells, distinct values, errors, smallest and largest, sum and mean, lengths, the most frequent values.
382
+ - `allyhub inspect <sheet>`, and `allyhub inspect` for a whole project, says what a workbook's formulas and cells are like, as facts, never problems: `sheet-error`, each cell whose value is an error and whether it starts there; `sheet-number`, numbers written into a formula and what takes each, once for a formula a range holds; `sheet-unlike`, a cell between neighbours that read alike, unlike them; `sheet-exception`, a cell set apart from its calculated column's formula; `sheet-unused`, names and typed numbers nothing reads (no formula, chart, rule, check or name); `sheet-invalid`, a value under a validation that breaks it; `sheet-typed`, a number `sheet.ts` typed that neither its data nor its code holds; `sheet-ordinary`, a sheet `sheet.ts` makes and `sheet.yaml` holds too. `allyhub inspect sheet <sheet>` has their options: `--plain 0,1,-1` the numbers not said, `--around 1` how many neighbours each side must agree, `--kind`, `--all` for every finding, every number and a table's columns nothing reads.
383
+ - `allyhub sheet diff <was> <now>` compares two versions, two folders or a folder and an `.xlsx`: what changed value under a formula that did not, what changed formula with its value the same, both, what came and went, names, a table's rows lined up by its `key`, else by their place. `--tolerance`, `--all`, `--json`.
384
+ - `allyhub sheet capabilities` says what the SDK holds of openpyxl's.
385
+ - `allyhub sheet import <file>` makes a sheet of an Excel, CSV or TSV file, never over a place that is taken (see [Excel](#excel)).
386
+ - `allyhub render` writes each sheet to `.allyhub/out/<place>/`: `--type xlsx` (the default), `pdf`, `png`, `csv` (a file a sheet), `md`, `json`. A sheet with a problem is not written.
387
+ - `allyhub frames <sheet>` draws a picture of a sheet as a person sees it, letters and numbers on its edges; `--range` names a sheet (`Summary`), a range (`Summary!B3:D9`), columns (`A:C`) or rows (`1:20`). Without a range it draws the first 200 rows and 60 columns of each sheet, and says what it left out.
388
+
389
+ `allyhub help sheet` and `allyhub help render` give every option.
390
+
391
+ ## Excel
392
+
393
+ **Out.** `--type xlsx` writes every sheet with typed values, formulas live with what they compute cached (so Preview and Numbers show numbers; Excel computes everything again on load), styles, merges, frozen panes, sizes, hidden sheets, names, tables with their calculated columns, filters, conditional formats, data validation and charts. The same workbook is the same bytes. `checks` have no place in a file, and the render says so. Generated sheets are plain sheets, [scenarios](#scenarios) are Excel's own, and several choices and files in a cell go as [above](#files-in-a-cell). A formula that needs arrays is written as a dynamic array formula, spilling into the cells it covers.
394
+
395
+ **In.** `allyhub sheet import <file.xlsx>` reads a file whatever wrote it and writes what it means as short text: neighbours with one formula as one range key, a table as a table, a column of one formula as a calculated column, a large rectangle of typed cells as a CSV file, looks as rectangles. It prints:
396
+
397
+ - Excel's scenarios come in by the names of the cells they set; a cell with no name is said, and a `Base case` that holds what the cells hold is left out.
398
+ - `Not carried over:` VBA, pivot tables, a chart of a kind a sheet has none of (radar, stock, surface, bubble, 3-D, several kinds in one) or whose numbers are written in it, images, links to other workbooks, comments, hyperlinks, protection, print settings, rich text (kept as text), filters by condition, kinds of rule the format has no place for, and so on, with where.
399
+ - A formula that cannot be computed here (a function the engine does not have, another workbook) keeps its value, listed with its cell and why. An array formula over several cells is its first cell's, and the others spill from it.
400
+ - `Computed here against the file:` every formula's result compared with the value the file holds, each difference with its cell (`--tolerance` is how close numbers must be, `--all` lists every one; a formula that reads the clock or a random number is not compared). JSON has every difference.
401
+
402
+ An ordinary formula from a file that narrows a range to its row is written with `@` (`=@A1:A9*2`), as Excel shows it.
116
403
 
117
404
  ## A sheet in a piece
118
405
 
119
- A piece reads a sheet's rows as data, by import or with `ctx.data(path)` for a path worked out in code, both relative to the file that names them: an object per row, keyed by the header ([project.md](project.md)). This reads the CSV alone, not `sheet.yaml`: a column whose every non-empty value is a number becomes numbers, everything else stays text, and lines with nothing in them are left out.
406
+ A piece reads a table's computed rows with `ctx.data("<sheet>#<table>")`, by the sheet's folder or its `sheet.yaml`, relative to the file that names it. Each row is an object by header: numbers, text, TRUE and FALSE as they are, a date as ISO text, an error as its code, an empty cell as `null`. A plain CSV file still reads as it is, with `ctx.data(path)` or by import: a column whose every non-empty value is a number becomes numbers, everything else stays text.
407
+
408
+ ```ts
409
+ import { custom, part, video } from "@allyhub/sdk";
410
+
411
+ interface Order {
412
+ id: string;
413
+ total: number;
414
+ }
415
+
416
+ export default video({
417
+ format: "16x9",
418
+ parts: (ctx) => {
419
+ const rows = ctx.data("../../finance/budget#orders") as Order[];
420
+ return [
421
+ part({
422
+ key: "orders",
423
+ dur: 3,
424
+ layers: [
425
+ custom({
426
+ render: (el) => {
427
+ el.textContent = rows.map((r) => r.id).join(", ");
428
+ },
429
+ }),
430
+ ],
431
+ }),
432
+ ];
433
+ },
434
+ });
435
+ ```
436
+
437
+ A deck's chart reads one the same way: `data: ../budget#orders` in `slides.yaml`. A data file over 5 MB is not read by `ctx.data`.
package/docs/slides.md CHANGED
@@ -125,7 +125,7 @@ python-pptx opens these from a template; here code makes them.
125
125
  | `slides[].hidden` | `true`: left out when presenting and exporting; a block's: a list of its slides' ids |
126
126
  | `slides[].shapes` | Its shapes by name: what it changes of its layout's placeholders, and its own |
127
127
 
128
- A shape there changes a placeholder of the slide's layout (or a generated shape) with `frame` (`{ x, y, w, h }` in points), `text` (`size` in points, `bold`, `color`, `font`, a family, `align`: `l`, `ctr`, `r`, `just`, on all of its text), `fill`, `line` (its outline: a colour, or `none`), `line_width` in points, `line_dash` (`solid`, `sysDash`, `sysDot`, `dash`, `dashDot`, `lgDash`, `lgDashDot`, `lgDashDotDot`), `line_begin` and `line_end` (`none`, `triangle`, `arrow`, `stealth`, `diamond`, `oval`), `z`; or is the slide's own with one of `textbox: true` (its words are the script's; it wraps and grows to its text), `picture`, `movie` (a file, or a video item's folder), `geometry` (`rect`, `roundRect`, `ellipse`, `triangle`, `rightArrow`, `line`), `path` (a freeform: `{ w, h, d }`, its outline in a box of `w` × `h` units stretched to its frame, `d` in SVG's `M`, `L`, `C` and `Z`, absolute, so a logo or a cursor is a real shape), `table` (`columns`, widths in points, and `rows`, each a `height` with its `fill`, `text` and `line`, a rule at its foot; stretched to its frame, its words the script's, a list of rows, each a list of cells) or `component` (with `props`), and a `frame`. `group`, a name a slide's own shapes share, makes them one group in PowerPoint. A table here has no style of its own, unlike python-pptx's: its look is what its rows and cells say. A picture or a movie put in a picture, media or object placeholder fills it. Colours are the theme's (`accent1`…) or `#RRGGBB`. `z` orders a shape among the slide's shapes and placeholders, so a negative `z` puts one under a placeholder's words. Paths are from the deck's folder.
128
+ A shape there changes a placeholder of the slide's layout (or a generated shape) with `frame` (`{ x, y, w, h }` in points), `text` (`size` in points, `bold`, `color`, `font`, a family, `align`: `l`, `ctr`, `r`, `just`, `numbered`, its paragraphs counted in place of a bullet: `arabicPeriod`, `arabicParenR`, `alphaLcPeriod`, `alphaUcPeriod`, `romanLcPeriod`, `romanUcPeriod`, on all of its text), `fill`, `fill_transparency` (a share that shows through), `gradient` (`angle`, degrees clockwise from left to right, and `stops`, each `at`, a share of the way, `color` and `transparency`), `shadow` (`blur` and `distance` in points, `angle`, `color`, `transparency`), `line` (its outline: a colour, or `none`), `line_width` in points, `line_dash` (`solid`, `sysDash`, `sysDot`, `dash`, `dashDot`, `lgDash`, `lgDashDot`, `lgDashDotDot`), `line_begin` and `line_end` (`none`, `triangle`, `arrow`, `stealth`, `diamond`, `oval`), `z`; or is the slide's own with one of `textbox: true` (its words are the script's; it wraps and grows to its text), `picture`, `movie` (a file, or a video item's folder), `geometry` (`rect`, `roundRect`, `ellipse`, `triangle`, `diamond`, `parallelogram`, `trapezoid`, `pentagon`, `hexagon`, `octagon`, `plus`, `star4`, `star5`, `chevron`, `homePlate`, `rightArrow`, `leftArrow`, `upArrow`, `downArrow`, `leftRightArrow`, `wedgeRectCallout`, `line`), `path` (a freeform: `{ w, h, d }`, its outline in a box of `w` × `h` units stretched to its frame, `d` in SVG's `M`, `L`, `C` and `Z`, absolute, so a logo or a cursor is a real shape), `table` (`columns`, widths in points, and `rows`, each a `height` with its `fill`, `text` and `line`, a rule at its foot; stretched to its frame, its words the script's, a list of rows, each a list of cells) or `component` (with `props`), and a `frame`. `group`, a name a slide's own shapes share, makes them one group in PowerPoint. A table here has no style of its own, unlike python-pptx's: its look is what its rows and cells say. A picture or a movie put in a picture, media or object placeholder fills it. Colours are the theme's (`accent1`…) or `#RRGGBB`. `z` orders a shape among the slide's shapes and placeholders, so a negative `z` puts one under a placeholder's words. Paths are from the deck's folder.
129
129
 
130
130
  A slide's `animations` are PowerPoint's Animation Pane, in order, each on one of the slide's own shapes (`shape`, by name; in a block, `<slide>/<shape>`), or one `paragraph` of its text, from 0:
131
131
 
@@ -144,14 +144,14 @@ A video on a slide plays from when its shape comes on, to its end, when presenti
144
144
 
145
145
  A slide's `transition` is how it comes on from the slide before: `type` (`fade`, `push`, `wipe`, or `morph`), `direction` for a push or a wipe (`from-right` unless said), `duration` in seconds (0.7 for a fade, 1 for a push or a wipe, 2 for a morph). What is on the slide starts when it is over, and presenting plays it. A morph moves each shape the two slides share by name from the one's place and size to the other's, as PowerPoint's Morph; what only one has fades. So name a shape the same on both slides to carry it across. A PowerPoint file has them as its own, with a fade for a PowerPoint too old for Morph. A generated slide sets `slide.transition`.
146
146
 
147
- A shape's `chart` is PowerPoint's own chart, with its numbers in a workbook a person opens with Edit Data. `type` is python-pptx's, in lower case: `column-clustered`, `column-stacked`, `column-stacked-100`, the same three of `bar`, `line`, `line-markers`, `area`, `area-stacked`, `area-stacked-100`, `pie`, `doughnut`. There is no 3D, scatter, bubble, radar or second axis. Its numbers are written in it, or read from a project file, so a slide shows what the sheet says:
147
+ A shape's `chart` is PowerPoint's own chart, with its numbers in a workbook a person opens with Edit Data. `type` is python-pptx's, in lower case: `column-clustered`, `column-stacked`, `column-stacked-100`, the same three of `bar`, `line`, `line-markers`, `area`, `area-stacked`, `area-stacked-100`, `pie`, `doughnut`, and XY's `scatter`, `scatter-lines` and `scatter-smooth`, each series with an `x` beside its `values`, or with `data`, `categories` naming the column across. There is no 3D, bubble, radar or second axis. Its numbers are written in it, or read from a project file, so a slide shows what the sheet says:
148
148
 
149
149
  ```yaml
150
150
  revenue:
151
151
  frame: { x: 80, y: 120, w: 640, h: 340 }
152
152
  chart:
153
153
  type: column-clustered
154
- data: ../sales/sheet.csv # from the deck's folder: a sheet's CSV, a CSV, or a data file of rows
154
+ data: ../sales#revenue # from the deck's folder: a sheet's table (<sheet>#<table>), a CSV, or a data file of rows
155
155
  categories: Quarter # the column of names
156
156
  series: [Revenue, { name: Cost, color: accent3 }] # the columns of numbers
157
157
  legend: bottom
@@ -171,13 +171,13 @@ Without `data`, `categories` is a list of names and each series has its `values`
171
171
  | `size`, `title_size`, `color` | 12, 14.4, `dk1` | Its text's points, its title's, and their colour |
172
172
  | a series' `color`, `format`, `smooth`, `line_width`, `marker_size` | the accents in turn, `General`, off, 2.25, 5 | |
173
173
 
174
- In code, `shapes.add_chart(XL_CHART_TYPE.X, left, top, width, height, chart_data)` makes one from a `CategoryChartData`, as python-pptx's does, with its `.chart`. A scale left automatic is PowerPoint's in the file and drawn here by the same rules, so a number a person changes moves it; set `min`, `max` and `major` to fix it. Where the plot sits is written in the file, so every app puts it where the stage does. `allyhub inspect --kind chart-data` lists each chart's numbers and the file they came from.
174
+ In code, `shapes.add_chart(XL_CHART_TYPE.X, left, top, width, height, chart_data)` makes one from a `CategoryChartData`, or an `XyChartData` (`add_series(name)`, `add_data_point(x, y)`), as python-pptx's does, with its `.chart`. A scale left automatic is PowerPoint's in the file and drawn here by the same rules, so a number a person changes moves it; set `min`, `max` and `major` to fix it. Where the plot sits is written in the file, so every app puts it where the stage does. `allyhub inspect --kind chart-data` lists each chart's numbers and the file they came from.
175
175
 
176
176
  What `slides.yaml` names that the deck does not have (a layout, a generator, a component or its prop, a shape to change or animate, a file) is AK-M011, at its line.
177
177
 
178
178
  ## The script
179
179
 
180
- A deck's script has a row per slide under `slides`: its `text` by shape name (a placeholder's or a text box's; a list is paragraphs, a list in it a level deeper; `**bold**`, `*italic*`, `` `code` ``, in the theme's `code` font, `<span color="accent1" font="Inter Tight">words</span>`, in a theme colour or `#RRGGBB`, a font of their own, or both, are runs, as in a doc) and its `notes`. A key is `<prefix>.<slide>.<shape>` (the prefix is the deck's id with `/` as `.`), `<prefix>.<slide>.notes`. A placeholder with no words in the script is empty, and an empty placeholder is not drawn.
180
+ A deck's script has a row per slide under `slides`: its `text` by shape name (a placeholder's or a text box's; a list is paragraphs, a list in it a level deeper; `**bold**`, `*italic*`, `` `code` ``, in the theme's `code` font, `<span color="accent1" font="Inter Tight">words</span>`, in a theme colour or `#RRGGBB`, a font of their own, or both, are runs, as in a doc; a span also takes `link="https://…"`, `strike="true"`, `highlight="#FFFF00"` and `baseline="0.3"`, raised or, below 0, lowered, a share of the size. A slide number placeholder writes its own text, a number PowerPoint keeps up to date) and its `notes`. A key is `<prefix>.<slide>.<shape>` (the prefix is the deck's id with `/` as `.`), `<prefix>.<slide>.notes`. A placeholder with no words in the script is empty, and an empty placeholder is not drawn.
181
181
 
182
182
  ## What a person changes in the editor
183
183
 
package/docs/speech.md CHANGED
@@ -101,7 +101,7 @@ export default video({
101
101
 
102
102
  ## `say(text, opts?)`
103
103
 
104
- Text to speech. `allyhub voice` makes the missing files with the cloud voice tool, each in `assets/media/gen/say/<hash>` with its words and its record (`--dry-run` lists them first, with their characters; each tool's description says what it costs). A `say` without its file is AK-T002; until it has one, the part lasts about as long as the line takes to say (`SPEECH_RATE_DEFAULTS`: 0.38 s a word, 0.22 s a Chinese, Japanese or Korean character; at least 1 s), and its anchors are placed in proportion along the line.
104
+ Text to speech. `allyhub voice` makes the missing files with the cloud voice tool, each in `assets/media/gen/say/<hash>` with its words and its record (each tool's description says what it costs). A `say` without its file is AK-T002; until it has one, the part lasts about as long as the line takes to say (`SPEECH_RATE_DEFAULTS`: 0.38 s a word, 0.22 s a Chinese, Japanese or Korean character; at least 1 s), and its anchors are placed in proportion along the line.
105
105
 
106
106
  - `voice`: the voice tool's voice id; default the tool's own.
107
107
  - `tool`: the voice tool; default `"speech-elevenlabs-multilingual-v2"` (`allyhub help ai <tool>` lists its input).