allyhub 0.19.0 → 0.21.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 (717) hide show
  1. package/dist/commands/align.js +1 -1
  2. package/dist/commands/check.js +1 -1
  3. package/dist/commands/cloud-tools.js +5 -5
  4. package/dist/commands/cloud.js +1 -1
  5. package/dist/commands/dev.js +5 -5
  6. package/dist/commands/export.js +3 -0
  7. package/dist/commands/frames/doc.js +1 -1
  8. package/dist/commands/frames/piece.js +1 -1
  9. package/dist/commands/frames/sheet.js +1 -1
  10. package/dist/commands/frames.js +9 -9
  11. package/dist/commands/index.js +1 -1
  12. package/dist/commands/inspect/combos.js +1 -1
  13. package/dist/commands/inspect/common.js +2 -2
  14. package/dist/commands/inspect/facts.js +2 -2
  15. package/dist/commands/migrate.js +3 -0
  16. package/dist/commands/skills.js +3 -3
  17. package/dist/commands/upgrade.js +5 -0
  18. package/dist/commands.json +1 -1
  19. package/dist/help.js +3 -3
  20. package/dist/main.js +8 -7
  21. package/dist/node_modules/@allyhub/3d-extension/package.json +2 -2
  22. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  23. package/dist/node_modules/@allyhub/blocks/LICENSE +241 -0
  24. package/dist/node_modules/@allyhub/blocks/dist/alt.js +2 -0
  25. package/dist/node_modules/@allyhub/blocks/dist/elements.js +2 -0
  26. package/dist/node_modules/@allyhub/blocks/dist/flow-resolve.js +2 -0
  27. package/dist/node_modules/@allyhub/blocks/dist/flow-table.js +2 -0
  28. package/dist/node_modules/@allyhub/blocks/dist/format.js +2 -0
  29. package/dist/node_modules/@allyhub/blocks/dist/gantt.js +2 -0
  30. package/dist/node_modules/@allyhub/blocks/dist/grids.js +2 -0
  31. package/dist/node_modules/@allyhub/blocks/dist/html.js +75 -0
  32. package/dist/node_modules/@allyhub/blocks/dist/icons.generated.js +2 -0
  33. package/dist/node_modules/@allyhub/blocks/dist/icons.js +2 -0
  34. package/dist/node_modules/@allyhub/blocks/dist/index.js +2 -0
  35. package/dist/node_modules/@allyhub/blocks/dist/layout.js +2 -0
  36. package/dist/node_modules/@allyhub/blocks/dist/look.js +2 -0
  37. package/dist/node_modules/@allyhub/blocks/dist/measure.js +3 -0
  38. package/dist/node_modules/@allyhub/blocks/dist/model.js +2 -0
  39. package/dist/node_modules/@allyhub/blocks/dist/page.js +2 -0
  40. package/dist/node_modules/@allyhub/blocks/dist/palette.js +2 -0
  41. package/dist/node_modules/@allyhub/blocks/dist/path.js +2 -0
  42. package/dist/node_modules/@allyhub/blocks/dist/resolve.js +2 -0
  43. package/dist/node_modules/@allyhub/blocks/dist/samples.js +2 -0
  44. package/dist/node_modules/@allyhub/blocks/dist/sankey.js +2 -0
  45. package/dist/node_modules/@allyhub/blocks/dist/svg.js +2 -0
  46. package/dist/node_modules/@allyhub/blocks/dist/tidy.js +2 -0
  47. package/dist/node_modules/@allyhub/blocks/dist/trees.js +2 -0
  48. package/dist/node_modules/@allyhub/blocks/package.json +19 -0
  49. package/dist/node_modules/@allyhub/browser/dist/html.js +1 -1
  50. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  51. package/dist/node_modules/@allyhub/build/dist/fonts.js +9 -3
  52. package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
  53. package/dist/node_modules/@allyhub/build/dist/inspect-view.js +1 -1
  54. package/dist/node_modules/@allyhub/build/dist/migrate.js +2 -0
  55. package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
  56. package/dist/node_modules/@allyhub/build/dist/work.js +3 -3
  57. package/dist/node_modules/@allyhub/build/package.json +5 -1
  58. package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
  59. package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
  60. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -1
  61. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +4 -3
  62. package/dist/node_modules/@allyhub/chart/dist/chart.js +4 -2
  63. package/dist/node_modules/@allyhub/chart/dist/chartex-xml.js +4 -0
  64. package/dist/node_modules/@allyhub/chart/dist/classic.js +2 -0
  65. package/dist/node_modules/@allyhub/chart/dist/embedded.js +2 -2
  66. package/dist/node_modules/@allyhub/chart/dist/extended.js +2 -0
  67. package/dist/node_modules/@allyhub/chart/dist/index.js +1 -1
  68. package/dist/node_modules/@allyhub/chart/dist/svg.js +1 -1
  69. package/dist/node_modules/@allyhub/chart/dist/tree.js +2 -0
  70. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  71. package/dist/node_modules/@allyhub/check/dist/check.js +1 -1
  72. package/dist/node_modules/@allyhub/check/package.json +1 -1
  73. package/dist/node_modules/@allyhub/cloud/dist/blobs.js +1 -1
  74. package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
  75. package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
  76. package/dist/node_modules/@allyhub/cloud/dist/storage.js +2 -0
  77. package/dist/node_modules/@allyhub/cloud/dist/uploads.js +2 -2
  78. package/dist/node_modules/@allyhub/cloud/package.json +1 -1
  79. package/dist/node_modules/@allyhub/components/package.json +1 -1
  80. package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
  81. package/dist/node_modules/@allyhub/dev-server/dist/item-process.js +2 -0
  82. package/dist/node_modules/@allyhub/dev-server/dist/item-worker.js +2 -0
  83. package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
  84. package/dist/node_modules/@allyhub/dev-server/dist/pages.js +20 -1
  85. package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
  86. package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
  87. package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
  88. package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
  89. package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
  90. package/dist/node_modules/@allyhub/dev-server/dist/writer.js +3 -3
  91. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  92. package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +1 -1
  93. package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
  94. package/dist/node_modules/@allyhub/doc/dist/block-shapes.js +2 -0
  95. package/dist/node_modules/@allyhub/doc/dist/blocks.js +2 -0
  96. package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
  97. package/dist/node_modules/@allyhub/doc/dist/color.js +1 -1
  98. package/dist/node_modules/@allyhub/doc/dist/docx-read.js +12 -0
  99. package/dist/node_modules/@allyhub/doc/dist/docx.js +5 -4
  100. package/dist/node_modules/@allyhub/doc/dist/html.js +83 -48
  101. package/dist/node_modules/@allyhub/doc/dist/index.js +1 -1
  102. package/dist/node_modules/@allyhub/doc/dist/markdown.js +1 -1
  103. package/dist/node_modules/@allyhub/doc/dist/merges.js +2 -0
  104. package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
  105. package/dist/node_modules/@allyhub/doc/dist/numbering.js +2 -0
  106. package/dist/node_modules/@allyhub/doc/dist/omml.js +3 -0
  107. package/dist/node_modules/@allyhub/doc/dist/page.js +2 -1
  108. package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
  109. package/dist/node_modules/@allyhub/doc/dist/parse.js +5 -4
  110. package/dist/node_modules/@allyhub/doc/dist/redline.js +2 -0
  111. package/dist/node_modules/@allyhub/doc/dist/revisions.js +2 -0
  112. package/dist/node_modules/@allyhub/doc/dist/shapes.js +4 -0
  113. package/dist/node_modules/@allyhub/doc/dist/styles.js +2 -0
  114. package/dist/node_modules/@allyhub/doc/dist/table.js +1 -1
  115. package/dist/node_modules/@allyhub/doc/dist/write.js +65 -39
  116. package/dist/node_modules/@allyhub/doc/package.json +5 -1
  117. package/dist/node_modules/@allyhub/doc-extension/dist/build.js +2 -2
  118. package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +1 -1
  119. package/dist/node_modules/@allyhub/doc-extension/dist/cli/import.js +3 -0
  120. package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +1 -1
  121. package/dist/node_modules/@allyhub/doc-extension/dist/cli/styles.js +4 -0
  122. package/dist/node_modules/@allyhub/doc-extension/dist/export.js +1 -1
  123. package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +1 -1
  124. package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +1 -1
  125. package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +1 -1
  126. package/dist/node_modules/@allyhub/doc-extension/package.json +22 -2
  127. package/dist/node_modules/@allyhub/doc-print/dist/drawn.js +4 -4
  128. package/dist/node_modules/@allyhub/doc-print/dist/index.js +1 -1
  129. package/dist/node_modules/@allyhub/doc-print/dist/layout.js +8 -7
  130. package/dist/node_modules/@allyhub/doc-print/dist/print.js +22 -16
  131. package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
  132. package/dist/node_modules/@allyhub/export/dist/export.js +1 -1
  133. package/dist/node_modules/@allyhub/export/package.json +1 -1
  134. package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
  135. package/dist/node_modules/@allyhub/extension-host/dist/points.js +1 -1
  136. package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
  137. package/dist/node_modules/@allyhub/formats/dist/data/blocks-flow.js +2 -0
  138. package/dist/node_modules/@allyhub/formats/dist/data/blocks.d.ts +146 -0
  139. package/dist/node_modules/@allyhub/formats/dist/data/blocks.js +2 -0
  140. package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.d.ts +9 -0
  141. package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.js +2 -0
  142. package/dist/node_modules/@allyhub/formats/dist/data/deck-code.d.ts +47 -40
  143. package/dist/node_modules/@allyhub/formats/dist/data/deck-code.js +1 -1
  144. package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.d.ts +6 -0
  145. package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.js +2 -0
  146. package/dist/node_modules/@allyhub/formats/dist/data/diagrams.d.ts +29 -0
  147. package/dist/node_modules/@allyhub/formats/dist/data/diagrams.js +2 -0
  148. package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +18 -0
  149. package/dist/node_modules/@allyhub/formats/dist/data/faces.js +1 -1
  150. package/dist/node_modules/@allyhub/formats/dist/data/page-data.d.ts +67 -0
  151. package/dist/node_modules/@allyhub/formats/dist/data/page-data.js +2 -0
  152. package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +1 -1
  153. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +698 -258
  154. package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
  155. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +14104 -2167
  156. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
  157. package/dist/node_modules/@allyhub/formats/dist/data/themes.d.ts +82 -0
  158. package/dist/node_modules/@allyhub/formats/dist/data/themes.js +2 -0
  159. package/dist/node_modules/@allyhub/formats/dist/data/tokens.d.ts +67 -0
  160. package/dist/node_modules/@allyhub/formats/dist/data/tokens.js +2 -0
  161. package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
  162. package/dist/node_modules/@allyhub/formats/dist/data/work.js +1 -1
  163. package/dist/node_modules/@allyhub/formats/dist/index.d.ts +7 -0
  164. package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
  165. package/dist/node_modules/@allyhub/formats/dist/items.d.ts +12 -3
  166. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +3260 -290
  167. package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
  168. package/dist/node_modules/@allyhub/formats/dist/tolerant.d.ts +45 -0
  169. package/dist/node_modules/@allyhub/formats/dist/tolerant.js +2 -0
  170. package/dist/node_modules/@allyhub/formats/package.json +1 -1
  171. package/dist/node_modules/@allyhub/html-extension/dist/project-tools.js +21 -9
  172. package/dist/node_modules/@allyhub/html-extension/dist/tools.js +1 -1
  173. package/dist/node_modules/@allyhub/html-extension/markup/allyhub.yaml +2 -0
  174. package/dist/node_modules/@allyhub/html-extension/markup/markup.json +14 -4
  175. package/dist/node_modules/@allyhub/html-extension/markup/pages/budget.html +22 -1
  176. package/dist/node_modules/@allyhub/html-extension/package.json +9 -1
  177. package/dist/node_modules/@allyhub/i18n/package.json +1 -1
  178. package/dist/node_modules/@allyhub/image-draw/dist/fonts.js +1 -1
  179. package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +2 -2
  180. package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
  181. package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +1 -1
  182. package/dist/node_modules/@allyhub/image-extension/dist/cli.js +1 -1
  183. package/dist/node_modules/@allyhub/image-extension/package.json +2 -2
  184. package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +2 -2
  185. package/dist/node_modules/@allyhub/image-measure/dist/layout.js +2 -2
  186. package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
  187. package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
  188. package/dist/node_modules/@allyhub/image-render/package.json +1 -1
  189. package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
  190. package/dist/node_modules/@allyhub/image-sdk/dist/block.js +2 -0
  191. package/dist/node_modules/@allyhub/image-sdk/dist/blocks.js +2 -0
  192. package/dist/node_modules/@allyhub/image-sdk/dist/index.js +1 -1
  193. package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
  194. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  195. package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -3
  196. package/dist/node_modules/@allyhub/linkedin-extension/skills/allyhub/references/linkedin.md +3 -3
  197. package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
  198. package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
  199. package/dist/node_modules/@allyhub/linkedin-view/src/style.css +1 -1
  200. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  201. package/dist/node_modules/@allyhub/media/package.json +1 -1
  202. package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +1 -1
  203. package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +1 -1
  204. package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +1 -1
  205. package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +1 -1
  206. package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -2
  207. package/dist/node_modules/@allyhub/media-extension/package.json +1 -1
  208. package/dist/node_modules/@allyhub/model/package.json +1 -1
  209. package/dist/node_modules/@allyhub/office-extension/markup/csv/allyhub.yaml +2 -0
  210. package/dist/node_modules/@allyhub/office-extension/markup/csv/markup.json +1 -1
  211. package/dist/node_modules/@allyhub/office-extension/markup/document/allyhub.yaml +2 -0
  212. package/dist/node_modules/@allyhub/office-extension/markup/presentation/allyhub.yaml +2 -0
  213. package/dist/node_modules/@allyhub/office-extension/markup/workbook/allyhub.yaml +2 -0
  214. package/dist/node_modules/@allyhub/office-extension/markup/workbook/markup.json +1 -1
  215. package/dist/node_modules/@allyhub/office-extension/package.json +1 -1
  216. package/dist/node_modules/@allyhub/ooxml/dist/ext.js +1 -1
  217. package/dist/node_modules/@allyhub/ooxml/dist/mce.js +1 -1
  218. package/dist/node_modules/@allyhub/ooxml/dist/node.js +1 -1
  219. package/dist/node_modules/@allyhub/ooxml/dist/ns.js +1 -1
  220. package/dist/node_modules/@allyhub/ooxml/dist/opc.js +1 -1
  221. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  222. package/dist/node_modules/@allyhub/piece/dist/export.d.ts +1 -1
  223. package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +2 -0
  224. package/dist/node_modules/@allyhub/piece/dist/look.d.ts +10 -2
  225. package/dist/node_modules/@allyhub/piece/dist/look.js +1 -1
  226. package/dist/node_modules/@allyhub/piece/dist/media.d.ts +8 -2
  227. package/dist/node_modules/@allyhub/piece/dist/script.js +1 -1
  228. package/dist/node_modules/@allyhub/piece/dist/source.d.ts +3 -0
  229. package/dist/node_modules/@allyhub/piece/package.json +1 -1
  230. package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
  231. package/dist/node_modules/@allyhub/project/package.json +1 -1
  232. package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
  233. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
  234. package/dist/node_modules/@allyhub/protocol/dist/events.js +1 -1
  235. package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
  236. package/dist/node_modules/@allyhub/protocol/dist/kinds.js +1 -1
  237. package/dist/node_modules/@allyhub/protocol/dist/page-frame.js +2 -0
  238. package/dist/node_modules/@allyhub/protocol/package.json +1 -1
  239. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  240. package/dist/node_modules/@allyhub/render/package.json +1 -1
  241. package/dist/node_modules/@allyhub/report-extension/LICENSE +241 -0
  242. package/dist/node_modules/@allyhub/report-extension/dist/build.js +3 -0
  243. package/dist/node_modules/@allyhub/report-extension/dist/check.js +37 -0
  244. package/dist/node_modules/@allyhub/report-extension/dist/cli/index.js +4 -0
  245. package/dist/node_modules/@allyhub/report-extension/dist/export.js +2 -0
  246. package/dist/node_modules/@allyhub/report-extension/dist/inline.js +58 -0
  247. package/dist/node_modules/@allyhub/report-extension/dist/page.js +23 -0
  248. package/dist/node_modules/@allyhub/report-extension/dist/project-tools.js +33 -0
  249. package/dist/node_modules/@allyhub/report-extension/dist/styles.js +2 -0
  250. package/dist/node_modules/@allyhub/report-extension/dist/theme.js +2 -0
  251. package/dist/node_modules/@allyhub/report-extension/dist/tools.js +2 -0
  252. package/dist/node_modules/@allyhub/report-extension/dist/workspace.js +2 -0
  253. package/dist/node_modules/@allyhub/report-extension/package.json +185 -0
  254. package/dist/node_modules/@allyhub/report-extension/styles/allyhub/STYLE.md +180 -0
  255. package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.json +15 -0
  256. package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
  257. package/dist/node_modules/@allyhub/runtime/package.json +1 -1
  258. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +2 -2
  259. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +3 -3
  260. package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
  261. package/dist/node_modules/@allyhub/scaffold/dist/index.js +12 -8
  262. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  263. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  264. package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
  265. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
  266. package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +1 -1
  267. package/dist/node_modules/@allyhub/sheet/dist/api/index.js +1 -1
  268. package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +1 -1
  269. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
  270. package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
  271. package/dist/node_modules/@allyhub/sheet/dist/calc/server.js +1 -1
  272. package/dist/node_modules/@allyhub/sheet/dist/cell-styles.js +2 -0
  273. package/dist/node_modules/@allyhub/sheet/dist/chart.js +1 -1
  274. package/dist/node_modules/@allyhub/sheet/dist/check.js +1 -1
  275. package/dist/node_modules/@allyhub/sheet/dist/file.js +2 -2
  276. package/dist/node_modules/@allyhub/sheet/dist/heatmap.js +2 -0
  277. package/dist/node_modules/@allyhub/sheet/dist/html.js +8 -8
  278. package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
  279. package/dist/node_modules/@allyhub/sheet/dist/inspect.js +1 -1
  280. package/dist/node_modules/@allyhub/sheet/dist/paginate.js +1 -1
  281. package/dist/node_modules/@allyhub/sheet/dist/printed.js +1 -1
  282. package/dist/node_modules/@allyhub/sheet/dist/sdk.js +1 -1
  283. package/dist/node_modules/@allyhub/sheet/dist/sparklines.js +2 -0
  284. package/dist/node_modules/@allyhub/sheet/dist/table-style.js +1 -1
  285. package/dist/node_modules/@allyhub/sheet/dist/table-styles.js +1 -1
  286. package/dist/node_modules/@allyhub/sheet/dist/theme.js +2 -0
  287. package/dist/node_modules/@allyhub/sheet/dist/tiles.js +2 -0
  288. package/dist/node_modules/@allyhub/sheet/dist/units.js +2 -0
  289. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
  290. package/dist/node_modules/@allyhub/sheet/dist/write.js +14 -14
  291. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
  292. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
  293. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +2 -2
  294. package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
  295. package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.js +1 -1
  296. package/dist/node_modules/@allyhub/sheet/dist/xlsx/tile-shapes.js +2 -0
  297. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
  298. package/dist/node_modules/@allyhub/sheet/package.json +1 -1
  299. package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +1 -1
  300. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +7 -7
  301. package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +1 -1
  302. package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +2 -2
  303. package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +2 -2
  304. package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +2 -2
  305. package/dist/node_modules/@allyhub/sheet-extension/dist/migrations.js +4 -0
  306. package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +1 -1
  307. package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +1 -1
  308. package/dist/node_modules/@allyhub/sheet-extension/package.json +7 -3
  309. package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
  310. package/dist/node_modules/@allyhub/slides-core/dist/blocks.js +2 -0
  311. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
  312. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
  313. package/dist/node_modules/@allyhub/slides-core/dist/code.js +1 -1
  314. package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
  315. package/dist/node_modules/@allyhub/slides-core/dist/file.js +3 -3
  316. package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
  317. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
  318. package/dist/node_modules/@allyhub/slides-core/dist/model.js +1 -1
  319. package/dist/node_modules/@allyhub/slides-core/dist/office-layouts.js +2 -0
  320. package/dist/node_modules/@allyhub/slides-core/dist/office.js +1 -1
  321. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
  322. package/dist/node_modules/@allyhub/slides-core/dist/script.js +2 -2
  323. package/dist/node_modules/@allyhub/slides-core/dist/styles/brief.js +2 -0
  324. package/dist/node_modules/@allyhub/slides-core/dist/styles/editorial.js +2 -0
  325. package/dist/node_modules/@allyhub/slides-core/dist/styles/index.js +2 -0
  326. package/dist/node_modules/@allyhub/slides-core/dist/styles/kit.js +2 -0
  327. package/dist/node_modules/@allyhub/slides-core/dist/styles/layouts.js +2 -0
  328. package/dist/node_modules/@allyhub/slides-core/dist/styles/pitch.js +2 -0
  329. package/dist/node_modules/@allyhub/slides-core/dist/styles/stage.js +2 -0
  330. package/dist/node_modules/@allyhub/slides-core/dist/styles/tiles.js +2 -0
  331. package/dist/node_modules/@allyhub/slides-core/dist/theme.js +1 -1
  332. package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
  333. package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
  334. package/dist/node_modules/@allyhub/slides-extension/dist/check.js +1 -1
  335. package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +2 -2
  336. package/dist/node_modules/@allyhub/slides-extension/dist/deck-fonts.js +1 -1
  337. package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +1 -1
  338. package/dist/node_modules/@allyhub/slides-extension/package.json +24 -1
  339. package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
  340. package/dist/node_modules/@allyhub/slides-pptx/dist/fonts.js +1 -1
  341. package/dist/node_modules/@allyhub/slides-pptx/dist/image-size.js +2 -0
  342. package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
  343. package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +7 -2
  344. package/dist/node_modules/@allyhub/slides-pptx/dist/import/names.js +1 -1
  345. package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
  346. package/dist/node_modules/@allyhub/slides-pptx/dist/index.js +1 -1
  347. package/dist/node_modules/@allyhub/slides-pptx/dist/mtx.js +2 -0
  348. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +3 -2
  349. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chartex.js +3 -0
  350. package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
  351. package/dist/node_modules/@allyhub/slides-pptx/dist/read/index.js +2 -2
  352. package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
  353. package/dist/node_modules/@allyhub/slides-pptx/dist/read/table.js +1 -1
  354. package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +1 -1
  355. package/dist/node_modules/@allyhub/slides-pptx/dist/read/timing.js +1 -1
  356. package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
  357. package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +1 -1
  358. package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
  359. package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +3 -2
  360. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  361. package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
  362. package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +1 -1
  363. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  364. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  365. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/LICENSE +93 -0
  366. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-italic.woff2 +0 -0
  367. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-normal.woff2 +0 -0
  368. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-italic.woff2 +0 -0
  369. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-normal.woff2 +0 -0
  370. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-italic.woff2 +0 -0
  371. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-normal.woff2 +0 -0
  372. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-italic.woff2 +0 -0
  373. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-normal.woff2 +0 -0
  374. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400-italic.css +1 -0
  375. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400.css +1 -0
  376. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700-italic.css +1 -0
  377. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700.css +1 -0
  378. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400-italic.css +1 -0
  379. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400.css +1 -0
  380. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700-italic.css +1 -0
  381. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700.css +1 -0
  382. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/LICENSE +93 -0
  383. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-400-normal.woff2 +0 -0
  384. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-ext-400-normal.woff2 +0 -0
  385. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-400.css +1 -0
  386. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-ext-400.css +1 -0
  387. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/LICENSE +93 -0
  388. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-italic.woff2 +0 -0
  389. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-normal.woff2 +0 -0
  390. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-italic.woff2 +0 -0
  391. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-normal.woff2 +0 -0
  392. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-italic.woff2 +0 -0
  393. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-normal.woff2 +0 -0
  394. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-italic.woff2 +0 -0
  395. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-normal.woff2 +0 -0
  396. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400-italic.css +1 -0
  397. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400.css +1 -0
  398. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700-italic.css +1 -0
  399. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700.css +1 -0
  400. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400-italic.css +1 -0
  401. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400.css +1 -0
  402. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700-italic.css +1 -0
  403. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700.css +1 -0
  404. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/LICENSE +93 -0
  405. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-italic.woff2 +0 -0
  406. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-normal.woff2 +0 -0
  407. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-italic.woff2 +0 -0
  408. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-normal.woff2 +0 -0
  409. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-italic.woff2 +0 -0
  410. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-normal.woff2 +0 -0
  411. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-italic.woff2 +0 -0
  412. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-normal.woff2 +0 -0
  413. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400-italic.css +1 -0
  414. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400.css +1 -0
  415. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700-italic.css +1 -0
  416. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700.css +1 -0
  417. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400-italic.css +1 -0
  418. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400.css +1 -0
  419. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700-italic.css +1 -0
  420. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700.css +1 -0
  421. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/LICENSE +93 -0
  422. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-italic.woff2 +0 -0
  423. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-normal.woff2 +0 -0
  424. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-italic.woff2 +0 -0
  425. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-normal.woff2 +0 -0
  426. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-italic.woff2 +0 -0
  427. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-normal.woff2 +0 -0
  428. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-italic.woff2 +0 -0
  429. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-normal.woff2 +0 -0
  430. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400-italic.css +1 -0
  431. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400.css +1 -0
  432. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700-italic.css +1 -0
  433. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700.css +1 -0
  434. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400-italic.css +1 -0
  435. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400.css +1 -0
  436. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700-italic.css +1 -0
  437. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700.css +1 -0
  438. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/LICENSE +93 -0
  439. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-italic.woff2 +0 -0
  440. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-normal.woff2 +0 -0
  441. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-italic.woff2 +0 -0
  442. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-normal.woff2 +0 -0
  443. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-italic.woff2 +0 -0
  444. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-normal.woff2 +0 -0
  445. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-italic.woff2 +0 -0
  446. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-normal.woff2 +0 -0
  447. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400-italic.css +1 -0
  448. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400.css +1 -0
  449. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700-italic.css +1 -0
  450. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700.css +1 -0
  451. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400-italic.css +1 -0
  452. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400.css +1 -0
  453. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700-italic.css +1 -0
  454. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700.css +1 -0
  455. package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
  456. package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.html +42 -0
  457. package/dist/node_modules/@allyhub/stage-page/dist/style-faces.js +2 -0
  458. package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
  459. package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +96 -92
  460. package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
  461. package/dist/node_modules/@allyhub/telemetry/dist/limit.js +2 -0
  462. package/dist/node_modules/@allyhub/telemetry/package.json +5 -1
  463. package/dist/node_modules/@allyhub/text-extension/markup/allyhub.yaml +2 -0
  464. package/dist/node_modules/@allyhub/text-extension/markup-file/allyhub.yaml +2 -0
  465. package/dist/node_modules/@allyhub/text-extension/package.json +1 -1
  466. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
  467. package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -1
  468. package/dist/node_modules/@allyhub/video-core/dist/seams.js +1 -1
  469. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  470. package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +1 -1
  471. package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +1 -1
  472. package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +1 -1
  473. package/dist/node_modules/@allyhub/video-extension/dist/inspect/loop.js +3 -0
  474. package/dist/node_modules/@allyhub/video-extension/package.json +2 -25
  475. package/dist/node_modules/@allyhub/video-measure/dist/check.js +2 -2
  476. package/dist/node_modules/@allyhub/video-measure/dist/index.js +1 -1
  477. package/dist/node_modules/@allyhub/video-measure/dist/seams.js +1 -1
  478. package/dist/node_modules/@allyhub/video-measure/dist/version.js +1 -1
  479. package/dist/node_modules/@allyhub/video-measure/package.json +1 -1
  480. package/dist/node_modules/@allyhub/video-sdk/dist/free.js +1 -1
  481. package/dist/node_modules/@allyhub/video-sdk/package.json +1 -1
  482. package/dist/node_modules/@allyhub/website/dist/index.js +1 -1
  483. package/dist/node_modules/@allyhub/website/dist/website.js +2 -2
  484. package/dist/node_modules/@allyhub/website/package.json +1 -1
  485. package/dist/node_modules/@allyhub/website-extension/package.json +3 -3
  486. package/dist/node_modules/@allyhub/x-extension/package.json +1 -3
  487. package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +3 -3
  488. package/dist/node_modules/@allyhub/x-model/package.json +1 -1
  489. package/dist/node_modules/@allyhub/x-view/package.json +1 -1
  490. package/dist/package.json +15 -14
  491. package/dist/self-upgrade.js +2 -0
  492. package/dist/text/batch-text.js +1 -1
  493. package/dist/text/facts-text.js +5 -5
  494. package/dist/text/format.js +2 -2
  495. package/dist/update-notice.js +3 -0
  496. package/dist/version.js +1 -1
  497. package/dist/works.js +1 -1
  498. package/editor-web/assets/{abnfDiagram-WEYOIA3C-DYaMS_BB.js → abnfDiagram-WEYOIA3C-B4tvwU6C.js} +1 -1
  499. package/editor-web/assets/{architecture-WOLXFQ4H-g_Tjfl_y.js → architecture-WOLXFQ4H-V2fA0vY2.js} +1 -1
  500. package/editor-web/assets/{architectureDiagram-ZHVYKT53-CqdhofOL.js → architectureDiagram-ZHVYKT53-B6B7XN0M.js} +1 -1
  501. package/editor-web/assets/arrow-down-D-QZrqcz.js +1 -0
  502. package/editor-web/assets/arrow-up-B1zjKUHX.js +1 -0
  503. package/editor-web/assets/article-DW4eD_8K.js +3 -0
  504. package/editor-web/assets/article-Dm2dIEwc.js +7 -0
  505. package/editor-web/assets/{audio-lines-PZj77e7t.js → audio-lines-BFoW_IeO.js} +1 -1
  506. package/editor-web/assets/{bar-button-J9vbfzTx.js → bar-button-CJmpgNg4.js} +1 -1
  507. package/editor-web/assets/{blockDiagram-RJAE7QA3-Bc-28Bci.js → blockDiagram-RJAE7QA3-BizcUGOM.js} +1 -1
  508. package/editor-web/assets/{browser-C9NP0ZYz.js → browser-DEGNhKTV.js} +1 -1
  509. package/editor-web/assets/{c4Diagram-XDPPPE54-CTGJb8FB.js → c4Diagram-XDPPPE54-CBHS0dQ0.js} +1 -1
  510. package/editor-web/assets/calc-worker-Cr4a0xmt.js +168 -0
  511. package/editor-web/assets/channel-dyUtlVPg.js +1 -0
  512. package/editor-web/assets/{chart-no-axes-column-Be0lFcGF.js → chart-no-axes-column-Dyy25XZ_.js} +1 -1
  513. package/editor-web/assets/chip-BdQRH3FL.js +1 -0
  514. package/editor-web/assets/{chunk-2E7WHVMD-B2MPOVTU.js → chunk-2E7WHVMD-CMPBck_Q.js} +1 -1
  515. package/editor-web/assets/{chunk-4EMNKR2T-BUV1ZHP0.js → chunk-4EMNKR2T-Df22Adpt.js} +1 -1
  516. package/editor-web/assets/{chunk-55XCU76K-BZlpspL5.js → chunk-55XCU76K-CYrZ6_Q7.js} +1 -1
  517. package/editor-web/assets/{chunk-7S6XSTFO-CpKeisWE.js → chunk-7S6XSTFO-BfdG9NNW.js} +1 -1
  518. package/editor-web/assets/{chunk-AQDTSKZB-BJqwAPyo.js → chunk-AQDTSKZB-BCzZMoTJ.js} +1 -1
  519. package/editor-web/assets/{chunk-DSNLSHJZ-D6oPWl_W.js → chunk-DSNLSHJZ-DT0xT8Wf.js} +1 -1
  520. package/editor-web/assets/{chunk-HAGFOTED-B5pk4MZF.js → chunk-HAGFOTED-Bg3-EotU.js} +1 -1
  521. package/editor-web/assets/{chunk-HNE4Q36P-DHbSPvxQ.js → chunk-HNE4Q36P-BrSym24V.js} +1 -1
  522. package/editor-web/assets/{chunk-NQOKRVIF-CcL_GcRA.js → chunk-NQOKRVIF-CMxgkJWF.js} +1 -1
  523. package/editor-web/assets/{chunk-UHW7PFBP-YgiOL6XE.js → chunk-UHW7PFBP-DWEwoyPy.js} +1 -1
  524. package/editor-web/assets/{chunk-VQ5W62QI-p14b4UYc.js → chunk-VQ5W62QI-eTFh5_T9.js} +1 -1
  525. package/editor-web/assets/{chunk-WQQL4CDK-BWW0x-XH.js → chunk-WQQL4CDK-4PTupr9T.js} +1 -1
  526. package/editor-web/assets/{chunk-YZO67HFG-oG3qd68C.js → chunk-YZO67HFG-D5XAAFWm.js} +1 -1
  527. package/editor-web/assets/{chunk-ZAUX2LTX-CpcheH0u.js → chunk-ZAUX2LTX-CPsdaisO.js} +1 -1
  528. package/editor-web/assets/{chunk-ZCHMQSOR-cWQvLl1w.js → chunk-ZCHMQSOR-ClnuUyfy.js} +1 -1
  529. package/editor-web/assets/{classDiagram-v2-4MYWR3UA-7PG7YcdU.js → classDiagram-v2-4MYWR3UA-CM21waNF.js} +1 -1
  530. package/editor-web/assets/code-Ch6AB5bZ.js +1 -0
  531. package/editor-web/assets/{collaborator-BU4qU7O3.js → collaborator-CbTacvkB.js} +1 -1
  532. package/editor-web/assets/color-picker-BmKFn2ww.js +1 -0
  533. package/editor-web/assets/{copy-CuJSs0nI.js → copy-SoaMYqsN.js} +1 -1
  534. package/editor-web/assets/{createLucideIcon-lm_6n8YT.js → createLucideIcon-euu7Wcd9.js} +1 -1
  535. package/editor-web/assets/{cynefin-EF2NZ3EQ-CtcknEQ_.js → cynefin-EF2NZ3EQ-CJUHTgee.js} +1 -1
  536. package/editor-web/assets/{cynefinDiagram-WF24UDRP-Ca7VIsjN.js → cynefinDiagram-WF24UDRP-C9RIfuIV.js} +1 -1
  537. package/editor-web/assets/{dagre-NK4GIZVX-BzcSLtsr.js → dagre-NK4GIZVX-g-01KdpO.js} +1 -1
  538. package/editor-web/assets/deck-C0VxrlzX.js +1 -0
  539. package/editor-web/assets/{diagram-CBK3MWTC-DpRmTGlG.js → diagram-CBK3MWTC-CbOjWUu-.js} +1 -1
  540. package/editor-web/assets/{diagram-I5XIIV2D-BTrs_AX8.js → diagram-I5XIIV2D-C6psNS8J.js} +1 -1
  541. package/editor-web/assets/{diagram-ODIL2UCW-CkIVjPqH.js → diagram-ODIL2UCW-C9PUE46P.js} +1 -1
  542. package/editor-web/assets/{diagram-PFBEJUXE-BlFMbAG1.js → diagram-PFBEJUXE-vJ_pnB33.js} +1 -1
  543. package/editor-web/assets/{diagram-RJA3I4VV-D3f8VJ-D.js → diagram-RJA3I4VV-FwYlEfJ-.js} +1 -1
  544. package/editor-web/assets/{diagram-TYUNFSNR-Bbpngj6F.js → diagram-TYUNFSNR-FKpIxeUc.js} +1 -1
  545. package/editor-web/assets/{dist-DruvDNQe.js → dist-B8_6sJ_V.js} +5 -5
  546. package/editor-web/assets/dist-BI_BaYhO.js +19 -0
  547. package/editor-web/assets/dist-BaWFMuvr.js +1 -0
  548. package/editor-web/assets/dist-BdmMT8fP.js +5 -0
  549. package/editor-web/assets/dist-BgKyM9U6.js +3 -0
  550. package/editor-web/assets/dist-BqijryYd.js +1 -0
  551. package/editor-web/assets/dist-ByguWp3a.js +16 -0
  552. package/editor-web/assets/dist-CB-_0-X4.js +41 -0
  553. package/editor-web/assets/dist-CCP24Lel.js +19 -0
  554. package/editor-web/assets/dist-Cg0Z26Kv.js +6 -0
  555. package/editor-web/assets/dist-CtYjYJdv.js +1 -0
  556. package/editor-web/assets/dist-D07Kj8GR.js +1 -0
  557. package/editor-web/assets/dist-D2rGVz9C.js +1 -0
  558. package/editor-web/assets/dist-D3DwRF1k.js +547 -0
  559. package/editor-web/assets/dist-DCI21ljp.js +6 -0
  560. package/editor-web/assets/dist-DH8oJJw9.js +35 -0
  561. package/editor-web/assets/dist-DIJnhQFK.js +9 -0
  562. package/editor-web/assets/dist-DJvfQvM7.js +24 -0
  563. package/editor-web/assets/{dist-Bd8IxQPP.js → dist-DQ6RpEJD.js} +2 -2
  564. package/editor-web/assets/dist-DmCDcb2_.js +4 -0
  565. package/editor-web/assets/dist-H0z_DXDz.js +19 -0
  566. package/editor-web/assets/dist-QLXI7XGS.js +82 -0
  567. package/editor-web/assets/{docx-draw-CoK1oqQD.js → docx-draw-Dxb67W2d.js} +1 -1
  568. package/editor-web/assets/{ebnfDiagram-V4P3TTPT-BaKj-yL6.js → ebnfDiagram-V4P3TTPT-DBymUM-F.js} +1 -1
  569. package/editor-web/assets/{elk-QONTBCTQ-Cn2qv1_U.js → elk-QONTBCTQ-BNYR3OlS.js} +1 -1
  570. package/editor-web/assets/{erDiagram-KYQIGQAA-Bd7AEIDo.js → erDiagram-KYQIGQAA-cTNyOqW6.js} +1 -1
  571. package/editor-web/assets/esm-Cl3GKSDd.js +21 -0
  572. package/editor-web/assets/{eventmodeling-K75KTNOO-Sfp7_461.js → eventmodeling-K75KTNOO-C6FUZeXP.js} +1 -1
  573. package/editor-web/assets/eye-DwfE1USj.js +1 -0
  574. package/editor-web/assets/{file-question-mark-DlIjUK37.js → file-question-mark-PeZgyqkK.js} +1 -1
  575. package/editor-web/assets/flowDiagram-IUGLLWBU-ukTovy07.js +1 -0
  576. package/editor-web/assets/{ganttDiagram-R7GPNTJY-CBqcGdHI.js → ganttDiagram-R7GPNTJY-LD9mqQ1x.js} +1 -1
  577. package/editor-web/assets/{gitGraph-VSP46ZUC-WTokXKTW.js → gitGraph-VSP46ZUC-CtCBcQFl.js} +1 -1
  578. package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-BIWZHD9q.js → gitGraphDiagram-PDYL7XHY-DYQpOozz.js} +1 -1
  579. package/editor-web/assets/{group-BdrTp7gi.js → group-DwM2yqU8.js} +1 -1
  580. package/editor-web/assets/{hint-rlht0uxG.js → hint-F4fIBnVU.js} +1 -1
  581. package/editor-web/assets/index-Cah2zchD.css +2 -0
  582. package/editor-web/assets/index-omhSywJb.js +28 -0
  583. package/editor-web/assets/{info-OHQRW6UA-COC6G-_J.js → info-OHQRW6UA-IXInKPRO.js} +1 -1
  584. package/editor-web/assets/{infoDiagram-MVDRKAX5-DpaqdKBD.js → infoDiagram-MVDRKAX5-Ds7Cei7T.js} +1 -1
  585. package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-Dyn2MAy1.js → ishikawaDiagram-HPEHV2GE-DWs3qtAX.js} +1 -1
  586. package/editor-web/assets/iso-UwGLGD3F.js +1 -0
  587. package/editor-web/assets/{italic-zw4_eUNF.js → italic-BV7iHxoP.js} +1 -1
  588. package/editor-web/assets/{journeyDiagram-BOSHW7O7-DeSVfmm7.js → journeyDiagram-BOSHW7O7-BkNKVYBA.js} +1 -1
  589. package/editor-web/assets/{kanban-definition-FNSA4HC5-Bfg0lj7B.js → kanban-definition-FNSA4HC5-D3dMswnI.js} +1 -1
  590. package/editor-web/assets/{link-DopSU3aa.js → link-CFOv3nz-.js} +1 -1
  591. package/editor-web/assets/{mermaid-parser.core-CyhovuYE.js → mermaid-parser.core-D_W_0X0N.js} +3 -3
  592. package/editor-web/assets/{mermaid.core-Dx1fBVUG.js → mermaid.core-Bkirj-s5.js} +4 -4
  593. package/editor-web/assets/{mindmap-definition-6OY57UG3-QEU2HF_m.js → mindmap-definition-6OY57UG3-CMKkAAvI.js} +1 -1
  594. package/editor-web/assets/minus-ngE8owxs.js +1 -0
  595. package/editor-web/assets/{packet-JDAUHWVQ-ReJTa_hw.js → packet-JDAUHWVQ-CzCkgCfg.js} +1 -1
  596. package/editor-web/assets/palette-DchDLJj6.js +1 -0
  597. package/editor-web/assets/panes-BexRuZd2.js +3 -0
  598. package/editor-web/assets/{pegDiagram-ECIUJNBX-Bo1jFrvb.js → pegDiagram-ECIUJNBX-C8qHkx7M.js} +1 -1
  599. package/editor-web/assets/{pie-XZMESJXO-BrtYafNA.js → pie-XZMESJXO-BJqgxMrD.js} +1 -1
  600. package/editor-web/assets/{pieDiagram-GNMPY74T-Cj0zQqs_.js → pieDiagram-GNMPY74T-DyNntV5y.js} +1 -1
  601. package/editor-web/assets/{progress-CwKcXARv.js → progress-D1Uv3d1b.js} +1 -1
  602. package/editor-web/assets/{quadrantDiagram-D57K4MC3-D5npDAVn.js → quadrantDiagram-D57K4MC3-BHa-69ir.js} +1 -1
  603. package/editor-web/assets/{radar-ABXABTNO-C8RDrRqi.js → radar-ABXABTNO-BeRPjBBR.js} +1 -1
  604. package/editor-web/assets/{railroad-I3PHUGI6-ebDrmYTK.js → railroad-I3PHUGI6-BaRQqRsK.js} +1 -1
  605. package/editor-web/assets/{railroad-abnf-LNEFI6M7-BxKuqg6V.js → railroad-abnf-LNEFI6M7-BZfwomxZ.js} +1 -1
  606. package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-DOclnfpr.js → railroad-ebnf-DWYD2UWJ-DbgqpEF5.js} +1 -1
  607. package/editor-web/assets/{railroad-peg-JR7BVNR7-DN0A1fpq.js → railroad-peg-JR7BVNR7-BYOf3PsQ.js} +1 -1
  608. package/editor-web/assets/{railroadDiagram-Y72NRBL7-B3PjoVWw.js → railroadDiagram-Y72NRBL7-B5OAzOsD.js} +1 -1
  609. package/editor-web/assets/react-Byupo4pA.js +1 -0
  610. package/editor-web/assets/replace-CLLMtF4e.js +1 -0
  611. package/editor-web/assets/{requirementDiagram-EQYSW5RA-DLdzkQk5.js → requirementDiagram-EQYSW5RA-wqYNoqO0.js} +1 -1
  612. package/editor-web/assets/ribbon-tabs-B3IC9WOt.js +1 -0
  613. package/editor-web/assets/row-DqS4-5b1.js +1 -0
  614. package/editor-web/assets/{sankeyDiagram-SY24JHO5-Dip4Piv_.js → sankeyDiagram-SY24JHO5-Crf6GRsa.js} +1 -1
  615. package/editor-web/assets/schemas-C21MyseF.js +1 -0
  616. package/editor-web/assets/{iso-DoC-ZoBr.js → schemas-DlRAoVtq.js} +1 -1
  617. package/editor-web/assets/{scissors-B_xOiUhd.js → scissors-m6QcoEf2.js} +1 -1
  618. package/editor-web/assets/search-D75Bi2GU.js +1 -0
  619. package/editor-web/assets/{sequenceDiagram-BLEHNHQU-QnPcoybL.js → sequenceDiagram-BLEHNHQU-DUcHz4_d.js} +1 -1
  620. package/editor-web/assets/{session-DMlLCFWg.js → session--OJYv_B7.js} +1 -1
  621. package/editor-web/assets/{sigma-DSUsJhMn.js → sigma-B4AWtnVA.js} +1 -1
  622. package/editor-web/assets/snapshots-DYooVfOx.js +1 -0
  623. package/editor-web/assets/sound-DkR3qxSt.js +1 -0
  624. package/editor-web/assets/{square-arrow-out-up-right-DF5dvsSp.js → square-arrow-out-up-right-1NqFsNDe.js} +1 -1
  625. package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-D103CiMX.js → stateDiagram-v2-A6IESKWZ-DbeLdnpS.js} +1 -1
  626. package/editor-web/assets/{sticky-note-BdkIu5_D.js → sticky-note-s4QfzaBB.js} +1 -1
  627. package/editor-web/assets/{surface-DtCjIlrq.js → surface-BUoi7cmR.js} +1 -1
  628. package/editor-web/assets/swatch-DCmD1gZl.js +1 -0
  629. package/editor-web/assets/{swimlanes-B3ENRKFQ-y4gCqEoa.js → swimlanes-B3ENRKFQ-BDi6AeJI.js} +1 -1
  630. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-2wwOmxbv.js +8 -0
  631. package/editor-web/assets/{switch-8MU4Nfxe.js → switch-b6GCy_ix.js} +1 -1
  632. package/editor-web/assets/syntax-Bqyhj0dw.js +1 -0
  633. package/editor-web/assets/table-BW43XXVd.js +1 -0
  634. package/editor-web/assets/tablet-C6oePHEW.js +1 -0
  635. package/editor-web/assets/text-wrap-Baus6l-V.js +1 -0
  636. package/editor-web/assets/{textarea-D7TnPwv1.js → textarea-Bu6uPEqT.js} +1 -1
  637. package/editor-web/assets/{timeline-definition-JXYKGLGB-BMp76v4V.js → timeline-definition-JXYKGLGB-B0awa2hh.js} +1 -1
  638. package/editor-web/assets/tolerant-DM9s0Mt1.js +1 -0
  639. package/editor-web/assets/trash-2-SFReAxVM.js +1 -0
  640. package/editor-web/assets/{treeView-D4JQ5SDB-Q_GYyk0b.js → treeView-D4JQ5SDB-C91G0IGm.js} +1 -1
  641. package/editor-web/assets/{treemap-SAJKECNS-B5lRWdQB.js → treemap-SAJKECNS-CiOWiwl2.js} +1 -1
  642. package/editor-web/assets/{undo-2-C47jrRp5.js → undo-2-DCbMWoug.js} +1 -1
  643. package/editor-web/assets/updating-D0GEtwnJ.js +1 -0
  644. package/editor-web/assets/{usecaseDiagram-WPOLBNNX--QRllA-U.js → usecaseDiagram-WPOLBNNX-DMYM1MRe.js} +1 -1
  645. package/editor-web/assets/{vennDiagram-Q3Y3IDCW-CzkATPA3.js → vennDiagram-Q3Y3IDCW-DQIJ5vvN.js} +1 -1
  646. package/editor-web/assets/video-mMOFXHYK.js +1 -0
  647. package/editor-web/assets/{wardley-7MLQ67FV-BXzwcdJa.js → wardley-7MLQ67FV-C3H9HG8r.js} +1 -1
  648. package/editor-web/assets/{wardleyDiagram-IVAIDKWA-BQvC8Agx.js → wardleyDiagram-IVAIDKWA-DgsjqY1Y.js} +1 -1
  649. package/editor-web/assets/{whole-word-D3ZAtnkw.js → whole-word-C9TkGBCY.js} +1 -1
  650. package/editor-web/assets/{words-CaUHhQHf.js → words-B2jQwWpp.js} +3 -3
  651. package/editor-web/assets/words-DgMuEmDO.js +3 -0
  652. package/editor-web/assets/workbook-NtMEyLgf.js +41 -0
  653. package/editor-web/assets/{x-DlhyIKuu.js → x-BAJilkKD.js} +1 -1
  654. package/editor-web/assets/{xychartDiagram-4URNHDU4-aY-lsD5o.js → xychartDiagram-4URNHDU4-DzsGI527.js} +1 -1
  655. package/editor-web/assets/{zoom-in-PgsC94hP.js → zoom-in-yAGKspfC.js} +1 -1
  656. package/editor-web/index.html +9 -9
  657. package/package.json +6 -3
  658. package/CHANGELOG.md +0 -251
  659. package/dist/commands/render.js +0 -3
  660. package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +0 -4
  661. package/dist/node_modules/@allyhub/video-measure/dist/still.js +0 -2
  662. package/editor-web/assets/arrow-down-B8VUPCGi.js +0 -1
  663. package/editor-web/assets/arrow-up-Ds4juY8X.js +0 -1
  664. package/editor-web/assets/article-8evPh712.js +0 -3
  665. package/editor-web/assets/article-BhRtWYMd.js +0 -7
  666. package/editor-web/assets/calc-worker-oEIqrrTM.js +0 -45
  667. package/editor-web/assets/channel-wIj_OqDm.js +0 -1
  668. package/editor-web/assets/chart-amT4lgX3.js +0 -2
  669. package/editor-web/assets/chart-file-dGiRgFcH.js +0 -1
  670. package/editor-web/assets/code-CD-CbJG9.js +0 -1
  671. package/editor-web/assets/deck-C7fN0Qtn.js +0 -1
  672. package/editor-web/assets/dist-3iovns9K.js +0 -16
  673. package/editor-web/assets/dist-BkHnbOEj.js +0 -4
  674. package/editor-web/assets/dist-BvOrNcK-.js +0 -19
  675. package/editor-web/assets/dist-CEIszq39.js +0 -1
  676. package/editor-web/assets/dist-CU5RbLNH.js +0 -1
  677. package/editor-web/assets/dist-CWZj8IAm.js +0 -1
  678. package/editor-web/assets/dist-C_Mtrnif.js +0 -17
  679. package/editor-web/assets/dist-CdqpwdCV.js +0 -24
  680. package/editor-web/assets/dist-CjT76RAw.js +0 -43
  681. package/editor-web/assets/dist-CpzEn9T8.js +0 -6
  682. package/editor-web/assets/dist-CrFYWl5-.js +0 -3
  683. package/editor-web/assets/dist-D3C6FyrO.js +0 -82
  684. package/editor-web/assets/dist-D4eBFGVL.js +0 -1
  685. package/editor-web/assets/dist-DTcjb3cP.js +0 -18
  686. package/editor-web/assets/dist-D_WSM29I.js +0 -17
  687. package/editor-web/assets/dist-Dp_9ISjP.js +0 -531
  688. package/editor-web/assets/dist-J-tPYKGS.js +0 -5
  689. package/editor-web/assets/dist-YW8hS4IM.js +0 -9
  690. package/editor-web/assets/esm-Cjv8ogpP.js +0 -21
  691. package/editor-web/assets/file-exclamation-point-_L3ElCJ5.js +0 -1
  692. package/editor-web/assets/flowDiagram-IUGLLWBU-BlVUglzw.js +0 -1
  693. package/editor-web/assets/index-BQWZnyAQ.js +0 -28
  694. package/editor-web/assets/index-Dvh1t1om.css +0 -2
  695. package/editor-web/assets/layout-SWqqA0yV.js +0 -1
  696. package/editor-web/assets/minus-CbPnUIOy.js +0 -1
  697. package/editor-web/assets/props-form-BpSXbrSF.js +0 -1
  698. package/editor-web/assets/react-Edyoga_4.js +0 -1
  699. package/editor-web/assets/row-C_svyL8o.js +0 -1
  700. package/editor-web/assets/schemas-CQ_UU8-Z.js +0 -1
  701. package/editor-web/assets/search-Ba2BbT6T.js +0 -1
  702. package/editor-web/assets/slides-7xWhREpt.js +0 -1
  703. package/editor-web/assets/snapshots-BLX4NTQC.js +0 -1
  704. package/editor-web/assets/sound-bTlco_K3.js +0 -1
  705. package/editor-web/assets/split-tFGKk-x8.js +0 -3
  706. package/editor-web/assets/strikethrough-BwXWi4zg.js +0 -1
  707. package/editor-web/assets/svg-CWIBMIQ9.js +0 -1
  708. package/editor-web/assets/swatch-DhztHwPU.js +0 -1
  709. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-DKzB_wSf.js +0 -8
  710. package/editor-web/assets/syntax-CU_WPKxt.js +0 -1
  711. package/editor-web/assets/table-DRbddzx0.js +0 -1
  712. package/editor-web/assets/tabs-CuEawka3.js +0 -1
  713. package/editor-web/assets/tag-CIfWT8B_.js +0 -1
  714. package/editor-web/assets/text-align-start-Cic2-TLh.js +0 -1
  715. package/editor-web/assets/video-D0uTbHWx.js +0 -1
  716. package/editor-web/assets/words-XlXG79Ur.js +0 -3
  717. package/editor-web/assets/workbook-CiCXkjmN.js +0 -45
@@ -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{SCRIPT_NAME as _}from"./script.js";const h=o.string().regex(_,"A name is letters, digits, _ and -.");export const THEME_COLORS=["dk1","lt1","dk2","lt2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"],TEXT_ALIGNS=["l","ctr","r","just"],SHAPE_GEOMETRIES=["line","lineInv","triangle","rtTriangle","rect","diamond","parallelogram","trapezoid","nonIsoscelesTrapezoid","pentagon","hexagon","heptagon","octagon","decagon","dodecagon","star4","star5","star6","star7","star8","star10","star12","star16","star24","star32","roundRect","round1Rect","round2SameRect","round2DiagRect","snipRoundRect","snip1Rect","snip2SameRect","snip2DiagRect","plaque","ellipse","teardrop","homePlate","chevron","pieWedge","pie","blockArc","donut","noSmoking","rightArrow","leftArrow","upArrow","downArrow","stripedRightArrow","notchedRightArrow","bentUpArrow","leftRightArrow","upDownArrow","leftUpArrow","leftRightUpArrow","quadArrow","leftArrowCallout","rightArrowCallout","upArrowCallout","downArrowCallout","leftRightArrowCallout","upDownArrowCallout","quadArrowCallout","bentArrow","uturnArrow","circularArrow","leftCircularArrow","leftRightCircularArrow","curvedRightArrow","curvedLeftArrow","curvedUpArrow","curvedDownArrow","swooshArrow","cube","can","lightningBolt","heart","sun","moon","smileyFace","irregularSeal1","irregularSeal2","foldedCorner","bevel","frame","halfFrame","corner","diagStripe","chord","arc","leftBracket","rightBracket","leftBrace","rightBrace","bracketPair","bracePair","straightConnector1","bentConnector2","bentConnector3","bentConnector4","bentConnector5","curvedConnector2","curvedConnector3","curvedConnector4","curvedConnector5","callout1","callout2","callout3","accentCallout1","accentCallout2","accentCallout3","borderCallout1","borderCallout2","borderCallout3","accentBorderCallout1","accentBorderCallout2","accentBorderCallout3","wedgeRectCallout","wedgeRoundRectCallout","wedgeEllipseCallout","cloudCallout","cloud","ribbon","ribbon2","ellipseRibbon","ellipseRibbon2","leftRightRibbon","verticalScroll","horizontalScroll","wave","doubleWave","plus","flowChartProcess","flowChartDecision","flowChartInputOutput","flowChartPredefinedProcess","flowChartInternalStorage","flowChartDocument","flowChartMultidocument","flowChartTerminator","flowChartPreparation","flowChartManualInput","flowChartManualOperation","flowChartConnector","flowChartPunchedCard","flowChartPunchedTape","flowChartSummingJunction","flowChartOr","flowChartCollate","flowChartSort","flowChartExtract","flowChartMerge","flowChartOfflineStorage","flowChartOnlineStorage","flowChartMagneticTape","flowChartMagneticDisk","flowChartMagneticDrum","flowChartDisplay","flowChartDelay","flowChartAlternateProcess","flowChartOffpageConnector","actionButtonBlank","actionButtonHome","actionButtonHelp","actionButtonInformation","actionButtonForwardNext","actionButtonBackPrevious","actionButtonEnd","actionButtonBeginning","actionButtonReturn","actionButtonDocument","actionButtonSound","actionButtonMovie","gear6","gear9","funnel","mathPlus","mathMinus","mathMultiply","mathDivide","mathEqual","mathNotEqual","cornerTabs","squareTabs","plaqueTabs","chartX","chartStar","chartPlus"],ANIMATION_EFFECTS=["appear","fade","fly-in","float-in","split","wipe","zoom","disappear","fade-out","fly-out","float-out","split-out","wipe-out","zoom-out","pulse","grow-shrink","spin","transparency","path"],ANIMATE_TEXT=["word","letter"],ANIMATION_REPEATS=["until-next-click","until-end-of-slide"],ANIMATION_STARTS=["on-click","with-previous","after-previous"],ANIMATION_DIRECTIONS=["from-bottom","from-top","from-left","from-right","from-top-right","from-bottom-right","from-top-left","from-bottom-left","vertical-out","vertical-in","horizontal-out","horizontal-in","in","out","rotate","up","down","clockwise","counterclockwise","both","horizontal","vertical"],LINE_DASHES=["solid","sysDot","sysDash","dash","dashDot","lgDash","lgDashDot","lgDashDotDot","dot","sysDashDot","sysDashDotDot"],LINE_CAPS=["flat","rnd","sq"],LINE_JOINS=["round","bevel","miter"],LINE_COMPOUNDS=["sng","dbl","thickThin","thinThick","tri"],LINE_ENDS=["none","triangle","arrow","stealth","diamond","oval"],ARROW_SIZES=["sm","med","lg"],LineEndSizeSchema=o.strictObject({w:o.enum(ARROW_SIZES).optional(),len:o.enum(ARROW_SIZES).optional()}),FrameSchema=o.strictObject({x:o.number(),y:o.number(),w:o.number().nonnegative(),h:o.number().nonnegative()}),MAPPED_COLORS=["tx1","bg1","tx2","bg2"],COLOR_NAMES=[...THEME_COLORS,...MAPPED_COLORS],COLOR_TRANSFORMS=["tint","shade","lumMod","lumOff","lum","satMod","satOff","sat","hueMod","hueOff","hue","alpha","alphaMod","alphaOff"];const C=`(?:${COLOR_NAMES.join("|")})`,k=`(?:${COLOR_TRANSFORMS.join("|")}) -?\\d+(?:\\.\\d+)?(?:%|°)`,A=new RegExp(`^(${C}) (lighter|darker) (100(?:\\.0{1,3})?|[1-9]?\\d(?:\\.\\d{1,3})?)%$`,"u"),v=new RegExp(`^(${C}|#[0-9A-Fa-f]{6})((?: ${k})+)$`,"u"),O=/^#[0-9A-Fa-f]{6}$/u,g=t=>COLOR_NAMES.includes(t),E=t=>COLOR_TRANSFORMS.includes(t),y=new Set(["hue","hueOff"]);export function colorOfFile(t){if(g(t))return t;if(O.test(t))return{rgb:t.toUpperCase()};const e=v.exec(t);if(e){const[,l="",p=""]=e,m=[];for(const w of p.matchAll(/ (\w+) (-?[\d.]+)(%|°)/gu)){const[,u="",D="",x]=w;if(!E(u)||x==="°"!==y.has(u))return;const S=Number(D);m.push({name:u,value:x==="%"?Math.round(S*1e3)/1e5:S})}return g(l)?{theme_color:l,transforms:m}:{rgb:l.toUpperCase(),transforms:m}}const r=A.exec(t),[,n="",i,s=""]=r??[],a=Math.round(Number(s)*1e3);if(!(!r||!g(n)||a<=0||a>1e5))return{theme_color:n,brightness:(i==="lighter"?a:-a)/1e5}}const P=t=>y.has(t.name)?`${t.name} ${String(Math.round(t.value*1e3)/1e3)}°`:`${t.name} ${String(Math.round(t.value*1e5)/1e3)}%`;export function colorFile(t){if(typeof t=="string")return t;if("rgb"in t)return t.transforms&&t.transforms.length>0?`${t.rgb} ${t.transforms.map(P).join(" ")}`:t.rgb;if("transforms"in t)return t.transforms.length===0?t.theme_color:`${t.theme_color} ${t.transforms.map(P).join(" ")}`;const e=Math.round(Math.abs(t.brightness)*1e5)/1e3;return e===0?t.theme_color:`${t.theme_color} ${t.brightness>0?"lighter":"darker"} ${String(e)}%`}const d=`A colour is one of the theme's (${THEME_COLORS.join(", ")}) or the colour map's (${MAPPED_COLORS.join(", ")}), one of them lighter or darker by a share over 0 up to 100% ("accent1 lighter 40%", "dk1 darker 25%"), #RRGGBB, or one of them with DrawingML's transforms in order ("accent1 lumMod 75% lumOff 25%", "#4472C4 alpha 50%", "accent2 hueOff 30°": ${COLOR_TRANSFORMS.join(", ")}).`;export const ColorFileSchema=o.union([o.enum(COLOR_NAMES),o.string().regex(A,d),o.string().regex(O,d),o.string().regex(v,d)]).refine(t=>colorOfFile(t)!==void 0,d),NUMBERINGS=["alphaLcParenBoth","alphaUcParenBoth","alphaLcParenR","alphaUcParenR","alphaLcPeriod","alphaUcPeriod","arabicParenBoth","arabicParenR","arabicPeriod","arabicPlain","romanLcParenBoth","romanUcParenBoth","romanLcParenR","romanUcParenR","romanLcPeriod","romanUcPeriod","circleNumDbPlain","circleNumWdBlackPlain","circleNumWdWhitePlain","arabicDbPeriod","arabicDbPlain","ea1ChsPeriod","ea1ChsPlain","ea1ChtPeriod","ea1ChtPlain","ea1JpnChsDbPeriod","ea1JpnKorPlain","ea1JpnKorPeriod","arabic1Minus","arabic2Minus","hebrew2Minus","thaiAlphaPeriod","thaiAlphaParenR","thaiAlphaParenBoth","thaiNumPeriod","thaiNumParenR","thaiNumParenBoth","hindiAlphaPeriod","hindiNumPeriod","hindiNumParenR","hindiAlpha1Period"],UNDERLINES=["sng","dbl","heavy","dotted","dottedHeavy","dash","dashHeavy","dashLong","dashLongHeavy","dotDash","dotDashHeavy","dotDotDash","dotDotDashHeavy","wavy","wavyHeavy","wavyDbl","words"],STRIKES=["sngStrike","dblStrike"],CAPS=["all","small","none"],TEXT_ORIENTATIONS=["horz","vert","vert270","eaVert","wordArtVert","wordArtVertRtl","mongolianVert"],TEXT_ANCHORS=["t","ctr","b"],ParagraphSpaceSchema=o.union([o.number().min(0).max(1584),o.object({lines:o.number().min(0).max(100)})]),TextStyleSchema=o.strictObject({size:o.number().positive().max(4e3).optional(),bold:o.boolean().optional(),italic:o.boolean().optional(),underline:o.union([o.boolean(),o.enum(UNDERLINES)]).optional(),strike:o.union([o.boolean(),o.enum(STRIKES)]).optional(),caps:o.enum(CAPS).optional(),color:ColorFileSchema.optional(),font:o.string().min(1).optional(),align:o.enum(TEXT_ALIGNS).optional(),line_spacing:o.number().positive().max(10).optional(),space_before:ParagraphSpaceSchema.optional(),space_after:ParagraphSpaceSchema.optional(),anchor:o.enum(TEXT_ANCHORS).optional(),orientation:o.enum(TEXT_ORIENTATIONS).optional(),bullet:o.union([o.literal(!1),o.string().min(1).max(2)]).optional(),numbered:o.enum(NUMBERINGS).optional(),bullet_color:ColorFileSchema.optional(),bullet_size:o.number().min(.25).max(4).optional(),start_at:o.int().min(1).max(32767).optional()});const T=o.strictObject({left:o.number().lt(1).optional(),top:o.number().lt(1).optional(),right:o.number().lt(1).optional(),bottom:o.number().lt(1).optional()}).refine(t=>(t.left??0)+(t.right??0)<1,{message:"left and right together cut the whole picture away"}).refine(t=>(t.top??0)+(t.bottom??0)<1,{message:"top and bottom together cut the whole picture away"}),b=o.lazy(()=>o.union([o.string(),o.number(),o.boolean(),o.null(),o.array(b),o.record(o.string(),b)]));export const CHART_TYPES=["column-clustered","column-stacked","column-stacked-100","bar-clustered","bar-stacked","bar-stacked-100","line","line-markers","area","area-stacked","area-stacked-100","pie","doughnut"],SHEET_CHART_TYPES=[...CHART_TYPES,"scatter","scatter-lines","scatter-smooth"],CHART_LEGEND_POSITIONS=["bottom","top","left","right"],CHART_COMBINED_TYPES=["column-clustered","column-stacked","column-stacked-100","line","line-markers","area","area-stacked","area-stacked-100"];const f=o.strictObject({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(),gridline_color:ColorFileSchema.optional(),line_color:ColorFileSchema.optional()});export const ChartSchema=o.strictObject({type:o.enum(SHEET_CHART_TYPES),data:o.string().min(1).optional(),categories:o.union([o.string().min(1),o.array(o.string())]).optional(),series:o.array(o.union([o.string().min(1),o.strictObject({name:o.string().min(1),values:o.array(o.number().nullable()).optional(),x:o.array(o.number().nullable()).optional(),color:ColorFileSchema.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(),type:o.enum(CHART_COMBINED_TYPES).optional(),secondary:o.boolean().optional()})])).min(1),legend:o.enum(CHART_LEGEND_POSITIONS).optional(),labels:o.union([o.boolean(),o.strictObject({value:o.boolean().optional(),percentage:o.boolean().optional(),category:o.boolean().optional(),series:o.boolean().optional(),format:o.string().min(1).optional(),position:o.enum(["outEnd","inEnd","ctr","inBase","t","b","l","r","bestFit"]).optional(),size:o.number().positive().optional(),color:ColorFileSchema.optional()})]).optional(),gap_width:o.number().min(0).max(500).optional(),overlap:o.number().min(-100).max(100).optional(),vary_by_categories:o.boolean().optional(),category_colors:o.array(ColorFileSchema).min(1).optional(),hole_size:o.number().min(10).max(90).optional(),value_axis:f.optional(),category_axis:f.optional(),secondary_axis:f.optional(),size:o.number().positive().optional(),title_size:o.number().positive().optional(),color:ColorFileSchema.optional()});const c=o.number().min(0).max(1);export const GRADIENT_PATHS=["circle","rect","shape"],GradientSchema=o.strictObject({angle:o.number().min(0).max(360).optional(),path:o.enum(GRADIENT_PATHS).optional(),focus:o.strictObject({left:o.number().optional(),top:o.number().optional(),right:o.number().optional(),bottom:o.number().optional()}).optional(),stops:o.array(o.strictObject({at:c,color:ColorFileSchema,transparency:c.optional()})).min(2).max(10)}),PATTERNS=["pct5","pct10","pct20","pct25","pct30","pct40","pct50","pct60","pct70","pct75","pct80","pct90","horz","vert","ltHorz","ltVert","dkHorz","dkVert","narHorz","narVert","dashHorz","dashVert","cross","dnDiag","upDiag","ltDnDiag","ltUpDiag","dkDnDiag","dkUpDiag","wdDnDiag","wdUpDiag","dashDnDiag","dashUpDiag","diagCross","smCheck","lgCheck","smGrid","lgGrid","dotGrid","smConfetti","lgConfetti","horzBrick","diagBrick","solidDmnd","openDmnd","dotDmnd","plaid","sphere","weave","divot","shingle","wave","trellis","zigZag"],PatternSchema=o.strictObject({preset:o.enum(PATTERNS),fg:ColorFileSchema.optional(),bg:ColorFileSchema.optional()}),TILE_ALIGNMENTS=["tl","t","tr","l","ctr","r","bl","b","br"],PictureFillSchema=o.strictObject({path:o.string().min(1),tile:o.strictObject({scale_x:o.number().positive().max(100).optional(),scale_y:o.number().positive().max(100).optional(),x:o.number().optional(),y:o.number().optional(),align:o.enum(TILE_ALIGNMENTS).optional()}).optional(),transparency:c.optional()}),BackgroundSchema=o.strictObject({fill:ColorFileSchema.optional(),gradient:GradientSchema.optional(),picture:o.string().min(1).optional()}).refine(t=>[t.fill,t.gradient,t.picture].filter(e=>e!==void 0).length===1,{message:"A background is a fill, a gradient or a picture: one of them."}),ShadowSchema=o.strictObject({color:ColorFileSchema.optional(),blur:o.number().min(0).max(100).optional(),distance:o.number().min(0).max(200).optional(),angle:o.number().min(0).max(360).optional(),transparency:c.optional()}),InnerShadowSchema=o.strictObject({color:ColorFileSchema.optional(),blur:o.number().min(0).max(100).optional(),distance:o.number().min(0).max(200).optional(),angle:o.number().min(0).max(360).optional(),transparency:c.optional()}),GlowSchema=o.strictObject({color:ColorFileSchema.optional(),size:o.number().min(0).max(150).optional(),transparency:c.optional()}),ReflectionSchema=o.strictObject({transparency:c.optional(),size:c.optional(),distance:o.number().min(0).max(100).optional(),blur:o.number().min(0).max(100).optional()});const R=o.union([o.strictObject({shape:o.string().min(1),site:o.int().min(0)}),o.literal("none")]);export const MergedCellsSchema=o.object({row:o.int().min(0),column:o.int().min(0),rows:o.int().min(1).optional(),columns:o.int().min(1).optional()});function N(t,e,r,n){const i=t.rows??1,s=t.columns??1;if(i*s<2)return"A merge takes two cells or more.";if(t.row+i>e||t.column+s>r)return`A merge from row ${String(t.row)}, column ${String(t.column)} goes past the table's ${String(e)} rows and ${String(r)} columns.`;for(let a=t.row;a<t.row+i;a++)for(let l=t.column;l<t.column+s;l++){const p=`${String(a)},${String(l)}`;if(n.has(p))return`Two merges take the cell at row ${String(a)}, column ${String(l)}.`;n.add(p)}}export const MEDIA_STARTS=["auto","on-click"],PlaybackSchema=o.strictObject({start:o.enum(MEDIA_STARTS).optional(),trim:o.strictObject({start:o.number().min(0).optional(),end:o.number().positive().optional()}).refine(t=>t.start===void 0||t.end===void 0||t.end>t.start,{message:"A trim ends after it starts."}).optional(),loop:o.boolean().optional(),volume:o.number().min(0).max(1).optional(),fullscreen:o.boolean().optional(),hide:o.boolean().optional()}),ShapeSchema=o.strictObject({frame:FrameSchema.optional(),rotation:o.number().min(0).lt(360).optional(),flip_h:o.literal(!0).optional(),flip_v:o.literal(!0).optional(),connect:o.strictObject({begin:R.optional(),end:R.optional()}).optional(),z:o.int().optional(),fill:o.union([ColorFileSchema,o.literal("none")]).optional(),fill_transparency:c.optional(),gradient:GradientSchema.optional(),pattern:PatternSchema.optional(),picture_fill:PictureFillSchema.optional(),shadow:ShadowSchema.optional(),inner_shadow:InnerShadowSchema.optional(),glow:GlowSchema.optional(),soft_edges:o.number().positive().max(100).optional(),reflection:ReflectionSchema.optional(),line:o.union([ColorFileSchema,o.literal("none")]).optional(),line_width:o.number().positive().max(1584).optional(),line_dash:o.enum(LINE_DASHES).optional(),line_cap:o.enum(LINE_CAPS).optional(),line_join:o.enum(LINE_JOINS).optional(),line_compound:o.enum(LINE_COMPOUNDS).optional(),line_begin:o.enum(LINE_ENDS).optional(),line_end:o.enum(LINE_ENDS).optional(),line_begin_size:LineEndSizeSchema.optional(),line_end_size:LineEndSizeSchema.optional(),text:TextStyleSchema.optional(),textbox:o.literal(!0).optional(),picture:o.string().min(1).optional(),crop:T.optional(),movie:o.string().min(1).optional(),audio:o.string().min(1).optional(),item:o.string().min(1).optional(),poster:o.number().min(0).optional(),playback:PlaybackSchema.optional(),geometry:o.enum(SHAPE_GEOMETRIES).optional(),adjustments:o.array(o.number()).max(8).optional(),path:o.strictObject({w:o.number().positive(),h:o.number().positive(),d:o.string().min(1)}).optional(),table:o.strictObject({columns:o.array(o.number().positive()).min(1),rows:o.array(o.strictObject({height:o.number().positive(),fill:ColorFileSchema.optional(),text:TextStyleSchema.optional(),line:ColorFileSchema.optional()})).min(1),merged:o.array(MergedCellsSchema).optional(),data:o.string().min(1).optional(),fields:o.array(o.string().min(1)).min(1).optional(),head:o.boolean().optional(),style:o.string().min(1).optional(),first_row:o.boolean().optional(),last_row:o.boolean().optional(),first_col:o.boolean().optional(),last_col:o.boolean().optional(),horz_banding:o.boolean().optional(),vert_banding:o.boolean().optional()}).superRefine((t,e)=>{const r=new Set;t.data===void 0&&(t.fields!==void 0||t.head!==void 0)&&e.addIssue({code:"custom",path:[t.fields===void 0?"head":"fields"],message:"fields and head say how a table shows its data: give it data."}),(t.merged??[]).forEach((n,i)=>{const s=N(n,t.rows.length,t.columns.length,r);s!==void 0&&e.addIssue({code:"custom",path:["merged",i],message:s})})}).optional(),chart:ChartSchema.optional(),link:o.string().trim().min(1).optional(),group:o.string().regex(/^[A-Za-z0-9_-]+(?:\/[A-Za-z0-9_-]+)*$/u,"A group is a name of letters, digits, _ and -; a group in a group is outer/inner.").optional(),locked:o.literal(!0).optional(),component:o.union([h,o.string().regex(/^[^#\s]+\.[cm]?[jt]sx?(?:#[A-Za-z_$][\w$]*)?$/u,"A component is a name the deck's module registers, or a module's path and export: ../ui.ts#Dialog.")]).optional(),props:o.record(o.string(),b).optional(),dur:o.number().positive().optional()}),groupLevels=t=>t.split("/").map((e,r,n)=>n.slice(0,r+1).join("/")),inGroup=(t,e)=>t!==void 0&&(t===e||t.startsWith(`${e}/`)),SHOW_JUMPS=["firstslide","lastslide","nextslide","previousslide","endshow"],showJumpLink=t=>`ppaction://hlinkshowjump?jump=${t}`;export function showJumpOf(t){const e=/^ppaction:\/\/hlinkshowjump\?jump=([a-z]+)$/u.exec(t);return SHOW_JUMPS.find(r=>r===e?.[1])}export const slideLinkOf=t=>t.startsWith("#")&&t.length>1?t.slice(1):void 0,SHAPE_KINDS=["textbox","picture","movie","audio","geometry","path","table","chart","component","item"],SLIDE_TRANSITIONS=["fade","push","wipe","split","reveal","cut","cover","uncover","zoom","morph"],TransitionSchema=o.strictObject({type:o.enum(SLIDE_TRANSITIONS),direction:o.enum(ANIMATION_DIRECTIONS).optional(),through_black:o.literal(!0).optional(),duration:o.number().min(0).optional()}),AnimationSchema=o.strictObject({shape:o.string().min(1),paragraph:o.int().min(0).optional(),effect:o.enum(ANIMATION_EFFECTS),direction:o.enum(ANIMATION_DIRECTIONS).optional(),amount:o.number().positive().max(36e3).optional(),start:o.enum(ANIMATION_STARTS).optional(),duration:o.number().min(0).optional(),delay:o.number().min(0).optional(),path:o.string().min(1).optional(),animate_text:o.enum(ANIMATE_TEXT).optional(),text_delay:o.number().min(0).max(100).optional(),repeat:o.union([o.number().min(1).max(1e4),o.enum(ANIMATION_REPEATS)]).optional(),rewind:o.literal(!0).optional()}),SlideSchema=o.strictObject({id:h,layout:o.string().min(1).optional(),generate:h.optional(),hidden:o.union([o.literal(!0),o.array(o.string())]).optional(),shapes:o.record(o.string().min(1),ShapeSchema).optional(),animations:o.array(AnimationSchema).optional(),transition:TransitionSchema.optional(),advance_after:o.number().min(0).max(86400).optional(),background:BackgroundSchema.optional(),section:o.string().trim().min(1).max(255).optional()}),SlidesFileSchema=o.strictObject({slides:o.array(SlideSchema).default([])}).superRefine((t,e)=>{const r=new Set;t.slides.forEach((n,i)=>{r.has(n.id)&&e.addIssue({code:"custom",path:["slides",i,"id"],message:`Two slides are "${n.id}".`}),r.add(n.id),(n.layout===void 0?0:1)+(n.generate===void 0?0:1)!==1&&e.addIssue({code:"custom",path:["slides",i],message:`Slide ${n.id} has a layout or a generator: one of them.`}),n.hidden!==void 0&&n.generate===void 0&&n.hidden!==!0&&e.addIssue({code:"custom",path:["slides",i,"hidden"],message:`Slide ${n.id} is hidden (true); a list of ids is a generated block's.`});for(const[a,l]of Object.entries(n.shapes??{})){const p=SHAPE_KINDS.filter(u=>l[u]!==void 0);p.length>1&&e.addIssue({code:"custom",path:["slides",i,"shapes",a],message:`Shape ${a} is one kind of shape, not ${p.join(" and ")}.`});const m=a.includes("/")?a.split("/"):[a];(!(m.length<=2&&m.every(u=>_.test(u)))||m.length===2&&n.generate===void 0)&&e.addIssue({code:"custom",path:["slides",i,"shapes",a],message:"A shape's name is letters, digits, _ and -; <slide>/<shape> only in a generated block."})}})});
2
+ import{z as o}from"zod";import{blockFieldSchema as r,DECK_BLOCK_KINDS as I,readBlock as j}from"./blocks.js";import{SCRIPT_NAME as A}from"./script.js";const f=o.string().regex(A,"A name is letters, digits, _ and -.");export const THEME_COLORS=["dk1","lt1","dk2","lt2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"],TEXT_ALIGNS=["l","ctr","r","just"],SHAPE_GEOMETRIES=["line","lineInv","triangle","rtTriangle","rect","diamond","parallelogram","trapezoid","nonIsoscelesTrapezoid","pentagon","hexagon","heptagon","octagon","decagon","dodecagon","star4","star5","star6","star7","star8","star10","star12","star16","star24","star32","roundRect","round1Rect","round2SameRect","round2DiagRect","snipRoundRect","snip1Rect","snip2SameRect","snip2DiagRect","plaque","ellipse","teardrop","homePlate","chevron","pieWedge","pie","blockArc","donut","noSmoking","rightArrow","leftArrow","upArrow","downArrow","stripedRightArrow","notchedRightArrow","bentUpArrow","leftRightArrow","upDownArrow","leftUpArrow","leftRightUpArrow","quadArrow","leftArrowCallout","rightArrowCallout","upArrowCallout","downArrowCallout","leftRightArrowCallout","upDownArrowCallout","quadArrowCallout","bentArrow","uturnArrow","circularArrow","leftCircularArrow","leftRightCircularArrow","curvedRightArrow","curvedLeftArrow","curvedUpArrow","curvedDownArrow","swooshArrow","cube","can","lightningBolt","heart","sun","moon","smileyFace","irregularSeal1","irregularSeal2","foldedCorner","bevel","frame","halfFrame","corner","diagStripe","chord","arc","leftBracket","rightBracket","leftBrace","rightBrace","bracketPair","bracePair","straightConnector1","bentConnector2","bentConnector3","bentConnector4","bentConnector5","curvedConnector2","curvedConnector3","curvedConnector4","curvedConnector5","callout1","callout2","callout3","accentCallout1","accentCallout2","accentCallout3","borderCallout1","borderCallout2","borderCallout3","accentBorderCallout1","accentBorderCallout2","accentBorderCallout3","wedgeRectCallout","wedgeRoundRectCallout","wedgeEllipseCallout","cloudCallout","cloud","ribbon","ribbon2","ellipseRibbon","ellipseRibbon2","leftRightRibbon","verticalScroll","horizontalScroll","wave","doubleWave","plus","flowChartProcess","flowChartDecision","flowChartInputOutput","flowChartPredefinedProcess","flowChartInternalStorage","flowChartDocument","flowChartMultidocument","flowChartTerminator","flowChartPreparation","flowChartManualInput","flowChartManualOperation","flowChartConnector","flowChartPunchedCard","flowChartPunchedTape","flowChartSummingJunction","flowChartOr","flowChartCollate","flowChartSort","flowChartExtract","flowChartMerge","flowChartOfflineStorage","flowChartOnlineStorage","flowChartMagneticTape","flowChartMagneticDisk","flowChartMagneticDrum","flowChartDisplay","flowChartDelay","flowChartAlternateProcess","flowChartOffpageConnector","actionButtonBlank","actionButtonHome","actionButtonHelp","actionButtonInformation","actionButtonForwardNext","actionButtonBackPrevious","actionButtonEnd","actionButtonBeginning","actionButtonReturn","actionButtonDocument","actionButtonSound","actionButtonMovie","gear6","gear9","funnel","mathPlus","mathMinus","mathMultiply","mathDivide","mathEqual","mathNotEqual","cornerTabs","squareTabs","plaqueTabs","chartX","chartStar","chartPlus"],ANIMATION_EFFECTS=["appear","fade","fly-in","float-in","split","wipe","zoom","disappear","fade-out","fly-out","float-out","split-out","wipe-out","zoom-out","pulse","grow-shrink","spin","transparency","path"],ANIMATE_TEXT=["word","letter"],ANIMATION_REPEATS=["until-next-click","until-end-of-slide"],ANIMATION_STARTS=["on-click","with-previous","after-previous"],ANIMATION_DIRECTIONS=["from-bottom","from-top","from-left","from-right","from-top-right","from-bottom-right","from-top-left","from-bottom-left","vertical-out","vertical-in","horizontal-out","horizontal-in","in","out","rotate","up","down","clockwise","counterclockwise","both","horizontal","vertical"],LINE_DASHES=["solid","sysDot","sysDash","dash","dashDot","lgDash","lgDashDot","lgDashDotDot","dot","sysDashDot","sysDashDotDot"],LINE_CAPS=["flat","rnd","sq"],LINE_JOINS=["round","bevel","miter"],LINE_COMPOUNDS=["sng","dbl","thickThin","thinThick","tri"],LINE_ENDS=["none","triangle","arrow","stealth","diamond","oval"],ARROW_SIZES=["sm","med","lg"],LineEndSizeSchema=o.strictObject({w:o.enum(ARROW_SIZES).optional(),len:o.enum(ARROW_SIZES).optional()}),FrameSchema=o.strictObject({x:o.number(),y:o.number(),w:o.number().nonnegative(),h:o.number().nonnegative()}),MAPPED_COLORS=["tx1","bg1","tx2","bg2"],COLOR_NAMES=[...THEME_COLORS,...MAPPED_COLORS],COLOR_TRANSFORMS=["tint","shade","lumMod","lumOff","lum","satMod","satOff","sat","hueMod","hueOff","hue","alpha","alphaMod","alphaOff"];const y=`(?:${COLOR_NAMES.join("|")})`,N=`(?:${COLOR_TRANSFORMS.join("|")}) -?\\d+(?:\\.\\d+)?(?:%|°)`,O=new RegExp(`^(${y}) (lighter|darker) (100(?:\\.0{1,3})?|[1-9]?\\d(?:\\.\\d{1,3})?)%$`,"u"),k=new RegExp(`^(${y}|#[0-9A-Fa-f]{6})((?: ${N})+)$`,"u"),v=/^#[0-9A-Fa-f]{6}$/u,x=t=>COLOR_NAMES.includes(t),M=t=>COLOR_TRANSFORMS.includes(t),T=new Set(["hue","hueOff"]);export function colorOfFile(t){if(x(t))return t;if(v.test(t))return{rgb:t.toUpperCase()};const n=k.exec(t);if(n){const[,p="",d=""]=n,h=[];for(const w of d.matchAll(/ (\w+) (-?[\d.]+)(%|°)/gu)){const[,u="",D="",S]=w;if(!M(u)||S==="°"!==T.has(u))return;const C=Number(D);h.push({name:u,value:S==="%"?Math.round(C*1e3)/1e5:C})}return x(p)?{theme_color:p,transforms:h}:{rgb:p.toUpperCase(),transforms:h}}const i=O.exec(t),[,e="",a,m=""]=i??[],l=Math.round(Number(m)*1e3);if(!(!i||!x(e)||l<=0||l>1e5))return{theme_color:e,brightness:(a==="lighter"?l:-l)/1e5}}const R=t=>T.has(t.name)?`${t.name} ${String(Math.round(t.value*1e3)/1e3)}°`:`${t.name} ${String(Math.round(t.value*1e5)/1e3)}%`;export function colorFile(t){if(typeof t=="string")return t;if("rgb"in t)return t.transforms&&t.transforms.length>0?`${t.rgb} ${t.transforms.map(R).join(" ")}`:t.rgb;if("transforms"in t)return t.transforms.length===0?t.theme_color:`${t.theme_color} ${t.transforms.map(R).join(" ")}`;const n=Math.round(Math.abs(t.brightness)*1e5)/1e3;return n===0?t.theme_color:`${t.theme_color} ${t.brightness>0?"lighter":"darker"} ${String(n)}%`}const b=`A colour is one of the theme's (${THEME_COLORS.join(", ")}) or the colour map's (${MAPPED_COLORS.join(", ")}), one of them lighter or darker by a share over 0 up to 100% ("accent1 lighter 40%", "dk1 darker 25%"), #RRGGBB, or one of them with DrawingML's transforms in order ("accent1 lumMod 75% lumOff 25%", "#4472C4 alpha 50%", "accent2 hueOff 30°": ${COLOR_TRANSFORMS.join(", ")}).`;export const ColorFileSchema=o.union([o.enum(COLOR_NAMES),o.string().regex(O,b),o.string().regex(v,b),o.string().regex(k,b)]).refine(t=>colorOfFile(t)!==void 0,b),NUMBERINGS=["alphaLcParenBoth","alphaUcParenBoth","alphaLcParenR","alphaUcParenR","alphaLcPeriod","alphaUcPeriod","arabicParenBoth","arabicParenR","arabicPeriod","arabicPlain","romanLcParenBoth","romanUcParenBoth","romanLcParenR","romanUcParenR","romanLcPeriod","romanUcPeriod","circleNumDbPlain","circleNumWdBlackPlain","circleNumWdWhitePlain","arabicDbPeriod","arabicDbPlain","ea1ChsPeriod","ea1ChsPlain","ea1ChtPeriod","ea1ChtPlain","ea1JpnChsDbPeriod","ea1JpnKorPlain","ea1JpnKorPeriod","arabic1Minus","arabic2Minus","hebrew2Minus","thaiAlphaPeriod","thaiAlphaParenR","thaiAlphaParenBoth","thaiNumPeriod","thaiNumParenR","thaiNumParenBoth","hindiAlphaPeriod","hindiNumPeriod","hindiNumParenR","hindiAlpha1Period"],UNDERLINES=["sng","dbl","heavy","dotted","dottedHeavy","dash","dashHeavy","dashLong","dashLongHeavy","dotDash","dotDashHeavy","dotDotDash","dotDotDashHeavy","wavy","wavyHeavy","wavyDbl","words"],STRIKES=["sngStrike","dblStrike"],CAPS=["all","small","none"],TEXT_ORIENTATIONS=["horz","vert","vert270","eaVert","wordArtVert","wordArtVertRtl","mongolianVert"],TEXT_ANCHORS=["t","ctr","b"],ParagraphSpaceSchema=o.union([o.number().min(0).max(1584),o.object({lines:o.number().min(0).max(100)})]);const s=o.number().min(0).max(4032);export const LineSpacingSchema=o.union([o.number().positive().max(10),o.strictObject({lines:o.number().positive().max(10)}),o.strictObject({points:o.number().positive().max(1584)})]);const L=o.strictObject({left:s.optional(),top:s.optional(),right:s.optional(),bottom:s.optional()});export const AUTOFITS=["none","shrink","grow"],LevelStyleSchema=o.strictObject({margin_left:s.optional(),indent:o.number().min(-4032).max(4032).optional(),size:o.number().positive().max(4e3).optional(),bold:o.boolean().optional(),italic:o.boolean().optional(),color:ColorFileSchema.optional(),bullet:o.union([o.literal(!1),o.string().min(1).max(2)]).optional(),numbered:o.enum(NUMBERINGS).optional()}),ParagraphLookSchema=o.strictObject({paragraph:o.int().min(0),paragraphs:o.int().min(1).optional(),align:o.enum(TEXT_ALIGNS).optional(),line_spacing:LineSpacingSchema.optional(),space_before:ParagraphSpaceSchema.optional(),space_after:ParagraphSpaceSchema.optional(),bullet:o.union([o.literal(!1),o.string().min(1).max(2)]).optional(),numbered:o.enum(NUMBERINGS).optional(),bullet_color:ColorFileSchema.optional(),bullet_size:o.number().min(.25).max(4).optional(),start_at:o.int().min(1).max(32767).optional(),margin_left:s.optional(),indent:o.number().min(-4032).max(4032).optional()}),TextStyleSchema=o.strictObject({size:o.number().positive().max(4e3).optional(),bold:o.boolean().optional(),italic:o.boolean().optional(),underline:o.union([o.boolean(),o.enum(UNDERLINES)]).optional(),strike:o.union([o.boolean(),o.enum(STRIKES)]).optional(),caps:o.enum(CAPS).optional(),spacing:o.number().min(-100).max(100).optional(),color:ColorFileSchema.optional(),font:o.string().min(1).optional(),align:o.enum(TEXT_ALIGNS).optional(),line_spacing:LineSpacingSchema.optional(),space_before:ParagraphSpaceSchema.optional(),space_after:ParagraphSpaceSchema.optional(),anchor:o.enum(TEXT_ANCHORS).optional(),orientation:o.enum(TEXT_ORIENTATIONS).optional(),bullet:o.union([o.literal(!1),o.string().min(1).max(2)]).optional(),numbered:o.enum(NUMBERINGS).optional(),bullet_color:ColorFileSchema.optional(),bullet_size:o.number().min(.25).max(4).optional(),start_at:o.int().min(1).max(32767).optional(),margin:o.union([s,L]).optional(),margin_left:s.optional(),margin_top:s.optional(),margin_right:s.optional(),margin_bottom:s.optional(),autofit:o.enum(AUTOFITS).optional(),wrap:o.boolean().optional(),columns:o.int().min(1).max(16).optional(),column_spacing:s.optional(),levels:o.array(LevelStyleSchema).max(9).optional(),paragraphs:o.array(ParagraphLookSchema).optional()});const $=o.strictObject({left:o.number().lt(1).optional(),top:o.number().lt(1).optional(),right:o.number().lt(1).optional(),bottom:o.number().lt(1).optional()}).refine(t=>(t.left??0)+(t.right??0)<1,{message:"left and right together cut the whole picture away"}).refine(t=>(t.top??0)+(t.bottom??0)<1,{message:"top and bottom together cut the whole picture away"}),_=o.lazy(()=>o.union([o.string(),o.number(),o.boolean(),o.null(),o.array(_),o.record(o.string(),_)]));export const EXTENDED_CHART_TYPES=["waterfall","box-whisker","histogram","pareto","treemap","sunburst","funnel"],RECIPE_CHART_TYPES=["dumbbell","slope","bullet"],CHART_TYPES=["column-clustered","column-stacked","column-stacked-100","bar-clustered","bar-stacked","bar-stacked-100","line","line-markers","area","area-stacked","area-stacked-100","pie","doughnut","radar","radar-markers","radar-filled","bubble","stock-hlc","stock-ohlc",...EXTENDED_CHART_TYPES,...RECIPE_CHART_TYPES],SHEET_CHART_TYPES=[...CHART_TYPES,"scatter","scatter-lines","scatter-smooth"],QUARTILE_METHODS=["exclusive","inclusive"],CHART_LEGEND_POSITIONS=["bottom","top","left","right"],CHART_COMBINED_TYPES=["column-clustered","column-stacked","column-stacked-100","line","line-markers","area","area-stacked","area-stacked-100"],CHART_MARKERS=["circle","square","diamond","triangle","x","star","plus","dash","dot","none"],CHART_LABEL_POSITIONS=["outEnd","inEnd","ctr","inBase","t","b","l","r","bestFit"];const E=o.union([o.boolean(),o.strictObject({value:o.boolean().optional(),percentage:o.boolean().optional(),category:o.boolean().optional(),series:o.boolean().optional(),format:o.string().min(1).optional(),position:o.enum(CHART_LABEL_POSITIONS).optional(),size:o.number().positive().optional(),color:ColorFileSchema.optional(),bold:o.boolean().optional(),first:o.boolean().optional(),last:o.boolean().optional()})]);export const CHART_TICK_LABEL_POSITIONS=["nextTo","low","high","none"],CHART_TICK_MARKS=["none","in","out","cross"],CHART_AXIS_CROSSES=["autoZero","min","max"],CHART_DISPLAY_UNITS=["hundreds","thousands","tenThousands","hundredThousands","millions","tenMillions","hundredMillions","billions","trillions"],ChartAxisSchema=o.strictObject({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(),gridline_color:ColorFileSchema.optional(),line_color:ColorFileSchema.optional(),labels:o.enum(CHART_TICK_LABEL_POSITIONS).optional(),tick_marks:o.enum(CHART_TICK_MARKS).optional(),minor_tick_marks:o.enum(CHART_TICK_MARKS).optional(),crosses:o.enum(CHART_AXIS_CROSSES).optional(),crosses_at:o.number().optional(),log_base:o.number().min(2).max(1e3).optional(),units:o.enum(CHART_DISPLAY_UNITS).optional(),units_label:o.boolean().optional(),minor:o.number().positive().optional(),minor_gridlines:o.boolean().optional(),label_angle:o.number().min(-90).max(90).optional(),label_every:o.int().min(1).max(31999).optional()}),ChartSchema=o.strictObject({type:o.enum(SHEET_CHART_TYPES),data:o.string().min(1).optional(),categories:o.union([o.string().min(1),o.array(o.union([o.string(),o.array(o.string()).min(1)]))]).optional(),series:o.array(o.union([o.string().min(1),o.strictObject({name:o.string().min(1),values:o.array(o.number().nullable()).optional(),x:o.array(o.number().nullable()).optional(),sizes:o.array(o.number().nullable()).optional(),size:o.string().min(1).optional(),color:ColorFileSchema.optional(),format:o.string().min(1).optional(),smooth:o.boolean().optional(),line_width:o.number().min(0).optional(),marker_size:o.number().int().min(2).max(72).optional(),type:o.enum(CHART_COMBINED_TYPES).optional(),secondary:o.boolean().optional(),labels:E.optional(),line_dash:o.enum(LINE_DASHES).optional(),marker:o.enum(CHART_MARKERS).optional(),transparency:o.number().min(0).max(1).optional(),fill:o.literal("none").optional(),points:o.record(o.string(),o.strictObject({color:ColorFileSchema})).optional()})])).min(1),legend:o.enum([...CHART_LEGEND_POSITIONS,"none"]).optional(),labels:E.optional(),gap_width:o.number().min(0).max(500).optional(),overlap:o.number().min(-100).max(100).optional(),vary_by_categories:o.boolean().optional(),category_colors:o.array(ColorFileSchema).min(1).optional(),hole_size:o.number().min(10).max(90).optional(),totals:o.array(o.string().min(1)).min(1).optional(),connector_lines:o.boolean().optional(),quartiles:o.enum(QUARTILE_METHODS).optional(),mean_markers:o.boolean().optional(),mean_line:o.boolean().optional(),outliers:o.boolean().optional(),inner_points:o.boolean().optional(),bin_count:o.int().min(1).max(1e3).optional(),bin_width:o.number().positive().optional(),overflow:o.number().optional(),underflow:o.number().optional(),interval_closed:o.enum(["right","left"]).optional(),high_low_lines:o.boolean().optional(),secondary_gap_width:o.number().min(0).max(500).optional(),orientation:o.enum(["horizontal","vertical"]).optional(),parent_labels:o.enum(["banner","overlapping","none"]).optional(),value_axis:ChartAxisSchema.optional(),category_axis:ChartAxisSchema.optional(),secondary_axis:ChartAxisSchema.optional(),size:o.number().positive().optional(),title_size:o.number().positive().optional(),color:ColorFileSchema.optional()});const c=o.number().min(0).max(1);export const GRADIENT_PATHS=["circle","rect","shape"],GradientSchema=o.strictObject({angle:o.number().min(0).max(360).optional(),path:o.enum(GRADIENT_PATHS).optional(),focus:o.strictObject({left:o.number().optional(),top:o.number().optional(),right:o.number().optional(),bottom:o.number().optional()}).optional(),stops:o.array(o.strictObject({at:c,color:ColorFileSchema,transparency:c.optional()})).min(2).max(10)}),PATTERNS=["pct5","pct10","pct20","pct25","pct30","pct40","pct50","pct60","pct70","pct75","pct80","pct90","horz","vert","ltHorz","ltVert","dkHorz","dkVert","narHorz","narVert","dashHorz","dashVert","cross","dnDiag","upDiag","ltDnDiag","ltUpDiag","dkDnDiag","dkUpDiag","wdDnDiag","wdUpDiag","dashDnDiag","dashUpDiag","diagCross","smCheck","lgCheck","smGrid","lgGrid","dotGrid","smConfetti","lgConfetti","horzBrick","diagBrick","solidDmnd","openDmnd","dotDmnd","plaid","sphere","weave","divot","shingle","wave","trellis","zigZag"],PatternSchema=o.strictObject({preset:o.enum(PATTERNS),fg:ColorFileSchema.optional(),bg:ColorFileSchema.optional()}),TILE_ALIGNMENTS=["tl","t","tr","l","ctr","r","bl","b","br"],PictureFillSchema=o.strictObject({path:o.string().min(1),tile:o.strictObject({scale_x:o.number().positive().max(100).optional(),scale_y:o.number().positive().max(100).optional(),x:o.number().optional(),y:o.number().optional(),align:o.enum(TILE_ALIGNMENTS).optional()}).optional(),transparency:c.optional()}),PICTURE_RECOLORS=["grayscale","sepia","washout","black_white"],PictureRecolorSchema=o.union([o.enum(PICTURE_RECOLORS),o.strictObject({duotone:o.tuple([ColorFileSchema,ColorFileSchema])}),o.strictObject({black_white:c})]),BackgroundSchema=o.strictObject({fill:ColorFileSchema.optional(),gradient:GradientSchema.optional(),pattern:PatternSchema.optional(),picture:o.string().min(1).optional(),picture_fill:PictureFillSchema.optional()}).refine(t=>[t.fill,t.gradient,t.pattern,t.picture,t.picture_fill].filter(n=>n!==void 0).length===1,{message:"A background is a fill, a gradient, a pattern or a picture (picture or picture_fill): one of them."}),ShadowSchema=o.strictObject({color:ColorFileSchema.optional(),blur:o.number().min(0).max(100).optional(),distance:o.number().min(0).max(200).optional(),angle:o.number().min(0).max(360).optional(),transparency:c.optional()}),InnerShadowSchema=o.strictObject({color:ColorFileSchema.optional(),blur:o.number().min(0).max(100).optional(),distance:o.number().min(0).max(200).optional(),angle:o.number().min(0).max(360).optional(),transparency:c.optional()}),GlowSchema=o.strictObject({color:ColorFileSchema.optional(),size:o.number().min(0).max(150).optional(),transparency:c.optional()}),ReflectionSchema=o.strictObject({transparency:c.optional(),size:c.optional(),distance:o.number().min(0).max(100).optional(),blur:o.number().min(0).max(100).optional()});const P=o.union([o.strictObject({shape:o.string().min(1),site:o.int().min(0)}),o.literal("none")]);export const MergedCellsSchema=o.object({row:o.int().min(0),column:o.int().min(0),rows:o.int().min(1).optional(),columns:o.int().min(1).optional()});function B(t,n,i,e){const a=t.rows??1,m=t.columns??1;if(a*m<2)return"A merge takes two cells or more.";if(t.row+a>n||t.column+m>i)return`A merge from row ${String(t.row)}, column ${String(t.column)} goes past the table's ${String(n)} rows and ${String(i)} columns.`;for(let l=t.row;l<t.row+a;l++)for(let p=t.column;p<t.column+m;p++){const d=`${String(l)},${String(p)}`;if(e.has(d))return`Two merges take the cell at row ${String(l)}, column ${String(p)}.`;e.add(d)}}const g=o.union([ColorFileSchema,o.literal("none"),o.strictObject({color:o.union([ColorFileSchema,o.literal("none")]),width:o.number().min(0).max(1584).optional()})]);export const CellLookSchema=o.strictObject({fill:o.union([ColorFileSchema,o.literal("none")]).optional(),text:TextStyleSchema.optional(),line:o.union([ColorFileSchema,o.literal("none")]).optional(),line_width:o.number().min(0).max(1584).optional(),borders:o.strictObject({left:g.optional(),right:g.optional(),top:g.optional(),bottom:g.optional()}).optional()});export function isBlockTable(t){if(typeof t!="object"||t===null||Array.isArray(t))return!1;const n=t,i=n.columns??n.fields??n.headers;if(Array.isArray(i)&&i.some(a=>typeof a=="string"||typeof a=="object"&&a!==null&&("name"in a||"title"in a||"tag"in a)))return!0;const e=n.rows;return Array.isArray(e)&&e.some(a=>Array.isArray(a)||typeof a=="object"&&a!==null&&!("height"in a))}const z=(t,n,i)=>{isBlockTable(t)!==i&&n.addIssue({code:"invalid_type",expected:"object",input:t,message:"not this form of a table"})},H=(t,n)=>{if(z(t,n,!0),!!isBlockTable(t))for(const i of j("table",t,{wordsElsewhere:!0}).problems)n.addIssue({code:"custom",path:i.path,message:i.message})},U=o.union([o.number().positive(),CellLookSchema.extend({width:o.number().positive()})]);export const TableCellsSchema=CellLookSchema.extend({row:o.int().min(0),column:o.int().min(0),rows:o.int().min(1).optional(),columns:o.int().min(1).optional()}),columnWidth=t=>typeof t=="number"?t:t.width,MEDIA_STARTS=["auto","on-click"],PlaybackSchema=o.strictObject({start:o.enum(MEDIA_STARTS).optional(),trim:o.strictObject({start:o.number().min(0).optional(),end:o.number().positive().optional()}).refine(t=>t.start===void 0||t.end===void 0||t.end>t.start,{message:"A trim ends after it starts."}).optional(),loop:o.boolean().optional(),volume:o.number().min(0).max(1).optional(),fullscreen:o.boolean().optional(),hide:o.boolean().optional()}),DeckTableSchema=o.strictObject({columns:o.array(U).min(1),rows:o.array(o.strictObject({height:o.number().positive(),fill:o.union([ColorFileSchema,o.literal("none")]).optional(),text:TextStyleSchema.optional(),line:ColorFileSchema.optional(),line_width:o.number().min(0).max(1584).optional(),borders:CellLookSchema.shape.borders})).min(1),merged:o.array(MergedCellsSchema).optional(),cells:o.array(TableCellsSchema).optional(),data:o.string().min(1).optional(),fields:o.array(o.string().min(1)).min(1).optional(),head:o.boolean().optional(),style:o.string().min(1).optional(),first_row:o.boolean().optional(),last_row:o.boolean().optional(),first_col:o.boolean().optional(),last_col:o.boolean().optional(),horz_banding:o.boolean().optional(),vert_banding:o.boolean().optional()}).superRefine((t,n)=>{const i=new Set;t.data===void 0&&(t.fields!==void 0||t.head!==void 0)&&n.addIssue({code:"custom",path:[t.fields===void 0?"head":"fields"],message:"fields and head say how a table shows its data: give it data."}),(t.cells??[]).forEach((e,a)=>{(e.row+(e.rows??1)>t.rows.length||e.column+(e.columns??1)>t.columns.length)&&n.addIssue({code:"custom",path:["cells",a],message:`Cells from row ${String(e.row)}, column ${String(e.column)} go past the table's ${String(t.rows.length)} rows and ${String(t.columns.length)} columns.`})}),(t.merged??[]).forEach((e,a)=>{const m=B(e,t.rows.length,t.columns.length,i);m!==void 0&&n.addIssue({code:"custom",path:["merged",a],message:m})})}),isDeckTable=t=>!isBlockTable(t),ShapeSchema=o.strictObject({frame:FrameSchema.optional(),rotation:o.number().min(0).lt(360).optional(),flip_h:o.literal(!0).optional(),flip_v:o.literal(!0).optional(),connect:o.strictObject({begin:P.optional(),end:P.optional()}).optional(),z:o.int().optional(),fill:o.union([ColorFileSchema,o.literal("none")]).optional(),fill_transparency:c.optional(),gradient:GradientSchema.optional(),pattern:PatternSchema.optional(),picture_fill:PictureFillSchema.optional(),shadow:ShadowSchema.optional(),inner_shadow:InnerShadowSchema.optional(),glow:GlowSchema.optional(),soft_edges:o.number().positive().max(100).optional(),reflection:ReflectionSchema.optional(),line:o.union([ColorFileSchema,o.literal("none")]).optional(),line_width:o.number().positive().max(1584).optional(),line_dash:o.enum(LINE_DASHES).optional(),line_cap:o.enum(LINE_CAPS).optional(),line_join:o.enum(LINE_JOINS).optional(),line_compound:o.enum(LINE_COMPOUNDS).optional(),line_begin:o.enum(LINE_ENDS).optional(),line_end:o.enum(LINE_ENDS).optional(),line_begin_size:LineEndSizeSchema.optional(),line_end_size:LineEndSizeSchema.optional(),text:TextStyleSchema.optional(),textbox:o.literal(!0).optional(),picture:o.string().min(1).optional(),crop:$.optional(),fit:o.enum(["fill","fit"]).optional(),brightness:o.number().min(-1).max(1).optional(),contrast:o.number().min(-1).max(1).optional(),recolor:PictureRecolorSchema.optional(),transparency:c.optional(),movie:o.string().min(1).optional(),audio:o.string().min(1).optional(),item:o.string().min(1).optional(),poster:o.number().min(0).optional(),playback:PlaybackSchema.optional(),geometry:o.enum(SHAPE_GEOMETRIES).optional(),adjustments:o.array(o.number()).max(8).optional(),path:o.strictObject({w:o.number().positive(),h:o.number().positive(),d:o.string().min(1)}).optional(),table:o.union([DeckTableSchema,o.unknown().superRefine(H).pipe(o.custom())]).optional(),chart:ChartSchema.optional(),stat:r("stat").optional(),stats:r("stats").optional(),card:r("card").optional(),tag:r("tag").optional(),callout:r("callout").optional(),icon:r("icon").optional(),progress:r("progress").optional(),timeline:r("timeline").optional(),steps:r("steps").optional(),person:r("person").optional(),people:r("people").optional(),risk_matrix:r("risk_matrix").optional(),sankey:r("sankey").optional(),gantt:r("gantt").optional(),org_chart:r("org_chart").optional(),issue_tree:r("issue_tree").optional(),decision_tree:r("decision_tree").optional(),fishbone:r("fishbone").optional(),matrix:r("matrix").optional(),marimekko:r("marimekko").optional(),heatmap:r("heatmap").optional(),small_multiples:r("small_multiples").optional(),link:o.string().trim().min(1).optional(),group:o.string().regex(/^[A-Za-z0-9_-]+(?:\/[A-Za-z0-9_-]+)*$/u,"A group is a name of letters, digits, _ and -; a group in a group is outer/inner.").optional(),locked:o.literal(!0).optional(),decorative:o.literal(!0).optional(),component:o.union([f,o.string().regex(/^[^#\s]+\.[cm]?[jt]sx?(?:#[A-Za-z_$][\w$]*)?$/u,"A component is a name the deck's module registers, or a module's path and export: ../ui.ts#Dialog.")]).optional(),props:o.record(o.string(),_).optional(),dur:o.number().positive().optional()}),groupLevels=t=>t.split("/").map((n,i,e)=>e.slice(0,i+1).join("/")),inGroup=(t,n)=>t!==void 0&&(t===n||t.startsWith(`${n}/`)),SHOW_JUMPS=["firstslide","lastslide","nextslide","previousslide","endshow"],showJumpLink=t=>`ppaction://hlinkshowjump?jump=${t}`;export function showJumpOf(t){const n=/^ppaction:\/\/hlinkshowjump\?jump=([a-z]+)$/u.exec(t);return SHOW_JUMPS.find(i=>i===n?.[1])}export const slideLinkOf=t=>t.startsWith("#")&&t.length>1?t.slice(1):void 0,SHAPE_KINDS=["textbox","picture","movie","audio","geometry","path","table","chart","component","item",...I],SLIDE_TRANSITIONS=["fade","push","wipe","split","reveal","cut","cover","uncover","zoom","morph"],TransitionSchema=o.strictObject({type:o.enum(SLIDE_TRANSITIONS),direction:o.enum(ANIMATION_DIRECTIONS).optional(),through_black:o.literal(!0).optional(),duration:o.number().min(0).optional()}),AnimationSchema=o.strictObject({shape:o.string().min(1),paragraph:o.int().min(0).optional(),effect:o.enum(ANIMATION_EFFECTS),direction:o.enum(ANIMATION_DIRECTIONS).optional(),amount:o.number().positive().max(36e3).optional(),start:o.enum(ANIMATION_STARTS).optional(),duration:o.number().min(0).optional(),delay:o.number().min(0).optional(),path:o.string().min(1).optional(),animate_text:o.enum(ANIMATE_TEXT).optional(),text_delay:o.number().min(0).max(100).optional(),repeat:o.union([o.number().min(1).max(1e4),o.enum(ANIMATION_REPEATS)]).optional(),rewind:o.literal(!0).optional()}),SlideSchema=o.strictObject({id:f,layout:o.string().min(1).optional(),generate:f.optional(),hidden:o.union([o.literal(!0),o.array(o.string())]).optional(),shapes:o.record(o.string().min(1),ShapeSchema).optional(),animations:o.array(AnimationSchema).optional(),transition:TransitionSchema.optional(),advance_after:o.number().min(0).max(86400).optional(),background:BackgroundSchema.optional(),section:o.string().trim().min(1).max(255).optional()}),SlidesFileSchema=o.strictObject({slides:o.array(SlideSchema).default([])}).superRefine((t,n)=>{const i=new Set;t.slides.forEach((e,a)=>{i.has(e.id)&&n.addIssue({code:"custom",path:["slides",a,"id"],message:`Two slides are "${e.id}".`}),i.add(e.id),(e.layout===void 0?0:1)+(e.generate===void 0?0:1)!==1&&n.addIssue({code:"custom",path:["slides",a],message:`Slide ${e.id} has a layout or a generator: one of them.`}),e.hidden!==void 0&&e.generate===void 0&&e.hidden!==!0&&n.addIssue({code:"custom",path:["slides",a,"hidden"],message:`Slide ${e.id} is hidden (true); a list of ids is a generated block's.`});for(const[l,p]of Object.entries(e.shapes??{})){const d=SHAPE_KINDS.filter(u=>p[u]!==void 0&&!(u==="geometry"&&p.picture!==void 0));d.length>1&&n.addIssue({code:"custom",path:["slides",a,"shapes",l],message:`Shape ${l} is one kind of shape, not ${d.join(" and ")}.`});const h=l.includes("/")?l.split("/"):[l];(!(h.length<=2&&h.every(u=>A.test(u)))||h.length===2&&e.generate===void 0)&&n.addIssue({code:"custom",path:["slides",a,"shapes",l],message:"A shape's name is letters, digits, _ and -; <slide>/<shape> only in a generated block."})}})});
@@ -0,0 +1,82 @@
1
+ import { z } from "zod";
2
+ import { type ThemeColor } from "./slides.js";
3
+ /** The themes by name, the first the default. */
4
+ export declare const THEME_NAMES: readonly ["blue", "sage", "sand", "rose", "slate", "moss", "plum", "ember", "mist", "clay"];
5
+ export type ThemeName = (typeof THEME_NAMES)[number];
6
+ /** What a file may name: AllyHub's themes, and `office`, Excel's and PowerPoint's own. */
7
+ export declare const THEME_CHOICES: readonly ["blue", "sage", "sand", "rose", "slate", "moss", "plum", "ember", "mist", "clay", "office"];
8
+ export type ThemeChoice = (typeof THEME_CHOICES)[number];
9
+ export interface PresetTheme {
10
+ name: ThemeName;
11
+ colors: Readonly<Record<ThemeColor, string>>;
12
+ }
13
+ /** Office's colours (2013 to 2022), what Excel and PowerPoint start a file with. */
14
+ export declare const OFFICE_COLORS: Readonly<Record<ThemeColor, string>>;
15
+ export declare const THEMES: Readonly<Record<ThemeName, PresetTheme>>;
16
+ /** A theme's colours by its name: one of AllyHub's, or `office`; undefined for any other. */
17
+ export declare function themeColorsNamed(name: string): Readonly<Record<ThemeColor, string>> | undefined;
18
+ /**
19
+ * A theme as every file names one (a project's allyhub.yaml, a sheet, a
20
+ * deck, a doc): one of AllyHub's by name, or `office`; or `{ name, colors }`,
21
+ * colours of its own by PresentationML's names over the theme it names
22
+ * (Office's unless it names one).
23
+ */
24
+ export declare const ThemeSchema: z.ZodUnion<readonly [z.ZodEnum<{
25
+ blue: "blue";
26
+ sage: "sage";
27
+ sand: "sand";
28
+ rose: "rose";
29
+ slate: "slate";
30
+ moss: "moss";
31
+ plum: "plum";
32
+ ember: "ember";
33
+ mist: "mist";
34
+ clay: "clay";
35
+ office: "office";
36
+ }>, z.ZodObject<{
37
+ name: z.ZodOptional<z.ZodEnum<{
38
+ blue: "blue";
39
+ sage: "sage";
40
+ sand: "sand";
41
+ rose: "rose";
42
+ slate: "slate";
43
+ moss: "moss";
44
+ plum: "plum";
45
+ ember: "ember";
46
+ mist: "mist";
47
+ clay: "clay";
48
+ office: "office";
49
+ }>>;
50
+ colors: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
51
+ accent1: "accent1";
52
+ accent2: "accent2";
53
+ accent3: "accent3";
54
+ accent4: "accent4";
55
+ accent5: "accent5";
56
+ accent6: "accent6";
57
+ dk1: "dk1";
58
+ lt1: "lt1";
59
+ dk2: "dk2";
60
+ lt2: "lt2";
61
+ hlink: "hlink";
62
+ folHlink: "folHlink";
63
+ }> & z.core.$partial, z.ZodString>>;
64
+ }, z.core.$strict>]>;
65
+ export type ThemeSetting = z.output<typeof ThemeSchema>;
66
+ /** A theme's twelve colours: the theme it names over `base` (Office's), its own colours over that. */
67
+ export declare function colorsOfTheme(theme: ThemeSetting | undefined, base?: Readonly<Record<ThemeColor, string>>): Readonly<Record<ThemeColor, string>>;
68
+ /** The name a theme goes by in a file another program opens (an .xlsx's, a .pptx's): Sand, Custom for colours of its own, else Office. */
69
+ export declare function themeTitle(theme: ThemeSetting | undefined): string;
70
+ /** The name a page's `data-theme` takes of a theme: AllyHub's it names; none for Office's or colours alone, which a page's style sheet has no block for. */
71
+ export declare function projectThemeName(theme: ThemeSetting | undefined): ThemeName | undefined;
72
+ /**
73
+ * An HTML page with `theme` on its `<html>` (`data-theme`) where it names
74
+ * none, every other byte as it was; undefined where it names one already
75
+ * or has no `<html>`.
76
+ */
77
+ export declare function pageWithTheme(html: string, theme: string): string | undefined;
78
+ /** A colour a look may say: #RRGGBB, or a theme colour, lighter or darker by a share (`accent1 lighter 40%`, `dk1 darker 25%`). */
79
+ export declare const SHEET_LOOK_COLOR: RegExp;
80
+ /** A look's colour as #RRGGBB in a theme's colours: a theme colour lighter or darker as `tint` makes it (a share over 0 lighter); #RRGGBB as it is. */
81
+ export declare function lookColor(value: string, colors: Readonly<Record<ThemeColor, string>>, tint: (hex: string, share: number) => string): string;
82
+ //# sourceMappingURL=themes.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{z as a}from"zod";import{THEME_COLORS as u}from"./slides.js";export const THEME_NAMES=["blue","sage","sand","rose","slate","moss","plum","ember","mist","clay"],THEME_CHOICES=[...THEME_NAMES,"office"],OFFICE_COLORS={dk1:"#000000",lt1:"#FFFFFF",dk2:"#44546A",lt2:"#E7E6E6",accent1:"#4472C4",accent2:"#ED7D31",accent3:"#A5A5A5",accent4:"#FFC000",accent5:"#5B9BD5",accent6:"#70AD47",hlink:"#0563C1",folHlink:"#954F72"};function r(e,n,t,o){const[s,i,f,E,A,l]=o;return{name:e,colors:{dk1:"#151515",lt1:"#FFFFFF",dk2:t,lt2:n,accent1:s,accent2:i,accent3:f,accent4:E,accent5:A,accent6:l,hlink:OFFICE_COLORS.hlink,folHlink:OFFICE_COLORS.folHlink}}}const c="#A39E96";export const THEMES={blue:r("blue","#DEE5F7","#212B5C",["#4257B8","#D29A32","#C2603F","#2F8487","#7A5BA6",c]),sage:r("sage","#D7EDE2","#1F4532",["#3E8A63","#D29A32","#3E5BA9","#C2603F","#2F8487",c]),sand:r("sand","#EDE8DE","#463B28",["#8C7550","#3E5BA9","#C2603F","#2F8487","#7A5BA6",c]),rose:r("rose","#F0E4E1","#4D302B",["#9A5F55","#D29A32","#3E5BA9","#2F8487","#7A5BA6",c]),slate:r("slate","#DDE3E8","#283D40",["#4F7A80","#D29A32","#3E5BA9","#C2603F","#7A5BA6",c]),moss:r("moss","#DDE8D8","#253D1F",["#4A7A3E","#D29A32","#3E5BA9","#C2603F","#2F8487",c]),plum:r("plum","#E8DDEF","#3A284D",["#74509A","#D29A32","#3E5BA9","#C2603F","#2F8487",c]),ember:r("ember","#F0E4D8","#543118",["#A8622F","#3E5BA9","#2F8487","#7A5BA6","#3F8A63",c]),mist:r("mist","#E2E8E8","#274141",["#4E8282","#D29A32","#3E5BA9","#C2603F","#7A5BA6",c]),clay:r("clay","#EDE4DC","#473020",["#8E6040","#D29A32","#3E5BA9","#2F8487","#7A5BA6",c])};export function themeColorsNamed(e){const n=e.toLowerCase();return n==="office"?OFFICE_COLORS:THEMES[n]?.colors}export const ThemeSchema=a.union([a.enum(THEME_CHOICES),a.strictObject({name:a.enum(THEME_CHOICES).optional(),colors:a.partialRecord(a.enum(u),a.string().regex(/^#[0-9A-Fa-f]{6}$/u,"A colour is #RRGGBB.")).optional()})]);export function colorsOfTheme(e,n=OFFICE_COLORS){if(e===void 0)return n;const t=typeof e=="string"?e:e.name,o=t===void 0?n:themeColorsNamed(t)??n,s=typeof e=="string"?void 0:e.colors;if(!s)return o;const i={...o};for(const[f,E]of Object.entries(s))i[f]=E.toUpperCase();return i}export function themeTitle(e){const n=typeof e=="string"?e:e?.name;return typeof e=="object"&&e.colors&&Object.keys(e.colors).length>0?"Custom":n===void 0||n==="office"?"Office":n.charAt(0).toUpperCase()+n.slice(1)}export function projectThemeName(e){const n=typeof e=="string"?e:e?.name;return n===void 0||n==="office"?void 0:n}export function pageWithTheme(e,n){const t=/<html\b[^>]*>/iu.exec(e);if(!(!t||/\sdata-theme\s*=/iu.test(t[0])))return`${e.slice(0,t.index)}<html data-theme="${n}"${e.slice(t.index+5)}`}export const SHEET_LOOK_COLOR=/^(?:#[0-9A-Fa-f]{6}|(?:dk1|lt1|dk2|lt2|accent[1-6]|hlink|folHlink)(?: (?:lighter|darker) (?:100|[1-9]?\d(?:\.\d+)?)%)?)$/u;export function lookColor(e,n,t){if(e.startsWith("#"))return e;const o=/^(\w+)(?: (lighter|darker) ([\d.]+)%)?$/u.exec(e),s=o?n[o[1]]:void 0;if(!o||s===void 0)return e;if(o[2]===void 0)return s;const i=Number(o[3])/100;return t(s,o[2]==="lighter"?i:-i)}
@@ -0,0 +1,67 @@
1
+ /** What a colour does in a block. Each kind gives each role its value. */
2
+ export declare const COLOR_ROLES: readonly ["text", "body", "muted", "ground", "surface", "well", "rule", "rule-strong", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "deep"];
3
+ export type ColorRole = (typeof COLOR_ROLES)[number];
4
+ /** What a status means: a fixed colour in every kind. */
5
+ export declare const TONES: readonly ["good", "warning", "bad", "info", "neutral"];
6
+ export type Tone = (typeof TONES)[number];
7
+ /** A tone's colours: its mark (words and marks on a light ground, 4.5:1 or more on white), its tint (a pill's ground), its ink (words on the tint, 8:1 or more), and its mark on a dark ground. */
8
+ export interface ToneColors {
9
+ mark: string;
10
+ tint: string;
11
+ ink: string;
12
+ dark: string;
13
+ }
14
+ export declare const TONE_COLORS: Readonly<Record<Tone, ToneColors>>;
15
+ /** The colours a doc names (Notion's select options), every kind reading them. */
16
+ export declare const NAMED_COLORS: readonly ["gray", "brown", "red", "orange", "yellow", "green", "blue", "purple", "pink"];
17
+ export type NamedColor = (typeof NAMED_COLORS)[number];
18
+ /** The colour names that are a tone. */
19
+ export declare const TONE_OF_NAMED_COLOR: Readonly<Partial<Record<NamedColor, Tone>>>;
20
+ /** The colour names with no tone: hues, a mark and a tint each. */
21
+ export declare const HUE_COLORS: Readonly<Record<"yellow" | "brown" | "purple" | "pink", {
22
+ mark: string;
23
+ tint: string;
24
+ }>>;
25
+ /** A colour name's mark and tint: its tone's, or its hue's. */
26
+ export declare function namedColorColors(name: NamedColor): {
27
+ mark: string;
28
+ tint: string;
29
+ ink: string;
30
+ };
31
+ /** The type scale, in points where a block is drawn at its own size; `figure` is a range, as large as fits. */
32
+ export declare const TYPE_STEPS: {
33
+ readonly caption: 10;
34
+ readonly label: 12;
35
+ readonly body: 14;
36
+ readonly title: 18;
37
+ readonly heading: 26;
38
+ readonly figure: 36;
39
+ readonly figureMax: 48;
40
+ };
41
+ export type TypeStep = Exclude<keyof typeof TYPE_STEPS, "figureMax">;
42
+ /** Space, steps of 4 points. */
43
+ export declare const SPACE: readonly [2, 4, 8, 12, 16, 24, 32, 48];
44
+ /** Corners, points; `full` is half the shorter side. */
45
+ export declare const RADIUS: {
46
+ readonly none: 0;
47
+ readonly small: 4;
48
+ readonly medium: 8;
49
+ readonly large: 12;
50
+ };
51
+ /** Line widths, points. */
52
+ export declare const LINES: {
53
+ readonly hairline: 0.75;
54
+ readonly rule: 1.5;
55
+ readonly mark: 2.25;
56
+ };
57
+ /**
58
+ * A tone by any of its names: RAG's, GitHub
59
+ * alerts', a dashboard kit's. `callout` reads GitHub's alerts as GitHub
60
+ * does (`caution` is bad, `important` the first accent).
61
+ */
62
+ export declare function toneOf(word: string, where?: "callout" | "other"): Tone | "accent1" | undefined;
63
+ /** The tones' names and aliases, for a problem's words. */
64
+ export declare const TONE_WORDS: string[];
65
+ /** A role by its name or an alias: a page's variable (`--chart-2`), `secondary` for muted. */
66
+ export declare function roleOf(word: string): ColorRole | undefined;
67
+ //# sourceMappingURL=tokens.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 COLOR_ROLES=["text","body","muted","ground","surface","well","rule","rule-strong","accent1","accent2","accent3","accent4","accent5","accent6","deep"],TONES=["good","warning","bad","info","neutral"],TONE_COLORS={good:{mark:"#2E7D4F",tint:"#E3F2E6",ink:"#1E4D31",dark:"#6FCF97"},warning:{mark:"#A35400",tint:"#FFF0DC",ink:"#6B3700",dark:"#F2B45C"},bad:{mark:"#B3362C",tint:"#FDECEA",ink:"#7A231C",dark:"#F28B82"},info:{mark:"#3E54CE",tint:"#DEE5F7",ink:"#26338A",dark:"#9AA8F0"},neutral:{mark:"#6B635E",tint:"#EFECE8",ink:"#3D3834",dark:"#B5AEA8"}},NAMED_COLORS=["gray","brown","red","orange","yellow","green","blue","purple","pink"],TONE_OF_NAMED_COLOR={gray:"neutral",red:"bad",orange:"warning",green:"good",blue:"info"},HUE_COLORS={yellow:{mark:"#8A6A00",tint:"#FBF3DB"},brown:{mark:"#64473A",tint:"#E9E5E3"},purple:{mark:"#6940A5",tint:"#EAE4F2"},pink:{mark:"#AD1A72",tint:"#F4DFEB"}};export function namedColorColors(r){const e=TONE_OF_NAMED_COLOR[r];if(e!==void 0)return TONE_COLORS[e];const n=HUE_COLORS[r];return{mark:n.mark,tint:n.tint,ink:n.mark}}export const TYPE_STEPS={caption:10,label:12,body:14,title:18,heading:26,figure:36,figureMax:48},SPACE=[2,4,8,12,16,24,32,48],RADIUS={none:0,small:4,medium:8,large:12},LINES={hairline:.75,rule:1.5,mark:2.25};const t=r=>r.trim().replace(/([a-z0-9])([A-Z])/gu,"$1-$2").toLowerCase().replace(/[\s_]+/gu,"-"),o={good:"good",success:"good",positive:"good",ok:"good",pass:"good",passed:"good",met:"good","on-track":"good",green:"good",tip:"good",done:"good",warning:"warning",warn:"warning",caution:"warning","at-risk":"warning",risk:"warning",amber:"warning",yellow:"warning",orange:"warning",bad:"bad",danger:"bad",error:"bad",negative:"bad",critical:"bad",fail:"bad",failed:"bad",missed:"bad","off-track":"bad",blocked:"bad",late:"bad",red:"bad",info:"info",note:"info",notice:"info",blue:"info",neutral:"neutral",none:"neutral",flat:"neutral",default:"neutral",gray:"neutral",grey:"neutral",muted:"neutral"};export function toneOf(r,e="other"){const n=t(r);if(e==="callout"){if(n==="caution")return"bad";if(n==="important")return"accent1"}return o[n]}export const TONE_WORDS=Object.keys(o);export function roleOf(r){const e=t(r).replace(/^--/u,""),n=/^chart-([1-6])$/u.exec(e);if(n)return`accent${n[1]??"1"}`;const a={"text-primary":"text",primary:"text","text-body":"body","text-secondary":"muted",secondary:"muted","page-bg":"ground",background:"ground",border:"rule",divider:"rule-strong",accent:"accent1"};return COLOR_ROLES.includes(e)?e:a[e]}
@@ -22,6 +22,48 @@ export type WorkEntry = WorkItem | WorkGroup;
22
22
  export declare const WorkEntrySchema: z.ZodType<WorkEntry>;
23
23
  export declare const WorkFileSchema: z.ZodObject<{
24
24
  $schema: z.ZodOptional<z.ZodString>;
25
+ theme: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
26
+ blue: "blue";
27
+ sage: "sage";
28
+ sand: "sand";
29
+ rose: "rose";
30
+ slate: "slate";
31
+ moss: "moss";
32
+ plum: "plum";
33
+ ember: "ember";
34
+ mist: "mist";
35
+ clay: "clay";
36
+ office: "office";
37
+ }>, z.ZodObject<{
38
+ name: z.ZodOptional<z.ZodEnum<{
39
+ blue: "blue";
40
+ sage: "sage";
41
+ sand: "sand";
42
+ rose: "rose";
43
+ slate: "slate";
44
+ moss: "moss";
45
+ plum: "plum";
46
+ ember: "ember";
47
+ mist: "mist";
48
+ clay: "clay";
49
+ office: "office";
50
+ }>>;
51
+ colors: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
52
+ accent1: "accent1";
53
+ accent2: "accent2";
54
+ accent3: "accent3";
55
+ accent4: "accent4";
56
+ accent5: "accent5";
57
+ accent6: "accent6";
58
+ dk1: "dk1";
59
+ lt1: "lt1";
60
+ dk2: "dk2";
61
+ lt2: "lt2";
62
+ hlink: "hlink";
63
+ folHlink: "folHlink";
64
+ }> & z.core.$partial, z.ZodString>>;
65
+ }, z.core.$strict>]>>;
66
+ versions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodInt>>;
25
67
  work: z.ZodDefault<z.ZodArray<z.ZodType<WorkEntry, unknown, z.core.$ZodTypeInternals<WorkEntry, unknown>>>>;
26
68
  }, z.core.$strict>;
27
69
  export type WorkFile = z.infer<typeof WorkFileSchema>;
@@ -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 e}from"zod";import{dataFile as n}from"./file.js";export const WORK_FILE="allyhub.yaml",WorkItemSchema=e.strictObject({kind:e.string().min(1).optional().describe("What it is: a kind's id (video, slides, image, doc, sheet, scenery, model, website, or an extension's); none for a file an editor opens by its name (a canvas, *.canvas)"),file:e.string().min(1).describe("Its file, from the project's root: a video's, a deck's or an image's module, a doc's MDX, a sheet's YAML, a website's JSON, a canvas"),title:e.string().min(1).optional().describe("Its name where people see it; none: the title its file says, else its file's name")}),WorkEntrySchema=e.lazy(()=>e.union([WorkItemSchema,e.strictObject({group:e.string().min(1).describe("A heading, as people see it"),items:e.array(WorkEntrySchema)})])),WorkFileSchema=n({work:e.array(WorkEntrySchema).default([]).describe("The work a person sees, in order: pieces, and groups of them")});export function listedWork(r){const s=[],o=(a,i)=>{for(const t of a)"group"in t?o(t.items,[...i,t.group]):s.push({...t,groups:i})};return o(r.work,[]),s}export function parseWork(r){const s=WorkFileSchema.safeParse(r??{});return s.success?{ok:!0,value:s.data}:{ok:!1,problems:s.error.issues.map(o=>`${o.path.join(".")||"(root)"}: ${o.message}`)}}
2
+ import{z as e}from"zod";import{dataFile as n}from"./file.js";import{ThemeSchema as c}from"./themes.js";export const WORK_FILE="allyhub.yaml",WorkItemSchema=e.strictObject({kind:e.string().min(1).optional().describe("What it is: a kind's id (video, slides, image, doc, sheet, scenery, model, website, or an extension's); none for a file an editor opens by its name (a canvas, *.canvas)"),file:e.string().min(1).describe("Its file, from the project's root: a video's, a deck's or an image's module, a doc's MDX, a sheet's YAML, a website's JSON, a canvas"),title:e.string().min(1).optional().describe("Its name where people see it; none: the title its file says, else its file's name")}),WorkEntrySchema=e.lazy(()=>e.union([WorkItemSchema,e.strictObject({group:e.string().min(1).describe("A heading, as people see it"),items:e.array(WorkEntrySchema)})])),WorkFileSchema=n({theme:c.optional().describe("The project's theme, which every report, deck, sheet, doc and video takes unless it names its own: one of AllyHub's (blue, sage, sand, rose, slate, moss, plum, ember, mist, clay) or office, or { name, colors }"),versions:e.record(e.string().min(1),e.int().min(1)).optional().describe("The format each kind's files are in, by kind, as AllyHub's migrations wrote it (allyhub migrate): a project's record, kept with its files"),work:e.array(WorkEntrySchema).default([]).describe("The work a person sees, in order: pieces, and groups of them")});export function listedWork(r){const s=[],o=(a,i)=>{for(const t of a)"group"in t?o(t.items,[...i,t.group]):s.push({...t,groups:i})};return o(r.work,[]),s}export function parseWork(r){const s=WorkFileSchema.safeParse(r??{});return s.success?{ok:!0,value:s.data}:{ok:!1,problems:s.error.issues.map(o=>`${o.path.join(".")||"(root)"}: ${o.message}`)}}
@@ -4,6 +4,7 @@ export * from "./items.js";
4
4
  export * from "./files.js";
5
5
  export * from "./contributed.js";
6
6
  export * from "./schemas.js";
7
+ export { nearest, spelledAs, valueOf } from "./tolerant.js";
7
8
  export * from "./strict.js";
8
9
  export * from "./data/file.js";
9
10
  export * from "./data/words.js";
@@ -14,7 +15,9 @@ export * from "./data/messages.js";
14
15
  export * from "./data/script.js";
15
16
  export * from "./data/work.js";
16
17
  export * from "./data/sheet.js";
18
+ export * from "./data/cell-styles.js";
17
19
  export * from "./data/slides.js";
20
+ export * from "./data/themes.js";
18
21
  export * from "./data/deck-code.js";
19
22
  export * from "./data/config.js";
20
23
  export * from "./data/faces.js";
@@ -24,4 +27,8 @@ export * from "./media-type.js";
24
27
  export * from "./zip.js";
25
28
  export * from "./csv.js";
26
29
  export * from "./extension.js";
30
+ export * from "./data/tokens.js";
31
+ export * from "./data/blocks.js";
32
+ export * from "./data/page-data.js";
33
+ export * from "./data/diagrams.js";
27
34
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- export*from"./layout.js";export*from"./note-shape.js";export*from"./items.js";export*from"./files.js";export*from"./contributed.js";export*from"./schemas.js";export*from"./strict.js";export*from"./data/file.js";export*from"./data/words.js";export*from"./data/edits.js";export*from"./data/elements.js";export*from"./data/gen.js";export*from"./data/messages.js";export*from"./data/script.js";export*from"./data/work.js";export*from"./data/sheet.js";export*from"./data/slides.js";export*from"./data/deck-code.js";export*from"./data/config.js";export*from"./data/faces.js";export*from"./data/reference.js";export*from"./data/website.js";export*from"./media-type.js";export*from"./zip.js";export*from"./csv.js";export*from"./extension.js";
2
+ export*from"./layout.js";export*from"./note-shape.js";export*from"./items.js";export*from"./files.js";export*from"./contributed.js";export*from"./schemas.js";export{nearest,spelledAs,valueOf}from"./tolerant.js";export*from"./strict.js";export*from"./data/file.js";export*from"./data/words.js";export*from"./data/edits.js";export*from"./data/elements.js";export*from"./data/gen.js";export*from"./data/messages.js";export*from"./data/script.js";export*from"./data/work.js";export*from"./data/sheet.js";export*from"./data/cell-styles.js";export*from"./data/slides.js";export*from"./data/themes.js";export*from"./data/deck-code.js";export*from"./data/config.js";export*from"./data/faces.js";export*from"./data/reference.js";export*from"./data/website.js";export*from"./media-type.js";export*from"./zip.js";export*from"./csv.js";export*from"./extension.js";export*from"./data/tokens.js";export*from"./data/blocks.js";export*from"./data/page-data.js";export*from"./data/diagrams.js";
@@ -61,7 +61,7 @@ export interface KindSpec {
61
61
  /** A type of its own's name for people, by type, by language. */
62
62
  readonly names?: Readonly<Record<string, Readonly<Record<string, string>>>>;
63
63
  } | undefined;
64
- /** What `allyhub render` makes of its items: the file types it can, and those made when none is asked; none for a kind not rendered. */
64
+ /** What `allyhub export` makes of its items: the file types it can, and those made when none is asked; none for a kind not rendered. */
65
65
  readonly renders?: {
66
66
  readonly types: readonly string[];
67
67
  readonly defaults: readonly string[];
@@ -70,10 +70,10 @@ export interface KindSpec {
70
70
  readonly starter?: KindStarter | undefined;
71
71
  /** Its place among the kinds where they are listed for people (its contribution's `shown.order`, lower first); none: after those that have one. */
72
72
  readonly order?: number | undefined;
73
- /** Turn into does not offer it (its contribution's `turnInto: false`); absent: it does, where a person makes it new. */
74
- readonly turnInto?: false | undefined;
75
73
  /** Whether an item of it is shared alone: a read-only link to it, its view served from the project's snapshot. */
76
74
  readonly share?: boolean | undefined;
75
+ /** Its items' pages may load from https, as a web page's do (its contribution's `network`); absent: the project's files alone. */
76
+ readonly network?: true | undefined;
77
77
  /**
78
78
  * Its build module, where the build imports it from (its contribution's
79
79
  * `build`, resolved against its extension's folder): what reads its
@@ -81,6 +81,15 @@ export interface KindSpec {
81
81
  * without one is only listed, by its entry file.
82
82
  */
83
83
  readonly build?: string | undefined;
84
+ /**
85
+ * Its files' format now and its migrations module (its contribution's
86
+ * `migrations`, the module resolved against its extension's folder), which
87
+ * brings a project's older files to it.
88
+ */
89
+ readonly migrations?: {
90
+ readonly format: number;
91
+ readonly module: string;
92
+ } | undefined;
84
93
  /**
85
94
  * The keys of allyhub.config.ts its build module's part reads
86
95
  * (`KindBuild.config`, its contribution's `config`): a project with no