@sme.up/ketchup2 2.0.0 → 2.2.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-CX_6DnSJ.cjs +36 -0
- package/dist/architectureDiagram-Q4EWVU46-CnzjcVBn.js +4057 -0
- package/dist/array-D8NZ46Ht.js +6 -0
- package/dist/array-Dxz0O8Q3.cjs +1 -0
- package/dist/assets/buttonListAssets.d.ts +8 -0
- package/dist/assets/buttonListAssets.d.ts.map +1 -1
- package/dist/assets/imageListAssets.d.ts +3 -1
- package/dist/assets/imageListAssets.d.ts.map +1 -1
- package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/basic-components/button/button-types.d.ts +4 -0
- package/dist/basic-components/button/button-types.d.ts.map +1 -1
- package/dist/basic-components/button-dropdown/button-dropdown-types.d.ts +16 -0
- package/dist/basic-components/button-dropdown/button-dropdown-types.d.ts.map +1 -0
- package/dist/basic-components/button-dropdown/button-dropdown.d.ts +4 -0
- package/dist/basic-components/button-dropdown/button-dropdown.d.ts.map +1 -0
- package/dist/basic-components/button-list/button-list-types.d.ts +6 -0
- package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
- package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-utils.d.ts +11 -4
- package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
- package/dist/basic-components/cell/cell.d.ts.map +1 -1
- package/dist/basic-components/image/image.d.ts.map +1 -1
- package/dist/basic-components/image-cell/image-cell-types.d.ts +12 -3
- package/dist/basic-components/image-cell/image-cell-types.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/text.d.ts.map +1 -1
- package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
- package/dist/blockDiagram-DXYQGD6D-B0NvV2Ph.js +3033 -0
- package/dist/blockDiagram-DXYQGD6D-D6DypQdM.cjs +132 -0
- package/dist/c4Diagram-AHTNJAMY-DPijI3_r.js +2961 -0
- package/dist/c4Diagram-AHTNJAMY-Dgwv-e5O.cjs +10 -0
- package/dist/channel-CRWct3-i.js +5 -0
- package/dist/channel-DkTvdPpU.cjs +1 -0
- package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +23 -0
- package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +1 -0
- package/dist/chunk-336JU56O-DQhIGd25.cjs +1 -0
- package/dist/chunk-336JU56O-DkZvWJVe.js +49 -0
- package/dist/chunk-426QAEUC-CDXJVpQr.js +9 -0
- package/dist/chunk-426QAEUC-CqN26l3E.cjs +1 -0
- package/dist/chunk-4BX2VUAB-BW54-JWg.js +8 -0
- package/dist/chunk-4BX2VUAB-Qba52sxc.cjs +1 -0
- package/dist/chunk-4TB4RGXK-B0SIkKDf.cjs +206 -0
- package/dist/chunk-4TB4RGXK-D2LRzcEP.js +3253 -0
- package/dist/chunk-55IACEB6-Bu3k0Yz5.js +8 -0
- package/dist/chunk-55IACEB6-DPatBzu7.cjs +1 -0
- package/dist/chunk-5FUZZQ4R-Cj5KbGC7.cjs +62 -0
- package/dist/chunk-5FUZZQ4R-D3C0F0Tr.js +3638 -0
- package/dist/chunk-5PVQY5BW-DEPZKGvb.cjs +2 -0
- package/dist/chunk-5PVQY5BW-Dn8n6moB.js +1299 -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-1dwNWzc7.cjs +1 -0
- package/dist/chunk-EDXVE4YY-CGNVB686.js +25 -0
- package/dist/chunk-ENJZ2VHE-BAWfx0nA.cjs +10 -0
- package/dist/chunk-ENJZ2VHE-CZ7BvL2h.js +560 -0
- package/dist/{chunk-FMBD7UC4-C1wIcaJH.js → chunk-FMBD7UC4-CS9_r76V.cjs} +2 -6
- 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-fQJ5ufMR.js +3320 -0
- package/dist/chunk-ICPOFSXX-hY6BIZ4Y.cjs +122 -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-CrK-lehh.cjs +231 -0
- package/dist/chunk-OYMX7WX6-DJkGVCqi.js +2014 -0
- package/dist/chunk-QZHKN3VN-Bx8I6l3c.js +15 -0
- package/dist/chunk-QZHKN3VN-CSMKL2rB.cjs +1 -0
- package/dist/chunk-U2HBQHQK-CJ77uizk.cjs +70 -0
- package/dist/chunk-U2HBQHQK-Ceyeq0IV.js +1879 -0
- package/dist/chunk-WQLz0Won.js +20 -0
- package/dist/chunk-X2U36JSP-CtXjVqek.cjs +1 -0
- package/dist/chunk-X2U36JSP-VxRY65ea.js +67 -0
- package/dist/chunk-XPW4576I-BcWkx-AL.js +1146 -0
- package/dist/chunk-XPW4576I-D8Pp6a3j.cjs +32 -0
- package/dist/chunk-YZCP3GAM-D6P3SWmL.js +60 -0
- package/dist/chunk-YZCP3GAM-qxaNo0r8.cjs +1 -0
- package/dist/chunk-ZZ45TVLE-BfSqZnT4.cjs +1 -0
- package/dist/chunk-ZZ45TVLE-X2jolXSO.js +32 -0
- package/dist/classDiagram-6PBFFD2Q-BT4_JTnP.cjs +1 -0
- package/dist/classDiagram-6PBFFD2Q-Dgaxt4wI.js +29 -0
- package/dist/classDiagram-v2-HSJHXN6E-CWhiK6nm.js +29 -0
- package/dist/classDiagram-v2-HSJHXN6E-DkBLzgTv.cjs +1 -0
- package/dist/clone-CQQwPjME.cjs +1 -0
- package/dist/clone-Dwbh_blD.js +8 -0
- package/dist/components/drawer/drawer-types.d.ts +4 -0
- package/dist/components/drawer/drawer-types.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 +6 -2
- package/dist/components/image-list/components/image-list-navigation-picker.d.ts.map +1 -1
- 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-tree.d.ts.map +1 -1
- package/dist/components/image-list/components/strip-item.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 +45 -2
- package/dist/components/image-list/image-list-types.d.ts.map +1 -1
- package/dist/components/image-list/image-list-utils.d.ts +24 -1
- 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/planner/planner-assets.d.ts +1 -1
- package/dist/components/planner/planner-assets.d.ts.map +1 -1
- package/dist/components/planner/planner-types.d.ts +1 -1
- package/dist/components/planner/planner-types.d.ts.map +1 -1
- package/dist/components/planner/planner-utils.d.ts +6 -5
- package/dist/components/planner/planner-utils.d.ts.map +1 -1
- package/dist/components/planner/planner.d.ts.map +1 -1
- package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
- package/dist/components/scaffold/scaffold-types.d.ts +1 -0
- package/dist/components/scaffold/scaffold-types.d.ts.map +1 -1
- package/dist/components/timeline/timeline-types.d.ts +6 -2
- package/dist/components/timeline/timeline-types.d.ts.map +1 -1
- package/dist/components/timeline/timeline.d.ts.map +1 -1
- package/dist/components/toolbar/toolbar.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-BcwvU6ZF.cjs +1 -0
- package/dist/dagre-D17h-Z-U.js +1606 -0
- package/dist/dagre-KV5264BT-BnEKAAAn.js +293 -0
- package/dist/dagre-KV5264BT-DRbiLA37.cjs +4 -0
- package/dist/defaultLocale-Dcyuaxxg.js +201 -0
- package/dist/defaultLocale-DtzyZW63.cjs +1 -0
- package/dist/diagram-5BDNPKRD-B_Fa4dpl.js +101 -0
- package/dist/diagram-5BDNPKRD-CPN8m2Hl.cjs +10 -0
- package/dist/diagram-G4DWMVQ6-VpXkNb67.cjs +24 -0
- package/dist/diagram-G4DWMVQ6-iYV58Drq.js +524 -0
- package/dist/diagram-MMDJMWI5-DGk_PUo9.cjs +43 -0
- package/dist/diagram-MMDJMWI5-DUpEI5ug.js +213 -0
- package/dist/diagram-TYMM5635-BH_-vSv9.cjs +24 -0
- package/dist/diagram-TYMM5635-DHHPZ5ZJ.js +133 -0
- package/dist/dist-BgvMZbfo.cjs +1 -0
- package/dist/dist-DL30VIBI.js +60 -0
- package/dist/erDiagram-SMLLAGMA-C8FM7wbJ.js +1700 -0
- package/dist/erDiagram-SMLLAGMA-vuYEmfFA.cjs +85 -0
- package/dist/flatten-BE1bWL-7.js +40 -0
- package/dist/flatten-DxvYSoR8.cjs +1 -0
- package/dist/flowDiagram-DWJPFMVM-BGtX2gw0.js +4145 -0
- package/dist/flowDiagram-DWJPFMVM-DWuKiJeo.cjs +162 -0
- package/dist/functional-components/action/action-types.d.ts +32 -2
- package/dist/functional-components/action/action-types.d.ts.map +1 -1
- package/dist/functional-components/action/action-utils.d.ts +13 -1
- package/dist/functional-components/action/action-utils.d.ts.map +1 -1
- package/dist/functional-components/action/action.d.ts.map +1 -1
- 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/timeline-engine/components/gantt/bar/gantt-bar.d.ts +18 -0
- package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts.map +1 -0
- package/dist/functional-components/{gantt → timeline-engine/components/gantt}/gantt-assets.d.ts +2 -0
- package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -0
- package/dist/functional-components/{gantt → timeline-engine/components/gantt}/gantt.d.ts +3 -3
- package/dist/functional-components/timeline-engine/components/gantt/gantt.d.ts.map +1 -0
- package/dist/functional-components/{gantt → timeline-engine/components/gantt}/grid/gantt-grid.d.ts +3 -5
- package/dist/functional-components/timeline-engine/components/gantt/grid/gantt-grid.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/gantt/header/gantt-header.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/gantt/today-indicator/gantt-today-indicator.d.ts.map +1 -0
- package/dist/functional-components/{gantt → timeline-engine/components/gantt}/types/gantt-types.d.ts +27 -6
- package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/task-list/task-list-types.d.ts +27 -0
- package/dist/functional-components/timeline-engine/components/task-list/task-list-types.d.ts.map +1 -0
- package/dist/functional-components/{task-list → timeline-engine/components/task-list}/task-list-utils.d.ts +4 -4
- package/dist/functional-components/timeline-engine/components/task-list/task-list-utils.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/task-list/task-list.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts +24 -0
- package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts +119 -0
- package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/timeline-engine-utils.test.d.ts +2 -0
- package/dist/functional-components/timeline-engine/timeline-engine-utils.test.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/timeline-engine.d.ts +8 -0
- package/dist/functional-components/timeline-engine/timeline-engine.d.ts.map +1 -0
- package/dist/ganttDiagram-T4ZO3ILL-C25CnBTv.cjs +292 -0
- package/dist/ganttDiagram-T4ZO3ILL-PY1BUp5b.js +3077 -0
- package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +1 -0
- package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +3 -0
- package/dist/gitGraphDiagram-UUTBAWPF-0lCBo9nK.cjs +106 -0
- package/dist/gitGraphDiagram-UUTBAWPF-CDIW9-sX.js +728 -0
- package/dist/graphlib-CdgJ32J_.cjs +1 -0
- package/dist/graphlib-DbQkSsC8.js +373 -0
- package/dist/hooks/useClickOutside.d.ts.map +1 -1
- package/dist/hooks/useFocusTrap.d.ts.map +1 -1
- package/dist/hooks/useGanttMath.d.ts +1 -1
- package/dist/hooks/useGanttMath.d.ts.map +1 -1
- package/dist/hooks/useVirtualListScroll.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-CQLxpytS.js +19 -0
- package/dist/infoDiagram-42DDH7IO-Da__a_a_.cjs +2 -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-BblrAmns.js +718 -0
- package/dist/ishikawaDiagram-UXIWVN3A-BfkF39Xv.cjs +70 -0
- package/dist/journeyDiagram-VCZTEJTY-CCOZ1XFK.js +883 -0
- package/dist/journeyDiagram-VCZTEJTY-UwcVOFtb.cjs +139 -0
- package/dist/kanban-definition-6JOO6SKY-BWwfbdd6.js +973 -0
- package/dist/kanban-definition-6JOO6SKY-Coxpi43B.cjs +89 -0
- package/dist/katex-Du5WiYIy.js +22000 -0
- package/dist/katex-SAH56fvc.cjs +257 -0
- package/dist/ketchup2.cjs.js +197 -1
- package/dist/ketchup2.css +2 -1
- package/dist/ketchup2.es.js +132798 -52
- package/dist/line-C7oijaT4.cjs +1 -0
- package/dist/line-CrxZdHmO.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--xULjpFZ.cjs +96 -0
- package/dist/mindmap-definition-QFDTVHPH-dYQoMeA6.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-7we8s9eC.cjs +30 -0
- package/dist/pieDiagram-DEJITSTG-Dj5pX4fC.js +165 -0
- package/dist/quadrantDiagram-34T5L4WZ-B3BFuPYQ.cjs +7 -0
- package/dist/quadrantDiagram-34T5L4WZ-BKNOJBiR.js +1974 -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-BemsEy3Y.cjs +84 -0
- package/dist/requirementDiagram-MS252O5E-r3eZu57d.js +2221 -0
- package/dist/rough.esm-1mqTSjCt.js +1352 -0
- package/dist/rough.esm-BLKo1fIQ.cjs +1 -0
- package/dist/sankeyDiagram-XADWPNL6-B9YCkPHh.cjs +10 -0
- package/dist/sankeyDiagram-XADWPNL6-ErTVVewH.js +920 -0
- package/dist/sequenceDiagram-FGHM5R23-BmqbzzHY.js +4157 -0
- package/dist/sequenceDiagram-FGHM5R23-CBpQL6X2.cjs +157 -0
- package/dist/src-BQiFKP24.js +2146 -0
- package/dist/src-DFxq-N5I.cjs +1 -0
- package/dist/stateDiagram-FHFEXIEX-CL9LE-W1.js +217 -0
- package/dist/stateDiagram-FHFEXIEX-Cju5Z2VS.cjs +1 -0
- package/dist/stateDiagram-v2-QKLJ7IA2-BHoytfGp.js +27 -0
- package/dist/stateDiagram-v2-QKLJ7IA2-DO1H6Vqa.cjs +1 -0
- package/dist/timeline-definition-GMOUNBTQ-BeTHmikc.cjs +120 -0
- package/dist/timeline-definition-GMOUNBTQ-DgcI7XnE.js +1068 -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/types/data-structures.d.ts +9 -1
- package/dist/types/data-structures.d.ts.map +1 -1
- package/dist/utils/data-structures.d.ts +2 -0
- package/dist/utils/data-structures.d.ts.map +1 -1
- package/dist/utils/style.d.ts +13 -2
- package/dist/utils/style.d.ts.map +1 -1
- 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-7tx3VVDU.js +1858 -0
- package/dist/vennDiagram-DHZGUBPP-C16dnMoe.cjs +34 -0
- package/dist/wardley-RL74JXVD-BtHQbnUy.js +3 -0
- package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +1 -0
- package/dist/wardleyDiagram-NUSXRM2D-DGKU7A2U.js +578 -0
- package/dist/wardleyDiagram-NUSXRM2D-DY51LHBa.cjs +20 -0
- package/dist/xychartDiagram-5P7HB3ND--7RYyckP.js +2044 -0
- package/dist/xychartDiagram-5P7HB3ND-Cj0HUNew.cjs +7 -0
- package/package.json +31 -31
- package/dist/_basePickBy-CPekwY_Z.js +0 -151
- package/dist/_basePickBy-DDhgLyLp.cjs +0 -1
- package/dist/_baseUniq-CAhfZr5S.js +0 -614
- package/dist/_baseUniq-bLb2QO_4.cjs +0 -1
- package/dist/arc-CnmUepZA.cjs +0 -1
- package/dist/arc-Md6Ds0JZ.js +0 -83
- package/dist/architecture-7HQA4BMR-DLImbuCr.js +0 -6
- package/dist/architecture-7HQA4BMR-zD1jCFXs.cjs +0 -1
- package/dist/architectureDiagram-VXUJARFQ-BkTy7RJA.js +0 -4661
- package/dist/architectureDiagram-VXUJARFQ-Vl-ya9R6.cjs +0 -36
- package/dist/blockDiagram-VD42YOAC-C9AJNM79.js +0 -2256
- package/dist/blockDiagram-VD42YOAC-D_EmYywD.cjs +0 -122
- package/dist/c4Diagram-YG6GDRKO-BfwBYulK.cjs +0 -10
- package/dist/c4Diagram-YG6GDRKO-YW-l-SYp.js +0 -1580
- package/dist/channel-BGeX_R6w.cjs +0 -1
- package/dist/channel-lqmaHMPZ.js +0 -5
- package/dist/chunk-4BX2VUAB-C6nahV0u.cjs +0 -1
- package/dist/chunk-4BX2VUAB-UMbIiF-V.js +0 -8
- package/dist/chunk-55IACEB6-CH_wWg2p.js +0 -8
- package/dist/chunk-55IACEB6-Cxt8uWHb.cjs +0 -1
- package/dist/chunk-B4BG7PRW-CTNZzNh0.js +0 -1375
- package/dist/chunk-B4BG7PRW-ekpXKNa3.cjs +0 -165
- package/dist/chunk-DI55MBZ5-BrLh6Fue.js +0 -1370
- package/dist/chunk-DI55MBZ5-TYqUGYGr.cjs +0 -220
- package/dist/chunk-FMBD7UC4-D0Nmh8EL.cjs +0 -15
- package/dist/chunk-QN33PNHL-B91UelWj.js +0 -19
- package/dist/chunk-QN33PNHL-KGNgU1-8.cjs +0 -1
- package/dist/chunk-QZHKN3VN-IV7jnz-R.js +0 -15
- package/dist/chunk-QZHKN3VN-ajuovO9B.cjs +0 -1
- package/dist/chunk-TZMSLE5B-Bkf7U79o.cjs +0 -1
- package/dist/chunk-TZMSLE5B-DArsm2Pn.js +0 -64
- package/dist/classDiagram-2ON5EDUG-C0_Gqd5k.js +0 -16
- package/dist/classDiagram-2ON5EDUG-Cnous8-m.cjs +0 -1
- package/dist/classDiagram-v2-WZHVMYZB-C0_Gqd5k.js +0 -16
- package/dist/classDiagram-v2-WZHVMYZB-Cnous8-m.cjs +0 -1
- package/dist/clone-B_MxWhab.js +0 -8
- package/dist/clone-D6gFD6F-.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-DHZ_jZYH.js +0 -2608
- package/dist/cose-bilkent-S5V4N54A-Da7jSuau.cjs +0 -1
- package/dist/cytoscape.esm-CNUX3VTg.cjs +0 -321
- package/dist/cytoscape.esm-Cvf3sx9F.js +0 -18704
- package/dist/dagre-6UL2VRFP-CI2ww-SU.js +0 -444
- package/dist/dagre-6UL2VRFP-qOR4yAIQ.cjs +0 -4
- package/dist/defaultLocale-D7EN2tov.js +0 -171
- package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
- package/dist/diagram-PSM6KHXK-1g8345m3.js +0 -531
- package/dist/diagram-PSM6KHXK-DHWL3g5V.cjs +0 -24
- package/dist/diagram-QEK2KX5R-B-VP4dVY.js +0 -217
- package/dist/diagram-QEK2KX5R-DDWbMmAv.cjs +0 -43
- package/dist/diagram-S2PKOQOG-BbSGqLET.js +0 -142
- package/dist/diagram-S2PKOQOG-Djw9RGNh.cjs +0 -24
- package/dist/erDiagram-Q2GNP2WA-CxY1P4hJ.js +0 -841
- package/dist/erDiagram-Q2GNP2WA-Pw9i-eBN.cjs +0 -60
- package/dist/flowDiagram-NV44I4VS-BOr3T0H8.js +0 -1620
- package/dist/flowDiagram-NV44I4VS-D9VKU1cV.cjs +0 -162
- package/dist/functional-components/gantt/bar/gantt-bar.d.ts +0 -17
- package/dist/functional-components/gantt/bar/gantt-bar.d.ts.map +0 -1
- package/dist/functional-components/gantt/gantt-assets.d.ts.map +0 -1
- package/dist/functional-components/gantt/gantt.d.ts.map +0 -1
- package/dist/functional-components/gantt/grid/gantt-grid.d.ts.map +0 -1
- package/dist/functional-components/gantt/header/gantt-header.d.ts.map +0 -1
- package/dist/functional-components/gantt/today-indicator/gantt-today-indicator.d.ts.map +0 -1
- package/dist/functional-components/gantt/types/gantt-types.d.ts.map +0 -1
- package/dist/functional-components/task-list/task-list-types.d.ts +0 -22
- package/dist/functional-components/task-list/task-list-types.d.ts.map +0 -1
- package/dist/functional-components/task-list/task-list-utils.d.ts.map +0 -1
- package/dist/functional-components/task-list/task-list.d.ts.map +0 -1
- package/dist/ganttDiagram-JELNMOA3-B4T6J11z.js +0 -2670
- package/dist/ganttDiagram-JELNMOA3-C4Y4VT0h.cjs +0 -267
- package/dist/gitGraph-G5XIXVHT-C5QaeLIs.cjs +0 -1
- package/dist/gitGraph-G5XIXVHT-bOZ2ppp1.js +0 -6
- package/dist/gitGraphDiagram-V2S2FVAM-CteUW9ML.js +0 -699
- package/dist/gitGraphDiagram-V2S2FVAM-D_v6ae_z.cjs +0 -65
- package/dist/graph-BBPk5jyk.cjs +0 -1
- package/dist/graph-h6vsxKyr.js +0 -247
- package/dist/hooks/usePlannerSync.d.ts +0 -11
- package/dist/hooks/usePlannerSync.d.ts.map +0 -1
- package/dist/index-CYQM-t1d.cjs +0 -390
- package/dist/index-FiV1b00w.js +0 -133122
- package/dist/info-VBDWY6EO-BEIYBsnB.cjs +0 -1
- package/dist/info-VBDWY6EO-BQAW_660.js +0 -6
- package/dist/infoDiagram-HS3SLOUP-DMalb3kC.js +0 -24
- package/dist/infoDiagram-HS3SLOUP-Tepm6ygN.cjs +0 -2
- package/dist/init-CHZsXQcr.cjs +0 -1
- package/dist/init-DjUOC4st.js +0 -16
- package/dist/journeyDiagram-XKPGCS4Q-CzePcKne.cjs +0 -139
- package/dist/journeyDiagram-XKPGCS4Q-D0u-RLFV.js +0 -834
- package/dist/kanban-definition-3W4ZIXB7-BSCzAsMJ.js +0 -719
- package/dist/kanban-definition-3W4ZIXB7-DdbH9sci.cjs +0 -89
- package/dist/katex-C2g-EhzP.cjs +0 -261
- package/dist/katex-CUSbq6rG.js +0 -11692
- package/dist/layout-6z7-eUnZ.js +0 -1335
- package/dist/layout-DbcrMh5B.cjs +0 -1
- package/dist/linear-BKevCbhh.js +0 -259
- package/dist/linear-C7uVEtWW.cjs +0 -1
- package/dist/mermaid-parser.core-Cwy51n_e.js +0 -17907
- package/dist/mermaid-parser.core-DQ2yhapR.cjs +0 -160
- package/dist/mindmap-definition-VGOIOE7T-CcEisj0R.cjs +0 -68
- package/dist/mindmap-definition-VGOIOE7T-xp6GmSIx.js +0 -758
- package/dist/ordinal-B6-f3MAq.js +0 -61
- package/dist/ordinal-CagbB1m8.cjs +0 -1
- package/dist/packet-DYOGHKS2-BGgwnMhM.js +0 -6
- package/dist/packet-DYOGHKS2-BWg8qxI8.cjs +0 -1
- package/dist/pie-VRWISCQL-DhM8CUW4.cjs +0 -1
- package/dist/pie-VRWISCQL-DrWIWm7W.js +0 -6
- package/dist/pieDiagram-ADFJNKIX-BdvacM-Z.cjs +0 -30
- package/dist/pieDiagram-ADFJNKIX-D6Fa7W_r.js +0 -161
- package/dist/quadrantDiagram-AYHSOK5B-CHMoSBvg.js +0 -1022
- package/dist/quadrantDiagram-AYHSOK5B-ddq5zZEg.cjs +0 -7
- package/dist/radar-ZZBFDIW7-CPvW4Njh.js +0 -6
- package/dist/radar-ZZBFDIW7-YJK72BlV.cjs +0 -1
- package/dist/requirementDiagram-UZGBJVZJ-Cr9HnGVO.js +0 -850
- package/dist/requirementDiagram-UZGBJVZJ-NdpzVbnf.cjs +0 -64
- package/dist/sankeyDiagram-TZEHDZUN-3f19WwKd.js +0 -810
- package/dist/sankeyDiagram-TZEHDZUN-D2Hzq4Kr.cjs +0 -10
- package/dist/sequenceDiagram-WL72ISMW-Cu-7V--6.js +0 -2511
- package/dist/sequenceDiagram-WL72ISMW-Nk6vhSK9.cjs +0 -145
- package/dist/stateDiagram-FKZM4ZOC-BSnDKUaW.cjs +0 -1
- package/dist/stateDiagram-FKZM4ZOC-BleTIniP.js +0 -263
- package/dist/stateDiagram-v2-4FDKWEC3-7EjW078x.js +0 -16
- package/dist/stateDiagram-v2-4FDKWEC3-BJPzO53y.cjs +0 -1
- package/dist/timeline-definition-IT6M3QCI-CFTjPpKy.js +0 -795
- package/dist/timeline-definition-IT6M3QCI-CfaGtuF2.cjs +0 -61
- package/dist/treemap-GDKQZRPO-CtDdEOaj.cjs +0 -1
- package/dist/treemap-GDKQZRPO-DlODAdQ2.js +0 -6
- package/dist/utils/wbs-utils.d.ts +0 -143
- package/dist/utils/wbs-utils.d.ts.map +0 -1
- package/dist/xychartDiagram-PRI3JC2R-mShGv2CD.cjs +0 -7
- package/dist/xychartDiagram-PRI3JC2R-vEJER5zT.js +0 -1340
- /package/dist/functional-components/{gantt → timeline-engine/components/gantt}/header/gantt-header.d.ts +0 -0
- /package/dist/functional-components/{gantt → timeline-engine/components/gantt}/today-indicator/gantt-today-indicator.d.ts +0 -0
- /package/dist/functional-components/{task-list → timeline-engine/components/task-list}/task-list.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./path-Civic7PQ.cjs`),t=require(`./array-Dxz0O8Q3.cjs`),n=require(`./chunk-5PVQY5BW-DEPZKGvb.cjs`);function r(e){return e[0]}function i(e){return e[1]}function a(a,o){var s=e.n(!0),c=null,l=n.G,u=null,d=e.t(f);a=typeof a==`function`?a:a===void 0?r:e.n(a),o=typeof o==`function`?o:o===void 0?i:e.n(o);function f(e){var n,r=(e=t.t(e)).length,i,f=!1,p;for(c??(u=l(p=d())),n=0;n<=r;++n)!(n<r&&s(i=e[n],n,e))===f&&((f=!f)?u.lineStart():u.lineEnd()),f&&u.point(+a(i,n,e),+o(i,n,e));if(p)return u=null,p+``||null}return f.x=function(t){return arguments.length?(a=typeof t==`function`?t:e.n(+t),f):a},f.y=function(t){return arguments.length?(o=typeof t==`function`?t:e.n(+t),f):o},f.defined=function(t){return arguments.length?(s=typeof t==`function`?t:e.n(!!t),f):s},f.curve=function(e){return arguments.length?(l=e,c!=null&&(u=l(c)),f):l},f.context=function(e){return arguments.length?(e==null?c=u=null:u=l(c=e),f):c},f}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return a}});
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { n as e, t } from "./path-CvfwEr8y.js";
|
|
2
|
+
import { t as n } from "./array-D8NZ46Ht.js";
|
|
3
|
+
import { G as r } from "./chunk-5PVQY5BW-Dn8n6moB.js";
|
|
4
|
+
//#region node_modules/d3-shape/src/point.js
|
|
5
|
+
function i(e) {
|
|
6
|
+
return e[0];
|
|
7
|
+
}
|
|
8
|
+
function a(e) {
|
|
9
|
+
return e[1];
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region node_modules/d3-shape/src/line.js
|
|
13
|
+
function o(o, s) {
|
|
14
|
+
var c = e(!0), l = null, u = r, d = null, f = t(p);
|
|
15
|
+
o = typeof o == "function" ? o : o === void 0 ? i : e(o), s = typeof s == "function" ? s : s === void 0 ? a : e(s);
|
|
16
|
+
function p(e) {
|
|
17
|
+
var t, r = (e = n(e)).length, i, a = !1, p;
|
|
18
|
+
for (l ?? (d = u(p = f())), t = 0; t <= r; ++t) !(t < r && c(i = e[t], t, e)) === a && ((a = !a) ? d.lineStart() : d.lineEnd()), a && d.point(+o(i, t, e), +s(i, t, e));
|
|
19
|
+
if (p) return d = null, p + "" || null;
|
|
20
|
+
}
|
|
21
|
+
return p.x = function(t) {
|
|
22
|
+
return arguments.length ? (o = typeof t == "function" ? t : e(+t), p) : o;
|
|
23
|
+
}, p.y = function(t) {
|
|
24
|
+
return arguments.length ? (s = typeof t == "function" ? t : e(+t), p) : s;
|
|
25
|
+
}, p.defined = function(t) {
|
|
26
|
+
return arguments.length ? (c = typeof t == "function" ? t : e(!!t), p) : c;
|
|
27
|
+
}, p.curve = function(e) {
|
|
28
|
+
return arguments.length ? (u = e, l != null && (d = u(l)), p) : u;
|
|
29
|
+
}, p.context = function(e) {
|
|
30
|
+
return arguments.length ? (e == null ? l = d = null : d = u(l = e), p) : l;
|
|
31
|
+
}, p;
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
export { o as t };
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import { l as e, n as t, o as n, r, t as i } from "./src-BQiFKP24.js";
|
|
2
|
+
import { i as a, n as o, r as s, t as c } from "./defaultLocale-Dcyuaxxg.js";
|
|
3
|
+
import { t as l } from "./init-BO60vQHJ.js";
|
|
4
|
+
//#region node_modules/d3-array/src/ascending.js
|
|
5
|
+
function u(e, t) {
|
|
6
|
+
return e == null || t == null ? NaN : e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region node_modules/d3-array/src/descending.js
|
|
10
|
+
function d(e, t) {
|
|
11
|
+
return e == null || t == null ? NaN : t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region node_modules/d3-array/src/bisector.js
|
|
15
|
+
function f(e) {
|
|
16
|
+
let t, n, r;
|
|
17
|
+
e.length === 2 ? (t = e === u || e === d ? e : p, n = e, r = e) : (t = u, n = (t, n) => u(e(t), n), r = (t, n) => e(t) - n);
|
|
18
|
+
function i(e, r, i = 0, a = e.length) {
|
|
19
|
+
if (i < a) {
|
|
20
|
+
if (t(r, r) !== 0) return a;
|
|
21
|
+
do {
|
|
22
|
+
let t = i + a >>> 1;
|
|
23
|
+
n(e[t], r) < 0 ? i = t + 1 : a = t;
|
|
24
|
+
} while (i < a);
|
|
25
|
+
}
|
|
26
|
+
return i;
|
|
27
|
+
}
|
|
28
|
+
function a(e, r, i = 0, a = e.length) {
|
|
29
|
+
if (i < a) {
|
|
30
|
+
if (t(r, r) !== 0) return a;
|
|
31
|
+
do {
|
|
32
|
+
let t = i + a >>> 1;
|
|
33
|
+
n(e[t], r) <= 0 ? i = t + 1 : a = t;
|
|
34
|
+
} while (i < a);
|
|
35
|
+
}
|
|
36
|
+
return i;
|
|
37
|
+
}
|
|
38
|
+
function o(e, t, n = 0, a = e.length) {
|
|
39
|
+
let o = i(e, t, n, a - 1);
|
|
40
|
+
return o > n && r(e[o - 1], t) > -r(e[o], t) ? o - 1 : o;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
left: i,
|
|
44
|
+
center: o,
|
|
45
|
+
right: a
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function p() {
|
|
49
|
+
return 0;
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region node_modules/d3-array/src/number.js
|
|
53
|
+
function m(e) {
|
|
54
|
+
return e === null ? NaN : +e;
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region node_modules/d3-array/src/bisect.js
|
|
58
|
+
var h = f(u), g = h.right;
|
|
59
|
+
h.left, f(m).center;
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region node_modules/d3-array/src/ticks.js
|
|
62
|
+
var _ = Math.sqrt(50), v = Math.sqrt(10), y = Math.sqrt(2);
|
|
63
|
+
function b(e, t, n) {
|
|
64
|
+
let r = (t - e) / Math.max(0, n), i = Math.floor(Math.log10(r)), a = r / 10 ** i, o = a >= _ ? 10 : a >= v ? 5 : a >= y ? 2 : 1, s, c, l;
|
|
65
|
+
return i < 0 ? (l = 10 ** -i / o, s = Math.round(e * l), c = Math.round(t * l), s / l < e && ++s, c / l > t && --c, l = -l) : (l = 10 ** i * o, s = Math.round(e / l), c = Math.round(t / l), s * l < e && ++s, c * l > t && --c), c < s && .5 <= n && n < 2 ? b(e, t, n * 2) : [
|
|
66
|
+
s,
|
|
67
|
+
c,
|
|
68
|
+
l
|
|
69
|
+
];
|
|
70
|
+
}
|
|
71
|
+
function x(e, t, n) {
|
|
72
|
+
if (t = +t, e = +e, n = +n, !(n > 0)) return [];
|
|
73
|
+
if (e === t) return [e];
|
|
74
|
+
let r = t < e, [i, a, o] = r ? b(t, e, n) : b(e, t, n);
|
|
75
|
+
if (!(a >= i)) return [];
|
|
76
|
+
let s = a - i + 1, c = Array(s);
|
|
77
|
+
if (r) if (o < 0) for (let e = 0; e < s; ++e) c[e] = (a - e) / -o;
|
|
78
|
+
else for (let e = 0; e < s; ++e) c[e] = (a - e) * o;
|
|
79
|
+
else if (o < 0) for (let e = 0; e < s; ++e) c[e] = (i + e) / -o;
|
|
80
|
+
else for (let e = 0; e < s; ++e) c[e] = (i + e) * o;
|
|
81
|
+
return c;
|
|
82
|
+
}
|
|
83
|
+
function S(e, t, n) {
|
|
84
|
+
return t = +t, e = +e, n = +n, b(e, t, n)[2];
|
|
85
|
+
}
|
|
86
|
+
function C(e, t, n) {
|
|
87
|
+
t = +t, e = +e, n = +n;
|
|
88
|
+
let r = t < e, i = r ? S(t, e, n) : S(e, t, n);
|
|
89
|
+
return (r ? -1 : 1) * (i < 0 ? 1 / -i : i);
|
|
90
|
+
}
|
|
91
|
+
//#endregion
|
|
92
|
+
//#region node_modules/d3-interpolate/src/numberArray.js
|
|
93
|
+
function w(e, t) {
|
|
94
|
+
t ||= [];
|
|
95
|
+
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
|
|
96
|
+
return function(a) {
|
|
97
|
+
for (i = 0; i < n; ++i) r[i] = e[i] * (1 - a) + t[i] * a;
|
|
98
|
+
return r;
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
function T(e) {
|
|
102
|
+
return ArrayBuffer.isView(e) && !(e instanceof DataView);
|
|
103
|
+
}
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region node_modules/d3-interpolate/src/array.js
|
|
106
|
+
function E(e, t) {
|
|
107
|
+
var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;
|
|
108
|
+
for (o = 0; o < r; ++o) i[o] = k(e[o], t[o]);
|
|
109
|
+
for (; o < n; ++o) a[o] = t[o];
|
|
110
|
+
return function(e) {
|
|
111
|
+
for (o = 0; o < r; ++o) a[o] = i[o](e);
|
|
112
|
+
return a;
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
//#endregion
|
|
116
|
+
//#region node_modules/d3-interpolate/src/date.js
|
|
117
|
+
function D(e, t) {
|
|
118
|
+
var n = /* @__PURE__ */ new Date();
|
|
119
|
+
return e = +e, t = +t, function(r) {
|
|
120
|
+
return n.setTime(e * (1 - r) + t * r), n;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region node_modules/d3-interpolate/src/object.js
|
|
125
|
+
function O(e, t) {
|
|
126
|
+
var n = {}, r = {}, i;
|
|
127
|
+
for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = k(e[i], t[i]) : r[i] = t[i];
|
|
128
|
+
return function(e) {
|
|
129
|
+
for (i in n) r[i] = n[i](e);
|
|
130
|
+
return r;
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
//#endregion
|
|
134
|
+
//#region node_modules/d3-interpolate/src/value.js
|
|
135
|
+
function k(a, o) {
|
|
136
|
+
var s = typeof o, c;
|
|
137
|
+
return o == null || s === "boolean" ? n(o) : (s === "number" ? t : s === "string" ? (c = e(o)) ? (o = c, r) : i : o instanceof e ? r : o instanceof Date ? D : T(o) ? w : Array.isArray(o) ? E : typeof o.valueOf != "function" && typeof o.toString != "function" || isNaN(o) ? O : t)(a, o);
|
|
138
|
+
}
|
|
139
|
+
//#endregion
|
|
140
|
+
//#region node_modules/d3-interpolate/src/round.js
|
|
141
|
+
function A(e, t) {
|
|
142
|
+
return e = +e, t = +t, function(n) {
|
|
143
|
+
return Math.round(e * (1 - n) + t * n);
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
//#endregion
|
|
147
|
+
//#region node_modules/d3-format/src/precisionFixed.js
|
|
148
|
+
function j(e) {
|
|
149
|
+
return Math.max(0, -a(Math.abs(e)));
|
|
150
|
+
}
|
|
151
|
+
//#endregion
|
|
152
|
+
//#region node_modules/d3-format/src/precisionPrefix.js
|
|
153
|
+
function M(e, t) {
|
|
154
|
+
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(a(t) / 3))) * 3 - a(Math.abs(e)));
|
|
155
|
+
}
|
|
156
|
+
//#endregion
|
|
157
|
+
//#region node_modules/d3-format/src/precisionRound.js
|
|
158
|
+
function N(e, t) {
|
|
159
|
+
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, a(t) - a(e)) + 1;
|
|
160
|
+
}
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region node_modules/d3-scale/src/constant.js
|
|
163
|
+
function P(e) {
|
|
164
|
+
return function() {
|
|
165
|
+
return e;
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
//#endregion
|
|
169
|
+
//#region node_modules/d3-scale/src/number.js
|
|
170
|
+
function F(e) {
|
|
171
|
+
return +e;
|
|
172
|
+
}
|
|
173
|
+
//#endregion
|
|
174
|
+
//#region node_modules/d3-scale/src/continuous.js
|
|
175
|
+
var I = [0, 1];
|
|
176
|
+
function L(e) {
|
|
177
|
+
return e;
|
|
178
|
+
}
|
|
179
|
+
function R(e, t) {
|
|
180
|
+
return (t -= e = +e) ? function(n) {
|
|
181
|
+
return (n - e) / t;
|
|
182
|
+
} : P(isNaN(t) ? NaN : .5);
|
|
183
|
+
}
|
|
184
|
+
function z(e, t) {
|
|
185
|
+
var n;
|
|
186
|
+
return e > t && (n = e, e = t, t = n), function(n) {
|
|
187
|
+
return Math.max(e, Math.min(t, n));
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
function B(e, t, n) {
|
|
191
|
+
var r = e[0], i = e[1], a = t[0], o = t[1];
|
|
192
|
+
return i < r ? (r = R(i, r), a = n(o, a)) : (r = R(r, i), a = n(a, o)), function(e) {
|
|
193
|
+
return a(r(e));
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
function V(e, t, n) {
|
|
197
|
+
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
|
|
198
|
+
for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = R(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
|
|
199
|
+
return function(t) {
|
|
200
|
+
var n = g(e, t, 1, r) - 1;
|
|
201
|
+
return a[n](i[n](t));
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
function H(e, t) {
|
|
205
|
+
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
|
|
206
|
+
}
|
|
207
|
+
function U() {
|
|
208
|
+
var e = I, n = I, r = k, i, a, o, s = L, c, l, u;
|
|
209
|
+
function d() {
|
|
210
|
+
var t = Math.min(e.length, n.length);
|
|
211
|
+
return s !== L && (s = z(e[0], e[t - 1])), c = t > 2 ? V : B, l = u = null, f;
|
|
212
|
+
}
|
|
213
|
+
function f(t) {
|
|
214
|
+
return t == null || isNaN(t = +t) ? o : (l ||= c(e.map(i), n, r))(i(s(t)));
|
|
215
|
+
}
|
|
216
|
+
return f.invert = function(r) {
|
|
217
|
+
return s(a((u ||= c(n, e.map(i), t))(r)));
|
|
218
|
+
}, f.domain = function(t) {
|
|
219
|
+
return arguments.length ? (e = Array.from(t, F), d()) : e.slice();
|
|
220
|
+
}, f.range = function(e) {
|
|
221
|
+
return arguments.length ? (n = Array.from(e), d()) : n.slice();
|
|
222
|
+
}, f.rangeRound = function(e) {
|
|
223
|
+
return n = Array.from(e), r = A, d();
|
|
224
|
+
}, f.clamp = function(e) {
|
|
225
|
+
return arguments.length ? (s = e ? !0 : L, d()) : s !== L;
|
|
226
|
+
}, f.interpolate = function(e) {
|
|
227
|
+
return arguments.length ? (r = e, d()) : r;
|
|
228
|
+
}, f.unknown = function(e) {
|
|
229
|
+
return arguments.length ? (o = e, f) : o;
|
|
230
|
+
}, function(e, t) {
|
|
231
|
+
return i = e, a = t, d();
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
function W() {
|
|
235
|
+
return U()(L, L);
|
|
236
|
+
}
|
|
237
|
+
//#endregion
|
|
238
|
+
//#region node_modules/d3-scale/src/tickFormat.js
|
|
239
|
+
function G(e, t, n, r) {
|
|
240
|
+
var i = C(e, t, n), a;
|
|
241
|
+
switch (r = s(r ?? ",f"), r.type) {
|
|
242
|
+
case "s":
|
|
243
|
+
var l = Math.max(Math.abs(e), Math.abs(t));
|
|
244
|
+
return r.precision == null && !isNaN(a = M(i, l)) && (r.precision = a), o(r, l);
|
|
245
|
+
case "":
|
|
246
|
+
case "e":
|
|
247
|
+
case "g":
|
|
248
|
+
case "p":
|
|
249
|
+
case "r":
|
|
250
|
+
r.precision == null && !isNaN(a = N(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
|
|
251
|
+
break;
|
|
252
|
+
case "f":
|
|
253
|
+
case "%":
|
|
254
|
+
r.precision == null && !isNaN(a = j(i)) && (r.precision = a - (r.type === "%") * 2);
|
|
255
|
+
break;
|
|
256
|
+
}
|
|
257
|
+
return c(r);
|
|
258
|
+
}
|
|
259
|
+
//#endregion
|
|
260
|
+
//#region node_modules/d3-scale/src/linear.js
|
|
261
|
+
function K(e) {
|
|
262
|
+
var t = e.domain;
|
|
263
|
+
return e.ticks = function(e) {
|
|
264
|
+
var n = t();
|
|
265
|
+
return x(n[0], n[n.length - 1], e ?? 10);
|
|
266
|
+
}, e.tickFormat = function(e, n) {
|
|
267
|
+
var r = t();
|
|
268
|
+
return G(r[0], r[r.length - 1], e ?? 10, n);
|
|
269
|
+
}, e.nice = function(n) {
|
|
270
|
+
n ??= 10;
|
|
271
|
+
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
|
|
272
|
+
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
|
|
273
|
+
if (l = S(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
|
|
274
|
+
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
|
|
275
|
+
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
|
|
276
|
+
else break;
|
|
277
|
+
c = l;
|
|
278
|
+
}
|
|
279
|
+
return e;
|
|
280
|
+
}, e;
|
|
281
|
+
}
|
|
282
|
+
function q() {
|
|
283
|
+
var e = W();
|
|
284
|
+
return e.copy = function() {
|
|
285
|
+
return H(e, q());
|
|
286
|
+
}, l.apply(e, arguments), K(e);
|
|
287
|
+
}
|
|
288
|
+
//#endregion
|
|
289
|
+
export { f as a, C as i, W as n, H as r, q as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./src-DFxq-N5I.cjs`),t=require(`./defaultLocale-DtzyZW63.cjs`),n=require(`./init-B2MubQrj.cjs`);function r(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function i(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function a(e){let t,n,a;e.length===2?(t=e===r||e===i?e:o,n=e,a=e):(t=r,n=(t,n)=>r(e(t),n),a=(t,n)=>e(t)-n);function s(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function c(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function l(e,t,n=0,r=e.length){let i=s(e,t,n,r-1);return i>n&&a(e[i-1],t)>-a(e[i],t)?i-1:i}return{left:s,center:l,right:c}}function o(){return 0}function s(e){return e===null?NaN:+e}var c=a(r),l=c.right;c.left,a(s).center;var u=Math.sqrt(50),d=Math.sqrt(10),f=Math.sqrt(2);function p(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=u?10:a>=d?5:a>=f?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?p(e,t,n*2):[s,c,l]}function m(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?p(t,e,n):p(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r)if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o;else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function h(e,t,n){return t=+t,e=+e,n=+n,p(e,t,n)[2]}function g(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?h(t,e,n):h(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function _(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function v(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function y(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o;for(o=0;o<r;++o)i[o]=S(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function b(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function x(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=S(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}function S(t,n){var r=typeof n,i;return n==null||r===`boolean`?e.o(n):(r===`number`?e.n:r===`string`?(i=e.l(n))?(n=i,e.r):e.t:n instanceof e.l?e.r:n instanceof Date?b:v(n)?_:Array.isArray(n)?y:typeof n.valueOf!=`function`&&typeof n.toString!=`function`||isNaN(n)?x:e.n)(t,n)}function C(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function w(e){return Math.max(0,-t.i(Math.abs(e)))}function T(e,n){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(t.i(n)/3)))*3-t.i(Math.abs(e)))}function E(e,n){return e=Math.abs(e),n=Math.abs(n)-e,Math.max(0,t.i(n)-t.i(e))+1}function D(e){return function(){return e}}function O(e){return+e}var k=[0,1];function A(e){return e}function j(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:D(isNaN(t)?NaN:.5)}function M(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function N(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=j(i,r),a=n(o,a)):(r=j(r,i),a=n(a,o)),function(e){return a(r(e))}}function P(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=j(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=l(e,t,1,r)-1;return a[n](i[n](t))}}function F(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function I(){var t=k,n=k,r=S,i,a,o,s=A,c,l,u;function d(){var e=Math.min(t.length,n.length);return s!==A&&(s=M(t[0],t[e-1])),c=e>2?P:N,l=u=null,f}function f(e){return e==null||isNaN(e=+e)?o:(l||=c(t.map(i),n,r))(i(s(e)))}return f.invert=function(r){return s(a((u||=c(n,t.map(i),e.n))(r)))},f.domain=function(e){return arguments.length?(t=Array.from(e,O),d()):t.slice()},f.range=function(e){return arguments.length?(n=Array.from(e),d()):n.slice()},f.rangeRound=function(e){return n=Array.from(e),r=C,d()},f.clamp=function(e){return arguments.length?(s=e?!0:A,d()):s!==A},f.interpolate=function(e){return arguments.length?(r=e,d()):r},f.unknown=function(e){return arguments.length?(o=e,f):o},function(e,t){return i=e,a=t,d()}}function L(){return I()(A,A)}function R(e,n,r,i){var a=g(e,n,r),o;switch(i=t.r(i??`,f`),i.type){case`s`:var s=Math.max(Math.abs(e),Math.abs(n));return i.precision==null&&!isNaN(o=T(a,s))&&(i.precision=o),t.n(i,s);case``:case`e`:case`g`:case`p`:case`r`:i.precision==null&&!isNaN(o=E(a,Math.max(Math.abs(e),Math.abs(n))))&&(i.precision=o-(i.type===`e`));break;case`f`:case`%`:i.precision==null&&!isNaN(o=w(a))&&(i.precision=o-(i.type===`%`)*2);break}return t.t(i)}function z(e){var t=e.domain;return e.ticks=function(e){var n=t();return m(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return R(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-- >0;){if(l=h(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function B(){var e=L();return e.copy=function(){return F(e,B())},n.t.apply(e,arguments),z(e)}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return L}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return F}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return B}});
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { m as e } from "./chunk-K5T4RW27-DY7TOEqa.js";
|
|
2
|
+
import "./chunk-7N4EOEYR-C-GuhRgW.js";
|
|
3
|
+
import "./chunk-67CJDMHE-YMBkJcAO.js";
|
|
4
|
+
import "./chunk-KGLVRYIC-5OJpfQCj.js";
|
|
5
|
+
import "./chunk-FOC6F5B3-E9n6-juB.js";
|
|
6
|
+
import "./chunk-AA7GKIK3-B_ZB6dou.js";
|
|
7
|
+
import "./chunk-2KRD3SAO-Ca3zDQyj.js";
|
|
8
|
+
import "./chunk-ORNJ4GCN-CwkOSFbS.js";
|
|
9
|
+
import "./chunk-LIHQZDEY-59I4-LWb.js";
|
|
10
|
+
import "./chunk-CIAEETIT-XlxsAz-4.js";
|
|
11
|
+
//#region node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs
|
|
12
|
+
var t = {}, n = {
|
|
13
|
+
info: /* @__PURE__ */ e(async () => {
|
|
14
|
+
let { createInfoServices: e } = await import("./info-OMHHGYJF-Bk0VWVNW.js");
|
|
15
|
+
t.info = e().Info.parser.LangiumParser;
|
|
16
|
+
}, "info"),
|
|
17
|
+
packet: /* @__PURE__ */ e(async () => {
|
|
18
|
+
let { createPacketServices: e } = await import("./packet-4T2RLAQJ-X0BMsNFj.js");
|
|
19
|
+
t.packet = e().Packet.parser.LangiumParser;
|
|
20
|
+
}, "packet"),
|
|
21
|
+
pie: /* @__PURE__ */ e(async () => {
|
|
22
|
+
let { createPieServices: e } = await import("./pie-ZZUOXDRM-CJ_fU5k1.js");
|
|
23
|
+
t.pie = e().Pie.parser.LangiumParser;
|
|
24
|
+
}, "pie"),
|
|
25
|
+
treeView: /* @__PURE__ */ e(async () => {
|
|
26
|
+
let { createTreeViewServices: e } = await import("./treeView-SZITEDCU-Df3xzFtO.js");
|
|
27
|
+
t.treeView = e().TreeView.parser.LangiumParser;
|
|
28
|
+
}, "treeView"),
|
|
29
|
+
architecture: /* @__PURE__ */ e(async () => {
|
|
30
|
+
let { createArchitectureServices: e } = await import("./architecture-YZFGNWBL-BRqToLcm.js");
|
|
31
|
+
t.architecture = e().Architecture.parser.LangiumParser;
|
|
32
|
+
}, "architecture"),
|
|
33
|
+
gitGraph: /* @__PURE__ */ e(async () => {
|
|
34
|
+
let { createGitGraphServices: e } = await import("./gitGraph-7Q5UKJZL-sjlqDwJ_.js");
|
|
35
|
+
t.gitGraph = e().GitGraph.parser.LangiumParser;
|
|
36
|
+
}, "gitGraph"),
|
|
37
|
+
radar: /* @__PURE__ */ e(async () => {
|
|
38
|
+
let { createRadarServices: e } = await import("./radar-PYXPWWZC-DgZIW9Ah.js");
|
|
39
|
+
t.radar = e().Radar.parser.LangiumParser;
|
|
40
|
+
}, "radar"),
|
|
41
|
+
treemap: /* @__PURE__ */ e(async () => {
|
|
42
|
+
let { createTreemapServices: e } = await import("./treemap-W4RFUUIX-ClUtdSdn.js");
|
|
43
|
+
t.treemap = e().Treemap.parser.LangiumParser;
|
|
44
|
+
}, "treemap"),
|
|
45
|
+
wardley: /* @__PURE__ */ e(async () => {
|
|
46
|
+
let { createWardleyServices: e } = await import("./wardley-RL74JXVD-BtHQbnUy.js");
|
|
47
|
+
t.wardley = e().Wardley.parser.LangiumParser;
|
|
48
|
+
}, "wardley")
|
|
49
|
+
};
|
|
50
|
+
async function r(e, r) {
|
|
51
|
+
let a = n[e];
|
|
52
|
+
if (!a) throw Error(`Unknown diagram type: ${e}`);
|
|
53
|
+
t[e] || await a();
|
|
54
|
+
let o = t[e].parse(r);
|
|
55
|
+
if (o.lexerErrors.length > 0 || o.parserErrors.length > 0) throw new i(o);
|
|
56
|
+
return o.value;
|
|
57
|
+
}
|
|
58
|
+
e(r, "parse");
|
|
59
|
+
var i = class extends Error {
|
|
60
|
+
constructor(e) {
|
|
61
|
+
let t = e.lexerErrors.map((e) => `Lexer error on line ${e.line !== void 0 && !isNaN(e.line) ? e.line : "?"}, column ${e.column !== void 0 && !isNaN(e.column) ? e.column : "?"}: ${e.message}`).join("\n"), n = e.parserErrors.map((e) => `Parse error on line ${e.token.startLine !== void 0 && !isNaN(e.token.startLine) ? e.token.startLine : "?"}, column ${e.token.startColumn !== void 0 && !isNaN(e.token.startColumn) ? e.token.startColumn : "?"}: ${e.message}`).join("\n");
|
|
62
|
+
super(`Parsing failed: ${t} ${n}`), this.result = e;
|
|
63
|
+
}
|
|
64
|
+
static {
|
|
65
|
+
e(this, "MermaidParseError");
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
//#endregion
|
|
69
|
+
export { r as t };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
const e=require(`./chunk-K5T4RW27-BzDQkjC7.cjs`);require(`./chunk-7N4EOEYR-jNBQwvHx.cjs`),require(`./chunk-67CJDMHE-2Qg7i1xJ.cjs`),require(`./chunk-KGLVRYIC-DnbIkai8.cjs`),require(`./chunk-FOC6F5B3-DcZs851j.cjs`),require(`./chunk-AA7GKIK3-dqnTmnvO.cjs`),require(`./chunk-2KRD3SAO-oZrIWZvV.cjs`),require(`./chunk-ORNJ4GCN-CcrEtiCn.cjs`),require(`./chunk-LIHQZDEY-CrogR3nT.cjs`),require(`./chunk-CIAEETIT-ClHUj0Su.cjs`);var t={},n={info:e.m(async()=>{let{createInfoServices:e}=await Promise.resolve().then(()=>require(`./info-OMHHGYJF-C8QtwF0k.cjs`));t.info=e().Info.parser.LangiumParser},`info`),packet:e.m(async()=>{let{createPacketServices:e}=await Promise.resolve().then(()=>require(`./packet-4T2RLAQJ-lvmQnXPI.cjs`));t.packet=e().Packet.parser.LangiumParser},`packet`),pie:e.m(async()=>{let{createPieServices:e}=await Promise.resolve().then(()=>require(`./pie-ZZUOXDRM-Dp4APKqR.cjs`));t.pie=e().Pie.parser.LangiumParser},`pie`),treeView:e.m(async()=>{let{createTreeViewServices:e}=await Promise.resolve().then(()=>require(`./treeView-SZITEDCU-CT5vX0q9.cjs`));t.treeView=e().TreeView.parser.LangiumParser},`treeView`),architecture:e.m(async()=>{let{createArchitectureServices:e}=await Promise.resolve().then(()=>require(`./architecture-YZFGNWBL-BTOWQWD9.cjs`));t.architecture=e().Architecture.parser.LangiumParser},`architecture`),gitGraph:e.m(async()=>{let{createGitGraphServices:e}=await Promise.resolve().then(()=>require(`./gitGraph-7Q5UKJZL-DZea3ltD.cjs`));t.gitGraph=e().GitGraph.parser.LangiumParser},`gitGraph`),radar:e.m(async()=>{let{createRadarServices:e}=await Promise.resolve().then(()=>require(`./radar-PYXPWWZC-BHWJy_E1.cjs`));t.radar=e().Radar.parser.LangiumParser},`radar`),treemap:e.m(async()=>{let{createTreemapServices:e}=await Promise.resolve().then(()=>require(`./treemap-W4RFUUIX-Bk_jVZ7D.cjs`));t.treemap=e().Treemap.parser.LangiumParser},`treemap`),wardley:e.m(async()=>{let{createWardleyServices:e}=await Promise.resolve().then(()=>require(`./wardley-RL74JXVD-y8RO5Iqv.cjs`));t.wardley=e().Wardley.parser.LangiumParser},`wardley`)};async function r(e,r){let a=n[e];if(!a)throw Error(`Unknown diagram type: ${e}`);t[e]||await a();let o=t[e].parse(r);if(o.lexerErrors.length>0||o.parserErrors.length>0)throw new i(o);return o.value}e.m(r,`parse`);var i=class extends Error{constructor(e){let t=e.lexerErrors.map(e=>`Lexer error on line ${e.line!==void 0&&!isNaN(e.line)?e.line:`?`}, column ${e.column!==void 0&&!isNaN(e.column)?e.column:`?`}: ${e.message}`).join(`
|
|
2
|
+
`),n=e.parserErrors.map(e=>`Parse error on line ${e.token.startLine!==void 0&&!isNaN(e.token.startLine)?e.token.startLine:`?`}, column ${e.token.startColumn!==void 0&&!isNaN(e.token.startColumn)?e.token.startColumn:`?`}: ${e.message}`).join(`
|
|
3
|
+
`);super(`Parsing failed: ${t} ${n}`),this.result=e}static{e.m(this,`MermaidParseError`)}};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
require(`./chunk-D-IZpNpi.cjs`);const e=require(`./chunk-ICPOFSXX-hY6BIZ4Y.cjs`),t=require(`./src-DFxq-N5I.cjs`);require(`./chunk-5PVQY5BW-DEPZKGvb.cjs`),require(`./chunk-BSJP7CBP-CFzYPvgr.cjs`),require(`./chunk-ZZ45TVLE-BfSqZnT4.cjs`),require(`./chunk-X2U36JSP-CtXjVqek.cjs`),require(`./chunk-U2HBQHQK-CJ77uizk.cjs`),require(`./chunk-5FUZZQ4R-Cj5KbGC7.cjs`),require(`./chunk-ENJZ2VHE-BAWfx0nA.cjs`);const n=require(`./chunk-336JU56O-DQhIGd25.cjs`),r=require(`./v4-6yr83DbP.cjs`),i=require(`./chunk-55IACEB6-DPatBzu7.cjs`),a=require(`./chunk-EDXVE4YY-1dwNWzc7.cjs`);var o=(function(){var e=t.h(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,6,13,15,16,19,22],h=[1,33],g=[1,34],_=[1,6,7,11,13,15,16,19,22],v={trace:t.h(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`MINDMAP`,11:`EOF`,13:`SPACELIST`,15:`ICON`,16:`CLASS`,19:`NODE_DSTART`,20:`NODE_DESCR`,21:`NODE_DEND`,22:`NODE_ID`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:t.h(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace(`SPACELIST`);break;case 19:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},e(l,[2,3]),{1:[2,2]},e(l,[2,4]),e(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:r,9:22,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:u,7:d,10:23,11:f},e(p,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:s,22:c}),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),e(p,[2,21]),e(p,[2,23]),e(p,[2,24]),e(p,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:d,10:32,11:f},{1:[2,7],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},e(m,[2,14],{7:h,11:g}),e(_,[2,8]),e(_,[2,9]),e(_,[2,10]),e(p,[2,15]),e(p,[2,16]),e(p,[2,17]),{20:[1,35]},{21:[1,36]},e(m,[2,13],{7:h,11:g}),e(_,[2,11]),e(_,[2,12]),{21:[1,37]},e(p,[2,25]),e(p,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:t.h(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:t.h(function(e){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}t.h(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}t.h(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
|
+
`+h.showPosition()+`
|
|
3
|
+
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};v.lexer=(function(){return{EOF:1,parseError:t.h(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:t.h(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:t.h(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:t.h(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:t.h(function(){return this._more=!0,this},`more`),reject:t.h(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:t.h(function(e){this.unput(this.match.slice(e))},`less`),pastInput:t.h(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:t.h(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:t.h(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
5
|
+
`+t+`^`},`showPosition`),test_match:t.h(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:t.h(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:t.h(function(){return this.next()||this.lex()},`lex`),begin:t.h(function(e){this.conditionStack.push(e)},`begin`),popState:t.h(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:t.h(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:t.h(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:t.h(function(e){this.begin(e)},`pushState`),stateStackSize:t.h(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:t.h(function(e,t,n,r){switch(n){case 0:return e.getLogger().trace(`Found comment`,t.yytext),6;case 1:return 8;case 2:this.begin(`CLASS`);break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:e.getLogger().trace(`Begin icon`),this.begin(`ICON`);break;case 6:return e.getLogger().trace(`SPACELINE`),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace(`end icon`),this.popState();break;case 10:return e.getLogger().trace(`Exploding node`),this.begin(`NODE`),19;case 11:return e.getLogger().trace(`Cloud`),this.begin(`NODE`),19;case 12:return e.getLogger().trace(`Explosion Bang`),this.begin(`NODE`),19;case 13:return e.getLogger().trace(`Cloud Bang`),this.begin(`NODE`),19;case 14:return this.begin(`NODE`),19;case 15:return this.begin(`NODE`),19;case 16:return this.begin(`NODE`),19;case 17:return this.begin(`NODE`),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin(`NSTR2`);break;case 22:return`NODE_DESCR`;case 23:this.popState();break;case 24:e.getLogger().trace(`Starting NSTR`),this.begin(`NSTR`);break;case 25:return e.getLogger().trace(`description:`,t.yytext),`NODE_DESCR`;case 26:this.popState();break;case 27:return this.popState(),e.getLogger().trace(`node end ))`),`NODE_DEND`;case 28:return this.popState(),e.getLogger().trace(`node end )`),`NODE_DEND`;case 29:return this.popState(),e.getLogger().trace(`node end ...`,t.yytext),`NODE_DEND`;case 30:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 31:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 32:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 33:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 34:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 35:return e.getLogger().trace(`Long description:`,t.yytext),20;case 36:return e.getLogger().trace(`Long description:`,t.yytext),20}},`anonymous`),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}}})();function y(){this.yy={}}return t.h(y,`Parser`),y.prototype=v,v.Parser=y,new y})();o.parser=o;var s=o,c=12,l={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},u=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=l,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{t.h(this,`MindmapDB`)}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let t=this.nodes.length-1;t>=0;t--)if(this.nodes[t].level<e)return this.nodes[t];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(n,r,i,a){t.g.info(`addNode`,n,r,i,a);let o=!1;this.nodes.length===0?(this.baseLevel=n,n=0,o=!0):this.baseLevel!==void 0&&(n-=this.baseLevel,o=!1);let s=e.b(),c=s.mindmap?.padding??e.d.mindmap.padding;switch(a){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:c*=2;break}let l={id:this.count++,nodeId:e.L(r,s),level:n,descr:e.L(i,s),type:a,children:[],width:s.mindmap?.maxNodeWidth??e.d.mindmap.maxNodeWidth,padding:c,isRoot:o},u=this.getParent(n);if(u)u.children.push(l),this.nodes.push(l);else if(o)this.nodes.push(l);else throw Error(`There can be only one root. No parent could be found for ("${l.descr}")`)}getType(e,n){switch(t.g.debug(`In get type`,e,n),e){case`[`:return this.nodeType.RECT;case`(`:return n===`)`?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case`((`:return this.nodeType.CIRCLE;case`)`:return this.nodeType.CLOUD;case`))`:return this.nodeType.BANG;case`{{`:return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,t){this.elements[e]=t}getElementById(e){return this.elements[e]}decorateNode(t){if(!t)return;let n=e.b(),r=this.nodes[this.nodes.length-1];t.icon&&(r.icon=e.L(t.icon,n)),t.class&&(r.class=e.L(t.class,n))}type2Str(e){switch(e){case this.nodeType.DEFAULT:return`no-border`;case this.nodeType.RECT:return`rect`;case this.nodeType.ROUNDED_RECT:return`rounded-rect`;case this.nodeType.CIRCLE:return`circle`;case this.nodeType.CLOUD:return`cloud`;case this.nodeType.BANG:return`bang`;case this.nodeType.HEXAGON:return`hexgon`;default:return`no-border`}}assignSections(e,t){if(e.level===0?e.section=void 0:e.section=t,e.children)for(let[n,r]of e.children.entries()){let i=e.level===0?n%(c-1):t;this.assignSections(r,i)}}flattenNodes(n,r){let i=e.b(),a=[`mindmap-node`];n.isRoot===!0?a.push(`section-root`,`section--1`):n.section!==void 0&&a.push(`section-${n.section}`),n.class&&a.push(n.class);let o=a.join(` `),s=t.h(e=>{let t=(i.theme?.toLowerCase()??``).includes(`redux`);switch(e){case l.CIRCLE:return`mindmapCircle`;case l.RECT:return`rect`;case l.ROUNDED_RECT:return`rounded`;case l.CLOUD:return`cloud`;case l.BANG:return`bang`;case l.HEXAGON:return`hexagon`;case l.DEFAULT:return t?`rounded`:`defaultMindmapNode`;case l.NO_BORDER:default:return`rect`}},`getShapeFromType`),c={id:n.id.toString(),domId:`node_`+n.id.toString(),label:n.descr,labelType:`markdown`,isGroup:!1,shape:s(n.type),width:n.width,height:n.height??0,padding:n.padding,cssClasses:o,cssStyles:[],look:i.look,icon:n.icon,x:n.x,y:n.y,level:n.level,nodeId:n.nodeId,type:n.type,section:n.section};if(r.push(c),n.children)for(let e of n.children)this.flattenNodes(e,r)}generateEdges(t,n){if(!t.children)return;let r=e.b();for(let e of t.children){let i=`edge`;e.section!==void 0&&(i+=` section-edge-${e.section}`);let a=t.level+1;i+=` edge-depth-${a}`;let o={id:`edge_${t.id}_${e.id}`,start:t.id.toString(),end:e.id.toString(),type:`normal`,curve:`basis`,thickness:`normal`,look:r.look,classes:i,depth:t.level,section:e.section};n.push(o),this.generateEdges(e,n)}}getData(){let n=this.getMindmap(),i=e.b(),a=e.O().layout!==void 0,o=i;if(a||(o.layout=`cose-bilkent`),!n)return{nodes:[],edges:[],config:o};t.g.debug(`getData: mindmapRoot`,n,i),this.assignSections(n);let s=[],c=[];this.flattenNodes(n,s),this.generateEdges(n,c),t.g.debug(`getData: processed ${s.length} nodes and ${c.length} edges`);let l=new Map;for(let e of s)l.set(e.id,{shape:e.shape,width:e.width,height:e.height,padding:e.padding});return{nodes:s,edges:c,config:o,rootNode:n,markers:[`point`],direction:`TB`,nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(l),type:`mindmap`,diagramId:`mindmap-`+r.t()}}getLogger(){return t.g}},d={draw:t.h(async(r,o,s,c)=>{t.g.debug(`Rendering mindmap diagram
|
|
7
|
+
`+r);let l=c.db,u=l.getData(),d=i.t(o,u.config.securityLevel);if(u.type=c.type,u.layoutAlgorithm=n.t(u.config.layout,{fallback:`cose-bilkent`}),u.diagramId=o,!l.getMindmap())return;u.nodes.forEach(e=>{e.shape===`rounded`?(e.radius=15,e.taper=15,e.stroke=`none`,e.width=0,e.padding=15):e.shape===`circle`?e.padding=10:e.shape===`rect`?(e.width=0,e.padding=10):e.shape===`hexagon`&&(e.width=0,e.height=0)}),await n.r(u,d);let{themeVariables:f}=e.y(),{useGradient:p,gradientStart:m,gradientStop:h}=f;if(p&&m&&h){let e=d.attr(`id`),t=d.append(`defs`).append(`linearGradient`).attr(`id`,`${e}-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);t.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,m).attr(`stop-opacity`,1),t.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,h).attr(`stop-opacity`,1)}a.t(d,u.config.mindmap?.padding??e.d.mindmap.padding,`mindmapDiagram`,u.config.mindmap?.useMaxWidth??e.d.mindmap.useMaxWidth)},`draw`)},f=t.h(t=>{let{theme:n,look:r}=t,i=``;for(let n=0;n<t.THEME_COLOR_LIMIT;n++)t[`lineColor`+n]=t[`lineColor`+n]||t[`cScaleInv`+n],e.et(t[`lineColor`+n])?t[`lineColor`+n]=e.Q(t[`lineColor`+n],20):t[`lineColor`+n]=e.Z(t[`lineColor`+n],20);for(let e=0;e<t.THEME_COLOR_LIMIT;e++){let a=``+(r===`neo`?Math.max(10-(e-1)*2,2):17-3*e);i+=`
|
|
8
|
+
.section-${e-1} rect, .section-${e-1} path, .section-${e-1} circle, .section-${e-1} polygon, .section-${e-1} path {
|
|
9
|
+
fill: ${t[`cScale`+e]};
|
|
10
|
+
}
|
|
11
|
+
.section-${e-1} text {
|
|
12
|
+
fill: ${t[`cScaleLabel`+e]};
|
|
13
|
+
}
|
|
14
|
+
.section-${e-1} span {
|
|
15
|
+
color: ${t[`cScaleLabel`+e]};
|
|
16
|
+
}
|
|
17
|
+
.node-icon-${e-1} {
|
|
18
|
+
font-size: 40px;
|
|
19
|
+
color: ${t[`cScaleLabel`+e]};
|
|
20
|
+
}
|
|
21
|
+
.section-edge-${e-1}{
|
|
22
|
+
stroke: ${t[`cScale`+e]};
|
|
23
|
+
}
|
|
24
|
+
.edge-depth-${e-1}{
|
|
25
|
+
stroke-width: ${a};
|
|
26
|
+
}
|
|
27
|
+
.section-${e-1} line {
|
|
28
|
+
stroke: ${t[`cScaleInv`+e]} ;
|
|
29
|
+
stroke-width: 3;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.disabled, .disabled circle, .disabled text {
|
|
33
|
+
fill: lightgray;
|
|
34
|
+
}
|
|
35
|
+
.disabled text {
|
|
36
|
+
fill: #efefef;
|
|
37
|
+
}
|
|
38
|
+
[data-look="neo"].mindmap-node.section-${e-1} rect, [data-look="neo"].mindmap-node.section-${e-1} path, [data-look="neo"].mindmap-node.section-${e-1} circle, [data-look="neo"].mindmap-node.section-${e-1} polygon {
|
|
39
|
+
fill: ${n===`redux`||n===`redux-dark`||n===`neutral`?t.mainBkg:t[`cScale`+e]};
|
|
40
|
+
stroke: ${n===`redux`||n===`redux-dark`?t.nodeBorder:t[`cScale`+e]};
|
|
41
|
+
stroke-width: ${t.strokeWidth??2}px;
|
|
42
|
+
}
|
|
43
|
+
[data-look="neo"].section-edge-${e-1}{
|
|
44
|
+
stroke: ${n?.includes(`redux`)||n===`neo-dark`?t.nodeBorder:t[`cScale`+e]};
|
|
45
|
+
}
|
|
46
|
+
[data-look="neo"].mindmap-node.section-${e-1} text {
|
|
47
|
+
fill: ${n===`redux`||n===`redux-dark`?t.nodeBorder:t[`cScaleLabel`+(n===`neutral`?1:e)]};
|
|
48
|
+
}
|
|
49
|
+
`}return i},`genSections`),p=t.h((e,t,n)=>{let r=``;for(let i=0;i<e;i++)r+=`
|
|
50
|
+
[data-look="neo"].mindmap-node.section-${i-1} rect, [data-look="neo"].mindmap-node.section-${i-1} path, [data-look="neo"].mindmap-node.section-${i-1} circle, [data-look="neo"].mindmap-node.section-${i-1} polygon {
|
|
51
|
+
stroke: url(${t}-gradient);
|
|
52
|
+
fill: ${n};
|
|
53
|
+
}
|
|
54
|
+
.section-${i-1} line {
|
|
55
|
+
stroke-width: 0;
|
|
56
|
+
}`;return r},`genGradient`),m={get db(){return new u},renderer:d,parser:s,styles:t.h(e=>{let{theme:t}=e,n=e.svgId,r=e.dropShadow?e.dropShadow.replace(`url(#drop-shadow)`,`url(${n}-drop-shadow)`):`none`;return`
|
|
57
|
+
.edge {
|
|
58
|
+
stroke-width: 3;
|
|
59
|
+
}
|
|
60
|
+
${f(e)}
|
|
61
|
+
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
|
|
62
|
+
fill: ${e.git0};
|
|
63
|
+
}
|
|
64
|
+
.section-root text {
|
|
65
|
+
fill: ${e.gitBranchLabel0};
|
|
66
|
+
}
|
|
67
|
+
.section-root span {
|
|
68
|
+
color: ${t?.includes(`redux`)?e.nodeBorder:e.gitBranchLabel0};
|
|
69
|
+
}
|
|
70
|
+
.icon-container {
|
|
71
|
+
height:100%;
|
|
72
|
+
display: flex;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
align-items: center;
|
|
75
|
+
}
|
|
76
|
+
.edge {
|
|
77
|
+
fill: none;
|
|
78
|
+
}
|
|
79
|
+
.mindmap-node-label {
|
|
80
|
+
dy: 1em;
|
|
81
|
+
alignment-baseline: middle;
|
|
82
|
+
text-anchor: middle;
|
|
83
|
+
dominant-baseline: middle;
|
|
84
|
+
text-align: center;
|
|
85
|
+
}
|
|
86
|
+
[data-look="neo"].mindmap-node {
|
|
87
|
+
filter: ${r};
|
|
88
|
+
}
|
|
89
|
+
[data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {
|
|
90
|
+
fill: ${t?.includes(`redux`)?e.mainBkg:e.git0};
|
|
91
|
+
}
|
|
92
|
+
[data-look="neo"].mindmap-node.section-root .text-inner-tspan {
|
|
93
|
+
fill: ${t?.includes(`redux`)?e.nodeBorder:e[`cScaleLabel`+ +(t===`neutral`)]};
|
|
94
|
+
}
|
|
95
|
+
${e.useGradient&&n&&e.mainBkg?p(e.THEME_COLOR_LIMIT,n,e.mainBkg):``}
|
|
96
|
+
`},`getStyles`)};exports.diagram=m;
|