@allyhub/sdk 0.8.0 → 0.9.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 (438) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/NOTICE +46 -49
  3. package/dist/dom.d.ts +1 -209
  4. package/dist/dom.js +1 -1
  5. package/dist/image.d.ts +2 -0
  6. package/dist/image.js +2 -0
  7. package/dist/index.d.ts +1 -21
  8. package/dist/index.js +1 -1
  9. package/dist/media.d.ts +1 -5
  10. package/dist/media.js +1 -1
  11. package/dist/node_modules/@allyhub/audio/dist/levels.d.ts +4 -5
  12. package/dist/node_modules/@allyhub/audio/dist/levels.js +1 -1
  13. package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.d.ts +1 -6
  14. package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +1 -1
  15. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  16. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +1 -1
  17. package/dist/node_modules/@allyhub/chart/dist/chart-xml.d.ts +1 -1
  18. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +2 -2
  19. package/dist/node_modules/@allyhub/chart/dist/chart.js +1 -1
  20. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  21. package/dist/node_modules/@allyhub/diagnostics/LICENSE +241 -0
  22. package/dist/node_modules/@allyhub/diagnostics/dist/fact.d.ts +37 -0
  23. package/dist/node_modules/@allyhub/diagnostics/dist/fact.js +2 -0
  24. package/dist/node_modules/@allyhub/diagnostics/dist/index.d.ts +4 -0
  25. package/dist/node_modules/@allyhub/diagnostics/dist/index.js +2 -0
  26. package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +43 -0
  27. package/dist/node_modules/@allyhub/diagnostics/dist/problem.js +2 -0
  28. package/dist/node_modules/@allyhub/diagnostics/dist/rules.d.ts +30 -0
  29. package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +2 -0
  30. package/dist/node_modules/@allyhub/diagnostics/package.json +14 -0
  31. package/dist/node_modules/@allyhub/formats/dist/contributed.d.ts +126 -0
  32. package/dist/node_modules/@allyhub/formats/dist/contributed.js +2 -0
  33. package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +1 -1
  34. package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +7 -12
  35. package/dist/node_modules/@allyhub/formats/dist/data/reference.js +1 -1
  36. package/dist/node_modules/@allyhub/formats/dist/data/script.d.ts +9 -4
  37. package/dist/node_modules/@allyhub/formats/dist/data/script.js +1 -1
  38. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +20 -82
  39. package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
  40. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +96 -8
  41. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
  42. package/dist/node_modules/@allyhub/formats/dist/data/website.d.ts +2 -1
  43. package/dist/node_modules/@allyhub/formats/dist/data/website.js +1 -1
  44. package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
  45. package/dist/node_modules/@allyhub/formats/dist/data/work.js +2 -0
  46. package/dist/node_modules/@allyhub/formats/dist/extension.d.ts +91 -0
  47. package/dist/node_modules/@allyhub/formats/dist/extension.js +2 -0
  48. package/dist/node_modules/@allyhub/formats/dist/files.d.ts +51 -0
  49. package/dist/node_modules/@allyhub/formats/dist/files.js +2 -0
  50. package/dist/node_modules/@allyhub/formats/dist/index.d.ts +5 -1
  51. package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
  52. package/dist/node_modules/@allyhub/formats/dist/items.d.ts +226 -90
  53. package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
  54. package/dist/node_modules/@allyhub/formats/dist/layout.d.ts +7 -1
  55. package/dist/node_modules/@allyhub/formats/dist/layout.js +1 -1
  56. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +46 -42
  57. package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
  58. package/dist/node_modules/@allyhub/formats/package.json +1 -1
  59. package/dist/node_modules/@allyhub/image-draw/LICENSE +241 -0
  60. package/dist/node_modules/@allyhub/image-draw/dist/context.d.ts +5 -0
  61. package/dist/node_modules/@allyhub/image-draw/dist/context.js +2 -0
  62. package/dist/node_modules/@allyhub/image-draw/dist/contrast.d.ts +13 -0
  63. package/dist/node_modules/@allyhub/image-draw/dist/contrast.js +2 -0
  64. package/dist/node_modules/@allyhub/image-draw/dist/env.d.ts +112 -0
  65. package/dist/node_modules/@allyhub/image-draw/dist/env.js +2 -0
  66. package/dist/node_modules/@allyhub/image-draw/dist/errors.d.ts +20 -0
  67. package/dist/node_modules/@allyhub/image-draw/dist/errors.js +2 -0
  68. package/dist/node_modules/@allyhub/image-draw/dist/fonts.d.ts +110 -0
  69. package/dist/node_modules/@allyhub/image-draw/dist/fonts.js +2 -0
  70. package/dist/node_modules/@allyhub/image-draw/dist/guards.d.ts +32 -0
  71. package/dist/node_modules/@allyhub/image-draw/dist/guards.js +2 -0
  72. package/dist/node_modules/@allyhub/image-draw/dist/hash.d.ts +3 -0
  73. package/dist/node_modules/@allyhub/image-draw/dist/hash.js +2 -0
  74. package/dist/node_modules/@allyhub/image-draw/dist/inspect.d.ts +113 -0
  75. package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +3 -0
  76. package/dist/node_modules/@allyhub/image-draw/dist/layer-style.d.ts +151 -0
  77. package/dist/node_modules/@allyhub/image-draw/dist/layer-style.js +2 -0
  78. package/dist/node_modules/@allyhub/image-draw/dist/paint.d.ts +29 -0
  79. package/dist/node_modules/@allyhub/image-draw/dist/paint.js +2 -0
  80. package/dist/node_modules/@allyhub/image-draw/dist/pictures.d.ts +39 -0
  81. package/dist/node_modules/@allyhub/image-draw/dist/pictures.js +2 -0
  82. package/dist/node_modules/@allyhub/image-draw/dist/plan.d.ts +52 -0
  83. package/dist/node_modules/@allyhub/image-draw/dist/plan.js +2 -0
  84. package/dist/node_modules/@allyhub/image-draw/dist/reads.d.ts +145 -0
  85. package/dist/node_modules/@allyhub/image-draw/dist/reads.js +2 -0
  86. package/dist/node_modules/@allyhub/image-draw/dist/shape-path.d.ts +26 -0
  87. package/dist/node_modules/@allyhub/image-draw/dist/shape-path.js +2 -0
  88. package/dist/node_modules/@allyhub/image-draw/dist/stage.d.ts +56 -0
  89. package/dist/node_modules/@allyhub/image-draw/dist/stage.js +2 -0
  90. package/dist/node_modules/@allyhub/image-draw/dist/styles.d.ts +35 -0
  91. package/dist/node_modules/@allyhub/image-draw/dist/styles.js +2 -0
  92. package/dist/node_modules/@allyhub/image-draw/dist/tone.d.ts +53 -0
  93. package/dist/node_modules/@allyhub/image-draw/dist/tone.js +2 -0
  94. package/dist/node_modules/@allyhub/image-draw/package.json +14 -0
  95. package/dist/node_modules/@allyhub/image-measure/LICENSE +241 -0
  96. package/dist/node_modules/@allyhub/image-measure/dist/contrast.d.ts +43 -0
  97. package/dist/node_modules/@allyhub/image-measure/dist/contrast.js +2 -0
  98. package/dist/node_modules/@allyhub/image-measure/dist/layout.d.ts +186 -0
  99. package/dist/node_modules/@allyhub/image-measure/dist/layout.js +5 -0
  100. package/dist/node_modules/@allyhub/image-measure/package.json +14 -0
  101. package/dist/node_modules/@allyhub/image-sdk/LICENSE +241 -0
  102. package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.d.ts +13 -0
  103. package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.js +2 -0
  104. package/dist/{define.d.ts → node_modules/@allyhub/image-sdk/dist/define.d.ts} +21 -4
  105. package/dist/node_modules/@allyhub/image-sdk/dist/define.js +2 -0
  106. package/dist/node_modules/@allyhub/image-sdk/dist/dom.d.ts +210 -0
  107. package/dist/node_modules/@allyhub/image-sdk/dist/dom.js +2 -0
  108. package/dist/node_modules/@allyhub/image-sdk/dist/fill.d.ts +21 -0
  109. package/dist/node_modules/@allyhub/image-sdk/dist/fill.js +2 -0
  110. package/dist/node_modules/@allyhub/image-sdk/dist/group.d.ts +17 -0
  111. package/dist/node_modules/@allyhub/image-sdk/dist/group.js +2 -0
  112. package/dist/node_modules/@allyhub/image-sdk/dist/index.d.ts +166 -0
  113. package/dist/node_modules/@allyhub/image-sdk/dist/index.js +2 -0
  114. package/dist/node_modules/@allyhub/image-sdk/dist/media.d.ts +6 -0
  115. package/dist/node_modules/@allyhub/image-sdk/dist/media.js +2 -0
  116. package/dist/{messages.d.ts → node_modules/@allyhub/image-sdk/dist/messages.d.ts} +1 -1
  117. package/dist/node_modules/@allyhub/image-sdk/dist/picture.d.ts +59 -0
  118. package/dist/node_modules/@allyhub/image-sdk/dist/picture.js +2 -0
  119. package/dist/{props.d.ts → node_modules/@allyhub/image-sdk/dist/props.d.ts} +4 -4
  120. package/dist/node_modules/@allyhub/image-sdk/dist/shape.d.ts +34 -0
  121. package/dist/node_modules/@allyhub/image-sdk/dist/shape.js +2 -0
  122. package/dist/node_modules/@allyhub/image-sdk/dist/stack.d.ts +16 -0
  123. package/dist/node_modules/@allyhub/image-sdk/dist/stack.js +2 -0
  124. package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.d.ts +38 -0
  125. package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.js +2 -0
  126. package/dist/{written.js → node_modules/@allyhub/image-sdk/dist/written.js} +1 -1
  127. package/dist/node_modules/@allyhub/image-sdk/package.json +19 -0
  128. package/dist/node_modules/@allyhub/measure/LICENSE +241 -0
  129. package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +195 -0
  130. package/dist/node_modules/@allyhub/measure/dist/compare.js +2 -0
  131. package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +8 -0
  132. package/dist/node_modules/@allyhub/measure/dist/grain.js +2 -0
  133. package/dist/node_modules/@allyhub/measure/dist/image.d.ts +16 -0
  134. package/dist/node_modules/@allyhub/measure/dist/image.js +2 -0
  135. package/dist/node_modules/@allyhub/measure/dist/index.d.ts +4 -0
  136. package/dist/node_modules/@allyhub/measure/dist/index.js +2 -0
  137. package/dist/node_modules/@allyhub/measure/package.json +13 -0
  138. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.d.ts +4 -1
  139. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.js +1 -1
  140. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.d.ts +15 -1
  141. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +1 -1
  142. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  143. package/dist/node_modules/@allyhub/piece/LICENSE +241 -0
  144. package/dist/node_modules/@allyhub/{video-core → piece}/dist/anchors.d.ts +1 -9
  145. package/dist/node_modules/@allyhub/{video-core → piece}/dist/component.js +1 -1
  146. package/dist/node_modules/@allyhub/piece/dist/context.d.ts +39 -0
  147. package/dist/node_modules/@allyhub/piece/dist/context.js +2 -0
  148. package/dist/node_modules/@allyhub/{video-core → piece}/dist/contrast.d.ts +2 -2
  149. package/dist/node_modules/@allyhub/{video-core → piece}/dist/export.d.ts +27 -10
  150. package/dist/node_modules/@allyhub/piece/dist/export.js +2 -0
  151. package/dist/node_modules/@allyhub/{video-core → piece}/dist/formats.d.ts +12 -68
  152. package/dist/node_modules/@allyhub/piece/dist/formats.js +2 -0
  153. package/dist/node_modules/@allyhub/piece/dist/gen.d.ts +104 -0
  154. package/dist/node_modules/@allyhub/piece/dist/index.d.ts +26 -0
  155. package/dist/node_modules/@allyhub/piece/dist/index.js +2 -0
  156. package/dist/node_modules/@allyhub/piece/dist/layer-style.d.ts +1558 -0
  157. package/dist/node_modules/@allyhub/piece/dist/layer-style.js +2 -0
  158. package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +389 -0
  159. package/dist/node_modules/@allyhub/piece/dist/layer.js +2 -0
  160. package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +421 -0
  161. package/dist/node_modules/@allyhub/piece/dist/layout.js +2 -0
  162. package/dist/node_modules/@allyhub/{video-core → piece}/dist/look.d.ts +1 -1
  163. package/dist/node_modules/@allyhub/{video-core → piece}/dist/media.d.ts +39 -9
  164. package/dist/node_modules/@allyhub/{video-core → piece}/dist/media.js +1 -1
  165. package/dist/node_modules/@allyhub/{video-core → piece}/dist/messages.d.ts +6 -0
  166. package/dist/node_modules/@allyhub/piece/dist/names.d.ts +26 -0
  167. package/dist/node_modules/@allyhub/piece/dist/names.js +2 -0
  168. package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +21 -0
  169. package/dist/node_modules/@allyhub/piece/dist/page/console.js +2 -0
  170. package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +3 -0
  171. package/dist/node_modules/@allyhub/piece/dist/page/index.js +2 -0
  172. package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +4 -0
  173. package/dist/node_modules/@allyhub/piece/dist/page/locate.js +2 -0
  174. package/dist/node_modules/@allyhub/piece/dist/picture.d.ts +62 -0
  175. package/dist/node_modules/@allyhub/piece/dist/picture.js +2 -0
  176. package/dist/node_modules/@allyhub/piece/dist/piece.d.ts +15 -0
  177. package/dist/node_modules/@allyhub/piece/dist/piece.js +2 -0
  178. package/dist/node_modules/@allyhub/{video-core → piece}/dist/script.d.ts +9 -4
  179. package/dist/node_modules/@allyhub/piece/dist/script.js +2 -0
  180. package/dist/node_modules/@allyhub/piece/dist/source.d.ts +131 -0
  181. package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +285 -0
  182. package/dist/node_modules/@allyhub/piece/dist/stage.js +2 -0
  183. package/dist/node_modules/@allyhub/piece/dist/version.d.ts +15 -0
  184. package/dist/node_modules/@allyhub/piece/dist/version.js +2 -0
  185. package/dist/node_modules/@allyhub/{video-core → piece}/dist/voice.d.ts +1 -20
  186. package/dist/node_modules/@allyhub/piece/package.json +18 -0
  187. package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +139 -0
  188. package/dist/node_modules/@allyhub/protocol/dist/account.js +1 -1
  189. package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +3 -10
  190. package/dist/node_modules/@allyhub/protocol/dist/app.js +1 -1
  191. package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +12 -1
  192. package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
  193. package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +2 -0
  194. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
  195. package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +232 -132
  196. package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
  197. package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +2 -0
  198. package/dist/node_modules/@allyhub/protocol/dist/files.js +1 -1
  199. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +22 -9
  200. package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
  201. package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +8 -0
  202. package/dist/node_modules/@allyhub/protocol/dist/image.js +2 -0
  203. package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +5 -0
  204. package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
  205. package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +6 -6
  206. package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +98 -0
  207. package/dist/node_modules/@allyhub/protocol/dist/kinds.js +2 -0
  208. package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +273 -0
  209. package/dist/node_modules/@allyhub/protocol/dist/mail.js +2 -0
  210. package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +26 -0
  211. package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
  212. package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +59 -0
  213. package/dist/node_modules/@allyhub/protocol/dist/peer.js +2 -0
  214. package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +21 -0
  215. package/dist/node_modules/@allyhub/protocol/dist/place.js +2 -0
  216. package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +125 -0
  217. package/dist/node_modules/@allyhub/protocol/dist/presence.js +2 -0
  218. package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +1 -1
  219. package/dist/node_modules/@allyhub/protocol/dist/routes.js +1 -1
  220. package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +35 -0
  221. package/dist/node_modules/@allyhub/protocol/dist/shape.js +2 -0
  222. package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +2 -8
  223. package/dist/node_modules/@allyhub/protocol/dist/shares.js +1 -1
  224. package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +70 -40
  225. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
  226. package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +224 -177
  227. package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
  228. package/dist/node_modules/@allyhub/protocol/package.json +1 -1
  229. package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
  230. package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +14 -0
  231. package/dist/node_modules/@allyhub/runtimes/dist/declared.js +2 -0
  232. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +15 -0
  233. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.js +2 -0
  234. package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +2 -0
  235. package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
  236. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +3 -3
  237. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +1 -0
  238. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +1 -1
  239. package/dist/node_modules/@allyhub/runtimes/manifest.json +0 -82
  240. package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
  241. package/dist/node_modules/@allyhub/scenery/dist/define.d.ts +2 -0
  242. package/dist/node_modules/@allyhub/scenery/dist/define.js +1 -1
  243. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  244. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
  245. package/dist/node_modules/@allyhub/sheet/dist/api/code.d.ts +4 -4
  246. package/dist/node_modules/@allyhub/sheet/dist/api/code.js +1 -1
  247. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.d.ts +15 -11
  248. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
  249. package/dist/node_modules/@allyhub/sheet/dist/calc/server.d.ts +1 -1
  250. package/dist/node_modules/@allyhub/sheet/dist/export.js +1 -1
  251. package/dist/node_modules/@allyhub/sheet/dist/file.d.ts +5 -0
  252. package/dist/node_modules/@allyhub/sheet/dist/file.js +1 -1
  253. package/dist/node_modules/@allyhub/sheet/dist/generated.d.ts +5 -19
  254. package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
  255. package/dist/node_modules/@allyhub/sheet/dist/import.d.ts +3 -1
  256. package/dist/node_modules/@allyhub/sheet/dist/import.js +1 -1
  257. package/dist/node_modules/@allyhub/sheet/dist/index.d.ts +3 -4
  258. package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
  259. package/dist/node_modules/@allyhub/sheet/dist/inspect.d.ts +76 -1
  260. package/dist/node_modules/@allyhub/sheet/dist/patch.d.ts +1 -1
  261. package/dist/node_modules/@allyhub/sheet/dist/patch.js +1 -1
  262. package/dist/node_modules/@allyhub/sheet/dist/sdk.d.ts +2 -0
  263. package/dist/node_modules/@allyhub/sheet/dist/sdk.js +2 -0
  264. package/dist/node_modules/@allyhub/sheet/dist/workbook.d.ts +6 -6
  265. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
  266. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.d.ts +2 -0
  267. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
  268. package/dist/node_modules/@allyhub/sheet/package.json +5 -1
  269. package/dist/node_modules/@allyhub/slides-core/dist/animation.d.ts +23 -7
  270. package/dist/node_modules/@allyhub/slides-core/dist/animation.js +1 -1
  271. package/dist/node_modules/@allyhub/slides-core/dist/api.d.ts +44 -4
  272. package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
  273. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
  274. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.d.ts +18 -1
  275. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
  276. package/dist/node_modules/@allyhub/slides-core/dist/code.d.ts +1 -1
  277. package/dist/node_modules/@allyhub/slides-core/dist/connect.d.ts +62 -0
  278. package/dist/node_modules/@allyhub/slides-core/dist/connect.js +2 -0
  279. package/dist/node_modules/@allyhub/slides-core/dist/fact.d.ts +208 -0
  280. package/dist/node_modules/@allyhub/slides-core/dist/fact.js +2 -0
  281. package/dist/node_modules/@allyhub/slides-core/dist/file.d.ts +4 -4
  282. package/dist/node_modules/@allyhub/slides-core/dist/file.js +2 -2
  283. package/dist/node_modules/@allyhub/slides-core/dist/index.d.ts +2 -0
  284. package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
  285. package/dist/node_modules/@allyhub/slides-core/dist/measure.d.ts +4 -2
  286. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
  287. package/dist/node_modules/@allyhub/slides-core/dist/merge.d.ts +5 -5
  288. package/dist/node_modules/@allyhub/slides-core/dist/merge.js +1 -1
  289. package/dist/node_modules/@allyhub/slides-core/dist/model.d.ts +19 -2
  290. package/dist/node_modules/@allyhub/slides-core/dist/office.d.ts +1 -1
  291. package/dist/node_modules/@allyhub/slides-core/dist/path.d.ts +1 -1
  292. package/dist/node_modules/@allyhub/slides-core/dist/resolve.d.ts +17 -10
  293. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
  294. package/dist/node_modules/@allyhub/slides-core/dist/sdk.d.ts +18 -0
  295. package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +2 -0
  296. package/dist/node_modules/@allyhub/slides-core/dist/stage.d.ts +28 -11
  297. package/dist/node_modules/@allyhub/slides-core/dist/units.d.ts +3 -6
  298. package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
  299. package/dist/node_modules/@allyhub/slides-core/package.json +5 -1
  300. package/dist/node_modules/@allyhub/video-core/dist/audio-types.d.ts +1 -2
  301. package/dist/node_modules/@allyhub/video-core/dist/captions.d.ts +1 -10
  302. package/dist/node_modules/@allyhub/video-core/dist/captions.js +1 -1
  303. package/dist/node_modules/@allyhub/video-core/dist/check.d.ts +62 -0
  304. package/dist/node_modules/@allyhub/video-core/dist/check.js +2 -0
  305. package/dist/node_modules/@allyhub/video-core/dist/cut-report.d.ts +2 -2
  306. package/dist/node_modules/@allyhub/video-core/dist/cut-report.js +1 -1
  307. package/dist/node_modules/@allyhub/video-core/dist/edits.d.ts +3 -3
  308. package/dist/node_modules/@allyhub/video-core/dist/edits.js +1 -1
  309. package/dist/node_modules/@allyhub/video-core/dist/fact.d.ts +21 -762
  310. package/dist/node_modules/@allyhub/video-core/dist/fact.js +1 -1
  311. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.d.ts +3 -2
  312. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
  313. package/dist/node_modules/@allyhub/video-core/dist/index.d.ts +3 -17
  314. package/dist/node_modules/@allyhub/video-core/dist/index.js +1 -1
  315. package/dist/node_modules/@allyhub/video-core/dist/measure.d.ts +72 -423
  316. package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -4
  317. package/dist/node_modules/@allyhub/video-core/dist/mix-plan.d.ts +44 -0
  318. package/dist/node_modules/@allyhub/video-core/dist/mix-plan.js +2 -0
  319. package/dist/node_modules/@allyhub/video-core/dist/motion.d.ts +1 -1
  320. package/dist/node_modules/@allyhub/video-core/dist/piece.d.ts +22 -430
  321. package/dist/node_modules/@allyhub/video-core/dist/piece.js +1 -1
  322. package/dist/node_modules/@allyhub/video-core/dist/placement.d.ts +1 -1
  323. package/dist/node_modules/@allyhub/video-core/dist/schema.d.ts +6 -12
  324. package/dist/node_modules/@allyhub/video-core/dist/schema.js +1 -1
  325. package/dist/node_modules/@allyhub/video-core/dist/script-edit.d.ts +11 -6
  326. package/dist/node_modules/@allyhub/video-core/dist/script-edit.js +1 -1
  327. package/dist/node_modules/@allyhub/video-core/dist/seams.d.ts +2 -3
  328. package/dist/node_modules/@allyhub/video-core/dist/sound-under.d.ts +2 -2
  329. package/dist/node_modules/@allyhub/video-core/dist/sound-under.js +1 -1
  330. package/dist/node_modules/@allyhub/video-core/dist/speech.d.ts +2 -4
  331. package/dist/node_modules/@allyhub/video-core/dist/speech.js +2 -2
  332. package/dist/node_modules/@allyhub/video-core/dist/stage.d.ts +52 -0
  333. package/dist/node_modules/@allyhub/video-core/dist/stage.js +2 -0
  334. package/dist/node_modules/@allyhub/video-core/dist/timeline.d.ts +18 -136
  335. package/dist/node_modules/@allyhub/video-core/dist/timeline.js +1 -1
  336. package/dist/node_modules/@allyhub/video-core/dist/timing.d.ts +3 -3
  337. package/dist/node_modules/@allyhub/video-core/dist/timing.js +1 -1
  338. package/dist/node_modules/@allyhub/video-core/dist/transcript.d.ts +2 -2
  339. package/dist/node_modules/@allyhub/video-core/dist/transcript.js +1 -1
  340. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  341. package/dist/node_modules/@allyhub/video-sdk/LICENSE +241 -0
  342. package/dist/node_modules/@allyhub/video-sdk/NOTICE +118 -0
  343. package/dist/{free.d.ts → node_modules/@allyhub/video-sdk/dist/free.d.ts} +14 -10
  344. package/dist/node_modules/@allyhub/video-sdk/dist/free.js +2 -0
  345. package/dist/node_modules/@allyhub/video-sdk/dist/index.d.ts +28 -0
  346. package/dist/node_modules/@allyhub/video-sdk/dist/index.js +2 -0
  347. package/dist/{input.d.ts → node_modules/@allyhub/video-sdk/dist/input.d.ts} +76 -22
  348. package/dist/node_modules/@allyhub/video-sdk/dist/input.js +2 -0
  349. package/dist/{module.d.ts → node_modules/@allyhub/video-sdk/dist/module.d.ts} +6 -4
  350. package/dist/node_modules/@allyhub/video-sdk/dist/module.js +2 -0
  351. package/dist/{parts.d.ts → node_modules/@allyhub/video-sdk/dist/parts.d.ts} +15 -6
  352. package/dist/node_modules/@allyhub/video-sdk/dist/parts.js +2 -0
  353. package/dist/{piece.d.ts → node_modules/@allyhub/video-sdk/dist/piece.d.ts} +26 -16
  354. package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +2 -0
  355. package/dist/node_modules/@allyhub/video-sdk/dist/route.d.ts +46 -0
  356. package/dist/node_modules/@allyhub/video-sdk/dist/route.js +2 -0
  357. package/dist/node_modules/@allyhub/video-sdk/dist/scenery.d.ts +2 -0
  358. package/dist/node_modules/@allyhub/video-sdk/dist/scenery.js +2 -0
  359. package/dist/node_modules/@allyhub/video-sdk/package.json +19 -0
  360. package/dist/scenery.d.ts +1 -1
  361. package/dist/scenery.js +1 -1
  362. package/dist/sheets.d.ts +1 -1
  363. package/dist/sheets.js +1 -1
  364. package/dist/slides.d.ts +1 -9
  365. package/dist/slides.js +1 -1
  366. package/docs/README.md +8 -6
  367. package/docs/batches.md +5 -5
  368. package/docs/contract.md +2 -2
  369. package/docs/defaults.md +278 -20
  370. package/docs/docs.md +77 -63
  371. package/docs/footage.md +7 -7
  372. package/docs/image.md +165 -0
  373. package/docs/layers.md +22 -13
  374. package/docs/modeling.md +4 -4
  375. package/docs/pictures.md +65 -0
  376. package/docs/project.md +51 -31
  377. package/docs/scenery.md +11 -11
  378. package/docs/sheets.md +26 -25
  379. package/docs/slides.md +73 -65
  380. package/docs/sound.md +3 -3
  381. package/docs/speech.md +8 -8
  382. package/docs/video.md +16 -13
  383. package/docs/websites.md +4 -4
  384. package/package.json +7 -2
  385. package/dist/define.js +0 -2
  386. package/dist/free.js +0 -2
  387. package/dist/input.js +0 -2
  388. package/dist/module.js +0 -2
  389. package/dist/node_modules/@allyhub/formats/dist/data/comments.d.ts +0 -94
  390. package/dist/node_modules/@allyhub/formats/dist/data/comments.js +0 -2
  391. package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package-lock.json +0 -227
  392. package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package.json +0 -8
  393. package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -105
  394. package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package.json +0 -8
  395. package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package-lock.json +0 -128
  396. package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package.json +0 -9
  397. package/dist/node_modules/@allyhub/video-core/dist/export.js +0 -2
  398. package/dist/node_modules/@allyhub/video-core/dist/formats.js +0 -2
  399. package/dist/node_modules/@allyhub/video-core/dist/gen.d.ts +0 -37
  400. package/dist/node_modules/@allyhub/video-core/dist/problem.d.ts +0 -278
  401. package/dist/node_modules/@allyhub/video-core/dist/problem.js +0 -2
  402. package/dist/node_modules/@allyhub/video-core/dist/script.js +0 -2
  403. package/dist/node_modules/@allyhub/video-core/dist/source.d.ts +0 -7
  404. package/dist/parts.js +0 -2
  405. package/dist/piece.js +0 -2
  406. /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.d.ts +0 -0
  407. /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.js +0 -0
  408. /package/dist/{fit.d.ts → node_modules/@allyhub/image-sdk/dist/fit.d.ts} +0 -0
  409. /package/dist/{fit.js → node_modules/@allyhub/image-sdk/dist/fit.js} +0 -0
  410. /package/dist/{messages.js → node_modules/@allyhub/image-sdk/dist/messages.js} +0 -0
  411. /package/dist/{props.js → node_modules/@allyhub/image-sdk/dist/props.js} +0 -0
  412. /package/dist/{text.d.ts → node_modules/@allyhub/image-sdk/dist/text.d.ts} +0 -0
  413. /package/dist/{text.js → node_modules/@allyhub/image-sdk/dist/text.js} +0 -0
  414. /package/dist/{written.d.ts → node_modules/@allyhub/image-sdk/dist/written.d.ts} +0 -0
  415. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/anchors.js +0 -0
  416. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/component.d.ts +0 -0
  417. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.d.ts +0 -0
  418. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.js +0 -0
  419. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/contrast.js +0 -0
  420. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/gen.js +0 -0
  421. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/look.js +0 -0
  422. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.d.ts +0 -0
  423. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.js +0 -0
  424. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.d.ts +0 -0
  425. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.js +0 -0
  426. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/messages.js +0 -0
  427. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/source.js +0 -0
  428. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/voice.js +0 -0
  429. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.d.ts +0 -0
  430. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.js +0 -0
  431. /package/dist/{anim.d.ts → node_modules/@allyhub/video-sdk/dist/anim.d.ts} +0 -0
  432. /package/dist/{anim.js → node_modules/@allyhub/video-sdk/dist/anim.js} +0 -0
  433. /package/dist/{noise.d.ts → node_modules/@allyhub/video-sdk/dist/noise.d.ts} +0 -0
  434. /package/dist/{noise.js → node_modules/@allyhub/video-sdk/dist/noise.js} +0 -0
  435. /package/dist/{paths.d.ts → node_modules/@allyhub/video-sdk/dist/paths.d.ts} +0 -0
  436. /package/dist/{paths.js → node_modules/@allyhub/video-sdk/dist/paths.js} +0 -0
  437. /package/dist/{phone.d.ts → node_modules/@allyhub/video-sdk/dist/phone.d.ts} +0 -0
  438. /package/dist/{phone.js → node_modules/@allyhub/video-sdk/dist/phone.js} +0 -0
package/docs/defaults.md CHANGED
@@ -6,7 +6,7 @@ Every default of the piece API that is a constant in the code, with what it hold
6
6
 
7
7
  ### Formats
8
8
 
9
- The presets (`PRESETS`): pixels, and the edges a platform's interface covers (`ctx.dims.safe`), changed by `format: { format, safe }`. A `WIDTHxHEIGHT` format covers none.
9
+ The presets (`PRESETS`): pixels, and the edges an interface over the video may cover (`ctx.dims.safe`), changed by `format: { format, safe }`. A `WIDTHxHEIGHT` format covers none.
10
10
 
11
11
  | Format | Pixels | Covered: top, bottom, left, right |
12
12
  | --- | --- | --- |
@@ -15,17 +15,6 @@ The presets (`PRESETS`): pixels, and the edges a platform's interface covers (`c
15
15
  | `1x1` | 1080 × 1080 | 50, 90, 40, 40 |
16
16
  | `4x5` | 1080 × 1350 | 60, 120, 40, 40 |
17
17
 
18
- The platform profiles (`PROFILES`): the frame, the edges the platform's interface covers, the longest video in seconds (AK-F001; `format: { format, maxDuration }`), the loudness its sound is mastered to in LUFS (`format: { format, loudness }`, `video({ master })`), and the crf and most video bitrate in kbit/s `allyhub render` encodes its mp4 at.
19
-
20
- | Profile | Platform | Pixels | Covered: top, bottom, left, right | Longest | Loudness | crf | Most kbit/s |
21
- | --- | --- | --- | --- | --- | --- | --- | --- |
22
- | `tiktok` | TikTok | 1080 × 1920 | 240, 660, 120, 180 | 600 | -14 | 20 | 6000 |
23
- | `reels` | Instagram Reels | 1080 × 1920 | 269, 672, 65, 65 | 180 | -14 | 20 | 6000 |
24
- | `shorts` | YouTube Shorts | 1080 × 1920 | 288, 672, 48, 192 | 180 | -14 | 20 | 8000 |
25
- | `meta-feed` | Facebook and Instagram feed | 1080 × 1350 | 60, 120, 40, 40 | 14460 | -14 | 20 | 6000 |
26
- | `amazon` | Amazon Sponsored Brands video | 1920 × 1080 | 60, 90, 80, 80 | 45 | -14 | 20 | 8000 |
27
- | `linkedin` | LinkedIn | 1080 × 1080 | 50, 90, 40, 40 | 1800 | -14 | 20 | 6000 |
28
-
29
18
  ### `FPS`
30
19
 
31
20
  Frames per second of a video. `video({ fps })`.
@@ -161,7 +150,7 @@ A shape `add_shape` makes, as python-pptx makes it (the theme's styles it is dra
161
150
 
162
151
  ### `CONNECTOR_STYLE`
163
152
 
164
- A connector `add_connector` makes (a straight line, an elbow, a curve), as python-pptx makes it: the theme's second line, 1 pt, in accent 1, with no fill and no text. A connector in `slides.yaml` (`geometry: line`, `straightConnector1`, `bentConnector2` to `5`, `curvedConnector2` to `5`) has it too. Its `line` changes it.
153
+ A connector `add_connector` makes (a straight line, an elbow, a curve), as python-pptx makes it: the theme's second line, 1 pt, in accent 1, with no fill and no text. A connector in a deck's slides file (`geometry: line`, `straightConnector1`, `bentConnector2` to `5`, `curvedConnector2` to `5`) has it too. Its `line` changes it.
165
154
 
166
155
  | Key | Value |
167
156
  | --- | --- |
@@ -170,7 +159,7 @@ A connector `add_connector` makes (a straight line, an elbow, a curve), as pytho
170
159
 
171
160
  ### `SHADOW_DEFAULTS`
172
161
 
173
- A shape's shadow where a `shadow` in `slides.yaml` or `shape.shadow` says nothing: `color`, `blur` and `distance` (EMU), `angle` (degrees clockwise from the right), `transparency` (a share).
162
+ A shape's shadow where a `shadow` in a deck's slides file or `shape.shadow` says nothing: `color`, `blur` and `distance` (EMU), `angle` (degrees clockwise from the right), `transparency` (a share).
174
163
 
175
164
  | Key | Value |
176
165
  | --- | --- |
@@ -182,7 +171,7 @@ A shape's shadow where a `shadow` in `slides.yaml` or `shape.shadow` says nothin
182
171
 
183
172
  ### `SLIDE_SECONDS`
184
173
 
185
- A slide's window on the stage's clock, seconds: a still of it is drawn at its end, when what moves in its components has settled.
174
+ A slide's window on the stage's clock, seconds: a still of it is drawn at its end, when what moves in its components has settled. It is also how long a component moves, which its `dur` changes (in the slides file, or `add_component`'s `{ dur }`): its slide rests no sooner, and a PowerPoint file's video of it is that long.
186
175
 
187
176
  Value: `4`
188
177
 
@@ -202,7 +191,7 @@ Value: `0.5625`
202
191
 
203
192
  ### `CHART_PALETTE`
204
193
 
205
- A `<Chart>`'s colours, a series (a pie's slice) each, in turn: the page's `accent` takes the first, its `colors` take them in order. A `<Chart>`'s frame is a `<Component>`'s: `COMPONENT_WIDTH` wide and `COMPONENT_ASPECT` high when it gives no `width` or `height`; its legend is beside a pie, under more than one series and absent for one, unless `legend` says.
194
+ A `<Chart>`'s colours, a series (a pie's slice) each, in turn: the page's `accent` (else this list's first) takes the first, the same colour lighter (`CHART_SECOND_TONE`) the second, then this list; its `colors` take them in order. A `<Chart>`'s frame is a `<Component>`'s: `COMPONENT_WIDTH` wide and `COMPONENT_ASPECT` high when it gives no `width` or `height`; its legend is beside a pie, over more than one series and absent for one, unless `legend` says.
206
195
 
207
196
  Value: `["#2A78D6","#EB6834","#1BAF7A","#EDA100","#E87BA4","#008300"]`
208
197
 
@@ -217,10 +206,50 @@ A `<Chart>`'s text and title sizes, points.
217
206
 
218
207
  ### `COVER_HEIGHT_MM`
219
208
 
220
- A doc's cover on paper: a band across the top of the first page, edge to edge, this many millimetres high (A4 is 210 wide); its picture fills it at its `cover-y`.
209
+ A doc's cover on paper: a band across the top of the first page, edge to edge, this many millimetres high (Letter is 215.9 wide); its picture fills it at its `cover-y`.
221
210
 
222
211
  Value: `64`
223
212
 
213
+ ### `PAGE_DEFAULTS`
214
+
215
+ A doc's page when its front matter does not set it: the paper (`paper`), its margins in mm (`margins`), the text's size in pt (`size`), its line height (`line-height`), first-line indent in characters (`text-indent`), the space between paragraphs in em (`paragraph-spacing`), each heading's size as a multiple of the text's (a heading's `size`), and the footer (`footer`; `page-numbers: false` drops it). A `preset` sets these as its convention does, under the doc's own keys.
216
+
217
+ | Key | Value |
218
+ | --- | --- |
219
+ | `paper` | `"letter"` |
220
+ | `margins.top` | `18` |
221
+ | `margins.right` | `20` |
222
+ | `margins.bottom` | `18` |
223
+ | `margins.left` | `20` |
224
+ | `size` | `11` |
225
+ | `lineHeight` | `1.15` |
226
+ | `textIndent` | `0` |
227
+ | `paragraphSpacing` | `0.5` |
228
+ | `headingScale.1` | `1.75` |
229
+ | `headingScale.2` | `1.45` |
230
+ | `headingScale.3` | `1.15` |
231
+ | `headingScale.4` | `1` |
232
+ | `headingScale.5` | `1` |
233
+ | `headingScale.6` | `1` |
234
+ | `headingScale.title` | `2.3` |
235
+ | `footer.left` | `"{title}"` |
236
+ | `footer.right` | `"{page} / {pages}"` |
237
+
238
+ ### `PICTURE_DPI`
239
+
240
+ How sharp a doc's pictures are on paper: each is drawn again at no more than this many dots an inch of the page it is set on (Word's Default resolution), a JPEG where it has no transparent pixel; front matter's `picture-dpi` sets it, `picture-dpi: false` prints them as they are.
241
+
242
+ Value: `220`
243
+
244
+ ### `PAGE_FACT_DEFAULTS`
245
+
246
+ What `allyhub inspect pages` lists without `--all`: a heading with fewer lines than `headingLines` after it on its page (`--heading-lines`), a paragraph whose last line holds `shortChars` letters or fewer (`--short-line`).
247
+
248
+ | Key | Value |
249
+ | --- | --- |
250
+ | `headingLines` | `3` |
251
+ | `shortChars` | `2` |
252
+
224
253
  ### `ROUND_FRAME`
225
254
 
226
255
  A pie's or a doughnut's frame when it gives no `width` or `height`: at most this many pixels wide, and this high over its width, so its legend stays beside it.
@@ -330,7 +359,7 @@ Each stem's loudness target in LUFS, the music's dip under words and its fades i
330
359
 
331
360
  ### `MASTER_DEFAULTS`
332
361
 
333
- The master's loudness in LUFS (a platform profile's loudness comes first) and its true-peak ceiling in dBTP. `video({ master })`.
362
+ The master's loudness in LUFS and its true-peak ceiling in dBTP. `video({ master })`.
334
363
 
335
364
  | Key | Value |
336
365
  | --- | --- |
@@ -541,7 +570,7 @@ A camera filming the picture: a mark's values when it is asked for without them.
541
570
 
542
571
  ### `SHARE_ENCODE`
543
572
 
544
- How `allyhub render` and an editor's Export encode an mp4 whose format is no platform profile, ready to share on social media: H.264's crf, and the most video bitrate in kbit/s for a frame of `width` × `height` at `fps`, scaled by the pixels a second of the video's own (16000 at 1080p 60, 32000 at 4K 30). `--param crf`, `--param max-bitrate` (0 for none).
573
+ How `allyhub render` and an editor's Export encode an mp4 when nothing chooses otherwise, ready to share on social media: H.264's crf, and the most video bitrate in kbit/s for a frame of `width` × `height` at `fps`, scaled by the pixels a second of the video's own (16000 at 1080p 60, 32000 at 4K 30). `--param crf`, `--param max-bitrate` (0 for none).
545
574
 
546
575
  | Key | Value |
547
576
  | --- | --- |
@@ -563,6 +592,212 @@ How far the person's edge is pulled in, px at 1080p. `footage({ background: { sh
563
592
 
564
593
  Value: `4`
565
594
 
595
+ ### `PICTURE_DEFAULTS`
596
+
597
+ How a still fills its box (CSS's `object-fit`), and the point of it at the same point of the box, as shares (CSS's `object-position`). `picture({ fit, position })`; a deck's Crop to Fill and Fit centre it the same way.
598
+
599
+ | Key | Value |
600
+ | --- | --- |
601
+ | `fit` | `"cover"` |
602
+ | `position` | `[0.5,0.5]` |
603
+
604
+ ## Images
605
+
606
+ ### `BOARD_DEFAULTS`
607
+
608
+ A board whose height grows with what it holds: the height its layers are laid out at before it is measured (the least it is), and the most it grows to, px; its resolution (ppi) and colour profile, metadata for print and PSD. `board({ height: "auto", minHeight, maxHeight, resolution, colorProfile })`.
609
+
610
+ | Key | Value |
611
+ | --- | --- |
612
+ | `minHeight` | `64` |
613
+ | `maxHeight` | `16384` |
614
+ | `resolution` | `72` |
615
+ | `colorProfile` | `"sRGB IEC61966-2.1"` |
616
+
617
+ ### `LAYER_STYLE_DEFAULTS`
618
+
619
+ What every layer is when it says nothing: its blend mode (a group's passThrough), opacity and fill opacity (percent), clipping, visibility, and a mask's alpha mode, density (percent), feather (px) and inversion. Each layer's `blendMode`, `opacity`, `fillOpacity`, `clipping`, `visible`, `mask`.
620
+
621
+ | Key | Value |
622
+ | --- | --- |
623
+ | `blendMode` | `"normal"` |
624
+ | `groupBlendMode` | `"passThrough"` |
625
+ | `opacity` | `100` |
626
+ | `fillOpacity` | `100` |
627
+ | `clipping` | `false` |
628
+ | `visible` | `true` |
629
+ | `mask.mode` | `"alpha"` |
630
+ | `mask.density` | `100` |
631
+ | `mask.feather` | `0` |
632
+ | `mask.invert` | `false` |
633
+
634
+ ### `EFFECT_DEFAULTS`
635
+
636
+ Each layer style's settings when it gives none, Photoshop's own: blend mode, colour, opacity (percent), the light's angle (degrees counter-clockwise from the right), distance, size, spread and choke (px and percent), a bevel's depth, altitude and highlight and shadow. A layer's `effects: { dropShadow: { … } }`.
637
+
638
+ | Key | Value |
639
+ | --- | --- |
640
+ | `dropShadow.blendMode` | `"multiply"` |
641
+ | `dropShadow.color` | `"#000000"` |
642
+ | `dropShadow.opacity` | `75` |
643
+ | `dropShadow.angle` | `120` |
644
+ | `dropShadow.distance` | `5` |
645
+ | `dropShadow.spread` | `0` |
646
+ | `dropShadow.size` | `5` |
647
+ | `innerShadow.blendMode` | `"multiply"` |
648
+ | `innerShadow.color` | `"#000000"` |
649
+ | `innerShadow.opacity` | `75` |
650
+ | `innerShadow.angle` | `120` |
651
+ | `innerShadow.distance` | `5` |
652
+ | `innerShadow.choke` | `0` |
653
+ | `innerShadow.size` | `5` |
654
+ | `outerGlow.blendMode` | `"screen"` |
655
+ | `outerGlow.color` | `"#ffffbe"` |
656
+ | `outerGlow.opacity` | `75` |
657
+ | `outerGlow.spread` | `0` |
658
+ | `outerGlow.size` | `5` |
659
+ | `innerGlow.blendMode` | `"screen"` |
660
+ | `innerGlow.color` | `"#ffffbe"` |
661
+ | `innerGlow.opacity` | `75` |
662
+ | `innerGlow.choke` | `0` |
663
+ | `innerGlow.size` | `5` |
664
+ | `innerGlow.source` | `"edge"` |
665
+ | `stroke.blendMode` | `"normal"` |
666
+ | `stroke.color` | `"#000000"` |
667
+ | `stroke.opacity` | `100` |
668
+ | `stroke.size` | `3` |
669
+ | `stroke.position` | `"outside"` |
670
+ | `colorOverlay.blendMode` | `"normal"` |
671
+ | `colorOverlay.color` | `"#ff0000"` |
672
+ | `colorOverlay.opacity` | `100` |
673
+ | `gradientOverlay.blendMode` | `"normal"` |
674
+ | `gradientOverlay.opacity` | `100` |
675
+ | `gradientOverlay.gradient.stops` | `[{"color":"#000000","location":0},{"color":"#ffffff","location":100}]` |
676
+ | `gradientOverlay.gradient.style` | `"linear"` |
677
+ | `gradientOverlay.gradient.angle` | `90` |
678
+ | `gradientOverlay.gradient.scale` | `100` |
679
+ | `gradientOverlay.gradient.reverse` | `false` |
680
+ | `patternOverlay.blendMode` | `"normal"` |
681
+ | `patternOverlay.opacity` | `100` |
682
+ | `patternOverlay.scale` | `100` |
683
+ | `satin.blendMode` | `"multiply"` |
684
+ | `satin.color` | `"#000000"` |
685
+ | `satin.opacity` | `50` |
686
+ | `satin.angle` | `19` |
687
+ | `satin.distance` | `11` |
688
+ | `satin.size` | `14` |
689
+ | `satin.invert` | `true` |
690
+ | `bevelEmboss.style` | `"innerBevel"` |
691
+ | `bevelEmboss.technique` | `"smooth"` |
692
+ | `bevelEmboss.depth` | `100` |
693
+ | `bevelEmboss.direction` | `"up"` |
694
+ | `bevelEmboss.size` | `5` |
695
+ | `bevelEmboss.soften` | `0` |
696
+ | `bevelEmboss.angle` | `120` |
697
+ | `bevelEmboss.altitude` | `30` |
698
+ | `bevelEmboss.highlightMode` | `"screen"` |
699
+ | `bevelEmboss.highlightColor` | `"#ffffff"` |
700
+ | `bevelEmboss.highlightOpacity` | `75` |
701
+ | `bevelEmboss.shadowMode` | `"multiply"` |
702
+ | `bevelEmboss.shadowColor` | `"#000000"` |
703
+ | `bevelEmboss.shadowOpacity` | `75` |
704
+
705
+ ### `ADJUSTMENT_DEFAULTS`
706
+
707
+ Each adjustment's numbers when it gives none, Photoshop's: they change nothing, but Invert's, Threshold's (128), Black & White's sliders and Photo Filter's colour and density. `adjustment({ kind, … })`.
708
+
709
+ | Key | Value |
710
+ | --- | --- |
711
+ | `levels.inputBlack` | `0` |
712
+ | `levels.inputWhite` | `255` |
713
+ | `levels.gamma` | `1` |
714
+ | `levels.outputBlack` | `0` |
715
+ | `levels.outputWhite` | `255` |
716
+ | `curves.rgb` | `[[0,0],[255,255]]` |
717
+ | `brightnessContrast.brightness` | `0` |
718
+ | `brightnessContrast.contrast` | `0` |
719
+ | `brightnessContrast.useLegacy` | `true` |
720
+ | `hueSaturation.hue` | `0` |
721
+ | `hueSaturation.saturation` | `0` |
722
+ | `hueSaturation.lightness` | `0` |
723
+ | `hueSaturation.colorize` | `false` |
724
+ | `vibrance.vibrance` | `0` |
725
+ | `vibrance.saturation` | `0` |
726
+ | `colorBalance.shadows` | `[0,0,0]` |
727
+ | `colorBalance.midtones` | `[0,0,0]` |
728
+ | `colorBalance.highlights` | `[0,0,0]` |
729
+ | `colorBalance.preserveLuminosity` | `true` |
730
+ | `blackAndWhite.reds` | `40` |
731
+ | `blackAndWhite.yellows` | `60` |
732
+ | `blackAndWhite.greens` | `40` |
733
+ | `blackAndWhite.cyans` | `60` |
734
+ | `blackAndWhite.blues` | `20` |
735
+ | `blackAndWhite.magentas` | `80` |
736
+ | `photoFilter.color` | `"#ec8a00"` |
737
+ | `photoFilter.density` | `25` |
738
+ | `photoFilter.preserveLuminosity` | `true` |
739
+ | `invert` | `{}` |
740
+ | `threshold.level` | `128` |
741
+ | `gradientMap.gradient.stops` | `[{"color":"#000000","location":0},{"color":"#ffffff","location":100}]` |
742
+ | `gradientMap.reverse` | `false` |
743
+ | `exposure.exposure` | `0` |
744
+ | `exposure.offset` | `0` |
745
+ | `exposure.gammaCorrection` | `1` |
746
+
747
+ ### `TEXT_DEFAULTS`
748
+
749
+ A type layer's style when it gives none: size (px), weight, colour, tracking (thousandths of an em), leading (auto: `autoLeading` of the size, Photoshop's 120%) and justification. `textLayer({ textItem: { characterStyle, paragraphStyle } })`.
750
+
751
+ | Key | Value |
752
+ | --- | --- |
753
+ | `size` | `48` |
754
+ | `weight` | `400` |
755
+ | `color` | `"#000000"` |
756
+ | `tracking` | `0` |
757
+ | `leading` | `"auto"` |
758
+ | `autoLeading` | `1.2` |
759
+ | `justification` | `"left"` |
760
+
761
+ ### `SHAPE_DEFAULTS`
762
+
763
+ A shape's fill, its stroke's colour, width (px), alignment, cap, join and opacity, a rectangle's radius and a polygon's sides. `shape({ fill, stroke, radius, sides })`.
764
+
765
+ | Key | Value |
766
+ | --- | --- |
767
+ | `fill.color` | `"#000000"` |
768
+ | `stroke.color` | `"#000000"` |
769
+ | `stroke.width` | `1` |
770
+ | `stroke.alignment` | `"center"` |
771
+ | `stroke.cap` | `"butt"` |
772
+ | `stroke.join` | `"miter"` |
773
+ | `stroke.opacity` | `100` |
774
+ | `radius` | `0` |
775
+ | `sides` | `5` |
776
+
777
+ ### `MAX_SIDE`
778
+
779
+ The longest side a board takes, px: what one picture the stage draws holds. A hard limit, not an option.
780
+
781
+ Value: `16384`
782
+
783
+ ### `IMAGE_EXPORT_DEFAULTS`
784
+
785
+ An image's files: JPEG's quality, and AVIF's (as libaom's constant quality, 63 − 0.63 × it), 0–100; a WebP without one keeps every pixel. `allyhub render --param quality=…`. A board's picture's pixels per board pixel, from 0.25 to 4: `--param scale=…`, or `width=…` / `height=…` in pixels.
786
+
787
+ | Key | Value |
788
+ | --- | --- |
789
+ | `jpegQuality` | `90` |
790
+ | `avifQuality` | `60` |
791
+ | `scale` | `1` |
792
+
793
+ ### `PSD_DEFAULTS`
794
+
795
+ An image's PSD: `psd`, or `psb` (Photoshop's large document format); a board is at most 16384 px a side, which a PSD holds. `allyhub render --type psd --param psd=psb`.
796
+
797
+ | Key | Value |
798
+ | --- | --- |
799
+ | `format` | `"psd"` |
800
+
566
801
  ## Layout, text and input
567
802
 
568
803
  ### `MARK_STYLES`
@@ -585,7 +820,7 @@ Value: `0.5`
585
820
 
586
821
  ### `INPUT_DEFAULTS`
587
822
 
588
- A person's input: an aimed movement's shape and time (`reach`), a press, a drag, a scroll, typing. Each input function's options.
823
+ A person's input: a hand's aimed movement (`reach`) and a mouse cursor's (`cursor`, the same without a hand's errors), a press, a drag, a scroll, typing. Each input function's options.
589
824
 
590
825
  | Key | Value |
591
826
  | --- | --- |
@@ -600,6 +835,18 @@ A person's input: an aimed movement's shape and time (`reach`), a press, a drag,
600
835
  | `reach.tremor.px` | `0.3` |
601
836
  | `reach.tremor.frequency` | `9` |
602
837
  | `reach.seed` | `1` |
838
+ | `cursor.reach.overshoot` | `0` |
839
+ | `cursor.reach.peak` | `0.38` |
840
+ | `cursor.reach.vary` | `0` |
841
+ | `cursor.reach.fitts.a` | `0.2` |
842
+ | `cursor.reach.fitts.b` | `0.15` |
843
+ | `cursor.reach.scatter` | `0` |
844
+ | `cursor.reach.jitter` | `0` |
845
+ | `cursor.reach.bow` | `0` |
846
+ | `cursor.reach.tremor.px` | `0` |
847
+ | `cursor.reach.tremor.frequency` | `9` |
848
+ | `cursor.reach.seed` | `1` |
849
+ | `cursor.after` | `0.3` |
603
850
  | `size` | `40` |
604
851
  | `dwell` | `0.12` |
605
852
  | `hold` | `0.1` |
@@ -630,6 +877,17 @@ A person's input: an aimed movement's shape and time (`reach`), a press, a drag,
630
877
  | `typing.backspace` | `0.07` |
631
878
  | `typing.seed` | `1` |
632
879
 
880
+ ### `ROUTE_DEFAULTS`
881
+
882
+ How `routeConnections()` routes, and the `connector` component with it: how far a line keeps from every box and runs straight out of a side (`margin`), what a bend costs as so much length (`bend`), how far apart lines sharing a channel are set (`spread`), what crossing another line costs as so much length (`cross`: a line goes round rather than across only where that is shorter). `routeConnections(boxes, connections, { margin, bend, spread, cross, bounds })`; a connector's `line`.
883
+
884
+ | Key | Value |
885
+ | --- | --- |
886
+ | `margin` | `16` |
887
+ | `bend` | `48` |
888
+ | `spread` | `8` |
889
+ | `cross` | `120` |
890
+
633
891
  ## 3D sceneries
634
892
 
635
893
  ### `SCENERY_LAYER_DEFAULTS`