@kong-ui-public/documentation 0.7.82 → 0.7.84

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 (151) hide show
  1. package/dist/_basePickBy-CMfPif8e-CmRJF0Pz.js +151 -0
  2. package/dist/_baseUniq-CXqhI00C-BfnSCqya.js +615 -0
  3. package/dist/arc-JIMrD458-iE0qPqUL.js +83 -0
  4. package/dist/architecture-I3QFYML2-Bgw7-fJd-BmHcSoDq.js +5 -0
  5. package/dist/{architectureDiagram-V6B76FHG-Pzw1d-oB-DHiQxfgq.js → architectureDiagram-AYX4OTIS-XPsSAXrN-CriQXfFm.js} +4 -4
  6. package/dist/{astro-Ct9uJo-c-nfJFy9of.js → astro-0iWgpDaK-DRsXAR7M.js} +8 -19
  7. package/dist/blockDiagram-XN6IQ5JY-IfzOVP1S-DoilgKcQ.js +2247 -0
  8. package/dist/{c-DKDB_XIB-DKDB_XIB.js → c-TKJGJdXV-TKJGJdXV.js} +1 -2
  9. package/dist/{c4Diagram-THADGKDP-DNjDxpJj-DCkatXpj.js → c4Diagram-GPMAACGM-RttNBnvg-DemUG3qf.js} +2 -2
  10. package/dist/{channel-DY4J7hMj-DhxgBwmi.js → channel-DEiqvYYf-DqQTZyIM.js} +1 -1
  11. package/dist/{chunk-OQCM5LHU-CBZLTHAO-Byg6DDHc.js → chunk-BAOP5US2-D_mPkUfX-Dlqx79Tr.js} +1 -1
  12. package/dist/chunk-CXDZ2C6O-B6QVQzrJ-CdVn1xaX.js +1301 -0
  13. package/dist/{chunk-DUMQOTYW-q2xRlZzC-WZX6gsgU.js → chunk-EICJXIV7-B3uVnKYK-BPFil4EM.js} +1 -1
  14. package/dist/{chunk-2JBRQKJ5-s3ZERvbz-DIvxz4Hk.js → chunk-JZAHL7AJ-B8L_7Xh_-C2ETRUtV.js} +21 -21
  15. package/dist/{chunk-2RYQ3QTB-CQJ_YWh0-CyGoJsYl.js → chunk-RGXPSUNZ-PjQy3A3Y-BiDEi6k5.js} +1 -1
  16. package/dist/{chunk-XVOYOM2C-Drq2fxR3-BZgyQieh.js → chunk-VCFP4HPQ-qZEjUbIz-7kfkUrsj.js} +1 -1
  17. package/dist/classDiagram-FEGYTUDG-Bu9qKgav-DF2ZcQyp.js +14 -0
  18. package/dist/classDiagram-v2-R65JCUOM-Bu9qKgav-DF2ZcQyp.js +14 -0
  19. package/dist/{clone-CSh3RmzO-BO_pW9dn.js → clone-elND5I63-U8WRvSPu.js} +1 -1
  20. package/dist/{csharp-hvsHIX1x-hvsHIX1x.js → csharp-DoJjzS5t-DoJjzS5t.js} +1 -2
  21. package/dist/{css-twoVIb3q-twoVIb3q.js → css-DHLSoXzW-DHLSoXzW.js} +1 -2
  22. package/dist/{csv-CyuxiNSX-CyuxiNSX.js → csv-DvCncUGQ-Tno401i9.js} +1 -2
  23. package/dist/dagre-SWNTG5WE-CcKMLYcK-tREOd3Fb.js +447 -0
  24. package/dist/{diagram-QS5GVLUX-BYCosWq0-DUyx0Lsp.js → diagram-NZMEDLQF-vjbbgzvH-BDFE_-Eo.js} +6 -6
  25. package/dist/{diff-BprZv9Bx-BprZv9Bx.js → diff-DKH6jKuv-DKH6jKuv.js} +1 -2
  26. package/dist/{docker-UByH5rch-UByH5rch.js → docker-M-OegAvW-M-OegAvW.js} +1 -2
  27. package/dist/documentation.es.js +1 -1
  28. package/dist/documentation.umd.js +401 -273
  29. package/dist/{erDiagram-62CBQV5Y-CCkmKSfL-DVupRLHH.js → erDiagram-WO52GFNT-N8TeMKSM-BojFH-Dn.js} +56 -56
  30. package/dist/flowDiagram-TSWR6T2D-DzECWIN--CnDMIIi-.js +1484 -0
  31. package/dist/{ganttDiagram-ASEIQ4P5-D1zrowZ9-BAnaAW4v.js → ganttDiagram-FAOCOTIY-DmxDGUpf-BGJLIQAo.js} +61 -61
  32. package/dist/{git-commit-BpBta0-H-D9ROUaA_.js → git-commit-giWKZ1Ct-l8XOl7Qs.js} +2 -3
  33. package/dist/{git-rebase-nCu0qkM8-BcHBAqRM.js → git-rebase-BeAKv_ae-YKn1ZA6h.js} +2 -3
  34. package/dist/gitGraph-YCYPL57B-BKlVjqGu-BRRTPERj.js +5 -0
  35. package/dist/{gitGraphDiagram-UL5UFKDR-Ck7pRU_R-Dy9Vc0iN.js → gitGraphDiagram-5C7YHVU6-CfJ_hQ2h-C2aLT5AH.js} +21 -21
  36. package/dist/{go-CVQIWj2N-CVQIWj2N.js → go-Bzd7qChY-Bzd7qChY.js} +1 -2
  37. package/dist/{graph-DTNue1bF-BLqDvS-5.js → graph-C5siWsaJ-djbzUgq8.js} +52 -55
  38. package/dist/{graphql-7X52cHqc-CLBzimQB.js → graphql-D7_Dk2ma-CKCeVmAl.js} +5 -6
  39. package/dist/{haml-28-Av65f-Dih0P9tR.js → haml-S3dmcfEW-DS9Qve_X.js} +5 -14
  40. package/dist/{handlebars-TFjvroEi-07H8_eE0.js → handlebars-DaIrqVg3-BICytU_W.js} +5 -6
  41. package/dist/{haskell-DJah2Vxp-DJah2Vxp.js → haskell-CmMIDOJ7-CmMIDOJ7.js} +1 -2
  42. package/dist/{html-B9SDyQ6N-D-ZKCIRM.js → html-Bx3A18fV-DIK1LUyO.js} +3 -4
  43. package/dist/{html-derivative-Dst04Arf-DrM5NWms.js → html-derivative-B8TLT7CN-DkAjK9Np.js} +2 -3
  44. package/dist/{http-nOIbjTbF-C51IpTrN.js → http-DiM0ILv2-7ivPChAf.js} +6 -7
  45. package/dist/{index-DOm338WG.js → index-BXFfc1qh.js} +17691 -15765
  46. package/dist/info-46DW6VJ7-QBUrqpM0-D7DXfBfh.js +5 -0
  47. package/dist/{infoDiagram-7APDZ6AT-BfwYrYzT-Dmsve8VX.js → infoDiagram-P5D6MX3V-CthsN8fk-ju-grajk.js} +2 -2
  48. package/dist/{ini-CgO4T9Us-CgO4T9Us.js → ini-BUcvsX-U-BUcvsX-U.js} +1 -2
  49. package/dist/{java-Bd9vXGhZ-Bd9vXGhZ.js → java-Dg4kxH6C-Dg4kxH6C.js} +1 -2
  50. package/dist/{javascript-CGvwHrzr-CGvwHrzr.js → javascript-CipAzIn1-CipAzIn1.js} +1 -2
  51. package/dist/{journeyDiagram-G5LC7W2K-CG7eqOA2-BR-Kjflm.js → journeyDiagram-UIGPPNLY-CB1xWSVF-CnOTIXjT.js} +3 -3
  52. package/dist/{json-B86kHl_g-B86kHl_g.js → json-_04EL6MS-_04EL6MS.js} +1 -2
  53. package/dist/{json5-GB6TimgH-GB6TimgH.js → json5-Dwmp5XFI-Dwmp5XFI.js} +1 -2
  54. package/dist/{jsonc-CP3QVoXc-CP3QVoXc.js → jsonc-LqD5auy0-LqD5auy0.js} +1 -2
  55. package/dist/{jsonl-C2ofTLY8-C2ofTLY8.js → jsonl-B4yVuYQH-B4yVuYQH.js} +1 -2
  56. package/dist/{jsx-ZpKf1TSy-ZpKf1TSy.js → jsx-Mg4WaD5k-Mg4WaD5k.js} +1 -2
  57. package/dist/kanban-definition-KMT3NSR2-B76JZ_Kx-BuaYPyou.js +718 -0
  58. package/dist/{kotlin-CAtfTEpr-CAtfTEpr.js → kotlin-B-KtFKnZ-B-KtFKnZ.js} +1 -2
  59. package/dist/latex-4X1wferq-jnM3V2Lk.js +11 -0
  60. package/dist/layout-mwnMvyc4-B2PmGvWD.js +1321 -0
  61. package/dist/{less-0UFuQRv0-0UFuQRv0.js → less-BBvTHIGe-BBvTHIGe.js} +1 -2
  62. package/dist/{linear-K1FWf0tW-rovEi7Ez.js → linear-XztDb0hj-RsuwoFLQ.js} +46 -46
  63. package/dist/{liquid-Uq0DwV7I-CRvdDbph.js → liquid-CY_eqGhE-8pvFZkT3.js} +6 -7
  64. package/dist/{lua-BEgWEgjO-DU5YUtUR.js → lua-BePGDS3E-DZBHNWZI.js} +2 -3
  65. package/dist/{make-BDMxblcP-BDMxblcP.js → make-zNwjDE2P-zNwjDE2P.js} +1 -2
  66. package/dist/{markdown-CzCkSBhS-CzCkSBhS.js → markdown-DAXqtk9a-DAXqtk9a.js} +1 -2
  67. package/dist/material-theme-lighter-BUBw43Yz-BUBw43Yz.js +4 -0
  68. package/dist/material-theme-palenight-C1RVm8K1-C1RVm8K1.js +4 -0
  69. package/dist/{mdc-BA3wmBe6-BAlBXF37.js → mdc-BAm7rFbW-CB-Ca4M0.js} +4 -5
  70. package/dist/{mdx-KaGu4TbO-KaGu4TbO.js → mdx-CSCKbb_f-CSCKbb_f.js} +1 -2
  71. package/dist/{mermaid-DZVJOJE0-DZVJOJE0.js → mermaid-nGb_yn9n-nGb_yn9n.js} +1 -2
  72. package/dist/{mermaid-parser.core-Cj_oowsS-VsEYt1Nc.js → mermaid-parser.core-C4mt_cFi-BuaZi6gx.js} +9 -9
  73. package/dist/{mindmap-definition-FCEC46F3-CAlFsP0h-CZf0v8Pe.js → mindmap-definition-R7LC4OIY-Cg3Nsctr-BcCPx65V.js} +1 -1
  74. package/dist/{nginx-zxRCFE-h-BypGKuox.js → nginx-QOAv2a_a-BWrsIdI1.js} +2 -3
  75. package/dist/{objective-c-D6w3apbj-D6w3apbj.js → objective-c-CEDFCaSx-CEDFCaSx.js} +1 -2
  76. package/dist/packet-W2GHVCYJ-BJGXYVlB-DlnQVVmK.js +5 -0
  77. package/dist/{pascal-DenYIYz2-DenYIYz2.js → pascal-l2bqd7Dz-l2bqd7Dz.js} +1 -2
  78. package/dist/{perl-D3yLJL---Dh53Z1Ch.js → perl-CB2Uc-Hf-ZBolre2-.js} +6 -7
  79. package/dist/{php-CotrzT_K-Bao4rTV9.js → php-B_-4RJ09-CJdubCs6.js} +7 -8
  80. package/dist/pie-BEWT4RHE-XO1bTOj2-DEYSeXSg.js +5 -0
  81. package/dist/{pieDiagram-OZX6XH5M-H8rUXph8-BISJ3i9V.js → pieDiagram-BLWKPB35-Bs5Iyn_g-CnOiPji_.js} +27 -27
  82. package/dist/{plsql-DH6aemMc-DH6aemMc.js → plsql-oVq_K_wH-oVq_K_wH.js} +1 -2
  83. package/dist/{postcss-Cf6moWPa-Cf6moWPa.js → postcss-SJfTvo_B-SJfTvo_B.js} +1 -2
  84. package/dist/{powershell-HbR4eE6x-HbR4eE6x.js → powershell-BEOw57rb-BEOw57rb.js} +1 -2
  85. package/dist/{proto-FnD6HNAf-FnD6HNAf.js → proto-BWZ41ClP-BWZ41ClP.js} +1 -2
  86. package/dist/{pug-BQlVJUDw-CHRWHsZp.js → pug-3q2tx0nf-DGKx19t7.js} +6 -15
  87. package/dist/{python-DmuMvCM0-DmuMvCM0.js → python-Dpup1-fE-Dpup1-fE.js} +1 -2
  88. package/dist/{quadrantDiagram-VG34DGKC-BEwF7VGA-DIV2JaGU.js → quadrantDiagram-QXWEEFXS-n8j7IqmF-CloVXY0U.js} +16 -16
  89. package/dist/{r-Bc6kwNk5-Bc6kwNk5.js → r-Chyv38Fv-Chyv38Fv.js} +1 -2
  90. package/dist/{reg-D7nGELoM-D7nGELoM.js → reg-CD53Yasp-CD53Yasp.js} +1 -2
  91. package/dist/{requirementDiagram-FPZB6IJI-kQtxPQXX-CmRUwQe6.js → requirementDiagram-XAUNFCZY-DI_Pyl2h-D8hqXle2.js} +20 -20
  92. package/dist/rst-Euaf_RMd-B96mCjUw.js +40 -0
  93. package/dist/{ruby-DeHccIAO-BcoQ2TvH.js → ruby-CsHI6ozR-BrDG5TRv.js} +9 -10
  94. package/dist/{rust-DUjrmsiV-DUjrmsiV.js → rust-C6uk_0pe-C6uk_0pe.js} +1 -2
  95. package/dist/{sankeyDiagram-KMMQDL5K-i1hmlnC3-C4FQplTB.js → sankeyDiagram-LVV36NHA-Bei7yBJl-DvbyWSci.js} +1 -1
  96. package/dist/sass-p2RMoqDT-p2RMoqDT.js +6 -0
  97. package/dist/{scss-CnxrcEK_-CATc0Lba.js → scss-DmlHSoOY-y80_J0a4.js} +2 -3
  98. package/dist/{sequenceDiagram-PQT5PN7B-CnJbbAPa-BB0ILzU7.js → sequenceDiagram-D25TJ2OB-NAPdhBbI-DQR1b0UZ.js} +21 -21
  99. package/dist/{shellscript-CLi_Jlup-CLi_Jlup.js → shellscript-CZpPN8_x-CZpPN8_x.js} +1 -2
  100. package/dist/{shellsession-BgOGDEE0-D_whUPK9.js → shellsession-B-Ndr_EN-JFzqxELg.js} +3 -4
  101. package/dist/{splunk-ZWH3T4YR-ZWH3T4YR.js → splunk-D2FIaQ3k-D2FIaQ3k.js} +1 -2
  102. package/dist/{sql-CqEjJWk_-CqEjJWk_.js → sql-DtlkUz2m-DtlkUz2m.js} +1 -2
  103. package/dist/{ssh-config-cxjN15Iq-cxjN15Iq.js → ssh-config-D5GRD_Np-D5GRD_Np.js} +1 -2
  104. package/dist/{stateDiagram-TQSDS2D4-C4igPbE8-D-CdRaHA.js → stateDiagram-GNSP7T6Y-Dzq9j0YG-BgVCaCOx.js} +14 -15
  105. package/dist/{stateDiagram-v2-J5TZWJW5-DAq6KSAM-O6I-IpUw.js → stateDiagram-v2-HP6YRVRG-Jl4ubGlG-BeMvcZLQ.js} +2 -3
  106. package/dist/{stylus-BqSAqkqK-BqSAqkqK.js → stylus-DEr8eSLm-DEr8eSLm.js} +1 -2
  107. package/dist/{svelte-Yn79bR_P-TdNy3USA.js → svelte-BRIJF62h-BI1AT0iL.js} +7 -22
  108. package/dist/{swift-Cii5mold-Cii5mold.js → swift-B9svdVyc-B9svdVyc.js} +1 -2
  109. package/dist/{timeline-definition-KYQAIZUX-DQEkDwlz-BcdRcAgF.js → timeline-definition-27KQCCZ3-Dyj-cUhB-cBpLcB_z.js} +91 -91
  110. package/dist/{toml-BrnHWKvZ-BrnHWKvZ.js → toml-C3Ja0Ta7-C3Ja0Ta7.js} +1 -2
  111. package/dist/{tsx-RDJgLpEg-RDJgLpEg.js → tsx-DTfbgJxi-DTfbgJxi.js} +1 -2
  112. package/dist/{twig-CyzrzZ6V-CLfeQShi.js → twig-DkDTNtrS-jo7aVWBG.js} +7 -8
  113. package/dist/{typescript-BRQxorCF-BRQxorCF.js → typescript-CCd4aQHh-CCd4aQHh.js} +1 -2
  114. package/dist/{v-CBsEUX4x-CBsEUX4x.js → v-DectkoIj-DectkoIj.js} +1 -2
  115. package/dist/{vb-BCQhaxZY-BCQhaxZY.js → vb-3pua_tRu-3pua_tRu.js} +1 -2
  116. package/dist/{viml-DUDcfQ_j-DUDcfQ_j.js → viml-CJHUchaf-CJHUchaf.js} +1 -2
  117. package/dist/vue-CY-KyffX-BnjPeHxm.js +31 -0
  118. package/dist/{vue-html-DkB4x9kz-BBbMk49e.js → vue-html-C0fH2sQy-Da7Je-I4.js} +3 -4
  119. package/dist/{wasm-KuMlursr-KuMlursr.js → wasm-VDIDph3E-VDIDph3E.js} +1 -2
  120. package/dist/{wgsl-CXztftdQ-CXztftdQ.js → wgsl-2np_U3Z8-2np_U3Z8.js} +1 -2
  121. package/dist/{xml-D46nbCSr-BYMRGyuH.js → xml-CNyphW9R-DycLHq-n.js} +2 -3
  122. package/dist/{xsl--U1R63rG-D8P_gDHK.js → xsl-C2K1QB6X-B3b1KJxQ.js} +2 -3
  123. package/dist/{xychartDiagram-LESROZAQ-tgQhgg2Q-CUZY_ot8.js → xychartDiagram-MYLB5AYS-Bc_nZcHL-YLCG5NJT.js} +2 -2
  124. package/dist/{yaml-BEQ1JqWb-BEQ1JqWb.js → yaml-DxFiVFcM-DxFiVFcM.js} +1 -2
  125. package/package.json +6 -6
  126. package/dist/_basePickBy-CU0TiV13-B2lcN6Xi.js +0 -143
  127. package/dist/_baseUniq-BAMfE4xp-BAs-gBgZ.js +0 -622
  128. package/dist/arc-Cof8I1nv-BEpAvsYw.js +0 -83
  129. package/dist/architecture-I3QFYML2-CRA_auFu-BOYIKY2S.js +0 -5
  130. package/dist/blockDiagram-EN3ZKWFM-CYnZx-IR-Bl0aimgG.js +0 -1232
  131. package/dist/chunk-BAVOGKFW-B_i9W0mu-aXYqnut5.js +0 -1092
  132. package/dist/chunk-UGV5ZQQN-lwe0VAyX-BkOr8rah.js +0 -254
  133. package/dist/chunk-YWFND7JV-r0DobNSv-Qk_ESE3G.js +0 -786
  134. package/dist/classDiagram-4BHYIK4I-qYBSssh--DFvW-YgH.js +0 -214
  135. package/dist/classDiagram-v2-FI7KE7WJ-BIgDAZfE-NPVjR0Sp.js +0 -545
  136. package/dist/coffee-CiEmwUV9-D5Oe8742.js +0 -9
  137. package/dist/cpp-BphENtVr-DqhLnmUg.js +0 -29
  138. package/dist/dagre-P3YPLUS5-Bfaw7Bo9-DPdf44wL.js +0 -421
  139. package/dist/flowDiagram-JSIZSE4D-CEhJC-5_-DHjVPCad.js +0 -1380
  140. package/dist/gitGraph-YCYPL57B-DfH87xvl-DsibXYdp.js +0 -5
  141. package/dist/info-46DW6VJ7-DuNWYdzn-PVj3kKJm.js +0 -5
  142. package/dist/json-aDA71_xz-DxdQPLBu.js +0 -31
  143. package/dist/latex-14aRsJKm-mj9Fild6.js +0 -62
  144. package/dist/layout-BrqICqM--CUdWjnyz.js +0 -1381
  145. package/dist/material-theme-lighter-CnKSyNS5-CnKSyNS5.js +0 -4
  146. package/dist/material-theme-palenight-BaYUoLXq-BaYUoLXq.js +0 -4
  147. package/dist/packet-W2GHVCYJ-DL_sFpED-q6WAtxyK.js +0 -5
  148. package/dist/pie-BEWT4RHE-DM_nCoZ3-D0wjXv38.js +0 -5
  149. package/dist/rst-CaIq10fc-5Y1LeNh2.js +0 -26
  150. package/dist/sass-CLufkToV-CLufkToV.js +0 -7
  151. package/dist/vue-DNFIPpe6-BpXPyld-.js +0 -68
@@ -1,545 +0,0 @@
1
- import { a as ee, r as te, e as ne, n as re, s as ie } from "./chunk-UGV5ZQQN-lwe0VAyX-BkOr8rah.js";
2
- import { j as ae, Q as A, X as oe } from "./chunk-BAVOGKFW-B_i9W0mu-aXYqnut5.js";
3
- import { $ as se, w as de, W as le, O as ce, U as M, R as P, p as O } from "./chunk-YWFND7JV-r0DobNSv-Qk_ESE3G.js";
4
- import { _ as f, l as i, g as b, af as C, an as he, bl as ge, bm as F, bn as _, bo as j, ap as fe, ab as W, e as G, at as B, aw as ue } from "./index-DOm338WG.js";
5
- import { D as H } from "./graph-DTNue1bF-BLqDvS-5.js";
6
- import { o as pe } from "./layout-BrqICqM--CUdWjnyz.js";
7
- import { v as x } from "./json-aDA71_xz-DxdQPLBu.js";
8
- var g = {}, m = {}, Q = {}, we = /* @__PURE__ */ f(() => {
9
- m = {}, Q = {}, g = {};
10
- }, "clear"), L = /* @__PURE__ */ f((t, e) => (i.trace("In isDescendant", e, " ", t, " = ", m[e].includes(t)), !!m[e].includes(t)), "isDescendant"), ye = /* @__PURE__ */ f((t, e) => (i.info("Descendants of ", e, " is ", m[e]), i.info("Edge is ", t), t.v === e || t.w === e ? !1 : m[e] ? m[e].includes(t.v) || L(t.v, e) || L(t.w, e) || m[e].includes(t.w) : (i.debug("Tilt, ", e, ",not in descendants"), !1)), "edgeInCluster"), U = /* @__PURE__ */ f((t, e, n, s) => {
11
- i.warn(
12
- "Copying children of ",
13
- t,
14
- "root",
15
- s,
16
- "data",
17
- e.node(t),
18
- s
19
- );
20
- const r = e.children(t) || [];
21
- t !== s && r.push(t), i.warn("Copying (nodes) clusterId", t, "nodes", r), r.forEach((o) => {
22
- if (e.children(o).length > 0)
23
- U(o, e, n, s);
24
- else {
25
- const a = e.node(o);
26
- i.info("cp ", o, " to ", s, " with parent ", t), n.setNode(o, a), s !== e.parent(o) && (i.warn("Setting parent", o, e.parent(o)), n.setParent(o, e.parent(o))), t !== s && o !== t ? (i.debug("Setting parent", o, t), n.setParent(o, t)) : (i.info("In copy ", t, "root", s, "data", e.node(t), s), i.debug(
27
- "Not Setting parent for node=",
28
- o,
29
- "cluster!==rootId",
30
- t !== s,
31
- "node!==clusterId",
32
- o !== t
33
- ));
34
- const h = e.edges(o);
35
- i.debug("Copying Edges", h), h.forEach((d) => {
36
- i.info("Edge", d);
37
- const u = e.edge(d.v, d.w, d.name);
38
- i.info("Edge data", u, s);
39
- try {
40
- ye(d, s) ? (i.info("Copying as ", d.v, d.w, u, d.name), n.setEdge(d.v, d.w, u, d.name), i.info("newGraph edges ", n.edges(), n.edge(n.edges()[0]))) : i.info(
41
- "Skipping copy of edge ",
42
- d.v,
43
- "-->",
44
- d.w,
45
- " rootId: ",
46
- s,
47
- " clusterId:",
48
- t
49
- );
50
- } catch (w) {
51
- i.error(w);
52
- }
53
- });
54
- }
55
- i.debug("Removing node", o), e.removeNode(o);
56
- });
57
- }, "copy"), z = /* @__PURE__ */ f((t, e) => {
58
- const n = e.children(t);
59
- let s = [...n];
60
- for (const r of n)
61
- Q[r] = t, s = [...s, ...z(r, e)];
62
- return s;
63
- }, "extractDescendants"), X = /* @__PURE__ */ f((t, e) => {
64
- i.trace("Searching", t);
65
- const n = e.children(t);
66
- if (i.trace("Searching children of id ", t, n), n.length < 1)
67
- return i.trace("This is a valid node", t), t;
68
- for (const s of n) {
69
- const r = X(s, e);
70
- if (r)
71
- return i.trace("Found replacement for", t, " => ", r), r;
72
- }
73
- }, "findNonClusterChild"), D = /* @__PURE__ */ f((t) => !g[t] || !g[t].externalConnections ? t : g[t] ? g[t].id : t, "getAnchorId"), be = /* @__PURE__ */ f((t, e) => {
74
- if (!t || e > 10) {
75
- i.debug("Opting out, no graph ");
76
- return;
77
- } else
78
- i.debug("Opting in, graph ");
79
- t.nodes().forEach(function(n) {
80
- t.children(n).length > 0 && (i.warn(
81
- "Cluster identified",
82
- n,
83
- " Replacement id in edges: ",
84
- X(n, t)
85
- ), m[n] = z(n, t), g[n] = { id: X(n, t), clusterData: t.node(n) });
86
- }), t.nodes().forEach(function(n) {
87
- const s = t.children(n), r = t.edges();
88
- s.length > 0 ? (i.debug("Cluster identified", n, m), r.forEach((o) => {
89
- if (o.v !== n && o.w !== n) {
90
- const a = L(o.v, n), h = L(o.w, n);
91
- a ^ h && (i.warn("Edge: ", o, " leaves cluster ", n), i.warn("Descendants of XXX ", n, ": ", m[n]), g[n].externalConnections = !0);
92
- }
93
- })) : i.debug("Not a cluster ", n, m);
94
- });
95
- for (let n of Object.keys(g)) {
96
- const s = g[n].id, r = t.parent(s);
97
- r !== n && g[r] && !g[r].externalConnections && (g[n].id = r);
98
- }
99
- t.edges().forEach(function(n) {
100
- const s = t.edge(n);
101
- i.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(n)), i.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(t.edge(n)));
102
- let r = n.v, o = n.w;
103
- if (i.warn(
104
- "Fix XXX",
105
- g,
106
- "ids:",
107
- n.v,
108
- n.w,
109
- "Translating: ",
110
- g[n.v],
111
- " --- ",
112
- g[n.w]
113
- ), g[n.v] && g[n.w] && g[n.v] === g[n.w]) {
114
- i.warn("Fixing and trixing link to self - removing XXX", n.v, n.w, n.name), i.warn("Fixing and trixing - removing XXX", n.v, n.w, n.name), r = D(n.v), o = D(n.w), t.removeEdge(n.v, n.w, n.name);
115
- const a = n.w + "---" + n.v;
116
- t.setNode(a, {
117
- domId: a,
118
- id: a,
119
- labelStyle: "",
120
- labelText: s.label,
121
- padding: 0,
122
- shape: "labelRect",
123
- style: ""
124
- });
125
- const h = structuredClone(s), d = structuredClone(s);
126
- h.label = "", h.arrowTypeEnd = "none", d.label = "", h.fromCluster = n.v, d.toCluster = n.v, t.setEdge(r, a, h, n.name + "-cyclic-special"), t.setEdge(a, o, d, n.name + "-cyclic-special");
127
- } else if (g[n.v] || g[n.w]) {
128
- if (i.warn("Fixing and trixing - removing XXX", n.v, n.w, n.name), r = D(n.v), o = D(n.w), t.removeEdge(n.v, n.w, n.name), r !== n.v) {
129
- const a = t.parent(r);
130
- g[a].externalConnections = !0, s.fromCluster = n.v;
131
- }
132
- if (o !== n.w) {
133
- const a = t.parent(o);
134
- g[a].externalConnections = !0, s.toCluster = n.w;
135
- }
136
- i.warn("Fix Replacing with XXX", r, o, n.name), t.setEdge(r, o, s, n.name);
137
- }
138
- }), i.warn("Adjusted Graph", x(t)), V(t, 0), i.trace(g);
139
- }, "adjustClustersAndEdges"), V = /* @__PURE__ */ f((t, e) => {
140
- var n, s;
141
- if (i.warn("extractor - ", e, x(t), t.children("D")), e > 10) {
142
- i.error("Bailing out");
143
- return;
144
- }
145
- let r = t.nodes(), o = !1;
146
- for (const a of r) {
147
- const h = t.children(a);
148
- o = o || h.length > 0;
149
- }
150
- if (!o) {
151
- i.debug("Done, no node has children", t.nodes());
152
- return;
153
- }
154
- i.debug("Nodes = ", r, e);
155
- for (const a of r)
156
- if (i.debug(
157
- "Extracting node",
158
- a,
159
- g,
160
- g[a] && !g[a].externalConnections,
161
- !t.parent(a),
162
- t.node(a),
163
- t.children("D"),
164
- " Depth ",
165
- e
166
- ), !g[a])
167
- i.debug("Not a cluster", a, e);
168
- else if (!g[a].externalConnections && // !graph.parent(node) &&
169
- t.children(a) && t.children(a).length > 0) {
170
- i.warn(
171
- "Cluster without external connections, without a parent and with children",
172
- a,
173
- e
174
- );
175
- let h = t.graph().rankdir === "TB" ? "LR" : "TB";
176
- (s = (n = g[a]) == null ? void 0 : n.clusterData) != null && s.dir && (h = g[a].clusterData.dir, i.warn("Fixing dir", g[a].clusterData.dir, h));
177
- const d = new H({
178
- multigraph: !0,
179
- compound: !0
180
- }).setGraph({
181
- rankdir: h,
182
- // Todo: set proper spacing
183
- nodesep: 50,
184
- ranksep: 50,
185
- marginx: 8,
186
- marginy: 8
187
- }).setDefaultEdgeLabel(function() {
188
- return {};
189
- });
190
- i.warn("Old graph before copy", x(t)), U(a, t, d, a), t.setNode(a, {
191
- clusterNode: !0,
192
- id: a,
193
- clusterData: g[a].clusterData,
194
- labelText: g[a].labelText,
195
- graph: d
196
- }), i.warn("New graph after copy node: (", a, ")", x(d)), i.debug("Old graph after copy", x(t));
197
- } else
198
- i.warn(
199
- "Cluster ** ",
200
- a,
201
- " **not meeting the criteria !externalConnections:",
202
- !g[a].externalConnections,
203
- " no parent: ",
204
- !t.parent(a),
205
- " children ",
206
- t.children(a) && t.children(a).length > 0,
207
- t.children("D"),
208
- e
209
- ), i.debug(g);
210
- r = t.nodes(), i.warn("New list of nodes", r);
211
- for (const a of r) {
212
- const h = t.node(a);
213
- i.warn(" Now next level", a, h), h.clusterNode && V(h.graph, e + 1);
214
- }
215
- }, "extractor"), q = /* @__PURE__ */ f((t, e) => {
216
- if (e.length === 0)
217
- return [];
218
- let n = Object.assign(e);
219
- return e.forEach((s) => {
220
- const r = t.children(s), o = q(t, r);
221
- n = [...n, ...o];
222
- }), n;
223
- }, "sorter"), ve = /* @__PURE__ */ f((t) => q(t, t.children()), "sortNodesByHierarchy"), me = /* @__PURE__ */ f((t, e) => {
224
- i.info("Creating subgraph rect for ", e.id, e);
225
- const n = b(), s = t.insert("g").attr("class", "cluster" + (e.class ? " " + e.class : "")).attr("id", e.id), r = s.insert("rect", ":first-child"), o = B(n.flowchart.htmlLabels), a = s.insert("g").attr("class", "cluster-label"), h = e.labelType === "markdown" ? ue(a, e.labelText, { style: e.labelStyle, useHtmlLabels: o }, n) : a.node().appendChild(P(e.labelText, e.labelStyle, void 0, !0));
226
- let d = h.getBBox();
227
- if (B(n.flowchart.htmlLabels)) {
228
- const l = h.children[0], c = C(h);
229
- d = l.getBoundingClientRect(), c.attr("width", d.width), c.attr("height", d.height);
230
- }
231
- const u = 0 * e.padding, w = u / 2, p = e.width <= d.width + u ? d.width + u : e.width;
232
- e.width <= d.width + u ? e.diff = (d.width - e.width) / 2 - e.padding / 2 : e.diff = -e.padding / 2, i.trace("Data ", e, JSON.stringify(e)), r.attr("style", e.style).attr("rx", e.rx).attr("ry", e.ry).attr("x", e.x - p / 2).attr("y", e.y - e.height / 2 - w).attr("width", p).attr("height", e.height + u);
233
- const { subGraphTitleTopMargin: v } = G(n);
234
- o ? a.attr(
235
- "transform",
236
- // This puts the label on top of the box instead of inside it
237
- `translate(${e.x - d.width / 2}, ${e.y - e.height / 2 + v})`
238
- ) : a.attr(
239
- "transform",
240
- // This puts the label on top of the box instead of inside it
241
- `translate(${e.x}, ${e.y - e.height / 2 + v})`
242
- );
243
- const y = r.node().getBBox();
244
- return e.width = y.width, e.height = y.height, e.intersect = function(l) {
245
- return O(e, l);
246
- }, s;
247
- }, "rect"), xe = /* @__PURE__ */ f((t, e) => {
248
- const n = t.insert("g").attr("class", "note-cluster").attr("id", e.id), s = n.insert("rect", ":first-child"), r = 0 * e.padding, o = r / 2;
249
- s.attr("rx", e.rx).attr("ry", e.ry).attr("x", e.x - e.width / 2 - o).attr("y", e.y - e.height / 2 - o).attr("width", e.width + r).attr("height", e.height + r).attr("fill", "none");
250
- const a = s.node().getBBox();
251
- return e.width = a.width, e.height = a.height, e.intersect = function(h) {
252
- return O(e, h);
253
- }, n;
254
- }, "noteGroup"), Ne = /* @__PURE__ */ f((t, e) => {
255
- const n = b(), s = t.insert("g").attr("class", e.classes).attr("id", e.id), r = s.insert("rect", ":first-child"), o = s.insert("g").attr("class", "cluster-label"), a = s.append("rect"), h = o.node().appendChild(P(e.labelText, e.labelStyle, void 0, !0));
256
- let d = h.getBBox();
257
- if (B(n.flowchart.htmlLabels)) {
258
- const l = h.children[0], c = C(h);
259
- d = l.getBoundingClientRect(), c.attr("width", d.width), c.attr("height", d.height);
260
- }
261
- d = h.getBBox();
262
- const u = 0 * e.padding, w = u / 2, p = e.width <= d.width + e.padding ? d.width + e.padding : e.width;
263
- e.width <= d.width + e.padding ? e.diff = (d.width + e.padding * 0 - e.width) / 2 : e.diff = -e.padding / 2, r.attr("class", "outer").attr("x", e.x - p / 2 - w).attr("y", e.y - e.height / 2 - w).attr("width", p + u).attr("height", e.height + u), a.attr("class", "inner").attr("x", e.x - p / 2 - w).attr("y", e.y - e.height / 2 - w + d.height - 1).attr("width", p + u).attr("height", e.height + u - d.height - 3);
264
- const { subGraphTitleTopMargin: v } = G(n);
265
- o.attr(
266
- "transform",
267
- `translate(${e.x - d.width / 2}, ${e.y - e.height / 2 - e.padding / 3 + (B(n.flowchart.htmlLabels) ? 5 : 3) + v})`
268
- );
269
- const y = r.node().getBBox();
270
- return e.height = y.height, e.intersect = function(l) {
271
- return O(e, l);
272
- }, s;
273
- }, "roundedWithTitle"), Se = /* @__PURE__ */ f((t, e) => {
274
- const n = t.insert("g").attr("class", e.classes).attr("id", e.id), s = n.insert("rect", ":first-child"), r = 0 * e.padding, o = r / 2;
275
- s.attr("class", "divider").attr("x", e.x - e.width / 2 - o).attr("y", e.y - e.height / 2).attr("width", e.width + r).attr("height", e.height + r);
276
- const a = s.node().getBBox();
277
- return e.width = a.width, e.height = a.height, e.diff = -e.padding / 2, e.intersect = function(h) {
278
- return O(e, h);
279
- }, n;
280
- }, "divider"), Ee = { rect: me, roundedWithTitle: Ne, noteGroup: xe, divider: Se }, K = {}, Te = /* @__PURE__ */ f((t, e) => {
281
- i.trace("Inserting cluster");
282
- const n = e.shape || "rect";
283
- K[e.id] = Ee[n](t, e);
284
- }, "insertCluster"), Ce = /* @__PURE__ */ f(() => {
285
- K = {};
286
- }, "clear"), Y = /* @__PURE__ */ f(async (t, e, n, s, r, o) => {
287
- i.info("Graph in recursive render: XXX", x(e), r);
288
- const a = e.graph().rankdir;
289
- i.trace("Dir in recursive render - dir:", a);
290
- const h = t.insert("g").attr("class", "root");
291
- e.nodes() ? i.info("Recursive render XXX", e.nodes()) : i.info("No nodes found for", e), e.edges().length > 0 && i.trace("Recursive edges", e.edge(e.edges()[0]));
292
- const d = h.insert("g").attr("class", "clusters"), u = h.insert("g").attr("class", "edgePaths"), w = h.insert("g").attr("class", "edgeLabels"), p = h.insert("g").attr("class", "nodes");
293
- await Promise.all(
294
- e.nodes().map(async function(l) {
295
- const c = e.node(l);
296
- if (r !== void 0) {
297
- const N = JSON.parse(JSON.stringify(r.clusterData));
298
- i.info("Setting data for cluster XXX (", l, ") ", N, r), e.setNode(r.id, N), e.parent(l) || (i.trace("Setting parent", l, r.id), e.setParent(l, r.id, N));
299
- }
300
- if (i.info("(Insert) Node XXX" + l + ": " + JSON.stringify(e.node(l))), c != null && c.clusterNode) {
301
- i.info("Cluster identified", l, c.width, e.node(l));
302
- const { ranksep: N, nodesep: E } = e.graph();
303
- c.graph.setGraph({
304
- ...c.graph.graph(),
305
- ranksep: N,
306
- nodesep: E
307
- });
308
- const k = await Y(
309
- p,
310
- c.graph,
311
- n,
312
- s,
313
- e.node(l),
314
- o
315
- ), S = k.elem;
316
- de(c, S), c.diff = k.diff || 0, i.info("Node bounds (abc123)", l, c, c.width, c.x, c.y), le(S, c), i.warn("Recursive render complete ", S, c);
317
- } else
318
- e.children(l).length > 0 ? (i.info("Cluster - the non recursive path XXX", l, c.id, c, e), i.info(X(c.id, e)), g[c.id] = { id: X(c.id, e), node: c }) : (i.info("Node - the non recursive path", l, c.id, c), await ce(p, e.node(l), a));
319
- })
320
- ), e.edges().forEach(async function(l) {
321
- const c = e.edge(l.v, l.w, l.name);
322
- i.info("Edge " + l.v + " -> " + l.w + ": " + JSON.stringify(l)), i.info("Edge " + l.v + " -> " + l.w + ": ", l, " ", JSON.stringify(e.edge(l))), i.info("Fix", g, "ids:", l.v, l.w, "Translating: ", g[l.v], g[l.w]), await ne(w, c);
323
- }), e.edges().forEach(function(l) {
324
- i.info("Edge " + l.v + " -> " + l.w + ": " + JSON.stringify(l));
325
- }), i.info("Graph before layout:", JSON.stringify(x(e))), i.info("#############################################"), i.info("### Layout ###"), i.info("#############################################"), i.info(e), pe(e), i.info("Graph after layout:", JSON.stringify(x(e)));
326
- let v = 0;
327
- const { subGraphTitleTotalMargin: y } = G(o);
328
- return ve(e).forEach(function(l) {
329
- const c = e.node(l);
330
- i.info("Position " + l + ": " + JSON.stringify(e.node(l))), i.info(
331
- "Position " + l + ": (" + c.x,
332
- "," + c.y,
333
- ") width: ",
334
- c.width,
335
- " height: ",
336
- c.height
337
- ), c != null && c.clusterNode ? (c.y += y, M(c)) : e.children(l).length > 0 ? (c.height += y, Te(d, c), g[c.id].node = c) : (c.y += y / 2, M(c));
338
- }), e.edges().forEach(function(l) {
339
- const c = e.edge(l);
340
- i.info("Edge " + l.v + " -> " + l.w + ": " + JSON.stringify(c), c), c.points.forEach((E) => E.y += y / 2);
341
- const N = re(u, l, c, g, n, e, s);
342
- ie(c, N);
343
- }), e.nodes().forEach(function(l) {
344
- const c = e.node(l);
345
- i.info(l, c.type, c.diff), c.type === "group" && (v = c.diff);
346
- }), { elem: h, diff: v };
347
- }, "recursiveRender"), Xe = /* @__PURE__ */ f(async (t, e, n, s, r) => {
348
- ee(t, n, s, r), se(), te(), Ce(), we(), i.warn("Graph at first:", JSON.stringify(x(e))), be(e), i.warn("Graph after:", JSON.stringify(x(e)));
349
- const o = b();
350
- await Y(t, e, s, r, void 0, o);
351
- }, "render"), J = /* @__PURE__ */ f((t) => W.sanitizeText(t, b()), "sanitizeText"), I = {
352
- dividerMargin: 10,
353
- padding: 5,
354
- textHeight: 10,
355
- curve: void 0
356
- }, ke = /* @__PURE__ */ f(function(t, e, n, s) {
357
- i.info("keys:", [...t.keys()]), i.info(t), t.forEach(function(r) {
358
- var o, a;
359
- const h = {
360
- shape: "rect",
361
- id: r.id,
362
- domId: r.domId,
363
- labelText: J(r.id),
364
- labelStyle: "",
365
- style: "fill: none; stroke: black",
366
- // TODO V10: Flowchart ? Keeping flowchart for backwards compatibility. Remove in next major release
367
- padding: ((o = b().flowchart) == null ? void 0 : o.padding) ?? ((a = b().class) == null ? void 0 : a.padding)
368
- };
369
- e.setNode(r.id, h), Z(r.classes, e, n, s, r.id), i.info("setNode", h);
370
- });
371
- }, "addNamespaces"), Z = /* @__PURE__ */ f(function(t, e, n, s, r) {
372
- i.info("keys:", [...t.keys()]), i.info(t), [...t.values()].filter((o) => o.parent === r).forEach(function(o) {
373
- var a, h;
374
- const d = o.cssClasses.join(" "), u = F(o.styles), w = o.label ?? o.id, p = 0, v = {
375
- labelStyle: u.labelStyle,
376
- shape: "class_box",
377
- labelText: J(w),
378
- classData: o,
379
- rx: p,
380
- ry: p,
381
- class: d,
382
- style: u.style,
383
- id: o.id,
384
- domId: o.domId,
385
- tooltip: s.db.getTooltip(o.id, r) || "",
386
- haveCallback: o.haveCallback,
387
- link: o.link,
388
- width: o.type === "group" ? 500 : void 0,
389
- type: o.type,
390
- // TODO V10: Flowchart ? Keeping flowchart for backwards compatibility. Remove in next major release
391
- padding: ((a = b().flowchart) == null ? void 0 : a.padding) ?? ((h = b().class) == null ? void 0 : h.padding)
392
- };
393
- e.setNode(o.id, v), r && e.setParent(o.id, r), i.info("setNode", v);
394
- });
395
- }, "addClasses"), De = /* @__PURE__ */ f(function(t, e, n, s) {
396
- i.info(t), t.forEach(function(r, o) {
397
- var a, h;
398
- const d = r, u = "", w = { labelStyle: "", style: "" }, p = d.text, v = 0, y = {
399
- labelStyle: w.labelStyle,
400
- shape: "note",
401
- labelText: J(p),
402
- noteData: d,
403
- rx: v,
404
- ry: v,
405
- class: u,
406
- style: w.style,
407
- id: d.id,
408
- domId: d.id,
409
- tooltip: "",
410
- type: "note",
411
- // TODO V10: Flowchart ? Keeping flowchart for backwards compatibility. Remove in next major release
412
- padding: ((a = b().flowchart) == null ? void 0 : a.padding) ?? ((h = b().class) == null ? void 0 : h.padding)
413
- };
414
- if (e.setNode(d.id, y), i.info("setNode", y), !d.class || !s.has(d.class))
415
- return;
416
- const l = n + o, c = {
417
- id: `edgeNote${l}`,
418
- //Set relationship style and line type
419
- classes: "relation",
420
- pattern: "dotted",
421
- // Set link type for rendering
422
- arrowhead: "none",
423
- //Set edge extra labels
424
- startLabelRight: "",
425
- endLabelLeft: "",
426
- //Set relation arrow types
427
- arrowTypeStart: "none",
428
- arrowTypeEnd: "none",
429
- style: "fill:none",
430
- labelStyle: "",
431
- curve: _(I.curve, j)
432
- };
433
- e.setEdge(d.id, d.class, c, l);
434
- });
435
- }, "addNotes"), Be = /* @__PURE__ */ f(function(t, e) {
436
- const n = b().flowchart;
437
- let s = 0;
438
- t.forEach(function(r) {
439
- var o;
440
- s++;
441
- const a = {
442
- //Set relationship style and line type
443
- classes: "relation",
444
- pattern: r.relation.lineType == 1 ? "dashed" : "solid",
445
- id: fe(r.id1, r.id2, {
446
- prefix: "id",
447
- counter: s
448
- }),
449
- // Set link type for rendering
450
- arrowhead: r.type === "arrow_open" ? "none" : "normal",
451
- //Set edge extra labels
452
- startLabelRight: r.relationTitle1 === "none" ? "" : r.relationTitle1,
453
- endLabelLeft: r.relationTitle2 === "none" ? "" : r.relationTitle2,
454
- //Set relation arrow types
455
- arrowTypeStart: R(r.relation.type1),
456
- arrowTypeEnd: R(r.relation.type2),
457
- style: "fill:none",
458
- labelStyle: "",
459
- curve: _(n == null ? void 0 : n.curve, j)
460
- };
461
- if (i.info(a, r), r.style !== void 0) {
462
- const h = F(r.style);
463
- a.style = h.style, a.labelStyle = h.labelStyle;
464
- }
465
- r.text = r.title, r.text === void 0 ? r.style !== void 0 && (a.arrowheadStyle = "fill: #333") : (a.arrowheadStyle = "fill: #333", a.labelpos = "c", ((o = b().flowchart) == null ? void 0 : o.htmlLabels) ?? b().htmlLabels ? (a.labelType = "html", a.label = '<span class="edgeLabel">' + r.text + "</span>") : (a.labelType = "text", a.label = r.text.replace(W.lineBreakRegex, `
466
- `), r.style === void 0 && (a.style = a.style || "stroke: #333; stroke-width: 1.5px;fill:none"), a.labelStyle = a.labelStyle.replace("color:", "fill:"))), e.setEdge(r.id1, r.id2, a, s);
467
- });
468
- }, "addRelations"), Le = /* @__PURE__ */ f(function(t) {
469
- I = {
470
- ...I,
471
- ...t
472
- };
473
- }, "setConf"), Oe = /* @__PURE__ */ f(async function(t, e, n, s) {
474
- i.info("Drawing class - ", e);
475
- const r = b().flowchart ?? b().class, o = b().securityLevel;
476
- i.info("config:", r);
477
- const a = (r == null ? void 0 : r.nodeSpacing) ?? 50, h = (r == null ? void 0 : r.rankSpacing) ?? 50, d = new H({
478
- multigraph: !0,
479
- compound: !0
480
- }).setGraph({
481
- rankdir: s.db.getDirection(),
482
- nodesep: a,
483
- ranksep: h,
484
- marginx: 8,
485
- marginy: 8
486
- }).setDefaultEdgeLabel(function() {
487
- return {};
488
- }), u = s.db.getNamespaces(), w = s.db.getClasses(), p = s.db.getRelations(), v = s.db.getNotes();
489
- i.info(p), ke(u, d, e, s), Z(w, d, e, s), Be(p, d), De(v, d, p.length + 1, w);
490
- let y;
491
- o === "sandbox" && (y = C("#i" + e));
492
- const l = o === "sandbox" ? C(y.nodes()[0].contentDocument.body) : C("body"), c = l.select(`[id="${e}"]`), N = l.select("#" + e + " g");
493
- if (await Xe(
494
- N,
495
- d,
496
- ["aggregation", "extension", "composition", "dependency", "lollipop"],
497
- "classDiagram",
498
- e
499
- ), he.insertTitle(c, "classTitleText", (r == null ? void 0 : r.titleTopMargin) ?? 5, s.db.getDiagramTitle()), ge(d, c, r == null ? void 0 : r.diagramPadding, r == null ? void 0 : r.useMaxWidth), !(r != null && r.htmlLabels)) {
500
- const E = o === "sandbox" ? y.nodes()[0].contentDocument : document, k = E.querySelectorAll('[id="' + e + '"] .edgeLabel .label');
501
- for (const S of k) {
502
- const $ = S.getBBox(), T = E.createElementNS("http://www.w3.org/2000/svg", "rect");
503
- T.setAttribute("rx", 0), T.setAttribute("ry", 0), T.setAttribute("width", $.width), T.setAttribute("height", $.height), S.insertBefore(T, S.firstChild);
504
- }
505
- }
506
- }, "draw");
507
- function R(t) {
508
- let e;
509
- switch (t) {
510
- case 0:
511
- e = "aggregation";
512
- break;
513
- case 1:
514
- e = "extension";
515
- break;
516
- case 2:
517
- e = "composition";
518
- break;
519
- case 3:
520
- e = "dependency";
521
- break;
522
- case 4:
523
- e = "lollipop";
524
- break;
525
- default:
526
- e = "none";
527
- }
528
- return e;
529
- }
530
- f(R, "getArrowMarker");
531
- var Ie = {
532
- setConf: Le,
533
- draw: Oe
534
- }, Fe = {
535
- parser: ae,
536
- db: A,
537
- renderer: Ie,
538
- styles: oe,
539
- init: /* @__PURE__ */ f((t) => {
540
- t.class || (t.class = {}), t.class.arrowMarkerAbsolute = t.arrowMarkerAbsolute, A.clear();
541
- }, "init")
542
- };
543
- export {
544
- Fe as diagram
545
- };
@@ -1,9 +0,0 @@
1
- import e from "./javascript-CGvwHrzr-CGvwHrzr.js";
2
- const t = Object.freeze(JSON.parse(`{"displayName":"CoffeeScript","name":"coffee","patterns":[{"include":"#jsx"},{"captures":{"1":{"name":"keyword.operator.new.coffee"},"2":{"name":"storage.type.class.coffee"},"3":{"name":"entity.name.type.instance.coffee"},"4":{"name":"entity.name.type.instance.coffee"}},"match":"(new)\\\\s+(?:(?:(class)\\\\s+(\\\\w+(?:\\\\.\\\\w*)*)?)|(\\\\w+(?:\\\\.\\\\w*)*))","name":"meta.class.instance.constructor.coffee"},{"begin":"'''","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coffee"}},"end":"'''","endCaptures":{"0":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.quoted.single.heredoc.coffee","patterns":[{"captures":{"1":{"name":"punctuation.definition.escape.backslash.coffee"}},"match":"(\\\\\\\\).","name":"constant.character.escape.backslash.coffee"}]},{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coffee"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.quoted.double.heredoc.coffee","patterns":[{"captures":{"1":{"name":"punctuation.definition.escape.backslash.coffee"}},"match":"(\\\\\\\\).","name":"constant.character.escape.backslash.coffee"},{"include":"#interpolated_coffee"}]},{"captures":{"1":{"name":"punctuation.definition.string.begin.coffee"},"2":{"name":"source.js.embedded.coffee","patterns":[{"include":"source.js"}]},"3":{"name":"punctuation.definition.string.end.coffee"}},"match":"(\`)(.*)(\`)","name":"string.quoted.script.coffee"},{"begin":"(?<!#)###(?!#)","beginCaptures":{"0":{"name":"punctuation.definition.comment.coffee"}},"end":"###","endCaptures":{"0":{"name":"punctuation.definition.comment.coffee"}},"name":"comment.block.coffee","patterns":[{"match":"(?<=^|\\\\s)@\\\\w*(?=\\\\s)","name":"storage.type.annotation.coffee"}]},{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.coffee"}},"end":"$","name":"comment.line.number-sign.coffee"},{"begin":"///","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coffee"}},"end":"(///)[gimuy]*","endCaptures":{"1":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.regexp.multiline.coffee","patterns":[{"include":"#heregexp"}]},{"begin":"(?<![\\\\w$])(/)(?=(?![/*+?])(.+)(/)[gimuy]*(?!\\\\s*[\\\\w$/(]))","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.coffee"}},"end":"(/)[gimuy]*(?!\\\\s*[\\\\w$/(])","endCaptures":{"1":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.regexp.coffee","patterns":[{"include":"source.js.regexp"}]},{"match":"\\\\b(?<![\\\\.$])(break|by|catch|continue|else|finally|for|in|of|if|return|switch|then|throw|try|unless|when|while|until|loop|do|export|import|default|from|as|yield|async|await|(?<=for)\\\\s+own)(?!\\\\s*:)\\\\b","name":"keyword.control.coffee"},{"match":"\\\\b(?<![\\\\.$])(delete|instanceof|new|typeof)(?!\\\\s*:)\\\\b","name":"keyword.operator.$1.coffee"},{"match":"\\\\b(?<![\\\\.$])(case|function|var|void|with|const|let|enum|native|__hasProp|__extends|__slice|__bind|__indexOf|implements|interface|package|private|protected|public|static)(?!\\\\s*:)\\\\b","name":"keyword.reserved.coffee"},{"begin":"(?<=\\\\s|^)((@)?[a-zA-Z_$][\\\\w$]*)\\\\s*([:=])\\\\s*(?=(\\\\([^()]*\\\\)\\\\s*)?[=-]>)","beginCaptures":{"1":{"name":"entity.name.function.coffee"},"2":{"name":"variable.other.readwrite.instance.coffee"},"3":{"name":"keyword.operator.assignment.coffee"}},"end":"[=-]>","endCaptures":{"0":{"name":"storage.type.function.coffee"}},"name":"meta.function.coffee","patterns":[{"include":"#function_params"}]},{"begin":"(?<=\\\\s|^)(?:((')([^']*?)('))|((\\")([^\\"]*?)(\\")))\\\\s*([:=])\\\\s*(?=(\\\\([^()]*\\\\)\\\\s*)?[=-]>)","beginCaptures":{"1":{"name":"string.quoted.single.coffee"},"2":{"name":"punctuation.definition.string.begin.coffee"},"3":{"name":"entity.name.function.coffee"},"4":{"name":"punctuation.definition.string.end.coffee"},"5":{"name":"string.quoted.double.coffee"},"6":{"name":"punctuation.definition.string.begin.coffee"},"7":{"name":"entity.name.function.coffee"},"8":{"name":"punctuation.definition.string.end.coffee"},"9":{"name":"keyword.operator.assignment.coffee"}},"end":"[=-]>","endCaptures":{"0":{"name":"storage.type.function.coffee"}},"name":"meta.function.coffee","patterns":[{"include":"#function_params"}]},{"begin":"(?=(\\\\([^()]*\\\\)\\\\s*)?[=-]>)","end":"[=-]>","endCaptures":{"0":{"name":"storage.type.function.coffee"}},"name":"meta.function.inline.coffee","patterns":[{"include":"#function_params"}]},{"begin":"(?<=\\\\s|^)({)(?=[^'\\"#]+?}[\\\\s\\\\]}]*=)","beginCaptures":{"1":{"name":"punctuation.definition.destructuring.begin.bracket.curly.coffee"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.destructuring.end.bracket.curly.coffee"}},"name":"meta.variable.assignment.destructured.object.coffee","patterns":[{"include":"$self"},{"match":"[a-zA-Z$_]\\\\w*","name":"variable.assignment.coffee"}]},{"begin":"(?<=\\\\s|^)(\\\\[)(?=[^'\\"#]+?\\\\][\\\\s\\\\]}]*=)","beginCaptures":{"1":{"name":"punctuation.definition.destructuring.begin.bracket.square.coffee"}},"end":"\\\\]","endCaptures":{"0":{"name":"punctuation.definition.destructuring.end.bracket.square.coffee"}},"name":"meta.variable.assignment.destructured.array.coffee","patterns":[{"include":"$self"},{"match":"[a-zA-Z$_]\\\\w*","name":"variable.assignment.coffee"}]},{"match":"\\\\b(?<!\\\\.|::)(true|on|yes)(?!\\\\s*[:=][^=])\\\\b","name":"constant.language.boolean.true.coffee"},{"match":"\\\\b(?<!\\\\.|::)(false|off|no)(?!\\\\s*[:=][^=])\\\\b","name":"constant.language.boolean.false.coffee"},{"match":"\\\\b(?<!\\\\.|::)null(?!\\\\s*[:=][^=])\\\\b","name":"constant.language.null.coffee"},{"match":"\\\\b(?<!\\\\.|::)extends(?!\\\\s*[:=])\\\\b","name":"variable.language.coffee"},{"match":"(?<!\\\\.)\\\\b(?<!\\\\$)(super|this|arguments)(?!\\\\s*[:=][^=]|\\\\$)\\\\b","name":"variable.language.$1.coffee"},{"captures":{"1":{"name":"storage.type.class.coffee"},"2":{"name":"keyword.control.inheritance.coffee"},"3":{"name":"entity.other.inherited-class.coffee"}},"match":"(?<=\\\\s|^|\\\\[|\\\\()(class)\\\\s+(extends)\\\\s+(@?[a-zA-Z$\\\\._][\\\\w\\\\.]*)","name":"meta.class.coffee"},{"captures":{"1":{"name":"storage.type.class.coffee"},"2":{"name":"entity.name.type.class.coffee"},"3":{"name":"keyword.control.inheritance.coffee"},"4":{"name":"entity.other.inherited-class.coffee"}},"match":"(?<=\\\\s|^|\\\\[|\\\\()(class\\\\b)\\\\s+(@?[a-zA-Z$_][\\\\w\\\\.]*)?(?:\\\\s+(extends)\\\\s+(@?[a-zA-Z$\\\\._][\\\\w\\\\.]*))?","name":"meta.class.coffee"},{"match":"\\\\b(debugger|\\\\\\\\)\\\\b","name":"keyword.other.coffee"},{"match":"\\\\b(Array|ArrayBuffer|Blob|Boolean|Date|document|Function|Int(8|16|32|64)Array|Math|Map|Number|Object|Proxy|RegExp|Set|String|WeakMap|window|Uint(8|16|32|64)Array|XMLHttpRequest)\\\\b","name":"support.class.coffee"},{"match":"\\\\b(console)\\\\b","name":"entity.name.type.object.coffee"},{"match":"((?<=console\\\\.)(debug|warn|info|log|error|time|timeEnd|assert))\\\\b","name":"support.function.console.coffee"},{"match":"((?<=\\\\.)(apply|call|concat|every|filter|forEach|from|hasOwnProperty|indexOf|isPrototypeOf|join|lastIndexOf|map|of|pop|propertyIsEnumerable|push|reduce(Right)?|reverse|shift|slice|some|sort|splice|to(Locale)?String|unshift|valueOf))\\\\b","name":"support.function.method.array.coffee"},{"match":"((?<=Array\\\\.)(isArray))\\\\b","name":"support.function.static.array.coffee"},{"match":"((?<=Object\\\\.)(create|definePropert(ies|y)|freeze|getOwnProperty(Descriptors?|Names)|getProperty(Descriptor|Names)|getPrototypeOf|is(Extensible|Frozen|Sealed)?|isnt|keys|preventExtensions|seal))\\\\b","name":"support.function.static.object.coffee"},{"match":"((?<=Math\\\\.)(abs|acos|acosh|asin|asinh|atan|atan2|atanh|ceil|cos|cosh|exp|expm1|floor|hypot|log|log10|log1p|log2|max|min|pow|random|round|sign|sin|sinh|sqrt|tan|tanh|trunc))\\\\b","name":"support.function.static.math.coffee"},{"match":"((?<=Number\\\\.)(is(Finite|Integer|NaN)|toInteger))\\\\b","name":"support.function.static.number.coffee"},{"match":"(?<!\\\\.)\\\\b(module|exports|__filename|__dirname|global|process)(?!\\\\s*:)\\\\b","name":"support.variable.coffee"},{"match":"\\\\b(Infinity|NaN|undefined)\\\\b","name":"constant.language.coffee"},{"include":"#operators"},{"include":"#method_calls"},{"include":"#function_calls"},{"include":"#numbers"},{"include":"#objects"},{"include":"#properties"},{"match":"::","name":"keyword.operator.prototype.coffee"},{"match":"(?<!\\\\$)\\\\b\\\\d+[\\\\w$]*","name":"invalid.illegal.identifier.coffee"},{"match":";","name":"punctuation.terminator.statement.coffee"},{"match":",","name":"punctuation.separator.delimiter.coffee"},{"begin":"{","beginCaptures":{"0":{"name":"meta.brace.curly.coffee"}},"end":"}","endCaptures":{"0":{"name":"meta.brace.curly.coffee"}},"patterns":[{"include":"$self"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.bracket.square.coffee"}},"end":"\\\\]","endCaptures":{"0":{"name":"punctuation.definition.array.end.bracket.square.coffee"}},"patterns":[{"match":"(?<!\\\\.)\\\\.{3}","name":"keyword.operator.slice.exclusive.coffee"},{"match":"(?<!\\\\.)\\\\.{2}","name":"keyword.operator.slice.inclusive.coffee"},{"include":"$self"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.coffee"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.coffee"}},"patterns":[{"include":"$self"}]},{"include":"#instance_variable"},{"include":"#single_quoted_string"},{"include":"#double_quoted_string"}],"repository":{"arguments":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.arguments.begin.bracket.round.coffee"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.arguments.end.bracket.round.coffee"}},"name":"meta.arguments.coffee","patterns":[{"include":"$self"}]},{"begin":"(?=(@|@?[\\\\w$]+|[=-]>|-\\\\d|\\\\[|{|\\"|'))","end":"(?=\\\\s*(?<![\\\\w$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\\\\w$]))|(?=\\\\s*(}|\\\\]|\\\\)|#|$))","name":"meta.arguments.coffee","patterns":[{"include":"$self"}]}]},"double_quoted_string":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coffee"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.quoted.double.coffee","patterns":[{"captures":{"1":{"name":"punctuation.definition.escape.backslash.coffee"}},"match":"(\\\\\\\\)(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)","name":"constant.character.escape.backslash.coffee"},{"include":"#interpolated_coffee"}]}]},"embedded_comment":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.coffee"}},"match":"(?<!\\\\\\\\)(#).*$\\\\n?","name":"comment.line.number-sign.coffee"}]},"function_calls":{"patterns":[{"begin":"(@)?([\\\\w$]+)(?=\\\\()","beginCaptures":{"1":{"name":"variable.other.readwrite.instance.coffee"},"2":{"patterns":[{"include":"#function_names"}]}},"end":"(?<=\\\\))","name":"meta.function-call.coffee","patterns":[{"include":"#arguments"}]},{"begin":"(@)?([\\\\w$]+)\\\\s*(?=\\\\s+(?!(?<![\\\\w$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\\\\w$]))(?=(@?[\\\\w$]+|[=-]>|-\\\\d|\\\\[|{|\\"|')))","beginCaptures":{"1":{"name":"variable.other.readwrite.instance.coffee"},"2":{"patterns":[{"include":"#function_names"}]}},"end":"(?=\\\\s*(?<![\\\\w$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\\\\w$]))|(?=\\\\s*(}|\\\\]|\\\\)|#|$))","name":"meta.function-call.coffee","patterns":[{"include":"#arguments"}]}]},"function_names":{"patterns":[{"match":"\\\\b(isNaN|isFinite|eval|uneval|parseInt|parseFloat|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|escape|unescape|require|set(Interval|Timeout)|clear(Interval|Timeout))\\\\b","name":"support.function.coffee"},{"match":"[a-zA-Z_$][\\\\w$]*","name":"entity.name.function.coffee"},{"match":"\\\\d[\\\\w$]*","name":"invalid.illegal.identifier.coffee"}]},"function_params":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.bracket.round.coffee"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.coffee"}},"name":"meta.parameters.coffee","patterns":[{"captures":{"1":{"name":"variable.parameter.function.coffee"},"2":{"name":"keyword.operator.splat.coffee"}},"match":"([a-zA-Z_$][\\\\w$]*)(\\\\.\\\\.\\\\.)?"},{"captures":{"1":{"name":"variable.parameter.function.readwrite.instance.coffee"},"2":{"name":"keyword.operator.splat.coffee"}},"match":"(@(?:[a-zA-Z_$][\\\\w$]*)?)(\\\\.\\\\.\\\\.)?"},{"include":"$self"}]}]},"heregexp":{"patterns":[{"match":"\\\\\\\\[bB]|\\\\^|\\\\$","name":"keyword.control.anchor.regexp"},{"match":"\\\\\\\\[1-9]\\\\d*","name":"keyword.other.back-reference.regexp"},{"match":"[?+*]|\\\\{(\\\\d+,\\\\d+|\\\\d+,|,\\\\d+|\\\\d+)\\\\}\\\\??","name":"keyword.operator.quantifier.regexp"},{"match":"\\\\|","name":"keyword.operator.or.regexp"},{"begin":"(\\\\()((\\\\?=)|(\\\\?!))","beginCaptures":{"1":{"name":"punctuation.definition.group.regexp"},"3":{"name":"meta.assertion.look-ahead.regexp"},"4":{"name":"meta.assertion.negative-look-ahead.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.assertion.regexp","patterns":[{"include":"#heregexp"}]},{"begin":"\\\\((\\\\?:)?","beginCaptures":{"0":{"name":"punctuation.definition.group.regexp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.regexp","patterns":[{"include":"#heregexp"}]},{"begin":"(\\\\[)(\\\\^)?","beginCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"},"2":{"name":"keyword.operator.negation.regexp"}},"end":"(\\\\])","endCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"}},"name":"constant.other.character-class.set.regexp","patterns":[{"captures":{"1":{"name":"constant.character.numeric.regexp"},"2":{"name":"constant.character.control.regexp"},"3":{"name":"constant.character.escape.backslash.regexp"},"4":{"name":"constant.character.numeric.regexp"},"5":{"name":"constant.character.control.regexp"},"6":{"name":"constant.character.escape.backslash.regexp"}},"match":"(?:.|(\\\\\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))-(?:[^\\\\]\\\\\\\\]|(\\\\\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))","name":"constant.other.character-class.range.regexp"},{"include":"#regex-character-class"}]},{"include":"#regex-character-class"},{"include":"#interpolated_coffee"},{"include":"#embedded_comment"}]},"instance_variable":{"patterns":[{"match":"(@)([a-zA-Z_$]\\\\w*)?","name":"variable.other.readwrite.instance.coffee"}]},"interpolated_coffee":{"patterns":[{"begin":"\\\\#\\\\{","captures":{"0":{"name":"punctuation.section.embedded.coffee"}},"end":"\\\\}","name":"source.coffee.embedded.source","patterns":[{"include":"$self"}]}]},"jsx":{"patterns":[{"include":"#jsx-tag"},{"include":"#jsx-end-tag"}]},"jsx-attribute":{"patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.coffee"},"2":{"name":"keyword.operator.assignment.coffee"}},"match":"(?:^|\\\\s+)([-\\\\w.]+)\\\\s*(=)"},{"include":"#double_quoted_string"},{"include":"#single_quoted_string"},{"include":"#jsx-expression"}]},"jsx-end-tag":{"patterns":[{"begin":"(</)([-\\\\w\\\\.]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.coffee"},"2":{"name":"entity.name.tag.coffee"}},"end":"(/?>)","name":"meta.tag.coffee"}]},"jsx-expression":{"begin":"{","beginCaptures":{"0":{"name":"meta.brace.curly.coffee"}},"end":"}","endCaptures":{"0":{"name":"meta.brace.curly.coffee"}},"patterns":[{"include":"#double_quoted_string"},{"include":"$self"}]},"jsx-tag":{"patterns":[{"begin":"(<)([-\\\\w\\\\.]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.coffee"},"2":{"name":"entity.name.tag.coffee"}},"end":"(/?>)","name":"meta.tag.coffee","patterns":[{"include":"#jsx-attribute"}]}]},"method_calls":{"patterns":[{"begin":"(?:(\\\\.)|(::))\\\\s*([\\\\w$]+)\\\\s*(?=\\\\()","beginCaptures":{"1":{"name":"punctuation.separator.method.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"patterns":[{"include":"#method_names"}]}},"end":"(?<=\\\\))","name":"meta.method-call.coffee","patterns":[{"include":"#arguments"}]},{"begin":"(?:(\\\\.)|(::))\\\\s*([\\\\w$]+)\\\\s*(?=\\\\s+(?!(?<![\\\\w$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\\\\w$]))(?=(@|@?[\\\\w$]+|[=-]>|-\\\\d|\\\\[|{|\\"|')))","beginCaptures":{"1":{"name":"punctuation.separator.method.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"patterns":[{"include":"#method_names"}]}},"end":"(?=\\\\s*(?<![\\\\w$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\\\\w$]))|(?=\\\\s*(}|\\\\]|\\\\)|#|$))","name":"meta.method-call.coffee","patterns":[{"include":"#arguments"}]}]},"method_names":{"patterns":[{"match":"\\\\bon(Rowsinserted|Rowsdelete|Rowenter|Rowexit|Resize|Resizestart|Resizeend|Reset|Readystatechange|Mouseout|Mouseover|Mousedown|Mouseup|Mousemove|Before(cut|deactivate|unload|update|paste|print|editfocus|activate)|Blur|Scrolltop|Submit|Select|Selectstart|Selectionchange|Hover|Help|Change|Contextmenu|Controlselect|Cut|Cellchange|Clock|Close|Deactivate|Datasetchanged|Datasetcomplete|Dataavailable|Drop|Drag|Dragstart|Dragover|Dragdrop|Dragenter|Dragend|Dragleave|Dblclick|Unload|Paste|Propertychange|Error|Errorupdate|Keydown|Keyup|Keypress|Focus|Load|Activate|Afterupdate|Afterprint|Abort)\\\\b","name":"support.function.event-handler.coffee"},{"match":"\\\\b(shift|showModelessDialog|showModalDialog|showHelp|scroll|scrollX|scrollByPages|scrollByLines|scrollY|scrollTo|stop|strike|sizeToContent|sidebar|signText|sort|sup|sub|substr|substring|splice|split|send|set(Milliseconds|Seconds|Minutes|Hours|Month|Year|FullYear|Date|UTC(Milliseconds|Seconds|Minutes|Hours|Month|FullYear|Date)|Time|Hotkeys|Cursor|ZOptions|Active|Resizable|RequestHeader)|search|slice|savePreferences|small|home|handleEvent|navigate|char|charCodeAt|charAt|concat|contextual|confirm|compile|clear|captureEvents|call|createStyleSheet|createPopup|createEventObject|to(GMTString|UTCString|String|Source|UpperCase|LowerCase|LocaleString)|test|taint|taintEnabled|indexOf|italics|disableExternalCapture|dump|detachEvent|unshift|untaint|unwatch|updateCommands|join|javaEnabled|pop|push|plugins.refresh|paddings|parse|print|prompt|preference|enableExternalCapture|exec|execScript|valueOf|UTC|find|file|fileModifiedDate|fileSize|fileCreatedDate|fileUpdatedDate|fixed|fontsize|fontcolor|forward|fromCharCode|watch|link|load|lastIndexOf|anchor|attachEvent|atob|apply|alert|abort|routeEvents|resize|resizeBy|resizeTo|recalc|returnValue|replace|reverse|reload|releaseCapture|releaseEvents|go|get(Milliseconds|Seconds|Minutes|Hours|Month|Day|Year|FullYear|Time|Date|TimezoneOffset|UTC(Milliseconds|Seconds|Minutes|Hours|Day|Month|FullYear|Date)|Attention|Selection|ResponseHeader|AllResponseHeaders)|moveBy|moveBelow|moveTo|moveToAbsolute|moveAbove|mergeAttributes|match|margins|btoa|big|bold|borderWidths|blink|back)\\\\b","name":"support.function.coffee"},{"match":"\\\\b(acceptNode|add|addEventListener|addTextTrack|adoptNode|after|animate|append|appendChild|appendData|before|blur|canPlayType|captureStream|caretPositionFromPoint|caretRangeFromPoint|checkValidity|clear|click|cloneContents|cloneNode|cloneRange|close|closest|collapse|compareBoundaryPoints|compareDocumentPosition|comparePoint|contains|convertPointFromNode|convertQuadFromNode|convertRectFromNode|createAttribute|createAttributeNS|createCaption|createCDATASection|createComment|createContextualFragment|createDocument|createDocumentFragment|createDocumentType|createElement|createElementNS|createEntityReference|createEvent|createExpression|createHTMLDocument|createNodeIterator|createNSResolver|createProcessingInstruction|createRange|createShadowRoot|createTBody|createTextNode|createTFoot|createTHead|createTreeWalker|delete|deleteCaption|deleteCell|deleteContents|deleteData|deleteRow|deleteTFoot|deleteTHead|detach|disconnect|dispatchEvent|elementFromPoint|elementsFromPoint|enableStyleSheetsForSet|entries|evaluate|execCommand|exitFullscreen|exitPointerLock|expand|extractContents|fastSeek|firstChild|focus|forEach|get|getAll|getAnimations|getAttribute|getAttributeNames|getAttributeNode|getAttributeNodeNS|getAttributeNS|getBoundingClientRect|getBoxQuads|getClientRects|getContext|getDestinationInsertionPoints|getElementById|getElementsByClassName|getElementsByName|getElementsByTagName|getElementsByTagNameNS|getItem|getNamedItem|getSelection|getStartDate|getVideoPlaybackQuality|has|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasFeature|hasFocus|importNode|initEvent|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|insertBefore|insertCell|insertData|insertNode|insertRow|intersectsNode|isDefaultNamespace|isEqualNode|isPointInRange|isSameNode|item|key|keys|lastChild|load|lookupNamespaceURI|lookupPrefix|matches|move|moveAttribute|moveAttributeNode|moveChild|moveNamedItem|namedItem|nextNode|nextSibling|normalize|observe|open|parentNode|pause|play|postMessage|prepend|preventDefault|previousNode|previousSibling|probablySupportsContext|queryCommandEnabled|queryCommandIndeterm|queryCommandState|queryCommandSupported|queryCommandValue|querySelector|querySelectorAll|registerContentHandler|registerElement|registerProtocolHandler|releaseCapture|releaseEvents|remove|removeAttribute|removeAttributeNode|removeAttributeNS|removeChild|removeEventListener|removeItem|replace|replaceChild|replaceData|replaceWith|reportValidity|requestFullscreen|requestPointerLock|reset|scroll|scrollBy|scrollIntoView|scrollTo|seekToNextFrame|select|selectNode|selectNodeContents|set|setAttribute|setAttributeNode|setAttributeNodeNS|setAttributeNS|setCapture|setCustomValidity|setEnd|setEndAfter|setEndBefore|setItem|setNamedItem|setRangeText|setSelectionRange|setSinkId|setStart|setStartAfter|setStartBefore|slice|splitText|stepDown|stepUp|stopImmediatePropagation|stopPropagation|submit|substringData|supports|surroundContents|takeRecords|terminate|toBlob|toDataURL|toggle|toString|values|write|writeln)\\\\b","name":"support.function.dom.coffee"},{"match":"[a-zA-Z_$][\\\\w$]*","name":"entity.name.function.coffee"},{"match":"\\\\d[\\\\w$]*","name":"invalid.illegal.identifier.coffee"}]},"numbers":{"patterns":[{"match":"\\\\b(?<!\\\\$)0(x|X)[0-9a-fA-F]+\\\\b(?!\\\\$)","name":"constant.numeric.hex.coffee"},{"match":"\\\\b(?<!\\\\$)0(b|B)[01]+\\\\b(?!\\\\$)","name":"constant.numeric.binary.coffee"},{"match":"\\\\b(?<!\\\\$)0(o|O)?[0-7]+\\\\b(?!\\\\$)","name":"constant.numeric.octal.coffee"},{"captures":{"0":{"name":"constant.numeric.decimal.coffee"},"1":{"name":"punctuation.separator.decimal.period.coffee"},"2":{"name":"punctuation.separator.decimal.period.coffee"},"3":{"name":"punctuation.separator.decimal.period.coffee"},"4":{"name":"punctuation.separator.decimal.period.coffee"},"5":{"name":"punctuation.separator.decimal.period.coffee"},"6":{"name":"punctuation.separator.decimal.period.coffee"}},"match":"(?<!\\\\$)(?:(?:\\\\b\\\\d+(\\\\.)\\\\d+[eE][+-]?\\\\d+\\\\b)|(?:\\\\b\\\\d+(\\\\.)[eE][+-]?\\\\d+\\\\b)|(?:\\\\B(\\\\.)\\\\d+[eE][+-]?\\\\d+\\\\b)|(?:\\\\b\\\\d+[eE][+-]?\\\\d+\\\\b)|(?:\\\\b\\\\d+(\\\\.)\\\\d+\\\\b)|(?:\\\\b\\\\d+(?=\\\\.{2,3}))|(?:\\\\b\\\\d+(\\\\.)\\\\B)|(?:\\\\B(\\\\.)\\\\d+\\\\b)|(?:\\\\b\\\\d+\\\\b(?!\\\\.)))(?!\\\\$)"}]},"objects":{"patterns":[{"match":"[A-Z][A-Z0-9_$]*(?=\\\\s*\\\\??(\\\\.\\\\s*[a-zA-Z_$]\\\\w*|::))","name":"constant.other.object.coffee"},{"match":"[a-zA-Z_$][\\\\w$]*(?=\\\\s*\\\\??(\\\\.\\\\s*[a-zA-Z_$]\\\\w*|::))","name":"variable.other.object.coffee"}]},"operators":{"patterns":[{"captures":{"1":{"name":"variable.assignment.coffee"},"2":{"name":"keyword.operator.assignment.compound.coffee"}},"match":"(?:([a-zA-Z$_][\\\\w$]*)?\\\\s+|(?<![\\\\w$]))(and=|or=)"},{"captures":{"1":{"name":"variable.assignment.coffee"},"2":{"name":"keyword.operator.assignment.compound.coffee"}},"match":"([a-zA-Z$_][\\\\w$]*)?\\\\s*(%=|\\\\+=|-=|\\\\*=|&&=|\\\\|\\\\|=|\\\\?=|(?<!\\\\()/=)"},{"captures":{"1":{"name":"variable.assignment.coffee"},"2":{"name":"keyword.operator.assignment.compound.bitwise.coffee"}},"match":"([a-zA-Z$_][\\\\w$]*)?\\\\s*(&=|\\\\^=|<<=|>>=|>>>=|\\\\|=)"},{"match":"<<|>>>|>>","name":"keyword.operator.bitwise.shift.coffee"},{"match":"!=|<=|>=|==|<|>","name":"keyword.operator.comparison.coffee"},{"match":"&&|!|\\\\|\\\\|","name":"keyword.operator.logical.coffee"},{"match":"&|\\\\||\\\\^|~","name":"keyword.operator.bitwise.coffee"},{"captures":{"1":{"name":"variable.assignment.coffee"},"2":{"name":"keyword.operator.assignment.coffee"}},"match":"([a-zA-Z$_][\\\\w$]*)?\\\\s*(=|:(?!:))(?![>=])"},{"match":"--","name":"keyword.operator.decrement.coffee"},{"match":"\\\\+\\\\+","name":"keyword.operator.increment.coffee"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.splat.coffee"},{"match":"\\\\?","name":"keyword.operator.existential.coffee"},{"match":"%|\\\\*|/|-|\\\\+","name":"keyword.operator.coffee"},{"captures":{"1":{"name":"keyword.operator.logical.coffee"},"2":{"name":"keyword.operator.comparison.coffee"}},"match":"\\\\b(?<![\\\\.$])(?:(and|or|not)|(is|isnt))(?!\\\\s*:)\\\\b"}]},"properties":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.property.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"name":"constant.other.object.property.coffee"}},"match":"(?:(\\\\.)|(::))\\\\s*([A-Z][A-Z0-9_$]*\\\\b\\\\$*)(?=\\\\s*\\\\??(\\\\.\\\\s*[a-zA-Z_$]\\\\w*|::))"},{"captures":{"1":{"name":"punctuation.separator.property.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"name":"variable.other.object.property.coffee"}},"match":"(?:(\\\\.)|(::))\\\\s*(\\\\$*[a-zA-Z_$][\\\\w$]*)(?=\\\\s*\\\\??(\\\\.\\\\s*[a-zA-Z_$]\\\\w*|::))"},{"captures":{"1":{"name":"punctuation.separator.property.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"name":"constant.other.property.coffee"}},"match":"(?:(\\\\.)|(::))\\\\s*([A-Z][A-Z0-9_$]*\\\\b\\\\$*)"},{"captures":{"1":{"name":"punctuation.separator.property.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"name":"variable.other.property.coffee"}},"match":"(?:(\\\\.)|(::))\\\\s*(\\\\$*[a-zA-Z_$][\\\\w$]*)"},{"captures":{"1":{"name":"punctuation.separator.property.period.coffee"},"2":{"name":"keyword.operator.prototype.coffee"},"3":{"name":"invalid.illegal.identifier.coffee"}},"match":"(?:(\\\\.)|(::))\\\\s*(\\\\d[\\\\w$]*)"}]},"regex-character-class":{"patterns":[{"match":"\\\\\\\\[wWsSdD]|\\\\.","name":"constant.character.character-class.regexp"},{"match":"\\\\\\\\([0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4})","name":"constant.character.numeric.regexp"},{"match":"\\\\\\\\c[A-Z]","name":"constant.character.control.regexp"},{"match":"\\\\\\\\.","name":"constant.character.escape.backslash.regexp"}]},"single_quoted_string":{"patterns":[{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coffee"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.coffee"}},"name":"string.quoted.single.coffee","patterns":[{"captures":{"1":{"name":"punctuation.definition.escape.backslash.coffee"}},"match":"(\\\\\\\\)(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)","name":"constant.character.escape.backslash.coffee"}]}]}},"scopeName":"source.coffee","embeddedLangs":["javascript"],"aliases":["coffeescript"]}`));
3
- var a = [
4
- ...e,
5
- t
6
- ];
7
- export {
8
- a
9
- };