@sme.up/ketchup2 2.2.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{arc-Klgb378K.js → arc-D80gVCcI.js} +2 -2
- package/dist/{arc-CqG9Hxdf.cjs → arc-MUYNnJxV.cjs} +1 -1
- package/dist/architecture-7EHR7CIX-Bnyu5zgG.js +3 -0
- package/dist/architecture-7EHR7CIX-CKF7-4kH.cjs +1 -0
- package/dist/architectureDiagram-3BPJPVTR-BrmPrClJ.cjs +36 -0
- package/dist/{architectureDiagram-Q4EWVU46-CnzjcVBn.js → architectureDiagram-3BPJPVTR-EFK4DMha.js} +167 -166
- package/dist/assets/svg/barcode.svg +1 -0
- package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/basic-components/barcode/barcode-types.d.ts +16 -0
- package/dist/basic-components/barcode/barcode-types.d.ts.map +1 -0
- package/dist/basic-components/barcode/barcode.d.ts +3 -0
- package/dist/basic-components/barcode/barcode.d.ts.map +1 -0
- package/dist/basic-components/cell/cell-types.d.ts +7 -0
- package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-utils.d.ts +3 -2
- 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/cell/tests/utils.d.ts.map +1 -1
- package/dist/basic-components/icon/icon.d.ts.map +1 -1
- package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
- package/dist/basic-components/qr-code/corners/qr-code-corner-utils.d.ts +4 -0
- package/dist/basic-components/qr-code/corners/qr-code-corner-utils.d.ts.map +1 -0
- package/dist/basic-components/qr-code/corners/qr-code-corner.d.ts +13 -0
- package/dist/basic-components/qr-code/corners/qr-code-corner.d.ts.map +1 -0
- package/dist/basic-components/qr-code/qr-code-encoding.d.ts +9 -0
- package/dist/basic-components/qr-code/qr-code-encoding.d.ts.map +1 -0
- package/dist/basic-components/qr-code/qr-code-error-correction.d.ts +10 -0
- package/dist/basic-components/qr-code/qr-code-error-correction.d.ts.map +1 -0
- package/dist/basic-components/qr-code/qr-code-helpers.d.ts +15 -0
- package/dist/basic-components/qr-code/qr-code-helpers.d.ts.map +1 -0
- package/dist/basic-components/qr-code/qr-code-mask.d.ts +9 -0
- package/dist/basic-components/qr-code/qr-code-mask.d.ts.map +1 -0
- package/dist/basic-components/qr-code/qr-code-matrix.d.ts +3 -0
- package/dist/basic-components/qr-code/qr-code-matrix.d.ts.map +1 -0
- package/dist/basic-components/qr-code/qr-code-renderer.d.ts +8 -0
- package/dist/basic-components/qr-code/qr-code-renderer.d.ts.map +1 -0
- package/dist/basic-components/qr-code/qr-code-types.d.ts +122 -0
- package/dist/basic-components/qr-code/qr-code-types.d.ts.map +1 -0
- package/dist/basic-components/qr-code/qr-code.d.ts +8 -0
- package/dist/basic-components/qr-code/qr-code.d.ts.map +1 -0
- package/dist/basic-components/text-editor/text-editor-utils.d.ts +11 -0
- package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
- package/dist/basic-components/text-editor/text-editor.d.ts.map +1 -1
- package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
- package/dist/basic-components/textarea/textarea-types.d.ts.map +1 -1
- package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield-types.d.ts +5 -0
- package/dist/basic-components/textfield/textfield-types.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
- package/dist/basic-components/tree/tree.d.ts.map +1 -1
- package/dist/basic-components/tree/tree.types.d.ts +6 -0
- package/dist/basic-components/tree/tree.types.d.ts.map +1 -1
- package/dist/basic-components/typography/typography-types.d.ts +1 -1
- package/dist/basic-components/typography/typography-types.d.ts.map +1 -1
- package/dist/{blockDiagram-DXYQGD6D-B0NvV2Ph.js → blockDiagram-GPEHLZMM-C3UgY0Z5.js} +999 -877
- package/dist/blockDiagram-GPEHLZMM-CuzoKhJT.cjs +132 -0
- package/dist/{c4Diagram-AHTNJAMY-Dgwv-e5O.cjs → c4Diagram-AAUBKEIU-DU8uXbgK.cjs} +6 -6
- package/dist/{c4Diagram-AHTNJAMY-DPijI3_r.js → c4Diagram-AAUBKEIU-klnmEOUo.js} +279 -279
- package/dist/channel-BbRDdbmM.js +5 -0
- package/dist/channel-intTktDQ.cjs +1 -0
- package/dist/chunk-2J33WTMH-EmvF7iYC.js +25 -0
- package/dist/chunk-2J33WTMH-PlcpVW8G.cjs +1 -0
- package/dist/{chunk-5FUZZQ4R-D3C0F0Tr.js → chunk-3OPIFGDE-C7wE5oN7.js} +957 -929
- package/dist/chunk-3OPIFGDE-CT5oNC5X.cjs +62 -0
- package/dist/{chunk-4BX2VUAB-BW54-JWg.js → chunk-4BX2VUAB-BO1KRGb1.js} +1 -1
- package/dist/{chunk-4BX2VUAB-Qba52sxc.cjs → chunk-4BX2VUAB-CtDGlaPx.cjs} +1 -1
- package/dist/{chunk-7N4EOEYR-C-GuhRgW.js → chunk-4EGX6M5U-BMVrizoY.js} +12 -12
- package/dist/{chunk-7N4EOEYR-jNBQwvHx.cjs → chunk-4EGX6M5U-VENLmgBt.cjs} +1 -1
- package/dist/{chunk-55IACEB6-DPatBzu7.cjs → chunk-55IACEB6-VJP3Osm7.cjs} +1 -1
- package/dist/{chunk-55IACEB6-Bu3k0Yz5.js → chunk-55IACEB6-b_Ivgrk-.js} +1 -1
- package/dist/chunk-5DO6E6H7-Cx6Mfbjl.cjs +1 -0
- package/dist/chunk-5DO6E6H7-QuTLwcim.js +23 -0
- package/dist/chunk-5ZQYHXKU-BMnKD7Zq.cjs +2 -0
- package/dist/{chunk-5PVQY5BW-Dn8n6moB.js → chunk-5ZQYHXKU-C4uam08j.js} +527 -461
- package/dist/chunk-727SXJPM-DTmqhRKX.cjs +206 -0
- package/dist/{chunk-4TB4RGXK-D2LRzcEP.js → chunk-727SXJPM-Dof0vDVV.js} +650 -554
- package/dist/{chunk-OYMX7WX6-CrK-lehh.cjs → chunk-AQP2D5EJ-DdWeFQ4O.cjs} +5 -5
- package/dist/{chunk-OYMX7WX6-DJkGVCqi.js → chunk-AQP2D5EJ-N9ii4fwJ.js} +349 -339
- package/dist/{chunk-LIHQZDEY-59I4-LWb.js → chunk-BR22UD5L-CS6hURQQ.js} +15 -15
- package/dist/{chunk-LIHQZDEY-CrogR3nT.cjs → chunk-BR22UD5L-wI1vkyAT.cjs} +1 -1
- package/dist/{chunk-BSJP7CBP-oNTXVRA7.js → chunk-BSJP7CBP-Bx5APwBA.js} +1 -1
- package/dist/{chunk-BSJP7CBP-CFzYPvgr.cjs → chunk-BSJP7CBP-CaeBFqNU.cjs} +1 -1
- package/dist/{chunk-ICPOFSXX-fQJ5ufMR.js → chunk-CSCIHK7Q-9WKhcDqw.js} +132 -38
- package/dist/chunk-CSCIHK7Q-BPMuICCz.cjs +123 -0
- package/dist/chunk-FHYWG6QK-CfRqYwCI.js +23 -0
- package/dist/chunk-FHYWG6QK-DxmnARsZ.cjs +1 -0
- package/dist/{chunk-FMBD7UC4-RRSc9jqt.js → chunk-FMBD7UC4-BbggSGOg.js} +1 -1
- package/dist/{chunk-FMBD7UC4-CS9_r76V.cjs → chunk-FMBD7UC4-CiO_59ls.cjs} +1 -1
- package/dist/{chunk-ENJZ2VHE-CZ7BvL2h.js → chunk-KSCS5N6A-BY1s4eGg.js} +205 -205
- package/dist/chunk-KSCS5N6A-DO8jEi0y.cjs +10 -0
- package/dist/{chunk-ZZ45TVLE-BfSqZnT4.cjs → chunk-L5ZTLDWV-BE9udiOh.cjs} +1 -1
- package/dist/{chunk-ZZ45TVLE-X2jolXSO.js → chunk-L5ZTLDWV-D3UwMopa.js} +8 -8
- package/dist/{chunk-336JU56O-DQhIGd25.cjs → chunk-LZXEDZCA-Dpz_wx3M.cjs} +1 -1
- package/dist/{chunk-336JU56O-DkZvWJVe.js → chunk-LZXEDZCA-KzBFuWPU.js} +18 -18
- package/dist/chunk-MPE355IW-4bpROspE.js +23 -0
- package/dist/chunk-MPE355IW-CxPw_dPP.cjs +1 -0
- package/dist/chunk-MZUSXYTE-DA5mUG5B.js +30 -0
- package/dist/chunk-MZUSXYTE-DIg1BPts.cjs +1 -0
- package/dist/chunk-N66VUXT2-DSbygtq1.cjs +1 -0
- package/dist/chunk-N66VUXT2-pDZ1b-B3.js +54 -0
- package/dist/{chunk-YZCP3GAM-D6P3SWmL.js → chunk-ND2GUHAM-CHTke4K8.js} +17 -17
- package/dist/{chunk-YZCP3GAM-qxaNo0r8.cjs → chunk-ND2GUHAM-DdBSZTft.cjs} +1 -1
- package/dist/chunk-NNHCCRGN-D_orSz6n.js +20630 -0
- package/dist/chunk-NNHCCRGN-aKMHXBzL.cjs +159 -0
- package/dist/{chunk-X2U36JSP-VxRY65ea.js → chunk-NZK2D7GU-BVOINLmx.js} +13 -13
- package/dist/{chunk-X2U36JSP-CtXjVqek.cjs → chunk-NZK2D7GU-_twqedIe.cjs} +1 -1
- package/dist/{chunk-U2HBQHQK-CJ77uizk.cjs → chunk-O5CBEL6O-CDvi2oZo.cjs} +6 -6
- package/dist/{chunk-U2HBQHQK-Ceyeq0IV.js → chunk-O5CBEL6O-VsMF4aZB.js} +108 -108
- package/dist/chunk-PUPMXCY4-CKjhJQnN.js +23 -0
- package/dist/chunk-PUPMXCY4-DsS_t57r.cjs +1 -0
- package/dist/{chunk-QZHKN3VN-CSMKL2rB.cjs → chunk-QZHKN3VN-CHjRGMI2.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-Bx8I6l3c.js → chunk-QZHKN3VN-DCddt14Q.js} +1 -1
- package/dist/chunk-UIBZB4QT-BZf7vqd9.cjs +1 -0
- package/dist/chunk-UIBZB4QT-BvFllM0Q.js +23 -0
- package/dist/chunk-WCWK7LTN-D_C1as0Y.js +31 -0
- package/dist/chunk-WCWK7LTN-Dl2uC9ZD.cjs +1 -0
- package/dist/chunk-WU5MYG2G-DgyP9QDj.cjs +1 -0
- package/dist/chunk-WU5MYG2G-mQn7Wt-i.js +9 -0
- package/dist/{chunk-XPW4576I-BcWkx-AL.js → chunk-XPW4576I-BCowsgDU.js} +1 -1
- package/dist/{chunk-XPW4576I-D8Pp6a3j.cjs → chunk-XPW4576I-D_mwgMVU.cjs} +1 -1
- package/dist/classDiagram-4FO5ZUOK-5DyhpZRK.cjs +1 -0
- package/dist/classDiagram-4FO5ZUOK-BHGLQIkz.js +29 -0
- package/dist/classDiagram-v2-Q7XG4LA2-CCAbBo05.js +29 -0
- package/dist/classDiagram-v2-Q7XG4LA2-D4TX4CLT.cjs +1 -0
- package/dist/components/dash-list/assets/dash-list.data.d.ts +1 -0
- package/dist/components/dash-list/assets/dash-list.data.d.ts.map +1 -1
- package/dist/components/dash-list/dash-list-types.d.ts +1 -0
- package/dist/components/dash-list/dash-list-types.d.ts.map +1 -1
- package/dist/components/dash-list/dash-list.d.ts.map +1 -1
- package/dist/components/dash-list/dash-list.utils.d.ts +1 -3
- package/dist/components/dash-list/dash-list.utils.d.ts.map +1 -1
- package/dist/components/field/field-types.d.ts +6 -0
- package/dist/components/field/field-types.d.ts.map +1 -1
- package/dist/components/field/field.d.ts.map +1 -1
- package/dist/components/htm/htm-types.d.ts +4 -0
- package/dist/components/htm/htm-types.d.ts.map +1 -1
- package/dist/components/htm/htm.d.ts.map +1 -1
- package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel-types.d.ts +6 -0
- package/dist/components/input-panel/input-panel-types.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel-utils.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel.d.ts.map +1 -1
- package/dist/components/pdf/pdf-types.d.ts +8 -0
- package/dist/components/pdf/pdf-types.d.ts.map +1 -1
- package/dist/components/pdf/pdf-utils.d.ts +1 -1
- package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
- package/dist/components/pdf/pdf.d.ts.map +1 -1
- package/dist/components/planner/planner-assets.d.ts +2 -2
- package/dist/components/planner/planner-assets.d.ts.map +1 -1
- package/dist/components/planner/planner-utils.d.ts +1 -0
- package/dist/components/planner/planner-utils.d.ts.map +1 -1
- package/dist/components/planner/planner.d.ts.map +1 -1
- package/dist/components/tab-bar/tab-bar-types.d.ts +1 -1
- package/dist/components/tab-bar/tab-bar-types.d.ts.map +1 -1
- package/dist/components/timeline/timeline.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip-assets.d.ts +1 -0
- package/dist/components/tooltip/tooltip-assets.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip-types.d.ts +4 -16
- package/dist/components/tooltip/tooltip-types.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/context/obj-metadata-context.d.ts +8 -0
- package/dist/context/obj-metadata-context.d.ts.map +1 -0
- package/dist/{cose-bilkent-S5V4N54A-B30Rh9DR.js → cose-bilkent-S5V4N54A-Bfb7U01p.js} +26 -27
- package/dist/cose-bilkent-S5V4N54A-CE-7Sw0Y.cjs +1 -0
- package/dist/dagre-BM42HDAG-BhbA1R8l.cjs +4 -0
- package/dist/dagre-BM42HDAG-D87Rv2R4.js +297 -0
- package/dist/dagre-CC68z3y6.cjs +1 -0
- package/dist/dagre-Cg4CV48I.js +1936 -0
- package/dist/diagram-2AECGRRQ-C6vI3yau.cjs +43 -0
- package/dist/{diagram-MMDJMWI5-DUpEI5ug.js → diagram-2AECGRRQ-OSYCK0tv.js} +36 -36
- package/dist/diagram-5GNKFQAL-BS9rRMAe.cjs +10 -0
- package/dist/diagram-5GNKFQAL-DnquluB9.js +101 -0
- package/dist/diagram-KO2AKTUF-CFi6eQYd.js +431 -0
- package/dist/diagram-KO2AKTUF-CjA_KTJj.cjs +3 -0
- package/dist/{diagram-TYMM5635-DHHPZ5ZJ.js → diagram-LMA3HP47-Cwm5bzeM.js} +38 -38
- package/dist/diagram-LMA3HP47-DBwSTp2j.cjs +24 -0
- package/dist/diagram-OG6HWLK6-BdLnbUYy.cjs +24 -0
- package/dist/{diagram-G4DWMVQ6-iYV58Drq.js → diagram-OG6HWLK6-DvGk1j55.js} +93 -93
- package/dist/{dist-DL30VIBI.js → dist-9MKIBfY4.js} +1 -1
- package/dist/dist-DC1YYeHc.cjs +1 -0
- package/dist/{erDiagram-SMLLAGMA-C8FM7wbJ.js → erDiagram-TEJ5UH35-B17mqgD_.js} +164 -164
- package/dist/erDiagram-TEJ5UH35-NlRiP_bX.cjs +85 -0
- package/dist/eventmodeling-FCH6USID-BVaFiLQO.js +3 -0
- package/dist/eventmodeling-FCH6USID-leiC8dtX.cjs +1 -0
- package/dist/{flowDiagram-DWJPFMVM-BGtX2gw0.js → flowDiagram-I6XJVG4X-C2G6Tgw_.js} +444 -444
- package/dist/{flowDiagram-DWJPFMVM-DWuKiJeo.cjs → flowDiagram-I6XJVG4X-ChI_6giU.cjs} +9 -9
- package/dist/functional-components/row/row-types.d.ts +6 -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/bar/gantt-bar.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts +106 -0
- package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts +2 -0
- package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts +38 -0
- package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +23 -20
- package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/components/gantt/gantt.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts +13 -2
- package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts +4 -0
- package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts +24 -0
- package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/timeline-engine.d.ts.map +1 -1
- package/dist/ganttDiagram-6RSMTGT7-B0DHqd7u.cjs +292 -0
- package/dist/{ganttDiagram-T4ZO3ILL-PY1BUp5b.js → ganttDiagram-6RSMTGT7-Bb6bqcaS.js} +278 -276
- package/dist/gitGraph-WXDBUCRP-BFFuTWG4.cjs +1 -0
- package/dist/gitGraph-WXDBUCRP-Fz2kRwJ-.js +3 -0
- package/dist/gitGraphDiagram-PVQCEYII-BzbgPrwe.cjs +106 -0
- package/dist/{gitGraphDiagram-UUTBAWPF-CDIW9-sX.js → gitGraphDiagram-PVQCEYII-DiJUr7lO.js} +255 -255
- package/dist/graphlib-B1zohIOM.js +1266 -0
- package/dist/graphlib-B5AXIZA4.cjs +1 -0
- package/dist/hooks/useFloating.d.ts.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/info-J43DQDTF-CLRXRK49.js +3 -0
- package/dist/info-J43DQDTF-CmpcAuH-.cjs +1 -0
- package/dist/infoDiagram-5YYISTIA-C8P9DHlE.js +19 -0
- package/dist/infoDiagram-5YYISTIA-fhwEAAjF.cjs +2 -0
- package/dist/{ishikawaDiagram-UXIWVN3A-BfkF39Xv.cjs → ishikawaDiagram-YF4QCWOH-j6IZz59g.cjs} +6 -6
- package/dist/{ishikawaDiagram-UXIWVN3A-BblrAmns.js → ishikawaDiagram-YF4QCWOH-rqNbTKZp.js} +134 -134
- package/dist/{journeyDiagram-VCZTEJTY-UwcVOFtb.cjs → journeyDiagram-JHISSGLW-BhHdd4y3.cjs} +6 -6
- package/dist/{journeyDiagram-VCZTEJTY-CCOZ1XFK.js → journeyDiagram-JHISSGLW-peUJlm3L.js} +180 -180
- package/dist/{kanban-definition-6JOO6SKY-BWwfbdd6.js → kanban-definition-UN3LZRKU-DLxDqiQn.js} +151 -151
- package/dist/{kanban-definition-6JOO6SKY-Coxpi43B.cjs → kanban-definition-UN3LZRKU-TUg1x5yJ.cjs} +8 -8
- package/dist/{katex-SAH56fvc.cjs → katex-HkVgAsLB.cjs} +1 -1
- package/dist/ketchup2.cjs.js +107 -110
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +90621 -90697
- package/dist/{line-CrxZdHmO.js → line-BhAnxCE8.js} +3 -3
- package/dist/line-CpcTW4h-.cjs +1 -0
- package/dist/{linear-CxHa1DsM.cjs → linear-D0eFmsG1.cjs} +1 -1
- package/dist/{linear-BsPvNLJv.js → linear-lSeWuvgy.js} +3 -3
- package/dist/locale/en/translation.json.d.ts +3 -0
- package/dist/locale/it/translation.json.d.ts +3 -0
- package/dist/{mermaid-parser.core-CERDf-UG.js → mermaid-parser.core-Dz33ts1l.js} +24 -19
- package/dist/mermaid-parser.core-HQxPJrkY.cjs +3 -0
- package/dist/{mindmap-definition-QFDTVHPH--xULjpFZ.cjs → mindmap-definition-RKZ34NQL-D9BOsg5W.cjs} +29 -29
- package/dist/{mindmap-definition-QFDTVHPH-dYQoMeA6.js → mindmap-definition-RKZ34NQL-DHkmUkxh.js} +148 -148
- package/dist/{ordinal-Civr0hZL.cjs → ordinal-BnUYNBtU.cjs} +1 -1
- package/dist/{ordinal-C-VoL0XF.js → ordinal-MD9_ORcM.js} +1 -1
- package/dist/packet-YPE3B663-BwjweAZY.cjs +1 -0
- package/dist/packet-YPE3B663-D1Hr9AQm.js +3 -0
- package/dist/pie-LRSECV5Y-CpDfN1P0.js +3 -0
- package/dist/pie-LRSECV5Y-I1-OkIXi.cjs +1 -0
- package/dist/{pieDiagram-DEJITSTG-Dj5pX4fC.js → pieDiagram-4H26LBE5-ByA7ytZx.js} +40 -40
- package/dist/pieDiagram-4H26LBE5-CrLJh4L9.cjs +30 -0
- package/dist/{quadrantDiagram-34T5L4WZ-BKNOJBiR.js → quadrantDiagram-W4KKPZXB-CHHpmu1l.js} +547 -520
- package/dist/quadrantDiagram-W4KKPZXB-CalC_db_.cjs +7 -0
- package/dist/radar-GUYGQ44K-BXt3oO8c.cjs +1 -0
- package/dist/radar-GUYGQ44K-ByzrmbOz.js +3 -0
- package/dist/{requirementDiagram-MS252O5E-r3eZu57d.js → requirementDiagram-4Y6WPE33-BVcDFSx8.js} +165 -165
- package/dist/requirementDiagram-4Y6WPE33-SsePLT8d.cjs +84 -0
- package/dist/sankeyDiagram-5OEKKPKP-BgvTZ7jd.cjs +40 -0
- package/dist/{sankeyDiagram-XADWPNL6-ErTVVewH.js → sankeyDiagram-5OEKKPKP-C-ODz9lV.js} +202 -153
- package/dist/{sequenceDiagram-FGHM5R23-BmqbzzHY.js → sequenceDiagram-3UESZ5HK-Cnc0aDO4.js} +786 -779
- package/dist/sequenceDiagram-3UESZ5HK-DEVLteqD.cjs +162 -0
- package/dist/src-BgvDIw01.cjs +1 -0
- package/dist/{src-BQiFKP24.js → src-v9RrE_4h.js} +578 -563
- package/dist/stateDiagram-AJRCARHV-CuHe6Iji.js +217 -0
- package/dist/stateDiagram-AJRCARHV-D_yPvIRw.cjs +1 -0
- package/dist/stateDiagram-v2-BHNVJYJU-CTnE6fOT.cjs +1 -0
- package/dist/stateDiagram-v2-BHNVJYJU-DqstYMSl.js +27 -0
- package/dist/{timeline-definition-GMOUNBTQ-DgcI7XnE.js → timeline-definition-PNZ67QCA-Bj1BItRB.js} +324 -324
- package/dist/{timeline-definition-GMOUNBTQ-BeTHmikc.cjs → timeline-definition-PNZ67QCA-Cynbc96w.cjs} +48 -48
- package/dist/treeView-BLDUP644-CxLhpd93.js +3 -0
- package/dist/treeView-BLDUP644-DMwVx0AR.cjs +1 -0
- package/dist/treemap-LRROVOQU-BqmiLdFI.js +3 -0
- package/dist/treemap-LRROVOQU-XhaFZdvI.cjs +1 -0
- package/dist/types/translation.d.ts +4 -1
- package/dist/types/translation.d.ts.map +1 -1
- package/dist/utils/translation.d.ts.map +1 -1
- package/dist/v4-BpDBEhLK.js +30 -0
- package/dist/v4-CA8ev9YY.cjs +1 -0
- package/dist/{vennDiagram-DHZGUBPP-7tx3VVDU.js → vennDiagram-CIIHVFJN-CdmcxixA.js} +192 -192
- package/dist/vennDiagram-CIIHVFJN-Dm4D6omA.cjs +34 -0
- package/dist/wardley-L42UT6IY-C7UjBmVh.js +3 -0
- package/dist/wardley-L42UT6IY-DFAYOpjD.cjs +1 -0
- package/dist/{wardleyDiagram-NUSXRM2D-DY51LHBa.cjs → wardleyDiagram-YWT4CUSO-C-DdutxP.cjs} +61 -3
- package/dist/{wardleyDiagram-NUSXRM2D-DGKU7A2U.js → wardleyDiagram-YWT4CUSO-D1o116Wi.js} +272 -206
- package/dist/{xychartDiagram-5P7HB3ND--7RYyckP.js → xychartDiagram-2RQKCTM6-Byw7djcg.js} +213 -213
- package/dist/{xychartDiagram-5P7HB3ND-Cj0HUNew.cjs → xychartDiagram-2RQKCTM6-D0D4PIQS.cjs} +6 -6
- package/package.json +6 -6
- package/dist/architecture-YZFGNWBL-BRqToLcm.js +0 -3
- package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +0 -1
- package/dist/architectureDiagram-Q4EWVU46-CX_6DnSJ.cjs +0 -36
- package/dist/blockDiagram-DXYQGD6D-D6DypQdM.cjs +0 -132
- package/dist/channel-CRWct3-i.js +0 -5
- package/dist/channel-DkTvdPpU.cjs +0 -1
- package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +0 -23
- package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +0 -1
- package/dist/chunk-426QAEUC-CDXJVpQr.js +0 -9
- package/dist/chunk-426QAEUC-CqN26l3E.cjs +0 -1
- package/dist/chunk-4TB4RGXK-B0SIkKDf.cjs +0 -206
- package/dist/chunk-5FUZZQ4R-Cj5KbGC7.cjs +0 -62
- package/dist/chunk-5PVQY5BW-DEPZKGvb.cjs +0 -2
- package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +0 -1
- package/dist/chunk-67CJDMHE-YMBkJcAO.js +0 -23
- package/dist/chunk-AA7GKIK3-B_ZB6dou.js +0 -30
- package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +0 -1
- package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +0 -1
- package/dist/chunk-CIAEETIT-XlxsAz-4.js +0 -23
- package/dist/chunk-D-IZpNpi.cjs +0 -1
- package/dist/chunk-EDXVE4YY-1dwNWzc7.cjs +0 -1
- package/dist/chunk-EDXVE4YY-CGNVB686.js +0 -25
- package/dist/chunk-ENJZ2VHE-BAWfx0nA.cjs +0 -10
- package/dist/chunk-FOC6F5B3-DcZs851j.cjs +0 -1
- package/dist/chunk-FOC6F5B3-E9n6-juB.js +0 -23
- package/dist/chunk-ICPOFSXX-hY6BIZ4Y.cjs +0 -122
- package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +0 -94
- package/dist/chunk-K5T4RW27-DY7TOEqa.js +0 -16070
- package/dist/chunk-KGLVRYIC-5OJpfQCj.js +0 -23
- package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +0 -1
- package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +0 -1
- package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +0 -31
- package/dist/chunk-WQLz0Won.js +0 -20
- package/dist/classDiagram-6PBFFD2Q-BT4_JTnP.cjs +0 -1
- package/dist/classDiagram-6PBFFD2Q-Dgaxt4wI.js +0 -29
- package/dist/classDiagram-v2-HSJHXN6E-CWhiK6nm.js +0 -29
- package/dist/classDiagram-v2-HSJHXN6E-DkBLzgTv.cjs +0 -1
- package/dist/clone-CQQwPjME.cjs +0 -1
- package/dist/clone-Dwbh_blD.js +0 -8
- package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +0 -1
- package/dist/dagre-BcwvU6ZF.cjs +0 -1
- package/dist/dagre-D17h-Z-U.js +0 -1606
- package/dist/dagre-KV5264BT-BnEKAAAn.js +0 -293
- package/dist/dagre-KV5264BT-DRbiLA37.cjs +0 -4
- package/dist/diagram-5BDNPKRD-B_Fa4dpl.js +0 -101
- package/dist/diagram-5BDNPKRD-CPN8m2Hl.cjs +0 -10
- package/dist/diagram-G4DWMVQ6-VpXkNb67.cjs +0 -24
- package/dist/diagram-MMDJMWI5-DGk_PUo9.cjs +0 -43
- package/dist/diagram-TYMM5635-BH_-vSv9.cjs +0 -24
- package/dist/dist-BgvMZbfo.cjs +0 -1
- package/dist/erDiagram-SMLLAGMA-vuYEmfFA.cjs +0 -85
- package/dist/flatten-BE1bWL-7.js +0 -40
- package/dist/flatten-DxvYSoR8.cjs +0 -1
- package/dist/ganttDiagram-T4ZO3ILL-C25CnBTv.cjs +0 -292
- package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +0 -1
- package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +0 -3
- package/dist/gitGraphDiagram-UUTBAWPF-0lCBo9nK.cjs +0 -106
- package/dist/graphlib-CdgJ32J_.cjs +0 -1
- package/dist/graphlib-DbQkSsC8.js +0 -373
- package/dist/identity-KQSjemTb.cjs +0 -1
- package/dist/identity-g0dsMjx7.js +0 -393
- package/dist/info-OMHHGYJF-Bk0VWVNW.js +0 -3
- package/dist/info-OMHHGYJF-C8QtwF0k.cjs +0 -1
- package/dist/infoDiagram-42DDH7IO-CQLxpytS.js +0 -19
- package/dist/infoDiagram-42DDH7IO-Da__a_a_.cjs +0 -2
- package/dist/isEmpty-CA3kJuev.cjs +0 -1
- package/dist/isEmpty-RwX-oIQS.js +0 -35
- package/dist/line-C7oijaT4.cjs +0 -1
- package/dist/mermaid-parser.core-DHpvGOZR.cjs +0 -3
- package/dist/packet-4T2RLAQJ-X0BMsNFj.js +0 -3
- package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +0 -1
- package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +0 -3
- package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +0 -1
- package/dist/pieDiagram-DEJITSTG-7we8s9eC.cjs +0 -30
- package/dist/quadrantDiagram-34T5L4WZ-B3BFuPYQ.cjs +0 -7
- package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +0 -1
- package/dist/radar-PYXPWWZC-DgZIW9Ah.js +0 -3
- package/dist/reduce-B7WW9rkU.cjs +0 -1
- package/dist/reduce-DNnkcf3M.js +0 -532
- package/dist/requirementDiagram-MS252O5E-BemsEy3Y.cjs +0 -84
- package/dist/sankeyDiagram-XADWPNL6-B9YCkPHh.cjs +0 -10
- package/dist/sequenceDiagram-FGHM5R23-CBpQL6X2.cjs +0 -157
- package/dist/src-DFxq-N5I.cjs +0 -1
- package/dist/stateDiagram-FHFEXIEX-CL9LE-W1.js +0 -217
- package/dist/stateDiagram-FHFEXIEX-Cju5Z2VS.cjs +0 -1
- package/dist/stateDiagram-v2-QKLJ7IA2-BHoytfGp.js +0 -27
- package/dist/stateDiagram-v2-QKLJ7IA2-DO1H6Vqa.cjs +0 -1
- package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +0 -1
- package/dist/treeView-SZITEDCU-Df3xzFtO.js +0 -3
- package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +0 -1
- package/dist/treemap-W4RFUUIX-ClUtdSdn.js +0 -3
- package/dist/v4-6yr83DbP.cjs +0 -1
- package/dist/v4-BR71w5_q.js +0 -33
- package/dist/vennDiagram-DHZGUBPP-C16dnMoe.cjs +0 -34
- package/dist/wardley-RL74JXVD-BtHQbnUy.js +0 -3
- package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +0 -1
- /package/dist/{array-D8NZ46Ht.js → array-CBdkHBGa.js} +0 -0
- /package/dist/{array-Dxz0O8Q3.cjs → array-Cx1JwiGD.cjs} +0 -0
- /package/dist/{cytoscape.esm-CrBwLFXE.cjs → cytoscape.esm-BzblyxzZ.cjs} +0 -0
- /package/dist/{cytoscape.esm-CPjF_mSK.js → cytoscape.esm-VShrX2U1.js} +0 -0
- /package/dist/{defaultLocale-DtzyZW63.cjs → defaultLocale-Bj_Ndo9V.cjs} +0 -0
- /package/dist/{defaultLocale-Dcyuaxxg.js → defaultLocale-dGy1YRID.js} +0 -0
- /package/dist/{init-BO60vQHJ.js → init-B7h4SEX5.js} +0 -0
- /package/dist/{init-B2MubQrj.cjs → init-CEL65JUo.cjs} +0 -0
- /package/dist/{katex-Du5WiYIy.js → katex-DWDh1q_h.js} +0 -0
- /package/dist/{path-CvfwEr8y.js → path-CAXMhBzK.js} +0 -0
- /package/dist/{path-Civic7PQ.cjs → path-CRahBUHI.cjs} +0 -0
- /package/dist/{rough.esm-BLKo1fIQ.cjs → rough.esm-BEA_SCZB.cjs} +0 -0
- /package/dist/{rough.esm-1mqTSjCt.js → rough.esm-TWNWL4Us.js} +0 -0
package/dist/{timeline-definition-GMOUNBTQ-BeTHmikc.cjs → timeline-definition-PNZ67QCA-Cynbc96w.cjs}
RENAMED
|
@@ -1,109 +1,109 @@
|
|
|
1
|
-
|
|
1
|
+
const e=require(`./src-BgvDIw01.cjs`),t=require(`./chunk-CSCIHK7Q-BPMuICCz.cjs`),n=require(`./arc-MUYNnJxV.cjs`),r=require(`./chunk-5ZQYHXKU-BMnKD7Zq.cjs`),i=require(`./chunk-WU5MYG2G-DgyP9QDj.cjs`);var a=(function(){var t=e.h(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,11,13,14,15,17,19,20,23,24],r=[1,12],i=[1,13],a=[1,14],o=[1,15],s=[1,16],c=[1,19],l=[1,20],u={trace:e.h(function(){},`trace`),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:`error`,6:`EOF`,7:`timeline`,8:`timeline_lr`,9:`timeline_td`,11:`SPACE`,13:`NEWLINE`,14:`title`,15:`acc_title`,16:`acc_title_value`,17:`acc_descr`,18:`acc_descr_value`,19:`acc_descr_multiline_value`,20:`section`,23:`period`,24:`event`},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:e.h(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 3:r.setDirection(`LR`);break;case 4:r.setDirection(`TD`);break;case 5:this.$=[];break;case 6:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:this.$=a[s];break;case 9:case 10:this.$=[];break;case 11:r.getCommonDb().setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),r.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),r.getCommonDb().setAccDescription(this.$);break;case 15:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 18:r.addTask(a[s],0,``),this.$=a[s];break;case 19:r.addEvent(a[s].substr(2)),this.$=a[s];break}},`anonymous`),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},t(n,[2,5],{5:6}),t(n,[2,2]),t(n,[2,3]),t(n,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:r,15:i,17:a,19:o,20:s,21:17,22:18,23:c,24:l},t(n,[2,10],{1:[2,1]}),t(n,[2,6]),{12:21,14:r,15:i,17:a,19:o,20:s,21:17,22:18,23:c,24:l},t(n,[2,8]),t(n,[2,9]),t(n,[2,11]),{16:[1,22]},{18:[1,23]},t(n,[2,14]),t(n,[2,15]),t(n,[2,16]),t(n,[2,17]),t(n,[2,18]),t(n,[2,19]),t(n,[2,7]),t(n,[2,12]),t(n,[2,13])],defaultActions:{},parseError:e.h(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e.h(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e.h(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e.h(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
2
|
`+h.showPosition()+`
|
|
3
|
-
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};u.lexer=(function(){return{EOF:1,parseError:
|
|
4
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:
|
|
5
|
-
`+t+`^`},`showPosition`),test_match:
|
|
6
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:t.h(function(){return this.next()||this.lex()},`lex`),begin:t.h(function(e){this.conditionStack.push(e)},`begin`),popState:t.h(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:t.h(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:t.h(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:t.h(function(e){this.begin(e)},`pushState`),stateStackSize:t.h(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:t.h(function(e,t,n,r){switch(n){case 0:break;case 1:break;case 2:return 13;case 3:break;case 4:break;case 5:return 8;case 6:return 9;case 7:return 7;case 8:return 14;case 9:return this.begin(`acc_title`),15;case 10:return this.popState(),`acc_title_value`;case 11:return this.begin(`acc_descr`),17;case 12:return this.popState(),`acc_descr_value`;case 13:this.begin(`acc_descr_multiline`);break;case 14:this.popState();break;case 15:return`acc_descr_multiline_value`;case 16:return 20;case 17:return 24;case 18:return 23;case 19:return 6;case 20:return`INVALID`}},`anonymous`),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline[ \t]+LR\b)/i,/^(?:timeline[ \t]+TD\b)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[14,15],inclusive:!1},acc_descr:{rules:[12],inclusive:!1},acc_title:{rules:[10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,13,16,17,18,19,20],inclusive:!0}}}})();function d(){this.yy={}}return t.h(d,`Parser`),d.prototype=u,u.Parser=d,new d})();a.parser=a;var o=a,s={};t.m(s,{addEvent:()=>S,addSection:()=>v,addTask:()=>x,addTaskOrg:()=>C,clear:()=>h,default:()=>T,getCommonDb:()=>m,getDirection:()=>_,getSections:()=>y,getTasks:()=>b,setDirection:()=>g});var c=``,l=0,u=`LR`,d=[],f=[],p=[],m=t.h(()=>e.o,`getCommonDb`),h=t.h(function(){d.length=0,f.length=0,c=``,p.length=0,u=`LR`,e.a()},`clear`),g=t.h(function(e){u=e},`setDirection`),_=t.h(function(){return u},`getDirection`),v=t.h(function(e){c=e,d.push(e)},`addSection`),y=t.h(function(){return d},`getSections`),b=t.h(function(){let e=w(),t=0;for(;!e&&t<100;)e=w(),t++;return f.push(...p),f},`getTasks`),x=t.h(function(e,t,n){let r={id:l++,section:c,type:c,task:e,score:t||0,events:n?[n]:[]};p.push(r)},`addTask`),S=t.h(function(e){p.find(e=>e.id===l-1).events.push(e)},`addEvent`),C=t.h(function(e){let t={section:c,type:c,description:e,task:e,classes:[]};f.push(t)},`addTaskOrg`),w=t.h(function(){let e=t.h(function(e){return p[e].processed},`compileTask`),n=!0;for(let[t,r]of p.entries())e(t),n&&=r.processed;return n},`compileTasks`),T={clear:h,getCommonDb:m,getDirection:_,setDirection:g,addSection:v,getSections:y,getTasks:b,addTask:x,addTaskOrg:C,addEvent:S},E=0,D=t.h(function(e,t){let n=e.append(`rect`);return n.attr(`x`,t.x),n.attr(`y`,t.y),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`width`,t.width),n.attr(`height`,t.height),n.attr(`rx`,t.rx),n.attr(`ry`,t.ry),t.class!==void 0&&n.attr(`class`,t.class),n},`drawRect`),O=t.h(function(e,r){let i=e.append(`circle`).attr(`cx`,r.cx).attr(`cy`,r.cy).attr(`class`,`face`).attr(`r`,15).attr(`stroke-width`,2).attr(`overflow`,`visible`),a=e.append(`g`);a.append(`circle`).attr(`cx`,r.cx-15/3).attr(`cy`,r.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`),a.append(`circle`).attr(`cx`,r.cx+15/3).attr(`cy`,r.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`);function o(e){let t=n.t().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(15/2).outerRadius(15/2.2);e.append(`path`).attr(`class`,`mouth`).attr(`d`,t).attr(`transform`,`translate(`+r.cx+`,`+(r.cy+2)+`)`)}t.h(o,`smile`);function s(e){let t=n.t().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(15/2).outerRadius(15/2.2);e.append(`path`).attr(`class`,`mouth`).attr(`d`,t).attr(`transform`,`translate(`+r.cx+`,`+(r.cy+7)+`)`)}t.h(s,`sad`);function c(e){e.append(`line`).attr(`class`,`mouth`).attr(`stroke`,2).attr(`x1`,r.cx-5).attr(`y1`,r.cy+7).attr(`x2`,r.cx+5).attr(`y2`,r.cy+7).attr(`class`,`mouth`).attr(`stroke-width`,`1px`).attr(`stroke`,`#666`)}return t.h(c,`ambivalent`),r.score>3?o(a):r.score<3?s(a):c(a),i},`drawFace`),k=t.h(function(e,t){let n=e.append(`circle`);return n.attr(`cx`,t.cx),n.attr(`cy`,t.cy),n.attr(`class`,`actor-`+t.pos),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`r`,t.r),n.class!==void 0&&n.attr(`class`,n.class),t.title!==void 0&&n.append(`title`).text(t.title),n},`drawCircle`),A=t.h(function(e,t){let n=t.text.replace(/<br\s*\/?>/gi,` `),r=e.append(`text`);r.attr(`x`,t.x),r.attr(`y`,t.y),r.attr(`class`,`legend`),r.style(`text-anchor`,t.anchor),t.class!==void 0&&r.attr(`class`,t.class);let i=r.append(`tspan`);return i.attr(`x`,t.x+t.textMargin*2),i.text(n),r},`drawText`),j=t.h(function(e,n){function r(e,t,n,r,i){return e+`,`+t+` `+(e+n)+`,`+t+` `+(e+n)+`,`+(t+r-i)+` `+(e+n-i*1.2)+`,`+(t+r)+` `+e+`,`+(t+r)}t.h(r,`genPoints`);let i=e.append(`polygon`);i.attr(`points`,r(n.x,n.y,50,20,7)),i.attr(`class`,`labelBox`),n.y+=n.labelMargin,n.x+=.5*n.labelMargin,A(e,n)},`drawLabel`),M=t.h(function(e,t,n){let r=e.append(`g`),i=F();i.x=t.x,i.y=t.y,i.fill=t.fill,i.width=n.width,i.height=n.height,i.class=`journey-section section-type-`+t.num,i.rx=3,i.ry=3,D(r,i),I(n)(t.text,r,i.x,i.y,i.width,i.height,{class:`journey-section section-type-`+t.num},n,t.colour)},`drawSection`),N=-1,ee=t.h(function(e,t,n,r){let i=t.x+n.width/2,a=e.append(`g`);N++,a.append(`line`).attr(`id`,r+`-task`+N).attr(`x1`,i).attr(`y1`,t.y).attr(`x2`,i).attr(`y2`,450).attr(`class`,`task-line`).attr(`stroke-width`,`1px`).attr(`stroke-dasharray`,`4 2`).attr(`stroke`,`#666`),O(a,{cx:i,cy:300+(5-t.score)*30,score:t.score});let o=F();o.x=t.x,o.y=t.y,o.fill=t.fill,o.width=n.width,o.height=n.height,o.class=`task task-type-`+t.num,o.rx=3,o.ry=3,D(a,o),I(n)(t.task,a,o.x,o.y,o.width,o.height,{class:`task`},n,t.colour)},`drawTask`),te=t.h(function(e,t){D(e,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:`rect`}).lower()},`drawBackgroundRect`),P=t.h(function(){return{x:0,y:0,fill:void 0,"text-anchor":`start`,width:100,height:100,textMargin:0,rx:0,ry:0}},`getTextObj`),F=t.h(function(){return{x:0,y:0,width:100,anchor:`start`,height:100,rx:0,ry:0}},`getNoteRect`),I=(function(){function e(e,t,n,r,a,o,s,c){i(t.append(`text`).attr(`x`,n+a/2).attr(`y`,r+o/2+5).style(`font-color`,c).style(`text-anchor`,`middle`).text(e),s)}t.h(e,`byText`);function n(e,t,n,r,a,o,s,c,l){let{taskFontSize:u,taskFontFamily:d}=c,f=e.split(/<br\s*\/?>/gi);for(let e=0;e<f.length;e++){let c=e*u-u*(f.length-1)/2,p=t.append(`text`).attr(`x`,n+a/2).attr(`y`,r).attr(`fill`,l).style(`text-anchor`,`middle`).style(`font-size`,u).style(`font-family`,d);p.append(`tspan`).attr(`x`,n+a/2).attr(`dy`,c).text(f[e]),p.attr(`y`,r+o/2).attr(`dominant-baseline`,`central`).attr(`alignment-baseline`,`central`),i(p,s)}}t.h(n,`byTspan`);function r(e,t,r,a,o,s,c,l){let u=t.append(`switch`),d=u.append(`foreignObject`).attr(`x`,r).attr(`y`,a).attr(`width`,o).attr(`height`,s).attr(`position`,`fixed`).append(`xhtml:div`).style(`display`,`table`).style(`height`,`100%`).style(`width`,`100%`);d.append(`div`).attr(`class`,`label`).style(`display`,`table-cell`).style(`text-align`,`center`).style(`vertical-align`,`middle`).text(e),n(e,u,r,a,o,s,c,l),i(d,c)}t.h(r,`byFo`);function i(e,t){for(let n in t)n in t&&e.attr(n,t[n])}return t.h(i,`_setTextAttrs`),function(t){return t.textPlacement===`fo`?r:t.textPlacement===`old`?e:n}})(),L=t.h(function(e,t){E=0,N=-1,e.append(`defs`).append(`marker`).attr(`id`,t+`-arrowhead`).attr(`refX`,5).attr(`refY`,2).attr(`markerWidth`,6).attr(`markerHeight`,4).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0,0 V 4 L6,2 Z`)},`initGraphics`);function R(e,n){e.each(function(){var e=t.p(this),r=e.text().split(/(\s+|<br>)/).reverse(),i,a=[],o=1.1,s=e.attr(`y`),c=parseFloat(e.attr(`dy`)),l=e.text(null).append(`tspan`).attr(`x`,0).attr(`y`,s).attr(`dy`,c+`em`);for(let t=0;t<r.length;t++)i=r[r.length-1-t],a.push(i),l.text(a.join(` `).trim()),(l.node().getComputedTextLength()>n||i===`<br>`)&&(a.pop(),l.text(a.join(` `).trim()),a=i===`<br>`?[``]:[i],l=e.append(`tspan`).attr(`x`,0).attr(`y`,s).attr(`dy`,o+`em`).text(i))})}t.h(R,`wrap`);var z=t.h(function(e,n,r,i,a,o=!1){let{theme:s,look:c}=i,l=s?.includes(`redux`),u=r%(i?.themeVariables?.THEME_COLOR_LIMIT??12)-1,d=e.append(`g`);n.section=u,d.attr(`class`,(n.class?n.class+` `:``)+`timeline-node `+(`section-`+u));let f=d.append(`g`),p=d.append(`g`),m=p.append(`text`).text(n.descr).attr(`dy`,`1em`).attr(`alignment-baseline`,`middle`).attr(`dominant-baseline`,`middle`).attr(`text-anchor`,`middle`).call(R,n.width).node().getBBox(),h=i.fontSize?.replace?i.fontSize.replace(`px`,``):i.fontSize;if(n.height=m.height+h*1.1*.5+n.padding,n.height=Math.max(n.height,n.maxHeight),n.width+=2*n.padding,p.attr(`transform`,`translate(`+n.width/2+`, `+n.padding/2+`)`),l&&p.attr(`transform`,`translate(${n.width/2}, ${o?n.padding/2+3:n.padding})`),re(f,n,u,a,i),c===`neo`&&(d.attr(`data-look`,`neo`),l)){let n=s.includes(`dark`),r=t.p(e.node()?.ownerSVGElement??e.node()),i=r.attr(`id`)??``,a=i?`${i}-drop-shadow`:`drop-shadow`;if(r.select(`#${a}`).empty()){let e=r.select(`defs`);(e.empty()?r.append(`defs`):e).append(`filter`).attr(`id`,a).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,n?`0.2`:`0.06`).attr(`flood-color`,n?`#FFFFFF`:`#000000`)}}return n},`drawNode`),ne=t.h(function(e,t,n){let r=e.append(`g`),i=r.append(`text`).text(t.descr).attr(`dy`,`1em`).attr(`alignment-baseline`,`middle`).attr(`dominant-baseline`,`middle`).attr(`text-anchor`,`middle`).call(R,t.width).node().getBBox(),a=n.fontSize?.replace?n.fontSize.replace(`px`,``):n.fontSize;return r.remove(),i.height+a*1.1*.5+t.padding},`getVirtualNodeHeight`),re=t.h(function(e,t,n,r,i){let{theme:a}=i,o=a?.includes(`redux`)?0:5,s=o>0?`M0 ${t.height-5} v${-t.height+10} q0,-${o},${o},-${o} h${t.width-10} q${o},0,${o},${o} v${t.height-5} H0 Z`:`M0 ${t.height-5} v${-(t.height-5)} h${t.width} v${t.height} H0 Z`;e.append(`path`).attr(`id`,r+`-node-`+ E++).attr(`class`,`node-bkg node-`+t.type).attr(`d`,s),a?.includes(`redux`)||e.append(`line`).attr(`class`,`node-line-`+n).attr(`x1`,0).attr(`y1`,t.height).attr(`x2`,t.width).attr(`y2`,t.height)},`defaultBkg`),B={drawRect:D,drawCircle:k,drawSection:M,drawText:A,drawLabel:j,drawTask:ee,drawBackgroundRect:te,getTextObj:P,getNoteRect:F,initGraphics:L,drawNode:z,getVirtualNodeHeight:ne},ie=t.h(function(n,r,i,a){let o=e.b(),{look:s,theme:c,themeVariables:l}=o,{useGradient:u,gradientStart:d,gradientStop:f}=l,p=o.timeline?.leftMargin??50;t.g.debug(`timeline`,a.db);let m=o.securityLevel,h;m===`sandbox`&&(h=t.p(`#i`+r));let g=(m===`sandbox`?t.p(h.nodes()[0].contentDocument.body):t.p(`body`)).select(`#`+r);g.append(`g`);let _=a.db.getTasks(),v=a.db.getCommonDb().getDiagramTitle();t.g.debug(`task`,_),B.initGraphics(g,r);let y=a.db.getSections();t.g.debug(`sections`,y);let b=0,x=0,S=0,C=0,w=50+p,T=50;C=50;let E=0,D=!0;y.forEach(function(e){let n={number:E,descr:e,section:E,width:150,padding:20,maxHeight:b},r=B.getVirtualNodeHeight(g,n,o);t.g.debug(`sectionHeight before draw`,r),b=Math.max(b,r+20)});let O=0,k=0;t.g.debug(`tasks.length`,_.length);for(let[e,n]of _.entries()){let r={number:e,descr:n,section:n.section,width:150,padding:20,maxHeight:x},i=B.getVirtualNodeHeight(g,r,o);t.g.debug(`taskHeight before draw`,i),x=Math.max(x,i+20),O=Math.max(O,n.events.length);let a=0;for(let e of n.events){let t={descr:e,section:n.section,number:n.section,width:150,padding:20,maxHeight:50};a+=B.getVirtualNodeHeight(g,t,o)}n.events.length>0&&(a+=(n.events.length-1)*10),k=Math.max(k,a)}t.g.debug(`maxSectionHeight before draw`,b),t.g.debug(`maxTaskHeight before draw`,x),y&&y.length>0?y.forEach(e=>{let n=_.filter(t=>t.section===e),i={number:E,descr:e,section:E,width:200*Math.max(n.length,1)-50,padding:20,maxHeight:b};t.g.debug(`sectionNode`,i);let a=g.append(`g`),s=B.drawNode(a,i,E,o,r);t.g.debug(`sectionNode output`,s),a.attr(`transform`,`translate(${w}, ${C})`),T+=b+50,n.length>0&&V(g,n,E,w,T,x,o,O,k,b,!1,r),w+=200*Math.max(n.length,1),T=C,E++}):(D=!1,V(g,_,E,w,T,x,o,O,k,b,!0,r));let A=g.node().getBBox();if(t.g.debug(`bounds`,A),v&&g.append(`text`).text(v).attr(`x`,s===`neo`?A.x*2+p:A.width/2-p).attr(`font-size`,`4ex`).attr(`font-weight`,`bold`).attr(`y`,20),S=D?b+x+150:x+100,g.append(`g`).attr(`class`,`lineWrapper`).append(`line`).attr(`x1`,p).attr(`y1`,S).attr(`x2`,A.width+3*p).attr(`y2`,S).attr(`stroke-width`,4).attr(`stroke`,`black`).attr(`marker-end`,`url(#${r}-arrowhead)`),s===`neo`&&u&&c!==`neutral`){let e=g.select(`defs`),t=(e.empty()?g.append(`defs`):e).append(`linearGradient`).attr(`id`,g.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);t.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,d).attr(`stop-opacity`,1),t.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,f).attr(`stop-opacity`,1)}e.K(void 0,g,o.timeline?.padding??50,o.timeline?.useMaxWidth??!1)},`draw`),V=t.h(function(e,n,r,i,a,o,s,c,l,u,d,f){for(let c of n){let n={descr:c.task,section:r,number:r,width:150,padding:20,maxHeight:o};t.g.debug(`taskNode`,n);let u=e.append(`g`).attr(`class`,`taskWrapper`),p=B.drawNode(u,n,r,s,f).height;if(t.g.debug(`taskHeight after draw`,p),u.attr(`transform`,`translate(${i}, ${a})`),o=Math.max(o,p),c.events){let t=e.append(`g`).attr(`class`,`lineWrapper`),n=o;a+=100,n+=ae(e,c.events,r,i,a,s,f),a-=100,t.append(`line`).attr(`x1`,i+190/2).attr(`y1`,a+o).attr(`x2`,i+190/2).attr(`y2`,a+o+100+l+100).attr(`stroke-width`,2).attr(`stroke`,`black`).attr(`marker-end`,`url(#${f}-arrowhead)`).attr(`stroke-dasharray`,`5,5`)}i+=200,d&&!s.timeline?.disableMulticolor&&r++}a-=10},`drawTasks`),ae=t.h(function(e,n,r,i,a,o,s){let c=0,l=a;a+=100;for(let l of n){let n={descr:l,section:r,number:r,width:150,padding:20,maxHeight:50};t.g.debug(`eventNode`,n);let u=e.append(`g`).attr(`class`,`eventWrapper`),d=B.drawNode(u,n,r,o,s,!0).height;c+=d,u.attr(`transform`,`translate(${i}, ${a})`),a=a+10+d}return a=l,c},`drawEvents`),oe={setConf:t.h(()=>{},`setConf`),draw:ie},H=200,U=5,W=H+U*2,G=H+100,K=G+U*2,q=10,se=0,J=20,Y=20,X=30,Z=50,ce=t.h(function(n,a,o,s){let c=e.b(),l=c.timeline?.leftMargin??50;t.g.debug(`timeline`,s.db);let u=i.t(a);u.append(`g`);let d=s.db.getTasks(),f=s.db.getCommonDb().getDiagramTitle();t.g.debug(`task`,d),B.initGraphics(u);let p=s.db.getSections();t.g.debug(`sections`,p);let m=0,h=0,g=50+l,_=50,v=_,y=g,b=W+Y,x=K+Z,S=y+b,C=0,w=p&&p.length>0,T=w?S:g+b,E=Math.max(50,b+x-U*2);p.forEach(function(e){let n={number:C,descr:e,section:C,width:E,padding:U,maxHeight:m},r=B.getVirtualNodeHeight(u,n,c);t.g.debug(`sectionHeight before draw`,r),m=Math.max(m,r)});let D=0;t.g.debug(`tasks.length`,d.length);for(let[e,n]of d.entries()){let r={number:e,descr:n,section:n.section,width:H,padding:U,maxHeight:h},i=B.getVirtualNodeHeight(u,r,c);t.g.debug(`taskHeight before draw`,i),h=Math.max(h,i);let a=0;for(let e of n.events){let t={descr:e,section:n.section,number:n.section,width:G,padding:U,maxHeight:50};a+=B.getVirtualNodeHeight(u,t,c)}n.events.length>0&&(a+=(n.events.length-1)*q),D=Math.max(D,a)+se}t.g.debug(`maxSectionHeight before draw`,m),t.g.debug(`maxTaskHeight before draw`,h);let O=Math.max(h,D)+X;w?p.forEach(e=>{let n=d.filter(t=>t.section===e),r={number:C,descr:e,section:C,width:E,padding:U,maxHeight:m};t.g.debug(`sectionNode`,r);let i=u.append(`g`),a=B.drawNode(i,r,C,c);t.g.debug(`sectionNode output`,a);let o=T-b;i.attr(`transform`,`translate(${o}, ${_})`);let s=_+a.height+J;n.length>0&&Q(u,n,C,T,s,h,c,O,!1);let l=n.length,f=a.height+J+O*Math.max(l,1)-(l>0?X*2:0);_+=f,C++}):Q(u,d,C,T,_,h,c,O,!0);let k=u.node()?.getBBox();if(!k)throw Error(`bbox not found`);if(t.g.debug(`bounds`,k),f){if(u.append(`text`).text(f).attr(`x`,k.width/2-l).attr(`font-size`,`4ex`).attr(`font-weight`,`bold`).attr(`y`,20),k=u.node()?.getBBox(),!k)throw Error(`bbox not found`);t.g.debug(`bounds after title`,k)}let[A]=r.f(c.fontSize),j=(A??16)*2,M=(A??16)*.5+20,N=u.append(`g`).attr(`class`,`lineWrapper`);N.append(`line`).attr(`x1`,T).attr(`y1`,v-j).attr(`x2`,T).attr(`y2`,k.y+k.height+M).attr(`stroke-width`,4).attr(`stroke`,`black`).attr(`marker-end`,`url(#arrowhead)`),N.lower(),e.K(void 0,u,c.timeline?.padding??50,c.timeline?.useMaxWidth??!1)},`draw`),Q=t.h(function(e,n,r,i,a,o,s,c,l){for(let u of n){let n={descr:u.task,section:r,number:r,width:H,padding:U,maxHeight:o};t.g.debug(`taskNode`,n);let d=e.append(`g`).attr(`class`,`taskWrapper`),f=B.drawNode(d,n,r,s),p=f.height;t.g.debug(`taskHeight after draw`,p);let m=i-Y-f.width;if(d.attr(`transform`,`translate(${m}, ${a})`),o=Math.max(o,p),u.events&&u.events.length>0){let t=a,n=i+Z;le(e,u.events,r,i,n,t,s)}a+=c,l&&!s.timeline?.disableMulticolor&&r++}},`drawTasks`),le=t.h(function(e,n,r,i,a,o,s){let c=o;for(let o of n){let n={descr:o,section:r,number:r,width:G,padding:U,maxHeight:0};t.g.debug(`eventNode`,n);let l=e.append(`g`).attr(`class`,`eventWrapper`),u=B.drawNode(l,n,r,s).height;l.attr(`transform`,`translate(${a}, ${c})`);let d=e.append(`g`).attr(`class`,`lineWrapper`),f=c+u/2;d.append(`line`).attr(`x1`,i).attr(`y1`,f).attr(`x2`,a).attr(`y2`,f).attr(`stroke-width`,2).attr(`stroke`,`black`).attr(`marker-end`,`url(#arrowhead)`).attr(`stroke-dasharray`,`5,5`),c=c+u+q}return c-o},`drawEvents`),$={setConf:t.h(()=>{},`setConf`),draw:ce},ue=t.h(t=>{let{theme:n}=e.y(),r=n?.includes(`dark`),i=n?.includes(`color`),a=t.svgId?.replace(/^#/,``)??``,o=a?`url(#${a}-drop-shadow)`:t.dropShadow??`none`,s=``;for(let e=0;e<t.THEME_COLOR_LIMIT;e++){let n=`${17-3*e}`,a=i?t.borderColorArray[e]:t.mainBkg,c=i?t.borderColorArray[e]:t.nodeBorder;s+=`
|
|
7
|
-
.section-${
|
|
8
|
-
.section-${
|
|
9
|
-
.section-${
|
|
10
|
-
fill: ${r&&i?
|
|
3
|
+
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};u.lexer=(function(){return{EOF:1,parseError:e.h(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e.h(function(e,t){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={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e.h(function(){var e=this._input[0];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},`input`),unput:e.h(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,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},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e.h(function(){return this._more=!0,this},`more`),reject:e.h(function(){if(this.options.backtrack_lexer)this._backtrack=!0;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).
|
|
4
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e.h(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e.h(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e.h(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e.h(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
5
|
+
`+t+`^`},`showPosition`),test_match:e.h(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:e.h(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:e.h(function(){return this.next()||this.lex()},`lex`),begin:e.h(function(e){this.conditionStack.push(e)},`begin`),popState:e.h(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:e.h(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:e.h(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:e.h(function(e){this.begin(e)},`pushState`),stateStackSize:e.h(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:e.h(function(e,t,n,r){switch(n){case 0:break;case 1:break;case 2:return 13;case 3:break;case 4:break;case 5:return 8;case 6:return 9;case 7:return 7;case 8:return 14;case 9:return this.begin(`acc_title`),15;case 10:return this.popState(),`acc_title_value`;case 11:return this.begin(`acc_descr`),17;case 12:return this.popState(),`acc_descr_value`;case 13:this.begin(`acc_descr_multiline`);break;case 14:this.popState();break;case 15:return`acc_descr_multiline_value`;case 16:return 20;case 17:return 24;case 18:return 23;case 19:return 6;case 20:return`INVALID`}},`anonymous`),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline[ \t]+LR\b)/i,/^(?:timeline[ \t]+TD\b)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[14,15],inclusive:!1},acc_descr:{rules:[12],inclusive:!1},acc_title:{rules:[10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,13,16,17,18,19,20],inclusive:!0}}}})();function d(){this.yy={}}return e.h(d,`Parser`),d.prototype=u,u.Parser=d,new d})();a.parser=a;var o=a,s={};e.m(s,{addEvent:()=>S,addSection:()=>v,addTask:()=>x,addTaskOrg:()=>C,clear:()=>h,default:()=>T,getCommonDb:()=>m,getDirection:()=>_,getSections:()=>y,getTasks:()=>b,setDirection:()=>g});var c=``,l=0,u=`LR`,d=[],f=[],p=[],m=e.h(()=>t.o,`getCommonDb`),h=e.h(function(){d.length=0,f.length=0,c=``,p.length=0,u=`LR`,t.a()},`clear`),g=e.h(function(e){u=e},`setDirection`),_=e.h(function(){return u},`getDirection`),v=e.h(function(e){c=e,d.push(e)},`addSection`),y=e.h(function(){return d},`getSections`),b=e.h(function(){let e=w(),t=0;for(;!e&&t<100;)e=w(),t++;return f.push(...p),f},`getTasks`),x=e.h(function(e,t,n){let r={id:l++,section:c,type:c,task:e,score:t||0,events:n?[n]:[]};p.push(r)},`addTask`),S=e.h(function(e){p.find(e=>e.id===l-1).events.push(e)},`addEvent`),C=e.h(function(e){let t={section:c,type:c,description:e,task:e,classes:[]};f.push(t)},`addTaskOrg`),w=e.h(function(){let t=e.h(function(e){return p[e].processed},`compileTask`),n=!0;for(let[e,r]of p.entries())t(e),n&&=r.processed;return n},`compileTasks`),T={clear:h,getCommonDb:m,getDirection:_,setDirection:g,addSection:v,getSections:y,getTasks:b,addTask:x,addTaskOrg:C,addEvent:S},E=0,D=e.h(function(e,t){let n=e.append(`rect`);return n.attr(`x`,t.x),n.attr(`y`,t.y),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`width`,t.width),n.attr(`height`,t.height),n.attr(`rx`,t.rx),n.attr(`ry`,t.ry),t.class!==void 0&&n.attr(`class`,t.class),n},`drawRect`),O=e.h(function(t,r){let i=t.append(`circle`).attr(`cx`,r.cx).attr(`cy`,r.cy).attr(`class`,`face`).attr(`r`,15).attr(`stroke-width`,2).attr(`overflow`,`visible`),a=t.append(`g`);a.append(`circle`).attr(`cx`,r.cx-15/3).attr(`cy`,r.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`),a.append(`circle`).attr(`cx`,r.cx+15/3).attr(`cy`,r.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`);function o(e){let t=n.t().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(15/2).outerRadius(15/2.2);e.append(`path`).attr(`class`,`mouth`).attr(`d`,t).attr(`transform`,`translate(`+r.cx+`,`+(r.cy+2)+`)`)}e.h(o,`smile`);function s(e){let t=n.t().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(15/2).outerRadius(15/2.2);e.append(`path`).attr(`class`,`mouth`).attr(`d`,t).attr(`transform`,`translate(`+r.cx+`,`+(r.cy+7)+`)`)}e.h(s,`sad`);function c(e){e.append(`line`).attr(`class`,`mouth`).attr(`stroke`,2).attr(`x1`,r.cx-5).attr(`y1`,r.cy+7).attr(`x2`,r.cx+5).attr(`y2`,r.cy+7).attr(`class`,`mouth`).attr(`stroke-width`,`1px`).attr(`stroke`,`#666`)}return e.h(c,`ambivalent`),r.score>3?o(a):r.score<3?s(a):c(a),i},`drawFace`),k=e.h(function(e,t){let n=e.append(`circle`);return n.attr(`cx`,t.cx),n.attr(`cy`,t.cy),n.attr(`class`,`actor-`+t.pos),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`r`,t.r),n.class!==void 0&&n.attr(`class`,n.class),t.title!==void 0&&n.append(`title`).text(t.title),n},`drawCircle`),A=e.h(function(e,t){let n=t.text.replace(/<br\s*\/?>/gi,` `),r=e.append(`text`);r.attr(`x`,t.x),r.attr(`y`,t.y),r.attr(`class`,`legend`),r.style(`text-anchor`,t.anchor),t.class!==void 0&&r.attr(`class`,t.class);let i=r.append(`tspan`);return i.attr(`x`,t.x+t.textMargin*2),i.text(n),r},`drawText`),j=e.h(function(t,n){function r(e,t,n,r,i){return e+`,`+t+` `+(e+n)+`,`+t+` `+(e+n)+`,`+(t+r-i)+` `+(e+n-i*1.2)+`,`+(t+r)+` `+e+`,`+(t+r)}e.h(r,`genPoints`);let i=t.append(`polygon`);i.attr(`points`,r(n.x,n.y,50,20,7)),i.attr(`class`,`labelBox`),n.y+=n.labelMargin,n.x+=.5*n.labelMargin,A(t,n)},`drawLabel`),M=e.h(function(e,t,n){let r=e.append(`g`),i=F();i.x=t.x,i.y=t.y,i.fill=t.fill,i.width=n.width,i.height=n.height,i.class=`journey-section section-type-`+t.num,i.rx=3,i.ry=3,D(r,i),I(n)(t.text,r,i.x,i.y,i.width,i.height,{class:`journey-section section-type-`+t.num},n,t.colour)},`drawSection`),N=-1,ee=e.h(function(e,t,n,r){let i=t.x+n.width/2,a=e.append(`g`);N++,a.append(`line`).attr(`id`,r+`-task`+N).attr(`x1`,i).attr(`y1`,t.y).attr(`x2`,i).attr(`y2`,450).attr(`class`,`task-line`).attr(`stroke-width`,`1px`).attr(`stroke-dasharray`,`4 2`).attr(`stroke`,`#666`),O(a,{cx:i,cy:300+(5-t.score)*30,score:t.score});let o=F();o.x=t.x,o.y=t.y,o.fill=t.fill,o.width=n.width,o.height=n.height,o.class=`task task-type-`+t.num,o.rx=3,o.ry=3,D(a,o),I(n)(t.task,a,o.x,o.y,o.width,o.height,{class:`task`},n,t.colour)},`drawTask`),te=e.h(function(e,t){D(e,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:`rect`}).lower()},`drawBackgroundRect`),P=e.h(function(){return{x:0,y:0,fill:void 0,"text-anchor":`start`,width:100,height:100,textMargin:0,rx:0,ry:0}},`getTextObj`),F=e.h(function(){return{x:0,y:0,width:100,anchor:`start`,height:100,rx:0,ry:0}},`getNoteRect`),I=(function(){function t(e,t,n,r,a,o,s,c){i(t.append(`text`).attr(`x`,n+a/2).attr(`y`,r+o/2+5).style(`font-color`,c).style(`text-anchor`,`middle`).text(e),s)}e.h(t,`byText`);function n(e,t,n,r,a,o,s,c,l){let{taskFontSize:u,taskFontFamily:d}=c,f=e.split(/<br\s*\/?>/gi);for(let e=0;e<f.length;e++){let c=e*u-u*(f.length-1)/2,p=t.append(`text`).attr(`x`,n+a/2).attr(`y`,r).attr(`fill`,l).style(`text-anchor`,`middle`).style(`font-size`,u).style(`font-family`,d);p.append(`tspan`).attr(`x`,n+a/2).attr(`dy`,c).text(f[e]),p.attr(`y`,r+o/2).attr(`dominant-baseline`,`central`).attr(`alignment-baseline`,`central`),i(p,s)}}e.h(n,`byTspan`);function r(e,t,r,a,o,s,c,l){let u=t.append(`switch`),d=u.append(`foreignObject`).attr(`x`,r).attr(`y`,a).attr(`width`,o).attr(`height`,s).attr(`position`,`fixed`).append(`xhtml:div`).style(`display`,`table`).style(`height`,`100%`).style(`width`,`100%`);d.append(`div`).attr(`class`,`label`).style(`display`,`table-cell`).style(`text-align`,`center`).style(`vertical-align`,`middle`).text(e),n(e,u,r,a,o,s,c,l),i(d,c)}e.h(r,`byFo`);function i(e,t){for(let n in t)n in t&&e.attr(n,t[n])}return e.h(i,`_setTextAttrs`),function(e){return e.textPlacement===`fo`?r:e.textPlacement===`old`?t:n}})(),L=e.h(function(e,t){E=0,N=-1,e.append(`defs`).append(`marker`).attr(`id`,t+`-arrowhead`).attr(`refX`,5).attr(`refY`,2).attr(`markerWidth`,6).attr(`markerHeight`,4).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0,0 V 4 L6,2 Z`)},`initGraphics`);function R(t,n){t.each(function(){var t=e.p(this),r=t.text().split(/(\s+|<br>)/).reverse(),i,a=[],o=1.1,s=t.attr(`y`),c=parseFloat(t.attr(`dy`)),l=t.text(null).append(`tspan`).attr(`x`,0).attr(`y`,s).attr(`dy`,c+`em`);for(let e=0;e<r.length;e++)i=r[r.length-1-e],a.push(i),l.text(a.join(` `).trim()),(l.node().getComputedTextLength()>n||i===`<br>`)&&(a.pop(),l.text(a.join(` `).trim()),a=i===`<br>`?[``]:[i],l=t.append(`tspan`).attr(`x`,0).attr(`y`,s).attr(`dy`,o+`em`).text(i))})}e.h(R,`wrap`);var z=e.h(function(t,n,r,i,a,o=!1){let{theme:s,look:c}=i,l=s?.includes(`redux`),u=r%(i?.themeVariables?.THEME_COLOR_LIMIT??12)-1,d=t.append(`g`);n.section=u,d.attr(`class`,(n.class?n.class+` `:``)+`timeline-node `+(`section-`+u));let f=d.append(`g`),p=d.append(`g`),m=p.append(`text`).text(n.descr).attr(`dy`,`1em`).attr(`alignment-baseline`,`middle`).attr(`dominant-baseline`,`middle`).attr(`text-anchor`,`middle`).call(R,n.width).node().getBBox(),h=i.fontSize?.replace?i.fontSize.replace(`px`,``):i.fontSize;if(n.height=m.height+h*1.1*.5+n.padding,n.height=Math.max(n.height,n.maxHeight),n.width+=2*n.padding,p.attr(`transform`,`translate(`+n.width/2+`, `+n.padding/2+`)`),l&&p.attr(`transform`,`translate(${n.width/2}, ${o?n.padding/2+3:n.padding})`),re(f,n,u,a,i),c===`neo`&&(d.attr(`data-look`,`neo`),l)){let n=s.includes(`dark`),r=e.p(t.node()?.ownerSVGElement??t.node()),i=r.attr(`id`)??``,a=i?`${i}-drop-shadow`:`drop-shadow`;if(r.select(`#${a}`).empty()){let e=r.select(`defs`);(e.empty()?r.append(`defs`):e).append(`filter`).attr(`id`,a).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,n?`0.2`:`0.06`).attr(`flood-color`,n?`#FFFFFF`:`#000000`)}}return n},`drawNode`),ne=e.h(function(e,t,n){let r=e.append(`g`),i=r.append(`text`).text(t.descr).attr(`dy`,`1em`).attr(`alignment-baseline`,`middle`).attr(`dominant-baseline`,`middle`).attr(`text-anchor`,`middle`).call(R,t.width).node().getBBox(),a=n.fontSize?.replace?n.fontSize.replace(`px`,``):n.fontSize;return r.remove(),i.height+a*1.1*.5+t.padding},`getVirtualNodeHeight`),re=e.h(function(e,t,n,r,i){let{theme:a}=i,o=a?.includes(`redux`)?0:5,s=o>0?`M0 ${t.height-5} v${-t.height+10} q0,-${o},${o},-${o} h${t.width-10} q${o},0,${o},${o} v${t.height-5} H0 Z`:`M0 ${t.height-5} v${-(t.height-5)} h${t.width} v${t.height} H0 Z`;e.append(`path`).attr(`id`,r+`-node-`+ E++).attr(`class`,`node-bkg node-`+t.type).attr(`d`,s),a?.includes(`redux`)||e.append(`line`).attr(`class`,`node-line-`+n).attr(`x1`,0).attr(`y1`,t.height).attr(`x2`,t.width).attr(`y2`,t.height)},`defaultBkg`),B={drawRect:D,drawCircle:k,drawSection:M,drawText:A,drawLabel:j,drawTask:ee,drawBackgroundRect:te,getTextObj:P,getNoteRect:F,initGraphics:L,drawNode:z,getVirtualNodeHeight:ne},ie=e.h(function(n,r,i,a){let o=t.x(),{look:s,theme:c,themeVariables:l}=o,{useGradient:u,gradientStart:d,gradientStop:f}=l,p=o.timeline?.leftMargin??50;e.g.debug(`timeline`,a.db);let m=o.securityLevel,h;m===`sandbox`&&(h=e.p(`#i`+r));let g=(m===`sandbox`?e.p(h.nodes()[0].contentDocument.body):e.p(`body`)).select(`#`+r);g.append(`g`);let _=a.db.getTasks(),v=a.db.getCommonDb().getDiagramTitle();e.g.debug(`task`,_),B.initGraphics(g,r);let y=a.db.getSections();e.g.debug(`sections`,y);let b=0,x=0,S=0,C=0,w=50+p,T=50;C=50;let E=0,D=!0;y.forEach(function(t){let n={number:E,descr:t,section:E,width:150,padding:20,maxHeight:b},r=B.getVirtualNodeHeight(g,n,o);e.g.debug(`sectionHeight before draw`,r),b=Math.max(b,r+20)});let O=0,k=0;e.g.debug(`tasks.length`,_.length);for(let[t,n]of _.entries()){let r={number:t,descr:n,section:n.section,width:150,padding:20,maxHeight:x},i=B.getVirtualNodeHeight(g,r,o);e.g.debug(`taskHeight before draw`,i),x=Math.max(x,i+20),O=Math.max(O,n.events.length);let a=0;for(let e of n.events){let t={descr:e,section:n.section,number:n.section,width:150,padding:20,maxHeight:50};a+=B.getVirtualNodeHeight(g,t,o)}n.events.length>0&&(a+=(n.events.length-1)*10),k=Math.max(k,a)}e.g.debug(`maxSectionHeight before draw`,b),e.g.debug(`maxTaskHeight before draw`,x),y&&y.length>0?y.forEach(t=>{let n=_.filter(e=>e.section===t),i={number:E,descr:t,section:E,width:200*Math.max(n.length,1)-50,padding:20,maxHeight:b};e.g.debug(`sectionNode`,i);let a=g.append(`g`),s=B.drawNode(a,i,E,o,r);e.g.debug(`sectionNode output`,s),a.attr(`transform`,`translate(${w}, ${C})`),T+=b+50,n.length>0&&V(g,n,E,w,T,x,o,O,k,b,!1,r),w+=200*Math.max(n.length,1),T=C,E++}):(D=!1,V(g,_,E,w,T,x,o,O,k,b,!0,r));let A=g.node().getBBox();if(e.g.debug(`bounds`,A),v&&g.append(`text`).text(v).attr(`x`,s===`neo`?A.x*2+p:A.width/2-p).attr(`font-size`,`4ex`).attr(`font-weight`,`bold`).attr(`y`,20),S=D?b+x+150:x+100,g.append(`g`).attr(`class`,`lineWrapper`).append(`line`).attr(`x1`,p).attr(`y1`,S).attr(`x2`,A.width+3*p).attr(`y2`,S).attr(`stroke-width`,4).attr(`stroke`,`black`).attr(`marker-end`,`url(#${r}-arrowhead)`),s===`neo`&&u&&c!==`neutral`){let e=g.select(`defs`),t=(e.empty()?g.append(`defs`):e).append(`linearGradient`).attr(`id`,g.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);t.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,d).attr(`stop-opacity`,1),t.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,f).attr(`stop-opacity`,1)}t.J(void 0,g,o.timeline?.padding??50,o.timeline?.useMaxWidth??!1)},`draw`),V=e.h(function(t,n,r,i,a,o,s,c,l,u,d,f){for(let c of n){let n={descr:c.task,section:r,number:r,width:150,padding:20,maxHeight:o};e.g.debug(`taskNode`,n);let u=t.append(`g`).attr(`class`,`taskWrapper`),p=B.drawNode(u,n,r,s,f).height;if(e.g.debug(`taskHeight after draw`,p),u.attr(`transform`,`translate(${i}, ${a})`),o=Math.max(o,p),c.events){let e=t.append(`g`).attr(`class`,`lineWrapper`),n=o;a+=100,n+=ae(t,c.events,r,i,a,s,f),a-=100,e.append(`line`).attr(`x1`,i+190/2).attr(`y1`,a+o).attr(`x2`,i+190/2).attr(`y2`,a+o+100+l+100).attr(`stroke-width`,2).attr(`stroke`,`black`).attr(`marker-end`,`url(#${f}-arrowhead)`).attr(`stroke-dasharray`,`5,5`)}i+=200,d&&!s.timeline?.disableMulticolor&&r++}a-=10},`drawTasks`),ae=e.h(function(t,n,r,i,a,o,s){let c=0,l=a;a+=100;for(let l of n){let n={descr:l,section:r,number:r,width:150,padding:20,maxHeight:50};e.g.debug(`eventNode`,n);let u=t.append(`g`).attr(`class`,`eventWrapper`),d=B.drawNode(u,n,r,o,s,!0).height;c+=d,u.attr(`transform`,`translate(${i}, ${a})`),a=a+10+d}return a=l,c},`drawEvents`),oe={setConf:e.h(()=>{},`setConf`),draw:ie},H=200,U=5,W=H+U*2,G=H+100,K=G+U*2,q=10,se=0,J=20,Y=20,X=30,Z=50,ce=e.h(function(n,a,o,s){let c=t.x(),l=c.timeline?.leftMargin??50;e.g.debug(`timeline`,s.db);let u=i.t(a);u.append(`g`);let d=s.db.getTasks(),f=s.db.getCommonDb().getDiagramTitle();e.g.debug(`task`,d),B.initGraphics(u);let p=s.db.getSections();e.g.debug(`sections`,p);let m=0,h=0,g=50+l,_=50,v=_,y=g,b=W+Y,x=K+Z,S=y+b,C=0,w=p&&p.length>0,T=w?S:g+b,E=Math.max(50,b+x-U*2);p.forEach(function(t){let n={number:C,descr:t,section:C,width:E,padding:U,maxHeight:m},r=B.getVirtualNodeHeight(u,n,c);e.g.debug(`sectionHeight before draw`,r),m=Math.max(m,r)});let D=0;e.g.debug(`tasks.length`,d.length);for(let[t,n]of d.entries()){let r={number:t,descr:n,section:n.section,width:H,padding:U,maxHeight:h},i=B.getVirtualNodeHeight(u,r,c);e.g.debug(`taskHeight before draw`,i),h=Math.max(h,i);let a=0;for(let e of n.events){let t={descr:e,section:n.section,number:n.section,width:G,padding:U,maxHeight:50};a+=B.getVirtualNodeHeight(u,t,c)}n.events.length>0&&(a+=(n.events.length-1)*q),D=Math.max(D,a)+se}e.g.debug(`maxSectionHeight before draw`,m),e.g.debug(`maxTaskHeight before draw`,h);let O=Math.max(h,D)+X;w?p.forEach(t=>{let n=d.filter(e=>e.section===t),r={number:C,descr:t,section:C,width:E,padding:U,maxHeight:m};e.g.debug(`sectionNode`,r);let i=u.append(`g`),a=B.drawNode(i,r,C,c);e.g.debug(`sectionNode output`,a);let o=T-b;i.attr(`transform`,`translate(${o}, ${_})`);let s=_+a.height+J;n.length>0&&Q(u,n,C,T,s,h,c,O,!1);let l=n.length,f=a.height+J+O*Math.max(l,1)-(l>0?X*2:0);_+=f,C++}):Q(u,d,C,T,_,h,c,O,!0);let k=u.node()?.getBBox();if(!k)throw Error(`bbox not found`);if(e.g.debug(`bounds`,k),f){if(u.append(`text`).text(f).attr(`x`,k.width/2-l).attr(`font-size`,`4ex`).attr(`font-weight`,`bold`).attr(`y`,20),k=u.node()?.getBBox(),!k)throw Error(`bbox not found`);e.g.debug(`bounds after title`,k)}let[A]=r.p(c.fontSize),j=(A??16)*2,M=(A??16)*.5+20,N=u.append(`g`).attr(`class`,`lineWrapper`);N.append(`line`).attr(`x1`,T).attr(`y1`,v-j).attr(`x2`,T).attr(`y2`,k.y+k.height+M).attr(`stroke-width`,4).attr(`stroke`,`black`).attr(`marker-end`,`url(#arrowhead)`),N.lower(),t.J(void 0,u,c.timeline?.padding??50,c.timeline?.useMaxWidth??!1)},`draw`),Q=e.h(function(t,n,r,i,a,o,s,c,l){for(let u of n){let n={descr:u.task,section:r,number:r,width:H,padding:U,maxHeight:o};e.g.debug(`taskNode`,n);let d=t.append(`g`).attr(`class`,`taskWrapper`),f=B.drawNode(d,n,r,s),p=f.height;e.g.debug(`taskHeight after draw`,p);let m=i-Y-f.width;if(d.attr(`transform`,`translate(${m}, ${a})`),o=Math.max(o,p),u.events&&u.events.length>0){let e=a,n=i+Z;le(t,u.events,r,i,n,e,s)}a+=c,l&&!s.timeline?.disableMulticolor&&r++}},`drawTasks`),le=e.h(function(t,n,r,i,a,o,s){let c=o;for(let o of n){let n={descr:o,section:r,number:r,width:G,padding:U,maxHeight:0};e.g.debug(`eventNode`,n);let l=t.append(`g`).attr(`class`,`eventWrapper`),u=B.drawNode(l,n,r,s).height;l.attr(`transform`,`translate(${a}, ${c})`);let d=t.append(`g`).attr(`class`,`lineWrapper`),f=c+u/2;d.append(`line`).attr(`x1`,i).attr(`y1`,f).attr(`x2`,a).attr(`y2`,f).attr(`stroke-width`,2).attr(`stroke`,`black`).attr(`marker-end`,`url(#arrowhead)`).attr(`stroke-dasharray`,`5,5`),c=c+u+q}return c-o},`drawEvents`),$={setConf:e.h(()=>{},`setConf`),draw:ce},ue=e.h(e=>{let{theme:n}=t.b(),r=n?.includes(`dark`),i=n?.includes(`color`),a=e.svgId?.replace(/^#/,``)??``,o=a?`url(#${a}-drop-shadow)`:e.dropShadow??`none`,s=``;for(let t=0;t<e.THEME_COLOR_LIMIT;t++){let n=`${17-3*t}`,a=i?e.borderColorArray[t]:e.mainBkg,c=i?e.borderColorArray[t]:e.nodeBorder;s+=`
|
|
7
|
+
.section-${t-1} rect,
|
|
8
|
+
.section-${t-1} path,
|
|
9
|
+
.section-${t-1} circle {
|
|
10
|
+
fill: ${r&&i?e.mainBkg:a};
|
|
11
11
|
stroke: ${c};
|
|
12
|
-
stroke-width: ${
|
|
12
|
+
stroke-width: ${e.strokeWidth};
|
|
13
13
|
filter: ${o};
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.section-${
|
|
17
|
-
fill: ${
|
|
18
|
-
font-weight: ${
|
|
16
|
+
.section-${t-1} text {
|
|
17
|
+
fill: ${e.nodeBorder};
|
|
18
|
+
font-weight: ${e.fontWeight}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.node-icon-${
|
|
21
|
+
.node-icon-${t-1} {
|
|
22
22
|
font-size: 40px;
|
|
23
|
-
color: ${
|
|
23
|
+
color: ${e[`cScaleLabel`+t]};
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.section-edge-${
|
|
27
|
-
stroke: ${
|
|
26
|
+
.section-edge-${t-1} {
|
|
27
|
+
stroke: ${e[`cScale`+t]};
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.edge-depth-${
|
|
30
|
+
.edge-depth-${t-1} {
|
|
31
31
|
stroke-width: ${n};
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.section-${
|
|
35
|
-
stroke: ${
|
|
34
|
+
.section-${t-1} line {
|
|
35
|
+
stroke: ${e[`cScaleInv`+t]};
|
|
36
36
|
stroke-width: 3;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.lineWrapper line {
|
|
40
|
-
stroke: ${
|
|
41
|
-
stroke-width:${
|
|
40
|
+
stroke: ${e.nodeBorder};
|
|
41
|
+
stroke-width:${e.strokeWidth}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.disabled,
|
|
45
45
|
.disabled circle,
|
|
46
46
|
.disabled text {
|
|
47
|
-
fill: ${
|
|
47
|
+
fill: ${e.tertiaryColor??`lightgray`};
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.disabled text {
|
|
51
|
-
fill: ${
|
|
51
|
+
fill: ${e.clusterBorder??`#efefef`};
|
|
52
52
|
}
|
|
53
|
-
`}return s},`genReduxSections`),de=
|
|
54
|
-
.section-${
|
|
55
|
-
fill: ${
|
|
53
|
+
`}return s},`genReduxSections`),de=e.h(e=>{let n=``;for(let n=0;n<e.THEME_COLOR_LIMIT;n++)e[`lineColor`+n]=e[`lineColor`+n]||e[`cScaleInv`+n],t.nt(e[`lineColor`+n])?e[`lineColor`+n]=t.et(e[`lineColor`+n],20):e[`lineColor`+n]=t.$(e[`lineColor`+n],20);for(let t=0;t<e.THEME_COLOR_LIMIT;t++){let r=``+(17-3*t);n+=`
|
|
54
|
+
.section-${t-1} rect, .section-${t-1} path, .section-${t-1} circle, .section-${t-1} path {
|
|
55
|
+
fill: ${e[`cScale`+t]};
|
|
56
56
|
}
|
|
57
|
-
.section-${
|
|
58
|
-
fill: ${
|
|
57
|
+
.section-${t-1} text {
|
|
58
|
+
fill: ${e[`cScaleLabel`+t]};
|
|
59
59
|
}
|
|
60
|
-
.node-icon-${
|
|
60
|
+
.node-icon-${t-1} {
|
|
61
61
|
font-size: 40px;
|
|
62
|
-
color: ${
|
|
62
|
+
color: ${e[`cScaleLabel`+t]};
|
|
63
63
|
}
|
|
64
|
-
.section-edge-${
|
|
65
|
-
stroke: ${
|
|
64
|
+
.section-edge-${t-1}{
|
|
65
|
+
stroke: ${e[`cScale`+t]};
|
|
66
66
|
}
|
|
67
|
-
.edge-depth-${
|
|
67
|
+
.edge-depth-${t-1}{
|
|
68
68
|
stroke-width: ${r};
|
|
69
69
|
}
|
|
70
|
-
.section-${
|
|
71
|
-
stroke: ${
|
|
70
|
+
.section-${t-1} line {
|
|
71
|
+
stroke: ${e[`cScaleInv`+t]} ;
|
|
72
72
|
stroke-width: 3;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.lineWrapper line{
|
|
76
|
-
stroke: ${
|
|
76
|
+
stroke: ${e[`cScaleLabel`+t]} ;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.disabled, .disabled circle, .disabled text {
|
|
80
|
-
fill: ${
|
|
80
|
+
fill: ${e.tertiaryColor??`lightgray`};
|
|
81
81
|
}
|
|
82
82
|
.disabled text {
|
|
83
|
-
fill: ${
|
|
83
|
+
fill: ${e.clusterBorder??`#efefef`};
|
|
84
84
|
}
|
|
85
|
-
`}return n},`genSections`),fe={db:s,renderer:{setConf:
|
|
86
|
-
.section-${
|
|
87
|
-
.section-${
|
|
88
|
-
.section-${
|
|
89
|
-
fill: ${
|
|
85
|
+
`}return n},`genSections`),fe={db:s,renderer:{setConf:e.h(()=>{},`setConf`),draw:e.h((e,t,n,r)=>(r?.db?.getDirection?.()??`LR`)===`TD`?$.draw(e,t,n,r):oe.draw(e,t,n,r),`draw`)},parser:o,styles:e.h(e=>{let{theme:n}=t.b(),r=n?.includes(`redux`),i=n===`neutral`,a=e.svgId?.replace(/^#/,``)??``,o=``;if(e.useGradient&&a&&e.THEME_COLOR_LIMIT&&!i)for(let t=0;t<e.THEME_COLOR_LIMIT;t++)o+=`
|
|
86
|
+
.section-${t-1}[data-look="neo"] rect,
|
|
87
|
+
.section-${t-1}[data-look="neo"] path,
|
|
88
|
+
.section-${t-1}[data-look="neo"] circle {
|
|
89
|
+
fill: ${e.mainBkg};
|
|
90
90
|
stroke: url(#${a}-gradient);
|
|
91
91
|
stroke-width: 2;
|
|
92
92
|
}
|
|
93
|
-
.section-${
|
|
93
|
+
.section-${t-1}[data-look="neo"] line {
|
|
94
94
|
stroke: url(#${a}-gradient);
|
|
95
95
|
stroke-width: 2;
|
|
96
96
|
}`;return`
|
|
97
97
|
.edge {
|
|
98
98
|
stroke-width: 3;
|
|
99
99
|
}
|
|
100
|
-
${r?ue(
|
|
100
|
+
${r?ue(e):de(e)}
|
|
101
101
|
${o}
|
|
102
102
|
.section-root rect, .section-root path, .section-root circle {
|
|
103
|
-
fill: ${
|
|
103
|
+
fill: ${e.git0};
|
|
104
104
|
}
|
|
105
105
|
.section-root text {
|
|
106
|
-
fill: ${
|
|
106
|
+
fill: ${e.gitBranchLabel0};
|
|
107
107
|
}
|
|
108
108
|
.icon-container {
|
|
109
109
|
height:100%;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-NNHCCRGN-aKMHXBzL.cjs`);const e=require(`./chunk-WCWK7LTN-Dl2uC9ZD.cjs`);exports.createTreeViewServices=e.n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-NNHCCRGN-aKMHXBzL.cjs`);const e=require(`./chunk-BR22UD5L-wI1vkyAT.cjs`);exports.createTreemapServices=e.n;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* - src/local/en/translation.json
|
|
4
4
|
* - src/local/it/translation.json
|
|
5
5
|
*/
|
|
6
|
-
export type Messages = DateMessages | DayMessages | GenericMessages | MonthMessages | FilterBuilderMessages | FileUploadMessages | NotificationMessages | TextEditorMessages | HtmMessages | PDFMessages | ActionListMessages;
|
|
6
|
+
export type Messages = DateMessages | DayMessages | GenericMessages | MonthMessages | FilterBuilderMessages | FileUploadMessages | NotificationMessages | TextEditorMessages | HtmMessages | PDFMessages | ActionListMessages | QRCodeMessages;
|
|
7
7
|
export type MessageVariables = Partial<Record<"field" | "key" | "env", string | number> | Record<number, string | number>>;
|
|
8
8
|
export interface FormatOptions {
|
|
9
9
|
inputIsLocalized?: boolean;
|
|
@@ -135,4 +135,7 @@ export declare enum ActionListMessages {
|
|
|
135
135
|
SELECT = "ActionList.Select",
|
|
136
136
|
BACK = "ActionList.Back"
|
|
137
137
|
}
|
|
138
|
+
export declare enum QRCodeMessages {
|
|
139
|
+
UNSUPPORTED_FORMAT = "QRCode.UnsupportedFormat"
|
|
140
|
+
}
|
|
138
141
|
//# sourceMappingURL=translation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../src/types/translation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAChB,YAAY,GACZ,WAAW,GACX,eAAe,GACf,aAAa,GACb,qBAAqB,GACrB,kBAAkB,GAClB,oBAAoB,GACpB,kBAAkB,GAClB,WAAW,GACX,WAAW,GACX,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../src/types/translation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAChB,YAAY,GACZ,WAAW,GACX,eAAe,GACf,aAAa,GACb,qBAAqB,GACrB,kBAAkB,GAClB,oBAAoB,GACpB,kBAAkB,GAClB,WAAW,GACX,WAAW,GACX,kBAAkB,GAClB,cAAc,CAAA;AAElB,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAClC,MAAM,CAAC,OAAO,GAAG,KAAK,GAAG,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,GAChD,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAClC,CAAA;AAED,MAAM,WAAW,aAAa;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;CACzB;AAED,oBAAY,eAAe;IAEzB,YAAY,qBAAqB;IACjC,KAAK,kBAAkB;IACvB,KAAK,kBAAkB;IACvB,MAAM,mBAAmB;IACzB,IAAI,iBAAiB;IAGrB,uBAAuB,iCAAiC;IAGxD,6BAA6B,wCAAwC;IAGrE,6BAA6B,uCAAuC;IACpE,cAAc,0BAA0B;IACxC,YAAY,wBAAwB;IAGpC,gCAAgC,2CAA2C;IAG3E,+BAA+B,yCAAyC;IAGxE,+BAA+B,yCAAyC;IACxE,+BAA+B,yCAAyC;IAGxE,uBAAuB,kCAAkC;IAGzD,cAAc,yBAAyB;CACxC;AAED,oBAAY,qBAAqB;IAC/B,aAAa,8BAA8B;IAC3C,UAAU,4BAA4B;IAEtC,aAAa,yCAAyC;IACtD,eAAe,2CAA2C;IAC1D,aAAa,yCAAyC;IAEtD,aAAa,yCAAyC;IACtD,gBAAgB,4CAA4C;IAC5D,cAAc,0CAA0C;IACxD,uBAAuB,iDAAiD;IACxE,WAAW,uCAAuC;IAClD,oBAAoB,8CAA8C;IAElE,WAAW,uCAAuC;IAClD,UAAU,sCAAsC;IAChD,OAAO,mCAAmC;CAC3C;AAED,oBAAY,WAAW;IAErB,MAAM,eAAe;IACrB,YAAY,oBAAoB;IAChC,OAAO,gBAAgB;IACvB,aAAa,qBAAqB;IAClC,SAAS,kBAAkB;IAC3B,eAAe,uBAAuB;IACtC,QAAQ,iBAAiB;IACzB,cAAc,sBAAsB;IACpC,MAAM,eAAe;IACrB,YAAY,oBAAoB;IAChC,QAAQ,iBAAiB;IACzB,cAAc,sBAAsB;IACpC,MAAM,eAAe;IACrB,YAAY,oBAAoB;CACjC;AAED,oBAAY,aAAa;IAEvB,OAAO,kBAAkB;IACzB,QAAQ,mBAAmB;IAC3B,KAAK,gBAAgB;IACrB,KAAK,gBAAgB;IACrB,GAAG,cAAc;IACjB,IAAI,eAAe;IACnB,IAAI,eAAe;IACnB,MAAM,iBAAiB;IACvB,SAAS,oBAAoB;IAC7B,OAAO,kBAAkB;IACzB,QAAQ,mBAAmB;IAC3B,QAAQ,mBAAmB;CAC5B;AAED,oBAAY,YAAY;IAEtB,YAAY,qBAAqB;IACjC,aAAa,sBAAsB;IACnC,cAAc,uBAAuB;IACrC,aAAa,sBAAsB;IAEnC,QAAQ,iBAAiB;IACzB,SAAS,kBAAkB;IAC3B,UAAU,mBAAmB;IAC7B,SAAS,kBAAkB;IAE3B,SAAS,mBAAmB;IAC5B,KAAK,eAAe;IACpB,QAAQ,kBAAkB;CAC3B;AAED,oBAAY,kBAAkB;IAE5B,YAAY,2BAA2B;IACvC,eAAe,6BAA6B;IAC5C,MAAM,sBAAsB;IAC5B,MAAM,sBAAsB;IAC5B,KAAK,qBAAqB;IAC1B,cAAc,4BAA4B;CAC3C;AAED,oBAAY,oBAAoB;IAC9B,WAAW,4BAA4B;IACvC,sBAAsB,0BAA0B;CACjD;AAED,oBAAY,kBAAkB;IAC5B,IAAI,oBAAoB;IACxB,MAAM,sBAAsB;IAC5B,SAAS,yBAAyB;IAClC,EAAE,kBAAkB;IACpB,EAAE,kBAAkB;IACpB,IAAI,oBAAoB;IACxB,UAAU,yBAAyB;IACnC,IAAI,oBAAoB;IACxB,YAAY,2BAA2B;IACvC,WAAW,0BAA0B;IACrC,UAAU,yBAAyB;IACnC,iBAAiB,+BAA+B;IAChD,mBAAmB,iCAAiC;IACpD,YAAY,0BAA0B;IACtC,YAAY,0BAA0B;IACtC,YAAY,0BAA0B;IACtC,cAAc,4BAA4B;CAC3C;AAED,oBAAY,WAAW;IACrB,WAAW,kBAAkB;IAC7B,QAAQ,iBAAiB;IACzB,KAAK,cAAc;IACnB,OAAO,gBAAgB;IACvB,KAAK,cAAc;CACpB;AAED,oBAAY,WAAW;IACrB,WAAW,kBAAkB;CAC9B;AAED,oBAAY,kBAAkB;IAC5B,QAAQ,uBAAuB;IAC/B,UAAU,yBAAyB;IACnC,EAAE,kBAAkB;IACpB,IAAI,oBAAoB;IACxB,MAAM,sBAAsB;IAC5B,IAAI,oBAAoB;CACzB;AAED,oBAAY,cAAc;IACxB,kBAAkB,6BAA6B;CAChD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../src/utils/translation.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../src/utils/translation.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAuDhF,eAAO,MAAM,QAAQ,GACnB,OAAO,MAAM,GAAG,MAAM,GAAG,IAAI,EAC7B,SAAS,MAAM,EACf,MAAM,MAAM,EACZ,UAAU,aAAa,KACtB,MASF,CAAA;AAED,eAAO,MAAM,aAAa,GACxB,SAAS,QAAQ,EACjB,UAAU,gBAAgB,KACzB,MAEF,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//#region node_modules/uuid/dist/stringify.js
|
|
2
|
+
var e = [];
|
|
3
|
+
for (let t = 0; t < 256; ++t) e.push((t + 256).toString(16).slice(1));
|
|
4
|
+
function t(t, n = 0) {
|
|
5
|
+
return (e[t[n + 0]] + e[t[n + 1]] + e[t[n + 2]] + e[t[n + 3]] + "-" + e[t[n + 4]] + e[t[n + 5]] + "-" + e[t[n + 6]] + e[t[n + 7]] + "-" + e[t[n + 8]] + e[t[n + 9]] + "-" + e[t[n + 10]] + e[t[n + 11]] + e[t[n + 12]] + e[t[n + 13]] + e[t[n + 14]] + e[t[n + 15]]).toLowerCase();
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region node_modules/uuid/dist/rng.js
|
|
9
|
+
var n = new Uint8Array(16);
|
|
10
|
+
function r() {
|
|
11
|
+
return crypto.getRandomValues(n);
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region node_modules/uuid/dist/v4.js
|
|
15
|
+
function i(e, t, n) {
|
|
16
|
+
return !t && !e && crypto.randomUUID ? crypto.randomUUID() : a(e, t, n);
|
|
17
|
+
}
|
|
18
|
+
function a(e, n, i) {
|
|
19
|
+
e ||= {};
|
|
20
|
+
let a = e.random ?? e.rng?.() ?? r();
|
|
21
|
+
if (a.length < 16) throw Error("Random bytes length must be >= 16");
|
|
22
|
+
if (a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, n) {
|
|
23
|
+
if (i ||= 0, i < 0 || i + 16 > n.length) throw RangeError(`UUID byte range ${i}:${i + 15} is out of buffer bounds`);
|
|
24
|
+
for (let e = 0; e < 16; ++e) n[i + e] = a[e];
|
|
25
|
+
return n;
|
|
26
|
+
}
|
|
27
|
+
return t(a);
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { i as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[];for(let t=0;t<256;++t)e.push((t+256).toString(16).slice(1));function t(t,n=0){return(e[t[n+0]]+e[t[n+1]]+e[t[n+2]]+e[t[n+3]]+`-`+e[t[n+4]]+e[t[n+5]]+`-`+e[t[n+6]]+e[t[n+7]]+`-`+e[t[n+8]]+e[t[n+9]]+`-`+e[t[n+10]]+e[t[n+11]]+e[t[n+12]]+e[t[n+13]]+e[t[n+14]]+e[t[n+15]]).toLowerCase()}var n=new Uint8Array(16);function r(){return crypto.getRandomValues(n)}function i(e,t,n){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():a(e,t,n)}function a(e,n,i){e||={};let a=e.random??e.rng?.()??r();if(a.length<16)throw Error(`Random bytes length must be >= 16`);if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,n){if(i||=0,i<0||i+16>n.length)throw RangeError(`UUID byte range ${i}:${i+15} is out of buffer bounds`);for(let e=0;e<16;++e)n[i+e]=a[e];return n}return t(a)}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
|