@allyhub/sdk 0.4.0 → 0.6.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 (561) hide show
  1. package/{node_modules → dist/node_modules}/@allyhub-next/audio/package.json +1 -1
  2. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.d.ts +31 -0
  3. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +3 -0
  4. package/{node_modules/@allyhub-next/slides-core → dist/node_modules/@allyhub-next/chart}/dist/chart.d.ts +26 -15
  5. package/dist/node_modules/@allyhub-next/chart/dist/chart.js +2 -0
  6. package/dist/node_modules/@allyhub-next/chart/dist/index.d.ts +3 -0
  7. package/dist/node_modules/@allyhub-next/chart/dist/index.js +2 -0
  8. package/dist/node_modules/@allyhub-next/chart/package.json +14 -0
  9. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/reference.d.ts +0 -86
  10. package/dist/node_modules/@allyhub-next/formats/dist/data/reference.js +2 -0
  11. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +5087 -0
  12. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.js +2 -0
  13. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/slides.d.ts +306 -11
  14. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +2 -0
  15. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/index.d.ts +2 -0
  16. package/dist/node_modules/@allyhub-next/formats/dist/index.js +2 -0
  17. package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/items.d.ts +1 -1
  18. package/dist/node_modules/@allyhub-next/formats/dist/items.js +2 -0
  19. package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +2278 -0
  20. package/dist/node_modules/@allyhub-next/formats/dist/schemas.js +2 -0
  21. package/dist/node_modules/@allyhub-next/formats/dist/strict.d.ts +28 -0
  22. package/dist/node_modules/@allyhub-next/formats/dist/strict.js +2 -0
  23. package/dist/node_modules/@allyhub-next/formats/dist/zip.d.ts +17 -0
  24. package/dist/node_modules/@allyhub-next/formats/dist/zip.js +2 -0
  25. package/{node_modules → dist/node_modules}/@allyhub-next/formats/package.json +1 -1
  26. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/editor.d.ts +20 -0
  27. package/dist/node_modules/@allyhub-next/protocol/dist/editor.js +2 -0
  28. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/notes.d.ts +4 -0
  29. package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +2 -0
  30. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/tools.d.ts +6 -0
  31. package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +2 -0
  32. package/{node_modules → dist/node_modules}/@allyhub-next/protocol/package.json +1 -1
  33. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/lock.d.ts +2 -0
  34. package/dist/node_modules/@allyhub-next/runtimes/dist/lock.js +2 -0
  35. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/runtimes.d.ts +6 -0
  36. package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.js +4 -0
  37. package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/package.json +1 -1
  38. package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/moire.d.ts +7 -0
  39. package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/phone.d.ts +3 -1
  40. package/dist/node_modules/@allyhub-next/scenery/dist/phone.js +2 -0
  41. package/{node_modules → dist/node_modules}/@allyhub-next/scenery/package.json +1 -1
  42. package/dist/node_modules/@allyhub-next/sheet/dist/address.d.ts +32 -0
  43. package/dist/node_modules/@allyhub-next/sheet/dist/address.js +2 -0
  44. package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.d.ts +23 -0
  45. package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +2 -0
  46. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.d.ts +204 -0
  47. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.js +2 -0
  48. package/dist/node_modules/@allyhub-next/sheet/dist/api/code.d.ts +19 -0
  49. package/dist/node_modules/@allyhub-next/sheet/dist/api/code.js +2 -0
  50. package/dist/node_modules/@allyhub-next/sheet/dist/api/hint.d.ts +3 -0
  51. package/dist/node_modules/@allyhub-next/sheet/dist/api/hint.js +2 -0
  52. package/dist/node_modules/@allyhub-next/sheet/dist/api/index.d.ts +8 -0
  53. package/dist/node_modules/@allyhub-next/sheet/dist/api/index.js +2 -0
  54. package/dist/node_modules/@allyhub-next/sheet/dist/api/page.d.ts +83 -0
  55. package/dist/node_modules/@allyhub-next/sheet/dist/api/page.js +2 -0
  56. package/dist/node_modules/@allyhub-next/sheet/dist/api/rectangles.d.ts +4 -0
  57. package/dist/node_modules/@allyhub-next/sheet/dist/api/rectangles.js +2 -0
  58. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.d.ts +170 -0
  59. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.js +2 -0
  60. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.d.ts +117 -0
  61. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.js +2 -0
  62. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.d.ts +362 -0
  63. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +2 -0
  64. package/dist/node_modules/@allyhub-next/sheet/dist/arrange.d.ts +68 -0
  65. package/dist/node_modules/@allyhub-next/sheet/dist/arrange.js +2 -0
  66. package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.d.ts +21 -0
  67. package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.js +2 -0
  68. package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.d.ts +19 -0
  69. package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.js +2 -0
  70. package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.d.ts +152 -0
  71. package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.js +2 -0
  72. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.d.ts +2 -0
  73. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.js +2 -0
  74. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.d.ts +15 -0
  75. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.js +2 -0
  76. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.d.ts +2 -0
  77. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.js +2 -0
  78. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.d.ts +2 -0
  79. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.js +2 -0
  80. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.d.ts +69 -0
  81. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.js +2 -0
  82. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/distributions.d.ts +2 -0
  83. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/distributions.js +2 -0
  84. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.d.ts +2 -0
  85. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.js +2 -0
  86. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.d.ts +2 -0
  87. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.js +2 -0
  88. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.d.ts +15 -0
  89. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.js +2 -0
  90. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.d.ts +2 -0
  91. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.js +2 -0
  92. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.d.ts +2 -0
  93. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.js +2 -0
  94. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.d.ts +2 -0
  95. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.js +2 -0
  96. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.d.ts +2 -0
  97. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.js +2 -0
  98. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.d.ts +2 -0
  99. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.js +2 -0
  100. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/special.d.ts +29 -0
  101. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/special.js +2 -0
  102. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.d.ts +2 -0
  103. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.js +2 -0
  104. package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.d.ts +50 -0
  105. package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.js +2 -0
  106. package/dist/node_modules/@allyhub-next/sheet/dist/chart.d.ts +58 -0
  107. package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +2 -0
  108. package/dist/node_modules/@allyhub-next/sheet/dist/check.d.ts +15 -0
  109. package/dist/node_modules/@allyhub-next/sheet/dist/check.js +2 -0
  110. package/dist/node_modules/@allyhub-next/sheet/dist/csv.d.ts +62 -0
  111. package/dist/node_modules/@allyhub-next/sheet/dist/csv.js +12 -0
  112. package/dist/node_modules/@allyhub-next/sheet/dist/diff.d.ts +64 -0
  113. package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +2 -0
  114. package/dist/node_modules/@allyhub-next/sheet/dist/edit.d.ts +154 -0
  115. package/dist/node_modules/@allyhub-next/sheet/dist/edit.js +2 -0
  116. package/dist/node_modules/@allyhub-next/sheet/dist/export.d.ts +11 -0
  117. package/dist/node_modules/@allyhub-next/sheet/dist/export.js +6 -0
  118. package/dist/node_modules/@allyhub-next/sheet/dist/file.d.ts +19 -0
  119. package/dist/node_modules/@allyhub-next/sheet/dist/file.js +3 -0
  120. package/dist/node_modules/@allyhub-next/sheet/dist/files.d.ts +24 -0
  121. package/dist/node_modules/@allyhub-next/sheet/dist/files.js +2 -0
  122. package/dist/node_modules/@allyhub-next/sheet/dist/fill.d.ts +30 -0
  123. package/dist/node_modules/@allyhub-next/sheet/dist/fill.js +2 -0
  124. package/dist/node_modules/@allyhub-next/sheet/dist/filter.d.ts +29 -0
  125. package/dist/node_modules/@allyhub-next/sheet/dist/filter.js +2 -0
  126. package/dist/node_modules/@allyhub-next/sheet/dist/format.d.ts +9 -0
  127. package/dist/node_modules/@allyhub-next/sheet/dist/format.js +2 -0
  128. package/dist/node_modules/@allyhub-next/sheet/dist/formula/ast.d.ts +113 -0
  129. package/dist/node_modules/@allyhub-next/sheet/dist/formula/ast.js +2 -0
  130. package/dist/node_modules/@allyhub-next/sheet/dist/formula/move.d.ts +6 -0
  131. package/dist/node_modules/@allyhub-next/sheet/dist/formula/move.js +2 -0
  132. package/dist/node_modules/@allyhub-next/sheet/dist/formula/parse.d.ts +4 -0
  133. package/dist/node_modules/@allyhub-next/sheet/dist/formula/parse.js +2 -0
  134. package/dist/node_modules/@allyhub-next/sheet/dist/formula/print.d.ts +6 -0
  135. package/dist/node_modules/@allyhub-next/sheet/dist/formula/print.js +2 -0
  136. package/dist/node_modules/@allyhub-next/sheet/dist/formula/rewrite.d.ts +65 -0
  137. package/dist/node_modules/@allyhub-next/sheet/dist/formula/rewrite.js +2 -0
  138. package/dist/node_modules/@allyhub-next/sheet/dist/formula/walk.d.ts +6 -0
  139. package/dist/node_modules/@allyhub-next/sheet/dist/formula/walk.js +2 -0
  140. package/dist/node_modules/@allyhub-next/sheet/dist/generated.d.ts +46 -0
  141. package/dist/node_modules/@allyhub-next/sheet/dist/generated.js +2 -0
  142. package/dist/node_modules/@allyhub-next/sheet/dist/html.d.ts +34 -0
  143. package/dist/node_modules/@allyhub-next/sheet/dist/html.js +20 -0
  144. package/dist/node_modules/@allyhub-next/sheet/dist/import.d.ts +11 -0
  145. package/dist/node_modules/@allyhub-next/sheet/dist/import.js +2 -0
  146. package/dist/node_modules/@allyhub-next/sheet/dist/index.d.ts +38 -0
  147. package/dist/node_modules/@allyhub-next/sheet/dist/index.js +2 -0
  148. package/dist/node_modules/@allyhub-next/sheet/dist/inspect.d.ts +25 -0
  149. package/dist/node_modules/@allyhub-next/sheet/dist/inspect.js +2 -0
  150. package/dist/node_modules/@allyhub-next/sheet/dist/patch.d.ts +4 -0
  151. package/dist/node_modules/@allyhub-next/sheet/dist/patch.js +2 -0
  152. package/dist/node_modules/@allyhub-next/sheet/dist/profile.d.ts +30 -0
  153. package/dist/node_modules/@allyhub-next/sheet/dist/profile.js +2 -0
  154. package/dist/node_modules/@allyhub-next/sheet/dist/rules.d.ts +56 -0
  155. package/dist/node_modules/@allyhub-next/sheet/dist/rules.js +2 -0
  156. package/dist/node_modules/@allyhub-next/sheet/dist/scenario.d.ts +42 -0
  157. package/dist/node_modules/@allyhub-next/sheet/dist/scenario.js +2 -0
  158. package/dist/node_modules/@allyhub-next/sheet/dist/series.d.ts +10 -0
  159. package/dist/node_modules/@allyhub-next/sheet/dist/series.js +2 -0
  160. package/dist/node_modules/@allyhub-next/sheet/dist/sort.d.ts +24 -0
  161. package/dist/node_modules/@allyhub-next/sheet/dist/sort.js +2 -0
  162. package/dist/node_modules/@allyhub-next/sheet/dist/structure.d.ts +38 -0
  163. package/dist/node_modules/@allyhub-next/sheet/dist/structure.js +2 -0
  164. package/dist/node_modules/@allyhub-next/sheet/dist/validate.d.ts +26 -0
  165. package/dist/node_modules/@allyhub-next/sheet/dist/validate.js +2 -0
  166. package/dist/node_modules/@allyhub-next/sheet/dist/values.d.ts +67 -0
  167. package/dist/node_modules/@allyhub-next/sheet/dist/values.js +2 -0
  168. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +315 -0
  169. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +2 -0
  170. package/dist/node_modules/@allyhub-next/sheet/dist/write.d.ts +5 -0
  171. package/dist/node_modules/@allyhub-next/sheet/dist/write.js +21 -0
  172. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +44 -0
  173. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +2 -0
  174. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/colors.d.ts +19 -0
  175. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/colors.js +2 -0
  176. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.d.ts +21 -0
  177. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.js +4 -0
  178. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.d.ts +5 -0
  179. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.js +17 -0
  180. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +47 -0
  181. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +2 -0
  182. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/index.d.ts +5 -0
  183. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/index.js +2 -0
  184. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/numfmt.d.ts +8 -0
  185. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/numfmt.js +2 -0
  186. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +118 -0
  187. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +2 -0
  188. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.d.ts +23 -0
  189. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.js +2 -0
  190. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/theme.d.ts +3 -0
  191. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/theme.js +2 -0
  192. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.d.ts +17 -0
  193. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +2 -0
  194. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/xml.d.ts +28 -0
  195. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/xml.js +3 -0
  196. package/dist/node_modules/@allyhub-next/sheet/package.json +21 -0
  197. package/dist/node_modules/@allyhub-next/slides-core/LICENSE +241 -0
  198. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/api.d.ts +64 -7
  199. package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +4 -0
  200. package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.js +2 -0
  201. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/chart-api.d.ts +24 -1
  202. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +2 -0
  203. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/chart-file.d.ts +1 -1
  204. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +2 -0
  205. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/enums.d.ts +20 -0
  206. package/dist/node_modules/@allyhub-next/slides-core/dist/enums.js +2 -0
  207. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/index.d.ts +2 -1
  208. package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +2 -0
  209. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/model.d.ts +39 -6
  210. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/office.d.ts +10 -0
  211. package/dist/node_modules/@allyhub-next/slides-core/dist/office.js +2 -0
  212. package/dist/node_modules/@allyhub-next/slides-core/dist/preset.d.ts +5 -0
  213. package/dist/node_modules/@allyhub-next/slides-core/dist/preset.js +2 -0
  214. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/resolve.d.ts +8 -3
  215. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +2 -0
  216. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +7 -0
  217. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +2 -0
  218. package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/package.json +1 -1
  219. package/dist/node_modules/@allyhub-next/video-core/LICENSE +241 -0
  220. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/fact.d.ts +8 -2
  221. package/dist/node_modules/@allyhub-next/video-core/dist/fact.js +2 -0
  222. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/formats.d.ts +0 -28
  223. package/dist/node_modules/@allyhub-next/video-core/dist/formats.js +2 -0
  224. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/measure.d.ts +10 -0
  225. package/dist/node_modules/@allyhub-next/video-core/dist/measure.js +5 -0
  226. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/problem.d.ts +5 -1
  227. package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +2 -0
  228. package/{node_modules → dist/node_modules}/@allyhub-next/video-core/package.json +1 -1
  229. package/dist/phone.js +1 -1
  230. package/dist/sheets.d.ts +2 -0
  231. package/dist/sheets.js +2 -0
  232. package/docs/README.md +2 -2
  233. package/docs/defaults.md +24 -0
  234. package/docs/project.md +1 -1
  235. package/docs/scenery.md +1 -1
  236. package/docs/sheets.md +402 -84
  237. package/docs/slides.md +5 -5
  238. package/docs/speech.md +1 -1
  239. package/package.json +11 -19
  240. package/node_modules/@allyhub-next/formats/dist/data/reference.js +0 -2
  241. package/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +0 -214
  242. package/node_modules/@allyhub-next/formats/dist/data/sheet.js +0 -2
  243. package/node_modules/@allyhub-next/formats/dist/data/slides.js +0 -2
  244. package/node_modules/@allyhub-next/formats/dist/index.js +0 -2
  245. package/node_modules/@allyhub-next/formats/dist/items.js +0 -2
  246. package/node_modules/@allyhub-next/formats/dist/schemas.d.ts +0 -719
  247. package/node_modules/@allyhub-next/formats/dist/schemas.js +0 -2
  248. package/node_modules/@allyhub-next/protocol/dist/editor.js +0 -2
  249. package/node_modules/@allyhub-next/protocol/dist/notes.js +0 -2
  250. package/node_modules/@allyhub-next/protocol/dist/tools.js +0 -2
  251. package/node_modules/@allyhub-next/runtimes/dist/lock.js +0 -2
  252. package/node_modules/@allyhub-next/runtimes/dist/runtimes.js +0 -3
  253. package/node_modules/@allyhub-next/runtimes/pins/exceljs/package-lock.json +0 -2533
  254. package/node_modules/@allyhub-next/runtimes/pins/exceljs/package.json +0 -8
  255. package/node_modules/@allyhub-next/scenery/dist/phone.js +0 -2
  256. package/node_modules/@allyhub-next/slides-core/dist/api.js +0 -4
  257. package/node_modules/@allyhub-next/slides-core/dist/capabilities.js +0 -2
  258. package/node_modules/@allyhub-next/slides-core/dist/chart-api.js +0 -2
  259. package/node_modules/@allyhub-next/slides-core/dist/chart-file.js +0 -2
  260. package/node_modules/@allyhub-next/slides-core/dist/chart.js +0 -2
  261. package/node_modules/@allyhub-next/slides-core/dist/enums.js +0 -2
  262. package/node_modules/@allyhub-next/slides-core/dist/index.js +0 -2
  263. package/node_modules/@allyhub-next/slides-core/dist/office.js +0 -2
  264. package/node_modules/@allyhub-next/slides-core/dist/resolve.js +0 -2
  265. package/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +0 -23
  266. package/node_modules/@allyhub-next/slides-core/dist/strict.js +0 -2
  267. package/node_modules/@allyhub-next/video-core/dist/fact.js +0 -2
  268. package/node_modules/@allyhub-next/video-core/dist/formats.js +0 -2
  269. package/node_modules/@allyhub-next/video-core/dist/measure.js +0 -5
  270. package/node_modules/@allyhub-next/video-core/dist/problem.js +0 -2
  271. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/LICENSE +0 -0
  272. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/at-cut.d.ts +0 -0
  273. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/at-cut.js +0 -0
  274. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/decode.d.ts +0 -0
  275. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/decode.js +0 -0
  276. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/envelope.d.ts +0 -0
  277. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/envelope.js +0 -0
  278. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/index.d.ts +0 -0
  279. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/index.js +0 -0
  280. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/levels.d.ts +0 -0
  281. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/levels.js +0 -0
  282. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/master.d.ts +0 -0
  283. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/master.js +0 -0
  284. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/music.d.ts +0 -0
  285. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/music.js +0 -0
  286. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/decode.d.ts +0 -0
  287. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/decode.js +0 -0
  288. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ebur128.d.ts +0 -0
  289. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ebur128.js +0 -0
  290. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ffmpeg.d.ts +0 -0
  291. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ffmpeg.js +0 -0
  292. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/index.d.ts +0 -0
  293. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/index.js +0 -0
  294. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/loudness.d.ts +0 -0
  295. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/loudness.js +0 -0
  296. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/master.d.ts +0 -0
  297. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/master.js +0 -0
  298. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/measure.d.ts +0 -0
  299. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/measure.js +0 -0
  300. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/mix.d.ts +0 -0
  301. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/mix.js +0 -0
  302. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/plan.d.ts +0 -0
  303. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/plan.js +0 -0
  304. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recorded.d.ts +0 -0
  305. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recorded.js +0 -0
  306. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/bandwidth.d.ts +0 -0
  307. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/bandwidth.js +0 -0
  308. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/chain.d.ts +0 -0
  309. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/chain.js +0 -0
  310. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/dynamics.d.ts +0 -0
  311. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/dynamics.js +0 -0
  312. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fft.d.ts +0 -0
  313. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fft.js +0 -0
  314. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/filters.d.ts +0 -0
  315. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/filters.js +0 -0
  316. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fit.d.ts +0 -0
  317. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fit.js +0 -0
  318. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/index.d.ts +0 -0
  319. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/index.js +0 -0
  320. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/loudness.d.ts +0 -0
  321. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/loudness.js +0 -0
  322. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/measure.d.ts +0 -0
  323. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/measure.js +0 -0
  324. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/mic.d.ts +0 -0
  325. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/mic.js +0 -0
  326. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/noise.d.ts +0 -0
  327. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/noise.js +0 -0
  328. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/presets.d.ts +0 -0
  329. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/presets.js +0 -0
  330. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/room.d.ts +0 -0
  331. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/room.js +0 -0
  332. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/setup.d.ts +0 -0
  333. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/setup.js +0 -0
  334. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/vec.d.ts +0 -0
  335. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/vec.js +0 -0
  336. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/render.d.ts +0 -0
  337. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/render.js +0 -0
  338. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/sfx.d.ts +0 -0
  339. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/sfx.js +0 -0
  340. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/shape.d.ts +0 -0
  341. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/shape.js +0 -0
  342. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/voice.d.ts +0 -0
  343. /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/voice.js +0 -0
  344. /package/{node_modules/@allyhub-next/formats → dist/node_modules/@allyhub-next/chart}/LICENSE +0 -0
  345. /package/{node_modules/@allyhub-next/protocol → dist/node_modules/@allyhub-next/formats}/LICENSE +0 -0
  346. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/comments.d.ts +0 -0
  347. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/comments.js +0 -0
  348. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/config.d.ts +0 -0
  349. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/config.js +0 -0
  350. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/edits.d.ts +0 -0
  351. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/edits.js +0 -0
  352. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/elements.d.ts +0 -0
  353. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/elements.js +0 -0
  354. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/faces.d.ts +0 -0
  355. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/faces.js +0 -0
  356. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/file.d.ts +0 -0
  357. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/file.js +0 -0
  358. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/gen.d.ts +0 -0
  359. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/gen.js +0 -0
  360. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/messages.d.ts +0 -0
  361. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/messages.js +0 -0
  362. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/script.d.ts +0 -0
  363. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/script.js +0 -0
  364. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/words.d.ts +0 -0
  365. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/words.js +0 -0
  366. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/layout.d.ts +0 -0
  367. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/layout.js +0 -0
  368. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/note-shape.d.ts +0 -0
  369. /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/note-shape.js +0 -0
  370. /package/{node_modules/@allyhub-next/runtimes → dist/node_modules/@allyhub-next/protocol}/LICENSE +0 -0
  371. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/app.d.ts +0 -0
  372. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/app.js +0 -0
  373. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/auth.d.ts +0 -0
  374. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/auth.js +0 -0
  375. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cli.d.ts +0 -0
  376. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cli.js +0 -0
  377. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cloud.d.ts +0 -0
  378. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cloud.js +0 -0
  379. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/files.d.ts +0 -0
  380. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/files.js +0 -0
  381. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/index.d.ts +0 -0
  382. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/index.js +0 -0
  383. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/jsonrpc.d.ts +0 -0
  384. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/jsonrpc.js +0 -0
  385. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/registry.d.ts +0 -0
  386. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/registry.js +0 -0
  387. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/routes.d.ts +0 -0
  388. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/routes.js +0 -0
  389. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/runtimes.d.ts +0 -0
  390. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/runtimes.js +0 -0
  391. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/teams.d.ts +0 -0
  392. /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/teams.js +0 -0
  393. /package/{node_modules/@allyhub-next/scenery → dist/node_modules/@allyhub-next/runtimes}/LICENSE +0 -0
  394. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/bundled.d.ts +0 -0
  395. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/bundled.js +0 -0
  396. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/download.d.ts +0 -0
  397. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/download.js +0 -0
  398. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/errors.d.ts +0 -0
  399. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/errors.js +0 -0
  400. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/home.d.ts +0 -0
  401. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/home.js +0 -0
  402. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/index.d.ts +0 -0
  403. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/index.js +0 -0
  404. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/manifest.d.ts +0 -0
  405. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/manifest.js +0 -0
  406. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/node-program.d.ts +0 -0
  407. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/node-program.js +0 -0
  408. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/packages.d.ts +0 -0
  409. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/packages.js +0 -0
  410. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/unpack.d.ts +0 -0
  411. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/unpack.js +0 -0
  412. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/manifest.json +0 -0
  413. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/docx/package-lock.json +0 -0
  414. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/docx/package.json +0 -0
  415. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/gltf-tools/package-lock.json +0 -0
  416. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/gltf-tools/package.json +0 -0
  417. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/manifold-3d/package-lock.json +0 -0
  418. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/manifold-3d/package.json +0 -0
  419. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/onnxruntime-node/package-lock.json +0 -0
  420. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/onnxruntime-node/package.json +0 -0
  421. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -0
  422. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/sherpa-onnx-node/package.json +0 -0
  423. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/tesseract.js/package-lock.json +0 -0
  424. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/pins/tesseract.js/package.json +0 -0
  425. /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/schemas/runtimes.schema.json +0 -0
  426. /package/{node_modules/@allyhub-next/slides-core → dist/node_modules/@allyhub-next/scenery}/LICENSE +0 -0
  427. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/NOTICE +0 -0
  428. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/aim.d.ts +0 -0
  429. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/aim.js +0 -0
  430. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/bake.d.ts +0 -0
  431. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/bake.js +0 -0
  432. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/camera.d.ts +0 -0
  433. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/camera.js +0 -0
  434. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/curve.d.ts +0 -0
  435. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/curve.js +0 -0
  436. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/define.d.ts +0 -0
  437. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/define.js +0 -0
  438. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/fit.d.ts +0 -0
  439. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/fit.js +0 -0
  440. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/glass.d.ts +0 -0
  441. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/glass.js +0 -0
  442. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/handheld.d.ts +0 -0
  443. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/handheld.js +0 -0
  444. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/hull.d.ts +0 -0
  445. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/hull.js +0 -0
  446. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/index.d.ts +0 -0
  447. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/index.js +0 -0
  448. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/lens.d.ts +0 -0
  449. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/lens.js +0 -0
  450. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/moire.js +0 -0
  451. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/motion.d.ts +0 -0
  452. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/motion.js +0 -0
  453. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/move.d.ts +0 -0
  454. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/move.js +0 -0
  455. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/noise.d.ts +0 -0
  456. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/noise.js +0 -0
  457. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/report.d.ts +0 -0
  458. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/report.js +0 -0
  459. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen-focus.d.ts +0 -0
  460. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen-focus.js +0 -0
  461. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen.d.ts +0 -0
  462. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen.js +0 -0
  463. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/solve.d.ts +0 -0
  464. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/solve.js +0 -0
  465. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/timing.d.ts +0 -0
  466. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/timing.js +0 -0
  467. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/vec.d.ts +0 -0
  468. /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/vec.js +0 -0
  469. /package/{node_modules/@allyhub-next/video-core → dist/node_modules/@allyhub-next/sheet}/LICENSE +0 -0
  470. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/animation.d.ts +0 -0
  471. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/animation.js +0 -0
  472. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/capabilities.d.ts +0 -0
  473. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/check.d.ts +0 -0
  474. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/check.js +0 -0
  475. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/file.d.ts +0 -0
  476. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/file.js +0 -0
  477. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/measure.d.ts +0 -0
  478. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/measure.js +0 -0
  479. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/model.js +0 -0
  480. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/path.d.ts +0 -0
  481. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/path.js +0 -0
  482. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/placeholders.d.ts +0 -0
  483. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/placeholders.js +0 -0
  484. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/script.d.ts +0 -0
  485. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/script.js +0 -0
  486. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/stage.d.ts +0 -0
  487. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/stage.js +0 -0
  488. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/theme.d.ts +0 -0
  489. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/theme.js +0 -0
  490. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/units.d.ts +0 -0
  491. /package/{node_modules → dist/node_modules}/@allyhub-next/slides-core/dist/units.js +0 -0
  492. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/anchors.d.ts +0 -0
  493. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/anchors.js +0 -0
  494. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/audio-types.d.ts +0 -0
  495. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/audio-types.js +0 -0
  496. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/backdrop.d.ts +0 -0
  497. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/backdrop.js +0 -0
  498. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/captions.d.ts +0 -0
  499. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/captions.js +0 -0
  500. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/console.d.ts +0 -0
  501. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/console.js +0 -0
  502. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/contrast.d.ts +0 -0
  503. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/contrast.js +0 -0
  504. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/cut-report.d.ts +0 -0
  505. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/cut-report.js +0 -0
  506. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edit.d.ts +0 -0
  507. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edit.js +0 -0
  508. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edits.d.ts +0 -0
  509. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edits.js +0 -0
  510. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/export.d.ts +0 -0
  511. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/export.js +0 -0
  512. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/footage-motion.d.ts +0 -0
  513. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/footage-motion.js +0 -0
  514. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/gen.d.ts +0 -0
  515. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/gen.js +0 -0
  516. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/index.d.ts +0 -0
  517. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/index.js +0 -0
  518. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/look.d.ts +0 -0
  519. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/look.js +0 -0
  520. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/marks.d.ts +0 -0
  521. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/marks.js +0 -0
  522. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/matrix.d.ts +0 -0
  523. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/matrix.js +0 -0
  524. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/media.d.ts +0 -0
  525. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/media.js +0 -0
  526. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/messages.d.ts +0 -0
  527. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/messages.js +0 -0
  528. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/motion.d.ts +0 -0
  529. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/motion.js +0 -0
  530. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/music.d.ts +0 -0
  531. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/music.js +0 -0
  532. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/piece.d.ts +0 -0
  533. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/piece.js +0 -0
  534. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/placement.d.ts +0 -0
  535. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/placement.js +0 -0
  536. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/render-types.d.ts +0 -0
  537. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/render-types.js +0 -0
  538. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/schema.d.ts +0 -0
  539. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/schema.js +0 -0
  540. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script-edit.d.ts +0 -0
  541. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script-edit.js +0 -0
  542. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script.d.ts +0 -0
  543. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script.js +0 -0
  544. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/seams.d.ts +0 -0
  545. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/seams.js +0 -0
  546. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/sound-under.d.ts +0 -0
  547. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/sound-under.js +0 -0
  548. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/speech.d.ts +0 -0
  549. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/speech.js +0 -0
  550. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timeline.d.ts +0 -0
  551. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timeline.js +0 -0
  552. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timing.d.ts +0 -0
  553. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timing.js +0 -0
  554. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transcript.d.ts +0 -0
  555. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transcript.js +0 -0
  556. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transition.d.ts +0 -0
  557. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transition.js +0 -0
  558. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/voice.d.ts +0 -0
  559. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/voice.js +0 -0
  560. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/words.d.ts +0 -0
  561. /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/words.js +0 -0
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{strict as a}from"@allyhub-next/formats";import{cellName as S,rangeName as P,readAddress as L,readArea as N}from"../address.js";import{SHEET_CHART_DEFAULTS as w}from"../chart.js";import{sheetPrefix as z}from"../formula/print.js";import{HINT as o}from"./hint.js";import{colorText as E}from"./styles.js";const x=96/2.54,y=r=>Math.round(r*x),b=r=>Number((r/x).toFixed(3));function u(r,e,t){for(const s of Object.keys(e))if(!t.includes(s))throw new TypeError(`${r} takes ${t.join(", ")}; it has no ${s}. ${o}`)}export class Reference{worksheet;min_col;min_row;max_col;max_row;constructor(e,t){u("Reference",t,["min_col","min_row","max_col","max_row","range_string"]),this.worksheet=e;let s;if(t.range_string!==void 0){const c=t.range_string.lastIndexOf("!");if(s=N(t.range_string.slice(c+1).replaceAll("$","")),!s)throw new TypeError(`${t.range_string} is not a range. ${o}`)}return this.min_col=s?s.left+1:t.min_col??1,this.min_row=s?s.top+1:t.min_row??1,this.max_col=s?s.right+1:t.max_col??this.min_col,this.max_row=s?s.bottom+1:t.max_row??this.min_row,a(this,"Reference",o)}_text(e){const t={top:this.min_row-1,left:this.min_col-1,bottom:this.max_row-1,right:this.max_col-1},s=this.worksheet?.title;return`${s===void 0||s===e?"":z(s)}${P(t)}`}cols(){return Array.from({length:this.max_col-this.min_col+1},(e,t)=>new Reference(this.worksheet,{min_col:this.min_col+t,max_col:this.min_col+t,min_row:this.min_row,max_row:this.max_row}))}rows(){return Array.from({length:this.max_row-this.min_row+1},(e,t)=>new Reference(this.worksheet,{min_col:this.min_col,max_col:this.max_col,min_row:this.min_row+t,max_row:this.min_row+t}))}pop(){const e=new Reference(this.worksheet,{min_col:this.min_col,max_col:this.min_col,min_row:this.min_row,max_row:this.min_row});return this.min_row<this.max_row?this.min_row+=1:this.min_col+=1,e}}const g=(r,e)=>r===void 0?void 0:typeof r=="string"?r:r._text(e);export class LineProperties{width;solidFill;noFill;constructor(){return a(this,"LineProperties",o)}}export class GraphicalProperties{solidFill;noFill;line=new LineProperties;constructor(){return a(this,"GraphicalProperties",o)}}export class Marker{symbol;size;constructor(e={}){return u("Marker",e,["symbol","size"]),this.symbol=e.symbol,this.size=e.size,a(this,"Marker",o)}}export class Series{val;xVal;title;_titleRef;smooth;marker=new Marker;graphicalProperties=new GraphicalProperties;_format;constructor(e,t={}){if(u("Series",t,["xvalues","title","title_from_data"]),this.val=e,this.xVal=t.xvalues,this.title=t.title,t.title_from_data===!0){if(!(e instanceof Reference))throw new TypeError("title_from_data takes a Reference: a table's column names itself.");this._titleRef=e.pop()}return a(this,"Series",o)}}export class Legend{position="r";constructor(){return a(this,"Legend",o)}}export class Scaling{min;max;orientation="minMax";constructor(){return a(this,"Scaling",o)}}class k{title;scaling=new Scaling;majorUnit;number_format;delete;majorGridlines;_spec(){const e=this.scaling,t={...this.title===void 0?{}:{title:this.title},...e.min===void 0?{}:{min:e.min},...e.max===void 0?{}:{max:e.max},...this.majorUnit===void 0?{}:{major:this.majorUnit},...this.majorGridlines===null?{gridlines:!1}:{},...this.delete===!0?{visible:!1}:{},...this.number_format===void 0?{}:{format:this.number_format},...e.orientation==="maxMin"?{reverse:!0}:{}};return Object.keys(t).length===0?void 0:t}_hold(e){e&&(this.title=e.title,this.scaling.min=e.min,this.scaling.max=e.max,this.majorUnit=e.major,this.number_format=e.format,e.visible===!1&&(this.delete=!0),e.gridlines===!1&&(this.majorGridlines=null),e.reverse===!0&&(this.scaling.orientation="maxMin"))}}export class TextAxis extends k{constructor(){return super(),a(this,"TextAxis",o)}}export class NumericAxis extends k{constructor(){return super(),a(this,"NumericAxis",o)}}export class DataLabelList{showVal;showPercent;showCatName;showSerName;dLblPos;constructor(){return a(this,"DataLabelList",o)}}const A={r:"right",l:"left",t:"top",b:"bottom"},$={right:"r",left:"l",top:"t",bottom:"b"};export class ChartBase{title;legend=new Legend;width=15;height=7.5;style;anchor;series=[];dataLabels;x_axis=new TextAxis;y_axis=new NumericAxis;_labels;_held={};_plainSize;add_data(e,t={}){if(u("add_data",t,["titles_from_data","from_rows","title"]),typeof e=="string"){this.series.push(new Series(e,t.title===void 0?{}:{title:t.title}));return}for(const s of t.from_rows===!0?e.rows():e.cols())this.series.push(new Series(s,{title_from_data:t.titles_from_data===!0}))}set_categories(e){this._labels=e}append(e){this.series.push(e)}_spec(e){const t=this.dataLabels,s={category:this.x_axis._spec(),value:this.y_axis._spec()},c=this.series.map(l=>{const d=l.graphicalProperties,_=d.solidFill??d.line.solidFill,h=g(l._titleRef,e),f=g(l.xVal,e);return{values:g(l.val,e)??"",...f===void 0?{}:{x:f},...h!==void 0?{name:`=${h}`}:l.title===void 0?{}:{name:l.title},..._===void 0?{}:{color:E(_)},...l._format===void 0?{}:{format:l._format},...l.smooth===void 0?{}:{smooth:l.smooth},...d.line.width===void 0?{}:{line_width:d.line.width/12700},...l.marker.size===void 0?{}:{marker_size:l.marker.size}}}),m=g(this._labels,e),p=this.legend?A[this.legend.position]:void 0;return{...this._held,type:this._type(),at:this.anchor??"E15",...this.width===this._plainSize?.width?{}:{width:y(this.width)},...this.height===this._plainSize?.height?{}:{height:y(this.height)},...this.title===void 0?{}:{title:this.title},...m===void 0?{}:{categories:m},series:c,...p===void 0?{}:{legend:p},...t?{labels:{...t.showVal===void 0?{}:{value:t.showVal},...t.showPercent===void 0?{}:{percentage:t.showPercent},...t.showCatName===void 0?{}:{category:t.showCatName},...t.showSerName===void 0?{}:{series:t.showSerName},...t.dLblPos===void 0?{}:{position:t.dLblPos}}}:{},...s.value?{value_axis:s.value}:{},...s.category?{category_axis:s.category}:{}}}}export class BarChart extends ChartBase{type="col";grouping="clustered";overlap;gapWidth;varyColors;constructor(e={}){return super(),u("BarChart",e,["type","grouping"]),e.type&&(this.type=e.type),e.grouping&&(this.grouping=e.grouping),a(this,"BarChart",o)}_type(){const e=this.type==="bar"?"bar":"column";return this.grouping==="stacked"?`${e}-stacked`:this.grouping==="percentStacked"?`${e}-stacked-100`:`${e}-clustered`}_spec(e){return{...super._spec(e),...this.overlap===void 0?{}:{overlap:this.overlap},...this.gapWidth===void 0?{}:{gap_width:this.gapWidth},...this.varyColors===void 0?{}:{vary_by_categories:this.varyColors}}}}export class LineChart extends ChartBase{grouping="standard";constructor(){return super(),a(this,"LineChart",o)}_type(){if(this.grouping!=="standard")throw new TypeError(`A line chart here is standard, not ${this.grouping}: an AreaChart stacks. ${o}`);return this.series.some(e=>e.marker.symbol!==void 0&&e.marker.symbol!=="none")?"line-markers":"line"}}export class AreaChart extends ChartBase{grouping="standard";constructor(e={}){return super(),u("AreaChart",e,["grouping"]),e.grouping&&(this.grouping=e.grouping),a(this,"AreaChart",o)}_type(){return this.grouping==="stacked"?"area-stacked":this.grouping==="percentStacked"?"area-stacked-100":"area"}}export class PieChart extends ChartBase{varyColors=!0;constructor(){return super(),a(this,"PieChart",o)}_type(){return"pie"}_spec(e){return{...super._spec(e),...this.varyColors?{}:{vary_by_categories:!1}}}}export class DoughnutChart extends ChartBase{holeSize=50;constructor(){return super(),a(this,"DoughnutChart",o)}_type(){return"doughnut"}_spec(e){return{...super._spec(e),...this.holeSize===50?{}:{hole_size:this.holeSize}}}}export class ScatterChart extends ChartBase{x_axis=new NumericAxis;constructor(){return super(),a(this,"ScatterChart",o)}_type(){return this.series.some(e=>e.smooth===!0)?"scatter-smooth":this.series.every(e=>e.graphicalProperties.line.noFill===!0)?"scatter":"scatter-lines"}_spec(e){const t=super._spec(e);return t.type==="scatter-smooth"?{...t,series:t.series.map(s=>Object.fromEntries(Object.entries(s).filter(([c])=>c!=="smooth")))}:t}}const j=new Set(["type","at","width","height","title","categories","series","legend","labels","value_axis","category_axis","overlap","gap_width","vary_by_categories","hole_size"]);export function chartOfSpec(r){const t=(()=>{const i=r.type;if(i.startsWith("column")||i.startsWith("bar")){const n=new BarChart({type:i.startsWith("bar")?"bar":"col",grouping:i.endsWith("-100")?"percentStacked":i.endsWith("-stacked")?"stacked":"clustered"});return n.overlap=r.overlap,n.gapWidth=r.gap_width,n.varyColors=r.vary_by_categories,n}if(i==="line"||i==="line-markers")return new LineChart;if(i.startsWith("area"))return new AreaChart({grouping:i.endsWith("-100")?"percentStacked":i.endsWith("-stacked")?"stacked":"standard"});if(i==="pie"){const n=new PieChart;return r.vary_by_categories===!1&&(n.varyColors=!1),n}if(i==="doughnut"){const n=new DoughnutChart;return r.hole_size!==void 0&&(n.holeSize=r.hole_size),n}return new ScatterChart})(),{at:s,width:c,height:m,title:p,categories:l,series:d,legend:_,labels:h,value_axis:f,category_axis:v}=r,C=Object.fromEntries(Object.entries(r).filter(([i])=>!j.has(i)));if(t._held=C,t.anchor=s,t.width=b(c??w.width),t.height=b(m??w.height),t._plainSize={width:c===void 0?t.width:Number.NaN,height:m===void 0?t.height:Number.NaN},t.title=p,t._labels=l,_===void 0)t.legend=null;else{const i=new Legend;i.position=$[_],t.legend=i}if(h!==void 0&&h!==!1){const i=new DataLabelList;h===!0?i.showVal=!0:(i.showVal=h.value,i.showPercent=h.percentage,i.showCatName=h.category,i.showSerName=h.series,i.dLblPos=h.position),t.dataLabels=i}return t.x_axis._hold(v),t.y_axis._hold(f),t.series=d.map(i=>{const n=new Series(i.values,{...i.x===void 0?{}:{xvalues:i.x}});return i.name?.startsWith("=")===!0?n._titleRef=i.name.slice(1):n.title=i.name,i.color!==void 0&&(n.graphicalProperties.solidFill=i.color),i.line_width!==void 0&&(n.graphicalProperties.line.width=i.line_width*12700),n.smooth=r.type==="scatter-smooth"?!0:i.smooth,n.marker.size=i.marker_size,n._format=i.format,(r.type==="line-markers"||r.type==="scatter")&&(n.marker.symbol="circle"),r.type==="scatter"&&(n.graphicalProperties.line.noFill=!0),n}),t}export function anchorOf(r){if(r===void 0)return;const e=L(r);if(!e)throw new TypeError(`${r} is not a cell. ${o}`);return S(e)}
@@ -0,0 +1,19 @@
1
+ import { Workbook } from "./workbook.js";
2
+ import type { GeneratedSheets } from "../generated.js";
3
+ /** Marks what workbook() makes. */
4
+ export declare const WORKBOOK_BRAND = "__allyhubWorkbook";
5
+ export interface SheetCodeContext {
6
+ /** A project file, from the sheet's folder: CSV as a row object each, YAML and JSON as they are. */
7
+ data: (path: string) => unknown;
8
+ }
9
+ export type SheetCodeBuild = (wb: Workbook, ctx: SheetCodeContext) => unknown;
10
+ /** The default export of an item's sheet.ts. */
11
+ export interface SheetCode {
12
+ readonly [WORKBOOK_BRAND]: true;
13
+ /** Runs it. Here, in the module its classes are from, whoever calls. */
14
+ readonly generate: (ctx: SheetCodeContext) => GeneratedSheets;
15
+ }
16
+ export declare function isSheetCode(v: unknown): v is SheetCode;
17
+ /** What an item's sheet.ts exports: export default workbook((wb, { data }) => { … }). */
18
+ export declare function workbook(build: SheetCodeBuild): SheetCode;
19
+ //# sourceMappingURL=code.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{Workbook as n}from"./workbook.js";export const WORKBOOK_BRAND="__allyhubWorkbook";export function isSheetCode(o){return typeof o=="object"&&o!==null&&WORKBOOK_BRAND in o}export function workbook(o){if(typeof o!="function")throw new TypeError("An item's sheet.ts exports one function: export default workbook((wb, { data }) => { … }).");return{[WORKBOOK_BRAND]:!0,generate:e=>{const t=new n;if(t.worksheets=[],t._making=!0,o(t,e)instanceof Promise)throw new TypeError("sheet.ts's function waits for nothing: it is not async, as it has no network and reads with data().");return t._generated()}}}
@@ -0,0 +1,3 @@
1
+ /** Where an API error sends the reader. */
2
+ export declare const HINT = "allyhub sheet capabilities lists what of openpyxl the API holds and where it differs.";
3
+ //# sourceMappingURL=hint.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export const HINT="allyhub sheet capabilities lists what of openpyxl the API holds and where it differs.";
@@ -0,0 +1,8 @@
1
+ export { Alignment, Border, Color, Font, PatternFill, Side, type AlignmentOptions, type BorderOptions, type FontOptions, type PatternFillOptions, type SideOptions, } from "./styles.js";
2
+ export { BLOCK_CELLS, Cell, ColumnDimension, DefinedName, DefinedNameDict, RowDimension, Table, TableList, Workbook, Worksheet, column_index_from_string, coordinate_to_tuple, get_column_letter, load_workbook, range_boundaries, type CellValue, type LoadOptions, type TableInput, type TableOptions, } from "./workbook.js";
3
+ export { AutoFilter, CellIsRule, ColorScaleRule, ConditionalFormattingList, DataBarRule, DataValidation, DataValidationList, DifferentialStyle, FormulaRule, IconSetRule, Rule, type CellIsRuleOptions, type ColorScaleRuleOptions, type DataBarRuleOptions, type DataValidationOptions, type DifferentialStyleOptions, type FormulaRuleOptions, type RuleOptions, } from "./rules.js";
4
+ export { AreaChart, BarChart, ChartBase, DataLabelList, DoughnutChart, GraphicalProperties, Legend, LineChart, LineProperties, Marker, NumericAxis, PieChart, Reference, ScatterChart, Scaling, Series, TextAxis, type BarChartOptions, type ChartData, type ReferenceOptions, type SeriesOptions, } from "./charts.js";
5
+ export { CAPABILITIES, HELPERS, type Capabilities } from "./capabilities.js";
6
+ export { WORKBOOK_BRAND, isSheetCode, workbook, type SheetCode, type SheetCodeBuild, type SheetCodeContext, } from "./code.js";
7
+ export { Comment, HeaderFooter, Image, PageMargins, PageSetup, SheetProtection, } from "./page.js";
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export{Alignment,Border,Color,Font,PatternFill,Side}from"./styles.js";export{BLOCK_CELLS,Cell,ColumnDimension,DefinedName,DefinedNameDict,RowDimension,Table,TableList,Workbook,Worksheet,column_index_from_string,coordinate_to_tuple,get_column_letter,load_workbook,range_boundaries}from"./workbook.js";export{AutoFilter,CellIsRule,ColorScaleRule,ConditionalFormattingList,DataBarRule,DataValidation,DataValidationList,DifferentialStyle,FormulaRule,IconSetRule,Rule}from"./rules.js";export{AreaChart,BarChart,ChartBase,DataLabelList,DoughnutChart,GraphicalProperties,Legend,LineChart,LineProperties,Marker,NumericAxis,PieChart,Reference,ScatterChart,Scaling,Series,TextAxis}from"./charts.js";export{CAPABILITIES,HELPERS}from"./capabilities.js";export{WORKBOOK_BRAND,isSheetCode,workbook}from"./code.js";export{Comment,HeaderFooter,Image,PageMargins,PageSetup,SheetProtection}from"./page.js";
@@ -0,0 +1,83 @@
1
+ import { type SheetHeaderFooter, type SheetNote, type SheetPrint } from "@allyhub-next/formats";
2
+ /** What a page object changes: the sheet's `print`, and that it changed. */
3
+ export interface PageHost {
4
+ _print: SheetPrint;
5
+ _changed(): void;
6
+ }
7
+ /** openpyxl's `PrintPageSetup`. */
8
+ export declare class PageSetup {
9
+ private readonly ws;
10
+ constructor(ws: PageHost);
11
+ get orientation(): SheetPrint["orientation"];
12
+ set orientation(v: SheetPrint["orientation"]);
13
+ /** Excel's number (9 is A4), or a name: letter, legal, a3, a4, a5. */
14
+ get paperSize(): number | undefined;
15
+ set paperSize(v: number | string | undefined);
16
+ get fitToWidth(): number | undefined;
17
+ /** Pages wide. Setting it fits the sheet: openpyxl's pageSetUpPr.fitToPage is not asked for. */
18
+ set fitToWidth(v: number | undefined);
19
+ get fitToHeight(): number | undefined;
20
+ /** Pages tall; 0 as many as it takes. */
21
+ set fitToHeight(v: number | undefined);
22
+ private _fit;
23
+ }
24
+ /** openpyxl's `PageMargins`, in inches. */
25
+ export declare class PageMargins {
26
+ private readonly ws;
27
+ constructor(ws: PageHost);
28
+ private _set;
29
+ get left(): number | undefined;
30
+ set left(v: number | undefined);
31
+ get right(): number | undefined;
32
+ set right(v: number | undefined);
33
+ get top(): number | undefined;
34
+ set top(v: number | undefined);
35
+ get bottom(): number | undefined;
36
+ set bottom(v: number | undefined);
37
+ get header(): number | undefined;
38
+ set header(v: number | undefined);
39
+ get footer(): number | undefined;
40
+ set footer(v: number | undefined);
41
+ }
42
+ /** openpyxl's `_HeaderFooterPart`: its `text`, Excel's codes holding. */
43
+ export declare class HeaderFooterPart {
44
+ private readonly ws;
45
+ private readonly kind;
46
+ private readonly side;
47
+ constructor(ws: PageHost, kind: "header" | "footer", side: keyof SheetHeaderFooter);
48
+ get text(): string | undefined;
49
+ set text(v: string | undefined);
50
+ }
51
+ /** openpyxl's `_HeaderFooterItem`: a header's or a footer's three parts. */
52
+ export declare class HeaderFooter {
53
+ readonly left: HeaderFooterPart;
54
+ readonly center: HeaderFooterPart;
55
+ readonly right: HeaderFooterPart;
56
+ constructor(ws: PageHost, kind: "header" | "footer");
57
+ }
58
+ /** openpyxl's `SheetProtection`, with no password. */
59
+ export declare class SheetProtection {
60
+ private readonly read;
61
+ private readonly write;
62
+ constructor(read: () => boolean, write: (on: boolean) => void);
63
+ get sheet(): boolean;
64
+ set sheet(on: boolean);
65
+ enable(): void;
66
+ disable(): void;
67
+ }
68
+ /** openpyxl's `Comment`: Excel's Note. */
69
+ export declare class Comment {
70
+ readonly text: string;
71
+ readonly author: string | undefined;
72
+ constructor(text: string, author?: string);
73
+ _file(): SheetNote;
74
+ }
75
+ /** openpyxl's `Image`: a picture over the cells, a path from the sheet's folder. */
76
+ export declare class Image {
77
+ readonly path: string;
78
+ width: number | undefined;
79
+ height: number | undefined;
80
+ anchor: string | undefined;
81
+ constructor(path: string);
82
+ }
83
+ //# sourceMappingURL=page.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{SHEET_PAPERS as h,strict as s}from"@allyhub-next/formats";import{HINT as r}from"./hint.js";export class PageSetup{ws;constructor(t){return this.ws=t,s(this,"PageSetup",r)}get orientation(){return this.ws._print.orientation}set orientation(t){t===void 0?delete this.ws._print.orientation:this.ws._print.orientation=t,this.ws._changed()}get paperSize(){const{paper:t}=this.ws._print;return t===void 0?void 0:h[t]}set paperSize(t){const e=Object.keys(h).find(i=>i===t||String(h[i])===String(t));if(t===void 0)delete this.ws._print.paper;else if(e)this.ws._print.paper=e;else throw new RangeError(`Paper is one of ${Object.keys(h).join(", ")}, not ${String(t)}.`);this.ws._changed()}get fitToWidth(){return this.ws._print.fit?.width}set fitToWidth(t){this._fit("width",t)}get fitToHeight(){return this.ws._print.fit?.height}set fitToHeight(t){this._fit("height",t)}_fit(t,e){const i={...this.ws._print.fit};e===void 0?Reflect.deleteProperty(i,t):i[t]=e,Object.keys(i).length===0?delete this.ws._print.fit:this.ws._print.fit=i,this.ws._changed()}}export class PageMargins{ws;constructor(t){return this.ws=t,s(this,"PageMargins",r)}_set(t,e){const i={...this.ws._print.margins};e===void 0?Reflect.deleteProperty(i,t):i[t]=e,this.ws._print.margins=i,this.ws._changed()}get left(){return this.ws._print.margins?.left}set left(t){this._set("left",t)}get right(){return this.ws._print.margins?.right}set right(t){this._set("right",t)}get top(){return this.ws._print.margins?.top}set top(t){this._set("top",t)}get bottom(){return this.ws._print.margins?.bottom}set bottom(t){this._set("bottom",t)}get header(){return this.ws._print.margins?.header}set header(t){this._set("header",t)}get footer(){return this.ws._print.margins?.footer}set footer(t){this._set("footer",t)}}export class HeaderFooterPart{ws;kind;side;constructor(t,e,i){return this.ws=t,this.kind=e,this.side=i,s(this,"_HeaderFooterPart",r)}get text(){return this.ws._print[this.kind]?.[this.side]}set text(t){const e={...this.ws._print[this.kind]};t===void 0?Reflect.deleteProperty(e,this.side):e[this.side]=t,this.ws._print[this.kind]=e,this.ws._changed()}}export class HeaderFooter{left;center;right;constructor(t,e){return this.left=new HeaderFooterPart(t,e,"left"),this.center=new HeaderFooterPart(t,e,"center"),this.right=new HeaderFooterPart(t,e,"right"),s(this,"_HeaderFooterItem",r)}}export class SheetProtection{read;write;constructor(t,e){return this.read=t,this.write=e,s(this,"SheetProtection",r)}get sheet(){return this.read()}set sheet(t){this.write(t)}enable(){this.write(!0)}disable(){this.write(!1)}}export class Comment{text;author;constructor(t,e){return this.text=t,this.author=e,s(this,"Comment",r)}_file(){return this.author===void 0?this.text:{text:this.text,author:this.author}}}export class Image{path;width;height;anchor;constructor(t){return this.path=t,this.width=void 0,this.height=void 0,this.anchor=void 0,s(this,"Image",r)}}
@@ -0,0 +1,4 @@
1
+ import type { Area, Place } from "../address.js";
2
+ /** Places as the fewest rectangles reading rows left to right finds: runs in a row, then rows with the same run. */
3
+ export declare function rectangles(places: readonly Place[]): Area[];
4
+ //# sourceMappingURL=rectangles.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export function rectangles(c){const f=[...c].sort((o,t)=>o.row-t.row||o.col-t.col),s=[];for(const o of f){const t=s[s.length-1];t?.top===o.row&&t.right===o.col-1?t.right=o.col:s.push({top:o.row,bottom:o.row,left:o.col,right:o.col})}const e=[],l=[];for(const o of s){const t=e.find(r=>r.bottom===o.top-1&&r.left===o.left&&r.right===o.right);t?t.bottom=o.bottom:e.push({...o});for(let r=e.length-1;r>=0;r--){const n=e[r];n&&n.bottom<o.top-1&&(l.push(n),e.splice(r,1))}}return[...l,...e].sort((o,t)=>o.top-t.top||o.left-t.left)}
@@ -0,0 +1,170 @@
1
+ import { type SheetConditional, type SheetValidation } from "@allyhub-next/formats";
2
+ import { type Border, type Color, type Font, type PatternFill } from "./styles.js";
3
+ export interface DifferentialStyleOptions {
4
+ font?: Font;
5
+ fill?: PatternFill;
6
+ border?: Border;
7
+ }
8
+ /** What a rule that holds gives a cell. */
9
+ export declare class DifferentialStyle {
10
+ readonly font: Font | undefined;
11
+ readonly fill: PatternFill | undefined;
12
+ readonly border: Border | undefined;
13
+ constructor(o?: DifferentialStyleOptions);
14
+ }
15
+ export interface RuleOptions {
16
+ type: SheetConditional["type"] | "containsText";
17
+ operator?: string;
18
+ formula?: (string | number)[];
19
+ stopIfTrue?: boolean;
20
+ rank?: number;
21
+ percent?: boolean;
22
+ bottom?: boolean;
23
+ aboveAverage?: boolean;
24
+ equalAverage?: boolean;
25
+ text?: string;
26
+ dxf?: DifferentialStyle;
27
+ }
28
+ /** A rule as sheet.yaml holds it, but for the cells it is on. */
29
+ type RuleSpec = {
30
+ type: string;
31
+ } & Record<string, unknown>;
32
+ /** openpyxl's Rule: `new Rule({ type: "top10", rank: 3, dxf })`. */
33
+ export declare class Rule {
34
+ readonly type: string;
35
+ readonly operator: string | undefined;
36
+ readonly formula: (string | number)[];
37
+ readonly stopIfTrue: boolean;
38
+ readonly rank: number | undefined;
39
+ readonly percent: boolean;
40
+ readonly bottom: boolean;
41
+ readonly aboveAverage: boolean;
42
+ readonly equalAverage: boolean;
43
+ readonly text: string | undefined;
44
+ readonly dxf: DifferentialStyle | undefined;
45
+ /** What sheet.yaml holds of it; made here unless a helper made it. */
46
+ _spec: RuleSpec;
47
+ constructor(o: RuleOptions, spec?: RuleSpec);
48
+ }
49
+ export interface CellIsRuleOptions {
50
+ operator: string;
51
+ formula: (string | number)[];
52
+ stopIfTrue?: boolean;
53
+ font?: Font;
54
+ fill?: PatternFill;
55
+ border?: Border;
56
+ }
57
+ /** openpyxl's helper: fills are given as `PatternFill`, its bgColor or fgColor painting. */
58
+ export declare function CellIsRule(o: CellIsRuleOptions): Rule;
59
+ export type FormulaRuleOptions = Omit<CellIsRuleOptions, "operator" | "formula"> & {
60
+ formula: string[];
61
+ };
62
+ export declare function FormulaRule(o: FormulaRuleOptions): Rule;
63
+ export interface ColorScaleRuleOptions {
64
+ start_type?: string;
65
+ start_value?: string | number;
66
+ start_color: string | Color;
67
+ mid_type?: string;
68
+ mid_value?: string | number;
69
+ mid_color?: string | Color;
70
+ end_type?: string;
71
+ end_value?: string | number;
72
+ end_color: string | Color;
73
+ }
74
+ export declare function ColorScaleRule(o: ColorScaleRuleOptions): Rule;
75
+ export interface DataBarRuleOptions {
76
+ start_type?: string;
77
+ start_value?: string | number;
78
+ end_type?: string;
79
+ end_value?: string | number;
80
+ color: string | Color;
81
+ showValue?: boolean;
82
+ }
83
+ export declare function DataBarRule(o: DataBarRuleOptions): Rule;
84
+ /** openpyxl's: IconSetRule("3TrafficLights1", "percent", [0, 33, 67], showValue, percent, reverse). */
85
+ export declare function IconSetRule(icon_style: string, type: string, values: readonly (string | number)[], showValue?: boolean, _percent?: boolean, reverse?: boolean): Rule;
86
+ /** `ws.conditional_formatting`: rules in the order added, the first the strongest. */
87
+ export declare class ConditionalFormattingList {
88
+ _rules: SheetConditional[];
89
+ private readonly touched;
90
+ constructor(rules: SheetConditional[], touched: () => void);
91
+ add(range_string: string, cfRule: Rule): void;
92
+ get max_priority(): number;
93
+ }
94
+ export interface DataValidationOptions {
95
+ type?: SheetValidation["type"];
96
+ formula1?: string | number;
97
+ formula2?: string | number;
98
+ operator?: SheetValidation["operator"];
99
+ allow_blank?: boolean;
100
+ allowBlank?: boolean;
101
+ showDropDown?: boolean;
102
+ showErrorMessage?: boolean;
103
+ showInputMessage?: boolean;
104
+ errorStyle?: "stop" | "warning" | "information";
105
+ errorTitle?: string;
106
+ error?: string;
107
+ promptTitle?: string;
108
+ prompt?: string;
109
+ sqref?: string;
110
+ /** A list's cell may hold several of its values. */
111
+ multiple?: boolean;
112
+ /** What joins them; ", " unless it says. */
113
+ separator?: string;
114
+ }
115
+ export declare class DataValidation {
116
+ type: SheetValidation["type"];
117
+ formula1: string | number | undefined;
118
+ formula2: string | number | undefined;
119
+ operator: SheetValidation["operator"];
120
+ allow_blank: boolean | undefined;
121
+ showDropDown: boolean;
122
+ showErrorMessage: boolean;
123
+ showInputMessage: boolean;
124
+ errorStyle: "stop" | "warning" | "information" | undefined;
125
+ errorTitle: string | undefined;
126
+ error: string | undefined;
127
+ promptTitle: string | undefined;
128
+ prompt: string | undefined;
129
+ sqref: string;
130
+ /** A list's cell may hold several of its values: not an openpyxl field. */
131
+ multiple: boolean;
132
+ /** What joins them; ", " unless it says. */
133
+ separator: string | undefined;
134
+ constructor(o?: DataValidationOptions);
135
+ get allowBlank(): boolean | undefined;
136
+ /** openpyxl's: showDropDown is true when the arrow is hidden. */
137
+ get hide_drop_down(): boolean;
138
+ get validation_type(): string;
139
+ /** The cells it is on, a cell or a range at a time. */
140
+ add(cell: string | {
141
+ coordinate: string;
142
+ }): void;
143
+ }
144
+ /** What sheet.yaml holds of a DataValidation. */
145
+ export declare function validationSpec(v: DataValidation): SheetValidation;
146
+ /** A DataValidation of what sheet.yaml holds. */
147
+ export declare function validationOf(spec: SheetValidation): DataValidation;
148
+ /** `ws.data_validations`. */
149
+ export declare class DataValidationList {
150
+ dataValidation: DataValidation[];
151
+ private readonly touched;
152
+ constructor(list: DataValidation[], touched: () => void);
153
+ append(dv: DataValidation): void;
154
+ get count(): number;
155
+ }
156
+ /** `ws.auto_filter`, and a table's `autoFilter`. */
157
+ export declare class AutoFilter {
158
+ ref: string | undefined;
159
+ /** What each column keeps, by its place in the filter. */
160
+ _columns: Map<number, {
161
+ values?: string[] | undefined;
162
+ blanks?: boolean | undefined;
163
+ }>;
164
+ private readonly touched;
165
+ constructor(ref: string | undefined, touched: () => void);
166
+ /** openpyxl's: a column of the filter, from 0, keeps these values, and blanks if `blank`. */
167
+ add_filter_column(col_id: number, vals: readonly string[], blank?: boolean): void;
168
+ }
169
+ export {};
170
+ //# sourceMappingURL=rules.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{SHEET_ICONS as h,SHEET_OPERATORS as m,SHEET_VALIDATIONS as w,strict as u}from"@allyhub-next/formats";import{readArea as b,readAreas as T}from"../address.js";import{HINT as s}from"./hint.js";import{borderLook as _,colorText as d}from"./styles.js";function i(e,r,t){for(const o of Object.keys(r))if(!t.includes(o))throw new TypeError(`${e} takes ${t.join(", ")}; it has no ${o}. ${s}`)}function c(e){if(typeof e=="number")return e;const r=e.trim(),t=Number(r);if(r!==""&&!Number.isNaN(t))return t;const o=/^"((?:[^"]|"")*)"$/u.exec(r);return o?(o[1]??"").replaceAll('""','"'):r.startsWith("=")?r:`=${r}`}function y(e){if(e!==void 0)return typeof e=="number"?String(e):e.startsWith("=")?e.slice(1):`"${e.replaceAll('"','""')}"`}export class DifferentialStyle{font;fill;border;constructor(r={}){return i("DifferentialStyle",r,["font","fill","border"]),this.font=r.font,this.fill=r.fill,this.border=r.border,u(this,"DifferentialStyle",s)}}const x=e=>e?.bgColor?.rgb??e?.fgColor?.rgb;function k(e){const r={},{font:t,fill:o,border:a}=e??{};t?.bold===!0&&(r.bold=!0),t?.italic===!0&&(r.italic=!0),t?.strike===!0&&(r.strike=!0),t?.underline!==void 0&&(r.underline=!0),t?.color&&(r.color=t.color.rgb);const n=x(o);if(n!==void 0&&(r.fill=n),a){const{border:l}=_(a);l&&Object.keys(l).length>0&&(r.border=l)}return r}const I={">":"greaterThan",">=":"greaterThanOrEqual","<":"lessThan","<=":"lessThanOrEqual","=":"equal","==":"equal","!=":"notEqual"};export class Rule{type;operator;formula;stopIfTrue;rank;percent;bottom;aboveAverage;equalAverage;text;dxf;_spec;constructor(r,t){return i("Rule",r,["type","operator","formula","stopIfTrue","rank","percent","bottom","aboveAverage","equalAverage","text","dxf"]),this.type=r.type,this.operator=r.operator,this.formula=r.formula??[],this.stopIfTrue=r.stopIfTrue??!1,this.rank=r.rank,this.percent=r.percent??!1,this.bottom=r.bottom??!1,this.aboveAverage=r.aboveAverage??!0,this.equalAverage=r.equalAverage??!1,this.text=r.text,this.dxf=r.dxf,this._spec=t??S(r),u(this,"Rule",s)}}function S(e){const r=k(e.dxf),t=e.stopIfTrue===!0?{stop:!0}:{};switch(e.type){case"cellIs":{const o=I[e.operator??""]??e.operator;if(!m.includes(o))throw new TypeError(`${String(e.operator)} is not an operator: ${m.join(", ")}.`);return{type:"cellIs",operator:o,formula:(e.formula??[]).map(c),...r,...t}}case"expression":{const[o]=e.formula??[];if(o===void 0)throw new TypeError("An expression rule has a formula.");const a=String(o);return{type:"expression",formula:a.startsWith("=")?a:`=${a}`,...r,...t}}case"containsText":{if(e.text===void 0)throw new TypeError("A containsText rule has a text.");const o=e.operator===void 0||e.operator==="containsText"?{}:{operator:e.operator};return{type:"containsText",text:e.text,...o,...r,...t}}case"duplicateValues":case"uniqueValues":return{type:e.type,...r,...t};case"top10":return{type:"top10",rank:e.rank??10,...e.percent===!0?{percent:!0}:{},...e.bottom===!0?{bottom:!0}:{},...r,...t};case"aboveAverage":return{type:"aboveAverage",...e.aboveAverage===!1?{below:!0}:{},...e.equalAverage===!0?{equal:!0}:{},...r,...t};default:throw new TypeError(`A rule of type ${e.type} is made by ColorScaleRule, DataBarRule or IconSetRule.`)}}export function CellIsRule(e){return i("CellIsRule",e,["operator","formula","stopIfTrue","font","fill","border"]),new Rule({type:"cellIs",operator:e.operator,formula:e.formula,...e.stopIfTrue===void 0?{}:{stopIfTrue:e.stopIfTrue},dxf:new DifferentialStyle({...e.font?{font:e.font}:{},...e.fill?{fill:e.fill}:{},...e.border?{border:e.border}:{}})})}export function FormulaRule(e){return i("FormulaRule",e,["formula","stopIfTrue","font","fill","border"]),new Rule({type:"expression",formula:e.formula,...e.stopIfTrue===void 0?{}:{stopIfTrue:e.stopIfTrue},dxf:new DifferentialStyle({...e.font?{font:e.font}:{},...e.fill?{fill:e.fill}:{},...e.border?{border:e.border}:{}})})}function f(e,r,t){const o=e??t;return r===void 0?{at:o}:{at:o,value:c(r)}}export function ColorScaleRule(e){i("ColorScaleRule",e,["start_type","start_value","start_color","mid_type","mid_value","mid_color","end_type","end_value","end_color"]);const r=[{...f(e.start_type,e.start_value,"min"),color:d(e.start_color)},...e.mid_color===void 0?[]:[{...f(e.mid_type,e.mid_value,"percentile"),color:d(e.mid_color)}],{...f(e.end_type,e.end_value,"max"),color:d(e.end_color)}];return new Rule({type:"colorScale"},{type:"colorScale",stops:r})}export function DataBarRule(e){i("DataBarRule",e,["start_type","start_value","end_type","end_value","color","showValue"]);const r=f(e.start_type,e.start_value,"min"),t=f(e.end_type,e.end_value,"max");return new Rule({type:"dataBar"},{type:"dataBar",color:d(e.color),...r.at==="min"?{}:{min:r},...t.at==="max"?{}:{max:t},...e.showValue===!1?{show:!1}:{}})}export function IconSetRule(e,r,t,o,a,n){if(!h.includes(e))throw new TypeError(`${e} is not an icon set: ${h.join(", ")}.`);return new Rule({type:"iconSet"},{type:"iconSet",icons:e,stops:t.map(l=>f(r,l,"percent")),...o===!1?{show:!1}:{},...n===!0?{reverse:!0}:{}})}export class ConditionalFormattingList{_rules;touched;constructor(r,t){return this._rules=r,this.touched=t,u(this,"ConditionalFormattingList",s)}add(r,t){if(!T(r))throw new TypeError(`${r} is not a range.`);this._rules.push({...t._spec,range:r}),this.touched()}get max_priority(){return this._rules.length}}export class DataValidation{type;formula1;formula2;operator;allow_blank;showDropDown;showErrorMessage;showInputMessage;errorStyle;errorTitle;error;promptTitle;prompt;sqref;multiple;separator;constructor(r={}){i("DataValidation",r,["type","formula1","formula2","operator","allow_blank","allowBlank","showDropDown","showErrorMessage","showInputMessage","errorStyle","errorTitle","error","promptTitle","prompt","sqref","multiple","separator"]);const t=r.type??"custom";if(!w.includes(t))throw new TypeError(`${t} is not a validation: ${w.join(", ")}.`);return this.type=t,this.formula1=r.formula1,this.formula2=r.formula2,this.operator=r.operator,this.allow_blank=r.allow_blank??r.allowBlank,this.showDropDown=r.showDropDown??!1,this.showErrorMessage=r.showErrorMessage??!0,this.showInputMessage=r.showInputMessage??!0,this.errorStyle=r.errorStyle,this.errorTitle=r.errorTitle,this.error=r.error,this.promptTitle=r.promptTitle,this.prompt=r.prompt,this.sqref=r.sqref??"",this.multiple=r.multiple??!1,this.separator=r.separator,u(this,"DataValidation",s)}get allowBlank(){return this.allow_blank}get hide_drop_down(){return this.showDropDown}get validation_type(){return this.type}add(r){const t=typeof r=="string"?r:r.coordinate;if(!b(t))throw new TypeError(`${t} is not a range.`);this.sqref=this.sqref===""?t:`${this.sqref} ${t}`}}export function validationSpec(e){const r=e.formula1,t=e.type==="list"&&typeof r=="string"?/^"((?:[^"]|"")*)"$/u.exec(r.trim()):null,o=[r,e.formula2].flatMap(p=>p===void 0?[]:[c(p)]),a=p=>Object.fromEntries(Object.entries(p).filter(([,g])=>g!==void 0)),n=a({title:e.promptTitle,message:e.prompt,show:e.showInputMessage?void 0:!1}),l=a({style:e.errorStyle,title:e.errorTitle,message:e.error,show:e.showErrorMessage?void 0:!1});return{range:e.sqref,type:e.type,...e.operator===void 0?{}:{operator:e.operator},...t?{values:(t[1]??"").split(",")}:o.length>0?{formula:o}:{},...e.multiple?{multiple:!0}:{},...e.separator===void 0?{}:{separator:e.separator},...e.allow_blank===!1?{blank:!1}:{},...e.showDropDown?{dropdown:!1}:{},...Object.keys(n).length>0?{prompt:n}:{},...Object.keys(l).length>0?{error:l}:{}}}export function validationOf(e){const[r,t]=e.formula??[],o=e.values?`"${e.values.join(",")}"`:y(r),a={type:e.type,sqref:e.range,showDropDown:e.dropdown===!1,showErrorMessage:e.error?.show!==!1,showInputMessage:e.prompt?.show!==!1};o!==void 0&&(a.formula1=o);const n=y(t);return n!==void 0&&(a.formula2=n),e.operator!==void 0&&(a.operator=e.operator),e.blank===!1&&(a.allow_blank=!1),e.error?.style!==void 0&&(a.errorStyle=e.error.style),e.error?.title!==void 0&&(a.errorTitle=e.error.title),e.error?.message!==void 0&&(a.error=e.error.message),e.prompt?.title!==void 0&&(a.promptTitle=e.prompt.title),e.prompt?.message!==void 0&&(a.prompt=e.prompt.message),e.multiple===!0&&(a.multiple=!0),e.separator!==void 0&&(a.separator=e.separator),new DataValidation(a)}export class DataValidationList{dataValidation;touched;constructor(r,t){return this.dataValidation=r,this.touched=t,u(this,"DataValidationList",s)}append(r){this.dataValidation.push(r),this.touched()}get count(){return this.dataValidation.length}}export class AutoFilter{ref;_columns=new Map;touched;constructor(r,t){return this.ref=r,this.touched=t,u(this,"AutoFilter",s)}add_filter_column(r,t,o=!1){this._columns.set(r,{...t.length===0?{}:{values:[...t]},...o?{blanks:!0}:{}}),this.touched()}}
@@ -0,0 +1,117 @@
1
+ import { SHEET_ALIGNS, SHEET_BORDERS, SHEET_PATTERNS, SHEET_VALIGNS } from "@allyhub-next/formats";
2
+ import type { CellLook } from "../workbook.js";
3
+ /** openpyxl's colours: RRGGBB or AARRGGBB, with or without #; here #RRGGBB. */
4
+ export declare function colorText(value: string | Color): string;
5
+ export declare class Color {
6
+ readonly rgb: string;
7
+ constructor(rgb: string | {
8
+ rgb: string;
9
+ });
10
+ }
11
+ export interface FontOptions {
12
+ name?: string;
13
+ size?: number;
14
+ sz?: number;
15
+ bold?: boolean;
16
+ b?: boolean;
17
+ italic?: boolean;
18
+ i?: boolean;
19
+ underline?: "single" | "double" | "singleAccounting" | "doubleAccounting";
20
+ u?: "single" | "double" | "singleAccounting" | "doubleAccounting";
21
+ strike?: boolean;
22
+ color?: string | Color;
23
+ }
24
+ export declare class Font {
25
+ readonly name: string | undefined;
26
+ readonly size: number | undefined;
27
+ readonly bold: boolean;
28
+ readonly italic: boolean;
29
+ readonly underline: FontOptions["underline"];
30
+ readonly strike: boolean;
31
+ readonly color: Color | undefined;
32
+ constructor(o?: FontOptions);
33
+ get b(): boolean;
34
+ get i(): boolean;
35
+ get sz(): number | undefined;
36
+ get u(): FontOptions["underline"];
37
+ }
38
+ type Pattern = (typeof SHEET_PATTERNS)[number];
39
+ export interface PatternFillOptions {
40
+ fill_type?: Pattern;
41
+ patternType?: Pattern;
42
+ fgColor?: string | Color;
43
+ bgColor?: string | Color;
44
+ start_color?: string | Color;
45
+ end_color?: string | Color;
46
+ }
47
+ export declare class PatternFill {
48
+ readonly fill_type: Pattern | undefined;
49
+ readonly fgColor: Color | undefined;
50
+ readonly bgColor: Color | undefined;
51
+ constructor(first?: Pattern | PatternFillOptions, more?: PatternFillOptions);
52
+ get patternType(): Pattern | undefined;
53
+ get start_color(): Color | undefined;
54
+ get end_color(): Color | undefined;
55
+ }
56
+ type BorderStyle = (typeof SHEET_BORDERS)[number];
57
+ export interface SideOptions {
58
+ style?: BorderStyle;
59
+ border_style?: BorderStyle;
60
+ color?: string | Color;
61
+ }
62
+ export declare class Side {
63
+ readonly style: BorderStyle | undefined;
64
+ readonly color: Color | undefined;
65
+ constructor(o?: SideOptions);
66
+ get border_style(): BorderStyle | undefined;
67
+ }
68
+ export interface BorderOptions {
69
+ left?: Side;
70
+ right?: Side;
71
+ top?: Side;
72
+ bottom?: Side;
73
+ }
74
+ export declare class Border {
75
+ readonly left: Side;
76
+ readonly right: Side;
77
+ readonly top: Side;
78
+ readonly bottom: Side;
79
+ constructor(o?: BorderOptions);
80
+ }
81
+ type Horizontal = (typeof SHEET_ALIGNS)[number];
82
+ type Vertical = (typeof SHEET_VALIGNS)[number];
83
+ export interface AlignmentOptions {
84
+ horizontal?: Horizontal;
85
+ vertical?: Vertical;
86
+ wrap_text?: boolean;
87
+ wrapText?: boolean;
88
+ shrink_to_fit?: boolean;
89
+ shrinkToFit?: boolean;
90
+ indent?: number;
91
+ text_rotation?: number;
92
+ textRotation?: number;
93
+ }
94
+ export declare class Alignment {
95
+ readonly horizontal: Horizontal | undefined;
96
+ readonly vertical: Vertical | undefined;
97
+ readonly wrap_text: boolean | undefined;
98
+ readonly shrink_to_fit: boolean | undefined;
99
+ readonly indent: number;
100
+ readonly text_rotation: number;
101
+ constructor(o?: AlignmentOptions);
102
+ get wrapText(): boolean | undefined;
103
+ get shrinkToFit(): boolean | undefined;
104
+ get textRotation(): number;
105
+ }
106
+ /** A style object as the look fields it sets. */
107
+ export declare const fontLook: (f: Font) => CellLook;
108
+ export declare function fillLook(f: PatternFill): CellLook;
109
+ export declare function borderLook(b: Border): CellLook;
110
+ export declare const alignmentLook: (a: Alignment) => CellLook;
111
+ /** The style objects a look reads back as. */
112
+ export declare const fontOf: (l: CellLook) => Font;
113
+ export declare function fillOf(l: CellLook): PatternFill;
114
+ export declare const borderOf: (l: CellLook) => Border;
115
+ export declare const alignmentOf: (l: CellLook) => Alignment;
116
+ export {};
117
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{SHEET_ALIGNS as f,SHEET_BORDERS as u,SHEET_PATTERNS as h,SHEET_VALIGNS as p,strict as l}from"@allyhub-next/formats";import{HINT as i}from"./hint.js";function s(t,e,n){for(const r of Object.keys(e))if(!n.includes(r))throw new TypeError(`${t} takes ${n.join(", ")}; it has no ${r}. ${i}`)}export function colorText(t){if(t instanceof Color)return t.rgb;const e=t.replace(/^#/u,"");if(!/^(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/u.test(e))throw new TypeError(`${t} is not a colour: RRGGBB or AARRGGBB.`);return`#${e.slice(-6).toUpperCase()}`}export class Color{rgb;constructor(e){return this.rgb=colorText(typeof e=="string"?e:e.rgb),l(this,"Color",i)}}const d=t=>t===void 0?void 0:new Color(colorText(t));export class Font{name;size;bold;italic;underline;strike;color;constructor(e={}){return s("Font",e,["name","size","sz","bold","b","italic","i","underline","u","strike","color"]),this.name=e.name,this.size=e.size??e.sz,this.bold=e.bold??e.b??!1,this.italic=e.italic??e.i??!1,this.underline=e.underline??e.u,this.strike=e.strike??!1,this.color=d(e.color),l(this,"Font",i)}get b(){return this.bold}get i(){return this.italic}get sz(){return this.size}get u(){return this.underline}}export class PatternFill{fill_type;fgColor;bgColor;constructor(e={},n={}){const r=typeof e=="string"?{...n,fill_type:e}:e;s("PatternFill",r,["fill_type","patternType","fgColor","bgColor","start_color","end_color"]);const o=r.fill_type??r.patternType;if(o!==void 0&&!h.includes(o))throw new TypeError(`${o} is not a fill: ${h.join(", ")}.`);return this.fill_type=o,this.fgColor=d(r.fgColor??r.start_color),this.bgColor=d(r.bgColor??r.end_color),l(this,"PatternFill",i)}get patternType(){return this.fill_type}get start_color(){return this.fgColor}get end_color(){return this.bgColor}}export class Side{style;color;constructor(e={}){s("Side",e,["style","border_style","color"]);const n=e.style??e.border_style;if(n!==void 0&&!u.includes(n))throw new TypeError(`${n} is not a border: ${u.join(", ")}.`);return this.style=n,this.color=d(e.color),l(this,"Side",i)}get border_style(){return this.style}}export class Border{left;right;top;bottom;constructor(e={}){return s("Border",e,["left","right","top","bottom"]),this.left=e.left??new Side,this.right=e.right??new Side,this.top=e.top??new Side,this.bottom=e.bottom??new Side,l(this,"Border",i)}}export class Alignment{horizontal;vertical;wrap_text;shrink_to_fit;indent;text_rotation;constructor(e={}){if(s("Alignment",e,["horizontal","vertical","wrap_text","wrapText","shrink_to_fit","shrinkToFit","indent","text_rotation","textRotation"]),e.horizontal!==void 0&&!f.includes(e.horizontal))throw new TypeError(`${e.horizontal} is not an alignment: ${f.join(", ")}.`);if(e.vertical!==void 0&&!p.includes(e.vertical))throw new TypeError(`${e.vertical} is not an alignment: ${p.join(", ")}.`);return this.horizontal=e.horizontal,this.vertical=e.vertical,this.wrap_text=e.wrap_text??e.wrapText,this.shrink_to_fit=e.shrink_to_fit??e.shrinkToFit,this.indent=e.indent??0,this.text_rotation=e.text_rotation??e.textRotation??0,l(this,"Alignment",i)}get wrapText(){return this.wrap_text}get shrinkToFit(){return this.shrink_to_fit}get textRotation(){return this.text_rotation}}const c=t=>t.style===void 0?void 0:{style:t.style,...t.color?{color:t.color.rgb}:{}};export const fontLook=t=>({bold:t.bold,italic:t.italic,strike:t.strike,underline:t.underline??!1,...t.name===void 0?{}:{font:t.name},...t.size===void 0?{}:{size:t.size},...t.color?{color:t.color.rgb}:{}});export function fillLook(t){return t.fill_type===void 0?{}:t.fill_type==="solid"&&!t.bgColor&&t.fgColor?{fill:t.fgColor.rgb}:{fill:{pattern:t.fill_type,...t.fgColor?{color:t.fgColor.rgb}:{},...t.bgColor?{background:t.bgColor.rgb}:{}}}}export function borderLook(t){const e=c(t.left),n=c(t.right),r=c(t.top),o=c(t.bottom);return{border:{...e?{left:e}:{},...n?{right:n}:{},...r?{top:r}:{},...o?{bottom:o}:{}}}}export const alignmentLook=t=>({...t.horizontal===void 0?{}:{align:t.horizontal},...t.vertical===void 0?{}:{valign:t.vertical},...t.wrap_text===void 0?{}:{wrap:t.wrap_text},...t.shrink_to_fit===void 0?{}:{shrink:t.shrink_to_fit},...t.indent===0?{}:{indent:t.indent},...t.text_rotation===0?{}:{rotation:t.text_rotation}}),fontOf=t=>new Font({...t.font===void 0?{}:{name:t.font},...t.size===void 0?{}:{size:t.size},bold:t.bold??!1,italic:t.italic??!1,strike:t.strike??!1,...typeof t.underline=="string"?{underline:t.underline}:t.underline===!0?{underline:"single"}:{},...t.color===void 0?{}:{color:t.color}});export function fillOf(t){const{fill:e}=t;return e===void 0?new PatternFill:typeof e=="string"?new PatternFill({fill_type:"solid",fgColor:e}):new PatternFill({fill_type:e.pattern,...e.color===void 0?{}:{fgColor:e.color},...e.background===void 0?{}:{bgColor:e.background}})}const a=t=>t===void 0?new Side:new Side({style:t.style,...t.color===void 0?{}:{color:t.color}});export const borderOf=t=>new Border({left:a(t.border?.left),right:a(t.border?.right),top:a(t.border?.top),bottom:a(t.border?.bottom)}),alignmentOf=t=>new Alignment({...t.align===void 0?{}:{horizontal:t.align},...t.valign===void 0?{}:{vertical:t.valign},...t.wrap===void 0?{}:{wrap_text:t.wrap},...t.shrink===void 0?{}:{shrink_to_fit:t.shrink},...t.indent===void 0?{}:{indent:t.indent},...t.rotation===void 0?{}:{text_rotation:t.rotation}});