@allyhub/sdk 0.5.0 → 0.7.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 (262) hide show
  1. package/dist/define.d.ts +4 -0
  2. package/dist/define.js +1 -1
  3. package/dist/node_modules/@allyhub-next/audio/dist/node/index.d.ts +1 -1
  4. package/dist/node_modules/@allyhub-next/audio/dist/node/index.js +1 -1
  5. package/dist/node_modules/@allyhub-next/audio/dist/node/master.d.ts +4 -0
  6. package/dist/node_modules/@allyhub-next/audio/dist/node/master.js +1 -1
  7. package/dist/node_modules/@allyhub-next/audio/package.json +1 -1
  8. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +2 -2
  9. package/dist/node_modules/@allyhub-next/chart/dist/chart.d.ts +14 -5
  10. package/dist/node_modules/@allyhub-next/chart/dist/chart.js +1 -1
  11. package/dist/node_modules/@allyhub-next/chart/package.json +1 -1
  12. package/dist/node_modules/@allyhub-next/formats/dist/data/deck-code.d.ts +205 -0
  13. package/dist/node_modules/@allyhub-next/formats/dist/data/deck-code.js +2 -0
  14. package/dist/node_modules/@allyhub-next/formats/dist/data/script.d.ts +4 -1
  15. package/dist/node_modules/@allyhub-next/formats/dist/data/script.js +1 -1
  16. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +248 -18
  17. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.js +1 -1
  18. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.d.ts +1114 -91
  19. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +1 -1
  20. package/dist/node_modules/@allyhub-next/formats/dist/data/website.d.ts +20 -0
  21. package/dist/node_modules/@allyhub-next/formats/dist/data/website.js +2 -0
  22. package/dist/node_modules/@allyhub-next/formats/dist/index.d.ts +4 -0
  23. package/dist/node_modules/@allyhub-next/formats/dist/index.js +1 -1
  24. package/dist/node_modules/@allyhub-next/formats/dist/items.d.ts +1 -1
  25. package/dist/node_modules/@allyhub-next/formats/dist/items.js +1 -1
  26. package/dist/node_modules/@allyhub-next/formats/dist/media-type.d.ts +3 -0
  27. package/dist/node_modules/@allyhub-next/formats/dist/media-type.js +2 -0
  28. package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +625 -30
  29. package/dist/node_modules/@allyhub-next/formats/dist/schemas.js +1 -1
  30. package/dist/node_modules/@allyhub-next/formats/dist/strict.d.ts +2 -0
  31. package/dist/node_modules/@allyhub-next/formats/dist/strict.js +1 -1
  32. package/dist/node_modules/@allyhub-next/formats/dist/zip.d.ts +17 -0
  33. package/dist/node_modules/@allyhub-next/formats/dist/zip.js +2 -0
  34. package/dist/node_modules/@allyhub-next/formats/package.json +2 -1
  35. package/dist/node_modules/@allyhub-next/ooxml/LICENSE +241 -0
  36. package/dist/node_modules/@allyhub-next/ooxml/dist/brightness.d.ts +31 -0
  37. package/dist/node_modules/@allyhub-next/ooxml/dist/brightness.js +2 -0
  38. package/dist/node_modules/@allyhub-next/ooxml/dist/color.d.ts +33 -0
  39. package/dist/node_modules/@allyhub-next/ooxml/dist/color.js +2 -0
  40. package/dist/node_modules/@allyhub-next/ooxml/dist/enums.d.ts +13 -0
  41. package/dist/node_modules/@allyhub-next/ooxml/dist/enums.js +2 -0
  42. package/dist/node_modules/@allyhub-next/ooxml/dist/ext.d.ts +79 -0
  43. package/dist/node_modules/@allyhub-next/ooxml/dist/ext.js +2 -0
  44. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/enums.d.ts +132 -0
  45. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/enums.js +2 -0
  46. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.d.ts +28 -0
  47. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.js +2 -0
  48. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/spec.d.ts +4708 -0
  49. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/spec.js +2 -0
  50. package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.d.ts +57 -0
  51. package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.js +2 -0
  52. package/dist/node_modules/@allyhub-next/ooxml/dist/index.d.ts +10 -0
  53. package/dist/node_modules/@allyhub-next/ooxml/dist/index.js +2 -0
  54. package/dist/node_modules/@allyhub-next/ooxml/dist/mce.d.ts +12 -0
  55. package/dist/node_modules/@allyhub-next/ooxml/dist/mce.js +2 -0
  56. package/dist/node_modules/@allyhub-next/ooxml/dist/node.d.ts +111 -0
  57. package/dist/node_modules/@allyhub-next/ooxml/dist/node.js +2 -0
  58. package/dist/node_modules/@allyhub-next/ooxml/dist/ns.d.ts +45 -0
  59. package/dist/node_modules/@allyhub-next/ooxml/dist/ns.js +2 -0
  60. package/dist/node_modules/@allyhub-next/ooxml/dist/opc.d.ts +48 -0
  61. package/dist/node_modules/@allyhub-next/ooxml/dist/opc.js +2 -0
  62. package/dist/node_modules/@allyhub-next/ooxml/dist/report.d.ts +45 -0
  63. package/dist/node_modules/@allyhub-next/ooxml/dist/report.js +2 -0
  64. package/dist/node_modules/@allyhub-next/ooxml/dist/xml.d.ts +28 -0
  65. package/dist/node_modules/@allyhub-next/ooxml/dist/xml.js +2 -0
  66. package/dist/node_modules/@allyhub-next/ooxml/package.json +26 -0
  67. package/dist/node_modules/@allyhub-next/protocol/dist/account.d.ts +338 -0
  68. package/dist/node_modules/@allyhub-next/protocol/dist/account.js +2 -0
  69. package/dist/node_modules/@allyhub-next/protocol/dist/auth.d.ts +12 -13
  70. package/dist/node_modules/@allyhub-next/protocol/dist/auth.js +1 -1
  71. package/dist/node_modules/@allyhub-next/protocol/dist/blobs.d.ts +35 -0
  72. package/dist/node_modules/@allyhub-next/protocol/dist/blobs.js +2 -0
  73. package/dist/node_modules/@allyhub-next/protocol/dist/cloud.d.ts +101 -32
  74. package/dist/node_modules/@allyhub-next/protocol/dist/cloud.js +1 -1
  75. package/dist/node_modules/@allyhub-next/protocol/dist/editor.d.ts +89 -5
  76. package/dist/node_modules/@allyhub-next/protocol/dist/editor.js +1 -1
  77. package/dist/node_modules/@allyhub-next/protocol/dist/files.d.ts +2 -2
  78. package/dist/node_modules/@allyhub-next/protocol/dist/index.d.ts +6 -0
  79. package/dist/node_modules/@allyhub-next/protocol/dist/index.js +1 -1
  80. package/dist/node_modules/@allyhub-next/protocol/dist/notes.d.ts +23 -0
  81. package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +1 -1
  82. package/dist/node_modules/@allyhub-next/protocol/dist/open.d.ts +13 -0
  83. package/dist/node_modules/@allyhub-next/protocol/dist/open.js +2 -0
  84. package/dist/node_modules/@allyhub-next/protocol/dist/registry.d.ts +73 -59
  85. package/dist/node_modules/@allyhub-next/protocol/dist/registry.js +1 -1
  86. package/dist/node_modules/@allyhub-next/protocol/dist/routes.d.ts +1 -1
  87. package/dist/node_modules/@allyhub-next/protocol/dist/routes.js +1 -1
  88. package/dist/node_modules/@allyhub-next/protocol/dist/shares.d.ts +115 -0
  89. package/dist/node_modules/@allyhub-next/protocol/dist/shares.js +2 -0
  90. package/dist/node_modules/@allyhub-next/protocol/dist/sites.d.ts +293 -0
  91. package/dist/node_modules/@allyhub-next/protocol/dist/sites.js +2 -0
  92. package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.d.ts +377 -0
  93. package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.js +2 -0
  94. package/dist/node_modules/@allyhub-next/protocol/dist/teams.d.ts +27 -9
  95. package/dist/node_modules/@allyhub-next/protocol/dist/teams.js +1 -1
  96. package/dist/node_modules/@allyhub-next/protocol/dist/tools.d.ts +53 -14
  97. package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +1 -1
  98. package/dist/node_modules/@allyhub-next/protocol/package.json +2 -1
  99. package/dist/node_modules/@allyhub-next/runtimes/package.json +1 -1
  100. package/dist/node_modules/@allyhub-next/runtimes/schemas/runtimes.schema.json +25 -5
  101. package/dist/node_modules/@allyhub-next/scenery/package.json +1 -1
  102. package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +1 -1
  103. package/dist/node_modules/@allyhub-next/sheet/dist/api/index.d.ts +1 -0
  104. package/dist/node_modules/@allyhub-next/sheet/dist/api/index.js +1 -1
  105. package/dist/node_modules/@allyhub-next/sheet/dist/api/page.d.ts +83 -0
  106. package/dist/node_modules/@allyhub-next/sheet/dist/api/page.js +2 -0
  107. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.d.ts +40 -1
  108. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +1 -1
  109. package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.d.ts +9 -3
  110. package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.js +1 -1
  111. package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.d.ts +5 -1
  112. package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.js +1 -1
  113. package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.d.ts +60 -13
  114. package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.js +1 -1
  115. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.js +1 -1
  116. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/convert.d.ts +4 -0
  117. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/convert.js +2 -0
  118. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.js +1 -1
  119. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.js +1 -1
  120. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.js +1 -1
  121. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.d.ts +27 -1
  122. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.js +1 -1
  123. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/delimiters.d.ts +16 -0
  124. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/delimiters.js +2 -0
  125. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.d.ts +18 -1
  126. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.js +1 -1
  127. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.js +1 -1
  128. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.d.ts +2 -0
  129. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.js +1 -1
  130. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.js +1 -1
  131. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.js +1 -1
  132. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.js +1 -1
  133. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.js +1 -1
  134. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.js +1 -1
  135. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/modern.d.ts +2 -0
  136. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/modern.js +2 -0
  137. package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.js +1 -1
  138. package/dist/node_modules/@allyhub-next/sheet/dist/calc/graph.d.ts +38 -0
  139. package/dist/node_modules/@allyhub-next/sheet/dist/calc/graph.js +2 -0
  140. package/dist/node_modules/@allyhub-next/sheet/dist/calc/indexes.d.ts +19 -0
  141. package/dist/node_modules/@allyhub-next/sheet/dist/calc/indexes.js +2 -0
  142. package/dist/node_modules/@allyhub-next/sheet/dist/calc/remote.d.ts +49 -0
  143. package/dist/node_modules/@allyhub-next/sheet/dist/calc/remote.js +2 -0
  144. package/dist/node_modules/@allyhub-next/sheet/dist/calc/server.d.ts +82 -0
  145. package/dist/node_modules/@allyhub-next/sheet/dist/calc/server.js +2 -0
  146. package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.d.ts +6 -1
  147. package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.js +1 -1
  148. package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +1 -1
  149. package/dist/node_modules/@allyhub-next/sheet/dist/check.js +1 -1
  150. package/dist/node_modules/@allyhub-next/sheet/dist/diff.d.ts +15 -0
  151. package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +1 -1
  152. package/dist/node_modules/@allyhub-next/sheet/dist/export.d.ts +29 -8
  153. package/dist/node_modules/@allyhub-next/sheet/dist/export.js +3 -4
  154. package/dist/node_modules/@allyhub-next/sheet/dist/file.js +2 -2
  155. package/dist/node_modules/@allyhub-next/sheet/dist/format.d.ts +8 -2
  156. package/dist/node_modules/@allyhub-next/sheet/dist/format.js +1 -1
  157. package/dist/node_modules/@allyhub-next/sheet/dist/html.d.ts +52 -4
  158. package/dist/node_modules/@allyhub-next/sheet/dist/html.js +43 -11
  159. package/dist/node_modules/@allyhub-next/sheet/dist/index.d.ts +7 -3
  160. package/dist/node_modules/@allyhub-next/sheet/dist/index.js +1 -1
  161. package/dist/node_modules/@allyhub-next/sheet/dist/inspect.js +1 -1
  162. package/dist/node_modules/@allyhub-next/sheet/dist/paginate.d.ts +98 -0
  163. package/dist/node_modules/@allyhub-next/sheet/dist/paginate.js +2 -0
  164. package/dist/node_modules/@allyhub-next/sheet/dist/structure.js +1 -1
  165. package/dist/node_modules/@allyhub-next/sheet/dist/table-style.d.ts +32 -0
  166. package/dist/node_modules/@allyhub-next/sheet/dist/table-style.js +2 -0
  167. package/dist/node_modules/@allyhub-next/sheet/dist/table-styles.d.ts +3 -0
  168. package/dist/node_modules/@allyhub-next/sheet/dist/table-styles.js +2 -0
  169. package/dist/node_modules/@allyhub-next/sheet/dist/values.js +1 -1
  170. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +10 -1
  171. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +1 -1
  172. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +12 -1
  173. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +1 -1
  174. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.d.ts +14 -4
  175. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.js +2 -2
  176. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.d.ts +11 -1
  177. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.js +36 -16
  178. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +6 -1
  179. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +1 -1
  180. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +44 -2
  181. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +2 -1
  182. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/sax.d.ts +23 -0
  183. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/sax.js +2 -0
  184. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.d.ts +2 -0
  185. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.js +1 -1
  186. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.d.ts +6 -0
  187. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +1 -1
  188. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.d.ts +40 -0
  189. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.js +2 -0
  190. package/dist/node_modules/@allyhub-next/sheet/package.json +1 -1
  191. package/dist/node_modules/@allyhub-next/slides-core/dist/animation.js +1 -1
  192. package/dist/node_modules/@allyhub-next/slides-core/dist/api.d.ts +121 -44
  193. package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +2 -2
  194. package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.js +1 -1
  195. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.d.ts +50 -13
  196. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +1 -1
  197. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +1 -1
  198. package/dist/node_modules/@allyhub-next/slides-core/dist/check.js +1 -1
  199. package/dist/node_modules/@allyhub-next/slides-core/dist/code.d.ts +33 -0
  200. package/dist/node_modules/@allyhub-next/slides-core/dist/code.js +2 -0
  201. package/dist/node_modules/@allyhub-next/slides-core/dist/components.d.ts +31 -0
  202. package/dist/node_modules/@allyhub-next/slides-core/dist/components.js +2 -0
  203. package/dist/node_modules/@allyhub-next/slides-core/dist/enums.d.ts +188 -5
  204. package/dist/node_modules/@allyhub-next/slides-core/dist/enums.js +1 -1
  205. package/dist/node_modules/@allyhub-next/slides-core/dist/file.d.ts +43 -21
  206. package/dist/node_modules/@allyhub-next/slides-core/dist/file.js +3 -3
  207. package/dist/node_modules/@allyhub-next/slides-core/dist/identity.d.ts +17 -0
  208. package/dist/node_modules/@allyhub-next/slides-core/dist/identity.js +2 -0
  209. package/dist/node_modules/@allyhub-next/slides-core/dist/index.d.ts +5 -0
  210. package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +1 -1
  211. package/dist/node_modules/@allyhub-next/slides-core/dist/lang.d.ts +6 -0
  212. package/dist/node_modules/@allyhub-next/slides-core/dist/lang.js +2 -0
  213. package/dist/node_modules/@allyhub-next/slides-core/dist/measure.js +1 -1
  214. package/dist/node_modules/@allyhub-next/slides-core/dist/merge.d.ts +58 -0
  215. package/dist/node_modules/@allyhub-next/slides-core/dist/merge.js +2 -0
  216. package/dist/node_modules/@allyhub-next/slides-core/dist/model.d.ts +38 -4
  217. package/dist/node_modules/@allyhub-next/slides-core/dist/office.d.ts +27 -1
  218. package/dist/node_modules/@allyhub-next/slides-core/dist/office.js +1 -1
  219. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.d.ts +26 -5
  220. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +1 -1
  221. package/dist/node_modules/@allyhub-next/slides-core/dist/script.d.ts +18 -16
  222. package/dist/node_modules/@allyhub-next/slides-core/dist/script.js +2 -2
  223. package/dist/node_modules/@allyhub-next/slides-core/dist/stage.d.ts +51 -53
  224. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +1 -1
  225. package/dist/node_modules/@allyhub-next/slides-core/dist/units.d.ts +27 -0
  226. package/dist/node_modules/@allyhub-next/slides-core/dist/units.js +1 -1
  227. package/dist/node_modules/@allyhub-next/slides-core/dist/values.d.ts +7 -0
  228. package/dist/node_modules/@allyhub-next/slides-core/dist/values.js +2 -0
  229. package/dist/node_modules/@allyhub-next/slides-core/package.json +1 -1
  230. package/dist/node_modules/@allyhub-next/video-core/dist/captions.js +6 -6
  231. package/dist/node_modules/@allyhub-next/video-core/dist/fact.d.ts +47 -8
  232. package/dist/node_modules/@allyhub-next/video-core/dist/fact.js +1 -1
  233. package/dist/node_modules/@allyhub-next/video-core/dist/index.d.ts +1 -0
  234. package/dist/node_modules/@allyhub-next/video-core/dist/index.js +1 -1
  235. package/dist/node_modules/@allyhub-next/video-core/dist/marks.d.ts +14 -0
  236. package/dist/node_modules/@allyhub-next/video-core/dist/marks.js +1 -1
  237. package/dist/node_modules/@allyhub-next/video-core/dist/music.d.ts +2 -1
  238. package/dist/node_modules/@allyhub-next/video-core/dist/piece.d.ts +11 -2
  239. package/dist/node_modules/@allyhub-next/video-core/dist/problem.d.ts +4 -0
  240. package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +1 -1
  241. package/dist/node_modules/@allyhub-next/video-core/dist/schema.d.ts +2 -2
  242. package/dist/node_modules/@allyhub-next/video-core/dist/schema.js +1 -1
  243. package/dist/node_modules/@allyhub-next/video-core/dist/script.d.ts +2 -1
  244. package/dist/node_modules/@allyhub-next/video-core/dist/script.js +1 -1
  245. package/dist/node_modules/@allyhub-next/video-core/dist/source.d.ts +7 -0
  246. package/dist/node_modules/@allyhub-next/video-core/dist/source.js +2 -0
  247. package/dist/node_modules/@allyhub-next/video-core/dist/timeline.d.ts +10 -33
  248. package/dist/node_modules/@allyhub-next/video-core/package.json +1 -1
  249. package/dist/sheets.d.ts +1 -1
  250. package/dist/sheets.js +1 -1
  251. package/dist/slides.d.ts +3 -1
  252. package/dist/slides.js +1 -1
  253. package/docs/README.md +1 -0
  254. package/docs/contract.md +1 -1
  255. package/docs/defaults.md +25 -2
  256. package/docs/layers.md +1 -1
  257. package/docs/project.md +3 -1
  258. package/docs/sheets.md +29 -3
  259. package/docs/slides.md +18 -14
  260. package/docs/sound.md +1 -1
  261. package/docs/websites.md +57 -0
  262. package/package.json +3 -1
@@ -786,6 +786,7 @@ declare const ColumnEntry: z.ZodObject<{
786
786
  }, z.core.$strict>>;
787
787
  width: z.ZodOptional<z.ZodNumber>;
788
788
  hidden: z.ZodOptional<z.ZodBoolean>;
789
+ level: z.ZodOptional<z.ZodNumber>;
789
790
  }, z.core.$strict>;
790
791
  export type SheetColumn = z.output<typeof ColumnEntry>;
791
792
  declare const RowEntry: z.ZodObject<{
@@ -927,6 +928,7 @@ declare const RowEntry: z.ZodObject<{
927
928
  }, z.core.$strict>>;
928
929
  height: z.ZodOptional<z.ZodNumber>;
929
930
  hidden: z.ZodOptional<z.ZodBoolean>;
931
+ level: z.ZodOptional<z.ZodNumber>;
930
932
  }, z.core.$strict>;
931
933
  export type SheetRow = z.output<typeof RowEntry>;
932
934
  /** A filter over a range of the sheet, as Excel's AutoFilter: by column letter, what each keeps. */
@@ -1605,9 +1607,9 @@ declare const Validation: z.ZodObject<{
1605
1607
  list: "list";
1606
1608
  date: "date";
1607
1609
  custom: "custom";
1608
- time: "time";
1609
1610
  whole: "whole";
1610
1611
  decimal: "decimal";
1612
+ time: "time";
1611
1613
  textLength: "textLength";
1612
1614
  }>;
1613
1615
  operator: z.ZodOptional<z.ZodEnum<{
@@ -1670,6 +1672,7 @@ export type SheetChartAxis = z.output<typeof ChartAxis>;
1670
1672
  declare const Chart: z.ZodObject<{
1671
1673
  type: z.ZodEnum<{
1672
1674
  line: "line";
1675
+ pie: "pie";
1673
1676
  "column-clustered": "column-clustered";
1674
1677
  "column-stacked": "column-stacked";
1675
1678
  "column-stacked-100": "column-stacked-100";
@@ -1680,7 +1683,6 @@ declare const Chart: z.ZodObject<{
1680
1683
  area: "area";
1681
1684
  "area-stacked": "area-stacked";
1682
1685
  "area-stacked-100": "area-stacked-100";
1683
- pie: "pie";
1684
1686
  doughnut: "doughnut";
1685
1687
  scatter: "scatter";
1686
1688
  "scatter-lines": "scatter-lines";
@@ -1716,14 +1718,14 @@ declare const Chart: z.ZodObject<{
1716
1718
  series: z.ZodOptional<z.ZodBoolean>;
1717
1719
  format: z.ZodOptional<z.ZodString>;
1718
1720
  position: z.ZodOptional<z.ZodEnum<{
1719
- t: "t";
1720
- r: "r";
1721
1721
  l: "l";
1722
1722
  ctr: "ctr";
1723
+ r: "r";
1724
+ t: "t";
1725
+ b: "b";
1723
1726
  outEnd: "outEnd";
1724
1727
  inEnd: "inEnd";
1725
1728
  inBase: "inBase";
1726
- b: "b";
1727
1729
  bestFit: "bestFit";
1728
1730
  }>>;
1729
1731
  size: z.ZodOptional<z.ZodNumber>;
@@ -1740,7 +1742,7 @@ declare const Chart: z.ZodObject<{
1740
1742
  accent6: "accent6";
1741
1743
  hlink: "hlink";
1742
1744
  folHlink: "folHlink";
1743
- }>, z.ZodString]>>;
1745
+ }>, z.ZodString, z.ZodString]>>;
1744
1746
  }, z.core.$strict>]>>;
1745
1747
  gap_width: z.ZodOptional<z.ZodNumber>;
1746
1748
  overlap: z.ZodOptional<z.ZodNumber>;
@@ -1771,6 +1773,101 @@ declare const Chart: z.ZodObject<{
1771
1773
  color: z.ZodOptional<z.ZodString>;
1772
1774
  }, z.core.$strict>;
1773
1775
  export type SheetChart = z.output<typeof Chart>;
1776
+ /** Excel's paper sizes people use, by their `paperSize` in a file. */
1777
+ export declare const SHEET_PAPERS: {
1778
+ readonly letter: 1;
1779
+ readonly tabloid: 3;
1780
+ readonly ledger: 4;
1781
+ readonly legal: 5;
1782
+ readonly executive: 7;
1783
+ readonly a3: 8;
1784
+ readonly a4: 9;
1785
+ readonly a5: 11;
1786
+ readonly b4: 12;
1787
+ readonly b5: 13;
1788
+ };
1789
+ /** A sheet's page margins where `print.margins` says nothing: Excel's Normal, in inches. */
1790
+ export declare const SHEET_MARGINS: {
1791
+ readonly left: 0.7;
1792
+ readonly right: 0.7;
1793
+ readonly top: 0.75;
1794
+ readonly bottom: 0.75;
1795
+ readonly header: 0.3;
1796
+ readonly footer: 0.3;
1797
+ };
1798
+ /** Who a note is by when it says no one. */
1799
+ export declare const SHEET_NOTE_AUTHOR = "AllyHub";
1800
+ declare const HeaderFooter: z.ZodObject<{
1801
+ left: z.ZodOptional<z.ZodString>;
1802
+ center: z.ZodOptional<z.ZodString>;
1803
+ right: z.ZodOptional<z.ZodString>;
1804
+ }, z.core.$strict>;
1805
+ export type SheetHeaderFooter = z.output<typeof HeaderFooter>;
1806
+ /** How a sheet prints: Excel's Page Layout. */
1807
+ declare const Print: z.ZodObject<{
1808
+ area: z.ZodOptional<z.ZodString>;
1809
+ title_rows: z.ZodOptional<z.ZodString>;
1810
+ title_cols: z.ZodOptional<z.ZodString>;
1811
+ orientation: z.ZodOptional<z.ZodEnum<{
1812
+ portrait: "portrait";
1813
+ landscape: "landscape";
1814
+ }>>;
1815
+ paper: z.ZodOptional<z.ZodEnum<{
1816
+ letter: "letter";
1817
+ tabloid: "tabloid";
1818
+ ledger: "ledger";
1819
+ legal: "legal";
1820
+ executive: "executive";
1821
+ a3: "a3";
1822
+ a4: "a4";
1823
+ a5: "a5";
1824
+ b4: "b4";
1825
+ b5: "b5";
1826
+ }>>;
1827
+ fit: z.ZodOptional<z.ZodObject<{
1828
+ width: z.ZodOptional<z.ZodNumber>;
1829
+ height: z.ZodOptional<z.ZodNumber>;
1830
+ }, z.core.$strict>>;
1831
+ scale: z.ZodOptional<z.ZodNumber>;
1832
+ breaks: z.ZodOptional<z.ZodObject<{
1833
+ rows: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1834
+ cols: z.ZodOptional<z.ZodArray<z.ZodString>>;
1835
+ }, z.core.$strict>>;
1836
+ margins: z.ZodOptional<z.ZodObject<{
1837
+ left: z.ZodOptional<z.ZodNumber>;
1838
+ right: z.ZodOptional<z.ZodNumber>;
1839
+ top: z.ZodOptional<z.ZodNumber>;
1840
+ bottom: z.ZodOptional<z.ZodNumber>;
1841
+ header: z.ZodOptional<z.ZodNumber>;
1842
+ footer: z.ZodOptional<z.ZodNumber>;
1843
+ }, z.core.$strict>>;
1844
+ header: z.ZodOptional<z.ZodObject<{
1845
+ left: z.ZodOptional<z.ZodString>;
1846
+ center: z.ZodOptional<z.ZodString>;
1847
+ right: z.ZodOptional<z.ZodString>;
1848
+ }, z.core.$strict>>;
1849
+ footer: z.ZodOptional<z.ZodObject<{
1850
+ left: z.ZodOptional<z.ZodString>;
1851
+ center: z.ZodOptional<z.ZodString>;
1852
+ right: z.ZodOptional<z.ZodString>;
1853
+ }, z.core.$strict>>;
1854
+ }, z.core.$strict>;
1855
+ export type SheetPrint = z.output<typeof Print>;
1856
+ /** A picture over the cells: anchored as a chart is. */
1857
+ declare const Picture: z.ZodObject<{
1858
+ file: z.ZodString;
1859
+ at: z.ZodString;
1860
+ x: z.ZodOptional<z.ZodNumber>;
1861
+ y: z.ZodOptional<z.ZodNumber>;
1862
+ width: z.ZodOptional<z.ZodNumber>;
1863
+ height: z.ZodOptional<z.ZodNumber>;
1864
+ }, z.core.$strict>;
1865
+ export type SheetPicture = z.output<typeof Picture>;
1866
+ declare const Note: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1867
+ text: z.ZodString;
1868
+ author: z.ZodOptional<z.ZodString>;
1869
+ }, z.core.$strict>]>;
1870
+ export type SheetNote = z.output<typeof Note>;
1774
1871
  declare const Worksheet: z.ZodObject<{
1775
1872
  name: z.ZodString;
1776
1873
  hidden: z.ZodOptional<z.ZodBoolean>;
@@ -2077,6 +2174,7 @@ declare const Worksheet: z.ZodObject<{
2077
2174
  }, z.core.$strict>>;
2078
2175
  width: z.ZodOptional<z.ZodNumber>;
2079
2176
  hidden: z.ZodOptional<z.ZodBoolean>;
2177
+ level: z.ZodOptional<z.ZodNumber>;
2080
2178
  }, z.core.$strict>>>;
2081
2179
  rows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2082
2180
  format: z.ZodOptional<z.ZodString>;
@@ -2217,6 +2315,7 @@ declare const Worksheet: z.ZodObject<{
2217
2315
  }, z.core.$strict>>;
2218
2316
  height: z.ZodOptional<z.ZodNumber>;
2219
2317
  hidden: z.ZodOptional<z.ZodBoolean>;
2318
+ level: z.ZodOptional<z.ZodNumber>;
2220
2319
  }, z.core.$strict>>>;
2221
2320
  cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString, z.ZodNull]>, z.ZodObject<{
2222
2321
  format: z.ZodOptional<z.ZodString>;
@@ -3152,9 +3251,9 @@ declare const Worksheet: z.ZodObject<{
3152
3251
  list: "list";
3153
3252
  date: "date";
3154
3253
  custom: "custom";
3155
- time: "time";
3156
3254
  whole: "whole";
3157
3255
  decimal: "decimal";
3256
+ time: "time";
3158
3257
  textLength: "textLength";
3159
3258
  }>;
3160
3259
  operator: z.ZodOptional<z.ZodEnum<{
@@ -3192,6 +3291,7 @@ declare const Worksheet: z.ZodObject<{
3192
3291
  charts: z.ZodOptional<z.ZodArray<z.ZodObject<{
3193
3292
  type: z.ZodEnum<{
3194
3293
  line: "line";
3294
+ pie: "pie";
3195
3295
  "column-clustered": "column-clustered";
3196
3296
  "column-stacked": "column-stacked";
3197
3297
  "column-stacked-100": "column-stacked-100";
@@ -3202,7 +3302,6 @@ declare const Worksheet: z.ZodObject<{
3202
3302
  area: "area";
3203
3303
  "area-stacked": "area-stacked";
3204
3304
  "area-stacked-100": "area-stacked-100";
3205
- pie: "pie";
3206
3305
  doughnut: "doughnut";
3207
3306
  scatter: "scatter";
3208
3307
  "scatter-lines": "scatter-lines";
@@ -3238,14 +3337,14 @@ declare const Worksheet: z.ZodObject<{
3238
3337
  series: z.ZodOptional<z.ZodBoolean>;
3239
3338
  format: z.ZodOptional<z.ZodString>;
3240
3339
  position: z.ZodOptional<z.ZodEnum<{
3241
- t: "t";
3242
- r: "r";
3243
3340
  l: "l";
3244
3341
  ctr: "ctr";
3342
+ r: "r";
3343
+ t: "t";
3344
+ b: "b";
3245
3345
  outEnd: "outEnd";
3246
3346
  inEnd: "inEnd";
3247
3347
  inBase: "inBase";
3248
- b: "b";
3249
3348
  bestFit: "bestFit";
3250
3349
  }>>;
3251
3350
  size: z.ZodOptional<z.ZodNumber>;
@@ -3262,7 +3361,7 @@ declare const Worksheet: z.ZodObject<{
3262
3361
  accent6: "accent6";
3263
3362
  hlink: "hlink";
3264
3363
  folHlink: "folHlink";
3265
- }>, z.ZodString]>>;
3364
+ }>, z.ZodString, z.ZodString]>>;
3266
3365
  }, z.core.$strict>]>>;
3267
3366
  gap_width: z.ZodOptional<z.ZodNumber>;
3268
3367
  overlap: z.ZodOptional<z.ZodNumber>;
@@ -3292,6 +3391,70 @@ declare const Worksheet: z.ZodObject<{
3292
3391
  title_size: z.ZodOptional<z.ZodNumber>;
3293
3392
  color: z.ZodOptional<z.ZodString>;
3294
3393
  }, z.core.$strict>>>;
3394
+ pictures: z.ZodOptional<z.ZodArray<z.ZodObject<{
3395
+ file: z.ZodString;
3396
+ at: z.ZodString;
3397
+ x: z.ZodOptional<z.ZodNumber>;
3398
+ y: z.ZodOptional<z.ZodNumber>;
3399
+ width: z.ZodOptional<z.ZodNumber>;
3400
+ height: z.ZodOptional<z.ZodNumber>;
3401
+ }, z.core.$strict>>>;
3402
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3403
+ notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3404
+ text: z.ZodString;
3405
+ author: z.ZodOptional<z.ZodString>;
3406
+ }, z.core.$strict>]>>>;
3407
+ print: z.ZodOptional<z.ZodObject<{
3408
+ area: z.ZodOptional<z.ZodString>;
3409
+ title_rows: z.ZodOptional<z.ZodString>;
3410
+ title_cols: z.ZodOptional<z.ZodString>;
3411
+ orientation: z.ZodOptional<z.ZodEnum<{
3412
+ portrait: "portrait";
3413
+ landscape: "landscape";
3414
+ }>>;
3415
+ paper: z.ZodOptional<z.ZodEnum<{
3416
+ letter: "letter";
3417
+ tabloid: "tabloid";
3418
+ ledger: "ledger";
3419
+ legal: "legal";
3420
+ executive: "executive";
3421
+ a3: "a3";
3422
+ a4: "a4";
3423
+ a5: "a5";
3424
+ b4: "b4";
3425
+ b5: "b5";
3426
+ }>>;
3427
+ fit: z.ZodOptional<z.ZodObject<{
3428
+ width: z.ZodOptional<z.ZodNumber>;
3429
+ height: z.ZodOptional<z.ZodNumber>;
3430
+ }, z.core.$strict>>;
3431
+ scale: z.ZodOptional<z.ZodNumber>;
3432
+ breaks: z.ZodOptional<z.ZodObject<{
3433
+ rows: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
3434
+ cols: z.ZodOptional<z.ZodArray<z.ZodString>>;
3435
+ }, z.core.$strict>>;
3436
+ margins: z.ZodOptional<z.ZodObject<{
3437
+ left: z.ZodOptional<z.ZodNumber>;
3438
+ right: z.ZodOptional<z.ZodNumber>;
3439
+ top: z.ZodOptional<z.ZodNumber>;
3440
+ bottom: z.ZodOptional<z.ZodNumber>;
3441
+ header: z.ZodOptional<z.ZodNumber>;
3442
+ footer: z.ZodOptional<z.ZodNumber>;
3443
+ }, z.core.$strict>>;
3444
+ header: z.ZodOptional<z.ZodObject<{
3445
+ left: z.ZodOptional<z.ZodString>;
3446
+ center: z.ZodOptional<z.ZodString>;
3447
+ right: z.ZodOptional<z.ZodString>;
3448
+ }, z.core.$strict>>;
3449
+ footer: z.ZodOptional<z.ZodObject<{
3450
+ left: z.ZodOptional<z.ZodString>;
3451
+ center: z.ZodOptional<z.ZodString>;
3452
+ right: z.ZodOptional<z.ZodString>;
3453
+ }, z.core.$strict>>;
3454
+ }, z.core.$strict>>;
3455
+ protect: z.ZodOptional<z.ZodBoolean>;
3456
+ names: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString, z.ZodNull]>>>;
3457
+ hidden_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
3295
3458
  }, z.core.$strict>;
3296
3459
  export type SheetWorksheet = z.output<typeof Worksheet>;
3297
3460
  declare const Check: z.ZodObject<{
@@ -3303,6 +3466,7 @@ export type SheetCheck = z.output<typeof Check>;
3303
3466
  export declare const SheetFileSchema: z.ZodObject<{
3304
3467
  title: z.ZodOptional<z.ZodString>;
3305
3468
  names: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString, z.ZodNull]>>>;
3469
+ hidden_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
3306
3470
  sheets: z.ZodArray<z.ZodObject<{
3307
3471
  name: z.ZodString;
3308
3472
  hidden: z.ZodOptional<z.ZodBoolean>;
@@ -3609,6 +3773,7 @@ export declare const SheetFileSchema: z.ZodObject<{
3609
3773
  }, z.core.$strict>>;
3610
3774
  width: z.ZodOptional<z.ZodNumber>;
3611
3775
  hidden: z.ZodOptional<z.ZodBoolean>;
3776
+ level: z.ZodOptional<z.ZodNumber>;
3612
3777
  }, z.core.$strict>>>;
3613
3778
  rows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3614
3779
  format: z.ZodOptional<z.ZodString>;
@@ -3749,6 +3914,7 @@ export declare const SheetFileSchema: z.ZodObject<{
3749
3914
  }, z.core.$strict>>;
3750
3915
  height: z.ZodOptional<z.ZodNumber>;
3751
3916
  hidden: z.ZodOptional<z.ZodBoolean>;
3917
+ level: z.ZodOptional<z.ZodNumber>;
3752
3918
  }, z.core.$strict>>>;
3753
3919
  cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString, z.ZodNull]>, z.ZodObject<{
3754
3920
  format: z.ZodOptional<z.ZodString>;
@@ -4684,9 +4850,9 @@ export declare const SheetFileSchema: z.ZodObject<{
4684
4850
  list: "list";
4685
4851
  date: "date";
4686
4852
  custom: "custom";
4687
- time: "time";
4688
4853
  whole: "whole";
4689
4854
  decimal: "decimal";
4855
+ time: "time";
4690
4856
  textLength: "textLength";
4691
4857
  }>;
4692
4858
  operator: z.ZodOptional<z.ZodEnum<{
@@ -4724,6 +4890,7 @@ export declare const SheetFileSchema: z.ZodObject<{
4724
4890
  charts: z.ZodOptional<z.ZodArray<z.ZodObject<{
4725
4891
  type: z.ZodEnum<{
4726
4892
  line: "line";
4893
+ pie: "pie";
4727
4894
  "column-clustered": "column-clustered";
4728
4895
  "column-stacked": "column-stacked";
4729
4896
  "column-stacked-100": "column-stacked-100";
@@ -4734,7 +4901,6 @@ export declare const SheetFileSchema: z.ZodObject<{
4734
4901
  area: "area";
4735
4902
  "area-stacked": "area-stacked";
4736
4903
  "area-stacked-100": "area-stacked-100";
4737
- pie: "pie";
4738
4904
  doughnut: "doughnut";
4739
4905
  scatter: "scatter";
4740
4906
  "scatter-lines": "scatter-lines";
@@ -4770,14 +4936,14 @@ export declare const SheetFileSchema: z.ZodObject<{
4770
4936
  series: z.ZodOptional<z.ZodBoolean>;
4771
4937
  format: z.ZodOptional<z.ZodString>;
4772
4938
  position: z.ZodOptional<z.ZodEnum<{
4773
- t: "t";
4774
- r: "r";
4775
4939
  l: "l";
4776
4940
  ctr: "ctr";
4941
+ r: "r";
4942
+ t: "t";
4943
+ b: "b";
4777
4944
  outEnd: "outEnd";
4778
4945
  inEnd: "inEnd";
4779
4946
  inBase: "inBase";
4780
- b: "b";
4781
4947
  bestFit: "bestFit";
4782
4948
  }>>;
4783
4949
  size: z.ZodOptional<z.ZodNumber>;
@@ -4794,7 +4960,7 @@ export declare const SheetFileSchema: z.ZodObject<{
4794
4960
  accent6: "accent6";
4795
4961
  hlink: "hlink";
4796
4962
  folHlink: "folHlink";
4797
- }>, z.ZodString]>>;
4963
+ }>, z.ZodString, z.ZodString]>>;
4798
4964
  }, z.core.$strict>]>>;
4799
4965
  gap_width: z.ZodOptional<z.ZodNumber>;
4800
4966
  overlap: z.ZodOptional<z.ZodNumber>;
@@ -4824,6 +4990,70 @@ export declare const SheetFileSchema: z.ZodObject<{
4824
4990
  title_size: z.ZodOptional<z.ZodNumber>;
4825
4991
  color: z.ZodOptional<z.ZodString>;
4826
4992
  }, z.core.$strict>>>;
4993
+ pictures: z.ZodOptional<z.ZodArray<z.ZodObject<{
4994
+ file: z.ZodString;
4995
+ at: z.ZodString;
4996
+ x: z.ZodOptional<z.ZodNumber>;
4997
+ y: z.ZodOptional<z.ZodNumber>;
4998
+ width: z.ZodOptional<z.ZodNumber>;
4999
+ height: z.ZodOptional<z.ZodNumber>;
5000
+ }, z.core.$strict>>>;
5001
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5002
+ notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5003
+ text: z.ZodString;
5004
+ author: z.ZodOptional<z.ZodString>;
5005
+ }, z.core.$strict>]>>>;
5006
+ print: z.ZodOptional<z.ZodObject<{
5007
+ area: z.ZodOptional<z.ZodString>;
5008
+ title_rows: z.ZodOptional<z.ZodString>;
5009
+ title_cols: z.ZodOptional<z.ZodString>;
5010
+ orientation: z.ZodOptional<z.ZodEnum<{
5011
+ portrait: "portrait";
5012
+ landscape: "landscape";
5013
+ }>>;
5014
+ paper: z.ZodOptional<z.ZodEnum<{
5015
+ letter: "letter";
5016
+ tabloid: "tabloid";
5017
+ ledger: "ledger";
5018
+ legal: "legal";
5019
+ executive: "executive";
5020
+ a3: "a3";
5021
+ a4: "a4";
5022
+ a5: "a5";
5023
+ b4: "b4";
5024
+ b5: "b5";
5025
+ }>>;
5026
+ fit: z.ZodOptional<z.ZodObject<{
5027
+ width: z.ZodOptional<z.ZodNumber>;
5028
+ height: z.ZodOptional<z.ZodNumber>;
5029
+ }, z.core.$strict>>;
5030
+ scale: z.ZodOptional<z.ZodNumber>;
5031
+ breaks: z.ZodOptional<z.ZodObject<{
5032
+ rows: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
5033
+ cols: z.ZodOptional<z.ZodArray<z.ZodString>>;
5034
+ }, z.core.$strict>>;
5035
+ margins: z.ZodOptional<z.ZodObject<{
5036
+ left: z.ZodOptional<z.ZodNumber>;
5037
+ right: z.ZodOptional<z.ZodNumber>;
5038
+ top: z.ZodOptional<z.ZodNumber>;
5039
+ bottom: z.ZodOptional<z.ZodNumber>;
5040
+ header: z.ZodOptional<z.ZodNumber>;
5041
+ footer: z.ZodOptional<z.ZodNumber>;
5042
+ }, z.core.$strict>>;
5043
+ header: z.ZodOptional<z.ZodObject<{
5044
+ left: z.ZodOptional<z.ZodString>;
5045
+ center: z.ZodOptional<z.ZodString>;
5046
+ right: z.ZodOptional<z.ZodString>;
5047
+ }, z.core.$strict>>;
5048
+ footer: z.ZodOptional<z.ZodObject<{
5049
+ left: z.ZodOptional<z.ZodString>;
5050
+ center: z.ZodOptional<z.ZodString>;
5051
+ right: z.ZodOptional<z.ZodString>;
5052
+ }, z.core.$strict>>;
5053
+ }, z.core.$strict>>;
5054
+ protect: z.ZodOptional<z.ZodBoolean>;
5055
+ names: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString, z.ZodNull]>>>;
5056
+ hidden_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
4827
5057
  }, z.core.$strict>>;
4828
5058
  checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4829
5059
  name: z.ZodString;
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{z as o}from"zod";import{CHART_LEGEND_POSITIONS as d,ChartSchema as e,SHEET_CHART_TYPES as h}from"./slides.js";export const SHEET_FILE="sheet.yaml",SHEET_DATA="data",SHEET_CODE="sheet.ts",SHEET_FILES="files",SHEET_SEPARATOR=", ",SHEET_PICTURE_HEIGHT=60;const t=o.string().regex(/^#[0-9a-fA-F]{6}$/u,"A colour is #RRGGBB.");export const SHEET_ALIGNS=["general","left","center","right","fill","justify","centerContinuous","distributed"],SHEET_VALIGNS=["top","center","bottom","justify","distributed"],SHEET_UNDERLINES=["single","double","singleAccounting","doubleAccounting"],SHEET_BORDERS=["none","thin","medium","thick","double","hair","dotted","dashed","dashDot","dashDotDot","mediumDashed","mediumDashDot","mediumDashDotDot","slantDashDot"],SHEET_PATTERNS=["solid","darkDown","darkGray","darkGrid","darkHorizontal","darkTrellis","darkUp","darkVertical","gray0625","gray125","lightDown","lightGray","lightGrid","lightHorizontal","lightTrellis","lightUp","lightVertical","mediumGray"];const r=o.strictObject({style:o.enum(SHEET_BORDERS),color:t.optional()}),m={bold:o.boolean().optional(),italic:o.boolean().optional(),underline:o.union([o.boolean(),o.enum(SHEET_UNDERLINES)]).optional(),strike:o.boolean().optional(),font:o.string().min(1).optional(),size:o.number().positive().optional(),color:t.optional(),fill:o.union([t,o.strictObject({pattern:o.enum(SHEET_PATTERNS),color:t.optional(),background:t.optional()})]).optional(),align:o.enum(SHEET_ALIGNS).optional(),valign:o.enum(SHEET_VALIGNS).optional(),wrap:o.boolean().optional(),shrink:o.boolean().optional(),indent:o.number().int().min(0).optional(),rotation:o.number().int().min(-90).max(180).optional(),border:o.strictObject({left:r.optional(),right:r.optional(),top:r.optional(),bottom:r.optional()}).optional()},a={...m,format:o.string().min(1).optional()},l=o.union([o.number(),o.boolean(),o.string(),o.null()]),y=o.strictObject({value:l.optional(),formula:o.string().min(1).optional(),name:o.string().min(1).optional(),...a}).refine(c=>c.value===void 0||c.formula===void 0,{message:"A cell has a value or a formula, not both."}),E=o.union([l,y]),O=o.strictObject({range:o.string().min(1),...a}),b=o.union([o.literal(!0),o.strictObject({separator:o.string().min(1).optional(),height:o.number().positive().optional()})]),S=o.strictObject({formula:o.string().min(1).optional(),...a,width:o.number().positive().optional(),files:b.optional()}),u=o.strictObject({values:o.array(o.string()).optional(),blanks:o.boolean().optional()}),f=o.strictObject({name:o.string().min(1),at:o.string().min(1),rows:o.string().min(1),key:o.string().min(1).optional(),style:o.string().min(1).optional(),columns:o.record(o.string(),S).optional(),filter:o.union([o.literal(!1),o.strictObject({columns:o.record(o.string(),u)})]).optional()}),T=o.strictObject({at:o.string().min(1),rows:o.string().min(1)}),j=o.strictObject({width:o.number().positive().optional(),hidden:o.boolean().optional(),...a,files:b.optional()}),x=o.strictObject({height:o.number().positive().optional(),hidden:o.boolean().optional(),...a}),_=o.strictObject({range:o.string().min(1),columns:o.record(o.string(),u).optional()});export const SHEET_OPERATORS=["between","notBetween","equal","notEqual","greaterThan","lessThan","greaterThanOrEqual","lessThanOrEqual"];const p=o.union([o.number(),o.string()]),i={bold:o.boolean().optional(),italic:o.boolean().optional(),underline:o.boolean().optional(),strike:o.boolean().optional(),color:t.optional(),fill:t.optional(),border:m.border},n={range:o.string().min(1),stop:o.boolean().optional()},s=o.strictObject({at:o.enum(["min","max","num","percent","percentile","formula"]),value:p.optional()});export const SHEET_ICONS=["3Arrows","3ArrowsGray","3Flags","3TrafficLights1","3TrafficLights2","3Signs","3Symbols","3Symbols2","4Arrows","4ArrowsGray","4RedToBlack","4Rating","4TrafficLights","5Arrows","5ArrowsGray","5Rating","5Quarters"];const v=o.discriminatedUnion("type",[o.strictObject({...n,...i,type:o.literal("cellIs"),operator:o.enum(SHEET_OPERATORS),formula:o.array(p).min(1).max(2)}),o.strictObject({...n,...i,type:o.literal("containsText"),operator:o.enum(["contains","notContains","beginsWith","endsWith"]).optional(),text:o.string()}),o.strictObject({...n,...i,type:o.enum(["duplicateValues","uniqueValues"])}),o.strictObject({...n,...i,type:o.literal("top10"),rank:o.number().int().positive(),percent:o.boolean().optional(),bottom:o.boolean().optional()}),o.strictObject({...n,...i,type:o.literal("aboveAverage"),below:o.boolean().optional(),equal:o.boolean().optional()}),o.strictObject({...n,...i,type:o.literal("expression"),formula:o.string().min(1)}),o.strictObject({...n,type:o.literal("dataBar"),color:t,min:s.optional(),max:s.optional(),show:o.boolean().optional()}),o.strictObject({...n,type:o.literal("colorScale"),stops:o.array(o.strictObject({...s.shape,color:t})).min(2).max(3)}),o.strictObject({...n,type:o.literal("iconSet"),icons:o.enum(SHEET_ICONS),stops:o.array(s).min(3).max(5).optional(),reverse:o.boolean().optional(),show:o.boolean().optional()})]);export const SHEET_VALIDATIONS=["whole","decimal","list","date","time","textLength","custom"];const w=o.strictObject({range:o.string().min(1),type:o.enum(SHEET_VALIDATIONS),operator:o.enum(SHEET_OPERATORS).optional(),formula:o.array(p).max(2).optional(),values:o.array(o.string()).optional(),multiple:o.boolean().optional(),separator:o.string().min(1).optional(),blank:o.boolean().optional(),dropdown:o.boolean().optional(),prompt:o.strictObject({title:o.string().optional(),message:o.string().optional(),show:o.boolean().optional()}).optional(),error:o.strictObject({style:o.enum(["stop","warning","information"]).optional(),title:o.string().optional(),message:o.string().optional(),show:o.boolean().optional()}).optional()}),k=o.strictObject({values:o.string().min(1),x:o.string().min(1).optional(),name:o.string().optional(),color:t.optional(),format:o.string().min(1).optional(),smooth:o.boolean().optional(),line_width:o.number().positive().optional(),marker_size:o.number().int().min(2).max(72).optional()}),g=o.strictObject({title:o.string().optional(),min:o.number().optional(),max:o.number().optional(),major:o.number().positive().optional(),gridlines:o.boolean().optional(),visible:o.boolean().optional(),format:o.string().min(1).optional(),reverse:o.boolean().optional()}),A=o.strictObject({type:o.enum(h),at:o.string().min(1),x:o.number().min(0).optional(),y:o.number().min(0).optional(),width:o.number().positive().optional(),height:o.number().positive().optional(),title:o.string().optional(),categories:o.string().min(1).optional(),series:o.array(k).min(1),legend:o.enum(d).optional(),labels:e.shape.labels,gap_width:e.shape.gap_width,overlap:e.shape.overlap,vary_by_categories:e.shape.vary_by_categories,hole_size:e.shape.hole_size,value_axis:g.optional(),category_axis:g.optional(),size:o.number().positive().optional(),title_size:o.number().positive().optional(),color:t.optional()}),H=o.strictObject({name:o.string().min(1),hidden:o.boolean().optional(),gridlines:o.boolean().optional(),tab:t.optional(),freeze:o.string().min(1).optional(),tables:o.array(f).optional(),columns:o.record(o.string(),j).optional(),rows:o.record(o.string(),x).optional(),cells:o.record(o.string(),E).optional(),format:o.array(O).optional(),merges:o.array(o.string().min(1)).optional(),blocks:o.array(T).optional(),filter:_.optional(),conditional:o.array(v).optional(),validations:o.array(w).optional(),charts:o.array(A).optional()}),C=o.strictObject({name:o.string().min(1),formula:o.string().min(1)});export const SheetFileSchema=o.strictObject({title:o.string().optional(),names:o.record(o.string(),l).optional(),sheets:o.array(H).min(1),checks:o.array(C).optional(),scenarios:o.record(o.string(),o.record(o.string(),l)).optional()});
2
+ import{z as t}from"zod";import{CHART_LEGEND_POSITIONS as h,ChartSchema as e,SHEET_CHART_TYPES as y}from"./slides.js";export const SHEET_FILE="sheet.yaml",SHEET_DATA="data",SHEET_CODE="sheet.ts",SHEET_FILES="files",SHEET_SEPARATOR=", ",SHEET_PICTURE_HEIGHT=60;const o=t.string().regex(/^#[0-9a-fA-F]{6}$/u,"A colour is #RRGGBB.");export const SHEET_ALIGNS=["general","left","center","right","fill","justify","centerContinuous","distributed"],SHEET_VALIGNS=["top","center","bottom","justify","distributed"],SHEET_UNDERLINES=["single","double","singleAccounting","doubleAccounting"],SHEET_BORDERS=["none","thin","medium","thick","double","hair","dotted","dashed","dashDot","dashDotDot","mediumDashed","mediumDashDot","mediumDashDotDot","slantDashDot"],SHEET_PATTERNS=["solid","darkDown","darkGray","darkGrid","darkHorizontal","darkTrellis","darkUp","darkVertical","gray0625","gray125","lightDown","lightGray","lightGrid","lightHorizontal","lightTrellis","lightUp","lightVertical","mediumGray"];const l=t.strictObject({style:t.enum(SHEET_BORDERS),color:o.optional()}),m={bold:t.boolean().optional(),italic:t.boolean().optional(),underline:t.union([t.boolean(),t.enum(SHEET_UNDERLINES)]).optional(),strike:t.boolean().optional(),font:t.string().min(1).optional(),size:t.number().positive().optional(),color:o.optional(),fill:t.union([o,t.strictObject({pattern:t.enum(SHEET_PATTERNS),color:o.optional(),background:o.optional()})]).optional(),align:t.enum(SHEET_ALIGNS).optional(),valign:t.enum(SHEET_VALIGNS).optional(),wrap:t.boolean().optional(),shrink:t.boolean().optional(),indent:t.number().int().min(0).optional(),rotation:t.number().int().min(-90).max(180).optional(),border:t.strictObject({left:l.optional(),right:l.optional(),top:l.optional(),bottom:l.optional()}).optional()},a={...m,format:t.string().min(1).optional()},r=t.union([t.number(),t.boolean(),t.string(),t.null()]),E=t.strictObject({value:r.optional(),formula:t.string().min(1).optional(),name:t.string().min(1).optional(),...a}).refine(c=>c.value===void 0||c.formula===void 0,{message:"A cell has a value or a formula, not both."}),O=t.union([r,E]),f=t.strictObject({range:t.string().min(1),...a}),b=t.union([t.literal(!0),t.strictObject({separator:t.string().min(1).optional(),height:t.number().positive().optional()})]),S=t.strictObject({formula:t.string().min(1).optional(),...a,width:t.number().positive().optional(),files:b.optional()}),u=t.strictObject({values:t.array(t.string()).optional(),blanks:t.boolean().optional()}),x=t.strictObject({name:t.string().min(1),at:t.string().min(1),rows:t.string().min(1),key:t.string().min(1).optional(),style:t.string().min(1).optional(),columns:t.record(t.string(),S).optional(),filter:t.union([t.literal(!1),t.strictObject({columns:t.record(t.string(),u)})]).optional()}),j=t.strictObject({at:t.string().min(1),rows:t.string().min(1)}),T=t.strictObject({width:t.number().positive().optional(),hidden:t.boolean().optional(),level:t.number().int().min(1).max(7).optional(),...a,files:b.optional()}),_=t.strictObject({height:t.number().positive().optional(),hidden:t.boolean().optional(),level:t.number().int().min(1).max(7).optional(),...a}),v=t.strictObject({range:t.string().min(1),columns:t.record(t.string(),u).optional()});export const SHEET_OPERATORS=["between","notBetween","equal","notEqual","greaterThan","lessThan","greaterThanOrEqual","lessThanOrEqual"];const p=t.union([t.number(),t.string()]),i={bold:t.boolean().optional(),italic:t.boolean().optional(),underline:t.boolean().optional(),strike:t.boolean().optional(),color:o.optional(),fill:o.optional(),border:m.border},n={range:t.string().min(1),stop:t.boolean().optional()},s=t.strictObject({at:t.enum(["min","max","num","percent","percentile","formula"]),value:p.optional()});export const SHEET_ICONS=["3Arrows","3ArrowsGray","3Flags","3TrafficLights1","3TrafficLights2","3Signs","3Symbols","3Symbols2","4Arrows","4ArrowsGray","4RedToBlack","4Rating","4TrafficLights","5Arrows","5ArrowsGray","5Rating","5Quarters"];const w=t.discriminatedUnion("type",[t.strictObject({...n,...i,type:t.literal("cellIs"),operator:t.enum(SHEET_OPERATORS),formula:t.array(p).min(1).max(2)}),t.strictObject({...n,...i,type:t.literal("containsText"),operator:t.enum(["contains","notContains","beginsWith","endsWith"]).optional(),text:t.string()}),t.strictObject({...n,...i,type:t.enum(["duplicateValues","uniqueValues"])}),t.strictObject({...n,...i,type:t.literal("top10"),rank:t.number().int().positive(),percent:t.boolean().optional(),bottom:t.boolean().optional()}),t.strictObject({...n,...i,type:t.literal("aboveAverage"),below:t.boolean().optional(),equal:t.boolean().optional()}),t.strictObject({...n,...i,type:t.literal("expression"),formula:t.string().min(1)}),t.strictObject({...n,type:t.literal("dataBar"),color:o,min:s.optional(),max:s.optional(),show:t.boolean().optional()}),t.strictObject({...n,type:t.literal("colorScale"),stops:t.array(t.strictObject({...s.shape,color:o})).min(2).max(3)}),t.strictObject({...n,type:t.literal("iconSet"),icons:t.enum(SHEET_ICONS),stops:t.array(s).min(3).max(5).optional(),reverse:t.boolean().optional(),show:t.boolean().optional()})]);export const SHEET_VALIDATIONS=["whole","decimal","list","date","time","textLength","custom"];const A=t.strictObject({range:t.string().min(1),type:t.enum(SHEET_VALIDATIONS),operator:t.enum(SHEET_OPERATORS).optional(),formula:t.array(p).max(2).optional(),values:t.array(t.string()).optional(),multiple:t.boolean().optional(),separator:t.string().min(1).optional(),blank:t.boolean().optional(),dropdown:t.boolean().optional(),prompt:t.strictObject({title:t.string().optional(),message:t.string().optional(),show:t.boolean().optional()}).optional(),error:t.strictObject({style:t.enum(["stop","warning","information"]).optional(),title:t.string().optional(),message:t.string().optional(),show:t.boolean().optional()}).optional()}),k=t.strictObject({values:t.string().min(1),x:t.string().min(1).optional(),name:t.string().optional(),color:o.optional(),format:t.string().min(1).optional(),smooth:t.boolean().optional(),line_width:t.number().positive().optional(),marker_size:t.number().int().min(2).max(72).optional()}),g=t.strictObject({title:t.string().optional(),min:t.number().optional(),max:t.number().optional(),major:t.number().positive().optional(),gridlines:t.boolean().optional(),visible:t.boolean().optional(),format:t.string().min(1).optional(),reverse:t.boolean().optional()}),H=t.strictObject({type:t.enum(y),at:t.string().min(1),x:t.number().min(0).optional(),y:t.number().min(0).optional(),width:t.number().positive().optional(),height:t.number().positive().optional(),title:t.string().optional(),categories:t.string().min(1).optional(),series:t.array(k).min(1),legend:t.enum(h).optional(),labels:e.shape.labels,gap_width:e.shape.gap_width,overlap:e.shape.overlap,vary_by_categories:e.shape.vary_by_categories,hole_size:e.shape.hole_size,value_axis:g.optional(),category_axis:g.optional(),size:t.number().positive().optional(),title_size:t.number().positive().optional(),color:o.optional()});export const SHEET_PAPERS={letter:1,tabloid:3,ledger:4,legal:5,executive:7,a3:8,a4:9,a5:11,b4:12,b5:13},SHEET_MARGINS={left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},SHEET_NOTE_AUTHOR="AllyHub";const d=t.strictObject({left:t.string().optional(),center:t.string().optional(),right:t.string().optional()}),R=t.strictObject({area:t.string().min(1).optional(),title_rows:t.string().regex(/^\d+:\d+$/u).optional(),title_cols:t.string().regex(/^[A-Za-z]+:[A-Za-z]+$/u).optional(),orientation:t.enum(["portrait","landscape"]).optional(),paper:t.enum(Object.keys(SHEET_PAPERS)).optional(),fit:t.strictObject({width:t.number().int().min(0).optional(),height:t.number().int().min(0).optional()}).optional(),scale:t.number().int().min(10).max(400).optional(),breaks:t.strictObject({rows:t.array(t.number().int().min(2)).optional(),cols:t.array(t.string().regex(/^[A-Za-z]+$/u)).optional()}).optional(),margins:t.strictObject({left:t.number().min(0).optional(),right:t.number().min(0).optional(),top:t.number().min(0).optional(),bottom:t.number().min(0).optional(),header:t.number().min(0).optional(),footer:t.number().min(0).optional()}).optional(),header:d.optional(),footer:d.optional()}),C=t.strictObject({file:t.string().min(1),at:t.string().min(1),x:t.number().min(0).optional(),y:t.number().min(0).optional(),width:t.number().positive().optional(),height:t.number().positive().optional()}),D=t.union([t.string().min(1),t.strictObject({text:t.string().min(1),author:t.string().optional()})]),G=t.strictObject({name:t.string().min(1),hidden:t.boolean().optional(),gridlines:t.boolean().optional(),tab:o.optional(),freeze:t.string().min(1).optional(),tables:t.array(x).optional(),columns:t.record(t.string(),T).optional(),rows:t.record(t.string(),_).optional(),cells:t.record(t.string(),O).optional(),format:t.array(f).optional(),merges:t.array(t.string().min(1)).optional(),blocks:t.array(j).optional(),filter:v.optional(),conditional:t.array(w).optional(),validations:t.array(A).optional(),charts:t.array(H).optional(),pictures:t.array(C).optional(),links:t.record(t.string(),t.string().min(1)).optional(),notes:t.record(t.string(),D).optional(),print:R.optional(),protect:t.boolean().optional(),names:t.record(t.string(),r).optional(),hidden_names:t.array(t.string().min(1)).optional()}),I=t.strictObject({name:t.string().min(1),formula:t.string().min(1)});export const SheetFileSchema=t.strictObject({title:t.string().optional(),names:t.record(t.string(),r).optional(),hidden_names:t.array(t.string().min(1)).optional(),sheets:t.array(G).min(1),checks:t.array(I).optional(),scenarios:t.record(t.string(),t.record(t.string(),r)).optional()});