@intent-hq/web 2.283.0 → 2.283.1
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/package.json +1 -1
- package/web/app/immutable/chunks/{DikRK37J.js → -EQ6B0ad.js} +6 -6
- package/web/app/immutable/chunks/{BOK7tZ0u.js → -FJQK9pf.js} +1 -1
- package/web/app/immutable/chunks/{DSMbTvmu.js → -eynjkyq.js} +1 -1
- package/web/app/immutable/chunks/{BMafDnH1.js → 0K6BfmBv.js} +1 -1
- package/web/app/immutable/chunks/{BaUre9ae.js → 1kQYhwzI.js} +1 -1
- package/web/app/immutable/chunks/{Cnak6su6.js → 2sWuLeQM.js} +1 -1
- package/web/app/immutable/chunks/{24W0Bn2s.js → 2zaEEAE2.js} +1 -1
- package/web/app/immutable/chunks/{DcKxGpqI.js → 5JlRwIXk.js} +1 -1
- package/web/app/immutable/chunks/{DMbXrJli.js → 67V3Eqst.js} +1 -1
- package/web/app/immutable/chunks/{CxHgNIPx.js → 6Rnnu0Za.js} +1 -1
- package/web/app/immutable/chunks/{CDTxQX_O.js → AL4WvJsG.js} +1 -1
- package/web/app/immutable/chunks/{BWShw5FX.js → B0dFfRzP.js} +1 -1
- package/web/app/immutable/chunks/{dGE6HMYD.js → B3t7QTl4.js} +1 -1
- package/web/app/immutable/chunks/{C__5IrZC.js → B4nXFAp1.js} +3 -3
- package/web/app/immutable/chunks/{CFzvK5D6.js → B856U1Jr.js} +1 -1
- package/web/app/immutable/chunks/{C4oKInMh.js → B9hh5ps3.js} +1 -1
- package/web/app/immutable/chunks/{Bw0IeVy1.js → B9un2a8L.js} +1 -1
- package/web/app/immutable/chunks/{DU0lunxS.js → BB4kjTGV.js} +1 -1
- package/web/app/immutable/chunks/{z8qxf2tv.js → BC7qvj8J.js} +1 -1
- package/web/app/immutable/chunks/{wqHUaR0E.js → BDq1sVyx.js} +1 -1
- package/web/app/immutable/chunks/{BcIZ6c0f.js → BIIzJP0L.js} +1 -1
- package/web/app/immutable/chunks/{CNnCGYha.js → BIUeJ7Ke.js} +1 -1
- package/web/app/immutable/chunks/{CMI5HTNV.js → BIZ0uXaU.js} +1 -1
- package/web/app/immutable/chunks/{C9TPtINb.js → BJhIFFGs.js} +3 -3
- package/web/app/immutable/chunks/{DeDjUs04.js → BKkrgjsa.js} +1 -1
- package/web/app/immutable/chunks/{Bar8ZAyw.js → BLqK1w-V.js} +1 -1
- package/web/app/immutable/chunks/{D-U5rcFa.js → BM-sVLs9.js} +1 -1
- package/web/app/immutable/chunks/{DlKkI_if.js → BM2v-1zr.js} +1 -1
- package/web/app/immutable/chunks/{BjU1p5sL.js → BM9f6Xn6.js} +1 -1
- package/web/app/immutable/chunks/{PJDGiarN.js → BMBkpFaV.js} +1 -1
- package/web/app/immutable/chunks/{0kUsCNYC.js → BMOHjFjD.js} +1 -1
- package/web/app/immutable/chunks/{CuaTp0m1.js → BMW1RYmJ.js} +2 -2
- package/web/app/immutable/chunks/{UFs8wmaf.js → BMt7MpM8.js} +1 -1
- package/web/app/immutable/chunks/{B122KxZy.js → BNLICSI-.js} +1 -1
- package/web/app/immutable/chunks/{CBWgmFBu.js → BNe0FUML.js} +1 -1
- package/web/app/immutable/chunks/{B8eIPDu7.js → BNm8i956.js} +1 -1
- package/web/app/immutable/chunks/{D3cS8a_B.js → BPp3W2jV.js} +1 -1
- package/web/app/immutable/chunks/{BlEVobud.js → BSERRzdN.js} +1 -1
- package/web/app/immutable/chunks/{UF5lygT0.js → BSa29cCP.js} +4 -4
- package/web/app/immutable/chunks/{2UHo-lr0.js → BTxaodpe.js} +1 -1
- package/web/app/immutable/chunks/{Dt0exTZ5.js → BUcRm8Vm.js} +1 -1
- package/web/app/immutable/chunks/{C8chCNZC.js → BVcYqOip.js} +2 -2
- package/web/app/immutable/chunks/{DLZWsh5d.js → BW9EmetF.js} +1 -1
- package/web/app/immutable/chunks/{E5HQjq_O.js → BXWTCqoP.js} +1 -1
- package/web/app/immutable/chunks/{BLdRIYgd.js → BXmUGAB5.js} +1 -1
- package/web/app/immutable/chunks/{CzI05dO6.js → BYX2DQge.js} +1 -1
- package/web/app/immutable/chunks/{BzSa9-IF.js → BYaK8uq0.js} +1 -1
- package/web/app/immutable/chunks/{DF6AYPg_.js → B_IHHwFT.js} +1 -1
- package/web/app/immutable/chunks/{DeiP0erP.js → B_KqSc_J.js} +1 -1
- package/web/app/immutable/chunks/{3SbVPCw7.js → BaWdIDeU.js} +1 -1
- package/web/app/immutable/chunks/{CPbL2cqN.js → Bcdu3rtl.js} +1 -1
- package/web/app/immutable/chunks/{Dq-W9mGx.js → BdXZBn8p.js} +3 -3
- package/web/app/immutable/chunks/{CjNKHPKC.js → Bda__gQr.js} +2 -2
- package/web/app/immutable/chunks/{DoxEq2_M.js → Bdp7u5fL.js} +2 -2
- package/web/app/immutable/chunks/{BBl02EyB.js → Bi0iCGDl.js} +1 -1
- package/web/app/immutable/chunks/{PhuO6dVo.js → Bk1uVK5j.js} +2 -2
- package/web/app/immutable/chunks/{DLshetD4.js → Bkt7VHdr.js} +1 -1
- package/web/app/immutable/chunks/Blk8v-pB.js +1 -0
- package/web/app/immutable/chunks/{BSoHy997.js → Bm_v6qLq.js} +1 -1
- package/web/app/immutable/chunks/{BNADo1Q7.js → BoDxQZ1k.js} +1 -1
- package/web/app/immutable/chunks/{C85s-gi8.js → BpLK-vah.js} +1 -1
- package/web/app/immutable/chunks/{DpSTAF6f.js → BplvCBzc.js} +1 -1
- package/web/app/immutable/chunks/{CsGRm74m.js → Bq6ix99x.js} +1 -1
- package/web/app/immutable/chunks/{Cyx56VLF.js → BrUeG1RC.js} +1 -1
- package/web/app/immutable/chunks/{CtrmC64x.js → BrzmNBOR.js} +1 -1
- package/web/app/immutable/chunks/{BdS003Kb.js → BtTwGRLV.js} +1 -1
- package/web/app/immutable/chunks/{XM2hxWVx.js → Btf9QGuY.js} +1 -1
- package/web/app/immutable/chunks/{Fbmia90H.js → Bw1SBWCL.js} +3 -3
- package/web/app/immutable/chunks/{DeSJTI_U.js → BweEgIMi.js} +1 -1
- package/web/app/immutable/chunks/{B1ELYeiC.js → BxU3DCFg.js} +1 -1
- package/web/app/immutable/chunks/{DHZ4JjoJ.js → BxuY-d7z.js} +1 -1
- package/web/app/immutable/chunks/{B8ZK3-zF.js → ByWgRTUb.js} +1 -1
- package/web/app/immutable/chunks/{VLmrqzTE.js → BzUhrKys.js} +1 -1
- package/web/app/immutable/chunks/{D71IW4i3.js → BzgtWDxy.js} +1 -1
- package/web/app/immutable/chunks/{DMl_gv4g.js → C-D97gL1.js} +1 -1
- package/web/app/immutable/chunks/{CbGnxjOM.js → C04G6COq.js} +1 -1
- package/web/app/immutable/chunks/{WwLuvBZd.js → C07lgk2D.js} +1 -1
- package/web/app/immutable/chunks/{Z5jotNHL.js → C17u3SPp.js} +1 -1
- package/web/app/immutable/chunks/{BFnOOmhf.js → C1_JJ0WX.js} +2 -2
- package/web/app/immutable/chunks/{wESj32Mw.js → C4ABvngM.js} +1 -1
- package/web/app/immutable/chunks/{BrnKg8z1.js → C8PgiJ6Y.js} +2 -2
- package/web/app/immutable/chunks/{8xUKp1ov.js → CA6N8yqk.js} +1 -1
- package/web/app/immutable/chunks/{ClyMCKaV.js → CARkdujD.js} +1 -1
- package/web/app/immutable/chunks/{FDVvdcz2.js → CBY4R5Io.js} +2 -2
- package/web/app/immutable/chunks/{CONx2grg.js → CBj-skM7.js} +1 -1
- package/web/app/immutable/chunks/{DX5DxI8W.js → CE7hy_eJ.js} +2 -2
- package/web/app/immutable/chunks/{Buyr-7cI.js → CFa2g-IY.js} +1 -1
- package/web/app/immutable/chunks/{gYd6zuXF.js → CGclmlzx.js} +1 -1
- package/web/app/immutable/chunks/{Br7_wSvp.js → CGtte9IE.js} +1 -1
- package/web/app/immutable/chunks/{Bl1nIYdr.js → CJqvN_qS.js} +1 -1
- package/web/app/immutable/chunks/{C81WcoAM.js → CMiRnadp.js} +1 -1
- package/web/app/immutable/chunks/{D76C-Lub.js → CNFZNMrf.js} +1 -1
- package/web/app/immutable/chunks/{C7Y7Xcjq.js → CNLVfjPb.js} +1 -1
- package/web/app/immutable/chunks/{DhUVW_9Y.js → CNPgXL7O.js} +1 -1
- package/web/app/immutable/chunks/{DpPiqmjZ.js → COH5cIoS.js} +1 -1
- package/web/app/immutable/chunks/{Bo3xcJTH.js → CQRR0AOa.js} +1 -1
- package/web/app/immutable/chunks/{DnsWe2Zg.js → CR7ldtgw.js} +1 -1
- package/web/app/immutable/chunks/{cpbf9St3.js → CRcZFIyJ.js} +1 -1
- package/web/app/immutable/chunks/{DXKXi4fU.js → CRzjInFH.js} +1 -1
- package/web/app/immutable/chunks/{Bjat9loC.js → CSVS8cGP.js} +1 -1
- package/web/app/immutable/chunks/{DEAKghGX.js → CSoIbBhB.js} +1 -1
- package/web/app/immutable/chunks/{Bd9QEf8t.js → CVC7R5g8.js} +1 -1
- package/web/app/immutable/chunks/{BsHwyYum.js → CVXsWkbg.js} +1 -1
- package/web/app/immutable/chunks/{DnGYdVeC.js → CX0jnzIf.js} +1 -1
- package/web/app/immutable/chunks/{Bme6a8ON.js → CZH06yTf.js} +1 -1
- package/web/app/immutable/chunks/{DLRsFOmD.js → CbcE07N6.js} +1 -1
- package/web/app/immutable/chunks/{BG8_YibP.js → Cbp3zliH.js} +1 -1
- package/web/app/immutable/chunks/{CmTb9opo.js → CcXmTQrG.js} +1 -1
- package/web/app/immutable/chunks/{NHQHo6R8.js → CeGnK4JQ.js} +49 -49
- package/web/app/immutable/chunks/{B_2t4zDu.js → CfgmsyOw.js} +1 -1
- package/web/app/immutable/chunks/{DA1BdbaM.js → CiFw-8Aw.js} +1 -1
- package/web/app/immutable/chunks/{CtSELtkL.js → CiV78Mds.js} +1 -1
- package/web/app/immutable/chunks/{DjvHPE3r.js → ClALIxbi.js} +1 -1
- package/web/app/immutable/chunks/{BbGMZxWy.js → CmLvFRqe.js} +2 -2
- package/web/app/immutable/chunks/{PQ1Aq9aw.js → Cnz8RKk9.js} +1 -1
- package/web/app/immutable/chunks/{O93N6pq0.js → CoIHYLew.js} +1 -1
- package/web/app/immutable/chunks/{6WATeGSz.js → Cobn53T5.js} +1 -1
- package/web/app/immutable/chunks/{5guZ9l7C.js → CqB0SlYo.js} +1 -1
- package/web/app/immutable/chunks/{DfwITmIi.js → Ct5pe7Ek.js} +1 -1
- package/web/app/immutable/chunks/{woMOP93x.js → Ctw6lIEV.js} +1 -1
- package/web/app/immutable/chunks/{D6EjWtzp.js → CuOjrr_z.js} +1 -1
- package/web/app/immutable/chunks/{BkTViBTC.js → CuViOyzR.js} +1 -1
- package/web/app/immutable/chunks/{NyRx-5qE.js → Cul55jvw.js} +3 -3
- package/web/app/immutable/chunks/{Cnz7jMnR.js → D-SL5jmx.js} +1 -1
- package/web/app/immutable/chunks/{BeYVLVXM.js → D0QGnN9N.js} +7 -7
- package/web/app/immutable/chunks/{B3yw5iey.js → D39KsI93.js} +1 -1
- package/web/app/immutable/chunks/{C95TwfNO.js → D3s69DNC.js} +3 -3
- package/web/app/immutable/chunks/{CeXEIZ_X.js → D4i52eN2.js} +1 -1
- package/web/app/immutable/chunks/{JWpKjkZt.js → D5Yn3bZC.js} +4 -4
- package/web/app/immutable/chunks/{B4NuLgfc.js → D6aq9EL_.js} +1 -1
- package/web/app/immutable/chunks/{BQniiLor.js → D7-ADqnT.js} +1 -1
- package/web/app/immutable/chunks/{DueTjjFx.js → D75qE5QF.js} +1 -1
- package/web/app/immutable/chunks/{BHUG3Di8.js → D7NIlQGn.js} +1 -1
- package/web/app/immutable/chunks/{8PEQ8hLc.js → D7gI_V1F.js} +1 -1
- package/web/app/immutable/chunks/{zCyqAg-B.js → D8AXxi58.js} +1 -1
- package/web/app/immutable/chunks/{DCVW2Y_h.js → D8G2wLaP.js} +1 -1
- package/web/app/immutable/chunks/{BQ1YF879.js → D9GJ60AX.js} +1 -1
- package/web/app/immutable/chunks/{JhrIJH4k.js → DCpb2VL6.js} +1 -1
- package/web/app/immutable/chunks/{Cb1CevU3.js → DECP5P_I.js} +1 -1
- package/web/app/immutable/chunks/{ZJCzYVmw.js → DEghD5AV.js} +1 -1
- package/web/app/immutable/chunks/{inj-bBZM.js → DFDb4afa.js} +1 -1
- package/web/app/immutable/chunks/{Bt6bgoI-.js → DHN03i25.js} +1 -1
- package/web/app/immutable/chunks/{U7JWtGAy.js → DHon_8tj.js} +1 -1
- package/web/app/immutable/chunks/{plw0uyc9.js → DJISFfnZ.js} +1 -1
- package/web/app/immutable/chunks/{C6UIN6U-.js → DNTeyAGR.js} +1 -1
- package/web/app/immutable/chunks/{Djk4k1SJ.js → DNdUAl79.js} +1 -1
- package/web/app/immutable/chunks/{itPVrVkG.js → DNeMGvC1.js} +1 -1
- package/web/app/immutable/chunks/{kYkRNrrI.js → DPWpLmap.js} +1 -1
- package/web/app/immutable/chunks/{Dr6lXyco.js → DPbm6slt.js} +4 -4
- package/web/app/immutable/chunks/{JCCFqsAd.js → DPyjdIy2.js} +1 -1
- package/web/app/immutable/chunks/{g3KZ-aok.js → DSakTSDY.js} +1 -1
- package/web/app/immutable/chunks/{DaMaCbrW.js → DV0nUf5d.js} +1 -1
- package/web/app/immutable/chunks/{Z8sIHDod.js → DWbuBB3d.js} +1 -1
- package/web/app/immutable/chunks/{Bx-glu6w.js → DX7KyYLV.js} +1 -1
- package/web/app/immutable/chunks/{Bcoxg00q.js → DXPPFxlV.js} +3 -3
- package/web/app/immutable/chunks/{PwM42XJW.js → DYpEID-4.js} +1 -1
- package/web/app/immutable/chunks/{cCabUQP6.js → DZwtNfnB.js} +1 -1
- package/web/app/immutable/chunks/{vlhkmmpx.js → D_o99_fG.js} +1 -1
- package/web/app/immutable/chunks/{BEJg4Sbf.js → DaBUZyWc.js} +1 -1
- package/web/app/immutable/chunks/{BMFwrOH1.js → DcIvDrh5.js} +1 -1
- package/web/app/immutable/chunks/{DheEnqqs.js → Dekj0CRz.js} +1 -1
- package/web/app/immutable/chunks/{DdwwnwEU.js → DfDa-Hf6.js} +1 -1
- package/web/app/immutable/chunks/{BRiTnHjR.js → DfTHDtr3.js} +1 -1
- package/web/app/immutable/chunks/{Ba4COzVc.js → DflDaBxQ.js} +1 -1
- package/web/app/immutable/chunks/{tLKcAW4W.js → DhJybiGT.js} +1 -1
- package/web/app/immutable/chunks/{DwufXbAm.js → DkfRsyNq.js} +1 -1
- package/web/app/immutable/chunks/{Byw2XPN_.js → Dm5XlejL.js} +1 -1
- package/web/app/immutable/chunks/{DKhnmIhc.js → DoI-lOCr.js} +1 -1
- package/web/app/immutable/chunks/{ClnUtlN_.js → DpHc5A-z.js} +1 -1
- package/web/app/immutable/chunks/{CaR7O_Ka.js → DpWrzKZ5.js} +1 -1
- package/web/app/immutable/chunks/{CqJYE2BI.js → DpvwyG67.js} +1 -1
- package/web/app/immutable/chunks/{D8EZluP_.js → DqG8xjZW.js} +1 -1
- package/web/app/immutable/chunks/{BxQ4u3F0.js → DqlqvyKI.js} +1 -1
- package/web/app/immutable/chunks/{J6ix93M3.js → Dr6CAh-x.js} +1 -1
- package/web/app/immutable/chunks/{Cc3IoHk5.js → Dtvcl9ZM.js} +2 -2
- package/web/app/immutable/chunks/{DBkSv110.js → DwwmXlwG.js} +1 -1
- package/web/app/immutable/chunks/{DzF66VDn.js → DyG--B3U.js} +1 -1
- package/web/app/immutable/chunks/{j32IuKtD.js → DyzC-8bY.js} +1 -1
- package/web/app/immutable/chunks/{B-fzbhlo.js → ED1Md46o.js} +1 -1
- package/web/app/immutable/chunks/{CcikvcoO.js → FGzP6Npj.js} +1 -1
- package/web/app/immutable/chunks/{Ci0ScEWC.js → FxlRoZ6N.js} +1 -1
- package/web/app/immutable/chunks/{C-TcncuL.js → I-6kOw9r.js} +1 -1
- package/web/app/immutable/chunks/{cZgi-_WA.js → IUhIao0l.js} +1 -1
- package/web/app/immutable/chunks/{BuYGacYC.js → JKrLJ2R_.js} +44 -44
- package/web/app/immutable/chunks/{VzlQnrws.js → JoMw8Mnh.js} +1 -1
- package/web/app/immutable/chunks/{DFBOrRiy.js → KT-2Ekxp.js} +1 -1
- package/web/app/immutable/chunks/{DlmTHr8T.js → LNCq34-O.js} +1 -1
- package/web/app/immutable/chunks/{B5Kd4cOY.js → MivJSmtA.js} +1 -1
- package/web/app/immutable/chunks/{CpTvuo0c.js → Mt7x2IZs.js} +1 -1
- package/web/app/immutable/chunks/{C723Veio.js → QBqsOIpN.js} +1 -1
- package/web/app/immutable/chunks/{y8Xlt_QT.js → SIlEqZy6.js} +1 -1
- package/web/app/immutable/chunks/{D2kpmACf.js → T3Bh0XrL.js} +1 -1
- package/web/app/immutable/chunks/YDzESqGE.js +1 -0
- package/web/app/immutable/chunks/{15pYd3N2.js → YsJRyh1t.js} +2 -2
- package/web/app/immutable/chunks/{Bh5viRl2.js → Zu_hB4jz.js} +1 -1
- package/web/app/immutable/chunks/{BxiiO4Iw.js → _Ha8_PaU.js} +1 -1
- package/web/app/immutable/chunks/{RykEwldd.js → _WbplBv2.js} +1 -1
- package/web/app/immutable/chunks/{CDUZ_0Sw.js → cOgdKI6o.js} +1 -1
- package/web/app/immutable/chunks/{CMU9ws3e.js → dfIdHF6z.js} +1 -1
- package/web/app/immutable/chunks/{DLNq3Dzg.js → dp7e7xW2.js} +1 -1
- package/web/app/immutable/chunks/{Cc-44AXb.js → ebuf-RO9.js} +1 -1
- package/web/app/immutable/chunks/{CelyhwOb.js → itr72ypM.js} +1 -1
- package/web/app/immutable/chunks/{DsEsCHJ8.js → k-AP8VlM.js} +1 -1
- package/web/app/immutable/chunks/{Dzpx8dBT.js → kbx4HHUe.js} +2 -2
- package/web/app/immutable/chunks/{C_XVzDtJ.js → kc3pShLm.js} +1 -1
- package/web/app/immutable/chunks/{DN-WSfNU.js → kkexgKXz.js} +1 -1
- package/web/app/immutable/chunks/{Et5QnGoZ.js → lzVZjIHK.js} +1 -1
- package/web/app/immutable/chunks/{D98MGnzl.js → mYHRHufZ.js} +1 -1
- package/web/app/immutable/chunks/{DS2ohrPS.js → neQDnDfO.js} +1 -1
- package/web/app/immutable/chunks/{C8gv124k.js → oEdBdTuH.js} +1 -1
- package/web/app/immutable/chunks/{BSt_qcPC.js → oRTpyK_P.js} +1 -1
- package/web/app/immutable/chunks/{DcUrbytI.js → uDFKivEo.js} +1 -1
- package/web/app/immutable/chunks/{CzT5E1qm.js → uEiZ2aa0.js} +1 -1
- package/web/app/immutable/chunks/{CbaotZDu.js → us_QodLQ.js} +1 -1
- package/web/app/immutable/chunks/{CE-1ma0H.js → uzVhgdYt.js} +1 -1
- package/web/app/immutable/chunks/{B1ZGt7sC.js → xHGNzBhq.js} +1 -1
- package/web/app/immutable/chunks/{DehyflGo.js → xcwRs97P.js} +1 -1
- package/web/app/immutable/chunks/{CJmNIYA9.js → ylZv2UEj.js} +1 -1
- package/web/app/immutable/entry/{app.DvoVvHKR.js → app.B7NDG9Ke.js} +2 -2
- package/web/app/immutable/entry/start.BNunxuiZ.js +1 -0
- package/web/app/immutable/nodes/{0.CUhABBgA.js → 0.Bun1I2n8.js} +1 -1
- package/web/app/immutable/nodes/{1.D60NQVeb.js → 1.CaXWyT2I.js} +1 -1
- package/web/app/immutable/nodes/{10.C1M6IFRf.js → 10.QcBz8vIO.js} +1 -1
- package/web/app/immutable/nodes/{12.B3DoWG9l.js → 12.VioYEcq0.js} +1 -1
- package/web/app/immutable/nodes/{13.DIkr4OJs.js → 13.DXKlob-e.js} +1 -1
- package/web/app/immutable/nodes/{14.BnWbXEMM.js → 14.Del2TMMg.js} +1 -1
- package/web/app/immutable/nodes/{15.CWOWBkmh.js → 15.Djr5my7L.js} +1 -1
- package/web/app/immutable/nodes/{16.DRycmOMe.js → 16.D5MyJ40_.js} +2 -2
- package/web/app/immutable/nodes/{2.BnNXzTi0.js → 2.DGym_vbk.js} +4 -4
- package/web/app/immutable/nodes/{3.B1Qb3sEW.js → 3.s5E8H3KB.js} +1 -1
- package/web/app/immutable/nodes/{4.TFhi0XIx.js → 4.D5-aRMMy.js} +1 -1
- package/web/app/immutable/nodes/{5.BGgJOCw5.js → 5.B3_zYP1m.js} +2 -2
- package/web/app/immutable/nodes/{6.CCZIKTds.js → 6.DutaO_wJ.js} +1 -1
- package/web/app/immutable/nodes/{7.CXxgyB8T.js → 7.BTpm8RYp.js} +1 -1
- package/web/app/immutable/nodes/{8.Dcka7hLW.js → 8.CZztH_7a.js} +4 -4
- package/web/app/immutable/nodes/{9.DemnlG5Y.js → 9.B2qxwSvF.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/chunks/CKKsJ8BG.js +0 -1
- package/web/app/immutable/chunks/DwhTx6cH.js +0 -1
- package/web/app/immutable/entry/start.CiTIdCqa.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as R,s as W,S as N}from"./Djk4k1SJ.js";import{f,aO as t,c3 as H,bC as S,a6 as P,G as C,a4 as z,bz as U,ae as _,aY as F,cx as O}from"./DikRK37J.js";import{l as J}from"./D8EZluP_.js";var X=f(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),Y=f(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),D=f((e,i)=>{const d=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),c=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c.width+2*t().state.padding).attr("height",c.height+2*t().state.padding).attr("rx",t().state.radius),d},"drawSimpleState"),I=f((e,i)=>{const d=f(function(o,b,y){const v=o.append("tspan").attr("x",2*t().state.padding).text(b);y||v.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),l=n.height,p=e.append("text").attr("x",t().state.padding).attr("y",l+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,s=!0;i.descriptions.forEach(function(o){a||(d(p,o,s),s=!1),a=!1});const B=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+l+t().state.dividerMargin/2).attr("y2",t().state.padding+l+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),g=Math.max(x.width,n.width);return B.attr("x2",g+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",g+2*t().state.padding).attr("height",x.height+l+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),$=f((e,i,d)=>{const c=t().state.padding,n=2*t().state.padding,l=e.node().getBBox(),p=l.width,a=l.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=s.node().getBBox().width+n;let g=Math.max(x,p);g===p&&(g=g+n);let o;const b=e.node().getBBox();i.doc,o=a-c,x>p&&(o=(p-g)/2+c),Math.abs(a-b.x)<c&&x>p&&(o=a-(x-p)/2);const y=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",o).attr("y",y).attr("class",d?"alt-composit":"composit").attr("width",g).attr("height",b.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",o+c),x<=p&&s.attr("x",a+(g-n)/2-x/2+c),e.insert("rect",":first-child").attr("x",o).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",g).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",o).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",g).attr("height",b.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),q=f(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),Z=f((e,i)=>{let d=t().state.forkWidth,c=t().state.forkHeight;if(i.parentId){let n=d;d=c,c=n}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",c).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),j=f((e,i,d,c)=>{let n=0;const l=c.append("text");l.style("text-anchor","start"),l.attr("class","noteText");let p=e.replace(/\r\n/g,"<br/>");p=p.replace(/\n/g,"<br/>");const a=p.split(z.lineBreakRegex);let s=1.25*t().state.noteMargin;for(const B of a){const x=B.trim();if(x.length>0){const g=l.append("tspan");if(g.text(x),s===0){const o=g.node().getBBox();s+=o.height}n+=s,g.attr("x",i+t().state.noteMargin),g.attr("y",d+n+1.25*t().state.noteMargin)}}return{textWidth:l.node().getBBox().width,textHeight:n}},"_drawLongText"),K=f((e,i)=>{i.attr("class","state-note");const d=i.append("rect").attr("x",0).attr("y",t().state.padding),c=i.append("g"),{textWidth:n,textHeight:l}=j(e,0,0,c);return d.attr("height",l+2*t().state.noteMargin),d.attr("width",n+t().state.noteMargin*2),d},"drawNote"),L=f(function(e,i){const d=i.id,c={id:d,label:i.id,width:0,height:0},n=e.append("g").attr("id",d).attr("class","stateGroup");i.type==="start"&&X(n),i.type==="end"&&q(n),(i.type==="fork"||i.type==="join")&&Z(n,i),i.type==="note"&&K(i.note.text,n),i.type==="divider"&&Y(n),i.type==="default"&&i.descriptions.length===0&&D(n,i),i.type==="default"&&i.descriptions.length>0&&I(n,i);const l=n.node().getBBox();return c.width=l.width+2*t().state.padding,c.height=l.height+2*t().state.padding,c},"drawState"),G=0,Q=f(function(e,i,d){const c=f(function(s){switch(s){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));const n=i.points,l=U().x(function(s){return s.x}).y(function(s){return s.y}).curve(_),p=e.append("path").attr("d",l(n)).attr("id","edge"+G).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=F(!0)),p.attr("marker-end","url("+a+"#"+c(N.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const s=e.append("g").attr("class","stateLabel"),{x:B,y:x}=O.calcLabelPosition(i.points),g=z.getRows(d.title);let o=0;const b=[];let y=0,v=0;for(let u=0;u<=g.length;u++){const h=s.append("text").attr("text-anchor","middle").text(g[u]).attr("x",B).attr("y",x+o),w=h.node().getBBox();y=Math.max(y,w.width),v=Math.min(v,w.x),S.info(w.x,B,x+o),o===0&&(o=h.node().getBBox().height,S.info("Title height",o,x)),b.push(h)}let k=o*g.length;if(g.length>1){const u=(g.length-1)*o*.5;b.forEach((h,w)=>h.attr("y",x+w*o-u)),k=o*g.length}const r=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",B-y/2-t().state.padding/2).attr("y",x-k/2-t().state.padding/2-3.5).attr("width",y+t().state.padding).attr("height",k+t().state.padding),S.info(r)}G++},"drawEdge"),m,T={},V=f(function(){},"setConf"),tt=f(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),et=f(function(e,i,d,c){m=t().state;const n=t().securityLevel;let l;n==="sandbox"&&(l=H("#i"+i));const p=n==="sandbox"?H(l.nodes()[0].contentDocument.body):H("body"),a=n==="sandbox"?l.nodes()[0].contentDocument:document;S.debug("Rendering diagram "+e);const s=p.select(`[id='${i}']`);tt(s);const B=c.db.getRootDoc(),x=s.append("g").attr("id",i+"-root");A(B,x,void 0,!1,p,a,c);const g=m.padding,o=s.node().getBBox(),b=o.width+g*2,y=o.height+g*2,v=b*1.75;P(s,y,v,m.useMaxWidth),s.attr("viewBox",`${o.x-m.padding} ${o.y-m.padding} `+b+" "+y)},"draw"),at=f(e=>e?e.length*m.fontSizeFactor:1,"getLabelWidth"),A=f((e,i,d,c,n,l,p)=>{const a=new C({compound:!0,multigraph:!0});let s,B=!0;for(s=0;s<e.length;s++)if(e[s].stmt==="relation"){B=!1;break}d?a.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:B?1:m.edgeLengthFactor,nodeSep:B?1:50,isMultiGraph:!0}):a.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:B?1:m.edgeLengthFactor,nodeSep:B?1:50,ranker:"tight-tree",isMultiGraph:!0}),a.setDefaultEdgeLabel(function(){return{}});const x=p.db.getStates(),g=p.db.getRelations(),o=Object.keys(x);for(const r of o){const u=x[r];d&&(u.parentId=d);let h;if(u.doc){let w=i.append("g").attr("id",u.id).attr("class","stateGroup");h=A(u.doc,w,u.id,!c,n,l,p);{w=$(w,u,c);let E=w.node().getBBox();h.width=E.width,h.height=E.height+m.padding/2,T[u.id]={y:m.compositTitleSize}}}else h=L(i,u,a);if(u.note){const w={descriptions:[],id:u.id+"-note",note:u.note,type:"note"},E=L(i,w,a);u.note.position==="left of"?(a.setNode(h.id+"-note",E),a.setNode(h.id,h)):(a.setNode(h.id,h),a.setNode(h.id+"-note",E)),a.setParent(h.id,h.id+"-group"),a.setParent(h.id+"-note",h.id+"-group")}else a.setNode(h.id,h)}S.debug("Count=",a.nodeCount(),a);let b=0;g.forEach(function(r){b++,S.debug("Setting edge",r),a.setEdge(r.id1,r.id2,{relation:r,width:at(r.title),height:m.labelHeight*z.getRows(r.title).length,labelpos:"c"},"id"+b)}),J(a),S.debug("Graph after layout",a.nodes());const y=i.node();a.nodes().forEach(function(r){r!==void 0&&a.node(r)!==void 0?(S.warn("Node "+r+": "+JSON.stringify(a.node(r))),n.select("#"+y.id+" #"+r).attr("transform","translate("+(a.node(r).x-a.node(r).width/2)+","+(a.node(r).y+(T[r]?T[r].y:0)-a.node(r).height/2)+" )"),n.select("#"+y.id+" #"+r).attr("data-x-shift",a.node(r).x-a.node(r).width/2),l.querySelectorAll("#"+y.id+" #"+r+" .divider").forEach(h=>{const w=h.parentElement;let E=0,M=0;w&&(w.parentElement&&(E=w.parentElement.getBBox().width),M=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",E-M-8)})):S.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let v=y.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(S.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),Q(i,a.edge(r),a.edge(r).relation))}),v=y.getBBox();const k={id:d||"root",label:d||"root",width:0,height:0};return k.width=v.width+2*m.padding,k.height=v.height+2*m.padding,S.debug("Doc rendered",k,a),k},"renderDoc"),it={setConf:V,draw:et},dt={parser:W,get db(){return new N(1)},renderer:it,styles:R,init:f(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{dt as diagram};
|
|
1
|
+
import{b as R,s as W,S as N}from"./DNdUAl79.js";import{f,aO as t,c3 as H,bC as S,a6 as P,G as C,a4 as z,bz as U,ae as _,aY as F,cx as O}from"./-EQ6B0ad.js";import{l as J}from"./DqG8xjZW.js";var X=f(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),Y=f(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),D=f((e,i)=>{const d=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),c=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c.width+2*t().state.padding).attr("height",c.height+2*t().state.padding).attr("rx",t().state.radius),d},"drawSimpleState"),I=f((e,i)=>{const d=f(function(o,b,y){const v=o.append("tspan").attr("x",2*t().state.padding).text(b);y||v.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),l=n.height,p=e.append("text").attr("x",t().state.padding).attr("y",l+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,s=!0;i.descriptions.forEach(function(o){a||(d(p,o,s),s=!1),a=!1});const B=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+l+t().state.dividerMargin/2).attr("y2",t().state.padding+l+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),g=Math.max(x.width,n.width);return B.attr("x2",g+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",g+2*t().state.padding).attr("height",x.height+l+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),$=f((e,i,d)=>{const c=t().state.padding,n=2*t().state.padding,l=e.node().getBBox(),p=l.width,a=l.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=s.node().getBBox().width+n;let g=Math.max(x,p);g===p&&(g=g+n);let o;const b=e.node().getBBox();i.doc,o=a-c,x>p&&(o=(p-g)/2+c),Math.abs(a-b.x)<c&&x>p&&(o=a-(x-p)/2);const y=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",o).attr("y",y).attr("class",d?"alt-composit":"composit").attr("width",g).attr("height",b.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",o+c),x<=p&&s.attr("x",a+(g-n)/2-x/2+c),e.insert("rect",":first-child").attr("x",o).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",g).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",o).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",g).attr("height",b.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),q=f(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),Z=f((e,i)=>{let d=t().state.forkWidth,c=t().state.forkHeight;if(i.parentId){let n=d;d=c,c=n}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",c).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),j=f((e,i,d,c)=>{let n=0;const l=c.append("text");l.style("text-anchor","start"),l.attr("class","noteText");let p=e.replace(/\r\n/g,"<br/>");p=p.replace(/\n/g,"<br/>");const a=p.split(z.lineBreakRegex);let s=1.25*t().state.noteMargin;for(const B of a){const x=B.trim();if(x.length>0){const g=l.append("tspan");if(g.text(x),s===0){const o=g.node().getBBox();s+=o.height}n+=s,g.attr("x",i+t().state.noteMargin),g.attr("y",d+n+1.25*t().state.noteMargin)}}return{textWidth:l.node().getBBox().width,textHeight:n}},"_drawLongText"),K=f((e,i)=>{i.attr("class","state-note");const d=i.append("rect").attr("x",0).attr("y",t().state.padding),c=i.append("g"),{textWidth:n,textHeight:l}=j(e,0,0,c);return d.attr("height",l+2*t().state.noteMargin),d.attr("width",n+t().state.noteMargin*2),d},"drawNote"),L=f(function(e,i){const d=i.id,c={id:d,label:i.id,width:0,height:0},n=e.append("g").attr("id",d).attr("class","stateGroup");i.type==="start"&&X(n),i.type==="end"&&q(n),(i.type==="fork"||i.type==="join")&&Z(n,i),i.type==="note"&&K(i.note.text,n),i.type==="divider"&&Y(n),i.type==="default"&&i.descriptions.length===0&&D(n,i),i.type==="default"&&i.descriptions.length>0&&I(n,i);const l=n.node().getBBox();return c.width=l.width+2*t().state.padding,c.height=l.height+2*t().state.padding,c},"drawState"),G=0,Q=f(function(e,i,d){const c=f(function(s){switch(s){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));const n=i.points,l=U().x(function(s){return s.x}).y(function(s){return s.y}).curve(_),p=e.append("path").attr("d",l(n)).attr("id","edge"+G).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=F(!0)),p.attr("marker-end","url("+a+"#"+c(N.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const s=e.append("g").attr("class","stateLabel"),{x:B,y:x}=O.calcLabelPosition(i.points),g=z.getRows(d.title);let o=0;const b=[];let y=0,v=0;for(let u=0;u<=g.length;u++){const h=s.append("text").attr("text-anchor","middle").text(g[u]).attr("x",B).attr("y",x+o),w=h.node().getBBox();y=Math.max(y,w.width),v=Math.min(v,w.x),S.info(w.x,B,x+o),o===0&&(o=h.node().getBBox().height,S.info("Title height",o,x)),b.push(h)}let k=o*g.length;if(g.length>1){const u=(g.length-1)*o*.5;b.forEach((h,w)=>h.attr("y",x+w*o-u)),k=o*g.length}const r=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",B-y/2-t().state.padding/2).attr("y",x-k/2-t().state.padding/2-3.5).attr("width",y+t().state.padding).attr("height",k+t().state.padding),S.info(r)}G++},"drawEdge"),m,T={},V=f(function(){},"setConf"),tt=f(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),et=f(function(e,i,d,c){m=t().state;const n=t().securityLevel;let l;n==="sandbox"&&(l=H("#i"+i));const p=n==="sandbox"?H(l.nodes()[0].contentDocument.body):H("body"),a=n==="sandbox"?l.nodes()[0].contentDocument:document;S.debug("Rendering diagram "+e);const s=p.select(`[id='${i}']`);tt(s);const B=c.db.getRootDoc(),x=s.append("g").attr("id",i+"-root");A(B,x,void 0,!1,p,a,c);const g=m.padding,o=s.node().getBBox(),b=o.width+g*2,y=o.height+g*2,v=b*1.75;P(s,y,v,m.useMaxWidth),s.attr("viewBox",`${o.x-m.padding} ${o.y-m.padding} `+b+" "+y)},"draw"),at=f(e=>e?e.length*m.fontSizeFactor:1,"getLabelWidth"),A=f((e,i,d,c,n,l,p)=>{const a=new C({compound:!0,multigraph:!0});let s,B=!0;for(s=0;s<e.length;s++)if(e[s].stmt==="relation"){B=!1;break}d?a.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:B?1:m.edgeLengthFactor,nodeSep:B?1:50,isMultiGraph:!0}):a.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:B?1:m.edgeLengthFactor,nodeSep:B?1:50,ranker:"tight-tree",isMultiGraph:!0}),a.setDefaultEdgeLabel(function(){return{}});const x=p.db.getStates(),g=p.db.getRelations(),o=Object.keys(x);for(const r of o){const u=x[r];d&&(u.parentId=d);let h;if(u.doc){let w=i.append("g").attr("id",u.id).attr("class","stateGroup");h=A(u.doc,w,u.id,!c,n,l,p);{w=$(w,u,c);let E=w.node().getBBox();h.width=E.width,h.height=E.height+m.padding/2,T[u.id]={y:m.compositTitleSize}}}else h=L(i,u,a);if(u.note){const w={descriptions:[],id:u.id+"-note",note:u.note,type:"note"},E=L(i,w,a);u.note.position==="left of"?(a.setNode(h.id+"-note",E),a.setNode(h.id,h)):(a.setNode(h.id,h),a.setNode(h.id+"-note",E)),a.setParent(h.id,h.id+"-group"),a.setParent(h.id+"-note",h.id+"-group")}else a.setNode(h.id,h)}S.debug("Count=",a.nodeCount(),a);let b=0;g.forEach(function(r){b++,S.debug("Setting edge",r),a.setEdge(r.id1,r.id2,{relation:r,width:at(r.title),height:m.labelHeight*z.getRows(r.title).length,labelpos:"c"},"id"+b)}),J(a),S.debug("Graph after layout",a.nodes());const y=i.node();a.nodes().forEach(function(r){r!==void 0&&a.node(r)!==void 0?(S.warn("Node "+r+": "+JSON.stringify(a.node(r))),n.select("#"+y.id+" #"+r).attr("transform","translate("+(a.node(r).x-a.node(r).width/2)+","+(a.node(r).y+(T[r]?T[r].y:0)-a.node(r).height/2)+" )"),n.select("#"+y.id+" #"+r).attr("data-x-shift",a.node(r).x-a.node(r).width/2),l.querySelectorAll("#"+y.id+" #"+r+" .divider").forEach(h=>{const w=h.parentElement;let E=0,M=0;w&&(w.parentElement&&(E=w.parentElement.getBBox().width),M=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",E-M-8)})):S.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let v=y.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(S.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),Q(i,a.edge(r),a.edge(r).relation))}),v=y.getBBox();const k={id:d||"root",label:d||"root",width:0,height:0};return k.width=v.width+2*m.padding,k.height=v.height+2*m.padding,S.debug("Doc rendered",k,a),k},"renderDoc"),it={setConf:V,draw:et},dt={parser:W,get db(){return new N(1)},renderer:it,styles:R,init:f(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{dt as diagram};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as de}from"./B-fzbhlo.js";import{f as m,aX as he,aN as Y,$ as O,c4 as me,a6 as ue,bC as X,cm as L,c3 as H,c7 as fe,aL as ye,c9 as ge,aP as Se,aK as xe,c6 as be,ax as ve,bn as Ce,a0 as we}from"./DikRK37J.js";import{s as Te}from"./BOK7tZ0u.js";import{p as $e}from"./bG4sEGuX.js";import{f as V}from"./CrowFXzY.js";import{o as G}from"./CmKTTxBW.js";import{h as Le,t as Fe}from"./CvYzv8kf.js";var N,te=(N=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=fe,this.getAccTitle=ye,this.setDiagramTitle=ge,this.getDiagramTitle=Se,this.getAccDescription=xe,this.setAccDescription=be}getNodes(){return this.nodes}getConfig(){const l=ve,i=Y();return O({...l.treemap,...i.treemap??{}})}addNode(l,i){this.nodes.push(l),this.levels.set(l,i),i===0&&(this.outerNodes.push(l),this.root??=l)}getRoot(){return{name:"",children:this.outerNodes}}addClass(l,i){const r=this.classes.get(l)??{id:l,styles:[],textStyles:[]},n=i.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");n&&n.forEach(s=>{Ce(s)&&(r?.textStyles?r.textStyles.push(s):r.textStyles=[s]),r?.styles?r.styles.push(s):r.styles=[s]}),this.classes.set(l,r)}getClasses(){return this.classes}getStylesForClass(l){return this.classes.get(l)?.styles??[]}clear(){we(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}},m(N,"TreeMapDB"),N);function ae(p){if(!p.length)return[];const l=[],i=[];return p.forEach(r=>{const n={name:r.name,children:r.type==="Leaf"?void 0:[]};for(n.classSelector=r?.classSelector,r?.cssCompiledStyles&&(n.cssCompiledStyles=r.cssCompiledStyles),r.type==="Leaf"&&r.value!==void 0&&(n.value=r.value);i.length>0&&i[i.length-1].level>=r.level;)i.pop();if(i.length===0)l.push(n);else{const s=i[i.length-1].node;s.children?s.children.push(n):s.children=[n]}r.type!=="Leaf"&&i.push({node:n,level:r.level})}),l}m(ae,"buildHierarchy");var Ne=m((p,l)=>{de(p,l);const i=[];for(const s of p.TreemapRows??[])s.$type==="ClassDefStatement"&&l.addClass(s.className??"",s.styleText??"");for(const s of p.TreemapRows??[]){const d=s.item;if(!d)continue;const h=s.indent?parseInt(s.indent):0,k=ze(d),a=d.classSelector?l.getStylesForClass(d.classSelector):[],z=a.length>0?a:void 0,x={level:h,name:k,type:d.$type,value:d.value,classSelector:d.classSelector,cssCompiledStyles:z};i.push(x)}const r=ae(i),n=m((s,d)=>{for(const h of s)l.addNode(h,d),h.children&&h.children.length>0&&n(h.children,d+1)},"addNodesRecursively");n(r,0)},"populate"),ze=m(p=>p.name?String(p.name):"","getItemName"),le={parser:{yy:void 0},parse:m(async p=>{try{const i=await $e("treemap",p);X.debug("Treemap AST:",i);const r=le.parser?.yy;if(!(r instanceof te))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Ne(i,r)}catch(l){throw X.error("Error parsing treemap:",l),l}},"parse")},Ae=10,F=10,M=25,Pe=m((p,l,i,r)=>{const n=r.db,s=n.getConfig(),d=s.padding??Ae,h=n.getDiagramTitle(),k=n.getRoot(),{themeVariables:a}=Y();if(!k)return;const z=h?30:0,x=me(l),j=s.nodeWidth?s.nodeWidth*F:960,K=s.nodeHeight?s.nodeHeight*F:500,R=j,U=K+z;x.attr("viewBox",`0 0 ${R} ${U}`),ue(x,U,R,s.useMaxWidth);let b;try{const e=s.valueFormat||",";if(e==="$0,0")b=m(t=>"$"+V(",")(t),"valueFormat");else if(e.startsWith("$")&&e.includes(",")){const t=/\.\d+/.exec(e),o=t?t[0]:"";b=m(u=>"$"+V(","+o)(u),"valueFormat")}else if(e.startsWith("$")){const t=e.substring(1);b=m(o=>"$"+V(t||"")(o),"valueFormat")}else b=V(e)}catch(e){X.error("Error creating format function:",e),b=V(",")}const A=G().range(["transparent",a.cScale0,a.cScale1,a.cScale2,a.cScale3,a.cScale4,a.cScale5,a.cScale6,a.cScale7,a.cScale8,a.cScale9,a.cScale10,a.cScale11]),se=G().range(["transparent",a.cScalePeer0,a.cScalePeer1,a.cScalePeer2,a.cScalePeer3,a.cScalePeer4,a.cScalePeer5,a.cScalePeer6,a.cScalePeer7,a.cScalePeer8,a.cScalePeer9,a.cScalePeer10,a.cScalePeer11]),W=G().range([a.cScaleLabel0,a.cScaleLabel1,a.cScaleLabel2,a.cScaleLabel3,a.cScaleLabel4,a.cScaleLabel5,a.cScaleLabel6,a.cScaleLabel7,a.cScaleLabel8,a.cScaleLabel9,a.cScaleLabel10,a.cScaleLabel11]);h&&x.append("text").attr("x",R/2).attr("y",z/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(h);const q=x.append("g").attr("transform",`translate(0, ${z})`).attr("class","treemapContainer"),re=Le(k).sum(e=>e.value??0).sort((e,t)=>(t.value??0)-(e.value??0)),J=Fe().size([j,K]).paddingTop(e=>e.children&&e.children.length>0?M+F:0).paddingInner(d).paddingLeft(e=>e.children&&e.children.length>0?F:0).paddingRight(e=>e.children&&e.children.length>0?F:0).paddingBottom(e=>e.children&&e.children.length>0?F:0).round(!0)(re),ne=J.descendants().filter(e=>e.children&&e.children.length>0),P=q.selectAll(".treemapSection").data(ne).enter().append("g").attr("class","treemapSection").attr("transform",e=>`translate(${e.x0},${e.y0})`);P.append("rect").attr("width",e=>e.x1-e.x0).attr("height",M).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",e=>e.depth===0?"display: none;":""),P.append("clipPath").attr("id",(e,t)=>`clip-section-${l}-${t}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-12)).attr("height",M),P.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class",(e,t)=>`treemapSection section${t}`).attr("fill",e=>A(e.data.name)).attr("fill-opacity",.6).attr("stroke",e=>se(e.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",e=>{if(e.depth===0)return"display: none;";const t=L({cssCompiledStyles:e.data.cssCompiledStyles});return t.nodeStyles+";"+t.borderStyles.join(";")}),P.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",M/2).attr("dominant-baseline","middle").text(e=>e.depth===0?"":e.data.name).attr("font-weight","bold").attr("clip-path",(e,t)=>`url(#clip-section-${l}-${t})`).attr("style",e=>{if(e.depth===0)return"display: none;";const t="dominant-baseline: middle; font-size: 12px; fill:"+W(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",o=L({cssCompiledStyles:e.data.cssCompiledStyles});return t+o.labelStyles.replace("color:","fill:")}).each(function(e){if(e.depth===0)return;const t=H(this),o=e.data.name;t.text(o);const u=e.x1-e.x0,y=6;let f;s.showValues!==!1&&e.value?f=u-10-30-10-y:f=u-y-6;const c=Math.max(15,f),v=t.node();if(v.getComputedTextLength()>c){let w=o;for(;w.length>0;){if(w=o.substring(0,w.length-1),w.length===0){t.text("..."),v.getComputedTextLength()>c&&t.text("");break}if(t.text(w+"..."),v.getComputedTextLength()<=c)break}}}),s.showValues!==!1&&P.append("text").attr("class","treemapSectionValue").attr("x",e=>e.x1-e.x0-10).attr("y",M/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(e=>e.value?b(e.value):"").attr("font-style","italic").attr("style",e=>{if(e.depth===0)return"display: none;";const t="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+W(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",o=L({cssCompiledStyles:e.data.cssCompiledStyles});return t+o.labelStyles.replace("color:","fill:")});const Q=J.leaves(),g=Q.length>20,oe=g?16:38,E=g?14:28,T=g?4:8,D=g?4:6,B=g?2:4,Z=g?8:10,I=g?1:2,_=q.selectAll(".treemapLeafGroup").data(Q).enter().append("g").attr("class",(e,t)=>`treemapNode treemapLeafGroup leaf${t}${e.data.classSelector?` ${e.data.classSelector}`:""}x`).attr("transform",e=>`translate(${e.x0},${e.y0})`);_.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class","treemapLeaf").attr("fill",e=>e.parent?A(e.parent.data.name):A(e.data.name)).attr("style",e=>L({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",e=>e.parent?A(e.parent.data.name):A(e.data.name)).attr("stroke-width",3),_.append("clipPath").attr("id",(e,t)=>`clip-${l}-${t}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-4)).attr("height",e=>Math.max(0,e.y1-e.y0-4)),_.append("text").attr("class","treemapLabel").attr("x",e=>(e.x1-e.x0)/2).attr("y",e=>(e.y1-e.y0)/2).attr("style",e=>{const t=`text-anchor: middle; dominant-baseline: middle; font-size: ${oe}px;fill:`+W(e.data.name)+";",o=L({cssCompiledStyles:e.data.cssCompiledStyles});return t+o.labelStyles.replace("color:","fill:")}).attr("clip-path",(e,t)=>`url(#clip-${l}-${t})`).text(e=>e.data.name).each(function(e){const t=H(this),o=e.x1-e.x0,u=e.y1-e.y0,y=t.node(),f=o-2*B,$=u-2*B;if(f<Z||$<Z){t.style("display","none");return}let c=parseInt(t.style("font-size"),10);const v=.6;for(;y.getComputedTextLength()>f&&c>T;)c--,t.style("font-size",`${c}px`);let S=Math.max(D,Math.min(E,Math.round(c*v))),C=c+I+S;for(;C>$&&c>T&&(c--,S=Math.max(D,Math.min(E,Math.round(c*v))),!(S<D&&c===T));)t.style("font-size",`${c}px`),C=c+I+S;t.style("font-size",`${c}px`),g?(c<T||$<T)&&t.style("display","none"):(y.getComputedTextLength()>f||c<T||$<c)&&t.style("display","none")}),s.showValues!==!1&&_.append("text").attr("class","treemapValue").attr("x",t=>(t.x1-t.x0)/2).attr("y",function(t){return(t.y1-t.y0)/2}).attr("style",t=>{const o=`text-anchor: middle; dominant-baseline: hanging; font-size: ${E}px;fill:`+W(t.data.name)+";",u=L({cssCompiledStyles:t.data.cssCompiledStyles});return o+u.labelStyles.replace("color:","fill:")}).attr("clip-path",(t,o)=>`url(#clip-${l}-${o})`).text(t=>t.value?b(t.value):"").each(function(t){const o=H(this),u=this.parentNode;if(!u){o.style("display","none");return}const y=H(u).select(".treemapLabel");if(y.empty()||y.style("display")==="none"){o.style("display","none");return}const f=parseFloat(y.style("font-size")),c=Math.max(D,Math.min(E,Math.round(f*.6)));o.style("font-size",`${c}px`);const S=(t.y1-t.y0)/2+f/2+I;o.attr("y",S);const C=t.x1-t.x0,ee=t.y1-t.y0-4,pe=C-2*B;o.node().getComputedTextLength()>pe||S+c>ee||c<D?o.style("display","none"):o.style("display",null)});const ie=s.diagramPadding??8;Te(x,ie,"flowchart",s?.useMaxWidth||!1)},"draw"),De=m(function(p,l){return l.db.getClasses()},"getClasses"),Ve={draw:Pe,getClasses:De},Me={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},ke=m(({treemap:p}={})=>{const l=he(),i=Y(),r=O(l,i.themeVariables),n=O(Me,p),s=n.titleColor??r.titleColor,d=n.labelColor??r.textColor,h=n.valueColor??r.textColor;return`
|
|
1
|
+
import{p as de}from"./ED1Md46o.js";import{f as m,aX as he,aN as Y,$ as O,c4 as me,a6 as ue,bC as X,cm as L,c3 as H,c7 as fe,aL as ye,c9 as ge,aP as Se,aK as xe,c6 as be,ax as ve,bn as Ce,a0 as we}from"./-EQ6B0ad.js";import{s as Te}from"./-FJQK9pf.js";import{p as $e}from"./bG4sEGuX.js";import{f as V}from"./CrowFXzY.js";import{o as G}from"./CmKTTxBW.js";import{h as Le,t as Fe}from"./CvYzv8kf.js";var N,te=(N=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=fe,this.getAccTitle=ye,this.setDiagramTitle=ge,this.getDiagramTitle=Se,this.getAccDescription=xe,this.setAccDescription=be}getNodes(){return this.nodes}getConfig(){const l=ve,i=Y();return O({...l.treemap,...i.treemap??{}})}addNode(l,i){this.nodes.push(l),this.levels.set(l,i),i===0&&(this.outerNodes.push(l),this.root??=l)}getRoot(){return{name:"",children:this.outerNodes}}addClass(l,i){const r=this.classes.get(l)??{id:l,styles:[],textStyles:[]},n=i.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");n&&n.forEach(s=>{Ce(s)&&(r?.textStyles?r.textStyles.push(s):r.textStyles=[s]),r?.styles?r.styles.push(s):r.styles=[s]}),this.classes.set(l,r)}getClasses(){return this.classes}getStylesForClass(l){return this.classes.get(l)?.styles??[]}clear(){we(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}},m(N,"TreeMapDB"),N);function ae(p){if(!p.length)return[];const l=[],i=[];return p.forEach(r=>{const n={name:r.name,children:r.type==="Leaf"?void 0:[]};for(n.classSelector=r?.classSelector,r?.cssCompiledStyles&&(n.cssCompiledStyles=r.cssCompiledStyles),r.type==="Leaf"&&r.value!==void 0&&(n.value=r.value);i.length>0&&i[i.length-1].level>=r.level;)i.pop();if(i.length===0)l.push(n);else{const s=i[i.length-1].node;s.children?s.children.push(n):s.children=[n]}r.type!=="Leaf"&&i.push({node:n,level:r.level})}),l}m(ae,"buildHierarchy");var Ne=m((p,l)=>{de(p,l);const i=[];for(const s of p.TreemapRows??[])s.$type==="ClassDefStatement"&&l.addClass(s.className??"",s.styleText??"");for(const s of p.TreemapRows??[]){const d=s.item;if(!d)continue;const h=s.indent?parseInt(s.indent):0,k=ze(d),a=d.classSelector?l.getStylesForClass(d.classSelector):[],z=a.length>0?a:void 0,x={level:h,name:k,type:d.$type,value:d.value,classSelector:d.classSelector,cssCompiledStyles:z};i.push(x)}const r=ae(i),n=m((s,d)=>{for(const h of s)l.addNode(h,d),h.children&&h.children.length>0&&n(h.children,d+1)},"addNodesRecursively");n(r,0)},"populate"),ze=m(p=>p.name?String(p.name):"","getItemName"),le={parser:{yy:void 0},parse:m(async p=>{try{const i=await $e("treemap",p);X.debug("Treemap AST:",i);const r=le.parser?.yy;if(!(r instanceof te))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Ne(i,r)}catch(l){throw X.error("Error parsing treemap:",l),l}},"parse")},Ae=10,F=10,M=25,Pe=m((p,l,i,r)=>{const n=r.db,s=n.getConfig(),d=s.padding??Ae,h=n.getDiagramTitle(),k=n.getRoot(),{themeVariables:a}=Y();if(!k)return;const z=h?30:0,x=me(l),j=s.nodeWidth?s.nodeWidth*F:960,K=s.nodeHeight?s.nodeHeight*F:500,R=j,U=K+z;x.attr("viewBox",`0 0 ${R} ${U}`),ue(x,U,R,s.useMaxWidth);let b;try{const e=s.valueFormat||",";if(e==="$0,0")b=m(t=>"$"+V(",")(t),"valueFormat");else if(e.startsWith("$")&&e.includes(",")){const t=/\.\d+/.exec(e),o=t?t[0]:"";b=m(u=>"$"+V(","+o)(u),"valueFormat")}else if(e.startsWith("$")){const t=e.substring(1);b=m(o=>"$"+V(t||"")(o),"valueFormat")}else b=V(e)}catch(e){X.error("Error creating format function:",e),b=V(",")}const A=G().range(["transparent",a.cScale0,a.cScale1,a.cScale2,a.cScale3,a.cScale4,a.cScale5,a.cScale6,a.cScale7,a.cScale8,a.cScale9,a.cScale10,a.cScale11]),se=G().range(["transparent",a.cScalePeer0,a.cScalePeer1,a.cScalePeer2,a.cScalePeer3,a.cScalePeer4,a.cScalePeer5,a.cScalePeer6,a.cScalePeer7,a.cScalePeer8,a.cScalePeer9,a.cScalePeer10,a.cScalePeer11]),W=G().range([a.cScaleLabel0,a.cScaleLabel1,a.cScaleLabel2,a.cScaleLabel3,a.cScaleLabel4,a.cScaleLabel5,a.cScaleLabel6,a.cScaleLabel7,a.cScaleLabel8,a.cScaleLabel9,a.cScaleLabel10,a.cScaleLabel11]);h&&x.append("text").attr("x",R/2).attr("y",z/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(h);const q=x.append("g").attr("transform",`translate(0, ${z})`).attr("class","treemapContainer"),re=Le(k).sum(e=>e.value??0).sort((e,t)=>(t.value??0)-(e.value??0)),J=Fe().size([j,K]).paddingTop(e=>e.children&&e.children.length>0?M+F:0).paddingInner(d).paddingLeft(e=>e.children&&e.children.length>0?F:0).paddingRight(e=>e.children&&e.children.length>0?F:0).paddingBottom(e=>e.children&&e.children.length>0?F:0).round(!0)(re),ne=J.descendants().filter(e=>e.children&&e.children.length>0),P=q.selectAll(".treemapSection").data(ne).enter().append("g").attr("class","treemapSection").attr("transform",e=>`translate(${e.x0},${e.y0})`);P.append("rect").attr("width",e=>e.x1-e.x0).attr("height",M).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",e=>e.depth===0?"display: none;":""),P.append("clipPath").attr("id",(e,t)=>`clip-section-${l}-${t}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-12)).attr("height",M),P.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class",(e,t)=>`treemapSection section${t}`).attr("fill",e=>A(e.data.name)).attr("fill-opacity",.6).attr("stroke",e=>se(e.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",e=>{if(e.depth===0)return"display: none;";const t=L({cssCompiledStyles:e.data.cssCompiledStyles});return t.nodeStyles+";"+t.borderStyles.join(";")}),P.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",M/2).attr("dominant-baseline","middle").text(e=>e.depth===0?"":e.data.name).attr("font-weight","bold").attr("clip-path",(e,t)=>`url(#clip-section-${l}-${t})`).attr("style",e=>{if(e.depth===0)return"display: none;";const t="dominant-baseline: middle; font-size: 12px; fill:"+W(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",o=L({cssCompiledStyles:e.data.cssCompiledStyles});return t+o.labelStyles.replace("color:","fill:")}).each(function(e){if(e.depth===0)return;const t=H(this),o=e.data.name;t.text(o);const u=e.x1-e.x0,y=6;let f;s.showValues!==!1&&e.value?f=u-10-30-10-y:f=u-y-6;const c=Math.max(15,f),v=t.node();if(v.getComputedTextLength()>c){let w=o;for(;w.length>0;){if(w=o.substring(0,w.length-1),w.length===0){t.text("..."),v.getComputedTextLength()>c&&t.text("");break}if(t.text(w+"..."),v.getComputedTextLength()<=c)break}}}),s.showValues!==!1&&P.append("text").attr("class","treemapSectionValue").attr("x",e=>e.x1-e.x0-10).attr("y",M/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(e=>e.value?b(e.value):"").attr("font-style","italic").attr("style",e=>{if(e.depth===0)return"display: none;";const t="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+W(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",o=L({cssCompiledStyles:e.data.cssCompiledStyles});return t+o.labelStyles.replace("color:","fill:")});const Q=J.leaves(),g=Q.length>20,oe=g?16:38,E=g?14:28,T=g?4:8,D=g?4:6,B=g?2:4,Z=g?8:10,I=g?1:2,_=q.selectAll(".treemapLeafGroup").data(Q).enter().append("g").attr("class",(e,t)=>`treemapNode treemapLeafGroup leaf${t}${e.data.classSelector?` ${e.data.classSelector}`:""}x`).attr("transform",e=>`translate(${e.x0},${e.y0})`);_.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class","treemapLeaf").attr("fill",e=>e.parent?A(e.parent.data.name):A(e.data.name)).attr("style",e=>L({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",e=>e.parent?A(e.parent.data.name):A(e.data.name)).attr("stroke-width",3),_.append("clipPath").attr("id",(e,t)=>`clip-${l}-${t}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-4)).attr("height",e=>Math.max(0,e.y1-e.y0-4)),_.append("text").attr("class","treemapLabel").attr("x",e=>(e.x1-e.x0)/2).attr("y",e=>(e.y1-e.y0)/2).attr("style",e=>{const t=`text-anchor: middle; dominant-baseline: middle; font-size: ${oe}px;fill:`+W(e.data.name)+";",o=L({cssCompiledStyles:e.data.cssCompiledStyles});return t+o.labelStyles.replace("color:","fill:")}).attr("clip-path",(e,t)=>`url(#clip-${l}-${t})`).text(e=>e.data.name).each(function(e){const t=H(this),o=e.x1-e.x0,u=e.y1-e.y0,y=t.node(),f=o-2*B,$=u-2*B;if(f<Z||$<Z){t.style("display","none");return}let c=parseInt(t.style("font-size"),10);const v=.6;for(;y.getComputedTextLength()>f&&c>T;)c--,t.style("font-size",`${c}px`);let S=Math.max(D,Math.min(E,Math.round(c*v))),C=c+I+S;for(;C>$&&c>T&&(c--,S=Math.max(D,Math.min(E,Math.round(c*v))),!(S<D&&c===T));)t.style("font-size",`${c}px`),C=c+I+S;t.style("font-size",`${c}px`),g?(c<T||$<T)&&t.style("display","none"):(y.getComputedTextLength()>f||c<T||$<c)&&t.style("display","none")}),s.showValues!==!1&&_.append("text").attr("class","treemapValue").attr("x",t=>(t.x1-t.x0)/2).attr("y",function(t){return(t.y1-t.y0)/2}).attr("style",t=>{const o=`text-anchor: middle; dominant-baseline: hanging; font-size: ${E}px;fill:`+W(t.data.name)+";",u=L({cssCompiledStyles:t.data.cssCompiledStyles});return o+u.labelStyles.replace("color:","fill:")}).attr("clip-path",(t,o)=>`url(#clip-${l}-${o})`).text(t=>t.value?b(t.value):"").each(function(t){const o=H(this),u=this.parentNode;if(!u){o.style("display","none");return}const y=H(u).select(".treemapLabel");if(y.empty()||y.style("display")==="none"){o.style("display","none");return}const f=parseFloat(y.style("font-size")),c=Math.max(D,Math.min(E,Math.round(f*.6)));o.style("font-size",`${c}px`);const S=(t.y1-t.y0)/2+f/2+I;o.attr("y",S);const C=t.x1-t.x0,ee=t.y1-t.y0-4,pe=C-2*B;o.node().getComputedTextLength()>pe||S+c>ee||c<D?o.style("display","none"):o.style("display",null)});const ie=s.diagramPadding??8;Te(x,ie,"flowchart",s?.useMaxWidth||!1)},"draw"),De=m(function(p,l){return l.db.getClasses()},"getClasses"),Ve={draw:Pe,getClasses:De},Me={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},ke=m(({treemap:p}={})=>{const l=he(),i=Y(),r=O(l,i.themeVariables),n=O(Me,p),s=n.titleColor??r.titleColor,d=n.labelColor??r.textColor,h=n.valueColor??r.textColor;return`
|
|
2
2
|
.treemapNode.section {
|
|
3
3
|
stroke: ${n.sectionStrokeColor};
|
|
4
4
|
stroke-width: ${n.sectionStrokeWidth};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as we,bq as r,a_ as m,by as pe,b as be,bo as _}from"./DEI12D8u.js";import{bs as me,a7 as h,ay as c,W as o,bn as xe,aA as n,bS as E,aD as z,bH as Ee,a5 as Se,bA as Te,c9 as oe,aB as de,bV as Pe,be as S,b$ as T,b_ as P,bO as k}from"./B8o4lNgr.js";import{c as v}from"./DWsGxz2C.js";import{c as ke}from"./KLMKvNSD.js";import{F as Ce,cq as Fe}from"./BxuhDHqB.js";import{f as De}from"./
|
|
1
|
+
import{t as we,bq as r,a_ as m,by as pe,b as be,bo as _}from"./DEI12D8u.js";import{bs as me,a7 as h,ay as c,W as o,bn as xe,aA as n,bS as E,aD as z,bH as Ee,a5 as Se,bA as Te,c9 as oe,aB as de,bV as Pe,be as S,b$ as T,b_ as P,bO as k}from"./B8o4lNgr.js";import{c as v}from"./DWsGxz2C.js";import{c as ke}from"./KLMKvNSD.js";import{F as Ce,cq as Fe}from"./BxuhDHqB.js";import{f as De}from"./CBY4R5Io.js";import{s as We,k as Oe,M as ze,j as C}from"./MivJSmtA.js";import"./DaBUZyWc.js";var Me=de("<!> <!> <!> <!> <!> <!>",1),ye=de("<span><!></span>"),Ve=de("<!> <!>",1);function qe(ie,a){if(new.target)return we({component:qe,...ie});me(a,!0);const ge=e=>{var w=Me(),M=c(w);{var ne=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return R()},closeOnSelect:!1,get onCheckedChange(){return X()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_markdownPreview_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(M,t=>{Q()&&t(ne)})}var y=E(M,2);{var F=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return Z()},closeOnSelect:!1,get onCheckedChange(){return $()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_allFilesExpanded_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(y,t=>{Y()&&t(F)})}var se=E(y,2);{var V=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return A()},closeOnSelect:!1,get onCheckedChange(){return B()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_foldUnchanged_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(se,t=>{q()&&t(V)})}var D=E(se,2);{var le=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return L()},closeOnSelect:!1,get onCheckedChange(){return j()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_wrapLines_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(D,t=>{I()&&t(le)})}var x=E(D,2);{var p=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return N()},closeOnSelect:!1,get onCheckedChange(){return U()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_splitView_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(x,t=>{H()&&t(p)})}var b=E(x,2);{var W=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return J()},closeOnSelect:!1,get onCheckedChange(){return K()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_diffIndicators_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(b,t=>{G()&&t(W)})}o(e,w)};let q=r(a,"showFold",7,!0),A=r(a,"foldEnabled",7,!1),B=r(a,"onToggleFold",7),I=r(a,"showWrap",7,!0),L=r(a,"wrapEnabled",7,!1),j=r(a,"onToggleWrap",7),H=r(a,"showSplit",7,!0),N=r(a,"splitEnabled",7,!1),U=r(a,"onToggleSplit",7),G=r(a,"showDiff",7,!1),J=r(a,"diffEnabled",7,!1),K=r(a,"onToggleDiff",7),Q=r(a,"showPreview",7,!1),R=r(a,"previewEnabled",7,!1),X=r(a,"onTogglePreview",7),Y=r(a,"showExpand",7,!1),Z=r(a,"expanded",7,!1),$=r(a,"onToggleExpand",7),ee=r(a,"class",7,""),te=r(a,"size",7,"xs"),ae=r(a,"embedded",7,!1),re=Pe(!1);const ue={xs:"icon-xs",sm:"icon-sm",md:"icon"};var ce={get showFold(){return q()},set showFold(e=!0){q(e),n()},get foldEnabled(){return A()},set foldEnabled(e=!1){A(e),n()},get onToggleFold(){return B()},set onToggleFold(e){B(e),n()},get showWrap(){return I()},set showWrap(e=!0){I(e),n()},get wrapEnabled(){return L()},set wrapEnabled(e=!1){L(e),n()},get onToggleWrap(){return j()},set onToggleWrap(e){j(e),n()},get showSplit(){return H()},set showSplit(e=!0){H(e),n()},get splitEnabled(){return N()},set splitEnabled(e=!1){N(e),n()},get onToggleSplit(){return U()},set onToggleSplit(e){U(e),n()},get showDiff(){return G()},set showDiff(e=!1){G(e),n()},get diffEnabled(){return J()},set diffEnabled(e=!1){J(e),n()},get onToggleDiff(){return K()},set onToggleDiff(e){K(e),n()},get showPreview(){return Q()},set showPreview(e=!1){Q(e),n()},get previewEnabled(){return R()},set previewEnabled(e=!1){R(e),n()},get onTogglePreview(){return X()},set onTogglePreview(e){X(e),n()},get showExpand(){return Y()},set showExpand(e=!1){Y(e),n()},get expanded(){return Z()},set expanded(e=!1){Z(e),n()},get onToggleExpand(){return $()},set onToggleExpand(e){$(e),n()},get class(){return ee()},set class(e=""){ee(e),n()},get size(){return te()},set size(e="xs"){te(e),n()},get embedded(){return ae()},set embedded(e=!1){ae(e),n()},$set:pe,$on:(e,w)=>be(a,e,w)},fe=h(),_e=c(fe);{var ve=e=>{ge(e)},he=e=>{var w=h(),M=c(w);v(M,()=>ze,(ne,y)=>{y(ne,{get open(){return z(re)},set open(F){Ee(re,F,!0)},children:(F,se)=>{var V=Ve(),D=c(V);{const x=(p,b)=>{let W=()=>(b?.()).props;var t=ye();ke(t,()=>({class:"contents",...W()}));var s=Se(t);{let d=oe(()=>_.ui_viewSettings_trigger_tooltip()),i=oe(()=>_.ui_viewSettings_trigger_tooltip());De(s,{variant:"ghost-light",get size(){return ue[te()]},get tooltip(){return z(d)},tooltipSide:"bottom",get"aria-label"(){return z(i)},get"aria-expanded"(){return z(re)},get class(){return ee()},"data-testid":"view-settings-trigger",children:(g,f)=>{Ce(g,{get icon(){return Fe},size:"xs"})},$$slots:{default:!0}})}Te(t),o(p,t)};v(D,()=>We,(p,b)=>{b(p,{child:x,$$slots:{child:!0}})})}var le=E(D,2);{let x=oe(()=>_.ui_dropdownMenu_ariaLabel());v(le,()=>Oe,(p,b)=>{b(p,{align:"end",class:"w-56 p-3!",get"aria-label"(){return z(x)},children:(W,t)=>{ge(W)},$$slots:{default:!0}})})}o(F,V)},$$slots:{default:!0}})}),o(e,w)};m(_e,e=>{ae()?e(ve):e(he,-1)})}return o(ie,fe),xe(ce)}export{qe as V};
|