@mintplayer/web-components 2.19.0 → 2.21.0

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