@allyhub/sdk 0.3.0 → 0.5.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 (564) hide show
  1. package/dist/free.d.ts +2 -2
  2. package/dist/index.d.ts +2 -9
  3. package/dist/index.js +1 -1
  4. package/dist/module.d.ts +2 -3
  5. package/dist/module.js +1 -1
  6. package/{node_modules → dist/node_modules}/@allyhub-next/audio/package.json +1 -1
  7. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.d.ts +31 -0
  8. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +3 -0
  9. package/dist/node_modules/@allyhub-next/chart/dist/chart.d.ts +195 -0
  10. package/dist/node_modules/@allyhub-next/chart/dist/chart.js +2 -0
  11. package/dist/node_modules/@allyhub-next/chart/dist/index.d.ts +3 -0
  12. package/dist/node_modules/@allyhub-next/chart/dist/index.js +2 -0
  13. package/dist/node_modules/@allyhub-next/chart/package.json +14 -0
  14. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/reference.d.ts +0 -86
  15. package/dist/node_modules/@allyhub-next/formats/dist/data/reference.js +2 -0
  16. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/script.d.ts +22 -0
  17. package/dist/node_modules/@allyhub-next/formats/dist/data/script.js +2 -0
  18. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +4908 -0
  19. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.js +2 -0
  20. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.d.ts +1497 -0
  21. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +2 -0
  22. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/index.d.ts +3 -0
  23. package/dist/node_modules/@allyhub-next/formats/dist/index.js +2 -0
  24. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/items.d.ts +22 -1
  25. package/dist/node_modules/@allyhub-next/formats/dist/items.js +2 -0
  26. package/dist/node_modules/@allyhub-next/formats/dist/note-shape.d.ts +39 -0
  27. package/dist/node_modules/@allyhub-next/formats/dist/note-shape.js +2 -0
  28. package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +2146 -0
  29. package/dist/node_modules/@allyhub-next/formats/dist/schemas.js +2 -0
  30. package/dist/node_modules/@allyhub-next/formats/dist/strict.d.ts +28 -0
  31. package/dist/node_modules/@allyhub-next/formats/dist/strict.js +2 -0
  32. package/{node_modules → dist/node_modules}/@allyhub-next/formats/package.json +1 -1
  33. package/dist/node_modules/@allyhub-next/protocol/dist/app.d.ts +37 -0
  34. package/dist/node_modules/@allyhub-next/protocol/dist/app.js +2 -0
  35. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/auth.d.ts +0 -17
  36. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/auth.js +1 -1
  37. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cli.d.ts +0 -4
  38. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cli.js +1 -1
  39. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/editor.d.ts +17 -24
  40. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/editor.js +1 -1
  41. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/index.d.ts +1 -0
  42. package/dist/node_modules/@allyhub-next/protocol/dist/index.js +2 -0
  43. package/dist/node_modules/@allyhub-next/protocol/dist/notes.d.ts +165 -0
  44. package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +2 -0
  45. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/registry.d.ts +1 -1
  46. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/runtimes.d.ts +3 -0
  47. package/dist/node_modules/@allyhub-next/protocol/dist/runtimes.js +2 -0
  48. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/tools.d.ts +43 -0
  49. package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +2 -0
  50. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/package.json +1 -1
  51. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/errors.d.ts +5 -1
  52. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/index.d.ts +1 -0
  53. package/dist/node_modules/@allyhub-next/runtimes/dist/index.js +2 -0
  54. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/lock.d.ts +2 -0
  55. package/dist/node_modules/@allyhub-next/runtimes/dist/lock.js +2 -0
  56. package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.d.ts +3 -0
  57. package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.js +2 -0
  58. package/dist/node_modules/@allyhub-next/runtimes/dist/packages.d.ts +65 -0
  59. package/dist/node_modules/@allyhub-next/runtimes/dist/packages.js +4 -0
  60. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/runtimes.d.ts +6 -0
  61. package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.js +4 -0
  62. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/unpack.d.ts +7 -0
  63. package/dist/node_modules/@allyhub-next/runtimes/dist/unpack.js +2 -0
  64. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/package.json +5 -1
  65. package/dist/node_modules/@allyhub-next/runtimes/pins/docx/package-lock.json +67 -0
  66. package/dist/node_modules/@allyhub-next/runtimes/pins/docx/package.json +9 -0
  67. package/dist/node_modules/@allyhub-next/runtimes/pins/gltf-tools/package-lock.json +753 -0
  68. package/dist/node_modules/@allyhub-next/runtimes/pins/gltf-tools/package.json +14 -0
  69. package/dist/node_modules/@allyhub-next/runtimes/pins/manifold-3d/package-lock.json +950 -0
  70. package/dist/node_modules/@allyhub-next/runtimes/pins/manifold-3d/package.json +8 -0
  71. package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package-lock.json +227 -0
  72. package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package.json +8 -0
  73. package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package-lock.json +105 -0
  74. package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package.json +8 -0
  75. package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package-lock.json +128 -0
  76. package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package.json +9 -0
  77. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/schemas/runtimes.schema.json +5 -24
  78. package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/moire.d.ts +7 -0
  79. package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/phone.d.ts +3 -1
  80. package/dist/node_modules/@allyhub-next/scenery/dist/phone.js +2 -0
  81. package/{node_modules → dist/node_modules}/@allyhub-next/scenery/package.json +1 -1
  82. package/dist/node_modules/@allyhub-next/sheet/LICENSE +241 -0
  83. package/dist/node_modules/@allyhub-next/sheet/dist/address.d.ts +32 -0
  84. package/dist/node_modules/@allyhub-next/sheet/dist/address.js +2 -0
  85. package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.d.ts +23 -0
  86. package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +2 -0
  87. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.d.ts +204 -0
  88. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.js +2 -0
  89. package/dist/node_modules/@allyhub-next/sheet/dist/api/code.d.ts +19 -0
  90. package/dist/node_modules/@allyhub-next/sheet/dist/api/code.js +2 -0
  91. package/dist/node_modules/@allyhub-next/sheet/dist/api/hint.d.ts +3 -0
  92. package/dist/node_modules/@allyhub-next/sheet/dist/api/hint.js +2 -0
  93. package/dist/node_modules/@allyhub-next/sheet/dist/api/index.d.ts +7 -0
  94. package/dist/node_modules/@allyhub-next/sheet/dist/api/index.js +2 -0
  95. package/dist/node_modules/@allyhub-next/sheet/dist/api/rectangles.d.ts +4 -0
  96. package/dist/node_modules/@allyhub-next/sheet/dist/api/rectangles.js +2 -0
  97. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.d.ts +170 -0
  98. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.js +2 -0
  99. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.d.ts +117 -0
  100. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.js +2 -0
  101. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.d.ts +323 -0
  102. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +2 -0
  103. package/dist/node_modules/@allyhub-next/sheet/dist/arrange.d.ts +68 -0
  104. package/dist/node_modules/@allyhub-next/sheet/dist/arrange.js +2 -0
  105. package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.d.ts +21 -0
  106. package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.js +2 -0
  107. package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.d.ts +19 -0
  108. package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.js +2 -0
  109. package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.d.ts +152 -0
  110. package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.js +2 -0
  111. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.d.ts +2 -0
  112. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.js +2 -0
  113. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.d.ts +15 -0
  114. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.js +2 -0
  115. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.d.ts +2 -0
  116. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.js +2 -0
  117. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.d.ts +2 -0
  118. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.js +2 -0
  119. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.d.ts +69 -0
  120. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.js +2 -0
  121. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/distributions.d.ts +2 -0
  122. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/distributions.js +2 -0
  123. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.d.ts +2 -0
  124. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.js +2 -0
  125. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.d.ts +2 -0
  126. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.js +2 -0
  127. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.d.ts +15 -0
  128. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.js +2 -0
  129. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.d.ts +2 -0
  130. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.js +2 -0
  131. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.d.ts +2 -0
  132. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.js +2 -0
  133. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.d.ts +2 -0
  134. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.js +2 -0
  135. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.d.ts +2 -0
  136. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.js +2 -0
  137. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.d.ts +2 -0
  138. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.js +2 -0
  139. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/special.d.ts +29 -0
  140. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/special.js +2 -0
  141. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.d.ts +2 -0
  142. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.js +2 -0
  143. package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.d.ts +50 -0
  144. package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.js +2 -0
  145. package/dist/node_modules/@allyhub-next/sheet/dist/chart.d.ts +58 -0
  146. package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +2 -0
  147. package/dist/node_modules/@allyhub-next/sheet/dist/check.d.ts +15 -0
  148. package/dist/node_modules/@allyhub-next/sheet/dist/check.js +2 -0
  149. package/dist/node_modules/@allyhub-next/sheet/dist/csv.d.ts +62 -0
  150. package/dist/node_modules/@allyhub-next/sheet/dist/csv.js +12 -0
  151. package/dist/node_modules/@allyhub-next/sheet/dist/diff.d.ts +64 -0
  152. package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +2 -0
  153. package/dist/node_modules/@allyhub-next/sheet/dist/edit.d.ts +154 -0
  154. package/dist/node_modules/@allyhub-next/sheet/dist/edit.js +2 -0
  155. package/dist/node_modules/@allyhub-next/sheet/dist/export.d.ts +11 -0
  156. package/dist/node_modules/@allyhub-next/sheet/dist/export.js +6 -0
  157. package/dist/node_modules/@allyhub-next/sheet/dist/file.d.ts +19 -0
  158. package/dist/node_modules/@allyhub-next/sheet/dist/file.js +3 -0
  159. package/dist/node_modules/@allyhub-next/sheet/dist/files.d.ts +24 -0
  160. package/dist/node_modules/@allyhub-next/sheet/dist/files.js +2 -0
  161. package/dist/node_modules/@allyhub-next/sheet/dist/fill.d.ts +30 -0
  162. package/dist/node_modules/@allyhub-next/sheet/dist/fill.js +2 -0
  163. package/dist/node_modules/@allyhub-next/sheet/dist/filter.d.ts +29 -0
  164. package/dist/node_modules/@allyhub-next/sheet/dist/filter.js +2 -0
  165. package/dist/node_modules/@allyhub-next/sheet/dist/format.d.ts +9 -0
  166. package/dist/node_modules/@allyhub-next/sheet/dist/format.js +2 -0
  167. package/dist/node_modules/@allyhub-next/sheet/dist/formula/ast.d.ts +113 -0
  168. package/dist/node_modules/@allyhub-next/sheet/dist/formula/ast.js +2 -0
  169. package/dist/node_modules/@allyhub-next/sheet/dist/formula/move.d.ts +6 -0
  170. package/dist/node_modules/@allyhub-next/sheet/dist/formula/move.js +2 -0
  171. package/dist/node_modules/@allyhub-next/sheet/dist/formula/parse.d.ts +4 -0
  172. package/dist/node_modules/@allyhub-next/sheet/dist/formula/parse.js +2 -0
  173. package/dist/node_modules/@allyhub-next/sheet/dist/formula/print.d.ts +6 -0
  174. package/dist/node_modules/@allyhub-next/sheet/dist/formula/print.js +2 -0
  175. package/dist/node_modules/@allyhub-next/sheet/dist/formula/rewrite.d.ts +65 -0
  176. package/dist/node_modules/@allyhub-next/sheet/dist/formula/rewrite.js +2 -0
  177. package/dist/node_modules/@allyhub-next/sheet/dist/formula/walk.d.ts +6 -0
  178. package/dist/node_modules/@allyhub-next/sheet/dist/formula/walk.js +2 -0
  179. package/dist/node_modules/@allyhub-next/sheet/dist/generated.d.ts +46 -0
  180. package/dist/node_modules/@allyhub-next/sheet/dist/generated.js +2 -0
  181. package/dist/node_modules/@allyhub-next/sheet/dist/html.d.ts +34 -0
  182. package/dist/node_modules/@allyhub-next/sheet/dist/html.js +20 -0
  183. package/dist/node_modules/@allyhub-next/sheet/dist/import.d.ts +11 -0
  184. package/dist/node_modules/@allyhub-next/sheet/dist/import.js +2 -0
  185. package/dist/node_modules/@allyhub-next/sheet/dist/index.d.ts +38 -0
  186. package/dist/node_modules/@allyhub-next/sheet/dist/index.js +2 -0
  187. package/dist/node_modules/@allyhub-next/sheet/dist/inspect.d.ts +25 -0
  188. package/dist/node_modules/@allyhub-next/sheet/dist/inspect.js +2 -0
  189. package/dist/node_modules/@allyhub-next/sheet/dist/patch.d.ts +4 -0
  190. package/dist/node_modules/@allyhub-next/sheet/dist/patch.js +2 -0
  191. package/dist/node_modules/@allyhub-next/sheet/dist/profile.d.ts +30 -0
  192. package/dist/node_modules/@allyhub-next/sheet/dist/profile.js +2 -0
  193. package/dist/node_modules/@allyhub-next/sheet/dist/rules.d.ts +56 -0
  194. package/dist/node_modules/@allyhub-next/sheet/dist/rules.js +2 -0
  195. package/dist/node_modules/@allyhub-next/sheet/dist/scenario.d.ts +42 -0
  196. package/dist/node_modules/@allyhub-next/sheet/dist/scenario.js +2 -0
  197. package/dist/node_modules/@allyhub-next/sheet/dist/series.d.ts +10 -0
  198. package/dist/node_modules/@allyhub-next/sheet/dist/series.js +2 -0
  199. package/dist/node_modules/@allyhub-next/sheet/dist/sort.d.ts +24 -0
  200. package/dist/node_modules/@allyhub-next/sheet/dist/sort.js +2 -0
  201. package/dist/node_modules/@allyhub-next/sheet/dist/structure.d.ts +38 -0
  202. package/dist/node_modules/@allyhub-next/sheet/dist/structure.js +2 -0
  203. package/dist/node_modules/@allyhub-next/sheet/dist/validate.d.ts +26 -0
  204. package/dist/node_modules/@allyhub-next/sheet/dist/validate.js +2 -0
  205. package/dist/node_modules/@allyhub-next/sheet/dist/values.d.ts +67 -0
  206. package/dist/node_modules/@allyhub-next/sheet/dist/values.js +2 -0
  207. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +315 -0
  208. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +2 -0
  209. package/dist/node_modules/@allyhub-next/sheet/dist/write.d.ts +5 -0
  210. package/dist/node_modules/@allyhub-next/sheet/dist/write.js +21 -0
  211. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +42 -0
  212. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +2 -0
  213. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/colors.d.ts +19 -0
  214. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/colors.js +2 -0
  215. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.d.ts +21 -0
  216. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.js +4 -0
  217. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.d.ts +5 -0
  218. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.js +17 -0
  219. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +44 -0
  220. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +2 -0
  221. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/index.d.ts +5 -0
  222. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/index.js +2 -0
  223. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/numfmt.d.ts +8 -0
  224. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/numfmt.js +2 -0
  225. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +117 -0
  226. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +2 -0
  227. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.d.ts +23 -0
  228. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.js +2 -0
  229. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/theme.d.ts +3 -0
  230. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/theme.js +2 -0
  231. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.d.ts +17 -0
  232. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +2 -0
  233. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/xml.d.ts +28 -0
  234. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/xml.js +3 -0
  235. package/dist/node_modules/@allyhub-next/sheet/package.json +21 -0
  236. package/dist/node_modules/@allyhub-next/slides-core/LICENSE +241 -0
  237. package/dist/node_modules/@allyhub-next/slides-core/dist/animation.d.ts +129 -0
  238. package/dist/node_modules/@allyhub-next/slides-core/dist/animation.js +2 -0
  239. package/dist/node_modules/@allyhub-next/slides-core/dist/api.d.ts +649 -0
  240. package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +4 -0
  241. package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.d.ts +18 -0
  242. package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.js +2 -0
  243. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.d.ts +165 -0
  244. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +2 -0
  245. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.d.ts +11 -0
  246. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +2 -0
  247. package/dist/node_modules/@allyhub-next/slides-core/dist/check.d.ts +7 -0
  248. package/dist/node_modules/@allyhub-next/slides-core/dist/check.js +2 -0
  249. package/dist/node_modules/@allyhub-next/slides-core/dist/enums.d.ts +146 -0
  250. package/dist/node_modules/@allyhub-next/slides-core/dist/enums.js +2 -0
  251. package/dist/node_modules/@allyhub-next/slides-core/dist/file.d.ts +109 -0
  252. package/dist/node_modules/@allyhub-next/slides-core/dist/file.js +4 -0
  253. package/dist/node_modules/@allyhub-next/slides-core/dist/index.d.ts +21 -0
  254. package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +2 -0
  255. package/dist/node_modules/@allyhub-next/slides-core/dist/measure.d.ts +34 -0
  256. package/dist/node_modules/@allyhub-next/slides-core/dist/measure.js +2 -0
  257. package/dist/node_modules/@allyhub-next/slides-core/dist/model.d.ts +275 -0
  258. package/dist/node_modules/@allyhub-next/slides-core/dist/office.d.ts +58 -0
  259. package/dist/node_modules/@allyhub-next/slides-core/dist/office.js +2 -0
  260. package/dist/node_modules/@allyhub-next/slides-core/dist/path.d.ts +6 -0
  261. package/dist/node_modules/@allyhub-next/slides-core/dist/path.js +2 -0
  262. package/dist/node_modules/@allyhub-next/slides-core/dist/placeholders.d.ts +7 -0
  263. package/dist/node_modules/@allyhub-next/slides-core/dist/placeholders.js +2 -0
  264. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.d.ts +181 -0
  265. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +2 -0
  266. package/dist/node_modules/@allyhub-next/slides-core/dist/script.d.ts +43 -0
  267. package/dist/node_modules/@allyhub-next/slides-core/dist/script.js +3 -0
  268. package/dist/node_modules/@allyhub-next/slides-core/dist/stage.d.ts +63 -0
  269. package/dist/node_modules/@allyhub-next/slides-core/dist/stage.js +2 -0
  270. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +7 -0
  271. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +2 -0
  272. package/dist/node_modules/@allyhub-next/slides-core/dist/theme.d.ts +72 -0
  273. package/dist/node_modules/@allyhub-next/slides-core/dist/theme.js +2 -0
  274. package/dist/node_modules/@allyhub-next/slides-core/dist/units.d.ts +35 -0
  275. package/dist/node_modules/@allyhub-next/slides-core/dist/units.js +2 -0
  276. package/dist/node_modules/@allyhub-next/slides-core/package.json +14 -0
  277. package/dist/node_modules/@allyhub-next/video-core/LICENSE +241 -0
  278. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/export.d.ts +6 -5
  279. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/export.js +1 -1
  280. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/fact.d.ts +180 -5
  281. package/dist/node_modules/@allyhub-next/video-core/dist/fact.js +2 -0
  282. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/formats.d.ts +6 -41
  283. package/dist/node_modules/@allyhub-next/video-core/dist/formats.js +2 -0
  284. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/index.d.ts +0 -1
  285. package/dist/node_modules/@allyhub-next/video-core/dist/index.js +2 -0
  286. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/measure.d.ts +93 -0
  287. package/dist/node_modules/@allyhub-next/video-core/dist/measure.js +5 -0
  288. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/piece.d.ts +8 -9
  289. package/dist/node_modules/@allyhub-next/video-core/dist/piece.js +2 -0
  290. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/problem.d.ts +10 -2
  291. package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +2 -0
  292. package/dist/node_modules/@allyhub-next/video-core/dist/render-types.js +2 -0
  293. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/schema.d.ts +0 -2
  294. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script-edit.d.ts +4 -0
  295. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script.d.ts +8 -0
  296. package/dist/node_modules/@allyhub-next/video-core/dist/script.js +2 -0
  297. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timeline.d.ts +34 -1
  298. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/package.json +1 -1
  299. package/dist/parts.d.ts +2 -2
  300. package/dist/phone.js +1 -1
  301. package/dist/piece.d.ts +7 -32
  302. package/dist/piece.js +1 -1
  303. package/dist/props.d.ts +53 -10
  304. package/dist/sheets.d.ts +2 -0
  305. package/dist/sheets.js +2 -0
  306. package/dist/slides.d.ts +8 -0
  307. package/dist/slides.js +2 -0
  308. package/docs/README.md +3 -3
  309. package/docs/batches.md +2 -2
  310. package/docs/defaults.md +107 -3
  311. package/docs/docs.md +1 -1
  312. package/docs/project.md +6 -6
  313. package/docs/scenery.md +1 -1
  314. package/docs/sheets.md +377 -84
  315. package/docs/slides.md +182 -80
  316. package/docs/speech.md +1 -1
  317. package/package.json +17 -18
  318. package/node_modules/@allyhub-next/formats/dist/data/reference.js +0 -2
  319. package/node_modules/@allyhub-next/formats/dist/data/script.js +0 -2
  320. package/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +0 -214
  321. package/node_modules/@allyhub-next/formats/dist/data/sheet.js +0 -2
  322. package/node_modules/@allyhub-next/formats/dist/index.js +0 -2
  323. package/node_modules/@allyhub-next/formats/dist/items.js +0 -2
  324. package/node_modules/@allyhub-next/formats/dist/schemas.d.ts +0 -301
  325. package/node_modules/@allyhub-next/formats/dist/schemas.js +0 -2
  326. package/node_modules/@allyhub-next/protocol/dist/app.d.ts +0 -101
  327. package/node_modules/@allyhub-next/protocol/dist/app.js +0 -2
  328. package/node_modules/@allyhub-next/protocol/dist/index.js +0 -2
  329. package/node_modules/@allyhub-next/protocol/dist/runtimes.js +0 -2
  330. package/node_modules/@allyhub-next/protocol/dist/tools.js +0 -2
  331. package/node_modules/@allyhub-next/runtimes/dist/index.js +0 -2
  332. package/node_modules/@allyhub-next/runtimes/dist/lock.js +0 -2
  333. package/node_modules/@allyhub-next/runtimes/dist/runtimes.js +0 -3
  334. package/node_modules/@allyhub-next/runtimes/dist/unpack.js +0 -2
  335. package/node_modules/@allyhub-next/scenery/dist/phone.js +0 -2
  336. package/node_modules/@allyhub-next/video-core/dist/fact.js +0 -2
  337. package/node_modules/@allyhub-next/video-core/dist/formats.js +0 -2
  338. package/node_modules/@allyhub-next/video-core/dist/index.js +0 -2
  339. package/node_modules/@allyhub-next/video-core/dist/measure.js +0 -5
  340. package/node_modules/@allyhub-next/video-core/dist/piece.js +0 -2
  341. package/node_modules/@allyhub-next/video-core/dist/problem.js +0 -2
  342. package/node_modules/@allyhub-next/video-core/dist/script.js +0 -2
  343. package/node_modules/@allyhub-next/video-core/dist/slides.d.ts +0 -37
  344. package/node_modules/@allyhub-next/video-core/dist/slides.js +0 -2
  345. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/LICENSE +0 -0
  346. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/at-cut.d.ts +0 -0
  347. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/at-cut.js +0 -0
  348. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/decode.d.ts +0 -0
  349. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/decode.js +0 -0
  350. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/envelope.d.ts +0 -0
  351. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/envelope.js +0 -0
  352. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/index.d.ts +0 -0
  353. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/index.js +0 -0
  354. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/levels.d.ts +0 -0
  355. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/levels.js +0 -0
  356. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/master.d.ts +0 -0
  357. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/master.js +0 -0
  358. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/music.d.ts +0 -0
  359. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/music.js +0 -0
  360. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/decode.d.ts +0 -0
  361. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/decode.js +0 -0
  362. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ebur128.d.ts +0 -0
  363. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ebur128.js +0 -0
  364. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ffmpeg.d.ts +0 -0
  365. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ffmpeg.js +0 -0
  366. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/index.d.ts +0 -0
  367. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/index.js +0 -0
  368. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/loudness.d.ts +0 -0
  369. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/loudness.js +0 -0
  370. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/master.d.ts +0 -0
  371. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/master.js +0 -0
  372. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/measure.d.ts +0 -0
  373. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/measure.js +0 -0
  374. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/mix.d.ts +0 -0
  375. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/mix.js +0 -0
  376. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/plan.d.ts +0 -0
  377. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/plan.js +0 -0
  378. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recorded.d.ts +0 -0
  379. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recorded.js +0 -0
  380. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/bandwidth.d.ts +0 -0
  381. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/bandwidth.js +0 -0
  382. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/chain.d.ts +0 -0
  383. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/chain.js +0 -0
  384. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/dynamics.d.ts +0 -0
  385. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/dynamics.js +0 -0
  386. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fft.d.ts +0 -0
  387. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fft.js +0 -0
  388. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/filters.d.ts +0 -0
  389. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/filters.js +0 -0
  390. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fit.d.ts +0 -0
  391. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fit.js +0 -0
  392. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/index.d.ts +0 -0
  393. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/index.js +0 -0
  394. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/loudness.d.ts +0 -0
  395. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/loudness.js +0 -0
  396. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/measure.d.ts +0 -0
  397. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/measure.js +0 -0
  398. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/mic.d.ts +0 -0
  399. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/mic.js +0 -0
  400. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/noise.d.ts +0 -0
  401. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/noise.js +0 -0
  402. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/presets.d.ts +0 -0
  403. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/presets.js +0 -0
  404. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/room.d.ts +0 -0
  405. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/room.js +0 -0
  406. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/setup.d.ts +0 -0
  407. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/setup.js +0 -0
  408. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/vec.d.ts +0 -0
  409. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/vec.js +0 -0
  410. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/render.d.ts +0 -0
  411. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/render.js +0 -0
  412. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/sfx.d.ts +0 -0
  413. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/sfx.js +0 -0
  414. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/shape.d.ts +0 -0
  415. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/shape.js +0 -0
  416. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/voice.d.ts +0 -0
  417. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/voice.js +0 -0
  418. /package/{node_modules/@allyhub-next/formats → dist/node_modules/@allyhub-next/chart}/LICENSE +0 -0
  419. /package/{node_modules/@allyhub-next/protocol → dist/node_modules/@allyhub-next/formats}/LICENSE +0 -0
  420. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/comments.d.ts +0 -0
  421. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/comments.js +0 -0
  422. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/config.d.ts +0 -0
  423. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/config.js +0 -0
  424. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/edits.d.ts +0 -0
  425. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/edits.js +0 -0
  426. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/elements.d.ts +0 -0
  427. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/elements.js +0 -0
  428. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/faces.d.ts +0 -0
  429. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/faces.js +0 -0
  430. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/file.d.ts +0 -0
  431. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/file.js +0 -0
  432. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/gen.d.ts +0 -0
  433. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/gen.js +0 -0
  434. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/messages.d.ts +0 -0
  435. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/messages.js +0 -0
  436. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/words.d.ts +0 -0
  437. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/words.js +0 -0
  438. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/layout.d.ts +0 -0
  439. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/layout.js +0 -0
  440. /package/{node_modules/@allyhub-next/runtimes → dist/node_modules/@allyhub-next/protocol}/LICENSE +0 -0
  441. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cloud.d.ts +0 -0
  442. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cloud.js +0 -0
  443. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/files.d.ts +0 -0
  444. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/files.js +0 -0
  445. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/jsonrpc.d.ts +0 -0
  446. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/jsonrpc.js +0 -0
  447. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/registry.js +0 -0
  448. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/routes.d.ts +0 -0
  449. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/routes.js +0 -0
  450. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/teams.d.ts +0 -0
  451. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/teams.js +0 -0
  452. /package/{node_modules/@allyhub-next/scenery → dist/node_modules/@allyhub-next/runtimes}/LICENSE +0 -0
  453. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/bundled.d.ts +0 -0
  454. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/bundled.js +0 -0
  455. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/download.d.ts +0 -0
  456. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/download.js +0 -0
  457. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/errors.js +0 -0
  458. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/home.d.ts +0 -0
  459. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/home.js +0 -0
  460. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/manifest.d.ts +0 -0
  461. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/manifest.js +0 -0
  462. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/manifest.json +0 -0
  463. /package/{node_modules/@allyhub-next/video-core → dist/node_modules/@allyhub-next/scenery}/LICENSE +0 -0
  464. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/NOTICE +0 -0
  465. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/aim.d.ts +0 -0
  466. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/aim.js +0 -0
  467. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/bake.d.ts +0 -0
  468. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/bake.js +0 -0
  469. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/camera.d.ts +0 -0
  470. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/camera.js +0 -0
  471. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/curve.d.ts +0 -0
  472. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/curve.js +0 -0
  473. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/define.d.ts +0 -0
  474. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/define.js +0 -0
  475. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/fit.d.ts +0 -0
  476. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/fit.js +0 -0
  477. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/glass.d.ts +0 -0
  478. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/glass.js +0 -0
  479. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/handheld.d.ts +0 -0
  480. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/handheld.js +0 -0
  481. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/hull.d.ts +0 -0
  482. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/hull.js +0 -0
  483. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/index.d.ts +0 -0
  484. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/index.js +0 -0
  485. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/lens.d.ts +0 -0
  486. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/lens.js +0 -0
  487. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/moire.js +0 -0
  488. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/motion.d.ts +0 -0
  489. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/motion.js +0 -0
  490. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/move.d.ts +0 -0
  491. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/move.js +0 -0
  492. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/noise.d.ts +0 -0
  493. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/noise.js +0 -0
  494. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/report.d.ts +0 -0
  495. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/report.js +0 -0
  496. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen-focus.d.ts +0 -0
  497. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen-focus.js +0 -0
  498. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen.d.ts +0 -0
  499. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen.js +0 -0
  500. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/solve.d.ts +0 -0
  501. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/solve.js +0 -0
  502. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/timing.d.ts +0 -0
  503. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/timing.js +0 -0
  504. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/vec.d.ts +0 -0
  505. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/vec.js +0 -0
  506. /package/{node_modules/@allyhub-next/video-core/dist/render-types.js → dist/node_modules/@allyhub-next/slides-core/dist/model.js} +0 -0
  507. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/anchors.d.ts +0 -0
  508. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/anchors.js +0 -0
  509. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/audio-types.d.ts +0 -0
  510. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/audio-types.js +0 -0
  511. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/backdrop.d.ts +0 -0
  512. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/backdrop.js +0 -0
  513. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/captions.d.ts +0 -0
  514. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/captions.js +0 -0
  515. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/console.d.ts +0 -0
  516. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/console.js +0 -0
  517. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/contrast.d.ts +0 -0
  518. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/contrast.js +0 -0
  519. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/cut-report.d.ts +0 -0
  520. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/cut-report.js +0 -0
  521. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edit.d.ts +0 -0
  522. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edit.js +0 -0
  523. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edits.d.ts +0 -0
  524. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edits.js +0 -0
  525. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/footage-motion.d.ts +0 -0
  526. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/footage-motion.js +0 -0
  527. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/gen.d.ts +0 -0
  528. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/gen.js +0 -0
  529. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/look.d.ts +0 -0
  530. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/look.js +0 -0
  531. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/marks.d.ts +0 -0
  532. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/marks.js +0 -0
  533. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/matrix.d.ts +0 -0
  534. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/matrix.js +0 -0
  535. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/media.d.ts +0 -0
  536. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/media.js +0 -0
  537. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/messages.d.ts +0 -0
  538. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/messages.js +0 -0
  539. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/motion.d.ts +0 -0
  540. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/motion.js +0 -0
  541. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/music.d.ts +0 -0
  542. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/music.js +0 -0
  543. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/placement.d.ts +0 -0
  544. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/placement.js +0 -0
  545. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/render-types.d.ts +0 -0
  546. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/schema.js +0 -0
  547. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script-edit.js +0 -0
  548. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/seams.d.ts +0 -0
  549. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/seams.js +0 -0
  550. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/sound-under.d.ts +0 -0
  551. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/sound-under.js +0 -0
  552. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/speech.d.ts +0 -0
  553. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/speech.js +0 -0
  554. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timeline.js +0 -0
  555. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timing.d.ts +0 -0
  556. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timing.js +0 -0
  557. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transcript.d.ts +0 -0
  558. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transcript.js +0 -0
  559. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transition.d.ts +0 -0
  560. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transition.js +0 -0
  561. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/voice.d.ts +0 -0
  562. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/voice.js +0 -0
  563. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/words.d.ts +0 -0
  564. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/words.js +0 -0
@@ -62,6 +62,7 @@ export declare const draftEdit: {
62
62
  parts: ScriptPart[];
63
63
  title?: string;
64
64
  text?: Record<string, ScriptText>;
65
+ slides?: import("./script.js").ScriptSlide[];
65
66
  };
66
67
  id: string;
67
68
  };
@@ -84,6 +85,7 @@ export declare const draftEdit: {
84
85
  parts: ScriptPart[];
85
86
  title?: string;
86
87
  text?: Record<string, ScriptText>;
88
+ slides?: import("./script.js").ScriptSlide[];
87
89
  };
88
90
  caret: undefined;
89
91
  };
@@ -99,6 +101,7 @@ export declare const draftEdit: {
99
101
  parts: ScriptPart[];
100
102
  title?: string;
101
103
  text?: Record<string, ScriptText>;
104
+ slides?: import("./script.js").ScriptSlide[];
102
105
  };
103
106
  caret: {
104
107
  id: string;
@@ -119,6 +122,7 @@ export declare const draftEdit: {
119
122
  parts: ScriptPart[];
120
123
  title?: string;
121
124
  text?: Record<string, ScriptText>;
125
+ slides?: import("./script.js").ScriptSlide[];
122
126
  };
123
127
  id: string;
124
128
  };
@@ -15,12 +15,20 @@ export interface ScriptPart {
15
15
  /** What it shows, by name. */
16
16
  screen?: Record<string, ScriptText>;
17
17
  }
18
+ /** A deck's slide in its script: its shapes' words by name, and its notes. */
19
+ export interface ScriptSlide {
20
+ id: string;
21
+ text?: Record<string, ScriptText>;
22
+ notes?: string | VariantsMessage;
23
+ }
18
24
  export interface ScriptFile {
19
25
  title?: string;
20
26
  /** The item's words that belong to no part, by name. */
21
27
  text?: Record<string, ScriptText>;
22
28
  /** In the order they are told; the piece's code decides the video's. */
23
29
  parts: ScriptPart[];
30
+ /** A deck's slides; its slides.yaml decides their order. */
31
+ slides?: ScriptSlide[];
24
32
  }
25
33
  /** Where a value sits in the script's document: ["parts", 0, "screen", "line1"]. */
26
34
  export type ScriptPath = (string | number)[];
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{hasAnchors as k,hasSpans as A,readAnchors as $,spokenLine as j}from"./anchors.js";import{isSpoken as x}from"./messages.js";export const SCRIPT_FILE=/^script\.([a-z]{2,3}(?:-[a-z0-9]{2,8})?)\.ya?ml$/;const g=/^[A-Za-z0-9_-]+$/,b=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),O=e=>e.length===0?"(root)":e.map((r,s)=>typeof r=="number"?`[${String(r)}]`:`${s?".":""}${r}`).join("");function S(e){const r=c=>Array.isArray(c)&&c.every(o=>typeof o=="string"),s=e.match;if(!b(s)||!Object.values(s).every(c=>typeof c=="string"))return"match must map each case to its text";const u=e.declarations??[],h=e.selectors??[];if(!r(u)||!r(h))return"declarations and selectors must be lists of strings";const m=Object.keys(e).filter(c=>!["declarations","selectors","match"].includes(c));return m.length>0?`unknown key ${m.join(", ")}`:{declarations:u,selectors:h,match:s}}function E(e){if(typeof e=="string")return e;if(x(e))return Object.keys(e).length===2?e:"has more than display and speak";if(b(e)&&"match"in e)return S(e)}export function parseScript(e){const r=[],s=(t,n)=>{r.push(`${O(t)}: ${n}`)},u=(t,n)=>{const i=E(t);if(i===void 0||typeof i=="string"&&i!==t){s(n,typeof i=="string"?i:typeof t=="number"||typeof t=="boolean"?`${String(t)} is not text: put it in quotes`:"must be text, { display, speak }, or a plural or selection");return}return i},h=(t,n)=>{if(!b(t)){s(n,"must be names with their text");return}const i={};for(const[a,d]of Object.entries(t)){const y=m(d,[...n,a]);g.test(a)?y!==void 0&&(i[a]=y):s([...n,a],"a name has only letters, digits, _ and -")}return i},m=(t,n)=>{if(Array.isArray(t)){const i=t.map((a,d)=>m(a,[...n,d]));return i.every(a=>a!==void 0)?i:void 0}return b(t)&&!x(t)&&!("match"in t)?h(t,n):u(t,n)};if(e==null)return{script:{parts:[]}};if(!b(e))return{problems:["(root): must be title, text and parts"]};const c={parts:[]};for(const t of Object.keys(e))["title","text","parts","slides"].includes(t)||s([t],"unknown key: a script has title, text, parts and slides");if(e.title!==void 0&&(typeof e.title=="string"?c.title=e.title:s(["title"],"must be text")),e.text!==void 0){const t=h(e.text,["text"]);t&&(c.text=t)}const o=e.parts??[];if(!Array.isArray(o))s(["parts"],"must be a list of parts");else{const t=new Set;o.forEach((n,i)=>{const a=["parts",i];if(!b(n)){s(a,"must be a part: id, say, screen");return}for(const l of Object.keys(n))["id","say","screen"].includes(l)||s([...a,l],"unknown key: a part has id, say and screen");const d=n.id;if(typeof d!="string"||!g.test(d)){s([...a,"id"],"a part needs an id of letters, digits, _ and -");return}if(t.has(d)){s([...a,"id"],`two parts have the id ${d}`);return}t.add(d);const y={id:d};if(n.say!==void 0){const l=u(n.say,[...a,"say"]);if(x(l))s([...a,"say"],"is one line: write a piece that is shown one way and said another inside it, as <shown|said>");else if(l!==void 0){y.say=l;for(const p of w(l))s([...a,"say"],p)}}if(n.screen!==void 0){const l=h(n.screen,[...a,"screen"]);l&&(y.screen=l)}c.parts.push(y)})}const f=e.slides??[];if(!Array.isArray(f))s(["slides"],"must be a list of slides");else{const t=new Set,n=[];f.forEach((i,a)=>{const d=["slides",a];if(!b(i)){s(d,"must be a slide: id, text, notes");return}for(const p of Object.keys(i))["id","text","notes"].includes(p)||s([...d,p],"unknown key: a slide has id, text and notes");const y=i.id;if(typeof y!="string"||!g.test(y)){s([...d,"id"],"a slide needs an id of letters, digits, _ and -");return}if(t.has(y)){s([...d,"id"],`two slides have the id ${y}`);return}t.add(y);const l={id:y};if(i.text!==void 0){const p=h(i.text,[...d,"text"]);p&&(l.text=p)}if(i.notes!==void 0){const p=u(i.notes,[...d,"notes"]);typeof p=="string"||p!==void 0&&!x(p)?l.notes=p:p!==void 0&&s([...d,"notes"],"is text")}n.push(l)}),n.length>0&&(c.slides=n)}return r.length>0?{problems:r}:{script:c}}function w(e){return typeof e=="string"?$(e).problems:x(e)?[]:Object.values(e.match).some(r=>k(r)||A(r))?["a plural or a selection cannot have anchors or <shown|said>"]:[]}export function saidOf(e){if(typeof e!="string")return{value:e,anchors:[]};const r=$(e);if(r.spans.length===0)return{value:r.text,anchors:r.anchors};const s=j(r);return{value:{display:r.text,speak:s.text},anchors:r.anchors.map(u=>({name:u.name,at:s.at(u.at,!1),...u.end===void 0?{}:{end:s.at(u.end,!0)}}))}}const _=e=>typeof e=="string"||!Array.isArray(e)&&(x(e)||"match"in e);export function scriptKeys(e,r){const s=[],u=new Set,h=[],m=(o,f,t,n=[])=>{u.has(o)?h.push(o):(u.add(o),s.push({key:o,value:f,path:t,...n.length>0?{anchors:n}:{}}))},c=(o,f,t)=>{if(_(f))m(o,f,t);else if(Array.isArray(f))f.forEach((n,i)=>{c(`${o}.${String(i)}`,n,[...t,i])});else for(const[n,i]of Object.entries(f))c(`${o}.${n}`,i,[...t,n])};r.title!==void 0&&m(`${e}.title`,r.title,["title"]);for(const[o,f]of Object.entries(r.text??{}))c(`${e}.${o}`,f,["text",o]);return r.parts.forEach((o,f)=>{const t=`${e}.${o.id}`;if(o.say!==void 0){const n=saidOf(o.say);m(`${t}.say`,n.value,["parts",f,"say"],n.anchors)}for(const[n,i]of Object.entries(o.screen??{}))c(`${t}.${n}`,i,["parts",f,"screen",n])}),(r.slides??[]).forEach((o,f)=>{const t=`${e}.${o.id}`;for(const[n,i]of Object.entries(o.text??{}))c(`${t}.${n}`,i,["slides",f,"text",n]);o.notes!==void 0&&m(`${t}.notes`,o.notes,["slides",f,"notes"])}),{keys:s,twice:h}}export function scriptMessages(e,r){return Object.fromEntries(scriptKeys(e,r).keys.map(s=>[s.key,s.value]))}
@@ -1,3 +1,4 @@
1
+ import type { SlidesFile } from "@allyhub-next/formats";
1
2
  import { type TextAnchor } from "./anchors.js";
2
3
  import type { PlatformProfile } from "./formats.js";
3
4
  import type { Look } from "./look.js";
@@ -14,6 +15,8 @@ export interface LoadOptions {
14
15
  /** The combo: one value per dimension, e.g. { lang: "zh-cn" }. */
15
16
  combo: Combo;
16
17
  purpose: "play" | "render" | "check";
18
+ /** A deck drawn for its editor: an empty placeholder is drawn, to type into. */
19
+ editing?: boolean;
17
20
  /**
18
21
  * The most different console messages kept from piece code (see
19
22
  * console.ts); default CONSOLE_LIMIT.
@@ -28,6 +31,8 @@ export interface DataFile {
28
31
  }
29
32
  /** What the host hands load(): one piece, as the build made it. */
30
33
  export interface BuildSource {
34
+ /** What it is: a video (the default) or a deck, which the stage loads with the deck's runtime. */
35
+ kind?: "video" | "slides";
31
36
  /** The piece's id: seeds and problems use it. */
32
37
  piece: string;
33
38
  /**
@@ -71,6 +76,8 @@ export interface BuildSource {
71
76
  looks?: Record<string, Look>;
72
77
  /** The project's part defaults (allyhub.config.ts `defaults.part`). */
73
78
  partDefaults?: PartDefaults;
79
+ /** A deck's pages: its slides.yaml as the build read it (none when it has none, or it does not match the format). */
80
+ slides?: SlidesFile;
74
81
  /**
75
82
  * Every piece of the build by id, for a piece that shows another inside
76
83
  * it (a scenery's screen): its file, dimensions, format and matrix.
@@ -225,6 +232,10 @@ export interface Part {
225
232
  planes: PartPlane[];
226
233
  /** The part's still moment, absolute. */
227
234
  still: number;
235
+ /** A deck's page: each of its steps' still moments, absolute, step 0 first (the last is `still`). */
236
+ steps?: number[];
237
+ /** A deck's page left out when the deck is presented or exported (slides.yaml's `hidden`). */
238
+ hidden?: boolean;
228
239
  /** A name for people: part({ title }), else its largest text at its still that not every part shows. */
229
240
  title?: string;
230
241
  /** Voiced parts: where the speech plays. */
@@ -531,6 +542,8 @@ export interface Timeline {
531
542
  * loudness).
532
543
  */
533
544
  profile?: PlatformProfile;
545
+ /** A deck's paper (CSS `@page size`): its slide size, as PowerPoint prints it. */
546
+ paper?: string;
534
547
  duration: number;
535
548
  /**
536
549
  * What the footage plane draws under everything: the look's background
@@ -571,7 +584,7 @@ export interface PartText {
571
584
  speak?: string;
572
585
  /** The message key the spoken text came from (say(s(key)), saying(s(key))). */
573
586
  speechKey?: string;
574
- /** A paged output's speaker notes for this page (`<prefix>.<page>.notes`). */
587
+ /** A deck's speaker notes for this slide (the script's `notes`). */
575
588
  notes?: string;
576
589
  }
577
590
  export interface MessageRead {
@@ -613,4 +626,24 @@ export declare function momentOf(tl: {
613
626
  readonly anchors?: readonly PartAnchor[] | undefined;
614
627
  }[];
615
628
  }, ref: string): number;
629
+ /**
630
+ * What a moment shows that an editor lets a person point at
631
+ * (LoadedOutput.objects): what was placed on a deck's page (by its
632
+ * element's id) and every text block, with the message keys its words are
633
+ * (none: words written in code), each box in the frame's pixels.
634
+ */
635
+ export interface PageObjects {
636
+ t: number;
637
+ elements: {
638
+ id: string;
639
+ box: [number, number, number, number];
640
+ }[];
641
+ texts: {
642
+ text: string;
643
+ box: [number, number, number, number];
644
+ /** Its font size as drawn, in the frame's pixels. */
645
+ size: number;
646
+ keys: string[];
647
+ }[];
648
+ }
616
649
  //# sourceMappingURL=timeline.d.ts.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub-next/video-core",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
package/dist/parts.d.ts CHANGED
@@ -74,7 +74,7 @@ export interface PartOptions {
74
74
  * directly. The window (`dur`, default 0.4 s) lies across the join,
75
75
  * `split` of it (default half) before; the parts keep their lengths.
76
76
  * Outside its own time a part's graphics hold and its footage runs on.
77
- * The first part's is ignored, and so is a paged output's. Pictures
77
+ * The first part's is ignored. Pictures
78
78
  * only: place a sound with `sounds`.
79
79
  */
80
80
  transition?: TransitionInput;
@@ -100,7 +100,7 @@ export interface PartOptions {
100
100
  */
101
101
  speechGainDb?: number;
102
102
  }
103
- /** A part of a video, or a page of a paged output. */
103
+ /** A part of a video. */
104
104
  export type PartFn = (opts: PartOptions) => PartSpec;
105
105
  /** part() for the module `at` names: its sounds' paths are from its folder. */
106
106
  export declare const partFor: (at: Written) => PartFn;
package/dist/phone.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{PHONE_CAMERA as u}from"@allyhub-next/scenery";export const PHONE_CAMERA={...u,capture:{soften:.8,grain:{amount:.02,size:1.5,shadows:2,highlights:.6,chroma:.4,chromaSize:3},sharpen:.25,vignette:.15,bloom:{threshold:.8,radius:14,strength:.25}},motionBlur:{samples:8,shutter:.5}};const i=t=>typeof t=="object"&&t!==null&&!Array.isArray(t);function s(t,r){if(!i(t)||!i(r))return r===void 0?t:r;const o={...t};for(const[n,e]of Object.entries(r))o[n]=e===void 0?t[n]:s(t[n],e);return o}export function phoneCamera(t={}){return s(PHONE_CAMERA,t)}
2
+ import{PHONE_CAMERA as u}from"@allyhub-next/scenery";export const PHONE_CAMERA={...u,capture:{soften:.4,grain:{amount:.02,size:1.5,shadows:2,highlights:.6,chroma:.4,chromaSize:3},sharpen:.25,vignette:.15,bloom:{threshold:.92,radius:14,strength:.15}},motionBlur:{samples:8,shutter:.5}};const i=t=>typeof t=="object"&&t!==null&&!Array.isArray(t);function s(t,r){if(!i(t)||!i(r))return r===void 0?t:r;const o={...t};for(const[n,e]of Object.entries(r))o[n]=e===void 0?t[n]:s(t[n],e);return o}export function phoneCamera(t={}){return s(PHONE_CAMERA,t)}
package/dist/piece.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { PIECE_BRAND, type PieceDefinition, type PagedOptions, type PartSpec, type PieceContext as StagePieceContext, type PieceWritten, type VideoOptions as StageVideoOptions } from "@allyhub-next/video-core";
1
+ import { PIECE_BRAND, type PieceDefinition, type PartSpec, type PieceContext as StagePieceContext, type PieceWritten, type VideoOptions as StageVideoOptions } from "@allyhub-next/video-core";
2
2
  import type { FormatEntry, Matrix } from "@allyhub-next/video-core";
3
3
  import type { ConfigSchema } from "@allyhub-next/formats";
4
4
  import type { VideoConfigSchema } from "@allyhub-next/video-core";
5
5
  import type { z } from "zod";
6
6
  import type { MessageReader } from "./messages.js";
7
7
  import type { Written } from "./written.js";
8
- export type { Combo, Dims, Format, FormatEntry, FormatSpec, Matrix, MediaRef, MessageHint, MotionBlur, MusicOptions, PagedOptions, PagedPiece, PostProcess, CaptureOptions, PieceDefinition, PieceWritten, VideoPiece, } from "@allyhub-next/video-core";
8
+ export type { Combo, Dims, Format, FormatEntry, FormatSpec, Matrix, MediaRef, MessageHint, MotionBlur, MusicOptions, PostProcess, CaptureOptions, PieceDefinition, PieceWritten, VideoPiece, } from "@allyhub-next/video-core";
9
9
  /**
10
10
  * allyhub.config.ts as a project writes it: the project's settings
11
11
  * (@allyhub-next/formats) with the look and the defaults every video
@@ -21,8 +21,6 @@ export interface PieceContext extends Omit<StagePieceContext, "s"> {
21
21
  }
22
22
  /** A video's parts function: the parts, in order. */
23
23
  export type VideoBuild = (ctx: PieceContext) => PartSpec[] | Promise<PartSpec[]>;
24
- /** A deck's pages function: the pages, in order. */
25
- export type PagedBuild = (ctx: PieceContext) => PartSpec[] | Promise<PartSpec[]>;
26
24
  export interface VideoOptions extends Omit<StageVideoOptions, "covers"> {
27
25
  /** Cover parts (optional): drawn for the cover image. */
28
26
  covers?(ctx: PieceContext): PartSpec[] | Promise<PartSpec[]>;
@@ -36,7 +34,7 @@ export interface PieceOptions {
36
34
  /**
37
35
  * What it is rendered as, one format: a preset (16x9, 9x16, 1x1, 4x5),
38
36
  * a platform profile (tiktok, reels…) or WIDTHxHEIGHT pixels; a4 and
39
- * letter for slides only. It may be { format, safe, maxDuration,
37
+ * letter are not a video's. It may be { format, safe, maxDuration,
40
38
  * loudness }: that format with its covered edges (any format), longest
41
39
  * length and loudness (a platform profile) changed; its name is still
42
40
  * the format's. Another format is a piece of its own, which imports what
@@ -63,14 +61,6 @@ export interface VideoPieceOptions extends PieceOptions, VideoOptions {
63
61
  */
64
62
  parts(ctx: PieceContext): PartSpec[] | Promise<PartSpec[]>;
65
63
  }
66
- export interface SlidesOptions extends PieceOptions, PagedOptions {
67
- /**
68
- * The pages, in order. Pages are made like a video's parts (part() with
69
- * layers), each with a key unique in the deck; a page is drawn at its
70
- * still moment. A method, as a video's parts is.
71
- */
72
- pages(ctx: PieceContext): PartSpec[] | Promise<PartSpec[]>;
73
- }
74
64
  /**
75
65
  * A video as video() makes it: its fields as written, so another piece can
76
66
  * spread it into its own (`video({ ...film, format: "9x16" })`), and where
@@ -81,22 +71,16 @@ export type Video = VideoPieceOptions & {
81
71
  readonly kind: "video";
82
72
  readonly written: PieceWritten;
83
73
  };
84
- /** A deck as slides() makes it. */
85
- export type Slides = SlidesOptions & {
86
- readonly [PIECE_BRAND]: true;
87
- readonly kind: "paged";
88
- readonly written: PieceWritten;
89
- };
90
74
  /**
91
75
  * Another item's piece, as what shows or plays it takes it: the SDK's own
92
76
  * video() or slides(), whose ctx reads the project's typed messages, or the
93
77
  * engine's piece. The engine's ctx is wider than the typed one, so a piece
94
78
  * video() made is not the engine's type, though it is the same object.
95
79
  */
96
- export type ItemPiece = PieceDefinition | Video | Slides;
80
+ export type ItemPiece = PieceDefinition | Video;
97
81
  /** A video item's piece: the SDK's video(), or the engine's piece. */
98
82
  export type VideoItem = PieceDefinition | Video;
99
- /** Whether a value is a piece video() or slides() made. */
83
+ /** Whether a value is a piece video() made. */
100
84
  export declare function isItemPiece(v: unknown): v is ItemPiece;
101
85
  /**
102
86
  * The same piece as the engine reads it: the ctx its parts get is the
@@ -105,28 +89,19 @@ export declare function isItemPiece(v: unknown): v is ItemPiece;
105
89
  export declare function enginePiece(p: ItemPiece): PieceDefinition;
106
90
  /** A video: the default export of an item's video.ts. Its function returns its parts, in order. */
107
91
  export type VideoFn = (opts: VideoPieceOptions) => Video;
108
- /** A deck: the default export of an item's slides.ts. */
109
- export type SlidesFn = (opts: SlidesOptions) => Slides;
110
92
  /**
111
93
  * video() for the module `at` names. Its music's and its LUT's paths are
112
94
  * from that module's folder, also once spread into another piece: a field
113
95
  * keeps the folder it was written in while its value is the same.
114
96
  */
115
97
  export declare const videoFor: (at: Written) => VideoFn;
116
- /**
117
- * slides() for the module `at` names: pages of one format, each one still
118
- * frame: a single image, a carousel, slides, a PDF document; the default
119
- * export of an item's slides.ts. `notes: true` reads each page's speaker
120
- * notes from `<prefix>.<page>.notes`.
121
- */
122
- export declare const slidesFor: (at: Written) => SlidesFn;
123
98
  /**
124
99
  * Gone: an item's entry file exports one video (`video({ … })`) or one
125
- * deck (`slides({ … })`). Calling it says so.
100
+ * deck (`presentation()`). Calling it says so.
126
101
  */
127
102
  export declare const definePiece: (opts: unknown) => never;
128
103
  /**
129
- * Gone: a deck is `slides({ format, pages })`, an item's slides.ts.
104
+ * Gone: a deck is `presentation()` from `@allyhub/sdk/slides`, an item's slides.ts.
130
105
  * Calling it says so.
131
106
  */
132
107
  export declare const paged: (build: unknown, opts?: unknown) => never;
package/dist/piece.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{PIECE_BRAND as c,isPieceDefinition as a}from"@allyhub-next/video-core";import{shapeProblem as p,voiceProblem as u}from"@allyhub-next/audio";const s=e=>{throw new Error(e)},m="An item's video.ts exports one video: export default video({ format, parts: (ctx) => [ part(…), … ] }). A second video (a cut-down, another format) is an item of its own, which imports what it shares.";export function isItemPiece(e){return a(e)}export function enginePiece(e){return e}const h=["music","post"];export const videoFor=e=>t=>{if((typeof t=="function"||typeof t.parts!="function")&&s(m),t.mic!==void 0){const i=u(t.mic);if(i!==void 0)throw new Error(`video: ${i}`)}const r=t.music;if(r!==void 0&&typeof r!="string"&&!("path"in r)){const i=Object.fromEntries(["filter","eq","compress"].filter(o=>r[o]!==void 0).map(o=>[o,r[o]])),n=p(i,!0);if(n!==void 0)throw new Error(`video: music: ${n}`)}const d=t.written?.paths,f={};for(const i of h){const n=t[i];if(n===void 0)continue;const o=d?.[i];f[i]=[n,o?.[0]===n?o[1]:e.base]}return{...t,[c]:!0,kind:"video",written:{file:e.file,...Object.keys(f).length>0?{paths:f}:{}}}},slidesFor=e=>t=>((typeof t=="function"||typeof t.pages!="function")&&s("An item's slides.ts exports one deck: export default slides({ format, pages: (ctx) => [ part(…), … ] }). Another deck (a handout in a4) is an item of its own, which imports what it shares."),{...t,[c]:!0,kind:"paged",written:{file:e.file}}),definePiece=()=>s("definePiece is gone: an item's entry file exports one piece, export default video({ format, parts: (ctx) => [ … ] }) in video.ts or slides({ format, pages: (ctx) => [ … ] }) in slides.ts, with what definePiece and its output had (id, format, matrix, music, mix…). Each of its other outputs is an item of its own, which imports what it shares."),paged=()=>s("paged() is gone: an item's slides.ts exports one deck, export default slides({ format, notes, pages: (ctx) => [ … ] }).");export function defineConfig(e){return e}
2
+ import{PIECE_BRAND as c,isPieceDefinition as a}from"@allyhub-next/video-core";import{shapeProblem as u,voiceProblem as m}from"@allyhub-next/audio";const d=e=>{throw new Error(e)},p="An item's video.ts exports one video: export default video({ format, parts: (ctx) => [ part(…), … ] }). A second video (a cut-down, another format) is an item of its own, which imports what it shares.";export function isItemPiece(e){return a(e)}export function enginePiece(e){return e}const h=["music","post"];export const videoFor=e=>t=>{if((typeof t=="function"||typeof t.parts!="function")&&d(p),t.mic!==void 0){const i=m(t.mic);if(i!==void 0)throw new Error(`video: ${i}`)}const s=t.music;if(s!==void 0&&typeof s!="string"&&!("path"in s)){const i=Object.fromEntries(["filter","eq","compress"].filter(o=>s[o]!==void 0).map(o=>[o,s[o]])),n=u(i,!0);if(n!==void 0)throw new Error(`video: music: ${n}`)}const f=t.written?.paths,r={};for(const i of h){const n=t[i];if(n===void 0)continue;const o=f?.[i];r[i]=[n,o?.[0]===n?o[1]:e.base]}return{...t,[c]:!0,kind:"video",written:{file:e.file,...Object.keys(r).length>0?{paths:r}:{}}}},definePiece=()=>d("definePiece is gone: an item's video.ts exports one video, export default video({ format, parts: (ctx) => [ … ] }), with what definePiece and its output had (id, format, matrix, music, mix…); a deck is slides.ts's export default presentation((prs) => { … }) from @allyhub/sdk/slides. Each other output is an item of its own, which imports what it shares."),paged=()=>d("paged() is gone: a deck is an item's slides.ts, export default presentation((prs) => { … }) from @allyhub/sdk/slides, with its slides in slides.yaml.");export function defineConfig(e){return e}
package/dist/props.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { MediaKind, Preset, WordRef } from "@allyhub-next/video-core";
1
+ import type { MediaInfo, MediaKind, PieceDefinition, Preset, WordRef } from "@allyhub-next/video-core";
2
2
  declare const TIME: unique symbol;
3
3
  /**
4
4
  * A prop that is a moment (declared time()): seconds from the part's start
@@ -62,20 +62,63 @@ export interface ObjectProp extends Common {
62
62
  export type PropSchema = TextProp | TimeProp | AssetProp | ColorProp | NumberProp | BooleanProp | ListProp | ObjectProp;
63
63
  type Opts<T> = Omit<T, "type">;
64
64
  /** Text shown on screen: edited sentence by sentence, checked against its budget. */
65
- export declare const text: (o?: Opts<TextProp>) => TextProp;
65
+ export declare const text: <const O extends Opts<TextProp> = object>(o?: O) => TextProp & O;
66
66
  /**
67
67
  * A moment: given as a word reference ("inbox", "inbox@2", "inbox+0.2") or
68
68
  * seconds from the part's start; the component receives seconds. Type the
69
69
  * prop as `Time`.
70
70
  */
71
- export declare const time: (o?: Opts<TimeProp>) => TimeProp;
72
- /** Media: an import or ctx.asset(path). */
73
- export declare const asset: (o?: Opts<AssetProp>) => AssetProp;
71
+ export declare const time: <const O extends Opts<TimeProp> = object>(o?: O) => TimeProp & O;
72
+ /**
73
+ * Media: an import or ctx.asset(path). In a deck's slides.yaml, a path from
74
+ * the deck's folder; with `kind: "video"` it may also be a video item of
75
+ * the project (its folder), which a layout shows with footage().
76
+ */
77
+ export declare const asset: <const O extends Opts<AssetProp> = object>(o?: O) => AssetProp & O;
74
78
  /** A look variable such as var(--ak-color-accent); never a literal color. */
75
- export declare const color: (o?: Opts<ColorProp>) => ColorProp;
76
- export declare const number: (o?: Opts<NumberProp>) => NumberProp;
77
- export declare const boolean: (o?: Opts<BooleanProp>) => BooleanProp;
78
- export declare const list: (of: PropSchema, o?: Omit<Opts<ListProp>, "of">) => ListProp;
79
- export declare const object: (fields: Record<string, PropSchema>, o?: Omit<Opts<ObjectProp>, "fields">) => ObjectProp;
79
+ export declare const color: <const O extends Opts<ColorProp> = object>(o?: O) => ColorProp & O;
80
+ export declare const number: <const O extends Opts<NumberProp> = object>(o?: O) => NumberProp & O;
81
+ export declare const boolean: <const O extends Opts<BooleanProp> = object>(o?: O) => BooleanProp & O;
82
+ export declare const list: <const S extends PropSchema, const O extends Omit<Opts<ListProp>, "of"> = object>(of: S, o?: O) => ListProp & {
83
+ of: S;
84
+ } & O;
85
+ export declare const object: <const F extends Record<string, PropSchema>, const O extends Omit<Opts<ObjectProp>, "fields"> = object>(fields: F, o?: O) => ObjectProp & {
86
+ fields: F;
87
+ } & O;
88
+ /** A video a layout shows: a file's media, or a video item of the project. */
89
+ export type VideoValue = MediaInfo | PieceDefinition;
90
+ /** The value a layout receives for a prop of this schema. */
91
+ export type PropValue<S> = S extends {
92
+ type: "text";
93
+ } ? string : S extends {
94
+ type: "time";
95
+ } ? number : S extends {
96
+ type: "asset";
97
+ kind: "video";
98
+ } ? VideoValue : S extends {
99
+ type: "asset";
100
+ } ? MediaInfo : S extends {
101
+ type: "color";
102
+ } ? string : S extends {
103
+ type: "number";
104
+ } ? number : S extends {
105
+ type: "boolean";
106
+ } ? boolean : S extends {
107
+ type: "list";
108
+ of: infer I;
109
+ } ? PropValue<I>[] : S extends {
110
+ type: "object";
111
+ fields: infer F extends Record<string, unknown>;
112
+ } ? PropsOf<F> : unknown;
113
+ /** The props a layout receives for these schemas: the optional ones may be left out. */
114
+ export type PropsOf<P extends Record<string, unknown>> = {
115
+ [K in keyof P as P[K] extends {
116
+ optional: true;
117
+ } ? never : K]: PropValue<P[K]>;
118
+ } & {
119
+ [K in keyof P as P[K] extends {
120
+ optional: true;
121
+ } ? K : never]?: PropValue<P[K]>;
122
+ };
80
123
  export {};
81
124
  //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1,2 @@
1
+ export { Alignment, AreaChart, AutoFilter, BLOCK_CELLS, BarChart, Border, CAPABILITIES, Cell, CellIsRule, ChartBase, Color, ColorScaleRule, ColumnDimension, ConditionalFormattingList, DataBarRule, DataLabelList, DataValidation, DataValidationList, DefinedName, DefinedNameDict, DifferentialStyle, DoughnutChart, Font, FormulaRule, GraphicalProperties, IconSetRule, Legend, LineChart, LineProperties, Marker, NumericAxis, PatternFill, PieChart, Reference, RowDimension, Rule, Scaling, ScatterChart, Series, Side, Table, TableList, TextAxis, Workbook, Worksheet, column_index_from_string, coordinate_to_tuple, get_column_letter, load_workbook, range_boundaries, workbook, type AlignmentOptions, type BarChartOptions, type BorderOptions, type CellIsRuleOptions, type CellValue, type SheetCodeBuild, type SheetCodeContext, type ChartData, type ColorScaleRuleOptions, type DataBarRuleOptions, type DataValidationOptions, type DifferentialStyleOptions, type FontOptions, type FormulaRuleOptions, type LoadOptions, type PatternFillOptions, type ReferenceOptions, type RuleOptions, type SeriesOptions, type SideOptions, type TableInput, type TableOptions, } from "@allyhub-next/sheet/api";
2
+ //# sourceMappingURL=sheets.d.ts.map
package/dist/sheets.js ADDED
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export{Alignment,AreaChart,AutoFilter,BLOCK_CELLS,BarChart,Border,CAPABILITIES,Cell,CellIsRule,ChartBase,Color,ColorScaleRule,ColumnDimension,ConditionalFormattingList,DataBarRule,DataLabelList,DataValidation,DataValidationList,DefinedName,DefinedNameDict,DifferentialStyle,DoughnutChart,Font,FormulaRule,GraphicalProperties,IconSetRule,Legend,LineChart,LineProperties,Marker,NumericAxis,PatternFill,PieChart,Reference,RowDimension,Rule,Scaling,ScatterChart,Series,Side,Table,TableList,TextAxis,Workbook,Worksheet,column_index_from_string,coordinate_to_tuple,get_column_letter,load_workbook,range_boundaries,workbook}from"@allyhub-next/sheet/api";
@@ -0,0 +1,8 @@
1
+ export { Centipoints, Cm, Emu, Inches, Mm, Pt, RGBColor, MSO_ANCHOR, CategoryChartData, MSO_ARROWHEAD, XL_CHART_TYPE, XL_LABEL_POSITION, XL_LEGEND_POSITION, MSO_AUTO_SIZE, MSO_CONNECTOR, MSO_FILL, MSO_LINE, MSO_SHAPE, MSO_SHAPE_TYPE, MSO_THEME_COLOR, PP_ALIGN, PP_PLACEHOLDER, THEME_FONT, SLIDE_SIZES, presentationFor, isDeck, type Anchor, type AutoSize, type Background, type ColorFormat, type ComponentContext, type ComponentInput, type Deck, type FillFormat, type Font, type GeneratedSlide, type Generator, type Length, type LineFormat, type ListLevel, type ListStyle, type Paragraph, type Placeholders, type PlaceholderType, type Presentation, type PresentationOptions, type PropSpec, type Run, type Shape, type ShapeCollection, type ShapeType, type SlideLayout, type SlideLayouts, type SlideMaster, type SlideMasters, type SlideSizeName, type TextFrame, type TextStyles, type ThemeInput, } from "@allyhub-next/slides-core";
2
+ /**
3
+ * A deck: the default export of an item's slides.ts. Its function makes
4
+ * the presentation's slide masters, layouts, components and generators;
5
+ * its slides are slides.yaml beside it.
6
+ */
7
+ export declare const presentation: (options: import("@allyhub-next/slides-core").PresentationOptions | ((prs: import("@allyhub-next/slides-core").Presentation) => void), build?: (prs: import("@allyhub-next/slides-core").Presentation) => void) => import("@allyhub-next/slides-core").Deck;
8
+ //# sourceMappingURL=slides.d.ts.map
package/dist/slides.js ADDED
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{presentationFor as O}from"@allyhub-next/slides-core";export{Centipoints,Cm,Emu,Inches,Mm,Pt,RGBColor,MSO_ANCHOR,CategoryChartData,MSO_ARROWHEAD,XL_CHART_TYPE,XL_LABEL_POSITION,XL_LEGEND_POSITION,MSO_AUTO_SIZE,MSO_CONNECTOR,MSO_FILL,MSO_LINE,MSO_SHAPE,MSO_SHAPE_TYPE,MSO_THEME_COLOR,PP_ALIGN,PP_PLACEHOLDER,THEME_FONT,SLIDE_SIZES,presentationFor,isDeck}from"@allyhub-next/slides-core";export const presentation=O("");
package/docs/README.md CHANGED
@@ -5,14 +5,14 @@ What a piece is written with, for the version of the SDK installed beside them.
5
5
  - [project.md](project.md): a project's folders, items and their entry files, the SDK bound to the file that imports it, imports of media, data and other items, scripts and shared text, `allyhub.config.ts`, fonts.
6
6
  - [contract.md](contract.md): what the build, the check and the render rely on: a piece drawn from time alone, what piece code may not do, the rules a problem is reported under.
7
7
  - [video.md](video.md): `video()`, formats, `part()`, a part's length, layers and their stacking, transitions, the look, covers, the camera filming the picture, post.
8
- - [layers.md](layers.md): `defineComponent()` and its prop types, `custom()`, the layer's `ctx`, the DOM and layout helpers, animation, text, path, noise and input helpers, starter components.
8
+ - [layers.md](layers.md): `defineComponent()` and its prop types, `custom()`, the layer's `ctx`, the DOM and layout helpers, animation, text, path and noise helpers, and a person's input as functions of time (`pointer`, `reach`, `tap`, `drag`, scrolling, typing: how a hand moves a cursor, a finger or a pointer), starter components.
9
9
  - [speech.md](speech.md): `take()`, `say()`, word references, anchors, shown and said text, captions, edits files.
10
10
  - [sound.md](sound.md): music, sound effects, the mix, the master, how the voice was recorded.
11
11
  - [footage.md](footage.md): `footage()` layers: placing, cropping, reframing, punch-ins, faces and mattes, the background behind the person, a video item inside another.
12
- - [slides.md](slides.md): `slides()`, pages, speaker notes, what a deck renders to.
12
+ - [slides.md](slides.md): `presentation()`, masters, layouts and shapes, `slides.yaml`, a deck's script, what a deck renders to.
13
13
  - [batches.md](batches.md): the matrix: dimensions, slots, pools, structures, rules, combos.
14
14
  - [scenery.md](scenery.md): 3D sceneries: `defineScenery()`, cameras and their moves, the hand that holds one, the `scenery()` layer and its screens.
15
15
  - [modeling.md](modeling.md): a prop modelled in code with `@allyhub-next/model` and put in a scenery.
16
16
  - [docs.md](docs.md): a doc, `doc.mdx`: its title, the Markdown and tags it reads, pictures and links, `comments.json`, check and render.
17
- - [sheets.md](sheets.md): a sheet, `sheet.csv` and `sheet.yaml`: column types and formats, `comments.json`, check, measure, import and render.
17
+ - [sheets.md](sheets.md): a sheet, a workbook as `sheet.yaml` and CSV: tables, formulas, names, checks, the openpyxl API (`@allyhub/sdk/sheets`), calc, trace and render.
18
18
  - [defaults.md](defaults.md): every default of the piece API, generated from the code's constants, with the option that changes it.
package/docs/batches.md CHANGED
@@ -9,7 +9,7 @@ A piece's `matrix` says which versions of it are made. Each version is a **combo
9
9
  - `lang` is the one dimension AllyHub reads: it picks each item's `script.<lang>.yaml` and `assets/text/<lang>.json`, the first value being the default language. Its values are lowercase language tags (`en`, `zh-cn`). Without `lang`, a piece's languages are the project's: the languages its scripts and shared text have, `allyhub.config.ts`'s `locales` first.
10
10
  - Other dimensions are the piece's: its parts function reads them from `ctx.combo`.
11
11
  - A name starts with a lowercase letter (then letters, digits, `_`, `-`); a value is letters, digits, `.`, `_`, `-`, each listed once. `size`, `format`, `piece`, `output`, `token`, `structure` and `id` name no dimension or slot. A wrong name or value is AK-M001.
12
- - A combo's **key** is its names sorted, each `name=value`, joined with commas: `audience=dev,lang=en` (`default` when there are none). It names the rendered files (`.allyhub/out/<piece>/video.<key>.mp4`) and filters commands' `--combo` (`--combo lang=zh-cn`).
12
+ - A combo's **key** is its names sorted, each `name=value`, joined with commas: `audience=dev,lang=en` (`default` when there are none). It filters commands' `--combo` (`--combo lang=zh-cn`); the rendered files carry its values, after the name of the piece's folder (`.allyhub/out/launch/launch.dev.en.mp4`).
13
13
 
14
14
  ## Slots
15
15
 
@@ -118,7 +118,7 @@ This makes `c01-en`, `c01-zh-cn`, `c02-en` and `c02-zh-cn`. Each combo is checke
118
118
  ## Combo ids
119
119
 
120
120
  - The chosen slot combinations are `c01`, `c02`, … in order (with as many digits as the count needs: `c001` when there are 100 or more). With more than one combo of the dimensions, an id adds their values: `c01-en`, `c01-zh-cn`.
121
- - A piece with slots names its files by id (`.allyhub/out/<piece>/video.c01-en.mp4`), and `--combo c03` names one.
121
+ - A piece with slots names its files by id (`.allyhub/out/launch/launch.c01-en.mp4`), and `--combo c03` names one.
122
122
  - A piece with dimensions only has no ids: its combos are named by their keys.
123
123
 
124
124
  ## In the parts function
package/docs/defaults.md CHANGED
@@ -6,7 +6,7 @@ Every default of the piece API that is a constant in the code, with what it hold
6
6
 
7
7
  ### Formats
8
8
 
9
- The presets (`PRESETS`) and page formats (`PAGE_FORMATS`, at 150 dpi): pixels, and the edges a platform's interface covers (`ctx.dims.safe`), changed by `format: { format, safe }`. A `WIDTHxHEIGHT` format covers none.
9
+ The presets (`PRESETS`): pixels, and the edges a platform's interface covers (`ctx.dims.safe`), changed by `format: { format, safe }`. A `WIDTHxHEIGHT` format covers none.
10
10
 
11
11
  | Format | Pixels | Covered: top, bottom, left, right |
12
12
  | --- | --- | --- |
@@ -14,8 +14,6 @@ The presets (`PRESETS`) and page formats (`PAGE_FORMATS`, at 150 dpi): pixels, a
14
14
  | `9x16` | 1080 × 1920 | 150, 400, 40, 140 |
15
15
  | `1x1` | 1080 × 1080 | 50, 90, 40, 40 |
16
16
  | `4x5` | 1080 × 1350 | 60, 120, 40, 40 |
17
- | `a4` (slides only) | 1240 × 1754 | none |
18
- | `letter` (slides only) | 1275 × 1650 | none |
19
17
 
20
18
  The platform profiles (`PROFILES`): the frame, the edges the platform's interface covers, the longest video in seconds (AK-F001; `format: { format, maxDuration }`), the loudness its sound is mastered to in LUFS (`format: { format, loudness }`, `video({ master })`), and the crf and most video bitrate in kbit/s `allyhub render` encodes its mp4 at.
21
19
 
@@ -71,6 +69,111 @@ The built-in look, `clean`, which `allyhub.config.ts`'s `look` is laid over. Its
71
69
  | `motion.beat` | `0.5` |
72
70
  | `sfx` | `{}` |
73
71
 
72
+ ## Decks
73
+
74
+ ### `CHART_DEFAULTS`
75
+
76
+ What a chart is drawn with unless it says otherwise (each key's option is in [slides.md](slides.md)). `margin` and `letter` are how the stage lays it out, and not in the file.
77
+
78
+ | Key | Value |
79
+ | --- | --- |
80
+ | `fontSize` | `12` |
81
+ | `titleScale` | `1.2` |
82
+ | `gapWidth` | `150` |
83
+ | `holeSize` | `50` |
84
+ | `margin` | `6` |
85
+ | `gridline` | `"#D9D9D9"` |
86
+ | `axisLine` | `"#BFBFBF"` |
87
+ | `letter` | `0.55` |
88
+ | `lineWidth` | `2.25` |
89
+ | `gridWidth` | `0.75` |
90
+ | `marker` | `5` |
91
+
92
+ ### `DECK_FONTS`
93
+
94
+ A deck's theme fonts where its code sets none (`prs.theme.fonts`): standard fonts every PowerPoint, Keynote and Google Slides has, drawn by fonts of the same metrics.
95
+
96
+ | Key | Value |
97
+ | --- | --- |
98
+ | `major` | `"Arial"` |
99
+ | `minor` | `"Arial"` |
100
+ | `major_east_asian` | `"Microsoft YaHei"` |
101
+ | `minor_east_asian` | `"Microsoft YaHei"` |
102
+ | `code` | `"Courier New"` |
103
+
104
+ ### `OFFICE_TEXT_STYLES`
105
+
106
+ A new master's text styles (`master.text_styles`: `title_style`, `body_style`, `other_style`, nine levels each), as PowerPoint's Office master has them: a title's 44 pt in the theme's major font at 0.9 lines, a body's bulleted levels at 28, 24, 20 and 18 pt with their indents, other text 18 pt. Lengths are EMU (`Pt(44)` is 558800). A master's, a layout's or a placeholder's `list_style` sets its own.
107
+
108
+ | Key | Value |
109
+ | --- | --- |
110
+ | `title` | `[{"alignment":"l","line_spacing":{"lines":0.9},"space_before":0,"bullet":null,"font":{"name":"+mj-lt","size":558800,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":0,"bullet":null,"font":{"name":"+mj-lt","size":558800,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":0,"bullet":null,"font":{"name":"+mj-lt","size":558800,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":0,"bullet":null,"font":{"name":"+mj-lt","size":558800,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":0,"bullet":null,"font":{"name":"+mj-lt","size":558800,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":0,"bullet":null,"font":{"name":"+mj-lt","size":558800,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":0,"bullet":null,"font":{"name":"+mj-lt","size":558800,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":0,"bullet":null,"font":{"name":"+mj-lt","size":558800,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":0,"bullet":null,"font":{"name":"+mj-lt","size":558800,"color":"dk1"}}]` |
111
+ | `body` | `[{"alignment":"l","line_spacing":{"lines":0.9},"space_before":127000,"bullet":"•","bullet_font":"Arial","margin_left":228600,"indent":-228600,"font":{"name":"+mn-lt","size":355600,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":63500,"bullet":"•","bullet_font":"Arial","margin_left":685800,"indent":-228600,"font":{"name":"+mn-lt","size":304800,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":63500,"bullet":"•","bullet_font":"Arial","margin_left":1143000,"indent":-228600,"font":{"name":"+mn-lt","size":254000,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":63500,"bullet":"•","bullet_font":"Arial","margin_left":1600200,"indent":-228600,"font":{"name":"+mn-lt","size":228600,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":63500,"bullet":"•","bullet_font":"Arial","margin_left":2057400,"indent":-228600,"font":{"name":"+mn-lt","size":228600,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":63500,"bullet":"•","bullet_font":"Arial","margin_left":2514600,"indent":-228600,"font":{"name":"+mn-lt","size":228600,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":63500,"bullet":"•","bullet_font":"Arial","margin_left":2971800,"indent":-228600,"font":{"name":"+mn-lt","size":228600,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":63500,"bullet":"•","bullet_font":"Arial","margin_left":3429000,"indent":-228600,"font":{"name":"+mn-lt","size":228600,"color":"dk1"}},{"alignment":"l","line_spacing":{"lines":0.9},"space_before":63500,"bullet":"•","bullet_font":"Arial","margin_left":3886200,"indent":-228600,"font":{"name":"+mn-lt","size":228600,"color":"dk1"}}]` |
112
+ | `other` | `[{"alignment":"l","margin_left":0,"font":{"name":"+mn-lt","size":228600,"color":"dk1"}},{"alignment":"l","margin_left":457200,"font":{"name":"+mn-lt","size":228600,"color":"dk1"}},{"alignment":"l","margin_left":914400,"font":{"name":"+mn-lt","size":228600,"color":"dk1"}},{"alignment":"l","margin_left":1371600,"font":{"name":"+mn-lt","size":228600,"color":"dk1"}},{"alignment":"l","margin_left":1828800,"font":{"name":"+mn-lt","size":228600,"color":"dk1"}},{"alignment":"l","margin_left":2286000,"font":{"name":"+mn-lt","size":228600,"color":"dk1"}},{"alignment":"l","margin_left":2743200,"font":{"name":"+mn-lt","size":228600,"color":"dk1"}},{"alignment":"l","margin_left":3200400,"font":{"name":"+mn-lt","size":228600,"color":"dk1"}},{"alignment":"l","margin_left":3657600,"font":{"name":"+mn-lt","size":228600,"color":"dk1"}}]` |
113
+
114
+ ### `TEXT_FALLBACK`
115
+
116
+ What text has where not even a master's text styles say: 18 pt in the theme's minor font, single spacing.
117
+
118
+ | Key | Value |
119
+ | --- | --- |
120
+ | `alignment` | `"l"` |
121
+ | `line_spacing.lines` | `1` |
122
+ | `space_before` | `0` |
123
+ | `space_after` | `0` |
124
+ | `indent` | `0` |
125
+ | `font.name` | `"+mn-lt"` |
126
+ | `font.size` | `228600` |
127
+ | `font.color` | `"dk1"` |
128
+
129
+ ### `TEXT_INSETS`
130
+
131
+ A text frame's insets where none are set (`margin_left`…), as python-pptx and PowerPoint have them.
132
+
133
+ | Key | Value |
134
+ | --- | --- |
135
+ | `left` | `91440` |
136
+ | `top` | `45720` |
137
+ | `right` | `91440` |
138
+ | `bottom` | `45720` |
139
+
140
+ ### `TEXTBOX_FRAME`
141
+
142
+ A text box `add_textbox` makes, as python-pptx makes it: no wrapping, the shape fitted to its text. Set `word_wrap` and `auto_size` to change it.
143
+
144
+ | Key | Value |
145
+ | --- | --- |
146
+ | `word_wrap` | `false` |
147
+ | `auto_size` | `"shape"` |
148
+
149
+ ### `AUTOSHAPE_STYLE`
150
+
151
+ A shape `add_shape` makes, as python-pptx makes it (the theme's styles it is drawn by): filled and outlined in accent 1 (0.5 pt), its text light 1 in its middle, its one empty paragraph centred (text set with `text` replaces it, and is not). Its `fill`, `line` and `text_frame` change it.
152
+
153
+ | Key | Value |
154
+ | --- | --- |
155
+ | `fill` | `"accent1"` |
156
+ | `line` | `"accent1"` |
157
+ | `line_width` | `6350` |
158
+ | `font_color` | `"lt1"` |
159
+ | `vertical_anchor` | `"ctr"` |
160
+ | `alignment` | `"ctr"` |
161
+
162
+ ### `CONNECTOR_STYLE`
163
+
164
+ A line `add_connector` makes, as python-pptx makes it: the theme's second line, 1 pt, in accent 1. Its `line` changes it.
165
+
166
+ | Key | Value |
167
+ | --- | --- |
168
+ | `line` | `"accent1"` |
169
+ | `line_width` | `12700` |
170
+
171
+ ### `SLIDE_SECONDS`
172
+
173
+ A slide's window on the stage's clock, seconds: a still of it is drawn at its end, when what moves in its components has settled.
174
+
175
+ Value: `4`
176
+
74
177
  ## Parts and transitions
75
178
 
76
179
  ### `PART_DEFAULTS`
@@ -510,6 +613,7 @@ A phone's main camera held in a hand: its lens, sensor and hand. `phoneCamera(ch
510
613
  | `sensor.moire` | `1` |
511
614
  | `sensor.chroma` | `0.3` |
512
615
  | `sensor.distortion` | `-0.03` |
616
+ | `sensor.grade.filter` | `"curves=all='0/0 0.2/0.07 0.5/0.38 0.78/0.82 1/1',eq=saturation=1.5,colortemperature=temperature=6000"` |
513
617
  | `hand.angle` | `0.25` |
514
618
  | `hand.roll` | `0.6` |
515
619
  | `hand.shift` | `0.001` |
package/docs/docs.md CHANGED
@@ -145,4 +145,4 @@ A thread without an `id` or a `text` is left out when the file is read.
145
145
  ## Check and render
146
146
 
147
147
  - `allyhub check` reports AK-M008 for a doc whose file is not MDX, that holds what a doc does not draw (`{…}`, a tag inside a line other than the marks above, a wrong attribute or value), that shows a picture which is not in the project, or that is inside another item's folder; each problem has its file and line.
148
- - `allyhub render` prints each doc to `.allyhub/out/<place>/doc.pdf`; `--type png` writes a picture of the whole page (`doc.png`), `--type md` plain Markdown (`doc.md`: what the doc says without what only a doc can say), and `--type pdf,png,md` all three. A doc with a problem is not rendered: the command fails and says why. `allyhub help render` has every option.
148
+ - `allyhub render` prints each doc to a file named for its folder, `.allyhub/out/plan/plan.pdf`; `--type png` writes a picture of the whole page (`plan.png`), `--type docx` a Word document (`plan.docx`: its text editable, a picture Word cannot show as a JPEG), `--type md` plain Markdown (`plan.md`: what the doc says without what only a doc can say), and `--type pdf,docx,png,md` all of them. A doc with a problem is not rendered: the command fails and says why. `allyhub help render` has every option.