@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,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as c } from "./dist-
|
|
1
|
+
import { R as e, h as t, p as n, r, s as i } from "./chunk-DSNLSHJZ-B1A8wsiA.js";
|
|
2
|
+
import { n as a } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
3
|
+
import { m as o, p as s } from "./src-CY9Rz0Sf.js";
|
|
4
|
+
import { t as c } from "./dist-Bj7IMbKd.js";
|
|
5
5
|
//#region node_modules/d3-shape/src/curve/linear.js
|
|
6
6
|
function l(e) {
|
|
7
7
|
this._context = e;
|
|
@@ -471,10 +471,10 @@ var me = (function e(t) {
|
|
|
471
471
|
})(.5);
|
|
472
472
|
//#endregion
|
|
473
473
|
//#region node_modules/d3-shape/src/curve/catmullRomOpen.js
|
|
474
|
-
function
|
|
474
|
+
function x(e, t) {
|
|
475
475
|
this._context = e, this._alpha = t;
|
|
476
476
|
}
|
|
477
|
-
|
|
477
|
+
x.prototype = {
|
|
478
478
|
areaStart: function() {
|
|
479
479
|
this._line = 0;
|
|
480
480
|
},
|
|
@@ -508,9 +508,9 @@ he.prototype = {
|
|
|
508
508
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
509
509
|
}
|
|
510
510
|
};
|
|
511
|
-
var
|
|
511
|
+
var he = (function e(t) {
|
|
512
512
|
function n(e) {
|
|
513
|
-
return t ? new
|
|
513
|
+
return t ? new x(e, t) : new y(e, 0);
|
|
514
514
|
}
|
|
515
515
|
return n.alpha = function(t) {
|
|
516
516
|
return e(+t);
|
|
@@ -518,10 +518,10 @@ var ge = (function e(t) {
|
|
|
518
518
|
})(.5);
|
|
519
519
|
//#endregion
|
|
520
520
|
//#region node_modules/d3-shape/src/curve/linearClosed.js
|
|
521
|
-
function
|
|
521
|
+
function ge(e) {
|
|
522
522
|
this._context = e;
|
|
523
523
|
}
|
|
524
|
-
|
|
524
|
+
ge.prototype = {
|
|
525
525
|
areaStart: p,
|
|
526
526
|
areaEnd: p,
|
|
527
527
|
lineStart: function() {
|
|
@@ -534,30 +534,30 @@ _e.prototype = {
|
|
|
534
534
|
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
|
|
535
535
|
}
|
|
536
536
|
};
|
|
537
|
-
function
|
|
538
|
-
return new
|
|
537
|
+
function _e(e) {
|
|
538
|
+
return new ge(e);
|
|
539
539
|
}
|
|
540
540
|
//#endregion
|
|
541
541
|
//#region node_modules/d3-shape/src/curve/monotone.js
|
|
542
|
-
function
|
|
542
|
+
function ve(e) {
|
|
543
543
|
return e < 0 ? -1 : 1;
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function ye(e, t, n) {
|
|
546
546
|
var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
|
|
547
|
-
return (
|
|
547
|
+
return (ve(a) + ve(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function be(e, t) {
|
|
550
550
|
var n = e._x1 - e._x0;
|
|
551
551
|
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function S(e, t, n) {
|
|
554
554
|
var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
|
|
555
555
|
e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function C(e) {
|
|
558
558
|
this._context = e;
|
|
559
559
|
}
|
|
560
|
-
|
|
560
|
+
C.prototype = {
|
|
561
561
|
areaStart: function() {
|
|
562
562
|
this._line = 0;
|
|
563
563
|
},
|
|
@@ -572,7 +572,7 @@ S.prototype = {
|
|
|
572
572
|
case 2:
|
|
573
573
|
this._context.lineTo(this._x1, this._y1);
|
|
574
574
|
break;
|
|
575
|
-
case 3:
|
|
575
|
+
case 3: S(this, this._t0, be(this, this._t0));
|
|
576
576
|
}
|
|
577
577
|
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
578
578
|
},
|
|
@@ -587,24 +587,24 @@ S.prototype = {
|
|
|
587
587
|
this._point = 2;
|
|
588
588
|
break;
|
|
589
589
|
case 2:
|
|
590
|
-
this._point = 3,
|
|
590
|
+
this._point = 3, S(this, be(this, n = ye(this, e, t)), n);
|
|
591
591
|
break;
|
|
592
|
-
default:
|
|
592
|
+
default: S(this, this._t0, n = ye(this, e, t));
|
|
593
593
|
}
|
|
594
594
|
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
};
|
|
598
|
-
function
|
|
599
|
-
this._context = new
|
|
598
|
+
function xe(e) {
|
|
599
|
+
this._context = new Se(e);
|
|
600
600
|
}
|
|
601
|
-
(
|
|
602
|
-
|
|
601
|
+
(xe.prototype = Object.create(C.prototype)).point = function(e, t) {
|
|
602
|
+
C.prototype.point.call(this, t, e);
|
|
603
603
|
};
|
|
604
|
-
function
|
|
604
|
+
function Se(e) {
|
|
605
605
|
this._context = e;
|
|
606
606
|
}
|
|
607
|
-
|
|
607
|
+
Se.prototype = {
|
|
608
608
|
moveTo: function(e, t) {
|
|
609
609
|
this._context.moveTo(t, e);
|
|
610
610
|
},
|
|
@@ -618,18 +618,18 @@ Ce.prototype = {
|
|
|
618
618
|
this._context.bezierCurveTo(t, e, r, n, a, i);
|
|
619
619
|
}
|
|
620
620
|
};
|
|
621
|
-
function
|
|
622
|
-
return new
|
|
621
|
+
function Ce(e) {
|
|
622
|
+
return new C(e);
|
|
623
623
|
}
|
|
624
|
-
function
|
|
625
|
-
return new
|
|
624
|
+
function we(e) {
|
|
625
|
+
return new xe(e);
|
|
626
626
|
}
|
|
627
627
|
//#endregion
|
|
628
628
|
//#region node_modules/d3-shape/src/curve/natural.js
|
|
629
|
-
function
|
|
629
|
+
function Te(e) {
|
|
630
630
|
this._context = e;
|
|
631
631
|
}
|
|
632
|
-
|
|
632
|
+
Te.prototype = {
|
|
633
633
|
areaStart: function() {
|
|
634
634
|
this._line = 0;
|
|
635
635
|
},
|
|
@@ -643,7 +643,7 @@ Ee.prototype = {
|
|
|
643
643
|
var e = this._x, t = this._y, n = e.length;
|
|
644
644
|
if (n) {
|
|
645
645
|
if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
|
|
646
|
-
else for (var r =
|
|
646
|
+
else for (var r = Ee(e), i = Ee(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
|
|
647
647
|
}
|
|
648
648
|
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
|
|
649
649
|
},
|
|
@@ -651,7 +651,7 @@ Ee.prototype = {
|
|
|
651
651
|
this._x.push(+e), this._y.push(+t);
|
|
652
652
|
}
|
|
653
653
|
};
|
|
654
|
-
function
|
|
654
|
+
function Ee(e) {
|
|
655
655
|
var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
|
|
656
656
|
for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
|
|
657
657
|
for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
|
|
@@ -659,15 +659,15 @@ function De(e) {
|
|
|
659
659
|
for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
|
|
660
660
|
return [i, a];
|
|
661
661
|
}
|
|
662
|
-
function
|
|
663
|
-
return new
|
|
662
|
+
function De(e) {
|
|
663
|
+
return new Te(e);
|
|
664
664
|
}
|
|
665
665
|
//#endregion
|
|
666
666
|
//#region node_modules/d3-shape/src/curve/step.js
|
|
667
|
-
function
|
|
667
|
+
function w(e, t) {
|
|
668
668
|
this._context = e, this._t = t;
|
|
669
669
|
}
|
|
670
|
-
|
|
670
|
+
w.prototype = {
|
|
671
671
|
areaStart: function() {
|
|
672
672
|
this._line = 0;
|
|
673
673
|
},
|
|
@@ -695,74 +695,90 @@ C.prototype = {
|
|
|
695
695
|
this._x = e, this._y = t;
|
|
696
696
|
}
|
|
697
697
|
};
|
|
698
|
-
function w(e) {
|
|
699
|
-
return new C(e, .5);
|
|
700
|
-
}
|
|
701
698
|
function T(e) {
|
|
702
|
-
return new
|
|
703
|
-
}
|
|
704
|
-
function ke(e) {
|
|
705
|
-
return new C(e, 1);
|
|
699
|
+
return new w(e, .5);
|
|
706
700
|
}
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
function Ae(e) {
|
|
710
|
-
return Number.isSafeInteger(e) && e >= 0;
|
|
701
|
+
function E(e) {
|
|
702
|
+
return new w(e, 0);
|
|
711
703
|
}
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
function je(e) {
|
|
715
|
-
return e != null && typeof e != "function" && Ae(e.length);
|
|
704
|
+
function D(e) {
|
|
705
|
+
return new w(e, 1);
|
|
716
706
|
}
|
|
717
707
|
//#endregion
|
|
718
|
-
//#region node_modules/es-toolkit/dist/
|
|
719
|
-
function
|
|
720
|
-
|
|
708
|
+
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
|
|
709
|
+
function O(e) {
|
|
710
|
+
if (typeof e != "object" || !e) return !1;
|
|
711
|
+
if (Object.getPrototypeOf(e) === null) return !0;
|
|
712
|
+
if (Object.prototype.toString.call(e) !== "[object Object]") {
|
|
713
|
+
let t = e[Symbol.toStringTag];
|
|
714
|
+
return t == null || !Object.getOwnPropertyDescriptor(e, Symbol.toStringTag)?.writable ? !1 : e.toString() === `[object ${t}]`;
|
|
715
|
+
}
|
|
716
|
+
let t = e;
|
|
717
|
+
for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
|
|
718
|
+
return Object.getPrototypeOf(e) === t;
|
|
721
719
|
}
|
|
722
720
|
//#endregion
|
|
723
|
-
//#region node_modules/es-toolkit/dist/
|
|
724
|
-
function
|
|
725
|
-
return e == null || typeof e != "object" && typeof e != "function";
|
|
726
|
-
}
|
|
721
|
+
//#region node_modules/es-toolkit/dist/function/noop.mjs
|
|
722
|
+
function Oe() {}
|
|
727
723
|
//#endregion
|
|
728
724
|
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
|
|
729
|
-
function
|
|
725
|
+
function ke(e) {
|
|
730
726
|
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
|
|
731
727
|
}
|
|
732
728
|
//#endregion
|
|
733
729
|
//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
|
|
734
|
-
function
|
|
730
|
+
function k(e) {
|
|
735
731
|
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
|
|
736
732
|
}
|
|
737
733
|
//#endregion
|
|
738
734
|
//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
|
|
739
|
-
var
|
|
735
|
+
var Ae = "[object RegExp]", A = "[object String]", j = "[object Number]", M = "[object Boolean]", N = "[object Arguments]", je = "[object Symbol]", Me = "[object Date]", Ne = "[object Map]", Pe = "[object Set]", Fe = "[object Array]", Ie = "[object ArrayBuffer]", Le = "[object Object]", Re = "[object DataView]", ze = "[object Uint8Array]", Be = "[object Uint8ClampedArray]", Ve = "[object Uint16Array]", He = "[object Uint32Array]", Ue = "[object Int8Array]", We = "[object Int16Array]", Ge = "[object Int32Array]", Ke = "[object Float32Array]", qe = "[object Float64Array]", Je = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
|
|
740
736
|
return this;
|
|
741
|
-
})()
|
|
737
|
+
})();
|
|
742
738
|
//#endregion
|
|
743
739
|
//#region node_modules/es-toolkit/dist/predicate/isBuffer.mjs
|
|
744
|
-
function
|
|
745
|
-
return
|
|
740
|
+
function P(e) {
|
|
741
|
+
return Je.Buffer !== void 0 && Je.Buffer.isBuffer(e);
|
|
742
|
+
}
|
|
743
|
+
//#endregion
|
|
744
|
+
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
|
|
745
|
+
function Ye(e) {
|
|
746
|
+
return Number.isSafeInteger(e) && e >= 0;
|
|
747
|
+
}
|
|
748
|
+
//#endregion
|
|
749
|
+
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
|
|
750
|
+
function Xe(e) {
|
|
751
|
+
return e != null && typeof e != "function" && Ye(e.length);
|
|
752
|
+
}
|
|
753
|
+
//#endregion
|
|
754
|
+
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
|
|
755
|
+
function Ze(e) {
|
|
756
|
+
return e === "__proto__";
|
|
757
|
+
}
|
|
758
|
+
//#endregion
|
|
759
|
+
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
|
|
760
|
+
function F(e) {
|
|
761
|
+
return e == null || typeof e != "object" && typeof e != "function";
|
|
746
762
|
}
|
|
747
763
|
//#endregion
|
|
748
764
|
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
|
|
749
|
-
function
|
|
765
|
+
function I(e) {
|
|
750
766
|
return ArrayBuffer.isView(e) && !(e instanceof DataView);
|
|
751
767
|
}
|
|
752
768
|
//#endregion
|
|
753
769
|
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
|
|
754
770
|
function Qe(e, t) {
|
|
755
|
-
return
|
|
771
|
+
return L(e, void 0, e, /* @__PURE__ */ new Map(), t);
|
|
756
772
|
}
|
|
757
|
-
function
|
|
773
|
+
function L(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
|
|
758
774
|
let a = i?.(e, t, n, r);
|
|
759
775
|
if (a !== void 0) return a;
|
|
760
|
-
if (
|
|
776
|
+
if (F(e)) return e;
|
|
761
777
|
if (r.has(e)) return r.get(e);
|
|
762
778
|
if (Array.isArray(e)) {
|
|
763
779
|
let t = Array(e.length);
|
|
764
780
|
r.set(e, t);
|
|
765
|
-
for (let a = 0; a < e.length; a++) t[a] =
|
|
781
|
+
for (let a = 0; a < e.length; a++) t[a] = L(e[a], a, n, r, i);
|
|
766
782
|
return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
|
|
767
783
|
}
|
|
768
784
|
if (e instanceof Date) return new Date(e.getTime());
|
|
@@ -773,88 +789,88 @@ function F(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
|
|
|
773
789
|
if (e instanceof Map) {
|
|
774
790
|
let t = /* @__PURE__ */ new Map();
|
|
775
791
|
r.set(e, t);
|
|
776
|
-
for (let [a, o] of e) t.set(a,
|
|
792
|
+
for (let [a, o] of e) t.set(a, L(o, a, n, r, i));
|
|
777
793
|
return t;
|
|
778
794
|
}
|
|
779
795
|
if (e instanceof Set) {
|
|
780
796
|
let t = /* @__PURE__ */ new Set();
|
|
781
797
|
r.set(e, t);
|
|
782
|
-
for (let a of e) t.add(
|
|
798
|
+
for (let a of e) t.add(L(a, void 0, n, r, i));
|
|
783
799
|
return t;
|
|
784
800
|
}
|
|
785
|
-
if (
|
|
786
|
-
if (
|
|
801
|
+
if (P(e)) return e.subarray();
|
|
802
|
+
if (I(e)) {
|
|
787
803
|
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
|
|
788
804
|
r.set(e, t);
|
|
789
|
-
for (let a = 0; a < e.length; a++) t[a] =
|
|
805
|
+
for (let a = 0; a < e.length; a++) t[a] = L(e[a], a, n, r, i);
|
|
790
806
|
return t;
|
|
791
807
|
}
|
|
792
808
|
if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
|
|
793
809
|
if (e instanceof DataView) {
|
|
794
810
|
let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
|
|
795
|
-
return r.set(e, t),
|
|
811
|
+
return r.set(e, t), R(t, e, n, r, i), t;
|
|
796
812
|
}
|
|
797
813
|
if (typeof File < "u" && e instanceof File) {
|
|
798
814
|
let t = new File([e], e.name, { type: e.type });
|
|
799
|
-
return r.set(e, t),
|
|
815
|
+
return r.set(e, t), R(t, e, n, r, i), t;
|
|
800
816
|
}
|
|
801
817
|
if (typeof Blob < "u" && e instanceof Blob) {
|
|
802
818
|
let t = new Blob([e], { type: e.type });
|
|
803
|
-
return r.set(e, t),
|
|
819
|
+
return r.set(e, t), R(t, e, n, r, i), t;
|
|
804
820
|
}
|
|
805
821
|
if (e instanceof Error) {
|
|
806
822
|
let t = structuredClone(e);
|
|
807
|
-
return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor,
|
|
823
|
+
return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, R(t, e, n, r, i), t;
|
|
808
824
|
}
|
|
809
825
|
if (e instanceof Boolean) {
|
|
810
826
|
let t = new Boolean(e.valueOf());
|
|
811
|
-
return r.set(e, t),
|
|
827
|
+
return r.set(e, t), R(t, e, n, r, i), t;
|
|
812
828
|
}
|
|
813
829
|
if (e instanceof Number) {
|
|
814
830
|
let t = new Number(e.valueOf());
|
|
815
|
-
return r.set(e, t),
|
|
831
|
+
return r.set(e, t), R(t, e, n, r, i), t;
|
|
816
832
|
}
|
|
817
833
|
if (e instanceof String) {
|
|
818
834
|
let t = new String(e.valueOf());
|
|
819
|
-
return r.set(e, t),
|
|
835
|
+
return r.set(e, t), R(t, e, n, r, i), t;
|
|
820
836
|
}
|
|
821
837
|
if (typeof e == "object" && $e(e)) {
|
|
822
838
|
let t = Object.create(Object.getPrototypeOf(e));
|
|
823
|
-
return r.set(e, t),
|
|
839
|
+
return r.set(e, t), R(t, e, n, r, i), t;
|
|
824
840
|
}
|
|
825
841
|
return e;
|
|
826
842
|
}
|
|
827
|
-
function
|
|
828
|
-
let a = [...Object.keys(t), ...
|
|
843
|
+
function R(e, t, n = e, r, i) {
|
|
844
|
+
let a = [...Object.keys(t), ...ke(t)];
|
|
829
845
|
for (let o = 0; o < a.length; o++) {
|
|
830
846
|
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
|
|
831
|
-
(c == null || c.writable) && (e[s] =
|
|
847
|
+
(c == null || c.writable) && (e[s] = L(t[s], s, n, r, i));
|
|
832
848
|
}
|
|
833
849
|
}
|
|
834
850
|
function $e(e) {
|
|
835
|
-
switch (
|
|
836
|
-
case
|
|
837
|
-
case
|
|
838
|
-
case Be:
|
|
839
|
-
case He:
|
|
840
|
-
case A:
|
|
851
|
+
switch (k(e)) {
|
|
852
|
+
case N:
|
|
853
|
+
case Fe:
|
|
841
854
|
case Ie:
|
|
842
|
-
case Ye:
|
|
843
|
-
case Xe:
|
|
844
|
-
case qe:
|
|
845
|
-
case M:
|
|
846
|
-
case Je:
|
|
847
|
-
case Le:
|
|
848
|
-
case k:
|
|
849
|
-
case Ve:
|
|
850
|
-
case Pe:
|
|
851
855
|
case Re:
|
|
852
|
-
case
|
|
853
|
-
case
|
|
856
|
+
case M:
|
|
857
|
+
case Me:
|
|
858
|
+
case Ke:
|
|
859
|
+
case qe:
|
|
854
860
|
case Ue:
|
|
855
861
|
case We:
|
|
856
862
|
case Ge:
|
|
857
|
-
case
|
|
863
|
+
case Ne:
|
|
864
|
+
case j:
|
|
865
|
+
case Le:
|
|
866
|
+
case Ae:
|
|
867
|
+
case Pe:
|
|
868
|
+
case A:
|
|
869
|
+
case je:
|
|
870
|
+
case ze:
|
|
871
|
+
case Be:
|
|
872
|
+
case Ve:
|
|
873
|
+
case He: return !0;
|
|
858
874
|
default: return !1;
|
|
859
875
|
}
|
|
860
876
|
}
|
|
@@ -865,20 +881,20 @@ function et(e, t) {
|
|
|
865
881
|
let o = t?.(n, r, i, a);
|
|
866
882
|
if (o !== void 0) return o;
|
|
867
883
|
if (typeof e == "object") {
|
|
868
|
-
if (
|
|
884
|
+
if (k(e) === "[object Object]" && typeof e.constructor != "function") {
|
|
869
885
|
let t = {};
|
|
870
|
-
return a.set(e, t),
|
|
886
|
+
return a.set(e, t), R(t, e, i, a), t;
|
|
871
887
|
}
|
|
872
888
|
switch (Object.prototype.toString.call(e)) {
|
|
873
|
-
case
|
|
874
|
-
case
|
|
875
|
-
case
|
|
889
|
+
case j:
|
|
890
|
+
case A:
|
|
891
|
+
case M: {
|
|
876
892
|
let t = new e.constructor(e?.valueOf());
|
|
877
|
-
return
|
|
893
|
+
return R(t, e), t;
|
|
878
894
|
}
|
|
879
|
-
case
|
|
895
|
+
case N: {
|
|
880
896
|
let t = {};
|
|
881
|
-
return
|
|
897
|
+
return R(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
|
|
882
898
|
}
|
|
883
899
|
default: return;
|
|
884
900
|
}
|
|
@@ -892,22 +908,27 @@ function tt(e) {
|
|
|
892
908
|
}
|
|
893
909
|
//#endregion
|
|
894
910
|
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
|
|
895
|
-
function
|
|
896
|
-
return typeof e == "object" && !!e &&
|
|
911
|
+
function z(e) {
|
|
912
|
+
return typeof e == "object" && !!e && k(e) === "[object Arguments]";
|
|
897
913
|
}
|
|
898
914
|
//#endregion
|
|
899
915
|
//#region node_modules/es-toolkit/dist/compat/predicate/isObjectLike.mjs
|
|
900
|
-
function
|
|
916
|
+
function B(e) {
|
|
901
917
|
return typeof e == "object" && !!e;
|
|
902
918
|
}
|
|
903
919
|
//#endregion
|
|
904
920
|
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.mjs
|
|
905
921
|
function nt(e) {
|
|
906
|
-
return
|
|
922
|
+
return B(e) && Xe(e);
|
|
923
|
+
}
|
|
924
|
+
//#endregion
|
|
925
|
+
//#region node_modules/es-toolkit/dist/compat/predicate/isTypedArray.mjs
|
|
926
|
+
function V(e) {
|
|
927
|
+
return I(e);
|
|
907
928
|
}
|
|
908
929
|
//#endregion
|
|
909
930
|
//#region node_modules/es-toolkit/dist/compat/function/memoize.mjs
|
|
910
|
-
function
|
|
931
|
+
function H(e, t) {
|
|
911
932
|
if (typeof e != "function" || t != null && typeof t != "function") throw TypeError("Expected a function");
|
|
912
933
|
let n = function(...r) {
|
|
913
934
|
let i = t ? t.apply(this, r) : r[0], a = n.cache;
|
|
@@ -915,35 +936,14 @@ function z(e, t) {
|
|
|
915
936
|
let o = e.apply(this, r);
|
|
916
937
|
return n.cache = a.set(i, o) || a, o;
|
|
917
938
|
};
|
|
918
|
-
return n.cache = new (
|
|
919
|
-
}
|
|
920
|
-
z.Cache = Map;
|
|
921
|
-
//#endregion
|
|
922
|
-
//#region node_modules/es-toolkit/dist/function/noop.mjs
|
|
923
|
-
function rt() {}
|
|
924
|
-
//#endregion
|
|
925
|
-
//#region node_modules/es-toolkit/dist/compat/predicate/isTypedArray.mjs
|
|
926
|
-
function B(e) {
|
|
927
|
-
return P(e);
|
|
928
|
-
}
|
|
929
|
-
//#endregion
|
|
930
|
-
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
|
|
931
|
-
function V(e) {
|
|
932
|
-
if (typeof e != "object" || !e) return !1;
|
|
933
|
-
if (Object.getPrototypeOf(e) === null) return !0;
|
|
934
|
-
if (Object.prototype.toString.call(e) !== "[object Object]") {
|
|
935
|
-
let t = e[Symbol.toStringTag];
|
|
936
|
-
return t == null || !Object.getOwnPropertyDescriptor(e, Symbol.toStringTag)?.writable ? !1 : e.toString() === `[object ${t}]`;
|
|
937
|
-
}
|
|
938
|
-
let t = e;
|
|
939
|
-
for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
|
|
940
|
-
return Object.getPrototypeOf(e) === t;
|
|
939
|
+
return n.cache = new (H.Cache || Map)(), n;
|
|
941
940
|
}
|
|
941
|
+
H.Cache = Map;
|
|
942
942
|
//#endregion
|
|
943
943
|
//#region node_modules/es-toolkit/dist/object/clone.mjs
|
|
944
|
-
function
|
|
945
|
-
if (
|
|
946
|
-
if (Array.isArray(e) ||
|
|
944
|
+
function rt(e) {
|
|
945
|
+
if (F(e)) return e;
|
|
946
|
+
if (Array.isArray(e) || I(e) || e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
|
|
947
947
|
let t = Object.getPrototypeOf(e);
|
|
948
948
|
if (t == null) return Object.assign(Object.create(t), e);
|
|
949
949
|
let n = t.constructor;
|
|
@@ -957,39 +957,34 @@ function it(e) {
|
|
|
957
957
|
let t;
|
|
958
958
|
return t = e instanceof AggregateError ? new n(e.errors, e.message, { cause: e.cause }) : new n(e.message, { cause: e.cause }), t.stack = e.stack, Object.assign(t, e), t;
|
|
959
959
|
}
|
|
960
|
-
|
|
960
|
+
return typeof File < "u" && e instanceof File ? new n([e], e.name, {
|
|
961
961
|
type: e.type,
|
|
962
962
|
lastModified: e.lastModified
|
|
963
|
-
});
|
|
964
|
-
if (typeof e == "object") {
|
|
965
|
-
let n = Object.create(t);
|
|
966
|
-
return Object.assign(n, e);
|
|
967
|
-
}
|
|
968
|
-
return e;
|
|
963
|
+
}) : typeof e == "object" ? Object.assign(Object.create(t), e) : e;
|
|
969
964
|
}
|
|
970
965
|
//#endregion
|
|
971
966
|
//#region node_modules/es-toolkit/dist/compat/object/mergeWith.mjs
|
|
972
|
-
function
|
|
967
|
+
function it(e, ...t) {
|
|
973
968
|
let n = t.slice(0, -1), r = t[t.length - 1], i = e;
|
|
974
969
|
for (let e = 0; e < n.length; e++) {
|
|
975
970
|
let t = n[e];
|
|
976
|
-
i =
|
|
971
|
+
i = U(i, t, r, /* @__PURE__ */ new Map());
|
|
977
972
|
}
|
|
978
973
|
return i;
|
|
979
974
|
}
|
|
980
|
-
function
|
|
981
|
-
if (
|
|
982
|
-
if (r.has(t)) return
|
|
975
|
+
function U(e, t, n, r) {
|
|
976
|
+
if (F(e) && (e = Object(e)), typeof t != "object" || !t) return e;
|
|
977
|
+
if (r.has(t)) return rt(r.get(t));
|
|
983
978
|
if (r.set(t, e), Array.isArray(t)) {
|
|
984
979
|
t = t.slice();
|
|
985
980
|
for (let e = 0; e < t.length; e++) t[e] = t[e] ?? void 0;
|
|
986
981
|
}
|
|
987
|
-
let i = [...Object.keys(t), ...
|
|
982
|
+
let i = [...Object.keys(t), ...ke(t)];
|
|
988
983
|
for (let a = 0; a < i.length; a++) {
|
|
989
984
|
let o = i[a];
|
|
990
|
-
if (
|
|
985
|
+
if (Ze(o)) continue;
|
|
991
986
|
let s = t[o], c = e[o];
|
|
992
|
-
if (
|
|
987
|
+
if (z(s) && (s = { ...s }), z(c) && (c = { ...c }), P(s) && (s = tt(s)), Array.isArray(s)) {
|
|
993
988
|
if (Array.isArray(c)) {
|
|
994
989
|
let e = [], t = Reflect.ownKeys(c);
|
|
995
990
|
for (let n = 0; n < t.length; n++) {
|
|
@@ -1004,18 +999,18 @@ function H(e, t, n, r) {
|
|
|
1004
999
|
} else c = [];
|
|
1005
1000
|
}
|
|
1006
1001
|
let l = n(c, s, o, e, t, r);
|
|
1007
|
-
l === void 0 ? Array.isArray(s) ||
|
|
1002
|
+
l === void 0 ? Array.isArray(s) || B(c) && B(s) && (O(c) || O(s) || V(c) || V(s)) ? e[o] = U(c, s, n, r) : c == null && O(s) ? e[o] = U({}, s, n, r) : c == null && V(s) ? e[o] = tt(s) : (c === void 0 || s !== void 0) && (e[o] = s) : e[o] = l;
|
|
1008
1003
|
}
|
|
1009
1004
|
return e;
|
|
1010
1005
|
}
|
|
1011
1006
|
//#endregion
|
|
1012
1007
|
//#region node_modules/es-toolkit/dist/compat/object/merge.mjs
|
|
1013
|
-
function
|
|
1014
|
-
return
|
|
1008
|
+
function at(e, ...t) {
|
|
1009
|
+
return it(e, ...t, Oe);
|
|
1015
1010
|
}
|
|
1016
1011
|
//#endregion
|
|
1017
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-
|
|
1018
|
-
var
|
|
1012
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-7S6XSTFO.mjs
|
|
1013
|
+
var ot = c(), st = {
|
|
1019
1014
|
curveBasis: te,
|
|
1020
1015
|
curveBasisClosed: re,
|
|
1021
1016
|
curveBasisOpen: ae,
|
|
@@ -1026,94 +1021,94 @@ var st = c(), ct = {
|
|
|
1026
1021
|
curveCardinalOpen: ue,
|
|
1027
1022
|
curveCardinal: ce,
|
|
1028
1023
|
curveCatmullRomClosed: me,
|
|
1029
|
-
curveCatmullRomOpen:
|
|
1024
|
+
curveCatmullRomOpen: he,
|
|
1030
1025
|
curveCatmullRom: fe,
|
|
1031
1026
|
curveLinear: u,
|
|
1032
|
-
curveLinearClosed:
|
|
1033
|
-
curveMonotoneX:
|
|
1034
|
-
curveMonotoneY:
|
|
1035
|
-
curveNatural:
|
|
1036
|
-
curveStep:
|
|
1037
|
-
curveStepAfter:
|
|
1038
|
-
curveStepBefore:
|
|
1039
|
-
},
|
|
1040
|
-
let
|
|
1041
|
-
if (Array.isArray(
|
|
1042
|
-
let
|
|
1043
|
-
|
|
1044
|
-
} else o =
|
|
1027
|
+
curveLinearClosed: _e,
|
|
1028
|
+
curveMonotoneX: Ce,
|
|
1029
|
+
curveMonotoneY: we,
|
|
1030
|
+
curveNatural: De,
|
|
1031
|
+
curveStep: T,
|
|
1032
|
+
curveStepAfter: D,
|
|
1033
|
+
curveStepBefore: E
|
|
1034
|
+
}, ct = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, lt = /* @__PURE__ */ a(function(t, i) {
|
|
1035
|
+
let a = ut(t, /(?:init\b)|(?:initialize\b)/), o = {};
|
|
1036
|
+
if (Array.isArray(a)) {
|
|
1037
|
+
let t = a.map((e) => e.args);
|
|
1038
|
+
e(t), o = r(o, [...t]);
|
|
1039
|
+
} else o = a.args;
|
|
1045
1040
|
if (!o) return;
|
|
1046
|
-
let s =
|
|
1041
|
+
let s = n(t, i), c = "config";
|
|
1047
1042
|
return o[c] !== void 0 && (s === "flowchart-v2" && (s = "flowchart"), o[s] = o[c], delete o[c]), o;
|
|
1048
|
-
}, "detectInit"),
|
|
1043
|
+
}, "detectInit"), ut = /* @__PURE__ */ a(function(e, n = null) {
|
|
1049
1044
|
try {
|
|
1050
|
-
let
|
|
1045
|
+
let r = RegExp(`[%]{2}(?![{]${ct.source})(?=[}][%]{2}).*
|
|
1051
1046
|
`, "ig");
|
|
1052
|
-
|
|
1053
|
-
let
|
|
1054
|
-
for (; (
|
|
1055
|
-
let e =
|
|
1056
|
-
|
|
1047
|
+
e = e.trim().replace(r, "").replace(/'/gm, "\""), o.debug(`Detecting diagram directive${n === null ? "" : " type:" + n} based on the text:${e}`);
|
|
1048
|
+
let i, a = [];
|
|
1049
|
+
for (; (i = t.exec(e)) !== null;) if (i.index === t.lastIndex && t.lastIndex++, i && !n || n && i[1]?.match(n) || n && i[2]?.match(n)) {
|
|
1050
|
+
let e = i[1] ? i[1] : i[2], t = i[3] ? i[3].trim() : i[4] ? JSON.parse(i[4].trim()) : null;
|
|
1051
|
+
a.push({
|
|
1057
1052
|
type: e,
|
|
1058
1053
|
args: t
|
|
1059
1054
|
});
|
|
1060
1055
|
}
|
|
1061
|
-
return
|
|
1062
|
-
type:
|
|
1056
|
+
return a.length === 0 ? {
|
|
1057
|
+
type: e,
|
|
1063
1058
|
args: null
|
|
1064
|
-
} :
|
|
1065
|
-
} catch (
|
|
1066
|
-
return
|
|
1059
|
+
} : a.length === 1 ? a[0] : a;
|
|
1060
|
+
} catch (t) {
|
|
1061
|
+
return o.error(`ERROR: ${t.message} - Unable to parse directive type: '${n}' based on the text: '${e}'`), {
|
|
1067
1062
|
type: void 0,
|
|
1068
1063
|
args: null
|
|
1069
1064
|
};
|
|
1070
1065
|
}
|
|
1071
|
-
}, "detectDirective"),
|
|
1072
|
-
return e.replace(
|
|
1073
|
-
}, "removeDirectives"),
|
|
1066
|
+
}, "detectDirective"), dt = /* @__PURE__ */ a(function(e) {
|
|
1067
|
+
return e.replace(t, "");
|
|
1068
|
+
}, "removeDirectives"), ft = /* @__PURE__ */ a(function(e, t) {
|
|
1074
1069
|
for (let [n, r] of t.entries()) if (r.match(e)) return n;
|
|
1075
1070
|
return -1;
|
|
1076
1071
|
}, "isSubstringInArray");
|
|
1077
|
-
function
|
|
1078
|
-
return e ?
|
|
1072
|
+
function W(e, t) {
|
|
1073
|
+
return e ? st[`curve${e.charAt(0).toUpperCase() + e.slice(1)}`] ?? t : t;
|
|
1079
1074
|
}
|
|
1080
|
-
|
|
1081
|
-
function
|
|
1075
|
+
a(W, "interpolateToCurve");
|
|
1076
|
+
function pt(e, t) {
|
|
1082
1077
|
let n = e.trim();
|
|
1083
|
-
if (n) return t.securityLevel === "loose" ? n : (0,
|
|
1078
|
+
if (n) return t.securityLevel === "loose" ? n : (0, ot.sanitizeUrl)(n);
|
|
1084
1079
|
}
|
|
1085
|
-
|
|
1086
|
-
var
|
|
1087
|
-
let
|
|
1088
|
-
for (let
|
|
1089
|
-
|
|
1080
|
+
a(pt, "formatUrl");
|
|
1081
|
+
var mt = /* @__PURE__ */ a((e, ...t) => {
|
|
1082
|
+
let n = e.split("."), r = n.length - 1, i = n[r], a = window;
|
|
1083
|
+
for (let t = 0; t < r; t++) if (a = a[n[t]], !a) {
|
|
1084
|
+
o.error(`Function name: ${e} not found in window`);
|
|
1090
1085
|
return;
|
|
1091
1086
|
}
|
|
1092
|
-
|
|
1087
|
+
a[i](...t);
|
|
1093
1088
|
}, "runFunc");
|
|
1094
|
-
function
|
|
1089
|
+
function G(e, t) {
|
|
1095
1090
|
return !e || !t ? 0 : Math.sqrt((t.x - e.x) ** 2 + (t.y - e.y) ** 2);
|
|
1096
1091
|
}
|
|
1097
|
-
|
|
1098
|
-
function
|
|
1092
|
+
a(G, "distance");
|
|
1093
|
+
function ht(e) {
|
|
1099
1094
|
let t, n = 0;
|
|
1100
1095
|
return e.forEach((e) => {
|
|
1101
|
-
n +=
|
|
1102
|
-
}),
|
|
1096
|
+
n += G(e, t), t = e;
|
|
1097
|
+
}), K(e, n / 2);
|
|
1103
1098
|
}
|
|
1104
|
-
|
|
1105
|
-
function
|
|
1106
|
-
return e.length === 1 ? e[0] :
|
|
1099
|
+
a(ht, "traverseEdge");
|
|
1100
|
+
function gt(e) {
|
|
1101
|
+
return e.length === 1 ? e[0] : ht(e);
|
|
1107
1102
|
}
|
|
1108
|
-
|
|
1109
|
-
var
|
|
1103
|
+
a(gt, "calcLabelPosition");
|
|
1104
|
+
var _t = /* @__PURE__ */ a((e, t = 2) => {
|
|
1110
1105
|
let n = 10 ** t;
|
|
1111
1106
|
return Math.round(e * n) / n;
|
|
1112
|
-
}, "roundNumber"),
|
|
1107
|
+
}, "roundNumber"), K = /* @__PURE__ */ a((e, t) => {
|
|
1113
1108
|
let n, r = t;
|
|
1114
1109
|
for (let t of e) {
|
|
1115
1110
|
if (n) {
|
|
1116
|
-
let e =
|
|
1111
|
+
let e = G(t, n);
|
|
1117
1112
|
if (e === 0) return n;
|
|
1118
1113
|
if (e < r) r -= e;
|
|
1119
1114
|
else {
|
|
@@ -1124,33 +1119,33 @@ var vt = /* @__PURE__ */ s((e, t = 2) => {
|
|
|
1124
1119
|
y: t.y
|
|
1125
1120
|
};
|
|
1126
1121
|
if (i > 0 && i < 1) return {
|
|
1127
|
-
x:
|
|
1128
|
-
y:
|
|
1122
|
+
x: _t((1 - i) * n.x + i * t.x, 5),
|
|
1123
|
+
y: _t((1 - i) * n.y + i * t.y, 5)
|
|
1129
1124
|
};
|
|
1130
1125
|
}
|
|
1131
1126
|
}
|
|
1132
1127
|
n = t;
|
|
1133
1128
|
}
|
|
1134
1129
|
throw Error("Could not find a suitable point for the given distance");
|
|
1135
|
-
}, "calculatePoint"),
|
|
1136
|
-
|
|
1137
|
-
let
|
|
1130
|
+
}, "calculatePoint"), vt = /* @__PURE__ */ a((e, t, n) => {
|
|
1131
|
+
o.info(`our points ${JSON.stringify(t)}`), t[0] !== n && (t = t.reverse());
|
|
1132
|
+
let r = K(t, 25), i = e ? 10 : 5, a = Math.atan2(t[0].y - r.y, t[0].x - r.x), s = {
|
|
1138
1133
|
x: 0,
|
|
1139
1134
|
y: 0
|
|
1140
1135
|
};
|
|
1141
|
-
return s.x = Math.sin(
|
|
1136
|
+
return s.x = Math.sin(a) * i + (t[0].x + r.x) / 2, s.y = -Math.cos(a) * i + (t[0].y + r.y) / 2, s;
|
|
1142
1137
|
}, "calcCardinalityPosition");
|
|
1143
|
-
function
|
|
1144
|
-
let
|
|
1145
|
-
|
|
1146
|
-
let
|
|
1138
|
+
function yt(e, t, n) {
|
|
1139
|
+
let r = structuredClone(n);
|
|
1140
|
+
o.info("our points", r), t !== "start_left" && t !== "start_right" && r.reverse();
|
|
1141
|
+
let i = K(r, 25 + e), a = 10 + e * .5, s = Math.atan2(r[0].y - i.y, r[0].x - i.x), c = {
|
|
1147
1142
|
x: 0,
|
|
1148
1143
|
y: 0
|
|
1149
1144
|
};
|
|
1150
|
-
return
|
|
1145
|
+
return t === "start_left" ? (c.x = Math.sin(s + Math.PI) * a + (r[0].x + i.x) / 2, c.y = -Math.cos(s + Math.PI) * a + (r[0].y + i.y) / 2) : t === "end_right" ? (c.x = Math.sin(s - Math.PI) * a + (r[0].x + i.x) / 2, c.y = -Math.cos(s - Math.PI) * a + (r[0].y + i.y) / 2) : (c.x = Math.sin(s) * a + (r[0].x + i.x) / 2, c.y = -Math.cos(s) * a + (r[0].y + i.y) / 2), c;
|
|
1151
1146
|
}
|
|
1152
|
-
|
|
1153
|
-
function
|
|
1147
|
+
a(yt, "calcTerminalLabelPosition");
|
|
1148
|
+
function q(e) {
|
|
1154
1149
|
let t = "", n = "";
|
|
1155
1150
|
for (let r of e) r !== void 0 && (r.startsWith("color:") || r.startsWith("text-align:") ? n = n + r + ";" : t = t + r + ";");
|
|
1156
1151
|
return {
|
|
@@ -1158,15 +1153,15 @@ function K(e) {
|
|
|
1158
1153
|
labelStyle: n
|
|
1159
1154
|
};
|
|
1160
1155
|
}
|
|
1161
|
-
|
|
1162
|
-
var
|
|
1163
|
-
function
|
|
1156
|
+
a(q, "getStylesFromArray");
|
|
1157
|
+
var bt = 0, xt = /* @__PURE__ */ a(() => (bt++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + bt), "generateId");
|
|
1158
|
+
function St(e) {
|
|
1164
1159
|
let t = "";
|
|
1165
1160
|
for (let n = 0; n < e; n++) t += "0123456789abcdef".charAt(Math.floor(Math.random() * 16));
|
|
1166
1161
|
return t;
|
|
1167
1162
|
}
|
|
1168
|
-
|
|
1169
|
-
var
|
|
1163
|
+
a(St, "makeRandomHex");
|
|
1164
|
+
var Ct = /* @__PURE__ */ a((e) => St(e.length), "random"), wt = /* @__PURE__ */ a(function() {
|
|
1170
1165
|
return {
|
|
1171
1166
|
x: 0,
|
|
1172
1167
|
y: 0,
|
|
@@ -1181,28 +1176,28 @@ var wt = /* @__PURE__ */ s((e) => Ct(e.length), "random"), Tt = /* @__PURE__ */
|
|
|
1181
1176
|
valign: void 0,
|
|
1182
1177
|
text: ""
|
|
1183
1178
|
};
|
|
1184
|
-
}, "getTextObj"),
|
|
1185
|
-
let n = t.text.replace(
|
|
1186
|
-
|
|
1187
|
-
let
|
|
1188
|
-
return
|
|
1189
|
-
}, "drawSimpleText"),
|
|
1179
|
+
}, "getTextObj"), Tt = /* @__PURE__ */ a(function(e, t) {
|
|
1180
|
+
let n = t.text.replace(i.lineBreakRegex, " "), [, r] = Q(t.fontSize), a = e.append("text");
|
|
1181
|
+
a.attr("x", t.x), a.attr("y", t.y), a.style("text-anchor", t.anchor), a.style("font-family", t.fontFamily), a.style("font-size", r), a.style("font-weight", t.fontWeight), a.attr("fill", t.fill), t.class !== void 0 && a.attr("class", t.class);
|
|
1182
|
+
let o = a.append("tspan");
|
|
1183
|
+
return o.attr("x", t.x + t.textMargin * 2), o.attr("fill", t.fill), o.text(n), a;
|
|
1184
|
+
}, "drawSimpleText"), Et = H((e, t, n) => {
|
|
1190
1185
|
if (!e || (n = Object.assign({
|
|
1191
1186
|
fontSize: 12,
|
|
1192
1187
|
fontWeight: 400,
|
|
1193
1188
|
fontFamily: "Arial",
|
|
1194
1189
|
joinWith: "<br/>"
|
|
1195
|
-
}, n),
|
|
1196
|
-
let r = e.split(" ").filter(Boolean),
|
|
1197
|
-
return r.forEach((e,
|
|
1198
|
-
let s =
|
|
1190
|
+
}, n), i.hasBreaks(e))) return e;
|
|
1191
|
+
let r = e.split(" ").filter(Boolean), a = [], o = "";
|
|
1192
|
+
return r.forEach((e, i) => {
|
|
1193
|
+
let s = Y(`${e} `, n), c = Y(o, n);
|
|
1199
1194
|
if (s > t) {
|
|
1200
|
-
let { hyphenatedStrings: r, remainingWord:
|
|
1201
|
-
|
|
1202
|
-
} else c + s >= t ? (
|
|
1203
|
-
|
|
1204
|
-
}),
|
|
1205
|
-
}, (e, t, n) => `${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`),
|
|
1195
|
+
let { hyphenatedStrings: r, remainingWord: i } = Dt(e, t, "-", n);
|
|
1196
|
+
a.push(o, ...r), o = i;
|
|
1197
|
+
} else c + s >= t ? (a.push(o), o = e) : o = [o, e].filter(Boolean).join(" ");
|
|
1198
|
+
i + 1 === r.length && a.push(o);
|
|
1199
|
+
}), a.filter((e) => e !== "").join(n.joinWith);
|
|
1200
|
+
}, (e, t, n) => `${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`), Dt = H((e, t, n = "-", r) => {
|
|
1206
1201
|
r = Object.assign({
|
|
1207
1202
|
fontSize: 12,
|
|
1208
1203
|
fontWeight: 400,
|
|
@@ -1212,7 +1207,7 @@ var wt = /* @__PURE__ */ s((e) => Ct(e.length), "random"), Tt = /* @__PURE__ */
|
|
|
1212
1207
|
let i = [...e], a = [], o = "";
|
|
1213
1208
|
return i.forEach((e, s) => {
|
|
1214
1209
|
let c = `${o}${e}`;
|
|
1215
|
-
if (
|
|
1210
|
+
if (Y(c, r) >= t) {
|
|
1216
1211
|
let e = s + 1, t = i.length === e, r = `${c}${n}`;
|
|
1217
1212
|
a.push(t ? c : r), o = "";
|
|
1218
1213
|
} else o = c;
|
|
@@ -1221,21 +1216,21 @@ var wt = /* @__PURE__ */ s((e) => Ct(e.length), "random"), Tt = /* @__PURE__ */
|
|
|
1221
1216
|
remainingWord: o
|
|
1222
1217
|
};
|
|
1223
1218
|
}, (e, t, n = "-", r) => `${e}${t}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`);
|
|
1224
|
-
function q(e, t) {
|
|
1225
|
-
return Y(e, t).height;
|
|
1226
|
-
}
|
|
1227
|
-
s(q, "calculateTextHeight");
|
|
1228
1219
|
function J(e, t) {
|
|
1229
|
-
return
|
|
1220
|
+
return X(e, t).height;
|
|
1221
|
+
}
|
|
1222
|
+
a(J, "calculateTextHeight");
|
|
1223
|
+
function Y(e, t) {
|
|
1224
|
+
return X(e, t).width;
|
|
1230
1225
|
}
|
|
1231
|
-
|
|
1232
|
-
var
|
|
1233
|
-
let { fontSize:
|
|
1226
|
+
a(Y, "calculateTextWidth");
|
|
1227
|
+
var X = H((e, t) => {
|
|
1228
|
+
let { fontSize: n = 12, fontFamily: r = "Arial", fontWeight: a = 400 } = t;
|
|
1234
1229
|
if (!e) return {
|
|
1235
1230
|
width: 0,
|
|
1236
1231
|
height: 0
|
|
1237
1232
|
};
|
|
1238
|
-
let [,
|
|
1233
|
+
let [, o] = Q(n), c = ["sans-serif", r], l = e.split(i.lineBreakRegex), u = [], d = s("body");
|
|
1239
1234
|
if (!d.remove) return {
|
|
1240
1235
|
width: 0,
|
|
1241
1236
|
height: 0,
|
|
@@ -1249,67 +1244,71 @@ var Y = z((e, n) => {
|
|
|
1249
1244
|
lineHeight: 0
|
|
1250
1245
|
};
|
|
1251
1246
|
for (let r of l) {
|
|
1252
|
-
let i =
|
|
1247
|
+
let i = wt();
|
|
1253
1248
|
i.text = r || "";
|
|
1254
|
-
let
|
|
1249
|
+
let s = Tt(f, i).style("font-size", o).style("font-weight", a).style("font-family", e), c = (s._groups || s)[0][0].getBBox();
|
|
1255
1250
|
if (c.width === 0 && c.height === 0) throw Error("svg element not in render tree");
|
|
1256
1251
|
n.width = Math.round(Math.max(n.width, c.width)), t = Math.round(c.height), n.height += t, n.lineHeight = Math.round(Math.max(n.lineHeight, t));
|
|
1257
1252
|
}
|
|
1258
1253
|
u.push(n);
|
|
1259
1254
|
}
|
|
1260
1255
|
return f.remove(), u[isNaN(u[1].height) || isNaN(u[1].width) || isNaN(u[1].lineHeight) || u[0].height > u[1].height && u[0].width > u[1].width && u[0].lineHeight > u[1].lineHeight ? 0 : 1];
|
|
1261
|
-
}, (e, t) => `${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`),
|
|
1256
|
+
}, (e, t) => `${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`), Ot = class {
|
|
1262
1257
|
constructor(e = !1, t) {
|
|
1263
1258
|
this.count = 0, this.count = t ? t.length : 0, this.next = e ? () => this.count++ : () => Date.now();
|
|
1264
1259
|
}
|
|
1265
1260
|
static {
|
|
1266
|
-
|
|
1261
|
+
a(this, "InitIDGenerator");
|
|
1267
1262
|
}
|
|
1268
|
-
},
|
|
1269
|
-
return
|
|
1263
|
+
}, Z, kt = /* @__PURE__ */ a(function(e) {
|
|
1264
|
+
return Z ||= document.createElement("div"), e = escape(e).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), Z.innerHTML = e, unescape(Z.textContent);
|
|
1270
1265
|
}, "entityDecode");
|
|
1271
|
-
function
|
|
1266
|
+
function At(e) {
|
|
1272
1267
|
return "str" in e;
|
|
1273
1268
|
}
|
|
1274
|
-
|
|
1275
|
-
|
|
1269
|
+
a(At, "isDetailedError");
|
|
1270
|
+
function jt(e) {
|
|
1271
|
+
return e instanceof Error ? e.message : String(e);
|
|
1272
|
+
}
|
|
1273
|
+
a(jt, "getErrorMessage");
|
|
1274
|
+
var Mt = /* @__PURE__ */ a((e, t, n, r) => {
|
|
1276
1275
|
if (!r) return;
|
|
1277
1276
|
let i = e.node()?.getBBox();
|
|
1278
1277
|
i && e.append("text").text(r).attr("text-anchor", "middle").attr("x", i.x + i.width / 2).attr("y", -n).attr("class", t);
|
|
1279
|
-
}, "insertTitle"),
|
|
1278
|
+
}, "insertTitle"), Q = /* @__PURE__ */ a((e) => {
|
|
1280
1279
|
if (typeof e == "number") return [e, e + "px"];
|
|
1281
1280
|
let t = parseInt(e ?? "", 10);
|
|
1282
1281
|
return Number.isNaN(t) ? [void 0, void 0] : e === String(t) ? [t, e + "px"] : [t, e];
|
|
1283
1282
|
}, "parseFontSize");
|
|
1284
|
-
function
|
|
1285
|
-
return
|
|
1283
|
+
function $(e, t) {
|
|
1284
|
+
return at({}, e, t);
|
|
1286
1285
|
}
|
|
1287
|
-
|
|
1286
|
+
a($, "cleanAndMerge");
|
|
1288
1287
|
var Nt = {
|
|
1289
|
-
assignWithDepth:
|
|
1290
|
-
wrapLabel:
|
|
1291
|
-
calculateTextHeight:
|
|
1292
|
-
calculateTextWidth:
|
|
1293
|
-
calculateTextDimensions:
|
|
1294
|
-
cleanAndMerge:
|
|
1295
|
-
detectInit:
|
|
1296
|
-
detectDirective:
|
|
1297
|
-
isSubstringInArray:
|
|
1298
|
-
interpolateToCurve:
|
|
1299
|
-
calcLabelPosition:
|
|
1300
|
-
calcCardinalityPosition:
|
|
1301
|
-
calcTerminalLabelPosition:
|
|
1302
|
-
formatUrl:
|
|
1303
|
-
getStylesFromArray:
|
|
1304
|
-
generateId:
|
|
1305
|
-
random:
|
|
1306
|
-
runFunc:
|
|
1307
|
-
entityDecode:
|
|
1288
|
+
assignWithDepth: r,
|
|
1289
|
+
wrapLabel: Et,
|
|
1290
|
+
calculateTextHeight: J,
|
|
1291
|
+
calculateTextWidth: Y,
|
|
1292
|
+
calculateTextDimensions: X,
|
|
1293
|
+
cleanAndMerge: $,
|
|
1294
|
+
detectInit: lt,
|
|
1295
|
+
detectDirective: ut,
|
|
1296
|
+
isSubstringInArray: ft,
|
|
1297
|
+
interpolateToCurve: W,
|
|
1298
|
+
calcLabelPosition: gt,
|
|
1299
|
+
calcCardinalityPosition: vt,
|
|
1300
|
+
calcTerminalLabelPosition: yt,
|
|
1301
|
+
formatUrl: pt,
|
|
1302
|
+
getStylesFromArray: q,
|
|
1303
|
+
generateId: xt,
|
|
1304
|
+
random: Ct,
|
|
1305
|
+
runFunc: mt,
|
|
1306
|
+
entityDecode: kt,
|
|
1308
1307
|
insertTitle: Mt,
|
|
1309
|
-
isLabelCoordinateInPath:
|
|
1310
|
-
parseFontSize:
|
|
1311
|
-
InitIDGenerator:
|
|
1312
|
-
}, Pt = /* @__PURE__ */
|
|
1308
|
+
isLabelCoordinateInPath: Rt,
|
|
1309
|
+
parseFontSize: Q,
|
|
1310
|
+
InitIDGenerator: Ot
|
|
1311
|
+
}, Pt = /* @__PURE__ */ a(function(e) {
|
|
1313
1312
|
let t = e;
|
|
1314
1313
|
return t = t.replace(/style.*:\S*#.*;/g, function(e) {
|
|
1315
1314
|
return e.substring(0, e.length - 1);
|
|
@@ -1319,17 +1318,17 @@ var Nt = {
|
|
|
1319
1318
|
let t = e.substring(1, e.length - 1);
|
|
1320
1319
|
return /^\+?\d+$/.test(t) ? "fl°°" + t + "¶ß" : "fl°" + t + "¶ß";
|
|
1321
1320
|
}), t;
|
|
1322
|
-
}, "encodeEntities"), Ft = /* @__PURE__ */
|
|
1321
|
+
}, "encodeEntities"), Ft = /* @__PURE__ */ a(function(e) {
|
|
1323
1322
|
return e.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
|
|
1324
|
-
}, "decodeEntities"), It = /* @__PURE__ */
|
|
1323
|
+
}, "decodeEntities"), It = /* @__PURE__ */ a((e, t, { counter: n = 0, prefix: r, suffix: i }, a) => a || `${r ? `${r}_` : ""}${e}_${t}_${n}${i ? `_${i}` : ""}`, "getEdgeId");
|
|
1325
1324
|
function Lt(e) {
|
|
1326
1325
|
return e ?? null;
|
|
1327
1326
|
}
|
|
1328
|
-
|
|
1329
|
-
function
|
|
1327
|
+
a(Lt, "handleUndefinedAttr");
|
|
1328
|
+
function Rt(e, t) {
|
|
1330
1329
|
let n = Math.round(e.x), r = Math.round(e.y), i = t.replace(/(\d+\.\d+)/g, (e) => Math.round(parseFloat(e)).toString());
|
|
1331
1330
|
return i.includes(n.toString()) || i.includes(r.toString());
|
|
1332
1331
|
}
|
|
1333
|
-
|
|
1332
|
+
a(Rt, "isLabelCoordinateInPath");
|
|
1334
1333
|
//#endregion
|
|
1335
|
-
export {
|
|
1334
|
+
export { fe as $, Ke as A, A as B, P as C, M as D, Fe as E, Ne as F, Be as G, Ve as H, j as I, E as J, k as K, Le as L, We as M, Ge as N, Re as O, Ue as P, we as Q, Ae as R, Xe as S, Ie as T, He as U, je as V, ze as W, De as X, T as Y, Ce as Z, Nt as _, Ft as a, z as b, It as c, Lt as d, ce as et, W as f, dt as g, Ct as h, $ as i, u as it, qe as j, Me as k, jt as l, Q as m, J as n, f as nt, Pt as o, At as p, D as q, Y as r, ee as rt, xt as s, X as t, te as tt, q as u, Et as v, N as w, F as x, V as y, Pe as z };
|