@jackuait/blok 0.10.4 → 0.10.6
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.
- package/dist/blok.mjs +2 -2
- package/dist/chunks/_basePickBy--UeZi0iS.mjs +166 -0
- package/dist/chunks/_baseUniq-C977U_l-.mjs +682 -0
- package/dist/chunks/{arc-D-pL2Ftf.mjs → arc-Woh6y3jm.mjs} +2 -2
- package/dist/chunks/architecture-YZFGNWBL-aVO23UKm.mjs +3 -0
- package/dist/chunks/{architectureDiagram-Q4EWVU46-DS7mqjL2.mjs → architectureDiagram-Q4EWVU46-GTqLmLqg.mjs} +115 -115
- package/dist/chunks/{blockDiagram-DXYQGD6D-BTtcn4NG.mjs → blockDiagram-DXYQGD6D-CML01I1L.mjs} +681 -866
- package/dist/chunks/{blok-NcdNQ0I6.mjs → blok-B0k4z2h1.mjs} +673 -604
- package/dist/chunks/{c4Diagram-AHTNJAMY-Y4Dcwcoo.mjs → c4Diagram-AHTNJAMY-C29OuYjO.mjs} +239 -239
- package/dist/chunks/{channel-Cln-eWE0.mjs → channel-Zp_OyvEW.mjs} +1 -1
- package/dist/chunks/{chunk-2KRD3SAO-DkM7qh-k.mjs → chunk-2KRD3SAO-mVfUZfox.mjs} +1 -1
- package/dist/chunks/{chunk-336JU56O-B17AtzlK.mjs → chunk-336JU56O-mJNxs0cr.mjs} +18 -18
- package/dist/chunks/{chunk-426QAEUC-D6UAVUog.mjs → chunk-426QAEUC-TajZlyP-.mjs} +2 -2
- package/dist/chunks/{chunk-4BX2VUAB-CgIkjF7Z.mjs → chunk-4BX2VUAB-CsopMMb6.mjs} +1 -1
- package/dist/chunks/{chunk-4TB4RGXK-BUP4eON3.mjs → chunk-4TB4RGXK-DC963IrJ.mjs} +129 -129
- package/dist/chunks/{chunk-55IACEB6-zZ-IgaSt.mjs → chunk-55IACEB6-yyL3mncJ.mjs} +1 -1
- package/dist/chunks/{chunk-5FUZZQ4R-DsZnJYxM.mjs → chunk-5FUZZQ4R-Dr4NE8rh.mjs} +663 -663
- package/dist/chunks/chunk-5PVQY5BW-BP7ENjg7.mjs +1122 -0
- package/dist/chunks/{chunk-67CJDMHE-m0UKdcSH.mjs → chunk-67CJDMHE-Dbl-PjEf.mjs} +1 -1
- package/dist/chunks/{chunk-7N4EOEYR-DKNajFZd.mjs → chunk-7N4EOEYR-p-g3cKuX.mjs} +1 -1
- package/dist/chunks/{chunk-AA7GKIK3-BeLhNzKa.mjs → chunk-AA7GKIK3-Dt0Kr5Va.mjs} +1 -1
- package/dist/chunks/{chunk-BSJP7CBP-CJExmx8a.mjs → chunk-BSJP7CBP-DGU2WHwh.mjs} +1 -1
- package/dist/chunks/{chunk-CIAEETIT-CTikoJ19.mjs → chunk-CIAEETIT-BQ4crY5r.mjs} +1 -1
- package/dist/chunks/{chunk-EDXVE4YY-DjInnnwb.mjs → chunk-EDXVE4YY-B9_aGwkV.mjs} +2 -2
- package/dist/chunks/{chunk-ENJZ2VHE-CIl5FRDA.mjs → chunk-ENJZ2VHE-23pY8ft5.mjs} +243 -243
- package/dist/chunks/{chunk-FMBD7UC4-DjV0W7UE.mjs → chunk-FMBD7UC4-D_RQlBGX.mjs} +1 -1
- package/dist/chunks/{chunk-FOC6F5B3-LmHCCWYY.mjs → chunk-FOC6F5B3-CJfr-iwx.mjs} +1 -1
- package/dist/chunks/{chunk-ICPOFSXX-BHZIN46A.mjs → chunk-ICPOFSXX-BOvOTlG6.mjs} +2 -2
- package/dist/chunks/{chunk-K5T4RW27-BPZ6fFnW.mjs → chunk-K5T4RW27-CHSI0vpp.mjs} +572 -570
- package/dist/chunks/{chunk-KGLVRYIC-S1OQdW76.mjs → chunk-KGLVRYIC-ngXT4XVA.mjs} +1 -1
- package/dist/chunks/{chunk-LIHQZDEY-CjtyJlI6.mjs → chunk-LIHQZDEY-CnP7bym1.mjs} +1 -1
- package/dist/chunks/{chunk-ORNJ4GCN-CdO0hAge.mjs → chunk-ORNJ4GCN-BPaghT45.mjs} +1 -1
- package/dist/chunks/{chunk-OYMX7WX6-ApX8eV4o.mjs → chunk-OYMX7WX6-CKjTvqTg.mjs} +172 -172
- package/dist/chunks/{chunk-QZHKN3VN-BGFuA6-k.mjs → chunk-QZHKN3VN-uW1N2UWF.mjs} +1 -1
- package/dist/chunks/{chunk-U2HBQHQK-B88ZUOTL.mjs → chunk-U2HBQHQK-DiQOEtQH.mjs} +65 -65
- package/dist/chunks/{chunk-X2U36JSP-1VS5TyCr.mjs → chunk-X2U36JSP-Cznp5Jm-.mjs} +2 -2
- package/dist/chunks/{chunk-XPW4576I-BMupdrvo.mjs → chunk-XPW4576I-W5t_agZI.mjs} +1 -1
- package/dist/chunks/{chunk-YZCP3GAM-BQ7eEsm2.mjs → chunk-YZCP3GAM-BV02tG_z.mjs} +3 -3
- package/dist/chunks/{chunk-ZZ45TVLE-D1xks9zd.mjs → chunk-ZZ45TVLE-D28EyJ6R.mjs} +7 -7
- package/dist/chunks/classDiagram-6PBFFD2Q-DXsClapu.mjs +30 -0
- package/dist/chunks/classDiagram-v2-HSJHXN6E-B6TlQ_PM.mjs +30 -0
- package/dist/chunks/{clone-Ckjt1LtE.mjs → clone-CUNvBGto.mjs} +1 -1
- package/dist/chunks/{constants-DtfShkXT.mjs → constants-lOEJu8bC.mjs} +4 -2
- package/dist/chunks/{cose-bilkent-S5V4N54A-Bpcs2jA_.mjs → cose-bilkent-S5V4N54A-D-Xgf_Xn.mjs} +2 -2
- package/dist/chunks/{cpp-BdjvAny0.mjs → cpp-DaTV1RSp.mjs} +2 -2
- package/dist/chunks/{dagre-KV5264BT-DUD9ikgN.mjs → dagre-KV5264BT-BB3SAlfA.mjs} +15 -15
- package/dist/chunks/{dagre-CGNbYTKq.mjs → dagre-dysBn-m8.mjs} +499 -552
- package/dist/chunks/diagram-5BDNPKRD-B1410bPG.mjs +112 -0
- package/dist/chunks/{diagram-G4DWMVQ6-CuS0-h95.mjs → diagram-G4DWMVQ6-CdhBBETB.mjs} +82 -82
- package/dist/chunks/{diagram-MMDJMWI5-C-AEApYz.mjs → diagram-MMDJMWI5-B3HWfHe1.mjs} +48 -48
- package/dist/chunks/{diagram-TYMM5635-CiwAJVMq.mjs → diagram-TYMM5635-D0JzRYCN.mjs} +51 -51
- package/dist/chunks/{erDiagram-SMLLAGMA-DeH5yck2.mjs → erDiagram-SMLLAGMA-DfIG0QBk.mjs} +142 -142
- package/dist/chunks/{flowDiagram-DWJPFMVM-Cr6dwmQ5.mjs → flowDiagram-DWJPFMVM-BOL8JsQX.mjs} +176 -176
- package/dist/chunks/{ganttDiagram-T4ZO3ILL-K-divBg_.mjs → ganttDiagram-T4ZO3ILL-CiUr_YRw.mjs} +230 -230
- package/dist/chunks/gitGraph-7Q5UKJZL-B3aq166w.mjs +3 -0
- package/dist/chunks/{gitGraphDiagram-UUTBAWPF-UytPZv72.mjs → gitGraphDiagram-UUTBAWPF-CtNkTTWO.mjs} +218 -218
- package/dist/chunks/{graphlib-Cye9EPNq.mjs → graphlib-BXNPwKuI.mjs} +48 -46
- package/dist/chunks/{graphql-BSnqmqgO.mjs → graphql-DNumR9m-.mjs} +2 -2
- package/dist/chunks/{html-BLNeZvnp.mjs → html-CanPsi1Y.mjs} +2 -2
- package/dist/chunks/{i18next-loader-D32EUWLr.mjs → i18next-loader-CIXsptng.mjs} +2 -2
- package/dist/chunks/info-OMHHGYJF-SX91-Wub.mjs +3 -0
- package/dist/chunks/{infoDiagram-42DDH7IO-DuYnDbF3.mjs → infoDiagram-42DDH7IO-CD7nVBvi.mjs} +14 -14
- package/dist/chunks/isArrayLikeObject-DzUNFfIK.mjs +578 -0
- package/dist/chunks/isEmpty-D8B0aRsG.mjs +35 -0
- package/dist/chunks/{ishikawaDiagram-UXIWVN3A-CHc59dLn.mjs → ishikawaDiagram-UXIWVN3A-BOaC9qJs.mjs} +81 -81
- package/dist/chunks/{journeyDiagram-VCZTEJTY-CD25C4_n.mjs → journeyDiagram-VCZTEJTY-DKf55ZdJ.mjs} +6 -6
- package/dist/chunks/{kanban-definition-6JOO6SKY-CTCT6N_p.mjs → kanban-definition-6JOO6SKY-D2CrAXqB.mjs} +11 -11
- package/dist/chunks/{latex-24n3TcOR.mjs → latex-DY1HNB4U.mjs} +1 -1
- package/dist/chunks/{lightweight-i18n-DpkvRXEd.mjs → lightweight-i18n-DTYoSr_o.mjs} +2 -0
- package/dist/chunks/line-CuvDsrkE.mjs +34 -0
- package/dist/chunks/{linear-BRCpMvtr.mjs → linear-JRIqMpGQ.mjs} +3 -3
- package/dist/chunks/{lua-DV0fuZWx.mjs → lua-COOfzihE.mjs} +1 -1
- package/dist/chunks/{mermaid-parser.core-CA3DKkuk.mjs → mermaid-parser.core-BhpZC2lA.mjs} +10 -10
- package/dist/chunks/mermaid.core-C40gcVfv.mjs +977 -0
- package/dist/chunks/{messages-DtZ9U9g72.mjs → messages--G2XLc8E.mjs} +8 -5
- package/dist/{messages-CFUBJfnf.mjs → chunks/messages-3kHDtQLN.mjs} +8 -5
- package/dist/{messages-0lOPMv8u.mjs → chunks/messages-4Y8dL_1j2.mjs} +8 -5
- package/dist/{messages-DQ1icG7L.mjs → chunks/messages-9Nx7kteY2.mjs} +8 -5
- package/dist/{messages-aoO_TtoE2.mjs → chunks/messages-B29Wm2zT.mjs} +9 -6
- package/dist/chunks/{messages-oPV2oMxM.mjs → messages-B9mzGzZ_.mjs} +11 -8
- package/dist/{messages-Di3-WVzq.mjs → chunks/messages-BCfsOOlp.mjs} +8 -5
- package/dist/{messages-CA6J_QoC.mjs → chunks/messages-BJTwY1tq.mjs} +7 -4
- package/dist/chunks/{messages-Cxy_E2IS.mjs → messages-BK6AwU6C.mjs} +8 -5
- package/dist/chunks/{messages-DoPdy75l.mjs → messages-BPxMr5HC.mjs} +10 -7
- package/dist/chunks/{messages-Ci7UXRVI2.mjs → messages-BS9zk4mI2.mjs} +9 -6
- package/dist/chunks/{messages-BouFtpfO.mjs → messages-BSXBVdsp.mjs} +7 -4
- package/dist/{messages-DqDlcEPn.mjs → chunks/messages-BSyO1EWC.mjs} +9 -6
- package/dist/{messages-DzknMM7W.mjs → chunks/messages-BUQTXTew2.mjs} +8 -5
- package/dist/chunks/{messages-BJNFCDv42.mjs → messages-Bhn5V9FQ2.mjs} +8 -5
- package/dist/chunks/{messages-zWqsggJh.mjs → messages-Bi629xgG.mjs} +8 -5
- package/dist/{messages-CR4gHjd82.mjs → chunks/messages-BimpUMRx.mjs} +6 -3
- package/dist/{messages-BCMFYqKc2.mjs → chunks/messages-BkaUIuz-2.mjs} +8 -5
- package/dist/{messages-5wuR90qS.mjs → chunks/messages-BmC2yhsC2.mjs} +8 -5
- package/dist/chunks/{messages-HzH9_QH8.mjs → messages-Bo7Cbk_O.mjs} +8 -5
- package/dist/chunks/{messages-BcHZf9o-.mjs → messages-Bq7fo8X0.mjs} +16 -13
- package/dist/{messages-bh8BiOee2.mjs → chunks/messages-BsqBho4T.mjs} +9 -6
- package/dist/{messages-C-8qb9sf2.mjs → chunks/messages-C7E8C3-S.mjs} +8 -5
- package/dist/chunks/{messages-DRJxSTqs.mjs → messages-C9QhLDA2.mjs} +9 -6
- package/dist/chunks/{messages-DSbI0vJf.mjs → messages-C9UIaF6N.mjs} +8 -5
- package/dist/chunks/{messages-dpXwA3Sz.mjs → messages-CAX3qQi0.mjs} +8 -5
- package/dist/chunks/{messages-DpydMd36.mjs → messages-CEJtxBxU.mjs} +8 -5
- package/dist/chunks/{messages-DkP3Jf4F.mjs → messages-CF0SW1zy.mjs} +7 -4
- package/dist/{messages-B_UKuqrH.mjs → chunks/messages-CIre8L_r.mjs} +8 -5
- package/dist/{messages-DT7dwzEe.mjs → chunks/messages-CJ8IkF1P.mjs} +8 -5
- package/dist/{messages-BORkMoil2.mjs → chunks/messages-CKP6aUXN2.mjs} +7 -4
- package/dist/chunks/{messages-DY8zPIZW.mjs → messages-CMMq-u7e.mjs} +9 -6
- package/dist/chunks/{messages-CTdSIOAc.mjs → messages-CR5irc8q.mjs} +7 -4
- package/dist/chunks/{messages-ZhHLC6dk.mjs → messages-CRH0RWBs.mjs} +8 -5
- package/dist/chunks/{messages-C7sBaZOO2.mjs → messages-CWm_2RvD2.mjs} +8 -5
- package/dist/{messages-CLUBh7O_.mjs → chunks/messages-CY76MvbX2.mjs} +8 -5
- package/dist/{messages-PyOr_YgV.mjs → chunks/messages-CpLq4ZZg.mjs} +6 -3
- package/dist/chunks/{messages-CGLTjtRv2.mjs → messages-CrpOkt8c2.mjs} +8 -5
- package/dist/{messages-DwiykEgr2.mjs → chunks/messages-D3fu2FHB2.mjs} +8 -5
- package/dist/{messages-hya8YLMj.mjs → chunks/messages-D6_I0L06.mjs} +8 -5
- package/dist/chunks/{messages-oXBbHW9A.mjs → messages-DHzT8CZv.mjs} +8 -5
- package/dist/chunks/{messages-ChayV9WY2.mjs → messages-DIVQmVS92.mjs} +8 -5
- package/dist/{messages-BrYeJsSE2.mjs → chunks/messages-DJYT0upW.mjs} +9 -6
- package/dist/chunks/{messages-THR8q8bJ.mjs → messages-DPcc6xp-.mjs} +16 -13
- package/dist/chunks/{messages-CDSyoUft.mjs → messages-Dass0QsQ.mjs} +6 -3
- package/dist/chunks/{messages-DVvrZRyZ.mjs → messages-DcUYfD6m.mjs} +8 -5
- package/dist/chunks/{messages-BNy4e7Xl.mjs → messages-DfLcy0CY.mjs} +8 -5
- package/dist/chunks/{messages-H6vLy8wJ.mjs → messages-DhoZXmg_.mjs} +8 -5
- package/dist/{messages-ZHgPRUj02.mjs → chunks/messages-DiQkvwE32.mjs} +8 -5
- package/dist/{messages-BKXjO3NH.mjs → chunks/messages-DmvWmURo.mjs} +8 -5
- package/dist/chunks/{messages-DjSuq0-y2.mjs → messages-Dobxrshu2.mjs} +8 -5
- package/dist/{messages-DPFuzIdF2.mjs → chunks/messages-DsMIxm6I2.mjs} +8 -5
- package/dist/{messages-D6RYu9JW2.mjs → chunks/messages-DtssWM8x2.mjs} +8 -5
- package/dist/{messages-gZEhkRrR2.mjs → chunks/messages-E1tsNNG5.mjs} +8 -5
- package/dist/chunks/{messages-D9uWAWjW.mjs → messages-PFfYbqlm.mjs} +9 -6
- package/dist/{messages-DCdP2ujL.mjs → chunks/messages-bIzBNzdr2.mjs} +6 -3
- package/dist/{messages-WsUHzXMu2.mjs → chunks/messages-dGYum7sj2.mjs} +8 -5
- package/dist/chunks/{messages-C-EBhOHE.mjs → messages-kKXlI5xZ.mjs} +8 -5
- package/dist/chunks/{messages-Cfbmwdep2.mjs → messages-mo5OrbVj2.mjs} +8 -5
- package/dist/{messages-9L4qqCKh2.mjs → chunks/messages-nAdoEqRi.mjs} +8 -5
- package/dist/chunks/{messages-Bop7vrhU.mjs → messages-rNLuCrAb.mjs} +8 -5
- package/dist/chunks/{messages-yGedmr61.mjs → messages-v26RM5PC.mjs} +8 -5
- package/dist/{messages-Cd5CW5Tt.mjs → chunks/messages-x0kzc2oy.mjs} +9 -6
- package/dist/{messages-DB4UKN8D.mjs → chunks/messages-x6y6csd52.mjs} +6 -3
- package/dist/chunks/{messages-Br6bE1FD2.mjs → messages-x_eMclsl2.mjs} +9 -6
- package/dist/{messages-CVMngZNA.mjs → chunks/messages-z5pham9o.mjs} +10 -7
- package/dist/chunks/{messages-D9syZVGi2.mjs → messages-zcqQ8x232.mjs} +6 -3
- package/dist/chunks/{micromark-extension-math-BbkUb36G.mjs → micromark-extension-math-D-s54WWf.mjs} +1 -1
- package/dist/chunks/{mindmap-definition-QFDTVHPH-hNnyBkEP.mjs → mindmap-definition-QFDTVHPH-C-0fwUUS.mjs} +13 -13
- package/dist/chunks/{ordinal-B-kolV-i.mjs → ordinal-fyJMP-lj.mjs} +1 -1
- package/dist/chunks/packet-4T2RLAQJ-suhU85JN.mjs +3 -0
- package/dist/chunks/{php-DmXKyPwJ.mjs → php-DA-SOiqC.mjs} +6 -6
- package/dist/chunks/pie-ZZUOXDRM-DF5e16CP.mjs +3 -0
- package/dist/chunks/pieDiagram-DEJITSTG-BPyqheXv.mjs +179 -0
- package/dist/chunks/{quadrantDiagram-34T5L4WZ-CQ5fGYI5.mjs → quadrantDiagram-34T5L4WZ-kOZ1zIXB.mjs} +4 -4
- package/dist/chunks/radar-PYXPWWZC-DgzodpRv.mjs +3 -0
- package/dist/chunks/{requirementDiagram-MS252O5E-DjWKB42c.mjs → requirementDiagram-MS252O5E-C8Zkq6Lq.mjs} +64 -64
- package/dist/chunks/{ruby-DdOo03Kg.mjs → ruby-HDUjp8gK.mjs} +11 -11
- package/dist/chunks/{sankeyDiagram-XADWPNL6-BIN2evSB.mjs → sankeyDiagram-XADWPNL6-B0FhkAL9.mjs} +3 -3
- package/dist/chunks/{sequenceDiagram-FGHM5R23-CQz2lMoS.mjs → sequenceDiagram-FGHM5R23-Dv2H5Lbc.mjs} +447 -447
- package/dist/chunks/stateDiagram-FHFEXIEX-D1vcO7H_.mjs +218 -0
- package/dist/chunks/stateDiagram-v2-QKLJ7IA2-AoHzFiaI.mjs +28 -0
- package/dist/chunks/{timeline-definition-GMOUNBTQ-CzvQ7Lav.mjs → timeline-definition-GMOUNBTQ-DJmJ0TPa.mjs} +195 -195
- package/dist/chunks/{tools-DMSi-3RW.mjs → tools-FmtWXVgt.mjs} +109 -142
- package/dist/chunks/treeView-SZITEDCU-C1mc9PWf.mjs +3 -0
- package/dist/chunks/treemap-W4RFUUIX-ClV9Slyp.mjs +3 -0
- package/dist/chunks/{vennDiagram-DHZGUBPP-B0DmLQqe.mjs → vennDiagram-DHZGUBPP-Dx1rMP24.mjs} +76 -76
- package/dist/chunks/wardley-RL74JXVD-Dj7t7jHR.mjs +3 -0
- package/dist/chunks/{wardleyDiagram-NUSXRM2D-CzoKesUw.mjs → wardleyDiagram-NUSXRM2D-Dnm6lvMn.mjs} +15 -15
- package/dist/chunks/{xml-g8kXXALs.mjs → xml-Dq1lpp8G.mjs} +1 -1
- package/dist/chunks/{xychartDiagram-5P7HB3ND-CixwR8r2.mjs → xychartDiagram-5P7HB3ND-C9wFc2e9.mjs} +120 -120
- package/dist/full.mjs +3 -3
- package/dist/locales.mjs +69 -67
- package/dist/markdown.mjs +1 -1
- package/dist/{chunks/messages-CPFB2_m-2.mjs → messages--zgIPYtb.mjs} +6 -3
- package/dist/{messages-D8dO6OMN.mjs → messages-4jULpVvw.mjs} +16 -13
- package/dist/{chunks/messages-CNaaqQVz.mjs → messages-AbwSlRf_.mjs} +10 -7
- package/dist/{chunks/messages-AD17iDBx.mjs → messages-B-dl7Pwb2.mjs} +9 -6
- package/dist/{chunks/messages-CGFlOwst.mjs → messages-B3rCRhb1.mjs} +8 -5
- package/dist/{chunks/messages-CCEgR9GN2.mjs → messages-B73L8nKc2.mjs} +8 -5
- package/dist/{chunks/messages-wYQksm10.mjs → messages-BAjsD2Vm2.mjs} +8 -5
- package/dist/{messages-C34dTwF72.mjs → messages-BBodSb5B2.mjs} +8 -5
- package/dist/{chunks/messages-O6FOfUgF.mjs → messages-BTpn6H9x2.mjs} +6 -3
- package/dist/{chunks/messages-Cql2ozf_2.mjs → messages-BWb0GjTj2.mjs} +8 -5
- package/dist/{messages-ELvF3qMl2.mjs → messages-BbCgnri12.mjs} +8 -5
- package/dist/{chunks/messages-OSP4Hj5o.mjs → messages-Bfon_Y3q.mjs} +9 -6
- package/dist/{chunks/messages-fbL5y58u2.mjs → messages-BhOtow9J2.mjs} +8 -5
- package/dist/{messages-6eX0fWGR2.mjs → messages-BoB7m0uu2.mjs} +9 -6
- package/dist/{chunks/messages-C3X7dv3f.mjs → messages-BsOZPjeg.mjs} +8 -5
- package/dist/{chunks/messages-vDgsEqQW2.mjs → messages-BuzKUYPV.mjs} +8 -5
- package/dist/{chunks/messages-BjyYZeBm2.mjs → messages-BzOKMdMQ.mjs} +6 -3
- package/dist/{messages-CxZarWTm2.mjs → messages-C2H3PeQW2.mjs} +8 -5
- package/dist/{messages-D0eT_eWA.mjs → messages-C5KNzSTk.mjs} +8 -5
- package/dist/{messages-CNGwdIEz.mjs → messages-CIDYjE6l.mjs} +8 -5
- package/dist/{messages-BPw_x-6H.mjs → messages-CJmyF5ye.mjs} +7 -4
- package/dist/{messages-VrQw3tQ62.mjs → messages-CTwiYb2a2.mjs} +6 -3
- package/dist/{messages-BM2kx9Td.mjs → messages-CUHoJaDO.mjs} +8 -5
- package/dist/{chunks/messages-RiqdVwuN2.mjs → messages-CVeuqUjQ2.mjs} +8 -5
- package/dist/{messages-KVerxvZC.mjs → messages-CW75b4sz.mjs} +8 -5
- package/dist/{messages-DA4T9WBe.mjs → messages-CXd7YeWV.mjs} +8 -5
- package/dist/{chunks/messages-CXVWb9js.mjs → messages-CjlYkunD.mjs} +8 -5
- package/dist/{chunks/messages-B8hICx3L.mjs → messages-CrGx64yd.mjs} +9 -6
- package/dist/{chunks/messages-C7Pjof0d2.mjs → messages-Ct0jbgHd.mjs} +8 -5
- package/dist/{messages-C67YUZ9-.mjs → messages-CtKrCYD1.mjs} +8 -5
- package/dist/{chunks/messages-B03yUEra2.mjs → messages-Cu2eLjfJ.mjs} +8 -5
- package/dist/{messages-BwttyHDI2.mjs → messages-CvwQ-fK_2.mjs} +8 -5
- package/dist/{chunks/messages-zQOpKjl3.mjs → messages-Cy6UYN9b.mjs} +6 -3
- package/dist/{messages-CrjQ2Op0.mjs → messages-D01vnfA9.mjs} +8 -5
- package/dist/{messages-C6yKu_PJ.mjs → messages-D0BAV45W.mjs} +8 -5
- package/dist/{messages-DxEiqa-B.mjs → messages-D5LGpdga.mjs} +9 -6
- package/dist/{messages-Dl0bfeA-.mjs → messages-DATK4ftv.mjs} +9 -6
- package/dist/{chunks/messages-D_kZN9rB.mjs → messages-DEl77Urv2.mjs} +9 -6
- package/dist/{messages-BRY51SEw2.mjs → messages-DHNjM2nv2.mjs} +6 -3
- package/dist/{messages-OOiDDmVw.mjs → messages-DMW8b_sO.mjs} +8 -5
- package/dist/{messages-tb1FD_ge.mjs → messages-DNmgANKr.mjs} +7 -4
- package/dist/{messages-Do3mHd9U.mjs → messages-DQaa3cEM.mjs} +9 -6
- package/dist/{chunks/messages-VtfKWZ2S.mjs → messages-DSlD4bV9.mjs} +8 -5
- package/dist/{messages-Dxr1BBvo.mjs → messages-DTzbkXFt.mjs} +8 -5
- package/dist/{chunks/messages-SP659Sal2.mjs → messages-DbZihxtV.mjs} +8 -5
- package/dist/{messages-Cv1PSaNk.mjs → messages-DeE8fyKQ.mjs} +8 -5
- package/dist/{messages-B4zPxKl62.mjs → messages-Dg-TpO2S2.mjs} +8 -5
- package/dist/{messages-CLZoy5fQ.mjs → messages-DgP82LzF.mjs} +7 -4
- package/dist/{chunks/messages-C85zv_7x.mjs → messages-Dh3Vt7WC.mjs} +7 -4
- package/dist/{chunks/messages-bFEdH3lv.mjs → messages-DiVVyZD22.mjs} +9 -6
- package/dist/{messages-BSNsrZVN.mjs → messages-DpRnGjoe.mjs} +10 -7
- package/dist/{messages-Dx5n6MLQ2.mjs → messages-DqZmrFaa2.mjs} +8 -5
- package/dist/{messages-D8U5D391.mjs → messages-Dra9Fz5Q.mjs} +11 -8
- package/dist/{chunks/messages-CpXvyGWv2.mjs → messages-DuPBRgEF2.mjs} +7 -4
- package/dist/{messages-JVJdC0Er2.mjs → messages-DuxEyAY-2.mjs} +9 -6
- package/dist/{chunks/messages-BGmvvtg_.mjs → messages-FmJD6lHR2.mjs} +8 -5
- package/dist/{messages-BLW2GX7J2.mjs → messages-ONielGl92.mjs} +8 -5
- package/dist/{chunks/messages-B2dU00Z3.mjs → messages-RzgUqCGb2.mjs} +8 -5
- package/dist/{chunks/messages-YbckahVx2.mjs → messages-U22AKGKs.mjs} +8 -5
- package/dist/{chunks/messages-CGPxUESo.mjs → messages-XufeeRfO.mjs} +8 -5
- package/dist/{messages-DUYxMxrQ2.mjs → messages-fprUm7SO2.mjs} +8 -5
- package/dist/{chunks/messages-BCifzMVO2.mjs → messages-gFNdz3Tn2.mjs} +8 -5
- package/dist/{messages-DfqM_XvD.mjs → messages-h_n5GBm6.mjs} +16 -13
- package/dist/{chunks/messages-VlEyFUxF2.mjs → messages-oOogIpsL2.mjs} +8 -5
- package/dist/{messages-D_V0kHD7.mjs → messages-otwg3KcK.mjs} +8 -5
- package/dist/{messages-BLfK27kX.mjs → messages-rDDoBMWb.mjs} +8 -5
- package/dist/{chunks/messages-BBe45sPH.mjs → messages-trQPxZIu.mjs} +8 -5
- package/dist/react.mjs +2 -2
- package/dist/tools.mjs +2 -2
- package/dist/vendor.LICENSE.txt +64 -64
- package/package.json +3 -2
- package/src/blok.ts +55 -0
- package/src/components/block/index.ts +2 -2
- package/src/components/block-tunes/block-tune-delete.ts +1 -0
- package/src/components/i18n/locales/am/messages.json +8 -5
- package/src/components/i18n/locales/ar/messages.json +8 -5
- package/src/components/i18n/locales/az/messages.json +8 -5
- package/src/components/i18n/locales/bg/messages.json +7 -4
- package/src/components/i18n/locales/bn/messages.json +8 -5
- package/src/components/i18n/locales/bs/messages.json +10 -7
- package/src/components/i18n/locales/cs/messages.json +9 -6
- package/src/components/i18n/locales/da/messages.json +9 -6
- package/src/components/i18n/locales/de/messages.json +9 -6
- package/src/components/i18n/locales/dv/messages.json +8 -5
- package/src/components/i18n/locales/el/messages.json +8 -5
- package/src/components/i18n/locales/en/messages.json +2 -0
- package/src/components/i18n/locales/es/messages.json +9 -6
- package/src/components/i18n/locales/et/messages.json +7 -4
- package/src/components/i18n/locales/fa/messages.json +8 -5
- package/src/components/i18n/locales/fi/messages.json +8 -5
- package/src/components/i18n/locales/fil/messages.json +16 -13
- package/src/components/i18n/locales/fr/messages.json +8 -5
- package/src/components/i18n/locales/gu/messages.json +8 -5
- package/src/components/i18n/locales/he/messages.json +8 -5
- package/src/components/i18n/locales/hi/messages.json +8 -5
- package/src/components/i18n/locales/hr/messages.json +10 -7
- package/src/components/i18n/locales/hu/messages.json +9 -6
- package/src/components/i18n/locales/hy/messages.json +16 -13
- package/src/components/i18n/locales/id/messages.json +7 -4
- package/src/components/i18n/locales/it/messages.json +11 -8
- package/src/components/i18n/locales/ja/messages.json +8 -5
- package/src/components/i18n/locales/ka/messages.json +8 -5
- package/src/components/i18n/locales/km/messages.json +6 -3
- package/src/components/i18n/locales/kn/messages.json +8 -5
- package/src/components/i18n/locales/ko/messages.json +8 -5
- package/src/components/i18n/locales/ku/messages.json +8 -5
- package/src/components/i18n/locales/lo/messages.json +6 -3
- package/src/components/i18n/locales/lt/messages.json +8 -5
- package/src/components/i18n/locales/lv/messages.json +8 -5
- package/src/components/i18n/locales/mk/messages.json +8 -5
- package/src/components/i18n/locales/ml/messages.json +8 -5
- package/src/components/i18n/locales/mn/messages.json +8 -5
- package/src/components/i18n/locales/mr/messages.json +8 -5
- package/src/components/i18n/locales/ms/messages.json +6 -3
- package/src/components/i18n/locales/my/messages.json +8 -5
- package/src/components/i18n/locales/ne/messages.json +8 -5
- package/src/components/i18n/locales/nl/messages.json +8 -5
- package/src/components/i18n/locales/no/messages.json +9 -6
- package/src/components/i18n/locales/pa/messages.json +8 -5
- package/src/components/i18n/locales/pl/messages.json +9 -6
- package/src/components/i18n/locales/ps/messages.json +8 -5
- package/src/components/i18n/locales/pt/messages.json +8 -5
- package/src/components/i18n/locales/ro/messages.json +8 -5
- package/src/components/i18n/locales/ru/messages.json +7 -4
- package/src/components/i18n/locales/sd/messages.json +8 -5
- package/src/components/i18n/locales/si/messages.json +8 -5
- package/src/components/i18n/locales/sk/messages.json +9 -6
- package/src/components/i18n/locales/sl/messages.json +9 -6
- package/src/components/i18n/locales/sq/messages.json +9 -6
- package/src/components/i18n/locales/sr/messages.json +8 -5
- package/src/components/i18n/locales/sv/messages.json +8 -5
- package/src/components/i18n/locales/sw/messages.json +6 -3
- package/src/components/i18n/locales/ta/messages.json +8 -5
- package/src/components/i18n/locales/te/messages.json +8 -5
- package/src/components/i18n/locales/th/messages.json +6 -3
- package/src/components/i18n/locales/tr/messages.json +8 -5
- package/src/components/i18n/locales/ug/messages.json +8 -5
- package/src/components/i18n/locales/uk/messages.json +7 -4
- package/src/components/i18n/locales/ur/messages.json +8 -5
- package/src/components/i18n/locales/vi/messages.json +6 -3
- package/src/components/i18n/locales/yi/messages.json +8 -5
- package/src/components/i18n/locales/zh/messages.json +8 -5
- package/src/components/inline-tools/inline-tool-code.ts +0 -19
- package/src/components/inline-tools/inline-tool-italic.ts +3 -20
- package/src/components/inline-tools/inline-tool-strikethrough.ts +0 -19
- package/src/components/inline-tools/inline-tool-underline.ts +0 -19
- package/src/components/inline-tools/services/bold-normalization-pass.ts +1 -29
- package/src/components/modules/blockEvents/composers/keyboardNavigation.ts +11 -5
- package/src/components/modules/blockEvents/composers/markdownShortcuts.ts +105 -2
- package/src/components/modules/blockEvents/constants.ts +24 -0
- package/src/components/modules/blockManager/blockManager.ts +1 -1
- package/src/components/modules/blockManager/types.ts +1 -1
- package/src/components/modules/toolbar/blockSettings.ts +89 -11
- package/src/components/modules/ui.ts +1 -0
- package/src/components/modules/uiControllers/controllers/keyboard.ts +55 -5
- package/src/components/modules/yjs/document-store.ts +1 -1
- package/src/components/modules/yjs/index.ts +1 -1
- package/src/components/utils/popover/popover-abstract.ts +9 -0
- package/src/styles/main.css +3 -0
- package/src/tools/code/index.ts +1 -0
- package/src/tools/database/database-view.ts +269 -0
- package/src/tools/database/types.ts +16 -0
- package/src/tools/quote/index.ts +1 -0
- package/types/configs/blok-config.d.ts +13 -3
- package/types/configs/index.d.ts +1 -0
- package/types/configs/user-info.d.ts +14 -0
- package/types/data-formats/output-data.d.ts +2 -2
- package/types/index.d.ts +1 -0
- package/dist/chunks/_basePickBy-DISiGhsr.mjs +0 -410
- package/dist/chunks/_baseUniq-gAuHRtRF.mjs +0 -1045
- package/dist/chunks/_getTag-Aj56Wgor.mjs +0 -26
- package/dist/chunks/architecture-YZFGNWBL-CuqTb_ae.mjs +0 -3
- package/dist/chunks/chunk-5PVQY5BW-CORl9dnu.mjs +0 -1692
- package/dist/chunks/classDiagram-6PBFFD2Q-C59BZJxp.mjs +0 -30
- package/dist/chunks/classDiagram-v2-HSJHXN6E-7a0qeMsE.mjs +0 -30
- package/dist/chunks/diagram-5BDNPKRD-CZGfTYEe.mjs +0 -112
- package/dist/chunks/gitGraph-7Q5UKJZL-Dl-vQzrq.mjs +0 -3
- package/dist/chunks/info-OMHHGYJF-BOejJvJR.mjs +0 -3
- package/dist/chunks/line-Dct5pMmw.mjs +0 -34
- package/dist/chunks/mermaid.core-CA8nc1sZ.mjs +0 -989
- package/dist/chunks/packet-4T2RLAQJ-B5ZMgwzZ.mjs +0 -3
- package/dist/chunks/pie-ZZUOXDRM-B9l6y0XJ.mjs +0 -3
- package/dist/chunks/pieDiagram-DEJITSTG-Gw-fsc6U.mjs +0 -179
- package/dist/chunks/radar-PYXPWWZC-D5kYmUaB.mjs +0 -3
- package/dist/chunks/stateDiagram-FHFEXIEX-BIBFsF65.mjs +0 -218
- package/dist/chunks/stateDiagram-v2-QKLJ7IA2-BZUmAVw7.mjs +0 -28
- package/dist/chunks/treeView-SZITEDCU-BNtnNxpI.mjs +0 -3
- package/dist/chunks/treemap-W4RFUUIX-DYENULz2.mjs +0 -3
- package/dist/chunks/wardley-RL74JXVD-ByNHVBTb.mjs +0 -3
- /package/dist/chunks/{am-BxlkYGsI.mjs → am-Bbd7cTHS.mjs} +0 -0
- /package/dist/chunks/{ar-9vlpr9V8.mjs → ar-Bo71sCQE.mjs} +0 -0
- /package/dist/chunks/{array-BsrkCVSZ.mjs → array-DbiMs_0t.mjs} +0 -0
- /package/dist/chunks/{az-ON63W_FP.mjs → az-BnNrO_xK.mjs} +0 -0
- /package/dist/chunks/{bg-CtXWTP5w.mjs → bg-CMd2n-OG.mjs} +0 -0
- /package/dist/chunks/{bn-BERvhXM4.mjs → bn-B3lorfXA.mjs} +0 -0
- /package/dist/chunks/{bs-CBg8NVPG.mjs → bs-_zM8QBsA.mjs} +0 -0
- /package/dist/chunks/{c-C6JXJf5K.mjs → c-DmKJe6GM.mjs} +0 -0
- /package/dist/chunks/{core-Bm6DWt7D.mjs → core-C942GvJO.mjs} +0 -0
- /package/dist/chunks/{cs-DeQddxS7.mjs → cs-nodpmLBf.mjs} +0 -0
- /package/dist/chunks/{csharp-YHxeHpeH.mjs → csharp-Drv96dbi.mjs} +0 -0
- /package/dist/chunks/{css-DdLevFaX.mjs → css-82tNAoU6.mjs} +0 -0
- /package/dist/chunks/{cytoscape.esm-BvD8wo00.mjs → cytoscape.esm-DSb9a7HE.mjs} +0 -0
- /package/dist/chunks/{da-DyTo-ec_.mjs → da-DwzgQcXQ.mjs} +0 -0
- /package/dist/chunks/{dart-DrPWqfcC.mjs → dart-DE9j8McI.mjs} +0 -0
- /package/dist/chunks/{de-Cu7545m1.mjs → de-BvWPiNt6.mjs} +0 -0
- /package/dist/chunks/{defaultLocale-ChuSeAxU.mjs → defaultLocale-yTyMJ3IT.mjs} +0 -0
- /package/dist/chunks/{dist-Ctq-pyfb.mjs → dist-X14EnMrO.mjs} +0 -0
- /package/dist/chunks/{dockerfile-C68ALcaN.mjs → dockerfile-D9DFksUy.mjs} +0 -0
- /package/dist/chunks/{el-oiubLRBq.mjs → el-B_D7wUrZ.mjs} +0 -0
- /package/dist/chunks/{engine-javascript-CJpnSvzf.mjs → engine-javascript-Dd6ViPCH.mjs} +0 -0
- /package/dist/chunks/{es-DZUC6Klv.mjs → es-Bn_ZFyW9.mjs} +0 -0
- /package/dist/chunks/{et-CDeklAog.mjs → et-CUcULjoh.mjs} +0 -0
- /package/dist/chunks/{fa-Cafp7_Li.mjs → fa-BRhCTsOy.mjs} +0 -0
- /package/dist/chunks/{fi-BD_V_aVW.mjs → fi-BEvyU9n6.mjs} +0 -0
- /package/dist/chunks/{fil-Crsfbtx4.mjs → fil-Dlp1_W2B.mjs} +0 -0
- /package/dist/chunks/{fr-BGGc04Zv.mjs → fr-DJBeOAx1.mjs} +0 -0
- /package/dist/chunks/{go-Fm5N96DN.mjs → go-jyWjtO8q.mjs} +0 -0
- /package/dist/chunks/{gu-Vg_BgCTp.mjs → gu-0hWvx16l.mjs} +0 -0
- /package/dist/chunks/{he-DTY9chlZ.mjs → he-CYe88qXp.mjs} +0 -0
- /package/dist/chunks/{hi-DChMXk0x.mjs → hi-DuLkkPWn.mjs} +0 -0
- /package/dist/chunks/{hr-BWVgNU8k.mjs → hr-BwCB1IMW.mjs} +0 -0
- /package/dist/chunks/{hu-B37awHXA.mjs → hu-C2dLyTeX.mjs} +0 -0
- /package/dist/chunks/{hy-DGC_GDHh.mjs → hy-DXKoDpv9.mjs} +0 -0
- /package/dist/chunks/{i18next-CXx5niYF.mjs → i18next-CLUkHqmV.mjs} +0 -0
- /package/dist/chunks/{id-V7cw6La2.mjs → id-D4chLuW_.mjs} +0 -0
- /package/dist/chunks/{init-C6T-mugb.mjs → init-BlLeEogJ.mjs} +0 -0
- /package/dist/chunks/{it-DrTGP8Rn.mjs → it-Hto3G26t.mjs} +0 -0
- /package/dist/chunks/{ja-DS4pbJEG.mjs → ja-UxHm_PPZ.mjs} +0 -0
- /package/dist/chunks/{java-83DWBpzu.mjs → java-Dhv78FEb.mjs} +0 -0
- /package/dist/chunks/{javascript-CBgeF1Xx.mjs → javascript-DilE9EuZ.mjs} +0 -0
- /package/dist/chunks/{json-BI17y-1H.mjs → json-LUtHrtDA.mjs} +0 -0
- /package/dist/chunks/{ka-BueyosRh.mjs → ka-BnjXwPUq.mjs} +0 -0
- /package/dist/chunks/{katex-CmTPfM0f.mjs → katex-B8jUB5Cv.mjs} +0 -0
- /package/dist/chunks/{km-B0K891yW.mjs → km-exgzZBIE.mjs} +0 -0
- /package/dist/chunks/{kn-BQ__skg8.mjs → kn-DjjUg8aO.mjs} +0 -0
- /package/dist/chunks/{ko-BuPxi_7e.mjs → ko-Cu0YUSV6.mjs} +0 -0
- /package/dist/chunks/{kotlin-DjnvsrfO.mjs → kotlin-DFLPXbOQ.mjs} +0 -0
- /package/dist/chunks/{ku-nQjwPRw2.mjs → ku-D-IxJ0fx.mjs} +0 -0
- /package/dist/chunks/{lo-K5NVFoq1.mjs → lo-BcwjJBcv.mjs} +0 -0
- /package/dist/chunks/{lt-D3xD6Eb2.mjs → lt-Bt05MFPC.mjs} +0 -0
- /package/dist/chunks/{lv-DH13mzZj.mjs → lv-B01TmEFW.mjs} +0 -0
- /package/dist/chunks/{markdown-BqQYT45f.mjs → markdown-C6pnqcPd.mjs} +0 -0
- /package/dist/chunks/{mdast-util-math-BlK2Zu-1.mjs → mdast-util-math-D56mMxhB.mjs} +0 -0
- /package/dist/chunks/{mermaid-vF0cEnZ0.mjs → mermaid-BKA834jS.mjs} +0 -0
- /package/dist/chunks/{mk-Bb48BcDA.mjs → mk-DlZNyDhn.mjs} +0 -0
- /package/dist/chunks/{ml-BHPEj1kD.mjs → ml-CizMIOxl.mjs} +0 -0
- /package/dist/chunks/{mn-BNGzpdI6.mjs → mn-B_pDvxok.mjs} +0 -0
- /package/dist/chunks/{mr-D5PgU-cH.mjs → mr-D8D_7YmW.mjs} +0 -0
- /package/dist/chunks/{ms-DPkxqKz5.mjs → ms-CM93I8ec.mjs} +0 -0
- /package/dist/chunks/{my-DZGcyfxy.mjs → my-BGnGdDAV.mjs} +0 -0
- /package/dist/chunks/{ne-BU_Wh4Wv.mjs → ne-C6ZmmqhH.mjs} +0 -0
- /package/dist/chunks/{nl-DtAPk1mK.mjs → nl-UGFOU80W.mjs} +0 -0
- /package/dist/chunks/{no-CdW3n3BY.mjs → no-as-DKhC4.mjs} +0 -0
- /package/dist/chunks/{notifier-CuvTt9pe.mjs → notifier-PpnFhM0m.mjs} +0 -0
- /package/dist/chunks/{one-light-DmNO_Y4X.mjs → one-light-Di_o5Kb7.mjs} +0 -0
- /package/dist/chunks/{pa-BacCHz87.mjs → pa-DiOAveAI.mjs} +0 -0
- /package/dist/chunks/{path-rIMjg_tH.mjs → path-7pA19U_d.mjs} +0 -0
- /package/dist/chunks/{pl-8zBJbmhZ.mjs → pl-DXk8ye3B.mjs} +0 -0
- /package/dist/chunks/{ps-c6nGXD-W.mjs → ps-CuxilZ3F.mjs} +0 -0
- /package/dist/chunks/{pt-B5yR8Qhr.mjs → pt-DsT6E77q.mjs} +0 -0
- /package/dist/chunks/{python-DfwfY9t5.mjs → python-DYiHKGPV.mjs} +0 -0
- /package/dist/chunks/{r-BD2D7qEW.mjs → r-BZ4pC-Uz.mjs} +0 -0
- /package/dist/chunks/{ro-Nscylsqb.mjs → ro-CcAQOL-B.mjs} +0 -0
- /package/dist/chunks/{rough.esm-cmMIcj7N.mjs → rough.esm-BPA_YwbP.mjs} +0 -0
- /package/dist/chunks/{ru-DxERQkVJ.mjs → ru-hD41D0Fd.mjs} +0 -0
- /package/dist/chunks/{rust-DEDueB5R.mjs → rust-Db_HEGL5.mjs} +0 -0
- /package/dist/chunks/{scala-CsjqvxE4.mjs → scala-B1kK21mu.mjs} +0 -0
- /package/dist/chunks/{sd-5z-QY3q9.mjs → sd-Biu7f00A.mjs} +0 -0
- /package/dist/chunks/{shellscript-Bh5zEpnQ.mjs → shellscript-BBh7AxMC.mjs} +0 -0
- /package/dist/chunks/{si-DTL0mzrx.mjs → si-Bhto6prC.mjs} +0 -0
- /package/dist/chunks/{sk-DrGczTvY.mjs → sk-Ce7J4sHX.mjs} +0 -0
- /package/dist/chunks/{sl-D8nJjig4.mjs → sl-Fz7idR9w.mjs} +0 -0
- /package/dist/chunks/{sq-C74Hm3YL.mjs → sq-CnLb3bAQ.mjs} +0 -0
- /package/dist/chunks/{sql-D9CrOi1i.mjs → sql-DHkazX4B.mjs} +0 -0
- /package/dist/chunks/{sr-DAwB05Gj.mjs → sr-Bc5JbF-b.mjs} +0 -0
- /package/dist/chunks/{src-DVJl6f6s.mjs → src-B3rrEIze.mjs} +0 -0
- /package/dist/chunks/{sv-BkHBsN4y.mjs → sv-B86P2LyK.mjs} +0 -0
- /package/dist/chunks/{sw-BBQLTq_z.mjs → sw-CnQXriTg.mjs} +0 -0
- /package/dist/chunks/{swift-Dpyt0s2c.mjs → swift-DZdprfb-.mjs} +0 -0
- /package/dist/chunks/{ta-DRRzdKky.mjs → ta-CG4BbxjE.mjs} +0 -0
- /package/dist/chunks/{te-CedXLsKM.mjs → te-CkE35V1X.mjs} +0 -0
- /package/dist/chunks/{th-DDOlGA0W.mjs → th-BCtkHu3E.mjs} +0 -0
- /package/dist/chunks/{tr-ClgvwOlL.mjs → tr-D5Cexvko.mjs} +0 -0
- /package/dist/chunks/{typescript-DO5cd4m8.mjs → typescript-DhtGMhWX.mjs} +0 -0
- /package/dist/chunks/{ug-bXxwiinM.mjs → ug-Bt9xMT4p.mjs} +0 -0
- /package/dist/chunks/{uk-Dp46o_VT.mjs → uk-D1g7UV0v.mjs} +0 -0
- /package/dist/chunks/{ur-MfEEhdFq.mjs → ur-B69faQh_.mjs} +0 -0
- /package/dist/chunks/{vi-bt-3LPGO.mjs → vi--gW42cZG.mjs} +0 -0
- /package/dist/chunks/{vitesse-dark-CcorSKT2.mjs → vitesse-dark-B5oAIYZ5.mjs} +0 -0
- /package/dist/chunks/{yaml-CrNNZyLb.mjs → yaml-T4MCc8o4.mjs} +0 -0
- /package/dist/chunks/{zh-Dgyb5Ly8.mjs → zh-DgQ6P8Lu.mjs} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as e } from "./objectSpread2-CWwMYL_U.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as x } from "./line-
|
|
6
|
-
import { n as S } from "./chunk-U2HBQHQK-
|
|
7
|
-
import { i as C, n as ee, r as w, t as T } from "./chunk-BSJP7CBP-
|
|
8
|
-
import { n as E } from "./chunk-ZZ45TVLE-
|
|
9
|
-
import { i as D, n as te } from "./chunk-X2U36JSP-
|
|
10
|
-
import { t as
|
|
11
|
-
import { r as
|
|
2
|
+
import { C as t, D as n, E as r, O as i, S as a, T as o, _ as s, b as c, h as l, l as u, v as d, w as f, x as p, y as m } from "./chunk-5PVQY5BW-BP7ENjg7.mjs";
|
|
3
|
+
import { g as h, h as g, p as _ } from "./src-B3rrEIze.mjs";
|
|
4
|
+
import { b as v, w as y, y as b } from "./chunk-ICPOFSXX-BOvOTlG6.mjs";
|
|
5
|
+
import { t as x } from "./line-CuvDsrkE.mjs";
|
|
6
|
+
import { n as S } from "./chunk-U2HBQHQK-DiQOEtQH.mjs";
|
|
7
|
+
import { i as C, n as ee, r as w, t as T } from "./chunk-BSJP7CBP-DGU2WHwh.mjs";
|
|
8
|
+
import { n as E } from "./chunk-ZZ45TVLE-D28EyJ6R.mjs";
|
|
9
|
+
import { i as D, n as te } from "./chunk-X2U36JSP-Cznp5Jm-.mjs";
|
|
10
|
+
import { t as O } from "./rough.esm-BPA_YwbP.mjs";
|
|
11
|
+
import { r as k } from "./chunk-5FUZZQ4R-Dr4NE8rh.mjs";
|
|
12
12
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-ENJZ2VHE.mjs
|
|
13
|
-
var
|
|
14
|
-
t.arrowTypeStart &&
|
|
15
|
-
}, "addEdgeMarkers"),
|
|
13
|
+
var ne = /* @__PURE__ */ g((e, t, n, r, i, a = !1, o) => {
|
|
14
|
+
t.arrowTypeStart && M(e, "start", t.arrowTypeStart, n, r, i, a, o), t.arrowTypeEnd && M(e, "end", t.arrowTypeEnd, n, r, i, a, o);
|
|
15
|
+
}, "addEdgeMarkers"), A = {
|
|
16
16
|
arrow_cross: {
|
|
17
17
|
type: "cross",
|
|
18
18
|
fill: !1
|
|
@@ -77,7 +77,7 @@ var re = /* @__PURE__ */ n((e, t, n, r, i, a = !1, o) => {
|
|
|
77
77
|
type: "requirement_contains",
|
|
78
78
|
fill: !1
|
|
79
79
|
}
|
|
80
|
-
},
|
|
80
|
+
}, j = [
|
|
81
81
|
"cross",
|
|
82
82
|
"point",
|
|
83
83
|
"circle",
|
|
@@ -87,184 +87,184 @@ var re = /* @__PURE__ */ n((e, t, n, r, i, a = !1, o) => {
|
|
|
87
87
|
"composition",
|
|
88
88
|
"dependency",
|
|
89
89
|
"barb"
|
|
90
|
-
],
|
|
91
|
-
let
|
|
92
|
-
if (!
|
|
93
|
-
|
|
90
|
+
], M = /* @__PURE__ */ g((e, t, n, r, i, a, o = !1, s) => {
|
|
91
|
+
let c = A[n], l = c && j.includes(c.type);
|
|
92
|
+
if (!c) {
|
|
93
|
+
h.warn(`Unknown arrow type: ${n}`);
|
|
94
94
|
return;
|
|
95
95
|
}
|
|
96
|
-
let
|
|
97
|
-
if (
|
|
98
|
-
let
|
|
99
|
-
if (!document.getElementById(
|
|
100
|
-
let e = document.getElementById(
|
|
96
|
+
let u = `${i}_${a}-${c.type}${t === "start" ? "Start" : "End"}${o && l ? "-margin" : ""}`;
|
|
97
|
+
if (s && s.trim() !== "") {
|
|
98
|
+
let n = `${u}_${s.replace(/[^\dA-Za-z]/g, "_")}`;
|
|
99
|
+
if (!document.getElementById(n)) {
|
|
100
|
+
let e = document.getElementById(u);
|
|
101
101
|
if (e) {
|
|
102
|
-
var
|
|
103
|
-
let
|
|
104
|
-
|
|
105
|
-
e.setAttribute("stroke",
|
|
106
|
-
}), (
|
|
102
|
+
var d;
|
|
103
|
+
let t = e.cloneNode(!0);
|
|
104
|
+
t.id = n, t.querySelectorAll("path, circle, line").forEach((e) => {
|
|
105
|
+
e.setAttribute("stroke", s), c.fill && e.setAttribute("fill", s);
|
|
106
|
+
}), (d = e.parentNode) == null || d.appendChild(t);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
e.attr(`marker-${
|
|
110
|
-
} else e.attr(`marker-${
|
|
111
|
-
}, "addEdgeMarker"),
|
|
109
|
+
e.attr(`marker-${t}`, `url(${r}#${n})`);
|
|
110
|
+
} else e.attr(`marker-${t}`, `url(${r}#${u})`);
|
|
111
|
+
}, "addEdgeMarker"), re = /* @__PURE__ */ g((e) => {
|
|
112
112
|
var t;
|
|
113
|
-
return typeof e == "string" ? e : (t =
|
|
114
|
-
}, "resolveEdgeCurveType"), N = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), F = /* @__PURE__ */
|
|
113
|
+
return typeof e == "string" ? e : (t = v()) == null || (t = t.flowchart) == null ? void 0 : t.curve;
|
|
114
|
+
}, "resolveEdgeCurveType"), N = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ g(() => {
|
|
115
115
|
N.clear(), P.clear();
|
|
116
|
-
}, "clear"), I = /* @__PURE__ */
|
|
117
|
-
let
|
|
118
|
-
|
|
119
|
-
let
|
|
120
|
-
style: I(
|
|
121
|
-
useHtmlLabels:
|
|
116
|
+
}, "clear"), I = /* @__PURE__ */ g((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), L = /* @__PURE__ */ g(async (e, t) => {
|
|
117
|
+
let n = v(), r = y(n), { labelStyles: i } = D(t);
|
|
118
|
+
t.labelStyle = i;
|
|
119
|
+
let a = e.insert("g").attr("class", "edgeLabel"), o = a.insert("g").attr("class", "label").attr("data-id", t.id), s = t.labelType === "markdown", c = await S(e, t.label, {
|
|
120
|
+
style: I(t.labelStyle),
|
|
121
|
+
useHtmlLabels: r,
|
|
122
122
|
addSvgBackground: !0,
|
|
123
123
|
isNode: !1,
|
|
124
|
-
markdown:
|
|
124
|
+
markdown: s,
|
|
125
125
|
width: void 0
|
|
126
|
-
},
|
|
127
|
-
|
|
128
|
-
let
|
|
129
|
-
if (
|
|
130
|
-
let e =
|
|
131
|
-
|
|
126
|
+
}, n);
|
|
127
|
+
o.node().appendChild(c), h.info("abc82", t, t.labelType);
|
|
128
|
+
let l = c.getBBox(), u = l;
|
|
129
|
+
if (r) {
|
|
130
|
+
let e = c.children[0], t = _(c);
|
|
131
|
+
l = e.getBoundingClientRect(), u = l, t.attr("width", l.width), t.attr("height", l.height);
|
|
132
132
|
} else {
|
|
133
|
-
let e =
|
|
134
|
-
e && typeof e.getBBox == "function" && (
|
|
133
|
+
let e = _(c).select("text").node();
|
|
134
|
+
e && typeof e.getBBox == "function" && (u = e.getBBox());
|
|
135
135
|
}
|
|
136
|
-
|
|
137
|
-
let
|
|
138
|
-
if (
|
|
139
|
-
let
|
|
140
|
-
|
|
136
|
+
o.attr("transform", T(u, r)), N.set(t.id, a), t.width = l.width, t.height = l.height;
|
|
137
|
+
let d;
|
|
138
|
+
if (t.startLabelLeft) {
|
|
139
|
+
let n = e.insert("g").attr("class", "edgeTerminals"), i = n.insert("g").attr("class", "inner"), a = await k(i, t.startLabelLeft, I(t.labelStyle) || "", !1, !1);
|
|
140
|
+
d = a;
|
|
141
141
|
let o = a.getBBox();
|
|
142
|
-
if (
|
|
143
|
-
let e = a.children[0], t =
|
|
142
|
+
if (r) {
|
|
143
|
+
let e = a.children[0], t = _(a);
|
|
144
144
|
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
145
145
|
}
|
|
146
|
-
i.attr("transform", T(o,
|
|
146
|
+
i.attr("transform", T(o, r)), P.get(t.id) || P.set(t.id, {}), P.get(t.id).startLeft = n, R(d, t.startLabelLeft);
|
|
147
147
|
}
|
|
148
|
-
if (
|
|
149
|
-
let
|
|
150
|
-
|
|
148
|
+
if (t.startLabelRight) {
|
|
149
|
+
let n = e.insert("g").attr("class", "edgeTerminals"), i = n.insert("g").attr("class", "inner"), a = await k(i, t.startLabelRight, I(t.labelStyle) || "", !1, !1);
|
|
150
|
+
d = a, i.node().appendChild(a);
|
|
151
151
|
let o = a.getBBox();
|
|
152
|
-
if (
|
|
153
|
-
let e = a.children[0], t =
|
|
152
|
+
if (r) {
|
|
153
|
+
let e = a.children[0], t = _(a);
|
|
154
154
|
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
155
155
|
}
|
|
156
|
-
i.attr("transform", T(o,
|
|
156
|
+
i.attr("transform", T(o, r)), P.get(t.id) || P.set(t.id, {}), P.get(t.id).startRight = n, R(d, t.startLabelRight);
|
|
157
157
|
}
|
|
158
|
-
if (
|
|
159
|
-
let
|
|
160
|
-
|
|
158
|
+
if (t.endLabelLeft) {
|
|
159
|
+
let n = e.insert("g").attr("class", "edgeTerminals"), i = n.insert("g").attr("class", "inner"), a = await k(i, t.endLabelLeft, I(t.labelStyle) || "", !1, !1);
|
|
160
|
+
d = a;
|
|
161
161
|
let o = a.getBBox();
|
|
162
|
-
if (
|
|
163
|
-
let e = a.children[0], t =
|
|
162
|
+
if (r) {
|
|
163
|
+
let e = a.children[0], t = _(a);
|
|
164
164
|
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
165
165
|
}
|
|
166
|
-
i.attr("transform", T(o,
|
|
166
|
+
i.attr("transform", T(o, r)), n.node().appendChild(a), P.get(t.id) || P.set(t.id, {}), P.get(t.id).endLeft = n, R(d, t.endLabelLeft);
|
|
167
167
|
}
|
|
168
|
-
if (
|
|
169
|
-
let
|
|
170
|
-
|
|
168
|
+
if (t.endLabelRight) {
|
|
169
|
+
let n = e.insert("g").attr("class", "edgeTerminals"), i = n.insert("g").attr("class", "inner"), a = await k(i, t.endLabelRight, I(t.labelStyle) || "", !1, !1);
|
|
170
|
+
d = a;
|
|
171
171
|
let o = a.getBBox();
|
|
172
|
-
if (
|
|
173
|
-
let e = a.children[0], t =
|
|
172
|
+
if (r) {
|
|
173
|
+
let e = a.children[0], t = _(a);
|
|
174
174
|
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
175
175
|
}
|
|
176
|
-
i.attr("transform", T(o,
|
|
176
|
+
i.attr("transform", T(o, r)), n.node().appendChild(a), P.get(t.id) || P.set(t.id, {}), P.get(t.id).endRight = n, R(d, t.endLabelRight);
|
|
177
177
|
}
|
|
178
|
-
return
|
|
178
|
+
return c;
|
|
179
179
|
}, "insertEdgeLabel");
|
|
180
180
|
function R(e, t) {
|
|
181
|
-
|
|
181
|
+
y(v()) && e && (e.style.width = t.length * 9 + "px", e.style.height = "12px");
|
|
182
182
|
}
|
|
183
|
-
|
|
184
|
-
var z = /* @__PURE__ */
|
|
185
|
-
|
|
186
|
-
let
|
|
183
|
+
g(R, "setTerminalWidth");
|
|
184
|
+
var z = /* @__PURE__ */ g((e, t) => {
|
|
185
|
+
h.debug("Moving label abc88 ", e.id, e.label, N.get(e.id), t);
|
|
186
|
+
let n = t.updatedPath ? t.updatedPath : t.originalPath, { subGraphTitleTotalMargin: r } = E(v());
|
|
187
187
|
if (e.label) {
|
|
188
|
-
let i = N.get(e.id),
|
|
189
|
-
if (
|
|
190
|
-
let
|
|
191
|
-
|
|
188
|
+
let i = N.get(e.id), a = e.x, o = e.y;
|
|
189
|
+
if (n) {
|
|
190
|
+
let r = l.calcLabelPosition(n);
|
|
191
|
+
h.debug("Moving label " + e.label + " from (", a, ",", o, ") to (", r.x, ",", r.y, ") abc88"), t.updatedPath && (a = r.x, o = r.y);
|
|
192
192
|
}
|
|
193
|
-
i.attr("transform", `translate(${
|
|
193
|
+
i.attr("transform", `translate(${a}, ${o + r / 2})`);
|
|
194
194
|
}
|
|
195
195
|
if (e.startLabelLeft) {
|
|
196
|
-
let t = P.get(e.id).startLeft,
|
|
197
|
-
if (
|
|
198
|
-
let t =
|
|
199
|
-
|
|
196
|
+
let t = P.get(e.id).startLeft, r = e.x, i = e.y;
|
|
197
|
+
if (n) {
|
|
198
|
+
let t = l.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_left", n);
|
|
199
|
+
r = t.x, i = t.y;
|
|
200
200
|
}
|
|
201
|
-
t.attr("transform", `translate(${
|
|
201
|
+
t.attr("transform", `translate(${r}, ${i})`);
|
|
202
202
|
}
|
|
203
203
|
if (e.startLabelRight) {
|
|
204
|
-
let t = P.get(e.id).startRight,
|
|
205
|
-
if (
|
|
206
|
-
let t =
|
|
207
|
-
|
|
204
|
+
let t = P.get(e.id).startRight, r = e.x, i = e.y;
|
|
205
|
+
if (n) {
|
|
206
|
+
let t = l.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_right", n);
|
|
207
|
+
r = t.x, i = t.y;
|
|
208
208
|
}
|
|
209
|
-
t.attr("transform", `translate(${
|
|
209
|
+
t.attr("transform", `translate(${r}, ${i})`);
|
|
210
210
|
}
|
|
211
211
|
if (e.endLabelLeft) {
|
|
212
|
-
let t = P.get(e.id).endLeft,
|
|
213
|
-
if (
|
|
214
|
-
let t =
|
|
215
|
-
|
|
212
|
+
let t = P.get(e.id).endLeft, r = e.x, i = e.y;
|
|
213
|
+
if (n) {
|
|
214
|
+
let t = l.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_left", n);
|
|
215
|
+
r = t.x, i = t.y;
|
|
216
216
|
}
|
|
217
|
-
t.attr("transform", `translate(${
|
|
217
|
+
t.attr("transform", `translate(${r}, ${i})`);
|
|
218
218
|
}
|
|
219
219
|
if (e.endLabelRight) {
|
|
220
|
-
let t = P.get(e.id).endRight,
|
|
221
|
-
if (
|
|
222
|
-
let t =
|
|
223
|
-
|
|
220
|
+
let t = P.get(e.id).endRight, r = e.x, i = e.y;
|
|
221
|
+
if (n) {
|
|
222
|
+
let t = l.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_right", n);
|
|
223
|
+
r = t.x, i = t.y;
|
|
224
224
|
}
|
|
225
|
-
t.attr("transform", `translate(${
|
|
225
|
+
t.attr("transform", `translate(${r}, ${i})`);
|
|
226
226
|
}
|
|
227
|
-
}, "positionEdgeLabel"), B = /* @__PURE__ */
|
|
227
|
+
}, "positionEdgeLabel"), B = /* @__PURE__ */ g((e, t) => {
|
|
228
228
|
let n = e.x, r = e.y, i = Math.abs(t.x - n), a = Math.abs(t.y - r), o = e.width / 2, s = e.height / 2;
|
|
229
229
|
return i >= o || a >= s;
|
|
230
|
-
}, "outsideNode"), V = /* @__PURE__ */
|
|
231
|
-
|
|
232
|
-
outsidePoint: ${JSON.stringify(
|
|
233
|
-
insidePoint : ${JSON.stringify(
|
|
230
|
+
}, "outsideNode"), V = /* @__PURE__ */ g((e, t, n) => {
|
|
231
|
+
h.debug(`intersection calc abc89:
|
|
232
|
+
outsidePoint: ${JSON.stringify(t)}
|
|
233
|
+
insidePoint : ${JSON.stringify(n)}
|
|
234
234
|
node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);
|
|
235
|
-
let
|
|
236
|
-
if (Math.abs(
|
|
237
|
-
let e =
|
|
238
|
-
|
|
239
|
-
let
|
|
240
|
-
x:
|
|
241
|
-
y:
|
|
235
|
+
let r = e.x, i = e.y, a = Math.abs(r - n.x), o = e.width / 2, s = n.x < t.x ? o - a : o + a, c = e.height / 2, l = Math.abs(t.y - n.y), u = Math.abs(t.x - n.x);
|
|
236
|
+
if (Math.abs(i - t.y) * o > Math.abs(r - t.x) * c) {
|
|
237
|
+
let e = n.y < t.y ? t.y - c - i : i - c - t.y;
|
|
238
|
+
s = u * e / l;
|
|
239
|
+
let r = {
|
|
240
|
+
x: n.x < t.x ? n.x + s : n.x - u + s,
|
|
241
|
+
y: n.y < t.y ? n.y + l - e : n.y - l + e
|
|
242
242
|
};
|
|
243
|
-
return
|
|
243
|
+
return s === 0 && (r.x = t.x, r.y = t.y), u === 0 && (r.x = t.x), l === 0 && (r.y = t.y), h.debug(`abc89 top/bottom calc, Q ${l}, q ${e}, R ${u}, r ${s}`, r), r;
|
|
244
244
|
} else {
|
|
245
|
-
|
|
246
|
-
let e =
|
|
247
|
-
return
|
|
248
|
-
_x:
|
|
249
|
-
_y:
|
|
250
|
-
}),
|
|
251
|
-
x:
|
|
252
|
-
y:
|
|
245
|
+
s = n.x < t.x ? t.x - o - r : r - o - t.x;
|
|
246
|
+
let e = l * s / u, i = n.x < t.x ? n.x + u - s : n.x - u + s, a = n.y < t.y ? n.y + e : n.y - e;
|
|
247
|
+
return h.debug(`sides calc abc89, Q ${l}, q ${e}, R ${u}, r ${s}`, {
|
|
248
|
+
_x: i,
|
|
249
|
+
_y: a
|
|
250
|
+
}), s === 0 && (i = t.x, a = t.y), u === 0 && (i = t.x), l === 0 && (a = t.y), {
|
|
251
|
+
x: i,
|
|
252
|
+
y: a
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
|
-
}, "intersection"), H = /* @__PURE__ */
|
|
256
|
-
|
|
257
|
-
let
|
|
255
|
+
}, "intersection"), H = /* @__PURE__ */ g((e, t) => {
|
|
256
|
+
h.warn("abc88 cutPathAtIntersect", e, t);
|
|
257
|
+
let n = [], r = e[0], i = !1;
|
|
258
258
|
return e.forEach((e) => {
|
|
259
|
-
if (
|
|
260
|
-
let
|
|
261
|
-
|
|
262
|
-
let
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
}),
|
|
266
|
-
} else
|
|
267
|
-
}),
|
|
259
|
+
if (h.info("abc88 checking point", e, t), !B(t, e) && !i) {
|
|
260
|
+
let a = V(t, r, e);
|
|
261
|
+
h.debug("abc88 inside", e, r, a), h.debug("abc88 intersection", a, t);
|
|
262
|
+
let o = !1;
|
|
263
|
+
n.forEach((e) => {
|
|
264
|
+
o = o || e.x === a.x && e.y === a.y;
|
|
265
|
+
}), n.some((e) => e.x === a.x && e.y === a.y) ? h.warn("abc88 no intersect", a, n) : n.push(a), i = !0;
|
|
266
|
+
} else h.warn("abc88 outside", e, r), r = e, i || n.push(e);
|
|
267
|
+
}), h.debug("returning points", n), n;
|
|
268
268
|
}, "cutPathAtIntersect");
|
|
269
269
|
function U(e) {
|
|
270
270
|
let t = [], n = [];
|
|
@@ -277,90 +277,90 @@ function U(e) {
|
|
|
277
277
|
cornerPointPositions: n
|
|
278
278
|
};
|
|
279
279
|
}
|
|
280
|
-
|
|
281
|
-
var W = /* @__PURE__ */
|
|
280
|
+
g(U, "extractCornerPoints");
|
|
281
|
+
var W = /* @__PURE__ */ g(function(e, t, n) {
|
|
282
282
|
let r = t.x - e.x, i = t.y - e.y, a = n / Math.sqrt(r * r + i * i);
|
|
283
283
|
return {
|
|
284
284
|
x: t.x - a * r,
|
|
285
285
|
y: t.y - a * i
|
|
286
286
|
};
|
|
287
|
-
}, "findAdjacentPoint"), ie = /* @__PURE__ */
|
|
288
|
-
let { cornerPointPositions:
|
|
289
|
-
for (let
|
|
290
|
-
let
|
|
291
|
-
|
|
292
|
-
let
|
|
293
|
-
x:
|
|
294
|
-
y:
|
|
287
|
+
}, "findAdjacentPoint"), ie = /* @__PURE__ */ g(function(e) {
|
|
288
|
+
let { cornerPointPositions: t } = U(e), n = [];
|
|
289
|
+
for (let r = 0; r < e.length; r++) if (t.includes(r)) {
|
|
290
|
+
let t = e[r - 1], i = e[r + 1], a = e[r], o = W(t, a, 5), s = W(i, a, 5), c = s.x - o.x, l = s.y - o.y;
|
|
291
|
+
n.push(o);
|
|
292
|
+
let u = Math.sqrt(2) * 2, d = {
|
|
293
|
+
x: a.x,
|
|
294
|
+
y: a.y
|
|
295
295
|
};
|
|
296
|
-
Math.abs(
|
|
297
|
-
x:
|
|
298
|
-
y:
|
|
296
|
+
Math.abs(i.x - t.x) > 10 && Math.abs(i.y - t.y) >= 10 ? (h.debug("Corner point fixing", Math.abs(i.x - t.x), Math.abs(i.y - t.y)), d = a.x === o.x ? {
|
|
297
|
+
x: c < 0 ? o.x - 5 + u : o.x + 5 - u,
|
|
298
|
+
y: l < 0 ? o.y - u : o.y + u
|
|
299
299
|
} : {
|
|
300
|
-
x:
|
|
301
|
-
y:
|
|
302
|
-
}) :
|
|
303
|
-
} else
|
|
304
|
-
return
|
|
305
|
-
}, "fixCorners"), ae = /* @__PURE__ */
|
|
300
|
+
x: c < 0 ? o.x - u : o.x + u,
|
|
301
|
+
y: l < 0 ? o.y - 5 + u : o.y + 5 - u
|
|
302
|
+
}) : h.debug("Corner point skipping fixing", Math.abs(i.x - t.x), Math.abs(i.y - t.y)), n.push(d, s);
|
|
303
|
+
} else n.push(e[r]);
|
|
304
|
+
return n;
|
|
305
|
+
}, "fixCorners"), ae = /* @__PURE__ */ g((e, t, n) => {
|
|
306
306
|
let r = e - t - n, i = Math.floor(r / 4);
|
|
307
307
|
return `0 ${t} ${Array(i).fill("2 2").join(" ")} ${n}`;
|
|
308
|
-
}, "generateDashArray"), G = /* @__PURE__ */
|
|
309
|
-
if (!T) throw Error(`insertEdge: missing diagramId for edge "${
|
|
310
|
-
let { handDrawnSeed: D } =
|
|
311
|
-
var
|
|
308
|
+
}, "generateDashArray"), G = /* @__PURE__ */ g(function(e, g, y, b, S, w, T, E = !1) {
|
|
309
|
+
if (!T) throw Error(`insertEdge: missing diagramId for edge "${g.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);
|
|
310
|
+
let { handDrawnSeed: D } = v(), k = g.points, A = !1, j = S;
|
|
311
|
+
var M = w;
|
|
312
312
|
let N = [];
|
|
313
|
-
for (let e in
|
|
314
|
-
|
|
315
|
-
let P = btoa(JSON.stringify(
|
|
316
|
-
|
|
317
|
-
let F =
|
|
313
|
+
for (let e in g.cssCompiledStyles) te(e) || N.push(g.cssCompiledStyles[e]);
|
|
314
|
+
h.debug("UIO intersect check", g.points, M.x, j.x), M.intersect && j.intersect && !E && (k = k.slice(1, g.points.length - 1), k.unshift(j.intersect(k[0])), h.debug("Last point UIO", g.start, "-->", g.end, k[k.length - 1], M, M.intersect(k[k.length - 1])), k.push(M.intersect(k[k.length - 1])));
|
|
315
|
+
let P = btoa(JSON.stringify(k));
|
|
316
|
+
g.toCluster && (h.info("to cluster abc88", y.get(g.toCluster)), k = H(g.points, y.get(g.toCluster).node), A = !0), g.fromCluster && (h.debug("from cluster abc88", y.get(g.fromCluster), JSON.stringify(k, null, 2)), k = H(k.reverse(), y.get(g.fromCluster).node).reverse(), A = !0);
|
|
317
|
+
let F = k.filter((e) => !Number.isNaN(e.y)), I = re(g.curve);
|
|
318
318
|
I !== "rounded" && (F = ie(F));
|
|
319
|
-
let L =
|
|
319
|
+
let L = i;
|
|
320
320
|
switch (I) {
|
|
321
321
|
case "linear":
|
|
322
|
-
L =
|
|
322
|
+
L = i;
|
|
323
323
|
break;
|
|
324
324
|
case "basis":
|
|
325
|
-
L =
|
|
325
|
+
L = o;
|
|
326
326
|
break;
|
|
327
327
|
case "cardinal":
|
|
328
|
-
L =
|
|
328
|
+
L = f;
|
|
329
329
|
break;
|
|
330
330
|
case "bumpX":
|
|
331
|
-
L =
|
|
331
|
+
L = r;
|
|
332
332
|
break;
|
|
333
333
|
case "bumpY":
|
|
334
|
-
L =
|
|
334
|
+
L = n;
|
|
335
335
|
break;
|
|
336
336
|
case "catmullRom":
|
|
337
|
-
L =
|
|
337
|
+
L = t;
|
|
338
338
|
break;
|
|
339
339
|
case "monotoneX":
|
|
340
340
|
L = p;
|
|
341
341
|
break;
|
|
342
342
|
case "monotoneY":
|
|
343
|
-
L =
|
|
343
|
+
L = a;
|
|
344
344
|
break;
|
|
345
345
|
case "natural":
|
|
346
|
-
L =
|
|
346
|
+
L = c;
|
|
347
347
|
break;
|
|
348
348
|
case "step":
|
|
349
|
-
L =
|
|
349
|
+
L = m;
|
|
350
350
|
break;
|
|
351
351
|
case "stepAfter":
|
|
352
|
-
L =
|
|
352
|
+
L = s;
|
|
353
353
|
break;
|
|
354
354
|
case "stepBefore":
|
|
355
|
-
L =
|
|
355
|
+
L = d;
|
|
356
356
|
break;
|
|
357
357
|
case "rounded":
|
|
358
|
-
L =
|
|
358
|
+
L = i;
|
|
359
359
|
break;
|
|
360
|
-
default: L =
|
|
360
|
+
default: L = o;
|
|
361
361
|
}
|
|
362
|
-
let { x: R, y: z } = ee(
|
|
363
|
-
switch (
|
|
362
|
+
let { x: R, y: z } = ee(g), B = x().x(R).y(z).curve(L), V;
|
|
363
|
+
switch (g.thickness) {
|
|
364
364
|
case "normal":
|
|
365
365
|
V = "edge-thickness-normal";
|
|
366
366
|
break;
|
|
@@ -372,7 +372,7 @@ var W = /* @__PURE__ */ n(function(e, t, n) {
|
|
|
372
372
|
break;
|
|
373
373
|
default: V = "edge-thickness-normal";
|
|
374
374
|
}
|
|
375
|
-
switch (
|
|
375
|
+
switch (g.pattern) {
|
|
376
376
|
case "solid":
|
|
377
377
|
V += " edge-pattern-solid";
|
|
378
378
|
break;
|
|
@@ -384,40 +384,40 @@ var W = /* @__PURE__ */ n(function(e, t, n) {
|
|
|
384
384
|
break;
|
|
385
385
|
default: V += " edge-pattern-solid";
|
|
386
386
|
}
|
|
387
|
-
let U, W = I === "rounded" ? K(J(F,
|
|
388
|
-
|
|
387
|
+
let U, W = I === "rounded" ? K(J(F, g), 5) : B(F), G = Array.isArray(g.style) ? g.style : [g.style], q = G.find((e) => e == null ? void 0 : e.startsWith("stroke:")), Y = "";
|
|
388
|
+
g.animate && (Y = "edge-animation-fast"), g.animation && (Y = "edge-animation-" + g.animation);
|
|
389
389
|
let X = !1;
|
|
390
|
-
if (
|
|
391
|
-
let t =
|
|
390
|
+
if (g.look === "handDrawn") {
|
|
391
|
+
let t = O.svg(e);
|
|
392
392
|
Object.assign([], F);
|
|
393
|
-
let
|
|
393
|
+
let n = t.path(W, {
|
|
394
394
|
roughness: .3,
|
|
395
395
|
seed: D
|
|
396
396
|
});
|
|
397
|
-
V += " transition", U =
|
|
398
|
-
let
|
|
399
|
-
U.attr("d",
|
|
397
|
+
V += " transition", U = _(n).select("path").attr("id", `${T}-${g.id}`).attr("class", " " + V + (g.classes ? " " + g.classes : "") + (Y ? " " + Y : "")).attr("style", G ? G.reduce((e, t) => e + ";" + t, "") : "");
|
|
398
|
+
let r = U.attr("d");
|
|
399
|
+
U.attr("d", r), e.node().appendChild(U.node());
|
|
400
400
|
} else {
|
|
401
401
|
var Z;
|
|
402
|
-
let t = N.join(";"),
|
|
403
|
-
U = e.append("path").attr("d", W).attr("id", `${T}-${
|
|
404
|
-
let
|
|
405
|
-
if (
|
|
406
|
-
let e = `stroke-dasharray: ${
|
|
402
|
+
let t = N.join(";"), n = G ? G.reduce((e, t) => e + t + ";", "") : "", r = (t ? t + ";" + n + ";" : n) + ";" + (G ? G.reduce((e, t) => e + ";" + t, "") : "");
|
|
403
|
+
U = e.append("path").attr("d", W).attr("id", `${T}-${g.id}`).attr("class", " " + V + (g.classes ? " " + g.classes : "") + (Y ? " " + Y : "")).attr("style", r), q = (Z = r.match(/stroke:([^;]+)/)) == null ? void 0 : Z[1], X = g.animate === !0 || !!g.animation || t.includes("animation");
|
|
404
|
+
let i = U.node(), a = typeof i.getTotalLength == "function" ? i.getTotalLength() : 0, o = C[g.arrowTypeStart] || 0, s = C[g.arrowTypeEnd] || 0;
|
|
405
|
+
if (g.look === "neo" && !X) {
|
|
406
|
+
let e = `stroke-dasharray: ${g.pattern === "dotted" || g.pattern === "dashed" ? ae(a, o, s) : `0 ${o} ${a - o - s} ${s}`}; stroke-dashoffset: 0;`;
|
|
407
407
|
U.attr("style", e + U.attr("style"));
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
U.attr("data-edge", !0), U.attr("data-et", "edge"), U.attr("data-id",
|
|
410
|
+
U.attr("data-edge", !0), U.attr("data-et", "edge"), U.attr("data-id", g.id), U.attr("data-points", P), U.attr("data-look", u(g.look)), g.showPoints && F.forEach((t) => {
|
|
411
411
|
e.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", t.x).attr("cy", t.y);
|
|
412
412
|
});
|
|
413
413
|
let Q = "";
|
|
414
|
-
(
|
|
415
|
-
let oe = !X && (
|
|
416
|
-
|
|
417
|
-
let se = Math.floor(
|
|
418
|
-
|
|
414
|
+
(v().flowchart.arrowMarkerAbsolute || v().state.arrowMarkerAbsolute) && (Q = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Q = Q.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), h.info("arrowTypeStart", g.arrowTypeStart), h.info("arrowTypeEnd", g.arrowTypeEnd);
|
|
415
|
+
let oe = !X && (g == null ? void 0 : g.look) === "neo";
|
|
416
|
+
ne(U, g, Q, T, b, oe, q);
|
|
417
|
+
let se = Math.floor(k.length / 2), ce = k[se];
|
|
418
|
+
l.isLabelCoordinateInPath(ce, U.attr("d")) || (A = !0);
|
|
419
419
|
let $ = {};
|
|
420
|
-
return
|
|
420
|
+
return A && ($.updatedPath = k), $.originalPath = g.points, $;
|
|
421
421
|
}, "insertEdge");
|
|
422
422
|
function K(e, t) {
|
|
423
423
|
if (e.length < 2) return "";
|
|
@@ -443,7 +443,7 @@ function K(e, t) {
|
|
|
443
443
|
}
|
|
444
444
|
return n;
|
|
445
445
|
}
|
|
446
|
-
|
|
446
|
+
g(K, "generateRoundedPath");
|
|
447
447
|
function q(e, t) {
|
|
448
448
|
if (!e || !t) return {
|
|
449
449
|
angle: 0,
|
|
@@ -457,7 +457,7 @@ function q(e, t) {
|
|
|
457
457
|
deltaY: r
|
|
458
458
|
};
|
|
459
459
|
}
|
|
460
|
-
|
|
460
|
+
g(q, "calculateDeltaAndAngle");
|
|
461
461
|
function J(t, n) {
|
|
462
462
|
let r = t.map((t) => e({}, t));
|
|
463
463
|
if (t.length >= 2 && w[n.arrowTypeStart]) {
|
|
@@ -471,94 +471,94 @@ function J(t, n) {
|
|
|
471
471
|
}
|
|
472
472
|
return r;
|
|
473
473
|
}
|
|
474
|
-
|
|
475
|
-
var Y = /* @__PURE__ */
|
|
474
|
+
g(J, "applyMarkerOffsetsToPoints");
|
|
475
|
+
var Y = /* @__PURE__ */ g((e, t, n, r) => {
|
|
476
476
|
t.forEach((t) => {
|
|
477
477
|
X[t](e, n, r);
|
|
478
478
|
});
|
|
479
479
|
}, "insertMarkers"), X = {
|
|
480
|
-
extension: /* @__PURE__ */
|
|
481
|
-
|
|
480
|
+
extension: /* @__PURE__ */ g((e, t, n) => {
|
|
481
|
+
h.trace("Making markers for ", n), e.append("defs").append("marker").attr("id", n + "_" + t + "-extensionStart").attr("class", "marker extension " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-extensionEnd").attr("class", "marker extension " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 1,1 V 13 L18,7 Z"), e.append("marker").attr("id", n + "_" + t + "-extensionStart-margin").attr("class", "marker extension " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,7 18,13 18,1").style("stroke-width", 2).style("stroke-dasharray", "0"), e.append("defs").append("marker").attr("id", n + "_" + t + "-extensionEnd-margin").attr("class", "marker extension " + t).attr("refX", 9).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,1 10,13 18,7").style("stroke-width", 2).style("stroke-dasharray", "0");
|
|
482
482
|
}, "extension"),
|
|
483
|
-
composition: /* @__PURE__ */
|
|
483
|
+
composition: /* @__PURE__ */ g((e, t, n) => {
|
|
484
484
|
e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionStart").attr("class", "marker composition " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionEnd").attr("class", "marker composition " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionStart-margin").attr("class", "marker composition " + t).attr("refX", 15).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("viewBox", "0 0 15 15").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionEnd-margin").attr("class", "marker composition " + t).attr("refX", 3.5).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
|
|
485
485
|
}, "composition"),
|
|
486
|
-
aggregation: /* @__PURE__ */
|
|
486
|
+
aggregation: /* @__PURE__ */ g((e, t, n) => {
|
|
487
487
|
e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationStart").attr("class", "marker aggregation " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationEnd").attr("class", "marker aggregation " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationStart-margin").attr("class", "marker aggregation " + t).attr("refX", 15).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 2).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationEnd-margin").attr("class", "marker aggregation " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 2).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
|
|
488
488
|
}, "aggregation"),
|
|
489
|
-
dependency: /* @__PURE__ */
|
|
489
|
+
dependency: /* @__PURE__ */ g((e, t, n) => {
|
|
490
490
|
e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyStart").attr("class", "marker dependency " + t).attr("refX", 6).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyEnd").attr("class", "marker dependency " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyStart-margin").attr("class", "marker dependency " + t).attr("refX", 4).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyEnd-margin").attr("class", "marker dependency " + t).attr("refX", 16).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
|
|
491
491
|
}, "dependency"),
|
|
492
|
-
lollipop: /* @__PURE__ */
|
|
492
|
+
lollipop: /* @__PURE__ */ g((e, t, n) => {
|
|
493
493
|
e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopStart").attr("class", "marker lollipop " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6), e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopEnd").attr("class", "marker lollipop " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6), e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopStart-margin").attr("class", "marker lollipop " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6).attr("stroke-width", 2), e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopEnd-margin").attr("class", "marker lollipop " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6).attr("stroke-width", 2);
|
|
494
494
|
}, "lollipop"),
|
|
495
|
-
point: /* @__PURE__ */
|
|
495
|
+
point: /* @__PURE__ */ g((e, t, n) => {
|
|
496
496
|
e.append("marker").attr("id", n + "_" + t + "-pointEnd").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 8).attr("markerHeight", 8).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-pointStart").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 4.5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 8).attr("markerHeight", 8).attr("orient", "auto").append("path").attr("d", "M 0 5 L 10 10 L 10 0 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-pointEnd-margin").attr("class", "marker " + t).attr("viewBox", "0 0 11.5 14").attr("refX", 11.5).attr("refY", 7).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 10.5).attr("markerHeight", 14).attr("orient", "auto").append("path").attr("d", "M 0 0 L 11.5 7 L 0 14 z").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-pointStart-margin").attr("class", "marker " + t).attr("viewBox", "0 0 11.5 14").attr("refX", 1).attr("refY", 7).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11.5).attr("markerHeight", 14).attr("orient", "auto").append("polygon").attr("points", "0,7 11.5,14 11.5,0").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0");
|
|
497
497
|
}, "point"),
|
|
498
|
-
circle: /* @__PURE__ */
|
|
498
|
+
circle: /* @__PURE__ */ g((e, t, n) => {
|
|
499
499
|
e.append("marker").attr("id", n + "_" + t + "-circleEnd").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 11).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-circleStart").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", -1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-circleEnd-margin").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refY", 5).attr("refX", 12.25).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 14).attr("markerHeight", 14).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-circleStart-margin").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", -2).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 14).attr("markerHeight", 14).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0");
|
|
500
500
|
}, "circle"),
|
|
501
|
-
cross: /* @__PURE__ */
|
|
501
|
+
cross: /* @__PURE__ */ g((e, t, n) => {
|
|
502
502
|
e.append("marker").attr("id", n + "_" + t + "-crossEnd").attr("class", "marker cross " + t).attr("viewBox", "0 0 11 11").attr("refX", 12).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-crossStart").attr("class", "marker cross " + t).attr("viewBox", "0 0 11 11").attr("refX", -1).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-crossEnd-margin").attr("class", "marker cross " + t).attr("viewBox", "0 0 15 15").attr("refX", 17.7).attr("refY", 7.5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 1,1 L 14,14 M 1,14 L 14,1").attr("class", "arrowMarkerPath").style("stroke-width", 2.5), e.append("marker").attr("id", n + "_" + t + "-crossStart-margin").attr("class", "marker cross " + t).attr("viewBox", "0 0 15 15").attr("refX", -3.5).attr("refY", 7.5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 1,1 L 14,14 M 1,14 L 14,1").attr("class", "arrowMarkerPath").style("stroke-width", 2.5).style("stroke-dasharray", "1,0");
|
|
503
503
|
}, "cross"),
|
|
504
|
-
barb: /* @__PURE__ */
|
|
504
|
+
barb: /* @__PURE__ */ g((e, t, n) => {
|
|
505
505
|
e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L9,13 L14,7 L9,1 Z");
|
|
506
506
|
}, "barb"),
|
|
507
|
-
barbNeo: /* @__PURE__ */
|
|
508
|
-
let { themeVariables: r } =
|
|
507
|
+
barbNeo: /* @__PURE__ */ g((e, t, n) => {
|
|
508
|
+
let { themeVariables: r } = b(), { transitionColor: i } = r;
|
|
509
509
|
e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "strokeWidth").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd-margin").attr("refX", 17).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z").attr("fill", `${i}`);
|
|
510
510
|
}, "barbNeo"),
|
|
511
|
-
only_one: /* @__PURE__ */
|
|
511
|
+
only_one: /* @__PURE__ */ g((e, t, n) => {
|
|
512
512
|
e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18"), e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18");
|
|
513
513
|
}, "only_one"),
|
|
514
|
-
zero_or_one: /* @__PURE__ */
|
|
514
|
+
zero_or_one: /* @__PURE__ */ g((e, t, n) => {
|
|
515
515
|
let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto");
|
|
516
516
|
r.append("circle").attr("fill", "white").attr("cx", 21).attr("cy", 9).attr("r", 6), r.append("path").attr("d", "M9,0 L9,18");
|
|
517
517
|
let i = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto");
|
|
518
518
|
i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 9).attr("r", 6), i.append("path").attr("d", "M21,0 L21,18");
|
|
519
519
|
}, "zero_or_one"),
|
|
520
|
-
one_or_more: /* @__PURE__ */
|
|
520
|
+
one_or_more: /* @__PURE__ */ g((e, t, n) => {
|
|
521
521
|
e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"), e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18");
|
|
522
522
|
}, "one_or_more"),
|
|
523
|
-
zero_or_more: /* @__PURE__ */
|
|
523
|
+
zero_or_more: /* @__PURE__ */ g((e, t, n) => {
|
|
524
524
|
let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto");
|
|
525
525
|
r.append("circle").attr("fill", "white").attr("cx", 48).attr("cy", 18).attr("r", 6), r.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18");
|
|
526
526
|
let i = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto");
|
|
527
527
|
i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 18).attr("r", 6), i.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18");
|
|
528
528
|
}, "zero_or_more"),
|
|
529
|
-
only_one_neo: /* @__PURE__ */
|
|
530
|
-
let { themeVariables: r } =
|
|
529
|
+
only_one_neo: /* @__PURE__ */ g((e, t, n) => {
|
|
530
|
+
let { themeVariables: r } = b(), { strokeWidth: i } = r;
|
|
531
531
|
e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18").attr("stroke-width", `${i}`), e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18").attr("stroke-width", `${i}`);
|
|
532
532
|
}, "only_one_neo"),
|
|
533
|
-
zero_or_one_neo: /* @__PURE__ */
|
|
534
|
-
let { themeVariables: r } =
|
|
535
|
-
|
|
536
|
-
let
|
|
537
|
-
|
|
533
|
+
zero_or_one_neo: /* @__PURE__ */ g((e, t, n) => {
|
|
534
|
+
let { themeVariables: r } = b(), { strokeWidth: i, mainBkg: a } = r, o = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
|
|
535
|
+
o.append("circle").attr("fill", a == null ? "white" : a).attr("cx", 21).attr("cy", 9).attr("stroke-width", `${i}`).attr("r", 6), o.append("path").attr("d", "M9,0 L9,18").attr("stroke-width", `${i}`);
|
|
536
|
+
let s = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
|
|
537
|
+
s.append("circle").attr("fill", a == null ? "white" : a).attr("cx", 9).attr("cy", 9).attr("stroke-width", `${i}`).attr("r", 6), s.append("path").attr("d", "M21,0 L21,18").attr("stroke-width", `${i}`);
|
|
538
538
|
}, "zero_or_one_neo"),
|
|
539
|
-
one_or_more_neo: /* @__PURE__ */
|
|
540
|
-
let { themeVariables: r } =
|
|
539
|
+
one_or_more_neo: /* @__PURE__ */ g((e, t, n) => {
|
|
540
|
+
let { themeVariables: r } = b(), { strokeWidth: i } = r;
|
|
541
541
|
e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width", `${i}`), e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width", `${i}`);
|
|
542
542
|
}, "one_or_more_neo"),
|
|
543
|
-
zero_or_more_neo: /* @__PURE__ */
|
|
544
|
-
let { themeVariables: r } =
|
|
545
|
-
|
|
546
|
-
let
|
|
547
|
-
|
|
543
|
+
zero_or_more_neo: /* @__PURE__ */ g((e, t, n) => {
|
|
544
|
+
let { themeVariables: r } = b(), { strokeWidth: i, mainBkg: a } = r, o = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
|
|
545
|
+
o.append("circle").attr("fill", a == null ? "white" : a).attr("cx", 45.5).attr("cy", 18).attr("r", 6).attr("stroke-width", `${i}`), o.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width", `${i}`);
|
|
546
|
+
let s = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
|
|
547
|
+
s.append("circle").attr("fill", a == null ? "white" : a).attr("cx", 11).attr("cy", 18).attr("r", 6).attr("stroke-width", `${i}`), s.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width", `${i}`);
|
|
548
548
|
}, "zero_or_more_neo"),
|
|
549
|
-
requirement_arrow: /* @__PURE__ */
|
|
549
|
+
requirement_arrow: /* @__PURE__ */ g((e, t, n) => {
|
|
550
550
|
e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20");
|
|
551
551
|
}, "requirement_arrow"),
|
|
552
|
-
requirement_contains: /* @__PURE__ */
|
|
552
|
+
requirement_contains: /* @__PURE__ */ g((e, t, n) => {
|
|
553
553
|
let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").append("g");
|
|
554
554
|
r.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), r.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), r.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10);
|
|
555
555
|
}, "requirement_contains"),
|
|
556
|
-
requirement_arrow_neo: /* @__PURE__ */
|
|
557
|
-
let { themeVariables: r } =
|
|
556
|
+
requirement_arrow_neo: /* @__PURE__ */ g((e, t, n) => {
|
|
557
|
+
let { themeVariables: r } = b(), { strokeWidth: i } = r;
|
|
558
558
|
e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("stroke-width", `${i}`).attr("viewBox", "0 0 25 20").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20").attr("stroke-linejoin", "miter");
|
|
559
559
|
}, "requirement_arrow_neo"),
|
|
560
|
-
requirement_contains_neo: /* @__PURE__ */
|
|
561
|
-
let { themeVariables: r } =
|
|
560
|
+
requirement_contains_neo: /* @__PURE__ */ g((e, t, n) => {
|
|
561
|
+
let { themeVariables: r } = b(), { strokeWidth: i } = r, a = e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("g");
|
|
562
562
|
a.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), a.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), a.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10), a.selectAll("*").attr("stroke-width", `${i}`);
|
|
563
563
|
}, "requirement_contains_neo")
|
|
564
564
|
}, Z = Y;
|