@mintplayer/web-components 2.19.0 → 2.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/a11y/index.mjs +1 -29
- package/accordion/index.mjs +190 -530
- package/calendar/index.mjs +1 -4
- package/card/index.mjs +59 -328
- package/card/src/mp-card.element.d.ts +5 -13
- package/carousel/index.mjs +392 -845
- package/charts/core/index.mjs +502 -32
- package/charts/hierarchy/index.mjs +812 -1197
- package/charts/sparkline/index.mjs +127 -161
- package/charts/trend/index.mjs +306 -411
- package/checkbox/index.mjs +1 -4
- package/chunks/a11y-C6aX-lsZ.mjs +532 -0
- package/chunks/ac-aJXc45zA.mjs +4 -0
- package/chunks/ad-BTMXfwNh.mjs +4 -0
- package/chunks/ae-BrzD6osX.mjs +4 -0
- package/chunks/af-3UZ2_zTj.mjs +4 -0
- package/chunks/ag-KRBsuK2a.mjs +4 -0
- package/chunks/ai-BswLJAYs.mjs +4 -0
- package/chunks/al-wkJnSVxF.mjs +4 -0
- package/chunks/all-flags.generated-DtfbMnSZ.mjs +249 -0
- package/chunks/am-CVqI42UW.mjs +4 -0
- package/chunks/ao-85WVAZW6.mjs +4 -0
- package/chunks/ar-DJGfKADQ.mjs +4 -0
- package/chunks/as-BA11KqFF.mjs +4 -0
- package/chunks/at-BWbwtZ8t.mjs +4 -0
- package/chunks/au-gcOCUxgy.mjs +4 -0
- package/chunks/aw-cquGJK0_.mjs +4 -0
- package/chunks/ax-CqFz-_7-.mjs +4 -0
- package/chunks/az-CtGxDo7C.mjs +4 -0
- package/chunks/ba-Du5giA_b.mjs +4 -0
- package/chunks/bb-Bv08A_ob.mjs +4 -0
- package/chunks/bd-DNB5oj3n.mjs +4 -0
- package/chunks/be-CRVNdrRc.mjs +4 -0
- package/chunks/bf-CkLDaLFq.mjs +4 -0
- package/chunks/bg-5J0EZyQA.mjs +4 -0
- package/chunks/bh-Dm3fVyBc.mjs +4 -0
- package/chunks/bi-BpldTGS9.mjs +4 -0
- package/chunks/bj-Bn2B1hkk.mjs +4 -0
- package/chunks/bl-Dozbp4JI.mjs +4 -0
- package/chunks/bm-DMwDEJDn.mjs +4 -0
- package/chunks/bn-38iFiYIW.mjs +4 -0
- package/chunks/bo-C7Z0bS7Y.mjs +4 -0
- package/chunks/bq-Bp_dK3bp.mjs +4 -0
- package/chunks/br-C1y3qYTo.mjs +4 -0
- package/chunks/bs-DvapNTm6.mjs +4 -0
- package/chunks/bt-4BBK2CzL.mjs +4 -0
- package/chunks/bw-gFoFnfsO.mjs +4 -0
- package/chunks/by-BcXeEIqn.mjs +4 -0
- package/chunks/bz-DiNvPmet.mjs +4 -0
- package/chunks/ca-B6_-P3Ki.mjs +4 -0
- package/chunks/calendar-BufRj_ob.mjs +270 -0
- package/chunks/cc-1.generated-Bz6a4Z5J.mjs +575 -0
- package/chunks/cc-20.generated-B2Zbp_CG.mjs +56 -0
- package/chunks/cc-211.generated-ChWU4ZnK.mjs +27 -0
- package/chunks/cc-212.generated-rW7bueR8.mjs +77 -0
- package/chunks/cc-213.generated-Dk100iVd.mjs +52 -0
- package/chunks/cc-216.generated-Da9XXIxn.mjs +37 -0
- package/chunks/cc-218.generated-B9dPA_jz.mjs +27 -0
- package/chunks/cc-220.generated-BD583LXg.mjs +26 -0
- package/chunks/cc-221.generated-FnrRCGhQ.mjs +41 -0
- package/chunks/cc-222.generated-RIcsN1By.mjs +30 -0
- package/chunks/cc-223.generated-BJYOhmxL.mjs +30 -0
- package/chunks/cc-224.generated-ZVRf4s4P.mjs +40 -0
- package/chunks/cc-225.generated-B37F4h_L.mjs +30 -0
- package/chunks/cc-226.generated-DX6w8SIQ.mjs +26 -0
- package/chunks/cc-227.generated-DWvIJCqw.mjs +35 -0
- package/chunks/cc-228.generated-CYnF-A2j.mjs +26 -0
- package/chunks/cc-229.generated-BHENEfHM.mjs +40 -0
- package/chunks/cc-230.generated-CCkgyUCO.mjs +53 -0
- package/chunks/cc-231.generated-Cy_W19Ec.mjs +50 -0
- package/chunks/cc-232.generated-bZc5ux9j.mjs +27 -0
- package/chunks/cc-233.generated-DtiURqLW.mjs +36 -0
- package/chunks/cc-234.generated-ISth71Yl.mjs +67 -0
- package/chunks/cc-235.generated-PAizMnHl.mjs +27 -0
- package/chunks/cc-236.generated-ZPS5oQTo.mjs +31 -0
- package/chunks/cc-237.generated-fOpKOXN1.mjs +34 -0
- package/chunks/cc-238.generated-DLsZAArj.mjs +36 -0
- package/chunks/cc-239.generated-Dq7UEEQw.mjs +26 -0
- package/chunks/cc-240.generated-B5rtjDFe.mjs +35 -0
- package/chunks/cc-241.generated-C2tPOfsp.mjs +40 -0
- package/chunks/cc-242.generated-12ELhWHE.mjs +35 -0
- package/chunks/cc-243.generated-Co_QscFq.mjs +64 -0
- package/chunks/cc-244.generated-CHVaQJzk.mjs +26 -0
- package/chunks/cc-245.generated-Dlfots5d.mjs +40 -0
- package/chunks/cc-246.generated-ml5FnCdW.mjs +26 -0
- package/chunks/cc-247.generated-D8iUb2b4.mjs +30 -0
- package/chunks/cc-248.generated-ByNbG_tW.mjs +37 -0
- package/chunks/cc-249.generated-B1uFXVYg.mjs +27 -0
- package/chunks/cc-250.generated-Db4-CYfI.mjs +44 -0
- package/chunks/cc-251.generated-Dk9Nsbz4.mjs +27 -0
- package/chunks/cc-252.generated-DzLVy7Wj.mjs +62 -0
- package/chunks/cc-253.generated-BAAxb4Dd.mjs +26 -0
- package/chunks/cc-254.generated-CQb3622R.mjs +55 -0
- package/chunks/cc-255.generated-CkU7A9vn.mjs +57 -0
- package/chunks/cc-256.generated-CPuR1ls2.mjs +46 -0
- package/chunks/cc-257.generated-Bop3IKkH.mjs +26 -0
- package/chunks/cc-258.generated-CrhWzLYO.mjs +34 -0
- package/chunks/cc-260.generated-CM31-F_r.mjs +42 -0
- package/chunks/cc-261.generated-Cc1Yk2ga.mjs +37 -0
- package/chunks/cc-262.generated-iNq4Bsyg.mjs +64 -0
- package/chunks/cc-263.generated-BNSZQW1U.mjs +100 -0
- package/chunks/cc-264.generated-BYq3HF_4.mjs +57 -0
- package/chunks/cc-265.generated-55Al2n2g.mjs +32 -0
- package/chunks/cc-266.generated-CC24vRZU.mjs +30 -0
- package/chunks/cc-267.generated-Cy1cO0r8.mjs +62 -0
- package/chunks/cc-268.generated-CuFPqOA0.mjs +40 -0
- package/chunks/cc-269.generated-CCOchMHW.mjs +31 -0
- package/chunks/cc-27.generated-CgwGi0oo.mjs +77 -0
- package/chunks/cc-290.generated-WRbX8Uzp.mjs +48 -0
- package/chunks/cc-291.generated-CHqtf344.mjs +27 -0
- package/chunks/cc-297.generated-BNaG__hC.mjs +36 -0
- package/chunks/cc-298.generated-BXnC-JHy.mjs +36 -0
- package/chunks/cc-299.generated-B9EtLFYo.mjs +36 -0
- package/chunks/cc-30.generated-JiXqSdPm.mjs +58 -0
- package/chunks/cc-31.generated-T-PhKf6W.mjs +91 -0
- package/chunks/cc-32.generated-3jhsIH05.mjs +58 -0
- package/chunks/cc-33.generated-CKpraBu-.mjs +43 -0
- package/chunks/cc-34.generated-4ZOoUv3E.mjs +41 -0
- package/chunks/cc-350.generated-BZeZIKv3.mjs +26 -0
- package/chunks/cc-351.generated-Ca4DVFZ8.mjs +41 -0
- package/chunks/cc-352.generated-C5JanZQk.mjs +96 -0
- package/chunks/cc-353.generated-BgLwqLra.mjs +98 -0
- package/chunks/cc-354.generated-BgTnQRlC.mjs +41 -0
- package/chunks/cc-355.generated-DGYepZoL.mjs +69 -0
- package/chunks/cc-356.generated-BsVo-WVa.mjs +36 -0
- package/chunks/cc-357.generated-b5F9kBHS.mjs +37 -0
- package/chunks/cc-358.generated-sIEQmG3a.mjs +136 -0
- package/chunks/cc-359.generated-Djbt0V64.mjs +92 -0
- package/chunks/cc-36.generated-GYQWm_pU.mjs +51 -0
- package/chunks/cc-370.generated-CRvXymMq.mjs +62 -0
- package/chunks/cc-371.generated-BR2fz2JU.mjs +37 -0
- package/chunks/cc-372.generated-DNvOnI-D.mjs +53 -0
- package/chunks/cc-373.generated-CIFhOyHu.mjs +52 -0
- package/chunks/cc-374.generated-C3JO10F2.mjs +58 -0
- package/chunks/cc-375.generated-CdSXpaA5.mjs +77 -0
- package/chunks/cc-376.generated-JuZXGLxH.mjs +47 -0
- package/chunks/cc-377.generated-D6OxfwEg.mjs +44 -0
- package/chunks/cc-378.generated-1P6hL48M.mjs +40 -0
- package/chunks/cc-380.generated-DgzzIFUj.mjs +58 -0
- package/chunks/cc-381.generated-D_ItFJFw.mjs +65 -0
- package/chunks/cc-382.generated-DuYOeAO_.mjs +37 -0
- package/chunks/cc-383.generated-R6R6iExY.mjs +58 -0
- package/chunks/cc-385.generated-CsDeMCh1.mjs +77 -0
- package/chunks/cc-386.generated-CprplXRX.mjs +67 -0
- package/chunks/cc-387.generated-7j6TIOUR.mjs +52 -0
- package/chunks/cc-389.generated-BoKyJU1O.mjs +52 -0
- package/chunks/cc-39.generated-CD2WXEy7.mjs +144 -0
- package/chunks/cc-40.generated-BXVz6ZEf.mjs +60 -0
- package/chunks/cc-41.generated-Blq73F9R.mjs +52 -0
- package/chunks/cc-420.generated-CGBM0u2Z.mjs +59 -0
- package/chunks/cc-421.generated-TZXTbujK.mjs +68 -0
- package/chunks/cc-423.generated-0jWk7aQw.mjs +51 -0
- package/chunks/cc-43.generated-CWC77-QL.mjs +124 -0
- package/chunks/cc-44.generated-BjNEEm72.mjs +185 -0
- package/chunks/cc-45.generated-D2fAEViK.mjs +31 -0
- package/chunks/cc-46.generated-Cc7ziKiQ.mjs +151 -0
- package/chunks/cc-47.generated-BfsXOmTn.mjs +68 -0
- package/chunks/cc-48.generated-qLLhGlDM.mjs +80 -0
- package/chunks/cc-49.generated-V5s3zaiK.mjs +207 -0
- package/chunks/cc-500.generated-BthGq2Lz.mjs +22 -0
- package/chunks/cc-501.generated-D3OEBYfs.mjs +34 -0
- package/chunks/cc-502.generated-DuGMlanj.mjs +35 -0
- package/chunks/cc-503.generated-D6WQdJRe.mjs +47 -0
- package/chunks/cc-504.generated-CnaVgqYu.mjs +30 -0
- package/chunks/cc-505.generated-BymEBjCD.mjs +30 -0
- package/chunks/cc-506.generated-DECPXw0C.mjs +40 -0
- package/chunks/cc-507.generated-B3GcK3L_.mjs +48 -0
- package/chunks/cc-508.generated-Dyuwoas9.mjs +45 -0
- package/chunks/cc-509.generated-CFrvVAgw.mjs +36 -0
- package/chunks/cc-51.generated-Chb_sPYg.mjs +59 -0
- package/chunks/cc-52.generated-ByiHdoYn.mjs +42 -0
- package/chunks/cc-53.generated-DJSsiaD5.mjs +63 -0
- package/chunks/cc-54.generated-CHWQhBUJ.mjs +99 -0
- package/chunks/cc-55.generated-B1A8n_Eu.mjs +62 -0
- package/chunks/cc-56.generated-BIagT3im.mjs +86 -0
- package/chunks/cc-57.generated-BI-iKXi5.mjs +56 -0
- package/chunks/cc-58.generated-ChHB0yFM.mjs +35 -0
- package/chunks/cc-590.generated-eh5bgg8N.mjs +96 -0
- package/chunks/cc-591.generated-DtljIXWS.mjs +48 -0
- package/chunks/cc-592.generated-BFJXRJtp.mjs +36 -0
- package/chunks/cc-593.generated-BnzrDC9X.mjs +57 -0
- package/chunks/cc-594.generated-GeVqoxTf.mjs +42 -0
- package/chunks/cc-595.generated-Cb147_Es.mjs +99 -0
- package/chunks/cc-596.generated-Awrujeyi.mjs +42 -0
- package/chunks/cc-597.generated-x82tPU7m.mjs +48 -0
- package/chunks/cc-598.generated-C0CFFA9e.mjs +90 -0
- package/chunks/cc-599.generated-CBNiFVLG.mjs +57 -0
- package/chunks/cc-60.generated-BsEWXQGR.mjs +72 -0
- package/chunks/cc-61.generated-D1GBs6cI.mjs +165 -0
- package/chunks/cc-62.generated-wMxDe6Yk.mjs +121 -0
- package/chunks/cc-63.generated-CdGxow0i.mjs +90 -0
- package/chunks/cc-64.generated-RnYaXyOf.mjs +88 -0
- package/chunks/cc-65.generated-DLu3ZfUr.mjs +57 -0
- package/chunks/cc-66.generated-Bak_QXSf.mjs +55 -0
- package/chunks/cc-670.generated-C99GtcUk.mjs +36 -0
- package/chunks/cc-672.generated-CSfxhA5g.mjs +30 -0
- package/chunks/cc-673.generated-CBepp8Kp.mjs +36 -0
- package/chunks/cc-674.generated-CUruGGLX.mjs +26 -0
- package/chunks/cc-675.generated-CJAYoKiM.mjs +41 -0
- package/chunks/cc-676.generated-D0aVoKBX.mjs +48 -0
- package/chunks/cc-677.generated-CboriHtH.mjs +36 -0
- package/chunks/cc-678.generated-tV4dzsm1.mjs +36 -0
- package/chunks/cc-679.generated-r1SqDRTw.mjs +35 -0
- package/chunks/cc-680.generated-CUJSNlon.mjs +26 -0
- package/chunks/cc-681.generated-CqZqTSzv.mjs +40 -0
- package/chunks/cc-682.generated-DsTDPJJe.mjs +26 -0
- package/chunks/cc-683.generated-C46F0xza.mjs +26 -0
- package/chunks/cc-685.generated-3mzM0WBI.mjs +47 -0
- package/chunks/cc-686.generated-B7jAfSaz.mjs +32 -0
- package/chunks/cc-687.generated-DUkxCl-t.mjs +31 -0
- package/chunks/cc-688.generated-Bwg6wtz6.mjs +42 -0
- package/chunks/cc-689.generated-DIjPyQbi.mjs +52 -0
- package/chunks/cc-690.generated-BkBOgCj0.mjs +27 -0
- package/chunks/cc-691.generated-CRgqR_eS.mjs +26 -0
- package/chunks/cc-692.generated-xoIqpcZG.mjs +36 -0
- package/chunks/cc-7.generated-CVaWdxzG.mjs +99 -0
- package/chunks/cc-81.generated-BsK5UKLx.mjs +100 -0
- package/chunks/cc-82.generated-BcgfVP49.mjs +96 -0
- package/chunks/cc-84.generated-C_NDe2op.mjs +81 -0
- package/chunks/cc-850.generated-5uPEB20Q.mjs +41 -0
- package/chunks/cc-852.generated-Cmcj41zv.mjs +66 -0
- package/chunks/cc-853.generated-5Q5aYzYP.mjs +34 -0
- package/chunks/cc-855.generated-CyoP_AvI.mjs +40 -0
- package/chunks/cc-856.generated-UaGUxAVX.mjs +45 -0
- package/chunks/cc-86.generated-C76vQ-PG.mjs +131 -0
- package/chunks/cc-880.generated-DTQZvOwQ.mjs +63 -0
- package/chunks/cc-886.generated-BlEIkmSb.mjs +89 -0
- package/chunks/cc-90.generated-B6QJof50.mjs +70 -0
- package/chunks/cc-91.generated-BFtdPEFf.mjs +120 -0
- package/chunks/cc-92.generated-Dmc8JLXg.mjs +84 -0
- package/chunks/cc-93.generated-zx8cBy1Z.mjs +27 -0
- package/chunks/cc-94.generated-Blu9IgSY.mjs +40 -0
- package/chunks/cc-95.generated-DCr59wbp.mjs +103 -0
- package/chunks/cc-960.generated-D1_nf00O.mjs +39 -0
- package/chunks/cc-961.generated-DxRflmbQ.mjs +42 -0
- package/chunks/cc-962.generated-DxZQb06J.mjs +58 -0
- package/chunks/cc-963.generated-uiT34jBy.mjs +34 -0
- package/chunks/cc-964.generated-BOKCnQHJ.mjs +45 -0
- package/chunks/cc-965.generated-CxNoEz0A.mjs +34 -0
- package/chunks/cc-966.generated-DhI8Ntyw.mjs +56 -0
- package/chunks/cc-967.generated-ContxwI-.mjs +36 -0
- package/chunks/cc-968.generated-v531jzFw.mjs +47 -0
- package/chunks/cc-970.generated-ChNVoJlm.mjs +55 -0
- package/chunks/cc-971.generated-xlS_839v.mjs +65 -0
- package/chunks/cc-972.generated-C5zT9loz.mjs +87 -0
- package/chunks/cc-973.generated-GoMZ3x5A.mjs +37 -0
- package/chunks/cc-974.generated-CHoLGfhR.mjs +48 -0
- package/chunks/cc-975.generated-BILSPn9k.mjs +30 -0
- package/chunks/cc-976.generated-4w3Zjm18.mjs +66 -0
- package/chunks/cc-977.generated-QcknaTKZ.mjs +48 -0
- package/chunks/cc-98.generated-C8ajgwoF.mjs +65 -0
- package/chunks/cc-992.generated-DUtoyFJd.mjs +44 -0
- package/chunks/cc-993.generated-DA_HUZYq.mjs +42 -0
- package/chunks/cc-994.generated-Bs9TDYzb.mjs +50 -0
- package/chunks/cc-995.generated-DeCplFKG.mjs +56 -0
- package/chunks/cc-996.generated-DIoF8HI4.mjs +45 -0
- package/chunks/cc-998.generated-mB6cuCsE.mjs +26 -0
- package/chunks/cc-C0VrlA3_.mjs +4 -0
- package/chunks/cd-TfcK0f07.mjs +4 -0
- package/chunks/cf-Cr0ikDYa.mjs +4 -0
- package/chunks/cg-BeLZ5g5O.mjs +4 -0
- package/chunks/ch-cyq7xzGy.mjs +4 -0
- package/chunks/checkbox-EnxkCGiC.mjs +271 -0
- package/chunks/ci-D2pSb2Ih.mjs +4 -0
- package/chunks/ck-htfFHGea.mjs +4 -0
- package/chunks/cl-CoYa3Pmk.mjs +4 -0
- package/chunks/cm-D6uug-DA.mjs +4 -0
- package/chunks/cn-D48FvmT7.mjs +4 -0
- package/chunks/co-Dww2Azv_.mjs +4 -0
- package/chunks/color-mode-warning-BWDrpfmR.mjs +11 -0
- package/chunks/cr-T0UM2nAQ.mjs +4 -0
- package/chunks/cu-CvSN3Q4W.mjs +4 -0
- package/chunks/cv-CselBvqy.mjs +4 -0
- package/chunks/cw-DBlAOQBG.mjs +4 -0
- package/chunks/cx-CT3aGae9.mjs +4 -0
- package/chunks/cy-BgOT9gkN.mjs +4 -0
- package/chunks/cz-pyOSY6aP.mjs +4 -0
- package/chunks/datatable-qkYf-N0c.mjs +1786 -0
- package/chunks/datetime-picker-BtroFVZZ.mjs +373 -0
- package/chunks/de-KGaNXoZN.mjs +4 -0
- package/chunks/decorate-_3lQte5d.mjs +9 -0
- package/chunks/dj-erTpydIV.mjs +4 -0
- package/chunks/dk-D1JuLNfO.mjs +4 -0
- package/chunks/dm-DCecBFF5.mjs +4 -0
- package/chunks/do-DSLfzWkU.mjs +4 -0
- package/chunks/dz-Ce9xahTz.mjs +4 -0
- package/chunks/ec-Bi76lWx3.mjs +4 -0
- package/chunks/ee-bSjXh051.mjs +4 -0
- package/chunks/eg-r6ELPNF6.mjs +4 -0
- package/chunks/eh-B9fkMRyx.mjs +4 -0
- package/chunks/er-udHBJByJ.mjs +4 -0
- package/chunks/es-Bu9WWdeR.mjs +4 -0
- package/chunks/et-CXZPC0sf.mjs +4 -0
- package/chunks/fi-dNG3mnm4.mjs +4 -0
- package/chunks/fj-DRC_-qUY.mjs +4 -0
- package/chunks/fk-J-PwBKbI.mjs +4 -0
- package/chunks/flags-BklZdqf-.mjs +268 -0
- package/chunks/fm-DdlXjhk_.mjs +4 -0
- package/chunks/fo-BF6Oan5b.mjs +4 -0
- package/chunks/form-check.styles-WIzQ8Lr8.mjs +5 -0
- package/chunks/form-control.styles-xkboF3PM.mjs +5 -0
- package/chunks/fr-m5fDKirC.mjs +4 -0
- package/chunks/ga-B4EBbkUA.mjs +4 -0
- package/chunks/gb-7vN41y_W.mjs +4 -0
- package/chunks/gd-oYxJTsCo.mjs +4 -0
- package/chunks/ge-DjFzwM58.mjs +4 -0
- package/chunks/gf-QpbaNTLf.mjs +4 -0
- package/chunks/gg-DD5U9436.mjs +4 -0
- package/chunks/gh-DwVF19eS.mjs +4 -0
- package/chunks/gi-UFWuuzET.mjs +4 -0
- package/chunks/gl-D6QboaPF.mjs +4 -0
- package/chunks/gm-DBMaPUVF.mjs +4 -0
- package/chunks/gn-CgBEf8H_.mjs +4 -0
- package/chunks/gp-CzgFkpC6.mjs +4 -0
- package/chunks/gq-Bnsg80y2.mjs +4 -0
- package/chunks/gr-BZRM9aE0.mjs +4 -0
- package/chunks/gt-BUUDyd82.mjs +4 -0
- package/chunks/gu-TRJAAUWQ.mjs +4 -0
- package/chunks/gw-D9LrzBrV.mjs +4 -0
- package/chunks/gy-DH746QP0.mjs +4 -0
- package/chunks/hk-JPHzGR1f.mjs +4 -0
- package/chunks/hn-tQE5mLlb.mjs +4 -0
- package/chunks/hr-BdLlK8MT.mjs +4 -0
- package/chunks/ht-efkMBTm5.mjs +4 -0
- package/chunks/hu-BQqGjm3B.mjs +4 -0
- package/chunks/id-DaJrUhdH.mjs +4 -0
- package/chunks/ie-BNbUpzRG.mjs +4 -0
- package/chunks/il-Cg79KHAv.mjs +4 -0
- package/chunks/im-Djx9n3WT.mjs +4 -0
- package/chunks/in-B43LtLH-.mjs +4 -0
- package/chunks/input-group-CjmHKUSw.mjs +48 -0
- package/chunks/invalid-feedback.styles-BAfKyqM0.mjs +5 -0
- package/chunks/io-BnYRzBj3.mjs +4 -0
- package/chunks/iq-DUn1QbRL.mjs +4 -0
- package/chunks/ir-DlyfLEkf.mjs +4 -0
- package/chunks/is-DQ_bn71q.mjs +4 -0
- package/chunks/it-BfPMagQk.mjs +4 -0
- package/chunks/je-BLm9fJmW.mjs +4 -0
- package/chunks/jm-CxLVl0Ry.mjs +4 -0
- package/chunks/jo-Cfupva0T.mjs +4 -0
- package/chunks/jp-iR_5eVnk.mjs +4 -0
- package/chunks/ke-QUXFhgYU.mjs +4 -0
- package/chunks/kg-C0ssUmgN.mjs +4 -0
- package/chunks/kh-9A3QNvDB.mjs +4 -0
- package/chunks/ki-bFdICXHj.mjs +4 -0
- package/chunks/km-CYuiTVlZ.mjs +4 -0
- package/chunks/kn-fqURi7WO.mjs +4 -0
- package/chunks/kp-B9J1sdkG.mjs +4 -0
- package/chunks/kr-hrrgo3DJ.mjs +4 -0
- package/chunks/kw-CsK5t1uI.mjs +4 -0
- package/chunks/ky-CIIoXV1x.mjs +4 -0
- package/chunks/kz-Q6lWH-Lp.mjs +4 -0
- package/chunks/la-BqrIQzV5.mjs +4 -0
- package/chunks/lb-f1wH5q4z.mjs +4 -0
- package/chunks/lc-DiPjKtKA.mjs +4 -0
- package/chunks/li-CC9A-Eoo.mjs +4 -0
- package/chunks/lk-DBBVyq9z.mjs +4 -0
- package/chunks/lr-CYmj0qzD.mjs +4 -0
- package/chunks/ls-5eFpOHA5.mjs +4 -0
- package/chunks/lt-DuXsTfKz.mjs +4 -0
- package/chunks/lu-l81BU1X-.mjs +4 -0
- package/chunks/lv-pBWGmb6y.mjs +4 -0
- package/chunks/ly-rQGukqgk.mjs +4 -0
- package/chunks/ma-D3s8fhJY.mjs +4 -0
- package/chunks/mc-C2UgSKD0.mjs +4 -0
- package/chunks/md-Bn-lDZyQ.mjs +4 -0
- package/chunks/me-CTM23YkQ.mjs +4 -0
- package/chunks/metadata-loaders.generated-BOHjz7Pm.mjs +250 -0
- package/chunks/mf-Dw6W2U1G.mjs +4 -0
- package/chunks/mg-BvSTuxdV.mjs +4 -0
- package/chunks/mh-DlNbre6t.mjs +4 -0
- package/chunks/mk-CMQgOxwU.mjs +4 -0
- package/chunks/ml-Dr5P0Yo_.mjs +4 -0
- package/chunks/mm-C6vWhwqu.mjs +4 -0
- package/chunks/mn-D3Xmr6k_.mjs +4 -0
- package/chunks/mo-BieTAs8C.mjs +4 -0
- package/chunks/mp-CkOXp1Ru.mjs +4 -0
- package/chunks/mq-Cjhq-UJo.mjs +4 -0
- package/chunks/mr-Dnfbj6zJ.mjs +4 -0
- package/chunks/ms-CTQctbcy.mjs +4 -0
- package/chunks/mt-CU4E0kx5.mjs +4 -0
- package/chunks/mu-D-VsOyS8.mjs +4 -0
- package/chunks/mv-BLAL7NFA.mjs +4 -0
- package/chunks/mw-v7uw9vtP.mjs +4 -0
- package/chunks/mx-eDyMiM1l.mjs +4 -0
- package/chunks/my-DZwL-5pY.mjs +4 -0
- package/chunks/mz-CUtVhMFS.mjs +4 -0
- package/chunks/na-BY29xZvs.mjs +4 -0
- package/chunks/nc-DeEXGMmA.mjs +4 -0
- package/chunks/ne-CLxU921A.mjs +4 -0
- package/chunks/nf-D_JOkQkl.mjs +4 -0
- package/chunks/ng-CR5xUr0F.mjs +4 -0
- package/chunks/ni-C15mTV4Y.mjs +4 -0
- package/chunks/nl-CLg7nWke.mjs +4 -0
- package/chunks/no-D56_k2KF.mjs +4 -0
- package/chunks/np-BAP7jy8o.mjs +4 -0
- package/chunks/nr-VKzWyaNU.mjs +4 -0
- package/chunks/nu-D3XZHNZP.mjs +4 -0
- package/chunks/nz-BdvILa2x.mjs +4 -0
- package/chunks/om-BuPCo8qp.mjs +4 -0
- package/chunks/overlay-kT0nfzL-.mjs +275 -0
- package/chunks/pa-CyYPeQbr.mjs +4 -0
- package/chunks/pagination-Bcz1TwlS.mjs +184 -0
- package/chunks/pe-B-P9yq9y.mjs +4 -0
- package/chunks/pf-BEygN2Xk.mjs +4 -0
- package/chunks/pg-BbFUBN-z.mjs +4 -0
- package/chunks/ph-BwijTsiw.mjs +4 -0
- package/chunks/pk-DyS4XqKp.mjs +4 -0
- package/chunks/pl-Bs4VwV81.mjs +4 -0
- package/chunks/pm-DLEa5i47.mjs +4 -0
- package/chunks/pr-BWsOEP9w.mjs +4 -0
- package/chunks/ps-B_qECKr4.mjs +4 -0
- package/chunks/pt-C2_djybD.mjs +4 -0
- package/chunks/pw-D_NY3JPr.mjs +4 -0
- package/chunks/py-CndItMw9.mjs +4 -0
- package/chunks/qa-CD1uNFb9.mjs +4 -0
- package/chunks/radio-BO6g4B91.mjs +260 -0
- package/chunks/re-BW_tVnq3.mjs +4 -0
- package/chunks/ro-1-zfxYpt.mjs +4 -0
- package/chunks/rs-BoYWG9vg.mjs +4 -0
- package/chunks/ru-CYVEtP_y.mjs +4 -0
- package/chunks/rw-Bg3jblyd.mjs +4 -0
- package/chunks/sa-B69Q0suF.mjs +4 -0
- package/chunks/sb-BsEiWQfb.mjs +4 -0
- package/chunks/sc-DbArtz_B.mjs +4 -0
- package/chunks/scheduler-core-CoFpfrl5.mjs +867 -0
- package/chunks/sd-BBHgjmhj.mjs +4 -0
- package/chunks/se-BIv2B636.mjs +4 -0
- package/chunks/select-R-96AksV.mjs +295 -0
- package/chunks/sg-C5hxvYqk.mjs +4 -0
- package/chunks/sh-HM3W4hDH.mjs +4 -0
- package/chunks/si-DP1aBcfC.mjs +4 -0
- package/chunks/sj-BW7y-uq5.mjs +4 -0
- package/chunks/sk-i105Khwu.mjs +4 -0
- package/chunks/sl-Di2GF_yv.mjs +4 -0
- package/chunks/sm-CBa0TK4H.mjs +4 -0
- package/chunks/sn-DUHpXra8.mjs +4 -0
- package/chunks/so-BNbpnsu-.mjs +4 -0
- package/chunks/splitter-ByLyrd5H.mjs +436 -0
- package/chunks/sr-ao-a5_9y.mjs +4 -0
- package/chunks/ss-DcnzauNo.mjs +4 -0
- package/chunks/st-UM_GVNxZ.mjs +4 -0
- package/chunks/sv-DGf1zbvG.mjs +4 -0
- package/chunks/swiper-core-kwEab-Zw.mjs +145 -0
- package/chunks/sx-BswzV8CI.mjs +4 -0
- package/chunks/sy-9m1S8Kc1.mjs +4 -0
- package/chunks/sz-D85TIkXG.mjs +4 -0
- package/chunks/tab-control-CW53taeE.mjs +202 -0
- package/chunks/tc-C7PcDjFx.mjs +4 -0
- package/chunks/td-BPQVoqMT.mjs +4 -0
- package/chunks/tg-BrHdehFU.mjs +4 -0
- package/chunks/th-Dy_pGi_n.mjs +4 -0
- package/chunks/timeline-core-B9Lu8Qq4.mjs +15 -0
- package/chunks/timepicker-LaSAPnxw.mjs +326 -0
- package/chunks/tj-DMpkq8L_.mjs +4 -0
- package/chunks/tk-BnQPtoCZ.mjs +4 -0
- package/chunks/tl-ogyf_25A.mjs +4 -0
- package/chunks/tm-ftTOaKfg.mjs +4 -0
- package/chunks/tn-DH-O9SRy.mjs +4 -0
- package/chunks/to-CDqWnE6l.mjs +4 -0
- package/chunks/toggle-button-H1Ty5nnF.mjs +196 -0
- package/chunks/tr-CRzwaC_7.mjs +4 -0
- package/chunks/treeview-BuznGbcj.mjs +302 -0
- package/chunks/tt-CddKczAn.mjs +4 -0
- package/chunks/tv-b-Y36_Oq.mjs +4 -0
- package/chunks/tw-BbdD_Tku.mjs +4 -0
- package/chunks/tz-Det_pKDO.mjs +4 -0
- package/chunks/ua-CdODx9f1.mjs +4 -0
- package/chunks/ug-CTIJi1Jn.mjs +4 -0
- package/chunks/us-Dsgn127D.mjs +4 -0
- package/chunks/uy-CtFb0Nfv.mjs +4 -0
- package/chunks/uz-CqlGrq2Q.mjs +4 -0
- package/chunks/va-C-PHbkgG.mjs +4 -0
- package/chunks/vc-CtVMqDKl.mjs +4 -0
- package/chunks/ve-CBHWNLnB.mjs +4 -0
- package/chunks/vg-BN0gTtPV.mjs +4 -0
- package/chunks/vi-D91NT7D5.mjs +4 -0
- package/chunks/vn-Dz72HCr4.mjs +4 -0
- package/chunks/vu-Cmk5qbSr.mjs +4 -0
- package/chunks/wf-DAPtyg32.mjs +4 -0
- package/chunks/ws-es9JGzNi.mjs +4 -0
- package/chunks/xk-st-Xu64D.mjs +4 -0
- package/chunks/ye-Dmo8XEYa.mjs +4 -0
- package/chunks/yt-CNEu1wkH.mjs +4 -0
- package/chunks/za-CiZ4NsPE.mjs +4 -0
- package/chunks/zm-DqQAAfzp.mjs +4 -0
- package/chunks/zw-BIGE1hob.mjs +4 -0
- package/code-snippet/index.mjs +472 -820
- package/custom-elements.json +939 -1041
- package/datatable/index.mjs +1 -8
- package/datepicker/index.mjs +128 -215
- package/datetime-picker/index.mjs +1 -4
- package/dock/index.mjs +1871 -2471
- package/dropdown-menu/index.mjs +157 -601
- package/file-manager/index.mjs +771 -1180
- package/flags/index.mjs +1 -264
- package/index.mjs +0 -1
- package/input-group/index.mjs +1 -4
- package/light-dom/index.mjs +188 -11
- package/multi-range/index.mjs +233 -402
- package/navbar/index.mjs +224 -1010
- package/otp-input/index.mjs +249 -374
- package/overlay/index.mjs +1 -7
- package/package.json +1 -1
- package/pagination/index.mjs +1 -5
- package/phone-core/index.mjs +120 -8
- package/phone-input/index.mjs +380 -493
- package/query-builder/index.mjs +1502 -2277
- package/radio/index.mjs +1 -4
- package/radio-group/index.mjs +126 -144
- package/ribbon/index.mjs +1158 -1497
- package/scheduler/index.mjs +3456 -6576
- package/scheduler-core/index.mjs +1 -197
- package/select/index.mjs +1 -4
- package/shell/index.mjs +98 -572
- package/signature-pad/index.mjs +180 -207
- package/splitter/index.mjs +1 -10
- package/swiper-core/index.mjs +1 -184
- package/tab-control/index.mjs +1 -6
- package/theming/index.mjs +229 -317
- package/tile-manager/index.mjs +746 -899
- package/timeline/index.mjs +476 -754
- package/timeline-core/index.mjs +1 -23
- package/timepicker/index.mjs +1 -9
- package/toggle-button/index.mjs +1 -5
- package/tree-select/index.mjs +467 -769
- package/treeview/index.mjs +1 -5
- package/badge/src/styles/badge.styles.d.ts +0 -2
- package/chunks/ac-C5mj7mOe.mjs +0 -5
- package/chunks/ad-DuKUeTXh.mjs +0 -5
- package/chunks/ae-BFJrplpe.mjs +0 -5
- package/chunks/af-BIQlNFtj.mjs +0 -5
- package/chunks/ag-B9GDO0Ip.mjs +0 -5
- package/chunks/ai-pifHTP5K.mjs +0 -5
- package/chunks/al-CWQ3OuN9.mjs +0 -5
- package/chunks/all-flags-BtYcfgjy.mjs +0 -8
- package/chunks/all-flags.generated-B7Rctzuq.mjs +0 -493
- package/chunks/am-Do56ciQl.mjs +0 -5
- package/chunks/ao-Ci_fen-O.mjs +0 -5
- package/chunks/ar-BEZTIgF7.mjs +0 -5
- package/chunks/as-B29efaG_.mjs +0 -5
- package/chunks/at-c7xv31cV.mjs +0 -5
- package/chunks/attributes-L3eKsbdy.mjs +0 -16
- package/chunks/au-DK4ZROf6.mjs +0 -5
- package/chunks/aw-eEmOo-kc.mjs +0 -5
- package/chunks/ax-CF1cgQbd.mjs +0 -5
- package/chunks/az-BXPec7pf.mjs +0 -5
- package/chunks/ba-EoocSiX0.mjs +0 -5
- package/chunks/bb-BomyOgY0.mjs +0 -5
- package/chunks/bd-C2Y9A316.mjs +0 -5
- package/chunks/be-DcE56El1.mjs +0 -5
- package/chunks/bf-g7XzTHJG.mjs +0 -5
- package/chunks/bg-DAHpwJAh.mjs +0 -5
- package/chunks/bh-BiHF8vqO.mjs +0 -5
- package/chunks/bi-DVAoOy2o.mjs +0 -5
- package/chunks/bj-CB6I0T1J.mjs +0 -5
- package/chunks/bl-DhUObXcB.mjs +0 -5
- package/chunks/bm-d77E6A-Q.mjs +0 -5
- package/chunks/bn-CG1_6Vfv.mjs +0 -5
- package/chunks/bo-ulcQ_Lws.mjs +0 -5
- package/chunks/bq-wOjRpmJJ.mjs +0 -5
- package/chunks/br-BwQAEpKL.mjs +0 -5
- package/chunks/bs-Cmq3uDf9.mjs +0 -5
- package/chunks/bt-Cik-3ebf.mjs +0 -5
- package/chunks/bw-ZUkpxAL1.mjs +0 -5
- package/chunks/by-Dh-5h5x1.mjs +0 -5
- package/chunks/bz-DB0s7-5N.mjs +0 -5
- package/chunks/ca-Coq88_mc.mjs +0 -5
- package/chunks/cc-1.generated-CkRogBGA.mjs +0 -4
- package/chunks/cc-20.generated-DMpg7apl.mjs +0 -4
- package/chunks/cc-211.generated-DSnuuKPM.mjs +0 -4
- package/chunks/cc-212.generated-Dcg3rrip.mjs +0 -4
- package/chunks/cc-213.generated-DPwtGlxT.mjs +0 -4
- package/chunks/cc-216.generated-Cgber7dX.mjs +0 -4
- package/chunks/cc-218.generated-CZGwxl9D.mjs +0 -4
- package/chunks/cc-220.generated-CKmXmpGe.mjs +0 -4
- package/chunks/cc-221.generated-BYzgBejl.mjs +0 -4
- package/chunks/cc-222.generated-YwuXcbvd.mjs +0 -4
- package/chunks/cc-223.generated-9iiHnni6.mjs +0 -4
- package/chunks/cc-224.generated-Okty02TJ.mjs +0 -4
- package/chunks/cc-225.generated-CYkDnG14.mjs +0 -4
- package/chunks/cc-226.generated-GT_rqbCO.mjs +0 -4
- package/chunks/cc-227.generated-B1VkrgoB.mjs +0 -4
- package/chunks/cc-228.generated-Bhck-C6Z.mjs +0 -4
- package/chunks/cc-229.generated-aAR4PP7n.mjs +0 -4
- package/chunks/cc-230.generated-CG5TxZtb.mjs +0 -4
- package/chunks/cc-231.generated-BjYHl_BP.mjs +0 -4
- package/chunks/cc-232.generated-CFDyaA7o.mjs +0 -4
- package/chunks/cc-233.generated-ChwvrW0E.mjs +0 -4
- package/chunks/cc-234.generated-BIpIojaD.mjs +0 -4
- package/chunks/cc-235.generated-Dklizfb9.mjs +0 -4
- package/chunks/cc-236.generated-EJZlz23v.mjs +0 -4
- package/chunks/cc-237.generated-DwOapZWZ.mjs +0 -4
- package/chunks/cc-238.generated-BkCWtGDY.mjs +0 -4
- package/chunks/cc-239.generated-S_foXUit.mjs +0 -4
- package/chunks/cc-240.generated-CtKfcEWk.mjs +0 -4
- package/chunks/cc-241.generated-aAUw2QzS.mjs +0 -4
- package/chunks/cc-242.generated-D5jMR3KR.mjs +0 -4
- package/chunks/cc-243.generated-Bk5dwdUf.mjs +0 -4
- package/chunks/cc-244.generated-DywGvISM.mjs +0 -4
- package/chunks/cc-245.generated-Bm7wVXl5.mjs +0 -4
- package/chunks/cc-246.generated-CFSezynW.mjs +0 -4
- package/chunks/cc-247.generated-DKXGq8p1.mjs +0 -4
- package/chunks/cc-248.generated-CnI_kkbi.mjs +0 -4
- package/chunks/cc-249.generated-Zenj8WBl.mjs +0 -4
- package/chunks/cc-250.generated-140A9gFx.mjs +0 -4
- package/chunks/cc-251.generated-BYtVzI1w.mjs +0 -4
- package/chunks/cc-252.generated-C9By3_Ih.mjs +0 -4
- package/chunks/cc-253.generated-DZIADgzo.mjs +0 -4
- package/chunks/cc-254.generated-Bkb5VbuX.mjs +0 -4
- package/chunks/cc-255.generated-U_k4UlnG.mjs +0 -4
- package/chunks/cc-256.generated-BBGMRLJL.mjs +0 -4
- package/chunks/cc-257.generated-2Jiadm-X.mjs +0 -4
- package/chunks/cc-258.generated-CSHZFQtI.mjs +0 -4
- package/chunks/cc-260.generated-CWgOLjv4.mjs +0 -4
- package/chunks/cc-261.generated-DzpnYK1v.mjs +0 -4
- package/chunks/cc-262.generated-uZY0cJ08.mjs +0 -4
- package/chunks/cc-263.generated-D2QbPttm.mjs +0 -4
- package/chunks/cc-264.generated-DhUT_yRg.mjs +0 -4
- package/chunks/cc-265.generated-BKIU4vGv.mjs +0 -4
- package/chunks/cc-266.generated-O_zgqaDo.mjs +0 -4
- package/chunks/cc-267.generated-DpLBLCK1.mjs +0 -4
- package/chunks/cc-268.generated-B9Y4LS_4.mjs +0 -4
- package/chunks/cc-269.generated-DPQ0A8VW.mjs +0 -4
- package/chunks/cc-27.generated-BxeFhsuD.mjs +0 -4
- package/chunks/cc-290.generated-DGy2isg7.mjs +0 -4
- package/chunks/cc-291.generated-C4LSfffl.mjs +0 -4
- package/chunks/cc-297.generated-4k_1JOUj.mjs +0 -4
- package/chunks/cc-298.generated-A2xB0PKR.mjs +0 -4
- package/chunks/cc-299.generated-BwDC9B1N.mjs +0 -4
- package/chunks/cc-30.generated-JhyYglqU.mjs +0 -4
- package/chunks/cc-31.generated-5GOCJzfN.mjs +0 -4
- package/chunks/cc-32.generated-CpVvykA2.mjs +0 -4
- package/chunks/cc-33.generated-BDzHxbR_.mjs +0 -4
- package/chunks/cc-34.generated-P3nQfhBw.mjs +0 -4
- package/chunks/cc-350.generated-BGl8hYsP.mjs +0 -4
- package/chunks/cc-351.generated-pJBouwSG.mjs +0 -4
- package/chunks/cc-352.generated-8_NbdAx6.mjs +0 -4
- package/chunks/cc-353.generated-Cfz2tBdq.mjs +0 -4
- package/chunks/cc-354.generated-CEgaa6qB.mjs +0 -4
- package/chunks/cc-355.generated-DGZ-kJ0i.mjs +0 -4
- package/chunks/cc-356.generated-BZqLs86A.mjs +0 -4
- package/chunks/cc-357.generated-CfCB5cHL.mjs +0 -4
- package/chunks/cc-358.generated-wL2JzNDk.mjs +0 -4
- package/chunks/cc-359.generated-BxJe3xGt.mjs +0 -4
- package/chunks/cc-36.generated-CJdA4Rvi.mjs +0 -4
- package/chunks/cc-370.generated-B6SpL74q.mjs +0 -4
- package/chunks/cc-371.generated-Cx6lrGG9.mjs +0 -4
- package/chunks/cc-372.generated-Ckc30SHu.mjs +0 -4
- package/chunks/cc-373.generated-BK0ypz55.mjs +0 -4
- package/chunks/cc-374.generated-B51ogwAh.mjs +0 -4
- package/chunks/cc-375.generated-CMbmbMav.mjs +0 -4
- package/chunks/cc-376.generated-DZngLeqA.mjs +0 -4
- package/chunks/cc-377.generated-BYuCOf7K.mjs +0 -4
- package/chunks/cc-378.generated-CuNlUjOw.mjs +0 -4
- package/chunks/cc-380.generated-A2e4FwA4.mjs +0 -4
- package/chunks/cc-381.generated-Cvwf7aDo.mjs +0 -4
- package/chunks/cc-382.generated-B-x4jIQ_.mjs +0 -4
- package/chunks/cc-383.generated-B6E63WN4.mjs +0 -4
- package/chunks/cc-385.generated-CbYlsCsW.mjs +0 -4
- package/chunks/cc-386.generated-BUSyzthQ.mjs +0 -4
- package/chunks/cc-387.generated-IhkhnsGu.mjs +0 -4
- package/chunks/cc-389.generated-SNuHIdqu.mjs +0 -4
- package/chunks/cc-39.generated-BGZK1sVL.mjs +0 -4
- package/chunks/cc-40.generated-Bo8WnsNc.mjs +0 -4
- package/chunks/cc-41.generated-CG0098r3.mjs +0 -4
- package/chunks/cc-420.generated-C59jh2M8.mjs +0 -4
- package/chunks/cc-421.generated-BhxO-pTK.mjs +0 -4
- package/chunks/cc-423.generated-B4UJk2xr.mjs +0 -4
- package/chunks/cc-43.generated-BIdhhcvA.mjs +0 -4
- package/chunks/cc-44.generated-BfeK0wEP.mjs +0 -4
- package/chunks/cc-45.generated-BEJCwF4o.mjs +0 -4
- package/chunks/cc-46.generated-DeEMtTcI.mjs +0 -4
- package/chunks/cc-47.generated-DQy2Xk_0.mjs +0 -4
- package/chunks/cc-48.generated-C4yA7R1Q.mjs +0 -4
- package/chunks/cc-49.generated-a02djmT4.mjs +0 -4
- package/chunks/cc-500.generated-glAZ4AUe.mjs +0 -4
- package/chunks/cc-501.generated-D-GCAbI8.mjs +0 -4
- package/chunks/cc-502.generated-Co-n0usI.mjs +0 -4
- package/chunks/cc-503.generated-BM58qC_M.mjs +0 -4
- package/chunks/cc-504.generated-cTtfXvjR.mjs +0 -4
- package/chunks/cc-505.generated-DLSKmmzY.mjs +0 -4
- package/chunks/cc-506.generated-BMyMgwgZ.mjs +0 -4
- package/chunks/cc-507.generated-DWOdIJMd.mjs +0 -4
- package/chunks/cc-508.generated-DN3D0FwY.mjs +0 -4
- package/chunks/cc-509.generated-D-jyniz5.mjs +0 -4
- package/chunks/cc-51.generated-Bjy1G3kG.mjs +0 -4
- package/chunks/cc-52.generated-CDeO-q1n.mjs +0 -4
- package/chunks/cc-53.generated-Bg_ETBvx.mjs +0 -4
- package/chunks/cc-54.generated-BCfSFUZP.mjs +0 -4
- package/chunks/cc-55.generated-C1iLoSl1.mjs +0 -4
- package/chunks/cc-56.generated-ChgDDlud.mjs +0 -4
- package/chunks/cc-57.generated-qfDFimii.mjs +0 -4
- package/chunks/cc-58.generated-Cl6DzTam.mjs +0 -4
- package/chunks/cc-590.generated-DhG2cP7S.mjs +0 -4
- package/chunks/cc-591.generated-CjxsaggL.mjs +0 -4
- package/chunks/cc-592.generated-DnF2AtPs.mjs +0 -4
- package/chunks/cc-593.generated-J4b4KU_z.mjs +0 -4
- package/chunks/cc-594.generated-BDqHqvBX.mjs +0 -4
- package/chunks/cc-595.generated-Di23-NWq.mjs +0 -4
- package/chunks/cc-596.generated-B92oLPvz.mjs +0 -4
- package/chunks/cc-597.generated-pdvIpWWG.mjs +0 -4
- package/chunks/cc-598.generated-C9i6NuuS.mjs +0 -4
- package/chunks/cc-599.generated-Cot_Tjya.mjs +0 -4
- package/chunks/cc-60.generated-Dt21L5ED.mjs +0 -4
- package/chunks/cc-61.generated-CsF19uOz.mjs +0 -4
- package/chunks/cc-62.generated-CXe9l8jN.mjs +0 -4
- package/chunks/cc-63.generated-CyxqKEMz.mjs +0 -4
- package/chunks/cc-64.generated-B1U2VUWE.mjs +0 -4
- package/chunks/cc-65.generated-BqB9SL91.mjs +0 -4
- package/chunks/cc-66.generated-DSW4cKRJ.mjs +0 -4
- package/chunks/cc-670.generated-B5lMBLIA.mjs +0 -4
- package/chunks/cc-672.generated-rtLnRViR.mjs +0 -4
- package/chunks/cc-673.generated-CCfKxiHb.mjs +0 -4
- package/chunks/cc-674.generated-DqEenJAu.mjs +0 -4
- package/chunks/cc-675.generated-CDZsNVmA.mjs +0 -4
- package/chunks/cc-676.generated-CtuzuSpR.mjs +0 -4
- package/chunks/cc-677.generated-B6Vdcheb.mjs +0 -4
- package/chunks/cc-678.generated-Bu-wQLCv.mjs +0 -4
- package/chunks/cc-679.generated-C_vQNfa9.mjs +0 -4
- package/chunks/cc-680.generated-DgD0sTpR.mjs +0 -4
- package/chunks/cc-681.generated-CgCDLpTf.mjs +0 -4
- package/chunks/cc-682.generated-BBdb0LCA.mjs +0 -4
- package/chunks/cc-683.generated-BYq9qGSN.mjs +0 -4
- package/chunks/cc-685.generated-BeVt0xOD.mjs +0 -4
- package/chunks/cc-686.generated-DSuHUyGC.mjs +0 -4
- package/chunks/cc-687.generated-CAYCkQGn.mjs +0 -4
- package/chunks/cc-688.generated-BxoYuhyI.mjs +0 -4
- package/chunks/cc-689.generated-D1LJPuEc.mjs +0 -4
- package/chunks/cc-690.generated-wBJlIR_d.mjs +0 -4
- package/chunks/cc-691.generated-D3313DJE.mjs +0 -4
- package/chunks/cc-692.generated-BjRLK6LH.mjs +0 -4
- package/chunks/cc-7.generated-Be8Per3z.mjs +0 -4
- package/chunks/cc-81.generated-Bfr_1Ik4.mjs +0 -4
- package/chunks/cc-82.generated-CXvQgAj0.mjs +0 -4
- package/chunks/cc-84.generated-DsMrssxQ.mjs +0 -4
- package/chunks/cc-850.generated-B6dMNsJB.mjs +0 -4
- package/chunks/cc-852.generated-DoLs1jmz.mjs +0 -4
- package/chunks/cc-853.generated-C9J4qDF6.mjs +0 -4
- package/chunks/cc-855.generated-rriF89dH.mjs +0 -4
- package/chunks/cc-856.generated-DWMBTBFS.mjs +0 -4
- package/chunks/cc-86.generated-C8Ob3yVb.mjs +0 -4
- package/chunks/cc-880.generated-gteZx8SL.mjs +0 -4
- package/chunks/cc-886.generated-QyIDP1_q.mjs +0 -4
- package/chunks/cc-90.generated-DSXR50SV.mjs +0 -4
- package/chunks/cc-91.generated-C_cDq0Xp.mjs +0 -4
- package/chunks/cc-92.generated-Cxd7f_QX.mjs +0 -4
- package/chunks/cc-93.generated-Cyqo0e91.mjs +0 -4
- package/chunks/cc-94.generated-EsnmfbnH.mjs +0 -4
- package/chunks/cc-95.generated-D_8p55mp.mjs +0 -4
- package/chunks/cc-960.generated-DletKApH.mjs +0 -4
- package/chunks/cc-961.generated-CXVHoWFk.mjs +0 -4
- package/chunks/cc-962.generated-B7EPSakT.mjs +0 -4
- package/chunks/cc-963.generated-D71Y75mr.mjs +0 -4
- package/chunks/cc-964.generated-B8-RYrVD.mjs +0 -4
- package/chunks/cc-965.generated-tesjPkaP.mjs +0 -4
- package/chunks/cc-966.generated-CkCCmcR2.mjs +0 -4
- package/chunks/cc-967.generated-Bz1kG3rR.mjs +0 -4
- package/chunks/cc-968.generated-B8izDjLu.mjs +0 -4
- package/chunks/cc-970.generated-CKTkdIET.mjs +0 -4
- package/chunks/cc-971.generated-Wzj17K10.mjs +0 -4
- package/chunks/cc-972.generated-CJO02ZmJ.mjs +0 -4
- package/chunks/cc-973.generated-CL9ZE2Of.mjs +0 -4
- package/chunks/cc-974.generated-ZkYqGi9L.mjs +0 -4
- package/chunks/cc-975.generated-DP2Teiuc.mjs +0 -4
- package/chunks/cc-976.generated-GGNMRuFQ.mjs +0 -4
- package/chunks/cc-977.generated-KwvwlHUw.mjs +0 -4
- package/chunks/cc-98.generated-DW-Wj2k5.mjs +0 -4
- package/chunks/cc-992.generated-NRREmly7.mjs +0 -4
- package/chunks/cc-993.generated-BNlup4k-.mjs +0 -4
- package/chunks/cc-994.generated-BUD4e8ho.mjs +0 -4
- package/chunks/cc-995.generated-8P4TnVbi.mjs +0 -4
- package/chunks/cc-996.generated-CKCe7foO.mjs +0 -4
- package/chunks/cc-998.generated-CsAmnJYd.mjs +0 -4
- package/chunks/cc-BZdCRpNT.mjs +0 -5
- package/chunks/cd-9O28tBfy.mjs +0 -5
- package/chunks/cf-BdhmyWlv.mjs +0 -5
- package/chunks/cg-C-Qu4NMU.mjs +0 -5
- package/chunks/ch-A1RQVYLO.mjs +0 -5
- package/chunks/ci-DZY7fgO7.mjs +0 -5
- package/chunks/ck-D-2C9a72.mjs +0 -5
- package/chunks/cl-3HNgrmyT.mjs +0 -5
- package/chunks/cm-DJ4mixO9.mjs +0 -5
- package/chunks/cn-Cw6Qlqzd.mjs +0 -5
- package/chunks/co-B6rvgyRo.mjs +0 -5
- package/chunks/color-mode-warning-71FmlzWX.mjs +0 -13
- package/chunks/cr-jJzoBrc7.mjs +0 -5
- package/chunks/cu-BRzz3vV_.mjs +0 -5
- package/chunks/cv-BzZilEMp.mjs +0 -5
- package/chunks/cw-5PnLdxCt.mjs +0 -5
- package/chunks/cx-C0sAUlCS.mjs +0 -5
- package/chunks/cy-DeC9FFGV.mjs +0 -5
- package/chunks/cz-C3rh8aUO.mjs +0 -5
- package/chunks/de-Q2c2XZ_v.mjs +0 -5
- package/chunks/dj-DWAmmYDE.mjs +0 -5
- package/chunks/dk-FTaySAJe.mjs +0 -5
- package/chunks/dm-DgSJioJq.mjs +0 -5
- package/chunks/do-C549n3on.mjs +0 -5
- package/chunks/dz-CPgKocaY.mjs +0 -5
- package/chunks/ec-DkC-cDOb.mjs +0 -5
- package/chunks/ee-BQmFOHXA.mjs +0 -5
- package/chunks/eg-DMVarwMR.mjs +0 -5
- package/chunks/eh--oxmiCXh.mjs +0 -5
- package/chunks/er-DjB_DDiD.mjs +0 -5
- package/chunks/error-text-B45eDAt1.mjs +0 -17
- package/chunks/es-D__9e8wL.mjs +0 -5
- package/chunks/et-C3reU7Z2.mjs +0 -5
- package/chunks/fi-C1K0Kh4o.mjs +0 -5
- package/chunks/fj-Cs7ECsE1.mjs +0 -5
- package/chunks/fk-DYEJDgjs.mjs +0 -5
- package/chunks/fm-C7r_OFnj.mjs +0 -5
- package/chunks/fo-DsT-wW0Q.mjs +0 -5
- package/chunks/focus-restore-DxuP1Oe2.mjs +0 -94
- package/chunks/focus-trap-DTOLJ5bb.mjs +0 -121
- package/chunks/form-associated-BR-fUvZ1.mjs +0 -43
- package/chunks/form-check.styles-DqvBnspm.mjs +0 -172
- package/chunks/form-control.styles-C3j87Sn3.mjs +0 -171
- package/chunks/fr-oy8Uo1bo.mjs +0 -5
- package/chunks/ga-DESElBvk.mjs +0 -5
- package/chunks/gb-D5r9QI-K.mjs +0 -5
- package/chunks/gd-BuRviRXt.mjs +0 -5
- package/chunks/ge-BpGz5nUs.mjs +0 -5
- package/chunks/gf-BQgWe_yS.mjs +0 -5
- package/chunks/gg-BLNQrqls.mjs +0 -5
- package/chunks/gh-BzVF8tSr.mjs +0 -5
- package/chunks/gi-DfKOJdRQ.mjs +0 -5
- package/chunks/gl-C558Toee.mjs +0 -5
- package/chunks/gm-DNdinxnD.mjs +0 -5
- package/chunks/gn-DwEBOZ3-.mjs +0 -5
- package/chunks/gp-oy8Uo1bo.mjs +0 -5
- package/chunks/gq-BSkOSQWe.mjs +0 -5
- package/chunks/gr-CTJJbGEC.mjs +0 -5
- package/chunks/gt-D4BwgazI.mjs +0 -5
- package/chunks/gu-CQpMzEB_.mjs +0 -5
- package/chunks/gw-DxZDYMtv.mjs +0 -5
- package/chunks/gy-BWZVUGl8.mjs +0 -5
- package/chunks/hk-BHxjZMf4.mjs +0 -5
- package/chunks/hn-BEVgQ0QQ.mjs +0 -5
- package/chunks/host-aria-WSGs7SPQ.mjs +0 -152
- package/chunks/hr-BpVWlAoF.mjs +0 -5
- package/chunks/ht-CfzU-07O.mjs +0 -5
- package/chunks/hu-5Yy5WRy5.mjs +0 -5
- package/chunks/id-BfVg05v7.mjs +0 -5
- package/chunks/ie-DvpkJVl8.mjs +0 -5
- package/chunks/il-DDofIlI0.mjs +0 -5
- package/chunks/im-CW65ei4K.mjs +0 -5
- package/chunks/in-i60GVnCJ.mjs +0 -5
- package/chunks/inert-regions-DXCnn1LN.mjs +0 -48
- package/chunks/install-light-styles-DbCAGFOC.mjs +0 -209
- package/chunks/invalid-feedback.styles-he0JYrJm.mjs +0 -11
- package/chunks/io-Diyu5soM.mjs +0 -5
- package/chunks/iq-B74bFnMJ.mjs +0 -5
- package/chunks/ir-BWGwwJq9.mjs +0 -5
- package/chunks/is-CK4oIk76.mjs +0 -5
- package/chunks/it-Y7rj3hMY.mjs +0 -5
- package/chunks/je-DMoX3evy.mjs +0 -5
- package/chunks/jm-DZUStFkR.mjs +0 -5
- package/chunks/jo-DVQ6-ojE.mjs +0 -5
- package/chunks/jp-Y5R0MQfN.mjs +0 -5
- package/chunks/ke-CGq6XP7w.mjs +0 -5
- package/chunks/kg-DAoQwbeR.mjs +0 -5
- package/chunks/kh-kMI7MghQ.mjs +0 -5
- package/chunks/ki-Cu7fdPLn.mjs +0 -5
- package/chunks/km-CM7URKBO.mjs +0 -5
- package/chunks/kn-DBVGPz8w.mjs +0 -5
- package/chunks/kp-D3Ea15h2.mjs +0 -5
- package/chunks/kr-DKM0Jy7P.mjs +0 -5
- package/chunks/kw-B7J-nbX9.mjs +0 -5
- package/chunks/ky-p4ckNq_W.mjs +0 -5
- package/chunks/kz-D936idA9.mjs +0 -5
- package/chunks/la-CUKVKbGp.mjs +0 -5
- package/chunks/lb-CzUWz90e.mjs +0 -5
- package/chunks/lc-DuHqL5FW.mjs +0 -5
- package/chunks/li-DgJDzs_F.mjs +0 -5
- package/chunks/live-announcer-Bi0orG4n.mjs +0 -58
- package/chunks/lk-3zaagaQ9.mjs +0 -5
- package/chunks/lr-B6Vn6C_9.mjs +0 -5
- package/chunks/ls-DrI0Fh7Y.mjs +0 -5
- package/chunks/lt-PBck9Sgv.mjs +0 -5
- package/chunks/lu-B_xY22fB.mjs +0 -5
- package/chunks/lv-D16yLm3v.mjs +0 -5
- package/chunks/ly-C1adX4Zr.mjs +0 -5
- package/chunks/ma-B7rH3zoW.mjs +0 -5
- package/chunks/mc-Xqh4jc6i.mjs +0 -5
- package/chunks/md-wW4zZzbN.mjs +0 -5
- package/chunks/me-DCy_XMtC.mjs +0 -5
- package/chunks/metadata-loaders.generated-Bu_7pFwU.mjs +0 -250
- package/chunks/mf-DP_tIA6i.mjs +0 -5
- package/chunks/mg-InflpHX7.mjs +0 -5
- package/chunks/mh-VKf434Ww.mjs +0 -5
- package/chunks/mk-C64VS9I-.mjs +0 -5
- package/chunks/ml-BjOQYgou.mjs +0 -5
- package/chunks/mm-DgKeX7WQ.mjs +0 -5
- package/chunks/mn-BBubqCvd.mjs +0 -5
- package/chunks/mo-BtY-l2cE.mjs +0 -5
- package/chunks/mp-DlkcjH8B.mjs +0 -5
- package/chunks/mp-calendar.element-BIHS9SZZ.mjs +0 -433
- package/chunks/mp-checkbox-zV83gILn.mjs +0 -321
- package/chunks/mp-datatable-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/tree-select/index.mjs
CHANGED
|
@@ -1,672 +1,377 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
.
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
.
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
return this._cascadeSelect;
|
|
366
|
-
}
|
|
367
|
-
set cascadeSelect(e) {
|
|
368
|
-
this._cascadeSelect = !!e, this.requestUpdate();
|
|
369
|
-
}
|
|
370
|
-
get placeholder() {
|
|
371
|
-
return this._placeholder;
|
|
372
|
-
}
|
|
373
|
-
set placeholder(e) {
|
|
374
|
-
this._placeholder = e ?? "", this.requestUpdate();
|
|
375
|
-
}
|
|
376
|
-
get showClear() {
|
|
377
|
-
return this._showClear;
|
|
378
|
-
}
|
|
379
|
-
set showClear(e) {
|
|
380
|
-
this._showClear = !!e, this.requestUpdate();
|
|
381
|
-
}
|
|
382
|
-
// NB: cannot be named `scrollHeight` — that's a readonly DOM property on HTMLElement.
|
|
383
|
-
get panelScrollHeight() {
|
|
384
|
-
return this._scrollHeight;
|
|
385
|
-
}
|
|
386
|
-
set panelScrollHeight(e) {
|
|
387
|
-
this._scrollHeight = e || "300px", this.style.setProperty("--mp-tree-select-panel-max-height", this._scrollHeight);
|
|
388
|
-
}
|
|
389
|
-
get disabled() {
|
|
390
|
-
return this._disabled;
|
|
391
|
-
}
|
|
392
|
-
set disabled(e) {
|
|
393
|
-
this._disabled = !!e, this.toggleAttribute("disabled", this._disabled), this._disabled && this.overlay.close(!1), this.requestUpdate();
|
|
394
|
-
}
|
|
395
|
-
get searchDebounceMs() {
|
|
396
|
-
return this._searchDebounceMs;
|
|
397
|
-
}
|
|
398
|
-
set searchDebounceMs(e) {
|
|
399
|
-
this._searchDebounceMs = Math.max(0, Number(e) || 0);
|
|
400
|
-
}
|
|
401
|
-
attributeChangedCallback(e, t, s) {
|
|
402
|
-
switch (super.attributeChangedCallback(e, t, s), e) {
|
|
403
|
-
// Enum and numeric attributes: a removed or unrecognised value falls back to
|
|
404
|
-
// the default instead of reaching the setter verbatim (an unknown mode used
|
|
405
|
-
// to disable single-mode pruning; a non-numeric debounce became 0 ms).
|
|
406
|
-
case "mode":
|
|
407
|
-
this.mode = s === "multiple" || s === "checkbox" ? s : "single";
|
|
408
|
-
break;
|
|
409
|
-
case "variant":
|
|
410
|
-
this.variant = s === "button" ? "button" : "textbox";
|
|
411
|
-
break;
|
|
412
|
-
case "cascade-select":
|
|
413
|
-
this.cascadeSelect = s !== null;
|
|
414
|
-
break;
|
|
415
|
-
case "placeholder":
|
|
416
|
-
this.placeholder = s ?? "";
|
|
417
|
-
break;
|
|
418
|
-
case "show-clear":
|
|
419
|
-
this.showClear = s !== null;
|
|
420
|
-
break;
|
|
421
|
-
case "scroll-height":
|
|
422
|
-
this.panelScrollHeight = s ?? "300px";
|
|
423
|
-
break;
|
|
424
|
-
case "disabled":
|
|
425
|
-
this.disabled = s !== null;
|
|
426
|
-
break;
|
|
427
|
-
case "search-debounce-ms": {
|
|
428
|
-
const r = s === null ? NaN : Number(s);
|
|
429
|
-
this.searchDebounceMs = Number.isFinite(r) ? r : 200;
|
|
430
|
-
break;
|
|
431
|
-
}
|
|
432
|
-
case "aria-label":
|
|
433
|
-
this.requestUpdate();
|
|
434
|
-
break;
|
|
435
|
-
case "input-label":
|
|
436
|
-
this._inputLabel = s, this.requestUpdate();
|
|
437
|
-
break;
|
|
438
|
-
case "search-label":
|
|
439
|
-
this._searchLabel = s, this.requestUpdate();
|
|
440
|
-
break;
|
|
441
|
-
case "clear-label":
|
|
442
|
-
this.clearLabel = s ?? "Clear";
|
|
443
|
-
break;
|
|
444
|
-
case "aria-labelledby":
|
|
445
|
-
case "aria-describedby":
|
|
446
|
-
this.hostAria.syncReferences();
|
|
447
|
-
break;
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
/**
|
|
451
|
-
* Optional accessible name for the control (the main search input). Without
|
|
452
|
-
* it the name falls back to the placeholder, then 'Search' — functional, but a
|
|
453
|
-
* placeholder is a hint, not a name, so real consumers should set one of
|
|
454
|
-
* aria-label / input-label / aria-labelledby on the host.
|
|
455
|
-
*/
|
|
456
|
-
get inputLabel() {
|
|
457
|
-
return this._inputLabel;
|
|
458
|
-
}
|
|
459
|
-
set inputLabel(e) {
|
|
460
|
-
const t = e ?? null;
|
|
461
|
-
this._inputLabel !== t && (this._inputLabel = t, this.requestUpdate());
|
|
462
|
-
}
|
|
463
|
-
/** Accessible name for the button-variant panel search box. Default 'Search'. */
|
|
464
|
-
get searchLabel() {
|
|
465
|
-
return this._searchLabel;
|
|
466
|
-
}
|
|
467
|
-
set searchLabel(e) {
|
|
468
|
-
const t = e ?? null;
|
|
469
|
-
this._searchLabel !== t && (this._searchLabel = t, this.requestUpdate());
|
|
470
|
-
}
|
|
471
|
-
// After every render — the search input is re-created across variant switches.
|
|
472
|
-
updated() {
|
|
473
|
-
this.hostAria.syncReferences();
|
|
474
|
-
}
|
|
475
|
-
disconnectedCallback() {
|
|
476
|
-
super.disconnectedCallback(), this._abort?.abort(), this._debounceTimer && clearTimeout(this._debounceTimer);
|
|
477
|
-
}
|
|
478
|
-
// ---- index helpers -----------------------------------------------------
|
|
479
|
-
indexNodes(e, t) {
|
|
480
|
-
for (const s of e)
|
|
481
|
-
this._byId.set(s.id, s), this._parentById.set(s.id, t), s.children?.length && this.indexNodes(s.children, s);
|
|
482
|
-
}
|
|
483
|
-
/**
|
|
484
|
-
* Rebuild the id/parent index from the *currently displayed* tree
|
|
485
|
-
* (search results when searching, else the browse tree). Providers hand
|
|
486
|
-
* back fresh shallow node copies per call, so search must not pollute the
|
|
487
|
-
* browse index — re-indexing the active set keeps cascade + lazy-expand
|
|
488
|
-
* pointing at the objects actually rendered, and restores the browse index
|
|
489
|
-
* when a search is cleared.
|
|
490
|
-
*/
|
|
491
|
-
reindexActive() {
|
|
492
|
-
this._byId.clear(), this._parentById.clear(), this.indexNodes(this._searchResults ?? this._nodes, null);
|
|
493
|
-
}
|
|
494
|
-
// ---- data loading ------------------------------------------------------
|
|
495
|
-
async ensureRoots() {
|
|
496
|
-
this._rootsLoaded || !this._provider || await this.loadRoots(!1);
|
|
497
|
-
}
|
|
498
|
-
async loadRoots(e) {
|
|
499
|
-
if (!this._provider) return;
|
|
500
|
-
const t = e ? this._nodes.length : 0, s = await this.runRequest((r) => this._provider.loadRoots({ offset: t, signal: r }));
|
|
501
|
-
s && (this._nodes = e ? [...this._nodes, ...s.nodes] : s.nodes, this._rootsHasMore = !!s.hasMore, this._rootsLoaded = !0, this.reindexActive(), this.requestUpdate());
|
|
502
|
-
}
|
|
503
|
-
async runSearch(e) {
|
|
504
|
-
if (!this._provider) return;
|
|
505
|
-
const t = this._query, s = e ? this._searchResults?.length ?? 0 : 0, r = await this.runRequest((i) => this._provider.search(t, { offset: s, signal: i }));
|
|
506
|
-
if (r) {
|
|
507
|
-
if (this._searchResults = e ? [...this._searchResults ?? [], ...r.nodes] : r.nodes, !e) {
|
|
508
|
-
const i = this._searchResults.length;
|
|
509
|
-
this.liveAnnouncer.announce(i === 1 ? "1 result." : `${i} results.`);
|
|
510
|
-
}
|
|
511
|
-
this._searchHasMore = !!r.hasMore, this.reindexActive(), this.requestUpdate();
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
/** Run a provider call with abort + loading bookkeeping. Returns null on abort/error. */
|
|
515
|
-
async runRequest(e) {
|
|
516
|
-
this._abort?.abort();
|
|
517
|
-
const t = new AbortController();
|
|
518
|
-
this._abort = t, this._loading = !0, this.requestUpdate();
|
|
519
|
-
try {
|
|
520
|
-
const s = await e(t.signal);
|
|
521
|
-
return t.signal.aborted ? null : (this._loading = !1, this.requestUpdate(), s);
|
|
522
|
-
} catch (s) {
|
|
523
|
-
return t.signal.aborted || s?.name === "AbortError" || (this._loading = !1, this.dispatchEvent(
|
|
524
|
-
new CustomEvent("load-error", { detail: { error: s }, bubbles: !0, composed: !0 })
|
|
525
|
-
), this.requestUpdate()), null;
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
onLoadMore() {
|
|
529
|
-
this._query ? this.runSearch(!0) : this.loadRoots(!0);
|
|
530
|
-
}
|
|
531
|
-
// ---- search input ------------------------------------------------------
|
|
532
|
-
onSearchInput(e) {
|
|
533
|
-
this._query = e.target.value, this.overlay.isOpen || this.open(), this._debounceTimer && clearTimeout(this._debounceTimer);
|
|
534
|
-
const t = () => {
|
|
535
|
-
this._query.trim() ? this.runSearch(!1) : (this._abort?.abort(), this._searchResults = null, this._loading = !1, this.reindexActive(), this.requestUpdate()), this.dispatchEvent(
|
|
536
|
-
new CustomEvent("search", { detail: { query: this._query }, bubbles: !0, composed: !0 })
|
|
537
|
-
);
|
|
538
|
-
};
|
|
539
|
-
this._searchDebounceMs > 0 ? this._debounceTimer = window.setTimeout(t, this._searchDebounceMs) : t();
|
|
540
|
-
}
|
|
541
|
-
// ---- open / close ------------------------------------------------------
|
|
542
|
-
async open() {
|
|
543
|
-
this._disabled || !this._provider || (await this.ensureRoots(), await this.overlay.open(), this.dispatchEvent(new CustomEvent("open", { bubbles: !0, composed: !0 })));
|
|
544
|
-
}
|
|
545
|
-
close() {
|
|
546
|
-
this.overlay.close();
|
|
547
|
-
}
|
|
548
|
-
onPanelClosed() {
|
|
549
|
-
(this._query || this._searchResults) && (this._abort?.abort(), this._query = "", this._searchResults = null, this._loading = !1, this.reindexActive(), this.requestUpdate()), this.dispatchEvent(new CustomEvent("close", { bubbles: !0, composed: !0 }));
|
|
550
|
-
}
|
|
551
|
-
onTriggerClick() {
|
|
552
|
-
this.overlay.isOpen ? this.overlay.close() : this.open();
|
|
553
|
-
}
|
|
554
|
-
/**
|
|
555
|
-
* The BsComboboxDirective contract, inside the shadow root where the
|
|
556
|
-
* directive cannot reach: ArrowDown opens the popup (and a second ArrowDown
|
|
557
|
-
* hands focus to the tree, whose own roving model takes over); Escape closes
|
|
558
|
-
* unconditionally and keeps focus in the input. aria-expanded re-renders with
|
|
559
|
-
* the overlay state, so it is live rather than a first-render snapshot.
|
|
560
|
-
*/
|
|
561
|
-
onComboboxKeydown(e) {
|
|
562
|
-
if (e.key === "ArrowDown") {
|
|
563
|
-
if (e.preventDefault(), !this.overlay.isOpen) {
|
|
564
|
-
this.open();
|
|
565
|
-
return;
|
|
566
|
-
}
|
|
567
|
-
this.renderRoot?.querySelector("mp-treeview")?.focus();
|
|
568
|
-
return;
|
|
569
|
-
}
|
|
570
|
-
if (e.key === "Escape" && this.overlay.isOpen) {
|
|
571
|
-
e.preventDefault(), e.stopPropagation(), this.overlay.close();
|
|
572
|
-
return;
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
focusSearchAndOpen() {
|
|
576
|
-
this.open(), requestAnimationFrame(() => {
|
|
577
|
-
this.renderRoot.querySelector(".ts-search")?.focus();
|
|
578
|
-
});
|
|
579
|
-
}
|
|
580
|
-
// ---- selection ---------------------------------------------------------
|
|
581
|
-
onTreeSelect(e) {
|
|
582
|
-
if (this._mode !== "single") return;
|
|
583
|
-
const t = e.detail;
|
|
584
|
-
this._selected = /* @__PURE__ */ new Map([[t.node.id, t.node]]), this._byId.set(t.node.id, t.node), this.emitChange(t.node, void 0), this.requestUpdate(), this.overlay.close();
|
|
585
|
-
}
|
|
586
|
-
onCheckboxToggle(e, t) {
|
|
587
|
-
this._mode === "checkbox" && this._cascadeSelect ? (this.applyDown(e, t), this.applyUp(e), this.recomputeIndeterminate()) : t ? this._selected.set(e.id, e) : this._selected.delete(e.id), this.emitChange(t ? e : void 0, t ? void 0 : e), this.syncTreeviewSelection(), this.requestUpdate();
|
|
588
|
-
}
|
|
589
|
-
removeNode(e) {
|
|
590
|
-
const s = Array.from(
|
|
591
|
-
this.renderRoot?.querySelectorAll(".ts-chip-remove") ?? []
|
|
592
|
-
).findIndex((r) => r.closest(".ts-chip")?.contains(g()));
|
|
593
|
-
this._mode === "checkbox" && this._cascadeSelect ? (this.applyDown(e, !1), this.applyUp(e), this.recomputeIndeterminate()) : this._selected.delete(e.id), this.emitChange(void 0, e), this.syncTreeviewSelection(), this.requestUpdate(), s >= 0 && this.updateComplete.then(() => {
|
|
594
|
-
const r = Array.from(
|
|
595
|
-
this.renderRoot?.querySelectorAll(".ts-chip-remove") ?? []
|
|
596
|
-
);
|
|
597
|
-
(r[Math.min(s, r.length - 1)] ?? this.renderRoot?.querySelector("input.ts-search"))?.focus();
|
|
598
|
-
});
|
|
599
|
-
}
|
|
600
|
-
clearAll(e) {
|
|
601
|
-
e?.stopPropagation(), this._selected = /* @__PURE__ */ new Map(), this._indeterminate.clear(), this.dispatchEvent(new CustomEvent("clear", { bubbles: !0, composed: !0 })), this.emitChange(void 0, void 0), this.syncTreeviewSelection(), this.requestUpdate();
|
|
602
|
-
}
|
|
603
|
-
/** Cascade membership down over LOADED descendants only. */
|
|
604
|
-
applyDown(e, t) {
|
|
605
|
-
t ? this._selected.set(e.id, e) : this._selected.delete(e.id);
|
|
606
|
-
for (const s of e.children ?? []) this.applyDown(s, t);
|
|
607
|
-
}
|
|
608
|
-
/** Roll membership up: an ancestor is selected iff all its LOADED children are. */
|
|
609
|
-
applyUp(e) {
|
|
610
|
-
let t = this._parentById.get(e.id) ?? null;
|
|
611
|
-
for (; t; ) {
|
|
612
|
-
const s = t.children ?? [];
|
|
613
|
-
s.length > 0 && s.every((i) => this._selected.has(i.id)) ? this._selected.set(t.id, t) : this._selected.delete(t.id), t = this._parentById.get(t.id) ?? null;
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
/** Indeterminate = not selected, but ≥1 loaded descendant selected. */
|
|
617
|
-
recomputeIndeterminate() {
|
|
618
|
-
this._indeterminate.clear();
|
|
619
|
-
const e = (s) => {
|
|
620
|
-
let r = !1;
|
|
621
|
-
for (const l of s.children ?? [])
|
|
622
|
-
e(l) && (r = !0);
|
|
623
|
-
const i = this._selected.has(s.id);
|
|
624
|
-
return !i && r && this._indeterminate.add(s.id), i || r;
|
|
625
|
-
}, t = this._searchResults ?? this._nodes;
|
|
626
|
-
for (const s of t) e(s);
|
|
627
|
-
}
|
|
628
|
-
emitChange(e, t) {
|
|
629
|
-
e ? this.liveAnnouncer.announce(`${e.label} selected.`) : t ? this.liveAnnouncer.announce(`${t.label} removed.`) : this.liveAnnouncer.announce("Selection cleared."), this.dispatchEvent(
|
|
630
|
-
new CustomEvent("value-change", {
|
|
631
|
-
detail: { value: this.value, added: e, removed: t },
|
|
632
|
-
bubbles: !0,
|
|
633
|
-
composed: !0
|
|
634
|
-
})
|
|
635
|
-
);
|
|
636
|
-
}
|
|
637
|
-
syncTreeviewSelection() {
|
|
638
|
-
const e = this.renderRoot?.querySelector("mp-treeview");
|
|
639
|
-
e && (e.selectedIds = [...this._selected.keys()]);
|
|
640
|
-
}
|
|
641
|
-
get nodeRenderer() {
|
|
642
|
-
const e = this._mode === "multiple" || this._mode === "checkbox", t = `${this._mode}|${this.suggestionTemplate ? "1" : "0"}`;
|
|
643
|
-
return t === this._nodeRendererKey ? this._nodeRendererFn : (this._nodeRendererKey = t, this._nodeRendererFn = !e && !this.suggestionTemplate ? void 0 : (s) => {
|
|
644
|
-
const r = document.createElement("span");
|
|
645
|
-
if (r.className = "ts-node", e) {
|
|
646
|
-
const n = document.createElement("input");
|
|
647
|
-
n.type = "checkbox", n.className = "ts-node-check", n.checked = this._selected.has(s.id), n.indeterminate = this._indeterminate.has(s.id), n.addEventListener("click", (h) => h.stopPropagation()), n.addEventListener("change", (h) => {
|
|
648
|
-
h.stopPropagation(), this.onCheckboxToggle(s, h.target.checked);
|
|
649
|
-
}), r.appendChild(n);
|
|
650
|
-
}
|
|
651
|
-
const i = document.createElement("span");
|
|
652
|
-
i.className = "treeview-label", r.appendChild(i), d(r, "tree-select");
|
|
653
|
-
const l = this.suggestionTemplate?.(s, this._query);
|
|
654
|
-
return l ? i.appendChild(l) : i.textContent = s.label, r;
|
|
655
|
-
}, this._nodeRendererFn);
|
|
656
|
-
}
|
|
657
|
-
// ---- render ------------------------------------------------------------
|
|
658
|
-
render() {
|
|
659
|
-
return a`
|
|
1
|
+
import { i as e, v as t, y as n } from "../chunks/a11y-C6aX-lsZ.mjs";
|
|
2
|
+
import { installLightStyles as r, scopedHtml as i, stampScope as a } from "../light-dom/index.mjs";
|
|
3
|
+
import { t as o } from "../chunks/overlay-kT0nfzL-.mjs";
|
|
4
|
+
import "../chunks/treeview-BuznGbcj.mjs";
|
|
5
|
+
import { LitElement as s, nothing as c, unsafeCSS as l } from "lit";
|
|
6
|
+
import { repeat as u } from "lit/directives/repeat.js";
|
|
7
|
+
//#region libs/mintplayer-web-components/tree-select/src/styles/tree-select.light.styles.ts
|
|
8
|
+
var d = l("mp-tree-select {\n display: inline-block;\n width: 100%;\n position: relative;\n font-family: inherit;\n font-size: 1rem;\n color: var(--bs-body-color, #212529);\n --ts-border: var(--bs-border-color, #dee2e6);\n --ts-primary: var(--bs-primary, #0d6efd);\n --ts-radius: var(--bs-border-radius, 0.375rem);\n --ts-muted: var(--bs-secondary-color, #6c757d);\n}\n\nmp-tree-select[disabled] {\n opacity: 0.65;\n pointer-events: none;\n}\n\n[data-mps=tree-select] {\n box-sizing: border-box;\n}\n\nbutton[data-mps=tree-select] {\n font-family: inherit;\n font-size: inherit;\n}\n\n.ts-control[data-mps=tree-select] {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 0.25rem;\n width: 100%;\n min-height: calc(1.5em + 0.75rem + 2px);\n padding: 0.25rem 0.5rem;\n background: var(--bs-body-bg, #fff);\n border: 1px solid var(--ts-border);\n border-radius: var(--ts-radius);\n cursor: text;\n}\n\n.ts-control:focus-within[data-mps=tree-select] {\n border-color: var(--ts-primary);\n box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n}\n\n.ts-button[data-mps=tree-select] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 0.5rem;\n width: 100%;\n min-height: calc(1.5em + 0.75rem + 2px);\n padding: 0.375rem 0.75rem;\n background: var(--bs-body-bg, #fff);\n border: 1px solid var(--ts-border);\n border-radius: var(--ts-radius);\n cursor: pointer;\n text-align: start;\n}\n\n.ts-button:focus-visible[data-mps=tree-select] {\n outline: none;\n border-color: var(--ts-primary);\n box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n}\n\n.ts-button-body[data-mps=tree-select] {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 0.25rem;\n flex: 1 1 auto;\n min-width: 0;\n}\n\n.ts-placeholder[data-mps=tree-select] {\n color: var(--ts-muted);\n}\n\n.ts-single-value[data-mps=tree-select] {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ts-search[data-mps=tree-select] {\n flex: 1 1 4rem;\n min-width: 4rem;\n border: 0;\n outline: 0;\n padding: 0.125rem;\n background: transparent;\n color: inherit;\n font: inherit;\n}\n\n.ts-search.panel-search[data-mps=tree-select] {\n flex: 1 1 auto;\n width: 100%;\n border: 1px solid var(--ts-border);\n border-radius: var(--ts-radius);\n padding: 0.375rem 0.5rem;\n}\n\n.ts-chip[data-mps=tree-select] {\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n flex: 0 0 auto;\n max-width: 100%;\n padding: 0.125rem 0.375rem;\n background: var(--bs-secondary-bg, #e9ecef);\n border-radius: var(--ts-radius);\n font-size: 0.875em;\n line-height: 1.2;\n}\n\n.ts-chip-label[data-mps=tree-select] {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ts-chip-remove[data-mps=tree-select],\n.ts-clear[data-mps=tree-select] {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 0;\n background: transparent;\n color: inherit;\n cursor: pointer;\n padding: 0;\n line-height: 1;\n font-size: 1em;\n opacity: 0.7;\n}\n\n.ts-chip-remove:hover[data-mps=tree-select],\n.ts-clear:hover[data-mps=tree-select] {\n opacity: 1;\n}\n\n.ts-clear[data-mps=tree-select] {\n flex: 0 0 auto;\n margin-inline-start: auto;\n font-size: 1.1em;\n}\n\n.ts-caret[data-mps=tree-select] {\n flex: 0 0 auto;\n display: inline-flex;\n width: 0.8em;\n height: 0.8em;\n color: var(--ts-muted);\n transition: transform 0.15s ease;\n}\n\n.ts-caret-icon[data-mps=tree-select] {\n display: inline-flex;\n width: 100%;\n height: 100%;\n}\n\nmp-tree-select[data-menu-open] .ts-caret[data-mps=tree-select] {\n transform: rotate(180deg);\n}\n\n.ts-panel[data-mps=tree-select] {\n position: fixed;\n z-index: 1056;\n display: none;\n flex-direction: column;\n background: var(--bs-body-bg, #fff);\n border: 1px solid var(--ts-border);\n border-radius: var(--ts-radius);\n box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);\n overflow: hidden;\n}\n\nmp-tree-select[data-menu-open] .ts-panel[data-mps=tree-select] {\n display: flex;\n}\n\n.ts-panel-header[data-mps=tree-select],\n.ts-panel-footer[data-mps=tree-select] {\n flex: 0 0 auto;\n padding: 0.5rem;\n border-bottom: 1px solid var(--ts-border);\n}\n\n.ts-panel-footer[data-mps=tree-select] {\n border-bottom: 0;\n border-top: 1px solid var(--ts-border);\n}\n\n.ts-panel-body[data-mps=tree-select] {\n flex: 1 1 auto;\n overflow: auto;\n max-height: var(--mp-tree-select-panel-max-height, 300px);\n}\n\n.ts-state[data-mps=tree-select] {\n padding: 0.75rem;\n color: var(--ts-muted);\n text-align: center;\n}\n\n.ts-load-more[data-mps=tree-select] {\n display: block;\n width: 100%;\n padding: 0.375rem;\n border: 0;\n border-top: 1px solid var(--ts-border);\n background: transparent;\n color: var(--ts-primary);\n cursor: pointer;\n font: inherit;\n}\n\n.ts-load-more:hover[data-mps=tree-select] {\n background: var(--bs-secondary-bg, #e9ecef);\n}\n\n.ts-spinner[data-mps=tree-select] {\n display: inline-block;\n width: 1rem;\n height: 1rem;\n border: 0.15em solid currentColor;\n border-right-color: transparent;\n border-radius: 50%;\n animation: ts-spin 0.75s linear infinite;\n vertical-align: -0.125em;\n}\n\n@keyframes ts-spin {\n to {\n transform: rotate(360deg);\n }\n}\n.ts-node[data-mps=tree-select] {\n display: inline-flex;\n align-items: center;\n gap: 0.4rem;\n}\n\n.ts-node-check[data-mps=tree-select] {\n flex: 0 0 auto;\n margin: 0;\n cursor: pointer;\n}\n\n@media (prefers-reduced-motion: reduce) {\n [data-mps=tree-select] {\n transition-duration: 0.01ms !important;\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n }\n}"), f = i("tree-select"), p = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" width=\"100%\" height=\"100%\"><path d=\"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z\"/></svg>", m = class extends s {
|
|
9
|
+
constructor(...t) {
|
|
10
|
+
super(...t), this._mode = "single", this._variant = "textbox", this._cascadeSelect = !1, this._placeholder = "", this._showClear = !1, this._scrollHeight = "300px", this._inputLabel = null, this._searchLabel = null, this._clearLabel = "Clear", this.removeLabel = (e) => `Remove ${e}`, this.hostAria = new e(this, { referenceTarget: () => this.renderRoot?.querySelector("input.ts-search") ?? null }), this._disabled = !1, this._searchDebounceMs = 200, this._nodes = [], this._searchResults = null, this.liveAnnouncer = new n(this), this._query = "", this._loading = !1, this._rootsLoaded = !1, this._rootsHasMore = !1, this._searchHasMore = !1, this._byId = /* @__PURE__ */ new Map(), this._parentById = /* @__PURE__ */ new Map(), this._selected = /* @__PURE__ */ new Map(), this._indeterminate = /* @__PURE__ */ new Set(), this._debounceTimer = 0, this.overlay = new o(this, {
|
|
11
|
+
anchor: () => this.renderRoot.querySelector(".ts-anchor"),
|
|
12
|
+
panel: () => this.renderRoot.querySelector(".ts-panel"),
|
|
13
|
+
panelWidth: "anchor-min",
|
|
14
|
+
scrollStrategy: "reposition",
|
|
15
|
+
onClose: () => this.onPanelClosed()
|
|
16
|
+
}), this.treeviewLoadChildren = async (e) => {
|
|
17
|
+
if (!this._provider) return [];
|
|
18
|
+
let t = new AbortController();
|
|
19
|
+
try {
|
|
20
|
+
let n = await this._provider.loadChildren(e, {
|
|
21
|
+
offset: 0,
|
|
22
|
+
signal: t.signal
|
|
23
|
+
}), r = this._byId.get(e);
|
|
24
|
+
if (r && (r.children = n.nodes, this._searchResults ? this._searchResults = [...this._searchResults] : this._nodes = [...this._nodes], this.reindexActive()), this._mode === "checkbox" && this._cascadeSelect && r && this._selected.has(e)) {
|
|
25
|
+
for (let e of n.nodes) this.applyDown(e, !0);
|
|
26
|
+
this.recomputeIndeterminate();
|
|
27
|
+
}
|
|
28
|
+
return this.requestUpdate(), n.nodes;
|
|
29
|
+
} catch (e) {
|
|
30
|
+
return this.dispatchEvent(new CustomEvent("load-error", {
|
|
31
|
+
detail: { error: e },
|
|
32
|
+
bubbles: !0,
|
|
33
|
+
composed: !0
|
|
34
|
+
})), [];
|
|
35
|
+
}
|
|
36
|
+
}, this._nodeRendererKey = "";
|
|
37
|
+
}
|
|
38
|
+
createRenderRoot() {
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
static get observedAttributes() {
|
|
42
|
+
return [
|
|
43
|
+
...super.observedAttributes ?? [],
|
|
44
|
+
"mode",
|
|
45
|
+
"variant",
|
|
46
|
+
"cascade-select",
|
|
47
|
+
"placeholder",
|
|
48
|
+
"show-clear",
|
|
49
|
+
"scroll-height",
|
|
50
|
+
"disabled",
|
|
51
|
+
"search-debounce-ms",
|
|
52
|
+
"aria-label",
|
|
53
|
+
"input-label",
|
|
54
|
+
"search-label",
|
|
55
|
+
"clear-label",
|
|
56
|
+
"aria-labelledby",
|
|
57
|
+
"aria-describedby"
|
|
58
|
+
];
|
|
59
|
+
}
|
|
60
|
+
get clearLabel() {
|
|
61
|
+
return this._clearLabel;
|
|
62
|
+
}
|
|
63
|
+
set clearLabel(e) {
|
|
64
|
+
let t = e || "Clear";
|
|
65
|
+
this._clearLabel !== t && (this._clearLabel = t, this.requestUpdate());
|
|
66
|
+
}
|
|
67
|
+
get provider() {
|
|
68
|
+
return this._provider;
|
|
69
|
+
}
|
|
70
|
+
set provider(e) {
|
|
71
|
+
e !== this._provider && (this._provider = e, this._rootsLoaded = !1, this._nodes = [], this._byId.clear(), this._parentById.clear(), this.overlay.isOpen && this.ensureRoots(), this.requestUpdate());
|
|
72
|
+
}
|
|
73
|
+
get value() {
|
|
74
|
+
return this._mode === "single" ? this._selected.size ? this._selected.values().next().value : null : [...this._selected.values()];
|
|
75
|
+
}
|
|
76
|
+
set value(e) {
|
|
77
|
+
this._selected = /* @__PURE__ */ new Map();
|
|
78
|
+
let t = Array.isArray(e) ? e : e ? [e] : [];
|
|
79
|
+
for (let e of t) e && (this._selected.set(e.id, e), this._byId.set(e.id, e));
|
|
80
|
+
this.recomputeIndeterminate(), this.syncTreeviewSelection(), this.requestUpdate();
|
|
81
|
+
}
|
|
82
|
+
get mode() {
|
|
83
|
+
return this._mode;
|
|
84
|
+
}
|
|
85
|
+
set mode(e) {
|
|
86
|
+
if (this._mode = e, e === "single" && this._selected.size > 1) {
|
|
87
|
+
let e = this._selected.values().next().value;
|
|
88
|
+
this._selected = /* @__PURE__ */ new Map([[e.id, e]]);
|
|
89
|
+
}
|
|
90
|
+
this.requestUpdate();
|
|
91
|
+
}
|
|
92
|
+
get variant() {
|
|
93
|
+
return this._variant;
|
|
94
|
+
}
|
|
95
|
+
set variant(e) {
|
|
96
|
+
this._variant = e, this.requestUpdate();
|
|
97
|
+
}
|
|
98
|
+
get cascadeSelect() {
|
|
99
|
+
return this._cascadeSelect;
|
|
100
|
+
}
|
|
101
|
+
set cascadeSelect(e) {
|
|
102
|
+
this._cascadeSelect = !!e, this.requestUpdate();
|
|
103
|
+
}
|
|
104
|
+
get placeholder() {
|
|
105
|
+
return this._placeholder;
|
|
106
|
+
}
|
|
107
|
+
set placeholder(e) {
|
|
108
|
+
this._placeholder = e ?? "", this.requestUpdate();
|
|
109
|
+
}
|
|
110
|
+
get showClear() {
|
|
111
|
+
return this._showClear;
|
|
112
|
+
}
|
|
113
|
+
set showClear(e) {
|
|
114
|
+
this._showClear = !!e, this.requestUpdate();
|
|
115
|
+
}
|
|
116
|
+
get panelScrollHeight() {
|
|
117
|
+
return this._scrollHeight;
|
|
118
|
+
}
|
|
119
|
+
set panelScrollHeight(e) {
|
|
120
|
+
this._scrollHeight = e || "300px", this.style.setProperty("--mp-tree-select-panel-max-height", this._scrollHeight);
|
|
121
|
+
}
|
|
122
|
+
get disabled() {
|
|
123
|
+
return this._disabled;
|
|
124
|
+
}
|
|
125
|
+
set disabled(e) {
|
|
126
|
+
this._disabled = !!e, this.toggleAttribute("disabled", this._disabled), this._disabled && this.overlay.close(!1), this.requestUpdate();
|
|
127
|
+
}
|
|
128
|
+
get searchDebounceMs() {
|
|
129
|
+
return this._searchDebounceMs;
|
|
130
|
+
}
|
|
131
|
+
set searchDebounceMs(e) {
|
|
132
|
+
this._searchDebounceMs = Math.max(0, Number(e) || 0);
|
|
133
|
+
}
|
|
134
|
+
attributeChangedCallback(e, t, n) {
|
|
135
|
+
switch (super.attributeChangedCallback(e, t, n), e) {
|
|
136
|
+
case "mode":
|
|
137
|
+
this.mode = n === "multiple" || n === "checkbox" ? n : "single";
|
|
138
|
+
break;
|
|
139
|
+
case "variant":
|
|
140
|
+
this.variant = n === "button" ? "button" : "textbox";
|
|
141
|
+
break;
|
|
142
|
+
case "cascade-select":
|
|
143
|
+
this.cascadeSelect = n !== null;
|
|
144
|
+
break;
|
|
145
|
+
case "placeholder":
|
|
146
|
+
this.placeholder = n ?? "";
|
|
147
|
+
break;
|
|
148
|
+
case "show-clear":
|
|
149
|
+
this.showClear = n !== null;
|
|
150
|
+
break;
|
|
151
|
+
case "scroll-height":
|
|
152
|
+
this.panelScrollHeight = n ?? "300px";
|
|
153
|
+
break;
|
|
154
|
+
case "disabled":
|
|
155
|
+
this.disabled = n !== null;
|
|
156
|
+
break;
|
|
157
|
+
case "search-debounce-ms": {
|
|
158
|
+
let e = n === null ? NaN : Number(n);
|
|
159
|
+
this.searchDebounceMs = Number.isFinite(e) ? e : 200;
|
|
160
|
+
break;
|
|
161
|
+
}
|
|
162
|
+
case "aria-label":
|
|
163
|
+
this.requestUpdate();
|
|
164
|
+
break;
|
|
165
|
+
case "input-label":
|
|
166
|
+
this._inputLabel = n, this.requestUpdate();
|
|
167
|
+
break;
|
|
168
|
+
case "search-label":
|
|
169
|
+
this._searchLabel = n, this.requestUpdate();
|
|
170
|
+
break;
|
|
171
|
+
case "clear-label":
|
|
172
|
+
this.clearLabel = n ?? "Clear";
|
|
173
|
+
break;
|
|
174
|
+
case "aria-labelledby":
|
|
175
|
+
case "aria-describedby": this.hostAria.syncReferences();
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
get inputLabel() {
|
|
179
|
+
return this._inputLabel;
|
|
180
|
+
}
|
|
181
|
+
set inputLabel(e) {
|
|
182
|
+
let t = e ?? null;
|
|
183
|
+
this._inputLabel !== t && (this._inputLabel = t, this.requestUpdate());
|
|
184
|
+
}
|
|
185
|
+
get searchLabel() {
|
|
186
|
+
return this._searchLabel;
|
|
187
|
+
}
|
|
188
|
+
set searchLabel(e) {
|
|
189
|
+
let t = e ?? null;
|
|
190
|
+
this._searchLabel !== t && (this._searchLabel = t, this.requestUpdate());
|
|
191
|
+
}
|
|
192
|
+
updated() {
|
|
193
|
+
this.hostAria.syncReferences();
|
|
194
|
+
}
|
|
195
|
+
disconnectedCallback() {
|
|
196
|
+
super.disconnectedCallback(), this._abort?.abort(), this._debounceTimer && clearTimeout(this._debounceTimer);
|
|
197
|
+
}
|
|
198
|
+
indexNodes(e, t) {
|
|
199
|
+
for (let n of e) this._byId.set(n.id, n), this._parentById.set(n.id, t), n.children?.length && this.indexNodes(n.children, n);
|
|
200
|
+
}
|
|
201
|
+
reindexActive() {
|
|
202
|
+
this._byId.clear(), this._parentById.clear(), this.indexNodes(this._searchResults ?? this._nodes, null);
|
|
203
|
+
}
|
|
204
|
+
async ensureRoots() {
|
|
205
|
+
!this._rootsLoaded && this._provider && await this.loadRoots(!1);
|
|
206
|
+
}
|
|
207
|
+
async loadRoots(e) {
|
|
208
|
+
if (!this._provider) return;
|
|
209
|
+
let t = e ? this._nodes.length : 0, n = await this.runRequest((e) => this._provider.loadRoots({
|
|
210
|
+
offset: t,
|
|
211
|
+
signal: e
|
|
212
|
+
}));
|
|
213
|
+
n && (this._nodes = e ? [...this._nodes, ...n.nodes] : n.nodes, this._rootsHasMore = !!n.hasMore, this._rootsLoaded = !0, this.reindexActive(), this.requestUpdate());
|
|
214
|
+
}
|
|
215
|
+
async runSearch(e) {
|
|
216
|
+
if (!this._provider) return;
|
|
217
|
+
let t = this._query, n = e ? this._searchResults?.length ?? 0 : 0, r = await this.runRequest((e) => this._provider.search(t, {
|
|
218
|
+
offset: n,
|
|
219
|
+
signal: e
|
|
220
|
+
}));
|
|
221
|
+
if (r) {
|
|
222
|
+
if (this._searchResults = e ? [...this._searchResults ?? [], ...r.nodes] : r.nodes, !e) {
|
|
223
|
+
let e = this._searchResults.length;
|
|
224
|
+
this.liveAnnouncer.announce(e === 1 ? "1 result." : `${e} results.`);
|
|
225
|
+
}
|
|
226
|
+
this._searchHasMore = !!r.hasMore, this.reindexActive(), this.requestUpdate();
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
async runRequest(e) {
|
|
230
|
+
this._abort?.abort();
|
|
231
|
+
let t = new AbortController();
|
|
232
|
+
this._abort = t, this._loading = !0, this.requestUpdate();
|
|
233
|
+
try {
|
|
234
|
+
let n = await e(t.signal);
|
|
235
|
+
return t.signal.aborted ? null : (this._loading = !1, this.requestUpdate(), n);
|
|
236
|
+
} catch (e) {
|
|
237
|
+
return t.signal.aborted || e?.name === "AbortError" || (this._loading = !1, this.dispatchEvent(new CustomEvent("load-error", {
|
|
238
|
+
detail: { error: e },
|
|
239
|
+
bubbles: !0,
|
|
240
|
+
composed: !0
|
|
241
|
+
})), this.requestUpdate()), null;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
onLoadMore() {
|
|
245
|
+
this._query ? this.runSearch(!0) : this.loadRoots(!0);
|
|
246
|
+
}
|
|
247
|
+
onSearchInput(e) {
|
|
248
|
+
this._query = e.target.value, this.overlay.isOpen || this.open(), this._debounceTimer && clearTimeout(this._debounceTimer);
|
|
249
|
+
let t = () => {
|
|
250
|
+
this._query.trim() ? this.runSearch(!1) : (this._abort?.abort(), this._searchResults = null, this._loading = !1, this.reindexActive(), this.requestUpdate()), this.dispatchEvent(new CustomEvent("search", {
|
|
251
|
+
detail: { query: this._query },
|
|
252
|
+
bubbles: !0,
|
|
253
|
+
composed: !0
|
|
254
|
+
}));
|
|
255
|
+
};
|
|
256
|
+
this._searchDebounceMs > 0 ? this._debounceTimer = window.setTimeout(t, this._searchDebounceMs) : t();
|
|
257
|
+
}
|
|
258
|
+
async open() {
|
|
259
|
+
!this._disabled && this._provider && (await this.ensureRoots(), await this.overlay.open(), this.dispatchEvent(new CustomEvent("open", {
|
|
260
|
+
bubbles: !0,
|
|
261
|
+
composed: !0
|
|
262
|
+
})));
|
|
263
|
+
}
|
|
264
|
+
close() {
|
|
265
|
+
this.overlay.close();
|
|
266
|
+
}
|
|
267
|
+
onPanelClosed() {
|
|
268
|
+
(this._query || this._searchResults) && (this._abort?.abort(), this._query = "", this._searchResults = null, this._loading = !1, this.reindexActive(), this.requestUpdate()), this.dispatchEvent(new CustomEvent("close", {
|
|
269
|
+
bubbles: !0,
|
|
270
|
+
composed: !0
|
|
271
|
+
}));
|
|
272
|
+
}
|
|
273
|
+
onTriggerClick() {
|
|
274
|
+
this.overlay.isOpen ? this.overlay.close() : this.open();
|
|
275
|
+
}
|
|
276
|
+
onComboboxKeydown(e) {
|
|
277
|
+
if (e.key === "ArrowDown") {
|
|
278
|
+
if (e.preventDefault(), !this.overlay.isOpen) {
|
|
279
|
+
this.open();
|
|
280
|
+
return;
|
|
281
|
+
}
|
|
282
|
+
(this.renderRoot?.querySelector("mp-treeview"))?.focus();
|
|
283
|
+
} else e.key === "Escape" && this.overlay.isOpen && (e.preventDefault(), e.stopPropagation(), this.overlay.close());
|
|
284
|
+
}
|
|
285
|
+
focusSearchAndOpen() {
|
|
286
|
+
this.open(), requestAnimationFrame(() => {
|
|
287
|
+
this.renderRoot.querySelector(".ts-search")?.focus();
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
onTreeSelect(e) {
|
|
291
|
+
if (this._mode !== "single") return;
|
|
292
|
+
let t = e.detail;
|
|
293
|
+
this._selected = /* @__PURE__ */ new Map([[t.node.id, t.node]]), this._byId.set(t.node.id, t.node), this.emitChange(t.node, void 0), this.requestUpdate(), this.overlay.close();
|
|
294
|
+
}
|
|
295
|
+
onCheckboxToggle(e, t) {
|
|
296
|
+
this._mode === "checkbox" && this._cascadeSelect ? (this.applyDown(e, t), this.applyUp(e), this.recomputeIndeterminate()) : t ? this._selected.set(e.id, e) : this._selected.delete(e.id), this.emitChange(t ? e : void 0, t ? void 0 : e), this.syncTreeviewSelection(), this.requestUpdate();
|
|
297
|
+
}
|
|
298
|
+
removeNode(e) {
|
|
299
|
+
let n = Array.from(this.renderRoot?.querySelectorAll(".ts-chip-remove") ?? []).findIndex((e) => e.closest(".ts-chip")?.contains(t()));
|
|
300
|
+
this._mode === "checkbox" && this._cascadeSelect ? (this.applyDown(e, !1), this.applyUp(e), this.recomputeIndeterminate()) : this._selected.delete(e.id), this.emitChange(void 0, e), this.syncTreeviewSelection(), this.requestUpdate(), n >= 0 && this.updateComplete.then(() => {
|
|
301
|
+
let e = Array.from(this.renderRoot?.querySelectorAll(".ts-chip-remove") ?? []);
|
|
302
|
+
(e[Math.min(n, e.length - 1)] ?? this.renderRoot?.querySelector("input.ts-search"))?.focus();
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
clearAll(e) {
|
|
306
|
+
e?.stopPropagation(), this._selected = /* @__PURE__ */ new Map(), this._indeterminate.clear(), this.dispatchEvent(new CustomEvent("clear", {
|
|
307
|
+
bubbles: !0,
|
|
308
|
+
composed: !0
|
|
309
|
+
})), this.emitChange(void 0, void 0), this.syncTreeviewSelection(), this.requestUpdate();
|
|
310
|
+
}
|
|
311
|
+
applyDown(e, t) {
|
|
312
|
+
t ? this._selected.set(e.id, e) : this._selected.delete(e.id);
|
|
313
|
+
for (let n of e.children ?? []) this.applyDown(n, t);
|
|
314
|
+
}
|
|
315
|
+
applyUp(e) {
|
|
316
|
+
let t = this._parentById.get(e.id) ?? null;
|
|
317
|
+
for (; t;) {
|
|
318
|
+
let e = t.children ?? [];
|
|
319
|
+
e.length > 0 && e.every((e) => this._selected.has(e.id)) ? this._selected.set(t.id, t) : this._selected.delete(t.id), t = this._parentById.get(t.id) ?? null;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
recomputeIndeterminate() {
|
|
323
|
+
this._indeterminate.clear();
|
|
324
|
+
let e = (t) => {
|
|
325
|
+
let n = !1;
|
|
326
|
+
for (let r of t.children ?? []) e(r) && (n = !0);
|
|
327
|
+
let r = this._selected.has(t.id);
|
|
328
|
+
return !r && n && this._indeterminate.add(t.id), r || n;
|
|
329
|
+
}, t = this._searchResults ?? this._nodes;
|
|
330
|
+
for (let n of t) e(n);
|
|
331
|
+
}
|
|
332
|
+
emitChange(e, t) {
|
|
333
|
+
e ? this.liveAnnouncer.announce(`${e.label} selected.`) : t ? this.liveAnnouncer.announce(`${t.label} removed.`) : this.liveAnnouncer.announce("Selection cleared."), this.dispatchEvent(new CustomEvent("value-change", {
|
|
334
|
+
detail: {
|
|
335
|
+
value: this.value,
|
|
336
|
+
added: e,
|
|
337
|
+
removed: t
|
|
338
|
+
},
|
|
339
|
+
bubbles: !0,
|
|
340
|
+
composed: !0
|
|
341
|
+
}));
|
|
342
|
+
}
|
|
343
|
+
syncTreeviewSelection() {
|
|
344
|
+
let e = this.renderRoot?.querySelector("mp-treeview");
|
|
345
|
+
e && (e.selectedIds = [...this._selected.keys()]);
|
|
346
|
+
}
|
|
347
|
+
get nodeRenderer() {
|
|
348
|
+
let e = this._mode === "multiple" || this._mode === "checkbox", t = `${this._mode}|${this.suggestionTemplate ? "1" : "0"}`;
|
|
349
|
+
return t === this._nodeRendererKey || (this._nodeRendererKey = t, this._nodeRendererFn = !e && !this.suggestionTemplate ? void 0 : (t) => {
|
|
350
|
+
let n = document.createElement("span");
|
|
351
|
+
if (n.className = "ts-node", e) {
|
|
352
|
+
let e = document.createElement("input");
|
|
353
|
+
e.type = "checkbox", e.className = "ts-node-check", e.checked = this._selected.has(t.id), e.indeterminate = this._indeterminate.has(t.id), e.addEventListener("click", (e) => e.stopPropagation()), e.addEventListener("change", (e) => {
|
|
354
|
+
e.stopPropagation(), this.onCheckboxToggle(t, e.target.checked);
|
|
355
|
+
}), n.appendChild(e);
|
|
356
|
+
}
|
|
357
|
+
let r = document.createElement("span");
|
|
358
|
+
r.className = "treeview-label", n.appendChild(r), a(n, "tree-select");
|
|
359
|
+
let i = this.suggestionTemplate?.(t, this._query);
|
|
360
|
+
return i ? r.appendChild(i) : r.textContent = t.label, n;
|
|
361
|
+
}), this._nodeRendererFn;
|
|
362
|
+
}
|
|
363
|
+
render() {
|
|
364
|
+
return f`
|
|
660
365
|
${this.liveAnnouncer.template()}${this.renderTrigger()}${this.renderPanel()}`;
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
366
|
+
}
|
|
367
|
+
get hasSelection() {
|
|
368
|
+
return this._selected.size > 0;
|
|
369
|
+
}
|
|
370
|
+
renderTrigger() {
|
|
371
|
+
return this._variant === "button" ? this.renderButtonTrigger() : this.renderTextboxTrigger();
|
|
372
|
+
}
|
|
373
|
+
renderButtonTrigger() {
|
|
374
|
+
return f`
|
|
670
375
|
<button
|
|
671
376
|
class="ts-button ts-anchor"
|
|
672
377
|
type="button"
|
|
@@ -680,13 +385,13 @@ class S extends u {
|
|
|
680
385
|
<span class="ts-caret">${this.renderCaret()}</span>
|
|
681
386
|
</button>
|
|
682
387
|
`;
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
388
|
+
}
|
|
389
|
+
renderTextboxTrigger() {
|
|
390
|
+
let e = this._mode === "single" && this.hasSelection && !this._query;
|
|
391
|
+
return f`
|
|
687
392
|
<div class="ts-control ts-anchor" @click=${() => this.focusSearchAndOpen()}>
|
|
688
393
|
${this.renderChips()}
|
|
689
|
-
${e ?
|
|
394
|
+
${e ? f`<span class="ts-single-value">${this.renderSelectedLabel()}</span>` : c}
|
|
690
395
|
<input
|
|
691
396
|
class="ts-search"
|
|
692
397
|
type="text"
|
|
@@ -698,27 +403,24 @@ class S extends u {
|
|
|
698
403
|
?disabled=${this._disabled}
|
|
699
404
|
placeholder=${this.hasSelection ? "" : this._placeholder}
|
|
700
405
|
aria-label=${this.getAttribute("aria-label") ?? this._inputLabel ?? (this._placeholder || "Search")}
|
|
701
|
-
@input=${(
|
|
406
|
+
@input=${(e) => this.onSearchInput(e)}
|
|
702
407
|
@focus=${() => this.open()}
|
|
703
|
-
@keydown=${(
|
|
408
|
+
@keydown=${(e) => this.onComboboxKeydown(e)}
|
|
704
409
|
/>
|
|
705
410
|
${this.renderClear()}
|
|
706
411
|
<span class="ts-caret">${this.renderCaret()}</span>
|
|
707
412
|
</div>
|
|
708
413
|
`;
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
[...this._selected.values()],
|
|
720
|
-
(e) => e.id,
|
|
721
|
-
(e) => a`
|
|
414
|
+
}
|
|
415
|
+
renderTriggerBody() {
|
|
416
|
+
return this.buttonTemplate ? this.buttonTemplate(this.value) : this.hasSelection ? this._mode === "single" ? this.renderSelectedLabel() : this.renderChips() : f`<span class="ts-placeholder">${this._placeholder}</span>`;
|
|
417
|
+
}
|
|
418
|
+
renderSelectedLabel() {
|
|
419
|
+
let e = this._selected.values().next().value;
|
|
420
|
+
return e ? this.itemTemplate ? this.itemTemplate(e, this._query) : e.label : c;
|
|
421
|
+
}
|
|
422
|
+
renderChips() {
|
|
423
|
+
return this._mode === "single" || !this.hasSelection ? c : u([...this._selected.values()], (e) => e.id, (e) => f`
|
|
722
424
|
<span class="ts-chip">
|
|
723
425
|
<span class="ts-chip-label"
|
|
724
426
|
>${this.itemTemplate ? this.itemTemplate(e, this._query) : e.label}</span
|
|
@@ -728,17 +430,16 @@ class S extends u {
|
|
|
728
430
|
type="button"
|
|
729
431
|
aria-label=${this.removeLabel(String(e.label ?? ""))}
|
|
730
432
|
@click=${(t) => {
|
|
731
|
-
|
|
732
|
-
|
|
433
|
+
t.stopPropagation(), this.removeNode(e);
|
|
434
|
+
}}
|
|
733
435
|
>
|
|
734
436
|
×
|
|
735
437
|
</button>
|
|
736
438
|
</span>
|
|
737
|
-
`
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
return !this._showClear || !this.hasSelection ? o : a`<button
|
|
439
|
+
`);
|
|
440
|
+
}
|
|
441
|
+
renderClear() {
|
|
442
|
+
return !this._showClear || !this.hasSelection ? c : f`<button
|
|
742
443
|
class="ts-clear"
|
|
743
444
|
type="button"
|
|
744
445
|
aria-label=${this._clearLabel}
|
|
@@ -746,16 +447,16 @@ class S extends u {
|
|
|
746
447
|
>
|
|
747
448
|
×
|
|
748
449
|
</button>`;
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
<div class="ts-panel" role="dialog" aria-busy=${this._loading ? "true" :
|
|
757
|
-
${this.headerTemplate ?
|
|
758
|
-
${this._variant === "button" ?
|
|
450
|
+
}
|
|
451
|
+
renderCaret() {
|
|
452
|
+
let e = document.createElement("span");
|
|
453
|
+
return e.className = "ts-caret-icon", e.innerHTML = p, a(e, "tree-select"), e;
|
|
454
|
+
}
|
|
455
|
+
renderPanel() {
|
|
456
|
+
return f`
|
|
457
|
+
<div class="ts-panel" role="dialog" aria-busy=${this._loading ? "true" : c}>
|
|
458
|
+
${this.headerTemplate ? f`<div class="ts-panel-header">${this.headerTemplate()}</div>` : c}
|
|
459
|
+
${this._variant === "button" ? f`<div class="ts-panel-header">
|
|
759
460
|
<input
|
|
760
461
|
class="ts-search panel-search"
|
|
761
462
|
type="text"
|
|
@@ -764,80 +465,77 @@ class S extends u {
|
|
|
764
465
|
aria-label=${this._searchLabel ?? "Search"}
|
|
765
466
|
@input=${(e) => this.onSearchInput(e)}
|
|
766
467
|
/>
|
|
767
|
-
</div>` :
|
|
468
|
+
</div>` : c}
|
|
768
469
|
<div class="ts-panel-body">${this.renderBody()}</div>
|
|
769
470
|
${this.renderLoadMore()}
|
|
770
|
-
${this.footerTemplate ?
|
|
471
|
+
${this.footerTemplate ? f`<div class="ts-panel-footer">${this.footerTemplate()}</div>` : c}
|
|
771
472
|
</div>
|
|
772
473
|
`;
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
return a`
|
|
474
|
+
}
|
|
475
|
+
renderBody() {
|
|
476
|
+
if (!this._provider) return f`<div class="ts-state">No data provider</div>`;
|
|
477
|
+
let e = !!this._query.trim();
|
|
478
|
+
return this._loading && (e ? this._searchResults === null : !this._rootsLoaded) ? f`<div class="ts-state"><span class="ts-spinner"></span></div>` : e ? this._searchResults?.length ? this.renderTreeview(this._searchResults) : f`<div class="ts-state">${this.noResultsTemplate ? this.noResultsTemplate() : "No results"}</div>` : this._nodes.length ? this.renderTreeview(this._nodes) : f`<div class="ts-state">${this.enterSearchTermTemplate ? this.enterSearchTermTemplate() : "No items"}</div>`;
|
|
479
|
+
}
|
|
480
|
+
renderTreeview(e) {
|
|
481
|
+
return f`
|
|
782
482
|
<mp-treeview
|
|
783
483
|
hide-borders
|
|
784
484
|
.items=${e}
|
|
785
|
-
.selectionMode=${
|
|
485
|
+
.selectionMode=${this._mode === "single" ? "single" : "none"}
|
|
786
486
|
.selectedIds=${[...this._selected.keys()]}
|
|
787
487
|
.loadChildren=${this.treeviewLoadChildren}
|
|
788
488
|
.nodeRenderer=${this.nodeRenderer}
|
|
789
|
-
@tree-node-select=${(
|
|
489
|
+
@tree-node-select=${(e) => this.onTreeSelect(e)}
|
|
790
490
|
></mp-treeview>
|
|
791
491
|
`;
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
${this._loading ?
|
|
796
|
-
</button>` :
|
|
797
|
-
|
|
798
|
-
}
|
|
799
|
-
b("tree-select", w);
|
|
800
|
-
typeof customElements < "u" && !customElements.get("mp-tree-select") && customElements.define("mp-tree-select", S);
|
|
801
|
-
class A {
|
|
802
|
-
constructor(e, t = {}) {
|
|
803
|
-
this.tree = e, this.byId = /* @__PURE__ */ new Map(), this.flat = [], this.pageSize = t.pageSize ?? 50, this.delayMs = t.delayMs ?? 0;
|
|
804
|
-
const s = (r) => {
|
|
805
|
-
for (const i of r)
|
|
806
|
-
this.byId.set(i.id, i), this.flat.push(i), i.children?.length && s(i.children);
|
|
807
|
-
};
|
|
808
|
-
s(e);
|
|
809
|
-
}
|
|
810
|
-
loadRoots(e) {
|
|
811
|
-
return this.page(this.tree, e);
|
|
812
|
-
}
|
|
813
|
-
loadChildren(e, t) {
|
|
814
|
-
const s = this.byId.get(e);
|
|
815
|
-
return this.page(s?.children ?? [], t);
|
|
816
|
-
}
|
|
817
|
-
search(e, t) {
|
|
818
|
-
const s = e.trim().toLowerCase();
|
|
819
|
-
if (!s) return this.page([], t);
|
|
820
|
-
const r = this.flat.filter(
|
|
821
|
-
(i) => i.label.toLowerCase().includes(s) || i.id.toLowerCase().includes(s)
|
|
822
|
-
);
|
|
823
|
-
return this.page(r, t);
|
|
824
|
-
}
|
|
825
|
-
async page(e, t) {
|
|
826
|
-
if (this.delayMs > 0 && await new Promise((i) => setTimeout(i, this.delayMs)), t.signal.aborted) throw new DOMException("Aborted", "AbortError");
|
|
827
|
-
const s = Math.max(0, t.offset ?? 0);
|
|
828
|
-
return {
|
|
829
|
-
nodes: e.slice(s, s + this.pageSize).map((i) => this.toShallow(i)),
|
|
830
|
-
hasMore: s + this.pageSize < e.length
|
|
831
|
-
};
|
|
832
|
-
}
|
|
833
|
-
/** Strip children; flag `lazy` when the source node actually has children. */
|
|
834
|
-
toShallow(e) {
|
|
835
|
-
const t = !!e.children?.length;
|
|
836
|
-
return { ...e, children: void 0, lazy: t };
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
export {
|
|
840
|
-
A as InMemoryTreeSelectProvider,
|
|
841
|
-
S as MpTreeSelect,
|
|
842
|
-
w as treeSelectLightStyles
|
|
492
|
+
}
|
|
493
|
+
renderLoadMore() {
|
|
494
|
+
return (this._query ? this._searchHasMore : this._rootsHasMore) ? f`<button class="ts-load-more" type="button" @click=${() => this.onLoadMore()}>
|
|
495
|
+
${this._loading ? f`<span class="ts-spinner"></span>` : "Load more"}
|
|
496
|
+
</button>` : c;
|
|
497
|
+
}
|
|
843
498
|
};
|
|
499
|
+
r("tree-select", d), typeof customElements < "u" && !customElements.get("mp-tree-select") && customElements.define("mp-tree-select", m);
|
|
500
|
+
//#endregion
|
|
501
|
+
//#region libs/mintplayer-web-components/tree-select/src/providers/in-memory-provider.ts
|
|
502
|
+
var h = class {
|
|
503
|
+
constructor(e, t = {}) {
|
|
504
|
+
this.tree = e, this.byId = /* @__PURE__ */ new Map(), this.flat = [], this.pageSize = t.pageSize ?? 50, this.delayMs = t.delayMs ?? 0;
|
|
505
|
+
let n = (e) => {
|
|
506
|
+
for (let t of e) this.byId.set(t.id, t), this.flat.push(t), t.children?.length && n(t.children);
|
|
507
|
+
};
|
|
508
|
+
n(e);
|
|
509
|
+
}
|
|
510
|
+
loadRoots(e) {
|
|
511
|
+
return this.page(this.tree, e);
|
|
512
|
+
}
|
|
513
|
+
loadChildren(e, t) {
|
|
514
|
+
let n = this.byId.get(e);
|
|
515
|
+
return this.page(n?.children ?? [], t);
|
|
516
|
+
}
|
|
517
|
+
search(e, t) {
|
|
518
|
+
let n = e.trim().toLowerCase();
|
|
519
|
+
if (!n) return this.page([], t);
|
|
520
|
+
let r = this.flat.filter((e) => e.label.toLowerCase().includes(n) || e.id.toLowerCase().includes(n));
|
|
521
|
+
return this.page(r, t);
|
|
522
|
+
}
|
|
523
|
+
async page(e, t) {
|
|
524
|
+
if (this.delayMs > 0 && await new Promise((e) => setTimeout(e, this.delayMs)), t.signal.aborted) throw new DOMException("Aborted", "AbortError");
|
|
525
|
+
let n = Math.max(0, t.offset ?? 0);
|
|
526
|
+
return {
|
|
527
|
+
nodes: e.slice(n, n + this.pageSize).map((e) => this.toShallow(e)),
|
|
528
|
+
hasMore: n + this.pageSize < e.length
|
|
529
|
+
};
|
|
530
|
+
}
|
|
531
|
+
toShallow(e) {
|
|
532
|
+
let t = !!e.children?.length;
|
|
533
|
+
return {
|
|
534
|
+
...e,
|
|
535
|
+
children: void 0,
|
|
536
|
+
lazy: t
|
|
537
|
+
};
|
|
538
|
+
}
|
|
539
|
+
};
|
|
540
|
+
//#endregion
|
|
541
|
+
export { h as InMemoryTreeSelectProvider, m as MpTreeSelect, d as treeSelectLightStyles };
|