@sme.up/ketchup2 2.0.0-alpha.2 → 2.1.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/arc-CqG9Hxdf.cjs +1 -0
- package/dist/arc-Klgb378K.js +80 -0
- package/dist/architecture-YZFGNWBL-BRqToLcm.js +3 -0
- package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +1 -0
- package/dist/architectureDiagram-Q4EWVU46-JSjagcXX.cjs +36 -0
- package/dist/architectureDiagram-Q4EWVU46-u2vgZv3N.js +4057 -0
- package/dist/array-D8NZ46Ht.js +6 -0
- package/dist/array-Dxz0O8Q3.cjs +1 -0
- package/dist/assets/imageListAssets.d.ts +3 -1
- package/dist/assets/imageListAssets.d.ts.map +1 -1
- package/dist/assets/svg/chevron_down.svg +1 -0
- package/dist/assets/svg/error_outline.svg +1 -0
- package/dist/assets/svg/warning_outline.svg +1 -0
- package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -1
- package/dist/basic-components/list/list-types.d.ts +0 -1
- package/dist/basic-components/list/list-types.d.ts.map +1 -1
- package/dist/basic-components/list/list.d.ts.map +1 -1
- package/dist/basic-components/notification/notification.assets.d.ts.map +1 -1
- package/dist/basic-components/select/select.d.ts.map +1 -1
- package/dist/basic-components/text-editor/text-editor-utils.d.ts +1 -1
- package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
- package/dist/basic-components/typography/typography.d.ts.map +1 -1
- package/dist/blockDiagram-DXYQGD6D-BpB6_kTP.js +3033 -0
- package/dist/blockDiagram-DXYQGD6D-DlcDXSwH.cjs +132 -0
- package/dist/c4Diagram-AHTNJAMY-B5Z8nO1s.js +2961 -0
- package/dist/c4Diagram-AHTNJAMY-CX5IjREU.cjs +10 -0
- package/dist/channel-BY9Lkyz7.cjs +1 -0
- package/dist/channel-BqNr2cYO.js +5 -0
- package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +23 -0
- package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +1 -0
- package/dist/chunk-336JU56O-CuXRn1VH.cjs +1 -0
- package/dist/chunk-336JU56O-xKPgkG3O.js +49 -0
- package/dist/chunk-426QAEUC-Df31vuwu.cjs +1 -0
- package/dist/chunk-426QAEUC-JjFVHKYG.js +9 -0
- package/dist/chunk-4BX2VUAB-BW54-JWg.js +8 -0
- package/dist/chunk-4BX2VUAB-Qba52sxc.cjs +1 -0
- package/dist/chunk-4TB4RGXK-CKyHmNcP.js +3253 -0
- package/dist/chunk-4TB4RGXK-DdKJIFS5.cjs +206 -0
- package/dist/chunk-55IACEB6-Bu3k0Yz5.js +8 -0
- package/dist/chunk-55IACEB6-DPatBzu7.cjs +1 -0
- package/dist/chunk-5FUZZQ4R-2kdZJWq2.js +3638 -0
- package/dist/chunk-5FUZZQ4R-D_vnCbAb.cjs +62 -0
- package/dist/chunk-5PVQY5BW-C5U7sJAA.js +1299 -0
- package/dist/chunk-5PVQY5BW-CfQDYQZt.cjs +2 -0
- package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +1 -0
- package/dist/chunk-67CJDMHE-YMBkJcAO.js +23 -0
- package/dist/chunk-7N4EOEYR-C-GuhRgW.js +35 -0
- package/dist/chunk-7N4EOEYR-jNBQwvHx.cjs +1 -0
- package/dist/chunk-AA7GKIK3-B_ZB6dou.js +30 -0
- package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +1 -0
- package/dist/chunk-BSJP7CBP-CFzYPvgr.cjs +1 -0
- package/dist/chunk-BSJP7CBP-oNTXVRA7.js +82 -0
- package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +1 -0
- package/dist/chunk-CIAEETIT-XlxsAz-4.js +23 -0
- package/dist/chunk-D-IZpNpi.cjs +1 -0
- package/dist/chunk-EDXVE4YY-BZsJORf8.cjs +1 -0
- package/dist/chunk-EDXVE4YY-Bzf4FU3i.js +25 -0
- package/dist/chunk-ENJZ2VHE-BluGQPyl.js +560 -0
- package/dist/chunk-ENJZ2VHE-CwgVASaU.cjs +10 -0
- package/dist/{chunk-FMBD7UC4-Bbe5VHO3.cjs → chunk-FMBD7UC4-CS9_r76V.cjs} +2 -2
- package/dist/chunk-FMBD7UC4-RRSc9jqt.js +5 -0
- package/dist/chunk-FOC6F5B3-DcZs851j.cjs +1 -0
- package/dist/chunk-FOC6F5B3-E9n6-juB.js +23 -0
- package/dist/chunk-ICPOFSXX-CoaJw-IT.cjs +122 -0
- package/dist/chunk-ICPOFSXX-Sn6LWD0k.js +3316 -0
- package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +94 -0
- package/dist/chunk-K5T4RW27-DY7TOEqa.js +16070 -0
- package/dist/chunk-KGLVRYIC-5OJpfQCj.js +23 -0
- package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +1 -0
- package/dist/chunk-LIHQZDEY-59I4-LWb.js +64 -0
- package/dist/chunk-LIHQZDEY-CrogR3nT.cjs +1 -0
- package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +1 -0
- package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +31 -0
- package/dist/chunk-OYMX7WX6-BCT45RPu.cjs +231 -0
- package/dist/chunk-OYMX7WX6-BQADsxYi.js +2014 -0
- package/dist/chunk-QZHKN3VN-Bx8I6l3c.js +15 -0
- package/dist/chunk-QZHKN3VN-CSMKL2rB.cjs +1 -0
- package/dist/chunk-U2HBQHQK-BZ3YFMXB.js +1879 -0
- package/dist/chunk-U2HBQHQK-D0AoQWxK.cjs +70 -0
- package/dist/chunk-WQLz0Won.js +20 -0
- package/dist/chunk-X2U36JSP-CY7mJR8m.js +67 -0
- package/dist/chunk-X2U36JSP-D1RYKjVc.cjs +1 -0
- package/dist/chunk-XPW4576I-BcWkx-AL.js +1146 -0
- package/dist/chunk-XPW4576I-D8Pp6a3j.cjs +32 -0
- package/dist/chunk-YZCP3GAM-9K9WNdyN.js +60 -0
- package/dist/chunk-YZCP3GAM-BmaAafMm.cjs +1 -0
- package/dist/chunk-ZZ45TVLE-AQQsnXy4.cjs +1 -0
- package/dist/chunk-ZZ45TVLE-CIYrdg-O.js +32 -0
- package/dist/classDiagram-6PBFFD2Q-B6betnLH.cjs +1 -0
- package/dist/classDiagram-6PBFFD2Q-XGxl_AeB.js +29 -0
- package/dist/classDiagram-v2-HSJHXN6E-CwayYG4G.js +29 -0
- package/dist/classDiagram-v2-HSJHXN6E-Dda8WDvn.cjs +1 -0
- package/dist/clone-Dn__H8fX.js +8 -0
- package/dist/clone-lShkT11Q.cjs +1 -0
- package/dist/components/app-bar/app-bar.d.ts.map +1 -1
- package/dist/components/box-list/box-list-types.d.ts +1 -0
- package/dist/components/box-list/box-list-types.d.ts.map +1 -1
- package/dist/components/box-list/box-list.d.ts.map +1 -1
- package/dist/components/dash-list/dash-list.d.ts.map +1 -1
- package/dist/components/field/field-types.d.ts +1 -1
- package/dist/components/field/field-types.d.ts.map +1 -1
- package/dist/components/htm/htm-types.d.ts +4 -0
- package/dist/components/htm/htm-types.d.ts.map +1 -1
- package/dist/components/htm/htm.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-command-panel.d.ts +15 -0
- package/dist/components/image-list/components/image-list-command-panel.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-command-trigger.d.ts +16 -0
- package/dist/components/image-list/components/image-list-command-trigger.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-filter-picker.d.ts +14 -0
- package/dist/components/image-list/components/image-list-filter-picker.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-h-strip.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-json-viewer.d.ts +11 -0
- package/dist/components/image-list/components/image-list-json-viewer.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-menu.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-navigation-picker.d.ts +15 -0
- package/dist/components/image-list/components/image-list-navigation-picker.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-sort-picker.d.ts +14 -0
- package/dist/components/image-list/components/image-list-sort-picker.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-v-strip.d.ts.map +1 -1
- package/dist/components/image-list/components/items/image-list-card-item.d.ts +5 -0
- package/dist/components/image-list/components/items/image-list-card-item.d.ts.map +1 -0
- package/dist/components/image-list/components/items/image-list-folder-item.d.ts.map +1 -1
- package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
- package/dist/components/image-list/components/menu-nav-item.d.ts.map +1 -1
- package/dist/components/image-list/components/navigation-modes/image-list-catalog.d.ts.map +1 -1
- package/dist/components/image-list/components/navigation-modes/image-list-explorer.d.ts.map +1 -1
- package/dist/components/image-list/components/navigation-modes/image-list-slideshow.d.ts.map +1 -1
- package/dist/components/image-list/components/navigation-modes/image-list-tree.d.ts.map +1 -1
- package/dist/components/image-list/components/strip-child-popup.d.ts.map +1 -1
- package/dist/components/image-list/components/strip-item.d.ts.map +1 -1
- package/dist/components/image-list/components/strip-overflow-button.d.ts.map +1 -1
- package/dist/components/image-list/hooks/useCommandPickers.d.ts +13 -0
- package/dist/components/image-list/hooks/useCommandPickers.d.ts.map +1 -0
- package/dist/components/image-list/image-list-column-utils.d.ts +9 -0
- package/dist/components/image-list/image-list-column-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-context.d.ts +5 -2
- package/dist/components/image-list/image-list-context.d.ts.map +1 -1
- package/dist/components/image-list/image-list-debug-utils.d.ts +13 -0
- package/dist/components/image-list/image-list-debug-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-filter-context.d.ts +9 -0
- package/dist/components/image-list/image-list-filter-context.d.ts.map +1 -0
- package/dist/components/image-list/image-list-filter-utils.d.ts +12 -0
- package/dist/components/image-list/image-list-filter-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-sort-context.d.ts +9 -0
- package/dist/components/image-list/image-list-sort-context.d.ts.map +1 -0
- package/dist/components/image-list/image-list-sort-utils.d.ts +13 -0
- package/dist/components/image-list/image-list-sort-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-state-context.d.ts +5 -0
- package/dist/components/image-list/image-list-state-context.d.ts.map +1 -0
- package/dist/components/image-list/image-list-types.d.ts +50 -2
- package/dist/components/image-list/image-list-types.d.ts.map +1 -1
- package/dist/components/image-list/image-list-utils.d.ts +54 -2
- package/dist/components/image-list/image-list-utils.d.ts.map +1 -1
- package/dist/components/image-list/image-list.d.ts +1 -1
- package/dist/components/image-list/image-list.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip-assets.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip-utils.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/cose-bilkent-S5V4N54A-B30Rh9DR.js +2250 -0
- package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +1 -0
- package/dist/cytoscape.esm-CPjF_mSK.js +18100 -0
- package/dist/cytoscape.esm-CrBwLFXE.cjs +321 -0
- package/dist/dagre-BjnWDdkw.cjs +1 -0
- package/dist/dagre-DVLnxd7n.js +1606 -0
- package/dist/dagre-KV5264BT-BjqayRYC.js +293 -0
- package/dist/dagre-KV5264BT-BvInGAUC.cjs +4 -0
- package/dist/defaultLocale-Dcyuaxxg.js +201 -0
- package/dist/defaultLocale-DtzyZW63.cjs +1 -0
- package/dist/diagram-5BDNPKRD-Bk7depC0.js +101 -0
- package/dist/diagram-5BDNPKRD-D6EXksHo.cjs +10 -0
- package/dist/diagram-G4DWMVQ6-BkQnbCLv.js +524 -0
- package/dist/diagram-G4DWMVQ6-CJASbR70.cjs +24 -0
- package/dist/diagram-MMDJMWI5-DEt7jQx9.cjs +43 -0
- package/dist/diagram-MMDJMWI5-DUUVPi55.js +213 -0
- package/dist/diagram-TYMM5635-5auoAFCi.cjs +24 -0
- package/dist/diagram-TYMM5635-Cpj8wfoJ.js +133 -0
- package/dist/dist-BgvMZbfo.cjs +1 -0
- package/dist/dist-DL30VIBI.js +60 -0
- package/dist/erDiagram-SMLLAGMA-DVUT6TBy.cjs +85 -0
- package/dist/erDiagram-SMLLAGMA-D_ByPk0C.js +1700 -0
- package/dist/flatten-BE1bWL-7.js +40 -0
- package/dist/flatten-DxvYSoR8.cjs +1 -0
- package/dist/flowDiagram-DWJPFMVM-BWrkDnqc.js +4145 -0
- package/dist/flowDiagram-DWJPFMVM-BbK42NaF.cjs +162 -0
- package/dist/functional-components/action/action-types.d.ts +70 -0
- package/dist/functional-components/action/action-types.d.ts.map +1 -0
- package/dist/functional-components/action/action-utils.d.ts +5 -0
- package/dist/functional-components/action/action-utils.d.ts.map +1 -0
- package/dist/functional-components/action/action.d.ts +3 -0
- package/dist/functional-components/action/action.d.ts.map +1 -0
- package/dist/functional-components/action-list/action-list.d.ts.map +1 -1
- package/dist/functional-components/action-list/dual-list/dual-list.d.ts.map +1 -1
- package/dist/functional-components/gantt/bar/gantt-bar.d.ts.map +1 -1
- package/dist/functional-components/gantt/gantt-assets.d.ts +4 -0
- package/dist/functional-components/gantt/gantt-assets.d.ts.map +1 -1
- package/dist/functional-components/gantt/gantt.d.ts.map +1 -1
- package/dist/functional-components/gantt/today-indicator/gantt-today-indicator.d.ts +17 -0
- package/dist/functional-components/gantt/today-indicator/gantt-today-indicator.d.ts.map +1 -0
- package/dist/ganttDiagram-T4ZO3ILL-DUi8jF9H.cjs +292 -0
- package/dist/ganttDiagram-T4ZO3ILL-LuaYkUvj.js +3077 -0
- package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +1 -0
- package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +3 -0
- package/dist/gitGraphDiagram-UUTBAWPF-D-tMWUQ1.cjs +106 -0
- package/dist/gitGraphDiagram-UUTBAWPF-DKkENwcV.js +728 -0
- package/dist/graphlib-Cpifseqb.js +373 -0
- package/dist/graphlib-HdfvGLpV.cjs +1 -0
- package/dist/hooks/useClickOutside.d.ts.map +1 -1
- package/dist/identity-KQSjemTb.cjs +1 -0
- package/dist/identity-g0dsMjx7.js +393 -0
- package/dist/info-OMHHGYJF-Bk0VWVNW.js +3 -0
- package/dist/info-OMHHGYJF-C8QtwF0k.cjs +1 -0
- package/dist/infoDiagram-42DDH7IO-CH5xHj8H.cjs +2 -0
- package/dist/infoDiagram-42DDH7IO-CLkQPFe0.js +19 -0
- package/dist/init-B2MubQrj.cjs +1 -0
- package/dist/init-BO60vQHJ.js +15 -0
- package/dist/isEmpty-CA3kJuev.cjs +1 -0
- package/dist/isEmpty-RwX-oIQS.js +35 -0
- package/dist/ishikawaDiagram-UXIWVN3A-Cl3Ivm8H.cjs +70 -0
- package/dist/ishikawaDiagram-UXIWVN3A-DqbVPChK.js +718 -0
- package/dist/journeyDiagram-VCZTEJTY-DudduR0c.js +883 -0
- package/dist/journeyDiagram-VCZTEJTY-XRc0J8gM.cjs +139 -0
- package/dist/kanban-definition-6JOO6SKY-Br87atRc.cjs +89 -0
- package/dist/kanban-definition-6JOO6SKY-DzEqE64J.js +973 -0
- package/dist/katex-Du5WiYIy.js +22000 -0
- package/dist/katex-SAH56fvc.cjs +257 -0
- package/dist/ketchup2.cjs.js +190 -1
- package/dist/ketchup2.css +2 -1
- package/dist/ketchup2.es.js +132419 -52
- package/dist/line-BbHmiwbs.cjs +1 -0
- package/dist/line-JyRBGWft.js +34 -0
- package/dist/linear-BsPvNLJv.js +289 -0
- package/dist/linear-CxHa1DsM.cjs +1 -0
- package/dist/mermaid-parser.core-CERDf-UG.js +69 -0
- package/dist/mermaid-parser.core-DHpvGOZR.cjs +3 -0
- package/dist/mindmap-definition-QFDTVHPH-BCq8zmLt.cjs +96 -0
- package/dist/mindmap-definition-QFDTVHPH-NGjPQ5SM.js +978 -0
- package/dist/ordinal-C-VoL0XF.js +65 -0
- package/dist/ordinal-Civr0hZL.cjs +1 -0
- package/dist/packet-4T2RLAQJ-X0BMsNFj.js +3 -0
- package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +1 -0
- package/dist/path-Civic7PQ.cjs +1 -0
- package/dist/path-CvfwEr8y.js +85 -0
- package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +3 -0
- package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +1 -0
- package/dist/pieDiagram-DEJITSTG-CK4xy0PS.cjs +30 -0
- package/dist/pieDiagram-DEJITSTG-DTeyzHmB.js +165 -0
- package/dist/quadrantDiagram-34T5L4WZ-CCcJIf91.js +1974 -0
- package/dist/quadrantDiagram-34T5L4WZ-D-_iiK79.cjs +7 -0
- package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +1 -0
- package/dist/radar-PYXPWWZC-DgZIW9Ah.js +3 -0
- package/dist/reduce-B7WW9rkU.cjs +1 -0
- package/dist/reduce-DNnkcf3M.js +532 -0
- package/dist/requirementDiagram-MS252O5E-BdOanuYe.js +2221 -0
- package/dist/requirementDiagram-MS252O5E-EfY029Xj.cjs +84 -0
- package/dist/rough.esm-1mqTSjCt.js +1352 -0
- package/dist/rough.esm-BLKo1fIQ.cjs +1 -0
- package/dist/sankeyDiagram-XADWPNL6-3jlM2UcU.cjs +10 -0
- package/dist/sankeyDiagram-XADWPNL6-3wviN_U4.js +920 -0
- package/dist/sequenceDiagram-FGHM5R23-DC8SjhFN.js +4157 -0
- package/dist/sequenceDiagram-FGHM5R23-lK1G3QLN.cjs +157 -0
- package/dist/src-BQiFKP24.js +2146 -0
- package/dist/src-DFxq-N5I.cjs +1 -0
- package/dist/stateDiagram-FHFEXIEX-DnkzFphf.js +217 -0
- package/dist/stateDiagram-FHFEXIEX-DsQigFuR.cjs +1 -0
- package/dist/stateDiagram-v2-QKLJ7IA2-2v8JiIJr.js +27 -0
- package/dist/stateDiagram-v2-QKLJ7IA2-UKKfWPoT.cjs +1 -0
- package/dist/timeline-definition-GMOUNBTQ-CBnYBWN0.js +1068 -0
- package/dist/timeline-definition-GMOUNBTQ-DWpngnE4.cjs +120 -0
- package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +1 -0
- package/dist/treeView-SZITEDCU-Df3xzFtO.js +3 -0
- package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +1 -0
- package/dist/treemap-W4RFUUIX-ClUtdSdn.js +3 -0
- package/dist/utils/translation.d.ts.map +1 -1
- package/dist/v4-6yr83DbP.cjs +1 -0
- package/dist/v4-BR71w5_q.js +33 -0
- package/dist/vennDiagram-DHZGUBPP-D-kj-sVU.cjs +34 -0
- package/dist/vennDiagram-DHZGUBPP-M-kkEkXj.js +1858 -0
- package/dist/wardley-RL74JXVD-BtHQbnUy.js +3 -0
- package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +1 -0
- package/dist/wardleyDiagram-NUSXRM2D-CUX1SYhw.js +578 -0
- package/dist/wardleyDiagram-NUSXRM2D-thoOuA_D.cjs +20 -0
- package/dist/xychartDiagram-5P7HB3ND-1cXRZ1bi.js +2044 -0
- package/dist/xychartDiagram-5P7HB3ND-BF2WmJ4-.cjs +7 -0
- package/package.json +31 -31
- package/dist/_basePickBy-DGJmMScd.cjs +0 -1
- package/dist/_basePickBy-PX1Y-d1V.js +0 -151
- package/dist/_baseUniq-DcRTQJQN.cjs +0 -1
- package/dist/_baseUniq-DwOD2Otm.js +0 -614
- package/dist/arc-BsWNnd73.js +0 -83
- package/dist/arc-DBV_HLQY.cjs +0 -1
- package/dist/architecture-7HQA4BMR-CFSh30qd.js +0 -6
- package/dist/architecture-7HQA4BMR-lBVp8HRs.cjs +0 -1
- package/dist/architectureDiagram-VXUJARFQ-Bc0s-J3p.cjs +0 -36
- package/dist/architectureDiagram-VXUJARFQ-CMUHe_r-.js +0 -4661
- package/dist/blockDiagram-VD42YOAC-C_oUXbzO.cjs +0 -122
- package/dist/blockDiagram-VD42YOAC-IY9o9LbQ.js +0 -2256
- package/dist/c4Diagram-YG6GDRKO-CqZ8ZT08.cjs +0 -10
- package/dist/c4Diagram-YG6GDRKO-DJxkbTo5.js +0 -1580
- package/dist/channel-BkvCKlJ6.js +0 -5
- package/dist/channel-CswPsSpD.cjs +0 -1
- package/dist/chunk-4BX2VUAB-CYIF37mc.js +0 -8
- package/dist/chunk-4BX2VUAB-gEHSzd7y.cjs +0 -1
- package/dist/chunk-55IACEB6-BHAHwp5q.js +0 -8
- package/dist/chunk-55IACEB6-_lyvFxBQ.cjs +0 -1
- package/dist/chunk-B4BG7PRW-B8r_ephc.js +0 -1375
- package/dist/chunk-B4BG7PRW-BS27R9kc.cjs +0 -165
- package/dist/chunk-DI55MBZ5-Bm2YZ5i9.cjs +0 -220
- package/dist/chunk-DI55MBZ5-hEyGllSh.js +0 -1370
- package/dist/chunk-FMBD7UC4-D7nrDShK.js +0 -19
- package/dist/chunk-QN33PNHL-BgJe6Xfg.cjs +0 -1
- package/dist/chunk-QN33PNHL-rrJh01ga.js +0 -19
- package/dist/chunk-QZHKN3VN-BmAbl_2n.js +0 -15
- package/dist/chunk-QZHKN3VN-BrAhTHYa.cjs +0 -1
- package/dist/chunk-TZMSLE5B-BE-7S1wa.js +0 -64
- package/dist/chunk-TZMSLE5B-BHB7-VQp.cjs +0 -1
- package/dist/classDiagram-2ON5EDUG-CebcMRVR.cjs +0 -1
- package/dist/classDiagram-2ON5EDUG-D3F1RaIQ.js +0 -16
- package/dist/classDiagram-v2-WZHVMYZB-CebcMRVR.cjs +0 -1
- package/dist/classDiagram-v2-WZHVMYZB-D3F1RaIQ.js +0 -16
- package/dist/clone-BDgl72Aq.cjs +0 -1
- package/dist/clone-C_aDFxlO.js +0 -8
- package/dist/cose-bilkent-S5V4N54A-D3wiY3iN.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-D5AClp5l.js +0 -2608
- package/dist/cytoscape.esm-CNUX3VTg.cjs +0 -321
- package/dist/cytoscape.esm-Cvf3sx9F.js +0 -18704
- package/dist/dagre-6UL2VRFP-CypqseiV.cjs +0 -4
- package/dist/dagre-6UL2VRFP-DMO4JOci.js +0 -444
- package/dist/defaultLocale-D7EN2tov.js +0 -171
- package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
- package/dist/diagram-PSM6KHXK-BDoLsIhn.cjs +0 -24
- package/dist/diagram-PSM6KHXK-cFCqdUIB.js +0 -531
- package/dist/diagram-QEK2KX5R-Cc5PUDIg.cjs +0 -43
- package/dist/diagram-QEK2KX5R-Cu_E8La-.js +0 -217
- package/dist/diagram-S2PKOQOG-CGnbJJ6_.cjs +0 -24
- package/dist/diagram-S2PKOQOG-Cz6p6CDp.js +0 -142
- package/dist/erDiagram-Q2GNP2WA-C4LFQCJ0.cjs +0 -60
- package/dist/erDiagram-Q2GNP2WA-DvfsJLvg.js +0 -841
- package/dist/flowDiagram-NV44I4VS-CeKGu9EW.js +0 -1620
- package/dist/flowDiagram-NV44I4VS-D5y8Cy09.cjs +0 -162
- package/dist/ganttDiagram-JELNMOA3-BSy5awHh.cjs +0 -267
- package/dist/ganttDiagram-JELNMOA3-Dr4U9R4y.js +0 -2670
- package/dist/gitGraph-G5XIXVHT-CO3K0I5T.js +0 -6
- package/dist/gitGraph-G5XIXVHT-Ca7V3WsM.cjs +0 -1
- package/dist/gitGraphDiagram-V2S2FVAM-1QBHZeWE.js +0 -699
- package/dist/gitGraphDiagram-V2S2FVAM-OiapaYQL.cjs +0 -65
- package/dist/graph-Jks8K00w.cjs +0 -1
- package/dist/graph-zNBt93GG.js +0 -247
- package/dist/index-D_QdHvga.js +0 -132342
- package/dist/index-DrE_PcNC.cjs +0 -390
- package/dist/info-VBDWY6EO-0Eh7RJSD.js +0 -6
- package/dist/info-VBDWY6EO-BUpod63m.cjs +0 -1
- package/dist/infoDiagram-HS3SLOUP-DQPTM4yd.cjs +0 -2
- package/dist/infoDiagram-HS3SLOUP-y4B3rGEI.js +0 -24
- package/dist/init-CHZsXQcr.cjs +0 -1
- package/dist/init-DjUOC4st.js +0 -16
- package/dist/journeyDiagram-XKPGCS4Q-BA6dU3fB.js +0 -834
- package/dist/journeyDiagram-XKPGCS4Q-CgX1uRWQ.cjs +0 -139
- package/dist/kanban-definition-3W4ZIXB7-CCcUvQw2.js +0 -719
- package/dist/kanban-definition-3W4ZIXB7-CLsSK820.cjs +0 -89
- package/dist/katex-C2g-EhzP.cjs +0 -261
- package/dist/katex-CUSbq6rG.js +0 -11692
- package/dist/layout-DQY8NU7r.cjs +0 -1
- package/dist/layout-DhDJaAGH.js +0 -1335
- package/dist/linear-BxHQa2UM.js +0 -259
- package/dist/linear-DFPXnk9z.cjs +0 -1
- package/dist/mermaid-parser.core-BLQ9Ldcb.cjs +0 -160
- package/dist/mermaid-parser.core-Bny4tLBT.js +0 -17907
- package/dist/mindmap-definition-VGOIOE7T-Bw0Ttp1K.cjs +0 -68
- package/dist/mindmap-definition-VGOIOE7T-DWETxOzy.js +0 -758
- package/dist/ordinal-B6-f3MAq.js +0 -61
- package/dist/ordinal-CagbB1m8.cjs +0 -1
- package/dist/packet-DYOGHKS2-A2xNn9e2.cjs +0 -1
- package/dist/packet-DYOGHKS2-C9WC8eNb.js +0 -6
- package/dist/pie-VRWISCQL-BafPWeA1.cjs +0 -1
- package/dist/pie-VRWISCQL-vKJ8WC8d.js +0 -6
- package/dist/pieDiagram-ADFJNKIX-BdsfNh69.js +0 -161
- package/dist/pieDiagram-ADFJNKIX-DOZhSj8j.cjs +0 -30
- package/dist/quadrantDiagram-AYHSOK5B-BLuxXMra.cjs +0 -7
- package/dist/quadrantDiagram-AYHSOK5B-D9KE7HJs.js +0 -1022
- package/dist/radar-ZZBFDIW7-BLGCqPHv.js +0 -6
- package/dist/radar-ZZBFDIW7-BWxFhKYx.cjs +0 -1
- package/dist/requirementDiagram-UZGBJVZJ-BEkU_fE6.js +0 -850
- package/dist/requirementDiagram-UZGBJVZJ-DkNufFqc.cjs +0 -64
- package/dist/sankeyDiagram-TZEHDZUN-BJD6V_yO.js +0 -810
- package/dist/sankeyDiagram-TZEHDZUN-Dt4bjS4w.cjs +0 -10
- package/dist/sequenceDiagram-WL72ISMW-CSEM0aqp.cjs +0 -145
- package/dist/sequenceDiagram-WL72ISMW-dCDlLWba.js +0 -2511
- package/dist/stateDiagram-FKZM4ZOC-BcD9IQHo.cjs +0 -1
- package/dist/stateDiagram-FKZM4ZOC-CZ3DL61f.js +0 -263
- package/dist/stateDiagram-v2-4FDKWEC3-DGsrmxNL.cjs +0 -1
- package/dist/stateDiagram-v2-4FDKWEC3-DON-yX7J.js +0 -16
- package/dist/timeline-definition-IT6M3QCI-Bwb7mbiA.js +0 -795
- package/dist/timeline-definition-IT6M3QCI-CIbYhaSE.cjs +0 -61
- package/dist/treemap-GDKQZRPO-BMq1hkbw.cjs +0 -1
- package/dist/treemap-GDKQZRPO-DYOf8KkT.js +0 -6
- package/dist/xychartDiagram-PRI3JC2R-DloZDwSO.cjs +0 -7
- package/dist/xychartDiagram-PRI3JC2R-er9aZ4EF.js +0 -1340
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-DrE_PcNC.cjs"),se=require("./chunk-QN33PNHL-BgJe6Xfg.cjs"),ie=require("./chunk-4BX2VUAB-gEHSzd7y.cjs"),oe=require("./mermaid-parser.core-BLQ9Ldcb.cjs"),I=require("./defaultLocale-DIVzfLaQ.cjs"),U=require("./ordinal-CagbB1m8.cjs");function ce(a){var t=0,l=a.children,n=l&&l.length;if(!n)t=1;else for(;--n>=0;)t+=l[n].value;a.value=t}function de(){return this.eachAfter(ce)}function ue(a,t){let l=-1;for(const n of this)a.call(t,n,++l,this);return this}function he(a,t){for(var l=this,n=[l],o,s,d=-1;l=n.pop();)if(a.call(t,l,++d,this),o=l.children)for(s=o.length-1;s>=0;--s)n.push(o[s]);return this}function pe(a,t){for(var l=this,n=[l],o=[],s,d,h,m=-1;l=n.pop();)if(o.push(l),s=l.children)for(d=0,h=s.length;d<h;++d)n.push(s[d]);for(;l=o.pop();)a.call(t,l,++m,this);return this}function fe(a,t){let l=-1;for(const n of this)if(a.call(t,n,++l,this))return n}function ge(a){return this.eachAfter(function(t){for(var l=+a(t.data)||0,n=t.children,o=n&&n.length;--o>=0;)l+=n[o].value;t.value=l})}function me(a){return this.eachBefore(function(t){t.children&&t.children.sort(a)})}function ye(a){for(var t=this,l=Se(t,a),n=[t];t!==l;)t=t.parent,n.push(t);for(var o=n.length;a!==l;)n.splice(o,0,a),a=a.parent;return n}function Se(a,t){if(a===t)return a;var l=a.ancestors(),n=t.ancestors(),o=null;for(a=l.pop(),t=n.pop();a===t;)o=a,a=l.pop(),t=n.pop();return o}function ve(){for(var a=this,t=[a];a=a.parent;)t.push(a);return t}function xe(){return Array.from(this)}function be(){var a=[];return this.eachBefore(function(t){t.children||a.push(t)}),a}function we(){var a=this,t=[];return a.each(function(l){l!==a&&t.push({source:l.parent,target:l})}),t}function*Ce(){var a=this,t,l=[a],n,o,s;do for(t=l.reverse(),l=[];a=t.pop();)if(yield a,n=a.children)for(o=0,s=n.length;o<s;++o)l.push(n[o]);while(l.length)}function Q(a,t){a instanceof Map?(a=[void 0,a],t===void 0&&(t=Le)):t===void 0&&(t=Te);for(var l=new j(a),n,o=[l],s,d,h,m;n=o.pop();)if((d=t(n.data))&&(m=(d=Array.from(d)).length))for(n.children=d,h=m-1;h>=0;--h)o.push(s=d[h]=new j(d[h])),s.parent=n,s.depth=n.depth+1;return l.eachBefore(Ae)}function _e(){return Q(this).eachBefore($e)}function Te(a){return a.children}function Le(a){return Array.isArray(a)?a[1]:null}function $e(a){a.data.value!==void 0&&(a.value=a.data.value),a.data=a.data.data}function Ae(a){var t=0;do a.height=t;while((a=a.parent)&&a.height<++t)}function j(a){this.data=a,this.depth=this.height=0,this.parent=null}j.prototype=Q.prototype={constructor:j,count:de,each:ue,eachAfter:pe,eachBefore:he,find:fe,sum:ge,sort:me,path:ye,ancestors:ve,descendants:xe,leaves:be,links:we,copy:_e,[Symbol.iterator]:Ce};function ke(a){if(typeof a!="function")throw new Error;return a}function q(){return 0}function O(a){return function(){return a}}function Ne(a){a.x0=Math.round(a.x0),a.y0=Math.round(a.y0),a.x1=Math.round(a.x1),a.y1=Math.round(a.y1)}function Me(a,t,l,n,o){for(var s=a.children,d,h=-1,m=s.length,c=a.value&&(n-t)/a.value;++h<m;)d=s[h],d.y0=l,d.y1=o,d.x0=t,d.x1=t+=d.value*c}function Fe(a,t,l,n,o){for(var s=a.children,d,h=-1,m=s.length,c=a.value&&(o-l)/a.value;++h<m;)d=s[h],d.x0=t,d.x1=n,d.y0=l,d.y1=l+=d.value*c}var ze=(1+Math.sqrt(5))/2;function Ve(a,t,l,n,o,s){for(var d=[],h=t.children,m,c,p=0,w=0,r=h.length,b,v,x=t.value,f,y,N,k,V,R,M;p<r;){b=o-l,v=s-n;do f=h[w++].value;while(!f&&w<r);for(y=N=f,R=Math.max(v/b,b/v)/(x*a),M=f*f*R,V=Math.max(N/M,M/y);w<r;++w){if(f+=c=h[w].value,c<y&&(y=c),c>N&&(N=c),M=f*f*R,k=Math.max(N/M,M/y),k>V){f-=c;break}V=k}d.push(m={value:f,dice:b<v,children:h.slice(p,w)}),m.dice?Me(m,l,n,o,x?n+=v*f/x:s):Fe(m,l,n,x?l+=b*f/x:o,s),x-=f,p=w}return d}const Pe=(function a(t){function l(n,o,s,d,h){Ve(t,n,o,s,d,h)}return l.ratio=function(n){return a((n=+n)>1?n:1)},l})(ze);function Be(){var a=Pe,t=!1,l=1,n=1,o=[0],s=q,d=q,h=q,m=q,c=q;function p(r){return r.x0=r.y0=0,r.x1=l,r.y1=n,r.eachBefore(w),o=[0],t&&r.eachBefore(Ne),r}function w(r){var b=o[r.depth],v=r.x0+b,x=r.y0+b,f=r.x1-b,y=r.y1-b;f<v&&(v=f=(v+f)/2),y<x&&(x=y=(x+y)/2),r.x0=v,r.y0=x,r.x1=f,r.y1=y,r.children&&(b=o[r.depth+1]=s(r)/2,v+=c(r)-b,x+=d(r)-b,f-=h(r)-b,y-=m(r)-b,f<v&&(v=f=(v+f)/2),y<x&&(x=y=(x+y)/2),a(r,v,x,f,y))}return p.round=function(r){return arguments.length?(t=!!r,p):t},p.size=function(r){return arguments.length?(l=+r[0],n=+r[1],p):[l,n]},p.tile=function(r){return arguments.length?(a=ke(r),p):a},p.padding=function(r){return arguments.length?p.paddingInner(r).paddingOuter(r):p.paddingInner()},p.paddingInner=function(r){return arguments.length?(s=typeof r=="function"?r:O(+r),p):s},p.paddingOuter=function(r){return arguments.length?p.paddingTop(r).paddingRight(r).paddingBottom(r).paddingLeft(r):p.paddingTop()},p.paddingTop=function(r){return arguments.length?(d=typeof r=="function"?r:O(+r),p):d},p.paddingRight=function(r){return arguments.length?(h=typeof r=="function"?r:O(+r),p):h},p.paddingBottom=function(r){return arguments.length?(m=typeof r=="function"?r:O(+r),p):m},p.paddingLeft=function(r){return arguments.length?(c=typeof r=="function"?r:O(+r),p):c},p}var D,J=(D=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=u.setAccTitle,this.getAccTitle=u.getAccTitle,this.setDiagramTitle=u.setDiagramTitle,this.getDiagramTitle=u.getDiagramTitle,this.getAccDescription=u.getAccDescription,this.setAccDescription=u.setAccDescription}getNodes(){return this.nodes}getConfig(){const t=u.defaultConfig_default,l=u.getConfig();return u.cleanAndMerge({...t.treemap,...l.treemap??{}})}addNode(t,l){this.nodes.push(t),this.levels.set(t,l),l===0&&(this.outerNodes.push(t),this.root??=t)}getRoot(){return{name:"",children:this.outerNodes}}addClass(t,l){const n=this.classes.get(t)??{id:t,styles:[],textStyles:[]},o=l.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");o&&o.forEach(s=>{u.isLabelStyle(s)&&(n?.textStyles?n.textStyles.push(s):n.textStyles=[s]),n?.styles?n.styles.push(s):n.styles=[s]}),this.classes.set(t,n)}getClasses(){return this.classes}getStylesForClass(t){return this.classes.get(t)?.styles??[]}clear(){u.clear(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}},u.__name(D,"TreeMapDB"),D);function K(a){if(!a.length)return[];const t=[],l=[];return a.forEach(n=>{const o={name:n.name,children:n.type==="Leaf"?void 0:[]};for(o.classSelector=n?.classSelector,n?.cssCompiledStyles&&(o.cssCompiledStyles=[n.cssCompiledStyles]),n.type==="Leaf"&&n.value!==void 0&&(o.value=n.value);l.length>0&&l[l.length-1].level>=n.level;)l.pop();if(l.length===0)t.push(o);else{const s=l[l.length-1].node;s.children?s.children.push(o):s.children=[o]}n.type!=="Leaf"&&l.push({node:o,level:n.level})}),t}u.__name(K,"buildHierarchy");var De=u.__name((a,t)=>{ie.populateCommonDb(a,t);const l=[];for(const s of a.TreemapRows??[])s.$type==="ClassDefStatement"&&t.addClass(s.className??"",s.styleText??"");for(const s of a.TreemapRows??[]){const d=s.item;if(!d)continue;const h=s.indent?parseInt(s.indent):0,m=Re(d),c=d.classSelector?t.getStylesForClass(d.classSelector):[],p=c.length>0?c.join(";"):void 0,w={level:h,name:m,type:d.$type,value:d.value,classSelector:d.classSelector,cssCompiledStyles:p};l.push(w)}const n=K(l),o=u.__name((s,d)=>{for(const h of s)t.addNode(h,d),h.children&&h.children.length>0&&o(h.children,d+1)},"addNodesRecursively");o(n,0)},"populate"),Re=u.__name(a=>a.name?String(a.name):"","getItemName"),ee={parser:{yy:void 0},parse:u.__name(async a=>{try{const t=oe.parse,l=await t("treemap",a);u.log.debug("Treemap AST:",l);const n=ee.parser?.yy;if(!(n instanceof J))throw new 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.");De(l,n)}catch(t){throw u.log.error("Error parsing treemap:",t),t}},"parse")},Ee=10,B=10,G=25,We=u.__name((a,t,l,n)=>{const o=n.db,s=o.getConfig(),d=s.padding??Ee,h=o.getDiagramTitle(),m=o.getRoot(),{themeVariables:c}=u.getConfig();if(!m)return;const p=h?30:0,w=u.selectSvgElement(t),r=s.nodeWidth?s.nodeWidth*B:960,b=s.nodeHeight?s.nodeHeight*B:500,v=r,x=b+p;w.attr("viewBox",`0 0 ${v} ${x}`),u.configureSvgSize(w,x,v,s.useMaxWidth);let f;try{const e=s.valueFormat||",";if(e==="$0,0")f=u.__name(i=>"$"+I.format(",")(i),"valueFormat");else if(e.startsWith("$")&&e.includes(",")){const i=/\.\d+/.exec(e),g=i?i[0]:"";f=u.__name(C=>"$"+I.format(","+g)(C),"valueFormat")}else if(e.startsWith("$")){const i=e.substring(1);f=u.__name(g=>"$"+I.format(i||"")(g),"valueFormat")}else f=I.format(e)}catch(e){u.log.error("Error creating format function:",e),f=I.format(",")}const y=U.ordinal().range(["transparent",c.cScale0,c.cScale1,c.cScale2,c.cScale3,c.cScale4,c.cScale5,c.cScale6,c.cScale7,c.cScale8,c.cScale9,c.cScale10,c.cScale11]),N=U.ordinal().range(["transparent",c.cScalePeer0,c.cScalePeer1,c.cScalePeer2,c.cScalePeer3,c.cScalePeer4,c.cScalePeer5,c.cScalePeer6,c.cScalePeer7,c.cScalePeer8,c.cScalePeer9,c.cScalePeer10,c.cScalePeer11]),k=U.ordinal().range([c.cScaleLabel0,c.cScaleLabel1,c.cScaleLabel2,c.cScaleLabel3,c.cScaleLabel4,c.cScaleLabel5,c.cScaleLabel6,c.cScaleLabel7,c.cScaleLabel8,c.cScaleLabel9,c.cScaleLabel10,c.cScaleLabel11]);h&&w.append("text").attr("x",v/2).attr("y",p/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(h);const V=w.append("g").attr("transform",`translate(0, ${p})`).attr("class","treemapContainer"),R=Q(m).sum(e=>e.value??0).sort((e,i)=>(i.value??0)-(e.value??0)),Z=Be().size([r,b]).paddingTop(e=>e.children&&e.children.length>0?G+B:0).paddingInner(d).paddingLeft(e=>e.children&&e.children.length>0?B:0).paddingRight(e=>e.children&&e.children.length>0?B:0).paddingBottom(e=>e.children&&e.children.length>0?B:0).round(!0)(R),te=Z.descendants().filter(e=>e.children&&e.children.length>0),E=V.selectAll(".treemapSection").data(te).enter().append("g").attr("class","treemapSection").attr("transform",e=>`translate(${e.x0},${e.y0})`);E.append("rect").attr("width",e=>e.x1-e.x0).attr("height",G).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",e=>e.depth===0?"display: none;":""),E.append("clipPath").attr("id",(e,i)=>`clip-section-${t}-${i}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-12)).attr("height",G),E.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class",(e,i)=>`treemapSection section${i}`).attr("fill",e=>y(e.data.name)).attr("fill-opacity",.6).attr("stroke",e=>N(e.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",e=>{if(e.depth===0)return"display: none;";const i=u.styles2String({cssCompiledStyles:e.data.cssCompiledStyles});return i.nodeStyles+";"+i.borderStyles.join(";")}),E.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",G/2).attr("dominant-baseline","middle").text(e=>e.depth===0?"":e.data.name).attr("font-weight","bold").attr("style",e=>{if(e.depth===0)return"display: none;";const i="dominant-baseline: middle; font-size: 12px; fill:"+k(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",g=u.styles2String({cssCompiledStyles:e.data.cssCompiledStyles});return i+g.labelStyles.replace("color:","fill:")}).each(function(e){if(e.depth===0)return;const i=u.select(this),g=e.data.name;i.text(g);const C=e.x1-e.x0,T=6;let L;s.showValues!==!1&&e.value?L=C-10-30-10-T:L=C-T-6;const $=Math.max(15,L),S=i.node();if(S.getComputedTextLength()>$){let _=g;for(;_.length>0;){if(_=g.substring(0,_.length-1),_.length===0){i.text("..."),S.getComputedTextLength()>$&&i.text("");break}if(i.text(_+"..."),S.getComputedTextLength()<=$)break}}}),s.showValues!==!1&&E.append("text").attr("class","treemapSectionValue").attr("x",e=>e.x1-e.x0-10).attr("y",G/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(e=>e.value?f(e.value):"").attr("font-style","italic").attr("style",e=>{if(e.depth===0)return"display: none;";const i="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+k(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",g=u.styles2String({cssCompiledStyles:e.data.cssCompiledStyles});return i+g.labelStyles.replace("color:","fill:")});const ae=Z.leaves(),X=V.selectAll(".treemapLeafGroup").data(ae).enter().append("g").attr("class",(e,i)=>`treemapNode treemapLeafGroup leaf${i}${e.data.classSelector?` ${e.data.classSelector}`:""}x`).attr("transform",e=>`translate(${e.x0},${e.y0})`);X.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class","treemapLeaf").attr("fill",e=>e.parent?y(e.parent.data.name):y(e.data.name)).attr("style",e=>u.styles2String({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",e=>e.parent?y(e.parent.data.name):y(e.data.name)).attr("stroke-width",3),X.append("clipPath").attr("id",(e,i)=>`clip-${t}-${i}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-4)).attr("height",e=>Math.max(0,e.y1-e.y0-4)),X.append("text").attr("class","treemapLabel").attr("x",e=>(e.x1-e.x0)/2).attr("y",e=>(e.y1-e.y0)/2).attr("style",e=>{const i="text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:"+k(e.data.name)+";",g=u.styles2String({cssCompiledStyles:e.data.cssCompiledStyles});return i+g.labelStyles.replace("color:","fill:")}).attr("clip-path",(e,i)=>`url(#clip-${t}-${i})`).text(e=>e.data.name).each(function(e){const i=u.select(this),g=e.x1-e.x0,C=e.y1-e.y0,T=i.node(),L=4,P=g-2*L,$=C-2*L;if(P<10||$<10){i.style("display","none");return}let S=parseInt(i.style("font-size"),10);const F=8,A=28,_=.6,z=6,W=2;for(;T.getComputedTextLength()>P&&S>F;)S--,i.style("font-size",`${S}px`);let H=Math.max(z,Math.min(A,Math.round(S*_))),Y=S+W+H;for(;Y>$&&S>F&&(S--,H=Math.max(z,Math.min(A,Math.round(S*_))),!(H<z&&S===F));)i.style("font-size",`${S}px`),Y=S+W+H;i.style("font-size",`${S}px`),(T.getComputedTextLength()>P||S<F||$<S)&&i.style("display","none")}),s.showValues!==!1&&X.append("text").attr("class","treemapValue").attr("x",i=>(i.x1-i.x0)/2).attr("y",function(i){return(i.y1-i.y0)/2}).attr("style",i=>{const g="text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:"+k(i.data.name)+";",C=u.styles2String({cssCompiledStyles:i.data.cssCompiledStyles});return g+C.labelStyles.replace("color:","fill:")}).attr("clip-path",(i,g)=>`url(#clip-${t}-${g})`).text(i=>i.value?f(i.value):"").each(function(i){const g=u.select(this),C=this.parentNode;if(!C){g.style("display","none");return}const T=u.select(C).select(".treemapLabel");if(T.empty()||T.style("display")==="none"){g.style("display","none");return}const L=parseFloat(T.style("font-size")),P=28,$=.6,S=6,F=2,A=Math.max(S,Math.min(P,Math.round(L*$)));g.style("font-size",`${A}px`);const z=(i.y1-i.y0)/2+L/2+F;g.attr("y",z);const W=i.x1-i.x0,le=i.y1-i.y0-4,re=W-8;g.node().getComputedTextLength()>re||z+A>le||A<S?g.style("display","none"):g.style("display",null)});const ne=s.diagramPadding??8;se.setupViewPortForSVG(w,ne,"flowchart",s?.useMaxWidth||!1)},"draw"),He=u.__name(function(a,t){return t.db.getClasses()},"getClasses"),Ie={draw:We,getClasses:He},qe={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelColor:"black",labelFontSize:"12px",valueFontSize:"10px",valueColor:"black",titleColor:"black",titleFontSize:"14px"},Oe=u.__name(({treemap:a}={})=>{const t=u.cleanAndMerge(qe,a);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"),Ge=Oe,Xe={parser:ee,get db(){return new J},renderer:Ie,styles:Ge};exports.diagram=Xe;
|
|
@@ -1,531 +0,0 @@
|
|
|
1
|
-
import { _ as w, D as te, F as ae, H as he, e as ue, l as K, a$ as P, d as Y, b as pe, a as fe, p as ge, q as me, g as ye, s as Se, E as ve, b0 as xe, y as be } from "./index-D_QdHvga.js";
|
|
2
|
-
import { s as we } from "./chunk-QN33PNHL-rrJh01ga.js";
|
|
3
|
-
import { p as Ce } from "./chunk-4BX2VUAB-CYIF37mc.js";
|
|
4
|
-
import { p as Te } from "./mermaid-parser.core-Bny4tLBT.js";
|
|
5
|
-
import { b as O } from "./defaultLocale-D7EN2tov.js";
|
|
6
|
-
import { o as J } from "./ordinal-B6-f3MAq.js";
|
|
7
|
-
function Le(t) {
|
|
8
|
-
var a = 0, l = t.children, n = l && l.length;
|
|
9
|
-
if (!n) a = 1;
|
|
10
|
-
else for (; --n >= 0; ) a += l[n].value;
|
|
11
|
-
t.value = a;
|
|
12
|
-
}
|
|
13
|
-
function $e() {
|
|
14
|
-
return this.eachAfter(Le);
|
|
15
|
-
}
|
|
16
|
-
function Ae(t, a) {
|
|
17
|
-
let l = -1;
|
|
18
|
-
for (const n of this)
|
|
19
|
-
t.call(a, n, ++l, this);
|
|
20
|
-
return this;
|
|
21
|
-
}
|
|
22
|
-
function Fe(t, a) {
|
|
23
|
-
for (var l = this, n = [l], o, s, d = -1; l = n.pop(); )
|
|
24
|
-
if (t.call(a, l, ++d, this), o = l.children)
|
|
25
|
-
for (s = o.length - 1; s >= 0; --s)
|
|
26
|
-
n.push(o[s]);
|
|
27
|
-
return this;
|
|
28
|
-
}
|
|
29
|
-
function ke(t, a) {
|
|
30
|
-
for (var l = this, n = [l], o = [], s, d, h, g = -1; l = n.pop(); )
|
|
31
|
-
if (o.push(l), s = l.children)
|
|
32
|
-
for (d = 0, h = s.length; d < h; ++d)
|
|
33
|
-
n.push(s[d]);
|
|
34
|
-
for (; l = o.pop(); )
|
|
35
|
-
t.call(a, l, ++g, this);
|
|
36
|
-
return this;
|
|
37
|
-
}
|
|
38
|
-
function Ne(t, a) {
|
|
39
|
-
let l = -1;
|
|
40
|
-
for (const n of this)
|
|
41
|
-
if (t.call(a, n, ++l, this))
|
|
42
|
-
return n;
|
|
43
|
-
}
|
|
44
|
-
function Me(t) {
|
|
45
|
-
return this.eachAfter(function(a) {
|
|
46
|
-
for (var l = +t(a.data) || 0, n = a.children, o = n && n.length; --o >= 0; ) l += n[o].value;
|
|
47
|
-
a.value = l;
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
function _e(t) {
|
|
51
|
-
return this.eachBefore(function(a) {
|
|
52
|
-
a.children && a.children.sort(t);
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
function ze(t) {
|
|
56
|
-
for (var a = this, l = Ve(a, t), n = [a]; a !== l; )
|
|
57
|
-
a = a.parent, n.push(a);
|
|
58
|
-
for (var o = n.length; t !== l; )
|
|
59
|
-
n.splice(o, 0, t), t = t.parent;
|
|
60
|
-
return n;
|
|
61
|
-
}
|
|
62
|
-
function Ve(t, a) {
|
|
63
|
-
if (t === a) return t;
|
|
64
|
-
var l = t.ancestors(), n = a.ancestors(), o = null;
|
|
65
|
-
for (t = l.pop(), a = n.pop(); t === a; )
|
|
66
|
-
o = t, t = l.pop(), a = n.pop();
|
|
67
|
-
return o;
|
|
68
|
-
}
|
|
69
|
-
function De() {
|
|
70
|
-
for (var t = this, a = [t]; t = t.parent; )
|
|
71
|
-
a.push(t);
|
|
72
|
-
return a;
|
|
73
|
-
}
|
|
74
|
-
function Pe() {
|
|
75
|
-
return Array.from(this);
|
|
76
|
-
}
|
|
77
|
-
function Be() {
|
|
78
|
-
var t = [];
|
|
79
|
-
return this.eachBefore(function(a) {
|
|
80
|
-
a.children || t.push(a);
|
|
81
|
-
}), t;
|
|
82
|
-
}
|
|
83
|
-
function Ee() {
|
|
84
|
-
var t = this, a = [];
|
|
85
|
-
return t.each(function(l) {
|
|
86
|
-
l !== t && a.push({ source: l.parent, target: l });
|
|
87
|
-
}), a;
|
|
88
|
-
}
|
|
89
|
-
function* Re() {
|
|
90
|
-
var t = this, a, l = [t], n, o, s;
|
|
91
|
-
do
|
|
92
|
-
for (a = l.reverse(), l = []; t = a.pop(); )
|
|
93
|
-
if (yield t, n = t.children)
|
|
94
|
-
for (o = 0, s = n.length; o < s; ++o)
|
|
95
|
-
l.push(n[o]);
|
|
96
|
-
while (l.length);
|
|
97
|
-
}
|
|
98
|
-
function Q(t, a) {
|
|
99
|
-
t instanceof Map ? (t = [void 0, t], a === void 0 && (a = Ie)) : a === void 0 && (a = He);
|
|
100
|
-
for (var l = new U(t), n, o = [l], s, d, h, g; n = o.pop(); )
|
|
101
|
-
if ((d = a(n.data)) && (g = (d = Array.from(d)).length))
|
|
102
|
-
for (n.children = d, h = g - 1; h >= 0; --h)
|
|
103
|
-
o.push(s = d[h] = new U(d[h])), s.parent = n, s.depth = n.depth + 1;
|
|
104
|
-
return l.eachBefore(qe);
|
|
105
|
-
}
|
|
106
|
-
function We() {
|
|
107
|
-
return Q(this).eachBefore(Oe);
|
|
108
|
-
}
|
|
109
|
-
function He(t) {
|
|
110
|
-
return t.children;
|
|
111
|
-
}
|
|
112
|
-
function Ie(t) {
|
|
113
|
-
return Array.isArray(t) ? t[1] : null;
|
|
114
|
-
}
|
|
115
|
-
function Oe(t) {
|
|
116
|
-
t.data.value !== void 0 && (t.value = t.data.value), t.data = t.data.data;
|
|
117
|
-
}
|
|
118
|
-
function qe(t) {
|
|
119
|
-
var a = 0;
|
|
120
|
-
do
|
|
121
|
-
t.height = a;
|
|
122
|
-
while ((t = t.parent) && t.height < ++a);
|
|
123
|
-
}
|
|
124
|
-
function U(t) {
|
|
125
|
-
this.data = t, this.depth = this.height = 0, this.parent = null;
|
|
126
|
-
}
|
|
127
|
-
U.prototype = Q.prototype = {
|
|
128
|
-
constructor: U,
|
|
129
|
-
count: $e,
|
|
130
|
-
each: Ae,
|
|
131
|
-
eachAfter: ke,
|
|
132
|
-
eachBefore: Fe,
|
|
133
|
-
find: Ne,
|
|
134
|
-
sum: Me,
|
|
135
|
-
sort: _e,
|
|
136
|
-
path: ze,
|
|
137
|
-
ancestors: De,
|
|
138
|
-
descendants: Pe,
|
|
139
|
-
leaves: Be,
|
|
140
|
-
links: Ee,
|
|
141
|
-
copy: We,
|
|
142
|
-
[Symbol.iterator]: Re
|
|
143
|
-
};
|
|
144
|
-
function Ge(t) {
|
|
145
|
-
if (typeof t != "function") throw new Error();
|
|
146
|
-
return t;
|
|
147
|
-
}
|
|
148
|
-
function q() {
|
|
149
|
-
return 0;
|
|
150
|
-
}
|
|
151
|
-
function G(t) {
|
|
152
|
-
return function() {
|
|
153
|
-
return t;
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
function Xe(t) {
|
|
157
|
-
t.x0 = Math.round(t.x0), t.y0 = Math.round(t.y0), t.x1 = Math.round(t.x1), t.y1 = Math.round(t.y1);
|
|
158
|
-
}
|
|
159
|
-
function je(t, a, l, n, o) {
|
|
160
|
-
for (var s = t.children, d, h = -1, g = s.length, c = t.value && (n - a) / t.value; ++h < g; )
|
|
161
|
-
d = s[h], d.y0 = l, d.y1 = o, d.x0 = a, d.x1 = a += d.value * c;
|
|
162
|
-
}
|
|
163
|
-
function Ye(t, a, l, n, o) {
|
|
164
|
-
for (var s = t.children, d, h = -1, g = s.length, c = t.value && (o - l) / t.value; ++h < g; )
|
|
165
|
-
d = s[h], d.x0 = a, d.x1 = n, d.y0 = l, d.y1 = l += d.value * c;
|
|
166
|
-
}
|
|
167
|
-
var Ue = (1 + Math.sqrt(5)) / 2;
|
|
168
|
-
function Ze(t, a, l, n, o, s) {
|
|
169
|
-
for (var d = [], h = a.children, g, c, u = 0, b = 0, r = h.length, x, S, v = a.value, p, m, N, k, V, R, M; u < r; ) {
|
|
170
|
-
x = o - l, S = s - n;
|
|
171
|
-
do
|
|
172
|
-
p = h[b++].value;
|
|
173
|
-
while (!p && b < r);
|
|
174
|
-
for (m = N = p, R = Math.max(S / x, x / S) / (v * t), M = p * p * R, V = Math.max(N / M, M / m); b < r; ++b) {
|
|
175
|
-
if (p += c = h[b].value, c < m && (m = c), c > N && (N = c), M = p * p * R, k = Math.max(N / M, M / m), k > V) {
|
|
176
|
-
p -= c;
|
|
177
|
-
break;
|
|
178
|
-
}
|
|
179
|
-
V = k;
|
|
180
|
-
}
|
|
181
|
-
d.push(g = { value: p, dice: x < S, children: h.slice(u, b) }), g.dice ? je(g, l, n, o, v ? n += S * p / v : s) : Ye(g, l, n, v ? l += x * p / v : o, s), v -= p, u = b;
|
|
182
|
-
}
|
|
183
|
-
return d;
|
|
184
|
-
}
|
|
185
|
-
const Je = (function t(a) {
|
|
186
|
-
function l(n, o, s, d, h) {
|
|
187
|
-
Ze(a, n, o, s, d, h);
|
|
188
|
-
}
|
|
189
|
-
return l.ratio = function(n) {
|
|
190
|
-
return t((n = +n) > 1 ? n : 1);
|
|
191
|
-
}, l;
|
|
192
|
-
})(Ue);
|
|
193
|
-
function Ke() {
|
|
194
|
-
var t = Je, a = !1, l = 1, n = 1, o = [0], s = q, d = q, h = q, g = q, c = q;
|
|
195
|
-
function u(r) {
|
|
196
|
-
return r.x0 = r.y0 = 0, r.x1 = l, r.y1 = n, r.eachBefore(b), o = [0], a && r.eachBefore(Xe), r;
|
|
197
|
-
}
|
|
198
|
-
function b(r) {
|
|
199
|
-
var x = o[r.depth], S = r.x0 + x, v = r.y0 + x, p = r.x1 - x, m = r.y1 - x;
|
|
200
|
-
p < S && (S = p = (S + p) / 2), m < v && (v = m = (v + m) / 2), r.x0 = S, r.y0 = v, r.x1 = p, r.y1 = m, r.children && (x = o[r.depth + 1] = s(r) / 2, S += c(r) - x, v += d(r) - x, p -= h(r) - x, m -= g(r) - x, p < S && (S = p = (S + p) / 2), m < v && (v = m = (v + m) / 2), t(r, S, v, p, m));
|
|
201
|
-
}
|
|
202
|
-
return u.round = function(r) {
|
|
203
|
-
return arguments.length ? (a = !!r, u) : a;
|
|
204
|
-
}, u.size = function(r) {
|
|
205
|
-
return arguments.length ? (l = +r[0], n = +r[1], u) : [l, n];
|
|
206
|
-
}, u.tile = function(r) {
|
|
207
|
-
return arguments.length ? (t = Ge(r), u) : t;
|
|
208
|
-
}, u.padding = function(r) {
|
|
209
|
-
return arguments.length ? u.paddingInner(r).paddingOuter(r) : u.paddingInner();
|
|
210
|
-
}, u.paddingInner = function(r) {
|
|
211
|
-
return arguments.length ? (s = typeof r == "function" ? r : G(+r), u) : s;
|
|
212
|
-
}, u.paddingOuter = function(r) {
|
|
213
|
-
return arguments.length ? u.paddingTop(r).paddingRight(r).paddingBottom(r).paddingLeft(r) : u.paddingTop();
|
|
214
|
-
}, u.paddingTop = function(r) {
|
|
215
|
-
return arguments.length ? (d = typeof r == "function" ? r : G(+r), u) : d;
|
|
216
|
-
}, u.paddingRight = function(r) {
|
|
217
|
-
return arguments.length ? (h = typeof r == "function" ? r : G(+r), u) : h;
|
|
218
|
-
}, u.paddingBottom = function(r) {
|
|
219
|
-
return arguments.length ? (g = typeof r == "function" ? r : G(+r), u) : g;
|
|
220
|
-
}, u.paddingLeft = function(r) {
|
|
221
|
-
return arguments.length ? (c = typeof r == "function" ? r : G(+r), u) : c;
|
|
222
|
-
}, u;
|
|
223
|
-
}
|
|
224
|
-
var E, ne = (E = class {
|
|
225
|
-
constructor() {
|
|
226
|
-
this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.setAccTitle = pe, this.getAccTitle = fe, this.setDiagramTitle = ge, this.getDiagramTitle = me, this.getAccDescription = ye, this.setAccDescription = Se;
|
|
227
|
-
}
|
|
228
|
-
getNodes() {
|
|
229
|
-
return this.nodes;
|
|
230
|
-
}
|
|
231
|
-
getConfig() {
|
|
232
|
-
const a = ve, l = ae();
|
|
233
|
-
return te({
|
|
234
|
-
...a.treemap,
|
|
235
|
-
...l.treemap ?? {}
|
|
236
|
-
});
|
|
237
|
-
}
|
|
238
|
-
addNode(a, l) {
|
|
239
|
-
this.nodes.push(a), this.levels.set(a, l), l === 0 && (this.outerNodes.push(a), this.root ??= a);
|
|
240
|
-
}
|
|
241
|
-
getRoot() {
|
|
242
|
-
return { name: "", children: this.outerNodes };
|
|
243
|
-
}
|
|
244
|
-
addClass(a, l) {
|
|
245
|
-
const n = this.classes.get(a) ?? { id: a, styles: [], textStyles: [] }, o = l.replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
|
|
246
|
-
o && o.forEach((s) => {
|
|
247
|
-
xe(s) && (n?.textStyles ? n.textStyles.push(s) : n.textStyles = [s]), n?.styles ? n.styles.push(s) : n.styles = [s];
|
|
248
|
-
}), this.classes.set(a, n);
|
|
249
|
-
}
|
|
250
|
-
getClasses() {
|
|
251
|
-
return this.classes;
|
|
252
|
-
}
|
|
253
|
-
getStylesForClass(a) {
|
|
254
|
-
return this.classes.get(a)?.styles ?? [];
|
|
255
|
-
}
|
|
256
|
-
clear() {
|
|
257
|
-
be(), this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.root = void 0;
|
|
258
|
-
}
|
|
259
|
-
}, w(E, "TreeMapDB"), E);
|
|
260
|
-
function le(t) {
|
|
261
|
-
if (!t.length)
|
|
262
|
-
return [];
|
|
263
|
-
const a = [], l = [];
|
|
264
|
-
return t.forEach((n) => {
|
|
265
|
-
const o = {
|
|
266
|
-
name: n.name,
|
|
267
|
-
children: n.type === "Leaf" ? void 0 : []
|
|
268
|
-
};
|
|
269
|
-
for (o.classSelector = n?.classSelector, n?.cssCompiledStyles && (o.cssCompiledStyles = [n.cssCompiledStyles]), n.type === "Leaf" && n.value !== void 0 && (o.value = n.value); l.length > 0 && l[l.length - 1].level >= n.level; )
|
|
270
|
-
l.pop();
|
|
271
|
-
if (l.length === 0)
|
|
272
|
-
a.push(o);
|
|
273
|
-
else {
|
|
274
|
-
const s = l[l.length - 1].node;
|
|
275
|
-
s.children ? s.children.push(o) : s.children = [o];
|
|
276
|
-
}
|
|
277
|
-
n.type !== "Leaf" && l.push({ node: o, level: n.level });
|
|
278
|
-
}), a;
|
|
279
|
-
}
|
|
280
|
-
w(le, "buildHierarchy");
|
|
281
|
-
var Qe = /* @__PURE__ */ w((t, a) => {
|
|
282
|
-
Ce(t, a);
|
|
283
|
-
const l = [];
|
|
284
|
-
for (const s of t.TreemapRows ?? [])
|
|
285
|
-
s.$type === "ClassDefStatement" && a.addClass(s.className ?? "", s.styleText ?? "");
|
|
286
|
-
for (const s of t.TreemapRows ?? []) {
|
|
287
|
-
const d = s.item;
|
|
288
|
-
if (!d)
|
|
289
|
-
continue;
|
|
290
|
-
const h = s.indent ? parseInt(s.indent) : 0, g = et(d), c = d.classSelector ? a.getStylesForClass(d.classSelector) : [], u = c.length > 0 ? c.join(";") : void 0, b = {
|
|
291
|
-
level: h,
|
|
292
|
-
name: g,
|
|
293
|
-
type: d.$type,
|
|
294
|
-
value: d.value,
|
|
295
|
-
classSelector: d.classSelector,
|
|
296
|
-
cssCompiledStyles: u
|
|
297
|
-
};
|
|
298
|
-
l.push(b);
|
|
299
|
-
}
|
|
300
|
-
const n = le(l), o = /* @__PURE__ */ w((s, d) => {
|
|
301
|
-
for (const h of s)
|
|
302
|
-
a.addNode(h, d), h.children && h.children.length > 0 && o(h.children, d + 1);
|
|
303
|
-
}, "addNodesRecursively");
|
|
304
|
-
o(n, 0);
|
|
305
|
-
}, "populate"), et = /* @__PURE__ */ w((t) => t.name ? String(t.name) : "", "getItemName"), re = {
|
|
306
|
-
// @ts-expect-error - TreeMapDB is not assignable to DiagramDB
|
|
307
|
-
parser: { yy: void 0 },
|
|
308
|
-
parse: /* @__PURE__ */ w(async (t) => {
|
|
309
|
-
try {
|
|
310
|
-
const l = await Te("treemap", t);
|
|
311
|
-
K.debug("Treemap AST:", l);
|
|
312
|
-
const n = re.parser?.yy;
|
|
313
|
-
if (!(n instanceof ne))
|
|
314
|
-
throw new Error(
|
|
315
|
-
"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."
|
|
316
|
-
);
|
|
317
|
-
Qe(l, n);
|
|
318
|
-
} catch (a) {
|
|
319
|
-
throw K.error("Error parsing treemap:", a), a;
|
|
320
|
-
}
|
|
321
|
-
}, "parse")
|
|
322
|
-
}, tt = 10, B = 10, X = 25, at = /* @__PURE__ */ w((t, a, l, n) => {
|
|
323
|
-
const o = n.db, s = o.getConfig(), d = s.padding ?? tt, h = o.getDiagramTitle(), g = o.getRoot(), { themeVariables: c } = ae();
|
|
324
|
-
if (!g)
|
|
325
|
-
return;
|
|
326
|
-
const u = h ? 30 : 0, b = he(a), r = s.nodeWidth ? s.nodeWidth * B : 960, x = s.nodeHeight ? s.nodeHeight * B : 500, S = r, v = x + u;
|
|
327
|
-
b.attr("viewBox", `0 0 ${S} ${v}`), ue(b, v, S, s.useMaxWidth);
|
|
328
|
-
let p;
|
|
329
|
-
try {
|
|
330
|
-
const e = s.valueFormat || ",";
|
|
331
|
-
if (e === "$0,0")
|
|
332
|
-
p = /* @__PURE__ */ w((i) => "$" + O(",")(i), "valueFormat");
|
|
333
|
-
else if (e.startsWith("$") && e.includes(",")) {
|
|
334
|
-
const i = /\.\d+/.exec(e), f = i ? i[0] : "";
|
|
335
|
-
p = /* @__PURE__ */ w((C) => "$" + O("," + f)(C), "valueFormat");
|
|
336
|
-
} else if (e.startsWith("$")) {
|
|
337
|
-
const i = e.substring(1);
|
|
338
|
-
p = /* @__PURE__ */ w((f) => "$" + O(i || "")(f), "valueFormat");
|
|
339
|
-
} else
|
|
340
|
-
p = O(e);
|
|
341
|
-
} catch (e) {
|
|
342
|
-
K.error("Error creating format function:", e), p = O(",");
|
|
343
|
-
}
|
|
344
|
-
const m = J().range([
|
|
345
|
-
"transparent",
|
|
346
|
-
c.cScale0,
|
|
347
|
-
c.cScale1,
|
|
348
|
-
c.cScale2,
|
|
349
|
-
c.cScale3,
|
|
350
|
-
c.cScale4,
|
|
351
|
-
c.cScale5,
|
|
352
|
-
c.cScale6,
|
|
353
|
-
c.cScale7,
|
|
354
|
-
c.cScale8,
|
|
355
|
-
c.cScale9,
|
|
356
|
-
c.cScale10,
|
|
357
|
-
c.cScale11
|
|
358
|
-
]), N = J().range([
|
|
359
|
-
"transparent",
|
|
360
|
-
c.cScalePeer0,
|
|
361
|
-
c.cScalePeer1,
|
|
362
|
-
c.cScalePeer2,
|
|
363
|
-
c.cScalePeer3,
|
|
364
|
-
c.cScalePeer4,
|
|
365
|
-
c.cScalePeer5,
|
|
366
|
-
c.cScalePeer6,
|
|
367
|
-
c.cScalePeer7,
|
|
368
|
-
c.cScalePeer8,
|
|
369
|
-
c.cScalePeer9,
|
|
370
|
-
c.cScalePeer10,
|
|
371
|
-
c.cScalePeer11
|
|
372
|
-
]), k = J().range([
|
|
373
|
-
c.cScaleLabel0,
|
|
374
|
-
c.cScaleLabel1,
|
|
375
|
-
c.cScaleLabel2,
|
|
376
|
-
c.cScaleLabel3,
|
|
377
|
-
c.cScaleLabel4,
|
|
378
|
-
c.cScaleLabel5,
|
|
379
|
-
c.cScaleLabel6,
|
|
380
|
-
c.cScaleLabel7,
|
|
381
|
-
c.cScaleLabel8,
|
|
382
|
-
c.cScaleLabel9,
|
|
383
|
-
c.cScaleLabel10,
|
|
384
|
-
c.cScaleLabel11
|
|
385
|
-
]);
|
|
386
|
-
h && b.append("text").attr("x", S / 2).attr("y", u / 2).attr("class", "treemapTitle").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(h);
|
|
387
|
-
const V = b.append("g").attr("transform", `translate(0, ${u})`).attr("class", "treemapContainer"), R = Q(g).sum((e) => e.value ?? 0).sort((e, i) => (i.value ?? 0) - (e.value ?? 0)), ee = Ke().size([r, x]).paddingTop(
|
|
388
|
-
(e) => e.children && e.children.length > 0 ? X + B : 0
|
|
389
|
-
).paddingInner(d).paddingLeft((e) => e.children && e.children.length > 0 ? B : 0).paddingRight((e) => e.children && e.children.length > 0 ? B : 0).paddingBottom((e) => e.children && e.children.length > 0 ? B : 0).round(!0)(R), se = ee.descendants().filter((e) => e.children && e.children.length > 0), W = V.selectAll(".treemapSection").data(se).enter().append("g").attr("class", "treemapSection").attr("transform", (e) => `translate(${e.x0},${e.y0})`);
|
|
390
|
-
W.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", X).attr("class", "treemapSectionHeader").attr("fill", "none").attr("fill-opacity", 0.6).attr("stroke-width", 0.6).attr("style", (e) => e.depth === 0 ? "display: none;" : ""), W.append("clipPath").attr("id", (e, i) => `clip-section-${a}-${i}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 12)).attr("height", X), W.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", (e, i) => `treemapSection section${i}`).attr("fill", (e) => m(e.data.name)).attr("fill-opacity", 0.6).attr("stroke", (e) => N(e.data.name)).attr("stroke-width", 2).attr("stroke-opacity", 0.4).attr("style", (e) => {
|
|
391
|
-
if (e.depth === 0)
|
|
392
|
-
return "display: none;";
|
|
393
|
-
const i = P({ cssCompiledStyles: e.data.cssCompiledStyles });
|
|
394
|
-
return i.nodeStyles + ";" + i.borderStyles.join(";");
|
|
395
|
-
}), W.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", X / 2).attr("dominant-baseline", "middle").text((e) => e.depth === 0 ? "" : e.data.name).attr("font-weight", "bold").attr("style", (e) => {
|
|
396
|
-
if (e.depth === 0)
|
|
397
|
-
return "display: none;";
|
|
398
|
-
const i = "dominant-baseline: middle; font-size: 12px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;", f = P({ cssCompiledStyles: e.data.cssCompiledStyles });
|
|
399
|
-
return i + f.labelStyles.replace("color:", "fill:");
|
|
400
|
-
}).each(function(e) {
|
|
401
|
-
if (e.depth === 0)
|
|
402
|
-
return;
|
|
403
|
-
const i = Y(this), f = e.data.name;
|
|
404
|
-
i.text(f);
|
|
405
|
-
const C = e.x1 - e.x0, L = 6;
|
|
406
|
-
let $;
|
|
407
|
-
s.showValues !== !1 && e.value ? $ = C - 10 - 30 - 10 - L : $ = C - L - 6;
|
|
408
|
-
const A = Math.max(15, $), y = i.node();
|
|
409
|
-
if (y.getComputedTextLength() > A) {
|
|
410
|
-
let T = f;
|
|
411
|
-
for (; T.length > 0; ) {
|
|
412
|
-
if (T = f.substring(0, T.length - 1), T.length === 0) {
|
|
413
|
-
i.text("..."), y.getComputedTextLength() > A && i.text("");
|
|
414
|
-
break;
|
|
415
|
-
}
|
|
416
|
-
if (i.text(T + "..."), y.getComputedTextLength() <= A)
|
|
417
|
-
break;
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
}), s.showValues !== !1 && W.append("text").attr("class", "treemapSectionValue").attr("x", (e) => e.x1 - e.x0 - 10).attr("y", X / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").text((e) => e.value ? p(e.value) : "").attr("font-style", "italic").attr("style", (e) => {
|
|
421
|
-
if (e.depth === 0)
|
|
422
|
-
return "display: none;";
|
|
423
|
-
const i = "text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;", f = P({ cssCompiledStyles: e.data.cssCompiledStyles });
|
|
424
|
-
return i + f.labelStyles.replace("color:", "fill:");
|
|
425
|
-
});
|
|
426
|
-
const ie = ee.leaves(), j = V.selectAll(".treemapLeafGroup").data(ie).enter().append("g").attr("class", (e, i) => `treemapNode treemapLeafGroup leaf${i}${e.data.classSelector ? ` ${e.data.classSelector}` : ""}x`).attr("transform", (e) => `translate(${e.x0},${e.y0})`);
|
|
427
|
-
j.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", "treemapLeaf").attr("fill", (e) => e.parent ? m(e.parent.data.name) : m(e.data.name)).attr("style", (e) => P({ cssCompiledStyles: e.data.cssCompiledStyles }).nodeStyles).attr("fill-opacity", 0.3).attr("stroke", (e) => e.parent ? m(e.parent.data.name) : m(e.data.name)).attr("stroke-width", 3), j.append("clipPath").attr("id", (e, i) => `clip-${a}-${i}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 4)).attr("height", (e) => Math.max(0, e.y1 - e.y0 - 4)), j.append("text").attr("class", "treemapLabel").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", (e) => (e.y1 - e.y0) / 2).attr("style", (e) => {
|
|
428
|
-
const i = "text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:" + k(e.data.name) + ";", f = P({ cssCompiledStyles: e.data.cssCompiledStyles });
|
|
429
|
-
return i + f.labelStyles.replace("color:", "fill:");
|
|
430
|
-
}).attr("clip-path", (e, i) => `url(#clip-${a}-${i})`).text((e) => e.data.name).each(function(e) {
|
|
431
|
-
const i = Y(this), f = e.x1 - e.x0, C = e.y1 - e.y0, L = i.node(), $ = 4, D = f - 2 * $, A = C - 2 * $;
|
|
432
|
-
if (D < 10 || A < 10) {
|
|
433
|
-
i.style("display", "none");
|
|
434
|
-
return;
|
|
435
|
-
}
|
|
436
|
-
let y = parseInt(i.style("font-size"), 10);
|
|
437
|
-
const _ = 8, F = 28, T = 0.6, z = 6, H = 2;
|
|
438
|
-
for (; L.getComputedTextLength() > D && y > _; )
|
|
439
|
-
y--, i.style("font-size", `${y}px`);
|
|
440
|
-
let I = Math.max(
|
|
441
|
-
z,
|
|
442
|
-
Math.min(F, Math.round(y * T))
|
|
443
|
-
), Z = y + H + I;
|
|
444
|
-
for (; Z > A && y > _ && (y--, I = Math.max(
|
|
445
|
-
z,
|
|
446
|
-
Math.min(F, Math.round(y * T))
|
|
447
|
-
), !(I < z && y === _)); )
|
|
448
|
-
i.style("font-size", `${y}px`), Z = y + H + I;
|
|
449
|
-
i.style("font-size", `${y}px`), (L.getComputedTextLength() > D || y < _ || A < y) && i.style("display", "none");
|
|
450
|
-
}), s.showValues !== !1 && j.append("text").attr("class", "treemapValue").attr("x", (i) => (i.x1 - i.x0) / 2).attr("y", function(i) {
|
|
451
|
-
return (i.y1 - i.y0) / 2;
|
|
452
|
-
}).attr("style", (i) => {
|
|
453
|
-
const f = "text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:" + k(i.data.name) + ";", C = P({ cssCompiledStyles: i.data.cssCompiledStyles });
|
|
454
|
-
return f + C.labelStyles.replace("color:", "fill:");
|
|
455
|
-
}).attr("clip-path", (i, f) => `url(#clip-${a}-${f})`).text((i) => i.value ? p(i.value) : "").each(function(i) {
|
|
456
|
-
const f = Y(this), C = this.parentNode;
|
|
457
|
-
if (!C) {
|
|
458
|
-
f.style("display", "none");
|
|
459
|
-
return;
|
|
460
|
-
}
|
|
461
|
-
const L = Y(C).select(".treemapLabel");
|
|
462
|
-
if (L.empty() || L.style("display") === "none") {
|
|
463
|
-
f.style("display", "none");
|
|
464
|
-
return;
|
|
465
|
-
}
|
|
466
|
-
const $ = parseFloat(L.style("font-size")), D = 28, A = 0.6, y = 6, _ = 2, F = Math.max(
|
|
467
|
-
y,
|
|
468
|
-
Math.min(D, Math.round($ * A))
|
|
469
|
-
);
|
|
470
|
-
f.style("font-size", `${F}px`);
|
|
471
|
-
const z = (i.y1 - i.y0) / 2 + $ / 2 + _;
|
|
472
|
-
f.attr("y", z);
|
|
473
|
-
const H = i.x1 - i.x0, ce = i.y1 - i.y0 - 4, de = H - 8;
|
|
474
|
-
f.node().getComputedTextLength() > de || z + F > ce || F < y ? f.style("display", "none") : f.style("display", null);
|
|
475
|
-
});
|
|
476
|
-
const oe = s.diagramPadding ?? 8;
|
|
477
|
-
we(b, oe, "flowchart", s?.useMaxWidth || !1);
|
|
478
|
-
}, "draw"), nt = /* @__PURE__ */ w(function(t, a) {
|
|
479
|
-
return a.db.getClasses();
|
|
480
|
-
}, "getClasses"), lt = { draw: at, getClasses: nt }, rt = {
|
|
481
|
-
sectionStrokeColor: "black",
|
|
482
|
-
sectionStrokeWidth: "1",
|
|
483
|
-
sectionFillColor: "#efefef",
|
|
484
|
-
leafStrokeColor: "black",
|
|
485
|
-
leafStrokeWidth: "1",
|
|
486
|
-
leafFillColor: "#efefef",
|
|
487
|
-
labelColor: "black",
|
|
488
|
-
labelFontSize: "12px",
|
|
489
|
-
valueFontSize: "10px",
|
|
490
|
-
valueColor: "black",
|
|
491
|
-
titleColor: "black",
|
|
492
|
-
titleFontSize: "14px"
|
|
493
|
-
}, st = /* @__PURE__ */ w(({
|
|
494
|
-
treemap: t
|
|
495
|
-
} = {}) => {
|
|
496
|
-
const a = te(rt, t);
|
|
497
|
-
return `
|
|
498
|
-
.treemapNode.section {
|
|
499
|
-
stroke: ${a.sectionStrokeColor};
|
|
500
|
-
stroke-width: ${a.sectionStrokeWidth};
|
|
501
|
-
fill: ${a.sectionFillColor};
|
|
502
|
-
}
|
|
503
|
-
.treemapNode.leaf {
|
|
504
|
-
stroke: ${a.leafStrokeColor};
|
|
505
|
-
stroke-width: ${a.leafStrokeWidth};
|
|
506
|
-
fill: ${a.leafFillColor};
|
|
507
|
-
}
|
|
508
|
-
.treemapLabel {
|
|
509
|
-
fill: ${a.labelColor};
|
|
510
|
-
font-size: ${a.labelFontSize};
|
|
511
|
-
}
|
|
512
|
-
.treemapValue {
|
|
513
|
-
fill: ${a.valueColor};
|
|
514
|
-
font-size: ${a.valueFontSize};
|
|
515
|
-
}
|
|
516
|
-
.treemapTitle {
|
|
517
|
-
fill: ${a.titleColor};
|
|
518
|
-
font-size: ${a.titleFontSize};
|
|
519
|
-
}
|
|
520
|
-
`;
|
|
521
|
-
}, "getStyles"), it = st, gt = {
|
|
522
|
-
parser: re,
|
|
523
|
-
get db() {
|
|
524
|
-
return new ne();
|
|
525
|
-
},
|
|
526
|
-
renderer: lt,
|
|
527
|
-
styles: it
|
|
528
|
-
};
|
|
529
|
-
export {
|
|
530
|
-
gt as diagram
|
|
531
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-DrE_PcNC.cjs"),L=require("./chunk-4BX2VUAB-gEHSzd7y.cjs"),O=require("./mermaid-parser.core-BLQ9Ldcb.cjs");var h={showLegend:!0,ticks:5,max:null,min:0,graticule:"circle"},y={axes:[],curves:[],options:h},p=structuredClone(y),S=n.defaultConfig_default.radar,k=n.__name(()=>n.cleanAndMerge({...S,...n.getConfig().radar}),"getConfig"),f=n.__name(()=>p.axes,"getAxes"),D=n.__name(()=>p.curves,"getCurves"),R=n.__name(()=>p.options,"getOptions"),I=n.__name(a=>{p.axes=a.map(e=>({name:e.name,label:e.label??e.name}))},"setAxes"),E=n.__name(a=>{p.curves=a.map(e=>({name:e.name,label:e.label??e.name,entries:F(e.entries)}))},"setCurves"),F=n.__name(a=>{if(a[0].axis==null)return a.map(t=>t.value);const e=f();if(e.length===0)throw new Error("Axes must be populated before curves for reference entries");return e.map(t=>{const r=a.find(s=>s.axis?.$refText===t.name);if(r===void 0)throw new Error("Missing entry for axis "+t.label);return r.value})},"computeCurveEntries"),P=n.__name(a=>{const e=a.reduce((t,r)=>(t[r.name]=r,t),{});p.options={showLegend:e.showLegend?.value??h.showLegend,ticks:e.ticks?.value??h.ticks,max:e.max?.value??h.max,min:e.min?.value??h.min,graticule:e.graticule?.value??h.graticule}},"setOptions"),G=n.__name(()=>{n.clear(),p=structuredClone(y)},"clear"),_={getAxes:f,getCurves:D,getOptions:R,setAxes:I,setCurves:E,setOptions:P,getConfig:k,clear:G,setAccTitle:n.setAccTitle,getAccTitle:n.getAccTitle,setDiagramTitle:n.setDiagramTitle,getDiagramTitle:n.getDiagramTitle,getAccDescription:n.getAccDescription,setAccDescription:n.setAccDescription},z=n.__name(a=>{L.populateCommonDb(a,_);const{axes:e,curves:t,options:r}=a;_.setAxes(e),_.setCurves(t),_.setOptions(r)},"populate"),B={parse:n.__name(async a=>{const e=await O.parse("radar",a);n.log.debug(e),z(e)},"parse")},V=n.__name((a,e,t,r)=>{const s=r.db,o=s.getAxes(),l=s.getCurves(),i=s.getOptions(),c=s.getConfig(),d=s.getDiagramTitle(),m=n.selectSvgElement(e),u=W(m,c),g=i.max??Math.max(...l.map($=>Math.max(...$.entries))),x=i.min,v=Math.min(c.width,c.height)/2;j(u,o,v,i.ticks,i.graticule),q(u,o,v,c),C(u,o,l,x,g,i.graticule,c),A(u,l,i.showLegend,c),u.append("text").attr("class","radarTitle").text(d).attr("x",0).attr("y",-c.height/2-c.marginTop)},"draw"),W=n.__name((a,e)=>{const t=e.width+e.marginLeft+e.marginRight,r=e.height+e.marginTop+e.marginBottom,s={x:e.marginLeft+e.width/2,y:e.marginTop+e.height/2};return a.attr("viewbox",`0 0 ${t} ${r}`).attr("width",t).attr("height",r),a.append("g").attr("transform",`translate(${s.x}, ${s.y})`)},"drawFrame"),j=n.__name((a,e,t,r,s)=>{if(s==="circle")for(let o=0;o<r;o++){const l=t*(o+1)/r;a.append("circle").attr("r",l).attr("class","radarGraticule")}else if(s==="polygon"){const o=e.length;for(let l=0;l<r;l++){const i=t*(l+1)/r,c=e.map((d,m)=>{const u=2*m*Math.PI/o-Math.PI/2,g=i*Math.cos(u),x=i*Math.sin(u);return`${g},${x}`}).join(" ");a.append("polygon").attr("points",c).attr("class","radarGraticule")}}},"drawGraticule"),q=n.__name((a,e,t,r)=>{const s=e.length;for(let o=0;o<s;o++){const l=e[o].label,i=2*o*Math.PI/s-Math.PI/2;a.append("line").attr("x1",0).attr("y1",0).attr("x2",t*r.axisScaleFactor*Math.cos(i)).attr("y2",t*r.axisScaleFactor*Math.sin(i)).attr("class","radarAxisLine"),a.append("text").text(l).attr("x",t*r.axisLabelFactor*Math.cos(i)).attr("y",t*r.axisLabelFactor*Math.sin(i)).attr("class","radarAxisLabel")}},"drawAxes");function C(a,e,t,r,s,o,l){const i=e.length,c=Math.min(l.width,l.height)/2;t.forEach((d,m)=>{if(d.entries.length!==i)return;const u=d.entries.map((g,x)=>{const v=2*Math.PI*x/i-Math.PI/2,$=w(g,r,s,c),M=$*Math.cos(v),T=$*Math.sin(v);return{x:M,y:T}});o==="circle"?a.append("path").attr("d",b(u,l.curveTension)).attr("class",`radarCurve-${m}`):o==="polygon"&&a.append("polygon").attr("points",u.map(g=>`${g.x},${g.y}`).join(" ")).attr("class",`radarCurve-${m}`)})}n.__name(C,"drawCurves");function w(a,e,t,r){const s=Math.min(Math.max(a,e),t);return r*(s-e)/(t-e)}n.__name(w,"relativeRadius");function b(a,e){const t=a.length;let r=`M${a[0].x},${a[0].y}`;for(let s=0;s<t;s++){const o=a[(s-1+t)%t],l=a[s],i=a[(s+1)%t],c=a[(s+2)%t],d={x:l.x+(i.x-o.x)*e,y:l.y+(i.y-o.y)*e},m={x:i.x-(c.x-l.x)*e,y:i.y-(c.y-l.y)*e};r+=` C${d.x},${d.y} ${m.x},${m.y} ${i.x},${i.y}`}return`${r} Z`}n.__name(b,"closedRoundCurve");function A(a,e,t,r){if(!t)return;const s=(r.width/2+r.marginRight)*3/4,o=-(r.height/2+r.marginTop)*3/4,l=20;e.forEach((i,c)=>{const d=a.append("g").attr("transform",`translate(${s}, ${o+c*l})`);d.append("rect").attr("width",12).attr("height",12).attr("class",`radarLegendBox-${c}`),d.append("text").attr("x",16).attr("y",0).attr("class","radarLegendText").text(i.label)})}n.__name(A,"drawLegend");var H={draw:V},U=n.__name((a,e)=>{let t="";for(let r=0;r<a.THEME_COLOR_LIMIT;r++){const s=a[`cScale${r}`];t+=`
|
|
2
|
-
.radarCurve-${r} {
|
|
3
|
-
color: ${s};
|
|
4
|
-
fill: ${s};
|
|
5
|
-
fill-opacity: ${e.curveOpacity};
|
|
6
|
-
stroke: ${s};
|
|
7
|
-
stroke-width: ${e.curveStrokeWidth};
|
|
8
|
-
}
|
|
9
|
-
.radarLegendBox-${r} {
|
|
10
|
-
fill: ${s};
|
|
11
|
-
fill-opacity: ${e.curveOpacity};
|
|
12
|
-
stroke: ${s};
|
|
13
|
-
}
|
|
14
|
-
`}return t},"genIndexStyles"),X=n.__name(a=>{const e=n.getThemeVariables3(),t=n.getConfig(),r=n.cleanAndMerge(e,t.themeVariables),s=n.cleanAndMerge(r.radar,a);return{themeVariables:r,radarOptions:s}},"buildRadarStyleOptions"),N=n.__name(({radar:a}={})=>{const{themeVariables:e,radarOptions:t}=X(a);return`
|
|
15
|
-
.radarTitle {
|
|
16
|
-
font-size: ${e.fontSize};
|
|
17
|
-
color: ${e.titleColor};
|
|
18
|
-
dominant-baseline: hanging;
|
|
19
|
-
text-anchor: middle;
|
|
20
|
-
}
|
|
21
|
-
.radarAxisLine {
|
|
22
|
-
stroke: ${t.axisColor};
|
|
23
|
-
stroke-width: ${t.axisStrokeWidth};
|
|
24
|
-
}
|
|
25
|
-
.radarAxisLabel {
|
|
26
|
-
dominant-baseline: middle;
|
|
27
|
-
text-anchor: middle;
|
|
28
|
-
font-size: ${t.axisLabelFontSize}px;
|
|
29
|
-
color: ${t.axisColor};
|
|
30
|
-
}
|
|
31
|
-
.radarGraticule {
|
|
32
|
-
fill: ${t.graticuleColor};
|
|
33
|
-
fill-opacity: ${t.graticuleOpacity};
|
|
34
|
-
stroke: ${t.graticuleColor};
|
|
35
|
-
stroke-width: ${t.graticuleStrokeWidth};
|
|
36
|
-
}
|
|
37
|
-
.radarLegendText {
|
|
38
|
-
text-anchor: start;
|
|
39
|
-
font-size: ${t.legendFontSize}px;
|
|
40
|
-
dominant-baseline: hanging;
|
|
41
|
-
}
|
|
42
|
-
${U(e,t)}
|
|
43
|
-
`},"styles"),Y={parser:B,db:_,renderer:H,styles:N};exports.diagram=Y;
|