allyhub 0.17.0 → 0.18.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 (219) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/commands/render.js +1 -1
  3. package/dist/node_modules/@allyhub/3d-extension/package.json +1 -1
  4. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  5. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  6. package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +7 -4
  7. package/dist/node_modules/@allyhub/build/package.json +1 -1
  8. package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
  9. package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
  10. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  11. package/dist/node_modules/@allyhub/check/package.json +1 -1
  12. package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +21 -2
  13. package/dist/node_modules/@allyhub/cloud/dist/blobs.js +1 -1
  14. package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +1 -1
  15. package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +1 -1
  16. package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
  17. package/dist/node_modules/@allyhub/cloud/package.json +1 -1
  18. package/dist/node_modules/@allyhub/components/package.json +1 -1
  19. package/dist/node_modules/@allyhub/dev-server/dist/offline-page.js +2 -0
  20. package/dist/node_modules/@allyhub/dev-server/dist/pages.js +1 -1
  21. package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
  22. package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
  23. package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
  24. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  25. package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
  26. package/dist/node_modules/@allyhub/doc/package.json +1 -1
  27. package/dist/node_modules/@allyhub/doc-extension/package.json +1 -1
  28. package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
  29. package/dist/node_modules/@allyhub/export/package.json +1 -1
  30. package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
  31. package/dist/node_modules/@allyhub/extension-host/dist/host.js +1 -1
  32. package/dist/node_modules/@allyhub/extension-host/dist/points.js +1 -1
  33. package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
  34. package/dist/node_modules/@allyhub/formats/dist/files.d.ts +4 -0
  35. package/dist/node_modules/@allyhub/formats/package.json +1 -1
  36. package/dist/node_modules/@allyhub/html-extension/LICENSE +241 -0
  37. package/dist/node_modules/@allyhub/html-extension/dist/page.js +6 -0
  38. package/dist/node_modules/@allyhub/html-extension/dist/project-tools.js +21 -0
  39. package/dist/node_modules/@allyhub/html-extension/dist/tools.js +2 -0
  40. package/dist/node_modules/@allyhub/html-extension/markup/allyhub.yaml +2 -0
  41. package/dist/node_modules/@allyhub/html-extension/markup/markup.json +15 -0
  42. package/dist/node_modules/@allyhub/html-extension/markup/pages/budget.html +36 -0
  43. package/dist/node_modules/@allyhub/html-extension/package.json +92 -0
  44. package/dist/node_modules/@allyhub/i18n/package.json +1 -1
  45. package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
  46. package/dist/node_modules/@allyhub/image-extension/package.json +1 -1
  47. package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
  48. package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
  49. package/dist/node_modules/@allyhub/image-render/package.json +1 -1
  50. package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
  51. package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
  52. package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +1 -1
  53. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  54. package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -1
  55. package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
  56. package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
  57. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  58. package/dist/node_modules/@allyhub/media/package.json +1 -1
  59. package/dist/node_modules/@allyhub/media-extension/package.json +2 -1
  60. package/dist/node_modules/@allyhub/model/package.json +1 -1
  61. package/dist/node_modules/@allyhub/office-extension/package.json +4 -1
  62. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  63. package/dist/node_modules/@allyhub/piece/package.json +1 -1
  64. package/dist/node_modules/@allyhub/project/package.json +1 -1
  65. package/dist/node_modules/@allyhub/protocol/dist/events.d.ts +39 -0
  66. package/dist/node_modules/@allyhub/protocol/dist/events.js +1 -1
  67. package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +3 -2
  68. package/dist/node_modules/@allyhub/protocol/dist/kinds.js +1 -1
  69. package/dist/node_modules/@allyhub/protocol/dist/paywall.d.ts +2 -2
  70. package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +1 -1
  71. package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +11 -4
  72. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
  73. package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +0 -7
  74. package/dist/node_modules/@allyhub/protocol/dist/teams.js +1 -1
  75. package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
  76. package/dist/node_modules/@allyhub/protocol/dist/turns.d.ts +2 -2
  77. package/dist/node_modules/@allyhub/protocol/package.json +1 -1
  78. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  79. package/dist/node_modules/@allyhub/render/package.json +1 -1
  80. package/dist/node_modules/@allyhub/runtime/package.json +1 -1
  81. package/dist/node_modules/@allyhub/runtimes/manifest.json +1 -1
  82. package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
  83. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  84. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  85. package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
  86. package/dist/node_modules/@allyhub/sheet/package.json +1 -1
  87. package/dist/node_modules/@allyhub/sheet-extension/package.json +1 -1
  88. package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
  89. package/dist/node_modules/@allyhub/slides-extension/package.json +1 -1
  90. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  91. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  92. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  93. package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
  94. package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
  95. package/dist/node_modules/@allyhub/telemetry/package.json +1 -1
  96. package/dist/node_modules/@allyhub/text-extension/package.json +2 -1
  97. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  98. package/dist/node_modules/@allyhub/video-extension/package.json +1 -1
  99. package/dist/node_modules/@allyhub/video-measure/package.json +1 -1
  100. package/dist/node_modules/@allyhub/video-sdk/package.json +1 -1
  101. package/dist/node_modules/@allyhub/website/package.json +1 -1
  102. package/dist/node_modules/@allyhub/website-extension/package.json +1 -1
  103. package/dist/node_modules/@allyhub/x-extension/package.json +1 -1
  104. package/dist/node_modules/@allyhub/x-model/package.json +1 -1
  105. package/dist/node_modules/@allyhub/x-view/package.json +1 -1
  106. package/dist/package.json +14 -13
  107. package/editor-web/assets/{abnfDiagram-WEYOIA3C-CHNpVSPv.js → abnfDiagram-WEYOIA3C-Hy4-O0wN.js} +1 -1
  108. package/editor-web/assets/{architecture-WOLXFQ4H-gPsJqQwV.js → architecture-WOLXFQ4H-43JEVxqz.js} +1 -1
  109. package/editor-web/assets/{architectureDiagram-ZHVYKT53-CEIDcC6r.js → architectureDiagram-ZHVYKT53-7bFTl41n.js} +1 -1
  110. package/editor-web/assets/article-CS48wwvk.js +3 -0
  111. package/editor-web/assets/{article-DfELjJ2o.js → article-Cyle57uq.js} +2 -2
  112. package/editor-web/assets/{blockDiagram-RJAE7QA3-CUzEGVet.js → blockDiagram-RJAE7QA3-DcoNo1WH.js} +1 -1
  113. package/editor-web/assets/{c4Diagram-XDPPPE54-CB94NR9s.js → c4Diagram-XDPPPE54-CsMt61gx.js} +1 -1
  114. package/editor-web/assets/channel-HUlo15J7.js +1 -0
  115. package/editor-web/assets/{chunk-2E7WHVMD-DFYo_Boi.js → chunk-2E7WHVMD-fj-TJIRG.js} +1 -1
  116. package/editor-web/assets/{chunk-4EMNKR2T-CLLjmweX.js → chunk-4EMNKR2T-Du5cRy-Y.js} +1 -1
  117. package/editor-web/assets/{chunk-55XCU76K-CkwQ_3m1.js → chunk-55XCU76K-BHXxBBtm.js} +1 -1
  118. package/editor-web/assets/{chunk-7S6XSTFO-V-AvHpAB.js → chunk-7S6XSTFO-R5HW6X5I.js} +1 -1
  119. package/editor-web/assets/{chunk-AQDTSKZB-PjHyYpb8.js → chunk-AQDTSKZB-C98F2BUb.js} +1 -1
  120. package/editor-web/assets/{chunk-DSNLSHJZ-QaczBS3J.js → chunk-DSNLSHJZ-NIGsJ2cK.js} +1 -1
  121. package/editor-web/assets/{chunk-HAGFOTED-aLaQB5Xu.js → chunk-HAGFOTED-BtHxtfW5.js} +1 -1
  122. package/editor-web/assets/{chunk-HNE4Q36P-De3ftDQR.js → chunk-HNE4Q36P-BI8i7Vkk.js} +1 -1
  123. package/editor-web/assets/{chunk-NQOKRVIF-CrhVQyvP.js → chunk-NQOKRVIF-DP_Z_zEA.js} +1 -1
  124. package/editor-web/assets/{chunk-UHW7PFBP-BFmZ5ZLn.js → chunk-UHW7PFBP-C_8bui28.js} +1 -1
  125. package/editor-web/assets/{chunk-VQ5W62QI-CzppUHLA.js → chunk-VQ5W62QI-CKZgzWB2.js} +1 -1
  126. package/editor-web/assets/{chunk-WQQL4CDK-BrAU7V6v.js → chunk-WQQL4CDK-Ff4DgCht.js} +1 -1
  127. package/editor-web/assets/{chunk-YZO67HFG-BSiF71qj.js → chunk-YZO67HFG-Csbx1-pi.js} +1 -1
  128. package/editor-web/assets/{chunk-ZAUX2LTX-BJc4r5b1.js → chunk-ZAUX2LTX-BO1kcV3w.js} +1 -1
  129. package/editor-web/assets/{chunk-ZCHMQSOR-CkGTuehB.js → chunk-ZCHMQSOR-CxeNZYZG.js} +1 -1
  130. package/editor-web/assets/{classDiagram-v2-4MYWR3UA-Byxc7J88.js → classDiagram-v2-4MYWR3UA-D8eHQa5i.js} +1 -1
  131. package/editor-web/assets/{cynefin-EF2NZ3EQ-BSxkVbdf.js → cynefin-EF2NZ3EQ-lIUY3WQQ.js} +1 -1
  132. package/editor-web/assets/{cynefinDiagram-WF24UDRP-IkCgARNs.js → cynefinDiagram-WF24UDRP-CFOOhEEs.js} +1 -1
  133. package/editor-web/assets/{dagre-NK4GIZVX-9PgeH6nY.js → dagre-NK4GIZVX-DdHVup2I.js} +1 -1
  134. package/editor-web/assets/deck-CtEtDHo2.js +1 -0
  135. package/editor-web/assets/{diagram-CBK3MWTC-DRzeg3Ds.js → diagram-CBK3MWTC-CFAD9Y2B.js} +1 -1
  136. package/editor-web/assets/{diagram-I5XIIV2D-B_zeKMN6.js → diagram-I5XIIV2D-DZJAn95A.js} +1 -1
  137. package/editor-web/assets/{diagram-ODIL2UCW-FFm0O8SN.js → diagram-ODIL2UCW-BcIeYTaY.js} +1 -1
  138. package/editor-web/assets/{diagram-PFBEJUXE-DrtCT8OA.js → diagram-PFBEJUXE-CnZmh_fl.js} +1 -1
  139. package/editor-web/assets/{diagram-RJA3I4VV-DtxJ3V0q.js → diagram-RJA3I4VV-DpDd9rGx.js} +1 -1
  140. package/editor-web/assets/{diagram-TYUNFSNR-DmxF_8H_.js → diagram-TYUNFSNR-ouGiUQcR.js} +1 -1
  141. package/editor-web/assets/{dist-C56mWAec.js → dist-BBshIz1Q.js} +2 -2
  142. package/editor-web/assets/dist-BI8QjOsV.js +1 -0
  143. package/editor-web/assets/{dist-CEknsRDd.js → dist-BajH5QfK.js} +3 -3
  144. package/editor-web/assets/{dist-CbZAznNW.js → dist-Bl74xqMW.js} +6 -6
  145. package/editor-web/assets/{dist-BUD4ywMB.js → dist-BrUtQth3.js} +7 -7
  146. package/editor-web/assets/{dist-JLyDtl9X.js → dist-CN5A7Au2.js} +1 -1
  147. package/editor-web/assets/{dist-ZZlQa66J.js → dist-CcL6r6l3.js} +1 -1
  148. package/editor-web/assets/{dist-DDzjbKIg.js → dist-D2E3cgRP.js} +1 -1
  149. package/editor-web/assets/{dist-bQKpw3Zz.js → dist-DGKjn59H.js} +3 -3
  150. package/editor-web/assets/{dist-PBbWAsrV.js → dist-NQNQ5HqZ.js} +3 -3
  151. package/editor-web/assets/{dist-CAb3W9_P.js → dist-SV0sOVIC.js} +1 -1
  152. package/editor-web/assets/{dist-C21CkR7Z.js → dist-Y_XZZa8q.js} +7 -7
  153. package/editor-web/assets/dist-ZrBAbqyJ.js +3 -0
  154. package/editor-web/assets/dist-elglzHMT.js +6 -0
  155. package/editor-web/assets/{dist-Dr3o4vee.js → dist-hHcrvNn9.js} +1 -1
  156. package/editor-web/assets/{docx-draw-9Q_fArBC.js → docx-draw-C4aiB8HI.js} +1 -1
  157. package/editor-web/assets/{ebnfDiagram-V4P3TTPT-DSX1Aoty.js → ebnfDiagram-V4P3TTPT-HRjVlbUf.js} +1 -1
  158. package/editor-web/assets/{elk-QONTBCTQ-C7gy9q56.js → elk-QONTBCTQ-BFmtKyOf.js} +1 -1
  159. package/editor-web/assets/{erDiagram-KYQIGQAA-CKx_HoY4.js → erDiagram-KYQIGQAA-C9gcGEgK.js} +1 -1
  160. package/editor-web/assets/{esm-BZb5QMQf.js → esm-DzxAod8Q.js} +1 -1
  161. package/editor-web/assets/{eventmodeling-K75KTNOO-DL4HvSrd.js → eventmodeling-K75KTNOO-Bpma5Bdb.js} +1 -1
  162. package/editor-web/assets/flowDiagram-IUGLLWBU-tz5ewhC5.js +1 -0
  163. package/editor-web/assets/{ganttDiagram-R7GPNTJY-N-AP4slN.js → ganttDiagram-R7GPNTJY-CE5ut4C3.js} +1 -1
  164. package/editor-web/assets/{gitGraph-VSP46ZUC-BKRGJKWm.js → gitGraph-VSP46ZUC-Dva3iGx2.js} +1 -1
  165. package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-ClwL7w2_.js → gitGraphDiagram-PDYL7XHY-CJXFsAWp.js} +1 -1
  166. package/editor-web/assets/index-Dvh1t1om.css +2 -0
  167. package/editor-web/assets/{index-DG2nHq4D.js → index-q7X6hdHp.js} +3 -3
  168. package/editor-web/assets/{info-OHQRW6UA-DpcY8t23.js → info-OHQRW6UA-BY0AOfex.js} +1 -1
  169. package/editor-web/assets/{infoDiagram-MVDRKAX5-ChtmtWni.js → infoDiagram-MVDRKAX5-4Up1gMvC.js} +1 -1
  170. package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-BZNTuG_F.js → ishikawaDiagram-HPEHV2GE-BkvB9Qbn.js} +1 -1
  171. package/editor-web/assets/{journeyDiagram-BOSHW7O7-C3uVmZbL.js → journeyDiagram-BOSHW7O7-BxV09WdR.js} +1 -1
  172. package/editor-web/assets/{kanban-definition-FNSA4HC5-puEhftGG.js → kanban-definition-FNSA4HC5-zTJtIDPG.js} +1 -1
  173. package/editor-web/assets/{mermaid-parser.core-Bw8re-WE.js → mermaid-parser.core-BWT9UQh_.js} +3 -3
  174. package/editor-web/assets/{mermaid.core-Cc2GIqBr.js → mermaid.core-DFf_Vg5X.js} +4 -4
  175. package/editor-web/assets/{mindmap-definition-6OY57UG3-C6MUl_S_.js → mindmap-definition-6OY57UG3-BYexiugS.js} +1 -1
  176. package/editor-web/assets/{packet-JDAUHWVQ-C75RnvC5.js → packet-JDAUHWVQ-DX_kSrI6.js} +1 -1
  177. package/editor-web/assets/{pegDiagram-ECIUJNBX-ChjmsdV4.js → pegDiagram-ECIUJNBX-I3SrcMLp.js} +1 -1
  178. package/editor-web/assets/{pie-XZMESJXO-BaKxJQpj.js → pie-XZMESJXO-BmAFSw3E.js} +1 -1
  179. package/editor-web/assets/{pieDiagram-GNMPY74T-CT2ez8pr.js → pieDiagram-GNMPY74T-DIZKcme5.js} +1 -1
  180. package/editor-web/assets/{props-form-D5oKHfpk.js → props-form-DUFxM5eb.js} +1 -1
  181. package/editor-web/assets/{quadrantDiagram-D57K4MC3-BJItlTfk.js → quadrantDiagram-D57K4MC3-CO3oSqpQ.js} +1 -1
  182. package/editor-web/assets/{radar-ABXABTNO-DnLzBlTo.js → radar-ABXABTNO-D5CkFrrb.js} +1 -1
  183. package/editor-web/assets/{railroad-I3PHUGI6-D5hj6Yv3.js → railroad-I3PHUGI6-BeKY1p0K.js} +1 -1
  184. package/editor-web/assets/{railroad-abnf-LNEFI6M7-DUZlZoPu.js → railroad-abnf-LNEFI6M7-CIYV9_3-.js} +1 -1
  185. package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-CDyyDC6d.js → railroad-ebnf-DWYD2UWJ-DN0zDl6d.js} +1 -1
  186. package/editor-web/assets/{railroad-peg-JR7BVNR7-CC3ImNnT.js → railroad-peg-JR7BVNR7-Bd_GcO24.js} +1 -1
  187. package/editor-web/assets/{railroadDiagram-Y72NRBL7-Bjw-8Se5.js → railroadDiagram-Y72NRBL7-DlFoiMhb.js} +1 -1
  188. package/editor-web/assets/{requirementDiagram-EQYSW5RA-CDFnuEIO.js → requirementDiagram-EQYSW5RA-LWAEz8Gy.js} +1 -1
  189. package/editor-web/assets/{sankeyDiagram-SY24JHO5-CQPVLY1w.js → sankeyDiagram-SY24JHO5-B_pZGwUK.js} +1 -1
  190. package/editor-web/assets/{sequenceDiagram-BLEHNHQU-BQzuLmBX.js → sequenceDiagram-BLEHNHQU-bNhyCq0C.js} +1 -1
  191. package/editor-web/assets/{session-s1I85rox.js → session-Beijw9EK.js} +1 -1
  192. package/editor-web/assets/snapshots-Dd0Wd_qM.js +1 -0
  193. package/editor-web/assets/{split-7CVjIkSU.js → split-zARio3J8.js} +1 -1
  194. package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-DOuageUf.js → stateDiagram-v2-A6IESKWZ-DI-oM3qz.js} +1 -1
  195. package/editor-web/assets/{swimlanes-B3ENRKFQ-CXKkok7X.js → swimlanes-B3ENRKFQ-awDmoLdW.js} +1 -1
  196. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-X35m3xN6.js +8 -0
  197. package/editor-web/assets/tabs-BHBvbekZ.js +1 -0
  198. package/editor-web/assets/{timeline-definition-JXYKGLGB-DgAjAeZp.js → timeline-definition-JXYKGLGB-CayduPvL.js} +1 -1
  199. package/editor-web/assets/{treeView-D4JQ5SDB-C0Xvnhck.js → treeView-D4JQ5SDB-BVEuNzCO.js} +1 -1
  200. package/editor-web/assets/{treemap-SAJKECNS-aXfKAeSX.js → treemap-SAJKECNS-BOB14HP3.js} +1 -1
  201. package/editor-web/assets/{usecaseDiagram-WPOLBNNX-CvUlBa-L.js → usecaseDiagram-WPOLBNNX-DxT99uaq.js} +1 -1
  202. package/editor-web/assets/{vennDiagram-Q3Y3IDCW-qMJ1iCxs.js → vennDiagram-Q3Y3IDCW-CWUKom-r.js} +1 -1
  203. package/editor-web/assets/{video-DQrjo1TI.js → video-oJ3qa1Qv.js} +1 -1
  204. package/editor-web/assets/{wardley-7MLQ67FV-DEdnH0by.js → wardley-7MLQ67FV-BAQyTneD.js} +1 -1
  205. package/editor-web/assets/{wardleyDiagram-IVAIDKWA-Bt-B2hQ5.js → wardleyDiagram-IVAIDKWA-CiIYz4lZ.js} +1 -1
  206. package/editor-web/assets/{workbook-FSSUiIp9.js → workbook-DznVDqoE.js} +1 -1
  207. package/editor-web/assets/{xychartDiagram-4URNHDU4-DV4bSzTb.js → xychartDiagram-4URNHDU4-D_D5IGmd.js} +1 -1
  208. package/editor-web/index.html +3 -3
  209. package/package.json +2 -2
  210. package/editor-web/assets/article-BHTjq0_Y.js +0 -3
  211. package/editor-web/assets/channel-DCDCx5Es.js +0 -1
  212. package/editor-web/assets/deck-tTzKONci.js +0 -1
  213. package/editor-web/assets/dist-BEpzsYn_.js +0 -6
  214. package/editor-web/assets/dist-DaEbElXI.js +0 -3
  215. package/editor-web/assets/flowDiagram-IUGLLWBU-BUnRtJ8q.js +0 -1
  216. package/editor-web/assets/index-BedbINE5.css +0 -2
  217. package/editor-web/assets/snapshots-BPJKywuN.js +0 -1
  218. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-C3Car2M0.js +0 -8
  219. package/editor-web/assets/tabs-CiF1N-pL.js +0 -1
@@ -1 +0,0 @@
1
- import{E as e,S as t,T as n,_ as r,a as i,c as a,d as o,g as s,h as c,i as l,it as ee,m as u,n as d,o as f,s as p,t as m,u as te,w as h,x as g,y as _}from"./iso-ahTwmFwH.js";g({jsonrpc:u(`2.0`),id:h([t(),o()]),method:t().min(1),params:n().optional()}),g({jsonrpc:u(`2.0`),method:t().min(1),params:n().optional()});var ne=g({code:o(),message:t(),data:n().optional()});h([g({jsonrpc:u(`2.0`),id:h([t(),o()]),result:n()}),g({jsonrpc:u(`2.0`),id:h([t(),o(),i()]),error:ne})]);var v={parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603,conflict:-32001,notFound:-32002,invalid:-32003,forbidden:-32004,unavailable:-32005},y=(e,t,n)=>({params:e,result:t,about:n}),b=(e,t)=>({params:e,about:t}),x=class extends Error{code;data;constructor(e,t,n){super(t),this.name=`RpcError`,this.code=e,this.data=n}};async function re(e,t,n){let{id:r}=n,i=Object.hasOwn(e,n.method)?e[n.method]:void 0;if(!i)return{jsonrpc:`2.0`,id:r,error:{code:v.methodNotFound,message:`There is no method "${n.method}".`}};let a=i.params.safeParse(n.params??{});if(!a.success)return{jsonrpc:`2.0`,id:r,error:{code:v.invalidParams,message:ee(a.error)}};try{let e=t[n.method],o=await e(a.data);return{jsonrpc:`2.0`,id:r,result:i.result.parse(o)}}catch(e){return e instanceof x?{jsonrpc:`2.0`,id:r,error:{code:e.code,message:e.message,...e.data===void 0?{}:{data:e.data}}}:{jsonrpc:`2.0`,id:r,error:{code:v.internal,message:e instanceof Error?e.message:String(e)}}}}var S=t().min(1).refine(e=>!e.startsWith(`/`)&&!e.split(`/`).includes(`..`),{message:`A path is inside the project.`}),C=h([u(``),S]),w=t().regex(/^[0-9a-f]{64}$/u).nullable(),ie=g({kind:l([`person`,`agent`,`tool`]),name:t().min(1)}),ae=g({path:S,size:o().nonnegative(),modified:s()}),oe={"files/read":y(g({path:S}),g({text:t(),version:w}),`A text file, with its version; a file that is not there reads as empty with version null.`),"files/write":y(g({path:S,text:t(),over:w}),g({version:w}),`Writes a text file over the version read. Errors: conflict (data: { text, version }) when it changed; invalid (data: { problems }) when its format refuses it.`),"files/upload":y(g({dir:S,name:t().min(1),data:p()}),g({path:S}),`Keeps a file the person added, under a free name in the folder.`),"files/url":y(g({path:S}),g({url:t()}),`An address a page can load the file from (a picture, a video).`),"files/list":y(g({dir:t()}),g({files:f(ae),dirs:f(S)}),`A folder's files and folders, as on disk.`),"files/move":y(g({from:S,to:S}),g({rewritten:f(S)}),`Moves a file or a folder, and rewrites the relative imports and links that pointed at it, as an editor does.`),"files/remove":y(g({path:S}),g({trash:t()}),`Moves a file or folder to the recycle bin (nothing is deleted).`),"files/trash":y(g({}),g({entries:f(g({id:t(),path:S,removed:s()}))}),`What the recycle bin holds.`),"files/restore":y(g({id:t()}),g({path:S}),`Puts a removed thing back where it was; refused while something is there.`),"files/watch":y(g({paths:f(S).min(1)}),g({watch:t()}),"Starts telling `files/changed` for these files or folders."),"files/unwatch":y(g({watch:t()}),g({}),`Stops a watch.`)},se={"files/changed":b(g({watch:t(),changes:f(g({path:S,version:w,by:ie.optional()}))}),`Files under a watch changed, other than by this client's own writes.`)},ce=r({name:t().min(1),only:f(t().min(1)),values:f(t().min(1)).optional()}),le=r({types:f(t().min(1)),extras:f(t().min(1)),options:f(ce),names:_(t(),_(t(),t())).optional()}),T={noun:t().min(1),icon:t().min(1).optional(),color:t().min(1).optional(),editor:t().min(1).optional(),exports:le.optional(),share:a().optional()},ue=r({name:t().min(1),...T}),E=r({name:_(t(),t().min(1)),plural:_(t(),t().min(1)).optional(),starter:r({files:_(t().min(1),t()),entry:t().min(1)}).optional(),order:s().optional(),turnInto:a().optional(),...T}),de=E.extend({id:t().min(1)}),D=(e,t)=>e.name[t]??e.name.en??e.noun,fe=/\.(ya?ml|json)$/u;function pe(e,t,n,r){let i=e=>e.replaceAll(`{{locale}}`,n).replaceAll(`{{name}}`,r);return{files:Object.entries(e.files).map(([e,a])=>{let o=i(e),s=fe.test(o)?JSON.stringify(t):t;return{path:o,text:a.replaceAll(`{{locale}}`,n).replaceAll(`{{name}}`,r).replaceAll(`{{title}}`,()=>s)}}),entry:i(e.entry)}}function me(e,t,n){return t===void 0?{name:e??`file`,noun:e??`file`}:{name:D(t,n),noun:t.noun,...t.icon===void 0?{}:{icon:t.icon},...t.color===void 0?{}:{color:t.color},...t.editor===void 0?{}:{editor:t.editor},...t.exports===void 0?{}:{exports:t.exports},...t.share===void 0?{}:{share:t.share}}}function he(e){return e.kindInfo?.exports===void 0?e.kind===void 0?`file as it is`:`nothing`:`formats`}var ge=[`script`,`style`,`font`,`img`,`media`,`connect`],_e=[`agent`,`project`,`piece`,`plugin`,`skill`,`website`,`studio`],ve=[`download`,`wake`,`export`,`update`,`install`,`start`,`publish`],ye=[`queued`,`running`,`paused`,`done`,`failed`,`cancelled`],be=[`bytes`,`files`,`share`],O=[`offline`,`no-space`,`no-credits`,`unavailable`,`other`],k=[`first-setup`],A=g({kind:l(_e),id:t()}),j=g({id:t(),about:A,what:l(ve),name:t().optional(),state:l(ye),completed:s().min(0),total:s().min(0).optional(),unit:l(be),left:s().min(0).optional(),stalled:a().optional(),step:l(k).optional(),cancellable:a(),pausable:a().optional(),quiet:a().optional(),retryable:a(),failure:g({reason:l(O),details:t()}).optional(),made:t().optional(),started:s(),ended:s().optional()}),M=g({mime:t().regex(/^image\//u),data:p()}),N=te(`type`,[g({type:u(`picture`),image:M,width:o().positive(),height:o().positive(),duration:s().nonnegative().optional()}),g({type:u(`text`),lines:f(t())}),g({type:u(`table`),columns:f(t()),rows:f(f(t())),count:o().nonnegative()})]);g({id:S,kind:t().min(1),dir:C,entry:S,title:t().optional()});var P={item:S,version:t().optional()},xe=c({code:t(),level:l([`error`,`warn`]),message:t(),piece:t().optional(),part:t().optional(),t:s().optional()}),Se=c({kind:t(),data:n()}),F=g({status:l([`off`,`waiting`,`running`,`done`,`failed`]),revision:o().nonnegative(),problems:f(xe),facts:f(Se),versions:g({total:o(),loaded:o(),reused:o()}).optional(),error:t().optional()}),Ce=[`queued`,`running`,`done`,`failed`,`cancelled`],I=_(t(),h([t(),a()])),L=g({id:t(),item:S,versions:f(t()),types:f(t()),options:I.optional(),state:l(Ce),progress:s().min(0).max(1),files:f(S),error:t().optional()}),we=g({file:S,status:l([`running`,`done`,`failed`]),message:t(),share:s().min(0).max(1).optional()}),R=g({url:t(),probe:t()}),Te={"project/items":y(g({}),g({items:f(g({id:S,kind:t().min(1).optional(),dir:C,entry:S,title:t().optional(),groups:f(t()),files:f(r({path:t().min(1),role:t().min(1).optional()})).optional(),kindInfo:E.optional()})),kinds:f(de).optional(),name:t(),scope:t(),revision:o().nonnegative()}),`The project's items, as its list (allyhub.yaml) names them, in its order: each a file of a kind, or a file an editor opens by its name.`),"project/file":y(g({path:S}),g({item:g({id:S,kind:t().min(1).optional(),dir:C,entry:S,title:t().optional(),groups:f(t()),kindInfo:E.optional()})}),"A file of the project as it opens in an editor, whether the list names it or not: the item it is, else the file in the editor that opens it by its name (an `editors` contribution's `files`); not found for a file that is not there or that no editor opens."),"items/preview":y(g({item:S}),g({preview:N.optional()}),`What an item looks like (named by its id or its file), as its kind's provider makes it from its files now (a video's still, an image's boards, a deck's slide, a doc's first paragraphs, a sheet's first rows); none where its kind gives none.`),"items/page":y(g({item:S,folder:C.optional(),file:S.optional()}),g({url:t()}),"The address of an item's page, for a frame (a report's page, a website built as files): `folder` served as the root of an origin of its own, the project's files alone (no other address loads), every file the page loads recorded as the item's input, so the item's editors hear `items/changed` when one changes."),"work/add":y(g({kind:t().min(1),file:S,title:t().min(1).optional()}),g({}),`Adds a piece to the end of the project's list (allyhub.yaml), the rest of it as it was; nothing when its file is listed already.`),"components/list":y(g({item:S}),g({components:f(g({of:t(),name:t(),label:h([t(),_(t(),t())]).optional()}))}),`The components an item may place: every one the project's files define, by the reference it would write.`),"components/stage":y(g(P),R,"The address of a page that draws an item's components one at a time, for a sandboxed frame (docs/design/components-everywhere.md): a deck's by the name its module gives it, a doc's by the reference its block writes. Its parent posts `{ type: \"component\", name, props, width, height, t }` and hears `component-ready`, or `error` with what went wrong."),"components/stills":y(g({...P,components:f(g({name:t(),props:_(t(),n()),width:s().positive(),height:s().positive(),t:s().nonnegative()})).min(1).max(64)}),g({stills:f(g({key:t(),url:e()}).nullable())}),`An item's components (a deck's, a doc's) drawn alone, transparent, as the render draws them: pictures kept by what they show, given as addresses.`),"check/results":y(g({}),F,`The check run after edits, as it stands.`),"check/run":y(g({}),g({}),`Runs the check again now.`),"export/start":y(g({item:S,versions:f(t()).optional(),types:f(t().min(1)).max(10).optional(),options:I.optional()}),g({job:L}),"Exports an item (its versions, as file types) into .allyhub/out/; `export/changed` says how it goes."),"export/cancel":y(g({job:t()}),g({}),`Stops an export.`),"export/list":y(g({}),g({jobs:f(L),reveal:a()}),`The exports asked for since the server started.`),"export/reveal":y(g({path:S}),g({}),"Shows an exported file in the person's file manager, where the server runs on their computer (`export/list`'s `reveal`).")},Ee={"project/items":`project`,"project/file":`asleep`,"items/preview":`asleep`,"items/page":`asleep`,"work/add":`machine`,"components/list":`asleep`,"components/stage":`asleep`,"components/stills":`project`,"check/results":`project`,"check/run":`machine`,"export/start":`machine`,"export/cancel":`machine`,"export/list":`asleep`,"export/reveal":`machine`};function De(e){return async(t,n,r)=>{let{result:i}=await t[`tools/call`]({name:n,arguments:r}),a=e[n]?.result.safeParse(i);if(!a?.success)throw new x(v.internal,`The answer to the tool ${n} is not what the protocol says.`);return a.data}}var Oe={"project/changed":b(g({revision:o().nonnegative()}),`The build saw a change: a stage or a timeline asked for now is the new one's.`),"items/changed":b(g({item:S,paths:f(t())}),`One of an item's inputs changed (docs/design/item-files.md, "An item's inputs"): a file its build lists, or one its pages loaded.`),"check/changed":b(F,`The check started, ended or failed.`),"export/changed":b(g({job:L}),`An export moved on.`),"index/changed":b(g({jobs:f(we)}),`Making what the media index lacks moved on.`),"jobs/changed":b(g({job:j,item:S}),`A job of the process the server runs in (docs/design/jobs.md: a website starting, an export) moved on, about a thing in this project: what the window lists, for the editor of that thing to show where the person waits on it.`)},z=e=>h([l(e),t().min(1).brand()]),B=e=>f(n()).transform(t=>t.flatMap(t=>{let n=e.safeParse(t);return n.success?[n.data]:[]})),ke=[`no_card`,`saving_card`,`not_a_card`,`declined`,`needs_authentication`,`not_charged`,`under_line`,`refunded`,`disputed`,`monthly_limit`],V=[`month`,`year`];r({credits:s(),held:s(),owed:s(),frozen:t().nullable().default(null),plan:r({id:t(),name:t(),interval:z(V),status:t(),renewsAt:d().nullable(),endsAt:d().nullable(),monthlyCredits:s().default(0),price:r({amountCents:s(),currency:t()}).nullable().default(null)}).nullable(),allowance:r({total:s(),used:s(),renewsAt:d()}).nullable().default(null),bought:s().default(0),expiring:f(r({credits:s(),expiresAt:d()})).default([]),customer:a().default(!1),autoTopUp:r({below:s(),amountCents:s(),monthlyLimitCents:s().nullable().default(null),chargedThisMonthCents:s().default(0),stopped:z(ke).nullable()}).nullable()}),r({plans:f(r({id:t(),name:t(),family:t().nullable().default(null),recommended:a().default(!1),monthlyCredits:s(),storageBytes:s().optional(),prices:f(r({interval:z(V),amountCents:s(),currency:t()}))})),topUp:r({currency:t(),creditsPerDollar:s(),minCents:s(),maxCents:s(),presetsCents:f(s()).default([])}),welcomeCredits:s().optional(),freeStorageBytes:s().optional()}),r({days:f(r({day:m(),credits:s(),byKind:_(t(),s()).default({})}))}),r({spends:f(r({at:t(),kind:z([`models`,`tools`,`studio`,`other`]),what:t().nullable(),seconds:s().nullable(),member:t().nullable(),credits:s()})),more:a()}),h([g({plan:t(),interval:l(V)}),g({topUpCents:s().int()})]),h([g({flow:l([`home`,`payment_method`,`cancel`])}),g({flow:u(`change_plan`),plan:t(),interval:l(V)})]).default({flow:`home`}),r({card:r({brand:t(),last4:t(),expMonth:s(),expYear:s()}).nullable(),email:t().nullable()}),r({invoices:f(r({id:t(),number:t().nullable(),createdAt:t(),kind:z([`plan`,`credits`]),totalCents:s(),currency:t(),status:t(),pdf:t().nullable(),url:t().nullable()}))}),g({topUpCents:s().int()}),g({below:s().nonnegative(),amountCents:s().int().positive(),monthlyLimitCents:s().int().positive().nullable().optional(),newCard:a().optional()});var H={tier:z([`premium`,`standard`,`efficient`]).optional(),maker:t().min(1).optional(),retired:a().optional()},Ae=r({type:z([`toggle`,`effort`,`budget_tokens`]),values:f(t().min(1)).optional(),min:s().int().nonnegative().optional(),max:s().int().positive().optional()});r({models:f(c({id:t().min(1),name:t().min(1),...H,reasoning:a().optional(),reasoningOptions:B(Ae).optional(),input:f(t()).optional(),contextWindow:s().int().positive().optional(),maxOutput:s().int().positive().optional()})).min(1),defaultModel:t().min(1),needPlan:f(c({id:t().min(1),name:t().min(1),...H})).default([])});var U=_(t(),n()),je=[`call`,`result`,`page`,`second`,`minute`,`thousand_characters`,`image`,`frame`,`megapixel`,`question`,`phrase`],Me=[`video`,`image`,`voice`,`music`],Ne=r({id:t().min(1),title:t().min(1),description:t().min(1),kind:z([`data`,`ai`]).default(`data`),line:t().optional()}),Pe=r({name:t().min(1),work:t().min(1),title:t().min(1),description:t().min(1),input:U,output:U,long:a(),example:_(t(),n()).optional(),price:r({credits:s().nonnegative(),per:z(je),varies:a()}).optional(),shown:r({name:t(),line:t(),section:z(Me)}).optional()});r({version:t().min(1),works:f(Ne),tools:f(Pe)}),r({off:r({works:f(t()),tools:f(t())})}),h([g({work:t().min(1),on:a()}),g({tool:t().min(1),on:a()})]),r({editors:f(r({id:t().min(1),name:_(t(),t()),plural:_(t(),t()).optional(),line:_(t(),t()),icon:t().optional(),color:t().optional()}))}),g({input:_(t(),n())}),r({id:t().min(1),tool:t().min(1),status:z([`working`,`completed`,`failed`]),output:n().optional(),error:r({kind:t().min(1),message:t().min(1)}).optional(),credits:s().nonnegative().optional(),pollAfterMs:s().int().nonnegative().optional(),createdAt:t(),endedAt:t().optional()});var W=1073741824;g({name:t().min(1).max(255),size:o().positive().max(W),sha256:t().regex(/^[0-9a-f]{64}$/u),contentType:t().min(1).max(255)}),r({id:t().min(1),upload:r({url:e(),headers:_(t(),t())}).nullable()}),r({id:t().min(1),name:t()}),r({url:e()});var G=t().regex(/^[0-9a-f]{64}$/u),K=t().min(1).max(1024).refine(e=>!e.startsWith(`/`)&&!e.includes(`\\`)&&e.split(`/`).every(e=>e!==``&&e!==`.`&&e!==`..`),`a relative path of forward slashes, without . or ..`),q=r({sha256:G,size:o().nonnegative().max(W)}),J=q.extend({type:t().min(1).max(255),immutable:u(!0).optional()});g({blobs:f(q.extend({contentType:t().min(1).max(255)})).min(1).max(1e3)}),r({uploads:f(r({sha256:G,url:e(),headers:_(t(),t())}))});var Fe=r({sessionId:t().min(1),agent:t().min(1),title:t().optional(),createdAt:d(),updatedAt:d(),transcript:G});r({sessionId:t().min(1),messages:f(r({method:t().min(1),params:n()}))});var Y=[`project`,`home`];t().regex(/^[a-z][a-z0-9-]*\/$/u,`one lower-case word and /`).refine(e=>!Object.values(X).includes(e)&&!Object.values($).includes(e),`a folder of the core's`),z(ge);var Ie=_(t(),f(t())),Le=t().refine(e=>e.endsWith(`/`)&&K.safeParse(e.slice(0,-1)).success,`a folder of the tree, ending in /`),Re=r({tree:f(K),files:f(K),own:_(K,J)}),ze=r({shared:f(Le),items:_(t(),Re)}),Be=r({format:u(1),kind:l(Y),project:r({name:t().min(1).max(255)}),host:r({version:t().min(1)}),madeAt:d(),files:_(K,q),tree:_(K,J),conversations:f(Fe),reach:ze.optional(),routes:Ie.optional()}),X={editor:`editor/`,runtime:`runtime/`,build:`build/`,media:`media/`,matte:`matte/`,stills:`stills/`,answers:`answers/`,previews:`previews/`};function Z(e){return Array.isArray(e)?e.map(Z):typeof e==`object`&&e?Object.fromEntries(Object.keys(e).sort().map(t=>[t,Z(e[t])])):e}var Ve=(e,t)=>`${X.answers}${e}/${encodeURIComponent(JSON.stringify(Z(t??{})))}.json`,He=r({result:n().optional(),error:r({code:s(),message:t(),data:n().optional()}).optional()}),Ue=e=>`${X.stills}${e}.webp`,We=(e,t)=>`${X.stills}index/${encodeURIComponent(e)}/${encodeURIComponent(t)}.json`,Ge=r({stills:_(t(),t().regex(/^[0-9a-f]{64}$/u))}),Q=e=>JSON.stringify(Z(e)),Ke=r({name:t(),props:_(t(),n()),width:s().positive(),height:s().positive(),t:s().nonnegative()});r({stills:f(r({version:t(),components:f(Ke)})).optional(),shows:r({media:f(t()),data:f(t())}).optional(),routes:_(t(),f(t().min(1))).optional(),page:r({folder:t().optional(),file:t().optional()}).optional()}),`${X.runtime}`,`${X.runtime}`,`${X.runtime}`;var qe=e=>e.split(`/`).map(encodeURIComponent).join(`/`),Je=r({kind:z([`cloud`,`computer`]),here:a()});g({project:g({id:t().min(1).optional(),idMadeByMachine:a().optional(),kind:l(Y),name:t().min(1).max(255)}),manifest:G}),r({id:t().min(1),projectId:t().min(1)}),r({missing:f(G)});var Ye=r({id:t().min(1),madeAt:d(),hostVersion:t()}),Xe=r({id:t().min(1),kind:l(Y),name:t(),latest:Ye.nullable(),executor:Je.optional()});r({projects:B(Xe)}),r({keptBytes:s(),capBytes:s().nullable(),clearingBytes:s().optional()}),g({page:o().min(1)});var Ze=r({id:t().min(1),kind:l(Y),name:t(),bytes:s(),versions:s(),madeAt:d().nullable()});r({items:B(Ze),total:s()});var Qe=r({id:t().min(1),name:t(),contentType:t(),size:s(),keptUntil:d()});r({items:B(Qe),total:s()}),r({origin:e(),expiresAt:d()});var $={manifest:`manifest.json`,files:`files/`,pages:`pages/`,conversations:`conversations/`},$e=-32010,et=e=>typeof e==`object`&&!!e&&e.code===-32010;export{C as A,ue as C,pe as D,D as E,y as F,b as I,v as M,x as N,oe as O,re as P,M as S,me as T,Te as _,Ge as a,P as b,Ue as c,qe as d,G as f,R as g,z as h,Be as i,S as j,se as k,Q as l,K as m,He as n,et as o,J as p,$ as r,Ve as s,$e as t,We as u,Ee as v,he as w,De as x,Oe as y};
@@ -1,8 +0,0 @@
1
- import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import"./d3-selection-COWvaQNI.js";import"./chunk-DSNLSHJZ-QaczBS3J.js";import"./chunk-YZO67HFG-BSiF71qj.js";import"./chunk-7S6XSTFO-V-AvHpAB.js";import"./chunk-AQDTSKZB-PjHyYpb8.js";import"./chunk-UHW7PFBP-BFmZ5ZLn.js";import"./chunk-HAGFOTED-aLaQB5Xu.js";import"./chunk-ZAUX2LTX-BJc4r5b1.js";import"./chunk-WQQL4CDK-BrAU7V6v.js";import"./chunk-55XCU76K-CkwQ_3m1.js";import"./chunk-VQ5W62QI-CzppUHLA.js";import"./chunk-HNE4Q36P-De3ftDQR.js";import{r as t,t as n}from"./chunk-NQOKRVIF-CrhVQyvP.js";import"./mermaid.core-Cc2GIqBr.js";var r=n({styles:e(e=>`${t(e)}
2
- .swimlane.cluster:not([data-color-id]) rect {
3
- stroke: ${e.clusterBorder} !important;
4
- }
5
- [data-look="neo"].cluster rect {
6
- filter: none;
7
- }
8
- `,`getStyles`)});export{r as diagram};
@@ -1 +0,0 @@
1
- import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{y as t}from"./react-Edyoga_4.js";import{gt as n,ht as r,it as i,n as a,nt as o,ot as s,rt as c,st as l,ut as u}from"./x-DlhyIKuu.js";import{t as d}from"./jsx-runtime-DePvh3-m.js";import{A as f,C as p,G as ee,H as m,U as h,W as g,f as _,u as v}from"./bar-button-J9vbfzTx.js";import{S as y,x as b,y as x}from"./dist-BEpzsYn_.js";import{t as S}from"./createLucideIcon-lm_6n8YT.js";var C=e(t(),1),w=d(),te=Object.defineProperty,T=(e,t)=>te(e,`name`,{value:t,configurable:!0}),E={Automatic:`automatic`,Manual:`manual`},D=`Tabs`,[O,ne]=l(D,[g]),k=g(),[re,A]=O(D),ie=C.forwardRef(T(function(e,t){let{__scopeTabs:n,value:r,onValueChange:a,defaultValue:s,orientation:c=`horizontal`,dir:l,activationMode:d=E.Automatic,...f}=e,p=ee(l),[m,h]=i({prop:r,onChange:a,defaultProp:s??``,caller:D});return(0,w.jsx)(re,{scope:n,baseId:o(),value:m,onValueChange:h,orientation:c,dir:p,activationMode:d,children:(0,w.jsx)(u.div,{dir:p,"data-orientation":c,...f,ref:t})})},`Tabs`)),ae=`TabsList`,j=C.forwardRef(T(function(e,t){let{__scopeTabs:n,loop:r=!0,...i}=e,a=A(ae,n),o=k(n);return(0,w.jsx)(m,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:r,children:(0,w.jsx)(u.div,{role:`tablist`,"aria-orientation":a.orientation,...i,ref:t})})},`TabsList`)),M=`TabsTrigger`,N=C.forwardRef(T(function(e,t){let{__scopeTabs:n,value:r,disabled:i=!1,...a}=e,o=A(M,n),c=k(n),l=I(o.baseId,r),d=L(o.baseId,r),f=r===o.value;return(0,w.jsx)(h,{asChild:!0,...c,focusable:!i,active:f,children:(0,w.jsx)(u.button,{type:`button`,role:`tab`,"aria-selected":f,"aria-controls":d,"data-state":f?`active`:`inactive`,"data-disabled":i?``:void 0,disabled:i,id:l,...a,ref:t,onMouseDown:s(e.onMouseDown,e=>{!i&&e.button===0&&e.ctrlKey===!1?(e.currentTarget.focus(),o.onValueChange(r)):e.preventDefault()}),onKeyDown:s(e.onKeyDown,e=>{i||e.target!==e.currentTarget||[` `,`Enter`].includes(e.key)&&o.onValueChange(r)}),onFocus:s(e.onFocus,()=>{let e=o.activationMode!==E.Manual;!f&&!i&&e&&o.onValueChange(r)})})})},`TabsTrigger`)),P=`TabsContent`,F=C.forwardRef(T(function(e,t){let{__scopeTabs:n,value:r,forceMount:i,children:a,...o}=e,s=A(P,n),l=I(s.baseId,r),d=L(s.baseId,r),f=r===s.value,p=C.useRef(f);return C.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,w.jsx)(c,{present:i||f,children:({present:n})=>(0,w.jsx)(u.div,{"data-state":f?`active`:`inactive`,"data-orientation":s.orientation,role:`tabpanel`,"aria-labelledby":l,hidden:!n,id:d,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:p.current?`0s`:void 0},children:n&&a})})},`TabsContent`));function I(e,t){return`${e}-trigger-${t}`}T(I,`makeTriggerId`);function L(e,t){return`${e}-content-${t}`}T(L,`makeContentId`);var R=S(`a-arrow-down`,[[`path`,{d:`m14 12 4 4 4-4`,key:`buelq4`}],[`path`,{d:`M18 16V7`,key:`ty0viw`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`,key:`d5nyq2`}],[`path`,{d:`M3.304 13h6.392`,key:`1q3zxz`}]]),z=S(`a-arrow-up`,[[`path`,{d:`m14 11 4-4 4 4`,key:`1pu57t`}],[`path`,{d:`M18 16V7`,key:`ty0viw`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`,key:`d5nyq2`}],[`path`,{d:`M3.304 13h6.392`,key:`1q3zxz`}]]),B=S(`arrow-down-to-line`,[[`path`,{d:`M12 17V3`,key:`1cwfxf`}],[`path`,{d:`m6 11 6 6 6-6`,key:`12ii2o`}],[`path`,{d:`M19 21H5`,key:`150jfl`}]]),V=S(`arrow-up-to-line`,[[`path`,{d:`M5 3h14`,key:`7usisc`}],[`path`,{d:`m18 13-6-6-6 6`,key:`1kf1n9`}],[`path`,{d:`M12 7v14`,key:`1akyts`}]]),H=S(`baseline`,[[`path`,{d:`M4 20h16`,key:`14thso`}],[`path`,{d:`m6 16 6-12 6 12`,key:`1b4byz`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}]]),U=S(`between-horizontal-start`,[[`rect`,{width:`13`,height:`7`,x:`8`,y:`3`,rx:`1`,key:`pkso9a`}],[`path`,{d:`m2 9 3 3-3 3`,key:`1agib5`}],[`rect`,{width:`13`,height:`7`,x:`8`,y:`14`,rx:`1`,key:`1q5fc1`}]]),W=S(`crop`,[[`path`,{d:`M6 2v14a2 2 0 0 0 2 2h14`,key:`ron5a4`}],[`path`,{d:`M18 22V8a2 2 0 0 0-2-2H2`,key:`7s9ehn`}]]),G=S(`fold-vertical`,[[`path`,{d:`M12 22v-6`,key:`6o8u61`}],[`path`,{d:`M12 8V2`,key:`1wkif3`}],[`path`,{d:`M4 12H2`,key:`rhcxmi`}],[`path`,{d:`M10 12H8`,key:`s88cx1`}],[`path`,{d:`M16 12h-2`,key:`10asgb`}],[`path`,{d:`M22 12h-2`,key:`14jgyd`}],[`path`,{d:`m15 19-3-3-3 3`,key:`e37ymu`}],[`path`,{d:`m15 5-3 3-3-3`,key:`19d6lf`}]]),K=S(`heading`,[[`path`,{d:`M6 12h12`,key:`8npq4p`}],[`path`,{d:`M6 20V4`,key:`1w1bmo`}],[`path`,{d:`M18 20V4`,key:`o2hl4u`}]]),q=S(`list-indent-decrease`,[[`path`,{d:`M21 5H11`,key:`us1j55`}],[`path`,{d:`M21 12H11`,key:`wd7e0v`}],[`path`,{d:`M21 19H11`,key:`saa85w`}],[`path`,{d:`m7 8-4 4 4 4`,key:`o5hrat`}]]),J=S(`list-indent-increase`,[[`path`,{d:`M21 5H11`,key:`us1j55`}],[`path`,{d:`M21 12H11`,key:`wd7e0v`}],[`path`,{d:`M21 19H11`,key:`saa85w`}],[`path`,{d:`m3 8 4 4-4 4`,key:`1a3j6y`}]]),Y=S(`lock-open`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 9.9-1`,key:`1mm8w8`}]]),oe=S(`lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]),se=S(`paint-bucket`,[[`path`,{d:`M11 7 6 2`,key:`1jwth8`}],[`path`,{d:`M18.992 12H2.041`,key:`xw1gg`}],[`path`,{d:`M21.145 18.38A3.34 3.34 0 0 1 20 16.5a3.3 3.3 0 0 1-1.145 1.88c-.575.46-.855 1.02-.855 1.595A2 2 0 0 0 20 22a2 2 0 0 0 2-2.025c0-.58-.285-1.13-.855-1.595`,key:`1nkol4`}],[`path`,{d:`m8.5 4.5 2.148-2.148a1.205 1.205 0 0 1 1.704 0l7.296 7.296a1.205 1.205 0 0 1 0 1.704l-7.592 7.592a3.615 3.615 0 0 1-5.112 0l-3.888-3.888a3.615 3.615 0 0 1 0-5.112L5.67 7.33`,key:`1nk1rd`}]]),ce=S(`paintbrush`,[[`path`,{d:`m14.622 17.897-10.68-2.913`,key:`vj2p1u`}],[`path`,{d:`M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z`,key:`18tc5c`}],[`path`,{d:`M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15`,key:`ytzfxy`}]]),le=S(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]),ue=S(`rows-3`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M21 9H3`,key:`1338ky`}],[`path`,{d:`M21 15H3`,key:`9uk58r`}]]),de=S(`sliders-horizontal`,[[`path`,{d:`M10 5H3`,key:`1qgfaw`}],[`path`,{d:`M12 19H3`,key:`yhmn1j`}],[`path`,{d:`M14 3v4`,key:`1sua03`}],[`path`,{d:`M16 17v4`,key:`1q0r14`}],[`path`,{d:`M21 12h-9`,key:`1o4lsq`}],[`path`,{d:`M21 19h-5`,key:`1rlt1p`}],[`path`,{d:`M21 5h-7`,key:`1oszz2`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M8 12H3`,key:`a7s4jb`}]]),fe=S(`table-cells-merge`,[[`path`,{d:`M12 21v-6`,key:`lihzve`}],[`path`,{d:`M12 9V3`,key:`da5inc`}],[`path`,{d:`M3 15h18`,key:`5xshup`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),pe=S(`type`,[[`path`,{d:`M12 4v16`,key:`1654pz`}],[`path`,{d:`M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2`,key:`e0r10z`}],[`path`,{d:`M9 20h6`,key:`s66wpe`}]]),me=S(`underline`,[[`path`,{d:`M6 4v6a6 6 0 0 0 12 0V4`,key:`9kb039`}],[`line`,{x1:`4`,x2:`20`,y1:`20`,y2:`20`,key:`nun2al`}]]),he=S(`ungroup`,[[`rect`,{width:`8`,height:`6`,x:`5`,y:`4`,rx:`1`,key:`nzclkv`}],[`rect`,{width:`8`,height:`6`,x:`11`,y:`14`,rx:`1`,key:`4tytwb`}]]);function ge(e){let t=(t,n)=>{let r=t.key===`ArrowRight`?1:t.key===`ArrowLeft`?-1:void 0;if(r===void 0)return;t.preventDefault();let i=e.tabs[(n+r+e.tabs.length)%e.tabs.length];i&&(e.onPick(i.id),document.getElementById(`${e.name}-ribbon-tab-${i.id}`)?.focus())};return(0,w.jsx)(`div`,{role:`tablist`,"aria-label":e.label,className:`ribbon-tabs`,"data-testid":`${e.name}-ribbon-tabs`,children:e.tabs.map((n,r)=>{let i=n.id===e.active;return(0,w.jsxs)(a,{variant:`ghost`,id:`${e.name}-ribbon-tab-${n.id}`,role:`tab`,"aria-selected":i,"aria-controls":`${e.name}-ribbon-panel`,tabIndex:i?0:-1,"data-contextual":n.contextual===!0?``:void 0,"data-testid":`${e.name}-ribbon-${n.id}`,className:`ribbon-tab`,onClick:()=>{e.onPick(n.id)},onDoubleClick:()=>{i&&e.onToggle()},onKeyDown:e=>{t(e,r)},children:[(0,w.jsx)(`span`,{children:n.label}),i&&e.open?(0,w.jsx)(`span`,{className:`ribbon-mark`}):null]},n.id)})})}var X=(0,C.createContext)(null),Z=56;function _e(e){let t=(0,C.useRef)(null),n=(0,C.useRef)(new Map),r=(0,C.useRef)(new Map),[i,a]=(0,C.useState)(new Set),o=(0,C.useCallback)(()=>{let e=t.current;if(!e)return;let i=[...e.querySelectorAll(`:scope > [data-ribbon-group]`)];for(let e of i){let t=e.dataset.ribbonGroup??``,i=e.getBoundingClientRect().width;e.dataset.folded===void 0?n.current.set(t,i):r.current.set(t,i)}let o=getComputedStyle(e),s=e.clientWidth-parseFloat(o.paddingLeft)-parseFloat(o.paddingRight),c=parseFloat(o.columnGap)||0,l=i.map((e,t)=>{let i=e.dataset.ribbonGroup??``;return{id:i,at:t,priority:Number(e.dataset.priority??0),wide:n.current.get(i)??Z,narrow:r.current.get(i)??Z}}),u=l.reduce((e,t)=>e+t.wide,0)+c*Math.max(0,l.length-1),d=new Set;for(let e of[...l].sort((e,t)=>e.priority-t.priority||t.at-e.at)){if(u<=s)break;d.add(e.id),u-=e.wide-e.narrow}a(e=>e.size===d.size&&[...d].every(t=>e.has(t))?e:d)},[]);return(0,C.useLayoutEffect)(o),(0,C.useLayoutEffect)(()=>{let e=t.current;if(!e)return;let n=new ResizeObserver(o);return n.observe(e),()=>{n.disconnect()}},[o]),(0,w.jsx)(X.Provider,{value:{name:e.name,folded:i,balanced:e.balanced===!0},children:(0,w.jsx)(`div`,{ref:t,id:`${e.name}-ribbon-panel`,role:`tabpanel`,"aria-labelledby":`${e.name}-ribbon-tab-${e.tab}`,"aria-label":e.label,className:`ribbon-panel`,"data-testid":`${e.name}-ribbon-panel`,"data-tab":e.tab,"data-balanced":e.balanced===!0?``:void 0,children:e.children})})}function ve(e){let t=(0,C.useContext)(X),n=t?.folded.has(e.id)??!1,r=t?.name??`ribbon`,i=e.icon;return(0,w.jsx)(`div`,{role:`group`,"aria-label":e.label,"data-ribbon-group":e.id,"data-priority":e.priority??0,"data-folded":n?``:void 0,"data-testid":`${r}-group-${e.id}`,className:`ribbon-group`,children:n?(0,w.jsxs)(x,{children:[(0,w.jsx)(y,{asChild:!0,children:(0,w.jsxs)(a,{variant:`ghost`,className:`ribbon-big`,"data-testid":`${r}-group-${e.id}-folded`,children:[(0,w.jsx)(i,{}),(0,w.jsx)(Q,{label:e.label})]})}),(0,w.jsx)(b,{align:`start`,className:`ribbon-popover w-auto p-1`,"data-balanced":t?.balanced===!0?``:void 0,children:(0,w.jsx)(`div`,{className:`ribbon-group`,children:e.children})})]}):e.children})}function ye({children:e,className:t}){return(0,w.jsx)(`div`,{className:r(`ribbon-rows`,t),children:e})}function be({children:e}){return(0,w.jsx)(`div`,{className:`ribbon-row`,children:e})}function Q({label:e}){let t=e.split(` `),n=t.length>=3&&(t[t.length-2]?.length??0)>=4?e.lastIndexOf(` `,e.lastIndexOf(` `)-1):e.lastIndexOf(` `);return(0,w.jsxs)(`span`,{className:`ribbon-words`,children:[n<0?null:`${e.slice(0,n)} `,(0,w.jsxs)(`span`,{className:`whitespace-nowrap`,children:[n<0?e:e.slice(n+1),(0,w.jsx)(f,{className:`ribbon-chevron`})]})]})}function $(e){let t=e.icon;return(0,w.jsxs)(a,{variant:`ghost`,className:`ribbon-big`,title:e.title??e.label,"aria-pressed":e.pressed,disabled:e.disabled,"data-testid":e.testid,onClick:e.onClick,children:[(0,w.jsx)(t,{}),(0,w.jsx)(`span`,{className:`ribbon-words`,children:e.label})]})}function xe(e){let t=e.icon;return(0,w.jsxs)(v,{children:[(0,w.jsx)(p,{asChild:!0,children:(0,w.jsxs)(a,{variant:`ghost`,className:`ribbon-big`,title:e.title??e.label,disabled:e.disabled,"data-testid":e.testid,children:[(0,w.jsx)(t,{}),(0,w.jsx)(Q,{label:e.label})]})}),(0,w.jsx)(_,{align:`start`,className:r(`text-xs`,e.menuClassName),onCloseAutoFocus:t=>{t.preventDefault(),e.onDone()},children:e.children})]})}function Se(e){let t=e.icon;return(0,w.jsxs)(a,{variant:`ghost`,className:`ribbon-small`,title:e.title??e.label,"aria-pressed":e.pressed,disabled:e.disabled,"data-testid":e.testid,onClick:e.onClick,onDoubleClick:e.onDoubleClick,children:[(0,w.jsx)(t,{}),(0,w.jsx)(`span`,{children:e.label})]})}function Ce(e){let t=e.icon;return(0,w.jsxs)(v,{children:[(0,w.jsx)(p,{asChild:!0,children:(0,w.jsxs)(a,{variant:`ghost`,className:`ribbon-small`,title:e.title??e.label,disabled:e.disabled,"data-testid":e.testid,children:[(0,w.jsx)(t,{}),(0,w.jsx)(`span`,{children:e.label}),(0,w.jsx)(f,{className:`ribbon-chevron`})]})}),(0,w.jsx)(_,{align:`start`,className:r(`text-xs`,e.menuClassName),onCloseAutoFocus:t=>{t.preventDefault(),e.onDone()},children:e.children})]})}function we(e){let t=e.icon,[n,r]=(0,C.useState)(!1);return(0,w.jsxs)(x,{open:n,onOpenChange:r,children:[(0,w.jsx)(y,{asChild:!0,children:(0,w.jsxs)(a,{variant:`ghost`,className:`ribbon-big`,title:e.title??e.label,disabled:e.disabled,"data-testid":e.testid,children:[(0,w.jsx)(t,{}),(0,w.jsx)(Q,{label:e.label})]})}),(0,w.jsx)(b,{align:`start`,className:`w-auto p-2`,onCloseAutoFocus:t=>{t.preventDefault(),e.onDone()},children:e.children(()=>{r(!1)})})]})}function Te(e){let t=e.icon;return(0,w.jsxs)(`span`,{className:`ribbon-split`,children:[(0,w.jsx)(a,{variant:`ghost`,className:`ribbon-split-top`,title:e.title??e.label,"aria-label":e.label,disabled:e.disabled,"data-testid":e.testid,onClick:e.onClick,children:(0,w.jsx)(t,{})}),(0,w.jsxs)(v,{children:[(0,w.jsx)(p,{asChild:!0,children:(0,w.jsx)(a,{variant:`ghost`,className:`ribbon-split-foot`,disabled:e.disabled,"data-testid":e.menuTestid,children:(0,w.jsx)(Q,{label:e.label})})}),(0,w.jsx)(_,{align:`start`,className:r(`text-xs`,e.menuClassName),onCloseAutoFocus:t=>{t.preventDefault(),e.onDone()},children:e.children})]})]})}function Ee({className:e,orientation:t=`horizontal`,...n}){return(0,w.jsx)(ie,{"data-slot":`tabs`,"data-orientation":t,orientation:t,className:r(`group/tabs flex gap-2 data-[orientation=horizontal]:flex-col`,e),...n})}var De=n(`group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-[orientation=horizontal]/tabs:h-9 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none`,{variants:{variant:{default:`bg-muted`,line:`gap-1 bg-transparent`}},defaultVariants:{variant:`default`}});function Oe({className:e,variant:t=`default`,...n}){return(0,w.jsx)(j,{"data-slot":`tabs-list`,"data-variant":t,className:r(De({variant:t}),e),...n})}function ke({className:e,...t}){return(0,w.jsx)(N,{"data-slot":`tabs-trigger`,className:r(`relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent`,`data-[state=active]:bg-background data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground`,`after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100`,e),...t})}function Ae({className:e,...t}){return(0,w.jsx)(F,{"data-slot":`tabs-content`,className:r(`flex-1 outline-none`,e),...t})}export{G as A,ce as C,J as D,Y as E,B as F,z as I,R as L,U as M,H as N,q as O,V as P,le as S,oe as T,me as _,$ as a,de as b,ve as c,ye as d,Se as f,he as g,ge as h,ke as i,W as j,K as k,_e as l,Te as m,Ae as n,xe as o,Ce as p,Oe as r,we as s,Ee as t,be as u,pe as v,se as w,ue as x,fe as y};