@sme.up/ketchup2 2.10.0 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{abnfDiagram-VCTEODGH-jIDWUpNo.js → abnfDiagram-WEYOIA3C-BGzUWx_N.js} +18 -18
- package/dist/{arc-DXfwi1YX.js → arc-Cde31fHX.js} +1 -1
- package/dist/architecture-WOLXFQ4H-CjGAyYHf.js +2 -0
- package/dist/{architectureDiagram-5GKGNRK7-C1xA1c3c.js → architectureDiagram-ZHVYKT53-DH-D4G0y.js} +138 -153
- package/dist/assets/svg/magnify-minus.svg +1 -0
- package/dist/assets/svg/magnify-plus.svg +1 -0
- package/dist/basic-components/button-group/button-group.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-types.d.ts +8 -0
- package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
- package/dist/basic-components/cell/cell.d.ts.map +1 -1
- package/dist/basic-components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/basic-components/chips/chips-types.d.ts +13 -0
- package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
- package/dist/basic-components/chips/chips.d.ts.map +1 -1
- package/dist/basic-components/date-picker/date-picker-types.d.ts +4 -0
- package/dist/basic-components/date-picker/date-picker-types.d.ts.map +1 -1
- package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -1
- package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
- package/dist/basic-components/radio/radio.d.ts.map +1 -1
- package/dist/basic-components/slider/slider.d.ts.map +1 -1
- package/dist/basic-components/text/text.d.ts.map +1 -1
- package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
- package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield-types.d.ts +7 -2
- package/dist/basic-components/textfield/textfield-types.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
- package/dist/basic-components/typography/typography.d.ts.map +1 -1
- package/dist/{blockDiagram-I7D4REHJ-C0hlmHW8.js → blockDiagram-RJAE7QA3-hRpbCaPL.js} +329 -316
- package/dist/{c4Diagram-7LVT6UL2-DwTMAxzR.js → c4Diagram-XDPPPE54-Bkqvkv8O.js} +350 -340
- package/dist/channel-CcHUzwZl.js +5 -0
- package/dist/{chunk-SVP7TREG-f53BROgh.js → chunk-2E7WHVMD-DSYBrngB.js} +77 -77
- package/dist/chunk-4EMNKR2T-CndbTVTA.js +236 -0
- package/dist/{chunk-F27PBJKO-DPhiW07t.js → chunk-55XCU76K-B1HtPImz.js} +16 -16
- package/dist/{chunk-75Z2AOVW-CLjRECiG.js → chunk-7S6XSTFO-CN6S2H1-.js} +304 -305
- package/dist/{chunk-GMAD6QVW-Cnp61Cie.js → chunk-AQDTSKZB-DuUha9al.js} +386 -433
- package/dist/{chunk-DU6HZSFF-D9v_2L4Z.js → chunk-DSNLSHJZ-B1A8wsiA.js} +1078 -984
- package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
- package/dist/chunk-EJLWFMJV-Cu6XnLfk.js +75 -0
- package/dist/chunk-HAGFOTED-IzyIoLzD.js +4487 -0
- package/dist/chunk-HNE4Q36P-7zVKLE_b.js +363 -0
- package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
- package/dist/{chunk-LNGE3PJU-CtYcu9x8.js → chunk-LNGE3PJU-ByFTjlja.js} +15 -19
- package/dist/chunk-NGNAAXSQ-Tr--SG_c.js +19832 -0
- package/dist/{chunk-SHT3W25Y-aBBFlrSX.js → chunk-NQOKRVIF-CEJ-prlJ.js} +483 -414
- package/dist/chunk-OYAV6JZA-Cypx4hYu.js +14 -0
- package/dist/{chunk-P2QGCYS3-667SFjNY.js → chunk-UHW7PFBP-CoHGQVjo.js} +6 -6
- package/dist/chunk-VQ5W62QI-BSDHmyws.js +26 -0
- package/dist/{chunk-OSK3NFVY-qg1q5TTI.js → chunk-WQQL4CDK-BJE6isq-.js} +312 -288
- package/dist/chunk-XXDRQBXY-CU-dbs05.js +9 -0
- package/dist/{chunk-PWAF6VOD-z0rQy52m.js → chunk-YZO67HFG-Bcmpw0dX.js} +28 -28
- package/dist/{chunk-GVQU2GXP-BJ9OHC7T.js → chunk-ZAUX2LTX-Bu7BRVL6.js} +14 -14
- package/dist/chunk-ZCHMQSOR-BA1QQ4D6.js +354 -0
- package/dist/{chunk-TICWLB2K-DzrOz9kL.js → classDiagram-v2-4MYWR3UA-Bnh650R8.js} +333 -293
- package/dist/components/app-bar/app-bar-utils.d.ts.map +1 -1
- package/dist/components/calendar/calendar-available-height.d.ts +14 -0
- package/dist/components/calendar/calendar-available-height.d.ts.map +1 -0
- package/dist/components/calendar/calendar-types.d.ts +20 -8
- package/dist/components/calendar/calendar-types.d.ts.map +1 -1
- package/dist/components/calendar/calendar-utils.d.ts +94 -37
- package/dist/components/calendar/calendar-utils.d.ts.map +1 -1
- package/dist/components/calendar/calendar.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-event-text.d.ts +14 -3
- package/dist/components/calendar/views/calendar-event-text.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-month-grid.d.ts +4 -4
- package/dist/components/calendar/views/calendar-month-grid.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-more-events.d.ts +1 -1
- package/dist/components/calendar/views/calendar-more-events.d.ts.map +1 -1
- package/dist/components/calendar/views/calendar-time-grid.d.ts +4 -0
- package/dist/components/calendar/views/calendar-time-grid.d.ts.map +1 -1
- package/dist/components/data-table/assets/data-table-row-actions.d.ts +1 -1
- package/dist/components/data-table/cell-actions/cell-actions-types.d.ts +12 -0
- package/dist/components/data-table/cell-actions/cell-actions-types.d.ts.map +1 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts +29 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts.map +1 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts +2 -0
- package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts.map +1 -0
- package/dist/components/data-table/cell-actions/cell-actions.d.ts +6 -0
- package/dist/components/data-table/cell-actions/cell-actions.d.ts.map +1 -0
- package/dist/components/data-table/column-menu/column-menu-types.d.ts +32 -0
- package/dist/components/data-table/column-menu/column-menu-types.d.ts.map +1 -0
- package/dist/components/data-table/column-menu/column-menu.d.ts +11 -0
- package/dist/components/data-table/column-menu/column-menu.d.ts.map +1 -0
- package/dist/components/data-table/columns/columns-utils.d.ts +11 -2
- package/dist/components/data-table/columns/columns-utils.d.ts.map +1 -1
- package/dist/components/data-table/columns/useColumnWidths.d.ts +24 -1
- package/dist/components/data-table/columns/useColumnWidths.d.ts.map +1 -1
- package/dist/components/data-table/data-table-types.d.ts +191 -38
- package/dist/components/data-table/data-table-types.d.ts.map +1 -1
- package/dist/components/data-table/data-table.d.ts.map +1 -1
- package/dist/components/data-table/filtering/data-table-filter-utils.d.ts +19 -2
- package/dist/components/data-table/filtering/data-table-filter-utils.d.ts.map +1 -1
- package/dist/components/data-table/fixed/fixed-utils.d.ts +6 -0
- package/dist/components/data-table/fixed/fixed-utils.d.ts.map +1 -1
- package/dist/components/data-table/footer/footer-types.d.ts +22 -8
- package/dist/components/data-table/footer/footer-types.d.ts.map +1 -1
- package/dist/components/data-table/footer/footer.d.ts.map +1 -1
- package/dist/components/data-table/group-row/group-row-types.d.ts +29 -1
- package/dist/components/data-table/group-row/group-row-types.d.ts.map +1 -1
- package/dist/components/data-table/group-row/group-row.d.ts.map +1 -1
- package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts +11 -5
- package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts.map +1 -1
- package/dist/components/data-table/grouping/datatable-groups-utils.d.ts +11 -1
- package/dist/components/data-table/grouping/datatable-groups-utils.d.ts.map +1 -1
- package/dist/components/data-table/grouping/group-expansion.d.ts +16 -0
- package/dist/components/data-table/grouping/group-expansion.d.ts.map +1 -0
- package/dist/components/data-table/grouping/grouping-types.d.ts +9 -0
- package/dist/components/data-table/grouping/grouping-types.d.ts.map +1 -1
- package/dist/components/data-table/header/Header.d.ts.map +1 -1
- package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts +44 -0
- package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts.map +1 -0
- package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts +8 -0
- package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts.map +1 -0
- package/dist/components/data-table/header/header-types.d.ts +32 -21
- package/dist/components/data-table/header/header-types.d.ts.map +1 -1
- package/dist/components/data-table/load-more-row/load-more-row.d.ts +8 -0
- package/dist/components/data-table/load-more-row/load-more-row.d.ts.map +1 -0
- package/dist/components/data-table/load-more-row/load-more-types.d.ts +11 -0
- package/dist/components/data-table/load-more-row/load-more-types.d.ts.map +1 -0
- package/dist/components/data-table/sorting/buildDftSort.d.ts +16 -0
- package/dist/components/data-table/sorting/buildDftSort.d.ts.map +1 -0
- package/dist/components/data-table/sorting/buildDftSort.test.d.ts +2 -0
- package/dist/components/data-table/sorting/buildDftSort.test.d.ts.map +1 -0
- package/dist/components/data-table/sorting/parseDftSort.d.ts +4 -4
- package/dist/components/data-table/sorting/parseDftSort.d.ts.map +1 -1
- package/dist/components/data-table/sorting/sortTable-utils.d.ts +10 -0
- package/dist/components/data-table/sorting/sortTable-utils.d.ts.map +1 -1
- package/dist/components/data-table/sorting/useSortableTable.d.ts +10 -4
- package/dist/components/data-table/sorting/useSortableTable.d.ts.map +1 -1
- package/dist/components/data-table/state/datatable-state.d.ts +14 -7
- package/dist/components/data-table/state/datatable-state.d.ts.map +1 -1
- package/dist/components/data-table/stories/data-table-story-meta.d.ts +7 -0
- package/dist/components/data-table/stories/data-table-story-meta.d.ts.map +1 -0
- package/dist/components/data-table/useDataTableImperativeHandle.d.ts +23 -0
- package/dist/components/data-table/useDataTableImperativeHandle.d.ts.map +1 -0
- package/dist/components/data-table/useDataTableShortcuts.d.ts +19 -0
- package/dist/components/data-table/useDataTableShortcuts.d.ts.map +1 -0
- package/dist/components/echarts-graph/builders/echarts-graph-builders.d.ts.map +1 -1
- package/dist/components/echarts-graph/data/echarts-graph-data.d.ts +1 -1
- package/dist/components/echarts-graph/data/echarts-graph-data.d.ts.map +1 -1
- package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts +12 -0
- package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts.map +1 -0
- package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts +2 -0
- package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-canvas.d.ts +34 -0
- package/dist/components/echarts-graph/echarts-graph-canvas.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-from-table.d.ts +13 -0
- package/dist/components/echarts-graph/echarts-graph-from-table.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts +12 -0
- package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-hooks.d.ts +16 -0
- package/dist/components/echarts-graph/echarts-graph-hooks.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph-types.d.ts +24 -5
- package/dist/components/echarts-graph/echarts-graph-types.d.ts.map +1 -1
- package/dist/components/echarts-graph/echarts-graph.d.ts +10 -7
- package/dist/components/echarts-graph/echarts-graph.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel-types.d.ts +7 -1
- package/dist/components/input-panel/input-panel-types.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel.d.ts.map +1 -1
- package/dist/components/json-form/document-adapter.test.d.ts +2 -0
- package/dist/components/json-form/document-adapter.test.d.ts.map +1 -0
- package/dist/components/json-form/expression-evaluator.test.d.ts +2 -0
- package/dist/components/json-form/expression-evaluator.test.d.ts.map +1 -0
- package/dist/components/json-form/model/document-adapter.d.ts +54 -0
- package/dist/components/json-form/model/document-adapter.d.ts.map +1 -0
- package/dist/components/json-form/model/json-form-ajv.d.ts +12 -0
- package/dist/components/json-form/model/json-form-ajv.d.ts.map +1 -0
- package/dist/components/json-form/model/json-pointer.d.ts +20 -0
- package/dist/components/json-form/model/json-pointer.d.ts.map +1 -0
- package/dist/components/json-form/model/native-json-types.d.ts +5 -0
- package/dist/components/json-form/model/native-json-types.d.ts.map +1 -0
- package/dist/components/json-form/model/shape-event-support.d.ts +10 -0
- package/dist/components/json-form/model/shape-event-support.d.ts.map +1 -0
- package/dist/components/json-form/rule-controller.test.d.ts +2 -0
- package/dist/components/json-form/rule-controller.test.d.ts.map +1 -0
- package/dist/components/json-form/rules/expression-evaluator.d.ts +58 -0
- package/dist/components/json-form/rules/expression-evaluator.d.ts.map +1 -0
- package/dist/components/json-form/rules/rule-controller.d.ts +50 -0
- package/dist/components/json-form/rules/rule-controller.d.ts.map +1 -0
- package/dist/components/pdf/assets/pdf-fixtures.d.ts +6 -0
- package/dist/components/pdf/assets/pdf-fixtures.d.ts.map +1 -0
- package/dist/components/pdf/pdf-types.d.ts +17 -2
- package/dist/components/pdf/pdf-types.d.ts.map +1 -1
- package/dist/components/pdf/pdf-utils.d.ts +30 -1
- package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
- package/dist/components/pdf/pdf.d.ts.map +1 -1
- package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/toolbar/toolbar-nodes/toolbar-plain-node.d.ts.map +1 -1
- package/dist/context/test-utils.d.ts.map +1 -1
- package/dist/{cose-bilkent-JH36ORCC-Qs_Z6zBZ.js → cose-bilkent-JH36ORCC-DYLyHByQ.js} +77 -89
- package/dist/cynefin-EF2NZ3EQ-DZ1CSrfW.js +2 -0
- package/dist/{cynefinDiagram-5FMLGOSQ-3SByb22K.js → cynefinDiagram-WF24UDRP-bU_4r-FZ.js} +64 -64
- package/dist/{cytoscape.esm-C5TvPYYm.js → cytoscape.esm-BvXLQ91B.js} +412 -513
- package/dist/dagre-NK4GIZVX-B72HOuil.js +2352 -0
- package/dist/{diagram-VX7I27RA-DX39g4aO.js → diagram-CBK3MWTC-B-q-tUxd.js} +80 -80
- package/dist/diagram-I5XIIV2D-CMzniFEf.js +134 -0
- package/dist/{diagram-S7CK7UJ4-IhyDbKSO.js → diagram-ODIL2UCW-CrlDp0MP.js} +46 -54
- package/dist/{diagram-VSXAHHWV-CdX3XaQX.js → diagram-PFBEJUXE-hnrdzEe4.js} +136 -121
- package/dist/{diagram-UQ7AKVKN-CPDZJAkA.js → diagram-RJA3I4VV-DZW7CxE5.js} +43 -43
- package/dist/diagram-TYUNFSNR-cRJNHRy2.js +5069 -0
- package/dist/{dist-CsrMlyO_.js → dist-Bj7IMbKd.js} +1 -1
- package/dist/{ebnfDiagram-PWID7BFC-D0cmYo-k.js → ebnfDiagram-V4P3TTPT-Bm7KtfLA.js} +17 -17
- package/dist/echarts-C7ehbnCk.js +15485 -0
- package/dist/elk-QONTBCTQ-gWOTRRj4.js +47505 -0
- package/dist/{erDiagram-RLTQ6QDP-C-nlwQZa.js → erDiagram-KYQIGQAA-WZEbQwWz.js} +150 -146
- package/dist/eventmodeling-K75KTNOO-CEn7YBG4.js +2 -0
- package/dist/flowDiagram-IUGLLWBU-CRV2Bl2C.js +16 -0
- package/dist/functional-components/filter-group/filter-builder-operators.d.ts +15 -0
- package/dist/functional-components/filter-group/filter-builder-operators.d.ts.map +1 -0
- package/dist/functional-components/filter-group/filter-builder.d.ts +15 -1
- package/dist/functional-components/filter-group/filter-builder.d.ts.map +1 -1
- package/dist/functional-components/group-bar/group-bar-types.d.ts +16 -0
- package/dist/functional-components/group-bar/group-bar-types.d.ts.map +1 -1
- package/dist/functional-components/group-bar/group-bar.d.ts.map +1 -1
- package/dist/functional-components/helper-text/helper-text-types.d.ts +1 -1
- package/dist/functional-components/row/row-types.d.ts +27 -1
- package/dist/functional-components/row/row-types.d.ts.map +1 -1
- package/dist/functional-components/row/row.d.ts.map +1 -1
- package/dist/functional-components/tree-picker/tree-picker-types.d.ts +5 -0
- package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -1
- package/dist/{ganttDiagram-EL5Y4UJY-qQkBgEV6.js → ganttDiagram-R7GPNTJY-DFRGfQMr.js} +314 -310
- package/dist/gitGraph-VSP46ZUC-BSTikFaE.js +2 -0
- package/dist/{gitGraphDiagram-WWUBYQGX-D8cZBZXB.js → gitGraphDiagram-PDYL7XHY-nvoob8Ca.js} +250 -250
- package/dist/hooks/useVirtualListScroll.d.ts +7 -2
- package/dist/hooks/useVirtualListScroll.d.ts.map +1 -1
- package/dist/index.d.ts +2 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/info-OHQRW6UA-BGb3N889.js +2 -0
- package/dist/infoDiagram-MVDRKAX5-BqO_morw.js +20 -0
- package/dist/installCanvasRenderer-CgRxxRBg.js +29799 -0
- package/dist/{ishikawaDiagram-5VMMS53U-B0RvuZyG.js → ishikawaDiagram-HPEHV2GE-BE3amLYE.js} +27 -29
- package/dist/{journeyDiagram-3NMN7TZE-Dh8_Vc4e.js → journeyDiagram-BOSHW7O7-DE8ndsCi.js} +111 -111
- package/dist/{kanban-definition-UXKFOSKX-C99A4PsR.js → kanban-definition-FNSA4HC5-D72kc4EN.js} +135 -135
- package/dist/{katex-CT2p8LXT.js → katex-CDhNh-ZQ.js} +919 -1040
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +25049 -70453
- package/dist/{line-CkNoVxEr.js → line-ltPB6XbC.js} +1 -1
- package/dist/{linear-CXc5xaa6.js → linear-i6_MPSGL.js} +2 -3
- package/dist/locale/en/translation.json.d.ts +36 -5
- package/dist/locale/it/translation.json.d.ts +36 -5
- package/dist/{mermaid-parser.core-BwVmI_Rq.js → mermaid-parser.core-zUi7tSl-.js} +166 -172
- package/dist/{mindmap-definition-YA3MSWOX-D0ULN6M8.js → mindmap-definition-6OY57UG3-hH6Avsg4.js} +148 -145
- package/dist/packet-JDAUHWVQ-CKZoNg5j.js +2 -0
- package/dist/{pegDiagram-XKGWAZYB-BThnA3Uk.js → pegDiagram-ECIUJNBX-D3xLhrRh.js} +19 -19
- package/dist/pie-XZMESJXO-BnbWY8rE.js +2 -0
- package/dist/{pieDiagram-E7YTZNPT-CJ4LPitY.js → pieDiagram-GNMPY74T-Bd_UXypi.js} +39 -39
- package/dist/{quadrantDiagram-AXDQQJYC-nEwzg95_.js → quadrantDiagram-D57K4MC3-BAwweqT8.js} +149 -149
- package/dist/radar-ABXABTNO-D5CEmFBx.js +2 -0
- package/dist/railroad-I3PHUGI6-CxMiYaMH.js +2 -0
- package/dist/railroad-abnf-LNEFI6M7-C69KxGa-.js +2 -0
- package/dist/railroad-ebnf-DWYD2UWJ-D5Xd566k.js +2 -0
- package/dist/railroad-peg-JR7BVNR7-CD0OiqcS.js +2 -0
- package/dist/{railroadDiagram-O6MQD6OU-D_9gvx5m.js → railroadDiagram-Y72NRBL7-CPUbPgYX.js} +14 -14
- package/dist/{requirementDiagram-BXWQKSXE-BU3gTMjQ.js → requirementDiagram-EQYSW5RA-BXstYS3w.js} +97 -93
- package/dist/rolldown-runtime-5HNE8Q1r.js +23 -0
- package/dist/{sankeyDiagram-P5KCCOFB-BmNN-6y3.js → sankeyDiagram-SY24JHO5-Du-toJmg.js} +64 -64
- package/dist/{sequenceDiagram-WJ2MYXX4-QYJxbuz_.js → sequenceDiagram-BLEHNHQU-BNNnerZ-.js} +953 -868
- package/dist/{sizeCapture-INFHLROL-CHXIsPO_.js → sizeCapture-INFHLROL-DujrpAYz.js} +1 -1
- package/dist/{src-DQoflmwT.js → src-CY9Rz0Sf.js} +545 -566
- package/dist/{chunk-IMKFNOWR-yyUcHorm.js → stateDiagram-v2-A6IESKWZ-CfjPf8h7.js} +364 -267
- package/dist/{swimlanes-42K2YHIH-DkMzBkx7.js → swimlanes-B3ENRKFQ-Dumwq89C.js} +1356 -1590
- package/dist/swimlanesDiagram-AYQRV4AK-Boz_Azx7.js +28 -0
- package/dist/{timeline-definition-24CTP7MA-AvgVPsM_.js → timeline-definition-JXYKGLGB-ClzmRQCu.js} +354 -350
- package/dist/treeView-D4JQ5SDB-C3ue8DID.js +2 -0
- package/dist/treemap-SAJKECNS-BWis-Wpv.js +2 -0
- package/dist/types/data-structures.d.ts +11 -0
- package/dist/types/data-structures.d.ts.map +1 -1
- package/dist/types/global.d.ts +7 -2
- package/dist/types/global.d.ts.map +1 -1
- package/dist/types/translation.d.ts +35 -5
- package/dist/types/translation.d.ts.map +1 -1
- package/dist/usecaseDiagram-WPOLBNNX-ruZhXlYQ.js +7175 -0
- package/dist/utils/object-styles.d.ts +12 -0
- package/dist/utils/object-styles.d.ts.map +1 -0
- package/dist/utils/object-styles.test.d.ts +2 -0
- package/dist/utils/object-styles.test.d.ts.map +1 -0
- package/dist/utils/totals/totals-registry.d.ts +17 -0
- package/dist/utils/totals/totals-registry.d.ts.map +1 -0
- package/dist/utils/totals/totals-utils.d.ts +70 -7
- package/dist/utils/totals/totals-utils.d.ts.map +1 -1
- package/dist/utils/wrapper-types/list.d.ts.map +1 -1
- package/dist/{vennDiagram-4TSXK5OY-DBz_EnfL.js → vennDiagram-Q3Y3IDCW-L9GmqfCz.js} +118 -118
- package/dist/wardley-7MLQ67FV-DC0ayJCO.js +2 -0
- package/dist/{wardleyDiagram-VM6X3IG4-D4U_E7xl.js → wardleyDiagram-IVAIDKWA-Dz5K-UqN.js} +126 -126
- package/dist/{xychartDiagram-S5SC5T6Z-aHqeFP13.js → xychartDiagram-4URNHDU4-C2xwRx5F.js} +141 -137
- package/package.json +5 -3
- package/dist/architecture-7GRP2DOG-BsytjMto.js +0 -3
- package/dist/channel-BD0NTdCR.js +0 -5
- package/dist/chunk-2E4U76K2-CMCSmJ5_.js +0 -348
- package/dist/chunk-4HAMMTFA-DBtV-sHy.js +0 -4188
- package/dist/chunk-CLGD4ZFX-DdntjE3C.js +0 -14
- package/dist/chunk-FOHPRMQF-LRqOLsSw.js +0 -21456
- package/dist/chunk-L3NEJ4N5-Dd1FmxFn.js +0 -245
- package/dist/chunk-POPQ4Y6H-YFNrkrJW.js +0 -26
- package/dist/chunk-TLUHSLCS-Drk6ApJR.js +0 -59
- package/dist/chunk-XXDRQBXY-C1ZEFXGu.js +0 -9
- package/dist/classDiagram-ZZMXUADV-CaI6YU6r.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-ClCVTcLo.js +0 -30
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree-types.d.ts +0 -14
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree-types.d.ts.map +0 -1
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree.d.ts +0 -11
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree.d.ts.map +0 -1
- package/dist/cynefin-OW5HDTMX-BJXlKro0.js +0 -3
- package/dist/dagre-D5csT9sx.js +0 -1934
- package/dist/dagre-GXQ25YYZ--Qf92cTs.js +0 -425
- package/dist/diagram-Z3DM3KII-DECfAI1l.js +0 -134
- package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +0 -3
- package/dist/flowDiagram-HODETNUW-LRjksS-j.js +0 -17
- package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +0 -3
- package/dist/info-A6RAGUB7-CmZJKEaW.js +0 -3
- package/dist/infoDiagram-27XIBGKW-DXO97_PJ.js +0 -20
- package/dist/packet-AYTQ26CC-B3tgRshR.js +0 -3
- package/dist/pie-WAS4IAKB-BRiI8kbI.js +0 -3
- package/dist/radar-RG4KPBEZ-ASOMQXFw.js +0 -3
- package/dist/railroad-74A4TZTK-oS840SLr.js +0 -3
- package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +0 -3
- package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +0 -3
- package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +0 -3
- package/dist/stateDiagram-D77RDMKH-0Jasv70t.js +0 -220
- package/dist/stateDiagram-v2-MP3YSRHH-JMSv8IGL.js +0 -30
- package/dist/swimlanesDiagram-VR7AAH4N-DtnUyaK5.js +0 -31
- package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +0 -3
- package/dist/treemap-WGGIJYW6-Cjjk75wA.js +0 -3
- package/dist/wardley-WFR3VGLG-BamDiE0x.js +0 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { H as e, K as t, U as n, a as r, c as i, s as a, v as o, w as s, x as c, y as l } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
1
|
+
import { C as e, H as t, U as n, _ as r, a as i, b as a, c as o, q as s, s as c, v as l } from "./chunk-DSNLSHJZ-B1A8wsiA.js";
|
|
3
2
|
import { n as u } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
3
|
+
import "./src-CY9Rz0Sf.js";
|
|
4
|
+
import { m as d } from "./chunk-7S6XSTFO-CN6S2H1-.js";
|
|
5
|
+
import { t as f } from "./chunk-OYAV6JZA-Cypx4hYu.js";
|
|
6
6
|
import { t as p } from "./rough.esm-DXYGHN3m.js";
|
|
7
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-
|
|
7
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-HPEHV2GE.mjs
|
|
8
8
|
var m = (function() {
|
|
9
9
|
var e = /* @__PURE__ */ u(function(e, t, n, r) {
|
|
10
10
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
@@ -424,33 +424,33 @@ var h = m, g = class {
|
|
|
424
424
|
u(this, "IshikawaDB");
|
|
425
425
|
}
|
|
426
426
|
clear() {
|
|
427
|
-
this.root = void 0, this.stack = [], this.baseLevel = void 0,
|
|
427
|
+
this.root = void 0, this.stack = [], this.baseLevel = void 0, i();
|
|
428
428
|
}
|
|
429
429
|
getRoot() {
|
|
430
430
|
return this.root;
|
|
431
431
|
}
|
|
432
|
-
addNode(e,
|
|
433
|
-
let
|
|
432
|
+
addNode(e, t) {
|
|
433
|
+
let n = c.sanitizeText(t, a());
|
|
434
434
|
if (!this.root) {
|
|
435
435
|
this.root = {
|
|
436
|
-
text:
|
|
436
|
+
text: n,
|
|
437
437
|
children: []
|
|
438
438
|
}, this.stack = [{
|
|
439
439
|
level: 0,
|
|
440
440
|
node: this.root
|
|
441
|
-
}],
|
|
441
|
+
}], s(n);
|
|
442
442
|
return;
|
|
443
443
|
}
|
|
444
444
|
this.baseLevel ??= e;
|
|
445
|
-
let
|
|
446
|
-
for (
|
|
447
|
-
let
|
|
448
|
-
text:
|
|
445
|
+
let r = e - this.baseLevel + 1;
|
|
446
|
+
for (r <= 0 && (r = 1); this.stack.length > 1 && this.stack[this.stack.length - 1].level >= r;) this.stack.pop();
|
|
447
|
+
let i = this.stack[this.stack.length - 1].node, o = {
|
|
448
|
+
text: n,
|
|
449
449
|
children: []
|
|
450
450
|
};
|
|
451
|
-
|
|
452
|
-
level:
|
|
453
|
-
node:
|
|
451
|
+
i.children.push(o), this.stack.push({
|
|
452
|
+
level: r,
|
|
453
|
+
node: o
|
|
454
454
|
});
|
|
455
455
|
}
|
|
456
456
|
getAccTitle() {
|
|
@@ -460,26 +460,26 @@ var h = m, g = class {
|
|
|
460
460
|
n(e);
|
|
461
461
|
}
|
|
462
462
|
getAccDescription() {
|
|
463
|
-
return
|
|
463
|
+
return r();
|
|
464
464
|
}
|
|
465
|
-
setAccDescription(
|
|
466
|
-
e
|
|
465
|
+
setAccDescription(e) {
|
|
466
|
+
t(e);
|
|
467
467
|
}
|
|
468
468
|
getDiagramTitle() {
|
|
469
|
-
return
|
|
469
|
+
return e();
|
|
470
470
|
}
|
|
471
471
|
setDiagramTitle(e) {
|
|
472
|
-
|
|
472
|
+
s(e);
|
|
473
473
|
}
|
|
474
474
|
}, _ = 14, v = 250, y = 30, b = 60, x = 5, S = 82 * Math.PI / 180, C = Math.cos(S), w = Math.sin(S), T = /* @__PURE__ */ u((e, t, n) => {
|
|
475
|
-
let r = e.node().getBBox(),
|
|
476
|
-
|
|
475
|
+
let r = e.node().getBBox(), i = r.width + t * 2, a = r.height + t * 2;
|
|
476
|
+
o(e, a, i, n), e.attr("viewBox", `${r.x - t} ${r.y - t} ${i} ${a}`);
|
|
477
477
|
}, "applyPaddedViewBox"), E = /* @__PURE__ */ u((e, t, n, r) => {
|
|
478
478
|
let i = r.db.getRoot();
|
|
479
479
|
if (!i) return;
|
|
480
|
-
let
|
|
480
|
+
let o = a(), { look: s, handDrawnSeed: c, themeVariables: l } = o, u = d(o.fontSize)[0] ?? _, m = s === "handDrawn", h = i.children ?? [], g = o.ishikawa?.diagramPadding ?? 20, y = o.ishikawa?.useMaxWidth ?? !1, b = f(t), x = b.append("g").attr("class", "ishikawa"), S = m ? p.svg(b.node()) : void 0, C = S ? {
|
|
481
481
|
roughSvg: S,
|
|
482
|
-
seed:
|
|
482
|
+
seed: c ?? 0,
|
|
483
483
|
lineColor: l?.lineColor ?? "#333",
|
|
484
484
|
fillColor: l?.mainBkg ?? "#fff"
|
|
485
485
|
} : void 0, w = `ishikawa-arrow-${t}`;
|
|
@@ -641,9 +641,7 @@ var h = m, g = class {
|
|
|
641
641
|
strokeWidth: 2
|
|
642
642
|
});
|
|
643
643
|
e.append(() => s).attr("class", a);
|
|
644
|
-
|
|
645
|
-
}
|
|
646
|
-
return e.append("line").attr("class", a).attr("x1", t).attr("y1", n).attr("x2", r).attr("y2", i);
|
|
644
|
+
} else return e.append("line").attr("class", a).attr("x1", t).attr("y1", n).attr("x2", r).attr("y2", i);
|
|
647
645
|
}, "drawLine"), R = {
|
|
648
646
|
parser: h,
|
|
649
647
|
get db() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as d } from "./arc-
|
|
1
|
+
import { C as e, H as t, U as n, _ as r, a as i, b as a, c as o, q as s, v as c } from "./chunk-DSNLSHJZ-B1A8wsiA.js";
|
|
2
|
+
import { n as l } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
3
|
+
import { p as u } from "./src-CY9Rz0Sf.js";
|
|
4
|
+
import { t as d } from "./arc-Cde31fHX.js";
|
|
5
5
|
import { t as f } from "./chunk-5VM5RSS4-Cr17nBXp.js";
|
|
6
|
-
import { a as p, n as m, o as h, s as g } from "./chunk-
|
|
7
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-
|
|
6
|
+
import { a as p, n as m, o as h, s as g } from "./chunk-55XCU76K-B1HtPImz.js";
|
|
7
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-BOSHW7O7.mjs
|
|
8
8
|
var _ = (function() {
|
|
9
|
-
var e = /* @__PURE__ */
|
|
9
|
+
var e = /* @__PURE__ */ l(function(e, t, n, r) {
|
|
10
10
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
11
11
|
return n;
|
|
12
12
|
}, "o"), t = [
|
|
@@ -20,7 +20,7 @@ var _ = (function() {
|
|
|
20
20
|
17,
|
|
21
21
|
18
|
|
22
22
|
], n = [1, 9], r = [1, 10], i = [1, 11], a = [1, 12], o = [1, 13], s = [1, 14], c = {
|
|
23
|
-
trace: /* @__PURE__ */
|
|
23
|
+
trace: /* @__PURE__ */ l(function() {}, "trace"),
|
|
24
24
|
yy: {},
|
|
25
25
|
symbols_: {
|
|
26
26
|
error: 2,
|
|
@@ -76,7 +76,7 @@ var _ = (function() {
|
|
|
76
76
|
[9, 1],
|
|
77
77
|
[9, 2]
|
|
78
78
|
],
|
|
79
|
-
performAction: /* @__PURE__ */
|
|
79
|
+
performAction: /* @__PURE__ */ l(function(e, t, n, r, i, a, o) {
|
|
80
80
|
var s = a.length - 1;
|
|
81
81
|
switch (i) {
|
|
82
82
|
case 1: return a[s - 1];
|
|
@@ -155,15 +155,15 @@ var _ = (function() {
|
|
|
155
155
|
e(t, [2, 13])
|
|
156
156
|
],
|
|
157
157
|
defaultActions: {},
|
|
158
|
-
parseError: /* @__PURE__ */
|
|
158
|
+
parseError: /* @__PURE__ */ l(function(e, t) {
|
|
159
159
|
if (t.recoverable) this.trace(e);
|
|
160
160
|
else {
|
|
161
161
|
var n = Error(e);
|
|
162
162
|
throw n.hash = t, n;
|
|
163
163
|
}
|
|
164
164
|
}, "parseError"),
|
|
165
|
-
parse: /* @__PURE__ */
|
|
166
|
-
var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0,
|
|
165
|
+
parse: /* @__PURE__ */ l(function(e) {
|
|
166
|
+
var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, u = 0, d = 0, f = 2, p = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
|
|
167
167
|
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
168
168
|
h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
169
169
|
var v = h.yylloc;
|
|
@@ -173,12 +173,12 @@ var _ = (function() {
|
|
|
173
173
|
function b(e) {
|
|
174
174
|
n.length -= 2 * e, i.length -= e, a.length -= e;
|
|
175
175
|
}
|
|
176
|
-
|
|
176
|
+
l(b, "popStack");
|
|
177
177
|
function x() {
|
|
178
178
|
var e = r.pop() || h.lex() || p;
|
|
179
179
|
return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
|
|
180
180
|
}
|
|
181
|
-
|
|
181
|
+
l(x, "lex");
|
|
182
182
|
for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
|
|
183
183
|
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]) {
|
|
184
184
|
var M = "";
|
|
@@ -194,7 +194,7 @@ var _ = (function() {
|
|
|
194
194
|
if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
|
|
195
195
|
switch (T[0]) {
|
|
196
196
|
case 1:
|
|
197
|
-
n.push(S), i.push(h.yytext), a.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (
|
|
197
|
+
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, s = h.yytext, c = h.yylineno, v = h.yylloc, d > 0 && d--);
|
|
198
198
|
break;
|
|
199
199
|
case 2:
|
|
200
200
|
if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
|
|
@@ -204,7 +204,7 @@ var _ = (function() {
|
|
|
204
204
|
last_column: a[a.length - 1].last_column
|
|
205
205
|
}, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
|
|
206
206
|
s,
|
|
207
|
-
|
|
207
|
+
u,
|
|
208
208
|
c,
|
|
209
209
|
g.yy,
|
|
210
210
|
T[1],
|
|
@@ -222,11 +222,11 @@ var _ = (function() {
|
|
|
222
222
|
c.lexer = /* @__PURE__ */ (function() {
|
|
223
223
|
return {
|
|
224
224
|
EOF: 1,
|
|
225
|
-
parseError: /* @__PURE__ */
|
|
225
|
+
parseError: /* @__PURE__ */ l(function(e, t) {
|
|
226
226
|
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
227
227
|
else throw Error(e);
|
|
228
228
|
}, "parseError"),
|
|
229
|
-
setInput: /* @__PURE__ */
|
|
229
|
+
setInput: /* @__PURE__ */ l(function(e, t) {
|
|
230
230
|
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 = {
|
|
231
231
|
first_line: 1,
|
|
232
232
|
first_column: 0,
|
|
@@ -234,11 +234,11 @@ var _ = (function() {
|
|
|
234
234
|
last_column: 0
|
|
235
235
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
236
236
|
}, "setInput"),
|
|
237
|
-
input: /* @__PURE__ */
|
|
237
|
+
input: /* @__PURE__ */ l(function() {
|
|
238
238
|
var e = this._input[0];
|
|
239
239
|
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;
|
|
240
240
|
}, "input"),
|
|
241
|
-
unput: /* @__PURE__ */
|
|
241
|
+
unput: /* @__PURE__ */ l(function(e) {
|
|
242
242
|
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
243
243
|
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
244
244
|
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
@@ -251,10 +251,10 @@ var _ = (function() {
|
|
|
251
251
|
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
|
|
252
252
|
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
253
253
|
}, "unput"),
|
|
254
|
-
more: /* @__PURE__ */
|
|
254
|
+
more: /* @__PURE__ */ l(function() {
|
|
255
255
|
return this._more = !0, this;
|
|
256
256
|
}, "more"),
|
|
257
|
-
reject: /* @__PURE__ */
|
|
257
|
+
reject: /* @__PURE__ */ l(function() {
|
|
258
258
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
259
259
|
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(), {
|
|
260
260
|
text: "",
|
|
@@ -263,22 +263,22 @@ var _ = (function() {
|
|
|
263
263
|
});
|
|
264
264
|
return this;
|
|
265
265
|
}, "reject"),
|
|
266
|
-
less: /* @__PURE__ */
|
|
266
|
+
less: /* @__PURE__ */ l(function(e) {
|
|
267
267
|
this.unput(this.match.slice(e));
|
|
268
268
|
}, "less"),
|
|
269
|
-
pastInput: /* @__PURE__ */
|
|
269
|
+
pastInput: /* @__PURE__ */ l(function() {
|
|
270
270
|
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
271
271
|
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
272
272
|
}, "pastInput"),
|
|
273
|
-
upcomingInput: /* @__PURE__ */
|
|
273
|
+
upcomingInput: /* @__PURE__ */ l(function() {
|
|
274
274
|
var e = this.match;
|
|
275
275
|
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
276
276
|
}, "upcomingInput"),
|
|
277
|
-
showPosition: /* @__PURE__ */
|
|
277
|
+
showPosition: /* @__PURE__ */ l(function() {
|
|
278
278
|
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
279
279
|
return e + this.upcomingInput() + "\n" + t + "^";
|
|
280
280
|
}, "showPosition"),
|
|
281
|
-
test_match: /* @__PURE__ */
|
|
281
|
+
test_match: /* @__PURE__ */ l(function(e, t) {
|
|
282
282
|
var n, r, i;
|
|
283
283
|
if (this.options.backtrack_lexer && (i = {
|
|
284
284
|
yylineno: this.yylineno,
|
|
@@ -311,7 +311,7 @@ var _ = (function() {
|
|
|
311
311
|
}
|
|
312
312
|
return !1;
|
|
313
313
|
}, "test_match"),
|
|
314
|
-
next: /* @__PURE__ */
|
|
314
|
+
next: /* @__PURE__ */ l(function() {
|
|
315
315
|
if (this.done) return this.EOF;
|
|
316
316
|
this._input || (this.done = !0);
|
|
317
317
|
var e, t, n, r;
|
|
@@ -333,29 +333,29 @@ var _ = (function() {
|
|
|
333
333
|
line: this.yylineno
|
|
334
334
|
});
|
|
335
335
|
}, "next"),
|
|
336
|
-
lex: /* @__PURE__ */
|
|
336
|
+
lex: /* @__PURE__ */ l(function() {
|
|
337
337
|
return this.next() || this.lex();
|
|
338
338
|
}, "lex"),
|
|
339
|
-
begin: /* @__PURE__ */
|
|
339
|
+
begin: /* @__PURE__ */ l(function(e) {
|
|
340
340
|
this.conditionStack.push(e);
|
|
341
341
|
}, "begin"),
|
|
342
|
-
popState: /* @__PURE__ */
|
|
342
|
+
popState: /* @__PURE__ */ l(function() {
|
|
343
343
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
344
344
|
}, "popState"),
|
|
345
|
-
_currentRules: /* @__PURE__ */
|
|
345
|
+
_currentRules: /* @__PURE__ */ l(function() {
|
|
346
346
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
347
347
|
}, "_currentRules"),
|
|
348
|
-
topState: /* @__PURE__ */
|
|
348
|
+
topState: /* @__PURE__ */ l(function(e) {
|
|
349
349
|
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
350
350
|
}, "topState"),
|
|
351
|
-
pushState: /* @__PURE__ */
|
|
351
|
+
pushState: /* @__PURE__ */ l(function(e) {
|
|
352
352
|
this.begin(e);
|
|
353
353
|
}, "pushState"),
|
|
354
|
-
stateStackSize: /* @__PURE__ */
|
|
354
|
+
stateStackSize: /* @__PURE__ */ l(function() {
|
|
355
355
|
return this.conditionStack.length;
|
|
356
356
|
}, "stateStackSize"),
|
|
357
357
|
options: { "case-insensitive": !0 },
|
|
358
|
-
performAction: /* @__PURE__ */
|
|
358
|
+
performAction: /* @__PURE__ */ l(function(e, t, n, r) {
|
|
359
359
|
switch (n) {
|
|
360
360
|
case 0: break;
|
|
361
361
|
case 1: break;
|
|
@@ -442,28 +442,28 @@ var _ = (function() {
|
|
|
442
442
|
}
|
|
443
443
|
};
|
|
444
444
|
})();
|
|
445
|
-
function
|
|
445
|
+
function u() {
|
|
446
446
|
this.yy = {};
|
|
447
447
|
}
|
|
448
|
-
return u
|
|
448
|
+
return l(u, "Parser"), u.prototype = c, c.Parser = u, new u();
|
|
449
449
|
})();
|
|
450
450
|
_.parser = _;
|
|
451
|
-
var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */
|
|
451
|
+
var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ l(function() {
|
|
452
452
|
b.length = 0, x.length = 0, y = "", S.length = 0, i();
|
|
453
|
-
}, "clear"), w = /* @__PURE__ */
|
|
453
|
+
}, "clear"), w = /* @__PURE__ */ l(function(e) {
|
|
454
454
|
y = e, b.push(e);
|
|
455
|
-
}, "addSection"), T = /* @__PURE__ */
|
|
455
|
+
}, "addSection"), T = /* @__PURE__ */ l(function() {
|
|
456
456
|
return b;
|
|
457
|
-
}, "getSections"), E = /* @__PURE__ */
|
|
457
|
+
}, "getSections"), E = /* @__PURE__ */ l(function() {
|
|
458
458
|
let e = A(), t = 0;
|
|
459
459
|
for (; !e && t < 100;) e = A(), t++;
|
|
460
460
|
return x.push(...S), x;
|
|
461
|
-
}, "getTasks"), D = /* @__PURE__ */
|
|
461
|
+
}, "getTasks"), D = /* @__PURE__ */ l(function() {
|
|
462
462
|
let e = [];
|
|
463
463
|
return x.forEach((t) => {
|
|
464
464
|
t.people && e.push(...t.people);
|
|
465
465
|
}), [...new Set(e)].sort();
|
|
466
|
-
}, "updateActors"), O = /* @__PURE__ */
|
|
466
|
+
}, "updateActors"), O = /* @__PURE__ */ l(function(e, t) {
|
|
467
467
|
let n = t.substr(1).split(":"), r = 0, i = [];
|
|
468
468
|
n.length === 1 ? (r = Number(n[0]), i = []) : (r = Number(n[0]), i = n[1].split(","));
|
|
469
469
|
let a = i.map((e) => e.trim()), o = {
|
|
@@ -474,7 +474,7 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ u(function() {
|
|
|
474
474
|
score: r
|
|
475
475
|
};
|
|
476
476
|
S.push(o);
|
|
477
|
-
}, "addTask"), k = /* @__PURE__ */
|
|
477
|
+
}, "addTask"), k = /* @__PURE__ */ l(function(e) {
|
|
478
478
|
let t = {
|
|
479
479
|
section: y,
|
|
480
480
|
type: y,
|
|
@@ -483,30 +483,30 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ u(function() {
|
|
|
483
483
|
classes: []
|
|
484
484
|
};
|
|
485
485
|
x.push(t);
|
|
486
|
-
}, "addTaskOrg"), A = /* @__PURE__ */
|
|
487
|
-
let e = /* @__PURE__ */
|
|
486
|
+
}, "addTaskOrg"), A = /* @__PURE__ */ l(function() {
|
|
487
|
+
let e = /* @__PURE__ */ l(function(e) {
|
|
488
488
|
return S[e].processed;
|
|
489
489
|
}, "compileTask"), t = !0;
|
|
490
490
|
for (let [n, r] of S.entries()) e(n), t &&= r.processed;
|
|
491
491
|
return t;
|
|
492
492
|
}, "compileTasks"), j = {
|
|
493
|
-
getConfig: /* @__PURE__ */
|
|
493
|
+
getConfig: /* @__PURE__ */ l(() => a().journey, "getConfig"),
|
|
494
494
|
clear: C,
|
|
495
|
-
setDiagramTitle:
|
|
496
|
-
getDiagramTitle:
|
|
497
|
-
setAccTitle:
|
|
498
|
-
getAccTitle:
|
|
495
|
+
setDiagramTitle: s,
|
|
496
|
+
getDiagramTitle: e,
|
|
497
|
+
setAccTitle: n,
|
|
498
|
+
getAccTitle: c,
|
|
499
499
|
setAccDescription: t,
|
|
500
|
-
getAccDescription:
|
|
500
|
+
getAccDescription: r,
|
|
501
501
|
addSection: w,
|
|
502
502
|
getSections: T,
|
|
503
503
|
getTasks: E,
|
|
504
504
|
addTask: O,
|
|
505
505
|
addTaskOrg: k,
|
|
506
|
-
getActors: /* @__PURE__ */
|
|
506
|
+
getActors: /* @__PURE__ */ l(function() {
|
|
507
507
|
return D();
|
|
508
508
|
}, "getActors")
|
|
509
|
-
}, M = /* @__PURE__ */
|
|
509
|
+
}, M = /* @__PURE__ */ l((e) => `.label {
|
|
510
510
|
font-family: ${e.fontFamily};
|
|
511
511
|
color: ${e.textColor};
|
|
512
512
|
}
|
|
@@ -639,41 +639,41 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ u(function() {
|
|
|
639
639
|
${e.actor5 ? `fill: ${e.actor5}` : ""};
|
|
640
640
|
}
|
|
641
641
|
${f()}
|
|
642
|
-
`, "getStyles"), N = /* @__PURE__ */
|
|
642
|
+
`, "getStyles"), N = /* @__PURE__ */ l(function(e, t) {
|
|
643
643
|
return p(e, t);
|
|
644
|
-
}, "drawRect"), P = /* @__PURE__ */
|
|
644
|
+
}, "drawRect"), P = /* @__PURE__ */ l(function(e, t) {
|
|
645
645
|
let n = e.append("circle").attr("cx", t.cx).attr("cy", t.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), r = e.append("g");
|
|
646
646
|
r.append("circle").attr("cx", t.cx - 5).attr("cy", t.cy - 5).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), r.append("circle").attr("cx", t.cx + 5).attr("cy", t.cy - 5).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
|
|
647
647
|
function i(e) {
|
|
648
648
|
let n = d().startAngle(Math.PI / 2).endAngle(Math.PI / 2 * 3).innerRadius(15 / 2).outerRadius(15 / 2.2);
|
|
649
649
|
e.append("path").attr("class", "mouth").attr("d", n).attr("transform", "translate(" + t.cx + "," + (t.cy + 2) + ")");
|
|
650
650
|
}
|
|
651
|
-
|
|
651
|
+
l(i, "smile");
|
|
652
652
|
function a(e) {
|
|
653
653
|
let n = d().startAngle(3 * Math.PI / 2).endAngle(Math.PI / 2 * 5).innerRadius(15 / 2).outerRadius(15 / 2.2);
|
|
654
654
|
e.append("path").attr("class", "mouth").attr("d", n).attr("transform", "translate(" + t.cx + "," + (t.cy + 7) + ")");
|
|
655
655
|
}
|
|
656
|
-
|
|
656
|
+
l(a, "sad");
|
|
657
657
|
function o(e) {
|
|
658
658
|
e.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", t.cx - 5).attr("y1", t.cy + 7).attr("x2", t.cx + 5).attr("y2", t.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
|
|
659
659
|
}
|
|
660
|
-
return
|
|
661
|
-
}, "drawFace"), F = /* @__PURE__ */
|
|
660
|
+
return l(o, "ambivalent"), t.score > 3 ? i(r) : t.score < 3 ? a(r) : o(r), n;
|
|
661
|
+
}, "drawFace"), F = /* @__PURE__ */ l(function(e, t) {
|
|
662
662
|
let n = e.append("circle");
|
|
663
663
|
return n.attr("cx", t.cx), n.attr("cy", t.cy), n.attr("class", "actor-" + t.pos), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("r", t.r), n.class !== void 0 && n.attr("class", n.class), t.title !== void 0 && n.append("title").text(t.title), n;
|
|
664
|
-
}, "drawCircle"), I = /* @__PURE__ */
|
|
664
|
+
}, "drawCircle"), I = /* @__PURE__ */ l(function(e, t) {
|
|
665
665
|
return h(e, t);
|
|
666
|
-
}, "drawText"), L = /* @__PURE__ */
|
|
666
|
+
}, "drawText"), L = /* @__PURE__ */ l(function(e, t) {
|
|
667
667
|
function n(e, t, n, r, i) {
|
|
668
668
|
return e + "," + t + " " + (e + n) + "," + t + " " + (e + n) + "," + (t + r - i) + " " + (e + n - i * 1.2) + "," + (t + r) + " " + e + "," + (t + r);
|
|
669
669
|
}
|
|
670
|
-
|
|
670
|
+
l(n, "genPoints");
|
|
671
671
|
let r = e.append("polygon");
|
|
672
672
|
r.attr("points", n(t.x, t.y, 50, 20, 7)), r.attr("class", "labelBox"), t.y += t.labelMargin, t.x += .5 * t.labelMargin, I(e, t);
|
|
673
|
-
}, "drawLabel"), R = /* @__PURE__ */
|
|
673
|
+
}, "drawLabel"), R = /* @__PURE__ */ l(function(e, t, n) {
|
|
674
674
|
let r = e.append("g"), i = g();
|
|
675
675
|
i.x = t.x, i.y = t.y, i.fill = t.fill, i.width = n.width * t.taskCount + n.diagramMarginX * (t.taskCount - 1), i.height = n.height, i.class = "journey-section section-type-" + t.num, i.rx = 3, i.ry = 3, N(r, i), H(n)(t.text, r, i.x, i.y, i.width, i.height, { class: "journey-section section-type-" + t.num }, n, t.colour);
|
|
676
|
-
}, "drawSection"), z = -1, B = /* @__PURE__ */
|
|
676
|
+
}, "drawSection"), z = -1, B = /* @__PURE__ */ l(function(e, t, n, r) {
|
|
677
677
|
let i = t.x + n.width / 2, a = e.append("g");
|
|
678
678
|
z++, a.append("line").attr("id", r + "-task" + z).attr("x1", i).attr("y1", t.y).attr("x2", i).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), P(a, {
|
|
679
679
|
cx: i,
|
|
@@ -695,13 +695,13 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ u(function() {
|
|
|
695
695
|
};
|
|
696
696
|
F(a, r), s += 10;
|
|
697
697
|
}), H(n)(t.task, a, o.x, o.y, o.width, o.height, { class: "task" }, n, t.colour);
|
|
698
|
-
}, "drawTask"), V = /* @__PURE__ */
|
|
698
|
+
}, "drawTask"), V = /* @__PURE__ */ l(function(e, t) {
|
|
699
699
|
m(e, t);
|
|
700
700
|
}, "drawBackgroundRect"), H = /* @__PURE__ */ (function() {
|
|
701
701
|
function e(e, t, n, i, a, o, s, c) {
|
|
702
702
|
r(t.append("text").attr("x", n + a / 2).attr("y", i + o / 2 + 5).style("font-color", c).style("text-anchor", "middle").text(e), s);
|
|
703
703
|
}
|
|
704
|
-
|
|
704
|
+
l(e, "byText");
|
|
705
705
|
function t(e, t, n, i, a, o, s, c, l) {
|
|
706
706
|
let { taskFontSize: u, taskFontFamily: d } = c, f = e.split(/<br\s*\/?>/gi);
|
|
707
707
|
for (let e = 0; e < f.length; e++) {
|
|
@@ -709,16 +709,16 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ u(function() {
|
|
|
709
709
|
p.append("tspan").attr("x", n + a / 2).attr("dy", c).text(f[e]), p.attr("y", i + o / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), r(p, s);
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
|
-
|
|
712
|
+
l(t, "byTspan");
|
|
713
713
|
function n(e, n, i, a, o, s, c, l) {
|
|
714
714
|
let u = n.append("switch"), d = u.append("foreignObject").attr("x", i).attr("y", a).attr("width", o).attr("height", s).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
|
|
715
715
|
d.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(e), t(e, u, i, a, o, s, c, l), r(d, c);
|
|
716
716
|
}
|
|
717
|
-
|
|
717
|
+
l(n, "byFo");
|
|
718
718
|
function r(e, t) {
|
|
719
719
|
for (let n in t) n in t && e.attr(n, t[n]);
|
|
720
720
|
}
|
|
721
|
-
return
|
|
721
|
+
return l(r, "_setTextAttrs"), function(r) {
|
|
722
722
|
return r.textPlacement === "fo" ? n : r.textPlacement === "old" ? e : t;
|
|
723
723
|
};
|
|
724
724
|
})(), U = {
|
|
@@ -729,16 +729,16 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ u(function() {
|
|
|
729
729
|
drawLabel: L,
|
|
730
730
|
drawTask: B,
|
|
731
731
|
drawBackgroundRect: V,
|
|
732
|
-
initGraphics: /* @__PURE__ */
|
|
732
|
+
initGraphics: /* @__PURE__ */ l(function(e, t) {
|
|
733
733
|
z = -1, e.append("defs").append("marker").attr("id", t + "-arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
|
|
734
734
|
}, "initGraphics")
|
|
735
|
-
}, W = /* @__PURE__ */
|
|
735
|
+
}, W = /* @__PURE__ */ l(function(e) {
|
|
736
736
|
Object.keys(e).forEach(function(t) {
|
|
737
737
|
J[t] = e[t];
|
|
738
738
|
});
|
|
739
739
|
}, "setConf"), G = {}, K = 0;
|
|
740
740
|
function q(e) {
|
|
741
|
-
let t =
|
|
741
|
+
let t = a().journey, n = t.maxLabelWidth;
|
|
742
742
|
K = 0;
|
|
743
743
|
let r = 60;
|
|
744
744
|
Object.keys(G).forEach((i) => {
|
|
@@ -780,15 +780,15 @@ function q(e) {
|
|
|
780
780
|
}), r += Math.max(20, l.length * 20);
|
|
781
781
|
});
|
|
782
782
|
}
|
|
783
|
-
|
|
784
|
-
var J =
|
|
785
|
-
let
|
|
786
|
-
d === "sandbox" && (f =
|
|
787
|
-
let p =
|
|
783
|
+
l(q, "drawActorLegend");
|
|
784
|
+
var J = a().journey, Y = 0, ee = /* @__PURE__ */ l(function(e, t, n, r) {
|
|
785
|
+
let i = a(), s = i.journey.titleColor, c = i.journey.titleFontSize, l = i.journey.titleFontFamily, d = i.securityLevel, f;
|
|
786
|
+
d === "sandbox" && (f = u("#i" + t));
|
|
787
|
+
let p = u(d === "sandbox" ? f.nodes()[0].contentDocument.body : "body");
|
|
788
788
|
X.init();
|
|
789
|
-
let m = p.select("#" +
|
|
790
|
-
U.initGraphics(m,
|
|
791
|
-
let h =
|
|
789
|
+
let m = p.select("#" + t);
|
|
790
|
+
U.initGraphics(m, t);
|
|
791
|
+
let h = r.db.getTasks(), g = r.db.getDiagramTitle(), _ = r.db.getActors();
|
|
792
792
|
for (let e in G) delete G[e];
|
|
793
793
|
let v = 0;
|
|
794
794
|
_.forEach((e) => {
|
|
@@ -796,11 +796,11 @@ var J = c().journey, Y = 0, ee = /* @__PURE__ */ u(function(t, n, r, i) {
|
|
|
796
796
|
color: J.actorColours[v % J.actorColours.length],
|
|
797
797
|
position: v
|
|
798
798
|
}, v++;
|
|
799
|
-
}), q(m), Y = J.leftMargin + K, X.insert(0, 0, Y, Object.keys(G).length * 50), te(m, h, 0,
|
|
799
|
+
}), q(m), Y = J.leftMargin + K, X.insert(0, 0, Y, Object.keys(G).length * 50), te(m, h, 0, t);
|
|
800
800
|
let y = X.getBounds();
|
|
801
|
-
g && m.append("text").text(g).attr("x", Y).attr("font-size",
|
|
801
|
+
g && m.append("text").text(g).attr("x", Y).attr("font-size", c).attr("font-weight", "bold").attr("y", 25).attr("fill", s).attr("font-family", l);
|
|
802
802
|
let b = y.stopy - y.starty + 2 * J.diagramMarginY, x = Y + y.stopx + 2 * J.diagramMarginX;
|
|
803
|
-
|
|
803
|
+
o(m, b, x, J.useMaxWidth), m.append("line").attr("x1", Y).attr("y1", J.height * 4).attr("x2", x - Y - 4).attr("y2", J.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#" + t + "-arrowhead)");
|
|
804
804
|
let S = g ? 70 : 0;
|
|
805
805
|
m.attr("viewBox", `${y.startx} -25 ${x} ${b + S}`), m.attr("preserveAspectRatio", "xMinYMin meet"), m.attr("height", b + S + 25);
|
|
806
806
|
}, "draw"), X = {
|
|
@@ -812,7 +812,7 @@ var J = c().journey, Y = 0, ee = /* @__PURE__ */ u(function(t, n, r, i) {
|
|
|
812
812
|
},
|
|
813
813
|
verticalPos: 0,
|
|
814
814
|
sequenceItems: [],
|
|
815
|
-
init: /* @__PURE__ */
|
|
815
|
+
init: /* @__PURE__ */ l(function() {
|
|
816
816
|
this.sequenceItems = [], this.data = {
|
|
817
817
|
startx: void 0,
|
|
818
818
|
stopx: void 0,
|
|
@@ -820,53 +820,53 @@ var J = c().journey, Y = 0, ee = /* @__PURE__ */ u(function(t, n, r, i) {
|
|
|
820
820
|
stopy: void 0
|
|
821
821
|
}, this.verticalPos = 0;
|
|
822
822
|
}, "init"),
|
|
823
|
-
updateVal: /* @__PURE__ */
|
|
823
|
+
updateVal: /* @__PURE__ */ l(function(e, t, n, r) {
|
|
824
824
|
e[t] = e[t] === void 0 ? n : r(n, e[t]);
|
|
825
825
|
}, "updateVal"),
|
|
826
|
-
updateBounds: /* @__PURE__ */
|
|
827
|
-
let i =
|
|
828
|
-
function
|
|
829
|
-
return /* @__PURE__ */
|
|
830
|
-
|
|
831
|
-
let l =
|
|
832
|
-
|
|
826
|
+
updateBounds: /* @__PURE__ */ l(function(e, t, n, r) {
|
|
827
|
+
let i = a().journey, o = this, s = 0;
|
|
828
|
+
function c(a) {
|
|
829
|
+
return /* @__PURE__ */ l(function(c) {
|
|
830
|
+
s++;
|
|
831
|
+
let l = o.sequenceItems.length - s + 1;
|
|
832
|
+
o.updateVal(c, "starty", t - l * i.boxMargin, Math.min), o.updateVal(c, "stopy", r + l * i.boxMargin, Math.max), o.updateVal(X.data, "startx", e - l * i.boxMargin, Math.min), o.updateVal(X.data, "stopx", n + l * i.boxMargin, Math.max), a !== "activation" && (o.updateVal(c, "startx", e - l * i.boxMargin, Math.min), o.updateVal(c, "stopx", n + l * i.boxMargin, Math.max), o.updateVal(X.data, "starty", t - l * i.boxMargin, Math.min), o.updateVal(X.data, "stopy", r + l * i.boxMargin, Math.max));
|
|
833
833
|
}, "updateItemBounds");
|
|
834
834
|
}
|
|
835
|
-
|
|
835
|
+
l(c, "updateFn"), this.sequenceItems.forEach(c());
|
|
836
836
|
}, "updateBounds"),
|
|
837
|
-
insert: /* @__PURE__ */
|
|
837
|
+
insert: /* @__PURE__ */ l(function(e, t, n, r) {
|
|
838
838
|
let i = Math.min(e, n), a = Math.max(e, n), o = Math.min(t, r), s = Math.max(t, r);
|
|
839
839
|
this.updateVal(X.data, "startx", i, Math.min), this.updateVal(X.data, "starty", o, Math.min), this.updateVal(X.data, "stopx", a, Math.max), this.updateVal(X.data, "stopy", s, Math.max), this.updateBounds(i, o, a, s);
|
|
840
840
|
}, "insert"),
|
|
841
|
-
bumpVerticalPos: /* @__PURE__ */
|
|
841
|
+
bumpVerticalPos: /* @__PURE__ */ l(function(e) {
|
|
842
842
|
this.verticalPos += e, this.data.stopy = this.verticalPos;
|
|
843
843
|
}, "bumpVerticalPos"),
|
|
844
|
-
getVerticalPos: /* @__PURE__ */
|
|
844
|
+
getVerticalPos: /* @__PURE__ */ l(function() {
|
|
845
845
|
return this.verticalPos;
|
|
846
846
|
}, "getVerticalPos"),
|
|
847
|
-
getBounds: /* @__PURE__ */
|
|
847
|
+
getBounds: /* @__PURE__ */ l(function() {
|
|
848
848
|
return this.data;
|
|
849
849
|
}, "getBounds")
|
|
850
|
-
}, Z = J.sectionFills, Q = J.sectionColours, te = /* @__PURE__ */
|
|
851
|
-
let i =
|
|
852
|
-
for (let [n,
|
|
853
|
-
if (
|
|
854
|
-
l = Z[
|
|
855
|
-
let r = 0,
|
|
856
|
-
for (let e = n; e < t.length && t[e].section ==
|
|
850
|
+
}, Z = J.sectionFills, Q = J.sectionColours, te = /* @__PURE__ */ l(function(e, t, n, r) {
|
|
851
|
+
let i = a().journey, o = "", s = n + (i.height * 2 + i.diagramMarginY), c = 0, l = "#CCC", u = "black", d = 0;
|
|
852
|
+
for (let [n, a] of t.entries()) {
|
|
853
|
+
if (o !== a.section) {
|
|
854
|
+
l = Z[c % Z.length], d = c % Z.length, u = Q[c % Q.length];
|
|
855
|
+
let r = 0, s = a.section;
|
|
856
|
+
for (let e = n; e < t.length && t[e].section == s; e++) r += 1;
|
|
857
857
|
let f = {
|
|
858
858
|
x: n * i.taskMargin + n * i.width + Y,
|
|
859
859
|
y: 50,
|
|
860
|
-
text:
|
|
860
|
+
text: a.section,
|
|
861
861
|
fill: l,
|
|
862
862
|
num: d,
|
|
863
863
|
colour: u,
|
|
864
864
|
taskCount: r
|
|
865
865
|
};
|
|
866
|
-
U.drawSection(e, f, i),
|
|
866
|
+
U.drawSection(e, f, i), o = a.section, c++;
|
|
867
867
|
}
|
|
868
|
-
let f =
|
|
869
|
-
|
|
868
|
+
let f = a.people.reduce((e, t) => (G[t] && (e[t] = G[t]), e), {});
|
|
869
|
+
a.x = n * i.taskMargin + n * i.width + Y, a.y = s, a.width = i.diagramMarginX, a.height = i.diagramMarginY, a.colour = u, a.fill = l, a.num = d, a.actors = f, U.drawTask(e, a, i, r), X.insert(a.x, a.y, a.x + a.width + i.taskMargin, 450);
|
|
870
870
|
}
|
|
871
871
|
}, "drawTasks"), $ = {
|
|
872
872
|
setConf: W,
|
|
@@ -876,7 +876,7 @@ var J = c().journey, Y = 0, ee = /* @__PURE__ */ u(function(t, n, r, i) {
|
|
|
876
876
|
db: j,
|
|
877
877
|
renderer: $,
|
|
878
878
|
styles: M,
|
|
879
|
-
init: /* @__PURE__ */
|
|
879
|
+
init: /* @__PURE__ */ l((e) => {
|
|
880
880
|
$.setConf(e.journey), j.clear();
|
|
881
881
|
}, "init")
|
|
882
882
|
};
|