@sme.up/ketchup2 2.10.0 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{abnfDiagram-VCTEODGH-jIDWUpNo.js → abnfDiagram-WEYOIA3C-BGzUWx_N.js} +18 -18
- package/dist/{arc-DXfwi1YX.js → arc-Cde31fHX.js} +1 -1
- package/dist/architecture-WOLXFQ4H-CjGAyYHf.js +2 -0
- package/dist/{architectureDiagram-5GKGNRK7-C1xA1c3c.js → architectureDiagram-ZHVYKT53-DH-D4G0y.js} +138 -153
- package/dist/assets/svg/magnify-minus.svg +1 -0
- package/dist/assets/svg/magnify-plus.svg +1 -0
- package/dist/basic-components/button-group/button-group.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-types.d.ts +8 -0
- package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
- package/dist/basic-components/cell/cell.d.ts.map +1 -1
- package/dist/basic-components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/basic-components/chips/chips-types.d.ts +13 -0
- package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
- package/dist/basic-components/chips/chips.d.ts.map +1 -1
- package/dist/basic-components/date-picker/date-picker-types.d.ts +4 -0
- package/dist/basic-components/date-picker/date-picker-types.d.ts.map +1 -1
- package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -1
- package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
- package/dist/basic-components/radio/radio.d.ts.map +1 -1
- package/dist/basic-components/slider/slider.d.ts.map +1 -1
- package/dist/basic-components/text/text.d.ts.map +1 -1
- package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
- package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield-types.d.ts +7 -2
- package/dist/basic-components/textfield/textfield-types.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
- package/dist/basic-components/typography/typography.d.ts.map +1 -1
- package/dist/{blockDiagram-I7D4REHJ-C0hlmHW8.js → blockDiagram-RJAE7QA3-hRpbCaPL.js} +329 -316
- package/dist/{c4Diagram-7LVT6UL2-DwTMAxzR.js → c4Diagram-XDPPPE54-Bkqvkv8O.js} +350 -340
- package/dist/channel-CcHUzwZl.js +5 -0
- package/dist/{chunk-SVP7TREG-f53BROgh.js → chunk-2E7WHVMD-DSYBrngB.js} +77 -77
- package/dist/chunk-4EMNKR2T-CndbTVTA.js +236 -0
- package/dist/{chunk-F27PBJKO-DPhiW07t.js → chunk-55XCU76K-B1HtPImz.js} +16 -16
- package/dist/{chunk-75Z2AOVW-CLjRECiG.js → chunk-7S6XSTFO-CN6S2H1-.js} +304 -305
- package/dist/{chunk-GMAD6QVW-Cnp61Cie.js → chunk-AQDTSKZB-DuUha9al.js} +386 -433
- package/dist/{chunk-DU6HZSFF-D9v_2L4Z.js → chunk-DSNLSHJZ-B1A8wsiA.js} +1078 -984
- package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
- package/dist/chunk-EJLWFMJV-Cu6XnLfk.js +75 -0
- package/dist/chunk-HAGFOTED-IzyIoLzD.js +4487 -0
- package/dist/chunk-HNE4Q36P-7zVKLE_b.js +363 -0
- package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
- package/dist/{chunk-LNGE3PJU-CtYcu9x8.js → chunk-LNGE3PJU-ByFTjlja.js} +15 -19
- package/dist/chunk-NGNAAXSQ-Tr--SG_c.js +19832 -0
- package/dist/{chunk-SHT3W25Y-aBBFlrSX.js → chunk-NQOKRVIF-CEJ-prlJ.js} +483 -414
- package/dist/chunk-OYAV6JZA-Cypx4hYu.js +14 -0
- package/dist/{chunk-P2QGCYS3-667SFjNY.js → chunk-UHW7PFBP-CoHGQVjo.js} +6 -6
- package/dist/chunk-VQ5W62QI-BSDHmyws.js +26 -0
- package/dist/{chunk-OSK3NFVY-qg1q5TTI.js → chunk-WQQL4CDK-BJE6isq-.js} +312 -288
- package/dist/chunk-XXDRQBXY-CU-dbs05.js +9 -0
- package/dist/{chunk-PWAF6VOD-z0rQy52m.js → chunk-YZO67HFG-Bcmpw0dX.js} +28 -28
- package/dist/{chunk-GVQU2GXP-BJ9OHC7T.js → chunk-ZAUX2LTX-Bu7BRVL6.js} +14 -14
- package/dist/chunk-ZCHMQSOR-BA1QQ4D6.js +354 -0
- package/dist/{chunk-TICWLB2K-DzrOz9kL.js → classDiagram-v2-4MYWR3UA-Bnh650R8.js} +333 -293
- package/dist/components/app-bar/app-bar-utils.d.ts.map +1 -1
- package/dist/components/calendar/calendar-available-height.d.ts +14 -0
- package/dist/components/calendar/calendar-available-height.d.ts.map +1 -0
- package/dist/components/calendar/calendar-types.d.ts +20 -8
- package/dist/components/calendar/calendar-types.d.ts.map +1 -1
- package/dist/components/calendar/calendar-utils.d.ts +94 -37
- package/dist/components/calendar/calendar-utils.d.ts.map +1 -1
- package/dist/components/calendar/calendar.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-event-text.d.ts +14 -3
- package/dist/components/calendar/views/calendar-event-text.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-month-grid.d.ts +4 -4
- package/dist/components/calendar/views/calendar-month-grid.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-more-events.d.ts +1 -1
- package/dist/components/calendar/views/calendar-more-events.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-time-grid.d.ts +4 -0
- package/dist/components/calendar/views/calendar-time-grid.d.ts.map +1 -1
- package/dist/components/data-table/assets/data-table-row-actions.d.ts +1 -1
- package/dist/components/data-table/cell-actions/cell-actions-types.d.ts +12 -0
- package/dist/components/data-table/cell-actions/cell-actions-types.d.ts.map +1 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts +29 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts.map +1 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts +2 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts.map +1 -0
- package/dist/components/data-table/cell-actions/cell-actions.d.ts +6 -0
- package/dist/components/data-table/cell-actions/cell-actions.d.ts.map +1 -0
- package/dist/components/data-table/column-menu/column-menu-types.d.ts +32 -0
- package/dist/components/data-table/column-menu/column-menu-types.d.ts.map +1 -0
- package/dist/components/data-table/column-menu/column-menu.d.ts +11 -0
- package/dist/components/data-table/column-menu/column-menu.d.ts.map +1 -0
- package/dist/components/data-table/columns/columns-utils.d.ts +11 -2
- package/dist/components/data-table/columns/columns-utils.d.ts.map +1 -1
- package/dist/components/data-table/columns/useColumnWidths.d.ts +24 -1
- package/dist/components/data-table/columns/useColumnWidths.d.ts.map +1 -1
- package/dist/components/data-table/data-table-types.d.ts +191 -38
- package/dist/components/data-table/data-table-types.d.ts.map +1 -1
- package/dist/components/data-table/data-table.d.ts.map +1 -1
- package/dist/components/data-table/filtering/data-table-filter-utils.d.ts +19 -2
- package/dist/components/data-table/filtering/data-table-filter-utils.d.ts.map +1 -1
- package/dist/components/data-table/fixed/fixed-utils.d.ts +6 -0
- package/dist/components/data-table/fixed/fixed-utils.d.ts.map +1 -1
- package/dist/components/data-table/footer/footer-types.d.ts +22 -8
- package/dist/components/data-table/footer/footer-types.d.ts.map +1 -1
- package/dist/components/data-table/footer/footer.d.ts.map +1 -1
- package/dist/components/data-table/group-row/group-row-types.d.ts +29 -1
- package/dist/components/data-table/group-row/group-row-types.d.ts.map +1 -1
- package/dist/components/data-table/group-row/group-row.d.ts.map +1 -1
- package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts +11 -5
- package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts.map +1 -1
- package/dist/components/data-table/grouping/datatable-groups-utils.d.ts +11 -1
- package/dist/components/data-table/grouping/datatable-groups-utils.d.ts.map +1 -1
- package/dist/components/data-table/grouping/group-expansion.d.ts +16 -0
- package/dist/components/data-table/grouping/group-expansion.d.ts.map +1 -0
- package/dist/components/data-table/grouping/grouping-types.d.ts +9 -0
- package/dist/components/data-table/grouping/grouping-types.d.ts.map +1 -1
- package/dist/components/data-table/header/Header.d.ts.map +1 -1
- package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts +44 -0
- package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts.map +1 -0
- package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts +8 -0
- package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts.map +1 -0
- package/dist/components/data-table/header/header-types.d.ts +32 -21
- package/dist/components/data-table/header/header-types.d.ts.map +1 -1
- package/dist/components/data-table/load-more-row/load-more-row.d.ts +8 -0
- package/dist/components/data-table/load-more-row/load-more-row.d.ts.map +1 -0
- package/dist/components/data-table/load-more-row/load-more-types.d.ts +11 -0
- package/dist/components/data-table/load-more-row/load-more-types.d.ts.map +1 -0
- package/dist/components/data-table/sorting/buildDftSort.d.ts +16 -0
- package/dist/components/data-table/sorting/buildDftSort.d.ts.map +1 -0
- package/dist/components/data-table/sorting/buildDftSort.test.d.ts +2 -0
- package/dist/components/data-table/sorting/buildDftSort.test.d.ts.map +1 -0
- package/dist/components/data-table/sorting/parseDftSort.d.ts +4 -4
- package/dist/components/data-table/sorting/parseDftSort.d.ts.map +1 -1
- package/dist/components/data-table/sorting/sortTable-utils.d.ts +10 -0
- package/dist/components/data-table/sorting/sortTable-utils.d.ts.map +1 -1
- package/dist/components/data-table/sorting/useSortableTable.d.ts +10 -4
- package/dist/components/data-table/sorting/useSortableTable.d.ts.map +1 -1
- package/dist/components/data-table/state/datatable-state.d.ts +14 -7
- package/dist/components/data-table/state/datatable-state.d.ts.map +1 -1
- package/dist/components/data-table/stories/data-table-story-meta.d.ts +7 -0
- package/dist/components/data-table/stories/data-table-story-meta.d.ts.map +1 -0
- package/dist/components/data-table/useDataTableImperativeHandle.d.ts +23 -0
- package/dist/components/data-table/useDataTableImperativeHandle.d.ts.map +1 -0
- package/dist/components/data-table/useDataTableShortcuts.d.ts +19 -0
- package/dist/components/data-table/useDataTableShortcuts.d.ts.map +1 -0
- package/dist/components/echarts-graph/builders/echarts-graph-builders.d.ts.map +1 -1
- package/dist/components/echarts-graph/data/echarts-graph-data.d.ts +1 -1
- package/dist/components/echarts-graph/data/echarts-graph-data.d.ts.map +1 -1
- package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts +12 -0
- package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts +2 -0
- package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-canvas.d.ts +34 -0
- package/dist/components/echarts-graph/echarts-graph-canvas.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-from-table.d.ts +13 -0
- package/dist/components/echarts-graph/echarts-graph-from-table.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts +12 -0
- package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-hooks.d.ts +16 -0
- package/dist/components/echarts-graph/echarts-graph-hooks.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-types.d.ts +24 -5
- package/dist/components/echarts-graph/echarts-graph-types.d.ts.map +1 -1
- package/dist/components/echarts-graph/echarts-graph.d.ts +10 -7
- package/dist/components/echarts-graph/echarts-graph.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel-types.d.ts +7 -1
- package/dist/components/input-panel/input-panel-types.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel.d.ts.map +1 -1
- package/dist/components/json-form/document-adapter.test.d.ts +2 -0
- package/dist/components/json-form/document-adapter.test.d.ts.map +1 -0
- package/dist/components/json-form/expression-evaluator.test.d.ts +2 -0
- package/dist/components/json-form/expression-evaluator.test.d.ts.map +1 -0
- package/dist/components/json-form/model/document-adapter.d.ts +54 -0
- package/dist/components/json-form/model/document-adapter.d.ts.map +1 -0
- package/dist/components/json-form/model/json-form-ajv.d.ts +12 -0
- package/dist/components/json-form/model/json-form-ajv.d.ts.map +1 -0
- package/dist/components/json-form/model/json-pointer.d.ts +20 -0
- package/dist/components/json-form/model/json-pointer.d.ts.map +1 -0
- package/dist/components/json-form/model/native-json-types.d.ts +5 -0
- package/dist/components/json-form/model/native-json-types.d.ts.map +1 -0
- package/dist/components/json-form/model/shape-event-support.d.ts +10 -0
- package/dist/components/json-form/model/shape-event-support.d.ts.map +1 -0
- package/dist/components/json-form/rule-controller.test.d.ts +2 -0
- package/dist/components/json-form/rule-controller.test.d.ts.map +1 -0
- package/dist/components/json-form/rules/expression-evaluator.d.ts +58 -0
- package/dist/components/json-form/rules/expression-evaluator.d.ts.map +1 -0
- package/dist/components/json-form/rules/rule-controller.d.ts +50 -0
- package/dist/components/json-form/rules/rule-controller.d.ts.map +1 -0
- package/dist/components/pdf/assets/pdf-fixtures.d.ts +6 -0
- package/dist/components/pdf/assets/pdf-fixtures.d.ts.map +1 -0
- package/dist/components/pdf/pdf-types.d.ts +17 -2
- package/dist/components/pdf/pdf-types.d.ts.map +1 -1
- package/dist/components/pdf/pdf-utils.d.ts +30 -1
- package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
- package/dist/components/pdf/pdf.d.ts.map +1 -1
- package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/toolbar/toolbar-nodes/toolbar-plain-node.d.ts.map +1 -1
- package/dist/context/test-utils.d.ts.map +1 -1
- package/dist/{cose-bilkent-JH36ORCC-Qs_Z6zBZ.js → cose-bilkent-JH36ORCC-DYLyHByQ.js} +77 -89
- package/dist/cynefin-EF2NZ3EQ-DZ1CSrfW.js +2 -0
- package/dist/{cynefinDiagram-5FMLGOSQ-3SByb22K.js → cynefinDiagram-WF24UDRP-bU_4r-FZ.js} +64 -64
- package/dist/{cytoscape.esm-C5TvPYYm.js → cytoscape.esm-BvXLQ91B.js} +412 -513
- package/dist/dagre-NK4GIZVX-B72HOuil.js +2352 -0
- package/dist/{diagram-VX7I27RA-DX39g4aO.js → diagram-CBK3MWTC-B-q-tUxd.js} +80 -80
- package/dist/diagram-I5XIIV2D-CMzniFEf.js +134 -0
- package/dist/{diagram-S7CK7UJ4-IhyDbKSO.js → diagram-ODIL2UCW-CrlDp0MP.js} +46 -54
- package/dist/{diagram-VSXAHHWV-CdX3XaQX.js → diagram-PFBEJUXE-hnrdzEe4.js} +136 -121
- package/dist/{diagram-UQ7AKVKN-CPDZJAkA.js → diagram-RJA3I4VV-DZW7CxE5.js} +43 -43
- package/dist/diagram-TYUNFSNR-cRJNHRy2.js +5069 -0
- package/dist/{dist-CsrMlyO_.js → dist-Bj7IMbKd.js} +1 -1
- package/dist/{ebnfDiagram-PWID7BFC-D0cmYo-k.js → ebnfDiagram-V4P3TTPT-Bm7KtfLA.js} +17 -17
- package/dist/echarts-C7ehbnCk.js +15485 -0
- package/dist/elk-QONTBCTQ-gWOTRRj4.js +47505 -0
- package/dist/{erDiagram-RLTQ6QDP-C-nlwQZa.js → erDiagram-KYQIGQAA-WZEbQwWz.js} +150 -146
- package/dist/eventmodeling-K75KTNOO-CEn7YBG4.js +2 -0
- package/dist/flowDiagram-IUGLLWBU-CRV2Bl2C.js +16 -0
- package/dist/functional-components/filter-group/filter-builder-operators.d.ts +15 -0
- package/dist/functional-components/filter-group/filter-builder-operators.d.ts.map +1 -0
- package/dist/functional-components/filter-group/filter-builder.d.ts +15 -1
- package/dist/functional-components/filter-group/filter-builder.d.ts.map +1 -1
- package/dist/functional-components/group-bar/group-bar-types.d.ts +16 -0
- package/dist/functional-components/group-bar/group-bar-types.d.ts.map +1 -1
- package/dist/functional-components/group-bar/group-bar.d.ts.map +1 -1
- package/dist/functional-components/helper-text/helper-text-types.d.ts +1 -1
- package/dist/functional-components/row/row-types.d.ts +27 -1
- package/dist/functional-components/row/row-types.d.ts.map +1 -1
- package/dist/functional-components/row/row.d.ts.map +1 -1
- package/dist/functional-components/tree-picker/tree-picker-types.d.ts +5 -0
- package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -1
- package/dist/{ganttDiagram-EL5Y4UJY-qQkBgEV6.js → ganttDiagram-R7GPNTJY-DFRGfQMr.js} +314 -310
- package/dist/gitGraph-VSP46ZUC-BSTikFaE.js +2 -0
- package/dist/{gitGraphDiagram-WWUBYQGX-D8cZBZXB.js → gitGraphDiagram-PDYL7XHY-nvoob8Ca.js} +250 -250
- package/dist/hooks/useVirtualListScroll.d.ts +7 -2
- package/dist/hooks/useVirtualListScroll.d.ts.map +1 -1
- package/dist/index.d.ts +2 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/info-OHQRW6UA-BGb3N889.js +2 -0
- package/dist/infoDiagram-MVDRKAX5-BqO_morw.js +20 -0
- package/dist/installCanvasRenderer-CgRxxRBg.js +29799 -0
- package/dist/{ishikawaDiagram-5VMMS53U-B0RvuZyG.js → ishikawaDiagram-HPEHV2GE-BE3amLYE.js} +27 -29
- package/dist/{journeyDiagram-3NMN7TZE-Dh8_Vc4e.js → journeyDiagram-BOSHW7O7-DE8ndsCi.js} +111 -111
- package/dist/{kanban-definition-UXKFOSKX-C99A4PsR.js → kanban-definition-FNSA4HC5-D72kc4EN.js} +135 -135
- package/dist/{katex-CT2p8LXT.js → katex-CDhNh-ZQ.js} +919 -1040
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +25049 -70453
- package/dist/{line-CkNoVxEr.js → line-ltPB6XbC.js} +1 -1
- package/dist/{linear-CXc5xaa6.js → linear-i6_MPSGL.js} +2 -3
- package/dist/locale/en/translation.json.d.ts +36 -5
- package/dist/locale/it/translation.json.d.ts +36 -5
- package/dist/{mermaid-parser.core-BwVmI_Rq.js → mermaid-parser.core-zUi7tSl-.js} +166 -172
- package/dist/{mindmap-definition-YA3MSWOX-D0ULN6M8.js → mindmap-definition-6OY57UG3-hH6Avsg4.js} +148 -145
- package/dist/packet-JDAUHWVQ-CKZoNg5j.js +2 -0
- package/dist/{pegDiagram-XKGWAZYB-BThnA3Uk.js → pegDiagram-ECIUJNBX-D3xLhrRh.js} +19 -19
- package/dist/pie-XZMESJXO-BnbWY8rE.js +2 -0
- package/dist/{pieDiagram-E7YTZNPT-CJ4LPitY.js → pieDiagram-GNMPY74T-Bd_UXypi.js} +39 -39
- package/dist/{quadrantDiagram-AXDQQJYC-nEwzg95_.js → quadrantDiagram-D57K4MC3-BAwweqT8.js} +149 -149
- package/dist/radar-ABXABTNO-D5CEmFBx.js +2 -0
- package/dist/railroad-I3PHUGI6-CxMiYaMH.js +2 -0
- package/dist/railroad-abnf-LNEFI6M7-C69KxGa-.js +2 -0
- package/dist/railroad-ebnf-DWYD2UWJ-D5Xd566k.js +2 -0
- package/dist/railroad-peg-JR7BVNR7-CD0OiqcS.js +2 -0
- package/dist/{railroadDiagram-O6MQD6OU-D_9gvx5m.js → railroadDiagram-Y72NRBL7-CPUbPgYX.js} +14 -14
- package/dist/{requirementDiagram-BXWQKSXE-BU3gTMjQ.js → requirementDiagram-EQYSW5RA-BXstYS3w.js} +97 -93
- package/dist/rolldown-runtime-5HNE8Q1r.js +23 -0
- package/dist/{sankeyDiagram-P5KCCOFB-BmNN-6y3.js → sankeyDiagram-SY24JHO5-Du-toJmg.js} +64 -64
- package/dist/{sequenceDiagram-WJ2MYXX4-QYJxbuz_.js → sequenceDiagram-BLEHNHQU-BNNnerZ-.js} +953 -868
- package/dist/{sizeCapture-INFHLROL-CHXIsPO_.js → sizeCapture-INFHLROL-DujrpAYz.js} +1 -1
- package/dist/{src-DQoflmwT.js → src-CY9Rz0Sf.js} +545 -566
- package/dist/{chunk-IMKFNOWR-yyUcHorm.js → stateDiagram-v2-A6IESKWZ-CfjPf8h7.js} +364 -267
- package/dist/{swimlanes-42K2YHIH-DkMzBkx7.js → swimlanes-B3ENRKFQ-Dumwq89C.js} +1356 -1590
- package/dist/swimlanesDiagram-AYQRV4AK-Boz_Azx7.js +28 -0
- package/dist/{timeline-definition-24CTP7MA-AvgVPsM_.js → timeline-definition-JXYKGLGB-ClzmRQCu.js} +354 -350
- package/dist/treeView-D4JQ5SDB-C3ue8DID.js +2 -0
- package/dist/treemap-SAJKECNS-BWis-Wpv.js +2 -0
- package/dist/types/data-structures.d.ts +11 -0
- package/dist/types/data-structures.d.ts.map +1 -1
- package/dist/types/global.d.ts +7 -2
- package/dist/types/global.d.ts.map +1 -1
- package/dist/types/translation.d.ts +35 -5
- package/dist/types/translation.d.ts.map +1 -1
- package/dist/usecaseDiagram-WPOLBNNX-ruZhXlYQ.js +7175 -0
- package/dist/utils/object-styles.d.ts +12 -0
- package/dist/utils/object-styles.d.ts.map +1 -0
- package/dist/utils/object-styles.test.d.ts +2 -0
- package/dist/utils/object-styles.test.d.ts.map +1 -0
- package/dist/utils/totals/totals-registry.d.ts +17 -0
- package/dist/utils/totals/totals-registry.d.ts.map +1 -0
- package/dist/utils/totals/totals-utils.d.ts +70 -7
- package/dist/utils/totals/totals-utils.d.ts.map +1 -1
- package/dist/utils/wrapper-types/list.d.ts.map +1 -1
- package/dist/{vennDiagram-4TSXK5OY-DBz_EnfL.js → vennDiagram-Q3Y3IDCW-L9GmqfCz.js} +118 -118
- package/dist/wardley-7MLQ67FV-DC0ayJCO.js +2 -0
- package/dist/{wardleyDiagram-VM6X3IG4-D4U_E7xl.js → wardleyDiagram-IVAIDKWA-Dz5K-UqN.js} +126 -126
- package/dist/{xychartDiagram-S5SC5T6Z-aHqeFP13.js → xychartDiagram-4URNHDU4-C2xwRx5F.js} +141 -137
- package/package.json +5 -3
- package/dist/architecture-7GRP2DOG-BsytjMto.js +0 -3
- package/dist/channel-BD0NTdCR.js +0 -5
- package/dist/chunk-2E4U76K2-CMCSmJ5_.js +0 -348
- package/dist/chunk-4HAMMTFA-DBtV-sHy.js +0 -4188
- package/dist/chunk-CLGD4ZFX-DdntjE3C.js +0 -14
- package/dist/chunk-FOHPRMQF-LRqOLsSw.js +0 -21456
- package/dist/chunk-L3NEJ4N5-Dd1FmxFn.js +0 -245
- package/dist/chunk-POPQ4Y6H-YFNrkrJW.js +0 -26
- package/dist/chunk-TLUHSLCS-Drk6ApJR.js +0 -59
- package/dist/chunk-XXDRQBXY-C1ZEFXGu.js +0 -9
- package/dist/classDiagram-ZZMXUADV-CaI6YU6r.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-ClCVTcLo.js +0 -30
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree-types.d.ts +0 -14
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree-types.d.ts.map +0 -1
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree.d.ts +0 -11
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree.d.ts.map +0 -1
- package/dist/cynefin-OW5HDTMX-BJXlKro0.js +0 -3
- package/dist/dagre-D5csT9sx.js +0 -1934
- package/dist/dagre-GXQ25YYZ--Qf92cTs.js +0 -425
- package/dist/diagram-Z3DM3KII-DECfAI1l.js +0 -134
- package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +0 -3
- package/dist/flowDiagram-HODETNUW-LRjksS-j.js +0 -17
- package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +0 -3
- package/dist/info-A6RAGUB7-CmZJKEaW.js +0 -3
- package/dist/infoDiagram-27XIBGKW-DXO97_PJ.js +0 -20
- package/dist/packet-AYTQ26CC-B3tgRshR.js +0 -3
- package/dist/pie-WAS4IAKB-BRiI8kbI.js +0 -3
- package/dist/radar-RG4KPBEZ-ASOMQXFw.js +0 -3
- package/dist/railroad-74A4TZTK-oS840SLr.js +0 -3
- package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +0 -3
- package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +0 -3
- package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +0 -3
- package/dist/stateDiagram-D77RDMKH-0Jasv70t.js +0 -220
- package/dist/stateDiagram-v2-MP3YSRHH-JMSv8IGL.js +0 -30
- package/dist/swimlanesDiagram-VR7AAH4N-DtnUyaK5.js +0 -31
- package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +0 -3
- package/dist/treemap-WGGIJYW6-Cjjk75wA.js +0 -3
- package/dist/wardley-WFR3VGLG-BamDiE0x.js +0 -3
package/dist/{kanban-definition-UXKFOSKX-C99A4PsR.js → kanban-definition-FNSA4HC5-D72kc4EN.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import { t as l } from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
1
|
+
import { Y as e, b as t, et as n, f as r, rt as i, tt as a, z as o } from "./chunk-DSNLSHJZ-B1A8wsiA.js";
|
|
2
|
+
import { n as s } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
3
|
+
import { m as c } from "./src-CY9Rz0Sf.js";
|
|
4
|
+
import "./chunk-7S6XSTFO-CN6S2H1-.js";
|
|
5
|
+
import { t as l } from "./chunk-OYAV6JZA-Cypx4hYu.js";
|
|
6
|
+
import { n as u, t as d } from "./chunk-LNGE3PJU-ByFTjlja.js";
|
|
7
|
+
import "./chunk-UHW7PFBP-CoHGQVjo.js";
|
|
8
|
+
import "./chunk-YZO67HFG-Bcmpw0dX.js";
|
|
9
|
+
import "./chunk-AQDTSKZB-DuUha9al.js";
|
|
10
|
+
import "./chunk-HAGFOTED-IzyIoLzD.js";
|
|
11
|
+
import { i as f, r as p } from "./chunk-ZAUX2LTX-Bu7BRVL6.js";
|
|
12
|
+
import { r as m } from "./chunk-HNE4Q36P-7zVKLE_b.js";
|
|
13
13
|
import { t as h } from "./chunk-5VM5RSS4-Cr17nBXp.js";
|
|
14
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-
|
|
14
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-FNSA4HC5.mjs
|
|
15
15
|
var g = (function() {
|
|
16
|
-
var e = /* @__PURE__ */
|
|
16
|
+
var e = /* @__PURE__ */ s(function(e, t, n, r) {
|
|
17
17
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
18
18
|
return n;
|
|
19
|
-
}, "o"), t = [1, 4], n = [1, 13], r = [1, 12], i = [1, 15], a = [1, 16], o = [1, 20],
|
|
19
|
+
}, "o"), t = [1, 4], n = [1, 13], r = [1, 12], i = [1, 15], a = [1, 16], o = [1, 20], c = [1, 19], l = [
|
|
20
20
|
6,
|
|
21
21
|
7,
|
|
22
22
|
8
|
|
@@ -48,7 +48,7 @@ var g = (function() {
|
|
|
48
48
|
20,
|
|
49
49
|
23
|
|
50
50
|
], b = [1, 38], x = {
|
|
51
|
-
trace: /* @__PURE__ */
|
|
51
|
+
trace: /* @__PURE__ */ s(function() {}, "trace"),
|
|
52
52
|
yy: {},
|
|
53
53
|
symbols_: {
|
|
54
54
|
error: 2,
|
|
@@ -126,7 +126,7 @@ var g = (function() {
|
|
|
126
126
|
[15, 2],
|
|
127
127
|
[15, 1]
|
|
128
128
|
],
|
|
129
|
-
performAction: /* @__PURE__ */
|
|
129
|
+
performAction: /* @__PURE__ */ s(function(e, t, n, r, i, a, o) {
|
|
130
130
|
var s = a.length - 1;
|
|
131
131
|
switch (i) {
|
|
132
132
|
case 6:
|
|
@@ -223,7 +223,7 @@ var g = (function() {
|
|
|
223
223
|
18: 17,
|
|
224
224
|
19: 18,
|
|
225
225
|
20: o,
|
|
226
|
-
23:
|
|
226
|
+
23: c
|
|
227
227
|
},
|
|
228
228
|
e(l, [2, 3]),
|
|
229
229
|
{ 1: [2, 2] },
|
|
@@ -240,7 +240,7 @@ var g = (function() {
|
|
|
240
240
|
18: 17,
|
|
241
241
|
19: 18,
|
|
242
242
|
20: o,
|
|
243
|
-
23:
|
|
243
|
+
23: c
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
246
|
6: n,
|
|
@@ -253,7 +253,7 @@ var g = (function() {
|
|
|
253
253
|
18: 17,
|
|
254
254
|
19: 18,
|
|
255
255
|
20: o,
|
|
256
|
-
23:
|
|
256
|
+
23: c
|
|
257
257
|
},
|
|
258
258
|
{
|
|
259
259
|
6: u,
|
|
@@ -268,7 +268,7 @@ var g = (function() {
|
|
|
268
268
|
16: [1, 28],
|
|
269
269
|
17: [1, 29],
|
|
270
270
|
20: o,
|
|
271
|
-
23:
|
|
271
|
+
23: c
|
|
272
272
|
}),
|
|
273
273
|
e(p, [2, 19]),
|
|
274
274
|
e(p, [2, 21], {
|
|
@@ -298,7 +298,7 @@ var g = (function() {
|
|
|
298
298
|
18: 17,
|
|
299
299
|
19: 18,
|
|
300
300
|
20: o,
|
|
301
|
-
23:
|
|
301
|
+
23: c
|
|
302
302
|
},
|
|
303
303
|
e(g, [2, 14], {
|
|
304
304
|
7: _,
|
|
@@ -333,15 +333,15 @@ var g = (function() {
|
|
|
333
333
|
2: [2, 1],
|
|
334
334
|
6: [2, 2]
|
|
335
335
|
},
|
|
336
|
-
parseError: /* @__PURE__ */
|
|
336
|
+
parseError: /* @__PURE__ */ s(function(e, t) {
|
|
337
337
|
if (t.recoverable) this.trace(e);
|
|
338
338
|
else {
|
|
339
339
|
var n = Error(e);
|
|
340
340
|
throw n.hash = t, n;
|
|
341
341
|
}
|
|
342
342
|
}, "parseError"),
|
|
343
|
-
parse: /* @__PURE__ */
|
|
344
|
-
var t = this, n = [0], r = [], i = [null], a = [], o = this.table,
|
|
343
|
+
parse: /* @__PURE__ */ s(function(e) {
|
|
344
|
+
var t = this, n = [0], r = [], i = [null], a = [], o = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
|
|
345
345
|
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
346
346
|
h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
347
347
|
var v = h.yylloc;
|
|
@@ -351,12 +351,12 @@ var g = (function() {
|
|
|
351
351
|
function b(e) {
|
|
352
352
|
n.length -= 2 * e, i.length -= e, a.length -= e;
|
|
353
353
|
}
|
|
354
|
-
|
|
354
|
+
s(b, "popStack");
|
|
355
355
|
function x() {
|
|
356
356
|
var e = r.pop() || h.lex() || p;
|
|
357
357
|
return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
|
|
358
358
|
}
|
|
359
|
-
|
|
359
|
+
s(x, "lex");
|
|
360
360
|
for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
|
|
361
361
|
if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = o[w] && o[w][S]), T === void 0 || !T.length || !T[0]) {
|
|
362
362
|
var M = "";
|
|
@@ -372,7 +372,7 @@ var g = (function() {
|
|
|
372
372
|
if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
|
|
373
373
|
switch (T[0]) {
|
|
374
374
|
case 1:
|
|
375
|
-
n.push(S), i.push(h.yytext), a.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng,
|
|
375
|
+
n.push(S), i.push(h.yytext), a.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
|
|
376
376
|
break;
|
|
377
377
|
case 2:
|
|
378
378
|
if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
|
|
@@ -381,7 +381,7 @@ var g = (function() {
|
|
|
381
381
|
first_column: a[a.length - (k || 1)].first_column,
|
|
382
382
|
last_column: a[a.length - 1].last_column
|
|
383
383
|
}, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
|
|
384
|
-
|
|
384
|
+
c,
|
|
385
385
|
u,
|
|
386
386
|
l,
|
|
387
387
|
g.yy,
|
|
@@ -400,11 +400,11 @@ var g = (function() {
|
|
|
400
400
|
x.lexer = /* @__PURE__ */ (function() {
|
|
401
401
|
return {
|
|
402
402
|
EOF: 1,
|
|
403
|
-
parseError: /* @__PURE__ */
|
|
403
|
+
parseError: /* @__PURE__ */ s(function(e, t) {
|
|
404
404
|
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
405
405
|
else throw Error(e);
|
|
406
406
|
}, "parseError"),
|
|
407
|
-
setInput: /* @__PURE__ */
|
|
407
|
+
setInput: /* @__PURE__ */ s(function(e, t) {
|
|
408
408
|
return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
409
409
|
first_line: 1,
|
|
410
410
|
first_column: 0,
|
|
@@ -412,11 +412,11 @@ var g = (function() {
|
|
|
412
412
|
last_column: 0
|
|
413
413
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
414
414
|
}, "setInput"),
|
|
415
|
-
input: /* @__PURE__ */
|
|
415
|
+
input: /* @__PURE__ */ s(function() {
|
|
416
416
|
var e = this._input[0];
|
|
417
417
|
return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
|
|
418
418
|
}, "input"),
|
|
419
|
-
unput: /* @__PURE__ */
|
|
419
|
+
unput: /* @__PURE__ */ s(function(e) {
|
|
420
420
|
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
421
421
|
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
422
422
|
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
@@ -429,10 +429,10 @@ var g = (function() {
|
|
|
429
429
|
last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
|
|
430
430
|
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
431
431
|
}, "unput"),
|
|
432
|
-
more: /* @__PURE__ */
|
|
432
|
+
more: /* @__PURE__ */ s(function() {
|
|
433
433
|
return this._more = !0, this;
|
|
434
434
|
}, "more"),
|
|
435
|
-
reject: /* @__PURE__ */
|
|
435
|
+
reject: /* @__PURE__ */ s(function() {
|
|
436
436
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
437
437
|
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
438
438
|
text: "",
|
|
@@ -441,22 +441,22 @@ var g = (function() {
|
|
|
441
441
|
});
|
|
442
442
|
return this;
|
|
443
443
|
}, "reject"),
|
|
444
|
-
less: /* @__PURE__ */
|
|
444
|
+
less: /* @__PURE__ */ s(function(e) {
|
|
445
445
|
this.unput(this.match.slice(e));
|
|
446
446
|
}, "less"),
|
|
447
|
-
pastInput: /* @__PURE__ */
|
|
447
|
+
pastInput: /* @__PURE__ */ s(function() {
|
|
448
448
|
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
449
449
|
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
450
450
|
}, "pastInput"),
|
|
451
|
-
upcomingInput: /* @__PURE__ */
|
|
451
|
+
upcomingInput: /* @__PURE__ */ s(function() {
|
|
452
452
|
var e = this.match;
|
|
453
453
|
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
454
454
|
}, "upcomingInput"),
|
|
455
|
-
showPosition: /* @__PURE__ */
|
|
455
|
+
showPosition: /* @__PURE__ */ s(function() {
|
|
456
456
|
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
457
457
|
return e + this.upcomingInput() + "\n" + t + "^";
|
|
458
458
|
}, "showPosition"),
|
|
459
|
-
test_match: /* @__PURE__ */
|
|
459
|
+
test_match: /* @__PURE__ */ s(function(e, t) {
|
|
460
460
|
var n, r, i;
|
|
461
461
|
if (this.options.backtrack_lexer && (i = {
|
|
462
462
|
yylineno: this.yylineno,
|
|
@@ -489,7 +489,7 @@ var g = (function() {
|
|
|
489
489
|
}
|
|
490
490
|
return !1;
|
|
491
491
|
}, "test_match"),
|
|
492
|
-
next: /* @__PURE__ */
|
|
492
|
+
next: /* @__PURE__ */ s(function() {
|
|
493
493
|
if (this.done) return this.EOF;
|
|
494
494
|
this._input || (this.done = !0);
|
|
495
495
|
var e, t, n, r;
|
|
@@ -511,29 +511,29 @@ var g = (function() {
|
|
|
511
511
|
line: this.yylineno
|
|
512
512
|
});
|
|
513
513
|
}, "next"),
|
|
514
|
-
lex: /* @__PURE__ */
|
|
514
|
+
lex: /* @__PURE__ */ s(function() {
|
|
515
515
|
return this.next() || this.lex();
|
|
516
516
|
}, "lex"),
|
|
517
|
-
begin: /* @__PURE__ */
|
|
517
|
+
begin: /* @__PURE__ */ s(function(e) {
|
|
518
518
|
this.conditionStack.push(e);
|
|
519
519
|
}, "begin"),
|
|
520
|
-
popState: /* @__PURE__ */
|
|
520
|
+
popState: /* @__PURE__ */ s(function() {
|
|
521
521
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
522
522
|
}, "popState"),
|
|
523
|
-
_currentRules: /* @__PURE__ */
|
|
523
|
+
_currentRules: /* @__PURE__ */ s(function() {
|
|
524
524
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
525
525
|
}, "_currentRules"),
|
|
526
|
-
topState: /* @__PURE__ */
|
|
526
|
+
topState: /* @__PURE__ */ s(function(e) {
|
|
527
527
|
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
528
528
|
}, "topState"),
|
|
529
|
-
pushState: /* @__PURE__ */
|
|
529
|
+
pushState: /* @__PURE__ */ s(function(e) {
|
|
530
530
|
this.begin(e);
|
|
531
531
|
}, "pushState"),
|
|
532
|
-
stateStackSize: /* @__PURE__ */
|
|
532
|
+
stateStackSize: /* @__PURE__ */ s(function() {
|
|
533
533
|
return this.conditionStack.length;
|
|
534
534
|
}, "stateStackSize"),
|
|
535
535
|
options: { "case-insensitive": !0 },
|
|
536
|
-
performAction: /* @__PURE__ */
|
|
536
|
+
performAction: /* @__PURE__ */ s(function(e, t, n, r) {
|
|
537
537
|
switch (n) {
|
|
538
538
|
case 0: return this.pushState("shapeData"), t.yytext = "", 24;
|
|
539
539
|
case 1: return this.pushState("shapeDataStr"), 24;
|
|
@@ -722,83 +722,83 @@ var g = (function() {
|
|
|
722
722
|
function S() {
|
|
723
723
|
this.yy = {};
|
|
724
724
|
}
|
|
725
|
-
return
|
|
725
|
+
return s(S, "Parser"), S.prototype = x, x.Parser = S, new S();
|
|
726
726
|
})();
|
|
727
727
|
g.parser = g;
|
|
728
|
-
var _ = g, v = [], y = [], b = 0, x = {}, S = /* @__PURE__ */
|
|
728
|
+
var _ = g, v = [], y = [], b = 0, x = {}, S = /* @__PURE__ */ s(() => {
|
|
729
729
|
v = [], y = [], b = 0, x = {};
|
|
730
|
-
}, "clear"), C = /* @__PURE__ */
|
|
730
|
+
}, "clear"), C = /* @__PURE__ */ s((e) => {
|
|
731
731
|
if (v.length === 0) return null;
|
|
732
732
|
let t = v[0].level, n = null;
|
|
733
733
|
for (let e = v.length - 1; e >= 0; e--) if (v[e].level === t && !n && (n = v[e]), v[e].level < t) throw Error("Items without section detected, found section (\"" + v[e].label + "\")");
|
|
734
734
|
return e === n?.level ? null : n;
|
|
735
|
-
}, "getSection"), w = /* @__PURE__ */
|
|
735
|
+
}, "getSection"), w = /* @__PURE__ */ s(function() {
|
|
736
736
|
return y;
|
|
737
|
-
}, "getSections"), T = /* @__PURE__ */
|
|
738
|
-
let e = [],
|
|
739
|
-
for (let e of
|
|
740
|
-
let
|
|
737
|
+
}, "getSections"), T = /* @__PURE__ */ s(function() {
|
|
738
|
+
let e = [], n = [], r = w(), i = t();
|
|
739
|
+
for (let e of r) {
|
|
740
|
+
let t = {
|
|
741
741
|
id: e.id,
|
|
742
|
-
label:
|
|
742
|
+
label: o(e.label ?? "", i),
|
|
743
743
|
labelType: "markdown",
|
|
744
744
|
isGroup: !0,
|
|
745
745
|
ticket: e.ticket,
|
|
746
746
|
shape: "kanbanSection",
|
|
747
747
|
level: e.level,
|
|
748
|
-
look:
|
|
748
|
+
look: i.look
|
|
749
749
|
};
|
|
750
|
-
|
|
751
|
-
let
|
|
752
|
-
for (let
|
|
753
|
-
let
|
|
754
|
-
id:
|
|
750
|
+
n.push(t);
|
|
751
|
+
let r = v.filter((t) => t.parentId === e.id);
|
|
752
|
+
for (let t of r) {
|
|
753
|
+
let r = {
|
|
754
|
+
id: t.id,
|
|
755
755
|
parentId: e.id,
|
|
756
|
-
label:
|
|
756
|
+
label: o(t.label ?? "", i),
|
|
757
757
|
labelType: "markdown",
|
|
758
758
|
isGroup: !1,
|
|
759
|
-
ticket:
|
|
760
|
-
priority:
|
|
761
|
-
assigned:
|
|
762
|
-
icon:
|
|
759
|
+
ticket: t?.ticket,
|
|
760
|
+
priority: t?.priority,
|
|
761
|
+
assigned: t?.assigned,
|
|
762
|
+
icon: t?.icon,
|
|
763
763
|
shape: "kanbanItem",
|
|
764
|
-
level:
|
|
764
|
+
level: t.level,
|
|
765
765
|
rx: 5,
|
|
766
766
|
ry: 5,
|
|
767
767
|
cssStyles: ["text-align: left"]
|
|
768
768
|
};
|
|
769
|
-
|
|
769
|
+
n.push(r);
|
|
770
770
|
}
|
|
771
771
|
}
|
|
772
772
|
return {
|
|
773
|
-
nodes:
|
|
773
|
+
nodes: n,
|
|
774
774
|
edges: e,
|
|
775
775
|
other: {},
|
|
776
|
-
config:
|
|
776
|
+
config: t()
|
|
777
777
|
};
|
|
778
|
-
}, "getData"), E = /* @__PURE__ */
|
|
779
|
-
let c =
|
|
780
|
-
switch (
|
|
778
|
+
}, "getData"), E = /* @__PURE__ */ s((e, n, i, a, s) => {
|
|
779
|
+
let c = t(), l = c.mindmap?.padding ?? r.mindmap.padding;
|
|
780
|
+
switch (a) {
|
|
781
781
|
case D.ROUNDED_RECT:
|
|
782
782
|
case D.RECT:
|
|
783
783
|
case D.HEXAGON: l *= 2;
|
|
784
784
|
}
|
|
785
|
-
let
|
|
786
|
-
id:
|
|
785
|
+
let f = {
|
|
786
|
+
id: o(n, c) || "kbn" + b++,
|
|
787
787
|
level: e,
|
|
788
|
-
label:
|
|
789
|
-
width: c.mindmap?.maxNodeWidth ??
|
|
788
|
+
label: o(i, c),
|
|
789
|
+
width: c.mindmap?.maxNodeWidth ?? r.mindmap.maxNodeWidth,
|
|
790
790
|
padding: l,
|
|
791
791
|
isGroup: !1
|
|
792
792
|
};
|
|
793
|
-
if (
|
|
793
|
+
if (s !== void 0) {
|
|
794
794
|
let e;
|
|
795
|
-
e =
|
|
796
|
-
let t =
|
|
795
|
+
e = s.includes("\n") ? s + "\n" : "{\n" + s + "\n}";
|
|
796
|
+
let t = u(e, { schema: d });
|
|
797
797
|
if (t.shape && (t.shape !== t.shape.toLowerCase() || t.shape.includes("_"))) throw Error(`No such shape: ${t.shape}. Shape names should be lowercase.`);
|
|
798
|
-
t?.shape && t.shape === "kanbanItem" && (
|
|
798
|
+
t?.shape && t.shape === "kanbanItem" && (f.shape = t?.shape), t?.label && (f.label = t?.label), t?.icon && (f.icon = t?.icon.toString()), t?.assigned && (f.assigned = t?.assigned.toString()), t?.ticket && (f.ticket = t?.ticket.toString()), t?.priority && (f.priority = t?.priority);
|
|
799
799
|
}
|
|
800
|
-
let
|
|
801
|
-
|
|
800
|
+
let p = C(e);
|
|
801
|
+
p ? f.parentId = p.id || "kbn" + b++ : y.push(f), v.push(f);
|
|
802
802
|
}, "addNode"), D = {
|
|
803
803
|
DEFAULT: 0,
|
|
804
804
|
NO_BORDER: 0,
|
|
@@ -814,10 +814,10 @@ var _ = g, v = [], y = [], b = 0, x = {}, S = /* @__PURE__ */ c(() => {
|
|
|
814
814
|
getSections: w,
|
|
815
815
|
getData: T,
|
|
816
816
|
nodeType: D,
|
|
817
|
-
getType: /* @__PURE__ */
|
|
818
|
-
switch (
|
|
817
|
+
getType: /* @__PURE__ */ s((e, t) => {
|
|
818
|
+
switch (c.debug("In get type", e, t), e) {
|
|
819
819
|
case "[": return D.RECT;
|
|
820
|
-
case "(": return
|
|
820
|
+
case "(": return t === ")" ? D.ROUNDED_RECT : D.CLOUD;
|
|
821
821
|
case "((": return D.CIRCLE;
|
|
822
822
|
case ")": return D.CLOUD;
|
|
823
823
|
case "))": return D.BANG;
|
|
@@ -825,15 +825,15 @@ var _ = g, v = [], y = [], b = 0, x = {}, S = /* @__PURE__ */ c(() => {
|
|
|
825
825
|
default: return D.DEFAULT;
|
|
826
826
|
}
|
|
827
827
|
}, "getType"),
|
|
828
|
-
setElementForId: /* @__PURE__ */
|
|
828
|
+
setElementForId: /* @__PURE__ */ s((e, t) => {
|
|
829
829
|
x[e] = t;
|
|
830
830
|
}, "setElementForId"),
|
|
831
|
-
decorateNode: /* @__PURE__ */
|
|
831
|
+
decorateNode: /* @__PURE__ */ s((e) => {
|
|
832
832
|
if (!e) return;
|
|
833
|
-
let
|
|
834
|
-
e.icon && (
|
|
833
|
+
let n = t(), r = v[v.length - 1];
|
|
834
|
+
e.icon && (r.icon = o(e.icon, n)), e.class && (r.cssClasses = o(e.class, n));
|
|
835
835
|
}, "decorateNode"),
|
|
836
|
-
type2Str: /* @__PURE__ */
|
|
836
|
+
type2Str: /* @__PURE__ */ s((e) => {
|
|
837
837
|
switch (e) {
|
|
838
838
|
case D.DEFAULT: return "no-border";
|
|
839
839
|
case D.RECT: return "rect";
|
|
@@ -845,67 +845,67 @@ var _ = g, v = [], y = [], b = 0, x = {}, S = /* @__PURE__ */ c(() => {
|
|
|
845
845
|
default: return "no-border";
|
|
846
846
|
}
|
|
847
847
|
}, "type2Str"),
|
|
848
|
-
getLogger: /* @__PURE__ */
|
|
849
|
-
getElementById: /* @__PURE__ */
|
|
850
|
-
}, k = { draw: /* @__PURE__ */
|
|
851
|
-
|
|
852
|
-
let
|
|
853
|
-
|
|
854
|
-
let
|
|
855
|
-
for (let e of
|
|
856
|
-
let h =
|
|
848
|
+
getLogger: /* @__PURE__ */ s(() => c, "getLogger"),
|
|
849
|
+
getElementById: /* @__PURE__ */ s((e) => x[e], "getElementById")
|
|
850
|
+
}, k = { draw: /* @__PURE__ */ s(async (n, i, a, o) => {
|
|
851
|
+
c.debug("Rendering kanban diagram\n" + n);
|
|
852
|
+
let s = o.db.getData(), u = t();
|
|
853
|
+
u.htmlLabels = !1;
|
|
854
|
+
let d = l(i);
|
|
855
|
+
for (let e of s.nodes) e.domId = `${i}-${e.id}`;
|
|
856
|
+
let h = d.append("g");
|
|
857
857
|
h.attr("class", "sections");
|
|
858
|
-
let g =
|
|
858
|
+
let g = d.append("g");
|
|
859
859
|
g.attr("class", "items");
|
|
860
|
-
let _ =
|
|
860
|
+
let _ = s.nodes.filter((e) => e.isGroup), v = 0, y = [], b = 25;
|
|
861
861
|
for (let e of _) {
|
|
862
|
-
let t =
|
|
862
|
+
let t = u?.kanban?.sectionWidth || 200;
|
|
863
863
|
v += 1, e.x = t * v + (v - 1) * 10 / 2, e.width = t, e.y = 0, e.height = t * 3, e.rx = 5, e.ry = 5, e.cssClasses = e.cssClasses + " section-" + v;
|
|
864
|
-
let n = await
|
|
864
|
+
let n = await m(h, e);
|
|
865
865
|
b = Math.max(b, n?.labelBBox?.height), y.push(n);
|
|
866
866
|
}
|
|
867
867
|
let x = 0;
|
|
868
868
|
for (let e of _) {
|
|
869
869
|
let t = y[x];
|
|
870
870
|
x += 1;
|
|
871
|
-
let n =
|
|
871
|
+
let n = u?.kanban?.sectionWidth || 200, r = -n * 3 / 2 + b, i = r, a = s.nodes.filter((t) => t.parentId === e.id);
|
|
872
872
|
for (let t of a) {
|
|
873
873
|
if (t.isGroup) throw Error("Groups within groups are not allowed in Kanban diagrams");
|
|
874
874
|
t.x = e.x, t.width = n - 15;
|
|
875
|
-
let r = (await
|
|
876
|
-
t.y = i + r.height / 2, await
|
|
875
|
+
let r = (await p(g, t, { config: u })).node().getBBox();
|
|
876
|
+
t.y = i + r.height / 2, await f(t), i = t.y + r.height / 2 + 5;
|
|
877
877
|
}
|
|
878
|
-
let o = t.cluster.select("rect"),
|
|
879
|
-
o.attr("height",
|
|
878
|
+
let o = t.cluster.select("rect"), c = Math.max(i - r + 30, 50) + (b - 25);
|
|
879
|
+
o.attr("height", c);
|
|
880
880
|
}
|
|
881
|
-
|
|
882
|
-
}, "draw") }, A = /* @__PURE__ */
|
|
883
|
-
let
|
|
884
|
-
for (let
|
|
885
|
-
let
|
|
886
|
-
for (let
|
|
887
|
-
let
|
|
888
|
-
|
|
889
|
-
.section-${
|
|
890
|
-
fill: ${
|
|
891
|
-
stroke: ${
|
|
881
|
+
e(void 0, d, u.mindmap?.padding ?? r.kanban.padding, u.mindmap?.useMaxWidth ?? r.kanban.useMaxWidth);
|
|
882
|
+
}, "draw") }, A = /* @__PURE__ */ s((e) => {
|
|
883
|
+
let t = "";
|
|
884
|
+
for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) e["lineColor" + t] = e["lineColor" + t] || e["cScaleInv" + t], i(e["lineColor" + t]) ? e["lineColor" + t] = a(e["lineColor" + t], 20) : e["lineColor" + t] = n(e["lineColor" + t], 20);
|
|
885
|
+
let r = /* @__PURE__ */ s((t, r) => e.darkMode ? n(t, r) : a(t, r), "adjuster");
|
|
886
|
+
for (let n = 0; n < e.THEME_COLOR_LIMIT; n++) {
|
|
887
|
+
let i = "" + (17 - 3 * n);
|
|
888
|
+
t += `
|
|
889
|
+
.section-${n - 1} rect, .section-${n - 1} path, .section-${n - 1} circle, .section-${n - 1} polygon, .section-${n - 1} path {
|
|
890
|
+
fill: ${r(e["cScale" + n], 10)};
|
|
891
|
+
stroke: ${r(e["cScale" + n], 10)};
|
|
892
892
|
|
|
893
893
|
}
|
|
894
|
-
.section-${
|
|
895
|
-
fill: ${e["cScaleLabel" +
|
|
894
|
+
.section-${n - 1} text {
|
|
895
|
+
fill: ${e["cScaleLabel" + n]};
|
|
896
896
|
}
|
|
897
|
-
.node-icon-${
|
|
897
|
+
.node-icon-${n - 1} {
|
|
898
898
|
font-size: 40px;
|
|
899
|
-
color: ${e["cScaleLabel" +
|
|
899
|
+
color: ${e["cScaleLabel" + n]};
|
|
900
900
|
}
|
|
901
|
-
.section-edge-${
|
|
902
|
-
stroke: ${e["cScale" +
|
|
901
|
+
.section-edge-${n - 1}{
|
|
902
|
+
stroke: ${e["cScale" + n]};
|
|
903
903
|
}
|
|
904
|
-
.edge-depth-${
|
|
905
|
-
stroke-width: ${
|
|
904
|
+
.edge-depth-${n - 1}{
|
|
905
|
+
stroke-width: ${i};
|
|
906
906
|
}
|
|
907
|
-
.section-${
|
|
908
|
-
stroke: ${e["cScaleInv" +
|
|
907
|
+
.section-${n - 1} line {
|
|
908
|
+
stroke: ${e["cScaleInv" + n]} ;
|
|
909
909
|
stroke-width: 3;
|
|
910
910
|
}
|
|
911
911
|
|
|
@@ -933,12 +933,12 @@ var _ = g, v = [], y = [], b = 0, x = {}, S = /* @__PURE__ */ c(() => {
|
|
|
933
933
|
}
|
|
934
934
|
`;
|
|
935
935
|
}
|
|
936
|
-
return
|
|
936
|
+
return t;
|
|
937
937
|
}, "genSections"), j = {
|
|
938
938
|
db: O,
|
|
939
939
|
renderer: k,
|
|
940
940
|
parser: _,
|
|
941
|
-
styles: /* @__PURE__ */
|
|
941
|
+
styles: /* @__PURE__ */ s((e) => `
|
|
942
942
|
.edge {
|
|
943
943
|
stroke-width: 3;
|
|
944
944
|
}
|