@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
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
import { b as e, g as t, w as n } from "./chunk-DSNLSHJZ-B1A8wsiA.js";
|
|
2
|
+
import { n as r } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
3
|
+
import { m as i, p as a } from "./src-CY9Rz0Sf.js";
|
|
4
|
+
import { a as o, i as s, t as c } from "./chunk-UHW7PFBP-CoHGQVjo.js";
|
|
5
|
+
import { n as l } from "./chunk-AQDTSKZB-DuUha9al.js";
|
|
6
|
+
import { s as u } from "./chunk-J5ZVWO5B-CYzz6Pq8.js";
|
|
7
|
+
import { t as d } from "./rough.esm-DXYGHN3m.js";
|
|
8
|
+
import { i as f, n as p, t as m } from "./chunk-HAGFOTED-IzyIoLzD.js";
|
|
9
|
+
import { n as h } from "./chunk-ZAUX2LTX-Bu7BRVL6.js";
|
|
10
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-HNE4Q36P.mjs
|
|
11
|
+
var g = /* @__PURE__ */ r(async (n, r) => {
|
|
12
|
+
let c = e(), { theme: p, themeVariables: m, handDrawnSeed: h } = c, { clusterBkg: g, clusterBorder: _, borderColorArray: v } = m, y = _, { labelStyles: b, nodeStyles: x, borderStyles: S, backgroundStyles: C } = s(r), w = n.insert("g").attr("class", "cluster swimlane " + (r.cssClasses || "")).attr("id", r.domId ?? r.id).attr("data-id", r.id).attr("data-et", "cluster").attr("data-look", r.look);
|
|
13
|
+
u(w, r.colorIndex, p, v);
|
|
14
|
+
let T = t(c.flowchart.htmlLabels), E = r.direction === "LR", D = w.insert("g").attr("class", "cluster-label swimlane-label"), O = await l(D, r.label, {
|
|
15
|
+
style: r.labelStyle,
|
|
16
|
+
useHtmlLabels: T,
|
|
17
|
+
isNode: !0,
|
|
18
|
+
width: r.width
|
|
19
|
+
}), k = O.getBBox();
|
|
20
|
+
if (T) {
|
|
21
|
+
let e = O.children[0], t = a(O);
|
|
22
|
+
k = e.getBoundingClientRect(), t.attr("width", k.width), t.attr("height", k.height);
|
|
23
|
+
}
|
|
24
|
+
let A = r.padding ?? 0, j = r.width <= k.width + A ? k.width + A : r.width;
|
|
25
|
+
r.diff = r.width <= k.width + A ? (j - r.width) / 2 - A : -A;
|
|
26
|
+
let M = r.height, N = r.y - M / 2, P = r.y + M / 2, F = r.x - j / 2, I = r.swimlaneContentTop === void 0 ? N + M / 3 : r.swimlaneContentTop, L = E ? 4 : 0, R = k.height + 2 * L, z, B;
|
|
27
|
+
if (E) {
|
|
28
|
+
let e = Math.max(R, k.height + 2 * L), t = F + e, n = Math.max(0, j - e);
|
|
29
|
+
if (r.look === "handDrawn") {
|
|
30
|
+
let i = d.svg(w), a = o(r, {
|
|
31
|
+
roughness: .7,
|
|
32
|
+
fill: g,
|
|
33
|
+
stroke: y,
|
|
34
|
+
seed: h
|
|
35
|
+
}), s = o(r, {
|
|
36
|
+
roughness: .7,
|
|
37
|
+
fill: "none",
|
|
38
|
+
stroke: y,
|
|
39
|
+
seed: h
|
|
40
|
+
}), c = i.rectangle(F, N, e, M, a);
|
|
41
|
+
z = w.insert(() => c, ":first-child").attr("class", "swimlane-title");
|
|
42
|
+
let l = i.rectangle(t, N, n, M, s);
|
|
43
|
+
B = w.insert(() => l, ":first-child").attr("class", "swimlane-body"), z.select("path:nth-child(2)").attr("style", S.join(";")), z.select("path").attr("style", C.join(";").replace("fill", "stroke"));
|
|
44
|
+
} else z = w.insert("rect", ":first-child"), B = w.insert("rect", ":first-child"), z.attr("class", "swimlane-title").attr("style", x).attr("x", F).attr("y", N).attr("width", e).attr("height", M).attr("fill", g).attr("stroke", y), B.attr("class", "swimlane-body").attr("style", x).attr("x", t).attr("y", N).attr("width", n).attr("height", M).attr("fill", "none").attr("stroke", y);
|
|
45
|
+
let i = F + e / 2, a = r.y;
|
|
46
|
+
D.attr("transform", `translate(${i}, ${a}) rotate(-90) translate(${-k.width / 2}, ${-k.height / 2})`);
|
|
47
|
+
} else {
|
|
48
|
+
let e = Math.max(0, I - N), t = Math.min(R, e), n = N + t, i = Math.max(0, P - n), a = r.x - j / 2;
|
|
49
|
+
if (r.look === "handDrawn") {
|
|
50
|
+
let e = d.svg(w), s = o(r, {
|
|
51
|
+
roughness: .7,
|
|
52
|
+
fill: g,
|
|
53
|
+
stroke: y,
|
|
54
|
+
fillWeight: 3,
|
|
55
|
+
seed: h
|
|
56
|
+
}), c = o(r, {
|
|
57
|
+
roughness: .7,
|
|
58
|
+
fill: "none",
|
|
59
|
+
stroke: y,
|
|
60
|
+
seed: h
|
|
61
|
+
}), l = e.rectangle(a, N, j, t, s);
|
|
62
|
+
z = w.insert(() => l, ":first-child").attr("class", "swimlane-title");
|
|
63
|
+
let u = e.rectangle(a, n, j, i, c);
|
|
64
|
+
B = w.insert(() => u, ":first-child").attr("class", "swimlane-body"), z.select("path:nth-child(2)").attr("style", S.join(";")), z.select("path").attr("style", C.join(";").replace("fill", "stroke"));
|
|
65
|
+
} else z = w.insert("rect", ":first-child"), B = w.insert("rect", ":first-child"), z.attr("class", "swimlane-title").attr("style", x).attr("x", a).attr("y", N).attr("width", j).attr("height", t).attr("fill", g).attr("stroke", y), B.attr("class", "swimlane-body").attr("style", x).attr("x", a).attr("y", n).attr("width", j).attr("height", i).attr("fill", "none").attr("stroke", y);
|
|
66
|
+
let s = r.x - k.width / 2, c = N + (t - k.height) / 2;
|
|
67
|
+
D.attr("transform", `translate(${s}, ${c})`);
|
|
68
|
+
}
|
|
69
|
+
if (i.trace("Swimlane data ", r, JSON.stringify(r)), b) {
|
|
70
|
+
let e = D.select("span");
|
|
71
|
+
e && e.attr("style", b);
|
|
72
|
+
}
|
|
73
|
+
return r.offsetX = 0, r.width = j, r.height = M, r.offsetY = k.height - A / 2, r.intersect = function(e) {
|
|
74
|
+
return f(r, e);
|
|
75
|
+
}, {
|
|
76
|
+
cluster: w,
|
|
77
|
+
labelBBox: k
|
|
78
|
+
};
|
|
79
|
+
}, "swimlane"), _ = /* @__PURE__ */ r(async (t, r) => {
|
|
80
|
+
i.info("Creating subgraph rect for ", r.id, r);
|
|
81
|
+
let c = e(), { theme: g, themeVariables: _, handDrawnSeed: v } = c, { clusterBkg: y, clusterBorder: b, borderColorArray: x } = _, { labelStyles: S, nodeStyles: C, borderStyles: w, backgroundStyles: T } = s(r), E = t.insert("g").attr("class", "cluster " + r.cssClasses).attr("id", r.domId).attr("data-look", r.look);
|
|
82
|
+
u(E, r.colorIndex, g, x);
|
|
83
|
+
let D = n(c), O = E.insert("g").attr("class", "cluster-label "), k;
|
|
84
|
+
k = r.labelType === "markdown" ? await l(O, r.label, {
|
|
85
|
+
style: r.labelStyle,
|
|
86
|
+
useHtmlLabels: D,
|
|
87
|
+
isNode: !0,
|
|
88
|
+
width: r.width
|
|
89
|
+
}) : await m(O, r.label, r.labelStyle || "", !1, !0);
|
|
90
|
+
let A = k.getBBox();
|
|
91
|
+
if (n(c)) {
|
|
92
|
+
let e = k.children[0], t = a(k);
|
|
93
|
+
A = e.getBoundingClientRect(), t.attr("width", A.width), t.attr("height", A.height);
|
|
94
|
+
}
|
|
95
|
+
let j = r.width <= A.width + r.padding ? A.width + r.padding : r.width;
|
|
96
|
+
r.diff = r.width <= A.width + r.padding ? (j - r.width) / 2 - r.padding : -r.padding;
|
|
97
|
+
let M = r.height, N = r.x - j / 2, P = r.y - M / 2;
|
|
98
|
+
i.trace("Data ", r, JSON.stringify(r));
|
|
99
|
+
let F;
|
|
100
|
+
if (r.look === "handDrawn") {
|
|
101
|
+
let e = d.svg(E), t = o(r, {
|
|
102
|
+
roughness: .7,
|
|
103
|
+
fill: y,
|
|
104
|
+
stroke: b,
|
|
105
|
+
fillWeight: 3,
|
|
106
|
+
seed: v
|
|
107
|
+
}), n = e.path(p(N, P, j, M, 0), t);
|
|
108
|
+
F = E.insert(() => (i.debug("Rough node insert CXC", n), n), ":first-child"), F.select("path:nth-child(2)").attr("style", w.join(";")), F.select("path").attr("style", T.join(";").replace("fill", "stroke"));
|
|
109
|
+
} else F = E.insert("rect", ":first-child"), F.attr("style", C).attr("rx", r.rx).attr("ry", r.ry).attr("x", N).attr("y", P).attr("width", j).attr("height", M);
|
|
110
|
+
let { subGraphTitleTopMargin: I } = h(c);
|
|
111
|
+
if (O.attr("transform", `translate(${r.x - A.width / 2}, ${r.y - r.height / 2 + I})`), S) {
|
|
112
|
+
let e = O.select("span");
|
|
113
|
+
e && e.attr("style", S);
|
|
114
|
+
}
|
|
115
|
+
let L = F.node().getBBox();
|
|
116
|
+
return r.offsetX = 0, r.width = L.width, r.height = L.height, r.offsetY = A.height - r.padding / 2, r.intersect = function(e) {
|
|
117
|
+
return f(r, e);
|
|
118
|
+
}, {
|
|
119
|
+
cluster: E,
|
|
120
|
+
labelBBox: A
|
|
121
|
+
};
|
|
122
|
+
}, "rect"), v = /* @__PURE__ */ r((e, t) => {
|
|
123
|
+
let n = e.insert("g").attr("class", "note-cluster").attr("id", t.domId), r = n.insert("rect", ":first-child"), i = 0 * t.padding, a = i / 2;
|
|
124
|
+
r.attr("rx", t.rx).attr("ry", t.ry).attr("x", t.x - t.width / 2 - a).attr("y", t.y - t.height / 2 - a).attr("width", t.width + i).attr("height", t.height + i).attr("fill", "none");
|
|
125
|
+
let o = r.node().getBBox();
|
|
126
|
+
return t.width = o.width, t.height = o.height, t.intersect = function(e) {
|
|
127
|
+
return f(t, e);
|
|
128
|
+
}, {
|
|
129
|
+
cluster: n,
|
|
130
|
+
labelBBox: {
|
|
131
|
+
width: 0,
|
|
132
|
+
height: 0
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
}, "noteGroup"), y = /* @__PURE__ */ r(async (t, r) => {
|
|
136
|
+
let i = e(), { theme: o, themeVariables: s, handDrawnSeed: c } = i, { altBackground: l, borderColorArray: h, compositeBackground: g, compositeTitleBackground: _, nodeBorder: v } = s, y = t.insert("g").attr("class", r.cssClasses).attr("id", r.domId).attr("data-id", r.id).attr("data-look", r.look);
|
|
137
|
+
u(y, r.colorIndex, o, h);
|
|
138
|
+
let b = y.insert("g", ":first-child"), x = y.insert("g").attr("class", "cluster-label"), S = y.append("rect"), C = await m(x, r.label, r.labelStyle, void 0, !0), w = C.getBBox();
|
|
139
|
+
if (n(i)) {
|
|
140
|
+
let e = C.children[0], t = a(C);
|
|
141
|
+
w = e.getBoundingClientRect(), t.attr("width", w.width), t.attr("height", w.height);
|
|
142
|
+
}
|
|
143
|
+
let T = 0 * r.padding, E = T / 2, D = (r.width <= w.width + r.padding ? w.width + r.padding : r.width) + T;
|
|
144
|
+
r.diff = r.width <= w.width + r.padding ? (D - r.width) / 2 - r.padding : -r.padding;
|
|
145
|
+
let O = r.height + T, k = r.height + T - w.height - 6, A = r.x - D / 2, j = r.y - O / 2;
|
|
146
|
+
r.width = D;
|
|
147
|
+
let M = r.y - r.height / 2 - E + w.height + 2, N;
|
|
148
|
+
if (r.look === "handDrawn") {
|
|
149
|
+
let e = r.cssClasses.includes("statediagram-cluster-alt"), t = d.svg(y), n = r.rx || r.ry ? t.path(p(A, j, D, O, 10), {
|
|
150
|
+
roughness: .7,
|
|
151
|
+
fill: _,
|
|
152
|
+
fillStyle: "solid",
|
|
153
|
+
stroke: v,
|
|
154
|
+
seed: c
|
|
155
|
+
}) : t.rectangle(A, j, D, O, { seed: c });
|
|
156
|
+
N = y.insert(() => n, ":first-child");
|
|
157
|
+
let i = t.rectangle(A, M, D, k, {
|
|
158
|
+
fill: e ? l : g,
|
|
159
|
+
fillStyle: e ? "hachure" : "solid",
|
|
160
|
+
stroke: v,
|
|
161
|
+
seed: c
|
|
162
|
+
});
|
|
163
|
+
N = y.insert(() => n, ":first-child"), S = y.insert(() => i), N.attr("class", "outer"), S.attr("class", "inner");
|
|
164
|
+
} else N = b.insert("rect", ":first-child"), N.attr("class", "outer").attr("x", A).attr("y", j).attr("width", D).attr("height", O).attr("data-look", r.look), S.attr("class", "inner").attr("x", A).attr("y", M).attr("width", D).attr("height", k);
|
|
165
|
+
return x.attr("transform", `translate(${r.x - w.width / 2}, ${j + 1 - (n(i) ? 0 : 3)})`), r.height = N.node().getBBox().height, r.offsetX = 0, r.offsetY = w.height - r.padding / 2, r.labelBBox = w, r.intersect = function(e) {
|
|
166
|
+
return f(r, e);
|
|
167
|
+
}, {
|
|
168
|
+
cluster: y,
|
|
169
|
+
labelBBox: w
|
|
170
|
+
};
|
|
171
|
+
}, "roundedWithTitle"), b = /* @__PURE__ */ r(async (t, r) => {
|
|
172
|
+
i.info("Creating subgraph rect for ", r.id, r);
|
|
173
|
+
let c = e(), { themeVariables: u, handDrawnSeed: m } = c, { clusterBkg: g, clusterBorder: _ } = u, { labelStyles: v, nodeStyles: y, borderStyles: b, backgroundStyles: x } = s(r), S = t.insert("g").attr("class", "cluster " + r.cssClasses).attr("id", r.domId).attr("data-look", r.look), C = n(c), w = S.insert("g").attr("class", "cluster-label "), T = await l(w, r.label, {
|
|
174
|
+
style: r.labelStyle,
|
|
175
|
+
useHtmlLabels: C,
|
|
176
|
+
isNode: !0,
|
|
177
|
+
width: r.width
|
|
178
|
+
}), E = T.getBBox();
|
|
179
|
+
if (n(c)) {
|
|
180
|
+
let e = T.children[0], t = a(T);
|
|
181
|
+
E = e.getBoundingClientRect(), t.attr("width", E.width), t.attr("height", E.height);
|
|
182
|
+
}
|
|
183
|
+
let D = r.width <= E.width + r.padding ? E.width + r.padding : r.width;
|
|
184
|
+
r.diff = r.width <= E.width + r.padding ? (D - r.width) / 2 - r.padding : -r.padding;
|
|
185
|
+
let O = r.height, k = r.x - D / 2, A = r.y - O / 2;
|
|
186
|
+
i.trace("Data ", r, JSON.stringify(r));
|
|
187
|
+
let j;
|
|
188
|
+
if (r.look === "handDrawn") {
|
|
189
|
+
let e = d.svg(S), t = o(r, {
|
|
190
|
+
roughness: .7,
|
|
191
|
+
fill: g,
|
|
192
|
+
stroke: _,
|
|
193
|
+
fillWeight: 4,
|
|
194
|
+
seed: m
|
|
195
|
+
}), n = e.path(p(k, A, D, O, r.rx), t);
|
|
196
|
+
j = S.insert(() => (i.debug("Rough node insert CXC", n), n), ":first-child"), j.select("path:nth-child(2)").attr("style", b.join(";")), j.select("path").attr("style", x.join(";").replace("fill", "stroke"));
|
|
197
|
+
} else j = S.insert("rect", ":first-child"), j.attr("style", y).attr("rx", r.rx).attr("ry", r.ry).attr("x", k).attr("y", A).attr("width", D).attr("height", O);
|
|
198
|
+
let { subGraphTitleTopMargin: M } = h(c);
|
|
199
|
+
if (w.attr("transform", `translate(${r.x - E.width / 2}, ${r.y - r.height / 2 + M})`), v) {
|
|
200
|
+
let e = w.select("span");
|
|
201
|
+
e && e.attr("style", v);
|
|
202
|
+
}
|
|
203
|
+
let N = j.node().getBBox();
|
|
204
|
+
return r.offsetX = 0, r.width = N.width, r.height = N.height, r.offsetY = E.height - r.padding / 2, r.intersect = function(e) {
|
|
205
|
+
return f(r, e);
|
|
206
|
+
}, {
|
|
207
|
+
cluster: S,
|
|
208
|
+
labelBBox: E
|
|
209
|
+
};
|
|
210
|
+
}, "kanbanSection"), x = /* @__PURE__ */ r((t, n) => {
|
|
211
|
+
let { theme: r, themeVariables: i, handDrawnSeed: a } = e(), { altBackground: o, nodeBorder: s, borderColorArray: c } = i, l = t.insert("g").attr("class", n.cssClasses).attr("id", n.domId).attr("data-look", n.look);
|
|
212
|
+
u(l, n.colorIndex, r, c);
|
|
213
|
+
let p = l.insert("g", ":first-child"), m = 0 * n.padding, h = n.width + m;
|
|
214
|
+
n.diff = -n.padding;
|
|
215
|
+
let g = n.height + m, _ = n.x - h / 2, v = n.y - g / 2;
|
|
216
|
+
n.width = h;
|
|
217
|
+
let y;
|
|
218
|
+
if (n.look === "handDrawn") {
|
|
219
|
+
let e = d.svg(l).rectangle(_, v, h, g, {
|
|
220
|
+
fill: o ?? "#efefef",
|
|
221
|
+
fillStyle: "solid",
|
|
222
|
+
roughness: .5,
|
|
223
|
+
strokeLineDash: [5],
|
|
224
|
+
stroke: s,
|
|
225
|
+
seed: a
|
|
226
|
+
});
|
|
227
|
+
y = l.insert(() => e, ":first-child").attr("class", "divider");
|
|
228
|
+
} else {
|
|
229
|
+
y = p.insert("rect", ":first-child");
|
|
230
|
+
let e = "outer";
|
|
231
|
+
e = (n.look, "divider"), y.attr("class", e).attr("x", _).attr("y", v).attr("width", h).attr("height", g).attr("data-look", n.look);
|
|
232
|
+
}
|
|
233
|
+
return n.height = y.node().getBBox().height, n.offsetX = 0, n.offsetY = 0, n.intersect = function(e) {
|
|
234
|
+
return f(n, e);
|
|
235
|
+
}, {
|
|
236
|
+
cluster: l,
|
|
237
|
+
labelBBox: {}
|
|
238
|
+
};
|
|
239
|
+
}, "divider"), S = /* @__PURE__ */ r(async (t, r, c) => {
|
|
240
|
+
i.info(`Creating ${c.cssClass} for `, r.id, r);
|
|
241
|
+
let g = e(), { theme: _, themeVariables: v, handDrawnSeed: y } = g, { borderColorArray: b } = v, { labelStyles: x, borderStyles: S } = s(r), C = t.insert("g").attr("class", "cluster " + c.cssClass + " " + r.cssClasses).attr("id", r.domId ?? r.id).attr("data-look", r.look);
|
|
242
|
+
u(C, r.colorIndex, _, b);
|
|
243
|
+
let w = n(g), T = C.insert("g").attr("class", "cluster-label"), E = {
|
|
244
|
+
width: 0,
|
|
245
|
+
height: 0
|
|
246
|
+
}, D = r.label?.trim();
|
|
247
|
+
if (D) {
|
|
248
|
+
let e;
|
|
249
|
+
if (e = r.labelType === "markdown" ? await l(T, r.label, {
|
|
250
|
+
style: r.labelStyle,
|
|
251
|
+
useHtmlLabels: w,
|
|
252
|
+
isNode: !0,
|
|
253
|
+
width: r.width
|
|
254
|
+
}) : await m(T, r.label, r.labelStyle || "", !1, !0), E = e.getBBox(), w) {
|
|
255
|
+
let t = e.children[0], n = a(e);
|
|
256
|
+
E = t.getBoundingClientRect(), n.attr("width", E.width), n.attr("height", E.height);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
let O = r.width <= E.width + r.padding ? E.width + r.padding : r.width;
|
|
260
|
+
r.diff = r.width <= E.width + r.padding ? (O - r.width) / 2 - r.padding : -r.padding;
|
|
261
|
+
let k = r.height, A = r.x - O / 2, j = r.y - k / 2, M;
|
|
262
|
+
if (r.look === "handDrawn") {
|
|
263
|
+
let e = d.svg(C), t = o(r, {
|
|
264
|
+
roughness: c.roughness,
|
|
265
|
+
fill: c.fill,
|
|
266
|
+
stroke: c.stroke,
|
|
267
|
+
strokeWidth: c.strokeWidth,
|
|
268
|
+
seed: y,
|
|
269
|
+
...c.fill === "none" ? { fillWeight: 0 } : { fillStyle: "solid" },
|
|
270
|
+
...c.strokeDash ? { strokeLineDash: c.strokeDash } : {}
|
|
271
|
+
}), n = e.path(p(A, j, O, k, c.rx), t);
|
|
272
|
+
M = C.insert(() => n, ":first-child"), M.select("path:nth-child(2)").attr("style", S.join(";"));
|
|
273
|
+
} else M = C.insert("rect", ":first-child"), M.attr("rx", c.rx).attr("ry", c.rx).attr("x", A).attr("y", j).attr("width", O).attr("height", k).attr("fill", c.fill).attr("stroke", c.stroke).attr("stroke-width", c.strokeWidth + "px"), c.strokeDash && M.attr("stroke-dasharray", c.strokeDash.join(", "));
|
|
274
|
+
if (D) {
|
|
275
|
+
let { subGraphTitleTopMargin: e } = h(g);
|
|
276
|
+
if (T.attr("transform", `translate(${r.x - E.width / 2}, ${r.y - r.height / 2 + e})`), x) {
|
|
277
|
+
let e = T.select("span");
|
|
278
|
+
e && e.attr("style", x);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
let N = M.node().getBBox();
|
|
282
|
+
return r.offsetX = 0, r.width = N.width, r.height = N.height, r.offsetY = E.height - r.padding / 2, r.intersect = function(e) {
|
|
283
|
+
return f(r, e);
|
|
284
|
+
}, {
|
|
285
|
+
cluster: C,
|
|
286
|
+
labelBBox: E
|
|
287
|
+
};
|
|
288
|
+
}, "createContainerGroup"), C = /* @__PURE__ */ r(async (t, n) => {
|
|
289
|
+
let { themeVariables: r } = e();
|
|
290
|
+
return S(t, n, {
|
|
291
|
+
cssClass: "flow-cluster",
|
|
292
|
+
rx: 10,
|
|
293
|
+
fill: "none",
|
|
294
|
+
stroke: r.flowContainerStroke || r.secondaryBorderColor,
|
|
295
|
+
strokeWidth: .75,
|
|
296
|
+
roughness: .7
|
|
297
|
+
});
|
|
298
|
+
}, "flowGroup"), w = /* @__PURE__ */ r((e, t) => {
|
|
299
|
+
let n = e.boundaryType || "rect", r = n === "package" ? 20 : e.padding, i = n === "package" ? t.height + 10 : 0, a = Math.max(e.width, t.width + r), o = n === "package" ? Math.max(e.height, i + e.padding * 2) : e.height, s = e.x - a / 2, c = e.y - o / 2;
|
|
300
|
+
return {
|
|
301
|
+
boundaryType: n,
|
|
302
|
+
width: a,
|
|
303
|
+
height: o,
|
|
304
|
+
x: s,
|
|
305
|
+
y: c,
|
|
306
|
+
bodyY: c + i,
|
|
307
|
+
bodyHeight: o - i,
|
|
308
|
+
tabHeight: i,
|
|
309
|
+
tabWidth: n === "package" ? Math.min(a, Math.max(80, t.width + 20)) : 0
|
|
310
|
+
};
|
|
311
|
+
}, "getUsecaseSystemBoundaryGeometry"), T = {
|
|
312
|
+
rect: _,
|
|
313
|
+
squareRect: _,
|
|
314
|
+
roundedWithTitle: y,
|
|
315
|
+
noteGroup: v,
|
|
316
|
+
divider: x,
|
|
317
|
+
kanbanSection: b,
|
|
318
|
+
flowGroup: C,
|
|
319
|
+
usecaseSystemBoundary: /* @__PURE__ */ r(async (t, r) => {
|
|
320
|
+
i.info("Creating usecase system boundary for ", r.id, r);
|
|
321
|
+
let p = e(), { theme: m, themeVariables: g, handDrawnSeed: _ } = p, { clusterBkg: v, clusterBorder: y, borderColorArray: b } = g, { labelStyles: x, nodeStyles: S } = s(r), { stylesMap: C } = c(r), T = r.boundaryType || "rect", E = t.insert("g").attr("class", `cluster usecase-system-boundary usecase-system-boundary-${T} ${r.cssClasses}`).attr("id", typeof r.domId == "string" ? r.domId : r.id).attr("data-boundary-type", T).attr("data-look", r.look);
|
|
322
|
+
u(E, r.colorIndex, m, b);
|
|
323
|
+
let D = n(p), O = E.insert("g").attr("class", "cluster-label system-boundary-title"), k = await l(O, r.label, {
|
|
324
|
+
style: x,
|
|
325
|
+
useHtmlLabels: D,
|
|
326
|
+
isNode: !0
|
|
327
|
+
}), A = k.getBBox();
|
|
328
|
+
if (D) {
|
|
329
|
+
let e = k.children[0], t = a(k);
|
|
330
|
+
A = e.getBoundingClientRect(), t.attr("width", A.width), t.attr("height", A.height);
|
|
331
|
+
}
|
|
332
|
+
let { width: j, height: M, x: N, y: P, bodyY: F, bodyHeight: I, tabHeight: L, tabWidth: R } = w(r, A);
|
|
333
|
+
r.diff = r.width <= A.width + r.padding ? (j - r.width) / 2 - r.padding : -r.padding;
|
|
334
|
+
let z = o(r, {
|
|
335
|
+
fill: C.get("fill") || v,
|
|
336
|
+
stroke: C.get("stroke") || y,
|
|
337
|
+
strokeWidth: C.get("stroke-width")?.replace("px", "") || 1,
|
|
338
|
+
seed: _
|
|
339
|
+
});
|
|
340
|
+
if (r.look === "handDrawn") {
|
|
341
|
+
let e = d.svg(E), t = e.rectangle(N, F, j, I, z);
|
|
342
|
+
if (E.insert(() => t, ":first-child").attr("class", "boundary-body label-container"), T === "package") {
|
|
343
|
+
let t = e.rectangle(N, P, R, L, z);
|
|
344
|
+
E.insert(() => t, ":first-child").attr("class", "boundary-tab system-boundary-package-tab label-container");
|
|
345
|
+
}
|
|
346
|
+
} else E.insert("rect", ":first-child").attr("class", "boundary-body label-container").attr("style", S).attr("x", N).attr("y", F).attr("width", j).attr("height", I), T === "package" && E.insert("rect", ":first-child").attr("class", "boundary-tab system-boundary-package-tab label-container").attr("style", S).attr("x", N).attr("y", P).attr("width", R).attr("height", L);
|
|
347
|
+
let { subGraphTitleTopMargin: B } = h(p);
|
|
348
|
+
return T === "package" ? O.attr("transform", `translate(${N + (R - A.width) / 2}, ${P + (L - A.height) / 2})`) : O.attr("transform", `translate(${r.x - A.width / 2}, ${P + B})`), x && (O.attr("style", x), O.select("span").attr("style", x)), r.offsetX = 0, r.width = j, r.height = M, r.offsetY = A.height - r.padding / 2, r.labelBBox = A, r.intersect = function(e) {
|
|
349
|
+
return f(r, e);
|
|
350
|
+
}, {
|
|
351
|
+
cluster: E,
|
|
352
|
+
labelBBox: A
|
|
353
|
+
};
|
|
354
|
+
}, "usecaseSystemBoundary"),
|
|
355
|
+
swimlane: g
|
|
356
|
+
}, E = /* @__PURE__ */ new Set(["noteGroup", "divider"]), D = /* @__PURE__ */ r((e) => !E.has(e ?? "rect"), "clusterPaintsTitle"), O = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ r(async (e, t) => {
|
|
357
|
+
let n = await T[t.shape || "rect"](e, t);
|
|
358
|
+
return O.set(t.id, n), n;
|
|
359
|
+
}, "insertCluster"), A = /* @__PURE__ */ r(() => {
|
|
360
|
+
O = /* @__PURE__ */ new Map();
|
|
361
|
+
}, "clear");
|
|
362
|
+
//#endregion
|
|
363
|
+
export { D as n, k as r, A as t };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { n as e } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
2
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-J5ZVWO5B.mjs
|
|
3
|
+
var t = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), n = 12, r = 64, i = /* @__PURE__ */ e((e) => Array.isArray(e) && e.length > 0, "hasPalette"), a = /* @__PURE__ */ e((e, n) => e != null && t.has(e) && i(n), "isColorTheme"), o = /^[\w-]+$/, s = /* @__PURE__ */ e((e) => {
|
|
4
|
+
let t = typeof e == "string" || typeof e == "number" ? String(e) : "";
|
|
5
|
+
return o.test(t) ? t : "classic";
|
|
6
|
+
}, "safeLook"), c = /* @__PURE__ */ e((e) => i(e) ? e.length : 0, "paletteSlotCount"), l = /* @__PURE__ */ e((e, t) => i(t) ? c(t) : typeof e == "number" && Number.isInteger(e) && e > 0 && e <= r ? e : n, "colorSlotCount"), u = /* @__PURE__ */ e((e, t, n, r) => {
|
|
7
|
+
if (t === void 0 || !a(n, r)) return;
|
|
8
|
+
let i = t % c(r);
|
|
9
|
+
e.attr("data-color-id", `color-${i}`);
|
|
10
|
+
}, "stampColorSlot");
|
|
11
|
+
//#endregion
|
|
12
|
+
export { c as a, a as i, l as n, s as o, i as r, u as s, t };
|
|
@@ -199,41 +199,41 @@ function v() {
|
|
|
199
199
|
e(v, "requireSchema");
|
|
200
200
|
var y, b;
|
|
201
201
|
function x() {
|
|
202
|
-
return b
|
|
202
|
+
return b || (b = 1, y = new (h())("tag:yaml.org,2002:str", {
|
|
203
203
|
kind: "scalar",
|
|
204
204
|
construct: /* @__PURE__ */ e(function(e) {
|
|
205
205
|
return e === null ? "" : e;
|
|
206
206
|
}, "construct")
|
|
207
|
-
}), y
|
|
207
|
+
})), y;
|
|
208
208
|
}
|
|
209
209
|
e(x, "requireStr");
|
|
210
210
|
var S, C;
|
|
211
211
|
function w() {
|
|
212
|
-
return C
|
|
212
|
+
return C || (C = 1, S = new (h())("tag:yaml.org,2002:seq", {
|
|
213
213
|
kind: "sequence",
|
|
214
214
|
construct: /* @__PURE__ */ e(function(e) {
|
|
215
215
|
return e === null ? [] : e;
|
|
216
216
|
}, "construct")
|
|
217
|
-
}), S
|
|
217
|
+
})), S;
|
|
218
218
|
}
|
|
219
219
|
e(w, "requireSeq");
|
|
220
220
|
var T, E;
|
|
221
221
|
function D() {
|
|
222
|
-
return E
|
|
222
|
+
return E || (E = 1, T = new (h())("tag:yaml.org,2002:map", {
|
|
223
223
|
kind: "mapping",
|
|
224
224
|
construct: /* @__PURE__ */ e(function(e) {
|
|
225
225
|
return e === null ? {} : e;
|
|
226
226
|
}, "construct")
|
|
227
|
-
}), T
|
|
227
|
+
})), T;
|
|
228
228
|
}
|
|
229
229
|
e(D, "requireMap");
|
|
230
230
|
var O, k;
|
|
231
231
|
function A() {
|
|
232
|
-
return k
|
|
232
|
+
return k || (k = 1, O = new (v())({ explicit: [
|
|
233
233
|
x(),
|
|
234
234
|
w(),
|
|
235
235
|
D()
|
|
236
|
-
] }), O
|
|
236
|
+
] })), O;
|
|
237
237
|
}
|
|
238
238
|
e(A, "requireFailsafe");
|
|
239
239
|
var j, M;
|
|
@@ -469,17 +469,17 @@ function H() {
|
|
|
469
469
|
e(H, "requireFloat");
|
|
470
470
|
var U, W;
|
|
471
471
|
function G() {
|
|
472
|
-
return W
|
|
472
|
+
return W || (W = 1, U = A().extend({ implicit: [
|
|
473
473
|
N(),
|
|
474
474
|
I(),
|
|
475
475
|
z(),
|
|
476
476
|
H()
|
|
477
|
-
] }), U
|
|
477
|
+
] })), U;
|
|
478
478
|
}
|
|
479
479
|
e(G, "requireJson");
|
|
480
480
|
var ee, te;
|
|
481
481
|
function K() {
|
|
482
|
-
return te
|
|
482
|
+
return te || (te = 1, ee = G()), ee;
|
|
483
483
|
}
|
|
484
484
|
e(K, "requireCore");
|
|
485
485
|
var q, ne;
|
|
@@ -670,7 +670,7 @@ function fe() {
|
|
|
670
670
|
e(fe, "requireSet");
|
|
671
671
|
var pe, me;
|
|
672
672
|
function he() {
|
|
673
|
-
return me
|
|
673
|
+
return me || (me = 1, pe = K().extend({
|
|
674
674
|
implicit: [J(), X()],
|
|
675
675
|
explicit: [
|
|
676
676
|
Q(),
|
|
@@ -678,7 +678,7 @@ function he() {
|
|
|
678
678
|
le(),
|
|
679
679
|
fe()
|
|
680
680
|
]
|
|
681
|
-
}), pe
|
|
681
|
+
})), pe;
|
|
682
682
|
}
|
|
683
683
|
e(he, "require_default");
|
|
684
684
|
var ge;
|
|
@@ -1020,7 +1020,7 @@ function _e() {
|
|
|
1020
1020
|
if (e.firstTabInLine !== -1) return !1;
|
|
1021
1021
|
e.anchor !== null && M(e, e.anchor, i);
|
|
1022
1022
|
let o = e.input.charCodeAt(e.position);
|
|
1023
|
-
for (; o !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, A(e, "tab characters must not be used in indentation")),
|
|
1023
|
+
for (; o !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, A(e, "tab characters must not be used in indentation")), o === 45 && v(e.input.charCodeAt(e.position + 1)));) {
|
|
1024
1024
|
if (a = !0, e.position++, U(e, !0, -1) && e.lineIndent <= t) {
|
|
1025
1025
|
i.push(null), o = e.input.charCodeAt(e.position);
|
|
1026
1026
|
continue;
|
|
@@ -1166,11 +1166,7 @@ function _e() {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
r !== 0 && H(e), s.call(R, i) ? R[i](e, i, a) : j(e, "unknown document directive \"" + i + "\"");
|
|
1168
1168
|
}
|
|
1169
|
-
|
|
1170
|
-
e.input.charCodeAt(e.position) === 46 && (e.position += 3, U(e, !0, -1));
|
|
1171
|
-
return;
|
|
1172
|
-
}
|
|
1173
|
-
e.position < e.length - 1 && A(e, "end of the stream or a document separator is expected");
|
|
1169
|
+
U(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, U(e, !0, -1)) : n && A(e, "directives end mark is expected"), Q(e, e.lineIndent - 1, 4, !1, !0), U(e, !0, -1), e.checkLineBreaks && u.test(e.input.slice(t, e.position)) && j(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && W(e) ? e.input.charCodeAt(e.position) === 46 && (e.position += 3, U(e, !0, -1)) : e.position < e.length - 1 && A(e, "end of the stream or a document separator is expected");
|
|
1174
1170
|
}
|
|
1175
1171
|
e($, "readDocument");
|
|
1176
1172
|
function ae(e, t) {
|