@sme.up/ketchup2 2.9.0 → 2.10.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-VCTEODGH-jIDWUpNo.js} +3 -3
- package/dist/{architectureDiagram-5GKGNRK7-N1aPr2hw.js → architectureDiagram-5GKGNRK7-C1xA1c3c.js} +5 -5
- package/dist/basic-components/button/button-types.d.ts +2 -2
- package/dist/basic-components/cell/cell-types.d.ts +7 -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.d.ts.map +1 -1
- package/dist/basic-components/date-picker/date-picker-types.d.ts +2 -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/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.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield-types.d.ts +3 -3
- 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/{blockDiagram-I7D4REHJ-Cu18ws5-.js → blockDiagram-I7D4REHJ-C0hlmHW8.js} +9 -9
- package/dist/{c4Diagram-7LVT6UL2-B-uBy_NE.js → c4Diagram-7LVT6UL2-DwTMAxzR.js} +7 -7
- package/dist/{channel-CuEby436.js → channel-BD0NTdCR.js} +1 -1
- package/dist/{chunk-2E4U76K2-ComA5SPA.js → chunk-2E4U76K2-CMCSmJ5_.js} +6 -6
- package/dist/{chunk-4HAMMTFA-CZgIgrp_.js → chunk-4HAMMTFA-DBtV-sHy.js} +5 -5
- package/dist/{chunk-75Z2AOVW-Drsj7a97.js → chunk-75Z2AOVW-CLjRECiG.js} +1 -1
- package/dist/{chunk-CLGD4ZFX-CLGio9rD.js → chunk-CLGD4ZFX-DdntjE3C.js} +1 -1
- package/dist/{chunk-DU6HZSFF-waeanndy.js → chunk-DU6HZSFF-D9v_2L4Z.js} +950 -860
- package/dist/{chunk-F27PBJKO-jIrOJO87.js → chunk-F27PBJKO-DPhiW07t.js} +1 -1
- package/dist/{chunk-GMAD6QVW-D80II4AD.js → chunk-GMAD6QVW-Cnp61Cie.js} +3 -3
- package/dist/{chunk-GVQU2GXP-DP3t_9Rl.js → chunk-GVQU2GXP-BJ9OHC7T.js} +2 -2
- package/dist/{chunk-IMKFNOWR-8ItzAAcf.js → chunk-IMKFNOWR-yyUcHorm.js} +5 -5
- package/dist/{chunk-L3NEJ4N5-qPot4t6M.js → chunk-L3NEJ4N5-Dd1FmxFn.js} +5 -5
- package/dist/{chunk-OSK3NFVY-CQhPF3Mc.js → chunk-OSK3NFVY-qg1q5TTI.js} +7 -7
- package/dist/{chunk-P2QGCYS3-BUeNZ170.js → chunk-P2QGCYS3-667SFjNY.js} +1 -1
- package/dist/{chunk-POPQ4Y6H-CU9oz17Z.js → chunk-POPQ4Y6H-YFNrkrJW.js} +1 -1
- package/dist/{chunk-PWAF6VOD-D37VoZ8H.js → chunk-PWAF6VOD-z0rQy52m.js} +1 -1
- package/dist/{chunk-SHT3W25Y-Cri27Jke.js → chunk-SHT3W25Y-aBBFlrSX.js} +7 -7
- package/dist/{chunk-SVP7TREG-CyJlOPau.js → chunk-SVP7TREG-f53BROgh.js} +2 -2
- package/dist/{chunk-TICWLB2K-Cw2iT_VD.js → chunk-TICWLB2K-DzrOz9kL.js} +5 -5
- package/dist/{chunk-TLUHSLCS-BdsLNXjt.js → chunk-TLUHSLCS-Drk6ApJR.js} +8 -8
- package/dist/classDiagram-ZZMXUADV-CaI6YU6r.js +30 -0
- package/dist/classDiagram-v2-VYDZK3BY-ClCVTcLo.js +30 -0
- 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-types.d.ts +36 -3
- package/dist/components/calendar/calendar-types.d.ts.map +1 -1
- package/dist/components/calendar/calendar-utils.d.ts +95 -8
- 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 +12 -0
- package/dist/components/calendar/views/calendar-event-text.d.ts.map +1 -0
- package/dist/components/calendar/views/calendar-month-grid.d.ts +10 -2
- 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 +12 -2
- package/dist/components/calendar/views/calendar-time-grid.d.ts.map +1 -1
- package/dist/components/data-table/data-table-types.d.ts +16 -1
- 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/fixed/fixed-utils.d.ts +63 -0
- package/dist/components/data-table/fixed/fixed-utils.d.ts.map +1 -0
- package/dist/components/data-table/footer/footer-types.d.ts +3 -0
- 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 +9 -0
- 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 +9 -0
- package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts.map +1 -1
- package/dist/components/data-table/header/Header.d.ts.map +1 -1
- package/dist/components/data-table/header/header-types.d.ts +5 -0
- package/dist/components/data-table/header/header-types.d.ts.map +1 -1
- package/dist/components/data-table/state/datatable-state.d.ts +1 -1
- package/dist/components/data-table/state/datatable-state.d.ts.map +1 -1
- package/dist/components/drawer/drawer.d.ts.map +1 -1
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree-types.d.ts +14 -0
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree-types.d.ts.map +1 -0
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree.d.ts +11 -0
- package/dist/components/echart-graph-from-tree/echart-graph-from-tree.d.ts.map +1 -0
- 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-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-types.d.ts +210 -0
- package/dist/components/echarts-graph/echarts-graph-types.d.ts.map +1 -0
- package/dist/components/echarts-graph/echarts-graph.d.ts +15 -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-utils.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel.d.ts.map +1 -1
- package/dist/components/pdf/pdf-utils.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/{cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js → cynefinDiagram-5FMLGOSQ-3SByb22K.js} +3 -3
- package/dist/{dagre-GXQ25YYZ-Bg7xf6xn.js → dagre-GXQ25YYZ--Qf92cTs.js} +10 -10
- package/dist/{diagram-S7CK7UJ4-BuDHTdHA.js → diagram-S7CK7UJ4-IhyDbKSO.js} +4 -4
- package/dist/{diagram-UQ7AKVKN-uvzJGj43.js → diagram-UQ7AKVKN-CPDZJAkA.js} +3 -3
- package/dist/{diagram-VSXAHHWV-CrQQCs-B.js → diagram-VSXAHHWV-CdX3XaQX.js} +2 -2
- package/dist/{diagram-VX7I27RA-BNmG1sig.js → diagram-VX7I27RA-DX39g4aO.js} +5 -5
- package/dist/{diagram-Z3DM3KII-B6BrLhP0.js → diagram-Z3DM3KII-DECfAI1l.js} +3 -3
- package/dist/{ebnfDiagram-PWID7BFC-DMx8xAFO.js → ebnfDiagram-PWID7BFC-D0cmYo-k.js} +3 -3
- package/dist/{erDiagram-RLTQ6QDP-bkJ9nzVK.js → erDiagram-RLTQ6QDP-C-nlwQZa.js} +12 -12
- package/dist/flowDiagram-HODETNUW-LRjksS-j.js +17 -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/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 +23 -0
- 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/{ganttDiagram-EL5Y4UJY-CL-ywzz_.js → ganttDiagram-EL5Y4UJY-qQkBgEV6.js} +2 -2
- package/dist/{gitGraphDiagram-WWUBYQGX-aXhNDG6P.js → gitGraphDiagram-WWUBYQGX-D8cZBZXB.js} +2 -2
- 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 +8 -1
- package/dist/hooks/useVirtualListScroll.d.ts.map +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/{infoDiagram-27XIBGKW-Je4heBlk.js → infoDiagram-27XIBGKW-DXO97_PJ.js} +2 -2
- package/dist/{ishikawaDiagram-5VMMS53U-DK7HlH95.js → ishikawaDiagram-5VMMS53U-B0RvuZyG.js} +3 -3
- package/dist/{journeyDiagram-3NMN7TZE-CpuYEKcB.js → journeyDiagram-3NMN7TZE-Dh8_Vc4e.js} +2 -2
- package/dist/{kanban-definition-UXKFOSKX-aK8uKmyY.js → kanban-definition-UXKFOSKX-C99A4PsR.js} +9 -9
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +31668 -29256
- package/dist/{line-DTqYMLoX.js → line-CkNoVxEr.js} +1 -1
- package/dist/locale/en/translation.json.d.ts +5 -0
- package/dist/locale/it/translation.json.d.ts +5 -0
- package/dist/{mindmap-definition-YA3MSWOX-ZMYcmi9J.js → mindmap-definition-YA3MSWOX-D0ULN6M8.js} +11 -11
- package/dist/{pegDiagram-XKGWAZYB-DsfILwZN.js → pegDiagram-XKGWAZYB-BThnA3Uk.js} +3 -3
- package/dist/{pieDiagram-E7YTZNPT-DcSLcLdd.js → pieDiagram-E7YTZNPT-CJ4LPitY.js} +3 -3
- package/dist/{quadrantDiagram-AXDQQJYC-DSx3teop.js → quadrantDiagram-AXDQQJYC-nEwzg95_.js} +1 -1
- package/dist/{railroadDiagram-O6MQD6OU-jOZRtNDi.js → railroadDiagram-O6MQD6OU-D_9gvx5m.js} +3 -3
- package/dist/{requirementDiagram-BXWQKSXE-D14hkkez.js → requirementDiagram-BXWQKSXE-BU3gTMjQ.js} +11 -11
- package/dist/{sankeyDiagram-P5KCCOFB-C0jmknYo.js → sankeyDiagram-P5KCCOFB-BmNN-6y3.js} +1 -1
- package/dist/{sequenceDiagram-WJ2MYXX4-C00egnMz.js → sequenceDiagram-WJ2MYXX4-QYJxbuz_.js} +3 -3
- package/dist/{stateDiagram-D77RDMKH-YfzmviNY.js → stateDiagram-D77RDMKH-0Jasv70t.js} +14 -14
- package/dist/stateDiagram-v2-MP3YSRHH-JMSv8IGL.js +30 -0
- package/dist/{swimlanes-42K2YHIH-CJcMmxXf.js → swimlanes-42K2YHIH-DkMzBkx7.js} +10 -10
- package/dist/swimlanesDiagram-VR7AAH4N-DtnUyaK5.js +31 -0
- package/dist/{timeline-definition-24CTP7MA-D2xfYuSV.js → timeline-definition-24CTP7MA-AvgVPsM_.js} +3 -3
- package/dist/types/data-structures.d.ts +5 -1
- package/dist/types/data-structures.d.ts.map +1 -1
- package/dist/types/translation.d.ts +6 -1
- package/dist/types/translation.d.ts.map +1 -1
- 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/objects.d.ts +20 -1
- package/dist/utils/objects.d.ts.map +1 -1
- package/dist/{vennDiagram-4TSXK5OY-C4XLgus_.js → vennDiagram-4TSXK5OY-DBz_EnfL.js} +3 -3
- package/dist/{wardleyDiagram-VM6X3IG4-DFoKuS9s.js → wardleyDiagram-VM6X3IG4-D4U_E7xl.js} +3 -3
- package/dist/{xychartDiagram-S5SC5T6Z-BzKKgVBe.js → xychartDiagram-S5SC5T6Z-aHqeFP13.js} +6 -6
- package/package.json +4 -4
- 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/flowDiagram-HODETNUW-BIvD7-ts.js +0 -17
- package/dist/hooks/useClickOutside.d.ts.map +0 -1
- package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +0 -30
- package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +0 -31
- /package/dist/hooks/{useClickOutside.d.ts → useClickOutside/useClickOutside.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { j as t } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { j as t } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
4
|
import { t as r } from "./dist-CsrMlyO_.js";
|
|
5
5
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-F27PBJKO.mjs
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as e, m as t, p as n, y as r } from "./src-DQoflmwT.js";
|
|
2
|
-
import { A as i, F as a, b as o, s, z as c } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { A as i, F as a, b as o, s, z as c } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as l } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { a as u } from "./chunk-75Z2AOVW-
|
|
5
|
-
import { n as d, t as f } from "./chunk-PWAF6VOD-
|
|
4
|
+
import { a as u } from "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
|
+
import { n as d, t as f } from "./chunk-PWAF6VOD-z0rQy52m.js";
|
|
6
6
|
//#region node_modules/fastdom/fastdom.js
|
|
7
7
|
var p = /* @__PURE__ */ e(((e, t) => {
|
|
8
8
|
(function(e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as e } from "./src-DQoflmwT.js";
|
|
2
2
|
import { n as t } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
3
|
-
import { u as n } from "./chunk-75Z2AOVW-
|
|
4
|
-
import { o as r } from "./chunk-4HAMMTFA-
|
|
3
|
+
import { u as n } from "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
4
|
+
import { o as r } from "./chunk-4HAMMTFA-DBtV-sHy.js";
|
|
5
5
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-GVQU2GXP.mjs
|
|
6
6
|
var i = /* @__PURE__ */ t(({ flowchart: e }) => {
|
|
7
7
|
let t = e?.subGraphTitleMargin?.top ?? 0, n = e?.subGraphTitleMargin?.bottom ?? 0;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { m as e, p as t } from "./src-DQoflmwT.js";
|
|
2
|
-
import { H as n, K as r, U as i, a, ot as o, s, v as c, w as l, x as u, y as d } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { H as n, K as r, U as i, a, ot as o, s, v as c, w as l, x as u, y as d } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as f } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { g as p, s as m } from "./chunk-75Z2AOVW-
|
|
5
|
-
import { r as h } from "./chunk-TLUHSLCS-
|
|
6
|
-
import { t as g } from "./chunk-F27PBJKO-
|
|
4
|
+
import { g as p, s as m } from "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
|
+
import { r as h } from "./chunk-TLUHSLCS-Drk6ApJR.js";
|
|
6
|
+
import { t as g } from "./chunk-F27PBJKO-DPhiW07t.js";
|
|
7
7
|
import { t as _ } from "./chunk-XXDRQBXY-C1ZEFXGu.js";
|
|
8
|
-
import { t as v } from "./chunk-POPQ4Y6H-
|
|
8
|
+
import { t as v } from "./chunk-POPQ4Y6H-YFNrkrJW.js";
|
|
9
9
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-IMKFNOWR.mjs
|
|
10
10
|
var y = (function() {
|
|
11
11
|
var e = /* @__PURE__ */ f(function(e, t, n, r) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { m as e, p as t } from "./src-DQoflmwT.js";
|
|
2
|
-
import { T as n, g as r, x as i } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { T as n, g as r, x as i } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as a } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { a as o, i as s } from "./chunk-P2QGCYS3-
|
|
5
|
-
import { n as c } from "./chunk-GMAD6QVW-
|
|
4
|
+
import { a as o, i as s } from "./chunk-P2QGCYS3-667SFjNY.js";
|
|
5
|
+
import { n as c } from "./chunk-GMAD6QVW-Cnp61Cie.js";
|
|
6
6
|
import { t as l } from "./rough.esm-DXYGHN3m.js";
|
|
7
|
-
import { n as u, r as d, t as f } from "./chunk-4HAMMTFA-
|
|
8
|
-
import { n as p } from "./chunk-GVQU2GXP-
|
|
7
|
+
import { n as u, r as d, t as f } from "./chunk-4HAMMTFA-DBtV-sHy.js";
|
|
8
|
+
import { n as p } from "./chunk-GVQU2GXP-BJ9OHC7T.js";
|
|
9
9
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-L3NEJ4N5.mjs
|
|
10
10
|
var m = /* @__PURE__ */ a(async (n, a) => {
|
|
11
11
|
let u = i(), { themeVariables: f, handDrawnSeed: p } = u, { clusterBkg: m, clusterBorder: h } = f, g = h, { labelStyles: _, nodeStyles: v, borderStyles: y, backgroundStyles: b } = s(a), x = n.insert("g").attr("class", "cluster swimlane " + (a.cssClasses || "")).attr("id", a.id).attr("data-id", a.id).attr("data-et", "cluster").attr("data-look", a.look), S = r(u.flowchart.htmlLabels), C = a.direction === "LR", w = x.insert("g").attr("class", "cluster-label swimlane-label"), T = await c(w, a.label, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { m as e, p as t } from "./src-DQoflmwT.js";
|
|
2
|
-
import { T as n, b as r, x as i } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { T as n, b as r, x as i } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as a } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { $ as o, J as s, K as c, Q as l, X as u, Y as d, Z as f, et as p, g as m, nt as h, q as g, rt as _, tt as v, u as ee } from "./chunk-75Z2AOVW-
|
|
5
|
-
import { t as y } from "./line-
|
|
6
|
-
import { i as b, n as x } from "./chunk-P2QGCYS3-
|
|
7
|
-
import { n as S, r as C } from "./chunk-GMAD6QVW-
|
|
4
|
+
import { $ as o, J as s, K as c, Q as l, X as u, Y as d, Z as f, et as p, g as m, nt as h, q as g, rt as _, tt as v, u as ee } from "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
|
+
import { t as y } from "./line-CkNoVxEr.js";
|
|
6
|
+
import { i as b, n as x } from "./chunk-P2QGCYS3-667SFjNY.js";
|
|
7
|
+
import { n as S, r as C } from "./chunk-GMAD6QVW-Cnp61Cie.js";
|
|
8
8
|
import { t as te } from "./rough.esm-DXYGHN3m.js";
|
|
9
|
-
import { t as w } from "./chunk-4HAMMTFA-
|
|
10
|
-
import { n as T } from "./chunk-GVQU2GXP-
|
|
9
|
+
import { t as w } from "./chunk-4HAMMTFA-DBtV-sHy.js";
|
|
10
|
+
import { n as T } from "./chunk-GVQU2GXP-BJ9OHC7T.js";
|
|
11
11
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-OSK3NFVY.mjs
|
|
12
12
|
var E = /* @__PURE__ */ a((e, t) => {
|
|
13
13
|
if (t) return "translate(" + -e.width / 2 + ", " + -e.height / 2 + ")";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as e } from "./chunk-DU6HZSFF-
|
|
1
|
+
import { x as e } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
2
2
|
import { n as t } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
3
3
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-P2QGCYS3.mjs
|
|
4
4
|
var n = /* @__PURE__ */ t((t) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { c as t } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { c as t } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
4
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-POPQ4Y6H.mjs
|
|
5
5
|
var r = /* @__PURE__ */ n((n, r, o, s) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { b as t, z as n } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { b as t, z as n } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as r } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
4
|
//#region node_modules/@iconify/utils/lib/icon/defaults.js
|
|
5
5
|
var i = Object.freeze({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { m as e, p as t } from "./src-DQoflmwT.js";
|
|
2
|
-
import { G as n, H as r, K as i, U as a, a as o, d as s, k as c, ot as l, rt as u, s as d, v as f, w as p, x as m, y as h } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { G as n, H as r, K as i, U as a, a as o, d as s, k as c, ot as l, rt as u, s as d, v as f, w as p, x as m, y as h } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as g } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { t as ee } from "./channel-
|
|
5
|
-
import { c as _, g as te } from "./chunk-75Z2AOVW-
|
|
6
|
-
import { i as ne } from "./chunk-4HAMMTFA-
|
|
4
|
+
import { t as ee } from "./channel-BD0NTdCR.js";
|
|
5
|
+
import { c as _, g as te } from "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
6
|
+
import { i as ne } from "./chunk-4HAMMTFA-DBtV-sHy.js";
|
|
7
7
|
import { n as re, t as v } from "./chunk-LNGE3PJU-CtYcu9x8.js";
|
|
8
|
-
import { r as y, t as b } from "./chunk-TLUHSLCS-
|
|
8
|
+
import { r as y, t as b } from "./chunk-TLUHSLCS-Drk6ApJR.js";
|
|
9
9
|
import { t as x } from "./chunk-5VM5RSS4-Cr17nBXp.js";
|
|
10
|
-
import { t as S } from "./chunk-F27PBJKO-
|
|
10
|
+
import { t as S } from "./chunk-F27PBJKO-DPhiW07t.js";
|
|
11
11
|
import { t as C } from "./chunk-XXDRQBXY-C1ZEFXGu.js";
|
|
12
|
-
import { t as w } from "./chunk-POPQ4Y6H-
|
|
12
|
+
import { t as w } from "./chunk-POPQ4Y6H-YFNrkrJW.js";
|
|
13
13
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-SHT3W25Y.mjs
|
|
14
14
|
var T = "flowchart-", E = class {
|
|
15
15
|
constructor() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { D as t, a as n, b as r, c as i, x as a, z as o } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { D as t, a as n, b as r, c as i, x as a, z as o } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as s } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { t as c } from "./chunk-CLGD4ZFX-
|
|
4
|
+
import { t as c } from "./chunk-CLGD4ZFX-DdntjE3C.js";
|
|
5
5
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-SVP7TREG.mjs
|
|
6
6
|
var l = "", u = "", d = "", f = [], p = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ s((e) => o(e, a()), "sanitizeText"), h = /* @__PURE__ */ s((e) => {
|
|
7
7
|
switch (e.type) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { m as e, p as t } from "./src-DQoflmwT.js";
|
|
2
|
-
import { H as n, K as r, M as i, U as a, a as o, ot as s, s as c, v as l, w as u, x as d, y as f, z as p } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { H as n, K as r, M as i, U as a, a as o, ot as s, s as c, v as l, w as u, x as d, y as f, z as p } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as m } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { c as h, g } from "./chunk-75Z2AOVW-
|
|
5
|
-
import { r as _, t as v } from "./chunk-TLUHSLCS-
|
|
4
|
+
import { c as h, g } from "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
|
+
import { r as _, t as v } from "./chunk-TLUHSLCS-Drk6ApJR.js";
|
|
6
6
|
import { t as y } from "./chunk-5VM5RSS4-Cr17nBXp.js";
|
|
7
|
-
import { t as b } from "./chunk-F27PBJKO-
|
|
7
|
+
import { t as b } from "./chunk-F27PBJKO-DPhiW07t.js";
|
|
8
8
|
import { t as x } from "./chunk-XXDRQBXY-C1ZEFXGu.js";
|
|
9
|
-
import { t as S } from "./chunk-POPQ4Y6H-
|
|
9
|
+
import { t as S } from "./chunk-POPQ4Y6H-YFNrkrJW.js";
|
|
10
10
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-TICWLB2K.mjs
|
|
11
11
|
var C = (function() {
|
|
12
12
|
var e = /* @__PURE__ */ m(function(e, t, n, r) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
-
import { b as t, s as n } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { b as t, s as n } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
3
|
import { n as r } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
-
import { d as i } from "./chunk-75Z2AOVW-
|
|
5
|
-
import { a } from "./chunk-4HAMMTFA-
|
|
6
|
-
import { r as o } from "./chunk-GVQU2GXP-
|
|
7
|
-
import { n as s } from "./chunk-L3NEJ4N5-
|
|
8
|
-
import { a as c, c as l, i as u, s as d } from "./chunk-OSK3NFVY-
|
|
4
|
+
import { d as i } from "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
|
+
import { a } from "./chunk-4HAMMTFA-DBtV-sHy.js";
|
|
6
|
+
import { r as o } from "./chunk-GVQU2GXP-BJ9OHC7T.js";
|
|
7
|
+
import { n as s } from "./chunk-L3NEJ4N5-Dd1FmxFn.js";
|
|
8
|
+
import { a as c, c as l, i as u, s as d } from "./chunk-OSK3NFVY-qg1q5TTI.js";
|
|
9
9
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-TLUHSLCS.mjs
|
|
10
10
|
var f = {
|
|
11
11
|
common: n,
|
|
@@ -26,11 +26,11 @@ var f = {
|
|
|
26
26
|
m([
|
|
27
27
|
{
|
|
28
28
|
name: "dagre",
|
|
29
|
-
loader: /* @__PURE__ */ r(async () => await import("./dagre-GXQ25YYZ
|
|
29
|
+
loader: /* @__PURE__ */ r(async () => await import("./dagre-GXQ25YYZ--Qf92cTs.js"), "loader")
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
name: "swimlane",
|
|
33
|
-
loader: /* @__PURE__ */ r(async () => await import("./swimlanes-42K2YHIH-
|
|
33
|
+
loader: /* @__PURE__ */ r(async () => await import("./swimlanes-42K2YHIH-DkMzBkx7.js"), "loader")
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
name: "cose-bilkent",
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "./src-DQoflmwT.js";
|
|
2
|
+
import "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
|
+
import { n as e } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
+
import "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
|
+
import "./chunk-P2QGCYS3-667SFjNY.js";
|
|
6
|
+
import "./chunk-PWAF6VOD-z0rQy52m.js";
|
|
7
|
+
import "./chunk-GMAD6QVW-Cnp61Cie.js";
|
|
8
|
+
import "./chunk-4HAMMTFA-DBtV-sHy.js";
|
|
9
|
+
import "./chunk-GVQU2GXP-BJ9OHC7T.js";
|
|
10
|
+
import "./chunk-L3NEJ4N5-Dd1FmxFn.js";
|
|
11
|
+
import "./chunk-OSK3NFVY-qg1q5TTI.js";
|
|
12
|
+
import "./chunk-TLUHSLCS-Drk6ApJR.js";
|
|
13
|
+
import "./chunk-F27PBJKO-DPhiW07t.js";
|
|
14
|
+
import "./chunk-XXDRQBXY-C1ZEFXGu.js";
|
|
15
|
+
import "./chunk-POPQ4Y6H-YFNrkrJW.js";
|
|
16
|
+
import { i as t, n, r, t as i } from "./chunk-TICWLB2K-DzrOz9kL.js";
|
|
17
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-ZZMXUADV.mjs
|
|
18
|
+
var a = {
|
|
19
|
+
parser: n,
|
|
20
|
+
get db() {
|
|
21
|
+
return new i();
|
|
22
|
+
},
|
|
23
|
+
renderer: r,
|
|
24
|
+
styles: t,
|
|
25
|
+
init: /* @__PURE__ */ e((e) => {
|
|
26
|
+
e.class ||= {}, e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
27
|
+
}, "init")
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
export { a as diagram };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "./src-DQoflmwT.js";
|
|
2
|
+
import "./chunk-DU6HZSFF-D9v_2L4Z.js";
|
|
3
|
+
import { n as e } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
+
import "./chunk-75Z2AOVW-CLjRECiG.js";
|
|
5
|
+
import "./chunk-P2QGCYS3-667SFjNY.js";
|
|
6
|
+
import "./chunk-PWAF6VOD-z0rQy52m.js";
|
|
7
|
+
import "./chunk-GMAD6QVW-Cnp61Cie.js";
|
|
8
|
+
import "./chunk-4HAMMTFA-DBtV-sHy.js";
|
|
9
|
+
import "./chunk-GVQU2GXP-BJ9OHC7T.js";
|
|
10
|
+
import "./chunk-L3NEJ4N5-Dd1FmxFn.js";
|
|
11
|
+
import "./chunk-OSK3NFVY-qg1q5TTI.js";
|
|
12
|
+
import "./chunk-TLUHSLCS-Drk6ApJR.js";
|
|
13
|
+
import "./chunk-F27PBJKO-DPhiW07t.js";
|
|
14
|
+
import "./chunk-XXDRQBXY-C1ZEFXGu.js";
|
|
15
|
+
import "./chunk-POPQ4Y6H-YFNrkrJW.js";
|
|
16
|
+
import { i as t, n, r, t as i } from "./chunk-TICWLB2K-DzrOz9kL.js";
|
|
17
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-VYDZK3BY.mjs
|
|
18
|
+
var a = {
|
|
19
|
+
parser: n,
|
|
20
|
+
get db() {
|
|
21
|
+
return new i();
|
|
22
|
+
},
|
|
23
|
+
renderer: r,
|
|
24
|
+
styles: t,
|
|
25
|
+
init: /* @__PURE__ */ e((e) => {
|
|
26
|
+
e.class ||= {}, e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
27
|
+
}, "init")
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
export { a as diagram };
|
|
@@ -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"}
|
|
@@ -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,26 @@ export type TimedEvent = {
|
|
|
25
26
|
row: DataRow;
|
|
26
27
|
dateKey: string;
|
|
27
28
|
label: string;
|
|
28
|
-
|
|
29
|
+
/** Backend color, painted on the vertical marker line. */
|
|
30
|
+
markerStyle?: CSSProperties;
|
|
31
|
+
/** Remaining backend style declarations, applied to the label. */
|
|
32
|
+
labelStyle?: CSSProperties;
|
|
33
|
+
/** Whole backend style, applied to multi-day bars (which have no marker). */
|
|
34
|
+
eventStyle?: CSSProperties;
|
|
29
35
|
icon?: string;
|
|
30
36
|
img?: string;
|
|
31
37
|
/** Time range (null = all-day event). */
|
|
32
38
|
time: TimeRange | null;
|
|
33
39
|
};
|
|
40
|
+
/** Description and tooltip of an event, derived from `DesCol`/`DurationCol`. */
|
|
41
|
+
export type EventTexts = {
|
|
42
|
+
/** Extended description (`DesCol`), shown below the title. */
|
|
43
|
+
description?: string;
|
|
44
|
+
/** Full text of the hover tooltip: `[ duration ] title - description`. */
|
|
45
|
+
tooltip: string;
|
|
46
|
+
};
|
|
47
|
+
/** Resolves the {@link EventTexts} of an event row given its title. */
|
|
48
|
+
export type EventTextsResolver = (row: DataRow, title: string) => EventTexts;
|
|
34
49
|
/**
|
|
35
50
|
* Options for the {@link Calendar} component.
|
|
36
51
|
*
|
|
@@ -42,6 +57,17 @@ export type TimedEvent = {
|
|
|
42
57
|
export type CalendarOptions = {
|
|
43
58
|
/** Column key in the DataTable holding the event date. Auto-detected if omitted. */
|
|
44
59
|
DatCol?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Column key holding the extended description of the event, shown below
|
|
62
|
+
* the title (not bold, smaller font) and in the tooltip.
|
|
63
|
+
*/
|
|
64
|
+
DesCol?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Column key holding the event duration in hours. It must be a number
|
|
67
|
+
* column (obj type NR); the value is shown in the tooltip, formatted with
|
|
68
|
+
* the current decimal separator.
|
|
69
|
+
*/
|
|
70
|
+
DurationCol?: string;
|
|
45
71
|
/** Enable or disable drag & drop of events between days. @default "No" */
|
|
46
72
|
Drag?: BooleanValue;
|
|
47
73
|
/** Column key holding the end date for multi-day events. */
|
|
@@ -69,7 +95,10 @@ export type CalendarOptions = {
|
|
|
69
95
|
ShowNavigation?: BooleanValue;
|
|
70
96
|
/** Show or hide the view-switch buttons (month / week / day). @default "No" */
|
|
71
97
|
ShowViewSwitch?: BooleanValue;
|
|
72
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* Column key pointing to the cell whose style is applied to the event: its
|
|
100
|
+
* color paints the marker line, the other declarations style the label.
|
|
101
|
+
*/
|
|
73
102
|
StyCol?: string;
|
|
74
103
|
/** Column key holding the event description / title. Auto-detected if omitted. */
|
|
75
104
|
TitCol?: string;
|
|
@@ -124,7 +153,11 @@ export declare enum CalendarCellId {
|
|
|
124
153
|
EVENT = "calendar-event",
|
|
125
154
|
EVENT_MARKER = "calendar-event-marker",
|
|
126
155
|
EVENT_LABEL = "calendar-event-label",
|
|
156
|
+
EVENT_DESCRIPTION = "calendar-event-description",
|
|
127
157
|
EVENT_ICON = "calendar-event-icon",
|
|
158
|
+
EVENT_IMAGE = "calendar-event-image",
|
|
159
|
+
NOW_LINE = "calendar-now-line",
|
|
160
|
+
EVENTS_MORE_POPUP = "calendar-events-more-popup",
|
|
128
161
|
DAY_TOTAL = "calendar-day-total",
|
|
129
162
|
HEADER = "calendar-header",
|
|
130
163
|
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,0DAA0D;IAC1D,WAAW,CAAC,EAAE,aAAa,CAAA;IAC3B,kEAAkE;IAClE,UAAU,CAAC,EAAE,aAAa,CAAA;IAC1B,6EAA6E;IAC7E,UAAU,CAAC,EAAE,aAAa,CAAA;IAC1B,IAAI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AAiB,+BAA+B;IAChD,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,3 +1,4 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
1
2
|
import { DataColumn, DataCell, DataRow, DataTable } from '../../types/data-structures';
|
|
2
3
|
import { DayCell, TimedEvent, TimeRange, CalendarOptions, CalendarView } from './calendar-types';
|
|
3
4
|
/**
|
|
@@ -19,6 +20,10 @@ export declare function resolveCalendarDefaults(props: CalendarOptions, data: Da
|
|
|
19
20
|
TitCol: string;
|
|
20
21
|
FinCol: string;
|
|
21
22
|
IniCol: string;
|
|
23
|
+
IniTimCol: string;
|
|
24
|
+
FinTimCol: string;
|
|
25
|
+
DesCol: string;
|
|
26
|
+
DurationCol: string;
|
|
22
27
|
};
|
|
23
28
|
/**
|
|
24
29
|
* Compute the daily total using the given formula and column.
|
|
@@ -42,25 +47,87 @@ export declare function formatDateKey(date: Date): string;
|
|
|
42
47
|
* Returns `null` when the value is empty or cannot be parsed.
|
|
43
48
|
*/
|
|
44
49
|
export declare function parseDate(value: string | undefined | null): Date | null;
|
|
50
|
+
/**
|
|
51
|
+
* Start/end dates of a row from `iniCol`/`finCol`, or `null` when the row
|
|
52
|
+
* has no date range (columns missing, not date columns, or unparseable).
|
|
53
|
+
* Only date columns (obj type D8/A8) count: times are read from `IniTimCol`/`FinTimCol`.
|
|
54
|
+
*/
|
|
55
|
+
export declare function getDateRange(row: DataRow, iniCol?: string, finCol?: string, columns?: DataColumn[]): {
|
|
56
|
+
start: Date;
|
|
57
|
+
end: Date;
|
|
58
|
+
} | null;
|
|
59
|
+
/** One event of a day cell in the month view. */
|
|
60
|
+
export type WeekSlot = {
|
|
61
|
+
row: DataRow;
|
|
62
|
+
/** Present on the day where a multi-day bar is drawn (first day of its week segment). */
|
|
63
|
+
bar?: {
|
|
64
|
+
/** Number of day columns the bar covers within the week. */
|
|
65
|
+
span: number;
|
|
66
|
+
continuesBefore: boolean;
|
|
67
|
+
continuesAfter: boolean;
|
|
68
|
+
};
|
|
69
|
+
/** True on days covered by a bar drawn on an earlier day of the same week. */
|
|
70
|
+
covered?: boolean;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Lay out the events of one week row of the month view.
|
|
74
|
+
*
|
|
75
|
+
* Multi-day events (end after start) become one bar per week, placed in a
|
|
76
|
+
* lane shared by all the days it covers so the bar stays on a single line.
|
|
77
|
+
* Single-day events fill the lanes left free on their day, then follow below.
|
|
78
|
+
* Returns one array per day; `null` entries are empty lanes kept as spacers.
|
|
79
|
+
*/
|
|
80
|
+
export declare function buildWeekLayout(week: DayCell[], rowsByDate: Map<string, DataRow[]>, getRange: (row: DataRow) => {
|
|
81
|
+
start: Date;
|
|
82
|
+
end: Date;
|
|
83
|
+
} | null): (WeekSlot | null)[][];
|
|
45
84
|
/**
|
|
46
85
|
* Group data rows by their date column value.
|
|
47
86
|
* Supports multi-day events when `iniCol` and `finCol` are provided:
|
|
48
87
|
* the event appears in every day from `iniCol` to `finCol` inclusive.
|
|
49
88
|
* Falls back to `datCol` when `iniCol`/`finCol` are absent.
|
|
50
89
|
*
|
|
51
|
-
*
|
|
52
|
-
* they are treated as time columns, NOT as multi-day date columns.
|
|
90
|
+
* `iniCol`/`finCol` hold dates only: times go in `IniTimCol`/`FinTimCol`.
|
|
53
91
|
*
|
|
54
92
|
* @returns a `Map<string, DataRow[]>` keyed by `YYYY-MM-DD`.
|
|
55
93
|
*/
|
|
56
94
|
export declare function groupRowsByDate(rows: DataRow[] | undefined, datCol: string, iniCol?: string, finCol?: string, columns?: DataColumn[]): Map<string, DataRow[]>;
|
|
57
95
|
/** Find the cell that supplies the event label and its presentation style. */
|
|
96
|
+
/**
|
|
97
|
+
* Splits the backend cell style of an event: the color (`backgroundColor`,
|
|
98
|
+
* falling back to `color`) paints the vertical marker line, every other
|
|
99
|
+
* declaration styles the label. The label never gets a color or background.
|
|
100
|
+
*/
|
|
101
|
+
export declare function splitEventStyle(style: DataCell["style"]): {
|
|
102
|
+
markerStyle?: CSSProperties;
|
|
103
|
+
labelStyle?: CSSProperties;
|
|
104
|
+
};
|
|
58
105
|
export declare function getEventLabelCell(row: DataRow, datCol: string, titCol?: string): DataCell | undefined;
|
|
59
106
|
/**
|
|
60
|
-
*
|
|
61
|
-
*
|
|
107
|
+
* Description and tooltip of an event row.
|
|
108
|
+
*
|
|
109
|
+
* The tooltip carries everything in full: `[ duration ] title - description`
|
|
110
|
+
* (the duration and description parts are left out when missing). The
|
|
111
|
+
* duration is formatted with the decimal separator of `locale`, keeping the
|
|
112
|
+
* decimals of the raw value (`"3.00"` → `"3,00"` in Italian).
|
|
113
|
+
*/
|
|
114
|
+
export declare function buildEventTexts(row: DataRow, title: string, options: {
|
|
115
|
+
desCol?: string;
|
|
116
|
+
durationCol?: string;
|
|
117
|
+
locale?: string;
|
|
118
|
+
}): {
|
|
119
|
+
description?: string;
|
|
120
|
+
tooltip: string;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Splits the backend style of a multi-day bar: background and color paint
|
|
124
|
+
* the whole bar, every other declaration (font weight/style, …) styles only
|
|
125
|
+
* the title.
|
|
62
126
|
*/
|
|
63
|
-
export declare function
|
|
127
|
+
export declare function splitBarStyle(style: DataCell["style"]): {
|
|
128
|
+
barStyle?: CSSProperties;
|
|
129
|
+
titleStyle?: CSSProperties;
|
|
130
|
+
};
|
|
64
131
|
export declare function getEventLabelDisplayValue(label: string | null | undefined): string;
|
|
65
132
|
/**
|
|
66
133
|
* Build a 6×7 day-cell matrix for the given month (month view).
|
|
@@ -136,7 +203,7 @@ export declare function getTimeRange(row: DataRow, iniTimCol?: string, finTimCol
|
|
|
136
203
|
*
|
|
137
204
|
* @returns a Map<dateKey, { allDay: TimedEvent[], timed: TimedEvent[] }>
|
|
138
205
|
*/
|
|
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, {
|
|
206
|
+
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
207
|
allDay: TimedEvent[];
|
|
141
208
|
timed: TimedEvent[];
|
|
142
209
|
}>;
|
|
@@ -145,11 +212,31 @@ export declare function buildTimedEvents(rows: DataRow[] | undefined, datCol: st
|
|
|
145
212
|
* based on its start time relative to the time grid.
|
|
146
213
|
*/
|
|
147
214
|
export declare function getEventTopPx(startMin: number): number;
|
|
215
|
+
/** Minimum height of a timed event: one line of text. */
|
|
216
|
+
export declare const EVENT_MIN_HEIGHT_PX = 24;
|
|
217
|
+
/** Minimum height of a timed event showing a description: two lines. */
|
|
218
|
+
export declare const EVENT_MIN_HEIGHT_WITH_DESCRIPTION_PX = 40;
|
|
148
219
|
/**
|
|
149
220
|
* Calculate the CSS `height` (in pixels) for a timed event
|
|
150
|
-
* based on its time range duration.
|
|
221
|
+
* based on its time range duration. `minHeightPx` is the minimum height:
|
|
222
|
+
* one text line by default, two when the events show a description.
|
|
223
|
+
*/
|
|
224
|
+
export declare function getEventHeightPx(startMin: number, endMin: number, minHeightPx?: number): number;
|
|
225
|
+
/**
|
|
226
|
+
* Side-by-side layout of the timed events of one day: events whose boxes
|
|
227
|
+
* overlap in the time grid share the width, each one in its own column.
|
|
228
|
+
*
|
|
229
|
+
* Overlapping events are grouped in clusters; inside a cluster every event
|
|
230
|
+
* takes the first column free at its start, and all of them are `columns`
|
|
231
|
+
* wide, where `columns` is the number of columns the cluster needs.
|
|
232
|
+
*
|
|
233
|
+
* @param minHeightPx minimum rendered height of an event (see {@link getEventHeightPx}).
|
|
234
|
+
* @returns one `{ column, columns }` per event, in the order of `events`.
|
|
151
235
|
*/
|
|
152
|
-
export declare function
|
|
236
|
+
export declare function layoutTimedColumns(events: readonly TimedEvent[], minHeightPx?: number): {
|
|
237
|
+
column: number;
|
|
238
|
+
columns: number;
|
|
239
|
+
}[];
|
|
153
240
|
/**
|
|
154
241
|
* Generate hour labels for the time grid.
|
|
155
242
|
* Returns an array of { label: string, minutes: number } for each hour slot.
|
|
@@ -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;AAcpC,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,M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1C,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAIpD,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,KAMN,MAAM,OAAO,CAAA;AAYd,OAAO,EAEL,KAAK,aAAa,EAInB,MAAM,kBAAkB,CAAA;AAmBzB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA8a5C,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type EventTextProps = {
|
|
3
|
+
/** Event title (`TitCol`), shown in bold. */
|
|
4
|
+
readonly label: string;
|
|
5
|
+
/** Backend style, applied to the title only. */
|
|
6
|
+
readonly labelStyle?: React.CSSProperties;
|
|
7
|
+
/** Extended description (`DesCol`), shown below the title. */
|
|
8
|
+
readonly description?: string;
|
|
9
|
+
};
|
|
10
|
+
/** Title (bold) and optional description (smaller, regular) of an event. */
|
|
11
|
+
export declare const EventText: React.FC<EventTextProps>;
|
|
12
|
+
//# 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;AAKzB,MAAM,MAAM,cAAc,GAAG;IAC3B,6CAA6C;IAC7C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,gDAAgD;IAChD,QAAQ,CAAC,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IACzC,8DAA8D;IAC9D,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAC9B,CAAA;AAED,4EAA4E;AAC5E,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAsB9C,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 } from '../calendar-types';
|
|
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;
|
|
15
17
|
};
|
|
18
|
+
/** Data columns, used to tell date ranges from time columns. */
|
|
19
|
+
readonly dataColumns?: DataColumn[];
|
|
20
|
+
/** Description and tooltip of an event. */
|
|
21
|
+
readonly describeEvent: EventTextsResolver;
|
|
22
|
+
/** True when `DesCol` is set: multi-day bars get a two-line lane. */
|
|
23
|
+
readonly hasDescription?: boolean;
|
|
16
24
|
readonly maxEvents: number;
|
|
17
25
|
readonly totals?: string;
|
|
18
26
|
readonly isDragEnabled: boolean;
|
|
@@ -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
|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