@sme.up/ketchup2 2.6.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abnfDiagram-VCTEODGH-C9blQ78p.cjs +1 -0
- package/dist/abnfDiagram-VCTEODGH-DZIaCwNE.js +89 -0
- package/dist/{arc-yUAZoqJP.js → arc-7ZXqzxve.js} +1 -1
- package/dist/{arc-CYi2lpSd.cjs → arc-DBilzVYt.cjs} +1 -1
- package/dist/architecture-7GRP2DOG-DYFsLst2.js +3 -0
- package/dist/architecture-7GRP2DOG-DdhuGtEz.cjs +1 -0
- package/dist/architectureDiagram-5GKGNRK7-B080D0D_.cjs +36 -0
- package/dist/{architectureDiagram-3BPJPVTR-CMX2LiQK.js → architectureDiagram-5GKGNRK7-BJvIxhbL.js} +338 -252
- package/dist/assets/svg/functions.svg +1 -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/button-list/button-list-types.d.ts +2 -1
- package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
- package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-types.d.ts +5 -0
- package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
- package/dist/basic-components/cell/cell.d.ts.map +1 -1
- package/dist/basic-components/checkbox/checkbox-types.d.ts +5 -0
- package/dist/basic-components/checkbox/checkbox-types.d.ts.map +1 -1
- package/dist/basic-components/chips/chips-types.d.ts +15 -1
- package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
- package/dist/basic-components/chips/chips.d.ts.map +1 -1
- package/dist/basic-components/chips-input/chips-input-types.d.ts +5 -0
- package/dist/basic-components/chips-input/chips-input-types.d.ts.map +1 -1
- package/dist/basic-components/chips-input/chips-input.d.ts.map +1 -1
- package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts +5 -0
- package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts.map +1 -1
- package/dist/basic-components/multiple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
- package/dist/basic-components/multiple-select/multiple-select-types.d.ts +5 -0
- package/dist/basic-components/multiple-select/multiple-select-types.d.ts.map +1 -1
- package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
- package/dist/blockDiagram-I7D4REHJ-C5aW9ypR.js +1919 -0
- package/dist/blockDiagram-I7D4REHJ-fT7Of27R.cjs +129 -0
- package/dist/c4Diagram-7LVT6UL2-B1n5PnN5.cjs +38 -0
- package/dist/{c4Diagram-AAUBKEIU-BUOgTWLR.js → c4Diagram-7LVT6UL2-JxFfT5VH.js} +808 -789
- package/dist/channel-BvUly9jN.cjs +1 -0
- package/dist/{channel-CAhFwf6U.js → channel-D6agWknC.js} +1 -1
- package/dist/chunk-2E4U76K2-BiZwNOhf.cjs +1 -0
- package/dist/chunk-2E4U76K2-C8vehurw.js +346 -0
- package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +1 -0
- package/dist/{chunk-QZHKN3VN-cS9OamWo.js → chunk-2Q5K7J3B-kzxEEeTu.js} +2 -2
- package/dist/chunk-4HAMMTFA-Db_fcZEn.cjs +62 -0
- package/dist/{chunk-3OPIFGDE-BYuWDDGY.js → chunk-4HAMMTFA-MZIwowe1.js} +1665 -1143
- package/dist/{chunk-FMBD7UC4-Cia16Ryi.js → chunk-5VM5RSS4-Cr17nBXp.js} +2 -2
- package/dist/{chunk-FMBD7UC4-BLLpskYF.cjs → chunk-5VM5RSS4-CwDmQ9T_.cjs} +1 -1
- package/dist/{chunk-5ZQYHXKU-BvO58_5C.js → chunk-75Z2AOVW-BwUD389x.js} +56 -55
- package/dist/chunk-75Z2AOVW-RbCLc-XL.cjs +2 -0
- package/dist/chunk-CLGD4ZFX-DKRy6g5T.js +10 -0
- package/dist/chunk-CLGD4ZFX-Dvn-kRD7.cjs +1 -0
- package/dist/{chunk-CSCIHK7Q-Drr_NBLR.js → chunk-DU6HZSFF-CNSdkWoH.js} +1584 -621
- package/dist/chunk-DU6HZSFF-mznJTFyO.cjs +127 -0
- package/dist/chunk-F27PBJKO-C5NrgqMI.cjs +1 -0
- package/dist/{chunk-ND2GUHAM-CKQ1Jk8O.js → chunk-F27PBJKO-DKsmevT5.js} +18 -17
- package/dist/chunk-FOHPRMQF-BYsnEQU5.cjs +161 -0
- package/dist/{chunk-NNHCCRGN-BB1q5NkR.js → chunk-FOHPRMQF-C49KxWOg.js} +5156 -4419
- package/dist/chunk-GMAD6QVW-BVSRANO9.cjs +72 -0
- package/dist/{chunk-O5CBEL6O-BIU6TcWp.js → chunk-GMAD6QVW-DKxKOKLF.js} +459 -503
- package/dist/chunk-GVQU2GXP-BiuaO1L5.cjs +1 -0
- package/dist/chunk-GVQU2GXP-w4KY-she.js +37 -0
- package/dist/chunk-IMKFNOWR-CusIwu2H.cjs +231 -0
- package/dist/{chunk-AQP2D5EJ-Cp3ieoZF.js → chunk-IMKFNOWR-DHxMOe_C.js} +313 -291
- package/dist/{chunk-4BX2VUAB-B74FMcxr.js → chunk-JWPE2WC7-Ccb0QaC8.js} +2 -2
- package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +1 -0
- package/dist/chunk-L3NEJ4N5-B8UQMgqc.cjs +1 -0
- package/dist/chunk-L3NEJ4N5-CvNbHpcd.js +245 -0
- package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
- package/dist/chunk-LNGE3PJU-TgsSSByc.cjs +34 -0
- package/dist/{chunk-KSCS5N6A-pd39ksIM.js → chunk-OSK3NFVY-BmtDbEvT.js} +304 -195
- package/dist/chunk-OSK3NFVY-DE9_ERt9.cjs +10 -0
- package/dist/chunk-P2QGCYS3-DRvvOWJ2.js +67 -0
- package/dist/chunk-P2QGCYS3-DqT85Q-S.cjs +1 -0
- package/dist/chunk-POPQ4Y6H-CaEkosGL.js +26 -0
- package/dist/chunk-POPQ4Y6H-QqO5seyb.cjs +1 -0
- package/dist/chunk-PWAF6VOD-CbmhQpgH.js +277 -0
- package/dist/chunk-PWAF6VOD-CjrO-QHU.cjs +1 -0
- package/dist/{flowDiagram-I6XJVG4X-Dx5d6cgt.js → chunk-SHT3W25Y-DJgD-hyF.js} +581 -538
- package/dist/chunk-SHT3W25Y-DuMn9iH6.cjs +168 -0
- package/dist/chunk-SVP7TREG-BNwvtyzm.js +490 -0
- package/dist/chunk-SVP7TREG-CiwWyOxx.cjs +88 -0
- package/dist/chunk-TICWLB2K-1u0p_luB.cjs +206 -0
- package/dist/{chunk-727SXJPM-BDsxon3G.js → chunk-TICWLB2K-DqSHwYf9.js} +185 -180
- package/dist/chunk-TLUHSLCS-ZDzqyqeY.cjs +1 -0
- package/dist/{chunk-LZXEDZCA-oQMllZja.js → chunk-TLUHSLCS-opHh7fd-.js} +35 -25
- package/dist/chunk-XXDRQBXY-BF71LTT1.cjs +1 -0
- package/dist/chunk-XXDRQBXY-BZK6GgVm.js +9 -0
- package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +1 -0
- package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
- package/dist/classDiagram-ZZMXUADV-BTRkvFx4.js +30 -0
- package/dist/classDiagram-ZZMXUADV-CwAl_N60.cjs +1 -0
- package/dist/classDiagram-v2-VYDZK3BY-CFutvfy-.js +30 -0
- package/dist/classDiagram-v2-VYDZK3BY-CwAl_N60.cjs +1 -0
- package/dist/components/activity-timeline/activity-timeline-types.d.ts +46 -0
- package/dist/components/activity-timeline/activity-timeline-types.d.ts.map +1 -0
- package/dist/components/activity-timeline/activity-timeline.d.ts +4 -0
- package/dist/components/activity-timeline/activity-timeline.d.ts.map +1 -0
- package/dist/components/box-list/box-list.d.ts.map +1 -1
- package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts +12 -0
- package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts.map +1 -0
- package/dist/components/data-table/assets/data-table-row-actions.d.ts +11 -0
- package/dist/components/data-table/assets/data-table-row-actions.d.ts.map +1 -0
- 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 +108 -4
- 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 +14 -4
- 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/tab-bar/tab-bar-assets.d.ts +1 -0
- package/dist/components/tab-bar/tab-bar-assets.d.ts.map +1 -1
- package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts +14 -0
- package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -0
- package/dist/components/workflow-designer/workflow-designer-types.d.ts +109 -0
- package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -0
- package/dist/components/workflow-designer/workflow-designer-utils.d.ts +86 -0
- package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -0
- package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts +2 -0
- package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts.map +1 -0
- package/dist/components/workflow-designer/workflow-designer.d.ts +15 -0
- package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -0
- package/dist/{cose-bilkent-S5V4N54A-DZmA7Nat.js → cose-bilkent-JH36ORCC-CE0T5PqO.js} +23 -23
- package/dist/cose-bilkent-JH36ORCC-D6t9R42P.cjs +1 -0
- package/dist/cynefin-OW5HDTMX-CsZ3W32G.cjs +1 -0
- package/dist/cynefin-OW5HDTMX-DlKRHClQ.js +3 -0
- package/dist/cynefinDiagram-5FMLGOSQ-D5vkxB9p.js +349 -0
- package/dist/cynefinDiagram-5FMLGOSQ-D95Uad6U.cjs +62 -0
- package/dist/{cytoscape.esm-BU21wl3m.js → cytoscape.esm-BQqfb1oS.js} +2260 -2206
- package/dist/cytoscape.esm-TdwWzXkE.cjs +321 -0
- package/dist/dagre-GXQ25YYZ-CFXgAmuL.js +423 -0
- package/dist/dagre-GXQ25YYZ-NS5a_ezX.cjs +4 -0
- package/dist/{dagre-B2BBwKNb.cjs → dagre-nX1Mh32P.cjs} +1 -1
- package/dist/{dagre-3-RnF0EK.js → dagre-qXSFUdzO.js} +131 -131
- package/dist/diagram-S7CK7UJ4-CTj-4VAh.cjs +30 -0
- package/dist/diagram-S7CK7UJ4-DrGNegqs.js +301 -0
- package/dist/{diagram-2AECGRRQ-BITzWXbn.js → diagram-UQ7AKVKN-LU56O9S9.js} +82 -81
- package/dist/diagram-UQ7AKVKN-eskbTWOc.cjs +41 -0
- package/dist/{diagram-KO2AKTUF-DwTH3Hoo.js → diagram-VSXAHHWV-CaQnupEx.js} +66 -65
- package/dist/diagram-VSXAHHWV-DzHhzg5V.cjs +3 -0
- package/dist/diagram-VX7I27RA-D7Ibz__z.cjs +24 -0
- package/dist/{diagram-OG6HWLK6-CPzvG6Xi.js → diagram-VX7I27RA-DH-s9daK.js} +105 -104
- package/dist/diagram-Z3DM3KII-BpFP72Tr.cjs +24 -0
- package/dist/{diagram-LMA3HP47-nYPIM4Uq.js → diagram-Z3DM3KII-DWhRX2l9.js} +21 -20
- package/dist/{dist-BEmBi80K.js → dist-C7OpkiTz.js} +2 -3
- package/dist/dist-DrOEvFlx.cjs +1 -0
- package/dist/ebnfDiagram-PWID7BFC-CtT2erlt.js +100 -0
- package/dist/ebnfDiagram-PWID7BFC-DXCy8fra.cjs +1 -0
- package/dist/erDiagram-RLTQ6QDP-B-cUtqmN.cjs +99 -0
- package/dist/erDiagram-RLTQ6QDP-CxxAoCSs.js +1966 -0
- package/dist/eventmodeling-NTZA5JFV-5J5w1INt.js +3 -0
- package/dist/eventmodeling-NTZA5JFV-DcUTtbEf.cjs +1 -0
- package/dist/flowDiagram-HODETNUW-B6sXxv0S.cjs +1 -0
- package/dist/flowDiagram-HODETNUW-BUvMJJnE.js +17 -0
- 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/multiple-field/multiple-field-types.d.ts +2 -0
- package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
- package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
- package/dist/functional-components/row/row-types.d.ts +13 -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/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +3 -1
- package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
- package/dist/functional-components/tree-picker/tree-picker-types.d.ts +42 -0
- package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -0
- package/dist/functional-components/tree-picker/tree-picker.d.ts +3 -0
- package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -0
- package/dist/ganttDiagram-EL5Y4UJY-Bee0Pd-N.cjs +292 -0
- package/dist/{ganttDiagram-6RSMTGT7-CFuwKLrB.js → ganttDiagram-EL5Y4UJY-C04RZW4s.js} +642 -639
- package/dist/gitGraph-4MIJSDKK-BCt5iiZ5.js +3 -0
- package/dist/gitGraph-4MIJSDKK-BeFVwcRC.cjs +1 -0
- package/dist/{gitGraphDiagram-PVQCEYII-B2CaQTP_.js → gitGraphDiagram-WWUBYQGX-BTcuEGsY.js} +146 -145
- package/dist/gitGraphDiagram-WWUBYQGX-DA026nbS.cjs +106 -0
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/info-A6RAGUB7-C0KA0jej.cjs +1 -0
- package/dist/info-A6RAGUB7-DYBvudiC.js +3 -0
- package/dist/infoDiagram-27XIBGKW-B5nTXQEj.cjs +2 -0
- package/dist/infoDiagram-27XIBGKW-BoUOV42E.js +20 -0
- package/dist/{ishikawaDiagram-YF4QCWOH-CfOvUIo-.js → ishikawaDiagram-5VMMS53U-D15Hi9wp.js} +134 -133
- package/dist/{ishikawaDiagram-YF4QCWOH-CSRSkgHx.cjs → ishikawaDiagram-5VMMS53U-ptk0d5z2.cjs} +6 -6
- package/dist/{journeyDiagram-JHISSGLW-BMECXtd1.js → journeyDiagram-3NMN7TZE-BUb4frTN.js} +181 -180
- package/dist/{journeyDiagram-JHISSGLW-P42eSNEh.cjs → journeyDiagram-3NMN7TZE-CxVpPKa-.cjs} +8 -8
- package/dist/kanban-definition-UXKFOSKX-Cd_nphr7.cjs +89 -0
- package/dist/{kanban-definition-UN3LZRKU-DCzfGTs4.js → kanban-definition-UXKFOSKX-DkgBC20j.js} +141 -138
- package/dist/katex-DUe6VLjC.cjs +257 -0
- package/dist/{katex-D-2KeLwt.js → katex-Dyoqg6Cv.js} +1562 -1600
- package/dist/ketchup2.cjs.js +405 -101
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +151183 -119083
- package/dist/{line-0G6sJTVA.js → line-BEo8vh4N.js} +1 -1
- package/dist/{line-CLmmMPn2.cjs → line-wiGgVVGi.cjs} +1 -1
- package/dist/{linear-BNWgac81.js → linear-BNesvT28.js} +1 -1
- package/dist/{linear-yBssgUAc.cjs → linear-YA14Lx5Z.cjs} +1 -1
- package/dist/locale/en/translation.json.d.ts +23 -0
- package/dist/locale/it/translation.json.d.ts +24 -1
- package/dist/mermaid-parser.core-CqChDTj1.cjs +6 -0
- package/dist/mermaid-parser.core-oFB-qEU8.js +638 -0
- package/dist/{mindmap-definition-RKZ34NQL-DbK4qO1Z.cjs → mindmap-definition-YA3MSWOX-0PG4raFG.cjs} +11 -11
- package/dist/{mindmap-definition-RKZ34NQL-DpX8ksst.js → mindmap-definition-YA3MSWOX-Cjs12XgD.js} +156 -154
- package/dist/packet-AYTQ26CC-BEwXWBE0.js +3 -0
- package/dist/packet-AYTQ26CC-DfXUrk97.cjs +1 -0
- package/dist/pegDiagram-XKGWAZYB-BuyVzOiH.js +94 -0
- package/dist/pegDiagram-XKGWAZYB-J7VwZsJf.cjs +1 -0
- package/dist/pie-WAS4IAKB-4NfHFfJd.cjs +1 -0
- package/dist/pie-WAS4IAKB-BOR5Wwai.js +3 -0
- package/dist/pieDiagram-E7YTZNPT-B-rPB0ZO.cjs +39 -0
- package/dist/pieDiagram-E7YTZNPT-D4bB4TDP.js +205 -0
- package/dist/{quadrantDiagram-W4KKPZXB-Bgw66PrU.js → quadrantDiagram-AXDQQJYC-B6Q9biU9.js} +293 -293
- package/dist/quadrantDiagram-AXDQQJYC-C5sdY1DW.cjs +7 -0
- package/dist/radar-RG4KPBEZ-BwLQFFzF.js +3 -0
- package/dist/radar-RG4KPBEZ-_epvvHKu.cjs +1 -0
- package/dist/railroad-74A4TZTK-CaWzRQE0.js +3 -0
- package/dist/railroad-74A4TZTK-D2qbdjOh.cjs +1 -0
- package/dist/railroad-abnf-HS5TGJTU-D2tm1mra.js +3 -0
- package/dist/railroad-abnf-HS5TGJTU-_ThxftPt.cjs +1 -0
- package/dist/railroad-ebnf-LZEXJU2U-CKpMMgXK.cjs +1 -0
- package/dist/railroad-ebnf-LZEXJU2U-KAuGgmQe.js +3 -0
- package/dist/railroad-peg-WCYAUIDC-B8bfIIor.cjs +1 -0
- package/dist/railroad-peg-WCYAUIDC-XB38GivH.js +3 -0
- package/dist/railroadDiagram-O6MQD6OU-C7LfgSGm.cjs +1 -0
- package/dist/railroadDiagram-O6MQD6OU-DFR4_PxB.js +76 -0
- package/dist/{requirementDiagram-4Y6WPE33-BzNEhq-x.js → requirementDiagram-BXWQKSXE-BfWCCTu8.js} +169 -166
- package/dist/requirementDiagram-BXWQKSXE-y2O3wvFe.cjs +84 -0
- package/dist/{sankeyDiagram-5OEKKPKP-06MsaQmt.js → sankeyDiagram-P5KCCOFB-B_3NESVW.js} +109 -108
- package/dist/sankeyDiagram-P5KCCOFB-z8VLw23o.cjs +40 -0
- package/dist/sequenceDiagram-WJ2MYXX4-3cWo24Xv.cjs +162 -0
- package/dist/{sequenceDiagram-3UESZ5HK-QEaDF4MY.js → sequenceDiagram-WJ2MYXX4-B8W9PUBb.js} +692 -688
- package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
- package/dist/sizeCapture-INFHLROL-bJ2ZX4Du.cjs +1 -0
- package/dist/src-B16ML7oM.cjs +1 -0
- package/dist/{src-GDFuItmC.js → src-D-6ZfKf9.js} +587 -579
- package/dist/stateDiagram-D77RDMKH-DghYG1f5.cjs +1 -0
- package/dist/stateDiagram-D77RDMKH-IwptGFzp.js +220 -0
- package/dist/stateDiagram-v2-MP3YSRHH-0rNAzd4v.cjs +1 -0
- package/dist/stateDiagram-v2-MP3YSRHH-NATCGJSV.js +30 -0
- package/dist/swimlanes-42K2YHIH-jhIjSCsq.js +4976 -0
- package/dist/swimlanes-42K2YHIH-svHo0tVy.cjs +1 -0
- package/dist/swimlanesDiagram-VR7AAH4N-DKxpX9Hj.js +31 -0
- package/dist/swimlanesDiagram-VR7AAH4N-DcDLe-u-.cjs +8 -0
- package/dist/{timeline-definition-PNZ67QCA-DoD4D5kw.js → timeline-definition-24CTP7MA-C6u6A92C.js} +212 -211
- package/dist/timeline-definition-24CTP7MA-CA62jwSB.cjs +120 -0
- package/dist/treeView-Q6P3EWNA-CkgGYPwy.js +3 -0
- package/dist/treeView-Q6P3EWNA-zIJfTe51.cjs +1 -0
- package/dist/treemap-WGGIJYW6-CooEnQQp.cjs +1 -0
- package/dist/treemap-WGGIJYW6-D4tTzsvR.js +3 -0
- 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 +24 -1
- package/dist/types/translation.d.ts.map +1 -1
- package/dist/utils/data-structures.d.ts +2 -1
- package/dist/utils/data-structures.d.ts.map +1 -1
- package/dist/{vennDiagram-CIIHVFJN-Du1h-z8K.js → vennDiagram-4TSXK5OY-Bt9cyeRX.js} +324 -302
- package/dist/vennDiagram-4TSXK5OY-YKU1Lb_h.cjs +34 -0
- package/dist/wardley-WFR3VGLG-Cp2KFpcw.cjs +1 -0
- package/dist/wardley-WFR3VGLG-D1o3hFSK.js +3 -0
- package/dist/wardleyDiagram-VM6X3IG4-BvyabMK8.cjs +78 -0
- package/dist/{wardleyDiagram-YWT4CUSO-CjOm3Xnp.js → wardleyDiagram-VM6X3IG4-QkNx10Ny.js} +144 -143
- package/dist/{xychartDiagram-2RQKCTM6-D0hXWFFN.js → xychartDiagram-S5SC5T6Z-BSwoR01A.js} +729 -559
- package/dist/xychartDiagram-S5SC5T6Z-BtNTzcXw.cjs +7 -0
- package/package.json +6 -2
- package/dist/architecture-7EHR7CIX-Bzeobe9Y.cjs +0 -1
- package/dist/architecture-7EHR7CIX-C8NPmR2w.js +0 -3
- 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/blockDiagram-GPEHLZMM-C7mogpj_.cjs +0 -132
- package/dist/blockDiagram-GPEHLZMM-fcAaH_Ka.js +0 -3157
- package/dist/c4Diagram-AAUBKEIU-BjsHAdap.cjs +0 -10
- 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-2J33WTMH-BulZYTKs.js +0 -25
- package/dist/chunk-2J33WTMH-DIfvCbWZ.cjs +0 -1
- package/dist/chunk-3OPIFGDE-Ohf7vgmX.cjs +0 -62
- package/dist/chunk-4BX2VUAB-DdliHvKq.cjs +0 -1
- package/dist/chunk-55IACEB6-D5PlvtBC.js +0 -8
- package/dist/chunk-55IACEB6-DzCdT-ru.cjs +0 -1
- package/dist/chunk-5ZQYHXKU-35HHGVyc.cjs +0 -2
- package/dist/chunk-727SXJPM-BCv3AEZb.cjs +0 -206
- package/dist/chunk-AQP2D5EJ-CPbTYzEZ.cjs +0 -231
- package/dist/chunk-BSJP7CBP-BjkTjHJ6.js +0 -82
- package/dist/chunk-BSJP7CBP-DtjFXF0S.cjs +0 -1
- package/dist/chunk-CSCIHK7Q-WWTYrQLt.cjs +0 -122
- package/dist/chunk-Dqa2HsxW.js +0 -20
- package/dist/chunk-KSCS5N6A-DSWnBtbV.cjs +0 -10
- package/dist/chunk-L5ZTLDWV-DXk-PQPS.js +0 -32
- package/dist/chunk-L5ZTLDWV-sRcGREMv.cjs +0 -1
- package/dist/chunk-LZXEDZCA-4kbGESh2.cjs +0 -1
- package/dist/chunk-ND2GUHAM-See9KDdJ.cjs +0 -1
- package/dist/chunk-NNHCCRGN-qV8bfiMQ.cjs +0 -159
- package/dist/chunk-NZK2D7GU-CqugOMaJ.js +0 -67
- package/dist/chunk-NZK2D7GU-FNVK0iHI.cjs +0 -1
- package/dist/chunk-O5CBEL6O-BU_i0jbb.cjs +0 -70
- package/dist/chunk-QZHKN3VN-DPdobKra.cjs +0 -1
- package/dist/chunk-WU5MYG2G-BL6T82Hi.js +0 -9
- package/dist/chunk-WU5MYG2G-qi7ZaL3o.cjs +0 -1
- package/dist/chunk-XPW4576I-B9aC8EBY.js +0 -1146
- package/dist/chunk-XPW4576I-Dsm0jctf.cjs +0 -32
- 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/cytoscape.esm-CElDUMAx.cjs +0 -321
- package/dist/dagre-BM42HDAG-DwRqEen8.js +0 -297
- package/dist/dagre-BM42HDAG-E2Jw6uLH.cjs +0 -4
- package/dist/diagram-2AECGRRQ-BkwGTiAT.cjs +0 -43
- package/dist/diagram-5GNKFQAL-CvMOQgoH.cjs +0 -10
- package/dist/diagram-5GNKFQAL-bsRwDc-2.js +0 -101
- package/dist/diagram-KO2AKTUF-DKGDs9Ax.cjs +0 -3
- package/dist/diagram-LMA3HP47-BojSLu6w.cjs +0 -24
- package/dist/diagram-OG6HWLK6-bHqMXqif.cjs +0 -24
- package/dist/dist-Dwq87x4R.cjs +0 -1
- package/dist/erDiagram-TEJ5UH35-BxeM1F9k.js +0 -1700
- package/dist/erDiagram-TEJ5UH35-CqUBZsAh.cjs +0 -85
- package/dist/eventmodeling-FCH6USID-Cued7Lz2.cjs +0 -1
- package/dist/eventmodeling-FCH6USID-mCB8hc7X.js +0 -3
- 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/gitGraph-WXDBUCRP-B23gOjfP.js +0 -3
- package/dist/gitGraph-WXDBUCRP-Bi-Y5dA7.cjs +0 -1
- package/dist/gitGraphDiagram-PVQCEYII-B-VOfNjd.cjs +0 -106
- package/dist/info-J43DQDTF-DC3N8SoX.js +0 -3
- package/dist/info-J43DQDTF-jRjlWVKj.cjs +0 -1
- package/dist/infoDiagram-5YYISTIA-22jaR465.cjs +0 -2
- package/dist/infoDiagram-5YYISTIA-CM-al6Jc.js +0 -19
- package/dist/jsx-runtime-DCATrIRp.js +0 -183
- package/dist/jsx-runtime-DtVwqYNW.cjs +0 -6
- package/dist/kanban-definition-UN3LZRKU-DplPe2EX.cjs +0 -89
- package/dist/katex-CkiTumqg.cjs +0 -257
- package/dist/mermaid-parser.core-ADyJ_PY4.cjs +0 -3
- package/dist/mermaid-parser.core-D6xVjl2t.js +0 -373
- package/dist/packet-YPE3B663-CGZxZ1Z0.cjs +0 -1
- package/dist/packet-YPE3B663-D2JW2EUF.js +0 -3
- package/dist/pie-LRSECV5Y-BHyd33ZA.js +0 -3
- package/dist/pie-LRSECV5Y-Ca_qbHEv.cjs +0 -1
- package/dist/pieDiagram-4H26LBE5-CCgLxjTB.js +0 -165
- package/dist/pieDiagram-4H26LBE5-DAhjc9WT.cjs +0 -30
- package/dist/purify.es-9OKVhuci.js +0 -735
- package/dist/purify.es-hdXGOu6N.cjs +0 -3
- package/dist/quadrantDiagram-W4KKPZXB-BBEQhVJy.cjs +0 -7
- package/dist/radar-GUYGQ44K-BpJWFTCm.js +0 -3
- package/dist/radar-GUYGQ44K-CYqWSxO_.cjs +0 -1
- package/dist/requirementDiagram-4Y6WPE33-L_lL0BcB.cjs +0 -84
- package/dist/sankeyDiagram-5OEKKPKP-Dy9K3F81.cjs +0 -40
- package/dist/sequenceDiagram-3UESZ5HK-C69YSjBM.cjs +0 -162
- package/dist/src-CFBvxm_0.cjs +0 -1
- package/dist/stateDiagram-AJRCARHV-BTzCb_Q-.js +0 -217
- package/dist/stateDiagram-AJRCARHV-CBbDL4Ct.cjs +0 -1
- package/dist/stateDiagram-v2-BHNVJYJU-BrQR0oUL.cjs +0 -1
- package/dist/stateDiagram-v2-BHNVJYJU-C7E3JbTB.js +0 -27
- package/dist/timeline-definition-PNZ67QCA-DJ9VKw6h.cjs +0 -120
- package/dist/treeView-BLDUP644-C9tQMbiq.js +0 -3
- package/dist/treeView-BLDUP644-DKh9BcaT.cjs +0 -1
- package/dist/treemap-LRROVOQU-2aferAph.cjs +0 -1
- package/dist/treemap-LRROVOQU-CBv3oGC3.js +0 -3
- package/dist/useObjectProtocol-3BhpCUjG.cjs +0 -3
- package/dist/useObjectProtocol-DZdggHDN.js +0 -4333
- package/dist/vennDiagram-CIIHVFJN-DeRVKdRG.cjs +0 -34
- package/dist/wardley-L42UT6IY-CIM0_V5T.js +0 -3
- package/dist/wardley-L42UT6IY-DjjjOB8T.cjs +0 -1
- package/dist/wardleyDiagram-YWT4CUSO-CaaSvy6n.cjs +0 -78
- package/dist/xychartDiagram-2RQKCTM6-CWncieig.cjs +0 -7
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { D as
|
|
3
|
-
import {
|
|
1
|
+
import { m as e } from "./src-D-6ZfKf9.js";
|
|
2
|
+
import { D as t, H as n, K as r, U as i, a, b as o, c as s, f as c, v as l, w as u, y as d, z as f } from "./chunk-DU6HZSFF-CNSdkWoH.js";
|
|
3
|
+
import { n as p } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
+
import { t as m } from "./linear-BNesvT28.js";
|
|
4
5
|
import { t as h } from "./ordinal-D_ZgubzR.js";
|
|
5
6
|
import { t as g } from "./init-MwSGRDIl.js";
|
|
6
|
-
import { i as _ } from "./chunk-
|
|
7
|
-
import { t as v } from "./line-
|
|
8
|
-
import { t as y } from "./chunk-
|
|
9
|
-
import
|
|
7
|
+
import { i as _ } from "./chunk-75Z2AOVW-BwUD389x.js";
|
|
8
|
+
import { t as v } from "./line-BEo8vh4N.js";
|
|
9
|
+
import { t as y } from "./chunk-CLGD4ZFX-DKRy6g5T.js";
|
|
10
|
+
import "./chunk-PWAF6VOD-CbmhQpgH.js";
|
|
11
|
+
import { t as b } from "./chunk-GMAD6QVW-DKxKOKLF.js";
|
|
10
12
|
//#region node_modules/d3-array/src/range.js
|
|
11
13
|
function x(e, t, n) {
|
|
12
14
|
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
|
|
@@ -51,12 +53,12 @@ function S() {
|
|
|
51
53
|
}, g.apply(d(), arguments);
|
|
52
54
|
}
|
|
53
55
|
//#endregion
|
|
54
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-
|
|
56
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-S5SC5T6Z.mjs
|
|
55
57
|
var C = (function() {
|
|
56
|
-
var e = /* @__PURE__ */
|
|
58
|
+
var e = /* @__PURE__ */ p(function(e, t, n, r) {
|
|
57
59
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
58
60
|
return n;
|
|
59
|
-
}, "o"),
|
|
61
|
+
}, "o"), t = [
|
|
60
62
|
1,
|
|
61
63
|
10,
|
|
62
64
|
12,
|
|
@@ -66,7 +68,7 @@ var C = (function() {
|
|
|
66
68
|
19,
|
|
67
69
|
21,
|
|
68
70
|
23
|
|
69
|
-
],
|
|
71
|
+
], n = [2, 6], r = [1, 3], i = [1, 5], a = [1, 6], o = [1, 7], s = [
|
|
70
72
|
1,
|
|
71
73
|
5,
|
|
72
74
|
10,
|
|
@@ -77,10 +79,10 @@ var C = (function() {
|
|
|
77
79
|
19,
|
|
78
80
|
21,
|
|
79
81
|
23,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
],
|
|
82
|
+
36,
|
|
83
|
+
37,
|
|
84
|
+
38
|
|
85
|
+
], c = [1, 25], l = [1, 26], u = [1, 28], d = [1, 29], f = [1, 30], m = [1, 31], h = [1, 32], g = [1, 33], _ = [1, 34], v = [1, 35], y = [1, 36], b = [1, 37], x = [1, 43], S = [1, 42], C = [1, 47], w = [1, 50], T = [
|
|
84
86
|
1,
|
|
85
87
|
10,
|
|
86
88
|
12,
|
|
@@ -90,9 +92,9 @@ var C = (function() {
|
|
|
90
92
|
19,
|
|
91
93
|
21,
|
|
92
94
|
23,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
36,
|
|
96
|
+
37,
|
|
97
|
+
38
|
|
96
98
|
], E = [
|
|
97
99
|
1,
|
|
98
100
|
10,
|
|
@@ -105,11 +107,11 @@ var C = (function() {
|
|
|
105
107
|
23,
|
|
106
108
|
24,
|
|
107
109
|
26,
|
|
108
|
-
27,
|
|
109
110
|
28,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
29,
|
|
112
|
+
36,
|
|
113
|
+
37,
|
|
114
|
+
38
|
|
113
115
|
], D = [
|
|
114
116
|
1,
|
|
115
117
|
10,
|
|
@@ -122,12 +124,11 @@ var C = (function() {
|
|
|
122
124
|
23,
|
|
123
125
|
24,
|
|
124
126
|
26,
|
|
125
|
-
27,
|
|
126
127
|
28,
|
|
127
|
-
|
|
128
|
-
35,
|
|
128
|
+
29,
|
|
129
129
|
36,
|
|
130
|
-
|
|
130
|
+
37,
|
|
131
|
+
38,
|
|
131
132
|
42,
|
|
132
133
|
43,
|
|
133
134
|
44,
|
|
@@ -136,9 +137,10 @@ var C = (function() {
|
|
|
136
137
|
47,
|
|
137
138
|
48,
|
|
138
139
|
49,
|
|
139
|
-
50
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
50,
|
|
141
|
+
51
|
|
142
|
+
], O = [1, 65], k = [26, 28], A = {
|
|
143
|
+
trace: /* @__PURE__ */ p(function() {}, "trace"),
|
|
142
144
|
yy: {},
|
|
143
145
|
symbols_: {
|
|
144
146
|
error: 2,
|
|
@@ -164,32 +166,33 @@ var C = (function() {
|
|
|
164
166
|
acc_descr_value: 22,
|
|
165
167
|
acc_descr_multiline_value: 23,
|
|
166
168
|
SQUARE_BRACES_START: 24,
|
|
167
|
-
|
|
169
|
+
dataPoints: 25,
|
|
168
170
|
SQUARE_BRACES_END: 26,
|
|
169
|
-
|
|
171
|
+
dataPoint: 27,
|
|
170
172
|
COMMA: 28,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
173
|
+
NUMBER_WITH_DECIMAL: 29,
|
|
174
|
+
STR: 30,
|
|
175
|
+
xAxisData: 31,
|
|
176
|
+
bandData: 32,
|
|
177
|
+
ARROW_DELIMITER: 33,
|
|
178
|
+
commaSeparatedTexts: 34,
|
|
179
|
+
yAxisData: 35,
|
|
180
|
+
NEWLINE: 36,
|
|
181
|
+
SEMI: 37,
|
|
182
|
+
EOF: 38,
|
|
183
|
+
alphaNum: 39,
|
|
184
|
+
MD_STR: 40,
|
|
185
|
+
alphaNumToken: 41,
|
|
186
|
+
AMP: 42,
|
|
187
|
+
NUM: 43,
|
|
188
|
+
ALPHA: 44,
|
|
189
|
+
PLUS: 45,
|
|
190
|
+
EQUALS: 46,
|
|
191
|
+
MULT: 47,
|
|
192
|
+
DOT: 48,
|
|
193
|
+
BRKT: 49,
|
|
194
|
+
MINUS: 50,
|
|
195
|
+
UNDERSCORE: 51,
|
|
193
196
|
$accept: 0,
|
|
194
197
|
$end: 1
|
|
195
198
|
},
|
|
@@ -209,24 +212,24 @@ var C = (function() {
|
|
|
209
212
|
23: "acc_descr_multiline_value",
|
|
210
213
|
24: "SQUARE_BRACES_START",
|
|
211
214
|
26: "SQUARE_BRACES_END",
|
|
212
|
-
27: "NUMBER_WITH_DECIMAL",
|
|
213
215
|
28: "COMMA",
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
36: "
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
42: "
|
|
222
|
-
43: "
|
|
223
|
-
44: "
|
|
224
|
-
45: "
|
|
225
|
-
46: "
|
|
226
|
-
47: "
|
|
227
|
-
48: "
|
|
228
|
-
49: "
|
|
229
|
-
50: "
|
|
216
|
+
29: "NUMBER_WITH_DECIMAL",
|
|
217
|
+
30: "STR",
|
|
218
|
+
33: "ARROW_DELIMITER",
|
|
219
|
+
36: "NEWLINE",
|
|
220
|
+
37: "SEMI",
|
|
221
|
+
38: "EOF",
|
|
222
|
+
40: "MD_STR",
|
|
223
|
+
42: "AMP",
|
|
224
|
+
43: "NUM",
|
|
225
|
+
44: "ALPHA",
|
|
226
|
+
45: "PLUS",
|
|
227
|
+
46: "EQUALS",
|
|
228
|
+
47: "MULT",
|
|
229
|
+
48: "DOT",
|
|
230
|
+
49: "BRKT",
|
|
231
|
+
50: "MINUS",
|
|
232
|
+
51: "UNDERSCORE"
|
|
230
233
|
},
|
|
231
234
|
productions_: [
|
|
232
235
|
0,
|
|
@@ -251,38 +254,40 @@ var C = (function() {
|
|
|
251
254
|
[17, 3],
|
|
252
255
|
[25, 3],
|
|
253
256
|
[25, 1],
|
|
257
|
+
[27, 2],
|
|
258
|
+
[27, 1],
|
|
254
259
|
[13, 1],
|
|
255
260
|
[13, 2],
|
|
256
261
|
[13, 1],
|
|
257
|
-
[
|
|
258
|
-
[
|
|
259
|
-
[30, 3],
|
|
262
|
+
[31, 1],
|
|
263
|
+
[31, 3],
|
|
260
264
|
[32, 3],
|
|
261
|
-
[
|
|
265
|
+
[34, 3],
|
|
266
|
+
[34, 1],
|
|
262
267
|
[15, 1],
|
|
263
268
|
[15, 2],
|
|
264
269
|
[15, 1],
|
|
265
|
-
[
|
|
270
|
+
[35, 3],
|
|
266
271
|
[4, 1],
|
|
267
272
|
[4, 1],
|
|
268
273
|
[4, 1],
|
|
269
274
|
[11, 1],
|
|
270
275
|
[11, 1],
|
|
271
276
|
[11, 1],
|
|
272
|
-
[
|
|
273
|
-
[
|
|
274
|
-
[
|
|
275
|
-
[
|
|
276
|
-
[
|
|
277
|
-
[
|
|
278
|
-
[
|
|
279
|
-
[
|
|
280
|
-
[
|
|
281
|
-
[
|
|
282
|
-
[
|
|
283
|
-
[
|
|
277
|
+
[39, 1],
|
|
278
|
+
[39, 2],
|
|
279
|
+
[41, 1],
|
|
280
|
+
[41, 1],
|
|
281
|
+
[41, 1],
|
|
282
|
+
[41, 1],
|
|
283
|
+
[41, 1],
|
|
284
|
+
[41, 1],
|
|
285
|
+
[41, 1],
|
|
286
|
+
[41, 1],
|
|
287
|
+
[41, 1],
|
|
288
|
+
[41, 1]
|
|
284
289
|
],
|
|
285
|
-
performAction: /* @__PURE__ */
|
|
290
|
+
performAction: /* @__PURE__ */ p(function(e, t, n, r, i, a, o) {
|
|
286
291
|
var s = a.length - 1;
|
|
287
292
|
switch (i) {
|
|
288
293
|
case 5:
|
|
@@ -320,109 +325,117 @@ var C = (function() {
|
|
|
320
325
|
this.$ = a[s - 1];
|
|
321
326
|
break;
|
|
322
327
|
case 20:
|
|
323
|
-
|
|
328
|
+
case 30:
|
|
329
|
+
this.$ = [a[s - 2], ...a[s]];
|
|
324
330
|
break;
|
|
325
331
|
case 21:
|
|
326
|
-
|
|
332
|
+
case 31:
|
|
333
|
+
this.$ = [a[s]];
|
|
327
334
|
break;
|
|
328
335
|
case 22:
|
|
329
|
-
|
|
336
|
+
this.$ = {
|
|
337
|
+
value: Number(a[s - 1]),
|
|
338
|
+
label: a[s]
|
|
339
|
+
};
|
|
330
340
|
break;
|
|
331
341
|
case 23:
|
|
332
|
-
|
|
342
|
+
this.$ = {
|
|
343
|
+
value: Number(a[s]),
|
|
344
|
+
label: ""
|
|
345
|
+
};
|
|
333
346
|
break;
|
|
334
347
|
case 24:
|
|
335
|
-
r.setXAxisTitle(
|
|
336
|
-
type: "text",
|
|
337
|
-
text: ""
|
|
338
|
-
});
|
|
348
|
+
r.setXAxisTitle(a[s]);
|
|
339
349
|
break;
|
|
340
350
|
case 25:
|
|
341
|
-
r.
|
|
351
|
+
r.setXAxisTitle(a[s - 1]);
|
|
342
352
|
break;
|
|
343
353
|
case 26:
|
|
344
|
-
r.
|
|
354
|
+
r.setXAxisTitle({
|
|
355
|
+
type: "text",
|
|
356
|
+
text: ""
|
|
357
|
+
});
|
|
345
358
|
break;
|
|
346
359
|
case 27:
|
|
347
|
-
|
|
360
|
+
r.setXAxisBand(a[s]);
|
|
348
361
|
break;
|
|
349
362
|
case 28:
|
|
350
|
-
|
|
363
|
+
r.setXAxisRangeData(Number(a[s - 2]), Number(a[s]));
|
|
351
364
|
break;
|
|
352
365
|
case 29:
|
|
353
|
-
this.$ =
|
|
366
|
+
this.$ = a[s - 1];
|
|
354
367
|
break;
|
|
355
|
-
case
|
|
368
|
+
case 32:
|
|
356
369
|
r.setYAxisTitle(a[s]);
|
|
357
370
|
break;
|
|
358
|
-
case
|
|
371
|
+
case 33:
|
|
359
372
|
r.setYAxisTitle(a[s - 1]);
|
|
360
373
|
break;
|
|
361
|
-
case
|
|
374
|
+
case 34:
|
|
362
375
|
r.setYAxisTitle({
|
|
363
376
|
type: "text",
|
|
364
377
|
text: ""
|
|
365
378
|
});
|
|
366
379
|
break;
|
|
367
|
-
case
|
|
380
|
+
case 35:
|
|
368
381
|
r.setYAxisRangeData(Number(a[s - 2]), Number(a[s]));
|
|
369
382
|
break;
|
|
370
|
-
case
|
|
383
|
+
case 39:
|
|
371
384
|
this.$ = {
|
|
372
385
|
text: a[s],
|
|
373
386
|
type: "text"
|
|
374
387
|
};
|
|
375
388
|
break;
|
|
376
|
-
case
|
|
389
|
+
case 40:
|
|
377
390
|
this.$ = {
|
|
378
391
|
text: a[s],
|
|
379
392
|
type: "text"
|
|
380
393
|
};
|
|
381
394
|
break;
|
|
382
|
-
case
|
|
395
|
+
case 41:
|
|
383
396
|
this.$ = {
|
|
384
397
|
text: a[s],
|
|
385
398
|
type: "markdown"
|
|
386
399
|
};
|
|
387
400
|
break;
|
|
388
|
-
case
|
|
401
|
+
case 42:
|
|
389
402
|
this.$ = a[s];
|
|
390
403
|
break;
|
|
391
|
-
case
|
|
404
|
+
case 43:
|
|
392
405
|
this.$ = a[s - 1] + "" + a[s];
|
|
393
406
|
break;
|
|
394
407
|
}
|
|
395
408
|
}, "anonymous"),
|
|
396
409
|
table: [
|
|
397
|
-
e(
|
|
410
|
+
e(t, n, {
|
|
398
411
|
3: 1,
|
|
399
412
|
4: 2,
|
|
400
413
|
7: 4,
|
|
401
|
-
5:
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
414
|
+
5: r,
|
|
415
|
+
36: i,
|
|
416
|
+
37: a,
|
|
417
|
+
38: o
|
|
405
418
|
}),
|
|
406
419
|
{ 1: [3] },
|
|
407
|
-
e(
|
|
420
|
+
e(t, n, {
|
|
408
421
|
4: 2,
|
|
409
422
|
7: 4,
|
|
410
423
|
3: 8,
|
|
411
|
-
5:
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
424
|
+
5: r,
|
|
425
|
+
36: i,
|
|
426
|
+
37: a,
|
|
427
|
+
38: o
|
|
415
428
|
}),
|
|
416
|
-
e(
|
|
429
|
+
e(t, n, {
|
|
417
430
|
4: 2,
|
|
418
431
|
7: 4,
|
|
419
432
|
6: 9,
|
|
420
433
|
3: 10,
|
|
421
|
-
5:
|
|
434
|
+
5: r,
|
|
422
435
|
8: [1, 11],
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
436
|
+
36: i,
|
|
437
|
+
37: a,
|
|
438
|
+
38: o
|
|
426
439
|
}),
|
|
427
440
|
{
|
|
428
441
|
1: [2, 4],
|
|
@@ -436,123 +449,123 @@ var C = (function() {
|
|
|
436
449
|
21: [1, 19],
|
|
437
450
|
23: [1, 20]
|
|
438
451
|
},
|
|
439
|
-
e(
|
|
440
|
-
e(
|
|
441
|
-
e(
|
|
452
|
+
e(s, [2, 36]),
|
|
453
|
+
e(s, [2, 37]),
|
|
454
|
+
e(s, [2, 38]),
|
|
442
455
|
{ 1: [2, 1] },
|
|
443
|
-
e(
|
|
456
|
+
e(t, n, {
|
|
444
457
|
4: 2,
|
|
445
458
|
7: 4,
|
|
446
459
|
3: 21,
|
|
447
|
-
5:
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
460
|
+
5: r,
|
|
461
|
+
36: i,
|
|
462
|
+
37: a,
|
|
463
|
+
38: o
|
|
451
464
|
}),
|
|
452
465
|
{ 1: [2, 3] },
|
|
453
|
-
e(
|
|
454
|
-
e(
|
|
466
|
+
e(s, [2, 5]),
|
|
467
|
+
e(t, [2, 7], {
|
|
455
468
|
4: 22,
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
469
|
+
36: i,
|
|
470
|
+
37: a,
|
|
471
|
+
38: o
|
|
459
472
|
}),
|
|
460
473
|
{
|
|
461
474
|
11: 23,
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
475
|
+
30: c,
|
|
476
|
+
39: 24,
|
|
477
|
+
40: l,
|
|
478
|
+
41: 27,
|
|
479
|
+
42: u,
|
|
480
|
+
43: d,
|
|
481
|
+
44: f,
|
|
482
|
+
45: m,
|
|
483
|
+
46: h,
|
|
484
|
+
47: g,
|
|
485
|
+
48: _,
|
|
486
|
+
49: v,
|
|
487
|
+
50: y,
|
|
488
|
+
51: b
|
|
476
489
|
},
|
|
477
490
|
{
|
|
478
491
|
11: 39,
|
|
479
492
|
13: 38,
|
|
480
493
|
24: x,
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
494
|
+
29: S,
|
|
495
|
+
30: c,
|
|
496
|
+
31: 40,
|
|
497
|
+
32: 41,
|
|
498
|
+
39: 24,
|
|
499
|
+
40: l,
|
|
500
|
+
41: 27,
|
|
501
|
+
42: u,
|
|
502
|
+
43: d,
|
|
503
|
+
44: f,
|
|
504
|
+
45: m,
|
|
505
|
+
46: h,
|
|
506
|
+
47: g,
|
|
507
|
+
48: _,
|
|
508
|
+
49: v,
|
|
509
|
+
50: y,
|
|
510
|
+
51: b
|
|
498
511
|
},
|
|
499
512
|
{
|
|
500
513
|
11: 45,
|
|
501
514
|
15: 44,
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
515
|
+
29: C,
|
|
516
|
+
30: c,
|
|
517
|
+
35: 46,
|
|
518
|
+
39: 24,
|
|
519
|
+
40: l,
|
|
520
|
+
41: 27,
|
|
521
|
+
42: u,
|
|
522
|
+
43: d,
|
|
523
|
+
44: f,
|
|
524
|
+
45: m,
|
|
525
|
+
46: h,
|
|
526
|
+
47: g,
|
|
527
|
+
48: _,
|
|
528
|
+
49: v,
|
|
529
|
+
50: y,
|
|
530
|
+
51: b
|
|
518
531
|
},
|
|
519
532
|
{
|
|
520
533
|
11: 49,
|
|
521
534
|
17: 48,
|
|
522
535
|
24: w,
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
536
|
+
30: c,
|
|
537
|
+
39: 24,
|
|
538
|
+
40: l,
|
|
539
|
+
41: 27,
|
|
540
|
+
42: u,
|
|
541
|
+
43: d,
|
|
542
|
+
44: f,
|
|
543
|
+
45: m,
|
|
544
|
+
46: h,
|
|
545
|
+
47: g,
|
|
546
|
+
48: _,
|
|
547
|
+
49: v,
|
|
548
|
+
50: y,
|
|
549
|
+
51: b
|
|
537
550
|
},
|
|
538
551
|
{
|
|
539
552
|
11: 52,
|
|
540
553
|
17: 51,
|
|
541
554
|
24: w,
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
555
|
+
30: c,
|
|
556
|
+
39: 24,
|
|
557
|
+
40: l,
|
|
558
|
+
41: 27,
|
|
559
|
+
42: u,
|
|
560
|
+
43: d,
|
|
561
|
+
44: f,
|
|
562
|
+
45: m,
|
|
563
|
+
46: h,
|
|
564
|
+
47: g,
|
|
565
|
+
48: _,
|
|
566
|
+
49: v,
|
|
567
|
+
50: y,
|
|
568
|
+
51: b
|
|
556
569
|
},
|
|
557
570
|
{ 20: [1, 53] },
|
|
558
571
|
{ 22: [1, 54] },
|
|
@@ -560,24 +573,22 @@ var C = (function() {
|
|
|
560
573
|
{ 1: [2, 2] },
|
|
561
574
|
e(T, [2, 8]),
|
|
562
575
|
e(T, [2, 9]),
|
|
563
|
-
e(E, [2,
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
576
|
+
e(E, [2, 39], {
|
|
577
|
+
41: 55,
|
|
578
|
+
42: u,
|
|
579
|
+
43: d,
|
|
580
|
+
44: f,
|
|
581
|
+
45: m,
|
|
582
|
+
46: h,
|
|
583
|
+
47: g,
|
|
584
|
+
48: _,
|
|
585
|
+
49: v,
|
|
586
|
+
50: y,
|
|
587
|
+
51: b
|
|
575
588
|
}),
|
|
576
|
-
e(E, [2,
|
|
577
|
-
e(E, [2,
|
|
578
|
-
e(D, [2, 40]),
|
|
589
|
+
e(E, [2, 40]),
|
|
590
|
+
e(E, [2, 41]),
|
|
579
591
|
e(D, [2, 42]),
|
|
580
|
-
e(D, [2, 43]),
|
|
581
592
|
e(D, [2, 44]),
|
|
582
593
|
e(D, [2, 45]),
|
|
583
594
|
e(D, [2, 46]),
|
|
@@ -586,41 +597,43 @@ var C = (function() {
|
|
|
586
597
|
e(D, [2, 49]),
|
|
587
598
|
e(D, [2, 50]),
|
|
588
599
|
e(D, [2, 51]),
|
|
600
|
+
e(D, [2, 52]),
|
|
601
|
+
e(D, [2, 53]),
|
|
589
602
|
e(T, [2, 10]),
|
|
590
|
-
e(T, [2,
|
|
591
|
-
|
|
592
|
-
|
|
603
|
+
e(T, [2, 24], {
|
|
604
|
+
32: 41,
|
|
605
|
+
31: 56,
|
|
593
606
|
24: x,
|
|
594
|
-
|
|
607
|
+
29: S
|
|
595
608
|
}),
|
|
596
|
-
e(T, [2,
|
|
597
|
-
e(T, [2,
|
|
598
|
-
{
|
|
609
|
+
e(T, [2, 26]),
|
|
610
|
+
e(T, [2, 27]),
|
|
611
|
+
{ 33: [1, 57] },
|
|
599
612
|
{
|
|
600
613
|
11: 59,
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
614
|
+
30: c,
|
|
615
|
+
34: 58,
|
|
616
|
+
39: 24,
|
|
617
|
+
40: l,
|
|
618
|
+
41: 27,
|
|
619
|
+
42: u,
|
|
620
|
+
43: d,
|
|
621
|
+
44: f,
|
|
622
|
+
45: m,
|
|
623
|
+
46: h,
|
|
624
|
+
47: g,
|
|
625
|
+
48: _,
|
|
626
|
+
49: v,
|
|
627
|
+
50: y,
|
|
628
|
+
51: b
|
|
616
629
|
},
|
|
617
630
|
e(T, [2, 11]),
|
|
618
|
-
e(T, [2,
|
|
619
|
-
|
|
620
|
-
|
|
631
|
+
e(T, [2, 32], {
|
|
632
|
+
35: 60,
|
|
633
|
+
29: C
|
|
621
634
|
}),
|
|
622
|
-
e(T, [2,
|
|
623
|
-
{
|
|
635
|
+
e(T, [2, 34]),
|
|
636
|
+
{ 33: [1, 61] },
|
|
624
637
|
e(T, [2, 12]),
|
|
625
638
|
{
|
|
626
639
|
17: 62,
|
|
@@ -628,97 +641,101 @@ var C = (function() {
|
|
|
628
641
|
},
|
|
629
642
|
{
|
|
630
643
|
25: 63,
|
|
631
|
-
27:
|
|
644
|
+
27: 64,
|
|
645
|
+
29: O
|
|
632
646
|
},
|
|
633
647
|
e(T, [2, 14]),
|
|
634
648
|
{
|
|
635
|
-
17:
|
|
649
|
+
17: 66,
|
|
636
650
|
24: w
|
|
637
651
|
},
|
|
638
652
|
e(T, [2, 16]),
|
|
639
653
|
e(T, [2, 17]),
|
|
640
|
-
e(D, [2,
|
|
641
|
-
e(T, [2,
|
|
642
|
-
{
|
|
643
|
-
{ 26: [1,
|
|
654
|
+
e(D, [2, 43]),
|
|
655
|
+
e(T, [2, 25]),
|
|
656
|
+
{ 29: [1, 67] },
|
|
657
|
+
{ 26: [1, 68] },
|
|
644
658
|
{
|
|
645
|
-
26: [2,
|
|
646
|
-
28: [1,
|
|
659
|
+
26: [2, 31],
|
|
660
|
+
28: [1, 69]
|
|
647
661
|
},
|
|
648
|
-
e(T, [2,
|
|
649
|
-
{
|
|
662
|
+
e(T, [2, 33]),
|
|
663
|
+
{ 29: [1, 70] },
|
|
650
664
|
e(T, [2, 13]),
|
|
651
|
-
{ 26: [1,
|
|
665
|
+
{ 26: [1, 71] },
|
|
652
666
|
{
|
|
653
667
|
26: [2, 21],
|
|
654
|
-
28: [1,
|
|
668
|
+
28: [1, 72]
|
|
655
669
|
},
|
|
670
|
+
e(k, [2, 23], { 30: [1, 73] }),
|
|
656
671
|
e(T, [2, 15]),
|
|
657
|
-
e(T, [2,
|
|
658
|
-
e(T, [2,
|
|
672
|
+
e(T, [2, 28]),
|
|
673
|
+
e(T, [2, 29]),
|
|
659
674
|
{
|
|
660
675
|
11: 59,
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
+
30: c,
|
|
677
|
+
34: 74,
|
|
678
|
+
39: 24,
|
|
679
|
+
40: l,
|
|
680
|
+
41: 27,
|
|
681
|
+
42: u,
|
|
682
|
+
43: d,
|
|
683
|
+
44: f,
|
|
684
|
+
45: m,
|
|
685
|
+
46: h,
|
|
686
|
+
47: g,
|
|
687
|
+
48: _,
|
|
688
|
+
49: v,
|
|
689
|
+
50: y,
|
|
690
|
+
51: b
|
|
676
691
|
},
|
|
677
|
-
e(T, [2,
|
|
692
|
+
e(T, [2, 35]),
|
|
678
693
|
e(T, [2, 19]),
|
|
679
694
|
{
|
|
680
|
-
25:
|
|
681
|
-
27:
|
|
695
|
+
25: 75,
|
|
696
|
+
27: 64,
|
|
697
|
+
29: O
|
|
682
698
|
},
|
|
683
|
-
|
|
699
|
+
e(k, [2, 22]),
|
|
700
|
+
{ 26: [2, 30] },
|
|
684
701
|
{ 26: [2, 20] }
|
|
685
702
|
],
|
|
686
703
|
defaultActions: {
|
|
687
704
|
8: [2, 1],
|
|
688
705
|
10: [2, 3],
|
|
689
706
|
21: [2, 2],
|
|
690
|
-
|
|
691
|
-
|
|
707
|
+
74: [2, 30],
|
|
708
|
+
75: [2, 20]
|
|
692
709
|
},
|
|
693
|
-
parseError: /* @__PURE__ */
|
|
710
|
+
parseError: /* @__PURE__ */ p(function(e, t) {
|
|
694
711
|
if (t.recoverable) this.trace(e);
|
|
695
712
|
else {
|
|
696
713
|
var n = Error(e);
|
|
697
714
|
throw n.hash = t, n;
|
|
698
715
|
}
|
|
699
716
|
}, "parseError"),
|
|
700
|
-
parse: /* @__PURE__ */
|
|
701
|
-
var
|
|
717
|
+
parse: /* @__PURE__ */ p(function(e) {
|
|
718
|
+
var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2, f = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
|
|
702
719
|
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
703
720
|
h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
704
721
|
var v = h.yylloc;
|
|
705
|
-
|
|
722
|
+
a.push(v);
|
|
706
723
|
var y = h.options && h.options.ranges;
|
|
707
724
|
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
708
725
|
function b(e) {
|
|
709
|
-
|
|
726
|
+
n.length -= 2 * e, i.length -= e, a.length -= e;
|
|
710
727
|
}
|
|
711
|
-
|
|
728
|
+
p(b, "popStack");
|
|
712
729
|
function x() {
|
|
713
|
-
var e =
|
|
714
|
-
return typeof e != "number" && (e instanceof Array && (
|
|
730
|
+
var e = r.pop() || h.lex() || f;
|
|
731
|
+
return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
|
|
715
732
|
}
|
|
716
|
-
|
|
733
|
+
p(x, "lex");
|
|
717
734
|
for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
|
|
718
|
-
if (w =
|
|
735
|
+
if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = o[w] && o[w][S]), T === void 0 || !T.length || !T[0]) {
|
|
719
736
|
var M = "";
|
|
720
|
-
for (O in j = [],
|
|
721
|
-
M = h.showPosition ? "Parse error on line " + (
|
|
737
|
+
for (O in j = [], o[w]) this.terminals_[O] && O > d && j.push("'" + this.terminals_[O] + "'");
|
|
738
|
+
M = h.showPosition ? "Parse error on line " + (c + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (S == f ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
|
|
722
739
|
text: h.match,
|
|
723
740
|
token: this.terminals_[S] || S,
|
|
724
741
|
line: h.yylineno,
|
|
@@ -729,24 +746,24 @@ var C = (function() {
|
|
|
729
746
|
if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
|
|
730
747
|
switch (T[0]) {
|
|
731
748
|
case 1:
|
|
732
|
-
|
|
749
|
+
n.push(S), i.push(h.yytext), a.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (l = h.yyleng, s = h.yytext, c = h.yylineno, v = h.yylloc, u > 0 && u--);
|
|
733
750
|
break;
|
|
734
751
|
case 2:
|
|
735
|
-
if (k = this.productions_[T[1]][1], D.$ =
|
|
736
|
-
first_line:
|
|
737
|
-
last_line:
|
|
738
|
-
first_column:
|
|
739
|
-
last_column:
|
|
740
|
-
}, y && (D._$.range = [
|
|
741
|
-
|
|
742
|
-
u,
|
|
752
|
+
if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
|
|
753
|
+
first_line: a[a.length - (k || 1)].first_line,
|
|
754
|
+
last_line: a[a.length - 1].last_line,
|
|
755
|
+
first_column: a[a.length - (k || 1)].first_column,
|
|
756
|
+
last_column: a[a.length - 1].last_column
|
|
757
|
+
}, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
|
|
758
|
+
s,
|
|
743
759
|
l,
|
|
760
|
+
c,
|
|
744
761
|
g.yy,
|
|
745
762
|
T[1],
|
|
746
|
-
|
|
747
|
-
|
|
763
|
+
i,
|
|
764
|
+
a
|
|
748
765
|
].concat(m)), E !== void 0) return E;
|
|
749
|
-
k && (
|
|
766
|
+
k && (n = n.slice(0, -1 * k * 2), i = i.slice(0, -1 * k), a = a.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), i.push(D.$), a.push(D._$), A = o[n[n.length - 2]][n[n.length - 1]], n.push(A);
|
|
750
767
|
break;
|
|
751
768
|
case 3: return !0;
|
|
752
769
|
}
|
|
@@ -754,14 +771,14 @@ var C = (function() {
|
|
|
754
771
|
return !0;
|
|
755
772
|
}, "parse")
|
|
756
773
|
};
|
|
757
|
-
|
|
774
|
+
A.lexer = /* @__PURE__ */ (function() {
|
|
758
775
|
return {
|
|
759
776
|
EOF: 1,
|
|
760
|
-
parseError: /* @__PURE__ */
|
|
777
|
+
parseError: /* @__PURE__ */ p(function(e, t) {
|
|
761
778
|
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
762
779
|
else throw Error(e);
|
|
763
780
|
}, "parseError"),
|
|
764
|
-
setInput: /* @__PURE__ */
|
|
781
|
+
setInput: /* @__PURE__ */ p(function(e, t) {
|
|
765
782
|
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 = {
|
|
766
783
|
first_line: 1,
|
|
767
784
|
first_column: 0,
|
|
@@ -769,11 +786,11 @@ var C = (function() {
|
|
|
769
786
|
last_column: 0
|
|
770
787
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
771
788
|
}, "setInput"),
|
|
772
|
-
input: /* @__PURE__ */
|
|
789
|
+
input: /* @__PURE__ */ p(function() {
|
|
773
790
|
var e = this._input[0];
|
|
774
791
|
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;
|
|
775
792
|
}, "input"),
|
|
776
|
-
unput: /* @__PURE__ */
|
|
793
|
+
unput: /* @__PURE__ */ p(function(e) {
|
|
777
794
|
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
778
795
|
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
779
796
|
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
@@ -786,10 +803,10 @@ var C = (function() {
|
|
|
786
803
|
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
|
|
787
804
|
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
788
805
|
}, "unput"),
|
|
789
|
-
more: /* @__PURE__ */
|
|
806
|
+
more: /* @__PURE__ */ p(function() {
|
|
790
807
|
return this._more = !0, this;
|
|
791
808
|
}, "more"),
|
|
792
|
-
reject: /* @__PURE__ */
|
|
809
|
+
reject: /* @__PURE__ */ p(function() {
|
|
793
810
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
794
811
|
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(), {
|
|
795
812
|
text: "",
|
|
@@ -798,22 +815,22 @@ var C = (function() {
|
|
|
798
815
|
});
|
|
799
816
|
return this;
|
|
800
817
|
}, "reject"),
|
|
801
|
-
less: /* @__PURE__ */
|
|
818
|
+
less: /* @__PURE__ */ p(function(e) {
|
|
802
819
|
this.unput(this.match.slice(e));
|
|
803
820
|
}, "less"),
|
|
804
|
-
pastInput: /* @__PURE__ */
|
|
821
|
+
pastInput: /* @__PURE__ */ p(function() {
|
|
805
822
|
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
806
823
|
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
807
824
|
}, "pastInput"),
|
|
808
|
-
upcomingInput: /* @__PURE__ */
|
|
825
|
+
upcomingInput: /* @__PURE__ */ p(function() {
|
|
809
826
|
var e = this.match;
|
|
810
827
|
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
811
828
|
}, "upcomingInput"),
|
|
812
|
-
showPosition: /* @__PURE__ */
|
|
829
|
+
showPosition: /* @__PURE__ */ p(function() {
|
|
813
830
|
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
814
831
|
return e + this.upcomingInput() + "\n" + t + "^";
|
|
815
832
|
}, "showPosition"),
|
|
816
|
-
test_match: /* @__PURE__ */
|
|
833
|
+
test_match: /* @__PURE__ */ p(function(e, t) {
|
|
817
834
|
var n, r, i;
|
|
818
835
|
if (this.options.backtrack_lexer && (i = {
|
|
819
836
|
yylineno: this.yylineno,
|
|
@@ -846,7 +863,7 @@ var C = (function() {
|
|
|
846
863
|
}
|
|
847
864
|
return !1;
|
|
848
865
|
}, "test_match"),
|
|
849
|
-
next: /* @__PURE__ */
|
|
866
|
+
next: /* @__PURE__ */ p(function() {
|
|
850
867
|
if (this.done) return this.EOF;
|
|
851
868
|
this._input || (this.done = !0);
|
|
852
869
|
var e, t, n, r;
|
|
@@ -866,35 +883,35 @@ var C = (function() {
|
|
|
866
883
|
line: this.yylineno
|
|
867
884
|
});
|
|
868
885
|
}, "next"),
|
|
869
|
-
lex: /* @__PURE__ */
|
|
886
|
+
lex: /* @__PURE__ */ p(function() {
|
|
870
887
|
return this.next() || this.lex();
|
|
871
888
|
}, "lex"),
|
|
872
|
-
begin: /* @__PURE__ */
|
|
889
|
+
begin: /* @__PURE__ */ p(function(e) {
|
|
873
890
|
this.conditionStack.push(e);
|
|
874
891
|
}, "begin"),
|
|
875
|
-
popState: /* @__PURE__ */
|
|
892
|
+
popState: /* @__PURE__ */ p(function() {
|
|
876
893
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
877
894
|
}, "popState"),
|
|
878
|
-
_currentRules: /* @__PURE__ */
|
|
895
|
+
_currentRules: /* @__PURE__ */ p(function() {
|
|
879
896
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
880
897
|
}, "_currentRules"),
|
|
881
|
-
topState: /* @__PURE__ */
|
|
898
|
+
topState: /* @__PURE__ */ p(function(e) {
|
|
882
899
|
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
883
900
|
}, "topState"),
|
|
884
|
-
pushState: /* @__PURE__ */
|
|
901
|
+
pushState: /* @__PURE__ */ p(function(e) {
|
|
885
902
|
this.begin(e);
|
|
886
903
|
}, "pushState"),
|
|
887
|
-
stateStackSize: /* @__PURE__ */
|
|
904
|
+
stateStackSize: /* @__PURE__ */ p(function() {
|
|
888
905
|
return this.conditionStack.length;
|
|
889
906
|
}, "stateStackSize"),
|
|
890
907
|
options: { "case-insensitive": !0 },
|
|
891
|
-
performAction: /* @__PURE__ */
|
|
908
|
+
performAction: /* @__PURE__ */ p(function(e, t, n, r) {
|
|
892
909
|
switch (n) {
|
|
893
910
|
case 0: break;
|
|
894
911
|
case 1: break;
|
|
895
|
-
case 2: return this.popState(),
|
|
896
|
-
case 3: return this.popState(),
|
|
897
|
-
case 4: return
|
|
912
|
+
case 2: return this.popState(), 36;
|
|
913
|
+
case 3: return this.popState(), 36;
|
|
914
|
+
case 4: return 36;
|
|
898
915
|
case 5: break;
|
|
899
916
|
case 6: return 10;
|
|
900
917
|
case 7: return this.pushState("acc_title"), 19;
|
|
@@ -914,11 +931,11 @@ var C = (function() {
|
|
|
914
931
|
case 17: return this.pushState("axis_data"), "X_AXIS";
|
|
915
932
|
case 18: return this.pushState("axis_data"), "Y_AXIS";
|
|
916
933
|
case 19: return this.pushState("axis_band_data"), 24;
|
|
917
|
-
case 20: return
|
|
934
|
+
case 20: return 33;
|
|
918
935
|
case 21: return this.pushState("data"), 16;
|
|
919
936
|
case 22: return this.pushState("data"), 18;
|
|
920
937
|
case 23: return this.pushState("data_inner"), 24;
|
|
921
|
-
case 24: return
|
|
938
|
+
case 24: return 29;
|
|
922
939
|
case 25: return this.popState(), 26;
|
|
923
940
|
case 26:
|
|
924
941
|
this.popState();
|
|
@@ -932,21 +949,21 @@ var C = (function() {
|
|
|
932
949
|
case 29: return "STR";
|
|
933
950
|
case 30: return 24;
|
|
934
951
|
case 31: return 26;
|
|
935
|
-
case 32: return
|
|
952
|
+
case 32: return 44;
|
|
936
953
|
case 33: return "COLON";
|
|
937
|
-
case 34: return
|
|
954
|
+
case 34: return 45;
|
|
938
955
|
case 35: return 28;
|
|
939
|
-
case 36: return
|
|
940
|
-
case 37: return
|
|
941
|
-
case 38: return
|
|
942
|
-
case 39: return
|
|
943
|
-
case 40: return
|
|
944
|
-
case 41: return
|
|
945
|
-
case 42: return
|
|
946
|
-
case 43: return
|
|
956
|
+
case 36: return 46;
|
|
957
|
+
case 37: return 47;
|
|
958
|
+
case 38: return 49;
|
|
959
|
+
case 39: return 51;
|
|
960
|
+
case 40: return 48;
|
|
961
|
+
case 41: return 42;
|
|
962
|
+
case 42: return 50;
|
|
963
|
+
case 43: return 43;
|
|
947
964
|
case 44: break;
|
|
948
|
-
case 45: return
|
|
949
|
-
case 46: return
|
|
965
|
+
case 45: return 37;
|
|
966
|
+
case 46: return 38;
|
|
950
967
|
}
|
|
951
968
|
}, "anonymous"),
|
|
952
969
|
rules: [
|
|
@@ -1230,31 +1247,31 @@ var C = (function() {
|
|
|
1230
1247
|
}
|
|
1231
1248
|
};
|
|
1232
1249
|
})();
|
|
1233
|
-
function
|
|
1250
|
+
function j() {
|
|
1234
1251
|
this.yy = {};
|
|
1235
1252
|
}
|
|
1236
|
-
return
|
|
1253
|
+
return p(j, "Parser"), j.prototype = A, A.Parser = j, new j();
|
|
1237
1254
|
})();
|
|
1238
1255
|
C.parser = C;
|
|
1239
1256
|
var w = C;
|
|
1240
1257
|
function T(e) {
|
|
1241
1258
|
return e.type === "bar";
|
|
1242
1259
|
}
|
|
1243
|
-
|
|
1260
|
+
p(T, "isBarPlot");
|
|
1244
1261
|
function E(e) {
|
|
1245
1262
|
return e.type === "band";
|
|
1246
1263
|
}
|
|
1247
|
-
|
|
1264
|
+
p(E, "isBandAxisData");
|
|
1248
1265
|
function D(e) {
|
|
1249
1266
|
return e.type === "linear";
|
|
1250
1267
|
}
|
|
1251
|
-
|
|
1268
|
+
p(D, "isLinearAxisData");
|
|
1252
1269
|
var O = class {
|
|
1253
1270
|
constructor(e) {
|
|
1254
1271
|
this.parentGroup = e;
|
|
1255
1272
|
}
|
|
1256
1273
|
static {
|
|
1257
|
-
|
|
1274
|
+
p(this, "TextDimensionCalculatorWithFont");
|
|
1258
1275
|
}
|
|
1259
1276
|
getMaxDimension(e, t) {
|
|
1260
1277
|
if (!this.parentGroup) return {
|
|
@@ -1278,15 +1295,15 @@ var O = class {
|
|
|
1278
1295
|
y: 0,
|
|
1279
1296
|
width: 0,
|
|
1280
1297
|
height: 0
|
|
1281
|
-
}, this.axisPosition = "left", this.showTitle = !1, this.showLabel = !1, this.showTick = !1, this.showAxisLine = !1, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.range = [0, 10], this.boundingRect = {
|
|
1298
|
+
}, this.axisPosition = "left", this.showTitle = !1, this.showLabel = !1, this.showTick = !1, this.showAxisLine = !1, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.normalizedLabelRotationInRad = 0, this.range = [0, 10], this.boundingRect = {
|
|
1282
1299
|
x: 0,
|
|
1283
1300
|
y: 0,
|
|
1284
1301
|
width: 0,
|
|
1285
1302
|
height: 0
|
|
1286
|
-
}, this.axisPosition = "left";
|
|
1303
|
+
}, this.axisPosition = "left", this.normalizedLabelRotationInRad = this.axisConfig.labelRotation >= -90 && this.axisConfig.labelRotation <= 90 ? this.axisConfig.labelRotation * Math.PI / 180 : 0;
|
|
1287
1304
|
}
|
|
1288
1305
|
static {
|
|
1289
|
-
|
|
1306
|
+
p(this, "BaseAxis");
|
|
1290
1307
|
}
|
|
1291
1308
|
setRange(e) {
|
|
1292
1309
|
this.range = e, this.axisPosition === "left" || this.axisPosition === "right" ? this.boundingRect.height = e[1] - e[0] : this.boundingRect.width = e[1] - e[0], this.recalculateScale();
|
|
@@ -1315,8 +1332,8 @@ var O = class {
|
|
|
1315
1332
|
if (this.axisConfig.showAxisLine && t > this.axisConfig.axisLineWidth && (t -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
|
|
1316
1333
|
let n = this.getLabelDimension(), r = A * e.width;
|
|
1317
1334
|
this.outerPadding = Math.min(n.width / 2, r);
|
|
1318
|
-
let i = n.height
|
|
1319
|
-
this.labelTextHeight = n.height, i <= t && (t -= i, this.showLabel = !0);
|
|
1335
|
+
let i = n.height;
|
|
1336
|
+
this.axisPosition === "bottom" && this.normalizedLabelRotationInRad !== 0 && (i = Math.max(i, Math.abs(Math.sin(this.normalizedLabelRotationInRad) * n.width) + Math.abs(Math.cos(this.normalizedLabelRotationInRad) * n.height))), i += this.axisConfig.labelPadding * 2, this.labelTextHeight = n.height, i <= t && (t -= i, this.showLabel = !0);
|
|
1320
1337
|
}
|
|
1321
1338
|
if (this.axisConfig.showTick && t >= this.axisConfig.tickLength && (this.showTick = !0, t -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
|
|
1322
1339
|
let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), n = e.height + this.axisConfig.titlePadding * 2;
|
|
@@ -1347,6 +1364,10 @@ var O = class {
|
|
|
1347
1364
|
setBoundingBoxXY(e) {
|
|
1348
1365
|
this.boundingRect.x = e.x, this.boundingRect.y = e.y;
|
|
1349
1366
|
}
|
|
1367
|
+
calculateOffsetByRotation(e) {
|
|
1368
|
+
let t = this.normalizedLabelRotationInRad;
|
|
1369
|
+
return t === 0 ? 0 : Math.sin(t) * this.getLabelDimension()[e] / 2;
|
|
1370
|
+
}
|
|
1350
1371
|
getDrawableElementsForLeftAxis() {
|
|
1351
1372
|
let e = [];
|
|
1352
1373
|
if (this.showAxisLine) {
|
|
@@ -1420,11 +1441,11 @@ var O = class {
|
|
|
1420
1441
|
groupTexts: ["bottom-axis", "label"],
|
|
1421
1442
|
data: this.getTickValues().map((e) => ({
|
|
1422
1443
|
text: e.toString(),
|
|
1423
|
-
x: this.getScaleValue(e),
|
|
1424
|
-
y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
|
|
1444
|
+
x: this.getScaleValue(e) + this.calculateOffsetByRotation("height"),
|
|
1445
|
+
y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0) + Math.abs(this.calculateOffsetByRotation("width")),
|
|
1425
1446
|
fill: this.axisThemeConfig.labelColor,
|
|
1426
1447
|
fontSize: this.axisConfig.labelFontSize,
|
|
1427
|
-
rotation:
|
|
1448
|
+
rotation: this.normalizedLabelRotationInRad * 180 / Math.PI,
|
|
1428
1449
|
verticalPos: "top",
|
|
1429
1450
|
horizontalPos: "center"
|
|
1430
1451
|
}))
|
|
@@ -1516,7 +1537,7 @@ var O = class {
|
|
|
1516
1537
|
}
|
|
1517
1538
|
}, M = class extends j {
|
|
1518
1539
|
static {
|
|
1519
|
-
|
|
1540
|
+
p(this, "BandAxis");
|
|
1520
1541
|
}
|
|
1521
1542
|
constructor(e, t, n, r, i) {
|
|
1522
1543
|
super(e, r, i, t), this.categories = n, this.scale = S().domain(this.categories).range(this.getRange());
|
|
@@ -1535,7 +1556,7 @@ var O = class {
|
|
|
1535
1556
|
}
|
|
1536
1557
|
}, ee = class extends j {
|
|
1537
1558
|
static {
|
|
1538
|
-
|
|
1559
|
+
p(this, "LinearAxis");
|
|
1539
1560
|
}
|
|
1540
1561
|
constructor(e, t, n, r, i) {
|
|
1541
1562
|
super(e, r, i, t), this.domain = n, this.scale = m().domain(this.domain).range(this.getRange());
|
|
@@ -1555,7 +1576,7 @@ function N(e, t, n, r) {
|
|
|
1555
1576
|
let i = new O(r);
|
|
1556
1577
|
return E(e) ? new M(t, n, e.categories, e.title, i) : new ee(t, n, [e.min, e.max], e.title, i);
|
|
1557
1578
|
}
|
|
1558
|
-
|
|
1579
|
+
p(N, "getAxis");
|
|
1559
1580
|
var te = class {
|
|
1560
1581
|
constructor(e, t, n, r) {
|
|
1561
1582
|
this.textDimensionCalculator = e, this.chartConfig = t, this.chartData = n, this.chartThemeConfig = r, this.boundingRect = {
|
|
@@ -1566,7 +1587,7 @@ var te = class {
|
|
|
1566
1587
|
}, this.showChartTitle = !1;
|
|
1567
1588
|
}
|
|
1568
1589
|
static {
|
|
1569
|
-
|
|
1590
|
+
p(this, "ChartTitle");
|
|
1570
1591
|
}
|
|
1571
1592
|
setBoundingBoxXY(e) {
|
|
1572
1593
|
this.boundingRect.x = e.x, this.boundingRect.y = e.y;
|
|
@@ -1596,20 +1617,109 @@ var te = class {
|
|
|
1596
1617
|
}), e;
|
|
1597
1618
|
}
|
|
1598
1619
|
};
|
|
1599
|
-
function
|
|
1620
|
+
function P(e, t, n, r) {
|
|
1600
1621
|
return new te(new O(r), e, t, n);
|
|
1601
1622
|
}
|
|
1602
|
-
|
|
1603
|
-
var re =
|
|
1623
|
+
p(P, "getChartTitleComponent");
|
|
1624
|
+
var ne = .75, re = .5, ie = .35;
|
|
1625
|
+
function F(e) {
|
|
1626
|
+
return {
|
|
1627
|
+
fontSize: e,
|
|
1628
|
+
markerSize: e * ne,
|
|
1629
|
+
markerSpacing: e * ie,
|
|
1630
|
+
itemSpacing: e * re
|
|
1631
|
+
};
|
|
1632
|
+
}
|
|
1633
|
+
p(F, "getLegendLayout");
|
|
1634
|
+
var ae = class {
|
|
1635
|
+
constructor(e, t, n, r) {
|
|
1636
|
+
this.textDimensionCalculator = e, this.chartConfig = t, this.chartData = n, this.chartThemeConfig = r, this.boundingRect = {
|
|
1637
|
+
x: 0,
|
|
1638
|
+
y: 0,
|
|
1639
|
+
width: 0,
|
|
1640
|
+
height: 0
|
|
1641
|
+
}, this.visiblePlots = [];
|
|
1642
|
+
}
|
|
1643
|
+
static {
|
|
1644
|
+
p(this, "ChartLegend");
|
|
1645
|
+
}
|
|
1646
|
+
setBoundingBoxXY(e) {
|
|
1647
|
+
this.boundingRect.x = e.x, this.boundingRect.y = e.y;
|
|
1648
|
+
}
|
|
1649
|
+
calculateSpace(e) {
|
|
1650
|
+
if (this.visiblePlots = this.chartConfig.showLegend ? this.chartData.plots.filter((e) => e.title) : [], this.visiblePlots.length === 0) return this.boundingRect.width = 0, this.boundingRect.height = 0, {
|
|
1651
|
+
width: 0,
|
|
1652
|
+
height: 0
|
|
1653
|
+
};
|
|
1654
|
+
let { fontSize: t, markerSize: n, markerSpacing: r, itemSpacing: i } = F(this.chartConfig.legendFontSize), a = this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map((e) => e.title), t), o = this.chartConfig.legendPadding * 2 + n + r + a.width, s = this.chartConfig.legendPadding * 2 + this.visiblePlots.length * t + (this.visiblePlots.length - 1) * i;
|
|
1655
|
+
return o <= e.width && s <= e.height ? (this.boundingRect.width = o, this.boundingRect.height = s) : (this.visiblePlots = [], this.boundingRect.width = 0, this.boundingRect.height = 0), {
|
|
1656
|
+
width: this.boundingRect.width,
|
|
1657
|
+
height: this.boundingRect.height
|
|
1658
|
+
};
|
|
1659
|
+
}
|
|
1660
|
+
getDrawableElements() {
|
|
1661
|
+
if (this.visiblePlots.length === 0) return [];
|
|
1662
|
+
let { fontSize: e, markerSize: t, markerSpacing: n, itemSpacing: r } = F(this.chartConfig.legendFontSize), i = e + r, a = this.boundingRect.x + this.chartConfig.legendPadding, o = this.boundingRect.y + this.chartConfig.legendPadding, s = [], c = [];
|
|
1663
|
+
for (let [e, n] of this.visiblePlots.entries()) if (T(n)) s.push({
|
|
1664
|
+
x: a,
|
|
1665
|
+
y: o + e * i,
|
|
1666
|
+
width: t,
|
|
1667
|
+
height: t,
|
|
1668
|
+
fill: n.fill,
|
|
1669
|
+
strokeFill: n.fill,
|
|
1670
|
+
strokeWidth: 0
|
|
1671
|
+
});
|
|
1672
|
+
else {
|
|
1673
|
+
let r = o + e * i + t / 2;
|
|
1674
|
+
c.push({
|
|
1675
|
+
path: `M ${a},${r} L ${a + t},${r}`,
|
|
1676
|
+
strokeFill: n.strokeFill,
|
|
1677
|
+
strokeWidth: n.strokeWidth
|
|
1678
|
+
});
|
|
1679
|
+
}
|
|
1680
|
+
return [
|
|
1681
|
+
{
|
|
1682
|
+
groupTexts: ["legend", "markers"],
|
|
1683
|
+
type: "rect",
|
|
1684
|
+
data: s
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
groupTexts: ["legend", "markers"],
|
|
1688
|
+
type: "path",
|
|
1689
|
+
data: c
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
groupTexts: ["legend", "label"],
|
|
1693
|
+
type: "text",
|
|
1694
|
+
data: this.visiblePlots.map((r, s) => ({
|
|
1695
|
+
text: r.title,
|
|
1696
|
+
x: a + t + n,
|
|
1697
|
+
y: o + s * i + t / 2,
|
|
1698
|
+
fill: this.chartThemeConfig.legendTextColor,
|
|
1699
|
+
fontSize: e,
|
|
1700
|
+
rotation: 0,
|
|
1701
|
+
verticalPos: "middle",
|
|
1702
|
+
horizontalPos: "left"
|
|
1703
|
+
}))
|
|
1704
|
+
}
|
|
1705
|
+
];
|
|
1706
|
+
}
|
|
1707
|
+
};
|
|
1708
|
+
function I(e, t, n, r) {
|
|
1709
|
+
return new ae(new O(r), e, t, n);
|
|
1710
|
+
}
|
|
1711
|
+
p(I, "getChartLegendComponent");
|
|
1712
|
+
var oe = class {
|
|
1604
1713
|
constructor(e, t, n, r, i) {
|
|
1605
1714
|
this.plotData = e, this.xAxis = t, this.yAxis = n, this.orientation = r, this.plotIndex = i;
|
|
1606
1715
|
}
|
|
1607
1716
|
static {
|
|
1608
|
-
|
|
1717
|
+
p(this, "LinePlot");
|
|
1609
1718
|
}
|
|
1610
1719
|
getDrawableElement() {
|
|
1611
1720
|
let e = this.plotData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t;
|
|
1612
|
-
|
|
1721
|
+
if (t = this.orientation === "horizontal" ? v().y((e) => e[0]).x((e) => e[1])(e) : v().x((e) => e[0]).y((e) => e[1])(e), !t) return [];
|
|
1722
|
+
let n = [{
|
|
1613
1723
|
groupTexts: ["plot", `line-plot-${this.plotIndex}`],
|
|
1614
1724
|
type: "path",
|
|
1615
1725
|
data: [{
|
|
@@ -1617,14 +1727,49 @@ var re = class {
|
|
|
1617
1727
|
strokeFill: this.plotData.strokeFill,
|
|
1618
1728
|
strokeWidth: this.plotData.strokeWidth
|
|
1619
1729
|
}]
|
|
1620
|
-
}]
|
|
1730
|
+
}];
|
|
1731
|
+
if (this.plotData.pointLabels && this.plotData.pointLabels.length > 0) {
|
|
1732
|
+
let t = [];
|
|
1733
|
+
for (let [n, [r, i]] of e.entries()) {
|
|
1734
|
+
let e = this.plotData.pointLabels[n];
|
|
1735
|
+
e && (this.orientation === "horizontal" ? t.push({
|
|
1736
|
+
x: i + 10,
|
|
1737
|
+
y: r,
|
|
1738
|
+
text: e,
|
|
1739
|
+
fill: this.plotData.strokeFill,
|
|
1740
|
+
verticalPos: "middle",
|
|
1741
|
+
horizontalPos: "left",
|
|
1742
|
+
fontSize: 12,
|
|
1743
|
+
rotation: 0
|
|
1744
|
+
}) : t.push({
|
|
1745
|
+
x: r,
|
|
1746
|
+
y: i - 10,
|
|
1747
|
+
text: e,
|
|
1748
|
+
fill: this.plotData.strokeFill,
|
|
1749
|
+
verticalPos: "middle",
|
|
1750
|
+
horizontalPos: "center",
|
|
1751
|
+
fontSize: 12,
|
|
1752
|
+
rotation: 0
|
|
1753
|
+
}));
|
|
1754
|
+
}
|
|
1755
|
+
t.length > 0 && n.push({
|
|
1756
|
+
groupTexts: [
|
|
1757
|
+
"plot",
|
|
1758
|
+
`line-plot-${this.plotIndex}`,
|
|
1759
|
+
"labels"
|
|
1760
|
+
],
|
|
1761
|
+
type: "text",
|
|
1762
|
+
data: t
|
|
1763
|
+
});
|
|
1764
|
+
}
|
|
1765
|
+
return n;
|
|
1621
1766
|
}
|
|
1622
|
-
},
|
|
1767
|
+
}, se = class {
|
|
1623
1768
|
constructor(e, t, n, r, i, a) {
|
|
1624
1769
|
this.barData = e, this.boundingRect = t, this.xAxis = n, this.yAxis = r, this.orientation = i, this.plotIndex = a;
|
|
1625
1770
|
}
|
|
1626
1771
|
static {
|
|
1627
|
-
|
|
1772
|
+
p(this, "BarPlot");
|
|
1628
1773
|
}
|
|
1629
1774
|
getDrawableElement() {
|
|
1630
1775
|
let e = this.barData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t = Math.min(this.xAxis.getAxisOuterPadding() * 2, this.xAxis.getTickDistance()) * .95, n = t / 2;
|
|
@@ -1654,7 +1799,7 @@ var re = class {
|
|
|
1654
1799
|
}))
|
|
1655
1800
|
}];
|
|
1656
1801
|
}
|
|
1657
|
-
},
|
|
1802
|
+
}, ce = class {
|
|
1658
1803
|
constructor(e, t, n) {
|
|
1659
1804
|
this.chartConfig = e, this.chartData = t, this.chartThemeConfig = n, this.boundingRect = {
|
|
1660
1805
|
x: 0,
|
|
@@ -1664,7 +1809,7 @@ var re = class {
|
|
|
1664
1809
|
};
|
|
1665
1810
|
}
|
|
1666
1811
|
static {
|
|
1667
|
-
|
|
1812
|
+
p(this, "BasePlot");
|
|
1668
1813
|
}
|
|
1669
1814
|
setAxes(e, t) {
|
|
1670
1815
|
this.xAxis = e, this.yAxis = t;
|
|
@@ -1684,13 +1829,13 @@ var re = class {
|
|
|
1684
1829
|
for (let [t, n] of this.chartData.plots.entries()) switch (n.type) {
|
|
1685
1830
|
case "line":
|
|
1686
1831
|
{
|
|
1687
|
-
let r = new
|
|
1832
|
+
let r = new oe(n, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
|
|
1688
1833
|
e.push(...r.getDrawableElement());
|
|
1689
1834
|
}
|
|
1690
1835
|
break;
|
|
1691
1836
|
case "bar":
|
|
1692
1837
|
{
|
|
1693
|
-
let r = new
|
|
1838
|
+
let r = new se(n, this.boundingRect, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
|
|
1694
1839
|
e.push(...r.getDrawableElement());
|
|
1695
1840
|
}
|
|
1696
1841
|
break;
|
|
@@ -1698,15 +1843,16 @@ var re = class {
|
|
|
1698
1843
|
return e;
|
|
1699
1844
|
}
|
|
1700
1845
|
};
|
|
1701
|
-
function
|
|
1702
|
-
return new
|
|
1846
|
+
function le(e, t, n) {
|
|
1847
|
+
return new ce(e, t, n);
|
|
1703
1848
|
}
|
|
1704
|
-
|
|
1705
|
-
var
|
|
1849
|
+
p(le, "getPlotComponent");
|
|
1850
|
+
var ue = class {
|
|
1706
1851
|
constructor(e, t, n, r) {
|
|
1707
1852
|
this.chartConfig = e, this.chartData = t, this.componentStore = {
|
|
1708
|
-
title:
|
|
1709
|
-
plot:
|
|
1853
|
+
title: P(e, t, n, r),
|
|
1854
|
+
plot: le(e, t, n),
|
|
1855
|
+
legend: I(e, t, n, r),
|
|
1710
1856
|
xAxis: N(t.xAxis, e.xAxis, {
|
|
1711
1857
|
titleColor: n.xAxisTitleColor,
|
|
1712
1858
|
labelColor: n.xAxisLabelColor,
|
|
@@ -1722,60 +1868,78 @@ var oe = class {
|
|
|
1722
1868
|
};
|
|
1723
1869
|
}
|
|
1724
1870
|
static {
|
|
1725
|
-
|
|
1871
|
+
p(this, "Orchestrator");
|
|
1726
1872
|
}
|
|
1727
1873
|
calculateVerticalSpace() {
|
|
1728
|
-
let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i =
|
|
1729
|
-
width:
|
|
1730
|
-
height:
|
|
1874
|
+
let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = {
|
|
1875
|
+
width: 0,
|
|
1876
|
+
height: 0
|
|
1877
|
+
}, a = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), o = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), s = this.componentStore.plot.calculateSpace({
|
|
1878
|
+
width: a,
|
|
1879
|
+
height: o
|
|
1731
1880
|
});
|
|
1732
|
-
e -=
|
|
1881
|
+
e -= s.width, t -= s.height, s = this.componentStore.title.calculateSpace({
|
|
1733
1882
|
width: this.chartConfig.width,
|
|
1734
1883
|
height: t
|
|
1735
|
-
}), r =
|
|
1884
|
+
}), r = s.height, t -= s.height, this.componentStore.xAxis.setAxisPosition("bottom"), s = this.componentStore.xAxis.calculateSpace({
|
|
1736
1885
|
width: e,
|
|
1737
1886
|
height: t
|
|
1738
|
-
}), t -=
|
|
1887
|
+
}), t -= s.height, this.componentStore.yAxis.setAxisPosition("left"), s = this.componentStore.yAxis.calculateSpace({
|
|
1739
1888
|
width: e,
|
|
1740
1889
|
height: t
|
|
1741
|
-
}), n =
|
|
1742
|
-
width:
|
|
1743
|
-
height:
|
|
1890
|
+
}), n = s.width, e -= s.width, i = this.componentStore.legend.calculateSpace({
|
|
1891
|
+
width: e,
|
|
1892
|
+
height: o
|
|
1893
|
+
}), e -= i.width, e > 0 && (a += e, e = 0), t > 0 && (o += t, t = 0), this.componentStore.plot.calculateSpace({
|
|
1894
|
+
width: a,
|
|
1895
|
+
height: o
|
|
1744
1896
|
}), this.componentStore.plot.setBoundingBoxXY({
|
|
1745
1897
|
x: n,
|
|
1746
1898
|
y: r
|
|
1747
|
-
}), this.componentStore.
|
|
1899
|
+
}), this.componentStore.legend.setBoundingBoxXY({
|
|
1900
|
+
x: n + a,
|
|
1901
|
+
y: r + Math.max((o - i.height) / 2, 0)
|
|
1902
|
+
}), this.componentStore.xAxis.setRange([n, n + a]), this.componentStore.xAxis.setBoundingBoxXY({
|
|
1748
1903
|
x: n,
|
|
1749
|
-
y: r +
|
|
1750
|
-
}), this.componentStore.yAxis.setRange([r, r +
|
|
1904
|
+
y: r + o
|
|
1905
|
+
}), this.componentStore.yAxis.setRange([r, r + o]), this.componentStore.yAxis.setBoundingBoxXY({
|
|
1751
1906
|
x: 0,
|
|
1752
1907
|
y: r
|
|
1753
1908
|
}), this.chartData.plots.some((e) => T(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
|
|
1754
1909
|
}
|
|
1755
1910
|
calculateHorizontalSpace() {
|
|
1756
|
-
let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = 0, a =
|
|
1757
|
-
width:
|
|
1758
|
-
height:
|
|
1911
|
+
let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = 0, a = {
|
|
1912
|
+
width: 0,
|
|
1913
|
+
height: 0
|
|
1914
|
+
}, o = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), s = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), c = this.componentStore.plot.calculateSpace({
|
|
1915
|
+
width: o,
|
|
1916
|
+
height: s
|
|
1759
1917
|
});
|
|
1760
|
-
e -=
|
|
1918
|
+
e -= c.width, t -= c.height, c = this.componentStore.title.calculateSpace({
|
|
1761
1919
|
width: this.chartConfig.width,
|
|
1762
1920
|
height: t
|
|
1763
|
-
}), n =
|
|
1921
|
+
}), n = c.height, t -= c.height, this.componentStore.xAxis.setAxisPosition("left"), c = this.componentStore.xAxis.calculateSpace({
|
|
1764
1922
|
width: e,
|
|
1765
1923
|
height: t
|
|
1766
|
-
}), e -=
|
|
1924
|
+
}), e -= c.width, r = c.width, this.componentStore.yAxis.setAxisPosition("top"), c = this.componentStore.yAxis.calculateSpace({
|
|
1767
1925
|
width: e,
|
|
1768
1926
|
height: t
|
|
1769
|
-
}), t -=
|
|
1770
|
-
width:
|
|
1771
|
-
height:
|
|
1927
|
+
}), t -= c.height, i = n + c.height, a = this.componentStore.legend.calculateSpace({
|
|
1928
|
+
width: e,
|
|
1929
|
+
height: s
|
|
1930
|
+
}), e -= a.width, e > 0 && (o += e, e = 0), t > 0 && (s += t, t = 0), this.componentStore.plot.calculateSpace({
|
|
1931
|
+
width: o,
|
|
1932
|
+
height: s
|
|
1772
1933
|
}), this.componentStore.plot.setBoundingBoxXY({
|
|
1773
1934
|
x: r,
|
|
1774
1935
|
y: i
|
|
1775
|
-
}), this.componentStore.
|
|
1936
|
+
}), this.componentStore.legend.setBoundingBoxXY({
|
|
1937
|
+
x: r + o,
|
|
1938
|
+
y: i + Math.max((s - a.height) / 2, 0)
|
|
1939
|
+
}), this.componentStore.yAxis.setRange([r, r + o]), this.componentStore.yAxis.setBoundingBoxXY({
|
|
1776
1940
|
x: r,
|
|
1777
1941
|
y: n
|
|
1778
|
-
}), this.componentStore.xAxis.setRange([i, i +
|
|
1942
|
+
}), this.componentStore.xAxis.setRange([i, i + s]), this.componentStore.xAxis.setBoundingBoxXY({
|
|
1779
1943
|
x: 0,
|
|
1780
1944
|
y: i
|
|
1781
1945
|
}), this.chartData.plots.some((e) => T(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
|
|
@@ -1790,25 +1954,25 @@ var oe = class {
|
|
|
1790
1954
|
for (let t of Object.values(this.componentStore)) e.push(...t.getDrawableElements());
|
|
1791
1955
|
return e;
|
|
1792
1956
|
}
|
|
1793
|
-
},
|
|
1957
|
+
}, de = class {
|
|
1794
1958
|
static {
|
|
1795
|
-
|
|
1959
|
+
p(this, "XYChartBuilder");
|
|
1796
1960
|
}
|
|
1797
1961
|
static build(e, t, n, r) {
|
|
1798
|
-
return new
|
|
1962
|
+
return new ue(e, t, n, r).getDrawableElement();
|
|
1799
1963
|
}
|
|
1800
|
-
},
|
|
1801
|
-
function
|
|
1802
|
-
let e =
|
|
1803
|
-
return _(e.xyChart,
|
|
1964
|
+
}, L = 0, R, z = K(), B = G(), V = q(), H = B.plotColorPalette.split(",").map((e) => e.trim()), U = !1, W = !1;
|
|
1965
|
+
function G() {
|
|
1966
|
+
let e = t(), n = o();
|
|
1967
|
+
return _(e.xyChart, n.themeVariables.xyChart);
|
|
1804
1968
|
}
|
|
1805
|
-
|
|
1806
|
-
function
|
|
1807
|
-
let e =
|
|
1808
|
-
return _(
|
|
1969
|
+
p(G, "getChartDefaultThemeConfig");
|
|
1970
|
+
function K() {
|
|
1971
|
+
let e = o();
|
|
1972
|
+
return _(c.xyChart, e.xyChart);
|
|
1809
1973
|
}
|
|
1810
|
-
|
|
1811
|
-
function
|
|
1974
|
+
p(K, "getChartDefaultConfig");
|
|
1975
|
+
function q() {
|
|
1812
1976
|
return {
|
|
1813
1977
|
yAxis: {
|
|
1814
1978
|
type: "linear",
|
|
@@ -1825,162 +1989,168 @@ function G() {
|
|
|
1825
1989
|
plots: []
|
|
1826
1990
|
};
|
|
1827
1991
|
}
|
|
1828
|
-
|
|
1829
|
-
function K(e) {
|
|
1830
|
-
let t = s();
|
|
1831
|
-
return p(e.trim(), t);
|
|
1832
|
-
}
|
|
1833
|
-
t(K, "textSanitizer");
|
|
1834
|
-
function q(e) {
|
|
1835
|
-
I = e;
|
|
1836
|
-
}
|
|
1837
|
-
t(q, "setTmpSVGG");
|
|
1992
|
+
p(q, "getChartDefaultData");
|
|
1838
1993
|
function J(e) {
|
|
1839
|
-
|
|
1994
|
+
let t = o();
|
|
1995
|
+
return f(e.trim(), t);
|
|
1840
1996
|
}
|
|
1841
|
-
|
|
1997
|
+
p(J, "textSanitizer");
|
|
1842
1998
|
function Y(e) {
|
|
1843
|
-
|
|
1999
|
+
R = e;
|
|
1844
2000
|
}
|
|
1845
|
-
|
|
2001
|
+
p(Y, "setTmpSVGG");
|
|
2002
|
+
function fe(e) {
|
|
2003
|
+
e === "horizontal" ? z.chartOrientation = "horizontal" : z.chartOrientation = "vertical";
|
|
2004
|
+
}
|
|
2005
|
+
p(fe, "setOrientation");
|
|
2006
|
+
function pe(e) {
|
|
2007
|
+
V.xAxis.title = J(e.text);
|
|
2008
|
+
}
|
|
2009
|
+
p(pe, "setXAxisTitle");
|
|
1846
2010
|
function X(e, t) {
|
|
1847
|
-
|
|
2011
|
+
V.xAxis = {
|
|
1848
2012
|
type: "linear",
|
|
1849
|
-
title:
|
|
2013
|
+
title: V.xAxis.title,
|
|
1850
2014
|
min: e,
|
|
1851
2015
|
max: t
|
|
1852
|
-
},
|
|
2016
|
+
}, U = !0;
|
|
1853
2017
|
}
|
|
1854
|
-
|
|
1855
|
-
function
|
|
1856
|
-
|
|
2018
|
+
p(X, "setXAxisRangeData");
|
|
2019
|
+
function me(e) {
|
|
2020
|
+
V.xAxis = {
|
|
1857
2021
|
type: "band",
|
|
1858
|
-
title:
|
|
1859
|
-
categories: e.map((e) =>
|
|
1860
|
-
},
|
|
2022
|
+
title: V.xAxis.title,
|
|
2023
|
+
categories: e.map((e) => J(e.text))
|
|
2024
|
+
}, U = !0;
|
|
1861
2025
|
}
|
|
1862
|
-
|
|
1863
|
-
function
|
|
1864
|
-
|
|
2026
|
+
p(me, "setXAxisBand");
|
|
2027
|
+
function he(e) {
|
|
2028
|
+
V.yAxis.title = J(e.text);
|
|
1865
2029
|
}
|
|
1866
|
-
|
|
1867
|
-
function
|
|
1868
|
-
|
|
2030
|
+
p(he, "setYAxisTitle");
|
|
2031
|
+
function Z(e, t) {
|
|
2032
|
+
V.yAxis = {
|
|
1869
2033
|
type: "linear",
|
|
1870
|
-
title:
|
|
2034
|
+
title: V.yAxis.title,
|
|
1871
2035
|
min: e,
|
|
1872
2036
|
max: t
|
|
1873
|
-
},
|
|
2037
|
+
}, W = !0;
|
|
1874
2038
|
}
|
|
1875
|
-
|
|
1876
|
-
function
|
|
1877
|
-
let t = Math.min(...e), n = Math.max(...e), r = D(
|
|
1878
|
-
|
|
2039
|
+
p(Z, "setYAxisRangeData");
|
|
2040
|
+
function ge(e) {
|
|
2041
|
+
let t = Math.min(...e), n = Math.max(...e), r = D(V.yAxis) ? V.yAxis.min : Infinity, i = D(V.yAxis) ? V.yAxis.max : -Infinity;
|
|
2042
|
+
V.yAxis = {
|
|
1879
2043
|
type: "linear",
|
|
1880
|
-
title:
|
|
2044
|
+
title: V.yAxis.title,
|
|
1881
2045
|
min: Math.min(r, t),
|
|
1882
2046
|
max: Math.max(i, n)
|
|
1883
2047
|
};
|
|
1884
2048
|
}
|
|
1885
|
-
|
|
1886
|
-
function
|
|
2049
|
+
p(ge, "setYAxisRangeFromPlotData");
|
|
2050
|
+
function Q(e) {
|
|
1887
2051
|
let t = [];
|
|
1888
2052
|
if (e.length === 0) return t;
|
|
1889
|
-
if (!
|
|
1890
|
-
let t = D(
|
|
2053
|
+
if (!U) {
|
|
2054
|
+
let t = D(V.xAxis) ? V.xAxis.min : Infinity, n = D(V.xAxis) ? V.xAxis.max : -Infinity;
|
|
1891
2055
|
X(Math.min(t, 1), Math.max(n, e.length));
|
|
1892
2056
|
}
|
|
1893
|
-
if (
|
|
1894
|
-
let n =
|
|
1895
|
-
|
|
1896
|
-
|
|
2057
|
+
if (E(V.xAxis) && e.length > V.xAxis.categories.length && (e = e.slice(0, V.xAxis.categories.length)), W || ge(e), E(V.xAxis) && (t = V.xAxis.categories.map((t, n) => [t, e[n]])), D(V.xAxis)) {
|
|
2058
|
+
let n = V.xAxis.min, r = V.xAxis.max;
|
|
2059
|
+
if (e.length === 1) t = [[`${n}`, e[0]]];
|
|
2060
|
+
else {
|
|
2061
|
+
let i = (r - n) / (e.length - 1);
|
|
2062
|
+
t = e.map((e, t) => [`${n + t * i}`, e]);
|
|
2063
|
+
}
|
|
1897
2064
|
}
|
|
1898
2065
|
return t;
|
|
1899
2066
|
}
|
|
1900
|
-
|
|
1901
|
-
function
|
|
1902
|
-
return
|
|
2067
|
+
p(Q, "transformDataWithoutCategory");
|
|
2068
|
+
function $(e) {
|
|
2069
|
+
return H[e === 0 ? 0 : e % H.length];
|
|
1903
2070
|
}
|
|
1904
|
-
|
|
1905
|
-
function
|
|
1906
|
-
let n =
|
|
1907
|
-
|
|
2071
|
+
p($, "getPlotColorFromPalette");
|
|
2072
|
+
function _e(e, t) {
|
|
2073
|
+
let n = t.map((e) => e.value), r = t.map((e) => e.label ? J(e.label) : ""), i = Q(n), a = r.some((e) => e !== "");
|
|
2074
|
+
V.plots.push({
|
|
1908
2075
|
type: "line",
|
|
1909
|
-
|
|
2076
|
+
title: J(e.text),
|
|
2077
|
+
strokeFill: $(L),
|
|
1910
2078
|
strokeWidth: 2,
|
|
1911
|
-
data:
|
|
1912
|
-
|
|
2079
|
+
data: i,
|
|
2080
|
+
...a ? { pointLabels: r } : {}
|
|
2081
|
+
}), L++;
|
|
1913
2082
|
}
|
|
1914
|
-
|
|
1915
|
-
function
|
|
1916
|
-
let n =
|
|
1917
|
-
|
|
2083
|
+
p(_e, "setLineData");
|
|
2084
|
+
function ve(e, t) {
|
|
2085
|
+
let n = Q(t.map((e) => e.value));
|
|
2086
|
+
V.plots.push({
|
|
1918
2087
|
type: "bar",
|
|
1919
|
-
|
|
2088
|
+
title: J(e.text),
|
|
2089
|
+
fill: $(L),
|
|
1920
2090
|
data: n
|
|
1921
|
-
}),
|
|
2091
|
+
}), L++;
|
|
1922
2092
|
}
|
|
1923
|
-
|
|
1924
|
-
function
|
|
1925
|
-
if (
|
|
1926
|
-
return
|
|
2093
|
+
p(ve, "setBarData");
|
|
2094
|
+
function ye() {
|
|
2095
|
+
if (V.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
|
|
2096
|
+
return V.title = u(), de.build(z, V, B, R);
|
|
1927
2097
|
}
|
|
1928
|
-
|
|
1929
|
-
function
|
|
1930
|
-
return
|
|
2098
|
+
p(ye, "getDrawableElem");
|
|
2099
|
+
function be() {
|
|
2100
|
+
return B;
|
|
1931
2101
|
}
|
|
1932
|
-
|
|
1933
|
-
function
|
|
1934
|
-
return L;
|
|
1935
|
-
}
|
|
1936
|
-
t(ge, "getChartConfig");
|
|
1937
|
-
function $() {
|
|
2102
|
+
p(be, "getChartThemeConfig");
|
|
2103
|
+
function xe() {
|
|
1938
2104
|
return z;
|
|
1939
2105
|
}
|
|
1940
|
-
|
|
1941
|
-
|
|
2106
|
+
p(xe, "getChartConfig");
|
|
2107
|
+
function Se() {
|
|
2108
|
+
return V;
|
|
2109
|
+
}
|
|
2110
|
+
p(Se, "getXYChartData");
|
|
2111
|
+
var Ce = {
|
|
1942
2112
|
parser: w,
|
|
1943
2113
|
db: {
|
|
1944
|
-
getDrawableElem:
|
|
1945
|
-
clear: /* @__PURE__ */
|
|
1946
|
-
|
|
2114
|
+
getDrawableElem: ye,
|
|
2115
|
+
clear: /* @__PURE__ */ p(function() {
|
|
2116
|
+
a(), L = 0, z = K(), V = q(), B = G(), H = B.plotColorPalette.split(",").map((e) => e.trim()), U = !1, W = !1;
|
|
1947
2117
|
}, "clear"),
|
|
1948
|
-
setAccTitle:
|
|
1949
|
-
getAccTitle:
|
|
1950
|
-
setDiagramTitle:
|
|
1951
|
-
getDiagramTitle:
|
|
1952
|
-
getAccDescription:
|
|
1953
|
-
setAccDescription:
|
|
1954
|
-
setOrientation:
|
|
1955
|
-
setXAxisTitle:
|
|
2118
|
+
setAccTitle: i,
|
|
2119
|
+
getAccTitle: d,
|
|
2120
|
+
setDiagramTitle: r,
|
|
2121
|
+
getDiagramTitle: u,
|
|
2122
|
+
getAccDescription: l,
|
|
2123
|
+
setAccDescription: n,
|
|
2124
|
+
setOrientation: fe,
|
|
2125
|
+
setXAxisTitle: pe,
|
|
1956
2126
|
setXAxisRangeData: X,
|
|
1957
|
-
setXAxisBand:
|
|
1958
|
-
setYAxisTitle:
|
|
1959
|
-
setYAxisRangeData:
|
|
1960
|
-
setLineData:
|
|
1961
|
-
setBarData:
|
|
1962
|
-
setTmpSVGG:
|
|
1963
|
-
getChartThemeConfig:
|
|
1964
|
-
getChartConfig:
|
|
1965
|
-
getXYChartData:
|
|
2127
|
+
setXAxisBand: me,
|
|
2128
|
+
setYAxisTitle: he,
|
|
2129
|
+
setYAxisRangeData: Z,
|
|
2130
|
+
setLineData: _e,
|
|
2131
|
+
setBarData: ve,
|
|
2132
|
+
setTmpSVGG: Y,
|
|
2133
|
+
getChartThemeConfig: be,
|
|
2134
|
+
getChartConfig: xe,
|
|
2135
|
+
getXYChartData: Se
|
|
1966
2136
|
},
|
|
1967
|
-
renderer: { draw: /* @__PURE__ */
|
|
1968
|
-
let
|
|
1969
|
-
function
|
|
2137
|
+
renderer: { draw: /* @__PURE__ */ p((t, n, r, i) => {
|
|
2138
|
+
let a = i.db, o = a.getChartThemeConfig(), c = a.getChartConfig(), l = a.getXYChartData().plots[0].data.map((e) => e[1]);
|
|
2139
|
+
function u(e) {
|
|
1970
2140
|
return e === "top" ? "text-before-edge" : "middle";
|
|
1971
2141
|
}
|
|
1972
|
-
|
|
1973
|
-
function
|
|
2142
|
+
p(u, "getDominantBaseLine");
|
|
2143
|
+
function d(e) {
|
|
1974
2144
|
return e === "left" ? "start" : e === "right" ? "end" : "middle";
|
|
1975
2145
|
}
|
|
1976
|
-
|
|
1977
|
-
function
|
|
2146
|
+
p(d, "getTextAnchor");
|
|
2147
|
+
function f(e) {
|
|
1978
2148
|
return `translate(${e.x}, ${e.y}) rotate(${e.rotation || 0})`;
|
|
1979
2149
|
}
|
|
1980
|
-
|
|
1981
|
-
let m = y(
|
|
1982
|
-
|
|
1983
|
-
let _ =
|
|
2150
|
+
p(f, "getTextTransformation"), e.debug("Rendering xychart chart\n" + t);
|
|
2151
|
+
let m = y(n), h = m.append("g").attr("class", "main"), g = h.append("rect").attr("width", c.width).attr("height", c.height).attr("class", "background");
|
|
2152
|
+
s(m, c.height, c.width, !0), m.attr("viewBox", `0 0 ${c.width} ${c.height}`), g.attr("fill", o.backgroundColor), a.setTmpSVGG(m.append("g").attr("class", "mermaid-tmp-group"));
|
|
2153
|
+
let _ = a.getDrawableElem(), v = {};
|
|
1984
2154
|
function b(e) {
|
|
1985
2155
|
let t = h, n = "";
|
|
1986
2156
|
for (let [r] of e.entries()) {
|
|
@@ -1989,56 +2159,56 @@ var _e = {
|
|
|
1989
2159
|
}
|
|
1990
2160
|
return t;
|
|
1991
2161
|
}
|
|
1992
|
-
|
|
2162
|
+
p(b, "getGroup");
|
|
1993
2163
|
for (let e of _) {
|
|
1994
2164
|
if (e.data.length === 0) continue;
|
|
1995
|
-
let
|
|
2165
|
+
let t = b(e.groupTexts);
|
|
1996
2166
|
switch (e.type) {
|
|
1997
2167
|
case "rect":
|
|
1998
|
-
if (
|
|
1999
|
-
let
|
|
2000
|
-
if (
|
|
2001
|
-
let
|
|
2168
|
+
if (t.selectAll("rect").data(e.data).enter().append("rect").attr("x", (e) => e.x).attr("y", (e) => e.y).attr("width", (e) => e.width).attr("height", (e) => e.height).attr("fill", (e) => e.fill).attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth), c.showDataLabel) {
|
|
2169
|
+
let n = c.showDataLabelOutsideBar;
|
|
2170
|
+
if (c.chartOrientation === "horizontal") {
|
|
2171
|
+
let r = function(e, t) {
|
|
2002
2172
|
let { data: n, label: r } = e;
|
|
2003
|
-
return t * r.length *
|
|
2173
|
+
return t * r.length * i <= n.width - a;
|
|
2004
2174
|
};
|
|
2005
|
-
|
|
2006
|
-
let
|
|
2175
|
+
p(r, "fitsHorizontally");
|
|
2176
|
+
let i = .7, a = 10, s = e.data.map((e, t) => ({
|
|
2007
2177
|
data: e,
|
|
2008
|
-
label:
|
|
2009
|
-
})).filter((e) => e.data.width > 0 && e.data.height > 0),
|
|
2178
|
+
label: l[t].toString()
|
|
2179
|
+
})).filter((e) => e.data.width > 0 && e.data.height > 0), c = s.map((e) => {
|
|
2010
2180
|
let { data: t } = e, n = t.height * .7;
|
|
2011
|
-
for (; !
|
|
2181
|
+
for (; !r(e, n) && n > 0;) --n;
|
|
2012
2182
|
return n;
|
|
2013
|
-
}),
|
|
2014
|
-
|
|
2183
|
+
}), u = Math.floor(Math.min(...c)), d = /* @__PURE__ */ p((e) => n ? e.data.x + e.data.width + 10 : e.data.x + e.data.width - 10, "determineLabelXPosition");
|
|
2184
|
+
t.selectAll("text").data(s).enter().append("text").attr("x", d).attr("y", (e) => e.data.y + e.data.height / 2).attr("text-anchor", n ? "start" : "end").attr("dominant-baseline", "middle").attr("fill", o.dataLabelColor).attr("font-size", `${u}px`).text((e) => e.label);
|
|
2015
2185
|
} else {
|
|
2016
|
-
let
|
|
2186
|
+
let r = function(e, t, n) {
|
|
2017
2187
|
let { data: r, label: i } = e, a = t * i.length * .7, o = r.x + r.width / 2, s = o - a / 2, c = o + a / 2, l = s >= r.x && c <= r.x + r.width, u = r.y + n + t <= r.y + r.height;
|
|
2018
2188
|
return l && u;
|
|
2019
2189
|
};
|
|
2020
|
-
|
|
2021
|
-
let
|
|
2190
|
+
p(r, "fitsInBar");
|
|
2191
|
+
let i = e.data.map((e, t) => ({
|
|
2022
2192
|
data: e,
|
|
2023
|
-
label:
|
|
2024
|
-
})).filter((e) => e.data.width > 0 && e.data.height > 0),
|
|
2025
|
-
let { data: t, label: n } = e,
|
|
2026
|
-
for (; !
|
|
2027
|
-
return
|
|
2028
|
-
}),
|
|
2029
|
-
|
|
2193
|
+
label: l[t].toString()
|
|
2194
|
+
})).filter((e) => e.data.width > 0 && e.data.height > 0), a = i.map((e) => {
|
|
2195
|
+
let { data: t, label: n } = e, i = t.width / (n.length * .7);
|
|
2196
|
+
for (; !r(e, i, 10) && i > 0;) --i;
|
|
2197
|
+
return i;
|
|
2198
|
+
}), s = Math.floor(Math.min(...a)), c = /* @__PURE__ */ p((e) => n ? e.data.y - 10 : e.data.y + 10, "determineLabelYPosition");
|
|
2199
|
+
t.selectAll("text").data(i).enter().append("text").attr("x", (e) => e.data.x + e.data.width / 2).attr("y", c).attr("text-anchor", "middle").attr("dominant-baseline", n ? "auto" : "hanging").attr("fill", o.dataLabelColor).attr("font-size", `${s}px`).text((e) => e.label);
|
|
2030
2200
|
}
|
|
2031
2201
|
}
|
|
2032
2202
|
break;
|
|
2033
2203
|
case "text":
|
|
2034
|
-
|
|
2204
|
+
t.selectAll("text").data(e.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (e) => e.fill).attr("font-size", (e) => e.fontSize).attr("dominant-baseline", (e) => u(e.verticalPos)).attr("text-anchor", (e) => d(e.horizontalPos)).attr("transform", (e) => f(e)).text((e) => e.text);
|
|
2035
2205
|
break;
|
|
2036
2206
|
case "path":
|
|
2037
|
-
|
|
2207
|
+
t.selectAll("path").data(e.data).enter().append("path").attr("d", (e) => e.path).attr("fill", (e) => e.fill ? e.fill : "none").attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth);
|
|
2038
2208
|
break;
|
|
2039
2209
|
}
|
|
2040
2210
|
}
|
|
2041
2211
|
}, "draw") }
|
|
2042
2212
|
};
|
|
2043
2213
|
//#endregion
|
|
2044
|
-
export {
|
|
2214
|
+
export { Ce as diagram };
|