@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
@@ -0,0 +1,1788 @@
1
+ import { _ as e, g as t, i as n, y as r } from "./a11y-C6aX-lsZ.mjs";
2
+ import { installLightStyles as i, scopedHtml as a } from "../light-dom/index.mjs";
3
+ import "./checkbox-EnxkCGiC.mjs";
4
+ import { t as o } from "./overlay-kT0nfzL-.mjs";
5
+ import "./pagination-Bcz1TwlS.mjs";
6
+ import { LitElement as s, nothing as c, render as l, unsafeCSS as u } from "lit";
7
+ import { repeat as d } from "lit/directives/repeat.js";
8
+ import { styleMap as f } from "lit/directives/style-map.js";
9
+ import { SupersedingRequest as p, isAbortError as m } from "@mintplayer/ui-core/async";
10
+ import { live as h } from "lit/directives/live.js";
11
+ import { classMap as g } from "lit/directives/class-map.js";
12
+ //#region libs/mintplayer-web-components/datatable/src/types/labels.ts
13
+ var _ = {
14
+ eq: "equals",
15
+ neq: "does not equal",
16
+ lt: "is less than",
17
+ lte: "is at most",
18
+ gt: "is greater than",
19
+ gte: "is at least"
20
+ }, v = {
21
+ eq: "=",
22
+ neq: "≠",
23
+ lt: "<",
24
+ lte: "≤",
25
+ gt: ">",
26
+ gte: "≥"
27
+ }, y = [
28
+ "eq",
29
+ "neq",
30
+ "lt",
31
+ "lte",
32
+ "gt",
33
+ "gte"
34
+ ], b = {
35
+ treeChevronColumn: "Expand or collapse",
36
+ deselectAll: "Deselect all",
37
+ selectAll: "Select all",
38
+ expandRow: "Expand row",
39
+ collapseRow: "Collapse row",
40
+ loading: "Loading",
41
+ rowsPerPage: "Rows per page",
42
+ resizeColumn: (e) => `Resize column ${e}`,
43
+ resizeColumnHint: "Left and Right arrows resize the column. Enter opens the resize options.",
44
+ resizeColumnOptions: (e) => `Resize options for ${e}`,
45
+ narrowerColumn: (e) => `Make ${e} narrower`,
46
+ widerColumn: (e) => `Make ${e} wider`,
47
+ columnWidth: (e) => `${e} px`,
48
+ fitColumn: "Fit to content",
49
+ resetColumn: "Reset width",
50
+ selectRow: (e) => `Select row ${e}`,
51
+ selectRowNamed: (e) => `Select ${e}`,
52
+ filterColumn: (e) => `Filter ${e}`,
53
+ filterColumnActive: (e, t) => t ? `Filter ${e}, filtered by ${t}` : `Filter ${e}, filtered`,
54
+ filterClear: (e) => `Clear the filter on ${e}`,
55
+ filterSearch: "Search values",
56
+ filterInvert: "Exclude the selected values",
57
+ filterGroup: (e) => `Values of ${e}`,
58
+ filterHasMore: "More values exist — refine the search to see them",
59
+ filterNoValues: "No values available",
60
+ filterValue(e) {
61
+ return e == null ? this.filterNone : e === "" ? this.filterEmpty : e === !0 ? this.filterTrue : e === !1 ? this.filterFalse : e instanceof Date ? e.toLocaleDateString() : String(e);
62
+ },
63
+ filterNone: "(none)",
64
+ filterEmpty: "(empty)",
65
+ filterTrue: "Yes",
66
+ filterFalse: "No",
67
+ announceFilter: (e, t) => t === 0 ? `Filter cleared on ${e}` : t === 1 ? `1 value selected in ${e}` : `${t} values selected in ${e}`,
68
+ filterOperator: "Comparison",
69
+ filterOperand: "Value to compare with",
70
+ filterOperatorLabel: (e) => _[e],
71
+ announceComparisonFilter: (e, t, n) => n === "" ? `Filter cleared on ${e}` : `${e} ${t} ${n}`,
72
+ announceSorted: (e, t) => t === "none" ? `Sorting removed from ${e}` : `Sorted by ${e}, ${t}`,
73
+ announcePage: (e, t) => `Page ${e} of ${t}`,
74
+ announceSelection: (e) => e === 1 ? "1 row selected" : `${e} rows selected`,
75
+ announceLoaded: (e) => e === 1 ? "Loaded 1 row" : `Loaded ${e} rows`,
76
+ rangeIncomplete: "Range not selected: some rows in it have not loaded yet"
77
+ }, x = u("@charset \"UTF-8\";\nmp-datatable {\n display: block;\n width: 100%;\n position: relative;\n --mp-datatable-border-color: var(--bs-border-color, rgba(0, 0, 0, 0.125));\n --mp-datatable-row-hover-bg: var(--bs-table-hover-bg, rgba(var(--bs-emphasis-color-rgb), 0.04));\n --mp-datatable-row-selected-bg: var(--bs-list-group-active-bg, var(--bs-primary, #0d6efd));\n --mp-datatable-row-selected-color: var(--bs-list-group-active-color, #fff);\n --mp-datatable-cut-opacity: 0.55;\n --mp-datatable-resize-handle-color: var(--bs-primary, #0d6efd);\n}\n\n[data-mps=datatable] {\n box-sizing: border-box;\n}\n\n.datatable-shell[data-mps=datatable] {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n}\n\n.datatable-scroll[data-mps=datatable] {\n overflow: auto;\n flex: 1 1 auto;\n}\n\n.datatable-scroll.datatable-virtual[data-mps=datatable] {\n max-height: var(--mp-datatable-virtual-max-height, 480px);\n}\n.datatable-scroll.datatable-virtual[data-mps=datatable] thead[data-mps=datatable] th[data-mps=datatable] {\n position: sticky;\n top: 0;\n z-index: 1;\n background-color: var(--bs-body-bg, #fff);\n}\n.datatable-scroll.datatable-virtual[data-mps=datatable] thead[data-mps=datatable] th[data-sortable=true]:hover[data-mps=datatable] {\n background-color: var(--bs-body-bg, #fff);\n background-image: linear-gradient(var(--mp-datatable-row-hover-bg), var(--mp-datatable-row-hover-bg));\n}\n.datatable-scroll.datatable-virtual[data-mps=datatable] thead[data-mps=datatable] tr.filter-row[data-mps=datatable] th[data-mps=datatable] {\n position: sticky;\n top: var(--mp-datatable-header-height, 0px);\n z-index: 1;\n background-color: var(--bs-body-bg, #fff);\n}\n\ntr.virtual-spacer[data-mps=datatable] {\n pointer-events: none;\n}\ntr.virtual-spacer[data-mps=datatable] > td {\n border-bottom: 0;\n}\n\ntable[data-mps=datatable] {\n width: 100%;\n border-collapse: collapse;\n margin: 0;\n table-layout: auto;\n}\n\ntable.measured[data-mps=datatable] {\n table-layout: fixed;\n}\ntbody[data-mps=datatable] > tr[data-mps=datatable] > td {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\nthead[data-mps=datatable] th[data-mps=datatable] {\n background-color: var(--bs-table-bg, transparent);\n border-bottom: 1px solid var(--mp-datatable-border-color);\n text-align: left;\n font-weight: 600;\n padding: 0.5rem 0.75rem;\n white-space: nowrap;\n position: relative;\n user-select: none;\n}\n\nthead[data-mps=datatable] th[data-sortable=true][data-mps=datatable] {\n cursor: pointer;\n padding: 0;\n}\nthead[data-mps=datatable] th[data-sortable=true][data-mps=datatable]::before, thead[data-mps=datatable] th[data-sortable=true][data-mps=datatable]::after {\n position: absolute;\n display: block;\n opacity: 0.3;\n bottom: 0.5em;\n pointer-events: none;\n}\nthead[data-mps=datatable] th[data-sortable=true][data-mps=datatable]::before {\n content: \"↑\";\n right: 1em;\n}\nthead[data-mps=datatable] th[data-sortable=true][data-mps=datatable]::after {\n content: \"↓\";\n right: 0.5em;\n}\nthead[data-mps=datatable] th[data-sortable=true][aria-sort=ascending][data-mps=datatable]::after {\n opacity: 1;\n}\nthead[data-mps=datatable] th[data-sortable=true][aria-sort=descending][data-mps=datatable]::before {\n opacity: 1;\n}\n\nthead[data-mps=datatable] th[data-sortable=true]:hover[data-mps=datatable] {\n background-color: var(--mp-datatable-row-hover-bg);\n}\n\n.header-cell[data-mps=datatable] {\n display: inline-flex;\n align-items: center;\n gap: 0.4rem;\n}\n\nbutton.header-sort[data-mps=datatable] {\n border: 0;\n margin: 0;\n background: none;\n font: inherit;\n color: inherit;\n text-align: inherit;\n cursor: pointer;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n padding: 0.5rem 2rem 0.5rem 0.75rem;\n}\n\n.resize-handle:focus-visible[data-mps=datatable],\nbutton.header-sort:focus-visible[data-mps=datatable] {\n outline: 2px solid var(--mp-datatable-resize-handle-color);\n outline-offset: 1px;\n}\n\ntbody[data-mps=datatable] tr:focus-visible[data-mps=datatable] {\n outline: 2px solid var(--mp-datatable-resize-handle-color);\n outline-offset: -2px;\n}\n\n.sort-index[data-mps=datatable] {\n position: absolute;\n right: 0.1em;\n bottom: 0.3em;\n font-size: 0.65em;\n font-weight: bold;\n opacity: 0.7;\n}\n\n.resize-handle[data-mps=datatable] {\n position: absolute;\n right: 0;\n top: 0;\n width: 24px;\n max-width: 50%;\n height: 100%;\n cursor: col-resize;\n user-select: none;\n z-index: 2;\n touch-action: none;\n -webkit-touch-callout: none;\n}\n\n.resize-handle[data-mps=datatable]::before {\n content: \"\";\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n width: 3px;\n}\n\n.resize-handle:hover[data-mps=datatable]::before,\n.resize-handle.active[data-mps=datatable]::before {\n background-color: var(--mp-datatable-resize-handle-color);\n}\n\n@media (pointer: coarse) {\n .resize-handle[data-mps=datatable] {\n width: 40px;\n }\n .resize-handle[data-mps=datatable]::before {\n background-color: var(--mp-datatable-border-color);\n }\n}\ntbody[data-mps=datatable] > tr[data-mps=datatable] > td {\n padding: 0.5rem 0.75rem;\n border-bottom: 1px solid var(--mp-datatable-border-color);\n vertical-align: middle;\n}\ntbody[data-mps=datatable] > tr[data-mps=datatable] > td svg,\ntbody[data-mps=datatable] > tr[data-mps=datatable] > td img {\n max-width: var(--mp-datatable-cell-media-max-width, none);\n height: auto;\n vertical-align: middle;\n}\n\ntbody[data-mps=datatable] tr[data-mps=datatable] {\n cursor: default;\n}\n\ntbody[data-mps=datatable] tr[data-clickable=true][data-mps=datatable] {\n cursor: pointer;\n}\n\ntbody[data-mps=datatable] tr:hover[data-mps=datatable] {\n background-color: var(--mp-datatable-row-hover-bg);\n}\n\ntbody[data-mps=datatable] tr[data-selected=true][data-mps=datatable] {\n background-color: var(--mp-datatable-row-selected-bg);\n color: var(--mp-datatable-row-selected-color);\n}\n\ntbody[data-mps=datatable] tr[data-cut=true][data-mps=datatable] {\n opacity: var(--mp-datatable-cut-opacity);\n}\n\ntbody[data-mps=datatable] tr[data-focused=true][data-mps=datatable] {\n outline: 2px solid var(--bs-primary, #0d6efd);\n outline-offset: -2px;\n}\ntr[data-mps=datatable] > .checkbox-cell[data-mps=datatable] {\n width: 2.5rem;\n padding-inline: 0.5rem;\n text-align: center;\n text-overflow: clip;\n}\n\n.checkbox-cell.checkbox-cell-toggles[data-mps=datatable] {\n cursor: pointer;\n}\n\n.tree-chevron-cell[data-mps=datatable] {\n width: 2rem;\n padding-right: 0;\n white-space: nowrap;\n user-select: none;\n}\n\n.tree-chevron[data-mps=datatable] {\n appearance: none;\n background: transparent;\n border: 0;\n padding: 0;\n width: 1.5rem;\n height: 1.5rem;\n line-height: 1;\n cursor: pointer;\n color: var(--bs-body-color, inherit);\n font-size: 0.85em;\n border-radius: 0.25rem;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n.tree-chevron:hover[data-mps=datatable] {\n background-color: var(--mp-datatable-row-hover-bg);\n}\n.tree-chevron:focus-visible[data-mps=datatable] {\n outline: 2px solid var(--bs-primary, #0d6efd);\n outline-offset: 1px;\n}\n\ntbody[data-mps=datatable] tr[data-placeholder=true][data-mps=datatable] {\n cursor: default;\n opacity: 0.6;\n pointer-events: none;\n}\n\n.tree-placeholder-cell[data-mps=datatable] {\n color: var(--bs-secondary-color, #6c757d);\n font-style: italic;\n padding-left: 1.25rem;\n}\n\n.empty-state[data-mps=datatable],\n.loading-state[data-mps=datatable] {\n padding: 2rem 1rem;\n text-align: center;\n color: var(--bs-secondary-color, #6c757d);\n}\n\n.datatable-footer[data-mps=datatable] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0.5rem 0;\n gap: 1rem;\n flex-wrap: wrap;\n flex: 0 0 auto;\n}\n\n.datatable-per-page[data-mps=datatable],\n.datatable-pagination[data-mps=datatable] {\n flex: 0 1 auto;\n}\n\ntr.filter-row[data-mps=datatable] th[data-mps=datatable] {\n padding: 0;\n border-bottom: 1px solid var(--mp-datatable-border-color);\n font-weight: 400;\n user-select: none;\n}\n\n.filter-trigger[data-mps=datatable] {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n min-width: 0;\n box-sizing: border-box;\n padding: 0.5rem;\n border-radius: 0;\n background: transparent;\n border: 1px solid transparent;\n color: inherit;\n cursor: pointer;\n line-height: 1;\n}\n\n.filter-trigger:hover[data-mps=datatable] {\n background-color: var(--mp-datatable-row-hover-bg, rgba(var(--bs-emphasis-color-rgb), 0.04));\n}\n\n.filter-trigger:focus-visible[data-mps=datatable] {\n outline: 2px solid var(--bs-focus-ring-color, #0d6efd);\n outline-offset: 1px;\n}\n\n.filter-trigger[aria-expanded=true][data-mps=datatable] {\n background-color: var(--mp-datatable-row-hover-bg, rgba(var(--bs-emphasis-color-rgb), 0.04));\n border-color: var(--mp-datatable-border-color);\n}\n\n.filter-icon[data-mps=datatable] {\n width: 0.875rem;\n height: 0.875rem;\n fill: currentColor;\n flex: 0 0 auto;\n}\n\n.filter-trigger.active[data-mps=datatable] .filter-icon[data-mps=datatable] {\n fill: var(--bs-primary, #0d6efd);\n}\n\n.filter-trigger.active[data-mps=datatable]::after {\n content: \"\";\n width: 0.375rem;\n height: 0.375rem;\n margin-inline-start: 0.25rem;\n border-radius: 50%;\n background-color: var(--bs-primary, #0d6efd);\n flex: 0 0 auto;\n}\n\n.filter-panel[data-mps=datatable] {\n position: fixed;\n min-width: 12rem;\n max-width: min(22rem, 100vw - 2rem);\n padding: 0.5rem;\n background-color: var(--bs-body-bg, #fff);\n color: var(--bs-body-color, inherit);\n border: 1px solid var(--mp-datatable-border-color, var(--bs-border-color, rgba(0, 0, 0, 0.125)));\n border-radius: 0.375rem;\n box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);\n}\n\n.filter-panel-body[data-mps=datatable] {\n display: block;\n max-height: min(20rem, 60vh);\n overflow: auto;\n}\n\n.resize-panel[data-mps=datatable] {\n position: fixed;\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n min-width: 12rem;\n padding: 0.5rem;\n background-color: var(--bs-body-bg, #fff);\n color: var(--bs-body-color, inherit);\n border: 1px solid var(--mp-datatable-border-color, var(--bs-border-color, rgba(0, 0, 0, 0.125)));\n border-radius: 0.375rem;\n box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);\n}\n\n.resize-panel-steps[data-mps=datatable] {\n display: flex;\n align-items: center;\n gap: 0.375rem;\n}\n\n.resize-panel-width[data-mps=datatable] {\n flex: 1 1 auto;\n text-align: center;\n font-variant-numeric: tabular-nums;\n}\n\n.resize-panel-step[data-mps=datatable],\n.resize-panel-action[data-mps=datatable] {\n min-height: 2.75rem;\n padding: 0.25rem 0.75rem;\n font: inherit;\n color: inherit;\n background: transparent;\n border: 1px solid var(--mp-datatable-border-color, var(--bs-border-color, rgba(0, 0, 0, 0.125)));\n border-radius: 0.25rem;\n cursor: pointer;\n}\n\n.resize-panel-step[data-mps=datatable] {\n flex: 0 0 2.75rem;\n font-size: 1.25rem;\n line-height: 1;\n}\n\n.resize-panel-step:hover[data-mps=datatable],\n.resize-panel-action:hover[data-mps=datatable] {\n background-color: var(--mp-datatable-row-hover-bg, rgba(var(--bs-emphasis-color-rgb), 0.04));\n}\n\n.resize-panel-step:focus-visible[data-mps=datatable],\n.resize-panel-action:focus-visible[data-mps=datatable] {\n outline: 2px solid var(--mp-datatable-resize-handle-color, var(--bs-primary, #0d6efd));\n outline-offset: 1px;\n}\n\n.filter-clear[data-mps=datatable],\n.filter-invert[data-mps=datatable] {\n display: block;\n width: 100%;\n box-sizing: border-box;\n padding: 0.25rem 0.5rem;\n margin-bottom: 0.375rem;\n background: transparent;\n border: 1px solid var(--mp-datatable-border-color, var(--bs-border-color, rgba(0, 0, 0, 0.125)));\n border-radius: 0.25rem;\n color: inherit;\n cursor: pointer;\n text-align: start;\n line-height: 1.4;\n}\n\n.filter-clear:disabled[data-mps=datatable] {\n opacity: 0.5;\n cursor: default;\n}\n\n.filter-invert[aria-pressed=true][data-mps=datatable] {\n background-color: var(--bs-primary, #0d6efd);\n border-color: var(--bs-primary, #0d6efd);\n color: var(--bs-primary-bg-subtle, #fff);\n}\n\n.filter-search[data-mps=datatable],\n.filter-operand[data-mps=datatable],\n.filter-operator[data-mps=datatable] {\n box-sizing: border-box;\n padding: 0.25rem 0.5rem;\n background-color: var(--bs-body-bg, #fff);\n color: inherit;\n border: 1px solid var(--mp-datatable-border-color, var(--bs-border-color, rgba(0, 0, 0, 0.125)));\n border-radius: 0.25rem;\n font: inherit;\n line-height: 1.5;\n}\n\n.filter-operand[type=number][data-mps=datatable] {\n appearance: textfield;\n}\n\n.filter-operand[data-mps=datatable]::-webkit-outer-spin-button,\n.filter-operand[data-mps=datatable]::-webkit-inner-spin-button {\n appearance: none;\n margin: 0;\n}\n\n.filter-search[data-mps=datatable] {\n display: block;\n width: 100%;\n margin-bottom: 0.375rem;\n}\n\n.filter-clear:focus-visible[data-mps=datatable],\n.filter-invert:focus-visible[data-mps=datatable],\n.filter-search:focus-visible[data-mps=datatable],\n.filter-option[data-mps=datatable] input:focus-visible[data-mps=datatable] {\n outline: 2px solid var(--bs-focus-ring-color, #0d6efd);\n outline-offset: 1px;\n}\n\n.filter-comparison[data-mps=datatable] {\n display: flex;\n gap: 0.375rem;\n align-items: stretch;\n}\n\n.filter-operator[data-mps=datatable] {\n flex: 0 0 auto;\n max-width: 9rem;\n padding-inline: 0.375rem;\n}\n\n.filter-operand[data-mps=datatable] {\n flex: 1 1 auto;\n min-width: 0;\n}\n\n.filter-operator:focus-visible[data-mps=datatable],\n.filter-operand:focus-visible[data-mps=datatable] {\n outline: 2px solid var(--bs-focus-ring-color, #0d6efd);\n outline-offset: 1px;\n}\n\n.filter-options[data-mps=datatable] {\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n}\n\n.filter-option[data-mps=datatable] {\n display: flex;\n align-items: center;\n gap: 0.375rem;\n padding: 0.125rem 0.25rem;\n border-radius: 0.25rem;\n cursor: pointer;\n overflow-wrap: anywhere;\n}\n\n.filter-option:hover[data-mps=datatable] {\n background-color: var(--mp-datatable-row-hover-bg, rgba(var(--bs-emphasis-color-rgb), 0.04));\n}\n\n.filter-remaining[data-mps=datatable] {\n color: var(--bs-secondary-color, #6c757d);\n}\n\n.filter-loading[data-mps=datatable],\n.filter-no-values[data-mps=datatable],\n.filter-has-more[data-mps=datatable] {\n display: block;\n padding: 0.25rem;\n color: var(--bs-secondary-color, #6c757d);\n font-size: 0.875em;\n}\n\n.filter-summary[data-mps=datatable] {\n margin-inline-start: 0.25rem;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 0.875em;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .resize-handle[data-mps=datatable] {\n transition: none !important;\n }\n}");
78
+ //#endregion
79
+ //#region libs/mintplayer-web-components/datatable/src/sort/compute-next-sort.ts
80
+ function S(e, t, n) {
81
+ if (n) {
82
+ let n = e.findIndex((e) => e.property === t);
83
+ return n === -1 ? [...e, {
84
+ property: t,
85
+ direction: "ascending"
86
+ }] : e[n].direction === "ascending" ? e.map((e, t) => t === n ? {
87
+ ...e,
88
+ direction: "descending"
89
+ } : e) : e.filter((e, t) => t !== n);
90
+ }
91
+ return [{
92
+ property: t,
93
+ direction: e.length === 1 && e[0].property === t && e[0].direction === "ascending" ? "descending" : "ascending"
94
+ }];
95
+ }
96
+ //#endregion
97
+ //#region libs/mintplayer-web-components/datatable/src/sort/sort-rows.ts
98
+ function C(e, t) {
99
+ return t.length === 0 ? e.slice() : e.map((e, t) => ({
100
+ row: e,
101
+ index: t
102
+ })).sort((e, n) => {
103
+ for (let r of t) {
104
+ let t = T(w(e.row, r.property), w(n.row, r.property));
105
+ if (t !== 0) return r.direction === "ascending" ? t : -t;
106
+ }
107
+ return e.index - n.index;
108
+ }).map(({ row: e }) => e);
109
+ }
110
+ function w(e, t) {
111
+ if (typeof e == "object" && e) return e[t];
112
+ }
113
+ function T(e, t) {
114
+ return e === t ? 0 : e == null ? 1 : t == null ? -1 : typeof e == "number" && typeof t == "number" ? e - t : e instanceof Date && t instanceof Date ? e.getTime() - t.getTime() : String(e).localeCompare(String(t));
115
+ }
116
+ function E(e, t) {
117
+ return Math.max(40, e + t);
118
+ }
119
+ var D = .75;
120
+ function O(e) {
121
+ let t = Math.max(0, ...e.filter((e) => Number.isFinite(e)));
122
+ return t > 0 ? Math.max(40, Math.ceil(t)) : null;
123
+ }
124
+ //#endregion
125
+ //#region libs/mintplayer-web-components/datatable/src/components/mp-datatable.ts
126
+ var k = a("datatable");
127
+ function A(e, t) {
128
+ return e === t || e !== e && t !== t;
129
+ }
130
+ function j(e, t) {
131
+ return e.some((e) => A(e.value, t));
132
+ }
133
+ var M = 200, N = 0, P = class extends s {
134
+ constructor(...i) {
135
+ super(...i), this.instanceId = `mp-datatable-${++N}`, this._caption = null, this._inputLabel = null, this.hostAria = new n(this, { referenceTarget: () => this.renderRoot?.querySelector("table") ?? null }), this._labels = void 0, this._columns = [], this._data = [], this._sortColumns = [], this._selectionMode = "none", this._selectedIds = /* @__PURE__ */ new Set(), this._selectedRowCache = /* @__PURE__ */ new Map(), this._cutIds = /* @__PURE__ */ new Set(), this._focusedRowKey = null, this.liveAnnouncer = new r(this), this.rowFocusRestore = new e(this, new t(() => this.renderRoot ?? null, {
136
+ selector: "tbody tr[data-row-key]:not([data-placeholder=\"true\"])",
137
+ keyOf: (e) => e.dataset.rowKey ?? null,
138
+ container: () => this.renderRoot?.querySelector("table") ?? null
139
+ })), this._rowKey = (e, t) => {
140
+ let n = e;
141
+ return n && n.id != null ? String(n.id) : (this.warnPositionalKeyOnce(), `row-${t}`);
142
+ }, this._warnedPositionalKey = !1, this._columnWidths = /* @__PURE__ */ new Map(), this._measuredWidths = /* @__PURE__ */ new Map(), this._userWidths = /* @__PURE__ */ new Set(), this._derivedLabels = /* @__PURE__ */ new Map(), this._hasMeasuredInitial = !1, this._measuredFit = !1, this._refitFrame = null, this._loading = !1, this._emptyMessage = "No data", this._pagination = !1, this._page = 1, this._perPage = 20, this._perPageOptions = [
143
+ 10,
144
+ 20,
145
+ 50
146
+ ], this._autoSort = !0, this._totalRecords = null, this._virtualScroll = !1, this._itemSize = 40, this._virtualBuffer = 10, this._virtualRange = {
147
+ startIndex: 0,
148
+ endIndex: 0
149
+ }, this._scrollElement = null, this._resizeObserver = null, this._headerObserver = null, this._observedThead = null, this._scrollListener = null, this._viewportHeight = 0, this._openFilterColumn = null, this._mountedFilterColumn = null, this._consumerMountedFilter = !1, this._filterUid = `mp-dt-${Math.random().toString(36).slice(2, 9)}`, this._distincts = null, this._filterStates = /* @__PURE__ */ new Map(), this._tree = !1, this._idKey = null, this._childCountKey = null, this._treeIndent = 1.25, this._expandedIds = /* @__PURE__ */ new Set(), this._selectionStrategy = "flat", this._childCache = /* @__PURE__ */ new Map(), this._childTotals = /* @__PURE__ */ new Map(), this._pendingFetches = /* @__PURE__ */ new Set(), this._pageCache = /* @__PURE__ */ new Map(), this._pendingPageFetches = /* @__PURE__ */ new Set(), this._fetch = null, this._fetchGeneration = 0, this._fetchAbort = new AbortController(), this._initialFetchDone = !1, this._reloadScheduled = !1, this._lastReloadKey = null, this._cachedFlatList = null, this._cachedIndeterminateKeys = null, this._rowLabel = null, this._resizableColumns = !0, this.filterOverlay = new o(this, {
150
+ portal: !0,
151
+ modal: !0,
152
+ scrollStrategy: "reposition",
153
+ anchor: () => this.openFilterTrigger(),
154
+ trigger: () => this.openFilterTrigger(),
155
+ panel: () => this.filterOverlay.portalContainer?.querySelector(".filter-panel") ?? null,
156
+ initialFocus: () => this.filterOverlay.portalContainer?.querySelector(".filter-search, .filter-operand") ?? null,
157
+ onClose: () => {
158
+ let e = this._openFilterColumn;
159
+ if (e == null) return;
160
+ let t = this._filterStates.get(e);
161
+ t && (this.abortFilterRequest(t), t.term = "", this.rebucket(t)), this._openFilterColumn = null, this._mountedFilterColumn = null, this.requestUpdate(), this.dispatchEvent(new CustomEvent("mp-datatable-filter-close", {
162
+ detail: { column: e },
163
+ bubbles: !0,
164
+ composed: !0
165
+ }));
166
+ }
167
+ }), this._keyByRowMemo = null, this._selectionAnchorKey = null, this.resizeState = null, this._openResizeColumn = null, this._resizeHintAnnounced = !1, this._frozenExtraWidth = null, this._frozenWidths = /* @__PURE__ */ new Map(), this.onColumnResizeMove = (e) => {
168
+ let t = this.resizeState;
169
+ if (!t || e.pointerId !== t.pointerId) return;
170
+ let n = e.clientX - t.startX;
171
+ !t.dragging && Math.abs(n) <= 4 || (t.dragging = !0, this.setUserColumnWidth(t.column.name, E(t.startWidth, n)));
172
+ }, this.onColumnResizeEnd = (e) => {
173
+ let t = this.resizeState;
174
+ if (t && e.pointerId === t.pointerId) {
175
+ t.handle.classList.remove("active"), t.handle.removeEventListener("pointermove", this.onColumnResizeMove), t.handle.removeEventListener("pointerup", this.onColumnResizeEnd), t.handle.removeEventListener("pointercancel", this.onColumnResizeEnd);
176
+ try {
177
+ t.handle.releasePointerCapture(e.pointerId);
178
+ } catch {}
179
+ this.resizeState = null, e.type === "pointerup" && !t.dragging && this.openResizePanel(t.column);
180
+ }
181
+ }, this.resizeOverlay = new o(this, {
182
+ portal: !0,
183
+ modal: !0,
184
+ scrollStrategy: "reposition",
185
+ anchor: () => this._openResizeColumn ? this.resizeHandle(this._openResizeColumn) : null,
186
+ trigger: () => this._openResizeColumn ? this.resizeHandle(this._openResizeColumn) : null,
187
+ panel: () => this.resizeOverlay.portalContainer?.querySelector(".resize-panel") ?? null,
188
+ onClose: () => {
189
+ this._openResizeColumn = null, this.requestUpdate();
190
+ }
191
+ });
192
+ }
193
+ createRenderRoot() {
194
+ return this;
195
+ }
196
+ static get observedAttributes() {
197
+ return [
198
+ ...super.observedAttributes ?? [],
199
+ "selection-mode",
200
+ "pagination",
201
+ "resizable-columns",
202
+ "auto-sort",
203
+ "empty-message",
204
+ "virtual-scroll",
205
+ "item-size",
206
+ "tree",
207
+ "tree-indent",
208
+ "selection-strategy",
209
+ "caption",
210
+ "aria-label",
211
+ "input-label",
212
+ "aria-labelledby",
213
+ "aria-describedby"
214
+ ];
215
+ }
216
+ get caption() {
217
+ return this._caption;
218
+ }
219
+ set caption(e) {
220
+ let t = e ?? null;
221
+ this._caption !== t && (this._caption = t, this.requestUpdate());
222
+ }
223
+ get labels() {
224
+ return this._labels;
225
+ }
226
+ set labels(e) {
227
+ e !== this._labels && (this._labels = e, this.requestUpdate());
228
+ }
229
+ get mergedLabels() {
230
+ return {
231
+ ...b,
232
+ ...this.labels ?? {}
233
+ };
234
+ }
235
+ get inputLabel() {
236
+ return this._inputLabel;
237
+ }
238
+ set inputLabel(e) {
239
+ let t = e ?? null;
240
+ this._inputLabel !== t && (this._inputLabel = t, this.requestUpdate());
241
+ }
242
+ warnPositionalKeyOnce() {
243
+ this._warnedPositionalKey || !this._fetch && this._selectionMode === "none" || (this._warnedPositionalKey = !0, console.warn("[mp-datatable] A row has no `id` and no `rowKey` is set, so it is keyed by its position. A positional key names a different row after a re-fetch, sort or expansion, so a selection cannot survive them. Set `rowKey` to return a stable identity."));
244
+ }
245
+ get autoSort() {
246
+ return this._autoSort;
247
+ }
248
+ set autoSort(e) {
249
+ this._autoSort = !!e, this.requestUpdate();
250
+ }
251
+ get rowRenderer() {
252
+ return this._rowRenderer;
253
+ }
254
+ set rowRenderer(e) {
255
+ this._rowRenderer = e, this.requestUpdate();
256
+ }
257
+ get virtualScroll() {
258
+ return this._virtualScroll;
259
+ }
260
+ set virtualScroll(e) {
261
+ let t = !!e;
262
+ this._virtualScroll !== t && (this._virtualScroll = t, this.requestUpdate());
263
+ }
264
+ get itemSize() {
265
+ return this._itemSize;
266
+ }
267
+ set itemSize(e) {
268
+ let t = Number.isFinite(e) && e > 0 ? Math.max(1, Math.floor(e)) : 40;
269
+ this._itemSize !== t && (this._itemSize = t, this.requestUpdate());
270
+ }
271
+ get virtualBuffer() {
272
+ return this._virtualBuffer;
273
+ }
274
+ set virtualBuffer(e) {
275
+ let t = Math.max(0, Math.floor(e || 0));
276
+ this._virtualBuffer !== t && (this._virtualBuffer = t, this.requestUpdate());
277
+ }
278
+ get columns() {
279
+ return this._columns;
280
+ }
281
+ set columns(e) {
282
+ this._columns = Array.isArray(e) ? e : [], this.syncFilterStates(), this.requestUpdate();
283
+ }
284
+ syncFilterStates() {
285
+ let e = new Set(this._columns.map((e) => e.name));
286
+ this._filterStates.forEach((t, n) => {
287
+ e.has(n) || (this.abortFilterRequest(t), this._filterStates.delete(n));
288
+ }), this._columns.forEach((e) => {
289
+ let t = this._filterStates.get(e.name);
290
+ t ? e.filterSelection && e.filterSelection !== t.seededFrom && (t.seededFrom = e.filterSelection, t.selection = {
291
+ values: [...e.filterSelection.values],
292
+ inverse: !!e.filterSelection.inverse,
293
+ operator: e.filterSelection.operator,
294
+ operand: e.filterSelection.operand ?? null
295
+ }, t.operandText = e.filterSelection.operand == null ? "" : String(e.filterSelection.operand), t.snapshot = null) : e.filterable && this._filterStates.set(e.name, this.createFilterState(e));
296
+ });
297
+ }
298
+ get data() {
299
+ return this._data;
300
+ }
301
+ set data(e) {
302
+ this._data = Array.isArray(e) ? e : [], this.refreshLocalDistincts(), this.requestUpdate();
303
+ }
304
+ get fetch() {
305
+ return this._fetch;
306
+ }
307
+ set fetch(e) {
308
+ this.assignFetch(e) && this.scheduleFetchReload();
309
+ }
310
+ assignFetch(e) {
311
+ let t = typeof e == "function" ? e : null;
312
+ return t !== this._fetch && (this._fetch = t, this._fetch ? (this._autoSort = !1, this._initialFetchDone = !1, this._lastReloadKey = null, !0) : (this._totalRecords = null, this._pageCache.clear(), this._pendingPageFetches.clear(), this._childCache.clear(), this._childTotals.clear(), this._pendingFetches.clear(), this.invalidateFetches(), this._initialFetchDone = !1, this._lastReloadKey = null, this.requestUpdate(), !1));
313
+ }
314
+ get distincts() {
315
+ return this._distincts;
316
+ }
317
+ set distincts(e) {
318
+ this._distincts = typeof e == "function" ? e : null, this._filterStates.forEach((e) => {
319
+ e.loaded = null, e.view = null, e.loadedTerm = null;
320
+ }), this._openFilterColumn && this.requestUpdate();
321
+ }
322
+ get sortColumns() {
323
+ return [...this._sortColumns];
324
+ }
325
+ set sortColumns(e) {
326
+ this.assignSortColumns(e) && (this.requestUpdate(), this.scheduleFetchReload());
327
+ }
328
+ assignSortColumns(e) {
329
+ let t = Array.isArray(e) ? [...e] : [];
330
+ return t.length === this._sortColumns.length && t.every((e, t) => e.property === this._sortColumns[t].property && e.direction === this._sortColumns[t].direction) ? !1 : (this._sortColumns = t, !0);
331
+ }
332
+ reload({ resetPage: e = !1 } = {}) {
333
+ e && this.assignPage(1) && (this.requestUpdate(), this.dispatchEvent(new CustomEvent("mp-datatable-page-change", {
334
+ detail: { page: 1 },
335
+ bubbles: !0,
336
+ composed: !0
337
+ }))), this._lastReloadKey = null, this.scheduleFetchReload();
338
+ }
339
+ applyFetchState(e) {
340
+ let t = "fetch" in e && this.assignFetch(e.fetch);
341
+ e.sortColumns !== void 0 && this.assignSortColumns(e.sortColumns);
342
+ let n = e.perPage !== void 0 && this.assignPerPage(e.perPage);
343
+ e.page !== void 0 && (this.assignPage(e.page), n && !t && this.clampPageToKnownTotal()), this.requestUpdate(), this.scheduleFetchReload();
344
+ }
345
+ get selectionMode() {
346
+ return this._selectionMode;
347
+ }
348
+ set selectionMode(e) {
349
+ if (this._selectionMode = e, e === "none") {
350
+ this._selectionAnchorKey = null;
351
+ let e = this._selectedIds.size > 0;
352
+ this.commitSelection([]), e && this.emitSelectionChange();
353
+ }
354
+ this.requestUpdate();
355
+ }
356
+ get isMulti() {
357
+ return this._selectionMode === "multiple" || this._selectionMode === "checkbox";
358
+ }
359
+ get selectedIds() {
360
+ return [...this._selectedIds];
361
+ }
362
+ set selectedIds(e) {
363
+ let t = new Set(e ?? []);
364
+ t.size === this._selectedIds.size && [...t].every((e) => this._selectedIds.has(e)) || (this._selectedIds = t, this.pruneSelectedRowCache(), t.size > 0 && this.rememberLiveSelectedRows(), this.requestUpdate());
365
+ }
366
+ get selectedRows() {
367
+ return this.resolveRows([...this._selectedIds]);
368
+ }
369
+ set selectedRows(e) {
370
+ let t = e ?? [], n = this.rowKeyLookup(), r = t.map((e) => [n(e), e]);
371
+ this.isSameSelectedRows(r) || (this._selectedIds = new Set(r.map(([e]) => e)), this._selectedRowCache = new Map(r), this.requestUpdate());
372
+ }
373
+ get cutIds() {
374
+ return [...this._cutIds];
375
+ }
376
+ set cutIds(e) {
377
+ this._cutIds = new Set(e ?? []), this.requestUpdate();
378
+ }
379
+ get focusedRowKey() {
380
+ return this._focusedRowKey;
381
+ }
382
+ set focusedRowKey(e) {
383
+ this._focusedRowKey = e, this.requestUpdate();
384
+ }
385
+ get rowLabel() {
386
+ return this._rowLabel;
387
+ }
388
+ set rowLabel(e) {
389
+ this._rowLabel = typeof e == "function" ? e : null, this.requestUpdate();
390
+ }
391
+ get rowKey() {
392
+ return this._rowKey;
393
+ }
394
+ set rowKey(e) {
395
+ this._rowKey = typeof e == "function" ? e : this._rowKey, this.requestUpdate();
396
+ }
397
+ get tree() {
398
+ return this._tree;
399
+ }
400
+ set tree(e) {
401
+ let t = !!e;
402
+ this._tree !== t && (this._tree = t, this.requestUpdate());
403
+ }
404
+ get idKey() {
405
+ return this._idKey;
406
+ }
407
+ set idKey(e) {
408
+ this._idKey = e, this.requestUpdate();
409
+ }
410
+ get childCountKey() {
411
+ return this._childCountKey;
412
+ }
413
+ set childCountKey(e) {
414
+ this._childCountKey = e || null, this.requestUpdate();
415
+ }
416
+ get treeIndent() {
417
+ return this._treeIndent;
418
+ }
419
+ set treeIndent(e) {
420
+ let t = Number(e);
421
+ this._treeIndent = Number.isFinite(t) && t >= 0 ? t : 1.25, this.requestUpdate();
422
+ }
423
+ get expandedIds() {
424
+ return new Set(this._expandedIds);
425
+ }
426
+ set expandedIds(e) {
427
+ this._expandedIds = e ? (e instanceof Set, new Set(e)) : /* @__PURE__ */ new Set(), this.requestUpdate();
428
+ }
429
+ get selectionStrategy() {
430
+ return this._selectionStrategy;
431
+ }
432
+ set selectionStrategy(e) {
433
+ this._selectionStrategy = e === "cascading" ? "cascading" : "flat", this.requestUpdate();
434
+ }
435
+ get loading() {
436
+ return this._loading;
437
+ }
438
+ set loading(e) {
439
+ let t = this._loading;
440
+ this._loading = !!e, t && !this._loading && this.liveAnnouncer.announce(this.mergedLabels.announceLoaded(this._data.length)), this.requestUpdate();
441
+ }
442
+ get emptyMessage() {
443
+ return this._emptyMessage;
444
+ }
445
+ set emptyMessage(e) {
446
+ this._emptyMessage = e || "No data", this.requestUpdate();
447
+ }
448
+ get pagination() {
449
+ return this._pagination;
450
+ }
451
+ set pagination(e) {
452
+ this._pagination = !!e, this.requestUpdate();
453
+ }
454
+ get page() {
455
+ return this._page;
456
+ }
457
+ set page(e) {
458
+ this.assignPage(e) && (this.requestUpdate(), this.scheduleFetchReload());
459
+ }
460
+ assignPage(e) {
461
+ let t = Math.max(1, Math.floor(e || 1));
462
+ return this._page !== t && (this._page = t, !0);
463
+ }
464
+ get perPage() {
465
+ return this._perPage;
466
+ }
467
+ set perPage(e) {
468
+ this.assignPerPage(e) && (this.requestUpdate(), this.scheduleFetchReload());
469
+ }
470
+ clampPageToKnownTotal() {
471
+ let e = this._fetch ? this._totalRecords : this._data.length;
472
+ if (e == null) return;
473
+ let t = Math.max(1, Math.ceil(e / this._perPage));
474
+ this._page <= t || (this._page = t, this.dispatchEvent(new CustomEvent("mp-datatable-page-change", {
475
+ detail: { page: t },
476
+ bubbles: !0,
477
+ composed: !0
478
+ })));
479
+ }
480
+ assignPerPage(e) {
481
+ let t = Math.max(1, Math.floor(e || 1));
482
+ return this._perPage !== t && (this._perPage = t, this._page = 1, !0);
483
+ }
484
+ get perPageOptions() {
485
+ return [...this._perPageOptions];
486
+ }
487
+ set perPageOptions(e) {
488
+ this._perPageOptions = Array.isArray(e) && e.length > 0 ? [...e] : [
489
+ 10,
490
+ 20,
491
+ 50
492
+ ], this.requestUpdate();
493
+ }
494
+ get totalRecords() {
495
+ return this._totalRecords;
496
+ }
497
+ isExternallyPaged() {
498
+ return this._totalRecords != null && this._totalRecords > this._data.length;
499
+ }
500
+ isRootWindowed() {
501
+ return this._virtualScroll && this.isExternallyPaged();
502
+ }
503
+ attributeChangedCallback(e, t, n) {
504
+ if (super.attributeChangedCallback(e, t, n), e === "caption") this._caption = n, this.requestUpdate();
505
+ else if (e === "input-label") this._inputLabel = n, this.requestUpdate();
506
+ else if (e === "aria-label") this.requestUpdate();
507
+ else if (e === "aria-labelledby" || e === "aria-describedby") this.hostAria.syncReferences();
508
+ else if (e === "selection-mode") {
509
+ let e = n ?? "none";
510
+ (e === "none" || e === "single" || e === "multiple" || e === "checkbox") && (this.selectionMode = e);
511
+ } else if (e === "pagination") this.pagination = n !== null;
512
+ else if (e === "resizable-columns") this.resizableColumns = n !== "false";
513
+ else if (e === "auto-sort") this.autoSort = n !== "false";
514
+ else if (e === "empty-message") this.emptyMessage = n ?? "No data";
515
+ else if (e === "virtual-scroll") this.virtualScroll = n !== null;
516
+ else if (e === "item-size") {
517
+ let e = Number(n);
518
+ Number.isFinite(e) && (this.itemSize = e);
519
+ } else if (e === "tree") this.tree = n !== null;
520
+ else if (e === "tree-indent") {
521
+ let e = n === null ? 1.25 : Number(n);
522
+ Number.isFinite(e) && (this.treeIndent = e);
523
+ } else e === "selection-strategy" && (this.selectionStrategy = n === "cascading" ? "cascading" : "flat");
524
+ }
525
+ get resizableColumns() {
526
+ return this._resizableColumns;
527
+ }
528
+ set resizableColumns(e) {
529
+ this._resizableColumns = !!e, this.requestUpdate();
530
+ }
531
+ connectedCallback() {
532
+ super.connectedCallback();
533
+ }
534
+ firstUpdated() {
535
+ this._scrollElement = this.renderRoot?.querySelector(".datatable-scroll"), this._scrollElement && (this._scrollListener = () => this.refreshVirtualRange(), this._scrollElement.addEventListener("scroll", this._scrollListener, { passive: !0 }), typeof ResizeObserver < "u" && (this._resizeObserver = new ResizeObserver(() => {
536
+ this.refreshVirtualRange(), this.scheduleRefit();
537
+ }), this._resizeObserver.observe(this._scrollElement))), this.refreshVirtualRange(), this.hostAria.syncReferences();
538
+ }
539
+ willUpdate(e) {
540
+ super.willUpdate(e), this._cachedFlatList = null, this._cachedIndeterminateKeys = null;
541
+ }
542
+ updated(e) {
543
+ super.updated(e), this.refreshVirtualRange(), this.nameRowCheckboxes(), this.maybeMeasureInitialColumnWidths();
544
+ let t = this.renderRoot?.querySelectorAll(".resize-handle:not([aria-valuenow])") ?? [];
545
+ for (let e of t) {
546
+ let t = e.closest("th");
547
+ t && e.setAttribute("aria-valuenow", String(Math.round(t.getBoundingClientRect().width)));
548
+ }
549
+ this._openFilterColumn && this.renderFilterPanel(), this._openResizeColumn && this.renderResizePanel(), this.observeHeaderText(), this.publishHeaderHeight();
550
+ }
551
+ publishHeaderHeight() {
552
+ if (!this.hasFilterRow) return;
553
+ let e = this.renderRoot?.querySelector("thead tr:first-child th"), t = this.renderRoot?.querySelector(".datatable-shell");
554
+ if (!e || !t) return;
555
+ let n = Math.round(e.getBoundingClientRect().height);
556
+ n <= 0 || t.style.getPropertyValue("--mp-datatable-header-height") !== `${n}px` && t.style.setProperty("--mp-datatable-header-height", `${n}px`);
557
+ }
558
+ maybeMeasureInitialColumnWidths() {
559
+ if (this._hasMeasuredInitial || this._columns.length === 0 || this._data.length === 0 || !this.renderRoot || this.renderRoot.querySelectorAll("tbody tr[data-row-key]:not([data-placeholder=\"true\"])").length === 0) return;
560
+ let e = new Map(this._columnWidths), t = !1;
561
+ for (let n of this._columns) {
562
+ if (e.has(n.name)) continue;
563
+ if (typeof n.width == "number") {
564
+ e.set(n.name, n.width), t = !0;
565
+ continue;
566
+ }
567
+ let r = this.measureColumnWidth(n.name);
568
+ r != null && (e.set(n.name, r), this._measuredWidths.set(n.name, r), t = !0);
569
+ }
570
+ if (t) {
571
+ let t = [...this.renderRoot.querySelectorAll("thead tr:first-child th")].reduce((e, t) => e + t.getBoundingClientRect().width, 0);
572
+ this._measuredFit = !!this._scrollElement && t <= this._scrollElement.clientWidth + .5, this._columnWidths = e, this._hasMeasuredInitial = !0, this.requestUpdate();
573
+ }
574
+ }
575
+ scheduleRefit() {
576
+ this._refitFrame == null && typeof requestAnimationFrame < "u" && (this._refitFrame = requestAnimationFrame(() => {
577
+ this._refitFrame = null, this.refitMeasuredWidths();
578
+ }));
579
+ }
580
+ refitMeasuredWidths() {
581
+ if (this._frozenExtraWidth != null || !this._measuredFit || !this._scrollElement || !this.renderRoot) return;
582
+ let e = [...this._measuredWidths].filter(([e]) => !this._userWidths.has(e));
583
+ if (e.length === 0) return;
584
+ let t = new Set(e.map(([e]) => e)), n = [...this.renderRoot.querySelectorAll("thead tr:first-child th")].filter((e) => !t.has(e.dataset.column ?? "")).reduce((e, t) => e + t.getBoundingClientRect().width, 0), r = e.reduce((e, [, t]) => e + t, 0), i = this._scrollElement.clientWidth - n, a = Math.min(1, Math.max(D, i / r)), o = new Map(this._columnWidths);
585
+ e.map(([e, t]) => {
586
+ let n = Math.max(40, Math.floor(t * a)), r = o.get(e) !== n;
587
+ return o.set(e, n), r;
588
+ }).some(Boolean) && (this._columnWidths = o, this.requestUpdate());
589
+ }
590
+ measureColumnWidth(e) {
591
+ if (!this.renderRoot) return null;
592
+ let t = this.renderRoot.querySelector(`thead tr:first-child th[data-column="${e}"]`);
593
+ if (!t) return null;
594
+ let n = Math.floor(t.getBoundingClientRect().width);
595
+ return n > 0 ? n : null;
596
+ }
597
+ disconnectedCallback() {
598
+ super.disconnectedCallback(), this._scrollElement && this._scrollListener && this._scrollElement.removeEventListener("scroll", this._scrollListener), this._scrollListener = null, this._resizeObserver?.disconnect(), this._resizeObserver = null, this._headerObserver?.disconnect(), this._observedThead = null, this._refitFrame != null && cancelAnimationFrame(this._refitFrame), this._refitFrame = null, this._scrollElement = null, this._filterStates.forEach((e) => this.abortFilterRequest(e));
599
+ }
600
+ refreshVirtualRange() {
601
+ if (!this._virtualScroll || !this._scrollElement) return;
602
+ let e = this._scrollElement.scrollTop, t = this._scrollElement.clientHeight;
603
+ this._viewportHeight = t;
604
+ let n = this.getEffectiveData().length, r = this._itemSize, i = Math.max(0, Math.floor(e / r) - this._virtualBuffer), a = Math.ceil(t / r), o = Math.min(n, i + a + this._virtualBuffer * 2);
605
+ (i !== this._virtualRange.startIndex || o !== this._virtualRange.endIndex) && (this._virtualRange = {
606
+ startIndex: i,
607
+ endIndex: o
608
+ }, this.requestUpdate()), this._tree && this.maybeFetchPlaceholdersInViewport(), this.isRootWindowed() && this.maybeFetchPagesInViewport();
609
+ }
610
+ maybeFetchPlaceholdersInViewport() {
611
+ let e = this.getFlatList(), { startIndex: t, endIndex: n } = this._virtualRange, r = this._virtualScroll ? t : 0, i = this._virtualScroll ? n : e.length, a = /* @__PURE__ */ new Set();
612
+ for (let t = r; t < i; t++) {
613
+ let n = e[t];
614
+ n.isPlaceholder && n.parentId != null && (this._childCache.has(n.parentId) || this._pendingFetches.has(n.parentId) || a.add(n.parentId));
615
+ }
616
+ for (let e of a) this.fetchChildren(e);
617
+ }
618
+ maybeFetchPagesInViewport() {
619
+ let e = this.getFlatList(), { startIndex: t, endIndex: n } = this._virtualRange, r = this._virtualScroll ? t : 0, i = this._virtualScroll ? n : e.length, a = /* @__PURE__ */ new Set();
620
+ for (let t = r; t < i; t++) {
621
+ let n = e[t];
622
+ !n.isPlaceholder || n.page == null || n.page <= 1 || this._pageCache.has(n.page) || this._pendingPageFetches.has(n.page) || a.add(n.page);
623
+ }
624
+ for (let e of a) this.fetchWindowPage(e);
625
+ }
626
+ render() {
627
+ let e = this.computeVisibleRows(), t = this._totalRecords ?? this._data.length, n = this.pagination && !this._tree ? Math.max(1, Math.ceil(t / this._perPage)) : 1, r = this.isMulti, i = this._columns.length + +!!r + +!!this._tree, a = this.getVirtualSpacerHeights(), o = this.hasFilterRow ? 2 : 1, s = (this._tree || this.isRootWindowed() ? this.getFlatList().length : this._data.length) + o;
628
+ return k`
629
+ ${this.liveAnnouncer.template()}
630
+ <div class="datatable-shell">
631
+ <div class="datatable-scroll ${this._virtualScroll ? "datatable-virtual" : ""}" role="presentation">
632
+ <table
633
+ role=${this._tree ? "treegrid" : this._selectionMode === "none" ? c : "grid"}
634
+ aria-multiselectable=${this.isMulti ? "true" : c}
635
+ aria-rowcount=${s}
636
+ aria-colcount=${i}
637
+ aria-busy=${this._loading ? "true" : c}
638
+ aria-label=${this.getAttribute("aria-label") ?? this._inputLabel ?? c}
639
+ class=${this._hasMeasuredInitial ? "measured" : ""}
640
+ style=${f(this._frozenExtraWidth == null ? {} : { width: `${this.frozenTableWidth()}px` })}
641
+ >
642
+ ${this._caption ? k`<caption>${this._caption}</caption>` : c}
643
+ <thead>
644
+ <tr role="row" aria-rowindex="1">
645
+ ${this._tree ? k`<th class="tree-chevron-cell" scope="col" aria-label=${this.mergedLabels.treeChevronColumn}></th>` : c}
646
+ ${r ? k`<th class="checkbox-cell" scope="col">
647
+ <mp-checkbox
648
+ aria-label=${this.mergedLabels.deselectAll}
649
+ aria-hidden=${this._selectedIds.size === 0 ? "true" : c}
650
+ style=${f({ visibility: this._selectedIds.size > 0 ? "visible" : "hidden" })}
651
+ .checked=${!1}
652
+ .indeterminate=${this._selectedIds.size > 0}
653
+ @change=${this.onDeselectAll}
654
+ ></mp-checkbox>
655
+ </th>` : c}
656
+ ${this._columns.map((e, t) => this.renderHeader(e, t))}
657
+ </tr>
658
+ ${this.hasFilterRow ? this.renderFilterRow(r) : c}
659
+ </thead>
660
+ <tbody>
661
+ ${this._loading ? k`<tr><td colspan=${i} class="loading-state">Loading…</td></tr>` : e.length === 0 ? k`<tr><td colspan=${i} class="empty-state">${this._emptyMessage}</td></tr>` : k`
662
+ ${a.top > 0 ? k`<tr class="virtual-spacer" aria-hidden="true"><td colspan=${i} style=${f({
663
+ height: `${a.top}px`,
664
+ padding: "0",
665
+ border: "0"
666
+ })}></td></tr>` : c}
667
+ ${d(e, ({ key: e }) => e, ({ key: e, rowIndex: t, flat: n }) => this.renderRow(n, e, t, r))}
668
+ ${a.bottom > 0 ? k`<tr class="virtual-spacer" aria-hidden="true"><td colspan=${i} style=${f({
669
+ height: `${a.bottom}px`,
670
+ padding: "0",
671
+ border: "0"
672
+ })}></td></tr>` : c}
673
+ `}
674
+ </tbody>
675
+ </table>
676
+ </div>
677
+ ${this._pagination && !this._tree ? this.renderFooter(n) : c}
678
+ </div>
679
+ `;
680
+ }
681
+ getVirtualSpacerHeights() {
682
+ if (!this._virtualScroll) return {
683
+ top: 0,
684
+ bottom: 0
685
+ };
686
+ let e = this.getEffectiveData().length, { startIndex: t, endIndex: n } = this._virtualRange;
687
+ return {
688
+ top: t * this._itemSize,
689
+ bottom: Math.max(0, (e - n) * this._itemSize)
690
+ };
691
+ }
692
+ get hasFilterRow() {
693
+ return this._columns.some((e) => e.filterable);
694
+ }
695
+ get filterPanelId() {
696
+ return `${this._filterUid}-filter-panel`;
697
+ }
698
+ filterTriggerId(e) {
699
+ return `${this._filterUid}-filter-trigger-${e}`;
700
+ }
701
+ createFilterState(e) {
702
+ let t = e.name, n = {
703
+ selection: {
704
+ values: e.filterSelection ? [...e.filterSelection.values] : [],
705
+ inverse: !!e.filterSelection?.inverse,
706
+ operator: e.filterSelection?.operator,
707
+ operand: e.filterSelection?.operand ?? null
708
+ },
709
+ seededFrom: e.filterSelection ?? null,
710
+ snapshot: null,
711
+ loaded: null,
712
+ view: null,
713
+ loadedTerm: null,
714
+ fromLocal: !1,
715
+ term: "",
716
+ operandText: e.filterSelection?.operand == null ? "" : String(e.filterSelection.operand),
717
+ loading: !1,
718
+ runner: new p({ debounceMs: M }),
719
+ listeners: /* @__PURE__ */ new Set(),
720
+ ctx: null
721
+ };
722
+ return n.ctx = {
723
+ values: () => n.view,
724
+ loading: () => n.loading,
725
+ search: (e) => this.setFilterSearch(t, e),
726
+ apply: (e, n) => this.applyFilter(t, e, n),
727
+ clear: () => this.clearFilter(t),
728
+ onChange: (e) => (n.listeners.add(e), () => n.listeners.delete(e))
729
+ }, n;
730
+ }
731
+ filterState(e) {
732
+ let t = this._filterStates.get(e);
733
+ if (t) return t;
734
+ let n = this._columns.find((t) => t.name === e);
735
+ if (!n?.filterable) return null;
736
+ let r = this.createFilterState(n);
737
+ return this._filterStates.set(e, r), r;
738
+ }
739
+ notifyFilterListeners(e) {
740
+ e.listeners.forEach((e) => e()), this.requestUpdate();
741
+ }
742
+ abortFilterRequest(e) {
743
+ e.runner.cancel(), e.loading = !1;
744
+ }
745
+ applyFilter(e, t, n) {
746
+ let r = this.filterState(e);
747
+ if (!r) return;
748
+ r.selection.values.length === 0 && t.length > 0 && r.snapshot == null && r.loaded && (r.snapshot = [...r.loaded.matching, ...r.loaded.remaining]), t.length === 0 && (r.snapshot = null), r.selection = {
749
+ ...r.selection,
750
+ values: [...t],
751
+ inverse: n
752
+ }, this.rebucket(r), this.notifyFilterListeners(r);
753
+ let i = this._columns.find((t) => t.name === e);
754
+ this.liveAnnouncer.announce(this.mergedLabels.announceFilter(i ? this.columnLabel(i) : e, t.length)), this.dispatchEvent(new CustomEvent("mp-datatable-filter-change", {
755
+ detail: {
756
+ mode: "values",
757
+ column: e,
758
+ selected: [...t],
759
+ inverse: n
760
+ },
761
+ bubbles: !0,
762
+ composed: !0
763
+ }));
764
+ }
765
+ filterModeOf(e) {
766
+ return this._columns.find((t) => t.name === e)?.filterMode ?? "values";
767
+ }
768
+ clearFilter(e) {
769
+ if (this.filterModeOf(e) === "comparison") {
770
+ let t = this.filterState(e);
771
+ this.applyComparison(e, t?.selection.operator ?? "eq", "");
772
+ } else this.applyFilter(e, [], !1);
773
+ }
774
+ applyComparison(e, t, n) {
775
+ let r = this.filterState(e);
776
+ if (!r) return;
777
+ let i = this._columns.find((t) => t.name === e), a = this.parseOperand(n, i?.filterInputType);
778
+ r.operandText = n, r.selection = {
779
+ ...r.selection,
780
+ operator: t,
781
+ operand: a
782
+ }, this.notifyFilterListeners(r);
783
+ let o = this.mergedLabels;
784
+ this.liveAnnouncer.announce(o.announceComparisonFilter(i ? this.columnLabel(i) : e, o.filterOperatorLabel(t), a == null ? "" : String(a))), this.dispatchEvent(new CustomEvent("mp-datatable-filter-change", {
785
+ detail: {
786
+ mode: "comparison",
787
+ column: e,
788
+ operator: t,
789
+ operand: a
790
+ },
791
+ bubbles: !0,
792
+ composed: !0
793
+ }));
794
+ }
795
+ parseOperand(e, t) {
796
+ if (e.trim() === "") return null;
797
+ if ((t ?? "number") === "date") return e;
798
+ let n = Number(e);
799
+ return Number.isNaN(n) ? null : n;
800
+ }
801
+ setFilterSearch(e, t) {
802
+ let n = this.filterState(e);
803
+ if (!n) return;
804
+ n.term = t, this.rebucket(n), this.notifyFilterListeners(n);
805
+ let r = n.loadedTerm ?? "";
806
+ (n.loaded?.hasMore || !t.startsWith(r)) && this.loadDistincts(e, t, !0);
807
+ }
808
+ async loadDistincts(e, t, n = !1) {
809
+ let r = this.filterState(e);
810
+ if (r) {
811
+ if (this._distincts) {
812
+ r.loading = !0, this.notifyFilterListeners(r);
813
+ let i = await r.runner.run(async ({ signal: n }) => ({ response: await this._distincts({
814
+ column: e,
815
+ search: t,
816
+ signal: n
817
+ }) }), { debounceMs: n ? void 0 : 0 });
818
+ if (i.aborted) return;
819
+ if (r.loading = !1, i.value === null) {
820
+ r.loaded = null, r.loadedTerm = t, this.notifyFilterListeners(r);
821
+ return;
822
+ }
823
+ if (i.value.response) {
824
+ r.loaded = i.value.response, r.loadedTerm = t, this.rebucket(r), this.notifyFilterListeners(r);
825
+ return;
826
+ }
827
+ }
828
+ r.loaded = this.localDistincts(e), r.loadedTerm = "", r.fromLocal = !0, this.rebucket(r), this.notifyFilterListeners(r);
829
+ }
830
+ }
831
+ refreshLocalDistincts() {
832
+ if (!this._openFilterColumn) return;
833
+ let e = this._filterStates.get(this._openFilterColumn);
834
+ e && e.fromLocal && (e.loaded = this.localDistincts(this._openFilterColumn), this.rebucket(e), this.notifyFilterListeners(e));
835
+ }
836
+ localDistincts(e) {
837
+ if (this._fetch != null || this.isExternallyPaged() || this._childCache.size > 0) return null;
838
+ let t = this.mergedLabels, n = [];
839
+ return this._data.forEach((r) => {
840
+ let i = r?.[e];
841
+ j(n, i) || n.push({
842
+ value: i,
843
+ label: t.filterValue(i)
844
+ });
845
+ }), n.sort((e, t) => e.label.localeCompare(t.label)), {
846
+ matching: n,
847
+ remaining: [],
848
+ hasMore: !1
849
+ };
850
+ }
851
+ rebucket(e) {
852
+ if (!e.loaded) {
853
+ e.view = null;
854
+ return;
855
+ }
856
+ let t = e.term.trim().toLowerCase(), n = (e) => t === "" || e.label.toLowerCase().includes(t), r = [...e.loaded.matching, ...e.loaded.remaining], i = e.snapshot ? e.snapshot.filter((e) => j(r, e.value)) : e.loaded.matching, a = e.snapshot ? e.snapshot.filter((e) => !j(r, e.value)) : e.loaded.remaining;
857
+ e.view = {
858
+ matching: i.filter(n),
859
+ remaining: a.filter(n),
860
+ hasMore: e.loaded.hasMore
861
+ };
862
+ }
863
+ openFilterTrigger() {
864
+ return this._openFilterColumn ? this.renderRoot?.querySelector(`tr.filter-row th[data-column="${this._openFilterColumn}"] .filter-trigger`) ?? null : null;
865
+ }
866
+ onFilterTriggerClick(e, t) {
867
+ t.preventDefault(), t.stopPropagation(), this._openFilterColumn === e.name ? this.filterOverlay.close() : (this.filterOverlay.isOpen && this.filterOverlay.close(!1), this._openFilterColumn = e.name, this.requestUpdate(), (e.filterMode ?? "values") !== "comparison" && this.loadDistincts(e.name, ""), this.filterOverlay.open(), this.dispatchEvent(new CustomEvent("mp-datatable-filter-open", {
868
+ detail: { column: e.name },
869
+ bubbles: !0,
870
+ composed: !0
871
+ })));
872
+ }
873
+ renderFilterPanel() {
874
+ let e = this.filterOverlay.portalContainer;
875
+ if (!e) return;
876
+ let t = this._columns.find((e) => e.name === this._openFilterColumn);
877
+ if (!t) return;
878
+ let n = this.filterState(t.name);
879
+ l(k`
880
+ <div
881
+ class="filter-panel"
882
+ id=${this.filterPanelId}
883
+ role="dialog"
884
+ aria-label=${this.mergedLabels.filterColumn(this.columnLabel(t))}
885
+ >
886
+ <div class="filter-panel-body"></div>
887
+ </div>
888
+ `, e);
889
+ let r = e.querySelector(".filter-panel-body");
890
+ if (!r || !n) return;
891
+ if (this._mountedFilterColumn === t.name && r.firstChild) {
892
+ this._consumerMountedFilter || this.renderDefaultFilterPanel(t, n, r);
893
+ return;
894
+ }
895
+ let i = t.filterRenderer?.(t, n.ctx) ?? null;
896
+ i ? (r.replaceChildren(i), this._consumerMountedFilter = !0, this._mountedFilterColumn = t.name) : (this._consumerMountedFilter = !1, this.renderDefaultFilterPanel(t, n, r), this._mountedFilterColumn = t.name);
897
+ }
898
+ renderDefaultFilterPanel(e, t, n) {
899
+ if ((e.filterMode ?? "values") === "comparison") {
900
+ this.renderComparisonFilterPanel(e, t, n);
901
+ return;
902
+ }
903
+ let r = this.mergedLabels, i = this.columnLabel(e), a = t.view, o = t.selection.values, s = [
904
+ ...o,
905
+ ...(a?.matching ?? []).filter((e) => !j(o, e.value)),
906
+ ...(a?.remaining ?? []).filter((e) => !j(o, e.value))
907
+ ], u = (e) => !!a && j(a.remaining, e);
908
+ l(k`
909
+ <button
910
+ type="button"
911
+ class="filter-clear"
912
+ ?disabled=${o.length === 0 && !t.selection.inverse}
913
+ @click=${() => this.onFilterClear(e.name)}
914
+ >
915
+ ${r.filterClear(i)}
916
+ </button>
917
+ <input
918
+ type="search"
919
+ class="filter-search"
920
+ .value=${t.term}
921
+ aria-label=${r.filterSearch}
922
+ @input=${(e) => t.ctx.search(e.target.value)}
923
+ />
924
+ <button
925
+ type="button"
926
+ class="filter-invert"
927
+ aria-pressed=${t.selection.inverse ? "true" : "false"}
928
+ @click=${() => t.ctx.apply(o, !t.selection.inverse)}
929
+ >
930
+ ${r.filterInvert}
931
+ </button>
932
+ <div class="filter-options" role="group" aria-label=${r.filterGroup(i)}>
933
+ ${t.loading ? k`<span class="filter-loading">${r.loading}</span>` : c}
934
+ ${d(s, (e) => e.value, (t) => k`
935
+ <label class=${g({
936
+ "filter-option": !0,
937
+ "filter-remaining": u(t.value)
938
+ })}>
939
+ <input
940
+ type="checkbox"
941
+ .checked=${j(o, t.value)}
942
+ @change=${(n) => this.onFilterToggle(e.name, t, n.target.checked)}
943
+ />
944
+ <span>${t.label}</span>
945
+ </label>
946
+ `)}
947
+ ${s.length === 0 && !t.loading ? k`<span class="filter-no-values">${r.filterNoValues}</span>` : c}
948
+ </div>
949
+ ${a?.hasMore ? k`<span class="filter-has-more">${r.filterHasMore}</span>` : c}
950
+ `, n);
951
+ }
952
+ renderComparisonFilterPanel(e, t, n) {
953
+ let r = this.mergedLabels, i = this.columnLabel(e), a = e.filterOperators?.length ? e.filterOperators : y, o = t.selection.operator ?? a[0], s = t.selection.operand, c = e.filterInputType ?? "number", u = () => n.querySelector(".filter-operand")?.value ?? "", d = () => n.querySelector(".filter-operator")?.value ?? o;
954
+ l(k`
955
+ <button
956
+ type="button"
957
+ class="filter-clear"
958
+ ?disabled=${s == null}
959
+ @click=${() => this.onFilterClear(e.name)}
960
+ >
961
+ ${r.filterClear(i)}
962
+ </button>
963
+ <div class="filter-comparison">
964
+ <select
965
+ class="filter-operator"
966
+ aria-label=${r.filterOperator}
967
+ @change=${() => this.applyComparison(e.name, d(), u())}
968
+ >
969
+ ${a.map((e) => k`
970
+ <option value=${e} ?selected=${e === o}>
971
+ ${v[e]} ${r.filterOperatorLabel(e)}
972
+ </option>
973
+ `)}
974
+ </select>
975
+ <input
976
+ class="filter-operand"
977
+ type=${c}
978
+ .value=${h(t.operandText)}
979
+ aria-label=${r.filterOperand}
980
+ @input=${() => this.applyComparison(e.name, d(), u())}
981
+ />
982
+ </div>
983
+ `, n);
984
+ }
985
+ onFilterToggle(e, t, n) {
986
+ let r = this.filterState(e);
987
+ if (!r) return;
988
+ let i = n ? [...r.selection.values, t] : r.selection.values.filter((e) => !A(e.value, t.value));
989
+ r.ctx.apply(i, r.selection.inverse);
990
+ }
991
+ onFilterClear(e) {
992
+ let t = this.filterState(e);
993
+ t && (t.ctx.clear(), this.filterOverlay.portalContainer?.querySelector(".filter-search, .filter-operand")?.focus({ preventScroll: !0 }));
994
+ }
995
+ renderFilterRow(e) {
996
+ return k`
997
+ <tr role="row" aria-rowindex="2" class="filter-row">
998
+ ${this._tree ? k`<th class="filter-cell tree-chevron-cell"></th>` : c}
999
+ ${e ? k`<th class="filter-cell checkbox-cell"></th>` : c}
1000
+ ${this._columns.map((e) => this.renderFilterCell(e))}
1001
+ </tr>
1002
+ `;
1003
+ }
1004
+ renderFilterCell(e) {
1005
+ if (!e.filterable) return k`<th class="filter-cell p-0" data-column=${e.name} scope="col"></th>`;
1006
+ let t = this._openFilterColumn === e.name, n = this.mergedLabels, r = this.columnLabel(e), i = e.filterActive ? n.filterColumnActive(r, e.filterSummary) : n.filterColumn(r);
1007
+ return k`
1008
+ <th class="filter-cell p-0" data-column=${e.name} scope="col">
1009
+ <button
1010
+ type="button"
1011
+ class=${g({
1012
+ "filter-trigger": !0,
1013
+ "p-2": !0,
1014
+ "rounded-0": !0,
1015
+ active: !!e.filterActive,
1016
+ open: t
1017
+ })}
1018
+ id=${this.filterTriggerId(e.name)}
1019
+ aria-expanded=${t ? "true" : "false"}
1020
+ aria-controls=${t ? this.filterPanelId : c}
1021
+ aria-label=${i}
1022
+ @click=${(t) => this.onFilterTriggerClick(e, t)}
1023
+ >
1024
+ <svg class="filter-icon" viewBox="0 0 16 16" aria-hidden="true" focusable="false">
1025
+ <path d="M2 3h12l-4.5 5.25V13L6.5 11.5V8.25L2 3z" />
1026
+ </svg>
1027
+ ${e.filterSummary ? k`<span class="filter-summary">${e.filterSummary}</span>` : c}
1028
+ </button>
1029
+ </th>
1030
+ `;
1031
+ }
1032
+ columnLabel(e) {
1033
+ return e.label ?? this._derivedLabels.get(e.name) ?? e.name;
1034
+ }
1035
+ deriveHeaderLabel(e, t) {
1036
+ if (!(t instanceof Node)) {
1037
+ this._derivedLabels.delete(e.name);
1038
+ return;
1039
+ }
1040
+ let n = t.textContent?.replace(/\s+/g, " ").trim();
1041
+ n && this._derivedLabels.set(e.name, n);
1042
+ }
1043
+ observeHeaderText() {
1044
+ if (typeof MutationObserver > "u") return;
1045
+ let e = this.renderRoot?.querySelector("thead") ?? null;
1046
+ e !== this._observedThead && (this._headerObserver ??= new MutationObserver(() => {
1047
+ this.headerTextChanged() && this.requestUpdate();
1048
+ }), this._headerObserver.disconnect(), this._observedThead = e, e && this._headerObserver.observe(e, {
1049
+ characterData: !0,
1050
+ childList: !0,
1051
+ subtree: !0
1052
+ }));
1053
+ }
1054
+ headerTextChanged() {
1055
+ return [...this._derivedLabels].some(([e, t]) => {
1056
+ let n = (this.headerCell(e)?.querySelector(".header-cell > span"))?.textContent?.replace(/\s+/g, " ").trim();
1057
+ return !!n && n !== t;
1058
+ });
1059
+ }
1060
+ isColumnResizable(e) {
1061
+ return e.resizable ?? this._resizableColumns;
1062
+ }
1063
+ renderHeader(e, t) {
1064
+ let n = e.sortable ?? !0, r = this._sortColumns.findIndex((t) => t.property === e.name), i = r >= 0 ? this._sortColumns[r].direction : null, a = this._columnWidths.get(e.name) ?? e.width, o = e.headerRenderer ? e.headerRenderer(e) : e.label ?? e.name;
1065
+ this.deriveHeaderLabel(e, o);
1066
+ let s = {};
1067
+ return typeof a == "number" && (s.width = `${a}px`, s.minWidth = `${a}px`), k`
1068
+ <th
1069
+ scope="col"
1070
+ data-column=${e.name}
1071
+ data-sortable=${n ? "true" : "false"}
1072
+ aria-sort=${i ? i === "ascending" ? "ascending" : "descending" : "none"}
1073
+ style=${f(s)}
1074
+ >
1075
+ ${n ? k`<button
1076
+ type="button"
1077
+ class="header-cell header-sort"
1078
+ @click=${(t) => this.onHeaderClick(e, t)}
1079
+ >
1080
+ <span>${z(o)}</span>
1081
+ ${r >= 0 && this._sortColumns.length > 1 ? k`<span class="sort-index">${r + 1}</span>` : c}
1082
+ </button>` : k`<span class="header-cell">
1083
+ <span>${z(o)}</span>
1084
+ </span>`}
1085
+ ${this.isColumnResizable(e) ? k`<span
1086
+ class="resize-handle"
1087
+ role="separator"
1088
+ tabindex="0"
1089
+ aria-orientation="vertical"
1090
+ aria-label=${this.mergedLabels.resizeColumn(this.columnLabel(e))}
1091
+ aria-valuemin=${40}
1092
+ aria-valuenow=${Math.round(a ?? 0) || c}
1093
+ @pointerdown=${(t) => this.startColumnResize(e, t)}
1094
+ @keydown=${(t) => this.onResizeHandleKeydown(e, t)}
1095
+ @focus=${() => this.onResizeHandleFocus()}
1096
+ ></span>` : c}
1097
+ </th>
1098
+ `;
1099
+ }
1100
+ renderRow(e, t, n, r) {
1101
+ let { row: i, depth: a, isExpanded: o, isPlaceholder: s } = e, l = !s && this._selectedIds.has(t), u = !s && this._cutIds.has(t), d = !s && this._focusedRowKey === t, p = s ? 0 : this.extractChildCount(i), m = this._tree && !s && p > 0, h = !s && i != null && this.isParentIndeterminate(i, t);
1102
+ return k`
1103
+ <tr
1104
+ role="row"
1105
+ aria-rowindex=${n + 1 + (this.hasFilterRow ? 2 : 1)}
1106
+ aria-level=${this._tree ? a + 1 : c}
1107
+ aria-expanded=${this._tree && p > 0 ? o ? "true" : "false" : c}
1108
+ aria-busy=${s ? "true" : c}
1109
+ aria-selected=${!s && this._selectionMode !== "none" ? l ? "true" : "false" : c}
1110
+ data-row-key=${t}
1111
+ data-selected=${l ? "true" : "false"}
1112
+ data-cut=${u ? "true" : "false"}
1113
+ data-focused=${d ? "true" : "false"}
1114
+ data-placeholder=${s ? "true" : "false"}
1115
+ data-depth=${this._tree ? String(a) : c}
1116
+ data-clickable=${!s && (this._selectionMode !== "none" || this.hasRowClickListeners()) ? "true" : "false"}
1117
+ tabindex=${!s && (this._selectionMode !== "none" || this._tree) ? this._focusedRowKey === t || this._focusedRowKey === null && n === 0 ? "0" : "-1" : c}
1118
+ @focus=${s ? null : () => {
1119
+ this._focusedRowKey = t, this.requestUpdate();
1120
+ }}
1121
+ @click=${s ? null : (e) => this.onRowClick(i, t, n, e)}
1122
+ @dblclick=${s ? null : (e) => this.onRowDblClick(i, t, n, e)}
1123
+ @contextmenu=${s ? null : (e) => this.onRowContextMenu(i, t, n, e)}
1124
+ @keydown=${s ? null : (r) => this.onRowKeydown(i, t, n, e.parentId, a, o, p, r)}
1125
+ >
1126
+ ${this._tree ? k`<td class="tree-chevron-cell" style=${f({ paddingInlineStart: `${a * this._treeIndent}rem` })}>
1127
+ ${m ? k`<button
1128
+ type="button"
1129
+ class="tree-chevron"
1130
+ aria-label=${o ? this.mergedLabels.collapseRow : this.mergedLabels.expandRow}
1131
+ aria-expanded=${o ? "true" : "false"}
1132
+ data-expanded=${o ? "true" : "false"}
1133
+ @click=${(t) => this.toggleExpand(i, e.parentId, a, t)}
1134
+ >${o ? "▾" : "▸"}</button>` : c}
1135
+ </td>` : c}
1136
+ ${r ? k`<td
1137
+ class=${g({
1138
+ "checkbox-cell": !0,
1139
+ "checkbox-cell-toggles": this._selectionMode === "checkbox"
1140
+ })}
1141
+ @click=${s ? (e) => e.stopPropagation() : (e) => this.onCheckboxCellClick(i, t, e)}
1142
+ @dblclick=${(e) => e.stopPropagation()}
1143
+ >
1144
+ ${s ? c : k`<mp-checkbox
1145
+ .checked=${l}
1146
+ .indeterminate=${h}
1147
+ @change=${() => this.onRowCheckboxToggle(i, t)}
1148
+ ></mp-checkbox>`}
1149
+ </td>` : c}
1150
+ ${this._rowRenderer ? this.renderRowFromRenderer(i, n, {
1151
+ depth: a,
1152
+ isExpanded: o,
1153
+ isPlaceholder: s
1154
+ }) : s ? k`<td colspan=${this._columns.length} class="tree-placeholder-cell" aria-label=${this.mergedLabels.loading}>…</td>` : this._columns.map((e) => this.renderCell(i, e, n))}
1155
+ </tr>
1156
+ `;
1157
+ }
1158
+ nameRowCheckboxes() {
1159
+ if (!this.isMulti) return;
1160
+ let e = this.mergedLabels, t = new Map(this.computeVisibleRows().map((e) => [e.key, e])), n = this.renderRoot.querySelectorAll("tbody tr[data-row-key]:not([data-placeholder=\"true\"])");
1161
+ for (let r of n) {
1162
+ let n = r.querySelector(":scope > td.checkbox-cell > mp-checkbox"), i = t.get(r.dataset.rowKey ?? "");
1163
+ if (!n || !i) continue;
1164
+ let a = this._rowLabel?.(i.row)?.trim(), o = r.querySelector(":scope > td:not(.checkbox-cell):not(.tree-chevron-cell)")?.textContent?.trim(), s = a || o, c = s ? e.selectRowNamed(s) : e.selectRow(i.rowIndex + 1);
1165
+ n.getAttribute("aria-label") !== c && n.setAttribute("aria-label", c);
1166
+ }
1167
+ }
1168
+ renderRowFromRenderer(e, t, n) {
1169
+ let r = this._rowRenderer(e, t, n);
1170
+ if (r == null) return n.isPlaceholder ? k`<td colspan=${this._columns.length} class="tree-placeholder-cell" aria-label=${this.mergedLabels.loading}>…</td>` : this._columns.map((n) => this.renderCell(e, n, t));
1171
+ if (Array.isArray(r) || R(r)) {
1172
+ let e = [];
1173
+ for (let t of r) e.push(t);
1174
+ return e;
1175
+ }
1176
+ return r;
1177
+ }
1178
+ renderCell(e, t, n) {
1179
+ let r = t.cellRenderer ? t.cellRenderer(e, t, n) : L(e, t);
1180
+ return k`<td class=${t.cellClass ?? ""} data-column=${t.name}>${z(r)}</td>`;
1181
+ }
1182
+ renderFooter(e) {
1183
+ let t = Array.from({ length: e }, (e, t) => t + 1);
1184
+ return k`
1185
+ <div class="datatable-footer">
1186
+ <mp-pagination
1187
+ class="datatable-per-page"
1188
+ aria-label=${this.mergedLabels.rowsPerPage}
1189
+ .pageNumbers=${this._perPageOptions}
1190
+ .selectedPageNumber=${this._perPage}
1191
+ .showArrows=${!1}
1192
+ @mp-pagination-page-change=${(e) => this.setPerPage(e.detail.page)}
1193
+ ></mp-pagination>
1194
+ <mp-pagination
1195
+ class="datatable-pagination"
1196
+ .pageNumbers=${t}
1197
+ .selectedPageNumber=${this._page}
1198
+ .numberOfBoxes=${7}
1199
+ .showArrows=${!0}
1200
+ @mp-pagination-page-change=${(e) => this.gotoPage(e.detail.page)}
1201
+ ></mp-pagination>
1202
+ </div>
1203
+ `;
1204
+ }
1205
+ setPerPage(e) {
1206
+ let t = Math.max(1, Math.floor(e || 1));
1207
+ this._perPage !== t && (this._perPage = t, this._page = 1, this.requestUpdate(), this.scheduleFetchReload(), this.dispatchEvent(new CustomEvent("mp-datatable-per-page-change", {
1208
+ detail: { perPage: t },
1209
+ bubbles: !0,
1210
+ composed: !0
1211
+ })), this.dispatchEvent(new CustomEvent("mp-datatable-page-change", {
1212
+ detail: { page: 1 },
1213
+ bubbles: !0,
1214
+ composed: !0
1215
+ })));
1216
+ }
1217
+ getEffectiveData() {
1218
+ if (this._tree || this.isRootWindowed()) return this.getFlatList().map((e) => e.row);
1219
+ let e = this._data;
1220
+ if (this._autoSort && this._sortColumns.length > 0 && (e = C(e, this._sortColumns)), this._pagination && !this.isExternallyPaged()) {
1221
+ let t = (this._page - 1) * this._perPage;
1222
+ e = e.slice(t, t + this._perPage);
1223
+ }
1224
+ return e;
1225
+ }
1226
+ getFlatList() {
1227
+ if (this._cachedFlatList !== null) return this._cachedFlatList;
1228
+ if (!this._tree) {
1229
+ if (this.isRootWindowed()) {
1230
+ let e = this._totalRecords ?? this._data.length, t = Math.max(1, this._perPage), n = Array(e);
1231
+ for (let r = 0; r < e; r++) {
1232
+ let e = Math.floor(r / t) + 1, i = r % t, a = e === 1 ? this._data[i] : this._pageCache.get(e)?.[i];
1233
+ n[r] = a === void 0 ? {
1234
+ row: void 0,
1235
+ key: `__placeholder-flat-${r}`,
1236
+ depth: 0,
1237
+ parentId: null,
1238
+ page: e,
1239
+ isExpanded: !1,
1240
+ isPlaceholder: !0
1241
+ } : {
1242
+ row: a,
1243
+ key: this._rowKey(a, r),
1244
+ depth: 0,
1245
+ parentId: null,
1246
+ isExpanded: !1,
1247
+ isPlaceholder: !1
1248
+ };
1249
+ }
1250
+ return this._cachedFlatList = n;
1251
+ }
1252
+ let e = this._pagination ? (this._page - 1) * this._perPage : 0, t = this._pagination && !this.isExternallyPaged() ? this.localSortedRows().slice(e, e + this._perPage) : this.localSortedRows();
1253
+ return this._cachedFlatList = t.map((t, n) => ({
1254
+ row: t,
1255
+ key: this._rowKey(t, e + n),
1256
+ depth: 0,
1257
+ parentId: null,
1258
+ isExpanded: !1,
1259
+ isPlaceholder: !1
1260
+ }));
1261
+ }
1262
+ let e = [], t = Math.max(1, this._perPage), n = (e) => this._autoSort && this._sortColumns.length > 0 ? C(e, this._sortColumns) : e, r = (t, i, a) => {
1263
+ let o = this.extractId(t), s = o != null && this._expandedIds.has(o), c = this.extractChildCount(t);
1264
+ if (e.push({
1265
+ row: t,
1266
+ key: this._rowKey(t, e.length),
1267
+ depth: i,
1268
+ parentId: a,
1269
+ isExpanded: s,
1270
+ isPlaceholder: !1
1271
+ }), !s || c === 0 || o == null) return;
1272
+ let l = this._childCache.get(o);
1273
+ if (l && l.length > 0) {
1274
+ for (let e of n(l)) r(e, i + 1, o);
1275
+ let t = this._childTotals.get(o) ?? l.length;
1276
+ for (let n = 0; n < Math.max(0, t - l.length); n++) e.push({
1277
+ row: void 0,
1278
+ key: `__placeholder-${String(o)}-${l.length + n}`,
1279
+ depth: i + 1,
1280
+ parentId: o,
1281
+ isExpanded: !1,
1282
+ isPlaceholder: !0
1283
+ });
1284
+ } else for (let t = 0; t < c; t++) e.push({
1285
+ row: void 0,
1286
+ key: `__placeholder-${String(o)}-${t}`,
1287
+ depth: i + 1,
1288
+ parentId: o,
1289
+ isExpanded: !1,
1290
+ isPlaceholder: !0
1291
+ });
1292
+ };
1293
+ if (this.isRootWindowed()) {
1294
+ let n = this._totalRecords ?? this._data.length;
1295
+ for (let i = 0; i < n; i++) {
1296
+ let n = Math.floor(i / t) + 1, a = i % t, o = n === 1 ? this._data[a] : this._pageCache.get(n)?.[a];
1297
+ o === void 0 ? e.push({
1298
+ row: void 0,
1299
+ key: `__placeholder-root-${i}`,
1300
+ depth: 0,
1301
+ parentId: null,
1302
+ page: n,
1303
+ isExpanded: !1,
1304
+ isPlaceholder: !0
1305
+ }) : r(o, 0, null);
1306
+ }
1307
+ } else {
1308
+ let e = this._autoSort && this._sortColumns.length > 0 ? C(this._data, this._sortColumns) : this._data;
1309
+ for (let t of e) r(t, 0, null);
1310
+ }
1311
+ return this._cachedFlatList = e;
1312
+ }
1313
+ localSortedRows() {
1314
+ return this._autoSort && this._sortColumns.length > 0 ? C(this._data, this._sortColumns) : this._data;
1315
+ }
1316
+ freshFlatList() {
1317
+ return this._cachedFlatList = null, this.getFlatList();
1318
+ }
1319
+ liveRowEntries(e) {
1320
+ let t = e.filter((e) => !e.isPlaceholder).map((e) => [e.key, e.row]);
1321
+ return this._tree || !this._pagination || this.isExternallyPaged() ? t : this.localSortedRows().map((e, t) => [this._rowKey(e, t), e]);
1322
+ }
1323
+ keyOfRow(e) {
1324
+ let t = this.getFlatList();
1325
+ return this._keyByRowMemo?.list !== t && (this._keyByRowMemo = {
1326
+ list: t,
1327
+ byRow: new Map(this.liveRowEntries(t).map(([e, t]) => [t, e]))
1328
+ }), this._keyByRowMemo.byRow.get(e) ?? this._rowKey(e, -1);
1329
+ }
1330
+ rowKeyLookup() {
1331
+ return this.freshFlatList(), (e) => this.keyOfRow(e);
1332
+ }
1333
+ computeVisibleRows() {
1334
+ let e = this.getFlatList(), t = this._tree ? 0 : this._pagination ? (this._page - 1) * this._perPage : 0, n = e, r = 0;
1335
+ if (this._virtualScroll) {
1336
+ let { startIndex: t, endIndex: i } = this._virtualRange;
1337
+ n = e.slice(t, i), r = t;
1338
+ }
1339
+ return n.map((e, n) => {
1340
+ let i = t + r + n;
1341
+ return {
1342
+ row: e.row,
1343
+ rowIndex: i,
1344
+ key: e.key,
1345
+ flat: e
1346
+ };
1347
+ });
1348
+ }
1349
+ extractId(e) {
1350
+ return !this._idKey || typeof e != "object" || !e ? null : typeof this._idKey == "function" ? this._idKey(e) : e[this._idKey];
1351
+ }
1352
+ extractChildCount(e) {
1353
+ if (!this._childCountKey || typeof e != "object" || !e) return 0;
1354
+ let t = e[this._childCountKey];
1355
+ return typeof t == "number" && t > 0 ? t : 0;
1356
+ }
1357
+ collectDescendants(e) {
1358
+ let t = this.extractId(e), n = t == null ? void 0 : this._childCache.get(t);
1359
+ return n ? n.flatMap((e) => [[this.keyOfRow(e), e], ...this.collectDescendants(e)]) : [];
1360
+ }
1361
+ isParentIndeterminate(e, t) {
1362
+ return this._selectionStrategy !== "cascading" || e == null ? !1 : this.getIndeterminateKeys().has(t);
1363
+ }
1364
+ getIndeterminateKeys() {
1365
+ if (this._cachedIndeterminateKeys !== null) return this._cachedIndeterminateKeys;
1366
+ let e = /* @__PURE__ */ new Set();
1367
+ if (this._selectionStrategy !== "cascading" || !this._tree) return this._cachedIndeterminateKeys = e;
1368
+ let t = (n) => {
1369
+ let r = this.extractId(n);
1370
+ if (r == null) return {
1371
+ selected: 0,
1372
+ total: 0
1373
+ };
1374
+ let i = this._childCache.get(r);
1375
+ if (!i || i.length === 0) return {
1376
+ selected: 0,
1377
+ total: 0
1378
+ };
1379
+ let a = 0, o = 0;
1380
+ for (let e of i) {
1381
+ let n = this.keyOfRow(e), r = +!!this._selectedIds.has(n), i = t(e);
1382
+ a += r + i.selected, o += 1 + i.total;
1383
+ }
1384
+ return o > 0 && a > 0 && a < o && e.add(this.keyOfRow(n)), {
1385
+ selected: a,
1386
+ total: o
1387
+ };
1388
+ };
1389
+ for (let e of this._data) t(e);
1390
+ return this._cachedIndeterminateKeys = e;
1391
+ }
1392
+ toggleExpand(e, t, n, r) {
1393
+ r.stopPropagation(), r.preventDefault();
1394
+ let i = this.extractId(e);
1395
+ if (i == null) return;
1396
+ let a = new Set(this._expandedIds), o;
1397
+ a.has(i) ? (a.delete(i), o = !1) : (a.add(i), o = !0), this._expandedIds = a, o ? (this.dispatchEvent(new CustomEvent("mp-datatable-row-expand", {
1398
+ detail: {
1399
+ row: e,
1400
+ depth: n,
1401
+ parentId: t
1402
+ },
1403
+ bubbles: !0,
1404
+ composed: !0
1405
+ })), this.extractChildCount(e) > 0 && !this._childCache.has(i) && !this._pendingFetches.has(i) && this.fetchChildren(i)) : this.dispatchEvent(new CustomEvent("mp-datatable-row-collapse", {
1406
+ detail: {
1407
+ row: e,
1408
+ depth: n,
1409
+ parentId: t
1410
+ },
1411
+ bubbles: !0,
1412
+ composed: !0
1413
+ })), this.emitExpandedIdsChange(), this.requestUpdate();
1414
+ }
1415
+ emitExpandedIdsChange() {
1416
+ this.dispatchEvent(new CustomEvent("mp-datatable-expanded-ids-change", {
1417
+ detail: { expandedIds: new Set(this._expandedIds) },
1418
+ bubbles: !0,
1419
+ composed: !0
1420
+ }));
1421
+ }
1422
+ invalidateFetches() {
1423
+ this._fetchGeneration++, this._fetchAbort.abort(), this._fetchAbort = new AbortController();
1424
+ }
1425
+ async fetchWindowPage(e) {
1426
+ if (!this._fetch || e <= 1) return;
1427
+ this._pendingPageFetches.add(e);
1428
+ let t = this._fetchGeneration;
1429
+ try {
1430
+ let n = await this._fetch({
1431
+ parentId: null,
1432
+ page: e,
1433
+ perPage: this._perPage,
1434
+ sortColumns: [...this._sortColumns],
1435
+ signal: this._fetchAbort.signal
1436
+ });
1437
+ if (t !== this._fetchGeneration || !this._fetch) return;
1438
+ this._pendingPageFetches.delete(e), this._pageCache.set(e, [...n?.data ?? []]);
1439
+ let r = n?.totalRecords == null ? null : Math.max(0, Math.floor(n.totalRecords));
1440
+ r != null && (this._totalRecords = r), this.requestUpdate();
1441
+ } catch (t) {
1442
+ if (this._pendingPageFetches.delete(e), m(t)) return;
1443
+ console.error("[mp-datatable] fetch failed for root page", e, t);
1444
+ }
1445
+ }
1446
+ async fetchChildren(e) {
1447
+ if (!this._fetch || e == null) return;
1448
+ this._pendingFetches.add(e);
1449
+ let t = this._fetchGeneration;
1450
+ try {
1451
+ let n = await this._fetch({
1452
+ parentId: e,
1453
+ page: 1,
1454
+ perPage: this._perPage,
1455
+ sortColumns: [...this._sortColumns],
1456
+ signal: this._fetchAbort.signal
1457
+ });
1458
+ if (t !== this._fetchGeneration || !this._fetch) return;
1459
+ this._pendingFetches.delete(e), this._childCache.set(e, [...n?.data ?? []]), this._childTotals.set(e, n?.totalRecords ?? n?.data?.length ?? 0), this.requestUpdate();
1460
+ } catch (t) {
1461
+ if (this._pendingFetches.delete(e), m(t)) return;
1462
+ console.error("[mp-datatable] fetch failed for children of", e, t);
1463
+ }
1464
+ }
1465
+ async loadPage(e) {
1466
+ if (!this._fetch) return;
1467
+ let t = this._fetchGeneration, n;
1468
+ try {
1469
+ n = await this._fetch({
1470
+ parentId: null,
1471
+ page: e,
1472
+ perPage: this._perPage,
1473
+ sortColumns: [...this._sortColumns],
1474
+ signal: this._fetchAbort.signal
1475
+ });
1476
+ } catch (t) {
1477
+ m(t) || console.error("[mp-datatable] fetch failed for page", e, t);
1478
+ return;
1479
+ }
1480
+ if (t !== this._fetchGeneration || !this._fetch) return;
1481
+ this._data = [...n?.data ?? []];
1482
+ let r = n?.totalRecords == null ? null : Math.max(0, Math.floor(n.totalRecords));
1483
+ this._totalRecords = r, this._initialFetchDone = !0, this.requestUpdate();
1484
+ }
1485
+ scheduleFetchReload() {
1486
+ this._fetch && !this._reloadScheduled && (this._reloadScheduled = !0, queueMicrotask(() => {
1487
+ if (this._reloadScheduled = !1, !this._fetch) return;
1488
+ let e = JSON.stringify({
1489
+ s: this._sortColumns,
1490
+ pp: this._perPage,
1491
+ p: this._virtualScroll ? 1 : this._page
1492
+ });
1493
+ this._initialFetchDone && e === this._lastReloadKey || (this._lastReloadKey = e, this.invalidateFetches(), this._pageCache.clear(), this._pendingPageFetches.clear(), this._childCache.clear(), this._childTotals.clear(), this._pendingFetches.clear(), this.loadPage(this._virtualScroll ? 1 : this._page));
1494
+ }));
1495
+ }
1496
+ onRowKeydown(e, t, n, r, i, a, o, s) {
1497
+ if (!s.altKey && s.composedPath()[0] === s.currentTarget) {
1498
+ if (s.key === "ArrowDown" || s.key === "ArrowUp") {
1499
+ s.preventDefault();
1500
+ let e = Array.from(this.renderRoot.querySelectorAll("tbody tr[data-row-key]")), n = e[e.findIndex((e) => e.dataset.rowKey === t) + (s.key === "ArrowDown" ? 1 : -1)];
1501
+ n && n.focus();
1502
+ } else if (this._tree && (s.key === "ArrowRight" && o > 0 && !a || s.key === "ArrowLeft" && a)) this.toggleExpand(e, r, i, s);
1503
+ else if ((s.key === "Enter" || s.key === " ") && this._selectionMode === "checkbox") {
1504
+ if (s.preventDefault(), this._focusedRowKey = t, s.key === " ") {
1505
+ s.shiftKey || this.onRowCheckboxToggle(e, t), this.requestUpdate();
1506
+ return;
1507
+ }
1508
+ this.requestUpdate(), this.dispatchEvent(new CustomEvent("mp-datatable-row-click", {
1509
+ detail: {
1510
+ row: e,
1511
+ rowIndex: n,
1512
+ rowKey: t,
1513
+ originalEvent: s
1514
+ },
1515
+ bubbles: !0,
1516
+ composed: !0
1517
+ }));
1518
+ } else (s.key === "Enter" || s.key === " ") && this._selectionMode !== "none" && (s.preventDefault(), this._focusedRowKey = t, this.handleSelectionOnClick(e, t, s), this.requestUpdate(), this.dispatchEvent(new CustomEvent("mp-datatable-row-click", {
1519
+ detail: {
1520
+ row: e,
1521
+ rowIndex: n,
1522
+ rowKey: t,
1523
+ originalEvent: s
1524
+ },
1525
+ bubbles: !0,
1526
+ composed: !0
1527
+ })));
1528
+ }
1529
+ }
1530
+ hasRowClickListeners() {
1531
+ return !0;
1532
+ }
1533
+ onHeaderClick(e, t) {
1534
+ let n = S(this._sortColumns, e.name, t.shiftKey);
1535
+ this._sortColumns = n, this._page = 1;
1536
+ let r = n.find((t) => t.property === e.name);
1537
+ this.liveAnnouncer.announce(this.mergedLabels.announceSorted(this.columnLabel(e), r ? r.direction === "ascending" ? "ascending" : "descending" : "none")), this.requestUpdate(), this.scheduleFetchReload(), this.dispatchEvent(new CustomEvent("mp-datatable-sort-change", {
1538
+ detail: { sortColumns: n },
1539
+ bubbles: !0,
1540
+ composed: !0
1541
+ }));
1542
+ }
1543
+ onRowClick(e, t, n, r) {
1544
+ this._focusedRowKey = t, this._selectionMode !== "checkbox" && this.handleSelectionOnClick(e, t, r), this.requestUpdate(), this.dispatchEvent(new CustomEvent("mp-datatable-row-click", {
1545
+ detail: {
1546
+ row: e,
1547
+ rowIndex: n,
1548
+ rowKey: t,
1549
+ originalEvent: r
1550
+ },
1551
+ bubbles: !0,
1552
+ composed: !0
1553
+ }));
1554
+ }
1555
+ onRowDblClick(e, t, n, r) {
1556
+ this.dispatchEvent(new CustomEvent("mp-datatable-row-dblclick", {
1557
+ detail: {
1558
+ row: e,
1559
+ rowIndex: n,
1560
+ rowKey: t,
1561
+ originalEvent: r
1562
+ },
1563
+ bubbles: !0,
1564
+ composed: !0
1565
+ }));
1566
+ }
1567
+ onRowContextMenu(e, t, n, r) {
1568
+ this._selectionMode !== "none" && this._selectionMode !== "checkbox" && !this._selectedIds.has(t) && (this.commitSelection([t], [[t, e]]), this._focusedRowKey = t, this.emitSelectionChange(), this.requestUpdate()), this.dispatchEvent(new CustomEvent("mp-datatable-row-contextmenu", {
1569
+ detail: {
1570
+ row: e,
1571
+ rowIndex: n,
1572
+ rowKey: t,
1573
+ originalEvent: r
1574
+ },
1575
+ bubbles: !0,
1576
+ composed: !0,
1577
+ cancelable: !0
1578
+ })) || r.preventDefault();
1579
+ }
1580
+ onCheckboxCellClick(e, t, n) {
1581
+ if (n.stopPropagation(), this._selectionMode !== "checkbox") return;
1582
+ let r = n.currentTarget.querySelector("mp-checkbox")?.shadowRoot;
1583
+ r && n.composedPath().includes(r) || this.onRowCheckboxToggle(e, t);
1584
+ }
1585
+ onRowCheckboxToggle(e, t) {
1586
+ let n = !this._selectedIds.has(t), r = [[t, e], ...this._tree && this._selectionStrategy === "cascading" ? this.collectDescendants(e) : []], i = new Set(r.map(([e]) => e));
1587
+ n ? this.commitSelection([...this._selectedIds, ...i], r) : this.commitSelection([...this._selectedIds].filter((e) => !i.has(e))), this.emitSelectionChange(), this.requestUpdate();
1588
+ }
1589
+ onDeselectAll() {
1590
+ this._selectedIds.size !== 0 && (this.commitSelection([]), this.emitSelectionChange(), this.requestUpdate());
1591
+ }
1592
+ handleSelectionOnClick(e, t, n) {
1593
+ if (this._selectionMode !== "none") {
1594
+ if (this._selectionMode === "single") this.commitSelection([t], [[t, e]]), this.emitSelectionChange();
1595
+ else {
1596
+ if (n.shiftKey && this._selectionAnchorKey && this._selectionAnchorKey !== t) {
1597
+ let e = this.getFlatList(), n = e.findIndex((e) => !e.isPlaceholder && e.key === this._selectionAnchorKey), r = e.findIndex((e) => e.key === t);
1598
+ if (n >= 0 && r >= 0) {
1599
+ let [t, i] = n < r ? [n, r] : [r, n], a = e.slice(t, i + 1);
1600
+ if (a.some((e) => e.isPlaceholder)) {
1601
+ this.liveAnnouncer.announce(this.mergedLabels.rangeIncomplete);
1602
+ return;
1603
+ }
1604
+ let o = a.map((e) => [e.key, e.row]);
1605
+ this.commitSelection([...this._selectedIds, ...o.map(([e]) => e)], o), this.emitSelectionChange();
1606
+ return;
1607
+ }
1608
+ }
1609
+ if (n.ctrlKey || n.metaKey) {
1610
+ let n = new Set(this._selectedIds);
1611
+ n.has(t) ? n.delete(t) : n.add(t), this.commitSelection(n, [[t, e]]), this._selectionAnchorKey = t, this.emitSelectionChange();
1612
+ } else this.commitSelection([t], [[t, e]]), this._selectionAnchorKey = t, this.emitSelectionChange();
1613
+ }
1614
+ }
1615
+ }
1616
+ commitSelection(e, t = []) {
1617
+ this._selectedIds = new Set(e);
1618
+ for (let [e, n] of t) n !== void 0 && this._selectedIds.has(e) && this._selectedRowCache.set(e, n);
1619
+ this.pruneSelectedRowCache();
1620
+ }
1621
+ liveRowMap() {
1622
+ let e = new Map(this.liveRowEntries(this.freshFlatList()));
1623
+ for (let t of this._childCache.values()) for (let n of t) {
1624
+ let t = this.keyOfRow(n);
1625
+ e.has(t) || e.set(t, n);
1626
+ }
1627
+ return e;
1628
+ }
1629
+ rememberLiveSelectedRows() {
1630
+ for (let [e, t] of this.liveRowMap()) t !== void 0 && this._selectedIds.has(e) && this._selectedRowCache.set(e, t);
1631
+ }
1632
+ isSameSelectedRows(e) {
1633
+ if (e.length !== this._selectedIds.size) return !1;
1634
+ let t = [...this._selectedIds];
1635
+ if (!e.every(([e], n) => e === t[n])) return !1;
1636
+ let n = this.resolveRows(t);
1637
+ return e.every(([, e], t) => e === n[t]);
1638
+ }
1639
+ pruneSelectedRowCache() {
1640
+ for (let e of this._selectedRowCache.keys()) this._selectedIds.has(e) || this._selectedRowCache.delete(e);
1641
+ }
1642
+ emitSelectionChange() {
1643
+ let e = [...this._selectedIds];
1644
+ this.liveAnnouncer.announce(this.mergedLabels.announceSelection(e.length)), this.dispatchEvent(new CustomEvent("mp-datatable-selection-change", {
1645
+ detail: {
1646
+ selectedIds: e,
1647
+ selectedRows: this.resolveRows(e)
1648
+ },
1649
+ bubbles: !0,
1650
+ composed: !0
1651
+ }));
1652
+ }
1653
+ resolveRows(e) {
1654
+ if (e.length === 0) return [];
1655
+ let t = this.liveRowMap();
1656
+ return e.map((e) => {
1657
+ let n = t.get(e);
1658
+ return n === void 0 ? this._selectedRowCache.get(e) : (this._selectedIds.has(e) && this._selectedRowCache.set(e, n), n);
1659
+ });
1660
+ }
1661
+ gotoPage(e) {
1662
+ let t = this._totalRecords ?? this._data.length, n = Math.max(1, Math.ceil(t / this._perPage));
1663
+ this._page = Math.max(1, Math.min(n, e)), this.liveAnnouncer.announce(this.mergedLabels.announcePage(this._page, n)), this.requestUpdate(), this.scheduleFetchReload(), this.dispatchEvent(new CustomEvent("mp-datatable-page-change", {
1664
+ detail: { page: this._page },
1665
+ bubbles: !0,
1666
+ composed: !0
1667
+ }));
1668
+ }
1669
+ setUserColumnWidth(e, t) {
1670
+ this.freezeColumnWidths(), this._columnWidths = new Map(this._columnWidths), this._columnWidths.set(e, t), this._userWidths.add(e), this.requestUpdate();
1671
+ }
1672
+ currentColumnWidth(e) {
1673
+ return this._columnWidths.get(e.name) ?? this.headerCell(e.name)?.getBoundingClientRect().width ?? 100;
1674
+ }
1675
+ freezeColumnWidths() {
1676
+ if (this._frozenExtraWidth != null || !this.renderRoot) return;
1677
+ let e = this.renderRoot.querySelector("table");
1678
+ if (!e) return;
1679
+ let t = this._columns.map((e) => [e.name, this.headerCell(e.name)?.getBoundingClientRect().width ?? 0]).filter(([, e]) => e > 0);
1680
+ if (t.length === 0) return;
1681
+ let n = t.reduce((e, [, t]) => e + t, 0);
1682
+ this._frozenExtraWidth = Math.max(0, e.getBoundingClientRect().width - n), this._columnWidths = new Map([...this._columnWidths, ...t]), this._frozenWidths = new Map(t);
1683
+ }
1684
+ frozenTableWidth() {
1685
+ return this._columns.reduce((e, t) => e + (this._columnWidths.get(t.name) ?? 0), 0) + (this._frozenExtraWidth ?? 0);
1686
+ }
1687
+ headerCell(e) {
1688
+ return this.renderRoot?.querySelector(`thead tr:first-child th[data-column="${e}"]`) ?? null;
1689
+ }
1690
+ resizeHandle(e) {
1691
+ return this.headerCell(e)?.querySelector(".resize-handle") ?? null;
1692
+ }
1693
+ onResizeHandleKeydown(e, t) {
1694
+ this.isColumnResizable(e) && (t.key === "Enter" ? (t.preventDefault(), t.stopPropagation(), this.openResizePanel(e)) : (t.key === "ArrowLeft" || t.key === "ArrowRight") && (t.preventDefault(), t.stopPropagation(), this.stepColumnWidth(e, t.key === "ArrowRight" ? 10 : -10)));
1695
+ }
1696
+ stepColumnWidth(e, t) {
1697
+ this.freezeColumnWidths(), this.setUserColumnWidth(e.name, E(this.currentColumnWidth(e), t));
1698
+ }
1699
+ onResizeHandleFocus() {
1700
+ this._resizeHintAnnounced || (this._resizeHintAnnounced = !0, this.liveAnnouncer.announce(this.mergedLabels.resizeColumnHint));
1701
+ }
1702
+ startColumnResize(e, t) {
1703
+ if (!this.isColumnResizable(e) || t.pointerType === "mouse" && t.button !== 0) return;
1704
+ t.preventDefault(), t.stopPropagation();
1705
+ let n = t.currentTarget, r = n.closest("th");
1706
+ r && (this.resizeState = {
1707
+ column: e,
1708
+ pointerId: t.pointerId,
1709
+ startX: t.clientX,
1710
+ startWidth: r.getBoundingClientRect().width,
1711
+ handle: n,
1712
+ dragging: !1
1713
+ }, n.classList.add("active"), n.setPointerCapture(t.pointerId), n.addEventListener("pointermove", this.onColumnResizeMove), n.addEventListener("pointerup", this.onColumnResizeEnd), n.addEventListener("pointercancel", this.onColumnResizeEnd));
1714
+ }
1715
+ openResizePanel(e) {
1716
+ this.filterOverlay.isOpen && this.filterOverlay.close(!1), this.resizeOverlay.isOpen && this.resizeOverlay.close(!1), this.resizeHandle(e.name)?.focus({ preventScroll: !0 }), this._openResizeColumn = e.name, this.requestUpdate(), this.resizeOverlay.open();
1717
+ }
1718
+ renderResizePanel() {
1719
+ let e = this.resizeOverlay.portalContainer;
1720
+ if (!e) return;
1721
+ let t = this._columns.find((e) => e.name === this._openResizeColumn);
1722
+ if (!t) return;
1723
+ let n = this.mergedLabels, r = this.columnLabel(t), i = Math.round(this.currentColumnWidth(t));
1724
+ l(k`
1725
+ <div class="resize-panel" role="dialog" aria-label=${n.resizeColumnOptions(r)}>
1726
+ <div class="resize-panel-steps">
1727
+ <button
1728
+ type="button"
1729
+ class="resize-panel-step"
1730
+ aria-label=${n.narrowerColumn(r)}
1731
+ @click=${() => this.stepColumnWidth(t, -10)}
1732
+ ><span aria-hidden="true">&minus;</span></button>
1733
+ <output class="resize-panel-width">${n.columnWidth(i)}</output>
1734
+ <button
1735
+ type="button"
1736
+ class="resize-panel-step"
1737
+ aria-label=${n.widerColumn(r)}
1738
+ @click=${() => this.stepColumnWidth(t, 10)}
1739
+ ><span aria-hidden="true">+</span></button>
1740
+ </div>
1741
+ <button type="button" class="resize-panel-action" @click=${() => this.fitColumnWidth(t)}>
1742
+ ${n.fitColumn}
1743
+ </button>
1744
+ <button type="button" class="resize-panel-action" @click=${() => this.resetColumnWidth(t)}>
1745
+ ${n.resetColumn}
1746
+ </button>
1747
+ </div>
1748
+ `, e);
1749
+ }
1750
+ fitColumnWidth(e) {
1751
+ let t = this.renderRoot;
1752
+ if (!t) return;
1753
+ let n = this.headerCell(e.name), r = n?.querySelector(".header-cell > span") ?? null, i = n?.querySelector(".header-cell") ?? null, a = [...t.querySelectorAll(`tbody tr[data-row-key] > td[data-column="${e.name}"]`)], o = O([r && i && n ? F(r) + I(i) + I(n) : NaN, ...a.map((e) => F(e) + I(e))]);
1754
+ o != null && this.setUserColumnWidth(e.name, o);
1755
+ }
1756
+ resetColumnWidth(e) {
1757
+ if (this._userWidths.delete(e.name), this._userWidths.size === 0) {
1758
+ this._frozenExtraWidth = null, this._frozenWidths = /* @__PURE__ */ new Map(), this._columnWidths = new Map(this._columns.map((e) => [e.name, this._measuredWidths.get(e.name) ?? e.width]).filter((e) => typeof e[1] == "number")), this.requestUpdate(), this.refitMeasuredWidths();
1759
+ return;
1760
+ }
1761
+ let t = this._frozenWidths.get(e.name) ?? this._measuredWidths.get(e.name) ?? e.width;
1762
+ this._columnWidths = new Map(this._columnWidths), typeof t == "number" ? this._columnWidths.set(e.name, t) : this._columnWidths.delete(e.name), this.requestUpdate();
1763
+ }
1764
+ };
1765
+ function F(e) {
1766
+ let t = e.ownerDocument;
1767
+ if (typeof t.createRange != "function") return NaN;
1768
+ let n = t.createRange();
1769
+ return n.selectNodeContents(e), typeof n.getBoundingClientRect == "function" ? n.getBoundingClientRect().width : NaN;
1770
+ }
1771
+ function I(e) {
1772
+ let t = getComputedStyle(e);
1773
+ return (parseFloat(t.paddingLeft) || 0) + (parseFloat(t.paddingRight) || 0);
1774
+ }
1775
+ function L(e, t) {
1776
+ if (typeof e != "object" || !e) return "";
1777
+ let n = e[t.name];
1778
+ return n == null ? "" : String(n);
1779
+ }
1780
+ function R(e) {
1781
+ return e != null && typeof e != "string" && typeof e[Symbol.iterator] == "function";
1782
+ }
1783
+ function z(e) {
1784
+ return e == null || e === !1 ? c : (e instanceof Node || typeof e == "object" && "_$litType$" in e, e);
1785
+ }
1786
+ i("datatable", x), typeof customElements < "u" && !customElements.get("mp-datatable") && customElements.define("mp-datatable", P);
1787
+ //#endregion
1788
+ export { b as a, x as i, C as n, S as r, P as t };