@sme.up/ketchup2 2.9.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-DwAVRNNu.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-N1aPr2hw.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/button-types.d.ts +2 -2
- package/dist/basic-components/button-group/button-group.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-types.d.ts +15 -6
- package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-utils.d.ts +10 -4
- package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
- package/dist/basic-components/cell/cell.d.ts.map +1 -1
- package/dist/basic-components/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 +6 -2
- package/dist/basic-components/date-picker/date-picker-types.d.ts.map +1 -1
- package/dist/basic-components/file-upload/file-upload-types.d.ts +2 -2
- package/dist/basic-components/file-upload/file-upload-types.d.ts.map +1 -1
- package/dist/basic-components/file-upload/file-upload.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/multiple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
- package/dist/basic-components/multiple-select/multiple-select.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-types.d.ts +3 -1
- package/dist/basic-components/text/text-types.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 +10 -5
- 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/time-picker/time-picker.d.ts.map +1 -1
- package/dist/basic-components/typography/typography.d.ts.map +1 -1
- package/dist/{blockDiagram-I7D4REHJ-Cu18ws5-.js → blockDiagram-RJAE7QA3-hRpbCaPL.js} +329 -316
- package/dist/{c4Diagram-7LVT6UL2-B-uBy_NE.js → c4Diagram-XDPPPE54-Bkqvkv8O.js} +350 -340
- package/dist/channel-CcHUzwZl.js +5 -0
- package/dist/{chunk-SVP7TREG-CyJlOPau.js → chunk-2E7WHVMD-DSYBrngB.js} +77 -77
- package/dist/chunk-4EMNKR2T-CndbTVTA.js +236 -0
- package/dist/{chunk-F27PBJKO-jIrOJO87.js → chunk-55XCU76K-B1HtPImz.js} +16 -16
- package/dist/{chunk-75Z2AOVW-Drsj7a97.js → chunk-7S6XSTFO-CN6S2H1-.js} +304 -305
- package/dist/{chunk-GMAD6QVW-D80II4AD.js → chunk-AQDTSKZB-DuUha9al.js} +386 -433
- package/dist/{chunk-DU6HZSFF-waeanndy.js → chunk-DSNLSHJZ-B1A8wsiA.js} +1227 -1043
- 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-Cri27Jke.js → chunk-NQOKRVIF-CEJ-prlJ.js} +483 -414
- package/dist/chunk-OYAV6JZA-Cypx4hYu.js +14 -0
- package/dist/{chunk-P2QGCYS3-BUeNZ170.js → chunk-UHW7PFBP-CoHGQVjo.js} +6 -6
- package/dist/chunk-VQ5W62QI-BSDHmyws.js +26 -0
- package/dist/{chunk-OSK3NFVY-CQhPF3Mc.js → chunk-WQQL4CDK-BJE6isq-.js} +312 -288
- package/dist/chunk-XXDRQBXY-CU-dbs05.js +9 -0
- package/dist/{chunk-PWAF6VOD-D37VoZ8H.js → chunk-YZO67HFG-Bcmpw0dX.js} +28 -28
- package/dist/{chunk-GVQU2GXP-DP3t_9Rl.js → chunk-ZAUX2LTX-Bu7BRVL6.js} +14 -14
- package/dist/chunk-ZCHMQSOR-BA1QQ4D6.js +354 -0
- package/dist/{chunk-TICWLB2K-Cw2iT_VD.js → classDiagram-v2-4MYWR3UA-Bnh650R8.js} +333 -293
- package/dist/components/app-bar/app-bar-utils.d.ts.map +1 -1
- package/dist/components/app-bar/app-bar.data.d.ts.map +1 -1
- package/dist/components/box-list/box-list.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 +49 -4
- package/dist/components/calendar/calendar-types.d.ts.map +1 -1
- package/dist/components/calendar/calendar-utils.d.ts +160 -16
- 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 +23 -0
- package/dist/components/calendar/views/calendar-event-text.d.ts.map +1 -0
- package/dist/components/calendar/views/calendar-month-grid.d.ts +12 -4
- package/dist/components/calendar/views/calendar-month-grid.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-more-events.d.ts +19 -0
- package/dist/components/calendar/views/calendar-more-events.d.ts.map +1 -0
- package/dist/components/calendar/views/calendar-time-grid.d.ts +16 -2
- 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 +206 -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 +69 -0
- package/dist/components/data-table/fixed/fixed-utils.d.ts.map +1 -0
- package/dist/components/data-table/footer/footer-types.d.ts +23 -6
- 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 +38 -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 +20 -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 +37 -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 +15 -8
- 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/drawer/drawer.d.ts.map +1 -1
- package/dist/components/echarts-graph/builders/echarts-graph-builders-advanced.d.ts +26 -0
- package/dist/components/echarts-graph/builders/echarts-graph-builders-advanced.d.ts.map +1 -0
- package/dist/components/echarts-graph/builders/echarts-graph-builders.d.ts +17 -0
- package/dist/components/echarts-graph/builders/echarts-graph-builders.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-data.d.ts +151 -0
- package/dist/components/echarts-graph/data/echarts-graph-data.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-data.test.d.ts +2 -0
- package/dist/components/echarts-graph/data/echarts-graph-data.test.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-frame.d.ts +164 -0
- package/dist/components/echarts-graph/data/echarts-graph-frame.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-math.d.ts +26 -0
- package/dist/components/echarts-graph/data/echarts-graph-math.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-time.d.ts +42 -0
- package/dist/components/echarts-graph/data/echarts-graph-time.d.ts.map +1 -0
- 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/data/echarts-graph-utils.d.ts +197 -0
- package/dist/components/echarts-graph/data/echarts-graph-utils.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-utils.test.d.ts +2 -0
- package/dist/components/echarts-graph/data/echarts-graph-utils.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 +229 -0
- package/dist/components/echarts-graph/echarts-graph-types.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph.d.ts +18 -0
- package/dist/components/echarts-graph/echarts-graph.d.ts.map +1 -0
- package/dist/components/echarts-graph/theme/echarts-graph-color.d.ts +20 -0
- package/dist/components/echarts-graph/theme/echarts-graph-color.d.ts.map +1 -0
- package/dist/components/echarts-graph/theme/echarts-graph-color.test.d.ts +2 -0
- package/dist/components/echarts-graph/theme/echarts-graph-color.test.d.ts.map +1 -0
- package/dist/components/echarts-graph/theme/echarts-graph-theme.d.ts +58 -0
- package/dist/components/echarts-graph/theme/echarts-graph-theme.d.ts.map +1 -0
- package/dist/components/input-panel/assets/data.d.ts +1 -0
- package/dist/components/input-panel/assets/data.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-utils.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/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -1
- package/dist/context/interaction-context.d.ts +16 -0
- package/dist/context/interaction-context.d.ts.map +1 -0
- 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-3Ha1hdlV.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-BNmG1sig.js → diagram-CBK3MWTC-B-q-tUxd.js} +80 -80
- package/dist/diagram-I5XIIV2D-CMzniFEf.js +134 -0
- package/dist/{diagram-S7CK7UJ4-BuDHTdHA.js → diagram-ODIL2UCW-CrlDp0MP.js} +46 -54
- package/dist/{diagram-VSXAHHWV-CrQQCs-B.js → diagram-PFBEJUXE-hnrdzEe4.js} +136 -121
- package/dist/{diagram-UQ7AKVKN-uvzJGj43.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-DMx8xAFO.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-bkJ9nzVK.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/badge/badge-assets.d.ts +1 -0
- package/dist/functional-components/badge/badge-assets.d.ts.map +1 -1
- package/dist/functional-components/badge/badge-utils.d.ts +5 -0
- package/dist/functional-components/badge/badge-utils.d.ts.map +1 -1
- package/dist/functional-components/badge/badge.d.ts.map +1 -1
- 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/multiple-field/multiple-field-types.d.ts +1 -0
- package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
- package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
- package/dist/functional-components/row/row-types.d.ts +50 -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-CL-ywzz_.js → ganttDiagram-R7GPNTJY-DFRGfQMr.js} +314 -310
- package/dist/gitGraph-VSP46ZUC-BSTikFaE.js +2 -0
- package/dist/{gitGraphDiagram-WWUBYQGX-aXhNDG6P.js → gitGraphDiagram-PDYL7XHY-nvoob8Ca.js} +250 -250
- package/dist/hooks/useClickOutside/useClickOutside-assets.d.ts +14 -0
- package/dist/hooks/useClickOutside/useClickOutside-assets.d.ts.map +1 -0
- package/dist/hooks/useClickOutside/useClickOutside.d.ts.map +1 -0
- package/dist/hooks/useFloating.d.ts.map +1 -1
- package/dist/hooks/useVirtualListScroll.d.ts +14 -2
- package/dist/hooks/useVirtualListScroll.d.ts.map +1 -1
- package/dist/index.d.ts +5 -3
- 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-DK7HlH95.js → ishikawaDiagram-HPEHV2GE-BE3amLYE.js} +27 -29
- package/dist/{journeyDiagram-3NMN7TZE-CpuYEKcB.js → journeyDiagram-BOSHW7O7-DE8ndsCi.js} +111 -111
- package/dist/{kanban-definition-UXKFOSKX-aK8uKmyY.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 +25778 -68770
- package/dist/{line-DTqYMLoX.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 +40 -4
- package/dist/locale/it/translation.json.d.ts +40 -4
- package/dist/{mermaid-parser.core-BwVmI_Rq.js → mermaid-parser.core-zUi7tSl-.js} +166 -172
- package/dist/{mindmap-definition-YA3MSWOX-ZMYcmi9J.js → mindmap-definition-6OY57UG3-hH6Avsg4.js} +148 -145
- package/dist/packet-JDAUHWVQ-CKZoNg5j.js +2 -0
- package/dist/{pegDiagram-XKGWAZYB-DsfILwZN.js → pegDiagram-ECIUJNBX-D3xLhrRh.js} +19 -19
- package/dist/pie-XZMESJXO-BnbWY8rE.js +2 -0
- package/dist/{pieDiagram-E7YTZNPT-DcSLcLdd.js → pieDiagram-GNMPY74T-Bd_UXypi.js} +39 -39
- package/dist/{quadrantDiagram-AXDQQJYC-DSx3teop.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-jOZRtNDi.js → railroadDiagram-Y72NRBL7-CPUbPgYX.js} +14 -14
- package/dist/{requirementDiagram-BXWQKSXE-D14hkkez.js → requirementDiagram-EQYSW5RA-BXstYS3w.js} +97 -93
- package/dist/rolldown-runtime-5HNE8Q1r.js +23 -0
- package/dist/{sankeyDiagram-P5KCCOFB-C0jmknYo.js → sankeyDiagram-SY24JHO5-Du-toJmg.js} +64 -64
- package/dist/{sequenceDiagram-WJ2MYXX4-C00egnMz.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-8ItzAAcf.js → stateDiagram-v2-A6IESKWZ-CfjPf8h7.js} +364 -267
- package/dist/{swimlanes-42K2YHIH-CJcMmxXf.js → swimlanes-B3ENRKFQ-Dumwq89C.js} +1356 -1590
- package/dist/swimlanesDiagram-AYQRV4AK-Boz_Azx7.js +28 -0
- package/dist/{timeline-definition-24CTP7MA-D2xfYuSV.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 +16 -1
- 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 +40 -5
- package/dist/types/translation.d.ts.map +1 -1
- package/dist/usecaseDiagram-WPOLBNNX-ruZhXlYQ.js +7175 -0
- package/dist/utils/floating-layer.d.ts +11 -0
- package/dist/utils/floating-layer.d.ts.map +1 -0
- package/dist/utils/legacy.d.ts +7 -0
- package/dist/utils/legacy.d.ts.map +1 -1
- 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/objects.d.ts +20 -1
- package/dist/utils/objects.d.ts.map +1 -1
- 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-C4XLgus_.js → vennDiagram-Q3Y3IDCW-L9GmqfCz.js} +118 -118
- package/dist/wardley-7MLQ67FV-DC0ayJCO.js +2 -0
- package/dist/{wardleyDiagram-VM6X3IG4-DFoKuS9s.js → wardleyDiagram-IVAIDKWA-Dz5K-UqN.js} +126 -126
- package/dist/{xychartDiagram-S5SC5T6Z-BzKKgVBe.js → xychartDiagram-4URNHDU4-C2xwRx5F.js} +141 -137
- package/package.json +7 -5
- package/dist/architecture-7GRP2DOG-BsytjMto.js +0 -3
- package/dist/channel-CuEby436.js +0 -5
- package/dist/chunk-2E4U76K2-ComA5SPA.js +0 -348
- package/dist/chunk-4HAMMTFA-CZgIgrp_.js +0 -4188
- package/dist/chunk-CLGD4ZFX-CLGio9rD.js +0 -14
- package/dist/chunk-FOHPRMQF-LRqOLsSw.js +0 -21456
- package/dist/chunk-L3NEJ4N5-qPot4t6M.js +0 -245
- package/dist/chunk-POPQ4Y6H-CU9oz17Z.js +0 -26
- package/dist/chunk-TLUHSLCS-BdsLNXjt.js +0 -59
- package/dist/chunk-XXDRQBXY-C1ZEFXGu.js +0 -9
- package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +0 -30
- package/dist/components/echarts/echarts-graph-types.d.ts +0 -8
- package/dist/components/echarts/echarts-graph-types.d.ts.map +0 -1
- package/dist/components/echarts/echarts-graph.d.ts +0 -4
- package/dist/components/echarts/echarts-graph.d.ts.map +0 -1
- package/dist/cynefin-OW5HDTMX-BJXlKro0.js +0 -3
- package/dist/dagre-D5csT9sx.js +0 -1934
- package/dist/dagre-GXQ25YYZ-Bg7xf6xn.js +0 -425
- package/dist/diagram-Z3DM3KII-B6BrLhP0.js +0 -134
- package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +0 -3
- package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +0 -17
- package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +0 -3
- package/dist/hooks/useClickOutside.d.ts.map +0 -1
- package/dist/info-A6RAGUB7-CmZJKEaW.js +0 -3
- package/dist/infoDiagram-27XIBGKW-Je4heBlk.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-YfzmviNY.js +0 -220
- package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +0 -30
- package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.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
- /package/dist/hooks/{useClickOutside.d.ts → useClickOutside/useClickOutside.d.ts} +0 -0
|
@@ -1,425 +0,0 @@
|
|
|
1
|
-
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { x as t } from "./chunk-DU6HZSFF-waeanndy.js";
|
|
3
|
-
import { n } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import "./chunk-75Z2AOVW-Drsj7a97.js";
|
|
5
|
-
import "./chunk-P2QGCYS3-BUeNZ170.js";
|
|
6
|
-
import "./chunk-PWAF6VOD-D37VoZ8H.js";
|
|
7
|
-
import "./chunk-GMAD6QVW-D80II4AD.js";
|
|
8
|
-
import { s as r } from "./chunk-4HAMMTFA-CZgIgrp_.js";
|
|
9
|
-
import { a as i, i as a, n as o } from "./chunk-GVQU2GXP-DP3t_9Rl.js";
|
|
10
|
-
import { n as s } from "./chunk-L3NEJ4N5-qPot4t6M.js";
|
|
11
|
-
import { a as c, c as l, i as u } from "./chunk-OSK3NFVY-CQhPF3Mc.js";
|
|
12
|
-
import { t as d } from "./graphlib-XW-Jr8pF.js";
|
|
13
|
-
import { t as f } from "./dagre-D5csT9sx.js";
|
|
14
|
-
import { a as p, i as m, n as h, o as g, r as _, s as v, t as y } from "./chunk-2E4U76K2-ComA5SPA.js";
|
|
15
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/dagre-GXQ25YYZ.mjs
|
|
16
|
-
var b = /* @__PURE__ */ n((e, t, n) => Math.max(t, Math.min(n, e)), "clamp"), x = /* @__PURE__ */ n((e = "TB") => {
|
|
17
|
-
switch (e) {
|
|
18
|
-
case "BT": return "bottom";
|
|
19
|
-
case "LR": return "right";
|
|
20
|
-
case "RL": return "left";
|
|
21
|
-
default: return "top";
|
|
22
|
-
}
|
|
23
|
-
}, "getDefaultSelfLoopSide"), S = /* @__PURE__ */ n((e) => e === "flowchart" || e === "flowchart-v2" || e === "stateDiagram" || e === "er" || e === "classDiagram", "shouldMergeSelfLoopSegments"), C = [
|
|
24
|
-
"x",
|
|
25
|
-
"y",
|
|
26
|
-
"width",
|
|
27
|
-
"height",
|
|
28
|
-
"labelBBox",
|
|
29
|
-
"intersect",
|
|
30
|
-
"calcIntersect",
|
|
31
|
-
"diff",
|
|
32
|
-
"clusterNode"
|
|
33
|
-
], w = /* @__PURE__ */ n((e, t, n, r, i) => {
|
|
34
|
-
let a = [], o = /* @__PURE__ */ new Set();
|
|
35
|
-
if (n.forEach(({ start: e, end: t }) => {
|
|
36
|
-
e !== r && o.add(e), t !== r && o.add(t);
|
|
37
|
-
}), o.forEach((t) => {
|
|
38
|
-
let n = e.node(t);
|
|
39
|
-
typeof n?.x == "number" && typeof n?.y == "number" && a.push(n);
|
|
40
|
-
}), a.length === 0 && n.forEach(({ edge: e }) => {
|
|
41
|
-
(e.points ?? []).forEach((e) => {
|
|
42
|
-
typeof e?.x == "number" && typeof e?.y == "number" && a.push(e);
|
|
43
|
-
});
|
|
44
|
-
}), a.length === 0) return x(i);
|
|
45
|
-
let s = a.reduce((e, t) => ({
|
|
46
|
-
x: e.x + t.x / a.length,
|
|
47
|
-
y: e.y + t.y / a.length
|
|
48
|
-
}), {
|
|
49
|
-
x: 0,
|
|
50
|
-
y: 0
|
|
51
|
-
}), c = s.x - t.x, l = s.y - t.y;
|
|
52
|
-
return Math.abs(c) > Math.abs(l) ? c > 0 ? "right" : "left" : Math.abs(l) > 0 ? l > 0 ? "bottom" : "top" : x(i);
|
|
53
|
-
}, "getSelfLoopSide"), T = /* @__PURE__ */ n((e, t = "top", n = 0, r = 0) => {
|
|
54
|
-
let i = e.x, a = e.y - n, o = e.width / 2, s = e.height / 2, c = Math.max(36, Math.min(100, e.width * .8)), l = b(Math.max(r, e.width * .35), 36, c), u = b(Math.min(e.width, e.height) * .45, 24, 48);
|
|
55
|
-
switch (t) {
|
|
56
|
-
case "bottom": {
|
|
57
|
-
let e = a + s;
|
|
58
|
-
return [
|
|
59
|
-
{
|
|
60
|
-
x: i - l / 2,
|
|
61
|
-
y: e
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
x: i - l / 2,
|
|
65
|
-
y: e + u
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
x: i + l / 2,
|
|
69
|
-
y: e + u
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
x: i + l / 2,
|
|
73
|
-
y: e
|
|
74
|
-
}
|
|
75
|
-
];
|
|
76
|
-
}
|
|
77
|
-
case "right": {
|
|
78
|
-
let e = i + o;
|
|
79
|
-
return [
|
|
80
|
-
{
|
|
81
|
-
x: e,
|
|
82
|
-
y: a - l / 2
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
x: e + u,
|
|
86
|
-
y: a - l / 2
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
x: e + u,
|
|
90
|
-
y: a + l / 2
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
x: e,
|
|
94
|
-
y: a + l / 2
|
|
95
|
-
}
|
|
96
|
-
];
|
|
97
|
-
}
|
|
98
|
-
case "left": {
|
|
99
|
-
let e = i - o;
|
|
100
|
-
return [
|
|
101
|
-
{
|
|
102
|
-
x: e,
|
|
103
|
-
y: a - l / 2
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
x: e - u,
|
|
107
|
-
y: a - l / 2
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
x: e - u,
|
|
111
|
-
y: a + l / 2
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
x: e,
|
|
115
|
-
y: a + l / 2
|
|
116
|
-
}
|
|
117
|
-
];
|
|
118
|
-
}
|
|
119
|
-
default: {
|
|
120
|
-
let e = a - s;
|
|
121
|
-
return [
|
|
122
|
-
{
|
|
123
|
-
x: i - l / 2,
|
|
124
|
-
y: e
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
x: i - l / 2,
|
|
128
|
-
y: e - u
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
x: i + l / 2,
|
|
132
|
-
y: e - u
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
x: i + l / 2,
|
|
136
|
-
y: e
|
|
137
|
-
}
|
|
138
|
-
];
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}, "getSelfLoopPoints"), E = /* @__PURE__ */ n((e, t, n = "top", r = 0, i = {}) => {
|
|
142
|
-
let a = e.x, o = e.y - r, s = i.width ?? 0, c = i.height ?? 0;
|
|
143
|
-
switch (n) {
|
|
144
|
-
case "bottom": return {
|
|
145
|
-
x: a,
|
|
146
|
-
y: Math.max(...t.map((e) => e.y)) + c / 2 + 4
|
|
147
|
-
};
|
|
148
|
-
case "right": return {
|
|
149
|
-
x: Math.max(...t.map((e) => e.x)) + s / 2 + 4,
|
|
150
|
-
y: o
|
|
151
|
-
};
|
|
152
|
-
case "left": return {
|
|
153
|
-
x: Math.min(...t.map((e) => e.x)) - s / 2 - 4,
|
|
154
|
-
y: o
|
|
155
|
-
};
|
|
156
|
-
default: return {
|
|
157
|
-
x: a,
|
|
158
|
-
y: Math.min(...t.map((e) => e.y)) - c / 2 - 4
|
|
159
|
-
};
|
|
160
|
-
}
|
|
161
|
-
}, "getSelfLoopLabelPosition"), D = /* @__PURE__ */ n((e, t = 0, { mergeSelfLoops: n = !0 } = {}) => {
|
|
162
|
-
let r = /* @__PURE__ */ new Map(), i = [], a = e.graph()?.rankdir;
|
|
163
|
-
return e.edges().forEach((t) => {
|
|
164
|
-
let a = e.edge(t);
|
|
165
|
-
if (n && a.selfLoop) {
|
|
166
|
-
let e = a.selfLoop.id;
|
|
167
|
-
r.has(e) || r.set(e, []), r.get(e).push({
|
|
168
|
-
edge: a,
|
|
169
|
-
start: t.v,
|
|
170
|
-
end: t.w
|
|
171
|
-
});
|
|
172
|
-
} else i.push({
|
|
173
|
-
edge: a,
|
|
174
|
-
start: t.v,
|
|
175
|
-
end: t.w
|
|
176
|
-
});
|
|
177
|
-
}), r.forEach((n) => {
|
|
178
|
-
if (n.length !== 3) {
|
|
179
|
-
n.forEach((e) => i.push(e));
|
|
180
|
-
return;
|
|
181
|
-
}
|
|
182
|
-
n.sort((e, t) => e.edge.selfLoop.order - t.edge.selfLoop.order);
|
|
183
|
-
let [r, o, s] = n, c = r.edge.originalEdge ?? o.edge.originalEdge ?? s.edge.originalEdge ?? o.edge, l = e.node(c.start);
|
|
184
|
-
if (!l) {
|
|
185
|
-
n.forEach((e) => i.push(e));
|
|
186
|
-
return;
|
|
187
|
-
}
|
|
188
|
-
let u = {
|
|
189
|
-
width: o.edge.width,
|
|
190
|
-
height: o.edge.height
|
|
191
|
-
}, d = w(e, l, n, c.start, a), f = T(l, d, t, u.width ?? 0), p = E(l, f, d, t, u), m = {
|
|
192
|
-
...o.edge,
|
|
193
|
-
...c,
|
|
194
|
-
id: c.id,
|
|
195
|
-
points: f,
|
|
196
|
-
start: c.start,
|
|
197
|
-
end: c.end,
|
|
198
|
-
x: p.x,
|
|
199
|
-
y: p.y,
|
|
200
|
-
width: u.width,
|
|
201
|
-
height: u.height,
|
|
202
|
-
labelStyle: o.edge.labelStyle,
|
|
203
|
-
fromCluster: r.edge.fromCluster ?? o.edge.fromCluster ?? s.edge.fromCluster,
|
|
204
|
-
toCluster: r.edge.toCluster ?? o.edge.toCluster ?? s.edge.toCluster
|
|
205
|
-
};
|
|
206
|
-
delete m.selfLoop, delete m.originalEdge, i.push({
|
|
207
|
-
edge: m,
|
|
208
|
-
start: m.start,
|
|
209
|
-
end: m.end
|
|
210
|
-
});
|
|
211
|
-
}), i;
|
|
212
|
-
}, "getEdgesToRender"), O = /* @__PURE__ */ n(async ({ element: t, graph: a, diagramType: s, id: l, parentCluster: u, siteConfig: d }) => {
|
|
213
|
-
let f = a.graph().rankdir;
|
|
214
|
-
e.trace("Dir in recursive render - dir:", f);
|
|
215
|
-
let { clusters: _, edgePaths: v, edgeLabels: y, nodes: b, rootGroups: x } = m(t, { edgePathsClass: "edgePaths" });
|
|
216
|
-
a.nodes() ? e.info("Recursive render XXX", a.nodes()) : e.info("No nodes found for", a), a.edges().length > 0 && e.info("Recursive edges", a.edge(a.edges()[0]));
|
|
217
|
-
let C = S(s);
|
|
218
|
-
await Promise.all(a.nodes().map(async function(t) {
|
|
219
|
-
let n = a.node(t);
|
|
220
|
-
if (u !== void 0) {
|
|
221
|
-
let n = JSON.parse(JSON.stringify(u.clusterData));
|
|
222
|
-
e.trace("Setting data for parent cluster XXX\n Node.id = ", t, "\n data=", n.height, "\nParent cluster", u.height), a.setNode(u.id, n), a.parent(t) || (e.trace("Setting parent", t, u.id), a.setParent(t, u.id, n));
|
|
223
|
-
}
|
|
224
|
-
if (e.info("(Insert) Node XXX" + t + ": " + JSON.stringify(a.node(t))), n?.clusterNode) {
|
|
225
|
-
e.info("Cluster identified XBX", t, n.width, a.node(t));
|
|
226
|
-
let { ranksep: o, nodesep: c } = a.graph();
|
|
227
|
-
n.graph.setGraph({
|
|
228
|
-
...n.graph.graph(),
|
|
229
|
-
ranksep: o + 25,
|
|
230
|
-
nodesep: c
|
|
231
|
-
});
|
|
232
|
-
let u = await F({
|
|
233
|
-
element: b,
|
|
234
|
-
graph: n.graph,
|
|
235
|
-
diagramType: s,
|
|
236
|
-
id: l,
|
|
237
|
-
parentCluster: a.node(t),
|
|
238
|
-
siteConfig: d
|
|
239
|
-
}), f = u.elem;
|
|
240
|
-
r(n, f), n.diff = u.diff || 0, e.info("New compound node after recursive render XAX", t, "width", n.width, "height", n.height), i(f, n);
|
|
241
|
-
} else a.children(t).length > 0 ? (e.trace("Cluster - the non recursive path XBX", t, n.id, n, n.width, "Graph:", a), e.trace(p(n.id, a)), h.set(n.id, {
|
|
242
|
-
id: p(n.id, a),
|
|
243
|
-
node: n
|
|
244
|
-
})) : (e.trace("Node - the non recursive path XAX", t, b, a.node(t), f), await g(b, a.node(t), {
|
|
245
|
-
config: d,
|
|
246
|
-
dir: f
|
|
247
|
-
}));
|
|
248
|
-
})), await (/* @__PURE__ */ n(async () => {
|
|
249
|
-
let t = a.edges().map(async function(t) {
|
|
250
|
-
let n = a.edge(t.v, t.w, t.name);
|
|
251
|
-
if (e.info("Edge " + t.v + " -> " + t.w + ": " + JSON.stringify(t)), e.info("Edge " + t.v + " -> " + t.w + ": ", t, " ", JSON.stringify(a.edge(t))), e.info("Fix", h, "ids:", t.v, t.w, "Translating: ", h.get(t.v), h.get(t.w)), C && n.selfLoop) {
|
|
252
|
-
if (n.selfLoop.order !== 1) return;
|
|
253
|
-
let e = {
|
|
254
|
-
...n.originalEdge,
|
|
255
|
-
...n,
|
|
256
|
-
id: n.selfLoop.id,
|
|
257
|
-
startLabelLeft: n.originalEdge?.startLabelLeft ?? n.startLabelLeft,
|
|
258
|
-
startLabelRight: n.originalEdge?.startLabelRight ?? n.startLabelRight,
|
|
259
|
-
endLabelLeft: n.originalEdge?.endLabelLeft ?? n.endLabelLeft,
|
|
260
|
-
endLabelRight: n.originalEdge?.endLabelRight ?? n.endLabelRight
|
|
261
|
-
};
|
|
262
|
-
await c(y, e), n.width = e.width, n.height = e.height, n.labelStyle = e.labelStyle;
|
|
263
|
-
return;
|
|
264
|
-
}
|
|
265
|
-
await c(y, n);
|
|
266
|
-
});
|
|
267
|
-
await Promise.all(t);
|
|
268
|
-
}, "processEdges"))();
|
|
269
|
-
let { subGraphTitleTotalMargin: w } = o(d);
|
|
270
|
-
return {
|
|
271
|
-
elem: x,
|
|
272
|
-
graph: a,
|
|
273
|
-
groups: {
|
|
274
|
-
clusters: _,
|
|
275
|
-
edgePaths: v,
|
|
276
|
-
edgeLabels: y,
|
|
277
|
-
nodes: b,
|
|
278
|
-
rootGroups: x
|
|
279
|
-
},
|
|
280
|
-
diagramType: s,
|
|
281
|
-
id: l,
|
|
282
|
-
mergeSelfLoops: C,
|
|
283
|
-
subGraphTitleTotalMargin: w
|
|
284
|
-
};
|
|
285
|
-
}, "measureDagreGraph"), k = /* @__PURE__ */ n((t) => {
|
|
286
|
-
e.info("############################################# XXX"), e.info("### Layout ### XXX"), e.info("############################################# XXX"), f(t);
|
|
287
|
-
}, "runDagreGraphLayout"), A = /* @__PURE__ */ n((e, t, n) => {
|
|
288
|
-
let r = e.node(t);
|
|
289
|
-
if (!r) return;
|
|
290
|
-
let i = { ...r };
|
|
291
|
-
return r?.clusterNode ? i.y = (r.y ?? 0) + n : e.children(t).length > 0 ? i.height = (r.height ?? 0) + n : i.y = (r.y ?? 0) + n / 2, i;
|
|
292
|
-
}, "normalizeDagreNode"), j = /* @__PURE__ */ n((e, t) => {
|
|
293
|
-
C.forEach((n) => {
|
|
294
|
-
t[n] !== void 0 && (e[n] = t[n]);
|
|
295
|
-
});
|
|
296
|
-
}, "applyDagreNodeLayout"), M = /* @__PURE__ */ n((e, t, n, r) => ({
|
|
297
|
-
...e,
|
|
298
|
-
start: e.start ?? t,
|
|
299
|
-
end: e.end ?? n,
|
|
300
|
-
points: (e.points ?? []).map((e) => ({
|
|
301
|
-
...e,
|
|
302
|
-
y: typeof e.y == "number" ? e.y + r : e.y
|
|
303
|
-
}))
|
|
304
|
-
}), "normalizeDagreEdge"), N = /* @__PURE__ */ n((e, t) => {
|
|
305
|
-
let { graph: n, mergeSelfLoops: r, subGraphTitleTotalMargin: i = 0 } = t, a = new Map(e.nodes.map((e) => [e.id, e]));
|
|
306
|
-
v(n).forEach((e) => {
|
|
307
|
-
let t = A(n, e, i);
|
|
308
|
-
if (!t) return;
|
|
309
|
-
j(n.node(e), t);
|
|
310
|
-
let r = a.get(e);
|
|
311
|
-
r && j(r, t);
|
|
312
|
-
});
|
|
313
|
-
let o = i / 2;
|
|
314
|
-
return e.edges = D(n, o, { mergeSelfLoops: r }).map(({ edge: e, start: t, end: n }) => M(e, t, n, o)), e;
|
|
315
|
-
}, "applyDagreLayoutResult"), P = /* @__PURE__ */ n(async ({ elem: t, graph: n, groups: { clusters: r, edgePaths: i }, diagramType: o, id: c, mergeSelfLoops: d, subGraphTitleTotalMargin: f }) => {
|
|
316
|
-
let p = 0;
|
|
317
|
-
await Promise.all(v(n).map(async function(t) {
|
|
318
|
-
let i = n.node(t);
|
|
319
|
-
if (e.info("Position XBX => " + t + ": (" + i.x, "," + i.y, ") width: ", i.width, " height: ", i.height), i?.clusterNode) i.y += f, e.info("A tainted cluster node XBX1", t, i.id, i.width, i.height, i.x, i.y, n.parent(t)), h.get(i.id).node = i, a(i);
|
|
320
|
-
else if (n.children(t).length > 0) {
|
|
321
|
-
e.info("A pure cluster node XBX1", t, i.id, i.x, i.y, i.width, i.height, n.parent(t)), i.height += f, n.node(i.parentId);
|
|
322
|
-
let a = i?.padding / 2 || 0, o = i?.labelBBox?.height || 0, c = o - a || 0;
|
|
323
|
-
e.debug("OffsetY", c, "labelHeight", o, "halfPadding", a), await s(r, i), h.get(i.id).node = i;
|
|
324
|
-
} else {
|
|
325
|
-
let t = n.node(i.parentId);
|
|
326
|
-
i.y += f / 2, e.info("A regular node XBX1 - using the padding", i.id, "parent", i.parentId, i.width, i.height, i.x, i.y, "offsetY", i.offsetY, "parent", t, t?.offsetY, i), a(i);
|
|
327
|
-
}
|
|
328
|
-
}));
|
|
329
|
-
let m = f / 2;
|
|
330
|
-
return D(n, m, { mergeSelfLoops: d }).forEach(function({ edge: t, start: r, end: a }) {
|
|
331
|
-
e.info("Edge " + r + " -> " + a + ": " + JSON.stringify(t), t), t.points.forEach((e) => e.y += m);
|
|
332
|
-
let s = n.node(r), d = n.node(a), f = u(i, t, h, o, s, d, c);
|
|
333
|
-
l(t, f);
|
|
334
|
-
}), n.nodes().forEach(function(t) {
|
|
335
|
-
let r = n.node(t);
|
|
336
|
-
e.info(t, r.type, r.diff), r.isGroup && (p = r.diff);
|
|
337
|
-
}), e.warn("Returning from recursive render XAX", t, p), {
|
|
338
|
-
elem: t,
|
|
339
|
-
diff: p
|
|
340
|
-
};
|
|
341
|
-
}, "paintDagreLayoutCore"), F = /* @__PURE__ */ n(async (e) => {
|
|
342
|
-
let t = await O(e);
|
|
343
|
-
return k(t.graph), await P(t);
|
|
344
|
-
}, "renderDagreSubgraph"), I = /* @__PURE__ */ n((t) => {
|
|
345
|
-
let n = new d({
|
|
346
|
-
multigraph: !0,
|
|
347
|
-
compound: !0
|
|
348
|
-
}).setGraph({
|
|
349
|
-
rankdir: t.direction,
|
|
350
|
-
nodesep: t.config?.nodeSpacing || t.nodeSpacing || t.config?.flowchart?.nodeSpacing,
|
|
351
|
-
ranksep: t.config?.rankSpacing || t.rankSpacing || t.config?.flowchart?.rankSpacing,
|
|
352
|
-
marginx: 8,
|
|
353
|
-
marginy: 8
|
|
354
|
-
}).setDefaultEdgeLabel(function() {
|
|
355
|
-
return {};
|
|
356
|
-
});
|
|
357
|
-
return t.nodes.forEach((e) => {
|
|
358
|
-
n.setNode(e.id, { ...e }), e.parentId && n.setParent(e.id, e.parentId);
|
|
359
|
-
}), e.debug("Edges:", t.edges), t.edges.forEach((e) => {
|
|
360
|
-
if (e.start === e.end) {
|
|
361
|
-
let t = e.start, r = t + "---" + t + "---1", i = t + "---" + t + "---2", a = n.node(t);
|
|
362
|
-
n.setNode(r, {
|
|
363
|
-
domId: r,
|
|
364
|
-
id: r,
|
|
365
|
-
parentId: a.parentId,
|
|
366
|
-
labelStyle: "",
|
|
367
|
-
label: "",
|
|
368
|
-
padding: 0,
|
|
369
|
-
shape: "labelRect",
|
|
370
|
-
style: "",
|
|
371
|
-
width: 10,
|
|
372
|
-
height: 10
|
|
373
|
-
}), n.setParent(r, a.parentId), n.setNode(i, {
|
|
374
|
-
domId: i,
|
|
375
|
-
id: i,
|
|
376
|
-
parentId: a.parentId,
|
|
377
|
-
labelStyle: "",
|
|
378
|
-
padding: 0,
|
|
379
|
-
shape: "labelRect",
|
|
380
|
-
label: "",
|
|
381
|
-
style: "",
|
|
382
|
-
width: 10,
|
|
383
|
-
height: 10
|
|
384
|
-
}), n.setParent(i, a.parentId);
|
|
385
|
-
let o = structuredClone(e), s = structuredClone(e), c = structuredClone(e), l = structuredClone(e);
|
|
386
|
-
s.originalEdge = o, s.selfLoop = {
|
|
387
|
-
id: o.id,
|
|
388
|
-
order: 0
|
|
389
|
-
}, c.originalEdge = o, c.selfLoop = {
|
|
390
|
-
id: o.id,
|
|
391
|
-
order: 1
|
|
392
|
-
}, l.originalEdge = o, l.selfLoop = {
|
|
393
|
-
id: o.id,
|
|
394
|
-
order: 2
|
|
395
|
-
}, s.label = "", s.arrowTypeEnd = "none", s.endLabelLeft = "", s.endLabelRight = "", s.startLabelLeft = "", s.id = t + "-cyclic-special-1", c.startLabelRight = "", c.startLabelLeft = "", c.endLabelLeft = "", c.endLabelRight = "", c.arrowTypeStart = "none", c.arrowTypeEnd = "none", c.id = t + "-cyclic-special-mid", l.label = "", l.startLabelRight = "", l.startLabelLeft = "", l.arrowTypeStart = "none", a.isGroup && (s.fromCluster = t, l.toCluster = t), l.id = t + "-cyclic-special-2", l.arrowTypeStart = "none", n.setEdge(t, r, s, t + "-cyclic-special-0"), n.setEdge(r, i, c, t + "-cyclic-special-1"), n.setEdge(i, t, l, t + "-cyclic-special-2");
|
|
396
|
-
} else n.setEdge(e.start, e.end, { ...e }, e.id);
|
|
397
|
-
}), y(n), { graph: n };
|
|
398
|
-
}, "prepareLayoutForDagre"), L = /* @__PURE__ */ n(async (e, { element: n, preparedLayout: r }) => {
|
|
399
|
-
let i = r ?? I(e), a = t(), o = await O({
|
|
400
|
-
element: n,
|
|
401
|
-
graph: i.graph,
|
|
402
|
-
diagramType: e.type,
|
|
403
|
-
id: e.diagramId,
|
|
404
|
-
parentCluster: void 0,
|
|
405
|
-
siteConfig: a
|
|
406
|
-
});
|
|
407
|
-
return i.measuredLayout = o, o;
|
|
408
|
-
}, "measureDagreLayout"), R = /* @__PURE__ */ n((e, t) => {
|
|
409
|
-
let n = t.preparedLayout?.measuredLayout;
|
|
410
|
-
if (!n) throw Error("runDagreLayoutCore requires measureDagreLayout to run first");
|
|
411
|
-
return k(n.graph), N(e, n), n;
|
|
412
|
-
}, "runDagreLayoutCore"), z = _({
|
|
413
|
-
prepareLayout: I,
|
|
414
|
-
measureLayout: L,
|
|
415
|
-
runLayoutCore: R,
|
|
416
|
-
paintOptions: {
|
|
417
|
-
clusterDb: h,
|
|
418
|
-
getNodes: /* @__PURE__ */ n((e, { measure: t }) => v(t.graph).map((e) => t.graph.node(e)).filter(Boolean), "getDagrePaintNodes"),
|
|
419
|
-
getEdgeNode: /* @__PURE__ */ n((e, t, { measure: n }) => e ? n.graph.node(e) : void 0, "getDagreEdgeNode"),
|
|
420
|
-
skipNode: /* @__PURE__ */ n((e, { measure: t }) => !t.graph.hasNode(e.id), "skipNode"),
|
|
421
|
-
isCluster: /* @__PURE__ */ n((e, { measure: t }) => t.graph.hasNode(e.id) && (t.graph.children(e.id) ?? []).length > 0, "isCluster")
|
|
422
|
-
}
|
|
423
|
-
});
|
|
424
|
-
//#endregion
|
|
425
|
-
export { N as applyDagreLayoutResult, D as getEdgesToRender, L as measureDagreLayout, I as prepareLayoutForDagre, z as render, R as runDagreLayoutCore };
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { H as t, K as n, U as r, a as i, b as a, c as o, f as s, v as c, w as l, y as u } from "./chunk-DU6HZSFF-waeanndy.js";
|
|
3
|
-
import { n as d } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { i as f } from "./chunk-75Z2AOVW-Drsj7a97.js";
|
|
5
|
-
import { t as p } from "./chunk-CLGD4ZFX-CLGio9rD.js";
|
|
6
|
-
import { n as m } from "./mermaid-parser.core-BwVmI_Rq.js";
|
|
7
|
-
import { t as h } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
|
|
8
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/diagram-Z3DM3KII.mjs
|
|
9
|
-
var g = s.packet, _ = class {
|
|
10
|
-
constructor() {
|
|
11
|
-
this.packet = [], this.setAccTitle = r, this.getAccTitle = u, this.setDiagramTitle = n, this.getDiagramTitle = l, this.getAccDescription = c, this.setAccDescription = t;
|
|
12
|
-
}
|
|
13
|
-
static {
|
|
14
|
-
d(this, "PacketDB");
|
|
15
|
-
}
|
|
16
|
-
getConfig() {
|
|
17
|
-
let e = f({
|
|
18
|
-
...g,
|
|
19
|
-
...a().packet
|
|
20
|
-
});
|
|
21
|
-
return e.showBits && (e.paddingY += 10), e;
|
|
22
|
-
}
|
|
23
|
-
getPacket() {
|
|
24
|
-
return this.packet;
|
|
25
|
-
}
|
|
26
|
-
pushWord(e) {
|
|
27
|
-
e.length > 0 && this.packet.push(e);
|
|
28
|
-
}
|
|
29
|
-
clear() {
|
|
30
|
-
i(), this.packet = [];
|
|
31
|
-
}
|
|
32
|
-
}, v = 1e4, y = /* @__PURE__ */ d((t, n) => {
|
|
33
|
-
h(t, n);
|
|
34
|
-
let r = -1, i = [], a = 1, { bitsPerRow: o } = n.getConfig();
|
|
35
|
-
for (let { start: s, end: c, bits: l, label: u } of t.blocks) {
|
|
36
|
-
if (s !== void 0 && c !== void 0 && c < s) throw Error(`Packet block ${s} - ${c} is invalid. End must be greater than start.`);
|
|
37
|
-
if (s ??= r + 1, s !== r + 1) throw Error(`Packet block ${s} - ${c ?? s} is not contiguous. It should start from ${r + 1}.`);
|
|
38
|
-
if (l === 0) throw Error(`Packet block ${s} is invalid. Cannot have a zero bit field.`);
|
|
39
|
-
for (c ??= s + (l ?? 1) - 1, l ??= c - s + 1, r = c, e.debug(`Packet block ${s} - ${r} with label ${u}`); i.length <= o + 1 && n.getPacket().length < v;) {
|
|
40
|
-
let [e, t] = b({
|
|
41
|
-
start: s,
|
|
42
|
-
end: c,
|
|
43
|
-
bits: l,
|
|
44
|
-
label: u
|
|
45
|
-
}, a, o);
|
|
46
|
-
if (i.push(e), e.end + 1 === a * o && (n.pushWord(i), i = [], a++), !t) break;
|
|
47
|
-
({start: s, end: c, bits: l, label: u} = t);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
n.pushWord(i);
|
|
51
|
-
}, "populate"), b = /* @__PURE__ */ d((e, t, n) => {
|
|
52
|
-
if (e.start === void 0) throw Error("start should have been set during first phase");
|
|
53
|
-
if (e.end === void 0) throw Error("end should have been set during first phase");
|
|
54
|
-
if (e.start > e.end) throw Error(`Block start ${e.start} is greater than block end ${e.end}.`);
|
|
55
|
-
if (e.end + 1 <= t * n) return [e, void 0];
|
|
56
|
-
let r = t * n - 1, i = t * n;
|
|
57
|
-
return [{
|
|
58
|
-
start: e.start,
|
|
59
|
-
end: r,
|
|
60
|
-
label: e.label,
|
|
61
|
-
bits: r - e.start
|
|
62
|
-
}, {
|
|
63
|
-
start: i,
|
|
64
|
-
end: e.end,
|
|
65
|
-
label: e.label,
|
|
66
|
-
bits: e.end - i
|
|
67
|
-
}];
|
|
68
|
-
}, "getNextFittingBlock"), x = {
|
|
69
|
-
parser: { yy: void 0 },
|
|
70
|
-
parse: /* @__PURE__ */ d(async (t) => {
|
|
71
|
-
let n = await m("packet", t), r = x.parser?.yy;
|
|
72
|
-
if (!(r instanceof _)) throw Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");
|
|
73
|
-
e.debug(n), y(n, r);
|
|
74
|
-
}, "parse")
|
|
75
|
-
}, S = /* @__PURE__ */ d((e, t, n, r) => {
|
|
76
|
-
let i = r.db, a = i.getConfig(), { rowHeight: s, paddingY: c, bitWidth: l, bitsPerRow: u } = a, d = i.getPacket(), f = i.getDiagramTitle(), m = s + c, h = m * (d.length + 1) - (f ? 0 : s), g = l * u + 2, _ = p(t);
|
|
77
|
-
_.attr("viewBox", `0 0 ${g} ${h}`), o(_, h, g, a.useMaxWidth);
|
|
78
|
-
for (let [e, t] of d.entries()) C(_, t, e, a);
|
|
79
|
-
_.append("text").text(f).attr("x", g / 2).attr("y", h - m / 2).attr("dominant-baseline", "middle").attr("text-anchor", "middle").attr("class", "packetTitle");
|
|
80
|
-
}, "draw"), C = /* @__PURE__ */ d((e, t, n, { rowHeight: r, paddingX: i, paddingY: a, bitWidth: o, bitsPerRow: s, showBits: c }) => {
|
|
81
|
-
let l = e.append("g"), u = n * (r + a) + a;
|
|
82
|
-
for (let e of t) {
|
|
83
|
-
let t = e.start % s * o + 1, n = (e.end - e.start + 1) * o - i;
|
|
84
|
-
if (l.append("rect").attr("x", t).attr("y", u).attr("width", n).attr("height", r).attr("class", "packetBlock"), l.append("text").attr("x", t + n / 2).attr("y", u + r / 2).attr("class", "packetLabel").attr("dominant-baseline", "middle").attr("text-anchor", "middle").text(e.label), !c) continue;
|
|
85
|
-
let a = e.end === e.start, d = u - 2;
|
|
86
|
-
l.append("text").attr("x", t + (a ? n / 2 : 0)).attr("y", d).attr("class", "packetByte start").attr("dominant-baseline", "auto").attr("text-anchor", a ? "middle" : "start").text(e.start), a || l.append("text").attr("x", t + n).attr("y", d).attr("class", "packetByte end").attr("dominant-baseline", "auto").attr("text-anchor", "end").text(e.end);
|
|
87
|
-
}
|
|
88
|
-
}, "drawWord"), w = { draw: S }, T = {
|
|
89
|
-
byteFontSize: "10px",
|
|
90
|
-
startByteColor: "black",
|
|
91
|
-
endByteColor: "black",
|
|
92
|
-
labelColor: "black",
|
|
93
|
-
labelFontSize: "12px",
|
|
94
|
-
titleColor: "black",
|
|
95
|
-
titleFontSize: "14px",
|
|
96
|
-
blockStrokeColor: "black",
|
|
97
|
-
blockStrokeWidth: "1",
|
|
98
|
-
blockFillColor: "#efefef"
|
|
99
|
-
}, E = {
|
|
100
|
-
parser: x,
|
|
101
|
-
get db() {
|
|
102
|
-
return new _();
|
|
103
|
-
},
|
|
104
|
-
renderer: w,
|
|
105
|
-
styles: /* @__PURE__ */ d(({ packet: e } = {}) => {
|
|
106
|
-
let t = f(T, e);
|
|
107
|
-
return `
|
|
108
|
-
.packetByte {
|
|
109
|
-
font-size: ${t.byteFontSize};
|
|
110
|
-
}
|
|
111
|
-
.packetByte.start {
|
|
112
|
-
fill: ${t.startByteColor};
|
|
113
|
-
}
|
|
114
|
-
.packetByte.end {
|
|
115
|
-
fill: ${t.endByteColor};
|
|
116
|
-
}
|
|
117
|
-
.packetLabel {
|
|
118
|
-
fill: ${t.labelColor};
|
|
119
|
-
font-size: ${t.labelFontSize};
|
|
120
|
-
}
|
|
121
|
-
.packetTitle {
|
|
122
|
-
fill: ${t.titleColor};
|
|
123
|
-
font-size: ${t.titleFontSize};
|
|
124
|
-
}
|
|
125
|
-
.packetBlock {
|
|
126
|
-
stroke: ${t.blockStrokeColor};
|
|
127
|
-
stroke-width: ${t.blockStrokeWidth};
|
|
128
|
-
fill: ${t.blockFillColor};
|
|
129
|
-
}
|
|
130
|
-
`;
|
|
131
|
-
}, "styles")
|
|
132
|
-
};
|
|
133
|
-
//#endregion
|
|
134
|
-
export { E as diagram };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import "./src-DQoflmwT.js";
|
|
2
|
-
import "./chunk-DU6HZSFF-waeanndy.js";
|
|
3
|
-
import "./chunk-75Z2AOVW-Drsj7a97.js";
|
|
4
|
-
import "./chunk-P2QGCYS3-BUeNZ170.js";
|
|
5
|
-
import "./chunk-PWAF6VOD-D37VoZ8H.js";
|
|
6
|
-
import "./chunk-GMAD6QVW-D80II4AD.js";
|
|
7
|
-
import "./chunk-4HAMMTFA-CZgIgrp_.js";
|
|
8
|
-
import "./chunk-GVQU2GXP-DP3t_9Rl.js";
|
|
9
|
-
import "./chunk-L3NEJ4N5-qPot4t6M.js";
|
|
10
|
-
import "./chunk-OSK3NFVY-CQhPF3Mc.js";
|
|
11
|
-
import "./chunk-LNGE3PJU-CtYcu9x8.js";
|
|
12
|
-
import "./chunk-TLUHSLCS-BdsLNXjt.js";
|
|
13
|
-
import "./chunk-F27PBJKO-jIrOJO87.js";
|
|
14
|
-
import "./chunk-XXDRQBXY-C1ZEFXGu.js";
|
|
15
|
-
import "./chunk-POPQ4Y6H-CU9oz17Z.js";
|
|
16
|
-
import { n as e } from "./chunk-SHT3W25Y-Cri27Jke.js";
|
|
17
|
-
export { e as diagram };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useClickOutside.d.ts","sourceRoot":"","sources":["../../src/hooks/useClickOutside.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAqB,MAAM,OAAO,CAAA;AAE9C,eAAO,MAAM,eAAe,GAC1B,MAAM,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,GAAG,IAAI,EACpC,QAAQ,OAAO,EACf,UAAU,MAAM,IAAI,SAsCrB,CAAA"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { c as t } from "./chunk-DU6HZSFF-waeanndy.js";
|
|
3
|
-
import { n } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { t as r } from "./chunk-CLGD4ZFX-CLGio9rD.js";
|
|
5
|
-
import { n as i } from "./mermaid-parser.core-BwVmI_Rq.js";
|
|
6
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-27XIBGKW.mjs
|
|
7
|
-
var a = { parse: /* @__PURE__ */ n(async (t) => {
|
|
8
|
-
let n = await i("info", t);
|
|
9
|
-
e.debug(n);
|
|
10
|
-
}, "parse") }, o = { version: "11.17.2" }, s = {
|
|
11
|
-
parser: a,
|
|
12
|
-
db: { getVersion: /* @__PURE__ */ n(() => o.version, "getVersion") },
|
|
13
|
-
renderer: { draw: /* @__PURE__ */ n((n, i, a) => {
|
|
14
|
-
e.debug("rendering info diagram\n" + n);
|
|
15
|
-
let o = r(i);
|
|
16
|
-
t(o, 100, 400, !0), o.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${a}`);
|
|
17
|
-
}, "draw") }
|
|
18
|
-
};
|
|
19
|
-
//#endregion
|
|
20
|
-
export { s as diagram };
|