@spteck/react-controls-v2 2.3.9 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/DataGridV2/useDataGridV2Styles.d.ts +1 -1
- package/dist/components/dropDownField/IOption.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 -130
- package/dist/index.js +5983 -18453
- 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 +3 -2
- 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,294 +0,0 @@
|
|
|
1
|
-
import { g as e, h as t } from "./src-Dm6r9c7l.js";
|
|
2
|
-
import { b as n } from "./chunk-7R4GIKGN-CaQJ0QBF.js";
|
|
3
|
-
import "./chunk-GEFDOKGD-BNgT40Ex.js";
|
|
4
|
-
import "./chunk-MX3YWQON-CAsnAj2e.js";
|
|
5
|
-
import { n as r } from "./chunk-YBOYWFTD-B6CeuteH.js";
|
|
6
|
-
import "./chunk-PQ6SQG4A-ObFGkauo.js";
|
|
7
|
-
import "./chunk-PU5JKC2W-BM5NPS-q.js";
|
|
8
|
-
import { a as i, c as a, i as o, l as s, n as c, t as l, u } from "./chunk-KYZI473N-DEPuSXaW.js";
|
|
9
|
-
import { a as d, i as f, n as p, r as m, t as h } from "./chunk-O4XLMI2P-DA4TPzPG.js";
|
|
10
|
-
import { t as g } from "./graphlib-CPo7oIsu.js";
|
|
11
|
-
import { t as _ } from "./dagre-Dd8wCGc6.js";
|
|
12
|
-
import * as v from "lodash-es";
|
|
13
|
-
//#region node_modules/dagre-d3-es/src/graphlib/json.js
|
|
14
|
-
function y(e) {
|
|
15
|
-
var t = {
|
|
16
|
-
options: {
|
|
17
|
-
directed: e.isDirected(),
|
|
18
|
-
multigraph: e.isMultigraph(),
|
|
19
|
-
compound: e.isCompound()
|
|
20
|
-
},
|
|
21
|
-
nodes: b(e),
|
|
22
|
-
edges: x(e)
|
|
23
|
-
};
|
|
24
|
-
return v.isUndefined(e.graph()) || (t.value = v.clone(e.graph())), t;
|
|
25
|
-
}
|
|
26
|
-
function b(e) {
|
|
27
|
-
return v.map(e.nodes(), function(t) {
|
|
28
|
-
var n = e.node(t), r = e.parent(t), i = { v: t };
|
|
29
|
-
return v.isUndefined(n) || (i.value = n), v.isUndefined(r) || (i.parent = r), i;
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
function x(e) {
|
|
33
|
-
return v.map(e.edges(), function(t) {
|
|
34
|
-
var n = e.edge(t), r = {
|
|
35
|
-
v: t.v,
|
|
36
|
-
w: t.w
|
|
37
|
-
};
|
|
38
|
-
return v.isUndefined(t.name) || (r.name = t.name), v.isUndefined(n) || (r.value = n), r;
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
//#endregion
|
|
42
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/dagre-KLK3FWXG.mjs
|
|
43
|
-
var S = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ t(() => {
|
|
44
|
-
C.clear(), w.clear(), S.clear();
|
|
45
|
-
}, "clear"), E = /* @__PURE__ */ t((t, n) => {
|
|
46
|
-
let r = C.get(n) || [];
|
|
47
|
-
return e.trace("In isDescendant", n, " ", t, " = ", r.includes(t)), r.includes(t);
|
|
48
|
-
}, "isDescendant"), D = /* @__PURE__ */ t((t, n) => {
|
|
49
|
-
let r = C.get(n) || [];
|
|
50
|
-
return e.info("Descendants of ", n, " is ", r), e.info("Edge is ", t), t.v === n || t.w === n ? !1 : r ? r.includes(t.v) || E(t.v, n) || E(t.w, n) || r.includes(t.w) : (e.debug("Tilt, ", n, ",not in descendants"), !1);
|
|
51
|
-
}, "edgeInCluster"), O = /* @__PURE__ */ t((t, n, r, i) => {
|
|
52
|
-
e.warn("Copying children of ", t, "root", i, "data", n.node(t), i);
|
|
53
|
-
let a = n.children(t) || [];
|
|
54
|
-
t !== i && a.push(t), e.warn("Copying (nodes) clusterId", t, "nodes", a), a.forEach((a) => {
|
|
55
|
-
if (n.children(a).length > 0) O(a, n, r, i);
|
|
56
|
-
else {
|
|
57
|
-
let o = n.node(a);
|
|
58
|
-
e.info("cp ", a, " to ", i, " with parent ", t), r.setNode(a, o), i !== n.parent(a) && (e.warn("Setting parent", a, n.parent(a)), r.setParent(a, n.parent(a))), t !== i && a !== t ? (e.debug("Setting parent", a, t), r.setParent(a, t)) : (e.info("In copy ", t, "root", i, "data", n.node(t), i), e.debug("Not Setting parent for node=", a, "cluster!==rootId", t !== i, "node!==clusterId", a !== t));
|
|
59
|
-
let s = n.edges(a);
|
|
60
|
-
e.debug("Copying Edges", s), s.forEach((a) => {
|
|
61
|
-
e.info("Edge", a);
|
|
62
|
-
let o = n.edge(a.v, a.w, a.name);
|
|
63
|
-
e.info("Edge data", o, i);
|
|
64
|
-
try {
|
|
65
|
-
D(a, i) ? (e.info("Copying as ", a.v, a.w, o, a.name), r.setEdge(a.v, a.w, o, a.name), e.info("newGraph edges ", r.edges(), r.edge(r.edges()[0]))) : e.info("Skipping copy of edge ", a.v, "-->", a.w, " rootId: ", i, " clusterId:", t);
|
|
66
|
-
} catch (t) {
|
|
67
|
-
e.error(t);
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
e.debug("Removing node", a), n.removeNode(a);
|
|
72
|
-
});
|
|
73
|
-
}, "copy"), k = /* @__PURE__ */ t((e, t) => {
|
|
74
|
-
let n = t.children(e), r = [...n];
|
|
75
|
-
for (let i of n) w.set(i, e), r = [...r, ...k(i, t)];
|
|
76
|
-
return r;
|
|
77
|
-
}, "extractDescendants"), A = /* @__PURE__ */ t((e, t, n) => {
|
|
78
|
-
let r = e.edges().filter((e) => e.v === t || e.w === t), i = e.edges().filter((e) => e.v === n || e.w === n), a = r.map((e) => ({
|
|
79
|
-
v: e.v === t ? n : e.v,
|
|
80
|
-
w: e.w === t ? t : e.w
|
|
81
|
-
})), o = i.map((e) => ({
|
|
82
|
-
v: e.v,
|
|
83
|
-
w: e.w
|
|
84
|
-
}));
|
|
85
|
-
return a.filter((e) => o.some((t) => e.v === t.v && e.w === t.w));
|
|
86
|
-
}, "findCommonEdges"), j = /* @__PURE__ */ t((t, n, r) => {
|
|
87
|
-
let i = n.children(t);
|
|
88
|
-
if (e.trace("Searching children of id ", t, i), i.length < 1) return t;
|
|
89
|
-
let a;
|
|
90
|
-
for (let e of i) {
|
|
91
|
-
let t = j(e, n, r), i = A(n, r, t);
|
|
92
|
-
if (t) if (i.length > 0) a = t;
|
|
93
|
-
else return t;
|
|
94
|
-
}
|
|
95
|
-
return a;
|
|
96
|
-
}, "findNonClusterChild"), M = /* @__PURE__ */ t((e) => !S.has(e) || !S.get(e).externalConnections ? e : S.has(e) ? S.get(e).id : e, "getAnchorId"), N = /* @__PURE__ */ t((t, n) => {
|
|
97
|
-
if (!t || n > 10) {
|
|
98
|
-
e.debug("Opting out, no graph ");
|
|
99
|
-
return;
|
|
100
|
-
} else e.debug("Opting in, graph ");
|
|
101
|
-
t.nodes().forEach(function(n) {
|
|
102
|
-
t.children(n).length > 0 && (e.warn("Cluster identified", n, " Replacement id in edges: ", j(n, t, n)), C.set(n, k(n, t)), S.set(n, {
|
|
103
|
-
id: j(n, t, n),
|
|
104
|
-
clusterData: t.node(n)
|
|
105
|
-
}));
|
|
106
|
-
}), t.nodes().forEach(function(n) {
|
|
107
|
-
let r = t.children(n), i = t.edges();
|
|
108
|
-
r.length > 0 ? (e.debug("Cluster identified", n, C), i.forEach((t) => {
|
|
109
|
-
E(t.v, n) ^ E(t.w, n) && (e.warn("Edge: ", t, " leaves cluster ", n), e.warn("Descendants of XXX ", n, ": ", C.get(n)), S.get(n).externalConnections = !0);
|
|
110
|
-
})) : e.debug("Not a cluster ", n, C);
|
|
111
|
-
});
|
|
112
|
-
for (let e of S.keys()) {
|
|
113
|
-
let n = S.get(e).id, r = t.parent(n);
|
|
114
|
-
r !== e && S.has(r) && !S.get(r).externalConnections && (S.get(e).id = r);
|
|
115
|
-
}
|
|
116
|
-
t.edges().forEach(function(n) {
|
|
117
|
-
let r = t.edge(n);
|
|
118
|
-
e.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(n)), e.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(t.edge(n)));
|
|
119
|
-
let i = n.v, a = n.w;
|
|
120
|
-
if (e.warn("Fix XXX", S, "ids:", n.v, n.w, "Translating: ", S.get(n.v), " --- ", S.get(n.w)), S.get(n.v) || S.get(n.w)) {
|
|
121
|
-
if (e.warn("Fixing and trying - removing XXX", n.v, n.w, n.name), i = M(n.v), a = M(n.w), t.removeEdge(n.v, n.w, n.name), i !== n.v) {
|
|
122
|
-
let e = t.parent(i);
|
|
123
|
-
S.get(e).externalConnections = !0, r.fromCluster = n.v;
|
|
124
|
-
}
|
|
125
|
-
if (a !== n.w) {
|
|
126
|
-
let e = t.parent(a);
|
|
127
|
-
S.get(e).externalConnections = !0, r.toCluster = n.w;
|
|
128
|
-
}
|
|
129
|
-
e.warn("Fix Replacing with XXX", i, a, n.name), t.setEdge(i, a, r, n.name);
|
|
130
|
-
}
|
|
131
|
-
}), e.warn("Adjusted Graph", y(t)), P(t, 0), e.trace(S);
|
|
132
|
-
}, "adjustClustersAndEdges"), P = /* @__PURE__ */ t((t, n) => {
|
|
133
|
-
if (e.warn("extractor - ", n, y(t), t.children("D")), n > 10) {
|
|
134
|
-
e.error("Bailing out");
|
|
135
|
-
return;
|
|
136
|
-
}
|
|
137
|
-
let r = t.nodes(), i = !1;
|
|
138
|
-
for (let e of r) {
|
|
139
|
-
let n = t.children(e);
|
|
140
|
-
i ||= n.length > 0;
|
|
141
|
-
}
|
|
142
|
-
if (!i) {
|
|
143
|
-
e.debug("Done, no node has children", t.nodes());
|
|
144
|
-
return;
|
|
145
|
-
}
|
|
146
|
-
e.debug("Nodes = ", r, n);
|
|
147
|
-
for (let i of r) if (e.debug("Extracting node", i, S, S.has(i) && !S.get(i).externalConnections, !t.parent(i), t.node(i), t.children("D"), " Depth ", n), !S.has(i)) e.debug("Not a cluster", i, n);
|
|
148
|
-
else if (!S.get(i).externalConnections && t.children(i) && t.children(i).length > 0) {
|
|
149
|
-
e.warn("Cluster without external connections, without a parent and with children", i, n);
|
|
150
|
-
let r = t.graph().rankdir === "TB" ? "LR" : "TB";
|
|
151
|
-
S.get(i)?.clusterData?.dir && (r = S.get(i).clusterData.dir, e.warn("Fixing dir", S.get(i).clusterData.dir, r));
|
|
152
|
-
let a = new g({
|
|
153
|
-
multigraph: !0,
|
|
154
|
-
compound: !0
|
|
155
|
-
}).setGraph({
|
|
156
|
-
rankdir: r,
|
|
157
|
-
nodesep: 50,
|
|
158
|
-
ranksep: 50,
|
|
159
|
-
marginx: 8,
|
|
160
|
-
marginy: 8
|
|
161
|
-
}).setDefaultEdgeLabel(function() {
|
|
162
|
-
return {};
|
|
163
|
-
});
|
|
164
|
-
e.warn("Old graph before copy", y(t)), O(i, t, a, i), t.setNode(i, {
|
|
165
|
-
clusterNode: !0,
|
|
166
|
-
id: i,
|
|
167
|
-
clusterData: S.get(i).clusterData,
|
|
168
|
-
label: S.get(i).label,
|
|
169
|
-
graph: a
|
|
170
|
-
}), e.warn("New graph after copy node: (", i, ")", y(a)), e.debug("Old graph after copy", y(t));
|
|
171
|
-
} else e.warn("Cluster ** ", i, " **not meeting the criteria !externalConnections:", !S.get(i).externalConnections, " no parent: ", !t.parent(i), " children ", t.children(i) && t.children(i).length > 0, t.children("D"), n), e.debug(S);
|
|
172
|
-
r = t.nodes(), e.warn("New list of nodes", r);
|
|
173
|
-
for (let i of r) {
|
|
174
|
-
let r = t.node(i);
|
|
175
|
-
e.warn(" Now next level", i, r), r?.clusterNode && P(r.graph, n + 1);
|
|
176
|
-
}
|
|
177
|
-
}, "extractor"), F = /* @__PURE__ */ t((e, t) => {
|
|
178
|
-
if (t.length === 0) return [];
|
|
179
|
-
let n = Object.assign([], t);
|
|
180
|
-
return t.forEach((t) => {
|
|
181
|
-
let r = F(e, e.children(t));
|
|
182
|
-
n = [...n, ...r];
|
|
183
|
-
}), n;
|
|
184
|
-
}, "sorter"), I = /* @__PURE__ */ t((e) => F(e, e.children()), "sortNodesByHierarchy"), L = /* @__PURE__ */ t(async (n, c, l, f, h, g) => {
|
|
185
|
-
e.warn("Graph in recursive render:XAX", y(c), h);
|
|
186
|
-
let v = c.graph().rankdir;
|
|
187
|
-
e.trace("Dir in recursive render - dir:", v);
|
|
188
|
-
let b = n.insert("g").attr("class", "root");
|
|
189
|
-
c.nodes() ? e.info("Recursive render XXX", c.nodes()) : e.info("No nodes found for", c), c.edges().length > 0 && e.info("Recursive edges", c.edge(c.edges()[0]));
|
|
190
|
-
let x = b.insert("g").attr("class", "clusters"), C = b.insert("g").attr("class", "edgePaths"), w = b.insert("g").attr("class", "edgeLabels"), T = b.insert("g").attr("class", "nodes");
|
|
191
|
-
await Promise.all(c.nodes().map(async function(t) {
|
|
192
|
-
let n = c.node(t);
|
|
193
|
-
if (h !== void 0) {
|
|
194
|
-
let n = JSON.parse(JSON.stringify(h.clusterData));
|
|
195
|
-
e.trace("Setting data for parent cluster XXX\n Node.id = ", t, "\n data=", n.height, "\nParent cluster", h.height), c.setNode(h.id, n), c.parent(t) || (e.trace("Setting parent", t, h.id), c.setParent(t, h.id, n));
|
|
196
|
-
}
|
|
197
|
-
if (e.info("(Insert) Node XXX" + t + ": " + JSON.stringify(c.node(t))), n?.clusterNode) {
|
|
198
|
-
e.info("Cluster identified XBX", t, n.width, c.node(t));
|
|
199
|
-
let { ranksep: r, nodesep: i } = c.graph();
|
|
200
|
-
n.graph.setGraph({
|
|
201
|
-
...n.graph.graph(),
|
|
202
|
-
ranksep: r + 25,
|
|
203
|
-
nodesep: i
|
|
204
|
-
});
|
|
205
|
-
let a = await L(T, n.graph, l, f, c.node(t), g), o = a.elem;
|
|
206
|
-
u(n, o), n.diff = a.diff || 0, e.info("New compound node after recursive render XAX", t, "width", n.width, "height", n.height), s(o, n);
|
|
207
|
-
} else c.children(t).length > 0 ? (e.trace("Cluster - the non recursive path XBX", t, n.id, n, n.width, "Graph:", c), e.trace(j(n.id, c)), S.set(n.id, {
|
|
208
|
-
id: j(n.id, c),
|
|
209
|
-
node: n
|
|
210
|
-
})) : (e.trace("Node - the non recursive path XAX", t, T, c.node(t), v), await i(T, c.node(t), {
|
|
211
|
-
config: g,
|
|
212
|
-
dir: v
|
|
213
|
-
}));
|
|
214
|
-
})), await (/* @__PURE__ */ t(async () => {
|
|
215
|
-
let t = c.edges().map(async function(t) {
|
|
216
|
-
let n = c.edge(t.v, t.w, t.name);
|
|
217
|
-
e.info("Edge " + t.v + " -> " + t.w + ": " + JSON.stringify(t)), e.info("Edge " + t.v + " -> " + t.w + ": ", t, " ", JSON.stringify(c.edge(t))), e.info("Fix", S, "ids:", t.v, t.w, "Translating: ", S.get(t.v), S.get(t.w)), await m(w, n);
|
|
218
|
-
});
|
|
219
|
-
await Promise.all(t);
|
|
220
|
-
}, "processEdges"))(), e.info("Graph before layout:", JSON.stringify(y(c))), e.info("############################################# XXX"), e.info("### Layout ### XXX"), e.info("############################################# XXX"), _(c), e.info("Graph after layout:", JSON.stringify(y(c)));
|
|
221
|
-
let E = 0, { subGraphTitleTotalMargin: D } = r(g);
|
|
222
|
-
return await Promise.all(I(c).map(async function(t) {
|
|
223
|
-
let n = c.node(t);
|
|
224
|
-
if (e.info("Position XBX => " + t + ": (" + n.x, "," + n.y, ") width: ", n.width, " height: ", n.height), n?.clusterNode) n.y += D, e.info("A tainted cluster node XBX1", t, n.id, n.width, n.height, n.x, n.y, c.parent(t)), S.get(n.id).node = n, a(n);
|
|
225
|
-
else if (c.children(t).length > 0) {
|
|
226
|
-
e.info("A pure cluster node XBX1", t, n.id, n.x, n.y, n.width, n.height, c.parent(t)), n.height += D, c.node(n.parentId);
|
|
227
|
-
let r = n?.padding / 2 || 0, i = n?.labelBBox?.height || 0, a = i - r || 0;
|
|
228
|
-
e.debug("OffsetY", a, "labelHeight", i, "halfPadding", r), await o(x, n), S.get(n.id).node = n;
|
|
229
|
-
} else {
|
|
230
|
-
let t = c.node(n.parentId);
|
|
231
|
-
n.y += D / 2, e.info("A regular node XBX1 - using the padding", n.id, "parent", n.parentId, n.width, n.height, n.x, n.y, "offsetY", n.offsetY, "parent", t, t?.offsetY, n), a(n);
|
|
232
|
-
}
|
|
233
|
-
})), c.edges().forEach(function(t) {
|
|
234
|
-
let n = c.edge(t);
|
|
235
|
-
e.info("Edge " + t.v + " -> " + t.w + ": " + JSON.stringify(n), n), n.points.forEach((e) => e.y += D / 2), d(n, p(C, n, S, l, c.node(t.v), c.node(t.w), f));
|
|
236
|
-
}), c.nodes().forEach(function(t) {
|
|
237
|
-
let n = c.node(t);
|
|
238
|
-
e.info(t, n.type, n.diff), n.isGroup && (E = n.diff);
|
|
239
|
-
}), e.warn("Returning from recursive render XAX", b, E), {
|
|
240
|
-
elem: b,
|
|
241
|
-
diff: E
|
|
242
|
-
};
|
|
243
|
-
}, "recursiveRender"), R = /* @__PURE__ */ t(async (t, r) => {
|
|
244
|
-
let i = new g({
|
|
245
|
-
multigraph: !0,
|
|
246
|
-
compound: !0
|
|
247
|
-
}).setGraph({
|
|
248
|
-
rankdir: t.direction,
|
|
249
|
-
nodesep: t.config?.nodeSpacing || t.config?.flowchart?.nodeSpacing || t.nodeSpacing,
|
|
250
|
-
ranksep: t.config?.rankSpacing || t.config?.flowchart?.rankSpacing || t.rankSpacing,
|
|
251
|
-
marginx: 8,
|
|
252
|
-
marginy: 8
|
|
253
|
-
}).setDefaultEdgeLabel(function() {
|
|
254
|
-
return {};
|
|
255
|
-
}), a = r.select("g");
|
|
256
|
-
f(a, t.markers, t.type, t.diagramId), c(), h(), l(), T(), t.nodes.forEach((e) => {
|
|
257
|
-
i.setNode(e.id, { ...e }), e.parentId && i.setParent(e.id, e.parentId);
|
|
258
|
-
}), e.debug("Edges:", t.edges), t.edges.forEach((e) => {
|
|
259
|
-
if (e.start === e.end) {
|
|
260
|
-
let t = e.start, n = t + "---" + t + "---1", r = t + "---" + t + "---2", a = i.node(t);
|
|
261
|
-
i.setNode(n, {
|
|
262
|
-
domId: n,
|
|
263
|
-
id: n,
|
|
264
|
-
parentId: a.parentId,
|
|
265
|
-
labelStyle: "",
|
|
266
|
-
label: "",
|
|
267
|
-
padding: 0,
|
|
268
|
-
shape: "labelRect",
|
|
269
|
-
style: "",
|
|
270
|
-
width: 10,
|
|
271
|
-
height: 10
|
|
272
|
-
}), i.setParent(n, a.parentId), i.setNode(r, {
|
|
273
|
-
domId: r,
|
|
274
|
-
id: r,
|
|
275
|
-
parentId: a.parentId,
|
|
276
|
-
labelStyle: "",
|
|
277
|
-
padding: 0,
|
|
278
|
-
shape: "labelRect",
|
|
279
|
-
label: "",
|
|
280
|
-
style: "",
|
|
281
|
-
width: 10,
|
|
282
|
-
height: 10
|
|
283
|
-
}), i.setParent(r, a.parentId);
|
|
284
|
-
let o = structuredClone(e), s = structuredClone(e), c = structuredClone(e);
|
|
285
|
-
o.label = "", o.arrowTypeEnd = "none", o.id = t + "-cyclic-special-1", s.arrowTypeStart = "none", s.arrowTypeEnd = "none", s.id = t + "-cyclic-special-mid", c.label = "", a.isGroup && (o.fromCluster = t, c.toCluster = t), c.id = t + "-cyclic-special-2", c.arrowTypeStart = "none", i.setEdge(t, n, o, t + "-cyclic-special-0"), i.setEdge(n, r, s, t + "-cyclic-special-1"), i.setEdge(r, t, c, t + "-cyc<lic-special-2");
|
|
286
|
-
} else i.setEdge(e.start, e.end, { ...e }, e.id);
|
|
287
|
-
}), e.warn("Graph at first:", JSON.stringify(y(i))), N(i), e.warn("Graph after XAX:", JSON.stringify(y(i)));
|
|
288
|
-
let o = n();
|
|
289
|
-
await L(a, i, t.type, t.diagramId, void 0, o);
|
|
290
|
-
}, "render");
|
|
291
|
-
//#endregion
|
|
292
|
-
export { R as render };
|
|
293
|
-
|
|
294
|
-
//# sourceMappingURL=dagre-KLK3FWXG-BpxkjvB3.js.map
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-D-IZpNpi.cjs`),t=require(`./src-DFxq-N5I.cjs`),n=require(`./chunk-7R4GIKGN-BKoqTTU_.cjs`);require(`./chunk-GEFDOKGD-BOwd6Jqp.cjs`),require(`./chunk-MX3YWQON-DulrBJdn.cjs`);const r=require(`./chunk-YBOYWFTD-CiLW6HW_.cjs`);require(`./chunk-PQ6SQG4A-BZnW4-Sd.cjs`),require(`./chunk-PU5JKC2W-eRU8wnTH.cjs`);const i=require(`./chunk-KYZI473N-DzBMFOER.cjs`),a=require(`./chunk-O4XLMI2P-BQF7MAo7.cjs`),o=require(`./graphlib-CmUS4Qin.cjs`),s=require(`./dagre-CpEPaL3r.cjs`);let c=require(`lodash-es`);c=e.o(c);function l(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:u(e),edges:d(e)};return c.isUndefined(e.graph())||(t.value=c.clone(e.graph())),t}function u(e){return c.map(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),i={v:t};return c.isUndefined(n)||(i.value=n),c.isUndefined(r)||(i.parent=r),i})}function d(e){return c.map(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return c.isUndefined(t.name)||(r.name=t.name),c.isUndefined(n)||(r.value=n),r})}var f=new Map,p=new Map,m=new Map,h=t.h(()=>{p.clear(),m.clear(),f.clear()},`clear`),g=t.h((e,n)=>{let r=p.get(n)||[];return t.g.trace(`In isDescendant`,n,` `,e,` = `,r.includes(e)),r.includes(e)},`isDescendant`),_=t.h((e,n)=>{let r=p.get(n)||[];return t.g.info(`Descendants of `,n,` is `,r),t.g.info(`Edge is `,e),e.v===n||e.w===n?!1:r?r.includes(e.v)||g(e.v,n)||g(e.w,n)||r.includes(e.w):(t.g.debug(`Tilt, `,n,`,not in descendants`),!1)},`edgeInCluster`),v=t.h((e,n,r,i)=>{t.g.warn(`Copying children of `,e,`root`,i,`data`,n.node(e),i);let a=n.children(e)||[];e!==i&&a.push(e),t.g.warn(`Copying (nodes) clusterId`,e,`nodes`,a),a.forEach(a=>{if(n.children(a).length>0)v(a,n,r,i);else{let o=n.node(a);t.g.info(`cp `,a,` to `,i,` with parent `,e),r.setNode(a,o),i!==n.parent(a)&&(t.g.warn(`Setting parent`,a,n.parent(a)),r.setParent(a,n.parent(a))),e!==i&&a!==e?(t.g.debug(`Setting parent`,a,e),r.setParent(a,e)):(t.g.info(`In copy `,e,`root`,i,`data`,n.node(e),i),t.g.debug(`Not Setting parent for node=`,a,`cluster!==rootId`,e!==i,`node!==clusterId`,a!==e));let s=n.edges(a);t.g.debug(`Copying Edges`,s),s.forEach(a=>{t.g.info(`Edge`,a);let o=n.edge(a.v,a.w,a.name);t.g.info(`Edge data`,o,i);try{_(a,i)?(t.g.info(`Copying as `,a.v,a.w,o,a.name),r.setEdge(a.v,a.w,o,a.name),t.g.info(`newGraph edges `,r.edges(),r.edge(r.edges()[0]))):t.g.info(`Skipping copy of edge `,a.v,`-->`,a.w,` rootId: `,i,` clusterId:`,e)}catch(e){t.g.error(e)}})}t.g.debug(`Removing node`,a),n.removeNode(a)})},`copy`),y=t.h((e,t)=>{let n=t.children(e),r=[...n];for(let i of n)m.set(i,e),r=[...r,...y(i,t)];return r},`extractDescendants`),b=t.h((e,t,n)=>{let r=e.edges().filter(e=>e.v===t||e.w===t),i=e.edges().filter(e=>e.v===n||e.w===n),a=r.map(e=>({v:e.v===t?n:e.v,w:e.w===t?t:e.w})),o=i.map(e=>({v:e.v,w:e.w}));return a.filter(e=>o.some(t=>e.v===t.v&&e.w===t.w))},`findCommonEdges`),x=t.h((e,n,r)=>{let i=n.children(e);if(t.g.trace(`Searching children of id `,e,i),i.length<1)return e;let a;for(let e of i){let t=x(e,n,r),i=b(n,r,t);if(t)if(i.length>0)a=t;else return t}return a},`findNonClusterChild`),S=t.h(e=>!f.has(e)||!f.get(e).externalConnections?e:f.has(e)?f.get(e).id:e,`getAnchorId`),C=t.h((e,n)=>{if(!e||n>10){t.g.debug(`Opting out, no graph `);return}else t.g.debug(`Opting in, graph `);e.nodes().forEach(function(n){e.children(n).length>0&&(t.g.warn(`Cluster identified`,n,` Replacement id in edges: `,x(n,e,n)),p.set(n,y(n,e)),f.set(n,{id:x(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){let r=e.children(n),i=e.edges();r.length>0?(t.g.debug(`Cluster identified`,n,p),i.forEach(e=>{g(e.v,n)^g(e.w,n)&&(t.g.warn(`Edge: `,e,` leaves cluster `,n),t.g.warn(`Descendants of XXX `,n,`: `,p.get(n)),f.get(n).externalConnections=!0)})):t.g.debug(`Not a cluster `,n,p)});for(let t of f.keys()){let n=f.get(t).id,r=e.parent(n);r!==t&&f.has(r)&&!f.get(r).externalConnections&&(f.get(t).id=r)}e.edges().forEach(function(n){let r=e.edge(n);t.g.warn(`Edge `+n.v+` -> `+n.w+`: `+JSON.stringify(n)),t.g.warn(`Edge `+n.v+` -> `+n.w+`: `+JSON.stringify(e.edge(n)));let i=n.v,a=n.w;if(t.g.warn(`Fix XXX`,f,`ids:`,n.v,n.w,`Translating: `,f.get(n.v),` --- `,f.get(n.w)),f.get(n.v)||f.get(n.w)){if(t.g.warn(`Fixing and trying - removing XXX`,n.v,n.w,n.name),i=S(n.v),a=S(n.w),e.removeEdge(n.v,n.w,n.name),i!==n.v){let t=e.parent(i);f.get(t).externalConnections=!0,r.fromCluster=n.v}if(a!==n.w){let t=e.parent(a);f.get(t).externalConnections=!0,r.toCluster=n.w}t.g.warn(`Fix Replacing with XXX`,i,a,n.name),e.setEdge(i,a,r,n.name)}}),t.g.warn(`Adjusted Graph`,l(e)),w(e,0),t.g.trace(f)},`adjustClustersAndEdges`),w=t.h((e,n)=>{if(t.g.warn(`extractor - `,n,l(e),e.children(`D`)),n>10){t.g.error(`Bailing out`);return}let r=e.nodes(),i=!1;for(let t of r){let n=e.children(t);i||=n.length>0}if(!i){t.g.debug(`Done, no node has children`,e.nodes());return}t.g.debug(`Nodes = `,r,n);for(let i of r)if(t.g.debug(`Extracting node`,i,f,f.has(i)&&!f.get(i).externalConnections,!e.parent(i),e.node(i),e.children(`D`),` Depth `,n),!f.has(i))t.g.debug(`Not a cluster`,i,n);else if(!f.get(i).externalConnections&&e.children(i)&&e.children(i).length>0){t.g.warn(`Cluster without external connections, without a parent and with children`,i,n);let r=e.graph().rankdir===`TB`?`LR`:`TB`;f.get(i)?.clusterData?.dir&&(r=f.get(i).clusterData.dir,t.g.warn(`Fixing dir`,f.get(i).clusterData.dir,r));let a=new o.t({multigraph:!0,compound:!0}).setGraph({rankdir:r,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});t.g.warn(`Old graph before copy`,l(e)),v(i,e,a,i),e.setNode(i,{clusterNode:!0,id:i,clusterData:f.get(i).clusterData,label:f.get(i).label,graph:a}),t.g.warn(`New graph after copy node: (`,i,`)`,l(a)),t.g.debug(`Old graph after copy`,l(e))}else t.g.warn(`Cluster ** `,i,` **not meeting the criteria !externalConnections:`,!f.get(i).externalConnections,` no parent: `,!e.parent(i),` children `,e.children(i)&&e.children(i).length>0,e.children(`D`),n),t.g.debug(f);r=e.nodes(),t.g.warn(`New list of nodes`,r);for(let i of r){let r=e.node(i);t.g.warn(` Now next level`,i,r),r?.clusterNode&&w(r.graph,n+1)}},`extractor`),T=t.h((e,t)=>{if(t.length===0)return[];let n=Object.assign([],t);return t.forEach(t=>{let r=T(e,e.children(t));n=[...n,...r]}),n},`sorter`),E=t.h(e=>T(e,e.children()),`sortNodesByHierarchy`),D=t.h(async(e,n,o,c,u,d)=>{t.g.warn(`Graph in recursive render:XAX`,l(n),u);let p=n.graph().rankdir;t.g.trace(`Dir in recursive render - dir:`,p);let m=e.insert(`g`).attr(`class`,`root`);n.nodes()?t.g.info(`Recursive render XXX`,n.nodes()):t.g.info(`No nodes found for`,n),n.edges().length>0&&t.g.info(`Recursive edges`,n.edge(n.edges()[0]));let h=m.insert(`g`).attr(`class`,`clusters`),g=m.insert(`g`).attr(`class`,`edgePaths`),_=m.insert(`g`).attr(`class`,`edgeLabels`),v=m.insert(`g`).attr(`class`,`nodes`);await Promise.all(n.nodes().map(async function(e){let r=n.node(e);if(u!==void 0){let r=JSON.parse(JSON.stringify(u.clusterData));t.g.trace(`Setting data for parent cluster XXX
|
|
2
|
-
Node.id = `,e,`
|
|
3
|
-
data=`,r.height,`
|
|
4
|
-
Parent cluster`,u.height),n.setNode(u.id,r),n.parent(e)||(t.g.trace(`Setting parent`,e,u.id),n.setParent(e,u.id,r))}if(t.g.info(`(Insert) Node XXX`+e+`: `+JSON.stringify(n.node(e))),r?.clusterNode){t.g.info(`Cluster identified XBX`,e,r.width,n.node(e));let{ranksep:a,nodesep:s}=n.graph();r.graph.setGraph({...r.graph.graph(),ranksep:a+25,nodesep:s});let l=await D(v,r.graph,o,c,n.node(e),d),u=l.elem;i.u(r,u),r.diff=l.diff||0,t.g.info(`New compound node after recursive render XAX`,e,`width`,r.width,`height`,r.height),i.l(u,r)}else n.children(e).length>0?(t.g.trace(`Cluster - the non recursive path XBX`,e,r.id,r,r.width,`Graph:`,n),t.g.trace(x(r.id,n)),f.set(r.id,{id:x(r.id,n),node:r})):(t.g.trace(`Node - the non recursive path XAX`,e,v,n.node(e),p),await i.a(v,n.node(e),{config:d,dir:p}))})),await t.h(async()=>{let e=n.edges().map(async function(e){let r=n.edge(e.v,e.w,e.name);t.g.info(`Edge `+e.v+` -> `+e.w+`: `+JSON.stringify(e)),t.g.info(`Edge `+e.v+` -> `+e.w+`: `,e,` `,JSON.stringify(n.edge(e))),t.g.info(`Fix`,f,`ids:`,e.v,e.w,`Translating: `,f.get(e.v),f.get(e.w)),await a.r(_,r)});await Promise.all(e)},`processEdges`)(),t.g.info(`Graph before layout:`,JSON.stringify(l(n))),t.g.info(`############################################# XXX`),t.g.info(`### Layout ### XXX`),t.g.info(`############################################# XXX`),s.t(n),t.g.info(`Graph after layout:`,JSON.stringify(l(n)));let y=0,{subGraphTitleTotalMargin:b}=r.n(d);return await Promise.all(E(n).map(async function(e){let r=n.node(e);if(t.g.info(`Position XBX => `+e+`: (`+r.x,`,`+r.y,`) width: `,r.width,` height: `,r.height),r?.clusterNode)r.y+=b,t.g.info(`A tainted cluster node XBX1`,e,r.id,r.width,r.height,r.x,r.y,n.parent(e)),f.get(r.id).node=r,i.c(r);else if(n.children(e).length>0){t.g.info(`A pure cluster node XBX1`,e,r.id,r.x,r.y,r.width,r.height,n.parent(e)),r.height+=b,n.node(r.parentId);let a=r?.padding/2||0,o=r?.labelBBox?.height||0,s=o-a||0;t.g.debug(`OffsetY`,s,`labelHeight`,o,`halfPadding`,a),await i.i(h,r),f.get(r.id).node=r}else{let e=n.node(r.parentId);r.y+=b/2,t.g.info(`A regular node XBX1 - using the padding`,r.id,`parent`,r.parentId,r.width,r.height,r.x,r.y,`offsetY`,r.offsetY,`parent`,e,e?.offsetY,r),i.c(r)}})),n.edges().forEach(function(e){let r=n.edge(e);t.g.info(`Edge `+e.v+` -> `+e.w+`: `+JSON.stringify(r),r),r.points.forEach(e=>e.y+=b/2),a.a(r,a.n(g,r,f,o,n.node(e.v),n.node(e.w),c))}),n.nodes().forEach(function(e){let r=n.node(e);t.g.info(e,r.type,r.diff),r.isGroup&&(y=r.diff)}),t.g.warn(`Returning from recursive render XAX`,m,y),{elem:m,diff:y}},`recursiveRender`),O=t.h(async(e,r)=>{let s=new o.t({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:e.config?.nodeSpacing||e.config?.flowchart?.nodeSpacing||e.nodeSpacing,ranksep:e.config?.rankSpacing||e.config?.flowchart?.rankSpacing||e.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),c=r.select(`g`);a.i(c,e.markers,e.type,e.diagramId),i.n(),a.t(),i.t(),h(),e.nodes.forEach(e=>{s.setNode(e.id,{...e}),e.parentId&&s.setParent(e.id,e.parentId)}),t.g.debug(`Edges:`,e.edges),e.edges.forEach(e=>{if(e.start===e.end){let t=e.start,n=t+`---`+t+`---1`,r=t+`---`+t+`---2`,i=s.node(t);s.setNode(n,{domId:n,id:n,parentId:i.parentId,labelStyle:``,label:``,padding:0,shape:`labelRect`,style:``,width:10,height:10}),s.setParent(n,i.parentId),s.setNode(r,{domId:r,id:r,parentId:i.parentId,labelStyle:``,padding:0,shape:`labelRect`,label:``,style:``,width:10,height:10}),s.setParent(r,i.parentId);let a=structuredClone(e),o=structuredClone(e),c=structuredClone(e);a.label=``,a.arrowTypeEnd=`none`,a.id=t+`-cyclic-special-1`,o.arrowTypeStart=`none`,o.arrowTypeEnd=`none`,o.id=t+`-cyclic-special-mid`,c.label=``,i.isGroup&&(a.fromCluster=t,c.toCluster=t),c.id=t+`-cyclic-special-2`,c.arrowTypeStart=`none`,s.setEdge(t,n,a,t+`-cyclic-special-0`),s.setEdge(n,r,o,t+`-cyclic-special-1`),s.setEdge(r,t,c,t+`-cyc<lic-special-2`)}else s.setEdge(e.start,e.end,{...e},e.id)}),t.g.warn(`Graph at first:`,JSON.stringify(l(s))),C(s),t.g.warn(`Graph after XAX:`,JSON.stringify(l(s)));let u=n.b();await D(c,s,e.type,e.diagramId,void 0,u)},`render`);exports.render=O;
|
|
5
|
-
//# sourceMappingURL=dagre-KLK3FWXG-DIznPQl_.cjs.map
|
package/dist/de-B68HwuYu.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-IZpNpi.cjs`);var e={common:{loading:`Laden...`,error:`Fehler`,noData:`Keine Daten`,close:`Schließen`,save:`Speichern`,cancel:`Abbrechen`,ok:`OK`,searchPlaceholder:`Suchen...`},kpi:{noDescription:`Keine Beschreibung verfügbar`,defaultTitle:`KPI`,lowerIsBetter:`Niedriger ist besser`,higherIsBetter:`Höher ist besser`,withinGoalThreshold:`Innerhalb der Zielschwelle`,exceedsGoalThreshold:`Überschreitet die Zielschwelle`,goal:`Ziel`,progressGoal:`Fortschritt zum Ziel`,maxAllowedThreshold:`Maximal zulässiger Schwellenwert`,totalItemsInScope:`Gesamte Elemente im Umfang`,totalItems:`Total`,currentValueAsPercent:`Aktueller Wert als Prozentsatz des Gesamtwerts`,percentOfTotal:`%`,onTrack:`Auf Kurs`,exceedGoal:`Überschreitet Ziel`},noKpis:{title:`Keine KPIs konfiguriert`,subtitle:`Beginnen Sie mit der Leistungsüberwachung Ihres Teams, indem Sie {highlight} in der App-Konfigurationsliste konfigurieren.`,highlightText:`KPI-Parameter`,configureButton:`KPIs konfigurieren`},calendar:{calendarControl:{daysOfWeek:[`Sonntag`,`Montag`,`Dienstag`,`Mittwoch`,`Donnerstag`,`Freitag`,`Samstag`]},selectCalendarView:{month:`Monat`,week:`Woche`,day:`Tag`},eventPopoverCard:{timeSeparator:` – `,hourSuffix:`Uhr`},eventDetailsPopover:{start:`Beginn`,end:`Ende`,location:`Ort`,attendees:`Teilnehmer`,details:`Details`},dayView:{allDay:`Ganztägig`},toolbar:{today:`Heute`,previous:`Zurück`,next:`Weiter`},weekView:{allDay:`Ganztägig`},calendarMonth:{months:[`Januar`,`Februar`,`März`,`April`,`Mai`,`Juni`,`Juli`,`August`,`September`,`Oktober`,`November`,`Dezember`],shortMonths:[`Jan`,`Feb`,`Mär`,`Apr`,`Mai`,`Jun`,`Jul`,`Aug`,`Sep`,`Okt`,`Nov`,`Dez`],days:[`Sonntag`,`Montag`,`Dienstag`,`Mittwoch`,`Donnerstag`,`Freitag`,`Samstag`],shortDays:[`So`,`Mo`,`Di`,`Mi`,`Do`,`Fr`,`Sa`],goToToday:`Zu heute wechseln`},selectWeek:{selectWeekPlaceholder:`Woche auswählen`}},mensions:{placeholder:`Nachricht eingeben...`,noResults:`Keine Ergebnisse gefunden`,send:`Senden`},shareDialog:{title:`Teilen`,copyLink:`Link kopieren`,linkCopied:`Link kopiert!`,share:`Teilen`,cancel:`Abbrechen`},userCard:{available:`Verfügbar`,availableIdle:`Verfügbar, untätig`,away:`Abwesend`,busy:`Beschäftigt`,busyIdle:`Beschäftigt, untätig`,doNotDisturb:`Nicht stören`,beRightBack:`Bin gleich zurück`,appearOffline:`Offline anzeigen`,unknown:`Unbekannt`,outOfOffice:`Abwesend`,offline:`Offline`,userAvatar:`Benutzeravatar`,unknownUser:`Unbekannter Benutzer`},appDashboard:{noDashboardsAvailable:`Keine Dashboards verfügbar`,clickToSetSpan:`Klicken Sie, um die Spanne festzulegen`,configure:`Konfigurieren`},aiAssistant:{processingError:`Bei der Verarbeitung Ihrer Anfrage ist ein Fehler aufgetreten.`,noUsersFound:`Keine Benutzer gefunden`,typeAMessage:`Nachricht eingeben`},worldMap:{loadingMapStyle:`Kartenstil wird geladen…`,coordinates:`Koordinaten:`,zoomIn:`Vergrößern`,zoomOut:`Verkleinern`,resetMap:`Karte zurücksetzen`,reset:`Zurücksetzen`},aiSearchControl:{placeholder:`Bitten Sie die KI, eine Suchanfrage zu generieren...`,notConfiguredError:`Azure OpenAI ist nicht korrekt konfiguriert. Bitte überprüfen Sie die Konfiguration.`,generationError:`Bei der Generierung der KI-Suchanfrage ist ein Fehler aufgetreten`},itemPicker:{placeholder:`Suchen…`,noResultsFound:`Keine Ergebnisse gefunden`,searching:`Suche läuft…`,loadingMore:`Weitere werden geladen…`,selectedItems:`Ausgewählte Elemente`,searchItems:`Elemente suchen`},listItemActivity:{you:`Sie`,accessed:`hat darauf zugegriffen`,commented:`hat dies kommentiert`,created:`hat dies erstellt`,deleted:`hat dies gelöscht`,edited:`hat dies bearbeitet`,mentioned:`hat Sie hierin erwähnt`,moved:`hat dies verschoben`,renamed:`hat dies umbenannt`,restored:`hat dies wiederhergestellt`,shared:`hat dies geteilt`,versioned:`hat dies versioniert`},inputField:{fieldRequired:`Dieses Feld ist erforderlich`,numberRequired:`Eine Zahl ist erforderlich`,invalidNumber:`Bitte geben Sie eine gültige Zahl ein`,valueMustBeAtLeast:`Der Wert muss mindestens {0} betragen`,valueMustBeAtMost:`Der Wert darf höchstens {0} betragen`},searchControl:{placeholder:`Suchen…`},mermaidDiagram:{loading:`Diagramm wird geladen…`,errorTitle:`Diagrammfehler`,errorMessage:`Beim Rendern des Diagramms ist ein Fehler aufgetreten.`,noSource:`Keine Diagrammquelle angegeben`}};exports.de=e;
|
|
2
|
-
//# sourceMappingURL=de-B68HwuYu.cjs.map
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
//#region node_modules/d3-format/src/formatDecimal.js
|
|
2
|
-
function e(e) {
|
|
3
|
-
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
|
|
4
|
-
}
|
|
5
|
-
function t(e, t) {
|
|
6
|
-
if (!isFinite(e) || e === 0) return null;
|
|
7
|
-
var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);
|
|
8
|
-
return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region node_modules/d3-format/src/exponent.js
|
|
12
|
-
function n(e) {
|
|
13
|
-
return e = t(Math.abs(e)), e ? e[1] : NaN;
|
|
14
|
-
}
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region node_modules/d3-format/src/formatGroup.js
|
|
17
|
-
function r(e, t) {
|
|
18
|
-
return function(n, r) {
|
|
19
|
-
for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
|
|
20
|
-
return a.reverse().join(t);
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region node_modules/d3-format/src/formatNumerals.js
|
|
25
|
-
function i(e) {
|
|
26
|
-
return function(t) {
|
|
27
|
-
return t.replace(/[0-9]/g, function(t) {
|
|
28
|
-
return e[+t];
|
|
29
|
-
});
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
33
|
-
//#region node_modules/d3-format/src/formatSpecifier.js
|
|
34
|
-
var a = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
35
|
-
function o(e) {
|
|
36
|
-
if (!(t = a.exec(e))) throw Error("invalid format: " + e);
|
|
37
|
-
var t;
|
|
38
|
-
return new s({
|
|
39
|
-
fill: t[1],
|
|
40
|
-
align: t[2],
|
|
41
|
-
sign: t[3],
|
|
42
|
-
symbol: t[4],
|
|
43
|
-
zero: t[5],
|
|
44
|
-
width: t[6],
|
|
45
|
-
comma: t[7],
|
|
46
|
-
precision: t[8] && t[8].slice(1),
|
|
47
|
-
trim: t[9],
|
|
48
|
-
type: t[10]
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
o.prototype = s.prototype;
|
|
52
|
-
function s(e) {
|
|
53
|
-
this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";
|
|
54
|
-
}
|
|
55
|
-
s.prototype.toString = function() {
|
|
56
|
-
return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
|
|
57
|
-
};
|
|
58
|
-
//#endregion
|
|
59
|
-
//#region node_modules/d3-format/src/formatTrim.js
|
|
60
|
-
function c(e) {
|
|
61
|
-
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
|
|
62
|
-
case ".":
|
|
63
|
-
r = i = n;
|
|
64
|
-
break;
|
|
65
|
-
case "0":
|
|
66
|
-
r === 0 && (r = n), i = n;
|
|
67
|
-
break;
|
|
68
|
-
default:
|
|
69
|
-
if (!+e[n]) break out;
|
|
70
|
-
r > 0 && (r = 0);
|
|
71
|
-
break;
|
|
72
|
-
}
|
|
73
|
-
return r > 0 ? e.slice(0, r) + e.slice(i + 1) : e;
|
|
74
|
-
}
|
|
75
|
-
//#endregion
|
|
76
|
-
//#region node_modules/d3-format/src/formatPrefixAuto.js
|
|
77
|
-
var l;
|
|
78
|
-
function u(e, n) {
|
|
79
|
-
var r = t(e, n);
|
|
80
|
-
if (!r) return l = void 0, e.toPrecision(n);
|
|
81
|
-
var i = r[0], a = r[1], o = a - (l = Math.max(-8, Math.min(8, Math.floor(a / 3))) * 3) + 1, s = i.length;
|
|
82
|
-
return o === s ? i : o > s ? i + Array(o - s + 1).join("0") : o > 0 ? i.slice(0, o) + "." + i.slice(o) : "0." + Array(1 - o).join("0") + t(e, Math.max(0, n + o - 1))[0];
|
|
83
|
-
}
|
|
84
|
-
//#endregion
|
|
85
|
-
//#region node_modules/d3-format/src/formatRounded.js
|
|
86
|
-
function d(e, n) {
|
|
87
|
-
var r = t(e, n);
|
|
88
|
-
if (!r) return e + "";
|
|
89
|
-
var i = r[0], a = r[1];
|
|
90
|
-
return a < 0 ? "0." + Array(-a).join("0") + i : i.length > a + 1 ? i.slice(0, a + 1) + "." + i.slice(a + 1) : i + Array(a - i.length + 2).join("0");
|
|
91
|
-
}
|
|
92
|
-
//#endregion
|
|
93
|
-
//#region node_modules/d3-format/src/formatTypes.js
|
|
94
|
-
var f = {
|
|
95
|
-
"%": (e, t) => (e * 100).toFixed(t),
|
|
96
|
-
b: (e) => Math.round(e).toString(2),
|
|
97
|
-
c: (e) => e + "",
|
|
98
|
-
d: e,
|
|
99
|
-
e: (e, t) => e.toExponential(t),
|
|
100
|
-
f: (e, t) => e.toFixed(t),
|
|
101
|
-
g: (e, t) => e.toPrecision(t),
|
|
102
|
-
o: (e) => Math.round(e).toString(8),
|
|
103
|
-
p: (e, t) => d(e * 100, t),
|
|
104
|
-
r: d,
|
|
105
|
-
s: u,
|
|
106
|
-
X: (e) => Math.round(e).toString(16).toUpperCase(),
|
|
107
|
-
x: (e) => Math.round(e).toString(16)
|
|
108
|
-
};
|
|
109
|
-
//#endregion
|
|
110
|
-
//#region node_modules/d3-format/src/identity.js
|
|
111
|
-
function p(e) {
|
|
112
|
-
return e;
|
|
113
|
-
}
|
|
114
|
-
//#endregion
|
|
115
|
-
//#region node_modules/d3-format/src/locale.js
|
|
116
|
-
var m = Array.prototype.map, h = [
|
|
117
|
-
"y",
|
|
118
|
-
"z",
|
|
119
|
-
"a",
|
|
120
|
-
"f",
|
|
121
|
-
"p",
|
|
122
|
-
"n",
|
|
123
|
-
"µ",
|
|
124
|
-
"m",
|
|
125
|
-
"",
|
|
126
|
-
"k",
|
|
127
|
-
"M",
|
|
128
|
-
"G",
|
|
129
|
-
"T",
|
|
130
|
-
"P",
|
|
131
|
-
"E",
|
|
132
|
-
"Z",
|
|
133
|
-
"Y"
|
|
134
|
-
];
|
|
135
|
-
function g(e) {
|
|
136
|
-
var t = e.grouping === void 0 || e.thousands === void 0 ? p : r(m.call(e.grouping, Number), e.thousands + ""), a = e.currency === void 0 ? "" : e.currency[0] + "", s = e.currency === void 0 ? "" : e.currency[1] + "", u = e.decimal === void 0 ? "." : e.decimal + "", d = e.numerals === void 0 ? p : i(m.call(e.numerals, String)), g = e.percent === void 0 ? "%" : e.percent + "", _ = e.minus === void 0 ? "−" : e.minus + "", v = e.nan === void 0 ? "NaN" : e.nan + "";
|
|
137
|
-
function y(e, n) {
|
|
138
|
-
e = o(e);
|
|
139
|
-
var r = e.fill, i = e.align, p = e.sign, m = e.symbol, y = e.zero, b = e.width, x = e.comma, S = e.precision, C = e.trim, w = e.type;
|
|
140
|
-
w === "n" ? (x = !0, w = "g") : f[w] || (S === void 0 && (S = 12), C = !0, w = "g"), (y || r === "0" && i === "=") && (y = !0, r = "0", i = "=");
|
|
141
|
-
var T = (n && n.prefix !== void 0 ? n.prefix : "") + (m === "$" ? a : m === "#" && /[boxX]/.test(w) ? "0" + w.toLowerCase() : ""), E = (m === "$" ? s : /[%p]/.test(w) ? g : "") + (n && n.suffix !== void 0 ? n.suffix : ""), D = f[w], O = /[defgprs%]/.test(w);
|
|
142
|
-
S = S === void 0 ? 6 : /[gprs]/.test(w) ? Math.max(1, Math.min(21, S)) : Math.max(0, Math.min(20, S));
|
|
143
|
-
function k(e) {
|
|
144
|
-
var n = T, a = E, o, s, f;
|
|
145
|
-
if (w === "c") a = D(e) + a, e = "";
|
|
146
|
-
else {
|
|
147
|
-
e = +e;
|
|
148
|
-
var m = e < 0 || 1 / e < 0;
|
|
149
|
-
if (e = isNaN(e) ? v : D(Math.abs(e), S), C && (e = c(e)), m && +e == 0 && p !== "+" && (m = !1), n = (m ? p === "(" ? p : _ : p === "-" || p === "(" ? "" : p) + n, a = (w === "s" && !isNaN(e) && l !== void 0 ? h[8 + l / 3] : "") + a + (m && p === "(" ? ")" : ""), O) {
|
|
150
|
-
for (o = -1, s = e.length; ++o < s;) if (f = e.charCodeAt(o), 48 > f || f > 57) {
|
|
151
|
-
a = (f === 46 ? u + e.slice(o + 1) : e.slice(o)) + a, e = e.slice(0, o);
|
|
152
|
-
break;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
x && !y && (e = t(e, Infinity));
|
|
157
|
-
var g = n.length + e.length + a.length, k = g < b ? Array(b - g + 1).join(r) : "";
|
|
158
|
-
switch (x && y && (e = t(k + e, k.length ? b - a.length : Infinity), k = ""), i) {
|
|
159
|
-
case "<":
|
|
160
|
-
e = n + e + a + k;
|
|
161
|
-
break;
|
|
162
|
-
case "=":
|
|
163
|
-
e = n + k + e + a;
|
|
164
|
-
break;
|
|
165
|
-
case "^":
|
|
166
|
-
e = k.slice(0, g = k.length >> 1) + n + e + a + k.slice(g);
|
|
167
|
-
break;
|
|
168
|
-
default:
|
|
169
|
-
e = k + n + e + a;
|
|
170
|
-
break;
|
|
171
|
-
}
|
|
172
|
-
return d(e);
|
|
173
|
-
}
|
|
174
|
-
return k.toString = function() {
|
|
175
|
-
return e + "";
|
|
176
|
-
}, k;
|
|
177
|
-
}
|
|
178
|
-
function b(e, t) {
|
|
179
|
-
var r = Math.max(-8, Math.min(8, Math.floor(n(t) / 3))) * 3, i = 10 ** -r, a = y((e = o(e), e.type = "f", e), { suffix: h[8 + r / 3] });
|
|
180
|
-
return function(e) {
|
|
181
|
-
return a(i * e);
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
return {
|
|
185
|
-
format: y,
|
|
186
|
-
formatPrefix: b
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
//#endregion
|
|
190
|
-
//#region node_modules/d3-format/src/defaultLocale.js
|
|
191
|
-
var _, v, y;
|
|
192
|
-
b({
|
|
193
|
-
thousands: ",",
|
|
194
|
-
grouping: [3],
|
|
195
|
-
currency: ["$", ""]
|
|
196
|
-
});
|
|
197
|
-
function b(e) {
|
|
198
|
-
return _ = g(e), v = _.format, y = _.formatPrefix, _;
|
|
199
|
-
}
|
|
200
|
-
//#endregion
|
|
201
|
-
export { n as i, y as n, o as r, v as t };
|
|
202
|
-
|
|
203
|
-
//# sourceMappingURL=defaultLocale-CYOzCjwh.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function e(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function t(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function n(e){return e=t(Math.abs(e)),e?e[1]:NaN}function r(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function i(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var a=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function o(e){if(!(t=a.exec(e)))throw Error(`invalid format: `+e);var t;return new s({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}o.prototype=s.prototype;function s(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}s.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type};function c(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var l;function u(e,n){var r=t(e,n);if(!r)return l=void 0,e.toPrecision(n);var i=r[0],a=r[1],o=a-(l=Math.max(-8,Math.min(8,Math.floor(a/3)))*3)+1,s=i.length;return o===s?i:o>s?i+Array(o-s+1).join(`0`):o>0?i.slice(0,o)+`.`+i.slice(o):`0.`+Array(1-o).join(`0`)+t(e,Math.max(0,n+o-1))[0]}function d(e,n){var r=t(e,n);if(!r)return e+``;var i=r[0],a=r[1];return a<0?`0.`+Array(-a).join(`0`)+i:i.length>a+1?i.slice(0,a+1)+`.`+i.slice(a+1):i+Array(a-i.length+2).join(`0`)}var f={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:e,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>d(e*100,t),r:d,s:u,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function p(e){return e}var m=Array.prototype.map,h=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function g(e){var t=e.grouping===void 0||e.thousands===void 0?p:r(m.call(e.grouping,Number),e.thousands+``),a=e.currency===void 0?``:e.currency[0]+``,s=e.currency===void 0?``:e.currency[1]+``,u=e.decimal===void 0?`.`:e.decimal+``,d=e.numerals===void 0?p:i(m.call(e.numerals,String)),g=e.percent===void 0?`%`:e.percent+``,_=e.minus===void 0?`−`:e.minus+``,v=e.nan===void 0?`NaN`:e.nan+``;function y(e,n){e=o(e);var r=e.fill,i=e.align,p=e.sign,m=e.symbol,y=e.zero,b=e.width,x=e.comma,S=e.precision,C=e.trim,w=e.type;w===`n`?(x=!0,w=`g`):f[w]||(S===void 0&&(S=12),C=!0,w=`g`),(y||r===`0`&&i===`=`)&&(y=!0,r=`0`,i=`=`);var T=(n&&n.prefix!==void 0?n.prefix:``)+(m===`$`?a:m===`#`&&/[boxX]/.test(w)?`0`+w.toLowerCase():``),E=(m===`$`?s:/[%p]/.test(w)?g:``)+(n&&n.suffix!==void 0?n.suffix:``),D=f[w],O=/[defgprs%]/.test(w);S=S===void 0?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,S)):Math.max(0,Math.min(20,S));function k(e){var n=T,a=E,o,s,f;if(w===`c`)a=D(e)+a,e=``;else{e=+e;var m=e<0||1/e<0;if(e=isNaN(e)?v:D(Math.abs(e),S),C&&(e=c(e)),m&&+e==0&&p!==`+`&&(m=!1),n=(m?p===`(`?p:_:p===`-`||p===`(`?``:p)+n,a=(w===`s`&&!isNaN(e)&&l!==void 0?h[8+l/3]:``)+a+(m&&p===`(`?`)`:``),O){for(o=-1,s=e.length;++o<s;)if(f=e.charCodeAt(o),48>f||f>57){a=(f===46?u+e.slice(o+1):e.slice(o))+a,e=e.slice(0,o);break}}}x&&!y&&(e=t(e,1/0));var g=n.length+e.length+a.length,k=g<b?Array(b-g+1).join(r):``;switch(x&&y&&(e=t(k+e,k.length?b-a.length:1/0),k=``),i){case`<`:e=n+e+a+k;break;case`=`:e=n+k+e+a;break;case`^`:e=k.slice(0,g=k.length>>1)+n+e+a+k.slice(g);break;default:e=k+n+e+a;break}return d(e)}return k.toString=function(){return e+``},k}function b(e,t){var r=Math.max(-8,Math.min(8,Math.floor(n(t)/3)))*3,i=10**-r,a=y((e=o(e),e.type=`f`,e),{suffix:h[8+r/3]});return function(e){return a(i*e)}}return{format:y,formatPrefix:b}}var _,v,y;b({thousands:`,`,grouping:[3],currency:[`$`,``]});function b(e){return _=g(e),v=_.format,y=_.formatPrefix,_}Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return v}});
|
|
2
|
-
//# sourceMappingURL=defaultLocale-DSgylVA1.cjs.map
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-IZpNpi.cjs`);const e=require(`./src-DFxq-N5I.cjs`),t=require(`./chunk-7R4GIKGN-BKoqTTU_.cjs`),n=require(`./ordinal-CL2X4e2C.cjs`),r=require(`./defaultLocale-DSgylVA1.cjs`),i=require(`./chunk-GEFDOKGD-BOwd6Jqp.cjs`),a=require(`./chunk-HHEYEP7N-pdmgQZzP.cjs`),o=require(`./chunk-PQ6SQG4A-BZnW4-Sd.cjs`),s=require(`./chunk-4BX2VUAB-BWDW-gYk.cjs`),c=require(`./mermaid-parser.core-BlzF5RRD.cjs`),l=require(`./chunk-KX2RTZJC-BJeOHReu.cjs`);function u(e){var t=0,n=e.children,r=n&&n.length;if(!r)t=1;else for(;--r>=0;)t+=n[r].value;e.value=t}function d(){return this.eachAfter(u)}function f(e,t){let n=-1;for(let r of this)e.call(t,r,++n,this);return this}function p(e,t){for(var n=this,r=[n],i,a,o=-1;n=r.pop();)if(e.call(t,n,++o,this),i=n.children)for(a=i.length-1;a>=0;--a)r.push(i[a]);return this}function m(e,t){for(var n=this,r=[n],i=[],a,o,s,c=-1;n=r.pop();)if(i.push(n),a=n.children)for(o=0,s=a.length;o<s;++o)r.push(a[o]);for(;n=i.pop();)e.call(t,n,++c,this);return this}function h(e,t){let n=-1;for(let r of this)if(e.call(t,r,++n,this))return r}function g(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n})}function _(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function v(e){for(var t=this,n=y(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r}function y(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}function b(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function x(){return Array.from(this)}function S(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function C(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}function*w(){var e=this,t,n=[e],r,i,a;do for(t=n.reverse(),n=[];e=t.pop();)if(yield e,r=e.children)for(i=0,a=r.length;i<a;++i)n.push(r[i]);while(n.length)}function T(e,t){e instanceof Map?(e=[void 0,e],t===void 0&&(t=O)):t===void 0&&(t=D);for(var n=new j(e),r,i=[n],a,o,s,c;r=i.pop();)if((o=t(r.data))&&(c=(o=Array.from(o)).length))for(r.children=o,s=c-1;s>=0;--s)i.push(a=o[s]=new j(o[s])),a.parent=r,a.depth=r.depth+1;return n.eachBefore(A)}function E(){return T(this).eachBefore(k)}function D(e){return e.children}function O(e){return Array.isArray(e)?e[1]:null}function k(e){e.data.value!==void 0&&(e.value=e.data.value),e.data=e.data.data}function A(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function j(e){this.data=e,this.depth=this.height=0,this.parent=null}j.prototype=T.prototype={constructor:j,count:d,each:f,eachAfter:m,eachBefore:p,find:h,sum:g,sort:_,path:v,ancestors:b,descendants:x,leaves:S,links:C,copy:E,[Symbol.iterator]:w};function M(e){if(typeof e!=`function`)throw Error();return e}function N(){return 0}function P(e){return function(){return e}}function F(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function I(e,t,n,r,i){for(var a=e.children,o,s=-1,c=a.length,l=e.value&&(r-t)/e.value;++s<c;)o=a[s],o.y0=n,o.y1=i,o.x0=t,o.x1=t+=o.value*l}function L(e,t,n,r,i){for(var a=e.children,o,s=-1,c=a.length,l=e.value&&(i-n)/e.value;++s<c;)o=a[s],o.x0=t,o.x1=r,o.y0=n,o.y1=n+=o.value*l}var R=(1+Math.sqrt(5))/2;function z(e,t,n,r,i,a){for(var o=[],s=t.children,c,l,u=0,d=0,f=s.length,p,m,h=t.value,g,_,v,y,b,x,S;u<f;){p=i-n,m=a-r;do g=s[d++].value;while(!g&&d<f);for(_=v=g,x=Math.max(m/p,p/m)/(h*e),S=g*g*x,b=Math.max(v/S,S/_);d<f;++d){if(g+=l=s[d].value,l<_&&(_=l),l>v&&(v=l),S=g*g*x,y=Math.max(v/S,S/_),y>b){g-=l;break}b=y}o.push(c={value:g,dice:p<m,children:s.slice(u,d)}),c.dice?I(c,n,r,i,h?r+=m*g/h:a):L(c,n,r,h?n+=p*g/h:i,a),h-=g,u=d}return o}var B=(function e(t){function n(e,n,r,i,a){z(t,e,n,r,i,a)}return n.ratio=function(t){return e((t=+t)>1?t:1)},n})(R);function V(){var e=B,t=!1,n=1,r=1,i=[0],a=N,o=N,s=N,c=N,l=N;function u(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(d),i=[0],t&&e.eachBefore(F),e}function d(t){var n=i[t.depth],r=t.x0+n,u=t.y0+n,d=t.x1-n,f=t.y1-n;d<r&&(r=d=(r+d)/2),f<u&&(u=f=(u+f)/2),t.x0=r,t.y0=u,t.x1=d,t.y1=f,t.children&&(n=i[t.depth+1]=a(t)/2,r+=l(t)-n,u+=o(t)-n,d-=s(t)-n,f-=c(t)-n,d<r&&(r=d=(r+d)/2),f<u&&(u=f=(u+f)/2),e(t,r,u,d,f))}return u.round=function(e){return arguments.length?(t=!!e,u):t},u.size=function(e){return arguments.length?(n=+e[0],r=+e[1],u):[n,r]},u.tile=function(t){return arguments.length?(e=M(t),u):e},u.padding=function(e){return arguments.length?u.paddingInner(e).paddingOuter(e):u.paddingInner()},u.paddingInner=function(e){return arguments.length?(a=typeof e==`function`?e:P(+e),u):a},u.paddingOuter=function(e){return arguments.length?u.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):u.paddingTop()},u.paddingTop=function(e){return arguments.length?(o=typeof e==`function`?e:P(+e),u):o},u.paddingRight=function(e){return arguments.length?(s=typeof e==`function`?e:P(+e),u):s},u.paddingBottom=function(e){return arguments.length?(c=typeof e==`function`?e:P(+e),u):c},u.paddingLeft=function(e){return arguments.length?(l=typeof e==`function`?e:P(+e),u):l},u}var H=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=t.V,this.getAccTitle=t.v,this.setDiagramTitle=t.W,this.getDiagramTitle=t.C,this.getAccDescription=t._,this.setAccDescription=t.B}static{e.h(this,`TreeMapDB`)}getNodes(){return this.nodes}getConfig(){let e=t.d,n=t.y();return i.r({...e.treemap,...n.treemap??{}})}addNode(e,t){this.nodes.push(e),this.levels.set(e,t),t===0&&(this.outerNodes.push(e),this.root??=e)}getRoot(){return{name:``,children:this.outerNodes}}addClass(e,t){let n=this.classes.get(e)??{id:e,styles:[],textStyles:[]},r=t.replace(/\\,/g,`§§§`).replace(/,/g,`;`).replace(/§§§/g,`,`).split(`;`);r&&r.forEach(e=>{o.n(e)&&(n?.textStyles?n.textStyles.push(e):n.textStyles=[e]),n?.styles?n.styles.push(e):n.styles=[e]}),this.classes.set(e,n)}getClasses(){return this.classes}getStylesForClass(e){return this.classes.get(e)?.styles??[]}clear(){t.a(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}};function U(e){if(!e.length)return[];let t=[],n=[];return e.forEach(e=>{let r={name:e.name,children:e.type===`Leaf`?void 0:[]};for(r.classSelector=e?.classSelector,e?.cssCompiledStyles&&(r.cssCompiledStyles=e.cssCompiledStyles),e.type===`Leaf`&&e.value!==void 0&&(r.value=e.value);n.length>0&&n[n.length-1].level>=e.level;)n.pop();if(n.length===0)t.push(r);else{let e=n[n.length-1].node;e.children?e.children.push(r):e.children=[r]}e.type!==`Leaf`&&n.push({node:r,level:e.level})}),t}e.h(U,`buildHierarchy`);var W=e.h((t,n)=>{s.t(t,n);let r=[];for(let e of t.TreemapRows??[])e.$type===`ClassDefStatement`&&n.addClass(e.className??``,e.styleText??``);for(let e of t.TreemapRows??[]){let t=e.item;if(!t)continue;let i=e.indent?parseInt(e.indent):0,a=G(t),o=t.classSelector?n.getStylesForClass(t.classSelector):[],s=o.length>0?o:void 0,c={level:i,name:a,type:t.$type,value:t.value,classSelector:t.classSelector,cssCompiledStyles:s};r.push(c)}let i=U(r),a=e.h((e,t)=>{for(let r of e)n.addNode(r,t),r.children&&r.children.length>0&&a(r.children,t+1)},`addNodesRecursively`);a(i,0)},`populate`),G=e.h(e=>e.name?String(e.name):``,`getItemName`),K={parser:{yy:void 0},parse:e.h(async t=>{try{let n=await c.t(`treemap`,t);e.g.debug(`Treemap AST:`,n);let r=K.parser?.yy;if(!(r instanceof H))throw Error(`parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.`);W(n,r)}catch(t){throw e.g.error(`Error parsing treemap:`,t),t}},`parse`)},q=10,J=10,Y=25,X={draw:e.h((i,s,c,u)=>{let d=u.db,f=d.getConfig(),p=f.padding??q,m=d.getDiagramTitle(),h=d.getRoot(),{themeVariables:g}=t.y();if(!h)return;let _=m?30:0,v=a.t(s),y=f.nodeWidth?f.nodeWidth*J:960,b=f.nodeHeight?f.nodeHeight*J:500,x=y,S=b+_;v.attr(`viewBox`,`0 0 ${x} ${S}`),t.c(v,S,x,f.useMaxWidth);let C;try{let t=f.valueFormat||`,`;if(t===`$0,0`)C=e.h(e=>`$`+r.t(`,`)(e),`valueFormat`);else if(t.startsWith(`$`)&&t.includes(`,`)){let n=/\.\d+/.exec(t),i=n?n[0]:``;C=e.h(e=>`$`+r.t(`,`+i)(e),`valueFormat`)}else if(t.startsWith(`$`)){let n=t.substring(1);C=e.h(e=>`$`+r.t(n||``)(e),`valueFormat`)}else C=r.t(t)}catch(t){e.g.error(`Error creating format function:`,t),C=r.t(`,`)}let w=n.t().range([`transparent`,g.cScale0,g.cScale1,g.cScale2,g.cScale3,g.cScale4,g.cScale5,g.cScale6,g.cScale7,g.cScale8,g.cScale9,g.cScale10,g.cScale11]),E=n.t().range([`transparent`,g.cScalePeer0,g.cScalePeer1,g.cScalePeer2,g.cScalePeer3,g.cScalePeer4,g.cScalePeer5,g.cScalePeer6,g.cScalePeer7,g.cScalePeer8,g.cScalePeer9,g.cScalePeer10,g.cScalePeer11]),D=n.t().range([g.cScaleLabel0,g.cScaleLabel1,g.cScaleLabel2,g.cScaleLabel3,g.cScaleLabel4,g.cScaleLabel5,g.cScaleLabel6,g.cScaleLabel7,g.cScaleLabel8,g.cScaleLabel9,g.cScaleLabel10,g.cScaleLabel11]);m&&v.append(`text`).attr(`x`,x/2).attr(`y`,_/2).attr(`class`,`treemapTitle`).attr(`text-anchor`,`middle`).attr(`dominant-baseline`,`middle`).text(m);let O=v.append(`g`).attr(`transform`,`translate(0, ${_})`).attr(`class`,`treemapContainer`),k=T(h).sum(e=>e.value??0).sort((e,t)=>(t.value??0)-(e.value??0)),A=V().size([y,b]).paddingTop(e=>e.children&&e.children.length>0?Y+J:0).paddingInner(p).paddingLeft(e=>e.children&&e.children.length>0?J:0).paddingRight(e=>e.children&&e.children.length>0?J:0).paddingBottom(e=>e.children&&e.children.length>0?J:0).round(!0)(k),j=A.descendants().filter(e=>e.children&&e.children.length>0),M=O.selectAll(`.treemapSection`).data(j).enter().append(`g`).attr(`class`,`treemapSection`).attr(`transform`,e=>`translate(${e.x0},${e.y0})`);M.append(`rect`).attr(`width`,e=>e.x1-e.x0).attr(`height`,Y).attr(`class`,`treemapSectionHeader`).attr(`fill`,`none`).attr(`fill-opacity`,.6).attr(`stroke-width`,.6).attr(`style`,e=>e.depth===0?`display: none;`:``),M.append(`clipPath`).attr(`id`,(e,t)=>`clip-section-${s}-${t}`).append(`rect`).attr(`width`,e=>Math.max(0,e.x1-e.x0-12)).attr(`height`,Y),M.append(`rect`).attr(`width`,e=>e.x1-e.x0).attr(`height`,e=>e.y1-e.y0).attr(`class`,(e,t)=>`treemapSection section${t}`).attr(`fill`,e=>w(e.data.name)).attr(`fill-opacity`,.6).attr(`stroke`,e=>E(e.data.name)).attr(`stroke-width`,2).attr(`stroke-opacity`,.4).attr(`style`,e=>{if(e.depth===0)return`display: none;`;let t=o.i({cssCompiledStyles:e.data.cssCompiledStyles});return t.nodeStyles+`;`+t.borderStyles.join(`;`)}),M.append(`text`).attr(`class`,`treemapSectionLabel`).attr(`x`,6).attr(`y`,Y/2).attr(`dominant-baseline`,`middle`).text(e=>e.depth===0?``:e.data.name).attr(`font-weight`,`bold`).attr(`style`,e=>e.depth===0?`display: none;`:`dominant-baseline: middle; font-size: 12px; fill:`+D(e.data.name)+`; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;`+o.i({cssCompiledStyles:e.data.cssCompiledStyles}).labelStyles.replace(`color:`,`fill:`)).each(function(t){if(t.depth===0)return;let n=e.p(this),r=t.data.name;n.text(r);let i=t.x1-t.x0,a;a=f.showValues!==!1&&t.value?i-10-30-10-6:i-6-6;let o=Math.max(15,a),s=n.node();if(s.getComputedTextLength()>o){let e=r;for(;e.length>0;){if(e=r.substring(0,e.length-1),e.length===0){n.text(`...`),s.getComputedTextLength()>o&&n.text(``);break}if(n.text(e+`...`),s.getComputedTextLength()<=o)break}}}),f.showValues!==!1&&M.append(`text`).attr(`class`,`treemapSectionValue`).attr(`x`,e=>e.x1-e.x0-10).attr(`y`,Y/2).attr(`text-anchor`,`end`).attr(`dominant-baseline`,`middle`).text(e=>e.value?C(e.value):``).attr(`font-style`,`italic`).attr(`style`,e=>e.depth===0?`display: none;`:`text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:`+D(e.data.name)+`; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;`+o.i({cssCompiledStyles:e.data.cssCompiledStyles}).labelStyles.replace(`color:`,`fill:`));let N=A.leaves(),P=O.selectAll(`.treemapLeafGroup`).data(N).enter().append(`g`).attr(`class`,(e,t)=>`treemapNode treemapLeafGroup leaf${t}${e.data.classSelector?` ${e.data.classSelector}`:``}x`).attr(`transform`,e=>`translate(${e.x0},${e.y0})`);P.append(`rect`).attr(`width`,e=>e.x1-e.x0).attr(`height`,e=>e.y1-e.y0).attr(`class`,`treemapLeaf`).attr(`fill`,e=>e.parent?w(e.parent.data.name):w(e.data.name)).attr(`style`,e=>o.i({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr(`fill-opacity`,.3).attr(`stroke`,e=>e.parent?w(e.parent.data.name):w(e.data.name)).attr(`stroke-width`,3),P.append(`clipPath`).attr(`id`,(e,t)=>`clip-${s}-${t}`).append(`rect`).attr(`width`,e=>Math.max(0,e.x1-e.x0-4)).attr(`height`,e=>Math.max(0,e.y1-e.y0-4)),P.append(`text`).attr(`class`,`treemapLabel`).attr(`x`,e=>(e.x1-e.x0)/2).attr(`y`,e=>(e.y1-e.y0)/2).attr(`style`,e=>`text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:`+D(e.data.name)+`;`+o.i({cssCompiledStyles:e.data.cssCompiledStyles}).labelStyles.replace(`color:`,`fill:`)).attr(`clip-path`,(e,t)=>`url(#clip-${s}-${t})`).text(e=>e.data.name).each(function(t){let n=e.p(this),r=t.x1-t.x0,i=t.y1-t.y0,a=n.node(),o=r-8,s=i-8;if(o<10||s<10){n.style(`display`,`none`);return}let c=parseInt(n.style(`font-size`),10),l=.6;for(;a.getComputedTextLength()>o&&c>8;)c--,n.style(`font-size`,`${c}px`);let u=Math.max(6,Math.min(28,Math.round(c*l))),d=c+2+u;for(;d>s&&c>8&&(c--,u=Math.max(6,Math.min(28,Math.round(c*l))),!(u<6&&c===8));)n.style(`font-size`,`${c}px`),d=c+2+u;n.style(`font-size`,`${c}px`),(a.getComputedTextLength()>o||c<8||s<c)&&n.style(`display`,`none`)}),f.showValues!==!1&&P.append(`text`).attr(`class`,`treemapValue`).attr(`x`,e=>(e.x1-e.x0)/2).attr(`y`,function(e){return(e.y1-e.y0)/2}).attr(`style`,e=>`text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:`+D(e.data.name)+`;`+o.i({cssCompiledStyles:e.data.cssCompiledStyles}).labelStyles.replace(`color:`,`fill:`)).attr(`clip-path`,(e,t)=>`url(#clip-${s}-${t})`).text(e=>e.value?C(e.value):``).each(function(t){let n=e.p(this),r=this.parentNode;if(!r){n.style(`display`,`none`);return}let i=e.p(r).select(`.treemapLabel`);if(i.empty()||i.style(`display`)===`none`){n.style(`display`,`none`);return}let a=parseFloat(i.style(`font-size`)),o=Math.max(6,Math.min(28,Math.round(a*.6)));n.style(`font-size`,`${o}px`);let s=(t.y1-t.y0)/2+a/2+2;n.attr(`y`,s);let c=t.x1-t.x0,l=t.y1-t.y0-4,u=c-8;n.node().getComputedTextLength()>u||s+o>l||o<6?n.style(`display`,`none`):n.style(`display`,null)}),l.t(v,f.diagramPadding??8,`flowchart`,f?.useMaxWidth||!1)},`draw`),getClasses:e.h(function(e,t){return t.db.getClasses()},`getClasses`)},Z={sectionStrokeColor:`black`,sectionStrokeWidth:`1`,sectionFillColor:`#efefef`,leafStrokeColor:`black`,leafStrokeWidth:`1`,leafFillColor:`#efefef`,labelColor:`black`,labelFontSize:`12px`,valueFontSize:`10px`,valueColor:`black`,titleColor:`black`,titleFontSize:`14px`},Q={parser:K,get db(){return new H},renderer:X,styles:e.h(({treemap:e}={})=>{let t=i.r(Z,e);return`
|
|
2
|
-
.treemapNode.section {
|
|
3
|
-
stroke: ${t.sectionStrokeColor};
|
|
4
|
-
stroke-width: ${t.sectionStrokeWidth};
|
|
5
|
-
fill: ${t.sectionFillColor};
|
|
6
|
-
}
|
|
7
|
-
.treemapNode.leaf {
|
|
8
|
-
stroke: ${t.leafStrokeColor};
|
|
9
|
-
stroke-width: ${t.leafStrokeWidth};
|
|
10
|
-
fill: ${t.leafFillColor};
|
|
11
|
-
}
|
|
12
|
-
.treemapLabel {
|
|
13
|
-
fill: ${t.labelColor};
|
|
14
|
-
font-size: ${t.labelFontSize};
|
|
15
|
-
}
|
|
16
|
-
.treemapValue {
|
|
17
|
-
fill: ${t.valueColor};
|
|
18
|
-
font-size: ${t.valueFontSize};
|
|
19
|
-
}
|
|
20
|
-
.treemapTitle {
|
|
21
|
-
fill: ${t.titleColor};
|
|
22
|
-
font-size: ${t.titleFontSize};
|
|
23
|
-
}
|
|
24
|
-
`},`getStyles`)};exports.diagram=Q;
|
|
25
|
-
//# sourceMappingURL=diagram-E7M64L7V-dXqTi77U.cjs.map
|