@sme.up/ketchup2 2.7.0 → 2.8.1

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 (288) hide show
  1. package/dist/abnfDiagram-VCTEODGH-DwAVRNNu.js +89 -0
  2. package/dist/{arc-CVbkjF8U.js → arc-DXfwi1YX.js} +8 -6
  3. package/dist/architecture-7GRP2DOG-BsytjMto.js +3 -0
  4. package/dist/{architectureDiagram-3BPJPVTR-B6VZAtZU.js → architectureDiagram-5GKGNRK7-N1aPr2hw.js} +636 -540
  5. package/dist/assets/svg/functions.svg +1 -0
  6. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  7. package/dist/basic-components/button-list/button-list-types.d.ts +2 -1
  8. package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
  9. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  10. package/dist/basic-components/cell/cell-types.d.ts +5 -0
  11. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  12. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  13. package/dist/basic-components/checkbox/checkbox-types.d.ts +5 -0
  14. package/dist/basic-components/checkbox/checkbox-types.d.ts.map +1 -1
  15. package/dist/basic-components/chips/chips-types.d.ts +15 -1
  16. package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
  17. package/dist/basic-components/chips/chips.d.ts.map +1 -1
  18. package/dist/basic-components/chips-input/chips-input-types.d.ts +5 -0
  19. package/dist/basic-components/chips-input/chips-input-types.d.ts.map +1 -1
  20. package/dist/basic-components/chips-input/chips-input.d.ts.map +1 -1
  21. package/dist/basic-components/file-upload/file-upload-hook.d.ts.map +1 -1
  22. package/dist/basic-components/list/list.d.ts.map +1 -1
  23. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts +5 -0
  24. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts.map +1 -1
  25. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
  26. package/dist/basic-components/multiple-select/multiple-select-types.d.ts +5 -0
  27. package/dist/basic-components/multiple-select/multiple-select-types.d.ts.map +1 -1
  28. package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
  29. package/dist/basic-components/select/select.d.ts.map +1 -1
  30. package/dist/blockDiagram-I7D4REHJ-Cu18ws5-.js +1922 -0
  31. package/dist/{c4Diagram-AAUBKEIU-CdT8VCbo.js → c4Diagram-7LVT6UL2-B-uBy_NE.js} +899 -850
  32. package/dist/{channel-C-LAmObA.js → channel-CuEby436.js} +1 -1
  33. package/dist/chunk-2E4U76K2-ComA5SPA.js +348 -0
  34. package/dist/{chunk-QZHKN3VN-lYfzaOt9.js → chunk-2Q5K7J3B-kzxEEeTu.js} +2 -2
  35. package/dist/{chunk-3OPIFGDE-Bs2mXISw.js → chunk-4HAMMTFA-CZgIgrp_.js} +1667 -1145
  36. package/dist/{chunk-FMBD7UC4-BURT0llY.js → chunk-5VM5RSS4-Cr17nBXp.js} +2 -2
  37. package/dist/{chunk-5ZQYHXKU-B_nOC8-n.js → chunk-75Z2AOVW-Drsj7a97.js} +106 -136
  38. package/dist/chunk-CLGD4ZFX-CLGio9rD.js +14 -0
  39. package/dist/{chunk-CSCIHK7Q-BEk3YcEH.js → chunk-DU6HZSFF-waeanndy.js} +1005 -768
  40. package/dist/{chunk-ND2GUHAM-Ca12h-m9.js → chunk-F27PBJKO-jIrOJO87.js} +18 -17
  41. package/dist/{chunk-NNHCCRGN-BB1q5NkR.js → chunk-FOHPRMQF-LRqOLsSw.js} +5518 -4708
  42. package/dist/{chunk-O5CBEL6O-DbWeP4Au.js → chunk-GMAD6QVW-D80II4AD.js} +486 -520
  43. package/dist/chunk-GVQU2GXP-DP3t_9Rl.js +37 -0
  44. package/dist/{chunk-AQP2D5EJ-vJ_pitKp.js → chunk-IMKFNOWR-8ItzAAcf.js} +336 -318
  45. package/dist/{chunk-4BX2VUAB-zglw1T4d.js → chunk-JWPE2WC7-Ccb0QaC8.js} +2 -2
  46. package/dist/chunk-L3NEJ4N5-qPot4t6M.js +245 -0
  47. package/dist/chunk-LNGE3PJU-CtYcu9x8.js +1521 -0
  48. package/dist/{chunk-KSCS5N6A-BemQomLE.js → chunk-OSK3NFVY-CQhPF3Mc.js} +310 -198
  49. package/dist/chunk-P2QGCYS3-BUeNZ170.js +67 -0
  50. package/dist/chunk-POPQ4Y6H-CU9oz17Z.js +26 -0
  51. package/dist/chunk-PWAF6VOD-D37VoZ8H.js +275 -0
  52. package/dist/{flowDiagram-I6XJVG4X-DnsxKD0w.js → chunk-SHT3W25Y-Cri27Jke.js} +581 -543
  53. package/dist/chunk-SVP7TREG-CyJlOPau.js +490 -0
  54. package/dist/{chunk-727SXJPM-CDeV7mmg.js → chunk-TICWLB2K-Cw2iT_VD.js} +191 -185
  55. package/dist/{chunk-LZXEDZCA-J9irjuVP.js → chunk-TLUHSLCS-BdsLNXjt.js} +35 -25
  56. package/dist/chunk-XXDRQBXY-C1ZEFXGu.js +9 -0
  57. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  58. package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +30 -0
  59. package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +30 -0
  60. package/dist/components/activity-timeline/activity-timeline-types.d.ts +46 -0
  61. package/dist/components/activity-timeline/activity-timeline-types.d.ts.map +1 -0
  62. package/dist/components/activity-timeline/activity-timeline.d.ts +4 -0
  63. package/dist/components/activity-timeline/activity-timeline.d.ts.map +1 -0
  64. package/dist/components/app-bar/app-bar.d.ts.map +1 -1
  65. package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  66. package/dist/components/chat/chat.d.ts.map +1 -1
  67. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts +12 -0
  68. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts.map +1 -0
  69. package/dist/components/data-table/assets/data-table-row-actions.d.ts +11 -0
  70. package/dist/components/data-table/assets/data-table-row-actions.d.ts.map +1 -0
  71. package/dist/components/data-table/data-table-types.d.ts +52 -1
  72. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  73. package/dist/components/data-table/data-table.d.ts.map +1 -1
  74. package/dist/components/data-table/header/Header.d.ts.map +1 -1
  75. package/dist/components/data-table/header/header-types.d.ts +7 -1
  76. package/dist/components/data-table/header/header-types.d.ts.map +1 -1
  77. package/dist/components/echarts/echarts-graph.d.ts.map +1 -1
  78. package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
  79. package/dist/components/tab-bar/tab-bar-assets.d.ts +1 -0
  80. package/dist/components/tab-bar/tab-bar-assets.d.ts.map +1 -1
  81. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  82. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  83. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts +14 -0
  84. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -0
  85. package/dist/components/workflow-designer/workflow-designer-types.d.ts +40 -7
  86. package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -1
  87. package/dist/components/workflow-designer/workflow-designer-utils.d.ts +80 -1
  88. package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -1
  89. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts +2 -0
  90. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts.map +1 -0
  91. package/dist/components/workflow-designer/workflow-designer.d.ts +4 -3
  92. package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -1
  93. package/dist/{cose-bilkent-S5V4N54A-BhA3VnPW.js → cose-bilkent-JH36ORCC-Qs_Z6zBZ.js} +87 -83
  94. package/dist/cynefin-OW5HDTMX-BJXlKro0.js +3 -0
  95. package/dist/cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js +355 -0
  96. package/dist/{cytoscape.esm-BU21wl3m.js → cytoscape.esm-C5TvPYYm.js} +2749 -2701
  97. package/dist/{dagre-3-RnF0EK.js → dagre-D5csT9sx.js} +144 -146
  98. package/dist/dagre-GXQ25YYZ-Bg7xf6xn.js +425 -0
  99. package/dist/{defaultLocale-DnzPsei5.js → defaultLocale-N-0uLSyg.js} +1 -4
  100. package/dist/diagram-S7CK7UJ4-BuDHTdHA.js +301 -0
  101. package/dist/{diagram-2AECGRRQ-23vM90dy.js → diagram-UQ7AKVKN-uvzJGj43.js} +82 -81
  102. package/dist/{diagram-KO2AKTUF-BEnEQF6b.js → diagram-VSXAHHWV-CrQQCs-B.js} +66 -65
  103. package/dist/{diagram-OG6HWLK6-Cfbv6mIH.js → diagram-VX7I27RA-BNmG1sig.js} +92 -89
  104. package/dist/{diagram-LMA3HP47-OWxAHrmz.js → diagram-Z3DM3KII-B6BrLhP0.js} +21 -20
  105. package/dist/{dist-Btd8EZyy.js → dist-CsrMlyO_.js} +2 -3
  106. package/dist/ebnfDiagram-PWID7BFC-DMx8xAFO.js +100 -0
  107. package/dist/erDiagram-RLTQ6QDP-bkJ9nzVK.js +1966 -0
  108. package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +3 -0
  109. package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +17 -0
  110. package/dist/functional-components/multiple-field/multiple-field-types.d.ts +2 -0
  111. package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
  112. package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
  113. package/dist/functional-components/row/row-types.d.ts +5 -0
  114. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  115. package/dist/functional-components/row/row.d.ts.map +1 -1
  116. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +3 -1
  117. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  118. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  119. package/dist/functional-components/tree-picker/tree-picker-types.d.ts +42 -0
  120. package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -0
  121. package/dist/functional-components/tree-picker/tree-picker.d.ts +3 -0
  122. package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -0
  123. package/dist/{ganttDiagram-6RSMTGT7-CwbJqdwB.js → ganttDiagram-EL5Y4UJY-CL-ywzz_.js} +703 -710
  124. package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +3 -0
  125. package/dist/{gitGraphDiagram-PVQCEYII-mL2WiT98.js → gitGraphDiagram-WWUBYQGX-aXhNDG6P.js} +156 -151
  126. package/dist/{graphlib-VMWSbyYi.js → graphlib-XW-Jr8pF.js} +5 -5
  127. package/dist/index.d.ts +4 -1
  128. package/dist/index.d.ts.map +1 -1
  129. package/dist/info-A6RAGUB7-CmZJKEaW.js +3 -0
  130. package/dist/infoDiagram-27XIBGKW-Je4heBlk.js +20 -0
  131. package/dist/{init-MwSGRDIl.js → init-CsQUQz36.js} +1 -3
  132. package/dist/{ishikawaDiagram-YF4QCWOH-DGOgWzve.js → ishikawaDiagram-5VMMS53U-DK7HlH95.js} +142 -141
  133. package/dist/{journeyDiagram-JHISSGLW-CHVTMdrq.js → journeyDiagram-3NMN7TZE-CpuYEKcB.js} +192 -191
  134. package/dist/{kanban-definition-UN3LZRKU-upKA3b5x.js → kanban-definition-UXKFOSKX-aK8uKmyY.js} +149 -146
  135. package/dist/{katex-D-2KeLwt.js → katex-CT2p8LXT.js} +1627 -1650
  136. package/dist/ketchup2.css +1 -1
  137. package/dist/ketchup2.es.js +34744 -32755
  138. package/dist/{line-DIhSUgmA.js → line-DTqYMLoX.js} +2 -2
  139. package/dist/{linear-DUAteVwl.js → linear-CXc5xaa6.js} +8 -9
  140. package/dist/locale/en/translation.json.d.ts +16 -0
  141. package/dist/locale/it/translation.json.d.ts +16 -0
  142. package/dist/mermaid-parser.core-BwVmI_Rq.js +638 -0
  143. package/dist/{mindmap-definition-RKZ34NQL-C3YkCJDi.js → mindmap-definition-YA3MSWOX-ZMYcmi9J.js} +170 -170
  144. package/dist/{ordinal-D_ZgubzR.js → ordinal-BubEveRk.js} +1 -1
  145. package/dist/packet-AYTQ26CC-B3tgRshR.js +3 -0
  146. package/dist/{path-DGNPZRdx.js → path-CnWkkRiY.js} +10 -11
  147. package/dist/pegDiagram-XKGWAZYB-DsfILwZN.js +94 -0
  148. package/dist/pie-WAS4IAKB-BRiI8kbI.js +3 -0
  149. package/dist/pieDiagram-E7YTZNPT-DcSLcLdd.js +203 -0
  150. package/dist/{quadrantDiagram-W4KKPZXB-C2oA-eGZ.js → quadrantDiagram-AXDQQJYC-DSx3teop.js} +300 -300
  151. package/dist/radar-RG4KPBEZ-ASOMQXFw.js +3 -0
  152. package/dist/railroad-74A4TZTK-oS840SLr.js +3 -0
  153. package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +3 -0
  154. package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +3 -0
  155. package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +3 -0
  156. package/dist/railroadDiagram-O6MQD6OU-jOZRtNDi.js +76 -0
  157. package/dist/{requirementDiagram-4Y6WPE33-BEGryahw.js → requirementDiagram-BXWQKSXE-D14hkkez.js} +176 -173
  158. package/dist/{rough.esm-rcMoXTJj.js → rough.esm-DXYGHN3m.js} +60 -51
  159. package/dist/{sankeyDiagram-5OEKKPKP-VPzKV4zM.js → sankeyDiagram-P5KCCOFB-C0jmknYo.js} +123 -120
  160. package/dist/{sequenceDiagram-3UESZ5HK-Bc30_Cm2.js → sequenceDiagram-WJ2MYXX4-C00egnMz.js} +714 -722
  161. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  162. package/dist/{src-DjDATEq3.js → src-DQoflmwT.js} +499 -509
  163. package/dist/stateDiagram-D77RDMKH-YfzmviNY.js +220 -0
  164. package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +30 -0
  165. package/dist/swimlanes-42K2YHIH-CJcMmxXf.js +4979 -0
  166. package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +31 -0
  167. package/dist/{timeline-definition-PNZ67QCA-1z911Ume.js → timeline-definition-24CTP7MA-D2xfYuSV.js} +220 -219
  168. package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +3 -0
  169. package/dist/treemap-WGGIJYW6-Cjjk75wA.js +3 -0
  170. package/dist/types/translation.d.ts +17 -1
  171. package/dist/types/translation.d.ts.map +1 -1
  172. package/dist/utils/data-structures.d.ts +2 -1
  173. package/dist/utils/data-structures.d.ts.map +1 -1
  174. package/dist/{v4-BK7K-jy_.js → v4-DIjJgmR0.js} +1 -1
  175. package/dist/{vennDiagram-CIIHVFJN-BiLcQ0SR.js → vennDiagram-4TSXK5OY-C4XLgus_.js} +332 -310
  176. package/dist/wardley-WFR3VGLG-BamDiE0x.js +3 -0
  177. package/dist/{wardleyDiagram-YWT4CUSO-Bq-BejOl.js → wardleyDiagram-VM6X3IG4-DFoKuS9s.js} +156 -155
  178. package/dist/{xychartDiagram-2RQKCTM6-B13zquXC.js → xychartDiagram-S5SC5T6Z-BzKKgVBe.js} +740 -574
  179. package/package.json +41 -38
  180. package/dist/arc-w3BipdfE.cjs +0 -1
  181. package/dist/architecture-7EHR7CIX-Bzeobe9Y.cjs +0 -1
  182. package/dist/architecture-7EHR7CIX-C8NPmR2w.js +0 -3
  183. package/dist/architectureDiagram-3BPJPVTR-DlnXl9d5.cjs +0 -36
  184. package/dist/array-DZSRzHA_.cjs +0 -1
  185. package/dist/blockDiagram-GPEHLZMM-BohmRoCC.js +0 -3157
  186. package/dist/blockDiagram-GPEHLZMM-rfyR2Ffl.cjs +0 -132
  187. package/dist/c4Diagram-AAUBKEIU-Du1vqJYZ.cjs +0 -10
  188. package/dist/channel-DJpMBAs-.cjs +0 -1
  189. package/dist/chunk-2J33WTMH-BMqA-riF.js +0 -25
  190. package/dist/chunk-2J33WTMH-BQs9SXq8.cjs +0 -1
  191. package/dist/chunk-3OPIFGDE-Bk_ByTBh.cjs +0 -62
  192. package/dist/chunk-4BX2VUAB-C8VW0QW0.cjs +0 -1
  193. package/dist/chunk-55IACEB6-CNxnI3nm.cjs +0 -1
  194. package/dist/chunk-55IACEB6-CmKDx-YO.js +0 -8
  195. package/dist/chunk-5ZQYHXKU-DMrStm4M.cjs +0 -2
  196. package/dist/chunk-727SXJPM-Dj8nsm0O.cjs +0 -206
  197. package/dist/chunk-AQP2D5EJ-CYuEYK6i.cjs +0 -231
  198. package/dist/chunk-BSJP7CBP-CSCICPww.cjs +0 -1
  199. package/dist/chunk-BSJP7CBP-YsQACkyC.js +0 -82
  200. package/dist/chunk-CSCIHK7Q-BAdl6GW-.cjs +0 -124
  201. package/dist/chunk-FMBD7UC4-BIKI8zae.cjs +0 -15
  202. package/dist/chunk-KSCS5N6A-DsN7gJEf.cjs +0 -10
  203. package/dist/chunk-L5ZTLDWV-BQCNoMVG.js +0 -32
  204. package/dist/chunk-L5ZTLDWV-BbLRyKcx.cjs +0 -1
  205. package/dist/chunk-LZXEDZCA-rjLYyX5U.cjs +0 -1
  206. package/dist/chunk-ND2GUHAM-1o9Sjy2_.cjs +0 -1
  207. package/dist/chunk-NNHCCRGN-qV8bfiMQ.cjs +0 -159
  208. package/dist/chunk-NZK2D7GU-CPxdSJTy.js +0 -67
  209. package/dist/chunk-NZK2D7GU-CRneGIrP.cjs +0 -1
  210. package/dist/chunk-O5CBEL6O-Cd4Z5Dy9.cjs +0 -70
  211. package/dist/chunk-QZHKN3VN-ZJ4hLUIw.cjs +0 -1
  212. package/dist/chunk-WU5MYG2G-DuCEb9G-.js +0 -9
  213. package/dist/chunk-WU5MYG2G-ExiaHFbF.cjs +0 -1
  214. package/dist/chunk-XPW4576I-BybfDrup.cjs +0 -32
  215. package/dist/chunk-XPW4576I-D3DQ47oC.js +0 -1146
  216. package/dist/classDiagram-4FO5ZUOK-CRX1QumH.js +0 -29
  217. package/dist/classDiagram-4FO5ZUOK-yTAlLFG2.cjs +0 -1
  218. package/dist/classDiagram-v2-Q7XG4LA2-oM01mYfB.js +0 -29
  219. package/dist/classDiagram-v2-Q7XG4LA2-yTAlLFG2.cjs +0 -1
  220. package/dist/cose-bilkent-S5V4N54A-D7fhWOP4.cjs +0 -1
  221. package/dist/cytoscape.esm-CElDUMAx.cjs +0 -321
  222. package/dist/dagre-B2BBwKNb.cjs +0 -1
  223. package/dist/dagre-BM42HDAG-DfpR5Mml.js +0 -297
  224. package/dist/dagre-BM42HDAG-kORxgFz_.cjs +0 -4
  225. package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
  226. package/dist/diagram-2AECGRRQ-B0IEGKjr.cjs +0 -43
  227. package/dist/diagram-5GNKFQAL-BEY9x4us.js +0 -101
  228. package/dist/diagram-5GNKFQAL-vb6e35PR.cjs +0 -10
  229. package/dist/diagram-KO2AKTUF-9V_zu-2x.cjs +0 -3
  230. package/dist/diagram-LMA3HP47-BN_geiB9.cjs +0 -24
  231. package/dist/diagram-OG6HWLK6-6OnEK9-6.cjs +0 -24
  232. package/dist/dist-D8RD2QWc.cjs +0 -1
  233. package/dist/erDiagram-TEJ5UH35-6OEXIM6m.js +0 -1700
  234. package/dist/erDiagram-TEJ5UH35-CzsOt0l4.cjs +0 -85
  235. package/dist/eventmodeling-FCH6USID-Cued7Lz2.cjs +0 -1
  236. package/dist/eventmodeling-FCH6USID-mCB8hc7X.js +0 -3
  237. package/dist/flowDiagram-I6XJVG4X-DR1CMtZZ.cjs +0 -162
  238. package/dist/ganttDiagram-6RSMTGT7-C5t5_mjf.cjs +0 -292
  239. package/dist/gitGraph-WXDBUCRP-B23gOjfP.js +0 -3
  240. package/dist/gitGraph-WXDBUCRP-Bi-Y5dA7.cjs +0 -1
  241. package/dist/gitGraphDiagram-PVQCEYII-CLdgm7yJ.cjs +0 -106
  242. package/dist/graphlib-CkkG5MuS.cjs +0 -1
  243. package/dist/info-J43DQDTF-DC3N8SoX.js +0 -3
  244. package/dist/info-J43DQDTF-jRjlWVKj.cjs +0 -1
  245. package/dist/infoDiagram-5YYISTIA-BIM8xaiE.js +0 -19
  246. package/dist/infoDiagram-5YYISTIA-CbnHgs-I.cjs +0 -2
  247. package/dist/init-07zIhv_j.cjs +0 -1
  248. package/dist/ishikawaDiagram-YF4QCWOH-DAWMXD1l.cjs +0 -70
  249. package/dist/journeyDiagram-JHISSGLW-DfnmJPLn.cjs +0 -139
  250. package/dist/kanban-definition-UN3LZRKU-CbeoJJE7.cjs +0 -89
  251. package/dist/katex-CkiTumqg.cjs +0 -257
  252. package/dist/ketchup2.cjs.js +0 -485
  253. package/dist/line-CzwncDY3.cjs +0 -1
  254. package/dist/linear-1lpO_WlJ.cjs +0 -1
  255. package/dist/mermaid-parser.core-ADyJ_PY4.cjs +0 -3
  256. package/dist/mermaid-parser.core-D6xVjl2t.js +0 -373
  257. package/dist/mindmap-definition-RKZ34NQL-C8cZ7xN-.cjs +0 -96
  258. package/dist/ordinal-CUPR-p0T.cjs +0 -1
  259. package/dist/packet-YPE3B663-CGZxZ1Z0.cjs +0 -1
  260. package/dist/packet-YPE3B663-D2JW2EUF.js +0 -3
  261. package/dist/path-Kklx0M1v.cjs +0 -1
  262. package/dist/pie-LRSECV5Y-BHyd33ZA.js +0 -3
  263. package/dist/pie-LRSECV5Y-Ca_qbHEv.cjs +0 -1
  264. package/dist/pieDiagram-4H26LBE5-BvhguaHn.js +0 -165
  265. package/dist/pieDiagram-4H26LBE5-DpDrJBQK.cjs +0 -30
  266. package/dist/quadrantDiagram-W4KKPZXB-hWSN7YfD.cjs +0 -7
  267. package/dist/radar-GUYGQ44K-BpJWFTCm.js +0 -3
  268. package/dist/radar-GUYGQ44K-CYqWSxO_.cjs +0 -1
  269. package/dist/requirementDiagram-4Y6WPE33-GmjmsbiY.cjs +0 -84
  270. package/dist/rough.esm-r0QOSzHM.cjs +0 -1
  271. package/dist/sankeyDiagram-5OEKKPKP-DbGAx-Bm.cjs +0 -40
  272. package/dist/sequenceDiagram-3UESZ5HK-D85rpewi.cjs +0 -162
  273. package/dist/src-DEmZ9bFr.cjs +0 -1
  274. package/dist/stateDiagram-AJRCARHV-Bg4Y3HPa.cjs +0 -1
  275. package/dist/stateDiagram-AJRCARHV-wqjltbKb.js +0 -217
  276. package/dist/stateDiagram-v2-BHNVJYJU-Cgrf5tQC.js +0 -27
  277. package/dist/stateDiagram-v2-BHNVJYJU-D_Tzn4WM.cjs +0 -1
  278. package/dist/timeline-definition-PNZ67QCA-Dpu3hfhP.cjs +0 -120
  279. package/dist/treeView-BLDUP644-C9tQMbiq.js +0 -3
  280. package/dist/treeView-BLDUP644-DKh9BcaT.cjs +0 -1
  281. package/dist/treemap-LRROVOQU-2aferAph.cjs +0 -1
  282. package/dist/treemap-LRROVOQU-CBv3oGC3.js +0 -3
  283. package/dist/v4-Dyp-SQ1c.cjs +0 -1
  284. package/dist/vennDiagram-CIIHVFJN-BLBDqWTG.cjs +0 -34
  285. package/dist/wardley-L42UT6IY-CIM0_V5T.js +0 -3
  286. package/dist/wardley-L42UT6IY-DjjjOB8T.cjs +0 -1
  287. package/dist/wardleyDiagram-YWT4CUSO-dzyAWKiV.cjs +0 -78
  288. package/dist/xychartDiagram-2RQKCTM6-DA3O42Dk.cjs +0 -7
@@ -1,1700 +0,0 @@
1
- import { g as e, h as t, m as n, p as r } from "./src-DjDATEq3.js";
2
- import { H as i, K as a, U as o, a as s, rt as c, v as l, w as u, x as d, y as f } from "./chunk-CSCIHK7Q-BEk3YcEH.js";
3
- import { t as p } from "./channel-C-LAmObA.js";
4
- import { c as m, g as h } from "./chunk-5ZQYHXKU-B_nOC8-n.js";
5
- import "./chunk-BSJP7CBP-YsQACkyC.js";
6
- import "./chunk-L5ZTLDWV-BQCNoMVG.js";
7
- import "./chunk-NZK2D7GU-CPxdSJTy.js";
8
- import "./chunk-O5CBEL6O-DbWeP4Au.js";
9
- import "./chunk-3OPIFGDE-Bs2mXISw.js";
10
- import "./chunk-KSCS5N6A-BemQomLE.js";
11
- import { r as g, t as _ } from "./chunk-LZXEDZCA-J9irjuVP.js";
12
- import { t as v } from "./chunk-55IACEB6-CmKDx-YO.js";
13
- import { t as y } from "./chunk-2J33WTMH-BMqA-riF.js";
14
- //#region node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-TEJ5UH35.mjs
15
- var b = (function() {
16
- var e = /* @__PURE__ */ t(function(e, t, n, r) {
17
- for (n ||= {}, r = e.length; r--; n[e[r]] = t);
18
- return n;
19
- }, "o"), n = [
20
- 6,
21
- 8,
22
- 10,
23
- 22,
24
- 24,
25
- 26,
26
- 28,
27
- 33,
28
- 34,
29
- 35,
30
- 36,
31
- 37,
32
- 40,
33
- 43,
34
- 44,
35
- 48,
36
- 50,
37
- 51,
38
- 52
39
- ], r = [1, 10], i = [1, 11], a = [1, 12], o = [1, 13], s = [1, 23], c = [1, 24], l = [1, 25], u = [1, 26], d = [1, 27], f = [1, 19], p = [1, 28], m = [1, 29], h = [1, 20], g = [1, 18], _ = [1, 21], v = [1, 22], y = [1, 36], b = [1, 37], x = [1, 38], S = [1, 39], C = [1, 40], w = [
40
- 6,
41
- 8,
42
- 10,
43
- 13,
44
- 15,
45
- 17,
46
- 20,
47
- 21,
48
- 22,
49
- 24,
50
- 26,
51
- 28,
52
- 33,
53
- 34,
54
- 35,
55
- 36,
56
- 37,
57
- 40,
58
- 43,
59
- 44,
60
- 48,
61
- 50,
62
- 51,
63
- 52,
64
- 65,
65
- 66,
66
- 67,
67
- 68,
68
- 69
69
- ], T = [1, 45], E = [1, 46], D = [1, 55], O = [
70
- 40,
71
- 48,
72
- 50,
73
- 51,
74
- 52,
75
- 70,
76
- 71
77
- ], k = [1, 66], A = [1, 64], j = [1, 61], M = [1, 65], N = [1, 67], P = [
78
- 6,
79
- 8,
80
- 10,
81
- 13,
82
- 17,
83
- 22,
84
- 24,
85
- 26,
86
- 28,
87
- 33,
88
- 34,
89
- 35,
90
- 36,
91
- 37,
92
- 40,
93
- 41,
94
- 42,
95
- 43,
96
- 44,
97
- 48,
98
- 49,
99
- 50,
100
- 51,
101
- 52,
102
- 65,
103
- 66,
104
- 67,
105
- 68,
106
- 69
107
- ], F = [
108
- 65,
109
- 66,
110
- 67,
111
- 68,
112
- 69
113
- ], I = [1, 84], L = [1, 83], R = [1, 81], z = [1, 82], B = [
114
- 6,
115
- 10,
116
- 42,
117
- 47
118
- ], V = [
119
- 6,
120
- 10,
121
- 13,
122
- 41,
123
- 42,
124
- 47,
125
- 48,
126
- 49
127
- ], H = [1, 92], U = [1, 91], W = [1, 90], G = [19, 58], K = [1, 101], q = [1, 100], J = [
128
- 19,
129
- 58,
130
- 60,
131
- 62
132
- ], Y = {
133
- trace: /* @__PURE__ */ t(function() {}, "trace"),
134
- yy: {},
135
- symbols_: {
136
- error: 2,
137
- start: 3,
138
- ER_DIAGRAM: 4,
139
- document: 5,
140
- EOF: 6,
141
- line: 7,
142
- SPACE: 8,
143
- statement: 9,
144
- NEWLINE: 10,
145
- entityName: 11,
146
- relSpec: 12,
147
- COLON: 13,
148
- role: 14,
149
- STYLE_SEPARATOR: 15,
150
- idList: 16,
151
- BLOCK_START: 17,
152
- attributes: 18,
153
- BLOCK_STOP: 19,
154
- SQS: 20,
155
- SQE: 21,
156
- title: 22,
157
- title_value: 23,
158
- acc_title: 24,
159
- acc_title_value: 25,
160
- acc_descr: 26,
161
- acc_descr_value: 27,
162
- acc_descr_multiline_value: 28,
163
- direction: 29,
164
- classDefStatement: 30,
165
- classStatement: 31,
166
- styleStatement: 32,
167
- direction_tb: 33,
168
- direction_bt: 34,
169
- direction_rl: 35,
170
- direction_lr: 36,
171
- CLASSDEF: 37,
172
- stylesOpt: 38,
173
- separator: 39,
174
- UNICODE_TEXT: 40,
175
- STYLE_TEXT: 41,
176
- COMMA: 42,
177
- CLASS: 43,
178
- STYLE: 44,
179
- style: 45,
180
- styleComponent: 46,
181
- SEMI: 47,
182
- NUM: 48,
183
- BRKT: 49,
184
- ENTITY_NAME: 50,
185
- DECIMAL_NUM: 51,
186
- ENTITY_ONE: 52,
187
- attribute: 53,
188
- attributeType: 54,
189
- attributeName: 55,
190
- attributeKeyTypeList: 56,
191
- attributeComment: 57,
192
- ATTRIBUTE_WORD: 58,
193
- attributeKeyType: 59,
194
- ",": 60,
195
- ATTRIBUTE_KEY: 61,
196
- COMMENT: 62,
197
- cardinality: 63,
198
- relType: 64,
199
- ZERO_OR_ONE: 65,
200
- ZERO_OR_MORE: 66,
201
- ONE_OR_MORE: 67,
202
- ONLY_ONE: 68,
203
- MD_PARENT: 69,
204
- NON_IDENTIFYING: 70,
205
- IDENTIFYING: 71,
206
- WORD: 72,
207
- $accept: 0,
208
- $end: 1
209
- },
210
- terminals_: {
211
- 2: "error",
212
- 4: "ER_DIAGRAM",
213
- 6: "EOF",
214
- 8: "SPACE",
215
- 10: "NEWLINE",
216
- 13: "COLON",
217
- 15: "STYLE_SEPARATOR",
218
- 17: "BLOCK_START",
219
- 19: "BLOCK_STOP",
220
- 20: "SQS",
221
- 21: "SQE",
222
- 22: "title",
223
- 23: "title_value",
224
- 24: "acc_title",
225
- 25: "acc_title_value",
226
- 26: "acc_descr",
227
- 27: "acc_descr_value",
228
- 28: "acc_descr_multiline_value",
229
- 33: "direction_tb",
230
- 34: "direction_bt",
231
- 35: "direction_rl",
232
- 36: "direction_lr",
233
- 37: "CLASSDEF",
234
- 40: "UNICODE_TEXT",
235
- 41: "STYLE_TEXT",
236
- 42: "COMMA",
237
- 43: "CLASS",
238
- 44: "STYLE",
239
- 47: "SEMI",
240
- 48: "NUM",
241
- 49: "BRKT",
242
- 50: "ENTITY_NAME",
243
- 51: "DECIMAL_NUM",
244
- 52: "ENTITY_ONE",
245
- 58: "ATTRIBUTE_WORD",
246
- 60: ",",
247
- 61: "ATTRIBUTE_KEY",
248
- 62: "COMMENT",
249
- 65: "ZERO_OR_ONE",
250
- 66: "ZERO_OR_MORE",
251
- 67: "ONE_OR_MORE",
252
- 68: "ONLY_ONE",
253
- 69: "MD_PARENT",
254
- 70: "NON_IDENTIFYING",
255
- 71: "IDENTIFYING",
256
- 72: "WORD"
257
- },
258
- productions_: [
259
- 0,
260
- [3, 3],
261
- [5, 0],
262
- [5, 2],
263
- [7, 2],
264
- [7, 1],
265
- [7, 1],
266
- [7, 1],
267
- [9, 5],
268
- [9, 9],
269
- [9, 7],
270
- [9, 7],
271
- [9, 4],
272
- [9, 6],
273
- [9, 3],
274
- [9, 5],
275
- [9, 1],
276
- [9, 3],
277
- [9, 7],
278
- [9, 9],
279
- [9, 6],
280
- [9, 8],
281
- [9, 4],
282
- [9, 6],
283
- [9, 2],
284
- [9, 2],
285
- [9, 2],
286
- [9, 1],
287
- [9, 1],
288
- [9, 1],
289
- [9, 1],
290
- [9, 1],
291
- [29, 1],
292
- [29, 1],
293
- [29, 1],
294
- [29, 1],
295
- [30, 4],
296
- [16, 1],
297
- [16, 1],
298
- [16, 3],
299
- [16, 3],
300
- [31, 3],
301
- [32, 4],
302
- [38, 1],
303
- [38, 3],
304
- [45, 1],
305
- [45, 2],
306
- [39, 1],
307
- [39, 1],
308
- [39, 1],
309
- [46, 1],
310
- [46, 1],
311
- [46, 1],
312
- [46, 1],
313
- [11, 1],
314
- [11, 1],
315
- [11, 1],
316
- [11, 1],
317
- [11, 1],
318
- [18, 1],
319
- [18, 2],
320
- [53, 2],
321
- [53, 3],
322
- [53, 3],
323
- [53, 4],
324
- [54, 1],
325
- [55, 1],
326
- [56, 1],
327
- [56, 3],
328
- [59, 1],
329
- [57, 1],
330
- [12, 3],
331
- [63, 1],
332
- [63, 1],
333
- [63, 1],
334
- [63, 1],
335
- [63, 1],
336
- [64, 1],
337
- [64, 1],
338
- [14, 1],
339
- [14, 1],
340
- [14, 1]
341
- ],
342
- performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
343
- var s = a.length - 1;
344
- switch (i) {
345
- case 1: break;
346
- case 2:
347
- this.$ = [];
348
- break;
349
- case 3:
350
- a[s - 1].push(a[s]), this.$ = a[s - 1];
351
- break;
352
- case 4:
353
- case 5:
354
- this.$ = a[s];
355
- break;
356
- case 6:
357
- case 7:
358
- this.$ = [];
359
- break;
360
- case 8:
361
- r.addEntity(a[s - 4]), r.addEntity(a[s - 2]), r.addRelationship(a[s - 4], a[s], a[s - 2], a[s - 3]);
362
- break;
363
- case 9:
364
- r.addEntity(a[s - 8]), r.addEntity(a[s - 4]), r.addRelationship(a[s - 8], a[s], a[s - 4], a[s - 5]), r.setClass([a[s - 8]], a[s - 6]), r.setClass([a[s - 4]], a[s - 2]);
365
- break;
366
- case 10:
367
- r.addEntity(a[s - 6]), r.addEntity(a[s - 2]), r.addRelationship(a[s - 6], a[s], a[s - 2], a[s - 3]), r.setClass([a[s - 6]], a[s - 4]);
368
- break;
369
- case 11:
370
- r.addEntity(a[s - 6]), r.addEntity(a[s - 4]), r.addRelationship(a[s - 6], a[s], a[s - 4], a[s - 5]), r.setClass([a[s - 4]], a[s - 2]);
371
- break;
372
- case 12:
373
- r.addEntity(a[s - 3]), r.addAttributes(a[s - 3], a[s - 1]);
374
- break;
375
- case 13:
376
- r.addEntity(a[s - 5]), r.addAttributes(a[s - 5], a[s - 1]), r.setClass([a[s - 5]], a[s - 3]);
377
- break;
378
- case 14:
379
- r.addEntity(a[s - 2]);
380
- break;
381
- case 15:
382
- r.addEntity(a[s - 4]), r.setClass([a[s - 4]], a[s - 2]);
383
- break;
384
- case 16:
385
- r.addEntity(a[s]);
386
- break;
387
- case 17:
388
- r.addEntity(a[s - 2]), r.setClass([a[s - 2]], a[s]);
389
- break;
390
- case 18:
391
- r.addEntity(a[s - 6], a[s - 4]), r.addAttributes(a[s - 6], a[s - 1]);
392
- break;
393
- case 19:
394
- r.addEntity(a[s - 8], a[s - 6]), r.addAttributes(a[s - 8], a[s - 1]), r.setClass([a[s - 8]], a[s - 3]);
395
- break;
396
- case 20:
397
- r.addEntity(a[s - 5], a[s - 3]);
398
- break;
399
- case 21:
400
- r.addEntity(a[s - 7], a[s - 5]), r.setClass([a[s - 7]], a[s - 2]);
401
- break;
402
- case 22:
403
- r.addEntity(a[s - 3], a[s - 1]);
404
- break;
405
- case 23:
406
- r.addEntity(a[s - 5], a[s - 3]), r.setClass([a[s - 5]], a[s]);
407
- break;
408
- case 24:
409
- case 25:
410
- this.$ = a[s].trim(), r.setAccTitle(this.$);
411
- break;
412
- case 26:
413
- case 27:
414
- this.$ = a[s].trim(), r.setAccDescription(this.$);
415
- break;
416
- case 32:
417
- r.setDirection("TB");
418
- break;
419
- case 33:
420
- r.setDirection("BT");
421
- break;
422
- case 34:
423
- r.setDirection("RL");
424
- break;
425
- case 35:
426
- r.setDirection("LR");
427
- break;
428
- case 36:
429
- this.$ = a[s - 3], r.addClass(a[s - 2], a[s - 1]);
430
- break;
431
- case 37:
432
- case 38:
433
- case 59:
434
- case 67:
435
- this.$ = [a[s]];
436
- break;
437
- case 39:
438
- case 40:
439
- this.$ = a[s - 2].concat([a[s]]);
440
- break;
441
- case 41:
442
- this.$ = a[s - 2], r.setClass(a[s - 1], a[s]);
443
- break;
444
- case 42:
445
- this.$ = a[s - 3], r.addCssStyles(a[s - 2], a[s - 1]);
446
- break;
447
- case 43:
448
- this.$ = [a[s]];
449
- break;
450
- case 44:
451
- a[s - 2].push(a[s]), this.$ = a[s - 2];
452
- break;
453
- case 46:
454
- this.$ = a[s - 1] + a[s];
455
- break;
456
- case 54:
457
- case 79:
458
- case 80:
459
- this.$ = a[s].replace(/"/g, "");
460
- break;
461
- case 55:
462
- case 56:
463
- case 57:
464
- case 58:
465
- case 81:
466
- this.$ = a[s];
467
- break;
468
- case 60:
469
- a[s].push(a[s - 1]), this.$ = a[s];
470
- break;
471
- case 61:
472
- this.$ = {
473
- type: a[s - 1],
474
- name: a[s]
475
- };
476
- break;
477
- case 62:
478
- this.$ = {
479
- type: a[s - 2],
480
- name: a[s - 1],
481
- keys: a[s]
482
- };
483
- break;
484
- case 63:
485
- this.$ = {
486
- type: a[s - 2],
487
- name: a[s - 1],
488
- comment: a[s]
489
- };
490
- break;
491
- case 64:
492
- this.$ = {
493
- type: a[s - 3],
494
- name: a[s - 2],
495
- keys: a[s - 1],
496
- comment: a[s]
497
- };
498
- break;
499
- case 65:
500
- case 66:
501
- case 69:
502
- this.$ = a[s];
503
- break;
504
- case 68:
505
- a[s - 2].push(a[s]), this.$ = a[s - 2];
506
- break;
507
- case 70:
508
- this.$ = a[s].replace(/"/g, "");
509
- break;
510
- case 71:
511
- this.$ = {
512
- cardA: a[s],
513
- relType: a[s - 1],
514
- cardB: a[s - 2]
515
- };
516
- break;
517
- case 72:
518
- this.$ = r.Cardinality.ZERO_OR_ONE;
519
- break;
520
- case 73:
521
- this.$ = r.Cardinality.ZERO_OR_MORE;
522
- break;
523
- case 74:
524
- this.$ = r.Cardinality.ONE_OR_MORE;
525
- break;
526
- case 75:
527
- this.$ = r.Cardinality.ONLY_ONE;
528
- break;
529
- case 76:
530
- this.$ = r.Cardinality.MD_PARENT;
531
- break;
532
- case 77:
533
- this.$ = r.Identification.NON_IDENTIFYING;
534
- break;
535
- case 78:
536
- this.$ = r.Identification.IDENTIFYING;
537
- break;
538
- }
539
- }, "anonymous"),
540
- table: [
541
- {
542
- 3: 1,
543
- 4: [1, 2]
544
- },
545
- { 1: [3] },
546
- e(n, [2, 2], { 5: 3 }),
547
- {
548
- 6: [1, 4],
549
- 7: 5,
550
- 8: [1, 6],
551
- 9: 7,
552
- 10: [1, 8],
553
- 11: 9,
554
- 22: r,
555
- 24: i,
556
- 26: a,
557
- 28: o,
558
- 29: 14,
559
- 30: 15,
560
- 31: 16,
561
- 32: 17,
562
- 33: s,
563
- 34: c,
564
- 35: l,
565
- 36: u,
566
- 37: d,
567
- 40: f,
568
- 43: p,
569
- 44: m,
570
- 48: h,
571
- 50: g,
572
- 51: _,
573
- 52: v
574
- },
575
- e(n, [2, 7], { 1: [2, 1] }),
576
- e(n, [2, 3]),
577
- {
578
- 9: 30,
579
- 11: 9,
580
- 22: r,
581
- 24: i,
582
- 26: a,
583
- 28: o,
584
- 29: 14,
585
- 30: 15,
586
- 31: 16,
587
- 32: 17,
588
- 33: s,
589
- 34: c,
590
- 35: l,
591
- 36: u,
592
- 37: d,
593
- 40: f,
594
- 43: p,
595
- 44: m,
596
- 48: h,
597
- 50: g,
598
- 51: _,
599
- 52: v
600
- },
601
- e(n, [2, 5]),
602
- e(n, [2, 6]),
603
- e(n, [2, 16], {
604
- 12: 31,
605
- 63: 35,
606
- 15: [1, 32],
607
- 17: [1, 33],
608
- 20: [1, 34],
609
- 65: y,
610
- 66: b,
611
- 67: x,
612
- 68: S,
613
- 69: C
614
- }),
615
- { 23: [1, 41] },
616
- { 25: [1, 42] },
617
- { 27: [1, 43] },
618
- e(n, [2, 27]),
619
- e(n, [2, 28]),
620
- e(n, [2, 29]),
621
- e(n, [2, 30]),
622
- e(n, [2, 31]),
623
- e(w, [2, 54]),
624
- e(w, [2, 55]),
625
- e(w, [2, 56]),
626
- e(w, [2, 57]),
627
- e(w, [2, 58]),
628
- e(n, [2, 32]),
629
- e(n, [2, 33]),
630
- e(n, [2, 34]),
631
- e(n, [2, 35]),
632
- {
633
- 16: 44,
634
- 40: T,
635
- 41: E
636
- },
637
- {
638
- 16: 47,
639
- 40: T,
640
- 41: E
641
- },
642
- {
643
- 16: 48,
644
- 40: T,
645
- 41: E
646
- },
647
- e(n, [2, 4]),
648
- {
649
- 11: 49,
650
- 40: f,
651
- 48: h,
652
- 50: g,
653
- 51: _,
654
- 52: v
655
- },
656
- {
657
- 16: 50,
658
- 40: T,
659
- 41: E
660
- },
661
- {
662
- 18: 51,
663
- 19: [1, 52],
664
- 53: 53,
665
- 54: 54,
666
- 58: D
667
- },
668
- {
669
- 11: 56,
670
- 40: f,
671
- 48: h,
672
- 50: g,
673
- 51: _,
674
- 52: v
675
- },
676
- {
677
- 64: 57,
678
- 70: [1, 58],
679
- 71: [1, 59]
680
- },
681
- e(O, [2, 72]),
682
- e(O, [2, 73]),
683
- e(O, [2, 74]),
684
- e(O, [2, 75]),
685
- e(O, [2, 76]),
686
- e(n, [2, 24]),
687
- e(n, [2, 25]),
688
- e(n, [2, 26]),
689
- {
690
- 13: k,
691
- 38: 60,
692
- 41: A,
693
- 42: j,
694
- 45: 62,
695
- 46: 63,
696
- 48: M,
697
- 49: N
698
- },
699
- e(P, [2, 37]),
700
- e(P, [2, 38]),
701
- {
702
- 16: 68,
703
- 40: T,
704
- 41: E,
705
- 42: j
706
- },
707
- {
708
- 13: k,
709
- 38: 69,
710
- 41: A,
711
- 42: j,
712
- 45: 62,
713
- 46: 63,
714
- 48: M,
715
- 49: N
716
- },
717
- {
718
- 13: [1, 70],
719
- 15: [1, 71]
720
- },
721
- e(n, [2, 17], {
722
- 63: 35,
723
- 12: 72,
724
- 17: [1, 73],
725
- 42: j,
726
- 65: y,
727
- 66: b,
728
- 67: x,
729
- 68: S,
730
- 69: C
731
- }),
732
- { 19: [1, 74] },
733
- e(n, [2, 14]),
734
- {
735
- 18: 75,
736
- 19: [2, 59],
737
- 53: 53,
738
- 54: 54,
739
- 58: D
740
- },
741
- {
742
- 55: 76,
743
- 58: [1, 77]
744
- },
745
- { 58: [2, 65] },
746
- { 21: [1, 78] },
747
- {
748
- 63: 79,
749
- 65: y,
750
- 66: b,
751
- 67: x,
752
- 68: S,
753
- 69: C
754
- },
755
- e(F, [2, 77]),
756
- e(F, [2, 78]),
757
- {
758
- 6: I,
759
- 10: L,
760
- 39: 80,
761
- 42: R,
762
- 47: z
763
- },
764
- {
765
- 40: [1, 85],
766
- 41: [1, 86]
767
- },
768
- e(B, [2, 43], {
769
- 46: 87,
770
- 13: k,
771
- 41: A,
772
- 48: M,
773
- 49: N
774
- }),
775
- e(V, [2, 45]),
776
- e(V, [2, 50]),
777
- e(V, [2, 51]),
778
- e(V, [2, 52]),
779
- e(V, [2, 53]),
780
- e(n, [2, 41], { 42: j }),
781
- {
782
- 6: I,
783
- 10: L,
784
- 39: 88,
785
- 42: R,
786
- 47: z
787
- },
788
- {
789
- 14: 89,
790
- 40: H,
791
- 50: U,
792
- 72: W
793
- },
794
- {
795
- 16: 93,
796
- 40: T,
797
- 41: E
798
- },
799
- {
800
- 11: 94,
801
- 40: f,
802
- 48: h,
803
- 50: g,
804
- 51: _,
805
- 52: v
806
- },
807
- {
808
- 18: 95,
809
- 19: [1, 96],
810
- 53: 53,
811
- 54: 54,
812
- 58: D
813
- },
814
- e(n, [2, 12]),
815
- { 19: [2, 60] },
816
- e(G, [2, 61], {
817
- 56: 97,
818
- 57: 98,
819
- 59: 99,
820
- 61: K,
821
- 62: q
822
- }),
823
- e([
824
- 19,
825
- 58,
826
- 61,
827
- 62
828
- ], [2, 66]),
829
- e(n, [2, 22], {
830
- 15: [1, 103],
831
- 17: [1, 102]
832
- }),
833
- e([
834
- 40,
835
- 48,
836
- 50,
837
- 51,
838
- 52
839
- ], [2, 71]),
840
- e(n, [2, 36]),
841
- {
842
- 13: k,
843
- 41: A,
844
- 45: 104,
845
- 46: 63,
846
- 48: M,
847
- 49: N
848
- },
849
- e(n, [2, 47]),
850
- e(n, [2, 48]),
851
- e(n, [2, 49]),
852
- e(P, [2, 39]),
853
- e(P, [2, 40]),
854
- e(V, [2, 46]),
855
- e(n, [2, 42]),
856
- e(n, [2, 8]),
857
- e(n, [2, 79]),
858
- e(n, [2, 80]),
859
- e(n, [2, 81]),
860
- {
861
- 13: [1, 105],
862
- 42: j
863
- },
864
- {
865
- 13: [1, 107],
866
- 15: [1, 106]
867
- },
868
- { 19: [1, 108] },
869
- e(n, [2, 15]),
870
- e(G, [2, 62], {
871
- 57: 109,
872
- 60: [1, 110],
873
- 62: q
874
- }),
875
- e(G, [2, 63]),
876
- e(J, [2, 67]),
877
- e(G, [2, 70]),
878
- e(J, [2, 69]),
879
- {
880
- 18: 111,
881
- 19: [1, 112],
882
- 53: 53,
883
- 54: 54,
884
- 58: D
885
- },
886
- {
887
- 16: 113,
888
- 40: T,
889
- 41: E
890
- },
891
- e(B, [2, 44], {
892
- 46: 87,
893
- 13: k,
894
- 41: A,
895
- 48: M,
896
- 49: N
897
- }),
898
- {
899
- 14: 114,
900
- 40: H,
901
- 50: U,
902
- 72: W
903
- },
904
- {
905
- 16: 115,
906
- 40: T,
907
- 41: E
908
- },
909
- {
910
- 14: 116,
911
- 40: H,
912
- 50: U,
913
- 72: W
914
- },
915
- e(n, [2, 13]),
916
- e(G, [2, 64]),
917
- {
918
- 59: 117,
919
- 61: K
920
- },
921
- { 19: [1, 118] },
922
- e(n, [2, 20]),
923
- e(n, [2, 23], {
924
- 17: [1, 119],
925
- 42: j
926
- }),
927
- e(n, [2, 11]),
928
- {
929
- 13: [1, 120],
930
- 42: j
931
- },
932
- e(n, [2, 10]),
933
- e(J, [2, 68]),
934
- e(n, [2, 18]),
935
- {
936
- 18: 121,
937
- 19: [1, 122],
938
- 53: 53,
939
- 54: 54,
940
- 58: D
941
- },
942
- {
943
- 14: 123,
944
- 40: H,
945
- 50: U,
946
- 72: W
947
- },
948
- { 19: [1, 124] },
949
- e(n, [2, 21]),
950
- e(n, [2, 9]),
951
- e(n, [2, 19])
952
- ],
953
- defaultActions: {
954
- 55: [2, 65],
955
- 75: [2, 60]
956
- },
957
- parseError: /* @__PURE__ */ t(function(e, t) {
958
- if (t.recoverable) this.trace(e);
959
- else {
960
- var n = Error(e);
961
- throw n.hash = t, n;
962
- }
963
- }, "parseError"),
964
- parse: /* @__PURE__ */ t(function(e) {
965
- var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
966
- for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
967
- h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
968
- var v = h.yylloc;
969
- o.push(v);
970
- var y = h.options && h.options.ranges;
971
- typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
972
- function b(e) {
973
- r.length -= 2 * e, a.length -= e, o.length -= e;
974
- }
975
- t(b, "popStack");
976
- function x() {
977
- var e = i.pop() || h.lex() || p;
978
- return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
979
- }
980
- t(x, "lex");
981
- for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
982
- if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
983
- var M = "";
984
- for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
985
- M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
986
- text: h.match,
987
- token: this.terminals_[S] || S,
988
- line: h.yylineno,
989
- loc: v,
990
- expected: j
991
- });
992
- }
993
- if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
994
- switch (T[0]) {
995
- case 1:
996
- r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
997
- break;
998
- case 2:
999
- if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
1000
- first_line: o[o.length - (k || 1)].first_line,
1001
- last_line: o[o.length - 1].last_line,
1002
- first_column: o[o.length - (k || 1)].first_column,
1003
- last_column: o[o.length - 1].last_column
1004
- }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
1005
- c,
1006
- u,
1007
- l,
1008
- g.yy,
1009
- T[1],
1010
- a,
1011
- o
1012
- ].concat(m)), E !== void 0) return E;
1013
- k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
1014
- break;
1015
- case 3: return !0;
1016
- }
1017
- }
1018
- return !0;
1019
- }, "parse")
1020
- };
1021
- Y.lexer = /* @__PURE__ */ (function() {
1022
- return {
1023
- EOF: 1,
1024
- parseError: /* @__PURE__ */ t(function(e, t) {
1025
- if (this.yy.parser) this.yy.parser.parseError(e, t);
1026
- else throw Error(e);
1027
- }, "parseError"),
1028
- setInput: /* @__PURE__ */ t(function(e, t) {
1029
- return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1030
- first_line: 1,
1031
- first_column: 0,
1032
- last_line: 1,
1033
- last_column: 0
1034
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1035
- }, "setInput"),
1036
- input: /* @__PURE__ */ t(function() {
1037
- var e = this._input[0];
1038
- return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
1039
- }, "input"),
1040
- unput: /* @__PURE__ */ t(function(e) {
1041
- var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1042
- this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1043
- var r = this.match.split(/(?:\r\n?|\n)/g);
1044
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
1045
- var i = this.yylloc.range;
1046
- return this.yylloc = {
1047
- first_line: this.yylloc.first_line,
1048
- last_line: this.yylineno + 1,
1049
- first_column: this.yylloc.first_column,
1050
- last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
1051
- }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1052
- }, "unput"),
1053
- more: /* @__PURE__ */ t(function() {
1054
- return this._more = !0, this;
1055
- }, "more"),
1056
- reject: /* @__PURE__ */ t(function() {
1057
- if (this.options.backtrack_lexer) this._backtrack = !0;
1058
- else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
1059
- text: "",
1060
- token: null,
1061
- line: this.yylineno
1062
- });
1063
- return this;
1064
- }, "reject"),
1065
- less: /* @__PURE__ */ t(function(e) {
1066
- this.unput(this.match.slice(e));
1067
- }, "less"),
1068
- pastInput: /* @__PURE__ */ t(function() {
1069
- var e = this.matched.substr(0, this.matched.length - this.match.length);
1070
- return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1071
- }, "pastInput"),
1072
- upcomingInput: /* @__PURE__ */ t(function() {
1073
- var e = this.match;
1074
- return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1075
- }, "upcomingInput"),
1076
- showPosition: /* @__PURE__ */ t(function() {
1077
- var e = this.pastInput(), t = Array(e.length + 1).join("-");
1078
- return e + this.upcomingInput() + "\n" + t + "^";
1079
- }, "showPosition"),
1080
- test_match: /* @__PURE__ */ t(function(e, t) {
1081
- var n, r, i;
1082
- if (this.options.backtrack_lexer && (i = {
1083
- yylineno: this.yylineno,
1084
- yylloc: {
1085
- first_line: this.yylloc.first_line,
1086
- last_line: this.last_line,
1087
- first_column: this.yylloc.first_column,
1088
- last_column: this.yylloc.last_column
1089
- },
1090
- yytext: this.yytext,
1091
- match: this.match,
1092
- matches: this.matches,
1093
- matched: this.matched,
1094
- yyleng: this.yyleng,
1095
- offset: this.offset,
1096
- _more: this._more,
1097
- _input: this._input,
1098
- yy: this.yy,
1099
- conditionStack: this.conditionStack.slice(0),
1100
- done: this.done
1101
- }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
1102
- first_line: this.yylloc.last_line,
1103
- last_line: this.yylineno + 1,
1104
- first_column: this.yylloc.last_column,
1105
- last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
1106
- }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
1107
- if (this._backtrack) {
1108
- for (var a in i) this[a] = i[a];
1109
- return !1;
1110
- }
1111
- return !1;
1112
- }, "test_match"),
1113
- next: /* @__PURE__ */ t(function() {
1114
- if (this.done) return this.EOF;
1115
- this._input || (this.done = !0);
1116
- var e, t, n, r;
1117
- this._more || (this.yytext = "", this.match = "");
1118
- for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
1119
- if (t = n, r = a, this.options.backtrack_lexer) {
1120
- if (e = this.test_match(n, i[a]), e !== !1) return e;
1121
- if (this._backtrack) {
1122
- t = !1;
1123
- continue;
1124
- } else return !1;
1125
- } else if (!this.options.flex) break;
1126
- }
1127
- return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1128
- text: "",
1129
- token: null,
1130
- line: this.yylineno
1131
- });
1132
- }, "next"),
1133
- lex: /* @__PURE__ */ t(function() {
1134
- return this.next() || this.lex();
1135
- }, "lex"),
1136
- begin: /* @__PURE__ */ t(function(e) {
1137
- this.conditionStack.push(e);
1138
- }, "begin"),
1139
- popState: /* @__PURE__ */ t(function() {
1140
- return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1141
- }, "popState"),
1142
- _currentRules: /* @__PURE__ */ t(function() {
1143
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1144
- }, "_currentRules"),
1145
- topState: /* @__PURE__ */ t(function(e) {
1146
- return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1147
- }, "topState"),
1148
- pushState: /* @__PURE__ */ t(function(e) {
1149
- this.begin(e);
1150
- }, "pushState"),
1151
- stateStackSize: /* @__PURE__ */ t(function() {
1152
- return this.conditionStack.length;
1153
- }, "stateStackSize"),
1154
- options: { "case-insensitive": !0 },
1155
- performAction: /* @__PURE__ */ t(function(e, t, n, r) {
1156
- switch (n) {
1157
- case 0: return this.begin("acc_title"), 24;
1158
- case 1: return this.popState(), "acc_title_value";
1159
- case 2: return this.begin("acc_descr"), 26;
1160
- case 3: return this.popState(), "acc_descr_value";
1161
- case 4:
1162
- this.begin("acc_descr_multiline");
1163
- break;
1164
- case 5:
1165
- this.popState();
1166
- break;
1167
- case 6: return "acc_descr_multiline_value";
1168
- case 7: return 33;
1169
- case 8: return 34;
1170
- case 9: return 35;
1171
- case 10: return 36;
1172
- case 11: return 10;
1173
- case 12: break;
1174
- case 13: return 8;
1175
- case 14: return 50;
1176
- case 15: return 72;
1177
- case 16: return 4;
1178
- case 17: return this.begin("block"), 17;
1179
- case 18: return 49;
1180
- case 19: return 49;
1181
- case 20: return 42;
1182
- case 21: return 15;
1183
- case 22: return 13;
1184
- case 23: break;
1185
- case 24: return 61;
1186
- case 25: return 58;
1187
- case 26: return 58;
1188
- case 27: return 62;
1189
- case 28: break;
1190
- case 29: return this.popState(), 19;
1191
- case 30: return t.yytext[0];
1192
- case 31: return 20;
1193
- case 32: return 21;
1194
- case 33: return this.begin("style"), 44;
1195
- case 34: return this.popState(), 10;
1196
- case 35: break;
1197
- case 36: return 13;
1198
- case 37: return 42;
1199
- case 38: return 49;
1200
- case 39: return this.begin("style"), 37;
1201
- case 40: return 43;
1202
- case 41: return 65;
1203
- case 42: return 67;
1204
- case 43: return 67;
1205
- case 44: return 67;
1206
- case 45: return 65;
1207
- case 46: return 65;
1208
- case 47: return 66;
1209
- case 48: return 66;
1210
- case 49: return 66;
1211
- case 50: return 66;
1212
- case 51: return 66;
1213
- case 52: return 67;
1214
- case 53: return 66;
1215
- case 54: return 67;
1216
- case 55: return 68;
1217
- case 56: return 68;
1218
- case 57: return 51;
1219
- case 58: return 68;
1220
- case 59: return 68;
1221
- case 60: return 68;
1222
- case 61: return 52;
1223
- case 62: return 48;
1224
- case 63: return 68;
1225
- case 64: return 65;
1226
- case 65: return 66;
1227
- case 66: return 67;
1228
- case 67: return 69;
1229
- case 68: return 70;
1230
- case 69: return 71;
1231
- case 70: return 71;
1232
- case 71: return 70;
1233
- case 72: return 70;
1234
- case 73: return 70;
1235
- case 74: return 41;
1236
- case 75: return 47;
1237
- case 76: return 40;
1238
- case 77: return t.yytext[0];
1239
- case 78: return 6;
1240
- }
1241
- }, "anonymous"),
1242
- rules: [
1243
- /^(?:accTitle\s*:\s*)/i,
1244
- /^(?:(?!\n||)*[^\n]*)/i,
1245
- /^(?:accDescr\s*:\s*)/i,
1246
- /^(?:(?!\n||)*[^\n]*)/i,
1247
- /^(?:accDescr\s*\{\s*)/i,
1248
- /^(?:[\}])/i,
1249
- /^(?:[^\}]*)/i,
1250
- /^(?:.*direction\s+TB[^\n]*)/i,
1251
- /^(?:.*direction\s+BT[^\n]*)/i,
1252
- /^(?:.*direction\s+RL[^\n]*)/i,
1253
- /^(?:.*direction\s+LR[^\n]*)/i,
1254
- /^(?:[\n]+)/i,
1255
- /^(?:\s+)/i,
1256
- /^(?:[\s]+)/i,
1257
- /^(?:"[^"%\r\n\v\b\\]+")/i,
1258
- /^(?:"[^"]*")/i,
1259
- /^(?:erDiagram\b)/i,
1260
- /^(?:\{)/i,
1261
- /^(?:#)/i,
1262
- /^(?:#)/i,
1263
- /^(?:,)/i,
1264
- /^(?::::)/i,
1265
- /^(?::)/i,
1266
- /^(?:\s+)/i,
1267
- /^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,
1268
- /^(?:([^\s]*)[~].*[~]([^\s]*))/i,
1269
- /^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\u00C0-\uFFFF\*]*))/i,
1270
- /^(?:"[^"]*")/i,
1271
- /^(?:[\n]+)/i,
1272
- /^(?:\})/i,
1273
- /^(?:.)/i,
1274
- /^(?:\[)/i,
1275
- /^(?:\])/i,
1276
- /^(?:style\b)/i,
1277
- /^(?:[\n]+)/i,
1278
- /^(?:\s+)/i,
1279
- /^(?::)/i,
1280
- /^(?:,)/i,
1281
- /^(?:#)/i,
1282
- /^(?:classDef\b)/i,
1283
- /^(?:class\b)/i,
1284
- /^(?:one or zero\b)/i,
1285
- /^(?:one or more\b)/i,
1286
- /^(?:one or many\b)/i,
1287
- /^(?:1\+)/i,
1288
- /^(?:\|o\b)/i,
1289
- /^(?:zero or one\b)/i,
1290
- /^(?:zero or more\b)/i,
1291
- /^(?:zero or many\b)/i,
1292
- /^(?:0\+)/i,
1293
- /^(?:\}o\b)/i,
1294
- /^(?:many\(0\))/i,
1295
- /^(?:many\(1\))/i,
1296
- /^(?:many\b)/i,
1297
- /^(?:\}\|)/i,
1298
- /^(?:one\b)/i,
1299
- /^(?:only one\b)/i,
1300
- /^(?:[0-9]+\.[0-9]+)/i,
1301
- /^(?:1(?=\s+[A-Za-z_"']))/i,
1302
- /^(?:1(?=\s+[0-9]))/i,
1303
- /^(?:1(?=(--|\.\.|\.-|-\.)))/i,
1304
- /^(?:1\b)/i,
1305
- /^(?:[0-9]+)/i,
1306
- /^(?:\|\|)/i,
1307
- /^(?:o\|)/i,
1308
- /^(?:o\{)/i,
1309
- /^(?:\|\{)/i,
1310
- /^(?:u(?=[\.\-\|]))/i,
1311
- /^(?:\.\.)/i,
1312
- /^(?:--)/i,
1313
- /^(?:to\b)/i,
1314
- /^(?:optionally to\b)/i,
1315
- /^(?:\.-)/i,
1316
- /^(?:-\.)/i,
1317
- /^(?:([^\x00-\x7F]|\w|-|\*)+)/i,
1318
- /^(?:;)/i,
1319
- /^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i,
1320
- /^(?:.)/i,
1321
- /^(?:$)/i
1322
- ],
1323
- conditions: {
1324
- style: {
1325
- rules: [
1326
- 34,
1327
- 35,
1328
- 36,
1329
- 37,
1330
- 38,
1331
- 74,
1332
- 75
1333
- ],
1334
- inclusive: !1
1335
- },
1336
- acc_descr_multiline: {
1337
- rules: [5, 6],
1338
- inclusive: !1
1339
- },
1340
- acc_descr: {
1341
- rules: [3],
1342
- inclusive: !1
1343
- },
1344
- acc_title: {
1345
- rules: [1],
1346
- inclusive: !1
1347
- },
1348
- block: {
1349
- rules: [
1350
- 23,
1351
- 24,
1352
- 25,
1353
- 26,
1354
- 27,
1355
- 28,
1356
- 29,
1357
- 30
1358
- ],
1359
- inclusive: !1
1360
- },
1361
- INITIAL: {
1362
- rules: [
1363
- 0,
1364
- 2,
1365
- 4,
1366
- 7,
1367
- 8,
1368
- 9,
1369
- 10,
1370
- 11,
1371
- 12,
1372
- 13,
1373
- 14,
1374
- 15,
1375
- 16,
1376
- 17,
1377
- 18,
1378
- 19,
1379
- 20,
1380
- 21,
1381
- 22,
1382
- 31,
1383
- 32,
1384
- 33,
1385
- 39,
1386
- 40,
1387
- 41,
1388
- 42,
1389
- 43,
1390
- 44,
1391
- 45,
1392
- 46,
1393
- 47,
1394
- 48,
1395
- 49,
1396
- 50,
1397
- 51,
1398
- 52,
1399
- 53,
1400
- 54,
1401
- 55,
1402
- 56,
1403
- 57,
1404
- 58,
1405
- 59,
1406
- 60,
1407
- 61,
1408
- 62,
1409
- 63,
1410
- 64,
1411
- 65,
1412
- 66,
1413
- 67,
1414
- 68,
1415
- 69,
1416
- 70,
1417
- 71,
1418
- 72,
1419
- 73,
1420
- 76,
1421
- 77,
1422
- 78
1423
- ],
1424
- inclusive: !0
1425
- }
1426
- }
1427
- };
1428
- })();
1429
- function X() {
1430
- this.yy = {};
1431
- }
1432
- return t(X, "Parser"), X.prototype = Y, Y.Parser = X, new X();
1433
- })();
1434
- b.parser = b;
1435
- var x = b, S = class {
1436
- constructor() {
1437
- this.entities = /* @__PURE__ */ new Map(), this.relationships = [], this.classes = /* @__PURE__ */ new Map(), this.direction = "TB", this.Cardinality = {
1438
- ZERO_OR_ONE: "ZERO_OR_ONE",
1439
- ZERO_OR_MORE: "ZERO_OR_MORE",
1440
- ONE_OR_MORE: "ONE_OR_MORE",
1441
- ONLY_ONE: "ONLY_ONE",
1442
- MD_PARENT: "MD_PARENT"
1443
- }, this.Identification = {
1444
- NON_IDENTIFYING: "NON_IDENTIFYING",
1445
- IDENTIFYING: "IDENTIFYING"
1446
- }, this.setAccTitle = o, this.getAccTitle = f, this.setAccDescription = i, this.getAccDescription = l, this.setDiagramTitle = a, this.getDiagramTitle = u, this.getConfig = /* @__PURE__ */ t(() => d().er, "getConfig"), this.clear(), this.addEntity = this.addEntity.bind(this), this.addAttributes = this.addAttributes.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setDirection = this.setDirection.bind(this), this.addCssStyles = this.addCssStyles.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
1447
- }
1448
- static {
1449
- t(this, "ErDB");
1450
- }
1451
- addEntity(t, n = "") {
1452
- return this.entities.has(t) ? !this.entities.get(t)?.alias && n && (this.entities.get(t).alias = n, e.info(`Add alias '${n}' to entity '${t}'`)) : (this.entities.set(t, {
1453
- id: `entity-${t}-${this.entities.size}`,
1454
- label: t,
1455
- attributes: [],
1456
- alias: n,
1457
- shape: "erBox",
1458
- look: d().look ?? "default",
1459
- cssClasses: "default",
1460
- cssStyles: [],
1461
- labelType: "markdown"
1462
- }), e.info("Added new entity :", t)), this.entities.get(t);
1463
- }
1464
- getEntity(e) {
1465
- return this.entities.get(e);
1466
- }
1467
- getEntities() {
1468
- return this.entities;
1469
- }
1470
- getClasses() {
1471
- return this.classes;
1472
- }
1473
- addAttributes(t, n) {
1474
- let r = this.addEntity(t), i;
1475
- for (i = n.length - 1; i >= 0; i--) n[i].keys || (n[i].keys = []), n[i].comment || (n[i].comment = ""), r.attributes.push(n[i]), e.debug("Added attribute ", n[i].name);
1476
- }
1477
- addRelationship(t, n, r, i) {
1478
- let a = this.entities.get(t), o = this.entities.get(r);
1479
- if (!a || !o) return;
1480
- let s = {
1481
- entityA: a.id,
1482
- roleA: n,
1483
- entityB: o.id,
1484
- relSpec: i
1485
- };
1486
- this.relationships.push(s), e.debug("Added new relationship :", s);
1487
- }
1488
- getRelationships() {
1489
- return this.relationships;
1490
- }
1491
- getDirection() {
1492
- return this.direction;
1493
- }
1494
- setDirection(e) {
1495
- this.direction = e;
1496
- }
1497
- getCompiledStyles(e) {
1498
- let t = [];
1499
- for (let n of e) {
1500
- let e = this.classes.get(n);
1501
- e?.styles && (t = [...t, ...e.styles ?? []].map((e) => e.trim())), e?.textStyles && (t = [...t, ...e.textStyles ?? []].map((e) => e.trim()));
1502
- }
1503
- return t;
1504
- }
1505
- addCssStyles(e, t) {
1506
- for (let n of e) {
1507
- let e = this.entities.get(n);
1508
- if (!t || !e) return;
1509
- for (let n of t) e.cssStyles.push(n);
1510
- }
1511
- }
1512
- addClass(e, t) {
1513
- e.forEach((e) => {
1514
- let n = this.classes.get(e);
1515
- n === void 0 && (n = {
1516
- id: e,
1517
- styles: [],
1518
- textStyles: []
1519
- }, this.classes.set(e, n)), t && t.forEach(function(e) {
1520
- if (/color/.exec(e)) {
1521
- let t = e.replace("fill", "bgFill");
1522
- n.textStyles.push(t);
1523
- }
1524
- n.styles.push(e);
1525
- });
1526
- });
1527
- }
1528
- setClass(e, t) {
1529
- for (let n of e) {
1530
- let e = this.entities.get(n);
1531
- if (e) for (let n of t) e.cssClasses += " " + n;
1532
- }
1533
- }
1534
- clear() {
1535
- this.entities = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.relationships = [], s();
1536
- }
1537
- getData() {
1538
- let e = [], t = [], n = d(), r = 0;
1539
- for (let t of this.entities.keys()) {
1540
- let n = this.entities.get(t);
1541
- n && (n.cssCompiledStyles = this.getCompiledStyles(n.cssClasses.split(" ")), n.colorIndex = r++, e.push(n));
1542
- }
1543
- let i = 0;
1544
- for (let e of this.relationships) {
1545
- let r = {
1546
- id: m(e.entityA, e.entityB, {
1547
- prefix: "id",
1548
- counter: i++
1549
- }),
1550
- type: "normal",
1551
- curve: "basis",
1552
- start: e.entityA,
1553
- end: e.entityB,
1554
- label: e.roleA,
1555
- labelpos: "c",
1556
- thickness: "normal",
1557
- classes: "relationshipLine",
1558
- arrowTypeStart: e.relSpec.cardB.toLowerCase(),
1559
- arrowTypeEnd: e.relSpec.cardA.toLowerCase(),
1560
- pattern: e.relSpec.relType == "IDENTIFYING" ? "solid" : "dashed",
1561
- look: n.look,
1562
- labelType: "markdown"
1563
- };
1564
- t.push(r);
1565
- }
1566
- return {
1567
- nodes: e,
1568
- edges: t,
1569
- other: {},
1570
- config: n,
1571
- direction: "TB"
1572
- };
1573
- }
1574
- }, C = {};
1575
- n(C, { draw: () => w });
1576
- var w = /* @__PURE__ */ t(async function(t, n, i, a) {
1577
- e.info("REF0:"), e.info("Drawing er diagram (unified)", n);
1578
- let { securityLevel: o, er: s, layout: c } = d(), l = a.db.getData(), u = v(n, o);
1579
- l.type = a.type, l.layoutAlgorithm = _(c), l.config.flowchart.nodeSpacing = s?.nodeSpacing || 140, l.config.flowchart.rankSpacing = s?.rankSpacing || 80, l.direction = a.db.getDirection();
1580
- let { config: f } = l, { look: p } = f;
1581
- p === "neo" ? l.markers = [
1582
- "only_one_neo",
1583
- "zero_or_one_neo",
1584
- "one_or_more_neo",
1585
- "zero_or_more_neo"
1586
- ] : l.markers = [
1587
- "only_one",
1588
- "zero_or_one",
1589
- "one_or_more",
1590
- "zero_or_more"
1591
- ], l.diagramId = n, await g(l, u), l.layoutAlgorithm === "elk" && u.select(".edges").lower();
1592
- let m = u.selectAll("[id*=\"-background\"]");
1593
- Array.from(m).length > 0 && m.each(function() {
1594
- let e = r(this), t = e.attr("id").replace("-background", ""), n = u.select(`#${CSS.escape(t)}`);
1595
- if (!n.empty()) {
1596
- let t = n.attr("transform");
1597
- e.attr("transform", t);
1598
- }
1599
- }), h.insertTitle(u, "erDiagramTitleText", s?.titleTopMargin ?? 25, a.db.getDiagramTitle()), y(u, 8, "erDiagram", s?.useMaxWidth ?? !0);
1600
- }, "draw"), T = /* @__PURE__ */ t((e, t) => {
1601
- let n = p;
1602
- return c(n(e, "r"), n(e, "g"), n(e, "b"), t);
1603
- }, "fade"), E = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), D = /* @__PURE__ */ t((e) => {
1604
- let { theme: t, look: n, bkgColorArray: r, borderColorArray: i } = e;
1605
- if (!E.has(t)) return "";
1606
- let a = r?.length > 0, o = "";
1607
- for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) o += `
1608
-
1609
- [data-look="${n}"][data-color-id="color-${t}"].node path {
1610
- stroke: ${i[t]};
1611
- ${a ? `fill: ${r[t]};` : ""}
1612
- }
1613
-
1614
- [data-look="${n}"][data-color-id="color-${t}"].node rect {
1615
- stroke: ${i[t]};
1616
- ${a ? `fill: ${r[t]};` : ""}
1617
- }
1618
- `;
1619
- return o;
1620
- }, "genColor"), O = {
1621
- parser: x,
1622
- get db() {
1623
- return new S();
1624
- },
1625
- renderer: C,
1626
- styles: /* @__PURE__ */ t((e) => {
1627
- let { look: t, theme: n, erEdgeLabelBackground: r, strokeWidth: i } = e;
1628
- return `
1629
- ${D(e)}
1630
- .entityBox {
1631
- fill: ${e.mainBkg};
1632
- stroke: ${e.nodeBorder};
1633
- }
1634
-
1635
- .relationshipLabelBox {
1636
- fill: ${e.tertiaryColor};
1637
- opacity: 0.7;
1638
- background-color: ${e.tertiaryColor};
1639
- rect {
1640
- opacity: 0.5;
1641
- }
1642
- }
1643
-
1644
- .labelBkg {
1645
- background-color: ${E.has(n) && r ? r : T(e.tertiaryColor, .5)};
1646
- }
1647
-
1648
- .edgeLabel {
1649
- background-color: ${E.has(n) && r ? r : e.edgeLabelBackground};
1650
- }
1651
- .edgeLabel .label rect {
1652
- fill: ${E.has(n) && r ? r : e.edgeLabelBackground};
1653
- }
1654
- .edgeLabel .label text {
1655
- fill: ${e.textColor};
1656
- }
1657
-
1658
- .edgeLabel .label {
1659
- fill: ${e.nodeBorder};
1660
- font-size: 14px;
1661
- }
1662
-
1663
- .label {
1664
- font-family: ${e.fontFamily};
1665
- color: ${e.nodeTextColor || e.textColor};
1666
- }
1667
-
1668
- .edge-pattern-dashed {
1669
- stroke-dasharray: 8,8;
1670
- }
1671
-
1672
- .node rect,
1673
- .node circle,
1674
- .node ellipse,
1675
- .node polygon
1676
- {
1677
- fill: ${e.mainBkg};
1678
- stroke: ${e.nodeBorder};
1679
- stroke-width: ${t === "neo" ? i : "1px"};
1680
- }
1681
-
1682
- .relationshipLine {
1683
- stroke: ${e.lineColor};
1684
- stroke-width: ${t === "neo" ? i : "1px"};
1685
- fill: none;
1686
- }
1687
-
1688
- .marker {
1689
- fill: none !important;
1690
- stroke: ${e.lineColor} !important;
1691
- stroke-width: 1;
1692
- }
1693
- [data-look=neo].labelBkg {
1694
- background-color: ${T(e.tertiaryColor, .5)};
1695
- }
1696
- `;
1697
- }, "getStyles")
1698
- };
1699
- //#endregion
1700
- export { O as diagram };