@mintplayer/web-components 2.19.0 → 2.21.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-x_OgDL1V.mjs +1788 -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 +6539 -5986
- package/datatable/index.mjs +1 -8
- package/datatable/src/components/mp-datatable.d.ts +4 -0
- package/datatable/src/types/tree.d.ts +7 -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 +151 -602
- package/dropdown-menu/src/components/mp-dropdown-menu.d.ts +5 -8
- package/dropdown-menu/src/index.d.ts +1 -1
- package/dropdown-menu/src/types/dropdown.d.ts +0 -2
- package/dropdown-menu/src/types/index.d.ts +1 -1
- 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 +128 -11
- package/light-dom/src/install-light-styles.d.ts +10 -22
- package/light-dom/src/scoped-html.d.ts +0 -6
- package/machine/index.d.ts +1 -0
- package/machine/index.mjs +47 -0
- package/machine/src/index.d.ts +2 -0
- package/machine/src/machine-controller.d.ts +25 -0
- package/machine/src/props-directive.d.ts +21 -0
- 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 +10 -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 +475 -769
- package/tree-select/src/components/mp-tree-select.d.ts +16 -5
- package/treeview/index.mjs +1 -5
- package/typeahead/index.d.ts +1 -0
- package/typeahead/index.mjs +220 -0
- package/typeahead/src/components/mp-typeahead.d.ts +67 -0
- package/typeahead/src/index.d.ts +3 -0
- 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-BeKunRfd.mjs +0 -2884
- 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
package/tile-manager/index.mjs
CHANGED
|
@@ -1,925 +1,772 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
function
|
|
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
|
-
function
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
1
|
+
import { y as e } from "../chunks/a11y-C6aX-lsZ.mjs";
|
|
2
|
+
import { LitElement as t, html as n, nothing as r, unsafeCSS as i } from "lit";
|
|
3
|
+
//#region libs/mintplayer-web-components/tile-manager/src/types/grid-rect.ts
|
|
4
|
+
function a(e, t) {
|
|
5
|
+
return e.colStart < t.colStart + t.colSpan && t.colStart < e.colStart + e.colSpan && e.rowStart < t.rowStart + t.rowSpan && t.rowStart < e.rowStart + e.rowSpan;
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region libs/mintplayer-web-components/tile-manager/src/utils/pack.ts
|
|
9
|
+
function o(e, t, n) {
|
|
10
|
+
if (!e.find((e) => e.id === t.id)) throw Error(`pack: pinned tile "${t.id}" is not in the tiles array`);
|
|
11
|
+
let r = {
|
|
12
|
+
id: t.id,
|
|
13
|
+
position: { ...t.rect }
|
|
14
|
+
}, i = e.filter((e) => e.locked && e.id !== t.id).map((e) => ({
|
|
15
|
+
id: e.id,
|
|
16
|
+
position: { ...e.position }
|
|
17
|
+
}));
|
|
18
|
+
if (i.some((e) => a(e.position, r.position))) return {
|
|
19
|
+
layout: s(e),
|
|
20
|
+
blocked: !0
|
|
21
|
+
};
|
|
22
|
+
let o = [r, ...i], l = e.filter((e) => !e.locked && e.id !== t.id).slice().sort((e, t) => {
|
|
23
|
+
let n = e.position.rowStart - t.position.rowStart;
|
|
24
|
+
return n === 0 ? e.position.colStart - t.position.colStart : n;
|
|
25
|
+
}), d = l.reduce((e, t) => {
|
|
26
|
+
let r = c(t, [...o, ...e], n);
|
|
27
|
+
return r ? [...e, r] : e;
|
|
28
|
+
}, []);
|
|
29
|
+
if (d.length !== l.length) return {
|
|
30
|
+
layout: s(e),
|
|
31
|
+
blocked: !0
|
|
32
|
+
};
|
|
33
|
+
let f = u(d, o, n), p = new Map([
|
|
34
|
+
r,
|
|
35
|
+
...i,
|
|
36
|
+
...f
|
|
37
|
+
].map((e) => [e.id, e.position]));
|
|
38
|
+
return {
|
|
39
|
+
layout: e.map((e) => ({
|
|
40
|
+
id: e.id,
|
|
41
|
+
position: p.get(e.id) ?? { ...e.position }
|
|
42
|
+
})),
|
|
43
|
+
blocked: !1
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function s(e) {
|
|
47
|
+
return e.map((e) => ({
|
|
48
|
+
id: e.id,
|
|
49
|
+
position: { ...e.position }
|
|
50
|
+
}));
|
|
51
|
+
}
|
|
52
|
+
function c(e, t, n) {
|
|
53
|
+
let { colSpan: r, rowSpan: i } = e.position;
|
|
54
|
+
if (r > n) return null;
|
|
55
|
+
if (!t.some((t) => a(e.position, t.position))) return {
|
|
56
|
+
id: e.id,
|
|
57
|
+
position: { ...e.position }
|
|
58
|
+
};
|
|
59
|
+
let o = l({
|
|
60
|
+
colSpan: r,
|
|
61
|
+
rowSpan: i
|
|
62
|
+
}, t, n);
|
|
63
|
+
return o ? {
|
|
64
|
+
id: e.id,
|
|
65
|
+
position: o
|
|
66
|
+
} : null;
|
|
67
|
+
}
|
|
68
|
+
function l(e, t, n) {
|
|
69
|
+
let r = t.reduce((e, t) => Math.max(e, t.position.rowStart + t.position.rowSpan - 1), 0) + e.rowSpan, i = n - e.colSpan + 1;
|
|
70
|
+
if (i < 1) return null;
|
|
71
|
+
for (let n = 1; n <= r; n++) for (let r = 0; r < i; r++) {
|
|
72
|
+
let i = r + 1, o = !1;
|
|
73
|
+
for (let r = 0; r < t.length; r++) if (a({
|
|
74
|
+
rowStart: n,
|
|
75
|
+
colStart: i,
|
|
76
|
+
colSpan: e.colSpan,
|
|
77
|
+
rowSpan: e.rowSpan
|
|
78
|
+
}, t[r].position)) {
|
|
79
|
+
o = !0;
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
if (!o) return {
|
|
83
|
+
rowStart: n,
|
|
84
|
+
colStart: i,
|
|
85
|
+
colSpan: e.colSpan,
|
|
86
|
+
rowSpan: e.rowSpan
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
return null;
|
|
90
|
+
}
|
|
91
|
+
function u(e, t, n) {
|
|
92
|
+
return d(e, t, n, 10);
|
|
93
|
+
}
|
|
94
|
+
function d(e, t, n, r) {
|
|
95
|
+
if (r <= 0) return e;
|
|
96
|
+
let { result: i, changed: a } = f(e, t, n);
|
|
97
|
+
return a ? d(i, t, n, r - 1) : i;
|
|
98
|
+
}
|
|
99
|
+
function f(e, t, n) {
|
|
100
|
+
return e.slice().sort((e, t) => {
|
|
101
|
+
let n = e.position.rowStart - t.position.rowStart;
|
|
102
|
+
return n === 0 ? e.position.colStart - t.position.colStart : n;
|
|
103
|
+
}).reduce((e, n) => {
|
|
104
|
+
let r = [...t, ...e.result.filter((e) => e.id !== n.id)], i = p(n.position, r), a = i.rowStart !== n.position.rowStart;
|
|
105
|
+
return {
|
|
106
|
+
result: [...e.result, {
|
|
107
|
+
id: n.id,
|
|
108
|
+
position: i
|
|
109
|
+
}],
|
|
110
|
+
changed: e.changed || a
|
|
111
|
+
};
|
|
112
|
+
}, {
|
|
113
|
+
result: [],
|
|
114
|
+
changed: !1
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
function p(e, t) {
|
|
118
|
+
if (e.rowStart <= 1) return e;
|
|
119
|
+
for (let n = 1; n < e.rowStart; n++) {
|
|
120
|
+
let r = !1;
|
|
121
|
+
for (let i = 0; i < t.length; i++) if (a({
|
|
122
|
+
...e,
|
|
123
|
+
rowStart: n
|
|
124
|
+
}, t[i].position)) {
|
|
125
|
+
r = !0;
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
if (!r) return {
|
|
129
|
+
...e,
|
|
130
|
+
rowStart: n
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
return e;
|
|
134
|
+
}
|
|
135
|
+
//#endregion
|
|
136
|
+
//#region libs/mintplayer-web-components/tile-manager/src/utils/grid-geometry.ts
|
|
137
|
+
function m(e) {
|
|
138
|
+
let t = e.width + e.gapX, n = e.height + e.gapY;
|
|
139
|
+
return !(t > 0) || !(n > 0) || !Number.isFinite(t) || !Number.isFinite(n) ? null : {
|
|
140
|
+
x: t,
|
|
141
|
+
y: n
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
function h(e, t) {
|
|
145
|
+
return {
|
|
146
|
+
x: (e.colStart - 1) * (t.width + t.gapX),
|
|
147
|
+
y: (e.rowStart - 1) * (t.height + t.gapY)
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
function g({ pointer: e, gridOrigin: t, pointerOffset: n }) {
|
|
151
|
+
return {
|
|
152
|
+
x: e.x - t.x - n.x,
|
|
153
|
+
y: e.y - t.y - n.y
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
function _(e, t, n, r) {
|
|
157
|
+
let i = m(n);
|
|
158
|
+
if (!i) return null;
|
|
159
|
+
let a = g(e), o = Math.round(a.x / i.x) + 1, s = Math.round(a.y / i.y) + 1;
|
|
160
|
+
return {
|
|
161
|
+
colStart: Math.max(1, Math.min(o, r - t.colSpan + 1)),
|
|
162
|
+
rowStart: Math.max(1, s),
|
|
163
|
+
colSpan: t.colSpan,
|
|
164
|
+
rowSpan: t.rowSpan
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
function v(e, t, n) {
|
|
168
|
+
let r = g(e), i = h(t, n);
|
|
169
|
+
return {
|
|
170
|
+
x: Math.round(r.x - i.x),
|
|
171
|
+
y: Math.round(r.y - i.y)
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
function y(e, t, n, r, i, a) {
|
|
175
|
+
let o = m(i);
|
|
176
|
+
if (!o) return null;
|
|
177
|
+
let s = Math.round(e.x / o.x), c = Math.round(e.y / o.y);
|
|
178
|
+
return {
|
|
179
|
+
colSpan: t === "bottom" ? n.colSpan : Math.max(1, Math.min(n.colSpan + s, a - r + 1)),
|
|
180
|
+
rowSpan: t === "side" ? n.rowSpan : Math.max(1, n.rowSpan + c)
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
n`<!-- Tile shells are rendered dynamically by render(). This file exists so the
|
|
142
184
|
codegen-wc target produces a \`styles\` export from the sibling .scss; the
|
|
143
185
|
\`template\` export it generates is intentionally unused. -->`;
|
|
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
|
-
.tile__header-shell ::slotted(*) {
|
|
224
|
-
display: flex;
|
|
225
|
-
align-items: center;
|
|
226
|
-
gap: 0.5rem;
|
|
227
|
-
padding: 0.5rem 0.75rem;
|
|
228
|
-
font-size: 0.875rem;
|
|
229
|
-
font-weight: 500;
|
|
230
|
-
color: var(--bs-body-color, inherit);
|
|
231
|
-
background: linear-gradient(to bottom, rgba(var(--bs-primary-rgb, 13, 110, 253), 0.1), rgba(var(--bs-primary-rgb, 13, 110, 253), 0.04));
|
|
232
|
-
border-bottom: 1px solid var(--bs-border-color, #dee2e6);
|
|
233
|
-
overflow: hidden;
|
|
234
|
-
text-overflow: ellipsis;
|
|
235
|
-
white-space: nowrap;
|
|
236
|
-
touch-action: none;
|
|
237
|
-
user-select: none;
|
|
238
|
-
-webkit-user-select: none;
|
|
239
|
-
-webkit-touch-callout: none;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.tile[data-drag-mode=off] .tile__header-shell,
|
|
243
|
-
.tile[data-locked-move=true] .tile__header-shell {
|
|
244
|
-
cursor: default;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.tile__content-shell {
|
|
248
|
-
flex: 1 1 auto;
|
|
249
|
-
min-width: 0;
|
|
250
|
-
min-height: 0;
|
|
251
|
-
overflow: auto;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.tile__resize-side,
|
|
255
|
-
.tile__resize-bottom,
|
|
256
|
-
.tile__resize-corner {
|
|
257
|
-
position: absolute;
|
|
258
|
-
z-index: 2;
|
|
259
|
-
background: transparent;
|
|
260
|
-
touch-action: none;
|
|
261
|
-
-webkit-user-select: none;
|
|
262
|
-
user-select: none;
|
|
263
|
-
opacity: 0;
|
|
264
|
-
transition: opacity 120ms ease-out;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.tile:hover .tile__resize-side,
|
|
268
|
-
.tile:hover .tile__resize-bottom,
|
|
269
|
-
.tile:hover .tile__resize-corner,
|
|
270
|
-
:host([resize-mode=always]) .tile__resize-side,
|
|
271
|
-
:host([resize-mode=always]) .tile__resize-bottom,
|
|
272
|
-
:host([resize-mode=always]) .tile__resize-corner {
|
|
273
|
-
opacity: 1;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
@media (pointer: coarse) {
|
|
277
|
-
.tile__resize-side,
|
|
278
|
-
.tile__resize-bottom,
|
|
279
|
-
.tile__resize-corner {
|
|
280
|
-
opacity: 1;
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
.tile__resize-side {
|
|
284
|
-
right: -2px;
|
|
285
|
-
top: 25%;
|
|
286
|
-
bottom: 25%;
|
|
287
|
-
width: 6px;
|
|
288
|
-
cursor: ew-resize;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.tile__resize-bottom {
|
|
292
|
-
left: 25%;
|
|
293
|
-
right: 25%;
|
|
294
|
-
bottom: -2px;
|
|
295
|
-
height: 6px;
|
|
296
|
-
cursor: ns-resize;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.tile__resize-corner {
|
|
300
|
-
right: -2px;
|
|
301
|
-
bottom: -2px;
|
|
302
|
-
width: 14px;
|
|
303
|
-
height: 14px;
|
|
304
|
-
cursor: nwse-resize;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
.tile__resize-corner::before {
|
|
308
|
-
content: "";
|
|
309
|
-
position: absolute;
|
|
310
|
-
right: 3px;
|
|
311
|
-
bottom: 3px;
|
|
312
|
-
width: 8px;
|
|
313
|
-
height: 8px;
|
|
314
|
-
border-right: 2px solid var(--bs-tile-handle-color);
|
|
315
|
-
border-bottom: 2px solid var(--bs-tile-handle-color);
|
|
316
|
-
border-bottom-right-radius: 2px;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
:host([resize-mode=off]) .tile__resize-side,
|
|
320
|
-
:host([resize-mode=off]) .tile__resize-bottom,
|
|
321
|
-
:host([resize-mode=off]) .tile__resize-corner {
|
|
322
|
-
display: none;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
.tile[data-locked-resize=true] .tile__resize-side,
|
|
326
|
-
.tile[data-locked-resize=true] .tile__resize-bottom,
|
|
327
|
-
.tile[data-locked-resize=true] .tile__resize-corner {
|
|
328
|
-
display: none;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
.tile-grid__live-region,
|
|
332
|
-
.tile-grid__sr-only {
|
|
333
|
-
position: absolute;
|
|
334
|
-
width: 1px;
|
|
335
|
-
height: 1px;
|
|
336
|
-
margin: -1px;
|
|
337
|
-
padding: 0;
|
|
338
|
-
overflow: hidden;
|
|
339
|
-
clip: rect(0, 0, 0, 0);
|
|
340
|
-
white-space: nowrap;
|
|
341
|
-
border: 0;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
@media (prefers-reduced-motion: reduce) {
|
|
345
|
-
.tile {
|
|
346
|
-
transition: none !important;
|
|
347
|
-
}
|
|
348
|
-
.tile[data-blocked=true] {
|
|
349
|
-
animation: none;
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
:host(:focus-visible) {
|
|
353
|
-
outline: 2px solid var(--bs-primary, #0d6efd);
|
|
354
|
-
outline-offset: 2px;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
.tile:focus-visible {
|
|
358
|
-
outline: 2px solid var(--bs-primary, #0d6efd);
|
|
359
|
-
outline-offset: -2px;
|
|
360
|
-
}`), F = "Press M to enter move mode. In move mode, arrow keys move the tile, Shift with arrow keys resize it, Enter commits, Escape cancels.";
|
|
361
|
-
let U = 0;
|
|
362
|
-
const q = 600, K = 10, O = 150, W = 5;
|
|
363
|
-
class X extends T {
|
|
364
|
-
constructor() {
|
|
365
|
-
super(...arguments), this.tiles = [], this.columnCount = null, this.minColumnWidth = "200px", this.minRowHeight = "8rem", this.gap = "0.5rem", this.dragMode = "header", this.resizeMode = "hover", this.animateReflow = !0, this.label = null, this.gestureState = { kind: "idle" }, this.keyboardState = { kind: "idle" }, this.previewLayout = null, this.gestureKind = "idle", this.blocked = !1, this.effectiveColumnCount = 1, this.focusedTileId = null, this.liveAnnouncer = new R(this), this.instanceId = `mp-tile-manager-${++U}`, this.hostResizeObserver = null, this.flipPreviousRects = /* @__PURE__ */ new Map(), this.cellMetrics = { width: 0, height: 0, gapX: 0, gapY: 0 }, this.onWindowPointerMove = (t) => this.handlePointerMove(t), this.onWindowPointerUp = (t) => this.handlePointerUp(t), this.onWindowPointerCancel = (t) => this.handlePointerCancel(t), this.onWindowKeyDown = (t) => this.handleEscapeKey(t), this.onVisibilityChange = () => {
|
|
366
|
-
document.visibilityState === "hidden" && this.cancelGesture();
|
|
367
|
-
}, this.lastPointerPosition = null;
|
|
368
|
-
}
|
|
369
|
-
static {
|
|
370
|
-
this.styles = [G];
|
|
371
|
-
}
|
|
372
|
-
static get observedAttributes() {
|
|
373
|
-
return [
|
|
374
|
-
...super.observedAttributes ?? [],
|
|
375
|
-
"column-count",
|
|
376
|
-
"min-column-width",
|
|
377
|
-
"min-row-height",
|
|
378
|
-
"gap",
|
|
379
|
-
"drag-mode",
|
|
380
|
-
"resize-mode",
|
|
381
|
-
"animate-reflow",
|
|
382
|
-
"label"
|
|
383
|
-
];
|
|
384
|
-
}
|
|
385
|
-
static {
|
|
386
|
-
this.properties = {
|
|
387
|
-
tiles: { attribute: !1 },
|
|
388
|
-
columnCount: { attribute: "column-count", type: Number },
|
|
389
|
-
minColumnWidth: { attribute: "min-column-width", type: String },
|
|
390
|
-
minRowHeight: { attribute: "min-row-height", type: String },
|
|
391
|
-
gap: { attribute: "gap", type: String },
|
|
392
|
-
dragMode: { attribute: "drag-mode", type: String, reflect: !0 },
|
|
393
|
-
resizeMode: { attribute: "resize-mode", type: String, reflect: !0 },
|
|
394
|
-
animateReflow: { attribute: "animate-reflow", type: Boolean },
|
|
395
|
-
label: { attribute: "label", type: String },
|
|
396
|
-
previewLayout: { state: !0 },
|
|
397
|
-
gestureKind: { state: !0 },
|
|
398
|
-
blocked: { state: !0 },
|
|
399
|
-
focusedTileId: { state: !0 }
|
|
400
|
-
};
|
|
401
|
-
}
|
|
402
|
-
get instructionsId() {
|
|
403
|
-
return `${this.instanceId}-instructions`;
|
|
404
|
-
}
|
|
405
|
-
render() {
|
|
406
|
-
const t = this.previewLayout ?? this.tiles.map((i) => ({ id: i.id, position: i.position })), e = new Map(this.tiles.map((i) => [i.id, i])), o = this.computeGridStyle();
|
|
407
|
-
return f`
|
|
186
|
+
var b = i(":host {\n display: block;\n position: relative;\n box-sizing: border-box;\n width: 100%;\n contain: layout paint style;\n --bs-tile-radius: 0.5rem;\n --bs-tile-bg: var(--bs-body-bg, #fff);\n --bs-tile-border: var(--bs-border-color, #dee2e6);\n --bs-tile-shadow: var(--bs-box-shadow-sm, 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075));\n --bs-tile-handle-color: var(--bs-secondary, #6c757d);\n --bs-tile-blocked-color: var(--bs-danger, #dc3545);\n}\n\n.tile-grid {\n display: grid;\n grid-auto-rows: var(--mp-tile-row-height, 8rem);\n gap: var(--mp-tile-gap, 0.5rem);\n width: 100%;\n position: relative;\n}\n\n.tile {\n position: relative;\n display: flex;\n flex-direction: column;\n background: var(--bs-tile-bg);\n border: 1px solid var(--bs-tile-border);\n border-radius: var(--bs-tile-radius);\n box-shadow: var(--bs-tile-shadow);\n overflow: hidden;\n min-width: 0;\n min-height: 0;\n transition: transform 150ms cubic-bezier(0.2, 0, 0, 1);\n will-change: transform;\n}\n\n.tile[data-dragging=true] {\n z-index: 5;\n cursor: grabbing;\n box-shadow: var(--bs-box-shadow, 0 0.5rem 1rem rgba(0, 0, 0, 0.15));\n transition: none;\n}\n\n.tile[data-resizing=true] {\n z-index: 4;\n transition: width 150ms cubic-bezier(0.2, 0, 0, 1), height 150ms cubic-bezier(0.2, 0, 0, 1);\n}\n\n.tile[data-blocked=true] {\n outline: 2px solid var(--bs-tile-blocked-color);\n outline-offset: -2px;\n animation: tile-shake 200ms ease-in-out;\n}\n\n@keyframes tile-shake {\n 0%, 100% {\n transform: translateX(0);\n }\n 25% {\n transform: translateX(-3px);\n }\n 75% {\n transform: translateX(3px);\n }\n}\n.tile[data-pressing=true] {\n filter: brightness(0.96);\n transition: filter 100ms ease-out;\n}\n\n.tile__header-shell {\n flex: 0 0 auto;\n user-select: none;\n -webkit-user-select: none;\n -webkit-touch-callout: none;\n cursor: grab;\n}\n\n.tile__header-shell ::slotted(*) {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0.5rem 0.75rem;\n font-size: 0.875rem;\n font-weight: 500;\n color: var(--bs-body-color, inherit);\n background: linear-gradient(to bottom, rgba(var(--bs-primary-rgb, 13, 110, 253), 0.1), rgba(var(--bs-primary-rgb, 13, 110, 253), 0.04));\n border-bottom: 1px solid var(--bs-border-color, #dee2e6);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n touch-action: none;\n user-select: none;\n -webkit-user-select: none;\n -webkit-touch-callout: none;\n}\n\n.tile[data-drag-mode=off] .tile__header-shell,\n.tile[data-locked-move=true] .tile__header-shell {\n cursor: default;\n}\n\n.tile__content-shell {\n flex: 1 1 auto;\n min-width: 0;\n min-height: 0;\n overflow: auto;\n}\n\n.tile__resize-side,\n.tile__resize-bottom,\n.tile__resize-corner {\n position: absolute;\n z-index: 2;\n background: transparent;\n touch-action: none;\n -webkit-user-select: none;\n user-select: none;\n opacity: 0;\n transition: opacity 120ms ease-out;\n}\n\n.tile:hover .tile__resize-side,\n.tile:hover .tile__resize-bottom,\n.tile:hover .tile__resize-corner,\n:host([resize-mode=always]) .tile__resize-side,\n:host([resize-mode=always]) .tile__resize-bottom,\n:host([resize-mode=always]) .tile__resize-corner {\n opacity: 1;\n}\n\n@media (pointer: coarse) {\n .tile__resize-side,\n .tile__resize-bottom,\n .tile__resize-corner {\n opacity: 1;\n }\n}\n.tile__resize-side {\n right: -2px;\n top: 25%;\n bottom: 25%;\n width: 6px;\n cursor: ew-resize;\n}\n\n.tile__resize-bottom {\n left: 25%;\n right: 25%;\n bottom: -2px;\n height: 6px;\n cursor: ns-resize;\n}\n\n.tile__resize-corner {\n right: -2px;\n bottom: -2px;\n width: 14px;\n height: 14px;\n cursor: nwse-resize;\n}\n\n.tile__resize-corner::before {\n content: \"\";\n position: absolute;\n right: 3px;\n bottom: 3px;\n width: 8px;\n height: 8px;\n border-right: 2px solid var(--bs-tile-handle-color);\n border-bottom: 2px solid var(--bs-tile-handle-color);\n border-bottom-right-radius: 2px;\n}\n\n:host([resize-mode=off]) .tile__resize-side,\n:host([resize-mode=off]) .tile__resize-bottom,\n:host([resize-mode=off]) .tile__resize-corner {\n display: none;\n}\n\n.tile[data-locked-resize=true] .tile__resize-side,\n.tile[data-locked-resize=true] .tile__resize-bottom,\n.tile[data-locked-resize=true] .tile__resize-corner {\n display: none;\n}\n\n.tile-grid__live-region,\n.tile-grid__sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .tile {\n transition: none !important;\n }\n .tile[data-blocked=true] {\n animation: none;\n }\n}\n:host(:focus-visible) {\n outline: 2px solid var(--bs-primary, #0d6efd);\n outline-offset: 2px;\n}\n\n.tile:focus-visible {\n outline: 2px solid var(--bs-primary, #0d6efd);\n outline-offset: -2px;\n}"), x = "Press M to enter move mode. In move mode, arrow keys move the tile, Shift with arrow keys resize it, Enter commits, Escape cancels.", S = 0, C = 600, w = 10, T = 150, E = 5, D = class extends t {
|
|
187
|
+
constructor(...t) {
|
|
188
|
+
super(...t), this.tiles = [], this.columnCount = null, this.minColumnWidth = "200px", this.minRowHeight = "8rem", this.gap = "0.5rem", this.dragMode = "header", this.resizeMode = "hover", this.animateReflow = !0, this.label = null, this.gestureState = { kind: "idle" }, this.keyboardState = { kind: "idle" }, this.previewLayout = null, this.gestureKind = "idle", this.blocked = !1, this.effectiveColumnCount = 1, this.focusedTileId = null, this.liveAnnouncer = new e(this), this.instanceId = `mp-tile-manager-${++S}`, this.hostResizeObserver = null, this.flipPreviousRects = /* @__PURE__ */ new Map(), this.cellMetrics = {
|
|
189
|
+
width: 0,
|
|
190
|
+
height: 0,
|
|
191
|
+
gapX: 0,
|
|
192
|
+
gapY: 0
|
|
193
|
+
}, this.onWindowPointerMove = (e) => this.handlePointerMove(e), this.onWindowPointerUp = (e) => this.handlePointerUp(e), this.onWindowPointerCancel = (e) => this.handlePointerCancel(e), this.onWindowKeyDown = (e) => this.handleEscapeKey(e), this.onVisibilityChange = () => {
|
|
194
|
+
document.visibilityState === "hidden" && this.cancelGesture();
|
|
195
|
+
}, this.lastPointerPosition = null;
|
|
196
|
+
}
|
|
197
|
+
static {
|
|
198
|
+
this.styles = [b];
|
|
199
|
+
}
|
|
200
|
+
static get observedAttributes() {
|
|
201
|
+
return [
|
|
202
|
+
...super.observedAttributes ?? [],
|
|
203
|
+
"column-count",
|
|
204
|
+
"min-column-width",
|
|
205
|
+
"min-row-height",
|
|
206
|
+
"gap",
|
|
207
|
+
"drag-mode",
|
|
208
|
+
"resize-mode",
|
|
209
|
+
"animate-reflow",
|
|
210
|
+
"label"
|
|
211
|
+
];
|
|
212
|
+
}
|
|
213
|
+
static {
|
|
214
|
+
this.properties = {
|
|
215
|
+
tiles: { attribute: !1 },
|
|
216
|
+
columnCount: {
|
|
217
|
+
attribute: "column-count",
|
|
218
|
+
type: Number
|
|
219
|
+
},
|
|
220
|
+
minColumnWidth: {
|
|
221
|
+
attribute: "min-column-width",
|
|
222
|
+
type: String
|
|
223
|
+
},
|
|
224
|
+
minRowHeight: {
|
|
225
|
+
attribute: "min-row-height",
|
|
226
|
+
type: String
|
|
227
|
+
},
|
|
228
|
+
gap: {
|
|
229
|
+
attribute: "gap",
|
|
230
|
+
type: String
|
|
231
|
+
},
|
|
232
|
+
dragMode: {
|
|
233
|
+
attribute: "drag-mode",
|
|
234
|
+
type: String,
|
|
235
|
+
reflect: !0
|
|
236
|
+
},
|
|
237
|
+
resizeMode: {
|
|
238
|
+
attribute: "resize-mode",
|
|
239
|
+
type: String,
|
|
240
|
+
reflect: !0
|
|
241
|
+
},
|
|
242
|
+
animateReflow: {
|
|
243
|
+
attribute: "animate-reflow",
|
|
244
|
+
type: Boolean
|
|
245
|
+
},
|
|
246
|
+
label: {
|
|
247
|
+
attribute: "label",
|
|
248
|
+
type: String
|
|
249
|
+
},
|
|
250
|
+
previewLayout: { state: !0 },
|
|
251
|
+
gestureKind: { state: !0 },
|
|
252
|
+
blocked: { state: !0 },
|
|
253
|
+
focusedTileId: { state: !0 }
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
get instructionsId() {
|
|
257
|
+
return `${this.instanceId}-instructions`;
|
|
258
|
+
}
|
|
259
|
+
render() {
|
|
260
|
+
let e = this.previewLayout ?? this.tiles.map((e) => ({
|
|
261
|
+
id: e.id,
|
|
262
|
+
position: e.position
|
|
263
|
+
})), t = new Map(this.tiles.map((e) => [e.id, e])), i = this.computeGridStyle();
|
|
264
|
+
return n`
|
|
408
265
|
<div
|
|
409
266
|
class="tile-grid"
|
|
410
267
|
role="region"
|
|
411
268
|
aria-label=${this.label ?? "Tile board"}
|
|
412
|
-
style=${
|
|
269
|
+
style=${i}
|
|
413
270
|
>
|
|
414
|
-
${
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
271
|
+
${e.map((e) => {
|
|
272
|
+
let n = t.get(e.id);
|
|
273
|
+
return n ? this.renderTile(n, e.position) : r;
|
|
274
|
+
})}
|
|
418
275
|
</div>
|
|
419
|
-
<div id=${this.instructionsId} class="tile-grid__sr-only">${
|
|
276
|
+
<div id=${this.instructionsId} class="tile-grid__sr-only">${x}</div>
|
|
420
277
|
${this.liveAnnouncer.template()}
|
|
421
278
|
`;
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
279
|
+
}
|
|
280
|
+
renderTile(e, t) {
|
|
281
|
+
let i = this.gestureKind === "drag" && this.activeTileId() === e.id, a = this.gestureKind === "resize" && this.activeTileId() === e.id, o = (i || a) && this.blocked, s = this.gestureKind === "arming-touch-drag" && this.activeTileId() === e.id, c = this.computeActiveTransform(e.id), l = this.cellMetrics, u = a && l.width > 0 ? {
|
|
282
|
+
width: t.colSpan * l.width + (t.colSpan - 1) * l.gapX,
|
|
283
|
+
height: t.rowSpan * l.height + (t.rowSpan - 1) * l.gapY
|
|
284
|
+
} : null, d = [
|
|
285
|
+
`grid-column: ${t.colStart} / span ${t.colSpan}`,
|
|
286
|
+
`grid-row: ${t.rowStart} / span ${t.rowSpan}`,
|
|
287
|
+
c ? `transform: ${c}` : "",
|
|
288
|
+
u ? `width: ${u.width}px` : "",
|
|
289
|
+
u ? `height: ${u.height}px` : ""
|
|
290
|
+
].filter(Boolean).join("; "), f = this.resolveFocusableTileId() === e.id;
|
|
291
|
+
return n`
|
|
435
292
|
<div
|
|
436
293
|
class="tile"
|
|
437
294
|
role="button"
|
|
438
|
-
tabindex=${
|
|
439
|
-
aria-describedby=${
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
data-
|
|
446
|
-
data-dragging=${o ? "true" : "false"}
|
|
447
|
-
data-resizing=${i ? "true" : "false"}
|
|
448
|
-
data-blocked=${n ? "true" : "false"}
|
|
449
|
-
data-pressing=${r ? "true" : "false"}
|
|
295
|
+
tabindex=${f ? "0" : "-1"}
|
|
296
|
+
aria-describedby=${this.instructionsId}
|
|
297
|
+
aria-pressed=${this.keyboardState.kind === "move" && this.keyboardState.tileId === e.id ? "true" : "false"}
|
|
298
|
+
data-tile-id=${e.id}
|
|
299
|
+
data-dragging=${i ? "true" : "false"}
|
|
300
|
+
data-resizing=${a ? "true" : "false"}
|
|
301
|
+
data-blocked=${o ? "true" : "false"}
|
|
302
|
+
data-pressing=${s ? "true" : "false"}
|
|
450
303
|
data-drag-mode=${this.dragMode}
|
|
451
|
-
data-locked-move=${
|
|
452
|
-
data-locked-resize=${
|
|
453
|
-
aria-label=${
|
|
454
|
-
style=${
|
|
455
|
-
@pointerdown=${(
|
|
456
|
-
@keydown=${(
|
|
457
|
-
@focus=${() => this.onTileFocus(
|
|
304
|
+
data-locked-move=${e.disableMove ? "true" : "false"}
|
|
305
|
+
data-locked-resize=${e.disableResize ? "true" : "false"}
|
|
306
|
+
aria-label=${e.label ?? r}
|
|
307
|
+
style=${d}
|
|
308
|
+
@pointerdown=${(t) => this.onTilePointerDown(t, e)}
|
|
309
|
+
@keydown=${(t) => this.onTileKeyDown(t, e)}
|
|
310
|
+
@focus=${() => this.onTileFocus(e)}
|
|
458
311
|
>
|
|
459
312
|
<div class="tile__header-shell">
|
|
460
|
-
<slot name=${`${
|
|
313
|
+
<slot name=${`${e.id}-header`}></slot>
|
|
461
314
|
</div>
|
|
462
315
|
<div class="tile__content-shell">
|
|
463
|
-
<slot name=${`${
|
|
316
|
+
<slot name=${`${e.id}-content`}></slot>
|
|
464
317
|
</div>
|
|
465
|
-
${
|
|
318
|
+
${e.disableResize || this.resizeMode === "off" ? r : n`
|
|
466
319
|
<div class="tile__resize-side" data-resize="side"
|
|
467
|
-
@pointerdown=${(
|
|
320
|
+
@pointerdown=${(t) => this.onResizeHandlePointerDown(t, e, "side")}></div>
|
|
468
321
|
<div class="tile__resize-bottom" data-resize="bottom"
|
|
469
|
-
@pointerdown=${(
|
|
322
|
+
@pointerdown=${(t) => this.onResizeHandlePointerDown(t, e, "bottom")}></div>
|
|
470
323
|
<div class="tile__resize-corner" data-resize="corner"
|
|
471
|
-
@pointerdown=${(
|
|
324
|
+
@pointerdown=${(t) => this.onResizeHandlePointerDown(t, e, "corner")}></div>
|
|
472
325
|
`}
|
|
473
326
|
</div>
|
|
474
327
|
`;
|
|
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
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
o ? `Tile resized to ${a.colSpan} columns by ${a.rowSpan} rows` : `Tile moved to row ${a.rowStart}, column ${a.colStart}`
|
|
917
|
-
);
|
|
918
|
-
}
|
|
919
|
-
}
|
|
920
|
-
typeof customElements < "u" && !customElements.get("mp-tile-manager") && customElements.define("mp-tile-manager", X);
|
|
921
|
-
export {
|
|
922
|
-
X as MintTileManagerElement,
|
|
923
|
-
v as pack,
|
|
924
|
-
w as rectsOverlap
|
|
328
|
+
}
|
|
329
|
+
computeGridStyle() {
|
|
330
|
+
return [
|
|
331
|
+
`grid-template-columns: ${this.columnCount && this.columnCount > 0 ? `repeat(${this.columnCount}, minmax(0, 1fr))` : `repeat(auto-fit, minmax(${this.minColumnWidth}, 1fr))`}`,
|
|
332
|
+
`--mp-tile-row-height: ${this.minRowHeight}`,
|
|
333
|
+
`--mp-tile-gap: ${this.gap}`
|
|
334
|
+
].join("; ");
|
|
335
|
+
}
|
|
336
|
+
updateLayoutCache() {
|
|
337
|
+
let e = this.shadowRoot?.querySelector(".tile-grid");
|
|
338
|
+
if (!e) {
|
|
339
|
+
this.effectiveColumnCount = this.columnCount && this.columnCount > 0 ? this.columnCount : 1;
|
|
340
|
+
return;
|
|
341
|
+
}
|
|
342
|
+
let t = getComputedStyle(e);
|
|
343
|
+
if (this.columnCount && this.columnCount > 0) this.effectiveColumnCount = this.columnCount;
|
|
344
|
+
else {
|
|
345
|
+
let e = t.gridTemplateColumns.split(/\s+/).filter(Boolean);
|
|
346
|
+
this.effectiveColumnCount = Math.max(1, e.length);
|
|
347
|
+
}
|
|
348
|
+
let n = e.getBoundingClientRect(), r = this.effectiveColumnCount, i = parseFloat(t.columnGap) || 0, a = parseFloat(t.rowGap) || 0, o = (n.width - (r - 1) * i) / r, s = parseFloat(t.gridAutoRows) || n.width / r;
|
|
349
|
+
this.cellMetrics = {
|
|
350
|
+
width: o,
|
|
351
|
+
height: s,
|
|
352
|
+
gapX: i,
|
|
353
|
+
gapY: a
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
computeActiveTransform(e) {
|
|
357
|
+
let t = this.gestureState;
|
|
358
|
+
if (t.kind !== "drag" || t.tileId !== e) return null;
|
|
359
|
+
let n = this.lastPointerPosition;
|
|
360
|
+
if (!n) return null;
|
|
361
|
+
let r = this.shadowRoot?.querySelector(".tile-grid");
|
|
362
|
+
if (!r) return null;
|
|
363
|
+
let i = v(this.dragPointer(r, t, n), t.currentRect, this.cellMetrics);
|
|
364
|
+
return `translate(${i.x}px, ${i.y}px)`;
|
|
365
|
+
}
|
|
366
|
+
dragPointer(e, t, n) {
|
|
367
|
+
let r = e.getBoundingClientRect();
|
|
368
|
+
return {
|
|
369
|
+
pointer: n,
|
|
370
|
+
gridOrigin: {
|
|
371
|
+
x: r.left,
|
|
372
|
+
y: r.top
|
|
373
|
+
},
|
|
374
|
+
pointerOffset: {
|
|
375
|
+
x: t.pointerOffset.dx,
|
|
376
|
+
y: t.pointerOffset.dy
|
|
377
|
+
}
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
connectedCallback() {
|
|
381
|
+
super.connectedCallback(), document.addEventListener("visibilitychange", this.onVisibilityChange);
|
|
382
|
+
}
|
|
383
|
+
disconnectedCallback() {
|
|
384
|
+
this.cancelGesture(), this.detachWindowListeners(), document.removeEventListener("visibilitychange", this.onVisibilityChange), this.hostResizeObserver?.disconnect(), this.hostResizeObserver = null, super.disconnectedCallback();
|
|
385
|
+
}
|
|
386
|
+
firstUpdated() {
|
|
387
|
+
this.updateLayoutCache();
|
|
388
|
+
let e = !1;
|
|
389
|
+
this.hostResizeObserver = new ResizeObserver(() => {
|
|
390
|
+
e || (e = !0, requestAnimationFrame(() => {
|
|
391
|
+
e = !1, this.updateLayoutCache();
|
|
392
|
+
}));
|
|
393
|
+
}), this.hostResizeObserver.observe(this);
|
|
394
|
+
}
|
|
395
|
+
attributeChangedCallback(e, t, n) {
|
|
396
|
+
super.attributeChangedCallback(e, t, n), e === "animate-reflow" && (this.animateReflow = n !== null && n !== "false" && n !== "0");
|
|
397
|
+
}
|
|
398
|
+
willUpdate(e) {
|
|
399
|
+
if (!this.shouldAnimate()) {
|
|
400
|
+
this.flipPreviousRects.clear();
|
|
401
|
+
return;
|
|
402
|
+
}
|
|
403
|
+
let t = this.shadowRoot?.querySelector(".tile-grid");
|
|
404
|
+
t && (this.flipPreviousRects.clear(), t.querySelectorAll(".tile").forEach((e) => {
|
|
405
|
+
let t = e.dataset.tileId;
|
|
406
|
+
t && this.flipPreviousRects.set(t, e.getBoundingClientRect());
|
|
407
|
+
}));
|
|
408
|
+
}
|
|
409
|
+
updated(e) {
|
|
410
|
+
if ((e.has("columnCount") || e.has("minColumnWidth") || e.has("minRowHeight") || e.has("gap")) && this.updateLayoutCache(), !this.shouldAnimate() || this.flipPreviousRects.size === 0) return;
|
|
411
|
+
let t = this.shadowRoot?.querySelector(".tile-grid");
|
|
412
|
+
if (!t) return;
|
|
413
|
+
let n = this.activeTileId();
|
|
414
|
+
t.querySelectorAll(".tile").forEach((e) => {
|
|
415
|
+
let t = e.dataset.tileId;
|
|
416
|
+
if (!t || t === n) return;
|
|
417
|
+
let r = this.flipPreviousRects.get(t);
|
|
418
|
+
if (!r) return;
|
|
419
|
+
let i = e.getBoundingClientRect(), a = r.left - i.left, o = r.top - i.top;
|
|
420
|
+
if (Math.abs(a) < .5 && Math.abs(o) < .5) return;
|
|
421
|
+
let s = e.style.transition;
|
|
422
|
+
e.style.transition = "none", e.style.transform = `translate(${a}px, ${o}px)`, requestAnimationFrame(() => {
|
|
423
|
+
e.style.transition = s, e.style.transform = "";
|
|
424
|
+
});
|
|
425
|
+
}), this.flipPreviousRects.clear();
|
|
426
|
+
}
|
|
427
|
+
shouldAnimate() {
|
|
428
|
+
return !this.animateReflow || typeof window > "u" || typeof window.matchMedia != "function" ? !1 : !window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
429
|
+
}
|
|
430
|
+
onTilePointerDown(e, t) {
|
|
431
|
+
(e.button === 0 || e.pointerType !== "mouse") && this.gestureState.kind === "idle" && (this.dragMode === "off" || t.disableMove || (this.dragMode !== "header" && e.pointerType !== "touch" || e.composedPath().some((e) => e instanceof HTMLElement && e.classList?.contains("tile__header-shell"))) && (e.pointerType === "touch" ? this.armTouchDrag(e, t) : this.armPointerDrag(e, t)));
|
|
432
|
+
}
|
|
433
|
+
onResizeHandlePointerDown(e, t, n) {
|
|
434
|
+
(e.button === 0 || e.pointerType !== "mouse") && (t.disableResize || this.resizeMode === "off" || this.gestureState.kind === "idle" && (e.stopPropagation(), e.preventDefault(), this.beginResize(e, t, n)));
|
|
435
|
+
}
|
|
436
|
+
armPointerDrag(e, t) {
|
|
437
|
+
let n = e.clientX, r = e.clientY, i = (o) => {
|
|
438
|
+
if (o.pointerId !== e.pointerId) return;
|
|
439
|
+
let s = o.clientX - n, c = o.clientY - r;
|
|
440
|
+
Math.hypot(s, c) >= E && (window.removeEventListener("pointermove", i), window.removeEventListener("pointerup", a), window.removeEventListener("pointercancel", a), this.beginDrag(o, t));
|
|
441
|
+
}, a = (t) => {
|
|
442
|
+
t.pointerId === e.pointerId && (window.removeEventListener("pointermove", i), window.removeEventListener("pointerup", a), window.removeEventListener("pointercancel", a));
|
|
443
|
+
};
|
|
444
|
+
window.addEventListener("pointermove", i), window.addEventListener("pointerup", a), window.addEventListener("pointercancel", a);
|
|
445
|
+
}
|
|
446
|
+
armTouchDrag(e, t) {
|
|
447
|
+
let n = e.clientX, r = e.clientY, i = e.pointerId, a = window.setTimeout(() => {
|
|
448
|
+
this.gestureState.kind === "arming-touch-drag" && this.gestureState.pointerId === i && this.requestUpdate();
|
|
449
|
+
}, T), o = window.setTimeout(() => {
|
|
450
|
+
if (this.gestureState.kind === "arming-touch-drag" && this.gestureState.pointerId === i) {
|
|
451
|
+
this.cleanupTouchArming();
|
|
452
|
+
try {
|
|
453
|
+
navigator.vibrate?.(10);
|
|
454
|
+
} catch {}
|
|
455
|
+
this.beginDragFromTouchArm(t, n, r, i);
|
|
456
|
+
}
|
|
457
|
+
}, C);
|
|
458
|
+
this.gestureState = {
|
|
459
|
+
kind: "arming-touch-drag",
|
|
460
|
+
pointerId: i,
|
|
461
|
+
tileId: t.id,
|
|
462
|
+
startX: n,
|
|
463
|
+
startY: r,
|
|
464
|
+
timer: o,
|
|
465
|
+
pressingTimer: a
|
|
466
|
+
}, this.gestureKind = "arming-touch-drag";
|
|
467
|
+
let s = (e) => {
|
|
468
|
+
if (e.pointerId !== i || this.gestureState.kind !== "arming-touch-drag") return;
|
|
469
|
+
let t = e.clientX - n, a = e.clientY - r;
|
|
470
|
+
Math.hypot(t, a) > w && (this.cleanupTouchArming(), window.removeEventListener("pointermove", s), window.removeEventListener("pointerup", c), window.removeEventListener("pointercancel", c));
|
|
471
|
+
}, c = (e) => {
|
|
472
|
+
e.pointerId === i && (this.gestureState.kind === "arming-touch-drag" && this.cleanupTouchArming(), window.removeEventListener("pointermove", s), window.removeEventListener("pointerup", c), window.removeEventListener("pointercancel", c));
|
|
473
|
+
};
|
|
474
|
+
window.addEventListener("pointermove", s), window.addEventListener("pointerup", c), window.addEventListener("pointercancel", c);
|
|
475
|
+
}
|
|
476
|
+
cleanupTouchArming() {
|
|
477
|
+
if (this.gestureState.kind !== "arming-touch-drag") return;
|
|
478
|
+
let { timer: e, pressingTimer: t } = this.gestureState;
|
|
479
|
+
e !== null && window.clearTimeout(e), t !== null && window.clearTimeout(t), this.gestureState = { kind: "idle" }, this.gestureKind = "idle", this.requestUpdate();
|
|
480
|
+
}
|
|
481
|
+
beginDragFromTouchArm(e, t, n, r) {
|
|
482
|
+
this.startDrag(e, r, t, n) && this.requestUpdate();
|
|
483
|
+
}
|
|
484
|
+
beginDrag(e, t) {
|
|
485
|
+
this.startDrag(t, e.pointerId, e.clientX, e.clientY) && this.runPackerForCurrentGesture();
|
|
486
|
+
}
|
|
487
|
+
startDrag(e, t, n, r) {
|
|
488
|
+
this.updateLayoutCache();
|
|
489
|
+
let i = this.shadowRoot?.querySelector(".tile-grid");
|
|
490
|
+
if (!i) return !1;
|
|
491
|
+
let a = i.getBoundingClientRect(), o = h(e.position, this.cellMetrics);
|
|
492
|
+
return this.gestureState = {
|
|
493
|
+
kind: "drag",
|
|
494
|
+
pointerId: t,
|
|
495
|
+
tileId: e.id,
|
|
496
|
+
pointerOffset: {
|
|
497
|
+
dx: n - (a.left + o.x),
|
|
498
|
+
dy: r - (a.top + o.y)
|
|
499
|
+
},
|
|
500
|
+
currentRect: { ...e.position },
|
|
501
|
+
blocked: !1
|
|
502
|
+
}, this.gestureKind = "drag", this.lastPointerPosition = {
|
|
503
|
+
x: n,
|
|
504
|
+
y: r
|
|
505
|
+
}, this.attachWindowListeners(), this.announceDragBegin(e), !0;
|
|
506
|
+
}
|
|
507
|
+
beginResize(e, t, n) {
|
|
508
|
+
this.gestureState = {
|
|
509
|
+
kind: "resize",
|
|
510
|
+
pointerId: e.pointerId,
|
|
511
|
+
tileId: t.id,
|
|
512
|
+
mode: n,
|
|
513
|
+
startPointer: {
|
|
514
|
+
x: e.clientX,
|
|
515
|
+
y: e.clientY
|
|
516
|
+
},
|
|
517
|
+
startSpans: {
|
|
518
|
+
colSpan: t.position.colSpan,
|
|
519
|
+
rowSpan: t.position.rowSpan
|
|
520
|
+
},
|
|
521
|
+
currentRect: { ...t.position },
|
|
522
|
+
blocked: !1
|
|
523
|
+
}, this.gestureKind = "resize", this.lastPointerPosition = {
|
|
524
|
+
x: e.clientX,
|
|
525
|
+
y: e.clientY
|
|
526
|
+
}, this.attachWindowListeners(), this.announceResizeBegin(t), this.runPackerForCurrentGesture();
|
|
527
|
+
}
|
|
528
|
+
announceDragBegin(e) {
|
|
529
|
+
let t = e.label ?? `tile at row ${e.position.rowStart}, column ${e.position.colStart}`;
|
|
530
|
+
this.liveAnnouncer.announce(`Dragging ${t}.`);
|
|
531
|
+
}
|
|
532
|
+
announceResizeBegin(e) {
|
|
533
|
+
let t = e.label ?? `tile at row ${e.position.rowStart}, column ${e.position.colStart}`;
|
|
534
|
+
this.liveAnnouncer.announce(`Resizing ${t}.`);
|
|
535
|
+
}
|
|
536
|
+
attachWindowListeners() {
|
|
537
|
+
window.addEventListener("pointermove", this.onWindowPointerMove), window.addEventListener("pointerup", this.onWindowPointerUp), window.addEventListener("pointercancel", this.onWindowPointerCancel), window.addEventListener("keydown", this.onWindowKeyDown);
|
|
538
|
+
}
|
|
539
|
+
detachWindowListeners() {
|
|
540
|
+
window.removeEventListener("pointermove", this.onWindowPointerMove), window.removeEventListener("pointerup", this.onWindowPointerUp), window.removeEventListener("pointercancel", this.onWindowPointerCancel), window.removeEventListener("keydown", this.onWindowKeyDown);
|
|
541
|
+
}
|
|
542
|
+
handleEscapeKey(e) {
|
|
543
|
+
e.key === "Escape" && this.gestureState.kind !== "idle" && (e.preventDefault(), this.cancelGesture());
|
|
544
|
+
}
|
|
545
|
+
handlePointerMove(e) {
|
|
546
|
+
let t = this.gestureState;
|
|
547
|
+
t.kind !== "idle" && t.kind !== "arming-touch-drag" && e.pointerId === t.pointerId && (this.lastPointerPosition = {
|
|
548
|
+
x: e.clientX,
|
|
549
|
+
y: e.clientY
|
|
550
|
+
}, this.runPackerForCurrentGesture());
|
|
551
|
+
}
|
|
552
|
+
handlePointerUp(e) {
|
|
553
|
+
let t = this.gestureState;
|
|
554
|
+
t.kind !== "idle" && t.kind !== "arming-touch-drag" && e.pointerId === t.pointerId && (t.blocked ? this.cancelGesture("blocked") : this.commitGesture());
|
|
555
|
+
}
|
|
556
|
+
handlePointerCancel(e) {
|
|
557
|
+
let t = this.gestureState;
|
|
558
|
+
t.kind !== "idle" && (t.kind === "arming-touch-drag" || e.pointerId === t.pointerId) && this.cancelGesture();
|
|
559
|
+
}
|
|
560
|
+
runPackerForCurrentGesture() {
|
|
561
|
+
let e = this.gestureState;
|
|
562
|
+
if (e.kind !== "drag" && e.kind !== "resize") return;
|
|
563
|
+
let t = this.tiles.find((t) => t.id === e.tileId);
|
|
564
|
+
if (!t) {
|
|
565
|
+
this.cancelGesture();
|
|
566
|
+
return;
|
|
567
|
+
}
|
|
568
|
+
let n = e.kind === "drag" ? this.computeDragRect(e, t) : this.computeResizeRect(e, t);
|
|
569
|
+
if (!n) return;
|
|
570
|
+
e.currentRect = n;
|
|
571
|
+
let r = this.effectiveColumnCount, i = o(this.tiles.map((e) => ({
|
|
572
|
+
id: e.id,
|
|
573
|
+
position: e.position,
|
|
574
|
+
locked: !!e.disableMove
|
|
575
|
+
})), {
|
|
576
|
+
id: t.id,
|
|
577
|
+
rect: n
|
|
578
|
+
}, r);
|
|
579
|
+
this.previewLayout = i.layout;
|
|
580
|
+
let a = e.blocked;
|
|
581
|
+
e.blocked = i.blocked, i.blocked && !a && this.liveAnnouncer.announce("Move blocked by a locked tile."), this.blocked = i.blocked, this.requestUpdate();
|
|
582
|
+
}
|
|
583
|
+
computeDragRect(e, t) {
|
|
584
|
+
let n = this.shadowRoot?.querySelector(".tile-grid");
|
|
585
|
+
if (!n) return null;
|
|
586
|
+
let r = this.lastPointerPosition;
|
|
587
|
+
return r ? _(this.dragPointer(n, e, r), t.position, this.cellMetrics, this.effectiveColumnCount) : null;
|
|
588
|
+
}
|
|
589
|
+
computeResizeRect(e, t) {
|
|
590
|
+
let n = this.lastPointerPosition;
|
|
591
|
+
if (!n) return null;
|
|
592
|
+
let r = y({
|
|
593
|
+
x: n.x - e.startPointer.x,
|
|
594
|
+
y: n.y - e.startPointer.y
|
|
595
|
+
}, e.mode, e.startSpans, t.position.colStart, this.cellMetrics, this.effectiveColumnCount);
|
|
596
|
+
return r ? {
|
|
597
|
+
colStart: t.position.colStart,
|
|
598
|
+
rowStart: t.position.rowStart,
|
|
599
|
+
...r
|
|
600
|
+
} : null;
|
|
601
|
+
}
|
|
602
|
+
commitGesture() {
|
|
603
|
+
let e = this.gestureState;
|
|
604
|
+
if (e.kind !== "drag" && e.kind !== "resize") return;
|
|
605
|
+
let t = this.previewLayout;
|
|
606
|
+
if (!t) {
|
|
607
|
+
this.cleanupGesture();
|
|
608
|
+
return;
|
|
609
|
+
}
|
|
610
|
+
let n = new Map(this.tiles.map((e) => [e.id, e.position])), r = this.tiles.map((e) => {
|
|
611
|
+
let n = t.find((t) => t.id === e.id);
|
|
612
|
+
return n ? {
|
|
613
|
+
...e,
|
|
614
|
+
position: n.position
|
|
615
|
+
} : e;
|
|
616
|
+
});
|
|
617
|
+
this.tiles = r, t.forEach((e) => {
|
|
618
|
+
let t = n.get(e.id);
|
|
619
|
+
(!t || !this.positionsEqual(t, e.position)) && this.dispatchEvent(new CustomEvent("tilepositionchange", {
|
|
620
|
+
detail: {
|
|
621
|
+
id: e.id,
|
|
622
|
+
position: e.position
|
|
623
|
+
},
|
|
624
|
+
bubbles: !1,
|
|
625
|
+
composed: !0
|
|
626
|
+
}));
|
|
627
|
+
}), this.dispatchEvent(new CustomEvent("tilelayoutchange", {
|
|
628
|
+
detail: this.cloneSnapshot(t),
|
|
629
|
+
bubbles: !1,
|
|
630
|
+
composed: !0
|
|
631
|
+
}));
|
|
632
|
+
let i = t.find((t) => t.id === e.tileId);
|
|
633
|
+
i && this.liveAnnouncer.announce(e.kind === "drag" ? `Tile moved to row ${i.position.rowStart}, column ${i.position.colStart}` : `Tile resized to ${i.position.colSpan} columns by ${i.position.rowSpan} rows`), this.cleanupGesture();
|
|
634
|
+
}
|
|
635
|
+
cancelGesture(e = "cancel") {
|
|
636
|
+
let t = this.gestureState;
|
|
637
|
+
e === "blocked" && (t.kind === "drag" || t.kind === "resize") && this.dispatchEvent(new CustomEvent("tilegestureblocked", {
|
|
638
|
+
detail: {
|
|
639
|
+
id: t.tileId,
|
|
640
|
+
reason: "locked-overlap"
|
|
641
|
+
},
|
|
642
|
+
bubbles: !1,
|
|
643
|
+
composed: !0
|
|
644
|
+
})), this.cleanupGesture();
|
|
645
|
+
}
|
|
646
|
+
cleanupGesture() {
|
|
647
|
+
this.gestureState.kind === "arming-touch-drag" && this.cleanupTouchArming(), this.detachWindowListeners(), this.gestureState = { kind: "idle" }, this.gestureKind = "idle", this.previewLayout = null, this.blocked = !1, this.lastPointerPosition = null, this.requestUpdate();
|
|
648
|
+
}
|
|
649
|
+
positionsEqual(e, t) {
|
|
650
|
+
return e.colStart === t.colStart && e.rowStart === t.rowStart && e.colSpan === t.colSpan && e.rowSpan === t.rowSpan;
|
|
651
|
+
}
|
|
652
|
+
cloneSnapshot(e) {
|
|
653
|
+
return e.map((e) => ({
|
|
654
|
+
id: e.id,
|
|
655
|
+
position: { ...e.position }
|
|
656
|
+
}));
|
|
657
|
+
}
|
|
658
|
+
activeTileId() {
|
|
659
|
+
let e = this.gestureState;
|
|
660
|
+
return e.kind === "drag" || e.kind === "resize" || e.kind === "arming-touch-drag" ? e.tileId : null;
|
|
661
|
+
}
|
|
662
|
+
captureLayout() {
|
|
663
|
+
return this.tiles.map((e) => ({
|
|
664
|
+
id: e.id,
|
|
665
|
+
position: { ...e.position }
|
|
666
|
+
}));
|
|
667
|
+
}
|
|
668
|
+
get isGestureActive() {
|
|
669
|
+
return this.gestureState.kind === "drag" || this.gestureState.kind === "resize";
|
|
670
|
+
}
|
|
671
|
+
onTileKeyDown(e, t) {
|
|
672
|
+
let n = this.keyboardState;
|
|
673
|
+
if (n.kind === "idle") {
|
|
674
|
+
if (e.key === "m" || e.key === "M") {
|
|
675
|
+
if (t.disableMove && t.disableResize) return;
|
|
676
|
+
e.preventDefault(), this.keyboardState = {
|
|
677
|
+
kind: "move",
|
|
678
|
+
tileId: t.id,
|
|
679
|
+
entryTiles: this.tiles.map((e) => ({
|
|
680
|
+
...e,
|
|
681
|
+
position: { ...e.position }
|
|
682
|
+
}))
|
|
683
|
+
}, this.requestUpdate(), this.liveAnnouncer.announce("Move mode enabled. Use arrow keys to move, Shift with arrow keys to resize, Enter to commit, Escape to cancel.");
|
|
684
|
+
return;
|
|
685
|
+
}
|
|
686
|
+
this.handleFocusNavigation(e, t);
|
|
687
|
+
} else if (n.tileId === t.id) {
|
|
688
|
+
if (e.key === "Escape" || e.key === "Enter") {
|
|
689
|
+
e.preventDefault();
|
|
690
|
+
let t = n.kind === "move" ? n.entryTiles : null;
|
|
691
|
+
this.keyboardState = { kind: "idle" }, this.requestUpdate(), e.key === "Escape" && t && (this.tiles = t, this.requestUpdate(), this.dispatchEvent(new CustomEvent("tilelayoutchange", {
|
|
692
|
+
detail: this.cloneSnapshot(t.map((e) => ({
|
|
693
|
+
id: e.id,
|
|
694
|
+
position: e.position
|
|
695
|
+
}))),
|
|
696
|
+
bubbles: !1,
|
|
697
|
+
composed: !0
|
|
698
|
+
}))), this.liveAnnouncer.announce(e.key === "Enter" ? "Move committed." : "Move cancelled and reverted.");
|
|
699
|
+
} else if (e.key.startsWith("Arrow")) {
|
|
700
|
+
e.preventDefault();
|
|
701
|
+
let n = e.shiftKey;
|
|
702
|
+
this.applyKeyboardStep(t, e.key, n);
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
handleFocusNavigation(e, t) {
|
|
707
|
+
if (e.key !== "ArrowUp" && e.key !== "ArrowDown" && e.key !== "ArrowLeft" && e.key !== "ArrowRight" && e.key !== "Home" && e.key !== "End" || this.tiles.length <= 1) return !1;
|
|
708
|
+
let n = [...this.tiles].sort((e, t) => e.position.rowStart === t.position.rowStart ? e.position.colStart - t.position.colStart : e.position.rowStart - t.position.rowStart), r = n.findIndex((e) => e.id === t.id);
|
|
709
|
+
if (r < 0) return !1;
|
|
710
|
+
let i = r;
|
|
711
|
+
if (i = e.key === "Home" ? 0 : e.key === "End" ? n.length - 1 : e.key === "ArrowRight" || e.key === "ArrowDown" ? (r + 1) % n.length : (r - 1 + n.length) % n.length, i === r) return !0;
|
|
712
|
+
e.preventDefault();
|
|
713
|
+
let a = n[i];
|
|
714
|
+
return this.focusedTileId = a.id, this.requestUpdate(), queueMicrotask(() => {
|
|
715
|
+
(this.shadowRoot?.querySelector(`.tile[data-tile-id="${a.id}"]`))?.focus();
|
|
716
|
+
}), !0;
|
|
717
|
+
}
|
|
718
|
+
onTileFocus(e) {
|
|
719
|
+
this.focusedTileId !== e.id && (this.focusedTileId = e.id, this.requestUpdate());
|
|
720
|
+
}
|
|
721
|
+
resolveFocusableTileId() {
|
|
722
|
+
return this.tiles.length === 0 ? null : this.focusedTileId && this.tiles.some((e) => e.id === this.focusedTileId) ? this.focusedTileId : [...this.tiles].sort((e, t) => e.position.rowStart === t.position.rowStart ? e.position.colStart - t.position.colStart : e.position.rowStart - t.position.rowStart)[0]?.id ?? null;
|
|
723
|
+
}
|
|
724
|
+
applyKeyboardStep(e, t, n) {
|
|
725
|
+
let r = this.effectiveColumnCount, i = t === "ArrowLeft" ? -1 : +(t === "ArrowRight"), a = t === "ArrowUp" ? -1 : +(t === "ArrowDown"), s = n ? {
|
|
726
|
+
colStart: e.position.colStart,
|
|
727
|
+
rowStart: e.position.rowStart,
|
|
728
|
+
colSpan: Math.max(1, Math.min(e.position.colSpan + i, r - e.position.colStart + 1)),
|
|
729
|
+
rowSpan: Math.max(1, e.position.rowSpan + a)
|
|
730
|
+
} : {
|
|
731
|
+
colStart: Math.max(1, Math.min(e.position.colStart + i, r - e.position.colSpan + 1)),
|
|
732
|
+
rowStart: Math.max(1, e.position.rowStart + a),
|
|
733
|
+
colSpan: e.position.colSpan,
|
|
734
|
+
rowSpan: e.position.rowSpan
|
|
735
|
+
}, c = o(this.tiles.map((e) => ({
|
|
736
|
+
id: e.id,
|
|
737
|
+
position: e.position,
|
|
738
|
+
locked: !!e.disableMove
|
|
739
|
+
})), {
|
|
740
|
+
id: e.id,
|
|
741
|
+
rect: s
|
|
742
|
+
}, r);
|
|
743
|
+
if (c.blocked) {
|
|
744
|
+
this.liveAnnouncer.announce("Move blocked.");
|
|
745
|
+
return;
|
|
746
|
+
}
|
|
747
|
+
let l = this.tiles.map((e) => {
|
|
748
|
+
let t = c.layout.find((t) => t.id === e.id);
|
|
749
|
+
return t ? {
|
|
750
|
+
...e,
|
|
751
|
+
position: t.position
|
|
752
|
+
} : e;
|
|
753
|
+
});
|
|
754
|
+
this.tiles = l, this.dispatchEvent(new CustomEvent("tilelayoutchange", {
|
|
755
|
+
detail: this.cloneSnapshot(c.layout),
|
|
756
|
+
bubbles: !1,
|
|
757
|
+
composed: !0
|
|
758
|
+
})), c.layout.forEach((e) => {
|
|
759
|
+
this.dispatchEvent(new CustomEvent("tilepositionchange", {
|
|
760
|
+
detail: {
|
|
761
|
+
id: e.id,
|
|
762
|
+
position: e.position
|
|
763
|
+
},
|
|
764
|
+
bubbles: !1,
|
|
765
|
+
composed: !0
|
|
766
|
+
}));
|
|
767
|
+
}), this.liveAnnouncer.announce(n ? `Tile resized to ${s.colSpan} columns by ${s.rowSpan} rows` : `Tile moved to row ${s.rowStart}, column ${s.colStart}`);
|
|
768
|
+
}
|
|
925
769
|
};
|
|
770
|
+
typeof customElements < "u" && !customElements.get("mp-tile-manager") && customElements.define("mp-tile-manager", D);
|
|
771
|
+
//#endregion
|
|
772
|
+
export { D as MintTileManagerElement, o as pack, a as rectsOverlap };
|