@spteck/react-controls-v2 2.3.91 → 2.4.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.
- package/dist/LocalizationProvider-BbfcY9z3.cjs +2 -0
- package/dist/{LocalizationProvider-te5iu_6z.js → LocalizationProvider-CvSHuk0e.js} +46 -46
- package/dist/{ar-Blifx2MN.js → ar-BPzd6WER.js} +1 -1
- package/dist/ar-CBSdRr5Q.cjs +2 -0
- package/dist/az-DoZjCfF0.cjs +2 -0
- package/dist/{az-CMhDjtnj.js → az-MWX-WDgc.js} +1 -1
- package/dist/{bg-C96WirSv.js → bg-CvRGS4sF.js} +1 -1
- package/dist/bg-DI8UD_HF.cjs +2 -0
- package/dist/bs-DQhZlEEo.cjs +2 -0
- package/dist/{bs-_St1wBE_.js → bs-aXQgChJT.js} +1 -1
- package/dist/{ca-QlLcV4wf.js → ca-BCXCXzgh.js} +1 -1
- package/dist/ca-DSC32tOX.cjs +2 -0
- package/dist/components/dropDownField/IOption.d.ts +2 -0
- package/dist/components/iconButton/IconButtonProps.d.ts +2 -0
- package/dist/cs-B0C33FJt.cjs +2 -0
- package/dist/{cs-MrS2bH7F.js → cs-VHWnqXwJ.js} +1 -1
- package/dist/cy-BNabORao.cjs +2 -0
- package/dist/{cy-BX97Tgwk.js → cy-qF-aNCW-.js} +1 -1
- package/dist/da-BmgXTEXm.cjs +2 -0
- package/dist/{da-BnewPPrh.js → da-rR5TnSBw.js} +1 -1
- package/dist/de-B4w38-0d.cjs +2 -0
- package/dist/{de-BSZuzGTL.js → de-DbeDjRNp.js} +1 -1
- package/dist/el-Cgk6VsxL.cjs +2 -0
- package/dist/{el-DrOk3N7-.js → el-DDeD6FiX.js} +1 -1
- package/dist/es-3ugMIZuA.cjs +2 -0
- package/dist/{es-CGqzubZ2.js → es-dvKffn6Q.js} +1 -1
- package/dist/et-CIIzxbat.cjs +2 -0
- package/dist/{et-DGqkocuq.js → et-DgZFBtK7.js} +1 -1
- package/dist/eu-BUNUOJ7E.cjs +2 -0
- package/dist/{eu-DEo7fdTW.js → eu-C6r1_PRy.js} +1 -1
- package/dist/{fi-DxErwnd5.js → fi-CzOKgmjK.js} +1 -1
- package/dist/fi-q6BFPHtt.cjs +2 -0
- package/dist/fr-BEnCZ733.cjs +2 -0
- package/dist/{fr-zrtSZX0o.js → fr-D0cDkdbn.js} +1 -1
- package/dist/{ga-CbHxGc9_.js → ga-0A7ndSzw.js} +1 -1
- package/dist/ga-BXyKTnJr.cjs +2 -0
- package/dist/{gl--w0P3RY4.js → gl-BNwj4XAu.js} +1 -1
- package/dist/gl-DR1C-hSi.cjs +2 -0
- package/dist/{he-DY19lzWp.js → he-BPiZ6D5h.js} +1 -1
- package/dist/he-OD1Ex2Fw.cjs +2 -0
- package/dist/{hi-CFSsoO_8.js → hi-CSgtp9Yg.js} +1 -1
- package/dist/hi-Dt9FvBmh.cjs +2 -0
- package/dist/{hr-DIRJ1Z8e.js → hr-CDSSj52Q.js} +1 -1
- package/dist/hr-DMzwNhar.cjs +2 -0
- package/dist/hu-Bc-rChfV.cjs +2 -0
- package/dist/{hu-DqYPRWZh.js → hu-TDJYiDOB.js} +1 -1
- package/dist/{id-Dgj7SUCi.js → id-B3IF5pnh.js} +1 -1
- package/dist/id-CwndN9HH.cjs +2 -0
- package/dist/index.cjs +105 -114
- package/dist/index.js +6162 -18503
- package/dist/{it-QdChHqVN.js → it-BLET318M.js} +1 -1
- package/dist/it-DaYS5Vil.cjs +2 -0
- package/dist/ja-BYA2LXHy.cjs +2 -0
- package/dist/{ja-BNS0BbY-.js → ja-NxwXLaKV.js} +1 -1
- package/dist/{kk-Dhkax68h.js → kk-CceJcjtl.js} +1 -1
- package/dist/kk-Ctrvuqlz.cjs +2 -0
- package/dist/{ko-heRMHZWp.js → ko-cS_OE967.js} +1 -1
- package/dist/ko-evIcpTG8.cjs +2 -0
- package/dist/lt-CYTLGgh6.cjs +2 -0
- package/dist/{lt-Decqbo8S.js → lt-CZ-kk_5b.js} +1 -1
- package/dist/{lv-wZASv0Lw.js → lv-BTvPpEjc.js} +1 -1
- package/dist/lv-COjitD3w.cjs +2 -0
- package/dist/mk-B-LF5gVL.cjs +2 -0
- package/dist/{mk-BTsLGTJT.js → mk-CSSyI3El.js} +1 -1
- package/dist/ms-CzEvkib0.cjs +2 -0
- package/dist/{ms-C0cVNwky.js → ms-Dz5JnKJ1.js} +1 -1
- package/dist/nb-B1KWSX94.cjs +2 -0
- package/dist/{nb-DGX4q4tS.js → nb-DkgTg1et.js} +1 -1
- package/dist/{nl-CnXZa8tZ.js → nl-CQ5eoxw2.js} +1 -1
- package/dist/nl-knWqo2aX.cjs +2 -0
- package/dist/{pl-DbIdTNpg.js → pl-BQJfOizT.js} +1 -1
- package/dist/pl-Ce6dq53t.cjs +2 -0
- package/dist/providers.cjs +1 -1
- package/dist/providers.js +1 -1
- package/dist/pt-BVqTnGkF.cjs +2 -0
- package/dist/{pt-CcKYweQk.js → pt-b0p7DoD0.js} +1 -1
- package/dist/ro-DqJMfhmX.cjs +2 -0
- package/dist/{ro-C-8tiqgA.js → ro-sbBtUVJV.js} +1 -1
- package/dist/ru-Dm2NAQyK.cjs +2 -0
- package/dist/{ru-Dhnz96q2.js → ru-ofzbka6D.js} +1 -1
- package/dist/sk-BNe6CHG-.cjs +2 -0
- package/dist/{sk-BU-Z5EsC.js → sk-BtpdNCPC.js} +1 -1
- package/dist/{sl-CcfjJFxo.js → sl-B4GsKLu6.js} +1 -1
- package/dist/sl-BKmEUGyu.cjs +2 -0
- package/dist/{sr-S53unrLA.js → sr-C76YVpkQ.js} +1 -1
- package/dist/sr-Dwya5lwF.cjs +2 -0
- package/dist/sv-BGL2G9Vm.cjs +2 -0
- package/dist/{sv-BiJrVfZr.js → sv-PesX57cX.js} +1 -1
- package/dist/{th-vQ7LQ7nD.js → th-CbCNOBnR.js} +1 -1
- package/dist/th-DEv6shFI.cjs +2 -0
- package/dist/{tr-C5RrNGLz.js → tr-B0TPxXKS.js} +1 -1
- package/dist/tr-BB-QonGE.cjs +2 -0
- package/dist/uk-B-3fLKpR.cjs +2 -0
- package/dist/{uk-WGCFH0fY.js → uk-_9cNoBNe.js} +1 -1
- package/dist/{vi-Waa7HkXq.js → vi-B8SfqLW6.js} +1 -1
- package/dist/vi-Dx6pJ0ir.cjs +2 -0
- package/dist/zh-DD0ml2HG.cjs +2 -0
- package/dist/{zh-BmUS7Wn_.js → zh-DqHnbp6B.js} +1 -1
- package/package.json +6 -3
- package/dist/LocalizationProvider-B6NxHbu2.cjs +0 -2
- package/dist/_arrayEach-BuSFKyFt.js +0 -54
- package/dist/_arrayEach-ChR-TejB.cjs +0 -2
- package/dist/_getTag-BRuLtYrv.js +0 -28
- package/dist/_getTag-D6VVyrEu.cjs +0 -2
- package/dist/ar-ip3bGOX3.cjs +0 -2
- package/dist/arc-4yb49ncY.js +0 -82
- package/dist/arc-djsA8IT0.cjs +0 -2
- package/dist/architecture-PBZL5I3N-CvTfVLFi.js +0 -3
- package/dist/architecture-PBZL5I3N-wZIE3ggH.cjs +0 -1
- package/dist/architectureDiagram-2XIMDMQ5-DFEvJNx1.cjs +0 -37
- package/dist/architectureDiagram-2XIMDMQ5-g-HotzpG.js +0 -4047
- package/dist/array-BNB_vRFv.cjs +0 -2
- package/dist/array-DP0duYiO.js +0 -8
- package/dist/az-CyVLdUDz.cjs +0 -2
- package/dist/bg-Bexoz3hL.cjs +0 -2
- package/dist/blockDiagram-WCTKOSBZ-DWgb5Ghz.js +0 -3165
- package/dist/blockDiagram-WCTKOSBZ-Dl04FBAy.cjs +0 -133
- package/dist/bs-MMcvhwLv.cjs +0 -2
- package/dist/c4Diagram-IC4MRINW-ClZvialQ.js +0 -2966
- package/dist/c4Diagram-IC4MRINW-ZFE2cGZP.cjs +0 -11
- package/dist/ca-BspMSeHN.cjs +0 -2
- package/dist/channel-2Bqnb1FY.js +0 -7
- package/dist/channel-5_aP1EVB.cjs +0 -2
- package/dist/chunk-4BX2VUAB-B5Va_oZz.js +0 -10
- package/dist/chunk-4BX2VUAB-BWDW-gYk.cjs +0 -2
- package/dist/chunk-55IACEB6-4ind_ByS.cjs +0 -2
- package/dist/chunk-55IACEB6-Pcyz_aR_.js +0 -10
- package/dist/chunk-7E7YKBS2-Sw9_w4gt.cjs +0 -2
- package/dist/chunk-7E7YKBS2-VHdgsed6.js +0 -25
- package/dist/chunk-7R4GIKGN-BKoqTTU_.cjs +0 -81
- package/dist/chunk-7R4GIKGN-CaQJ0QBF.js +0 -2598
- package/dist/chunk-C72U2L5F-CCvi6jiy.cjs +0 -2
- package/dist/chunk-C72U2L5F-MjJQTOMh.js +0 -25
- package/dist/chunk-D-IZpNpi.cjs +0 -1
- package/dist/chunk-EGIJ26TM-Bffl84Wq.cjs +0 -2
- package/dist/chunk-EGIJ26TM-DLMAfvpZ.js +0 -25
- package/dist/chunk-FMBD7UC4-BvqqU04Z.cjs +0 -16
- package/dist/chunk-FMBD7UC4-xjRtkFXe.js +0 -7
- package/dist/chunk-GEFDOKGD-BNgT40Ex.js +0 -1302
- package/dist/chunk-GEFDOKGD-BOwd6Jqp.cjs +0 -3
- package/dist/chunk-GLR3WWYH-DdNAJNRC.cjs +0 -2
- package/dist/chunk-GLR3WWYH-kyo6BUtq.js +0 -43
- package/dist/chunk-HHEYEP7N-DO1AYIZw.js +0 -11
- package/dist/chunk-HHEYEP7N-pdmgQZzP.cjs +0 -2
- package/dist/chunk-JSJVCQXG-Ci0seBb4.cjs +0 -2
- package/dist/chunk-JSJVCQXG-DowfYWcD.js +0 -62
- package/dist/chunk-KX2RTZJC-BJeOHReu.cjs +0 -2
- package/dist/chunk-KX2RTZJC-D-bUTSNy.js +0 -27
- package/dist/chunk-KYZI473N-DEPuSXaW.js +0 -3436
- package/dist/chunk-KYZI473N-DzBMFOER.cjs +0 -54
- package/dist/chunk-L3YUKLVL-BDGCTzmy.js +0 -25
- package/dist/chunk-L3YUKLVL-BZ17sqh5.cjs +0 -2
- package/dist/chunk-MX3YWQON-CAsnAj2e.js +0 -82
- package/dist/chunk-MX3YWQON-DulrBJdn.cjs +0 -2
- package/dist/chunk-NBPlniwU.js +0 -23
- package/dist/chunk-NQ4KR5QH-BJBAT2kM.cjs +0 -221
- package/dist/chunk-NQ4KR5QH-DFem-ORD.js +0 -2004
- package/dist/chunk-O4XLMI2P-BQF7MAo7.cjs +0 -8
- package/dist/chunk-O4XLMI2P-DA4TPzPG.js +0 -513
- package/dist/chunk-OZEHJAEY-CAiiXJUP.cjs +0 -2
- package/dist/chunk-OZEHJAEY-D7SX2SbR.js +0 -66
- package/dist/chunk-PQ6SQG4A-BZnW4-Sd.cjs +0 -2
- package/dist/chunk-PQ6SQG4A-ObFGkauo.js +0 -69
- package/dist/chunk-PU5JKC2W-BM5NPS-q.js +0 -1887
- package/dist/chunk-PU5JKC2W-eRU8wnTH.cjs +0 -71
- package/dist/chunk-QZHKN3VN-Dhli_tM0.cjs +0 -2
- package/dist/chunk-QZHKN3VN-x258g6EH.js +0 -17
- package/dist/chunk-R5LLSJPH-CNTEucEd.cjs +0 -2
- package/dist/chunk-R5LLSJPH-Gt27ml2m.js +0 -37
- package/dist/chunk-WL4C6EOR-CQXw6d0l.cjs +0 -190
- package/dist/chunk-WL4C6EOR-DuM6QmqM.js +0 -3196
- package/dist/chunk-XIRO2GV7-CswC9CO8.cjs +0 -2
- package/dist/chunk-XIRO2GV7-DXlO8X82.js +0 -32
- package/dist/chunk-XPW4576I-Bpsr4SZJ.js +0 -1148
- package/dist/chunk-XPW4576I-C68T-WIW.cjs +0 -33
- package/dist/chunk-XZSTWKYB-DJv9rEVU.cjs +0 -95
- package/dist/chunk-XZSTWKYB-jD9M1izK.js +0 -16132
- package/dist/chunk-YBOYWFTD-B6CeuteH.js +0 -34
- package/dist/chunk-YBOYWFTD-CiLW6HW_.cjs +0 -2
- package/dist/classDiagram-VBA2DB6C-Us0kuDfz.cjs +0 -2
- package/dist/classDiagram-VBA2DB6C-VOsE3gN0.js +0 -31
- package/dist/classDiagram-v2-RAHNMMFH-BWsm3ea6.cjs +0 -2
- package/dist/classDiagram-v2-RAHNMMFH-DPqMNfOz.js +0 -31
- package/dist/cose-bilkent-S5V4N54A-CKhwzobJ.js +0 -2252
- package/dist/cose-bilkent-S5V4N54A-DmyaRQ6l.cjs +0 -2
- package/dist/cs-FZSeHYld.cjs +0 -2
- package/dist/cy-CzQmM2lQ.cjs +0 -2
- package/dist/cytoscape.esm-CcJAI0wG.cjs +0 -322
- package/dist/cytoscape.esm-D9EjU25_.js +0 -18102
- package/dist/da-CexFt-Oj.cjs +0 -2
- package/dist/dagre-CpEPaL3r.cjs +0 -2
- package/dist/dagre-Dd8wCGc6.js +0 -1305
- package/dist/dagre-KLK3FWXG-BpxkjvB3.js +0 -294
- package/dist/dagre-KLK3FWXG-DIznPQl_.cjs +0 -5
- package/dist/de-B68HwuYu.cjs +0 -2
- package/dist/defaultLocale-CYOzCjwh.js +0 -203
- package/dist/defaultLocale-DSgylVA1.cjs +0 -2
- package/dist/diagram-E7M64L7V-dXqTi77U.cjs +0 -25
- package/dist/diagram-E7M64L7V-oX07GVAD.js +0 -529
- package/dist/diagram-IFDJBPK2-CriVAAmI.cjs +0 -44
- package/dist/diagram-IFDJBPK2-lCNF06_S.js +0 -215
- package/dist/diagram-P4PSJMXO-TfwVJh4S.js +0 -135
- package/dist/diagram-P4PSJMXO-k7F0lH6Q.cjs +0 -25
- package/dist/dist-CV9Ez7cn.js +0 -52
- package/dist/dist-DVthN7lF.cjs +0 -2
- package/dist/el-DQc4jSMd.cjs +0 -2
- package/dist/erDiagram-INFDFZHY-CDt3mOSU.cjs +0 -71
- package/dist/erDiagram-INFDFZHY-Ds_R2Ds4.js +0 -1668
- package/dist/es-DI8Y4Bv1.cjs +0 -2
- package/dist/et-DfaryKvp.cjs +0 -2
- package/dist/eu-BVOSXciF.cjs +0 -2
- package/dist/fi-C5L-OzaI.cjs +0 -2
- package/dist/flowDiagram-PKNHOUZH-7XJG07fo.cjs +0 -163
- package/dist/flowDiagram-PKNHOUZH-CkeYebJ5.js +0 -4163
- package/dist/fr-yFvjqx8B.cjs +0 -2
- package/dist/ga-6mVQhlWi.cjs +0 -2
- package/dist/ganttDiagram-A5KZAMGK-Bbck1pyM.cjs +0 -293
- package/dist/ganttDiagram-A5KZAMGK-CFT3Xn_r.js +0 -3074
- package/dist/gitGraph-HDMCJU4V-BKE04oIl.js +0 -3
- package/dist/gitGraph-HDMCJU4V-C9GYfOYb.cjs +0 -1
- package/dist/gitGraphDiagram-K3NZZRJ6-CXz9SHBX.js +0 -627
- package/dist/gitGraphDiagram-K3NZZRJ6-Dt4D-ig1.cjs +0 -66
- package/dist/gl-BJzJe1sq.cjs +0 -2
- package/dist/graphlib-CPo7oIsu.js +0 -223
- package/dist/graphlib-CmUS4Qin.cjs +0 -2
- package/dist/he-B3Bw3qr0.cjs +0 -2
- package/dist/hi-kofL-mD8.cjs +0 -2
- package/dist/hr-CDxqA9Jm.cjs +0 -2
- package/dist/hu-Defen_75.cjs +0 -2
- package/dist/id-DcwMRgmX.cjs +0 -2
- package/dist/identity-6JlhFhuM.cjs +0 -2
- package/dist/identity-C1jKsMoW.js +0 -395
- package/dist/info-3K5VOQVL-DfN_3mKd.js +0 -3
- package/dist/info-3K5VOQVL-d6J9FY0_.cjs +0 -1
- package/dist/infoDiagram-LFFYTUFH-Bp9btqnA.cjs +0 -3
- package/dist/infoDiagram-LFFYTUFH-DnvgRFnx.js +0 -21
- package/dist/init-BAFZAp9S.cjs +0 -2
- package/dist/init-m0TwgR4W.js +0 -17
- package/dist/isEmpty-BTp1uKIj.cjs +0 -2
- package/dist/isEmpty-uXVYZZYe.js +0 -17
- package/dist/ishikawaDiagram-PHBUUO56-DLaOkz38.js +0 -719
- package/dist/ishikawaDiagram-PHBUUO56-DmqObwMZ.cjs +0 -71
- package/dist/it-D5nM6KCi.cjs +0 -2
- package/dist/ja-BtuHirv7.cjs +0 -2
- package/dist/journeyDiagram-4ABVD52K-Cv0DbLMi.cjs +0 -140
- package/dist/journeyDiagram-4ABVD52K-DYmmcNK4.js +0 -885
- package/dist/kanban-definition-K7BYSVSG-BdQLAMeB.cjs +0 -90
- package/dist/kanban-definition-K7BYSVSG-CLEYqSz5.js +0 -973
- package/dist/katex-B-Nju2J8.js +0 -22002
- package/dist/katex-WY67Rp7A.cjs +0 -266
- package/dist/kk-BSl8IqgQ.cjs +0 -2
- package/dist/ko-eplb1GD0.cjs +0 -2
- package/dist/line-CbEBKCYr.js +0 -36
- package/dist/line-DqSdvtRR.cjs +0 -2
- package/dist/linear-DvLDpS6A.cjs +0 -2
- package/dist/linear-Eb79THx6.js +0 -291
- package/dist/lt-DsYAWFbF.cjs +0 -2
- package/dist/lv-DHmTjCb8.cjs +0 -2
- package/dist/maplibre-gl-qSrG75fp.js +0 -33003
- package/dist/maplibre-gl-tm_pVdmb.cjs +0 -757
- package/dist/math-DR9t6ixc.cjs +0 -2
- package/dist/math-DyURnvXC.js +0 -12
- package/dist/mermaid-parser.core-BdTB9qx-.js +0 -61
- package/dist/mermaid-parser.core-BlzF5RRD.cjs +0 -4
- package/dist/mindmap-definition-YRQLILUH-CzcVgr-U.js +0 -966
- package/dist/mindmap-definition-YRQLILUH-zWN_YXC3.cjs +0 -69
- package/dist/mk-CCV_308U.cjs +0 -2
- package/dist/ms-CH83xVYN.cjs +0 -2
- package/dist/nb-DZ-DlwcL.cjs +0 -2
- package/dist/nl-Xdf-A19i.cjs +0 -2
- package/dist/ordinal-BAWGEQkf.js +0 -67
- package/dist/ordinal-CL2X4e2C.cjs +0 -2
- package/dist/packet-RMMSAZCW-Bek1stRX.cjs +0 -1
- package/dist/packet-RMMSAZCW-DUN6t9lN.js +0 -3
- package/dist/path-Bt6guLtL.cjs +0 -2
- package/dist/path-DSzKK8fH.js +0 -87
- package/dist/pie-UPGHQEXC-DjqNO54R.js +0 -3
- package/dist/pie-UPGHQEXC-pJq6_YgE.cjs +0 -1
- package/dist/pieDiagram-SKSYHLDU-Ba-c0fRA.cjs +0 -31
- package/dist/pieDiagram-SKSYHLDU-ya07MTY-.js +0 -167
- package/dist/pl-BStql1S-.cjs +0 -2
- package/dist/pt-Dk4jELuZ.cjs +0 -2
- package/dist/quadrantDiagram-337W2JSQ-CQQEVC49.cjs +0 -8
- package/dist/quadrantDiagram-337W2JSQ-Dp_QyIEO.js +0 -1976
- package/dist/radar-KQ55EAFF-Bid2hXXI.cjs +0 -1
- package/dist/radar-KQ55EAFF-C6zhEkCz.js +0 -3
- package/dist/requirementDiagram-Z7DCOOCP-CRl2914V.js +0 -2203
- package/dist/requirementDiagram-Z7DCOOCP-CeMYhXEm.cjs +0 -74
- package/dist/ro-BvhMyTKh.cjs +0 -2
- package/dist/rough.esm-BjJ_weyP.cjs +0 -2
- package/dist/rough.esm-DBHP55VQ.js +0 -1354
- package/dist/ru-BQosng8l.cjs +0 -2
- package/dist/sankeyDiagram-WA2Y5GQK-BFrF47Iv.js +0 -922
- package/dist/sankeyDiagram-WA2Y5GQK-DDfjtQ4G.cjs +0 -11
- package/dist/sequenceDiagram-2WXFIKYE-B-zWyr9f.cjs +0 -146
- package/dist/sequenceDiagram-2WXFIKYE-BAd8OVlz.js +0 -4111
- package/dist/sk-BhA7UeAk.cjs +0 -2
- package/dist/sl-6Mczv4jG.cjs +0 -2
- package/dist/sr-CxObZdu0.cjs +0 -2
- package/dist/src-DFxq-N5I.cjs +0 -2
- package/dist/src-Dm6r9c7l.js +0 -2148
- package/dist/stateDiagram-RAJIS63D-C-tfqeC-.js +0 -219
- package/dist/stateDiagram-RAJIS63D-C1Aj8vJQ.cjs +0 -2
- package/dist/stateDiagram-v2-FVOUBMTO-C-w53gXL.js +0 -29
- package/dist/stateDiagram-v2-FVOUBMTO-VoIE_KVn.cjs +0 -2
- package/dist/sv-BfiunVuX.cjs +0 -2
- package/dist/th-BqLGltZi.cjs +0 -2
- package/dist/timeline-definition-YZTLITO2-CE1y2S_r.js +0 -832
- package/dist/timeline-definition-YZTLITO2-D8aFfnYE.cjs +0 -62
- package/dist/tr-Brwl4o_Z.cjs +0 -2
- package/dist/treemap-KZPCXAKY-D2v0uStP.cjs +0 -1
- package/dist/treemap-KZPCXAKY-DLE_f1Bk.js +0 -3
- package/dist/uk-CV49TRvS.cjs +0 -2
- package/dist/vennDiagram-LZ73GAT5-BSpVMORX.js +0 -1860
- package/dist/vennDiagram-LZ73GAT5-DvnB0e7u.cjs +0 -35
- package/dist/vi-JzM7bjn_.cjs +0 -2
- package/dist/xychartDiagram-JWTSCODW-0qbVGrDs.cjs +0 -8
- package/dist/xychartDiagram-JWTSCODW-DpIry-th.js +0 -2043
- package/dist/zh-DEm0SGzZ.cjs +0 -2
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const e=require(`./src-DFxq-N5I.cjs`),t=require(`./chunk-7R4GIKGN-BKoqTTU_.cjs`),n=require(`./chunk-GEFDOKGD-BOwd6Jqp.cjs`),r=require(`./line-DqSdvtRR.cjs`),i=require(`./chunk-MX3YWQON-DulrBJdn.cjs`),a=require(`./chunk-YBOYWFTD-CiLW6HW_.cjs`),o=require(`./chunk-PQ6SQG4A-BZnW4-Sd.cjs`),s=require(`./chunk-PU5JKC2W-eRU8wnTH.cjs`),c=require(`./rough.esm-BjJ_weyP.cjs`),l=require(`./chunk-KYZI473N-DzBMFOER.cjs`);var u=e.h((e,t,n,r,i,a)=>{t.arrowTypeStart&&f(e,`start`,t.arrowTypeStart,n,r,i,a),t.arrowTypeEnd&&f(e,`end`,t.arrowTypeEnd,n,r,i,a)},`addEdgeMarkers`),d={arrow_cross:{type:`cross`,fill:!1},arrow_point:{type:`point`,fill:!0},arrow_barb:{type:`barb`,fill:!0},arrow_circle:{type:`circle`,fill:!1},aggregation:{type:`aggregation`,fill:!1},extension:{type:`extension`,fill:!1},composition:{type:`composition`,fill:!0},dependency:{type:`dependency`,fill:!0},lollipop:{type:`lollipop`,fill:!1},only_one:{type:`onlyOne`,fill:!1},zero_or_one:{type:`zeroOrOne`,fill:!1},one_or_more:{type:`oneOrMore`,fill:!1},zero_or_more:{type:`zeroOrMore`,fill:!1},requirement_arrow:{type:`requirement_arrow`,fill:!1},requirement_contains:{type:`requirement_contains`,fill:!1}},f=e.h((t,n,r,i,a,o,s)=>{let c=d[r];if(!c){e.g.warn(`Unknown arrow type: ${r}`);return}let l=`${a}_${o}-${c.type}${n===`start`?`Start`:`End`}`;if(s&&s.trim()!==``){let e=`${l}_${s.replace(/[^\dA-Za-z]/g,`_`)}`;if(!document.getElementById(e)){let t=document.getElementById(l);if(t){let n=t.cloneNode(!0);n.id=e,n.querySelectorAll(`path, circle, line`).forEach(e=>{e.setAttribute(`stroke`,s),c.fill&&e.setAttribute(`fill`,s)}),t.parentNode?.appendChild(n)}}t.attr(`marker-${n}`,`url(${i}#${e})`)}else t.attr(`marker-${n}`,`url(${i}#${l})`)},`addEdgeMarker`),p=e.h(e=>typeof e==`string`?e:t.b()?.flowchart?.curve,`resolveEdgeCurveType`),m=new Map,h=new Map,g=e.h(()=>{m.clear(),h.clear()},`clear`),_=e.h(e=>e?typeof e==`string`?e:e.reduce((e,t)=>e+`;`+t,``):``,`getLabelStyles`),v=e.h(async(n,r)=>{let a=t.b(),c=t.w(a),{labelStyles:u}=o.i(r);r.labelStyle=u;let d=n.insert(`g`).attr(`class`,`edgeLabel`),f=d.insert(`g`).attr(`class`,`label`).attr(`data-id`,r.id),p=r.labelType===`markdown`,g=await s.n(n,r.label,{style:_(r.labelStyle),useHtmlLabels:c,addSvgBackground:!0,isNode:!1,markdown:p,width:void 0},a);f.node().appendChild(g),e.g.info(`abc82`,r,r.labelType);let v=g.getBBox(),b=v;if(c){let t=g.children[0],n=e.p(g);v=t.getBoundingClientRect(),b=v,n.attr(`width`,v.width),n.attr(`height`,v.height)}else{let t=e.p(g).select(`text`).node();t&&typeof t.getBBox==`function`&&(b=t.getBBox())}f.attr(`transform`,i.t(b,c)),m.set(r.id,d),r.width=v.width,r.height=v.height;let x;if(r.startLabelLeft){let t=n.insert(`g`).attr(`class`,`edgeTerminals`),a=t.insert(`g`).attr(`class`,`inner`),o=await l.r(a,r.startLabelLeft,_(r.labelStyle)||``,!1,!1);x=o;let s=o.getBBox();if(c){let t=o.children[0],n=e.p(o);s=t.getBoundingClientRect(),n.attr(`width`,s.width),n.attr(`height`,s.height)}a.attr(`transform`,i.t(s,c)),h.get(r.id)||h.set(r.id,{}),h.get(r.id).startLeft=t,y(x,r.startLabelLeft)}if(r.startLabelRight){let t=n.insert(`g`).attr(`class`,`edgeTerminals`),a=t.insert(`g`).attr(`class`,`inner`),o=await l.r(a,r.startLabelRight,_(r.labelStyle)||``,!1,!1);x=o,a.node().appendChild(o);let s=o.getBBox();if(c){let t=o.children[0],n=e.p(o);s=t.getBoundingClientRect(),n.attr(`width`,s.width),n.attr(`height`,s.height)}a.attr(`transform`,i.t(s,c)),h.get(r.id)||h.set(r.id,{}),h.get(r.id).startRight=t,y(x,r.startLabelRight)}if(r.endLabelLeft){let t=n.insert(`g`).attr(`class`,`edgeTerminals`),a=t.insert(`g`).attr(`class`,`inner`),o=await l.r(a,r.endLabelLeft,_(r.labelStyle)||``,!1,!1);x=o;let s=o.getBBox();if(c){let t=o.children[0],n=e.p(o);s=t.getBoundingClientRect(),n.attr(`width`,s.width),n.attr(`height`,s.height)}a.attr(`transform`,i.t(s,c)),t.node().appendChild(o),h.get(r.id)||h.set(r.id,{}),h.get(r.id).endLeft=t,y(x,r.endLabelLeft)}if(r.endLabelRight){let t=n.insert(`g`).attr(`class`,`edgeTerminals`),a=t.insert(`g`).attr(`class`,`inner`),o=await l.r(a,r.endLabelRight,_(r.labelStyle)||``,!1,!1);x=o;let s=o.getBBox();if(c){let t=o.children[0],n=e.p(o);s=t.getBoundingClientRect(),n.attr(`width`,s.width),n.attr(`height`,s.height)}a.attr(`transform`,i.t(s,c)),t.node().appendChild(o),h.get(r.id)||h.set(r.id,{}),h.get(r.id).endRight=t,y(x,r.endLabelRight)}return g},`insertEdgeLabel`);function y(e,n){t.w(t.b())&&e&&(e.style.width=n.length*9+`px`,e.style.height=`12px`)}e.h(y,`setTerminalWidth`);var b=e.h((r,i)=>{e.g.debug(`Moving label abc88 `,r.id,r.label,m.get(r.id),i);let o=i.updatedPath?i.updatedPath:i.originalPath,{subGraphTitleTotalMargin:s}=a.n(t.b());if(r.label){let t=m.get(r.id),a=r.x,c=r.y;if(o){let t=n.h.calcLabelPosition(o);e.g.debug(`Moving label `+r.label+` from (`,a,`,`,c,`) to (`,t.x,`,`,t.y,`) abc88`),i.updatedPath&&(a=t.x,c=t.y)}t.attr(`transform`,`translate(${a}, ${c+s/2})`)}if(r.startLabelLeft){let e=h.get(r.id).startLeft,t=r.x,i=r.y;if(o){let e=n.h.calcTerminalLabelPosition(r.arrowTypeStart?10:0,`start_left`,o);t=e.x,i=e.y}e.attr(`transform`,`translate(${t}, ${i})`)}if(r.startLabelRight){let e=h.get(r.id).startRight,t=r.x,i=r.y;if(o){let e=n.h.calcTerminalLabelPosition(r.arrowTypeStart?10:0,`start_right`,o);t=e.x,i=e.y}e.attr(`transform`,`translate(${t}, ${i})`)}if(r.endLabelLeft){let e=h.get(r.id).endLeft,t=r.x,i=r.y;if(o){let e=n.h.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,`end_left`,o);t=e.x,i=e.y}e.attr(`transform`,`translate(${t}, ${i})`)}if(r.endLabelRight){let e=h.get(r.id).endRight,t=r.x,i=r.y;if(o){let e=n.h.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,`end_right`,o);t=e.x,i=e.y}e.attr(`transform`,`translate(${t}, ${i})`)}},`positionEdgeLabel`),x=e.h((e,t)=>{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;return i>=o||a>=s},`outsideNode`),S=e.h((t,n,r)=>{e.g.debug(`intersection calc abc89:
|
|
2
|
-
outsidePoint: ${JSON.stringify(n)}
|
|
3
|
-
insidePoint : ${JSON.stringify(r)}
|
|
4
|
-
node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let i=t.x,a=t.y,o=Math.abs(i-r.x),s=t.width/2,c=r.x<n.x?s-o:s+o,l=t.height/2,u=Math.abs(n.y-r.y),d=Math.abs(n.x-r.x);if(Math.abs(a-n.y)*s>Math.abs(i-n.x)*l){let t=r.y<n.y?n.y-l-a:a-l-n.y;c=d*t/u;let i={x:r.x<n.x?r.x+c:r.x-d+c,y:r.y<n.y?r.y+u-t:r.y-u+t};return c===0&&(i.x=n.x,i.y=n.y),d===0&&(i.x=n.x),u===0&&(i.y=n.y),e.g.debug(`abc89 top/bottom calc, Q ${u}, q ${t}, R ${d}, r ${c}`,i),i}else{c=r.x<n.x?n.x-s-i:i-s-n.x;let t=u*c/d,a=r.x<n.x?r.x+d-c:r.x-d+c,o=r.y<n.y?r.y+t:r.y-t;return e.g.debug(`sides calc abc89, Q ${u}, q ${t}, R ${d}, r ${c}`,{_x:a,_y:o}),c===0&&(a=n.x,o=n.y),d===0&&(a=n.x),u===0&&(o=n.y),{x:a,y:o}}},`intersection`),C=e.h((t,n)=>{e.g.warn(`abc88 cutPathAtIntersect`,t,n);let r=[],i=t[0],a=!1;return t.forEach(t=>{if(e.g.info(`abc88 checking point`,t,n),!x(n,t)&&!a){let o=S(n,i,t);e.g.debug(`abc88 inside`,t,i,o),e.g.debug(`abc88 intersection`,o,n);let s=!1;r.forEach(e=>{s||=e.x===o.x&&e.y===o.y}),r.some(e=>e.x===o.x&&e.y===o.y)?e.g.warn(`abc88 no intersect`,o,r):r.push(o),a=!0}else e.g.warn(`abc88 outside`,t,i),i=t,a||r.push(t)}),e.g.debug(`returning points`,r),r},`cutPathAtIntersect`);function w(e){let t=[],n=[];for(let r=1;r<e.length-1;r++){let i=e[r-1],a=e[r],o=e[r+1];(i.x===a.x&&a.y===o.y&&Math.abs(a.x-o.x)>5&&Math.abs(a.y-i.y)>5||i.y===a.y&&a.x===o.x&&Math.abs(a.x-i.x)>5&&Math.abs(a.y-o.y)>5)&&(t.push(a),n.push(r))}return{cornerPoints:t,cornerPointPositions:n}}e.h(w,`extractCornerPoints`);var T=e.h(function(e,t,n){let r=t.x-e.x,i=t.y-e.y,a=n/Math.sqrt(r*r+i*i);return{x:t.x-a*r,y:t.y-a*i}},`findAdjacentPoint`),E=e.h(function(t){let{cornerPointPositions:n}=w(t),r=[];for(let i=0;i<t.length;i++)if(n.includes(i)){let n=t[i-1],a=t[i+1],o=t[i],s=T(n,o,5),c=T(a,o,5),l=c.x-s.x,u=c.y-s.y;r.push(s);let d=Math.sqrt(2)*2,f={x:o.x,y:o.y};Math.abs(a.x-n.x)>10&&Math.abs(a.y-n.y)>=10?(e.g.debug(`Corner point fixing`,Math.abs(a.x-n.x),Math.abs(a.y-n.y)),f=o.x===s.x?{x:l<0?s.x-5+d:s.x+5-d,y:u<0?s.y-d:s.y+d}:{x:l<0?s.x-d:s.x+d,y:u<0?s.y-5+d:s.y+5-d}):e.g.debug(`Corner point skipping fixing`,Math.abs(a.x-n.x),Math.abs(a.y-n.y)),r.push(f,c)}else r.push(t[i]);return r},`fixCorners`),D=e.h((e,t,n)=>{let r=e-t-n,i=Math.floor(r/4);return`0 ${t} ${Array(i).fill(`2 2`).join(` `)} ${n}`},`generateDashArray`),O=e.h(function(a,s,l,d,f,m,h,g=!1){let{handDrawnSeed:_}=t.b(),v=s.points,y=!1,b=f;var x=m;let S=[];for(let e in s.cssCompiledStyles)o.n(e)||S.push(s.cssCompiledStyles[e]);e.g.debug(`UIO intersect check`,s.points,x.x,b.x),x.intersect&&b.intersect&&!g&&(v=v.slice(1,s.points.length-1),v.unshift(b.intersect(v[0])),e.g.debug(`Last point UIO`,s.start,`-->`,s.end,v[v.length-1],x,x.intersect(v[v.length-1])),v.push(x.intersect(v[v.length-1])));let w=btoa(JSON.stringify(v));s.toCluster&&(e.g.info(`to cluster abc88`,l.get(s.toCluster)),v=C(s.points,l.get(s.toCluster).node),y=!0),s.fromCluster&&(e.g.debug(`from cluster abc88`,l.get(s.fromCluster),JSON.stringify(v,null,2)),v=C(v.reverse(),l.get(s.fromCluster).node).reverse(),y=!0);let T=v.filter(e=>!Number.isNaN(e.y)),O=p(s.curve);O!==`rounded`&&(T=E(T));let A=n.L;switch(O){case`linear`:A=n.L;break;case`basis`:A=n.P;break;case`cardinal`:A=n.N;break;case`bumpX`:A=n.F;break;case`bumpY`:A=n.I;break;case`catmullRom`:A=n.M;break;case`monotoneX`:A=n.A;break;case`monotoneY`:A=n.j;break;case`natural`:A=n.k;break;case`step`:A=n.O;break;case`stepAfter`:A=n.E;break;case`stepBefore`:A=n.D;break;case`rounded`:A=n.L;break;default:A=n.P}let{x:M,y:N}=i.n(s),P=r.t().x(M).y(N).curve(A),F;switch(s.thickness){case`normal`:F=`edge-thickness-normal`;break;case`thick`:F=`edge-thickness-thick`;break;case`invisible`:F=`edge-thickness-invisible`;break;default:F=`edge-thickness-normal`}switch(s.pattern){case`solid`:F+=` edge-pattern-solid`;break;case`dotted`:F+=` edge-pattern-dotted`;break;case`dashed`:F+=` edge-pattern-dashed`;break;default:F+=` edge-pattern-solid`}let I,L=O===`rounded`?k(j(T,s),5):P(T),R=Array.isArray(s.style)?s.style:[s.style],z=R.find(e=>e?.startsWith(`stroke:`)),B=``;s.animate&&(B=`edge-animation-fast`),s.animation&&(B=`edge-animation-`+s.animation);let V=!1;if(s.look===`handDrawn`){let t=c.t.svg(a);Object.assign([],T);let n=t.path(L,{roughness:.3,seed:_});F+=` transition`,I=e.p(n).select(`path`).attr(`id`,s.id).attr(`class`,` `+F+(s.classes?` `+s.classes:``)+(B?` `+B:``)).attr(`style`,R?R.reduce((e,t)=>e+`;`+t,``):``);let r=I.attr(`d`);I.attr(`d`,r),a.node().appendChild(I.node())}else{let e=S.join(`;`),t=R?R.reduce((e,t)=>e+t+`;`,``):``,n=(e?e+`;`+t+`;`:t)+`;`+(R?R.reduce((e,t)=>e+`;`+t,``):``);I=a.append(`path`).attr(`d`,L).attr(`id`,s.id).attr(`class`,` `+F+(s.classes?` `+s.classes:``)+(B?` `+B:``)).attr(`style`,n),z=n.match(/stroke:([^;]+)/)?.[1],V=s.animate===!0||!!s.animation||e.includes(`animation`);let r=I.node(),o=typeof r.getTotalLength==`function`?r.getTotalLength():0,c=i.i[s.arrowTypeStart]||0,l=i.i[s.arrowTypeEnd]||0;if(s.look===`neo`&&!V){let e=`stroke-dasharray: ${s.pattern===`dotted`||s.pattern===`dashed`?D(o,c,l):`0 ${c} ${o-c-l} ${l}`}; stroke-dashoffset: 0;`;I.attr(`style`,e+I.attr(`style`))}}I.attr(`data-edge`,!0),I.attr(`data-et`,`edge`),I.attr(`data-id`,s.id),I.attr(`data-points`,w),s.showPoints&&T.forEach(e=>{a.append(`circle`).style(`stroke`,`red`).style(`fill`,`red`).attr(`r`,1).attr(`cx`,e.x).attr(`cy`,e.y)});let H=``;(t.b().flowchart.arrowMarkerAbsolute||t.b().state.arrowMarkerAbsolute)&&(H=window.location.protocol+`//`+window.location.host+window.location.pathname+window.location.search,H=H.replace(/\(/g,`\\(`).replace(/\)/g,`\\)`)),e.g.info(`arrowTypeStart`,s.arrowTypeStart),e.g.info(`arrowTypeEnd`,s.arrowTypeEnd),u(I,s,H,h,d,z);let U=Math.floor(v.length/2),W=v[U];n.h.isLabelCoordinateInPath(W,I.attr(`d`))||(y=!0);let G={};return y&&(G.updatedPath=v),G.originalPath=s.points,G},`insertEdge`);function k(e,t){if(e.length<2)return``;let n=``,r=e.length,i=1e-5;for(let a=0;a<r;a++){let o=e[a],s=e[a-1],c=e[a+1];if(a===0)n+=`M${o.x},${o.y}`;else if(a===r-1)n+=`L${o.x},${o.y}`;else{let e=o.x-s.x,r=o.y-s.y,a=c.x-o.x,l=c.y-o.y,u=Math.hypot(e,r),d=Math.hypot(a,l);if(u<i||d<i){n+=`L${o.x},${o.y}`;continue}let f=e/u,p=r/u,m=a/d,h=l/d,g=f*m+p*h,_=Math.acos(Math.max(-1,Math.min(1,g)));if(_<i||Math.abs(Math.PI-_)<i){n+=`L${o.x},${o.y}`;continue}let v=Math.min(t/Math.sin(_/2),u/2,d/2),y=o.x-f*v,b=o.y-p*v,x=o.x+m*v,S=o.y+h*v;n+=`L${y},${b}`,n+=`Q${o.x},${o.y} ${x},${S}`}}return n}e.h(k,`generateRoundedPath`);function A(e,t){if(!e||!t)return{angle:0,deltaX:0,deltaY:0};let n=t.x-e.x,r=t.y-e.y;return{angle:Math.atan2(r,n),deltaX:n,deltaY:r}}e.h(A,`calculateDeltaAndAngle`);function j(e,t){let n=e.map(e=>({...e}));if(e.length>=2&&i.r[t.arrowTypeStart]){let r=i.r[t.arrowTypeStart],a=e[0],o=e[1],{angle:s}=A(a,o),c=r*Math.cos(s),l=r*Math.sin(s);n[0].x=a.x+c,n[0].y=a.y+l}let r=e.length;if(r>=2&&i.r[t.arrowTypeEnd]){let a=i.r[t.arrowTypeEnd],o=e[r-1],s=e[r-2],{angle:c}=A(s,o),l=a*Math.cos(c),u=a*Math.sin(c);n[r-1].x=o.x-l,n[r-1].y=o.y-u}return n}e.h(j,`applyMarkerOffsetsToPoints`);var M=e.h((e,t,n,r)=>{t.forEach(t=>{N[t](e,n,r)})},`insertMarkers`),N={extension:e.h((t,n,r)=>{e.g.trace(`Making markers for `,r),t.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-extensionStart`).attr(`class`,`marker extension `+n).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,7 L18,13 V 1 Z`),t.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-extensionEnd`).attr(`class`,`marker extension `+n).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`)},`extension`),composition:e.h((e,t,n)=>{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`)},`composition`),aggregation:e.h((e,t,n)=>{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`)},`aggregation`),dependency:e.h((e,t,n)=>{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`)},`dependency`),lollipop:e.h((e,t,n)=>{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)},`lollipop`),point:e.h((e,t,n)=>{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`)},`point`),circle:e.h((e,t,n)=>{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`)},`circle`),cross:e.h((e,t,n)=>{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`)},`cross`),barb:e.h((e,t,n)=>{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`)},`barb`),only_one:e.h((e,t,n)=>{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`)},`only_one`),zero_or_one:e.h((e,t,n)=>{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`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,21).attr(`cy`,9).attr(`r`,6),r.append(`path`).attr(`d`,`M9,0 L9,18`);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`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,9).attr(`r`,6),i.append(`path`).attr(`d`,`M21,0 L21,18`)},`zero_or_one`),one_or_more:e.h((e,t,n)=>{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`)},`one_or_more`),zero_or_more:e.h((e,t,n)=>{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`);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`);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`);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`)},`zero_or_more`),requirement_arrow:e.h((e,t,n)=>{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
|
|
5
|
-
L20,10
|
|
6
|
-
M20,10
|
|
7
|
-
L0,20`)},`requirement_arrow`),requirement_contains:e.h((e,t,n)=>{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`);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)},`requirement_contains`)},P=M;Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return g}});
|
|
8
|
-
//# sourceMappingURL=chunk-O4XLMI2P-BQF7MAo7.cjs.map
|
|
@@ -1,513 +0,0 @@
|
|
|
1
|
-
import { g as e, h as t, p as n } from "./src-Dm6r9c7l.js";
|
|
2
|
-
import { b as r, w as i } from "./chunk-7R4GIKGN-CaQJ0QBF.js";
|
|
3
|
-
import { A as a, D as o, E as s, F as c, I as l, L as u, M as d, N as f, O as p, P as m, h, j as g, k as _ } from "./chunk-GEFDOKGD-BNgT40Ex.js";
|
|
4
|
-
import { t as v } from "./line-CbEBKCYr.js";
|
|
5
|
-
import { i as y, n as b, r as x, t as S } from "./chunk-MX3YWQON-CAsnAj2e.js";
|
|
6
|
-
import { n as C } from "./chunk-YBOYWFTD-B6CeuteH.js";
|
|
7
|
-
import { i as w, n as ee } from "./chunk-PQ6SQG4A-ObFGkauo.js";
|
|
8
|
-
import { n as T } from "./chunk-PU5JKC2W-BM5NPS-q.js";
|
|
9
|
-
import { t as te } from "./rough.esm-DBHP55VQ.js";
|
|
10
|
-
import { r as E } from "./chunk-KYZI473N-DEPuSXaW.js";
|
|
11
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-O4XLMI2P.mjs
|
|
12
|
-
var ne = /* @__PURE__ */ t((e, t, n, r, i, a) => {
|
|
13
|
-
t.arrowTypeStart && O(e, "start", t.arrowTypeStart, n, r, i, a), t.arrowTypeEnd && O(e, "end", t.arrowTypeEnd, n, r, i, a);
|
|
14
|
-
}, "addEdgeMarkers"), D = {
|
|
15
|
-
arrow_cross: {
|
|
16
|
-
type: "cross",
|
|
17
|
-
fill: !1
|
|
18
|
-
},
|
|
19
|
-
arrow_point: {
|
|
20
|
-
type: "point",
|
|
21
|
-
fill: !0
|
|
22
|
-
},
|
|
23
|
-
arrow_barb: {
|
|
24
|
-
type: "barb",
|
|
25
|
-
fill: !0
|
|
26
|
-
},
|
|
27
|
-
arrow_circle: {
|
|
28
|
-
type: "circle",
|
|
29
|
-
fill: !1
|
|
30
|
-
},
|
|
31
|
-
aggregation: {
|
|
32
|
-
type: "aggregation",
|
|
33
|
-
fill: !1
|
|
34
|
-
},
|
|
35
|
-
extension: {
|
|
36
|
-
type: "extension",
|
|
37
|
-
fill: !1
|
|
38
|
-
},
|
|
39
|
-
composition: {
|
|
40
|
-
type: "composition",
|
|
41
|
-
fill: !0
|
|
42
|
-
},
|
|
43
|
-
dependency: {
|
|
44
|
-
type: "dependency",
|
|
45
|
-
fill: !0
|
|
46
|
-
},
|
|
47
|
-
lollipop: {
|
|
48
|
-
type: "lollipop",
|
|
49
|
-
fill: !1
|
|
50
|
-
},
|
|
51
|
-
only_one: {
|
|
52
|
-
type: "onlyOne",
|
|
53
|
-
fill: !1
|
|
54
|
-
},
|
|
55
|
-
zero_or_one: {
|
|
56
|
-
type: "zeroOrOne",
|
|
57
|
-
fill: !1
|
|
58
|
-
},
|
|
59
|
-
one_or_more: {
|
|
60
|
-
type: "oneOrMore",
|
|
61
|
-
fill: !1
|
|
62
|
-
},
|
|
63
|
-
zero_or_more: {
|
|
64
|
-
type: "zeroOrMore",
|
|
65
|
-
fill: !1
|
|
66
|
-
},
|
|
67
|
-
requirement_arrow: {
|
|
68
|
-
type: "requirement_arrow",
|
|
69
|
-
fill: !1
|
|
70
|
-
},
|
|
71
|
-
requirement_contains: {
|
|
72
|
-
type: "requirement_contains",
|
|
73
|
-
fill: !1
|
|
74
|
-
}
|
|
75
|
-
}, O = /* @__PURE__ */ t((t, n, r, i, a, o, s) => {
|
|
76
|
-
let c = D[r];
|
|
77
|
-
if (!c) {
|
|
78
|
-
e.warn(`Unknown arrow type: ${r}`);
|
|
79
|
-
return;
|
|
80
|
-
}
|
|
81
|
-
let l = `${a}_${o}-${c.type}${n === "start" ? "Start" : "End"}`;
|
|
82
|
-
if (s && s.trim() !== "") {
|
|
83
|
-
let e = `${l}_${s.replace(/[^\dA-Za-z]/g, "_")}`;
|
|
84
|
-
if (!document.getElementById(e)) {
|
|
85
|
-
let t = document.getElementById(l);
|
|
86
|
-
if (t) {
|
|
87
|
-
let n = t.cloneNode(!0);
|
|
88
|
-
n.id = e, n.querySelectorAll("path, circle, line").forEach((e) => {
|
|
89
|
-
e.setAttribute("stroke", s), c.fill && e.setAttribute("fill", s);
|
|
90
|
-
}), t.parentNode?.appendChild(n);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
t.attr(`marker-${n}`, `url(${i}#${e})`);
|
|
94
|
-
} else t.attr(`marker-${n}`, `url(${i}#${l})`);
|
|
95
|
-
}, "addEdgeMarker"), k = /* @__PURE__ */ t((e) => typeof e == "string" ? e : r()?.flowchart?.curve, "resolveEdgeCurveType"), A = /* @__PURE__ */ new Map(), j = /* @__PURE__ */ new Map(), M = /* @__PURE__ */ t(() => {
|
|
96
|
-
A.clear(), j.clear();
|
|
97
|
-
}, "clear"), N = /* @__PURE__ */ t((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), P = /* @__PURE__ */ t(async (t, a) => {
|
|
98
|
-
let o = r(), s = i(o), { labelStyles: c } = w(a);
|
|
99
|
-
a.labelStyle = c;
|
|
100
|
-
let l = t.insert("g").attr("class", "edgeLabel"), u = l.insert("g").attr("class", "label").attr("data-id", a.id), d = a.labelType === "markdown", f = await T(t, a.label, {
|
|
101
|
-
style: N(a.labelStyle),
|
|
102
|
-
useHtmlLabels: s,
|
|
103
|
-
addSvgBackground: !0,
|
|
104
|
-
isNode: !1,
|
|
105
|
-
markdown: d,
|
|
106
|
-
width: void 0
|
|
107
|
-
}, o);
|
|
108
|
-
u.node().appendChild(f), e.info("abc82", a, a.labelType);
|
|
109
|
-
let p = f.getBBox(), m = p;
|
|
110
|
-
if (s) {
|
|
111
|
-
let e = f.children[0], t = n(f);
|
|
112
|
-
p = e.getBoundingClientRect(), m = p, t.attr("width", p.width), t.attr("height", p.height);
|
|
113
|
-
} else {
|
|
114
|
-
let e = n(f).select("text").node();
|
|
115
|
-
e && typeof e.getBBox == "function" && (m = e.getBBox());
|
|
116
|
-
}
|
|
117
|
-
u.attr("transform", S(m, s)), A.set(a.id, l), a.width = p.width, a.height = p.height;
|
|
118
|
-
let h;
|
|
119
|
-
if (a.startLabelLeft) {
|
|
120
|
-
let e = t.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), i = await E(r, a.startLabelLeft, N(a.labelStyle) || "", !1, !1);
|
|
121
|
-
h = i;
|
|
122
|
-
let o = i.getBBox();
|
|
123
|
-
if (s) {
|
|
124
|
-
let e = i.children[0], t = n(i);
|
|
125
|
-
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
126
|
-
}
|
|
127
|
-
r.attr("transform", S(o, s)), j.get(a.id) || j.set(a.id, {}), j.get(a.id).startLeft = e, F(h, a.startLabelLeft);
|
|
128
|
-
}
|
|
129
|
-
if (a.startLabelRight) {
|
|
130
|
-
let e = t.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), i = await E(r, a.startLabelRight, N(a.labelStyle) || "", !1, !1);
|
|
131
|
-
h = i, r.node().appendChild(i);
|
|
132
|
-
let o = i.getBBox();
|
|
133
|
-
if (s) {
|
|
134
|
-
let e = i.children[0], t = n(i);
|
|
135
|
-
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
136
|
-
}
|
|
137
|
-
r.attr("transform", S(o, s)), j.get(a.id) || j.set(a.id, {}), j.get(a.id).startRight = e, F(h, a.startLabelRight);
|
|
138
|
-
}
|
|
139
|
-
if (a.endLabelLeft) {
|
|
140
|
-
let e = t.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), i = await E(r, a.endLabelLeft, N(a.labelStyle) || "", !1, !1);
|
|
141
|
-
h = i;
|
|
142
|
-
let o = i.getBBox();
|
|
143
|
-
if (s) {
|
|
144
|
-
let e = i.children[0], t = n(i);
|
|
145
|
-
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
146
|
-
}
|
|
147
|
-
r.attr("transform", S(o, s)), e.node().appendChild(i), j.get(a.id) || j.set(a.id, {}), j.get(a.id).endLeft = e, F(h, a.endLabelLeft);
|
|
148
|
-
}
|
|
149
|
-
if (a.endLabelRight) {
|
|
150
|
-
let e = t.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), i = await E(r, a.endLabelRight, N(a.labelStyle) || "", !1, !1);
|
|
151
|
-
h = i;
|
|
152
|
-
let o = i.getBBox();
|
|
153
|
-
if (s) {
|
|
154
|
-
let e = i.children[0], t = n(i);
|
|
155
|
-
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
156
|
-
}
|
|
157
|
-
r.attr("transform", S(o, s)), e.node().appendChild(i), j.get(a.id) || j.set(a.id, {}), j.get(a.id).endRight = e, F(h, a.endLabelRight);
|
|
158
|
-
}
|
|
159
|
-
return f;
|
|
160
|
-
}, "insertEdgeLabel");
|
|
161
|
-
function F(e, t) {
|
|
162
|
-
i(r()) && e && (e.style.width = t.length * 9 + "px", e.style.height = "12px");
|
|
163
|
-
}
|
|
164
|
-
t(F, "setTerminalWidth");
|
|
165
|
-
var I = /* @__PURE__ */ t((t, n) => {
|
|
166
|
-
e.debug("Moving label abc88 ", t.id, t.label, A.get(t.id), n);
|
|
167
|
-
let i = n.updatedPath ? n.updatedPath : n.originalPath, { subGraphTitleTotalMargin: a } = C(r());
|
|
168
|
-
if (t.label) {
|
|
169
|
-
let r = A.get(t.id), o = t.x, s = t.y;
|
|
170
|
-
if (i) {
|
|
171
|
-
let r = h.calcLabelPosition(i);
|
|
172
|
-
e.debug("Moving label " + t.label + " from (", o, ",", s, ") to (", r.x, ",", r.y, ") abc88"), n.updatedPath && (o = r.x, s = r.y);
|
|
173
|
-
}
|
|
174
|
-
r.attr("transform", `translate(${o}, ${s + a / 2})`);
|
|
175
|
-
}
|
|
176
|
-
if (t.startLabelLeft) {
|
|
177
|
-
let e = j.get(t.id).startLeft, n = t.x, r = t.y;
|
|
178
|
-
if (i) {
|
|
179
|
-
let e = h.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_left", i);
|
|
180
|
-
n = e.x, r = e.y;
|
|
181
|
-
}
|
|
182
|
-
e.attr("transform", `translate(${n}, ${r})`);
|
|
183
|
-
}
|
|
184
|
-
if (t.startLabelRight) {
|
|
185
|
-
let e = j.get(t.id).startRight, n = t.x, r = t.y;
|
|
186
|
-
if (i) {
|
|
187
|
-
let e = h.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_right", i);
|
|
188
|
-
n = e.x, r = e.y;
|
|
189
|
-
}
|
|
190
|
-
e.attr("transform", `translate(${n}, ${r})`);
|
|
191
|
-
}
|
|
192
|
-
if (t.endLabelLeft) {
|
|
193
|
-
let e = j.get(t.id).endLeft, n = t.x, r = t.y;
|
|
194
|
-
if (i) {
|
|
195
|
-
let e = h.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_left", i);
|
|
196
|
-
n = e.x, r = e.y;
|
|
197
|
-
}
|
|
198
|
-
e.attr("transform", `translate(${n}, ${r})`);
|
|
199
|
-
}
|
|
200
|
-
if (t.endLabelRight) {
|
|
201
|
-
let e = j.get(t.id).endRight, n = t.x, r = t.y;
|
|
202
|
-
if (i) {
|
|
203
|
-
let e = h.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_right", i);
|
|
204
|
-
n = e.x, r = e.y;
|
|
205
|
-
}
|
|
206
|
-
e.attr("transform", `translate(${n}, ${r})`);
|
|
207
|
-
}
|
|
208
|
-
}, "positionEdgeLabel"), L = /* @__PURE__ */ t((e, t) => {
|
|
209
|
-
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;
|
|
210
|
-
return i >= o || a >= s;
|
|
211
|
-
}, "outsideNode"), R = /* @__PURE__ */ t((t, n, r) => {
|
|
212
|
-
e.debug(`intersection calc abc89:
|
|
213
|
-
outsidePoint: ${JSON.stringify(n)}
|
|
214
|
-
insidePoint : ${JSON.stringify(r)}
|
|
215
|
-
node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);
|
|
216
|
-
let i = t.x, a = t.y, o = Math.abs(i - r.x), s = t.width / 2, c = r.x < n.x ? s - o : s + o, l = t.height / 2, u = Math.abs(n.y - r.y), d = Math.abs(n.x - r.x);
|
|
217
|
-
if (Math.abs(a - n.y) * s > Math.abs(i - n.x) * l) {
|
|
218
|
-
let t = r.y < n.y ? n.y - l - a : a - l - n.y;
|
|
219
|
-
c = d * t / u;
|
|
220
|
-
let i = {
|
|
221
|
-
x: r.x < n.x ? r.x + c : r.x - d + c,
|
|
222
|
-
y: r.y < n.y ? r.y + u - t : r.y - u + t
|
|
223
|
-
};
|
|
224
|
-
return c === 0 && (i.x = n.x, i.y = n.y), d === 0 && (i.x = n.x), u === 0 && (i.y = n.y), e.debug(`abc89 top/bottom calc, Q ${u}, q ${t}, R ${d}, r ${c}`, i), i;
|
|
225
|
-
} else {
|
|
226
|
-
c = r.x < n.x ? n.x - s - i : i - s - n.x;
|
|
227
|
-
let t = u * c / d, a = r.x < n.x ? r.x + d - c : r.x - d + c, o = r.y < n.y ? r.y + t : r.y - t;
|
|
228
|
-
return e.debug(`sides calc abc89, Q ${u}, q ${t}, R ${d}, r ${c}`, {
|
|
229
|
-
_x: a,
|
|
230
|
-
_y: o
|
|
231
|
-
}), c === 0 && (a = n.x, o = n.y), d === 0 && (a = n.x), u === 0 && (o = n.y), {
|
|
232
|
-
x: a,
|
|
233
|
-
y: o
|
|
234
|
-
};
|
|
235
|
-
}
|
|
236
|
-
}, "intersection"), z = /* @__PURE__ */ t((t, n) => {
|
|
237
|
-
e.warn("abc88 cutPathAtIntersect", t, n);
|
|
238
|
-
let r = [], i = t[0], a = !1;
|
|
239
|
-
return t.forEach((t) => {
|
|
240
|
-
if (e.info("abc88 checking point", t, n), !L(n, t) && !a) {
|
|
241
|
-
let o = R(n, i, t);
|
|
242
|
-
e.debug("abc88 inside", t, i, o), e.debug("abc88 intersection", o, n);
|
|
243
|
-
let s = !1;
|
|
244
|
-
r.forEach((e) => {
|
|
245
|
-
s ||= e.x === o.x && e.y === o.y;
|
|
246
|
-
}), r.some((e) => e.x === o.x && e.y === o.y) ? e.warn("abc88 no intersect", o, r) : r.push(o), a = !0;
|
|
247
|
-
} else e.warn("abc88 outside", t, i), i = t, a || r.push(t);
|
|
248
|
-
}), e.debug("returning points", r), r;
|
|
249
|
-
}, "cutPathAtIntersect");
|
|
250
|
-
function B(e) {
|
|
251
|
-
let t = [], n = [];
|
|
252
|
-
for (let r = 1; r < e.length - 1; r++) {
|
|
253
|
-
let i = e[r - 1], a = e[r], o = e[r + 1];
|
|
254
|
-
(i.x === a.x && a.y === o.y && Math.abs(a.x - o.x) > 5 && Math.abs(a.y - i.y) > 5 || i.y === a.y && a.x === o.x && Math.abs(a.x - i.x) > 5 && Math.abs(a.y - o.y) > 5) && (t.push(a), n.push(r));
|
|
255
|
-
}
|
|
256
|
-
return {
|
|
257
|
-
cornerPoints: t,
|
|
258
|
-
cornerPointPositions: n
|
|
259
|
-
};
|
|
260
|
-
}
|
|
261
|
-
t(B, "extractCornerPoints");
|
|
262
|
-
var V = /* @__PURE__ */ t(function(e, t, n) {
|
|
263
|
-
let r = t.x - e.x, i = t.y - e.y, a = n / Math.sqrt(r * r + i * i);
|
|
264
|
-
return {
|
|
265
|
-
x: t.x - a * r,
|
|
266
|
-
y: t.y - a * i
|
|
267
|
-
};
|
|
268
|
-
}, "findAdjacentPoint"), H = /* @__PURE__ */ t(function(t) {
|
|
269
|
-
let { cornerPointPositions: n } = B(t), r = [];
|
|
270
|
-
for (let i = 0; i < t.length; i++) if (n.includes(i)) {
|
|
271
|
-
let n = t[i - 1], a = t[i + 1], o = t[i], s = V(n, o, 5), c = V(a, o, 5), l = c.x - s.x, u = c.y - s.y;
|
|
272
|
-
r.push(s);
|
|
273
|
-
let d = Math.sqrt(2) * 2, f = {
|
|
274
|
-
x: o.x,
|
|
275
|
-
y: o.y
|
|
276
|
-
};
|
|
277
|
-
Math.abs(a.x - n.x) > 10 && Math.abs(a.y - n.y) >= 10 ? (e.debug("Corner point fixing", Math.abs(a.x - n.x), Math.abs(a.y - n.y)), f = o.x === s.x ? {
|
|
278
|
-
x: l < 0 ? s.x - 5 + d : s.x + 5 - d,
|
|
279
|
-
y: u < 0 ? s.y - d : s.y + d
|
|
280
|
-
} : {
|
|
281
|
-
x: l < 0 ? s.x - d : s.x + d,
|
|
282
|
-
y: u < 0 ? s.y - 5 + d : s.y + 5 - d
|
|
283
|
-
}) : e.debug("Corner point skipping fixing", Math.abs(a.x - n.x), Math.abs(a.y - n.y)), r.push(f, c);
|
|
284
|
-
} else r.push(t[i]);
|
|
285
|
-
return r;
|
|
286
|
-
}, "fixCorners"), re = /* @__PURE__ */ t((e, t, n) => {
|
|
287
|
-
let r = e - t - n, i = Math.floor(r / 4);
|
|
288
|
-
return `0 ${t} ${Array(i).fill("2 2").join(" ")} ${n}`;
|
|
289
|
-
}, "generateDashArray"), U = /* @__PURE__ */ t(function(t, i, x, S, C, w, T, E = !1) {
|
|
290
|
-
let { handDrawnSeed: D } = r(), O = i.points, A = !1, j = C;
|
|
291
|
-
var M = w;
|
|
292
|
-
let N = [];
|
|
293
|
-
for (let e in i.cssCompiledStyles) ee(e) || N.push(i.cssCompiledStyles[e]);
|
|
294
|
-
e.debug("UIO intersect check", i.points, M.x, j.x), M.intersect && j.intersect && !E && (O = O.slice(1, i.points.length - 1), O.unshift(j.intersect(O[0])), e.debug("Last point UIO", i.start, "-->", i.end, O[O.length - 1], M, M.intersect(O[O.length - 1])), O.push(M.intersect(O[O.length - 1])));
|
|
295
|
-
let P = btoa(JSON.stringify(O));
|
|
296
|
-
i.toCluster && (e.info("to cluster abc88", x.get(i.toCluster)), O = z(i.points, x.get(i.toCluster).node), A = !0), i.fromCluster && (e.debug("from cluster abc88", x.get(i.fromCluster), JSON.stringify(O, null, 2)), O = z(O.reverse(), x.get(i.fromCluster).node).reverse(), A = !0);
|
|
297
|
-
let F = O.filter((e) => !Number.isNaN(e.y)), I = k(i.curve);
|
|
298
|
-
I !== "rounded" && (F = H(F));
|
|
299
|
-
let L = u;
|
|
300
|
-
switch (I) {
|
|
301
|
-
case "linear":
|
|
302
|
-
L = u;
|
|
303
|
-
break;
|
|
304
|
-
case "basis":
|
|
305
|
-
L = m;
|
|
306
|
-
break;
|
|
307
|
-
case "cardinal":
|
|
308
|
-
L = f;
|
|
309
|
-
break;
|
|
310
|
-
case "bumpX":
|
|
311
|
-
L = c;
|
|
312
|
-
break;
|
|
313
|
-
case "bumpY":
|
|
314
|
-
L = l;
|
|
315
|
-
break;
|
|
316
|
-
case "catmullRom":
|
|
317
|
-
L = d;
|
|
318
|
-
break;
|
|
319
|
-
case "monotoneX":
|
|
320
|
-
L = a;
|
|
321
|
-
break;
|
|
322
|
-
case "monotoneY":
|
|
323
|
-
L = g;
|
|
324
|
-
break;
|
|
325
|
-
case "natural":
|
|
326
|
-
L = _;
|
|
327
|
-
break;
|
|
328
|
-
case "step":
|
|
329
|
-
L = p;
|
|
330
|
-
break;
|
|
331
|
-
case "stepAfter":
|
|
332
|
-
L = s;
|
|
333
|
-
break;
|
|
334
|
-
case "stepBefore":
|
|
335
|
-
L = o;
|
|
336
|
-
break;
|
|
337
|
-
case "rounded":
|
|
338
|
-
L = u;
|
|
339
|
-
break;
|
|
340
|
-
default: L = m;
|
|
341
|
-
}
|
|
342
|
-
let { x: R, y: B } = b(i), V = v().x(R).y(B).curve(L), U;
|
|
343
|
-
switch (i.thickness) {
|
|
344
|
-
case "normal":
|
|
345
|
-
U = "edge-thickness-normal";
|
|
346
|
-
break;
|
|
347
|
-
case "thick":
|
|
348
|
-
U = "edge-thickness-thick";
|
|
349
|
-
break;
|
|
350
|
-
case "invisible":
|
|
351
|
-
U = "edge-thickness-invisible";
|
|
352
|
-
break;
|
|
353
|
-
default: U = "edge-thickness-normal";
|
|
354
|
-
}
|
|
355
|
-
switch (i.pattern) {
|
|
356
|
-
case "solid":
|
|
357
|
-
U += " edge-pattern-solid";
|
|
358
|
-
break;
|
|
359
|
-
case "dotted":
|
|
360
|
-
U += " edge-pattern-dotted";
|
|
361
|
-
break;
|
|
362
|
-
case "dashed":
|
|
363
|
-
U += " edge-pattern-dashed";
|
|
364
|
-
break;
|
|
365
|
-
default: U += " edge-pattern-solid";
|
|
366
|
-
}
|
|
367
|
-
let G, q = I === "rounded" ? W(K(F, i), 5) : V(F), J = Array.isArray(i.style) ? i.style : [i.style], Y = J.find((e) => e?.startsWith("stroke:")), X = "";
|
|
368
|
-
i.animate && (X = "edge-animation-fast"), i.animation && (X = "edge-animation-" + i.animation);
|
|
369
|
-
let Z = !1;
|
|
370
|
-
if (i.look === "handDrawn") {
|
|
371
|
-
let e = te.svg(t);
|
|
372
|
-
Object.assign([], F);
|
|
373
|
-
let r = e.path(q, {
|
|
374
|
-
roughness: .3,
|
|
375
|
-
seed: D
|
|
376
|
-
});
|
|
377
|
-
U += " transition", G = n(r).select("path").attr("id", i.id).attr("class", " " + U + (i.classes ? " " + i.classes : "") + (X ? " " + X : "")).attr("style", J ? J.reduce((e, t) => e + ";" + t, "") : "");
|
|
378
|
-
let a = G.attr("d");
|
|
379
|
-
G.attr("d", a), t.node().appendChild(G.node());
|
|
380
|
-
} else {
|
|
381
|
-
let e = N.join(";"), n = J ? J.reduce((e, t) => e + t + ";", "") : "", r = (e ? e + ";" + n + ";" : n) + ";" + (J ? J.reduce((e, t) => e + ";" + t, "") : "");
|
|
382
|
-
G = t.append("path").attr("d", q).attr("id", i.id).attr("class", " " + U + (i.classes ? " " + i.classes : "") + (X ? " " + X : "")).attr("style", r), Y = r.match(/stroke:([^;]+)/)?.[1], Z = i.animate === !0 || !!i.animation || e.includes("animation");
|
|
383
|
-
let a = G.node(), o = typeof a.getTotalLength == "function" ? a.getTotalLength() : 0, s = y[i.arrowTypeStart] || 0, c = y[i.arrowTypeEnd] || 0;
|
|
384
|
-
if (i.look === "neo" && !Z) {
|
|
385
|
-
let e = `stroke-dasharray: ${i.pattern === "dotted" || i.pattern === "dashed" ? re(o, s, c) : `0 ${s} ${o - s - c} ${c}`}; stroke-dashoffset: 0;`;
|
|
386
|
-
G.attr("style", e + G.attr("style"));
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
G.attr("data-edge", !0), G.attr("data-et", "edge"), G.attr("data-id", i.id), G.attr("data-points", P), i.showPoints && F.forEach((e) => {
|
|
390
|
-
t.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", e.x).attr("cy", e.y);
|
|
391
|
-
});
|
|
392
|
-
let Q = "";
|
|
393
|
-
(r().flowchart.arrowMarkerAbsolute || r().state.arrowMarkerAbsolute) && (Q = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Q = Q.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), e.info("arrowTypeStart", i.arrowTypeStart), e.info("arrowTypeEnd", i.arrowTypeEnd), ne(G, i, Q, T, S, Y);
|
|
394
|
-
let ie = Math.floor(O.length / 2), ae = O[ie];
|
|
395
|
-
h.isLabelCoordinateInPath(ae, G.attr("d")) || (A = !0);
|
|
396
|
-
let $ = {};
|
|
397
|
-
return A && ($.updatedPath = O), $.originalPath = i.points, $;
|
|
398
|
-
}, "insertEdge");
|
|
399
|
-
function W(e, t) {
|
|
400
|
-
if (e.length < 2) return "";
|
|
401
|
-
let n = "", r = e.length, i = 1e-5;
|
|
402
|
-
for (let a = 0; a < r; a++) {
|
|
403
|
-
let o = e[a], s = e[a - 1], c = e[a + 1];
|
|
404
|
-
if (a === 0) n += `M${o.x},${o.y}`;
|
|
405
|
-
else if (a === r - 1) n += `L${o.x},${o.y}`;
|
|
406
|
-
else {
|
|
407
|
-
let e = o.x - s.x, r = o.y - s.y, a = c.x - o.x, l = c.y - o.y, u = Math.hypot(e, r), d = Math.hypot(a, l);
|
|
408
|
-
if (u < i || d < i) {
|
|
409
|
-
n += `L${o.x},${o.y}`;
|
|
410
|
-
continue;
|
|
411
|
-
}
|
|
412
|
-
let f = e / u, p = r / u, m = a / d, h = l / d, g = f * m + p * h, _ = Math.acos(Math.max(-1, Math.min(1, g)));
|
|
413
|
-
if (_ < i || Math.abs(Math.PI - _) < i) {
|
|
414
|
-
n += `L${o.x},${o.y}`;
|
|
415
|
-
continue;
|
|
416
|
-
}
|
|
417
|
-
let v = Math.min(t / Math.sin(_ / 2), u / 2, d / 2), y = o.x - f * v, b = o.y - p * v, x = o.x + m * v, S = o.y + h * v;
|
|
418
|
-
n += `L${y},${b}`, n += `Q${o.x},${o.y} ${x},${S}`;
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
return n;
|
|
422
|
-
}
|
|
423
|
-
t(W, "generateRoundedPath");
|
|
424
|
-
function G(e, t) {
|
|
425
|
-
if (!e || !t) return {
|
|
426
|
-
angle: 0,
|
|
427
|
-
deltaX: 0,
|
|
428
|
-
deltaY: 0
|
|
429
|
-
};
|
|
430
|
-
let n = t.x - e.x, r = t.y - e.y;
|
|
431
|
-
return {
|
|
432
|
-
angle: Math.atan2(r, n),
|
|
433
|
-
deltaX: n,
|
|
434
|
-
deltaY: r
|
|
435
|
-
};
|
|
436
|
-
}
|
|
437
|
-
t(G, "calculateDeltaAndAngle");
|
|
438
|
-
function K(e, t) {
|
|
439
|
-
let n = e.map((e) => ({ ...e }));
|
|
440
|
-
if (e.length >= 2 && x[t.arrowTypeStart]) {
|
|
441
|
-
let r = x[t.arrowTypeStart], i = e[0], a = e[1], { angle: o } = G(i, a), s = r * Math.cos(o), c = r * Math.sin(o);
|
|
442
|
-
n[0].x = i.x + s, n[0].y = i.y + c;
|
|
443
|
-
}
|
|
444
|
-
let r = e.length;
|
|
445
|
-
if (r >= 2 && x[t.arrowTypeEnd]) {
|
|
446
|
-
let i = x[t.arrowTypeEnd], a = e[r - 1], o = e[r - 2], { angle: s } = G(o, a), c = i * Math.cos(s), l = i * Math.sin(s);
|
|
447
|
-
n[r - 1].x = a.x - c, n[r - 1].y = a.y - l;
|
|
448
|
-
}
|
|
449
|
-
return n;
|
|
450
|
-
}
|
|
451
|
-
t(K, "applyMarkerOffsetsToPoints");
|
|
452
|
-
var q = /* @__PURE__ */ t((e, t, n, r) => {
|
|
453
|
-
t.forEach((t) => {
|
|
454
|
-
J[t](e, n, r);
|
|
455
|
-
});
|
|
456
|
-
}, "insertMarkers"), J = {
|
|
457
|
-
extension: /* @__PURE__ */ t((t, n, r) => {
|
|
458
|
-
e.trace("Making markers for ", r), t.append("defs").append("marker").attr("id", r + "_" + n + "-extensionStart").attr("class", "marker extension " + n).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), t.append("defs").append("marker").attr("id", r + "_" + n + "-extensionEnd").attr("class", "marker extension " + n).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");
|
|
459
|
-
}, "extension"),
|
|
460
|
-
composition: /* @__PURE__ */ t((e, t, n) => {
|
|
461
|
-
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");
|
|
462
|
-
}, "composition"),
|
|
463
|
-
aggregation: /* @__PURE__ */ t((e, t, n) => {
|
|
464
|
-
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");
|
|
465
|
-
}, "aggregation"),
|
|
466
|
-
dependency: /* @__PURE__ */ t((e, t, n) => {
|
|
467
|
-
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");
|
|
468
|
-
}, "dependency"),
|
|
469
|
-
lollipop: /* @__PURE__ */ t((e, t, n) => {
|
|
470
|
-
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);
|
|
471
|
-
}, "lollipop"),
|
|
472
|
-
point: /* @__PURE__ */ t((e, t, n) => {
|
|
473
|
-
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");
|
|
474
|
-
}, "point"),
|
|
475
|
-
circle: /* @__PURE__ */ t((e, t, n) => {
|
|
476
|
-
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");
|
|
477
|
-
}, "circle"),
|
|
478
|
-
cross: /* @__PURE__ */ t((e, t, n) => {
|
|
479
|
-
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");
|
|
480
|
-
}, "cross"),
|
|
481
|
-
barb: /* @__PURE__ */ t((e, t, n) => {
|
|
482
|
-
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");
|
|
483
|
-
}, "barb"),
|
|
484
|
-
only_one: /* @__PURE__ */ t((e, t, n) => {
|
|
485
|
-
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");
|
|
486
|
-
}, "only_one"),
|
|
487
|
-
zero_or_one: /* @__PURE__ */ t((e, t, n) => {
|
|
488
|
-
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");
|
|
489
|
-
r.append("circle").attr("fill", "white").attr("cx", 21).attr("cy", 9).attr("r", 6), r.append("path").attr("d", "M9,0 L9,18");
|
|
490
|
-
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");
|
|
491
|
-
i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 9).attr("r", 6), i.append("path").attr("d", "M21,0 L21,18");
|
|
492
|
-
}, "zero_or_one"),
|
|
493
|
-
one_or_more: /* @__PURE__ */ t((e, t, n) => {
|
|
494
|
-
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");
|
|
495
|
-
}, "one_or_more"),
|
|
496
|
-
zero_or_more: /* @__PURE__ */ t((e, t, n) => {
|
|
497
|
-
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");
|
|
498
|
-
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");
|
|
499
|
-
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");
|
|
500
|
-
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");
|
|
501
|
-
}, "zero_or_more"),
|
|
502
|
-
requirement_arrow: /* @__PURE__ */ t((e, t, n) => {
|
|
503
|
-
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");
|
|
504
|
-
}, "requirement_arrow"),
|
|
505
|
-
requirement_contains: /* @__PURE__ */ t((e, t, n) => {
|
|
506
|
-
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");
|
|
507
|
-
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);
|
|
508
|
-
}, "requirement_contains")
|
|
509
|
-
}, Y = q;
|
|
510
|
-
//#endregion
|
|
511
|
-
export { I as a, Y as i, U as n, P as r, M as t };
|
|
512
|
-
|
|
513
|
-
//# sourceMappingURL=chunk-O4XLMI2P-DA4TPzPG.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-XZSTWKYB-DJv9rEVU.cjs`);var t=class extends e.t{static{e.f(this,`TreemapTokenBuilder`)}constructor(){super([`treemap`])}},n=/classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/,r=class extends e.n{static{e.f(this,`TreemapValueConverter`)}runCustomConverter(e,t,r){if(e.name===`NUMBER2`)return parseFloat(t.replace(/,/g,``));if(e.name===`SEPARATOR`||e.name===`STRING2`)return t.substring(1,t.length-1);if(e.name===`INDENTATION`)return t.length;if(e.name===`ClassDef`){if(typeof t!=`string`)return t;let e=n.exec(t);if(e)return{$type:`ClassDefStatement`,className:e[1],styleText:e[2]||void 0}}}};function i(e){let t=e.validation.TreemapValidator,n=e.validation.ValidationRegistry;if(n){let e={Treemap:t.checkSingleRoot.bind(t)};n.register(e,t)}}e.f(i,`registerValidationChecks`);var a=class{static{e.f(this,`TreemapValidator`)}checkSingleRoot(e,t){let n;for(let r of e.TreemapRows)r.item&&(n===void 0&&r.indent===void 0?n=0:(r.indent===void 0||n!==void 0&&n>=parseInt(r.indent,10))&&t(`error`,`Multiple root nodes are not allowed in a treemap.`,{node:r,property:`item`}))}},o={parser:{TokenBuilder:e.f(()=>new t,`TokenBuilder`),ValueConverter:e.f(()=>new r,`ValueConverter`)},validation:{TreemapValidator:e.f(()=>new a,`TreemapValidator`)}};function s(t=e.p){let n=e.m(e.g(t),e.s),r=e.m(e.h({shared:n}),e.d,o);return n.ServiceRegistry.register(r),i(r),{shared:n,Treemap:r}}e.f(s,`createTreemapServices`),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
|
|
2
|
-
//# sourceMappingURL=chunk-OZEHJAEY-CAiiXJUP.cjs.map
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { d as e, f as t, g as n, h as r, m as i, n as a, p as o, s, t as c } from "./chunk-XZSTWKYB-jD9M1izK.js";
|
|
2
|
-
//#region node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-OZEHJAEY.mjs
|
|
3
|
-
var l = class extends c {
|
|
4
|
-
static {
|
|
5
|
-
t(this, "TreemapTokenBuilder");
|
|
6
|
-
}
|
|
7
|
-
constructor() {
|
|
8
|
-
super(["treemap"]);
|
|
9
|
-
}
|
|
10
|
-
}, u = /classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/, d = class extends a {
|
|
11
|
-
static {
|
|
12
|
-
t(this, "TreemapValueConverter");
|
|
13
|
-
}
|
|
14
|
-
runCustomConverter(e, t, n) {
|
|
15
|
-
if (e.name === "NUMBER2") return parseFloat(t.replace(/,/g, ""));
|
|
16
|
-
if (e.name === "SEPARATOR" || e.name === "STRING2") return t.substring(1, t.length - 1);
|
|
17
|
-
if (e.name === "INDENTATION") return t.length;
|
|
18
|
-
if (e.name === "ClassDef") {
|
|
19
|
-
if (typeof t != "string") return t;
|
|
20
|
-
let e = u.exec(t);
|
|
21
|
-
if (e) return {
|
|
22
|
-
$type: "ClassDefStatement",
|
|
23
|
-
className: e[1],
|
|
24
|
-
styleText: e[2] || void 0
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
function f(e) {
|
|
30
|
-
let t = e.validation.TreemapValidator, n = e.validation.ValidationRegistry;
|
|
31
|
-
if (n) {
|
|
32
|
-
let e = { Treemap: t.checkSingleRoot.bind(t) };
|
|
33
|
-
n.register(e, t);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
t(f, "registerValidationChecks");
|
|
37
|
-
var p = class {
|
|
38
|
-
static {
|
|
39
|
-
t(this, "TreemapValidator");
|
|
40
|
-
}
|
|
41
|
-
checkSingleRoot(e, t) {
|
|
42
|
-
let n;
|
|
43
|
-
for (let r of e.TreemapRows) r.item && (n === void 0 && r.indent === void 0 ? n = 0 : (r.indent === void 0 || n !== void 0 && n >= parseInt(r.indent, 10)) && t("error", "Multiple root nodes are not allowed in a treemap.", {
|
|
44
|
-
node: r,
|
|
45
|
-
property: "item"
|
|
46
|
-
}));
|
|
47
|
-
}
|
|
48
|
-
}, m = {
|
|
49
|
-
parser: {
|
|
50
|
-
TokenBuilder: /* @__PURE__ */ t(() => new l(), "TokenBuilder"),
|
|
51
|
-
ValueConverter: /* @__PURE__ */ t(() => new d(), "ValueConverter")
|
|
52
|
-
},
|
|
53
|
-
validation: { TreemapValidator: /* @__PURE__ */ t(() => new p(), "TreemapValidator") }
|
|
54
|
-
};
|
|
55
|
-
function h(t = o) {
|
|
56
|
-
let a = i(n(t), s), c = i(r({ shared: a }), e, m);
|
|
57
|
-
return a.ServiceRegistry.register(c), f(c), {
|
|
58
|
-
shared: a,
|
|
59
|
-
Treemap: c
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
t(h, "createTreemapServices");
|
|
63
|
-
//#endregion
|
|
64
|
-
export { h as n, m as t };
|
|
65
|
-
|
|
66
|
-
//# sourceMappingURL=chunk-OZEHJAEY-D7SX2SbR.js.map
|