@mintplayer/web-components 2.18.0 → 2.20.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/a11y/index.mjs +1 -29
- package/accordion/index.mjs +190 -530
- package/calendar/index.mjs +1 -4
- package/card/index.mjs +59 -328
- package/card/src/mp-card.element.d.ts +5 -13
- package/carousel/index.mjs +392 -845
- package/charts/core/index.mjs +502 -32
- package/charts/hierarchy/index.mjs +812 -1197
- package/charts/sparkline/index.mjs +127 -161
- package/charts/trend/index.mjs +306 -411
- package/checkbox/index.mjs +1 -4
- package/chunks/a11y-C6aX-lsZ.mjs +532 -0
- package/chunks/ac-aJXc45zA.mjs +4 -0
- package/chunks/ad-BTMXfwNh.mjs +4 -0
- package/chunks/ae-BrzD6osX.mjs +4 -0
- package/chunks/af-3UZ2_zTj.mjs +4 -0
- package/chunks/ag-KRBsuK2a.mjs +4 -0
- package/chunks/ai-BswLJAYs.mjs +4 -0
- package/chunks/al-wkJnSVxF.mjs +4 -0
- package/chunks/all-flags.generated-DtfbMnSZ.mjs +249 -0
- package/chunks/am-CVqI42UW.mjs +4 -0
- package/chunks/ao-85WVAZW6.mjs +4 -0
- package/chunks/ar-DJGfKADQ.mjs +4 -0
- package/chunks/as-BA11KqFF.mjs +4 -0
- package/chunks/at-BWbwtZ8t.mjs +4 -0
- package/chunks/au-gcOCUxgy.mjs +4 -0
- package/chunks/aw-cquGJK0_.mjs +4 -0
- package/chunks/ax-CqFz-_7-.mjs +4 -0
- package/chunks/az-CtGxDo7C.mjs +4 -0
- package/chunks/ba-Du5giA_b.mjs +4 -0
- package/chunks/bb-Bv08A_ob.mjs +4 -0
- package/chunks/bd-DNB5oj3n.mjs +4 -0
- package/chunks/be-CRVNdrRc.mjs +4 -0
- package/chunks/bf-CkLDaLFq.mjs +4 -0
- package/chunks/bg-5J0EZyQA.mjs +4 -0
- package/chunks/bh-Dm3fVyBc.mjs +4 -0
- package/chunks/bi-BpldTGS9.mjs +4 -0
- package/chunks/bj-Bn2B1hkk.mjs +4 -0
- package/chunks/bl-Dozbp4JI.mjs +4 -0
- package/chunks/bm-DMwDEJDn.mjs +4 -0
- package/chunks/bn-38iFiYIW.mjs +4 -0
- package/chunks/bo-C7Z0bS7Y.mjs +4 -0
- package/chunks/bq-Bp_dK3bp.mjs +4 -0
- package/chunks/br-C1y3qYTo.mjs +4 -0
- package/chunks/bs-DvapNTm6.mjs +4 -0
- package/chunks/bt-4BBK2CzL.mjs +4 -0
- package/chunks/bw-gFoFnfsO.mjs +4 -0
- package/chunks/by-BcXeEIqn.mjs +4 -0
- package/chunks/bz-DiNvPmet.mjs +4 -0
- package/chunks/ca-B6_-P3Ki.mjs +4 -0
- package/chunks/calendar-BufRj_ob.mjs +270 -0
- package/chunks/cc-1.generated-Bz6a4Z5J.mjs +575 -0
- package/chunks/cc-20.generated-B2Zbp_CG.mjs +56 -0
- package/chunks/cc-211.generated-ChWU4ZnK.mjs +27 -0
- package/chunks/cc-212.generated-rW7bueR8.mjs +77 -0
- package/chunks/cc-213.generated-Dk100iVd.mjs +52 -0
- package/chunks/cc-216.generated-Da9XXIxn.mjs +37 -0
- package/chunks/cc-218.generated-B9dPA_jz.mjs +27 -0
- package/chunks/cc-220.generated-BD583LXg.mjs +26 -0
- package/chunks/cc-221.generated-FnrRCGhQ.mjs +41 -0
- package/chunks/cc-222.generated-RIcsN1By.mjs +30 -0
- package/chunks/cc-223.generated-BJYOhmxL.mjs +30 -0
- package/chunks/cc-224.generated-ZVRf4s4P.mjs +40 -0
- package/chunks/cc-225.generated-B37F4h_L.mjs +30 -0
- package/chunks/cc-226.generated-DX6w8SIQ.mjs +26 -0
- package/chunks/cc-227.generated-DWvIJCqw.mjs +35 -0
- package/chunks/cc-228.generated-CYnF-A2j.mjs +26 -0
- package/chunks/cc-229.generated-BHENEfHM.mjs +40 -0
- package/chunks/cc-230.generated-CCkgyUCO.mjs +53 -0
- package/chunks/cc-231.generated-Cy_W19Ec.mjs +50 -0
- package/chunks/cc-232.generated-bZc5ux9j.mjs +27 -0
- package/chunks/cc-233.generated-DtiURqLW.mjs +36 -0
- package/chunks/cc-234.generated-ISth71Yl.mjs +67 -0
- package/chunks/cc-235.generated-PAizMnHl.mjs +27 -0
- package/chunks/cc-236.generated-ZPS5oQTo.mjs +31 -0
- package/chunks/cc-237.generated-fOpKOXN1.mjs +34 -0
- package/chunks/cc-238.generated-DLsZAArj.mjs +36 -0
- package/chunks/cc-239.generated-Dq7UEEQw.mjs +26 -0
- package/chunks/cc-240.generated-B5rtjDFe.mjs +35 -0
- package/chunks/cc-241.generated-C2tPOfsp.mjs +40 -0
- package/chunks/cc-242.generated-12ELhWHE.mjs +35 -0
- package/chunks/cc-243.generated-Co_QscFq.mjs +64 -0
- package/chunks/cc-244.generated-CHVaQJzk.mjs +26 -0
- package/chunks/cc-245.generated-Dlfots5d.mjs +40 -0
- package/chunks/cc-246.generated-ml5FnCdW.mjs +26 -0
- package/chunks/cc-247.generated-D8iUb2b4.mjs +30 -0
- package/chunks/cc-248.generated-ByNbG_tW.mjs +37 -0
- package/chunks/cc-249.generated-B1uFXVYg.mjs +27 -0
- package/chunks/cc-250.generated-Db4-CYfI.mjs +44 -0
- package/chunks/cc-251.generated-Dk9Nsbz4.mjs +27 -0
- package/chunks/cc-252.generated-DzLVy7Wj.mjs +62 -0
- package/chunks/cc-253.generated-BAAxb4Dd.mjs +26 -0
- package/chunks/cc-254.generated-CQb3622R.mjs +55 -0
- package/chunks/cc-255.generated-CkU7A9vn.mjs +57 -0
- package/chunks/cc-256.generated-CPuR1ls2.mjs +46 -0
- package/chunks/cc-257.generated-Bop3IKkH.mjs +26 -0
- package/chunks/cc-258.generated-CrhWzLYO.mjs +34 -0
- package/chunks/cc-260.generated-CM31-F_r.mjs +42 -0
- package/chunks/cc-261.generated-Cc1Yk2ga.mjs +37 -0
- package/chunks/cc-262.generated-iNq4Bsyg.mjs +64 -0
- package/chunks/cc-263.generated-BNSZQW1U.mjs +100 -0
- package/chunks/cc-264.generated-BYq3HF_4.mjs +57 -0
- package/chunks/cc-265.generated-55Al2n2g.mjs +32 -0
- package/chunks/cc-266.generated-CC24vRZU.mjs +30 -0
- package/chunks/cc-267.generated-Cy1cO0r8.mjs +62 -0
- package/chunks/cc-268.generated-CuFPqOA0.mjs +40 -0
- package/chunks/cc-269.generated-CCOchMHW.mjs +31 -0
- package/chunks/cc-27.generated-CgwGi0oo.mjs +77 -0
- package/chunks/cc-290.generated-WRbX8Uzp.mjs +48 -0
- package/chunks/cc-291.generated-CHqtf344.mjs +27 -0
- package/chunks/cc-297.generated-BNaG__hC.mjs +36 -0
- package/chunks/cc-298.generated-BXnC-JHy.mjs +36 -0
- package/chunks/cc-299.generated-B9EtLFYo.mjs +36 -0
- package/chunks/cc-30.generated-JiXqSdPm.mjs +58 -0
- package/chunks/cc-31.generated-T-PhKf6W.mjs +91 -0
- package/chunks/cc-32.generated-3jhsIH05.mjs +58 -0
- package/chunks/cc-33.generated-CKpraBu-.mjs +43 -0
- package/chunks/cc-34.generated-4ZOoUv3E.mjs +41 -0
- package/chunks/cc-350.generated-BZeZIKv3.mjs +26 -0
- package/chunks/cc-351.generated-Ca4DVFZ8.mjs +41 -0
- package/chunks/cc-352.generated-C5JanZQk.mjs +96 -0
- package/chunks/cc-353.generated-BgLwqLra.mjs +98 -0
- package/chunks/cc-354.generated-BgTnQRlC.mjs +41 -0
- package/chunks/cc-355.generated-DGYepZoL.mjs +69 -0
- package/chunks/cc-356.generated-BsVo-WVa.mjs +36 -0
- package/chunks/cc-357.generated-b5F9kBHS.mjs +37 -0
- package/chunks/cc-358.generated-sIEQmG3a.mjs +136 -0
- package/chunks/cc-359.generated-Djbt0V64.mjs +92 -0
- package/chunks/cc-36.generated-GYQWm_pU.mjs +51 -0
- package/chunks/cc-370.generated-CRvXymMq.mjs +62 -0
- package/chunks/cc-371.generated-BR2fz2JU.mjs +37 -0
- package/chunks/cc-372.generated-DNvOnI-D.mjs +53 -0
- package/chunks/cc-373.generated-CIFhOyHu.mjs +52 -0
- package/chunks/cc-374.generated-C3JO10F2.mjs +58 -0
- package/chunks/cc-375.generated-CdSXpaA5.mjs +77 -0
- package/chunks/cc-376.generated-JuZXGLxH.mjs +47 -0
- package/chunks/cc-377.generated-D6OxfwEg.mjs +44 -0
- package/chunks/cc-378.generated-1P6hL48M.mjs +40 -0
- package/chunks/cc-380.generated-DgzzIFUj.mjs +58 -0
- package/chunks/cc-381.generated-D_ItFJFw.mjs +65 -0
- package/chunks/cc-382.generated-DuYOeAO_.mjs +37 -0
- package/chunks/cc-383.generated-R6R6iExY.mjs +58 -0
- package/chunks/cc-385.generated-CsDeMCh1.mjs +77 -0
- package/chunks/cc-386.generated-CprplXRX.mjs +67 -0
- package/chunks/cc-387.generated-7j6TIOUR.mjs +52 -0
- package/chunks/cc-389.generated-BoKyJU1O.mjs +52 -0
- package/chunks/cc-39.generated-CD2WXEy7.mjs +144 -0
- package/chunks/cc-40.generated-BXVz6ZEf.mjs +60 -0
- package/chunks/cc-41.generated-Blq73F9R.mjs +52 -0
- package/chunks/cc-420.generated-CGBM0u2Z.mjs +59 -0
- package/chunks/cc-421.generated-TZXTbujK.mjs +68 -0
- package/chunks/cc-423.generated-0jWk7aQw.mjs +51 -0
- package/chunks/cc-43.generated-CWC77-QL.mjs +124 -0
- package/chunks/cc-44.generated-BjNEEm72.mjs +185 -0
- package/chunks/cc-45.generated-D2fAEViK.mjs +31 -0
- package/chunks/cc-46.generated-Cc7ziKiQ.mjs +151 -0
- package/chunks/cc-47.generated-BfsXOmTn.mjs +68 -0
- package/chunks/cc-48.generated-qLLhGlDM.mjs +80 -0
- package/chunks/cc-49.generated-V5s3zaiK.mjs +207 -0
- package/chunks/cc-500.generated-BthGq2Lz.mjs +22 -0
- package/chunks/cc-501.generated-D3OEBYfs.mjs +34 -0
- package/chunks/cc-502.generated-DuGMlanj.mjs +35 -0
- package/chunks/cc-503.generated-D6WQdJRe.mjs +47 -0
- package/chunks/cc-504.generated-CnaVgqYu.mjs +30 -0
- package/chunks/cc-505.generated-BymEBjCD.mjs +30 -0
- package/chunks/cc-506.generated-DECPXw0C.mjs +40 -0
- package/chunks/cc-507.generated-B3GcK3L_.mjs +48 -0
- package/chunks/cc-508.generated-Dyuwoas9.mjs +45 -0
- package/chunks/cc-509.generated-CFrvVAgw.mjs +36 -0
- package/chunks/cc-51.generated-Chb_sPYg.mjs +59 -0
- package/chunks/cc-52.generated-ByiHdoYn.mjs +42 -0
- package/chunks/cc-53.generated-DJSsiaD5.mjs +63 -0
- package/chunks/cc-54.generated-CHWQhBUJ.mjs +99 -0
- package/chunks/cc-55.generated-B1A8n_Eu.mjs +62 -0
- package/chunks/cc-56.generated-BIagT3im.mjs +86 -0
- package/chunks/cc-57.generated-BI-iKXi5.mjs +56 -0
- package/chunks/cc-58.generated-ChHB0yFM.mjs +35 -0
- package/chunks/cc-590.generated-eh5bgg8N.mjs +96 -0
- package/chunks/cc-591.generated-DtljIXWS.mjs +48 -0
- package/chunks/cc-592.generated-BFJXRJtp.mjs +36 -0
- package/chunks/cc-593.generated-BnzrDC9X.mjs +57 -0
- package/chunks/cc-594.generated-GeVqoxTf.mjs +42 -0
- package/chunks/cc-595.generated-Cb147_Es.mjs +99 -0
- package/chunks/cc-596.generated-Awrujeyi.mjs +42 -0
- package/chunks/cc-597.generated-x82tPU7m.mjs +48 -0
- package/chunks/cc-598.generated-C0CFFA9e.mjs +90 -0
- package/chunks/cc-599.generated-CBNiFVLG.mjs +57 -0
- package/chunks/cc-60.generated-BsEWXQGR.mjs +72 -0
- package/chunks/cc-61.generated-D1GBs6cI.mjs +165 -0
- package/chunks/cc-62.generated-wMxDe6Yk.mjs +121 -0
- package/chunks/cc-63.generated-CdGxow0i.mjs +90 -0
- package/chunks/cc-64.generated-RnYaXyOf.mjs +88 -0
- package/chunks/cc-65.generated-DLu3ZfUr.mjs +57 -0
- package/chunks/cc-66.generated-Bak_QXSf.mjs +55 -0
- package/chunks/cc-670.generated-C99GtcUk.mjs +36 -0
- package/chunks/cc-672.generated-CSfxhA5g.mjs +30 -0
- package/chunks/cc-673.generated-CBepp8Kp.mjs +36 -0
- package/chunks/cc-674.generated-CUruGGLX.mjs +26 -0
- package/chunks/cc-675.generated-CJAYoKiM.mjs +41 -0
- package/chunks/cc-676.generated-D0aVoKBX.mjs +48 -0
- package/chunks/cc-677.generated-CboriHtH.mjs +36 -0
- package/chunks/cc-678.generated-tV4dzsm1.mjs +36 -0
- package/chunks/cc-679.generated-r1SqDRTw.mjs +35 -0
- package/chunks/cc-680.generated-CUJSNlon.mjs +26 -0
- package/chunks/cc-681.generated-CqZqTSzv.mjs +40 -0
- package/chunks/cc-682.generated-DsTDPJJe.mjs +26 -0
- package/chunks/cc-683.generated-C46F0xza.mjs +26 -0
- package/chunks/cc-685.generated-3mzM0WBI.mjs +47 -0
- package/chunks/cc-686.generated-B7jAfSaz.mjs +32 -0
- package/chunks/cc-687.generated-DUkxCl-t.mjs +31 -0
- package/chunks/cc-688.generated-Bwg6wtz6.mjs +42 -0
- package/chunks/cc-689.generated-DIjPyQbi.mjs +52 -0
- package/chunks/cc-690.generated-BkBOgCj0.mjs +27 -0
- package/chunks/cc-691.generated-CRgqR_eS.mjs +26 -0
- package/chunks/cc-692.generated-xoIqpcZG.mjs +36 -0
- package/chunks/cc-7.generated-CVaWdxzG.mjs +99 -0
- package/chunks/cc-81.generated-BsK5UKLx.mjs +100 -0
- package/chunks/cc-82.generated-BcgfVP49.mjs +96 -0
- package/chunks/cc-84.generated-C_NDe2op.mjs +81 -0
- package/chunks/cc-850.generated-5uPEB20Q.mjs +41 -0
- package/chunks/cc-852.generated-Cmcj41zv.mjs +66 -0
- package/chunks/cc-853.generated-5Q5aYzYP.mjs +34 -0
- package/chunks/cc-855.generated-CyoP_AvI.mjs +40 -0
- package/chunks/cc-856.generated-UaGUxAVX.mjs +45 -0
- package/chunks/cc-86.generated-C76vQ-PG.mjs +131 -0
- package/chunks/cc-880.generated-DTQZvOwQ.mjs +63 -0
- package/chunks/cc-886.generated-BlEIkmSb.mjs +89 -0
- package/chunks/cc-90.generated-B6QJof50.mjs +70 -0
- package/chunks/cc-91.generated-BFtdPEFf.mjs +120 -0
- package/chunks/cc-92.generated-Dmc8JLXg.mjs +84 -0
- package/chunks/cc-93.generated-zx8cBy1Z.mjs +27 -0
- package/chunks/cc-94.generated-Blu9IgSY.mjs +40 -0
- package/chunks/cc-95.generated-DCr59wbp.mjs +103 -0
- package/chunks/cc-960.generated-D1_nf00O.mjs +39 -0
- package/chunks/cc-961.generated-DxRflmbQ.mjs +42 -0
- package/chunks/cc-962.generated-DxZQb06J.mjs +58 -0
- package/chunks/cc-963.generated-uiT34jBy.mjs +34 -0
- package/chunks/cc-964.generated-BOKCnQHJ.mjs +45 -0
- package/chunks/cc-965.generated-CxNoEz0A.mjs +34 -0
- package/chunks/cc-966.generated-DhI8Ntyw.mjs +56 -0
- package/chunks/cc-967.generated-ContxwI-.mjs +36 -0
- package/chunks/cc-968.generated-v531jzFw.mjs +47 -0
- package/chunks/cc-970.generated-ChNVoJlm.mjs +55 -0
- package/chunks/cc-971.generated-xlS_839v.mjs +65 -0
- package/chunks/cc-972.generated-C5zT9loz.mjs +87 -0
- package/chunks/cc-973.generated-GoMZ3x5A.mjs +37 -0
- package/chunks/cc-974.generated-CHoLGfhR.mjs +48 -0
- package/chunks/cc-975.generated-BILSPn9k.mjs +30 -0
- package/chunks/cc-976.generated-4w3Zjm18.mjs +66 -0
- package/chunks/cc-977.generated-QcknaTKZ.mjs +48 -0
- package/chunks/cc-98.generated-C8ajgwoF.mjs +65 -0
- package/chunks/cc-992.generated-DUtoyFJd.mjs +44 -0
- package/chunks/cc-993.generated-DA_HUZYq.mjs +42 -0
- package/chunks/cc-994.generated-Bs9TDYzb.mjs +50 -0
- package/chunks/cc-995.generated-DeCplFKG.mjs +56 -0
- package/chunks/cc-996.generated-DIoF8HI4.mjs +45 -0
- package/chunks/cc-998.generated-mB6cuCsE.mjs +26 -0
- package/chunks/cc-C0VrlA3_.mjs +4 -0
- package/chunks/cd-TfcK0f07.mjs +4 -0
- package/chunks/cf-Cr0ikDYa.mjs +4 -0
- package/chunks/cg-BeLZ5g5O.mjs +4 -0
- package/chunks/ch-cyq7xzGy.mjs +4 -0
- package/chunks/checkbox-EnxkCGiC.mjs +271 -0
- package/chunks/ci-D2pSb2Ih.mjs +4 -0
- package/chunks/ck-htfFHGea.mjs +4 -0
- package/chunks/cl-CoYa3Pmk.mjs +4 -0
- package/chunks/cm-D6uug-DA.mjs +4 -0
- package/chunks/cn-D48FvmT7.mjs +4 -0
- package/chunks/co-Dww2Azv_.mjs +4 -0
- package/chunks/color-mode-warning-BWDrpfmR.mjs +11 -0
- package/chunks/cr-T0UM2nAQ.mjs +4 -0
- package/chunks/cu-CvSN3Q4W.mjs +4 -0
- package/chunks/cv-CselBvqy.mjs +4 -0
- package/chunks/cw-DBlAOQBG.mjs +4 -0
- package/chunks/cx-CT3aGae9.mjs +4 -0
- package/chunks/cy-BgOT9gkN.mjs +4 -0
- package/chunks/cz-pyOSY6aP.mjs +4 -0
- package/chunks/datatable-qkYf-N0c.mjs +1786 -0
- package/chunks/datetime-picker-BtroFVZZ.mjs +373 -0
- package/chunks/de-KGaNXoZN.mjs +4 -0
- package/chunks/decorate-_3lQte5d.mjs +9 -0
- package/chunks/dj-erTpydIV.mjs +4 -0
- package/chunks/dk-D1JuLNfO.mjs +4 -0
- package/chunks/dm-DCecBFF5.mjs +4 -0
- package/chunks/do-DSLfzWkU.mjs +4 -0
- package/chunks/dz-Ce9xahTz.mjs +4 -0
- package/chunks/ec-Bi76lWx3.mjs +4 -0
- package/chunks/ee-bSjXh051.mjs +4 -0
- package/chunks/eg-r6ELPNF6.mjs +4 -0
- package/chunks/eh-B9fkMRyx.mjs +4 -0
- package/chunks/er-udHBJByJ.mjs +4 -0
- package/chunks/es-Bu9WWdeR.mjs +4 -0
- package/chunks/et-CXZPC0sf.mjs +4 -0
- package/chunks/fi-dNG3mnm4.mjs +4 -0
- package/chunks/fj-DRC_-qUY.mjs +4 -0
- package/chunks/fk-J-PwBKbI.mjs +4 -0
- package/chunks/flags-BklZdqf-.mjs +268 -0
- package/chunks/fm-DdlXjhk_.mjs +4 -0
- package/chunks/fo-BF6Oan5b.mjs +4 -0
- package/chunks/form-check.styles-WIzQ8Lr8.mjs +5 -0
- package/chunks/form-control.styles-xkboF3PM.mjs +5 -0
- package/chunks/fr-m5fDKirC.mjs +4 -0
- package/chunks/ga-B4EBbkUA.mjs +4 -0
- package/chunks/gb-7vN41y_W.mjs +4 -0
- package/chunks/gd-oYxJTsCo.mjs +4 -0
- package/chunks/ge-DjFzwM58.mjs +4 -0
- package/chunks/gf-QpbaNTLf.mjs +4 -0
- package/chunks/gg-DD5U9436.mjs +4 -0
- package/chunks/gh-DwVF19eS.mjs +4 -0
- package/chunks/gi-UFWuuzET.mjs +4 -0
- package/chunks/gl-D6QboaPF.mjs +4 -0
- package/chunks/gm-DBMaPUVF.mjs +4 -0
- package/chunks/gn-CgBEf8H_.mjs +4 -0
- package/chunks/gp-CzgFkpC6.mjs +4 -0
- package/chunks/gq-Bnsg80y2.mjs +4 -0
- package/chunks/gr-BZRM9aE0.mjs +4 -0
- package/chunks/gt-BUUDyd82.mjs +4 -0
- package/chunks/gu-TRJAAUWQ.mjs +4 -0
- package/chunks/gw-D9LrzBrV.mjs +4 -0
- package/chunks/gy-DH746QP0.mjs +4 -0
- package/chunks/hk-JPHzGR1f.mjs +4 -0
- package/chunks/hn-tQE5mLlb.mjs +4 -0
- package/chunks/hr-BdLlK8MT.mjs +4 -0
- package/chunks/ht-efkMBTm5.mjs +4 -0
- package/chunks/hu-BQqGjm3B.mjs +4 -0
- package/chunks/id-DaJrUhdH.mjs +4 -0
- package/chunks/ie-BNbUpzRG.mjs +4 -0
- package/chunks/il-Cg79KHAv.mjs +4 -0
- package/chunks/im-Djx9n3WT.mjs +4 -0
- package/chunks/in-B43LtLH-.mjs +4 -0
- package/chunks/input-group-CjmHKUSw.mjs +48 -0
- package/chunks/invalid-feedback.styles-BAfKyqM0.mjs +5 -0
- package/chunks/io-BnYRzBj3.mjs +4 -0
- package/chunks/iq-DUn1QbRL.mjs +4 -0
- package/chunks/ir-DlyfLEkf.mjs +4 -0
- package/chunks/is-DQ_bn71q.mjs +4 -0
- package/chunks/it-BfPMagQk.mjs +4 -0
- package/chunks/je-BLm9fJmW.mjs +4 -0
- package/chunks/jm-CxLVl0Ry.mjs +4 -0
- package/chunks/jo-Cfupva0T.mjs +4 -0
- package/chunks/jp-iR_5eVnk.mjs +4 -0
- package/chunks/ke-QUXFhgYU.mjs +4 -0
- package/chunks/kg-C0ssUmgN.mjs +4 -0
- package/chunks/kh-9A3QNvDB.mjs +4 -0
- package/chunks/ki-bFdICXHj.mjs +4 -0
- package/chunks/km-CYuiTVlZ.mjs +4 -0
- package/chunks/kn-fqURi7WO.mjs +4 -0
- package/chunks/kp-B9J1sdkG.mjs +4 -0
- package/chunks/kr-hrrgo3DJ.mjs +4 -0
- package/chunks/kw-CsK5t1uI.mjs +4 -0
- package/chunks/ky-CIIoXV1x.mjs +4 -0
- package/chunks/kz-Q6lWH-Lp.mjs +4 -0
- package/chunks/la-BqrIQzV5.mjs +4 -0
- package/chunks/lb-f1wH5q4z.mjs +4 -0
- package/chunks/lc-DiPjKtKA.mjs +4 -0
- package/chunks/li-CC9A-Eoo.mjs +4 -0
- package/chunks/lk-DBBVyq9z.mjs +4 -0
- package/chunks/lr-CYmj0qzD.mjs +4 -0
- package/chunks/ls-5eFpOHA5.mjs +4 -0
- package/chunks/lt-DuXsTfKz.mjs +4 -0
- package/chunks/lu-l81BU1X-.mjs +4 -0
- package/chunks/lv-pBWGmb6y.mjs +4 -0
- package/chunks/ly-rQGukqgk.mjs +4 -0
- package/chunks/ma-D3s8fhJY.mjs +4 -0
- package/chunks/mc-C2UgSKD0.mjs +4 -0
- package/chunks/md-Bn-lDZyQ.mjs +4 -0
- package/chunks/me-CTM23YkQ.mjs +4 -0
- package/chunks/metadata-loaders.generated-BOHjz7Pm.mjs +250 -0
- package/chunks/mf-Dw6W2U1G.mjs +4 -0
- package/chunks/mg-BvSTuxdV.mjs +4 -0
- package/chunks/mh-DlNbre6t.mjs +4 -0
- package/chunks/mk-CMQgOxwU.mjs +4 -0
- package/chunks/ml-Dr5P0Yo_.mjs +4 -0
- package/chunks/mm-C6vWhwqu.mjs +4 -0
- package/chunks/mn-D3Xmr6k_.mjs +4 -0
- package/chunks/mo-BieTAs8C.mjs +4 -0
- package/chunks/mp-CkOXp1Ru.mjs +4 -0
- package/chunks/mq-Cjhq-UJo.mjs +4 -0
- package/chunks/mr-Dnfbj6zJ.mjs +4 -0
- package/chunks/ms-CTQctbcy.mjs +4 -0
- package/chunks/mt-CU4E0kx5.mjs +4 -0
- package/chunks/mu-D-VsOyS8.mjs +4 -0
- package/chunks/mv-BLAL7NFA.mjs +4 -0
- package/chunks/mw-v7uw9vtP.mjs +4 -0
- package/chunks/mx-eDyMiM1l.mjs +4 -0
- package/chunks/my-DZwL-5pY.mjs +4 -0
- package/chunks/mz-CUtVhMFS.mjs +4 -0
- package/chunks/na-BY29xZvs.mjs +4 -0
- package/chunks/nc-DeEXGMmA.mjs +4 -0
- package/chunks/ne-CLxU921A.mjs +4 -0
- package/chunks/nf-D_JOkQkl.mjs +4 -0
- package/chunks/ng-CR5xUr0F.mjs +4 -0
- package/chunks/ni-C15mTV4Y.mjs +4 -0
- package/chunks/nl-CLg7nWke.mjs +4 -0
- package/chunks/no-D56_k2KF.mjs +4 -0
- package/chunks/np-BAP7jy8o.mjs +4 -0
- package/chunks/nr-VKzWyaNU.mjs +4 -0
- package/chunks/nu-D3XZHNZP.mjs +4 -0
- package/chunks/nz-BdvILa2x.mjs +4 -0
- package/chunks/om-BuPCo8qp.mjs +4 -0
- package/chunks/overlay-kT0nfzL-.mjs +275 -0
- package/chunks/pa-CyYPeQbr.mjs +4 -0
- package/chunks/pagination-Bcz1TwlS.mjs +184 -0
- package/chunks/pe-B-P9yq9y.mjs +4 -0
- package/chunks/pf-BEygN2Xk.mjs +4 -0
- package/chunks/pg-BbFUBN-z.mjs +4 -0
- package/chunks/ph-BwijTsiw.mjs +4 -0
- package/chunks/pk-DyS4XqKp.mjs +4 -0
- package/chunks/pl-Bs4VwV81.mjs +4 -0
- package/chunks/pm-DLEa5i47.mjs +4 -0
- package/chunks/pr-BWsOEP9w.mjs +4 -0
- package/chunks/ps-B_qECKr4.mjs +4 -0
- package/chunks/pt-C2_djybD.mjs +4 -0
- package/chunks/pw-D_NY3JPr.mjs +4 -0
- package/chunks/py-CndItMw9.mjs +4 -0
- package/chunks/qa-CD1uNFb9.mjs +4 -0
- package/chunks/radio-BO6g4B91.mjs +260 -0
- package/chunks/re-BW_tVnq3.mjs +4 -0
- package/chunks/ro-1-zfxYpt.mjs +4 -0
- package/chunks/rs-BoYWG9vg.mjs +4 -0
- package/chunks/ru-CYVEtP_y.mjs +4 -0
- package/chunks/rw-Bg3jblyd.mjs +4 -0
- package/chunks/sa-B69Q0suF.mjs +4 -0
- package/chunks/sb-BsEiWQfb.mjs +4 -0
- package/chunks/sc-DbArtz_B.mjs +4 -0
- package/chunks/scheduler-core-CoFpfrl5.mjs +867 -0
- package/chunks/sd-BBHgjmhj.mjs +4 -0
- package/chunks/se-BIv2B636.mjs +4 -0
- package/chunks/select-R-96AksV.mjs +295 -0
- package/chunks/sg-C5hxvYqk.mjs +4 -0
- package/chunks/sh-HM3W4hDH.mjs +4 -0
- package/chunks/si-DP1aBcfC.mjs +4 -0
- package/chunks/sj-BW7y-uq5.mjs +4 -0
- package/chunks/sk-i105Khwu.mjs +4 -0
- package/chunks/sl-Di2GF_yv.mjs +4 -0
- package/chunks/sm-CBa0TK4H.mjs +4 -0
- package/chunks/sn-DUHpXra8.mjs +4 -0
- package/chunks/so-BNbpnsu-.mjs +4 -0
- package/chunks/splitter-ByLyrd5H.mjs +436 -0
- package/chunks/sr-ao-a5_9y.mjs +4 -0
- package/chunks/ss-DcnzauNo.mjs +4 -0
- package/chunks/st-UM_GVNxZ.mjs +4 -0
- package/chunks/sv-DGf1zbvG.mjs +4 -0
- package/chunks/swiper-core-kwEab-Zw.mjs +145 -0
- package/chunks/sx-BswzV8CI.mjs +4 -0
- package/chunks/sy-9m1S8Kc1.mjs +4 -0
- package/chunks/sz-D85TIkXG.mjs +4 -0
- package/chunks/tab-control-CW53taeE.mjs +202 -0
- package/chunks/tc-C7PcDjFx.mjs +4 -0
- package/chunks/td-BPQVoqMT.mjs +4 -0
- package/chunks/tg-BrHdehFU.mjs +4 -0
- package/chunks/th-Dy_pGi_n.mjs +4 -0
- package/chunks/timeline-core-B9Lu8Qq4.mjs +15 -0
- package/chunks/timepicker-LaSAPnxw.mjs +326 -0
- package/chunks/tj-DMpkq8L_.mjs +4 -0
- package/chunks/tk-BnQPtoCZ.mjs +4 -0
- package/chunks/tl-ogyf_25A.mjs +4 -0
- package/chunks/tm-ftTOaKfg.mjs +4 -0
- package/chunks/tn-DH-O9SRy.mjs +4 -0
- package/chunks/to-CDqWnE6l.mjs +4 -0
- package/chunks/toggle-button-H1Ty5nnF.mjs +196 -0
- package/chunks/tr-CRzwaC_7.mjs +4 -0
- package/chunks/treeview-BuznGbcj.mjs +302 -0
- package/chunks/tt-CddKczAn.mjs +4 -0
- package/chunks/tv-b-Y36_Oq.mjs +4 -0
- package/chunks/tw-BbdD_Tku.mjs +4 -0
- package/chunks/tz-Det_pKDO.mjs +4 -0
- package/chunks/ua-CdODx9f1.mjs +4 -0
- package/chunks/ug-CTIJi1Jn.mjs +4 -0
- package/chunks/us-Dsgn127D.mjs +4 -0
- package/chunks/uy-CtFb0Nfv.mjs +4 -0
- package/chunks/uz-CqlGrq2Q.mjs +4 -0
- package/chunks/va-C-PHbkgG.mjs +4 -0
- package/chunks/vc-CtVMqDKl.mjs +4 -0
- package/chunks/ve-CBHWNLnB.mjs +4 -0
- package/chunks/vg-BN0gTtPV.mjs +4 -0
- package/chunks/vi-D91NT7D5.mjs +4 -0
- package/chunks/vn-Dz72HCr4.mjs +4 -0
- package/chunks/vu-Cmk5qbSr.mjs +4 -0
- package/chunks/wf-DAPtyg32.mjs +4 -0
- package/chunks/ws-es9JGzNi.mjs +4 -0
- package/chunks/xk-st-Xu64D.mjs +4 -0
- package/chunks/ye-Dmo8XEYa.mjs +4 -0
- package/chunks/yt-CNEu1wkH.mjs +4 -0
- package/chunks/za-CiZ4NsPE.mjs +4 -0
- package/chunks/zm-DqQAAfzp.mjs +4 -0
- package/chunks/zw-BIGE1hob.mjs +4 -0
- package/code-snippet/index.mjs +472 -820
- package/custom-elements.json +7773 -7389
- package/datatable/index.mjs +1 -8
- package/datatable/src/components/column-resize.d.ts +22 -0
- package/datatable/src/components/mp-datatable.d.ts +143 -3
- package/datatable/src/types/column-def.d.ts +13 -1
- package/datatable/src/types/labels.d.ts +17 -0
- package/datepicker/index.mjs +128 -215
- package/datetime-picker/index.mjs +1 -4
- package/dock/index.mjs +1871 -2471
- package/dropdown-menu/index.mjs +157 -601
- package/file-manager/index.mjs +771 -1180
- package/flags/index.mjs +1 -264
- package/index.mjs +0 -1
- package/input-group/index.mjs +1 -4
- package/light-dom/index.mjs +188 -11
- package/multi-range/index.mjs +233 -402
- package/navbar/index.mjs +224 -1010
- package/otp-input/index.mjs +249 -374
- package/overlay/index.mjs +1 -7
- package/package.json +1 -1
- package/pagination/index.mjs +1 -5
- package/phone-core/index.mjs +120 -8
- package/phone-input/index.mjs +380 -493
- package/query-builder/index.mjs +1502 -2277
- package/radio/index.mjs +1 -4
- package/radio-group/index.mjs +126 -144
- package/ribbon/index.mjs +1158 -1497
- package/scheduler/index.mjs +3456 -6576
- package/scheduler-core/index.mjs +1 -197
- package/select/index.mjs +1 -4
- package/shell/index.mjs +98 -572
- package/signature-pad/index.mjs +180 -207
- package/splitter/index.mjs +1 -10
- package/swiper-core/index.mjs +1 -184
- package/tab-control/index.mjs +1 -6
- package/theming/index.mjs +229 -317
- package/tile-manager/index.mjs +746 -899
- package/timeline/index.mjs +476 -754
- package/timeline-core/index.mjs +1 -23
- package/timepicker/index.mjs +1 -9
- package/toggle-button/index.mjs +1 -5
- package/tree-select/index.mjs +467 -769
- package/treeview/index.mjs +1 -5
- package/badge/src/styles/badge.styles.d.ts +0 -2
- package/chunks/ac-C5mj7mOe.mjs +0 -5
- package/chunks/ad-DuKUeTXh.mjs +0 -5
- package/chunks/ae-BFJrplpe.mjs +0 -5
- package/chunks/af-BIQlNFtj.mjs +0 -5
- package/chunks/ag-B9GDO0Ip.mjs +0 -5
- package/chunks/ai-pifHTP5K.mjs +0 -5
- package/chunks/al-CWQ3OuN9.mjs +0 -5
- package/chunks/all-flags-BtYcfgjy.mjs +0 -8
- package/chunks/all-flags.generated-B7Rctzuq.mjs +0 -493
- package/chunks/am-Do56ciQl.mjs +0 -5
- package/chunks/ao-Ci_fen-O.mjs +0 -5
- package/chunks/ar-BEZTIgF7.mjs +0 -5
- package/chunks/as-B29efaG_.mjs +0 -5
- package/chunks/at-c7xv31cV.mjs +0 -5
- package/chunks/attributes-L3eKsbdy.mjs +0 -16
- package/chunks/au-DK4ZROf6.mjs +0 -5
- package/chunks/aw-eEmOo-kc.mjs +0 -5
- package/chunks/ax-CF1cgQbd.mjs +0 -5
- package/chunks/az-BXPec7pf.mjs +0 -5
- package/chunks/ba-EoocSiX0.mjs +0 -5
- package/chunks/bb-BomyOgY0.mjs +0 -5
- package/chunks/bd-C2Y9A316.mjs +0 -5
- package/chunks/be-DcE56El1.mjs +0 -5
- package/chunks/bf-g7XzTHJG.mjs +0 -5
- package/chunks/bg-DAHpwJAh.mjs +0 -5
- package/chunks/bh-BiHF8vqO.mjs +0 -5
- package/chunks/bi-DVAoOy2o.mjs +0 -5
- package/chunks/bj-CB6I0T1J.mjs +0 -5
- package/chunks/bl-DhUObXcB.mjs +0 -5
- package/chunks/bm-d77E6A-Q.mjs +0 -5
- package/chunks/bn-CG1_6Vfv.mjs +0 -5
- package/chunks/bo-ulcQ_Lws.mjs +0 -5
- package/chunks/bq-wOjRpmJJ.mjs +0 -5
- package/chunks/br-BwQAEpKL.mjs +0 -5
- package/chunks/bs-Cmq3uDf9.mjs +0 -5
- package/chunks/bt-Cik-3ebf.mjs +0 -5
- package/chunks/bw-ZUkpxAL1.mjs +0 -5
- package/chunks/by-Dh-5h5x1.mjs +0 -5
- package/chunks/bz-DB0s7-5N.mjs +0 -5
- package/chunks/ca-Coq88_mc.mjs +0 -5
- package/chunks/cc-1.generated-CkRogBGA.mjs +0 -4
- package/chunks/cc-20.generated-DMpg7apl.mjs +0 -4
- package/chunks/cc-211.generated-DSnuuKPM.mjs +0 -4
- package/chunks/cc-212.generated-Dcg3rrip.mjs +0 -4
- package/chunks/cc-213.generated-DPwtGlxT.mjs +0 -4
- package/chunks/cc-216.generated-Cgber7dX.mjs +0 -4
- package/chunks/cc-218.generated-CZGwxl9D.mjs +0 -4
- package/chunks/cc-220.generated-CKmXmpGe.mjs +0 -4
- package/chunks/cc-221.generated-BYzgBejl.mjs +0 -4
- package/chunks/cc-222.generated-YwuXcbvd.mjs +0 -4
- package/chunks/cc-223.generated-9iiHnni6.mjs +0 -4
- package/chunks/cc-224.generated-Okty02TJ.mjs +0 -4
- package/chunks/cc-225.generated-CYkDnG14.mjs +0 -4
- package/chunks/cc-226.generated-GT_rqbCO.mjs +0 -4
- package/chunks/cc-227.generated-B1VkrgoB.mjs +0 -4
- package/chunks/cc-228.generated-Bhck-C6Z.mjs +0 -4
- package/chunks/cc-229.generated-aAR4PP7n.mjs +0 -4
- package/chunks/cc-230.generated-CG5TxZtb.mjs +0 -4
- package/chunks/cc-231.generated-BjYHl_BP.mjs +0 -4
- package/chunks/cc-232.generated-CFDyaA7o.mjs +0 -4
- package/chunks/cc-233.generated-ChwvrW0E.mjs +0 -4
- package/chunks/cc-234.generated-BIpIojaD.mjs +0 -4
- package/chunks/cc-235.generated-Dklizfb9.mjs +0 -4
- package/chunks/cc-236.generated-EJZlz23v.mjs +0 -4
- package/chunks/cc-237.generated-DwOapZWZ.mjs +0 -4
- package/chunks/cc-238.generated-BkCWtGDY.mjs +0 -4
- package/chunks/cc-239.generated-S_foXUit.mjs +0 -4
- package/chunks/cc-240.generated-CtKfcEWk.mjs +0 -4
- package/chunks/cc-241.generated-aAUw2QzS.mjs +0 -4
- package/chunks/cc-242.generated-D5jMR3KR.mjs +0 -4
- package/chunks/cc-243.generated-Bk5dwdUf.mjs +0 -4
- package/chunks/cc-244.generated-DywGvISM.mjs +0 -4
- package/chunks/cc-245.generated-Bm7wVXl5.mjs +0 -4
- package/chunks/cc-246.generated-CFSezynW.mjs +0 -4
- package/chunks/cc-247.generated-DKXGq8p1.mjs +0 -4
- package/chunks/cc-248.generated-CnI_kkbi.mjs +0 -4
- package/chunks/cc-249.generated-Zenj8WBl.mjs +0 -4
- package/chunks/cc-250.generated-140A9gFx.mjs +0 -4
- package/chunks/cc-251.generated-BYtVzI1w.mjs +0 -4
- package/chunks/cc-252.generated-C9By3_Ih.mjs +0 -4
- package/chunks/cc-253.generated-DZIADgzo.mjs +0 -4
- package/chunks/cc-254.generated-Bkb5VbuX.mjs +0 -4
- package/chunks/cc-255.generated-U_k4UlnG.mjs +0 -4
- package/chunks/cc-256.generated-BBGMRLJL.mjs +0 -4
- package/chunks/cc-257.generated-2Jiadm-X.mjs +0 -4
- package/chunks/cc-258.generated-CSHZFQtI.mjs +0 -4
- package/chunks/cc-260.generated-CWgOLjv4.mjs +0 -4
- package/chunks/cc-261.generated-DzpnYK1v.mjs +0 -4
- package/chunks/cc-262.generated-uZY0cJ08.mjs +0 -4
- package/chunks/cc-263.generated-D2QbPttm.mjs +0 -4
- package/chunks/cc-264.generated-DhUT_yRg.mjs +0 -4
- package/chunks/cc-265.generated-BKIU4vGv.mjs +0 -4
- package/chunks/cc-266.generated-O_zgqaDo.mjs +0 -4
- package/chunks/cc-267.generated-DpLBLCK1.mjs +0 -4
- package/chunks/cc-268.generated-B9Y4LS_4.mjs +0 -4
- package/chunks/cc-269.generated-DPQ0A8VW.mjs +0 -4
- package/chunks/cc-27.generated-BxeFhsuD.mjs +0 -4
- package/chunks/cc-290.generated-DGy2isg7.mjs +0 -4
- package/chunks/cc-291.generated-C4LSfffl.mjs +0 -4
- package/chunks/cc-297.generated-4k_1JOUj.mjs +0 -4
- package/chunks/cc-298.generated-A2xB0PKR.mjs +0 -4
- package/chunks/cc-299.generated-BwDC9B1N.mjs +0 -4
- package/chunks/cc-30.generated-JhyYglqU.mjs +0 -4
- package/chunks/cc-31.generated-5GOCJzfN.mjs +0 -4
- package/chunks/cc-32.generated-CpVvykA2.mjs +0 -4
- package/chunks/cc-33.generated-BDzHxbR_.mjs +0 -4
- package/chunks/cc-34.generated-P3nQfhBw.mjs +0 -4
- package/chunks/cc-350.generated-BGl8hYsP.mjs +0 -4
- package/chunks/cc-351.generated-pJBouwSG.mjs +0 -4
- package/chunks/cc-352.generated-8_NbdAx6.mjs +0 -4
- package/chunks/cc-353.generated-Cfz2tBdq.mjs +0 -4
- package/chunks/cc-354.generated-CEgaa6qB.mjs +0 -4
- package/chunks/cc-355.generated-DGZ-kJ0i.mjs +0 -4
- package/chunks/cc-356.generated-BZqLs86A.mjs +0 -4
- package/chunks/cc-357.generated-CfCB5cHL.mjs +0 -4
- package/chunks/cc-358.generated-wL2JzNDk.mjs +0 -4
- package/chunks/cc-359.generated-BxJe3xGt.mjs +0 -4
- package/chunks/cc-36.generated-CJdA4Rvi.mjs +0 -4
- package/chunks/cc-370.generated-B6SpL74q.mjs +0 -4
- package/chunks/cc-371.generated-Cx6lrGG9.mjs +0 -4
- package/chunks/cc-372.generated-Ckc30SHu.mjs +0 -4
- package/chunks/cc-373.generated-BK0ypz55.mjs +0 -4
- package/chunks/cc-374.generated-B51ogwAh.mjs +0 -4
- package/chunks/cc-375.generated-CMbmbMav.mjs +0 -4
- package/chunks/cc-376.generated-DZngLeqA.mjs +0 -4
- package/chunks/cc-377.generated-BYuCOf7K.mjs +0 -4
- package/chunks/cc-378.generated-CuNlUjOw.mjs +0 -4
- package/chunks/cc-380.generated-A2e4FwA4.mjs +0 -4
- package/chunks/cc-381.generated-Cvwf7aDo.mjs +0 -4
- package/chunks/cc-382.generated-B-x4jIQ_.mjs +0 -4
- package/chunks/cc-383.generated-B6E63WN4.mjs +0 -4
- package/chunks/cc-385.generated-CbYlsCsW.mjs +0 -4
- package/chunks/cc-386.generated-BUSyzthQ.mjs +0 -4
- package/chunks/cc-387.generated-IhkhnsGu.mjs +0 -4
- package/chunks/cc-389.generated-SNuHIdqu.mjs +0 -4
- package/chunks/cc-39.generated-BGZK1sVL.mjs +0 -4
- package/chunks/cc-40.generated-Bo8WnsNc.mjs +0 -4
- package/chunks/cc-41.generated-CG0098r3.mjs +0 -4
- package/chunks/cc-420.generated-C59jh2M8.mjs +0 -4
- package/chunks/cc-421.generated-BhxO-pTK.mjs +0 -4
- package/chunks/cc-423.generated-B4UJk2xr.mjs +0 -4
- package/chunks/cc-43.generated-BIdhhcvA.mjs +0 -4
- package/chunks/cc-44.generated-BfeK0wEP.mjs +0 -4
- package/chunks/cc-45.generated-BEJCwF4o.mjs +0 -4
- package/chunks/cc-46.generated-DeEMtTcI.mjs +0 -4
- package/chunks/cc-47.generated-DQy2Xk_0.mjs +0 -4
- package/chunks/cc-48.generated-C4yA7R1Q.mjs +0 -4
- package/chunks/cc-49.generated-a02djmT4.mjs +0 -4
- package/chunks/cc-500.generated-glAZ4AUe.mjs +0 -4
- package/chunks/cc-501.generated-D-GCAbI8.mjs +0 -4
- package/chunks/cc-502.generated-Co-n0usI.mjs +0 -4
- package/chunks/cc-503.generated-BM58qC_M.mjs +0 -4
- package/chunks/cc-504.generated-cTtfXvjR.mjs +0 -4
- package/chunks/cc-505.generated-DLSKmmzY.mjs +0 -4
- package/chunks/cc-506.generated-BMyMgwgZ.mjs +0 -4
- package/chunks/cc-507.generated-DWOdIJMd.mjs +0 -4
- package/chunks/cc-508.generated-DN3D0FwY.mjs +0 -4
- package/chunks/cc-509.generated-D-jyniz5.mjs +0 -4
- package/chunks/cc-51.generated-Bjy1G3kG.mjs +0 -4
- package/chunks/cc-52.generated-CDeO-q1n.mjs +0 -4
- package/chunks/cc-53.generated-Bg_ETBvx.mjs +0 -4
- package/chunks/cc-54.generated-BCfSFUZP.mjs +0 -4
- package/chunks/cc-55.generated-C1iLoSl1.mjs +0 -4
- package/chunks/cc-56.generated-ChgDDlud.mjs +0 -4
- package/chunks/cc-57.generated-qfDFimii.mjs +0 -4
- package/chunks/cc-58.generated-Cl6DzTam.mjs +0 -4
- package/chunks/cc-590.generated-DhG2cP7S.mjs +0 -4
- package/chunks/cc-591.generated-CjxsaggL.mjs +0 -4
- package/chunks/cc-592.generated-DnF2AtPs.mjs +0 -4
- package/chunks/cc-593.generated-J4b4KU_z.mjs +0 -4
- package/chunks/cc-594.generated-BDqHqvBX.mjs +0 -4
- package/chunks/cc-595.generated-Di23-NWq.mjs +0 -4
- package/chunks/cc-596.generated-B92oLPvz.mjs +0 -4
- package/chunks/cc-597.generated-pdvIpWWG.mjs +0 -4
- package/chunks/cc-598.generated-C9i6NuuS.mjs +0 -4
- package/chunks/cc-599.generated-Cot_Tjya.mjs +0 -4
- package/chunks/cc-60.generated-Dt21L5ED.mjs +0 -4
- package/chunks/cc-61.generated-CsF19uOz.mjs +0 -4
- package/chunks/cc-62.generated-CXe9l8jN.mjs +0 -4
- package/chunks/cc-63.generated-CyxqKEMz.mjs +0 -4
- package/chunks/cc-64.generated-B1U2VUWE.mjs +0 -4
- package/chunks/cc-65.generated-BqB9SL91.mjs +0 -4
- package/chunks/cc-66.generated-DSW4cKRJ.mjs +0 -4
- package/chunks/cc-670.generated-B5lMBLIA.mjs +0 -4
- package/chunks/cc-672.generated-rtLnRViR.mjs +0 -4
- package/chunks/cc-673.generated-CCfKxiHb.mjs +0 -4
- package/chunks/cc-674.generated-DqEenJAu.mjs +0 -4
- package/chunks/cc-675.generated-CDZsNVmA.mjs +0 -4
- package/chunks/cc-676.generated-CtuzuSpR.mjs +0 -4
- package/chunks/cc-677.generated-B6Vdcheb.mjs +0 -4
- package/chunks/cc-678.generated-Bu-wQLCv.mjs +0 -4
- package/chunks/cc-679.generated-C_vQNfa9.mjs +0 -4
- package/chunks/cc-680.generated-DgD0sTpR.mjs +0 -4
- package/chunks/cc-681.generated-CgCDLpTf.mjs +0 -4
- package/chunks/cc-682.generated-BBdb0LCA.mjs +0 -4
- package/chunks/cc-683.generated-BYq9qGSN.mjs +0 -4
- package/chunks/cc-685.generated-BeVt0xOD.mjs +0 -4
- package/chunks/cc-686.generated-DSuHUyGC.mjs +0 -4
- package/chunks/cc-687.generated-CAYCkQGn.mjs +0 -4
- package/chunks/cc-688.generated-BxoYuhyI.mjs +0 -4
- package/chunks/cc-689.generated-D1LJPuEc.mjs +0 -4
- package/chunks/cc-690.generated-wBJlIR_d.mjs +0 -4
- package/chunks/cc-691.generated-D3313DJE.mjs +0 -4
- package/chunks/cc-692.generated-BjRLK6LH.mjs +0 -4
- package/chunks/cc-7.generated-Be8Per3z.mjs +0 -4
- package/chunks/cc-81.generated-Bfr_1Ik4.mjs +0 -4
- package/chunks/cc-82.generated-CXvQgAj0.mjs +0 -4
- package/chunks/cc-84.generated-DsMrssxQ.mjs +0 -4
- package/chunks/cc-850.generated-B6dMNsJB.mjs +0 -4
- package/chunks/cc-852.generated-DoLs1jmz.mjs +0 -4
- package/chunks/cc-853.generated-C9J4qDF6.mjs +0 -4
- package/chunks/cc-855.generated-rriF89dH.mjs +0 -4
- package/chunks/cc-856.generated-DWMBTBFS.mjs +0 -4
- package/chunks/cc-86.generated-C8Ob3yVb.mjs +0 -4
- package/chunks/cc-880.generated-gteZx8SL.mjs +0 -4
- package/chunks/cc-886.generated-QyIDP1_q.mjs +0 -4
- package/chunks/cc-90.generated-DSXR50SV.mjs +0 -4
- package/chunks/cc-91.generated-C_cDq0Xp.mjs +0 -4
- package/chunks/cc-92.generated-Cxd7f_QX.mjs +0 -4
- package/chunks/cc-93.generated-Cyqo0e91.mjs +0 -4
- package/chunks/cc-94.generated-EsnmfbnH.mjs +0 -4
- package/chunks/cc-95.generated-D_8p55mp.mjs +0 -4
- package/chunks/cc-960.generated-DletKApH.mjs +0 -4
- package/chunks/cc-961.generated-CXVHoWFk.mjs +0 -4
- package/chunks/cc-962.generated-B7EPSakT.mjs +0 -4
- package/chunks/cc-963.generated-D71Y75mr.mjs +0 -4
- package/chunks/cc-964.generated-B8-RYrVD.mjs +0 -4
- package/chunks/cc-965.generated-tesjPkaP.mjs +0 -4
- package/chunks/cc-966.generated-CkCCmcR2.mjs +0 -4
- package/chunks/cc-967.generated-Bz1kG3rR.mjs +0 -4
- package/chunks/cc-968.generated-B8izDjLu.mjs +0 -4
- package/chunks/cc-970.generated-CKTkdIET.mjs +0 -4
- package/chunks/cc-971.generated-Wzj17K10.mjs +0 -4
- package/chunks/cc-972.generated-CJO02ZmJ.mjs +0 -4
- package/chunks/cc-973.generated-CL9ZE2Of.mjs +0 -4
- package/chunks/cc-974.generated-ZkYqGi9L.mjs +0 -4
- package/chunks/cc-975.generated-DP2Teiuc.mjs +0 -4
- package/chunks/cc-976.generated-GGNMRuFQ.mjs +0 -4
- package/chunks/cc-977.generated-KwvwlHUw.mjs +0 -4
- package/chunks/cc-98.generated-DW-Wj2k5.mjs +0 -4
- package/chunks/cc-992.generated-NRREmly7.mjs +0 -4
- package/chunks/cc-993.generated-BNlup4k-.mjs +0 -4
- package/chunks/cc-994.generated-BUD4e8ho.mjs +0 -4
- package/chunks/cc-995.generated-8P4TnVbi.mjs +0 -4
- package/chunks/cc-996.generated-CKCe7foO.mjs +0 -4
- package/chunks/cc-998.generated-CsAmnJYd.mjs +0 -4
- package/chunks/cc-BZdCRpNT.mjs +0 -5
- package/chunks/cd-9O28tBfy.mjs +0 -5
- package/chunks/cf-BdhmyWlv.mjs +0 -5
- package/chunks/cg-C-Qu4NMU.mjs +0 -5
- package/chunks/ch-A1RQVYLO.mjs +0 -5
- package/chunks/ci-DZY7fgO7.mjs +0 -5
- package/chunks/ck-D-2C9a72.mjs +0 -5
- package/chunks/cl-3HNgrmyT.mjs +0 -5
- package/chunks/cm-DJ4mixO9.mjs +0 -5
- package/chunks/cn-Cw6Qlqzd.mjs +0 -5
- package/chunks/co-B6rvgyRo.mjs +0 -5
- package/chunks/color-mode-warning-71FmlzWX.mjs +0 -13
- package/chunks/cr-jJzoBrc7.mjs +0 -5
- package/chunks/cu-BRzz3vV_.mjs +0 -5
- package/chunks/cv-BzZilEMp.mjs +0 -5
- package/chunks/cw-5PnLdxCt.mjs +0 -5
- package/chunks/cx-C0sAUlCS.mjs +0 -5
- package/chunks/cy-DeC9FFGV.mjs +0 -5
- package/chunks/cz-C3rh8aUO.mjs +0 -5
- package/chunks/de-Q2c2XZ_v.mjs +0 -5
- package/chunks/dj-DWAmmYDE.mjs +0 -5
- package/chunks/dk-FTaySAJe.mjs +0 -5
- package/chunks/dm-DgSJioJq.mjs +0 -5
- package/chunks/do-C549n3on.mjs +0 -5
- package/chunks/dz-CPgKocaY.mjs +0 -5
- package/chunks/ec-DkC-cDOb.mjs +0 -5
- package/chunks/ee-BQmFOHXA.mjs +0 -5
- package/chunks/eg-DMVarwMR.mjs +0 -5
- package/chunks/eh--oxmiCXh.mjs +0 -5
- package/chunks/er-DjB_DDiD.mjs +0 -5
- package/chunks/error-text-B45eDAt1.mjs +0 -17
- package/chunks/es-D__9e8wL.mjs +0 -5
- package/chunks/et-C3reU7Z2.mjs +0 -5
- package/chunks/fi-C1K0Kh4o.mjs +0 -5
- package/chunks/fj-Cs7ECsE1.mjs +0 -5
- package/chunks/fk-DYEJDgjs.mjs +0 -5
- package/chunks/fm-C7r_OFnj.mjs +0 -5
- package/chunks/fo-DsT-wW0Q.mjs +0 -5
- package/chunks/focus-restore-DxuP1Oe2.mjs +0 -94
- package/chunks/focus-trap-DTOLJ5bb.mjs +0 -121
- package/chunks/form-associated-BR-fUvZ1.mjs +0 -43
- package/chunks/form-check.styles-DqvBnspm.mjs +0 -172
- package/chunks/form-control.styles-C3j87Sn3.mjs +0 -171
- package/chunks/fr-oy8Uo1bo.mjs +0 -5
- package/chunks/ga-DESElBvk.mjs +0 -5
- package/chunks/gb-D5r9QI-K.mjs +0 -5
- package/chunks/gd-BuRviRXt.mjs +0 -5
- package/chunks/ge-BpGz5nUs.mjs +0 -5
- package/chunks/gf-BQgWe_yS.mjs +0 -5
- package/chunks/gg-BLNQrqls.mjs +0 -5
- package/chunks/gh-BzVF8tSr.mjs +0 -5
- package/chunks/gi-DfKOJdRQ.mjs +0 -5
- package/chunks/gl-C558Toee.mjs +0 -5
- package/chunks/gm-DNdinxnD.mjs +0 -5
- package/chunks/gn-DwEBOZ3-.mjs +0 -5
- package/chunks/gp-oy8Uo1bo.mjs +0 -5
- package/chunks/gq-BSkOSQWe.mjs +0 -5
- package/chunks/gr-CTJJbGEC.mjs +0 -5
- package/chunks/gt-D4BwgazI.mjs +0 -5
- package/chunks/gu-CQpMzEB_.mjs +0 -5
- package/chunks/gw-DxZDYMtv.mjs +0 -5
- package/chunks/gy-BWZVUGl8.mjs +0 -5
- package/chunks/hk-BHxjZMf4.mjs +0 -5
- package/chunks/hn-BEVgQ0QQ.mjs +0 -5
- package/chunks/host-aria-WSGs7SPQ.mjs +0 -152
- package/chunks/hr-BpVWlAoF.mjs +0 -5
- package/chunks/ht-CfzU-07O.mjs +0 -5
- package/chunks/hu-5Yy5WRy5.mjs +0 -5
- package/chunks/id-BfVg05v7.mjs +0 -5
- package/chunks/ie-DvpkJVl8.mjs +0 -5
- package/chunks/il-DDofIlI0.mjs +0 -5
- package/chunks/im-CW65ei4K.mjs +0 -5
- package/chunks/in-i60GVnCJ.mjs +0 -5
- package/chunks/inert-regions-DXCnn1LN.mjs +0 -48
- package/chunks/install-light-styles-DbCAGFOC.mjs +0 -209
- package/chunks/invalid-feedback.styles-he0JYrJm.mjs +0 -11
- package/chunks/io-Diyu5soM.mjs +0 -5
- package/chunks/iq-B74bFnMJ.mjs +0 -5
- package/chunks/ir-BWGwwJq9.mjs +0 -5
- package/chunks/is-CK4oIk76.mjs +0 -5
- package/chunks/it-Y7rj3hMY.mjs +0 -5
- package/chunks/je-DMoX3evy.mjs +0 -5
- package/chunks/jm-DZUStFkR.mjs +0 -5
- package/chunks/jo-DVQ6-ojE.mjs +0 -5
- package/chunks/jp-Y5R0MQfN.mjs +0 -5
- package/chunks/ke-CGq6XP7w.mjs +0 -5
- package/chunks/kg-DAoQwbeR.mjs +0 -5
- package/chunks/kh-kMI7MghQ.mjs +0 -5
- package/chunks/ki-Cu7fdPLn.mjs +0 -5
- package/chunks/km-CM7URKBO.mjs +0 -5
- package/chunks/kn-DBVGPz8w.mjs +0 -5
- package/chunks/kp-D3Ea15h2.mjs +0 -5
- package/chunks/kr-DKM0Jy7P.mjs +0 -5
- package/chunks/kw-B7J-nbX9.mjs +0 -5
- package/chunks/ky-p4ckNq_W.mjs +0 -5
- package/chunks/kz-D936idA9.mjs +0 -5
- package/chunks/la-CUKVKbGp.mjs +0 -5
- package/chunks/lb-CzUWz90e.mjs +0 -5
- package/chunks/lc-DuHqL5FW.mjs +0 -5
- package/chunks/li-DgJDzs_F.mjs +0 -5
- package/chunks/live-announcer-Bi0orG4n.mjs +0 -58
- package/chunks/lk-3zaagaQ9.mjs +0 -5
- package/chunks/lr-B6Vn6C_9.mjs +0 -5
- package/chunks/ls-DrI0Fh7Y.mjs +0 -5
- package/chunks/lt-PBck9Sgv.mjs +0 -5
- package/chunks/lu-B_xY22fB.mjs +0 -5
- package/chunks/lv-D16yLm3v.mjs +0 -5
- package/chunks/ly-C1adX4Zr.mjs +0 -5
- package/chunks/ma-B7rH3zoW.mjs +0 -5
- package/chunks/mc-Xqh4jc6i.mjs +0 -5
- package/chunks/md-wW4zZzbN.mjs +0 -5
- package/chunks/me-DCy_XMtC.mjs +0 -5
- package/chunks/metadata-loaders.generated-Bu_7pFwU.mjs +0 -250
- package/chunks/mf-DP_tIA6i.mjs +0 -5
- package/chunks/mg-InflpHX7.mjs +0 -5
- package/chunks/mh-VKf434Ww.mjs +0 -5
- package/chunks/mk-C64VS9I-.mjs +0 -5
- package/chunks/ml-BjOQYgou.mjs +0 -5
- package/chunks/mm-DgKeX7WQ.mjs +0 -5
- package/chunks/mn-BBubqCvd.mjs +0 -5
- package/chunks/mo-BtY-l2cE.mjs +0 -5
- package/chunks/mp-DlkcjH8B.mjs +0 -5
- package/chunks/mp-calendar.element-BIHS9SZZ.mjs +0 -433
- package/chunks/mp-checkbox-zV83gILn.mjs +0 -321
- package/chunks/mp-datatable-CEpSxlkd.mjs +0 -2541
- package/chunks/mp-datetime-picker.element-Cxu5-qRE.mjs +0 -527
- package/chunks/mp-input-group-CQ55efCq.mjs +0 -206
- package/chunks/mp-pagination-hGy4dL7p.mjs +0 -334
- package/chunks/mp-radio-BhRVNdKp.mjs +0 -304
- package/chunks/mp-select-CgqYFvUj.mjs +0 -537
- package/chunks/mp-splitter-DLehrw3Y.mjs +0 -678
- package/chunks/mp-tab-page-CaCzX1ym.mjs +0 -415
- package/chunks/mp-timepicker.element-BiB9lkgc.mjs +0 -452
- package/chunks/mp-toggle-button-CaS9uYLE.mjs +0 -631
- package/chunks/mp-treeview-CaMTDrvY.mjs +0 -497
- package/chunks/mq-BK7HwZSV.mjs +0 -5
- package/chunks/mr-C0S-6dqR.mjs +0 -5
- package/chunks/ms-DpwSSTE-.mjs +0 -5
- package/chunks/mt-B1ie-04J.mjs +0 -5
- package/chunks/mu-DTA25SEP.mjs +0 -5
- package/chunks/mv-DW49amZl.mjs +0 -5
- package/chunks/mw-V-bbqGPN.mjs +0 -5
- package/chunks/mx-CtTJw0SX.mjs +0 -5
- package/chunks/my-DThIQKCq.mjs +0 -5
- package/chunks/mz-Btgk8Li_.mjs +0 -5
- package/chunks/na-D08-xA7q.mjs +0 -5
- package/chunks/nc-hb1s2KqL.mjs +0 -5
- package/chunks/ne-B5vEjeNk.mjs +0 -5
- package/chunks/nf-DDFUS5Ht.mjs +0 -5
- package/chunks/ng-DBhdmXcS.mjs +0 -5
- package/chunks/ni-_x4RKVT8.mjs +0 -5
- package/chunks/nl-DBxW_qVy.mjs +0 -5
- package/chunks/no-LyFCuMlU.mjs +0 -5
- package/chunks/np-DEvIQAys.mjs +0 -5
- package/chunks/nr-CuzElmFx.mjs +0 -5
- package/chunks/nu-C6vVHkwP.mjs +0 -5
- package/chunks/nz-BkhNYKha.mjs +0 -5
- package/chunks/om-BsI3oHrd.mjs +0 -5
- package/chunks/overlay-controller-BHDagokg.mjs +0 -389
- package/chunks/pa-CtNQVaHE.mjs +0 -5
- package/chunks/pe-vcSV6ioD.mjs +0 -5
- package/chunks/pf-BOetDvnB.mjs +0 -5
- package/chunks/pg-BDqa4YXR.mjs +0 -5
- package/chunks/ph-BlAaFzEE.mjs +0 -5
- package/chunks/pk-2auAZIDh.mjs +0 -5
- package/chunks/pl-W6WZfuq9.mjs +0 -5
- package/chunks/pm-oy8Uo1bo.mjs +0 -5
- package/chunks/pr-B3p98s5J.mjs +0 -5
- package/chunks/ps-RET8kTuo.mjs +0 -5
- package/chunks/pt-Z2yfZJAz.mjs +0 -5
- package/chunks/pw-Dm4Y4noS.mjs +0 -5
- package/chunks/py-1pKD7w9y.mjs +0 -5
- package/chunks/qa-DpK5_Q-a.mjs +0 -5
- package/chunks/re-oy8Uo1bo.mjs +0 -5
- package/chunks/resource.service--lqLwEqk.mjs +0 -1008
- package/chunks/ro-VYde6hop.mjs +0 -5
- package/chunks/roving-focus-CrL9982a.mjs +0 -129
- package/chunks/rs-Dj7Wicw9.mjs +0 -5
- package/chunks/ru-CkWEkuTy.mjs +0 -5
- package/chunks/rw-DjRHPIJ_.mjs +0 -5
- package/chunks/sa-BBdaW-_G.mjs +0 -5
- package/chunks/sb-nNr9S0gd.mjs +0 -5
- package/chunks/sc-DcbShXuj.mjs +0 -5
- package/chunks/scale-B0bRUdc7.mjs +0 -91
- package/chunks/sd-B1jbITc6.mjs +0 -5
- package/chunks/se-B-CIMrxu.mjs +0 -5
- package/chunks/sg-BIR0OErL.mjs +0 -5
- package/chunks/sh-BR9c9S8h.mjs +0 -5
- package/chunks/si-B5HzM3z8.mjs +0 -5
- package/chunks/sj-LyFCuMlU.mjs +0 -5
- package/chunks/sk-7ZEImIK5.mjs +0 -5
- package/chunks/sl-DuhHodH6.mjs +0 -5
- package/chunks/sm-BrM5UOOM.mjs +0 -5
- package/chunks/sn-jptojE_-.mjs +0 -5
- package/chunks/so-auBJUCeE.mjs +0 -5
- package/chunks/sr-DqWWIG11.mjs +0 -5
- package/chunks/ss-BcJF0rd5.mjs +0 -5
- package/chunks/st-D65H7-IP.mjs +0 -5
- package/chunks/sv-D8EgdK15.mjs +0 -5
- package/chunks/sx-Cmd53qC5.mjs +0 -5
- package/chunks/sy-LL8b7cLC.mjs +0 -5
- package/chunks/sz-D-qYq589.mjs +0 -5
- package/chunks/tc-AIE9LFuJ.mjs +0 -5
- package/chunks/td-C5AP4EiN.mjs +0 -5
- package/chunks/tg-Dt9WAF7L.mjs +0 -5
- package/chunks/th-DyfDlw-o.mjs +0 -5
- package/chunks/tj-U7xsGAAg.mjs +0 -5
- package/chunks/tk-BWjKruB4.mjs +0 -5
- package/chunks/tl-CcXsJf98.mjs +0 -5
- package/chunks/tm-DTASSSkf.mjs +0 -5
- package/chunks/tn-DttZvPz0.mjs +0 -5
- package/chunks/to-ChsX5Z4Q.mjs +0 -5
- package/chunks/tr-C2CRhai0.mjs +0 -5
- package/chunks/tt-DPpP-HbL.mjs +0 -5
- package/chunks/tv-CiTLokZi.mjs +0 -5
- package/chunks/tw--J7h_fxf.mjs +0 -5
- package/chunks/tz-qS3mKSkx.mjs +0 -5
- package/chunks/ua-DiZstskV.mjs +0 -5
- package/chunks/ug-BxVGZUby.mjs +0 -5
- package/chunks/us-BvyIwpav.mjs +0 -5
- package/chunks/uy-Dsr4HSrP.mjs +0 -5
- package/chunks/uz-D25kmTp8.mjs +0 -5
- package/chunks/va-hG27DTVe.mjs +0 -5
- package/chunks/validation-ChktfuxI.mjs +0 -137
- package/chunks/vc-7r46jyD5.mjs +0 -5
- package/chunks/ve-R8UkJHAj.mjs +0 -5
- package/chunks/vg-BLSugSwb.mjs +0 -5
- package/chunks/vi-DSyJsPSD.mjs +0 -5
- package/chunks/view-window-DGvFiDnW.mjs +0 -263
- package/chunks/vn-BwGpRkWs.mjs +0 -5
- package/chunks/vu-aFyzktTY.mjs +0 -5
- package/chunks/wf-Ca9RrMIP.mjs +0 -5
- package/chunks/ws-DphODgja.mjs +0 -5
- package/chunks/xk-sugAykhS.mjs +0 -5
- package/chunks/ye-D2MZq-93.mjs +0 -5
- package/chunks/yt-tAecYEDU.mjs +0 -5
- package/chunks/za-DadXcfMa.mjs +0 -5
- package/chunks/zm--rp7ufAJ.mjs +0 -5
- package/chunks/zw-BG5nNe2I.mjs +0 -5
- package/query-builder/src/mp-query-builder.element.template.d.ts +0 -2
- package/query-builder/src/mp-query-group.element.template.d.ts +0 -2
- package/query-builder/src/mp-query-subquery.element.template.d.ts +0 -2
- package/tree-select/src/styles/tree-select.styles.d.ts +0 -2
- package/treeview/src/styles/treeview.styles.d.ts +0 -2
|
@@ -1,1052 +1,699 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
.
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
.
|
|
291
|
-
.
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
}
|
|
689
|
-
static {
|
|
690
|
-
this.MAX_ZOOM = 32;
|
|
691
|
-
}
|
|
692
|
-
/** Current geometric magnification (1 = fitted). Read-only state for consumers/tests. */
|
|
693
|
-
get zoomLevel() {
|
|
694
|
-
return this._view.zoom;
|
|
695
|
-
}
|
|
696
|
-
/** Programmatic geometric zoom, anchored at chart fractions (default: center). */
|
|
697
|
-
setZoomLevel(e, i = 0.5, t = 0.5) {
|
|
698
|
-
this._view = O(this._view, e, i, t, x.MAX_ZOOM), this.requestUpdate();
|
|
699
|
-
}
|
|
700
|
-
resetZoom() {
|
|
701
|
-
this._view = $, this.requestUpdate();
|
|
702
|
-
}
|
|
703
|
-
/** Pan by chart-screen fractions (drag / two-finger move). */
|
|
704
|
-
panBy(e, i) {
|
|
705
|
-
const t = D(this._view, e, i);
|
|
706
|
-
t !== this._view && (this._view = t, this.requestUpdate());
|
|
707
|
-
}
|
|
708
|
-
/** Map a normalized content rect through the view window to chart fractions. */
|
|
709
|
-
viewRect(e, i, t, r) {
|
|
710
|
-
return E(this._view, e, i, t, r);
|
|
711
|
-
}
|
|
712
|
-
/** Pointer position as chart fractions, for anchor-at-cursor zooming. */
|
|
713
|
-
chartAnchor(e) {
|
|
714
|
-
const i = this.shadowRoot?.querySelector(".chart")?.getBoundingClientRect();
|
|
715
|
-
return P(i, e.clientX, e.clientY);
|
|
716
|
-
}
|
|
717
|
-
/** Device px per normalized content unit — the label fit tests' scale. */
|
|
718
|
-
get effectiveScale() {
|
|
719
|
-
return this._hostScale * this._view.zoom;
|
|
720
|
-
}
|
|
721
|
-
onWheel(e) {
|
|
722
|
-
if (!this._gestures.has("wheel") || !this._index) return;
|
|
723
|
-
if (!e.ctrlKey && !e.metaKey) {
|
|
724
|
-
this.showZoomHint();
|
|
725
|
-
return;
|
|
726
|
-
}
|
|
727
|
-
e.preventDefault();
|
|
728
|
-
const i = e.deltaMode === 1 ? 16 : e.deltaMode === 2 ? this.clientHeight || 400 : 1, t = Math.max(-100, Math.min(100, e.deltaY * i)), r = this.chartAnchor(e);
|
|
729
|
-
this.setZoomLevel(this._view.zoom * Math.exp(-t * 5e-3), r.x, r.y);
|
|
730
|
-
}
|
|
731
|
-
pinchDistance() {
|
|
732
|
-
const [e, i] = [...this._pinchPointers.values()];
|
|
733
|
-
return Math.hypot(i.x - e.x, i.y - e.y);
|
|
734
|
-
}
|
|
735
|
-
pinchMidpoint() {
|
|
736
|
-
const [e, i] = [...this._pinchPointers.values()];
|
|
737
|
-
return { x: (e.x + i.x) / 2, y: (e.y + i.y) / 2 };
|
|
738
|
-
}
|
|
739
|
-
onPointerDown(e) {
|
|
740
|
-
if (e.pointerType === "touch") {
|
|
741
|
-
if (!this._gestures.has("pinch")) return;
|
|
742
|
-
this._pinchPointers.set(e.pointerId, { x: e.clientX, y: e.clientY });
|
|
743
|
-
return;
|
|
744
|
-
}
|
|
745
|
-
this._view.zoom > 1 && e.button === 0 && (this._dragPointer = e.pointerId, this._dragLast = { x: e.clientX, y: e.clientY }, this._dragTotal = 0, this._dragMoved = !1);
|
|
746
|
-
}
|
|
747
|
-
/** @returns true when the move belonged to a pinch or drag (skip hover handling). */
|
|
748
|
-
trackViewGesture(e) {
|
|
749
|
-
if (e.pointerType === "touch" && this._pinchPointers.has(e.pointerId)) {
|
|
750
|
-
if (this._pinchPointers.size !== 2)
|
|
751
|
-
return this._pinchPointers.set(e.pointerId, { x: e.clientX, y: e.clientY }), !1;
|
|
752
|
-
const i = this.pinchDistance(), t = this.pinchMidpoint();
|
|
753
|
-
if (this._pinchPointers.set(e.pointerId, { x: e.clientX, y: e.clientY }), i > 0) {
|
|
754
|
-
const r = this.pinchMidpoint(), o = this.chartAnchor({ clientX: r.x, clientY: r.y });
|
|
755
|
-
this.setZoomLevel(this._view.zoom * (this.pinchDistance() / i), o.x, o.y);
|
|
756
|
-
const a = this.shadowRoot?.querySelector(".chart")?.getBoundingClientRect();
|
|
757
|
-
a?.width && a.height && this.panBy((r.x - t.x) / a.width, (r.y - t.y) / a.height);
|
|
758
|
-
}
|
|
759
|
-
return !0;
|
|
760
|
-
}
|
|
761
|
-
if (this._dragPointer === e.pointerId) {
|
|
762
|
-
const i = e.clientX - this._dragLast.x, t = e.clientY - this._dragLast.y;
|
|
763
|
-
this._dragLast = { x: e.clientX, y: e.clientY }, this._dragTotal += Math.abs(i) + Math.abs(t), this._dragTotal > 3 && (this._dragMoved = !0);
|
|
764
|
-
const r = this.shadowRoot?.querySelector(".chart")?.getBoundingClientRect();
|
|
765
|
-
return r?.width && r.height && this.panBy(i / r.width, t / r.height), !0;
|
|
766
|
-
}
|
|
767
|
-
return !1;
|
|
768
|
-
}
|
|
769
|
-
/** pointerup ends the gesture; pointercancel abandons it (divergent engines degrade to tap). */
|
|
770
|
-
endViewGesture(e) {
|
|
771
|
-
this._pinchPointers.delete(e.pointerId), this._dragPointer === e.pointerId && (this._dragPointer = null);
|
|
772
|
-
}
|
|
773
|
-
showZoomHint() {
|
|
774
|
-
this._hintVisible = !0, clearTimeout(this._hintTimer), this._hintTimer = setTimeout(() => {
|
|
775
|
-
this._hintVisible = !1, this.requestUpdate();
|
|
776
|
-
}, 1500), this.requestUpdate();
|
|
777
|
-
}
|
|
778
|
-
/* ---------- zoom ---------- */
|
|
779
|
-
/** Re-root on a node id (undefined = tree root) and emit `hierarchy-zoom`. */
|
|
780
|
-
zoomTo(e) {
|
|
781
|
-
const i = this._index;
|
|
782
|
-
if (!i) return;
|
|
783
|
-
const t = S(i, e);
|
|
784
|
-
t !== this.focusedRoot && (this.resetZoom(), this.rootId = t === i.root ? void 0 : t.id, this.liveAnnouncer.announce(this.labelText(t)), this.emit("hierarchy-zoom", { node: t, path: m(i, t) }));
|
|
785
|
-
}
|
|
786
|
-
/** Move the roving tabindex (and DOM focus) to a rendered node. */
|
|
787
|
-
focusNode(e) {
|
|
788
|
-
this._rendered.some((i) => i.id === e) && (this._focusedId = e, this._restoreFocus = !0, this.requestUpdate());
|
|
789
|
-
}
|
|
790
|
-
zoomOut() {
|
|
791
|
-
const e = this._index, i = this.focusedRoot;
|
|
792
|
-
!e || !i || i === e.root || this.zoomTo(e.parents.get(i.id)?.id);
|
|
793
|
-
}
|
|
794
|
-
/* ---------- sunburst tween ---------- */
|
|
795
|
-
beginTween() {
|
|
796
|
-
if (this._transitionDuration <= 0 || K() || this._layout !== "sunburst" || !this._prevSpans.size) return;
|
|
797
|
-
cancelAnimationFrame(this._tweenFrame);
|
|
798
|
-
const e = performance.now(), i = (t) => {
|
|
799
|
-
this._tween = Math.min(1, (t - e) / this._transitionDuration), this.requestUpdate(), this._tween < 1 && (this._tweenFrame = requestAnimationFrame(i));
|
|
800
|
-
};
|
|
801
|
-
this._tween = 0, this._tweenFrame = requestAnimationFrame(i);
|
|
802
|
-
}
|
|
803
|
-
tweenedSpan(e) {
|
|
804
|
-
if (this._tween >= 1) return e;
|
|
805
|
-
const i = 1 - (1 - this._tween) * (1 - this._tween), t = this._prevSpans.get(e.node.id) ?? { x0: e.x0, x1: e.x0 };
|
|
806
|
-
return {
|
|
807
|
-
x0: t.x0 + (e.x0 - t.x0) * i,
|
|
808
|
-
x1: t.x1 + (e.x1 - t.x1) * i
|
|
809
|
-
};
|
|
810
|
-
}
|
|
811
|
-
/* ---------- pointer interaction ---------- */
|
|
812
|
-
nodeFromEvent(e) {
|
|
813
|
-
const t = e.composedPath()[0]?.closest?.("[data-id]")?.getAttribute("data-id");
|
|
814
|
-
return t ? this._index?.byId.get(t) : void 0;
|
|
815
|
-
}
|
|
816
|
-
onClick(e) {
|
|
817
|
-
if (this._dragMoved) {
|
|
818
|
-
this._dragMoved = !1;
|
|
819
|
-
return;
|
|
820
|
-
}
|
|
821
|
-
const i = this._index, t = this.nodeFromEvent(e);
|
|
822
|
-
if (!(!i || !t)) {
|
|
823
|
-
if (t === this.focusedRoot) {
|
|
824
|
-
this.zoomOut();
|
|
825
|
-
return;
|
|
826
|
-
}
|
|
827
|
-
if (this._failedIds.delete(t.id), this._loadedIds.delete(t.id), t.children?.length || t.hasChildren && this._loadChildren) {
|
|
828
|
-
this.zoomTo(t.id);
|
|
829
|
-
return;
|
|
830
|
-
}
|
|
831
|
-
this.emit("hierarchy-node-select", { node: t, path: m(i, t) });
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
get tooltipEl() {
|
|
835
|
-
return this.shadowRoot?.querySelector(".chart-tooltip") ?? null;
|
|
836
|
-
}
|
|
837
|
-
isTooltipVisible() {
|
|
838
|
-
return this.tooltipEl?.hasAttribute("data-visible") ?? !1;
|
|
839
|
-
}
|
|
840
|
-
/** Show the tooltip for a node at chart-relative coordinates, clamped inside the chart. */
|
|
841
|
-
showTooltip(e, i, t) {
|
|
842
|
-
const r = this.tooltipEl, o = this.shadowRoot?.querySelector(".chart");
|
|
843
|
-
if (!r || !o) return;
|
|
844
|
-
r.textContent = this.tooltipText(e), r.setAttribute("data-visible", "");
|
|
845
|
-
const a = r.offsetWidth, s = r.offsetHeight;
|
|
846
|
-
r.style.left = `${Math.max(0, Math.min(i + 12, o.clientWidth - a))}px`, r.style.top = `${Math.max(0, Math.min(t + 12, o.clientHeight - s))}px`;
|
|
847
|
-
}
|
|
848
|
-
hideTooltip() {
|
|
849
|
-
this.tooltipEl?.removeAttribute("data-visible");
|
|
850
|
-
}
|
|
851
|
-
onPointerMove(e) {
|
|
852
|
-
const i = this._index;
|
|
853
|
-
if (!i || this.trackViewGesture(e)) return;
|
|
854
|
-
const t = this.nodeFromEvent(e);
|
|
855
|
-
if (!t || t === this.focusedRoot) {
|
|
856
|
-
this.clearHover();
|
|
857
|
-
return;
|
|
858
|
-
}
|
|
859
|
-
if (t.id !== this._dismissedForId) {
|
|
860
|
-
this._dismissedForId = null;
|
|
861
|
-
const r = this.shadowRoot?.querySelector(".chart")?.getBoundingClientRect();
|
|
862
|
-
r && this.showTooltip(t, e.clientX - r.left, e.clientY - r.top);
|
|
863
|
-
}
|
|
864
|
-
this._hoveredId !== t.id && (this._hoveredId = t.id, this.emit("hierarchy-node-hover", { node: t, path: m(i, t) }));
|
|
865
|
-
}
|
|
866
|
-
clearHover() {
|
|
867
|
-
this.hideTooltip(), this._dismissedForId = null, this._hoveredId !== null && (this._hoveredId = null, this.emit("hierarchy-node-hover", { node: null, path: [] }));
|
|
868
|
-
}
|
|
869
|
-
/** Keyboard parity for the hover tooltip (1.4.13): show on focus, hide on blur. */
|
|
870
|
-
onFocusIn(e) {
|
|
871
|
-
const i = e.composedPath()[0]?.closest?.('[role="treeitem"][data-id]'), t = i?.getAttribute("data-id"), r = t ? this._index?.byId.get(t) : void 0;
|
|
872
|
-
if (!r || r === this.focusedRoot || r.id === this._dismissedForId) return;
|
|
873
|
-
this._dismissedForId = null;
|
|
874
|
-
const o = this.shadowRoot?.querySelector(".chart")?.getBoundingClientRect(), a = i?.getBoundingClientRect();
|
|
875
|
-
!o || !a || this.showTooltip(
|
|
876
|
-
r,
|
|
877
|
-
a.left - o.left + a.width / 2,
|
|
878
|
-
a.top - o.top + a.height / 2
|
|
879
|
-
);
|
|
880
|
-
}
|
|
881
|
-
onFocusOut() {
|
|
882
|
-
this.hideTooltip();
|
|
883
|
-
}
|
|
884
|
-
tooltipText(e) {
|
|
885
|
-
const i = this._tooltipFormatter?.(e);
|
|
886
|
-
if (i !== void 0) return i;
|
|
887
|
-
const t = new Intl.NumberFormat(this._locale || this.closest("[lang]")?.getAttribute("lang") || void 0), r = this._index?.colorValues.get(e.id), o = this._index?.values.get(e.id);
|
|
888
|
-
return [
|
|
889
|
-
e.name,
|
|
890
|
-
r !== void 0 ? `${t.format(Math.round(r * 10) / 10)}%` : void 0,
|
|
891
|
-
o !== void 0 && o > 0 ? t.format(o) : void 0
|
|
892
|
-
].filter((a) => a !== void 0).join(" — ");
|
|
893
|
-
}
|
|
894
|
-
labelText(e) {
|
|
895
|
-
return this._labelFormatter?.(e) ?? e.name;
|
|
896
|
-
}
|
|
897
|
-
/** Localized per-node accessible name: "components, 82%, 1,234 lines". */
|
|
898
|
-
accessibleName(e) {
|
|
899
|
-
const i = new Intl.NumberFormat(this._locale || this.closest("[lang]")?.getAttribute("lang") || void 0), t = this._index?.colorValues.get(e.id), r = this._index?.values.get(e.id);
|
|
900
|
-
return [
|
|
901
|
-
this.labelText(e),
|
|
902
|
-
t !== void 0 ? `${i.format(Math.round(t * 10) / 10)}${this._metricUnitLabel}` : void 0,
|
|
903
|
-
r !== void 0 && r > 0 ? `${i.format(r)}${this._valueUnitLabel ? ` ${this._valueUnitLabel}` : ""}` : void 0
|
|
904
|
-
].filter((o) => o !== void 0).join(", ");
|
|
905
|
-
}
|
|
906
|
-
emit(e, i) {
|
|
907
|
-
this.dispatchEvent(new CustomEvent(e, { detail: i, bubbles: !0, composed: !0 }));
|
|
908
|
-
}
|
|
909
|
-
/* ---------- keyboard (APG tree, adapted: siblings wrap, Down = outward) ---------- */
|
|
910
|
-
onKeyDown(e) {
|
|
911
|
-
const i = this._index, r = e.composedPath()[0]?.closest?.('[role="treeitem"][data-id]')?.getAttribute("data-id");
|
|
912
|
-
if (!i || !r) return;
|
|
913
|
-
const o = (h) => {
|
|
914
|
-
h !== void 0 && (this._focusedId = h, this._restoreFocus = !0, this.requestUpdate());
|
|
915
|
-
}, a = this._rendered.find((h) => h.id === r), s = this._rendered.filter((h) => h.parentId === a?.parentId), n = s.findIndex((h) => h.id === r);
|
|
916
|
-
switch (e.key) {
|
|
917
|
-
case "ArrowRight":
|
|
918
|
-
o(s[(n + 1) % s.length]?.id);
|
|
919
|
-
break;
|
|
920
|
-
case "ArrowLeft":
|
|
921
|
-
o(s[(n - 1 + s.length) % s.length]?.id);
|
|
922
|
-
break;
|
|
923
|
-
case "ArrowDown":
|
|
924
|
-
o(this._rendered.find((h) => h.parentId === r)?.id);
|
|
925
|
-
break;
|
|
926
|
-
case "ArrowUp":
|
|
927
|
-
o(this._rendered.some((h) => h.id === a?.parentId) ? a?.parentId ?? void 0 : void 0);
|
|
928
|
-
break;
|
|
929
|
-
case "Home":
|
|
930
|
-
o(s[0]?.id);
|
|
931
|
-
break;
|
|
932
|
-
case "End":
|
|
933
|
-
o(s[s.length - 1]?.id);
|
|
934
|
-
break;
|
|
935
|
-
case "Enter": {
|
|
936
|
-
const h = i.byId.get(r);
|
|
937
|
-
if (!h) return;
|
|
938
|
-
this._failedIds.delete(h.id), this._loadedIds.delete(h.id), h === this.focusedRoot ? this.zoomOut() : h.children?.length || h.hasChildren && this._loadChildren ? this.zoomTo(h.id) : this.emit("hierarchy-node-select", { node: h, path: m(i, h) });
|
|
939
|
-
break;
|
|
940
|
-
}
|
|
941
|
-
case "Escape":
|
|
942
|
-
if (this.isTooltipVisible()) {
|
|
943
|
-
this.hideTooltip(), this._dismissedForId = r;
|
|
944
|
-
break;
|
|
945
|
-
}
|
|
946
|
-
if (this._view.zoom > 1) {
|
|
947
|
-
this.resetZoom();
|
|
948
|
-
break;
|
|
949
|
-
}
|
|
950
|
-
if (this.focusedRoot === this._index?.root) return;
|
|
951
|
-
this.zoomOut();
|
|
952
|
-
break;
|
|
953
|
-
case "Backspace":
|
|
954
|
-
if (this.focusedRoot === this._index?.root) return;
|
|
955
|
-
this.zoomOut();
|
|
956
|
-
break;
|
|
957
|
-
// Keyboard equivalent of the wheel/pinch magnification (2.1.1),
|
|
958
|
-
// anchored on the focused node so it stays in view.
|
|
959
|
-
case "+":
|
|
960
|
-
case "=":
|
|
961
|
-
this.zoomKeyboard(r, this._view.zoom * 1.5);
|
|
962
|
-
break;
|
|
963
|
-
case "-":
|
|
964
|
-
case "_":
|
|
965
|
-
this.zoomKeyboard(r, this._view.zoom / 1.5);
|
|
966
|
-
break;
|
|
967
|
-
case "0":
|
|
968
|
-
this.resetZoom();
|
|
969
|
-
break;
|
|
970
|
-
default:
|
|
971
|
-
this.handleTypeahead(e, r);
|
|
972
|
-
return;
|
|
973
|
-
}
|
|
974
|
-
e.preventDefault(), e.stopPropagation();
|
|
975
|
-
}
|
|
976
|
-
/** Zoom anchored on a node's on-screen center (falls back to the chart center). */
|
|
977
|
-
zoomKeyboard(e, i) {
|
|
978
|
-
const t = this.shadowRoot?.querySelector(`[role="treeitem"][data-id="${M(e)}"]`), r = this.shadowRoot?.querySelector(".chart")?.getBoundingClientRect(), o = t?.getBoundingClientRect(), a = r?.width && o?.width ? this.chartAnchor({ clientX: o.left + o.width / 2, clientY: o.top + o.height / 2 }) : { x: 0.5, y: 0.5 };
|
|
979
|
-
this.setZoomLevel(i, a.x, a.y);
|
|
980
|
-
}
|
|
981
|
-
handleTypeahead(e, i) {
|
|
982
|
-
if (e.key.length !== 1 || e.ctrlKey || e.metaKey || e.altKey) return;
|
|
983
|
-
clearTimeout(this._typeaheadTimer), this._typeahead += e.key.toLowerCase(), this._typeaheadTimer = setTimeout(() => this._typeahead = "", 500);
|
|
984
|
-
const t = this._index;
|
|
985
|
-
if (!t) return;
|
|
986
|
-
const r = this._rendered, o = r.findIndex((n) => n.id === i), s = [...r.slice(o + 1), ...r.slice(0, o + 1)].find((n) => {
|
|
987
|
-
const h = t.byId.get(n.id);
|
|
988
|
-
return h ? this.labelText(h).toLowerCase().startsWith(this._typeahead) : !1;
|
|
989
|
-
});
|
|
990
|
-
s && (this._focusedId = s.id, this._restoreFocus = !0, this.requestUpdate(), e.preventDefault());
|
|
991
|
-
}
|
|
992
|
-
/**
|
|
993
|
-
* Roving tabindex target for this render: the focused node while it is
|
|
994
|
-
* still rendered, else the first rendered node (announcement rides the
|
|
995
|
-
* zoom announce that caused the window to change).
|
|
996
|
-
*/
|
|
997
|
-
resolveTabFocus() {
|
|
998
|
-
if (!(this._focusedId && this._rendered.some((i) => i.id === this._focusedId))) {
|
|
999
|
-
const i = this._rendered[0]?.id, t = !!this.shadowRoot?.activeElement;
|
|
1000
|
-
this._focusedId = i ?? null, t && i && (this._restoreFocus = !0);
|
|
1001
|
-
}
|
|
1002
|
-
return this._focusedId ?? void 0;
|
|
1003
|
-
}
|
|
1004
|
-
updated(e) {
|
|
1005
|
-
super.updated(e), this._restoreFocus && this._focusedId && (this._restoreFocus = !1, this.shadowRoot?.querySelector(`[role="treeitem"][data-id="${M(this._focusedId)}"]`)?.focus({ preventScroll: !0 })), this.loadLazyCandidates();
|
|
1006
|
-
}
|
|
1007
|
-
/* ---------- lazy children ---------- */
|
|
1008
|
-
isLazy(e) {
|
|
1009
|
-
return !!e && !!e.hasChildren && !e.children?.length && !this._loadedIds.has(e.id);
|
|
1010
|
-
}
|
|
1011
|
-
/** Kick a load for every lazy node whose CHILD ring is inside the rendered window. */
|
|
1012
|
-
loadLazyCandidates() {
|
|
1013
|
-
const e = this._loadChildren, i = this._index;
|
|
1014
|
-
if (!e || !i) return;
|
|
1015
|
-
const t = this.focusedRoot, r = this.maxDepth === "auto", o = this.renderedDepth, a = [
|
|
1016
|
-
...this.isLazy(t) ? [t] : [],
|
|
1017
|
-
...this._rendered.filter((s) => r || s.depth < o).map((s) => i.byId.get(s.id)).filter((s) => this.isLazy(s))
|
|
1018
|
-
].filter((s) => !this._loadingIds.has(s.id) && !this._failedIds.has(s.id));
|
|
1019
|
-
a.map((s) => (this._loadingIds.add(s.id), s === t && this.liveAnnouncer.announce(`${this._loadingLabel} ${this.labelText(s)}`), e(s).then(
|
|
1020
|
-
(n) => {
|
|
1021
|
-
s.children = n, this._loadingIds.delete(s.id), this._loadedIds.add(s.id), this._data && (this._index = L(this._data)), this.requestUpdate();
|
|
1022
|
-
},
|
|
1023
|
-
(n) => {
|
|
1024
|
-
this._loadingIds.delete(s.id), this._failedIds.add(s.id), this.emit("hierarchy-node-load-error", { node: s, error: n }), this.requestUpdate();
|
|
1025
|
-
}
|
|
1026
|
-
), s)), a.length && this.requestUpdate();
|
|
1027
|
-
}
|
|
1028
|
-
fillOf(e) {
|
|
1029
|
-
if (e.color) return e.color;
|
|
1030
|
-
const i = this._index?.colorValues.get(e.id);
|
|
1031
|
-
return i !== void 0 ? this._fill(i) : void 0;
|
|
1032
|
-
}
|
|
1033
|
-
treeLabel() {
|
|
1034
|
-
return this.getAttribute("aria-label") ?? this._inputLabel;
|
|
1035
|
-
}
|
|
1036
|
-
/** The focus path as buttons, OUTSIDE any role=tree container (trees own only treeitems). */
|
|
1037
|
-
renderBreadcrumb(e, i) {
|
|
1038
|
-
const t = m(e, i);
|
|
1039
|
-
return c`<nav class="breadcrumb" aria-label=${this._breadcrumbLabel}>
|
|
1040
|
-
${t.map((r, o) => o === t.length - 1 ? c`<span class="crumb-current" aria-current="location">${this.labelText(r)}</span>` : c`<button
|
|
1
|
+
import { y as e } from "../../chunks/a11y-C6aX-lsZ.mjs";
|
|
2
|
+
import { FITTED_VIEW as t, arcLabelTransform as n, arcPath as r, booleanAttribute as i, buildIndex as a, colorScale as o, composite as s, contrastText as c, fitArcLabel as l, fitCellLabel as u, levelOf as d, numberAttribute as f, panView as p, partitionLayout as m, pathTo as h, pointFraction as g, projectRect as _, resolveFocus as v, squarifyLayout as y, subtreeDepth as b, zoomViewAt as x } from "../core/index.mjs";
|
|
3
|
+
import { LitElement as S, html as C, nothing as w, svg as T, unsafeCSS as E } from "lit";
|
|
4
|
+
import { repeat as D } from "lit/directives/repeat.js";
|
|
5
|
+
import { styleMap as O } from "lit/directives/style-map.js";
|
|
6
|
+
//#region libs/mintplayer-web-components/charts/hierarchy/src/styles/hierarchy-chart.styles.ts
|
|
7
|
+
var k = E("@charset \"UTF-8\";\n:host {\n /* Flex column so the optional breadcrumb takes its own row; without it the\n chart is the only child and fills the host exactly as before. */\n display: flex;\n flex-direction: column;\n width: 100%;\n aspect-ratio: 1;\n /* Two-level fallbacks: Bootstrap 5.3 reassigns --bs-* per data-bs-theme and\n custom properties inherit through the shadow boundary, so dark mode needs\n no media query here. */\n /* Node labels contrast against the DATA-COLORED surface under them, not the\n page theme — the element picks one of this pair per node from the fill\n composited over the resolved backdrop. Deliberately NOT --bs-* driven. */\n --mp-hierarchy-chart-label-on-light: #1c1f23;\n --mp-hierarchy-chart-label-on-dark: #f8f9fa;\n --mp-hierarchy-chart-center-color: var(--bs-body-color, #212529);\n --mp-hierarchy-chart-center-bg: var(--bs-body-bg, #ffffff);\n --mp-hierarchy-chart-node-fill: var(--bs-secondary-bg, #e9ecef);\n --mp-hierarchy-chart-gap: var(--bs-body-bg, #ffffff);\n --mp-hierarchy-chart-branch-border: var(--bs-border-color, #dee2e6);\n --mp-hierarchy-chart-tooltip-bg: var(--bs-dark, #212529);\n --mp-hierarchy-chart-tooltip-color: var(--bs-light, #f8f9fa);\n --mp-hierarchy-chart-focus-ring-color: var(--bs-primary, #0d6efd);\n}\n\n* {\n box-sizing: border-box;\n}\n\n.chart {\n position: relative;\n width: 100%;\n flex: 1 1 auto;\n min-height: 0;\n /* The geometric zoom window: content outside it must clip, not spill. */\n overflow: hidden;\n}\n\n.breadcrumb {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n flex: 0 0 auto;\n gap: 0.125rem;\n margin: 0;\n padding: 0 0 0.25rem;\n font-size: 0.875rem;\n}\n\n.crumb {\n min-width: 24px;\n min-height: 24px;\n padding: 0.125rem 0.375rem;\n background: transparent;\n border: 0;\n border-radius: 0.25rem;\n color: var(--mp-hierarchy-chart-center-color);\n font: inherit;\n cursor: pointer;\n text-decoration: underline;\n}\n\n.crumb-current {\n padding: 0.125rem 0.375rem;\n color: var(--mp-hierarchy-chart-center-color);\n font-weight: 600;\n}\n\n.crumb-sep {\n opacity: 0.5;\n user-select: none;\n}\n\n/* Only when pinch is enabled: removing pinch-zoom from touch-action is what\n hands two-finger gestures to JS (S4-measured) while one-finger pan stays\n native. Never applied with zoom-gestures=\"none\"/\"wheel\", so browser page\n pinch-zoom over the chart keeps working there. */\n.chart.pinch {\n touch-action: pan-x pan-y;\n}\n\nsvg {\n display: block;\n width: 100%;\n height: 100%;\n}\n\n/* ---------- sunburst ---------- */\n.ring {\n stroke: none;\n cursor: pointer;\n}\n\n.ring[data-leaf] {\n fill-opacity: 0.6;\n cursor: default;\n}\n\n/* font-size comes per-element from the component (device px converted to\n viewBox units against the measured host scale — labels never scale with\n host size or zoom). */\n.arc-label {\n text-anchor: middle;\n dominant-baseline: middle;\n pointer-events: none;\n user-select: none;\n}\n\n.arc-label[data-surface=light] {\n fill: var(--mp-hierarchy-chart-label-on-light);\n}\n\n.arc-label[data-surface=dark] {\n fill: var(--mp-hierarchy-chart-label-on-dark);\n}\n\n/* HTML overlay button in the sunburst hole (a role=tree svg cannot own a button). */\n.center-control {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n border-radius: 50%;\n min-width: 24px;\n min-height: 24px;\n overflow: hidden;\n padding: 0.25rem;\n background: var(--mp-hierarchy-chart-center-bg);\n color: var(--mp-hierarchy-chart-center-color);\n border: 1px solid var(--mp-hierarchy-chart-branch-border);\n font: inherit;\n font-size: 0.875rem;\n cursor: pointer;\n}\n\n/* At the root there is nothing to zoom out to, and a disabled button still\n swallows clicks — which would make the hole a dead zone over the chart. */\n.center-control:disabled {\n cursor: default;\n pointer-events: none;\n}\n\n/* ---------- icicle / treemap (positioned divs) ---------- */\n.cell {\n position: absolute;\n overflow: hidden;\n background: var(--mp-hierarchy-chart-node-fill);\n border: 1px solid var(--mp-hierarchy-chart-gap);\n border-radius: 2px;\n /* font-size is set inline by the component (constant device px). */\n line-height: 1.25;\n padding: 1px 4px;\n cursor: pointer;\n transition: left var(--mp-hierarchy-chart-transition-duration, 300ms) ease-out, top var(--mp-hierarchy-chart-transition-duration, 300ms) ease-out, width var(--mp-hierarchy-chart-transition-duration, 300ms) ease-out, height var(--mp-hierarchy-chart-transition-duration, 300ms) ease-out;\n}\n\n.icicle,\n.treemap,\n.treemap-body {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n.treemap-header {\n height: 1.75rem;\n padding: 0.25rem 0.5rem;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n color: var(--mp-hierarchy-chart-center-color);\n background: var(--mp-hierarchy-chart-center-bg);\n border: 1px solid var(--mp-hierarchy-chart-branch-border);\n border-radius: 2px;\n font-size: 0.8125rem;\n cursor: pointer;\n}\n\n.treemap .treemap-body {\n height: calc(100% - 1.75rem - 2px);\n margin-top: 2px;\n}\n\n.chart-tooltip {\n position: absolute;\n display: none;\n max-width: 60%;\n padding: 0.25rem 0.5rem;\n background: var(--mp-hierarchy-chart-tooltip-bg);\n color: var(--mp-hierarchy-chart-tooltip-color);\n border-radius: 0.25rem;\n font-size: 0.8125rem;\n pointer-events: none;\n z-index: 1;\n}\n\n.chart-tooltip[data-visible] {\n display: block;\n}\n\n/* Transient \"how to zoom\" overlay shown on an uncaptured plain wheel — the\n embedded-maps convention. Purely visual: aria-hidden, no pointer events. */\n.zoom-hint {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n max-width: 90%;\n padding: 0.375rem 0.75rem;\n background: var(--mp-hierarchy-chart-tooltip-bg);\n color: var(--mp-hierarchy-chart-tooltip-color);\n border-radius: 0.25rem;\n font-size: 0.875rem;\n text-align: center;\n pointer-events: none;\n user-select: none;\n z-index: 2;\n animation: mp-hierarchy-chart-hint 1.5s ease-out forwards;\n}\n\n@keyframes mp-hierarchy-chart-hint {\n 0% {\n opacity: 0;\n }\n 15% {\n opacity: 1;\n }\n 80% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n}\n.cell[data-leaf] {\n cursor: default;\n}\n\n.cell .cell-label {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.cell[data-surface=light] {\n color: var(--mp-hierarchy-chart-label-on-light);\n}\n\n.cell[data-surface=dark] {\n color: var(--mp-hierarchy-chart-label-on-dark);\n}\n\n/* A treemap branch tile is a frame: children render inside its header inset,\n its own strip shows the label. */\n.treemap .cell[data-branch] {\n background: transparent;\n border-color: var(--mp-hierarchy-chart-branch-border);\n}\n\n.focus-cell {\n background: var(--mp-hierarchy-chart-center-bg);\n border-color: var(--mp-hierarchy-chart-branch-border);\n}\n\n/* Focus indication: a drawn stroke on SVG arcs (outline on SVG is historically\n unreliable), a normal inset outline on HTML cells/buttons. */\n.ring:focus {\n outline: none;\n}\n\n.ring:focus-visible {\n stroke: var(--mp-hierarchy-chart-focus-ring-color);\n stroke-width: 6px;\n stroke-linejoin: round;\n}\n\n.cell:focus-visible {\n outline: 3px solid var(--mp-hierarchy-chart-focus-ring-color);\n outline-offset: -3px;\n}\n\n.center-control:focus-visible,\n.treemap-header:focus-visible,\n.crumb:focus-visible {\n outline: 3px solid var(--mp-hierarchy-chart-focus-ring-color);\n outline-offset: 2px;\n}\n\n.ring[data-loading],\n.cell[data-loading] {\n animation: mp-hierarchy-chart-pulse 1.2s ease-in-out infinite;\n}\n\n.ring[data-load-error],\n.cell[data-load-error] {\n opacity: 0.5;\n}\n\n@keyframes mp-hierarchy-chart-pulse {\n 50% {\n opacity: 0.4;\n }\n}\n@media (prefers-reduced-motion: reduce) {\n .ring,\n .cell,\n .zoom-hint {\n transition: none !important;\n animation: none !important;\n }\n}"), A = 1e3, j = 2 * Math.PI;
|
|
8
|
+
function M() {
|
|
9
|
+
return typeof matchMedia < "u" && matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
10
|
+
}
|
|
11
|
+
var N = class E extends S {
|
|
12
|
+
constructor(...n) {
|
|
13
|
+
super(...n), this._layout = "sunburst", this._maxDepth = void 0, this._minAngle = .2, this._minSize = 4, this._showLabels = !0, this._labelFontSize = 12, this._backdrop = "#ffffff", this._hostScale = .42, this._colorMin = 0, this._colorMax = 100, this._colorStart = "#fe0000", this._colorEnd = "#21b577", this._inputLabel = null, this._transitionDuration = 300, this._loadingIds = /* @__PURE__ */ new Set(), this._failedIds = /* @__PURE__ */ new Set(), this._loadedIds = /* @__PURE__ */ new Set(), this._loadingLabel = "Loading", this._fill = o(this._colorMin, this._colorMax, this._colorStart, this._colorEnd), this._prevSpans = /* @__PURE__ */ new Map(), this._tween = 1, this._tweenFrame = 0, this._hoveredId = null, this._focusedId = null, this._restoreFocus = !1, this._rendered = [], this._typeahead = "", this._typeaheadTimer = 0, this._zoomOutLabel = "Zoom out one level", this._metricUnitLabel = "%", this._valueUnitLabel = "", this.liveAnnouncer = new e(this, { omitRole: !0 }), this._showBreadcrumb = !1, this._breadcrumbLabel = "Chart path", this._gestures = /* @__PURE__ */ new Set(["wheel", "pinch"]), this._hintVisible = !1, this._hintTimer = 0, this._wheelListener = (e) => this.onWheel(e), this._view = t, this._pinchPointers = /* @__PURE__ */ new Map(), this._dragPointer = null, this._dragLast = {
|
|
14
|
+
x: 0,
|
|
15
|
+
y: 0
|
|
16
|
+
}, this._dragTotal = 0, this._dragMoved = !1, this._dismissedForId = null;
|
|
17
|
+
}
|
|
18
|
+
static {
|
|
19
|
+
this.styles = [k];
|
|
20
|
+
}
|
|
21
|
+
static get observedAttributes() {
|
|
22
|
+
return [
|
|
23
|
+
...super.observedAttributes ?? [],
|
|
24
|
+
"layout",
|
|
25
|
+
"root-id",
|
|
26
|
+
"max-depth",
|
|
27
|
+
"min-angle",
|
|
28
|
+
"min-size",
|
|
29
|
+
"show-labels",
|
|
30
|
+
"label-font-size",
|
|
31
|
+
"backdrop",
|
|
32
|
+
"color-min",
|
|
33
|
+
"color-max",
|
|
34
|
+
"color-start",
|
|
35
|
+
"color-end",
|
|
36
|
+
"transition-duration",
|
|
37
|
+
"locale",
|
|
38
|
+
"zoom-gestures",
|
|
39
|
+
"zoom-hint-label",
|
|
40
|
+
"show-breadcrumb",
|
|
41
|
+
"breadcrumb-label",
|
|
42
|
+
"zoom-out-label",
|
|
43
|
+
"metric-unit-label",
|
|
44
|
+
"value-unit-label",
|
|
45
|
+
"loading-label",
|
|
46
|
+
"aria-label",
|
|
47
|
+
"input-label"
|
|
48
|
+
];
|
|
49
|
+
}
|
|
50
|
+
get data() {
|
|
51
|
+
return this._data;
|
|
52
|
+
}
|
|
53
|
+
set data(e) {
|
|
54
|
+
this._data = e, this._index = e ? a(e) : void 0, this.resetZoom();
|
|
55
|
+
}
|
|
56
|
+
get layout() {
|
|
57
|
+
return this._layout;
|
|
58
|
+
}
|
|
59
|
+
set layout(e) {
|
|
60
|
+
this._layout = e === "icicle" || e === "treemap" ? e : "sunburst", this.resetZoom();
|
|
61
|
+
}
|
|
62
|
+
get rootId() {
|
|
63
|
+
return this._rootId;
|
|
64
|
+
}
|
|
65
|
+
set rootId(e) {
|
|
66
|
+
let t = e || void 0;
|
|
67
|
+
t !== this._rootId && (this.beginTween(), this._rootId = t, t === void 0 ? this.removeAttribute("root-id") : this.setAttribute("root-id", t), this.requestUpdate());
|
|
68
|
+
}
|
|
69
|
+
get maxDepth() {
|
|
70
|
+
return this._maxDepth ?? (this._loadChildren ? 2 : "auto");
|
|
71
|
+
}
|
|
72
|
+
set maxDepth(e) {
|
|
73
|
+
this._maxDepth = e === "auto" ? "auto" : Math.max(1, Math.floor(Number(e) || 2)), this.requestUpdate();
|
|
74
|
+
}
|
|
75
|
+
get renderedDepth() {
|
|
76
|
+
let e = this.maxDepth;
|
|
77
|
+
return e === "auto" ? this._index ? Math.max(1, b(this._index, this._rootId)) : 1 : e;
|
|
78
|
+
}
|
|
79
|
+
get minAngle() {
|
|
80
|
+
return this._minAngle;
|
|
81
|
+
}
|
|
82
|
+
set minAngle(e) {
|
|
83
|
+
this._minAngle = Math.max(0, Number(e) || 0), this.requestUpdate();
|
|
84
|
+
}
|
|
85
|
+
get minSize() {
|
|
86
|
+
return this._minSize;
|
|
87
|
+
}
|
|
88
|
+
set minSize(e) {
|
|
89
|
+
this._minSize = Math.max(0, Number(e) || 0), this.requestUpdate();
|
|
90
|
+
}
|
|
91
|
+
get showLabels() {
|
|
92
|
+
return this._showLabels;
|
|
93
|
+
}
|
|
94
|
+
set showLabels(e) {
|
|
95
|
+
this._showLabels = !!e, this.requestUpdate();
|
|
96
|
+
}
|
|
97
|
+
get labelFontSize() {
|
|
98
|
+
return this._labelFontSize;
|
|
99
|
+
}
|
|
100
|
+
set labelFontSize(e) {
|
|
101
|
+
this._labelFontSize = Math.max(1, Number(e) || 12), this.requestUpdate();
|
|
102
|
+
}
|
|
103
|
+
get backdrop() {
|
|
104
|
+
return this._backdropOverride;
|
|
105
|
+
}
|
|
106
|
+
set backdrop(e) {
|
|
107
|
+
this._backdropOverride = e || void 0, this.requestUpdate();
|
|
108
|
+
}
|
|
109
|
+
get colorMin() {
|
|
110
|
+
return this._colorMin;
|
|
111
|
+
}
|
|
112
|
+
set colorMin(e) {
|
|
113
|
+
this._colorMin = Number(e) || 0, this.rebuildScale();
|
|
114
|
+
}
|
|
115
|
+
get colorMax() {
|
|
116
|
+
return this._colorMax;
|
|
117
|
+
}
|
|
118
|
+
set colorMax(e) {
|
|
119
|
+
this._colorMax = Number(e) || 0, this.rebuildScale();
|
|
120
|
+
}
|
|
121
|
+
get colorStart() {
|
|
122
|
+
return this._colorStart;
|
|
123
|
+
}
|
|
124
|
+
set colorStart(e) {
|
|
125
|
+
this._colorStart = e || "#fe0000", this.rebuildScale();
|
|
126
|
+
}
|
|
127
|
+
get colorEnd() {
|
|
128
|
+
return this._colorEnd;
|
|
129
|
+
}
|
|
130
|
+
set colorEnd(e) {
|
|
131
|
+
this._colorEnd = e || "#21b577", this.rebuildScale();
|
|
132
|
+
}
|
|
133
|
+
get inputLabel() {
|
|
134
|
+
return this._inputLabel;
|
|
135
|
+
}
|
|
136
|
+
set inputLabel(e) {
|
|
137
|
+
this._inputLabel = e ?? null, this.requestUpdate();
|
|
138
|
+
}
|
|
139
|
+
get transitionDuration() {
|
|
140
|
+
return this._transitionDuration;
|
|
141
|
+
}
|
|
142
|
+
set transitionDuration(e) {
|
|
143
|
+
this._transitionDuration = Math.max(0, Number(e) || 0), this.style.setProperty("--mp-hierarchy-chart-transition-duration", `${this._transitionDuration}ms`);
|
|
144
|
+
}
|
|
145
|
+
get locale() {
|
|
146
|
+
return this._locale;
|
|
147
|
+
}
|
|
148
|
+
set locale(e) {
|
|
149
|
+
this._locale = e || void 0, this.requestUpdate();
|
|
150
|
+
}
|
|
151
|
+
get tooltipFormatter() {
|
|
152
|
+
return this._tooltipFormatter;
|
|
153
|
+
}
|
|
154
|
+
set tooltipFormatter(e) {
|
|
155
|
+
this._tooltipFormatter = e;
|
|
156
|
+
}
|
|
157
|
+
get labelFormatter() {
|
|
158
|
+
return this._labelFormatter;
|
|
159
|
+
}
|
|
160
|
+
set labelFormatter(e) {
|
|
161
|
+
this._labelFormatter = e, this.requestUpdate();
|
|
162
|
+
}
|
|
163
|
+
get loadChildren() {
|
|
164
|
+
return this._loadChildren;
|
|
165
|
+
}
|
|
166
|
+
set loadChildren(e) {
|
|
167
|
+
this._loadChildren = e, this.requestUpdate();
|
|
168
|
+
}
|
|
169
|
+
get loadingLabel() {
|
|
170
|
+
return this._loadingLabel;
|
|
171
|
+
}
|
|
172
|
+
set loadingLabel(e) {
|
|
173
|
+
this._loadingLabel = e ?? "Loading";
|
|
174
|
+
}
|
|
175
|
+
rebuildScale() {
|
|
176
|
+
this._fill = o(this._colorMin, this._colorMax, this._colorStart, this._colorEnd), this.requestUpdate();
|
|
177
|
+
}
|
|
178
|
+
attributeChangedCallback(e, t, n) {
|
|
179
|
+
switch (super.attributeChangedCallback(e, t, n), e) {
|
|
180
|
+
case "layout":
|
|
181
|
+
this.layout = n ?? "sunburst";
|
|
182
|
+
break;
|
|
183
|
+
case "root-id":
|
|
184
|
+
this.rootId = n ?? void 0;
|
|
185
|
+
break;
|
|
186
|
+
case "max-depth":
|
|
187
|
+
n === null ? (this._maxDepth = void 0, this.requestUpdate()) : this.maxDepth = n === "auto" ? "auto" : Number(n);
|
|
188
|
+
break;
|
|
189
|
+
case "min-angle":
|
|
190
|
+
this.minAngle = f(n, .2);
|
|
191
|
+
break;
|
|
192
|
+
case "min-size":
|
|
193
|
+
this.minSize = f(n, 4);
|
|
194
|
+
break;
|
|
195
|
+
case "show-labels":
|
|
196
|
+
this.showLabels = i(n, !0);
|
|
197
|
+
break;
|
|
198
|
+
case "label-font-size":
|
|
199
|
+
this.labelFontSize = f(n, 12);
|
|
200
|
+
break;
|
|
201
|
+
case "backdrop":
|
|
202
|
+
this.backdrop = n ?? void 0;
|
|
203
|
+
break;
|
|
204
|
+
case "color-min":
|
|
205
|
+
this.colorMin = f(n, 0);
|
|
206
|
+
break;
|
|
207
|
+
case "color-max":
|
|
208
|
+
this.colorMax = f(n, 100);
|
|
209
|
+
break;
|
|
210
|
+
case "color-start":
|
|
211
|
+
this.colorStart = n ?? "#fe0000";
|
|
212
|
+
break;
|
|
213
|
+
case "color-end":
|
|
214
|
+
this.colorEnd = n ?? "#21b577";
|
|
215
|
+
break;
|
|
216
|
+
case "transition-duration":
|
|
217
|
+
this.transitionDuration = f(n, 300);
|
|
218
|
+
break;
|
|
219
|
+
case "locale":
|
|
220
|
+
this.locale = n ?? void 0;
|
|
221
|
+
break;
|
|
222
|
+
case "zoom-gestures":
|
|
223
|
+
this.zoomGestures = n ?? "wheel pinch";
|
|
224
|
+
break;
|
|
225
|
+
case "zoom-hint-label":
|
|
226
|
+
this._zoomHintLabel = n ?? void 0;
|
|
227
|
+
break;
|
|
228
|
+
case "show-breadcrumb":
|
|
229
|
+
this.showBreadcrumb = i(n, !1);
|
|
230
|
+
break;
|
|
231
|
+
case "breadcrumb-label":
|
|
232
|
+
this._breadcrumbLabel = n ?? "Chart path", this.requestUpdate();
|
|
233
|
+
break;
|
|
234
|
+
case "zoom-out-label":
|
|
235
|
+
this._zoomOutLabel = n ?? "Zoom out one level", this.requestUpdate();
|
|
236
|
+
break;
|
|
237
|
+
case "loading-label":
|
|
238
|
+
this._loadingLabel = n ?? "Loading";
|
|
239
|
+
break;
|
|
240
|
+
case "metric-unit-label":
|
|
241
|
+
this._metricUnitLabel = n ?? "%", this.requestUpdate();
|
|
242
|
+
break;
|
|
243
|
+
case "value-unit-label":
|
|
244
|
+
this._valueUnitLabel = n ?? "", this.requestUpdate();
|
|
245
|
+
break;
|
|
246
|
+
case "aria-label":
|
|
247
|
+
this.requestUpdate();
|
|
248
|
+
break;
|
|
249
|
+
case "input-label": this.inputLabel = n;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
get showBreadcrumb() {
|
|
253
|
+
return this._showBreadcrumb;
|
|
254
|
+
}
|
|
255
|
+
set showBreadcrumb(e) {
|
|
256
|
+
this._showBreadcrumb = !!e, this.requestUpdate();
|
|
257
|
+
}
|
|
258
|
+
get breadcrumbLabel() {
|
|
259
|
+
return this._breadcrumbLabel;
|
|
260
|
+
}
|
|
261
|
+
set breadcrumbLabel(e) {
|
|
262
|
+
this._breadcrumbLabel = e || "Chart path", this.requestUpdate();
|
|
263
|
+
}
|
|
264
|
+
get zoomOutLabel() {
|
|
265
|
+
return this._zoomOutLabel;
|
|
266
|
+
}
|
|
267
|
+
set zoomOutLabel(e) {
|
|
268
|
+
this._zoomOutLabel = e || "Zoom out one level", this.requestUpdate();
|
|
269
|
+
}
|
|
270
|
+
get metricUnitLabel() {
|
|
271
|
+
return this._metricUnitLabel;
|
|
272
|
+
}
|
|
273
|
+
set metricUnitLabel(e) {
|
|
274
|
+
this._metricUnitLabel = e ?? "%", this.requestUpdate();
|
|
275
|
+
}
|
|
276
|
+
get valueUnitLabel() {
|
|
277
|
+
return this._valueUnitLabel;
|
|
278
|
+
}
|
|
279
|
+
set valueUnitLabel(e) {
|
|
280
|
+
this._valueUnitLabel = e ?? "", this.requestUpdate();
|
|
281
|
+
}
|
|
282
|
+
get focusedRoot() {
|
|
283
|
+
return this._index ? v(this._index, this._rootId) : void 0;
|
|
284
|
+
}
|
|
285
|
+
connectedCallback() {
|
|
286
|
+
super.connectedCallback(), this.addEventListener("wheel", this._wheelListener, { passive: !1 }), typeof ResizeObserver < "u" && (this._resizeObserver = new ResizeObserver((e) => {
|
|
287
|
+
let t = e[e.length - 1]?.contentRect.width;
|
|
288
|
+
if (!t) return;
|
|
289
|
+
let n = t / A;
|
|
290
|
+
Math.abs(n - this._hostScale) > .001 && (this._hostScale = n, this.requestUpdate());
|
|
291
|
+
}), this._resizeObserver.observe(this));
|
|
292
|
+
}
|
|
293
|
+
disconnectedCallback() {
|
|
294
|
+
this.removeEventListener("wheel", this._wheelListener), clearTimeout(this._hintTimer), this._resizeObserver?.disconnect(), this._resizeObserver = void 0, super.disconnectedCallback();
|
|
295
|
+
}
|
|
296
|
+
willUpdate(e) {
|
|
297
|
+
super.willUpdate(e), this._tween >= 1 && this.resolveBackdrop();
|
|
298
|
+
}
|
|
299
|
+
resolveBackdrop() {
|
|
300
|
+
if (this._backdropOverride) {
|
|
301
|
+
this._backdrop = this._backdropOverride;
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
if (typeof getComputedStyle != "function") return;
|
|
305
|
+
let e = this;
|
|
306
|
+
for (; e;) {
|
|
307
|
+
let t = getComputedStyle(e).backgroundColor;
|
|
308
|
+
if (P(t)) {
|
|
309
|
+
this._backdrop = t;
|
|
310
|
+
return;
|
|
311
|
+
}
|
|
312
|
+
let n = e.getRootNode();
|
|
313
|
+
e = e.parentElement ?? (n instanceof ShadowRoot ? n.host : null);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
surfaceToneOf(e, t) {
|
|
317
|
+
let n = this.fillOf(e), r = n ? s(n, this._backdrop, t) : void 0;
|
|
318
|
+
return this.toneOfSurface(r);
|
|
319
|
+
}
|
|
320
|
+
toneOfSurface(e) {
|
|
321
|
+
return ((e === void 0 ? void 0 : c(e)) ?? c(this._backdrop) ?? "dark") === "dark" ? "light" : "dark";
|
|
322
|
+
}
|
|
323
|
+
get zoomGestures() {
|
|
324
|
+
return this._gestures.size ? [...this._gestures].join(" ") : "none";
|
|
325
|
+
}
|
|
326
|
+
set zoomGestures(e) {
|
|
327
|
+
let t = (e ?? "").toLowerCase().split(/\s+/);
|
|
328
|
+
this._gestures = new Set(t.filter((e) => e === "wheel" || e === "pinch"));
|
|
329
|
+
}
|
|
330
|
+
get zoomHintLabel() {
|
|
331
|
+
return this._zoomHintLabel === void 0 ? typeof navigator < "u" && /Mac|iPhone|iPad/.test(navigator.platform ?? "") ? "Use ⌘ + scroll to zoom the chart" : "Use Ctrl + scroll to zoom the chart" : this._zoomHintLabel;
|
|
332
|
+
}
|
|
333
|
+
set zoomHintLabel(e) {
|
|
334
|
+
this._zoomHintLabel = e || void 0;
|
|
335
|
+
}
|
|
336
|
+
static {
|
|
337
|
+
this.MAX_ZOOM = 32;
|
|
338
|
+
}
|
|
339
|
+
get zoomLevel() {
|
|
340
|
+
return this._view.zoom;
|
|
341
|
+
}
|
|
342
|
+
setZoomLevel(e, t = .5, n = .5) {
|
|
343
|
+
this._view = x(this._view, e, t, n, E.MAX_ZOOM), this.requestUpdate();
|
|
344
|
+
}
|
|
345
|
+
resetZoom() {
|
|
346
|
+
this._view = t, this.requestUpdate();
|
|
347
|
+
}
|
|
348
|
+
panBy(e, t) {
|
|
349
|
+
let n = p(this._view, e, t);
|
|
350
|
+
n !== this._view && (this._view = n, this.requestUpdate());
|
|
351
|
+
}
|
|
352
|
+
viewRect(e, t, n, r) {
|
|
353
|
+
return _(this._view, e, t, n, r);
|
|
354
|
+
}
|
|
355
|
+
chartAnchor(e) {
|
|
356
|
+
let t = this.shadowRoot?.querySelector(".chart")?.getBoundingClientRect();
|
|
357
|
+
return g(t, e.clientX, e.clientY);
|
|
358
|
+
}
|
|
359
|
+
get effectiveScale() {
|
|
360
|
+
return this._hostScale * this._view.zoom;
|
|
361
|
+
}
|
|
362
|
+
onWheel(e) {
|
|
363
|
+
if (!this._gestures.has("wheel") || !this._index) return;
|
|
364
|
+
if (!e.ctrlKey && !e.metaKey) {
|
|
365
|
+
this.showZoomHint();
|
|
366
|
+
return;
|
|
367
|
+
}
|
|
368
|
+
e.preventDefault();
|
|
369
|
+
let t = e.deltaMode === 1 ? 16 : e.deltaMode === 2 ? this.clientHeight || 400 : 1, n = Math.max(-100, Math.min(100, e.deltaY * t)), r = this.chartAnchor(e);
|
|
370
|
+
this.setZoomLevel(this._view.zoom * Math.exp(-n * .005), r.x, r.y);
|
|
371
|
+
}
|
|
372
|
+
pinchDistance() {
|
|
373
|
+
let [e, t] = [...this._pinchPointers.values()];
|
|
374
|
+
return Math.hypot(t.x - e.x, t.y - e.y);
|
|
375
|
+
}
|
|
376
|
+
pinchMidpoint() {
|
|
377
|
+
let [e, t] = [...this._pinchPointers.values()];
|
|
378
|
+
return {
|
|
379
|
+
x: (e.x + t.x) / 2,
|
|
380
|
+
y: (e.y + t.y) / 2
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
onPointerDown(e) {
|
|
384
|
+
if (e.pointerType === "touch") {
|
|
385
|
+
if (!this._gestures.has("pinch")) return;
|
|
386
|
+
this._pinchPointers.set(e.pointerId, {
|
|
387
|
+
x: e.clientX,
|
|
388
|
+
y: e.clientY
|
|
389
|
+
});
|
|
390
|
+
} else this._view.zoom > 1 && e.button === 0 && (this._dragPointer = e.pointerId, this._dragLast = {
|
|
391
|
+
x: e.clientX,
|
|
392
|
+
y: e.clientY
|
|
393
|
+
}, this._dragTotal = 0, this._dragMoved = !1);
|
|
394
|
+
}
|
|
395
|
+
trackViewGesture(e) {
|
|
396
|
+
if (e.pointerType === "touch" && this._pinchPointers.has(e.pointerId)) {
|
|
397
|
+
if (this._pinchPointers.size !== 2) return this._pinchPointers.set(e.pointerId, {
|
|
398
|
+
x: e.clientX,
|
|
399
|
+
y: e.clientY
|
|
400
|
+
}), !1;
|
|
401
|
+
let t = this.pinchDistance(), n = this.pinchMidpoint();
|
|
402
|
+
if (this._pinchPointers.set(e.pointerId, {
|
|
403
|
+
x: e.clientX,
|
|
404
|
+
y: e.clientY
|
|
405
|
+
}), t > 0) {
|
|
406
|
+
let e = this.pinchMidpoint(), r = this.chartAnchor({
|
|
407
|
+
clientX: e.x,
|
|
408
|
+
clientY: e.y
|
|
409
|
+
});
|
|
410
|
+
this.setZoomLevel(this._view.zoom * (this.pinchDistance() / t), r.x, r.y);
|
|
411
|
+
let i = this.shadowRoot?.querySelector(".chart")?.getBoundingClientRect();
|
|
412
|
+
i?.width && i.height && this.panBy((e.x - n.x) / i.width, (e.y - n.y) / i.height);
|
|
413
|
+
}
|
|
414
|
+
return !0;
|
|
415
|
+
}
|
|
416
|
+
if (this._dragPointer === e.pointerId) {
|
|
417
|
+
let t = e.clientX - this._dragLast.x, n = e.clientY - this._dragLast.y;
|
|
418
|
+
this._dragLast = {
|
|
419
|
+
x: e.clientX,
|
|
420
|
+
y: e.clientY
|
|
421
|
+
}, this._dragTotal += Math.abs(t) + Math.abs(n), this._dragTotal > 3 && (this._dragMoved = !0);
|
|
422
|
+
let r = this.shadowRoot?.querySelector(".chart")?.getBoundingClientRect();
|
|
423
|
+
return r?.width && r.height && this.panBy(t / r.width, n / r.height), !0;
|
|
424
|
+
}
|
|
425
|
+
return !1;
|
|
426
|
+
}
|
|
427
|
+
endViewGesture(e) {
|
|
428
|
+
this._pinchPointers.delete(e.pointerId), this._dragPointer === e.pointerId && (this._dragPointer = null);
|
|
429
|
+
}
|
|
430
|
+
showZoomHint() {
|
|
431
|
+
this._hintVisible = !0, clearTimeout(this._hintTimer), this._hintTimer = setTimeout(() => {
|
|
432
|
+
this._hintVisible = !1, this.requestUpdate();
|
|
433
|
+
}, 1500), this.requestUpdate();
|
|
434
|
+
}
|
|
435
|
+
zoomTo(e) {
|
|
436
|
+
let t = this._index;
|
|
437
|
+
if (!t) return;
|
|
438
|
+
let n = v(t, e);
|
|
439
|
+
n !== this.focusedRoot && (this.resetZoom(), this.rootId = n === t.root ? void 0 : n.id, this.liveAnnouncer.announce(this.labelText(n)), this.emit("hierarchy-zoom", {
|
|
440
|
+
node: n,
|
|
441
|
+
path: h(t, n)
|
|
442
|
+
}));
|
|
443
|
+
}
|
|
444
|
+
focusNode(e) {
|
|
445
|
+
this._rendered.some((t) => t.id === e) && (this._focusedId = e, this._restoreFocus = !0, this.requestUpdate());
|
|
446
|
+
}
|
|
447
|
+
zoomOut() {
|
|
448
|
+
let e = this._index, t = this.focusedRoot;
|
|
449
|
+
e && t && t !== e.root && this.zoomTo(e.parents.get(t.id)?.id);
|
|
450
|
+
}
|
|
451
|
+
beginTween() {
|
|
452
|
+
if (this._transitionDuration <= 0 || M() || this._layout !== "sunburst" || !this._prevSpans.size) return;
|
|
453
|
+
cancelAnimationFrame(this._tweenFrame);
|
|
454
|
+
let e = performance.now(), t = (n) => {
|
|
455
|
+
this._tween = Math.min(1, (n - e) / this._transitionDuration), this.requestUpdate(), this._tween < 1 && (this._tweenFrame = requestAnimationFrame(t));
|
|
456
|
+
};
|
|
457
|
+
this._tween = 0, this._tweenFrame = requestAnimationFrame(t);
|
|
458
|
+
}
|
|
459
|
+
tweenedSpan(e) {
|
|
460
|
+
if (this._tween >= 1) return e;
|
|
461
|
+
let t = 1 - (1 - this._tween) * (1 - this._tween), n = this._prevSpans.get(e.node.id) ?? {
|
|
462
|
+
x0: e.x0,
|
|
463
|
+
x1: e.x0
|
|
464
|
+
};
|
|
465
|
+
return {
|
|
466
|
+
x0: n.x0 + (e.x0 - n.x0) * t,
|
|
467
|
+
x1: n.x1 + (e.x1 - n.x1) * t
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
nodeFromEvent(e) {
|
|
471
|
+
let t = (e.composedPath()[0]?.closest?.("[data-id]"))?.getAttribute("data-id");
|
|
472
|
+
return t ? this._index?.byId.get(t) : void 0;
|
|
473
|
+
}
|
|
474
|
+
onClick(e) {
|
|
475
|
+
if (this._dragMoved) {
|
|
476
|
+
this._dragMoved = !1;
|
|
477
|
+
return;
|
|
478
|
+
}
|
|
479
|
+
let t = this._index, n = this.nodeFromEvent(e);
|
|
480
|
+
t && n && (n === this.focusedRoot ? this.zoomOut() : (this._failedIds.delete(n.id), this._loadedIds.delete(n.id), n.children?.length || n.hasChildren && this._loadChildren ? this.zoomTo(n.id) : this.emit("hierarchy-node-select", {
|
|
481
|
+
node: n,
|
|
482
|
+
path: h(t, n)
|
|
483
|
+
})));
|
|
484
|
+
}
|
|
485
|
+
get tooltipEl() {
|
|
486
|
+
return this.shadowRoot?.querySelector(".chart-tooltip") ?? null;
|
|
487
|
+
}
|
|
488
|
+
isTooltipVisible() {
|
|
489
|
+
return this.tooltipEl?.hasAttribute("data-visible") ?? !1;
|
|
490
|
+
}
|
|
491
|
+
showTooltip(e, t, n) {
|
|
492
|
+
let r = this.tooltipEl, i = this.shadowRoot?.querySelector(".chart");
|
|
493
|
+
if (!r || !i) return;
|
|
494
|
+
r.textContent = this.tooltipText(e), r.setAttribute("data-visible", "");
|
|
495
|
+
let a = r.offsetWidth, o = r.offsetHeight;
|
|
496
|
+
r.style.left = `${Math.max(0, Math.min(t + 12, i.clientWidth - a))}px`, r.style.top = `${Math.max(0, Math.min(n + 12, i.clientHeight - o))}px`;
|
|
497
|
+
}
|
|
498
|
+
hideTooltip() {
|
|
499
|
+
this.tooltipEl?.removeAttribute("data-visible");
|
|
500
|
+
}
|
|
501
|
+
onPointerMove(e) {
|
|
502
|
+
let t = this._index;
|
|
503
|
+
if (!t || this.trackViewGesture(e)) return;
|
|
504
|
+
let n = this.nodeFromEvent(e);
|
|
505
|
+
if (!n || n === this.focusedRoot) this.clearHover();
|
|
506
|
+
else {
|
|
507
|
+
if (n.id !== this._dismissedForId) {
|
|
508
|
+
this._dismissedForId = null;
|
|
509
|
+
let t = this.shadowRoot?.querySelector(".chart")?.getBoundingClientRect();
|
|
510
|
+
t && this.showTooltip(n, e.clientX - t.left, e.clientY - t.top);
|
|
511
|
+
}
|
|
512
|
+
this._hoveredId !== n.id && (this._hoveredId = n.id, this.emit("hierarchy-node-hover", {
|
|
513
|
+
node: n,
|
|
514
|
+
path: h(t, n)
|
|
515
|
+
}));
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
clearHover() {
|
|
519
|
+
this.hideTooltip(), this._dismissedForId = null, this._hoveredId !== null && (this._hoveredId = null, this.emit("hierarchy-node-hover", {
|
|
520
|
+
node: null,
|
|
521
|
+
path: []
|
|
522
|
+
}));
|
|
523
|
+
}
|
|
524
|
+
onFocusIn(e) {
|
|
525
|
+
let t = e.composedPath()[0]?.closest?.("[role=\"treeitem\"][data-id]"), n = t?.getAttribute("data-id"), r = n ? this._index?.byId.get(n) : void 0;
|
|
526
|
+
if (!r || r === this.focusedRoot || r.id === this._dismissedForId) return;
|
|
527
|
+
this._dismissedForId = null;
|
|
528
|
+
let i = this.shadowRoot?.querySelector(".chart")?.getBoundingClientRect(), a = t?.getBoundingClientRect();
|
|
529
|
+
i && a && this.showTooltip(r, a.left - i.left + a.width / 2, a.top - i.top + a.height / 2);
|
|
530
|
+
}
|
|
531
|
+
onFocusOut() {
|
|
532
|
+
this.hideTooltip();
|
|
533
|
+
}
|
|
534
|
+
tooltipText(e) {
|
|
535
|
+
let t = this._tooltipFormatter?.(e);
|
|
536
|
+
if (t !== void 0) return t;
|
|
537
|
+
let n = new Intl.NumberFormat(this._locale || this.closest("[lang]")?.getAttribute("lang") || void 0), r = this._index?.colorValues.get(e.id), i = this._index?.values.get(e.id);
|
|
538
|
+
return [
|
|
539
|
+
e.name,
|
|
540
|
+
r === void 0 ? void 0 : `${n.format(Math.round(r * 10) / 10)}%`,
|
|
541
|
+
i !== void 0 && i > 0 ? n.format(i) : void 0
|
|
542
|
+
].filter((e) => e !== void 0).join(" — ");
|
|
543
|
+
}
|
|
544
|
+
labelText(e) {
|
|
545
|
+
return this._labelFormatter?.(e) ?? e.name;
|
|
546
|
+
}
|
|
547
|
+
accessibleName(e) {
|
|
548
|
+
let t = new Intl.NumberFormat(this._locale || this.closest("[lang]")?.getAttribute("lang") || void 0), n = this._index?.colorValues.get(e.id), r = this._index?.values.get(e.id);
|
|
549
|
+
return [
|
|
550
|
+
this.labelText(e),
|
|
551
|
+
n === void 0 ? void 0 : `${t.format(Math.round(n * 10) / 10)}${this._metricUnitLabel}`,
|
|
552
|
+
r !== void 0 && r > 0 ? `${t.format(r)}${this._valueUnitLabel ? ` ${this._valueUnitLabel}` : ""}` : void 0
|
|
553
|
+
].filter((e) => e !== void 0).join(", ");
|
|
554
|
+
}
|
|
555
|
+
emit(e, t) {
|
|
556
|
+
this.dispatchEvent(new CustomEvent(e, {
|
|
557
|
+
detail: t,
|
|
558
|
+
bubbles: !0,
|
|
559
|
+
composed: !0
|
|
560
|
+
}));
|
|
561
|
+
}
|
|
562
|
+
onKeyDown(e) {
|
|
563
|
+
let t = this._index, n = (e.composedPath()[0]?.closest?.("[role=\"treeitem\"][data-id]"))?.getAttribute("data-id");
|
|
564
|
+
if (!t || !n) return;
|
|
565
|
+
let r = (e) => {
|
|
566
|
+
e !== void 0 && (this._focusedId = e, this._restoreFocus = !0, this.requestUpdate());
|
|
567
|
+
}, i = this._rendered.find((e) => e.id === n), a = this._rendered.filter((e) => e.parentId === i?.parentId), o = a.findIndex((e) => e.id === n);
|
|
568
|
+
switch (e.key) {
|
|
569
|
+
case "ArrowRight":
|
|
570
|
+
r(a[(o + 1) % a.length]?.id);
|
|
571
|
+
break;
|
|
572
|
+
case "ArrowLeft":
|
|
573
|
+
r(a[(o - 1 + a.length) % a.length]?.id);
|
|
574
|
+
break;
|
|
575
|
+
case "ArrowDown":
|
|
576
|
+
r(this._rendered.find((e) => e.parentId === n)?.id);
|
|
577
|
+
break;
|
|
578
|
+
case "ArrowUp":
|
|
579
|
+
r(this._rendered.some((e) => e.id === i?.parentId) ? i?.parentId ?? void 0 : void 0);
|
|
580
|
+
break;
|
|
581
|
+
case "Home":
|
|
582
|
+
r(a[0]?.id);
|
|
583
|
+
break;
|
|
584
|
+
case "End":
|
|
585
|
+
r(a[a.length - 1]?.id);
|
|
586
|
+
break;
|
|
587
|
+
case "Enter": {
|
|
588
|
+
let e = t.byId.get(n);
|
|
589
|
+
if (!e) return;
|
|
590
|
+
this._failedIds.delete(e.id), this._loadedIds.delete(e.id), e === this.focusedRoot ? this.zoomOut() : e.children?.length || e.hasChildren && this._loadChildren ? this.zoomTo(e.id) : this.emit("hierarchy-node-select", {
|
|
591
|
+
node: e,
|
|
592
|
+
path: h(t, e)
|
|
593
|
+
});
|
|
594
|
+
break;
|
|
595
|
+
}
|
|
596
|
+
case "Escape":
|
|
597
|
+
if (this.isTooltipVisible()) {
|
|
598
|
+
this.hideTooltip(), this._dismissedForId = n;
|
|
599
|
+
break;
|
|
600
|
+
}
|
|
601
|
+
if (this._view.zoom > 1) {
|
|
602
|
+
this.resetZoom();
|
|
603
|
+
break;
|
|
604
|
+
}
|
|
605
|
+
if (this.focusedRoot === this._index?.root) return;
|
|
606
|
+
this.zoomOut();
|
|
607
|
+
break;
|
|
608
|
+
case "Backspace":
|
|
609
|
+
if (this.focusedRoot === this._index?.root) return;
|
|
610
|
+
this.zoomOut();
|
|
611
|
+
break;
|
|
612
|
+
case "+":
|
|
613
|
+
case "=":
|
|
614
|
+
this.zoomKeyboard(n, this._view.zoom * 1.5);
|
|
615
|
+
break;
|
|
616
|
+
case "-":
|
|
617
|
+
case "_":
|
|
618
|
+
this.zoomKeyboard(n, this._view.zoom / 1.5);
|
|
619
|
+
break;
|
|
620
|
+
case "0":
|
|
621
|
+
this.resetZoom();
|
|
622
|
+
break;
|
|
623
|
+
default:
|
|
624
|
+
this.handleTypeahead(e, n);
|
|
625
|
+
return;
|
|
626
|
+
}
|
|
627
|
+
e.preventDefault(), e.stopPropagation();
|
|
628
|
+
}
|
|
629
|
+
zoomKeyboard(e, t) {
|
|
630
|
+
let n = this.shadowRoot?.querySelector(`[role="treeitem"][data-id="${F(e)}"]`), r = this.shadowRoot?.querySelector(".chart")?.getBoundingClientRect(), i = n?.getBoundingClientRect(), a = r?.width && i?.width ? this.chartAnchor({
|
|
631
|
+
clientX: i.left + i.width / 2,
|
|
632
|
+
clientY: i.top + i.height / 2
|
|
633
|
+
}) : {
|
|
634
|
+
x: .5,
|
|
635
|
+
y: .5
|
|
636
|
+
};
|
|
637
|
+
this.setZoomLevel(t, a.x, a.y);
|
|
638
|
+
}
|
|
639
|
+
handleTypeahead(e, t) {
|
|
640
|
+
if (e.key.length !== 1 || e.ctrlKey || e.metaKey || e.altKey) return;
|
|
641
|
+
clearTimeout(this._typeaheadTimer), this._typeahead += e.key.toLowerCase(), this._typeaheadTimer = setTimeout(() => this._typeahead = "", 500);
|
|
642
|
+
let n = this._index;
|
|
643
|
+
if (!n) return;
|
|
644
|
+
let r = this._rendered, i = r.findIndex((e) => e.id === t), a = [...r.slice(i + 1), ...r.slice(0, i + 1)].find((e) => {
|
|
645
|
+
let t = n.byId.get(e.id);
|
|
646
|
+
return t ? this.labelText(t).toLowerCase().startsWith(this._typeahead) : !1;
|
|
647
|
+
});
|
|
648
|
+
a && (this._focusedId = a.id, this._restoreFocus = !0, this.requestUpdate(), e.preventDefault());
|
|
649
|
+
}
|
|
650
|
+
resolveTabFocus() {
|
|
651
|
+
if (!(this._focusedId && this._rendered.some((e) => e.id === this._focusedId))) {
|
|
652
|
+
let e = this._rendered[0]?.id, t = !!this.shadowRoot?.activeElement;
|
|
653
|
+
this._focusedId = e ?? null, t && e && (this._restoreFocus = !0);
|
|
654
|
+
}
|
|
655
|
+
return this._focusedId ?? void 0;
|
|
656
|
+
}
|
|
657
|
+
updated(e) {
|
|
658
|
+
super.updated(e), this._restoreFocus && this._focusedId && (this._restoreFocus = !1, this.shadowRoot?.querySelector(`[role="treeitem"][data-id="${F(this._focusedId)}"]`)?.focus({ preventScroll: !0 })), this.loadLazyCandidates();
|
|
659
|
+
}
|
|
660
|
+
isLazy(e) {
|
|
661
|
+
return !!e && !!e.hasChildren && !e.children?.length && !this._loadedIds.has(e.id);
|
|
662
|
+
}
|
|
663
|
+
loadLazyCandidates() {
|
|
664
|
+
let e = this._loadChildren, t = this._index;
|
|
665
|
+
if (!e || !t) return;
|
|
666
|
+
let n = this.focusedRoot, r = this.maxDepth === "auto", i = this.renderedDepth, o = [...this.isLazy(n) ? [n] : [], ...this._rendered.filter((e) => r || e.depth < i).map((e) => t.byId.get(e.id)).filter((e) => this.isLazy(e))].filter((e) => !this._loadingIds.has(e.id) && !this._failedIds.has(e.id));
|
|
667
|
+
o.map((t) => (this._loadingIds.add(t.id), t === n && this.liveAnnouncer.announce(`${this._loadingLabel} ${this.labelText(t)}`), e(t).then((e) => {
|
|
668
|
+
t.children = e, this._loadingIds.delete(t.id), this._loadedIds.add(t.id), this._data && (this._index = a(this._data)), this.requestUpdate();
|
|
669
|
+
}, (e) => {
|
|
670
|
+
this._loadingIds.delete(t.id), this._failedIds.add(t.id), this.emit("hierarchy-node-load-error", {
|
|
671
|
+
node: t,
|
|
672
|
+
error: e
|
|
673
|
+
}), this.requestUpdate();
|
|
674
|
+
}), t)), o.length && this.requestUpdate();
|
|
675
|
+
}
|
|
676
|
+
fillOf(e) {
|
|
677
|
+
if (e.color) return e.color;
|
|
678
|
+
let t = this._index?.colorValues.get(e.id);
|
|
679
|
+
return t === void 0 ? void 0 : this._fill(t);
|
|
680
|
+
}
|
|
681
|
+
treeLabel() {
|
|
682
|
+
return this.getAttribute("aria-label") ?? this._inputLabel;
|
|
683
|
+
}
|
|
684
|
+
renderBreadcrumb(e, t) {
|
|
685
|
+
let n = h(e, t);
|
|
686
|
+
return C`<nav class="breadcrumb" aria-label=${this._breadcrumbLabel}>
|
|
687
|
+
${n.map((t, r) => r === n.length - 1 ? C`<span class="crumb-current" aria-current="location">${this.labelText(t)}</span>` : C`<button
|
|
1041
688
|
type="button"
|
|
1042
689
|
class="crumb"
|
|
1043
|
-
@click=${() => this.zoomTo(
|
|
1044
|
-
>${this.labelText(
|
|
690
|
+
@click=${() => this.zoomTo(t === e.root ? void 0 : t.id)}
|
|
691
|
+
>${this.labelText(t)}</button><span class="crumb-sep" aria-hidden="true">/</span>`)}
|
|
1045
692
|
</nav>`;
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
693
|
+
}
|
|
694
|
+
render() {
|
|
695
|
+
let e = this._index, t = this.focusedRoot;
|
|
696
|
+
return !e || !t ? C`<div class="chart"></div>` : C`${this._showBreadcrumb ? this.renderBreadcrumb(e, t) : w}<div
|
|
1050
697
|
class="chart ${this._gestures.has("pinch") ? "pinch" : ""}"
|
|
1051
698
|
@click=${this.onClick}
|
|
1052
699
|
@keydown=${this.onKeyDown}
|
|
@@ -1058,213 +705,181 @@ class x extends U {
|
|
|
1058
705
|
@focusin=${this.onFocusIn}
|
|
1059
706
|
@focusout=${this.onFocusOut}
|
|
1060
707
|
>
|
|
1061
|
-
${this._layout === "sunburst" ? this.renderSunburst(e) : this._layout === "icicle" ? this.renderIcicle(e,
|
|
708
|
+
${this._layout === "sunburst" ? this.renderSunburst(e) : this._layout === "icicle" ? this.renderIcicle(e, t) : this.renderTreemap(e, t)}
|
|
1062
709
|
<div class="chart-tooltip" aria-hidden="true"></div>
|
|
1063
|
-
${this._hintVisible && this._gestures.has("wheel") ?
|
|
710
|
+
${this._hintVisible && this._gestures.has("wheel") ? C`<div class="zoom-hint" aria-hidden="true">${this.zoomHintLabel}</div>` : w}
|
|
1064
711
|
${this.liveAnnouncer.template()}
|
|
1065
712
|
</div>`;
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
return c`<svg
|
|
1087
|
-
viewBox="${this._view.x * u} ${this._view.y * u} ${u / f} ${u / f}"
|
|
713
|
+
}
|
|
714
|
+
captureRendered(e, t) {
|
|
715
|
+
this._rendered = e.map((e) => ({
|
|
716
|
+
id: e.node.id,
|
|
717
|
+
parentId: this._index?.parents.get(e.node.id)?.id ?? t,
|
|
718
|
+
depth: e.depth
|
|
719
|
+
})), this._tabFocusId = this.resolveTabFocus();
|
|
720
|
+
}
|
|
721
|
+
renderSunburst(e) {
|
|
722
|
+
let t = this.focusedRoot, r = this.renderedDepth, i = m(e, this._rootId, {
|
|
723
|
+
maxDepth: r,
|
|
724
|
+
minFraction: this._minAngle / 360 / this._view.zoom
|
|
725
|
+
}), a = A / 2 / (r + 1), o = this.treeLabel(), s = new Map(i.map((e) => [e.node.id, this.tweenedSpan(e)]));
|
|
726
|
+
this._prevSpans = new Map([...s.entries()].map(([e, t]) => [e, {
|
|
727
|
+
...t,
|
|
728
|
+
depth: 0
|
|
729
|
+
}])), this.captureRendered(i, t?.id ?? "");
|
|
730
|
+
let c = t === e.root, l = 100 / (r + 1) * .9, u = this._view.zoom, d = this.viewRect(.5, .5, .5, .5);
|
|
731
|
+
return C`<svg
|
|
732
|
+
viewBox="${this._view.x * A} ${this._view.y * A} ${A / u} ${A / u}"
|
|
1088
733
|
role="tree"
|
|
1089
|
-
aria-label=${
|
|
734
|
+
aria-label=${o ?? w}
|
|
1090
735
|
>
|
|
1091
736
|
<!-- role=none: this group only centres the geometry, and an unroled node
|
|
1092
737
|
between role=tree and its treeitems is an aria-required-parent risk. -->
|
|
1093
|
-
<g role="none" transform="translate(${
|
|
1094
|
-
${
|
|
1095
|
-
${this._showLabels && this._tween >= 1 ?
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
738
|
+
<g role="none" transform="translate(${A / 2},${A / 2})">
|
|
739
|
+
${D(i, (e) => e.node.id, (e) => this.renderArc(e, s.get(e.node.id) ?? e, a))}
|
|
740
|
+
${this._showLabels && this._tween >= 1 ? D(i.map((e) => ({
|
|
741
|
+
n: e,
|
|
742
|
+
fit: this.arcLabelFit(e, a)
|
|
743
|
+
})).filter(({ fit: e }) => e.visible), ({ n: e }) => `label-${e.node.id}`, ({ n: e, fit: t }) => T`<text
|
|
1099
744
|
class="arc-label"
|
|
1100
745
|
aria-hidden="true"
|
|
1101
746
|
font-size=${Math.round(this._labelFontSize / this.effectiveScale * 100) / 100}
|
|
1102
|
-
data-surface=${this.surfaceToneOf(
|
|
1103
|
-
transform=${
|
|
1104
|
-
>${
|
|
1105
|
-
) : d}
|
|
747
|
+
data-surface=${this.surfaceToneOf(e.node, e.hasChildren ? 1 : .6)}
|
|
748
|
+
transform=${n(e.x0, e.x1, (e.depth + .5) * a, t.orientation)}
|
|
749
|
+
>${t.text}</text>`) : w}
|
|
1106
750
|
</g>
|
|
1107
751
|
</svg>
|
|
1108
752
|
<button
|
|
1109
753
|
class="center-control"
|
|
1110
754
|
aria-label=${this._zoomOutLabel}
|
|
1111
|
-
title=${
|
|
1112
|
-
?disabled=${
|
|
1113
|
-
style=${
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
755
|
+
title=${c ? w : this._zoomOutLabel}
|
|
756
|
+
?disabled=${c}
|
|
757
|
+
style=${O({
|
|
758
|
+
left: `${d.x0 * 100}%`,
|
|
759
|
+
top: `${d.y0 * 100}%`,
|
|
760
|
+
width: `${l * u}%`,
|
|
761
|
+
height: `${l * u}%`
|
|
762
|
+
})}
|
|
1119
763
|
@click=${this.zoomOut}
|
|
1120
|
-
>${
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
}), o = this.fillOf(e.node);
|
|
1126
|
-
return z`<path
|
|
764
|
+
>${t ? this.labelText(t) : ""}</button>`;
|
|
765
|
+
}
|
|
766
|
+
renderArc(e, t, n) {
|
|
767
|
+
let i = r(0, 0, e.depth * n, (e.depth + 1) * n, t.x0 * j, t.x1 * j, { padAngle: .005 }), a = this.fillOf(e.node);
|
|
768
|
+
return T`<path
|
|
1127
769
|
class="ring"
|
|
1128
770
|
data-id=${e.node.id}
|
|
1129
771
|
?data-leaf=${!e.hasChildren}
|
|
1130
772
|
?data-loading=${this._loadingIds.has(e.node.id)}
|
|
1131
773
|
?data-load-error=${this._failedIds.has(e.node.id)}
|
|
1132
|
-
d=${
|
|
1133
|
-
fill=${
|
|
774
|
+
d=${i}
|
|
775
|
+
fill=${a ?? "var(--mp-hierarchy-chart-node-fill)"}
|
|
1134
776
|
role="treeitem"
|
|
1135
777
|
tabindex=${e.node.id === this._tabFocusId ? "0" : "-1"}
|
|
1136
778
|
aria-label=${this.accessibleName(e.node)}
|
|
1137
779
|
aria-level=${e.level}
|
|
1138
780
|
aria-setsize=${e.setsize}
|
|
1139
781
|
aria-posinset=${e.posinset}
|
|
1140
|
-
aria-expanded=${e.hasChildren ? String(e.depth < this.renderedDepth && !!e.node.children?.length) :
|
|
1141
|
-
aria-busy=${this._loadingIds.has(e.node.id) ? "true" :
|
|
782
|
+
aria-expanded=${e.hasChildren ? String(e.depth < this.renderedDepth && !!e.node.children?.length) : w}
|
|
783
|
+
aria-busy=${this._loadingIds.has(e.node.id) ? "true" : w}
|
|
1142
784
|
></path>`;
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
this._labelFontSize
|
|
1156
|
-
);
|
|
1157
|
-
}
|
|
1158
|
-
/* ---------- icicle ---------- */
|
|
1159
|
-
renderIcicle(e, i) {
|
|
1160
|
-
const t = this.renderedDepth, r = T(e, this._rootId, {
|
|
1161
|
-
maxDepth: t,
|
|
1162
|
-
minFraction: this._minSize / u / this._view.zoom
|
|
1163
|
-
}), o = t + 1, a = this.treeLabel();
|
|
1164
|
-
this.captureRendered(r, i.id);
|
|
1165
|
-
const s = this.viewRect(0, 0, 1 / o, 1);
|
|
1166
|
-
return c`<div class="icicle" role="tree" aria-label=${a ?? d}>
|
|
785
|
+
}
|
|
786
|
+
arcLabelFit(e, t) {
|
|
787
|
+
return l(this.labelText(e.node), (e.x1 - e.x0) * j, e.depth * t * this.effectiveScale, (e.depth + 1) * t * this.effectiveScale, this._labelFontSize);
|
|
788
|
+
}
|
|
789
|
+
renderIcicle(e, t) {
|
|
790
|
+
let n = this.renderedDepth, r = m(e, this._rootId, {
|
|
791
|
+
maxDepth: n,
|
|
792
|
+
minFraction: this._minSize / A / this._view.zoom
|
|
793
|
+
}), i = n + 1, a = this.treeLabel();
|
|
794
|
+
this.captureRendered(r, t.id);
|
|
795
|
+
let o = this.viewRect(0, 0, 1 / i, 1);
|
|
796
|
+
return C`<div class="icicle" role="tree" aria-label=${a ?? w}>
|
|
1167
797
|
<div
|
|
1168
798
|
class="cell focus-cell"
|
|
1169
|
-
data-id=${
|
|
799
|
+
data-id=${t.id}
|
|
1170
800
|
data-surface=${this.toneOfSurface(void 0)}
|
|
1171
801
|
role="treeitem"
|
|
1172
802
|
tabindex="-1"
|
|
1173
|
-
aria-label=${this.accessibleName(
|
|
1174
|
-
aria-level=${
|
|
803
|
+
aria-label=${this.accessibleName(t)}
|
|
804
|
+
aria-level=${d(e, t)}
|
|
1175
805
|
aria-setsize="1"
|
|
1176
806
|
aria-posinset="1"
|
|
1177
807
|
aria-expanded="true"
|
|
1178
|
-
title=${
|
|
1179
|
-
style=${
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
(
|
|
1184
|
-
(
|
|
1185
|
-
n,
|
|
1186
|
-
this.viewRect(n.depth / o, n.x0, (n.depth + 1) / o, n.x1),
|
|
1187
|
-
n.hasChildren && n.depth < this.renderedDepth && !!n.node.children?.length
|
|
1188
|
-
)
|
|
1189
|
-
)}
|
|
808
|
+
title=${t === e.root ? w : this._zoomOutLabel}
|
|
809
|
+
style=${O({
|
|
810
|
+
...this.cellGeometry(o),
|
|
811
|
+
fontSize: `${this._labelFontSize}px`
|
|
812
|
+
})}
|
|
813
|
+
>${this._showLabels && this.cellLabelFits(o) ? C`<span class="cell-label">${this.labelText(t)}</span>` : w}</div>
|
|
814
|
+
${D(r, (e) => e.node.id, (e) => this.renderCell(e, this.viewRect(e.depth / i, e.x0, (e.depth + 1) / i, e.x1), e.hasChildren && e.depth < this.renderedDepth && !!e.node.children?.length))}
|
|
1190
815
|
</div>`;
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
return this.captureRendered(r, i.id), c`<div class="treemap">
|
|
816
|
+
}
|
|
817
|
+
renderTreemap(e, t) {
|
|
818
|
+
let n = this.renderedDepth, r = y(e, this._rootId, {
|
|
819
|
+
maxDepth: n,
|
|
820
|
+
minArea: (this._minSize / A) ** 2 / (this._view.zoom * this._view.zoom),
|
|
821
|
+
childPadding: .004,
|
|
822
|
+
childHeaderSpace: .028
|
|
823
|
+
}), i = this.treeLabel(), a = h(e, t).map((e) => this.labelText(e)).join(" / ");
|
|
824
|
+
return this.captureRendered(r, t.id), C`<div class="treemap">
|
|
1201
825
|
<button
|
|
1202
826
|
class="treemap-header"
|
|
1203
827
|
aria-label=${this._zoomOutLabel}
|
|
1204
828
|
title=${a}
|
|
1205
|
-
?disabled=${
|
|
829
|
+
?disabled=${t === e.root}
|
|
1206
830
|
@click=${this.zoomOut}
|
|
1207
831
|
>${a}</button>
|
|
1208
|
-
<div class="treemap-body" role="tree" aria-label=${
|
|
1209
|
-
${
|
|
1210
|
-
r,
|
|
1211
|
-
(s) => s.node.id,
|
|
1212
|
-
(s) => this.renderCell(
|
|
1213
|
-
s,
|
|
1214
|
-
this.viewRect(s.x0, s.y0, s.x1, s.y1),
|
|
1215
|
-
s.hasChildren && s.depth < this.renderedDepth && !!s.node.children?.length
|
|
1216
|
-
)
|
|
1217
|
-
)}
|
|
832
|
+
<div class="treemap-body" role="tree" aria-label=${i ?? w}>
|
|
833
|
+
${D(r, (e) => e.node.id, (e) => this.renderCell(e, this.viewRect(e.x0, e.y0, e.x1, e.y1), e.hasChildren && e.depth < this.renderedDepth && !!e.node.children?.length))}
|
|
1218
834
|
</div>
|
|
1219
835
|
</div>`;
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
836
|
+
}
|
|
837
|
+
cellGeometry(e) {
|
|
838
|
+
return {
|
|
839
|
+
left: `${e.x0 * 100}%`,
|
|
840
|
+
top: `${e.y0 * 100}%`,
|
|
841
|
+
width: `${(e.x1 - e.x0) * 100}%`,
|
|
842
|
+
height: `${(e.y1 - e.y0) * 100}%`
|
|
843
|
+
};
|
|
844
|
+
}
|
|
845
|
+
cellLabelFits(e) {
|
|
846
|
+
let t = A * this._hostScale;
|
|
847
|
+
return u((e.x1 - e.x0) * t, (e.y1 - e.y0) * t, this._labelFontSize);
|
|
848
|
+
}
|
|
849
|
+
renderCell(e, t, n) {
|
|
850
|
+
let r = this._layout === "treemap" && n, i = r ? void 0 : this.fillOf(e.node), a = this._showLabels && this.cellLabelFits(t);
|
|
851
|
+
return C`<div
|
|
1236
852
|
class="cell"
|
|
1237
853
|
data-id=${e.node.id}
|
|
1238
854
|
?data-leaf=${!e.hasChildren}
|
|
1239
855
|
?data-branch=${r}
|
|
1240
856
|
?data-loading=${this._loadingIds.has(e.node.id)}
|
|
1241
857
|
?data-load-error=${this._failedIds.has(e.node.id)}
|
|
1242
|
-
data-surface=${
|
|
858
|
+
data-surface=${i ? this.surfaceToneOf(e.node, 1) : this.toneOfSurface(void 0)}
|
|
1243
859
|
role="treeitem"
|
|
1244
860
|
tabindex=${e.node.id === this._tabFocusId ? "0" : "-1"}
|
|
1245
861
|
aria-label=${this.accessibleName(e.node)}
|
|
1246
862
|
aria-level=${e.level}
|
|
1247
863
|
aria-setsize=${e.setsize}
|
|
1248
864
|
aria-posinset=${e.posinset}
|
|
1249
|
-
aria-expanded=${e.hasChildren ? String(
|
|
1250
|
-
aria-busy=${this._loadingIds.has(e.node.id) ? "true" :
|
|
1251
|
-
style=${
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
>${a ?
|
|
1257
|
-
|
|
1258
|
-
}
|
|
1259
|
-
function
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
865
|
+
aria-expanded=${e.hasChildren ? String(n) : w}
|
|
866
|
+
aria-busy=${this._loadingIds.has(e.node.id) ? "true" : w}
|
|
867
|
+
style=${O({
|
|
868
|
+
...this.cellGeometry(t),
|
|
869
|
+
fontSize: `${this._labelFontSize}px`,
|
|
870
|
+
...i ? { background: i } : {}
|
|
871
|
+
})}
|
|
872
|
+
>${a ? C`<span class="cell-label">${this.labelText(e.node)}</span>` : w}</div>`;
|
|
873
|
+
}
|
|
874
|
+
};
|
|
875
|
+
function P(e) {
|
|
876
|
+
if (!e || e === "transparent") return !1;
|
|
877
|
+
let t = e.match(/^rgba\([^)]+,\s*([\d.]+)\s*\)$/i)?.[1];
|
|
878
|
+
return t === void 0 ? /^(rgb\(|#|hsl\()/i.test(e) : Number(t) >= 1;
|
|
1263
879
|
}
|
|
1264
|
-
function
|
|
1265
|
-
|
|
880
|
+
function F(e) {
|
|
881
|
+
return typeof CSS < "u" && typeof CSS.escape == "function" ? CSS.escape(e) : e.replace(/["\\]/g, "\\$&");
|
|
1266
882
|
}
|
|
1267
|
-
typeof customElements < "u" && !customElements.get("mp-hierarchy-chart") && customElements.define("mp-hierarchy-chart",
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
};
|
|
883
|
+
typeof customElements < "u" && !customElements.get("mp-hierarchy-chart") && customElements.define("mp-hierarchy-chart", N);
|
|
884
|
+
//#endregion
|
|
885
|
+
export { N as MpHierarchyChart };
|