allyhub 0.21.0 → 0.22.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 (222) hide show
  1. package/dist/commands/export.js +1 -1
  2. package/dist/commands/index.js +1 -1
  3. package/dist/commands/run.js +2 -0
  4. package/dist/commands.json +1 -1
  5. package/dist/main.js +4 -4
  6. package/dist/node_modules/@allyhub/3d-extension/package.json +1 -1
  7. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  8. package/dist/node_modules/@allyhub/blocks/package.json +1 -1
  9. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  10. package/dist/node_modules/@allyhub/build/dist/migrate.js +1 -1
  11. package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
  12. package/dist/node_modules/@allyhub/build/dist/project-root.js +1 -1
  13. package/dist/node_modules/@allyhub/build/dist/work.js +3 -3
  14. package/dist/node_modules/@allyhub/build/package.json +1 -1
  15. package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
  16. package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
  17. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  18. package/dist/node_modules/@allyhub/check/package.json +1 -1
  19. package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
  20. package/dist/node_modules/@allyhub/cloud/package.json +1 -1
  21. package/dist/node_modules/@allyhub/components/package.json +1 -1
  22. package/dist/node_modules/@allyhub/dev-server/dist/index.js +1 -1
  23. package/dist/node_modules/@allyhub/dev-server/dist/record.js +2 -1
  24. package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
  25. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  26. package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
  27. package/dist/node_modules/@allyhub/doc/package.json +1 -1
  28. package/dist/node_modules/@allyhub/doc-extension/package.json +1 -1
  29. package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
  30. package/dist/node_modules/@allyhub/export/package.json +1 -1
  31. package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
  32. package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
  33. package/dist/node_modules/@allyhub/formats/dist/data/deck-code.d.ts +3 -3
  34. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +151 -151
  35. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +173 -173
  36. package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +1 -2
  37. package/dist/node_modules/@allyhub/formats/dist/data/work.js +1 -1
  38. package/dist/node_modules/@allyhub/formats/dist/index.d.ts +1 -1
  39. package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
  40. package/dist/node_modules/@allyhub/formats/dist/layout.d.ts +2 -0
  41. package/dist/node_modules/@allyhub/formats/dist/layout.js +1 -1
  42. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +106 -101
  43. package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
  44. package/dist/node_modules/@allyhub/formats/dist/tolerant.d.ts +26 -1
  45. package/dist/node_modules/@allyhub/formats/dist/tolerant.js +1 -1
  46. package/dist/node_modules/@allyhub/formats/package.json +1 -1
  47. package/dist/node_modules/@allyhub/html-extension/package.json +1 -1
  48. package/dist/node_modules/@allyhub/i18n/package.json +1 -1
  49. package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
  50. package/dist/node_modules/@allyhub/image-extension/package.json +1 -1
  51. package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
  52. package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
  53. package/dist/node_modules/@allyhub/image-render/package.json +1 -1
  54. package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
  55. package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
  56. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  57. package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -1
  58. package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
  59. package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
  60. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  61. package/dist/node_modules/@allyhub/media/package.json +1 -1
  62. package/dist/node_modules/@allyhub/media-extension/package.json +1 -1
  63. package/dist/node_modules/@allyhub/model/package.json +1 -1
  64. package/dist/node_modules/@allyhub/office-extension/package.json +1 -1
  65. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  66. package/dist/node_modules/@allyhub/piece/package.json +1 -1
  67. package/dist/node_modules/@allyhub/project/package.json +1 -1
  68. package/dist/node_modules/@allyhub/protocol/package.json +1 -1
  69. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  70. package/dist/node_modules/@allyhub/render/package.json +1 -1
  71. package/dist/node_modules/@allyhub/report-extension/package.json +1 -1
  72. package/dist/node_modules/@allyhub/runtime/package.json +1 -1
  73. package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
  74. package/dist/node_modules/@allyhub/scaffold/dist/index.js +6 -6
  75. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  76. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  77. package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
  78. package/dist/node_modules/@allyhub/sheet/dist/file.js +2 -2
  79. package/dist/node_modules/@allyhub/sheet/package.json +1 -1
  80. package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +1 -1
  81. package/dist/node_modules/@allyhub/sheet-extension/package.json +1 -1
  82. package/dist/node_modules/@allyhub/slides-core/dist/file.js +3 -3
  83. package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
  84. package/dist/node_modules/@allyhub/slides-extension/dist/build.js +2 -2
  85. package/dist/node_modules/@allyhub/slides-extension/package.json +1 -1
  86. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  87. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  88. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  89. package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
  90. package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
  91. package/dist/node_modules/@allyhub/telemetry/package.json +1 -1
  92. package/dist/node_modules/@allyhub/text-extension/package.json +1 -1
  93. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  94. package/dist/node_modules/@allyhub/video-extension/package.json +1 -1
  95. package/dist/node_modules/@allyhub/video-measure/package.json +1 -1
  96. package/dist/node_modules/@allyhub/video-sdk/package.json +1 -1
  97. package/dist/node_modules/@allyhub/website/package.json +1 -1
  98. package/dist/node_modules/@allyhub/website-extension/package.json +1 -1
  99. package/dist/node_modules/@allyhub/x-extension/package.json +1 -1
  100. package/dist/node_modules/@allyhub/x-model/package.json +1 -1
  101. package/dist/node_modules/@allyhub/x-view/package.json +1 -1
  102. package/dist/package.json +15 -15
  103. package/dist/run-register.js +2 -0
  104. package/dist/works.js +1 -1
  105. package/editor-web/assets/{abnfDiagram-WEYOIA3C-B4tvwU6C.js → abnfDiagram-WEYOIA3C-D6qI3rai.js} +1 -1
  106. package/editor-web/assets/{architecture-WOLXFQ4H-V2fA0vY2.js → architecture-WOLXFQ4H-B3V6ggq8.js} +1 -1
  107. package/editor-web/assets/{architectureDiagram-ZHVYKT53-B6B7XN0M.js → architectureDiagram-ZHVYKT53-IauNyxXn.js} +1 -1
  108. package/editor-web/assets/{article-DW4eD_8K.js → article-BHjKp5We.js} +1 -1
  109. package/editor-web/assets/{article-Dm2dIEwc.js → article-BlNKv1Cn.js} +1 -1
  110. package/editor-web/assets/{blockDiagram-RJAE7QA3-BizcUGOM.js → blockDiagram-RJAE7QA3-yXhlfxbH.js} +1 -1
  111. package/editor-web/assets/{c4Diagram-XDPPPE54-CBHS0dQ0.js → c4Diagram-XDPPPE54-B-anrhvt.js} +1 -1
  112. package/editor-web/assets/{calc-worker-Cr4a0xmt.js → calc-worker-BpAgQE9E.js} +3 -3
  113. package/editor-web/assets/channel-Bhb-_8v6.js +1 -0
  114. package/editor-web/assets/{chip-BdQRH3FL.js → chip-pNQlYa2W.js} +1 -1
  115. package/editor-web/assets/{chunk-2E7WHVMD-CMPBck_Q.js → chunk-2E7WHVMD-QPOni4XB.js} +1 -1
  116. package/editor-web/assets/{chunk-4EMNKR2T-Df22Adpt.js → chunk-4EMNKR2T-DG1FCRRI.js} +1 -1
  117. package/editor-web/assets/{chunk-55XCU76K-CYrZ6_Q7.js → chunk-55XCU76K-mKuMXpnC.js} +1 -1
  118. package/editor-web/assets/{chunk-7S6XSTFO-BfdG9NNW.js → chunk-7S6XSTFO-CgZAazgt.js} +1 -1
  119. package/editor-web/assets/{chunk-AQDTSKZB-BCzZMoTJ.js → chunk-AQDTSKZB-BRU84phF.js} +1 -1
  120. package/editor-web/assets/{chunk-DSNLSHJZ-DT0xT8Wf.js → chunk-DSNLSHJZ-zku9oeG3.js} +1 -1
  121. package/editor-web/assets/{chunk-HAGFOTED-Bg3-EotU.js → chunk-HAGFOTED-CaUkBv_0.js} +1 -1
  122. package/editor-web/assets/{chunk-HNE4Q36P-BrSym24V.js → chunk-HNE4Q36P-BQz4ZCJf.js} +1 -1
  123. package/editor-web/assets/{chunk-NQOKRVIF-CMxgkJWF.js → chunk-NQOKRVIF-CHVBEDkg.js} +1 -1
  124. package/editor-web/assets/{chunk-UHW7PFBP-DWEwoyPy.js → chunk-UHW7PFBP-DrYeJo1e.js} +1 -1
  125. package/editor-web/assets/{chunk-VQ5W62QI-eTFh5_T9.js → chunk-VQ5W62QI-D8ToVCUe.js} +1 -1
  126. package/editor-web/assets/{chunk-WQQL4CDK-4PTupr9T.js → chunk-WQQL4CDK-DZ0tyi9F.js} +1 -1
  127. package/editor-web/assets/{chunk-YZO67HFG-D5XAAFWm.js → chunk-YZO67HFG-BLe7PXER.js} +1 -1
  128. package/editor-web/assets/{chunk-ZAUX2LTX-CPsdaisO.js → chunk-ZAUX2LTX-ByaeSIre.js} +1 -1
  129. package/editor-web/assets/{chunk-ZCHMQSOR-ClnuUyfy.js → chunk-ZCHMQSOR-DdMJr_t5.js} +1 -1
  130. package/editor-web/assets/{classDiagram-v2-4MYWR3UA-CM21waNF.js → classDiagram-v2-4MYWR3UA-DDpq7fFC.js} +1 -1
  131. package/editor-web/assets/{color-picker-BmKFn2ww.js → color-picker-CDeICDN5.js} +1 -1
  132. package/editor-web/assets/{cynefin-EF2NZ3EQ-CJUHTgee.js → cynefin-EF2NZ3EQ-CMivy2fr.js} +1 -1
  133. package/editor-web/assets/{cynefinDiagram-WF24UDRP-C9RIfuIV.js → cynefinDiagram-WF24UDRP-GtxT_9wW.js} +1 -1
  134. package/editor-web/assets/{dagre-NK4GIZVX-g-01KdpO.js → dagre-NK4GIZVX-Bn1O2Hjl.js} +1 -1
  135. package/editor-web/assets/deck-Cohd-G5m.js +1 -0
  136. package/editor-web/assets/{diagram-CBK3MWTC-CbOjWUu-.js → diagram-CBK3MWTC-W715PWZw.js} +1 -1
  137. package/editor-web/assets/{diagram-I5XIIV2D-C6psNS8J.js → diagram-I5XIIV2D-BKObZPn2.js} +1 -1
  138. package/editor-web/assets/{diagram-ODIL2UCW-C9PUE46P.js → diagram-ODIL2UCW-UtQxEPoW.js} +1 -1
  139. package/editor-web/assets/{diagram-PFBEJUXE-vJ_pnB33.js → diagram-PFBEJUXE-CpLGEK-k.js} +1 -1
  140. package/editor-web/assets/{diagram-RJA3I4VV-FwYlEfJ-.js → diagram-RJA3I4VV-DGyMXoHb.js} +1 -1
  141. package/editor-web/assets/{diagram-TYUNFSNR-FKpIxeUc.js → diagram-TYUNFSNR-Dy_Ewr8V.js} +1 -1
  142. package/editor-web/assets/{dist-H0z_DXDz.js → dist-0I0Obj60.js} +14 -14
  143. package/editor-web/assets/{dist-DCI21ljp.js → dist-6ugUm4dS.js} +1 -1
  144. package/editor-web/assets/{dist-D2rGVz9C.js → dist-B0rUvCi2.js} +1 -1
  145. package/editor-web/assets/{dist-D07Kj8GR.js → dist-CKD_paj_.js} +1 -1
  146. package/editor-web/assets/{dist-BgKyM9U6.js → dist-CKUW5NzS.js} +1 -1
  147. package/editor-web/assets/{dist-DJvfQvM7.js → dist-Ca9Gsuu0.js} +1 -1
  148. package/editor-web/assets/{dist-BqijryYd.js → dist-Cc8v9lfc.js} +1 -1
  149. package/editor-web/assets/{dist-BaWFMuvr.js → dist-CynBNzYv.js} +1 -1
  150. package/editor-web/assets/{dist-CB-_0-X4.js → dist-D7M5YTq2.js} +1 -1
  151. package/editor-web/assets/{dist-ByguWp3a.js → dist-D9tsFc2N.js} +1 -1
  152. package/editor-web/assets/{dist-DH8oJJw9.js → dist-DNMKDcLg.js} +3 -3
  153. package/editor-web/assets/{dist-D3DwRF1k.js → dist-Doj7_HUI.js} +17 -17
  154. package/editor-web/assets/{dist-CtYjYJdv.js → dist-DptBQzJR.js} +1 -1
  155. package/editor-web/assets/{dist-BdmMT8fP.js → dist-DzKB210A.js} +1 -1
  156. package/editor-web/assets/{dist-Cg0Z26Kv.js → dist-H9rTuNhb.js} +4 -4
  157. package/editor-web/assets/{dist-DmCDcb2_.js → dist-RyGsFHE0.js} +1 -1
  158. package/editor-web/assets/{dist-BI_BaYhO.js → dist-oeSWr2LE.js} +4 -4
  159. package/editor-web/assets/dist-wD_hHJ8_.js +19 -0
  160. package/editor-web/assets/{docx-draw-Dxb67W2d.js → docx-draw-B5cM77hc.js} +1 -1
  161. package/editor-web/assets/{ebnfDiagram-V4P3TTPT-DBymUM-F.js → ebnfDiagram-V4P3TTPT-GPYcx6dU.js} +1 -1
  162. package/editor-web/assets/{elk-QONTBCTQ-BNYR3OlS.js → elk-QONTBCTQ-Bi0r4UFM.js} +1 -1
  163. package/editor-web/assets/{erDiagram-KYQIGQAA-cTNyOqW6.js → erDiagram-KYQIGQAA-DrOSrnci.js} +1 -1
  164. package/editor-web/assets/esm-jIPnpbBD.js +21 -0
  165. package/editor-web/assets/{eventmodeling-K75KTNOO-C6FUZeXP.js → eventmodeling-K75KTNOO-Dw-MjgUb.js} +1 -1
  166. package/editor-web/assets/flowDiagram-IUGLLWBU-DbZTfPEP.js +1 -0
  167. package/editor-web/assets/{ganttDiagram-R7GPNTJY-LD9mqQ1x.js → ganttDiagram-R7GPNTJY-Bwe8cQqi.js} +1 -1
  168. package/editor-web/assets/{gitGraph-VSP46ZUC-CtCBcQFl.js → gitGraph-VSP46ZUC-DsAcAKP0.js} +1 -1
  169. package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-DYQpOozz.js → gitGraphDiagram-PDYL7XHY-aObRwdru.js} +1 -1
  170. package/editor-web/assets/index-D-MNVykg.js +28 -0
  171. package/editor-web/assets/{info-OHQRW6UA-IXInKPRO.js → info-OHQRW6UA-DBPN8JFr.js} +1 -1
  172. package/editor-web/assets/{infoDiagram-MVDRKAX5-Ds7Cei7T.js → infoDiagram-MVDRKAX5-Bx26Hq7M.js} +1 -1
  173. package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-DWs3qtAX.js → ishikawaDiagram-HPEHV2GE-BJ_MCDwA.js} +1 -1
  174. package/editor-web/assets/{journeyDiagram-BOSHW7O7-BkNKVYBA.js → journeyDiagram-BOSHW7O7-B5g4W2Dx.js} +1 -1
  175. package/editor-web/assets/{kanban-definition-FNSA4HC5-D3dMswnI.js → kanban-definition-FNSA4HC5-U8YNlxN7.js} +1 -1
  176. package/editor-web/assets/layout-CuWN7_3k.js +1 -0
  177. package/editor-web/assets/{mermaid-parser.core-D_W_0X0N.js → mermaid-parser.core-DYLQlYDo.js} +3 -3
  178. package/editor-web/assets/{mermaid.core-Bkirj-s5.js → mermaid.core-qNJmZ0b4.js} +4 -4
  179. package/editor-web/assets/{mindmap-definition-6OY57UG3-CMKkAAvI.js → mindmap-definition-6OY57UG3-CI5aBWbK.js} +1 -1
  180. package/editor-web/assets/{packet-JDAUHWVQ-CzCkgCfg.js → packet-JDAUHWVQ-BBclMGlJ.js} +1 -1
  181. package/editor-web/assets/{panes-BexRuZd2.js → panes-BShVq38A.js} +1 -1
  182. package/editor-web/assets/{pegDiagram-ECIUJNBX-C8qHkx7M.js → pegDiagram-ECIUJNBX-B3pljPTu.js} +1 -1
  183. package/editor-web/assets/{pie-XZMESJXO-BJqgxMrD.js → pie-XZMESJXO-B7WzimHm.js} +1 -1
  184. package/editor-web/assets/{pieDiagram-GNMPY74T-DyNntV5y.js → pieDiagram-GNMPY74T-tM1Da50-.js} +1 -1
  185. package/editor-web/assets/{quadrantDiagram-D57K4MC3-BHa-69ir.js → quadrantDiagram-D57K4MC3-BEq_Shj9.js} +1 -1
  186. package/editor-web/assets/{radar-ABXABTNO-BeRPjBBR.js → radar-ABXABTNO-v2jJSW5T.js} +1 -1
  187. package/editor-web/assets/{railroad-I3PHUGI6-BaRQqRsK.js → railroad-I3PHUGI6-6W3Z4F8Y.js} +1 -1
  188. package/editor-web/assets/{railroad-abnf-LNEFI6M7-BZfwomxZ.js → railroad-abnf-LNEFI6M7-DxIN7Zrt.js} +1 -1
  189. package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-DbgqpEF5.js → railroad-ebnf-DWYD2UWJ-Bb5O7tAx.js} +1 -1
  190. package/editor-web/assets/{railroad-peg-JR7BVNR7-BYOf3PsQ.js → railroad-peg-JR7BVNR7-i2LjEP5t.js} +1 -1
  191. package/editor-web/assets/{railroadDiagram-Y72NRBL7-B5OAzOsD.js → railroadDiagram-Y72NRBL7-DhsyVKbG.js} +1 -1
  192. package/editor-web/assets/{requirementDiagram-EQYSW5RA-wqYNoqO0.js → requirementDiagram-EQYSW5RA-Du2k7i1E.js} +1 -1
  193. package/editor-web/assets/{ribbon-tabs-B3IC9WOt.js → ribbon-tabs-Bxuj_hct.js} +1 -1
  194. package/editor-web/assets/{sankeyDiagram-SY24JHO5-Crf6GRsa.js → sankeyDiagram-SY24JHO5-CDnRMu7J.js} +1 -1
  195. package/editor-web/assets/schemas-CnlOL0u4.js +1 -0
  196. package/editor-web/assets/{sequenceDiagram-BLEHNHQU-DUcHz4_d.js → sequenceDiagram-BLEHNHQU-BUXBhWYW.js} +1 -1
  197. package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-DbeLdnpS.js → stateDiagram-v2-A6IESKWZ-Enb8LZUA.js} +1 -1
  198. package/editor-web/assets/{swimlanes-B3ENRKFQ-BDi6AeJI.js → swimlanes-B3ENRKFQ-pnpjgTrl.js} +1 -1
  199. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-B-B2Eoc8.js +8 -0
  200. package/editor-web/assets/themes-D_ISkWVz.js +1 -0
  201. package/editor-web/assets/{timeline-definition-JXYKGLGB-B0awa2hh.js → timeline-definition-JXYKGLGB-C4pR18kd.js} +1 -1
  202. package/editor-web/assets/{treeView-D4JQ5SDB-C91G0IGm.js → treeView-D4JQ5SDB-kzNGeAv6.js} +1 -1
  203. package/editor-web/assets/{treemap-SAJKECNS-CiOWiwl2.js → treemap-SAJKECNS-Buhb5wzt.js} +1 -1
  204. package/editor-web/assets/{updating-D0GEtwnJ.js → updating-Cbxw83_O.js} +1 -1
  205. package/editor-web/assets/{usecaseDiagram-WPOLBNNX-DMYM1MRe.js → usecaseDiagram-WPOLBNNX-CL-xLQWl.js} +1 -1
  206. package/editor-web/assets/{vennDiagram-Q3Y3IDCW-DQIJ5vvN.js → vennDiagram-Q3Y3IDCW-bwsyCcdK.js} +1 -1
  207. package/editor-web/assets/{video-mMOFXHYK.js → video-8MxWX9f5.js} +1 -1
  208. package/editor-web/assets/{wardley-7MLQ67FV-C3H9HG8r.js → wardley-7MLQ67FV-DXsLgedI.js} +1 -1
  209. package/editor-web/assets/{wardleyDiagram-IVAIDKWA-DgsjqY1Y.js → wardleyDiagram-IVAIDKWA-Cn0ph953.js} +1 -1
  210. package/editor-web/assets/{workbook-NtMEyLgf.js → workbook-BDWkQ149.js} +1 -1
  211. package/editor-web/assets/{xychartDiagram-4URNHDU4-DzsGI527.js → xychartDiagram-4URNHDU4-CfXnqGWZ.js} +1 -1
  212. package/editor-web/index.html +2 -1
  213. package/package.json +2 -2
  214. package/editor-web/assets/channel-dyUtlVPg.js +0 -1
  215. package/editor-web/assets/deck-C0VxrlzX.js +0 -1
  216. package/editor-web/assets/dist-CCP24Lel.js +0 -19
  217. package/editor-web/assets/esm-Cl3GKSDd.js +0 -21
  218. package/editor-web/assets/flowDiagram-IUGLLWBU-ukTovy07.js +0 -1
  219. package/editor-web/assets/index-omhSywJb.js +0 -28
  220. package/editor-web/assets/schemas-C21MyseF.js +0 -1
  221. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-2wwOmxbv.js +0 -8
  222. package/editor-web/assets/tolerant-DM9s0Mt1.js +0 -1
@@ -1,4 +1,4 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./docx-preview-pcg9ioe3.js","./rolldown-runtime-COiEfhsA.js"])))=>i.map(i=>d[i]);
2
- import{a as e,r as t}from"./browser-C1XuTMlp.js";import{f as n}from"./index-omhSywJb.js";import{t as r}from"./purify.es-B9ve_eFf.js";var i=class extends Error{constructor(e){super(e),this.name=`NotWordDocumentError`}},a=/^word\/document\d*\.xml$/u;function o(n,r){let o=e(r),s=[];try{t(n,{filter:e=>(o(e),s.push(e.name),!1)})}catch(e){throw e instanceof Error&&typeof e.code==`number`?new i(`It is not a zip file, as a .docx file is.`):e}if(!s.includes(`[Content_Types].xml`)||!s.some(e=>a.test(e)))throw new i(`It has no Word document part.`)}var s=[`http:`,`https:`,`mailto:`];function c(e){let t=e.trim();if(!URL.canParse(t))return;let n=new URL(t);return s.includes(n.protocol)?n.href:void 0}var l=e=>/^(?:data:image\/|blob:)/iu.test(e.trim()),u=/url\(\s*(?:"([^"]*)"|'([^']*)'|([^)]*))\s*\)/giu,d=/"(?:[^"\\\n]|\\[\s\S])*"|'(?:[^'\\\n]|\\[\s\S])*'/gu,f=/(?:image-set|image|src|element|cross-fade)\(/iu;function p(e){for(let t of e.matchAll(u))if(!l(t[1]??t[2]??t[3]??``))return!1;let t=e.replace(u,``).replace(d,`""`);return!t.includes(`\\`)&&!f.test(t)}var m={className:`docx`,inWrapper:!0,breakPages:!0,ignoreLastRenderedPageBreak:!0,renderHeaders:!0,renderFooters:!0,renderFootnotes:!0,renderEndnotes:!0,renderAltChunks:!1,ignoreFonts:!0,useBase64URL:!0,renderChanges:!1,renderComments:!1,experimental:!1,debug:!1},h={IN_PLACE:!0,USE_PROFILES:{html:!0,svg:!0,mathMl:!0},FORBID_TAGS:[`style`,`iframe`,`frame`,`object`,`embed`,`form`,`input`,`button`,`textarea`,`select`,`video`,`audio`,`source`,`track`,`link`,`meta`,`base`],FORBID_ATTR:[`srcset`,`ping`,`action`,`formaction`,`background`,`poster`],ALLOW_UNKNOWN_PROTOCOLS:!1,ALLOWED_URI_REGEXP:/^(?:https?:|mailto:|data:image\/)/iu};function g(e){for(let t=e.length-1;t>=0;t--){let n=e.item(t);p(e.getPropertyValue(n))||e.removeProperty(n)}}function _(e){for(let t=e.cssRules.length-1;t>=0;t--){let n=e.cssRules.item(t);n instanceof CSSStyleRule||n instanceof CSSPageRule?g(n.style):n instanceof CSSGroupingRule?_(n):e.deleteRule(t)}}function v(e){let t=new CSSStyleSheet;return t.replaceSync(e),_(t),Array.from(t.cssRules,e=>e.cssText).join(`
2
+ import{a as e,r as t}from"./browser-C1XuTMlp.js";import{f as n}from"./index-D-MNVykg.js";import{t as r}from"./purify.es-B9ve_eFf.js";var i=class extends Error{constructor(e){super(e),this.name=`NotWordDocumentError`}},a=/^word\/document\d*\.xml$/u;function o(n,r){let o=e(r),s=[];try{t(n,{filter:e=>(o(e),s.push(e.name),!1)})}catch(e){throw e instanceof Error&&typeof e.code==`number`?new i(`It is not a zip file, as a .docx file is.`):e}if(!s.includes(`[Content_Types].xml`)||!s.some(e=>a.test(e)))throw new i(`It has no Word document part.`)}var s=[`http:`,`https:`,`mailto:`];function c(e){let t=e.trim();if(!URL.canParse(t))return;let n=new URL(t);return s.includes(n.protocol)?n.href:void 0}var l=e=>/^(?:data:image\/|blob:)/iu.test(e.trim()),u=/url\(\s*(?:"([^"]*)"|'([^']*)'|([^)]*))\s*\)/giu,d=/"(?:[^"\\\n]|\\[\s\S])*"|'(?:[^'\\\n]|\\[\s\S])*'/gu,f=/(?:image-set|image|src|element|cross-fade)\(/iu;function p(e){for(let t of e.matchAll(u))if(!l(t[1]??t[2]??t[3]??``))return!1;let t=e.replace(u,``).replace(d,`""`);return!t.includes(`\\`)&&!f.test(t)}var m={className:`docx`,inWrapper:!0,breakPages:!0,ignoreLastRenderedPageBreak:!0,renderHeaders:!0,renderFooters:!0,renderFootnotes:!0,renderEndnotes:!0,renderAltChunks:!1,ignoreFonts:!0,useBase64URL:!0,renderChanges:!1,renderComments:!1,experimental:!1,debug:!1},h={IN_PLACE:!0,USE_PROFILES:{html:!0,svg:!0,mathMl:!0},FORBID_TAGS:[`style`,`iframe`,`frame`,`object`,`embed`,`form`,`input`,`button`,`textarea`,`select`,`video`,`audio`,`source`,`track`,`link`,`meta`,`base`],FORBID_ATTR:[`srcset`,`ping`,`action`,`formaction`,`background`,`poster`],ALLOW_UNKNOWN_PROTOCOLS:!1,ALLOWED_URI_REGEXP:/^(?:https?:|mailto:|data:image\/)/iu};function g(e){for(let t=e.length-1;t>=0;t--){let n=e.item(t);p(e.getPropertyValue(n))||e.removeProperty(n)}}function _(e){for(let t=e.cssRules.length-1;t>=0;t--){let n=e.cssRules.item(t);n instanceof CSSStyleRule||n instanceof CSSPageRule?g(n.style):n instanceof CSSGroupingRule?_(n):e.deleteRule(t)}}function v(e){let t=new CSSStyleSheet;return t.replaceSync(e),_(t),Array.from(t.cssRules,e=>e.cssText).join(`
3
3
  `)}function y(e){r.sanitize(e,h);for(let t of e.querySelectorAll(`*`)){if(t instanceof HTMLAnchorElement){let e=c(t.getAttribute(`href`)??``);e===void 0?t.removeAttribute(`href`):(t.setAttribute(`href`,e),t.setAttribute(`target`,`_blank`),t.setAttribute(`rel`,`noopener noreferrer`))}let e=t instanceof HTMLImageElement||t instanceof SVGImageElement,n=!1;for(let r of[`src`,`href`,`xlink:href`]){if(t instanceof HTMLAnchorElement&&r===`href`)continue;let i=t.getAttribute(r);i!==null&&(e&&l(i)?n=!0:t.removeAttribute(r))}e&&!n?t.remove():t.hasAttribute(`style`)&&g(t.style)}}async function b(e){o(e);let{parseAsync:t,renderDocument:r}=await n(async()=>{let{parseAsync:e,renderDocument:t}=await import(`./docx-preview-pcg9ioe3.js`);return{parseAsync:e,renderDocument:t}},__vite__mapDeps([0,1]),import.meta.url),i=await r(await t(new Blob([new Uint8Array(e)]),m),m),a=document.createElement(`div`),s=[];for(let e of i)e instanceof HTMLStyleElement?s.push(e.textContent):a.append(e);return y(a),{css:s.map(v).join(`
4
4
  `),body:a}}export{b as drawWordDocumentHeld};
@@ -1 +1 @@
1
- import{f as e,t}from"./mermaid-parser.core-D_W_0X0N.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n as r}from"./d3-selection-COWvaQNI.js";import"./chunk-DSNLSHJZ-DT0xT8Wf.js";import{n as i,r as a,t as o}from"./chunk-2E7WHVMD-CMPBck_Q.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-Bkirj-s5.js";var c=e().RailroadEbnf.parser.LangiumParser,l=n(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformChoice`),u=n(e=>{let t=e.elements.map(p);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformSequence`),d=n(e=>{switch(e.$type){case`EbnfTerminal`:return{type:`terminal`,value:e.value};case`EbnfNonTerminal`:return{type:`nonterminal`,name:e.name};case`EbnfSpecial`:return{type:`special`,text:e.text};case`EbnfGroup`:return l(e.element);case`EbnfOptional`:return{type:`optional`,element:l(e.element)};case`EbnfRepetition`:return{type:`repetition`,element:l(e.element),min:0,max:1/0};default:throw Error(`Unsupported EBNF primary node: ${e.$type}`)}},`transformPrimary`),f=n((e,t)=>{switch(t.$type){case`EbnfOptionalPostfix`:return{type:`optional`,element:e};case`EbnfZeroOrMorePostfix`:return{type:`repetition`,element:e,min:0,max:1/0};case`EbnfOneOrMorePostfix`:return{type:`repetition`,element:e,min:1,max:1/0};case`EbnfExceptionPostfix`:return{type:`sequence`,elements:[e,{type:`terminal`,value:`-`},d(t.except)]};default:throw Error(`Unsupported EBNF postfix node: ${t.$type}`)}},`transformPostfix`),p=n(e=>e.postfixes.reduce((e,t)=>f(e,t),d(e.base)),`transformTerm`),m=n(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=n(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(m(e)))},`populateDb`),g={parser:{parse:n(e=>{o.clear(),r.debug(`[EBNF Parser] Starting Langium parse`);let n=c.parse(e);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new t(n);let i=n.value;r.debug(`[EBNF Parser] Parsed rules:`,i.rules.length),h(i),r.debug(`[EBNF Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{g as diagram};
1
+ import{f as e,t}from"./mermaid-parser.core-DYLQlYDo.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n as r}from"./d3-selection-COWvaQNI.js";import"./chunk-DSNLSHJZ-zku9oeG3.js";import{n as i,r as a,t as o}from"./chunk-2E7WHVMD-QPOni4XB.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-qNJmZ0b4.js";var c=e().RailroadEbnf.parser.LangiumParser,l=n(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformChoice`),u=n(e=>{let t=e.elements.map(p);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformSequence`),d=n(e=>{switch(e.$type){case`EbnfTerminal`:return{type:`terminal`,value:e.value};case`EbnfNonTerminal`:return{type:`nonterminal`,name:e.name};case`EbnfSpecial`:return{type:`special`,text:e.text};case`EbnfGroup`:return l(e.element);case`EbnfOptional`:return{type:`optional`,element:l(e.element)};case`EbnfRepetition`:return{type:`repetition`,element:l(e.element),min:0,max:1/0};default:throw Error(`Unsupported EBNF primary node: ${e.$type}`)}},`transformPrimary`),f=n((e,t)=>{switch(t.$type){case`EbnfOptionalPostfix`:return{type:`optional`,element:e};case`EbnfZeroOrMorePostfix`:return{type:`repetition`,element:e,min:0,max:1/0};case`EbnfOneOrMorePostfix`:return{type:`repetition`,element:e,min:1,max:1/0};case`EbnfExceptionPostfix`:return{type:`sequence`,elements:[e,{type:`terminal`,value:`-`},d(t.except)]};default:throw Error(`Unsupported EBNF postfix node: ${t.$type}`)}},`transformPostfix`),p=n(e=>e.postfixes.reduce((e,t)=>f(e,t),d(e.base)),`transformTerm`),m=n(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=n(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(m(e)))},`populateDb`),g={parser:{parse:n(e=>{o.clear(),r.debug(`[EBNF Parser] Starting Langium parse`);let n=c.parse(e);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new t(n);let i=n.value;r.debug(`[EBNF Parser] Parsed rules:`,i.rules.length),h(i),r.debug(`[EBNF Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{g as diagram};