allyhub 0.18.0 → 0.20.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 (1050) hide show
  1. package/bin/allyhub.js +10 -0
  2. package/dist/args.js +1 -1
  3. package/dist/command.js +1 -1
  4. package/dist/commands/add.js +1 -1
  5. package/dist/commands/align.js +1 -1
  6. package/dist/commands/auth.js +1 -1
  7. package/dist/commands/check.js +1 -1
  8. package/dist/commands/cloud-tools.js +2 -2
  9. package/dist/commands/cloud.js +1 -1
  10. package/dist/commands/contributed.js +1 -1
  11. package/dist/commands/dev.js +5 -5
  12. package/dist/commands/export.js +3 -0
  13. package/dist/commands/found-extensions.js +2 -0
  14. package/dist/commands/frames/common.js +1 -1
  15. package/dist/commands/frames/doc.js +1 -1
  16. package/dist/commands/frames/piece.js +1 -1
  17. package/dist/commands/frames/sheet.js +1 -1
  18. package/dist/commands/frames.js +9 -9
  19. package/dist/commands/index.js +1 -1
  20. package/dist/commands/inspect/combos.js +1 -1
  21. package/dist/commands/inspect/common.js +3 -3
  22. package/dist/commands/inspect/facts.js +2 -2
  23. package/dist/commands/inspect/index.js +1 -1
  24. package/dist/commands/inspect/layout.js +1 -1
  25. package/dist/commands/inspect/views.js +1 -1
  26. package/dist/commands/list.js +2 -0
  27. package/dist/commands/mail.js +1 -1
  28. package/dist/commands/migrate.js +3 -0
  29. package/dist/commands/run-context.js +2 -0
  30. package/dist/commands/skills.js +3 -3
  31. package/dist/commands/upgrade.js +5 -0
  32. package/dist/commands.json +1 -0
  33. package/dist/fields.js +1 -1
  34. package/dist/help.js +3 -3
  35. package/dist/main.js +8 -7
  36. package/dist/node_modules/@allyhub/3d-extension/dist/build.js +1 -1
  37. package/dist/node_modules/@allyhub/3d-extension/dist/scenery-build.js +1 -1
  38. package/dist/node_modules/@allyhub/3d-extension/package.json +4 -3
  39. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  40. package/dist/node_modules/@allyhub/blocks/LICENSE +241 -0
  41. package/dist/node_modules/@allyhub/blocks/dist/alt.js +2 -0
  42. package/dist/node_modules/@allyhub/blocks/dist/elements.js +2 -0
  43. package/dist/node_modules/@allyhub/blocks/dist/flow-resolve.js +2 -0
  44. package/dist/node_modules/@allyhub/blocks/dist/flow-table.js +2 -0
  45. package/dist/node_modules/@allyhub/blocks/dist/format.js +2 -0
  46. package/dist/node_modules/@allyhub/blocks/dist/gantt.js +2 -0
  47. package/dist/node_modules/@allyhub/blocks/dist/grids.js +2 -0
  48. package/dist/node_modules/@allyhub/blocks/dist/html.js +75 -0
  49. package/dist/node_modules/@allyhub/blocks/dist/icons.generated.js +2 -0
  50. package/dist/node_modules/@allyhub/blocks/dist/icons.js +2 -0
  51. package/dist/node_modules/@allyhub/blocks/dist/index.js +2 -0
  52. package/dist/node_modules/@allyhub/blocks/dist/layout.js +2 -0
  53. package/dist/node_modules/@allyhub/blocks/dist/look.js +2 -0
  54. package/dist/node_modules/@allyhub/blocks/dist/measure.js +3 -0
  55. package/dist/node_modules/@allyhub/blocks/dist/model.js +2 -0
  56. package/dist/node_modules/@allyhub/blocks/dist/page.js +2 -0
  57. package/dist/node_modules/@allyhub/blocks/dist/palette.js +2 -0
  58. package/dist/node_modules/@allyhub/blocks/dist/path.js +2 -0
  59. package/dist/node_modules/@allyhub/blocks/dist/resolve.js +2 -0
  60. package/dist/node_modules/@allyhub/blocks/dist/samples.js +2 -0
  61. package/dist/node_modules/@allyhub/blocks/dist/sankey.js +2 -0
  62. package/dist/node_modules/@allyhub/blocks/dist/svg.js +2 -0
  63. package/dist/node_modules/@allyhub/blocks/dist/tidy.js +2 -0
  64. package/dist/node_modules/@allyhub/blocks/dist/trees.js +2 -0
  65. package/dist/node_modules/@allyhub/blocks/package.json +19 -0
  66. package/dist/node_modules/@allyhub/browser/dist/html.js +1 -1
  67. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  68. package/dist/node_modules/@allyhub/build/dist/build-plugins.js +1 -1
  69. package/dist/node_modules/@allyhub/build/dist/fonts.js +9 -3
  70. package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
  71. package/dist/node_modules/@allyhub/build/dist/inspect-view.js +1 -1
  72. package/dist/node_modules/@allyhub/build/dist/meta-worker.js +1 -1
  73. package/dist/node_modules/@allyhub/build/dist/migrate.js +2 -0
  74. package/dist/node_modules/@allyhub/build/dist/plugin.js +9 -9
  75. package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
  76. package/dist/node_modules/@allyhub/build/dist/project-root.js +1 -1
  77. package/dist/node_modules/@allyhub/build/dist/scan.js +1 -1
  78. package/dist/node_modules/@allyhub/build/dist/sdk-parts.js +2 -0
  79. package/dist/node_modules/@allyhub/build/dist/vite.js +2 -2
  80. package/dist/node_modules/@allyhub/build/dist/work.js +3 -3
  81. package/dist/node_modules/@allyhub/build/package.json +13 -1
  82. package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
  83. package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
  84. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -1
  85. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +4 -3
  86. package/dist/node_modules/@allyhub/chart/dist/chart.js +4 -2
  87. package/dist/node_modules/@allyhub/chart/dist/chartex-xml.js +4 -0
  88. package/dist/node_modules/@allyhub/chart/dist/classic.js +2 -0
  89. package/dist/node_modules/@allyhub/chart/dist/embedded.js +2 -2
  90. package/dist/node_modules/@allyhub/chart/dist/extended.js +2 -0
  91. package/dist/node_modules/@allyhub/chart/dist/index.js +1 -1
  92. package/dist/node_modules/@allyhub/chart/dist/svg.js +1 -1
  93. package/dist/node_modules/@allyhub/chart/dist/tree.js +2 -0
  94. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  95. package/dist/node_modules/@allyhub/check/dist/check.js +2 -2
  96. package/dist/node_modules/@allyhub/check/package.json +1 -1
  97. package/dist/node_modules/@allyhub/cloud/dist/blobs.js +1 -1
  98. package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
  99. package/dist/node_modules/@allyhub/cloud/dist/catalog.js +1 -1
  100. package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
  101. package/dist/node_modules/@allyhub/cloud/dist/config.js +1 -1
  102. package/dist/node_modules/@allyhub/cloud/dist/credentials.js +1 -1
  103. package/dist/node_modules/@allyhub/cloud/dist/device.js +1 -1
  104. package/dist/node_modules/@allyhub/cloud/dist/errors.js +1 -1
  105. package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
  106. package/dist/node_modules/@allyhub/cloud/dist/loopback.js +2 -2
  107. package/dist/node_modules/@allyhub/cloud/dist/mail.js +1 -1
  108. package/dist/node_modules/@allyhub/cloud/dist/records.js +1 -1
  109. package/dist/node_modules/@allyhub/cloud/dist/signin.js +2 -2
  110. package/dist/node_modules/@allyhub/cloud/dist/sites.js +1 -1
  111. package/dist/node_modules/@allyhub/cloud/dist/storage.js +2 -0
  112. package/dist/node_modules/@allyhub/cloud/dist/token.js +1 -1
  113. package/dist/node_modules/@allyhub/cloud/dist/tools.js +2 -0
  114. package/dist/node_modules/@allyhub/cloud/dist/uploads.js +2 -2
  115. package/dist/node_modules/@allyhub/cloud/dist/voice.js +1 -1
  116. package/dist/node_modules/@allyhub/cloud/package.json +5 -1
  117. package/dist/node_modules/@allyhub/components/package.json +1 -1
  118. package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
  119. package/dist/node_modules/@allyhub/dev-server/dist/item-process.js +2 -0
  120. package/dist/node_modules/@allyhub/dev-server/dist/item-worker.js +2 -0
  121. package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
  122. package/dist/node_modules/@allyhub/dev-server/dist/pages.js +20 -1
  123. package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
  124. package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
  125. package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
  126. package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
  127. package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
  128. package/dist/node_modules/@allyhub/dev-server/dist/writer.js +3 -3
  129. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  130. package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +1 -1
  131. package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
  132. package/dist/node_modules/@allyhub/doc/dist/blocks.js +2 -0
  133. package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
  134. package/dist/node_modules/@allyhub/doc/dist/color.js +1 -1
  135. package/dist/node_modules/@allyhub/doc/dist/docx-read.js +12 -0
  136. package/dist/node_modules/@allyhub/doc/dist/docx.js +5 -4
  137. package/dist/node_modules/@allyhub/doc/dist/html.js +83 -48
  138. package/dist/node_modules/@allyhub/doc/dist/index.js +1 -1
  139. package/dist/node_modules/@allyhub/doc/dist/markdown.js +1 -1
  140. package/dist/node_modules/@allyhub/doc/dist/merges.js +2 -0
  141. package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
  142. package/dist/node_modules/@allyhub/doc/dist/numbering.js +2 -0
  143. package/dist/node_modules/@allyhub/doc/dist/omml.js +3 -0
  144. package/dist/node_modules/@allyhub/doc/dist/page.js +2 -1
  145. package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
  146. package/dist/node_modules/@allyhub/doc/dist/parse.js +5 -4
  147. package/dist/node_modules/@allyhub/doc/dist/redline.js +2 -0
  148. package/dist/node_modules/@allyhub/doc/dist/revisions.js +2 -0
  149. package/dist/node_modules/@allyhub/doc/dist/shapes.js +4 -0
  150. package/dist/node_modules/@allyhub/doc/dist/styles.js +2 -0
  151. package/dist/node_modules/@allyhub/doc/dist/table.js +1 -1
  152. package/dist/node_modules/@allyhub/doc/dist/write.js +65 -39
  153. package/dist/node_modules/@allyhub/doc/package.json +5 -1
  154. package/dist/node_modules/@allyhub/doc-extension/dist/build.js +2 -2
  155. package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +1 -1
  156. package/dist/node_modules/@allyhub/doc-extension/dist/cli/import.js +3 -0
  157. package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +1 -1
  158. package/dist/node_modules/@allyhub/doc-extension/dist/cli/styles.js +4 -0
  159. package/dist/node_modules/@allyhub/doc-extension/dist/export.js +1 -1
  160. package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +1 -1
  161. package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +1 -1
  162. package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +1 -1
  163. package/dist/node_modules/@allyhub/doc-extension/dist/workspace.js +1 -1
  164. package/dist/node_modules/@allyhub/doc-extension/package.json +22 -2
  165. package/dist/node_modules/@allyhub/doc-print/dist/drawn.js +4 -4
  166. package/dist/node_modules/@allyhub/doc-print/dist/index.js +1 -1
  167. package/dist/node_modules/@allyhub/doc-print/dist/layout.js +8 -7
  168. package/dist/node_modules/@allyhub/doc-print/dist/print.js +22 -16
  169. package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
  170. package/dist/node_modules/@allyhub/export/dist/export.js +1 -1
  171. package/dist/node_modules/@allyhub/export/package.json +1 -1
  172. package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
  173. package/dist/node_modules/@allyhub/extension-host/dist/points.js +1 -1
  174. package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
  175. package/dist/node_modules/@allyhub/formats/dist/data/blocks-flow.js +2 -0
  176. package/dist/node_modules/@allyhub/formats/dist/data/blocks.d.ts +146 -0
  177. package/dist/node_modules/@allyhub/formats/dist/data/blocks.js +2 -0
  178. package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.d.ts +9 -0
  179. package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.js +2 -0
  180. package/dist/node_modules/@allyhub/formats/dist/data/deck-code.d.ts +47 -40
  181. package/dist/node_modules/@allyhub/formats/dist/data/deck-code.js +1 -1
  182. package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.d.ts +6 -0
  183. package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.js +2 -0
  184. package/dist/node_modules/@allyhub/formats/dist/data/diagrams.d.ts +29 -0
  185. package/dist/node_modules/@allyhub/formats/dist/data/diagrams.js +2 -0
  186. package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +18 -0
  187. package/dist/node_modules/@allyhub/formats/dist/data/faces.js +1 -1
  188. package/dist/node_modules/@allyhub/formats/dist/data/page-data.d.ts +59 -0
  189. package/dist/node_modules/@allyhub/formats/dist/data/page-data.js +2 -0
  190. package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +1 -1
  191. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +698 -258
  192. package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
  193. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +14104 -2167
  194. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
  195. package/dist/node_modules/@allyhub/formats/dist/data/themes.d.ts +82 -0
  196. package/dist/node_modules/@allyhub/formats/dist/data/themes.js +2 -0
  197. package/dist/node_modules/@allyhub/formats/dist/data/tokens.d.ts +67 -0
  198. package/dist/node_modules/@allyhub/formats/dist/data/tokens.js +2 -0
  199. package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
  200. package/dist/node_modules/@allyhub/formats/dist/data/work.js +1 -1
  201. package/dist/node_modules/@allyhub/formats/dist/index.d.ts +7 -0
  202. package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
  203. package/dist/node_modules/@allyhub/formats/dist/items.d.ts +36 -10
  204. package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
  205. package/dist/node_modules/@allyhub/formats/dist/note-shape.d.ts +1 -1
  206. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +3260 -290
  207. package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
  208. package/dist/node_modules/@allyhub/formats/dist/tolerant.d.ts +45 -0
  209. package/dist/node_modules/@allyhub/formats/dist/tolerant.js +2 -0
  210. package/dist/node_modules/@allyhub/formats/package.json +25 -1
  211. package/dist/node_modules/@allyhub/html-extension/dist/project-tools.js +21 -9
  212. package/dist/node_modules/@allyhub/html-extension/dist/tools.js +1 -1
  213. package/dist/node_modules/@allyhub/html-extension/markup/allyhub.yaml +2 -0
  214. package/dist/node_modules/@allyhub/html-extension/markup/markup.json +14 -4
  215. package/dist/node_modules/@allyhub/html-extension/markup/pages/budget.html +22 -1
  216. package/dist/node_modules/@allyhub/html-extension/package.json +9 -1
  217. package/dist/node_modules/@allyhub/i18n/package.json +1 -1
  218. package/dist/node_modules/@allyhub/image-draw/dist/fonts.js +1 -1
  219. package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +2 -2
  220. package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
  221. package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +1 -1
  222. package/dist/node_modules/@allyhub/image-extension/dist/cli.js +1 -1
  223. package/dist/node_modules/@allyhub/image-extension/package.json +2 -2
  224. package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +1 -1
  225. package/dist/node_modules/@allyhub/image-measure/dist/layout.js +2 -2
  226. package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
  227. package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
  228. package/dist/node_modules/@allyhub/image-render/package.json +1 -1
  229. package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
  230. package/dist/node_modules/@allyhub/image-sdk/dist/block.js +2 -0
  231. package/dist/node_modules/@allyhub/image-sdk/dist/blocks.js +2 -0
  232. package/dist/node_modules/@allyhub/image-sdk/dist/index.js +1 -1
  233. package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
  234. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  235. package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -3
  236. package/dist/node_modules/@allyhub/linkedin-extension/skills/allyhub/references/linkedin.md +3 -3
  237. package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
  238. package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
  239. package/dist/node_modules/@allyhub/linkedin-view/src/style.css +1 -600
  240. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  241. package/dist/node_modules/@allyhub/media/package.json +5 -1
  242. package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +1 -1
  243. package/dist/node_modules/@allyhub/media-extension/dist/asr/hear.js +1 -1
  244. package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +1 -1
  245. package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +1 -1
  246. package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +1 -1
  247. package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -2
  248. package/dist/node_modules/@allyhub/media-extension/dist/vision/track.js +1 -1
  249. package/dist/node_modules/@allyhub/media-extension/package.json +1 -1
  250. package/dist/node_modules/@allyhub/model/package.json +1 -1
  251. package/dist/node_modules/@allyhub/office-extension/markup/csv/allyhub.yaml +2 -0
  252. package/dist/node_modules/@allyhub/office-extension/markup/csv/markup.json +1 -1
  253. package/dist/node_modules/@allyhub/office-extension/markup/document/allyhub.yaml +2 -0
  254. package/dist/node_modules/@allyhub/office-extension/markup/presentation/allyhub.yaml +2 -0
  255. package/dist/node_modules/@allyhub/office-extension/markup/workbook/allyhub.yaml +2 -0
  256. package/dist/node_modules/@allyhub/office-extension/markup/workbook/markup.json +1 -1
  257. package/dist/node_modules/@allyhub/office-extension/package.json +1 -1
  258. package/dist/node_modules/@allyhub/ooxml/dist/ext.js +1 -1
  259. package/dist/node_modules/@allyhub/ooxml/dist/mce.js +1 -1
  260. package/dist/node_modules/@allyhub/ooxml/dist/node.js +1 -1
  261. package/dist/node_modules/@allyhub/ooxml/dist/ns.js +1 -1
  262. package/dist/node_modules/@allyhub/ooxml/dist/opc.js +1 -1
  263. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  264. package/dist/node_modules/@allyhub/piece/dist/export.d.ts +1 -1
  265. package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +1 -2
  266. package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +2 -0
  267. package/dist/node_modules/@allyhub/piece/dist/look.d.ts +10 -2
  268. package/dist/node_modules/@allyhub/piece/dist/look.js +1 -1
  269. package/dist/node_modules/@allyhub/piece/dist/media.d.ts +9 -3
  270. package/dist/node_modules/@allyhub/piece/dist/script.js +1 -1
  271. package/dist/node_modules/@allyhub/piece/dist/source.d.ts +5 -2
  272. package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +2 -2
  273. package/dist/node_modules/@allyhub/piece/package.json +1 -1
  274. package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
  275. package/dist/node_modules/@allyhub/project/package.json +1 -1
  276. package/dist/node_modules/@allyhub/protocol/dist/auth.js +1 -1
  277. package/dist/node_modules/@allyhub/protocol/dist/blobs.js +1 -1
  278. package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
  279. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
  280. package/dist/node_modules/@allyhub/protocol/dist/errors.js +1 -1
  281. package/dist/node_modules/@allyhub/protocol/dist/events.js +1 -1
  282. package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
  283. package/dist/node_modules/@allyhub/protocol/dist/jsonrpc.js +1 -1
  284. package/dist/node_modules/@allyhub/protocol/dist/kinds.js +1 -1
  285. package/dist/node_modules/@allyhub/protocol/dist/mail.js +1 -1
  286. package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
  287. package/dist/node_modules/@allyhub/protocol/dist/page-frame.js +2 -0
  288. package/dist/node_modules/@allyhub/protocol/dist/paywall.js +1 -1
  289. package/dist/node_modules/@allyhub/protocol/dist/purposes.js +1 -1
  290. package/dist/node_modules/@allyhub/protocol/dist/registry.js +1 -1
  291. package/dist/node_modules/@allyhub/protocol/dist/sites.js +1 -1
  292. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
  293. package/dist/node_modules/@allyhub/protocol/dist/teams.js +1 -1
  294. package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
  295. package/dist/node_modules/@allyhub/protocol/package.json +41 -1
  296. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  297. package/dist/node_modules/@allyhub/render/dist/errors.js +1 -1
  298. package/dist/node_modules/@allyhub/render/dist/post-probe.js +1 -1
  299. package/dist/node_modules/@allyhub/render/package.json +9 -1
  300. package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
  301. package/dist/node_modules/@allyhub/runtime/package.json +1 -1
  302. package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
  303. package/dist/node_modules/@allyhub/runtimes/dist/declared.js +1 -1
  304. package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
  305. package/dist/node_modules/@allyhub/runtimes/dist/manifest.js +1 -1
  306. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +2 -2
  307. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +3 -3
  308. package/dist/node_modules/@allyhub/runtimes/package.json +9 -1
  309. package/dist/node_modules/@allyhub/scaffold/dist/index.js +12 -8
  310. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  311. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  312. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +3 -3
  313. package/dist/node_modules/@allyhub/scenery-host/dist/fact.d.ts +1 -1
  314. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +2 -2
  315. package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
  316. package/dist/node_modules/@allyhub/sheet/dist/annotations.js +1 -1
  317. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
  318. package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +1 -1
  319. package/dist/node_modules/@allyhub/sheet/dist/api/index.js +1 -1
  320. package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +1 -1
  321. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
  322. package/dist/node_modules/@allyhub/sheet/dist/arrange.js +1 -1
  323. package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
  324. package/dist/node_modules/@allyhub/sheet/dist/calc/server.js +1 -1
  325. package/dist/node_modules/@allyhub/sheet/dist/cell-styles.js +2 -0
  326. package/dist/node_modules/@allyhub/sheet/dist/chart.js +1 -1
  327. package/dist/node_modules/@allyhub/sheet/dist/check.js +1 -1
  328. package/dist/node_modules/@allyhub/sheet/dist/file.js +2 -2
  329. package/dist/node_modules/@allyhub/sheet/dist/filter.js +1 -1
  330. package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
  331. package/dist/node_modules/@allyhub/sheet/dist/heatmap.js +2 -0
  332. package/dist/node_modules/@allyhub/sheet/dist/html.js +9 -9
  333. package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
  334. package/dist/node_modules/@allyhub/sheet/dist/inspect.js +1 -1
  335. package/dist/node_modules/@allyhub/sheet/dist/paginate.js +1 -1
  336. package/dist/node_modules/@allyhub/sheet/dist/printed.js +1 -1
  337. package/dist/node_modules/@allyhub/sheet/dist/sdk.js +1 -1
  338. package/dist/node_modules/@allyhub/sheet/dist/sparklines.js +2 -0
  339. package/dist/node_modules/@allyhub/sheet/dist/table-style.js +1 -1
  340. package/dist/node_modules/@allyhub/sheet/dist/table-styles.js +1 -1
  341. package/dist/node_modules/@allyhub/sheet/dist/theme.js +2 -0
  342. package/dist/node_modules/@allyhub/sheet/dist/tiles.js +2 -0
  343. package/dist/node_modules/@allyhub/sheet/dist/units.js +2 -0
  344. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
  345. package/dist/node_modules/@allyhub/sheet/dist/write.js +14 -14
  346. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
  347. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
  348. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +2 -2
  349. package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
  350. package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.js +1 -1
  351. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
  352. package/dist/node_modules/@allyhub/sheet/package.json +1 -1
  353. package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +1 -1
  354. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/open.js +1 -1
  355. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +7 -7
  356. package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +1 -1
  357. package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +2 -2
  358. package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +2 -2
  359. package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +2 -2
  360. package/dist/node_modules/@allyhub/sheet-extension/dist/migrations.js +4 -0
  361. package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +1 -1
  362. package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +1 -1
  363. package/dist/node_modules/@allyhub/sheet-extension/package.json +7 -3
  364. package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
  365. package/dist/node_modules/@allyhub/slides-core/dist/blocks.js +2 -0
  366. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
  367. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
  368. package/dist/node_modules/@allyhub/slides-core/dist/code.js +1 -1
  369. package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
  370. package/dist/node_modules/@allyhub/slides-core/dist/file.js +3 -3
  371. package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
  372. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
  373. package/dist/node_modules/@allyhub/slides-core/dist/model.js +1 -1
  374. package/dist/node_modules/@allyhub/slides-core/dist/office-layouts.js +2 -0
  375. package/dist/node_modules/@allyhub/slides-core/dist/office.js +1 -1
  376. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
  377. package/dist/node_modules/@allyhub/slides-core/dist/script.js +2 -2
  378. package/dist/node_modules/@allyhub/slides-core/dist/styles/brief.js +2 -0
  379. package/dist/node_modules/@allyhub/slides-core/dist/styles/editorial.js +2 -0
  380. package/dist/node_modules/@allyhub/slides-core/dist/styles/index.js +2 -0
  381. package/dist/node_modules/@allyhub/slides-core/dist/styles/kit.js +2 -0
  382. package/dist/node_modules/@allyhub/slides-core/dist/styles/layouts.js +2 -0
  383. package/dist/node_modules/@allyhub/slides-core/dist/styles/pitch.js +2 -0
  384. package/dist/node_modules/@allyhub/slides-core/dist/styles/stage.js +2 -0
  385. package/dist/node_modules/@allyhub/slides-core/dist/styles/tiles.js +2 -0
  386. package/dist/node_modules/@allyhub/slides-core/dist/theme.js +1 -1
  387. package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
  388. package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
  389. package/dist/node_modules/@allyhub/slides-extension/dist/check.js +1 -1
  390. package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +2 -2
  391. package/dist/node_modules/@allyhub/slides-extension/dist/deck-fonts.js +1 -1
  392. package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +1 -1
  393. package/dist/node_modules/@allyhub/slides-extension/package.json +24 -1
  394. package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
  395. package/dist/node_modules/@allyhub/slides-pptx/dist/fonts.js +1 -1
  396. package/dist/node_modules/@allyhub/slides-pptx/dist/image-size.js +2 -0
  397. package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
  398. package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +7 -2
  399. package/dist/node_modules/@allyhub/slides-pptx/dist/import/names.js +1 -1
  400. package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
  401. package/dist/node_modules/@allyhub/slides-pptx/dist/index.js +1 -1
  402. package/dist/node_modules/@allyhub/slides-pptx/dist/mtx.js +2 -0
  403. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +3 -2
  404. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chartex.js +3 -0
  405. package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
  406. package/dist/node_modules/@allyhub/slides-pptx/dist/read/index.js +2 -2
  407. package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
  408. package/dist/node_modules/@allyhub/slides-pptx/dist/read/table.js +1 -1
  409. package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +1 -1
  410. package/dist/node_modules/@allyhub/slides-pptx/dist/read/timing.js +1 -1
  411. package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
  412. package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +1 -1
  413. package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
  414. package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +3 -2
  415. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  416. package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
  417. package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +1 -1
  418. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  419. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  420. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/LICENSE +93 -0
  421. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-italic.woff2 +0 -0
  422. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-normal.woff2 +0 -0
  423. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-italic.woff2 +0 -0
  424. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-normal.woff2 +0 -0
  425. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-italic.woff2 +0 -0
  426. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-normal.woff2 +0 -0
  427. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-italic.woff2 +0 -0
  428. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-normal.woff2 +0 -0
  429. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400-italic.css +1 -0
  430. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400.css +1 -0
  431. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700-italic.css +1 -0
  432. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700.css +1 -0
  433. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400-italic.css +1 -0
  434. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400.css +1 -0
  435. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700-italic.css +1 -0
  436. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700.css +1 -0
  437. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/LICENSE +93 -0
  438. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-400-normal.woff2 +0 -0
  439. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-ext-400-normal.woff2 +0 -0
  440. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-400.css +1 -0
  441. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-ext-400.css +1 -0
  442. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/400-italic.css +1 -79
  443. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/400.css +1 -79
  444. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/700-italic.css +1 -79
  445. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/700.css +1 -79
  446. package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/arial.css +1 -316
  447. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400-italic.css +1 -19
  448. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400.css +1 -19
  449. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700-italic.css +1 -19
  450. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700.css +1 -19
  451. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/cambria.css +1 -76
  452. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/400-italic.css +1 -69
  453. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/400.css +1 -69
  454. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/700-italic.css +1 -69
  455. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/700.css +1 -69
  456. package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/calibri.css +1 -276
  457. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400-italic.css +1 -79
  458. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400.css +1 -79
  459. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700-italic.css +1 -79
  460. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700.css +1 -79
  461. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/courier-new.css +1 -316
  462. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/LICENSE +93 -0
  463. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-italic.woff2 +0 -0
  464. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-normal.woff2 +0 -0
  465. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-italic.woff2 +0 -0
  466. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-normal.woff2 +0 -0
  467. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-italic.woff2 +0 -0
  468. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-normal.woff2 +0 -0
  469. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-italic.woff2 +0 -0
  470. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-normal.woff2 +0 -0
  471. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400-italic.css +1 -0
  472. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400.css +1 -0
  473. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700-italic.css +1 -0
  474. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700.css +1 -0
  475. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400-italic.css +1 -0
  476. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400.css +1 -0
  477. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700-italic.css +1 -0
  478. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700.css +1 -0
  479. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/LICENSE +93 -0
  480. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-italic.woff2 +0 -0
  481. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-normal.woff2 +0 -0
  482. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-italic.woff2 +0 -0
  483. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-normal.woff2 +0 -0
  484. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-italic.woff2 +0 -0
  485. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-normal.woff2 +0 -0
  486. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-italic.woff2 +0 -0
  487. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-normal.woff2 +0 -0
  488. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400-italic.css +1 -0
  489. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400.css +1 -0
  490. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700-italic.css +1 -0
  491. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700.css +1 -0
  492. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400-italic.css +1 -0
  493. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400.css +1 -0
  494. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700-italic.css +1 -0
  495. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700.css +1 -0
  496. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/LICENSE +93 -0
  497. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-italic.woff2 +0 -0
  498. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-normal.woff2 +0 -0
  499. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-italic.woff2 +0 -0
  500. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-normal.woff2 +0 -0
  501. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-italic.woff2 +0 -0
  502. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-normal.woff2 +0 -0
  503. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-italic.woff2 +0 -0
  504. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-normal.woff2 +0 -0
  505. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400-italic.css +1 -0
  506. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400.css +1 -0
  507. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700-italic.css +1 -0
  508. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700.css +1 -0
  509. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400-italic.css +1 -0
  510. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400.css +1 -0
  511. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700-italic.css +1 -0
  512. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700.css +1 -0
  513. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-color-emoji/emoji.css +1 -8
  514. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/400.css +1 -1009
  515. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/700.css +1 -1009
  516. package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/microsoft-yahei.css +1 -2018
  517. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/LICENSE +93 -0
  518. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-italic.woff2 +0 -0
  519. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-normal.woff2 +0 -0
  520. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-italic.woff2 +0 -0
  521. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-normal.woff2 +0 -0
  522. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-italic.woff2 +0 -0
  523. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-normal.woff2 +0 -0
  524. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-italic.woff2 +0 -0
  525. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-normal.woff2 +0 -0
  526. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400-italic.css +1 -0
  527. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400.css +1 -0
  528. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700-italic.css +1 -0
  529. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700.css +1 -0
  530. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400-italic.css +1 -0
  531. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400.css +1 -0
  532. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700-italic.css +1 -0
  533. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700.css +1 -0
  534. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400-italic.css +1 -79
  535. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400.css +1 -79
  536. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700-italic.css +1 -79
  537. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700.css +1 -79
  538. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/times-new-roman.css +1 -316
  539. package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
  540. package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.html +42 -0
  541. package/dist/node_modules/@allyhub/stage-page/dist/style-faces.js +2 -0
  542. package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
  543. package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +96 -92
  544. package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
  545. package/dist/node_modules/@allyhub/telemetry/dist/doc.js +1 -1
  546. package/dist/node_modules/@allyhub/telemetry/dist/errors.js +1 -1
  547. package/dist/node_modules/@allyhub/telemetry/dist/limit.js +2 -0
  548. package/dist/node_modules/@allyhub/telemetry/dist/telemetry.js +2 -2
  549. package/dist/node_modules/@allyhub/telemetry/package.json +5 -1
  550. package/dist/node_modules/@allyhub/text-extension/markup/allyhub.yaml +2 -0
  551. package/dist/node_modules/@allyhub/text-extension/markup-file/allyhub.yaml +2 -0
  552. package/dist/node_modules/@allyhub/text-extension/package.json +1 -1
  553. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
  554. package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -1
  555. package/dist/node_modules/@allyhub/video-core/dist/seams.js +1 -1
  556. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  557. package/dist/node_modules/@allyhub/video-extension/dist/build-plugins.js +1 -1
  558. package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +1 -1
  559. package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +1 -1
  560. package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +1 -1
  561. package/dist/node_modules/@allyhub/video-extension/dist/inspect/loop.js +3 -0
  562. package/dist/node_modules/@allyhub/video-extension/package.json +7 -26
  563. package/dist/node_modules/@allyhub/video-measure/dist/check.js +2 -2
  564. package/dist/node_modules/@allyhub/video-measure/dist/index.js +1 -1
  565. package/dist/node_modules/@allyhub/video-measure/dist/plans.js +2 -2
  566. package/dist/node_modules/@allyhub/video-measure/dist/reference/video.js +1 -1
  567. package/dist/node_modules/@allyhub/video-measure/dist/seams.js +1 -1
  568. package/dist/node_modules/@allyhub/video-measure/dist/version.js +1 -1
  569. package/dist/node_modules/@allyhub/video-measure/package.json +5 -1
  570. package/dist/node_modules/@allyhub/video-sdk/dist/config.js +2 -0
  571. package/dist/node_modules/@allyhub/video-sdk/dist/free.js +1 -1
  572. package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +1 -1
  573. package/dist/node_modules/@allyhub/video-sdk/package.json +5 -1
  574. package/dist/node_modules/@allyhub/website/dist/index.js +1 -1
  575. package/dist/node_modules/@allyhub/website/dist/website.js +2 -2
  576. package/dist/node_modules/@allyhub/website/package.json +1 -1
  577. package/dist/node_modules/@allyhub/website-extension/dist/build.js +1 -1
  578. package/dist/node_modules/@allyhub/website-extension/package.json +6 -6
  579. package/dist/node_modules/@allyhub/x-extension/dist/build.js +1 -1
  580. package/dist/node_modules/@allyhub/x-extension/package.json +8 -4
  581. package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +3 -3
  582. package/dist/node_modules/@allyhub/x-model/package.json +1 -1
  583. package/dist/node_modules/@allyhub/x-view/package.json +1 -1
  584. package/dist/node_modules/@allyhub/x-view/src/style.css +1 -709
  585. package/dist/package.json +14 -14
  586. package/dist/project.js +1 -1
  587. package/dist/resources.js +1 -1
  588. package/dist/sdk-docs.js +1 -1
  589. package/dist/self-upgrade.js +2 -0
  590. package/dist/slot.js +4 -0
  591. package/dist/telemetry.js +1 -1
  592. package/dist/text/batch-text.js +1 -1
  593. package/dist/text/facts-text.js +5 -5
  594. package/dist/text/format.js +2 -2
  595. package/dist/update-notice.js +3 -0
  596. package/dist/version.js +1 -1
  597. package/dist/works.js +1 -1
  598. package/editor-web/assets/{abnfDiagram-WEYOIA3C-Hy4-O0wN.js → abnfDiagram-WEYOIA3C-BkVJMd53.js} +1 -1
  599. package/editor-web/assets/{architecture-WOLXFQ4H-43JEVxqz.js → architecture-WOLXFQ4H-C6rnaynZ.js} +1 -1
  600. package/editor-web/assets/{architectureDiagram-ZHVYKT53-7bFTl41n.js → architectureDiagram-ZHVYKT53-D3vrh8LK.js} +1 -1
  601. package/editor-web/assets/arrow-down-D-QZrqcz.js +1 -0
  602. package/editor-web/assets/arrow-up-B1zjKUHX.js +1 -0
  603. package/editor-web/assets/article-DHf6mOY_.js +7 -0
  604. package/editor-web/assets/article-Dns1-Xh-.js +3 -0
  605. package/editor-web/assets/{audio-lines-PZj77e7t.js → audio-lines-BFoW_IeO.js} +1 -1
  606. package/editor-web/assets/bar-button-CKPfx2AB.js +1 -0
  607. package/editor-web/assets/{blockDiagram-RJAE7QA3-DcoNo1WH.js → blockDiagram-RJAE7QA3-BKngt8H7.js} +1 -1
  608. package/editor-web/assets/{browser-C9NP0ZYz.js → browser-DEGNhKTV.js} +1 -1
  609. package/editor-web/assets/{c4Diagram-XDPPPE54-CsMt61gx.js → c4Diagram-XDPPPE54-j7sUELqF.js} +1 -1
  610. package/editor-web/assets/calc-worker-Cr4a0xmt.js +168 -0
  611. package/editor-web/assets/channel-CVWSV3su.js +1 -0
  612. package/editor-web/assets/{chart-no-axes-column-Be0lFcGF.js → chart-no-axes-column-Dyy25XZ_.js} +1 -1
  613. package/editor-web/assets/chip-Bn_9JRRG.js +1 -0
  614. package/editor-web/assets/{chunk-2E7WHVMD-fj-TJIRG.js → chunk-2E7WHVMD-BXa-uRSi.js} +1 -1
  615. package/editor-web/assets/{chunk-4EMNKR2T-Du5cRy-Y.js → chunk-4EMNKR2T-B3ntcsZN.js} +1 -1
  616. package/editor-web/assets/{chunk-55XCU76K-BHXxBBtm.js → chunk-55XCU76K-AMvnFwUg.js} +1 -1
  617. package/editor-web/assets/{chunk-7S6XSTFO-R5HW6X5I.js → chunk-7S6XSTFO-BA6esfFu.js} +1 -1
  618. package/editor-web/assets/{chunk-AQDTSKZB-C98F2BUb.js → chunk-AQDTSKZB-BT_vANXs.js} +1 -1
  619. package/editor-web/assets/{chunk-DSNLSHJZ-NIGsJ2cK.js → chunk-DSNLSHJZ-DoUgmzGB.js} +1 -1
  620. package/editor-web/assets/{chunk-HAGFOTED-BtHxtfW5.js → chunk-HAGFOTED-DtnIrCZb.js} +1 -1
  621. package/editor-web/assets/{chunk-HNE4Q36P-BI8i7Vkk.js → chunk-HNE4Q36P-BlPwQx3_.js} +1 -1
  622. package/editor-web/assets/{chunk-NQOKRVIF-DP_Z_zEA.js → chunk-NQOKRVIF-D2r7jp2r.js} +1 -1
  623. package/editor-web/assets/{chunk-UHW7PFBP-C_8bui28.js → chunk-UHW7PFBP-Cmc0_F5o.js} +1 -1
  624. package/editor-web/assets/{chunk-VQ5W62QI-CKZgzWB2.js → chunk-VQ5W62QI-nJSMqAr0.js} +1 -1
  625. package/editor-web/assets/{chunk-WQQL4CDK-Ff4DgCht.js → chunk-WQQL4CDK-Btq2nbF6.js} +1 -1
  626. package/editor-web/assets/{chunk-YZO67HFG-Csbx1-pi.js → chunk-YZO67HFG-DTbcCoGt.js} +1 -1
  627. package/editor-web/assets/{chunk-ZAUX2LTX-BO1kcV3w.js → chunk-ZAUX2LTX-DVwkg-2N.js} +1 -1
  628. package/editor-web/assets/{chunk-ZCHMQSOR-CxeNZYZG.js → chunk-ZCHMQSOR-BV39jOOE.js} +1 -1
  629. package/editor-web/assets/{classDiagram-v2-4MYWR3UA-D8eHQa5i.js → classDiagram-v2-4MYWR3UA-Cj74-fhM.js} +1 -1
  630. package/editor-web/assets/code-Ch6AB5bZ.js +1 -0
  631. package/editor-web/assets/collaborator-XiHOxwGM.js +1 -0
  632. package/editor-web/assets/{copy-CuJSs0nI.js → copy-SoaMYqsN.js} +1 -1
  633. package/editor-web/assets/{createLucideIcon-lm_6n8YT.js → createLucideIcon-euu7Wcd9.js} +1 -1
  634. package/editor-web/assets/{cynefin-EF2NZ3EQ-lIUY3WQQ.js → cynefin-EF2NZ3EQ-C0CkiipV.js} +1 -1
  635. package/editor-web/assets/{cynefinDiagram-WF24UDRP-CFOOhEEs.js → cynefinDiagram-WF24UDRP-hdsnJ4cI.js} +1 -1
  636. package/editor-web/assets/{dagre-NK4GIZVX-DdHVup2I.js → dagre-NK4GIZVX-CC7WSgaK.js} +1 -1
  637. package/editor-web/assets/deck-DQpNIS2p.js +1 -0
  638. package/editor-web/assets/{diagram-CBK3MWTC-CFAD9Y2B.js → diagram-CBK3MWTC-DmaVm13J.js} +1 -1
  639. package/editor-web/assets/{diagram-I5XIIV2D-DZJAn95A.js → diagram-I5XIIV2D-De8jqp7b.js} +1 -1
  640. package/editor-web/assets/{diagram-ODIL2UCW-BcIeYTaY.js → diagram-ODIL2UCW-B5pBTulX.js} +1 -1
  641. package/editor-web/assets/{diagram-PFBEJUXE-CnZmh_fl.js → diagram-PFBEJUXE-BYsXg5_w.js} +1 -1
  642. package/editor-web/assets/{diagram-RJA3I4VV-DpDd9rGx.js → diagram-RJA3I4VV-DZ8f6bYe.js} +1 -1
  643. package/editor-web/assets/{diagram-TYUNFSNR-ouGiUQcR.js → diagram-TYUNFSNR-qXHUsauD.js} +1 -1
  644. package/editor-web/assets/dist--z0ZHp4T.js +16 -0
  645. package/editor-web/assets/dist-9kuRjUTN.js +41 -0
  646. package/editor-web/assets/dist-B3rd02Cg.js +6 -0
  647. package/editor-web/assets/dist-B5GOGGEe.js +1 -0
  648. package/editor-web/assets/dist-Bx6q9kCu.js +1 -0
  649. package/editor-web/assets/dist-C4hHtrJr.js +1 -0
  650. package/editor-web/assets/dist-CCXJewsi.js +19 -0
  651. package/editor-web/assets/dist-CfK2BLl8.js +4 -0
  652. package/editor-web/assets/dist-Cmux3oJ_.js +1 -0
  653. package/editor-web/assets/dist-Cspf85KV.js +6 -0
  654. package/editor-web/assets/dist-DA72-4WB.js +82 -0
  655. package/editor-web/assets/{dist-DruvDNQe.js → dist-DAhe-kFC.js} +5 -5
  656. package/editor-web/assets/dist-DIJnhQFK.js +9 -0
  657. package/editor-web/assets/dist-DOrGo1GD.js +19 -0
  658. package/editor-web/assets/{dist-Bd8IxQPP.js → dist-DQ6RpEJD.js} +2 -2
  659. package/editor-web/assets/dist-DjiCHlSu.js +35 -0
  660. package/editor-web/assets/dist-Do4a40Wn.js +19 -0
  661. package/editor-web/assets/dist-FKEWS3Co.js +547 -0
  662. package/editor-web/assets/dist-QKd2i6kG.js +5 -0
  663. package/editor-web/assets/dist-SGnOfLhx.js +24 -0
  664. package/editor-web/assets/dist-VmVB7tl4.js +3 -0
  665. package/editor-web/assets/{docx-draw-C4aiB8HI.js → docx-draw-L54blreB.js} +1 -1
  666. package/editor-web/assets/{ebnfDiagram-V4P3TTPT-HRjVlbUf.js → ebnfDiagram-V4P3TTPT-B7-IfVI-.js} +1 -1
  667. package/editor-web/assets/{elk-QONTBCTQ-BFmtKyOf.js → elk-QONTBCTQ-Gj_WaeBn.js} +1 -1
  668. package/editor-web/assets/{erDiagram-KYQIGQAA-C9gcGEgK.js → erDiagram-KYQIGQAA-BDF6Qoqx.js} +1 -1
  669. package/editor-web/assets/esm-PQD5Pn8a.js +21 -0
  670. package/editor-web/assets/{eventmodeling-K75KTNOO-Bpma5Bdb.js → eventmodeling-K75KTNOO-elxVXXEe.js} +1 -1
  671. package/editor-web/assets/{file-question-mark-DlIjUK37.js → file-question-mark-PeZgyqkK.js} +1 -1
  672. package/editor-web/assets/flowDiagram-IUGLLWBU-B-25n8zE.js +1 -0
  673. package/editor-web/assets/{ganttDiagram-R7GPNTJY-CE5ut4C3.js → ganttDiagram-R7GPNTJY-CEogW3jW.js} +1 -1
  674. package/editor-web/assets/{gitGraph-VSP46ZUC-Dva3iGx2.js → gitGraph-VSP46ZUC-Bh9cRWFa.js} +1 -1
  675. package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-CJXFsAWp.js → gitGraphDiagram-PDYL7XHY-BQAvdM_V.js} +1 -1
  676. package/editor-web/assets/{group-BdrTp7gi.js → group-DwM2yqU8.js} +1 -1
  677. package/editor-web/assets/hint-CbwoSBMw.js +1 -0
  678. package/editor-web/assets/index-CXisi0Cj.css +2 -0
  679. package/editor-web/assets/index-wMlfx8aT.js +28 -0
  680. package/editor-web/assets/{info-OHQRW6UA-BY0AOfex.js → info-OHQRW6UA-CdPrqere.js} +1 -1
  681. package/editor-web/assets/{infoDiagram-MVDRKAX5-4Up1gMvC.js → infoDiagram-MVDRKAX5-uwIMeP44.js} +1 -1
  682. package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-BkvB9Qbn.js → ishikawaDiagram-HPEHV2GE-rtfvqK7E.js} +1 -1
  683. package/editor-web/assets/iso-UwGLGD3F.js +1 -0
  684. package/editor-web/assets/{italic-zw4_eUNF.js → italic-BV7iHxoP.js} +1 -1
  685. package/editor-web/assets/{journeyDiagram-BOSHW7O7-BxV09WdR.js → journeyDiagram-BOSHW7O7-mmhfIyVG.js} +1 -1
  686. package/editor-web/assets/{kanban-definition-FNSA4HC5-zTJtIDPG.js → kanban-definition-FNSA4HC5-Fe7jBsi-.js} +1 -1
  687. package/editor-web/assets/{link-DopSU3aa.js → link-CFOv3nz-.js} +1 -1
  688. package/editor-web/assets/{mermaid-parser.core-BWT9UQh_.js → mermaid-parser.core-BxOSjBH9.js} +3 -3
  689. package/editor-web/assets/{mermaid.core-DFf_Vg5X.js → mermaid.core-BOln9YdH.js} +4 -4
  690. package/editor-web/assets/{mindmap-definition-6OY57UG3-BYexiugS.js → mindmap-definition-6OY57UG3-M3Q1LOtO.js} +1 -1
  691. package/editor-web/assets/minus-ngE8owxs.js +1 -0
  692. package/editor-web/assets/{packet-JDAUHWVQ-DX_kSrI6.js → packet-JDAUHWVQ-Dbb0TUG6.js} +1 -1
  693. package/editor-web/assets/{pegDiagram-ECIUJNBX-I3SrcMLp.js → pegDiagram-ECIUJNBX-BZMRpSFC.js} +1 -1
  694. package/editor-web/assets/{pie-XZMESJXO-BmAFSw3E.js → pie-XZMESJXO-Ctm9XdKp.js} +1 -1
  695. package/editor-web/assets/{pieDiagram-GNMPY74T-DIZKcme5.js → pieDiagram-GNMPY74T-cGbs5ZTl.js} +1 -1
  696. package/editor-web/assets/progress-DZQTiRLv.js +6 -0
  697. package/editor-web/assets/{quadrantDiagram-D57K4MC3-CO3oSqpQ.js → quadrantDiagram-D57K4MC3-BUe_zsxT.js} +1 -1
  698. package/editor-web/assets/{radar-ABXABTNO-D5CkFrrb.js → radar-ABXABTNO-CCmKtqLs.js} +1 -1
  699. package/editor-web/assets/{railroad-I3PHUGI6-BeKY1p0K.js → railroad-I3PHUGI6-k-yhjhjA.js} +1 -1
  700. package/editor-web/assets/{railroad-abnf-LNEFI6M7-CIYV9_3-.js → railroad-abnf-LNEFI6M7-B-PvntB3.js} +1 -1
  701. package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-DN0zDl6d.js → railroad-ebnf-DWYD2UWJ-Ds2rua1h.js} +1 -1
  702. package/editor-web/assets/{railroad-peg-JR7BVNR7-Bd_GcO24.js → railroad-peg-JR7BVNR7-jNZ2wEp2.js} +1 -1
  703. package/editor-web/assets/{railroadDiagram-Y72NRBL7-DlFoiMhb.js → railroadDiagram-Y72NRBL7-CTqSQ15w.js} +1 -1
  704. package/editor-web/assets/react-Byupo4pA.js +1 -0
  705. package/editor-web/assets/replace-CLLMtF4e.js +1 -0
  706. package/editor-web/assets/{requirementDiagram-EQYSW5RA-LWAEz8Gy.js → requirementDiagram-EQYSW5RA-CUblhR5M.js} +1 -1
  707. package/editor-web/assets/ribbon-DajdQ_Ya.js +1 -0
  708. package/editor-web/assets/row-Bei9HNEe.js +1 -0
  709. package/editor-web/assets/{sankeyDiagram-SY24JHO5-B_pZGwUK.js → sankeyDiagram-SY24JHO5-nSz6zDX3.js} +1 -1
  710. package/editor-web/assets/schemas-C21MyseF.js +1 -0
  711. package/editor-web/assets/{iso-ahTwmFwH.js → schemas-DlRAoVtq.js} +1 -1
  712. package/editor-web/assets/{scissors-B_xOiUhd.js → scissors-m6QcoEf2.js} +1 -1
  713. package/editor-web/assets/search-D75Bi2GU.js +1 -0
  714. package/editor-web/assets/{sequenceDiagram-BLEHNHQU-bNhyCq0C.js → sequenceDiagram-BLEHNHQU-DxTpOYuo.js} +1 -1
  715. package/editor-web/assets/{session-Beijw9EK.js → session-BhClkDyr.js} +1 -1
  716. package/editor-web/assets/{sigma-DSUsJhMn.js → sigma-B4AWtnVA.js} +1 -1
  717. package/editor-web/assets/snapshots-DwGHDN3t.js +1 -0
  718. package/editor-web/assets/sound-DkR3qxSt.js +1 -0
  719. package/editor-web/assets/split-DBAbwPZ5.js +3 -0
  720. package/editor-web/assets/{square-arrow-out-up-right-DF5dvsSp.js → square-arrow-out-up-right-1NqFsNDe.js} +1 -1
  721. package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-DI-oM3qz.js → stateDiagram-v2-A6IESKWZ-C3e14iHY.js} +1 -1
  722. package/editor-web/assets/{sticky-note-BdkIu5_D.js → sticky-note-s4QfzaBB.js} +1 -1
  723. package/editor-web/assets/surface-CIF0Ae0z.js +1 -0
  724. package/editor-web/assets/swatch-BUzr_XmH.js +1 -0
  725. package/editor-web/assets/{swimlanes-B3ENRKFQ-awDmoLdW.js → swimlanes-B3ENRKFQ-DPPdzNzu.js} +1 -1
  726. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-B8n3zOw_.js +8 -0
  727. package/editor-web/assets/switch-DrZxoPQS.js +1 -0
  728. package/editor-web/assets/{syntax-CU_WPKxt.js → syntax-emXV4DnN.js} +1 -1
  729. package/editor-web/assets/table-BW43XXVd.js +1 -0
  730. package/editor-web/assets/tabs-BwU2E7bU.js +1 -0
  731. package/editor-web/assets/text-wrap-Baus6l-V.js +1 -0
  732. package/editor-web/assets/textarea-BX_ax3X8.js +1 -0
  733. package/editor-web/assets/{timeline-definition-JXYKGLGB-CayduPvL.js → timeline-definition-JXYKGLGB-DRTJ1_Er.js} +1 -1
  734. package/editor-web/assets/tolerant-DM9s0Mt1.js +1 -0
  735. package/editor-web/assets/{treeView-D4JQ5SDB-BVEuNzCO.js → treeView-D4JQ5SDB-BYJ_m-i5.js} +1 -1
  736. package/editor-web/assets/{treemap-SAJKECNS-BOB14HP3.js → treemap-SAJKECNS-BcU6I6Rg.js} +1 -1
  737. package/editor-web/assets/type-CvZ0HZsV.js +41 -0
  738. package/editor-web/assets/{undo-2-C47jrRp5.js → undo-2-DCbMWoug.js} +1 -1
  739. package/editor-web/assets/{usecaseDiagram-WPOLBNNX-DxT99uaq.js → usecaseDiagram-WPOLBNNX-YV92pS4o.js} +1 -1
  740. package/editor-web/assets/{vennDiagram-Q3Y3IDCW-CWUKom-r.js → vennDiagram-Q3Y3IDCW-oAvfHZtf.js} +1 -1
  741. package/editor-web/assets/video-SJvDRCJK.js +1 -0
  742. package/editor-web/assets/{wardley-7MLQ67FV-BAQyTneD.js → wardley-7MLQ67FV-BLNiqxtt.js} +1 -1
  743. package/editor-web/assets/{wardleyDiagram-IVAIDKWA-CiIYz4lZ.js → wardleyDiagram-IVAIDKWA-SppgC6xW.js} +1 -1
  744. package/editor-web/assets/{whole-word-D3ZAtnkw.js → whole-word-C9TkGBCY.js} +1 -1
  745. package/editor-web/assets/{words-0Ww2RyT4.js → words-BUlNNuH2.js} +3 -3
  746. package/editor-web/assets/words-zMedmPWc.js +3 -0
  747. package/editor-web/assets/workbook-BZKYx4WB.js +41 -0
  748. package/editor-web/assets/{xychartDiagram-4URNHDU4-D_D5IGmd.js → xychartDiagram-4URNHDU4-BHMn_jwJ.js} +1 -1
  749. package/editor-web/assets/{zoom-in-PgsC94hP.js → zoom-in-yAGKspfC.js} +1 -1
  750. package/editor-web/index.html +9 -8
  751. package/package.json +3 -3
  752. package/CHANGELOG.md +0 -243
  753. package/dist/commands/render.js +0 -3
  754. package/dist/node_modules/@allyhub/browser/dist/browser.d.ts +0 -24
  755. package/dist/node_modules/@allyhub/browser/dist/capture.d.ts +0 -61
  756. package/dist/node_modules/@allyhub/browser/dist/cdp.d.ts +0 -51
  757. package/dist/node_modules/@allyhub/browser/dist/emoji.d.ts +0 -29
  758. package/dist/node_modules/@allyhub/browser/dist/flags.d.ts +0 -13
  759. package/dist/node_modules/@allyhub/browser/dist/frames.d.ts +0 -35
  760. package/dist/node_modules/@allyhub/browser/dist/html.d.ts +0 -19
  761. package/dist/node_modules/@allyhub/browser/dist/index.d.ts +0 -10
  762. package/dist/node_modules/@allyhub/browser/dist/launch.d.ts +0 -35
  763. package/dist/node_modules/@allyhub/browser/dist/page.d.ts +0 -74
  764. package/dist/node_modules/@allyhub/browser/dist/picture.d.ts +0 -18
  765. package/dist/node_modules/@allyhub/browser/dist/server.d.ts +0 -26
  766. package/dist/node_modules/@allyhub/build/dist/build-plugins.d.ts +0 -91
  767. package/dist/node_modules/@allyhub/build/dist/cli-command.d.ts +0 -84
  768. package/dist/node_modules/@allyhub/build/dist/code.d.ts +0 -26
  769. package/dist/node_modules/@allyhub/build/dist/content.d.ts +0 -64
  770. package/dist/node_modules/@allyhub/build/dist/data.d.ts +0 -11
  771. package/dist/node_modules/@allyhub/build/dist/evaluate.d.ts +0 -44
  772. package/dist/node_modules/@allyhub/build/dist/file-check.d.ts +0 -35
  773. package/dist/node_modules/@allyhub/build/dist/files.d.ts +0 -4
  774. package/dist/node_modules/@allyhub/build/dist/fonts.d.ts +0 -26
  775. package/dist/node_modules/@allyhub/build/dist/generated.d.ts +0 -29
  776. package/dist/node_modules/@allyhub/build/dist/imports.d.ts +0 -17
  777. package/dist/node_modules/@allyhub/build/dist/index.d.ts +0 -37
  778. package/dist/node_modules/@allyhub/build/dist/inspect-view.d.ts +0 -119
  779. package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +0 -530
  780. package/dist/node_modules/@allyhub/build/dist/made-notes.d.ts +0 -9
  781. package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +0 -19
  782. package/dist/node_modules/@allyhub/build/dist/media.d.ts +0 -10
  783. package/dist/node_modules/@allyhub/build/dist/messages.d.ts +0 -60
  784. package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +0 -59
  785. package/dist/node_modules/@allyhub/build/dist/meta.d.ts +0 -24
  786. package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +0 -6
  787. package/dist/node_modules/@allyhub/build/dist/move-refs.d.ts +0 -16
  788. package/dist/node_modules/@allyhub/build/dist/places.d.ts +0 -23
  789. package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +0 -50
  790. package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +0 -138
  791. package/dist/node_modules/@allyhub/build/dist/project-root.d.ts +0 -19
  792. package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +0 -136
  793. package/dist/node_modules/@allyhub/build/dist/references.d.ts +0 -6
  794. package/dist/node_modules/@allyhub/build/dist/scan.d.ts +0 -45
  795. package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +0 -80
  796. package/dist/node_modules/@allyhub/build/dist/takes.d.ts +0 -9
  797. package/dist/node_modules/@allyhub/build/dist/types.d.ts +0 -11
  798. package/dist/node_modules/@allyhub/build/dist/uses.d.ts +0 -44
  799. package/dist/node_modules/@allyhub/build/dist/version.d.ts +0 -56
  800. package/dist/node_modules/@allyhub/build/dist/vite.d.ts +0 -115
  801. package/dist/node_modules/@allyhub/build/dist/work.d.ts +0 -38
  802. package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +0 -48
  803. package/dist/node_modules/@allyhub/cloud/dist/call.d.ts +0 -91
  804. package/dist/node_modules/@allyhub/cloud/dist/catalog.d.ts +0 -12
  805. package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +0 -64
  806. package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +0 -40
  807. package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +0 -76
  808. package/dist/node_modules/@allyhub/cloud/dist/device.d.ts +0 -14
  809. package/dist/node_modules/@allyhub/cloud/dist/errors.d.ts +0 -24
  810. package/dist/node_modules/@allyhub/cloud/dist/hashes.d.ts +0 -43
  811. package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +0 -19
  812. package/dist/node_modules/@allyhub/cloud/dist/keychain.d.ts +0 -18
  813. package/dist/node_modules/@allyhub/cloud/dist/loopback.d.ts +0 -22
  814. package/dist/node_modules/@allyhub/cloud/dist/mail.d.ts +0 -16
  815. package/dist/node_modules/@allyhub/cloud/dist/pkce.d.ts +0 -11
  816. package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +0 -42
  817. package/dist/node_modules/@allyhub/cloud/dist/signin-worker.d.ts +0 -2
  818. package/dist/node_modules/@allyhub/cloud/dist/signin.d.ts +0 -48
  819. package/dist/node_modules/@allyhub/cloud/dist/sites.d.ts +0 -20
  820. package/dist/node_modules/@allyhub/cloud/dist/token.d.ts +0 -20
  821. package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +0 -58
  822. package/dist/node_modules/@allyhub/cloud/dist/voice.d.ts +0 -22
  823. package/dist/node_modules/@allyhub/jobs/dist/index.d.ts +0 -3
  824. package/dist/node_modules/@allyhub/jobs/dist/jobs.d.ts +0 -139
  825. package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +0 -41
  826. package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +0 -195
  827. package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +0 -8
  828. package/dist/node_modules/@allyhub/measure/dist/image.d.ts +0 -16
  829. package/dist/node_modules/@allyhub/measure/dist/index.d.ts +0 -4
  830. package/dist/node_modules/@allyhub/media/dist/analysis.d.ts +0 -25
  831. package/dist/node_modules/@allyhub/media/dist/audio.d.ts +0 -16
  832. package/dist/node_modules/@allyhub/media/dist/beats.d.ts +0 -100
  833. package/dist/node_modules/@allyhub/media/dist/cache.d.ts +0 -26
  834. package/dist/node_modules/@allyhub/media/dist/errors.d.ts +0 -34
  835. package/dist/node_modules/@allyhub/media/dist/fetch.d.ts +0 -11
  836. package/dist/node_modules/@allyhub/media/dist/grid.d.ts +0 -101
  837. package/dist/node_modules/@allyhub/media/dist/index.d.ts +0 -21
  838. package/dist/node_modules/@allyhub/media/dist/picture.d.ts +0 -130
  839. package/dist/node_modules/@allyhub/media/dist/probe.d.ts +0 -52
  840. package/dist/node_modules/@allyhub/media/dist/progress.d.ts +0 -16
  841. package/dist/node_modules/@allyhub/media/dist/run.d.ts +0 -25
  842. package/dist/node_modules/@allyhub/media/dist/sheet.d.ts +0 -67
  843. package/dist/node_modules/@allyhub/media/dist/shots.d.ts +0 -110
  844. package/dist/node_modules/@allyhub/media/dist/sync.d.ts +0 -156
  845. package/dist/node_modules/@allyhub/media/dist/tools.d.ts +0 -25
  846. package/dist/node_modules/@allyhub/media/dist/video.d.ts +0 -35
  847. package/dist/node_modules/@allyhub/media/dist/vision/cache.d.ts +0 -42
  848. package/dist/node_modules/@allyhub/media/dist/vision/probe.d.ts +0 -39
  849. package/dist/node_modules/@allyhub/media/dist/vision/types.d.ts +0 -2
  850. package/dist/node_modules/@allyhub/media/dist/voice-shape.d.ts +0 -51
  851. package/dist/node_modules/@allyhub/model/dist/authoring.d.ts +0 -48
  852. package/dist/node_modules/@allyhub/model/dist/bevel-attributes.d.ts +0 -19
  853. package/dist/node_modules/@allyhub/model/dist/bevel-collapse.d.ts +0 -12
  854. package/dist/node_modules/@allyhub/model/dist/bevel-corner-plan.d.ts +0 -24
  855. package/dist/node_modules/@allyhub/model/dist/bevel-deform.d.ts +0 -5
  856. package/dist/node_modules/@allyhub/model/dist/bevel-fans.d.ts +0 -12
  857. package/dist/node_modules/@allyhub/model/dist/bevel-junction.d.ts +0 -16
  858. package/dist/node_modules/@allyhub/model/dist/bevel-marks.d.ts +0 -14
  859. package/dist/node_modules/@allyhub/model/dist/bevel-metric.d.ts +0 -4
  860. package/dist/node_modules/@allyhub/model/dist/bevel-mixed.d.ts +0 -12
  861. package/dist/node_modules/@allyhub/model/dist/bevel-offsets.d.ts +0 -22
  862. package/dist/node_modules/@allyhub/model/dist/bevel-patch.d.ts +0 -45
  863. package/dist/node_modules/@allyhub/model/dist/bevel-profile.d.ts +0 -13
  864. package/dist/node_modules/@allyhub/model/dist/bevel-projection.d.ts +0 -10
  865. package/dist/node_modules/@allyhub/model/dist/bevel-reflex.d.ts +0 -10
  866. package/dist/node_modules/@allyhub/model/dist/bevel-square-out.d.ts +0 -18
  867. package/dist/node_modules/@allyhub/model/dist/bevel-strips.d.ts +0 -8
  868. package/dist/node_modules/@allyhub/model/dist/bmesh-cycles.d.ts +0 -52
  869. package/dist/node_modules/@allyhub/model/dist/build-cache.d.ts +0 -42
  870. package/dist/node_modules/@allyhub/model/dist/build-job.d.ts +0 -34
  871. package/dist/node_modules/@allyhub/model/dist/build-worker.d.ts +0 -2
  872. package/dist/node_modules/@allyhub/model/dist/build.d.ts +0 -67
  873. package/dist/node_modules/@allyhub/model/dist/cancel.d.ts +0 -8
  874. package/dist/node_modules/@allyhub/model/dist/curve-math.d.ts +0 -21
  875. package/dist/node_modules/@allyhub/model/dist/curve-mesh.d.ts +0 -30
  876. package/dist/node_modules/@allyhub/model/dist/evaluation-guard.d.ts +0 -11
  877. package/dist/node_modules/@allyhub/model/dist/export.d.ts +0 -12
  878. package/dist/node_modules/@allyhub/model/dist/mesh-queries.d.ts +0 -34
  879. package/dist/node_modules/@allyhub/model/dist/names.d.ts +0 -9
  880. package/dist/node_modules/@allyhub/model/dist/png.d.ts +0 -12
  881. package/dist/node_modules/@allyhub/model/dist/polygon-triangulation.d.ts +0 -4
  882. package/dist/node_modules/@allyhub/model/dist/program-location.d.ts +0 -7
  883. package/dist/node_modules/@allyhub/model/dist/report.d.ts +0 -70
  884. package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +0 -21
  885. package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +0 -4
  886. package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +0 -17
  887. package/dist/node_modules/@allyhub/piece/dist/page/runtimes.d.ts +0 -9
  888. package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +0 -661
  889. package/dist/node_modules/@allyhub/protocol/dist/account.js +0 -2
  890. package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +0 -30
  891. package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +0 -200
  892. package/dist/node_modules/@allyhub/protocol/dist/blobs.d.ts +0 -44
  893. package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +0 -68
  894. package/dist/node_modules/@allyhub/protocol/dist/cloud-computer.d.ts +0 -77
  895. package/dist/node_modules/@allyhub/protocol/dist/cloud-computer.js +0 -2
  896. package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +0 -577
  897. package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +0 -674
  898. package/dist/node_modules/@allyhub/protocol/dist/errors.d.ts +0 -7
  899. package/dist/node_modules/@allyhub/protocol/dist/events.d.ts +0 -803
  900. package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +0 -103
  901. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +0 -247
  902. package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +0 -8
  903. package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +0 -38
  904. package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +0 -91
  905. package/dist/node_modules/@allyhub/protocol/dist/jsonrpc.d.ts +0 -83
  906. package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +0 -144
  907. package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +0 -274
  908. package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +0 -211
  909. package/dist/node_modules/@allyhub/protocol/dist/open.d.ts +0 -13
  910. package/dist/node_modules/@allyhub/protocol/dist/paywall.d.ts +0 -134
  911. package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +0 -59
  912. package/dist/node_modules/@allyhub/protocol/dist/peer.js +0 -2
  913. package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +0 -21
  914. package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +0 -125
  915. package/dist/node_modules/@allyhub/protocol/dist/purposes.d.ts +0 -47
  916. package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +0 -191
  917. package/dist/node_modules/@allyhub/protocol/dist/routes.d.ts +0 -14
  918. package/dist/node_modules/@allyhub/protocol/dist/routes.js +0 -2
  919. package/dist/node_modules/@allyhub/protocol/dist/runtimes.d.ts +0 -96
  920. package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +0 -35
  921. package/dist/node_modules/@allyhub/protocol/dist/shape.js +0 -2
  922. package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +0 -156
  923. package/dist/node_modules/@allyhub/protocol/dist/shares.js +0 -2
  924. package/dist/node_modules/@allyhub/protocol/dist/sidebar-deletion.d.ts +0 -34
  925. package/dist/node_modules/@allyhub/protocol/dist/sidebar-deletion.js +0 -2
  926. package/dist/node_modules/@allyhub/protocol/dist/sites.d.ts +0 -298
  927. package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +0 -503
  928. package/dist/node_modules/@allyhub/protocol/dist/sources.d.ts +0 -14
  929. package/dist/node_modules/@allyhub/protocol/dist/studio-server.d.ts +0 -264
  930. package/dist/node_modules/@allyhub/protocol/dist/studio-server.js +0 -2
  931. package/dist/node_modules/@allyhub/protocol/dist/studio-tool-calls.d.ts +0 -18
  932. package/dist/node_modules/@allyhub/protocol/dist/studio-tool-calls.js +0 -2
  933. package/dist/node_modules/@allyhub/protocol/dist/studio-window-requests.d.ts +0 -97
  934. package/dist/node_modules/@allyhub/protocol/dist/studio-window-requests.js +0 -2
  935. package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +0 -196
  936. package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +0 -578
  937. package/dist/node_modules/@allyhub/protocol/dist/turns.d.ts +0 -71
  938. package/dist/node_modules/@allyhub/protocol/dist/turns.js +0 -2
  939. package/dist/node_modules/@allyhub/runtimes/dist/bundled.d.ts +0 -10
  940. package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +0 -14
  941. package/dist/node_modules/@allyhub/runtimes/dist/download.d.ts +0 -38
  942. package/dist/node_modules/@allyhub/runtimes/dist/errors.d.ts +0 -20
  943. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +0 -15
  944. package/dist/node_modules/@allyhub/runtimes/dist/home.d.ts +0 -2
  945. package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +0 -12
  946. package/dist/node_modules/@allyhub/runtimes/dist/lock.d.ts +0 -14
  947. package/dist/node_modules/@allyhub/runtimes/dist/manifest.d.ts +0 -3
  948. package/dist/node_modules/@allyhub/runtimes/dist/node-program.d.ts +0 -12
  949. package/dist/node_modules/@allyhub/runtimes/dist/packages.d.ts +0 -101
  950. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +0 -73
  951. package/dist/node_modules/@allyhub/runtimes/dist/unpack.d.ts +0 -14
  952. package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +0 -20
  953. package/dist/node_modules/@allyhub/scenery-host/dist/bake/digest.d.ts +0 -14
  954. package/dist/node_modules/@allyhub/scenery-host/dist/bake/envmap.d.ts +0 -21
  955. package/dist/node_modules/@allyhub/scenery-host/dist/bake/run.d.ts +0 -63
  956. package/dist/node_modules/@allyhub/scenery-host/dist/budget.d.ts +0 -40
  957. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +0 -92
  958. package/dist/node_modules/@allyhub/scenery-host/dist/commands.d.ts +0 -54
  959. package/dist/node_modules/@allyhub/scenery-host/dist/draw2d.d.ts +0 -47
  960. package/dist/node_modules/@allyhub/scenery-host/dist/glass.d.ts +0 -39
  961. package/dist/node_modules/@allyhub/scenery-host/dist/index.d.ts +0 -25
  962. package/dist/node_modules/@allyhub/scenery-host/dist/inventory.d.ts +0 -18
  963. package/dist/node_modules/@allyhub/scenery-host/dist/layer/fidelity.d.ts +0 -70
  964. package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.d.ts +0 -7
  965. package/dist/node_modules/@allyhub/scenery-host/dist/layer/moire.d.ts +0 -6
  966. package/dist/node_modules/@allyhub/scenery-host/dist/measure/contacts.d.ts +0 -45
  967. package/dist/node_modules/@allyhub/scenery-host/dist/measure/health.d.ts +0 -10
  968. package/dist/node_modules/@allyhub/scenery-host/dist/measure/index.d.ts +0 -110
  969. package/dist/node_modules/@allyhub/scenery-host/dist/measure/relations.d.ts +0 -17
  970. package/dist/node_modules/@allyhub/scenery-host/dist/measure/solid.d.ts +0 -32
  971. package/dist/node_modules/@allyhub/scenery-host/dist/measure/support.d.ts +0 -11
  972. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.d.ts +0 -32
  973. package/dist/node_modules/@allyhub/scenery-host/dist/queries/inventory.d.ts +0 -5
  974. package/dist/node_modules/@allyhub/scenery-host/dist/queries/map.d.ts +0 -5
  975. package/dist/node_modules/@allyhub/scenery-host/dist/queries/view.d.ts +0 -10
  976. package/dist/node_modules/@allyhub/scenery-host/dist/scene.d.ts +0 -35
  977. package/dist/node_modules/@allyhub/scenery-host/dist/screen-dom.d.ts +0 -24
  978. package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.d.ts +0 -42
  979. package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.d.ts +0 -6
  980. package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.d.ts +0 -70
  981. package/dist/node_modules/@allyhub/scenery-host/dist/stage/solve.d.ts +0 -49
  982. package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.d.ts +0 -73
  983. package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.d.ts +0 -18
  984. package/dist/node_modules/@allyhub/scenery-host/dist/steady.d.ts +0 -4
  985. package/dist/node_modules/@allyhub/scenery-host/dist/viewer.d.ts +0 -134
  986. package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +0 -4
  987. package/dist/node_modules/@allyhub/video-measure/dist/still.js +0 -2
  988. package/editor-web/assets/arrow-down-B8VUPCGi.js +0 -1
  989. package/editor-web/assets/arrow-up-Ds4juY8X.js +0 -1
  990. package/editor-web/assets/article-CS48wwvk.js +0 -3
  991. package/editor-web/assets/article-Cyle57uq.js +0 -7
  992. package/editor-web/assets/bar-button-J9vbfzTx.js +0 -1
  993. package/editor-web/assets/calc-worker-BdHh5LXM.js +0 -45
  994. package/editor-web/assets/channel-HUlo15J7.js +0 -1
  995. package/editor-web/assets/chart-amT4lgX3.js +0 -2
  996. package/editor-web/assets/chart-file-CfbWK9l1.js +0 -1
  997. package/editor-web/assets/code-CD-CbJG9.js +0 -1
  998. package/editor-web/assets/collaborator-BU4qU7O3.js +0 -1
  999. package/editor-web/assets/deck-CtEtDHo2.js +0 -1
  1000. package/editor-web/assets/dist-BBshIz1Q.js +0 -5
  1001. package/editor-web/assets/dist-BI8QjOsV.js +0 -1
  1002. package/editor-web/assets/dist-BajH5QfK.js +0 -24
  1003. package/editor-web/assets/dist-Bl74xqMW.js +0 -19
  1004. package/editor-web/assets/dist-BrUtQth3.js +0 -18
  1005. package/editor-web/assets/dist-CN5A7Au2.js +0 -1
  1006. package/editor-web/assets/dist-CcL6r6l3.js +0 -1
  1007. package/editor-web/assets/dist-D2E3cgRP.js +0 -4
  1008. package/editor-web/assets/dist-D3C6FyrO.js +0 -82
  1009. package/editor-web/assets/dist-DGKjn59H.js +0 -16
  1010. package/editor-web/assets/dist-NQNQ5HqZ.js +0 -17
  1011. package/editor-web/assets/dist-SV0sOVIC.js +0 -43
  1012. package/editor-web/assets/dist-YW8hS4IM.js +0 -9
  1013. package/editor-web/assets/dist-Y_XZZa8q.js +0 -531
  1014. package/editor-web/assets/dist-ZrBAbqyJ.js +0 -3
  1015. package/editor-web/assets/dist-d4dayaWE.js +0 -17
  1016. package/editor-web/assets/dist-elglzHMT.js +0 -6
  1017. package/editor-web/assets/dist-hHcrvNn9.js +0 -1
  1018. package/editor-web/assets/esm-DzxAod8Q.js +0 -21
  1019. package/editor-web/assets/file-exclamation-point-_L3ElCJ5.js +0 -1
  1020. package/editor-web/assets/flowDiagram-IUGLLWBU-tz5ewhC5.js +0 -1
  1021. package/editor-web/assets/hint-rlht0uxG.js +0 -1
  1022. package/editor-web/assets/index-Dvh1t1om.css +0 -2
  1023. package/editor-web/assets/index-q7X6hdHp.js +0 -28
  1024. package/editor-web/assets/minus-CbPnUIOy.js +0 -1
  1025. package/editor-web/assets/progress-CwKcXARv.js +0 -6
  1026. package/editor-web/assets/props-form-DUFxM5eb.js +0 -1
  1027. package/editor-web/assets/react-Edyoga_4.js +0 -1
  1028. package/editor-web/assets/row-C_svyL8o.js +0 -1
  1029. package/editor-web/assets/schemas-moE_A7Nj.js +0 -1
  1030. package/editor-web/assets/search-Ba2BbT6T.js +0 -1
  1031. package/editor-web/assets/slides-oQ_C0SVJ.js +0 -1
  1032. package/editor-web/assets/snapshots-Dd0Wd_qM.js +0 -1
  1033. package/editor-web/assets/sound-bTlco_K3.js +0 -1
  1034. package/editor-web/assets/split-zARio3J8.js +0 -3
  1035. package/editor-web/assets/strikethrough-BwXWi4zg.js +0 -1
  1036. package/editor-web/assets/surface-DtCjIlrq.js +0 -1
  1037. package/editor-web/assets/svg-CWIBMIQ9.js +0 -1
  1038. package/editor-web/assets/swatch-DhztHwPU.js +0 -1
  1039. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-X35m3xN6.js +0 -8
  1040. package/editor-web/assets/switch-8MU4Nfxe.js +0 -1
  1041. package/editor-web/assets/table-DRbddzx0.js +0 -1
  1042. package/editor-web/assets/tabs-BHBvbekZ.js +0 -1
  1043. package/editor-web/assets/tag-CIfWT8B_.js +0 -1
  1044. package/editor-web/assets/text-align-start-Cic2-TLh.js +0 -1
  1045. package/editor-web/assets/textarea-D7TnPwv1.js +0 -1
  1046. package/editor-web/assets/video-oJ3qa1Qv.js +0 -1
  1047. package/editor-web/assets/words-XlXG79Ur.js +0 -3
  1048. package/editor-web/assets/workbook-DznVDqoE.js +0 -45
  1049. package/editor-web/assets/x-DlhyIKuu.js +0 -41
  1050. /package/dist/node_modules/@allyhub/{protocol/dist/runtimes.js → runtimes/dist/schema.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{formatColor as O,isValidFormat as P}from"numfmt";import{cellName as T,columnLetter as k}from"./address.js";import{linkAt as _}from"./annotations.js";import{chartDef as U,chartPlace as q,chartSize as V,chartSvg as K}from"./chart.js";import{fileCells as Y,isPicture as X,pictureHeight as Z,pictureSize as J}from"./files.js";import{generalForms as Q,shownValue as tt}from"./format.js";import{DEFAULT_COLUMN_WIDTH as et,DEFAULT_ROW_HEIGHT as F,columnHidden as N,columnWidth as R,pageTitleCols as nt,pageTitleRows as st,rowHeight as it,rowHidden as E,paginate as ot,usedWithCharts as rt}from"./paginate.js";import{Rules as lt,iconShape as at}from"./rules.js";import{tableStyleLook as dt,tableStyleOf as ct}from"./table-style.js";import{CellError as ht}from"./values.js";import{placeKey as I}from"./workbook.js";export{et as DEFAULT_COLUMN_WIDTH,F as DEFAULT_ROW_HEIGHT};const ft={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"},pt=n=>{let t="";for(let e=0;e<n.length;e+=32768)t+=String.fromCharCode(...n.subarray(e,e+32768));return btoa(t)},x=n=>n.replace(/[&<>"]/gu,t=>ft[t]??t),gt={thin:"1px solid",medium:"2px solid",thick:"3px solid",double:"3px double",hair:"1px dotted",dotted:"1px dotted",dashed:"1px dashed",dashDot:"1px dashed",dashDotDot:"1px dashed",mediumDashed:"2px dashed",mediumDashDot:"2px dashed",mediumDashDotDot:"2px dashed",slantDashDot:"2px dashed"},ut={left:"left",center:"center",right:"right",justify:"justify",distributed:"justify",centerContinuous:"center",fill:"left"},mt={top:"top",center:"middle",justify:"middle",distributed:"middle"};function $t(n){if(typeof n=="number")return"right";if(typeof n=="boolean"||n instanceof ht)return"center"}const bt={up:"▲","up-right":"◥",right:"▶","down-right":"◢",down:"▼",circle:"●",flag:"⚑",check:"✔",bang:"!",cross:"✖",triangle:"▲",diamond:"◆",bars:"▮",quarter:"◔"};function wt(n){const{shape:t,color:e,level:o}=at(n.set,n.index),l=(bt[t]??"●").repeat(t==="bars"?o??1:1);return`<span style="float:left;color:${e}">${l}</span>`}function yt(n){const t=[];if(n.bold!==void 0&&t.push(`font-weight:${n.bold?"bold":"normal"}`),n.italic!==void 0&&t.push(`font-style:${n.italic?"italic":"normal"}`),n.underline!==void 0||n.strike!==void 0){const l=[n.underline!==void 0&&n.underline!==!1?"underline":"",n.strike===!0?"line-through":""].filter(Boolean);t.push(`text-decoration:${l.length>0?l.join(" "):"none"}`)}n.font!==void 0&&t.push(`font-family:"${n.font.replace(/["\\]/gu,"")}",var(--font)`),n.size!==void 0&&t.push(`font-size:${String(n.size)}pt`),n.color!==void 0&&t.push(`color:${n.color}`);const e=x(n.text),o=n.script==="superscript"?`<sup>${e}</sup>`:n.script==="subscript"?`<sub>${e}</sub>`:e;return t.length===0&&n.script===void 0?e:`<span${t.length===0?"":` style="${t.join(";")}"`}>${o}</span>`}function xt(n,t,e){const o=[];n.bold===!0&&o.push("font-weight:bold"),n.italic===!0&&o.push("font-style:italic");const l=[n.underline?"underline":"",n.strike===!0?"line-through":""].filter(Boolean);l.length>0&&o.push(`text-decoration:${l.join(" ")}`),n.font!==void 0&&o.push(`font-family:"${n.font.replace(/["\\]/gu,"")}",var(--font)`),n.size!==void 0&&o.push(`font-size:${String(n.size)}pt`);const r=(typeof t=="number"&&e!==void 0&&P(e)?O(e,t)??void 0:void 0)??n.color;typeof r=="string"&&o.push(`color:${r}`);const{fill:a}=n;if(typeof a=="string")o.push(`background:${a}`);else if(a){const i=a.color??a.background;i!==void 0&&o.push(`background:${i}`)}const f=(n.align===void 0||n.align==="general"?void 0:ut[n.align])??$t(t);f!==void 0&&o.push(`text-align:${f}`);const c=n.valign===void 0?void 0:mt[n.valign];c!==void 0&&o.push(`vertical-align:${c}`),n.wrap===!0&&o.push("white-space:pre-wrap","overflow-wrap:anywhere"),n.indent!==void 0&&o.push(`padding-left:${String(3+n.indent*9)}px`);for(const i of["left","right","top","bottom"]){const s=n.border?.[i];s&&s.style!=="none"&&o.push(`border-${i}:${gt[s.style]??"1px solid"} ${s.color??"#000"}`)}return o.join(";")}class L{names=new Map;of(t){if(t==="")return"";let e=this.names.get(t);return e||(e=`s${String(this.names.size)}`,this.names.set(t,e)),e}css(){return[...this.names].map(([t,e])=>`.${e}{${t}}`).join(`
3
- `)}}class W{calc;sheet;rules;read;drawnFiles;bands=new Map;svgs=new Map;constructor(t,e,o){this.calc=t,this.sheet=e,this.read=o,this.rules=e.conditions.length>0?new lt(e,t):void 0}files(){if(this.drawnFiles)return this.drawnFiles;const t=new Map,e=new Map,o=this.read;for(const{row:l,col:r,paths:a,column:f}of o?Y(this.sheet,this.calc):[]){const c=Z(f),i=a.map(s=>{const d=X(s)?o?.(s):void 0,h=d&&J(d);return!d||!h?x(s):(e.set(l,Math.max(e.get(l)??0,c)),`<img src="data:image/${h.type};base64,${pt(d)}" alt="${x(s)}" style="height:${String(c)}px">`)});t.set(I(l,r),i.join(" "))}return this.drawnFiles={cells:t,rows:e},this.drawnFiles}height(t){return this.sheet.spec.rows?.[String(t+1)]?.height??this.files().rows.get(t)??F}band(t,e){if(e===t.at.row)return;let o=this.bands.get(t);if(!o){o=new Map;let l=0;for(let r=t.at.row+1;r<=t.area.bottom;r++)E(this.calc,this.sheet,r)||o.set(r,l++);this.bands.set(t,o)}return o.get(e)??0}cell(t,e,o,l,r){const{sheet:a}=this,f=this.calc.value(a,t,e),c=this.rules?.at(t,e),i=a.lookAt(t,e),s=a.tableAt(t,e),d=s&&ct(s),h=s&&d?dt(d,s,t,e,this.band(s,t)):void 0,p={...h,...i,...c?.look,...c?.scale===void 0?{}:{fill:c.scale}};(h?.border||i.border)&&(p.border={...h?.border,...i.border,...c?.look?.border});const w=p.format;let $=xt(p,f,w);if(c?.bar){const v=`${String(Math.round(c.bar.share*100))}%`;$=[$,`background:linear-gradient(90deg,${c.bar.color} ${v},transparent ${v})`].filter(Boolean).join(";")}const u=this.files().cells.get(I(t,e)),y=c?.icon?wt(c.icon):"",S=typeof f=="string"?a.runsAt(t,e):void 0,b=u??(c?.bare===!0?"":S?S.map(yt).join(""):x(tt(f,w))),C=typeof f=="string"&&p.wrap!==!0&&l&&!o,A=typeof f=="number"&&!u&&y===""&&b!=="",M=A&&(w===void 0||w==="General"),z=[r.of($),C?"over":"",A?"n":""].filter(Boolean).join(" "),D=[z===""?"":` class="${z}"`,M?` data-g="${x(Q(f).slice(1).join(" "))}"`:"",o&&o.rows>1?` rowspan="${String(o.rows)}"`:"",o&&o.cols>1?` colspan="${String(o.cols)}"`:""].join(""),j=A?void 0:_(a.spec,t,e)?.to,g=j!==void 0&&/^(?:https?:|mailto:)/iu.test(j)&&b!==""?`<a href="${x(j)}" style="color:inherit;text-decoration:inherit">${b}</a>`:b;return`<td${D}>${y}${g}</td>`}spans(t,e){const o=new Map,l=new Set;for(const r of this.sheet.merges){const a=t.filter(s=>s>=r.top&&s<=r.bottom),f=e.filter(s=>s>=r.left&&s<=r.right),[c]=a,[i]=f;if(!(c===void 0||i===void 0)){for(const s of a)for(const d of f)l.add(`${String(s)}:${String(d)}`);l.delete(`${String(c)}:${String(i)}`),o.set(`${String(c)}:${String(i)}`,{rows:a.length,cols:f.length})}}return{spans:o,covered:l}}table(t,e,o,l){const{sheet:r}=this,{spans:a,covered:f}=this.spans(t,e),c=e.map(h=>R(r,h)),i=l.headings?B:0,s=c.reduce((h,p)=>h+p,0)+i,d=[`<table class="${l.className??""}" style="width:${String(s)}px"><colgroup>`,l.headings?`<col style="width:${String(i)}px">`:"",...c.map(h=>`<col style="width:${String(h)}px">`),"</colgroup>"];l.headings&&d.push(`<thead><tr><th></th>${e.map(h=>`<th>${k(h)}</th>`).join("")}</tr></thead>`),d.push("<tbody>");for(const h of t)d.push(`<tr style="height:${String(this.height(h))}px">`),l.headings&&d.push(`<th>${String(h+1)}</th>`),e.forEach((p,w)=>{const $=`${String(h)}:${String(p)}`;if(f.has($))return;const u=e[w+1],y=u!==void 0&&r.at(h,u)===void 0&&!f.has(`${String(h)}:${String(u)}`);d.push(this.cell(h,p,a.get($),y,o))}),d.push("</tr>");return d.push("</tbody></table>"),{html:d.join(""),width:s}}svg(t){let e=this.svgs.get(t);if(e===void 0){const{width:o,height:l}=V(t.spec);e=K(U(this.calc,this.sheet,t),o,l,{font:"var(--font)"}),this.svgs.set(t,e)}return e}charts(t,e,o){const{sheet:l}=this;if(l.charts.length===0||t.length===0||e.length===0)return"";const r=(i,s)=>{const d=new Map;let h=0;for(const p of i)d.set(p,h),h+=s(p);return{at:d,sum:h}},a=r(t,i=>this.height(i)),f=r(e,i=>R(l,i)),c=(i,s,d,h)=>{const p=i[0]??0;if(d<p){let $=0;for(let u=d;u<p;u++)$-=h(u);return $}const w=i.find($=>$>=d);return w===void 0?1/0:s.get(w)??0};return l.charts.map(i=>{const s=q(i.spec,h=>c(t,a.at,h,p=>E(this.calc,l,p)?0:it(l,p)),h=>c(e,f.at,h,p=>N(l,p)?0:R(l,p)));return s.left<f.sum&&s.left+s.width>0&&s.top<a.sum&&s.top+s.height>0?`<div class="chart" style="left:${String(o.left+s.left)}px;top:${String(o.top+s.top)}px">${this.svg(i)}</div>`:""}).join("")}}const B=44,vt=`
2
+ import{OFFICE_COLORS as U}from"@allyhub/formats";import{formatColor as V,isValidFormat as q}from"numfmt";import{cellName as T,columnLetter as K}from"./address.js";import{followableLinkAt as Y,linkedLook as X}from"./annotations.js";import{chartDef as Z,chartPlace as J,chartSize as Q,chartSvg as tt}from"./chart.js";import{tileSize as et,tileSvg as st}from"./tiles.js";import{sparklineSvg as nt,sparklineValues as ot}from"./sparklines.js";import{lookColorIn as N}from"./theme.js";import{fileCells as it,isPicture as rt,pictureHeight as lt,pictureSize as at}from"./files.js";import{generalForms as ct,shownValue as dt}from"./format.js";import{DEFAULT_COLUMN_WIDTH as ht,DEFAULT_ROW_HEIGHT as F,columnHidden as O,columnWidth as R,pageTitleCols as ft,pageTitleRows as pt,rowHeight as gt,rowHidden as I,paginate as ut,usedWithCharts as mt}from"./paginate.js";import{Rules as $t,iconShape as bt}from"./rules.js";import{tableStyleLook as wt,tableStyleOf as yt}from"./table-style.js";import{CellError as xt}from"./values.js";import{placeKey as H}from"./workbook.js";export{ht as DEFAULT_COLUMN_WIDTH,F as DEFAULT_ROW_HEIGHT};const vt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"},St=s=>{let t="";for(let e=0;e<s.length;e+=32768)t+=String.fromCharCode(...s.subarray(e,e+32768));return btoa(t)},x=s=>s.replace(/[&<>"]/gu,t=>vt[t]??t),Ct={thin:"1px solid",medium:"2px solid",thick:"3px solid",double:"3px double",hair:"1px dotted",dotted:"1px dotted",dashed:"1px dashed",dashDot:"1px dashed",dashDotDot:"1px dashed",mediumDashed:"2px dashed",mediumDashDot:"2px dashed",mediumDashDotDot:"2px dashed",slantDashDot:"2px dashed"},jt={left:"left",center:"center",right:"right",justify:"justify",distributed:"justify",centerContinuous:"center",fill:"left"},kt={top:"top",center:"middle",justify:"middle",distributed:"middle"};function At(s){if(typeof s=="number")return"right";if(typeof s=="boolean"||s instanceof xt)return"center"}const zt={up:"▲","up-right":"◥",right:"▶","down-right":"◢",down:"▼",circle:"●",flag:"⚑",check:"✔",bang:"!",cross:"✖",triangle:"▲",diamond:"◆",bars:"▮",quarter:"◔"};function Dt(s){const{shape:t,color:e,level:o}=bt(s.set,s.index),i=(zt[t]??"●").repeat(t==="bars"?o??1:1);return`<span style="float:left;color:${e}">${i}</span>`}function Mt(s){const t=[];if(s.bold!==void 0&&t.push(`font-weight:${s.bold?"bold":"normal"}`),s.italic!==void 0&&t.push(`font-style:${s.italic?"italic":"normal"}`),s.underline!==void 0||s.strike!==void 0){const i=[s.underline!==void 0&&s.underline!==!1?"underline":"",s.strike===!0?"line-through":""].filter(Boolean);t.push(`text-decoration:${i.length>0?i.join(" "):"none"}`)}s.font!==void 0&&t.push(`font-family:"${s.font.replace(/["\\]/gu,"")}",var(--font)`),s.size!==void 0&&t.push(`font-size:${String(s.size)}pt`),s.color!==void 0&&t.push(`color:${s.color}`);const e=x(s.text),o=s.script==="superscript"?`<sup>${e}</sup>`:s.script==="subscript"?`<sub>${e}</sub>`:e;return t.length===0&&s.script===void 0?e:`<span${t.length===0?"":` style="${t.join(";")}"`}>${o}</span>`}function Ft(s,t,e){const o=[];s.bold===!0&&o.push("font-weight:bold"),s.italic===!0&&o.push("font-style:italic");const i=[s.underline?"underline":"",s.strike===!0?"line-through":""].filter(Boolean);i.length>0&&o.push(`text-decoration:${i.join(" ")}`),s.font!==void 0&&o.push(`font-family:"${s.font.replace(/["\\]/gu,"")}",var(--font)`),s.size!==void 0&&o.push(`font-size:${String(s.size)}pt`);const r=(typeof t=="number"&&e!==void 0&&q(e)?V(e,t)??void 0:void 0)??s.color;typeof r=="string"&&o.push(`color:${r}`);const{fill:a}=s;if(typeof a=="string")o.push(`background:${a}`);else if(a){const l=a.color??a.background;l!==void 0&&o.push(`background:${l}`)}const f=(s.align===void 0||s.align==="general"?void 0:jt[s.align])??At(t);f!==void 0&&o.push(`text-align:${f}`);const d=s.valign===void 0?void 0:kt[s.valign];d!==void 0&&o.push(`vertical-align:${d}`),s.wrap===!0&&o.push("white-space:pre-wrap","overflow-wrap:anywhere"),s.indent!==void 0&&o.push(`padding-left:${String(3+s.indent*9)}px`);for(const l of["left","right","top","bottom"]){const n=s.border?.[l];n&&n.style!=="none"&&o.push(`border-${l}:${Ct[n.style]??"1px solid"} ${n.color??"#000"}`)}return o.join(";")}class B{names=new Map;of(t){if(t==="")return"";let e=this.names.get(t);return e||(e=`s${String(this.names.size)}`,this.names.set(t,e)),e}css(){return[...this.names].map(([t,e])=>`.${e}{${t}}`).join(`
3
+ `)}}class W{calc;sheet;rules;read;drawnFiles;bands=new Map;svgs=new Map;sparks=new Map;constructor(t,e,o){this.calc=t,this.sheet=e,this.read=o;for(const i of e.sparklines)for(const r of i.cells)this.sparks.set(H(r.row,r.col),{group:i,data:r.data});this.rules=e.conditions.length>0?new $t(e,t):void 0}files(){if(this.drawnFiles)return this.drawnFiles;const t=new Map,e=new Map,o=this.read;for(const{row:i,col:r,paths:a,column:f}of o?it(this.sheet,this.calc):[]){const d=lt(f),l=a.map(n=>{const c=rt(n)?o?.(n):void 0,h=c&&at(c);return!c||!h?x(n):(e.set(i,Math.max(e.get(i)??0,d)),`<img src="data:image/${h.type};base64,${St(c)}" alt="${x(n)}" style="height:${String(d)}px">`)});t.set(H(i,r),l.join(" "))}return this.drawnFiles={cells:t,rows:e},this.drawnFiles}height(t){return this.sheet.spec.rows?.[String(t+1)]?.height??this.files().rows.get(t)??F}band(t,e){if(e===t.at.row)return;let o=this.bands.get(t);if(!o){o=new Map;let i=0;for(let r=t.at.row+1;r<=t.area.bottom;r++)I(this.calc,this.sheet,r)||o.set(r,i++);this.bands.set(t,o)}return o.get(e)??0}cell(t,e,o,i,r){const{sheet:a}=this,f=this.calc.value(a,t,e),d=this.rules?.at(t,e),l=a.lookAt(t,e),n=a.tableAt(t,e),c=n&&yt(n),h=n&&c?wt(c,n,t,e,this.band(n,t)):void 0,p=Y(this.calc,a,t,e),m={...h,...l,...p?X(l):{},...d?.look,...d?.scale===void 0?{}:{fill:d.scale}};(h?.border||l.border)&&(m.border={...h?.border,...l.border,...d?.look?.border});const u=m.format;let g=Ft(m,f,u);if(d?.bar){const D=`${String(Math.round(d.bar.share*100))}%`;g=[g,`background:linear-gradient(90deg,${d.bar.color} 0%,${d.bar.color}40 ${D},transparent ${D}) 0 50%/100% calc(100% - 4px) no-repeat`].filter(Boolean).join(";")}const w=this.sparks.get(H(t,e));if(w){const D=a.book?.colors??U,L=nt(ot(this.calc,a,w.data),w.group.spec,100,20,{series:N(w.group.spec.color??"accent1",D),marks:N(w.group.spec.marks??"#D00000",D)});L!==""&&(g=[g,`background:url("data:image/svg+xml,${encodeURIComponent(L)}") 50% 50%/calc(100% - 6px) calc(100% - 6px) no-repeat`].filter(Boolean).join(";"))}const S=this.files().cells.get(H(t,e)),y=d?.icon?Dt(d.icon):"",C=typeof f=="string"?a.runsAt(t,e):void 0,j=S??(d?.bare===!0?"":C?C.map(Mt).join(""):x(dt(f,u))),M=typeof f=="string"&&m.wrap!==!0&&i&&!o,k=typeof f=="number"&&!S&&y===""&&j!=="",A=k&&(u===void 0||u==="General"),z=[r.of(g),M?"over":"",k?"n":""].filter(Boolean).join(" "),$=[z===""?"":` class="${z}"`,A?` data-g="${x(ct(f).slice(1).join(" "))}"`:"",o&&o.rows>1?` rowspan="${String(o.rows)}"`:"",o&&o.cols>1?` colspan="${String(o.cols)}"`:""].join(""),v=k?void 0:p?.to,_=v!==void 0&&/^(?:https?:|mailto:)/iu.test(v)&&j!==""?`<a href="${x(v)}" style="color:inherit;text-decoration:inherit">${j}</a>`:j;return`<td${$}>${y}${_}</td>`}spans(t,e){const o=new Map,i=new Set;for(const r of this.sheet.merges){const a=t.filter(n=>n>=r.top&&n<=r.bottom),f=e.filter(n=>n>=r.left&&n<=r.right),[d]=a,[l]=f;if(!(d===void 0||l===void 0)){for(const n of a)for(const c of f)i.add(`${String(n)}:${String(c)}`);i.delete(`${String(d)}:${String(l)}`),o.set(`${String(d)}:${String(l)}`,{rows:a.length,cols:f.length})}}return{spans:o,covered:i}}table(t,e,o,i){const{sheet:r}=this,{spans:a,covered:f}=this.spans(t,e),d=e.map(h=>R(r,h)),l=i.headings?G:0,n=d.reduce((h,p)=>h+p,0)+l,c=[`<table class="${i.className??""}" style="width:${String(n)}px"><colgroup>`,i.headings?`<col style="width:${String(l)}px">`:"",...d.map(h=>`<col style="width:${String(h)}px">`),"</colgroup>"];i.headings&&c.push(`<thead><tr><th></th>${e.map(h=>`<th>${K(h)}</th>`).join("")}</tr></thead>`),c.push("<tbody>");for(const h of t)c.push(`<tr style="height:${String(this.height(h))}px">`),i.headings&&c.push(`<th>${String(h+1)}</th>`),e.forEach((p,m)=>{const u=`${String(h)}:${String(p)}`;if(f.has(u))return;const g=e[m+1],w=g!==void 0&&r.at(h,g)===void 0&&!f.has(`${String(h)}:${String(g)}`);c.push(this.cell(h,p,a.get(u),w,o))}),c.push("</tr>");return c.push("</tbody></table>"),{html:c.join(""),width:n}}svg(t){let e=this.svgs.get(t);if(e===void 0){const{width:o,height:i}=Q(t.spec);e=tt(Z(this.calc,this.sheet,t),o,i,{font:"var(--font)",...this.sheet.book?{colors:this.sheet.book.colors}:{}}),this.svgs.set(t,e)}return e}charts(t,e,o){const{sheet:i}=this;if(i.charts.length===0&&i.tiles.length===0||t.length===0||e.length===0)return"";const r=(n,c)=>{const h=new Map;let p=0;for(const m of n)h.set(m,p),p+=c(m);return{at:h,sum:p}},a=r(t,n=>this.height(n)),f=r(e,n=>R(i,n)),d=(n,c,h,p)=>{const m=n[0]??0;if(h<m){let g=0;for(let w=h;w<m;w++)g-=p(w);return g}const u=n.find(g=>g>=h);return u===void 0?1/0:c.get(u)??0},l=(n,c,h)=>{const p=J(n,u=>d(t,a.at,u,g=>I(this.calc,i,g)?0:gt(i,g)),u=>d(e,f.at,u,g=>O(i,g)?0:R(i,g)));return p.left<f.sum&&p.left+p.width>0&&p.top<a.sum&&p.top+p.height>0?`<div class="${h}" style="left:${String(o.left+p.left)}px;top:${String(o.top+p.top)}px">${c()}</div>`:""};return[...i.charts.map(n=>l(n.spec,()=>this.svg(n),"chart")),...i.tiles.map(n=>l({...n.spec,...et(n)},()=>st(this.calc,i,n).svg??"","chart tile"))].join("")}}const G=44,Rt=`
4
4
  (() => {
5
5
  const fit = () => {
6
6
  const cells = Array.from(document.querySelectorAll("td.n"));
@@ -23,9 +23,9 @@ import{formatColor as O,isValidFormat as P}from"numfmt";import{cellName as T,col
23
23
  };
24
24
  window.allyhubReady = new Promise((r) => addEventListener("load", r, { once: true })).then(() => document.fonts.ready).then(fit);
25
25
  })();
26
- `;function G(n,t,e){return`<!doctype html><html><head><meta charset="utf-8"><style>
27
- ${n.css??""}
28
- :root{--font:${n.font===void 0?"":`"${n.font}",`}Carlito,Calibri,"Noto Sans SC",Arial,sans-serif}
26
+ `;function P(s,t,e){return`<!doctype html><html><head><meta charset="utf-8"><style>
27
+ ${s.css??""}
28
+ :root{--font:${s.font===void 0?"":`"${s.font}",`}Carlito,Calibri,"Noto Sans SC",Arial,sans-serif}
29
29
  *{box-sizing:border-box}
30
30
  html,body{margin:0;background:#fff;color:#000}
31
31
  body{font:11pt/1.2 var(--font)}
@@ -36,11 +36,11 @@ td.over{overflow:visible}
36
36
  .grid td{border:1px solid #e3e3e3}
37
37
  .edged th{border:1px solid #e3e3e3;background:#f5f5f5;color:#555;font-weight:normal;text-align:center;vertical-align:middle;font-size:9pt}
38
38
  ${t}
39
- </style><script>${vt}<\/script></head><body>${e}</body></html>`}export function sheetHtml(n,t={}){const e=t.sheets??n.wb.sheets.filter(i=>i.spec.hidden!==!0),o=new L,l=[];let r=0;const a=e.length>1&&t.area===void 0,f=e.map(i=>{const s=new W(n,i,t.file),d=t.area??rt(i)??{top:0,left:0,bottom:0,right:0},h=[];for(let b=d.top;b<=d.bottom;b++)E(n,i,b)||h.push(b);const p=[];for(let b=d.left;b<=d.right;b++)N(i,b)||p.push(b);const w=h.slice(0,t.rows??h.length),$=p.slice(0,t.columns??p.length);if(w.length<h.length||$.length<p.length){const b=w[w.length-1]??d.top,C=$[$.length-1]??d.left;l.push(`${i.name}: drew ${T({row:d.top,col:d.left})}:${T({row:b,col:C})} of ${String(h.length)} rows and ${String(p.length)} columns`)}const u=t.headings===!0,y=s.table(w,$,o,{headings:u,className:u?i.spec.gridlines===!1?"edged":"edged grid":""});r=Math.max(r,y.width);const S=s.charts(w,$,{left:u?B:0,top:u?F:0});return`<section class="sheet">${a?`<h2>${x(i.name)}</h2>`:""}<div class="book">${y.html}${S}</div></section>`});return{html:G(t,`h2{font:bold 12pt var(--font);margin:0 0 8px}
39
+ </style><script>${Rt}<\/script></head><body>${e}</body></html>`}export function sheetHtml(s,t={}){const e=t.sheets??s.wb.sheets.filter(l=>l.spec.hidden!==!0),o=new B,i=[];let r=0;const a=e.length>1&&t.area===void 0,f=e.map(l=>{const n=new W(s,l,t.file),c=t.area??mt(l)??{top:0,left:0,bottom:0,right:0},h=[];for(let y=c.top;y<=c.bottom;y++)I(s,l,y)||h.push(y);const p=[];for(let y=c.left;y<=c.right;y++)O(l,y)||p.push(y);const m=h.slice(0,t.rows??h.length),u=p.slice(0,t.columns??p.length);if(m.length<h.length||u.length<p.length){const y=m[m.length-1]??c.top,C=u[u.length-1]??c.left;i.push(`${l.name}: drew ${T({row:c.top,col:c.left})}:${T({row:y,col:C})} of ${String(h.length)} rows and ${String(p.length)} columns`)}const g=t.headings===!0,w=n.table(m,u,o,{headings:g,className:g?l.spec.gridlines===!1?"edged":"edged grid":""});r=Math.max(r,w.width);const S=n.charts(m,u,{left:g?G:0,top:g?F:0});return`<section class="sheet">${a?`<h2>${x(l.name)}</h2>`:""}<div class="book">${w.html}${S}</div></section>`});return{html:P(t,`h2{font:bold 12pt var(--font);margin:0 0 8px}
40
40
  .sheet+.sheet{margin-top:24px}
41
41
  .book{position:relative;width:max-content;overflow:hidden}
42
- ${o.css()}`,f.join("")),width:r,cut:l}}const H=n=>String(n).padStart(2,"0");export function headerFooterHtml(n,t){let e="",o=0;const l=a=>{e+=`<span style="${a}">`,o++},r={B:"font-weight:bold",I:"font-style:italic",U:"text-decoration:underline",E:"text-decoration:underline double",S:"text-decoration:line-through",X:"vertical-align:super;font-size:smaller",Y:"vertical-align:sub;font-size:smaller"};for(let a=0;a<n.length;a++){const f=n[a]??"";if(f!=="&"){e+=x(f);continue}const c=n[a+1]??"",i=c.toUpperCase();if(a++,c==="&")e+="&amp;";else if(i==="P"||i==="N"){const s=/^[+-]\d+/u.exec(n.slice(a+1)),d=i==="P"?t.page:t.pages;e+=String(d+(s?Number(s[0]):0)),s&&(a+=s[0].length)}else if(i==="D")e+=`${String(t.date.getFullYear())}-${H(t.date.getMonth()+1)}-${H(t.date.getDate())}`;else if(i==="T")e+=`${H(t.date.getHours())}:${H(t.date.getMinutes())}`;else if(i==="F"||i==="Z")e+=x(t.file);else if(i==="A")e+=x(t.sheet);else{if(i==="G")continue;if(r[i]!==void 0)l(r[i]);else if(c==='"'){const s=n.indexOf('"',a+1),[d="",h=""]=n.slice(a+1,s<0?n.length:s).split(",");a=s<0?n.length:s;const p=[d==="-"||d===""?"":`font-family:"${d.replace(/["\\]/gu,"")}",var(--font)`,/bold/iu.test(h)?"font-weight:bold":"",/italic/iu.test(h)?"font-style:italic":""].filter(Boolean).join(";");p!==""&&l(p)}else if(/\d/u.test(c)){const s=/^\d+/u.exec(n.slice(a))?.[0]??c;a+=s.length-1,l(`font-size:${s}pt`)}else if(i==="K"){const s=n.slice(a+1,a+7);a+=6,/^[0-9A-Fa-f]{6}$/u.test(s)&&l(`color:#${s}`)}}}return e+"</span>".repeat(o)}const m=n=>`${String(Math.round(n*1e3)/1e3)}px`;export class SheetPrint{job;calc;drawers=new Map;file;constructor(t,e={}){this.calc=t,this.file=e.file,this.job=ot(t,{...e.sheets?{sheets:e.sheets}:{},height:(o,l)=>this.drawer(o).height(l)})}drawer(t){let e=this.drawers.get(t);return e||(e=new W(this.calc,t,this.file),this.drawers.set(t,e)),e}html(t,e,o){const l=new L,r=new Map,a=[];for(const c of this.job.pages.slice(t,e)){const{of:i}=c,s=`${m(i.paper.width)} ${m(i.paper.height)}`;let d=r.get(s);d===void 0&&(d=`paper${String(r.size)}`,r.set(s,d)),a.push(this.page(c,l,d,o))}const f=[...r].map(([c,i])=>`@page ${i}{size:${c};margin:0}`).join(`
43
- `);return G(o,`${f}
42
+ ${o.css()}`,f.join("")),width:r,cut:i}}const E=s=>String(s).padStart(2,"0");export function headerFooterHtml(s,t){let e="",o=0;const i=a=>{e+=`<span style="${a}">`,o++},r={B:"font-weight:bold",I:"font-style:italic",U:"text-decoration:underline",E:"text-decoration:underline double",S:"text-decoration:line-through",X:"vertical-align:super;font-size:smaller",Y:"vertical-align:sub;font-size:smaller"};for(let a=0;a<s.length;a++){const f=s[a]??"";if(f!=="&"){e+=x(f);continue}const d=s[a+1]??"",l=d.toUpperCase();if(a++,d==="&")e+="&amp;";else if(l==="P"||l==="N"){const n=/^[+-]\d+/u.exec(s.slice(a+1)),c=l==="P"?t.page:t.pages;e+=String(c+(n?Number(n[0]):0)),n&&(a+=n[0].length)}else if(l==="D")e+=`${String(t.date.getFullYear())}-${E(t.date.getMonth()+1)}-${E(t.date.getDate())}`;else if(l==="T")e+=`${E(t.date.getHours())}:${E(t.date.getMinutes())}`;else if(l==="F"||l==="Z")e+=x(t.file);else if(l==="A")e+=x(t.sheet);else{if(l==="G")continue;if(r[l]!==void 0)i(r[l]);else if(d==='"'){const n=s.indexOf('"',a+1),[c="",h=""]=s.slice(a+1,n<0?s.length:n).split(",");a=n<0?s.length:n;const p=[c==="-"||c===""?"":`font-family:"${c.replace(/["\\]/gu,"")}",var(--font)`,/bold/iu.test(h)?"font-weight:bold":"",/italic/iu.test(h)?"font-style:italic":""].filter(Boolean).join(";");p!==""&&i(p)}else if(/\d/u.test(d)){const n=/^\d+/u.exec(s.slice(a))?.[0]??d;a+=n.length-1,i(`font-size:${n}pt`)}else if(l==="K"){const n=s.slice(a+1,a+7);a+=6,/^[0-9A-Fa-f]{6}$/u.test(n)&&i(`color:#${n}`)}}}return e+"</span>".repeat(o)}const b=s=>`${String(Math.round(s*1e3)/1e3)}px`;export class SheetPrint{job;calc;drawers=new Map;file;constructor(t,e={}){this.calc=t,this.file=e.file,this.job=ut(t,{...e.sheets?{sheets:e.sheets}:{},height:(o,i)=>this.drawer(o).height(i)})}drawer(t){let e=this.drawers.get(t);return e||(e=new W(this.calc,t,this.file),this.drawers.set(t,e)),e}html(t,e,o){const i=new B,r=new Map,a=[];for(const d of this.job.pages.slice(t,e)){const{of:l}=d,n=`${b(l.paper.width)} ${b(l.paper.height)}`;let c=r.get(n);c===void 0&&(c=`paper${String(r.size)}`,r.set(n,c)),a.push(this.page(d,i,c,o))}const f=[...r].map(([d,l])=>`@page ${l}{size:${d};margin:0}`).join(`
43
+ `);return P(o,`${f}
44
44
  .page{position:relative;overflow:hidden;break-after:page}
45
45
  .page:last-child{break-after:auto}
46
46
  .body,.charts{position:absolute;overflow:hidden}
@@ -49,4 +49,4 @@ ${o.css()}`,f.join("")),width:r,cut:l}}const H=n=>String(n).padStart(2,"0");expo
49
49
  .hf>div{flex:1 1 0;overflow:visible}
50
50
  .hf>.c{text-align:center}
51
51
  .hf>.r{text-align:right}
52
- ${l.css()}`,a.join(""))}page(t,e,o,l){const{of:r}=t,a=this.drawer(r.sheet),{margins:f,scale:c}=r,i=st(t),s=nt(t),d=r.rows.slice(t.down.from,t.down.to),h=r.cols.slice(t.across.from,t.across.to),p=a.table([...i,...d],[...s,...h],e,{headings:!1}),w=i.reduce((g,v)=>g+a.height(v),0),$=s.reduce((g,v)=>g+R(r.sheet,v),0),u=r.rowAt[t.down.from]??0,y=r.colAt[t.across.from]??0,S=(r.rowAt[t.down.to]??0)-u,b=(r.colAt[t.across.to]??0)-y,C=r.charts.filter(g=>g.left<y+b&&g.left+g.width>y&&g.top<u+S&&g.top+g.height>u).map(g=>`<div class="chart" style="left:${m(g.left-y)};top:${m(g.top-u)}">${a.svg(g.chart)}</div>`).join(""),A=C===""?"":`<div class="charts" style="left:${m($)};top:${m(w)};width:${m(b)};height:${m(S)}">${C}</div>`,M=r.paper.width-f.left-f.right,z=r.paper.height-f.top-f.bottom,D={page:t.number,pages:this.job.pages.length,sheet:r.sheet.name,file:l.name,date:l.date},j=(g,v)=>g?`<div class="hf" style="left:${m(f.left)};right:${m(f.right)};${v}"><div>${headerFooterHtml(g.left??"",D)}</div><div class="c">${headerFooterHtml(g.center??"",D)}</div><div class="r">${headerFooterHtml(g.right??"",D)}</div></div>`:"";return`<section class="page" style="page:${o};width:${m(r.paper.width)};height:${m(r.paper.height)}">`+j(r.header,`top:${m(f.header)}`)+`<div class="body" style="left:${m(f.left)};top:${m(f.top)};width:${m(M)};height:${m(z)}"><div class="scaled" style="width:${m(M/c)};height:${m(z/c)}${c===1?"":`;transform:scale(${String(c)})`}">`+p.html+A+"</div></div>"+j(r.footer,`bottom:${m(f.footer)}`)+"</section>"}}
52
+ ${i.css()}`,a.join(""))}page(t,e,o,i){const{of:r}=t,a=this.drawer(r.sheet),{margins:f,scale:d}=r,l=pt(t),n=ft(t),c=r.rows.slice(t.down.from,t.down.to),h=r.cols.slice(t.across.from,t.across.to),p=a.table([...l,...c],[...n,...h],e,{headings:!1}),m=l.reduce(($,v)=>$+a.height(v),0),u=n.reduce(($,v)=>$+R(r.sheet,v),0),g=r.rowAt[t.down.from]??0,w=r.colAt[t.across.from]??0,S=(r.rowAt[t.down.to]??0)-g,y=(r.colAt[t.across.to]??0)-w,C=r.charts.filter($=>$.left<w+y&&$.left+$.width>w&&$.top<g+S&&$.top+$.height>g).map($=>`<div class="chart" style="left:${b($.left-w)};top:${b($.top-g)}">${a.svg($.chart)}</div>`).join(""),j=C===""?"":`<div class="charts" style="left:${b(u)};top:${b(m)};width:${b(y)};height:${b(S)}">${C}</div>`,M=r.paper.width-f.left-f.right,k=r.paper.height-f.top-f.bottom,A={page:t.number,pages:this.job.pages.length,sheet:r.sheet.name,file:i.name,date:i.date},z=($,v)=>$?`<div class="hf" style="left:${b(f.left)};right:${b(f.right)};${v}"><div>${headerFooterHtml($.left??"",A)}</div><div class="c">${headerFooterHtml($.center??"",A)}</div><div class="r">${headerFooterHtml($.right??"",A)}</div></div>`:"";return`<section class="page" style="page:${o};width:${b(r.paper.width)};height:${b(r.paper.height)}">`+z(r.header,`top:${b(f.header)}`)+`<div class="body" style="left:${b(f.left)};top:${b(f.top)};width:${b(M)};height:${b(k)}"><div class="scaled" style="width:${b(M/d)};height:${b(k/d)}${d===1?"":`;transform:scale(${String(d)})`}">`+p.html+j+"</div></div>"+z(r.footer,`bottom:${b(f.footer)}`)+"</section>"}}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- export*from"./address.js";export{patchCsv}from"./patch.js";export{printedFacts,printedLines}from"./printed.js";export*from"./values.js";export*from"./workbook.js";export*from"./calc/remote.js";export*from"./calc/server.js";export{CODE as SHEET_CODE,ENTRY as SHEET_ENTRY,codeOf,dataFilesOf,readSheetFile}from"./file.js";export{GENERATED,ordinarySheet,typedNumbers,withGenerated}from"./generated.js";export{applyScenario,cellOfName,scenarioNames,scenariosByCell}from"./scenario.js";export{fileCells,hasFiles,isPicture,pictureHeight,pictureSize}from"./files.js";export*from"./formula/ast.js";export{parseFormula}from"./formula/parse.js";export{printFormula,sheetPrefix}from"./formula/print.js";export{moveFormula}from"./formula/move.js";export{rewriteFormula}from"./formula/rewrite.js";export{Calc,ITERATION_DEFAULTS,seededRandom}from"./calc/engine.js";export{analyse}from"./calc/analyse.js";export{FUNCTIONS}from"./calc/functions/index.js";export{Reference}from"./calc/types.js";export{checkWorkbook,placeName}from"./check.js";export{csvOf,csvText,dataValue,excelNumber,tableRows}from"./export.js";export{generalForms,generalText,isDateCode,shownColor,shownValue}from"./format.js";export{DEFAULT_COLUMN_WIDTH,DEFAULT_ROW_HEIGHT,headerFooterHtml,sheetHtml,SheetPrint}from"./html.js";export{PAPERS,PRINT_DEFAULTS,paginate}from"./paginate.js";export{DEFAULT_TABLE_STYLE,tableStyleLook,tableStyleOf}from"./table-style.js";export{TABLE_STYLES}from"./table-styles.js";export{PROFILE_TOP,profileTable}from"./profile.js";export{importRows}from"./import.js";export{patchYaml,writeYaml}from"./write.js";export*from"./edit.js";export*from"./rich.js";export*from"./annotations.js";export*from"./arrange.js";export*from"./outline.js";export*from"./data-tools.js";export{NO_LOOK,autoFill,copyLooks,fillDownTo,moveCells,pasteLooks,shiftCells}from"./fill.js";export{seriesAfter}from"./series.js";export{compareForSort,hasHeader,sortCells,sortedOrder,sortedRows}from"./sort.js";export{filterChoices,filteredRows,regionAround}from"./filter.js";export{Rules,colorBetween,compareValues,holds,iconShape}from"./rules.js";export{choicesIn,invalidCells,joinChoices,listValues,separatorOf,valid}from"./validate.js";export{freeColumn,restructure,tableShape,uniqueColumn,withColumnsUpTo}from"./structure.js";export{SHEET_CHART_DEFAULTS,chartAfter,chartDataRange,chartDef,chartOfRange,chartPlace,chartSize,chartSvg,readDataRange}from"./chart.js";export{INSPECT_DEFAULTS,SHEET_FACT_KINDS,inspectWorkbook}from"./inspect.js";export{DIFF_DEFAULTS,diffWorkbooks}from"./diff.js";
2
+ export*from"./address.js";export{patchCsv}from"./patch.js";export{printedFacts,printedLines}from"./printed.js";export*from"./values.js";export*from"./workbook.js";export*from"./calc/remote.js";export*from"./calc/server.js";export{CODE as SHEET_CODE,ENTRY as SHEET_ENTRY,codeOf,dataFilesOf,placesOf,readSheetFile}from"./file.js";export{GENERATED,ordinarySheet,typedNumbers,withGenerated}from"./generated.js";export{applyScenario,cellOfName,scenarioNames,scenariosByCell}from"./scenario.js";export{fileCells,hasFiles,isPicture,pictureHeight,pictureSize}from"./files.js";export*from"./formula/ast.js";export{parseFormula}from"./formula/parse.js";export{printFormula,sheetPrefix}from"./formula/print.js";export{moveFormula}from"./formula/move.js";export{rewriteFormula}from"./formula/rewrite.js";export{Calc,ITERATION_DEFAULTS,seededRandom}from"./calc/engine.js";export{analyse}from"./calc/analyse.js";export{FUNCTIONS}from"./calc/functions/index.js";export{Reference}from"./calc/types.js";export{checkWorkbook,placeName}from"./check.js";export{csvOf,csvText,dataValue,excelNumber,tableRows}from"./export.js";export{generalForms,generalText,isDateCode,shownColor,shownValue}from"./format.js";export{DEFAULT_COLUMN_WIDTH,DEFAULT_ROW_HEIGHT,headerFooterHtml,sheetHtml,SheetPrint}from"./html.js";export{PAPERS,PRINT_DEFAULTS,paginate}from"./paginate.js";export{DEFAULT_TABLE_STYLE,tableStyleLook,tableStyleOf}from"./table-style.js";export{TABLE_STYLES}from"./table-styles.js";export{PROFILE_TOP,profileTable}from"./profile.js";export{importRows}from"./import.js";export{patchSheetYaml,patchYaml,writeSheetYaml,writeYaml}from"./write.js";export{asWritten,heightToPixels,inPixels,pixelsToHeight,pixelsToWidth,widthToPixels}from"./units.js";export*from"./edit.js";export*from"./rich.js";export*from"./annotations.js";export*from"./arrange.js";export*from"./outline.js";export*from"./data-tools.js";export{NO_LOOK,autoFill,copyLooks,fillDownTo,moveCells,pasteLooks,shiftCells}from"./fill.js";export{seriesAfter}from"./series.js";export{compareForSort,hasHeader,sortCells,sortedOrder,sortedRows}from"./sort.js";export{filterChoices,filteredRows,regionAround}from"./filter.js";export{Rules,colorBetween,compareValues,holds,iconShape}from"./rules.js";export{choicesIn,invalidCells,joinChoices,listValues,separatorOf,valid}from"./validate.js";export{freeColumn,restructure,tableShape,uniqueColumn,withColumnsUpTo}from"./structure.js";export{SHEET_CHART_DEFAULTS,chartAfter,chartDataRange,chartDef,chartOfRange,chartPlace,chartSize,chartSvg,readCells,readDataRange,textOf}from"./chart.js";export{INSPECT_DEFAULTS,SHEET_FACT_KINDS,inspectWorkbook}from"./inspect.js";export{DIFF_DEFAULTS,diffWorkbooks}from"./diff.js";export{tileChart,tileDef,tileSize,tileSvg,TILE_DEFAULTS}from"./tiles.js";export{sheetArea,sparklineCells,sparklinePoints,sparklinesByPlace,sparklineSvg,sparklineValues}from"./sparklines.js";export{lookColorIn}from"./theme.js";
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{cellName as k}from"./address.js";import"./calc/types.js";import{analyse as F}from"./calc/analyse.js";import{ITERATION_DEFAULTS as b}from"./calc/engine.js";import{dataValue as N}from"./export.js";import{shownValue as E}from"./format.js";import{relativeKey as T}from"./formula/move.js";import{exceptionsOf as C}from"./edit.js";import{invalidCells as I}from"./validate.js";import{CellError as _}from"./values.js";import{FormulaCell as v}from"./workbook.js";export const SHEET_FACT_KINDS=["sheet-error","sheet-number","sheet-unlike","sheet-exception","sheet-unused","sheet-invalid","sheet-typed","sheet-ordinary","sheet-iteration"],INSPECT_DEFAULTS={plain:[0,1,-1],around:1};function w(e){const a=new Map;for(const t of e.formulas){const n=a.get(t.shared);n?(n.count+=1,(t.row<n.first.row||t.row===n.first.row&&t.col<n.first.col)&&(n.first=t)):a.set(t.shared,{shared:t.shared,first:t,count:1})}return[...a.values()].sort((t,n)=>t.first.row-n.first.row||t.first.col-n.first.col)}function g(e,a,t){switch(e.kind){case"number":t.push({value:e.value,in:a});return;case"unary":e.op==="-"&&e.arg.kind==="number"?t.push({value:-e.arg.value,in:a}):g(e.arg,e.op,t);return;case"postfix":g(e.arg,e.op,t);return;case"paren":g(e.arg,a,t);return;case"binary":g(e.left,e.op,t),g(e.right,e.op,t);return;case"array":for(const n of e.rows)for(const l of n)g(l,"{}",t);return;case"call":for(const n of e.args)g(n,e.name,t);return;case"invoke":g(e.callee,a,t);for(const n of e.args)g(n,"LAMBDA",t);return;default:return}}function M(e,a){const t={error:!1};for(const n of e.precedents(a))if(e.each(n,l=>{l instanceof _&&(t.error=!0)}),t.error)return!1;return!0}const y=new WeakMap;function A(e){const a=y.get(e);if(a!==void 0)return a;const t=e.node?T(e.node,e.row,e.col):e.text;return y.set(e,t),t}const R=(e,a)=>e instanceof v?e.text:E(e,a);function D(e,a,t){const n=[],l=(r,o)=>{if(r<0||o<0)return;const i=e.at(r,o);return i instanceof v?A(i.shared):void 0},c=(r,o,i,s)=>{const h=i==="column"?1:0,d=i==="row"?1:0,f=e.at(r,o);if(f===void 0||f instanceof v&&A(f.shared)===s)return;for(let m=1;m<=a;m++)if(l(r-h*m,o-d*m)!==s||l(r+h*m,o+d*m)!==s)return;if(t.has(r*16384+o))return;let u=a*2;for(let m=a+1;l(r-h*m,o-d*m)===s;m++)u+=1;for(let m=a+1;l(r+h*m,o+d*m)===s;m++)u+=1;const p=e.at(r-h,o-d);n.push({sheet:e.name,cell:k({row:r,col:o}),holds:R(f,e.lookAt(r,o).format),neighbour:p instanceof v?p.text:"",along:i,run:u})};for(const r of e.formulas){const o=A(r.shared);c(r.row+1,r.col,"column",o),c(r.row,r.col+1,"row",o)}return n.sort((r,o)=>L(r.cell,o.cell))}const L=(e,a)=>e.length-a.length||e.localeCompare(a,"en",{numeric:!0});function U(e,a){const t=[],n=(c,r)=>{c&&t.push(...e.readsOfFormula(c,r))};for(const c of a.sheets){for(const r of c.conditions)for(const o of r.formulas)n(o,c);for(const r of c.validations)for(const o of r.formulas)n(o,c);for(const r of c.charts){n(r.title,c),n(r.categories,c);for(const o of r.series)n(o.values,c),n(o.x,c),n(o.name,c)}}const l=a.sheets[0];if(l){for(const c of a.checks)n(c.formula,l);for(const c of a.names.values())n(c.formula,l)}return t}function K(e){const a=new Set,t=n=>{if(n)for(const l of F(e,n).names)a.add(l)};for(const n of e.sheets){for(const{shared:l}of w(n))t(l);for(const l of n.conditions)l.formulas.forEach(t);for(const l of n.validations)l.formulas.forEach(t);for(const l of n.charts){t(l.title),t(l.categories);for(const c of l.series)t(c.values),t(c.x),t(c.name)}}for(const n of e.checks)t(n.formula);return a}function O(e,a,t){const n=[],l=K(a);for(const o of a.names.values())l.has(o.name.toLowerCase())||n.push({what:"name",name:o.name,value:o.formula?.text??E(o.value??null)});const c=U(e,a),r=(o,i,s)=>c.some(h=>h.sheet===o&&i>=h.top&&i<=h.bottom&&s>=h.left&&s<=h.right)||e.readers(o,i,s).length>0;for(const o of a.sheets){for(let i=0;i<o.columnsUsed;i++){const[s,h]=o.span(i,0,Number.MAX_SAFE_INTEGER);for(let d=s;d<=h;d++){const f=o.at(d,i);typeof f=="number"&&(o.tableAt(d,i)||o.blockAt(d,i)||r(o,d,i)||n.push({what:"cell",sheet:o.name,name:k({row:d,col:i}),value:E(f,o.lookAt(d,i).format)}))}}if(t)for(const i of o.tables)for(const s of i.columns){const h=i.at.col+s.index,{top:d,bottom:f}=i.data;let u=!1;for(let p=d;p<=f&&!u;p++)u=r(o,p,h);u||n.push({what:"column",sheet:o.name,name:`${i.name}[${s.name}]`})}}return n}export function inspectWorkbook(e,a={}){const{wb:t}=e,n=new Set(a.plain??INSPECT_DEFAULTS.plain),l=Math.max(1,a.around??INSPECT_DEFAULTS.around),c=a.all===!0,r=[];for(const s of t.sheets){const h=[...s.formulas].sort((f,u)=>f.row-u.row||f.col-u.col);for(const f of h){const{value:u}=f;u instanceof _&&r.push({kind:"sheet-error",data:{sheet:s.name,cell:k(f),code:u.code,formula:f.text,origin:M(e,f)}})}for(let f=0;f<s.columnsUsed;f++){const[u,p]=s.span(f,0,Number.MAX_SAFE_INTEGER);for(let m=u;m<=p;m++){const x=s.at(m,f);x instanceof _&&r.push({kind:"sheet-error",data:{sheet:s.name,cell:k({row:m,col:f}),code:x.code,origin:!0}})}}for(const{shared:f,first:u,count:p}of w(s)){if(!f.node)continue;const m=[];g(f.node,"=",m);const x=c?m:m.filter(S=>!n.has(S.value));x.length>0&&r.push({kind:"sheet-number",data:{sheet:s.name,cell:k(u),cells:p,formula:u.text,numbers:x}})}const d=new Set;for(const f of s.tables)for(const u of C(f))d.add(u.row*16384+u.col),r.push({kind:"sheet-exception",data:{sheet:s.name,table:f.name,column:u.column,cell:k(u),text:u.text}});for(const f of D(s,l,d))r.push({kind:"sheet-unlike",data:f})}for(const s of O(e,t,c))r.push({kind:"sheet-unused",data:s});for(const s of I(t,e))r.push({kind:"sheet-invalid",data:{sheet:s.sheet,cell:k(s),value:N(s.value,void 0),rule:s.type,range:s.range}});for(const s of t.generated?.typed??[])t.sheet(s.sheet)?.generated===!0&&r.push({kind:"sheet-typed",data:s});for(const s of t.ordinary)r.push({kind:"sheet-ordinary",data:{sheet:s}});const{iterated:o}=e,{iteration:i}=t.file;if(o&&i!==void 0){const s=i===!0?{}:i;r.push({kind:"sheet-iteration",data:{cells:o.cells,iterations:o.iterations,max_iterations:s.max_iterations??b.max_iterations,change:Number.isFinite(o.change)?o.change:null,max_change:s.max_change??b.max_change}})}return r}
2
+ import{cellName as v}from"./address.js";import"./calc/types.js";import{analyse as I}from"./calc/analyse.js";import{ITERATION_DEFAULTS as b}from"./calc/engine.js";import{dataValue as M}from"./export.js";import{shownValue as w}from"./format.js";import{relativeKey as R}from"./formula/move.js";import{exceptionsOf as D}from"./edit.js";import{invalidCells as L}from"./validate.js";import{CellError as N}from"./values.js";import{FormulaCell as A}from"./workbook.js";export const SHEET_FACT_KINDS=["sheet-error","sheet-number","sheet-unlike","sheet-exception","sheet-unused","sheet-invalid","sheet-typed","sheet-ordinary","sheet-iteration"],INSPECT_DEFAULTS={plain:[0,1,-1],around:1};function F(e){const r=new Map;for(const o of e.formulas){const n=r.get(o.shared);n?(n.count+=1,(o.row<n.first.row||o.row===n.first.row&&o.col<n.first.col)&&(n.first=o)):r.set(o.shared,{shared:o.shared,first:o,count:1})}return[...r.values()].sort((o,n)=>o.first.row-n.first.row||o.first.col-n.first.col)}function p(e,r,o){switch(e.kind){case"number":o.push({value:e.value,in:r});return;case"unary":e.op==="-"&&e.arg.kind==="number"?o.push({value:-e.arg.value,in:r}):p(e.arg,e.op,o);return;case"postfix":p(e.arg,e.op,o);return;case"paren":p(e.arg,r,o);return;case"binary":p(e.left,e.op,o),p(e.right,e.op,o);return;case"array":for(const n of e.rows)for(const u of n)p(u,"{}",o);return;case"call":for(const n of e.args)p(n,e.name,o);return;case"invoke":p(e.callee,r,o);for(const n of e.args)p(n,"LAMBDA",o);return;default:return}}function O(e,r,o){return e==="#N/A"&&(!o||/\bNA\(\s*\)/iu.test(r))}function S(e,r){const o={error:!1};for(const n of e.precedents(r))if(e.each(n,u=>{u instanceof N&&(o.error=!0)}),o.error)return!1;return!0}const T=new WeakMap;function y(e){const r=T.get(e);if(r!==void 0)return r;const o=e.node?R(e.node,e.row,e.col):e.text;return T.set(e,o),o}const U=(e,r)=>e instanceof A?e.text:w(e,r);function K(e,r,o){const n=[],u=(s,t)=>{if(s<0||t<0)return;const f=e.at(s,t);return f instanceof A?y(f.shared):void 0},i=(s,t,f,m)=>{const l=f==="column"?1:0,d=f==="row"?1:0,c=e.at(s,t);if(c===void 0||c instanceof A&&y(c.shared)===m)return;for(let a=1;a<=r;a++)if(u(s-l*a,t-d*a)!==m||u(s+l*a,t+d*a)!==m)return;if(o.has(s*16384+t))return;let g=r*2;for(let a=r+1;u(s-l*a,t-d*a)===m;a++)g+=1;for(let a=r+1;u(s+l*a,t+d*a)===m;a++)g+=1;const x=e.at(s-l,t-d);n.push({sheet:e.name,cell:v({row:s,col:t}),holds:U(c,e.lookAt(s,t).format),neighbour:x instanceof A?x.text:"",along:f,run:g})};for(const s of e.formulas){const t=y(s.shared);i(s.row+1,s.col,"column",t),i(s.row,s.col+1,"row",t)}return n.sort((s,t)=>B(s.cell,t.cell))}const B=(e,r)=>e.length-r.length||e.localeCompare(r,"en",{numeric:!0});function G(e,r){const o=[],n=(i,s)=>{i&&o.push(...e.readsOfFormula(i,s))};for(const i of r.sheets){for(const s of i.conditions)for(const t of s.formulas)n(t,i);for(const s of i.validations)for(const t of s.formulas)n(t,i);for(const s of i.charts){n(s.title,i),n(s.categories,i);for(const t of s.series)n(t.values,i),n(t.x,i),n(t.name,i)}}const u=r.sheets[0];if(u){for(const i of r.checks)n(i.formula,u);for(const i of r.names.values())n(i.formula,u)}return o}function P(e){const r=new Set,o=n=>{if(n)for(const u of I(e,n).names)r.add(u)};for(const n of e.sheets){for(const{shared:u}of F(n))o(u);for(const u of n.conditions)u.formulas.forEach(o);for(const u of n.validations)u.formulas.forEach(o);for(const u of n.charts){o(u.title),o(u.categories);for(const i of u.series)o(i.values),o(i.x),o(i.name)}}for(const n of e.checks)o(n.formula);return r}function V(e,r,o){const n=[],u=P(r);for(const t of r.names.values())u.has(t.name.toLowerCase())||n.push({what:"name",name:t.name,value:t.formula?.text??w(t.value??null)});const i=G(e,r),s=(t,f,m)=>i.some(l=>l.sheet===t&&f>=l.top&&f<=l.bottom&&m>=l.left&&m<=l.right)||e.readers(t,f,m).length>0;for(const t of r.sheets){for(let f=0;f<t.columnsUsed;f++){const[m,l]=t.span(f,0,Number.MAX_SAFE_INTEGER);for(let d=m;d<=l;d++){const c=t.at(d,f);typeof c=="number"&&(t.tableAt(d,f)||t.blockAt(d,f)||s(t,d,f)||n.push({what:"cell",sheet:t.name,name:v({row:d,col:f}),value:w(c,t.lookAt(d,f).format)}))}}if(o)for(const f of t.tables)for(const m of f.columns){const l=f.at.col+m.index,{top:d,bottom:c}=f.data;let g=!1;for(let x=d;x<=c&&!g;x++)g=s(t,x,l);g||n.push({what:"column",sheet:t.name,name:`${f.name}[${m.name}]`})}}return n}export function inspectWorkbook(e,r={}){const{wb:o}=e,n=new Set(r.plain??INSPECT_DEFAULTS.plain),u=Math.max(1,r.around??INSPECT_DEFAULTS.around),i=r.all===!0,s=i||r.normal===!0,t=[];for(const c of o.sheets){const g=[...c.formulas].sort((a,h)=>a.row-h.row||a.col-h.col);for(const a of g){const{value:h}=a;h instanceof N&&(s||!O(h.code,a.text,S(e,a)))&&t.push({kind:"sheet-error",data:{sheet:c.name,cell:v(a),code:h.code,formula:a.text,origin:S(e,a)}})}for(let a=0;a<c.columnsUsed;a++){const[h,E]=c.span(a,0,Number.MAX_SAFE_INTEGER);for(let k=h;k<=E;k++){const _=c.at(k,a);_ instanceof N&&t.push({kind:"sheet-error",data:{sheet:c.name,cell:v({row:k,col:a}),code:_.code,origin:!0}})}}for(const{shared:a,first:h,count:E}of s?F(c):[]){if(!a.node)continue;const k=[];p(a.node,"=",k);const _=i?k:k.filter(C=>!n.has(C.value));_.length>0&&t.push({kind:"sheet-number",data:{sheet:c.name,cell:v(h),cells:E,formula:h.text,numbers:_}})}if(!s)continue;const x=new Set;for(const a of c.tables)for(const h of D(a))x.add(h.row*16384+h.col),t.push({kind:"sheet-exception",data:{sheet:c.name,table:a.name,column:h.column,cell:v(h),text:h.text}});for(const a of K(c,u,x))t.push({kind:"sheet-unlike",data:a})}for(const c of s?V(e,o,i):[])t.push({kind:"sheet-unused",data:c});for(const c of L(o,e))t.push({kind:"sheet-invalid",data:{sheet:c.sheet,cell:v(c),value:M(c.value,void 0),rule:c.type,range:c.range}});for(const c of s?o.generated?.typed??[]:[])o.sheet(c.sheet)?.generated===!0&&t.push({kind:"sheet-typed",data:c});for(const c of s?o.ordinary:[])t.push({kind:"sheet-ordinary",data:{sheet:c}});const{iterated:f}=e,{iteration:m}=o.file,l=m===!0?{}:m??{},d=f!==void 0&&Number.isFinite(f.change)&&f.change<=(l.max_change??b.max_change);return f&&m!==void 0&&(s||!d)&&t.push({kind:"sheet-iteration",data:{cells:f.cells,iterations:f.iterations,max_iterations:l.max_iterations??b.max_iterations,change:Number.isFinite(f.change)?f.change:null,max_change:l.max_change??b.max_change}}),t}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{columnIndex as L,columnLetter as k,readArea as D}from"./address.js";import{chartSize as y}from"./chart.js";export const DEFAULT_COLUMN_WIDTH=64,DEFAULT_ROW_HEIGHT=20;const u=96;export const PAPERS={letter:{width:8.5*u,height:11*u},tabloid:{width:11*u,height:17*u},ledger:{width:17*u,height:11*u},legal:{width:8.5*u,height:14*u},executive:{width:7.25*u,height:10.5*u},a3:{width:297/25.4*u,height:420/25.4*u},a4:{width:210/25.4*u,height:297/25.4*u},a5:{width:148/25.4*u,height:210/25.4*u},b4:{width:257/25.4*u,height:364/25.4*u},b5:{width:182/25.4*u,height:257/25.4*u}},PRINT_DEFAULTS={paper:"a4",orientation:"portrait",margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},scale:100};const N=10;export function columnWidth(o,t){const n=o.spec.columns?.[k(t)]?.width;if(n!==void 0)return n;for(const r of o.tables){const l=r.columns[t-r.at.col]?.spec?.width;if(l!==void 0)return l}return DEFAULT_COLUMN_WIDTH}export const rowHeight=(o,t)=>o.spec.rows?.[String(t+1)]?.height??DEFAULT_ROW_HEIGHT,rowHidden=(o,t,n)=>o.filtered(t).has(n)||t.spec.rows?.[String(n+1)]?.hidden===!0,columnHidden=(o,t)=>o.spec.columns?.[k(t)]?.hidden===!0;export function usedWithCharts(o){let t=o.used;for(const{spec:n,at:r}of o.charts){const{width:l,height:h}=y(n);let f=r.col;for(let c=(n.x??0)+l;c>0;f++)c-=columnWidth(o,f);let s=r.row;for(let c=(n.y??0)+h;c>0;s++)c-=rowHeight(o,s);t={top:0,left:0,bottom:Math.max(t?.bottom??0,s-1),right:Math.max(t?.right??0,f-1)}}return t}function U(o){const t=o.spec.print?.area;if(t!==void 0){const r=t.split(",").map(l=>D(l.slice(l.lastIndexOf("!")+1).replaceAll("$","")));if(r.every(l=>l!==void 0))return r}const n=usedWithCharts(o);return n?[n]:[]}function O(o,t){if(o===void 0)return;const[n,r]=o.split(":").map(t);return n===void 0||r===void 0?void 0:{from:Math.min(n,r),to:Math.max(n,r)}}function E(o){const t=[0];for(const n of o)t.push((t[t.length-1]??0)+n);return t}function v(o,t,n,r,l){const h=E(o),f=[];let s=0;for(;s<o.length;){const c=t-n(s);let i=s+1;for(;i<o.length&&!r.has(i)&&(h[i+1]??0)-(h[s]??0)<=c;)i++;if(i<o.length&&!r.has(i))for(let w=!0;w;){w=!1;const x=h[i]??0;for(const m of l){if(!(m.from<x&&x<m.to)||m.to-m.from>c)continue;let d=i;for(;d>s&&(h[d]??0)>m.from;)d--;d>s&&d<i&&(i=d,w=!0)}}f.push({from:s,to:i}),s=i}return f}function _(o,t,n,r){const l=(s,c,i)=>i===void 0?0:s.filter(w=>w<i).reduce((w,x)=>w+c(x),0),h=o.height,f=s=>columnWidth(o.sheet,s);return{down:v(o.heights,t.height/n,s=>l(o.titleRows,h,o.rows[s]),r?o.rowBreaks:new Set,o.rowReaches),across:v(o.widths,t.width/n,s=>l(o.titleCols,f,o.cols[s]),r?o.colBreaks:new Set,o.colReaches)}}function W(o,t,n,r){const l=t.spec.print,h=[];for(let e=n.top;e<=n.bottom;e++)rowHidden(o,t,e)||h.push(e);const f=[];for(let e=n.left;e<=n.right;e++)columnHidden(t,e)||f.push(e);const s=h.map(r),c=f.map(e=>columnWidth(t,e)),i=(e,a)=>{const p=[];if(e)for(let A=e.from;A<=e.to;A++)a(A)||p.push(A);return p},w=i(O(l?.title_rows,e=>/^\d+$/u.test(e)?Number(e)-1:void 0),e=>rowHidden(o,t,e)),x=i(O(l?.title_cols,L),e=>columnHidden(t,e)),m=(e,a)=>new Set(a.map(p=>e.findIndex(A=>A>=p)).filter(p=>p>0)),d=m(h,(l?.breaks?.rows??[]).map(e=>e-1)),M=m(f,(l?.breaks?.cols??[]).flatMap(e=>{const a=L(e);return a===void 0?[]:[a]})),C=E(s),R=E(c),S=(e,a,p,A,I)=>{let T=e.findIndex(B=>B>=p);T<0&&(T=e.length);const H=(a[T]??0)+A;return{from:H,to:H+I}},g=[],b=[];for(const{spec:e,at:a}of t.charts){const p=y(e);g.push(S(h,C,a.row,e.y??0,p.height)),b.push(S(f,R,a.col,e.x??0,p.width))}return{sheet:t,height:r,rows:h,heights:s,cols:f,widths:c,titleRows:w,titleCols:x,rowBreaks:d,colBreaks:M,rowReaches:g,colReaches:b,rowAt:C,colAt:R}}function F(o,t,n,r){const l=t.rowAt[n.from]??0,h=t.rowAt[n.to]??0,f=t.colAt[r.from]??0,s=t.colAt[r.to]??0;if(t.charts.some(c=>c.left<s&&c.left+c.width>f&&c.top<h&&c.top+c.height>l))return!0;for(let c=n.from;c<n.to;c++)for(let i=r.from;i<r.to;i++)if(o.value(t.sheet,t.rows[c]??0,t.cols[i]??0)!==null)return!0;return!1}export function paginate(o,t={}){const n=t.sheets??o.wb.sheets.filter(h=>h.spec.hidden!==!0),r=[],l=[];for(const h of n){const f=h.spec.print,s=PAPERS[f?.paper??PRINT_DEFAULTS.paper],c=(f?.orientation??PRINT_DEFAULTS.orientation)==="landscape"?{width:s.height,height:s.width}:s,i=m=>(f?.margins?.[m]??PRINT_DEFAULTS.margins[m])*u,w={left:i("left"),right:i("right"),top:i("top"),bottom:i("bottom"),header:i("header"),footer:i("footer")},x={width:Math.max(1,c.width-w.left-w.right),height:Math.max(1,c.height-w.top-w.bottom)};for(const m of U(h)){const d=W(o,h,m,g=>t.height?t.height(h,g):rowHeight(h,g));if(d.rows.length===0||d.cols.length===0)continue;const M=f?.fit;let C=f?.scale??PRINT_DEFAULTS.scale,R=_(d,x,C/100,M===void 0);if(M!==void 0){const g=M.width??1,b=M.height??1,e=a=>(g===0||a.across.length<=g)&&(b===0||a.down.length<=b);if(C=100,R=_(d,x,1,!1),!e(R)){let a=N,p=99,A=_(d,x,a/100,!1);for(;a<p;){const I=Math.ceil((a+p)/2),T=_(d,x,I/100,!1);e(T)?(a=I,A=T):p=I-1}C=a,R=A}}const S={sheet:h,rows:d.rows,heights:d.heights,cols:d.cols,widths:d.widths,titleRows:d.titleRows,titleCols:d.titleCols,rowAt:d.rowAt,colAt:d.colAt,charts:h.charts.map((g,b)=>{const e=d.colReaches[b]??{from:0,to:0},a=d.rowReaches[b]??{from:0,to:0};return{chart:g,left:e.from,top:a.from,width:e.to-e.from,height:a.to-a.from}}),down:R.down,across:R.across,paper:c,margins:w,scale:C/100,...f?.header?{header:f.header}:{},...f?.footer?{footer:f.footer}:{}};r.push(S);for(const g of S.across)for(const b of S.down)F(o,S,b,g)&&l.push({of:S,down:b,across:g,number:l.length+1})}}return{sheets:r,pages:l}}export const pageTitleRows=o=>{const t=o.of.rows[o.down.from];return t===void 0?[]:o.of.titleRows.filter(n=>n<t)},pageTitleCols=o=>{const t=o.of.cols[o.across.from];return t===void 0?[]:o.of.titleCols.filter(n=>n<t)};
2
+ import{tileSize as z}from"./tiles.js";import{columnIndex as H,columnLetter as L,readArea as B}from"./address.js";import{chartSize as D}from"./chart.js";export const DEFAULT_COLUMN_WIDTH=64,DEFAULT_ROW_HEIGHT=20;const u=96;export const PAPERS={letter:{width:8.5*u,height:11*u},tabloid:{width:11*u,height:17*u},ledger:{width:17*u,height:11*u},legal:{width:8.5*u,height:14*u},executive:{width:7.25*u,height:10.5*u},a3:{width:297/25.4*u,height:420/25.4*u},a4:{width:210/25.4*u,height:297/25.4*u},a5:{width:148/25.4*u,height:210/25.4*u},b4:{width:257/25.4*u,height:364/25.4*u},b5:{width:182/25.4*u,height:257/25.4*u}},PRINT_DEFAULTS={paper:"a4",orientation:"portrait",margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},scale:100};const N=10;export function columnWidth(o,t){const n=o.spec.columns?.[L(t)]?.width;if(n!==void 0)return n;for(const r of o.tables){const f=r.columns[t-r.at.col]?.spec?.width;if(f!==void 0)return f}return DEFAULT_COLUMN_WIDTH}export const rowHeight=(o,t)=>o.spec.rows?.[String(t+1)]?.height??DEFAULT_ROW_HEIGHT,rowHidden=(o,t,n)=>o.filtered(t).has(n)||t.spec.rows?.[String(n+1)]?.hidden===!0,columnHidden=(o,t)=>o.spec.columns?.[L(t)]?.hidden===!0;export function floating(o){return[...o.charts.map(t=>({spec:t.spec,at:t.at,size:D(t.spec)})),...o.tiles.map(t=>({spec:t.spec,at:t.at,size:z(t)}))]}export function usedWithCharts(o){let t=o.used;for(const{spec:n,at:r,size:f}of floating(o)){const{width:c,height:a}=f;let i=r.col;for(let s=(n.x??0)+c;s>0;i++)s-=columnWidth(o,i);let h=r.row;for(let s=(n.y??0)+a;s>0;h++)s-=rowHeight(o,h);t={top:0,left:0,bottom:Math.max(t?.bottom??0,h-1),right:Math.max(t?.right??0,i-1)}}for(const n of o.sparklines)for(const r of n.cells)t={top:Math.min(t?.top??r.row,r.row),left:Math.min(t?.left??r.col,r.col),bottom:Math.max(t?.bottom??0,r.row),right:Math.max(t?.right??0,r.col)};return t}function U(o){const t=o.spec.print?.area;if(t!==void 0){const r=t.split(",").map(f=>B(f.slice(f.lastIndexOf("!")+1).replaceAll("$","")));if(r.every(f=>f!==void 0))return r}const n=usedWithCharts(o);return n?[n]:[]}function y(o,t){if(o===void 0)return;const[n,r]=o.split(":").map(t);return n===void 0||r===void 0?void 0:{from:Math.min(n,r),to:Math.max(n,r)}}function k(o){const t=[0];for(const n of o)t.push((t[t.length-1]??0)+n);return t}function O(o,t,n,r,f){const c=k(o),a=[];let i=0;for(;i<o.length;){const h=t-n(i);let s=i+1;for(;s<o.length&&!r.has(s)&&(c[s+1]??0)-(c[i]??0)<=h;)s++;if(s<o.length&&!r.has(s))for(let p=!0;p;){p=!1;const x=c[s]??0;for(const m of f){if(!(m.from<x&&x<m.to)||m.to-m.from>h)continue;let l=s;for(;l>i&&(c[l]??0)>m.from;)l--;l>i&&l<s&&(s=l,p=!0)}}a.push({from:i,to:s}),i=s}return a}function _(o,t,n,r){const f=(i,h,s)=>s===void 0?0:i.filter(p=>p<s).reduce((p,x)=>p+h(x),0),c=o.height,a=i=>columnWidth(o.sheet,i);return{down:O(o.heights,t.height/n,i=>f(o.titleRows,c,o.rows[i]),r?o.rowBreaks:new Set,o.rowReaches),across:O(o.widths,t.width/n,i=>f(o.titleCols,a,o.cols[i]),r?o.colBreaks:new Set,o.colReaches)}}function W(o,t,n,r){const f=t.spec.print,c=[];for(let e=n.top;e<=n.bottom;e++)rowHidden(o,t,e)||c.push(e);const a=[];for(let e=n.left;e<=n.right;e++)columnHidden(t,e)||a.push(e);const i=c.map(r),h=a.map(e=>columnWidth(t,e)),s=(e,d)=>{const w=[];if(e)for(let A=e.from;A<=e.to;A++)d(A)||w.push(A);return w},p=s(y(f?.title_rows,e=>/^\d+$/u.test(e)?Number(e)-1:void 0),e=>rowHidden(o,t,e)),x=s(y(f?.title_cols,H),e=>columnHidden(t,e)),m=(e,d)=>new Set(d.map(w=>e.findIndex(A=>A>=w)).filter(w=>w>0)),l=m(c,(f?.breaks?.rows??[]).map(e=>e-1)),C=m(a,(f?.breaks?.cols??[]).flatMap(e=>{const d=H(e);return d===void 0?[]:[d]})),S=k(i),R=k(h),M=(e,d,w,A,I)=>{let T=e.findIndex(v=>v>=w);T<0&&(T=e.length);const E=(d[T]??0)+A;return{from:E,to:E+I}},g=[],b=[];for(const{spec:e,at:d,size:w}of floating(t))g.push(M(c,S,d.row,e.y??0,w.height)),b.push(M(a,R,d.col,e.x??0,w.width));return{sheet:t,height:r,rows:c,heights:i,cols:a,widths:h,titleRows:p,titleCols:x,rowBreaks:l,colBreaks:C,rowReaches:g,colReaches:b,rowAt:S,colAt:R}}function F(o,t,n,r){const f=t.rowAt[n.from]??0,c=t.rowAt[n.to]??0,a=t.colAt[r.from]??0,i=t.colAt[r.to]??0;if(t.charts.some(h=>h.left<i&&h.left+h.width>a&&h.top<c&&h.top+h.height>f))return!0;for(let h=n.from;h<n.to;h++)for(let s=r.from;s<r.to;s++)if(o.value(t.sheet,t.rows[h]??0,t.cols[s]??0)!==null)return!0;return!1}export function paginate(o,t={}){const n=t.sheets??o.wb.sheets.filter(c=>c.spec.hidden!==!0),r=[],f=[];for(const c of n){const a=c.spec.print,i=PAPERS[a?.paper??PRINT_DEFAULTS.paper],h=(a?.orientation??PRINT_DEFAULTS.orientation)==="landscape"?{width:i.height,height:i.width}:i,s=m=>(a?.margins?.[m]??PRINT_DEFAULTS.margins[m])*u,p={left:s("left"),right:s("right"),top:s("top"),bottom:s("bottom"),header:s("header"),footer:s("footer")},x={width:Math.max(1,h.width-p.left-p.right),height:Math.max(1,h.height-p.top-p.bottom)};for(const m of U(c)){const l=W(o,c,m,g=>t.height?t.height(c,g):rowHeight(c,g));if(l.rows.length===0||l.cols.length===0)continue;const C=a?.fit;let S=a?.scale??PRINT_DEFAULTS.scale,R=_(l,x,S/100,C===void 0);if(C!==void 0){const g=C.width??1,b=C.height??1,e=d=>(g===0||d.across.length<=g)&&(b===0||d.down.length<=b);if(S=100,R=_(l,x,1,!1),!e(R)){let d=N,w=99,A=_(l,x,d/100,!1);for(;d<w;){const I=Math.ceil((d+w)/2),T=_(l,x,I/100,!1);e(T)?(d=I,A=T):w=I-1}S=d,R=A}}const M={sheet:c,rows:l.rows,heights:l.heights,cols:l.cols,widths:l.widths,titleRows:l.titleRows,titleCols:l.titleCols,rowAt:l.rowAt,colAt:l.colAt,charts:c.charts.map((g,b)=>{const e=l.colReaches[b]??{from:0,to:0},d=l.rowReaches[b]??{from:0,to:0};return{chart:g,left:e.from,top:d.from,width:e.to-e.from,height:d.to-d.from}}),down:R.down,across:R.across,paper:h,margins:p,scale:S/100,...a?.header?{header:a.header}:{},...a?.footer?{footer:a.footer}:{}};r.push(M);for(const g of M.across)for(const b of M.down)F(o,M,b,g)&&f.push({of:M,down:b,across:g,number:f.length+1})}}return{sheets:r,pages:f}}export const pageTitleRows=o=>{const t=o.of.rows[o.down.from];return t===void 0?[]:o.of.titleRows.filter(n=>n<t)},pageTitleCols=o=>{const t=o.of.cols[o.across.from];return t===void 0?[]:o.of.titleCols.filter(n=>n<t)};
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{cellName as x}from"./address.js";import{shownValue as A}from"./format.js";import{paginate as j}from"./paginate.js";const y=7,D=5,S=11,E=1e3,d=6,b=(n,r)=>Math.max(0,(n-D)/y)*(S/r);export function printedFacts(n){return j(n).sheets.map(e=>{const{sheet:o}=e,t={sheet:o.name,across:e.across.length,down:e.down.length,scale:e.scale,cut:[],hashed:[],unformatted:[]},i=new Map(e.cols.map((s,u)=>[s,e.widths[u]??0]));for(const s of e.rows)for(const[u,h]of e.cols.entries()){const a=n.value(o,s,h);if(a===null||a===""||o.mergeAt(s,h)!==void 0)continue;const c=o.lookAt(s,h),l=x({row:s,col:h});if(typeof a=="number"&&Math.abs(a)>=E&&(c.format===void 0||c.format==="General")&&t.unformatted.push(l),c.wrap===!0||c.shrink===!0)continue;const $=Array.from(A(a,c.format)).length,w=c.size??S;if(typeof a=="number"){$>b(i.get(h)??0,w)&&t.hashed.push(l);continue}let g=i.get(h)??0;for(let m=u+1;m<e.cols.length;m++){const p=e.cols[m]??0;if(!M(n,o,s,p))break;g+=i.get(p)??0}$>b(g,w)&&t.cut.push(l)}return t})}const M=(n,r,e,o)=>{const t=n.value(r,e,o);return t===null||t===""},f=n=>n.length<=d?n.join(", "):`${n.slice(0,d).join(", ")} and ${String(n.length-d)} more`;export function printedLines(n,r){const e=printedFacts(r),o=[`${n}: as it prints, ${e.map(t=>`${t.sheet} ${String(t.across*t.down)} page${t.across*t.down===1?"":"s"} (${String(t.across)} across, ${String(t.down)} down, at ${String(Math.round(t.scale*100))}%)`).join("; ")}.`];for(const t of e)t.cut.length>0&&o.push(`${n}: ${t.sheet}: ${String(t.cut.length)} cell${t.cut.length===1?"'s":"s'"} text longer than its column and the empty cells after it hold, cut where the next cell starts: ${f(t.cut)}.`),t.hashed.length>0&&o.push(`${n}: ${t.sheet}: ${String(t.hashed.length)} number${t.hashed.length===1?"":"s"} wider than its column, which Excel shows as ####: ${f(t.hashed)}.`),t.unformatted.length>0&&o.push(`${n}: ${t.sheet}: ${String(t.unformatted.length)} number${t.unformatted.length===1?"":"s"} of 1,000 or more with no number format, shown as Excel's General shows them, with no separators (as a year is written): ${f(t.unformatted)}.`);return o}
2
+ import{cellName as S}from"./address.js";import{shownValue as E}from"./format.js";import{paginate as j}from"./paginate.js";const y=7,N=5,b=11,D=1e3,d=6,x=(n,s)=>Math.max(0,(n-N)/y)*(b/s);export function printedFacts(n){return j(n).sheets.map(e=>{const{sheet:o}=e,t={sheet:o.name,printed:A(e.rows,e.cols),filled:G(n,o),across:e.across.length,down:e.down.length,scale:e.scale,cut:[],hashed:[],unformatted:[]},l=new Map(e.cols.map((r,i)=>[r,e.widths[i]??0]));for(const r of e.rows)for(const[i,h]of e.cols.entries()){const a=n.value(o,r,h);if(a===null||a===""||o.mergeAt(r,h)!==void 0)continue;const c=o.lookAt(r,h),u=S({row:r,col:h});if(typeof a=="number"&&Math.abs(a)>=D&&(c.format===void 0||c.format==="General")&&t.unformatted.push(u),c.wrap===!0||c.shrink===!0)continue;const $=Array.from(E(a,c.format)).length,p=c.size??b;if(typeof a=="number"){$>x(l.get(h)??0,p)&&t.hashed.push(u);continue}let w=l.get(h)??0;for(let m=i+1;m<e.cols.length;m++){const g=e.cols[m]??0;if(!M(n,o,r,g))break;w+=l.get(g)??0}$>x(w,p)&&t.cut.push(u)}return t})}function A(n,s){if(n.length===0||s.length===0)return"";const e=(o,t)=>S({row:o,col:t});return`${e(Math.min(...n),Math.min(...s))}:${e(Math.max(...n),Math.max(...s))}`}function G(n,s){const e=[],o=[];for(let t=0;t<s.columnsUsed;t++){const[l,r]=s.span(t,0,Number.MAX_SAFE_INTEGER);for(let i=l;i<=r;i++)M(n,s,i,t)||(e.push(i),o.push(t))}return A(e,o)}const M=(n,s,e,o)=>{const t=n.value(s,e,o);return t===null||t===""},f=n=>n.length<=d?n.join(", "):`${n.slice(0,d).join(", ")} and ${String(n.length-d)} more`;export function printedLines(n,s){const e=printedFacts(s),o=[`${n}: as it prints, ${e.map(t=>`${t.sheet} ${t.printed===t.filled||t.filled===""?t.printed:`${t.printed} of ${t.filled}`} in ${String(t.across*t.down)} page${t.across*t.down===1?"":"s"} (${String(t.across)} across, ${String(t.down)} down, at ${String(Math.round(t.scale*100))}%)`).join("; ")}.`];for(const t of e)t.cut.length>0&&o.push(`${n}: ${t.sheet}: ${String(t.cut.length)} cell${t.cut.length===1?"'s":"s'"} text longer than its column and the empty cells after it hold, cut where the next cell starts: ${f(t.cut)}.`),t.hashed.length>0&&o.push(`${n}: ${t.sheet}: ${String(t.hashed.length)} number${t.hashed.length===1?"":"s"} wider than its column, which Excel shows as ####: ${f(t.hashed)}.`),t.unformatted.length>0&&o.push(`${n}: ${t.sheet}: ${String(t.unformatted.length)} number${t.unformatted.length===1?"":"s"} of 1,000 or more with no number format, shown as Excel's General shows them, with no separators (as a year is written): ${f(t.unformatted)}.`);return o}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- export{Alignment,AreaChart,AutoFilter,BLOCK_CELLS,BarChart,Comment,Image,PageMargins,PageSetup,Border,CAPABILITIES,Cell,CellIsRule,ChartBase,Color,ColorScaleRule,ColumnDimension,ConditionalFormattingList,DataBarRule,DataLabelList,DataValidation,DataValidationList,DefinedName,DefinedNameDict,DifferentialStyle,DoughnutChart,Font,FormulaRule,GraphicalProperties,IconSetRule,Legend,LineChart,LineProperties,Marker,NumericAxis,PatternFill,PieChart,Reference,RowDimension,Rule,Scaling,ScatterChart,Series,Side,Table,TableList,TextAxis,Workbook,Worksheet,column_index_from_string,coordinate_to_tuple,get_column_letter,load_workbook,range_boundaries,workbook}from"./api/index.js";
2
+ export{Alignment,AreaChart,AutoFilter,BLOCK_CELLS,BarChart,Comment,Image,PageMargins,PageSetup,Border,CAPABILITIES,Cell,CellIsRule,ChartBase,Color,ColorScaleRule,ColumnDimension,ConditionalFormattingList,DataBarRule,DataLabelList,DataValidation,DataValidationList,DefinedName,DefinedNameDict,DifferentialStyle,DoughnutChart,Font,FormulaRule,GraphicalProperties,IconSetRule,Legend,LineChart,LineProperties,Marker,NamedStyle,NumericAxis,PatternFill,PieChart,Reference,RowDimension,Rule,Scaling,ScatterChart,Series,Side,Table,TableList,TextAxis,Workbook,Worksheet,column_index_from_string,coordinate_to_tuple,get_column_letter,load_workbook,range_boundaries,workbook}from"./api/index.js";
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{readArea as y,rangeName as M}from"./address.js";import{readCells as j}from"./chart.js";import{sheetPrefix as B}from"./formula/print.js";import{chartFormula as G,SharedFormula as I}from"./workbook.js";export function sheetArea(i){const t=i.lastIndexOf("!"),e=t<0?void 0:i.slice(0,t),n=e===void 0?void 0:/^'.*'$/u.test(e)?e.slice(1,-1).replaceAll("''","'"):e,s=y((t<0?i:i.slice(t+1)).replace(/\$/gu,""));return s===void 0?void 0:{...n===void 0?{}:{sheet:n},area:s}}export function sparklineCells(i,t){const e=y(t.at.replace(/\$/gu,"")),n=sheetArea(t.data.replace(/^=/u,""));if(e===void 0)return{problem:`${t.at} is not a cell or a range of cells`};if(n===void 0)return{problem:`${t.data} is not a range`};const s=n.sheet??i,c=B(s),r=n.area,f=r.bottom-r.top+1,o=r.right-r.left+1,p=[],a=[];for(let u=e.top;u<=e.bottom;u++)for(let m=e.left;m<=e.right;m++)a.push({row:u,col:m});if(a.length===1){const u=a[0];return u===void 0?{problem:`${t.at} is no cell`}:f>1&&o>1?{problem:`one cell draws a row or a column of values, not ${t.data}; for a block of rows, at is a column of cells, one a row`}:{cells:[{...u,data:c+M(r)}]}}const w=e.left===e.right,x=e.top===e.bottom;if(w&&a.length===f)a.forEach((u,m)=>{p.push({...u,data:c+M({...r,top:r.top+m,bottom:r.top+m})})});else if(x&&a.length===o)a.forEach((u,m)=>{p.push({...u,data:c+M({...r,left:r.left+m,right:r.left+m})})});else return{problem:`${t.at} has ${String(a.length)} cells, and ${t.data} ${String(f)} rows and ${String(o)} columns: a column of cells draws a row of the data each, a row of cells a column each`};return{cells:p}}export function sparklineValues(i,t,e){const n=new I(G(e),0,0,{file:"",path:[]});return n.node?j(i,t,n).map(s=>typeof s.value=="number"&&Number.isFinite(s.value)?s.value:null):[]}const d=i=>String(Math.round(i*100)/100);export function sparklineSvg(i,t,e,n,s){const c=i.map(l=>l??NaN),r=c.filter(l=>Number.isFinite(l));if(r.length===0)return"";const f=t.type??"line",o=2,p=Math.min(...r)<0&&Math.max(...r)>0,a=p?Math.min(...r,0):Math.min(...r),x=(p?Math.max(...r,0):Math.max(...r))-a||1,u=l=>o+(n-2*o)*(1-(l-a)/x),m=c.length,F=c.indexOf(Math.max(...r)),A=c.indexOf(Math.min(...r)),v=c.findIndex(l=>Number.isFinite(l)),S=c.length-1-[...c].reverse().findIndex(l=>Number.isFinite(l)),N=l=>t.high===!0&&l===F||t.low===!0&&l===A||t.first===!0&&l===v||t.last===!0&&l===S||t.negative===!0&&(c[l]??0)<0,k=[];if(f==="line"){const l=h=>o+(e-2*o)*h/Math.max(1,m-1);let b="",$=!1;c.forEach((h,g)=>{if(!Number.isFinite(h)){$=!1;return}b+=`${$?"L":"M"}${d(l(g))} ${d(u(h))}`,$=!0}),k.push(`<path d="${b}" fill="none" stroke="${s.series}" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round" vector-effect="non-scaling-stroke"/>`),c.forEach((h,g)=>{Number.isFinite(h)&&(t.markers===!0||N(g))&&k.push(`<circle cx="${d(l(g))}" cy="${d(u(h))}" r="2" fill="${N(g)?s.marks:s.series}"/>`)})}else{const l=(e-2*o)/Math.max(1,m),b=l*.7,$=f==="win_loss"?n/2:p?u(0):n-o;c.forEach((h,g)=>{if(!Number.isFinite(h)||f==="win_loss"&&h===0)return;const E=o+l*g+(l-b)/2,C=f==="win_loss"?h>0?o:n/2:Math.min(u(h),$),_=f==="win_loss"?n/2-o:Math.max(1,Math.abs(u(h)-$)),L=N(g)||t.negative===!0&&h<0?s.marks:s.series;k.push(`<rect x="${d(E)}" y="${d(C)}" width="${d(b)}" height="${d(_)}" fill="${L}"/>`)})}return`<svg xmlns="http://www.w3.org/2000/svg" width="${d(e)}" height="${d(n)}" viewBox="0 0 ${d(e)} ${d(n)}" preserveAspectRatio="none">${k.join("")}</svg>`}export function sparklineGroupXml(i,t){const e=i.spec,n=o=>`FF${o.replace(/^#/u,"").toUpperCase()}`,s=(o,p)=>e[o]===!0?` ${p}="1"`:"",c=e.type==="column"?' type="column"':e.type==="win_loss"?' type="stacked"':"",r=n(t.marks),f=i.cells.map(o=>`<x14:sparkline><xm:f>${o.data.replace(/&/gu,"&amp;").replace(/</gu,"&lt;")}</xm:f><xm:sqref>${M({top:o.row,left:o.col,bottom:o.row,right:o.col})}</xm:sqref></x14:sparkline>`).join("");return`<x14:sparklineGroup displayEmptyCellsAs="gap"${c}${s("markers","markers")}${s("high","high")}${s("low","low")}${s("first","first")}${s("last","last")}${s("negative","negative")}><x14:colorSeries rgb="${n(t.series)}"/><x14:colorNegative rgb="${r}"/><x14:colorAxis rgb="FF000000"/><x14:colorMarkers rgb="${r}"/><x14:colorFirst rgb="${r}"/><x14:colorLast rgb="${r}"/><x14:colorHigh rgb="${r}"/><x14:colorLow rgb="${r}"/><x14:sparklines>${f}</x14:sparklines></x14:sparklineGroup>`}export function sparklinesByPlace(i){const t=new Map;for(const e of i.sparklines)for(const n of e.cells)t.set(`${String(n.row)},${String(n.col)}`,{group:e,data:n.data});return t}export function sparklinePoints(i,t,e,n,s,c){const r=sparklineSvg(i,t,s,c,{series:"S",marks:"M"}),f=[],o=[],p=[];for(const a of r.matchAll(/<path d="([^"]*)"/gu))for(const w of(a[1]??"").split("M").filter(Boolean))p.push(w.split("L").map(x=>{const[u="0",m="0"]=x.trim().split(" ");return{x:e+Number(u),y:n+Number(m)}}));for(const a of r.matchAll(/<circle cx="([^"]*)" cy="([^"]*)" r="[^"]*" fill="(S|M)"/gu))f.push({x:e+Number(a[1]),y:n+Number(a[2]),marked:a[3]==="M"});for(const a of r.matchAll(/<rect x="([^"]*)" y="([^"]*)" width="([^"]*)" height="([^"]*)" fill="(S|M)"/gu))o.push({x:e+Number(a[1]),y:n+Number(a[2]),w:Number(a[3]),h:Number(a[4]),marked:a[5]==="M"});return{...p.length>0?{line:p}:{},dots:f,bars:o}}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{TABLE_STYLES as S}from"./table-styles.js";export const DEFAULT_TABLE_STYLE="TableStyleMedium2",tableStyleOf=o=>o.spec.style==="none"?void 0:S[o.spec.style??DEFAULT_TABLE_STYLE];export function tableStyleLook(o,h,p,i,c){const{area:e}=h,r={},u={},n=(t,g)=>{if(!t)return;t.bold!==void 0&&(r.bold=t.bold),t.color!==void 0&&(r.color=t.color),t.fill!==void 0&&(r.fill=t.fill);const m=t.border;if(!m)return;const l=(b,L)=>{const a=g[b]?m[b]:m[L];a&&(u[b]=a)};l("left","vertical"),l("right","vertical"),l("top","horizontal"),l("bottom","horizontal")},s={left:i===e.left,right:i===e.right},_={top:p===e.top,bottom:p===e.bottom},d={left:!0,right:!0,..._},f=h.spec;return n(o.whole,{...s,..._}),f.banded_columns===!0&&n((i-e.left)%2===0?o.column:o.column2,d),c!==void 0&&f.banded_rows!==!1&&n(c%2===0?o.stripe:o.stripe2,{...s,top:!0,bottom:!0}),f.last_column===!0&&i===e.right&&n(o.last,d),f.first_column===!0&&i===e.left&&n(o.first,d),c===void 0&&n(o.header,{...s,top:!0,bottom:!0}),Object.keys(u).length>0&&(r.border=u),r}
2
+ import{OFFICE_COLORS as S}from"@allyhub/formats";import{TABLE_STYLES as T}from"./table-styles.js";import{themed as O,themeOrder as k}from"./theme.js";export const DEFAULT_TABLE_STYLE="TableStyleMedium2";const p=new Map;function y(n,i){const c=o=>{if(!o)return;const e={...o};if(o.color!==void 0&&(e.color=O(o.color,i)),o.fill!==void 0&&(e.fill=O(o.fill,i)),o.border){const t={};for(const[s,f]of Object.entries(o.border))t[s]={style:f.style,color:O(f.color,i)};e.border=t}return e},r={};for(const[o,e]of Object.entries(n)){const t=c(e);t&&(r[o]=t)}return r}export function tableStyleOf(n){if(n.spec.style==="none")return;const i=n.spec.style??DEFAULT_TABLE_STYLE,c=T[i];if(!c)return;const r=n.sheet.book?.themeOrder??F,o=r.join();let e=p.get(o);e||(e=new Map,p.set(o,e));let t=e.get(i);return t||(t=y(c,r),e.set(i,t)),t}const F=k(S);export function tableStyleLook(n,i,c,r,o){const{area:e}=i,t={},s={},f=(l,E)=>{if(!l)return;l.bold!==void 0&&(t.bold=l.bold),l.color!==void 0&&(t.color=l.color),l.fill!==void 0&&(t.fill=l.fill);const h=l.border;if(!h)return;const d=(a,L)=>{const g=E[a]?h[a]:h[L];g&&(s[a]=g)};d("left","vertical"),d("right","vertical"),d("top","horizontal"),d("bottom","horizontal")},m={left:r===e.left,right:r===e.right},_={top:c===e.top,bottom:c===e.bottom},b={left:!0,right:!0,..._},u=i.spec;return f(n.whole,{...m,..._}),u.banded_columns===!0&&f((r-e.left)%2===0?n.column:n.column2,b),o!==void 0&&u.banded_rows!==!1&&f(o%2===0?n.stripe:n.stripe2,{...m,top:!0,bottom:!0}),u.last_column===!0&&r===e.right&&f(n.last,b),u.first_column===!0&&r===e.left&&f(n.first,b),o===void 0&&f(n.header,{...m,top:!0,bottom:!0}),Object.keys(s).length>0&&(t.border=s),t}
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- export const TABLE_STYLES={TableStyleDark1:{whole:{color:"#FFFFFF",fill:"#737373"},header:{bold:!0,color:"#FFFFFF",fill:"#000000",border:{bottom:{style:"medium",color:"#FFFFFF"}}},first:{bold:!0,color:"#FFFFFF",fill:"#404040",border:{right:{style:"medium",color:"#FFFFFF"}}},last:{bold:!0,color:"#FFFFFF",fill:"#404040",border:{left:{style:"medium",color:"#FFFFFF"}}},stripe:{fill:"#404040"},column:{fill:"#404040"}},TableStyleDark2:{whole:{color:"#FFFFFF",fill:"#4472C4"},header:{bold:!0,color:"#FFFFFF",fill:"#000000",border:{bottom:{style:"medium",color:"#FFFFFF"}}},first:{bold:!0,color:"#FFFFFF",fill:"#2F5597",border:{right:{style:"medium",color:"#FFFFFF"}}},last:{bold:!0,color:"#FFFFFF",fill:"#2F5597",border:{left:{style:"medium",color:"#FFFFFF"}}},stripe:{fill:"#2F5597"},column:{fill:"#2F5597"}},TableStyleDark3:{whole:{color:"#FFFFFF",fill:"#ED7D31"},header:{bold:!0,color:"#FFFFFF",fill:"#000000",border:{bottom:{style:"medium",color:"#FFFFFF"}}},first:{bold:!0,color:"#FFFFFF",fill:"#C55A11",border:{right:{style:"medium",color:"#FFFFFF"}}},last:{bold:!0,color:"#FFFFFF",fill:"#C55A11",border:{left:{style:"medium",color:"#FFFFFF"}}},stripe:{fill:"#C55A11"},column:{fill:"#C55A11"}},TableStyleDark4:{whole:{color:"#FFFFFF",fill:"#A5A5A5"},header:{bold:!0,color:"#FFFFFF",fill:"#000000",border:{bottom:{style:"medium",color:"#FFFFFF"}}},first:{bold:!0,color:"#FFFFFF",fill:"#7C7C7C",border:{right:{style:"medium",color:"#FFFFFF"}}},last:{bold:!0,color:"#FFFFFF",fill:"#7C7C7C",border:{left:{style:"medium",color:"#FFFFFF"}}},stripe:{fill:"#7C7C7C"},column:{fill:"#7C7C7C"}},TableStyleDark5:{whole:{color:"#FFFFFF",fill:"#FFC000"},header:{bold:!0,color:"#FFFFFF",fill:"#000000",border:{bottom:{style:"medium",color:"#FFFFFF"}}},first:{bold:!0,color:"#FFFFFF",fill:"#BF9000",border:{right:{style:"medium",color:"#FFFFFF"}}},last:{bold:!0,color:"#FFFFFF",fill:"#BF9000",border:{left:{style:"medium",color:"#FFFFFF"}}},stripe:{fill:"#BF9000"},column:{fill:"#BF9000"}},TableStyleDark6:{whole:{color:"#FFFFFF",fill:"#5B9BD5"},header:{bold:!0,color:"#FFFFFF",fill:"#000000",border:{bottom:{style:"medium",color:"#FFFFFF"}}},first:{bold:!0,color:"#FFFFFF",fill:"#2E75B6",border:{right:{style:"medium",color:"#FFFFFF"}}},last:{bold:!0,color:"#FFFFFF",fill:"#2E75B6",border:{left:{style:"medium",color:"#FFFFFF"}}},stripe:{fill:"#2E75B6"},column:{fill:"#2E75B6"}},TableStyleDark7:{whole:{color:"#FFFFFF",fill:"#70AD47"},header:{bold:!0,color:"#FFFFFF",fill:"#000000",border:{bottom:{style:"medium",color:"#FFFFFF"}}},first:{bold:!0,color:"#FFFFFF",fill:"#548235",border:{right:{style:"medium",color:"#FFFFFF"}}},last:{bold:!0,color:"#FFFFFF",fill:"#548235",border:{left:{style:"medium",color:"#FFFFFF"}}},stripe:{fill:"#548235"},column:{fill:"#548235"}},TableStyleDark8:{whole:{fill:"#D9D9D9"},header:{color:"#FFFFFF",fill:"#000000"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#A6A6A6"},column:{fill:"#A6A6A6"}},TableStyleDark9:{whole:{fill:"#DAE3F3"},header:{color:"#FFFFFF",fill:"#ED7D31"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#B4C7E7"},column:{fill:"#B4C7E7"}},TableStyleDark10:{whole:{fill:"#EDEDED"},header:{color:"#FFFFFF",fill:"#FFC000"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#DBDBDB"},column:{fill:"#DBDBDB"}},TableStyleDark11:{whole:{fill:"#DEEBF7"},header:{color:"#FFFFFF",fill:"#70AD47"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#BDD7EE"},column:{fill:"#BDD7EE"}},TableStyleLight1:{whole:{color:"#000000",border:{top:{style:"thin",color:"#000000"},bottom:{style:"thin",color:"#000000"}}},header:{bold:!0,color:"#000000",border:{bottom:{style:"thin",color:"#000000"}}},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#D9D9D9"},column:{fill:"#D9D9D9"}},TableStyleLight2:{whole:{color:"#2F5597",border:{top:{style:"thin",color:"#4472C4"},bottom:{style:"thin",color:"#4472C4"}}},header:{bold:!0,color:"#2F5597",border:{bottom:{style:"thin",color:"#4472C4"}}},first:{bold:!0,color:"#2F5597"},last:{bold:!0,color:"#2F5597"},stripe:{fill:"#DAE3F3"},column:{fill:"#DAE3F3"}},TableStyleLight3:{whole:{color:"#C55A11",border:{top:{style:"thin",color:"#ED7D31"},bottom:{style:"thin",color:"#ED7D31"}}},header:{bold:!0,color:"#C55A11",border:{bottom:{style:"thin",color:"#ED7D31"}}},first:{bold:!0,color:"#C55A11"},last:{bold:!0,color:"#C55A11"},stripe:{fill:"#FBE5D6"},column:{fill:"#FBE5D6"}},TableStyleLight4:{whole:{color:"#7C7C7C",border:{top:{style:"thin",color:"#A5A5A5"},bottom:{style:"thin",color:"#A5A5A5"}}},header:{bold:!0,color:"#7C7C7C",border:{bottom:{style:"thin",color:"#A5A5A5"}}},first:{bold:!0,color:"#7C7C7C"},last:{bold:!0,color:"#7C7C7C"},stripe:{fill:"#EDEDED"},column:{fill:"#EDEDED"}},TableStyleLight5:{whole:{color:"#BF9000",border:{top:{style:"thin",color:"#FFC000"},bottom:{style:"thin",color:"#FFC000"}}},header:{bold:!0,color:"#BF9000",border:{bottom:{style:"thin",color:"#FFC000"}}},first:{bold:!0,color:"#BF9000"},last:{bold:!0,color:"#BF9000"},stripe:{fill:"#FFF2CC"},column:{fill:"#FFF2CC"}},TableStyleLight6:{whole:{color:"#2E75B6",border:{top:{style:"thin",color:"#5B9BD5"},bottom:{style:"thin",color:"#5B9BD5"}}},header:{bold:!0,color:"#2E75B6",border:{bottom:{style:"thin",color:"#5B9BD5"}}},first:{bold:!0,color:"#2E75B6"},last:{bold:!0,color:"#2E75B6"},stripe:{fill:"#DEEBF7"},column:{fill:"#DEEBF7"}},TableStyleLight7:{whole:{color:"#548235",border:{top:{style:"thin",color:"#70AD47"},bottom:{style:"thin",color:"#70AD47"}}},header:{bold:!0,color:"#548235",border:{bottom:{style:"thin",color:"#70AD47"}}},first:{bold:!0,color:"#548235"},last:{bold:!0,color:"#548235"},stripe:{fill:"#E2F0D9"},column:{fill:"#E2F0D9"}},TableStyleLight8:{whole:{color:"#000000",border:{left:{style:"thin",color:"#000000"},right:{style:"thin",color:"#000000"},top:{style:"thin",color:"#000000"},bottom:{style:"thin",color:"#000000"}}},header:{bold:!0,color:"#FFFFFF",fill:"#000000"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{border:{top:{style:"thin",color:"#000000"}}},stripe2:{border:{top:{style:"thin",color:"#000000"}}},column:{border:{left:{style:"thin",color:"#000000"}}},column2:{border:{left:{style:"thin",color:"#000000"}}}},TableStyleLight9:{whole:{color:"#000000",border:{left:{style:"thin",color:"#4472C4"},right:{style:"thin",color:"#4472C4"},top:{style:"thin",color:"#4472C4"},bottom:{style:"thin",color:"#4472C4"}}},header:{bold:!0,color:"#FFFFFF",fill:"#4472C4"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{border:{top:{style:"thin",color:"#4472C4"}}},stripe2:{border:{top:{style:"thin",color:"#4472C4"}}},column:{border:{left:{style:"thin",color:"#4472C4"}}},column2:{border:{left:{style:"thin",color:"#4472C4"}}}},TableStyleLight10:{whole:{color:"#000000",border:{left:{style:"thin",color:"#ED7D31"},right:{style:"thin",color:"#ED7D31"},top:{style:"thin",color:"#ED7D31"},bottom:{style:"thin",color:"#ED7D31"}}},header:{bold:!0,color:"#FFFFFF",fill:"#ED7D31"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{border:{top:{style:"thin",color:"#ED7D31"}}},stripe2:{border:{top:{style:"thin",color:"#ED7D31"}}},column:{border:{left:{style:"thin",color:"#ED7D31"}}},column2:{border:{left:{style:"thin",color:"#ED7D31"}}}},TableStyleLight11:{whole:{color:"#000000",border:{left:{style:"thin",color:"#A5A5A5"},right:{style:"thin",color:"#A5A5A5"},top:{style:"thin",color:"#A5A5A5"},bottom:{style:"thin",color:"#A5A5A5"}}},header:{bold:!0,color:"#FFFFFF",fill:"#A5A5A5"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{border:{top:{style:"thin",color:"#A5A5A5"}}},stripe2:{border:{top:{style:"thin",color:"#A5A5A5"}}},column:{border:{left:{style:"thin",color:"#A5A5A5"}}},column2:{border:{left:{style:"thin",color:"#A5A5A5"}}}},TableStyleLight12:{whole:{color:"#000000",border:{left:{style:"thin",color:"#FFC000"},right:{style:"thin",color:"#FFC000"},top:{style:"thin",color:"#FFC000"},bottom:{style:"thin",color:"#FFC000"}}},header:{bold:!0,color:"#FFFFFF",fill:"#FFC000"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{border:{top:{style:"thin",color:"#FFC000"}}},stripe2:{border:{top:{style:"thin",color:"#FFC000"}}},column:{border:{left:{style:"thin",color:"#FFC000"}}},column2:{border:{left:{style:"thin",color:"#FFC000"}}}},TableStyleLight13:{whole:{color:"#000000",border:{left:{style:"thin",color:"#5B9BD5"},right:{style:"thin",color:"#5B9BD5"},top:{style:"thin",color:"#5B9BD5"},bottom:{style:"thin",color:"#5B9BD5"}}},header:{bold:!0,color:"#FFFFFF",fill:"#5B9BD5"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{border:{top:{style:"thin",color:"#5B9BD5"}}},stripe2:{border:{top:{style:"thin",color:"#5B9BD5"}}},column:{border:{left:{style:"thin",color:"#5B9BD5"}}},column2:{border:{left:{style:"thin",color:"#5B9BD5"}}}},TableStyleLight14:{whole:{color:"#000000",border:{left:{style:"thin",color:"#70AD47"},right:{style:"thin",color:"#70AD47"},top:{style:"thin",color:"#70AD47"},bottom:{style:"thin",color:"#70AD47"}}},header:{bold:!0,color:"#FFFFFF",fill:"#70AD47"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{border:{top:{style:"thin",color:"#70AD47"}}},stripe2:{border:{top:{style:"thin",color:"#70AD47"}}},column:{border:{left:{style:"thin",color:"#70AD47"}}},column2:{border:{left:{style:"thin",color:"#70AD47"}}}},TableStyleLight15:{whole:{color:"#000000",border:{left:{style:"thin",color:"#000000"},right:{style:"thin",color:"#000000"},top:{style:"thin",color:"#000000"},bottom:{style:"thin",color:"#000000"},horizontal:{style:"thin",color:"#000000"},vertical:{style:"thin",color:"#000000"}}},header:{bold:!0,color:"#000000",border:{bottom:{style:"medium",color:"#000000"}}},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#D9D9D9"},column:{fill:"#D9D9D9"}},TableStyleLight16:{whole:{color:"#000000",border:{left:{style:"thin",color:"#4472C4"},right:{style:"thin",color:"#4472C4"},top:{style:"thin",color:"#4472C4"},bottom:{style:"thin",color:"#4472C4"},horizontal:{style:"thin",color:"#4472C4"},vertical:{style:"thin",color:"#4472C4"}}},header:{bold:!0,color:"#000000",border:{bottom:{style:"medium",color:"#4472C4"}}},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#DAE3F3"},column:{fill:"#DAE3F3"}},TableStyleLight17:{whole:{color:"#000000",border:{left:{style:"thin",color:"#ED7D31"},right:{style:"thin",color:"#ED7D31"},top:{style:"thin",color:"#ED7D31"},bottom:{style:"thin",color:"#ED7D31"},horizontal:{style:"thin",color:"#ED7D31"},vertical:{style:"thin",color:"#ED7D31"}}},header:{bold:!0,color:"#000000",border:{bottom:{style:"medium",color:"#ED7D31"}}},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#FBE5D6"},column:{fill:"#FBE5D6"}},TableStyleLight18:{whole:{color:"#000000",border:{left:{style:"thin",color:"#A5A5A5"},right:{style:"thin",color:"#A5A5A5"},top:{style:"thin",color:"#A5A5A5"},bottom:{style:"thin",color:"#A5A5A5"},horizontal:{style:"thin",color:"#A5A5A5"},vertical:{style:"thin",color:"#A5A5A5"}}},header:{bold:!0,color:"#000000",border:{bottom:{style:"medium",color:"#A5A5A5"}}},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#EDEDED"},column:{fill:"#EDEDED"}},TableStyleLight19:{whole:{color:"#000000",border:{left:{style:"thin",color:"#FFC000"},right:{style:"thin",color:"#FFC000"},top:{style:"thin",color:"#FFC000"},bottom:{style:"thin",color:"#FFC000"},horizontal:{style:"thin",color:"#FFC000"},vertical:{style:"thin",color:"#FFC000"}}},header:{bold:!0,color:"#000000",border:{bottom:{style:"medium",color:"#FFC000"}}},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#FFF2CC"},column:{fill:"#FFF2CC"}},TableStyleLight20:{whole:{color:"#000000",border:{left:{style:"thin",color:"#5B9BD5"},right:{style:"thin",color:"#5B9BD5"},top:{style:"thin",color:"#5B9BD5"},bottom:{style:"thin",color:"#5B9BD5"},horizontal:{style:"thin",color:"#5B9BD5"},vertical:{style:"thin",color:"#5B9BD5"}}},header:{bold:!0,color:"#000000",border:{bottom:{style:"medium",color:"#5B9BD5"}}},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#DEEBF7"},column:{fill:"#DEEBF7"}},TableStyleLight21:{whole:{color:"#000000",border:{left:{style:"thin",color:"#70AD47"},right:{style:"thin",color:"#70AD47"},top:{style:"thin",color:"#70AD47"},bottom:{style:"thin",color:"#70AD47"},horizontal:{style:"thin",color:"#70AD47"},vertical:{style:"thin",color:"#70AD47"}}},header:{bold:!0,color:"#000000",border:{bottom:{style:"medium",color:"#70AD47"}}},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#E2F0D9"},column:{fill:"#E2F0D9"}},TableStyleMedium1:{whole:{color:"#000000",border:{left:{style:"thin",color:"#000000"},right:{style:"thin",color:"#000000"},top:{style:"thin",color:"#000000"},bottom:{style:"thin",color:"#000000"},horizontal:{style:"thin",color:"#000000"}}},header:{bold:!0,color:"#FFFFFF",fill:"#000000"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#D9D9D9"},column:{fill:"#D9D9D9"}},TableStyleMedium2:{whole:{color:"#000000",border:{left:{style:"thin",color:"#8FAADC"},right:{style:"thin",color:"#8FAADC"},top:{style:"thin",color:"#8FAADC"},bottom:{style:"thin",color:"#8FAADC"},horizontal:{style:"thin",color:"#8FAADC"}}},header:{bold:!0,color:"#FFFFFF",fill:"#4472C4"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#DAE3F3"},column:{fill:"#DAE3F3"}},TableStyleMedium3:{whole:{color:"#000000",border:{left:{style:"thin",color:"#F4B183"},right:{style:"thin",color:"#F4B183"},top:{style:"thin",color:"#F4B183"},bottom:{style:"thin",color:"#F4B183"},horizontal:{style:"thin",color:"#F4B183"}}},header:{bold:!0,color:"#FFFFFF",fill:"#ED7D31"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#FBE5D6"},column:{fill:"#FBE5D6"}},TableStyleMedium4:{whole:{color:"#000000",border:{left:{style:"thin",color:"#C9C9C9"},right:{style:"thin",color:"#C9C9C9"},top:{style:"thin",color:"#C9C9C9"},bottom:{style:"thin",color:"#C9C9C9"},horizontal:{style:"thin",color:"#C9C9C9"}}},header:{bold:!0,color:"#FFFFFF",fill:"#A5A5A5"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#EDEDED"},column:{fill:"#EDEDED"}},TableStyleMedium5:{whole:{color:"#000000",border:{left:{style:"thin",color:"#FFD966"},right:{style:"thin",color:"#FFD966"},top:{style:"thin",color:"#FFD966"},bottom:{style:"thin",color:"#FFD966"},horizontal:{style:"thin",color:"#FFD966"}}},header:{bold:!0,color:"#FFFFFF",fill:"#FFC000"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#FFF2CC"},column:{fill:"#FFF2CC"}},TableStyleMedium6:{whole:{color:"#000000",border:{left:{style:"thin",color:"#9DC3E6"},right:{style:"thin",color:"#9DC3E6"},top:{style:"thin",color:"#9DC3E6"},bottom:{style:"thin",color:"#9DC3E6"},horizontal:{style:"thin",color:"#9DC3E6"}}},header:{bold:!0,color:"#FFFFFF",fill:"#5B9BD5"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#DEEBF7"},column:{fill:"#DEEBF7"}},TableStyleMedium7:{whole:{color:"#000000",border:{left:{style:"thin",color:"#A9D18E"},right:{style:"thin",color:"#A9D18E"},top:{style:"thin",color:"#A9D18E"},bottom:{style:"thin",color:"#A9D18E"},horizontal:{style:"thin",color:"#A9D18E"}}},header:{bold:!0,color:"#FFFFFF",fill:"#70AD47"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#E2F0D9"},column:{fill:"#E2F0D9"}},TableStyleMedium8:{whole:{color:"#000000",fill:"#D9D9D9",border:{horizontal:{style:"thin",color:"#FFFFFF"},vertical:{style:"thin",color:"#FFFFFF"}}},header:{bold:!0,color:"#FFFFFF",fill:"#000000",border:{bottom:{style:"thick",color:"#FFFFFF"}}},first:{bold:!0,color:"#FFFFFF",fill:"#000000"},last:{bold:!0,color:"#FFFFFF",fill:"#000000"},stripe:{fill:"#A6A6A6"},column:{fill:"#A6A6A6"}},TableStyleMedium9:{whole:{color:"#000000",fill:"#DAE3F3",border:{horizontal:{style:"thin",color:"#FFFFFF"},vertical:{style:"thin",color:"#FFFFFF"}}},header:{bold:!0,color:"#FFFFFF",fill:"#4472C4",border:{bottom:{style:"thick",color:"#FFFFFF"}}},first:{bold:!0,color:"#FFFFFF",fill:"#4472C4"},last:{bold:!0,color:"#FFFFFF",fill:"#4472C4"},stripe:{fill:"#B4C7E7"},column:{fill:"#B4C7E7"}},TableStyleMedium10:{whole:{color:"#000000",fill:"#FBE5D6",border:{horizontal:{style:"thin",color:"#FFFFFF"},vertical:{style:"thin",color:"#FFFFFF"}}},header:{bold:!0,color:"#FFFFFF",fill:"#ED7D31",border:{bottom:{style:"thick",color:"#FFFFFF"}}},first:{bold:!0,color:"#FFFFFF",fill:"#ED7D31"},last:{bold:!0,color:"#FFFFFF",fill:"#ED7D31"},stripe:{fill:"#F8CBAD"},column:{fill:"#F8CBAD"}},TableStyleMedium11:{whole:{color:"#000000",fill:"#EDEDED",border:{horizontal:{style:"thin",color:"#FFFFFF"},vertical:{style:"thin",color:"#FFFFFF"}}},header:{bold:!0,color:"#FFFFFF",fill:"#A5A5A5",border:{bottom:{style:"thick",color:"#FFFFFF"}}},first:{bold:!0,color:"#FFFFFF",fill:"#A5A5A5"},last:{bold:!0,color:"#FFFFFF",fill:"#A5A5A5"},stripe:{fill:"#DBDBDB"},column:{fill:"#DBDBDB"}},TableStyleMedium12:{whole:{color:"#000000",fill:"#FFF2CC",border:{horizontal:{style:"thin",color:"#FFFFFF"},vertical:{style:"thin",color:"#FFFFFF"}}},header:{bold:!0,color:"#FFFFFF",fill:"#FFC000",border:{bottom:{style:"thick",color:"#FFFFFF"}}},first:{bold:!0,color:"#FFFFFF",fill:"#FFC000"},last:{bold:!0,color:"#FFFFFF",fill:"#FFC000"},stripe:{fill:"#FFE699"},column:{fill:"#FFE699"}},TableStyleMedium13:{whole:{color:"#000000",fill:"#DEEBF7",border:{horizontal:{style:"thin",color:"#FFFFFF"},vertical:{style:"thin",color:"#FFFFFF"}}},header:{bold:!0,color:"#FFFFFF",fill:"#5B9BD5",border:{bottom:{style:"thick",color:"#FFFFFF"}}},first:{bold:!0,color:"#FFFFFF",fill:"#5B9BD5"},last:{bold:!0,color:"#FFFFFF",fill:"#5B9BD5"},stripe:{fill:"#BDD7EE"},column:{fill:"#BDD7EE"}},TableStyleMedium14:{whole:{color:"#000000",fill:"#E2F0D9",border:{horizontal:{style:"thin",color:"#FFFFFF"},vertical:{style:"thin",color:"#FFFFFF"}}},header:{bold:!0,color:"#FFFFFF",fill:"#70AD47",border:{bottom:{style:"thick",color:"#FFFFFF"}}},first:{bold:!0,color:"#FFFFFF",fill:"#70AD47"},last:{bold:!0,color:"#FFFFFF",fill:"#70AD47"},stripe:{fill:"#C5E0B4"},column:{fill:"#C5E0B4"}},TableStyleMedium15:{whole:{color:"#000000",border:{left:{style:"thin",color:"#000000"},right:{style:"thin",color:"#000000"},top:{style:"medium",color:"#000000"},bottom:{style:"medium",color:"#000000"},horizontal:{style:"thin",color:"#000000"},vertical:{style:"thin",color:"#000000"}}},header:{bold:!0,color:"#FFFFFF",fill:"#000000",border:{bottom:{style:"medium",color:"#000000"}}},first:{bold:!0,color:"#FFFFFF",fill:"#000000"},last:{bold:!0,color:"#FFFFFF",fill:"#000000"},stripe:{fill:"#D9D9D9"},column:{fill:"#D9D9D9"}},TableStyleMedium16:{whole:{color:"#000000",border:{top:{style:"medium",color:"#000000"},bottom:{style:"medium",color:"#000000"}}},header:{bold:!0,color:"#FFFFFF",fill:"#4472C4",border:{bottom:{style:"medium",color:"#000000"}}},first:{bold:!0,color:"#FFFFFF",fill:"#4472C4"},last:{bold:!0,color:"#FFFFFF",fill:"#4472C4"},stripe:{fill:"#D9D9D9"},column:{fill:"#D9D9D9"}},TableStyleMedium17:{whole:{color:"#000000",border:{top:{style:"medium",color:"#000000"},bottom:{style:"medium",color:"#000000"}}},header:{bold:!0,color:"#FFFFFF",fill:"#ED7D31",border:{bottom:{style:"medium",color:"#000000"}}},first:{bold:!0,color:"#FFFFFF",fill:"#ED7D31"},last:{bold:!0,color:"#FFFFFF",fill:"#ED7D31"},stripe:{fill:"#D9D9D9"},column:{fill:"#D9D9D9"}},TableStyleMedium18:{whole:{color:"#000000",border:{top:{style:"medium",color:"#000000"},bottom:{style:"medium",color:"#000000"}}},header:{bold:!0,color:"#FFFFFF",fill:"#A5A5A5",border:{bottom:{style:"medium",color:"#000000"}}},first:{bold:!0,color:"#FFFFFF",fill:"#A5A5A5"},last:{bold:!0,color:"#FFFFFF",fill:"#A5A5A5"},stripe:{fill:"#D9D9D9"},column:{fill:"#D9D9D9"}},TableStyleMedium19:{whole:{color:"#000000",border:{top:{style:"medium",color:"#000000"},bottom:{style:"medium",color:"#000000"}}},header:{bold:!0,color:"#FFFFFF",fill:"#FFC000",border:{bottom:{style:"medium",color:"#000000"}}},first:{bold:!0,color:"#FFFFFF",fill:"#FFC000"},last:{bold:!0,color:"#FFFFFF",fill:"#FFC000"},stripe:{fill:"#D9D9D9"},column:{fill:"#D9D9D9"}},TableStyleMedium20:{whole:{color:"#000000",border:{top:{style:"medium",color:"#000000"},bottom:{style:"medium",color:"#000000"}}},header:{bold:!0,color:"#FFFFFF",fill:"#5B9BD5",border:{bottom:{style:"medium",color:"#000000"}}},first:{bold:!0,color:"#FFFFFF",fill:"#5B9BD5"},last:{bold:!0,color:"#FFFFFF",fill:"#5B9BD5"},stripe:{fill:"#D9D9D9"},column:{fill:"#D9D9D9"}},TableStyleMedium21:{whole:{color:"#000000",border:{top:{style:"medium",color:"#000000"},bottom:{style:"medium",color:"#000000"}}},header:{bold:!0,color:"#FFFFFF",fill:"#70AD47",border:{bottom:{style:"medium",color:"#000000"}}},first:{bold:!0,color:"#FFFFFF",fill:"#70AD47"},last:{bold:!0,color:"#FFFFFF",fill:"#70AD47"},stripe:{fill:"#D9D9D9"},column:{fill:"#D9D9D9"}},TableStyleMedium22:{whole:{color:"#000000",fill:"#D9D9D9",border:{left:{style:"thin",color:"#000000"},right:{style:"thin",color:"#000000"},top:{style:"thin",color:"#000000"},bottom:{style:"thin",color:"#000000"},horizontal:{style:"thin",color:"#000000"},vertical:{style:"thin",color:"#000000"}}},header:{bold:!0,color:"#000000"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#A6A6A6"},column:{fill:"#A6A6A6"}},TableStyleMedium23:{whole:{color:"#000000",fill:"#DAE3F3",border:{left:{style:"thin",color:"#8FAADC"},right:{style:"thin",color:"#8FAADC"},top:{style:"thin",color:"#8FAADC"},bottom:{style:"thin",color:"#8FAADC"},horizontal:{style:"thin",color:"#8FAADC"},vertical:{style:"thin",color:"#8FAADC"}}},header:{bold:!0,color:"#000000"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#B4C7E7"},column:{fill:"#B4C7E7"}},TableStyleMedium24:{whole:{color:"#000000",fill:"#FBE5D6",border:{left:{style:"thin",color:"#F4B183"},right:{style:"thin",color:"#F4B183"},top:{style:"thin",color:"#F4B183"},bottom:{style:"thin",color:"#F4B183"},horizontal:{style:"thin",color:"#F4B183"},vertical:{style:"thin",color:"#F4B183"}}},header:{bold:!0,color:"#000000"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#F8CBAD"},column:{fill:"#F8CBAD"}},TableStyleMedium25:{whole:{color:"#000000",fill:"#EDEDED",border:{left:{style:"thin",color:"#C9C9C9"},right:{style:"thin",color:"#C9C9C9"},top:{style:"thin",color:"#C9C9C9"},bottom:{style:"thin",color:"#C9C9C9"},horizontal:{style:"thin",color:"#C9C9C9"},vertical:{style:"thin",color:"#C9C9C9"}}},header:{bold:!0,color:"#000000"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#DBDBDB"},column:{fill:"#DBDBDB"}},TableStyleMedium26:{whole:{color:"#000000",fill:"#FFF2CC",border:{left:{style:"thin",color:"#FFD966"},right:{style:"thin",color:"#FFD966"},top:{style:"thin",color:"#FFD966"},bottom:{style:"thin",color:"#FFD966"},horizontal:{style:"thin",color:"#FFD966"},vertical:{style:"thin",color:"#FFD966"}}},header:{bold:!0,color:"#000000"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#FFE699"},column:{fill:"#FFE699"}},TableStyleMedium27:{whole:{color:"#000000",fill:"#DEEBF7",border:{left:{style:"thin",color:"#9DC3E6"},right:{style:"thin",color:"#9DC3E6"},top:{style:"thin",color:"#9DC3E6"},bottom:{style:"thin",color:"#9DC3E6"},horizontal:{style:"thin",color:"#9DC3E6"},vertical:{style:"thin",color:"#9DC3E6"}}},header:{bold:!0,color:"#000000"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#BDD7EE"},column:{fill:"#BDD7EE"}},TableStyleMedium28:{whole:{color:"#000000",fill:"#E2F0D9",border:{left:{style:"thin",color:"#A9D18E"},right:{style:"thin",color:"#A9D18E"},top:{style:"thin",color:"#A9D18E"},bottom:{style:"thin",color:"#A9D18E"},horizontal:{style:"thin",color:"#A9D18E"},vertical:{style:"thin",color:"#A9D18E"}}},header:{bold:!0,color:"#000000"},first:{bold:!0,color:"#000000"},last:{bold:!0,color:"#000000"},stripe:{fill:"#C5E0B4"},column:{fill:"#C5E0B4"}}};
2
+ export const TABLE_STYLES={TableStyleDark1:{whole:{color:"t0",fill:"t1:0.4499954222235786"},header:{bold:!0,color:"t0",fill:"t1",border:{bottom:{style:"medium",color:"t0"}}},first:{bold:!0,color:"t0",fill:"t1:0.249977111117893",border:{right:{style:"medium",color:"t0"}}},last:{bold:!0,color:"t0",fill:"t1:0.249977111117893",border:{left:{style:"medium",color:"t0"}}},stripe:{fill:"t1:0.249977111117893"},column:{fill:"t1:0.249977111117893"}},TableStyleDark2:{whole:{color:"t0",fill:"t4"},header:{bold:!0,color:"t0",fill:"t1",border:{bottom:{style:"medium",color:"t0"}}},first:{bold:!0,color:"t0",fill:"t4:-0.249977111117893",border:{right:{style:"medium",color:"t0"}}},last:{bold:!0,color:"t0",fill:"t4:-0.249977111117893",border:{left:{style:"medium",color:"t0"}}},stripe:{fill:"t4:-0.249977111117893"},column:{fill:"t4:-0.249977111117893"}},TableStyleDark3:{whole:{color:"t0",fill:"t5"},header:{bold:!0,color:"t0",fill:"t1",border:{bottom:{style:"medium",color:"t0"}}},first:{bold:!0,color:"t0",fill:"t5:-0.249977111117893",border:{right:{style:"medium",color:"t0"}}},last:{bold:!0,color:"t0",fill:"t5:-0.249977111117893",border:{left:{style:"medium",color:"t0"}}},stripe:{fill:"t5:-0.249977111117893"},column:{fill:"t5:-0.249977111117893"}},TableStyleDark4:{whole:{color:"t0",fill:"t6"},header:{bold:!0,color:"t0",fill:"t1",border:{bottom:{style:"medium",color:"t0"}}},first:{bold:!0,color:"t0",fill:"t6:-0.249977111117893",border:{right:{style:"medium",color:"t0"}}},last:{bold:!0,color:"t0",fill:"t6:-0.249977111117893",border:{left:{style:"medium",color:"t0"}}},stripe:{fill:"t6:-0.249977111117893"},column:{fill:"t6:-0.249977111117893"}},TableStyleDark5:{whole:{color:"t0",fill:"t7"},header:{bold:!0,color:"t0",fill:"t1",border:{bottom:{style:"medium",color:"t0"}}},first:{bold:!0,color:"t0",fill:"t7:-0.249977111117893",border:{right:{style:"medium",color:"t0"}}},last:{bold:!0,color:"t0",fill:"t7:-0.249977111117893",border:{left:{style:"medium",color:"t0"}}},stripe:{fill:"t7:-0.249977111117893"},column:{fill:"t7:-0.249977111117893"}},TableStyleDark6:{whole:{color:"t0",fill:"t8"},header:{bold:!0,color:"t0",fill:"t1",border:{bottom:{style:"medium",color:"t0"}}},first:{bold:!0,color:"t0",fill:"t8:-0.249977111117893",border:{right:{style:"medium",color:"t0"}}},last:{bold:!0,color:"t0",fill:"t8:-0.249977111117893",border:{left:{style:"medium",color:"t0"}}},stripe:{fill:"t8:-0.249977111117893"},column:{fill:"t8:-0.249977111117893"}},TableStyleDark7:{whole:{color:"t0",fill:"t9"},header:{bold:!0,color:"t0",fill:"t1",border:{bottom:{style:"medium",color:"t0"}}},first:{bold:!0,color:"t0",fill:"t9:-0.249977111117893",border:{right:{style:"medium",color:"t0"}}},last:{bold:!0,color:"t0",fill:"t9:-0.249977111117893",border:{left:{style:"medium",color:"t0"}}},stripe:{fill:"t9:-0.249977111117893"},column:{fill:"t9:-0.249977111117893"}},TableStyleDark8:{whole:{fill:"t0:-0.1499984740745262"},header:{color:"t0",fill:"t1"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t0:-0.3499862666707358"},column:{fill:"t0:-0.3499862666707358"}},TableStyleDark9:{whole:{fill:"t4:0.7999816888943144"},header:{color:"t0",fill:"t5"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t4:0.5999938962981048"},column:{fill:"t4:0.5999938962981048"}},TableStyleDark10:{whole:{fill:"t6:0.7999816888943144"},header:{color:"t0",fill:"t7"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t6:0.5999938962981048"},column:{fill:"t6:0.5999938962981048"}},TableStyleDark11:{whole:{fill:"t8:0.7999816888943144"},header:{color:"t0",fill:"t9"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t8:0.5999938962981048"},column:{fill:"t8:0.5999938962981048"}},TableStyleLight1:{whole:{color:"t1",border:{top:{style:"thin",color:"t1"},bottom:{style:"thin",color:"t1"}}},header:{bold:!0,color:"t1",border:{bottom:{style:"thin",color:"t1"}}},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t0:-0.1499984740745262"},column:{fill:"t0:-0.1499984740745262"}},TableStyleLight2:{whole:{color:"t4:-0.249977111117893",border:{top:{style:"thin",color:"t4"},bottom:{style:"thin",color:"t4"}}},header:{bold:!0,color:"t4:-0.249977111117893",border:{bottom:{style:"thin",color:"t4"}}},first:{bold:!0,color:"t4:-0.249977111117893"},last:{bold:!0,color:"t4:-0.249977111117893"},stripe:{fill:"t4:0.7999816888943144"},column:{fill:"t4:0.7999816888943144"}},TableStyleLight3:{whole:{color:"t5:-0.249977111117893",border:{top:{style:"thin",color:"t5"},bottom:{style:"thin",color:"t5"}}},header:{bold:!0,color:"t5:-0.249977111117893",border:{bottom:{style:"thin",color:"t5"}}},first:{bold:!0,color:"t5:-0.249977111117893"},last:{bold:!0,color:"t5:-0.249977111117893"},stripe:{fill:"t5:0.7999816888943144"},column:{fill:"t5:0.7999816888943144"}},TableStyleLight4:{whole:{color:"t6:-0.249977111117893",border:{top:{style:"thin",color:"t6"},bottom:{style:"thin",color:"t6"}}},header:{bold:!0,color:"t6:-0.249977111117893",border:{bottom:{style:"thin",color:"t6"}}},first:{bold:!0,color:"t6:-0.249977111117893"},last:{bold:!0,color:"t6:-0.249977111117893"},stripe:{fill:"t6:0.7999816888943144"},column:{fill:"t6:0.7999816888943144"}},TableStyleLight5:{whole:{color:"t7:-0.249977111117893",border:{top:{style:"thin",color:"t7"},bottom:{style:"thin",color:"t7"}}},header:{bold:!0,color:"t7:-0.249977111117893",border:{bottom:{style:"thin",color:"t7"}}},first:{bold:!0,color:"t7:-0.249977111117893"},last:{bold:!0,color:"t7:-0.249977111117893"},stripe:{fill:"t7:0.7999816888943144"},column:{fill:"t7:0.7999816888943144"}},TableStyleLight6:{whole:{color:"t8:-0.249977111117893",border:{top:{style:"thin",color:"t8"},bottom:{style:"thin",color:"t8"}}},header:{bold:!0,color:"t8:-0.249977111117893",border:{bottom:{style:"thin",color:"t8"}}},first:{bold:!0,color:"t8:-0.249977111117893"},last:{bold:!0,color:"t8:-0.249977111117893"},stripe:{fill:"t8:0.7999816888943144"},column:{fill:"t8:0.7999816888943144"}},TableStyleLight7:{whole:{color:"t9:-0.249977111117893",border:{top:{style:"thin",color:"t9"},bottom:{style:"thin",color:"t9"}}},header:{bold:!0,color:"t9:-0.249977111117893",border:{bottom:{style:"thin",color:"t9"}}},first:{bold:!0,color:"t9:-0.249977111117893"},last:{bold:!0,color:"t9:-0.249977111117893"},stripe:{fill:"t9:0.7999816888943144"},column:{fill:"t9:0.7999816888943144"}},TableStyleLight8:{whole:{color:"t1",border:{left:{style:"thin",color:"t1"},right:{style:"thin",color:"t1"},top:{style:"thin",color:"t1"},bottom:{style:"thin",color:"t1"}}},header:{bold:!0,color:"t0",fill:"t1"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{border:{top:{style:"thin",color:"t1"}}},stripe2:{border:{top:{style:"thin",color:"t1"}}},column:{border:{left:{style:"thin",color:"t1"}}},column2:{border:{left:{style:"thin",color:"t1"}}}},TableStyleLight9:{whole:{color:"t1",border:{left:{style:"thin",color:"t4"},right:{style:"thin",color:"t4"},top:{style:"thin",color:"t4"},bottom:{style:"thin",color:"t4"}}},header:{bold:!0,color:"t0",fill:"t4"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{border:{top:{style:"thin",color:"t4"}}},stripe2:{border:{top:{style:"thin",color:"t4"}}},column:{border:{left:{style:"thin",color:"t4"}}},column2:{border:{left:{style:"thin",color:"t4"}}}},TableStyleLight10:{whole:{color:"t1",border:{left:{style:"thin",color:"t5"},right:{style:"thin",color:"t5"},top:{style:"thin",color:"t5"},bottom:{style:"thin",color:"t5"}}},header:{bold:!0,color:"t0",fill:"t5"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{border:{top:{style:"thin",color:"t5"}}},stripe2:{border:{top:{style:"thin",color:"t5"}}},column:{border:{left:{style:"thin",color:"t5"}}},column2:{border:{left:{style:"thin",color:"t5"}}}},TableStyleLight11:{whole:{color:"t1",border:{left:{style:"thin",color:"t6"},right:{style:"thin",color:"t6"},top:{style:"thin",color:"t6"},bottom:{style:"thin",color:"t6"}}},header:{bold:!0,color:"t0",fill:"t6"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{border:{top:{style:"thin",color:"t6"}}},stripe2:{border:{top:{style:"thin",color:"t6"}}},column:{border:{left:{style:"thin",color:"t6"}}},column2:{border:{left:{style:"thin",color:"t6"}}}},TableStyleLight12:{whole:{color:"t1",border:{left:{style:"thin",color:"t7"},right:{style:"thin",color:"t7"},top:{style:"thin",color:"t7"},bottom:{style:"thin",color:"t7"}}},header:{bold:!0,color:"t0",fill:"t7"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{border:{top:{style:"thin",color:"t7"}}},stripe2:{border:{top:{style:"thin",color:"t7"}}},column:{border:{left:{style:"thin",color:"t7"}}},column2:{border:{left:{style:"thin",color:"t7"}}}},TableStyleLight13:{whole:{color:"t1",border:{left:{style:"thin",color:"t8"},right:{style:"thin",color:"t8"},top:{style:"thin",color:"t8"},bottom:{style:"thin",color:"t8"}}},header:{bold:!0,color:"t0",fill:"t8"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{border:{top:{style:"thin",color:"t8"}}},stripe2:{border:{top:{style:"thin",color:"t8"}}},column:{border:{left:{style:"thin",color:"t8"}}},column2:{border:{left:{style:"thin",color:"t8"}}}},TableStyleLight14:{whole:{color:"t1",border:{left:{style:"thin",color:"t9"},right:{style:"thin",color:"t9"},top:{style:"thin",color:"t9"},bottom:{style:"thin",color:"t9"}}},header:{bold:!0,color:"t0",fill:"t9"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{border:{top:{style:"thin",color:"t9"}}},stripe2:{border:{top:{style:"thin",color:"t9"}}},column:{border:{left:{style:"thin",color:"t9"}}},column2:{border:{left:{style:"thin",color:"t9"}}}},TableStyleLight15:{whole:{color:"t1",border:{left:{style:"thin",color:"t1"},right:{style:"thin",color:"t1"},top:{style:"thin",color:"t1"},bottom:{style:"thin",color:"t1"},horizontal:{style:"thin",color:"t1"},vertical:{style:"thin",color:"t1"}}},header:{bold:!0,color:"t1",border:{bottom:{style:"medium",color:"t1"}}},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t0:-0.1499984740745262"},column:{fill:"t0:-0.1499984740745262"}},TableStyleLight16:{whole:{color:"t1",border:{left:{style:"thin",color:"t4"},right:{style:"thin",color:"t4"},top:{style:"thin",color:"t4"},bottom:{style:"thin",color:"t4"},horizontal:{style:"thin",color:"t4"},vertical:{style:"thin",color:"t4"}}},header:{bold:!0,color:"t1",border:{bottom:{style:"medium",color:"t4"}}},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t4:0.7999816888943144"},column:{fill:"t4:0.7999816888943144"}},TableStyleLight17:{whole:{color:"t1",border:{left:{style:"thin",color:"t5"},right:{style:"thin",color:"t5"},top:{style:"thin",color:"t5"},bottom:{style:"thin",color:"t5"},horizontal:{style:"thin",color:"t5"},vertical:{style:"thin",color:"t5"}}},header:{bold:!0,color:"t1",border:{bottom:{style:"medium",color:"t5"}}},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t5:0.7999816888943144"},column:{fill:"t5:0.7999816888943144"}},TableStyleLight18:{whole:{color:"t1",border:{left:{style:"thin",color:"t6"},right:{style:"thin",color:"t6"},top:{style:"thin",color:"t6"},bottom:{style:"thin",color:"t6"},horizontal:{style:"thin",color:"t6"},vertical:{style:"thin",color:"t6"}}},header:{bold:!0,color:"t1",border:{bottom:{style:"medium",color:"t6"}}},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t6:0.7999816888943144"},column:{fill:"t6:0.7999816888943144"}},TableStyleLight19:{whole:{color:"t1",border:{left:{style:"thin",color:"t7"},right:{style:"thin",color:"t7"},top:{style:"thin",color:"t7"},bottom:{style:"thin",color:"t7"},horizontal:{style:"thin",color:"t7"},vertical:{style:"thin",color:"t7"}}},header:{bold:!0,color:"t1",border:{bottom:{style:"medium",color:"t7"}}},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t7:0.7999816888943144"},column:{fill:"t7:0.7999816888943144"}},TableStyleLight20:{whole:{color:"t1",border:{left:{style:"thin",color:"t8"},right:{style:"thin",color:"t8"},top:{style:"thin",color:"t8"},bottom:{style:"thin",color:"t8"},horizontal:{style:"thin",color:"t8"},vertical:{style:"thin",color:"t8"}}},header:{bold:!0,color:"t1",border:{bottom:{style:"medium",color:"t8"}}},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t8:0.7999816888943144"},column:{fill:"t8:0.7999816888943144"}},TableStyleLight21:{whole:{color:"t1",border:{left:{style:"thin",color:"t9"},right:{style:"thin",color:"t9"},top:{style:"thin",color:"t9"},bottom:{style:"thin",color:"t9"},horizontal:{style:"thin",color:"t9"},vertical:{style:"thin",color:"t9"}}},header:{bold:!0,color:"t1",border:{bottom:{style:"medium",color:"t9"}}},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t9:0.7999816888943144"},column:{fill:"t9:0.7999816888943144"}},TableStyleMedium1:{whole:{color:"t1",border:{left:{style:"thin",color:"t1"},right:{style:"thin",color:"t1"},top:{style:"thin",color:"t1"},bottom:{style:"thin",color:"t1"},horizontal:{style:"thin",color:"t1"}}},header:{bold:!0,color:"t0",fill:"t1"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t0:-0.1499984740745262"},column:{fill:"t0:-0.1499984740745262"}},TableStyleMedium2:{whole:{color:"t1",border:{left:{style:"thin",color:"t4:0.3999755851924192"},right:{style:"thin",color:"t4:0.3999755851924192"},top:{style:"thin",color:"t4:0.3999755851924192"},bottom:{style:"thin",color:"t4:0.3999755851924192"},horizontal:{style:"thin",color:"t4:0.3999755851924192"}}},header:{bold:!0,color:"t0",fill:"t4"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t4:0.7999816888943144"},column:{fill:"t4:0.7999816888943144"}},TableStyleMedium3:{whole:{color:"t1",border:{left:{style:"thin",color:"t5:0.3999755851924192"},right:{style:"thin",color:"t5:0.3999755851924192"},top:{style:"thin",color:"t5:0.3999755851924192"},bottom:{style:"thin",color:"t5:0.3999755851924192"},horizontal:{style:"thin",color:"t5:0.3999755851924192"}}},header:{bold:!0,color:"t0",fill:"t5"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t5:0.7999816888943144"},column:{fill:"t5:0.7999816888943144"}},TableStyleMedium4:{whole:{color:"t1",border:{left:{style:"thin",color:"t6:0.3999755851924192"},right:{style:"thin",color:"t6:0.3999755851924192"},top:{style:"thin",color:"t6:0.3999755851924192"},bottom:{style:"thin",color:"t6:0.3999755851924192"},horizontal:{style:"thin",color:"t6:0.3999755851924192"}}},header:{bold:!0,color:"t0",fill:"t6"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t6:0.7999816888943144"},column:{fill:"t6:0.7999816888943144"}},TableStyleMedium5:{whole:{color:"t1",border:{left:{style:"thin",color:"t7:0.3999755851924192"},right:{style:"thin",color:"t7:0.3999755851924192"},top:{style:"thin",color:"t7:0.3999755851924192"},bottom:{style:"thin",color:"t7:0.3999755851924192"},horizontal:{style:"thin",color:"t7:0.3999755851924192"}}},header:{bold:!0,color:"t0",fill:"t7"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t7:0.7999816888943144"},column:{fill:"t7:0.7999816888943144"}},TableStyleMedium6:{whole:{color:"t1",border:{left:{style:"thin",color:"t8:0.3999755851924192"},right:{style:"thin",color:"t8:0.3999755851924192"},top:{style:"thin",color:"t8:0.3999755851924192"},bottom:{style:"thin",color:"t8:0.3999755851924192"},horizontal:{style:"thin",color:"t8:0.3999755851924192"}}},header:{bold:!0,color:"t0",fill:"t8"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t8:0.7999816888943144"},column:{fill:"t8:0.7999816888943144"}},TableStyleMedium7:{whole:{color:"t1",border:{left:{style:"thin",color:"t9:0.3999755851924192"},right:{style:"thin",color:"t9:0.3999755851924192"},top:{style:"thin",color:"t9:0.3999755851924192"},bottom:{style:"thin",color:"t9:0.3999755851924192"},horizontal:{style:"thin",color:"t9:0.3999755851924192"}}},header:{bold:!0,color:"t0",fill:"t9"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t9:0.7999816888943144"},column:{fill:"t9:0.7999816888943144"}},TableStyleMedium8:{whole:{color:"t1",fill:"t0:-0.1499984740745262",border:{horizontal:{style:"thin",color:"t0"},vertical:{style:"thin",color:"t0"}}},header:{bold:!0,color:"t0",fill:"t1",border:{bottom:{style:"thick",color:"t0"}}},first:{bold:!0,color:"t0",fill:"t1"},last:{bold:!0,color:"t0",fill:"t1"},stripe:{fill:"t0:-0.3499862666707358"},column:{fill:"t0:-0.3499862666707358"}},TableStyleMedium9:{whole:{color:"t1",fill:"t4:0.7999816888943144",border:{horizontal:{style:"thin",color:"t0"},vertical:{style:"thin",color:"t0"}}},header:{bold:!0,color:"t0",fill:"t4",border:{bottom:{style:"thick",color:"t0"}}},first:{bold:!0,color:"t0",fill:"t4"},last:{bold:!0,color:"t0",fill:"t4"},stripe:{fill:"t4:0.5999938962981048"},column:{fill:"t4:0.5999938962981048"}},TableStyleMedium10:{whole:{color:"t1",fill:"t5:0.7999816888943144",border:{horizontal:{style:"thin",color:"t0"},vertical:{style:"thin",color:"t0"}}},header:{bold:!0,color:"t0",fill:"t5",border:{bottom:{style:"thick",color:"t0"}}},first:{bold:!0,color:"t0",fill:"t5"},last:{bold:!0,color:"t0",fill:"t5"},stripe:{fill:"t5:0.5999938962981048"},column:{fill:"t5:0.5999938962981048"}},TableStyleMedium11:{whole:{color:"t1",fill:"t6:0.7999816888943144",border:{horizontal:{style:"thin",color:"t0"},vertical:{style:"thin",color:"t0"}}},header:{bold:!0,color:"t0",fill:"t6",border:{bottom:{style:"thick",color:"t0"}}},first:{bold:!0,color:"t0",fill:"t6"},last:{bold:!0,color:"t0",fill:"t6"},stripe:{fill:"t6:0.5999938962981048"},column:{fill:"t6:0.5999938962981048"}},TableStyleMedium12:{whole:{color:"t1",fill:"t7:0.7999816888943144",border:{horizontal:{style:"thin",color:"t0"},vertical:{style:"thin",color:"t0"}}},header:{bold:!0,color:"t0",fill:"t7",border:{bottom:{style:"thick",color:"t0"}}},first:{bold:!0,color:"t0",fill:"t7"},last:{bold:!0,color:"t0",fill:"t7"},stripe:{fill:"t7:0.5999938962981048"},column:{fill:"t7:0.5999938962981048"}},TableStyleMedium13:{whole:{color:"t1",fill:"t8:0.7999816888943144",border:{horizontal:{style:"thin",color:"t0"},vertical:{style:"thin",color:"t0"}}},header:{bold:!0,color:"t0",fill:"t8",border:{bottom:{style:"thick",color:"t0"}}},first:{bold:!0,color:"t0",fill:"t8"},last:{bold:!0,color:"t0",fill:"t8"},stripe:{fill:"t8:0.5999938962981048"},column:{fill:"t8:0.5999938962981048"}},TableStyleMedium14:{whole:{color:"t1",fill:"t9:0.7999816888943144",border:{horizontal:{style:"thin",color:"t0"},vertical:{style:"thin",color:"t0"}}},header:{bold:!0,color:"t0",fill:"t9",border:{bottom:{style:"thick",color:"t0"}}},first:{bold:!0,color:"t0",fill:"t9"},last:{bold:!0,color:"t0",fill:"t9"},stripe:{fill:"t9:0.5999938962981048"},column:{fill:"t9:0.5999938962981048"}},TableStyleMedium15:{whole:{color:"t1",border:{left:{style:"thin",color:"t1"},right:{style:"thin",color:"t1"},top:{style:"medium",color:"t1"},bottom:{style:"medium",color:"t1"},horizontal:{style:"thin",color:"t1"},vertical:{style:"thin",color:"t1"}}},header:{bold:!0,color:"t0",fill:"t1",border:{bottom:{style:"medium",color:"t1"}}},first:{bold:!0,color:"t0",fill:"t1"},last:{bold:!0,color:"t0",fill:"t1"},stripe:{fill:"t0:-0.1499984740745262"},column:{fill:"t0:-0.1499984740745262"}},TableStyleMedium16:{whole:{color:"t1",border:{top:{style:"medium",color:"t1"},bottom:{style:"medium",color:"t1"}}},header:{bold:!0,color:"t0",fill:"t4",border:{bottom:{style:"medium",color:"t1"}}},first:{bold:!0,color:"t0",fill:"t4"},last:{bold:!0,color:"t0",fill:"t4"},stripe:{fill:"t0:-0.1499984740745262"},column:{fill:"t0:-0.1499984740745262"}},TableStyleMedium17:{whole:{color:"t1",border:{top:{style:"medium",color:"t1"},bottom:{style:"medium",color:"t1"}}},header:{bold:!0,color:"t0",fill:"t5",border:{bottom:{style:"medium",color:"t1"}}},first:{bold:!0,color:"t0",fill:"t5"},last:{bold:!0,color:"t0",fill:"t5"},stripe:{fill:"t0:-0.1499984740745262"},column:{fill:"t0:-0.1499984740745262"}},TableStyleMedium18:{whole:{color:"t1",border:{top:{style:"medium",color:"t1"},bottom:{style:"medium",color:"t1"}}},header:{bold:!0,color:"t0",fill:"t6",border:{bottom:{style:"medium",color:"t1"}}},first:{bold:!0,color:"t0",fill:"t6"},last:{bold:!0,color:"t0",fill:"t6"},stripe:{fill:"t0:-0.1499984740745262"},column:{fill:"t0:-0.1499984740745262"}},TableStyleMedium19:{whole:{color:"t1",border:{top:{style:"medium",color:"t1"},bottom:{style:"medium",color:"t1"}}},header:{bold:!0,color:"t0",fill:"t7",border:{bottom:{style:"medium",color:"t1"}}},first:{bold:!0,color:"t0",fill:"t7"},last:{bold:!0,color:"t0",fill:"t7"},stripe:{fill:"t0:-0.1499984740745262"},column:{fill:"t0:-0.1499984740745262"}},TableStyleMedium20:{whole:{color:"t1",border:{top:{style:"medium",color:"t1"},bottom:{style:"medium",color:"t1"}}},header:{bold:!0,color:"t0",fill:"t8",border:{bottom:{style:"medium",color:"t1"}}},first:{bold:!0,color:"t0",fill:"t8"},last:{bold:!0,color:"t0",fill:"t8"},stripe:{fill:"t0:-0.1499984740745262"},column:{fill:"t0:-0.1499984740745262"}},TableStyleMedium21:{whole:{color:"t1",border:{top:{style:"medium",color:"t1"},bottom:{style:"medium",color:"t1"}}},header:{bold:!0,color:"t0",fill:"t9",border:{bottom:{style:"medium",color:"t1"}}},first:{bold:!0,color:"t0",fill:"t9"},last:{bold:!0,color:"t0",fill:"t9"},stripe:{fill:"t0:-0.1499984740745262"},column:{fill:"t0:-0.1499984740745262"}},TableStyleMedium22:{whole:{color:"t1",fill:"t0:-0.1499984740745262",border:{left:{style:"thin",color:"t1"},right:{style:"thin",color:"t1"},top:{style:"thin",color:"t1"},bottom:{style:"thin",color:"t1"},horizontal:{style:"thin",color:"t1"},vertical:{style:"thin",color:"t1"}}},header:{bold:!0,color:"t1"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t0:-0.3499862666707358"},column:{fill:"t0:-0.3499862666707358"}},TableStyleMedium23:{whole:{color:"t1",fill:"t4:0.7999816888943144",border:{left:{style:"thin",color:"t4:0.3999755851924192"},right:{style:"thin",color:"t4:0.3999755851924192"},top:{style:"thin",color:"t4:0.3999755851924192"},bottom:{style:"thin",color:"t4:0.3999755851924192"},horizontal:{style:"thin",color:"t4:0.3999755851924192"},vertical:{style:"thin",color:"t4:0.3999755851924192"}}},header:{bold:!0,color:"t1"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t4:0.5999938962981048"},column:{fill:"t4:0.5999938962981048"}},TableStyleMedium24:{whole:{color:"t1",fill:"t5:0.7999816888943144",border:{left:{style:"thin",color:"t5:0.3999755851924192"},right:{style:"thin",color:"t5:0.3999755851924192"},top:{style:"thin",color:"t5:0.3999755851924192"},bottom:{style:"thin",color:"t5:0.3999755851924192"},horizontal:{style:"thin",color:"t5:0.3999755851924192"},vertical:{style:"thin",color:"t5:0.3999755851924192"}}},header:{bold:!0,color:"t1"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t5:0.5999938962981048"},column:{fill:"t5:0.5999938962981048"}},TableStyleMedium25:{whole:{color:"t1",fill:"t6:0.7999816888943144",border:{left:{style:"thin",color:"t6:0.3999755851924192"},right:{style:"thin",color:"t6:0.3999755851924192"},top:{style:"thin",color:"t6:0.3999755851924192"},bottom:{style:"thin",color:"t6:0.3999755851924192"},horizontal:{style:"thin",color:"t6:0.3999755851924192"},vertical:{style:"thin",color:"t6:0.3999755851924192"}}},header:{bold:!0,color:"t1"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t6:0.5999938962981048"},column:{fill:"t6:0.5999938962981048"}},TableStyleMedium26:{whole:{color:"t1",fill:"t7:0.7999816888943144",border:{left:{style:"thin",color:"t7:0.3999755851924192"},right:{style:"thin",color:"t7:0.3999755851924192"},top:{style:"thin",color:"t7:0.3999755851924192"},bottom:{style:"thin",color:"t7:0.3999755851924192"},horizontal:{style:"thin",color:"t7:0.3999755851924192"},vertical:{style:"thin",color:"t7:0.3999755851924192"}}},header:{bold:!0,color:"t1"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t7:0.5999938962981048"},column:{fill:"t7:0.5999938962981048"}},TableStyleMedium27:{whole:{color:"t1",fill:"t8:0.7999816888943144",border:{left:{style:"thin",color:"t8:0.3999755851924192"},right:{style:"thin",color:"t8:0.3999755851924192"},top:{style:"thin",color:"t8:0.3999755851924192"},bottom:{style:"thin",color:"t8:0.3999755851924192"},horizontal:{style:"thin",color:"t8:0.3999755851924192"},vertical:{style:"thin",color:"t8:0.3999755851924192"}}},header:{bold:!0,color:"t1"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t8:0.5999938962981048"},column:{fill:"t8:0.5999938962981048"}},TableStyleMedium28:{whole:{color:"t1",fill:"t9:0.7999816888943144",border:{left:{style:"thin",color:"t9:0.3999755851924192"},right:{style:"thin",color:"t9:0.3999755851924192"},top:{style:"thin",color:"t9:0.3999755851924192"},bottom:{style:"thin",color:"t9:0.3999755851924192"},horizontal:{style:"thin",color:"t9:0.3999755851924192"},vertical:{style:"thin",color:"t9:0.3999755851924192"}}},header:{bold:!0,color:"t1"},first:{bold:!0,color:"t1"},last:{bold:!0,color:"t1"},stripe:{fill:"t9:0.5999938962981048"},column:{fill:"t9:0.5999938962981048"}}};
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{lookColor as u}from"@allyhub/formats";import{tinted as c}from"./xlsx/colors.js";export function themeOrder(e){return[e.lt1,e.dk1,e.lt2,e.dk2,e.accent1,e.accent2,e.accent3,e.accent4,e.accent5,e.accent6,e.hlink,e.folHlink].map(n=>n.slice(1).toUpperCase())}export const themeTint=(e,n,t=0)=>`#${c(e[n].slice(1).toUpperCase(),t)}`;export function themed(e,n){if(!e.startsWith("t"))return e;const[t,i]=e.slice(1).split(":"),r=n[Number(t)]??"000000";return`#${c(r,Number(i??0))}`}export const lookColorIn=(e,n)=>u(e,n,(t,i)=>`#${c(t.slice(1).toUpperCase(),i)}`);export function lookInTheme(e,n){const t=r=>r===void 0||r.startsWith("#")?r:lookColorIn(r,n),i={...e};if(e.color!==void 0&&(i.color=t(e.color)),typeof e.fill=="string"?i.fill=t(e.fill):e.fill&&(i.fill={...e.fill,...e.fill.color===void 0?{}:{color:t(e.fill.color)},...e.fill.background===void 0?{}:{background:t(e.fill.background)}}),e.border){const r={};for(const[l,f]of Object.entries(e.border)){if(!f)continue;const d=t(f.color);r[l]=d===void 0?f:{...f,color:d}}i.border=r}return i}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{blockAlt as k,blockFromFile as O,blockSvg as $,paletteOfTheme as L}from"@allyhub/blocks";import{blockKindOf as F,OFFICE_COLORS as y,readBlock as j,readBlockItem as E}from"@allyhub/formats";import{cellName as _}from"./address.js";import{chartFormula as v,chartOf as D,SharedFormula as w}from"./workbook.js";import{chartDef as I,chartSvg as T,readCells as A,textOf as x}from"./chart.js";export const TILE_DEFAULTS={width:320,height:160},tileSize=o=>({width:o.spec.width??TILE_DEFAULTS.width,height:o.spec.height??TILE_DEFAULTS.height});function B(o,e,t){const a=t.replace(/^=/u,"").trim(),r=e.book?.tables.find(i=>i.name.toLowerCase()===a.toLowerCase());if(!r)return;const{top:n,bottom:u,left:s}=r.data,c=[],d=[];for(let i=n;i<=u;i++){const h={},m={};for(const p of r.columns){const l={value:o.value(r.sheet,i,s+p.index),sheet:r.sheet,row:i,col:s+p.index};h[p.name]=l.value instanceof Object?String(l.value):l.value,m[p.name]=x(l)}c.push(h),d.push(m)}return{value:c,shown:d}}function C(o,e,t){const a=B(o,e,t);if(a)return a;const r=new w(v(t),0,0,{file:"",path:[]});if(!r.node)return;const n=A(o,e,r);if(n.length===0)return;const u=n.map(c=>c.value instanceof Object?String(c.value):c.value),s=n.map(x);return n.length===1?{value:u[0],shown:s[0]}:{value:u,shown:s}}export function tileDef(o,e,t){const a=O(t.kind,t.spec[t.kind],{data:n=>C(o,e,n)?.value??void 0,shown:n=>C(o,e,n)?.shown}),r=a.problems.map(n=>`${n.path.length>0?`${n.path.join(".")}: `:""}${n.message}`);return a.block===void 0?{problems:r}:{def:a.block,problems:r}}const S=new WeakMap;function G(o){const e=E("task",{[o]:"1"});return Object.keys(e.fields??{})[0]}export function tileChart(o,e){const t=S.get(e);if(t)return t;const a=R(o,e);return S.set(e,a),a}function R(o,e){if(F(e.kind)!=="gantt")return{};const t=j(e.kind,e.spec[e.kind]).block?.fields,r=(typeof t?.data=="string"?t.data:"").replace(/^=/u,"").trim(),n=o.book?.tables.find(f=>f.name.toLowerCase()===r.toLowerCase());if(!n)return{};const u=t?.columns??{},s=f=>{const b=u[f];return b!==void 0?n.columns.find(g=>g.name.toLowerCase()===b.toLowerCase()):n.columns.find(g=>G(g.name)===f)},c=s("name"),d=s("start"),i=s("duration"),h=s("group");if(!c||!d||!i)return{problem:`a Gantt over the cells draws Excel's own Gantt from ${n.name}'s task, start and duration columns${!i&&s("end")?": add a duration column, =[@End]-[@Start]":""}; it has ${n.columns.map(f=>f.name).join(", ")}.`};const m=f=>`${n.name}[${f.name.replace(/([[\]#'])/gu,"'$1")}]`,p={type:"bar-stacked",at:_(e.at),...e.spec.x===void 0?{}:{x:e.spec.x},...e.spec.y===void 0?{}:{y:e.spec.y},...tileSize(e),categories:m(c),series:[{name:d.name,values:m(d)},{name:i.name,values:m(i)}],gap_width:40,category_axis:{reverse:!0},value_axis:{gridlines:!0}},l=D(p,e.index,[],()=>{});return l?(l.gantt={...h?{group:new w(v(m(h)),0,0,{file:"",path:[]})}:{}},{chart:l}):{}}export function tileSvg(o,e,t,a={}){const{def:r,problems:n}=tileDef(o,e,t);if(r===void 0)return{problems:n};const{width:u,height:s}=tileSize(t),c=tileChart(e,t);if(c.chart)return{svg:T(I(o,e,c.chart),u,s,{...e.book?{colors:e.book.colors}:{}}),alt:k(r),problems:n};c.problem!==void 0&&n.push(c.problem);const d=L(e.book?.colors??y,{...a.ground===void 0?{}:{ground:a.ground}});return{svg:$(r,{width:u*.75,height:s*.75},d,{id:a.id??`t${String(t.index)}`}),alt:k(r),problems:n}}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export const widthToPixels=t=>t*7,pixelsToWidth=t=>Math.round(t/7*100)/100,heightToPixels=t=>t*4/3,pixelsToHeight=t=>Math.round(t*3/4*100)/100;function c(t,r,h){const i=JSON.parse(JSON.stringify(t)),n=(o,e,p)=>{for(const s of Object.values(o??{}))s&&typeof s[e]=="number"&&(s[e]=p(s[e]))};for(const o of i.sheets){n(o.columns,"width",r),n(o.rows,"height",h);for(const e of o.tables??[])n(e.columns,"width",r)}return i}export function inPixels(t){return t.units==="px"?t:c(t,widthToPixels,heightToPixels)}export function asWritten(t){return t.units==="px"?t:c(t,pixelsToWidth,pixelsToHeight)}export const isSheetFile=t=>typeof t=="object"&&t!==null&&Array.isArray(t.sheets);