@sme.up/ketchup2 2.6.0 → 2.7.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/{arc-yUAZoqJP.js → arc-CVbkjF8U.js} +1 -1
- package/dist/{arc-CYi2lpSd.cjs → arc-w3BipdfE.cjs} +1 -1
- package/dist/{architectureDiagram-3BPJPVTR-CMX2LiQK.js → architectureDiagram-3BPJPVTR-B6VZAtZU.js} +87 -88
- package/dist/architectureDiagram-3BPJPVTR-DlnXl9d5.cjs +36 -0
- package/dist/basic-components/autocomplete/autocomplete-types.d.ts +2 -1
- package/dist/basic-components/autocomplete/autocomplete-types.d.ts.map +1 -1
- package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/basic-components/button/button-utils.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
- package/dist/{blockDiagram-GPEHLZMM-fcAaH_Ka.js → blockDiagram-GPEHLZMM-BohmRoCC.js} +9 -9
- package/dist/{blockDiagram-GPEHLZMM-C7mogpj_.cjs → blockDiagram-GPEHLZMM-rfyR2Ffl.cjs} +1 -1
- package/dist/{c4Diagram-AAUBKEIU-BUOgTWLR.js → c4Diagram-AAUBKEIU-CdT8VCbo.js} +5 -5
- package/dist/{c4Diagram-AAUBKEIU-BjsHAdap.cjs → c4Diagram-AAUBKEIU-Du1vqJYZ.cjs} +1 -1
- package/dist/{channel-CAhFwf6U.js → channel-C-LAmObA.js} +1 -1
- package/dist/channel-DJpMBAs-.cjs +1 -0
- package/dist/{chunk-2J33WTMH-BulZYTKs.js → chunk-2J33WTMH-BMqA-riF.js} +2 -2
- package/dist/{chunk-2J33WTMH-DIfvCbWZ.cjs → chunk-2J33WTMH-BQs9SXq8.cjs} +1 -1
- package/dist/{chunk-3OPIFGDE-Ohf7vgmX.cjs → chunk-3OPIFGDE-Bk_ByTBh.cjs} +1 -1
- package/dist/{chunk-3OPIFGDE-BYuWDDGY.js → chunk-3OPIFGDE-Bs2mXISw.js} +6 -6
- package/dist/{chunk-4BX2VUAB-DdliHvKq.cjs → chunk-4BX2VUAB-C8VW0QW0.cjs} +1 -1
- package/dist/{chunk-4BX2VUAB-B74FMcxr.js → chunk-4BX2VUAB-zglw1T4d.js} +1 -1
- package/dist/{chunk-55IACEB6-DzCdT-ru.cjs → chunk-55IACEB6-CNxnI3nm.cjs} +1 -1
- package/dist/{chunk-55IACEB6-D5PlvtBC.js → chunk-55IACEB6-CmKDx-YO.js} +1 -1
- package/dist/{chunk-5ZQYHXKU-BvO58_5C.js → chunk-5ZQYHXKU-B_nOC8-n.js} +3 -3
- package/dist/{chunk-5ZQYHXKU-35HHGVyc.cjs → chunk-5ZQYHXKU-DMrStm4M.cjs} +1 -1
- package/dist/{chunk-727SXJPM-BDsxon3G.js → chunk-727SXJPM-CDeV7mmg.js} +70 -71
- package/dist/chunk-727SXJPM-Dj8nsm0O.cjs +206 -0
- package/dist/{chunk-AQP2D5EJ-CPbTYzEZ.cjs → chunk-AQP2D5EJ-CYuEYK6i.cjs} +1 -1
- package/dist/{chunk-AQP2D5EJ-Cp3ieoZF.js → chunk-AQP2D5EJ-vJ_pitKp.js} +6 -6
- package/dist/{chunk-BSJP7CBP-DtjFXF0S.cjs → chunk-BSJP7CBP-CSCICPww.cjs} +1 -1
- package/dist/{chunk-BSJP7CBP-BjkTjHJ6.js → chunk-BSJP7CBP-YsQACkyC.js} +1 -1
- package/dist/chunk-CSCIHK7Q-BAdl6GW-.cjs +124 -0
- package/dist/{chunk-CSCIHK7Q-Drr_NBLR.js → chunk-CSCIHK7Q-BEk3YcEH.js} +1328 -598
- package/dist/{chunk-FMBD7UC4-BLLpskYF.cjs → chunk-FMBD7UC4-BIKI8zae.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-Cia16Ryi.js → chunk-FMBD7UC4-BURT0llY.js} +1 -1
- package/dist/{chunk-KSCS5N6A-pd39ksIM.js → chunk-KSCS5N6A-BemQomLE.js} +9 -9
- package/dist/{chunk-KSCS5N6A-DSWnBtbV.cjs → chunk-KSCS5N6A-DsN7gJEf.cjs} +1 -1
- package/dist/{chunk-L5ZTLDWV-DXk-PQPS.js → chunk-L5ZTLDWV-BQCNoMVG.js} +3 -3
- package/dist/{chunk-L5ZTLDWV-sRcGREMv.cjs → chunk-L5ZTLDWV-BbLRyKcx.cjs} +1 -1
- package/dist/{chunk-LZXEDZCA-oQMllZja.js → chunk-LZXEDZCA-J9irjuVP.js} +7 -7
- package/dist/{chunk-LZXEDZCA-4kbGESh2.cjs → chunk-LZXEDZCA-rjLYyX5U.cjs} +1 -1
- package/dist/{chunk-ND2GUHAM-See9KDdJ.cjs → chunk-ND2GUHAM-1o9Sjy2_.cjs} +1 -1
- package/dist/{chunk-ND2GUHAM-CKQ1Jk8O.js → chunk-ND2GUHAM-Ca12h-m9.js} +3 -3
- package/dist/{chunk-NZK2D7GU-CqugOMaJ.js → chunk-NZK2D7GU-CPxdSJTy.js} +2 -2
- package/dist/{chunk-NZK2D7GU-FNVK0iHI.cjs → chunk-NZK2D7GU-CRneGIrP.cjs} +1 -1
- package/dist/{chunk-O5CBEL6O-BU_i0jbb.cjs → chunk-O5CBEL6O-Cd4Z5Dy9.cjs} +1 -1
- package/dist/{chunk-O5CBEL6O-BIU6TcWp.js → chunk-O5CBEL6O-DbWeP4Au.js} +3 -3
- package/dist/{chunk-QZHKN3VN-DPdobKra.cjs → chunk-QZHKN3VN-ZJ4hLUIw.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-cS9OamWo.js → chunk-QZHKN3VN-lYfzaOt9.js} +1 -1
- package/dist/{chunk-WU5MYG2G-BL6T82Hi.js → chunk-WU5MYG2G-DuCEb9G-.js} +2 -2
- package/dist/{chunk-WU5MYG2G-qi7ZaL3o.cjs → chunk-WU5MYG2G-ExiaHFbF.cjs} +1 -1
- package/dist/{chunk-XPW4576I-Dsm0jctf.cjs → chunk-XPW4576I-BybfDrup.cjs} +1 -1
- package/dist/{chunk-XPW4576I-B9aC8EBY.js → chunk-XPW4576I-D3DQ47oC.js} +1 -1
- package/dist/classDiagram-4FO5ZUOK-CRX1QumH.js +29 -0
- package/dist/classDiagram-4FO5ZUOK-yTAlLFG2.cjs +1 -0
- package/dist/classDiagram-v2-Q7XG4LA2-oM01mYfB.js +29 -0
- package/dist/classDiagram-v2-Q7XG4LA2-yTAlLFG2.cjs +1 -0
- package/dist/components/box-list/box-list.d.ts.map +1 -1
- package/dist/components/data-table/columns/useColumnWidths.d.ts +6 -1
- package/dist/components/data-table/columns/useColumnWidths.d.ts.map +1 -1
- package/dist/components/data-table/data-table-types.d.ts +56 -3
- 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/header/Header.d.ts.map +1 -1
- package/dist/components/data-table/header/header-types.d.ts +7 -3
- package/dist/components/data-table/header/header-types.d.ts.map +1 -1
- package/dist/components/data-table/sorting/parseDftSort.d.ts +14 -0
- package/dist/components/data-table/sorting/parseDftSort.d.ts.map +1 -0
- package/dist/components/data-table/sorting/parseDftSort.test.d.ts +2 -0
- package/dist/components/data-table/sorting/parseDftSort.test.d.ts.map +1 -0
- package/dist/components/data-table/sorting/sortTable-utils.d.ts +8 -9
- package/dist/components/data-table/sorting/sortTable-utils.d.ts.map +1 -1
- package/dist/components/data-table/sorting/useSortableTable.d.ts +3 -5
- package/dist/components/data-table/sorting/useSortableTable.d.ts.map +1 -1
- package/dist/components/data-table/state/datatable-state.d.ts +1 -0
- package/dist/components/data-table/state/datatable-state.d.ts.map +1 -1
- package/dist/components/workflow-designer/workflow-designer-types.d.ts +76 -0
- package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -0
- package/dist/components/workflow-designer/workflow-designer-utils.d.ts +7 -0
- package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -0
- package/dist/components/workflow-designer/workflow-designer.d.ts +14 -0
- package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -0
- package/dist/{cose-bilkent-S5V4N54A-DZmA7Nat.js → cose-bilkent-S5V4N54A-BhA3VnPW.js} +25 -26
- package/dist/cose-bilkent-S5V4N54A-D7fhWOP4.cjs +1 -0
- package/dist/{dagre-BM42HDAG-DwRqEen8.js → dagre-BM42HDAG-DfpR5Mml.js} +9 -9
- package/dist/{dagre-BM42HDAG-E2Jw6uLH.cjs → dagre-BM42HDAG-kORxgFz_.cjs} +1 -1
- package/dist/{diagram-2AECGRRQ-BITzWXbn.js → diagram-2AECGRRQ-23vM90dy.js} +5 -5
- package/dist/{diagram-2AECGRRQ-BkwGTiAT.cjs → diagram-2AECGRRQ-B0IEGKjr.cjs} +1 -1
- package/dist/{diagram-5GNKFQAL-bsRwDc-2.js → diagram-5GNKFQAL-BEY9x4us.js} +6 -6
- package/dist/{diagram-5GNKFQAL-CvMOQgoH.cjs → diagram-5GNKFQAL-vb6e35PR.cjs} +1 -1
- package/dist/{diagram-KO2AKTUF-DKGDs9Ax.cjs → diagram-KO2AKTUF-9V_zu-2x.cjs} +1 -1
- package/dist/{diagram-KO2AKTUF-DwTH3Hoo.js → diagram-KO2AKTUF-BEnEQF6b.js} +4 -4
- package/dist/{diagram-LMA3HP47-BojSLu6w.cjs → diagram-LMA3HP47-BN_geiB9.cjs} +1 -1
- package/dist/{diagram-LMA3HP47-nYPIM4Uq.js → diagram-LMA3HP47-OWxAHrmz.js} +5 -5
- package/dist/{diagram-OG6HWLK6-bHqMXqif.cjs → diagram-OG6HWLK6-6OnEK9-6.cjs} +1 -1
- package/dist/{diagram-OG6HWLK6-CPzvG6Xi.js → diagram-OG6HWLK6-Cfbv6mIH.js} +7 -7
- package/dist/{dist-BEmBi80K.js → dist-Btd8EZyy.js} +1 -1
- package/dist/dist-D8RD2QWc.cjs +1 -0
- package/dist/{erDiagram-TEJ5UH35-BxeM1F9k.js → erDiagram-TEJ5UH35-6OEXIM6m.js} +13 -13
- package/dist/{erDiagram-TEJ5UH35-CqUBZsAh.cjs → erDiagram-TEJ5UH35-CzsOt0l4.cjs} +1 -1
- package/dist/flowDiagram-I6XJVG4X-DR1CMtZZ.cjs +162 -0
- package/dist/{flowDiagram-I6XJVG4X-Dx5d6cgt.js → flowDiagram-I6XJVG4X-DnsxKD0w.js} +96 -97
- package/dist/functional-components/action-list/action-list-types.d.ts +0 -7
- package/dist/functional-components/action-list/action-list-types.d.ts.map +1 -1
- package/dist/functional-components/action-list/action-list.d.ts.map +1 -1
- package/dist/functional-components/row/row-types.d.ts +8 -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-6RSMTGT7-C5t5_mjf.cjs +292 -0
- package/dist/{ganttDiagram-6RSMTGT7-CFuwKLrB.js → ganttDiagram-6RSMTGT7-CwbJqdwB.js} +188 -189
- package/dist/{gitGraphDiagram-PVQCEYII-B-VOfNjd.cjs → gitGraphDiagram-PVQCEYII-CLdgm7yJ.cjs} +1 -1
- package/dist/{gitGraphDiagram-PVQCEYII-B2CaQTP_.js → gitGraphDiagram-PVQCEYII-mL2WiT98.js} +5 -5
- package/dist/index.d.ts +3 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/{infoDiagram-5YYISTIA-CM-al6Jc.js → infoDiagram-5YYISTIA-BIM8xaiE.js} +3 -3
- package/dist/{infoDiagram-5YYISTIA-22jaR465.cjs → infoDiagram-5YYISTIA-CbnHgs-I.cjs} +1 -1
- package/dist/{ishikawaDiagram-YF4QCWOH-CSRSkgHx.cjs → ishikawaDiagram-YF4QCWOH-DAWMXD1l.cjs} +1 -1
- package/dist/{ishikawaDiagram-YF4QCWOH-CfOvUIo-.js → ishikawaDiagram-YF4QCWOH-DGOgWzve.js} +4 -4
- package/dist/{journeyDiagram-JHISSGLW-BMECXtd1.js → journeyDiagram-JHISSGLW-CHVTMdrq.js} +5 -5
- package/dist/{journeyDiagram-JHISSGLW-P42eSNEh.cjs → journeyDiagram-JHISSGLW-DfnmJPLn.cjs} +1 -1
- package/dist/{kanban-definition-UN3LZRKU-DplPe2EX.cjs → kanban-definition-UN3LZRKU-CbeoJJE7.cjs} +1 -1
- package/dist/{kanban-definition-UN3LZRKU-DCzfGTs4.js → kanban-definition-UN3LZRKU-upKA3b5x.js} +10 -10
- package/dist/ketchup2.cjs.js +403 -101
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +148550 -118553
- package/dist/{line-CLmmMPn2.cjs → line-CzwncDY3.cjs} +1 -1
- package/dist/{line-0G6sJTVA.js → line-DIhSUgmA.js} +1 -1
- package/dist/{linear-yBssgUAc.cjs → linear-1lpO_WlJ.cjs} +1 -1
- package/dist/{linear-BNWgac81.js → linear-DUAteVwl.js} +1 -1
- package/dist/locale/en/translation.json.d.ts +7 -0
- package/dist/locale/it/translation.json.d.ts +8 -1
- package/dist/{mindmap-definition-RKZ34NQL-DpX8ksst.js → mindmap-definition-RKZ34NQL-C3YkCJDi.js} +12 -12
- package/dist/{mindmap-definition-RKZ34NQL-DbK4qO1Z.cjs → mindmap-definition-RKZ34NQL-C8cZ7xN-.cjs} +1 -1
- package/dist/{pieDiagram-4H26LBE5-CCgLxjTB.js → pieDiagram-4H26LBE5-BvhguaHn.js} +7 -7
- package/dist/{pieDiagram-4H26LBE5-DAhjc9WT.cjs → pieDiagram-4H26LBE5-DpDrJBQK.cjs} +1 -1
- package/dist/{quadrantDiagram-W4KKPZXB-Bgw66PrU.js → quadrantDiagram-W4KKPZXB-C2oA-eGZ.js} +3 -3
- package/dist/{quadrantDiagram-W4KKPZXB-BBEQhVJy.cjs → quadrantDiagram-W4KKPZXB-hWSN7YfD.cjs} +1 -1
- package/dist/{requirementDiagram-4Y6WPE33-BzNEhq-x.js → requirementDiagram-4Y6WPE33-BEGryahw.js} +12 -12
- package/dist/{requirementDiagram-4Y6WPE33-L_lL0BcB.cjs → requirementDiagram-4Y6WPE33-GmjmsbiY.cjs} +1 -1
- package/dist/{sankeyDiagram-5OEKKPKP-Dy9K3F81.cjs → sankeyDiagram-5OEKKPKP-DbGAx-Bm.cjs} +1 -1
- package/dist/{sankeyDiagram-5OEKKPKP-06MsaQmt.js → sankeyDiagram-5OEKKPKP-VPzKV4zM.js} +2 -2
- package/dist/{sequenceDiagram-3UESZ5HK-QEaDF4MY.js → sequenceDiagram-3UESZ5HK-Bc30_Cm2.js} +7 -7
- package/dist/{sequenceDiagram-3UESZ5HK-C69YSjBM.cjs → sequenceDiagram-3UESZ5HK-D85rpewi.cjs} +1 -1
- package/dist/src-DEmZ9bFr.cjs +1 -0
- package/dist/{src-GDFuItmC.js → src-DjDATEq3.js} +578 -563
- package/dist/{stateDiagram-AJRCARHV-CBbDL4Ct.cjs → stateDiagram-AJRCARHV-Bg4Y3HPa.cjs} +1 -1
- package/dist/{stateDiagram-AJRCARHV-BTzCb_Q-.js → stateDiagram-AJRCARHV-wqjltbKb.js} +14 -14
- package/dist/stateDiagram-v2-BHNVJYJU-Cgrf5tQC.js +27 -0
- package/dist/stateDiagram-v2-BHNVJYJU-D_Tzn4WM.cjs +1 -0
- package/dist/{timeline-definition-PNZ67QCA-DoD4D5kw.js → timeline-definition-PNZ67QCA-1z911Ume.js} +5 -5
- package/dist/{timeline-definition-PNZ67QCA-DJ9VKw6h.cjs → timeline-definition-PNZ67QCA-Dpu3hfhP.cjs} +1 -1
- package/dist/types/data-structures.d.ts +0 -1
- package/dist/types/data-structures.d.ts.map +1 -1
- package/dist/types/global.d.ts +1 -1
- package/dist/types/global.d.ts.map +1 -1
- package/dist/types/translation.d.ts +8 -1
- package/dist/types/translation.d.ts.map +1 -1
- package/dist/{vennDiagram-CIIHVFJN-DeRVKdRG.cjs → vennDiagram-CIIHVFJN-BLBDqWTG.cjs} +1 -1
- package/dist/{vennDiagram-CIIHVFJN-Du1h-z8K.js → vennDiagram-CIIHVFJN-BiLcQ0SR.js} +4 -4
- package/dist/{wardleyDiagram-YWT4CUSO-CjOm3Xnp.js → wardleyDiagram-YWT4CUSO-Bq-BejOl.js} +5 -5
- package/dist/{wardleyDiagram-YWT4CUSO-CaaSvy6n.cjs → wardleyDiagram-YWT4CUSO-dzyAWKiV.cjs} +1 -1
- package/dist/{xychartDiagram-2RQKCTM6-D0hXWFFN.js → xychartDiagram-2RQKCTM6-B13zquXC.js} +7 -7
- package/dist/{xychartDiagram-2RQKCTM6-CWncieig.cjs → xychartDiagram-2RQKCTM6-DA3O42Dk.cjs} +1 -1
- package/package.json +3 -2
- package/dist/architectureDiagram-3BPJPVTR-C8DI7_Rn.cjs +0 -36
- package/dist/assets/shapeListAssets.d.ts +0 -22
- package/dist/assets/shapeListAssets.d.ts.map +0 -1
- package/dist/basic-components/card/card-slot-resolver.d.ts +0 -6
- package/dist/basic-components/card/card-slot-resolver.d.ts.map +0 -1
- package/dist/basic-components/card/card-types.d.ts +0 -43
- package/dist/basic-components/card/card-types.d.ts.map +0 -1
- package/dist/basic-components/card/card.d.ts +0 -5
- package/dist/basic-components/card/card.d.ts.map +0 -1
- package/dist/basic-components/card/flow/aside/index.d.ts +0 -2
- package/dist/basic-components/card/flow/aside/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/compact/index.d.ts +0 -2
- package/dist/basic-components/card/flow/compact/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/editorial/index.d.ts +0 -2
- package/dist/basic-components/card/flow/editorial/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/minimal/index.d.ts +0 -2
- package/dist/basic-components/card/flow/minimal/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/overlay/index.d.ts +0 -2
- package/dist/basic-components/card/flow/overlay/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/shared/flow-layout.d.ts +0 -4
- package/dist/basic-components/card/flow/shared/flow-layout.d.ts.map +0 -1
- package/dist/basic-components/card/flow/split/index.d.ts +0 -2
- package/dist/basic-components/card/flow/split/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/spotlight/index.d.ts +0 -2
- package/dist/basic-components/card/flow/spotlight/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/tiles/index.d.ts +0 -2
- package/dist/basic-components/card/flow/tiles/index.d.ts.map +0 -1
- package/dist/basic-components/card/layout-registry.d.ts +0 -4
- package/dist/basic-components/card/layout-registry.d.ts.map +0 -1
- package/dist/basic-components/card/positional/collaborator/index.d.ts +0 -4
- package/dist/basic-components/card/positional/collaborator/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/detailed-object/index.d.ts +0 -5
- package/dist/basic-components/card/positional/detailed-object/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/financial/index.d.ts +0 -4
- package/dist/basic-components/card/positional/financial/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/folder-grid/index.d.ts +0 -4
- package/dist/basic-components/card/positional/folder-grid/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/hero/index.d.ts +0 -4
- package/dist/basic-components/card/positional/hero/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/product/index.d.ts +0 -4
- package/dist/basic-components/card/positional/product/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/shared/object-card.d.ts +0 -24
- package/dist/basic-components/card/positional/shared/object-card.d.ts.map +0 -1
- package/dist/basic-components/card/positional/shared/utils.d.ts +0 -26
- package/dist/basic-components/card/positional/shared/utils.d.ts.map +0 -1
- package/dist/basic-components/card/positional/simple-object/index.d.ts +0 -5
- package/dist/basic-components/card/positional/simple-object/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/tooltip/index.d.ts +0 -4
- package/dist/basic-components/card/positional/tooltip/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/trend/index.d.ts +0 -4
- package/dist/basic-components/card/positional/trend/index.d.ts.map +0 -1
- package/dist/cell-NyD4Bcyq.js +0 -6457
- package/dist/cell-dpOG-xr_.cjs +0 -6
- package/dist/channel-BzP1tmYc.cjs +0 -1
- package/dist/chunk-727SXJPM-BCv3AEZb.cjs +0 -206
- package/dist/chunk-CSCIHK7Q-WWTYrQLt.cjs +0 -122
- package/dist/chunk-Dqa2HsxW.js +0 -20
- package/dist/chunk-mLOUI7ql.cjs +0 -1
- package/dist/classDiagram-4FO5ZUOK-Dc-Jypl3.js +0 -29
- package/dist/classDiagram-4FO5ZUOK-Dqxk6PU-.cjs +0 -1
- package/dist/classDiagram-v2-Q7XG4LA2-DZ44tKmY.js +0 -29
- package/dist/classDiagram-v2-Q7XG4LA2-Dqxk6PU-.cjs +0 -1
- package/dist/components/shape-list/components/error-boundary.d.ts +0 -16
- package/dist/components/shape-list/components/error-boundary.d.ts.map +0 -1
- package/dist/components/shape-list/components/shape-list-drill-down.d.ts +0 -4
- package/dist/components/shape-list/components/shape-list-drill-down.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/command-panel.d.ts +0 -15
- package/dist/components/shape-list/components/toolbar/command-panel.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/command-trigger.d.ts +0 -16
- package/dist/components/shape-list/components/toolbar/command-trigger.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/filter-picker.d.ts +0 -14
- package/dist/components/shape-list/components/toolbar/filter-picker.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/json-viewer.d.ts +0 -11
- package/dist/components/shape-list/components/toolbar/json-viewer.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/navigation-picker.d.ts +0 -15
- package/dist/components/shape-list/components/toolbar/navigation-picker.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/sort-picker.d.ts +0 -14
- package/dist/components/shape-list/components/toolbar/sort-picker.d.ts.map +0 -1
- package/dist/components/shape-list/context/shape-list-context.d.ts +0 -31
- package/dist/components/shape-list/context/shape-list-context.d.ts.map +0 -1
- package/dist/components/shape-list/context/shape-list-filter-context.d.ts +0 -9
- package/dist/components/shape-list/context/shape-list-filter-context.d.ts.map +0 -1
- package/dist/components/shape-list/context/shape-list-sort-context.d.ts +0 -9
- package/dist/components/shape-list/context/shape-list-sort-context.d.ts.map +0 -1
- package/dist/components/shape-list/context/shape-list-state-context.d.ts +0 -5
- package/dist/components/shape-list/context/shape-list-state-context.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useCommandPickers.d.ts +0 -13
- package/dist/components/shape-list/hooks/useCommandPickers.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useLazyShapeData.d.ts +0 -35
- package/dist/components/shape-list/hooks/useLazyShapeData.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useLazyShapeData.test.d.ts +0 -2
- package/dist/components/shape-list/hooks/useLazyShapeData.test.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useNavigation.d.ts +0 -16
- package/dist/components/shape-list/hooks/useNavigation.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useSelection.d.ts +0 -34
- package/dist/components/shape-list/hooks/useSelection.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useStripOverflow.d.ts +0 -17
- package/dist/components/shape-list/hooks/useStripOverflow.d.ts.map +0 -1
- package/dist/components/shape-list/items/node-content.d.ts +0 -47
- package/dist/components/shape-list/items/node-content.d.ts.map +0 -1
- package/dist/components/shape-list/items/shape.d.ts +0 -20
- package/dist/components/shape-list/items/shape.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/navigation-orchestrator.d.ts +0 -13
- package/dist/components/shape-list/navigation-modes/_shared/navigation-orchestrator.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/context-menu.d.ts +0 -4
- package/dist/components/shape-list/navigation-modes/_shared/panel/context-menu.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/index.d.ts +0 -7
- package/dist/components/shape-list/navigation-modes/_shared/panel/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/item-content.d.ts +0 -11
- package/dist/components/shape-list/navigation-modes/_shared/panel/item-content.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/panel.d.ts +0 -18
- package/dist/components/shape-list/navigation-modes/_shared/panel/panel.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/rail-item.d.ts +0 -8
- package/dist/components/shape-list/navigation-modes/_shared/panel/rail-item.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/section-view.d.ts +0 -6
- package/dist/components/shape-list/navigation-modes/_shared/panel/section-view.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/shell.d.ts +0 -13
- package/dist/components/shape-list/navigation-modes/_shared/panel/shell.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/tree-item.d.ts +0 -9
- package/dist/components/shape-list/navigation-modes/_shared/panel/tree-item.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/strip/index.d.ts +0 -4
- package/dist/components/shape-list/navigation-modes/_shared/strip/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-child-popup.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-child-popup.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-item.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-item.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-overflow-button.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-overflow-button.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/catalog/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/catalog/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/catalog/shape-list-catalog.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/catalog/shape-list-catalog.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/compact/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/compact/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/compact/shape-list-compact.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/compact/shape-list-compact.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/explorer/index.d.ts +0 -4
- package/dist/components/shape-list/navigation-modes/explorer/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/explorer/shape-list-explorer.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/explorer/shape-list-explorer.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/explorer/shape-list-tree.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/explorer/shape-list-tree.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/h-strip/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/h-strip/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/h-strip/shape-list-h-strip.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/h-strip/shape-list-h-strip.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/modal/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/modal/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/modal/shape-list-modal.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/modal/shape-list-modal.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/rail/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/rail/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/rail/shape-list-rail.d.ts +0 -11
- package/dist/components/shape-list/navigation-modes/rail/shape-list-rail.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/sidebar/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/sidebar/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/sidebar/shape-list-sidebar.d.ts +0 -11
- package/dist/components/shape-list/navigation-modes/sidebar/shape-list-sidebar.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/slideshow/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/slideshow/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/slideshow/shape-list-slideshow.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/slideshow/shape-list-slideshow.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/v-strip/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/v-strip/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/v-strip/shape-list-v-strip.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/v-strip/shape-list-v-strip.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/workspace/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/workspace/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/workspace/shape-list-workspace.d.ts +0 -11
- package/dist/components/shape-list/navigation-modes/workspace/shape-list-workspace.d.ts.map +0 -1
- package/dist/components/shape-list/shape-list.d.ts +0 -5
- package/dist/components/shape-list/shape-list.d.ts.map +0 -1
- package/dist/components/shape-list/slots/renderers/brand.d.ts +0 -6
- package/dist/components/shape-list/slots/renderers/brand.d.ts.map +0 -1
- package/dist/components/shape-list/slots/renderers/cta.d.ts +0 -9
- package/dist/components/shape-list/slots/renderers/cta.d.ts.map +0 -1
- package/dist/components/shape-list/slots/renderers/icon.d.ts +0 -11
- package/dist/components/shape-list/slots/renderers/icon.d.ts.map +0 -1
- package/dist/components/shape-list/slots/renderers/section-header.d.ts +0 -7
- package/dist/components/shape-list/slots/renderers/section-header.d.ts.map +0 -1
- package/dist/components/shape-list/slots/renderers/shape-cell.d.ts +0 -9
- package/dist/components/shape-list/slots/renderers/shape-cell.d.ts.map +0 -1
- package/dist/components/shape-list/slots/slot-config.d.ts +0 -7
- package/dist/components/shape-list/slots/slot-config.d.ts.map +0 -1
- package/dist/components/shape-list/slots/slot-model.d.ts +0 -6
- package/dist/components/shape-list/slots/slot-model.d.ts.map +0 -1
- package/dist/components/shape-list/slots/slot-node.d.ts +0 -9
- package/dist/components/shape-list/slots/slot-node.d.ts.map +0 -1
- package/dist/components/shape-list/slots/slot-render-utils.d.ts +0 -11
- package/dist/components/shape-list/slots/slot-render-utils.d.ts.map +0 -1
- package/dist/components/shape-list/slots/slot-types.d.ts +0 -151
- package/dist/components/shape-list/slots/slot-types.d.ts.map +0 -1
- package/dist/components/shape-list/slots/test/slot-model.test.d.ts +0 -2
- package/dist/components/shape-list/slots/test/slot-model.test.d.ts.map +0 -1
- package/dist/components/shape-list/types/shape-list-types.d.ts +0 -181
- package/dist/components/shape-list/types/shape-list-types.d.ts.map +0 -1
- package/dist/components/shape-list/utils/column-utils.d.ts +0 -9
- package/dist/components/shape-list/utils/column-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/debug-utils.d.ts +0 -13
- package/dist/components/shape-list/utils/debug-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/filter-utils.d.ts +0 -12
- package/dist/components/shape-list/utils/filter-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/keyboard-utils.d.ts +0 -12
- package/dist/components/shape-list/utils/keyboard-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/navigation-options.d.ts +0 -30
- package/dist/components/shape-list/utils/navigation-options.d.ts.map +0 -1
- package/dist/components/shape-list/utils/node-utils.d.ts +0 -12
- package/dist/components/shape-list/utils/node-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/sort-utils.d.ts +0 -13
- package/dist/components/shape-list/utils/sort-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/typeahead-utils.d.ts +0 -28
- package/dist/components/shape-list/utils/typeahead-utils.d.ts.map +0 -1
- package/dist/cose-bilkent-S5V4N54A-BxQyjZqX.cjs +0 -1
- package/dist/dist-Dwq87x4R.cjs +0 -1
- package/dist/flowDiagram-I6XJVG4X-DsjMn89E.cjs +0 -162
- package/dist/functional-components/shape/index.d.ts +0 -9
- package/dist/functional-components/shape/index.d.ts.map +0 -1
- package/dist/functional-components/shape/shape-map.d.ts +0 -3
- package/dist/functional-components/shape/shape-map.d.ts.map +0 -1
- package/dist/functional-components/shape/shape-registry.d.ts +0 -25
- package/dist/functional-components/shape/shape-registry.d.ts.map +0 -1
- package/dist/functional-components/shape/shape-resolver.d.ts +0 -61
- package/dist/functional-components/shape/shape-resolver.d.ts.map +0 -1
- package/dist/functional-components/shape/shape-types.d.ts +0 -55
- package/dist/functional-components/shape/shape-types.d.ts.map +0 -1
- package/dist/functional-components/shape/shape.d.ts +0 -5
- package/dist/functional-components/shape/shape.d.ts.map +0 -1
- package/dist/functional-components/shape/slot-resolver.d.ts +0 -24
- package/dist/functional-components/shape/slot-resolver.d.ts.map +0 -1
- package/dist/functional-components/shape/slot-types.d.ts +0 -27
- package/dist/functional-components/shape/slot-types.d.ts.map +0 -1
- package/dist/functional-components/shape/useSlotResolver.d.ts +0 -13
- package/dist/functional-components/shape/useSlotResolver.d.ts.map +0 -1
- package/dist/ganttDiagram-6RSMTGT7-CG_knKFc.cjs +0 -292
- package/dist/jsx-runtime-DCATrIRp.js +0 -183
- package/dist/jsx-runtime-DtVwqYNW.cjs +0 -6
- package/dist/purify.es-9OKVhuci.js +0 -735
- package/dist/purify.es-hdXGOu6N.cjs +0 -3
- package/dist/src-CFBvxm_0.cjs +0 -1
- package/dist/stateDiagram-v2-BHNVJYJU-BrQR0oUL.cjs +0 -1
- package/dist/stateDiagram-v2-BHNVJYJU-C7E3JbTB.js +0 -27
- package/dist/useObjectProtocol-3BhpCUjG.cjs +0 -3
- package/dist/useObjectProtocol-DZdggHDN.js +0 -4333
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { a as C, i as w, n as T, r as E, t as D } from "./linear-BNWgac81.js";
|
|
1
|
+
import { a as e, c as t, d as n, f as r, g as i, h as a, i as o, p as s, s as c, u as l, v as u, x as d, y as f } from "./src-DjDATEq3.js";
|
|
2
|
+
import { H as p, K as m, U as h, a as g, c as _, s as v, v as y, w as b, x, y as S } from "./chunk-CSCIHK7Q-BEk3YcEH.js";
|
|
3
|
+
import { a as C, i as w, n as T, r as E, t as D } from "./linear-DUAteVwl.js";
|
|
5
4
|
import { t as O } from "./init-MwSGRDIl.js";
|
|
6
|
-
import { t as k } from "./dist-
|
|
7
|
-
import { g as ee } from "./chunk-5ZQYHXKU-
|
|
5
|
+
import { t as k } from "./dist-Btd8EZyy.js";
|
|
6
|
+
import { g as ee } from "./chunk-5ZQYHXKU-B_nOC8-n.js";
|
|
8
7
|
//#region node_modules/d3-array/src/max.js
|
|
9
8
|
function A(e, t) {
|
|
10
9
|
let n;
|
|
@@ -98,9 +97,9 @@ var ge = Math.PI / 180, _e = 180 / Math.PI, ve = 18, ye = .96422, be = 1, xe = .
|
|
|
98
97
|
function Ee(e) {
|
|
99
98
|
if (e instanceof j) return new j(e.l, e.a, e.b, e.opacity);
|
|
100
99
|
if (e instanceof M) return Pe(e);
|
|
101
|
-
e instanceof
|
|
102
|
-
var
|
|
103
|
-
return
|
|
100
|
+
e instanceof t || (e = l(e));
|
|
101
|
+
var n = je(e.r), r = je(e.g), i = je(e.b), a = Oe((.2225045 * n + .7168786 * r + .0606169 * i) / be), o, s;
|
|
102
|
+
return n === r && r === i ? o = s = a : (o = Oe((.4360747 * n + .3850649 * r + .1430804 * i) / ye), s = Oe((.0139322 * n + .0971045 * r + .7141733 * i) / xe)), new j(116 * a - 16, 500 * (o - a), 200 * (a - s), e.opacity);
|
|
104
103
|
}
|
|
105
104
|
function De(e, t, n, r) {
|
|
106
105
|
return arguments.length === 1 ? Ee(e) : new j(e, t, n, r ?? 1);
|
|
@@ -108,7 +107,7 @@ function De(e, t, n, r) {
|
|
|
108
107
|
function j(e, t, n, r) {
|
|
109
108
|
this.l = +e, this.a = +t, this.b = +n, this.opacity = +r;
|
|
110
109
|
}
|
|
111
|
-
|
|
110
|
+
n(j, De, r(c, {
|
|
112
111
|
brighter(e) {
|
|
113
112
|
return new j(this.l + ve * (e ?? 1), this.a, this.b, this.opacity);
|
|
114
113
|
},
|
|
@@ -116,8 +115,8 @@ i(j, De, a(u, {
|
|
|
116
115
|
return new j(this.l - ve * (e ?? 1), this.a, this.b, this.opacity);
|
|
117
116
|
},
|
|
118
117
|
rgb() {
|
|
119
|
-
var e = (this.l + 16) / 116,
|
|
120
|
-
return
|
|
118
|
+
var e = (this.l + 16) / 116, n = isNaN(this.a) ? e : e + this.a / 500, r = isNaN(this.b) ? e : e - this.b / 200;
|
|
119
|
+
return n = ye * ke(n), e = be * ke(e), r = xe * ke(r), new t(Ae(3.1338561 * n - 1.6168667 * e - .4906146 * r), Ae(-.9787684 * n + 1.9161415 * e + .033454 * r), Ae(.0719453 * n - .2289914 * e + 1.4052427 * r), this.opacity);
|
|
121
120
|
}
|
|
122
121
|
}));
|
|
123
122
|
function Oe(e) {
|
|
@@ -149,7 +148,7 @@ function Pe(e) {
|
|
|
149
148
|
var t = e.h * ge;
|
|
150
149
|
return new j(e.l, Math.cos(t) * e.c, Math.sin(t) * e.c, e.opacity);
|
|
151
150
|
}
|
|
152
|
-
|
|
151
|
+
n(M, Ne, r(c, {
|
|
153
152
|
brighter(e) {
|
|
154
153
|
return new M(this.h, this.c, this.l + ve * (e ?? 1), this.opacity);
|
|
155
154
|
},
|
|
@@ -162,15 +161,15 @@ i(M, Ne, a(u, {
|
|
|
162
161
|
}));
|
|
163
162
|
//#endregion
|
|
164
163
|
//#region node_modules/d3-interpolate/src/hcl.js
|
|
165
|
-
function Fe(
|
|
166
|
-
return function(
|
|
167
|
-
var i =
|
|
164
|
+
function Fe(t) {
|
|
165
|
+
return function(n, r) {
|
|
166
|
+
var i = t((n = Ne(n)).h, (r = Ne(r)).h), a = e(n.c, r.c), o = e(n.l, r.l), s = e(n.opacity, r.opacity);
|
|
168
167
|
return function(e) {
|
|
169
|
-
return
|
|
168
|
+
return n.h = i(e), n.c = a(e), n.l = o(e), n.opacity = s(e), n + "";
|
|
170
169
|
};
|
|
171
170
|
};
|
|
172
171
|
}
|
|
173
|
-
var Ie = Fe(
|
|
172
|
+
var Ie = Fe(o);
|
|
174
173
|
//#endregion
|
|
175
174
|
//#region node_modules/d3-scale/src/nice.js
|
|
176
175
|
function Le(e, t) {
|
|
@@ -1008,7 +1007,7 @@ function Bn() {
|
|
|
1008
1007
|
}
|
|
1009
1008
|
//#endregion
|
|
1010
1009
|
//#region node_modules/dayjs/plugin/isoWeek.js
|
|
1011
|
-
var Vn = /* @__PURE__ */
|
|
1010
|
+
var Vn = /* @__PURE__ */ f(((e, t) => {
|
|
1012
1011
|
(function(n, r) {
|
|
1013
1012
|
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_isoWeek = r();
|
|
1014
1013
|
})(e, (function() {
|
|
@@ -1033,7 +1032,7 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1033
1032
|
};
|
|
1034
1033
|
};
|
|
1035
1034
|
}));
|
|
1036
|
-
})), Hn = /* @__PURE__ */
|
|
1035
|
+
})), Hn = /* @__PURE__ */ f(((e, t) => {
|
|
1037
1036
|
(function(n, r) {
|
|
1038
1037
|
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_customParseFormat = r();
|
|
1039
1038
|
})(e, (function() {
|
|
@@ -1189,7 +1188,7 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1189
1188
|
};
|
|
1190
1189
|
};
|
|
1191
1190
|
}));
|
|
1192
|
-
})), Un = /* @__PURE__ */
|
|
1191
|
+
})), Un = /* @__PURE__ */ f(((e, t) => {
|
|
1193
1192
|
(function(n, r) {
|
|
1194
1193
|
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_advancedFormat = r();
|
|
1195
1194
|
})(e, (function() {
|
|
@@ -1222,7 +1221,7 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1222
1221
|
};
|
|
1223
1222
|
};
|
|
1224
1223
|
}));
|
|
1225
|
-
})), Wn = /* @__PURE__ */
|
|
1224
|
+
})), Wn = /* @__PURE__ */ f(((e, t) => {
|
|
1226
1225
|
(function(n, r) {
|
|
1227
1226
|
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_duration = r();
|
|
1228
1227
|
})(e, (function() {
|
|
@@ -1382,8 +1381,8 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1382
1381
|
};
|
|
1383
1382
|
};
|
|
1384
1383
|
}));
|
|
1385
|
-
})), Gn = k(), Y = /* @__PURE__ */
|
|
1386
|
-
var e = /* @__PURE__ */
|
|
1384
|
+
})), Gn = k(), Y = /* @__PURE__ */ d(u(), 1), Kn = /* @__PURE__ */ d(Vn(), 1), qn = /* @__PURE__ */ d(Hn(), 1), Jn = /* @__PURE__ */ d(Un(), 1), Yn = /* @__PURE__ */ d(Wn(), 1), Xn = (function() {
|
|
1385
|
+
var e = /* @__PURE__ */ a(function(e, t, n, r) {
|
|
1387
1386
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
1388
1387
|
return n;
|
|
1389
1388
|
}, "o"), t = [
|
|
@@ -1414,8 +1413,8 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1414
1413
|
36,
|
|
1415
1414
|
38,
|
|
1416
1415
|
40
|
|
1417
|
-
], n = [1, 26], r = [1, 27], i = [1, 28],
|
|
1418
|
-
trace: /* @__PURE__ */
|
|
1416
|
+
], n = [1, 26], r = [1, 27], i = [1, 28], o = [1, 29], s = [1, 30], c = [1, 31], l = [1, 32], u = [1, 33], d = [1, 34], f = [1, 9], p = [1, 10], m = [1, 11], h = [1, 12], g = [1, 13], _ = [1, 14], v = [1, 15], y = [1, 16], b = [1, 19], x = [1, 20], S = [1, 21], C = [1, 22], w = [1, 23], T = [1, 25], E = [1, 35], D = {
|
|
1417
|
+
trace: /* @__PURE__ */ a(function() {}, "trace"),
|
|
1419
1418
|
yy: {},
|
|
1420
1419
|
symbols_: {
|
|
1421
1420
|
error: 2,
|
|
@@ -1551,7 +1550,7 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1551
1550
|
[44, 4],
|
|
1552
1551
|
[44, 2]
|
|
1553
1552
|
],
|
|
1554
|
-
performAction: /* @__PURE__ */
|
|
1553
|
+
performAction: /* @__PURE__ */ a(function(e, t, n, r, i, a, o) {
|
|
1555
1554
|
var s = a.length - 1;
|
|
1556
1555
|
switch (i) {
|
|
1557
1556
|
case 1: return a[s - 1];
|
|
@@ -1689,8 +1688,8 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1689
1688
|
12: n,
|
|
1690
1689
|
13: r,
|
|
1691
1690
|
14: i,
|
|
1692
|
-
15:
|
|
1693
|
-
16:
|
|
1691
|
+
15: o,
|
|
1692
|
+
16: s,
|
|
1694
1693
|
17: c,
|
|
1695
1694
|
18: l,
|
|
1696
1695
|
19: 18,
|
|
@@ -1721,8 +1720,8 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1721
1720
|
12: n,
|
|
1722
1721
|
13: r,
|
|
1723
1722
|
14: i,
|
|
1724
|
-
15:
|
|
1725
|
-
16:
|
|
1723
|
+
15: o,
|
|
1724
|
+
16: s,
|
|
1726
1725
|
17: c,
|
|
1727
1726
|
18: l,
|
|
1728
1727
|
19: 18,
|
|
@@ -1793,34 +1792,34 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1793
1792
|
e(t, [2, 39])
|
|
1794
1793
|
],
|
|
1795
1794
|
defaultActions: {},
|
|
1796
|
-
parseError: /* @__PURE__ */
|
|
1795
|
+
parseError: /* @__PURE__ */ a(function(e, t) {
|
|
1797
1796
|
if (t.recoverable) this.trace(e);
|
|
1798
1797
|
else {
|
|
1799
1798
|
var n = Error(e);
|
|
1800
1799
|
throw n.hash = t, n;
|
|
1801
1800
|
}
|
|
1802
1801
|
}, "parseError"),
|
|
1803
|
-
parse: /* @__PURE__ */
|
|
1804
|
-
var t = this, n = [0], r = [], i = [null],
|
|
1802
|
+
parse: /* @__PURE__ */ a(function(e) {
|
|
1803
|
+
var t = this, n = [0], r = [], i = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
|
|
1805
1804
|
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
1806
1805
|
h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
1807
1806
|
var v = h.yylloc;
|
|
1808
|
-
|
|
1807
|
+
o.push(v);
|
|
1809
1808
|
var y = h.options && h.options.ranges;
|
|
1810
1809
|
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
1811
1810
|
function b(e) {
|
|
1812
|
-
n.length -= 2 * e, i.length -= e,
|
|
1811
|
+
n.length -= 2 * e, i.length -= e, o.length -= e;
|
|
1813
1812
|
}
|
|
1814
|
-
|
|
1813
|
+
a(b, "popStack");
|
|
1815
1814
|
function x() {
|
|
1816
1815
|
var e = r.pop() || h.lex() || p;
|
|
1817
1816
|
return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
|
|
1818
1817
|
}
|
|
1819
|
-
|
|
1818
|
+
a(x, "lex");
|
|
1820
1819
|
for (var S, C, w, T, E, D = {}, O, k, ee, A;;) {
|
|
1821
|
-
if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T =
|
|
1820
|
+
if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
|
|
1822
1821
|
var te = "";
|
|
1823
|
-
for (O in A = [],
|
|
1822
|
+
for (O in A = [], s[w]) this.terminals_[O] && O > f && A.push("'" + this.terminals_[O] + "'");
|
|
1824
1823
|
te = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + A.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(te, {
|
|
1825
1824
|
text: h.match,
|
|
1826
1825
|
token: this.terminals_[S] || S,
|
|
@@ -1832,24 +1831,24 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1832
1831
|
if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
|
|
1833
1832
|
switch (T[0]) {
|
|
1834
1833
|
case 1:
|
|
1835
|
-
n.push(S), i.push(h.yytext),
|
|
1834
|
+
n.push(S), i.push(h.yytext), o.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
|
|
1836
1835
|
break;
|
|
1837
1836
|
case 2:
|
|
1838
1837
|
if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
|
|
1839
|
-
first_line:
|
|
1840
|
-
last_line:
|
|
1841
|
-
first_column:
|
|
1842
|
-
last_column:
|
|
1843
|
-
}, y && (D._$.range = [
|
|
1838
|
+
first_line: o[o.length - (k || 1)].first_line,
|
|
1839
|
+
last_line: o[o.length - 1].last_line,
|
|
1840
|
+
first_column: o[o.length - (k || 1)].first_column,
|
|
1841
|
+
last_column: o[o.length - 1].last_column
|
|
1842
|
+
}, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
|
|
1844
1843
|
c,
|
|
1845
1844
|
u,
|
|
1846
1845
|
l,
|
|
1847
1846
|
g.yy,
|
|
1848
1847
|
T[1],
|
|
1849
1848
|
i,
|
|
1850
|
-
|
|
1849
|
+
o
|
|
1851
1850
|
].concat(m)), E !== void 0) return E;
|
|
1852
|
-
k && (n = n.slice(0, -1 * k * 2), i = i.slice(0, -1 * k),
|
|
1851
|
+
k && (n = n.slice(0, -1 * k * 2), i = i.slice(0, -1 * k), o = o.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), i.push(D.$), o.push(D._$), ee = s[n[n.length - 2]][n[n.length - 1]], n.push(ee);
|
|
1853
1852
|
break;
|
|
1854
1853
|
case 3: return !0;
|
|
1855
1854
|
}
|
|
@@ -1860,11 +1859,11 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1860
1859
|
D.lexer = /* @__PURE__ */ (function() {
|
|
1861
1860
|
return {
|
|
1862
1861
|
EOF: 1,
|
|
1863
|
-
parseError: /* @__PURE__ */
|
|
1862
|
+
parseError: /* @__PURE__ */ a(function(e, t) {
|
|
1864
1863
|
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
1865
1864
|
else throw Error(e);
|
|
1866
1865
|
}, "parseError"),
|
|
1867
|
-
setInput: /* @__PURE__ */
|
|
1866
|
+
setInput: /* @__PURE__ */ a(function(e, t) {
|
|
1868
1867
|
return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
1869
1868
|
first_line: 1,
|
|
1870
1869
|
first_column: 0,
|
|
@@ -1872,11 +1871,11 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1872
1871
|
last_column: 0
|
|
1873
1872
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
1874
1873
|
}, "setInput"),
|
|
1875
|
-
input: /* @__PURE__ */
|
|
1874
|
+
input: /* @__PURE__ */ a(function() {
|
|
1876
1875
|
var e = this._input[0];
|
|
1877
1876
|
return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
|
|
1878
1877
|
}, "input"),
|
|
1879
|
-
unput: /* @__PURE__ */
|
|
1878
|
+
unput: /* @__PURE__ */ a(function(e) {
|
|
1880
1879
|
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
1881
1880
|
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
1882
1881
|
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
@@ -1889,10 +1888,10 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1889
1888
|
last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
|
|
1890
1889
|
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
1891
1890
|
}, "unput"),
|
|
1892
|
-
more: /* @__PURE__ */
|
|
1891
|
+
more: /* @__PURE__ */ a(function() {
|
|
1893
1892
|
return this._more = !0, this;
|
|
1894
1893
|
}, "more"),
|
|
1895
|
-
reject: /* @__PURE__ */
|
|
1894
|
+
reject: /* @__PURE__ */ a(function() {
|
|
1896
1895
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
1897
1896
|
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
1898
1897
|
text: "",
|
|
@@ -1901,22 +1900,22 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1901
1900
|
});
|
|
1902
1901
|
return this;
|
|
1903
1902
|
}, "reject"),
|
|
1904
|
-
less: /* @__PURE__ */
|
|
1903
|
+
less: /* @__PURE__ */ a(function(e) {
|
|
1905
1904
|
this.unput(this.match.slice(e));
|
|
1906
1905
|
}, "less"),
|
|
1907
|
-
pastInput: /* @__PURE__ */
|
|
1906
|
+
pastInput: /* @__PURE__ */ a(function() {
|
|
1908
1907
|
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
1909
1908
|
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
1910
1909
|
}, "pastInput"),
|
|
1911
|
-
upcomingInput: /* @__PURE__ */
|
|
1910
|
+
upcomingInput: /* @__PURE__ */ a(function() {
|
|
1912
1911
|
var e = this.match;
|
|
1913
1912
|
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
1914
1913
|
}, "upcomingInput"),
|
|
1915
|
-
showPosition: /* @__PURE__ */
|
|
1914
|
+
showPosition: /* @__PURE__ */ a(function() {
|
|
1916
1915
|
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
1917
1916
|
return e + this.upcomingInput() + "\n" + t + "^";
|
|
1918
1917
|
}, "showPosition"),
|
|
1919
|
-
test_match: /* @__PURE__ */
|
|
1918
|
+
test_match: /* @__PURE__ */ a(function(e, t) {
|
|
1920
1919
|
var n, r, i;
|
|
1921
1920
|
if (this.options.backtrack_lexer && (i = {
|
|
1922
1921
|
yylineno: this.yylineno,
|
|
@@ -1949,7 +1948,7 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1949
1948
|
}
|
|
1950
1949
|
return !1;
|
|
1951
1950
|
}, "test_match"),
|
|
1952
|
-
next: /* @__PURE__ */
|
|
1951
|
+
next: /* @__PURE__ */ a(function() {
|
|
1953
1952
|
if (this.done) return this.EOF;
|
|
1954
1953
|
this._input || (this.done = !0);
|
|
1955
1954
|
var e, t, n, r;
|
|
@@ -1969,29 +1968,29 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
1969
1968
|
line: this.yylineno
|
|
1970
1969
|
});
|
|
1971
1970
|
}, "next"),
|
|
1972
|
-
lex: /* @__PURE__ */
|
|
1971
|
+
lex: /* @__PURE__ */ a(function() {
|
|
1973
1972
|
return this.next() || this.lex();
|
|
1974
1973
|
}, "lex"),
|
|
1975
|
-
begin: /* @__PURE__ */
|
|
1974
|
+
begin: /* @__PURE__ */ a(function(e) {
|
|
1976
1975
|
this.conditionStack.push(e);
|
|
1977
1976
|
}, "begin"),
|
|
1978
|
-
popState: /* @__PURE__ */
|
|
1977
|
+
popState: /* @__PURE__ */ a(function() {
|
|
1979
1978
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
1980
1979
|
}, "popState"),
|
|
1981
|
-
_currentRules: /* @__PURE__ */
|
|
1980
|
+
_currentRules: /* @__PURE__ */ a(function() {
|
|
1982
1981
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
1983
1982
|
}, "_currentRules"),
|
|
1984
|
-
topState: /* @__PURE__ */
|
|
1983
|
+
topState: /* @__PURE__ */ a(function(e) {
|
|
1985
1984
|
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
1986
1985
|
}, "topState"),
|
|
1987
|
-
pushState: /* @__PURE__ */
|
|
1986
|
+
pushState: /* @__PURE__ */ a(function(e) {
|
|
1988
1987
|
this.begin(e);
|
|
1989
1988
|
}, "pushState"),
|
|
1990
|
-
stateStackSize: /* @__PURE__ */
|
|
1989
|
+
stateStackSize: /* @__PURE__ */ a(function() {
|
|
1991
1990
|
return this.conditionStack.length;
|
|
1992
1991
|
}, "stateStackSize"),
|
|
1993
1992
|
options: { "case-insensitive": !0 },
|
|
1994
|
-
performAction: /* @__PURE__ */
|
|
1993
|
+
performAction: /* @__PURE__ */ a(function(e, t, n, r) {
|
|
1995
1994
|
switch (n) {
|
|
1996
1995
|
case 0: return this.begin("open_directive"), "open_directive";
|
|
1997
1996
|
case 1: return this.begin("acc_title"), 31;
|
|
@@ -2207,7 +2206,7 @@ var Vn = /* @__PURE__ */ t(((e, t) => {
|
|
|
2207
2206
|
function O() {
|
|
2208
2207
|
this.yy = {};
|
|
2209
2208
|
}
|
|
2210
|
-
return
|
|
2209
|
+
return a(O, "Parser"), O.prototype = D, D.Parser = O, new O();
|
|
2211
2210
|
})();
|
|
2212
2211
|
Xn.parser = Xn;
|
|
2213
2212
|
var Zn = Xn;
|
|
@@ -2221,66 +2220,66 @@ var Qn = {
|
|
|
2221
2220
|
"crit",
|
|
2222
2221
|
"milestone",
|
|
2223
2222
|
"vert"
|
|
2224
|
-
], ur = [], dr = "", fr = !1, pr = !1, mr = "sunday", hr = "saturday", gr = 0, _r = /* @__PURE__ */
|
|
2223
|
+
], ur = [], dr = "", fr = !1, pr = !1, mr = "sunday", hr = "saturday", gr = 0, _r = /* @__PURE__ */ a(function() {
|
|
2225
2224
|
ar = [], or = [], sr = "", ur = [], Xr = 0, ei = void 0, ti = void 0, Z = [], X = "", $n = "", cr = "", er = void 0, tr = "", nr = [], rr = [], fr = !1, pr = !1, gr = 0, ir = /* @__PURE__ */ new Map(), dr = "", g(), mr = "sunday", hr = "saturday";
|
|
2226
|
-
}, "clear"), vr = /* @__PURE__ */
|
|
2225
|
+
}, "clear"), vr = /* @__PURE__ */ a(function(e) {
|
|
2227
2226
|
dr = e;
|
|
2228
|
-
}, "setDiagramId"), yr = /* @__PURE__ */
|
|
2227
|
+
}, "setDiagramId"), yr = /* @__PURE__ */ a(function(e) {
|
|
2229
2228
|
$n = e;
|
|
2230
|
-
}, "setAxisFormat"), br = /* @__PURE__ */
|
|
2229
|
+
}, "setAxisFormat"), br = /* @__PURE__ */ a(function() {
|
|
2231
2230
|
return $n;
|
|
2232
|
-
}, "getAxisFormat"), xr = /* @__PURE__ */
|
|
2231
|
+
}, "getAxisFormat"), xr = /* @__PURE__ */ a(function(e) {
|
|
2233
2232
|
er = e;
|
|
2234
|
-
}, "setTickInterval"), Sr = /* @__PURE__ */
|
|
2233
|
+
}, "setTickInterval"), Sr = /* @__PURE__ */ a(function() {
|
|
2235
2234
|
return er;
|
|
2236
|
-
}, "getTickInterval"), Cr = /* @__PURE__ */
|
|
2235
|
+
}, "getTickInterval"), Cr = /* @__PURE__ */ a(function(e) {
|
|
2237
2236
|
tr = e;
|
|
2238
|
-
}, "setTodayMarker"), wr = /* @__PURE__ */
|
|
2237
|
+
}, "setTodayMarker"), wr = /* @__PURE__ */ a(function() {
|
|
2239
2238
|
return tr;
|
|
2240
|
-
}, "getTodayMarker"), Tr = /* @__PURE__ */
|
|
2239
|
+
}, "getTodayMarker"), Tr = /* @__PURE__ */ a(function(e) {
|
|
2241
2240
|
X = e;
|
|
2242
|
-
}, "setDateFormat"), Er = /* @__PURE__ */
|
|
2241
|
+
}, "setDateFormat"), Er = /* @__PURE__ */ a(function() {
|
|
2243
2242
|
fr = !0;
|
|
2244
|
-
}, "enableInclusiveEndDates"), Dr = /* @__PURE__ */
|
|
2243
|
+
}, "enableInclusiveEndDates"), Dr = /* @__PURE__ */ a(function() {
|
|
2245
2244
|
return fr;
|
|
2246
|
-
}, "endDatesAreInclusive"), Or = /* @__PURE__ */
|
|
2245
|
+
}, "endDatesAreInclusive"), Or = /* @__PURE__ */ a(function() {
|
|
2247
2246
|
pr = !0;
|
|
2248
|
-
}, "enableTopAxis"), kr = /* @__PURE__ */
|
|
2247
|
+
}, "enableTopAxis"), kr = /* @__PURE__ */ a(function() {
|
|
2249
2248
|
return pr;
|
|
2250
|
-
}, "topAxisEnabled"), Ar = /* @__PURE__ */
|
|
2249
|
+
}, "topAxisEnabled"), Ar = /* @__PURE__ */ a(function(e) {
|
|
2251
2250
|
cr = e;
|
|
2252
|
-
}, "setDisplayMode"), jr = /* @__PURE__ */
|
|
2251
|
+
}, "setDisplayMode"), jr = /* @__PURE__ */ a(function() {
|
|
2253
2252
|
return cr;
|
|
2254
|
-
}, "getDisplayMode"), Mr = /* @__PURE__ */
|
|
2253
|
+
}, "getDisplayMode"), Mr = /* @__PURE__ */ a(function() {
|
|
2255
2254
|
return X;
|
|
2256
|
-
}, "getDateFormat"), Nr = /* @__PURE__ */
|
|
2255
|
+
}, "getDateFormat"), Nr = /* @__PURE__ */ a(function(e) {
|
|
2257
2256
|
nr = e.toLowerCase().split(/[\s,]+/);
|
|
2258
|
-
}, "setIncludes"), Pr = /* @__PURE__ */
|
|
2257
|
+
}, "setIncludes"), Pr = /* @__PURE__ */ a(function() {
|
|
2259
2258
|
return nr;
|
|
2260
|
-
}, "getIncludes"), Fr = /* @__PURE__ */
|
|
2259
|
+
}, "getIncludes"), Fr = /* @__PURE__ */ a(function(e) {
|
|
2261
2260
|
rr = e.toLowerCase().split(/[\s,]+/);
|
|
2262
|
-
}, "setExcludes"), Ir = /* @__PURE__ */
|
|
2261
|
+
}, "setExcludes"), Ir = /* @__PURE__ */ a(function() {
|
|
2263
2262
|
return rr;
|
|
2264
|
-
}, "getExcludes"), Lr = /* @__PURE__ */
|
|
2263
|
+
}, "getExcludes"), Lr = /* @__PURE__ */ a(function() {
|
|
2265
2264
|
return ir;
|
|
2266
|
-
}, "getLinks"), Rr = /* @__PURE__ */
|
|
2265
|
+
}, "getLinks"), Rr = /* @__PURE__ */ a(function(e) {
|
|
2267
2266
|
sr = e, ar.push(e);
|
|
2268
|
-
}, "addSection"), zr = /* @__PURE__ */
|
|
2267
|
+
}, "addSection"), zr = /* @__PURE__ */ a(function() {
|
|
2269
2268
|
return ar;
|
|
2270
|
-
}, "getSections"), Br = /* @__PURE__ */
|
|
2269
|
+
}, "getSections"), Br = /* @__PURE__ */ a(function() {
|
|
2271
2270
|
let e = ai(), t = 0;
|
|
2272
2271
|
for (; !e && t < 10;) e = ai(), t++;
|
|
2273
2272
|
return or = Z, or;
|
|
2274
|
-
}, "getTasks"), Vr = /* @__PURE__ */
|
|
2273
|
+
}, "getTasks"), Vr = /* @__PURE__ */ a(function(e, t, n, r) {
|
|
2275
2274
|
let i = e.format(t.trim()), a = e.format("YYYY-MM-DD");
|
|
2276
2275
|
return r.includes(i) || r.includes(a) ? !1 : n.includes("weekends") && (e.isoWeekday() === Qn[hr] || e.isoWeekday() === Qn[hr] + 1) || n.includes(e.format("dddd").toLowerCase()) ? !0 : n.includes(i) || n.includes(a);
|
|
2277
|
-
}, "isInvalidDate"), Hr = /* @__PURE__ */
|
|
2276
|
+
}, "isInvalidDate"), Hr = /* @__PURE__ */ a(function(e) {
|
|
2278
2277
|
mr = e;
|
|
2279
|
-
}, "setWeekday"), Ur = /* @__PURE__ */
|
|
2278
|
+
}, "setWeekday"), Ur = /* @__PURE__ */ a(function() {
|
|
2280
2279
|
return mr;
|
|
2281
|
-
}, "getWeekday"), Wr = /* @__PURE__ */
|
|
2280
|
+
}, "getWeekday"), Wr = /* @__PURE__ */ a(function(e) {
|
|
2282
2281
|
hr = e;
|
|
2283
|
-
}, "setWeekend"), Gr = /* @__PURE__ */
|
|
2282
|
+
}, "setWeekend"), Gr = /* @__PURE__ */ a(function(e, t, n, r) {
|
|
2284
2283
|
if (!n.length || e.manualEndTime) return;
|
|
2285
2284
|
let i;
|
|
2286
2285
|
i = e.startTime instanceof Date ? (0, Y.default)(e.startTime) : (0, Y.default)(e.startTime, t, !0), i = i.add(1, "d");
|
|
@@ -2288,15 +2287,15 @@ var Qn = {
|
|
|
2288
2287
|
a = e.endTime instanceof Date ? (0, Y.default)(e.endTime) : (0, Y.default)(e.endTime, t, !0);
|
|
2289
2288
|
let [o, s] = Kr(i, a, t, n, r);
|
|
2290
2289
|
e.endTime = o.toDate(), e.renderEndTime = s;
|
|
2291
|
-
}, "checkTaskDates"), Kr = /* @__PURE__ */
|
|
2290
|
+
}, "checkTaskDates"), Kr = /* @__PURE__ */ a(function(e, t, n, r, i) {
|
|
2292
2291
|
let a = !1, o = null, s = t.add(1e4, "d");
|
|
2293
2292
|
for (; e <= t;) {
|
|
2294
2293
|
if (a || (o = t.toDate()), a = Vr(e, n, r, i), a && (t = t.add(1, "d"), t > s)) throw Error("Failed to find a valid date that was not excluded by `excludes` after 10,000 iterations.");
|
|
2295
2294
|
e = e.add(1, "d");
|
|
2296
2295
|
}
|
|
2297
2296
|
return [t, o];
|
|
2298
|
-
}, "fixTaskDates"), qr = /* @__PURE__ */
|
|
2299
|
-
if (n = n.trim(), (/* @__PURE__ */
|
|
2297
|
+
}, "fixTaskDates"), qr = /* @__PURE__ */ a(function(e, t, n) {
|
|
2298
|
+
if (n = n.trim(), (/* @__PURE__ */ a((e) => {
|
|
2300
2299
|
let t = e.trim();
|
|
2301
2300
|
return t === "x" || t === "X";
|
|
2302
2301
|
}, "isTimestampFormat"))(t) && /^\d+$/.test(n)) return new Date(Number(n));
|
|
@@ -2311,18 +2310,18 @@ var Qn = {
|
|
|
2311
2310
|
let t = /* @__PURE__ */ new Date();
|
|
2312
2311
|
return t.setHours(0, 0, 0, 0), t;
|
|
2313
2312
|
}
|
|
2314
|
-
let
|
|
2315
|
-
if (
|
|
2313
|
+
let o = (0, Y.default)(n, t.trim(), !0);
|
|
2314
|
+
if (o.isValid()) return o.toDate();
|
|
2316
2315
|
{
|
|
2317
|
-
|
|
2316
|
+
i.debug("Invalid date:" + n), i.debug("With date format:" + t.trim());
|
|
2318
2317
|
let e = new Date(n);
|
|
2319
2318
|
if (e === void 0 || isNaN(e.getTime()) || e.getFullYear() < -1e4 || e.getFullYear() > 1e4) throw Error("Invalid date:" + n);
|
|
2320
2319
|
return e;
|
|
2321
2320
|
}
|
|
2322
|
-
}, "getStartDate"), Jr = /* @__PURE__ */
|
|
2321
|
+
}, "getStartDate"), Jr = /* @__PURE__ */ a(function(e) {
|
|
2323
2322
|
let t = /^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(e.trim());
|
|
2324
2323
|
return t === null ? [NaN, "ms"] : [Number.parseFloat(t[1]), t[2]];
|
|
2325
|
-
}, "parseDuration"), Yr = /* @__PURE__ */
|
|
2324
|
+
}, "parseDuration"), Yr = /* @__PURE__ */ a(function(e, t, n, r = !1) {
|
|
2326
2325
|
n = n.trim();
|
|
2327
2326
|
let i = /^until\s+(?<ids>[\d\w- ]+)/.exec(n);
|
|
2328
2327
|
if (i !== null) {
|
|
@@ -2343,9 +2342,9 @@ var Qn = {
|
|
|
2343
2342
|
e.isValid() && (o = e);
|
|
2344
2343
|
}
|
|
2345
2344
|
return o.toDate();
|
|
2346
|
-
}, "getEndDate"), Xr = 0, Zr = /* @__PURE__ */
|
|
2345
|
+
}, "getEndDate"), Xr = 0, Zr = /* @__PURE__ */ a(function(e) {
|
|
2347
2346
|
return e === void 0 ? (Xr += 1, "task" + Xr) : e;
|
|
2348
|
-
}, "parseId"), Qr = /* @__PURE__ */
|
|
2347
|
+
}, "parseId"), Qr = /* @__PURE__ */ a(function(e, t) {
|
|
2349
2348
|
let n;
|
|
2350
2349
|
n = t.substr(0, 1) === ":" ? t.substr(1, t.length) : t;
|
|
2351
2350
|
let r = n.split(","), i = {};
|
|
@@ -2365,7 +2364,7 @@ var Qn = {
|
|
|
2365
2364
|
default:
|
|
2366
2365
|
}
|
|
2367
2366
|
return a && (i.endTime = Yr(i.startTime, X, a, fr), i.manualEndTime = (0, Y.default)(a, "YYYY-MM-DD", !0).isValid(), Gr(i, X, rr, nr)), i;
|
|
2368
|
-
}, "compileData"), $r = /* @__PURE__ */
|
|
2367
|
+
}, "compileData"), $r = /* @__PURE__ */ a(function(e, t) {
|
|
2369
2368
|
let n;
|
|
2370
2369
|
n = t.substr(0, 1) === ":" ? t.substr(1, t.length) : t;
|
|
2371
2370
|
let r = n.split(","), i = {};
|
|
@@ -2393,7 +2392,7 @@ var Qn = {
|
|
|
2393
2392
|
default:
|
|
2394
2393
|
}
|
|
2395
2394
|
return i;
|
|
2396
|
-
}, "parseData"), ei, ti, Z = [], ni = {}, ri = /* @__PURE__ */
|
|
2395
|
+
}, "parseData"), ei, ti, Z = [], ni = {}, ri = /* @__PURE__ */ a(function(e, t) {
|
|
2397
2396
|
let n = {
|
|
2398
2397
|
section: sr,
|
|
2399
2398
|
type: sr,
|
|
@@ -2407,10 +2406,10 @@ var Qn = {
|
|
|
2407
2406
|
n.raw.startTime = r.startTime, n.raw.endTime = r.endTime, n.id = r.id, n.prevTaskId = ti, n.active = r.active, n.done = r.done, n.crit = r.crit, n.milestone = r.milestone, n.vert = r.vert, n.order = gr, gr++;
|
|
2408
2407
|
let i = Z.push(n);
|
|
2409
2408
|
ti = n.id, ni[n.id] = i - 1;
|
|
2410
|
-
}, "addTask"), Q = /* @__PURE__ */
|
|
2409
|
+
}, "addTask"), Q = /* @__PURE__ */ a(function(e) {
|
|
2411
2410
|
let t = ni[e];
|
|
2412
2411
|
return Z[t];
|
|
2413
|
-
}, "findTaskById"), ii = /* @__PURE__ */
|
|
2412
|
+
}, "findTaskById"), ii = /* @__PURE__ */ a(function(e, t) {
|
|
2414
2413
|
let n = {
|
|
2415
2414
|
section: sr,
|
|
2416
2415
|
type: sr,
|
|
@@ -2419,8 +2418,8 @@ var Qn = {
|
|
|
2419
2418
|
classes: []
|
|
2420
2419
|
}, r = Qr(ei, t);
|
|
2421
2420
|
n.startTime = r.startTime, n.endTime = r.endTime, n.id = r.id, n.active = r.active, n.done = r.done, n.crit = r.crit, n.milestone = r.milestone, n.vert = r.vert, ei = n, or.push(n);
|
|
2422
|
-
}, "addTaskOrg"), ai = /* @__PURE__ */
|
|
2423
|
-
let e = /* @__PURE__ */
|
|
2421
|
+
}, "addTaskOrg"), ai = /* @__PURE__ */ a(function() {
|
|
2422
|
+
let e = /* @__PURE__ */ a(function(e) {
|
|
2424
2423
|
let t = Z[e], n = "";
|
|
2425
2424
|
switch (Z[e].raw.startTime.type) {
|
|
2426
2425
|
case "prevTaskEnd":
|
|
@@ -2434,19 +2433,19 @@ var Qn = {
|
|
|
2434
2433
|
}, "compileTask"), t = !0;
|
|
2435
2434
|
for (let [n, r] of Z.entries()) e(n), t &&= r.processed;
|
|
2436
2435
|
return t;
|
|
2437
|
-
}, "compileTasks"), oi = /* @__PURE__ */
|
|
2436
|
+
}, "compileTasks"), oi = /* @__PURE__ */ a(function(e, t) {
|
|
2438
2437
|
let n = t;
|
|
2439
2438
|
x().securityLevel !== "loose" && (n = (0, Gn.sanitizeUrl)(t)), e.split(",").forEach(function(e) {
|
|
2440
2439
|
Q(e) !== void 0 && (li(e, () => {
|
|
2441
2440
|
window.open(n, "_self");
|
|
2442
2441
|
}), ir.set(e, n));
|
|
2443
2442
|
}), si(e, "clickable");
|
|
2444
|
-
}, "setLink"), si = /* @__PURE__ */
|
|
2443
|
+
}, "setLink"), si = /* @__PURE__ */ a(function(e, t) {
|
|
2445
2444
|
e.split(",").forEach(function(e) {
|
|
2446
2445
|
let n = Q(e);
|
|
2447
2446
|
n !== void 0 && n.classes.push(t);
|
|
2448
2447
|
});
|
|
2449
|
-
}, "setClass"), ci = /* @__PURE__ */
|
|
2448
|
+
}, "setClass"), ci = /* @__PURE__ */ a(function(e, t, n) {
|
|
2450
2449
|
if (x().securityLevel !== "loose" || t === void 0) return;
|
|
2451
2450
|
let r = [];
|
|
2452
2451
|
if (typeof n == "string") {
|
|
@@ -2459,7 +2458,7 @@ var Qn = {
|
|
|
2459
2458
|
r.length === 0 && r.push(e), Q(e) !== void 0 && li(e, () => {
|
|
2460
2459
|
ee.runFunc(t, ...r);
|
|
2461
2460
|
});
|
|
2462
|
-
}, "setClickFun"), li = /* @__PURE__ */
|
|
2461
|
+
}, "setClickFun"), li = /* @__PURE__ */ a(function(e, t) {
|
|
2463
2462
|
ur.push(function() {
|
|
2464
2463
|
let n = dr ? `${dr}-${e}` : e, r = document.querySelector(`[id="${n}"]`);
|
|
2465
2464
|
r !== null && r.addEventListener("click", function() {
|
|
@@ -2472,7 +2471,7 @@ var Qn = {
|
|
|
2472
2471
|
});
|
|
2473
2472
|
});
|
|
2474
2473
|
}, "pushFun"), ui = {
|
|
2475
|
-
getConfig: /* @__PURE__ */
|
|
2474
|
+
getConfig: /* @__PURE__ */ a(() => x().gantt, "getConfig"),
|
|
2476
2475
|
clear: _r,
|
|
2477
2476
|
setDateFormat: Tr,
|
|
2478
2477
|
getDateFormat: Mr,
|
|
@@ -2505,14 +2504,14 @@ var Qn = {
|
|
|
2505
2504
|
getIncludes: Pr,
|
|
2506
2505
|
setExcludes: Fr,
|
|
2507
2506
|
getExcludes: Ir,
|
|
2508
|
-
setClickEvent: /* @__PURE__ */
|
|
2507
|
+
setClickEvent: /* @__PURE__ */ a(function(e, t, n) {
|
|
2509
2508
|
e.split(",").forEach(function(e) {
|
|
2510
2509
|
ci(e, t, n);
|
|
2511
2510
|
}), si(e, "clickable");
|
|
2512
2511
|
}, "setClickEvent"),
|
|
2513
2512
|
setLink: oi,
|
|
2514
2513
|
getLinks: Lr,
|
|
2515
|
-
bindFunctions: /* @__PURE__ */
|
|
2514
|
+
bindFunctions: /* @__PURE__ */ a(function(e) {
|
|
2516
2515
|
ur.forEach(function(t) {
|
|
2517
2516
|
t(e);
|
|
2518
2517
|
});
|
|
@@ -2530,9 +2529,9 @@ function di(e, t, n) {
|
|
|
2530
2529
|
e[0].match(a) && (t[n] = !0, e.shift(1), r = !0);
|
|
2531
2530
|
});
|
|
2532
2531
|
}
|
|
2533
|
-
|
|
2534
|
-
var fi = /* @__PURE__ */
|
|
2535
|
-
|
|
2532
|
+
a(di, "getTaskTags"), Y.default.extend(Yn.default);
|
|
2533
|
+
var fi = /* @__PURE__ */ a(function() {
|
|
2534
|
+
i.debug("Something is calling, setConf, remove the call");
|
|
2536
2535
|
}, "setConf"), pi = {
|
|
2537
2536
|
monday: Xe,
|
|
2538
2537
|
tuesday: Ze,
|
|
@@ -2541,7 +2540,7 @@ var fi = /* @__PURE__ */ s(function() {
|
|
|
2541
2540
|
friday: $e,
|
|
2542
2541
|
saturday: et,
|
|
2543
2542
|
sunday: Ye
|
|
2544
|
-
}, mi = /* @__PURE__ */
|
|
2543
|
+
}, mi = /* @__PURE__ */ a((e, t) => {
|
|
2545
2544
|
let n = [...e].map(() => -Infinity), r = [...e].sort((e, t) => e.startTime - t.startTime || e.order - t.order), i = 0;
|
|
2546
2545
|
for (let e of r) for (let r = 0; r < n.length; r++) if (e.startTime >= n[r]) {
|
|
2547
2546
|
n[r] = e.endTime, e.order = r + t, r > i && (i = r);
|
|
@@ -2553,27 +2552,27 @@ var fi = /* @__PURE__ */ s(function() {
|
|
|
2553
2552
|
db: ui,
|
|
2554
2553
|
renderer: {
|
|
2555
2554
|
setConf: fi,
|
|
2556
|
-
draw: /* @__PURE__ */
|
|
2557
|
-
let
|
|
2555
|
+
draw: /* @__PURE__ */ a(function(e, t, n, r) {
|
|
2556
|
+
let o = x().gantt;
|
|
2558
2557
|
r.db.setDiagramId(t);
|
|
2559
|
-
let
|
|
2560
|
-
|
|
2561
|
-
let u =
|
|
2562
|
-
$ = f.parentElement.offsetWidth, $ === void 0 && ($ = 1200),
|
|
2558
|
+
let c = x().securityLevel, l;
|
|
2559
|
+
c === "sandbox" && (l = s("#i" + t));
|
|
2560
|
+
let u = s(c === "sandbox" ? l.nodes()[0].contentDocument.body : "body"), d = c === "sandbox" ? l.nodes()[0].contentDocument : document, f = d.getElementById(t);
|
|
2561
|
+
$ = f.parentElement.offsetWidth, $ === void 0 && ($ = 1200), o.useWidth !== void 0 && ($ = o.useWidth);
|
|
2563
2562
|
let p = r.db.getTasks(), m = [];
|
|
2564
2563
|
for (let e of p) m.push(e.type);
|
|
2565
2564
|
m = ne(m);
|
|
2566
|
-
let h = {}, g = 2 *
|
|
2567
|
-
if (r.db.getDisplayMode() === "compact" ||
|
|
2565
|
+
let h = {}, g = 2 * o.topPadding;
|
|
2566
|
+
if (r.db.getDisplayMode() === "compact" || o.displayMode === "compact") {
|
|
2568
2567
|
let e = {};
|
|
2569
2568
|
for (let t of p) e[t.section] === void 0 ? e[t.section] = [t] : e[t.section].push(t);
|
|
2570
2569
|
let t = 0;
|
|
2571
2570
|
for (let n of Object.keys(e)) {
|
|
2572
2571
|
let r = mi(e[n], t) + 1;
|
|
2573
|
-
t += r, g += r * (
|
|
2572
|
+
t += r, g += r * (o.barHeight + o.barGap), h[n] = r;
|
|
2574
2573
|
}
|
|
2575
2574
|
} else {
|
|
2576
|
-
g += p.length * (
|
|
2575
|
+
g += p.length * (o.barHeight + o.barGap);
|
|
2577
2576
|
for (let e of m) h[e] = p.filter((t) => t.type === e).length;
|
|
2578
2577
|
}
|
|
2579
2578
|
f.setAttribute("viewBox", "0 0 " + $ + " " + g);
|
|
@@ -2581,71 +2580,71 @@ var fi = /* @__PURE__ */ s(function() {
|
|
|
2581
2580
|
return e.startTime;
|
|
2582
2581
|
}), A(p, function(e) {
|
|
2583
2582
|
return e.endTime;
|
|
2584
|
-
})]).rangeRound([0, $ -
|
|
2583
|
+
})]).rangeRound([0, $ - o.leftPadding - o.rightPadding]);
|
|
2585
2584
|
function S(e, t) {
|
|
2586
2585
|
let n = e.startTime, r = t.startTime, i = 0;
|
|
2587
2586
|
return n > r ? i = 1 : n < r && (i = -1), i;
|
|
2588
2587
|
}
|
|
2589
|
-
|
|
2588
|
+
a(S, "taskCompare"), p.sort(S), C(p, $, g), _(y, g, $, o.useMaxWidth), y.append("text").text(r.db.getDiagramTitle()).attr("x", $ / 2).attr("y", o.titleTopMargin).attr("class", "titleText");
|
|
2590
2589
|
function C(e, t, n) {
|
|
2591
|
-
let
|
|
2592
|
-
T(
|
|
2590
|
+
let i = o.barHeight, a = i + o.barGap, s = o.topPadding, c = o.leftPadding, l = D().domain([0, m.length]).range(["#00B9FA", "#F95002"]).interpolate(Ie);
|
|
2591
|
+
T(a, s, c, t, n, e, r.db.getExcludes(), r.db.getIncludes()), O(c, s, t, n), w(e, a, s, c, i, l, t, n), k(a, s, c, i, l), ee(c, s, t, n);
|
|
2593
2592
|
}
|
|
2594
|
-
|
|
2595
|
-
function w(e, n,
|
|
2593
|
+
a(C, "makeGantt");
|
|
2594
|
+
function w(e, n, i, a, c, l, u) {
|
|
2596
2595
|
e.sort((e, t) => e.vert === t.vert ? 0 : e.vert ? 1 : -1);
|
|
2597
2596
|
let d = [...new Set(e.map((e) => e.order))].map((t) => e.find((e) => e.order === t));
|
|
2598
2597
|
y.append("g").selectAll("rect").data(d).enter().append("rect").attr("x", 0).attr("y", function(e, t) {
|
|
2599
|
-
return t = e.order, t * n +
|
|
2598
|
+
return t = e.order, t * n + i - 2;
|
|
2600
2599
|
}).attr("width", function() {
|
|
2601
|
-
return u -
|
|
2600
|
+
return u - o.rightPadding / 2;
|
|
2602
2601
|
}).attr("height", n).attr("class", function(e) {
|
|
2603
|
-
for (let [t, n] of m.entries()) if (e.type === n) return "section section" + t %
|
|
2602
|
+
for (let [t, n] of m.entries()) if (e.type === n) return "section section" + t % o.numberSectionStyles;
|
|
2604
2603
|
return "section section0";
|
|
2605
2604
|
}).enter();
|
|
2606
2605
|
let f = y.append("g").selectAll("rect").data(e).enter(), h = r.db.getLinks();
|
|
2607
2606
|
if (f.append("rect").attr("id", function(e) {
|
|
2608
2607
|
return t + "-" + e.id;
|
|
2609
2608
|
}).attr("rx", 3).attr("ry", 3).attr("x", function(e) {
|
|
2610
|
-
return e.milestone ? b(e.startTime) +
|
|
2609
|
+
return e.milestone ? b(e.startTime) + a + .5 * (b(e.endTime) - b(e.startTime)) - .5 * c : b(e.startTime) + a;
|
|
2611
2610
|
}).attr("y", function(e, t) {
|
|
2612
|
-
return t = e.order, e.vert ?
|
|
2611
|
+
return t = e.order, e.vert ? o.gridLineStartPadding : t * n + i;
|
|
2613
2612
|
}).attr("width", function(e) {
|
|
2614
|
-
return e.milestone ?
|
|
2613
|
+
return e.milestone ? c : e.vert ? .08 * c : b(e.renderEndTime || e.endTime) - b(e.startTime);
|
|
2615
2614
|
}).attr("height", function(e) {
|
|
2616
|
-
return e.vert ? p.length * (
|
|
2615
|
+
return e.vert ? p.length * (o.barHeight + o.barGap) + o.barHeight * 2 : c;
|
|
2617
2616
|
}).attr("transform-origin", function(e, t) {
|
|
2618
|
-
return t = e.order, (b(e.startTime) +
|
|
2617
|
+
return t = e.order, (b(e.startTime) + a + .5 * (b(e.endTime) - b(e.startTime))).toString() + "px " + (t * n + i + .5 * c).toString() + "px";
|
|
2619
2618
|
}).attr("class", function(e) {
|
|
2620
2619
|
let t = "";
|
|
2621
2620
|
e.classes.length > 0 && (t = e.classes.join(" "));
|
|
2622
2621
|
let n = 0;
|
|
2623
|
-
for (let [t, r] of m.entries()) e.type === r && (n = t %
|
|
2622
|
+
for (let [t, r] of m.entries()) e.type === r && (n = t % o.numberSectionStyles);
|
|
2624
2623
|
let r = "";
|
|
2625
2624
|
return e.active ? e.crit ? r += " activeCrit" : r = " active" : e.done ? r = e.crit ? " doneCrit" : " done" : e.crit && (r += " crit"), r.length === 0 && (r = " task"), e.milestone && (r = " milestone " + r), e.vert && (r = " vert " + r), r += n, r += " " + t, "task" + r;
|
|
2626
2625
|
}), f.append("text").attr("id", function(e) {
|
|
2627
2626
|
return t + "-" + e.id + "-text";
|
|
2628
2627
|
}).text(function(e) {
|
|
2629
2628
|
return e.task;
|
|
2630
|
-
}).attr("font-size",
|
|
2629
|
+
}).attr("font-size", o.fontSize).attr("x", function(e) {
|
|
2631
2630
|
let t = b(e.startTime), n = b(e.renderEndTime || e.endTime);
|
|
2632
|
-
if (e.milestone && (t += .5 * (b(e.endTime) - b(e.startTime)) - .5 *
|
|
2631
|
+
if (e.milestone && (t += .5 * (b(e.endTime) - b(e.startTime)) - .5 * c, n = t + c), e.vert) return b(e.startTime) + a;
|
|
2633
2632
|
let r = this.getBBox().width;
|
|
2634
|
-
return r > n - t ? n + r + 1.5 *
|
|
2633
|
+
return r > n - t ? n + r + 1.5 * o.leftPadding > u ? t + a - 5 : n + a + 5 : (n - t) / 2 + t + a;
|
|
2635
2634
|
}).attr("y", function(e, t) {
|
|
2636
|
-
return e.vert ?
|
|
2637
|
-
}).attr("text-height",
|
|
2635
|
+
return e.vert ? o.gridLineStartPadding + p.length * (o.barHeight + o.barGap) + 60 : (t = e.order, t * n + o.barHeight / 2 + (o.fontSize / 2 - 2) + i);
|
|
2636
|
+
}).attr("text-height", c).attr("class", function(e) {
|
|
2638
2637
|
let t = b(e.startTime), n = b(e.endTime);
|
|
2639
|
-
e.milestone && (n = t +
|
|
2640
|
-
let r = this.getBBox().width,
|
|
2641
|
-
e.classes.length > 0 && (
|
|
2642
|
-
let
|
|
2643
|
-
for (let [t, n] of m.entries()) e.type === n && (
|
|
2644
|
-
let
|
|
2645
|
-
return e.active && (
|
|
2638
|
+
e.milestone && (n = t + c);
|
|
2639
|
+
let r = this.getBBox().width, i = "";
|
|
2640
|
+
e.classes.length > 0 && (i = e.classes.join(" "));
|
|
2641
|
+
let a = 0;
|
|
2642
|
+
for (let [t, n] of m.entries()) e.type === n && (a = t % o.numberSectionStyles);
|
|
2643
|
+
let s = "";
|
|
2644
|
+
return e.active && (s = e.crit ? "activeCritText" + a : "activeText" + a), e.done ? s = e.crit ? s + " doneCritText" + a : s + " doneText" + a : e.crit && (s = s + " critText" + a), e.milestone && (s += " milestoneText"), e.vert && (s += " vertText"), r > n - t ? n + r + 1.5 * o.leftPadding > u ? i + " taskTextOutsideLeft taskTextOutside" + a + " " + s : i + " taskTextOutsideRight taskTextOutside" + a + " " + s + " width-" + r : i + " taskText taskText" + a + " " + s + " width-" + r;
|
|
2646
2645
|
}), x().securityLevel === "sandbox") {
|
|
2647
2646
|
let e;
|
|
2648
|
-
e =
|
|
2647
|
+
e = s("#i" + t);
|
|
2649
2648
|
let n = e.nodes()[0].contentDocument;
|
|
2650
2649
|
f.filter(function(e) {
|
|
2651
2650
|
return h.has(e.id);
|
|
@@ -2657,14 +2656,14 @@ var fi = /* @__PURE__ */ s(function() {
|
|
|
2657
2656
|
});
|
|
2658
2657
|
}
|
|
2659
2658
|
}
|
|
2660
|
-
|
|
2659
|
+
a(w, "drawRects");
|
|
2661
2660
|
function T(e, n, a, s, c, l, u, d) {
|
|
2662
2661
|
if (u.length === 0 && d.length === 0) return;
|
|
2663
2662
|
let f, p;
|
|
2664
2663
|
for (let { startTime: e, endTime: t } of l) (f === void 0 || e < f) && (f = e), (p === void 0 || t > p) && (p = t);
|
|
2665
2664
|
if (!f || !p) return;
|
|
2666
2665
|
if ((0, Y.default)(p).diff((0, Y.default)(f), "year") > 5) {
|
|
2667
|
-
|
|
2666
|
+
i.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");
|
|
2668
2667
|
return;
|
|
2669
2668
|
}
|
|
2670
2669
|
let m = r.db.getDateFormat(), h = [], g = null, _ = (0, Y.default)(f);
|
|
@@ -2672,27 +2671,27 @@ var fi = /* @__PURE__ */ s(function() {
|
|
|
2672
2671
|
start: _,
|
|
2673
2672
|
end: _
|
|
2674
2673
|
} : g &&= (h.push(g), null), _ = _.add(1, "d");
|
|
2675
|
-
y.append("g").selectAll("rect").data(h).enter().append("rect").attr("id", (e) => t + "-exclude-" + e.start.format("YYYY-MM-DD")).attr("x", (e) => b(e.start.startOf("day")) + a).attr("y",
|
|
2674
|
+
y.append("g").selectAll("rect").data(h).enter().append("rect").attr("id", (e) => t + "-exclude-" + e.start.format("YYYY-MM-DD")).attr("x", (e) => b(e.start.startOf("day")) + a).attr("y", o.gridLineStartPadding).attr("width", (e) => b(e.end.endOf("day")) - b(e.start.startOf("day"))).attr("height", c - n - o.gridLineStartPadding).attr("transform-origin", function(t, n) {
|
|
2676
2675
|
return (b(t.start) + a + .5 * (b(t.end) - b(t.start))).toString() + "px " + (n * e + .5 * c).toString() + "px";
|
|
2677
2676
|
}).attr("class", "exclude-range");
|
|
2678
2677
|
}
|
|
2679
|
-
|
|
2678
|
+
a(T, "drawExcludeDays");
|
|
2680
2679
|
function E(e, t, n, r) {
|
|
2681
2680
|
if (n <= 0 || e > t) return Infinity;
|
|
2682
2681
|
let i = t - e, a = Y.default.duration({ [r ?? "day"]: n }).asMilliseconds();
|
|
2683
2682
|
return a <= 0 ? Infinity : Math.ceil(i / a);
|
|
2684
2683
|
}
|
|
2685
|
-
|
|
2684
|
+
a(E, "getEstimatedTickCount");
|
|
2686
2685
|
function O(e, t, n, a) {
|
|
2687
2686
|
let s = r.db.getDateFormat(), c = r.db.getAxisFormat(), l;
|
|
2688
|
-
l = c || (s === "D" ? "%d" :
|
|
2689
|
-
let u = he(b).tickSize(-a + t +
|
|
2687
|
+
l = c || (s === "D" ? "%d" : o.axisFormat ?? "%Y-%m-%d");
|
|
2688
|
+
let u = he(b).tickSize(-a + t + o.gridLineStartPadding).tickFormat(Fn(l)), d = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(r.db.getTickInterval() || o.tickInterval);
|
|
2690
2689
|
if (d !== null) {
|
|
2691
2690
|
let e = parseInt(d[1], 10);
|
|
2692
|
-
if (isNaN(e) || e <= 0)
|
|
2691
|
+
if (isNaN(e) || e <= 0) i.warn(`Invalid tick interval value: "${d[1]}". Skipping custom tick interval.`);
|
|
2693
2692
|
else {
|
|
2694
|
-
let t = d[2], n = r.db.getWeekday() ||
|
|
2695
|
-
if (l > hi)
|
|
2693
|
+
let t = d[2], n = r.db.getWeekday() || o.weekday, a = b.domain(), s = a[0], c = a[1], l = E(s, c, e, t);
|
|
2694
|
+
if (l > hi) i.warn(`The tick interval "${e}${t}" would generate ${l} ticks, which exceeds the maximum allowed (${hi}). This may indicate an invalid date or time range. Skipping custom tick interval.`);
|
|
2696
2695
|
else switch (t) {
|
|
2697
2696
|
case "millisecond":
|
|
2698
2697
|
u.ticks(P.every(e));
|
|
@@ -2718,13 +2717,13 @@ var fi = /* @__PURE__ */ s(function() {
|
|
|
2718
2717
|
}
|
|
2719
2718
|
}
|
|
2720
2719
|
}
|
|
2721
|
-
if (y.append("g").attr("class", "grid").attr("transform", "translate(" + e + ", " + (a - 50) + ")").call(u).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), r.db.topAxisEnabled() ||
|
|
2722
|
-
let n = me(b).tickSize(-a + t +
|
|
2720
|
+
if (y.append("g").attr("class", "grid").attr("transform", "translate(" + e + ", " + (a - 50) + ")").call(u).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), r.db.topAxisEnabled() || o.topAxis) {
|
|
2721
|
+
let n = me(b).tickSize(-a + t + o.gridLineStartPadding).tickFormat(Fn(l));
|
|
2723
2722
|
if (d !== null) {
|
|
2724
2723
|
let e = parseInt(d[1], 10);
|
|
2725
|
-
if (isNaN(e) || e <= 0)
|
|
2724
|
+
if (isNaN(e) || e <= 0) i.warn(`Invalid tick interval value: "${d[1]}". Skipping custom tick interval.`);
|
|
2726
2725
|
else {
|
|
2727
|
-
let t = d[2],
|
|
2726
|
+
let t = d[2], i = r.db.getWeekday() || o.weekday, a = b.domain(), s = a[0], c = a[1];
|
|
2728
2727
|
if (E(s, c, e, t) <= hi) switch (t) {
|
|
2729
2728
|
case "millisecond":
|
|
2730
2729
|
n.ticks(P.every(e));
|
|
@@ -2742,7 +2741,7 @@ var fi = /* @__PURE__ */ s(function() {
|
|
|
2742
2741
|
n.ticks(B.every(e));
|
|
2743
2742
|
break;
|
|
2744
2743
|
case "week":
|
|
2745
|
-
n.ticks(pi[
|
|
2744
|
+
n.ticks(pi[i].every(e));
|
|
2746
2745
|
break;
|
|
2747
2746
|
case "month":
|
|
2748
2747
|
n.ticks(st.every(e));
|
|
@@ -2753,7 +2752,7 @@ var fi = /* @__PURE__ */ s(function() {
|
|
|
2753
2752
|
y.append("g").attr("class", "grid").attr("transform", "translate(" + e + ", " + t + ")").call(n).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
|
|
2754
2753
|
}
|
|
2755
2754
|
}
|
|
2756
|
-
|
|
2755
|
+
a(O, "makeGrid");
|
|
2757
2756
|
function k(e, t) {
|
|
2758
2757
|
let n = 0, r = Object.keys(h).map((e) => [e, h[e]]);
|
|
2759
2758
|
y.append("g").selectAll("text").data(r).enter().append(function(e) {
|
|
@@ -2767,28 +2766,28 @@ var fi = /* @__PURE__ */ s(function() {
|
|
|
2767
2766
|
}).attr("x", 10).attr("y", function(i, a) {
|
|
2768
2767
|
if (a > 0) for (let o = 0; o < a; o++) return n += r[a - 1][1], i[1] * e / 2 + n * e + t;
|
|
2769
2768
|
else return i[1] * e / 2 + t;
|
|
2770
|
-
}).attr("font-size",
|
|
2771
|
-
for (let [t, n] of m.entries()) if (e[0] === n) return "sectionTitle sectionTitle" + t %
|
|
2769
|
+
}).attr("font-size", o.sectionFontSize).attr("class", function(e) {
|
|
2770
|
+
for (let [t, n] of m.entries()) if (e[0] === n) return "sectionTitle sectionTitle" + t % o.numberSectionStyles;
|
|
2772
2771
|
return "sectionTitle";
|
|
2773
2772
|
});
|
|
2774
2773
|
}
|
|
2775
|
-
|
|
2776
|
-
function ee(e, t, n,
|
|
2777
|
-
let
|
|
2778
|
-
if (
|
|
2774
|
+
a(k, "vertLabels");
|
|
2775
|
+
function ee(e, t, n, i) {
|
|
2776
|
+
let a = r.db.getTodayMarker();
|
|
2777
|
+
if (a === "off") return;
|
|
2779
2778
|
let s = y.append("g").attr("class", "today"), c = /* @__PURE__ */ new Date(), l = s.append("line");
|
|
2780
|
-
l.attr("x1", b(c) + e).attr("x2", b(c) + e).attr("y1",
|
|
2779
|
+
l.attr("x1", b(c) + e).attr("x2", b(c) + e).attr("y1", o.titleTopMargin).attr("y2", i - o.titleTopMargin).attr("class", "today"), a !== "" && l.attr("style", a.replace(/,/g, ";"));
|
|
2781
2780
|
}
|
|
2782
|
-
|
|
2781
|
+
a(ee, "drawToday");
|
|
2783
2782
|
function ne(e) {
|
|
2784
2783
|
let t = {}, n = [];
|
|
2785
2784
|
for (let r = 0, i = e.length; r < i; ++r) Object.prototype.hasOwnProperty.call(t, e[r]) || (t[e[r]] = !0, n.push(e[r]));
|
|
2786
2785
|
return n;
|
|
2787
2786
|
}
|
|
2788
|
-
|
|
2787
|
+
a(ne, "checkUnique");
|
|
2789
2788
|
}, "draw")
|
|
2790
2789
|
},
|
|
2791
|
-
styles: /* @__PURE__ */
|
|
2790
|
+
styles: /* @__PURE__ */ a((e) => `
|
|
2792
2791
|
.mermaid-main-font {
|
|
2793
2792
|
font-family: ${e.fontFamily};
|
|
2794
2793
|
}
|