@sme.up/ketchup2 2.8.0 → 2.8.2
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-DZIaCwNE.js → abnfDiagram-VCTEODGH-DwAVRNNu.js} +5 -5
- package/dist/{arc-7ZXqzxve.js → arc-DXfwi1YX.js} +8 -6
- package/dist/architecture-7GRP2DOG-BsytjMto.js +3 -0
- package/dist/{architectureDiagram-5GKGNRK7-BJvIxhbL.js → architectureDiagram-5GKGNRK7-N1aPr2hw.js} +309 -300
- package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
- package/dist/basic-components/file-upload/file-upload-hook.d.ts.map +1 -1
- package/dist/basic-components/file-upload/file-upload.d.ts.map +1 -1
- package/dist/basic-components/list/list.d.ts.map +1 -1
- package/dist/basic-components/select/select.d.ts.map +1 -1
- package/dist/basic-components/tree/{tree.types.d.ts → tree-types.d.ts} +1 -1
- package/dist/basic-components/tree/{tree.types.d.ts.map → tree-types.d.ts.map} +1 -1
- package/dist/basic-components/tree/tree.d.ts +1 -1
- package/dist/{blockDiagram-I7D4REHJ-C5aW9ypR.js → blockDiagram-I7D4REHJ-Cu18ws5-.js} +38 -35
- package/dist/{c4Diagram-7LVT6UL2-JxFfT5VH.js → c4Diagram-7LVT6UL2-B-uBy_NE.js} +109 -79
- package/dist/{channel-D6agWknC.js → channel-CuEby436.js} +1 -1
- package/dist/{chunk-2E4U76K2-C8vehurw.js → chunk-2E4U76K2-ComA5SPA.js} +18 -16
- package/dist/{chunk-4HAMMTFA-MZIwowe1.js → chunk-4HAMMTFA-CZgIgrp_.js} +18 -18
- package/dist/{chunk-75Z2AOVW-BwUD389x.js → chunk-75Z2AOVW-Drsj7a97.js} +53 -84
- package/dist/{chunk-CLGD4ZFX-DKRy6g5T.js → chunk-CLGD4ZFX-CLGio9rD.js} +7 -3
- package/dist/{chunk-DU6HZSFF-CNSdkWoH.js → chunk-DU6HZSFF-waeanndy.js} +18 -14
- package/dist/{chunk-F27PBJKO-DKsmevT5.js → chunk-F27PBJKO-jIrOJO87.js} +3 -3
- package/dist/{chunk-FOHPRMQF-C49KxWOg.js → chunk-FOHPRMQF-LRqOLsSw.js} +435 -362
- package/dist/{chunk-GMAD6QVW-DKxKOKLF.js → chunk-GMAD6QVW-D80II4AD.js} +38 -28
- package/dist/{chunk-GVQU2GXP-w4KY-she.js → chunk-GVQU2GXP-DP3t_9Rl.js} +4 -4
- package/dist/{chunk-IMKFNOWR-DHxMOe_C.js → chunk-IMKFNOWR-8ItzAAcf.js} +43 -47
- package/dist/{chunk-L3NEJ4N5-CvNbHpcd.js → chunk-L3NEJ4N5-qPot4t6M.js} +11 -11
- package/dist/{chunk-LNGE3PJU-CiGrDO_F.js → chunk-LNGE3PJU-CtYcu9x8.js} +27 -19
- package/dist/{chunk-OSK3NFVY-BmtDbEvT.js → chunk-OSK3NFVY-CQhPF3Mc.js} +25 -22
- package/dist/{chunk-P2QGCYS3-DRvvOWJ2.js → chunk-P2QGCYS3-BUeNZ170.js} +1 -1
- package/dist/{chunk-POPQ4Y6H-CaEkosGL.js → chunk-POPQ4Y6H-CU9oz17Z.js} +2 -2
- package/dist/{chunk-PWAF6VOD-CbmhQpgH.js → chunk-PWAF6VOD-D37VoZ8H.js} +6 -8
- package/dist/{chunk-SHT3W25Y-DJgD-hyF.js → chunk-SHT3W25Y-Cri27Jke.js} +28 -34
- package/dist/{chunk-SVP7TREG-BNwvtyzm.js → chunk-SVP7TREG-CyJlOPau.js} +3 -3
- package/dist/{chunk-TICWLB2K-DqSHwYf9.js → chunk-TICWLB2K-Cw2iT_VD.js} +15 -15
- package/dist/{chunk-TLUHSLCS-opHh7fd-.js → chunk-TLUHSLCS-BdsLNXjt.js} +10 -10
- package/dist/{chunk-XXDRQBXY-BZK6GgVm.js → chunk-XXDRQBXY-C1ZEFXGu.js} +1 -1
- package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +30 -0
- package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +30 -0
- package/dist/components/app-bar/app-bar.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/calendar/calendar-types.d.ts +143 -0
- package/dist/components/calendar/calendar-types.d.ts.map +1 -0
- package/dist/components/calendar/calendar-utils.d.ts +162 -0
- package/dist/components/calendar/calendar-utils.d.ts.map +1 -0
- package/dist/components/calendar/calendar-utils.test.d.ts +2 -0
- package/dist/components/calendar/calendar-utils.test.d.ts.map +1 -0
- package/dist/components/calendar/calendar.d.ts +16 -0
- package/dist/components/calendar/calendar.d.ts.map +1 -0
- package/dist/components/calendar/views/calendar-month-grid.d.ts +48 -0
- package/dist/components/calendar/views/calendar-month-grid.d.ts.map +1 -0
- package/dist/components/calendar/views/calendar-time-grid.d.ts +44 -0
- package/dist/components/calendar/views/calendar-time-grid.d.ts.map +1 -0
- package/dist/components/chat/chat.d.ts.map +1 -1
- package/dist/components/data-table/data-table.d.ts.map +1 -1
- package/dist/components/echarts/echarts-graph.d.ts.map +1 -1
- package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/{cose-bilkent-JH36ORCC-CE0T5PqO.js → cose-bilkent-JH36ORCC-Qs_Z6zBZ.js} +64 -61
- package/dist/cynefin-OW5HDTMX-BJXlKro0.js +3 -0
- package/dist/{cynefinDiagram-5FMLGOSQ-D5vkxB9p.js → cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js} +18 -12
- package/dist/{cytoscape.esm-BQqfb1oS.js → cytoscape.esm-C5TvPYYm.js} +532 -538
- package/dist/{dagre-qXSFUdzO.js → dagre-D5csT9sx.js} +16 -18
- package/dist/{dagre-GXQ25YYZ-CFXgAmuL.js → dagre-GXQ25YYZ-Bg7xf6xn.js} +16 -14
- package/dist/{defaultLocale-DnzPsei5.js → defaultLocale-N-0uLSyg.js} +1 -4
- package/dist/{diagram-S7CK7UJ4-DrGNegqs.js → diagram-S7CK7UJ4-BuDHTdHA.js} +6 -6
- package/dist/{diagram-UQ7AKVKN-LU56O9S9.js → diagram-UQ7AKVKN-uvzJGj43.js} +8 -8
- package/dist/{diagram-VSXAHHWV-CaQnupEx.js → diagram-VSXAHHWV-CrQQCs-B.js} +5 -5
- package/dist/{diagram-VX7I27RA-DH-s9daK.js → diagram-VX7I27RA-BNmG1sig.js} +52 -50
- package/dist/{diagram-Z3DM3KII-DWhRX2l9.js → diagram-Z3DM3KII-B6BrLhP0.js} +5 -5
- package/dist/{dist-C7OpkiTz.js → dist-CsrMlyO_.js} +1 -1
- package/dist/{ebnfDiagram-PWID7BFC-CtT2erlt.js → ebnfDiagram-PWID7BFC-DMx8xAFO.js} +5 -5
- package/dist/{erDiagram-RLTQ6QDP-CxxAoCSs.js → erDiagram-RLTQ6QDP-bkJ9nzVK.js} +25 -25
- package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +3 -0
- package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +17 -0
- package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -1
- package/dist/{ganttDiagram-EL5Y4UJY-C04RZW4s.js → ganttDiagram-EL5Y4UJY-CL-ywzz_.js} +39 -50
- package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +3 -0
- package/dist/{gitGraphDiagram-WWUBYQGX-BTcuEGsY.js → gitGraphDiagram-WWUBYQGX-aXhNDG6P.js} +17 -13
- package/dist/{graphlib-VMWSbyYi.js → graphlib-XW-Jr8pF.js} +5 -5
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/info-A6RAGUB7-CmZJKEaW.js +3 -0
- package/dist/{infoDiagram-27XIBGKW-BoUOV42E.js → infoDiagram-27XIBGKW-Je4heBlk.js} +4 -4
- package/dist/{init-MwSGRDIl.js → init-CsQUQz36.js} +1 -3
- package/dist/{ishikawaDiagram-5VMMS53U-D15Hi9wp.js → ishikawaDiagram-5VMMS53U-DK7HlH95.js} +12 -12
- package/dist/{journeyDiagram-3NMN7TZE-BUb4frTN.js → journeyDiagram-3NMN7TZE-CpuYEKcB.js} +16 -16
- package/dist/{kanban-definition-UXKFOSKX-DkgBC20j.js → kanban-definition-UXKFOSKX-aK8uKmyY.js} +20 -20
- package/dist/{katex-Dyoqg6Cv.js → katex-CT2p8LXT.js} +111 -96
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +33176 -32415
- package/dist/{line-BEo8vh4N.js → line-DTqYMLoX.js} +2 -2
- package/dist/{linear-BNesvT28.js → linear-CXc5xaa6.js} +8 -9
- package/dist/locale/en/translation.json.d.ts +3 -1
- package/dist/locale/it/translation.json.d.ts +3 -1
- package/dist/{mermaid-parser.core-oFB-qEU8.js → mermaid-parser.core-BwVmI_Rq.js} +16 -16
- package/dist/{mindmap-definition-YA3MSWOX-Cjs12XgD.js → mindmap-definition-YA3MSWOX-ZMYcmi9J.js} +27 -29
- package/dist/{ordinal-D_ZgubzR.js → ordinal-BubEveRk.js} +1 -1
- package/dist/packet-AYTQ26CC-B3tgRshR.js +3 -0
- package/dist/{path-DGNPZRdx.js → path-CnWkkRiY.js} +10 -11
- package/dist/{pegDiagram-XKGWAZYB-BuyVzOiH.js → pegDiagram-XKGWAZYB-DsfILwZN.js} +5 -5
- package/dist/pie-WAS4IAKB-BRiI8kbI.js +3 -0
- package/dist/{pieDiagram-E7YTZNPT-D4bB4TDP.js → pieDiagram-E7YTZNPT-DcSLcLdd.js} +15 -17
- package/dist/{quadrantDiagram-AXDQQJYC-B6Q9biU9.js → quadrantDiagram-AXDQQJYC-DSx3teop.js} +10 -10
- package/dist/radar-RG4KPBEZ-ASOMQXFw.js +3 -0
- package/dist/railroad-74A4TZTK-oS840SLr.js +3 -0
- package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +3 -0
- package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +3 -0
- package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +3 -0
- package/dist/{railroadDiagram-O6MQD6OU-DFR4_PxB.js → railroadDiagram-O6MQD6OU-jOZRtNDi.js} +5 -5
- package/dist/{requirementDiagram-BXWQKSXE-BfWCCTu8.js → requirementDiagram-BXWQKSXE-D14hkkez.js} +20 -20
- package/dist/{rough.esm-rcMoXTJj.js → rough.esm-DXYGHN3m.js} +60 -51
- package/dist/{sankeyDiagram-P5KCCOFB-B_3NESVW.js → sankeyDiagram-P5KCCOFB-C0jmknYo.js} +16 -14
- package/dist/{sequenceDiagram-WJ2MYXX4-B8W9PUBb.js → sequenceDiagram-WJ2MYXX4-C00egnMz.js} +34 -46
- package/dist/{src-D-6ZfKf9.js → src-DQoflmwT.js} +20 -23
- package/dist/{stateDiagram-D77RDMKH-IwptGFzp.js → stateDiagram-D77RDMKH-YfzmviNY.js} +20 -20
- package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +30 -0
- package/dist/{swimlanes-42K2YHIH-jhIjSCsq.js → swimlanes-42K2YHIH-CJcMmxXf.js} +44 -41
- package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +31 -0
- package/dist/{timeline-definition-24CTP7MA-C6u6A92C.js → timeline-definition-24CTP7MA-D2xfYuSV.js} +18 -18
- package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +3 -0
- package/dist/treemap-WGGIJYW6-Cjjk75wA.js +3 -0
- package/dist/types/translation.d.ts +3 -1
- package/dist/types/translation.d.ts.map +1 -1
- package/dist/utils/date.d.ts +6 -2
- package/dist/utils/date.d.ts.map +1 -1
- package/dist/utils/totals/totals-utils.d.ts +3 -1
- package/dist/utils/totals/totals-utils.d.ts.map +1 -1
- package/dist/{v4-BK7K-jy_.js → v4-DIjJgmR0.js} +1 -1
- package/dist/{vennDiagram-4TSXK5OY-Bt9cyeRX.js → vennDiagram-4TSXK5OY-C4XLgus_.js} +12 -12
- package/dist/wardley-WFR3VGLG-BamDiE0x.js +3 -0
- package/dist/{wardleyDiagram-VM6X3IG4-QkNx10Ny.js → wardleyDiagram-VM6X3IG4-DFoKuS9s.js} +40 -40
- package/dist/{xychartDiagram-S5SC5T6Z-BSwoR01A.js → xychartDiagram-S5SC5T6Z-BzKKgVBe.js} +22 -26
- package/package.json +38 -38
- package/dist/abnfDiagram-VCTEODGH-C9blQ78p.cjs +0 -1
- package/dist/arc-DBilzVYt.cjs +0 -1
- package/dist/architecture-7GRP2DOG-DYFsLst2.js +0 -3
- package/dist/architecture-7GRP2DOG-DdhuGtEz.cjs +0 -1
- package/dist/architectureDiagram-5GKGNRK7-B080D0D_.cjs +0 -36
- package/dist/array-DZSRzHA_.cjs +0 -1
- package/dist/blockDiagram-I7D4REHJ-fT7Of27R.cjs +0 -129
- package/dist/c4Diagram-7LVT6UL2-B1n5PnN5.cjs +0 -38
- package/dist/channel-BvUly9jN.cjs +0 -1
- package/dist/chunk-2E4U76K2-BiZwNOhf.cjs +0 -1
- package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +0 -1
- package/dist/chunk-4HAMMTFA-Db_fcZEn.cjs +0 -62
- package/dist/chunk-5VM5RSS4-CwDmQ9T_.cjs +0 -15
- package/dist/chunk-75Z2AOVW-RbCLc-XL.cjs +0 -2
- package/dist/chunk-CLGD4ZFX-Dvn-kRD7.cjs +0 -1
- package/dist/chunk-DU6HZSFF-mznJTFyO.cjs +0 -127
- package/dist/chunk-F27PBJKO-C5NrgqMI.cjs +0 -1
- package/dist/chunk-FOHPRMQF-BYsnEQU5.cjs +0 -161
- package/dist/chunk-GMAD6QVW-BVSRANO9.cjs +0 -72
- package/dist/chunk-GVQU2GXP-BiuaO1L5.cjs +0 -1
- package/dist/chunk-IMKFNOWR-CusIwu2H.cjs +0 -231
- package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +0 -1
- package/dist/chunk-L3NEJ4N5-B8UQMgqc.cjs +0 -1
- package/dist/chunk-LNGE3PJU-TgsSSByc.cjs +0 -34
- package/dist/chunk-OSK3NFVY-DE9_ERt9.cjs +0 -10
- package/dist/chunk-P2QGCYS3-DqT85Q-S.cjs +0 -1
- package/dist/chunk-POPQ4Y6H-QqO5seyb.cjs +0 -1
- package/dist/chunk-PWAF6VOD-CjrO-QHU.cjs +0 -1
- package/dist/chunk-SHT3W25Y-DuMn9iH6.cjs +0 -168
- package/dist/chunk-SVP7TREG-CiwWyOxx.cjs +0 -88
- package/dist/chunk-TICWLB2K-1u0p_luB.cjs +0 -206
- package/dist/chunk-TLUHSLCS-ZDzqyqeY.cjs +0 -1
- package/dist/chunk-XXDRQBXY-BF71LTT1.cjs +0 -1
- package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +0 -1
- package/dist/classDiagram-ZZMXUADV-BTRkvFx4.js +0 -30
- package/dist/classDiagram-ZZMXUADV-CwAl_N60.cjs +0 -1
- package/dist/classDiagram-v2-VYDZK3BY-CFutvfy-.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-CwAl_N60.cjs +0 -1
- package/dist/cose-bilkent-JH36ORCC-D6t9R42P.cjs +0 -1
- package/dist/cynefin-OW5HDTMX-CsZ3W32G.cjs +0 -1
- package/dist/cynefin-OW5HDTMX-DlKRHClQ.js +0 -3
- package/dist/cynefinDiagram-5FMLGOSQ-D95Uad6U.cjs +0 -62
- package/dist/cytoscape.esm-TdwWzXkE.cjs +0 -321
- package/dist/dagre-GXQ25YYZ-NS5a_ezX.cjs +0 -4
- package/dist/dagre-nX1Mh32P.cjs +0 -1
- package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
- package/dist/diagram-S7CK7UJ4-CTj-4VAh.cjs +0 -30
- package/dist/diagram-UQ7AKVKN-eskbTWOc.cjs +0 -41
- package/dist/diagram-VSXAHHWV-DzHhzg5V.cjs +0 -3
- package/dist/diagram-VX7I27RA-D7Ibz__z.cjs +0 -24
- package/dist/diagram-Z3DM3KII-BpFP72Tr.cjs +0 -24
- package/dist/dist-DrOEvFlx.cjs +0 -1
- package/dist/ebnfDiagram-PWID7BFC-DXCy8fra.cjs +0 -1
- package/dist/erDiagram-RLTQ6QDP-B-cUtqmN.cjs +0 -99
- package/dist/eventmodeling-NTZA5JFV-5J5w1INt.js +0 -3
- package/dist/eventmodeling-NTZA5JFV-DcUTtbEf.cjs +0 -1
- package/dist/flowDiagram-HODETNUW-B6sXxv0S.cjs +0 -1
- package/dist/flowDiagram-HODETNUW-BUvMJJnE.js +0 -17
- package/dist/ganttDiagram-EL5Y4UJY-Bee0Pd-N.cjs +0 -292
- package/dist/gitGraph-4MIJSDKK-BCt5iiZ5.js +0 -3
- package/dist/gitGraph-4MIJSDKK-BeFVwcRC.cjs +0 -1
- package/dist/gitGraphDiagram-WWUBYQGX-DA026nbS.cjs +0 -106
- package/dist/graphlib-CkkG5MuS.cjs +0 -1
- package/dist/info-A6RAGUB7-C0KA0jej.cjs +0 -1
- package/dist/info-A6RAGUB7-DYBvudiC.js +0 -3
- package/dist/infoDiagram-27XIBGKW-B5nTXQEj.cjs +0 -2
- package/dist/init-07zIhv_j.cjs +0 -1
- package/dist/ishikawaDiagram-5VMMS53U-ptk0d5z2.cjs +0 -70
- package/dist/journeyDiagram-3NMN7TZE-CxVpPKa-.cjs +0 -139
- package/dist/kanban-definition-UXKFOSKX-Cd_nphr7.cjs +0 -89
- package/dist/katex-DUe6VLjC.cjs +0 -257
- package/dist/ketchup2.cjs.js +0 -487
- package/dist/line-wiGgVVGi.cjs +0 -1
- package/dist/linear-YA14Lx5Z.cjs +0 -1
- package/dist/mermaid-parser.core-CqChDTj1.cjs +0 -6
- package/dist/mindmap-definition-YA3MSWOX-0PG4raFG.cjs +0 -96
- package/dist/ordinal-CUPR-p0T.cjs +0 -1
- package/dist/packet-AYTQ26CC-BEwXWBE0.js +0 -3
- package/dist/packet-AYTQ26CC-DfXUrk97.cjs +0 -1
- package/dist/path-Kklx0M1v.cjs +0 -1
- package/dist/pegDiagram-XKGWAZYB-J7VwZsJf.cjs +0 -1
- package/dist/pie-WAS4IAKB-4NfHFfJd.cjs +0 -1
- package/dist/pie-WAS4IAKB-BOR5Wwai.js +0 -3
- package/dist/pieDiagram-E7YTZNPT-B-rPB0ZO.cjs +0 -39
- package/dist/quadrantDiagram-AXDQQJYC-C5sdY1DW.cjs +0 -7
- package/dist/radar-RG4KPBEZ-BwLQFFzF.js +0 -3
- package/dist/radar-RG4KPBEZ-_epvvHKu.cjs +0 -1
- package/dist/railroad-74A4TZTK-CaWzRQE0.js +0 -3
- package/dist/railroad-74A4TZTK-D2qbdjOh.cjs +0 -1
- package/dist/railroad-abnf-HS5TGJTU-D2tm1mra.js +0 -3
- package/dist/railroad-abnf-HS5TGJTU-_ThxftPt.cjs +0 -1
- package/dist/railroad-ebnf-LZEXJU2U-CKpMMgXK.cjs +0 -1
- package/dist/railroad-ebnf-LZEXJU2U-KAuGgmQe.js +0 -3
- package/dist/railroad-peg-WCYAUIDC-B8bfIIor.cjs +0 -1
- package/dist/railroad-peg-WCYAUIDC-XB38GivH.js +0 -3
- package/dist/railroadDiagram-O6MQD6OU-C7LfgSGm.cjs +0 -1
- package/dist/requirementDiagram-BXWQKSXE-y2O3wvFe.cjs +0 -84
- package/dist/rough.esm-r0QOSzHM.cjs +0 -1
- package/dist/sankeyDiagram-P5KCCOFB-z8VLw23o.cjs +0 -40
- package/dist/sequenceDiagram-WJ2MYXX4-3cWo24Xv.cjs +0 -162
- package/dist/sizeCapture-INFHLROL-bJ2ZX4Du.cjs +0 -1
- package/dist/src-B16ML7oM.cjs +0 -1
- package/dist/stateDiagram-D77RDMKH-DghYG1f5.cjs +0 -1
- package/dist/stateDiagram-v2-MP3YSRHH-0rNAzd4v.cjs +0 -1
- package/dist/stateDiagram-v2-MP3YSRHH-NATCGJSV.js +0 -30
- package/dist/swimlanes-42K2YHIH-svHo0tVy.cjs +0 -1
- package/dist/swimlanesDiagram-VR7AAH4N-DKxpX9Hj.js +0 -31
- package/dist/swimlanesDiagram-VR7AAH4N-DcDLe-u-.cjs +0 -8
- package/dist/timeline-definition-24CTP7MA-CA62jwSB.cjs +0 -120
- package/dist/treeView-Q6P3EWNA-CkgGYPwy.js +0 -3
- package/dist/treeView-Q6P3EWNA-zIJfTe51.cjs +0 -1
- package/dist/treemap-WGGIJYW6-CooEnQQp.cjs +0 -1
- package/dist/treemap-WGGIJYW6-D4tTzsvR.js +0 -3
- package/dist/v4-Dyp-SQ1c.cjs +0 -1
- package/dist/vennDiagram-4TSXK5OY-YKU1Lb_h.cjs +0 -34
- package/dist/wardley-WFR3VGLG-Cp2KFpcw.cjs +0 -1
- package/dist/wardley-WFR3VGLG-D1o3hFSK.js +0 -3
- package/dist/wardleyDiagram-VM6X3IG4-BvyabMK8.cjs +0 -78
- package/dist/xychartDiagram-S5SC5T6Z-BtNTzcXw.cjs +0 -7
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { m as e, p as t } from "./src-
|
|
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-
|
|
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-waeanndy.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-
|
|
7
|
-
import { n as re, t as v } from "./chunk-LNGE3PJU-
|
|
8
|
-
import { r as y, t as b } from "./chunk-TLUHSLCS-
|
|
4
|
+
import { t as ee } from "./channel-CuEby436.js";
|
|
5
|
+
import { c as _, g as te } from "./chunk-75Z2AOVW-Drsj7a97.js";
|
|
6
|
+
import { i as ne } from "./chunk-4HAMMTFA-CZgIgrp_.js";
|
|
7
|
+
import { n as re, t as v } from "./chunk-LNGE3PJU-CtYcu9x8.js";
|
|
8
|
+
import { r as y, t as b } from "./chunk-TLUHSLCS-BdsLNXjt.js";
|
|
9
9
|
import { t as x } from "./chunk-5VM5RSS4-Cr17nBXp.js";
|
|
10
|
-
import { t as S } from "./chunk-F27PBJKO-
|
|
11
|
-
import { t as C } from "./chunk-XXDRQBXY-
|
|
12
|
-
import { t as w } from "./chunk-POPQ4Y6H-
|
|
10
|
+
import { t as S } from "./chunk-F27PBJKO-jIrOJO87.js";
|
|
11
|
+
import { t as C } from "./chunk-XXDRQBXY-C1ZEFXGu.js";
|
|
12
|
+
import { t as w } from "./chunk-POPQ4Y6H-CU9oz17Z.js";
|
|
13
13
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-SHT3W25Y.mjs
|
|
14
14
|
var T = "flowchart-", E = class {
|
|
15
15
|
constructor() {
|
|
@@ -93,10 +93,10 @@ var T = "flowchart-", E = class {
|
|
|
93
93
|
if (o !== void 0 && (a.text = this.sanitizeText(o.text.trim()), a.text.startsWith("\"") && a.text.endsWith("\"") && (a.text = a.text.substring(1, a.text.length - 1)), a.labelType = this.sanitizeNodeLabelType(o.type)), r !== void 0 && (a.type = r.type, a.stroke = r.stroke, a.length = r.length > 10 ? 10 : r.length), i && !this.edges.some((e) => e.id === i)) a.id = i, a.isUserDefinedId = !0;
|
|
94
94
|
else {
|
|
95
95
|
let e = this.edges.filter((e) => e.start === a.start && e.end === a.end);
|
|
96
|
-
e.length === 0 ?
|
|
96
|
+
a.id = e.length === 0 ? _(a.start, a.end, {
|
|
97
97
|
counter: 0,
|
|
98
98
|
prefix: "L"
|
|
99
|
-
}) :
|
|
99
|
+
}) : _(a.start, a.end, {
|
|
100
100
|
counter: e.length + 1,
|
|
101
101
|
prefix: "L"
|
|
102
102
|
});
|
|
@@ -248,7 +248,7 @@ You have to call mermaid.initialize.`);
|
|
|
248
248
|
return {
|
|
249
249
|
nodeList: e.filter(function(e) {
|
|
250
250
|
let i = typeof e;
|
|
251
|
-
return e.stmt && e.stmt === "dir" ? (r = e.value, !1) : e.trim() === "" ? !1 : i in t ? t[i].hasOwnProperty(e) ? !1 : t[i][e] = !0 : n.includes(e)
|
|
251
|
+
return e.stmt && e.stmt === "dir" ? (r = e.value, !1) : e.trim() === "" ? !1 : i in t ? t[i].hasOwnProperty(e) ? !1 : t[i][e] = !0 : !n.includes(e) && n.push(e);
|
|
252
252
|
}),
|
|
253
253
|
dir: r
|
|
254
254
|
};
|
|
@@ -318,9 +318,7 @@ You have to call mermaid.initialize.`);
|
|
|
318
318
|
case "x":
|
|
319
319
|
n = "arrow_cross", t = t.slice(1);
|
|
320
320
|
break;
|
|
321
|
-
case "o":
|
|
322
|
-
n = "arrow_circle", t = t.slice(1);
|
|
323
|
-
break;
|
|
321
|
+
case "o": n = "arrow_circle", t = t.slice(1);
|
|
324
322
|
}
|
|
325
323
|
let r = "normal";
|
|
326
324
|
return t.includes("=") && (r = "thick"), t.includes(".") && (r = "dotted"), {
|
|
@@ -342,9 +340,7 @@ You have to call mermaid.initialize.`);
|
|
|
342
340
|
case ">":
|
|
343
341
|
r = "arrow_point", t.startsWith("<") && (r = "double_" + r, n = n.slice(1));
|
|
344
342
|
break;
|
|
345
|
-
case "o":
|
|
346
|
-
r = "arrow_circle", t.startsWith("o") && (r = "double_" + r, n = n.slice(1));
|
|
347
|
-
break;
|
|
343
|
+
case "o": r = "arrow_circle", t.startsWith("o") && (r = "double_" + r, n = n.slice(1));
|
|
348
344
|
}
|
|
349
345
|
let i = "normal", a = n.length - 1;
|
|
350
346
|
n.startsWith("=") && (i = "thick"), n.startsWith("~") && (i = "invisible");
|
|
@@ -408,9 +404,7 @@ You have to call mermaid.initialize.`);
|
|
|
408
404
|
break;
|
|
409
405
|
case "double_arrow_point":
|
|
410
406
|
case "double_arrow_circle":
|
|
411
|
-
case "double_arrow_cross":
|
|
412
|
-
t = e.replace("double_", ""), n = t;
|
|
413
|
-
break;
|
|
407
|
+
case "double_arrow_cross": t = e.replace("double_", ""), n = t;
|
|
414
408
|
}
|
|
415
409
|
return {
|
|
416
410
|
arrowTypeStart: t,
|
|
@@ -1657,12 +1651,10 @@ You have to call mermaid.initialize.`);
|
|
|
1657
1651
|
value: "LR"
|
|
1658
1652
|
};
|
|
1659
1653
|
break;
|
|
1660
|
-
case 189:
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
};
|
|
1665
|
-
break;
|
|
1654
|
+
case 189: this.$ = {
|
|
1655
|
+
stmt: "dir",
|
|
1656
|
+
value: "TD"
|
|
1657
|
+
};
|
|
1666
1658
|
}
|
|
1667
1659
|
}, "anonymous"),
|
|
1668
1660
|
table: [
|
|
@@ -3031,7 +3023,7 @@ You have to call mermaid.initialize.`);
|
|
|
3031
3023
|
var _ = m.yylloc;
|
|
3032
3024
|
a.push(_);
|
|
3033
3025
|
var te = m.options && m.options.ranges;
|
|
3034
|
-
typeof h.yy.parseError == "function" ?
|
|
3026
|
+
this.parseError = typeof h.yy.parseError == "function" ? h.yy.parseError : Object.getPrototypeOf(this).parseError;
|
|
3035
3027
|
function ne(e) {
|
|
3036
3028
|
n.length -= 2 * e, i.length -= e, a.length -= e;
|
|
3037
3029
|
}
|
|
@@ -3184,10 +3176,12 @@ You have to call mermaid.initialize.`);
|
|
|
3184
3176
|
if (this._backtrack) {
|
|
3185
3177
|
t = !1;
|
|
3186
3178
|
continue;
|
|
3187
|
-
}
|
|
3188
|
-
|
|
3179
|
+
}
|
|
3180
|
+
return !1;
|
|
3181
|
+
}
|
|
3182
|
+
if (!this.options.flex) break;
|
|
3189
3183
|
}
|
|
3190
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
3184
|
+
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
3191
3185
|
text: "",
|
|
3192
3186
|
token: null,
|
|
3193
3187
|
line: this.yylineno
|
|
@@ -4017,8 +4011,8 @@ ae.parse = (e) => {
|
|
|
4017
4011
|
return ie.parse(t);
|
|
4018
4012
|
};
|
|
4019
4013
|
var oe = ae, k = /* @__PURE__ */ g((e, t) => {
|
|
4020
|
-
let n = ee;
|
|
4021
|
-
return u(
|
|
4014
|
+
let n = ee, r = n(e, "r"), i = n(e, "g"), a = n(e, "b");
|
|
4015
|
+
return u(r, i, a, t);
|
|
4022
4016
|
}, "fade"), A = /* @__PURE__ */ g((e) => `.label {
|
|
4023
4017
|
font-family: ${e.fontFamily};
|
|
4024
4018
|
color: ${e.nodeTextColor || e.textColor};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as e } from "./src-
|
|
2
|
-
import { D as t, a as n, b as r, c as i, x as a, z as o } from "./chunk-DU6HZSFF-
|
|
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-waeanndy.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-CLGio9rD.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
|
-
import { m as e, p as t } from "./src-
|
|
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-
|
|
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-waeanndy.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-Drsj7a97.js";
|
|
5
|
+
import { r as _, t as v } from "./chunk-TLUHSLCS-BdsLNXjt.js";
|
|
6
6
|
import { t as y } from "./chunk-5VM5RSS4-Cr17nBXp.js";
|
|
7
|
-
import { t as b } from "./chunk-F27PBJKO-
|
|
8
|
-
import { t as x } from "./chunk-XXDRQBXY-
|
|
9
|
-
import { t as S } from "./chunk-POPQ4Y6H-
|
|
7
|
+
import { t as b } from "./chunk-F27PBJKO-jIrOJO87.js";
|
|
8
|
+
import { t as x } from "./chunk-XXDRQBXY-C1ZEFXGu.js";
|
|
9
|
+
import { t as S } from "./chunk-POPQ4Y6H-CU9oz17Z.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) {
|
|
@@ -730,9 +730,7 @@ var C = (function() {
|
|
|
730
730
|
case 108:
|
|
731
731
|
a[s - 2].push(a[s]), this.$ = a[s - 2];
|
|
732
732
|
break;
|
|
733
|
-
case 110:
|
|
734
|
-
this.$ = a[s - 1] + a[s];
|
|
735
|
-
break;
|
|
733
|
+
case 110: this.$ = a[s - 1] + a[s];
|
|
736
734
|
}
|
|
737
735
|
}, "anonymous"),
|
|
738
736
|
table: [
|
|
@@ -1471,7 +1469,7 @@ var C = (function() {
|
|
|
1471
1469
|
var v = h.yylloc;
|
|
1472
1470
|
a.push(v);
|
|
1473
1471
|
var y = h.options && h.options.ranges;
|
|
1474
|
-
typeof g.yy.parseError == "function" ?
|
|
1472
|
+
this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
|
|
1475
1473
|
function b(e) {
|
|
1476
1474
|
n.length -= 2 * e, i.length -= e, a.length -= e;
|
|
1477
1475
|
}
|
|
@@ -1624,10 +1622,12 @@ var C = (function() {
|
|
|
1624
1622
|
if (this._backtrack) {
|
|
1625
1623
|
t = !1;
|
|
1626
1624
|
continue;
|
|
1627
|
-
}
|
|
1628
|
-
|
|
1625
|
+
}
|
|
1626
|
+
return !1;
|
|
1627
|
+
}
|
|
1628
|
+
if (!this.options.flex) break;
|
|
1629
1629
|
}
|
|
1630
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
1630
|
+
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
1631
1631
|
text: "",
|
|
1632
1632
|
token: null,
|
|
1633
1633
|
line: this.yylineno
|
|
@@ -2878,7 +2878,7 @@ var w = C, T = [
|
|
|
2878
2878
|
let i = e;
|
|
2879
2879
|
/\d/.exec(e[0]) && (i = D + i), i = this.splitClassNameAndType(i).className;
|
|
2880
2880
|
let a = this.classes.get(i);
|
|
2881
|
-
a && (a.link = g.formatUrl(t, r), r.securityLevel === "sandbox" ?
|
|
2881
|
+
a && (a.link = g.formatUrl(t, r), a.linkTarget = r.securityLevel === "sandbox" ? "_top" : typeof n == "string" ? k(n) : "_blank");
|
|
2882
2882
|
}), this.setCssClass(e, "clickable");
|
|
2883
2883
|
}
|
|
2884
2884
|
setClickEvent(e, t, n) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { m as e } from "./src-
|
|
2
|
-
import { b as t, s as n } from "./chunk-DU6HZSFF-
|
|
1
|
+
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
+
import { b as t, s as n } from "./chunk-DU6HZSFF-waeanndy.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-Drsj7a97.js";
|
|
5
|
+
import { a } from "./chunk-4HAMMTFA-CZgIgrp_.js";
|
|
6
|
+
import { r as o } from "./chunk-GVQU2GXP-DP3t_9Rl.js";
|
|
7
|
+
import { n as s } from "./chunk-L3NEJ4N5-qPot4t6M.js";
|
|
8
|
+
import { a as c, c as l, i as u, s as d } from "./chunk-OSK3NFVY-CQhPF3Mc.js";
|
|
9
9
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-TLUHSLCS.mjs
|
|
10
10
|
var f = {
|
|
11
11
|
common: n,
|
|
@@ -26,15 +26,15 @@ 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-Bg7xf6xn.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-CJcMmxXf.js"), "loader")
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
name: "cose-bilkent",
|
|
37
|
-
loader: /* @__PURE__ */ r(async () => await import("./cose-bilkent-JH36ORCC-
|
|
37
|
+
loader: /* @__PURE__ */ r(async () => await import("./cose-bilkent-JH36ORCC-Qs_Z6zBZ.js"), "loader")
|
|
38
38
|
}
|
|
39
39
|
]);
|
|
40
40
|
}, "registerDefaultLayoutLoaders"))();
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "./src-DQoflmwT.js";
|
|
2
|
+
import "./chunk-DU6HZSFF-waeanndy.js";
|
|
3
|
+
import { n as e } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
+
import "./chunk-75Z2AOVW-Drsj7a97.js";
|
|
5
|
+
import "./chunk-P2QGCYS3-BUeNZ170.js";
|
|
6
|
+
import "./chunk-PWAF6VOD-D37VoZ8H.js";
|
|
7
|
+
import "./chunk-GMAD6QVW-D80II4AD.js";
|
|
8
|
+
import "./chunk-4HAMMTFA-CZgIgrp_.js";
|
|
9
|
+
import "./chunk-GVQU2GXP-DP3t_9Rl.js";
|
|
10
|
+
import "./chunk-L3NEJ4N5-qPot4t6M.js";
|
|
11
|
+
import "./chunk-OSK3NFVY-CQhPF3Mc.js";
|
|
12
|
+
import "./chunk-TLUHSLCS-BdsLNXjt.js";
|
|
13
|
+
import "./chunk-F27PBJKO-jIrOJO87.js";
|
|
14
|
+
import "./chunk-XXDRQBXY-C1ZEFXGu.js";
|
|
15
|
+
import "./chunk-POPQ4Y6H-CU9oz17Z.js";
|
|
16
|
+
import { i as t, n, r, t as i } from "./chunk-TICWLB2K-Cw2iT_VD.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-waeanndy.js";
|
|
3
|
+
import { n as e } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
+
import "./chunk-75Z2AOVW-Drsj7a97.js";
|
|
5
|
+
import "./chunk-P2QGCYS3-BUeNZ170.js";
|
|
6
|
+
import "./chunk-PWAF6VOD-D37VoZ8H.js";
|
|
7
|
+
import "./chunk-GMAD6QVW-D80II4AD.js";
|
|
8
|
+
import "./chunk-4HAMMTFA-CZgIgrp_.js";
|
|
9
|
+
import "./chunk-GVQU2GXP-DP3t_9Rl.js";
|
|
10
|
+
import "./chunk-L3NEJ4N5-qPot4t6M.js";
|
|
11
|
+
import "./chunk-OSK3NFVY-CQhPF3Mc.js";
|
|
12
|
+
import "./chunk-TLUHSLCS-BdsLNXjt.js";
|
|
13
|
+
import "./chunk-F27PBJKO-jIrOJO87.js";
|
|
14
|
+
import "./chunk-XXDRQBXY-C1ZEFXGu.js";
|
|
15
|
+
import "./chunk-POPQ4Y6H-CU9oz17Z.js";
|
|
16
|
+
import { i as t, n, r, t as i } from "./chunk-TICWLB2K-Cw2iT_VD.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.d.ts","sourceRoot":"","sources":["../../../src/components/app-bar/app-bar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAe,MAAM,iBAAiB,CAAA;AAO1D,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"app-bar.d.ts","sourceRoot":"","sources":["../../../src/components/app-bar/app-bar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAe,MAAM,iBAAiB,CAAA;AAO1D,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAgExC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumbs.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumbs/breadcrumbs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0D,MAAM,OAAO,CAAA;AAE9E,OAAO,EAAE,gBAAgB,EAAoB,MAAM,qBAAqB,CAAA;AAUxE,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"breadcrumbs.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumbs/breadcrumbs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0D,MAAM,OAAO,CAAA;AAE9E,OAAO,EAAE,gBAAgB,EAAoB,MAAM,qBAAqB,CAAA;AAUxE,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAwOlD,CAAA"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { DataRow, DataTable } from '../../types/data-structures';
|
|
2
|
+
import { BooleanValue } from '../../types/legacy';
|
|
3
|
+
/** Calendar view mode. */
|
|
4
|
+
export type CalendarView = "month" | "week" | "day";
|
|
5
|
+
/**
|
|
6
|
+
* A single cell in the month/week/day grid.
|
|
7
|
+
*/
|
|
8
|
+
export type DayCell = {
|
|
9
|
+
date: Date;
|
|
10
|
+
day: number;
|
|
11
|
+
isCurrentMonth: boolean;
|
|
12
|
+
isToday: boolean;
|
|
13
|
+
isWeekend: boolean;
|
|
14
|
+
dateKey: string;
|
|
15
|
+
};
|
|
16
|
+
/** Range of hours for a timed event, in minutes from midnight. */
|
|
17
|
+
export type TimeRange = {
|
|
18
|
+
/** Start time in minutes from midnight (0–1439), or null for all-day. */
|
|
19
|
+
startMin: number | null;
|
|
20
|
+
/** End time in minutes from midnight (0–1439), or null for all-day. */
|
|
21
|
+
endMin: number | null;
|
|
22
|
+
};
|
|
23
|
+
/** A timed event ready for time-grid rendering. */
|
|
24
|
+
export type TimedEvent = {
|
|
25
|
+
row: DataRow;
|
|
26
|
+
dateKey: string;
|
|
27
|
+
label: string;
|
|
28
|
+
icon?: string;
|
|
29
|
+
img?: string;
|
|
30
|
+
/** Time range (null = all-day event). */
|
|
31
|
+
time: TimeRange | null;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Options for the {@link Calendar} component.
|
|
35
|
+
*
|
|
36
|
+
* Mirrors the backend `CalOptions` contract with CapitalizedCamelCase
|
|
37
|
+
* (AS400 legacy convention). Props with `Col` suffix name a column in the
|
|
38
|
+
* input `DataTable`; if omitted, the component tries to auto-detect
|
|
39
|
+
* the correct column from the data.
|
|
40
|
+
*/
|
|
41
|
+
export type CalendarOptions = {
|
|
42
|
+
/** Column key in the DataTable holding the event date. Auto-detected if omitted. */
|
|
43
|
+
DatCol?: string;
|
|
44
|
+
/** Enable or disable drag & drop of events between days. @default "No" */
|
|
45
|
+
Drag?: BooleanValue;
|
|
46
|
+
/** Column key holding the end date for multi-day events. */
|
|
47
|
+
FinCol?: string;
|
|
48
|
+
/** Column key holding an icon name to display (top-right of the event). */
|
|
49
|
+
IcoCol?: string;
|
|
50
|
+
/** Column key holding an image URL to display (top-right of the event). */
|
|
51
|
+
ImgCol?: string;
|
|
52
|
+
/** Column key holding the start date for multi-day events. */
|
|
53
|
+
IniCol?: string;
|
|
54
|
+
/** Column key holding the start time for timed events (HHmm or HH:mm format). */
|
|
55
|
+
IniTimCol?: string;
|
|
56
|
+
/** Column key holding the end time for timed events (HHmm or HH:mm format). */
|
|
57
|
+
FinTimCol?: string;
|
|
58
|
+
/** Initial date to position the calendar at (ISO `YYYY-MM-DD` or `YYYYMMDD`). */
|
|
59
|
+
InitialDate?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Maximum number of events shown per day cell before they collapse into an
|
|
62
|
+
* "expand more" toggle. Days always keep the same size; extra events are
|
|
63
|
+
* revealed by clicking the toggle.
|
|
64
|
+
* @default 3
|
|
65
|
+
*/
|
|
66
|
+
MaxEvents?: number;
|
|
67
|
+
/** Show or hide the month/week/day navigation buttons. @default "Yes" */
|
|
68
|
+
ShowNavigation?: BooleanValue;
|
|
69
|
+
/** Show or hide the view-switch buttons (month / week / day). @default "No" */
|
|
70
|
+
ShowViewSwitch?: BooleanValue;
|
|
71
|
+
/** Column key holding a style identifier for the event. */
|
|
72
|
+
StyCol?: string;
|
|
73
|
+
/** Column key holding the event description / title. Auto-detected if omitted. */
|
|
74
|
+
TitCol?: string;
|
|
75
|
+
/** Active view mode (case-insensitive: "month", "week", "day"). @default "month" */
|
|
76
|
+
ShowAs?: CalendarView | string;
|
|
77
|
+
/** Aggregation formula for the daily total, e.g. `SUM(hours)` or `COUNT`. */
|
|
78
|
+
Totals?: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Props for the {@link Calendar} component.
|
|
82
|
+
*
|
|
83
|
+
* Extends {@link CalendarOptions} with the data input and event callbacks.
|
|
84
|
+
*/
|
|
85
|
+
export type CalendarProps = CalendarOptions & {
|
|
86
|
+
/** The data table containing calendar events. */
|
|
87
|
+
data: DataTable;
|
|
88
|
+
/** Callback fired when an event is clicked. */
|
|
89
|
+
onClick?: (payload: {
|
|
90
|
+
row: DataRow;
|
|
91
|
+
date: string;
|
|
92
|
+
}) => void;
|
|
93
|
+
/** Callback fired when right-clicking an event (context menu). */
|
|
94
|
+
onContextMenu?: (event: React.MouseEvent | MouseEvent, payload: {
|
|
95
|
+
row: DataRow;
|
|
96
|
+
date: string;
|
|
97
|
+
}) => void;
|
|
98
|
+
/** Callback fired when a day cell is clicked (not on an event). */
|
|
99
|
+
onDayClick?: (payload: {
|
|
100
|
+
date: string;
|
|
101
|
+
}) => void;
|
|
102
|
+
/** Callback fired when the displayed period changes (month, week, or day navigation). */
|
|
103
|
+
onPeriodChange?: (payload: {
|
|
104
|
+
fromDate: string;
|
|
105
|
+
toDate: string;
|
|
106
|
+
}) => void;
|
|
107
|
+
/** Callback fired when an event is dragged from one day to another. */
|
|
108
|
+
onDrop?: (payload: {
|
|
109
|
+
row: DataRow;
|
|
110
|
+
fromDate: string;
|
|
111
|
+
toDate: string;
|
|
112
|
+
}) => void;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Internal cell id constants used for `smp-id` test queries.
|
|
116
|
+
*/
|
|
117
|
+
export declare enum CalendarCellId {
|
|
118
|
+
ROOT = "calendar",
|
|
119
|
+
GRID = "calendar-grid",
|
|
120
|
+
DAY = "calendar-day",
|
|
121
|
+
DAY_TITLE = "calendar-day-title",
|
|
122
|
+
EVENTS = "calendar-events",
|
|
123
|
+
EVENT = "calendar-event",
|
|
124
|
+
EVENT_ICON = "calendar-event-icon",
|
|
125
|
+
DAY_TOTAL = "calendar-day-total",
|
|
126
|
+
HEADER = "calendar-header",
|
|
127
|
+
NAV_PREV = "calendar-nav-prev",
|
|
128
|
+
NAV_NEXT = "calendar-nav-next",
|
|
129
|
+
NAV_TODAY = "calendar-nav-today",
|
|
130
|
+
MONTH_LABEL = "calendar-month-label",
|
|
131
|
+
VIEW_SWITCH = "calendar-view-switch",
|
|
132
|
+
TIME_GRID = "calendar-time-grid",
|
|
133
|
+
TIME_COLUMN = "calendar-time-column",
|
|
134
|
+
TIME_SLOT = "calendar-time-slot",
|
|
135
|
+
ALL_DAY_ROW = "calendar-all-day-row",
|
|
136
|
+
ALL_DAY_CELL = "calendar-all-day-cell",
|
|
137
|
+
TIMED_EVENT = "calendar-timed-event",
|
|
138
|
+
EVENTS_MORE = "calendar-events-more",
|
|
139
|
+
WEEKDAYS = "calendar-weekdays",
|
|
140
|
+
WEEKDAYS_TIME = "calendar-weekdays-time",
|
|
141
|
+
FIXED_ROWS = "calendar-fixed-rows"
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=calendar-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-types.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/calendar-types.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { DataColumn, DataRow, DataTable } from '../../types/data-structures';
|
|
2
|
+
import { DayCell, TimedEvent, TimeRange, CalendarOptions, CalendarView } from './calendar-types';
|
|
3
|
+
/**
|
|
4
|
+
* Resolve calendar props defaults from the data when explicit props are missing.
|
|
5
|
+
*
|
|
6
|
+
* Adapts the legacy `calendarOptionsToCalendarProps` logic to ketchup2:
|
|
7
|
+
* - DatCol: if not provided or not found in columns, auto-detect a date column
|
|
8
|
+
* using `isObjectDate` (D8/A8 obj type).
|
|
9
|
+
* - TitCol: if not provided or not found in columns, auto-detect the first
|
|
10
|
+
* column whose obj is empty or starts with "**".
|
|
11
|
+
* - FinCol/IniCol: if provided but not found in columns, clear them.
|
|
12
|
+
* - InitialDate: normalize `YYYYMMDD` to `YYYY-MM-DD`. If not provided,
|
|
13
|
+
* use the first row's DatCol value.
|
|
14
|
+
*
|
|
15
|
+
* @returns resolved column config and initial date string.
|
|
16
|
+
*/
|
|
17
|
+
export declare function resolveCalendarDefaults(props: CalendarOptions, data: DataTable): CalendarOptions & {
|
|
18
|
+
DatCol: string;
|
|
19
|
+
TitCol: string;
|
|
20
|
+
FinCol: string;
|
|
21
|
+
IniCol: string;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Compute the daily total using the given formula and column.
|
|
25
|
+
*
|
|
26
|
+
* Delegates to `computeGroupTotals` from `totals-utils.ts`.
|
|
27
|
+
*
|
|
28
|
+
* - `SUM(column)`: sum of numeric values
|
|
29
|
+
* - `COUNT`: number of rows
|
|
30
|
+
* - `AVG(column)`: average of numeric values
|
|
31
|
+
* - `MIN(column)`: minimum numeric value
|
|
32
|
+
* - `MAX(column)`: maximum numeric value
|
|
33
|
+
*
|
|
34
|
+
* @returns the computed total, or `null` if there are no rows or the formula is invalid.
|
|
35
|
+
*/
|
|
36
|
+
export declare function computeTotal(rows: DataRow[] | undefined, formula: string | undefined): number | null;
|
|
37
|
+
/** Format a Date into a `YYYY-MM-DD` key string using local time. */
|
|
38
|
+
export declare function formatDateKey(date: Date): string;
|
|
39
|
+
/**
|
|
40
|
+
* Parse a date string into a Date at local midnight.
|
|
41
|
+
* Accepts ISO `YYYY-MM-DD` and falls back to `new Date()` parsing.
|
|
42
|
+
* Returns `null` when the value is empty or cannot be parsed.
|
|
43
|
+
*/
|
|
44
|
+
export declare function parseDate(value: string | undefined | null): Date | null;
|
|
45
|
+
/**
|
|
46
|
+
* Group data rows by their date column value.
|
|
47
|
+
* Supports multi-day events when `iniCol` and `finCol` are provided:
|
|
48
|
+
* the event appears in every day from `iniCol` to `finCol` inclusive.
|
|
49
|
+
* Falls back to `datCol` when `iniCol`/`finCol` are absent.
|
|
50
|
+
*
|
|
51
|
+
* If `iniCol` or `finCol` point to a column whose obj type is I1 (time),
|
|
52
|
+
* they are treated as time columns, NOT as multi-day date columns.
|
|
53
|
+
*
|
|
54
|
+
* @returns a `Map<string, DataRow[]>` keyed by `YYYY-MM-DD`.
|
|
55
|
+
*/
|
|
56
|
+
export declare function groupRowsByDate(rows: DataRow[] | undefined, datCol: string, iniCol?: string, finCol?: string, columns?: DataColumn[]): Map<string, DataRow[]>;
|
|
57
|
+
/**
|
|
58
|
+
* Derive a display label for the given row from the TitCol column.
|
|
59
|
+
* Falls back to the first non-date cell value, or an empty string.
|
|
60
|
+
*/
|
|
61
|
+
export declare function getEventLabel(row: DataRow, datCol: string, titCol?: string): string;
|
|
62
|
+
/**
|
|
63
|
+
* Build a 6×7 day-cell matrix for the given month (month view).
|
|
64
|
+
* The grid always has 42 cells with leading/trailing days from adjacent months.
|
|
65
|
+
*
|
|
66
|
+
* @param weekStartDay 0 = Sunday (default), 1 = Monday
|
|
67
|
+
*/
|
|
68
|
+
export declare function getMonthMatrix(year: number, month: number, weekStartDay?: number): DayCell[][];
|
|
69
|
+
/**
|
|
70
|
+
* Build a 1×7 day-cell matrix for the week containing the given date.
|
|
71
|
+
*/
|
|
72
|
+
export declare function getWeekMatrix(refDate: Date, weekStartDay?: number): DayCell[][];
|
|
73
|
+
/**
|
|
74
|
+
* Build a 1×1 day-cell matrix for the given date (day view).
|
|
75
|
+
*/
|
|
76
|
+
export declare function getDayMatrix(refDate: Date): DayCell[][];
|
|
77
|
+
/**
|
|
78
|
+
* Returns the ISO date range (from-date, to-date) for the visible grid.
|
|
79
|
+
* For month view, this includes the 6×7 grid cells (including adjacent-month days).
|
|
80
|
+
*/
|
|
81
|
+
export declare function getVisibleRange(matrix: DayCell[][]): {
|
|
82
|
+
fromDate: string;
|
|
83
|
+
toDate: string;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Returns the ISO date range for the actual month being displayed
|
|
87
|
+
* (first day of month to last day of month), excluding adjacent-month days.
|
|
88
|
+
* For week/day views, falls back to getVisibleRange.
|
|
89
|
+
*/
|
|
90
|
+
export declare function getPeriodRange(matrix: DayCell[][], view: "month" | "week" | "day"): {
|
|
91
|
+
fromDate: string;
|
|
92
|
+
toDate: string;
|
|
93
|
+
};
|
|
94
|
+
/** Start hour of the time grid (0–23). */
|
|
95
|
+
export declare const TIME_GRID_START_HOUR = 0;
|
|
96
|
+
/** End hour of the time grid (exclusive, 1–24). */
|
|
97
|
+
export declare const TIME_GRID_END_HOUR = 24;
|
|
98
|
+
/** Total minutes in the time grid. */
|
|
99
|
+
export declare const TIME_GRID_TOTAL_MINUTES: number;
|
|
100
|
+
/** Height per hour in pixels (used for positioning timed events). */
|
|
101
|
+
export declare const HOUR_HEIGHT_PX = 48;
|
|
102
|
+
/**
|
|
103
|
+
* Parse a time string into minutes from midnight.
|
|
104
|
+
*
|
|
105
|
+
* Accepts:
|
|
106
|
+
* - `HH:mm` (e.g. "09:30")
|
|
107
|
+
* - `HH:mm:ss` (e.g. "09:30:00")
|
|
108
|
+
*
|
|
109
|
+
* Returns `null` when the value is empty or cannot be parsed.
|
|
110
|
+
*/
|
|
111
|
+
export declare function parseTimeToMinutes(value: string | undefined | null): number | null;
|
|
112
|
+
/**
|
|
113
|
+
* Format minutes from midnight into a display string (HH:mm).
|
|
114
|
+
*/
|
|
115
|
+
export declare function formatTimeFromMinutes(minutes: number): string;
|
|
116
|
+
/**
|
|
117
|
+
* Extract the time range from a row, using IniTimCol/FinTimCol if provided.
|
|
118
|
+
*
|
|
119
|
+
* Checks the obj type of each cell using `isObjectTime` to determine
|
|
120
|
+
* whether the value is a time (I1) or a date (D8/A8).
|
|
121
|
+
*
|
|
122
|
+
* Returns `null` if no time columns are provided or both values are missing/unparseable.
|
|
123
|
+
*/
|
|
124
|
+
export declare function getTimeRange(row: DataRow, iniTimCol?: string, finTimCol?: string): TimeRange | null;
|
|
125
|
+
/**
|
|
126
|
+
* Build a list of timed events for time-grid rendering, grouped by date.
|
|
127
|
+
*
|
|
128
|
+
* Events without time data (no time columns found via obj type check) are
|
|
129
|
+
* classified as all-day events.
|
|
130
|
+
*
|
|
131
|
+
* Uses `isObjectTime` and `isObjectDate` to determine the type of data
|
|
132
|
+
* in each column and cell, interpreting values accordingly.
|
|
133
|
+
*
|
|
134
|
+
* @returns a Map<dateKey, { allDay: TimedEvent[], timed: TimedEvent[] }>
|
|
135
|
+
*/
|
|
136
|
+
export declare function buildTimedEvents(rows: DataRow[] | undefined, datCol: string, iniCol?: string, finCol?: string, titCol?: string, icoCol?: string, imgCol?: string, columns?: DataColumn[]): Map<string, {
|
|
137
|
+
allDay: TimedEvent[];
|
|
138
|
+
timed: TimedEvent[];
|
|
139
|
+
}>;
|
|
140
|
+
/**
|
|
141
|
+
* Calculate the CSS `top` position (in pixels) for a timed event
|
|
142
|
+
* based on its start time relative to the time grid.
|
|
143
|
+
*/
|
|
144
|
+
export declare function getEventTopPx(startMin: number): number;
|
|
145
|
+
/**
|
|
146
|
+
* Calculate the CSS `height` (in pixels) for a timed event
|
|
147
|
+
* based on its time range duration. Minimum height is 1.5rem.
|
|
148
|
+
*/
|
|
149
|
+
export declare function getEventHeightPx(startMin: number, endMin: number): number;
|
|
150
|
+
/**
|
|
151
|
+
* Generate hour labels for the time grid.
|
|
152
|
+
* Returns an array of { label: string, minutes: number } for each hour slot.
|
|
153
|
+
*/
|
|
154
|
+
export declare function getHourSlots(): {
|
|
155
|
+
label: string;
|
|
156
|
+
minutes: number;
|
|
157
|
+
}[];
|
|
158
|
+
/** Labels for the view-switch buttons. */
|
|
159
|
+
export declare const VIEW_LABELS: Record<CalendarView, string>;
|
|
160
|
+
/** Normalize a ShowAs value to a valid CalendarView, case-insensitive. */
|
|
161
|
+
export declare function normalizeView(value: string | undefined): CalendarView;
|
|
162
|
+
//# sourceMappingURL=calendar-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-utils.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/calendar-utils.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-utils.test.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/calendar-utils.test.ts"],"names":[],"mappings":""}
|