@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,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as m } from "./linear-
|
|
1
|
+
import { C as e, E as t, H as n, U as r, _ as i, a, c as o, f as s, q as c, v as l, y as u, z as d } from "./chunk-DSNLSHJZ-B1A8wsiA.js";
|
|
2
|
+
import { n as f } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
3
|
+
import { m as p } from "./src-CY9Rz0Sf.js";
|
|
4
|
+
import { t as m } from "./linear-i6_MPSGL.js";
|
|
5
5
|
import { t as h } from "./ordinal-BubEveRk.js";
|
|
6
6
|
import { t as g } from "./init-CsQUQz36.js";
|
|
7
|
-
import { i as _ } from "./chunk-
|
|
8
|
-
import { t as v } from "./line-
|
|
9
|
-
import { t as y } from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import { t as b } from "./chunk-
|
|
7
|
+
import { i as _ } from "./chunk-7S6XSTFO-CN6S2H1-.js";
|
|
8
|
+
import { t as v } from "./line-ltPB6XbC.js";
|
|
9
|
+
import { t as y } from "./chunk-OYAV6JZA-Cypx4hYu.js";
|
|
10
|
+
import "./chunk-YZO67HFG-Bcmpw0dX.js";
|
|
11
|
+
import { t as b } from "./chunk-AQDTSKZB-DuUha9al.js";
|
|
12
12
|
//#region node_modules/d3-array/src/range.js
|
|
13
13
|
function x(e, t, n) {
|
|
14
14
|
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
|
|
@@ -53,9 +53,9 @@ function S() {
|
|
|
53
53
|
}, g.apply(d(), arguments);
|
|
54
54
|
}
|
|
55
55
|
//#endregion
|
|
56
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-
|
|
56
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-4URNHDU4.mjs
|
|
57
57
|
var C = (function() {
|
|
58
|
-
var e = /* @__PURE__ */
|
|
58
|
+
var e = /* @__PURE__ */ f(function(e, t, n, r) {
|
|
59
59
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
60
60
|
return n;
|
|
61
61
|
}, "o"), t = [
|
|
@@ -82,7 +82,7 @@ var C = (function() {
|
|
|
82
82
|
36,
|
|
83
83
|
37,
|
|
84
84
|
38
|
|
85
|
-
], c = [1, 25], l = [1, 26], u = [1, 28], d = [1, 29],
|
|
85
|
+
], c = [1, 25], l = [1, 26], u = [1, 28], d = [1, 29], p = [1, 30], m = [1, 31], h = [1, 32], g = [1, 33], _ = [1, 34], v = [1, 35], y = [1, 36], b = [1, 37], x = [1, 43], S = [1, 42], C = [1, 47], w = [1, 50], T = [
|
|
86
86
|
1,
|
|
87
87
|
10,
|
|
88
88
|
12,
|
|
@@ -140,7 +140,7 @@ var C = (function() {
|
|
|
140
140
|
50,
|
|
141
141
|
51
|
|
142
142
|
], O = [1, 65], k = [26, 28], A = {
|
|
143
|
-
trace: /* @__PURE__ */
|
|
143
|
+
trace: /* @__PURE__ */ f(function() {}, "trace"),
|
|
144
144
|
yy: {},
|
|
145
145
|
symbols_: {
|
|
146
146
|
error: 2,
|
|
@@ -287,7 +287,7 @@ var C = (function() {
|
|
|
287
287
|
[41, 1],
|
|
288
288
|
[41, 1]
|
|
289
289
|
],
|
|
290
|
-
performAction: /* @__PURE__ */
|
|
290
|
+
performAction: /* @__PURE__ */ f(function(e, t, n, r, i, a, o) {
|
|
291
291
|
var s = a.length - 1;
|
|
292
292
|
switch (i) {
|
|
293
293
|
case 5:
|
|
@@ -476,7 +476,7 @@ var C = (function() {
|
|
|
476
476
|
41: 27,
|
|
477
477
|
42: u,
|
|
478
478
|
43: d,
|
|
479
|
-
44:
|
|
479
|
+
44: p,
|
|
480
480
|
45: m,
|
|
481
481
|
46: h,
|
|
482
482
|
47: g,
|
|
@@ -498,7 +498,7 @@ var C = (function() {
|
|
|
498
498
|
41: 27,
|
|
499
499
|
42: u,
|
|
500
500
|
43: d,
|
|
501
|
-
44:
|
|
501
|
+
44: p,
|
|
502
502
|
45: m,
|
|
503
503
|
46: h,
|
|
504
504
|
47: g,
|
|
@@ -518,7 +518,7 @@ var C = (function() {
|
|
|
518
518
|
41: 27,
|
|
519
519
|
42: u,
|
|
520
520
|
43: d,
|
|
521
|
-
44:
|
|
521
|
+
44: p,
|
|
522
522
|
45: m,
|
|
523
523
|
46: h,
|
|
524
524
|
47: g,
|
|
@@ -537,7 +537,7 @@ var C = (function() {
|
|
|
537
537
|
41: 27,
|
|
538
538
|
42: u,
|
|
539
539
|
43: d,
|
|
540
|
-
44:
|
|
540
|
+
44: p,
|
|
541
541
|
45: m,
|
|
542
542
|
46: h,
|
|
543
543
|
47: g,
|
|
@@ -556,7 +556,7 @@ var C = (function() {
|
|
|
556
556
|
41: 27,
|
|
557
557
|
42: u,
|
|
558
558
|
43: d,
|
|
559
|
-
44:
|
|
559
|
+
44: p,
|
|
560
560
|
45: m,
|
|
561
561
|
46: h,
|
|
562
562
|
47: g,
|
|
@@ -575,7 +575,7 @@ var C = (function() {
|
|
|
575
575
|
41: 55,
|
|
576
576
|
42: u,
|
|
577
577
|
43: d,
|
|
578
|
-
44:
|
|
578
|
+
44: p,
|
|
579
579
|
45: m,
|
|
580
580
|
46: h,
|
|
581
581
|
47: g,
|
|
@@ -616,7 +616,7 @@ var C = (function() {
|
|
|
616
616
|
41: 27,
|
|
617
617
|
42: u,
|
|
618
618
|
43: d,
|
|
619
|
-
44:
|
|
619
|
+
44: p,
|
|
620
620
|
45: m,
|
|
621
621
|
46: h,
|
|
622
622
|
47: g,
|
|
@@ -678,7 +678,7 @@ var C = (function() {
|
|
|
678
678
|
41: 27,
|
|
679
679
|
42: u,
|
|
680
680
|
43: d,
|
|
681
|
-
44:
|
|
681
|
+
44: p,
|
|
682
682
|
45: m,
|
|
683
683
|
46: h,
|
|
684
684
|
47: g,
|
|
@@ -705,15 +705,15 @@ var C = (function() {
|
|
|
705
705
|
74: [2, 30],
|
|
706
706
|
75: [2, 20]
|
|
707
707
|
},
|
|
708
|
-
parseError: /* @__PURE__ */
|
|
708
|
+
parseError: /* @__PURE__ */ f(function(e, t) {
|
|
709
709
|
if (t.recoverable) this.trace(e);
|
|
710
710
|
else {
|
|
711
711
|
var n = Error(e);
|
|
712
712
|
throw n.hash = t, n;
|
|
713
713
|
}
|
|
714
714
|
}, "parseError"),
|
|
715
|
-
parse: /* @__PURE__ */
|
|
716
|
-
var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2,
|
|
715
|
+
parse: /* @__PURE__ */ f(function(e) {
|
|
716
|
+
var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2, p = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
|
|
717
717
|
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
718
718
|
h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
719
719
|
var v = h.yylloc;
|
|
@@ -723,17 +723,17 @@ var C = (function() {
|
|
|
723
723
|
function b(e) {
|
|
724
724
|
n.length -= 2 * e, i.length -= e, a.length -= e;
|
|
725
725
|
}
|
|
726
|
-
|
|
726
|
+
f(b, "popStack");
|
|
727
727
|
function x() {
|
|
728
|
-
var e = r.pop() || h.lex() ||
|
|
728
|
+
var e = r.pop() || h.lex() || p;
|
|
729
729
|
return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
|
|
730
730
|
}
|
|
731
|
-
|
|
731
|
+
f(x, "lex");
|
|
732
732
|
for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
|
|
733
733
|
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]) {
|
|
734
734
|
var M = "";
|
|
735
735
|
for (O in j = [], o[w]) this.terminals_[O] && O > d && j.push("'" + this.terminals_[O] + "'");
|
|
736
|
-
M = h.showPosition ? "Parse error on line " + (c + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (S ==
|
|
736
|
+
M = h.showPosition ? "Parse error on line " + (c + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
|
|
737
737
|
text: h.match,
|
|
738
738
|
token: this.terminals_[S] || S,
|
|
739
739
|
line: h.yylineno,
|
|
@@ -772,11 +772,11 @@ var C = (function() {
|
|
|
772
772
|
A.lexer = /* @__PURE__ */ (function() {
|
|
773
773
|
return {
|
|
774
774
|
EOF: 1,
|
|
775
|
-
parseError: /* @__PURE__ */
|
|
775
|
+
parseError: /* @__PURE__ */ f(function(e, t) {
|
|
776
776
|
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
777
777
|
else throw Error(e);
|
|
778
778
|
}, "parseError"),
|
|
779
|
-
setInput: /* @__PURE__ */
|
|
779
|
+
setInput: /* @__PURE__ */ f(function(e, t) {
|
|
780
780
|
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 = {
|
|
781
781
|
first_line: 1,
|
|
782
782
|
first_column: 0,
|
|
@@ -784,11 +784,11 @@ var C = (function() {
|
|
|
784
784
|
last_column: 0
|
|
785
785
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
786
786
|
}, "setInput"),
|
|
787
|
-
input: /* @__PURE__ */
|
|
787
|
+
input: /* @__PURE__ */ f(function() {
|
|
788
788
|
var e = this._input[0];
|
|
789
789
|
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;
|
|
790
790
|
}, "input"),
|
|
791
|
-
unput: /* @__PURE__ */
|
|
791
|
+
unput: /* @__PURE__ */ f(function(e) {
|
|
792
792
|
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
793
793
|
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
794
794
|
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
@@ -801,10 +801,10 @@ var C = (function() {
|
|
|
801
801
|
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
|
|
802
802
|
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
803
803
|
}, "unput"),
|
|
804
|
-
more: /* @__PURE__ */
|
|
804
|
+
more: /* @__PURE__ */ f(function() {
|
|
805
805
|
return this._more = !0, this;
|
|
806
806
|
}, "more"),
|
|
807
|
-
reject: /* @__PURE__ */
|
|
807
|
+
reject: /* @__PURE__ */ f(function() {
|
|
808
808
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
809
809
|
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(), {
|
|
810
810
|
text: "",
|
|
@@ -813,22 +813,22 @@ var C = (function() {
|
|
|
813
813
|
});
|
|
814
814
|
return this;
|
|
815
815
|
}, "reject"),
|
|
816
|
-
less: /* @__PURE__ */
|
|
816
|
+
less: /* @__PURE__ */ f(function(e) {
|
|
817
817
|
this.unput(this.match.slice(e));
|
|
818
818
|
}, "less"),
|
|
819
|
-
pastInput: /* @__PURE__ */
|
|
819
|
+
pastInput: /* @__PURE__ */ f(function() {
|
|
820
820
|
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
821
821
|
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
822
822
|
}, "pastInput"),
|
|
823
|
-
upcomingInput: /* @__PURE__ */
|
|
823
|
+
upcomingInput: /* @__PURE__ */ f(function() {
|
|
824
824
|
var e = this.match;
|
|
825
825
|
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
826
826
|
}, "upcomingInput"),
|
|
827
|
-
showPosition: /* @__PURE__ */
|
|
827
|
+
showPosition: /* @__PURE__ */ f(function() {
|
|
828
828
|
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
829
829
|
return e + this.upcomingInput() + "\n" + t + "^";
|
|
830
830
|
}, "showPosition"),
|
|
831
|
-
test_match: /* @__PURE__ */
|
|
831
|
+
test_match: /* @__PURE__ */ f(function(e, t) {
|
|
832
832
|
var n, r, i;
|
|
833
833
|
if (this.options.backtrack_lexer && (i = {
|
|
834
834
|
yylineno: this.yylineno,
|
|
@@ -861,7 +861,7 @@ var C = (function() {
|
|
|
861
861
|
}
|
|
862
862
|
return !1;
|
|
863
863
|
}, "test_match"),
|
|
864
|
-
next: /* @__PURE__ */
|
|
864
|
+
next: /* @__PURE__ */ f(function() {
|
|
865
865
|
if (this.done) return this.EOF;
|
|
866
866
|
this._input || (this.done = !0);
|
|
867
867
|
var e, t, n, r;
|
|
@@ -883,29 +883,29 @@ var C = (function() {
|
|
|
883
883
|
line: this.yylineno
|
|
884
884
|
});
|
|
885
885
|
}, "next"),
|
|
886
|
-
lex: /* @__PURE__ */
|
|
886
|
+
lex: /* @__PURE__ */ f(function() {
|
|
887
887
|
return this.next() || this.lex();
|
|
888
888
|
}, "lex"),
|
|
889
|
-
begin: /* @__PURE__ */
|
|
889
|
+
begin: /* @__PURE__ */ f(function(e) {
|
|
890
890
|
this.conditionStack.push(e);
|
|
891
891
|
}, "begin"),
|
|
892
|
-
popState: /* @__PURE__ */
|
|
892
|
+
popState: /* @__PURE__ */ f(function() {
|
|
893
893
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
894
894
|
}, "popState"),
|
|
895
|
-
_currentRules: /* @__PURE__ */
|
|
895
|
+
_currentRules: /* @__PURE__ */ f(function() {
|
|
896
896
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
897
897
|
}, "_currentRules"),
|
|
898
|
-
topState: /* @__PURE__ */
|
|
898
|
+
topState: /* @__PURE__ */ f(function(e) {
|
|
899
899
|
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
900
900
|
}, "topState"),
|
|
901
|
-
pushState: /* @__PURE__ */
|
|
901
|
+
pushState: /* @__PURE__ */ f(function(e) {
|
|
902
902
|
this.begin(e);
|
|
903
903
|
}, "pushState"),
|
|
904
|
-
stateStackSize: /* @__PURE__ */
|
|
904
|
+
stateStackSize: /* @__PURE__ */ f(function() {
|
|
905
905
|
return this.conditionStack.length;
|
|
906
906
|
}, "stateStackSize"),
|
|
907
907
|
options: { "case-insensitive": !0 },
|
|
908
|
-
performAction: /* @__PURE__ */
|
|
908
|
+
performAction: /* @__PURE__ */ f(function(e, t, n, r) {
|
|
909
909
|
switch (n) {
|
|
910
910
|
case 0: break;
|
|
911
911
|
case 1: break;
|
|
@@ -1250,28 +1250,28 @@ var C = (function() {
|
|
|
1250
1250
|
function j() {
|
|
1251
1251
|
this.yy = {};
|
|
1252
1252
|
}
|
|
1253
|
-
return
|
|
1253
|
+
return f(j, "Parser"), j.prototype = A, A.Parser = j, new j();
|
|
1254
1254
|
})();
|
|
1255
1255
|
C.parser = C;
|
|
1256
1256
|
var w = C;
|
|
1257
1257
|
function T(e) {
|
|
1258
1258
|
return e.type === "bar";
|
|
1259
1259
|
}
|
|
1260
|
-
|
|
1260
|
+
f(T, "isBarPlot");
|
|
1261
1261
|
function E(e) {
|
|
1262
1262
|
return e.type === "band";
|
|
1263
1263
|
}
|
|
1264
|
-
|
|
1264
|
+
f(E, "isBandAxisData");
|
|
1265
1265
|
function D(e) {
|
|
1266
1266
|
return e.type === "linear";
|
|
1267
1267
|
}
|
|
1268
|
-
|
|
1268
|
+
f(D, "isLinearAxisData");
|
|
1269
1269
|
var O = class {
|
|
1270
1270
|
constructor(e) {
|
|
1271
1271
|
this.parentGroup = e;
|
|
1272
1272
|
}
|
|
1273
1273
|
static {
|
|
1274
|
-
|
|
1274
|
+
f(this, "TextDimensionCalculatorWithFont");
|
|
1275
1275
|
}
|
|
1276
1276
|
getMaxDimension(e, t) {
|
|
1277
1277
|
if (!this.parentGroup) return {
|
|
@@ -1281,10 +1281,10 @@ var O = class {
|
|
|
1281
1281
|
let n = {
|
|
1282
1282
|
width: 0,
|
|
1283
1283
|
height: 0
|
|
1284
|
-
}, r = this.parentGroup.append("g").attr("visibility", "hidden").attr("font-size", t);
|
|
1284
|
+
}, r = this.parentGroup.append("g").attr("visibility", "hidden").attr("font-size", t), i = r.node()?.getScreenCTM?.(), a = /* @__PURE__ */ f((e) => e && e > 0 ? e : 1, "toScale"), o = a(i?.a), s = a(i?.d);
|
|
1285
1285
|
for (let i of e) {
|
|
1286
|
-
let e = b(r, 1, i), a = e ? e.width : i.length * t,
|
|
1287
|
-
n.width = Math.max(n.width, a), n.height = Math.max(n.height,
|
|
1286
|
+
let e = b(r, 1, i), a = e ? e.width / o : i.length * t, c = e ? e.height / s : t;
|
|
1287
|
+
n.width = Math.max(n.width, a), n.height = Math.max(n.height, c);
|
|
1288
1288
|
}
|
|
1289
1289
|
return r.remove(), n;
|
|
1290
1290
|
}
|
|
@@ -1303,7 +1303,7 @@ var O = class {
|
|
|
1303
1303
|
}, this.axisPosition = "left", this.normalizedLabelRotationInRad = this.axisConfig.labelRotation >= -90 && this.axisConfig.labelRotation <= 90 ? this.axisConfig.labelRotation * Math.PI / 180 : 0;
|
|
1304
1304
|
}
|
|
1305
1305
|
static {
|
|
1306
|
-
|
|
1306
|
+
f(this, "BaseAxis");
|
|
1307
1307
|
}
|
|
1308
1308
|
setRange(e) {
|
|
1309
1309
|
this.range = e, this.axisPosition === "left" || this.axisPosition === "right" ? this.boundingRect.height = e[1] - e[0] : this.boundingRect.width = e[1] - e[0], this.recalculateScale();
|
|
@@ -1537,7 +1537,7 @@ var O = class {
|
|
|
1537
1537
|
}
|
|
1538
1538
|
}, M = class extends j {
|
|
1539
1539
|
static {
|
|
1540
|
-
|
|
1540
|
+
f(this, "BandAxis");
|
|
1541
1541
|
}
|
|
1542
1542
|
constructor(e, t, n, r, i) {
|
|
1543
1543
|
super(e, r, i, t), this.categories = n, this.scale = S().domain(this.categories).range(this.getRange());
|
|
@@ -1546,7 +1546,7 @@ var O = class {
|
|
|
1546
1546
|
super.setRange(e);
|
|
1547
1547
|
}
|
|
1548
1548
|
recalculateScale() {
|
|
1549
|
-
this.scale = S().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),
|
|
1549
|
+
this.scale = S().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5), p.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
|
|
1550
1550
|
}
|
|
1551
1551
|
getTickValues() {
|
|
1552
1552
|
return this.categories;
|
|
@@ -1556,7 +1556,7 @@ var O = class {
|
|
|
1556
1556
|
}
|
|
1557
1557
|
}, ee = class extends j {
|
|
1558
1558
|
static {
|
|
1559
|
-
|
|
1559
|
+
f(this, "LinearAxis");
|
|
1560
1560
|
}
|
|
1561
1561
|
constructor(e, t, n, r, i) {
|
|
1562
1562
|
super(e, r, i, t), this.domain = n, this.scale = m().domain(this.domain).range(this.getRange());
|
|
@@ -1576,10 +1576,10 @@ function N(e, t, n, r) {
|
|
|
1576
1576
|
let i = new O(r);
|
|
1577
1577
|
return E(e) ? new M(t, n, e.categories, e.title, i) : new ee(t, n, [e.min, e.max], e.title, i);
|
|
1578
1578
|
}
|
|
1579
|
-
|
|
1579
|
+
f(N, "getAxis");
|
|
1580
1580
|
var te = class {
|
|
1581
1581
|
constructor(e, t, n, r) {
|
|
1582
|
-
this.textDimensionCalculator = e, this.chartConfig = t, this.chartData = n, this.chartThemeConfig = r, this.boundingRect = {
|
|
1582
|
+
this.textDimensionCalculator = e, this.chartConfig = t, this.chartData = n, this.chartThemeConfig = r, this.titleWidth = 0, this.boundingRect = {
|
|
1583
1583
|
x: 0,
|
|
1584
1584
|
y: 0,
|
|
1585
1585
|
width: 0,
|
|
@@ -1587,18 +1587,22 @@ var te = class {
|
|
|
1587
1587
|
}, this.showChartTitle = !1;
|
|
1588
1588
|
}
|
|
1589
1589
|
static {
|
|
1590
|
-
|
|
1590
|
+
f(this, "ChartTitle");
|
|
1591
1591
|
}
|
|
1592
1592
|
setBoundingBoxXY(e) {
|
|
1593
1593
|
this.boundingRect.x = e.x, this.boundingRect.y = e.y;
|
|
1594
1594
|
}
|
|
1595
1595
|
calculateSpace(e) {
|
|
1596
1596
|
let t = this.textDimensionCalculator.getMaxDimension([this.chartData.title], this.chartConfig.titleFontSize), n = Math.max(t.width, e.width), r = t.height + 2 * this.chartConfig.titlePadding;
|
|
1597
|
-
return
|
|
1597
|
+
return r <= e.height && this.chartConfig.showTitle && this.chartData.title && (this.boundingRect.width = n, this.boundingRect.height = r, this.titleWidth = t.width, this.showChartTitle = !0), {
|
|
1598
1598
|
width: this.boundingRect.width,
|
|
1599
1599
|
height: this.boundingRect.height
|
|
1600
1600
|
};
|
|
1601
1601
|
}
|
|
1602
|
+
alignTo(e, t) {
|
|
1603
|
+
let n = Math.min(this.titleWidth, this.chartConfig.width) / 2, r = Math.min(Math.max((e + t) / 2, n), this.chartConfig.width - n);
|
|
1604
|
+
this.boundingRect.x = r - n, this.boundingRect.width = n * 2;
|
|
1605
|
+
}
|
|
1602
1606
|
getDrawableElements() {
|
|
1603
1607
|
let e = [];
|
|
1604
1608
|
return this.showChartTitle && e.push({
|
|
@@ -1620,7 +1624,7 @@ var te = class {
|
|
|
1620
1624
|
function P(e, t, n, r) {
|
|
1621
1625
|
return new te(new O(r), e, t, n);
|
|
1622
1626
|
}
|
|
1623
|
-
|
|
1627
|
+
f(P, "getChartTitleComponent");
|
|
1624
1628
|
var ne = .75, re = .5, ie = .35;
|
|
1625
1629
|
function F(e) {
|
|
1626
1630
|
return {
|
|
@@ -1630,7 +1634,7 @@ function F(e) {
|
|
|
1630
1634
|
itemSpacing: e * re
|
|
1631
1635
|
};
|
|
1632
1636
|
}
|
|
1633
|
-
|
|
1637
|
+
f(F, "getLegendLayout");
|
|
1634
1638
|
var ae = class {
|
|
1635
1639
|
constructor(e, t, n, r) {
|
|
1636
1640
|
this.textDimensionCalculator = e, this.chartConfig = t, this.chartData = n, this.chartThemeConfig = r, this.boundingRect = {
|
|
@@ -1641,7 +1645,7 @@ var ae = class {
|
|
|
1641
1645
|
}, this.visiblePlots = [];
|
|
1642
1646
|
}
|
|
1643
1647
|
static {
|
|
1644
|
-
|
|
1648
|
+
f(this, "ChartLegend");
|
|
1645
1649
|
}
|
|
1646
1650
|
setBoundingBoxXY(e) {
|
|
1647
1651
|
this.boundingRect.x = e.x, this.boundingRect.y = e.y;
|
|
@@ -1708,13 +1712,13 @@ var ae = class {
|
|
|
1708
1712
|
function I(e, t, n, r) {
|
|
1709
1713
|
return new ae(new O(r), e, t, n);
|
|
1710
1714
|
}
|
|
1711
|
-
|
|
1715
|
+
f(I, "getChartLegendComponent");
|
|
1712
1716
|
var oe = class {
|
|
1713
1717
|
constructor(e, t, n, r, i) {
|
|
1714
1718
|
this.plotData = e, this.xAxis = t, this.yAxis = n, this.orientation = r, this.plotIndex = i;
|
|
1715
1719
|
}
|
|
1716
1720
|
static {
|
|
1717
|
-
|
|
1721
|
+
f(this, "LinePlot");
|
|
1718
1722
|
}
|
|
1719
1723
|
getDrawableElement() {
|
|
1720
1724
|
let e = this.plotData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t;
|
|
@@ -1769,7 +1773,7 @@ var oe = class {
|
|
|
1769
1773
|
this.barData = e, this.boundingRect = t, this.xAxis = n, this.yAxis = r, this.orientation = i, this.plotIndex = a;
|
|
1770
1774
|
}
|
|
1771
1775
|
static {
|
|
1772
|
-
|
|
1776
|
+
f(this, "BarPlot");
|
|
1773
1777
|
}
|
|
1774
1778
|
getDrawableElement() {
|
|
1775
1779
|
let e = this.barData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t = Math.min(this.xAxis.getAxisOuterPadding() * 2, this.xAxis.getTickDistance()) * .95, n = t / 2;
|
|
@@ -1809,7 +1813,7 @@ var oe = class {
|
|
|
1809
1813
|
};
|
|
1810
1814
|
}
|
|
1811
1815
|
static {
|
|
1812
|
-
|
|
1816
|
+
f(this, "BasePlot");
|
|
1813
1817
|
}
|
|
1814
1818
|
setAxes(e, t) {
|
|
1815
1819
|
this.xAxis = e, this.yAxis = t;
|
|
@@ -1844,7 +1848,7 @@ var oe = class {
|
|
|
1844
1848
|
function le(e, t, n) {
|
|
1845
1849
|
return new ce(e, t, n);
|
|
1846
1850
|
}
|
|
1847
|
-
|
|
1851
|
+
f(le, "getPlotComponent");
|
|
1848
1852
|
var ue = class {
|
|
1849
1853
|
constructor(e, t, n, r) {
|
|
1850
1854
|
this.chartConfig = e, this.chartData = t, this.componentStore = {
|
|
@@ -1866,7 +1870,7 @@ var ue = class {
|
|
|
1866
1870
|
};
|
|
1867
1871
|
}
|
|
1868
1872
|
static {
|
|
1869
|
-
|
|
1873
|
+
f(this, "Orchestrator");
|
|
1870
1874
|
}
|
|
1871
1875
|
calculateVerticalSpace() {
|
|
1872
1876
|
let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = {
|
|
@@ -1894,7 +1898,7 @@ var ue = class {
|
|
|
1894
1898
|
}), this.componentStore.plot.setBoundingBoxXY({
|
|
1895
1899
|
x: n,
|
|
1896
1900
|
y: r
|
|
1897
|
-
}), this.componentStore.legend.setBoundingBoxXY({
|
|
1901
|
+
}), this.componentStore.title.alignTo(n, n + a), this.componentStore.legend.setBoundingBoxXY({
|
|
1898
1902
|
x: n + a,
|
|
1899
1903
|
y: r + Math.max((o - i.height) / 2, 0)
|
|
1900
1904
|
}), this.componentStore.xAxis.setRange([n, n + a]), this.componentStore.xAxis.setBoundingBoxXY({
|
|
@@ -1931,7 +1935,7 @@ var ue = class {
|
|
|
1931
1935
|
}), this.componentStore.plot.setBoundingBoxXY({
|
|
1932
1936
|
x: r,
|
|
1933
1937
|
y: i
|
|
1934
|
-
}), this.componentStore.legend.setBoundingBoxXY({
|
|
1938
|
+
}), this.componentStore.title.alignTo(r, r + o), this.componentStore.legend.setBoundingBoxXY({
|
|
1935
1939
|
x: r + o,
|
|
1936
1940
|
y: i + Math.max((s - a.height) / 2, 0)
|
|
1937
1941
|
}), this.componentStore.yAxis.setRange([r, r + o]), this.componentStore.yAxis.setBoundingBoxXY({
|
|
@@ -1954,22 +1958,22 @@ var ue = class {
|
|
|
1954
1958
|
}
|
|
1955
1959
|
}, de = class {
|
|
1956
1960
|
static {
|
|
1957
|
-
|
|
1961
|
+
f(this, "XYChartBuilder");
|
|
1958
1962
|
}
|
|
1959
1963
|
static build(e, t, n, r) {
|
|
1960
1964
|
return new ue(e, t, n, r).getDrawableElement();
|
|
1961
1965
|
}
|
|
1962
1966
|
}, L = 0, R, z = K(), B = G(), V = q(), H = B.plotColorPalette.split(",").map((e) => e.trim()), U = !1, W = !1;
|
|
1963
1967
|
function G() {
|
|
1964
|
-
let e = t(), n =
|
|
1968
|
+
let e = t(), n = u();
|
|
1965
1969
|
return _(e.xyChart, n.themeVariables.xyChart);
|
|
1966
1970
|
}
|
|
1967
|
-
|
|
1971
|
+
f(G, "getChartDefaultThemeConfig");
|
|
1968
1972
|
function K() {
|
|
1969
|
-
let e =
|
|
1970
|
-
return _(
|
|
1973
|
+
let e = u();
|
|
1974
|
+
return _(s.xyChart, e.xyChart);
|
|
1971
1975
|
}
|
|
1972
|
-
|
|
1976
|
+
f(K, "getChartDefaultConfig");
|
|
1973
1977
|
function q() {
|
|
1974
1978
|
return {
|
|
1975
1979
|
yAxis: {
|
|
@@ -1987,24 +1991,24 @@ function q() {
|
|
|
1987
1991
|
plots: []
|
|
1988
1992
|
};
|
|
1989
1993
|
}
|
|
1990
|
-
|
|
1994
|
+
f(q, "getChartDefaultData");
|
|
1991
1995
|
function J(e) {
|
|
1992
|
-
let t =
|
|
1993
|
-
return
|
|
1996
|
+
let t = u();
|
|
1997
|
+
return d(e.trim(), t);
|
|
1994
1998
|
}
|
|
1995
|
-
|
|
1999
|
+
f(J, "textSanitizer");
|
|
1996
2000
|
function Y(e) {
|
|
1997
2001
|
R = e;
|
|
1998
2002
|
}
|
|
1999
|
-
|
|
2003
|
+
f(Y, "setTmpSVGG");
|
|
2000
2004
|
function fe(e) {
|
|
2001
2005
|
e === "horizontal" ? z.chartOrientation = "horizontal" : z.chartOrientation = "vertical";
|
|
2002
2006
|
}
|
|
2003
|
-
|
|
2007
|
+
f(fe, "setOrientation");
|
|
2004
2008
|
function pe(e) {
|
|
2005
2009
|
V.xAxis.title = J(e.text);
|
|
2006
2010
|
}
|
|
2007
|
-
|
|
2011
|
+
f(pe, "setXAxisTitle");
|
|
2008
2012
|
function X(e, t) {
|
|
2009
2013
|
V.xAxis = {
|
|
2010
2014
|
type: "linear",
|
|
@@ -2013,7 +2017,7 @@ function X(e, t) {
|
|
|
2013
2017
|
max: t
|
|
2014
2018
|
}, U = !0;
|
|
2015
2019
|
}
|
|
2016
|
-
|
|
2020
|
+
f(X, "setXAxisRangeData");
|
|
2017
2021
|
function me(e) {
|
|
2018
2022
|
V.xAxis = {
|
|
2019
2023
|
type: "band",
|
|
@@ -2021,11 +2025,11 @@ function me(e) {
|
|
|
2021
2025
|
categories: e.map((e) => J(e.text))
|
|
2022
2026
|
}, U = !0;
|
|
2023
2027
|
}
|
|
2024
|
-
|
|
2028
|
+
f(me, "setXAxisBand");
|
|
2025
2029
|
function he(e) {
|
|
2026
2030
|
V.yAxis.title = J(e.text);
|
|
2027
2031
|
}
|
|
2028
|
-
|
|
2032
|
+
f(he, "setYAxisTitle");
|
|
2029
2033
|
function Z(e, t) {
|
|
2030
2034
|
V.yAxis = {
|
|
2031
2035
|
type: "linear",
|
|
@@ -2034,7 +2038,7 @@ function Z(e, t) {
|
|
|
2034
2038
|
max: t
|
|
2035
2039
|
}, W = !0;
|
|
2036
2040
|
}
|
|
2037
|
-
|
|
2041
|
+
f(Z, "setYAxisRangeData");
|
|
2038
2042
|
function ge(e) {
|
|
2039
2043
|
let t = Math.min(...e), n = Math.max(...e), r = D(V.yAxis) ? V.yAxis.min : Infinity, i = D(V.yAxis) ? V.yAxis.max : -Infinity;
|
|
2040
2044
|
V.yAxis = {
|
|
@@ -2044,7 +2048,7 @@ function ge(e) {
|
|
|
2044
2048
|
max: Math.max(i, n)
|
|
2045
2049
|
};
|
|
2046
2050
|
}
|
|
2047
|
-
|
|
2051
|
+
f(ge, "setYAxisRangeFromPlotData");
|
|
2048
2052
|
function Q(e) {
|
|
2049
2053
|
let t = [];
|
|
2050
2054
|
if (e.length === 0) return t;
|
|
@@ -2062,11 +2066,11 @@ function Q(e) {
|
|
|
2062
2066
|
}
|
|
2063
2067
|
return t;
|
|
2064
2068
|
}
|
|
2065
|
-
|
|
2069
|
+
f(Q, "transformDataWithoutCategory");
|
|
2066
2070
|
function $(e) {
|
|
2067
2071
|
return H[e === 0 ? 0 : e % H.length];
|
|
2068
2072
|
}
|
|
2069
|
-
|
|
2073
|
+
f($, "getPlotColorFromPalette");
|
|
2070
2074
|
function _e(e, t) {
|
|
2071
2075
|
let n = t.map((e) => e.value), r = t.map((e) => e.label ? J(e.label) : ""), i = Q(n), a = r.some((e) => e !== "");
|
|
2072
2076
|
V.plots.push({
|
|
@@ -2078,7 +2082,7 @@ function _e(e, t) {
|
|
|
2078
2082
|
...a ? { pointLabels: r } : {}
|
|
2079
2083
|
}), L++;
|
|
2080
2084
|
}
|
|
2081
|
-
|
|
2085
|
+
f(_e, "setLineData");
|
|
2082
2086
|
function ve(e, t) {
|
|
2083
2087
|
let n = Q(t.map((e) => e.value));
|
|
2084
2088
|
V.plots.push({
|
|
@@ -2088,36 +2092,36 @@ function ve(e, t) {
|
|
|
2088
2092
|
data: n
|
|
2089
2093
|
}), L++;
|
|
2090
2094
|
}
|
|
2091
|
-
|
|
2095
|
+
f(ve, "setBarData");
|
|
2092
2096
|
function ye() {
|
|
2093
2097
|
if (V.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
|
|
2094
|
-
return V.title =
|
|
2098
|
+
return V.title = e(), de.build(z, V, B, R);
|
|
2095
2099
|
}
|
|
2096
|
-
|
|
2100
|
+
f(ye, "getDrawableElem");
|
|
2097
2101
|
function be() {
|
|
2098
2102
|
return B;
|
|
2099
2103
|
}
|
|
2100
|
-
|
|
2104
|
+
f(be, "getChartThemeConfig");
|
|
2101
2105
|
function xe() {
|
|
2102
2106
|
return z;
|
|
2103
2107
|
}
|
|
2104
|
-
|
|
2108
|
+
f(xe, "getChartConfig");
|
|
2105
2109
|
function Se() {
|
|
2106
2110
|
return V;
|
|
2107
2111
|
}
|
|
2108
|
-
|
|
2112
|
+
f(Se, "getXYChartData");
|
|
2109
2113
|
var Ce = {
|
|
2110
2114
|
parser: w,
|
|
2111
2115
|
db: {
|
|
2112
2116
|
getDrawableElem: ye,
|
|
2113
|
-
clear: /* @__PURE__ */
|
|
2117
|
+
clear: /* @__PURE__ */ f(function() {
|
|
2114
2118
|
a(), L = 0, z = K(), V = q(), B = G(), H = B.plotColorPalette.split(",").map((e) => e.trim()), U = !1, W = !1;
|
|
2115
2119
|
}, "clear"),
|
|
2116
|
-
setAccTitle:
|
|
2117
|
-
getAccTitle:
|
|
2118
|
-
setDiagramTitle:
|
|
2119
|
-
getDiagramTitle:
|
|
2120
|
-
getAccDescription:
|
|
2120
|
+
setAccTitle: r,
|
|
2121
|
+
getAccTitle: l,
|
|
2122
|
+
setDiagramTitle: c,
|
|
2123
|
+
getDiagramTitle: e,
|
|
2124
|
+
getAccDescription: i,
|
|
2121
2125
|
setAccDescription: n,
|
|
2122
2126
|
setOrientation: fe,
|
|
2123
2127
|
setXAxisTitle: pe,
|
|
@@ -2132,23 +2136,23 @@ var Ce = {
|
|
|
2132
2136
|
getChartConfig: xe,
|
|
2133
2137
|
getXYChartData: Se
|
|
2134
2138
|
},
|
|
2135
|
-
renderer: { draw: /* @__PURE__ */
|
|
2136
|
-
let
|
|
2137
|
-
function
|
|
2139
|
+
renderer: { draw: /* @__PURE__ */ f((e, t, n, r) => {
|
|
2140
|
+
let i = r.db, a = i.getChartThemeConfig(), s = i.getChartConfig(), c = i.getXYChartData().plots[0].data.map((e) => e[1]);
|
|
2141
|
+
function l(e) {
|
|
2138
2142
|
return e === "top" ? "text-before-edge" : "middle";
|
|
2139
2143
|
}
|
|
2140
|
-
|
|
2141
|
-
function
|
|
2144
|
+
f(l, "getDominantBaseLine");
|
|
2145
|
+
function u(e) {
|
|
2142
2146
|
return e === "left" ? "start" : e === "right" ? "end" : "middle";
|
|
2143
2147
|
}
|
|
2144
|
-
|
|
2145
|
-
function
|
|
2148
|
+
f(u, "getTextAnchor");
|
|
2149
|
+
function d(e) {
|
|
2146
2150
|
return `translate(${e.x}, ${e.y}) rotate(${e.rotation || 0})`;
|
|
2147
2151
|
}
|
|
2148
|
-
|
|
2149
|
-
let m = y(
|
|
2150
|
-
|
|
2151
|
-
let _ =
|
|
2152
|
+
f(d, "getTextTransformation"), p.debug("Rendering xychart chart\n" + e);
|
|
2153
|
+
let m = y(t), h = m.append("g").attr("class", "main"), g = h.append("rect").attr("width", s.width).attr("height", s.height).attr("class", "background");
|
|
2154
|
+
o(m, s.height, s.width, !0), m.attr("viewBox", `0 0 ${s.width} ${s.height}`), g.attr("fill", a.backgroundColor), i.setTmpSVGG(m.append("g").attr("class", "mermaid-tmp-group"));
|
|
2155
|
+
let _ = i.getDrawableElem(), v = {};
|
|
2152
2156
|
function b(e) {
|
|
2153
2157
|
let t = h, n = "";
|
|
2154
2158
|
for (let [r] of e.entries()) {
|
|
@@ -2157,49 +2161,49 @@ var Ce = {
|
|
|
2157
2161
|
}
|
|
2158
2162
|
return t;
|
|
2159
2163
|
}
|
|
2160
|
-
|
|
2164
|
+
f(b, "getGroup");
|
|
2161
2165
|
for (let e of _) {
|
|
2162
2166
|
if (e.data.length === 0) continue;
|
|
2163
2167
|
let t = b(e.groupTexts);
|
|
2164
2168
|
switch (e.type) {
|
|
2165
2169
|
case "rect":
|
|
2166
|
-
if (t.selectAll("rect").data(e.data).enter().append("rect").attr("x", (e) => e.x).attr("y", (e) => e.y).attr("width", (e) => e.width).attr("height", (e) => e.height).attr("fill", (e) => e.fill).attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth),
|
|
2167
|
-
let n =
|
|
2168
|
-
if (
|
|
2170
|
+
if (t.selectAll("rect").data(e.data).enter().append("rect").attr("x", (e) => e.x).attr("y", (e) => e.y).attr("width", (e) => e.width).attr("height", (e) => e.height).attr("fill", (e) => e.fill).attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth), s.showDataLabel) {
|
|
2171
|
+
let n = s.showDataLabelOutsideBar;
|
|
2172
|
+
if (s.chartOrientation === "horizontal") {
|
|
2169
2173
|
let r = function(e, t) {
|
|
2170
2174
|
let { data: n, label: r } = e;
|
|
2171
|
-
return t * r.length * i <= n.width -
|
|
2175
|
+
return t * r.length * i <= n.width - o;
|
|
2172
2176
|
};
|
|
2173
|
-
|
|
2174
|
-
let i = .7,
|
|
2177
|
+
f(r, "fitsHorizontally");
|
|
2178
|
+
let i = .7, o = 10, s = e.data.map((e, t) => ({
|
|
2175
2179
|
data: e,
|
|
2176
|
-
label:
|
|
2177
|
-
})).filter((e) => e.data.width > 0 && e.data.height > 0),
|
|
2180
|
+
label: c[t].toString()
|
|
2181
|
+
})).filter((e) => e.data.width > 0 && e.data.height > 0), l = s.map((e) => {
|
|
2178
2182
|
let { data: t } = e, n = t.height * .7;
|
|
2179
2183
|
for (; !r(e, n) && n > 0;) --n;
|
|
2180
2184
|
return n;
|
|
2181
|
-
}), u = Math.floor(Math.min(...
|
|
2182
|
-
t.selectAll("text").data(s).enter().append("text").attr("x", d).attr("y", (e) => e.data.y + e.data.height / 2).attr("text-anchor", n ? "start" : "end").attr("dominant-baseline", "middle").attr("fill",
|
|
2185
|
+
}), u = Math.floor(Math.min(...l)), d = /* @__PURE__ */ f((e) => n ? e.data.x + e.data.width + 10 : e.data.x + e.data.width - 10, "determineLabelXPosition");
|
|
2186
|
+
t.selectAll("text").data(s).enter().append("text").attr("x", d).attr("y", (e) => e.data.y + e.data.height / 2).attr("text-anchor", n ? "start" : "end").attr("dominant-baseline", "middle").attr("fill", a.dataLabelColor).attr("font-size", `${u}px`).text((e) => e.label);
|
|
2183
2187
|
} else {
|
|
2184
2188
|
let r = function(e, t, n) {
|
|
2185
2189
|
let { data: r, label: i } = e, a = t * i.length * .7, o = r.x + r.width / 2, s = o - a / 2, c = o + a / 2, l = s >= r.x && c <= r.x + r.width, u = r.y + n + t <= r.y + r.height;
|
|
2186
2190
|
return l && u;
|
|
2187
2191
|
};
|
|
2188
|
-
|
|
2192
|
+
f(r, "fitsInBar");
|
|
2189
2193
|
let i = e.data.map((e, t) => ({
|
|
2190
2194
|
data: e,
|
|
2191
|
-
label:
|
|
2192
|
-
})).filter((e) => e.data.width > 0 && e.data.height > 0),
|
|
2195
|
+
label: c[t].toString()
|
|
2196
|
+
})).filter((e) => e.data.width > 0 && e.data.height > 0), o = i.map((e) => {
|
|
2193
2197
|
let { data: t, label: n } = e, i = t.width / (n.length * .7);
|
|
2194
2198
|
for (; !r(e, i, 10) && i > 0;) --i;
|
|
2195
2199
|
return i;
|
|
2196
|
-
}), s = Math.floor(Math.min(...
|
|
2197
|
-
t.selectAll("text").data(i).enter().append("text").attr("x", (e) => e.data.x + e.data.width / 2).attr("y",
|
|
2200
|
+
}), s = Math.floor(Math.min(...o)), l = /* @__PURE__ */ f((e) => n ? e.data.y - 10 : e.data.y + 10, "determineLabelYPosition");
|
|
2201
|
+
t.selectAll("text").data(i).enter().append("text").attr("x", (e) => e.data.x + e.data.width / 2).attr("y", l).attr("text-anchor", "middle").attr("dominant-baseline", n ? "auto" : "hanging").attr("fill", a.dataLabelColor).attr("font-size", `${s}px`).text((e) => e.label);
|
|
2198
2202
|
}
|
|
2199
2203
|
}
|
|
2200
2204
|
break;
|
|
2201
2205
|
case "text":
|
|
2202
|
-
t.selectAll("text").data(e.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (e) => e.fill).attr("font-size", (e) => e.fontSize).attr("dominant-baseline", (e) =>
|
|
2206
|
+
t.selectAll("text").data(e.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (e) => e.fill).attr("font-size", (e) => e.fontSize).attr("dominant-baseline", (e) => l(e.verticalPos)).attr("text-anchor", (e) => u(e.horizontalPos)).attr("transform", (e) => d(e)).text((e) => e.text);
|
|
2203
2207
|
break;
|
|
2204
2208
|
case "path": t.selectAll("path").data(e.data).enter().append("path").attr("d", (e) => e.path).attr("fill", (e) => e.fill ? e.fill : "none").attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth);
|
|
2205
2209
|
}
|