allyhub 0.15.0 → 0.15.2

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 (232) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/node_modules/@allyhub/3d-extension/package.json +1 -1
  3. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  4. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  5. package/dist/node_modules/@allyhub/build/package.json +1 -1
  6. package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
  7. package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
  8. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  9. package/dist/node_modules/@allyhub/check/package.json +1 -1
  10. package/dist/node_modules/@allyhub/cloud/package.json +1 -1
  11. package/dist/node_modules/@allyhub/components/package.json +1 -1
  12. package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
  13. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  14. package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
  15. package/dist/node_modules/@allyhub/doc/package.json +1 -1
  16. package/dist/node_modules/@allyhub/doc-extension/package.json +1 -1
  17. package/dist/node_modules/@allyhub/doc-print/dist/drawn.js +4 -4
  18. package/dist/node_modules/@allyhub/doc-print/dist/fonts.js +3 -3
  19. package/dist/node_modules/@allyhub/doc-print/dist/layout.js +4 -4
  20. package/dist/node_modules/@allyhub/doc-print/dist/pdf.js +4 -4
  21. package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
  22. package/dist/node_modules/@allyhub/export/package.json +1 -1
  23. package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
  24. package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
  25. package/dist/node_modules/@allyhub/formats/package.json +1 -1
  26. package/dist/node_modules/@allyhub/i18n/package.json +1 -1
  27. package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
  28. package/dist/node_modules/@allyhub/image-extension/dist/cli.js +1 -1
  29. package/dist/node_modules/@allyhub/image-extension/dist/export.js +2 -2
  30. package/dist/node_modules/@allyhub/image-extension/package.json +1 -1
  31. package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
  32. package/dist/node_modules/@allyhub/image-psd/dist/ag-psd.js +2 -0
  33. package/dist/node_modules/@allyhub/image-psd/dist/read.js +12 -12
  34. package/dist/node_modules/@allyhub/image-psd/dist/write.js +1 -1
  35. package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
  36. package/dist/node_modules/@allyhub/image-render/dist/pdf.js +1 -1
  37. package/dist/node_modules/@allyhub/image-render/package.json +1 -1
  38. package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
  39. package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
  40. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  41. package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -1
  42. package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
  43. package/dist/node_modules/@allyhub/linkedin-view/dist/index.js +2 -1
  44. package/dist/node_modules/@allyhub/linkedin-view/dist/stage.js +65 -1
  45. package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
  46. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  47. package/dist/node_modules/@allyhub/media/package.json +1 -1
  48. package/dist/node_modules/@allyhub/media-extension/package.json +1 -1
  49. package/dist/node_modules/@allyhub/model/package.json +1 -1
  50. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  51. package/dist/node_modules/@allyhub/piece/package.json +1 -1
  52. package/dist/node_modules/@allyhub/project/package.json +1 -1
  53. package/dist/node_modules/@allyhub/protocol/package.json +1 -1
  54. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  55. package/dist/node_modules/@allyhub/render/dist/exports.js +2 -2
  56. package/dist/node_modules/@allyhub/render/package.json +1 -1
  57. package/dist/node_modules/@allyhub/runtime/package.json +1 -1
  58. package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +1 -1
  59. package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
  60. package/dist/node_modules/@allyhub/runtimes/dist/packages.d.ts +17 -0
  61. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +3 -3
  62. package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
  63. package/dist/node_modules/@allyhub/runtimes/pins/ag-psd/package-lock.json +49 -0
  64. package/dist/node_modules/@allyhub/runtimes/pins/ag-psd/package.json +7 -0
  65. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-caladea/package-lock.json +24 -0
  66. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-caladea/package.json +23 -0
  67. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-carlito/package-lock.json +24 -0
  68. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-carlito/package.json +23 -0
  69. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-cousine/package-lock.json +24 -0
  70. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-cousine/package.json +23 -0
  71. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-lxgw-wenkai/package-lock.json +24 -0
  72. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-lxgw-wenkai/package.json +19 -0
  73. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-noto-color-emoji/package-lock.json +24 -0
  74. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-noto-color-emoji/package.json +17 -0
  75. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-noto-sans-sc/package-lock.json +24 -0
  76. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-noto-sans-sc/package.json +19 -0
  77. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-noto-serif-sc/package-lock.json +24 -0
  78. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-noto-serif-sc/package.json +19 -0
  79. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-tinos/package-lock.json +24 -0
  80. package/dist/node_modules/@allyhub/runtimes/pins/fontsource-tinos/package.json +23 -0
  81. package/dist/node_modules/@allyhub/runtimes/pins/mermaid/package-lock.json +19 -0
  82. package/dist/node_modules/@allyhub/runtimes/pins/mermaid/package.json +15 -0
  83. package/dist/node_modules/@allyhub/runtimes/pins/pdf-lib/package-lock.json +55 -0
  84. package/dist/node_modules/@allyhub/runtimes/pins/pdf-lib/package.json +7 -0
  85. package/dist/node_modules/@allyhub/runtimes/pins/pptxgenjs/package-lock.json +169 -0
  86. package/dist/node_modules/@allyhub/runtimes/pins/pptxgenjs/package.json +7 -0
  87. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  88. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  89. package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
  90. package/dist/node_modules/@allyhub/sheet/package.json +1 -1
  91. package/dist/node_modules/@allyhub/sheet-extension/package.json +1 -1
  92. package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
  93. package/dist/node_modules/@allyhub/slides-extension/package.json +1 -1
  94. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +2 -2
  95. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  96. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  97. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  98. package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
  99. package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
  100. package/dist/node_modules/@allyhub/telemetry/package.json +1 -1
  101. package/dist/node_modules/@allyhub/text-extension/package.json +1 -1
  102. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  103. package/dist/node_modules/@allyhub/video-extension/package.json +1 -1
  104. package/dist/node_modules/@allyhub/video-measure/package.json +1 -1
  105. package/dist/node_modules/@allyhub/video-sdk/package.json +1 -1
  106. package/dist/node_modules/@allyhub/website/package.json +1 -1
  107. package/dist/node_modules/@allyhub/website-extension/package.json +1 -1
  108. package/dist/node_modules/@allyhub/x-extension/package.json +1 -1
  109. package/dist/node_modules/@allyhub/x-model/package.json +1 -1
  110. package/dist/node_modules/@allyhub/x-view/dist/index.js +262 -1
  111. package/dist/node_modules/@allyhub/x-view/dist/stage.js +325 -1
  112. package/dist/node_modules/@allyhub/x-view/package.json +1 -1
  113. package/dist/package.json +12 -12
  114. package/editor-web/assets/{abnfDiagram-WEYOIA3C-BHI0AbUY.js → abnfDiagram-WEYOIA3C-9z0ZEYUq.js} +1 -1
  115. package/editor-web/assets/{architecture-WOLXFQ4H-BMQS-OKZ.js → architecture-WOLXFQ4H-ELMO_PA6.js} +1 -1
  116. package/editor-web/assets/{architectureDiagram-ZHVYKT53-DZp9CM6P.js → architectureDiagram-ZHVYKT53-C0yuCWU3.js} +1 -1
  117. package/editor-web/assets/article-DHFgHYjv.js +3 -0
  118. package/editor-web/assets/article-Dt9id9Y9.js +7 -0
  119. package/editor-web/assets/{blockDiagram-RJAE7QA3-h6LWaev4.js → blockDiagram-RJAE7QA3-vi6JOg4o.js} +1 -1
  120. package/editor-web/assets/{c4Diagram-XDPPPE54-BvSMs7J4.js → c4Diagram-XDPPPE54-Agf_H8uS.js} +1 -1
  121. package/editor-web/assets/channel-Dkg198L0.js +1 -0
  122. package/editor-web/assets/{chunk-2E7WHVMD-0EJTAmDF.js → chunk-2E7WHVMD-XalaZaha.js} +1 -1
  123. package/editor-web/assets/{chunk-4EMNKR2T-BeYB4AEY.js → chunk-4EMNKR2T-DUlRZkCS.js} +1 -1
  124. package/editor-web/assets/{chunk-55XCU76K-BPFOPTBe.js → chunk-55XCU76K-DTa7whGr.js} +1 -1
  125. package/editor-web/assets/{chunk-7S6XSTFO-CZ2C7ULu.js → chunk-7S6XSTFO-85zCPzj0.js} +1 -1
  126. package/editor-web/assets/{chunk-AQDTSKZB-B5RtsZkj.js → chunk-AQDTSKZB-CWBseIyh.js} +1 -1
  127. package/editor-web/assets/{chunk-DSNLSHJZ-_3G4hddj.js → chunk-DSNLSHJZ-BFnyvrWg.js} +1 -1
  128. package/editor-web/assets/{chunk-HAGFOTED-DO5b4ll2.js → chunk-HAGFOTED-DFWda2Rk.js} +1 -1
  129. package/editor-web/assets/{chunk-HNE4Q36P-C6XNI71Q.js → chunk-HNE4Q36P-aXibFitC.js} +1 -1
  130. package/editor-web/assets/{chunk-NQOKRVIF-nDCX29rQ.js → chunk-NQOKRVIF-CtJUuFdN.js} +1 -1
  131. package/editor-web/assets/{chunk-UHW7PFBP-CRCOiitq.js → chunk-UHW7PFBP-B6QKSKWE.js} +1 -1
  132. package/editor-web/assets/{chunk-VQ5W62QI-hNPKKjCN.js → chunk-VQ5W62QI-CF6Al55P.js} +1 -1
  133. package/editor-web/assets/{chunk-WQQL4CDK-KlnVtIDc.js → chunk-WQQL4CDK-w2TKLkyw.js} +1 -1
  134. package/editor-web/assets/{chunk-YZO67HFG-B76hDUrM.js → chunk-YZO67HFG-DVGOATM3.js} +1 -1
  135. package/editor-web/assets/{chunk-ZAUX2LTX-D9m1N0wI.js → chunk-ZAUX2LTX-Cq7MMjDP.js} +1 -1
  136. package/editor-web/assets/{chunk-ZCHMQSOR-443euxzo.js → chunk-ZCHMQSOR-GMW_lBh4.js} +1 -1
  137. package/editor-web/assets/{classDiagram-v2-4MYWR3UA-Bbw-8Ons.js → classDiagram-v2-4MYWR3UA-C7AK5Bkj.js} +1 -1
  138. package/editor-web/assets/code-BID_OoRp.js +1 -0
  139. package/editor-web/assets/{cynefin-EF2NZ3EQ-C4E7TlUr.js → cynefin-EF2NZ3EQ-ZnDieQsN.js} +1 -1
  140. package/editor-web/assets/{cynefinDiagram-WF24UDRP-PBPGa_HS.js → cynefinDiagram-WF24UDRP-BrukKIBF.js} +1 -1
  141. package/editor-web/assets/{dagre-NK4GIZVX-DwXdEtQG.js → dagre-NK4GIZVX-DfO0S2p_.js} +1 -1
  142. package/editor-web/assets/{diagram-CBK3MWTC-BE3FwdX7.js → diagram-CBK3MWTC-D43RLesi.js} +1 -1
  143. package/editor-web/assets/{diagram-I5XIIV2D-BPl2ZY33.js → diagram-I5XIIV2D-bA1B1QQG.js} +1 -1
  144. package/editor-web/assets/{diagram-ODIL2UCW-BLVPYSzw.js → diagram-ODIL2UCW-DAdXBD2K.js} +1 -1
  145. package/editor-web/assets/{diagram-PFBEJUXE-BVZk62FO.js → diagram-PFBEJUXE-C_KyEaws.js} +1 -1
  146. package/editor-web/assets/{diagram-RJA3I4VV-Z75LSbxH.js → diagram-RJA3I4VV-oXTtENF7.js} +1 -1
  147. package/editor-web/assets/{diagram-TYUNFSNR-BynGqDAg.js → diagram-TYUNFSNR-Czupe6mO.js} +1 -1
  148. package/editor-web/assets/dist-2lNSE-G_.js +82 -0
  149. package/editor-web/assets/{dist-D_xVYGnk.js → dist-5HNrQ9AU.js} +3 -3
  150. package/editor-web/assets/dist-BPecIPz6.js +530 -0
  151. package/editor-web/assets/dist-BXJKASX4.js +24 -0
  152. package/editor-web/assets/{dist-CIQUbiAd.js → dist-BeDRTqQ8.js} +11 -11
  153. package/editor-web/assets/{dist-CxlIyluY.js → dist-BlL-4sl3.js} +1 -1
  154. package/editor-web/assets/dist-BtRMClDw.js +40 -0
  155. package/editor-web/assets/{dist-Ch34PllS.js → dist-BuqBg8k8.js} +1 -1
  156. package/editor-web/assets/{dist-cUeSwqws.js → dist-BwW08gSh.js} +1 -1
  157. package/editor-web/assets/{dist-VP4ECMOk.js → dist-C30Thvb3.js} +1 -1
  158. package/editor-web/assets/dist-Cj5AmpVb.js +5 -0
  159. package/editor-web/assets/dist-CjjnDOa8.js +3 -0
  160. package/editor-web/assets/dist-D7ur8721.js +6 -0
  161. package/editor-web/assets/{dist-Nc_h0Jye.js → dist-DOHhp09C.js} +1 -1
  162. package/editor-web/assets/{dist-UG2TIZxP.js → dist-LhFEYZza.js} +1 -1
  163. package/editor-web/assets/{ebnfDiagram-V4P3TTPT-SwhqbeK4.js → ebnfDiagram-V4P3TTPT-BOhNZmtp.js} +1 -1
  164. package/editor-web/assets/{elk-QONTBCTQ-Bb1GSt2Z.js → elk-QONTBCTQ-DoZH3OoE.js} +1 -1
  165. package/editor-web/assets/{erDiagram-KYQIGQAA-qUy0NDKn.js → erDiagram-KYQIGQAA-Bv0KDJi4.js} +1 -1
  166. package/editor-web/assets/{eventmodeling-K75KTNOO-BYBYso_j.js → eventmodeling-K75KTNOO-C-_xzqfj.js} +1 -1
  167. package/editor-web/assets/flowDiagram-IUGLLWBU-C7ZmHJZW.js +1 -0
  168. package/editor-web/assets/{ganttDiagram-R7GPNTJY-Cw-BkZT8.js → ganttDiagram-R7GPNTJY-CAuJlaZX.js} +1 -1
  169. package/editor-web/assets/{gitGraph-VSP46ZUC-CTXzWPq_.js → gitGraph-VSP46ZUC-Dx2xLi5C.js} +1 -1
  170. package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-Jd9HU3WA.js → gitGraphDiagram-PDYL7XHY-DHsk_UOT.js} +1 -1
  171. package/editor-web/assets/{index-CglHrLRS.js → index-BGAXezRR.js} +2 -2
  172. package/editor-web/assets/{info-OHQRW6UA-C4oj5BpF.js → info-OHQRW6UA-CnKQHx5m.js} +1 -1
  173. package/editor-web/assets/{infoDiagram-MVDRKAX5-D09aYJ28.js → infoDiagram-MVDRKAX5-ibAVFw_2.js} +1 -1
  174. package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-BEdXoXb2.js → ishikawaDiagram-HPEHV2GE-C1OCHt3y.js} +1 -1
  175. package/editor-web/assets/{journeyDiagram-BOSHW7O7-DE-_0aww.js → journeyDiagram-BOSHW7O7-BDdqMOM1.js} +1 -1
  176. package/editor-web/assets/{kanban-definition-FNSA4HC5-Cn3_bvPS.js → kanban-definition-FNSA4HC5-CSAS_zGn.js} +1 -1
  177. package/editor-web/assets/lib-KOEbW83T.js +3 -0
  178. package/editor-web/assets/{mermaid-parser.core-BK52JMZH.js → mermaid-parser.core-DTLyYXbn.js} +3 -3
  179. package/editor-web/assets/{mermaid.core-CmfBU89G.js → mermaid.core-B8478wZ1.js} +4 -4
  180. package/editor-web/assets/{mindmap-definition-6OY57UG3-CtUhkv9I.js → mindmap-definition-6OY57UG3-DSWHcglH.js} +1 -1
  181. package/editor-web/assets/{packet-JDAUHWVQ-C7nciBNp.js → packet-JDAUHWVQ-_k1BF29s.js} +1 -1
  182. package/editor-web/assets/{pegDiagram-ECIUJNBX-DUkbAcTs.js → pegDiagram-ECIUJNBX-B22YyWAa.js} +1 -1
  183. package/editor-web/assets/{pie-XZMESJXO-BIGyKhav.js → pie-XZMESJXO-CSwV32hj.js} +1 -1
  184. package/editor-web/assets/{pieDiagram-GNMPY74T-DrYj-JeG.js → pieDiagram-GNMPY74T-rSFNeWnq.js} +1 -1
  185. package/editor-web/assets/{props-form-DrZYDmSM.js → props-form-B6mYjTgZ.js} +1 -1
  186. package/editor-web/assets/{quadrantDiagram-D57K4MC3-qkBoh1ep.js → quadrantDiagram-D57K4MC3-Xrntfg4j.js} +1 -1
  187. package/editor-web/assets/{radar-ABXABTNO-BkJmvR6a.js → radar-ABXABTNO-Dwq5qiNw.js} +1 -1
  188. package/editor-web/assets/{railroad-I3PHUGI6-BFH-ip4B.js → railroad-I3PHUGI6-sIUGWcZh.js} +1 -1
  189. package/editor-web/assets/{railroad-abnf-LNEFI6M7-BBlzHL6Z.js → railroad-abnf-LNEFI6M7-1rWlT9BX.js} +1 -1
  190. package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-CCVsG0ui.js → railroad-ebnf-DWYD2UWJ-DWdkzEHc.js} +1 -1
  191. package/editor-web/assets/{railroad-peg-JR7BVNR7-Puo7BFPl.js → railroad-peg-JR7BVNR7-CME0JBbV.js} +1 -1
  192. package/editor-web/assets/{railroadDiagram-Y72NRBL7-DCwfkv35.js → railroadDiagram-Y72NRBL7-Ch4BpP22.js} +1 -1
  193. package/editor-web/assets/{requirementDiagram-EQYSW5RA-DSTcDj32.js → requirementDiagram-EQYSW5RA-CgE-x3wN.js} +1 -1
  194. package/editor-web/assets/{sankeyDiagram-SY24JHO5-Kqq4fCvG.js → sankeyDiagram-SY24JHO5-DBf4G6n3.js} +1 -1
  195. package/editor-web/assets/{sequenceDiagram-BLEHNHQU-B1uodEgL.js → sequenceDiagram-BLEHNHQU-Bz07CoUS.js} +1 -1
  196. package/editor-web/assets/{split-Cu0fidVK.js → split-mDSkdQkd.js} +1 -1
  197. package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-B6gG3vUm.js → stateDiagram-v2-A6IESKWZ-DuqAmDPP.js} +1 -1
  198. package/editor-web/assets/{swimlanes-B3ENRKFQ-CZayRtvU.js → swimlanes-B3ENRKFQ-C7sOL6rB.js} +1 -1
  199. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-CQ2aWYP-.js +8 -0
  200. package/editor-web/assets/syntax-BIEjjMZL.js +27 -0
  201. package/editor-web/assets/{tabs-B_K0Db1I.js → tabs-C0AHyuE5.js} +1 -1
  202. package/editor-web/assets/{timeline-definition-JXYKGLGB-5YoY8Xhw.js → timeline-definition-JXYKGLGB-CaLYz9mc.js} +1 -1
  203. package/editor-web/assets/{treeView-D4JQ5SDB-Brd_NUPx.js → treeView-D4JQ5SDB-D1P1Kyxc.js} +1 -1
  204. package/editor-web/assets/{treemap-SAJKECNS-DmfdnlWl.js → treemap-SAJKECNS-2YaFL53t.js} +1 -1
  205. package/editor-web/assets/{usecaseDiagram-WPOLBNNX-lcAkMviI.js → usecaseDiagram-WPOLBNNX-uYdbUhUS.js} +1 -1
  206. package/editor-web/assets/{vennDiagram-Q3Y3IDCW-DY_n48hQ.js → vennDiagram-Q3Y3IDCW-DHepmX4t.js} +1 -1
  207. package/editor-web/assets/{video-Bv3rETBU.js → video-Xl-OaXRc.js} +1 -1
  208. package/editor-web/assets/{wardley-7MLQ67FV-DzIFSBQz.js → wardley-7MLQ67FV-Dx0MOPV1.js} +1 -1
  209. package/editor-web/assets/{wardleyDiagram-IVAIDKWA-CsXNajIg.js → wardleyDiagram-IVAIDKWA-BX8ElwDW.js} +1 -1
  210. package/editor-web/assets/words-B2FXYyeZ.js +263 -0
  211. package/editor-web/assets/words-DFIhHhHF.js +3 -0
  212. package/editor-web/assets/{xychartDiagram-4URNHDU4-DDpGFEum.js → xychartDiagram-4URNHDU4-DoWQRJUS.js} +1 -1
  213. package/editor-web/index.html +1 -1
  214. package/package.json +2 -19
  215. package/editor-web/assets/article-C_mBG5a1.js +0 -8
  216. package/editor-web/assets/article-DWBxNvX0.js +0 -7
  217. package/editor-web/assets/bookmark-Dfji3syX.js +0 -1
  218. package/editor-web/assets/channel-BFHB0S0f.js +0 -1
  219. package/editor-web/assets/dist--ijXGgvi.js +0 -5
  220. package/editor-web/assets/dist-C-yi9AAi.js +0 -274
  221. package/editor-web/assets/dist-D9N4Fxqr.js +0 -84
  222. package/editor-web/assets/dist-DWKEqAou.js +0 -6
  223. package/editor-web/assets/dist-DX0VLTRV.js +0 -3
  224. package/editor-web/assets/dist-xpAaABxb.js +0 -24
  225. package/editor-web/assets/flowDiagram-IUGLLWBU-BSCBBtP3.js +0 -1
  226. package/editor-web/assets/katex-UWCZofcd.js +0 -257
  227. package/editor-web/assets/play-DvMyq5xW.js +0 -1
  228. package/editor-web/assets/repeat-2-DfPmKp4w.js +0 -1
  229. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-B9tLTrym.js +0 -8
  230. package/editor-web/assets/syntax-PERQ2szW.js +0 -66
  231. package/editor-web/assets/words-BTRrBFUo.js +0 -2
  232. package/editor-web/assets/words-ll_94CD2.js +0 -3
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "allyhub-pin-fontsource-noto-serif-sc",
3
+ "private": true,
4
+ "version": "5.3.1",
5
+ "dependencies": {
6
+ "@fontsource/noto-serif-sc": "5.3.1"
7
+ },
8
+ "allyhubSize": 86477656,
9
+ "allyhubKeep": {
10
+ "@fontsource/noto-serif-sc": [
11
+ "package.json",
12
+ "LICENSE",
13
+ "400.css",
14
+ "700.css",
15
+ "files/*-400-normal.woff2",
16
+ "files/*-700-normal.woff2"
17
+ ]
18
+ }
19
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "allyhub-pin-fontsource-tinos",
3
+ "version": "5.3.0",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "allyhub-pin-fontsource-tinos",
9
+ "version": "5.3.0",
10
+ "dependencies": {
11
+ "@fontsource/tinos": "5.3.0"
12
+ }
13
+ },
14
+ "node_modules/@fontsource/tinos": {
15
+ "version": "5.3.0",
16
+ "resolved": "https://registry.npmjs.org/@fontsource/tinos/-/tinos-5.3.0.tgz",
17
+ "integrity": "sha512-VVDyyZdbcsLKxo/W7rClAvacD/7DsGc7J5xzzp51Tndib8kDkEe/0bqbb3Xb3iH6+IUjt07aRsvtQ9MGeGGi4w==",
18
+ "license": "OFL-1.1",
19
+ "funding": {
20
+ "url": "https://github.com/sponsors/ayuhito"
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "allyhub-pin-fontsource-tinos",
3
+ "private": true,
4
+ "version": "5.3.0",
5
+ "dependencies": {
6
+ "@fontsource/tinos": "5.3.0"
7
+ },
8
+ "allyhubSize": 1417704,
9
+ "allyhubKeep": {
10
+ "@fontsource/tinos": [
11
+ "package.json",
12
+ "LICENSE",
13
+ "400.css",
14
+ "400-italic.css",
15
+ "700.css",
16
+ "700-italic.css",
17
+ "files/*-400-normal.woff2",
18
+ "files/*-400-italic.woff2",
19
+ "files/*-700-normal.woff2",
20
+ "files/*-700-italic.woff2"
21
+ ]
22
+ }
23
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "allyhub-pin-mermaid",
3
+ "lockfileVersion": 3,
4
+ "requires": true,
5
+ "packages": {
6
+ "": {
7
+ "name": "allyhub-pin-mermaid",
8
+ "dependencies": {
9
+ "mermaid": "12.2.0"
10
+ }
11
+ },
12
+ "node_modules/mermaid": {
13
+ "version": "12.2.0",
14
+ "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-12.2.0.tgz",
15
+ "integrity": "sha512-w7nr/SFrLO7BaVTs3dQTvYSV6nYSBj0Yy9DjBhsIJtAcHqRzXSq4Pg32ujHZ/AdWsAMNEvvhbm5dt9E2tOiHzw==",
16
+ "license": "MIT"
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "allyhub-pin-mermaid",
3
+ "private": true,
4
+ "dependencies": {
5
+ "mermaid": "12.2.0"
6
+ },
7
+ "allyhubSize": 25955888,
8
+ "allyhubKeep": {
9
+ "mermaid": [
10
+ "package.json",
11
+ "LICENSE",
12
+ "dist/mermaid.min.js"
13
+ ]
14
+ }
15
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "allyhub-pin-pdf-lib",
3
+ "lockfileVersion": 3,
4
+ "requires": true,
5
+ "packages": {
6
+ "": {
7
+ "name": "allyhub-pin-pdf-lib",
8
+ "dependencies": {
9
+ "pdf-lib": "1.17.1"
10
+ }
11
+ },
12
+ "node_modules/@pdf-lib/standard-fonts": {
13
+ "version": "1.0.0",
14
+ "resolved": "https://registry.npmjs.org/@pdf-lib/standard-fonts/-/standard-fonts-1.0.0.tgz",
15
+ "integrity": "sha512-hU30BK9IUN/su0Mn9VdlVKsWBS6GyhVfqjwl1FjZN4TxP6cCw0jP2w7V3Hf5uX7M0AZJ16vey9yE0ny7Sa59ZA==",
16
+ "license": "MIT",
17
+ "dependencies": {
18
+ "pako": "^1.0.6"
19
+ }
20
+ },
21
+ "node_modules/@pdf-lib/upng": {
22
+ "version": "1.0.1",
23
+ "resolved": "https://registry.npmjs.org/@pdf-lib/upng/-/upng-1.0.1.tgz",
24
+ "integrity": "sha512-dQK2FUMQtowVP00mtIksrlZhdFXQZPC+taih1q4CvPZ5vqdxR/LKBaFg0oAfzd1GlHZXXSPdQfzQnt+ViGvEIQ==",
25
+ "license": "MIT",
26
+ "dependencies": {
27
+ "pako": "^1.0.10"
28
+ }
29
+ },
30
+ "node_modules/pako": {
31
+ "version": "1.0.11",
32
+ "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
33
+ "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==",
34
+ "license": "(MIT AND Zlib)"
35
+ },
36
+ "node_modules/pdf-lib": {
37
+ "version": "1.17.1",
38
+ "resolved": "https://registry.npmjs.org/pdf-lib/-/pdf-lib-1.17.1.tgz",
39
+ "integrity": "sha512-V/mpyJAoTsN4cnP31vc0wfNA1+p20evqqnap0KLoRUN0Yk/p3wN52DOEsL4oBFcLdb76hlpKPtzJIgo67j/XLw==",
40
+ "license": "MIT",
41
+ "dependencies": {
42
+ "@pdf-lib/standard-fonts": "^1.0.0",
43
+ "@pdf-lib/upng": "^1.0.1",
44
+ "pako": "^1.0.11",
45
+ "tslib": "^1.11.1"
46
+ }
47
+ },
48
+ "node_modules/tslib": {
49
+ "version": "1.14.1",
50
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
51
+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",
52
+ "license": "0BSD"
53
+ }
54
+ }
55
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "allyhub-pin-pdf-lib",
3
+ "private": true,
4
+ "dependencies": {
5
+ "pdf-lib": "1.17.1"
6
+ }
7
+ }
@@ -0,0 +1,169 @@
1
+ {
2
+ "name": "allyhub-pin-pptxgenjs",
3
+ "lockfileVersion": 3,
4
+ "requires": true,
5
+ "packages": {
6
+ "": {
7
+ "name": "allyhub-pin-pptxgenjs",
8
+ "dependencies": {
9
+ "pptxgenjs": "4.0.1"
10
+ }
11
+ },
12
+ "node_modules/@types/node": {
13
+ "version": "22.20.5",
14
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.5.tgz",
15
+ "integrity": "sha512-U2+DNr+wSjpsTS/wZGYHq7GcwfuSmKiKvoPvK22zwTlRhU91yOniN4qRR5KhIjvif7ysw/dz/hKmfDH0Ris4aA==",
16
+ "license": "MIT",
17
+ "dependencies": {
18
+ "undici-types": "~6.21.0"
19
+ }
20
+ },
21
+ "node_modules/core-util-is": {
22
+ "version": "1.0.3",
23
+ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
24
+ "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==",
25
+ "license": "MIT"
26
+ },
27
+ "node_modules/https": {
28
+ "version": "1.0.0",
29
+ "resolved": "https://registry.npmjs.org/https/-/https-1.0.0.tgz",
30
+ "integrity": "sha512-4EC57ddXrkaF0x83Oj8sM6SLQHAWXw90Skqu2M4AEWENZ3F02dFJE/GARA8igO79tcgYqGrD7ae4f5L3um2lgg==",
31
+ "license": "ISC"
32
+ },
33
+ "node_modules/image-size": {
34
+ "version": "1.2.1",
35
+ "resolved": "https://registry.npmjs.org/image-size/-/image-size-1.2.1.tgz",
36
+ "integrity": "sha512-rH+46sQJ2dlwfjfhCyNx5thzrv+dtmBIhPHk0zgRUukHzZ/kRueTJXoYYsclBaKcSMBWuGbOFXtioLpzTb5euw==",
37
+ "license": "MIT",
38
+ "dependencies": {
39
+ "queue": "6.0.2"
40
+ },
41
+ "bin": {
42
+ "image-size": "bin/image-size.js"
43
+ },
44
+ "engines": {
45
+ "node": ">=16.x"
46
+ }
47
+ },
48
+ "node_modules/immediate": {
49
+ "version": "3.0.6",
50
+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
51
+ "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==",
52
+ "license": "MIT"
53
+ },
54
+ "node_modules/inherits": {
55
+ "version": "2.0.4",
56
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
57
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
58
+ "license": "ISC"
59
+ },
60
+ "node_modules/isarray": {
61
+ "version": "1.0.0",
62
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
63
+ "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==",
64
+ "license": "MIT"
65
+ },
66
+ "node_modules/jszip": {
67
+ "version": "3.10.2",
68
+ "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.2.tgz",
69
+ "integrity": "sha512-3l+rb15IOWtUhU0H5MFqES/T6Kh7abYwjosBey/vD6hDt8zoEffkSC5Ws5SGtgVw3gBx2NEbhTeSW1+kWkpyTQ==",
70
+ "license": "(MIT OR GPL-3.0-or-later)",
71
+ "dependencies": {
72
+ "lie": "~3.3.0",
73
+ "pako": "~1.0.2",
74
+ "readable-stream": "~2.3.6",
75
+ "setimmediate": "^1.0.5"
76
+ }
77
+ },
78
+ "node_modules/lie": {
79
+ "version": "3.3.0",
80
+ "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz",
81
+ "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==",
82
+ "license": "MIT",
83
+ "dependencies": {
84
+ "immediate": "~3.0.5"
85
+ }
86
+ },
87
+ "node_modules/pako": {
88
+ "version": "1.0.11",
89
+ "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
90
+ "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==",
91
+ "license": "(MIT AND Zlib)"
92
+ },
93
+ "node_modules/pptxgenjs": {
94
+ "version": "4.0.1",
95
+ "resolved": "https://registry.npmjs.org/pptxgenjs/-/pptxgenjs-4.0.1.tgz",
96
+ "integrity": "sha512-TeJISr8wouAuXw4C1F/mC33xbZs/FuEG6nH9FG1Zj+nuPcGMP5YRHl6X+j3HSUnS1f3at6k75ZZXPMZlA5Lj9A==",
97
+ "license": "MIT",
98
+ "dependencies": {
99
+ "@types/node": "^22.8.1",
100
+ "https": "^1.0.0",
101
+ "image-size": "^1.2.1",
102
+ "jszip": "^3.10.1"
103
+ }
104
+ },
105
+ "node_modules/process-nextick-args": {
106
+ "version": "2.0.1",
107
+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
108
+ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
109
+ "license": "MIT"
110
+ },
111
+ "node_modules/queue": {
112
+ "version": "6.0.2",
113
+ "resolved": "https://registry.npmjs.org/queue/-/queue-6.0.2.tgz",
114
+ "integrity": "sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA==",
115
+ "license": "MIT",
116
+ "dependencies": {
117
+ "inherits": "~2.0.3"
118
+ }
119
+ },
120
+ "node_modules/readable-stream": {
121
+ "version": "2.3.8",
122
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
123
+ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",
124
+ "license": "MIT",
125
+ "dependencies": {
126
+ "core-util-is": "~1.0.0",
127
+ "inherits": "~2.0.3",
128
+ "isarray": "~1.0.0",
129
+ "process-nextick-args": "~2.0.0",
130
+ "safe-buffer": "~5.1.1",
131
+ "string_decoder": "~1.1.1",
132
+ "util-deprecate": "~1.0.1"
133
+ }
134
+ },
135
+ "node_modules/safe-buffer": {
136
+ "version": "5.1.2",
137
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
138
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
139
+ "license": "MIT"
140
+ },
141
+ "node_modules/setimmediate": {
142
+ "version": "1.0.5",
143
+ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
144
+ "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==",
145
+ "license": "MIT"
146
+ },
147
+ "node_modules/string_decoder": {
148
+ "version": "1.1.1",
149
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
150
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
151
+ "license": "MIT",
152
+ "dependencies": {
153
+ "safe-buffer": "~5.1.0"
154
+ }
155
+ },
156
+ "node_modules/undici-types": {
157
+ "version": "6.21.0",
158
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
159
+ "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
160
+ "license": "MIT"
161
+ },
162
+ "node_modules/util-deprecate": {
163
+ "version": "1.0.2",
164
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
165
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
166
+ "license": "MIT"
167
+ }
168
+ }
169
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "allyhub-pin-pptxgenjs",
3
+ "private": true,
4
+ "dependencies": {
5
+ "pptxgenjs": "4.0.1"
6
+ }
7
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/scaffold",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/scenery",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/scenery-host",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/sheet",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/sheet-extension",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./code": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/slides-core",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/slides-extension",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./tools": {
@@ -1,3 +1,3 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{as as Me}from"@allyhub/ooxml";import{accentOf as Ee,CHART_DEFAULTS as Te,EMU_PER_PT as je,isCombinable as Ue,isRound as We}from"@allyhub/slides-core";import{colorAt as I,say as c}from"./common.js";function Be(n,a){const r=n.find(s=>s.some(o=>o!==void 0));return r?{category_colors:Array.from({length:Math.max(a,r.length)},(s,o)=>r[o]??Ee(o))}:{}}const Ge=(n,a)=>n===void 0||n===""?a:n,l=n=>n===void 0?void 0:n.attr("val")??!0,X=n=>{n?.one("c:ptCount")?.attr("val");const a=[];for(const r of n?.all("c:pt")??[])a[r.attr("idx")??a.length]=r.one("c:v")?.text()??"";return Array.from(a,r=>r??"")};function se(n){return n?.one("c:f")?.skip("a series' formula into its workbook: the deck writes its own"),n?.one("c:strCache")}function q(n){return n?.one("c:f")?.skip("a series' formula into its workbook: the deck writes its own"),n?.one("c:numCache")}const Ke=["c:axId","c:crossAx","c:axPos","c:crosses","c:crossesAt","c:crossBetween","c:auto","c:lblAlgn","c:lblOffset","c:noMultiLvlLbl","c:majorTickMark","c:minorTickMark","c:tickLblPos","c:txPr"];function re(n){n?.one("a:bodyPr")?.skip("a chart text's body: the deck sets its own"),n?.one("a:lstStyle")?.skip("a chart text's list style");const a=n?.all("a:p")[0];return a?.one("a:endParaRPr")?.skip("the font of a paragraph's end"),a?.one("a:pPr")?.one("a:defRPr")}function De(n){const a=n?.one("c:tx")?.one("c:rich");a?.one("a:bodyPr")?.skip("a chart title's text body"),a?.one("a:lstStyle");const r=a?.all("a:p")??[];return{text:r.map(o=>o.all("a:r").map(P=>P.one("a:t")?.text()??"").join("")).join(`
3
- `),size:r[0]?.all("a:r")[0]?.one("a:rPr")?.attr("sz")}}function ce(n,a,r=!0){for(const T of Ke)n.one(T)?.skip("an axis's id, place, ticks, crossing and label alignment: the deck draws its own");const s=n.one("c:scaling"),o=s?.one("c:min")?.attr("val"),P=s?.one("c:max")?.attr("val"),m=n.one("c:majorUnit")?.attr("val"),D=n.one("c:numFmt"),g=D?.attr("formatCode"),V=D?.attr("sourceLinked"),_=l(n.one("c:delete"))===!0,C=(T,N=!0)=>{const w=T?.one("a:ln"),E=w?.attr("w");return!_&&E!==void 0&&Math.abs(E-Te.gridWidth*je)>64&&c(a,"approximated","c:spPr/a:ln@w",`an axis's or its gridlines' width is the deck's own, ${String(Te.gridWidth)} pt`),w?.one("a:noFill")&&!_&&N&&c(a,"cannot-hold","c:spPr/a:ln/a:noFill","an axis or its gridlines with no line: a deck draws them"),w?.one("a:round")?.skip("a chart line's join"),I(w?.one("a:solidFill"),a,"c:spPr")?.color},F=n.one("c:majorGridlines"),$=C(F?.one("c:spPr")),p=C(n.one("c:spPr"),r),k=n.one("c:title"),{text:M}=De(k);return k?.one("c:overlay")?.attr("val"),k?.one("c:layout")?.skip("an axis title's own place"),k&&M===""&&c(a,"cannot-hold","c:title","an axis's automatic title: a deck's axis title is words of its own"),{...M===""?{}:{title:M},...o===void 0?{}:{minimum_scale:o},...P===void 0?{}:{maximum_scale:P},...m===void 0?{}:{major_unit:m},has_major_gridlines:F!==void 0,..._?{visible:!1}:{},...g===void 0||g==="General"||V===!0?{}:{number_format:g},...s?.one("c:orientation")?.attr("val")==="maxMin"?{reverse_order:!0}:{},...$===void 0?{}:{gridline_color:$},...p===void 0?{}:{line_color:p}}}export function chartOf(n,a){const r=a.read.pkg,s=r.open(n);if(!s)return"its part is not in the file";const o={...a,part:n};s.one("c:date1904")?.attr("val"),s.one("c:lang")?.skip("a chart's language"),s.one("c:style")?.skip("a chart's style number: its colours are read where it sets them"),s.one("c:roundedCorners")?.attr("val")===!0&&c(o,"cannot-hold","c:roundedCorners","a chart's rounded corners"),s.one("c:printSettings")?.skip("a chart's print settings");const P=s.one("c:externalData");if(P){const e=r.rel(n,P.attr("r:id"));e&&!e.external&&r.leave(e.target,"a chart's workbook: the deck writes one from its numbers"),P.one("c:autoUpdate")?.attr("val")}const m=s.one("c:chart"),D=l(m?.one("c:autoTitleDeleted"));m?.one("c:plotVisOnly")?.attr("val"),m?.one("c:showDLblsOverMax")?.skip("labels over a chart's maximum"),m?.one("c:dispBlanksAs")?.skip("how a chart draws a blank value");const g=m?.one("c:plotArea");g?.one("c:layout")?.skip("a chart's plot area's own layout");const V=e=>e?.kids().find(t=>t.key==="c:spPr");for(const e of[V(s),V(g)]){const t=e?.kids()??[];t.some(i=>i.key==="a:noFill")&&t.every(i=>i.key==="a:noFill"||i.key==="a:ln"&&i.kids().length===1&&i.kids()[0]?.key==="a:noFill")&&e?.consume()}const _=(g?.kids()??[]).filter(e=>e.key.endsWith("Chart")),C=e=>(s.consume(),e);if(_.length===0)return C("it has no plot");const F=e=>e.all("c:ser"),$=e=>{const t=e.key,h=F(e),i=e.one("c:grouping")?.attr("val"),y=i==="percentStacked"?"-stacked-100":i==="stacked"?"-stacked":"",u=h.map(x=>x.one("c:marker")?.one("c:symbol")?.attr("val")).some(x=>x!=="none");if(e.one("c:marker"),t==="c:barChart")return`${e.one("c:barDir")?.attr("val")==="bar"?"bar":"column"}${y===""?"-clustered":y}`;if(t==="c:lineChart")return y===""?u?"line-markers":"line":void 0;if(t==="c:areaChart")return`area${y}`;if(t==="c:pieChart")return"pie";if(t==="c:doughnutChart")return"doughnut";if(t==="c:scatterChart"){Me(e).one("c:scatterStyle")?.attr("val");const x=h.every(z=>z.one("c:spPr")?.one("a:ln")?.el.children.some(H=>H.local==="noFill")),K=h.every(z=>l(z.one("c:smooth"))===!0);return x?"scatter":K&&!u?"scatter-smooth":"scatter-lines"}};for(const e of _){e.use();for(const t of e.all("c:axId"))t.attr("val")}const p=g?.all("c:valAx")??[],k=g?.all("c:catAx")??[],M=e=>e.all("c:axId").map(t=>t.attr("val")),T=e=>e.one("c:axId")?.attr("val"),N=e=>t=>M(e).includes(T(t)??-1),w=_.length>1,E=e=>w&&p.some(t=>N(e)(t)&&t.one("c:axPos")?.attr("val")==="r"),L=_.map(e=>({plot:e,type:$(e),secondary:E(e)}));if(w&&L.some(e=>e.type===void 0||!Ue(e.type)))return C("it combines several kinds of chart, not columns, lines and areas");const ie=e=>Math.min(...F(e).map((t,h)=>t.one("c:order")?.attr("val")??h),1/0),J=L.filter(e=>!e.secondary).sort((e,t)=>ie(e.plot)-ie(t.plot))[0]??L[0];if(!J)return C("it has no plot");const f=J.plot,le=f.key,j=J.type;if(!j)return C(`a deck has no ${le.slice(2)} chart`);const de=L.flatMap(e=>F(e.plot).map(t=>({ser:t,of:e}))).map((e,t)=>({...e,order:e.ser.one("c:order")?.attr("val")??t})).sort((e,t)=>e.order-t.order),Q=de.map(e=>e.ser),ue=[];if(Q.length===0)return C("it has no series");const S=le==="c:scatterChart",[fe]=Q,he=S?void 0:fe?.one("c:cat"),Y=X(se(he?.one("c:strRef"))??q(he?.one("c:numRef"))),Ve=de.map(({ser:e,of:t})=>{const h=t.plot.key;if(e.one("c:idx")?.attr("val"),e.one("c:order")?.attr("val"),e!==fe&&!S){const b=e.one("c:cat");se(b?.one("c:strRef"))?.consume(),q(b?.one("c:numRef"))?.consume()}const i=Me(e),y=q((S?i.one("c:yVal"):e.one("c:val"))?.one("c:numRef")),u=y?.one("c:formatCode")?.text()??"",x=X(y),K=S?q(i.one("c:xVal")?.one("c:numRef")):void 0;K?.one("c:formatCode");const z=S?X(K):void 0,H=z?Math.max(z.length,x.length):Y.length,R=e.one("c:spPr"),Ae=I(R?.one("a:solidFill"),o,"c:spPr")?.color??I(R?.one("a:ln")?.one("a:solidFill"),o,"c:spPr")?.color,ze=l(e.one("c:smooth")),Ne=R?.one("a:ln")?.attr("w");R?.one("a:ln")?.one("a:noFill"),R?.one("a:ln")?.one("a:round")?.skip("a chart line's join"),We(j)&&R?.one("a:ln")?.consume();const Fe=e.one("c:marker"),Le=Fe?.one("c:size")?.attr("val");Fe?.one("c:spPr")?.consume(),l(e.one("c:invertIfNegative"))&&c(o,"cannot-hold","c:invertIfNegative","a bar of a negative value drawn in the inverse of its colour");const Re=[];for(const b of e.all("c:dPt")){const O=b.one("c:idx")?.attr("val"),v=b.one("c:spPr"),Ie=I(v?.one("a:solidFill"),o,"c:spPr")?.color;O===void 0||Ie===void 0||(Re[O]=Ie,l(b.one("c:invertIfNegative"))&&c(o,"cannot-hold","c:dPt/c:invertIfNegative","a bar of a negative value drawn in the inverse of its colour"),b.one("c:bubble3D")?.attr("val"),We(j)&&v?.one("a:ln")?.consume())}ue.push(Re);const Oe=e.one("c:tx");return{name:Ge(X(se(Oe?.one("c:strRef")))[0]??Oe?.one("c:v")?.text(),`Series ${String(Q.indexOf(e)+1)}`),values:Array.from({length:H},(b,O)=>{const v=x[O];return v===void 0||v===""?null:Number(v)}),...z?{x:Array.from({length:H},(b,O)=>{const v=z[O];return v===void 0||v===""?null:Number(v)})}:{},...u===""||u==="General"?{}:{number_format:u},...Ae===void 0?{}:{color:Ae},...ze===!0?{smooth:ze}:{},...Ne===void 0||h!=="c:lineChart"&&!S?{}:{line_width:Ne/je},...Le===void 0?{}:{marker_size:Le},...t.type!==void 0&&t.type!==j?{type:t.type}:{},...t.secondary?{secondary:!0}:{}}}),U=m?.one("c:title"),{text:Z,size:me}=De(U);U&&Z===""&&D!==!0&&c(o,"cannot-hold","c:title","a chart's automatic title (its series' name): a deck's chart title is words of its own"),l(U?.one("c:overlay"))===!0&&c(o,"cannot-hold","c:title/c:overlay","a chart's title drawn over its plot"),U?.one("c:layout")?.skip("a chart title's own place");const W=m?.one("c:legend"),B=W?.one("c:legendPos")?.attr("val");l(W?.one("c:overlay"))===!0&&c(o,"cannot-hold","c:legend/c:overlay","a chart's legend drawn over its plot"),W?.one("c:layout")?.skip("a legend's own place");const pe=re(W?.one("c:txPr"))?.attr("sz"),$e={b:"bottom",t:"top",l:"left",r:"right"}[B==="b"||B==="t"||B==="l"?B:"r"],A=f.one("c:dLbls"),d=e=>l(A?.one(e))===!0;l(A?.one("c:showLegendKey"))===!0&&c(o,"cannot-hold","c:showLegendKey","a chart's labels with their legend keys"),A?.one("c:showBubbleSize")?.attr("val"),l(A?.one("c:showLeaderLines"))===!0&&(d("c:showVal")||d("c:showPercent")||d("c:showCatName")||d("c:showSerName"))&&c(o,"cannot-hold","c:showLeaderLines","lines from a chart's labels to their points");const ve=A?.one("c:numFmt")?.attr("formatCode"),ge=A?.one("c:dLblPos")?.attr("val"),ke=re(A?.one("c:txPr")),we=ke?.attr("sz"),ye=I(ke?.one("a:solidFill"),o,"c:dLbls")?.color,ee=f.one("c:gapWidth")?.attr("val"),te=f.one("c:overlap")?.attr("val"),xe=f.one("c:holeSize")?.attr("val"),be=l(f.one("c:varyColors"));f.one("c:varyColors")?.attr("val");const ne=f.one("c:firstSliceAng")?.attr("val");ne!==void 0&&ne!==0&&c(o,"cannot-hold","c:firstSliceAng",`a round chart's first slice turned ${String(ne)}°`);const Pe=re(s.one("c:txPr")),oe=Pe?.attr("sz");pe!==void 0&&pe!==oe&&c(o,"cannot-hold","c:legend/c:txPr","a legend's own text size: a chart's text is one size");const _e=I(Pe?.one("a:solidFill"),o,"c:txPr")?.color;for(const{plot:e}of L){if(e===f)continue;const t=u=>e.one(u)?.attr("val");t("c:gapWidth")!==void 0&&t("c:gapWidth")!==ee&&c(o,"cannot-hold","c:gapWidth","a combination chart's plot's own gap width: its plots share the first's"),t("c:overlap")!==void 0&&t("c:overlap")!==te&&c(o,"cannot-hold","c:overlap","a combination chart's plot's own overlap: its plots share the first's"),e.one("c:varyColors")?.attr("val"),e.one("c:barDir")?.attr("val"),e.one("c:grouping")?.attr("val");const h=e.one("c:dLbls"),i=u=>l(h?.one(u))===!0,y=["c:showVal","c:showPercent","c:showCatName","c:showSerName"].some(u=>i(u)!==d(u));h?.consume(),y&&c(o,"cannot-hold","c:dLbls","a combination chart's plot's own data labels: its plots share the first's")}const Ce=S?p[1]:w?p.find(N(f))??p[0]:p[0],ae=S?p[0]:w?k.find(N(f))??k[0]:k[0],G=L.find(e=>e.secondary)?.plot,Se=G?p.find(e=>N(G)(e)&&e.one("c:axPos")?.attr("val")==="r"):void 0;for(const e of k)e===ae||!G||!N(G)(e)||(l(e.one("c:delete"))!==!0&&c(o,"cannot-hold","c:catAx","a second category axis that shows: a deck's second value axis crosses a hidden one"),e.consume());return{type:j,categories:Y,series:Ve,...Z===""?{}:{title:Z},...W?{legend:$e}:{},...A&&(d("c:showVal")||d("c:showPercent")||d("c:showCatName")||d("c:showSerName"))?{labels:{show_value:d("c:showVal"),show_percentage:d("c:showPercent"),show_category_name:d("c:showCatName"),show_series_name:d("c:showSerName"),...ve===void 0?{}:{number_format:ve},...ge===void 0?{}:{position:ge},...we===void 0?{}:{size:we/100},...ye===void 0?{}:{color:ye}}}:{},...ee===void 0?{}:{gap_width:Number(ee)},...te===void 0?{}:{overlap:Number(te)},...xe===void 0?{}:{hole_size:Number(xe)},...be===void 0?{}:{vary_by_categories:be},...Be(ue,Y.length),...Ce?{value_axis:ce(Ce,o,!1)}:{},...ae?{category_axis:ce(ae,o)}:{},...Se?{secondary_axis:ce(Se,o,!1)}:{},...oe===void 0?{}:{font_size:oe/100},...me===void 0?{}:{title_size:me/100},..._e===void 0?{}:{font_color:_e}}}
2
+ import{as as Ie}from"@allyhub/ooxml";import{accentOf as Ue,CHART_DEFAULTS as Me,EMU_PER_PT as Re,isCombinable as Be,isRound as Te}from"@allyhub/slides-core";import{colorAt as M,say as c}from"./common.js";function Ge(t,a){const s=t.find(r=>r.some(o=>o!==void 0));return s?{category_colors:Array.from({length:Math.max(a,s.length)},(r,o)=>s[o]??Ue(o))}:{}}const Ke=(t,a)=>t===void 0||t===""?a:t,l=t=>t===void 0?void 0:t.attr("val")??!0,X=t=>{t?.one("c:ptCount")?.attr("val");const a=[];for(const s of t?.all("c:pt")??[])a[s.attr("idx")??a.length]=s.one("c:v")?.text()??"";return Array.from(a,s=>s??"")};function je(t){return t?.one("c:f")?.skip("a series' formula into its workbook: the deck writes its own"),t?.one("c:strCache")}function We(t){return t?.one("c:f")?.skip("a series' formula into its workbook: the deck writes its own"),t?.one("c:numCache")}function ae(t){return je(t?.one("c:strRef"))??We(t?.one("c:numRef"))??t?.one("c:strLit")??t?.one("c:numLit")}function He(t){return We(t?.one("c:numRef"))??t?.one("c:numLit")}const Xe=["c:axId","c:crossAx","c:axPos","c:crosses","c:crossesAt","c:crossBetween","c:auto","c:lblAlgn","c:lblOffset","c:noMultiLvlLbl","c:majorTickMark","c:minorTickMark","c:tickLblPos","c:txPr"];function re(t){t?.one("a:bodyPr")?.skip("a chart text's body: the deck sets its own"),t?.one("a:lstStyle")?.skip("a chart text's list style");const a=t?.all("a:p")[0];return a?.one("a:endParaRPr")?.skip("the font of a paragraph's end"),a?.one("a:pPr")?.one("a:defRPr")}function De(t){const a=t?.one("c:tx")?.one("c:rich");a?.one("a:bodyPr")?.skip("a chart title's text body"),a?.one("a:lstStyle");const s=a?.all("a:p")??[];return{text:s.map(o=>o.all("a:r").map(b=>b.one("a:t")?.text()??"").join("")).join(`
3
+ `),size:s[0]?.all("a:r")[0]?.one("a:rPr")?.attr("sz")}}function se(t,a,s=!0){for(const T of Xe)t.one(T)?.skip("an axis's id, place, ticks, crossing and label alignment: the deck draws its own");const r=t.one("c:scaling"),o=r?.one("c:min")?.attr("val"),b=r?.one("c:max")?.attr("val"),m=t.one("c:majorUnit")?.attr("val"),D=t.one("c:numFmt"),g=D?.attr("formatCode"),V=D?.attr("sourceLinked"),P=l(t.one("c:delete"))===!0,_=(T,z=!0)=>{const w=T?.one("a:ln"),E=w?.attr("w");return!P&&E!==void 0&&Math.abs(E-Me.gridWidth*Re)>64&&c(a,"approximated","c:spPr/a:ln@w",`an axis's or its gridlines' width is the deck's own, ${String(Me.gridWidth)} pt`),w?.one("a:noFill")&&!P&&z&&c(a,"cannot-hold","c:spPr/a:ln/a:noFill","an axis or its gridlines with no line: a deck draws them"),w?.one("a:round")?.skip("a chart line's join"),M(w?.one("a:solidFill"),a,"c:spPr")?.color},L=t.one("c:majorGridlines"),$=_(L?.one("c:spPr")),p=_(t.one("c:spPr"),s),k=t.one("c:title"),{text:R}=De(k);return k?.one("c:overlay")?.attr("val"),k?.one("c:layout")?.skip("an axis title's own place"),k&&R===""&&c(a,"cannot-hold","c:title","an axis's automatic title: a deck's axis title is words of its own"),{...R===""?{}:{title:R},...o===void 0?{}:{minimum_scale:o},...b===void 0?{}:{maximum_scale:b},...m===void 0?{}:{major_unit:m},has_major_gridlines:L!==void 0,...P?{visible:!1}:{},...g===void 0||g==="General"||V===!0?{}:{number_format:g},...r?.one("c:orientation")?.attr("val")==="maxMin"?{reverse_order:!0}:{},...$===void 0?{}:{gridline_color:$},...p===void 0?{}:{line_color:p}}}export function chartOf(t,a){const s=a.read.pkg,r=s.open(t);if(!r)return"its part is not in the file";const o={...a,part:t};r.one("c:date1904")?.attr("val"),r.one("c:lang")?.skip("a chart's language"),r.one("c:style")?.skip("a chart's style number: its colours are read where it sets them"),r.one("c:roundedCorners")?.attr("val")===!0&&c(o,"cannot-hold","c:roundedCorners","a chart's rounded corners"),r.one("c:printSettings")?.skip("a chart's print settings");const b=r.one("c:externalData");if(b){const e=s.rel(t,b.attr("r:id"));e&&!e.external&&s.leave(e.target,"a chart's workbook: the deck writes one from its numbers"),b.one("c:autoUpdate")?.attr("val")}const m=r.one("c:chart"),D=l(m?.one("c:autoTitleDeleted"));m?.one("c:plotVisOnly")?.attr("val"),m?.one("c:showDLblsOverMax")?.skip("labels over a chart's maximum"),m?.one("c:dispBlanksAs")?.skip("how a chart draws a blank value");const g=m?.one("c:plotArea");g?.one("c:layout")?.skip("a chart's plot area's own layout");const V=e=>e?.kids().find(n=>n.key==="c:spPr");for(const e of[V(r),V(g)]){const n=e?.kids()??[];n.some(i=>i.key==="a:noFill")&&n.every(i=>i.key==="a:noFill"||i.key==="a:ln"&&i.kids().length===1&&i.kids()[0]?.key==="a:noFill")&&e?.consume()}const P=(g?.kids()??[]).filter(e=>e.key.endsWith("Chart")),_=e=>(r.consume(),e);if(P.length===0)return _("it has no plot");const L=e=>e.all("c:ser"),$=e=>{const n=e.key,h=L(e),i=e.one("c:grouping")?.attr("val"),y=i==="percentStacked"?"-stacked-100":i==="stacked"?"-stacked":"",u=h.map(x=>x.one("c:marker")?.one("c:symbol")?.attr("val")).some(x=>x!=="none");if(e.one("c:marker"),n==="c:barChart")return`${e.one("c:barDir")?.attr("val")==="bar"?"bar":"column"}${y===""?"-clustered":y}`;if(n==="c:lineChart")return y===""?u?"line-markers":"line":void 0;if(n==="c:areaChart")return`area${y}`;if(n==="c:pieChart")return"pie";if(n==="c:doughnutChart")return"doughnut";if(n==="c:scatterChart"){Ie(e).one("c:scatterStyle")?.attr("val");const x=h.every(A=>A.one("c:spPr")?.one("a:ln")?.el.children.some(H=>H.local==="noFill")),K=h.every(A=>l(A.one("c:smooth"))===!0);return x?"scatter":K&&!u?"scatter-smooth":"scatter-lines"}};for(const e of P){e.use();for(const n of e.all("c:axId"))n.attr("val")}const p=g?.all("c:valAx")??[],k=g?.all("c:catAx")??[],R=e=>e.all("c:axId").map(n=>n.attr("val")),T=e=>e.one("c:axId")?.attr("val"),z=e=>n=>R(e).includes(T(n)??-1),w=P.length>1,E=e=>w&&p.some(n=>z(e)(n)&&n.one("c:axPos")?.attr("val")==="r"),N=P.map(e=>({plot:e,type:$(e),secondary:E(e)}));if(w&&N.some(e=>e.type===void 0||!Be(e.type)))return _("it combines several kinds of chart, not columns, lines and areas");const ce=e=>Math.min(...L(e).map((n,h)=>n.one("c:order")?.attr("val")??h),1/0),q=N.filter(e=>!e.secondary).sort((e,n)=>ce(e.plot)-ce(n.plot))[0]??N[0];if(!q)return _("it has no plot");const f=q.plot,ie=f.key,j=q.type;if(!j)return _(`a deck has no ${ie.slice(2)} chart`);const le=N.flatMap(e=>L(e.plot).map(n=>({ser:n,of:e}))).map((e,n)=>({...e,order:e.ser.one("c:order")?.attr("val")??n})).sort((e,n)=>e.order-n.order),J=le.map(e=>e.ser),de=[];if(J.length===0)return _("it has no series");const C=ie==="c:scatterChart",[ue]=J,Ve=C?void 0:ue?.one("c:cat"),Q=X(ae(Ve)),$e=le.map(({ser:e,of:n})=>{const h=n.plot.key;e.one("c:idx")?.attr("val"),e.one("c:order")?.attr("val"),e!==ue&&!C&&ae(e.one("c:cat"))?.consume();const i=Ie(e),y=He(C?i.one("c:yVal"):e.one("c:val")),u=y?.one("c:formatCode")?.text()??"",x=X(y),K=C?ae(i.one("c:xVal")):void 0;K?.one("c:formatCode");const A=C?X(K):void 0,H=A?Math.max(A.length,x.length):Q.length,F=e.one("c:spPr"),Ce=M(F?.one("a:solidFill"),o,"c:spPr")?.color??M(F?.one("a:ln")?.one("a:solidFill"),o,"c:spPr")?.color,Se=l(e.one("c:smooth")),Ae=F?.one("a:ln")?.attr("w");F?.one("a:ln")?.one("a:noFill"),F?.one("a:ln")?.one("a:round")?.skip("a chart line's join"),Te(j)&&F?.one("a:ln")?.consume();const ze=e.one("c:marker"),Le=ze?.one("c:size")?.attr("val");ze?.one("c:spPr")?.consume(),l(e.one("c:invertIfNegative"))&&c(o,"cannot-hold","c:invertIfNegative","a bar of a negative value drawn in the inverse of its colour");const Ne=[];for(const O of e.all("c:dPt")){const I=O.one("c:idx")?.attr("val"),v=O.one("c:spPr"),Oe=M(v?.one("a:solidFill"),o,"c:spPr")?.color;I===void 0||Oe===void 0||(Ne[I]=Oe,l(O.one("c:invertIfNegative"))&&c(o,"cannot-hold","c:dPt/c:invertIfNegative","a bar of a negative value drawn in the inverse of its colour"),O.one("c:bubble3D")?.attr("val"),Te(j)&&v?.one("a:ln")?.consume())}de.push(Ne);const Fe=e.one("c:tx");return{name:Ke(X(je(Fe?.one("c:strRef")))[0]??Fe?.one("c:v")?.text(),`Series ${String(J.indexOf(e)+1)}`),values:Array.from({length:H},(O,I)=>{const v=x[I];return v===void 0||v===""?null:Number(v)}),...A?{x:Array.from({length:H},(O,I)=>{const v=A[I];return v===void 0||v===""?null:Number(v)})}:{},...u===""||u==="General"?{}:{number_format:u},...Ce===void 0?{}:{color:Ce},...Se===!0?{smooth:Se}:{},...Ae===void 0||h!=="c:lineChart"&&!C?{}:{line_width:Ae/Re},...Le===void 0?{}:{marker_size:Le},...n.type!==void 0&&n.type!==j?{type:n.type}:{},...n.secondary?{secondary:!0}:{}}}),U=m?.one("c:title"),{text:Y,size:fe}=De(U);U&&Y===""&&D!==!0&&c(o,"cannot-hold","c:title","a chart's automatic title (its series' name): a deck's chart title is words of its own"),l(U?.one("c:overlay"))===!0&&c(o,"cannot-hold","c:title/c:overlay","a chart's title drawn over its plot"),U?.one("c:layout")?.skip("a chart title's own place");const W=m?.one("c:legend"),B=W?.one("c:legendPos")?.attr("val");l(W?.one("c:overlay"))===!0&&c(o,"cannot-hold","c:legend/c:overlay","a chart's legend drawn over its plot"),W?.one("c:layout")?.skip("a legend's own place");const he=re(W?.one("c:txPr"))?.attr("sz"),Ee={b:"bottom",t:"top",l:"left",r:"right"}[B==="b"||B==="t"||B==="l"?B:"r"],S=f.one("c:dLbls"),d=e=>l(S?.one(e))===!0;l(S?.one("c:showLegendKey"))===!0&&c(o,"cannot-hold","c:showLegendKey","a chart's labels with their legend keys"),S?.one("c:showBubbleSize")?.attr("val"),l(S?.one("c:showLeaderLines"))===!0&&(d("c:showVal")||d("c:showPercent")||d("c:showCatName")||d("c:showSerName"))&&c(o,"cannot-hold","c:showLeaderLines","lines from a chart's labels to their points");const me=S?.one("c:numFmt")?.attr("formatCode"),pe=S?.one("c:dLblPos")?.attr("val"),ve=re(S?.one("c:txPr")),ge=ve?.attr("sz"),ke=M(ve?.one("a:solidFill"),o,"c:dLbls")?.color,Z=f.one("c:gapWidth")?.attr("val"),ee=f.one("c:overlap")?.attr("val"),we=f.one("c:holeSize")?.attr("val"),ye=l(f.one("c:varyColors"));f.one("c:varyColors")?.attr("val");const te=f.one("c:firstSliceAng")?.attr("val");te!==void 0&&te!==0&&c(o,"cannot-hold","c:firstSliceAng",`a round chart's first slice turned ${String(te)}°`);const xe=re(r.one("c:txPr")),ne=xe?.attr("sz");he!==void 0&&he!==ne&&c(o,"cannot-hold","c:legend/c:txPr","a legend's own text size: a chart's text is one size");const be=M(xe?.one("a:solidFill"),o,"c:txPr")?.color;for(const{plot:e}of N){if(e===f)continue;const n=u=>e.one(u)?.attr("val");n("c:gapWidth")!==void 0&&n("c:gapWidth")!==Z&&c(o,"cannot-hold","c:gapWidth","a combination chart's plot's own gap width: its plots share the first's"),n("c:overlap")!==void 0&&n("c:overlap")!==ee&&c(o,"cannot-hold","c:overlap","a combination chart's plot's own overlap: its plots share the first's"),e.one("c:varyColors")?.attr("val"),e.one("c:barDir")?.attr("val"),e.one("c:grouping")?.attr("val");const h=e.one("c:dLbls"),i=u=>l(h?.one(u))===!0,y=["c:showVal","c:showPercent","c:showCatName","c:showSerName"].some(u=>i(u)!==d(u));h?.consume(),y&&c(o,"cannot-hold","c:dLbls","a combination chart's plot's own data labels: its plots share the first's")}const Pe=C?p[1]:w?p.find(z(f))??p[0]:p[0],oe=C?p[0]:w?k.find(z(f))??k[0]:k[0],G=N.find(e=>e.secondary)?.plot,_e=G?p.find(e=>z(G)(e)&&e.one("c:axPos")?.attr("val")==="r"):void 0;for(const e of k)e===oe||!G||!z(G)(e)||(l(e.one("c:delete"))!==!0&&c(o,"cannot-hold","c:catAx","a second category axis that shows: a deck's second value axis crosses a hidden one"),e.consume());return{type:j,categories:Q,series:$e,...Y===""?{}:{title:Y},...W?{legend:Ee}:{},...S&&(d("c:showVal")||d("c:showPercent")||d("c:showCatName")||d("c:showSerName"))?{labels:{show_value:d("c:showVal"),show_percentage:d("c:showPercent"),show_category_name:d("c:showCatName"),show_series_name:d("c:showSerName"),...me===void 0?{}:{number_format:me},...pe===void 0?{}:{position:pe},...ge===void 0?{}:{size:ge/100},...ke===void 0?{}:{color:ke}}}:{},...Z===void 0?{}:{gap_width:Number(Z)},...ee===void 0?{}:{overlap:Number(ee)},...we===void 0?{}:{hole_size:Number(we)},...ye===void 0?{}:{vary_by_categories:ye},...Ge(de,Q.length),...Pe?{value_axis:se(Pe,o,!1)}:{},...oe?{category_axis:se(oe,o)}:{},..._e?{secondary_axis:se(_e,o,!1)}:{},...ne===void 0?{}:{font_size:ne/100},...fe===void 0?{}:{title_size:fe/100},...be===void 0?{}:{font_color:be}}}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/slides-pptx",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/slides-runtime",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/stage",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/stage-page",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/stage-runtime",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/telemetry",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/text-extension",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./package.json": "./package.json"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/video-core",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/video-extension",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./tools": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/video-measure",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/video-sdk",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/website",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/website-extension",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./tools": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/x-extension",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/x-model",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {