@sme.up/ketchup2 2.10.0 → 2.11.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/{abnfDiagram-VCTEODGH-jIDWUpNo.js → abnfDiagram-WEYOIA3C-BGzUWx_N.js} +18 -18
- package/dist/{arc-DXfwi1YX.js → arc-Cde31fHX.js} +1 -1
- package/dist/architecture-WOLXFQ4H-CjGAyYHf.js +2 -0
- package/dist/{architectureDiagram-5GKGNRK7-C1xA1c3c.js → architectureDiagram-ZHVYKT53-DH-D4G0y.js} +138 -153
- package/dist/assets/svg/magnify-minus.svg +1 -0
- package/dist/assets/svg/magnify-plus.svg +1 -0
- package/dist/basic-components/button-group/button-group.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-types.d.ts +8 -0
- package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
- package/dist/basic-components/cell/cell.d.ts.map +1 -1
- package/dist/basic-components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/basic-components/chips/chips-types.d.ts +13 -0
- package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
- package/dist/basic-components/chips/chips.d.ts.map +1 -1
- package/dist/basic-components/date-picker/date-picker-types.d.ts +4 -0
- package/dist/basic-components/date-picker/date-picker-types.d.ts.map +1 -1
- package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -1
- package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
- package/dist/basic-components/radio/radio.d.ts.map +1 -1
- package/dist/basic-components/slider/slider.d.ts.map +1 -1
- package/dist/basic-components/text/text.d.ts.map +1 -1
- package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
- package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield-types.d.ts +7 -2
- package/dist/basic-components/textfield/textfield-types.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
- package/dist/basic-components/typography/typography.d.ts.map +1 -1
- package/dist/{blockDiagram-I7D4REHJ-C0hlmHW8.js → blockDiagram-RJAE7QA3-hRpbCaPL.js} +329 -316
- package/dist/{c4Diagram-7LVT6UL2-DwTMAxzR.js → c4Diagram-XDPPPE54-Bkqvkv8O.js} +350 -340
- package/dist/channel-CcHUzwZl.js +5 -0
- package/dist/{chunk-SVP7TREG-f53BROgh.js → chunk-2E7WHVMD-DSYBrngB.js} +77 -77
- package/dist/chunk-4EMNKR2T-CndbTVTA.js +236 -0
- package/dist/{chunk-F27PBJKO-DPhiW07t.js → chunk-55XCU76K-B1HtPImz.js} +16 -16
- package/dist/{chunk-75Z2AOVW-CLjRECiG.js → chunk-7S6XSTFO-CN6S2H1-.js} +304 -305
- package/dist/{chunk-GMAD6QVW-Cnp61Cie.js → chunk-AQDTSKZB-DuUha9al.js} +386 -433
- package/dist/{chunk-DU6HZSFF-D9v_2L4Z.js → chunk-DSNLSHJZ-B1A8wsiA.js} +1078 -984
- package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
- package/dist/chunk-EJLWFMJV-Cu6XnLfk.js +75 -0
- package/dist/chunk-HAGFOTED-IzyIoLzD.js +4487 -0
- package/dist/chunk-HNE4Q36P-7zVKLE_b.js +363 -0
- package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
- package/dist/{chunk-LNGE3PJU-CtYcu9x8.js → chunk-LNGE3PJU-ByFTjlja.js} +15 -19
- package/dist/chunk-NGNAAXSQ-Tr--SG_c.js +19832 -0
- package/dist/{chunk-SHT3W25Y-aBBFlrSX.js → chunk-NQOKRVIF-CEJ-prlJ.js} +483 -414
- package/dist/chunk-OYAV6JZA-Cypx4hYu.js +14 -0
- package/dist/{chunk-P2QGCYS3-667SFjNY.js → chunk-UHW7PFBP-CoHGQVjo.js} +6 -6
- package/dist/chunk-VQ5W62QI-BSDHmyws.js +26 -0
- package/dist/{chunk-OSK3NFVY-qg1q5TTI.js → chunk-WQQL4CDK-BJE6isq-.js} +312 -288
- package/dist/chunk-XXDRQBXY-CU-dbs05.js +9 -0
- package/dist/{chunk-PWAF6VOD-z0rQy52m.js → chunk-YZO67HFG-Bcmpw0dX.js} +28 -28
- package/dist/{chunk-GVQU2GXP-BJ9OHC7T.js → chunk-ZAUX2LTX-Bu7BRVL6.js} +14 -14
- package/dist/chunk-ZCHMQSOR-BA1QQ4D6.js +354 -0
- package/dist/{chunk-TICWLB2K-DzrOz9kL.js → classDiagram-v2-4MYWR3UA-Bnh650R8.js} +333 -293
- package/dist/components/app-bar/app-bar-utils.d.ts.map +1 -1
- package/dist/components/calendar/calendar-available-height.d.ts +14 -0
- package/dist/components/calendar/calendar-available-height.d.ts.map +1 -0
- package/dist/components/calendar/calendar-types.d.ts +20 -8
- package/dist/components/calendar/calendar-types.d.ts.map +1 -1
- package/dist/components/calendar/calendar-utils.d.ts +94 -37
- package/dist/components/calendar/calendar-utils.d.ts.map +1 -1
- package/dist/components/calendar/calendar.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-event-text.d.ts +14 -3
- package/dist/components/calendar/views/calendar-event-text.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-month-grid.d.ts +4 -4
- package/dist/components/calendar/views/calendar-month-grid.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-more-events.d.ts +1 -1
- package/dist/components/calendar/views/calendar-more-events.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-time-grid.d.ts +4 -0
- package/dist/components/calendar/views/calendar-time-grid.d.ts.map +1 -1
- package/dist/components/data-table/assets/data-table-row-actions.d.ts +1 -1
- package/dist/components/data-table/cell-actions/cell-actions-types.d.ts +12 -0
- package/dist/components/data-table/cell-actions/cell-actions-types.d.ts.map +1 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts +29 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts.map +1 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts +2 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts.map +1 -0
- package/dist/components/data-table/cell-actions/cell-actions.d.ts +6 -0
- package/dist/components/data-table/cell-actions/cell-actions.d.ts.map +1 -0
- package/dist/components/data-table/column-menu/column-menu-types.d.ts +32 -0
- package/dist/components/data-table/column-menu/column-menu-types.d.ts.map +1 -0
- package/dist/components/data-table/column-menu/column-menu.d.ts +11 -0
- package/dist/components/data-table/column-menu/column-menu.d.ts.map +1 -0
- package/dist/components/data-table/columns/columns-utils.d.ts +11 -2
- package/dist/components/data-table/columns/columns-utils.d.ts.map +1 -1
- package/dist/components/data-table/columns/useColumnWidths.d.ts +24 -1
- package/dist/components/data-table/columns/useColumnWidths.d.ts.map +1 -1
- package/dist/components/data-table/data-table-types.d.ts +191 -38
- package/dist/components/data-table/data-table-types.d.ts.map +1 -1
- package/dist/components/data-table/data-table.d.ts.map +1 -1
- package/dist/components/data-table/filtering/data-table-filter-utils.d.ts +19 -2
- package/dist/components/data-table/filtering/data-table-filter-utils.d.ts.map +1 -1
- package/dist/components/data-table/fixed/fixed-utils.d.ts +6 -0
- package/dist/components/data-table/fixed/fixed-utils.d.ts.map +1 -1
- package/dist/components/data-table/footer/footer-types.d.ts +22 -8
- package/dist/components/data-table/footer/footer-types.d.ts.map +1 -1
- package/dist/components/data-table/footer/footer.d.ts.map +1 -1
- package/dist/components/data-table/group-row/group-row-types.d.ts +29 -1
- package/dist/components/data-table/group-row/group-row-types.d.ts.map +1 -1
- package/dist/components/data-table/group-row/group-row.d.ts.map +1 -1
- package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts +11 -5
- package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts.map +1 -1
- package/dist/components/data-table/grouping/datatable-groups-utils.d.ts +11 -1
- package/dist/components/data-table/grouping/datatable-groups-utils.d.ts.map +1 -1
- package/dist/components/data-table/grouping/group-expansion.d.ts +16 -0
- package/dist/components/data-table/grouping/group-expansion.d.ts.map +1 -0
- package/dist/components/data-table/grouping/grouping-types.d.ts +9 -0
- package/dist/components/data-table/grouping/grouping-types.d.ts.map +1 -1
- package/dist/components/data-table/header/Header.d.ts.map +1 -1
- package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts +44 -0
- package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts.map +1 -0
- package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts +8 -0
- package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts.map +1 -0
- package/dist/components/data-table/header/header-types.d.ts +32 -21
- package/dist/components/data-table/header/header-types.d.ts.map +1 -1
- package/dist/components/data-table/load-more-row/load-more-row.d.ts +8 -0
- package/dist/components/data-table/load-more-row/load-more-row.d.ts.map +1 -0
- package/dist/components/data-table/load-more-row/load-more-types.d.ts +11 -0
- package/dist/components/data-table/load-more-row/load-more-types.d.ts.map +1 -0
- package/dist/components/data-table/sorting/buildDftSort.d.ts +16 -0
- package/dist/components/data-table/sorting/buildDftSort.d.ts.map +1 -0
- package/dist/components/data-table/sorting/buildDftSort.test.d.ts +2 -0
- package/dist/components/data-table/sorting/buildDftSort.test.d.ts.map +1 -0
- package/dist/components/data-table/sorting/parseDftSort.d.ts +4 -4
- package/dist/components/data-table/sorting/parseDftSort.d.ts.map +1 -1
- package/dist/components/data-table/sorting/sortTable-utils.d.ts +10 -0
- package/dist/components/data-table/sorting/sortTable-utils.d.ts.map +1 -1
- package/dist/components/data-table/sorting/useSortableTable.d.ts +10 -4
- package/dist/components/data-table/sorting/useSortableTable.d.ts.map +1 -1
- package/dist/components/data-table/state/datatable-state.d.ts +14 -7
- package/dist/components/data-table/state/datatable-state.d.ts.map +1 -1
- package/dist/components/data-table/stories/data-table-story-meta.d.ts +7 -0
- package/dist/components/data-table/stories/data-table-story-meta.d.ts.map +1 -0
- package/dist/components/data-table/useDataTableImperativeHandle.d.ts +23 -0
- package/dist/components/data-table/useDataTableImperativeHandle.d.ts.map +1 -0
- package/dist/components/data-table/useDataTableShortcuts.d.ts +19 -0
- package/dist/components/data-table/useDataTableShortcuts.d.ts.map +1 -0
- package/dist/components/echarts-graph/builders/echarts-graph-builders.d.ts.map +1 -1
- package/dist/components/echarts-graph/data/echarts-graph-data.d.ts +1 -1
- package/dist/components/echarts-graph/data/echarts-graph-data.d.ts.map +1 -1
- package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts +12 -0
- package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts +2 -0
- package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-canvas.d.ts +34 -0
- package/dist/components/echarts-graph/echarts-graph-canvas.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-from-table.d.ts +13 -0
- package/dist/components/echarts-graph/echarts-graph-from-table.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts +12 -0
- package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-hooks.d.ts +16 -0
- package/dist/components/echarts-graph/echarts-graph-hooks.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-types.d.ts +24 -5
- package/dist/components/echarts-graph/echarts-graph-types.d.ts.map +1 -1
- package/dist/components/echarts-graph/echarts-graph.d.ts +10 -7
- package/dist/components/echarts-graph/echarts-graph.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel-types.d.ts +7 -1
- package/dist/components/input-panel/input-panel-types.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel.d.ts.map +1 -1
- package/dist/components/json-form/document-adapter.test.d.ts +2 -0
- package/dist/components/json-form/document-adapter.test.d.ts.map +1 -0
- package/dist/components/json-form/expression-evaluator.test.d.ts +2 -0
- package/dist/components/json-form/expression-evaluator.test.d.ts.map +1 -0
- package/dist/components/json-form/model/document-adapter.d.ts +54 -0
- package/dist/components/json-form/model/document-adapter.d.ts.map +1 -0
- package/dist/components/json-form/model/json-form-ajv.d.ts +12 -0
- package/dist/components/json-form/model/json-form-ajv.d.ts.map +1 -0
- package/dist/components/json-form/model/json-pointer.d.ts +20 -0
- package/dist/components/json-form/model/json-pointer.d.ts.map +1 -0
- package/dist/components/json-form/model/native-json-types.d.ts +5 -0
- package/dist/components/json-form/model/native-json-types.d.ts.map +1 -0
- package/dist/components/json-form/model/shape-event-support.d.ts +10 -0
- package/dist/components/json-form/model/shape-event-support.d.ts.map +1 -0
- package/dist/components/json-form/rule-controller.test.d.ts +2 -0
- package/dist/components/json-form/rule-controller.test.d.ts.map +1 -0
- package/dist/components/json-form/rules/expression-evaluator.d.ts +58 -0
- package/dist/components/json-form/rules/expression-evaluator.d.ts.map +1 -0
- package/dist/components/json-form/rules/rule-controller.d.ts +50 -0
- package/dist/components/json-form/rules/rule-controller.d.ts.map +1 -0
- package/dist/components/pdf/assets/pdf-fixtures.d.ts +6 -0
- package/dist/components/pdf/assets/pdf-fixtures.d.ts.map +1 -0
- package/dist/components/pdf/pdf-types.d.ts +17 -2
- package/dist/components/pdf/pdf-types.d.ts.map +1 -1
- package/dist/components/pdf/pdf-utils.d.ts +30 -1
- package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
- package/dist/components/pdf/pdf.d.ts.map +1 -1
- package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/toolbar/toolbar-nodes/toolbar-plain-node.d.ts.map +1 -1
- package/dist/context/test-utils.d.ts.map +1 -1
- package/dist/{cose-bilkent-JH36ORCC-Qs_Z6zBZ.js → cose-bilkent-JH36ORCC-DYLyHByQ.js} +77 -89
- package/dist/cynefin-EF2NZ3EQ-DZ1CSrfW.js +2 -0
- package/dist/{cynefinDiagram-5FMLGOSQ-3SByb22K.js → cynefinDiagram-WF24UDRP-bU_4r-FZ.js} +64 -64
- package/dist/{cytoscape.esm-C5TvPYYm.js → cytoscape.esm-BvXLQ91B.js} +412 -513
- package/dist/dagre-NK4GIZVX-B72HOuil.js +2352 -0
- package/dist/{diagram-VX7I27RA-DX39g4aO.js → diagram-CBK3MWTC-B-q-tUxd.js} +80 -80
- package/dist/diagram-I5XIIV2D-CMzniFEf.js +134 -0
- package/dist/{diagram-S7CK7UJ4-IhyDbKSO.js → diagram-ODIL2UCW-CrlDp0MP.js} +46 -54
- package/dist/{diagram-VSXAHHWV-CdX3XaQX.js → diagram-PFBEJUXE-hnrdzEe4.js} +136 -121
- package/dist/{diagram-UQ7AKVKN-CPDZJAkA.js → diagram-RJA3I4VV-DZW7CxE5.js} +43 -43
- package/dist/diagram-TYUNFSNR-cRJNHRy2.js +5069 -0
- package/dist/{dist-CsrMlyO_.js → dist-Bj7IMbKd.js} +1 -1
- package/dist/{ebnfDiagram-PWID7BFC-D0cmYo-k.js → ebnfDiagram-V4P3TTPT-Bm7KtfLA.js} +17 -17
- package/dist/echarts-C7ehbnCk.js +15485 -0
- package/dist/elk-QONTBCTQ-gWOTRRj4.js +47505 -0
- package/dist/{erDiagram-RLTQ6QDP-C-nlwQZa.js → erDiagram-KYQIGQAA-WZEbQwWz.js} +150 -146
- package/dist/eventmodeling-K75KTNOO-CEn7YBG4.js +2 -0
- package/dist/flowDiagram-IUGLLWBU-CRV2Bl2C.js +16 -0
- package/dist/functional-components/filter-group/filter-builder-operators.d.ts +15 -0
- package/dist/functional-components/filter-group/filter-builder-operators.d.ts.map +1 -0
- package/dist/functional-components/filter-group/filter-builder.d.ts +15 -1
- package/dist/functional-components/filter-group/filter-builder.d.ts.map +1 -1
- package/dist/functional-components/group-bar/group-bar-types.d.ts +16 -0
- package/dist/functional-components/group-bar/group-bar-types.d.ts.map +1 -1
- package/dist/functional-components/group-bar/group-bar.d.ts.map +1 -1
- package/dist/functional-components/helper-text/helper-text-types.d.ts +1 -1
- package/dist/functional-components/row/row-types.d.ts +27 -1
- package/dist/functional-components/row/row-types.d.ts.map +1 -1
- package/dist/functional-components/row/row.d.ts.map +1 -1
- package/dist/functional-components/tree-picker/tree-picker-types.d.ts +5 -0
- package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -1
- package/dist/{ganttDiagram-EL5Y4UJY-qQkBgEV6.js → ganttDiagram-R7GPNTJY-DFRGfQMr.js} +314 -310
- package/dist/gitGraph-VSP46ZUC-BSTikFaE.js +2 -0
- package/dist/{gitGraphDiagram-WWUBYQGX-D8cZBZXB.js → gitGraphDiagram-PDYL7XHY-nvoob8Ca.js} +250 -250
- package/dist/hooks/useVirtualListScroll.d.ts +7 -2
- package/dist/hooks/useVirtualListScroll.d.ts.map +1 -1
- package/dist/index.d.ts +2 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/info-OHQRW6UA-BGb3N889.js +2 -0
- package/dist/infoDiagram-MVDRKAX5-BqO_morw.js +20 -0
- package/dist/installCanvasRenderer-CgRxxRBg.js +29799 -0
- package/dist/{ishikawaDiagram-5VMMS53U-B0RvuZyG.js → ishikawaDiagram-HPEHV2GE-BE3amLYE.js} +27 -29
- package/dist/{journeyDiagram-3NMN7TZE-Dh8_Vc4e.js → journeyDiagram-BOSHW7O7-DE8ndsCi.js} +111 -111
- package/dist/{kanban-definition-UXKFOSKX-C99A4PsR.js → kanban-definition-FNSA4HC5-D72kc4EN.js} +135 -135
- package/dist/{katex-CT2p8LXT.js → katex-CDhNh-ZQ.js} +919 -1040
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +25049 -70453
- package/dist/{line-CkNoVxEr.js → line-ltPB6XbC.js} +1 -1
- package/dist/{linear-CXc5xaa6.js → linear-i6_MPSGL.js} +2 -3
- package/dist/locale/en/translation.json.d.ts +36 -5
- package/dist/locale/it/translation.json.d.ts +36 -5
- package/dist/{mermaid-parser.core-BwVmI_Rq.js → mermaid-parser.core-zUi7tSl-.js} +166 -172
- package/dist/{mindmap-definition-YA3MSWOX-D0ULN6M8.js → mindmap-definition-6OY57UG3-hH6Avsg4.js} +148 -145
- package/dist/packet-JDAUHWVQ-CKZoNg5j.js +2 -0
- package/dist/{pegDiagram-XKGWAZYB-BThnA3Uk.js → pegDiagram-ECIUJNBX-D3xLhrRh.js} +19 -19
- package/dist/pie-XZMESJXO-BnbWY8rE.js +2 -0
- package/dist/{pieDiagram-E7YTZNPT-CJ4LPitY.js → pieDiagram-GNMPY74T-Bd_UXypi.js} +39 -39
- package/dist/{quadrantDiagram-AXDQQJYC-nEwzg95_.js → quadrantDiagram-D57K4MC3-BAwweqT8.js} +149 -149
- package/dist/radar-ABXABTNO-D5CEmFBx.js +2 -0
- package/dist/railroad-I3PHUGI6-CxMiYaMH.js +2 -0
- package/dist/railroad-abnf-LNEFI6M7-C69KxGa-.js +2 -0
- package/dist/railroad-ebnf-DWYD2UWJ-D5Xd566k.js +2 -0
- package/dist/railroad-peg-JR7BVNR7-CD0OiqcS.js +2 -0
- package/dist/{railroadDiagram-O6MQD6OU-D_9gvx5m.js → railroadDiagram-Y72NRBL7-CPUbPgYX.js} +14 -14
- package/dist/{requirementDiagram-BXWQKSXE-BU3gTMjQ.js → requirementDiagram-EQYSW5RA-BXstYS3w.js} +97 -93
- package/dist/rolldown-runtime-5HNE8Q1r.js +23 -0
- package/dist/{sankeyDiagram-P5KCCOFB-BmNN-6y3.js → sankeyDiagram-SY24JHO5-Du-toJmg.js} +64 -64
- package/dist/{sequenceDiagram-WJ2MYXX4-QYJxbuz_.js → sequenceDiagram-BLEHNHQU-BNNnerZ-.js} +953 -868
- package/dist/{sizeCapture-INFHLROL-CHXIsPO_.js → sizeCapture-INFHLROL-DujrpAYz.js} +1 -1
- package/dist/{src-DQoflmwT.js → src-CY9Rz0Sf.js} +545 -566
- package/dist/{chunk-IMKFNOWR-yyUcHorm.js → stateDiagram-v2-A6IESKWZ-CfjPf8h7.js} +364 -267
- package/dist/{swimlanes-42K2YHIH-DkMzBkx7.js → swimlanes-B3ENRKFQ-Dumwq89C.js} +1356 -1590
- package/dist/swimlanesDiagram-AYQRV4AK-Boz_Azx7.js +28 -0
- package/dist/{timeline-definition-24CTP7MA-AvgVPsM_.js → timeline-definition-JXYKGLGB-ClzmRQCu.js} +354 -350
- package/dist/treeView-D4JQ5SDB-C3ue8DID.js +2 -0
- package/dist/treemap-SAJKECNS-BWis-Wpv.js +2 -0
- package/dist/types/data-structures.d.ts +11 -0
- package/dist/types/data-structures.d.ts.map +1 -1
- package/dist/types/global.d.ts +7 -2
- package/dist/types/global.d.ts.map +1 -1
- package/dist/types/translation.d.ts +35 -5
- package/dist/types/translation.d.ts.map +1 -1
- package/dist/usecaseDiagram-WPOLBNNX-ruZhXlYQ.js +7175 -0
- package/dist/utils/object-styles.d.ts +12 -0
- package/dist/utils/object-styles.d.ts.map +1 -0
- package/dist/utils/object-styles.test.d.ts +2 -0
- package/dist/utils/object-styles.test.d.ts.map +1 -0
- package/dist/utils/totals/totals-registry.d.ts +17 -0
- package/dist/utils/totals/totals-registry.d.ts.map +1 -0
- package/dist/utils/totals/totals-utils.d.ts +70 -7
- package/dist/utils/totals/totals-utils.d.ts.map +1 -1
- package/dist/utils/wrapper-types/list.d.ts.map +1 -1
- package/dist/{vennDiagram-4TSXK5OY-DBz_EnfL.js → vennDiagram-Q3Y3IDCW-L9GmqfCz.js} +118 -118
- package/dist/wardley-7MLQ67FV-DC0ayJCO.js +2 -0
- package/dist/{wardleyDiagram-VM6X3IG4-D4U_E7xl.js → wardleyDiagram-IVAIDKWA-Dz5K-UqN.js} +126 -126
- package/dist/{xychartDiagram-S5SC5T6Z-aHqeFP13.js → xychartDiagram-4URNHDU4-C2xwRx5F.js} +141 -137
- package/package.json +5 -3
- package/dist/architecture-7GRP2DOG-BsytjMto.js +0 -3
- package/dist/channel-BD0NTdCR.js +0 -5
- package/dist/chunk-2E4U76K2-CMCSmJ5_.js +0 -348
- package/dist/chunk-4HAMMTFA-DBtV-sHy.js +0 -4188
- package/dist/chunk-CLGD4ZFX-DdntjE3C.js +0 -14
- package/dist/chunk-FOHPRMQF-LRqOLsSw.js +0 -21456
- package/dist/chunk-L3NEJ4N5-Dd1FmxFn.js +0 -245
- package/dist/chunk-POPQ4Y6H-YFNrkrJW.js +0 -26
- package/dist/chunk-TLUHSLCS-Drk6ApJR.js +0 -59
- package/dist/chunk-XXDRQBXY-C1ZEFXGu.js +0 -9
- package/dist/classDiagram-ZZMXUADV-CaI6YU6r.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-ClCVTcLo.js +0 -30
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree-types.d.ts +0 -14
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree-types.d.ts.map +0 -1
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree.d.ts +0 -11
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree.d.ts.map +0 -1
- package/dist/cynefin-OW5HDTMX-BJXlKro0.js +0 -3
- package/dist/dagre-D5csT9sx.js +0 -1934
- package/dist/dagre-GXQ25YYZ--Qf92cTs.js +0 -425
- package/dist/diagram-Z3DM3KII-DECfAI1l.js +0 -134
- package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +0 -3
- package/dist/flowDiagram-HODETNUW-LRjksS-j.js +0 -17
- package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +0 -3
- package/dist/info-A6RAGUB7-CmZJKEaW.js +0 -3
- package/dist/infoDiagram-27XIBGKW-DXO97_PJ.js +0 -20
- package/dist/packet-AYTQ26CC-B3tgRshR.js +0 -3
- package/dist/pie-WAS4IAKB-BRiI8kbI.js +0 -3
- package/dist/radar-RG4KPBEZ-ASOMQXFw.js +0 -3
- package/dist/railroad-74A4TZTK-oS840SLr.js +0 -3
- package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +0 -3
- package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +0 -3
- package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +0 -3
- package/dist/stateDiagram-D77RDMKH-0Jasv70t.js +0 -220
- package/dist/stateDiagram-v2-MP3YSRHH-JMSv8IGL.js +0 -30
- package/dist/swimlanesDiagram-VR7AAH4N-DtnUyaK5.js +0 -31
- package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +0 -3
- package/dist/treemap-WGGIJYW6-Cjjk75wA.js +0 -3
- package/dist/wardley-WFR3VGLG-BamDiE0x.js +0 -3
|
@@ -1,245 +0,0 @@
|
|
|
1
|
-
import { m as e, p as t } from "./src-DQoflmwT.js";
|
|
2
|
-
import { T as n, g as r, x as i } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
|
-
import { n as a } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { a as o, i as s } from "./chunk-P2QGCYS3-667SFjNY.js";
|
|
5
|
-
import { n as c } from "./chunk-GMAD6QVW-Cnp61Cie.js";
|
|
6
|
-
import { t as l } from "./rough.esm-DXYGHN3m.js";
|
|
7
|
-
import { n as u, r as d, t as f } from "./chunk-4HAMMTFA-DBtV-sHy.js";
|
|
8
|
-
import { n as p } from "./chunk-GVQU2GXP-BJ9OHC7T.js";
|
|
9
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-L3NEJ4N5.mjs
|
|
10
|
-
var m = /* @__PURE__ */ a(async (n, a) => {
|
|
11
|
-
let u = i(), { themeVariables: f, handDrawnSeed: p } = u, { clusterBkg: m, clusterBorder: h } = f, g = h, { labelStyles: _, nodeStyles: v, borderStyles: y, backgroundStyles: b } = s(a), x = n.insert("g").attr("class", "cluster swimlane " + (a.cssClasses || "")).attr("id", a.id).attr("data-id", a.id).attr("data-et", "cluster").attr("data-look", a.look), S = r(u.flowchart.htmlLabels), C = a.direction === "LR", w = x.insert("g").attr("class", "cluster-label swimlane-label"), T = await c(w, a.label, {
|
|
12
|
-
style: a.labelStyle,
|
|
13
|
-
useHtmlLabels: S,
|
|
14
|
-
isNode: !0,
|
|
15
|
-
width: a.width
|
|
16
|
-
}), E = T.getBBox();
|
|
17
|
-
if (S) {
|
|
18
|
-
let e = T.children[0], n = t(T);
|
|
19
|
-
E = e.getBoundingClientRect(), n.attr("width", E.width), n.attr("height", E.height);
|
|
20
|
-
}
|
|
21
|
-
let D = a.padding ?? 0, O = a.width <= E.width + D ? E.width + D : a.width;
|
|
22
|
-
a.diff = a.width <= E.width + D ? (O - a.width) / 2 - D : -D;
|
|
23
|
-
let k = a.height, A = a.y - k / 2, j = a.y + k / 2, M = a.x - O / 2, N = a.swimlaneContentTop === void 0 ? A + k / 3 : a.swimlaneContentTop, P = C ? 4 : 0, F = E.height + 2 * P, I, L;
|
|
24
|
-
if (C) {
|
|
25
|
-
let e = Math.max(F, E.height + 2 * P), t = M + e, n = Math.max(0, O - e);
|
|
26
|
-
if (a.look === "handDrawn") {
|
|
27
|
-
let r = l.svg(x), i = o(a, {
|
|
28
|
-
roughness: .7,
|
|
29
|
-
fill: m,
|
|
30
|
-
stroke: g,
|
|
31
|
-
fillWeight: 3,
|
|
32
|
-
seed: p
|
|
33
|
-
}), s = o(a, {
|
|
34
|
-
roughness: .7,
|
|
35
|
-
fill: "none",
|
|
36
|
-
stroke: g,
|
|
37
|
-
seed: p
|
|
38
|
-
}), c = r.rectangle(M, A, e, k, i);
|
|
39
|
-
I = x.insert(() => c, ":first-child");
|
|
40
|
-
let u = r.rectangle(t, A, n, k, s);
|
|
41
|
-
L = x.insert(() => u, ":first-child"), I.select("path:nth-child(2)").attr("style", y.join(";")), I.select("path").attr("style", b.join(";").replace("fill", "stroke"));
|
|
42
|
-
} else I = x.insert("rect", ":first-child"), L = x.insert("rect", ":first-child"), I.attr("class", "swimlane-title").attr("style", v).attr("x", M).attr("y", A).attr("width", e).attr("height", k).attr("fill", m).attr("stroke", g), L.attr("class", "swimlane-body").attr("style", v).attr("x", t).attr("y", A).attr("width", n).attr("height", k).attr("fill", "none").attr("stroke", g);
|
|
43
|
-
let r = M + e / 2, i = a.y;
|
|
44
|
-
w.attr("transform", `translate(${r}, ${i}) rotate(-90) translate(${-E.width / 2}, ${-E.height / 2})`);
|
|
45
|
-
} else {
|
|
46
|
-
let e = Math.max(0, N - A), t = Math.min(F, e), n = A + t, r = Math.max(0, j - n), i = a.x - O / 2;
|
|
47
|
-
if (a.look === "handDrawn") {
|
|
48
|
-
let e = l.svg(x), s = o(a, {
|
|
49
|
-
roughness: .7,
|
|
50
|
-
fill: m,
|
|
51
|
-
stroke: g,
|
|
52
|
-
fillWeight: 3,
|
|
53
|
-
seed: p
|
|
54
|
-
}), c = o(a, {
|
|
55
|
-
roughness: .7,
|
|
56
|
-
fill: "none",
|
|
57
|
-
stroke: g,
|
|
58
|
-
seed: p
|
|
59
|
-
}), u = e.rectangle(i, A, O, t, s);
|
|
60
|
-
I = x.insert(() => u, ":first-child");
|
|
61
|
-
let d = e.rectangle(i, n, O, r, c);
|
|
62
|
-
L = x.insert(() => d, ":first-child"), I.select("path:nth-child(2)").attr("style", y.join(";")), I.select("path").attr("style", b.join(";").replace("fill", "stroke"));
|
|
63
|
-
} else I = x.insert("rect", ":first-child"), L = x.insert("rect", ":first-child"), I.attr("class", "swimlane-title").attr("style", v).attr("x", i).attr("y", A).attr("width", O).attr("height", t).attr("fill", m).attr("stroke", g), L.attr("class", "swimlane-body").attr("style", v).attr("x", i).attr("y", n).attr("width", O).attr("height", r).attr("fill", "none").attr("stroke", g);
|
|
64
|
-
let s = a.x - E.width / 2, c = A + (t - E.height) / 2;
|
|
65
|
-
w.attr("transform", `translate(${s}, ${c})`);
|
|
66
|
-
}
|
|
67
|
-
if (e.trace("Swimlane data ", a, JSON.stringify(a)), _) {
|
|
68
|
-
let e = w.select("span");
|
|
69
|
-
e && e.attr("style", _);
|
|
70
|
-
}
|
|
71
|
-
return a.offsetX = 0, a.width = O, a.height = k, a.offsetY = E.height - D / 2, a.intersect = function(e) {
|
|
72
|
-
return d(a, e);
|
|
73
|
-
}, {
|
|
74
|
-
cluster: x,
|
|
75
|
-
labelBBox: E
|
|
76
|
-
};
|
|
77
|
-
}, "swimlane"), h = /* @__PURE__ */ a(async (r, a) => {
|
|
78
|
-
e.info("Creating subgraph rect for ", a.id, a);
|
|
79
|
-
let m = i(), { themeVariables: h, handDrawnSeed: g } = m, { clusterBkg: _, clusterBorder: v } = h, { labelStyles: y, nodeStyles: b, borderStyles: x, backgroundStyles: S } = s(a), C = r.insert("g").attr("class", "cluster " + a.cssClasses).attr("id", a.domId).attr("data-look", a.look), w = n(m), T = C.insert("g").attr("class", "cluster-label "), E;
|
|
80
|
-
E = a.labelType === "markdown" ? await c(T, a.label, {
|
|
81
|
-
style: a.labelStyle,
|
|
82
|
-
useHtmlLabels: w,
|
|
83
|
-
isNode: !0,
|
|
84
|
-
width: a.width
|
|
85
|
-
}) : await f(T, a.label, a.labelStyle || "", !1, !0);
|
|
86
|
-
let D = E.getBBox();
|
|
87
|
-
if (n(m)) {
|
|
88
|
-
let e = E.children[0], n = t(E);
|
|
89
|
-
D = e.getBoundingClientRect(), n.attr("width", D.width), n.attr("height", D.height);
|
|
90
|
-
}
|
|
91
|
-
let O = a.width <= D.width + a.padding ? D.width + a.padding : a.width;
|
|
92
|
-
a.diff = a.width <= D.width + a.padding ? (O - a.width) / 2 - a.padding : -a.padding;
|
|
93
|
-
let k = a.height, A = a.x - O / 2, j = a.y - k / 2;
|
|
94
|
-
e.trace("Data ", a, JSON.stringify(a));
|
|
95
|
-
let M;
|
|
96
|
-
if (a.look === "handDrawn") {
|
|
97
|
-
let t = l.svg(C), n = o(a, {
|
|
98
|
-
roughness: .7,
|
|
99
|
-
fill: _,
|
|
100
|
-
stroke: v,
|
|
101
|
-
fillWeight: 3,
|
|
102
|
-
seed: g
|
|
103
|
-
}), r = t.path(u(A, j, O, k, 0), n);
|
|
104
|
-
M = C.insert(() => (e.debug("Rough node insert CXC", r), r), ":first-child"), M.select("path:nth-child(2)").attr("style", x.join(";")), M.select("path").attr("style", S.join(";").replace("fill", "stroke"));
|
|
105
|
-
} else M = C.insert("rect", ":first-child"), M.attr("style", b).attr("rx", a.rx).attr("ry", a.ry).attr("x", A).attr("y", j).attr("width", O).attr("height", k);
|
|
106
|
-
let { subGraphTitleTopMargin: N } = p(m);
|
|
107
|
-
if (T.attr("transform", `translate(${a.x - D.width / 2}, ${a.y - a.height / 2 + N})`), y) {
|
|
108
|
-
let e = T.select("span");
|
|
109
|
-
e && e.attr("style", y);
|
|
110
|
-
}
|
|
111
|
-
let P = M.node().getBBox();
|
|
112
|
-
return a.offsetX = 0, a.width = P.width, a.height = P.height, a.offsetY = D.height - a.padding / 2, a.intersect = function(e) {
|
|
113
|
-
return d(a, e);
|
|
114
|
-
}, {
|
|
115
|
-
cluster: C,
|
|
116
|
-
labelBBox: D
|
|
117
|
-
};
|
|
118
|
-
}, "rect"), g = {
|
|
119
|
-
rect: h,
|
|
120
|
-
squareRect: h,
|
|
121
|
-
roundedWithTitle: /* @__PURE__ */ a(async (e, r) => {
|
|
122
|
-
let a = i(), { themeVariables: o, handDrawnSeed: s } = a, { altBackground: c, compositeBackground: p, compositeTitleBackground: m, nodeBorder: h } = o, g = e.insert("g").attr("class", r.cssClasses).attr("id", r.domId).attr("data-id", r.id).attr("data-look", r.look), _ = g.insert("g", ":first-child"), v = g.insert("g").attr("class", "cluster-label"), y = g.append("rect"), b = await f(v, r.label, r.labelStyle, void 0, !0), x = b.getBBox();
|
|
123
|
-
if (n(a)) {
|
|
124
|
-
let e = b.children[0], n = t(b);
|
|
125
|
-
x = e.getBoundingClientRect(), n.attr("width", x.width), n.attr("height", x.height);
|
|
126
|
-
}
|
|
127
|
-
let S = 0 * r.padding, C = S / 2, w = (r.width <= x.width + r.padding ? x.width + r.padding : r.width) + S;
|
|
128
|
-
r.diff = r.width <= x.width + r.padding ? (w - r.width) / 2 - r.padding : -r.padding;
|
|
129
|
-
let T = r.height + S, E = r.height + S - x.height - 6, D = r.x - w / 2, O = r.y - T / 2;
|
|
130
|
-
r.width = w;
|
|
131
|
-
let k = r.y - r.height / 2 - C + x.height + 2, A;
|
|
132
|
-
if (r.look === "handDrawn") {
|
|
133
|
-
let e = r.cssClasses.includes("statediagram-cluster-alt"), t = l.svg(g), n = r.rx || r.ry ? t.path(u(D, O, w, T, 10), {
|
|
134
|
-
roughness: .7,
|
|
135
|
-
fill: m,
|
|
136
|
-
fillStyle: "solid",
|
|
137
|
-
stroke: h,
|
|
138
|
-
seed: s
|
|
139
|
-
}) : t.rectangle(D, O, w, T, { seed: s });
|
|
140
|
-
A = g.insert(() => n, ":first-child");
|
|
141
|
-
let i = t.rectangle(D, k, w, E, {
|
|
142
|
-
fill: e ? c : p,
|
|
143
|
-
fillStyle: e ? "hachure" : "solid",
|
|
144
|
-
stroke: h,
|
|
145
|
-
seed: s
|
|
146
|
-
});
|
|
147
|
-
A = g.insert(() => n, ":first-child"), y = g.insert(() => i);
|
|
148
|
-
} else A = _.insert("rect", ":first-child"), A.attr("class", "outer").attr("x", D).attr("y", O).attr("width", w).attr("height", T).attr("data-look", r.look), y.attr("class", "inner").attr("x", D).attr("y", k).attr("width", w).attr("height", E);
|
|
149
|
-
return v.attr("transform", `translate(${r.x - x.width / 2}, ${O + 1 - (n(a) ? 0 : 3)})`), r.height = A.node().getBBox().height, r.offsetX = 0, r.offsetY = x.height - r.padding / 2, r.labelBBox = x, r.intersect = function(e) {
|
|
150
|
-
return d(r, e);
|
|
151
|
-
}, {
|
|
152
|
-
cluster: g,
|
|
153
|
-
labelBBox: x
|
|
154
|
-
};
|
|
155
|
-
}, "roundedWithTitle"),
|
|
156
|
-
noteGroup: /* @__PURE__ */ a((e, t) => {
|
|
157
|
-
let n = e.insert("g").attr("class", "note-cluster").attr("id", t.domId), r = n.insert("rect", ":first-child"), i = 0 * t.padding, a = i / 2;
|
|
158
|
-
r.attr("rx", t.rx).attr("ry", t.ry).attr("x", t.x - t.width / 2 - a).attr("y", t.y - t.height / 2 - a).attr("width", t.width + i).attr("height", t.height + i).attr("fill", "none");
|
|
159
|
-
let o = r.node().getBBox();
|
|
160
|
-
return t.width = o.width, t.height = o.height, t.intersect = function(e) {
|
|
161
|
-
return d(t, e);
|
|
162
|
-
}, {
|
|
163
|
-
cluster: n,
|
|
164
|
-
labelBBox: {
|
|
165
|
-
width: 0,
|
|
166
|
-
height: 0
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
}, "noteGroup"),
|
|
170
|
-
divider: /* @__PURE__ */ a((e, t) => {
|
|
171
|
-
let { themeVariables: n, handDrawnSeed: r } = i(), { nodeBorder: a } = n, o = e.insert("g").attr("class", t.cssClasses).attr("id", t.domId).attr("data-look", t.look), s = o.insert("g", ":first-child"), c = 0 * t.padding, u = t.width + c;
|
|
172
|
-
t.diff = -t.padding;
|
|
173
|
-
let f = t.height + c, p = t.x - u / 2, m = t.y - f / 2;
|
|
174
|
-
t.width = u;
|
|
175
|
-
let h;
|
|
176
|
-
if (t.look === "handDrawn") {
|
|
177
|
-
let e = l.svg(o).rectangle(p, m, u, f, {
|
|
178
|
-
fill: "lightgrey",
|
|
179
|
-
roughness: .5,
|
|
180
|
-
strokeLineDash: [5],
|
|
181
|
-
stroke: a,
|
|
182
|
-
seed: r
|
|
183
|
-
});
|
|
184
|
-
h = o.insert(() => e, ":first-child");
|
|
185
|
-
} else {
|
|
186
|
-
h = s.insert("rect", ":first-child");
|
|
187
|
-
let e = "outer";
|
|
188
|
-
e = (t.look, "divider"), h.attr("class", e).attr("x", p).attr("y", m).attr("width", u).attr("height", f).attr("data-look", t.look);
|
|
189
|
-
}
|
|
190
|
-
return t.height = h.node().getBBox().height, t.offsetX = 0, t.offsetY = 0, t.intersect = function(e) {
|
|
191
|
-
return d(t, e);
|
|
192
|
-
}, {
|
|
193
|
-
cluster: o,
|
|
194
|
-
labelBBox: {}
|
|
195
|
-
};
|
|
196
|
-
}, "divider"),
|
|
197
|
-
kanbanSection: /* @__PURE__ */ a(async (r, a) => {
|
|
198
|
-
e.info("Creating subgraph rect for ", a.id, a);
|
|
199
|
-
let f = i(), { themeVariables: m, handDrawnSeed: h } = f, { clusterBkg: g, clusterBorder: _ } = m, { labelStyles: v, nodeStyles: y, borderStyles: b, backgroundStyles: x } = s(a), S = r.insert("g").attr("class", "cluster " + a.cssClasses).attr("id", a.domId).attr("data-look", a.look), C = n(f), w = S.insert("g").attr("class", "cluster-label "), T = await c(w, a.label, {
|
|
200
|
-
style: a.labelStyle,
|
|
201
|
-
useHtmlLabels: C,
|
|
202
|
-
isNode: !0,
|
|
203
|
-
width: a.width
|
|
204
|
-
}), E = T.getBBox();
|
|
205
|
-
if (n(f)) {
|
|
206
|
-
let e = T.children[0], n = t(T);
|
|
207
|
-
E = e.getBoundingClientRect(), n.attr("width", E.width), n.attr("height", E.height);
|
|
208
|
-
}
|
|
209
|
-
let D = a.width <= E.width + a.padding ? E.width + a.padding : a.width;
|
|
210
|
-
a.diff = a.width <= E.width + a.padding ? (D - a.width) / 2 - a.padding : -a.padding;
|
|
211
|
-
let O = a.height, k = a.x - D / 2, A = a.y - O / 2;
|
|
212
|
-
e.trace("Data ", a, JSON.stringify(a));
|
|
213
|
-
let j;
|
|
214
|
-
if (a.look === "handDrawn") {
|
|
215
|
-
let t = l.svg(S), n = o(a, {
|
|
216
|
-
roughness: .7,
|
|
217
|
-
fill: g,
|
|
218
|
-
stroke: _,
|
|
219
|
-
fillWeight: 4,
|
|
220
|
-
seed: h
|
|
221
|
-
}), r = t.path(u(k, A, D, O, a.rx), n);
|
|
222
|
-
j = S.insert(() => (e.debug("Rough node insert CXC", r), r), ":first-child"), j.select("path:nth-child(2)").attr("style", b.join(";")), j.select("path").attr("style", x.join(";").replace("fill", "stroke"));
|
|
223
|
-
} else j = S.insert("rect", ":first-child"), j.attr("style", y).attr("rx", a.rx).attr("ry", a.ry).attr("x", k).attr("y", A).attr("width", D).attr("height", O);
|
|
224
|
-
let { subGraphTitleTopMargin: M } = p(f);
|
|
225
|
-
if (w.attr("transform", `translate(${a.x - E.width / 2}, ${a.y - a.height / 2 + M})`), v) {
|
|
226
|
-
let e = w.select("span");
|
|
227
|
-
e && e.attr("style", v);
|
|
228
|
-
}
|
|
229
|
-
let N = j.node().getBBox();
|
|
230
|
-
return a.offsetX = 0, a.width = N.width, a.height = N.height, a.offsetY = E.height - a.padding / 2, a.intersect = function(e) {
|
|
231
|
-
return d(a, e);
|
|
232
|
-
}, {
|
|
233
|
-
cluster: S,
|
|
234
|
-
labelBBox: E
|
|
235
|
-
};
|
|
236
|
-
}, "kanbanSection"),
|
|
237
|
-
swimlane: m
|
|
238
|
-
}, _ = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ a(async (e, t) => {
|
|
239
|
-
let n = await g[t.shape || "rect"](e, t);
|
|
240
|
-
return _.set(t.id, n), n;
|
|
241
|
-
}, "insertCluster"), y = /* @__PURE__ */ a(() => {
|
|
242
|
-
_ = /* @__PURE__ */ new Map();
|
|
243
|
-
}, "clear");
|
|
244
|
-
//#endregion
|
|
245
|
-
export { v as n, y as t };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { c as t } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
|
-
import { n } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-POPQ4Y6H.mjs
|
|
5
|
-
var r = /* @__PURE__ */ n((n, r, o, s) => {
|
|
6
|
-
n.attr("class", o);
|
|
7
|
-
let { width: c, height: l, x: u, y: d } = i(n, r);
|
|
8
|
-
t(n, l, c, s);
|
|
9
|
-
let f = a(u, d, c, l, r);
|
|
10
|
-
n.attr("viewBox", f), e.debug(`viewBox configured: ${f} with padding: ${r}`);
|
|
11
|
-
}, "setupViewPortForSVG"), i = /* @__PURE__ */ n((e, t) => {
|
|
12
|
-
let n = e.node()?.getBBox() || {
|
|
13
|
-
width: 0,
|
|
14
|
-
height: 0,
|
|
15
|
-
x: 0,
|
|
16
|
-
y: 0
|
|
17
|
-
};
|
|
18
|
-
return {
|
|
19
|
-
width: n.width + t * 2,
|
|
20
|
-
height: n.height + t * 2,
|
|
21
|
-
x: n.x,
|
|
22
|
-
y: n.y
|
|
23
|
-
};
|
|
24
|
-
}, "calculateDimensionsWithPadding"), a = /* @__PURE__ */ n((e, t, n, r, i) => `${e - i} ${t - i} ${n} ${r}`, "createViewBox");
|
|
25
|
-
//#endregion
|
|
26
|
-
export { r as t };
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { b as t, s as n } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
|
-
import { n as r } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { d as i } from "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
|
-
import { a } from "./chunk-4HAMMTFA-DBtV-sHy.js";
|
|
6
|
-
import { r as o } from "./chunk-GVQU2GXP-BJ9OHC7T.js";
|
|
7
|
-
import { n as s } from "./chunk-L3NEJ4N5-Dd1FmxFn.js";
|
|
8
|
-
import { a as c, c as l, i as u, s as d } from "./chunk-OSK3NFVY-qg1q5TTI.js";
|
|
9
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-TLUHSLCS.mjs
|
|
10
|
-
var f = {
|
|
11
|
-
common: n,
|
|
12
|
-
getConfig: t,
|
|
13
|
-
insertCluster: s,
|
|
14
|
-
insertEdge: u,
|
|
15
|
-
insertEdgeLabel: c,
|
|
16
|
-
insertMarkers: d,
|
|
17
|
-
insertNode: o,
|
|
18
|
-
interpolateToCurve: i,
|
|
19
|
-
labelHelper: a,
|
|
20
|
-
log: e,
|
|
21
|
-
positionEdgeLabel: l
|
|
22
|
-
}, p = {}, m = /* @__PURE__ */ r((e) => {
|
|
23
|
-
for (let t of e) p[t.name] = t;
|
|
24
|
-
}, "registerLayoutLoaders");
|
|
25
|
-
(/* @__PURE__ */ r(() => {
|
|
26
|
-
m([
|
|
27
|
-
{
|
|
28
|
-
name: "dagre",
|
|
29
|
-
loader: /* @__PURE__ */ r(async () => await import("./dagre-GXQ25YYZ--Qf92cTs.js"), "loader")
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
name: "swimlane",
|
|
33
|
-
loader: /* @__PURE__ */ r(async () => await import("./swimlanes-42K2YHIH-DkMzBkx7.js"), "loader")
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
name: "cose-bilkent",
|
|
37
|
-
loader: /* @__PURE__ */ r(async () => await import("./cose-bilkent-JH36ORCC-Qs_Z6zBZ.js"), "loader")
|
|
38
|
-
}
|
|
39
|
-
]);
|
|
40
|
-
}, "registerDefaultLayoutLoaders"))();
|
|
41
|
-
var h = /* @__PURE__ */ r(async (e, t) => {
|
|
42
|
-
if (!(e.layoutAlgorithm in p)) throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);
|
|
43
|
-
if (e.diagramId) for (let t of e.nodes) {
|
|
44
|
-
let n = t.domId || t.id;
|
|
45
|
-
t.domId = `${e.diagramId}-${n}`;
|
|
46
|
-
}
|
|
47
|
-
let n = p[e.layoutAlgorithm], r = await n.loader(), { theme: i, themeVariables: a } = e.config, { useGradient: o, gradientStart: s, gradientStop: c } = a, l = t.attr("id");
|
|
48
|
-
if (t.append("defs").append("filter").attr("id", `${l}-drop-shadow`).attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", "0.06").attr("flood-color", `${i?.includes("dark") ? "#FFFFFF" : "#000000"}`), t.append("defs").append("filter").attr("id", `${l}-drop-shadow-small`).attr("height", "150%").attr("width", "150%").append("feDropShadow").attr("dx", "2").attr("dy", "2").attr("stdDeviation", 0).attr("flood-opacity", "0.06").attr("flood-color", `${i?.includes("dark") ? "#FFFFFF" : "#000000"}`), o) {
|
|
49
|
-
let e = t.append("linearGradient").attr("id", t.attr("id") + "-gradient").attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
|
|
50
|
-
e.append("svg:stop").attr("offset", "0%").attr("stop-color", s).attr("stop-opacity", 1), e.append("svg:stop").attr("offset", "100%").attr("stop-color", c).attr("stop-opacity", 1);
|
|
51
|
-
}
|
|
52
|
-
return r.render(e, t, f, { algorithm: n.algorithm });
|
|
53
|
-
}, "render"), g = /* @__PURE__ */ r((t = "", { fallback: n = "dagre" } = {}) => {
|
|
54
|
-
if (t in p) return t;
|
|
55
|
-
if (n in p) return e.warn(`Layout algorithm ${t} is not registered. Using ${n} as fallback.`), n;
|
|
56
|
-
throw Error(`Both layout algorithms ${t} and ${n} are not registered.`);
|
|
57
|
-
}, "getRegisteredLayoutAlgorithm");
|
|
58
|
-
//#endregion
|
|
59
|
-
export { m as n, h as r, g as t };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { p as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { n as t } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
3
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-XXDRQBXY.mjs
|
|
4
|
-
var n = /* @__PURE__ */ t((t, n) => {
|
|
5
|
-
let r;
|
|
6
|
-
return n === "sandbox" && (r = e("#i" + t)), e(n === "sandbox" ? r.nodes()[0].contentDocument.body : "body").select(`[id="${t}"]`);
|
|
7
|
-
}, "getDiagramElement");
|
|
8
|
-
//#endregion
|
|
9
|
-
export { n as t };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import "./src-DQoflmwT.js";
|
|
2
|
-
import "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
|
-
import { n as e } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
|
-
import "./chunk-P2QGCYS3-667SFjNY.js";
|
|
6
|
-
import "./chunk-PWAF6VOD-z0rQy52m.js";
|
|
7
|
-
import "./chunk-GMAD6QVW-Cnp61Cie.js";
|
|
8
|
-
import "./chunk-4HAMMTFA-DBtV-sHy.js";
|
|
9
|
-
import "./chunk-GVQU2GXP-BJ9OHC7T.js";
|
|
10
|
-
import "./chunk-L3NEJ4N5-Dd1FmxFn.js";
|
|
11
|
-
import "./chunk-OSK3NFVY-qg1q5TTI.js";
|
|
12
|
-
import "./chunk-TLUHSLCS-Drk6ApJR.js";
|
|
13
|
-
import "./chunk-F27PBJKO-DPhiW07t.js";
|
|
14
|
-
import "./chunk-XXDRQBXY-C1ZEFXGu.js";
|
|
15
|
-
import "./chunk-POPQ4Y6H-YFNrkrJW.js";
|
|
16
|
-
import { i as t, n, r, t as i } from "./chunk-TICWLB2K-DzrOz9kL.js";
|
|
17
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-ZZMXUADV.mjs
|
|
18
|
-
var a = {
|
|
19
|
-
parser: n,
|
|
20
|
-
get db() {
|
|
21
|
-
return new i();
|
|
22
|
-
},
|
|
23
|
-
renderer: r,
|
|
24
|
-
styles: t,
|
|
25
|
-
init: /* @__PURE__ */ e((e) => {
|
|
26
|
-
e.class ||= {}, e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
27
|
-
}, "init")
|
|
28
|
-
};
|
|
29
|
-
//#endregion
|
|
30
|
-
export { a as diagram };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import "./src-DQoflmwT.js";
|
|
2
|
-
import "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
|
-
import { n as e } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
|
-
import "./chunk-P2QGCYS3-667SFjNY.js";
|
|
6
|
-
import "./chunk-PWAF6VOD-z0rQy52m.js";
|
|
7
|
-
import "./chunk-GMAD6QVW-Cnp61Cie.js";
|
|
8
|
-
import "./chunk-4HAMMTFA-DBtV-sHy.js";
|
|
9
|
-
import "./chunk-GVQU2GXP-BJ9OHC7T.js";
|
|
10
|
-
import "./chunk-L3NEJ4N5-Dd1FmxFn.js";
|
|
11
|
-
import "./chunk-OSK3NFVY-qg1q5TTI.js";
|
|
12
|
-
import "./chunk-TLUHSLCS-Drk6ApJR.js";
|
|
13
|
-
import "./chunk-F27PBJKO-DPhiW07t.js";
|
|
14
|
-
import "./chunk-XXDRQBXY-C1ZEFXGu.js";
|
|
15
|
-
import "./chunk-POPQ4Y6H-YFNrkrJW.js";
|
|
16
|
-
import { i as t, n, r, t as i } from "./chunk-TICWLB2K-DzrOz9kL.js";
|
|
17
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-VYDZK3BY.mjs
|
|
18
|
-
var a = {
|
|
19
|
-
parser: n,
|
|
20
|
-
get db() {
|
|
21
|
-
return new i();
|
|
22
|
-
},
|
|
23
|
-
renderer: r,
|
|
24
|
-
styles: t,
|
|
25
|
-
init: /* @__PURE__ */ e((e) => {
|
|
26
|
-
e.class ||= {}, e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
27
|
-
}, "init")
|
|
28
|
-
};
|
|
29
|
-
//#endregion
|
|
30
|
-
export { a as diagram };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { DataTree } from '../../types/data-structures';
|
|
2
|
-
export interface EchartGraphFromTreeProps {
|
|
3
|
-
/**
|
|
4
|
-
* The tree holds the ECharts option: the `value` of a node is the JSON of
|
|
5
|
-
* the option (it needs `series`). The first valid one found, looking at the
|
|
6
|
-
* first child of the tree and then at its descendants, is drawn.
|
|
7
|
-
*
|
|
8
|
-
* **Security:** the option is not sanitized. JSON cannot carry functions,
|
|
9
|
-
* but ECharts renders a `tooltip.formatter` string as HTML: use only options
|
|
10
|
-
* that come from trusted data.
|
|
11
|
-
*/
|
|
12
|
-
data: DataTree;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=echart-graph-from-tree-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"echart-graph-from-tree-types.d.ts","sourceRoot":"","sources":["../../../src/components/echart-graph-from-tree/echart-graph-from-tree-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AAEtD,MAAM,WAAW,wBAAwB;IACvC;;;;;;;;OAQG;IACH,IAAI,EAAE,QAAQ,CAAA;CACf"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { EchartGraphFromTreeProps } from './echart-graph-from-tree-types';
|
|
3
|
-
/**
|
|
4
|
-
* Draws the ECharts option found in a `DataTree`: the `value` of a node is the
|
|
5
|
-
* JSON of the option. For the charts driven by a `DataTable` see `EchartsGraph`.
|
|
6
|
-
*
|
|
7
|
-
* The option is not sanitized and ECharts renders the `tooltip.formatter`
|
|
8
|
-
* strings as HTML: use it only with trusted data.
|
|
9
|
-
*/
|
|
10
|
-
export declare const EchartGraphFromTree: React.FC<EchartGraphFromTreeProps>;
|
|
11
|
-
//# sourceMappingURL=echart-graph-from-tree.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"echart-graph-from-tree.d.ts","sourceRoot":"","sources":["../../../src/components/echart-graph-from-tree/echart-graph-from-tree.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAA;AAEvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAA;AAgCzE;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAsGlE,CAAA"}
|