@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/docs/slides.md CHANGED
@@ -1,111 +1,213 @@
1
1
  # Slides
2
2
 
3
- A deck is the default export of an item's `slides.ts`: `slides({ …, pages })`, pages of one format, each one still frame. It is a single image, a carousel, slides or a PDF document.
3
+ A deck is PowerPoint's model, made by code with python-pptx's API. An item whose entry is `slides.ts` holds:
4
+
5
+ - `slides.ts`: the presentation's slide masters, layouts and placeholders, components and generators.
6
+ - `slides.yaml`: the slides in order, each on a layout, and what a person (or you) placed or changed on a slide. A value there overrides the layout's, as a placeholder moved on a slide does in PowerPoint.
7
+ - `script.<locale>.yaml`: each slide's words, by shape name, and its speaker notes, a file per language.
8
+
9
+ The API is python-pptx 1.0.2's, by its names and behaviour; its documentation (python-pptx.readthedocs.io) is the reference. `allyhub slides capabilities` lists which of its classes, names and enumerations are held, where they differ, and what is added. A name that is not held throws where it is written, naming what its class holds. This page is what is AllyHub's own.
4
10
 
5
11
  ```ts file=launch/deck/slides.ts
6
- import { custom, part, slides } from "@allyhub/sdk";
7
- import { h, layout } from "@allyhub/sdk/dom";
8
-
9
- const heading = (line: string) =>
10
- custom({
11
- mount(el, ctx) {
12
- const L = layout(ctx);
13
- const title = h("h1", {
14
- position: "absolute",
15
- left: L.left,
16
- top: L.top,
17
- fontSize: 96 * L.k,
18
- });
19
- title.textContent = line;
20
- el.append(title);
21
- },
22
- render() {},
23
- });
24
-
25
- export default slides({
26
- format: "16x9",
27
- notes: true,
28
- pages: ({ s }) => [
29
- part({ key: "cover", layers: [heading(s("launch.deck.cover.title"))] }),
30
- part({
31
- key: "how",
32
- still: 0,
33
- layers: [heading(s("launch.deck.how.title"))],
34
- }),
35
- ],
12
+ import {
13
+ Inches,
14
+ MSO_ANCHOR,
15
+ PP_PLACEHOLDER,
16
+ Pt,
17
+ presentation,
18
+ } from "@allyhub/sdk/slides";
19
+
20
+ export default presentation({ size: "16:9" }, (prs) => {
21
+ prs.theme.colors = { accent1: "#2F5BEA" };
22
+ const master = prs.slide_masters.add("Brand");
23
+ const title = master.placeholders.add(
24
+ PP_PLACEHOLDER.TITLE,
25
+ Inches(0.6),
26
+ Inches(0.4),
27
+ Inches(12),
28
+ Inches(1.2),
29
+ );
30
+ title.text_frame.vertical_anchor = MSO_ANCHOR.MIDDLE;
31
+ title.text_frame.list_style[0].font.size = Pt(40);
32
+ master.placeholders.add(
33
+ PP_PLACEHOLDER.BODY,
34
+ Inches(0.6),
35
+ Inches(1.8),
36
+ Inches(12),
37
+ Inches(5),
38
+ );
39
+ master.shapes.add_picture(
40
+ "../../../assets/media/logo.png",
41
+ Inches(12.2),
42
+ Inches(6.9),
43
+ Inches(0.9),
44
+ Inches(0.4),
45
+ ).name = "logo";
46
+
47
+ const cover = master.slide_layouts.add("Title Slide");
48
+ cover.placeholders.add(
49
+ PP_PLACEHOLDER.CENTER_TITLE,
50
+ Inches(1),
51
+ Inches(2.5),
52
+ Inches(11.3),
53
+ Inches(1.5),
54
+ );
55
+ cover.placeholders.add(PP_PLACEHOLDER.SUBTITLE);
56
+
57
+ const content = master.slide_layouts.add("Title and Content");
58
+ content.placeholders.add(PP_PLACEHOLDER.TITLE);
59
+ content.placeholders.add(PP_PLACEHOLDER.BODY);
36
60
  });
37
61
  ```
38
62
 
39
- ## `slides()`
63
+ ```yaml
64
+ # launch/deck/slides.yaml
65
+ slides:
66
+ - id: cover
67
+ layout: Title Slide
68
+ - id: how
69
+ layout: Title and Content
70
+ shapes:
71
+ hero:
72
+ { picture: ./media/hero.png, frame: { x: 560, y: 120, w: 360, h: 300 } }
73
+ title: { text: { size: 44 } }
74
+ ```
40
75
 
41
- Besides a piece's `id`, `title`, `format`, `matrix` and `meta` ([video.md](video.md)):
76
+ ```yaml
77
+ # launch/deck/script.en.yaml
78
+ title: Launch deck
79
+ slides:
80
+ - id: cover
81
+ text: { title: Tidyform, subtitle: Contracts, read for you }
82
+ notes: Thank the partners first.
83
+ - id: how
84
+ text:
85
+ title: How it works
86
+ body: [Drop a file, It is read, You sign]
87
+ ```
42
88
 
43
- | Field | Type | Default | What it is |
44
- | --- | --- | --- | --- |
45
- | `pages` | `(ctx) => PartSpec[]` (or a promise) | required | The pages, in order; `ctx` is the one a video's parts function gets (`s`, `combo`, `asset`…) |
46
- | `notes` | boolean | false | Each page's speaker notes are the message `<prefix>.<page key>.notes` |
47
- | `prefix` | message key | the piece's id with `/` as `.` | The prefix of the notes' keys |
48
- | `look` | string | `"clean"` | The look's name |
49
- | `loadLimit` | seconds | 10 | How long loading may take (AK-P002) |
50
- | `seekLimit` | seconds | 30 | How long one page may take to draw (AK-P003) |
89
+ ## `presentation()`
51
90
 
52
- `slides()` with no `pages` function throws; `definePiece()` and `paged()` are gone and throw.
91
+ `presentation(options, (prs) => { … })` is the default export of an item's `slides.ts`; its function is given python-pptx's `Presentation` and makes the deck's masters, layouts, components and generators. Paths are from the module's folder; lengths are EMU (`Inches`, `Pt`, `Cm`, `Mm`, `Emu`).
53
92
 
54
- ## Pages
93
+ | Option | Default | What it is |
94
+ | ------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
95
+ | `size` | `"16:9"` | A slide size by name (`16:9`, `16:10`, `4:3` as PowerPoint's; `a4`, `a4-portrait`, `letter`, `letter-portrait` the paper's own; `1:1`, `4:5`, `9:16`) or `{ width, height }` in EMU |
96
+ | `title` | none | Its name for people, what lists show it by |
97
+ | `theme` | the project's look's colours, standard fonts | `{ colors, fonts }`: theme colours by PresentationML's names (`dk1`, `lt1`, `dk2`, `lt2`, `accent1`…`accent6`, `hlink`, `folHlink`), over the project's look (`dk1` its foreground, `lt1` its background, `accent1` its accent); fonts (`major`, `minor`, `major_east_asian`, `minor_east_asian`, and `code`, Courier New unless set, which the script's `` `code` `` is set in: PowerPoint's theme has no such font, so in the file it is a run's own), Arial and Microsoft YaHei unless set: fonts every PowerPoint, Keynote and Google Slides has, drawn here by fonts of the same metrics (Arimo, Noto Sans SC), so a line breaks in the file where it breaks here. Any other font the config's `fonts` lists goes in the PowerPoint file, a face each for regular, bold, italic and bold italic, unless its own licence bits (`fsType`) forbid it or it is a variable font; `allyhub render` says what did not go in. An app that does not read a file's fonts replaces them, and its lines may break elsewhere |
55
98
 
56
- - A page is made with `part()`, with a `key` unique in the deck, and its layers ([layers.md](layers.md)). It is drawn at its `still` moment: by default 0.4 s before the end of its `dur` (4 s unless given, or `defaults.part`); `still: 0` is its first moment, a function of its length another.
57
- - A deck has no clock to hear: a page's speech, sounds and transition are not played. A layer's `render(t)` is called at the still only. `footage(file)` on a page shows the file's frame at that moment; `footage()` without a file has no take to show (AK-A001).
58
- - Layers lay out in the page's pixels with `layout(ctx)` and `ctx.dims`, as a video's do.
99
+ ## Masters, layouts and placeholders
59
100
 
60
- ## Formats
101
+ python-pptx opens these from a template; here code makes them.
61
102
 
62
- A deck's `format` is a preset (`16x9`, `9x16`, `1x1`, `4x5`), a platform profile, a page format, or `WIDTHxHEIGHT` in pixels (each side 64 to 8192, e.g. `1200x630`). An unknown format is AK-G001.
103
+ - `prs.slide_masters.add(name)`: a master, with PowerPoint's Office text styles (`master.text_styles.title_style`, `body_style`, `other_style`, nine levels each) and no placeholders yet.
104
+ - `master.slide_layouts.add(name)`: a layout; its name is what `slides.yaml`'s slides name, unique in the deck.
105
+ - `placeholders.add(PP_PLACEHOLDER.X, left, top, width, height, { name })` on a master or a layout. A layout's placeholder given no frame takes its master's of its base type, as python-pptx reads it (a centre title the title's, a subtitle, picture, media or object the body's). Its name is its type's (`title`, `subtitle`, `body`, `picture`, `content`…) unless given: `slides.yaml` and the script name it. Its idx is PowerPoint's: a title 0, a date, footer and slide number 10, 11 and 12, the rest from 1.
106
+ - Beyond python-pptx's `add_shape` and `add_connector`, `shapes.build_freeform()` draws an outline (`add_line_segments`, `move_to`, `convert_to_shape`, and `add_curve_segment`, a cubic curve python-pptx lacks); `line.dash_style` takes `MSO_LINE`, and `line.begin_arrow` and `end_arrow` take `MSO_ARROWHEAD`; `shapes.add_group_shape()` groups what is added to its `.shapes`, and a group is its shapes, listed and drawn as they are, holding no group; `shapes.add_table(rows, cols, left, top, width, height).table` has `cell(r, c)` with `text`, `text_frame`, `fill`, `borders` (`{ bottom: { color, width } }`), `merge`, margins and `vertical_anchor`. `layout.display_master_shapes = false` hides its master's shapes.
107
+ - A placeholder shrinks its text to fit its frame unless told not to (`MSO_AUTO_SIZE.TEXT_TO_FIT_SHAPE`, as PowerPoint's Office master's do; `text_frame.auto_size = MSO_AUTO_SIZE.NONE` keeps its sizes), and the type in use shows what it shrank to. A text box `add_textbox` makes does not wrap and grows to its text, as python-pptx's; a shape `add_shape` makes starts with one centred paragraph, and `text_frame.text` replaces it with paragraphs aligned as the text style says (left), as python-pptx's.
108
+ - A text style is a list style's level, `ListLevel`: `alignment`, `line_spacing`, `space_before`, `space_after`, `font` (with `font.spacing`, the space between letters, a length, negative to tighten, which python-pptx has no name for), `bullet` (a character, or `null` for none), `bullet_font`, `margin_left`, `indent`. A placeholder's `text_frame.list_style[n]` is what the text a slide gives it takes at level n, over its master's placeholder and its master's text style for its type.
63
109
 
64
- | Format | Pixels | Paper |
65
- | --- | --- | --- |
66
- | `a4` | 1240 × 1754 | 210 × 297 mm, at 150 dpi |
67
- | `letter` | 1275 × 1650 | 8.5 × 11 in, at 150 dpi |
110
+ ## Components
68
111
 
69
- `a4` and `letter` are for decks only. They and `WIDTHxHEIGHT` have no covered edges; a preset or a profile has its platform's.
112
+ `prs.components.add(name, { props, layers })` is a shape drawn by code: `layers(props, { width, height, slide })` returns layers of the layer contract ([layers.md](layers.md): `custom()`, a component), laid out in the shape's frame; `width` and `height` are the frame's size in the slide's pixels (a 16:9 slide is drawn 1920 × 1080, 2 px a point). Its `render(t)` is given seconds into the slide; a still of the slide is drawn when what moves has settled. `props` lists the props a person may change in the editor, by the prop types (`text()`, `number()`…); `slides.yaml` places it as `{ component: name, props, frame }`, or code with `shapes.add_component(name, left, top, width, height, props)`.
70
113
 
71
- Another format is another item that imports what it shares:
114
+ ## Generators
72
115
 
73
- ```ts file=launch/handout/slides.ts
74
- import { slides } from "@allyhub/sdk";
116
+ `prs.generators.add(name, (g) => { … })` makes slides from data: `g.data(path)` reads a data file (CSV rows, YAML, JSON) from the deck's folder; `g.slides.add_slide(layout, id)` adds a slide on a layout (an object, or a name) with its id in the block, and the slide is python-pptx's (`shapes.title`, `placeholders[idx]`, `shapes.add_*`, `notes_slide.notes_text_frame.text`). A generated slide's words are its code's (from its data), not the script's. `slides.yaml` places the block as `- id: stories, generate: name`; its slide is `stories/<id>`, hidden by `hidden: [<id>]`, and a shape on it is changed as `shapes: { <id>/<shape>: … }`.
75
117
 
76
- import deck from "../deck/slides.ts";
118
+ ## slides.yaml
77
119
 
78
- export default slides({
79
- ...deck,
80
- id: "launch/handout",
81
- format: "a4",
82
- notes: false,
83
- });
84
- ```
120
+ | Field | What it is |
121
+ | ------------------- | ------------------------------------------------------------------------------------ |
122
+ | `slides[].id` | Unique in the deck: its row in the script |
123
+ | `slides[].layout` | One of the deck's layouts, by name |
124
+ | `slides[].generate` | One of the deck's generators: its slides stand here |
125
+ | `slides[].hidden` | `true`: left out when presenting and exporting; a block's: a list of its slides' ids |
126
+ | `slides[].shapes` | Its shapes by name: what it changes of its layout's placeholders, and its own |
127
+
128
+ A shape there changes a placeholder of the slide's layout (or a generated shape) with `frame` (`{ x, y, w, h }` in points), `text` (`size` in points, `bold`, `color`, `font`, a family, `align`: `l`, `ctr`, `r`, `just`, on all of its text), `fill`, `line` (its outline: a colour, or `none`), `line_width` in points, `line_dash` (`solid`, `sysDash`, `sysDot`, `dash`, `dashDot`, `lgDash`, `lgDashDot`, `lgDashDotDot`), `line_begin` and `line_end` (`none`, `triangle`, `arrow`, `stealth`, `diamond`, `oval`), `z`; or is the slide's own with one of `textbox: true` (its words are the script's; it wraps and grows to its text), `picture`, `movie` (a file, or a video item's folder), `geometry` (`rect`, `roundRect`, `ellipse`, `triangle`, `rightArrow`, `line`), `path` (a freeform: `{ w, h, d }`, its outline in a box of `w` × `h` units stretched to its frame, `d` in SVG's `M`, `L`, `C` and `Z`, absolute, so a logo or a cursor is a real shape), `table` (`columns`, widths in points, and `rows`, each a `height` with its `fill`, `text` and `line`, a rule at its foot; stretched to its frame, its words the script's, a list of rows, each a list of cells) or `component` (with `props`), and a `frame`. `group`, a name a slide's own shapes share, makes them one group in PowerPoint. A table here has no style of its own, unlike python-pptx's: its look is what its rows and cells say. A picture or a movie put in a picture, media or object placeholder fills it. Colours are the theme's (`accent1`…) or `#RRGGBB`. `z` orders a shape among the slide's shapes and placeholders, so a negative `z` puts one under a placeholder's words. Paths are from the deck's folder.
129
+
130
+ A slide's `animations` are PowerPoint's Animation Pane, in order, each on one of the slide's own shapes (`shape`, by name; in a block, `<slide>/<shape>`), or one `paragraph` of its text, from 0:
131
+
132
+ | Field | Default | What it is |
133
+ | --- | --- | --- |
134
+ | `effect` | | Entrances `appear`, `fade`, `wipe`, `fly-in`, `zoom`; exits `disappear`, `fade-out`, `wipe-out`, `fly-out`, `zoom-out`; `pulse`; `path` |
135
+ | `start` | `on-click` | `on-click`, `with-previous`, `after-previous`. What starts with no click before it plays as the slide opens |
136
+ | `direction` | `from-bottom` | A wipe's or a fly's side: `from-bottom`, `from-top`, `from-left`, `from-right` |
137
+ | `duration` | 0.5 (`appear`, `disappear` 0; `path` 2) | Seconds |
138
+ | `delay` | 0 | Seconds |
139
+ | `path` | | A `path` effect's, in points from where the shape stands, in SVG's `M`, `L` and `C`, absolute: `M0 0 L200 0` |
140
+
141
+ Each click is a step: its still, a page of a PDF, is drawn once what it started has ended, and `allyhub frames` has a tile for each. What a shape comes on by an entrance is not drawn before it. A component's `render(t)` is given the seconds since its shape came on, and a step that brings one on rests once it has settled. A PowerPoint file has them as PowerPoint's own. A generated slide adds them with `slide.animations.add(shape, effect, options)`.
85
142
 
86
- ## Speaker notes
143
+ A video on a slide plays from when its shape comes on, to its end, when presenting. In a PowerPoint file a component that moves is a video of what its code draws, from when its shape comes on, for 4 seconds, which plays as it comes on (as the slide opens, if it has no entrance); one that does not move is a picture.
87
144
 
88
- With `notes: true`, a page's notes are the message `<prefix>.<page key>.notes`. In the item's script that is the page's row, `screen.notes`:
145
+ A slide's `transition` is how it comes on from the slide before: `type` (`fade`, `push`, `wipe`, or `morph`), `direction` for a push or a wipe (`from-right` unless said), `duration` in seconds (0.7 for a fade, 1 for a push or a wipe, 2 for a morph). What is on the slide starts when it is over, and presenting plays it. A morph moves each shape the two slides share by name from the one's place and size to the other's, as PowerPoint's Morph; what only one has fades. So name a shape the same on both slides to carry it across. A PowerPoint file has them as its own, with a fade for a PowerPoint too old for Morph. A generated slide sets `slide.transition`.
146
+
147
+ A shape's `chart` is PowerPoint's own chart, with its numbers in a workbook a person opens with Edit Data. `type` is python-pptx's, in lower case: `column-clustered`, `column-stacked`, `column-stacked-100`, the same three of `bar`, `line`, `line-markers`, `area`, `area-stacked`, `area-stacked-100`, `pie`, `doughnut`. There is no 3D, scatter, bubble, radar or second axis. Its numbers are written in it, or read from a project file, so a slide shows what the sheet says:
89
148
 
90
149
  ```yaml
91
- title: Launch deck
92
- parts:
93
- - id: cover
94
- screen:
95
- title: Tidyform
96
- notes: Thank the partners first.
150
+ revenue:
151
+ frame: { x: 80, y: 120, w: 640, h: 340 }
152
+ chart:
153
+ type: column-clustered
154
+ data: ../sales#revenue # from the deck's folder: a sheet's table (<sheet>#<table>), a CSV, or a data file of rows
155
+ categories: Quarter # the column of names
156
+ series: [Revenue, { name: Cost, color: accent3 }] # the columns of numbers
157
+ legend: bottom
97
158
  ```
98
159
 
99
- The keys are read in the combo's language. A page with no notes message has none.
160
+ Without `data`, `categories` is a list of names and each series has its `values` (one per category, `null` for none). A value read from a file is a plain number. A column that is not there, a cell that is not a number, or values that do not fit the categories are AK-M011, with what the file has. The chart's title is the script's: the shape's words.
161
+
162
+ | Field | Default | What it is |
163
+ | --- | --- | --- |
164
+ | `legend` | none | `bottom`, `top`, `left`, `right` |
165
+ | `labels` | none | `true`: each value. Or `value`, `percentage` (a pie's and a doughnut's), `category`, `series`, `format`, `position`, `size`, `color` |
166
+ | `labels.position` | a clustered bar's `outEnd`, a stacked bar's and a pie's `ctr`, a line's `t` | `outEnd` (clustered bars and pies), `inEnd`, `ctr`, `inBase` (bars), `t`, `b`, `l`, `r` (lines). An area and a doughnut have none: a position a chart's kind cannot have is AK-M011, since PowerPoint would repair the file |
167
+ | `gap_width`, `overlap` | 150; 0 (stacked 100) | Bars: the gap as a share of a bar's width, how far one covers the next, in % |
168
+ | `vary_by_categories` | a pie's and a doughnut's | A colour per category |
169
+ | `hole_size` | 50 | A doughnut's, in % |
170
+ | `value_axis`, `category_axis` | automatic | `min`, `max`, `major`, `gridlines` (the value axis's are on), `visible`, `format` (Excel's), `reverse`, `gridline_color`, `line_color` |
171
+ | `size`, `title_size`, `color` | 12, 14.4, `dk1` | Its text's points, its title's, and their colour |
172
+ | a series' `color`, `format`, `smooth`, `line_width`, `marker_size` | the accents in turn, `General`, off, 2.25, 5 | |
173
+
174
+ In code, `shapes.add_chart(XL_CHART_TYPE.X, left, top, width, height, chart_data)` makes one from a `CategoryChartData`, as python-pptx's does, with its `.chart`. A scale left automatic is PowerPoint's in the file and drawn here by the same rules, so a number a person changes moves it; set `min`, `max` and `major` to fix it. Where the plot sits is written in the file, so every app puts it where the stage does. `allyhub inspect --kind chart-data` lists each chart's numbers and the file they came from.
175
+
176
+ What `slides.yaml` names that the deck does not have (a layout, a generator, a component or its prop, a shape to change or animate, a file) is AK-M011, at its line.
177
+
178
+ ## The script
179
+
180
+ A deck's script has a row per slide under `slides`: its `text` by shape name (a placeholder's or a text box's; a list is paragraphs, a list in it a level deeper; `**bold**`, `*italic*`, `` `code` ``, in the theme's `code` font, `<span color="accent1" font="Inter Tight">words</span>`, in a theme colour or `#RRGGBB`, a font of their own, or both, are runs, as in a doc) and its `notes`. A key is `<prefix>.<slide>.<shape>` (the prefix is the deck's id with `/` as `.`), `<prefix>.<slide>.notes`. A placeholder with no words in the script is empty, and an empty placeholder is not drawn.
181
+
182
+ ## What a person changes in the editor
183
+
184
+ The slides' order, a slide's layout, hidden, added, duplicated or removed; text typed in place and the notes; a shape moved and sized, brought forward or sent back, removed; a text box, picture, video or basic shape placed; a theme colour for a fill or a text, a text's size, bold and alignment; a shape reset to its layout. Every one of these is an edit of `slides.yaml` or the script; everything else (masters, layouts, components, generators, style beyond these) is yours, in `slides.ts`. When you and the person change these files at once, both changes stand, the person's where you changed the same value, and the person keeps or undoes each of yours.
185
+
186
+ ## Importing a PowerPoint file
187
+
188
+ `allyhub slides import <file.pptx> --to <folder>` makes a deck of a PowerPoint file: its masters and layouts as `slides.ts` (python-pptx's calls, only what differs from Office's text styles), its slides on their layouts as `slides.yaml` (what each moves, its own text boxes, shapes, pictures and lines), each slide's words and notes as the script (bold and italic as `**…**` and `*…*`, a deeper level as a list in the list), its pictures and videos in `media/`. What does not carry over (a table, a chart, a group, SmartArt, animations, a gradient, a run's own font) is listed, a line each; `--lang` names the script's language.
189
+
190
+ ## Measuring a deck
191
+
192
+ The check measures every slide as the stage draws it, and `allyhub inspect` lists what it found as facts: numbers for you to judge, never problems. Besides a video's text facts (text the slide's edge cuts, text over text), a deck has:
193
+
194
+ - `text-overflow`: a shape's text past its box, by its lines' glyphs.
195
+ - `shape-off-slide`, `shape-overlap`, `shape-hidden`: a shape past the slide's edge, two over each other (what shows of each: a filled shape or a picture whole, a text's glyphs), one covered whole.
196
+ - `near-alignment`: edges and centres of two shapes, or of a shape and the slide's centre, nearly in line and not (`allyhub inspect layout --within <pt>`).
197
+ - `placement-drift`: a shape of one name at different places on slides of one layout (`--drift <pt>`).
198
+ - `type-in-use`, `read-size`, `words-on-slide`: the sizes and weights in use, each text's size on a phone (with `--room`, on a room's screen too), the words on each slide.
199
+ - `picture-resolution`: a picture drawn larger than its pixels, or stretched.
200
+
201
+ `allyhub frames <deck> --overlay` draws each shape's box and name over its slide, and the lines nearly in line; `allyhub inspect contrast` measures text against what is behind it.
100
202
 
101
203
  ## What a deck renders to
102
204
 
103
- `allyhub render` makes a deck's files in `.allyhub/out/<piece>/` (`slides.<combo key>.<ext>`), each page drawn at its still as the render draws it. `--type` picks them; `allyhub help render` lists the options.
205
+ `allyhub render` makes a deck's files in `.allyhub/out/<piece>/` (`slides.<combo key>.<ext>`), each slide drawn at its still, hidden ones left out; `allyhub help render` lists the options.
104
206
 
105
- | Type | What it is |
106
- | --- | --- |
107
- | `pdf` (the default) | One page per page, at the format's paper (`a4`, `letter`) or its pixels |
108
- | `png` | One PNG per page, numbered from 1 |
109
- | `pptx` | One full-bleed picture per page (not editable objects), with its speaker notes, else the text the page shows |
207
+ | Type | What it is |
208
+ | ------------------- | --------------------------------------------------------- |
209
+ | `pdf` (the default) | A page per slide, the slide's size, the text kept as text |
210
+ | `png` | A picture per slide, numbered from 1 |
211
+ | `pptx` | PowerPoint's own file: the deck's theme, masters with their text styles, layouts with their placeholders, each slide's placeholders, text, shapes, pictures, videos and notes, editable as any deck. A component (or a coded video) is a picture of it as drawn. `--param pptx=picture` makes each slide a picture instead |
110
212
 
111
- Every combo of the deck's matrix (its languages, for one) renders its own files. `allyhub frames` draws every page's still on one sheet.
213
+ Every combo of the deck (its languages) renders its own files. `allyhub frames` draws every slide's still on one sheet.
package/docs/speech.md CHANGED
@@ -101,7 +101,7 @@ export default video({
101
101
 
102
102
  ## `say(text, opts?)`
103
103
 
104
- Text to speech. `allyhub voice` makes the missing files with the cloud voice tool, each in `assets/media/gen/say/<hash>` with its words and its record (`--dry-run` lists them first, with their characters; each tool's description says what it costs). A `say` without its file is AK-T002; until it has one, the part lasts about as long as the line takes to say (`SPEECH_RATE_DEFAULTS`: 0.38 s a word, 0.22 s a Chinese, Japanese or Korean character; at least 1 s), and its anchors are placed in proportion along the line.
104
+ Text to speech. `allyhub voice` makes the missing files with the cloud voice tool, each in `assets/media/gen/say/<hash>` with its words and its record (each tool's description says what it costs). A `say` without its file is AK-T002; until it has one, the part lasts about as long as the line takes to say (`SPEECH_RATE_DEFAULTS`: 0.38 s a word, 0.22 s a Chinese, Japanese or Korean character; at least 1 s), and its anchors are placed in proportion along the line.
105
105
 
106
106
  - `voice`: the voice tool's voice id; default the tool's own.
107
107
  - `tool`: the voice tool; default `"speech-elevenlabs-multilingual-v2"` (`allyhub help ai <tool>` lists its input).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@allyhub/sdk",
3
- "version": "0.3.0",
4
- "description": "What an agent writes videos and decks with: video() and slides(), parts with their speech, footage and sounds, defineComponent() and custom() layers, the layout, motion and input helpers, and the scenery() layer's options. Nothing a host needs.",
3
+ "version": "0.5.0",
4
+ "description": "What an agent writes videos, decks and workbooks with: video() and slides(), parts with their speech, footage and sounds, defineComponent() and custom() layers, the layout, motion and input helpers, the scenery() layer's options, and openpyxl's API for a sheet. Nothing a host needs.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "homepage": "https://allyhub.com",
7
7
  "bugs": {
@@ -28,7 +28,15 @@
28
28
  "./client": {
29
29
  "types": "./client.d.ts"
30
30
  },
31
- "./package.json": "./package.json"
31
+ "./package.json": "./package.json",
32
+ "./slides": {
33
+ "types": "./dist/slides.d.ts",
34
+ "default": "./dist/slides.js"
35
+ },
36
+ "./sheets": {
37
+ "types": "./dist/sheets.d.ts",
38
+ "default": "./dist/sheets.js"
39
+ }
32
40
  },
33
41
  "sideEffects": false,
34
42
  "files": [
@@ -42,17 +50,16 @@
42
50
  "node": ">=22.19"
43
51
  },
44
52
  "dependencies": {
45
- "@allyhub-next/audio": "0.3.0",
46
- "@allyhub-next/formats": "0.3.0",
47
- "@allyhub-next/protocol": "0.3.0",
48
- "@allyhub-next/runtimes": "0.3.0",
49
- "@allyhub-next/scenery": "0.3.0",
50
- "@allyhub-next/video-core": "0.3.0",
53
+ "@formulajs/formulajs": "4.6.1",
51
54
  "dequal": "2.0.3",
52
55
  "env-paths": "4.0.0",
56
+ "fast-xml-parser": "^5.11.2",
57
+ "fflate": "^0.8.3",
53
58
  "jsonc-parser": "^3.3.1",
59
+ "numfmt": "4.1.1",
54
60
  "proper-lockfile": "4.1.2",
55
61
  "tar": "^7.5.2",
62
+ "yaml": "^2.9.1",
56
63
  "yauzl": "^3.2.0",
57
64
  "zod": "^4.6.5"
58
65
  },
@@ -63,13 +70,5 @@
63
70
  "@types/three": {
64
71
  "optional": true
65
72
  }
66
- },
67
- "bundleDependencies": [
68
- "@allyhub-next/audio",
69
- "@allyhub-next/formats",
70
- "@allyhub-next/protocol",
71
- "@allyhub-next/runtimes",
72
- "@allyhub-next/scenery",
73
- "@allyhub-next/video-core"
74
- ]
73
+ }
75
74
  }
@@ -1,2 +0,0 @@
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 a=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:a,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 i=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:i,words:i.optional(),between:i.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()}),ReferenceServedSchema=e.object({item:e.string(),combo:e.record(e.string(),e.string()),format:e.string(),platform:e.string().optional(),export:e.object({type:e.string(),crf:e.number().optional(),maxKbps:e.number().optional()}),video:e.object({codec:e.string(),profile:e.string().optional(),kbps:e.number(),width:e.number().int().positive(),height:e.number().int().positive(),fps:e.number().positive(),preset:e.string().optional()}).optional(),audio:e.union([e.object({codec:e.string(),kbps:e.number(),rate:e.number(),channels:e.number()}),e.object({missing:e.string(),instead:e.string()})]),joins:e.array(e.object({t:n,kind:e.string(),part:e.string().optional(),score:e.number(),margin:e.number(),cut:e.boolean()})),unmeant:e.array(e.object({t:n,score:e.number(),margin:e.number()}))}),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:a})).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(),served:ReferenceServedSchema.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()});
@@ -1,2 +0,0 @@
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 n,VariantsSchema as s}from"./messages.js";export const SCRIPT_NAME=/^[A-Za-z0-9_-]+$/u;const r=t.string().regex(SCRIPT_NAME,"A name is letters, digits, _ and -.");export const ScriptTextSchema=t.lazy(()=>t.union([t.string(),n,s,t.array(ScriptTextSchema),t.record(r,ScriptTextSchema)])),ScriptPartSchema=t.strictObject({id:r,say:t.union([t.string(),s]).optional(),screen:t.record(r,ScriptTextSchema).optional()}),ScriptFileSchema=t.strictObject({title:t.string().optional(),text:t.record(r,ScriptTextSchema).optional(),parts:t.array(ScriptPartSchema).default([])}).superRefine((e,a)=>{const i=new Set;e.parts.forEach((o,c)=>{i.has(o.id)&&a.addIssue({code:"custom",path:["parts",c,"id"],message:`Two parts are "${o.id}".`}),i.add(o.id)})}),scriptFileFor=(e,a)=>`${e}/script.${a}.yaml`;export function scriptLocale(e){return/(?:^|\/)script\.([A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*)\.yaml$/u.exec(e)?.[1]}
@@ -1,214 +0,0 @@
1
- import { z } from "zod";
2
- export declare const COLUMN_TYPES: readonly ["text", "number", "select", "multi-select", "date", "checkbox", "url", "email", "phone", "file"];
3
- export declare const OPTION_COLORS: readonly ["gray", "brown", "red", "orange", "yellow", "green", "blue", "purple", "pink"];
4
- /** A column: nothing (text), its type alone, or its fields. */
5
- export declare const ColumnSchema: z.ZodUnion<readonly [z.ZodNull, z.ZodEnum<{
6
- number: "number";
7
- date: "date";
8
- file: "file";
9
- text: "text";
10
- url: "url";
11
- email: "email";
12
- select: "select";
13
- "multi-select": "multi-select";
14
- checkbox: "checkbox";
15
- phone: "phone";
16
- }>, z.ZodUnion<readonly [z.ZodObject<{
17
- width: z.ZodOptional<z.ZodNumber>;
18
- wrap: z.ZodOptional<z.ZodBoolean>;
19
- type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
20
- text: "text";
21
- url: "url";
22
- email: "email";
23
- checkbox: "checkbox";
24
- phone: "phone";
25
- }>>>;
26
- }, z.core.$strict>, z.ZodObject<{
27
- width: z.ZodOptional<z.ZodNumber>;
28
- wrap: z.ZodOptional<z.ZodBoolean>;
29
- type: z.ZodLiteral<"number">;
30
- format: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
31
- plain: "plain";
32
- percent: "percent";
33
- currency: "currency";
34
- }>, z.ZodObject<{
35
- style: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
36
- plain: "plain";
37
- percent: "percent";
38
- currency: "currency";
39
- }>>>;
40
- decimals: z.ZodOptional<z.ZodInt>;
41
- currency: z.ZodOptional<z.ZodString>;
42
- thousands: z.ZodOptional<z.ZodBoolean>;
43
- }, z.core.$strict>]>>;
44
- }, z.core.$strict>, z.ZodObject<{
45
- width: z.ZodOptional<z.ZodNumber>;
46
- wrap: z.ZodOptional<z.ZodBoolean>;
47
- type: z.ZodLiteral<"date">;
48
- format: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
49
- short: "short";
50
- iso: "iso";
51
- long: "long";
52
- }>, z.ZodObject<{
53
- style: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
54
- short: "short";
55
- iso: "iso";
56
- long: "long";
57
- }>>>;
58
- time: z.ZodOptional<z.ZodBoolean>;
59
- }, z.core.$strict>]>>;
60
- }, z.core.$strict>, z.ZodObject<{
61
- width: z.ZodOptional<z.ZodNumber>;
62
- wrap: z.ZodOptional<z.ZodBoolean>;
63
- type: z.ZodLiteral<"select">;
64
- options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
65
- name: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
66
- color: z.ZodOptional<z.ZodEnum<{
67
- gray: "gray";
68
- brown: "brown";
69
- red: "red";
70
- orange: "orange";
71
- yellow: "yellow";
72
- green: "green";
73
- blue: "blue";
74
- purple: "purple";
75
- pink: "pink";
76
- }>>;
77
- }, z.core.$strict>]>>>;
78
- }, z.core.$strict>, z.ZodObject<{
79
- width: z.ZodOptional<z.ZodNumber>;
80
- wrap: z.ZodOptional<z.ZodBoolean>;
81
- type: z.ZodLiteral<"multi-select">;
82
- options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
83
- name: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
84
- color: z.ZodOptional<z.ZodEnum<{
85
- gray: "gray";
86
- brown: "brown";
87
- red: "red";
88
- orange: "orange";
89
- yellow: "yellow";
90
- green: "green";
91
- blue: "blue";
92
- purple: "purple";
93
- pink: "pink";
94
- }>>;
95
- }, z.core.$strict>]>>>;
96
- separator: z.ZodOptional<z.ZodString>;
97
- }, z.core.$strict>, z.ZodObject<{
98
- width: z.ZodOptional<z.ZodNumber>;
99
- wrap: z.ZodOptional<z.ZodBoolean>;
100
- type: z.ZodLiteral<"file">;
101
- separator: z.ZodOptional<z.ZodString>;
102
- height: z.ZodOptional<z.ZodNumber>;
103
- }, z.core.$strict>]>]>;
104
- export type ColumnFile = z.input<typeof ColumnSchema>;
105
- /** sheet.yaml: everything optional; an empty file is nothing. */
106
- export declare const SheetSpecSchema: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
107
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
108
- key: z.ZodOptional<z.ZodString>;
109
- primary: z.ZodOptional<z.ZodString>;
110
- columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNull, z.ZodEnum<{
111
- number: "number";
112
- date: "date";
113
- file: "file";
114
- text: "text";
115
- url: "url";
116
- email: "email";
117
- select: "select";
118
- "multi-select": "multi-select";
119
- checkbox: "checkbox";
120
- phone: "phone";
121
- }>, z.ZodUnion<readonly [z.ZodObject<{
122
- width: z.ZodOptional<z.ZodNumber>;
123
- wrap: z.ZodOptional<z.ZodBoolean>;
124
- type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
125
- text: "text";
126
- url: "url";
127
- email: "email";
128
- checkbox: "checkbox";
129
- phone: "phone";
130
- }>>>;
131
- }, z.core.$strict>, z.ZodObject<{
132
- width: z.ZodOptional<z.ZodNumber>;
133
- wrap: z.ZodOptional<z.ZodBoolean>;
134
- type: z.ZodLiteral<"number">;
135
- format: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
136
- plain: "plain";
137
- percent: "percent";
138
- currency: "currency";
139
- }>, z.ZodObject<{
140
- style: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
141
- plain: "plain";
142
- percent: "percent";
143
- currency: "currency";
144
- }>>>;
145
- decimals: z.ZodOptional<z.ZodInt>;
146
- currency: z.ZodOptional<z.ZodString>;
147
- thousands: z.ZodOptional<z.ZodBoolean>;
148
- }, z.core.$strict>]>>;
149
- }, z.core.$strict>, z.ZodObject<{
150
- width: z.ZodOptional<z.ZodNumber>;
151
- wrap: z.ZodOptional<z.ZodBoolean>;
152
- type: z.ZodLiteral<"date">;
153
- format: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
154
- short: "short";
155
- iso: "iso";
156
- long: "long";
157
- }>, z.ZodObject<{
158
- style: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
159
- short: "short";
160
- iso: "iso";
161
- long: "long";
162
- }>>>;
163
- time: z.ZodOptional<z.ZodBoolean>;
164
- }, z.core.$strict>]>>;
165
- }, z.core.$strict>, z.ZodObject<{
166
- width: z.ZodOptional<z.ZodNumber>;
167
- wrap: z.ZodOptional<z.ZodBoolean>;
168
- type: z.ZodLiteral<"select">;
169
- options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
170
- name: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
171
- color: z.ZodOptional<z.ZodEnum<{
172
- gray: "gray";
173
- brown: "brown";
174
- red: "red";
175
- orange: "orange";
176
- yellow: "yellow";
177
- green: "green";
178
- blue: "blue";
179
- purple: "purple";
180
- pink: "pink";
181
- }>>;
182
- }, z.core.$strict>]>>>;
183
- }, z.core.$strict>, z.ZodObject<{
184
- width: z.ZodOptional<z.ZodNumber>;
185
- wrap: z.ZodOptional<z.ZodBoolean>;
186
- type: z.ZodLiteral<"multi-select">;
187
- options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
188
- name: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
189
- color: z.ZodOptional<z.ZodEnum<{
190
- gray: "gray";
191
- brown: "brown";
192
- red: "red";
193
- orange: "orange";
194
- yellow: "yellow";
195
- green: "green";
196
- blue: "blue";
197
- purple: "purple";
198
- pink: "pink";
199
- }>>;
200
- }, z.core.$strict>]>>>;
201
- separator: z.ZodOptional<z.ZodString>;
202
- }, z.core.$strict>, z.ZodObject<{
203
- width: z.ZodOptional<z.ZodNumber>;
204
- wrap: z.ZodOptional<z.ZodBoolean>;
205
- type: z.ZodLiteral<"file">;
206
- separator: z.ZodOptional<z.ZodString>;
207
- height: z.ZodOptional<z.ZodNumber>;
208
- }, z.core.$strict>]>]>>]>>;
209
- }, z.core.$strict>]>;
210
- export type SheetSpecFile = z.input<typeof SheetSpecSchema>;
211
- export declare const SHEET_SPEC = "sheet.yaml";
212
- /** The folder of files a person added to cells. */
213
- export declare const SHEET_FILES = "files";
214
- //# sourceMappingURL=sheet.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as t}from"zod";export const COLUMN_TYPES=["text","number","select","multi-select","date","checkbox","url","email","phone","file"],OPTION_COLORS=["gray","brown","red","orange","yellow","green","blue","purple","pink"];const l=t.string().regex(/\S/u),c=t.union([t.string().regex(/\S/u),t.number(),t.boolean(),t.strictObject({name:t.union([t.string().regex(/\S/u),t.number()]),color:t.enum(OPTION_COLORS).optional()})]),y=e=>String(typeof e=="object"?e.name:e).trim(),p=t.string().regex(/^[^"]*[^"\s][^"]*$/u),u=t.enum(["plain","percent","currency"]),h=t.union([u,t.strictObject({style:u.nullable().optional(),decimals:t.int().min(0).max(10).optional(),currency:t.string().regex(/^[A-Za-z]{3}$/u).optional(),thousands:t.boolean().optional()})]),m=t.enum(["iso","short","long"]),S=t.union([m,t.strictObject({style:m.nullable().optional(),time:t.boolean().optional()})]),o={width:t.number().positive().optional(),wrap:t.boolean().optional()};function b(e,i){const r=e.separator??";",a=new Set;(e.options??[]).forEach((g,s)=>{const n=y(g);n.includes(r)&&i.addIssue({code:"custom",path:["options",s],message:`"${n}" has the separator ${JSON.stringify(r)} in it`}),a.has(n)&&i.addIssue({code:"custom",path:["options",s],message:`"${n}" is an option twice`}),a.add(n)})}const O=t.union([t.strictObject({type:t.enum(["text","checkbox","url","email","phone"]).nullable().optional(),...o}),t.strictObject({type:t.literal("number"),format:h.optional(),...o}),t.strictObject({type:t.literal("date"),format:S.optional(),...o}),t.strictObject({type:t.literal("select"),options:t.array(c).optional(),...o}).superRefine(b),t.strictObject({type:t.literal("multi-select"),options:t.array(c).optional(),separator:p.optional(),...o}).superRefine(b),t.strictObject({type:t.literal("file"),separator:p.optional(),height:t.number().positive().optional(),...o})]);export const ColumnSchema=t.union([t.null(),t.enum(COLUMN_TYPES),O]),SheetSpecSchema=t.union([t.null(),t.strictObject({title:t.union([t.string(),t.number()]).optional(),key:l.optional(),primary:l.optional(),columns:t.union([t.null(),t.record(t.string(),ColumnSchema)]).optional()})]),SHEET_SPEC="sheet.yaml",SHEET_FILES="files";