@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
package/dist/free.d.ts CHANGED
@@ -9,9 +9,9 @@ export { say, type BoxKey, type FootageBackground, type FootageBox, type PerOrie
9
9
  export type { InlineMark, MarkedText } from "@allyhub-next/video-core";
10
10
  /** What ctx.video(piece, el) gives: another video item, drawn inside an element. */
11
11
  export type { EmbeddedVideo } from "@allyhub-next/video-core";
12
- export { defineConfig, definePiece, paged, type Combo, type Dims, type Format, type FormatEntry, type FormatSpec, type ItemPiece, type Matrix, type MediaRef, type MessageHint, type MotionBlur, type MusicOptions, type PagedBuild, type PagedOptions, type PagedPiece, type PieceContext, type PieceDefinition, type PieceOptions, type PieceWritten, type PostProcess, type CaptureOptions, type ProjectConfig, type Slides, type SlidesOptions, type Video, type VideoBuild, type VideoItem, type VideoOptions, type VideoPiece, type VideoPieceOptions, } from "./piece.js";
12
+ export { defineConfig, definePiece, paged, type Combo, type Dims, type Format, type FormatEntry, type FormatSpec, type ItemPiece, type Matrix, type MediaRef, type MessageHint, type MotionBlur, type MusicOptions, type PieceContext, type PieceDefinition, type PieceOptions, type PieceWritten, type PostProcess, type CaptureOptions, type ProjectConfig, type Video, type VideoBuild, type VideoItem, type VideoOptions, type VideoPiece, type VideoPieceOptions, } from "./piece.js";
13
13
  export type { ListItem, ListPrefix, MessageInputs, MessageKey, MessageLists, MessageReader, Messages, } from "./messages.js";
14
- export { asset, boolean, color, list, number, object, text, time, type PropSchema, type Time, type Timed, } from "./props.js";
14
+ export { asset, boolean, color, list, number, object, text, time, type PropSchema, type PropsOf, type PropValue, type Time, type Timed, type VideoValue, } from "./props.js";
15
15
  export { countText, splitText } from "./text.js";
16
16
  export { markRuns, readMarks, withoutMarks, type MarkRun, } from "@allyhub-next/video-core";
17
17
  export type { Box, CaptionOptions, CaptionTrackCue, CaptionWord, EditList, EditRange, FaceOnFrame, FaceTrack, MediaInfo, MediaKind, PixelRect, TrackedFace, Word, } from "@allyhub-next/video-core";
package/dist/index.d.ts CHANGED
@@ -1,20 +1,13 @@
1
1
  export * from "./free.js";
2
2
  export { BOUND, sdkFor, type BoundSdk, type Sdk, type SdkModule, } from "./module.js";
3
3
  export type { FootageFn, PartFn, TakeFn } from "./parts.js";
4
- export type { SlidesFn, VideoFn } from "./piece.js";
4
+ export type { VideoFn } from "./piece.js";
5
5
  /**
6
6
  * A video: the default export of an item's video.ts. The function returns
7
7
  * its parts, in order.
8
8
  */
9
9
  export declare const video: import("./piece.js").VideoFn;
10
- /**
11
- * Pages of one format, each one still frame: a single image, a carousel,
12
- * slides, a PDF document; the default export of an item's slides.ts.
13
- * `notes: true` reads each page's speaker notes from
14
- * `<prefix>.<page>.notes`.
15
- */
16
- export declare const slides: import("./piece.js").SlidesFn;
17
- /** A part of a video, or a page of a paged output. */
10
+ /** A part of a video. */
18
11
  export declare const part: import("./parts.js").PartFn;
19
12
  /**
20
13
  * Speech from a recording (an import, or a path) with its word times
package/dist/index.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{footageFor as r,partFor as t,takeFor as e}from"./parts.js";import{slidesFor as p,videoFor as s}from"./piece.js";import{writtenIn as i}from"./written.js";export*from"./free.js";export{BOUND,sdkFor}from"./module.js";const o=i({file:""});export const video=s(o),slides=p(o),part=t(o),take=e(o),footage=r(o);
2
+ import{footageFor as r,partFor as t,takeFor as e}from"./parts.js";import{videoFor as p}from"./piece.js";import{writtenIn as f}from"./written.js";export*from"./free.js";export{BOUND,sdkFor}from"./module.js";const o=f({file:""});export const video=p(o),part=t(o),take=e(o),footage=r(o);
package/dist/module.d.ts CHANGED
@@ -1,14 +1,13 @@
1
1
  import * as free from "./free.js";
2
2
  import { type FootageFn, type PartFn, type TakeFn } from "./parts.js";
3
- import { type SlidesFn, type VideoFn } from "./piece.js";
3
+ import { type VideoFn } from "./piece.js";
4
4
  import { type SdkModule } from "./written.js";
5
5
  export type { SdkModule } from "./written.js";
6
6
  /** The functions that name files, and so are made for a module. */
7
- export declare const BOUND: readonly ["video", "slides", "part", "take", "footage"];
7
+ export declare const BOUND: readonly ["video", "part", "take", "footage"];
8
8
  /** The functions sdkFor makes for a module. */
9
9
  export interface BoundSdk {
10
10
  video: VideoFn;
11
- slides: SlidesFn;
12
11
  part: PartFn;
13
12
  take: TakeFn;
14
13
  footage: FootageFn;
package/dist/module.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*as e from"./free.js";import{footageFor as i,partFor as a,takeFor as s}from"./parts.js";import{slidesFor as f,videoFor as n}from"./piece.js";import{writtenIn as p}from"./written.js";export const BOUND=["video","slides","part","take","footage"];export function sdkFor(r){const o=p(r),t={video:n(o),slides:f(o),part:a(o),take:s(o),footage:i(o)};return{...e,...t}}
2
+ import*as e from"./free.js";import{footageFor as a,partFor as f,takeFor as i}from"./parts.js";import{videoFor as n}from"./piece.js";import{writtenIn as p}from"./written.js";export const BOUND=["video","part","take","footage"];export function sdkFor(t){const o=p(t),r={video:n(o),part:f(o),take:i(o),footage:a(o)};return{...e,...r}}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub-next/audio",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -0,0 +1,31 @@
1
+ import { type ChartDef } from "./chart.js";
2
+ /** The cells a chart's numbers are read through, in its file's spelling. */
3
+ export interface ChartRefs {
4
+ /** A series' name, or undefined when it is its own text. */
5
+ name: (series: number) => string | undefined;
6
+ /** Its categories, or undefined when it has none to name. */
7
+ categories: string | undefined;
8
+ /** Whether its categories are numbers (dates, years): a numRef. */
9
+ numeric?: boolean;
10
+ /** A series' values. */
11
+ values: (series: number) => string;
12
+ /** A scatter series' places across. */
13
+ x?: (series: number) => string | undefined;
14
+ }
15
+ export interface ChartPart {
16
+ refs: ChartRefs;
17
+ /** The plot's place, from the frame in points; absent: the app's own automatic layout. */
18
+ frame?: {
19
+ width: number;
20
+ height: number;
21
+ };
22
+ /** The title's cell: it reads the title from there. */
23
+ titleRef?: string;
24
+ /** What ends the part: a deck's workbook. */
25
+ tail?: string;
26
+ /** Rows a filter or a person hides are left out, as a chart's own option. */
27
+ plotVisible?: boolean;
28
+ }
29
+ /** A chart's part. */
30
+ export declare function chartSpaceXml(c: ChartDef, part: ChartPart): string;
31
+ //# sourceMappingURL=chart-xml.d.ts.map
@@ -0,0 +1,3 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{accentOf as j,CHART_DEFAULTS as d,chartDrawing as D,groupingOf as z,hasLines as E,hasMarkers as N,isArea as R,isBar as v,isHorizontal as T,isLine as k,isRound as h,isScatter as P,labelPositionOf as O,variesOf as w}from"./chart.js";const U="http://schemas.openxmlformats.org/drawingml/2006/chart",V="http://schemas.openxmlformats.org/drawingml/2006/main",B="http://schemas.openxmlformats.org/officeDocument/2006/relationships",W=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
3
+ `,x="2118791784",y="2140495176",H={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"},Z=e=>{const n=e.charCodeAt(0);return n<32&&n!==9&&n!==10&&n!==13||n===65534||n===65535},l=e=>Array.from(e,n=>Z(n)?"":H[n]??n).join("");function o(e,n={},...c){const r=Object.entries(n).filter(([,s])=>s!==void 0).map(([s,i])=>` ${s}="${l(typeof i=="boolean"?i?"1":"0":String(i))}"`).join(""),a=c.join("");return a===""?`<${e}${r}/>`:`<${e}${r}>${a}</${e}>`}const q=e=>typeof e=="string"?o("a:schemeClr",{val:e}):o("a:srgbClr",{val:e.rgb.replace("#","").toUpperCase()}),f=e=>e===null?o("a:noFill"):o("a:solidFill",{},q(e)),t=(e,n)=>o(e,{val:typeof n=="boolean"?n?1:0:n}),m=(e,n)=>o("a:ln",n===void 0?{}:{w:Math.round(n*12700)},f(e)),F=(e,n)=>o("c:txPr",{},o("a:bodyPr"),o("a:lstStyle"),o("a:p",{},o("a:pPr",{},o("a:defRPr",e===void 0?{}:{sz:Math.round(e*100)},n===void 0?"":f(n))),o("a:endParaRPr",{lang:"en-US"}))),S=e=>o("c:strCache",{},t("c:ptCount",e.length),...e.map((n,c)=>o("c:pt",{idx:c},`<c:v>${l(n)}</c:v>`))),A=(e,n)=>o("c:numCache",{},`<c:formatCode>${l(e??"General")}</c:formatCode>`,t("c:ptCount",n.length),...n.flatMap((c,r)=>c===null?[]:[o("c:pt",{idx:r},`<c:v>${String(c)}</c:v>`)])),K=(e,n)=>o("c:tx",{},n===void 0?`<c:v>${l(e.name)}</c:v>`:o("c:strRef",{},`<c:f>${l(n)}</c:f>`,S([e.name]))),Y=(e,n)=>n===void 0?"":o("c:xVal",{},o("c:numRef",{},`<c:f>${l(n)}</c:f>`,A("General",e.x??[])));function J(e,n,c,r){const a=n.color??j(c),s=h(e.type),i=P(e.type),u=k(e.type)||i,g=N(e.type),X=u?o("c:spPr",{},E(e.type)?m(a,n.line_width??d.lineWidth):o("a:ln",{w:19050},f(null))):o("c:spPr",{},f(a),s?m("lt1",1):""),_=r.categories;return o("c:ser",{},t("c:idx",c),t("c:order",c),K(n,r.name(c)),X,v(e.type)?t("c:invertIfNegative",!1):"",u?o("c:marker",{},t("c:symbol",g?"circle":"none"),g?t("c:size",n.marker_size??d.marker):"",g?o("c:spPr",{},f(a),m(a)):""):"",...w(e)&&!u&&!R(e.type)?e.categories.map((C,p)=>o("c:dPt",{},t("c:idx",p),v(e.type)?t("c:invertIfNegative",!1):"",t("c:bubble3D",!1),o("c:spPr",{},f(j(p)),s?m("lt1",1):""))):[],i?Y(n,r.x?.(c)):_===void 0?"":o("c:cat",{},r.numeric===!0?o("c:numRef",{},`<c:f>${l(_)}</c:f>`,A("General",e.categories.map(C=>{const p=Number(C);return C===""||!Number.isFinite(p)?null:p}))):o("c:strRef",{},`<c:f>${l(_)}</c:f>`,S(e.categories))),o(i?"c:yVal":"c:val",{},o("c:numRef",{},`<c:f>${l(r.values(c))}</c:f>`,A(n.number_format,n.values))),u?t("c:smooth",n.smooth===!0||e.type==="scatter-smooth"):"")}function b(e){const n=e.labels;if(!n)return"";const c=n.show_percentage===!0,r=O(e);return o("c:dLbls",{},n.number_format===void 0?"":o("c:numFmt",{formatCode:n.number_format,sourceLinked:0}),n.size===void 0&&n.color===void 0&&!h(e.type)?"":F(n.size,n.color??(h(e.type)?"lt1":void 0)),r===void 0?"":t("c:dLblPos",r),t("c:showLegendKey",!1),t("c:showVal",n.show_value??!c),t("c:showCatName",n.show_category_name===!0),t("c:showSerName",n.show_series_name===!0),t("c:showPercent",c),t("c:showBubbleSize",!1))}function Q(e,n){const c=e.series.map((s,i)=>J(e,s,i,n)).join(""),r=z(e.type),a=t("c:axId",x)+t("c:axId",y);if(h(e.type)){const s=e.type==="pie";return o(s?"c:pieChart":"c:doughnutChart",{},t("c:varyColors",w(e)),c,b(e),t("c:firstSliceAng",0),s?"":t("c:holeSize",e.hole_size??50))}if(P(e.type))return o("c:scatterChart",{},t("c:scatterStyle","lineMarker"),t("c:varyColors",!1),c,b(e),a);if(v(e.type)){const s=r!=="clustered";return o("c:barChart",{},t("c:barDir",T(e.type)?"bar":"col"),t("c:grouping",r),t("c:varyColors",w(e)),c,b(e),t("c:gapWidth",e.gap_width??150),e.overlap!==void 0||s?t("c:overlap",e.overlap??100):"",a)}return o(k(e.type)?"c:lineChart":"c:areaChart",{},t("c:grouping",r),t("c:varyColors",!1),c,b(e),k(e.type)?t("c:marker",!0):"",a)}const L=e=>o("c:scaling",{},t("c:orientation",e.reverse_order===!0?"maxMin":"minMax"),e.maximum_scale===void 0?"":t("c:max",e.maximum_scale),e.minimum_scale===void 0?"":t("c:min",e.minimum_scale)),G=e=>o("c:spPr",{},m(e.line_color??{rgb:d.axisLine},d.gridWidth)),$=e=>e.has_major_gridlines===!0?o("c:majorGridlines",{},o("c:spPr",{},m(e.gridline_color??{rgb:d.gridline},d.gridWidth))):"",I=(e,n)=>o("c:rich",{},o("a:bodyPr"),o("a:lstStyle"),o("a:p",{},o("a:pPr",{},o("a:defRPr",{sz:n,b:0})),o("a:r",{},o("a:rPr",{lang:"en-US",sz:n,b:0}),`<a:t>${l(e)}</a:t>`))),M=(e,n)=>e===void 0||e===""?"":o("c:title",{},o("c:tx",{},I(e,n)),t("c:overlay",!1));function ee(e){if(h(e.type))return"";const n=P(e.type),c=T(e.type),r=e.category_axis??{},a={has_major_gridlines:!0,...e.value_axis},s=z(e.type)==="percentStacked",i=a.number_format??(s?"0%":e.series[0]?.number_format??"General"),u=Math.round((e.font_size??d.fontSize)*100);return(n?o("c:valAx",{},t("c:axId",x),L(r),t("c:delete",r.visible===!1),t("c:axPos","b"),$(r),M(r.title,u),o("c:numFmt",{formatCode:r.number_format??"General",sourceLinked:r.number_format===void 0?1:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),G(r),t("c:crossAx",y),t("c:crosses","autoZero"),t("c:crossBetween","midCat"),r.major_unit===void 0?"":t("c:majorUnit",r.major_unit)):o("c:catAx",{},t("c:axId",x),L(r),t("c:delete",r.visible===!1),t("c:axPos",c?"l":"b"),$(r),M(r.title,u),o("c:numFmt",{formatCode:"General",sourceLinked:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),G(r),t("c:crossAx",y),t("c:crosses","autoZero"),t("c:auto",!0),t("c:lblAlgn","ctr"),t("c:lblOffset",100),t("c:noMultiLvlLbl",!1)))+o("c:valAx",{},t("c:axId",y),L(a),t("c:delete",a.visible===!1),t("c:axPos",c?"b":"l"),$(a),M(a.title,u),o("c:numFmt",{formatCode:i,sourceLinked:a.number_format===void 0&&!s?1:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),o("c:spPr",{},m(null)),t("c:crossAx",x),t("c:crosses","autoZero"),t("c:crossBetween",R(e.type)||n?"midCat":"between"),a.major_unit===void 0?"":t("c:majorUnit",a.major_unit))}const te={bottom:"b",top:"t",left:"l",right:"r"};function ne(e,n){const c=n.width,r=n.height,{plot:a}=D(e,c,r),s=i=>Number(i.toFixed(5));return o("c:layout",{},o("c:manualLayout",{},t("c:layoutTarget","inner"),t("c:xMode","edge"),t("c:yMode","edge"),t("c:x",s(a.x/c)),t("c:y",s(a.y/r)),t("c:w",s(a.width/c)),t("c:h",s(a.height/r))))}export function chartSpaceXml(e,n){const c=e.title!==void 0&&e.title!==""?e.title:void 0,r=e.font_size??d.fontSize,a=Math.round((e.title_size??r*d.titleScale)*100);return W+o("c:chartSpace",{"xmlns:c":U,"xmlns:a":V,"xmlns:r":B},t("c:date1904",!1),t("c:roundedCorners",!1),o("c:chart",{},c===void 0?"":o("c:title",{},o("c:tx",{},n.titleRef===void 0?I(c,a):o("c:strRef",{},`<c:f>${l(n.titleRef)}</c:f>`,S([c]))),t("c:overlay",!1)),t("c:autoTitleDeleted",c===void 0),o("c:plotArea",{},n.frame?ne(e,n.frame):o("c:layout"),Q(e,n.refs),ee(e)),e.legend===void 0?"":o("c:legend",{},t("c:legendPos",te[e.legend]),t("c:overlay",!1)),t("c:plotVisOnly",n.plotVisible??!0),t("c:dispBlanksAs","gap")),F(r,e.font_color??"dk1"),n.tail??"")}
@@ -0,0 +1,195 @@
1
+ import type { ChartLegendPosition, SheetChartType, ThemeColor } from "@allyhub-next/formats";
2
+ /** A colour: the theme's, or `#RRGGBB`. */
3
+ export type Color = ThemeColor | {
4
+ rgb: string;
5
+ };
6
+ /** The kinds a chart is drawn as: a slide's and a sheet's (which adds scatter). */
7
+ export type ChartKind = SheetChartType;
8
+ /** Where a data label sits (`c:dLblPos`). */
9
+ export type ChartLabelPosition = "outEnd" | "inEnd" | "ctr" | "inBase" | "t" | "b" | "l" | "r" | "bestFit";
10
+ export interface ChartSeriesDef {
11
+ name: string;
12
+ /** One per category; null where there is none. */
13
+ values: (number | null)[];
14
+ /** A scatter's: each point's place across, beside `values`. */
15
+ x?: (number | null)[];
16
+ /** Its values' format in the workbook (Excel's). */
17
+ number_format?: string;
18
+ /** Its colour; default the theme's accents, in turn. */
19
+ color?: Color;
20
+ /** A line's curve. */
21
+ smooth?: boolean;
22
+ /** A line's width in points. */
23
+ line_width?: number;
24
+ /** A marker's size in points. */
25
+ marker_size?: number;
26
+ }
27
+ export interface ChartAxisDef {
28
+ minimum_scale?: number;
29
+ maximum_scale?: number;
30
+ major_unit?: number;
31
+ has_major_gridlines?: boolean;
32
+ visible?: boolean;
33
+ /** Its tick labels' format (Excel's). */
34
+ number_format?: string;
35
+ /** Last category first. */
36
+ reverse_order?: boolean;
37
+ /** Its gridlines' colour. */
38
+ gridline_color?: Color;
39
+ /** Its line's colour. */
40
+ line_color?: Color;
41
+ /** Its title (`c:title`). */
42
+ title?: string;
43
+ }
44
+ export interface ChartLabelsDef {
45
+ show_value?: boolean;
46
+ show_percentage?: boolean;
47
+ show_category_name?: boolean;
48
+ show_series_name?: boolean;
49
+ number_format?: string;
50
+ position?: ChartLabelPosition;
51
+ /** Points. */
52
+ size?: number;
53
+ color?: Color;
54
+ }
55
+ /** A chart (`c:chartSpace`). */
56
+ export interface ChartDef {
57
+ type: ChartKind;
58
+ categories: string[];
59
+ series: ChartSeriesDef[];
60
+ title?: string;
61
+ /** Where its legend is; absent: it has none. */
62
+ legend?: ChartLegendPosition;
63
+ /** Its data labels; absent: it has none. */
64
+ labels?: ChartLabelsDef;
65
+ /** Between bars' groups, as a share of a bar's width, in %. */
66
+ gap_width?: number;
67
+ /** Of one bar over the next, in %, from -100 to 100. */
68
+ overlap?: number;
69
+ /** A colour per category, as a pie has by default. */
70
+ vary_by_categories?: boolean;
71
+ /** A doughnut's hole, in % of its size. */
72
+ hole_size?: number;
73
+ value_axis?: ChartAxisDef;
74
+ category_axis?: ChartAxisDef;
75
+ /** Its text's size in points. */
76
+ font_size?: number;
77
+ /** Its title's size in points. */
78
+ title_size?: number;
79
+ font_color?: Color;
80
+ /** The project file its numbers came from. */
81
+ source?: string;
82
+ }
83
+ /** What a chart is drawn with unless it says otherwise. */
84
+ export declare const CHART_DEFAULTS: {
85
+ /** Points. */
86
+ readonly fontSize: 12;
87
+ /** A title's size over the chart's text. */
88
+ readonly titleScale: 1.2;
89
+ readonly gapWidth: 150;
90
+ readonly holeSize: 50;
91
+ /** Space round the chart, points. */
92
+ readonly margin: 6;
93
+ readonly gridline: "#D9D9D9";
94
+ readonly axisLine: "#BFBFBF";
95
+ /** A share of a letter's size: how wide a letter is taken to be. */
96
+ readonly letter: 0.55;
97
+ /** Line widths, points. */
98
+ readonly lineWidth: 2.25;
99
+ readonly gridWidth: 0.75;
100
+ /** A marker's size, points. */
101
+ readonly marker: 5;
102
+ };
103
+ export declare const accentOf: (i: number) => Color;
104
+ export declare const isBar: (t: ChartKind) => boolean;
105
+ export declare const isHorizontal: (t: ChartKind) => boolean;
106
+ export declare const isLine: (t: ChartKind) => boolean;
107
+ export declare const isArea: (t: ChartKind) => boolean;
108
+ export declare const isRound: (t: ChartKind) => t is "pie" | "doughnut";
109
+ export declare const isScatter: (t: ChartKind) => boolean;
110
+ /** Whether its points are joined. */
111
+ export declare const hasLines: (t: ChartKind) => boolean;
112
+ export declare const hasMarkers: (t: ChartKind) => t is "line-markers" | "scatter" | "scatter-lines";
113
+ export declare const groupingOf: (t: ChartKind) => "clustered" | "stacked" | "percentStacked" | "standard";
114
+ /**
115
+ * Where each kind of chart can have its labels: PowerPoint repairs a file
116
+ * that names any other (a stacked bar's outside end), and an area or a
117
+ * doughnut names none.
118
+ */
119
+ export declare function labelPositionsOf(t: ChartKind): readonly ChartLabelPosition[];
120
+ /** Where a chart's labels are: where it says if its kind can, else where this one draws them. */
121
+ export declare function labelPositionOf(c: Pick<ChartDef, "type" | "labels">): ChartLabelPosition | undefined;
122
+ /** Whether each category has its own colour. */
123
+ export declare const variesOf: (c: Pick<ChartDef, "type" | "vary_by_categories">) => boolean;
124
+ /** A number as an Excel format shows it. */
125
+ export declare function formatValue(value: number, code?: string): string;
126
+ export interface ChartScale {
127
+ min: number;
128
+ max: number;
129
+ major: number;
130
+ ticks: number[];
131
+ }
132
+ /**
133
+ * A value axis from the values it shows, as Excel's automatic one: zero is on
134
+ * it unless the values are close together, a step of 1, 2 or 5 of a power of
135
+ * ten that gives its length at least `room` per step, and 5 % of head room.
136
+ */
137
+ export declare function chartScale(low: number, high: number, length: number, room: number, axis?: ChartAxisDef): ChartScale;
138
+ export interface ChartBox {
139
+ x: number;
140
+ y: number;
141
+ width: number;
142
+ height: number;
143
+ color: Color;
144
+ series: number;
145
+ category: number;
146
+ }
147
+ export interface ChartStroke {
148
+ /** An SVG path. */
149
+ d: string;
150
+ color: Color;
151
+ width: number;
152
+ fill?: Color;
153
+ series?: number;
154
+ category?: number;
155
+ }
156
+ export interface ChartDot {
157
+ x: number;
158
+ y: number;
159
+ r: number;
160
+ color: Color;
161
+ }
162
+ export interface ChartWord {
163
+ /** Where it is anchored: its left, middle or right, at its vertical middle. */
164
+ x: number;
165
+ y: number;
166
+ text: string;
167
+ size: number;
168
+ anchor: "start" | "middle" | "end";
169
+ color: Color;
170
+ /** Turned, in degrees: an axis's title beside it. */
171
+ rotate?: number;
172
+ }
173
+ /** A chart as drawn, in points in its frame, back to front. */
174
+ export interface ChartDrawing {
175
+ grid: ChartStroke[];
176
+ /** Filled areas, bars and slices. */
177
+ shapes: ChartStroke[];
178
+ boxes: ChartBox[];
179
+ lines: ChartStroke[];
180
+ axes: ChartStroke[];
181
+ dots: ChartDot[];
182
+ /** Swatches of the legend. */
183
+ keys: ChartBox[];
184
+ words: ChartWord[];
185
+ /** Where the plot is. */
186
+ plot: {
187
+ x: number;
188
+ y: number;
189
+ width: number;
190
+ height: number;
191
+ };
192
+ }
193
+ /** A chart laid out in a frame of `width` × `height` points. */
194
+ export declare function chartDrawing(c: ChartDef, width: number, height: number): ChartDrawing;
195
+ //# sourceMappingURL=chart.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{format as Lt,isValidFormat as jt}from"numfmt";export const CHART_DEFAULTS={fontSize:12,titleScale:1.2,gapWidth:150,holeSize:50,margin:6,gridline:"#D9D9D9",axisLine:"#BFBFBF",letter:.55,lineWidth:2.25,gridWidth:.75,marker:5};const bt=["accent1","accent2","accent3","accent4","accent5","accent6"];export const accentOf=t=>bt[t%bt.length]??"accent1",isBar=t=>t.startsWith("column")||t.startsWith("bar"),isHorizontal=t=>t.startsWith("bar"),isLine=t=>t.startsWith("line"),isArea=t=>t.startsWith("area"),isRound=t=>t==="pie"||t==="doughnut",isScatter=t=>t.startsWith("scatter"),hasLines=t=>!isScatter(t)||t!=="scatter",hasMarkers=t=>t==="line-markers"||t==="scatter"||t==="scatter-lines",groupingOf=t=>t.endsWith("-100")?"percentStacked":t.endsWith("-stacked")?"stacked":isBar(t)?"clustered":"standard";export function labelPositionsOf(t){return isArea(t)||t==="doughnut"?[]:t==="pie"?["bestFit","outEnd","inEnd","ctr"]:isLine(t)||isScatter(t)?["t","b","l","r","ctr"]:groupingOf(t)==="clustered"?["outEnd","inEnd","ctr","inBase"]:["inEnd","ctr","inBase"]}export function labelPositionOf(t){const a=labelPositionsOf(t.type),l=t.labels?.position;if(l!==void 0&&a.includes(l))return l;if(a.length!==0)return t.type==="pie"?"ctr":isLine(t.type)||isScatter(t.type)?"t":groupingOf(t.type)==="clustered"?"outEnd":"ctr"}export const variesOf=t=>t.vary_by_categories??isRound(t.type);export function formatValue(t,a="General"){return a==="General"||!jt(a)?String(Number(t.toPrecision(10))):Lt(a,t)}const Ct=[1,2,5,10];export function chartScale(t,a,l,s,e={}){const h=t>0&&(a-t)/a<.16666666666666666?t:Math.min(t,0),i=a<=0&&t<0?0:a,o=e.minimum_scale??h,C=e.maximum_scale??i,_=C>o?C-o:1,F=Math.max(1,Math.floor(l/s)),b=_/F,P=10**Math.floor(Math.log10(b)),B=e.major_unit??(Ct.find(E=>E*P>=b)??10)*P,N=(E,L)=>Number((L(Number((E/B).toFixed(9)))*B).toPrecision(12)),Z=i>0?i+_*.05:i===h?_:i,g=e.maximum_scale??N(Z,Math.ceil),R=h<0?h-_*.05:h,W=e.minimum_scale??N(R,Math.floor),O=[],x=Math.round((g-W)/B);for(let E=0;E<=x;E++)O.push(Number((W+E*B).toPrecision(12)));return{min:W,max:g,major:B,ticks:O}}const it=(t,a)=>{let l=0;for(const s of t)l+=(s.codePointAt(0)??0)>11903?1:CHART_DEFAULTS.letter;return l*a},d=t=>String(Number(t.toFixed(3)));function $t(t){const a=l=>t[Math.max(0,Math.min(t.length-1,l))]??[0,0];return t.map(([l,s],e)=>{if(e===0)return`M${d(l)} ${d(s)}`;const[h,i]=a(e-2),[o,C]=a(e-1),[_,F]=a(e+1),b=`${d(o+(l-h)/6)} ${d(C+(s-i)/6)}`,P=`${d(l-(_-o)/6)} ${d(s-(F-C)/6)}`;return`C${b} ${P} ${d(l)} ${d(s)}`}).join(" ")}const lt=t=>t.map(([a,l],s)=>`${s===0?"M":"L"}${d(a)} ${d(l)}`).join(" ");function Ft(t,a,l,s,e,h){const i=(F,b)=>`${d(t+F*Math.sin(b))} ${d(a-F*Math.cos(b))}`,o=h-e>=Math.PI*2?e+Math.PI*2-1e-4:h,C=o-e>Math.PI?1:0,_=`M${i(l,e)} A${d(l)} ${d(l)} 0 ${String(C)} 1 ${i(l,o)}`;return s<=0?`${_} L${d(t)} ${d(a)} Z`:`${_} L${i(s,o)} A${d(s)} ${d(s)} 0 ${String(C)} 0 ${i(s,e)} Z`}function vt(t,a,l,s){const e=s*1.5;return a!==void 0&&a!==""&&(t.bottom-=e),l!==void 0&&l!==""&&(t.left+=e),{x:t.left-e/2,y:t.bottom+e/2}}function kt(t,a,l,s,e,h,i){s!==void 0&&s!==""&&t.words.push({x:a.x+a.width/2,y:l.y,text:s,size:h,anchor:"middle",color:i}),e!==void 0&&e!==""&&t.words.push({x:l.x,y:a.y+a.height/2,text:e,size:h,anchor:"middle",color:i,rotate:-90})}const ht=(t,a,l,s,e)=>{const h=t.labels;if(!h)return"";const i=isRound(t.type),o=[];return h.show_series_name&&o.push(s.name),h.show_category_name&&o.push(e),(h.show_value??!(h.show_percentage??!1))&&o.push(formatValue(a,h.number_format??s.number_format)),h.show_percentage&&i&&o.push(formatValue(l,h.number_format??"0%")),o.join(", ")};function Bt(t,a,l,s,e){const h=CHART_DEFAULTS,i=t.category_axis??{},o=t.value_axis??{},C=vt(l,i.title,o.title,s),_=t.series.map(c=>c.values.flatMap(($,H)=>{const I=c.x?.[H]??(c.x?null:H+1);return I===null||$===null?[]:[[I,$]]})),F=_.flat().map(c=>c[0]),b=_.flat().map(c=>c[1]),P=c=>c.length>0?Math.min(...c):0,B=c=>c.length>0?Math.max(...c):1,N=o.number_format??t.series[0]?.number_format??"General",Z=i.number_format??"General",g=s*.5,R=chartScale(P(b),B(b),l.bottom-l.top,s*2.4,o),W=o.visible===!1?0:Math.max(0,...R.ticks.map(c=>it(formatValue(c,N),s)))+g,O=i.visible===!1?0:s*1.2+g,x={x:l.left+W,y:l.top,width:l.right-l.left-W,height:l.bottom-l.top-O};a.plot=x,kt(a,x,C,i.title,o.title,s,e);const E=chartScale(P(F),B(F),x.width,s*5,i),L=chartScale(P(b),B(b),x.height,s*2.4,o),z=c=>x.x+(Math.min(E.max,Math.max(E.min,c))-E.min)/(E.max-E.min)*x.width,D=c=>x.y+x.height-(Math.min(L.max,Math.max(L.min,c))-L.min)/(L.max-L.min)*x.height;for(const c of L.ticks){const $=D(c);(o.has_major_gridlines??!0)&&a.grid.push({d:`M${d(x.x)} ${d($)} H${d(x.x+x.width)}`,color:o.gridline_color??{rgb:h.gridline},width:h.gridWidth}),o.visible!==!1&&a.words.push({x:x.x-g,y:$,text:formatValue(c,N),size:s,anchor:"end",color:e})}for(const c of E.ticks){const $=z(c);i.has_major_gridlines===!0&&a.grid.push({d:`M${d($)} ${d(x.y)} V${d(x.y+x.height)}`,color:i.gridline_color??{rgb:h.gridline},width:h.gridWidth}),i.visible!==!1&&a.words.push({x:$,y:x.y+x.height+g+s*.6,text:formatValue(c,Z),size:s,anchor:"middle",color:e})}a.axes.push({d:`M${d(x.x)} ${d(D(Math.max(L.min,Math.min(L.max,0))))} H${d(x.x+x.width)}`,color:i.line_color??{rgb:h.axisLine},width:h.gridWidth}),t.series.forEach((c,$)=>{const H=c.color??accentOf($),I=(_[$]??[]).map(([U,Y])=>[z(U),D(Y)]);if(I.length!==0&&(hasLines(t.type)&&a.lines.push({d:t.type==="scatter-smooth"||c.smooth===!0?$t(I):lt(I),color:H,width:c.line_width??h.lineWidth,series:$}),hasMarkers(t.type)))for(const[U,Y]of I)a.dots.push({x:U,y:Y,r:(c.marker_size??h.marker)/2,color:H})})}export function chartDrawing(t,a,l){const s=CHART_DEFAULTS,e=t.font_size??s.fontSize,h=t.font_color??"dk1",i={grid:[],shapes:[],boxes:[],lines:[],axes:[],dots:[],keys:[],words:[],plot:{x:0,y:0,width:0,height:0}},o={left:s.margin,top:s.margin,right:a-s.margin,bottom:l-s.margin};if(t.title!==void 0&&t.title!==""){const n=t.title_size??e*s.titleScale;i.words.push({x:a/2,y:o.top+n*.7,text:t.title,size:n,anchor:"middle",color:h}),o.top+=n*1.6}const C=isRound(t.type),_=variesOf(t),F=(n,m)=>_?accentOf(m):t.series[n]?.color??accentOf(n);if(t.legend!==void 0){const n=_?t.categories:t.series.map(p=>p.name),m=e*.6,f=e*.4,r=e*1.5,y=n.map(p=>m+f+it(p,e)),S=(p,M,w)=>{i.keys.push({x:M,y:w-m/2,width:m,height:m,color:_?accentOf(p):t.series[p]?.color??accentOf(p),series:_?0:p,category:_?p:0}),i.words.push({x:M+m+f,y:w,text:n[p]??"",size:e,anchor:"start",color:h})};if(t.legend==="top"||t.legend==="bottom"){const p=y.reduce((A,v)=>A+v,0)+e*(n.length-1),M=t.legend==="top"?o.top+r/2:o.bottom-r/2;let w=(a-p)/2;n.forEach((A,v)=>{S(v,w,M),w+=(y[v]??0)+e}),t.legend==="top"?o.top+=r:o.bottom-=r}else{const p=Math.max(0,...y),M=t.legend==="left"?o.left:o.right-p,w=(o.top+o.bottom-r*n.length)/2+r/2;n.forEach((A,v)=>{S(v,M,w+v*r)}),t.legend==="left"?o.left+=p+e:o.right-=p+e}}const b=t.labels,P=b?.size??e,B=b?.color??h,N=(n,m,f,r,y=B)=>{f!==""&&i.words.push({x:n,y:m,text:f,size:P,anchor:r,color:y})};if(C){const n=t.series[0],m=(n?.values??[]).map(w=>Math.max(0,w??0)),f=m.reduce((w,A)=>w+A,0),r=Math.max(0,Math.min(o.right-o.left,o.bottom-o.top)/2),y=(o.left+o.right)/2,S=(o.top+o.bottom)/2,p=t.type==="doughnut"?r*((t.hole_size??s.holeSize)/100):0;i.plot={x:y-r,y:S-r,width:r*2,height:r*2};let M=0;return m.forEach((w,A)=>{const v=f>0?w/f:0,V=M+v*Math.PI*2;if(v>0){i.shapes.push({d:Ft(y,S,r,p,M,V),color:"lt1",width:1,fill:F(0,A),series:0,category:A});const j=(M+V)/2,k=p>0?(r+p)/2:labelPositionOf(t)==="inEnd"?r*.85:r*.6;n&&N(y+k*Math.sin(j),S-k*Math.cos(j),ht(t,w,v,n,t.categories[A]??""),"middle",b?.color??"lt1")}M=V}),i}if(isScatter(t.type))return Bt(t,i,o,e,h),i;const Z=Math.max(1,t.categories.length),g=isHorizontal(t.type),R=groupingOf(t.type),W=R!=="clustered"&&R!=="standard",O=R==="percentStacked",x=t.series.map(n=>t.categories.map((m,f)=>n.values[f]??null)),E=t.categories.map((n,m)=>x.reduce((f,r)=>f+Math.abs(r[m]??0),0)),L=(n,m)=>{const f=x[n]?.[m];if(f==null)return null;const r=E[m]??0;return O?r>0?f/r:0:f};let z=0,D=0;if(t.categories.forEach((n,m)=>{let f=0,r=0;t.series.forEach((y,S)=>{const p=L(S,m)??0;W?p>=0?f+=p:r+=p:(f=Math.max(f,p),r=Math.min(r,p))}),D=Math.max(D,f),z=Math.min(z,r)}),!W){const n=x.flat().filter(m=>m!==null);n.length>0&&Math.min(...n)>0&&(z=Math.min(...n))}O&&(D=1,z=Math.min(z,0));const c=t.value_axis??{},$=t.category_axis??{},H=c.number_format??(O?"0%":t.series[0]?.number_format??"General"),I=g?o.right-o.left:o.bottom-o.top,U=g?e*5:e*2.4,Y=chartScale(z,D,I,U,{...c,...O?{maximum_scale:c.maximum_scale??1}:{}}),Wt=c.visible===!1?[]:Y.ticks.map(n=>formatValue(n,H)),Et=Math.max(0,...Wt.map(n=>it(n,e))),ot=$.visible!==!1,dt=ot?Math.max(0,...t.categories.map(n=>it(n,e))):0,T=e*.5,mt=g?c.title:$.title,ft=g?$.title:c.title,St=vt(o,mt,ft,e),u=g?{x:o.left+(ot?dt+T:0),y:o.top,width:0,height:o.bottom-o.top-(c.visible===!1?0:e*1.2+T)}:{x:o.left+(c.visible===!1?0:Et+T),y:o.top,width:0,height:o.bottom-o.top-(ot?e*1.2+T:0)};u.width=o.right-u.x,i.plot=u,kt(i,u,St,mt,ft,e,h);const G=chartScale(z,D,g?u.width:u.height,U,{...c,...O?{maximum_scale:c.maximum_scale??1}:{}}),ut=n=>(Math.min(G.max,Math.max(G.min,n))-G.min)/(G.max-G.min)*(g?u.width:u.height),q=n=>g?u.x+ut(n):u.y+u.height-ut(n),pt=isArea(t.type),gt=$.reverse_order===!0,xt=g?!gt:gt,at=(g?u.height:u.width)/Z,yt=pt?(g?u.height:u.width)/Math.max(1,Z-1):at,ct=n=>{const m=pt?n*yt:(n+.5)*at,f=g?u.height:u.width,r=xt?f-m:m;return(g?u.y:u.x)+r},Mt=q(Math.max(G.min,Math.min(G.max,0)));for(const n of G.ticks){const m=q(n);(c.has_major_gridlines??!0)&&i.grid.push({d:g?`M${d(m)} ${d(u.y)} V${d(u.y+u.height)}`:`M${d(u.x)} ${d(m)} H${d(u.x+u.width)}`,color:c.gridline_color??{rgb:s.gridline},width:s.gridWidth}),c.visible!==!1&&i.words.push(g?{x:m,y:u.y+u.height+T+e*.6,text:formatValue(n,H),size:e,anchor:"middle",color:h}:{x:u.x-T,y:m,text:formatValue(n,H),size:e,anchor:"end",color:h})}if(i.axes.push({d:g?`M${d(Mt)} ${d(u.y)} V${d(u.y+u.height)}`:`M${d(u.x)} ${d(Mt)} H${d(u.x+u.width)}`,color:$.line_color??{rgb:s.axisLine},width:s.gridWidth}),ot){const n=g?e*1.3:dt+e,m=Math.max(1,Math.ceil(n/Math.max(1,yt)));t.categories.forEach((f,r)=>{if(r%m!==0)return;const y=ct(r);i.words.push(g?{x:u.x-T,y,text:f,size:e,anchor:"end",color:h}:{x:y,y:u.y+u.height+T+e*.6,text:f,size:e,anchor:"middle",color:h})})}if(isBar(t.type)){const n=(t.gap_width??s.gapWidth)/100,m=W?1:t.series.length,f=W?1:(t.overlap??0)/100,r=at/(Math.max(1,m-(m-1)*f)+n),y=r*(1-f),S=r+y*(m-1);t.categories.forEach((p,M)=>{const w=ct(M);let A=0,v=0;t.series.forEach((V,j)=>{const k=L(j,M);if(k===null)return;const nt=W?k>=0?A:v:0,tt=nt+k;W&&(k>=0?A=tt:v=tt);const J=q(nt),K=q(tt),st=(W?w-r/2:w-S/2+j*y)+(g&&xt&&!W?S-r-2*j*y:0),Pt=g?{x:Math.min(J,K),y:st,width:Math.abs(K-J),height:r}:{x:st,y:Math.min(J,K),width:r,height:Math.abs(K-J)};if(i.boxes.push({...Pt,color:F(j,M),series:j,category:M}),!b)return;const wt=ht(t,x[j]?.[M]??0,0,V,t.categories[M]??""),rt=labelPositionOf(t),Q=P*.8,At=k>=0?1:-1,_t=(et,X)=>rt==="ctr"?(et+X)/2:rt==="inBase"?et+(X>et?Q:-Q):rt==="inEnd"?X-(X>et?Q:-Q):X+(X>=et?Q:-Q);g?N(_t(J,K),st+r/2,wt,rt==="outEnd"?At>0?"start":"end":"middle"):N(st+r/2,_t(J,K),wt,"middle")})})}else{const n=t.categories.map(()=>0),m=t.series.map((f,r)=>{const y=[],S=[];return t.categories.forEach((p,M)=>{const w=L(r,M);if(w===null)return;const A=W?n[M]??0:0,v=A+w;W&&(n[M]=v);const V=ct(M),j=k=>g?[q(k),V]:[V,q(k)];if(y.push(j(v)),S.push(j(A)),isLine(t.type)&&b){const k=labelPositionOf(t),[nt,tt]=j(v);N(nt+(k==="r"?P:k==="l"?-P:0),tt+(k==="t"?-P:k==="b"?P:0),ht(t,x[r]?.[M]??0,0,f,t.categories[M]??""),k==="r"?"start":k==="l"?"end":"middle")}}),{series:f,s:r,points:y,base:S}});for(const{series:f,s:r,points:y,base:S}of m){const p=f.color??accentOf(r);if(isArea(t.type)&&y.length>0)i.shapes.push({d:`${lt([...y,...[...S].reverse()])} Z`,color:p,width:0,fill:p,series:r});else if(y.length>0&&(i.lines.push({d:f.smooth===!0?$t(y):lt(y),color:p,width:f.line_width??s.lineWidth,series:r}),hasMarkers(t.type)))for(const[M,w]of y)i.dots.push({x:M,y:w,r:(f.marker_size??s.marker)/2,color:p})}i.shapes.reverse()}return i}
@@ -0,0 +1,3 @@
1
+ export * from "./chart.js";
2
+ export * from "./chart-xml.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export*from"./chart.js";export*from"./chart-xml.js";
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "@allyhub-next/chart",
3
+ "version": "0.5.0",
4
+ "type": "module",
5
+ "exports": {
6
+ ".": {
7
+ "types": "./dist/index.d.ts",
8
+ "default": "./dist/index.js"
9
+ }
10
+ },
11
+ "sideEffects": false,
12
+ "private": true,
13
+ "license": "SEE LICENSE IN LICENSE.md"
14
+ }
@@ -242,50 +242,6 @@ export declare const ReferenceAudioSchema: z.ZodObject<{
242
242
  }, z.core.$strip>>;
243
243
  }, z.core.$strip>;
244
244
  export type ReferenceAudio = z.infer<typeof ReferenceAudioSchema>;
245
- /** A piece measured as a platform serves it (`allyhub reference served`): the conditions, and where it means to cut. */
246
- export declare const ReferenceServedSchema: z.ZodObject<{
247
- item: z.ZodString;
248
- combo: z.ZodRecord<z.ZodString, z.ZodString>;
249
- format: z.ZodString;
250
- platform: z.ZodOptional<z.ZodString>;
251
- export: z.ZodObject<{
252
- type: z.ZodString;
253
- crf: z.ZodOptional<z.ZodNumber>;
254
- maxKbps: z.ZodOptional<z.ZodNumber>;
255
- }, z.core.$strip>;
256
- video: z.ZodOptional<z.ZodObject<{
257
- codec: z.ZodString;
258
- profile: z.ZodOptional<z.ZodString>;
259
- kbps: z.ZodNumber;
260
- width: z.ZodNumber;
261
- height: z.ZodNumber;
262
- fps: z.ZodNumber;
263
- preset: z.ZodOptional<z.ZodString>;
264
- }, z.core.$strip>>;
265
- audio: z.ZodUnion<readonly [z.ZodObject<{
266
- codec: z.ZodString;
267
- kbps: z.ZodNumber;
268
- rate: z.ZodNumber;
269
- channels: z.ZodNumber;
270
- }, z.core.$strip>, z.ZodObject<{
271
- missing: z.ZodString;
272
- instead: z.ZodString;
273
- }, z.core.$strip>]>;
274
- joins: z.ZodArray<z.ZodObject<{
275
- t: z.ZodNumber;
276
- kind: z.ZodString;
277
- part: z.ZodOptional<z.ZodString>;
278
- score: z.ZodNumber;
279
- margin: z.ZodNumber;
280
- cut: z.ZodBoolean;
281
- }, z.core.$strip>>;
282
- unmeant: z.ZodArray<z.ZodObject<{
283
- t: z.ZodNumber;
284
- score: z.ZodNumber;
285
- margin: z.ZodNumber;
286
- }, z.core.$strip>>;
287
- }, z.core.$strip>;
288
- export type ReferenceServed = z.infer<typeof ReferenceServedSchema>;
289
245
  export declare const ReferenceSchema: z.ZodObject<{
290
246
  version: z.ZodLiteral<1>;
291
247
  id: z.ZodString;
@@ -590,48 +546,6 @@ export declare const ReferenceSchema: z.ZodObject<{
590
546
  }, z.core.$strip>>;
591
547
  }, z.core.$strip>>;
592
548
  }, z.core.$strip>>;
593
- served: z.ZodOptional<z.ZodObject<{
594
- item: z.ZodString;
595
- combo: z.ZodRecord<z.ZodString, z.ZodString>;
596
- format: z.ZodString;
597
- platform: z.ZodOptional<z.ZodString>;
598
- export: z.ZodObject<{
599
- type: z.ZodString;
600
- crf: z.ZodOptional<z.ZodNumber>;
601
- maxKbps: z.ZodOptional<z.ZodNumber>;
602
- }, z.core.$strip>;
603
- video: z.ZodOptional<z.ZodObject<{
604
- codec: z.ZodString;
605
- profile: z.ZodOptional<z.ZodString>;
606
- kbps: z.ZodNumber;
607
- width: z.ZodNumber;
608
- height: z.ZodNumber;
609
- fps: z.ZodNumber;
610
- preset: z.ZodOptional<z.ZodString>;
611
- }, z.core.$strip>>;
612
- audio: z.ZodUnion<readonly [z.ZodObject<{
613
- codec: z.ZodString;
614
- kbps: z.ZodNumber;
615
- rate: z.ZodNumber;
616
- channels: z.ZodNumber;
617
- }, z.core.$strip>, z.ZodObject<{
618
- missing: z.ZodString;
619
- instead: z.ZodString;
620
- }, z.core.$strip>]>;
621
- joins: z.ZodArray<z.ZodObject<{
622
- t: z.ZodNumber;
623
- kind: z.ZodString;
624
- part: z.ZodOptional<z.ZodString>;
625
- score: z.ZodNumber;
626
- margin: z.ZodNumber;
627
- cut: z.ZodBoolean;
628
- }, z.core.$strip>>;
629
- unmeant: z.ZodArray<z.ZodObject<{
630
- t: z.ZodNumber;
631
- score: z.ZodNumber;
632
- margin: z.ZodNumber;
633
- }, z.core.$strip>>;
634
- }, z.core.$strip>>;
635
549
  }, z.core.$strip>;
636
550
  export type Reference = z.infer<typeof ReferenceSchema>;
637
551
  export type WordsMissing = NonNullable<Reference["wordsMissing"]>;
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{z as e}from"zod";import{SECONDS as n,SHA256 as m,dataFile as c}from"./file.js";const i=e.tuple([e.number(),e.number(),e.number(),e.number()]),r=e.object({t:n,score:e.number()}),t=e.number().nullable(),o=e.number().int().nonnegative();export const ReferenceSentenceSchema=e.object({index:o,start:n,end:n,words:e.tuple([e.number().int(),e.number().int()]),text:e.string(),punctuation:e.boolean(),pauseAfter:n.optional()}),ReferenceGapSchema=e.object({after:o,start:n,end:n,dur:n}),ReferenceBoundarySchema=e.object({t:n,cut:r.optional(),weak:r.optional(),pause:e.object({start:n,end:n,dur:n}).optional(),sentence:o.optional()}),ReferenceTextSchema=e.object({id:o,text:e.string(),box:i,height:e.number(),conf:e.number(),words:o,upper:e.number().min(0).max(1),start:n,end:n,spans:e.array(e.tuple([n,n])),seconds:n,seen:e.number().int().positive(),frames:e.number().min(0).max(1),spread:e.number().min(0).max(1),said:e.number().min(0).max(1)}),SectionNumbersSchema=e.object({start:n,end:n,dur:n,said:e.string(),words:o,wordsPerMinute:e.number().nonnegative(),cuts:e.array(n),shots:e.number().int().positive(),cutsPerMinute:e.number().nonnegative(),text:e.array(o),textSeconds:n}),ReferenceSegmentSchema=SectionNumbersSchema.extend({index:o,name:e.string(),sentences:e.tuple([e.number().int(),e.number().int()]).optional()}),ReferencePacingSchema=e.object({cutsPerMinute:e.number().nonnegative(),meanShot:n,medianShot:n,wordsPerMinute:e.number().nonnegative(),speakingRate:e.number().nonnegative(),timeToFirstWord:n.optional(),timeToFirstCut:n.optional(),textShare:e.number().min(0).max(1),speechShare:e.number().min(0).max(1),tempo:e.object({bpm:e.number().positive(),confidence:e.number().min(0),candidates:e.array(e.object({bpm:e.number(),r:e.number(),score:e.number()})).optional(),prior:e.number().optional()}).optional(),onsetsPerMinute:e.number().nonnegative()});const a=e.object({seconds:n,p10:e.number(),median:e.number(),p90:e.number()});export const ReferenceSoundSchema=e.object({gap:n,edge:n,voiced:e.number().min(0).max(100),whole:a,words:a.optional(),between:a.extend({voicedShare:e.number().min(0).max(1),onsetsPerMinute:e.number().nonnegative()}).optional(),floor:e.number()}),ReferencePictureSchema=e.object({params:e.record(e.string(),e.unknown()),frames:e.object({tone:o,color:o,motion:o}),luma:e.object({p1:t,p50:t,p99:t}),blackShare:t,noise:t,sharpness:t,saturation:t,warmth:t,motion:e.object({speed:e.object({p50:t,p90:t}),shake:e.object({p50:t,p90:t}),stillShare:t,runs:o}),sharpnessBySpeed:e.array(e.object({from:e.number(),to:t,frames:o,sharpness:t})),noiseByLuma:e.array(e.object({from:e.number(),to:e.number(),blocks:o,noise:t,median:t})),shake:e.array(e.object({start:n,end:n,rms:e.number(),peaks:e.array(e.object({hz:e.number(),share:e.number()})),flatness:e.number()}))});const s=e.object({frames:o,reach:e.array(e.object({drop:e.number(),hz:t})),rolloff95:t,rolloff99:t,steps:e.array(e.object({hz:e.number(),db:e.number()}))});export const ReferenceAudioSchema=e.object({loudness:e.object({integrated:t,range:t,truePeak:t}),recording:e.object({params:e.record(e.string(),e.unknown()),spectrum:e.array(e.object({hz:e.number(),db:e.number()})),dynamics:e.object({spread:e.number(),crest:e.number()})}).loose(),bandwidth:s.extend({params:e.record(e.string(),e.unknown())}),voice:s.optional()}),ReferenceSchema=e.object({version:e.literal(1),id:e.string(),source:e.object({file:e.string(),url:e.string().optional(),title:e.string().optional(),sha256:m}),analysedAt:e.string(),duration:n,width:e.number().int().positive(),height:e.number().int().positive(),fps:e.number().positive(),encoding:e.object({codec:e.string().optional(),bitrate:e.number().positive().optional(),audio:e.object({codec:e.string().optional(),profile:e.string().optional(),bitrate:e.number().positive().optional(),rate:e.number().positive().optional(),channels:e.number().int().positive().optional()}).optional()}).optional(),words:e.string().optional(),wordCount:o,asr:e.string().optional(),wordsMissing:e.object({code:e.string().optional(),message:e.string(),hint:e.string().optional(),instead:e.string()}).optional(),shots:e.object({threshold:e.number().min(0).max(1),minShot:e.number().nonnegative(),weakFloor:e.number().min(0).max(1),prominence:e.number().nonnegative(),cuts:e.array(r),weak:e.array(r),candidates:e.array(e.object({t:n,score:e.number(),source:e.enum(["jump","change"]),around:e.number(),passes:e.boolean()})).optional()}),speech:e.object({pause:n,sentences:e.array(ReferenceSentenceSchema),pauses:e.array(ReferenceGapSchema),gaps:e.array(ReferenceGapSchema).optional()}),boundaries:e.object({cutWithin:n,candidates:e.array(ReferenceBoundarySchema)}),ocr:e.object({engine:e.string(),confidence:e.object({word:e.number().min(0).max(100),short:e.number().min(0).max(100)}),frames:o,samePlace:e.number(),saidWithin:n,low:e.array(e.object({t:n,text:e.string(),conf:e.number(),box:i})).optional()}),text:e.array(ReferenceTextSchema),pacing:ReferencePacingSchema,sound:ReferenceSoundSchema.optional(),segments:e.object({rule:e.string(),pause:n,cutWithin:n,minLength:n,list:e.array(ReferenceSegmentSchema).min(1)}),sheets:e.array(e.string()),picture:ReferencePictureSchema,audio:ReferenceAudioSchema.optional()}),REFERENCE_FILE="reference.json",INTERPRETATION_FILE="interpretation.json",InterpretedSectionSchema=e.strictObject({start:n,end:n,name:e.string().min(1).optional(),role:e.string().min(1).optional(),picture:e.string().optional(),onScreen:e.array(e.string()).optional(),notes:e.string().optional()}),InterpretationSchema=c({version:e.literal(1).default(1),summary:e.string().optional(),layout:e.string().optional(),hook:e.string().optional(),sections:e.array(InterpretedSectionSchema).min(1),captions:e.strictObject({lines:e.array(o).optional(),style:e.string().optional()}).optional(),watermarks:e.array(o).optional(),notes:e.string().optional(),labels:e.record(e.string(),e.union([e.string(),e.number(),e.boolean(),e.array(e.string())])).optional()});
@@ -16,6 +16,19 @@ export declare const ScriptPartSchema: z.ZodObject<{
16
16
  }, z.core.$strict>]>>;
17
17
  screen: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ScriptText, unknown, z.core.$ZodTypeInternals<ScriptText, unknown>>>>;
18
18
  }, z.core.$strict>;
19
+ /**
20
+ * A deck's slide in its script: the words of its shapes by their names
21
+ * (a list is a shape's paragraphs) and its speaker notes.
22
+ */
23
+ export declare const ScriptSlideSchema: z.ZodObject<{
24
+ id: z.ZodString;
25
+ text: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ScriptText, unknown, z.core.$ZodTypeInternals<ScriptText, unknown>>>>;
26
+ notes: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
27
+ declarations: z.ZodDefault<z.ZodArray<z.ZodString>>;
28
+ selectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
29
+ match: z.ZodRecord<z.ZodString, z.ZodString>;
30
+ }, z.core.$strict>]>>;
31
+ }, z.core.$strict>;
19
32
  export declare const ScriptFileSchema: z.ZodObject<{
20
33
  title: z.ZodOptional<z.ZodString>;
21
34
  text: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ScriptText, unknown, z.core.$ZodTypeInternals<ScriptText, unknown>>>>;
@@ -28,6 +41,15 @@ export declare const ScriptFileSchema: z.ZodObject<{
28
41
  }, z.core.$strict>]>>;
29
42
  screen: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ScriptText, unknown, z.core.$ZodTypeInternals<ScriptText, unknown>>>>;
30
43
  }, z.core.$strict>>>;
44
+ slides: z.ZodDefault<z.ZodArray<z.ZodObject<{
45
+ id: z.ZodString;
46
+ text: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ScriptText, unknown, z.core.$ZodTypeInternals<ScriptText, unknown>>>>;
47
+ notes: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
48
+ declarations: z.ZodDefault<z.ZodArray<z.ZodString>>;
49
+ selectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
50
+ match: z.ZodRecord<z.ZodString, z.ZodString>;
51
+ }, z.core.$strict>]>>;
52
+ }, z.core.$strict>>>;
31
53
  }, z.core.$strict>;
32
54
  export type ScriptFile = z.infer<typeof ScriptFileSchema>;
33
55
  /** The script of an item in a language. */
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{z as t}from"zod";import{SpokenSchema as d,VariantsSchema as i}from"./messages.js";export const SCRIPT_NAME=/^[A-Za-z0-9_-]+$/u;const s=t.string().regex(SCRIPT_NAME,"A name is letters, digits, _ and -.");export const ScriptTextSchema=t.lazy(()=>t.union([t.string(),d,i,t.array(ScriptTextSchema),t.record(s,ScriptTextSchema)])),ScriptPartSchema=t.strictObject({id:s,say:t.union([t.string(),i]).optional(),screen:t.record(s,ScriptTextSchema).optional()}),ScriptSlideSchema=t.strictObject({id:s,text:t.record(s,ScriptTextSchema).optional(),notes:t.union([t.string(),i]).optional()}),ScriptFileSchema=t.strictObject({title:t.string().optional(),text:t.record(s,ScriptTextSchema).optional(),parts:t.array(ScriptPartSchema).default([]),slides:t.array(ScriptSlideSchema).default([])}).superRefine((r,o)=>{const c=new Set;r.parts.forEach((e,a)=>{c.has(e.id)&&o.addIssue({code:"custom",path:["parts",a,"id"],message:`Two parts are "${e.id}".`}),c.add(e.id)});const n=new Set;r.slides.forEach((e,a)=>{n.has(e.id)&&o.addIssue({code:"custom",path:["slides",a,"id"],message:`Two slides are "${e.id}".`}),n.add(e.id)})}),scriptFileFor=(r,o)=>`${r}/script.${o}.yaml`;export function scriptLocale(r){return/(?:^|\/)script\.([A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*)\.yaml$/u.exec(r)?.[1]}