@allyhub/sdk 0.7.1 → 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 (1086) hide show
  1. package/CHANGELOG.md +149 -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 +96 -0
  12. package/dist/node_modules/@allyhub/audio/dist/levels.js +2 -0
  13. package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.d.ts +26 -0
  14. package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +2 -0
  15. package/dist/node_modules/@allyhub/audio/package.json +17 -0
  16. package/dist/node_modules/@allyhub/chart/dist/chart-file.d.ts +11 -0
  17. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -0
  18. package/dist/node_modules/@allyhub/chart/dist/chart-xml.d.ts +33 -0
  19. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +3 -0
  20. package/dist/node_modules/@allyhub/chart/dist/chart.d.ts +206 -0
  21. package/dist/node_modules/@allyhub/chart/dist/chart.js +2 -0
  22. package/dist/node_modules/@allyhub/chart/dist/embedded.d.ts +15 -0
  23. package/dist/node_modules/@allyhub/chart/dist/embedded.js +3 -0
  24. package/dist/node_modules/@allyhub/chart/dist/index.d.ts +6 -0
  25. package/dist/node_modules/@allyhub/chart/dist/index.js +2 -0
  26. package/dist/node_modules/@allyhub/chart/dist/svg.d.ts +22 -0
  27. package/dist/node_modules/@allyhub/chart/dist/svg.js +2 -0
  28. package/dist/node_modules/@allyhub/chart/package.json +14 -0
  29. package/dist/node_modules/@allyhub/diagnostics/dist/fact.d.ts +37 -0
  30. package/dist/node_modules/@allyhub/diagnostics/dist/fact.js +2 -0
  31. package/dist/node_modules/@allyhub/diagnostics/dist/index.d.ts +4 -0
  32. package/dist/node_modules/@allyhub/diagnostics/dist/index.js +2 -0
  33. package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +43 -0
  34. package/dist/node_modules/@allyhub/diagnostics/dist/problem.js +2 -0
  35. package/dist/node_modules/@allyhub/diagnostics/dist/rules.d.ts +30 -0
  36. package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +2 -0
  37. package/dist/node_modules/@allyhub/diagnostics/package.json +14 -0
  38. package/dist/node_modules/@allyhub/formats/dist/contributed.d.ts +126 -0
  39. package/dist/node_modules/@allyhub/formats/dist/contributed.js +2 -0
  40. package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +38 -0
  41. package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +585 -0
  42. package/dist/node_modules/@allyhub/formats/dist/data/reference.js +2 -0
  43. package/dist/node_modules/@allyhub/formats/dist/data/script.d.ts +67 -0
  44. package/dist/node_modules/@allyhub/formats/dist/data/script.js +2 -0
  45. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +5076 -0
  46. package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +2 -0
  47. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +2608 -0
  48. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +2 -0
  49. package/dist/node_modules/@allyhub/formats/dist/data/website.d.ts +21 -0
  50. package/dist/node_modules/@allyhub/formats/dist/data/website.js +2 -0
  51. package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
  52. package/dist/node_modules/@allyhub/formats/dist/data/work.js +2 -0
  53. package/dist/node_modules/@allyhub/formats/dist/extension.d.ts +91 -0
  54. package/dist/node_modules/@allyhub/formats/dist/extension.js +2 -0
  55. package/dist/node_modules/@allyhub/formats/dist/files.d.ts +51 -0
  56. package/dist/node_modules/@allyhub/formats/dist/files.js +2 -0
  57. package/dist/node_modules/@allyhub/formats/dist/index.d.ts +27 -0
  58. package/dist/node_modules/@allyhub/formats/dist/index.js +2 -0
  59. package/dist/node_modules/@allyhub/formats/dist/items.d.ts +256 -0
  60. package/dist/node_modules/@allyhub/formats/dist/items.js +2 -0
  61. package/dist/node_modules/@allyhub/formats/dist/layout.d.ts +62 -0
  62. package/dist/node_modules/@allyhub/formats/dist/layout.js +5 -0
  63. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +2745 -0
  64. package/dist/node_modules/@allyhub/formats/dist/schemas.js +2 -0
  65. package/dist/node_modules/@allyhub/formats/package.json +15 -0
  66. package/dist/node_modules/@allyhub/image-draw/dist/context.d.ts +5 -0
  67. package/dist/node_modules/@allyhub/image-draw/dist/context.js +2 -0
  68. package/dist/node_modules/@allyhub/image-draw/dist/contrast.d.ts +13 -0
  69. package/dist/node_modules/@allyhub/image-draw/dist/contrast.js +2 -0
  70. package/dist/node_modules/@allyhub/image-draw/dist/env.d.ts +112 -0
  71. package/dist/node_modules/@allyhub/image-draw/dist/env.js +2 -0
  72. package/dist/node_modules/@allyhub/image-draw/dist/errors.d.ts +20 -0
  73. package/dist/node_modules/@allyhub/image-draw/dist/errors.js +2 -0
  74. package/dist/node_modules/@allyhub/image-draw/dist/fonts.d.ts +110 -0
  75. package/dist/node_modules/@allyhub/image-draw/dist/fonts.js +2 -0
  76. package/dist/node_modules/@allyhub/image-draw/dist/guards.d.ts +32 -0
  77. package/dist/node_modules/@allyhub/image-draw/dist/guards.js +2 -0
  78. package/dist/node_modules/@allyhub/image-draw/dist/hash.d.ts +3 -0
  79. package/dist/node_modules/@allyhub/image-draw/dist/hash.js +2 -0
  80. package/dist/node_modules/@allyhub/image-draw/dist/inspect.d.ts +113 -0
  81. package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +3 -0
  82. package/dist/node_modules/@allyhub/image-draw/dist/layer-style.d.ts +151 -0
  83. package/dist/node_modules/@allyhub/image-draw/dist/layer-style.js +2 -0
  84. package/dist/node_modules/@allyhub/image-draw/dist/paint.d.ts +29 -0
  85. package/dist/node_modules/@allyhub/image-draw/dist/paint.js +2 -0
  86. package/dist/node_modules/@allyhub/image-draw/dist/pictures.d.ts +39 -0
  87. package/dist/node_modules/@allyhub/image-draw/dist/pictures.js +2 -0
  88. package/dist/node_modules/@allyhub/image-draw/dist/plan.d.ts +52 -0
  89. package/dist/node_modules/@allyhub/image-draw/dist/plan.js +2 -0
  90. package/dist/node_modules/@allyhub/image-draw/dist/reads.d.ts +145 -0
  91. package/dist/node_modules/@allyhub/image-draw/dist/reads.js +2 -0
  92. package/dist/node_modules/@allyhub/image-draw/dist/shape-path.d.ts +26 -0
  93. package/dist/node_modules/@allyhub/image-draw/dist/shape-path.js +2 -0
  94. package/dist/node_modules/@allyhub/image-draw/dist/stage.d.ts +56 -0
  95. package/dist/node_modules/@allyhub/image-draw/dist/stage.js +2 -0
  96. package/dist/node_modules/@allyhub/image-draw/dist/styles.d.ts +35 -0
  97. package/dist/node_modules/@allyhub/image-draw/dist/styles.js +2 -0
  98. package/dist/node_modules/@allyhub/image-draw/dist/tone.d.ts +53 -0
  99. package/dist/node_modules/@allyhub/image-draw/dist/tone.js +2 -0
  100. package/dist/node_modules/@allyhub/image-draw/package.json +14 -0
  101. package/dist/node_modules/@allyhub/image-measure/dist/contrast.d.ts +43 -0
  102. package/dist/node_modules/@allyhub/image-measure/dist/contrast.js +2 -0
  103. package/dist/node_modules/@allyhub/image-measure/dist/layout.d.ts +186 -0
  104. package/dist/node_modules/@allyhub/image-measure/dist/layout.js +5 -0
  105. package/dist/node_modules/@allyhub/image-measure/package.json +14 -0
  106. package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.d.ts +13 -0
  107. package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.js +2 -0
  108. package/dist/node_modules/@allyhub/image-sdk/dist/define.d.ts +119 -0
  109. package/dist/node_modules/@allyhub/image-sdk/dist/define.js +2 -0
  110. package/dist/node_modules/@allyhub/image-sdk/dist/dom.d.ts +210 -0
  111. package/dist/node_modules/@allyhub/image-sdk/dist/dom.js +2 -0
  112. package/dist/node_modules/@allyhub/image-sdk/dist/fill.d.ts +21 -0
  113. package/dist/node_modules/@allyhub/image-sdk/dist/fill.js +2 -0
  114. package/dist/node_modules/@allyhub/image-sdk/dist/group.d.ts +17 -0
  115. package/dist/node_modules/@allyhub/image-sdk/dist/group.js +2 -0
  116. package/dist/node_modules/@allyhub/image-sdk/dist/index.d.ts +166 -0
  117. package/dist/node_modules/@allyhub/image-sdk/dist/index.js +2 -0
  118. package/dist/node_modules/@allyhub/image-sdk/dist/media.d.ts +6 -0
  119. package/dist/node_modules/@allyhub/image-sdk/dist/media.js +2 -0
  120. package/dist/node_modules/@allyhub/image-sdk/dist/messages.d.ts +40 -0
  121. package/dist/node_modules/@allyhub/image-sdk/dist/picture.d.ts +59 -0
  122. package/dist/node_modules/@allyhub/image-sdk/dist/picture.js +2 -0
  123. package/dist/node_modules/@allyhub/image-sdk/dist/props.d.ts +124 -0
  124. package/dist/node_modules/@allyhub/image-sdk/dist/shape.d.ts +34 -0
  125. package/dist/node_modules/@allyhub/image-sdk/dist/shape.js +2 -0
  126. package/dist/node_modules/@allyhub/image-sdk/dist/stack.d.ts +16 -0
  127. package/dist/node_modules/@allyhub/image-sdk/dist/stack.js +2 -0
  128. package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.d.ts +38 -0
  129. package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.js +2 -0
  130. package/dist/node_modules/@allyhub/image-sdk/dist/written.js +2 -0
  131. package/dist/node_modules/@allyhub/image-sdk/package.json +19 -0
  132. package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +195 -0
  133. package/dist/node_modules/@allyhub/measure/dist/compare.js +2 -0
  134. package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +8 -0
  135. package/dist/node_modules/@allyhub/measure/dist/grain.js +2 -0
  136. package/dist/node_modules/@allyhub/measure/dist/image.d.ts +16 -0
  137. package/dist/node_modules/@allyhub/measure/dist/image.js +2 -0
  138. package/dist/node_modules/@allyhub/measure/dist/index.d.ts +4 -0
  139. package/dist/node_modules/@allyhub/measure/dist/index.js +2 -0
  140. package/dist/node_modules/@allyhub/measure/package.json +13 -0
  141. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.d.ts +31 -0
  142. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.js +2 -0
  143. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.d.ts +71 -0
  144. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +2 -0
  145. package/dist/node_modules/@allyhub/ooxml/package.json +26 -0
  146. package/dist/node_modules/@allyhub/piece/dist/anchors.d.ts +156 -0
  147. package/dist/node_modules/@allyhub/piece/dist/component.d.ts +70 -0
  148. package/dist/node_modules/@allyhub/piece/dist/component.js +2 -0
  149. package/dist/node_modules/@allyhub/piece/dist/context.d.ts +39 -0
  150. package/dist/node_modules/@allyhub/piece/dist/contrast.d.ts +98 -0
  151. package/dist/node_modules/@allyhub/piece/dist/export.d.ts +114 -0
  152. package/dist/node_modules/@allyhub/piece/dist/export.js +2 -0
  153. package/dist/node_modules/@allyhub/piece/dist/formats.d.ts +149 -0
  154. package/dist/node_modules/@allyhub/piece/dist/formats.js +2 -0
  155. package/dist/node_modules/@allyhub/piece/dist/gen.d.ts +104 -0
  156. package/dist/node_modules/@allyhub/piece/dist/gen.js +2 -0
  157. package/dist/node_modules/@allyhub/piece/dist/index.d.ts +26 -0
  158. package/dist/node_modules/@allyhub/piece/dist/index.js +2 -0
  159. package/dist/node_modules/@allyhub/piece/dist/layer-style.d.ts +1558 -0
  160. package/dist/node_modules/@allyhub/piece/dist/layer-style.js +2 -0
  161. package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +389 -0
  162. package/dist/node_modules/@allyhub/piece/dist/layer.js +2 -0
  163. package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +421 -0
  164. package/dist/node_modules/@allyhub/piece/dist/layout.js +2 -0
  165. package/dist/node_modules/@allyhub/piece/dist/look.d.ts +66 -0
  166. package/dist/node_modules/@allyhub/piece/dist/media.d.ts +256 -0
  167. package/dist/node_modules/@allyhub/piece/dist/media.js +2 -0
  168. package/dist/node_modules/@allyhub/piece/dist/messages.d.ts +94 -0
  169. package/dist/node_modules/@allyhub/piece/dist/names.d.ts +26 -0
  170. package/dist/node_modules/@allyhub/piece/dist/names.js +2 -0
  171. package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +21 -0
  172. package/dist/node_modules/@allyhub/piece/dist/page/console.js +2 -0
  173. package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +3 -0
  174. package/dist/node_modules/@allyhub/piece/dist/page/index.js +2 -0
  175. package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +4 -0
  176. package/dist/node_modules/@allyhub/piece/dist/page/locate.js +2 -0
  177. package/dist/node_modules/@allyhub/piece/dist/picture.d.ts +62 -0
  178. package/dist/node_modules/@allyhub/piece/dist/picture.js +2 -0
  179. package/dist/node_modules/@allyhub/piece/dist/piece.d.ts +15 -0
  180. package/dist/node_modules/@allyhub/piece/dist/piece.js +2 -0
  181. package/dist/node_modules/@allyhub/piece/dist/script.d.ts +81 -0
  182. package/dist/node_modules/@allyhub/piece/dist/script.js +2 -0
  183. package/dist/node_modules/@allyhub/piece/dist/source.d.ts +131 -0
  184. package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +285 -0
  185. package/dist/node_modules/@allyhub/piece/dist/stage.js +2 -0
  186. package/dist/node_modules/@allyhub/piece/dist/version.d.ts +15 -0
  187. package/dist/node_modules/@allyhub/piece/dist/version.js +2 -0
  188. package/dist/node_modules/@allyhub/piece/dist/voice.d.ts +156 -0
  189. package/dist/node_modules/@allyhub/piece/package.json +18 -0
  190. package/dist/node_modules/@allyhub/protocol/LICENSE +241 -0
  191. package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +478 -0
  192. package/dist/node_modules/@allyhub/protocol/dist/account.js +2 -0
  193. package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +30 -0
  194. package/dist/node_modules/@allyhub/protocol/dist/app.js +2 -0
  195. package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +119 -0
  196. package/dist/node_modules/@allyhub/protocol/dist/auth.js +2 -0
  197. package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +66 -0
  198. package/dist/node_modules/@allyhub/protocol/dist/cli.js +2 -0
  199. package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +327 -0
  200. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +2 -0
  201. package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +651 -0
  202. package/dist/node_modules/@allyhub/protocol/dist/editor.js +2 -0
  203. package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +103 -0
  204. package/dist/node_modules/@allyhub/protocol/dist/files.js +2 -0
  205. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +303 -0
  206. package/dist/node_modules/@allyhub/protocol/dist/frame.js +2 -0
  207. package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +8 -0
  208. package/dist/node_modules/@allyhub/protocol/dist/image.js +2 -0
  209. package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +28 -0
  210. package/dist/node_modules/@allyhub/protocol/dist/index.js +2 -0
  211. package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +91 -0
  212. package/dist/node_modules/@allyhub/protocol/dist/jobs.js +2 -0
  213. package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +98 -0
  214. package/dist/node_modules/@allyhub/protocol/dist/kinds.js +2 -0
  215. package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +273 -0
  216. package/dist/node_modules/@allyhub/protocol/dist/mail.js +2 -0
  217. package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +213 -0
  218. package/dist/node_modules/@allyhub/protocol/dist/notes.js +2 -0
  219. package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +59 -0
  220. package/dist/node_modules/@allyhub/protocol/dist/peer.js +2 -0
  221. package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +21 -0
  222. package/dist/node_modules/@allyhub/protocol/dist/place.js +2 -0
  223. package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +125 -0
  224. package/dist/node_modules/@allyhub/protocol/dist/presence.js +2 -0
  225. package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +191 -0
  226. package/dist/node_modules/@allyhub/protocol/dist/registry.js +2 -0
  227. package/dist/node_modules/@allyhub/protocol/dist/routes.js +2 -0
  228. package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +35 -0
  229. package/dist/node_modules/@allyhub/protocol/dist/shape.js +2 -0
  230. package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +109 -0
  231. package/dist/node_modules/@allyhub/protocol/dist/shares.js +2 -0
  232. package/dist/node_modules/@allyhub/protocol/dist/sites.d.ts +297 -0
  233. package/dist/node_modules/@allyhub/protocol/dist/sites.js +2 -0
  234. package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +447 -0
  235. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +2 -0
  236. package/dist/node_modules/@allyhub/protocol/dist/sources.d.ts +14 -0
  237. package/dist/node_modules/@allyhub/protocol/dist/sources.js +2 -0
  238. package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +195 -0
  239. package/dist/node_modules/@allyhub/protocol/dist/teams.js +2 -0
  240. package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +524 -0
  241. package/dist/node_modules/@allyhub/protocol/dist/tools.js +2 -0
  242. package/dist/node_modules/@allyhub/protocol/package.json +14 -0
  243. package/dist/node_modules/@allyhub/runtimes/LICENSE +241 -0
  244. package/dist/node_modules/@allyhub/runtimes/dist/bundled.d.ts +10 -0
  245. package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +2 -0
  246. package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +14 -0
  247. package/dist/node_modules/@allyhub/runtimes/dist/declared.js +2 -0
  248. package/dist/node_modules/@allyhub/runtimes/dist/download.d.ts +38 -0
  249. package/dist/node_modules/@allyhub/runtimes/dist/download.js +2 -0
  250. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +15 -0
  251. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.js +2 -0
  252. package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +12 -0
  253. package/dist/node_modules/@allyhub/runtimes/dist/index.js +2 -0
  254. package/dist/node_modules/@allyhub/runtimes/dist/manifest.d.ts +3 -0
  255. package/dist/node_modules/@allyhub/runtimes/dist/manifest.js +2 -0
  256. package/dist/node_modules/@allyhub/runtimes/dist/node-program.d.ts +12 -0
  257. package/dist/node_modules/@allyhub/runtimes/dist/node-program.js +2 -0
  258. package/dist/node_modules/@allyhub/runtimes/dist/packages.d.ts +84 -0
  259. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +4 -0
  260. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +73 -0
  261. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +4 -0
  262. package/dist/node_modules/@allyhub/runtimes/manifest.json +387 -0
  263. package/dist/node_modules/@allyhub/runtimes/package.json +18 -0
  264. package/dist/node_modules/@allyhub/runtimes/pins/pdfjs-dist/package-lock.json +275 -0
  265. package/dist/node_modules/@allyhub/runtimes/pins/pdfjs-dist/package.json +11 -0
  266. package/dist/node_modules/@allyhub/scenery/LICENSE +241 -0
  267. package/dist/node_modules/@allyhub/scenery/dist/define.d.ts +166 -0
  268. package/dist/node_modules/@allyhub/scenery/dist/define.js +2 -0
  269. package/dist/node_modules/@allyhub/scenery/package.json +13 -0
  270. package/dist/node_modules/@allyhub/sheet/LICENSE +241 -0
  271. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +2 -0
  272. package/dist/node_modules/@allyhub/sheet/dist/api/charts.d.ts +204 -0
  273. package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +2 -0
  274. package/dist/node_modules/@allyhub/sheet/dist/api/code.d.ts +19 -0
  275. package/dist/node_modules/@allyhub/sheet/dist/api/code.js +2 -0
  276. package/dist/node_modules/@allyhub/sheet/dist/api/page.d.ts +83 -0
  277. package/dist/node_modules/@allyhub/sheet/dist/api/page.js +2 -0
  278. package/dist/node_modules/@allyhub/sheet/dist/api/rules.d.ts +170 -0
  279. package/dist/node_modules/@allyhub/sheet/dist/api/rules.js +2 -0
  280. package/dist/node_modules/@allyhub/sheet/dist/api/styles.d.ts +117 -0
  281. package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +2 -0
  282. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.d.ts +366 -0
  283. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +2 -0
  284. package/dist/node_modules/@allyhub/sheet/dist/arrange.d.ts +68 -0
  285. package/dist/node_modules/@allyhub/sheet/dist/calc/server.d.ts +82 -0
  286. package/dist/node_modules/@allyhub/sheet/dist/chart.d.ts +52 -0
  287. package/dist/node_modules/@allyhub/sheet/dist/chart.js +2 -0
  288. package/dist/node_modules/@allyhub/sheet/dist/diff.js +2 -0
  289. package/dist/node_modules/@allyhub/sheet/dist/edit.d.ts +154 -0
  290. package/dist/node_modules/@allyhub/sheet/dist/export.js +5 -0
  291. package/dist/node_modules/@allyhub/sheet/dist/file.d.ts +24 -0
  292. package/dist/node_modules/@allyhub/sheet/dist/file.js +3 -0
  293. package/dist/node_modules/@allyhub/sheet/dist/files.d.ts +24 -0
  294. package/dist/node_modules/@allyhub/sheet/dist/files.js +2 -0
  295. package/dist/node_modules/@allyhub/sheet/dist/generated.d.ts +32 -0
  296. package/dist/node_modules/@allyhub/sheet/dist/generated.js +2 -0
  297. package/dist/node_modules/@allyhub/sheet/dist/import.d.ts +13 -0
  298. package/dist/node_modules/@allyhub/sheet/dist/import.js +2 -0
  299. package/dist/node_modules/@allyhub/sheet/dist/index.d.ts +41 -0
  300. package/dist/node_modules/@allyhub/sheet/dist/index.js +2 -0
  301. package/dist/node_modules/@allyhub/sheet/dist/inspect.d.ts +100 -0
  302. package/dist/node_modules/@allyhub/sheet/dist/paginate.d.ts +98 -0
  303. package/dist/node_modules/@allyhub/sheet/dist/patch.d.ts +4 -0
  304. package/dist/node_modules/@allyhub/sheet/dist/patch.js +2 -0
  305. package/dist/node_modules/@allyhub/sheet/dist/sdk.d.ts +2 -0
  306. package/dist/node_modules/@allyhub/sheet/dist/sdk.js +2 -0
  307. package/dist/node_modules/@allyhub/sheet/dist/structure.d.ts +38 -0
  308. package/dist/node_modules/@allyhub/sheet/dist/table-style.d.ts +32 -0
  309. package/dist/node_modules/@allyhub/sheet/dist/validate.d.ts +26 -0
  310. package/dist/node_modules/@allyhub/sheet/dist/validate.js +2 -0
  311. package/dist/node_modules/@allyhub/sheet/dist/workbook.d.ts +324 -0
  312. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +2 -0
  313. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.d.ts +53 -0
  314. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +2 -0
  315. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.d.ts +51 -0
  316. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +2 -0
  317. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.d.ts +159 -0
  318. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +3 -0
  319. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +2 -0
  320. package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.d.ts +40 -0
  321. package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.js +2 -0
  322. package/dist/node_modules/@allyhub/sheet/package.json +25 -0
  323. package/dist/node_modules/@allyhub/slides-core/LICENSE +241 -0
  324. package/dist/node_modules/@allyhub/slides-core/dist/animation.d.ts +145 -0
  325. package/dist/node_modules/@allyhub/slides-core/dist/animation.js +2 -0
  326. package/dist/node_modules/@allyhub/slides-core/dist/api.d.ts +770 -0
  327. package/dist/node_modules/@allyhub/slides-core/dist/api.js +4 -0
  328. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +2 -0
  329. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.d.ts +219 -0
  330. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +2 -0
  331. package/dist/node_modules/@allyhub/slides-core/dist/code.d.ts +33 -0
  332. package/dist/node_modules/@allyhub/slides-core/dist/code.js +2 -0
  333. package/dist/node_modules/@allyhub/slides-core/dist/connect.d.ts +62 -0
  334. package/dist/node_modules/@allyhub/slides-core/dist/connect.js +2 -0
  335. package/dist/node_modules/@allyhub/slides-core/dist/fact.d.ts +208 -0
  336. package/dist/node_modules/@allyhub/slides-core/dist/fact.js +2 -0
  337. package/dist/node_modules/@allyhub/slides-core/dist/file.d.ts +131 -0
  338. package/dist/node_modules/@allyhub/slides-core/dist/file.js +4 -0
  339. package/dist/node_modules/@allyhub/slides-core/dist/index.d.ts +27 -0
  340. package/dist/node_modules/@allyhub/slides-core/dist/index.js +2 -0
  341. package/dist/node_modules/@allyhub/slides-core/dist/measure.d.ts +36 -0
  342. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +2 -0
  343. package/dist/node_modules/@allyhub/slides-core/dist/merge.d.ts +58 -0
  344. package/dist/node_modules/@allyhub/slides-core/dist/merge.js +2 -0
  345. package/dist/node_modules/@allyhub/slides-core/dist/model.d.ts +310 -0
  346. package/dist/node_modules/@allyhub/slides-core/dist/office.d.ts +84 -0
  347. package/dist/node_modules/@allyhub/slides-core/dist/path.d.ts +6 -0
  348. package/dist/node_modules/@allyhub/slides-core/dist/resolve.d.ts +209 -0
  349. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +2 -0
  350. package/dist/node_modules/@allyhub/slides-core/dist/script.d.ts +45 -0
  351. package/dist/node_modules/@allyhub/slides-core/dist/script.js +3 -0
  352. package/dist/node_modules/@allyhub/slides-core/dist/sdk.d.ts +18 -0
  353. package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +2 -0
  354. package/dist/node_modules/@allyhub/slides-core/dist/stage.d.ts +78 -0
  355. package/dist/node_modules/@allyhub/slides-core/dist/strict.d.ts +7 -0
  356. package/dist/node_modules/@allyhub/slides-core/dist/strict.js +2 -0
  357. package/dist/node_modules/@allyhub/slides-core/dist/theme.d.ts +72 -0
  358. package/dist/node_modules/@allyhub/slides-core/dist/units.d.ts +59 -0
  359. package/dist/node_modules/@allyhub/slides-core/dist/units.js +2 -0
  360. package/dist/node_modules/@allyhub/slides-core/package.json +18 -0
  361. package/dist/node_modules/@allyhub/video-core/LICENSE +241 -0
  362. package/dist/node_modules/@allyhub/video-core/dist/audio-types.d.ts +147 -0
  363. package/dist/node_modules/@allyhub/video-core/dist/captions.d.ts +113 -0
  364. package/dist/node_modules/@allyhub/video-core/dist/captions.js +11 -0
  365. package/dist/node_modules/@allyhub/video-core/dist/check.d.ts +62 -0
  366. package/dist/node_modules/@allyhub/video-core/dist/check.js +2 -0
  367. package/dist/node_modules/@allyhub/video-core/dist/cut-report.d.ts +77 -0
  368. package/dist/node_modules/@allyhub/video-core/dist/cut-report.js +2 -0
  369. package/dist/node_modules/@allyhub/video-core/dist/edits.d.ts +163 -0
  370. package/dist/node_modules/@allyhub/video-core/dist/edits.js +2 -0
  371. package/dist/node_modules/@allyhub/video-core/dist/fact.d.ts +438 -0
  372. package/dist/node_modules/@allyhub/video-core/dist/fact.js +2 -0
  373. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.d.ts +169 -0
  374. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +2 -0
  375. package/dist/node_modules/@allyhub/video-core/dist/index.d.ts +27 -0
  376. package/dist/node_modules/@allyhub/video-core/dist/index.js +2 -0
  377. package/dist/node_modules/@allyhub/video-core/dist/measure.d.ts +212 -0
  378. package/dist/node_modules/@allyhub/video-core/dist/measure.js +2 -0
  379. package/dist/node_modules/@allyhub/video-core/dist/mix-plan.d.ts +44 -0
  380. package/dist/node_modules/@allyhub/video-core/dist/mix-plan.js +2 -0
  381. package/dist/node_modules/@allyhub/video-core/dist/motion.d.ts +56 -0
  382. package/dist/node_modules/@allyhub/video-core/dist/piece.d.ts +746 -0
  383. package/dist/node_modules/@allyhub/video-core/dist/piece.js +2 -0
  384. package/dist/node_modules/@allyhub/video-core/dist/placement.d.ts +37 -0
  385. package/dist/node_modules/@allyhub/video-core/dist/render-types.js +2 -0
  386. package/dist/node_modules/@allyhub/video-core/dist/schema.d.ts +344 -0
  387. package/dist/node_modules/@allyhub/video-core/dist/schema.js +2 -0
  388. package/dist/node_modules/@allyhub/video-core/dist/script-edit.d.ts +185 -0
  389. package/dist/node_modules/@allyhub/video-core/dist/script-edit.js +2 -0
  390. package/dist/node_modules/@allyhub/video-core/dist/seams.d.ts +213 -0
  391. package/dist/node_modules/@allyhub/video-core/dist/sound-under.d.ts +72 -0
  392. package/dist/node_modules/@allyhub/video-core/dist/sound-under.js +2 -0
  393. package/dist/node_modules/@allyhub/video-core/dist/speech.d.ts +81 -0
  394. package/dist/node_modules/@allyhub/video-core/dist/speech.js +5 -0
  395. package/dist/node_modules/@allyhub/video-core/dist/stage.d.ts +52 -0
  396. package/dist/node_modules/@allyhub/video-core/dist/stage.js +2 -0
  397. package/dist/node_modules/@allyhub/video-core/dist/timeline.d.ts +513 -0
  398. package/dist/node_modules/@allyhub/video-core/dist/timeline.js +2 -0
  399. package/dist/node_modules/@allyhub/video-core/dist/timing.d.ts +88 -0
  400. package/dist/node_modules/@allyhub/video-core/dist/timing.js +2 -0
  401. package/dist/node_modules/@allyhub/video-core/dist/transcript.d.ts +288 -0
  402. package/dist/node_modules/@allyhub/video-core/dist/transcript.js +2 -0
  403. package/dist/node_modules/@allyhub/video-core/dist/transition.d.ts +300 -0
  404. package/dist/node_modules/@allyhub/video-core/dist/transition.js +2 -0
  405. package/dist/node_modules/@allyhub/video-core/package.json +14 -0
  406. package/dist/node_modules/@allyhub/video-sdk/LICENSE +241 -0
  407. package/dist/node_modules/@allyhub/video-sdk/NOTICE +118 -0
  408. package/dist/node_modules/@allyhub/video-sdk/dist/free.d.ts +22 -0
  409. package/dist/node_modules/@allyhub/video-sdk/dist/free.js +2 -0
  410. package/dist/node_modules/@allyhub/video-sdk/dist/index.d.ts +28 -0
  411. package/dist/node_modules/@allyhub/video-sdk/dist/index.js +2 -0
  412. package/dist/node_modules/@allyhub/video-sdk/dist/input.d.ts +360 -0
  413. package/dist/node_modules/@allyhub/video-sdk/dist/input.js +2 -0
  414. package/dist/node_modules/@allyhub/video-sdk/dist/module.d.ts +25 -0
  415. package/dist/node_modules/@allyhub/video-sdk/dist/module.js +2 -0
  416. package/dist/node_modules/@allyhub/video-sdk/dist/parts.d.ts +225 -0
  417. package/dist/node_modules/@allyhub/video-sdk/dist/parts.js +2 -0
  418. package/dist/node_modules/@allyhub/video-sdk/dist/phone.d.ts +26 -0
  419. package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +2 -0
  420. package/dist/node_modules/@allyhub/video-sdk/dist/piece.d.ts +120 -0
  421. package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +2 -0
  422. package/dist/node_modules/@allyhub/video-sdk/dist/route.d.ts +46 -0
  423. package/dist/node_modules/@allyhub/video-sdk/dist/route.js +2 -0
  424. package/dist/node_modules/@allyhub/video-sdk/dist/scenery.d.ts +2 -0
  425. package/dist/node_modules/@allyhub/video-sdk/dist/scenery.js +2 -0
  426. package/dist/node_modules/@allyhub/video-sdk/package.json +19 -0
  427. package/dist/scenery.d.ts +1 -1
  428. package/dist/scenery.js +1 -1
  429. package/dist/sheets.d.ts +1 -1
  430. package/dist/sheets.js +1 -1
  431. package/dist/slides.d.ts +1 -9
  432. package/dist/slides.js +1 -1
  433. package/docs/README.md +9 -7
  434. package/docs/batches.md +5 -5
  435. package/docs/contract.md +2 -2
  436. package/docs/defaults.md +330 -19
  437. package/docs/docs.md +209 -48
  438. package/docs/footage.md +7 -7
  439. package/docs/image.md +165 -0
  440. package/docs/layers.md +48 -13
  441. package/docs/modeling.md +9 -9
  442. package/docs/pictures.md +65 -0
  443. package/docs/project.md +53 -33
  444. package/docs/scenery.md +15 -15
  445. package/docs/sheets.md +27 -26
  446. package/docs/slides.md +74 -66
  447. package/docs/sound.md +3 -3
  448. package/docs/speech.md +8 -8
  449. package/docs/video.md +16 -13
  450. package/docs/websites.md +7 -7
  451. package/package.json +9 -3
  452. package/dist/define.d.ts +0 -85
  453. package/dist/define.js +0 -2
  454. package/dist/free.d.ts +0 -18
  455. package/dist/free.js +0 -2
  456. package/dist/input.d.ts +0 -306
  457. package/dist/input.js +0 -2
  458. package/dist/messages.d.ts +0 -40
  459. package/dist/module.d.ts +0 -23
  460. package/dist/module.js +0 -2
  461. package/dist/node_modules/@allyhub-next/audio/dist/levels.d.ts +0 -97
  462. package/dist/node_modules/@allyhub-next/audio/dist/levels.js +0 -2
  463. package/dist/node_modules/@allyhub-next/audio/dist/node/ffmpeg.d.ts +0 -31
  464. package/dist/node_modules/@allyhub-next/audio/dist/node/ffmpeg.js +0 -2
  465. package/dist/node_modules/@allyhub-next/audio/package.json +0 -17
  466. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.d.ts +0 -31
  467. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +0 -3
  468. package/dist/node_modules/@allyhub-next/chart/dist/chart.d.ts +0 -204
  469. package/dist/node_modules/@allyhub-next/chart/dist/chart.js +0 -2
  470. package/dist/node_modules/@allyhub-next/chart/dist/index.d.ts +0 -3
  471. package/dist/node_modules/@allyhub-next/chart/dist/index.js +0 -2
  472. package/dist/node_modules/@allyhub-next/chart/package.json +0 -14
  473. package/dist/node_modules/@allyhub-next/formats/dist/data/comments.d.ts +0 -94
  474. package/dist/node_modules/@allyhub-next/formats/dist/data/comments.js +0 -2
  475. package/dist/node_modules/@allyhub-next/formats/dist/data/faces.d.ts +0 -38
  476. package/dist/node_modules/@allyhub-next/formats/dist/data/reference.d.ts +0 -590
  477. package/dist/node_modules/@allyhub-next/formats/dist/data/reference.js +0 -2
  478. package/dist/node_modules/@allyhub-next/formats/dist/data/script.d.ts +0 -62
  479. package/dist/node_modules/@allyhub-next/formats/dist/data/script.js +0 -2
  480. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +0 -5138
  481. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.js +0 -2
  482. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.d.ts +0 -2520
  483. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +0 -2
  484. package/dist/node_modules/@allyhub-next/formats/dist/data/website.d.ts +0 -20
  485. package/dist/node_modules/@allyhub-next/formats/dist/data/website.js +0 -2
  486. package/dist/node_modules/@allyhub-next/formats/dist/index.d.ts +0 -23
  487. package/dist/node_modules/@allyhub-next/formats/dist/index.js +0 -2
  488. package/dist/node_modules/@allyhub-next/formats/dist/items.d.ts +0 -120
  489. package/dist/node_modules/@allyhub-next/formats/dist/items.js +0 -2
  490. package/dist/node_modules/@allyhub-next/formats/dist/layout.d.ts +0 -56
  491. package/dist/node_modules/@allyhub-next/formats/dist/layout.js +0 -5
  492. package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +0 -2741
  493. package/dist/node_modules/@allyhub-next/formats/dist/schemas.js +0 -2
  494. package/dist/node_modules/@allyhub-next/formats/package.json +0 -15
  495. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.d.ts +0 -28
  496. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.js +0 -2
  497. package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.d.ts +0 -57
  498. package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.js +0 -2
  499. package/dist/node_modules/@allyhub-next/ooxml/package.json +0 -26
  500. package/dist/node_modules/@allyhub-next/protocol/dist/account.d.ts +0 -338
  501. package/dist/node_modules/@allyhub-next/protocol/dist/account.js +0 -2
  502. package/dist/node_modules/@allyhub-next/protocol/dist/app.d.ts +0 -37
  503. package/dist/node_modules/@allyhub-next/protocol/dist/app.js +0 -2
  504. package/dist/node_modules/@allyhub-next/protocol/dist/auth.d.ts +0 -115
  505. package/dist/node_modules/@allyhub-next/protocol/dist/auth.js +0 -2
  506. package/dist/node_modules/@allyhub-next/protocol/dist/cli.d.ts +0 -55
  507. package/dist/node_modules/@allyhub-next/protocol/dist/cli.js +0 -2
  508. package/dist/node_modules/@allyhub-next/protocol/dist/cloud.d.ts +0 -324
  509. package/dist/node_modules/@allyhub-next/protocol/dist/cloud.js +0 -2
  510. package/dist/node_modules/@allyhub-next/protocol/dist/editor.d.ts +0 -486
  511. package/dist/node_modules/@allyhub-next/protocol/dist/editor.js +0 -2
  512. package/dist/node_modules/@allyhub-next/protocol/dist/files.d.ts +0 -101
  513. package/dist/node_modules/@allyhub-next/protocol/dist/files.js +0 -2
  514. package/dist/node_modules/@allyhub-next/protocol/dist/index.d.ts +0 -20
  515. package/dist/node_modules/@allyhub-next/protocol/dist/index.js +0 -2
  516. package/dist/node_modules/@allyhub-next/protocol/dist/notes.d.ts +0 -188
  517. package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +0 -2
  518. package/dist/node_modules/@allyhub-next/protocol/dist/registry.d.ts +0 -185
  519. package/dist/node_modules/@allyhub-next/protocol/dist/registry.js +0 -2
  520. package/dist/node_modules/@allyhub-next/protocol/dist/routes.js +0 -2
  521. package/dist/node_modules/@allyhub-next/protocol/dist/shares.d.ts +0 -115
  522. package/dist/node_modules/@allyhub-next/protocol/dist/shares.js +0 -2
  523. package/dist/node_modules/@allyhub-next/protocol/dist/sites.d.ts +0 -293
  524. package/dist/node_modules/@allyhub-next/protocol/dist/sites.js +0 -2
  525. package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.d.ts +0 -396
  526. package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.js +0 -2
  527. package/dist/node_modules/@allyhub-next/protocol/dist/teams.d.ts +0 -79
  528. package/dist/node_modules/@allyhub-next/protocol/dist/teams.js +0 -2
  529. package/dist/node_modules/@allyhub-next/protocol/dist/tools.d.ts +0 -428
  530. package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +0 -2
  531. package/dist/node_modules/@allyhub-next/protocol/package.json +0 -14
  532. package/dist/node_modules/@allyhub-next/runtimes/dist/bundled.d.ts +0 -10
  533. package/dist/node_modules/@allyhub-next/runtimes/dist/bundled.js +0 -2
  534. package/dist/node_modules/@allyhub-next/runtimes/dist/download.d.ts +0 -33
  535. package/dist/node_modules/@allyhub-next/runtimes/dist/download.js +0 -2
  536. package/dist/node_modules/@allyhub-next/runtimes/dist/index.d.ts +0 -10
  537. package/dist/node_modules/@allyhub-next/runtimes/dist/index.js +0 -2
  538. package/dist/node_modules/@allyhub-next/runtimes/dist/manifest.d.ts +0 -3
  539. package/dist/node_modules/@allyhub-next/runtimes/dist/manifest.js +0 -2
  540. package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.d.ts +0 -3
  541. package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.js +0 -2
  542. package/dist/node_modules/@allyhub-next/runtimes/dist/packages.d.ts +0 -82
  543. package/dist/node_modules/@allyhub-next/runtimes/dist/packages.js +0 -4
  544. package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.d.ts +0 -72
  545. package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.js +0 -4
  546. package/dist/node_modules/@allyhub-next/runtimes/manifest.json +0 -469
  547. package/dist/node_modules/@allyhub-next/runtimes/package.json +0 -18
  548. package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package-lock.json +0 -227
  549. package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package.json +0 -8
  550. package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -105
  551. package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package.json +0 -8
  552. package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package-lock.json +0 -128
  553. package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package.json +0 -9
  554. package/dist/node_modules/@allyhub-next/scenery/dist/define.d.ts +0 -164
  555. package/dist/node_modules/@allyhub-next/scenery/dist/define.js +0 -2
  556. package/dist/node_modules/@allyhub-next/scenery/package.json +0 -13
  557. package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +0 -2
  558. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.d.ts +0 -204
  559. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.js +0 -2
  560. package/dist/node_modules/@allyhub-next/sheet/dist/api/code.d.ts +0 -19
  561. package/dist/node_modules/@allyhub-next/sheet/dist/api/code.js +0 -2
  562. package/dist/node_modules/@allyhub-next/sheet/dist/api/page.d.ts +0 -83
  563. package/dist/node_modules/@allyhub-next/sheet/dist/api/page.js +0 -2
  564. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.d.ts +0 -170
  565. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.js +0 -2
  566. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.d.ts +0 -117
  567. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.js +0 -2
  568. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.d.ts +0 -362
  569. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +0 -2
  570. package/dist/node_modules/@allyhub-next/sheet/dist/arrange.d.ts +0 -68
  571. package/dist/node_modules/@allyhub-next/sheet/dist/calc/server.d.ts +0 -82
  572. package/dist/node_modules/@allyhub-next/sheet/dist/chart.d.ts +0 -58
  573. package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +0 -2
  574. package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +0 -2
  575. package/dist/node_modules/@allyhub-next/sheet/dist/edit.d.ts +0 -154
  576. package/dist/node_modules/@allyhub-next/sheet/dist/export.js +0 -5
  577. package/dist/node_modules/@allyhub-next/sheet/dist/file.d.ts +0 -19
  578. package/dist/node_modules/@allyhub-next/sheet/dist/file.js +0 -3
  579. package/dist/node_modules/@allyhub-next/sheet/dist/files.d.ts +0 -24
  580. package/dist/node_modules/@allyhub-next/sheet/dist/files.js +0 -2
  581. package/dist/node_modules/@allyhub-next/sheet/dist/generated.d.ts +0 -46
  582. package/dist/node_modules/@allyhub-next/sheet/dist/generated.js +0 -2
  583. package/dist/node_modules/@allyhub-next/sheet/dist/import.d.ts +0 -11
  584. package/dist/node_modules/@allyhub-next/sheet/dist/import.js +0 -2
  585. package/dist/node_modules/@allyhub-next/sheet/dist/index.d.ts +0 -42
  586. package/dist/node_modules/@allyhub-next/sheet/dist/index.js +0 -2
  587. package/dist/node_modules/@allyhub-next/sheet/dist/inspect.d.ts +0 -25
  588. package/dist/node_modules/@allyhub-next/sheet/dist/paginate.d.ts +0 -98
  589. package/dist/node_modules/@allyhub-next/sheet/dist/patch.d.ts +0 -4
  590. package/dist/node_modules/@allyhub-next/sheet/dist/patch.js +0 -2
  591. package/dist/node_modules/@allyhub-next/sheet/dist/structure.d.ts +0 -38
  592. package/dist/node_modules/@allyhub-next/sheet/dist/table-style.d.ts +0 -32
  593. package/dist/node_modules/@allyhub-next/sheet/dist/validate.d.ts +0 -26
  594. package/dist/node_modules/@allyhub-next/sheet/dist/validate.js +0 -2
  595. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +0 -324
  596. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +0 -2
  597. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +0 -53
  598. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +0 -2
  599. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +0 -49
  600. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +0 -2
  601. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +0 -159
  602. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +0 -3
  603. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +0 -2
  604. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.d.ts +0 -40
  605. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.js +0 -2
  606. package/dist/node_modules/@allyhub-next/sheet/package.json +0 -21
  607. package/dist/node_modules/@allyhub-next/slides-core/dist/animation.d.ts +0 -129
  608. package/dist/node_modules/@allyhub-next/slides-core/dist/animation.js +0 -2
  609. package/dist/node_modules/@allyhub-next/slides-core/dist/api.d.ts +0 -726
  610. package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +0 -4
  611. package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.js +0 -2
  612. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.d.ts +0 -202
  613. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +0 -2
  614. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.d.ts +0 -11
  615. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +0 -2
  616. package/dist/node_modules/@allyhub-next/slides-core/dist/code.d.ts +0 -33
  617. package/dist/node_modules/@allyhub-next/slides-core/dist/code.js +0 -2
  618. package/dist/node_modules/@allyhub-next/slides-core/dist/file.d.ts +0 -131
  619. package/dist/node_modules/@allyhub-next/slides-core/dist/file.js +0 -4
  620. package/dist/node_modules/@allyhub-next/slides-core/dist/index.d.ts +0 -26
  621. package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +0 -2
  622. package/dist/node_modules/@allyhub-next/slides-core/dist/measure.d.ts +0 -34
  623. package/dist/node_modules/@allyhub-next/slides-core/dist/measure.js +0 -2
  624. package/dist/node_modules/@allyhub-next/slides-core/dist/merge.d.ts +0 -58
  625. package/dist/node_modules/@allyhub-next/slides-core/dist/merge.js +0 -2
  626. package/dist/node_modules/@allyhub-next/slides-core/dist/model.d.ts +0 -309
  627. package/dist/node_modules/@allyhub-next/slides-core/dist/office.d.ts +0 -84
  628. package/dist/node_modules/@allyhub-next/slides-core/dist/path.d.ts +0 -6
  629. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.d.ts +0 -202
  630. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +0 -2
  631. package/dist/node_modules/@allyhub-next/slides-core/dist/script.d.ts +0 -45
  632. package/dist/node_modules/@allyhub-next/slides-core/dist/script.js +0 -3
  633. package/dist/node_modules/@allyhub-next/slides-core/dist/stage.d.ts +0 -61
  634. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +0 -7
  635. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +0 -2
  636. package/dist/node_modules/@allyhub-next/slides-core/dist/theme.d.ts +0 -72
  637. package/dist/node_modules/@allyhub-next/slides-core/dist/units.d.ts +0 -62
  638. package/dist/node_modules/@allyhub-next/slides-core/dist/units.js +0 -2
  639. package/dist/node_modules/@allyhub-next/slides-core/package.json +0 -14
  640. package/dist/node_modules/@allyhub-next/video-core/dist/anchors.d.ts +0 -164
  641. package/dist/node_modules/@allyhub-next/video-core/dist/audio-types.d.ts +0 -148
  642. package/dist/node_modules/@allyhub-next/video-core/dist/captions.d.ts +0 -122
  643. package/dist/node_modules/@allyhub-next/video-core/dist/captions.js +0 -11
  644. package/dist/node_modules/@allyhub-next/video-core/dist/contrast.d.ts +0 -98
  645. package/dist/node_modules/@allyhub-next/video-core/dist/cut-report.d.ts +0 -77
  646. package/dist/node_modules/@allyhub-next/video-core/dist/cut-report.js +0 -2
  647. package/dist/node_modules/@allyhub-next/video-core/dist/edits.d.ts +0 -163
  648. package/dist/node_modules/@allyhub-next/video-core/dist/edits.js +0 -2
  649. package/dist/node_modules/@allyhub-next/video-core/dist/export.d.ts +0 -97
  650. package/dist/node_modules/@allyhub-next/video-core/dist/export.js +0 -2
  651. package/dist/node_modules/@allyhub-next/video-core/dist/fact.d.ts +0 -1179
  652. package/dist/node_modules/@allyhub-next/video-core/dist/fact.js +0 -2
  653. package/dist/node_modules/@allyhub-next/video-core/dist/footage-motion.d.ts +0 -168
  654. package/dist/node_modules/@allyhub-next/video-core/dist/footage-motion.js +0 -2
  655. package/dist/node_modules/@allyhub-next/video-core/dist/formats.d.ts +0 -205
  656. package/dist/node_modules/@allyhub-next/video-core/dist/formats.js +0 -2
  657. package/dist/node_modules/@allyhub-next/video-core/dist/gen.d.ts +0 -37
  658. package/dist/node_modules/@allyhub-next/video-core/dist/gen.js +0 -2
  659. package/dist/node_modules/@allyhub-next/video-core/dist/index.d.ts +0 -40
  660. package/dist/node_modules/@allyhub-next/video-core/dist/index.js +0 -2
  661. package/dist/node_modules/@allyhub-next/video-core/dist/look.d.ts +0 -66
  662. package/dist/node_modules/@allyhub-next/video-core/dist/measure.d.ts +0 -558
  663. package/dist/node_modules/@allyhub-next/video-core/dist/measure.js +0 -5
  664. package/dist/node_modules/@allyhub-next/video-core/dist/media.d.ts +0 -226
  665. package/dist/node_modules/@allyhub-next/video-core/dist/media.js +0 -2
  666. package/dist/node_modules/@allyhub-next/video-core/dist/messages.d.ts +0 -88
  667. package/dist/node_modules/@allyhub-next/video-core/dist/motion.d.ts +0 -56
  668. package/dist/node_modules/@allyhub-next/video-core/dist/piece.d.ts +0 -1154
  669. package/dist/node_modules/@allyhub-next/video-core/dist/piece.js +0 -2
  670. package/dist/node_modules/@allyhub-next/video-core/dist/placement.d.ts +0 -37
  671. package/dist/node_modules/@allyhub-next/video-core/dist/problem.d.ts +0 -278
  672. package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +0 -2
  673. package/dist/node_modules/@allyhub-next/video-core/dist/schema.d.ts +0 -350
  674. package/dist/node_modules/@allyhub-next/video-core/dist/schema.js +0 -2
  675. package/dist/node_modules/@allyhub-next/video-core/dist/script-edit.d.ts +0 -180
  676. package/dist/node_modules/@allyhub-next/video-core/dist/script-edit.js +0 -2
  677. package/dist/node_modules/@allyhub-next/video-core/dist/script.d.ts +0 -76
  678. package/dist/node_modules/@allyhub-next/video-core/dist/script.js +0 -2
  679. package/dist/node_modules/@allyhub-next/video-core/dist/seams.d.ts +0 -214
  680. package/dist/node_modules/@allyhub-next/video-core/dist/sound-under.d.ts +0 -72
  681. package/dist/node_modules/@allyhub-next/video-core/dist/sound-under.js +0 -2
  682. package/dist/node_modules/@allyhub-next/video-core/dist/source.d.ts +0 -7
  683. package/dist/node_modules/@allyhub-next/video-core/dist/speech.d.ts +0 -83
  684. package/dist/node_modules/@allyhub-next/video-core/dist/speech.js +0 -5
  685. package/dist/node_modules/@allyhub-next/video-core/dist/timeline.d.ts +0 -626
  686. package/dist/node_modules/@allyhub-next/video-core/dist/timeline.js +0 -2
  687. package/dist/node_modules/@allyhub-next/video-core/dist/timing.d.ts +0 -88
  688. package/dist/node_modules/@allyhub-next/video-core/dist/timing.js +0 -2
  689. package/dist/node_modules/@allyhub-next/video-core/dist/transcript.d.ts +0 -288
  690. package/dist/node_modules/@allyhub-next/video-core/dist/transcript.js +0 -2
  691. package/dist/node_modules/@allyhub-next/video-core/dist/transition.d.ts +0 -289
  692. package/dist/node_modules/@allyhub-next/video-core/dist/transition.js +0 -2
  693. package/dist/node_modules/@allyhub-next/video-core/dist/voice.d.ts +0 -175
  694. package/dist/node_modules/@allyhub-next/video-core/package.json +0 -14
  695. package/dist/parts.d.ts +0 -216
  696. package/dist/parts.js +0 -2
  697. package/dist/phone.d.ts +0 -26
  698. package/dist/phone.js +0 -2
  699. package/dist/piece.d.ts +0 -110
  700. package/dist/piece.js +0 -2
  701. package/dist/props.d.ts +0 -124
  702. package/dist/written.js +0 -2
  703. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/LICENSE +0 -0
  704. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/at-cut.d.ts +0 -0
  705. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/at-cut.js +0 -0
  706. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/decode.d.ts +0 -0
  707. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/decode.js +0 -0
  708. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/envelope.d.ts +0 -0
  709. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/envelope.js +0 -0
  710. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/index.d.ts +0 -0
  711. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/index.js +0 -0
  712. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/master.d.ts +0 -0
  713. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/master.js +0 -0
  714. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/music.d.ts +0 -0
  715. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/music.js +0 -0
  716. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/decode.d.ts +0 -0
  717. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/decode.js +0 -0
  718. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/ebur128.d.ts +0 -0
  719. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/ebur128.js +0 -0
  720. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/index.d.ts +0 -0
  721. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/index.js +0 -0
  722. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/loudness.d.ts +0 -0
  723. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/loudness.js +0 -0
  724. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/master.d.ts +0 -0
  725. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/master.js +0 -0
  726. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/measure.d.ts +0 -0
  727. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/measure.js +0 -0
  728. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/mix.d.ts +0 -0
  729. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/mix.js +0 -0
  730. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/plan.d.ts +0 -0
  731. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/plan.js +0 -0
  732. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recorded.d.ts +0 -0
  733. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recorded.js +0 -0
  734. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/bandwidth.d.ts +0 -0
  735. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/bandwidth.js +0 -0
  736. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/chain.d.ts +0 -0
  737. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/chain.js +0 -0
  738. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/dynamics.d.ts +0 -0
  739. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/dynamics.js +0 -0
  740. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fft.d.ts +0 -0
  741. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fft.js +0 -0
  742. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/filters.d.ts +0 -0
  743. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/filters.js +0 -0
  744. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fit.d.ts +0 -0
  745. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fit.js +0 -0
  746. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/index.d.ts +0 -0
  747. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/index.js +0 -0
  748. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/loudness.d.ts +0 -0
  749. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/loudness.js +0 -0
  750. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/measure.d.ts +0 -0
  751. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/measure.js +0 -0
  752. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/mic.d.ts +0 -0
  753. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/mic.js +0 -0
  754. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/noise.d.ts +0 -0
  755. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/noise.js +0 -0
  756. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/presets.d.ts +0 -0
  757. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/presets.js +0 -0
  758. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/room.d.ts +0 -0
  759. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/room.js +0 -0
  760. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/setup.d.ts +0 -0
  761. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/setup.js +0 -0
  762. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/vec.d.ts +0 -0
  763. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/vec.js +0 -0
  764. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/render.d.ts +0 -0
  765. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/render.js +0 -0
  766. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/sfx.d.ts +0 -0
  767. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/sfx.js +0 -0
  768. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/shape.d.ts +0 -0
  769. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/shape.js +0 -0
  770. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/voice.d.ts +0 -0
  771. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/voice.js +0 -0
  772. /package/dist/node_modules/{@allyhub-next → @allyhub}/chart/LICENSE +0 -0
  773. /package/dist/node_modules/{@allyhub-next/formats → @allyhub/diagnostics}/LICENSE +0 -0
  774. /package/dist/node_modules/{@allyhub-next/ooxml → @allyhub/formats}/LICENSE +0 -0
  775. /package/dist/node_modules/{@allyhub-next/sheet → @allyhub/formats}/dist/csv.d.ts +0 -0
  776. /package/dist/node_modules/{@allyhub-next/sheet → @allyhub/formats}/dist/csv.js +0 -0
  777. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/config.d.ts +0 -0
  778. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/config.js +0 -0
  779. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/deck-code.d.ts +0 -0
  780. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/deck-code.js +0 -0
  781. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/edits.d.ts +0 -0
  782. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/edits.js +0 -0
  783. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/elements.d.ts +0 -0
  784. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/elements.js +0 -0
  785. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/faces.js +0 -0
  786. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/file.d.ts +0 -0
  787. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/file.js +0 -0
  788. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/gen.d.ts +0 -0
  789. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/gen.js +0 -0
  790. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/messages.d.ts +0 -0
  791. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/messages.js +0 -0
  792. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/words.d.ts +0 -0
  793. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/words.js +0 -0
  794. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/media-type.d.ts +0 -0
  795. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/media-type.js +0 -0
  796. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/note-shape.d.ts +0 -0
  797. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/note-shape.js +0 -0
  798. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/strict.d.ts +0 -0
  799. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/strict.js +0 -0
  800. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/zip.d.ts +0 -0
  801. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/zip.js +0 -0
  802. /package/dist/node_modules/{@allyhub-next/protocol → @allyhub/image-draw}/LICENSE +0 -0
  803. /package/dist/node_modules/{@allyhub-next/runtimes → @allyhub/image-measure}/LICENSE +0 -0
  804. /package/dist/node_modules/{@allyhub-next/scenery → @allyhub/image-sdk}/LICENSE +0 -0
  805. /package/dist/{fit.d.ts → node_modules/@allyhub/image-sdk/dist/fit.d.ts} +0 -0
  806. /package/dist/{fit.js → node_modules/@allyhub/image-sdk/dist/fit.js} +0 -0
  807. /package/dist/{messages.js → node_modules/@allyhub/image-sdk/dist/messages.js} +0 -0
  808. /package/dist/{props.js → node_modules/@allyhub/image-sdk/dist/props.js} +0 -0
  809. /package/dist/{text.d.ts → node_modules/@allyhub/image-sdk/dist/text.d.ts} +0 -0
  810. /package/dist/{text.js → node_modules/@allyhub/image-sdk/dist/text.js} +0 -0
  811. /package/dist/{written.d.ts → node_modules/@allyhub/image-sdk/dist/written.d.ts} +0 -0
  812. /package/dist/node_modules/{@allyhub-next/sheet → @allyhub/measure}/LICENSE +0 -0
  813. /package/dist/node_modules/{@allyhub-next/slides-core → @allyhub/ooxml}/LICENSE +0 -0
  814. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/brightness.d.ts +0 -0
  815. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/brightness.js +0 -0
  816. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/color.d.ts +0 -0
  817. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/color.js +0 -0
  818. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/enums.d.ts +0 -0
  819. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/enums.js +0 -0
  820. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ext.d.ts +0 -0
  821. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ext.js +0 -0
  822. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/enums.d.ts +0 -0
  823. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/enums.js +0 -0
  824. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/spec.d.ts +0 -0
  825. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/spec.js +0 -0
  826. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/index.d.ts +0 -0
  827. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/index.js +0 -0
  828. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/mce.d.ts +0 -0
  829. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/mce.js +0 -0
  830. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/node.d.ts +0 -0
  831. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/node.js +0 -0
  832. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ns.d.ts +0 -0
  833. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ns.js +0 -0
  834. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/opc.d.ts +0 -0
  835. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/opc.js +0 -0
  836. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/report.d.ts +0 -0
  837. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/report.js +0 -0
  838. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/xml.d.ts +0 -0
  839. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/xml.js +0 -0
  840. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/LICENSE +0 -0
  841. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/anchors.js +0 -0
  842. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/console.d.ts +0 -0
  843. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/console.js +0 -0
  844. /package/dist/node_modules/{@allyhub-next/slides-core/dist/model.js → @allyhub/piece/dist/context.js} +0 -0
  845. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/contrast.js +0 -0
  846. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/look.js +0 -0
  847. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/marks.d.ts +0 -0
  848. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/marks.js +0 -0
  849. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/matrix.d.ts +0 -0
  850. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/matrix.js +0 -0
  851. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/messages.js +0 -0
  852. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/source.js +0 -0
  853. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/voice.js +0 -0
  854. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/words.d.ts +0 -0
  855. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/words.js +0 -0
  856. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/blobs.d.ts +0 -0
  857. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/blobs.js +0 -0
  858. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/jsonrpc.d.ts +0 -0
  859. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/jsonrpc.js +0 -0
  860. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/open.d.ts +0 -0
  861. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/open.js +0 -0
  862. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/routes.d.ts +0 -0
  863. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/runtimes.d.ts +0 -0
  864. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/runtimes.js +0 -0
  865. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/errors.d.ts +0 -0
  866. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/errors.js +0 -0
  867. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/home.d.ts +0 -0
  868. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/home.js +0 -0
  869. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/lock.d.ts +0 -0
  870. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/lock.js +0 -0
  871. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/unpack.d.ts +0 -0
  872. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/unpack.js +0 -0
  873. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/docx/package-lock.json +0 -0
  874. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/docx/package.json +0 -0
  875. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/gltf-tools/package-lock.json +0 -0
  876. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/gltf-tools/package.json +0 -0
  877. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/manifold-3d/package-lock.json +0 -0
  878. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/manifold-3d/package.json +0 -0
  879. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/schemas/runtimes.schema.json +0 -0
  880. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/NOTICE +0 -0
  881. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/aim.d.ts +0 -0
  882. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/aim.js +0 -0
  883. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/bake.d.ts +0 -0
  884. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/bake.js +0 -0
  885. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/camera.d.ts +0 -0
  886. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/camera.js +0 -0
  887. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/curve.d.ts +0 -0
  888. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/curve.js +0 -0
  889. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/fit.d.ts +0 -0
  890. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/fit.js +0 -0
  891. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/glass.d.ts +0 -0
  892. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/glass.js +0 -0
  893. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/handheld.d.ts +0 -0
  894. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/handheld.js +0 -0
  895. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/hull.d.ts +0 -0
  896. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/hull.js +0 -0
  897. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/index.d.ts +0 -0
  898. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/index.js +0 -0
  899. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/lens.d.ts +0 -0
  900. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/lens.js +0 -0
  901. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/moire.d.ts +0 -0
  902. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/moire.js +0 -0
  903. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/motion.d.ts +0 -0
  904. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/motion.js +0 -0
  905. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/move.d.ts +0 -0
  906. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/move.js +0 -0
  907. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/noise.d.ts +0 -0
  908. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/noise.js +0 -0
  909. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/phone.d.ts +0 -0
  910. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/phone.js +0 -0
  911. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/report.d.ts +0 -0
  912. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/report.js +0 -0
  913. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen-focus.d.ts +0 -0
  914. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen-focus.js +0 -0
  915. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen.d.ts +0 -0
  916. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen.js +0 -0
  917. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/solve.d.ts +0 -0
  918. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/solve.js +0 -0
  919. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/timing.d.ts +0 -0
  920. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/timing.js +0 -0
  921. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/vec.d.ts +0 -0
  922. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/vec.js +0 -0
  923. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/address.d.ts +0 -0
  924. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/address.js +0 -0
  925. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/capabilities.d.ts +0 -0
  926. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/hint.d.ts +0 -0
  927. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/hint.js +0 -0
  928. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/index.d.ts +0 -0
  929. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/index.js +0 -0
  930. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rectangles.d.ts +0 -0
  931. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rectangles.js +0 -0
  932. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/arrange.js +0 -0
  933. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/analyse.d.ts +0 -0
  934. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/analyse.js +0 -0
  935. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/coerce.d.ts +0 -0
  936. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/coerce.js +0 -0
  937. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/engine.d.ts +0 -0
  938. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/engine.js +0 -0
  939. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/aggregate.d.ts +0 -0
  940. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/aggregate.js +0 -0
  941. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/convert.d.ts +0 -0
  942. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/convert.js +0 -0
  943. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/criteria.d.ts +0 -0
  944. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/criteria.js +0 -0
  945. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/database.d.ts +0 -0
  946. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/database.js +0 -0
  947. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/date.d.ts +0 -0
  948. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/date.js +0 -0
  949. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/define.d.ts +0 -0
  950. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/define.js +0 -0
  951. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/delimiters.d.ts +0 -0
  952. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/delimiters.js +0 -0
  953. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/distributions.d.ts +0 -0
  954. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/distributions.js +0 -0
  955. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/dynamic.d.ts +0 -0
  956. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/dynamic.js +0 -0
  957. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/finance.d.ts +0 -0
  958. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/finance.js +0 -0
  959. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/index.d.ts +0 -0
  960. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/index.js +0 -0
  961. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/info.d.ts +0 -0
  962. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/info.js +0 -0
  963. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/kernels.d.ts +0 -0
  964. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/kernels.js +0 -0
  965. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/logical.d.ts +0 -0
  966. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/logical.js +0 -0
  967. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/lookup.d.ts +0 -0
  968. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/lookup.js +0 -0
  969. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/maths.d.ts +0 -0
  970. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/maths.js +0 -0
  971. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/modern.d.ts +0 -0
  972. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/modern.js +0 -0
  973. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/special.d.ts +0 -0
  974. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/special.js +0 -0
  975. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/text.d.ts +0 -0
  976. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/text.js +0 -0
  977. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/graph.d.ts +0 -0
  978. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/graph.js +0 -0
  979. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/indexes.d.ts +0 -0
  980. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/indexes.js +0 -0
  981. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/remote.d.ts +0 -0
  982. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/remote.js +0 -0
  983. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/server.js +0 -0
  984. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/types.d.ts +0 -0
  985. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/types.js +0 -0
  986. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/check.d.ts +0 -0
  987. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/check.js +0 -0
  988. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/diff.d.ts +0 -0
  989. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/edit.js +0 -0
  990. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/export.d.ts +0 -0
  991. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/fill.d.ts +0 -0
  992. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/fill.js +0 -0
  993. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/filter.d.ts +0 -0
  994. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/filter.js +0 -0
  995. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/format.d.ts +0 -0
  996. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/format.js +0 -0
  997. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/ast.d.ts +0 -0
  998. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/ast.js +0 -0
  999. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/move.d.ts +0 -0
  1000. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/move.js +0 -0
  1001. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/parse.d.ts +0 -0
  1002. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/parse.js +0 -0
  1003. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/print.d.ts +0 -0
  1004. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/print.js +0 -0
  1005. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/rewrite.d.ts +0 -0
  1006. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/rewrite.js +0 -0
  1007. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/walk.d.ts +0 -0
  1008. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/walk.js +0 -0
  1009. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/html.d.ts +0 -0
  1010. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/html.js +0 -0
  1011. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/inspect.js +0 -0
  1012. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/paginate.js +0 -0
  1013. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/profile.d.ts +0 -0
  1014. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/profile.js +0 -0
  1015. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/rules.d.ts +0 -0
  1016. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/rules.js +0 -0
  1017. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/scenario.d.ts +0 -0
  1018. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/scenario.js +0 -0
  1019. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/series.d.ts +0 -0
  1020. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/series.js +0 -0
  1021. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/sort.d.ts +0 -0
  1022. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/sort.js +0 -0
  1023. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/structure.js +0 -0
  1024. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-style.js +0 -0
  1025. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-styles.d.ts +0 -0
  1026. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-styles.js +0 -0
  1027. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/values.d.ts +0 -0
  1028. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/values.js +0 -0
  1029. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/write.d.ts +0 -0
  1030. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/write.js +0 -0
  1031. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/colors.d.ts +0 -0
  1032. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/colors.js +0 -0
  1033. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/formula.d.ts +0 -0
  1034. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/formula.js +0 -0
  1035. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/functions.d.ts +0 -0
  1036. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/functions.js +0 -0
  1037. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/index.d.ts +0 -0
  1038. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/index.js +0 -0
  1039. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/numfmt.d.ts +0 -0
  1040. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/numfmt.js +0 -0
  1041. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/sax.d.ts +0 -0
  1042. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/sax.js +0 -0
  1043. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/styles.d.ts +0 -0
  1044. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/styles.js +0 -0
  1045. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/theme.d.ts +0 -0
  1046. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/theme.js +0 -0
  1047. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/write.d.ts +0 -0
  1048. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/xml.d.ts +0 -0
  1049. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/xml.js +0 -0
  1050. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/capabilities.d.ts +0 -0
  1051. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/check.d.ts +0 -0
  1052. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/check.js +0 -0
  1053. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/components.d.ts +0 -0
  1054. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/components.js +0 -0
  1055. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/enums.d.ts +0 -0
  1056. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/enums.js +0 -0
  1057. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/identity.d.ts +0 -0
  1058. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/identity.js +0 -0
  1059. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/lang.d.ts +0 -0
  1060. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/lang.js +0 -0
  1061. /package/dist/node_modules/{@allyhub-next/slides-core/dist/stage.js → @allyhub/slides-core/dist/model.js} +0 -0
  1062. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/office.js +0 -0
  1063. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/path.js +0 -0
  1064. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/placeholders.d.ts +0 -0
  1065. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/placeholders.js +0 -0
  1066. /package/dist/node_modules/{@allyhub-next/video-core/dist/render-types.js → @allyhub/slides-core/dist/stage.js} +0 -0
  1067. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/theme.js +0 -0
  1068. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/values.d.ts +0 -0
  1069. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/values.js +0 -0
  1070. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/audio-types.js +0 -0
  1071. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/backdrop.d.ts +0 -0
  1072. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/backdrop.js +0 -0
  1073. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edit.d.ts +0 -0
  1074. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edit.js +0 -0
  1075. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/motion.js +0 -0
  1076. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/music.d.ts +0 -0
  1077. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/music.js +0 -0
  1078. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/placement.js +0 -0
  1079. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/render-types.d.ts +0 -0
  1080. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/seams.js +0 -0
  1081. /package/dist/{anim.d.ts → node_modules/@allyhub/video-sdk/dist/anim.d.ts} +0 -0
  1082. /package/dist/{anim.js → node_modules/@allyhub/video-sdk/dist/anim.js} +0 -0
  1083. /package/dist/{noise.d.ts → node_modules/@allyhub/video-sdk/dist/noise.d.ts} +0 -0
  1084. /package/dist/{noise.js → node_modules/@allyhub/video-sdk/dist/noise.js} +0 -0
  1085. /package/dist/{paths.d.ts → node_modules/@allyhub/video-sdk/dist/paths.d.ts} +0 -0
  1086. /package/dist/{paths.js → node_modules/@allyhub/video-sdk/dist/paths.js} +0 -0
@@ -1,4 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{themeColor as O,themeColorOf as T}from"@allyhub-next/chart";import{presetAdjustments as z}from"@allyhub-next/ooxml/geometry";import{MSO_CONNECTOR as G,MSO_SHAPE as M,MSO_SHAPE_TYPE as I,PP_PLACEHOLDER as j}from"./enums.js";import{Chart as B}from"./chart-api.js";import{AUTOSHAPE_STYLE as p,SHADOW_DEFAULTS as v,CONNECTOR_GEOMETRIES as D,CONNECTOR_STYLE as P,FOOTER_IDX as H,isConnectorGeometry as R,OFFICE_TEXT_STYLES as U,placeholderLevels as X,TEXT_INSETS as w,TEXTBOX_FRAME as Y}from"./office.js";import{masterPlaceholder as A}from"./placeholders.js";import{strict as o}from"./strict.js";import{EMU_PER_PT as F,SLIDE_SIZES as k,length as d,lengthOr as y}from"./units.js";class J extends Error{constructor(t){super(`${t} (allyhub slides capabilities lists what the API holds).`),this.name="Unsupported"}}const m=i=>{throw new J(i)},Z=/^#?[0-9a-f]{6}$/iu,C=i=>{if(!Z.test(i))throw new Error(`rgb ${i} is not RRGGBB.`);return`#${i.replace("#","").toUpperCase()}`};export const RGBColor=Object.assign(function(t,e,s){for(const h of[t,e,s])if(!Number.isInteger(h)||h<0||h>255)throw new Error(`RGBColor(${String(t)}, ${String(e)}, ${String(s)}): each is 0 to 255.`);const r=`#${[t,e,s].map(h=>h.toString(16).padStart(2,"0")).join("").toUpperCase()}`;return new.target===void 0?r:new String(r)},{from_string:i=>C(i)});export class ColorFormat{read;write;constructor(t,e){return this.read=t,this.write=e,o(this,"ColorFormat")}get theme_color(){const t=this.read();return t===void 0?void 0:T(t)}set theme_color(t){this.write(t===void 0?void 0:O(t,this.brightness))}get brightness(){const t=this.read();return typeof t=="object"&&"brightness"in t?t.brightness:0}set brightness(t){if(!(t>=-1&&t<=1))throw new RangeError(`brightness ${String(t)} is not a number from -1.0 to 1.0.`);const e=this.read();if(e===void 0)throw new TypeError("There is no colour to set the brightness of: set theme_color first.");const s=T(e);if(s!==void 0)this.write(O(s,t));else if(t!==0)throw new TypeError("Only a theme colour has a brightness here, so an RGB colour does not: set theme_color first, or rgb to the colour it makes.")}get rgb(){const t=this.read();return typeof t=="object"&&"rgb"in t?t.rgb:void 0}set rgb(t){this.write(t===void 0?void 0:{rgb:C(t)})}}export class Font{def;constructor(t){return this.def=t,o(this,"Font")}_set(t,e){e===void 0?Reflect.deleteProperty(this.def,t):this.def[t]=e}get strike(){return this.def.strike}set strike(t){this._set("strike",t)}get baseline(){return this.def.baseline}set baseline(t){this._set("baseline",t)}get highlight(){return this.def.highlight}set highlight(t){this._set("highlight",t)}get name(){return this.def.name}set name(t){this._set("name",t)}get size(){return y(this.def.size)}set size(t){this._set("size",t)}get bold(){return this.def.bold}set bold(t){this._set("bold",t)}get italic(){return this.def.italic}set italic(t){this._set("italic",t)}get underline(){return this.def.underline}set underline(t){this._set("underline",t)}get spacing(){return y(this.def.spacing)}set spacing(t){this._set("spacing",t)}get color(){return new ColorFormat(()=>this.def.color,t=>{this._set("color",t)})}}export class Hyperlink{def;constructor(t){return this.def=t,o(this,"_Hyperlink")}get address(){return this.def.font?.link}set address(t){this.def.font??={},t===void 0?Reflect.deleteProperty(this.def.font,"link"):this.def.font.link=t}}export class Run{def;constructor(t){return this.def=t,o(this,"_Run")}get text(){return this.def.text}set text(t){this.def.text=t}get font(){return this.def.font??={},new Font(this.def.font)}get hyperlink(){return new Hyperlink(this.def)}}const q=i=>{if(!Number.isFinite(i)||i<=0)throw new Error(`line_spacing ${String(i)} is not over 0.`);return Number.isInteger(i)&&i>=F?{fixed:i}:{lines:i}},K=i=>i===void 0?void 0:"lines"in i?i.lines:d(i.fixed),N=i=>i.split(/\n|\v/u).flatMap((t,e)=>[...e>0?[{text:"\v"}]:[],...t===""?[]:[{text:t}]]);class L{_set(t,e){e===void 0?Reflect.deleteProperty(this.fmt,t):this.fmt[t]=e}get alignment(){return this.fmt.alignment}set alignment(t){this._set("alignment",t)}get line_spacing(){return K(this.fmt.line_spacing)}set line_spacing(t){this._set("line_spacing",t===void 0?void 0:q(t))}get space_before(){return y(this.fmt.space_before)}set space_before(t){this._set("space_before",t)}get space_after(){return y(this.fmt.space_after)}set space_after(t){this._set("space_after",t)}get font(){return this.fmt.font??={},new Font(this.fmt.font)}}export class Paragraph extends L{fmt;constructor(t){return super(),this.fmt=t,o(this,"_Paragraph")}get text(){return this.fmt.runs.map(t=>t.text).join("")}set text(t){this.fmt.runs=N(t)}get runs(){return this.fmt.runs.filter(t=>t.text!=="\v").map(t=>new Run(t))}add_run(){const t={text:""};return this.fmt.runs.push(t),new Run(t)}add_line_break(){this.fmt.runs.push({text:"\v"})}clear(){return this.fmt.runs=[],this}get level(){return this.fmt.level}set level(t){if(!Number.isInteger(t)||t<0||t>8)throw new Error(`level ${String(t)} is not 0 to 8.`);this.fmt.level=t}}export class ListLevel extends L{fmt;constructor(t){return super(),this.fmt=t,o(this,"ListLevel")}get numbered(){return this.fmt.numbered}set numbered(t){this._set("numbered",t)}get bullet(){return this.fmt.bullet}set bullet(t){this._set("bullet",t)}get bullet_font(){return this.fmt.bullet_font}set bullet_font(t){this._set("bullet_font",t)}get margin_left(){return y(this.fmt.margin_left)}set margin_left(t){this._set("margin_left",t)}get indent(){return y(this.fmt.indent)}set indent(t){this._set("indent",t)}}const S=i=>Object.freeze(i.map(t=>new ListLevel(t))),W=()=>Array.from({length:9},()=>({})),E=()=>({paragraphs:[],levels:W()});export class TextFrame{def;constructor(t){return this.def=t,o(this,"TextFrame")}_set(t,e){e===void 0?Reflect.deleteProperty(this.def,t):this.def[t]=e}get text(){return this.def.paragraphs.map(t=>t.runs.map(e=>e.text).join("")).join(`
3
- `)}set text(t){this.def.paragraphs=t.split(`
4
- `).map(e=>({runs:N(e),level:0}))}get paragraphs(){return this.def.paragraphs.length===0&&this.def.paragraphs.push({runs:[],level:0}),this.def.paragraphs.map(t=>new Paragraph(t))}add_paragraph(){this.def.paragraphs.length===0&&this.def.paragraphs.push({runs:[],level:0});const t={runs:[],level:0};return this.def.paragraphs.push(t),new Paragraph(t)}clear(){const t=this.def.paragraphs[0];this.def.paragraphs=t?[{...t,runs:[]}]:[]}fit_text(t,e=18,s,r){this.def.auto_size="text",this.def.word_wrap=!0;for(const n of this.def.paragraphs)for(const h of n.runs)h.font={...h.font,size:Math.trunc(e*F),...t===void 0?{}:{name:t},...s===void 0?{}:{bold:s},...r===void 0?{}:{italic:r}}}get list_style(){return S(this.def.levels)}get vertical_anchor(){return this.def.vertical_anchor}set vertical_anchor(t){this._set("vertical_anchor",t)}get auto_size(){return this.def.auto_size}set auto_size(t){this._set("auto_size",t)}get word_wrap(){return this.def.word_wrap}set word_wrap(t){this._set("word_wrap",t)}get margin_left(){return d(this.def.margin_left??w.left)}set margin_left(t){this.def.margin_left=t}get margin_top(){return d(this.def.margin_top??w.top)}set margin_top(t){this.def.margin_top=t}get margin_right(){return d(this.def.margin_right??w.right)}set margin_right(t){this.def.margin_right=t}get margin_bottom(){return d(this.def.margin_bottom??w.bottom)}set margin_bottom(t){this.def.margin_bottom=t}}export class FillFormat{read;write;start;shape;constructor(t,e,s="lt1",r){return this.read=t,this.write=e,this.start=s,this.shape=r,o(this,"FillFormat")}solid(){const t=this.read();this.shape&&Reflect.deleteProperty(this.shape,"gradient"),t==null&&this.write(this.start)}background(){this.shape&&Reflect.deleteProperty(this.shape,"gradient"),this.write(null)}_shape(t){if(!this.shape)throw new TypeError(`Only a shape's fill has ${t}.`);return this.shape}gradient(){this._shape("a gradient").gradient??={angle:90,stops:[{at:0,color:"accent1"},{at:1,color:"accent2"}]}}get gradient_angle(){return this._gradient().angle}set gradient_angle(t){this._gradient().angle=t}get gradient_stops(){return this._gradient().stops}set gradient_stops(t){if(t.length<2)throw new Error("A gradient has two stops at least.");this._gradient().stops=t.map(e=>({...e}))}_gradient(){const{gradient:t}=this._shape("a gradient");if(!t)throw new TypeError("This fill is no gradient: call fill.gradient() first.");return t}get transparency(){return this._shape("a transparency").fill_transparency??0}set transparency(t){if(!(t>=0&&t<=1))throw new Error(`A transparency is a share, 0 to 1, not ${String(t)}.`);this._shape("a transparency").fill_transparency=t}get type(){if(this.shape?.gradient)return"gradient";const t=this.read();return t===void 0?void 0:t===null?"background":"solid"}get fore_color(){const t=this.read();if(t==null)throw new TypeError("This fill is not solid, so it has no fore_color: call fill.solid() first.");return new ColorFormat(()=>this.read()??void 0,e=>{this.write(e??this.start)})}}export class ShadowFormat{def;constructor(t){return this.def=t,o(this,"ShadowFormat")}_shadow(){return this.def.shadow??={...v},this.def.shadow}get inherit(){return this.def.shadow===void 0}set inherit(t){t?Reflect.deleteProperty(this.def,"shadow"):this._shadow()}get blur_radius(){return d(this._shadow().blur)}set blur_radius(t){this._shadow().blur=t}get distance(){return d(this._shadow().distance)}set distance(t){this._shadow().distance=t}get angle(){return this._shadow().angle}set angle(t){this._shadow().angle=t}get transparency(){return this._shadow().transparency}set transparency(t){this._shadow().transparency=t}get color(){const t=this._shadow();return new ColorFormat(()=>t.color,e=>{t.color=e??v.color})}}export class LineFormat{def;constructor(t){return this.def=t,o(this,"LineFormat")}get color(){return new ColorFormat(()=>this.def.line??void 0,t=>{this.def.line=t??null})}get fill(){return new FillFormat(()=>this.def.line,t=>{this.def.line=t},"dk1")}get width(){return d(this.def.line_width??0)}set width(t){this.def.line_width=t}get dash_style(){return this.def.line_dash??null}set dash_style(t){t===null?delete this.def.line_dash:this.def.line_dash=t}get begin_arrow(){return this.def.line_begin??"none"}set begin_arrow(t){this.def.line_begin=t}get end_arrow(){return this.def.line_end??"none"}set end_arrow(t){this.def.line_end=t}}export class Background{holder;constructor(t){return this.holder=t,o(this,"_Background")}get fill(){return new FillFormat(()=>this.holder.background,t=>{this.holder.background=t??"lt1"})}}export const adjustmentDefaults=i=>z(i).map(t=>t.value/1e5);export class Adjustments{def;constructor(t){return this.def=t,o(this,"Adjustments",{index:e=>this._values()[e],setIndex:(e,s)=>{this._set(e,Number(s))}})}_values(){return this.def.adjustments??adjustmentDefaults(this.def.geometry??"rect")}get length(){return this._values().length}_set(t,e){const s=this._values();if(t<0||t>=s.length)throw new RangeError(`adjustments[${String(t)}]: ${this.def.geometry??"this shape"} has ${String(s.length)}.`);if(!Number.isFinite(e))throw new Error(`adjustments[${String(t)}] = ${String(e)} is not a number.`);s[t]=e,this.def.adjustments=s}}const Q={left:0,top:0,width:0,height:0};export class Shape{def;inherit;constructor(t,e=()=>{}){return this.def=t,this.inherit=e,o(this,"Shape")}get _def(){return this.def}_frame(){return this.def.frame??this.inherit()??Q}_own(){return this.def.frame??={...this._frame()},this.def.frame}get name(){return this.def.name}set name(t){this.def.name=t}get shape_type(){return this.def.path?"freeform":R(this.def.geometry)?"line":this.def.kind}get is_placeholder(){return this.def.kind==="placeholder"}get has_table(){return this.def.table!==void 0}get has_chart(){return this.def.chart!==void 0}get chart(){if(!this.def.chart)throw new Error(`${this.def.name} is not a chart.`);return new B(this.def.chart)}get table(){if(!this.def.table)throw new Error(`${this.def.name} is not a table.`);return new Table(this.def.table)}get placeholder_format(){if(!this.def.placeholder)throw new Error(`${this.def.name} is not a placeholder.`);return o({...this.def.placeholder},"_PlaceholderFormat")}get left(){return d(this._frame().left)}set left(t){this._own().left=t}get top(){return d(this._frame().top)}set top(t){this._own().top=t}get width(){return d(this._frame().width)}set width(t){this._own().width=t}get height(){return d(this._frame().height)}set height(t){this._own().height=t}get rotation(){return this.def.rotation??0}set rotation(t){if(!Number.isFinite(t))throw new Error(`${this.def.name}: rotation is a number of degrees.`);const e=(Math.trunc(t*6e4)%216e5+216e5)%216e5/6e4;e===0?Reflect.deleteProperty(this.def,"rotation"):this.def.rotation=e}get has_text_frame(){return this.def.text!==void 0}get text_frame(){if(!this.def.text)throw new Error(`${this.def.name} (a ${this.shape_type}) has no text frame: has_text_frame is false.`);return new TextFrame(this.def.text)}get text(){return this.text_frame.text}set text(t){this.text_frame.text=t}get fill(){return new FillFormat(()=>this.def.fill,t=>{this.def.fill=t},"lt1",this.def)}get line(){return new LineFormat(this.def)}get shadow(){return new ShadowFormat(this.def)}get adjustments(){return new Adjustments(this.def)}}const V=i=>typeof i=="number"&&Number.isFinite(i),g=(i,t,e,s,{line:r=!1}={})=>{for(const[n,h]of Object.entries({left:i,top:t,width:e,height:s}))if(!V(h))throw new Error(`${n} ${String(h)} is not a length (Emu, Inches, Pt, Cm, Mm).`);if(r?e<0||s<0:e<=0||s<=0)throw new Error("A shape's width and height are over 0.");return{left:Math.trunc(i),top:Math.trunc(t),width:Math.trunc(e),height:Math.trunc(s)}},tt=new Set(Object.values(M));export class FreeformBuilder{steps;sx;sy;make;constructor(t,e,s){return this.steps=[{op:"move",x:t[0],y:t[1]}],[this.sx,this.sy]=typeof e=="number"?[e,e]:e,this.make=s,o(this,"FreeformBuilder")}add_line_segments(t,e=!0){for(const[s,r]of t)this.steps.push({op:"line",x:s,y:r});return e&&this.steps.push({op:"close"}),this}add_curve_segment(t,e,s,r,n,h){return this.steps.push({op:"curve",x1:t,y1:e,x2:s,y2:r,x:n,y:h}),this}move_to(t,e){return this.steps.push({op:"move",x:t,y:e}),this}convert_to_shape(t=0,e=0){this.steps.length<2&&m("convert_to_shape(): a freeform needs a segment.");const s=this.steps.flatMap(a=>a.op==="close"?[]:a.op==="curve"?[[a.x1,a.y1],[a.x2,a.y2],[a.x,a.y]]:[[a.x,a.y]]),r=s.map(a=>a[0]),n=s.map(a=>a[1]),h=Math.min(...r),l=Math.min(...n),f=Math.max(...r)-h,u=Math.max(...n)-l,c=(a,_)=>({x:a-h,y:_-l});return this.make({w:f,h:u,steps:this.steps.map(a=>{if(a.op==="close")return a;if(a.op!=="curve")return{op:a.op,...c(a.x,a.y)};const _=c(a.x1,a.y1),x=c(a.x2,a.y2);return{op:"curve",x1:_.x,y1:_.y,x2:x.x,y2:x.y,...c(a.x,a.y)}})},g(Math.round(h*this.sx)+t,Math.round(l*this.sy)+e,Math.round(f*this.sx),Math.round(u*this.sy)))}}export class GroupShape{list;_name;make;constructor(t,e,s){return this.list=t,this._name=e,this.make=s,o(this,"GroupShape")}members(){return this.list.filter(t=>t.group===this._name)}box(){const t=this.members().flatMap(r=>r.frame?[r.frame]:[]),e=Math.min(...t.map(r=>r.left)),s=Math.min(...t.map(r=>r.top));return{left:t.length>0?e:0,top:t.length>0?s:0,right:Math.max(0,...t.map(r=>r.left+r.width)),bottom:Math.max(0,...t.map(r=>r.top+r.height))}}get shapes(){return this.make(this._name)}get shape_type(){return I.GROUP}get name(){return this._name}set name(t){for(const e of this.members())e.group=t;this._name=t}get left(){return d(this.box().left)}set left(t){const e=t-this.box().left;for(const s of this.members())s.frame&&(s.frame.left+=e)}get top(){return d(this.box().top)}set top(t){const e=t-this.box().top;for(const s of this.members())s.frame&&(s.frame.top+=e)}get width(){const t=this.box();return d(t.right-t.left)}get height(){const t=this.box();return d(t.bottom-t.top)}}export class Cell{def;table;row;col;constructor(t,e,s,r){return this.def=t,this.table=e,this.row=s,this.col=r,o(this,"_Cell")}get text_frame(){return new TextFrame(this.def.text)}get text(){return this.text_frame.text}set text(t){this.text_frame.text=t}get fill(){return new FillFormat(()=>this.def.fill,t=>{this.def.fill=t})}get borders(){return this.def.borders??{}}set borders(t){this.def.borders=t}get margin_left(){return d(this.def.text.margin_left??w.left)}set margin_left(t){this.def.text.margin_left=t}get margin_right(){return d(this.def.text.margin_right??w.right)}set margin_right(t){this.def.text.margin_right=t}get margin_top(){return d(this.def.text.margin_top??w.top)}set margin_top(t){this.def.text.margin_top=t}get margin_bottom(){return d(this.def.text.margin_bottom??w.bottom)}set margin_bottom(t){this.def.text.margin_bottom=t}get vertical_anchor(){return this.def.text.vertical_anchor}set vertical_anchor(t){t===void 0?delete this.def.text.vertical_anchor:this.def.text.vertical_anchor=t}get is_merge_origin(){return(this.def.span_width??1)>1||(this.def.span_height??1)>1}get is_spanned(){return this.def.spanned===!0}get span_width(){return this.def.span_width??1}get span_height(){return this.def.span_height??1}merge(t){const e=[this.row,t.row].sort((f,u)=>f-u),s=[this.col,t.col].sort((f,u)=>f-u),[r=0,n=0]=e,[h=0,l=0]=s;for(let f=r;f<=n;f++)for(let u=h;u<=l;u++){const c=this.table.rows[f]?.cells[u];c&&(f===r&&u===h?(l>h&&(c.span_width=l-h+1),n>r&&(c.span_height=n-r+1)):c.spanned=!0)}}split(){const t=this.span_width,e=this.span_height;delete this.def.span_width,delete this.def.span_height;for(let s=this.row;s<this.row+e;s++)for(let r=this.col;r<this.col+t;r++){const n=this.table.rows[s]?.cells[r];n&&delete n.spanned}}}export class Column{def;at;constructor(t,e){return this.def=t,this.at=e,o(this,"_Column")}get width(){return d(this.def.columns[this.at]??0)}set width(t){this.def.columns[this.at]=t}}export class Row{def;at;constructor(t,e){return this.def=t,this.at=e,o(this,"_Row")}get row(){const t=this.def.rows[this.at];if(!t)throw new Error(`The table has no row ${String(this.at)}.`);return t}get height(){return d(this.row.height)}set height(t){this.row.height=t}}export class Table{def;constructor(t){return this.def=t,o(this,"Table")}cell(t,e){const s=this.def.rows[t]?.cells[e];if(!s)throw new Error(`cell(): the table has ${String(this.def.rows.length)} rows and ${String(this.def.columns.length)} columns.`);return new Cell(s,this.def,t,e)}*iter_cells(){for(let t=0;t<this.def.rows.length;t++)for(let e=0;e<this.def.columns.length;e++)yield this.cell(t,e)}get columns(){return this.def.columns.map((t,e)=>new Column(this.def,e))}get rows(){return this.def.rows.map((t,e)=>new Row(this.def,e))}flag(t){return this.def[t]===!0}get first_row(){return this.flag("first_row")}set first_row(t){this.def.first_row=t}get first_col(){return this.flag("first_col")}set first_col(t){this.def.first_col=t}get last_row(){return this.flag("last_row")}set last_row(t){this.def.last_row=t}get last_col(){return this.flag("last_col")}set last_col(t){this.def.last_col=t}get horz_banding(){return this.flag("horz_banding")}set horz_banding(t){this.def.horz_banding=t}get vert_banding(){return this.flag("vert_banding")}set vert_banding(t){this.def.vert_banding=t}}function et(i,t,e=[]){const s=new Set([...i,...e].map(n=>n.name));let r=1;for(;s.has(`${t}-${String(r)}`);)r++;return`${t}-${String(r)}`}export class ShapeCollection{list;base;components;inherit;group;under;constructor(t,e,s,r=()=>{},n=()=>[],h){return this.list=t,this.base=e,this.components=s,this.inherit=r,this.under=n,this.group=h,o(this,"SlideShapes",{index:l=>this._at(l)})}_wrap(t){return new Shape(t,()=>this.inherit(t))}_at(t){const e=this.list[t];return e?this._wrap(e):void 0}*[Symbol.iterator](){for(const t of this.list)yield this._wrap(t)}get length(){return this.list.length}get(t){const e=this.list.find(s=>s.name===t);return e?this._wrap(e):void 0}get title(){const t=this.list.find(e=>e.placeholder?.type==="title"||e.placeholder?.type==="ctrTitle");return t?this._wrap(t):void 0}get placeholders(){return new Placeholders(this.list,this.inherit)}_add(t,e){const s={name:et(this.list,t,this.under()),...e,...this.group===void 0?{}:{group:this.group}};return this.list.push(s),this._wrap(s)}add_textbox(t,e,s,r){return this._add("textbox",{kind:"textbox",frame:g(t,e,s,r),text:{...E(),...Y}})}add_picture(t,e,s,r,n){return(r===void 0||n===void 0)&&m("add_picture() takes a width and a height here: a picture's own size is not read while a deck's code runs"),this._add("picture",{kind:"picture",frame:g(e,s,r??0,n??0),media:{path:t,base:this.base}})}add_movie(t,e,s,r,n,h={}){return this._add("movie",{kind:"movie",frame:g(e,s,r,n),media:{path:t,base:this.base,...h.poster_frame_time===void 0?{}:{poster:h.poster_frame_time}}})}add_shape(t,e,s,r,n){tt.has(t)||m(`add_shape(): ${t} is not one of MSO_SHAPE's ${Object.keys(M).join(", ")}`);const h=E();return h.vertical_anchor=p.vertical_anchor,h.paragraphs=[{runs:[],level:0,alignment:p.alignment}],this._add("shape",{kind:"autoshape",frame:g(e,s,r,n),geometry:t,fill:p.fill,line:p.line,line_width:p.line_width,text:h})}add_table(t,e,s,r,n,h){(t<1||e<1)&&m("add_table(): a table has at least a row and a column.");const l=Math.floor(n/e),f=Math.floor(h/t);return this._add("table",{kind:"table",frame:g(s,r,n,h),table:{columns:Array.from({length:e},()=>l),rows:Array.from({length:t},()=>({height:f,cells:Array.from({length:e},()=>({text:E()}))}))}})}add_chart(t,e,s,r,n,h){return this._add("chart",{kind:"chart",frame:g(e,s,r,n),chart:{type:t,categories:[...h.categories],series:h._series()}})}add_group_shape(){this.group!==void 0&&m("add_group_shape(): a group here holds shapes, not another group.");let t=1;for(;this.list.some(e=>e.group===`group-${String(t)}`);)t++;return new GroupShape(this.list,`group-${String(t)}`,e=>new ShapeCollection(this.list,this.base,this.components,this.inherit,this.under,e))}build_freeform(t=0,e=0,s=1){return new FreeformBuilder([t,e],s,(r,n)=>{const h=E();return h.vertical_anchor=p.vertical_anchor,h.paragraphs=[{runs:[],level:0,alignment:p.alignment}],this._add("freeform",{kind:"autoshape",frame:n,path:r,fill:p.fill,line:p.line,line_width:p.line_width,text:h})})}add_connector(t,e,s,r,n){R(t)||m(`add_connector(): ${t} is not one of MSO_CONNECTOR's ${Object.keys(G).join(", ")}, nor a connector's preset (${D.join(", ")})`);const h=g(Math.min(e,r),Math.min(s,n),Math.abs(r-e),Math.abs(n-s),{line:!0}),l=r<e,f=n<s;return this._add("connector",{kind:"autoshape",frame:h,geometry:t,...l||f?{flip:{...l?{h:l}:{},...f?{v:f}:{}}}:{},line:P.line,line_width:P.line_width})}add_component(t,e,s,r,n,h={}){if(!Object.hasOwn(this.components(),t))throw new Error(`add_component(): the presentation has no component ${t}; add it with prs.components.add("${t}", { … }) first.`);return this._add(t,{kind:"component",frame:g(e,s,r,n),component:{name:t,props:h}})}}export const NAME_OF_TYPE={title:"title",ctrTitle:"title",subTitle:"subtitle",body:"body",pic:"picture",media:"media",obj:"content",dt:"date",ftr:"footer",sldNum:"slide-number"};export class Placeholders{list;inherit;constructor(t,e=()=>{}){return this.list=t,this.inherit=e,o(this,"placeholders",{index:s=>this.get(s)})}_wrap(t){return new Shape(t,()=>this.inherit(t))}*[Symbol.iterator](){for(const t of this.list)t.kind==="placeholder"&&(yield this._wrap(t))}get length(){return this.list.filter(t=>t.kind==="placeholder").length}get(t){const e=this.list.find(s=>s.kind==="placeholder"&&(typeof t=="number"?s.placeholder?.idx===t:s.name===t||s.placeholder?.type===t));return e?this._wrap(e):void 0}add(t,e,s,r,n,h={}){const l=typeof e=="object"?e:h,f=typeof e=="object"?void 0:e;Object.values(j).includes(t)||m(`placeholders.add(): ${t} is not one of PP_PLACEHOLDER's ${Object.keys(j).join(", ")}`);const u=this.list.filter(b=>b.kind==="placeholder"),c=new Set(u.map(b=>b.placeholder?.idx));let a=t==="title"||t==="ctrTitle"?0:H[t]??1;for(;c.has(a)&&a!==0;)a++;if(c.has(a))throw new Error("A layout has one title placeholder (idx 0).");const _=l.name??NAME_OF_TYPE[t];if(this.list.some(b=>b.name===_))throw new Error(`Two shapes are ${_}: give the placeholder a name ({ name }).`);const x=[f,s,r,n].filter(b=>b!==void 0);if(x.length!==0&&x.length!==4)throw new Error("placeholders.add(type, left, top, width, height): give all four, or none to take the master's frame.");const $={name:_,kind:"placeholder",placeholder:{type:t,idx:a},...x.length===4?{frame:g(f??0,s??0,r??0,n??0)}:{},text:{paragraphs:[],levels:X(t)}};return this.list.push($),this._wrap($)}}export class SlideLayout{def;master;ctx;constructor(t,e,s){return this.def=t,this.master=e,this.ctx=s,o(this,"SlideLayout")}get _def(){return this.def}inherit=t=>t.placeholder?A(this.master._def,t.placeholder.type)?.frame:void 0;get name(){return this.def.name}get slide_master(){return this.master}get display_master_shapes(){return this.def.display_master_shapes??!0}set display_master_shapes(t){t?delete this.def.display_master_shapes:this.def.display_master_shapes=!1}get background(){return new Background(this.def)}get placeholders(){return new Placeholders(this.def.shapes,this.inherit)}get shapes(){return new ShapeCollection(this.def.shapes,this.ctx.base,this.ctx.components,this.inherit,()=>this.master._def.shapes)}}export class SlideLayouts{list;make;constructor(t,e){return this.list=t,this.make=e,o(this,"SlideLayouts",{index:s=>this.list[s]})}*[Symbol.iterator](){yield*this.list}get length(){return this.list.length}get_by_name(t,e){return this.list.find(s=>s.name===t)??e}index(t){const e=this.list.indexOf(t);if(e<0)throw new Error(`${t.name} is not among these layouts.`);return e}add(t,e){if(!this.make)throw new Error("A layout is added to a master: master.slide_layouts.add(name).");const s=this.make(t);return e?.(s),s}}export class TextStyles{def;constructor(t){return this.def=t,o(this,"text_styles")}get title_style(){return S(this.def.title)}get body_style(){return S(this.def.body)}get other_style(){return S(this.def.other)}}export class SlideMaster{def;layouts=[];ctx;allLayouts;constructor(t,e,s){return this.def=t,this.ctx=e,this.allLayouts=s,o(this,"SlideMaster")}get _def(){return this.def}get name(){return this.def.name}get background(){return new Background(this.def)}get placeholders(){return new Placeholders(this.def.shapes)}get shapes(){return new ShapeCollection(this.def.shapes,this.ctx.base,this.ctx.components)}get text_styles(){return new TextStyles(this.def.text_styles)}get slide_layouts(){return new SlideLayouts(this.layouts,t=>{if(this.allLayouts.some(r=>r.name===t))throw new Error(`Two layouts are "${t}": a layout's name is unique in the deck, as slides.yaml names it.`);const e={name:t,master:this.def.name,shapes:[]};this.def.layouts.push(e);const s=new SlideLayout(e,this,this.ctx);return this.layouts.push(s),this.allLayouts.push(s),s})}}export class SlideMasters{list;make;constructor(t,e){return this.list=t,this.make=e,o(this,"SlideMasters",{index:s=>this.list[s]})}*[Symbol.iterator](){yield*this.list}get length(){return this.list.length}index(t){return this.list.indexOf(t)}add(t,e){const s=this.make(t);return e?.(s),s}}export class GeneratedSlide{own;def;layout;constructor(t,e,s){this.def=t,this.layout=e,this.own=e._def.shapes.filter(n=>n.kind==="placeholder").map(n=>({name:n.name,kind:"placeholder",...n.placeholder?{placeholder:{...n.placeholder}}:{},text:E()}));const r=n=>{const h=e._def.shapes.find(l=>l.kind==="placeholder"&&l.placeholder?.idx===n.placeholder?.idx);return h?h.frame??(h.placeholder?A(e.slide_master._def,h.placeholder.type)?.frame:void 0):void 0};return this._shapes=new ShapeCollection(this.own,s.base,s.components,r,()=>[...e.slide_master._def.shapes,...e._def.shapes]),this._placeholders=new Placeholders(this.own,r),o(this,"Slide")}_shapes;_placeholders;get shapes(){return this._shapes}get placeholders(){return this._placeholders}get slide_id(){return this.def.id}get slide_layout(){return this.layout}get has_notes_slide(){return this.def.notes!==void 0}get notes_slide(){const t=this.def;return o({notes_text_frame:o({get text(){return t.notes??""},set text(e){t.notes=e}},"TextFrame")},"NotesSlide")}get transition(){return this.def.transition}set transition(t){t===void 0?delete this.def.transition:this.def.transition=t}get animations(){return new Animations(this.def.animations??=[])}_done(){const t={},e=[];for(const s of this.own)s.kind==="placeholder"&&s.placeholder?(s.text?.paragraphs.some(r=>r.runs.length>0)&&(t[s.placeholder.idx]=s.text.paragraphs),s.frame&&e.push({...s,text:E()})):e.push(s);return{...this.def,shapes:e,text:t}}}export class Animations{list;constructor(t){return this.list=t,o(this,"Animations")}add(t,e,s={}){this.list.push({shape:typeof t=="string"?t:t.name,effect:e,...s})}get length(){return this.list.length}}class st{gen;constructor(t){return this.gen=t,o(this,"slides")}add_slide(t,e){return this.gen._add(t,e)}}export class Generator{list=[];prs;ctx;constructor(t,e){return this.prs=t,this.ctx=e,o(this,"Generator")}data(t){return this.ctx.data(t)}get slides(){return new st(this)}_add(t,e){const s=typeof t=="string"?this.prs._layout(t):t;if(!s)throw new Error(`add_slide(): the presentation has no layout ${typeof t=="string"?t:t.name}.`);if(!/^[A-Za-z0-9_-]+$/u.test(e))throw new Error(`add_slide(): ${e} is not an id of letters, digits, _ and -.`);if(this.list.some(n=>n.slide_id===e))throw new Error(`add_slide(): two slides are ${e}.`);const r=new GeneratedSlide({id:e,layout:s.name,shapes:[],text:{}},s,this.prs._ctx);return this.list.push(r),r}_made(){return this.list.map(t=>t._done())}}const rt=()=>JSON.parse(JSON.stringify(U));export class Presentation{masters=[];layouts=[];def;_ctx;constructor(t,e){return this.def={slide_width:t[0],slide_height:t[1],masters:[],components:{},generators:{}},this._ctx={base:e,components:()=>this.def.components},o(this,"Presentation")}get _def(){return this.def}get slide_width(){return d(this.def.slide_width)}set slide_width(t){this.def.slide_width=t}get slide_height(){return d(this.def.slide_height)}set slide_height(t){this.def.slide_height=t}get slide_masters(){return new SlideMasters(this.masters,t=>{if(this.masters.some(r=>r.name===t))throw new Error(`Two masters are "${t}".`);const e={name:t,background:"lt1",text_styles:rt(),shapes:[],layouts:[]};this.def.masters.push(e);const s=new SlideMaster(e,this._ctx,this.layouts);return this.masters.push(s),s})}get slide_master(){const t=this.masters[0];if(!t)throw new Error("The presentation has no master yet: prs.slide_masters.add(name) makes one.");return t}get slide_layouts(){const t=this.masters[0];return t?t.slide_layouts:new SlideLayouts([])}get slides(){return m("A deck's slides are slides.yaml's, in order, each on a layout, and their words the script's; slides made from data are a generator's (prs.generators.add)")}save(){return m("A deck is not saved by its code: allyhub render writes its PDF, pictures and PPTX")}get theme(){return this.def.theme??={},this.def.theme}set theme(t){this.def.theme=t}get components(){return o({add:(t,e)=>{if(Object.hasOwn(this.def.components,t))throw new Error(`Two components are "${t}".`);if(typeof e.layers!="function")throw new Error(`Component ${t} draws with its layers function.`);this.def.components[t]={name:t,props:e.props??{},layers:e.layers}}},"components")}get generators(){return o({add:(t,e)=>{if(Object.hasOwn(this.def.generators,t))throw new Error(`Two generators are "${t}".`);this.def.generators[t]={name:t,make:s=>{const r=new Generator(this,s);return e(r),r._made()}}}},"generators")}_layout(t){return this.layouts.find(e=>e.name===t)}}export const DECK_BRAND="__allyhubDeck";export function isDeck(i){return typeof i=="object"&&i!==null&&DECK_BRAND in i}export const presentationFor=i=>(t,e)=>{const[s,r]=typeof t=="function"?[{},t]:[t,e];if(typeof r!="function")throw new Error("An item's slides.ts exports one deck: export default presentation({ size }, (prs) => { … masters, layouts, components … }); its slides are slides.yaml.");if(typeof s.size=="string"&&!Object.hasOwn(k,s.size))throw new Error(`presentation(): size ${s.size} is not one of ${Object.keys(k).join(", ")}, or { width, height } in EMU.`);return{[DECK_BRAND]:!0,kind:"slides",options:s,build:r,written:{file:i}}};export function evaluateDeck(i){const t=i.options.size??"16:9",e=typeof t=="string"?k[t]:[t.width,t.height],s=i.written.file.split("/").slice(0,-1).join("/"),r=new Presentation(e,s);return i.options.theme&&(r.theme=JSON.parse(JSON.stringify(i.options.theme))),i.build(r),r._def}
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{Animations as l,Background as d,Cell as p,ColorFormat as h,Column as m,FillFormat as c,Font as y,FreeformBuilder as u,GeneratedSlide as _,Generator as f,GroupShape as g,Hyperlink as b,LineFormat as w,ListLevel as S,ShadowFormat as L,Paragraph as O,Placeholders as A,Presentation as C,Row as P,Run as E,Shape as x,ShapeCollection as T,SlideLayout as R,SlideLayouts as k,SlideMaster as M,SlideMasters as v,Table as F,TextFrame as I,TextStyles as G}from"./api.js";import{CategoryChartData as B,Chart as H,XyChartData as D,XySeriesData as N,ChartAxis as j,ChartFormat as X,ChartLegend as W,MajorGridlines as z,TickLabels as U,ChartPlot as Y,ChartSeries as Z,DataLabels as K}from"./chart-api.js";import{MSO_ANCHOR as V,MSO_ARROWHEAD as q,MSO_AUTO_SIZE as J,MSO_CONNECTOR as Q,MSO_FILL as $,MSO_LINE as ee,MSO_SHAPE as te,MSO_SHAPE_TYPE as ae,MSO_THEME_COLOR as oe,PP_ALIGN as se,PP_PLACEHOLDER as re,THEME_FONT as ne,XL_CHART_TYPE as ie,XL_LABEL_POSITION as le,XL_LEGEND_POSITION as de}from"./enums.js";import{publicNames as s}from"./strict.js";const a={Presentation:{theme:"The theme's colours (dk1…folHlink) and fonts (major, minor), over the project's look.",components:"components.add(name, { props, layers }): a shape drawn by code, by the layer contract.",generators:"generators.add(name, (g) => { g.data(path); g.slides.add_slide(layout, id) … }): slides made from data, placed in slides.yaml as one block."},SlideMasters:{add:"add(name): a master, with Office's text styles and no placeholders yet."},_Cell:{borders:"Its edges: { left, right, top, bottom }, each { color, width } (a:lnL…)."},LineFormat:{begin_arrow:"What the end of the line where it starts has (MSO_ARROWHEAD): PowerPoint's Begin Arrow type (a:headEnd).",end_arrow:"What the end of the line where it ends has (MSO_ARROWHEAD): PowerPoint's End Arrow type (a:tailEnd)."},FillFormat:{transparency:"How much of the fill shows through, a share: PowerPoint's Transparency (a:alpha).",gradient_stops:"Its stops, [{ at, color, transparency }], `at` and `transparency` shares; python-pptx's stops can only be read and changed in place."},ShadowFormat:{blur_radius:"How far the shadow blurs, a Length (a:outerShdw blurRad).",distance:"How far it falls from the shape, a Length (dist).",angle:"The way it falls, degrees clockwise from the right (dir).",transparency:"How much shows through it, a share (a:alpha).",color:"Its colour, a ColorFormat."},FreeformBuilder:{add_curve_segment:"add_curve_segment(x1, y1, x2, y2, x, y): a cubic Bézier segment by its two control points (a:cubicBezTo)."},Font:{strike:"A line through it (@strike).",baseline:"Raised or lowered, a share of its size: superscript 0.3, subscript -0.25 (@baseline).",highlight:"The colour behind it, #RRGGBB as RGBColor gives one (a:highlight).",spacing:"Space added between letters, a Length, negative to tighten (PowerPoint's Character Spacing, a:rPr spc)."},SlideMaster:{text_styles:"Its text styles (p:txStyles): title_style, body_style, other_style, nine ListLevels each, Office's to start with."},SlideLayouts:{add:"add(name): a layout on this master."},SlideLayout:{display_master_shapes:"Whether its master's shapes are drawn on its slides, true unless set: PowerPoint's Hide Background Graphics (@showMasterSp)."},placeholders:{add:"add(PP_PLACEHOLDER.X, left?, top?, width?, height?, { name }): a placeholder on a master or a layout; a layout's without a frame takes its master's of its base type."},SlideShapes:{add_component:"add_component(name, left, top, width, height, props): a component of the presentation in a frame.",get:"get(name): a shape by its name."},TextFrame:{list_style:"Its list style (a:lstStyle): nine ListLevels, level 0 first, what its paragraphs take where they set nothing."},ListLevel:{"*":"A level of a list style: alignment, line_spacing, space_before, space_after, font, bullet (a character, or null for none), bullet_font, numbered (a:buAutoNum: arabicPeriod, alphaLcPeriod…), margin_left, indent."},text_styles:{"*":"title_style, body_style, other_style: a master's text styles, nine ListLevels each."},Animations:{"*":"A generated slide's Animation Pane: add(shape, effect, { start, direction, duration, delay, paragraph, path }), in order."},Slide:{animations:"Its Animation Pane, which python-pptx has no API for.",transition:"How it comes on from the slide before: { type, direction, duration }, which python-pptx has no API for."},Generator:{"*":"What a generator's function is given: data(path), and slides.add_slide(layout, id)."}},pe={Presentation:{slides:"A deck's slides are slides.yaml's, their words the script's; slides from data are a generator's.",save:"A deck is not saved by its code: allyhub render writes its files."}},he={Presentation:C.prototype,SlideMasters:v.prototype,SlideMaster:M.prototype,SlideLayouts:k.prototype,SlideLayout:R.prototype,Slide:_.prototype,placeholders:A.prototype,SlideShapes:T.prototype,Shape:x.prototype,TextFrame:I.prototype,_Paragraph:O.prototype,_Run:E.prototype,_Hyperlink:b.prototype,Font:y.prototype,ColorFormat:h.prototype,FillFormat:c.prototype,LineFormat:w.prototype,ShadowFormat:L.prototype,FreeformBuilder:u.prototype,GroupShape:g.prototype,Table:F.prototype,CategoryChartData:B.prototype,XyChartData:D.prototype,XySeriesData:N.prototype,Chart:H.prototype,Plot:Y.prototype,Series:Z.prototype,DataLabels:K.prototype,Legend:W.prototype,Axis:j.prototype,TickLabels:U.prototype,MajorGridlines:z.prototype,ChartFormat:X.prototype,_Cell:p.prototype,_Column:m.prototype,_Row:P.prototype,_Background:d.prototype},me={Animations:l.prototype,ListLevel:S.prototype,text_styles:G.prototype,Generator:f.prototype},ce=()=>{const e={};for(const[t,r]of Object.entries(he)){const n=a[t]??{},i=pe[t]??{};e[t]=s(r).filter(o=>!Object.hasOwn(n,o)&&!Object.hasOwn(i,o))}return e};export const CAPABILITIES={reference:{library:"python-pptx",version:"1.0.2",docs:"https://python-pptx.readthedocs.io/"},holds:ce(),enums:Object.fromEntries(Object.entries({MSO_THEME_COLOR:oe,PP_ALIGN:se,MSO_ANCHOR:V,MSO_AUTO_SIZE:J,PP_PLACEHOLDER:re,MSO_SHAPE:te,MSO_CONNECTOR:Q,MSO_SHAPE_TYPE:ae,MSO_FILL:$,MSO_LINE:ee,XL_CHART_TYPE:ie,XL_LABEL_POSITION:le,XL_LEGEND_POSITION:de,MSO_ARROWHEAD:q,THEME_FONT:ne}).map(([e,t])=>[e,Object.keys(t)])),units:["Emu","Inches","Pt","Cm","Mm","Centipoints","RGBColor"],differs:["The entry is export default presentation({ size, theme }, (prs) => { … }), not Presentation(path): a deck is made by its code, never opened from a template. Its masters and layouts are made with the additions below; its slides are slides.yaml's.","A name python-pptx has that is not held throws where it is used, naming what the class holds; python-pptx's x[i] is held where it indexes (slide_masters[0], slide_layouts[0], placeholders[idx], shapes[0]), and len(x) is x.length.","A Length (what Inches(1) and Pt(12) give, and what a length reads, shape.width) is a Number of EMU with python-pptx's emu, inches, cm, mm, pt, centipoints and twips. Arithmetic on Lengths gives a plain number, as python's int does; two Lengths of one value are ===, and one is compared with a plain number by its .emu.",`An enumeration's members are PresentationML's values (MSO_THEME_COLOR.ACCENT_1 is "accent1", PP_ALIGN.CENTER "ctr"), not integers; TEXT_1 and BACKGROUND_1 are dk1 and lt1, a master's standard colour map. MSO_SHAPE_TYPE.COMPONENT is a component's.`,`A colour's rgb is "#RRGGBB": RGBColor(r, g, b), new RGBColor(r, g, b) and RGBColor.from_string("RRGGBB") make one.`,"A colour's brightness is a theme colour's: python-pptx also gives an RGB colour one, which is refused here (set rgb to the colour it makes).","line_spacing is a number of lines, or a Length of Pt(1) and over for a fixed height (python-pptx tells them apart by type).","add_picture() takes both width and height: a picture's own size is not read while a deck's code runs.","add_connector() takes MSO_CONNECTOR's STRAIGHT, ELBOW and CURVE, and also a connector's preset by name where python-pptx has none (straightConnector1, bentConnector2 to 5, curvedConnector2 to 5); a connector's adjustments (an elbow's middle) are its shape.adjustments.","add_movie(movie_file, left, top, width, height, { poster_frame_time }) takes a video file, its poster a moment of it in seconds, not poster_frame_image.","A shape's name is its kind and a number (textbox-1, shape-2), and a placeholder's its type's (title, body, subtitle): slides.yaml and the script name shapes by name.","fit_text() sets the frame to shrink its text when it is drawn (MSO_AUTO_SIZE.TEXT_TO_FIT_SHAPE) from max_size: it reads no font file.","Font.underline is a single underline or none.","A chart holds column, bar, line, area, pie, doughnut and XY scatter types; it has no 3D, no bubble, no radar and no second axis. slides.yaml's chart can read its numbers from a project file: data, categories and series name it and its columns.","A table has no style, where python-pptx's starts with Medium Style 2: its look is its cells' (fill, borders, text), and first_row and the like say what its rows are and paint nothing. add_table returns its shape, whose .table is the table.","A group is its shapes: they are listed with the shapes the group is among, drawn as they are, and a group holds no group; its box is theirs, so left and top move them and width and height only read.","A presentation is 16:9 (12192000 × 6858000) and its theme Office 2013–2022's over the project's look; python-pptx's template is 4:3 with Office 2007's.","prs.slide_layouts and prs.slide_master are the first master's, as python-pptx's; a generator's add_slide also takes a layout of any master by name."],adds:{...a,...Object.fromEntries(Object.entries(me).map(([e,t])=>[e,{...a[e]??{},names:s(t).join(", ")}]))}};
@@ -1,202 +0,0 @@
1
- import type { ChartLegendPosition, ChartType } from "@allyhub-next/formats";
2
- import { ColorFormat, FillFormat } from "./api.js";
3
- import type { ChartAxisDef, ChartDef, ChartLabelPosition, ChartLabelsDef, ChartSeriesDef } from "@allyhub-next/chart";
4
- import type { Color } from "./model.js";
5
- import { type Length, type LengthValue } from "./units.js";
6
- /** The numbers a chart shows (python-pptx's `CategoryChartData`). */
7
- export declare class CategoryChartData {
8
- number_format: string;
9
- private names;
10
- private readonly list;
11
- constructor(options?: {
12
- number_format?: string;
13
- });
14
- get categories(): string[];
15
- set categories(v: readonly (string | number)[]);
16
- add_category(label: string | number): void;
17
- add_series(name: string, values?: readonly (number | null | undefined)[], number_format?: string): void;
18
- /** The series as a chart holds them. */
19
- _series(): ChartSeriesDef[];
20
- }
21
- /** python-pptx's `XySeriesData`: a series of an XY chart, a point at a time. */
22
- export declare class XySeriesData {
23
- readonly points: {
24
- x: number;
25
- y: number;
26
- }[];
27
- readonly name: string;
28
- constructor(name: string);
29
- add_data_point(x: number, y: number): void;
30
- }
31
- /** python-pptx's `XyChartData`: what an XY scatter chart shows. */
32
- export declare class XyChartData {
33
- number_format: string;
34
- private readonly list;
35
- constructor(options?: {
36
- number_format?: string;
37
- });
38
- add_series(name: string): XySeriesData;
39
- /** The chart's data: an XY chart has no categories. */
40
- get categories(): string[];
41
- /** The series as a chart holds them. */
42
- _series(): ChartSeriesDef[];
43
- }
44
- /** A chart's text, or its labels' (`font`). */
45
- export declare class ChartFont {
46
- private readonly read;
47
- private readonly write;
48
- constructor(read: () => {
49
- size?: number;
50
- color?: Color;
51
- }, write: (v: {
52
- size?: number;
53
- color?: Color;
54
- }) => void);
55
- get size(): LengthValue | undefined;
56
- set size(v: Length | undefined);
57
- get color(): ColorFormat;
58
- }
59
- /** A line's colour (`format.line`). */
60
- export declare class ChartLine {
61
- private readonly read;
62
- private readonly write;
63
- constructor(read: () => Color | undefined, write: (c: Color | undefined) => void);
64
- get color(): ColorFormat;
65
- }
66
- /** A series (python-pptx's `BarSeries`, `LineSeries`…). */
67
- export declare class ChartSeries {
68
- private readonly def;
69
- private readonly at;
70
- constructor(def: ChartSeriesDef, at: number);
71
- get name(): string;
72
- get values(): readonly (number | null)[];
73
- /** A marker's size in points (`marker.size`). */
74
- get marker(): {
75
- size: number | undefined;
76
- };
77
- get smooth(): boolean;
78
- set smooth(v: boolean);
79
- /** Its fill (`format.fill`), and its line's width (`format.line.width`); a line's or an area's colour is the fill's. */
80
- get format(): {
81
- fill: FillFormat;
82
- line: {
83
- width: Length | undefined;
84
- };
85
- };
86
- }
87
- /** Data labels (python-pptx's `DataLabels`). */
88
- export declare class DataLabels {
89
- private readonly def;
90
- constructor(def: ChartLabelsDef);
91
- get show_value(): boolean;
92
- set show_value(v: boolean);
93
- get show_percentage(): boolean;
94
- set show_percentage(v: boolean);
95
- get show_category_name(): boolean;
96
- set show_category_name(v: boolean);
97
- get show_series_name(): boolean;
98
- set show_series_name(v: boolean);
99
- get number_format(): string;
100
- set number_format(v: string);
101
- get position(): ChartLabelPosition | undefined;
102
- set position(v: ChartLabelPosition | undefined);
103
- get font(): ChartFont;
104
- }
105
- /** A chart's plot (python-pptx's `BarPlot`, `LinePlot`…). */
106
- export declare class ChartPlot {
107
- private readonly def;
108
- constructor(def: ChartDef);
109
- get categories(): readonly string[];
110
- get series(): ChartSeries[];
111
- get has_data_labels(): boolean;
112
- set has_data_labels(v: boolean);
113
- get data_labels(): DataLabels;
114
- /** Between bars' groups, as a share of a bar's width, in %. */
115
- get gap_width(): number;
116
- set gap_width(v: number);
117
- get overlap(): number;
118
- set overlap(v: number);
119
- get vary_by_categories(): boolean;
120
- set vary_by_categories(v: boolean);
121
- }
122
- /** A chart's legend (python-pptx's `Legend`). */
123
- export declare class ChartLegend {
124
- private readonly def;
125
- constructor(def: ChartDef);
126
- get position(): ChartLegendPosition;
127
- set position(v: ChartLegendPosition);
128
- /** Whether the plot is made smaller for it (true, as python-pptx's default), or it is drawn over the plot. */
129
- get include_in_layout(): boolean;
130
- set include_in_layout(v: boolean);
131
- }
132
- /** An axis's tick labels (python-pptx's `TickLabels`): their number format. */
133
- export declare class TickLabels {
134
- private readonly def;
135
- constructor(def: ChartAxisDef);
136
- get number_format(): string;
137
- set number_format(v: string);
138
- }
139
- /** A chart's gridlines (python-pptx's `MajorGridlines`): their line. */
140
- export declare class MajorGridlines {
141
- private readonly line;
142
- constructor(line: ChartLine);
143
- get format(): ChartFormat;
144
- }
145
- /** What a chart's part is drawn with (python-pptx's `ChartFormat`): its line. */
146
- export declare class ChartFormat {
147
- private readonly held;
148
- constructor(line: ChartLine);
149
- get line(): ChartLine;
150
- }
151
- /** A chart's axis (python-pptx's `ValueAxis`, `CategoryAxis`). */
152
- export declare class ChartAxis {
153
- private readonly def;
154
- constructor(def: ChartAxisDef);
155
- get minimum_scale(): number | undefined;
156
- set minimum_scale(v: number | undefined);
157
- get maximum_scale(): number | undefined;
158
- set maximum_scale(v: number | undefined);
159
- get major_unit(): number | undefined;
160
- set major_unit(v: number | undefined);
161
- get has_major_gridlines(): boolean;
162
- set has_major_gridlines(v: boolean);
163
- get visible(): boolean;
164
- set visible(v: boolean);
165
- get reverse_order(): boolean;
166
- set reverse_order(v: boolean);
167
- /** Its tick labels' format (`tick_labels.number_format`). */
168
- get tick_labels(): TickLabels;
169
- /** Its gridlines' colour (`major_gridlines.format.line.color`). */
170
- get major_gridlines(): MajorGridlines;
171
- /** Its line's colour (`format.line.color`). */
172
- get format(): ChartFormat;
173
- }
174
- /** A chart (python-pptx's `Chart`), in its shape's `.chart`. */
175
- export declare class Chart {
176
- private readonly def;
177
- constructor(def: ChartDef);
178
- get chart_type(): ChartType;
179
- get has_legend(): boolean;
180
- set has_legend(v: boolean);
181
- get legend(): ChartLegend;
182
- get has_title(): boolean;
183
- set has_title(v: boolean);
184
- /** Its title (`chart_title.text_frame.text`, and `chart_title.font.size`). */
185
- get chart_title(): {
186
- text_frame: {
187
- text: string;
188
- };
189
- font: {
190
- size: Length | undefined;
191
- };
192
- };
193
- /** Its text's size and colour. */
194
- get font(): ChartFont;
195
- get plots(): ChartPlot[];
196
- get series(): ChartSeries[];
197
- get value_axis(): ChartAxis;
198
- get category_axis(): ChartAxis;
199
- /** Other numbers, in its look. */
200
- replace_data(chart_data: CategoryChartData): void;
201
- }
202
- //# sourceMappingURL=chart-api.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{ColorFormat as h,FillFormat as l}from"./api.js";import{accentOf as f,isRound as u}from"@allyhub-next/chart";import{strict as s}from"./strict.js";import{Pt as n,length as d}from"./units.js";export class CategoryChartData{number_format;names=[];list=[];constructor(e={}){return this.number_format=e.number_format??"General",s(this,"CategoryChartData")}get categories(){return this.names}set categories(e){this.names=e.map(String)}add_category(e){this.names.push(String(e))}add_series(e,t=[],i){this.list.push({name:e,values:t.map(a=>a??null),...i===void 0?{}:{number_format:i}})}_series(){return this.list.map(e=>({...e,values:[...e.values],number_format:e.number_format??this.number_format}))}}export class XySeriesData{points=[];name;constructor(e){return this.name=e,s(this,"XySeriesData")}add_data_point(e,t){this.points.push({x:e,y:t})}}export class XyChartData{number_format;list=[];constructor(e={}){return this.number_format=e.number_format??"General",s(this,"XyChartData")}add_series(e){const t=new XySeriesData(e);return this.list.push(t),t}get categories(){return[]}_series(){return this.list.map(e=>({name:e.name,values:e.points.map(t=>t.y),x:e.points.map(t=>t.x),number_format:this.number_format}))}}const _=r=>r===void 0?void 0:r/n(1);export class ChartFont{read;write;constructor(e,t){return this.read=e,this.write=t,s(this,"ChartFont")}get size(){const e=this.read().size;return e===void 0?void 0:d(n(e))}set size(e){const t=this.read(),i=_(e);this.write({...t.color===void 0?{}:{color:t.color},...i===void 0?{}:{size:i}})}get color(){return new h(()=>this.read().color,e=>{const{size:t}=this.read();this.write({...t===void 0?{}:{size:t},...e===void 0?{}:{color:e}})})}}export class ChartLine{read;write;constructor(e,t){return this.read=e,this.write=t,s(this,"ChartLine")}get color(){return new h(this.read,this.write)}}export class ChartSeries{def;at;constructor(e,t){return this.def=e,this.at=t,s(this,"ChartSeries")}get name(){return this.def.name}get values(){return this.def.values}get marker(){const e=this.def;return s({get size(){return e.marker_size},set size(t){t===void 0?delete e.marker_size:e.marker_size=t}},"Marker")}get smooth(){return this.def.smooth===!0}set smooth(e){this.def.smooth=e}get format(){const e=this.def;return s({line:s({get width(){return e.line_width===void 0?void 0:d(n(e.line_width))},set width(t){t===void 0?delete e.line_width:e.line_width=t/n(1)}},"LineFormat"),fill:new l(()=>this.def.color??f(this.at),t=>{t!==null&&(this.def.color=t)})},"ChartFormat")}}export class DataLabels{def;constructor(e){return this.def=e,s(this,"DataLabels")}get show_value(){return this.def.show_value??!1}set show_value(e){this.def.show_value=e}get show_percentage(){return this.def.show_percentage??!1}set show_percentage(e){this.def.show_percentage=e}get show_category_name(){return this.def.show_category_name??!1}set show_category_name(e){this.def.show_category_name=e}get show_series_name(){return this.def.show_series_name??!1}set show_series_name(e){this.def.show_series_name=e}get number_format(){return this.def.number_format??"General"}set number_format(e){this.def.number_format=e}get position(){return this.def.position}set position(e){e===void 0?delete this.def.position:this.def.position=e}get font(){return new ChartFont(()=>({...this.def.size===void 0?{}:{size:this.def.size},...this.def.color===void 0?{}:{color:this.def.color}}),e=>{delete this.def.size,delete this.def.color,Object.assign(this.def,e)})}}export class ChartPlot{def;constructor(e){return this.def=e,s(this,"ChartPlot")}get categories(){return this.def.categories}get series(){return this.def.series.map((e,t)=>new ChartSeries(e,t))}get has_data_labels(){return this.def.labels!==void 0}set has_data_labels(e){e?this.def.labels??={show_value:!0}:delete this.def.labels}get data_labels(){return this.def.labels??={show_value:!0},new DataLabels(this.def.labels)}get gap_width(){return this.def.gap_width??150}set gap_width(e){this.def.gap_width=e}get overlap(){return this.def.overlap??0}set overlap(e){this.def.overlap=e}get vary_by_categories(){return this.def.vary_by_categories??u(this.def.type)}set vary_by_categories(e){this.def.vary_by_categories=e}}export class ChartLegend{def;constructor(e){return this.def=e,s(this,"ChartLegend")}get position(){return this.def.legend??"right"}set position(e){this.def.legend=e}get include_in_layout(){return this.def.legend_overlay!==!0}set include_in_layout(e){e?delete this.def.legend_overlay:this.def.legend_overlay=!0}}export class TickLabels{def;constructor(e){return this.def=e,s(this,"TickLabels")}get number_format(){return this.def.number_format??"General"}set number_format(e){this.def.number_format=e}}export class MajorGridlines{line;constructor(e){return this.line=e,s(this,"MajorGridlines")}get format(){return new ChartFormat(this.line)}}export class ChartFormat{held;constructor(e){return this.held=e,s(this,"ChartFormat")}get line(){return this.held}}export class ChartAxis{def;constructor(e){return this.def=e,s(this,"ChartAxis")}get minimum_scale(){return this.def.minimum_scale}set minimum_scale(e){e===void 0?delete this.def.minimum_scale:this.def.minimum_scale=e}get maximum_scale(){return this.def.maximum_scale}set maximum_scale(e){e===void 0?delete this.def.maximum_scale:this.def.maximum_scale=e}get major_unit(){return this.def.major_unit}set major_unit(e){e===void 0?delete this.def.major_unit:this.def.major_unit=e}get has_major_gridlines(){return this.def.has_major_gridlines??!0}set has_major_gridlines(e){this.def.has_major_gridlines=e}get visible(){return this.def.visible??!0}set visible(e){this.def.visible=e}get reverse_order(){return this.def.reverse_order??!1}set reverse_order(e){this.def.reverse_order=e}get tick_labels(){return new TickLabels(this.def)}get major_gridlines(){return new MajorGridlines(new ChartLine(()=>this.def.gridline_color,e=>{e===void 0?delete this.def.gridline_color:this.def.gridline_color=e}))}get format(){return new ChartFormat(new ChartLine(()=>this.def.line_color,e=>{e===void 0?delete this.def.line_color:this.def.line_color=e}))}}export class Chart{def;constructor(e){return this.def=e,s(this,"Chart")}get chart_type(){return this.def.type}get has_legend(){return this.def.legend!==void 0}set has_legend(e){e?this.def.legend??="right":delete this.def.legend}get legend(){return new ChartLegend(this.def)}get has_title(){return this.def.title!==void 0}set has_title(e){e?this.def.title??="":delete this.def.title}get chart_title(){const e=this.def;return s({font:s({get size(){return e.title_size===void 0?void 0:d(n(e.title_size))},set size(t){t===void 0?delete e.title_size:e.title_size=t/n(1)}},"Font"),text_frame:s({get text(){return e.title??""},set text(t){e.title=t}},"TextFrame")},"ChartTitle")}get font(){return new ChartFont(()=>({...this.def.font_size===void 0?{}:{size:this.def.font_size},...this.def.font_color===void 0?{}:{color:this.def.font_color}}),e=>{delete this.def.font_size,delete this.def.font_color,e.size!==void 0&&(this.def.font_size=e.size),e.color!==void 0&&(this.def.font_color=e.color)})}get plots(){return[new ChartPlot(this.def)]}get series(){return this.def.series.map((e,t)=>new ChartSeries(e,t))}get value_axis(){return this.def.value_axis??={},new ChartAxis(this.def.value_axis)}get category_axis(){return this.def.category_axis??={},new ChartAxis(this.def.category_axis)}replace_data(e){const t=this.def.series;this.def.categories=[...e.categories],this.def.series=e._series().map((i,a)=>{const o=t[a]?.color;return o===void 0?i:{...i,color:o}})}}
@@ -1,11 +0,0 @@
1
- import { type ChartDef } from "@allyhub-next/chart";
2
- import type { ChartFile } from "@allyhub-next/formats";
3
- export declare function chartOfFile(f: ChartFile, o: {
4
- title: string | undefined;
5
- /** The deck's folder. */
6
- base: string;
7
- /** A data file's content, from the deck's folder. */
8
- rows: (path: string) => unknown;
9
- problem: (message: string) => void;
10
- }): ChartDef | undefined;
11
- //# sourceMappingURL=chart-file.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{isScatter as j,labelPositionsOf as v}from"@allyhub-next/chart";import{colorOfFile as u,joinPath as O}from"./resolve.js";const w=e=>e&&{...e.min===void 0?{}:{minimum_scale:e.min},...e.max===void 0?{}:{maximum_scale:e.max},...e.major===void 0?{}:{major_unit:e.major},...e.gridlines===void 0?{}:{has_major_gridlines:e.gridlines},...e.visible===void 0?{}:{visible:e.visible},...e.format===void 0?{}:{number_format:e.format},...e.reverse===void 0?{}:{reverse_order:e.reverse},...e.gridline_color===void 0?{}:{gridline_color:u(e.gridline_color)},...e.line_color===void 0?{}:{line_color:u(e.line_color)}},S=e=>{if(!(e===void 0||e===!1))return e===!0?{show_value:!0}:{...e.value===void 0?{}:{show_value:e.value},...e.percentage===void 0?{}:{show_percentage:e.percentage},...e.category===void 0?{}:{show_category_name:e.category},...e.series===void 0?{}:{show_series_name:e.series},...e.format===void 0?{}:{number_format:e.format},...e.position===void 0?{}:{position:e.position},...e.size===void 0?{}:{size:e.size},...e.color===void 0?{}:{color:u(e.color)}}};function $(e){if(typeof e=="number")return Number.isFinite(e)?e:void 0;if(e==null)return null;if(typeof e!="string")return;const i=e.trim();if(i==="")return null;const s=Number(i);return Number.isFinite(s)?s:void 0}export function chartOfFile(e,i){const s=S(e.labels),l=j(e.type);let a,c;const g=r=>({...r.color===void 0?{}:{color:u(r.color)},...r.format===void 0?{}:{number_format:r.format},...r.smooth===void 0?{}:{smooth:r.smooth},...r.line_width===void 0?{}:{line_width:r.line_width},...r.marker_size===void 0?{}:{marker_size:r.marker_size}});if(e.data!==void 0){let r;try{r=i.rows(e.data)}catch(t){i.problem(`${e.data} cannot be read: ${t instanceof Error?t.message:String(t)}`);return}if(!Array.isArray(r)||r.length===0){i.problem(`${e.data} holds no rows.`);return}const n=r,d=e.categories;if(typeof d!="string"){i.problem("with data, categories names its column.");return}const h=Object.keys(n[0]??{}),b=[d,...e.series.map(t=>typeof t=="string"?t:t.name)].filter(t=>!h.includes(t));if(b.length>0){i.problem(`${e.data} has no column ${b.join(", ")} (it has ${h.join(", ")}).`);return}a=n.map(t=>{const o=t[d];return typeof o=="string"||typeof o=="number"?String(o):""}),c=e.series.map(t=>{const o=typeof t=="string"?t:t.name,x=n.map((m,z)=>{const y=$(m[o]);return y===void 0?(i.problem(`${String(e.data)} row ${String(z+1)}: ${JSON.stringify(m[o])} in ${o} is not a number.`),null):y});return{name:o,values:x,...l?{x:n.map(m=>$(m[d])??null)}:{},...typeof t=="string"?{}:g(t)}})}else{if(typeof e.categories=="string"){i.problem("categories names a column, and there is no data to read.");return}if(e.categories===void 0&&!l){i.problem(`a ${e.type} chart has categories.`);return}a=e.categories??[];const r=[];for(const n of e.series){if(typeof n=="string"||!n.values){const d=typeof n=="string"?n:n.name;i.problem(`series ${d} has no values, and there is no data to read.`);return}if(l){if(n.x?.length!==n.values.length){i.problem(`series ${n.name} has an x for each of its values.`);return}}else n.values.length!==a.length&&i.problem(`series ${n.name} has ${String(n.values.length)} values for ${String(a.length)} categories.`);r.push({name:n.name,values:n.values,...l&&n.x?{x:n.x}:{},...g(n)})}c=r}const f=s?.position;f!==void 0&&!v(e.type).includes(f)&&i.problem(`a ${e.type} chart has no label position ${f}, which PowerPoint would repair (it has ${v(e.type).join(", ")||"none"}).`);const p=w(e.value_axis),_=w(e.category_axis);return{type:e.type,categories:a,series:c,...i.title===void 0?{}:{title:i.title},...e.legend===void 0?{}:{legend:e.legend},...s?{labels:s}:{},...e.gap_width===void 0?{}:{gap_width:e.gap_width},...e.overlap===void 0?{}:{overlap:e.overlap},...e.vary_by_categories===void 0?{}:{vary_by_categories:e.vary_by_categories},...e.hole_size===void 0?{}:{hole_size:e.hole_size},...p?{value_axis:p}:{},..._?{category_axis:_}:{},...e.size===void 0?{}:{font_size:e.size},...e.title_size===void 0?{}:{title_size:e.title_size},...e.color===void 0?{}:{font_color:u(e.color)},...e.data===void 0?{}:{source:O(i.base,e.data)}}}
@@ -1,33 +0,0 @@
1
- import type { DeckDef, GeneratedSlideDef, MasterDef, PropSpec } from "./model.js";
2
- import type { ThemeInput } from "./theme.js";
3
- import type { Length } from "./units.js";
4
- /** A component as data: the props it exposes to a person. Its layers stay code, drawn in the stage. */
5
- export interface ComponentSpec {
6
- props: Readonly<Record<string, PropSpec>>;
7
- }
8
- /** What a generator made: its slides, or why it failed. */
9
- export type GeneratorOutput = GeneratedSlideDef[]
10
- /** Why it failed, and where in slides.ts it threw (its stack). */
11
- | {
12
- error: string;
13
- stack?: string;
14
- };
15
- export interface DeckCode {
16
- slide_width: Length;
17
- slide_height: Length;
18
- theme?: ThemeInput;
19
- masters: MasterDef[];
20
- components: Record<string, ComponentSpec>;
21
- generators: Record<string, GeneratorOutput>;
22
- }
23
- /**
24
- * A deck's code as data: its definition, each generator run once on `data`
25
- * (a data file of the deck's folder; a generator fails as it reads one
26
- * without it). Plain JSON, nothing of the code's own objects kept.
27
- */
28
- export declare function deckCode(def: DeckDef, data?: (path: string) => unknown): DeckCode;
29
- /** Whether a value (from another frame, a file, a worker) is a deck's code, by its schema. */
30
- export declare function isDeckCode(value: unknown): value is DeckCode;
31
- /** What is wrong with a value that should be a deck's code, each at its path; empty when it is one. */
32
- export declare function deckCodeProblems(value: unknown): string[];
33
- //# sourceMappingURL=code.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{DeckCodeSchema as a}from"@allyhub-next/formats";export function deckCode(e,r){const t={};for(const[o,n]of Object.entries(e.generators))try{t[o]=n.make({data:r??(()=>{throw new Error("No data here.")})})}catch(s){t[o]={error:s instanceof Error?s.message:String(s),...s instanceof Error&&s.stack!==void 0?{stack:s.stack}:{}}}const c={slide_width:e.slide_width,slide_height:e.slide_height,...e.theme===void 0?{}:{theme:e.theme},masters:e.masters,components:Object.fromEntries(Object.entries(e.components).map(([o,n])=>[o,{props:n.props}])),generators:t};return i(c)}function i(e){const r=JSON.stringify(e),t=JSON.parse(r);if(!isDeckCode(t))throw new Error("The deck's code made something that is not data.");return t}export function isDeckCode(e){return a.safeParse(e).success}export function deckCodeProblems(e){const r=a.safeParse(e);return r.success?[]:r.error.issues.map(t=>`${t.path.map(String).join(".")||"(top)"}: ${t.message}`)}
@@ -1,131 +0,0 @@
1
- import { type AnimationFile, type BackgroundFile, type ShapeFile, type TransitionFile, type SlideFile, type SlidesFile } from "@allyhub-next/formats";
2
- import { type Document } from "yaml";
3
- export interface FileProblem {
4
- /** Where in the file, as `slides.2.shapes.Title.frame`. */
5
- path: string;
6
- line?: number;
7
- message: string;
8
- }
9
- /**
10
- * slides.yaml's text read: its slides, or none when it is not the format;
11
- * the slides of it that are (`readable`, every slide that is the format,
12
- * the first of two of one id), so what else is wrong can be found in the
13
- * same pass; every problem; and the line of any path.
14
- */
15
- export declare function readSlidesFile(text: string): {
16
- file?: SlidesFile;
17
- /** The slides that are the format, and the line of a path in them. */
18
- readable?: {
19
- file: SlidesFile;
20
- lineOf: (path: string) => number | undefined;
21
- };
22
- problems: FileProblem[];
23
- lineOf: (path: string) => number | undefined;
24
- };
25
- export type SlidesEdit =
26
- /** A slide put after another, or first (null). */
27
- {
28
- op: "move";
29
- slide: string;
30
- after: string | null;
31
- }
32
- /** A slide put after another (null: first; undefined: last). */
33
- | {
34
- op: "add";
35
- slide: SlideFile;
36
- after?: string | null;
37
- } | {
38
- op: "duplicate";
39
- slide: string;
40
- id: string;
41
- } | {
42
- op: "remove";
43
- slide: string;
44
- } | {
45
- op: "layout";
46
- slide: string;
47
- layout: string;
48
- }
49
- /** Hidden (a block: those of its slides), or shown (false). */
50
- | {
51
- op: "hidden";
52
- slide: string;
53
- hidden: boolean | string[];
54
- }
55
- /**
56
- * Fields of a shape set (undefined takes one away); the entry is made
57
- * when there is none. A key may go into a field (`text.size`), so two
58
- * hands' changes to one field's parts both stand.
59
- */
60
- | {
61
- op: "shape";
62
- slide: string;
63
- shape: string;
64
- set: {
65
- [K in keyof ShapeFile]?: ShapeFile[K] | undefined;
66
- } & Record<`${"text" | "props" | "crop"}.${string}`, unknown>;
67
- } | {
68
- op: "unplace";
69
- slide: string;
70
- shape: string;
71
- }
72
- /**
73
- * A shape named on the slide or not: a layout's date, footer and slide
74
- * number show where slides.yaml names them (`slide-number: {}`). Shown,
75
- * its entry is there, empty if it had none; not, it is taken away.
76
- */
77
- | {
78
- op: "show";
79
- slide: string;
80
- shape: string;
81
- shown: boolean;
82
- }
83
- /** A shape's changes taken away: it is its layout's again. */
84
- | {
85
- op: "reset";
86
- slide: string;
87
- shape?: string;
88
- }
89
- /** Its Animation Pane, whole; none takes it away. */
90
- | {
91
- op: "animations";
92
- slide: string;
93
- animations: AnimationFile[];
94
- }
95
- /** How it comes on; none takes it away. */
96
- | {
97
- op: "transition";
98
- slide: string;
99
- transition?: TransitionFile;
100
- }
101
- /** When a show goes on from it by itself, seconds; none takes it away. */
102
- | {
103
- op: "advance";
104
- slide: string;
105
- after?: number;
106
- }
107
- /** Its own background over its layout's; none takes it away. */
108
- | {
109
- op: "background";
110
- slide: string;
111
- background?: BackgroundFile;
112
- };
113
- /** slides.yaml's text after an edit. */
114
- export declare function editSlidesFile(text: string | undefined, edit: SlidesEdit): string;
115
- /**
116
- * An edit made on slides.yaml's parsed document, in place: only the nodes
117
- * it changes are touched, so an editor that keeps the document edits a
118
- * long file in the time one slide takes. False when it changed nothing
119
- * (its slide is not there).
120
- */
121
- export declare function editSlidesDocument(doc: Document, edit: SlidesEdit): boolean;
122
- /** An id or a name no slide or shape has yet, from a stem: `cover`, `cover-2`… */
123
- export declare function freeName(taken: Iterable<string>, stem: string): string;
124
- /**
125
- * What `b` changes of `a`, as edits: slides removed, added and moved (a
126
- * slide is moved only when it leaves the order the two share), then each
127
- * slide's own changes. Made over `a` they make `b`; made over a file
128
- * another hand changed from `a`, they are `b`'s changes kept.
129
- */
130
- export declare function slidesEdits(a: SlidesFile, b: SlidesFile): SlidesEdit[];
131
- //# sourceMappingURL=file.d.ts.map
@@ -1,4 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{readDataFile as N}from"@allyhub-next/formats";import{isCollection as $,isMap as b,isSeq as j,LineCounter as I,parseDocument as x}from"yaml";import{commonPairs as M,sameValue as O}from"./values.js";export function readSlidesFile(t){const e=new I,s=x(t,{lineCounter:e}),o=f=>{const g=f===""?[]:f.split(".");for(let p=g.length;p>=0;p--){const S=s.getIn(g.slice(0,p).map(y=>/^\d+$/u.test(y)?Number(y):y),!0)?.range?.[0];if(S!==void 0)return e.linePos(S).line}};if(s.errors.length>0)return{problems:s.errors.map(f=>({path:"",line:e.linePos(f.pos[0]).line,message:`not YAML: ${f.message.split(`
3
- `)[0]??""}`})),lineOf:o};const l=s.toJS()??{},r=N("slides",l);if(r.ok)return{file:r.value,readable:{file:r.value,lineOf:o},problems:[],lineOf:o};const n=[],h=(f,g)=>{const p=o(f);n.push({path:f,...p===void 0?{}:{line:p},message:g})},a=(f,g)=>{h(f,C(g,P(l,f)))},i=typeof l=="object"&&l!==null&&"slides"in l?l.slides:void 0,d=Array.isArray(i)?i:[],u=N("slides",{...l,...Array.isArray(i)?{slides:[]}:{}});if(!u.ok)for(const f of u.problems)a(f.path,f.message);const c=[],k=[],m=new Set;return d.forEach((f,g)=>{const p=N("slides",{slides:[f]});if(!p.ok)for(const y of p.problems)a(y.path.replace(/^slides\.0(?=\.|$)/u,`slides.${String(g)}`),y.message);const v=typeof f=="object"&&f!==null&&"id"in f?f.id:void 0;if(typeof v=="string"){if(m.has(v)){h(`slides.${String(g)}.id`,`Two slides are "${v}".`);return}m.add(v)}const[S]=p.ok?p.value.slides:[];S&&(c.push(S),k.push(g))}),{readable:{file:{slides:c},lineOf:f=>o(f.replace(/^slides\.(\d+)/u,(g,p)=>`slides.${String(k[Number(p)]??p)}`))},problems:n,lineOf:o}}function P(t,e){let s=t;for(const o of e===""?[]:e.split(".")){if(typeof s!="object"||s===null)return;s=s[o]}return s}const C=(t,e)=>typeof e=="string"||typeof e=="number"||typeof e=="boolean"?`${t.replace(/\.$/u,"")} (it is ${JSON.stringify(e)}).`:t,w=`slides: []
4
- `;function D(t){let e=t.get("slides",!0);if(j(e)||(b(t.contents)?t.set("slides",t.createNode([])):t.contents=t.createNode({slides:[]}),e=t.get("slides",!0)),!j(e))throw new Error("slides.yaml has no slides list.");return e}const A=(t,e)=>t.findIndex(s=>b(s)&&s.get("id")===e),E=["frame","text","fill","line","z","crop"];export function editSlidesFile(t,e){const s=x(t===void 0||t.trim()===""?w:t);if(s.errors.length>0)throw new Error("slides.yaml is not YAML: it is mended by hand first.");return editSlidesDocument(s,e)?s.toString():t??w}export function editSlidesDocument(t,e){const s=D(t),o=a=>{if(a===null)return 0;const i=a===void 0?-1:A(s.items,a);return i<0?s.items.length:i+1};if(e.op==="add")return A(s.items,e.slide.id)>=0||(s.items.splice(o(e.after),0,t.createNode(e.slide)),s.flow===!0&&(s.flow=!1)),!0;const l=A(s.items,e.slide),r=s.items[l];if(l<0||!b(r))return!1;const n=a=>{let i=r.get("shapes",!0);return!b(i)&&a&&(r.set("shapes",t.createNode({})),i=r.get("shapes",!0)),b(i)?i:void 0},h=a=>{const i=n(!1);if(i){for(const d of a){const u=i.get(d,!0);b(u)&&u.items.length===0&&i.delete(d)}i.items.length===0&&r.delete("shapes")}};switch(e.op){case"move":{if(e.after===e.slide)break;s.items.splice(l,1),s.items.splice(o(e.after),0,r);break}case"duplicate":{const a=r.clone();a.set("id",e.id),s.items.splice(l+1,0,a);break}case"remove":s.items.splice(l,1);break;case"layout":r.set("layout",e.layout);break;case"hidden":e.hidden===!1||Array.isArray(e.hidden)&&e.hidden.length===0?r.delete("hidden"):r.set("hidden",t.createNode(e.hidden));break;case"shape":{const a=n(!0);if(!a)break;let i=a.get(e.shape,!0);if(b(i)||(a.set(e.shape,t.createNode({})),i=a.get(e.shape,!0)),!b(i))break;for(const[d,u]of Object.entries(e.set)){const c=d.split(".");if(u===void 0){i.deleteIn(c);const k=c.length>1?i.getIn(c.slice(0,-1),!0):void 0;b(k)&&k.items.length===0&&i.deleteIn(c.slice(0,-1))}else{const k=i.getIn(c,!0),m=t.createNode(u);$(k)&&$(m)&&k.flow===!0&&(m.flow=!0),i.setIn(c,m)}}h([e.shape]);break}case"unplace":{n(!1)?.delete(e.shape),h([]);break}case"show":{if(!e.shown){n(!1)?.delete(e.shape),h([]);break}const a=n(!0);a&&!a.has(e.shape)&&a.set(e.shape,t.createNode({}));break}case"background":e.background===void 0?r.delete("background"):r.set("background",t.createNode(e.background));break;case"animations":e.animations.length===0?r.delete("animations"):r.set("animations",t.createNode(e.animations));break;case"transition":e.transition===void 0?r.delete("transition"):r.set("transition",t.createNode(e.transition));break;case"advance":e.after===void 0?r.delete("advance_after"):r.set("advance_after",e.after);break;case"reset":{const a=n(!1);if(!a)break;const i=[];for(const d of a.items){const u=String(b(d.key)?"":d.key.value??d.key);if(e.shape!==void 0&&u!==e.shape)continue;const c=d.value;if(!(!b(c)||["textbox","picture","movie","geometry","component"].some(m=>c.has(m))||!E.some(m=>c.has(m)))){for(const m of E)c.delete(m);i.push(u)}}h(i);break}}return!0}export function freeName(t,e){const s=new Set(t),o=e.replace(/[^A-Za-z0-9_-]+/gu,"-").replace(/^-+|-+$/gu,"")||"slide";if(!s.has(o))return o;for(let l=2;;l++){const r=`${o}-${String(l)}`;if(!s.has(r))return r}}const F=new Set(["text","props","crop"]);function _(t){const e=new Map;for(const[s,o]of Object.entries(t??{}))if(F.has(s)&&typeof o=="object"&&!Array.isArray(o))for(const[l,r]of Object.entries(o))e.set(`${s}.${l}`,r);else e.set(s,o);return e}const L=(t,e)=>new Set(M(t,e).map(([s])=>t[s]??""));function T(t,e){const s=[],o=e.id;e.layout!==void 0&&e.layout!==t.layout&&s.push({op:"layout",slide:o,layout:e.layout}),O(t.hidden,e.hidden)||s.push({op:"hidden",slide:o,hidden:e.hidden??!1}),O(t.animations??[],e.animations??[])||s.push({op:"animations",slide:o,animations:e.animations??[]}),O(t.transition,e.transition)||s.push({op:"transition",slide:o,...e.transition?{transition:e.transition}:{}}),t.advance_after!==e.advance_after&&s.push({op:"advance",slide:o,...e.advance_after===void 0?{}:{after:e.advance_after}}),O(t.background,e.background)||s.push({op:"background",slide:o,...e.background?{background:e.background}:{}});const l=t.shapes??{},r=e.shapes??{};for(const n of Object.keys(l))n in r||s.push({op:"unplace",slide:o,shape:n});for(const[n,h]of Object.entries(r)){const a=_(l[n]),i=_(h),d={};for(const c of new Set([...a.keys(),...i.keys()]))O(a.get(c),i.get(c))||(d[c]=i.get(c));Object.keys(d).length>0&&s.push({op:"shape",slide:o,shape:n,set:d});const u=l[n];Object.keys(h).length===0&&(u===void 0||Object.keys(u).length>0)&&s.push({op:"show",slide:o,shape:n,shown:!0})}return s}export function slidesEdits(t,e){const s=[],o=new Map(t.slides.map(n=>[n.id,n])),l=new Set(e.slides.map(n=>n.id));for(const n of t.slides)l.has(n.id)||s.push({op:"remove",slide:n.id});const r=L(t.slides.map(n=>n.id).filter(n=>l.has(n)),e.slides.map(n=>n.id).filter(n=>o.has(n)));return e.slides.forEach((n,h)=>{const a=h===0?null:e.slides[h-1]?.id??null,i=o.get(n.id);if(!i||i.generate!==n.generate){i&&s.push({op:"remove",slide:n.id}),s.push({op:"add",slide:n,after:a});return}r.has(n.id)||s.push({op:"move",slide:n.id,after:a}),s.push(...T(i,n))}),s}
@@ -1,26 +0,0 @@
1
- export * from "./units.js";
2
- export * from "./lang.js";
3
- export * from "./enums.js";
4
- export * from "./strict.js";
5
- export * from "./animation.js";
6
- export * from "@allyhub-next/chart";
7
- export * from "./chart-api.js";
8
- export { chartOfFile } from "./chart-file.js";
9
- export * from "./office.js";
10
- export * from "./path.js";
11
- export * from "./placeholders.js";
12
- export * from "./theme.js";
13
- export * from "./model.js";
14
- export * from "./api.js";
15
- export * from "./code.js";
16
- export * from "./resolve.js";
17
- export * from "./identity.js";
18
- export * from "./file.js";
19
- export * from "./script.js";
20
- export * from "./merge.js";
21
- export * from "./stage.js";
22
- export * from "./components.js";
23
- export * from "./check.js";
24
- export * from "./capabilities.js";
25
- export * from "./measure.js";
26
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +0,0 @@
1
- /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- export*from"./units.js";export*from"./lang.js";export*from"./enums.js";export*from"./strict.js";export*from"./animation.js";export*from"@allyhub-next/chart";export*from"./chart-api.js";export{chartOfFile}from"./chart-file.js";export*from"./office.js";export*from"./path.js";export*from"./placeholders.js";export*from"./theme.js";export*from"./model.js";export*from"./api.js";export*from"./code.js";export*from"./resolve.js";export*from"./identity.js";export*from"./file.js";export*from"./script.js";export*from"./merge.js";export*from"./stage.js";export*from"./components.js";export*from"./check.js";export*from"./capabilities.js";export*from"./measure.js";
@@ -1,34 +0,0 @@
1
- import { type DeckLayout, type DeckShapeLayout, type Fact, type FactPlace } from "@allyhub-next/video-core";
2
- export interface DeckFactOptions {
3
- /** near-alignment: lines this many points apart or fewer, and more than `aligned`, are reported. */
4
- within: number;
5
- /** near-alignment: lines this close, in points, are in line. */
6
- aligned: number;
7
- /** placement-drift: frames further apart than this, in points, are different places. */
8
- drift: number;
9
- /** read-size: a room's screen width and its farthest seat, metres; without it, no room is measured. */
10
- room?: {
11
- screen: number;
12
- distance: number;
13
- };
14
- /** read-size: the phone a slide is fitted on, in points, upright. */
15
- phone: [number, number];
16
- /** Pixels a box may reach past a line before it is past it (antialiasing). */
17
- slack: number;
18
- /** deck-fonts: the fonts every PowerPoint, Keynote and Google Slides has. */
19
- standard?: readonly string[];
20
- /** Only shapes of these levels are measured; every level unless given. */
21
- levels?: readonly DeckShapeLayout["level"][];
22
- /** Shapes by name left out of every fact, `*` for any letters; none unless given. */
23
- except?: readonly string[];
24
- }
25
- export declare const DECK_FACT_DEFAULTS: DeckFactOptions;
26
- /**
27
- * The facts of a deck as drawn, each placed at its slide (`part`, its
28
- * still's `t`), a deck's own (type-in-use, placement-drift) at none.
29
- */
30
- export declare function deckFacts(layout: DeckLayout, frame: {
31
- width: number;
32
- height: number;
33
- }, place: FactPlace, given?: Partial<DeckFactOptions>): Fact[];
34
- //# sourceMappingURL=measure.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{READ_DEFAULTS as W,fact as m,phoneScale as X}from"@allyhub-next/video-core";import{STANDARD_FONTS as Y}from"./theme.js";export const DECK_FACT_DEFAULTS={within:8,aligned:.5,drift:1,phone:W.phone,slack:1};const E=e=>e[0]+e[2],$=e=>e[1]+e[3],A=e=>Math.max(0,e[2])*Math.max(0,e[3]),w=(e,h=2)=>{const d=10**h;return Math.round(e*d)/d};function N(e,h,d){const M=[],a=(r,k)=>{k>d&&M.push({side:r,px:k})};return a("left",h[0]-e[0]),a("top",h[1]-e[1]),a("right",E(e)-E(h)),a("bottom",$(e)-$(h)),M}const R=(e,h)=>{const d=Math.max(e[0],h[0]),M=Math.max(e[1],h[1]);return[d,M,Math.min(E(e),E(h))-d,Math.min($(e),$(h))-M]},Z=(e,h,d)=>e[0]>=h[0]-d&&e[1]>=h[1]-d&&E(e)<=E(h)+d&&$(e)<=$(h)+d,O={left:e=>e[0],right:E,"centre-x":e=>e[0]+e[2]/2,top:e=>e[1],bottom:$,"centre-y":e=>e[1]+e[3]/2},D=e=>e.opaque||!e.text?.glyphs?e.box:e.text.glyphs,ee=new Set(Object.keys(O)),se=new Set(["left","right","top","bottom"]);function Q(e){if(e.opaque)return ee;if(!e.text?.glyphs)return se;const h=e.text.align??"l";return new Set([h==="ctr"?"centre-x":h==="r"?"right":"left"])}const te=(e,h)=>h.some(d=>new RegExp(`^${d.split("*").map(M=>M.replace(/[.*+?^${}()|[\]\\]/gu,"\\$&")).join(".*")}$`,"su").test(e)),ne=e=>e.box[2]>0||e.box[3]>0;export function deckFacts(e,h,d,M={}){const a={...DECK_FACT_DEFAULTS,...M},r=s=>w(s/e.pxPerPt),k=s=>[r(s[0]),r(s[1]),r(s[2]),r(s[3])],q=s=>s.map(n=>({side:n.side,pt:w(n.px/e.pxPerPt,1)})),H=s=>w(s,3),B=s=>s.opaque||!s.text?.glyphs?"frame":"glyphs",T=(s,n,x)=>n==="left"||n==="right"||n==="centre-x"?{shape:s.name,x:w(r(s.frame[0])+x)}:{shape:s.name,y:w(r(s.frame[1])+x)},g=[],F=[0,0,h.width,h.height],_=new Map,j=new Map,I=new Map;for(const s of e.slides){const n={...d,part:s.slide,t:s.t},x=j.get(s.slide)??{at:n,total:s.steps??1,measured:0,shapes:new Map};j.set(s.slide,x),x.measured++;for(const c of s.shapes){if(c.level!=="slide")continue;const t=x.shapes.get(c.name)??{hidden:0,by:[]};c.hidden===!0&&t.hidden++,x.shapes.set(c.name,t)}const b=s.shapes.filter(c=>ne(c)&&c.hidden!==!0&&(a.levels===void 0||a.levels.includes(c.level))&&!te(c.name,a.except??[]));let L=0,J=0,K=0;for(const[c,t]of b.entries()){t.chart&&g.push(m("chart-data",n,{shape:t.name,...t.chart}));const p=(t.rows??[]).flatMap((l,u)=>l.drawn>l.set+a.slack?[{row:u,set:r(l.set),drawn:r(l.drawn)}]:[]);p.length>0&&g.push(m("table-grown",n,{shape:t.name,set:r(t.frame[3]),drawn:r(t.box[3]),rows:p}));const o=t.text;if(o?.glyphs){K++,L+=o.words,J+=o.lines.length;const l=N(o.glyphs,t.box,a.slack);l.length>0&&g.push(m("text-overflow",n,{shape:t.name,text:o.text,box:k(t.box),glyphs:k(o.glyphs),edges:q(l),lines:o.lines.length,past:o.lines.filter(i=>N(i,t.box,a.slack).length>0).length,...o.scale===void 0?{}:{scale:o.scale}}));const u=N(o.glyphs,F,a.slack);if(u.length>0){const i=A(o.glyphs);g.push(m("text-off-slide",n,{shape:t.name,text:o.text,glyphs:k(o.glyphs),edges:q(u),share:i>0?H(1-A(R(o.glyphs,F))/i):1}))}for(const i of o.type){const v=`${String(i.size)}/${String(i.weight)}`,z=_.get(v)??{size:i.size,weight:i.weight,slides:new Set,shapes:new Set};z.slides.add(s.slide),z.shapes.add(`${s.slide}/${t.name}`),_.set(v,z)}const f=o.type.reduce((i,v)=>i===void 0||v.size<i.size?v:i,void 0);if(f){const i=a.room,v=f.xHeight===void 0?"em":"x",z=i&&(f.xHeight??f.size)*(i.screen*1e3/(h.width/e.pxPerPt));g.push(m("read-size",n,{shape:t.name,text:o.text,size:f.size,...f.xHeight===void 0?{}:{xHeight:f.xHeight},...i&&z!==void 0?{screen:{by:v,mm:w(z,1),arcmin:w(Math.atan(z/1e3/i.distance)*180*60/Math.PI,1)}}:{},phone:w(f.size*e.pxPerPt*X([h.width,h.height],a.phone),1),options:{...i?{room:{...i}}:{},phone:[...a.phone]}}))}}const S=N(t.box,F,a.slack);if(S.length>0){const l=A(t.box);g.push(m("shape-off-slide",n,{shape:t.name,box:k(t.box),edges:q(S),share:l>0?H(1-A(R(t.box,F))/l):1}))}if(t.picture){const[l,u]=t.picture.shown;if(l>0&&u>0){const f=Math.max(t.box[2]/l,t.box[3]/u),i=v=>v/e.pxPerPt/72;g.push(m("picture-resolution",n,{shape:t.name,source:t.picture.source,shown:t.picture.shown,box:k(t.box),scale:w(f),ppi:Math.round(Math.min(l/i(t.box[2]),u/i(t.box[3]))),stretch:w(t.box[2]/l/(t.box[3]/u)-1)}))}}const P=b.slice(c+1).find(l=>l.opaque&&Z(t.box,l.box,a.slack)),y=x.shapes.get(t.name);if(y?y.by.push(P?.name):P&&g.push(m("shape-hidden",n,{shape:t.name,by:P.name})),t.level==="slide"){const l=`${s.layout}\0${t.name}`,u=I.get(l)??new Map,f=[r(t.frame[0]),r(t.frame[1]),r(t.frame[2]),r(t.frame[3])],i=[...u.values()].find(v=>v.frame.every((z,V)=>Math.abs(z-(f[V]??0))<=a.drift));i?i.slides.includes(s.slide)||i.slides.push(s.slide):u.set(f.join(","),{frame:f,slides:[s.slide]}),I.set(l,u)}}for(let c=0;c<b.length;c++)for(let t=c+1;t<b.length;t++){const p=b[c],o=b[t];if(!p||!o)continue;const S=p.level==="slide"||o.level==="slide",P=R(D(p),D(o));if(S&&p.level==="slide"&&o.level==="slide"&&P[2]>a.slack&&P[3]>a.slack){const y=A(P);g.push(m("shape-overlap",n,{a:p.name,b:o.name,area:w(y/e.pxPerPt**2,1),share:H(y/Math.max(1,Math.min(A(D(p)),A(D(o)))))}))}if(S)for(const[y,l]of Object.entries(O)){if(!Q(p).has(y)||!Q(o).has(y))continue;const u=r(l(D(p))),f=r(l(D(o))),i=Math.abs(u-f);i>a.aligned&&i<=a.within&&g.push(m("near-alignment",n,{a:p.name,b:o.name,line:y,gap:w(i),at:{a:u,b:f},by:{a:B(p),b:B(o)},align:p.level==="slide"?T(p,y,f-u):T(o,y,u-f),options:{within:a.within,aligned:a.aligned}}))}}for(const c of b)if(!(c.level!=="slide"||!c.opaque))for(const t of["centre-x","centre-y"]){const p=r(O[t](c.box)),o=r(O[t](F)),S=Math.abs(p-o);S>a.aligned&&S<=a.within&&g.push(m("near-alignment",n,{a:c.name,b:"slide",line:t,gap:w(S),at:{a:p,b:o},by:{a:"frame",b:"frame"},align:T(c,t,o-p),options:{within:a.within,aligned:a.aligned}}))}g.push(m("words-on-slide",n,{words:L,lines:J,texts:K}))}for(const[s,n]of I){if(n.size<2)continue;const[x="",b=""]=s.split("\0");g.push(m("placement-drift",d,{layout:x,shape:b,places:[...n.values()],options:{drift:a.drift}}))}if(e.fonts&&e.fonts.length>0){const s=new Set(M.standard??Y);g.push(m("deck-fonts",d,{fonts:e.fonts.map(n=>({...n,standard:s.has(n.name)})),options:{standard:[...s]}}))}const C=[..._.values()].map(s=>({size:s.size,weight:s.weight,slides:s.slides.size,shapes:s.shapes.size})).sort((s,n)=>s.size-n.size||s.weight-n.weight),U=C[0];U&&g.push(m("type-in-use",d,{type:C,smallest:U.size}));for(const s of j.values())for(const[n,x]of s.shapes){const[b]=x.by;b!==void 0&&x.by.every(L=>L!==void 0)&&g.push(m("shape-hidden",s.at,{shape:n,by:b})),s.measured>=s.total&&x.hidden===s.measured&&g.push(m("shape-hidden",s.at,{shape:n,never:!0}))}const G=new Set;return g.filter(s=>{const n=JSON.stringify([s.kind,s.part,s.data]);return G.has(n)?!1:(G.add(n),!0)})}