@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,978 @@
|
|
|
1
|
+
import { L as e, O as t, Q as n, Z as r, b as i, d as a, et as o, y as s } from "./chunk-ICPOFSXX-fQJ5ufMR.js";
|
|
2
|
+
import { g as c, h as l } from "./src-BQiFKP24.js";
|
|
3
|
+
import "./chunk-5PVQY5BW-Dn8n6moB.js";
|
|
4
|
+
import "./chunk-BSJP7CBP-oNTXVRA7.js";
|
|
5
|
+
import "./chunk-ZZ45TVLE-X2jolXSO.js";
|
|
6
|
+
import "./chunk-X2U36JSP-VxRY65ea.js";
|
|
7
|
+
import "./chunk-U2HBQHQK-Ceyeq0IV.js";
|
|
8
|
+
import "./chunk-5FUZZQ4R-D3C0F0Tr.js";
|
|
9
|
+
import "./chunk-ENJZ2VHE-CZ7BvL2h.js";
|
|
10
|
+
import { r as u, t as d } from "./chunk-336JU56O-DkZvWJVe.js";
|
|
11
|
+
import { t as f } from "./v4-BR71w5_q.js";
|
|
12
|
+
import { t as p } from "./chunk-55IACEB6-Bu3k0Yz5.js";
|
|
13
|
+
import { t as m } from "./chunk-EDXVE4YY-CGNVB686.js";
|
|
14
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-QFDTVHPH.mjs
|
|
15
|
+
var h = (function() {
|
|
16
|
+
var e = /* @__PURE__ */ l(function(e, t, n, r) {
|
|
17
|
+
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
18
|
+
return n;
|
|
19
|
+
}, "o"), t = [1, 4], n = [1, 13], r = [1, 12], i = [1, 15], a = [1, 16], o = [1, 20], s = [1, 19], c = [
|
|
20
|
+
6,
|
|
21
|
+
7,
|
|
22
|
+
8
|
|
23
|
+
], u = [1, 26], d = [1, 24], f = [1, 25], p = [
|
|
24
|
+
6,
|
|
25
|
+
7,
|
|
26
|
+
11
|
|
27
|
+
], m = [
|
|
28
|
+
1,
|
|
29
|
+
6,
|
|
30
|
+
13,
|
|
31
|
+
15,
|
|
32
|
+
16,
|
|
33
|
+
19,
|
|
34
|
+
22
|
|
35
|
+
], h = [1, 33], g = [1, 34], _ = [
|
|
36
|
+
1,
|
|
37
|
+
6,
|
|
38
|
+
7,
|
|
39
|
+
11,
|
|
40
|
+
13,
|
|
41
|
+
15,
|
|
42
|
+
16,
|
|
43
|
+
19,
|
|
44
|
+
22
|
|
45
|
+
], v = {
|
|
46
|
+
trace: /* @__PURE__ */ l(function() {}, "trace"),
|
|
47
|
+
yy: {},
|
|
48
|
+
symbols_: {
|
|
49
|
+
error: 2,
|
|
50
|
+
start: 3,
|
|
51
|
+
mindMap: 4,
|
|
52
|
+
spaceLines: 5,
|
|
53
|
+
SPACELINE: 6,
|
|
54
|
+
NL: 7,
|
|
55
|
+
MINDMAP: 8,
|
|
56
|
+
document: 9,
|
|
57
|
+
stop: 10,
|
|
58
|
+
EOF: 11,
|
|
59
|
+
statement: 12,
|
|
60
|
+
SPACELIST: 13,
|
|
61
|
+
node: 14,
|
|
62
|
+
ICON: 15,
|
|
63
|
+
CLASS: 16,
|
|
64
|
+
nodeWithId: 17,
|
|
65
|
+
nodeWithoutId: 18,
|
|
66
|
+
NODE_DSTART: 19,
|
|
67
|
+
NODE_DESCR: 20,
|
|
68
|
+
NODE_DEND: 21,
|
|
69
|
+
NODE_ID: 22,
|
|
70
|
+
$accept: 0,
|
|
71
|
+
$end: 1
|
|
72
|
+
},
|
|
73
|
+
terminals_: {
|
|
74
|
+
2: "error",
|
|
75
|
+
6: "SPACELINE",
|
|
76
|
+
7: "NL",
|
|
77
|
+
8: "MINDMAP",
|
|
78
|
+
11: "EOF",
|
|
79
|
+
13: "SPACELIST",
|
|
80
|
+
15: "ICON",
|
|
81
|
+
16: "CLASS",
|
|
82
|
+
19: "NODE_DSTART",
|
|
83
|
+
20: "NODE_DESCR",
|
|
84
|
+
21: "NODE_DEND",
|
|
85
|
+
22: "NODE_ID"
|
|
86
|
+
},
|
|
87
|
+
productions_: [
|
|
88
|
+
0,
|
|
89
|
+
[3, 1],
|
|
90
|
+
[3, 2],
|
|
91
|
+
[5, 1],
|
|
92
|
+
[5, 2],
|
|
93
|
+
[5, 2],
|
|
94
|
+
[4, 2],
|
|
95
|
+
[4, 3],
|
|
96
|
+
[10, 1],
|
|
97
|
+
[10, 1],
|
|
98
|
+
[10, 1],
|
|
99
|
+
[10, 2],
|
|
100
|
+
[10, 2],
|
|
101
|
+
[9, 3],
|
|
102
|
+
[9, 2],
|
|
103
|
+
[12, 2],
|
|
104
|
+
[12, 2],
|
|
105
|
+
[12, 2],
|
|
106
|
+
[12, 1],
|
|
107
|
+
[12, 1],
|
|
108
|
+
[12, 1],
|
|
109
|
+
[12, 1],
|
|
110
|
+
[12, 1],
|
|
111
|
+
[14, 1],
|
|
112
|
+
[14, 1],
|
|
113
|
+
[18, 3],
|
|
114
|
+
[17, 1],
|
|
115
|
+
[17, 4]
|
|
116
|
+
],
|
|
117
|
+
performAction: /* @__PURE__ */ l(function(e, t, n, r, i, a, o) {
|
|
118
|
+
var s = a.length - 1;
|
|
119
|
+
switch (i) {
|
|
120
|
+
case 6:
|
|
121
|
+
case 7: return r;
|
|
122
|
+
case 8:
|
|
123
|
+
r.getLogger().trace("Stop NL ");
|
|
124
|
+
break;
|
|
125
|
+
case 9:
|
|
126
|
+
r.getLogger().trace("Stop EOF ");
|
|
127
|
+
break;
|
|
128
|
+
case 11:
|
|
129
|
+
r.getLogger().trace("Stop NL2 ");
|
|
130
|
+
break;
|
|
131
|
+
case 12:
|
|
132
|
+
r.getLogger().trace("Stop EOF2 ");
|
|
133
|
+
break;
|
|
134
|
+
case 15:
|
|
135
|
+
r.getLogger().info("Node: ", a[s].id), r.addNode(a[s - 1].length, a[s].id, a[s].descr, a[s].type);
|
|
136
|
+
break;
|
|
137
|
+
case 16:
|
|
138
|
+
r.getLogger().trace("Icon: ", a[s]), r.decorateNode({ icon: a[s] });
|
|
139
|
+
break;
|
|
140
|
+
case 17:
|
|
141
|
+
case 21:
|
|
142
|
+
r.decorateNode({ class: a[s] });
|
|
143
|
+
break;
|
|
144
|
+
case 18:
|
|
145
|
+
r.getLogger().trace("SPACELIST");
|
|
146
|
+
break;
|
|
147
|
+
case 19:
|
|
148
|
+
r.getLogger().trace("Node: ", a[s].id), r.addNode(0, a[s].id, a[s].descr, a[s].type);
|
|
149
|
+
break;
|
|
150
|
+
case 20:
|
|
151
|
+
r.decorateNode({ icon: a[s] });
|
|
152
|
+
break;
|
|
153
|
+
case 25:
|
|
154
|
+
r.getLogger().trace("node found ..", a[s - 2]), this.$ = {
|
|
155
|
+
id: a[s - 1],
|
|
156
|
+
descr: a[s - 1],
|
|
157
|
+
type: r.getType(a[s - 2], a[s])
|
|
158
|
+
};
|
|
159
|
+
break;
|
|
160
|
+
case 26:
|
|
161
|
+
this.$ = {
|
|
162
|
+
id: a[s],
|
|
163
|
+
descr: a[s],
|
|
164
|
+
type: r.nodeType.DEFAULT
|
|
165
|
+
};
|
|
166
|
+
break;
|
|
167
|
+
case 27:
|
|
168
|
+
r.getLogger().trace("node found ..", a[s - 3]), this.$ = {
|
|
169
|
+
id: a[s - 3],
|
|
170
|
+
descr: a[s - 1],
|
|
171
|
+
type: r.getType(a[s - 2], a[s])
|
|
172
|
+
};
|
|
173
|
+
break;
|
|
174
|
+
}
|
|
175
|
+
}, "anonymous"),
|
|
176
|
+
table: [
|
|
177
|
+
{
|
|
178
|
+
3: 1,
|
|
179
|
+
4: 2,
|
|
180
|
+
5: 3,
|
|
181
|
+
6: [1, 5],
|
|
182
|
+
8: t
|
|
183
|
+
},
|
|
184
|
+
{ 1: [3] },
|
|
185
|
+
{ 1: [2, 1] },
|
|
186
|
+
{
|
|
187
|
+
4: 6,
|
|
188
|
+
6: [1, 7],
|
|
189
|
+
7: [1, 8],
|
|
190
|
+
8: t
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
6: n,
|
|
194
|
+
7: [1, 10],
|
|
195
|
+
9: 9,
|
|
196
|
+
12: 11,
|
|
197
|
+
13: r,
|
|
198
|
+
14: 14,
|
|
199
|
+
15: i,
|
|
200
|
+
16: a,
|
|
201
|
+
17: 17,
|
|
202
|
+
18: 18,
|
|
203
|
+
19: o,
|
|
204
|
+
22: s
|
|
205
|
+
},
|
|
206
|
+
e(c, [2, 3]),
|
|
207
|
+
{ 1: [2, 2] },
|
|
208
|
+
e(c, [2, 4]),
|
|
209
|
+
e(c, [2, 5]),
|
|
210
|
+
{
|
|
211
|
+
1: [2, 6],
|
|
212
|
+
6: n,
|
|
213
|
+
12: 21,
|
|
214
|
+
13: r,
|
|
215
|
+
14: 14,
|
|
216
|
+
15: i,
|
|
217
|
+
16: a,
|
|
218
|
+
17: 17,
|
|
219
|
+
18: 18,
|
|
220
|
+
19: o,
|
|
221
|
+
22: s
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
6: n,
|
|
225
|
+
9: 22,
|
|
226
|
+
12: 11,
|
|
227
|
+
13: r,
|
|
228
|
+
14: 14,
|
|
229
|
+
15: i,
|
|
230
|
+
16: a,
|
|
231
|
+
17: 17,
|
|
232
|
+
18: 18,
|
|
233
|
+
19: o,
|
|
234
|
+
22: s
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
6: u,
|
|
238
|
+
7: d,
|
|
239
|
+
10: 23,
|
|
240
|
+
11: f
|
|
241
|
+
},
|
|
242
|
+
e(p, [2, 22], {
|
|
243
|
+
17: 17,
|
|
244
|
+
18: 18,
|
|
245
|
+
14: 27,
|
|
246
|
+
15: [1, 28],
|
|
247
|
+
16: [1, 29],
|
|
248
|
+
19: o,
|
|
249
|
+
22: s
|
|
250
|
+
}),
|
|
251
|
+
e(p, [2, 18]),
|
|
252
|
+
e(p, [2, 19]),
|
|
253
|
+
e(p, [2, 20]),
|
|
254
|
+
e(p, [2, 21]),
|
|
255
|
+
e(p, [2, 23]),
|
|
256
|
+
e(p, [2, 24]),
|
|
257
|
+
e(p, [2, 26], { 19: [1, 30] }),
|
|
258
|
+
{ 20: [1, 31] },
|
|
259
|
+
{
|
|
260
|
+
6: u,
|
|
261
|
+
7: d,
|
|
262
|
+
10: 32,
|
|
263
|
+
11: f
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
1: [2, 7],
|
|
267
|
+
6: n,
|
|
268
|
+
12: 21,
|
|
269
|
+
13: r,
|
|
270
|
+
14: 14,
|
|
271
|
+
15: i,
|
|
272
|
+
16: a,
|
|
273
|
+
17: 17,
|
|
274
|
+
18: 18,
|
|
275
|
+
19: o,
|
|
276
|
+
22: s
|
|
277
|
+
},
|
|
278
|
+
e(m, [2, 14], {
|
|
279
|
+
7: h,
|
|
280
|
+
11: g
|
|
281
|
+
}),
|
|
282
|
+
e(_, [2, 8]),
|
|
283
|
+
e(_, [2, 9]),
|
|
284
|
+
e(_, [2, 10]),
|
|
285
|
+
e(p, [2, 15]),
|
|
286
|
+
e(p, [2, 16]),
|
|
287
|
+
e(p, [2, 17]),
|
|
288
|
+
{ 20: [1, 35] },
|
|
289
|
+
{ 21: [1, 36] },
|
|
290
|
+
e(m, [2, 13], {
|
|
291
|
+
7: h,
|
|
292
|
+
11: g
|
|
293
|
+
}),
|
|
294
|
+
e(_, [2, 11]),
|
|
295
|
+
e(_, [2, 12]),
|
|
296
|
+
{ 21: [1, 37] },
|
|
297
|
+
e(p, [2, 25]),
|
|
298
|
+
e(p, [2, 27])
|
|
299
|
+
],
|
|
300
|
+
defaultActions: {
|
|
301
|
+
2: [2, 1],
|
|
302
|
+
6: [2, 2]
|
|
303
|
+
},
|
|
304
|
+
parseError: /* @__PURE__ */ l(function(e, t) {
|
|
305
|
+
if (t.recoverable) this.trace(e);
|
|
306
|
+
else {
|
|
307
|
+
var n = Error(e);
|
|
308
|
+
throw n.hash = t, n;
|
|
309
|
+
}
|
|
310
|
+
}, "parseError"),
|
|
311
|
+
parse: /* @__PURE__ */ l(function(e) {
|
|
312
|
+
var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, u = 0, d = 0, f = 2, p = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
|
|
313
|
+
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
314
|
+
h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
315
|
+
var v = h.yylloc;
|
|
316
|
+
a.push(v);
|
|
317
|
+
var y = h.options && h.options.ranges;
|
|
318
|
+
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
319
|
+
function b(e) {
|
|
320
|
+
n.length -= 2 * e, i.length -= e, a.length -= e;
|
|
321
|
+
}
|
|
322
|
+
l(b, "popStack");
|
|
323
|
+
function x() {
|
|
324
|
+
var e = r.pop() || h.lex() || p;
|
|
325
|
+
return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
|
|
326
|
+
}
|
|
327
|
+
l(x, "lex");
|
|
328
|
+
for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
|
|
329
|
+
if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = o[w] && o[w][S]), T === void 0 || !T.length || !T[0]) {
|
|
330
|
+
var M = "";
|
|
331
|
+
for (O in j = [], o[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
|
|
332
|
+
M = h.showPosition ? "Parse error on line " + (c + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
|
|
333
|
+
text: h.match,
|
|
334
|
+
token: this.terminals_[S] || S,
|
|
335
|
+
line: h.yylineno,
|
|
336
|
+
loc: v,
|
|
337
|
+
expected: j
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
|
|
341
|
+
switch (T[0]) {
|
|
342
|
+
case 1:
|
|
343
|
+
n.push(S), i.push(h.yytext), a.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, s = h.yytext, c = h.yylineno, v = h.yylloc, d > 0 && d--);
|
|
344
|
+
break;
|
|
345
|
+
case 2:
|
|
346
|
+
if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
|
|
347
|
+
first_line: a[a.length - (k || 1)].first_line,
|
|
348
|
+
last_line: a[a.length - 1].last_line,
|
|
349
|
+
first_column: a[a.length - (k || 1)].first_column,
|
|
350
|
+
last_column: a[a.length - 1].last_column
|
|
351
|
+
}, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
|
|
352
|
+
s,
|
|
353
|
+
u,
|
|
354
|
+
c,
|
|
355
|
+
g.yy,
|
|
356
|
+
T[1],
|
|
357
|
+
i,
|
|
358
|
+
a
|
|
359
|
+
].concat(m)), E !== void 0) return E;
|
|
360
|
+
k && (n = n.slice(0, -1 * k * 2), i = i.slice(0, -1 * k), a = a.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), i.push(D.$), a.push(D._$), A = o[n[n.length - 2]][n[n.length - 1]], n.push(A);
|
|
361
|
+
break;
|
|
362
|
+
case 3: return !0;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
return !0;
|
|
366
|
+
}, "parse")
|
|
367
|
+
};
|
|
368
|
+
v.lexer = /* @__PURE__ */ (function() {
|
|
369
|
+
return {
|
|
370
|
+
EOF: 1,
|
|
371
|
+
parseError: /* @__PURE__ */ l(function(e, t) {
|
|
372
|
+
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
373
|
+
else throw Error(e);
|
|
374
|
+
}, "parseError"),
|
|
375
|
+
setInput: /* @__PURE__ */ l(function(e, t) {
|
|
376
|
+
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 = {
|
|
377
|
+
first_line: 1,
|
|
378
|
+
first_column: 0,
|
|
379
|
+
last_line: 1,
|
|
380
|
+
last_column: 0
|
|
381
|
+
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
382
|
+
}, "setInput"),
|
|
383
|
+
input: /* @__PURE__ */ l(function() {
|
|
384
|
+
var e = this._input[0];
|
|
385
|
+
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;
|
|
386
|
+
}, "input"),
|
|
387
|
+
unput: /* @__PURE__ */ l(function(e) {
|
|
388
|
+
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
389
|
+
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
390
|
+
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
391
|
+
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);
|
|
392
|
+
var i = this.yylloc.range;
|
|
393
|
+
return this.yylloc = {
|
|
394
|
+
first_line: this.yylloc.first_line,
|
|
395
|
+
last_line: this.yylineno + 1,
|
|
396
|
+
first_column: this.yylloc.first_column,
|
|
397
|
+
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
|
|
398
|
+
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
399
|
+
}, "unput"),
|
|
400
|
+
more: /* @__PURE__ */ l(function() {
|
|
401
|
+
return this._more = !0, this;
|
|
402
|
+
}, "more"),
|
|
403
|
+
reject: /* @__PURE__ */ l(function() {
|
|
404
|
+
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
405
|
+
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).\n" + this.showPosition(), {
|
|
406
|
+
text: "",
|
|
407
|
+
token: null,
|
|
408
|
+
line: this.yylineno
|
|
409
|
+
});
|
|
410
|
+
return this;
|
|
411
|
+
}, "reject"),
|
|
412
|
+
less: /* @__PURE__ */ l(function(e) {
|
|
413
|
+
this.unput(this.match.slice(e));
|
|
414
|
+
}, "less"),
|
|
415
|
+
pastInput: /* @__PURE__ */ l(function() {
|
|
416
|
+
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
417
|
+
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
418
|
+
}, "pastInput"),
|
|
419
|
+
upcomingInput: /* @__PURE__ */ l(function() {
|
|
420
|
+
var e = this.match;
|
|
421
|
+
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
422
|
+
}, "upcomingInput"),
|
|
423
|
+
showPosition: /* @__PURE__ */ l(function() {
|
|
424
|
+
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
425
|
+
return e + this.upcomingInput() + "\n" + t + "^";
|
|
426
|
+
}, "showPosition"),
|
|
427
|
+
test_match: /* @__PURE__ */ l(function(e, t) {
|
|
428
|
+
var n, r, i;
|
|
429
|
+
if (this.options.backtrack_lexer && (i = {
|
|
430
|
+
yylineno: this.yylineno,
|
|
431
|
+
yylloc: {
|
|
432
|
+
first_line: this.yylloc.first_line,
|
|
433
|
+
last_line: this.last_line,
|
|
434
|
+
first_column: this.yylloc.first_column,
|
|
435
|
+
last_column: this.yylloc.last_column
|
|
436
|
+
},
|
|
437
|
+
yytext: this.yytext,
|
|
438
|
+
match: this.match,
|
|
439
|
+
matches: this.matches,
|
|
440
|
+
matched: this.matched,
|
|
441
|
+
yyleng: this.yyleng,
|
|
442
|
+
offset: this.offset,
|
|
443
|
+
_more: this._more,
|
|
444
|
+
_input: this._input,
|
|
445
|
+
yy: this.yy,
|
|
446
|
+
conditionStack: this.conditionStack.slice(0),
|
|
447
|
+
done: this.done
|
|
448
|
+
}, 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 = {
|
|
449
|
+
first_line: this.yylloc.last_line,
|
|
450
|
+
last_line: this.yylineno + 1,
|
|
451
|
+
first_column: this.yylloc.last_column,
|
|
452
|
+
last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
|
|
453
|
+
}, 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;
|
|
454
|
+
if (this._backtrack) {
|
|
455
|
+
for (var a in i) this[a] = i[a];
|
|
456
|
+
return !1;
|
|
457
|
+
}
|
|
458
|
+
return !1;
|
|
459
|
+
}, "test_match"),
|
|
460
|
+
next: /* @__PURE__ */ l(function() {
|
|
461
|
+
if (this.done) return this.EOF;
|
|
462
|
+
this._input || (this.done = !0);
|
|
463
|
+
var e, t, n, r;
|
|
464
|
+
this._more || (this.yytext = "", this.match = "");
|
|
465
|
+
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)) {
|
|
466
|
+
if (t = n, r = a, this.options.backtrack_lexer) {
|
|
467
|
+
if (e = this.test_match(n, i[a]), e !== !1) return e;
|
|
468
|
+
if (this._backtrack) {
|
|
469
|
+
t = !1;
|
|
470
|
+
continue;
|
|
471
|
+
} else return !1;
|
|
472
|
+
} else if (!this.options.flex) break;
|
|
473
|
+
}
|
|
474
|
+
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.\n" + this.showPosition(), {
|
|
475
|
+
text: "",
|
|
476
|
+
token: null,
|
|
477
|
+
line: this.yylineno
|
|
478
|
+
});
|
|
479
|
+
}, "next"),
|
|
480
|
+
lex: /* @__PURE__ */ l(function() {
|
|
481
|
+
return this.next() || this.lex();
|
|
482
|
+
}, "lex"),
|
|
483
|
+
begin: /* @__PURE__ */ l(function(e) {
|
|
484
|
+
this.conditionStack.push(e);
|
|
485
|
+
}, "begin"),
|
|
486
|
+
popState: /* @__PURE__ */ l(function() {
|
|
487
|
+
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
488
|
+
}, "popState"),
|
|
489
|
+
_currentRules: /* @__PURE__ */ l(function() {
|
|
490
|
+
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
491
|
+
}, "_currentRules"),
|
|
492
|
+
topState: /* @__PURE__ */ l(function(e) {
|
|
493
|
+
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
494
|
+
}, "topState"),
|
|
495
|
+
pushState: /* @__PURE__ */ l(function(e) {
|
|
496
|
+
this.begin(e);
|
|
497
|
+
}, "pushState"),
|
|
498
|
+
stateStackSize: /* @__PURE__ */ l(function() {
|
|
499
|
+
return this.conditionStack.length;
|
|
500
|
+
}, "stateStackSize"),
|
|
501
|
+
options: { "case-insensitive": !0 },
|
|
502
|
+
performAction: /* @__PURE__ */ l(function(e, t, n, r) {
|
|
503
|
+
switch (n) {
|
|
504
|
+
case 0: return e.getLogger().trace("Found comment", t.yytext), 6;
|
|
505
|
+
case 1: return 8;
|
|
506
|
+
case 2:
|
|
507
|
+
this.begin("CLASS");
|
|
508
|
+
break;
|
|
509
|
+
case 3: return this.popState(), 16;
|
|
510
|
+
case 4:
|
|
511
|
+
this.popState();
|
|
512
|
+
break;
|
|
513
|
+
case 5:
|
|
514
|
+
e.getLogger().trace("Begin icon"), this.begin("ICON");
|
|
515
|
+
break;
|
|
516
|
+
case 6: return e.getLogger().trace("SPACELINE"), 6;
|
|
517
|
+
case 7: return 7;
|
|
518
|
+
case 8: return 15;
|
|
519
|
+
case 9:
|
|
520
|
+
e.getLogger().trace("end icon"), this.popState();
|
|
521
|
+
break;
|
|
522
|
+
case 10: return e.getLogger().trace("Exploding node"), this.begin("NODE"), 19;
|
|
523
|
+
case 11: return e.getLogger().trace("Cloud"), this.begin("NODE"), 19;
|
|
524
|
+
case 12: return e.getLogger().trace("Explosion Bang"), this.begin("NODE"), 19;
|
|
525
|
+
case 13: return e.getLogger().trace("Cloud Bang"), this.begin("NODE"), 19;
|
|
526
|
+
case 14: return this.begin("NODE"), 19;
|
|
527
|
+
case 15: return this.begin("NODE"), 19;
|
|
528
|
+
case 16: return this.begin("NODE"), 19;
|
|
529
|
+
case 17: return this.begin("NODE"), 19;
|
|
530
|
+
case 18: return 13;
|
|
531
|
+
case 19: return 22;
|
|
532
|
+
case 20: return 11;
|
|
533
|
+
case 21:
|
|
534
|
+
this.begin("NSTR2");
|
|
535
|
+
break;
|
|
536
|
+
case 22: return "NODE_DESCR";
|
|
537
|
+
case 23:
|
|
538
|
+
this.popState();
|
|
539
|
+
break;
|
|
540
|
+
case 24:
|
|
541
|
+
e.getLogger().trace("Starting NSTR"), this.begin("NSTR");
|
|
542
|
+
break;
|
|
543
|
+
case 25: return e.getLogger().trace("description:", t.yytext), "NODE_DESCR";
|
|
544
|
+
case 26:
|
|
545
|
+
this.popState();
|
|
546
|
+
break;
|
|
547
|
+
case 27: return this.popState(), e.getLogger().trace("node end ))"), "NODE_DEND";
|
|
548
|
+
case 28: return this.popState(), e.getLogger().trace("node end )"), "NODE_DEND";
|
|
549
|
+
case 29: return this.popState(), e.getLogger().trace("node end ...", t.yytext), "NODE_DEND";
|
|
550
|
+
case 30: return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
|
|
551
|
+
case 31: return this.popState(), e.getLogger().trace("node end (-"), "NODE_DEND";
|
|
552
|
+
case 32: return this.popState(), e.getLogger().trace("node end (-"), "NODE_DEND";
|
|
553
|
+
case 33: return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
|
|
554
|
+
case 34: return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
|
|
555
|
+
case 35: return e.getLogger().trace("Long description:", t.yytext), 20;
|
|
556
|
+
case 36: return e.getLogger().trace("Long description:", t.yytext), 20;
|
|
557
|
+
}
|
|
558
|
+
}, "anonymous"),
|
|
559
|
+
rules: [
|
|
560
|
+
/^(?:\s*%%.*)/i,
|
|
561
|
+
/^(?:mindmap\b)/i,
|
|
562
|
+
/^(?::::)/i,
|
|
563
|
+
/^(?:.+)/i,
|
|
564
|
+
/^(?:\n)/i,
|
|
565
|
+
/^(?:::icon\()/i,
|
|
566
|
+
/^(?:[\s]+[\n])/i,
|
|
567
|
+
/^(?:[\n]+)/i,
|
|
568
|
+
/^(?:[^\)]+)/i,
|
|
569
|
+
/^(?:\))/i,
|
|
570
|
+
/^(?:-\))/i,
|
|
571
|
+
/^(?:\(-)/i,
|
|
572
|
+
/^(?:\)\))/i,
|
|
573
|
+
/^(?:\))/i,
|
|
574
|
+
/^(?:\(\()/i,
|
|
575
|
+
/^(?:\{\{)/i,
|
|
576
|
+
/^(?:\()/i,
|
|
577
|
+
/^(?:\[)/i,
|
|
578
|
+
/^(?:[\s]+)/i,
|
|
579
|
+
/^(?:[^\(\[\n\)\{\}]+)/i,
|
|
580
|
+
/^(?:$)/i,
|
|
581
|
+
/^(?:["][`])/i,
|
|
582
|
+
/^(?:[^`"]+)/i,
|
|
583
|
+
/^(?:[`]["])/i,
|
|
584
|
+
/^(?:["])/i,
|
|
585
|
+
/^(?:[^"]+)/i,
|
|
586
|
+
/^(?:["])/i,
|
|
587
|
+
/^(?:[\)]\))/i,
|
|
588
|
+
/^(?:[\)])/i,
|
|
589
|
+
/^(?:[\]])/i,
|
|
590
|
+
/^(?:\}\})/i,
|
|
591
|
+
/^(?:\(-)/i,
|
|
592
|
+
/^(?:-\))/i,
|
|
593
|
+
/^(?:\(\()/i,
|
|
594
|
+
/^(?:\()/i,
|
|
595
|
+
/^(?:[^\)\]\(\}]+)/i,
|
|
596
|
+
/^(?:.+(?!\(\())/i
|
|
597
|
+
],
|
|
598
|
+
conditions: {
|
|
599
|
+
CLASS: {
|
|
600
|
+
rules: [3, 4],
|
|
601
|
+
inclusive: !1
|
|
602
|
+
},
|
|
603
|
+
ICON: {
|
|
604
|
+
rules: [8, 9],
|
|
605
|
+
inclusive: !1
|
|
606
|
+
},
|
|
607
|
+
NSTR2: {
|
|
608
|
+
rules: [22, 23],
|
|
609
|
+
inclusive: !1
|
|
610
|
+
},
|
|
611
|
+
NSTR: {
|
|
612
|
+
rules: [25, 26],
|
|
613
|
+
inclusive: !1
|
|
614
|
+
},
|
|
615
|
+
NODE: {
|
|
616
|
+
rules: [
|
|
617
|
+
21,
|
|
618
|
+
24,
|
|
619
|
+
27,
|
|
620
|
+
28,
|
|
621
|
+
29,
|
|
622
|
+
30,
|
|
623
|
+
31,
|
|
624
|
+
32,
|
|
625
|
+
33,
|
|
626
|
+
34,
|
|
627
|
+
35,
|
|
628
|
+
36
|
|
629
|
+
],
|
|
630
|
+
inclusive: !1
|
|
631
|
+
},
|
|
632
|
+
INITIAL: {
|
|
633
|
+
rules: [
|
|
634
|
+
0,
|
|
635
|
+
1,
|
|
636
|
+
2,
|
|
637
|
+
5,
|
|
638
|
+
6,
|
|
639
|
+
7,
|
|
640
|
+
10,
|
|
641
|
+
11,
|
|
642
|
+
12,
|
|
643
|
+
13,
|
|
644
|
+
14,
|
|
645
|
+
15,
|
|
646
|
+
16,
|
|
647
|
+
17,
|
|
648
|
+
18,
|
|
649
|
+
19,
|
|
650
|
+
20
|
|
651
|
+
],
|
|
652
|
+
inclusive: !0
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
};
|
|
656
|
+
})();
|
|
657
|
+
function y() {
|
|
658
|
+
this.yy = {};
|
|
659
|
+
}
|
|
660
|
+
return l(y, "Parser"), y.prototype = v, v.Parser = y, new y();
|
|
661
|
+
})();
|
|
662
|
+
h.parser = h;
|
|
663
|
+
var g = h, _ = 12, v = {
|
|
664
|
+
DEFAULT: 0,
|
|
665
|
+
NO_BORDER: 0,
|
|
666
|
+
ROUNDED_RECT: 1,
|
|
667
|
+
RECT: 2,
|
|
668
|
+
CIRCLE: 3,
|
|
669
|
+
CLOUD: 4,
|
|
670
|
+
BANG: 5,
|
|
671
|
+
HEXAGON: 6
|
|
672
|
+
}, y = class {
|
|
673
|
+
constructor() {
|
|
674
|
+
this.nodes = [], this.count = 0, this.elements = {}, this.getLogger = this.getLogger.bind(this), this.nodeType = v, 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);
|
|
675
|
+
}
|
|
676
|
+
static {
|
|
677
|
+
l(this, "MindmapDB");
|
|
678
|
+
}
|
|
679
|
+
clear() {
|
|
680
|
+
this.nodes = [], this.count = 0, this.elements = {}, this.baseLevel = void 0;
|
|
681
|
+
}
|
|
682
|
+
getParent(e) {
|
|
683
|
+
for (let t = this.nodes.length - 1; t >= 0; t--) if (this.nodes[t].level < e) return this.nodes[t];
|
|
684
|
+
return null;
|
|
685
|
+
}
|
|
686
|
+
getMindmap() {
|
|
687
|
+
return this.nodes.length > 0 ? this.nodes[0] : null;
|
|
688
|
+
}
|
|
689
|
+
addNode(t, n, r, o) {
|
|
690
|
+
c.info("addNode", t, n, r, o);
|
|
691
|
+
let s = !1;
|
|
692
|
+
this.nodes.length === 0 ? (this.baseLevel = t, t = 0, s = !0) : this.baseLevel !== void 0 && (t -= this.baseLevel, s = !1);
|
|
693
|
+
let l = i(), u = l.mindmap?.padding ?? a.mindmap.padding;
|
|
694
|
+
switch (o) {
|
|
695
|
+
case this.nodeType.ROUNDED_RECT:
|
|
696
|
+
case this.nodeType.RECT:
|
|
697
|
+
case this.nodeType.HEXAGON:
|
|
698
|
+
u *= 2;
|
|
699
|
+
break;
|
|
700
|
+
}
|
|
701
|
+
let d = {
|
|
702
|
+
id: this.count++,
|
|
703
|
+
nodeId: e(n, l),
|
|
704
|
+
level: t,
|
|
705
|
+
descr: e(r, l),
|
|
706
|
+
type: o,
|
|
707
|
+
children: [],
|
|
708
|
+
width: l.mindmap?.maxNodeWidth ?? a.mindmap.maxNodeWidth,
|
|
709
|
+
padding: u,
|
|
710
|
+
isRoot: s
|
|
711
|
+
}, f = this.getParent(t);
|
|
712
|
+
if (f) f.children.push(d), this.nodes.push(d);
|
|
713
|
+
else if (s) this.nodes.push(d);
|
|
714
|
+
else throw Error(`There can be only one root. No parent could be found for ("${d.descr}")`);
|
|
715
|
+
}
|
|
716
|
+
getType(e, t) {
|
|
717
|
+
switch (c.debug("In get type", e, t), e) {
|
|
718
|
+
case "[": return this.nodeType.RECT;
|
|
719
|
+
case "(": return t === ")" ? this.nodeType.ROUNDED_RECT : this.nodeType.CLOUD;
|
|
720
|
+
case "((": return this.nodeType.CIRCLE;
|
|
721
|
+
case ")": return this.nodeType.CLOUD;
|
|
722
|
+
case "))": return this.nodeType.BANG;
|
|
723
|
+
case "{{": return this.nodeType.HEXAGON;
|
|
724
|
+
default: return this.nodeType.DEFAULT;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
setElementForId(e, t) {
|
|
728
|
+
this.elements[e] = t;
|
|
729
|
+
}
|
|
730
|
+
getElementById(e) {
|
|
731
|
+
return this.elements[e];
|
|
732
|
+
}
|
|
733
|
+
decorateNode(t) {
|
|
734
|
+
if (!t) return;
|
|
735
|
+
let n = i(), r = this.nodes[this.nodes.length - 1];
|
|
736
|
+
t.icon && (r.icon = e(t.icon, n)), t.class && (r.class = e(t.class, n));
|
|
737
|
+
}
|
|
738
|
+
type2Str(e) {
|
|
739
|
+
switch (e) {
|
|
740
|
+
case this.nodeType.DEFAULT: return "no-border";
|
|
741
|
+
case this.nodeType.RECT: return "rect";
|
|
742
|
+
case this.nodeType.ROUNDED_RECT: return "rounded-rect";
|
|
743
|
+
case this.nodeType.CIRCLE: return "circle";
|
|
744
|
+
case this.nodeType.CLOUD: return "cloud";
|
|
745
|
+
case this.nodeType.BANG: return "bang";
|
|
746
|
+
case this.nodeType.HEXAGON: return "hexgon";
|
|
747
|
+
default: return "no-border";
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
assignSections(e, t) {
|
|
751
|
+
if (e.level === 0 ? e.section = void 0 : e.section = t, e.children) for (let [n, r] of e.children.entries()) {
|
|
752
|
+
let i = e.level === 0 ? n % (_ - 1) : t;
|
|
753
|
+
this.assignSections(r, i);
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
flattenNodes(e, t) {
|
|
757
|
+
let n = i(), r = ["mindmap-node"];
|
|
758
|
+
e.isRoot === !0 ? r.push("section-root", "section--1") : e.section !== void 0 && r.push(`section-${e.section}`), e.class && r.push(e.class);
|
|
759
|
+
let a = r.join(" "), o = /* @__PURE__ */ l((e) => {
|
|
760
|
+
let t = (n.theme?.toLowerCase() ?? "").includes("redux");
|
|
761
|
+
switch (e) {
|
|
762
|
+
case v.CIRCLE: return "mindmapCircle";
|
|
763
|
+
case v.RECT: return "rect";
|
|
764
|
+
case v.ROUNDED_RECT: return "rounded";
|
|
765
|
+
case v.CLOUD: return "cloud";
|
|
766
|
+
case v.BANG: return "bang";
|
|
767
|
+
case v.HEXAGON: return "hexagon";
|
|
768
|
+
case v.DEFAULT: return t ? "rounded" : "defaultMindmapNode";
|
|
769
|
+
case v.NO_BORDER:
|
|
770
|
+
default: return "rect";
|
|
771
|
+
}
|
|
772
|
+
}, "getShapeFromType"), s = {
|
|
773
|
+
id: e.id.toString(),
|
|
774
|
+
domId: "node_" + e.id.toString(),
|
|
775
|
+
label: e.descr,
|
|
776
|
+
labelType: "markdown",
|
|
777
|
+
isGroup: !1,
|
|
778
|
+
shape: o(e.type),
|
|
779
|
+
width: e.width,
|
|
780
|
+
height: e.height ?? 0,
|
|
781
|
+
padding: e.padding,
|
|
782
|
+
cssClasses: a,
|
|
783
|
+
cssStyles: [],
|
|
784
|
+
look: n.look,
|
|
785
|
+
icon: e.icon,
|
|
786
|
+
x: e.x,
|
|
787
|
+
y: e.y,
|
|
788
|
+
level: e.level,
|
|
789
|
+
nodeId: e.nodeId,
|
|
790
|
+
type: e.type,
|
|
791
|
+
section: e.section
|
|
792
|
+
};
|
|
793
|
+
if (t.push(s), e.children) for (let n of e.children) this.flattenNodes(n, t);
|
|
794
|
+
}
|
|
795
|
+
generateEdges(e, t) {
|
|
796
|
+
if (!e.children) return;
|
|
797
|
+
let n = i();
|
|
798
|
+
for (let r of e.children) {
|
|
799
|
+
let i = "edge";
|
|
800
|
+
r.section !== void 0 && (i += ` section-edge-${r.section}`);
|
|
801
|
+
let a = e.level + 1;
|
|
802
|
+
i += ` edge-depth-${a}`;
|
|
803
|
+
let o = {
|
|
804
|
+
id: `edge_${e.id}_${r.id}`,
|
|
805
|
+
start: e.id.toString(),
|
|
806
|
+
end: r.id.toString(),
|
|
807
|
+
type: "normal",
|
|
808
|
+
curve: "basis",
|
|
809
|
+
thickness: "normal",
|
|
810
|
+
look: n.look,
|
|
811
|
+
classes: i,
|
|
812
|
+
depth: e.level,
|
|
813
|
+
section: r.section
|
|
814
|
+
};
|
|
815
|
+
t.push(o), this.generateEdges(r, t);
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
getData() {
|
|
819
|
+
let e = this.getMindmap(), n = i(), r = t().layout !== void 0, a = n;
|
|
820
|
+
if (r || (a.layout = "cose-bilkent"), !e) return {
|
|
821
|
+
nodes: [],
|
|
822
|
+
edges: [],
|
|
823
|
+
config: a
|
|
824
|
+
};
|
|
825
|
+
c.debug("getData: mindmapRoot", e, n), this.assignSections(e);
|
|
826
|
+
let o = [], s = [];
|
|
827
|
+
this.flattenNodes(e, o), this.generateEdges(e, s), c.debug(`getData: processed ${o.length} nodes and ${s.length} edges`);
|
|
828
|
+
let l = /* @__PURE__ */ new Map();
|
|
829
|
+
for (let e of o) l.set(e.id, {
|
|
830
|
+
shape: e.shape,
|
|
831
|
+
width: e.width,
|
|
832
|
+
height: e.height,
|
|
833
|
+
padding: e.padding
|
|
834
|
+
});
|
|
835
|
+
return {
|
|
836
|
+
nodes: o,
|
|
837
|
+
edges: s,
|
|
838
|
+
config: a,
|
|
839
|
+
rootNode: e,
|
|
840
|
+
markers: ["point"],
|
|
841
|
+
direction: "TB",
|
|
842
|
+
nodeSpacing: 50,
|
|
843
|
+
rankSpacing: 50,
|
|
844
|
+
shapes: Object.fromEntries(l),
|
|
845
|
+
type: "mindmap",
|
|
846
|
+
diagramId: "mindmap-" + f()
|
|
847
|
+
};
|
|
848
|
+
}
|
|
849
|
+
getLogger() {
|
|
850
|
+
return c;
|
|
851
|
+
}
|
|
852
|
+
}, b = { draw: /* @__PURE__ */ l(async (e, t, n, r) => {
|
|
853
|
+
c.debug("Rendering mindmap diagram\n" + e);
|
|
854
|
+
let i = r.db, o = i.getData(), l = p(t, o.config.securityLevel);
|
|
855
|
+
if (o.type = r.type, o.layoutAlgorithm = d(o.config.layout, { fallback: "cose-bilkent" }), o.diagramId = t, !i.getMindmap()) return;
|
|
856
|
+
o.nodes.forEach((e) => {
|
|
857
|
+
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);
|
|
858
|
+
}), await u(o, l);
|
|
859
|
+
let { themeVariables: f } = s(), { useGradient: h, gradientStart: g, gradientStop: _ } = f;
|
|
860
|
+
if (h && g && _) {
|
|
861
|
+
let e = l.attr("id"), t = l.append("defs").append("linearGradient").attr("id", `${e}-gradient`).attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
|
|
862
|
+
t.append("stop").attr("offset", "0%").attr("stop-color", g).attr("stop-opacity", 1), t.append("stop").attr("offset", "100%").attr("stop-color", _).attr("stop-opacity", 1);
|
|
863
|
+
}
|
|
864
|
+
m(l, o.config.mindmap?.padding ?? a.mindmap.padding, "mindmapDiagram", o.config.mindmap?.useMaxWidth ?? a.mindmap.useMaxWidth);
|
|
865
|
+
}, "draw") }, x = /* @__PURE__ */ l((e) => {
|
|
866
|
+
let { theme: t, look: i } = e, a = "";
|
|
867
|
+
for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) e["lineColor" + t] = e["lineColor" + t] || e["cScaleInv" + t], o(e["lineColor" + t]) ? e["lineColor" + t] = n(e["lineColor" + t], 20) : e["lineColor" + t] = r(e["lineColor" + t], 20);
|
|
868
|
+
for (let n = 0; n < e.THEME_COLOR_LIMIT; n++) {
|
|
869
|
+
let r = "" + (i === "neo" ? Math.max(10 - (n - 1) * 2, 2) : 17 - 3 * n);
|
|
870
|
+
a += `
|
|
871
|
+
.section-${n - 1} rect, .section-${n - 1} path, .section-${n - 1} circle, .section-${n - 1} polygon, .section-${n - 1} path {
|
|
872
|
+
fill: ${e["cScale" + n]};
|
|
873
|
+
}
|
|
874
|
+
.section-${n - 1} text {
|
|
875
|
+
fill: ${e["cScaleLabel" + n]};
|
|
876
|
+
}
|
|
877
|
+
.section-${n - 1} span {
|
|
878
|
+
color: ${e["cScaleLabel" + n]};
|
|
879
|
+
}
|
|
880
|
+
.node-icon-${n - 1} {
|
|
881
|
+
font-size: 40px;
|
|
882
|
+
color: ${e["cScaleLabel" + n]};
|
|
883
|
+
}
|
|
884
|
+
.section-edge-${n - 1}{
|
|
885
|
+
stroke: ${e["cScale" + n]};
|
|
886
|
+
}
|
|
887
|
+
.edge-depth-${n - 1}{
|
|
888
|
+
stroke-width: ${r};
|
|
889
|
+
}
|
|
890
|
+
.section-${n - 1} line {
|
|
891
|
+
stroke: ${e["cScaleInv" + n]} ;
|
|
892
|
+
stroke-width: 3;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
.disabled, .disabled circle, .disabled text {
|
|
896
|
+
fill: lightgray;
|
|
897
|
+
}
|
|
898
|
+
.disabled text {
|
|
899
|
+
fill: #efefef;
|
|
900
|
+
}
|
|
901
|
+
[data-look="neo"].mindmap-node.section-${n - 1} rect, [data-look="neo"].mindmap-node.section-${n - 1} path, [data-look="neo"].mindmap-node.section-${n - 1} circle, [data-look="neo"].mindmap-node.section-${n - 1} polygon {
|
|
902
|
+
fill: ${t === "redux" || t === "redux-dark" || t === "neutral" ? e.mainBkg : e["cScale" + n]};
|
|
903
|
+
stroke: ${t === "redux" || t === "redux-dark" ? e.nodeBorder : e["cScale" + n]};
|
|
904
|
+
stroke-width: ${e.strokeWidth ?? 2}px;
|
|
905
|
+
}
|
|
906
|
+
[data-look="neo"].section-edge-${n - 1}{
|
|
907
|
+
stroke: ${t?.includes("redux") || t === "neo-dark" ? e.nodeBorder : e["cScale" + n]};
|
|
908
|
+
}
|
|
909
|
+
[data-look="neo"].mindmap-node.section-${n - 1} text {
|
|
910
|
+
fill: ${t === "redux" || t === "redux-dark" ? e.nodeBorder : e["cScaleLabel" + (t === "neutral" ? 1 : n)]};
|
|
911
|
+
}
|
|
912
|
+
`;
|
|
913
|
+
}
|
|
914
|
+
return a;
|
|
915
|
+
}, "genSections"), S = /* @__PURE__ */ l((e, t, n) => {
|
|
916
|
+
let r = "";
|
|
917
|
+
for (let i = 0; i < e; i++) r += `
|
|
918
|
+
[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 {
|
|
919
|
+
stroke: url(${t}-gradient);
|
|
920
|
+
fill: ${n};
|
|
921
|
+
}
|
|
922
|
+
.section-${i - 1} line {
|
|
923
|
+
stroke-width: 0;
|
|
924
|
+
}`;
|
|
925
|
+
return r;
|
|
926
|
+
}, "genGradient"), C = {
|
|
927
|
+
get db() {
|
|
928
|
+
return new y();
|
|
929
|
+
},
|
|
930
|
+
renderer: b,
|
|
931
|
+
parser: g,
|
|
932
|
+
styles: /* @__PURE__ */ l((e) => {
|
|
933
|
+
let { theme: t } = e, n = e.svgId, r = e.dropShadow ? e.dropShadow.replace("url(#drop-shadow)", `url(${n}-drop-shadow)`) : "none";
|
|
934
|
+
return `
|
|
935
|
+
.edge {
|
|
936
|
+
stroke-width: 3;
|
|
937
|
+
}
|
|
938
|
+
${x(e)}
|
|
939
|
+
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
|
|
940
|
+
fill: ${e.git0};
|
|
941
|
+
}
|
|
942
|
+
.section-root text {
|
|
943
|
+
fill: ${e.gitBranchLabel0};
|
|
944
|
+
}
|
|
945
|
+
.section-root span {
|
|
946
|
+
color: ${t?.includes("redux") ? e.nodeBorder : e.gitBranchLabel0};
|
|
947
|
+
}
|
|
948
|
+
.icon-container {
|
|
949
|
+
height:100%;
|
|
950
|
+
display: flex;
|
|
951
|
+
justify-content: center;
|
|
952
|
+
align-items: center;
|
|
953
|
+
}
|
|
954
|
+
.edge {
|
|
955
|
+
fill: none;
|
|
956
|
+
}
|
|
957
|
+
.mindmap-node-label {
|
|
958
|
+
dy: 1em;
|
|
959
|
+
alignment-baseline: middle;
|
|
960
|
+
text-anchor: middle;
|
|
961
|
+
dominant-baseline: middle;
|
|
962
|
+
text-align: center;
|
|
963
|
+
}
|
|
964
|
+
[data-look="neo"].mindmap-node {
|
|
965
|
+
filter: ${r};
|
|
966
|
+
}
|
|
967
|
+
[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 {
|
|
968
|
+
fill: ${t?.includes("redux") ? e.mainBkg : e.git0};
|
|
969
|
+
}
|
|
970
|
+
[data-look="neo"].mindmap-node.section-root .text-inner-tspan {
|
|
971
|
+
fill: ${t?.includes("redux") ? e.nodeBorder : e["cScaleLabel" + +(t === "neutral")]};
|
|
972
|
+
}
|
|
973
|
+
${e.useGradient && n && e.mainBkg ? S(e.THEME_COLOR_LIMIT, n, e.mainBkg) : ""}
|
|
974
|
+
`;
|
|
975
|
+
}, "getStyles")
|
|
976
|
+
};
|
|
977
|
+
//#endregion
|
|
978
|
+
export { C as diagram };
|