@sme.up/ketchup2 2.0.0-alpha.2 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arc-CqG9Hxdf.cjs +1 -0
- package/dist/arc-Klgb378K.js +80 -0
- package/dist/architecture-YZFGNWBL-BRqToLcm.js +3 -0
- package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +1 -0
- package/dist/architectureDiagram-Q4EWVU46-JSjagcXX.cjs +36 -0
- package/dist/architectureDiagram-Q4EWVU46-u2vgZv3N.js +4057 -0
- package/dist/array-D8NZ46Ht.js +6 -0
- package/dist/array-Dxz0O8Q3.cjs +1 -0
- package/dist/assets/imageListAssets.d.ts +3 -1
- package/dist/assets/imageListAssets.d.ts.map +1 -1
- package/dist/assets/svg/chevron_down.svg +1 -0
- package/dist/assets/svg/error_outline.svg +1 -0
- package/dist/assets/svg/warning_outline.svg +1 -0
- package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -1
- package/dist/basic-components/list/list-types.d.ts +0 -1
- package/dist/basic-components/list/list-types.d.ts.map +1 -1
- package/dist/basic-components/list/list.d.ts.map +1 -1
- package/dist/basic-components/notification/notification.assets.d.ts.map +1 -1
- package/dist/basic-components/select/select.d.ts.map +1 -1
- package/dist/basic-components/text-editor/text-editor-utils.d.ts +1 -1
- package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
- package/dist/basic-components/typography/typography.d.ts.map +1 -1
- package/dist/blockDiagram-DXYQGD6D-BpB6_kTP.js +3033 -0
- package/dist/blockDiagram-DXYQGD6D-DlcDXSwH.cjs +132 -0
- package/dist/c4Diagram-AHTNJAMY-B5Z8nO1s.js +2961 -0
- package/dist/c4Diagram-AHTNJAMY-CX5IjREU.cjs +10 -0
- package/dist/channel-BY9Lkyz7.cjs +1 -0
- package/dist/channel-BqNr2cYO.js +5 -0
- package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +23 -0
- package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +1 -0
- package/dist/chunk-336JU56O-CuXRn1VH.cjs +1 -0
- package/dist/chunk-336JU56O-xKPgkG3O.js +49 -0
- package/dist/chunk-426QAEUC-Df31vuwu.cjs +1 -0
- package/dist/chunk-426QAEUC-JjFVHKYG.js +9 -0
- package/dist/chunk-4BX2VUAB-BW54-JWg.js +8 -0
- package/dist/chunk-4BX2VUAB-Qba52sxc.cjs +1 -0
- package/dist/chunk-4TB4RGXK-CKyHmNcP.js +3253 -0
- package/dist/chunk-4TB4RGXK-DdKJIFS5.cjs +206 -0
- package/dist/chunk-55IACEB6-Bu3k0Yz5.js +8 -0
- package/dist/chunk-55IACEB6-DPatBzu7.cjs +1 -0
- package/dist/chunk-5FUZZQ4R-2kdZJWq2.js +3638 -0
- package/dist/chunk-5FUZZQ4R-D_vnCbAb.cjs +62 -0
- package/dist/chunk-5PVQY5BW-C5U7sJAA.js +1299 -0
- package/dist/chunk-5PVQY5BW-CfQDYQZt.cjs +2 -0
- package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +1 -0
- package/dist/chunk-67CJDMHE-YMBkJcAO.js +23 -0
- package/dist/chunk-7N4EOEYR-C-GuhRgW.js +35 -0
- package/dist/chunk-7N4EOEYR-jNBQwvHx.cjs +1 -0
- package/dist/chunk-AA7GKIK3-B_ZB6dou.js +30 -0
- package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +1 -0
- package/dist/chunk-BSJP7CBP-CFzYPvgr.cjs +1 -0
- package/dist/chunk-BSJP7CBP-oNTXVRA7.js +82 -0
- package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +1 -0
- package/dist/chunk-CIAEETIT-XlxsAz-4.js +23 -0
- package/dist/chunk-D-IZpNpi.cjs +1 -0
- package/dist/chunk-EDXVE4YY-BZsJORf8.cjs +1 -0
- package/dist/chunk-EDXVE4YY-Bzf4FU3i.js +25 -0
- package/dist/chunk-ENJZ2VHE-BluGQPyl.js +560 -0
- package/dist/chunk-ENJZ2VHE-CwgVASaU.cjs +10 -0
- package/dist/{chunk-FMBD7UC4-Bbe5VHO3.cjs → chunk-FMBD7UC4-CS9_r76V.cjs} +2 -2
- package/dist/chunk-FMBD7UC4-RRSc9jqt.js +5 -0
- package/dist/chunk-FOC6F5B3-DcZs851j.cjs +1 -0
- package/dist/chunk-FOC6F5B3-E9n6-juB.js +23 -0
- package/dist/chunk-ICPOFSXX-CoaJw-IT.cjs +122 -0
- package/dist/chunk-ICPOFSXX-Sn6LWD0k.js +3316 -0
- package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +94 -0
- package/dist/chunk-K5T4RW27-DY7TOEqa.js +16070 -0
- package/dist/chunk-KGLVRYIC-5OJpfQCj.js +23 -0
- package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +1 -0
- package/dist/chunk-LIHQZDEY-59I4-LWb.js +64 -0
- package/dist/chunk-LIHQZDEY-CrogR3nT.cjs +1 -0
- package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +1 -0
- package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +31 -0
- package/dist/chunk-OYMX7WX6-BCT45RPu.cjs +231 -0
- package/dist/chunk-OYMX7WX6-BQADsxYi.js +2014 -0
- package/dist/chunk-QZHKN3VN-Bx8I6l3c.js +15 -0
- package/dist/chunk-QZHKN3VN-CSMKL2rB.cjs +1 -0
- package/dist/chunk-U2HBQHQK-BZ3YFMXB.js +1879 -0
- package/dist/chunk-U2HBQHQK-D0AoQWxK.cjs +70 -0
- package/dist/chunk-WQLz0Won.js +20 -0
- package/dist/chunk-X2U36JSP-CY7mJR8m.js +67 -0
- package/dist/chunk-X2U36JSP-D1RYKjVc.cjs +1 -0
- package/dist/chunk-XPW4576I-BcWkx-AL.js +1146 -0
- package/dist/chunk-XPW4576I-D8Pp6a3j.cjs +32 -0
- package/dist/chunk-YZCP3GAM-9K9WNdyN.js +60 -0
- package/dist/chunk-YZCP3GAM-BmaAafMm.cjs +1 -0
- package/dist/chunk-ZZ45TVLE-AQQsnXy4.cjs +1 -0
- package/dist/chunk-ZZ45TVLE-CIYrdg-O.js +32 -0
- package/dist/classDiagram-6PBFFD2Q-B6betnLH.cjs +1 -0
- package/dist/classDiagram-6PBFFD2Q-XGxl_AeB.js +29 -0
- package/dist/classDiagram-v2-HSJHXN6E-CwayYG4G.js +29 -0
- package/dist/classDiagram-v2-HSJHXN6E-Dda8WDvn.cjs +1 -0
- package/dist/clone-Dn__H8fX.js +8 -0
- package/dist/clone-lShkT11Q.cjs +1 -0
- package/dist/components/app-bar/app-bar.d.ts.map +1 -1
- package/dist/components/box-list/box-list-types.d.ts +1 -0
- package/dist/components/box-list/box-list-types.d.ts.map +1 -1
- package/dist/components/box-list/box-list.d.ts.map +1 -1
- package/dist/components/dash-list/dash-list.d.ts.map +1 -1
- package/dist/components/field/field-types.d.ts +1 -1
- package/dist/components/field/field-types.d.ts.map +1 -1
- package/dist/components/htm/htm-types.d.ts +4 -0
- package/dist/components/htm/htm-types.d.ts.map +1 -1
- package/dist/components/htm/htm.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-command-panel.d.ts +15 -0
- package/dist/components/image-list/components/image-list-command-panel.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-command-trigger.d.ts +16 -0
- package/dist/components/image-list/components/image-list-command-trigger.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-filter-picker.d.ts +14 -0
- package/dist/components/image-list/components/image-list-filter-picker.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-h-strip.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-json-viewer.d.ts +11 -0
- package/dist/components/image-list/components/image-list-json-viewer.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-menu.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-navigation-picker.d.ts +15 -0
- package/dist/components/image-list/components/image-list-navigation-picker.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-sort-picker.d.ts +14 -0
- package/dist/components/image-list/components/image-list-sort-picker.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-v-strip.d.ts.map +1 -1
- package/dist/components/image-list/components/items/image-list-card-item.d.ts +5 -0
- package/dist/components/image-list/components/items/image-list-card-item.d.ts.map +1 -0
- package/dist/components/image-list/components/items/image-list-folder-item.d.ts.map +1 -1
- package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
- package/dist/components/image-list/components/menu-nav-item.d.ts.map +1 -1
- package/dist/components/image-list/components/navigation-modes/image-list-catalog.d.ts.map +1 -1
- package/dist/components/image-list/components/navigation-modes/image-list-explorer.d.ts.map +1 -1
- package/dist/components/image-list/components/navigation-modes/image-list-slideshow.d.ts.map +1 -1
- package/dist/components/image-list/components/navigation-modes/image-list-tree.d.ts.map +1 -1
- package/dist/components/image-list/components/strip-child-popup.d.ts.map +1 -1
- package/dist/components/image-list/components/strip-item.d.ts.map +1 -1
- package/dist/components/image-list/components/strip-overflow-button.d.ts.map +1 -1
- package/dist/components/image-list/hooks/useCommandPickers.d.ts +13 -0
- package/dist/components/image-list/hooks/useCommandPickers.d.ts.map +1 -0
- package/dist/components/image-list/image-list-column-utils.d.ts +9 -0
- package/dist/components/image-list/image-list-column-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-context.d.ts +5 -2
- package/dist/components/image-list/image-list-context.d.ts.map +1 -1
- package/dist/components/image-list/image-list-debug-utils.d.ts +13 -0
- package/dist/components/image-list/image-list-debug-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-filter-context.d.ts +9 -0
- package/dist/components/image-list/image-list-filter-context.d.ts.map +1 -0
- package/dist/components/image-list/image-list-filter-utils.d.ts +12 -0
- package/dist/components/image-list/image-list-filter-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-sort-context.d.ts +9 -0
- package/dist/components/image-list/image-list-sort-context.d.ts.map +1 -0
- package/dist/components/image-list/image-list-sort-utils.d.ts +13 -0
- package/dist/components/image-list/image-list-sort-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-state-context.d.ts +5 -0
- package/dist/components/image-list/image-list-state-context.d.ts.map +1 -0
- package/dist/components/image-list/image-list-types.d.ts +50 -2
- package/dist/components/image-list/image-list-types.d.ts.map +1 -1
- package/dist/components/image-list/image-list-utils.d.ts +54 -2
- package/dist/components/image-list/image-list-utils.d.ts.map +1 -1
- package/dist/components/image-list/image-list.d.ts +1 -1
- package/dist/components/image-list/image-list.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip-assets.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip-utils.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/cose-bilkent-S5V4N54A-B30Rh9DR.js +2250 -0
- package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +1 -0
- package/dist/cytoscape.esm-CPjF_mSK.js +18100 -0
- package/dist/cytoscape.esm-CrBwLFXE.cjs +321 -0
- package/dist/dagre-BjnWDdkw.cjs +1 -0
- package/dist/dagre-DVLnxd7n.js +1606 -0
- package/dist/dagre-KV5264BT-BjqayRYC.js +293 -0
- package/dist/dagre-KV5264BT-BvInGAUC.cjs +4 -0
- package/dist/defaultLocale-Dcyuaxxg.js +201 -0
- package/dist/defaultLocale-DtzyZW63.cjs +1 -0
- package/dist/diagram-5BDNPKRD-Bk7depC0.js +101 -0
- package/dist/diagram-5BDNPKRD-D6EXksHo.cjs +10 -0
- package/dist/diagram-G4DWMVQ6-BkQnbCLv.js +524 -0
- package/dist/diagram-G4DWMVQ6-CJASbR70.cjs +24 -0
- package/dist/diagram-MMDJMWI5-DEt7jQx9.cjs +43 -0
- package/dist/diagram-MMDJMWI5-DUUVPi55.js +213 -0
- package/dist/diagram-TYMM5635-5auoAFCi.cjs +24 -0
- package/dist/diagram-TYMM5635-Cpj8wfoJ.js +133 -0
- package/dist/dist-BgvMZbfo.cjs +1 -0
- package/dist/dist-DL30VIBI.js +60 -0
- package/dist/erDiagram-SMLLAGMA-DVUT6TBy.cjs +85 -0
- package/dist/erDiagram-SMLLAGMA-D_ByPk0C.js +1700 -0
- package/dist/flatten-BE1bWL-7.js +40 -0
- package/dist/flatten-DxvYSoR8.cjs +1 -0
- package/dist/flowDiagram-DWJPFMVM-BWrkDnqc.js +4145 -0
- package/dist/flowDiagram-DWJPFMVM-BbK42NaF.cjs +162 -0
- package/dist/functional-components/action/action-types.d.ts +70 -0
- package/dist/functional-components/action/action-types.d.ts.map +1 -0
- package/dist/functional-components/action/action-utils.d.ts +5 -0
- package/dist/functional-components/action/action-utils.d.ts.map +1 -0
- package/dist/functional-components/action/action.d.ts +3 -0
- package/dist/functional-components/action/action.d.ts.map +1 -0
- package/dist/functional-components/action-list/action-list.d.ts.map +1 -1
- package/dist/functional-components/action-list/dual-list/dual-list.d.ts.map +1 -1
- package/dist/functional-components/gantt/bar/gantt-bar.d.ts.map +1 -1
- package/dist/functional-components/gantt/gantt-assets.d.ts +4 -0
- package/dist/functional-components/gantt/gantt-assets.d.ts.map +1 -1
- package/dist/functional-components/gantt/gantt.d.ts.map +1 -1
- package/dist/functional-components/gantt/today-indicator/gantt-today-indicator.d.ts +17 -0
- package/dist/functional-components/gantt/today-indicator/gantt-today-indicator.d.ts.map +1 -0
- package/dist/ganttDiagram-T4ZO3ILL-DUi8jF9H.cjs +292 -0
- package/dist/ganttDiagram-T4ZO3ILL-LuaYkUvj.js +3077 -0
- package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +1 -0
- package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +3 -0
- package/dist/gitGraphDiagram-UUTBAWPF-D-tMWUQ1.cjs +106 -0
- package/dist/gitGraphDiagram-UUTBAWPF-DKkENwcV.js +728 -0
- package/dist/graphlib-Cpifseqb.js +373 -0
- package/dist/graphlib-HdfvGLpV.cjs +1 -0
- package/dist/hooks/useClickOutside.d.ts.map +1 -1
- package/dist/identity-KQSjemTb.cjs +1 -0
- package/dist/identity-g0dsMjx7.js +393 -0
- package/dist/info-OMHHGYJF-Bk0VWVNW.js +3 -0
- package/dist/info-OMHHGYJF-C8QtwF0k.cjs +1 -0
- package/dist/infoDiagram-42DDH7IO-CH5xHj8H.cjs +2 -0
- package/dist/infoDiagram-42DDH7IO-CLkQPFe0.js +19 -0
- package/dist/init-B2MubQrj.cjs +1 -0
- package/dist/init-BO60vQHJ.js +15 -0
- package/dist/isEmpty-CA3kJuev.cjs +1 -0
- package/dist/isEmpty-RwX-oIQS.js +35 -0
- package/dist/ishikawaDiagram-UXIWVN3A-Cl3Ivm8H.cjs +70 -0
- package/dist/ishikawaDiagram-UXIWVN3A-DqbVPChK.js +718 -0
- package/dist/journeyDiagram-VCZTEJTY-DudduR0c.js +883 -0
- package/dist/journeyDiagram-VCZTEJTY-XRc0J8gM.cjs +139 -0
- package/dist/kanban-definition-6JOO6SKY-Br87atRc.cjs +89 -0
- package/dist/kanban-definition-6JOO6SKY-DzEqE64J.js +973 -0
- package/dist/katex-Du5WiYIy.js +22000 -0
- package/dist/katex-SAH56fvc.cjs +257 -0
- package/dist/ketchup2.cjs.js +190 -1
- package/dist/ketchup2.css +2 -1
- package/dist/ketchup2.es.js +132419 -52
- package/dist/line-BbHmiwbs.cjs +1 -0
- package/dist/line-JyRBGWft.js +34 -0
- package/dist/linear-BsPvNLJv.js +289 -0
- package/dist/linear-CxHa1DsM.cjs +1 -0
- package/dist/mermaid-parser.core-CERDf-UG.js +69 -0
- package/dist/mermaid-parser.core-DHpvGOZR.cjs +3 -0
- package/dist/mindmap-definition-QFDTVHPH-BCq8zmLt.cjs +96 -0
- package/dist/mindmap-definition-QFDTVHPH-NGjPQ5SM.js +978 -0
- package/dist/ordinal-C-VoL0XF.js +65 -0
- package/dist/ordinal-Civr0hZL.cjs +1 -0
- package/dist/packet-4T2RLAQJ-X0BMsNFj.js +3 -0
- package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +1 -0
- package/dist/path-Civic7PQ.cjs +1 -0
- package/dist/path-CvfwEr8y.js +85 -0
- package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +3 -0
- package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +1 -0
- package/dist/pieDiagram-DEJITSTG-CK4xy0PS.cjs +30 -0
- package/dist/pieDiagram-DEJITSTG-DTeyzHmB.js +165 -0
- package/dist/quadrantDiagram-34T5L4WZ-CCcJIf91.js +1974 -0
- package/dist/quadrantDiagram-34T5L4WZ-D-_iiK79.cjs +7 -0
- package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +1 -0
- package/dist/radar-PYXPWWZC-DgZIW9Ah.js +3 -0
- package/dist/reduce-B7WW9rkU.cjs +1 -0
- package/dist/reduce-DNnkcf3M.js +532 -0
- package/dist/requirementDiagram-MS252O5E-BdOanuYe.js +2221 -0
- package/dist/requirementDiagram-MS252O5E-EfY029Xj.cjs +84 -0
- package/dist/rough.esm-1mqTSjCt.js +1352 -0
- package/dist/rough.esm-BLKo1fIQ.cjs +1 -0
- package/dist/sankeyDiagram-XADWPNL6-3jlM2UcU.cjs +10 -0
- package/dist/sankeyDiagram-XADWPNL6-3wviN_U4.js +920 -0
- package/dist/sequenceDiagram-FGHM5R23-DC8SjhFN.js +4157 -0
- package/dist/sequenceDiagram-FGHM5R23-lK1G3QLN.cjs +157 -0
- package/dist/src-BQiFKP24.js +2146 -0
- package/dist/src-DFxq-N5I.cjs +1 -0
- package/dist/stateDiagram-FHFEXIEX-DnkzFphf.js +217 -0
- package/dist/stateDiagram-FHFEXIEX-DsQigFuR.cjs +1 -0
- package/dist/stateDiagram-v2-QKLJ7IA2-2v8JiIJr.js +27 -0
- package/dist/stateDiagram-v2-QKLJ7IA2-UKKfWPoT.cjs +1 -0
- package/dist/timeline-definition-GMOUNBTQ-CBnYBWN0.js +1068 -0
- package/dist/timeline-definition-GMOUNBTQ-DWpngnE4.cjs +120 -0
- package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +1 -0
- package/dist/treeView-SZITEDCU-Df3xzFtO.js +3 -0
- package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +1 -0
- package/dist/treemap-W4RFUUIX-ClUtdSdn.js +3 -0
- package/dist/utils/translation.d.ts.map +1 -1
- package/dist/v4-6yr83DbP.cjs +1 -0
- package/dist/v4-BR71w5_q.js +33 -0
- package/dist/vennDiagram-DHZGUBPP-D-kj-sVU.cjs +34 -0
- package/dist/vennDiagram-DHZGUBPP-M-kkEkXj.js +1858 -0
- package/dist/wardley-RL74JXVD-BtHQbnUy.js +3 -0
- package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +1 -0
- package/dist/wardleyDiagram-NUSXRM2D-CUX1SYhw.js +578 -0
- package/dist/wardleyDiagram-NUSXRM2D-thoOuA_D.cjs +20 -0
- package/dist/xychartDiagram-5P7HB3ND-1cXRZ1bi.js +2044 -0
- package/dist/xychartDiagram-5P7HB3ND-BF2WmJ4-.cjs +7 -0
- package/package.json +31 -31
- package/dist/_basePickBy-DGJmMScd.cjs +0 -1
- package/dist/_basePickBy-PX1Y-d1V.js +0 -151
- package/dist/_baseUniq-DcRTQJQN.cjs +0 -1
- package/dist/_baseUniq-DwOD2Otm.js +0 -614
- package/dist/arc-BsWNnd73.js +0 -83
- package/dist/arc-DBV_HLQY.cjs +0 -1
- package/dist/architecture-7HQA4BMR-CFSh30qd.js +0 -6
- package/dist/architecture-7HQA4BMR-lBVp8HRs.cjs +0 -1
- package/dist/architectureDiagram-VXUJARFQ-Bc0s-J3p.cjs +0 -36
- package/dist/architectureDiagram-VXUJARFQ-CMUHe_r-.js +0 -4661
- package/dist/blockDiagram-VD42YOAC-C_oUXbzO.cjs +0 -122
- package/dist/blockDiagram-VD42YOAC-IY9o9LbQ.js +0 -2256
- package/dist/c4Diagram-YG6GDRKO-CqZ8ZT08.cjs +0 -10
- package/dist/c4Diagram-YG6GDRKO-DJxkbTo5.js +0 -1580
- package/dist/channel-BkvCKlJ6.js +0 -5
- package/dist/channel-CswPsSpD.cjs +0 -1
- package/dist/chunk-4BX2VUAB-CYIF37mc.js +0 -8
- package/dist/chunk-4BX2VUAB-gEHSzd7y.cjs +0 -1
- package/dist/chunk-55IACEB6-BHAHwp5q.js +0 -8
- package/dist/chunk-55IACEB6-_lyvFxBQ.cjs +0 -1
- package/dist/chunk-B4BG7PRW-B8r_ephc.js +0 -1375
- package/dist/chunk-B4BG7PRW-BS27R9kc.cjs +0 -165
- package/dist/chunk-DI55MBZ5-Bm2YZ5i9.cjs +0 -220
- package/dist/chunk-DI55MBZ5-hEyGllSh.js +0 -1370
- package/dist/chunk-FMBD7UC4-D7nrDShK.js +0 -19
- package/dist/chunk-QN33PNHL-BgJe6Xfg.cjs +0 -1
- package/dist/chunk-QN33PNHL-rrJh01ga.js +0 -19
- package/dist/chunk-QZHKN3VN-BmAbl_2n.js +0 -15
- package/dist/chunk-QZHKN3VN-BrAhTHYa.cjs +0 -1
- package/dist/chunk-TZMSLE5B-BE-7S1wa.js +0 -64
- package/dist/chunk-TZMSLE5B-BHB7-VQp.cjs +0 -1
- package/dist/classDiagram-2ON5EDUG-CebcMRVR.cjs +0 -1
- package/dist/classDiagram-2ON5EDUG-D3F1RaIQ.js +0 -16
- package/dist/classDiagram-v2-WZHVMYZB-CebcMRVR.cjs +0 -1
- package/dist/classDiagram-v2-WZHVMYZB-D3F1RaIQ.js +0 -16
- package/dist/clone-BDgl72Aq.cjs +0 -1
- package/dist/clone-C_aDFxlO.js +0 -8
- package/dist/cose-bilkent-S5V4N54A-D3wiY3iN.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-D5AClp5l.js +0 -2608
- package/dist/cytoscape.esm-CNUX3VTg.cjs +0 -321
- package/dist/cytoscape.esm-Cvf3sx9F.js +0 -18704
- package/dist/dagre-6UL2VRFP-CypqseiV.cjs +0 -4
- package/dist/dagre-6UL2VRFP-DMO4JOci.js +0 -444
- package/dist/defaultLocale-D7EN2tov.js +0 -171
- package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
- package/dist/diagram-PSM6KHXK-BDoLsIhn.cjs +0 -24
- package/dist/diagram-PSM6KHXK-cFCqdUIB.js +0 -531
- package/dist/diagram-QEK2KX5R-Cc5PUDIg.cjs +0 -43
- package/dist/diagram-QEK2KX5R-Cu_E8La-.js +0 -217
- package/dist/diagram-S2PKOQOG-CGnbJJ6_.cjs +0 -24
- package/dist/diagram-S2PKOQOG-Cz6p6CDp.js +0 -142
- package/dist/erDiagram-Q2GNP2WA-C4LFQCJ0.cjs +0 -60
- package/dist/erDiagram-Q2GNP2WA-DvfsJLvg.js +0 -841
- package/dist/flowDiagram-NV44I4VS-CeKGu9EW.js +0 -1620
- package/dist/flowDiagram-NV44I4VS-D5y8Cy09.cjs +0 -162
- package/dist/ganttDiagram-JELNMOA3-BSy5awHh.cjs +0 -267
- package/dist/ganttDiagram-JELNMOA3-Dr4U9R4y.js +0 -2670
- package/dist/gitGraph-G5XIXVHT-CO3K0I5T.js +0 -6
- package/dist/gitGraph-G5XIXVHT-Ca7V3WsM.cjs +0 -1
- package/dist/gitGraphDiagram-V2S2FVAM-1QBHZeWE.js +0 -699
- package/dist/gitGraphDiagram-V2S2FVAM-OiapaYQL.cjs +0 -65
- package/dist/graph-Jks8K00w.cjs +0 -1
- package/dist/graph-zNBt93GG.js +0 -247
- package/dist/index-D_QdHvga.js +0 -132342
- package/dist/index-DrE_PcNC.cjs +0 -390
- package/dist/info-VBDWY6EO-0Eh7RJSD.js +0 -6
- package/dist/info-VBDWY6EO-BUpod63m.cjs +0 -1
- package/dist/infoDiagram-HS3SLOUP-DQPTM4yd.cjs +0 -2
- package/dist/infoDiagram-HS3SLOUP-y4B3rGEI.js +0 -24
- package/dist/init-CHZsXQcr.cjs +0 -1
- package/dist/init-DjUOC4st.js +0 -16
- package/dist/journeyDiagram-XKPGCS4Q-BA6dU3fB.js +0 -834
- package/dist/journeyDiagram-XKPGCS4Q-CgX1uRWQ.cjs +0 -139
- package/dist/kanban-definition-3W4ZIXB7-CCcUvQw2.js +0 -719
- package/dist/kanban-definition-3W4ZIXB7-CLsSK820.cjs +0 -89
- package/dist/katex-C2g-EhzP.cjs +0 -261
- package/dist/katex-CUSbq6rG.js +0 -11692
- package/dist/layout-DQY8NU7r.cjs +0 -1
- package/dist/layout-DhDJaAGH.js +0 -1335
- package/dist/linear-BxHQa2UM.js +0 -259
- package/dist/linear-DFPXnk9z.cjs +0 -1
- package/dist/mermaid-parser.core-BLQ9Ldcb.cjs +0 -160
- package/dist/mermaid-parser.core-Bny4tLBT.js +0 -17907
- package/dist/mindmap-definition-VGOIOE7T-Bw0Ttp1K.cjs +0 -68
- package/dist/mindmap-definition-VGOIOE7T-DWETxOzy.js +0 -758
- package/dist/ordinal-B6-f3MAq.js +0 -61
- package/dist/ordinal-CagbB1m8.cjs +0 -1
- package/dist/packet-DYOGHKS2-A2xNn9e2.cjs +0 -1
- package/dist/packet-DYOGHKS2-C9WC8eNb.js +0 -6
- package/dist/pie-VRWISCQL-BafPWeA1.cjs +0 -1
- package/dist/pie-VRWISCQL-vKJ8WC8d.js +0 -6
- package/dist/pieDiagram-ADFJNKIX-BdsfNh69.js +0 -161
- package/dist/pieDiagram-ADFJNKIX-DOZhSj8j.cjs +0 -30
- package/dist/quadrantDiagram-AYHSOK5B-BLuxXMra.cjs +0 -7
- package/dist/quadrantDiagram-AYHSOK5B-D9KE7HJs.js +0 -1022
- package/dist/radar-ZZBFDIW7-BLGCqPHv.js +0 -6
- package/dist/radar-ZZBFDIW7-BWxFhKYx.cjs +0 -1
- package/dist/requirementDiagram-UZGBJVZJ-BEkU_fE6.js +0 -850
- package/dist/requirementDiagram-UZGBJVZJ-DkNufFqc.cjs +0 -64
- package/dist/sankeyDiagram-TZEHDZUN-BJD6V_yO.js +0 -810
- package/dist/sankeyDiagram-TZEHDZUN-Dt4bjS4w.cjs +0 -10
- package/dist/sequenceDiagram-WL72ISMW-CSEM0aqp.cjs +0 -145
- package/dist/sequenceDiagram-WL72ISMW-dCDlLWba.js +0 -2511
- package/dist/stateDiagram-FKZM4ZOC-BcD9IQHo.cjs +0 -1
- package/dist/stateDiagram-FKZM4ZOC-CZ3DL61f.js +0 -263
- package/dist/stateDiagram-v2-4FDKWEC3-DGsrmxNL.cjs +0 -1
- package/dist/stateDiagram-v2-4FDKWEC3-DON-yX7J.js +0 -16
- package/dist/timeline-definition-IT6M3QCI-Bwb7mbiA.js +0 -795
- package/dist/timeline-definition-IT6M3QCI-CIbYhaSE.cjs +0 -61
- package/dist/treemap-GDKQZRPO-BMq1hkbw.cjs +0 -1
- package/dist/treemap-GDKQZRPO-DYOf8KkT.js +0 -6
- package/dist/xychartDiagram-PRI3JC2R-DloZDwSO.cjs +0 -7
- package/dist/xychartDiagram-PRI3JC2R-er9aZ4EF.js +0 -1340
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { _ as e, g as t, h as n, i as r, m as i, o as a, s as o, t as s, v as c } from "./chunk-K5T4RW27-DY7TOEqa.js";
|
|
2
|
+
//#region node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.mjs
|
|
3
|
+
var l = class extends s {
|
|
4
|
+
static {
|
|
5
|
+
i(this, "InfoTokenBuilder");
|
|
6
|
+
}
|
|
7
|
+
constructor() {
|
|
8
|
+
super(["info", "showInfo"]);
|
|
9
|
+
}
|
|
10
|
+
}, u = { parser: {
|
|
11
|
+
TokenBuilder: /* @__PURE__ */ i(() => new l(), "TokenBuilder"),
|
|
12
|
+
ValueConverter: /* @__PURE__ */ i(() => new r(), "ValueConverter")
|
|
13
|
+
} };
|
|
14
|
+
function d(r = n) {
|
|
15
|
+
let i = t(c(r), o), s = t(e({ shared: i }), a, u);
|
|
16
|
+
return i.ServiceRegistry.register(s), {
|
|
17
|
+
shared: i,
|
|
18
|
+
Info: s
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
i(d, "createInfoServices");
|
|
22
|
+
//#endregion
|
|
23
|
+
export { d as n, u as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-K5T4RW27-BzDQkjC7.cjs`);var t=class extends e.t{static{e.m(this,`InfoTokenBuilder`)}constructor(){super([`info`,`showInfo`])}},n={parser:{TokenBuilder:e.m(()=>new t,`TokenBuilder`),ValueConverter:e.m(()=>new e.i,`ValueConverter`)}};function r(t=e.h){let r=e.g(e.v(t),e.s),i=e.g(e._({shared:r}),e.o,n);return r.ServiceRegistry.register(i),{shared:r,Info:i}}e.m(r,`createInfoServices`),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { _ as e, f as t, g as n, h as r, m as i, n as a, s as o, t as s, v as c } from "./chunk-K5T4RW27-DY7TOEqa.js";
|
|
2
|
+
//#region node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LIHQZDEY.mjs
|
|
3
|
+
var l = class extends s {
|
|
4
|
+
static {
|
|
5
|
+
i(this, "TreemapTokenBuilder");
|
|
6
|
+
}
|
|
7
|
+
constructor() {
|
|
8
|
+
super(["treemap"]);
|
|
9
|
+
}
|
|
10
|
+
}, u = /classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/, d = class extends a {
|
|
11
|
+
static {
|
|
12
|
+
i(this, "TreemapValueConverter");
|
|
13
|
+
}
|
|
14
|
+
runCustomConverter(e, t, n) {
|
|
15
|
+
if (e.name === "NUMBER2") return parseFloat(t.replace(/,/g, ""));
|
|
16
|
+
if (e.name === "SEPARATOR" || e.name === "STRING2") return t.substring(1, t.length - 1);
|
|
17
|
+
if (e.name === "INDENTATION") return t.length;
|
|
18
|
+
if (e.name === "ClassDef") {
|
|
19
|
+
if (typeof t != "string") return t;
|
|
20
|
+
let e = u.exec(t);
|
|
21
|
+
if (e) return {
|
|
22
|
+
$type: "ClassDefStatement",
|
|
23
|
+
className: e[1],
|
|
24
|
+
styleText: e[2] || void 0
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
function f(e) {
|
|
30
|
+
let t = e.validation.TreemapValidator, n = e.validation.ValidationRegistry;
|
|
31
|
+
if (n) {
|
|
32
|
+
let e = { Treemap: t.checkSingleRoot.bind(t) };
|
|
33
|
+
n.register(e, t);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
i(f, "registerValidationChecks");
|
|
37
|
+
var p = class {
|
|
38
|
+
static {
|
|
39
|
+
i(this, "TreemapValidator");
|
|
40
|
+
}
|
|
41
|
+
checkSingleRoot(e, t) {
|
|
42
|
+
let n;
|
|
43
|
+
for (let r of e.TreemapRows) r.item && (n === void 0 && r.indent === void 0 ? n = 0 : (r.indent === void 0 || n !== void 0 && n >= parseInt(r.indent, 10)) && t("error", "Multiple root nodes are not allowed in a treemap.", {
|
|
44
|
+
node: r,
|
|
45
|
+
property: "item"
|
|
46
|
+
}));
|
|
47
|
+
}
|
|
48
|
+
}, m = {
|
|
49
|
+
parser: {
|
|
50
|
+
TokenBuilder: /* @__PURE__ */ i(() => new l(), "TokenBuilder"),
|
|
51
|
+
ValueConverter: /* @__PURE__ */ i(() => new d(), "ValueConverter")
|
|
52
|
+
},
|
|
53
|
+
validation: { TreemapValidator: /* @__PURE__ */ i(() => new p(), "TreemapValidator") }
|
|
54
|
+
};
|
|
55
|
+
function h(i = r) {
|
|
56
|
+
let a = n(c(i), o), s = n(e({ shared: a }), t, m);
|
|
57
|
+
return a.ServiceRegistry.register(s), f(s), {
|
|
58
|
+
shared: a,
|
|
59
|
+
Treemap: s
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
i(h, "createTreemapServices");
|
|
63
|
+
//#endregion
|
|
64
|
+
export { h as n, m as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-K5T4RW27-BzDQkjC7.cjs`);var t=class extends e.t{static{e.m(this,`TreemapTokenBuilder`)}constructor(){super([`treemap`])}},n=/classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/,r=class extends e.n{static{e.m(this,`TreemapValueConverter`)}runCustomConverter(e,t,r){if(e.name===`NUMBER2`)return parseFloat(t.replace(/,/g,``));if(e.name===`SEPARATOR`||e.name===`STRING2`)return t.substring(1,t.length-1);if(e.name===`INDENTATION`)return t.length;if(e.name===`ClassDef`){if(typeof t!=`string`)return t;let e=n.exec(t);if(e)return{$type:`ClassDefStatement`,className:e[1],styleText:e[2]||void 0}}}};function i(e){let t=e.validation.TreemapValidator,n=e.validation.ValidationRegistry;if(n){let e={Treemap:t.checkSingleRoot.bind(t)};n.register(e,t)}}e.m(i,`registerValidationChecks`);var a=class{static{e.m(this,`TreemapValidator`)}checkSingleRoot(e,t){let n;for(let r of e.TreemapRows)r.item&&(n===void 0&&r.indent===void 0?n=0:(r.indent===void 0||n!==void 0&&n>=parseInt(r.indent,10))&&t(`error`,`Multiple root nodes are not allowed in a treemap.`,{node:r,property:`item`}))}},o={parser:{TokenBuilder:e.m(()=>new t,`TokenBuilder`),ValueConverter:e.m(()=>new r,`ValueConverter`)},validation:{TreemapValidator:e.m(()=>new a,`TreemapValidator`)}};function s(t=e.h){let n=e.g(e.v(t),e.s),r=e.g(e._({shared:n}),e.f,o);return n.ServiceRegistry.register(r),i(r),{shared:n,Treemap:r}}e.m(s,`createTreemapServices`),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-K5T4RW27-BzDQkjC7.cjs`);var t=class extends e.n{static{e.m(this,`TreeViewValueConverter`)}runCustomConverter(e,t,n){if(e.name===`INDENTATION`)return t?.length||0;if(e.name===`STRING2`)return t.substring(1,t.length-1)}},n=class extends e.t{static{e.m(this,`TreeViewTokenBuilder`)}constructor(){super([`treeView-beta`])}},r={parser:{TokenBuilder:e.m(()=>new n,`TokenBuilder`),ValueConverter:e.m(()=>new t,`ValueConverter`)}};function i(t=e.h){let n=e.g(e.v(t),e.s),i=e.g(e._({shared:n}),e.d,r);return n.ServiceRegistry.register(i),{shared:n,TreeView:i}}e.m(i,`createTreeViewServices`),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { _ as e, d as t, g as n, h as r, m as i, n as a, s as o, t as s, v as c } from "./chunk-K5T4RW27-DY7TOEqa.js";
|
|
2
|
+
//#region node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.mjs
|
|
3
|
+
var l = class extends a {
|
|
4
|
+
static {
|
|
5
|
+
i(this, "TreeViewValueConverter");
|
|
6
|
+
}
|
|
7
|
+
runCustomConverter(e, t, n) {
|
|
8
|
+
if (e.name === "INDENTATION") return t?.length || 0;
|
|
9
|
+
if (e.name === "STRING2") return t.substring(1, t.length - 1);
|
|
10
|
+
}
|
|
11
|
+
}, u = class extends s {
|
|
12
|
+
static {
|
|
13
|
+
i(this, "TreeViewTokenBuilder");
|
|
14
|
+
}
|
|
15
|
+
constructor() {
|
|
16
|
+
super(["treeView-beta"]);
|
|
17
|
+
}
|
|
18
|
+
}, d = { parser: {
|
|
19
|
+
TokenBuilder: /* @__PURE__ */ i(() => new u(), "TokenBuilder"),
|
|
20
|
+
ValueConverter: /* @__PURE__ */ i(() => new l(), "ValueConverter")
|
|
21
|
+
} };
|
|
22
|
+
function f(i = r) {
|
|
23
|
+
let a = n(c(i), o), s = n(e({ shared: a }), t, d);
|
|
24
|
+
return a.ServiceRegistry.register(s), {
|
|
25
|
+
shared: a,
|
|
26
|
+
TreeView: s
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
i(f, "createTreeViewServices");
|
|
30
|
+
//#endregion
|
|
31
|
+
export { f as n, d as t };
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
const e=require(`./chunk-ICPOFSXX-CoaJw-IT.cjs`),t=require(`./src-DFxq-N5I.cjs`),n=require(`./chunk-5PVQY5BW-CfQDYQZt.cjs`),r=require(`./chunk-336JU56O-CuXRn1VH.cjs`),i=require(`./chunk-55IACEB6-DPatBzu7.cjs`),a=require(`./chunk-EDXVE4YY-BZsJORf8.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,2],r=[1,3],i=[1,4],a=[2,4],o=[1,9],s=[1,11],c=[1,16],l=[1,17],u=[1,18],d=[1,19],f=[1,33],p=[1,20],m=[1,21],h=[1,22],g=[1,23],_=[1,24],v=[1,26],y=[1,27],b=[1,28],x=[1,29],S=[1,30],C=[1,31],w=[1,32],T=[1,35],E=[1,36],D=[1,37],O=[1,38],k=[1,34],A=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],j=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],M=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],N={trace:t.h(function(){},`trace`),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:`error`,4:`SPACE`,5:`NL`,6:`SD`,14:`DESCR`,15:`-->`,16:`HIDE_EMPTY`,17:`scale`,18:`WIDTH`,19:`COMPOSIT_STATE`,20:`STRUCT_START`,21:`STRUCT_STOP`,22:`STATE_DESCR`,23:`AS`,24:`ID`,25:`FORK`,26:`JOIN`,27:`CHOICE`,28:`CONCURRENT`,29:`note`,31:`NOTE_TEXT`,33:`acc_title`,34:`acc_title_value`,35:`acc_descr`,36:`acc_descr_value`,37:`acc_descr_multiline_value`,38:`CLICK`,39:`STRING`,40:`HREF`,41:`classDef`,42:`CLASSDEF_ID`,43:`CLASSDEF_STYLEOPTS`,44:`DEFAULT`,45:`style`,46:`STYLE_IDS`,47:`STYLEDEF_STYLEOPTS`,48:`class`,49:`CLASSENTITY_IDS`,50:`STYLECLASS`,51:`direction_tb`,52:`direction_bt`,53:`direction_rl`,54:`direction_lr`,56:`;`,57:`EDGE_STATE`,58:`STYLE_SEPARATOR`,59:`left_of`,60:`right_of`},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:t.h(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 3:return r.setRootDoc(a[s]),a[s];case 4:this.$=[];break;case 5:a[s]!=`nl`&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 6:case 7:this.$=a[s];break;case 8:this.$=`nl`;break;case 12:this.$=a[s];break;case 13:let e=a[s-1];e.description=r.trimColon(a[s]),this.$=e;break;case 14:this.$={stmt:`relation`,state1:a[s-2],state2:a[s]};break;case 15:let t=r.trimColon(a[s]);this.$={stmt:`relation`,state1:a[s-3],state2:a[s-1],description:t};break;case 19:this.$={stmt:`state`,id:a[s-3],type:`default`,description:``,doc:a[s-1]};break;case 20:var c=a[s],l=a[s-2].trim();if(a[s].match(`:`)){var u=a[s].split(`:`);c=u[0],l=[l,u[1]]}this.$={stmt:`state`,id:c,type:`default`,description:l};break;case 21:this.$={stmt:`state`,id:a[s-3],type:`default`,description:a[s-5],doc:a[s-1]};break;case 22:this.$={stmt:`state`,id:a[s],type:`fork`};break;case 23:this.$={stmt:`state`,id:a[s],type:`join`};break;case 24:this.$={stmt:`state`,id:a[s],type:`choice`};break;case 25:this.$={stmt:`state`,id:r.getDividerId(),type:`divider`};break;case 26:this.$={stmt:`state`,id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 29:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 30:case 31:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 32:this.$={stmt:`click`,id:a[s-3],url:a[s-2],tooltip:a[s-1]};break;case 33:this.$={stmt:`click`,id:a[s-3],url:a[s-1],tooltip:``};break;case 34:case 35:this.$={stmt:`classDef`,id:a[s-1].trim(),classes:a[s].trim()};break;case 36:this.$={stmt:`style`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 37:this.$={stmt:`applyClass`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:r.setDirection(`TB`),this.$={stmt:`dir`,value:`TB`};break;case 39:r.setDirection(`BT`),this.$={stmt:`dir`,value:`BT`};break;case 40:r.setDirection(`RL`),this.$={stmt:`dir`,value:`RL`};break;case 41:r.setDirection(`LR`),this.$={stmt:`dir`,value:`LR`};break;case 44:case 45:this.$={stmt:`state`,id:a[s].trim(),type:`default`,description:``};break;case 46:this.$={stmt:`state`,id:a[s-2].trim(),classes:[a[s].trim()],type:`default`,description:``};break;case 47:this.$={stmt:`state`,id:a[s-2].trim(),classes:[a[s].trim()],type:`default`,description:``};break}},`anonymous`),table:[{3:1,4:n,5:r,6:i},{1:[3]},{3:5,4:n,5:r,6:i},{3:6,4:n,5:r,6:i},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:c,17:l,19:u,22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,7]),e(A,[2,8]),e(A,[2,9]),e(A,[2,10]),e(A,[2,11]),e(A,[2,12],{14:[1,40],15:[1,41]}),e(A,[2,16]),{18:[1,42]},e(A,[2,18],{20:[1,43]}),{23:[1,44]},e(A,[2,22]),e(A,[2,23]),e(A,[2,24]),e(A,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(A,[2,28]),{34:[1,49]},{36:[1,50]},e(A,[2,31]),{13:51,24:f,57:k},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(j,[2,44],{58:[1,56]}),e(j,[2,45],{58:[1,57]}),e(A,[2,38]),e(A,[2,39]),e(A,[2,40]),e(A,[2,41]),e(A,[2,6]),e(A,[2,13]),{13:58,24:f,57:k},e(A,[2,17]),e(M,a,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(A,[2,29]),e(A,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(A,[2,14],{14:[1,71]}),{4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,21:[1,72],22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(A,[2,34]),e(A,[2,35]),e(A,[2,36]),e(A,[2,37]),e(j,[2,46]),e(j,[2,47]),e(A,[2,15]),e(A,[2,19]),e(M,a,{7:78}),e(A,[2,26]),e(A,[2,27]),{5:[1,79]},{5:[1,80]},{4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,21:[1,81],22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,32]),e(A,[2,33]),e(A,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},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`)};N.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 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:break;case 9:break;case 10:return 5;case 11:break;case 12:break;case 13:break;case 14:break;case 15:return this.pushState(`SCALE`),17;case 16:return 18;case 17:this.popState();break;case 18:return this.begin(`acc_title`),33;case 19:return this.popState(),`acc_title_value`;case 20:return this.begin(`acc_descr`),35;case 21:return this.popState(),`acc_descr_value`;case 22:this.begin(`acc_descr_multiline`);break;case 23:this.popState();break;case 24:return`acc_descr_multiline_value`;case 25:return this.pushState(`CLASSDEF`),41;case 26:return this.popState(),this.pushState(`CLASSDEFID`),`DEFAULT_CLASSDEF_ID`;case 27:return this.popState(),this.pushState(`CLASSDEFID`),42;case 28:return this.popState(),43;case 29:return this.pushState(`CLASS`),48;case 30:return this.popState(),this.pushState(`CLASS_STYLE`),49;case 31:return this.popState(),50;case 32:return this.pushState(`STYLE`),45;case 33:return this.popState(),this.pushState(`STYLEDEF_STYLES`),46;case 34:return this.popState(),47;case 35:return this.pushState(`SCALE`),17;case 36:return 18;case 37:this.popState();break;case 38:this.pushState(`STATE`);break;case 39:return this.popState(),t.yytext=t.yytext.slice(0,-8).trim(),25;case 40:return this.popState(),t.yytext=t.yytext.slice(0,-8).trim(),26;case 41:return this.popState(),t.yytext=t.yytext.slice(0,-10).trim(),27;case 42:return this.popState(),t.yytext=t.yytext.slice(0,-8).trim(),25;case 43:return this.popState(),t.yytext=t.yytext.slice(0,-8).trim(),26;case 44:return this.popState(),t.yytext=t.yytext.slice(0,-10).trim(),27;case 45:return 51;case 46:return 52;case 47:return 53;case 48:return 54;case 49:this.pushState(`STATE_STRING`);break;case 50:return this.pushState(`STATE_ID`),`AS`;case 51:return this.popState(),`ID`;case 52:this.popState();break;case 53:return`STATE_DESCR`;case 54:return 19;case 55:this.popState();break;case 56:return this.popState(),this.pushState(`struct`),20;case 57:break;case 58:return this.popState(),21;case 59:break;case 60:return this.begin(`NOTE`),29;case 61:return this.popState(),this.pushState(`NOTE_ID`),59;case 62:return this.popState(),this.pushState(`NOTE_ID`),60;case 63:this.popState(),this.pushState(`FLOATING_NOTE`);break;case 64:return this.popState(),this.pushState(`FLOATING_NOTE_ID`),`AS`;case 65:break;case 66:return`NOTE_TEXT`;case 67:return this.popState(),`ID`;case 68:return this.popState(),this.pushState(`NOTE_TEXT`),24;case 69:return this.popState(),t.yytext=t.yytext.substr(2).trim(),31;case 70:return this.popState(),t.yytext=t.yytext.slice(0,-8).trim(),31;case 71:return 6;case 72:return 6;case 73:return 16;case 74:return 57;case 75:return 24;case 76:return t.yytext=t.yytext.trim(),14;case 77:return 15;case 78:return 28;case 79:return 58;case 80:return 5;case 81:return`INVALID`}},`anonymous`),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[12,13],inclusive:!1},struct:{rules:[12,13,25,29,32,38,45,46,47,48,57,58,59,60,74,75,76,77,78,79],inclusive:!1},FLOATING_NOTE_ID:{rules:[67],inclusive:!1},FLOATING_NOTE:{rules:[64,65,66],inclusive:!1},NOTE_TEXT:{rules:[69,70],inclusive:!1},NOTE_ID:{rules:[68],inclusive:!1},NOTE:{rules:[61,62,63],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[34],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[33],inclusive:!1},CLASS_STYLE:{rules:[31],inclusive:!1},CLASS:{rules:[30],inclusive:!1},CLASSDEFID:{rules:[28],inclusive:!1},CLASSDEF:{rules:[26,27],inclusive:!1},acc_descr_multiline:{rules:[23,24],inclusive:!1},acc_descr:{rules:[21],inclusive:!1},acc_title:{rules:[19],inclusive:!1},SCALE:{rules:[16,17,36,37],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[51],inclusive:!1},STATE_STRING:{rules:[52,53],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[12,13,39,40,41,42,43,44,49,50,54,55,56],inclusive:!1},ID:{rules:[12,13],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,18,20,22,25,29,32,35,38,56,60,71,72,73,74,75,76,77,79,80,81],inclusive:!0}}}})();function P(){this.yy={}}return t.h(P,`Parser`),P.prototype=N,N.Parser=P,new P})();o.parser=o;var s=o,c=`TB`,l=`TB`,u=`dir`,d=`state`,f=`root`,p=`relation`,m=`classDef`,h=`style`,g=`applyClass`,_=`default`,v=`divider`,y=`fill:none`,b=`fill: #333`,x=`c`,S=`markdown`,C=`normal`,w=`rect`,T=`rectWithTitle`,E=`stateStart`,D=`stateEnd`,O=`divider`,k=`roundedWithTitle`,A=`note`,j=`noteGroup`,M=`statediagram`,N=`${M}-state`,P=`transition`,ee=`note`,te=`${P} note-edge`,ne=`${M}-${ee}`,re=`${M}-cluster`,ie=`${M}-cluster-alt`,F=`parent`,I=`note`,ae=`state`,L=`----`,R=`${L}${I}`,z=`${L}${F}`,B=t.h((e,t=l)=>{if(!e.doc)return t;let n=t;for(let t of e.doc)t.stmt===`dir`&&(n=t.value);return n},`getDir`),V={getClasses:t.h(function(e,t){return t.db.getClasses()},`getClasses`),draw:t.h(async function(o,s,c,l){t.g.info(`REF0:`),t.g.info(`Drawing state diagram (v2)`,s);let{securityLevel:u,state:d,layout:f}=e.b();l.db.extract(l.db.getRootDocV2());let p=l.db.getData(),m=i.t(s,u);p.type=l.type,p.layoutAlgorithm=f,p.nodeSpacing=d?.nodeSpacing||50,p.rankSpacing=d?.rankSpacing||50,e.b().look===`neo`?p.markers=[`barbNeo`]:p.markers=[`barb`],p.diagramId=s,await r.r(p,m);try{(typeof l.db.getLinks==`function`?l.db.getLinks():new Map).forEach((e,n)=>{let r=typeof n==`string`?n:typeof n?.id==`string`?n.id:``;if(!r){t.g.warn(`⚠️ Invalid or missing stateId from key:`,JSON.stringify(n));return}let i=m.node()?.querySelectorAll(`g`),a;if(i?.forEach(e=>{e.textContent?.trim()===r&&(a=e)}),!a){t.g.warn(`⚠️ Could not find node matching text:`,r);return}let o=a.parentNode;if(!o){t.g.warn(`⚠️ Node has no parent, cannot wrap:`,r);return}let s=document.createElementNS(`http://www.w3.org/2000/svg`,`a`),c=e.url.replace(/^"+|"+$/g,``);if(s.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,c),s.setAttribute(`target`,`_blank`),e.tooltip){let t=e.tooltip.replace(/^"+|"+$/g,``);s.setAttribute(`title`,t)}o.replaceChild(s,a),s.appendChild(a),t.g.info(`🔗 Wrapped node in <a> tag for:`,r,e.url)})}catch(e){t.g.error(`❌ Error injecting clickable links:`,e)}n.h.insertTitle(m,`statediagramTitleText`,d?.titleTopMargin??25,l.db.getDiagramTitle()),a.t(m,8,M,d?.useMaxWidth??!0)},`draw`),getDir:B},H=new Map,U=0;function W(e=``,t=0,n=``,r=L){return`${ae}-${e}${n!==null&&n.length>0?`${r}${n}`:``}-${t}`}t.h(W,`stateDomId`);var oe=t.h((n,r,i,a,o,s,c,l)=>{t.g.trace(`items`,r),r.forEach(t=>{switch(t.stmt){case d:Y(n,t,i,a,o,s,c,l);break;case _:Y(n,t,i,a,o,s,c,l);break;case p:{Y(n,t.state1,i,a,o,s,c,l),Y(n,t.state2,i,a,o,s,c,l);let r=c===`neo`,u={id:`edge`+U,start:t.state1.id,end:t.state2.id,arrowhead:`normal`,arrowTypeEnd:r?`arrow_barb_neo`:`arrow_barb`,style:y,labelStyle:``,label:e.s.sanitizeText(t.description??``,e.b()),arrowheadStyle:b,labelpos:x,labelType:S,thickness:C,classes:P,look:c};o.push(u),U++}break}})},`setupDoc`),G=t.h((e,t=l)=>{let n=t;if(e.doc)for(let t of e.doc)t.stmt===`dir`&&(n=t.value);return n},`getDir`);function K(e,t,n){if(!t.id||t.id===`</join></fork>`||t.id===`</choice>`)return;t.cssClasses&&(Array.isArray(t.cssCompiledStyles)||(t.cssCompiledStyles=[]),t.cssClasses.split(` `).forEach(e=>{let r=n.get(e);r&&(t.cssCompiledStyles=[...t.cssCompiledStyles??[],...r.styles])}));let r=e.find(e=>e.id===t.id);r?Object.assign(r,t):e.push(t)}t.h(K,`insertOrUpdateNode`);function q(e){return e?.classes?.join(` `)??``}t.h(q,`getClassesFromDbInfo`);function J(e){return e?.styles??[]}t.h(J,`getStylesFromDbInfo`);var Y=t.h((n,r,i,a,o,s,c,l)=>{let u=r.id,d=i.get(u),f=q(d),p=J(d),m=e.b();if(t.g.info(`dataFetcher parsedItem`,r,d,p),u!==`root`){let i=w;r.start===!0?i=E:r.start===!1&&(i=D),r.type!==_&&(i=r.type),H.get(u)||H.set(u,{id:u,shape:i,description:e.s.sanitizeText(u,m),cssClasses:`${f} ${N}`,cssStyles:p});let d=H.get(u);r.description&&(Array.isArray(d.description)?(d.shape=T,d.description.push(r.description)):d.description?.length&&d.description.length>0?(d.shape=T,d.description===u?d.description=[r.description]:d.description=[d.description,r.description]):(d.shape=w,d.description=r.description),d.description=e.s.sanitizeTextOrArray(d.description,m)),d.description?.length===1&&d.shape===T&&(d.type===`group`?d.shape=k:d.shape=w),!d.type&&r.doc&&(t.g.info(`Setting cluster for XCX`,u,G(r)),d.type=`group`,d.isGroup=!0,d.dir=G(r),d.shape=r.type===v?O:k,d.cssClasses=`${d.cssClasses} ${re} ${s?ie:``}`);let h={labelStyle:``,shape:d.shape,label:d.description,cssClasses:d.cssClasses,cssCompiledStyles:[],cssStyles:d.cssStyles,id:u,dir:d.dir,domId:W(u,U),type:d.type,isGroup:d.type===`group`,padding:8,rx:10,ry:10,look:c,labelType:`markdown`};if(h.shape===O&&(h.label=``),n&&n.id!==`root`&&(t.g.trace(`Setting node `,u,` to be child of its parent `,n.id),h.parentId=n.id),h.centerLabel=!0,r.note){let e={labelStyle:``,shape:A,label:r.note.text,labelType:`markdown`,cssClasses:ne,cssStyles:[],cssCompiledStyles:[],id:u+R+`-`+U,domId:W(u,U,I),type:d.type,isGroup:d.type===`group`,padding:m.flowchart?.padding,look:c,position:r.note.position},t=u+z,n={labelStyle:``,shape:j,label:r.note.text,cssClasses:d.cssClasses,cssStyles:[],id:u+z,domId:W(u,U,F),type:`group`,isGroup:!0,padding:16,look:c,position:r.note.position};U++,n.id=t,e.parentId=t,K(a,n,l),K(a,e,l),K(a,h,l);let i=u,s=e.id;r.note.position===`left of`&&(i=e.id,s=u),o.push({id:i+`-`+s,start:i,end:s,arrowhead:`none`,arrowTypeEnd:``,style:y,labelStyle:``,classes:te,arrowheadStyle:b,labelpos:x,labelType:S,thickness:C,look:c})}else K(a,h,l)}r.doc&&(t.g.trace(`Adding nodes children `),oe(r,r.doc,i,a,o,!s,c,l))},`dataFetcher`),se=t.h(()=>{H.clear(),U=0},`reset`),X={START_NODE:`[*]`,START_TYPE:`start`,END_NODE:`[*]`,END_TYPE:`end`,COLOR_KEYWORD:`color`,FILL_KEYWORD:`fill`,BG_FILL:`bgFill`,STYLECLASS_SEP:`,`},Z=t.h(()=>new Map,`newClassesList`),Q=t.h(()=>({relations:[],states:new Map,documents:{}}),`newDoc`),$=t.h(e=>JSON.parse(JSON.stringify(e)),`clone`),ce=class{constructor(t){this.version=t,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=Z(),this.documents={root:Q()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.getAccTitle=e.v,this.setAccTitle=e.V,this.getAccDescription=e._,this.setAccDescription=e.B,this.setDiagramTitle=e.W,this.getDiagramTitle=e.C,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this)}static{t.h(this,`StateDB`)}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(t){this.clear(!0);for(let e of Array.isArray(t)?t:t.doc)switch(e.stmt){case d:this.addState(e.id.trim(),e.type,e.doc,e.description,e.note);break;case p:this.addRelation(e.state1,e.state2,e.description);break;case m:this.addStyleClass(e.id.trim(),e.classes);break;case h:this.handleStyleDef(e);break;case g:this.setCssClass(e.id.trim(),e.styleClass);break;case`click`:this.addLink(e.id,e.url,e.tooltip);break}let n=this.getStates(),r=e.b();se(),Y(void 0,this.getRootDocV2(),n,this.nodes,this.edges,!0,r.look,this.classes);for(let e of this.nodes)if(Array.isArray(e.label)){if(e.description=e.label.slice(1),e.isGroup&&e.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${e.id}]`);e.label=e.label[0]}}handleStyleDef(e){let t=e.id.trim().split(`,`),n=e.styleClass.split(`,`);for(let e of t){let t=this.getState(e);if(!t){let n=e.trim();this.addState(n),t=this.getState(n)}t&&(t.styles=n.map(e=>e.replace(/;/g,``)?.trim()))}}setRootDoc(e){t.g.info(`Setting root doc`,e),this.rootDoc=e,this.version===1?this.extract(e):this.extract(this.getRootDocV2())}docTranslator(e,t,r){if(t.stmt===p){this.docTranslator(e,t.state1,!0),this.docTranslator(e,t.state2,!1);return}if(t.stmt===d&&(t.id===X.START_NODE?(t.id=e.id+(r?`_start`:`_end`),t.start=r):t.id=t.id.trim()),t.stmt!==f&&t.stmt!==d||!t.doc)return;let i=[],a=[];for(let e of t.doc)if(e.type===v){let t=$(e);t.doc=$(a),i.push(t),a=[]}else a.push(e);if(i.length>0&&a.length>0){let e={stmt:d,id:n.o(),type:`divider`,doc:$(a)};i.push($(e)),t.doc=i}t.doc.forEach(e=>this.docTranslator(t,e,!0))}getRootDocV2(){return this.docTranslator({id:f,stmt:f},{id:f,stmt:f,doc:this.rootDoc},!0),{id:f,doc:this.rootDoc}}addState(n,r=_,i=void 0,a=void 0,o=void 0,s=void 0,c=void 0,l=void 0){let u=n?.trim();if(!this.currentDocument.states.has(u))t.g.info(`Adding state `,u,a),this.currentDocument.states.set(u,{stmt:d,id:u,descriptions:[],type:r,doc:i,note:o,classes:[],styles:[],textStyles:[]});else{let e=this.currentDocument.states.get(u);if(!e)throw Error(`State not found: ${u}`);e.doc||=i,e.type||=r}if(a&&(t.g.info(`Setting state description`,u,a),(Array.isArray(a)?a:[a]).forEach(e=>this.addDescription(u,e.trim()))),o){let t=this.currentDocument.states.get(u);if(!t)throw Error(`State not found: ${u}`);t.note=o,t.note.text=e.s.sanitizeText(t.note.text,e.b())}s&&(t.g.info(`Setting state classes`,u,s),(Array.isArray(s)?s:[s]).forEach(e=>this.setCssClass(u,e.trim()))),c&&(t.g.info(`Setting state styles`,u,c),(Array.isArray(c)?c:[c]).forEach(e=>this.setStyle(u,e.trim()))),l&&(t.g.info(`Setting state styles`,u,c),(Array.isArray(l)?l:[l]).forEach(e=>this.setTextStyle(u,e.trim())))}clear(t){this.nodes=[],this.edges=[],this.documents={root:Q()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=Z(),t||(this.links=new Map,e.a())}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){t.g.info(`Documents = `,this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,n,r){this.links.set(e,{url:n,tooltip:r}),t.g.warn(`Adding link`,e,n,r)}getLinks(){return this.links}startIdIfNeeded(e=``){return e===X.START_NODE?(this.startEndCount++,`${X.START_TYPE}${this.startEndCount}`):e}startTypeIfNeeded(e=``,t=_){return e===X.START_NODE?X.START_TYPE:t}endIdIfNeeded(e=``){return e===X.END_NODE?(this.startEndCount++,`${X.END_TYPE}${this.startEndCount}`):e}endTypeIfNeeded(e=``,t=_){return e===X.END_NODE?X.END_TYPE:t}addRelationObjs(t,n,r=``){let i=this.startIdIfNeeded(t.id.trim()),a=this.startTypeIfNeeded(t.id.trim(),t.type),o=this.startIdIfNeeded(n.id.trim()),s=this.startTypeIfNeeded(n.id.trim(),n.type);this.addState(i,a,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),this.addState(o,s,n.doc,n.description,n.note,n.classes,n.styles,n.textStyles),this.currentDocument.relations.push({id1:i,id2:o,relationTitle:e.s.sanitizeText(r,e.b())})}addRelation(t,n,r){if(typeof t==`object`&&typeof n==`object`)this.addRelationObjs(t,n,r);else if(typeof t==`string`&&typeof n==`string`){let i=this.startIdIfNeeded(t.trim()),a=this.startTypeIfNeeded(t),o=this.endIdIfNeeded(n.trim()),s=this.endTypeIfNeeded(n);this.addState(i,a),this.addState(o,s),this.currentDocument.relations.push({id1:i,id2:o,relationTitle:r?e.s.sanitizeText(r,e.b()):void 0})}}addDescription(t,n){let r=this.currentDocument.states.get(t),i=n.startsWith(`:`)?n.replace(`:`,``).trim():n;r?.descriptions?.push(e.s.sanitizeText(i,e.b()))}cleanupLabel(e){return e.startsWith(`:`)?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,t=``){this.classes.has(e)||this.classes.set(e,{id:e,styles:[],textStyles:[]});let n=this.classes.get(e);t&&n&&t.split(X.STYLECLASS_SEP).forEach(e=>{let t=e.replace(/([^;]*);/,`$1`).trim();if(RegExp(X.COLOR_KEYWORD).exec(e)){let e=t.replace(X.FILL_KEYWORD,X.BG_FILL).replace(X.COLOR_KEYWORD,X.FILL_KEYWORD);n.textStyles.push(e)}n.styles.push(t)})}getClasses(){return this.classes}setCssClass(e,t){e.split(`,`).forEach(e=>{let n=this.getState(e);if(!n){let t=e.trim();this.addState(t),n=this.getState(t)}n?.classes?.push(t)})}setStyle(e,t){this.getState(e)?.styles?.push(t)}setTextStyle(e,t){this.getState(e)?.textStyles?.push(t)}getDirectionStatement(){return this.rootDoc.find(e=>e.stmt===u)}getDirection(){return this.getDirectionStatement()?.value??c}setDirection(e){let t=this.getDirectionStatement();t?t.value=e:this.rootDoc.unshift({stmt:u,value:e})}trimColon(e){return e.startsWith(`:`)?e.slice(1).trim():e.trim()}getData(){let t=e.b();return{nodes:this.nodes,edges:this.edges,other:{},config:t,direction:B(this.getRootDocV2())}}getConfig(){return e.b().state}},le=t.h(e=>`
|
|
7
|
+
defs [id$="-barbEnd"] {
|
|
8
|
+
fill: ${e.transitionColor};
|
|
9
|
+
stroke: ${e.transitionColor};
|
|
10
|
+
}
|
|
11
|
+
g.stateGroup text {
|
|
12
|
+
fill: ${e.nodeBorder};
|
|
13
|
+
stroke: none;
|
|
14
|
+
font-size: 10px;
|
|
15
|
+
}
|
|
16
|
+
g.stateGroup text {
|
|
17
|
+
fill: ${e.textColor};
|
|
18
|
+
stroke: none;
|
|
19
|
+
font-size: 10px;
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
g.stateGroup .state-title {
|
|
23
|
+
font-weight: bolder;
|
|
24
|
+
fill: ${e.stateLabelColor};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
g.stateGroup rect {
|
|
28
|
+
fill: ${e.mainBkg};
|
|
29
|
+
stroke: ${e.nodeBorder};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
g.stateGroup line {
|
|
33
|
+
stroke: ${e.lineColor};
|
|
34
|
+
stroke-width: ${e.strokeWidth||1};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.transition {
|
|
38
|
+
stroke: ${e.transitionColor};
|
|
39
|
+
stroke-width: ${e.strokeWidth||1};
|
|
40
|
+
fill: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.stateGroup .composit {
|
|
44
|
+
fill: ${e.background};
|
|
45
|
+
border-bottom: 1px
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.stateGroup .alt-composit {
|
|
49
|
+
fill: #e0e0e0;
|
|
50
|
+
border-bottom: 1px
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.state-note {
|
|
54
|
+
stroke: ${e.noteBorderColor};
|
|
55
|
+
fill: ${e.noteBkgColor};
|
|
56
|
+
|
|
57
|
+
text {
|
|
58
|
+
fill: ${e.noteTextColor};
|
|
59
|
+
stroke: none;
|
|
60
|
+
font-size: 10px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.stateLabel .box {
|
|
65
|
+
stroke: none;
|
|
66
|
+
stroke-width: 0;
|
|
67
|
+
fill: ${e.mainBkg};
|
|
68
|
+
opacity: 0.5;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.edgeLabel .label rect {
|
|
72
|
+
fill: ${e.labelBackgroundColor};
|
|
73
|
+
opacity: 0.5;
|
|
74
|
+
}
|
|
75
|
+
.edgeLabel {
|
|
76
|
+
background-color: ${e.edgeLabelBackground};
|
|
77
|
+
p {
|
|
78
|
+
background-color: ${e.edgeLabelBackground};
|
|
79
|
+
}
|
|
80
|
+
rect {
|
|
81
|
+
opacity: 0.5;
|
|
82
|
+
background-color: ${e.edgeLabelBackground};
|
|
83
|
+
fill: ${e.edgeLabelBackground};
|
|
84
|
+
}
|
|
85
|
+
text-align: center;
|
|
86
|
+
}
|
|
87
|
+
.edgeLabel .label text {
|
|
88
|
+
fill: ${e.transitionLabelColor||e.tertiaryTextColor};
|
|
89
|
+
}
|
|
90
|
+
.label div .edgeLabel {
|
|
91
|
+
color: ${e.transitionLabelColor||e.tertiaryTextColor};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.stateLabel text {
|
|
95
|
+
fill: ${e.stateLabelColor};
|
|
96
|
+
font-size: 10px;
|
|
97
|
+
font-weight: bold;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.node circle.state-start {
|
|
101
|
+
fill: ${e.specialStateColor};
|
|
102
|
+
stroke: ${e.specialStateColor};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.node .fork-join {
|
|
106
|
+
fill: ${e.specialStateColor};
|
|
107
|
+
stroke: ${e.specialStateColor};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.node circle.state-end {
|
|
111
|
+
fill: ${e.innerEndBackground};
|
|
112
|
+
stroke: ${e.background};
|
|
113
|
+
stroke-width: 1.5
|
|
114
|
+
}
|
|
115
|
+
.end-state-inner {
|
|
116
|
+
fill: ${e.compositeBackground||e.background};
|
|
117
|
+
// stroke: ${e.background};
|
|
118
|
+
stroke-width: 1.5
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.node rect {
|
|
122
|
+
fill: ${e.stateBkg||e.mainBkg};
|
|
123
|
+
stroke: ${e.stateBorder||e.nodeBorder};
|
|
124
|
+
stroke-width: ${e.strokeWidth||1}px;
|
|
125
|
+
}
|
|
126
|
+
.node polygon {
|
|
127
|
+
fill: ${e.mainBkg};
|
|
128
|
+
stroke: ${e.stateBorder||e.nodeBorder};;
|
|
129
|
+
stroke-width: ${e.strokeWidth||1}px;
|
|
130
|
+
}
|
|
131
|
+
[id$="-barbEnd"] {
|
|
132
|
+
fill: ${e.lineColor};
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.statediagram-cluster rect {
|
|
136
|
+
fill: ${e.compositeTitleBackground};
|
|
137
|
+
stroke: ${e.stateBorder||e.nodeBorder};
|
|
138
|
+
stroke-width: ${e.strokeWidth||1}px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.cluster-label, .nodeLabel {
|
|
142
|
+
color: ${e.stateLabelColor};
|
|
143
|
+
// line-height: 1;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.statediagram-cluster rect.outer {
|
|
147
|
+
rx: 5px;
|
|
148
|
+
ry: 5px;
|
|
149
|
+
}
|
|
150
|
+
.statediagram-state .divider {
|
|
151
|
+
stroke: ${e.stateBorder||e.nodeBorder};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.statediagram-state .title-state {
|
|
155
|
+
rx: 5px;
|
|
156
|
+
ry: 5px;
|
|
157
|
+
}
|
|
158
|
+
.statediagram-cluster.statediagram-cluster .inner {
|
|
159
|
+
fill: ${e.compositeBackground||e.background};
|
|
160
|
+
}
|
|
161
|
+
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
162
|
+
fill: ${e.altBackground?e.altBackground:`#efefef`};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.statediagram-cluster .inner {
|
|
166
|
+
rx:0;
|
|
167
|
+
ry:0;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.statediagram-state rect.basic {
|
|
171
|
+
rx: 5px;
|
|
172
|
+
ry: 5px;
|
|
173
|
+
}
|
|
174
|
+
.statediagram-state rect.divider {
|
|
175
|
+
stroke-dasharray: 10,10;
|
|
176
|
+
fill: ${e.altBackground?e.altBackground:`#efefef`};
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.note-edge {
|
|
180
|
+
stroke-dasharray: 5;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.statediagram-note rect {
|
|
184
|
+
fill: ${e.noteBkgColor};
|
|
185
|
+
stroke: ${e.noteBorderColor};
|
|
186
|
+
stroke-width: 1px;
|
|
187
|
+
rx: 0;
|
|
188
|
+
ry: 0;
|
|
189
|
+
}
|
|
190
|
+
.statediagram-note rect {
|
|
191
|
+
fill: ${e.noteBkgColor};
|
|
192
|
+
stroke: ${e.noteBorderColor};
|
|
193
|
+
stroke-width: 1px;
|
|
194
|
+
rx: 0;
|
|
195
|
+
ry: 0;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.statediagram-note text {
|
|
199
|
+
fill: ${e.noteTextColor};
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.statediagram-note .nodeLabel {
|
|
203
|
+
color: ${e.noteTextColor};
|
|
204
|
+
}
|
|
205
|
+
.statediagram .edgeLabel {
|
|
206
|
+
color: red; // ${e.noteTextColor};
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
[id$="-dependencyStart"], [id$="-dependencyEnd"] {
|
|
210
|
+
fill: ${e.lineColor};
|
|
211
|
+
stroke: ${e.lineColor};
|
|
212
|
+
stroke-width: ${e.strokeWidth||1};
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.statediagramTitleText {
|
|
216
|
+
text-anchor: middle;
|
|
217
|
+
font-size: 18px;
|
|
218
|
+
fill: ${e.textColor};
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
[data-look="neo"].statediagram-cluster rect {
|
|
222
|
+
fill: ${e.mainBkg};
|
|
223
|
+
stroke: ${e.useGradient?`url(`+e.svgId+`-gradient)`:e.stateBorder||e.nodeBorder};
|
|
224
|
+
stroke-width: ${e.strokeWidth??1};
|
|
225
|
+
}
|
|
226
|
+
[data-look="neo"].statediagram-cluster rect.outer {
|
|
227
|
+
rx: ${e.radius}px;
|
|
228
|
+
ry: ${e.radius}px;
|
|
229
|
+
filter: ${e.dropShadow?e.dropShadow.replace(`url(#drop-shadow)`,`url(${e.svgId}-drop-shadow)`):`none`}
|
|
230
|
+
}
|
|
231
|
+
`,`getStyles`);Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return le}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return V}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return ce}});
|