@mintplayer/web-components 2.19.0 → 2.21.0

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