@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-bar-utils.d.ts","sourceRoot":"","sources":["../../../src/components/app-bar/app-bar-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAEvD,eAAO,MAAM,iCAAiC,
|
|
1
|
+
{"version":3,"file":"app-bar-utils.d.ts","sourceRoot":"","sources":["../../../src/components/app-bar/app-bar-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAEvD,eAAO,MAAM,iCAAiC,GAAI,WAAW,SAAS,mBA2BrE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-bar.data.d.ts","sourceRoot":"","sources":["../../../src/components/app-bar/app-bar.data.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"app-bar.data.d.ts","sourceRoot":"","sources":["../../../src/components/app-bar/app-bar.data.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACV,MAAM,6BAA6B,CAAA;AA0EpC;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,SA2NxB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box-list.d.ts","sourceRoot":"","sources":["../../../src/components/box-list/box-list.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAS/C,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"box-list.d.ts","sourceRoot":"","sources":["../../../src/components/box-list/box-list.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAS/C,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA2L1C,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Height left for the element from its top edge to the bottom of the window,
|
|
4
|
+
* or `undefined` while it cannot be measured (not rendered, or `enabled` is
|
|
5
|
+
* false).
|
|
6
|
+
*
|
|
7
|
+
* A container without a height of its own is as tall as its content, so a
|
|
8
|
+
* `height: 100%` element cannot "fill the space that is left": this measures
|
|
9
|
+
* that space. The scroll of the ancestors is added back (the position does not
|
|
10
|
+
* depend on how far the page is scrolled) and so is their bottom padding (it
|
|
11
|
+
* stays empty below the element).
|
|
12
|
+
*/
|
|
13
|
+
export declare function useAvailableHeight(ref: RefObject<HTMLElement | null>, enabled: boolean): number | undefined;
|
|
14
|
+
//# sourceMappingURL=calendar-available-height.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-available-height.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/calendar-available-height.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAA;AAEjE;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EAClC,OAAO,EAAE,OAAO,GACf,MAAM,GAAG,SAAS,CA4BpB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DataRow, DataTable } from '../../types/data-structures';
|
|
2
3
|
import { BooleanValue } from '../../types/legacy';
|
|
3
4
|
/** Calendar view mode. */
|
|
4
5
|
export type CalendarView = "month" | "week" | "day";
|
|
@@ -25,12 +26,31 @@ export type TimedEvent = {
|
|
|
25
26
|
row: DataRow;
|
|
26
27
|
dateKey: string;
|
|
27
28
|
label: string;
|
|
28
|
-
|
|
29
|
+
/**
|
|
30
|
+
* Whole backend style: background and color paint the event box, the rest
|
|
31
|
+
* styles the title.
|
|
32
|
+
*/
|
|
33
|
+
eventStyle?: CSSProperties;
|
|
29
34
|
icon?: string;
|
|
30
35
|
img?: string;
|
|
31
36
|
/** Time range (null = all-day event). */
|
|
32
37
|
time: TimeRange | null;
|
|
38
|
+
/** Display text of the time range (`09:00 - 12:00`), shown under the title. */
|
|
39
|
+
timeLabel?: string;
|
|
40
|
+
};
|
|
41
|
+
/** Description and tooltip of an event, derived from `DesCol`/`DurationCol`. */
|
|
42
|
+
export type EventTexts = {
|
|
43
|
+
/** Extended description (`DesCol`), shown below the title. */
|
|
44
|
+
description?: string;
|
|
45
|
+
/** Place of the event (`PositionCol`), shown in the week and day views. */
|
|
46
|
+
position?: string;
|
|
47
|
+
/** Duration (`DurationCol`) as `3,00h`, shown on the time line of the week and day views. */
|
|
48
|
+
duration?: string;
|
|
49
|
+
/** Hover tooltip: what the event shows in its view, one part per line. */
|
|
50
|
+
tooltip: string;
|
|
33
51
|
};
|
|
52
|
+
/** Resolves the {@link EventTexts} of an event row given its title. */
|
|
53
|
+
export type EventTextsResolver = (row: DataRow, title: string, kind: "month" | "time") => EventTexts;
|
|
34
54
|
/**
|
|
35
55
|
* Options for the {@link Calendar} component.
|
|
36
56
|
*
|
|
@@ -42,6 +62,22 @@ export type TimedEvent = {
|
|
|
42
62
|
export type CalendarOptions = {
|
|
43
63
|
/** Column key in the DataTable holding the event date. Auto-detected if omitted. */
|
|
44
64
|
DatCol?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Column key holding the extended description of the event, shown below
|
|
67
|
+
* the title (not bold, smaller font) and in the tooltip.
|
|
68
|
+
*/
|
|
69
|
+
DesCol?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Column key holding the place of the event. When set, the place is shown
|
|
72
|
+
* in the events of the week and day views.
|
|
73
|
+
*/
|
|
74
|
+
PositionCol?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Column key holding the event duration in hours. It must be a number
|
|
77
|
+
* column (obj type NR); the value is shown in the tooltip, formatted with
|
|
78
|
+
* the current decimal separator.
|
|
79
|
+
*/
|
|
80
|
+
DurationCol?: string;
|
|
45
81
|
/** Enable or disable drag & drop of events between days. @default "No" */
|
|
46
82
|
Drag?: BooleanValue;
|
|
47
83
|
/** Column key holding the end date for multi-day events. */
|
|
@@ -69,7 +105,10 @@ export type CalendarOptions = {
|
|
|
69
105
|
ShowNavigation?: BooleanValue;
|
|
70
106
|
/** Show or hide the view-switch buttons (month / week / day). @default "No" */
|
|
71
107
|
ShowViewSwitch?: BooleanValue;
|
|
72
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Column key pointing to the cell whose style is applied to the event: its
|
|
110
|
+
* color paints the marker line, the other declarations style the label.
|
|
111
|
+
*/
|
|
73
112
|
StyCol?: string;
|
|
74
113
|
/** Column key holding the event description / title. Auto-detected if omitted. */
|
|
75
114
|
TitCol?: string;
|
|
@@ -122,9 +161,15 @@ export declare enum CalendarCellId {
|
|
|
122
161
|
DAY_TITLE = "calendar-day-title",
|
|
123
162
|
EVENTS = "calendar-events",
|
|
124
163
|
EVENT = "calendar-event",
|
|
125
|
-
EVENT_MARKER = "calendar-event-marker",
|
|
126
164
|
EVENT_LABEL = "calendar-event-label",
|
|
165
|
+
EVENT_DESCRIPTION = "calendar-event-description",
|
|
166
|
+
EVENT_TIME = "calendar-event-time",
|
|
167
|
+
EVENT_POSITION = "calendar-event-position",
|
|
168
|
+
EVENT_START_TIME = "calendar-event-start-time",
|
|
127
169
|
EVENT_ICON = "calendar-event-icon",
|
|
170
|
+
EVENT_IMAGE = "calendar-event-image",
|
|
171
|
+
NOW_LINE = "calendar-now-line",
|
|
172
|
+
EVENTS_MORE_POPUP = "calendar-events-more-popup",
|
|
128
173
|
DAY_TOTAL = "calendar-day-total",
|
|
129
174
|
HEADER = "calendar-header",
|
|
130
175
|
NAV_PREV = "calendar-nav-prev",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-types.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/calendar-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"calendar-types.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/calendar-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD,0BAA0B;AAC1B,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,MAAM,GAAG,KAAK,CAAA;AAEnD;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,IAAI,CAAA;IACV,GAAG,EAAE,MAAM,CAAA;IACX,cAAc,EAAE,OAAO,CAAA;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,kEAAkE;AAClE,MAAM,MAAM,SAAS,GAAG;IACtB,yEAAyE;IACzE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,uEAAuE;IACvE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB,CAAA;AAED,mDAAmD;AACnD,MAAM,MAAM,UAAU,GAAG;IACvB,GAAG,EAAE,OAAO,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,UAAU,CAAC,EAAE,aAAa,CAAA;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,yCAAyC;IACzC,IAAI,EAAE,SAAS,GAAG,IAAI,CAAA;IACtB,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,gFAAgF;AAChF,MAAM,MAAM,UAAU,GAAG;IACvB,8DAA8D;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2EAA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BAAgB,8BAA8B;IAC9C,UAAU,wBAAwB;IAClC,WAAW,yBAAyB;IACpC,QAAQ,sBAAsB;IAC9B,iBAAiB,+BAA+B;IAChD,SAAS,uBAAuB;IAChC,MAAM,oBAAoB;IAC1B,QAAQ,sBAAsB;IAC9B,QAAQ,sBAAsB;IAC9B,SAAS,uBAAuB;IAChC,WAAW,yBAAyB;IACpC,WAAW,yBAAyB;IACpC,SAAS,uBAAuB;IAChC,WAAW,yBAAyB;IACpC,SAAS,uBAAuB;IAChC,WAAW,yBAAyB;IACpC,YAAY,0BAA0B;IACtC,WAAW,yBAAyB;IACpC,WAAW,yBAAyB;IACpC,QAAQ,sBAAsB;IAC9B,aAAa,2BAA2B;IACxC,UAAU,wBAAwB;CACnC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
1
2
|
import { DataColumn, DataCell, DataRow, DataTable } from '../../types/data-structures';
|
|
3
|
+
import { DateMessages } from '../../types/translation';
|
|
2
4
|
import { DayCell, TimedEvent, TimeRange, CalendarOptions, CalendarView } from './calendar-types';
|
|
3
5
|
/**
|
|
4
6
|
* Resolve calendar props defaults from the data when explicit props are missing.
|
|
@@ -19,6 +21,11 @@ export declare function resolveCalendarDefaults(props: CalendarOptions, data: Da
|
|
|
19
21
|
TitCol: string;
|
|
20
22
|
FinCol: string;
|
|
21
23
|
IniCol: string;
|
|
24
|
+
IniTimCol: string;
|
|
25
|
+
FinTimCol: string;
|
|
26
|
+
DesCol: string;
|
|
27
|
+
PositionCol: string;
|
|
28
|
+
DurationCol: string;
|
|
22
29
|
};
|
|
23
30
|
/**
|
|
24
31
|
* Compute the daily total using the given formula and column.
|
|
@@ -42,25 +49,87 @@ export declare function formatDateKey(date: Date): string;
|
|
|
42
49
|
* Returns `null` when the value is empty or cannot be parsed.
|
|
43
50
|
*/
|
|
44
51
|
export declare function parseDate(value: string | undefined | null): Date | null;
|
|
52
|
+
/**
|
|
53
|
+
* Start/end dates of a row from `iniCol`/`finCol`, or `null` when the row
|
|
54
|
+
* has no date range (columns missing, not date columns, or unparseable).
|
|
55
|
+
* Only date columns (obj type D8/A8) count: times are read from `IniTimCol`/`FinTimCol`.
|
|
56
|
+
*/
|
|
57
|
+
export declare function getDateRange(row: DataRow, iniCol?: string, finCol?: string, columns?: DataColumn[]): {
|
|
58
|
+
start: Date;
|
|
59
|
+
end: Date;
|
|
60
|
+
} | null;
|
|
61
|
+
/** One event of a day cell in the month view. */
|
|
62
|
+
export type WeekSlot = {
|
|
63
|
+
row: DataRow;
|
|
64
|
+
/** Present on the day where a multi-day bar is drawn (first day of its week segment). */
|
|
65
|
+
bar?: {
|
|
66
|
+
/** Number of day columns the bar covers within the week. */
|
|
67
|
+
span: number;
|
|
68
|
+
continuesBefore: boolean;
|
|
69
|
+
continuesAfter: boolean;
|
|
70
|
+
};
|
|
71
|
+
/** True on days covered by a bar drawn on an earlier day of the same week. */
|
|
72
|
+
covered?: boolean;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Lay out the events of one week row of the month view.
|
|
76
|
+
*
|
|
77
|
+
* Multi-day events (end after start) become one bar per week, placed in a
|
|
78
|
+
* lane shared by all the days it covers so the bar stays on a single line.
|
|
79
|
+
* Single-day events fill the lanes left free on their day, then follow below.
|
|
80
|
+
* Returns one array per day; `null` entries are empty lanes kept as spacers.
|
|
81
|
+
*/
|
|
82
|
+
export declare function buildWeekLayout(week: DayCell[], rowsByDate: Map<string, DataRow[]>, getRange: (row: DataRow) => {
|
|
83
|
+
start: Date;
|
|
84
|
+
end: Date;
|
|
85
|
+
} | null): (WeekSlot | null)[][];
|
|
45
86
|
/**
|
|
46
87
|
* Group data rows by their date column value.
|
|
47
88
|
* Supports multi-day events when `iniCol` and `finCol` are provided:
|
|
48
89
|
* the event appears in every day from `iniCol` to `finCol` inclusive.
|
|
49
90
|
* Falls back to `datCol` when `iniCol`/`finCol` are absent.
|
|
50
91
|
*
|
|
51
|
-
*
|
|
52
|
-
* they are treated as time columns, NOT as multi-day date columns.
|
|
92
|
+
* `iniCol`/`finCol` hold dates only: times go in `IniTimCol`/`FinTimCol`.
|
|
53
93
|
*
|
|
54
94
|
* @returns a `Map<string, DataRow[]>` keyed by `YYYY-MM-DD`.
|
|
55
95
|
*/
|
|
56
96
|
export declare function groupRowsByDate(rows: DataRow[] | undefined, datCol: string, iniCol?: string, finCol?: string, columns?: DataColumn[]): Map<string, DataRow[]>;
|
|
57
97
|
/** Find the cell that supplies the event label and its presentation style. */
|
|
98
|
+
/**
|
|
99
|
+
* Splits the backend cell style of an event: the color (`backgroundColor`,
|
|
100
|
+
* falling back to `color`) paints the vertical marker line, every other
|
|
101
|
+
* declaration styles the label. The label never gets a color or background.
|
|
102
|
+
*/
|
|
103
|
+
export declare function splitEventStyle(style: DataCell["style"]): {
|
|
104
|
+
markerStyle?: CSSProperties;
|
|
105
|
+
labelStyle?: CSSProperties;
|
|
106
|
+
};
|
|
58
107
|
export declare function getEventLabelCell(row: DataRow, datCol: string, titCol?: string): DataCell | undefined;
|
|
59
108
|
/**
|
|
60
|
-
*
|
|
61
|
-
*
|
|
109
|
+
* Description, place and tooltip of an event row.
|
|
110
|
+
*
|
|
111
|
+
* The tooltip repeats, one per line and without labels, what the event shows
|
|
112
|
+
* in its view:
|
|
113
|
+
* - `view: "month"`: `[start time] title`, then the description;
|
|
114
|
+
* - `view: "time"` (week and day): title, time range, place, description.
|
|
115
|
+
*
|
|
116
|
+
* `[ duration ]` (from `DurationCol`, with the decimal separator of `locale`
|
|
117
|
+
* and the decimals of the raw value: `"3.00"` → `"3,00"` in Italian) is put
|
|
118
|
+
* before the title. Missing parts are left out.
|
|
62
119
|
*/
|
|
63
|
-
export declare function
|
|
120
|
+
export declare function buildEventTexts(row: DataRow, title: string, options: {
|
|
121
|
+
desCol?: string;
|
|
122
|
+
durationCol?: string;
|
|
123
|
+
posCol?: string;
|
|
124
|
+
iniTimCol?: string;
|
|
125
|
+
finTimCol?: string;
|
|
126
|
+
locale?: string;
|
|
127
|
+
}, view?: "month" | "time"): {
|
|
128
|
+
description?: string;
|
|
129
|
+
position?: string;
|
|
130
|
+
duration?: string;
|
|
131
|
+
tooltip: string;
|
|
132
|
+
};
|
|
64
133
|
export declare function getEventLabelDisplayValue(label: string | null | undefined): string;
|
|
65
134
|
/**
|
|
66
135
|
* Build a 6×7 day-cell matrix for the given month (month view).
|
|
@@ -100,18 +169,32 @@ export declare const TIME_GRID_START_HOUR = 0;
|
|
|
100
169
|
export declare const TIME_GRID_END_HOUR = 24;
|
|
101
170
|
/** Total minutes in the time grid. */
|
|
102
171
|
export declare const TIME_GRID_TOTAL_MINUTES: number;
|
|
172
|
+
/** Hour the time grid is scrolled to when today is not in the period shown. */
|
|
173
|
+
export declare const TIME_GRID_DEFAULT_SCROLL_HOUR = 6;
|
|
103
174
|
/** Height per hour in pixels (used for positioning timed events). */
|
|
104
175
|
export declare const HOUR_HEIGHT_PX = 48;
|
|
105
176
|
/**
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
* Accepts:
|
|
109
|
-
* - `HH:mm` (e.g. "09:30")
|
|
110
|
-
* - `HH:mm:ss` (e.g. "09:30:00")
|
|
177
|
+
* ISO time (`HH:mm` or `HH:mm:ss`) of a time cell, or `undefined` when the
|
|
178
|
+
* cell is missing, empty or not a time (obj type I1).
|
|
111
179
|
*
|
|
180
|
+
* The conversion from the legacy format of the object (I11 `HHmm`, I12
|
|
181
|
+
* `HHmmss`) is delegated to the {@link SmeupTime} wrapper, so there is a
|
|
182
|
+
* single place that knows the Smeup time formats. Values already in ISO
|
|
183
|
+
* format, or of an object parameter the wrapper does not know, are returned
|
|
184
|
+
* as they are.
|
|
185
|
+
*/
|
|
186
|
+
export declare function getIsoTime(cell: DataCell | undefined): string | undefined;
|
|
187
|
+
/**
|
|
188
|
+
* Parse an ISO time string (`HH:mm` or `HH:mm:ss`) into minutes from midnight.
|
|
112
189
|
* Returns `null` when the value is empty or cannot be parsed.
|
|
113
190
|
*/
|
|
114
191
|
export declare function parseTimeToMinutes(value: string | undefined | null): number | null;
|
|
192
|
+
/** Hours, minutes and seconds of an ISO time string (`HH:mm` or `HH:mm:ss`). */
|
|
193
|
+
export declare function parseTimeParts(value: string | undefined | null): {
|
|
194
|
+
hours: number;
|
|
195
|
+
minutes: number;
|
|
196
|
+
seconds: number;
|
|
197
|
+
} | null;
|
|
115
198
|
/**
|
|
116
199
|
* Format minutes from midnight into a display string (HH:mm).
|
|
117
200
|
*/
|
|
@@ -129,14 +212,16 @@ export declare function getTimeRange(row: DataRow, iniTimCol?: string, finTimCol
|
|
|
129
212
|
* Build a list of timed events for time-grid rendering, grouped by date.
|
|
130
213
|
*
|
|
131
214
|
* Events without time data (no time columns found via obj type check) are
|
|
132
|
-
* classified as all-day events.
|
|
215
|
+
* classified as all-day events. An event that crosses several days and has
|
|
216
|
+
* times stays a timed event on each day it covers: the time grid draws it once,
|
|
217
|
+
* as a block over those days.
|
|
133
218
|
*
|
|
134
219
|
* Uses `isObjectTime` and `isObjectDate` to determine the type of data
|
|
135
220
|
* in each column and cell, interpreting values accordingly.
|
|
136
221
|
*
|
|
137
222
|
* @returns a Map<dateKey, { allDay: TimedEvent[], timed: TimedEvent[] }>
|
|
138
223
|
*/
|
|
139
|
-
export declare function buildTimedEvents(rows: DataRow[] | undefined, datCol: string, iniCol?: string, finCol?: string, titCol?: string, icoCol?: string, imgCol?: string, styCol?: string, columns?: DataColumn[]): Map<string, {
|
|
224
|
+
export declare function buildTimedEvents(rows: DataRow[] | undefined, datCol: string, iniCol?: string, finCol?: string, titCol?: string, icoCol?: string, imgCol?: string, styCol?: string, columns?: DataColumn[], iniTimCol?: string, finTimCol?: string): Map<string, {
|
|
140
225
|
allDay: TimedEvent[];
|
|
141
226
|
timed: TimedEvent[];
|
|
142
227
|
}>;
|
|
@@ -145,11 +230,70 @@ export declare function buildTimedEvents(rows: DataRow[] | undefined, datCol: st
|
|
|
145
230
|
* based on its start time relative to the time grid.
|
|
146
231
|
*/
|
|
147
232
|
export declare function getEventTopPx(startMin: number): number;
|
|
233
|
+
/** Minimum height of a timed event: title and time lines. */
|
|
234
|
+
export declare const EVENT_MIN_HEIGHT_PX = 44;
|
|
235
|
+
/** Height of one more text line (description, place) in a timed event. */
|
|
236
|
+
export declare const EVENT_LINE_HEIGHT_PX = 16;
|
|
237
|
+
/**
|
|
238
|
+
* Minimum height of a timed event: title and time lines, plus one line for the
|
|
239
|
+
* description and one for the place when the events show them.
|
|
240
|
+
*/
|
|
241
|
+
export declare function getEventMinHeightPx(options: {
|
|
242
|
+
hasDescription?: boolean;
|
|
243
|
+
hasPosition?: boolean;
|
|
244
|
+
}): number;
|
|
245
|
+
/**
|
|
246
|
+
* Display text of the time range of a row: `09:00 - 12:00`, or just the
|
|
247
|
+
* time that is present. `undefined` when neither time can be read.
|
|
248
|
+
*/
|
|
249
|
+
export declare function formatTimeRangeLabel(row: DataRow, iniTimCol?: string, finTimCol?: string): string | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* Display text of the time cell `col` of a row, or `undefined` when the
|
|
252
|
+
* column is missing, the cell is not a time (obj type I1) or it cannot be
|
|
253
|
+
* parsed. The format follows the object of the cell: `HH:mm:ss` for I1 with
|
|
254
|
+
* parameter 2 (seconds), `HH:mm` otherwise.
|
|
255
|
+
*/
|
|
256
|
+
export declare function formatTimeCell(row: DataRow, col?: string): string | undefined;
|
|
148
257
|
/**
|
|
149
258
|
* Calculate the CSS `height` (in pixels) for a timed event
|
|
150
|
-
* based on its time range duration.
|
|
259
|
+
* based on its time range duration. `minHeightPx` is the minimum height:
|
|
260
|
+
* one text line by default, two when the events show a description.
|
|
261
|
+
*/
|
|
262
|
+
export declare function getEventHeightPx(startMin: number, endMin: number, minHeightPx?: number): number;
|
|
263
|
+
/**
|
|
264
|
+
* Overlapping events starting less than this apart (about 20 minutes, one text
|
|
265
|
+
* line) share the width side by side: cascading them would hide the title of
|
|
266
|
+
* the one underneath.
|
|
267
|
+
*/
|
|
268
|
+
export declare const EVENT_START_TOLERANCE_PX = 16;
|
|
269
|
+
/** Maximum number of side-by-side columns of one cascade level. */
|
|
270
|
+
export declare const EVENT_MAX_SLOTS = 3;
|
|
271
|
+
/** Position of a timed event inside its cluster of overlapping events. */
|
|
272
|
+
export type TimedEventLayout = {
|
|
273
|
+
/** Cascade level (0 = leftmost): events starting later are shifted right. */
|
|
274
|
+
level: number;
|
|
275
|
+
/** Number of cascade levels of the cluster. */
|
|
276
|
+
levels: number;
|
|
277
|
+
/** Column among the events sharing the same level (same time and length). */
|
|
278
|
+
slot: number;
|
|
279
|
+
/** Number of columns sharing the level. */
|
|
280
|
+
slots: number;
|
|
281
|
+
};
|
|
282
|
+
/**
|
|
283
|
+
* Layout of the timed events of one day when they overlap.
|
|
284
|
+
*
|
|
285
|
+
* Overlapping events form a cluster. Inside a cluster, events starting at the
|
|
286
|
+
* same time (or less than {@link EVENT_START_TOLERANCE_PX} apart, at most
|
|
287
|
+
* {@link EVENT_MAX_SLOTS} of them) share the width, as columns of one cascade
|
|
288
|
+
* level: stacking them would hide their
|
|
289
|
+
* titles. The other groups are cascaded: each level is shifted to the right,
|
|
290
|
+
* so the start of every title stays visible. A level is reused by the groups
|
|
291
|
+
* that do not overlap in time.
|
|
292
|
+
*
|
|
293
|
+
* @param minHeightPx minimum rendered height of an event (see {@link getEventHeightPx}).
|
|
294
|
+
* @returns one {@link TimedEventLayout} per event, in the order of `events`.
|
|
151
295
|
*/
|
|
152
|
-
export declare function
|
|
296
|
+
export declare function layoutTimedEvents(events: readonly TimedEvent[], minHeightPx?: number): TimedEventLayout[];
|
|
153
297
|
/**
|
|
154
298
|
* Generate hour labels for the time grid.
|
|
155
299
|
* Returns an array of { label: string, minutes: number } for each hour slot.
|
|
@@ -158,8 +302,8 @@ export declare function getHourSlots(): {
|
|
|
158
302
|
label: string;
|
|
159
303
|
minutes: number;
|
|
160
304
|
}[];
|
|
161
|
-
/**
|
|
162
|
-
export declare const
|
|
305
|
+
/** Translation keys of the labels of the view switch. */
|
|
306
|
+
export declare const VIEW_MESSAGES: Record<CalendarView, DateMessages>;
|
|
163
307
|
/** Normalize a ShowAs value to a valid CalendarView, case-insensitive. */
|
|
164
308
|
export declare function normalizeView(value: string | undefined): CalendarView;
|
|
165
309
|
//# sourceMappingURL=calendar-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-utils.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/calendar-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,QAAQ,EACR,OAAO,EACP,SAAS,EACV,MAAM,6BAA6B,CAAA;
|
|
1
|
+
{"version":3,"file":"calendar-utils.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/calendar-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EACV,UAAU,EACV,QAAQ,EACR,OAAO,EACP,SAAS,EACV,MAAM,6BAA6B,CAAA;AAUpC,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAMtD,OAAO,KAAK,EACV,OAAO,EACP,UAAU,EACV,SAAS,EACT,eAAe,EACf,YAAY,EACb,MAAM,kBAAkB,CAAA;AAezB;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,eAAe,EACtB,IAAI,EAAE,SAAS,GACd,eAAe,GAAG;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;IAEnB,WAAW,EAAE,MAAM,CAAA;CACpB,CAwHA;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAC1B,IAAI,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;;;GAKG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAS7E;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,EACd,WAAW,GAAE,MAA4B,GACxC,MAAM,CAGR;AAED;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,KAAK,CAAA;AAE1C,mEAAmE;AACnE,eAAO,MAAM,eAAe,IAAI,CAAA;AAEhC,0EAA0E;AAC1E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,6EAA6E;IAC7E,KAAK,EAAE,MAAM,CAAA;IACb,+CAA+C;IAC/C,MAAM,EAAE,MAAM,CAAA;IACd,6EAA6E;IAC7E,IAAI,EAAE,MAAM,CAAA;IACZ,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,SAAS,UAAU,EAAE,EAC7B,WAAW,GAAE,MAA4B,GACxC,gBAAgB,EAAE,CA2EpB;AAED;;;GAGG;AACH,wBAAgB,YAAY,IAAI;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAAE,CASnE;AAID,yDAAyD;AACzD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,YAAY,EAAE,YAAY,CAI5D,CAAA;AAED,0EAA0E;AAC1E,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,YAAY,CAKrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAYhF,OAAO,EAEL,KAAK,aAAa,EAInB,MAAM,kBAAkB,CAAA;AAoBzB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAud5C,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type EventTextProps = {
|
|
3
|
+
/** Event title (`TitCol`), shown in semibold. */
|
|
4
|
+
readonly label: string;
|
|
5
|
+
/** Backend style, applied to the title only. */
|
|
6
|
+
readonly labelStyle?: React.CSSProperties;
|
|
7
|
+
/** Text color of the event (backend `color`), for the whole text block. */
|
|
8
|
+
readonly color?: string;
|
|
9
|
+
/** Start time (`09:00`), on the same line, before the title. */
|
|
10
|
+
readonly startTime?: string;
|
|
11
|
+
/** Time range (`09:00 - 12:00`), on its own line under the title. */
|
|
12
|
+
readonly time?: string;
|
|
13
|
+
/** Place of the event (`PositionCol`), shown under the time. */
|
|
14
|
+
readonly position?: string;
|
|
15
|
+
/** Extended description (`DesCol`), shown below the place. */
|
|
16
|
+
readonly description?: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Title (label variant) and optional start time, time range and description
|
|
20
|
+
* (body variant, smaller) of an event.
|
|
21
|
+
*/
|
|
22
|
+
export declare const EventText: React.FC<EventTextProps>;
|
|
23
|
+
//# sourceMappingURL=calendar-event-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-event-text.d.ts","sourceRoot":"","sources":["../../../../src/components/calendar/views/calendar-event-text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,MAAM,MAAM,cAAc,GAAG;IAC3B,iDAAiD;IACjD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,gDAAgD;IAChD,QAAQ,CAAC,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IACzC,2EAA2E;IAC3E,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,gEAAgE;IAChE,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,qEAAqE;IACrE,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,gEAAgE;IAChE,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;IAC1B,8DAA8D;IAC9D,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAC9B,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAyD9C,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { DataRow } from '../../../types/data-structures';
|
|
3
|
-
import { DateMessages } from '../../../types/translation';
|
|
4
|
-
import { DayCell } from '../calendar-types';
|
|
2
|
+
import { DataColumn, DataRow } from '../../../types/data-structures';
|
|
3
|
+
import { DateMessages, MessageVariables } from '../../../types/translation';
|
|
4
|
+
import { DayCell, EventTextsResolver } from '../calendar-types';
|
|
5
5
|
export type MonthGridProps = {
|
|
6
6
|
readonly grid: DayCell[][];
|
|
7
7
|
readonly rowsByDate: Map<string, DataRow[]>;
|
|
@@ -12,7 +12,15 @@ export type MonthGridProps = {
|
|
|
12
12
|
readonly icoCol?: string;
|
|
13
13
|
readonly imgCol?: string;
|
|
14
14
|
readonly styCol?: string;
|
|
15
|
+
readonly iniCol?: string;
|
|
16
|
+
readonly finCol?: string;
|
|
17
|
+
/** Start time column: its value is shown before the event title. */
|
|
18
|
+
readonly iniTimCol?: string;
|
|
15
19
|
};
|
|
20
|
+
/** Data columns, used to tell date ranges from time columns. */
|
|
21
|
+
readonly dataColumns?: DataColumn[];
|
|
22
|
+
/** Description and tooltip of an event. */
|
|
23
|
+
readonly describeEvent: EventTextsResolver;
|
|
16
24
|
readonly maxEvents: number;
|
|
17
25
|
readonly totals?: string;
|
|
18
26
|
readonly isDragEnabled: boolean;
|
|
@@ -22,7 +30,7 @@ export type MonthGridProps = {
|
|
|
22
30
|
} | null>;
|
|
23
31
|
readonly dragOverKey: string | null;
|
|
24
32
|
readonly setDragOverKey: (key: string | null) => void;
|
|
25
|
-
readonly translate: (
|
|
33
|
+
readonly translate: (message: DateMessages, options?: MessageVariables) => string;
|
|
26
34
|
readonly onClick?: (payload: {
|
|
27
35
|
row: DataRow;
|
|
28
36
|
date: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-month-grid.d.ts","sourceRoot":"","sources":["../../../../src/components/calendar/views/calendar-month-grid.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"calendar-month-grid.d.ts","sourceRoot":"","sources":["../../../../src/components/calendar/views/calendar-month-grid.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAWhF,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,kBAAkB,EACxB,MAAM,mBAAmB,CAAA;AAK1B,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,CAAA;IAC1B,QAAQ,CAAC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,CAAA;IAC3C,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAA;IACpC,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;QACvB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;QACxB,QAAQ,CAAC,MAAM,CAAC,EAAE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,EAAE,MAAM,CAAA;KAAE,KACpC,IAAI,CAAA;IACT,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACzD,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE;QAC1B,GAAG,EAAE,OAAO,CAAA;QACZ,QAAQ,EAAE,MAAM,CAAA;QAChB,MAAM,EAAE,MAAM,CAAA;KACf,KAAK,IAAI,CAAA;CACX,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAoT9C,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type MoreEventsProps = {
|
|
3
|
+
/** Text of the trigger button (e.g. "+2 more events"). */
|
|
4
|
+
readonly bindValue: string;
|
|
5
|
+
/** Accessible title of the trigger button. */
|
|
6
|
+
readonly title: string;
|
|
7
|
+
/**
|
|
8
|
+
* Hidden events, rendered inside the popover. The `close` callback lets
|
|
9
|
+
* the caller dismiss the popover (e.g. after a click or when a drag starts).
|
|
10
|
+
*/
|
|
11
|
+
readonly children: (close: () => void) => React.ReactNode;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* "+N" trigger opening a floating list with the events that do not fit in the
|
|
15
|
+
* day cell. The list is calendar-owned (not a Toolbar) so each entry can be
|
|
16
|
+
* the same draggable event row used for the visible events.
|
|
17
|
+
*/
|
|
18
|
+
export declare const MoreEvents: React.FC<MoreEventsProps>;
|
|
19
|
+
//# sourceMappingURL=calendar-more-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-more-events.d.ts","sourceRoot":"","sources":["../../../../src/components/calendar/views/calendar-more-events.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAA;AAQ/C,MAAM,MAAM,eAAe,GAAG;IAC5B,0DAA0D;IAC1D,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,8CAA8C;IAC9C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,IAAI,KAAK,KAAK,CAAC,SAAS,CAAA;CAC1D,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmEhD,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { DataRow } from '../../../types/data-structures';
|
|
2
|
+
import { DataColumn, DataRow } from '../../../types/data-structures';
|
|
3
3
|
import { DateMessages } from '../../../types/translation';
|
|
4
|
-
import { DayCell, TimedEvent } from '../calendar-types';
|
|
4
|
+
import { DayCell, EventTextsResolver, TimedEvent } from '../calendar-types';
|
|
5
5
|
export type TimeGridProps = {
|
|
6
6
|
readonly grid: DayCell[][];
|
|
7
7
|
readonly hourSlots: {
|
|
@@ -37,8 +37,22 @@ export type TimeGridProps = {
|
|
|
37
37
|
readonly dragOverKey: string | null;
|
|
38
38
|
readonly setDragOverKey: (key: string | null) => void;
|
|
39
39
|
readonly weekdays: readonly string[];
|
|
40
|
+
/** Date-range columns and data columns: they identify multi-day events. */
|
|
41
|
+
readonly iniCol?: string;
|
|
42
|
+
readonly finCol?: string;
|
|
43
|
+
readonly dataColumns?: DataColumn[];
|
|
44
|
+
/** Description and tooltip of an event. */
|
|
45
|
+
readonly describeEvent: EventTextsResolver;
|
|
46
|
+
/** True when `DesCol` is set: multi-day bars get a two-line lane. */
|
|
47
|
+
readonly hasDescription?: boolean;
|
|
48
|
+
/** True when `PositionCol` is set: events need a line more for the place. */
|
|
49
|
+
readonly hasPosition?: boolean;
|
|
40
50
|
/** 0 = week starts on Sunday, 1 = Monday (used to map weekday labels). */
|
|
41
51
|
readonly weekStartDay: number;
|
|
52
|
+
/** Bump to scroll the grid to the current time (e.g. "Today" clicked). */
|
|
53
|
+
readonly scrollToNowRequest?: number;
|
|
54
|
+
/** True once the calendar height is set: the grid then scrolls inside it. */
|
|
55
|
+
readonly hasFittedHeight?: boolean;
|
|
42
56
|
};
|
|
43
57
|
export declare const TimeGrid: React.FC<TimeGridProps>;
|
|
44
58
|
//# sourceMappingURL=calendar-time-grid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-time-grid.d.ts","sourceRoot":"","sources":["../../../../src/components/calendar/views/calendar-time-grid.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"calendar-time-grid.d.ts","sourceRoot":"","sources":["../../../../src/components/calendar/views/calendar-time-grid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAE1D,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,kBAAkB,EACvB,KAAK,UAAU,EAChB,MAAM,mBAAmB,CAAA;AAe1B,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,CAAA;IAC1B,QAAQ,CAAC,SAAS,EAAE;QAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC1E,QAAQ,CAAC,WAAW,EAAE,GAAG,CACvB,MAAM,EACN;QAAE,QAAQ,CAAC,MAAM,EAAE,UAAU,EAAE,CAAC;QAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,CAAA;KAAE,CAChE,CAAA;IACD,QAAQ,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,OAAO,YAAY,CAAC,OAAO,KAAK,M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AC1C,qEAAqE;IACrE,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAA;IACjC,6EAA6E;IAC7E,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAA;IAC9B,0EAA0E;IAC1E,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAC7B,0EAA0E;IAC1E,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAA;IACpC,6EAA6E;IAC7E,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAA;CACnC,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAihB5C,CAAA"}
|
|
@@ -4,7 +4,7 @@ import { DataTable } from '../../../types/data-structures';
|
|
|
4
4
|
*
|
|
5
5
|
* Each row carries a `BUTTON_LIST` cell under the `__ACTIONS` column whose
|
|
6
6
|
* children are the per-row actions (each `DataNode` with a `fun` to execute).
|
|
7
|
-
* The synthetic column is identified by
|
|
7
|
+
* The synthetic column is identified by its `__ACTIONS` name and is excluded
|
|
8
8
|
* by the DataTable from sort/filter/totals/selection and row-click handling.
|
|
9
9
|
*/
|
|
10
10
|
export declare const rowActionsData: DataTable;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DataNode } from '../../../types/data-structures';
|
|
2
|
+
export interface CellActionsProps {
|
|
3
|
+
/**
|
|
4
|
+
* Commands matched by the cell, already filtered by the consumer.
|
|
5
|
+
*/
|
|
6
|
+
actions: DataNode[];
|
|
7
|
+
/**
|
|
8
|
+
* Called with the clicked command.
|
|
9
|
+
*/
|
|
10
|
+
onClick: (action: DataNode) => void;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=cell-actions-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cell-actions-types.d.ts","sourceRoot":"","sources":["../../../../src/components/data-table/cell-actions/cell-actions-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAEzD,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,OAAO,EAAE,QAAQ,EAAE,CAAA;IAEnB;;OAEG;IACH,OAAO,EAAE,CAAC,MAAM,EAAE,QAAQ,KAAK,IAAI,CAAA;CACpC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DataCell, DataNode } from '../../../types/data-structures';
|
|
2
|
+
/**
|
|
3
|
+
* Resolves the commands that must be shown as cell actions of a single cell.
|
|
4
|
+
*/
|
|
5
|
+
export type CellActionsMatcher = (cell: DataCell) => DataNode[] | undefined;
|
|
6
|
+
/**
|
|
7
|
+
* Builds the matcher of the cell actions, following the rules
|
|
8
|
+
* (`isActionCell`):
|
|
9
|
+
*
|
|
10
|
+
* - command without object and value: every cell;
|
|
11
|
+
* - command with a type only (`t`, no value): every cell of that type;
|
|
12
|
+
* - command with a type and a parameter (`t`, `p`, no value): every cell of
|
|
13
|
+
* that class;
|
|
14
|
+
* - command with a value: only the cells of the same class and value.
|
|
15
|
+
*
|
|
16
|
+
* A value without type and parameter matches no cell.
|
|
17
|
+
*
|
|
18
|
+
* The commands are indexed once per matcher: resolving a cell costs a few Map
|
|
19
|
+
* lookups, never a scan of the command list. The matcher runs for the cells of
|
|
20
|
+
* the rendered (virtualized) rows, so it must stay cheap.
|
|
21
|
+
*
|
|
22
|
+
* The matched commands are returned grouped by rule: a cell matching more than
|
|
23
|
+
* one rule lists the "every cell" commands first.
|
|
24
|
+
*
|
|
25
|
+
* Added comment for efficency:
|
|
26
|
+
* The action can be moved inside the tooltip
|
|
27
|
+
*/
|
|
28
|
+
export declare const createCellActionsMatcher: (commands?: DataNode[]) => CellActionsMatcher | undefined;
|
|
29
|
+
//# sourceMappingURL=cell-actions-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cell-actions-utils.d.ts","sourceRoot":"","sources":["../../../../src/components/data-table/cell-actions/cell-actions-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAEnE;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAE,QAAQ,KAAK,QAAQ,EAAE,GAAG,SAAS,CAAA;AAM3E;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,wBAAwB,GACnC,WAAW,QAAQ,EAAE,KACpB,kBAAkB,GAAG,SAqEvB,CAAA"}
|