@sme.up/ketchup2 2.9.0 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{abnfDiagram-VCTEODGH-DwAVRNNu.js → abnfDiagram-WEYOIA3C-BGzUWx_N.js} +18 -18
- package/dist/{arc-DXfwi1YX.js → arc-Cde31fHX.js} +1 -1
- package/dist/architecture-WOLXFQ4H-CjGAyYHf.js +2 -0
- package/dist/{architectureDiagram-5GKGNRK7-N1aPr2hw.js → architectureDiagram-ZHVYKT53-DH-D4G0y.js} +138 -153
- package/dist/assets/svg/magnify-minus.svg +1 -0
- package/dist/assets/svg/magnify-plus.svg +1 -0
- package/dist/basic-components/button/button-types.d.ts +2 -2
- package/dist/basic-components/button-group/button-group.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-types.d.ts +15 -6
- package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-utils.d.ts +10 -4
- package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
- package/dist/basic-components/cell/cell.d.ts.map +1 -1
- package/dist/basic-components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/basic-components/chips/chips-types.d.ts +13 -0
- package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
- package/dist/basic-components/chips/chips.d.ts.map +1 -1
- package/dist/basic-components/date-picker/date-picker-types.d.ts +6 -2
- package/dist/basic-components/date-picker/date-picker-types.d.ts.map +1 -1
- package/dist/basic-components/file-upload/file-upload-types.d.ts +2 -2
- package/dist/basic-components/file-upload/file-upload-types.d.ts.map +1 -1
- package/dist/basic-components/file-upload/file-upload.d.ts.map +1 -1
- package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -1
- package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
- package/dist/basic-components/multiple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
- package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
- package/dist/basic-components/radio/radio.d.ts.map +1 -1
- package/dist/basic-components/slider/slider.d.ts.map +1 -1
- package/dist/basic-components/text/text-types.d.ts +3 -1
- package/dist/basic-components/text/text-types.d.ts.map +1 -1
- package/dist/basic-components/text/text.d.ts.map +1 -1
- package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
- package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield-types.d.ts +10 -5
- package/dist/basic-components/textfield/textfield-types.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
- package/dist/basic-components/time-picker/time-picker.d.ts.map +1 -1
- package/dist/basic-components/typography/typography.d.ts.map +1 -1
- package/dist/{blockDiagram-I7D4REHJ-Cu18ws5-.js → blockDiagram-RJAE7QA3-hRpbCaPL.js} +329 -316
- package/dist/{c4Diagram-7LVT6UL2-B-uBy_NE.js → c4Diagram-XDPPPE54-Bkqvkv8O.js} +350 -340
- package/dist/channel-CcHUzwZl.js +5 -0
- package/dist/{chunk-SVP7TREG-CyJlOPau.js → chunk-2E7WHVMD-DSYBrngB.js} +77 -77
- package/dist/chunk-4EMNKR2T-CndbTVTA.js +236 -0
- package/dist/{chunk-F27PBJKO-jIrOJO87.js → chunk-55XCU76K-B1HtPImz.js} +16 -16
- package/dist/{chunk-75Z2AOVW-Drsj7a97.js → chunk-7S6XSTFO-CN6S2H1-.js} +304 -305
- package/dist/{chunk-GMAD6QVW-D80II4AD.js → chunk-AQDTSKZB-DuUha9al.js} +386 -433
- package/dist/{chunk-DU6HZSFF-waeanndy.js → chunk-DSNLSHJZ-B1A8wsiA.js} +1227 -1043
- package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
- package/dist/chunk-EJLWFMJV-Cu6XnLfk.js +75 -0
- package/dist/chunk-HAGFOTED-IzyIoLzD.js +4487 -0
- package/dist/chunk-HNE4Q36P-7zVKLE_b.js +363 -0
- package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
- package/dist/{chunk-LNGE3PJU-CtYcu9x8.js → chunk-LNGE3PJU-ByFTjlja.js} +15 -19
- package/dist/chunk-NGNAAXSQ-Tr--SG_c.js +19832 -0
- package/dist/{chunk-SHT3W25Y-Cri27Jke.js → chunk-NQOKRVIF-CEJ-prlJ.js} +483 -414
- package/dist/chunk-OYAV6JZA-Cypx4hYu.js +14 -0
- package/dist/{chunk-P2QGCYS3-BUeNZ170.js → chunk-UHW7PFBP-CoHGQVjo.js} +6 -6
- package/dist/chunk-VQ5W62QI-BSDHmyws.js +26 -0
- package/dist/{chunk-OSK3NFVY-CQhPF3Mc.js → chunk-WQQL4CDK-BJE6isq-.js} +312 -288
- package/dist/chunk-XXDRQBXY-CU-dbs05.js +9 -0
- package/dist/{chunk-PWAF6VOD-D37VoZ8H.js → chunk-YZO67HFG-Bcmpw0dX.js} +28 -28
- package/dist/{chunk-GVQU2GXP-DP3t_9Rl.js → chunk-ZAUX2LTX-Bu7BRVL6.js} +14 -14
- package/dist/chunk-ZCHMQSOR-BA1QQ4D6.js +354 -0
- package/dist/{chunk-TICWLB2K-Cw2iT_VD.js → classDiagram-v2-4MYWR3UA-Bnh650R8.js} +333 -293
- package/dist/components/app-bar/app-bar-utils.d.ts.map +1 -1
- package/dist/components/app-bar/app-bar.data.d.ts.map +1 -1
- package/dist/components/box-list/box-list.d.ts.map +1 -1
- package/dist/components/calendar/calendar-available-height.d.ts +14 -0
- package/dist/components/calendar/calendar-available-height.d.ts.map +1 -0
- package/dist/components/calendar/calendar-types.d.ts +49 -4
- package/dist/components/calendar/calendar-types.d.ts.map +1 -1
- package/dist/components/calendar/calendar-utils.d.ts +160 -16
- package/dist/components/calendar/calendar-utils.d.ts.map +1 -1
- package/dist/components/calendar/calendar.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-event-text.d.ts +23 -0
- package/dist/components/calendar/views/calendar-event-text.d.ts.map +1 -0
- package/dist/components/calendar/views/calendar-month-grid.d.ts +12 -4
- package/dist/components/calendar/views/calendar-month-grid.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-more-events.d.ts +19 -0
- package/dist/components/calendar/views/calendar-more-events.d.ts.map +1 -0
- package/dist/components/calendar/views/calendar-time-grid.d.ts +16 -2
- package/dist/components/calendar/views/calendar-time-grid.d.ts.map +1 -1
- package/dist/components/data-table/assets/data-table-row-actions.d.ts +1 -1
- package/dist/components/data-table/cell-actions/cell-actions-types.d.ts +12 -0
- package/dist/components/data-table/cell-actions/cell-actions-types.d.ts.map +1 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts +29 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts.map +1 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts +2 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts.map +1 -0
- package/dist/components/data-table/cell-actions/cell-actions.d.ts +6 -0
- package/dist/components/data-table/cell-actions/cell-actions.d.ts.map +1 -0
- package/dist/components/data-table/column-menu/column-menu-types.d.ts +32 -0
- package/dist/components/data-table/column-menu/column-menu-types.d.ts.map +1 -0
- package/dist/components/data-table/column-menu/column-menu.d.ts +11 -0
- package/dist/components/data-table/column-menu/column-menu.d.ts.map +1 -0
- package/dist/components/data-table/columns/columns-utils.d.ts +11 -2
- package/dist/components/data-table/columns/columns-utils.d.ts.map +1 -1
- package/dist/components/data-table/columns/useColumnWidths.d.ts +24 -1
- package/dist/components/data-table/columns/useColumnWidths.d.ts.map +1 -1
- package/dist/components/data-table/data-table-types.d.ts +206 -38
- package/dist/components/data-table/data-table-types.d.ts.map +1 -1
- package/dist/components/data-table/data-table.d.ts.map +1 -1
- package/dist/components/data-table/filtering/data-table-filter-utils.d.ts +19 -2
- package/dist/components/data-table/filtering/data-table-filter-utils.d.ts.map +1 -1
- package/dist/components/data-table/fixed/fixed-utils.d.ts +69 -0
- package/dist/components/data-table/fixed/fixed-utils.d.ts.map +1 -0
- package/dist/components/data-table/footer/footer-types.d.ts +23 -6
- package/dist/components/data-table/footer/footer-types.d.ts.map +1 -1
- package/dist/components/data-table/footer/footer.d.ts.map +1 -1
- package/dist/components/data-table/group-row/group-row-types.d.ts +38 -1
- package/dist/components/data-table/group-row/group-row-types.d.ts.map +1 -1
- package/dist/components/data-table/group-row/group-row.d.ts.map +1 -1
- package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts +20 -5
- package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts.map +1 -1
- package/dist/components/data-table/grouping/datatable-groups-utils.d.ts +11 -1
- package/dist/components/data-table/grouping/datatable-groups-utils.d.ts.map +1 -1
- package/dist/components/data-table/grouping/group-expansion.d.ts +16 -0
- package/dist/components/data-table/grouping/group-expansion.d.ts.map +1 -0
- package/dist/components/data-table/grouping/grouping-types.d.ts +9 -0
- package/dist/components/data-table/grouping/grouping-types.d.ts.map +1 -1
- package/dist/components/data-table/header/Header.d.ts.map +1 -1
- package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts +44 -0
- package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts.map +1 -0
- package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts +8 -0
- package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts.map +1 -0
- package/dist/components/data-table/header/header-types.d.ts +37 -21
- package/dist/components/data-table/header/header-types.d.ts.map +1 -1
- package/dist/components/data-table/load-more-row/load-more-row.d.ts +8 -0
- package/dist/components/data-table/load-more-row/load-more-row.d.ts.map +1 -0
- package/dist/components/data-table/load-more-row/load-more-types.d.ts +11 -0
- package/dist/components/data-table/load-more-row/load-more-types.d.ts.map +1 -0
- package/dist/components/data-table/sorting/buildDftSort.d.ts +16 -0
- package/dist/components/data-table/sorting/buildDftSort.d.ts.map +1 -0
- package/dist/components/data-table/sorting/buildDftSort.test.d.ts +2 -0
- package/dist/components/data-table/sorting/buildDftSort.test.d.ts.map +1 -0
- package/dist/components/data-table/sorting/parseDftSort.d.ts +4 -4
- package/dist/components/data-table/sorting/parseDftSort.d.ts.map +1 -1
- package/dist/components/data-table/sorting/sortTable-utils.d.ts +10 -0
- package/dist/components/data-table/sorting/sortTable-utils.d.ts.map +1 -1
- package/dist/components/data-table/sorting/useSortableTable.d.ts +10 -4
- package/dist/components/data-table/sorting/useSortableTable.d.ts.map +1 -1
- package/dist/components/data-table/state/datatable-state.d.ts +15 -8
- package/dist/components/data-table/state/datatable-state.d.ts.map +1 -1
- package/dist/components/data-table/stories/data-table-story-meta.d.ts +7 -0
- package/dist/components/data-table/stories/data-table-story-meta.d.ts.map +1 -0
- package/dist/components/data-table/useDataTableImperativeHandle.d.ts +23 -0
- package/dist/components/data-table/useDataTableImperativeHandle.d.ts.map +1 -0
- package/dist/components/data-table/useDataTableShortcuts.d.ts +19 -0
- package/dist/components/data-table/useDataTableShortcuts.d.ts.map +1 -0
- package/dist/components/drawer/drawer.d.ts.map +1 -1
- package/dist/components/echarts-graph/builders/echarts-graph-builders-advanced.d.ts +26 -0
- package/dist/components/echarts-graph/builders/echarts-graph-builders-advanced.d.ts.map +1 -0
- package/dist/components/echarts-graph/builders/echarts-graph-builders.d.ts +17 -0
- package/dist/components/echarts-graph/builders/echarts-graph-builders.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-data.d.ts +151 -0
- package/dist/components/echarts-graph/data/echarts-graph-data.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-data.test.d.ts +2 -0
- package/dist/components/echarts-graph/data/echarts-graph-data.test.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-frame.d.ts +164 -0
- package/dist/components/echarts-graph/data/echarts-graph-frame.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-math.d.ts +26 -0
- package/dist/components/echarts-graph/data/echarts-graph-math.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-time.d.ts +42 -0
- package/dist/components/echarts-graph/data/echarts-graph-time.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts +12 -0
- package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts +2 -0
- package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-utils.d.ts +197 -0
- package/dist/components/echarts-graph/data/echarts-graph-utils.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-utils.test.d.ts +2 -0
- package/dist/components/echarts-graph/data/echarts-graph-utils.test.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-canvas.d.ts +34 -0
- package/dist/components/echarts-graph/echarts-graph-canvas.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-from-table.d.ts +13 -0
- package/dist/components/echarts-graph/echarts-graph-from-table.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts +12 -0
- package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-hooks.d.ts +16 -0
- package/dist/components/echarts-graph/echarts-graph-hooks.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-types.d.ts +229 -0
- package/dist/components/echarts-graph/echarts-graph-types.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph.d.ts +18 -0
- package/dist/components/echarts-graph/echarts-graph.d.ts.map +1 -0
- package/dist/components/echarts-graph/theme/echarts-graph-color.d.ts +20 -0
- package/dist/components/echarts-graph/theme/echarts-graph-color.d.ts.map +1 -0
- package/dist/components/echarts-graph/theme/echarts-graph-color.test.d.ts +2 -0
- package/dist/components/echarts-graph/theme/echarts-graph-color.test.d.ts.map +1 -0
- package/dist/components/echarts-graph/theme/echarts-graph-theme.d.ts +58 -0
- package/dist/components/echarts-graph/theme/echarts-graph-theme.d.ts.map +1 -0
- package/dist/components/input-panel/assets/data.d.ts +1 -0
- package/dist/components/input-panel/assets/data.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel-types.d.ts +7 -1
- package/dist/components/input-panel/input-panel-types.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel-utils.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel.d.ts.map +1 -1
- package/dist/components/json-form/document-adapter.test.d.ts +2 -0
- package/dist/components/json-form/document-adapter.test.d.ts.map +1 -0
- package/dist/components/json-form/expression-evaluator.test.d.ts +2 -0
- package/dist/components/json-form/expression-evaluator.test.d.ts.map +1 -0
- package/dist/components/json-form/model/document-adapter.d.ts +54 -0
- package/dist/components/json-form/model/document-adapter.d.ts.map +1 -0
- package/dist/components/json-form/model/json-form-ajv.d.ts +12 -0
- package/dist/components/json-form/model/json-form-ajv.d.ts.map +1 -0
- package/dist/components/json-form/model/json-pointer.d.ts +20 -0
- package/dist/components/json-form/model/json-pointer.d.ts.map +1 -0
- package/dist/components/json-form/model/native-json-types.d.ts +5 -0
- package/dist/components/json-form/model/native-json-types.d.ts.map +1 -0
- package/dist/components/json-form/model/shape-event-support.d.ts +10 -0
- package/dist/components/json-form/model/shape-event-support.d.ts.map +1 -0
- package/dist/components/json-form/rule-controller.test.d.ts +2 -0
- package/dist/components/json-form/rule-controller.test.d.ts.map +1 -0
- package/dist/components/json-form/rules/expression-evaluator.d.ts +58 -0
- package/dist/components/json-form/rules/expression-evaluator.d.ts.map +1 -0
- package/dist/components/json-form/rules/rule-controller.d.ts +50 -0
- package/dist/components/json-form/rules/rule-controller.d.ts.map +1 -0
- package/dist/components/pdf/assets/pdf-fixtures.d.ts +6 -0
- package/dist/components/pdf/assets/pdf-fixtures.d.ts.map +1 -0
- package/dist/components/pdf/pdf-types.d.ts +17 -2
- package/dist/components/pdf/pdf-types.d.ts.map +1 -1
- package/dist/components/pdf/pdf-utils.d.ts +30 -1
- package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
- package/dist/components/pdf/pdf.d.ts.map +1 -1
- package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/toolbar/toolbar-nodes/toolbar-plain-node.d.ts.map +1 -1
- package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -1
- package/dist/context/interaction-context.d.ts +16 -0
- package/dist/context/interaction-context.d.ts.map +1 -0
- package/dist/context/test-utils.d.ts.map +1 -1
- package/dist/{cose-bilkent-JH36ORCC-Qs_Z6zBZ.js → cose-bilkent-JH36ORCC-DYLyHByQ.js} +77 -89
- package/dist/cynefin-EF2NZ3EQ-DZ1CSrfW.js +2 -0
- package/dist/{cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js → cynefinDiagram-WF24UDRP-bU_4r-FZ.js} +64 -64
- package/dist/{cytoscape.esm-C5TvPYYm.js → cytoscape.esm-BvXLQ91B.js} +412 -513
- package/dist/dagre-NK4GIZVX-B72HOuil.js +2352 -0
- package/dist/{diagram-VX7I27RA-BNmG1sig.js → diagram-CBK3MWTC-B-q-tUxd.js} +80 -80
- package/dist/diagram-I5XIIV2D-CMzniFEf.js +134 -0
- package/dist/{diagram-S7CK7UJ4-BuDHTdHA.js → diagram-ODIL2UCW-CrlDp0MP.js} +46 -54
- package/dist/{diagram-VSXAHHWV-CrQQCs-B.js → diagram-PFBEJUXE-hnrdzEe4.js} +136 -121
- package/dist/{diagram-UQ7AKVKN-uvzJGj43.js → diagram-RJA3I4VV-DZW7CxE5.js} +43 -43
- package/dist/diagram-TYUNFSNR-cRJNHRy2.js +5069 -0
- package/dist/{dist-CsrMlyO_.js → dist-Bj7IMbKd.js} +1 -1
- package/dist/{ebnfDiagram-PWID7BFC-DMx8xAFO.js → ebnfDiagram-V4P3TTPT-Bm7KtfLA.js} +17 -17
- package/dist/echarts-C7ehbnCk.js +15485 -0
- package/dist/elk-QONTBCTQ-gWOTRRj4.js +47505 -0
- package/dist/{erDiagram-RLTQ6QDP-bkJ9nzVK.js → erDiagram-KYQIGQAA-WZEbQwWz.js} +150 -146
- package/dist/eventmodeling-K75KTNOO-CEn7YBG4.js +2 -0
- package/dist/flowDiagram-IUGLLWBU-CRV2Bl2C.js +16 -0
- package/dist/functional-components/badge/badge-assets.d.ts +1 -0
- package/dist/functional-components/badge/badge-assets.d.ts.map +1 -1
- package/dist/functional-components/badge/badge-utils.d.ts +5 -0
- package/dist/functional-components/badge/badge-utils.d.ts.map +1 -1
- package/dist/functional-components/badge/badge.d.ts.map +1 -1
- package/dist/functional-components/filter-group/filter-builder-operators.d.ts +15 -0
- package/dist/functional-components/filter-group/filter-builder-operators.d.ts.map +1 -0
- package/dist/functional-components/filter-group/filter-builder.d.ts +15 -1
- package/dist/functional-components/filter-group/filter-builder.d.ts.map +1 -1
- package/dist/functional-components/group-bar/group-bar-types.d.ts +16 -0
- package/dist/functional-components/group-bar/group-bar-types.d.ts.map +1 -1
- package/dist/functional-components/group-bar/group-bar.d.ts.map +1 -1
- package/dist/functional-components/helper-text/helper-text-types.d.ts +1 -1
- package/dist/functional-components/multiple-field/multiple-field-types.d.ts +1 -0
- package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
- package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
- package/dist/functional-components/row/row-types.d.ts +50 -1
- package/dist/functional-components/row/row-types.d.ts.map +1 -1
- package/dist/functional-components/row/row.d.ts.map +1 -1
- package/dist/functional-components/tree-picker/tree-picker-types.d.ts +5 -0
- package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -1
- package/dist/{ganttDiagram-EL5Y4UJY-CL-ywzz_.js → ganttDiagram-R7GPNTJY-DFRGfQMr.js} +314 -310
- package/dist/gitGraph-VSP46ZUC-BSTikFaE.js +2 -0
- package/dist/{gitGraphDiagram-WWUBYQGX-aXhNDG6P.js → gitGraphDiagram-PDYL7XHY-nvoob8Ca.js} +250 -250
- package/dist/hooks/useClickOutside/useClickOutside-assets.d.ts +14 -0
- package/dist/hooks/useClickOutside/useClickOutside-assets.d.ts.map +1 -0
- package/dist/hooks/useClickOutside/useClickOutside.d.ts.map +1 -0
- package/dist/hooks/useFloating.d.ts.map +1 -1
- package/dist/hooks/useVirtualListScroll.d.ts +14 -2
- package/dist/hooks/useVirtualListScroll.d.ts.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/info-OHQRW6UA-BGb3N889.js +2 -0
- package/dist/infoDiagram-MVDRKAX5-BqO_morw.js +20 -0
- package/dist/installCanvasRenderer-CgRxxRBg.js +29799 -0
- package/dist/{ishikawaDiagram-5VMMS53U-DK7HlH95.js → ishikawaDiagram-HPEHV2GE-BE3amLYE.js} +27 -29
- package/dist/{journeyDiagram-3NMN7TZE-CpuYEKcB.js → journeyDiagram-BOSHW7O7-DE8ndsCi.js} +111 -111
- package/dist/{kanban-definition-UXKFOSKX-aK8uKmyY.js → kanban-definition-FNSA4HC5-D72kc4EN.js} +135 -135
- package/dist/{katex-CT2p8LXT.js → katex-CDhNh-ZQ.js} +919 -1040
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +25778 -68770
- package/dist/{line-DTqYMLoX.js → line-ltPB6XbC.js} +1 -1
- package/dist/{linear-CXc5xaa6.js → linear-i6_MPSGL.js} +2 -3
- package/dist/locale/en/translation.json.d.ts +40 -4
- package/dist/locale/it/translation.json.d.ts +40 -4
- package/dist/{mermaid-parser.core-BwVmI_Rq.js → mermaid-parser.core-zUi7tSl-.js} +166 -172
- package/dist/{mindmap-definition-YA3MSWOX-ZMYcmi9J.js → mindmap-definition-6OY57UG3-hH6Avsg4.js} +148 -145
- package/dist/packet-JDAUHWVQ-CKZoNg5j.js +2 -0
- package/dist/{pegDiagram-XKGWAZYB-DsfILwZN.js → pegDiagram-ECIUJNBX-D3xLhrRh.js} +19 -19
- package/dist/pie-XZMESJXO-BnbWY8rE.js +2 -0
- package/dist/{pieDiagram-E7YTZNPT-DcSLcLdd.js → pieDiagram-GNMPY74T-Bd_UXypi.js} +39 -39
- package/dist/{quadrantDiagram-AXDQQJYC-DSx3teop.js → quadrantDiagram-D57K4MC3-BAwweqT8.js} +149 -149
- package/dist/radar-ABXABTNO-D5CEmFBx.js +2 -0
- package/dist/railroad-I3PHUGI6-CxMiYaMH.js +2 -0
- package/dist/railroad-abnf-LNEFI6M7-C69KxGa-.js +2 -0
- package/dist/railroad-ebnf-DWYD2UWJ-D5Xd566k.js +2 -0
- package/dist/railroad-peg-JR7BVNR7-CD0OiqcS.js +2 -0
- package/dist/{railroadDiagram-O6MQD6OU-jOZRtNDi.js → railroadDiagram-Y72NRBL7-CPUbPgYX.js} +14 -14
- package/dist/{requirementDiagram-BXWQKSXE-D14hkkez.js → requirementDiagram-EQYSW5RA-BXstYS3w.js} +97 -93
- package/dist/rolldown-runtime-5HNE8Q1r.js +23 -0
- package/dist/{sankeyDiagram-P5KCCOFB-C0jmknYo.js → sankeyDiagram-SY24JHO5-Du-toJmg.js} +64 -64
- package/dist/{sequenceDiagram-WJ2MYXX4-C00egnMz.js → sequenceDiagram-BLEHNHQU-BNNnerZ-.js} +953 -868
- package/dist/{sizeCapture-INFHLROL-CHXIsPO_.js → sizeCapture-INFHLROL-DujrpAYz.js} +1 -1
- package/dist/{src-DQoflmwT.js → src-CY9Rz0Sf.js} +545 -566
- package/dist/{chunk-IMKFNOWR-8ItzAAcf.js → stateDiagram-v2-A6IESKWZ-CfjPf8h7.js} +364 -267
- package/dist/{swimlanes-42K2YHIH-CJcMmxXf.js → swimlanes-B3ENRKFQ-Dumwq89C.js} +1356 -1590
- package/dist/swimlanesDiagram-AYQRV4AK-Boz_Azx7.js +28 -0
- package/dist/{timeline-definition-24CTP7MA-D2xfYuSV.js → timeline-definition-JXYKGLGB-ClzmRQCu.js} +354 -350
- package/dist/treeView-D4JQ5SDB-C3ue8DID.js +2 -0
- package/dist/treemap-SAJKECNS-BWis-Wpv.js +2 -0
- package/dist/types/data-structures.d.ts +16 -1
- package/dist/types/data-structures.d.ts.map +1 -1
- package/dist/types/global.d.ts +7 -2
- package/dist/types/global.d.ts.map +1 -1
- package/dist/types/translation.d.ts +40 -5
- package/dist/types/translation.d.ts.map +1 -1
- package/dist/usecaseDiagram-WPOLBNNX-ruZhXlYQ.js +7175 -0
- package/dist/utils/floating-layer.d.ts +11 -0
- package/dist/utils/floating-layer.d.ts.map +1 -0
- package/dist/utils/legacy.d.ts +7 -0
- package/dist/utils/legacy.d.ts.map +1 -1
- package/dist/utils/object-styles.d.ts +12 -0
- package/dist/utils/object-styles.d.ts.map +1 -0
- package/dist/utils/object-styles.test.d.ts +2 -0
- package/dist/utils/object-styles.test.d.ts.map +1 -0
- package/dist/utils/objects.d.ts +20 -1
- package/dist/utils/objects.d.ts.map +1 -1
- package/dist/utils/totals/totals-registry.d.ts +17 -0
- package/dist/utils/totals/totals-registry.d.ts.map +1 -0
- package/dist/utils/totals/totals-utils.d.ts +70 -7
- package/dist/utils/totals/totals-utils.d.ts.map +1 -1
- package/dist/utils/wrapper-types/list.d.ts.map +1 -1
- package/dist/{vennDiagram-4TSXK5OY-C4XLgus_.js → vennDiagram-Q3Y3IDCW-L9GmqfCz.js} +118 -118
- package/dist/wardley-7MLQ67FV-DC0ayJCO.js +2 -0
- package/dist/{wardleyDiagram-VM6X3IG4-DFoKuS9s.js → wardleyDiagram-IVAIDKWA-Dz5K-UqN.js} +126 -126
- package/dist/{xychartDiagram-S5SC5T6Z-BzKKgVBe.js → xychartDiagram-4URNHDU4-C2xwRx5F.js} +141 -137
- package/package.json +7 -5
- package/dist/architecture-7GRP2DOG-BsytjMto.js +0 -3
- package/dist/channel-CuEby436.js +0 -5
- package/dist/chunk-2E4U76K2-ComA5SPA.js +0 -348
- package/dist/chunk-4HAMMTFA-CZgIgrp_.js +0 -4188
- package/dist/chunk-CLGD4ZFX-CLGio9rD.js +0 -14
- package/dist/chunk-FOHPRMQF-LRqOLsSw.js +0 -21456
- package/dist/chunk-L3NEJ4N5-qPot4t6M.js +0 -245
- package/dist/chunk-POPQ4Y6H-CU9oz17Z.js +0 -26
- package/dist/chunk-TLUHSLCS-BdsLNXjt.js +0 -59
- package/dist/chunk-XXDRQBXY-C1ZEFXGu.js +0 -9
- package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +0 -30
- package/dist/components/echarts/echarts-graph-types.d.ts +0 -8
- package/dist/components/echarts/echarts-graph-types.d.ts.map +0 -1
- package/dist/components/echarts/echarts-graph.d.ts +0 -4
- package/dist/components/echarts/echarts-graph.d.ts.map +0 -1
- package/dist/cynefin-OW5HDTMX-BJXlKro0.js +0 -3
- package/dist/dagre-D5csT9sx.js +0 -1934
- package/dist/dagre-GXQ25YYZ-Bg7xf6xn.js +0 -425
- package/dist/diagram-Z3DM3KII-B6BrLhP0.js +0 -134
- package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +0 -3
- package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +0 -17
- package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +0 -3
- package/dist/hooks/useClickOutside.d.ts.map +0 -1
- package/dist/info-A6RAGUB7-CmZJKEaW.js +0 -3
- package/dist/infoDiagram-27XIBGKW-Je4heBlk.js +0 -20
- package/dist/packet-AYTQ26CC-B3tgRshR.js +0 -3
- package/dist/pie-WAS4IAKB-BRiI8kbI.js +0 -3
- package/dist/radar-RG4KPBEZ-ASOMQXFw.js +0 -3
- package/dist/railroad-74A4TZTK-oS840SLr.js +0 -3
- package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +0 -3
- package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +0 -3
- package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +0 -3
- package/dist/stateDiagram-D77RDMKH-YfzmviNY.js +0 -220
- package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +0 -30
- package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +0 -31
- package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +0 -3
- package/dist/treemap-WGGIJYW6-Cjjk75wA.js +0 -3
- package/dist/wardley-WFR3VGLG-BamDiE0x.js +0 -3
- /package/dist/hooks/{useClickOutside.d.ts → useClickOutside/useClickOutside.d.ts} +0 -0
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { n as
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { C as e, G as t, H as n, U as r, _ as i, a, b as o, d as s, it as c, q as l, s as u, st as d, v as f } from "./chunk-DSNLSHJZ-B1A8wsiA.js";
|
|
2
|
+
import { n as p } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
3
|
+
import { m, p as h } from "./src-CY9Rz0Sf.js";
|
|
4
|
+
import { t as g } from "./channel-CcHUzwZl.js";
|
|
5
|
+
import { _, c as v } from "./chunk-7S6XSTFO-CN6S2H1-.js";
|
|
6
|
+
import { n as ee, t as te } from "./chunk-LNGE3PJU-ByFTjlja.js";
|
|
7
|
+
import { i as ne, n as y, o as b, r as x } from "./chunk-J5ZVWO5B-CYzz6Pq8.js";
|
|
8
|
+
import { a as S } from "./chunk-HAGFOTED-IzyIoLzD.js";
|
|
9
|
+
import { r as C, t as w } from "./chunk-EJLWFMJV-Cu6XnLfk.js";
|
|
10
|
+
import { t as T } from "./chunk-5VM5RSS4-Cr17nBXp.js";
|
|
11
|
+
import { t as E } from "./chunk-55XCU76K-B1HtPImz.js";
|
|
12
|
+
import { t as D } from "./chunk-XXDRQBXY-CU-dbs05.js";
|
|
13
|
+
import { t as O } from "./chunk-VQ5W62QI-BSDHmyws.js";
|
|
14
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-NQOKRVIF.mjs
|
|
15
|
+
var re = "flowchart-", ie = class {
|
|
15
16
|
constructor() {
|
|
16
|
-
this.vertexCounter = 0, this.config =
|
|
17
|
+
this.vertexCounter = 0, this.config = o(), this.diagramId = "", this.vertices = /* @__PURE__ */ new Map(), this.edges = [], this.classes = /* @__PURE__ */ new Map(), this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.tooltips = /* @__PURE__ */ new Map(), this.subCount = 0, this.firstGraphFlag = !0, this.secCount = -1, this.posCrossRef = [], this.funs = [], this.setAccTitle = r, this.setAccDescription = n, this.setDiagramTitle = l, this.getAccTitle = f, this.getAccDescription = i, this.getDiagramTitle = e, this.funs.push(this.setupToolTips.bind(this)), this.addVertex = this.addVertex.bind(this), this.firstGraph = this.firstGraph.bind(this), this.setDirection = this.setDirection.bind(this), this.addSubGraph = this.addSubGraph.bind(this), this.addLink = this.addLink.bind(this), this.setLink = this.setLink.bind(this), this.updateLink = this.updateLink.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.destructLink = this.destructLink.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setTooltip = this.setTooltip.bind(this), this.updateLinkInterpolate = this.updateLinkInterpolate.bind(this), this.setClickFun = this.setClickFun.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.lex = { firstGraph: this.firstGraph.bind(this) }, this.clear(), this.setGen("gen-2");
|
|
17
18
|
}
|
|
18
19
|
static {
|
|
19
|
-
|
|
20
|
+
p(this, "FlowDB");
|
|
20
21
|
}
|
|
21
22
|
sanitizeText(e) {
|
|
22
|
-
return
|
|
23
|
+
return u.sanitizeText(e, this.config);
|
|
23
24
|
}
|
|
24
25
|
sanitizeNodeLabelType(e) {
|
|
25
26
|
switch (e) {
|
|
@@ -36,14 +37,14 @@ var T = "flowchart-", E = class {
|
|
|
36
37
|
for (let t of this.vertices.values()) if (t.id === e) return this.diagramId ? `${this.diagramId}-${t.domId}` : t.domId;
|
|
37
38
|
return this.diagramId ? `${this.diagramId}-${e}` : e;
|
|
38
39
|
}
|
|
39
|
-
addVertex(t, n, r, i, a,
|
|
40
|
-
if (!
|
|
40
|
+
addVertex(e, t, n, r, i, a, s = {}, c) {
|
|
41
|
+
if (!e || e.trim().length === 0) return;
|
|
41
42
|
let l;
|
|
42
43
|
if (c !== void 0) {
|
|
43
44
|
let e;
|
|
44
|
-
e = c.includes("\n") ? c + "\n" : "{\n" + c + "\n}", l =
|
|
45
|
+
e = c.includes("\n") ? c + "\n" : "{\n" + c + "\n}", l = ee(e, { schema: te });
|
|
45
46
|
}
|
|
46
|
-
let u = this.subGraphLookup.get(
|
|
47
|
+
let u = this.subGraphLookup.get(e);
|
|
47
48
|
if (u && l) {
|
|
48
49
|
u.metadata = {
|
|
49
50
|
...u.metadata,
|
|
@@ -51,36 +52,36 @@ var T = "flowchart-", E = class {
|
|
|
51
52
|
};
|
|
52
53
|
return;
|
|
53
54
|
}
|
|
54
|
-
let d = this.edges.find((
|
|
55
|
+
let d = this.edges.find((t) => t.id === e);
|
|
55
56
|
if (d) {
|
|
56
57
|
let e = l;
|
|
57
58
|
e?.animate !== void 0 && (d.animate = e.animate), e?.animation !== void 0 && (d.animation = e.animation), e?.curve !== void 0 && (d.interpolate = e.curve);
|
|
58
59
|
return;
|
|
59
60
|
}
|
|
60
|
-
let f, p = this.vertices.get(
|
|
61
|
-
if (p === void 0 && (
|
|
62
|
-
id:
|
|
61
|
+
let f, p = this.vertices.get(e);
|
|
62
|
+
if (p === void 0 && (t === void 0 && n === void 0 && r != null && m.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`), p = {
|
|
63
|
+
id: e,
|
|
63
64
|
labelType: "text",
|
|
64
|
-
domId:
|
|
65
|
+
domId: re + e + "-" + this.vertexCounter,
|
|
65
66
|
styles: [],
|
|
66
67
|
classes: []
|
|
67
|
-
}, this.vertices.set(
|
|
68
|
+
}, this.vertices.set(e, p)), this.vertexCounter++, t === void 0 ? p.text === void 0 && (p.text = e) : (this.config = o(), f = this.sanitizeText(t.text.trim()), p.labelType = t.type, f.startsWith("\"") && f.endsWith("\"") && (f = f.substring(1, f.length - 1)), p.text = f), n !== void 0 && (p.type = n), r?.forEach((e) => {
|
|
68
69
|
p.styles.push(e);
|
|
69
|
-
}),
|
|
70
|
+
}), i?.forEach((e) => {
|
|
70
71
|
p.classes.push(e);
|
|
71
|
-
}),
|
|
72
|
+
}), a !== void 0 && (p.dir = a), p.props === void 0 ? p.props = s : s !== void 0 && Object.assign(p.props, s), l !== void 0) {
|
|
72
73
|
if (l.shape) {
|
|
73
74
|
if (l.shape !== l.shape.toLowerCase() || l.shape.includes("_")) throw Error(`No such shape: ${l.shape}. Shape names should be lowercase.`);
|
|
74
|
-
if (!
|
|
75
|
+
if (!S(l.shape)) throw Error(`No such shape: ${l.shape}.`);
|
|
75
76
|
p.type = l?.shape;
|
|
76
77
|
}
|
|
77
|
-
l?.label && (p.text = l?.label, p.labelType = this.sanitizeNodeLabelType(l?.labelType)), l?.icon && (p.icon = l?.icon, !l.label?.trim() && p.text ===
|
|
78
|
+
l?.label && (p.text = l?.label, p.labelType = this.sanitizeNodeLabelType(l?.labelType)), l?.icon && (p.icon = l?.icon, !l.label?.trim() && p.text === e && (p.text = "")), l?.form && (p.form = l?.form), l?.pos && (p.pos = l?.pos), l?.img && (p.img = l?.img, !l.label?.trim() && p.text === e && (p.text = "")), l?.constraint && (p.constraint = l.constraint), l.w && (p.assetWidth = Number(l.w)), l.h && (p.assetHeight = Number(l.h));
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
|
-
addSingleLink(t, n, r
|
|
81
|
-
let
|
|
82
|
-
start:
|
|
83
|
-
end:
|
|
81
|
+
addSingleLink(e, t, n, r) {
|
|
82
|
+
let i = {
|
|
83
|
+
start: e,
|
|
84
|
+
end: t,
|
|
84
85
|
type: void 0,
|
|
85
86
|
text: "",
|
|
86
87
|
labelType: "text",
|
|
@@ -88,20 +89,20 @@ var T = "flowchart-", E = class {
|
|
|
88
89
|
isUserDefinedId: !1,
|
|
89
90
|
interpolate: this.edges.defaultInterpolate
|
|
90
91
|
};
|
|
91
|
-
|
|
92
|
-
let
|
|
93
|
-
if (
|
|
92
|
+
m.info("abc78 Got edge...", i);
|
|
93
|
+
let a = n.text;
|
|
94
|
+
if (a !== void 0 && (i.text = this.sanitizeText(a.text.trim()), i.text.startsWith("\"") && i.text.endsWith("\"") && (i.text = i.text.substring(1, i.text.length - 1)), i.labelType = this.sanitizeNodeLabelType(a.type)), n !== void 0 && (i.type = n.type, i.stroke = n.stroke, i.length = n.length > 10 ? 10 : n.length), r && !this.edges.some((e) => e.id === r)) i.id = r, i.isUserDefinedId = !0;
|
|
94
95
|
else {
|
|
95
|
-
let e = this.edges.filter((e) => e.start ===
|
|
96
|
-
|
|
96
|
+
let e = this.edges.filter((e) => e.start === i.start && e.end === i.end);
|
|
97
|
+
i.id = e.length === 0 ? v(i.start, i.end, {
|
|
97
98
|
counter: 0,
|
|
98
99
|
prefix: "L"
|
|
99
|
-
}) :
|
|
100
|
+
}) : v(i.start, i.end, {
|
|
100
101
|
counter: e.length + 1,
|
|
101
102
|
prefix: "L"
|
|
102
103
|
});
|
|
103
104
|
}
|
|
104
|
-
if (this.edges.length < (this.config.maxEdges ?? 500))
|
|
105
|
+
if (this.edges.length < (this.config.maxEdges ?? 500)) m.info("Pushing edge..."), this.edges.push(i);
|
|
105
106
|
else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
|
|
106
107
|
|
|
107
108
|
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
@@ -111,12 +112,12 @@ You have to call mermaid.initialize.`);
|
|
|
111
112
|
isLinkData(e) {
|
|
112
113
|
return typeof e == "object" && !!e && "id" in e && typeof e.id == "string";
|
|
113
114
|
}
|
|
114
|
-
addLink(t, n
|
|
115
|
-
let
|
|
116
|
-
|
|
117
|
-
for (let
|
|
118
|
-
let o =
|
|
119
|
-
o && s ? this.addSingleLink(
|
|
115
|
+
addLink(e, t, n) {
|
|
116
|
+
let r = this.isLinkData(n) ? n.id.replace("@", "") : void 0;
|
|
117
|
+
m.info("addLink", e, t, r);
|
|
118
|
+
for (let i of e) for (let a of t) {
|
|
119
|
+
let o = i === e[e.length - 1], s = a === t[0];
|
|
120
|
+
o && s ? this.addSingleLink(i, a, n, r) : this.addSingleLink(i, a, n, void 0);
|
|
120
121
|
}
|
|
121
122
|
}
|
|
122
123
|
updateLinkInterpolate(e, t) {
|
|
@@ -167,7 +168,7 @@ You have to call mermaid.initialize.`);
|
|
|
167
168
|
}
|
|
168
169
|
}
|
|
169
170
|
setClickFun(e, t, n) {
|
|
170
|
-
if (
|
|
171
|
+
if (o().securityLevel !== "loose" || t === void 0) return;
|
|
171
172
|
let r = [];
|
|
172
173
|
if (typeof n == "string") {
|
|
173
174
|
r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
|
|
@@ -181,14 +182,14 @@ You have to call mermaid.initialize.`);
|
|
|
181
182
|
i && (i.haveCallback = !0, this.funs.push(() => {
|
|
182
183
|
let n = this.lookUpDomId(e), i = document.querySelector(`[id="${n}"]`);
|
|
183
184
|
i !== null && i.addEventListener("click", () => {
|
|
184
|
-
|
|
185
|
+
_.runFunc(t, ...r);
|
|
185
186
|
}, !1);
|
|
186
187
|
}));
|
|
187
188
|
}
|
|
188
189
|
setLink(e, t, n) {
|
|
189
190
|
e.split(",").forEach((e) => {
|
|
190
191
|
let r = this.vertices.get(e);
|
|
191
|
-
r !== void 0 && (r.link =
|
|
192
|
+
r !== void 0 && (r.link = _.formatUrl(t, this.config), r.linkTarget = n);
|
|
192
193
|
}), this.setClass(e, "clickable");
|
|
193
194
|
}
|
|
194
195
|
getTooltip(e) {
|
|
@@ -217,18 +218,18 @@ You have to call mermaid.initialize.`);
|
|
|
217
218
|
return this.classes;
|
|
218
219
|
}
|
|
219
220
|
setupToolTips(e) {
|
|
220
|
-
let
|
|
221
|
-
|
|
222
|
-
let
|
|
223
|
-
if (
|
|
224
|
-
let
|
|
225
|
-
|
|
221
|
+
let t = E();
|
|
222
|
+
h(e).select("svg").selectAll("g.node").on("mouseover", (e) => {
|
|
223
|
+
let n = h(e.currentTarget), r = n.attr("title");
|
|
224
|
+
if (r === null) return;
|
|
225
|
+
let i = e.currentTarget?.getBoundingClientRect();
|
|
226
|
+
t.transition().duration(200).style("opacity", ".9"), t.text(n.attr("title")).style("left", window.scrollX + i.left + (i.right - i.left) / 2 + "px").style("top", window.scrollY + i.bottom + "px"), t.html(d.sanitize(r)), n.classed("hover", !0);
|
|
226
227
|
}).on("mouseout", (e) => {
|
|
227
|
-
|
|
228
|
+
t.transition().duration(500).style("opacity", 0), h(e.currentTarget).classed("hover", !1);
|
|
228
229
|
});
|
|
229
230
|
}
|
|
230
231
|
clear(e = "gen-2") {
|
|
231
|
-
this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.diagramId = "", this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = e, this.config =
|
|
232
|
+
this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.diagramId = "", this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = e, this.config = o(), a();
|
|
232
233
|
}
|
|
233
234
|
setGen(e) {
|
|
234
235
|
this.version = e || "gen-2";
|
|
@@ -236,10 +237,10 @@ You have to call mermaid.initialize.`);
|
|
|
236
237
|
defaultStyle() {
|
|
237
238
|
return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
|
|
238
239
|
}
|
|
239
|
-
addSubGraph(t, n
|
|
240
|
-
let
|
|
241
|
-
|
|
242
|
-
let
|
|
240
|
+
addSubGraph(e, t, n) {
|
|
241
|
+
let r = e.text.trim(), i = n.text;
|
|
242
|
+
e === n && /\s/.exec(n.text) && (r = void 0);
|
|
243
|
+
let a = (/* @__PURE__ */ p((e) => {
|
|
243
244
|
let t = {
|
|
244
245
|
boolean: {},
|
|
245
246
|
number: {},
|
|
@@ -252,18 +253,20 @@ You have to call mermaid.initialize.`);
|
|
|
252
253
|
}),
|
|
253
254
|
dir: r
|
|
254
255
|
};
|
|
255
|
-
}, "uniq"))(
|
|
256
|
-
if (c ??= l.inheritDir ? this.getDirection() ??
|
|
257
|
-
|
|
256
|
+
}, "uniq"))(t.flat()), s = a.nodeList, c = a.dir, l = o().flowchart ?? {};
|
|
257
|
+
if (c ??= l.inheritDir ? this.getDirection() ?? o().direction ?? void 0 : void 0, this.version === "gen-1") for (let e = 0; e < s.length; e++) s[e] = this.lookUpDomId(s[e]);
|
|
258
|
+
r ??= "subGraph" + this.subCount, i ||= "", i = this.sanitizeText(i), this.subCount += 1;
|
|
258
259
|
let u = {
|
|
259
|
-
id:
|
|
260
|
+
id: r,
|
|
260
261
|
nodes: s,
|
|
261
|
-
title:
|
|
262
|
+
title: i.trim(),
|
|
262
263
|
classes: [],
|
|
263
264
|
dir: c,
|
|
264
|
-
labelType: this.sanitizeNodeLabelType(
|
|
265
|
+
labelType: this.sanitizeNodeLabelType(n?.type)
|
|
265
266
|
};
|
|
266
|
-
|
|
267
|
+
m.info("Adding", u.id, u.nodes, u.dir), u.nodes = this.makeUniq(u, this.subGraphs).nodes.filter((e) => e !== r);
|
|
268
|
+
let d = this.subGraphs.find((e) => e.id === r);
|
|
269
|
+
return d ? d.nodes.push(...u.nodes) : this.subGraphs.push(u), this.subGraphLookup.set(r, d ?? u), r;
|
|
267
270
|
}
|
|
268
271
|
getPosForId(e) {
|
|
269
272
|
for (let [t, n] of this.subGraphs.entries()) if (n.id === e) return t;
|
|
@@ -449,7 +452,8 @@ You have to call mermaid.initialize.`);
|
|
|
449
452
|
}) : t.push({
|
|
450
453
|
...n,
|
|
451
454
|
isGroup: !1,
|
|
452
|
-
shape: this.getTypeFromVertex(e)
|
|
455
|
+
shape: this.getTypeFromVertex(e),
|
|
456
|
+
minWidth: i.flowchart?.minNodeWidth
|
|
453
457
|
});
|
|
454
458
|
}
|
|
455
459
|
}
|
|
@@ -462,30 +466,40 @@ You have to call mermaid.initialize.`);
|
|
|
462
466
|
return t;
|
|
463
467
|
}
|
|
464
468
|
getData() {
|
|
465
|
-
let e =
|
|
466
|
-
for (let e of r) for (let t of e.nodes) this.subGraphLookup.has(t) &&
|
|
467
|
-
let
|
|
469
|
+
let e = o(), t = [], n = [], r = this.getSubGraphs(), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
|
|
470
|
+
for (let e of r) for (let t of e.nodes) this.subGraphLookup.has(t) && s.set(t, e.id);
|
|
471
|
+
let c = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map();
|
|
472
|
+
for (let e of r) {
|
|
473
|
+
let t = s.get(e.id);
|
|
474
|
+
t !== void 0 && l.set(t, [...l.get(t) ?? [], e.id]);
|
|
475
|
+
}
|
|
476
|
+
let u = 0, d = /* @__PURE__ */ p((e) => {
|
|
477
|
+
c.set(e, u++);
|
|
478
|
+
for (let t of l.get(e) ?? []) d(t);
|
|
479
|
+
}, "walk");
|
|
480
|
+
for (let e of r) s.has(e.id) || d(e.id);
|
|
481
|
+
let f = /* @__PURE__ */ p((e) => this.subGraphLookup.get(e)?.metadata?.view === "collapsed", "isCollapsed"), m = /* @__PURE__ */ p((e) => {
|
|
468
482
|
let t, n = /* @__PURE__ */ new Set(), r = e;
|
|
469
|
-
for (; r !== void 0 && !n.has(r);) n.add(r),
|
|
483
|
+
for (; r !== void 0 && !n.has(r);) n.add(r), f(r) && (t = r), r = s.get(r);
|
|
470
484
|
return t;
|
|
471
|
-
}, "outermostCollapsed"),
|
|
485
|
+
}, "outermostCollapsed"), h = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Map();
|
|
472
486
|
for (let e of r) {
|
|
473
|
-
let t =
|
|
487
|
+
let t = m(e.id);
|
|
474
488
|
if (t !== void 0) {
|
|
475
|
-
e.id !== t && (
|
|
476
|
-
for (let n of e.nodes) n !== t && (
|
|
489
|
+
e.id !== t && (h.add(e.id), g.set(e.id, t));
|
|
490
|
+
for (let n of e.nodes) n !== t && (h.add(n), g.set(n, t));
|
|
477
491
|
}
|
|
478
492
|
}
|
|
479
493
|
for (let e = r.length - 1; e >= 0; e--) {
|
|
480
494
|
let t = r[e];
|
|
481
|
-
if (!
|
|
495
|
+
if (!h.has(t.id)) {
|
|
482
496
|
t.nodes.length > 0 && a.set(t.id, !0);
|
|
483
497
|
for (let e of t.nodes) i.set(e, t.id);
|
|
484
498
|
}
|
|
485
499
|
}
|
|
486
500
|
for (let n = r.length - 1; n >= 0; n--) {
|
|
487
501
|
let a = r[n];
|
|
488
|
-
|
|
502
|
+
h.has(a.id) || (a.metadata?.view === "collapsed" ? t.push({
|
|
489
503
|
id: a.id,
|
|
490
504
|
label: a.title,
|
|
491
505
|
labelStyle: "",
|
|
@@ -497,7 +511,8 @@ You have to call mermaid.initialize.`);
|
|
|
497
511
|
shape: "collapsedGroup",
|
|
498
512
|
dir: a.dir,
|
|
499
513
|
isGroup: !1,
|
|
500
|
-
look: e.look
|
|
514
|
+
look: e.look,
|
|
515
|
+
colorIndex: c.get(a.id)
|
|
501
516
|
}) : t.push({
|
|
502
517
|
id: a.id,
|
|
503
518
|
label: a.title,
|
|
@@ -510,19 +525,21 @@ You have to call mermaid.initialize.`);
|
|
|
510
525
|
shape: "rect",
|
|
511
526
|
dir: a.dir,
|
|
512
527
|
isGroup: !0,
|
|
513
|
-
look: e.look
|
|
528
|
+
look: e.look,
|
|
529
|
+
colorIndex: c.get(a.id),
|
|
530
|
+
metadata: a.metadata
|
|
514
531
|
}));
|
|
515
532
|
}
|
|
516
533
|
this.getVertices().forEach((n) => {
|
|
517
|
-
|
|
534
|
+
h.has(n.id) || this.addNodeFromVertex(n, t, i, a, e, e.look || "classic");
|
|
518
535
|
});
|
|
519
|
-
let
|
|
520
|
-
return
|
|
521
|
-
let { arrowTypeStart: i, arrowTypeEnd: a } = this.destructEdgeType(t.type), o = [...
|
|
522
|
-
if (s === c && (
|
|
536
|
+
let _ = this.getEdges();
|
|
537
|
+
return _.forEach((t, r) => {
|
|
538
|
+
let { arrowTypeStart: i, arrowTypeEnd: a } = this.destructEdgeType(t.type), o = [..._.defaultStyle ?? []], s = g.get(t.start) ?? t.start, c = g.get(t.end) ?? t.end;
|
|
539
|
+
if (s === c && (g.has(t.start) || g.has(t.end))) return;
|
|
523
540
|
t.style && o.push(...t.style);
|
|
524
541
|
let l = {
|
|
525
|
-
id:
|
|
542
|
+
id: v(s, c, {
|
|
526
543
|
counter: r,
|
|
527
544
|
prefix: "L"
|
|
528
545
|
}, t.id),
|
|
@@ -559,27 +576,27 @@ You have to call mermaid.initialize.`);
|
|
|
559
576
|
defaultConfig() {
|
|
560
577
|
return s.flowchart;
|
|
561
578
|
}
|
|
562
|
-
},
|
|
563
|
-
getClasses: /* @__PURE__ */
|
|
579
|
+
}, ae = {
|
|
580
|
+
getClasses: /* @__PURE__ */ p(function(e, t) {
|
|
564
581
|
return t.db.getClasses();
|
|
565
582
|
}, "getClasses"),
|
|
566
|
-
draw: /* @__PURE__ */
|
|
567
|
-
|
|
568
|
-
let { securityLevel:
|
|
569
|
-
|
|
570
|
-
let c =
|
|
571
|
-
|
|
572
|
-
let l =
|
|
573
|
-
c.type =
|
|
583
|
+
draw: /* @__PURE__ */ p(async function(e, t, n, r) {
|
|
584
|
+
m.info("REF0:"), m.info("Drawing state diagram (v2)", t);
|
|
585
|
+
let { securityLevel: i, flowchart: a, layout: s } = o();
|
|
586
|
+
r.db.setDiagramId(t), m.debug("Before getData: ");
|
|
587
|
+
let c = r.db.getData();
|
|
588
|
+
m.debug("Data: ", c);
|
|
589
|
+
let l = D(t, i), u = r.db.getDirection();
|
|
590
|
+
c.type = r.type, c.layoutAlgorithm = w(s), c.direction = u, c.nodeSpacing = a?.nodeSpacing || 50, c.rankSpacing = a?.rankSpacing || 50, c.markers = [
|
|
574
591
|
"point",
|
|
575
592
|
"circle",
|
|
576
593
|
"cross"
|
|
577
|
-
], c.diagramId =
|
|
594
|
+
], c.diagramId = t, m.debug("REF1:", c), await C(c, l);
|
|
578
595
|
let d = c.config.flowchart?.diagramPadding ?? 8;
|
|
579
|
-
|
|
596
|
+
_.insertTitle(l, "flowchartTitleText", a?.titleTopMargin || 0, r.db.getDiagramTitle()), O(l, d, "flowchart", a?.useMaxWidth || !1);
|
|
580
597
|
}, "draw")
|
|
581
|
-
},
|
|
582
|
-
var e = /* @__PURE__ */
|
|
598
|
+
}, oe = (function() {
|
|
599
|
+
var e = /* @__PURE__ */ p(function(e, t, n, r) {
|
|
583
600
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
584
601
|
return n;
|
|
585
602
|
}, "o"), t = [1, 4], n = [1, 3], r = [1, 5], i = [
|
|
@@ -613,7 +630,7 @@ You have to call mermaid.initialize.`);
|
|
|
613
630
|
123,
|
|
614
631
|
124,
|
|
615
632
|
125
|
|
616
|
-
], a = [2, 2], o = [1, 13], s = [1, 14], c = [1, 15], l = [1, 16], u = [1, 23], d = [1, 25], f = [1, 26],
|
|
633
|
+
], a = [2, 2], o = [1, 13], s = [1, 14], c = [1, 15], l = [1, 16], u = [1, 23], d = [1, 25], f = [1, 26], m = [1, 27], h = [1, 50], g = [1, 49], _ = [1, 29], v = [1, 30], ee = [1, 31], te = [1, 32], ne = [1, 33], y = [1, 45], b = [1, 47], x = [1, 43], S = [1, 48], C = [1, 44], w = [1, 51], T = [1, 46], E = [1, 52], D = [1, 53], O = [1, 34], re = [1, 35], ie = [1, 36], ae = [1, 37], oe = [1, 38], k = [1, 58], A = [
|
|
617
634
|
1,
|
|
618
635
|
8,
|
|
619
636
|
9,
|
|
@@ -864,7 +881,7 @@ You have to call mermaid.initialize.`);
|
|
|
864
881
|
111,
|
|
865
882
|
112
|
|
866
883
|
], rt = {
|
|
867
|
-
trace: /* @__PURE__ */
|
|
884
|
+
trace: /* @__PURE__ */ p(function() {}, "trace"),
|
|
868
885
|
yy: {},
|
|
869
886
|
symbols_: {
|
|
870
887
|
error: 2,
|
|
@@ -1272,7 +1289,7 @@ You have to call mermaid.initialize.`);
|
|
|
1272
1289
|
[33, 1],
|
|
1273
1290
|
[33, 1]
|
|
1274
1291
|
],
|
|
1275
|
-
performAction: /* @__PURE__ */
|
|
1292
|
+
performAction: /* @__PURE__ */ p(function(e, t, n, r, i, a, o) {
|
|
1276
1293
|
var s = a.length - 1;
|
|
1277
1294
|
switch (i) {
|
|
1278
1295
|
case 2:
|
|
@@ -1701,30 +1718,30 @@ You have to call mermaid.initialize.`);
|
|
|
1701
1718
|
33: 24,
|
|
1702
1719
|
34: d,
|
|
1703
1720
|
36: f,
|
|
1704
|
-
38:
|
|
1721
|
+
38: m,
|
|
1705
1722
|
42: 28,
|
|
1706
1723
|
43: 39,
|
|
1707
|
-
44:
|
|
1724
|
+
44: h,
|
|
1708
1725
|
45: 40,
|
|
1709
1726
|
47: 41,
|
|
1710
|
-
60:
|
|
1711
|
-
84:
|
|
1712
|
-
85:
|
|
1713
|
-
86:
|
|
1714
|
-
87:
|
|
1715
|
-
88:
|
|
1716
|
-
89:
|
|
1717
|
-
102:
|
|
1718
|
-
105:
|
|
1719
|
-
106:
|
|
1720
|
-
109:
|
|
1721
|
-
111:
|
|
1727
|
+
60: g,
|
|
1728
|
+
84: _,
|
|
1729
|
+
85: v,
|
|
1730
|
+
86: ee,
|
|
1731
|
+
87: te,
|
|
1732
|
+
88: ne,
|
|
1733
|
+
89: y,
|
|
1734
|
+
102: b,
|
|
1735
|
+
105: x,
|
|
1736
|
+
106: S,
|
|
1737
|
+
109: C,
|
|
1738
|
+
111: w,
|
|
1722
1739
|
113: 42,
|
|
1723
|
-
114:
|
|
1724
|
-
115:
|
|
1725
|
-
116:
|
|
1726
|
-
121:
|
|
1727
|
-
122:
|
|
1740
|
+
114: T,
|
|
1741
|
+
115: E,
|
|
1742
|
+
116: D,
|
|
1743
|
+
121: O,
|
|
1744
|
+
122: re,
|
|
1728
1745
|
123: ie,
|
|
1729
1746
|
124: ae,
|
|
1730
1747
|
125: oe
|
|
@@ -1835,28 +1852,28 @@ You have to call mermaid.initialize.`);
|
|
|
1835
1852
|
e(P, [2, 72], {
|
|
1836
1853
|
113: 113,
|
|
1837
1854
|
29: [1, 101],
|
|
1838
|
-
44:
|
|
1855
|
+
44: h,
|
|
1839
1856
|
48: [1, 102],
|
|
1840
1857
|
50: [1, 103],
|
|
1841
1858
|
52: [1, 104],
|
|
1842
1859
|
54: [1, 105],
|
|
1843
1860
|
56: [1, 106],
|
|
1844
1861
|
58: [1, 107],
|
|
1845
|
-
60:
|
|
1862
|
+
60: g,
|
|
1846
1863
|
63: [1, 108],
|
|
1847
1864
|
65: [1, 109],
|
|
1848
1865
|
67: [1, 110],
|
|
1849
1866
|
68: [1, 111],
|
|
1850
1867
|
70: [1, 112],
|
|
1851
|
-
89:
|
|
1852
|
-
102:
|
|
1853
|
-
105:
|
|
1854
|
-
106:
|
|
1855
|
-
109:
|
|
1856
|
-
111:
|
|
1857
|
-
114:
|
|
1858
|
-
115:
|
|
1859
|
-
116:
|
|
1868
|
+
89: y,
|
|
1869
|
+
102: b,
|
|
1870
|
+
105: x,
|
|
1871
|
+
106: S,
|
|
1872
|
+
109: C,
|
|
1873
|
+
111: w,
|
|
1874
|
+
114: T,
|
|
1875
|
+
115: E,
|
|
1876
|
+
116: D
|
|
1860
1877
|
}),
|
|
1861
1878
|
e(F, [2, 181]),
|
|
1862
1879
|
e(F, [2, 142]),
|
|
@@ -1882,20 +1899,20 @@ You have to call mermaid.initialize.`);
|
|
|
1882
1899
|
{
|
|
1883
1900
|
42: 116,
|
|
1884
1901
|
43: 39,
|
|
1885
|
-
44:
|
|
1902
|
+
44: h,
|
|
1886
1903
|
45: 40,
|
|
1887
1904
|
47: 41,
|
|
1888
|
-
60:
|
|
1889
|
-
89:
|
|
1890
|
-
102:
|
|
1891
|
-
105:
|
|
1892
|
-
106:
|
|
1893
|
-
109:
|
|
1894
|
-
111:
|
|
1905
|
+
60: g,
|
|
1906
|
+
89: y,
|
|
1907
|
+
102: b,
|
|
1908
|
+
105: x,
|
|
1909
|
+
106: S,
|
|
1910
|
+
109: C,
|
|
1911
|
+
111: w,
|
|
1895
1912
|
113: 42,
|
|
1896
|
-
114:
|
|
1897
|
-
115:
|
|
1898
|
-
116:
|
|
1913
|
+
114: T,
|
|
1914
|
+
115: E,
|
|
1915
|
+
116: D
|
|
1899
1916
|
},
|
|
1900
1917
|
e(A, [2, 40]),
|
|
1901
1918
|
e(A, [2, 41]),
|
|
@@ -1962,19 +1979,19 @@ You have to call mermaid.initialize.`);
|
|
|
1962
1979
|
}),
|
|
1963
1980
|
e(be, [2, 44]),
|
|
1964
1981
|
{
|
|
1965
|
-
44:
|
|
1982
|
+
44: h,
|
|
1966
1983
|
47: 158,
|
|
1967
|
-
60:
|
|
1968
|
-
89:
|
|
1969
|
-
102:
|
|
1970
|
-
105:
|
|
1971
|
-
106:
|
|
1972
|
-
109:
|
|
1973
|
-
111:
|
|
1984
|
+
60: g,
|
|
1985
|
+
89: y,
|
|
1986
|
+
102: b,
|
|
1987
|
+
105: x,
|
|
1988
|
+
106: S,
|
|
1989
|
+
109: C,
|
|
1990
|
+
111: w,
|
|
1974
1991
|
113: 42,
|
|
1975
|
-
114:
|
|
1976
|
-
115:
|
|
1977
|
-
116:
|
|
1992
|
+
114: T,
|
|
1993
|
+
115: E,
|
|
1994
|
+
116: D
|
|
1978
1995
|
},
|
|
1979
1996
|
{
|
|
1980
1997
|
102: [1, 159],
|
|
@@ -1982,34 +1999,34 @@ You have to call mermaid.initialize.`);
|
|
|
1982
1999
|
105: [1, 161]
|
|
1983
2000
|
},
|
|
1984
2001
|
{
|
|
1985
|
-
44:
|
|
2002
|
+
44: h,
|
|
1986
2003
|
47: 162,
|
|
1987
|
-
60:
|
|
1988
|
-
89:
|
|
1989
|
-
102:
|
|
1990
|
-
105:
|
|
1991
|
-
106:
|
|
1992
|
-
109:
|
|
1993
|
-
111:
|
|
2004
|
+
60: g,
|
|
2005
|
+
89: y,
|
|
2006
|
+
102: b,
|
|
2007
|
+
105: x,
|
|
2008
|
+
106: S,
|
|
2009
|
+
109: C,
|
|
2010
|
+
111: w,
|
|
1994
2011
|
113: 42,
|
|
1995
|
-
114:
|
|
1996
|
-
115:
|
|
1997
|
-
116:
|
|
2012
|
+
114: T,
|
|
2013
|
+
115: E,
|
|
2014
|
+
116: D
|
|
1998
2015
|
},
|
|
1999
2016
|
{
|
|
2000
|
-
44:
|
|
2017
|
+
44: h,
|
|
2001
2018
|
47: 163,
|
|
2002
|
-
60:
|
|
2003
|
-
89:
|
|
2004
|
-
102:
|
|
2005
|
-
105:
|
|
2006
|
-
106:
|
|
2007
|
-
109:
|
|
2008
|
-
111:
|
|
2019
|
+
60: g,
|
|
2020
|
+
89: y,
|
|
2021
|
+
102: b,
|
|
2022
|
+
105: x,
|
|
2023
|
+
106: S,
|
|
2024
|
+
109: C,
|
|
2025
|
+
111: w,
|
|
2009
2026
|
113: 42,
|
|
2010
|
-
114:
|
|
2011
|
-
115:
|
|
2012
|
-
116:
|
|
2027
|
+
114: T,
|
|
2028
|
+
115: E,
|
|
2029
|
+
116: D
|
|
2013
2030
|
},
|
|
2014
2031
|
e(I, [2, 107], {
|
|
2015
2032
|
10: [1, 164],
|
|
@@ -2045,19 +2062,19 @@ You have to call mermaid.initialize.`);
|
|
|
2045
2062
|
e(L, [2, 179]),
|
|
2046
2063
|
e(L, [2, 180]),
|
|
2047
2064
|
{
|
|
2048
|
-
44:
|
|
2065
|
+
44: h,
|
|
2049
2066
|
47: 170,
|
|
2050
|
-
60:
|
|
2051
|
-
89:
|
|
2052
|
-
102:
|
|
2053
|
-
105:
|
|
2054
|
-
106:
|
|
2055
|
-
109:
|
|
2056
|
-
111:
|
|
2067
|
+
60: g,
|
|
2068
|
+
89: y,
|
|
2069
|
+
102: b,
|
|
2070
|
+
105: x,
|
|
2071
|
+
106: S,
|
|
2072
|
+
109: C,
|
|
2073
|
+
111: w,
|
|
2057
2074
|
113: 42,
|
|
2058
|
-
114:
|
|
2059
|
-
115:
|
|
2060
|
-
116:
|
|
2075
|
+
114: T,
|
|
2076
|
+
115: E,
|
|
2077
|
+
116: D
|
|
2061
2078
|
},
|
|
2062
2079
|
{
|
|
2063
2080
|
30: 171,
|
|
@@ -2286,30 +2303,30 @@ You have to call mermaid.initialize.`);
|
|
|
2286
2303
|
33: 24,
|
|
2287
2304
|
34: d,
|
|
2288
2305
|
36: f,
|
|
2289
|
-
38:
|
|
2306
|
+
38: m,
|
|
2290
2307
|
42: 28,
|
|
2291
2308
|
43: 39,
|
|
2292
|
-
44:
|
|
2309
|
+
44: h,
|
|
2293
2310
|
45: 40,
|
|
2294
2311
|
47: 41,
|
|
2295
|
-
60:
|
|
2296
|
-
84:
|
|
2297
|
-
85:
|
|
2298
|
-
86:
|
|
2299
|
-
87:
|
|
2300
|
-
88:
|
|
2301
|
-
89:
|
|
2302
|
-
102:
|
|
2303
|
-
105:
|
|
2304
|
-
106:
|
|
2305
|
-
109:
|
|
2306
|
-
111:
|
|
2312
|
+
60: g,
|
|
2313
|
+
84: _,
|
|
2314
|
+
85: v,
|
|
2315
|
+
86: ee,
|
|
2316
|
+
87: te,
|
|
2317
|
+
88: ne,
|
|
2318
|
+
89: y,
|
|
2319
|
+
102: b,
|
|
2320
|
+
105: x,
|
|
2321
|
+
106: S,
|
|
2322
|
+
109: C,
|
|
2323
|
+
111: w,
|
|
2307
2324
|
113: 42,
|
|
2308
|
-
114:
|
|
2309
|
-
115:
|
|
2310
|
-
116:
|
|
2311
|
-
121:
|
|
2312
|
-
122:
|
|
2325
|
+
114: T,
|
|
2326
|
+
115: E,
|
|
2327
|
+
116: D,
|
|
2328
|
+
121: O,
|
|
2329
|
+
122: re,
|
|
2313
2330
|
123: ie,
|
|
2314
2331
|
124: ae,
|
|
2315
2332
|
125: oe
|
|
@@ -2322,18 +2339,18 @@ You have to call mermaid.initialize.`);
|
|
|
2322
2339
|
e(be, [2, 43]),
|
|
2323
2340
|
{
|
|
2324
2341
|
10: [1, 206],
|
|
2325
|
-
44:
|
|
2326
|
-
60:
|
|
2327
|
-
89:
|
|
2328
|
-
102:
|
|
2329
|
-
105:
|
|
2330
|
-
106:
|
|
2331
|
-
109:
|
|
2332
|
-
111:
|
|
2342
|
+
44: h,
|
|
2343
|
+
60: g,
|
|
2344
|
+
89: y,
|
|
2345
|
+
102: b,
|
|
2346
|
+
105: x,
|
|
2347
|
+
106: S,
|
|
2348
|
+
109: C,
|
|
2349
|
+
111: w,
|
|
2333
2350
|
113: 113,
|
|
2334
|
-
114:
|
|
2335
|
-
115:
|
|
2336
|
-
116:
|
|
2351
|
+
114: T,
|
|
2352
|
+
115: E,
|
|
2353
|
+
116: D
|
|
2337
2354
|
},
|
|
2338
2355
|
{ 10: [1, 207] },
|
|
2339
2356
|
{
|
|
@@ -2343,33 +2360,33 @@ You have to call mermaid.initialize.`);
|
|
|
2343
2360
|
e($e, [2, 128]),
|
|
2344
2361
|
{
|
|
2345
2362
|
10: [1, 210],
|
|
2346
|
-
44:
|
|
2347
|
-
60:
|
|
2348
|
-
89:
|
|
2349
|
-
102:
|
|
2350
|
-
105:
|
|
2351
|
-
106:
|
|
2352
|
-
109:
|
|
2353
|
-
111:
|
|
2363
|
+
44: h,
|
|
2364
|
+
60: g,
|
|
2365
|
+
89: y,
|
|
2366
|
+
102: b,
|
|
2367
|
+
105: x,
|
|
2368
|
+
106: S,
|
|
2369
|
+
109: C,
|
|
2370
|
+
111: w,
|
|
2354
2371
|
113: 113,
|
|
2355
|
-
114:
|
|
2356
|
-
115:
|
|
2357
|
-
116:
|
|
2372
|
+
114: T,
|
|
2373
|
+
115: E,
|
|
2374
|
+
116: D
|
|
2358
2375
|
},
|
|
2359
2376
|
{
|
|
2360
2377
|
10: [1, 211],
|
|
2361
|
-
44:
|
|
2362
|
-
60:
|
|
2363
|
-
89:
|
|
2364
|
-
102:
|
|
2365
|
-
105:
|
|
2366
|
-
106:
|
|
2367
|
-
109:
|
|
2368
|
-
111:
|
|
2378
|
+
44: h,
|
|
2379
|
+
60: g,
|
|
2380
|
+
89: y,
|
|
2381
|
+
102: b,
|
|
2382
|
+
105: x,
|
|
2383
|
+
106: S,
|
|
2384
|
+
109: C,
|
|
2385
|
+
111: w,
|
|
2369
2386
|
113: 113,
|
|
2370
|
-
114:
|
|
2371
|
-
115:
|
|
2372
|
-
116:
|
|
2387
|
+
114: T,
|
|
2388
|
+
115: E,
|
|
2389
|
+
116: D
|
|
2373
2390
|
},
|
|
2374
2391
|
{ 80: [1, 212] },
|
|
2375
2392
|
e(I, [2, 109], { 10: [1, 213] }),
|
|
@@ -2382,17 +2399,17 @@ You have to call mermaid.initialize.`);
|
|
|
2382
2399
|
},
|
|
2383
2400
|
e(be, [2, 55], {
|
|
2384
2401
|
113: 113,
|
|
2385
|
-
44:
|
|
2386
|
-
60:
|
|
2387
|
-
89:
|
|
2388
|
-
102:
|
|
2389
|
-
105:
|
|
2390
|
-
106:
|
|
2391
|
-
109:
|
|
2392
|
-
111:
|
|
2393
|
-
114:
|
|
2394
|
-
115:
|
|
2395
|
-
116:
|
|
2402
|
+
44: h,
|
|
2403
|
+
60: g,
|
|
2404
|
+
89: y,
|
|
2405
|
+
102: b,
|
|
2406
|
+
105: x,
|
|
2407
|
+
106: S,
|
|
2408
|
+
109: C,
|
|
2409
|
+
111: w,
|
|
2410
|
+
114: T,
|
|
2411
|
+
115: E,
|
|
2412
|
+
116: D
|
|
2396
2413
|
}),
|
|
2397
2414
|
{
|
|
2398
2415
|
31: [1, 218],
|
|
@@ -2551,20 +2568,20 @@ You have to call mermaid.initialize.`);
|
|
|
2551
2568
|
e(A, [2, 35]),
|
|
2552
2569
|
{
|
|
2553
2570
|
43: 239,
|
|
2554
|
-
44:
|
|
2571
|
+
44: h,
|
|
2555
2572
|
45: 40,
|
|
2556
2573
|
47: 41,
|
|
2557
|
-
60:
|
|
2558
|
-
89:
|
|
2559
|
-
102:
|
|
2560
|
-
105:
|
|
2561
|
-
106:
|
|
2562
|
-
109:
|
|
2563
|
-
111:
|
|
2574
|
+
60: g,
|
|
2575
|
+
89: y,
|
|
2576
|
+
102: b,
|
|
2577
|
+
105: x,
|
|
2578
|
+
106: S,
|
|
2579
|
+
109: C,
|
|
2580
|
+
111: w,
|
|
2564
2581
|
113: 42,
|
|
2565
|
-
114:
|
|
2566
|
-
115:
|
|
2567
|
-
116:
|
|
2582
|
+
114: T,
|
|
2583
|
+
115: E,
|
|
2584
|
+
116: D
|
|
2568
2585
|
},
|
|
2569
2586
|
{
|
|
2570
2587
|
10: k,
|
|
@@ -2626,19 +2643,19 @@ You have to call mermaid.initialize.`);
|
|
|
2626
2643
|
112: Q
|
|
2627
2644
|
},
|
|
2628
2645
|
{
|
|
2629
|
-
44:
|
|
2646
|
+
44: h,
|
|
2630
2647
|
47: 258,
|
|
2631
|
-
60:
|
|
2632
|
-
89:
|
|
2633
|
-
102:
|
|
2634
|
-
105:
|
|
2635
|
-
106:
|
|
2636
|
-
109:
|
|
2637
|
-
111:
|
|
2648
|
+
60: g,
|
|
2649
|
+
89: y,
|
|
2650
|
+
102: b,
|
|
2651
|
+
105: x,
|
|
2652
|
+
106: S,
|
|
2653
|
+
109: C,
|
|
2654
|
+
111: w,
|
|
2638
2655
|
113: 42,
|
|
2639
|
-
114:
|
|
2640
|
-
115:
|
|
2641
|
-
116:
|
|
2656
|
+
114: T,
|
|
2657
|
+
115: E,
|
|
2658
|
+
116: D
|
|
2642
2659
|
},
|
|
2643
2660
|
e(I, [2, 108]),
|
|
2644
2661
|
{ 80: [1, 259] },
|
|
@@ -2721,30 +2738,30 @@ You have to call mermaid.initialize.`);
|
|
|
2721
2738
|
33: 24,
|
|
2722
2739
|
34: d,
|
|
2723
2740
|
36: f,
|
|
2724
|
-
38:
|
|
2741
|
+
38: m,
|
|
2725
2742
|
42: 28,
|
|
2726
2743
|
43: 39,
|
|
2727
|
-
44:
|
|
2744
|
+
44: h,
|
|
2728
2745
|
45: 40,
|
|
2729
2746
|
47: 41,
|
|
2730
|
-
60:
|
|
2731
|
-
84:
|
|
2732
|
-
85:
|
|
2733
|
-
86:
|
|
2734
|
-
87:
|
|
2735
|
-
88:
|
|
2736
|
-
89:
|
|
2737
|
-
102:
|
|
2738
|
-
105:
|
|
2739
|
-
106:
|
|
2740
|
-
109:
|
|
2741
|
-
111:
|
|
2747
|
+
60: g,
|
|
2748
|
+
84: _,
|
|
2749
|
+
85: v,
|
|
2750
|
+
86: ee,
|
|
2751
|
+
87: te,
|
|
2752
|
+
88: ne,
|
|
2753
|
+
89: y,
|
|
2754
|
+
102: b,
|
|
2755
|
+
105: x,
|
|
2756
|
+
106: S,
|
|
2757
|
+
109: C,
|
|
2758
|
+
111: w,
|
|
2742
2759
|
113: 42,
|
|
2743
|
-
114:
|
|
2744
|
-
115:
|
|
2745
|
-
116:
|
|
2746
|
-
121:
|
|
2747
|
-
122:
|
|
2760
|
+
114: T,
|
|
2761
|
+
115: E,
|
|
2762
|
+
116: D,
|
|
2763
|
+
121: O,
|
|
2764
|
+
122: re,
|
|
2748
2765
|
123: ie,
|
|
2749
2766
|
124: ae,
|
|
2750
2767
|
125: oe
|
|
@@ -2752,20 +2769,20 @@ You have to call mermaid.initialize.`);
|
|
|
2752
2769
|
e(be, [2, 53]),
|
|
2753
2770
|
{
|
|
2754
2771
|
43: 268,
|
|
2755
|
-
44:
|
|
2772
|
+
44: h,
|
|
2756
2773
|
45: 40,
|
|
2757
2774
|
47: 41,
|
|
2758
|
-
60:
|
|
2759
|
-
89:
|
|
2760
|
-
102:
|
|
2761
|
-
105:
|
|
2762
|
-
106:
|
|
2763
|
-
109:
|
|
2764
|
-
111:
|
|
2775
|
+
60: g,
|
|
2776
|
+
89: y,
|
|
2777
|
+
102: b,
|
|
2778
|
+
105: x,
|
|
2779
|
+
106: S,
|
|
2780
|
+
109: C,
|
|
2781
|
+
111: w,
|
|
2765
2782
|
113: 42,
|
|
2766
|
-
114:
|
|
2767
|
-
115:
|
|
2768
|
-
116:
|
|
2783
|
+
114: T,
|
|
2784
|
+
115: E,
|
|
2785
|
+
116: D
|
|
2769
2786
|
},
|
|
2770
2787
|
e(I, [2, 121], { 106: tt }),
|
|
2771
2788
|
e(nt, [2, 130], {
|
|
@@ -2796,17 +2813,17 @@ You have to call mermaid.initialize.`);
|
|
|
2796
2813
|
e(I, [2, 105], { 106: tt }),
|
|
2797
2814
|
e(I, [2, 106], {
|
|
2798
2815
|
113: 113,
|
|
2799
|
-
44:
|
|
2800
|
-
60:
|
|
2801
|
-
89:
|
|
2802
|
-
102:
|
|
2803
|
-
105:
|
|
2804
|
-
106:
|
|
2805
|
-
109:
|
|
2806
|
-
111:
|
|
2807
|
-
114:
|
|
2808
|
-
115:
|
|
2809
|
-
116:
|
|
2816
|
+
44: h,
|
|
2817
|
+
60: g,
|
|
2818
|
+
89: y,
|
|
2819
|
+
102: b,
|
|
2820
|
+
105: x,
|
|
2821
|
+
106: S,
|
|
2822
|
+
109: C,
|
|
2823
|
+
111: w,
|
|
2824
|
+
114: T,
|
|
2825
|
+
115: E,
|
|
2826
|
+
116: D
|
|
2810
2827
|
}),
|
|
2811
2828
|
e(I, [2, 110]),
|
|
2812
2829
|
e(I, [2, 112], { 10: [1, 273] }),
|
|
@@ -2949,30 +2966,30 @@ You have to call mermaid.initialize.`);
|
|
|
2949
2966
|
33: 24,
|
|
2950
2967
|
34: d,
|
|
2951
2968
|
36: f,
|
|
2952
|
-
38:
|
|
2969
|
+
38: m,
|
|
2953
2970
|
42: 28,
|
|
2954
2971
|
43: 39,
|
|
2955
|
-
44:
|
|
2972
|
+
44: h,
|
|
2956
2973
|
45: 40,
|
|
2957
2974
|
47: 41,
|
|
2958
|
-
60:
|
|
2959
|
-
84:
|
|
2960
|
-
85:
|
|
2961
|
-
86:
|
|
2962
|
-
87:
|
|
2963
|
-
88:
|
|
2964
|
-
89:
|
|
2965
|
-
102:
|
|
2966
|
-
105:
|
|
2967
|
-
106:
|
|
2968
|
-
109:
|
|
2969
|
-
111:
|
|
2975
|
+
60: g,
|
|
2976
|
+
84: _,
|
|
2977
|
+
85: v,
|
|
2978
|
+
86: ee,
|
|
2979
|
+
87: te,
|
|
2980
|
+
88: ne,
|
|
2981
|
+
89: y,
|
|
2982
|
+
102: b,
|
|
2983
|
+
105: x,
|
|
2984
|
+
106: S,
|
|
2985
|
+
109: C,
|
|
2986
|
+
111: w,
|
|
2970
2987
|
113: 42,
|
|
2971
|
-
114:
|
|
2972
|
-
115:
|
|
2973
|
-
116:
|
|
2974
|
-
121:
|
|
2975
|
-
122:
|
|
2988
|
+
114: T,
|
|
2989
|
+
115: E,
|
|
2990
|
+
116: D,
|
|
2991
|
+
121: O,
|
|
2992
|
+
122: re,
|
|
2976
2993
|
123: ie,
|
|
2977
2994
|
124: ae,
|
|
2978
2995
|
125: oe
|
|
@@ -3009,63 +3026,63 @@ You have to call mermaid.initialize.`);
|
|
|
3009
3026
|
e(I, [2, 125], { 106: tt })
|
|
3010
3027
|
],
|
|
3011
3028
|
defaultActions: {},
|
|
3012
|
-
parseError: /* @__PURE__ */
|
|
3029
|
+
parseError: /* @__PURE__ */ p(function(e, t) {
|
|
3013
3030
|
if (t.recoverable) this.trace(e);
|
|
3014
3031
|
else {
|
|
3015
3032
|
var n = Error(e);
|
|
3016
3033
|
throw n.hash = t, n;
|
|
3017
3034
|
}
|
|
3018
3035
|
}, "parseError"),
|
|
3019
|
-
parse: /* @__PURE__ */
|
|
3020
|
-
var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2, f = 1,
|
|
3021
|
-
for (var
|
|
3022
|
-
|
|
3023
|
-
var
|
|
3024
|
-
a.push(
|
|
3025
|
-
var
|
|
3026
|
-
this.parseError = typeof
|
|
3027
|
-
function
|
|
3036
|
+
parse: /* @__PURE__ */ p(function(e) {
|
|
3037
|
+
var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2, f = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
|
|
3038
|
+
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
3039
|
+
h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
3040
|
+
var v = h.yylloc;
|
|
3041
|
+
a.push(v);
|
|
3042
|
+
var ee = h.options && h.options.ranges;
|
|
3043
|
+
this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
|
|
3044
|
+
function te(e) {
|
|
3028
3045
|
n.length -= 2 * e, i.length -= e, a.length -= e;
|
|
3029
3046
|
}
|
|
3030
|
-
|
|
3031
|
-
function
|
|
3032
|
-
var e = r.pop() ||
|
|
3047
|
+
p(te, "popStack");
|
|
3048
|
+
function ne() {
|
|
3049
|
+
var e = r.pop() || h.lex() || f;
|
|
3033
3050
|
return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
|
|
3034
3051
|
}
|
|
3035
|
-
|
|
3036
|
-
for (var
|
|
3037
|
-
if (
|
|
3038
|
-
var
|
|
3039
|
-
for (
|
|
3040
|
-
|
|
3041
|
-
text:
|
|
3042
|
-
token: this.terminals_[
|
|
3043
|
-
line:
|
|
3044
|
-
loc:
|
|
3045
|
-
expected:
|
|
3052
|
+
p(ne, "lex");
|
|
3053
|
+
for (var y, b, x, S, C, w = {}, T, E, D, O;;) {
|
|
3054
|
+
if (x = n[n.length - 1], this.defaultActions[x] ? S = this.defaultActions[x] : (y ??= ne(), S = o[x] && o[x][y]), S === void 0 || !S.length || !S[0]) {
|
|
3055
|
+
var re = "";
|
|
3056
|
+
for (T in O = [], o[x]) this.terminals_[T] && T > d && O.push("'" + this.terminals_[T] + "'");
|
|
3057
|
+
re = h.showPosition ? "Parse error on line " + (c + 1) + ":\n" + h.showPosition() + "\nExpecting " + O.join(", ") + ", got '" + (this.terminals_[y] || y) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (y == f ? "end of input" : "'" + (this.terminals_[y] || y) + "'"), this.parseError(re, {
|
|
3058
|
+
text: h.match,
|
|
3059
|
+
token: this.terminals_[y] || y,
|
|
3060
|
+
line: h.yylineno,
|
|
3061
|
+
loc: v,
|
|
3062
|
+
expected: O
|
|
3046
3063
|
});
|
|
3047
3064
|
}
|
|
3048
|
-
if (
|
|
3049
|
-
switch (
|
|
3065
|
+
if (S[0] instanceof Array && S.length > 1) throw Error("Parse Error: multiple actions possible at state: " + x + ", token: " + y);
|
|
3066
|
+
switch (S[0]) {
|
|
3050
3067
|
case 1:
|
|
3051
|
-
n.push(
|
|
3068
|
+
n.push(y), i.push(h.yytext), a.push(h.yylloc), n.push(S[1]), y = null, b ? (y = b, b = null) : (l = h.yyleng, s = h.yytext, c = h.yylineno, v = h.yylloc, u > 0 && u--);
|
|
3052
3069
|
break;
|
|
3053
3070
|
case 2:
|
|
3054
|
-
if (
|
|
3055
|
-
first_line: a[a.length - (
|
|
3071
|
+
if (E = this.productions_[S[1]][1], w.$ = i[i.length - E], w._$ = {
|
|
3072
|
+
first_line: a[a.length - (E || 1)].first_line,
|
|
3056
3073
|
last_line: a[a.length - 1].last_line,
|
|
3057
|
-
first_column: a[a.length - (
|
|
3074
|
+
first_column: a[a.length - (E || 1)].first_column,
|
|
3058
3075
|
last_column: a[a.length - 1].last_column
|
|
3059
|
-
},
|
|
3076
|
+
}, ee && (w._$.range = [a[a.length - (E || 1)].range[0], a[a.length - 1].range[1]]), C = this.performAction.apply(w, [
|
|
3060
3077
|
s,
|
|
3061
3078
|
l,
|
|
3062
3079
|
c,
|
|
3063
|
-
|
|
3064
|
-
|
|
3080
|
+
g.yy,
|
|
3081
|
+
S[1],
|
|
3065
3082
|
i,
|
|
3066
3083
|
a
|
|
3067
|
-
].concat(
|
|
3068
|
-
|
|
3084
|
+
].concat(m)), C !== void 0) return C;
|
|
3085
|
+
E && (n = n.slice(0, -1 * E * 2), i = i.slice(0, -1 * E), a = a.slice(0, -1 * E)), n.push(this.productions_[S[1]][0]), i.push(w.$), a.push(w._$), D = o[n[n.length - 2]][n[n.length - 1]], n.push(D);
|
|
3069
3086
|
break;
|
|
3070
3087
|
case 3: return !0;
|
|
3071
3088
|
}
|
|
@@ -3076,11 +3093,11 @@ You have to call mermaid.initialize.`);
|
|
|
3076
3093
|
rt.lexer = /* @__PURE__ */ (function() {
|
|
3077
3094
|
return {
|
|
3078
3095
|
EOF: 1,
|
|
3079
|
-
parseError: /* @__PURE__ */
|
|
3096
|
+
parseError: /* @__PURE__ */ p(function(e, t) {
|
|
3080
3097
|
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
3081
3098
|
else throw Error(e);
|
|
3082
3099
|
}, "parseError"),
|
|
3083
|
-
setInput: /* @__PURE__ */
|
|
3100
|
+
setInput: /* @__PURE__ */ p(function(e, t) {
|
|
3084
3101
|
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 = {
|
|
3085
3102
|
first_line: 1,
|
|
3086
3103
|
first_column: 0,
|
|
@@ -3088,11 +3105,11 @@ You have to call mermaid.initialize.`);
|
|
|
3088
3105
|
last_column: 0
|
|
3089
3106
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
3090
3107
|
}, "setInput"),
|
|
3091
|
-
input: /* @__PURE__ */
|
|
3108
|
+
input: /* @__PURE__ */ p(function() {
|
|
3092
3109
|
var e = this._input[0];
|
|
3093
3110
|
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;
|
|
3094
3111
|
}, "input"),
|
|
3095
|
-
unput: /* @__PURE__ */
|
|
3112
|
+
unput: /* @__PURE__ */ p(function(e) {
|
|
3096
3113
|
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
3097
3114
|
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
3098
3115
|
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
@@ -3105,10 +3122,10 @@ You have to call mermaid.initialize.`);
|
|
|
3105
3122
|
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
|
|
3106
3123
|
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
3107
3124
|
}, "unput"),
|
|
3108
|
-
more: /* @__PURE__ */
|
|
3125
|
+
more: /* @__PURE__ */ p(function() {
|
|
3109
3126
|
return this._more = !0, this;
|
|
3110
3127
|
}, "more"),
|
|
3111
|
-
reject: /* @__PURE__ */
|
|
3128
|
+
reject: /* @__PURE__ */ p(function() {
|
|
3112
3129
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
3113
3130
|
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(), {
|
|
3114
3131
|
text: "",
|
|
@@ -3117,22 +3134,22 @@ You have to call mermaid.initialize.`);
|
|
|
3117
3134
|
});
|
|
3118
3135
|
return this;
|
|
3119
3136
|
}, "reject"),
|
|
3120
|
-
less: /* @__PURE__ */
|
|
3137
|
+
less: /* @__PURE__ */ p(function(e) {
|
|
3121
3138
|
this.unput(this.match.slice(e));
|
|
3122
3139
|
}, "less"),
|
|
3123
|
-
pastInput: /* @__PURE__ */
|
|
3140
|
+
pastInput: /* @__PURE__ */ p(function() {
|
|
3124
3141
|
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
3125
3142
|
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
3126
3143
|
}, "pastInput"),
|
|
3127
|
-
upcomingInput: /* @__PURE__ */
|
|
3144
|
+
upcomingInput: /* @__PURE__ */ p(function() {
|
|
3128
3145
|
var e = this.match;
|
|
3129
3146
|
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
3130
3147
|
}, "upcomingInput"),
|
|
3131
|
-
showPosition: /* @__PURE__ */
|
|
3148
|
+
showPosition: /* @__PURE__ */ p(function() {
|
|
3132
3149
|
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
3133
3150
|
return e + this.upcomingInput() + "\n" + t + "^";
|
|
3134
3151
|
}, "showPosition"),
|
|
3135
|
-
test_match: /* @__PURE__ */
|
|
3152
|
+
test_match: /* @__PURE__ */ p(function(e, t) {
|
|
3136
3153
|
var n, r, i;
|
|
3137
3154
|
if (this.options.backtrack_lexer && (i = {
|
|
3138
3155
|
yylineno: this.yylineno,
|
|
@@ -3165,7 +3182,7 @@ You have to call mermaid.initialize.`);
|
|
|
3165
3182
|
}
|
|
3166
3183
|
return !1;
|
|
3167
3184
|
}, "test_match"),
|
|
3168
|
-
next: /* @__PURE__ */
|
|
3185
|
+
next: /* @__PURE__ */ p(function() {
|
|
3169
3186
|
if (this.done) return this.EOF;
|
|
3170
3187
|
this._input || (this.done = !0);
|
|
3171
3188
|
var e, t, n, r;
|
|
@@ -3187,29 +3204,29 @@ You have to call mermaid.initialize.`);
|
|
|
3187
3204
|
line: this.yylineno
|
|
3188
3205
|
});
|
|
3189
3206
|
}, "next"),
|
|
3190
|
-
lex: /* @__PURE__ */
|
|
3207
|
+
lex: /* @__PURE__ */ p(function() {
|
|
3191
3208
|
return this.next() || this.lex();
|
|
3192
3209
|
}, "lex"),
|
|
3193
|
-
begin: /* @__PURE__ */
|
|
3210
|
+
begin: /* @__PURE__ */ p(function(e) {
|
|
3194
3211
|
this.conditionStack.push(e);
|
|
3195
3212
|
}, "begin"),
|
|
3196
|
-
popState: /* @__PURE__ */
|
|
3213
|
+
popState: /* @__PURE__ */ p(function() {
|
|
3197
3214
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
3198
3215
|
}, "popState"),
|
|
3199
|
-
_currentRules: /* @__PURE__ */
|
|
3216
|
+
_currentRules: /* @__PURE__ */ p(function() {
|
|
3200
3217
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
3201
3218
|
}, "_currentRules"),
|
|
3202
|
-
topState: /* @__PURE__ */
|
|
3219
|
+
topState: /* @__PURE__ */ p(function(e) {
|
|
3203
3220
|
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
3204
3221
|
}, "topState"),
|
|
3205
|
-
pushState: /* @__PURE__ */
|
|
3222
|
+
pushState: /* @__PURE__ */ p(function(e) {
|
|
3206
3223
|
this.begin(e);
|
|
3207
3224
|
}, "pushState"),
|
|
3208
|
-
stateStackSize: /* @__PURE__ */
|
|
3225
|
+
stateStackSize: /* @__PURE__ */ p(function() {
|
|
3209
3226
|
return this.conditionStack.length;
|
|
3210
3227
|
}, "stateStackSize"),
|
|
3211
3228
|
options: {},
|
|
3212
|
-
performAction: /* @__PURE__ */
|
|
3229
|
+
performAction: /* @__PURE__ */ p(function(e, t, n, r) {
|
|
3213
3230
|
switch (n) {
|
|
3214
3231
|
case 0: return this.begin("acc_title"), 34;
|
|
3215
3232
|
case 1: return this.popState(), "acc_title_value";
|
|
@@ -3482,7 +3499,7 @@ You have to call mermaid.initialize.`);
|
|
|
3482
3499
|
/^(?:[^\[\]\(\)\{\}\|\"]+)/,
|
|
3483
3500
|
/^(?:")/,
|
|
3484
3501
|
/^(?:(\r?\n)+)/,
|
|
3485
|
-
/^(
|
|
3502
|
+
/^(?:[^\S\n\r]+)/,
|
|
3486
3503
|
/^(?:$)/
|
|
3487
3504
|
],
|
|
3488
3505
|
conditions: {
|
|
@@ -4002,18 +4019,72 @@ You have to call mermaid.initialize.`);
|
|
|
4002
4019
|
function it() {
|
|
4003
4020
|
this.yy = {};
|
|
4004
4021
|
}
|
|
4005
|
-
return
|
|
4022
|
+
return p(it, "Parser"), it.prototype = rt, rt.Parser = it, new it();
|
|
4006
4023
|
})();
|
|
4007
|
-
|
|
4008
|
-
var
|
|
4009
|
-
|
|
4024
|
+
oe.parser = oe;
|
|
4025
|
+
var k = oe, A = Object.assign({}, k);
|
|
4026
|
+
A.parse = (e) => {
|
|
4010
4027
|
let t = e.replace(/}\s*\n/g, "}\n");
|
|
4011
|
-
return
|
|
4028
|
+
return k.parse(t);
|
|
4012
4029
|
};
|
|
4013
|
-
var
|
|
4014
|
-
let
|
|
4015
|
-
|
|
4016
|
-
|
|
4030
|
+
var j = A, M = /* @__PURE__ */ p((e) => {
|
|
4031
|
+
let { theme: t, bkgColorArray: n, borderColorArray: r } = e;
|
|
4032
|
+
if (!ne(t, r)) return "";
|
|
4033
|
+
let i = b(e.look), a = x(n), o = "";
|
|
4034
|
+
for (let t = 0; t < y(e.THEME_COLOR_LIMIT, r); t++) {
|
|
4035
|
+
let e = r[t % r.length], s = a ? `fill: ${n[t % n.length]};` : "", c = `[data-look="${i}"][data-color-id="color-${t}"]`, l = /* @__PURE__ */ p((e) => `${c}.node ${e}, ${c}.rough-node ${e}`, "collapsedRule"), u = /* @__PURE__ */ p((e) => `${c}.swimlane.cluster .swimlane-title${e}, ${c}.swimlane.cluster .swimlane-body${e}`, "laneRule");
|
|
4036
|
+
o += `
|
|
4037
|
+
|
|
4038
|
+
${c}.cluster:not(.swimlane) rect {
|
|
4039
|
+
stroke: ${e};
|
|
4040
|
+
${s}
|
|
4041
|
+
}
|
|
4042
|
+
|
|
4043
|
+
${c}.cluster:not(.swimlane) path {
|
|
4044
|
+
stroke: ${e};
|
|
4045
|
+
${s}
|
|
4046
|
+
}
|
|
4047
|
+
|
|
4048
|
+
/* Lane, classic and neo. */
|
|
4049
|
+
${c}.swimlane.cluster rect.swimlane-title,
|
|
4050
|
+
${c}.swimlane.cluster rect.swimlane-body {
|
|
4051
|
+
stroke: ${e};
|
|
4052
|
+
${s}
|
|
4053
|
+
}
|
|
4054
|
+
|
|
4055
|
+
/* Lane, handDrawn: roughjs emits the hachure fill first, then the outline. */
|
|
4056
|
+
${u(" path:nth-of-type(2)")} {
|
|
4057
|
+
stroke: ${e};
|
|
4058
|
+
}
|
|
4059
|
+
${a ? `
|
|
4060
|
+
/* A roughjs fill is drawn as lines, so the lane fill is a stroke here. */
|
|
4061
|
+
${u(" path:first-of-type")} {
|
|
4062
|
+
stroke: ${n[t % n.length]};
|
|
4063
|
+
}
|
|
4064
|
+
` : ""}
|
|
4065
|
+
${l(".collapsed-group")},
|
|
4066
|
+
${l(".collapsed-group path")} {
|
|
4067
|
+
stroke: ${e};
|
|
4068
|
+
${s}
|
|
4069
|
+
}
|
|
4070
|
+
|
|
4071
|
+
/* The ellipsis dots and the separator take clusterBorder further down, so without
|
|
4072
|
+
these the container is palette-coloured while its own markers are not. */
|
|
4073
|
+
${l(".collapsed-indicator")} {
|
|
4074
|
+
fill: ${e};
|
|
4075
|
+
}
|
|
4076
|
+
|
|
4077
|
+
${l(".collapsed-separator")} {
|
|
4078
|
+
stroke: ${e};
|
|
4079
|
+
}
|
|
4080
|
+
`;
|
|
4081
|
+
}
|
|
4082
|
+
return o;
|
|
4083
|
+
}, "genColor"), N = /* @__PURE__ */ p((e, t) => {
|
|
4084
|
+
let n = g, r = n(e, "r"), i = n(e, "g"), a = n(e, "b");
|
|
4085
|
+
return c(r, i, a, t);
|
|
4086
|
+
}, "fade"), se = /* @__PURE__ */ p((e) => `${M(e)}
|
|
4087
|
+
.label {
|
|
4017
4088
|
font-family: ${e.fontFamily};
|
|
4018
4089
|
color: ${e.nodeTextColor || e.textColor};
|
|
4019
4090
|
}
|
|
@@ -4094,7 +4165,7 @@ var oe = ae, k = /* @__PURE__ */ g((e, t) => {
|
|
|
4094
4165
|
|
|
4095
4166
|
/* For html labels only */
|
|
4096
4167
|
.labelBkg {
|
|
4097
|
-
background-color: ${
|
|
4168
|
+
background-color: ${N(e.edgeLabelBackground, .5)};
|
|
4098
4169
|
// background-color:
|
|
4099
4170
|
}
|
|
4100
4171
|
|
|
@@ -4165,19 +4236,17 @@ var oe = ae, k = /* @__PURE__ */ g((e, t) => {
|
|
|
4165
4236
|
}
|
|
4166
4237
|
text-align: center;
|
|
4167
4238
|
}
|
|
4168
|
-
${
|
|
4169
|
-
`, "getStyles"),
|
|
4170
|
-
parser:
|
|
4239
|
+
${T()}
|
|
4240
|
+
`, "getStyles"), ce = /* @__PURE__ */ p(({ styles: e = se } = {}) => ({
|
|
4241
|
+
parser: j,
|
|
4171
4242
|
get db() {
|
|
4172
|
-
return new
|
|
4243
|
+
return new ie();
|
|
4173
4244
|
},
|
|
4174
|
-
renderer:
|
|
4175
|
-
styles:
|
|
4176
|
-
init: /* @__PURE__ */
|
|
4177
|
-
|
|
4178
|
-
let r = c().layout ?? e ?? t.layout;
|
|
4179
|
-
r && n({ layout: r }), t.flowchart.arrowMarkerAbsolute = t.arrowMarkerAbsolute, n({ flowchart: { arrowMarkerAbsolute: t.arrowMarkerAbsolute } });
|
|
4245
|
+
renderer: ae,
|
|
4246
|
+
styles: e,
|
|
4247
|
+
init: /* @__PURE__ */ p((e) => {
|
|
4248
|
+
e.flowchart ||= {}, e.flowchart.arrowMarkerAbsolute = e.arrowMarkerAbsolute, t({ flowchart: { arrowMarkerAbsolute: e.arrowMarkerAbsolute } });
|
|
4180
4249
|
}, "init")
|
|
4181
|
-
}), "createFlowDiagram"),
|
|
4250
|
+
}), "createFlowDiagram"), le = ce();
|
|
4182
4251
|
//#endregion
|
|
4183
|
-
export {
|
|
4252
|
+
export { le as n, se as r, ce as t };
|