@mintplayer/web-components 2.19.0 → 2.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1018) 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-qkYf-N0c.mjs +1786 -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 +939 -1041
  490. package/datatable/index.mjs +1 -8
  491. package/datepicker/index.mjs +128 -215
  492. package/datetime-picker/index.mjs +1 -4
  493. package/dock/index.mjs +1871 -2471
  494. package/dropdown-menu/index.mjs +157 -601
  495. package/file-manager/index.mjs +771 -1180
  496. package/flags/index.mjs +1 -264
  497. package/index.mjs +0 -1
  498. package/input-group/index.mjs +1 -4
  499. package/light-dom/index.mjs +188 -11
  500. package/multi-range/index.mjs +233 -402
  501. package/navbar/index.mjs +224 -1010
  502. package/otp-input/index.mjs +249 -374
  503. package/overlay/index.mjs +1 -7
  504. package/package.json +1 -1
  505. package/pagination/index.mjs +1 -5
  506. package/phone-core/index.mjs +120 -8
  507. package/phone-input/index.mjs +380 -493
  508. package/query-builder/index.mjs +1502 -2277
  509. package/radio/index.mjs +1 -4
  510. package/radio-group/index.mjs +126 -144
  511. package/ribbon/index.mjs +1158 -1497
  512. package/scheduler/index.mjs +3456 -6576
  513. package/scheduler-core/index.mjs +1 -197
  514. package/select/index.mjs +1 -4
  515. package/shell/index.mjs +98 -572
  516. package/signature-pad/index.mjs +180 -207
  517. package/splitter/index.mjs +1 -10
  518. package/swiper-core/index.mjs +1 -184
  519. package/tab-control/index.mjs +1 -6
  520. package/theming/index.mjs +229 -317
  521. package/tile-manager/index.mjs +746 -899
  522. package/timeline/index.mjs +476 -754
  523. package/timeline-core/index.mjs +1 -23
  524. package/timepicker/index.mjs +1 -9
  525. package/toggle-button/index.mjs +1 -5
  526. package/tree-select/index.mjs +467 -769
  527. package/treeview/index.mjs +1 -5
  528. package/badge/src/styles/badge.styles.d.ts +0 -2
  529. package/chunks/ac-C5mj7mOe.mjs +0 -5
  530. package/chunks/ad-DuKUeTXh.mjs +0 -5
  531. package/chunks/ae-BFJrplpe.mjs +0 -5
  532. package/chunks/af-BIQlNFtj.mjs +0 -5
  533. package/chunks/ag-B9GDO0Ip.mjs +0 -5
  534. package/chunks/ai-pifHTP5K.mjs +0 -5
  535. package/chunks/al-CWQ3OuN9.mjs +0 -5
  536. package/chunks/all-flags-BtYcfgjy.mjs +0 -8
  537. package/chunks/all-flags.generated-B7Rctzuq.mjs +0 -493
  538. package/chunks/am-Do56ciQl.mjs +0 -5
  539. package/chunks/ao-Ci_fen-O.mjs +0 -5
  540. package/chunks/ar-BEZTIgF7.mjs +0 -5
  541. package/chunks/as-B29efaG_.mjs +0 -5
  542. package/chunks/at-c7xv31cV.mjs +0 -5
  543. package/chunks/attributes-L3eKsbdy.mjs +0 -16
  544. package/chunks/au-DK4ZROf6.mjs +0 -5
  545. package/chunks/aw-eEmOo-kc.mjs +0 -5
  546. package/chunks/ax-CF1cgQbd.mjs +0 -5
  547. package/chunks/az-BXPec7pf.mjs +0 -5
  548. package/chunks/ba-EoocSiX0.mjs +0 -5
  549. package/chunks/bb-BomyOgY0.mjs +0 -5
  550. package/chunks/bd-C2Y9A316.mjs +0 -5
  551. package/chunks/be-DcE56El1.mjs +0 -5
  552. package/chunks/bf-g7XzTHJG.mjs +0 -5
  553. package/chunks/bg-DAHpwJAh.mjs +0 -5
  554. package/chunks/bh-BiHF8vqO.mjs +0 -5
  555. package/chunks/bi-DVAoOy2o.mjs +0 -5
  556. package/chunks/bj-CB6I0T1J.mjs +0 -5
  557. package/chunks/bl-DhUObXcB.mjs +0 -5
  558. package/chunks/bm-d77E6A-Q.mjs +0 -5
  559. package/chunks/bn-CG1_6Vfv.mjs +0 -5
  560. package/chunks/bo-ulcQ_Lws.mjs +0 -5
  561. package/chunks/bq-wOjRpmJJ.mjs +0 -5
  562. package/chunks/br-BwQAEpKL.mjs +0 -5
  563. package/chunks/bs-Cmq3uDf9.mjs +0 -5
  564. package/chunks/bt-Cik-3ebf.mjs +0 -5
  565. package/chunks/bw-ZUkpxAL1.mjs +0 -5
  566. package/chunks/by-Dh-5h5x1.mjs +0 -5
  567. package/chunks/bz-DB0s7-5N.mjs +0 -5
  568. package/chunks/ca-Coq88_mc.mjs +0 -5
  569. package/chunks/cc-1.generated-CkRogBGA.mjs +0 -4
  570. package/chunks/cc-20.generated-DMpg7apl.mjs +0 -4
  571. package/chunks/cc-211.generated-DSnuuKPM.mjs +0 -4
  572. package/chunks/cc-212.generated-Dcg3rrip.mjs +0 -4
  573. package/chunks/cc-213.generated-DPwtGlxT.mjs +0 -4
  574. package/chunks/cc-216.generated-Cgber7dX.mjs +0 -4
  575. package/chunks/cc-218.generated-CZGwxl9D.mjs +0 -4
  576. package/chunks/cc-220.generated-CKmXmpGe.mjs +0 -4
  577. package/chunks/cc-221.generated-BYzgBejl.mjs +0 -4
  578. package/chunks/cc-222.generated-YwuXcbvd.mjs +0 -4
  579. package/chunks/cc-223.generated-9iiHnni6.mjs +0 -4
  580. package/chunks/cc-224.generated-Okty02TJ.mjs +0 -4
  581. package/chunks/cc-225.generated-CYkDnG14.mjs +0 -4
  582. package/chunks/cc-226.generated-GT_rqbCO.mjs +0 -4
  583. package/chunks/cc-227.generated-B1VkrgoB.mjs +0 -4
  584. package/chunks/cc-228.generated-Bhck-C6Z.mjs +0 -4
  585. package/chunks/cc-229.generated-aAR4PP7n.mjs +0 -4
  586. package/chunks/cc-230.generated-CG5TxZtb.mjs +0 -4
  587. package/chunks/cc-231.generated-BjYHl_BP.mjs +0 -4
  588. package/chunks/cc-232.generated-CFDyaA7o.mjs +0 -4
  589. package/chunks/cc-233.generated-ChwvrW0E.mjs +0 -4
  590. package/chunks/cc-234.generated-BIpIojaD.mjs +0 -4
  591. package/chunks/cc-235.generated-Dklizfb9.mjs +0 -4
  592. package/chunks/cc-236.generated-EJZlz23v.mjs +0 -4
  593. package/chunks/cc-237.generated-DwOapZWZ.mjs +0 -4
  594. package/chunks/cc-238.generated-BkCWtGDY.mjs +0 -4
  595. package/chunks/cc-239.generated-S_foXUit.mjs +0 -4
  596. package/chunks/cc-240.generated-CtKfcEWk.mjs +0 -4
  597. package/chunks/cc-241.generated-aAUw2QzS.mjs +0 -4
  598. package/chunks/cc-242.generated-D5jMR3KR.mjs +0 -4
  599. package/chunks/cc-243.generated-Bk5dwdUf.mjs +0 -4
  600. package/chunks/cc-244.generated-DywGvISM.mjs +0 -4
  601. package/chunks/cc-245.generated-Bm7wVXl5.mjs +0 -4
  602. package/chunks/cc-246.generated-CFSezynW.mjs +0 -4
  603. package/chunks/cc-247.generated-DKXGq8p1.mjs +0 -4
  604. package/chunks/cc-248.generated-CnI_kkbi.mjs +0 -4
  605. package/chunks/cc-249.generated-Zenj8WBl.mjs +0 -4
  606. package/chunks/cc-250.generated-140A9gFx.mjs +0 -4
  607. package/chunks/cc-251.generated-BYtVzI1w.mjs +0 -4
  608. package/chunks/cc-252.generated-C9By3_Ih.mjs +0 -4
  609. package/chunks/cc-253.generated-DZIADgzo.mjs +0 -4
  610. package/chunks/cc-254.generated-Bkb5VbuX.mjs +0 -4
  611. package/chunks/cc-255.generated-U_k4UlnG.mjs +0 -4
  612. package/chunks/cc-256.generated-BBGMRLJL.mjs +0 -4
  613. package/chunks/cc-257.generated-2Jiadm-X.mjs +0 -4
  614. package/chunks/cc-258.generated-CSHZFQtI.mjs +0 -4
  615. package/chunks/cc-260.generated-CWgOLjv4.mjs +0 -4
  616. package/chunks/cc-261.generated-DzpnYK1v.mjs +0 -4
  617. package/chunks/cc-262.generated-uZY0cJ08.mjs +0 -4
  618. package/chunks/cc-263.generated-D2QbPttm.mjs +0 -4
  619. package/chunks/cc-264.generated-DhUT_yRg.mjs +0 -4
  620. package/chunks/cc-265.generated-BKIU4vGv.mjs +0 -4
  621. package/chunks/cc-266.generated-O_zgqaDo.mjs +0 -4
  622. package/chunks/cc-267.generated-DpLBLCK1.mjs +0 -4
  623. package/chunks/cc-268.generated-B9Y4LS_4.mjs +0 -4
  624. package/chunks/cc-269.generated-DPQ0A8VW.mjs +0 -4
  625. package/chunks/cc-27.generated-BxeFhsuD.mjs +0 -4
  626. package/chunks/cc-290.generated-DGy2isg7.mjs +0 -4
  627. package/chunks/cc-291.generated-C4LSfffl.mjs +0 -4
  628. package/chunks/cc-297.generated-4k_1JOUj.mjs +0 -4
  629. package/chunks/cc-298.generated-A2xB0PKR.mjs +0 -4
  630. package/chunks/cc-299.generated-BwDC9B1N.mjs +0 -4
  631. package/chunks/cc-30.generated-JhyYglqU.mjs +0 -4
  632. package/chunks/cc-31.generated-5GOCJzfN.mjs +0 -4
  633. package/chunks/cc-32.generated-CpVvykA2.mjs +0 -4
  634. package/chunks/cc-33.generated-BDzHxbR_.mjs +0 -4
  635. package/chunks/cc-34.generated-P3nQfhBw.mjs +0 -4
  636. package/chunks/cc-350.generated-BGl8hYsP.mjs +0 -4
  637. package/chunks/cc-351.generated-pJBouwSG.mjs +0 -4
  638. package/chunks/cc-352.generated-8_NbdAx6.mjs +0 -4
  639. package/chunks/cc-353.generated-Cfz2tBdq.mjs +0 -4
  640. package/chunks/cc-354.generated-CEgaa6qB.mjs +0 -4
  641. package/chunks/cc-355.generated-DGZ-kJ0i.mjs +0 -4
  642. package/chunks/cc-356.generated-BZqLs86A.mjs +0 -4
  643. package/chunks/cc-357.generated-CfCB5cHL.mjs +0 -4
  644. package/chunks/cc-358.generated-wL2JzNDk.mjs +0 -4
  645. package/chunks/cc-359.generated-BxJe3xGt.mjs +0 -4
  646. package/chunks/cc-36.generated-CJdA4Rvi.mjs +0 -4
  647. package/chunks/cc-370.generated-B6SpL74q.mjs +0 -4
  648. package/chunks/cc-371.generated-Cx6lrGG9.mjs +0 -4
  649. package/chunks/cc-372.generated-Ckc30SHu.mjs +0 -4
  650. package/chunks/cc-373.generated-BK0ypz55.mjs +0 -4
  651. package/chunks/cc-374.generated-B51ogwAh.mjs +0 -4
  652. package/chunks/cc-375.generated-CMbmbMav.mjs +0 -4
  653. package/chunks/cc-376.generated-DZngLeqA.mjs +0 -4
  654. package/chunks/cc-377.generated-BYuCOf7K.mjs +0 -4
  655. package/chunks/cc-378.generated-CuNlUjOw.mjs +0 -4
  656. package/chunks/cc-380.generated-A2e4FwA4.mjs +0 -4
  657. package/chunks/cc-381.generated-Cvwf7aDo.mjs +0 -4
  658. package/chunks/cc-382.generated-B-x4jIQ_.mjs +0 -4
  659. package/chunks/cc-383.generated-B6E63WN4.mjs +0 -4
  660. package/chunks/cc-385.generated-CbYlsCsW.mjs +0 -4
  661. package/chunks/cc-386.generated-BUSyzthQ.mjs +0 -4
  662. package/chunks/cc-387.generated-IhkhnsGu.mjs +0 -4
  663. package/chunks/cc-389.generated-SNuHIdqu.mjs +0 -4
  664. package/chunks/cc-39.generated-BGZK1sVL.mjs +0 -4
  665. package/chunks/cc-40.generated-Bo8WnsNc.mjs +0 -4
  666. package/chunks/cc-41.generated-CG0098r3.mjs +0 -4
  667. package/chunks/cc-420.generated-C59jh2M8.mjs +0 -4
  668. package/chunks/cc-421.generated-BhxO-pTK.mjs +0 -4
  669. package/chunks/cc-423.generated-B4UJk2xr.mjs +0 -4
  670. package/chunks/cc-43.generated-BIdhhcvA.mjs +0 -4
  671. package/chunks/cc-44.generated-BfeK0wEP.mjs +0 -4
  672. package/chunks/cc-45.generated-BEJCwF4o.mjs +0 -4
  673. package/chunks/cc-46.generated-DeEMtTcI.mjs +0 -4
  674. package/chunks/cc-47.generated-DQy2Xk_0.mjs +0 -4
  675. package/chunks/cc-48.generated-C4yA7R1Q.mjs +0 -4
  676. package/chunks/cc-49.generated-a02djmT4.mjs +0 -4
  677. package/chunks/cc-500.generated-glAZ4AUe.mjs +0 -4
  678. package/chunks/cc-501.generated-D-GCAbI8.mjs +0 -4
  679. package/chunks/cc-502.generated-Co-n0usI.mjs +0 -4
  680. package/chunks/cc-503.generated-BM58qC_M.mjs +0 -4
  681. package/chunks/cc-504.generated-cTtfXvjR.mjs +0 -4
  682. package/chunks/cc-505.generated-DLSKmmzY.mjs +0 -4
  683. package/chunks/cc-506.generated-BMyMgwgZ.mjs +0 -4
  684. package/chunks/cc-507.generated-DWOdIJMd.mjs +0 -4
  685. package/chunks/cc-508.generated-DN3D0FwY.mjs +0 -4
  686. package/chunks/cc-509.generated-D-jyniz5.mjs +0 -4
  687. package/chunks/cc-51.generated-Bjy1G3kG.mjs +0 -4
  688. package/chunks/cc-52.generated-CDeO-q1n.mjs +0 -4
  689. package/chunks/cc-53.generated-Bg_ETBvx.mjs +0 -4
  690. package/chunks/cc-54.generated-BCfSFUZP.mjs +0 -4
  691. package/chunks/cc-55.generated-C1iLoSl1.mjs +0 -4
  692. package/chunks/cc-56.generated-ChgDDlud.mjs +0 -4
  693. package/chunks/cc-57.generated-qfDFimii.mjs +0 -4
  694. package/chunks/cc-58.generated-Cl6DzTam.mjs +0 -4
  695. package/chunks/cc-590.generated-DhG2cP7S.mjs +0 -4
  696. package/chunks/cc-591.generated-CjxsaggL.mjs +0 -4
  697. package/chunks/cc-592.generated-DnF2AtPs.mjs +0 -4
  698. package/chunks/cc-593.generated-J4b4KU_z.mjs +0 -4
  699. package/chunks/cc-594.generated-BDqHqvBX.mjs +0 -4
  700. package/chunks/cc-595.generated-Di23-NWq.mjs +0 -4
  701. package/chunks/cc-596.generated-B92oLPvz.mjs +0 -4
  702. package/chunks/cc-597.generated-pdvIpWWG.mjs +0 -4
  703. package/chunks/cc-598.generated-C9i6NuuS.mjs +0 -4
  704. package/chunks/cc-599.generated-Cot_Tjya.mjs +0 -4
  705. package/chunks/cc-60.generated-Dt21L5ED.mjs +0 -4
  706. package/chunks/cc-61.generated-CsF19uOz.mjs +0 -4
  707. package/chunks/cc-62.generated-CXe9l8jN.mjs +0 -4
  708. package/chunks/cc-63.generated-CyxqKEMz.mjs +0 -4
  709. package/chunks/cc-64.generated-B1U2VUWE.mjs +0 -4
  710. package/chunks/cc-65.generated-BqB9SL91.mjs +0 -4
  711. package/chunks/cc-66.generated-DSW4cKRJ.mjs +0 -4
  712. package/chunks/cc-670.generated-B5lMBLIA.mjs +0 -4
  713. package/chunks/cc-672.generated-rtLnRViR.mjs +0 -4
  714. package/chunks/cc-673.generated-CCfKxiHb.mjs +0 -4
  715. package/chunks/cc-674.generated-DqEenJAu.mjs +0 -4
  716. package/chunks/cc-675.generated-CDZsNVmA.mjs +0 -4
  717. package/chunks/cc-676.generated-CtuzuSpR.mjs +0 -4
  718. package/chunks/cc-677.generated-B6Vdcheb.mjs +0 -4
  719. package/chunks/cc-678.generated-Bu-wQLCv.mjs +0 -4
  720. package/chunks/cc-679.generated-C_vQNfa9.mjs +0 -4
  721. package/chunks/cc-680.generated-DgD0sTpR.mjs +0 -4
  722. package/chunks/cc-681.generated-CgCDLpTf.mjs +0 -4
  723. package/chunks/cc-682.generated-BBdb0LCA.mjs +0 -4
  724. package/chunks/cc-683.generated-BYq9qGSN.mjs +0 -4
  725. package/chunks/cc-685.generated-BeVt0xOD.mjs +0 -4
  726. package/chunks/cc-686.generated-DSuHUyGC.mjs +0 -4
  727. package/chunks/cc-687.generated-CAYCkQGn.mjs +0 -4
  728. package/chunks/cc-688.generated-BxoYuhyI.mjs +0 -4
  729. package/chunks/cc-689.generated-D1LJPuEc.mjs +0 -4
  730. package/chunks/cc-690.generated-wBJlIR_d.mjs +0 -4
  731. package/chunks/cc-691.generated-D3313DJE.mjs +0 -4
  732. package/chunks/cc-692.generated-BjRLK6LH.mjs +0 -4
  733. package/chunks/cc-7.generated-Be8Per3z.mjs +0 -4
  734. package/chunks/cc-81.generated-Bfr_1Ik4.mjs +0 -4
  735. package/chunks/cc-82.generated-CXvQgAj0.mjs +0 -4
  736. package/chunks/cc-84.generated-DsMrssxQ.mjs +0 -4
  737. package/chunks/cc-850.generated-B6dMNsJB.mjs +0 -4
  738. package/chunks/cc-852.generated-DoLs1jmz.mjs +0 -4
  739. package/chunks/cc-853.generated-C9J4qDF6.mjs +0 -4
  740. package/chunks/cc-855.generated-rriF89dH.mjs +0 -4
  741. package/chunks/cc-856.generated-DWMBTBFS.mjs +0 -4
  742. package/chunks/cc-86.generated-C8Ob3yVb.mjs +0 -4
  743. package/chunks/cc-880.generated-gteZx8SL.mjs +0 -4
  744. package/chunks/cc-886.generated-QyIDP1_q.mjs +0 -4
  745. package/chunks/cc-90.generated-DSXR50SV.mjs +0 -4
  746. package/chunks/cc-91.generated-C_cDq0Xp.mjs +0 -4
  747. package/chunks/cc-92.generated-Cxd7f_QX.mjs +0 -4
  748. package/chunks/cc-93.generated-Cyqo0e91.mjs +0 -4
  749. package/chunks/cc-94.generated-EsnmfbnH.mjs +0 -4
  750. package/chunks/cc-95.generated-D_8p55mp.mjs +0 -4
  751. package/chunks/cc-960.generated-DletKApH.mjs +0 -4
  752. package/chunks/cc-961.generated-CXVHoWFk.mjs +0 -4
  753. package/chunks/cc-962.generated-B7EPSakT.mjs +0 -4
  754. package/chunks/cc-963.generated-D71Y75mr.mjs +0 -4
  755. package/chunks/cc-964.generated-B8-RYrVD.mjs +0 -4
  756. package/chunks/cc-965.generated-tesjPkaP.mjs +0 -4
  757. package/chunks/cc-966.generated-CkCCmcR2.mjs +0 -4
  758. package/chunks/cc-967.generated-Bz1kG3rR.mjs +0 -4
  759. package/chunks/cc-968.generated-B8izDjLu.mjs +0 -4
  760. package/chunks/cc-970.generated-CKTkdIET.mjs +0 -4
  761. package/chunks/cc-971.generated-Wzj17K10.mjs +0 -4
  762. package/chunks/cc-972.generated-CJO02ZmJ.mjs +0 -4
  763. package/chunks/cc-973.generated-CL9ZE2Of.mjs +0 -4
  764. package/chunks/cc-974.generated-ZkYqGi9L.mjs +0 -4
  765. package/chunks/cc-975.generated-DP2Teiuc.mjs +0 -4
  766. package/chunks/cc-976.generated-GGNMRuFQ.mjs +0 -4
  767. package/chunks/cc-977.generated-KwvwlHUw.mjs +0 -4
  768. package/chunks/cc-98.generated-DW-Wj2k5.mjs +0 -4
  769. package/chunks/cc-992.generated-NRREmly7.mjs +0 -4
  770. package/chunks/cc-993.generated-BNlup4k-.mjs +0 -4
  771. package/chunks/cc-994.generated-BUD4e8ho.mjs +0 -4
  772. package/chunks/cc-995.generated-8P4TnVbi.mjs +0 -4
  773. package/chunks/cc-996.generated-CKCe7foO.mjs +0 -4
  774. package/chunks/cc-998.generated-CsAmnJYd.mjs +0 -4
  775. package/chunks/cc-BZdCRpNT.mjs +0 -5
  776. package/chunks/cd-9O28tBfy.mjs +0 -5
  777. package/chunks/cf-BdhmyWlv.mjs +0 -5
  778. package/chunks/cg-C-Qu4NMU.mjs +0 -5
  779. package/chunks/ch-A1RQVYLO.mjs +0 -5
  780. package/chunks/ci-DZY7fgO7.mjs +0 -5
  781. package/chunks/ck-D-2C9a72.mjs +0 -5
  782. package/chunks/cl-3HNgrmyT.mjs +0 -5
  783. package/chunks/cm-DJ4mixO9.mjs +0 -5
  784. package/chunks/cn-Cw6Qlqzd.mjs +0 -5
  785. package/chunks/co-B6rvgyRo.mjs +0 -5
  786. package/chunks/color-mode-warning-71FmlzWX.mjs +0 -13
  787. package/chunks/cr-jJzoBrc7.mjs +0 -5
  788. package/chunks/cu-BRzz3vV_.mjs +0 -5
  789. package/chunks/cv-BzZilEMp.mjs +0 -5
  790. package/chunks/cw-5PnLdxCt.mjs +0 -5
  791. package/chunks/cx-C0sAUlCS.mjs +0 -5
  792. package/chunks/cy-DeC9FFGV.mjs +0 -5
  793. package/chunks/cz-C3rh8aUO.mjs +0 -5
  794. package/chunks/de-Q2c2XZ_v.mjs +0 -5
  795. package/chunks/dj-DWAmmYDE.mjs +0 -5
  796. package/chunks/dk-FTaySAJe.mjs +0 -5
  797. package/chunks/dm-DgSJioJq.mjs +0 -5
  798. package/chunks/do-C549n3on.mjs +0 -5
  799. package/chunks/dz-CPgKocaY.mjs +0 -5
  800. package/chunks/ec-DkC-cDOb.mjs +0 -5
  801. package/chunks/ee-BQmFOHXA.mjs +0 -5
  802. package/chunks/eg-DMVarwMR.mjs +0 -5
  803. package/chunks/eh--oxmiCXh.mjs +0 -5
  804. package/chunks/er-DjB_DDiD.mjs +0 -5
  805. package/chunks/error-text-B45eDAt1.mjs +0 -17
  806. package/chunks/es-D__9e8wL.mjs +0 -5
  807. package/chunks/et-C3reU7Z2.mjs +0 -5
  808. package/chunks/fi-C1K0Kh4o.mjs +0 -5
  809. package/chunks/fj-Cs7ECsE1.mjs +0 -5
  810. package/chunks/fk-DYEJDgjs.mjs +0 -5
  811. package/chunks/fm-C7r_OFnj.mjs +0 -5
  812. package/chunks/fo-DsT-wW0Q.mjs +0 -5
  813. package/chunks/focus-restore-DxuP1Oe2.mjs +0 -94
  814. package/chunks/focus-trap-DTOLJ5bb.mjs +0 -121
  815. package/chunks/form-associated-BR-fUvZ1.mjs +0 -43
  816. package/chunks/form-check.styles-DqvBnspm.mjs +0 -172
  817. package/chunks/form-control.styles-C3j87Sn3.mjs +0 -171
  818. package/chunks/fr-oy8Uo1bo.mjs +0 -5
  819. package/chunks/ga-DESElBvk.mjs +0 -5
  820. package/chunks/gb-D5r9QI-K.mjs +0 -5
  821. package/chunks/gd-BuRviRXt.mjs +0 -5
  822. package/chunks/ge-BpGz5nUs.mjs +0 -5
  823. package/chunks/gf-BQgWe_yS.mjs +0 -5
  824. package/chunks/gg-BLNQrqls.mjs +0 -5
  825. package/chunks/gh-BzVF8tSr.mjs +0 -5
  826. package/chunks/gi-DfKOJdRQ.mjs +0 -5
  827. package/chunks/gl-C558Toee.mjs +0 -5
  828. package/chunks/gm-DNdinxnD.mjs +0 -5
  829. package/chunks/gn-DwEBOZ3-.mjs +0 -5
  830. package/chunks/gp-oy8Uo1bo.mjs +0 -5
  831. package/chunks/gq-BSkOSQWe.mjs +0 -5
  832. package/chunks/gr-CTJJbGEC.mjs +0 -5
  833. package/chunks/gt-D4BwgazI.mjs +0 -5
  834. package/chunks/gu-CQpMzEB_.mjs +0 -5
  835. package/chunks/gw-DxZDYMtv.mjs +0 -5
  836. package/chunks/gy-BWZVUGl8.mjs +0 -5
  837. package/chunks/hk-BHxjZMf4.mjs +0 -5
  838. package/chunks/hn-BEVgQ0QQ.mjs +0 -5
  839. package/chunks/host-aria-WSGs7SPQ.mjs +0 -152
  840. package/chunks/hr-BpVWlAoF.mjs +0 -5
  841. package/chunks/ht-CfzU-07O.mjs +0 -5
  842. package/chunks/hu-5Yy5WRy5.mjs +0 -5
  843. package/chunks/id-BfVg05v7.mjs +0 -5
  844. package/chunks/ie-DvpkJVl8.mjs +0 -5
  845. package/chunks/il-DDofIlI0.mjs +0 -5
  846. package/chunks/im-CW65ei4K.mjs +0 -5
  847. package/chunks/in-i60GVnCJ.mjs +0 -5
  848. package/chunks/inert-regions-DXCnn1LN.mjs +0 -48
  849. package/chunks/install-light-styles-DbCAGFOC.mjs +0 -209
  850. package/chunks/invalid-feedback.styles-he0JYrJm.mjs +0 -11
  851. package/chunks/io-Diyu5soM.mjs +0 -5
  852. package/chunks/iq-B74bFnMJ.mjs +0 -5
  853. package/chunks/ir-BWGwwJq9.mjs +0 -5
  854. package/chunks/is-CK4oIk76.mjs +0 -5
  855. package/chunks/it-Y7rj3hMY.mjs +0 -5
  856. package/chunks/je-DMoX3evy.mjs +0 -5
  857. package/chunks/jm-DZUStFkR.mjs +0 -5
  858. package/chunks/jo-DVQ6-ojE.mjs +0 -5
  859. package/chunks/jp-Y5R0MQfN.mjs +0 -5
  860. package/chunks/ke-CGq6XP7w.mjs +0 -5
  861. package/chunks/kg-DAoQwbeR.mjs +0 -5
  862. package/chunks/kh-kMI7MghQ.mjs +0 -5
  863. package/chunks/ki-Cu7fdPLn.mjs +0 -5
  864. package/chunks/km-CM7URKBO.mjs +0 -5
  865. package/chunks/kn-DBVGPz8w.mjs +0 -5
  866. package/chunks/kp-D3Ea15h2.mjs +0 -5
  867. package/chunks/kr-DKM0Jy7P.mjs +0 -5
  868. package/chunks/kw-B7J-nbX9.mjs +0 -5
  869. package/chunks/ky-p4ckNq_W.mjs +0 -5
  870. package/chunks/kz-D936idA9.mjs +0 -5
  871. package/chunks/la-CUKVKbGp.mjs +0 -5
  872. package/chunks/lb-CzUWz90e.mjs +0 -5
  873. package/chunks/lc-DuHqL5FW.mjs +0 -5
  874. package/chunks/li-DgJDzs_F.mjs +0 -5
  875. package/chunks/live-announcer-Bi0orG4n.mjs +0 -58
  876. package/chunks/lk-3zaagaQ9.mjs +0 -5
  877. package/chunks/lr-B6Vn6C_9.mjs +0 -5
  878. package/chunks/ls-DrI0Fh7Y.mjs +0 -5
  879. package/chunks/lt-PBck9Sgv.mjs +0 -5
  880. package/chunks/lu-B_xY22fB.mjs +0 -5
  881. package/chunks/lv-D16yLm3v.mjs +0 -5
  882. package/chunks/ly-C1adX4Zr.mjs +0 -5
  883. package/chunks/ma-B7rH3zoW.mjs +0 -5
  884. package/chunks/mc-Xqh4jc6i.mjs +0 -5
  885. package/chunks/md-wW4zZzbN.mjs +0 -5
  886. package/chunks/me-DCy_XMtC.mjs +0 -5
  887. package/chunks/metadata-loaders.generated-Bu_7pFwU.mjs +0 -250
  888. package/chunks/mf-DP_tIA6i.mjs +0 -5
  889. package/chunks/mg-InflpHX7.mjs +0 -5
  890. package/chunks/mh-VKf434Ww.mjs +0 -5
  891. package/chunks/mk-C64VS9I-.mjs +0 -5
  892. package/chunks/ml-BjOQYgou.mjs +0 -5
  893. package/chunks/mm-DgKeX7WQ.mjs +0 -5
  894. package/chunks/mn-BBubqCvd.mjs +0 -5
  895. package/chunks/mo-BtY-l2cE.mjs +0 -5
  896. package/chunks/mp-DlkcjH8B.mjs +0 -5
  897. package/chunks/mp-calendar.element-BIHS9SZZ.mjs +0 -433
  898. package/chunks/mp-checkbox-zV83gILn.mjs +0 -321
  899. package/chunks/mp-datatable-BeKunRfd.mjs +0 -2884
  900. package/chunks/mp-datetime-picker.element-Cxu5-qRE.mjs +0 -527
  901. package/chunks/mp-input-group-CQ55efCq.mjs +0 -206
  902. package/chunks/mp-pagination-hGy4dL7p.mjs +0 -334
  903. package/chunks/mp-radio-BhRVNdKp.mjs +0 -304
  904. package/chunks/mp-select-CgqYFvUj.mjs +0 -537
  905. package/chunks/mp-splitter-DLehrw3Y.mjs +0 -678
  906. package/chunks/mp-tab-page-CaCzX1ym.mjs +0 -415
  907. package/chunks/mp-timepicker.element-BiB9lkgc.mjs +0 -452
  908. package/chunks/mp-toggle-button-CaS9uYLE.mjs +0 -631
  909. package/chunks/mp-treeview-CaMTDrvY.mjs +0 -497
  910. package/chunks/mq-BK7HwZSV.mjs +0 -5
  911. package/chunks/mr-C0S-6dqR.mjs +0 -5
  912. package/chunks/ms-DpwSSTE-.mjs +0 -5
  913. package/chunks/mt-B1ie-04J.mjs +0 -5
  914. package/chunks/mu-DTA25SEP.mjs +0 -5
  915. package/chunks/mv-DW49amZl.mjs +0 -5
  916. package/chunks/mw-V-bbqGPN.mjs +0 -5
  917. package/chunks/mx-CtTJw0SX.mjs +0 -5
  918. package/chunks/my-DThIQKCq.mjs +0 -5
  919. package/chunks/mz-Btgk8Li_.mjs +0 -5
  920. package/chunks/na-D08-xA7q.mjs +0 -5
  921. package/chunks/nc-hb1s2KqL.mjs +0 -5
  922. package/chunks/ne-B5vEjeNk.mjs +0 -5
  923. package/chunks/nf-DDFUS5Ht.mjs +0 -5
  924. package/chunks/ng-DBhdmXcS.mjs +0 -5
  925. package/chunks/ni-_x4RKVT8.mjs +0 -5
  926. package/chunks/nl-DBxW_qVy.mjs +0 -5
  927. package/chunks/no-LyFCuMlU.mjs +0 -5
  928. package/chunks/np-DEvIQAys.mjs +0 -5
  929. package/chunks/nr-CuzElmFx.mjs +0 -5
  930. package/chunks/nu-C6vVHkwP.mjs +0 -5
  931. package/chunks/nz-BkhNYKha.mjs +0 -5
  932. package/chunks/om-BsI3oHrd.mjs +0 -5
  933. package/chunks/overlay-controller-BHDagokg.mjs +0 -389
  934. package/chunks/pa-CtNQVaHE.mjs +0 -5
  935. package/chunks/pe-vcSV6ioD.mjs +0 -5
  936. package/chunks/pf-BOetDvnB.mjs +0 -5
  937. package/chunks/pg-BDqa4YXR.mjs +0 -5
  938. package/chunks/ph-BlAaFzEE.mjs +0 -5
  939. package/chunks/pk-2auAZIDh.mjs +0 -5
  940. package/chunks/pl-W6WZfuq9.mjs +0 -5
  941. package/chunks/pm-oy8Uo1bo.mjs +0 -5
  942. package/chunks/pr-B3p98s5J.mjs +0 -5
  943. package/chunks/ps-RET8kTuo.mjs +0 -5
  944. package/chunks/pt-Z2yfZJAz.mjs +0 -5
  945. package/chunks/pw-Dm4Y4noS.mjs +0 -5
  946. package/chunks/py-1pKD7w9y.mjs +0 -5
  947. package/chunks/qa-DpK5_Q-a.mjs +0 -5
  948. package/chunks/re-oy8Uo1bo.mjs +0 -5
  949. package/chunks/resource.service--lqLwEqk.mjs +0 -1008
  950. package/chunks/ro-VYde6hop.mjs +0 -5
  951. package/chunks/roving-focus-CrL9982a.mjs +0 -129
  952. package/chunks/rs-Dj7Wicw9.mjs +0 -5
  953. package/chunks/ru-CkWEkuTy.mjs +0 -5
  954. package/chunks/rw-DjRHPIJ_.mjs +0 -5
  955. package/chunks/sa-BBdaW-_G.mjs +0 -5
  956. package/chunks/sb-nNr9S0gd.mjs +0 -5
  957. package/chunks/sc-DcbShXuj.mjs +0 -5
  958. package/chunks/scale-B0bRUdc7.mjs +0 -91
  959. package/chunks/sd-B1jbITc6.mjs +0 -5
  960. package/chunks/se-B-CIMrxu.mjs +0 -5
  961. package/chunks/sg-BIR0OErL.mjs +0 -5
  962. package/chunks/sh-BR9c9S8h.mjs +0 -5
  963. package/chunks/si-B5HzM3z8.mjs +0 -5
  964. package/chunks/sj-LyFCuMlU.mjs +0 -5
  965. package/chunks/sk-7ZEImIK5.mjs +0 -5
  966. package/chunks/sl-DuhHodH6.mjs +0 -5
  967. package/chunks/sm-BrM5UOOM.mjs +0 -5
  968. package/chunks/sn-jptojE_-.mjs +0 -5
  969. package/chunks/so-auBJUCeE.mjs +0 -5
  970. package/chunks/sr-DqWWIG11.mjs +0 -5
  971. package/chunks/ss-BcJF0rd5.mjs +0 -5
  972. package/chunks/st-D65H7-IP.mjs +0 -5
  973. package/chunks/sv-D8EgdK15.mjs +0 -5
  974. package/chunks/sx-Cmd53qC5.mjs +0 -5
  975. package/chunks/sy-LL8b7cLC.mjs +0 -5
  976. package/chunks/sz-D-qYq589.mjs +0 -5
  977. package/chunks/tc-AIE9LFuJ.mjs +0 -5
  978. package/chunks/td-C5AP4EiN.mjs +0 -5
  979. package/chunks/tg-Dt9WAF7L.mjs +0 -5
  980. package/chunks/th-DyfDlw-o.mjs +0 -5
  981. package/chunks/tj-U7xsGAAg.mjs +0 -5
  982. package/chunks/tk-BWjKruB4.mjs +0 -5
  983. package/chunks/tl-CcXsJf98.mjs +0 -5
  984. package/chunks/tm-DTASSSkf.mjs +0 -5
  985. package/chunks/tn-DttZvPz0.mjs +0 -5
  986. package/chunks/to-ChsX5Z4Q.mjs +0 -5
  987. package/chunks/tr-C2CRhai0.mjs +0 -5
  988. package/chunks/tt-DPpP-HbL.mjs +0 -5
  989. package/chunks/tv-CiTLokZi.mjs +0 -5
  990. package/chunks/tw--J7h_fxf.mjs +0 -5
  991. package/chunks/tz-qS3mKSkx.mjs +0 -5
  992. package/chunks/ua-DiZstskV.mjs +0 -5
  993. package/chunks/ug-BxVGZUby.mjs +0 -5
  994. package/chunks/us-BvyIwpav.mjs +0 -5
  995. package/chunks/uy-Dsr4HSrP.mjs +0 -5
  996. package/chunks/uz-D25kmTp8.mjs +0 -5
  997. package/chunks/va-hG27DTVe.mjs +0 -5
  998. package/chunks/validation-ChktfuxI.mjs +0 -137
  999. package/chunks/vc-7r46jyD5.mjs +0 -5
  1000. package/chunks/ve-R8UkJHAj.mjs +0 -5
  1001. package/chunks/vg-BLSugSwb.mjs +0 -5
  1002. package/chunks/vi-DSyJsPSD.mjs +0 -5
  1003. package/chunks/view-window-DGvFiDnW.mjs +0 -263
  1004. package/chunks/vn-BwGpRkWs.mjs +0 -5
  1005. package/chunks/vu-aFyzktTY.mjs +0 -5
  1006. package/chunks/wf-Ca9RrMIP.mjs +0 -5
  1007. package/chunks/ws-DphODgja.mjs +0 -5
  1008. package/chunks/xk-sugAykhS.mjs +0 -5
  1009. package/chunks/ye-D2MZq-93.mjs +0 -5
  1010. package/chunks/yt-tAecYEDU.mjs +0 -5
  1011. package/chunks/za-DadXcfMa.mjs +0 -5
  1012. package/chunks/zm--rp7ufAJ.mjs +0 -5
  1013. package/chunks/zw-BG5nNe2I.mjs +0 -5
  1014. package/query-builder/src/mp-query-builder.element.template.d.ts +0 -2
  1015. package/query-builder/src/mp-query-group.element.template.d.ts +0 -2
  1016. package/query-builder/src/mp-query-subquery.element.template.d.ts +0 -2
  1017. package/tree-select/src/styles/tree-select.styles.d.ts +0 -2
  1018. package/treeview/src/styles/treeview.styles.d.ts +0 -2
package/ribbon/index.mjs CHANGED
@@ -1,177 +1,78 @@
1
- import { LitElement as v, css as f, nothing as E, html as d } from "lit";
2
- import { property as b, state as z, query as F } from "lit/decorators.js";
3
- import { L as se } from "../chunks/live-announcer-Bi0orG4n.mjs";
4
- import { O as B } from "../chunks/overlay-controller-BHDagokg.mjs";
5
- const V = "#262626", be = "#FFFFFF";
6
- function ae(s) {
7
- const e = s.trim().replace(/^#/, "");
8
- return /^[0-9a-f]+$/i.test(e) ? e.length === 3 || e.length === 4 ? [...e.slice(0, 3)].map((i) => i + i).join("") : e.length === 6 || e.length === 8 ? e.slice(0, 6) : null : null;
1
+ import { y as e } from "../chunks/a11y-C6aX-lsZ.mjs";
2
+ import { t } from "../chunks/decorate-_3lQte5d.mjs";
3
+ import { t as n } from "../chunks/overlay-kT0nfzL-.mjs";
4
+ import { LitElement as r, css as i, html as a, nothing as o } from "lit";
5
+ import { property as s, query as c, state as l } from "lit/decorators.js";
6
+ //#region libs/mintplayer-web-components/ribbon/src/core/band-text-color.ts
7
+ var u = "#262626", d = "#FFFFFF";
8
+ function f(e) {
9
+ let t = e.trim().replace(/^#/, "");
10
+ return /^[0-9a-f]+$/i.test(t) ? t.length === 3 || t.length === 4 ? [...t.slice(0, 3)].map((e) => e + e).join("") : t.length === 6 || t.length === 8 ? t.slice(0, 6) : null : null;
9
11
  }
10
- function le(s) {
11
- const e = ae(s);
12
- if (!e) return V;
13
- const [i, r, t] = [0, 2, 4].map((n) => parseInt(e.slice(n, n + 2), 16) / 255);
14
- return 0.2126 * i + 0.7152 * r + 0.0722 * t >= 0.6 ? V : be;
12
+ function p(e) {
13
+ let t = f(e);
14
+ if (!t) return u;
15
+ let [n, r, i] = [
16
+ 0,
17
+ 2,
18
+ 4
19
+ ].map((e) => parseInt(t.slice(e, e + 2), 16) / 255);
20
+ return .2126 * n + .7152 * r + .0722 * i >= .6 ? u : d;
15
21
  }
16
- const de = "123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0", Q = (s) => /[A-Z]/.test(s), ce = (s) => "AEIOU".includes(s);
17
- function _(s, e, i) {
18
- const r = [...(s ?? "").toUpperCase()], t = r.slice(0, 1).filter((p) => /[A-Z0-9]/.test(p)), o = r.slice(1).filter((p) => Q(p) && !ce(p)), n = r.filter(Q), l = (e ? [e.toUpperCase().slice(0, 1)] : [...t, ...o, ...n, ...de].filter((p) => !i.has(p)))[0] ?? "?";
19
- return l !== "?" && i.add(l), l;
22
+ //#endregion
23
+ //#region libs/mintplayer-web-components/ribbon/src/core/key-tip-allocator.ts
24
+ var m = "123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0", h = (e) => /[A-Z]/.test(e), g = (e) => "AEIOU".includes(e);
25
+ function _(e, t, n) {
26
+ let r = [...(e ?? "").toUpperCase()], i = r.slice(0, 1).filter((e) => /[A-Z0-9]/.test(e)), a = r.slice(1).filter((e) => h(e) && !g(e)), o = r.filter(h), s = (t ? [t.toUpperCase().slice(0, 1)] : [
27
+ ...i,
28
+ ...a,
29
+ ...o,
30
+ ...m
31
+ ].filter((e) => !n.has(e)))[0] ?? "?";
32
+ return s !== "?" && n.add(s), s;
20
33
  }
21
- const P = 8;
22
- function G(s, e) {
23
- return s.reduce((i, r, t) => i + r + (t > 0 ? e : 0), 0);
34
+ function v(e, t) {
35
+ return e.reduce((e, n, r) => e + n + (r > 0 ? t : 0), 0);
24
36
  }
25
- function pe(s) {
26
- return s.reduce(
27
- (e, i, r) => i.collapsed || !i.autoScale ? e : e === -1 || i.priority <= s[e].priority ? r : e,
28
- -1
29
- );
37
+ function y(e) {
38
+ return e.reduce((t, n, r) => n.collapsed || !n.autoScale ? t : t === -1 || n.priority <= e[t].priority ? r : t, -1);
30
39
  }
31
- function ue(s) {
32
- return s.reduce(
33
- (e, i, r) => i.collapsed && (e === -1 || i.priority > s[e].priority) ? r : e,
34
- -1
35
- );
40
+ function b(e) {
41
+ return e.reduce((t, n, r) => n.collapsed && (t === -1 || n.priority > e[t].priority) ? r : t, -1);
36
42
  }
37
- function he(s) {
38
- const { available: e, gap: i, groups: r } = s, t = G(
39
- r.map((o) => o.width),
40
- i
41
- );
42
- if (t > e) {
43
- const o = pe(r);
44
- return o === -1 ? null : { action: "collapse", index: o };
45
- }
46
- if (t < e) {
47
- const o = ue(r);
48
- return o === -1 || t + (r[o].naturalWidth - r[o].width) > e ? null : { action: "expand", index: o };
49
- }
50
- return null;
43
+ function x(e) {
44
+ let { available: t, gap: n, groups: r } = e, i = v(r.map((e) => e.width), n);
45
+ if (i > t) {
46
+ let e = y(r);
47
+ return e === -1 ? null : {
48
+ action: "collapse",
49
+ index: e
50
+ };
51
+ }
52
+ if (i < t) {
53
+ let e = b(r);
54
+ return e === -1 || i + (r[e].naturalWidth - r[e].width) > t ? null : {
55
+ action: "expand",
56
+ index: e
57
+ };
58
+ }
59
+ return null;
51
60
  }
52
- const fe = 40;
53
- function ge(s, e) {
54
- const i = e - fe, r = s.findIndex(
55
- (t, o) => G(s.slice(0, o + 1), P) > i
56
- );
57
- return r === -1 ? s.length : r;
61
+ function S(e, t) {
62
+ let n = t - 40, r = e.findIndex((t, r) => v(e.slice(0, r + 1), 8) > n);
63
+ return r === -1 ? e.length : r;
58
64
  }
59
- function X(s, e, i, r) {
60
- return s.slice(0, Math.max(0, e)).reduce(
61
- (t, [o, n]) => o === i ? n : t,
62
- r[i] ?? "large"
63
- );
65
+ function C(e, t, n, r) {
66
+ return e.slice(0, Math.max(0, t)).reduce((e, [t, r]) => t === n ? r : e, r[n] ?? "large");
64
67
  }
65
- function me(s, e) {
66
- return e === "large" ? s : e === "small" ? "small" : s === "large" ? "medium" : s;
68
+ function w(e, t) {
69
+ return t === "large" ? e : t === "small" ? "small" : e === "large" ? "medium" : e;
67
70
  }
68
- var ve = Object.defineProperty, x = (s, e, i, r) => {
69
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
70
- (n = s[o]) && (t = n(e, i, t) || t);
71
- return t && ve(e, i, t), t;
72
- };
73
- class m extends v {
74
- constructor() {
75
- super(), this.activeTabId = "", this.tabsList = [], this.contextualSets = [], this.contentSlot = null, this.layout = "classic", this.regionLabel = "Ribbon", this.minimized = !1, this.version = "office-2016", this.colorScheme = "auto", this.touchMode = "auto", this.keyTips = "on", this.keyTipMode = "off", this.keyTipBadges = [], this.currentTabIndex = 0, this.reflowFrame = 0, this.naturalWidths = /* @__PURE__ */ new WeakMap(), this.liveAnnouncer = new se(this), this.collapsedGroupLabels = /* @__PURE__ */ new WeakMap(), this.previousCollapsedGroups = /* @__PURE__ */ new Set(), this.contextualSetHiddenState = /* @__PURE__ */ new Map(), this.appliedReduceSteps = /* @__PURE__ */ new WeakMap(), this.originalItemSizes = /* @__PURE__ */ new WeakMap(), this.lastAppliedRegionLabel = null, this.altPressed = !1, this.altUsedForCombo = !1, this.onKeyTipKeyDown = (e) => {
76
- if (this.keyTips === "on") {
77
- if (e.key === "Alt" && !e.repeat) {
78
- this.altPressed = !0, this.altUsedForCombo = !1;
79
- return;
80
- }
81
- if (e.altKey && e.key !== "Alt") {
82
- this.altUsedForCombo = !0;
83
- return;
84
- }
85
- if (this.keyTipMode !== "off") {
86
- if (e.key === "Escape") {
87
- e.preventDefault(), this.keyTipMode === "items" ? this.openKeyTipsTabsLevel() : this.closeKeyTips();
88
- return;
89
- }
90
- if (e.key.length === 1) {
91
- const i = e.key.toUpperCase(), r = this.keyTipBadges.find((t) => t.tip === i);
92
- if (!r) return;
93
- if (e.preventDefault(), this.keyTipMode === "tabs") {
94
- const t = r.target.getAttribute("data-tab-id");
95
- t && this.selectTab(t), this.openKeyTipsItemsLevel();
96
- } else
97
- this.activateKeyTipTarget(r.target), this.closeKeyTips();
98
- }
99
- }
100
- }
101
- }, this.onKeyTipKeyUp = (e) => {
102
- if (this.keyTips === "on" && e.key === "Alt") {
103
- if (this.altPressed = !1, this.altUsedForCombo) {
104
- this.altUsedForCombo = !1;
105
- return;
106
- }
107
- e.preventDefault(), this.keyTipMode !== "off" ? this.closeKeyTips() : this.openKeyTipsTabsLevel();
108
- }
109
- }, this.onHostKeyDown = (e) => {
110
- if (e.ctrlKey && e.key === "F1") {
111
- e.preventDefault(), this.toggleMinimizedFromUser();
112
- return;
113
- }
114
- if (e.ctrlKey && (e.key === "ArrowLeft" || e.key === "ArrowRight")) {
115
- const i = e.composedPath();
116
- if (i.some((t) => t instanceof HTMLElement && t.getAttribute("role") === "tab"))
117
- return;
118
- const r = i.find(
119
- (t) => t instanceof HTMLElement && t.tagName === "MP-RIBBON-GROUP"
120
- );
121
- if (r) {
122
- const o = !(getComputedStyle(this).direction === "rtl"), n = e.key === "ArrowRight" === o ? 1 : -1;
123
- this.moveFocusBetweenGroups(r, n) && e.preventDefault();
124
- }
125
- }
126
- }, this.onContextualVisibilityChange = (e) => {
127
- const i = e.detail;
128
- if (i?.label) {
129
- const r = this.contextualSetHiddenState.get(i.label);
130
- r !== void 0 && r !== i.hidden && this.liveAnnouncer.announce(
131
- i.hidden ? `${i.label}, contextual, hidden` : `${i.label}, contextual, now available`
132
- ), this.contextualSetHiddenState.set(i.label, i.hidden);
133
- }
134
- this.contentSlot && this.processSlot(this.contentSlot);
135
- }, this.onSlotChange = (e) => {
136
- const i = e.target;
137
- this.contentSlot = i, this.processSlot(i);
138
- }, this.onTabListKeydown = (e) => {
139
- const { key: i } = e;
140
- let r = !1;
141
- const t = getComputedStyle(this).direction === "rtl";
142
- switch (i) {
143
- case "ArrowLeft":
144
- t ? this.focusNextTab() : this.focusPreviousTab(), r = !0;
145
- break;
146
- case "ArrowUp":
147
- this.focusPreviousTab(), r = !0;
148
- break;
149
- case "ArrowRight":
150
- t ? this.focusPreviousTab() : this.focusNextTab(), r = !0;
151
- break;
152
- case "ArrowDown":
153
- this.focusNextTab(), r = !0;
154
- break;
155
- case "Home":
156
- this.focusTabAt(0), r = !0;
157
- break;
158
- case "End":
159
- this.focusTabAt(this.tabsList.length - 1), r = !0;
160
- break;
161
- case "Enter":
162
- case " ":
163
- const o = this.tabElements[this.currentTabIndex];
164
- if (o) {
165
- const n = o.getAttribute("data-tab-id");
166
- n && (this.selectTab(n), r = !0);
167
- }
168
- break;
169
- }
170
- r && e.preventDefault();
171
- };
172
- }
173
- static {
174
- this.styles = f`
71
+ //#endregion
72
+ //#region libs/mintplayer-web-components/ribbon/src/mp-ribbon.element.ts
73
+ var T = class extends r {
74
+ static {
75
+ this.styles = i`
175
76
  :host {
176
77
  display: block;
177
78
  /* Tell the UA to pick the right scheme for native form controls
@@ -666,156 +567,212 @@ class m extends v {
666
567
  }
667
568
  }
668
569
  `;
669
- }
670
- get tabElements() {
671
- return Array.from(this.renderRoot.querySelectorAll('[role="tab"]'));
672
- }
673
- applyRegionLabel() {
674
- const e = this.getAttribute("aria-label");
675
- e !== null && e !== this.lastAppliedRegionLabel && e !== this.regionLabel || (this.setAttribute("aria-label", this.regionLabel), this.lastAppliedRegionLabel = this.regionLabel);
676
- }
677
- connectedCallback() {
678
- super.connectedCallback(), this.hasAttribute("role") || this.setAttribute("role", "region"), this.applyRegionLabel(), typeof ResizeObserver < "u" && (this.resizeObserver = new ResizeObserver(() => this.scheduleReflow()), this.resizeObserver.observe(this)), this.addEventListener(
679
- "contextual-visibility-change",
680
- this.onContextualVisibilityChange
681
- ), this.addEventListener("keydown", this.onHostKeyDown), document.addEventListener("keydown", this.onKeyTipKeyDown), document.addEventListener("keyup", this.onKeyTipKeyUp);
682
- }
683
- disconnectedCallback() {
684
- super.disconnectedCallback(), this.resizeObserver?.disconnect(), this.reflowFrame && cancelAnimationFrame(this.reflowFrame), this.removeEventListener(
685
- "contextual-visibility-change",
686
- this.onContextualVisibilityChange
687
- ), this.removeEventListener("keydown", this.onHostKeyDown), document.removeEventListener("keydown", this.onKeyTipKeyDown), document.removeEventListener("keyup", this.onKeyTipKeyUp);
688
- }
689
- openKeyTipsTabsLevel() {
690
- this.keyTipMode = "tabs", this.keyTipBadges = this.deriveTabBadges();
691
- }
692
- openKeyTipsItemsLevel() {
693
- this.keyTipMode = "items", requestAnimationFrame(() => {
694
- this.keyTipBadges = this.deriveItemBadges();
695
- });
696
- }
697
- closeKeyTips() {
698
- this.keyTipMode = "off", this.keyTipBadges = [];
699
- }
700
- /**
701
- * Activate the underlying target. For tabs, switch tabs (handled in the
702
- * caller). For items, dispatch the appropriate event — `mp-ribbon-button`
703
- * etc. listen for `click` and fire their own `item-click`; for dropdown
704
- * triggers, click opens the menu. delegatesFocus + `click()` covers both.
705
- */
706
- activateKeyTipTarget(e) {
707
- e.focus(), e.click();
708
- }
709
- /** Compute key-tip badges anchored under each tab button in the strip. */
710
- deriveTabBadges() {
711
- const e = [], i = /* @__PURE__ */ new Set(), r = this.tabElements;
712
- for (const t of r) {
713
- const o = t.getAttribute("data-tab-id") ?? "", n = this.tabsList.find((u) => u.tabId === o)?.element, a = t.getAttribute("data-key-tip") ?? n?.getAttribute("data-key-tip") ?? null, l = t.textContent ?? "", p = _(l, a, i), c = t.getBoundingClientRect();
714
- e.push({ tip: p, target: t, rect: { left: c.left + 4, top: c.bottom - 4 } });
715
- }
716
- return e;
717
- }
718
- /** Compute key-tip badges for every item inside the currently active tab. */
719
- deriveItemBadges() {
720
- const e = this.tabsList.find((o) => o.tabId === this.activeTabId);
721
- if (!e) return [];
722
- const i = this.collectActiveGroups(e.element), r = /* @__PURE__ */ new Set(), t = [];
723
- for (const o of i) {
724
- if (o.getAttribute("data-resolved-size") === "popup") {
725
- const a = o.shadowRoot?.querySelector(
726
- ".ribbon-popup-trigger"
727
- );
728
- if (a) {
729
- const l = o.getAttribute("data-key-tip"), p = o.getAttribute("label") ?? "", c = _(p, l, r), u = a.getBoundingClientRect();
730
- t.push({ tip: c, target: a, rect: { left: u.left + 4, top: u.bottom - 6 } });
731
- }
732
- continue;
733
- }
734
- const n = this.collectGroupItems(o);
735
- for (const a of n) {
736
- if (a.hasAttribute("disabled")) continue;
737
- const l = a.getAttribute("data-key-tip"), p = a.getAttribute("label") ?? "", c = _(p, l, r), u = a.getBoundingClientRect();
738
- t.push({ tip: c, target: a, rect: { left: u.left + 2, top: u.bottom - 6 } });
739
- }
740
- }
741
- return t;
742
- }
743
- toggleMinimizedFromUser() {
744
- this.minimized = !this.minimized, this.dispatchEvent(
745
- new CustomEvent("minimize-toggle", {
746
- detail: { minimized: this.minimized },
747
- bubbles: !0,
748
- composed: !0
749
- })
750
- );
751
- }
752
- moveFocusBetweenGroups(e, i) {
753
- const r = this.tabsList.find((l) => l.tabId === this.activeTabId);
754
- if (!r) return !1;
755
- const t = this.collectActiveGroups(r.element).filter(
756
- (l) => l.getAttribute("data-resolved-size") !== "popup" || l.hasAttribute("data-popup-open")
757
- );
758
- if (t.length === 0) return !1;
759
- const o = t.indexOf(e);
760
- if (o === -1) return !1;
761
- const n = o + i;
762
- if (n < 0 || n >= t.length) return !1;
763
- const a = this.firstFocusableInGroup(t[n]);
764
- return a ? (a.focus(), !0) : !1;
765
- }
766
- firstFocusableInGroup(e) {
767
- const i = Array.from(
768
- e.querySelectorAll(
769
- "mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery, mp-ribbon-template-item"
770
- )
771
- ).filter((r) => !r.hasAttribute("disabled"));
772
- return i.length === 0 ? null : i.find((r) => r.getAttribute("tabindex") === "0") ?? i[0];
773
- }
774
- updated(e) {
775
- if (e.has("regionLabel") && this.applyRegionLabel(), !this.activeTabId && this.tabsList.length > 0 && (this.activeTabId = this.tabsList[0].tabId), e.has("activeTabId")) {
776
- this.applyActiveAttribute();
777
- const i = this.tabsList.findIndex((r) => r.tabId === this.activeTabId);
778
- i >= 0 && (this.currentTabIndex = i);
779
- }
780
- (e.has("activeTabId") || e.has("minimized")) && this.scheduleReflow(), e.has("minimized") && e.get("minimized") !== void 0 && this.liveAnnouncer.announce(
781
- this.minimized ? "Ribbon minimized" : "Ribbon restored"
782
- ), e.has("layout") && (this.applyLayoutPropagation(), this.scheduleReflow());
783
- }
784
- /**
785
- * FR-39: stamp `data-ribbon-layout` on every slotted descendant so each
786
- * element's shadow-DOM CSS can switch to its Simplified rendering. Walking
787
- * the light-DOM tree is necessary because CSS custom properties can be
788
- * read in `var()` values but not as conditional selectors.
789
- *
790
- * Also force every item's `size` to `small` in Simplified, and restore
791
- * the consumer-declared original size (saved in `originalItemSizes` by
792
- * the FR-6 path) when switching back to Classic.
793
- */
794
- applyLayoutPropagation() {
795
- const e = this.layout === "simplified" ? "simplified" : "classic", i = this.querySelectorAll(
796
- "mp-ribbon-tab, mp-ribbon-group, mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery"
797
- );
798
- for (const t of Array.from(i))
799
- t.setAttribute("data-ribbon-layout", e);
800
- const r = this.querySelectorAll(
801
- "mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery"
802
- );
803
- if (this.layout === "simplified")
804
- for (const t of Array.from(r)) {
805
- if (!this.originalItemSizes.has(t)) {
806
- const o = t.getAttribute("size") ?? "medium";
807
- this.originalItemSizes.set(t, o);
808
- }
809
- t.getAttribute("size") !== "small" && t.setAttribute("size", "small");
810
- }
811
- else
812
- for (const t of Array.from(r)) {
813
- const o = this.originalItemSizes.get(t);
814
- o && t.getAttribute("size") !== o && t.setAttribute("size", o);
815
- }
816
- }
817
- render() {
818
- return d`
570
+ }
571
+ get tabElements() {
572
+ return Array.from(this.renderRoot.querySelectorAll("[role=\"tab\"]"));
573
+ }
574
+ constructor() {
575
+ super(), this.activeTabId = "", this.tabsList = [], this.contextualSets = [], this.contentSlot = null, this.layout = "classic", this.regionLabel = "Ribbon", this.minimized = !1, this.version = "office-2016", this.colorScheme = "auto", this.touchMode = "auto", this.keyTips = "on", this.keyTipMode = "off", this.keyTipBadges = [], this.currentTabIndex = 0, this.reflowFrame = 0, this.naturalWidths = /* @__PURE__ */ new WeakMap(), this.liveAnnouncer = new e(this), this.collapsedGroupLabels = /* @__PURE__ */ new WeakMap(), this.previousCollapsedGroups = /* @__PURE__ */ new Set(), this.contextualSetHiddenState = /* @__PURE__ */ new Map(), this.appliedReduceSteps = /* @__PURE__ */ new WeakMap(), this.originalItemSizes = /* @__PURE__ */ new WeakMap(), this.lastAppliedRegionLabel = null, this.altPressed = !1, this.altUsedForCombo = !1, this.onKeyTipKeyDown = (e) => {
576
+ if (this.keyTips === "on") {
577
+ if (e.key === "Alt" && !e.repeat) this.altPressed = !0, this.altUsedForCombo = !1;
578
+ else if (e.altKey && e.key !== "Alt") this.altUsedForCombo = !0;
579
+ else if (this.keyTipMode !== "off") {
580
+ if (e.key === "Escape") e.preventDefault(), this.keyTipMode === "items" ? this.openKeyTipsTabsLevel() : this.closeKeyTips();
581
+ else if (e.key.length === 1) {
582
+ let t = e.key.toUpperCase(), n = this.keyTipBadges.find((e) => e.tip === t);
583
+ if (!n) return;
584
+ if (e.preventDefault(), this.keyTipMode === "tabs") {
585
+ let e = n.target.getAttribute("data-tab-id");
586
+ e && this.selectTab(e), this.openKeyTipsItemsLevel();
587
+ } else this.activateKeyTipTarget(n.target), this.closeKeyTips();
588
+ }
589
+ }
590
+ }
591
+ }, this.onKeyTipKeyUp = (e) => {
592
+ if (this.keyTips === "on" && e.key === "Alt") {
593
+ if (this.altPressed = !1, this.altUsedForCombo) {
594
+ this.altUsedForCombo = !1;
595
+ return;
596
+ }
597
+ e.preventDefault(), this.keyTipMode === "off" ? this.openKeyTipsTabsLevel() : this.closeKeyTips();
598
+ }
599
+ }, this.onHostKeyDown = (e) => {
600
+ if (e.ctrlKey && e.key === "F1") e.preventDefault(), this.toggleMinimizedFromUser();
601
+ else if (e.ctrlKey && (e.key === "ArrowLeft" || e.key === "ArrowRight")) {
602
+ let t = e.composedPath();
603
+ if (t.some((e) => e instanceof HTMLElement && e.getAttribute("role") === "tab")) return;
604
+ let n = t.find((e) => e instanceof HTMLElement && e.tagName === "MP-RIBBON-GROUP");
605
+ if (n) {
606
+ let t = getComputedStyle(this).direction !== "rtl", r = e.key === "ArrowRight" === t ? 1 : -1;
607
+ this.moveFocusBetweenGroups(n, r) && e.preventDefault();
608
+ }
609
+ }
610
+ }, this.onContextualVisibilityChange = (e) => {
611
+ let t = e.detail;
612
+ if (t?.label) {
613
+ let e = this.contextualSetHiddenState.get(t.label);
614
+ e !== void 0 && e !== t.hidden && this.liveAnnouncer.announce(t.hidden ? `${t.label}, contextual, hidden` : `${t.label}, contextual, now available`), this.contextualSetHiddenState.set(t.label, t.hidden);
615
+ }
616
+ this.contentSlot && this.processSlot(this.contentSlot);
617
+ }, this.onSlotChange = (e) => {
618
+ let t = e.target;
619
+ this.contentSlot = t, this.processSlot(t);
620
+ }, this.onTabListKeydown = (e) => {
621
+ let { key: t } = e, n = !1, r = getComputedStyle(this).direction === "rtl";
622
+ switch (t) {
623
+ case "ArrowLeft":
624
+ r ? this.focusNextTab() : this.focusPreviousTab(), n = !0;
625
+ break;
626
+ case "ArrowUp":
627
+ this.focusPreviousTab(), n = !0;
628
+ break;
629
+ case "ArrowRight":
630
+ r ? this.focusPreviousTab() : this.focusNextTab(), n = !0;
631
+ break;
632
+ case "ArrowDown":
633
+ this.focusNextTab(), n = !0;
634
+ break;
635
+ case "Home":
636
+ this.focusTabAt(0), n = !0;
637
+ break;
638
+ case "End":
639
+ this.focusTabAt(this.tabsList.length - 1), n = !0;
640
+ break;
641
+ case "Enter":
642
+ case " ":
643
+ let e = this.tabElements[this.currentTabIndex];
644
+ if (e) {
645
+ let t = e.getAttribute("data-tab-id");
646
+ t && (this.selectTab(t), n = !0);
647
+ }
648
+ }
649
+ n && e.preventDefault();
650
+ };
651
+ }
652
+ applyRegionLabel() {
653
+ let e = this.getAttribute("aria-label");
654
+ (e === null || e === this.lastAppliedRegionLabel || e === this.regionLabel) && (this.setAttribute("aria-label", this.regionLabel), this.lastAppliedRegionLabel = this.regionLabel);
655
+ }
656
+ connectedCallback() {
657
+ super.connectedCallback(), this.hasAttribute("role") || this.setAttribute("role", "region"), this.applyRegionLabel(), typeof ResizeObserver < "u" && (this.resizeObserver = new ResizeObserver(() => this.scheduleReflow()), this.resizeObserver.observe(this)), this.addEventListener("contextual-visibility-change", this.onContextualVisibilityChange), this.addEventListener("keydown", this.onHostKeyDown), document.addEventListener("keydown", this.onKeyTipKeyDown), document.addEventListener("keyup", this.onKeyTipKeyUp);
658
+ }
659
+ disconnectedCallback() {
660
+ super.disconnectedCallback(), this.resizeObserver?.disconnect(), this.reflowFrame && cancelAnimationFrame(this.reflowFrame), this.removeEventListener("contextual-visibility-change", this.onContextualVisibilityChange), this.removeEventListener("keydown", this.onHostKeyDown), document.removeEventListener("keydown", this.onKeyTipKeyDown), document.removeEventListener("keyup", this.onKeyTipKeyUp);
661
+ }
662
+ openKeyTipsTabsLevel() {
663
+ this.keyTipMode = "tabs", this.keyTipBadges = this.deriveTabBadges();
664
+ }
665
+ openKeyTipsItemsLevel() {
666
+ this.keyTipMode = "items", requestAnimationFrame(() => {
667
+ this.keyTipBadges = this.deriveItemBadges();
668
+ });
669
+ }
670
+ closeKeyTips() {
671
+ this.keyTipMode = "off", this.keyTipBadges = [];
672
+ }
673
+ activateKeyTipTarget(e) {
674
+ e.focus(), e.click();
675
+ }
676
+ deriveTabBadges() {
677
+ let e = [], t = /* @__PURE__ */ new Set(), n = this.tabElements;
678
+ for (let r of n) {
679
+ let n = r.getAttribute("data-tab-id") ?? "", i = this.tabsList.find((e) => e.tabId === n)?.element, a = r.getAttribute("data-key-tip") ?? i?.getAttribute("data-key-tip") ?? null, o = _(r.textContent ?? "", a, t), s = r.getBoundingClientRect();
680
+ e.push({
681
+ tip: o,
682
+ target: r,
683
+ rect: {
684
+ left: s.left + 4,
685
+ top: s.bottom - 4
686
+ }
687
+ });
688
+ }
689
+ return e;
690
+ }
691
+ deriveItemBadges() {
692
+ let e = this.tabsList.find((e) => e.tabId === this.activeTabId);
693
+ if (!e) return [];
694
+ let t = this.collectActiveGroups(e.element), n = /* @__PURE__ */ new Set(), r = [];
695
+ for (let e of t) {
696
+ if (e.getAttribute("data-resolved-size") === "popup") {
697
+ let t = e.shadowRoot?.querySelector(".ribbon-popup-trigger");
698
+ if (t) {
699
+ let i = e.getAttribute("data-key-tip"), a = _(e.getAttribute("label") ?? "", i, n), o = t.getBoundingClientRect();
700
+ r.push({
701
+ tip: a,
702
+ target: t,
703
+ rect: {
704
+ left: o.left + 4,
705
+ top: o.bottom - 6
706
+ }
707
+ });
708
+ }
709
+ continue;
710
+ }
711
+ let t = this.collectGroupItems(e);
712
+ for (let e of t) {
713
+ if (e.hasAttribute("disabled")) continue;
714
+ let t = e.getAttribute("data-key-tip"), i = _(e.getAttribute("label") ?? "", t, n), a = e.getBoundingClientRect();
715
+ r.push({
716
+ tip: i,
717
+ target: e,
718
+ rect: {
719
+ left: a.left + 2,
720
+ top: a.bottom - 6
721
+ }
722
+ });
723
+ }
724
+ }
725
+ return r;
726
+ }
727
+ toggleMinimizedFromUser() {
728
+ this.minimized = !this.minimized, this.dispatchEvent(new CustomEvent("minimize-toggle", {
729
+ detail: { minimized: this.minimized },
730
+ bubbles: !0,
731
+ composed: !0
732
+ }));
733
+ }
734
+ moveFocusBetweenGroups(e, t) {
735
+ let n = this.tabsList.find((e) => e.tabId === this.activeTabId);
736
+ if (!n) return !1;
737
+ let r = this.collectActiveGroups(n.element).filter((e) => e.getAttribute("data-resolved-size") !== "popup" || e.hasAttribute("data-popup-open"));
738
+ if (r.length === 0) return !1;
739
+ let i = r.indexOf(e);
740
+ if (i === -1) return !1;
741
+ let a = i + t;
742
+ if (a < 0 || a >= r.length) return !1;
743
+ let o = this.firstFocusableInGroup(r[a]);
744
+ return o ? (o.focus(), !0) : !1;
745
+ }
746
+ firstFocusableInGroup(e) {
747
+ let t = Array.from(e.querySelectorAll("mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery, mp-ribbon-template-item")).filter((e) => !e.hasAttribute("disabled"));
748
+ return t.length === 0 ? null : t.find((e) => e.getAttribute("tabindex") === "0") ?? t[0];
749
+ }
750
+ updated(e) {
751
+ if (e.has("regionLabel") && this.applyRegionLabel(), !this.activeTabId && this.tabsList.length > 0 && (this.activeTabId = this.tabsList[0].tabId), e.has("activeTabId")) {
752
+ this.applyActiveAttribute();
753
+ let e = this.tabsList.findIndex((e) => e.tabId === this.activeTabId);
754
+ e >= 0 && (this.currentTabIndex = e);
755
+ }
756
+ (e.has("activeTabId") || e.has("minimized")) && this.scheduleReflow(), e.has("minimized") && e.get("minimized") !== void 0 && this.liveAnnouncer.announce(this.minimized ? "Ribbon minimized" : "Ribbon restored"), e.has("layout") && (this.applyLayoutPropagation(), this.scheduleReflow());
757
+ }
758
+ applyLayoutPropagation() {
759
+ let e = this.layout === "simplified" ? "simplified" : "classic", t = this.querySelectorAll("mp-ribbon-tab, mp-ribbon-group, mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery");
760
+ for (let n of Array.from(t)) n.setAttribute("data-ribbon-layout", e);
761
+ let n = this.querySelectorAll("mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery");
762
+ if (this.layout === "simplified") for (let e of Array.from(n)) {
763
+ if (!this.originalItemSizes.has(e)) {
764
+ let t = e.getAttribute("size") ?? "medium";
765
+ this.originalItemSizes.set(e, t);
766
+ }
767
+ e.getAttribute("size") !== "small" && e.setAttribute("size", "small");
768
+ }
769
+ else for (let e of Array.from(n)) {
770
+ let t = this.originalItemSizes.get(e);
771
+ t && e.getAttribute("size") !== t && e.setAttribute("size", t);
772
+ }
773
+ }
774
+ render() {
775
+ return a`
819
776
  <div class="ribbon-container">
820
777
  <div class="ribbon-tabstrip">
821
778
  <div
@@ -830,7 +787,7 @@ class m extends v {
830
787
  </div>
831
788
  </div>
832
789
 
833
- ${this.minimized ? d`<div hidden><slot @slotchange="${this.onSlotChange}"></slot></div>` : d`<div
790
+ ${this.minimized ? a`<div hidden><slot @slotchange="${this.onSlotChange}"></slot></div>` : a`<div
834
791
  class="ribbon-content"
835
792
  role="tabpanel"
836
793
  id="ribbon-active-panel"
@@ -839,366 +796,276 @@ class m extends v {
839
796
  <slot @slotchange="${this.onSlotChange}"></slot>
840
797
  </div>`}
841
798
  </div>
842
- ${this.keyTipMode !== "off" ? this.renderKeyTipOverlay() : E}
799
+ ${this.keyTipMode === "off" ? o : this.renderKeyTipOverlay()}
843
800
  ${this.liveAnnouncer.template()}
844
801
  `;
845
- }
846
- renderKeyTipOverlay() {
847
- return d`
848
- ${this.keyTipBadges.map(
849
- (e) => d`
802
+ }
803
+ renderKeyTipOverlay() {
804
+ return a`
805
+ ${this.keyTipBadges.map((e) => a`
850
806
  <span
851
807
  class="keytip-badge"
852
808
  style="left: ${e.rect.left}px; top: ${e.rect.top}px;"
853
809
  aria-hidden="true"
854
810
  >${e.tip}</span>
855
- `
856
- )}
811
+ `)}
857
812
  `;
858
- }
859
- renderTabStripItems() {
860
- const e = [];
861
- let i = 0;
862
- for (; i < this.tabsList.length; ) {
863
- const r = this.tabsList[i];
864
- if (!r.contextualColor || !r.contextualSetLabel) {
865
- e.push(this.renderTabButton(r, i)), i++;
866
- continue;
867
- }
868
- const t = r.contextualSetLabel, o = r.contextualColor, n = i;
869
- for (; i < this.tabsList.length && this.tabsList[i].contextualSetLabel === t && this.tabsList[i].contextualColor === o; )
870
- i++;
871
- const a = this.tabsList.slice(n, i), l = le(o), p = `--bs-ribbon-contextual-color: ${o};--ribbon-contextual-text: ${l};`;
872
- e.push(d`
873
- <div class="ribbon-contextual-group" style="${p}">
874
- <div class="ribbon-contextual-group-band">${t}</div>
813
+ }
814
+ renderTabStripItems() {
815
+ let e = [], t = 0;
816
+ for (; t < this.tabsList.length;) {
817
+ let n = this.tabsList[t];
818
+ if (!n.contextualColor || !n.contextualSetLabel) {
819
+ e.push(this.renderTabButton(n, t)), t++;
820
+ continue;
821
+ }
822
+ let r = n.contextualSetLabel, i = n.contextualColor, o = t;
823
+ for (; t < this.tabsList.length && this.tabsList[t].contextualSetLabel === r && this.tabsList[t].contextualColor === i;) t++;
824
+ let s = this.tabsList.slice(o, t), c = `--bs-ribbon-contextual-color: ${i};--ribbon-contextual-text: ${p(i)};`;
825
+ e.push(a`
826
+ <div class="ribbon-contextual-group" style="${c}">
827
+ <div class="ribbon-contextual-group-band">${r}</div>
875
828
  <div class="ribbon-contextual-group-tabs">
876
- ${a.map(
877
- (c, u) => this.renderTabButton(c, n + u)
878
- )}
829
+ ${s.map((e, t) => this.renderTabButton(e, o + t))}
879
830
  </div>
880
831
  </div>
881
832
  `);
882
- }
883
- return e;
884
- }
885
- renderTabButton(e, i) {
886
- const r = e.tabId === this.activeTabId, t = !!e.contextualColor, o = r ? 0 : -1;
887
- return d`
833
+ }
834
+ return e;
835
+ }
836
+ renderTabButton(e, t) {
837
+ let n = e.tabId === this.activeTabId, r = !!e.contextualColor, i = n ? 0 : -1;
838
+ return a`
888
839
  <button
889
840
  role="tab"
890
841
  id="ribbon-tab-${e.tabId}"
891
- class="ribbon-tab ${r ? "active" : ""} ${t ? "contextual" : ""}"
892
- aria-selected="${r}"
842
+ class="ribbon-tab ${n ? "active" : ""} ${r ? "contextual" : ""}"
843
+ aria-selected="${n}"
893
844
  aria-controls="ribbon-active-panel"
894
- tabindex="${o}"
845
+ tabindex="${i}"
895
846
  data-tab-id="${e.tabId}"
896
847
  @click="${() => this.selectTab(e.tabId)}"
897
848
  @dblclick="${() => this.toggleMinimizedFromUser()}"
898
849
  >${e.label}</button>
899
850
  `;
900
- }
901
- processSlot(e) {
902
- const i = [], r = [];
903
- for (const o of e.assignedElements()) {
904
- let n = null;
905
- if (o.tagName === "MP-RIBBON-CONTEXTUAL-TAB-SET" ? n = o : n = o.querySelector(
906
- "mp-ribbon-contextual-tab-set"
907
- ), n) {
908
- if (n.hasAttribute("hidden") || o.hasAttribute("hidden")) continue;
909
- const p = n.getAttribute("color") ?? "#5BAEFF", c = n.getAttribute("label") ?? "", u = Array.from(
910
- n.querySelectorAll("mp-ribbon-tab")
911
- ), h = [];
912
- for (const y of u) {
913
- const L = y.getAttribute("tab-id") ?? "";
914
- i.push({
915
- tabId: L,
916
- label: y.getAttribute("label") ?? "",
917
- element: y,
918
- contextualColor: p,
919
- contextualSetLabel: c
920
- }), h.push(L);
921
- }
922
- h.length > 0 && r.push({ label: c, color: p, tabIds: h });
923
- continue;
924
- }
925
- let a = null;
926
- o.tagName === "MP-RIBBON-TAB" ? a = o : a = o.querySelector("mp-ribbon-tab"), a && i.push({
927
- tabId: a.getAttribute("tab-id") ?? "",
928
- label: a.getAttribute("label") ?? "",
929
- element: a
930
- });
931
- }
932
- this.tabsList = i, this.contextualSets = r, !i.some((o) => o.tabId === this.activeTabId) && i.length > 0 ? this.activeTabId = i[0].tabId : !this.activeTabId && i.length > 0 && (this.activeTabId = i[0].tabId), this.applyActiveAttribute(), this.applyLayoutPropagation(), this.scheduleReflow();
933
- }
934
- applyActiveAttribute() {
935
- for (const e of this.tabsList)
936
- e.tabId === this.activeTabId ? e.element.setAttribute("active", "") : e.element.removeAttribute("active");
937
- }
938
- selectTab(e) {
939
- const i = this.activeTabId;
940
- this.activeTabId = e;
941
- const r = this.tabsList.findIndex((t) => t.tabId === e);
942
- r !== -1 && (this.currentTabIndex = r), this.dispatchEvent(
943
- new CustomEvent("tab-change", {
944
- detail: { previousTabId: i, activeTabId: e },
945
- bubbles: !0,
946
- composed: !0
947
- })
948
- );
949
- }
950
- focusPreviousTab() {
951
- const e = Math.max(0, this.currentTabIndex - 1);
952
- this.focusTabAt(e);
953
- }
954
- focusNextTab() {
955
- const e = Math.min(this.tabsList.length - 1, this.currentTabIndex + 1);
956
- this.focusTabAt(e);
957
- }
958
- focusTabAt(e) {
959
- e >= 0 && e < this.tabElements.length && (this.tabElements[e].focus(), this.currentTabIndex = e);
960
- }
961
- scheduleReflow() {
962
- this.reflowFrame || (this.reflowFrame = requestAnimationFrame(() => {
963
- this.reflowFrame = 0, this.reflowOverflow();
964
- }));
965
- }
966
- /**
967
- * Walks the active tab's groups and toggles `data-resolved-size="popup"` on
968
- * the rightmost group(s) until the tab content fits. On grow, expands the
969
- * leftmost popup'd group (i.e. the most-recently-collapsed) when room allows.
970
- *
971
- * MVP: single step per group (large -> popup). Author-declared reduceOrder
972
- * with intermediate sizes is a follow-up (FR-6 P0 deferred to later milestone).
973
- */
974
- reflowOverflow() {
975
- if (this.minimized) return;
976
- const e = this.tabsList.find((c) => c.tabId === this.activeTabId);
977
- if (!e) return;
978
- const i = e.element, r = this.collectActiveGroups(i);
979
- if (r.length === 0) return;
980
- if (this.layout === "simplified") {
981
- for (const c of r)
982
- c.hasAttribute("data-resolved-size") && c.removeAttribute("data-resolved-size");
983
- this.diffCollapsedGroupsAndAnnounce(r);
984
- return;
985
- }
986
- for (const c of r)
987
- c.getAttribute("data-resolved-size") !== "popup" && this.naturalWidths.set(c, c.offsetWidth);
988
- const t = i.reduceOrder, o = i.idealSizes;
989
- if (t && t.length > 0) {
990
- if (this.applyAuthorReduceOrder(
991
- i,
992
- r,
993
- t,
994
- o ?? {}
995
- )) {
996
- this.scheduleReflow();
997
- return;
998
- }
999
- this.diffCollapsedGroupsAndAnnounce(r);
1000
- return;
1001
- }
1002
- const n = i.clientWidth, a = () => ({
1003
- available: n,
1004
- gap: P,
1005
- groups: r.map((c) => ({
1006
- width: c.offsetWidth,
1007
- naturalWidth: this.naturalWidths.get(c) ?? 0,
1008
- priority: Number(c.getAttribute("priority") ?? "0"),
1009
- autoScale: c.getAttribute("auto-scale") !== "false",
1010
- collapsed: c.getAttribute("data-resolved-size") === "popup"
1011
- }))
1012
- });
1013
- let l = !1;
1014
- const p = (c) => r.some(() => {
1015
- const u = he(a());
1016
- if (u?.action !== c) return !0;
1017
- const h = r[u.index];
1018
- return c === "collapse" ? h.setAttribute("data-resolved-size", "popup") : h.removeAttribute("data-resolved-size"), l = !0, !1;
1019
- });
1020
- if (p("collapse"), p("expand"), l) {
1021
- this.scheduleReflow();
1022
- return;
1023
- }
1024
- this.diffCollapsedGroupsAndAnnounce(r);
1025
- }
1026
- /**
1027
- * Diff the popped set against the previous frame and announce threshold
1028
- * crossings via the live region. Shared by both reflow paths (priority
1029
- * default + author reduceOrder).
1030
- */
1031
- diffCollapsedGroupsAndAnnounce(e) {
1032
- const i = /* @__PURE__ */ new Set();
1033
- for (const r of e)
1034
- if (r.getAttribute("data-resolved-size") === "popup") {
1035
- i.add(r);
1036
- const t = r.getAttribute("label") ?? "";
1037
- t && this.collapsedGroupLabels.set(r, t);
1038
- }
1039
- for (const r of i)
1040
- if (!this.previousCollapsedGroups.has(r)) {
1041
- const t = this.collapsedGroupLabels.get(r) ?? r.getAttribute("label") ?? "";
1042
- t && this.liveAnnouncer.announce(`${t} group collapsed`);
1043
- }
1044
- for (const r of this.previousCollapsedGroups)
1045
- if (!i.has(r)) {
1046
- const t = this.collapsedGroupLabels.get(r) ?? "";
1047
- t && this.liveAnnouncer.announce(`${t} group expanded`);
1048
- }
1049
- this.previousCollapsedGroups.clear();
1050
- for (const r of i) this.previousCollapsedGroups.add(r);
1051
- }
1052
- /**
1053
- * FR-6: walk an author-declared reduceOrder list. Returns true if any
1054
- * mutation happened (caller re-runs the reflow to settle).
1055
- *
1056
- * - On shrink (occupied > available): apply more steps from the front of
1057
- * the list, advancing the per-tab `appliedReduceSteps` counter.
1058
- * - On grow (occupied < available): revert the most-recently-applied
1059
- * step IF the reverted layout would still fit. Walks the prefix of the
1060
- * list to recompute the "size before step N" for the reverted group.
1061
- * - Groups with `auto-scale="false"` are still skipped — even if the
1062
- * author lists a step for them, we drop a console.warn at validate
1063
- * time and the runtime treats it as a no-op.
1064
- */
1065
- applyAuthorReduceOrder(e, i, r, t) {
1066
- const o = e.clientWidth, n = () => G(
1067
- i.map((u) => u.offsetWidth),
1068
- P
1069
- ), a = (u) => i.find((h) => h.getAttribute("group-id") === u) ?? null;
1070
- let l = this.appliedReduceSteps.get(e) ?? 0, p = !1, c = r.length - l;
1071
- for (; n() > o && l < r.length && c-- > 0; ) {
1072
- const [u, h] = r[l], y = a(u);
1073
- if (!y || y.getAttribute("auto-scale") === "false") {
1074
- l++;
1075
- continue;
1076
- }
1077
- this.applyGroupSize(y, h, t), l++, p = !0;
1078
- }
1079
- for (c = l; l > 0 && c-- > 0; ) {
1080
- const [u] = r[l - 1], h = a(u);
1081
- if (!h) {
1082
- l--;
1083
- continue;
1084
- }
1085
- const y = X(r, l - 1, u, t), L = X(r, l, u, t);
1086
- if (this.applyGroupSize(h, y, t), n() > o) {
1087
- this.applyGroupSize(h, L, t);
1088
- break;
1089
- }
1090
- l--, p = !0;
1091
- }
1092
- return this.appliedReduceSteps.set(e, l), p;
1093
- }
1094
- /**
1095
- * Apply a resolved size to a group + mutate slotted item sizes so the
1096
- * intermediate (`medium` / `small`) sizes have a visible effect. Saves
1097
- * each item's original `size` to `originalItemSizes` the first time the
1098
- * group downsizes, so going back to `large` restores it.
1099
- */
1100
- applyGroupSize(e, i, r) {
1101
- if (i === "popup") {
1102
- e.setAttribute("data-resolved-size", "popup");
1103
- return;
1104
- }
1105
- i === "large" ? e.removeAttribute("data-resolved-size") : e.setAttribute("data-resolved-size", i);
1106
- const t = this.collectGroupItems(e);
1107
- for (const o of t) {
1108
- if (!this.originalItemSizes.has(o)) {
1109
- const l = o.getAttribute("size") ?? "medium";
1110
- this.originalItemSizes.set(o, l);
1111
- }
1112
- const n = this.originalItemSizes.get(o), a = me(n, i);
1113
- o.getAttribute("size") !== a && o.setAttribute("size", a);
1114
- }
1115
- }
1116
- collectGroupItems(e) {
1117
- return Array.from(
1118
- e.querySelectorAll(
1119
- "mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery"
1120
- )
1121
- );
1122
- }
1123
- /**
1124
- * Returns the `<mp-ribbon-group>` elements assigned to the active tab's slot.
1125
- * Handles both raw web-component usage and the Angular `<bs-ribbon-group>`
1126
- * wrapper (which delegates to an inner `<mp-ribbon-group>` via Angular's
1127
- * `display: contents` host). The slot lives in `mp-ribbon-tab`'s shadow
1128
- * root since each tab owns its own default slot.
1129
- */
1130
- collectActiveGroups(e) {
1131
- const i = e.shadowRoot?.querySelector("slot");
1132
- if (!i) return [];
1133
- const r = [];
1134
- for (const t of i.assignedElements()) {
1135
- if (t.tagName === "MP-RIBBON-GROUP") {
1136
- r.push(t);
1137
- continue;
1138
- }
1139
- const o = t.querySelector("mp-ribbon-group");
1140
- o && r.push(o);
1141
- }
1142
- return r;
1143
- }
1144
- }
1145
- x([
1146
- b({ type: String, attribute: "active-tab-id", reflect: !0 })
1147
- ], m.prototype, "activeTabId");
1148
- x([
1149
- z()
1150
- ], m.prototype, "tabsList");
1151
- x([
1152
- z()
1153
- ], m.prototype, "contextualSets");
1154
- x([
1155
- b({ type: String, reflect: !0 })
1156
- ], m.prototype, "layout");
1157
- x([
1158
- b({ type: String, attribute: "region-label" })
1159
- ], m.prototype, "regionLabel");
1160
- x([
1161
- b({ type: Boolean })
1162
- ], m.prototype, "minimized");
1163
- x([
1164
- b({ type: String, reflect: !0 })
1165
- ], m.prototype, "version");
1166
- x([
1167
- b({ type: String, attribute: "color-scheme", reflect: !0 })
1168
- ], m.prototype, "colorScheme");
1169
- x([
1170
- b({ type: String, attribute: "touch-mode", reflect: !0 })
1171
- ], m.prototype, "touchMode");
1172
- x([
1173
- b({ type: String, attribute: "key-tips" })
1174
- ], m.prototype, "keyTips");
1175
- x([
1176
- z()
1177
- ], m.prototype, "keyTipMode");
1178
- x([
1179
- z()
1180
- ], m.prototype, "keyTipBadges");
1181
- typeof customElements < "u" && !customElements.get("mp-ribbon") && customElements.define("mp-ribbon", m);
1182
- var xe = Object.defineProperty, Y = (s, e, i, r) => {
1183
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
1184
- (n = s[o]) && (t = n(e, i, t) || t);
1185
- return t && xe(e, i, t), t;
851
+ }
852
+ processSlot(e) {
853
+ let t = [], n = [];
854
+ for (let r of e.assignedElements()) {
855
+ let e = null;
856
+ if (e = r.tagName === "MP-RIBBON-CONTEXTUAL-TAB-SET" ? r : r.querySelector("mp-ribbon-contextual-tab-set"), e) {
857
+ if (e.hasAttribute("hidden") || r.hasAttribute("hidden")) continue;
858
+ let i = e.getAttribute("color") ?? "#5BAEFF", a = e.getAttribute("label") ?? "", o = Array.from(e.querySelectorAll("mp-ribbon-tab")), s = [];
859
+ for (let e of o) {
860
+ let n = e.getAttribute("tab-id") ?? "";
861
+ t.push({
862
+ tabId: n,
863
+ label: e.getAttribute("label") ?? "",
864
+ element: e,
865
+ contextualColor: i,
866
+ contextualSetLabel: a
867
+ }), s.push(n);
868
+ }
869
+ s.length > 0 && n.push({
870
+ label: a,
871
+ color: i,
872
+ tabIds: s
873
+ });
874
+ continue;
875
+ }
876
+ let i = null;
877
+ i = r.tagName === "MP-RIBBON-TAB" ? r : r.querySelector("mp-ribbon-tab"), i && t.push({
878
+ tabId: i.getAttribute("tab-id") ?? "",
879
+ label: i.getAttribute("label") ?? "",
880
+ element: i
881
+ });
882
+ }
883
+ this.tabsList = t, this.contextualSets = n, (!t.some((e) => e.tabId === this.activeTabId) && t.length > 0 || !this.activeTabId && t.length > 0) && (this.activeTabId = t[0].tabId), this.applyActiveAttribute(), this.applyLayoutPropagation(), this.scheduleReflow();
884
+ }
885
+ applyActiveAttribute() {
886
+ for (let e of this.tabsList) e.tabId === this.activeTabId ? e.element.setAttribute("active", "") : e.element.removeAttribute("active");
887
+ }
888
+ selectTab(e) {
889
+ let t = this.activeTabId;
890
+ this.activeTabId = e;
891
+ let n = this.tabsList.findIndex((t) => t.tabId === e);
892
+ n !== -1 && (this.currentTabIndex = n), this.dispatchEvent(new CustomEvent("tab-change", {
893
+ detail: {
894
+ previousTabId: t,
895
+ activeTabId: e
896
+ },
897
+ bubbles: !0,
898
+ composed: !0
899
+ }));
900
+ }
901
+ focusPreviousTab() {
902
+ let e = Math.max(0, this.currentTabIndex - 1);
903
+ this.focusTabAt(e);
904
+ }
905
+ focusNextTab() {
906
+ let e = Math.min(this.tabsList.length - 1, this.currentTabIndex + 1);
907
+ this.focusTabAt(e);
908
+ }
909
+ focusTabAt(e) {
910
+ e >= 0 && e < this.tabElements.length && (this.tabElements[e].focus(), this.currentTabIndex = e);
911
+ }
912
+ scheduleReflow() {
913
+ this.reflowFrame ||= requestAnimationFrame(() => {
914
+ this.reflowFrame = 0, this.reflowOverflow();
915
+ });
916
+ }
917
+ reflowOverflow() {
918
+ if (this.minimized) return;
919
+ let e = this.tabsList.find((e) => e.tabId === this.activeTabId);
920
+ if (!e) return;
921
+ let t = e.element, n = this.collectActiveGroups(t);
922
+ if (n.length === 0) return;
923
+ if (this.layout === "simplified") {
924
+ for (let e of n) e.hasAttribute("data-resolved-size") && e.removeAttribute("data-resolved-size");
925
+ this.diffCollapsedGroupsAndAnnounce(n);
926
+ return;
927
+ }
928
+ for (let e of n) e.getAttribute("data-resolved-size") !== "popup" && this.naturalWidths.set(e, e.offsetWidth);
929
+ let r = t.reduceOrder, i = t.idealSizes;
930
+ if (r && r.length > 0) {
931
+ if (this.applyAuthorReduceOrder(t, n, r, i ?? {})) {
932
+ this.scheduleReflow();
933
+ return;
934
+ }
935
+ this.diffCollapsedGroupsAndAnnounce(n);
936
+ return;
937
+ }
938
+ let a = t.clientWidth, o = () => ({
939
+ available: a,
940
+ gap: 8,
941
+ groups: n.map((e) => ({
942
+ width: e.offsetWidth,
943
+ naturalWidth: this.naturalWidths.get(e) ?? 0,
944
+ priority: Number(e.getAttribute("priority") ?? "0"),
945
+ autoScale: e.getAttribute("auto-scale") !== "false",
946
+ collapsed: e.getAttribute("data-resolved-size") === "popup"
947
+ }))
948
+ }), s = !1, c = (e) => n.some(() => {
949
+ let t = x(o());
950
+ if (t?.action !== e) return !0;
951
+ let r = n[t.index];
952
+ return e === "collapse" ? r.setAttribute("data-resolved-size", "popup") : r.removeAttribute("data-resolved-size"), s = !0, !1;
953
+ });
954
+ c("collapse"), c("expand"), s ? this.scheduleReflow() : this.diffCollapsedGroupsAndAnnounce(n);
955
+ }
956
+ diffCollapsedGroupsAndAnnounce(e) {
957
+ let t = /* @__PURE__ */ new Set();
958
+ for (let n of e) if (n.getAttribute("data-resolved-size") === "popup") {
959
+ t.add(n);
960
+ let e = n.getAttribute("label") ?? "";
961
+ e && this.collapsedGroupLabels.set(n, e);
962
+ }
963
+ for (let e of t) if (!this.previousCollapsedGroups.has(e)) {
964
+ let t = this.collapsedGroupLabels.get(e) ?? e.getAttribute("label") ?? "";
965
+ t && this.liveAnnouncer.announce(`${t} group collapsed`);
966
+ }
967
+ for (let e of this.previousCollapsedGroups) if (!t.has(e)) {
968
+ let t = this.collapsedGroupLabels.get(e) ?? "";
969
+ t && this.liveAnnouncer.announce(`${t} group expanded`);
970
+ }
971
+ this.previousCollapsedGroups.clear();
972
+ for (let e of t) this.previousCollapsedGroups.add(e);
973
+ }
974
+ applyAuthorReduceOrder(e, t, n, r) {
975
+ let i = e.clientWidth, a = () => v(t.map((e) => e.offsetWidth), 8), o = (e) => t.find((t) => t.getAttribute("group-id") === e) ?? null, s = this.appliedReduceSteps.get(e) ?? 0, c = !1, l = n.length - s;
976
+ for (; a() > i && s < n.length && l-- > 0;) {
977
+ let [e, t] = n[s], i = o(e);
978
+ !i || i.getAttribute("auto-scale") === "false" ? s++ : (this.applyGroupSize(i, t, r), s++, c = !0);
979
+ }
980
+ for (l = s; s > 0 && l-- > 0;) {
981
+ let [e] = n[s - 1], t = o(e);
982
+ if (!t) {
983
+ s--;
984
+ continue;
985
+ }
986
+ let l = C(n, s - 1, e, r), u = C(n, s, e, r);
987
+ if (this.applyGroupSize(t, l, r), a() > i) {
988
+ this.applyGroupSize(t, u, r);
989
+ break;
990
+ }
991
+ s--, c = !0;
992
+ }
993
+ return this.appliedReduceSteps.set(e, s), c;
994
+ }
995
+ applyGroupSize(e, t, n) {
996
+ if (t === "popup") {
997
+ e.setAttribute("data-resolved-size", "popup");
998
+ return;
999
+ }
1000
+ t === "large" ? e.removeAttribute("data-resolved-size") : e.setAttribute("data-resolved-size", t);
1001
+ let r = this.collectGroupItems(e);
1002
+ for (let e of r) {
1003
+ if (!this.originalItemSizes.has(e)) {
1004
+ let t = e.getAttribute("size") ?? "medium";
1005
+ this.originalItemSizes.set(e, t);
1006
+ }
1007
+ let n = w(this.originalItemSizes.get(e), t);
1008
+ e.getAttribute("size") !== n && e.setAttribute("size", n);
1009
+ }
1010
+ }
1011
+ collectGroupItems(e) {
1012
+ return Array.from(e.querySelectorAll("mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery"));
1013
+ }
1014
+ collectActiveGroups(e) {
1015
+ let t = e.shadowRoot?.querySelector("slot");
1016
+ if (!t) return [];
1017
+ let n = [];
1018
+ for (let e of t.assignedElements()) {
1019
+ if (e.tagName === "MP-RIBBON-GROUP") {
1020
+ n.push(e);
1021
+ continue;
1022
+ }
1023
+ let t = e.querySelector("mp-ribbon-group");
1024
+ t && n.push(t);
1025
+ }
1026
+ return n;
1027
+ }
1186
1028
  };
1187
- class j extends v {
1188
- constructor() {
1189
- super(...arguments), this.label = "Quick Access Toolbar", this.touchMode = "auto", this.lastAppliedLabel = null, this.onKeyDown = (e) => {
1190
- const { key: i } = e;
1191
- if (i !== "ArrowLeft" && i !== "ArrowRight" && i !== "Home" && i !== "End")
1192
- return;
1193
- const r = this.collectItems();
1194
- if (r.length === 0) return;
1195
- const t = e.composedPath(), o = r.findIndex((c) => t.includes(c)), n = getComputedStyle(this).direction === "rtl", a = n ? i === "ArrowLeft" : i === "ArrowRight", l = n ? i === "ArrowRight" : i === "ArrowLeft";
1196
- let p = o;
1197
- l ? p = Math.max(0, o - 1) : a ? p = Math.min(r.length - 1, o + 1) : i === "Home" ? p = 0 : i === "End" && (p = r.length - 1), p !== o && p >= 0 && (r[p].focus(), e.preventDefault());
1198
- };
1199
- }
1200
- static {
1201
- this.styles = f`
1029
+ t([s({
1030
+ type: String,
1031
+ attribute: "active-tab-id",
1032
+ reflect: !0
1033
+ })], T.prototype, "activeTabId", void 0), t([l()], T.prototype, "tabsList", void 0), t([l()], T.prototype, "contextualSets", void 0), t([s({
1034
+ type: String,
1035
+ reflect: !0
1036
+ })], T.prototype, "layout", void 0), t([s({
1037
+ type: String,
1038
+ attribute: "region-label"
1039
+ })], T.prototype, "regionLabel", void 0), t([s({ type: Boolean })], T.prototype, "minimized", void 0), t([s({
1040
+ type: String,
1041
+ reflect: !0
1042
+ })], T.prototype, "version", void 0), t([s({
1043
+ type: String,
1044
+ attribute: "color-scheme",
1045
+ reflect: !0
1046
+ })], T.prototype, "colorScheme", void 0), t([s({
1047
+ type: String,
1048
+ attribute: "touch-mode",
1049
+ reflect: !0
1050
+ })], T.prototype, "touchMode", void 0), t([s({
1051
+ type: String,
1052
+ attribute: "key-tips"
1053
+ })], T.prototype, "keyTips", void 0), t([l()], T.prototype, "keyTipMode", void 0), t([l()], T.prototype, "keyTipBadges", void 0), typeof customElements < "u" && !customElements.get("mp-ribbon") && customElements.define("mp-ribbon", T);
1054
+ //#endregion
1055
+ //#region libs/mintplayer-web-components/ribbon/src/mp-quick-access-toolbar.element.ts
1056
+ var E = class extends r {
1057
+ constructor(...e) {
1058
+ super(...e), this.label = "Quick Access Toolbar", this.touchMode = "auto", this.lastAppliedLabel = null, this.onKeyDown = (e) => {
1059
+ let { key: t } = e;
1060
+ if (t !== "ArrowLeft" && t !== "ArrowRight" && t !== "Home" && t !== "End") return;
1061
+ let n = this.collectItems();
1062
+ if (n.length === 0) return;
1063
+ let r = e.composedPath(), i = n.findIndex((e) => r.includes(e)), a = getComputedStyle(this).direction === "rtl", o = a ? t === "ArrowLeft" : t === "ArrowRight", s = a ? t === "ArrowRight" : t === "ArrowLeft", c = i;
1064
+ s ? c = Math.max(0, i - 1) : o ? c = Math.min(n.length - 1, i + 1) : t === "Home" ? c = 0 : t === "End" && (c = n.length - 1), c !== i && c >= 0 && (n[c].focus(), e.preventDefault());
1065
+ };
1066
+ }
1067
+ static {
1068
+ this.styles = i`
1202
1069
  :host {
1203
1070
  display: block;
1204
1071
  color-scheme: light dark;
@@ -1260,68 +1127,60 @@ class j extends v {
1260
1127
  min-height: 44px;
1261
1128
  }
1262
1129
  `;
1263
- }
1264
- connectedCallback() {
1265
- super.connectedCallback(), this.setAttribute("role", "toolbar"), this.applyLabel(), this.addEventListener("keydown", this.onKeyDown);
1266
- }
1267
- disconnectedCallback() {
1268
- super.disconnectedCallback(), this.removeEventListener("keydown", this.onKeyDown);
1269
- }
1270
- updated(e) {
1271
- e.has("label") && this.applyLabel();
1272
- }
1273
- applyLabel() {
1274
- const e = this.getAttribute("aria-label");
1275
- e !== null && e !== this.lastAppliedLabel && e !== this.label || (this.setAttribute("aria-label", this.label), this.lastAppliedLabel = this.label);
1276
- }
1277
- render() {
1278
- return d`
1130
+ }
1131
+ connectedCallback() {
1132
+ super.connectedCallback(), this.setAttribute("role", "toolbar"), this.applyLabel(), this.addEventListener("keydown", this.onKeyDown);
1133
+ }
1134
+ disconnectedCallback() {
1135
+ super.disconnectedCallback(), this.removeEventListener("keydown", this.onKeyDown);
1136
+ }
1137
+ updated(e) {
1138
+ e.has("label") && this.applyLabel();
1139
+ }
1140
+ applyLabel() {
1141
+ let e = this.getAttribute("aria-label");
1142
+ (e === null || e === this.lastAppliedLabel || e === this.label) && (this.setAttribute("aria-label", this.label), this.lastAppliedLabel = this.label);
1143
+ }
1144
+ render() {
1145
+ return a`
1279
1146
  <div class="qat">
1280
1147
  <slot></slot>
1281
1148
  </div>
1282
1149
  `;
1283
- }
1284
- collectItems() {
1285
- const e = this.renderRoot.querySelector("slot");
1286
- if (!e) return [];
1287
- const i = [];
1288
- for (const r of e.assignedElements()) {
1289
- const o = r.querySelector(
1290
- "mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-split-button, mp-ribbon-dropdown-button"
1291
- ) ?? r;
1292
- o.tagName.startsWith("MP-RIBBON-") && !o.hasAttribute("disabled") && i.push(o);
1293
- }
1294
- return i;
1295
- }
1296
- }
1297
- Y([
1298
- b({ type: String })
1299
- ], j.prototype, "label");
1300
- Y([
1301
- b({ type: String, attribute: "touch-mode", reflect: !0 })
1302
- ], j.prototype, "touchMode");
1303
- typeof customElements < "u" && !customElements.get("mp-quick-access-toolbar") && customElements.define("mp-quick-access-toolbar", j);
1304
- var ye = Object.defineProperty, k = (s, e, i, r) => {
1305
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
1306
- (n = s[o]) && (t = n(e, i, t) || t);
1307
- return t && ye(e, i, t), t;
1150
+ }
1151
+ collectItems() {
1152
+ let e = this.renderRoot.querySelector("slot");
1153
+ if (!e) return [];
1154
+ let t = [];
1155
+ for (let n of e.assignedElements()) {
1156
+ let e = n.querySelector("mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-split-button, mp-ribbon-dropdown-button") ?? n;
1157
+ e.tagName.startsWith("MP-RIBBON-") && !e.hasAttribute("disabled") && t.push(e);
1158
+ }
1159
+ return t;
1160
+ }
1308
1161
  };
1309
- const we = "mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery";
1310
- class w extends v {
1311
- constructor() {
1312
- super(...arguments), this.tabId = "", this.label = "", this.active = !1, this.idealSizes = {}, this.reduceOrder = [], this.overflowEntries = [], this.overflowOverlay = new B(this, {
1313
- anchor: () => this.overflowTriggerEl ?? null,
1314
- panel: () => this.overflowPanelEl ?? null
1315
- }), this.overflowReflowFrame = 0, this.scheduleOverflowReflow = () => {
1316
- this.overflowReflowFrame || (this.overflowReflowFrame = requestAnimationFrame(() => {
1317
- this.overflowReflowFrame = 0, this.reflowSimplifiedOverflow();
1318
- }));
1319
- }, this.onOverflowTriggerClick = async (e) => {
1320
- e.stopPropagation(), await this.overflowOverlay.toggle();
1321
- };
1322
- }
1323
- static {
1324
- this.styles = f`
1162
+ t([s({ type: String })], E.prototype, "label", void 0), t([s({
1163
+ type: String,
1164
+ attribute: "touch-mode",
1165
+ reflect: !0
1166
+ })], E.prototype, "touchMode", void 0), typeof customElements < "u" && !customElements.get("mp-quick-access-toolbar") && customElements.define("mp-quick-access-toolbar", E);
1167
+ //#endregion
1168
+ //#region libs/mintplayer-web-components/ribbon/src/mp-ribbon-tab.element.ts
1169
+ var D = "mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery", O = class extends r {
1170
+ constructor(...e) {
1171
+ super(...e), this.tabId = "", this.label = "", this.active = !1, this.idealSizes = {}, this.reduceOrder = [], this.overflowEntries = [], this.overflowOverlay = new n(this, {
1172
+ anchor: () => this.overflowTriggerEl ?? null,
1173
+ panel: () => this.overflowPanelEl ?? null
1174
+ }), this.overflowReflowFrame = 0, this.scheduleOverflowReflow = () => {
1175
+ this.overflowReflowFrame ||= requestAnimationFrame(() => {
1176
+ this.overflowReflowFrame = 0, this.reflowSimplifiedOverflow();
1177
+ });
1178
+ }, this.onOverflowTriggerClick = async (e) => {
1179
+ e.stopPropagation(), await this.overflowOverlay.toggle();
1180
+ };
1181
+ }
1182
+ static {
1183
+ this.styles = i`
1325
1184
  :host {
1326
1185
  display: none;
1327
1186
  width: 100%;
@@ -1429,56 +1288,36 @@ class w extends v {
1429
1288
  text-align: center;
1430
1289
  }
1431
1290
  `;
1432
- }
1433
- connectedCallback() {
1434
- super.connectedCallback(), typeof ResizeObserver < "u" && (this.overflowResizeObserver = new ResizeObserver(
1435
- () => this.scheduleOverflowReflow()
1436
- ), this.overflowResizeObserver.observe(this));
1437
- }
1438
- disconnectedCallback() {
1439
- super.disconnectedCallback(), this.overflowResizeObserver?.disconnect(), this.overflowResizeObserver = void 0, this.overflowReflowFrame && cancelAnimationFrame(this.overflowReflowFrame);
1440
- }
1441
- updated(e) {
1442
- (e.has("reduceOrder") || e.has("idealSizes")) && this.validateReduceOrder(), e.has("active") && this.active && this.scheduleOverflowReflow();
1443
- }
1444
- /**
1445
- * Validates the author-declared reduceOrder against the FR-6 rules:
1446
- * - Every target size must be one of `large | medium | small | popup`.
1447
- * - For each group, successive steps must be monotonically non-increasing.
1448
- * - Group IDs must reference real `<mp-ribbon-group>` children (warned but
1449
- * not blocked — Angular renders children async so a transient false
1450
- * negative is acceptable).
1451
- * Violations log a `console.warn` and the step is skipped at reflow time
1452
- * (handled in `mp-ribbon`).
1453
- */
1454
- validateReduceOrder() {
1455
- if (this.reduceOrder.length === 0) return;
1456
- const e = {
1457
- large: 3,
1458
- medium: 2,
1459
- small: 1,
1460
- popup: 0
1461
- }, i = (t) => this.idealSizes[t] ?? "large", r = /* @__PURE__ */ new Map();
1462
- for (let t = 0; t < this.reduceOrder.length; t++) {
1463
- const o = this.reduceOrder[t], [n, a] = o;
1464
- if (!(a in e)) {
1465
- console.warn(
1466
- `[mp-ribbon-tab "${this.tabId}"] reduceOrder[${t}] has invalid size "${a}". Expected large | medium | small | popup.`
1467
- );
1468
- continue;
1469
- }
1470
- const l = r.get(n) ?? i(n);
1471
- if (e[a] >= e[l]) {
1472
- console.warn(
1473
- `[mp-ribbon-tab "${this.tabId}"] reduceOrder[${t}] for "${n}" goes ${l} → ${a}, which is not a reduction. Steps must monotonically decrease size per group.`
1474
- );
1475
- continue;
1476
- }
1477
- r.set(n, a);
1478
- }
1479
- }
1480
- render() {
1481
- return d`
1291
+ }
1292
+ connectedCallback() {
1293
+ super.connectedCallback(), typeof ResizeObserver < "u" && (this.overflowResizeObserver = new ResizeObserver(() => this.scheduleOverflowReflow()), this.overflowResizeObserver.observe(this));
1294
+ }
1295
+ disconnectedCallback() {
1296
+ super.disconnectedCallback(), this.overflowResizeObserver?.disconnect(), this.overflowResizeObserver = void 0, this.overflowReflowFrame && cancelAnimationFrame(this.overflowReflowFrame);
1297
+ }
1298
+ updated(e) {
1299
+ (e.has("reduceOrder") || e.has("idealSizes")) && this.validateReduceOrder(), e.has("active") && this.active && this.scheduleOverflowReflow();
1300
+ }
1301
+ validateReduceOrder() {
1302
+ if (this.reduceOrder.length === 0) return;
1303
+ let e = {
1304
+ large: 3,
1305
+ medium: 2,
1306
+ small: 1,
1307
+ popup: 0
1308
+ }, t = (e) => this.idealSizes[e] ?? "large", n = /* @__PURE__ */ new Map();
1309
+ for (let r = 0; r < this.reduceOrder.length; r++) {
1310
+ let [i, a] = this.reduceOrder[r];
1311
+ if (!(a in e)) {
1312
+ console.warn(`[mp-ribbon-tab "${this.tabId}"] reduceOrder[${r}] has invalid size "${a}". Expected large | medium | small | popup.`);
1313
+ continue;
1314
+ }
1315
+ let o = n.get(i) ?? t(i);
1316
+ e[a] >= e[o] ? console.warn(`[mp-ribbon-tab "${this.tabId}"] reduceOrder[${r}] for "${i}" goes ${o} → ${a}, which is not a reduction. Steps must monotonically decrease size per group.`) : n.set(i, a);
1317
+ }
1318
+ }
1319
+ render() {
1320
+ return a`
1482
1321
  <slot @slotchange="${this.scheduleOverflowReflow}"></slot>
1483
1322
  <button
1484
1323
  class="overflow-trigger"
@@ -1494,172 +1333,134 @@ class w extends v {
1494
1333
  role="menu"
1495
1334
  aria-label="Overflow commands"
1496
1335
  >
1497
- ${this.overflowEntries.map(
1498
- (e) => d`
1336
+ ${this.overflowEntries.map((e) => a`
1499
1337
  <button
1500
1338
  class="overflow-entry"
1501
1339
  role="menuitem"
1502
1340
  type="button"
1503
1341
  @click="${() => this.activateOverflowEntry(e)}"
1504
1342
  >
1505
- ${e.icon ? d`<span class="overflow-entry-icon">${e.icon}</span>` : E}
1343
+ ${e.icon ? a`<span class="overflow-entry-icon">${e.icon}</span>` : o}
1506
1344
  <span>${e.label || "(unnamed)"}</span>
1507
1345
  </button>
1508
- `
1509
- )}
1346
+ `)}
1510
1347
  </div>
1511
1348
  `;
1512
- }
1513
- reflowSimplifiedOverflow() {
1514
- const e = this.getAttribute("data-ribbon-layout") === "simplified", i = Array.from(
1515
- this.querySelectorAll("mp-ribbon-group")
1516
- );
1517
- if (!e) {
1518
- for (const n of i) n.removeAttribute("data-overflow-hidden");
1519
- this.overflowEntries = [], this.removeAttribute("data-has-overflow"), this.overflowOverlay.isOpen && this.overflowOverlay.close(!1);
1520
- return;
1521
- }
1522
- for (const n of i) n.removeAttribute("data-overflow-hidden");
1523
- const r = this.clientWidth;
1524
- if (r <= 0 || i.length === 0) {
1525
- this.overflowEntries = [], this.removeAttribute("data-has-overflow");
1526
- return;
1527
- }
1528
- const t = i.slice(
1529
- ge(
1530
- i.map((n) => n.offsetWidth),
1531
- r
1532
- )
1533
- );
1534
- for (const n of t) n.setAttribute("data-overflow-hidden", "");
1535
- const o = [];
1536
- for (const n of t) {
1537
- const a = n.querySelectorAll(we);
1538
- for (const l of Array.from(a))
1539
- l.hasAttribute("disabled") || o.push({
1540
- label: l.getAttribute("label") ?? "",
1541
- icon: l.getAttribute("icon") ?? "",
1542
- target: l
1543
- });
1544
- }
1545
- this.overflowEntries = o, o.length > 0 ? this.setAttribute("data-has-overflow", "") : (this.removeAttribute("data-has-overflow"), this.overflowOverlay.isOpen && this.overflowOverlay.close(!1));
1546
- }
1547
- /** Activate an overflow item by forwarding `.click()` to the original element. */
1548
- activateOverflowEntry(e) {
1549
- this.overflowOverlay.close(), e.target.click();
1550
- }
1551
- }
1552
- k([
1553
- b({ type: String, attribute: "tab-id", reflect: !0 })
1554
- ], w.prototype, "tabId");
1555
- k([
1556
- b({ type: String, reflect: !0 })
1557
- ], w.prototype, "label");
1558
- k([
1559
- b({ type: Boolean, reflect: !0 })
1560
- ], w.prototype, "active");
1561
- k([
1562
- b({ attribute: !1 })
1563
- ], w.prototype, "idealSizes");
1564
- k([
1565
- b({ attribute: !1 })
1566
- ], w.prototype, "reduceOrder");
1567
- k([
1568
- z()
1569
- ], w.prototype, "overflowEntries");
1570
- k([
1571
- F(".overflow-trigger")
1572
- ], w.prototype, "overflowTriggerEl");
1573
- k([
1574
- F(".overflow-panel")
1575
- ], w.prototype, "overflowPanelEl");
1576
- customElements.define("mp-ribbon-tab", w);
1577
- var ke = Object.defineProperty, q = (s, e, i, r) => {
1578
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
1579
- (n = s[o]) && (t = n(e, i, t) || t);
1580
- return t && ke(e, i, t), t;
1349
+ }
1350
+ reflowSimplifiedOverflow() {
1351
+ let e = this.getAttribute("data-ribbon-layout") === "simplified", t = Array.from(this.querySelectorAll("mp-ribbon-group"));
1352
+ if (!e) {
1353
+ for (let e of t) e.removeAttribute("data-overflow-hidden");
1354
+ this.overflowEntries = [], this.removeAttribute("data-has-overflow"), this.overflowOverlay.isOpen && this.overflowOverlay.close(!1);
1355
+ return;
1356
+ }
1357
+ for (let e of t) e.removeAttribute("data-overflow-hidden");
1358
+ let n = this.clientWidth;
1359
+ if (n <= 0 || t.length === 0) {
1360
+ this.overflowEntries = [], this.removeAttribute("data-has-overflow");
1361
+ return;
1362
+ }
1363
+ let r = t.slice(S(t.map((e) => e.offsetWidth), n));
1364
+ for (let e of r) e.setAttribute("data-overflow-hidden", "");
1365
+ let i = [];
1366
+ for (let e of r) {
1367
+ let t = e.querySelectorAll(D);
1368
+ for (let e of Array.from(t)) e.hasAttribute("disabled") || i.push({
1369
+ label: e.getAttribute("label") ?? "",
1370
+ icon: e.getAttribute("icon") ?? "",
1371
+ target: e
1372
+ });
1373
+ }
1374
+ this.overflowEntries = i, i.length > 0 ? this.setAttribute("data-has-overflow", "") : (this.removeAttribute("data-has-overflow"), this.overflowOverlay.isOpen && this.overflowOverlay.close(!1));
1375
+ }
1376
+ activateOverflowEntry(e) {
1377
+ this.overflowOverlay.close(), e.target.click();
1378
+ }
1581
1379
  };
1582
- class D extends v {
1583
- constructor() {
1584
- super(...arguments), this.label = "", this.color = "#F0AF84", this.hidden = !1;
1585
- }
1586
- static {
1587
- this.styles = f`
1380
+ t([s({
1381
+ type: String,
1382
+ attribute: "tab-id",
1383
+ reflect: !0
1384
+ })], O.prototype, "tabId", void 0), t([s({
1385
+ type: String,
1386
+ reflect: !0
1387
+ })], O.prototype, "label", void 0), t([s({
1388
+ type: Boolean,
1389
+ reflect: !0
1390
+ })], O.prototype, "active", void 0), t([s({ attribute: !1 })], O.prototype, "idealSizes", void 0), t([s({ attribute: !1 })], O.prototype, "reduceOrder", void 0), t([l()], O.prototype, "overflowEntries", void 0), t([c(".overflow-trigger")], O.prototype, "overflowTriggerEl", void 0), t([c(".overflow-panel")], O.prototype, "overflowPanelEl", void 0), customElements.define("mp-ribbon-tab", O);
1391
+ //#endregion
1392
+ //#region libs/mintplayer-web-components/ribbon/src/mp-ribbon-contextual-tab-set.element.ts
1393
+ var k = class extends r {
1394
+ constructor(...e) {
1395
+ super(...e), this.label = "", this.color = "#F0AF84", this.hidden = !1;
1396
+ }
1397
+ static {
1398
+ this.styles = i`
1588
1399
  :host { display: contents; }
1589
1400
  `;
1590
- }
1591
- updated(e) {
1592
- (e.has("hidden") || e.has("label") || e.has("color")) && this.dispatchEvent(
1593
- new CustomEvent("contextual-visibility-change", {
1594
- detail: { hidden: this.hidden, label: this.label, color: this.color },
1595
- bubbles: !0,
1596
- composed: !0
1597
- })
1598
- );
1599
- }
1600
- render() {
1601
- return d`<slot></slot>`;
1602
- }
1603
- }
1604
- q([
1605
- b({ type: String, reflect: !0 })
1606
- ], D.prototype, "label");
1607
- q([
1608
- b({ type: String, reflect: !0 })
1609
- ], D.prototype, "color");
1610
- q([
1611
- b({ type: Boolean, reflect: !0 })
1612
- ], D.prototype, "hidden");
1613
- customElements.define("mp-ribbon-contextual-tab-set", D);
1614
- var Ae = Object.defineProperty, C = (s, e, i, r) => {
1615
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
1616
- (n = s[o]) && (t = n(e, i, t) || t);
1617
- return t && Ae(e, i, t), t;
1401
+ }
1402
+ updated(e) {
1403
+ (e.has("hidden") || e.has("label") || e.has("color")) && this.dispatchEvent(new CustomEvent("contextual-visibility-change", {
1404
+ detail: {
1405
+ hidden: this.hidden,
1406
+ label: this.label,
1407
+ color: this.color
1408
+ },
1409
+ bubbles: !0,
1410
+ composed: !0
1411
+ }));
1412
+ }
1413
+ render() {
1414
+ return a`<slot></slot>`;
1415
+ }
1618
1416
  };
1619
- const A = class K extends v {
1620
- constructor() {
1621
- super(...arguments), this.groupId = "", this.label = "", this.icon = "", this.dialogLauncher = "", this.resolvedSize = "", this.priority = 0, this.autoScale = "true", this.overlay = new B(this, {
1622
- anchor: () => this.renderRoot.querySelector(".ribbon-popup-trigger"),
1623
- panel: () => this.renderRoot.querySelector(".ribbon-group"),
1624
- stickyOnAnchorOffscreen: !0,
1625
- onOpen: async () => {
1626
- await this.updateComplete, this.collectItems()[0]?.focus();
1627
- }
1628
- }), this.onFocusIn = (e) => {
1629
- if (!e.target) return;
1630
- const t = e.composedPath().find(
1631
- (o) => o instanceof HTMLElement && o.matches(K.ITEM_SELECTOR) && this.contains(o)
1632
- );
1633
- if (t)
1634
- for (const o of this.collectItems())
1635
- o.setAttribute("tabindex", o === t ? "0" : "-1");
1636
- }, this.onGroupKeyDown = (e) => {
1637
- if (e.ctrlKey || e.altKey || e.shiftKey || e.metaKey) return;
1638
- const { key: i } = e;
1639
- if (i !== "ArrowLeft" && i !== "ArrowRight" && i !== "Home" && i !== "End")
1640
- return;
1641
- const r = e.composedPath(), t = r[0];
1642
- if (t && t instanceof HTMLElement) {
1643
- const h = t.tagName;
1644
- if (h === "SELECT" || h === "INPUT" || h === "TEXTAREA") return;
1645
- }
1646
- if (r.some((h) => h instanceof HTMLElement && h.tagName === "MP-RIBBON-GALLERY"))
1647
- return;
1648
- const o = this.collectItems();
1649
- if (o.length === 0) return;
1650
- const n = r.find(
1651
- (h) => h instanceof HTMLElement && o.includes(h)
1652
- ), a = n ? o.indexOf(n) : -1, l = getComputedStyle(this).direction === "rtl", p = l ? i === "ArrowLeft" : i === "ArrowRight", c = l ? i === "ArrowRight" : i === "ArrowLeft";
1653
- let u = a;
1654
- c ? u = a <= 0 ? o.length - 1 : a - 1 : p ? u = a >= o.length - 1 ? 0 : a + 1 : i === "Home" ? u = 0 : i === "End" && (u = o.length - 1), u !== a && u >= 0 && (o[u].focus(), e.preventDefault());
1655
- }, this.onTriggerClick = async (e) => {
1656
- e.stopPropagation(), await this.overlay.toggle();
1657
- }, this.onTriggerKeyDown = async (e) => {
1658
- e.key === "ArrowDown" && !this.overlay.isOpen && (e.preventDefault(), await this.overlay.open());
1659
- };
1660
- }
1661
- static {
1662
- this.styles = f`
1417
+ t([s({
1418
+ type: String,
1419
+ reflect: !0
1420
+ })], k.prototype, "label", void 0), t([s({
1421
+ type: String,
1422
+ reflect: !0
1423
+ })], k.prototype, "color", void 0), t([s({
1424
+ type: Boolean,
1425
+ reflect: !0
1426
+ })], k.prototype, "hidden", void 0), customElements.define("mp-ribbon-contextual-tab-set", k);
1427
+ //#endregion
1428
+ //#region libs/mintplayer-web-components/ribbon/src/mp-ribbon-group.element.ts
1429
+ var A = class e extends r {
1430
+ constructor(...t) {
1431
+ super(...t), this.groupId = "", this.label = "", this.icon = "", this.dialogLauncher = "", this.resolvedSize = "", this.priority = 0, this.autoScale = "true", this.overlay = new n(this, {
1432
+ anchor: () => this.renderRoot.querySelector(".ribbon-popup-trigger"),
1433
+ panel: () => this.renderRoot.querySelector(".ribbon-group"),
1434
+ stickyOnAnchorOffscreen: !0,
1435
+ onOpen: async () => {
1436
+ await this.updateComplete, this.collectItems()[0]?.focus();
1437
+ }
1438
+ }), this.onFocusIn = (t) => {
1439
+ if (!t.target) return;
1440
+ let n = t.composedPath().find((t) => t instanceof HTMLElement && t.matches(e.ITEM_SELECTOR) && this.contains(t));
1441
+ if (n) for (let e of this.collectItems()) e.setAttribute("tabindex", e === n ? "0" : "-1");
1442
+ }, this.onGroupKeyDown = (e) => {
1443
+ if (e.ctrlKey || e.altKey || e.shiftKey || e.metaKey) return;
1444
+ let { key: t } = e;
1445
+ if (t !== "ArrowLeft" && t !== "ArrowRight" && t !== "Home" && t !== "End") return;
1446
+ let n = e.composedPath(), r = n[0];
1447
+ if (r && r instanceof HTMLElement) {
1448
+ let e = r.tagName;
1449
+ if (e === "SELECT" || e === "INPUT" || e === "TEXTAREA") return;
1450
+ }
1451
+ if (n.some((e) => e instanceof HTMLElement && e.tagName === "MP-RIBBON-GALLERY")) return;
1452
+ let i = this.collectItems();
1453
+ if (i.length === 0) return;
1454
+ let a = n.find((e) => e instanceof HTMLElement && i.includes(e)), o = a ? i.indexOf(a) : -1, s = getComputedStyle(this).direction === "rtl", c = s ? t === "ArrowLeft" : t === "ArrowRight", l = s ? t === "ArrowRight" : t === "ArrowLeft", u = o;
1455
+ l ? u = o <= 0 ? i.length - 1 : o - 1 : c ? u = o >= i.length - 1 ? 0 : o + 1 : t === "Home" ? u = 0 : t === "End" && (u = i.length - 1), u !== o && u >= 0 && (i[u].focus(), e.preventDefault());
1456
+ }, this.onTriggerClick = async (e) => {
1457
+ e.stopPropagation(), await this.overlay.toggle();
1458
+ }, this.onTriggerKeyDown = async (e) => {
1459
+ e.key === "ArrowDown" && !this.overlay.isOpen && (e.preventDefault(), await this.overlay.open());
1460
+ };
1461
+ }
1462
+ static {
1463
+ this.styles = i`
1663
1464
  :host { display: inline-flex; position: relative; }
1664
1465
  :host::after {
1665
1466
  content: '';
@@ -1828,40 +1629,34 @@ const A = class K extends v {
1828
1629
  display: flex !important;
1829
1630
  }
1830
1631
  `;
1831
- }
1832
- static {
1833
- this.ITEM_SELECTOR = "mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery";
1834
- }
1835
- connectedCallback() {
1836
- super.connectedCallback(), this.addEventListener("focusin", this.onFocusIn), this.addEventListener("keydown", this.onGroupKeyDown), this.slotObserver = new MutationObserver(() => this.applyRovingTabindex()), this.slotObserver.observe(this, { childList: !0, subtree: !0 }), Promise.resolve().then(() => this.applyRovingTabindex());
1837
- }
1838
- disconnectedCallback() {
1839
- super.disconnectedCallback(), this.removeEventListener("focusin", this.onFocusIn), this.removeEventListener("keydown", this.onGroupKeyDown), this.slotObserver?.disconnect(), this.slotObserver = void 0;
1840
- }
1841
- /**
1842
- * Roving tabindex (APG toolbar pattern). The first non-disabled item gets
1843
- * `tabindex="0"`; the rest get `tabindex="-1"`. When focus moves between
1844
- * items, `onFocusIn` updates which item is currently tabbable so that Tab
1845
- * away + Tab back returns focus to the last visited item in this group.
1846
- */
1847
- applyRovingTabindex() {
1848
- const e = this.collectItems();
1849
- if (e.length === 0) return;
1850
- let i = e.find((r) => r.getAttribute("tabindex") === "0");
1851
- i || (i = e[0]);
1852
- for (const r of e)
1853
- r.setAttribute("tabindex", r === i ? "0" : "-1");
1854
- }
1855
- collectItems() {
1856
- return Array.from(
1857
- this.querySelectorAll(K.ITEM_SELECTOR)
1858
- ).filter((e) => !e.hasAttribute("disabled"));
1859
- }
1860
- updated(e) {
1861
- e.has("resolvedSize") && this.resolvedSize !== "popup" && this.overlay.isOpen && this.overlay.close(!1);
1862
- }
1863
- render() {
1864
- return d`
1632
+ }
1633
+ static {
1634
+ this.ITEM_SELECTOR = "mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery";
1635
+ }
1636
+ connectedCallback() {
1637
+ super.connectedCallback(), this.addEventListener("focusin", this.onFocusIn), this.addEventListener("keydown", this.onGroupKeyDown), this.slotObserver = new MutationObserver(() => this.applyRovingTabindex()), this.slotObserver.observe(this, {
1638
+ childList: !0,
1639
+ subtree: !0
1640
+ }), Promise.resolve().then(() => this.applyRovingTabindex());
1641
+ }
1642
+ disconnectedCallback() {
1643
+ super.disconnectedCallback(), this.removeEventListener("focusin", this.onFocusIn), this.removeEventListener("keydown", this.onGroupKeyDown), this.slotObserver?.disconnect(), this.slotObserver = void 0;
1644
+ }
1645
+ applyRovingTabindex() {
1646
+ let e = this.collectItems();
1647
+ if (e.length === 0) return;
1648
+ let t = e.find((e) => e.getAttribute("tabindex") === "0");
1649
+ t ||= e[0];
1650
+ for (let n of e) n.setAttribute("tabindex", n === t ? "0" : "-1");
1651
+ }
1652
+ collectItems() {
1653
+ return Array.from(this.querySelectorAll(e.ITEM_SELECTOR)).filter((e) => !e.hasAttribute("disabled"));
1654
+ }
1655
+ updated(e) {
1656
+ e.has("resolvedSize") && this.resolvedSize !== "popup" && this.overlay.isOpen && this.overlay.close(!1);
1657
+ }
1658
+ render() {
1659
+ return a`
1865
1660
  <div
1866
1661
  class="ribbon-group"
1867
1662
  role="toolbar"
@@ -1872,12 +1667,12 @@ const A = class K extends v {
1872
1667
  </div>
1873
1668
  <div class="ribbon-group-footer">
1874
1669
  <span class="ribbon-group-label">${this.label}</span>
1875
- ${this.dialogLauncher ? d`<button
1670
+ ${this.dialogLauncher ? a`<button
1876
1671
  class="ribbon-dialog-launcher"
1877
1672
  title="${this.dialogLauncher}"
1878
1673
  aria-label="${this.dialogLauncher}"
1879
1674
  @click="${this.onDialogLauncherClick}"
1880
- >⬘</button>` : E}
1675
+ >⬘</button>` : o}
1881
1676
  </div>
1882
1677
  </div>
1883
1678
  <button
@@ -1889,53 +1684,44 @@ const A = class K extends v {
1889
1684
  @click="${this.onTriggerClick}"
1890
1685
  @keydown="${this.onTriggerKeyDown}"
1891
1686
  >
1892
- ${this.icon ? d`<span class="ribbon-popup-trigger-icon">${this.icon}</span>` : E}
1687
+ ${this.icon ? a`<span class="ribbon-popup-trigger-icon">${this.icon}</span>` : o}
1893
1688
  <span class="ribbon-popup-trigger-label">
1894
1689
  ${this.label}
1895
1690
  <span class="ribbon-popup-trigger-chevron">▼</span>
1896
1691
  </span>
1897
1692
  </button>
1898
1693
  `;
1899
- }
1900
- onDialogLauncherClick() {
1901
- this.dispatchEvent(
1902
- new CustomEvent("dialog-launcher-click", {
1903
- detail: { groupId: this.groupId },
1904
- bubbles: !0,
1905
- composed: !0
1906
- })
1907
- );
1908
- }
1694
+ }
1695
+ onDialogLauncherClick() {
1696
+ this.dispatchEvent(new CustomEvent("dialog-launcher-click", {
1697
+ detail: { groupId: this.groupId },
1698
+ bubbles: !0,
1699
+ composed: !0
1700
+ }));
1701
+ }
1909
1702
  };
1910
- C([
1911
- b({ type: String, attribute: "group-id", reflect: !0 })
1912
- ], A.prototype, "groupId");
1913
- C([
1914
- b({ type: String })
1915
- ], A.prototype, "label");
1916
- C([
1917
- b({ type: String })
1918
- ], A.prototype, "icon");
1919
- C([
1920
- b({ type: String, attribute: "dialog-launcher" })
1921
- ], A.prototype, "dialogLauncher");
1922
- C([
1923
- b({ type: String, attribute: "data-resolved-size", reflect: !0 })
1924
- ], A.prototype, "resolvedSize");
1925
- C([
1926
- b({ type: Number, reflect: !0 })
1927
- ], A.prototype, "priority");
1928
- C([
1929
- b({ type: String, attribute: "auto-scale", reflect: !0 })
1930
- ], A.prototype, "autoScale");
1931
- let Fe = A;
1932
- customElements.define("mp-ribbon-group", Fe);
1933
- var Ce = Object.defineProperty, I = (s, e, i, r) => {
1934
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
1935
- (n = s[o]) && (t = n(e, i, t) || t);
1936
- return t && Ce(e, i, t), t;
1937
- };
1938
- const O = f`
1703
+ t([s({
1704
+ type: String,
1705
+ attribute: "group-id",
1706
+ reflect: !0
1707
+ })], A.prototype, "groupId", void 0), t([s({ type: String })], A.prototype, "label", void 0), t([s({ type: String })], A.prototype, "icon", void 0), t([s({
1708
+ type: String,
1709
+ attribute: "dialog-launcher"
1710
+ })], A.prototype, "dialogLauncher", void 0), t([s({
1711
+ type: String,
1712
+ attribute: "data-resolved-size",
1713
+ reflect: !0
1714
+ })], A.prototype, "resolvedSize", void 0), t([s({
1715
+ type: Number,
1716
+ reflect: !0
1717
+ })], A.prototype, "priority", void 0), t([s({
1718
+ type: String,
1719
+ attribute: "auto-scale",
1720
+ reflect: !0
1721
+ })], A.prototype, "autoScale", void 0), customElements.define("mp-ribbon-group", A);
1722
+ //#endregion
1723
+ //#region libs/mintplayer-web-components/ribbon/src/items/mp-ribbon-item-base.ts
1724
+ var j = i`
1939
1725
  :host([size="large"]) ::slotted([slot="icon"]) {
1940
1726
  font-size: 28px;
1941
1727
  width: 28px;
@@ -1972,67 +1758,45 @@ const O = f`
1972
1758
  height: 14px !important;
1973
1759
  line-height: 1 !important;
1974
1760
  }
1975
- `;
1976
- class g extends v {
1977
- constructor() {
1978
- super(...arguments), this.itemId = "", this.label = "", this.icon = "", this.size = "medium", this.disabled = !1, this.tooltip = "";
1979
- }
1980
- static {
1981
- this.shadowRootOptions = {
1982
- ...v.shadowRootOptions,
1983
- delegatesFocus: !0
1984
- };
1985
- }
1986
- /**
1987
- * Emit the canonical `item-click` event. Subclasses wire this to their
1988
- * primary activation surface (typically `@click` on the inner button).
1989
- * Previously the base bound a host-level click listener, which fired on
1990
- * any bubbled click — clicking a checkbox input, a split-button's
1991
- * chevron, or a dropdown trigger would all spuriously fire `item-click`
1992
- * in addition to the kind-specific event. Item kinds now decide
1993
- * explicitly when an item-click happens.
1994
- */
1995
- emitItemClick(e) {
1996
- this.disabled || this.dispatchEvent(
1997
- new CustomEvent("item-click", {
1998
- detail: { itemId: this.itemId },
1999
- bubbles: !0,
2000
- composed: !0
2001
- })
2002
- );
2003
- }
2004
- getSizeClass() {
2005
- return `ribbon-item-${this.size}`;
2006
- }
2007
- getDisabledAttr() {
2008
- return this.disabled ? "disabled" : null;
2009
- }
2010
- /** Mirror `size` → `data-size` for FR-5 consumer-CSS hooks. */
2011
- updated(e) {
2012
- super.updated(e), e.has("size") && this.setAttribute("data-size", this.size);
2013
- }
2014
- }
2015
- I([
2016
- b({ type: String, attribute: "item-id" })
2017
- ], g.prototype, "itemId");
2018
- I([
2019
- b({ type: String })
2020
- ], g.prototype, "label");
2021
- I([
2022
- b({ type: String })
2023
- ], g.prototype, "icon");
2024
- I([
2025
- b({ type: String, reflect: !0 })
2026
- ], g.prototype, "size");
2027
- I([
2028
- b({ type: Boolean })
2029
- ], g.prototype, "disabled");
2030
- I([
2031
- b({ type: String })
2032
- ], g.prototype, "tooltip");
2033
- class $e extends g {
2034
- static {
2035
- this.styles = [O, f`
1761
+ `, M = class extends r {
1762
+ constructor(...e) {
1763
+ super(...e), this.itemId = "", this.label = "", this.icon = "", this.size = "medium", this.disabled = !1, this.tooltip = "";
1764
+ }
1765
+ static {
1766
+ this.shadowRootOptions = {
1767
+ ...r.shadowRootOptions,
1768
+ delegatesFocus: !0
1769
+ };
1770
+ }
1771
+ emitItemClick(e) {
1772
+ this.disabled || this.dispatchEvent(new CustomEvent("item-click", {
1773
+ detail: { itemId: this.itemId },
1774
+ bubbles: !0,
1775
+ composed: !0
1776
+ }));
1777
+ }
1778
+ getSizeClass() {
1779
+ return `ribbon-item-${this.size}`;
1780
+ }
1781
+ getDisabledAttr() {
1782
+ return this.disabled ? "disabled" : null;
1783
+ }
1784
+ updated(e) {
1785
+ super.updated(e), e.has("size") && this.setAttribute("data-size", this.size);
1786
+ }
1787
+ };
1788
+ t([s({
1789
+ type: String,
1790
+ attribute: "item-id"
1791
+ })], M.prototype, "itemId", void 0), t([s({ type: String })], M.prototype, "label", void 0), t([s({ type: String })], M.prototype, "icon", void 0), t([s({
1792
+ type: String,
1793
+ reflect: !0
1794
+ })], M.prototype, "size", void 0), t([s({ type: Boolean })], M.prototype, "disabled", void 0), t([s({ type: String })], M.prototype, "tooltip", void 0);
1795
+ //#endregion
1796
+ //#region libs/mintplayer-web-components/ribbon/src/items/mp-ribbon-button.element.ts
1797
+ var N = class extends M {
1798
+ static {
1799
+ this.styles = [j, i`
2036
1800
  :host { display: inline-flex; }
2037
1801
  :host([size="small"]) { display: flex; width: 100%; }
2038
1802
  .ribbon-button {
@@ -2081,9 +1845,9 @@ class $e extends g {
2081
1845
  .ribbon-button-icon { line-height: 1; font-size: 16px; }
2082
1846
  .ribbon-button-label { white-space: nowrap; }
2083
1847
  `];
2084
- }
2085
- render() {
2086
- return d`
1848
+ }
1849
+ render() {
1850
+ return a`
2087
1851
  <button
2088
1852
  class="ribbon-button ${this.getSizeClass()}"
2089
1853
  ?disabled="${this.disabled}"
@@ -2093,50 +1857,41 @@ class $e extends g {
2093
1857
  <span class="ribbon-button-icon">
2094
1858
  <slot name="icon">${this.icon ? this.icon : ""}</slot>
2095
1859
  </span>
2096
- ${this.label ? d`<span class="ribbon-button-label">${this.label}</span>` : ""}
1860
+ ${this.label ? a`<span class="ribbon-button-label">${this.label}</span>` : ""}
2097
1861
  </button>
2098
1862
  `;
2099
- }
2100
- }
2101
- customElements.define("mp-ribbon-button", $e);
2102
- var Ee = Object.defineProperty, N = (s, e, i, r) => {
2103
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
2104
- (n = s[o]) && (t = n(e, i, t) || t);
2105
- return t && Ee(e, i, t), t;
1863
+ }
2106
1864
  };
2107
- class M extends g {
2108
- constructor() {
2109
- super(...arguments), this.overlay = new B(this, {
2110
- anchor: () => this.chevronEl,
2111
- panel: () => this.panelEl,
2112
- onOpen: () => this.emitMenuToggle(!0),
2113
- onClose: () => this.emitMenuToggle(!1)
2114
- }), this.onMainClick = (e) => {
2115
- this.disabled || (e.stopPropagation(), this.dispatchEvent(
2116
- new CustomEvent("main-action", {
2117
- detail: { itemId: this.itemId },
2118
- bubbles: !0,
2119
- composed: !0
2120
- })
2121
- ), this.dispatchEvent(
2122
- new CustomEvent("item-click", {
2123
- detail: { itemId: this.itemId },
2124
- bubbles: !0,
2125
- composed: !0
2126
- })
2127
- ));
2128
- }, this.onChevronClick = async (e) => {
2129
- this.disabled || (e.stopPropagation(), await this.overlay.toggle());
2130
- }, this.onChevronKeyDown = async (e) => {
2131
- this.disabled || e.key === "ArrowDown" && (e.preventDefault(), this.overlay.isOpen || await this.overlay.open());
2132
- }, this.onMenuClick = (e) => {
2133
- e.target.closest(
2134
- 'mp-ribbon-menu-item, [role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]'
2135
- ) && this.overlay.close();
2136
- };
2137
- }
2138
- static {
2139
- this.styles = [O, f`
1865
+ customElements.define("mp-ribbon-button", N);
1866
+ //#endregion
1867
+ //#region libs/mintplayer-web-components/ribbon/src/items/mp-ribbon-split-button.element.ts
1868
+ var P = class extends M {
1869
+ constructor(...e) {
1870
+ super(...e), this.overlay = new n(this, {
1871
+ anchor: () => this.chevronEl,
1872
+ panel: () => this.panelEl,
1873
+ onOpen: () => this.emitMenuToggle(!0),
1874
+ onClose: () => this.emitMenuToggle(!1)
1875
+ }), this.onMainClick = (e) => {
1876
+ this.disabled || (e.stopPropagation(), this.dispatchEvent(new CustomEvent("main-action", {
1877
+ detail: { itemId: this.itemId },
1878
+ bubbles: !0,
1879
+ composed: !0
1880
+ })), this.dispatchEvent(new CustomEvent("item-click", {
1881
+ detail: { itemId: this.itemId },
1882
+ bubbles: !0,
1883
+ composed: !0
1884
+ })));
1885
+ }, this.onChevronClick = async (e) => {
1886
+ this.disabled || (e.stopPropagation(), await this.overlay.toggle());
1887
+ }, this.onChevronKeyDown = async (e) => {
1888
+ this.disabled || e.key === "ArrowDown" && (e.preventDefault(), this.overlay.isOpen || await this.overlay.open());
1889
+ }, this.onMenuClick = (e) => {
1890
+ e.target.closest("mp-ribbon-menu-item, [role=\"menuitem\"], [role=\"menuitemcheckbox\"], [role=\"menuitemradio\"]") && this.overlay.close();
1891
+ };
1892
+ }
1893
+ static {
1894
+ this.styles = [j, i`
2140
1895
  :host { display: inline-flex; position: relative; }
2141
1896
  .ribbon-split-button {
2142
1897
  display: inline-flex;
@@ -2231,9 +1986,9 @@ class M extends g {
2231
1986
  }
2232
1987
  :host([data-menu-open]) .menu-panel { display: block; }
2233
1988
  `];
2234
- }
2235
- render() {
2236
- return d`
1989
+ }
1990
+ render() {
1991
+ return a`
2237
1992
  <div
2238
1993
  class="ribbon-split-button ${this.getSizeClass()}"
2239
1994
  role="group"
@@ -2248,7 +2003,7 @@ class M extends g {
2248
2003
  <span class="ribbon-button-icon">
2249
2004
  <slot name="icon">${this.icon ? this.icon : ""}</slot>
2250
2005
  </span>
2251
- ${this.label ? d`<span class="ribbon-button-label">${this.label}</span>` : ""}
2006
+ ${this.label ? a`<span class="ribbon-button-label">${this.label}</span>` : ""}
2252
2007
  </button>
2253
2008
  <button
2254
2009
  class="ribbon-split-button-dropdown"
@@ -2264,65 +2019,56 @@ class M extends g {
2264
2019
  <slot name="menu"></slot>
2265
2020
  </div>
2266
2021
  `;
2267
- }
2268
- emitMenuToggle(e) {
2269
- this.dispatchEvent(
2270
- new CustomEvent("menu-toggle", {
2271
- detail: { itemId: this.itemId, open: e },
2272
- bubbles: !0,
2273
- composed: !0
2274
- })
2275
- );
2276
- }
2277
- }
2278
- N([
2279
- F(".ribbon-split-button")
2280
- ], M.prototype, "groupEl");
2281
- N([
2282
- F(".ribbon-split-button-dropdown")
2283
- ], M.prototype, "chevronEl");
2284
- N([
2285
- F(".menu-panel")
2286
- ], M.prototype, "panelEl");
2287
- customElements.define("mp-ribbon-split-button", M);
2288
- var Ie = Object.defineProperty, Z = (s, e, i, r) => {
2289
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
2290
- (n = s[o]) && (t = n(e, i, t) || t);
2291
- return t && Ie(e, i, t), t;
2022
+ }
2023
+ emitMenuToggle(e) {
2024
+ this.dispatchEvent(new CustomEvent("menu-toggle", {
2025
+ detail: {
2026
+ itemId: this.itemId,
2027
+ open: e
2028
+ },
2029
+ bubbles: !0,
2030
+ composed: !0
2031
+ }));
2032
+ }
2292
2033
  };
2293
- class U extends g {
2294
- constructor() {
2295
- super(...arguments), this.overlay = new B(this, {
2296
- anchor: () => this.triggerEl,
2297
- panel: () => this.panelEl,
2298
- onOpen: () => {
2299
- this.dispatchEvent(
2300
- new CustomEvent("menu-toggle", {
2301
- detail: { itemId: this.itemId, open: !0 },
2302
- bubbles: !0,
2303
- composed: !0
2304
- })
2305
- );
2306
- },
2307
- onClose: () => {
2308
- this.dispatchEvent(
2309
- new CustomEvent("menu-toggle", {
2310
- detail: { itemId: this.itemId, open: !1 },
2311
- bubbles: !0,
2312
- composed: !0
2313
- })
2314
- );
2315
- }
2316
- }), this.onTriggerClick = async (e) => {
2317
- this.disabled || (e.stopPropagation(), await this.overlay.toggle());
2318
- }, this.onTriggerKeyDown = async (e) => {
2319
- this.disabled || (e.key === "ArrowDown" || e.key === "ArrowDown" && e.altKey) && (e.preventDefault(), this.overlay.isOpen || await this.overlay.open());
2320
- }, this.onMenuClick = (e) => {
2321
- e.target.closest('mp-ribbon-menu-item, [role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]') && this.overlay.close();
2322
- };
2323
- }
2324
- static {
2325
- this.styles = [O, f`
2034
+ t([c(".ribbon-split-button")], P.prototype, "groupEl", void 0), t([c(".ribbon-split-button-dropdown")], P.prototype, "chevronEl", void 0), t([c(".menu-panel")], P.prototype, "panelEl", void 0), customElements.define("mp-ribbon-split-button", P);
2035
+ //#endregion
2036
+ //#region libs/mintplayer-web-components/ribbon/src/items/mp-ribbon-dropdown-button.element.ts
2037
+ var F = class extends M {
2038
+ constructor(...e) {
2039
+ super(...e), this.overlay = new n(this, {
2040
+ anchor: () => this.triggerEl,
2041
+ panel: () => this.panelEl,
2042
+ onOpen: () => {
2043
+ this.dispatchEvent(new CustomEvent("menu-toggle", {
2044
+ detail: {
2045
+ itemId: this.itemId,
2046
+ open: !0
2047
+ },
2048
+ bubbles: !0,
2049
+ composed: !0
2050
+ }));
2051
+ },
2052
+ onClose: () => {
2053
+ this.dispatchEvent(new CustomEvent("menu-toggle", {
2054
+ detail: {
2055
+ itemId: this.itemId,
2056
+ open: !1
2057
+ },
2058
+ bubbles: !0,
2059
+ composed: !0
2060
+ }));
2061
+ }
2062
+ }), this.onTriggerClick = async (e) => {
2063
+ this.disabled || (e.stopPropagation(), await this.overlay.toggle());
2064
+ }, this.onTriggerKeyDown = async (e) => {
2065
+ this.disabled || (e.key === "ArrowDown" || e.key === "ArrowDown" && e.altKey) && (e.preventDefault(), this.overlay.isOpen || await this.overlay.open());
2066
+ }, this.onMenuClick = (e) => {
2067
+ e.target.closest("mp-ribbon-menu-item, [role=\"menuitem\"], [role=\"menuitemcheckbox\"], [role=\"menuitemradio\"]") && this.overlay.close();
2068
+ };
2069
+ }
2070
+ static {
2071
+ this.styles = [j, i`
2326
2072
  :host { display: inline-flex; position: relative; }
2327
2073
  :host([size="small"]) { display: flex; width: 100%; }
2328
2074
  .ribbon-dropdown-button {
@@ -2393,9 +2139,9 @@ class U extends g {
2393
2139
  }
2394
2140
  :host([data-menu-open]) .menu-panel { display: block; }
2395
2141
  `];
2396
- }
2397
- render() {
2398
- return d`
2142
+ }
2143
+ render() {
2144
+ return a`
2399
2145
  <button
2400
2146
  class="ribbon-dropdown-button ${this.getSizeClass()}"
2401
2147
  ?disabled="${this.disabled}"
@@ -2409,7 +2155,7 @@ class U extends g {
2409
2155
  <slot name="icon">${this.icon ? this.icon : ""}</slot>
2410
2156
  </span>
2411
2157
  <span class="ribbon-button-label">
2412
- ${this.label ? d`<span>${this.label}</span>` : ""}
2158
+ ${this.label ? a`<span>${this.label}</span>` : ""}
2413
2159
  <span class="ribbon-dropdown-arrow">▼</span>
2414
2160
  </span>
2415
2161
  </button>
@@ -2417,26 +2163,17 @@ class U extends g {
2417
2163
  <slot name="menu"></slot>
2418
2164
  </div>
2419
2165
  `;
2420
- }
2421
- }
2422
- Z([
2423
- F(".ribbon-dropdown-button")
2424
- ], U.prototype, "triggerEl");
2425
- Z([
2426
- F(".menu-panel")
2427
- ], U.prototype, "panelEl");
2428
- customElements.define("mp-ribbon-dropdown-button", U);
2429
- var Te = Object.defineProperty, Se = (s, e, i, r) => {
2430
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
2431
- (n = s[o]) && (t = n(e, i, t) || t);
2432
- return t && Te(e, i, t), t;
2166
+ }
2433
2167
  };
2434
- class J extends g {
2435
- constructor() {
2436
- super(...arguments), this.pressed = !1;
2437
- }
2438
- static {
2439
- this.styles = [O, f`
2168
+ t([c(".ribbon-dropdown-button")], F.prototype, "triggerEl", void 0), t([c(".menu-panel")], F.prototype, "panelEl", void 0), customElements.define("mp-ribbon-dropdown-button", F);
2169
+ //#endregion
2170
+ //#region libs/mintplayer-web-components/ribbon/src/items/mp-ribbon-toggle-button.element.ts
2171
+ var I = class extends M {
2172
+ constructor(...e) {
2173
+ super(...e), this.pressed = !1;
2174
+ }
2175
+ static {
2176
+ this.styles = [j, i`
2440
2177
  :host { display: inline-flex; }
2441
2178
  :host([size="small"]) { display: flex; width: 100%; }
2442
2179
  .ribbon-toggle-button {
@@ -2487,9 +2224,9 @@ class J extends g {
2487
2224
  .ribbon-button-icon { line-height: 1; font-size: 16px; }
2488
2225
  .ribbon-button-label { white-space: nowrap; }
2489
2226
  `];
2490
- }
2491
- render() {
2492
- return d`
2227
+ }
2228
+ render() {
2229
+ return a`
2493
2230
  <button
2494
2231
  class="ribbon-toggle-button ${this.getSizeClass()} ${this.pressed ? "pressed" : ""}"
2495
2232
  ?disabled="${this.disabled}"
@@ -2500,35 +2237,33 @@ class J extends g {
2500
2237
  <span class="ribbon-button-icon">
2501
2238
  <slot name="icon">${this.icon ? this.icon : ""}</slot>
2502
2239
  </span>
2503
- ${this.label ? d`<span class="ribbon-button-label">${this.label}</span>` : ""}
2240
+ ${this.label ? a`<span class="ribbon-button-label">${this.label}</span>` : ""}
2504
2241
  </button>
2505
2242
  `;
2506
- }
2507
- onToggleClick() {
2508
- this.disabled || (this.pressed = !this.pressed, this.dispatchEvent(
2509
- new CustomEvent("toggle", {
2510
- detail: { itemId: this.itemId, pressed: this.pressed },
2511
- bubbles: !0,
2512
- composed: !0
2513
- })
2514
- ));
2515
- }
2516
- }
2517
- Se([
2518
- b({ type: Boolean, reflect: !0 })
2519
- ], J.prototype, "pressed");
2520
- customElements.define("mp-ribbon-toggle-button", J);
2521
- var ze = Object.defineProperty, Oe = (s, e, i, r) => {
2522
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
2523
- (n = s[o]) && (t = n(e, i, t) || t);
2524
- return t && ze(e, i, t), t;
2243
+ }
2244
+ onToggleClick() {
2245
+ this.disabled || (this.pressed = !this.pressed, this.dispatchEvent(new CustomEvent("toggle", {
2246
+ detail: {
2247
+ itemId: this.itemId,
2248
+ pressed: this.pressed
2249
+ },
2250
+ bubbles: !0,
2251
+ composed: !0
2252
+ })));
2253
+ }
2525
2254
  };
2526
- class ee extends g {
2527
- constructor() {
2528
- super(...arguments), this.checked = !1;
2529
- }
2530
- static {
2531
- this.styles = f`
2255
+ t([s({
2256
+ type: Boolean,
2257
+ reflect: !0
2258
+ })], I.prototype, "pressed", void 0), customElements.define("mp-ribbon-toggle-button", I);
2259
+ //#endregion
2260
+ //#region libs/mintplayer-web-components/ribbon/src/items/mp-ribbon-checkbox.element.ts
2261
+ var L = class extends M {
2262
+ constructor(...e) {
2263
+ super(...e), this.checked = !1;
2264
+ }
2265
+ static {
2266
+ this.styles = i`
2532
2267
  :host { display: inline-flex; align-items: center; }
2533
2268
  :host([size="small"]) { display: flex; width: 100%; }
2534
2269
  .ribbon-checkbox {
@@ -2560,9 +2295,9 @@ class ee extends g {
2560
2295
  }
2561
2296
  .ribbon-checkbox-label { white-space: nowrap; }
2562
2297
  `;
2563
- }
2564
- render() {
2565
- return d`
2298
+ }
2299
+ render() {
2300
+ return a`
2566
2301
  <label
2567
2302
  class="ribbon-checkbox ${this.getSizeClass()} ${this.disabled ? "disabled" : ""}"
2568
2303
  title="${this.tooltip || this.label}"
@@ -2576,34 +2311,32 @@ class ee extends g {
2576
2311
  <span class="ribbon-checkbox-label">${this.label}</span>
2577
2312
  </label>
2578
2313
  `;
2579
- }
2580
- onCheckChange(e) {
2581
- if (this.disabled) return;
2582
- const i = e.target;
2583
- this.checked = i.checked, this.dispatchEvent(
2584
- new CustomEvent("check-change", {
2585
- detail: { itemId: this.itemId, checked: this.checked },
2586
- bubbles: !0,
2587
- composed: !0
2588
- })
2589
- );
2590
- }
2591
- }
2592
- Oe([
2593
- b({ type: Boolean, reflect: !0 })
2594
- ], ee.prototype, "checked");
2595
- customElements.define("mp-ribbon-checkbox", ee);
2596
- var Re = Object.defineProperty, te = (s, e, i, r) => {
2597
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
2598
- (n = s[o]) && (t = n(e, i, t) || t);
2599
- return t && Re(e, i, t), t;
2314
+ }
2315
+ onCheckChange(e) {
2316
+ if (this.disabled) return;
2317
+ let t = e.target;
2318
+ this.checked = t.checked, this.dispatchEvent(new CustomEvent("check-change", {
2319
+ detail: {
2320
+ itemId: this.itemId,
2321
+ checked: this.checked
2322
+ },
2323
+ bubbles: !0,
2324
+ composed: !0
2325
+ }));
2326
+ }
2600
2327
  };
2601
- class H extends g {
2602
- constructor() {
2603
- super(...arguments), this.value = "", this.options = [];
2604
- }
2605
- static {
2606
- this.styles = f`
2328
+ t([s({
2329
+ type: Boolean,
2330
+ reflect: !0
2331
+ })], L.prototype, "checked", void 0), customElements.define("mp-ribbon-checkbox", L);
2332
+ //#endregion
2333
+ //#region libs/mintplayer-web-components/ribbon/src/items/mp-ribbon-combobox.element.ts
2334
+ var R = class extends M {
2335
+ constructor(...e) {
2336
+ super(...e), this.value = "", this.options = [];
2337
+ }
2338
+ static {
2339
+ this.styles = i`
2607
2340
  :host { display: inline-flex; align-items: center; }
2608
2341
  .ribbon-combobox-select {
2609
2342
  background: var(--bs-ribbon-tabpanel-bg, #fff);
@@ -2625,9 +2358,9 @@ class H extends g {
2625
2358
  cursor: not-allowed;
2626
2359
  }
2627
2360
  `;
2628
- }
2629
- render() {
2630
- return d`
2361
+ }
2362
+ render() {
2363
+ return a`
2631
2364
  <select
2632
2365
  class="ribbon-combobox-select"
2633
2366
  ?disabled="${this.disabled}"
@@ -2635,45 +2368,35 @@ class H extends g {
2635
2368
  title="${this.tooltip || this.label}"
2636
2369
  @change="${this.onComboChange}"
2637
2370
  >
2638
- ${this.options.map(
2639
- (e) => d`<option
2371
+ ${this.options.map((e) => a`<option
2640
2372
  value="${e.value}"
2641
2373
  ?selected="${e.value === this.value}"
2642
- >${e.label}</option>`
2643
- )}
2374
+ >${e.label}</option>`)}
2644
2375
  </select>
2645
2376
  `;
2646
- }
2647
- onComboChange(e) {
2648
- if (this.disabled) return;
2649
- const i = e.target;
2650
- this.value = i.value, this.dispatchEvent(
2651
- new CustomEvent("value-change", {
2652
- detail: { itemId: this.itemId, value: this.value },
2653
- bubbles: !0,
2654
- composed: !0
2655
- })
2656
- );
2657
- }
2658
- }
2659
- te([
2660
- b({ type: String })
2661
- ], H.prototype, "value");
2662
- te([
2663
- b({ type: Array })
2664
- ], H.prototype, "options");
2665
- customElements.define("mp-ribbon-combobox", H);
2666
- var Le = Object.defineProperty, Be = (s, e, i, r) => {
2667
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
2668
- (n = s[o]) && (t = n(e, i, t) || t);
2669
- return t && Le(e, i, t), t;
2377
+ }
2378
+ onComboChange(e) {
2379
+ if (this.disabled) return;
2380
+ let t = e.target;
2381
+ this.value = t.value, this.dispatchEvent(new CustomEvent("value-change", {
2382
+ detail: {
2383
+ itemId: this.itemId,
2384
+ value: this.value
2385
+ },
2386
+ bubbles: !0,
2387
+ composed: !0
2388
+ }));
2389
+ }
2670
2390
  };
2671
- class ie extends g {
2672
- constructor() {
2673
- super(...arguments), this.color = "#000000";
2674
- }
2675
- static {
2676
- this.styles = f`
2391
+ t([s({ type: String })], R.prototype, "value", void 0), t([s({ type: Array })], R.prototype, "options", void 0), customElements.define("mp-ribbon-combobox", R);
2392
+ //#endregion
2393
+ //#region libs/mintplayer-web-components/ribbon/src/items/mp-ribbon-color-picker.element.ts
2394
+ var z = class extends M {
2395
+ constructor(...e) {
2396
+ super(...e), this.color = "#000000";
2397
+ }
2398
+ static {
2399
+ this.styles = i`
2677
2400
  :host { display: inline-flex; align-items: center; }
2678
2401
  :host([size="small"]) { display: flex; width: 100%; }
2679
2402
  .ribbon-color-picker {
@@ -2717,10 +2440,10 @@ class ie extends g {
2717
2440
  }
2718
2441
  .ribbon-color-picker-label { white-space: nowrap; }
2719
2442
  `;
2720
- }
2721
- render() {
2722
- const e = this.size === "large" ? "large" : this.size === "small" ? "small" : "medium";
2723
- return d`
2443
+ }
2444
+ render() {
2445
+ let e = this.size === "large" ? "large" : this.size === "small" ? "small" : "medium";
2446
+ return a`
2724
2447
  <label
2725
2448
  class="ribbon-color-picker ${e} ${this.disabled ? "disabled" : ""}"
2726
2449
  title="${this.tooltip || this.label}"
@@ -2733,37 +2456,35 @@ class ie extends g {
2733
2456
  aria-label="${this.label}"
2734
2457
  @input="${this.onColorChange}"
2735
2458
  />
2736
- ${this.label ? d`<span class="ribbon-color-picker-label">${this.label}</span>` : ""}
2459
+ ${this.label ? a`<span class="ribbon-color-picker-label">${this.label}</span>` : ""}
2737
2460
  </label>
2738
2461
  `;
2739
- }
2740
- onColorChange(e) {
2741
- if (this.disabled) return;
2742
- const i = e.target;
2743
- this.color = i.value, this.dispatchEvent(
2744
- new CustomEvent("color-change", {
2745
- detail: { itemId: this.itemId, color: this.color },
2746
- bubbles: !0,
2747
- composed: !0
2748
- })
2749
- );
2750
- }
2751
- }
2752
- Be([
2753
- b({ type: String, reflect: !0 })
2754
- ], ie.prototype, "color");
2755
- customElements.define("mp-ribbon-color-picker", ie);
2756
- var De = Object.defineProperty, oe = (s, e, i, r) => {
2757
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
2758
- (n = s[o]) && (t = n(e, i, t) || t);
2759
- return t && De(e, i, t), t;
2462
+ }
2463
+ onColorChange(e) {
2464
+ if (this.disabled) return;
2465
+ let t = e.target;
2466
+ this.color = t.value, this.dispatchEvent(new CustomEvent("color-change", {
2467
+ detail: {
2468
+ itemId: this.itemId,
2469
+ color: this.color
2470
+ },
2471
+ bubbles: !0,
2472
+ composed: !0
2473
+ }));
2474
+ }
2760
2475
  };
2761
- class W extends g {
2762
- constructor() {
2763
- super(...arguments), this.selectedValue = "", this.buttons = [];
2764
- }
2765
- static {
2766
- this.styles = f`
2476
+ t([s({
2477
+ type: String,
2478
+ reflect: !0
2479
+ })], z.prototype, "color", void 0), customElements.define("mp-ribbon-color-picker", z);
2480
+ //#endregion
2481
+ //#region libs/mintplayer-web-components/ribbon/src/items/mp-ribbon-group-button.element.ts
2482
+ var B = class extends M {
2483
+ constructor(...e) {
2484
+ super(...e), this.selectedValue = "", this.buttons = [];
2485
+ }
2486
+ static {
2487
+ this.styles = i`
2767
2488
  :host { display: inline-flex; }
2768
2489
  .ribbon-group-button {
2769
2490
  display: inline-flex;
@@ -2801,60 +2522,54 @@ class W extends g {
2801
2522
  .ribbon-group-button-icon { line-height: 1; }
2802
2523
  .ribbon-group-button-label { white-space: nowrap; }
2803
2524
  `;
2804
- }
2805
- render() {
2806
- return d`
2525
+ }
2526
+ render() {
2527
+ return a`
2807
2528
  <div
2808
2529
  class="ribbon-group-button"
2809
2530
  role="radiogroup"
2810
2531
  aria-label="${this.label}"
2811
2532
  >
2812
- ${this.buttons.map(
2813
- (e) => d`
2533
+ ${this.buttons.map((e) => a`
2814
2534
  <button
2815
2535
  class="ribbon-group-button-item ${this.selectedValue === e.value ? "selected" : ""}"
2816
2536
  ?disabled="${this.disabled}"
2817
2537
  role="radio"
2818
2538
  aria-checked="${this.selectedValue === e.value}"
2819
2539
  title="${e.label}"
2820
- @click="${(i) => this.onSelect(i, e.value)}"
2540
+ @click="${(t) => this.onSelect(t, e.value)}"
2821
2541
  >
2822
- ${e.icon ? d`<span class="ribbon-group-button-icon">${e.icon}</span>` : ""}
2823
- ${e.label ? d`<span class="ribbon-group-button-label">${e.label}</span>` : ""}
2542
+ ${e.icon ? a`<span class="ribbon-group-button-icon">${e.icon}</span>` : ""}
2543
+ ${e.label ? a`<span class="ribbon-group-button-label">${e.label}</span>` : ""}
2824
2544
  </button>
2825
- `
2826
- )}
2545
+ `)}
2827
2546
  </div>
2828
2547
  `;
2829
- }
2830
- onSelect(e, i) {
2831
- e.stopPropagation(), !this.disabled && (this.selectedValue = i, this.dispatchEvent(
2832
- new CustomEvent("group-select", {
2833
- detail: { itemId: this.itemId, value: this.selectedValue },
2834
- bubbles: !0,
2835
- composed: !0
2836
- })
2837
- ));
2838
- }
2839
- }
2840
- oe([
2841
- b({ type: String, attribute: "selected-value", reflect: !0 })
2842
- ], W.prototype, "selectedValue");
2843
- oe([
2844
- b({ type: Array })
2845
- ], W.prototype, "buttons");
2846
- customElements.define("mp-ribbon-group-button", W);
2847
- var Me = Object.defineProperty, _e = (s, e, i, r) => {
2848
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
2849
- (n = s[o]) && (t = n(e, i, t) || t);
2850
- return t && Me(e, i, t), t;
2548
+ }
2549
+ onSelect(e, t) {
2550
+ e.stopPropagation(), !this.disabled && (this.selectedValue = t, this.dispatchEvent(new CustomEvent("group-select", {
2551
+ detail: {
2552
+ itemId: this.itemId,
2553
+ value: this.selectedValue
2554
+ },
2555
+ bubbles: !0,
2556
+ composed: !0
2557
+ })));
2558
+ }
2851
2559
  };
2852
- class re extends g {
2853
- constructor() {
2854
- super(...arguments), this.columns = 4;
2855
- }
2856
- static {
2857
- this.styles = f`
2560
+ t([s({
2561
+ type: String,
2562
+ attribute: "selected-value",
2563
+ reflect: !0
2564
+ })], B.prototype, "selectedValue", void 0), t([s({ type: Array })], B.prototype, "buttons", void 0), customElements.define("mp-ribbon-group-button", B);
2565
+ //#endregion
2566
+ //#region libs/mintplayer-web-components/ribbon/src/items/mp-ribbon-gallery.element.ts
2567
+ var V = class extends M {
2568
+ constructor(...e) {
2569
+ super(...e), this.columns = 4;
2570
+ }
2571
+ static {
2572
+ this.styles = i`
2858
2573
  :host { display: inline-flex; }
2859
2574
  .ribbon-gallery {
2860
2575
  display: grid;
@@ -2865,9 +2580,9 @@ class re extends g {
2865
2580
  background: var(--bs-ribbon-tabpanel-bg, #fff);
2866
2581
  }
2867
2582
  `;
2868
- }
2869
- render() {
2870
- return d`
2583
+ }
2584
+ render() {
2585
+ return a`
2871
2586
  <div
2872
2587
  class="ribbon-gallery"
2873
2588
  role="listbox"
@@ -2877,23 +2592,17 @@ class re extends g {
2877
2592
  <slot></slot>
2878
2593
  </div>
2879
2594
  `;
2880
- }
2881
- }
2882
- _e([
2883
- b({ type: Number })
2884
- ], re.prototype, "columns");
2885
- customElements.define("mp-ribbon-gallery", re);
2886
- var Pe = Object.defineProperty, R = (s, e, i, r) => {
2887
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
2888
- (n = s[o]) && (t = n(e, i, t) || t);
2889
- return t && Pe(e, i, t), t;
2595
+ }
2890
2596
  };
2891
- class T extends v {
2892
- constructor() {
2893
- super(...arguments), this.itemId = "", this.label = "", this.icon = "", this.selected = !1, this.disabled = !1;
2894
- }
2895
- static {
2896
- this.styles = [O, f`
2597
+ t([s({ type: Number })], V.prototype, "columns", void 0), customElements.define("mp-ribbon-gallery", V);
2598
+ //#endregion
2599
+ //#region libs/mintplayer-web-components/ribbon/src/items/mp-ribbon-gallery-item.element.ts
2600
+ var H = class extends r {
2601
+ constructor(...e) {
2602
+ super(...e), this.itemId = "", this.label = "", this.icon = "", this.selected = !1, this.disabled = !1;
2603
+ }
2604
+ static {
2605
+ this.styles = [j, i`
2897
2606
  :host { display: inline-flex; }
2898
2607
  .gallery-item {
2899
2608
  display: inline-flex;
@@ -2926,9 +2635,9 @@ class T extends v {
2926
2635
  cursor: not-allowed;
2927
2636
  }
2928
2637
  `];
2929
- }
2930
- render() {
2931
- return d`
2638
+ }
2639
+ render() {
2640
+ return a`
2932
2641
  <button
2933
2642
  class="gallery-item ${this.selected ? "selected" : ""}"
2934
2643
  ?disabled="${this.disabled}"
@@ -2939,77 +2648,60 @@ class T extends v {
2939
2648
  @click="${this.onClick}"
2940
2649
  >
2941
2650
  <slot name="icon">
2942
- ${this.icon ? d`<span>${this.icon}</span>` : d`<span>${this.label}</span>`}
2651
+ ${this.icon ? a`<span>${this.icon}</span>` : a`<span>${this.label}</span>`}
2943
2652
  </slot>
2944
2653
  </button>
2945
2654
  `;
2946
- }
2947
- onClick() {
2948
- this.disabled || this.dispatchEvent(
2949
- new CustomEvent("gallery-select", {
2950
- detail: { itemId: this.itemId },
2951
- bubbles: !0,
2952
- composed: !0
2953
- })
2954
- );
2955
- }
2956
- }
2957
- R([
2958
- b({ type: String, attribute: "item-id" })
2959
- ], T.prototype, "itemId");
2960
- R([
2961
- b({ type: String })
2962
- ], T.prototype, "label");
2963
- R([
2964
- b({ type: String })
2965
- ], T.prototype, "icon");
2966
- R([
2967
- b({ type: Boolean, reflect: !0 })
2968
- ], T.prototype, "selected");
2969
- R([
2970
- b({ type: Boolean })
2971
- ], T.prototype, "disabled");
2972
- customElements.define("mp-ribbon-gallery-item", T);
2973
- var Ke = Object.defineProperty, Ge = (s, e, i, r) => {
2974
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
2975
- (n = s[o]) && (t = n(e, i, t) || t);
2976
- return t && Ke(e, i, t), t;
2655
+ }
2656
+ onClick() {
2657
+ this.disabled || this.dispatchEvent(new CustomEvent("gallery-select", {
2658
+ detail: { itemId: this.itemId },
2659
+ bubbles: !0,
2660
+ composed: !0
2661
+ }));
2662
+ }
2977
2663
  };
2978
- class ne extends v {
2979
- constructor() {
2980
- super(...arguments), this.size = "medium";
2981
- }
2982
- static {
2983
- this.styles = f`
2664
+ t([s({
2665
+ type: String,
2666
+ attribute: "item-id"
2667
+ })], H.prototype, "itemId", void 0), t([s({ type: String })], H.prototype, "label", void 0), t([s({ type: String })], H.prototype, "icon", void 0), t([s({
2668
+ type: Boolean,
2669
+ reflect: !0
2670
+ })], H.prototype, "selected", void 0), t([s({ type: Boolean })], H.prototype, "disabled", void 0), customElements.define("mp-ribbon-gallery-item", H);
2671
+ //#endregion
2672
+ //#region libs/mintplayer-web-components/ribbon/src/items/mp-ribbon-template-item.element.ts
2673
+ var U = class extends r {
2674
+ constructor(...e) {
2675
+ super(...e), this.size = "medium";
2676
+ }
2677
+ static {
2678
+ this.styles = i`
2984
2679
  :host { display: inline-flex; }
2985
2680
  :host([size="small"]) { display: flex; width: 100%; }
2986
2681
  `;
2987
- }
2988
- render() {
2989
- return d`<slot></slot>`;
2990
- }
2991
- }
2992
- Ge([
2993
- b({ type: String, reflect: !0 })
2994
- ], ne.prototype, "size");
2995
- customElements.define("mp-ribbon-template-item", ne);
2996
- var je = Object.defineProperty, S = (s, e, i, r) => {
2997
- for (var t = void 0, o = s.length - 1, n; o >= 0; o--)
2998
- (n = s[o]) && (t = n(e, i, t) || t);
2999
- return t && je(e, i, t), t;
2682
+ }
2683
+ render() {
2684
+ return a`<slot></slot>`;
2685
+ }
3000
2686
  };
3001
- class $ extends v {
3002
- constructor() {
3003
- super(...arguments), this.itemId = "", this.label = "", this.icon = "", this.kind = "action", this.checked = !1, this.disabled = !1;
3004
- }
3005
- static {
3006
- this.shadowRootOptions = {
3007
- ...v.shadowRootOptions,
3008
- delegatesFocus: !0
3009
- };
3010
- }
3011
- static {
3012
- this.styles = f`
2687
+ t([s({
2688
+ type: String,
2689
+ reflect: !0
2690
+ })], U.prototype, "size", void 0), customElements.define("mp-ribbon-template-item", U);
2691
+ //#endregion
2692
+ //#region libs/mintplayer-web-components/ribbon/src/items/mp-ribbon-menu-item.element.ts
2693
+ var W = class extends r {
2694
+ constructor(...e) {
2695
+ super(...e), this.itemId = "", this.label = "", this.icon = "", this.kind = "action", this.checked = !1, this.disabled = !1;
2696
+ }
2697
+ static {
2698
+ this.shadowRootOptions = {
2699
+ ...r.shadowRootOptions,
2700
+ delegatesFocus: !0
2701
+ };
2702
+ }
2703
+ static {
2704
+ this.styles = i`
3013
2705
  :host { display: block; }
3014
2706
  .menu-item {
3015
2707
  display: flex;
@@ -3056,57 +2748,45 @@ class $ extends v {
3056
2748
  }
3057
2749
  .menu-item-label { flex: 1; }
3058
2750
  `;
3059
- }
3060
- render() {
3061
- const e = this.kind === "checkbox" ? "menuitemcheckbox" : this.kind === "radio" ? "menuitemradio" : "menuitem";
3062
- return d`
2751
+ }
2752
+ render() {
2753
+ let e = this.kind === "checkbox" ? "menuitemcheckbox" : this.kind === "radio" ? "menuitemradio" : "menuitem";
2754
+ return a`
3063
2755
  <button
3064
2756
  class="menu-item"
3065
2757
  role="${e}"
3066
- aria-checked="${this.kind === "action" ? E : String(this.checked)}"
2758
+ aria-checked="${this.kind === "action" ? o : String(this.checked)}"
3067
2759
  ?disabled="${this.disabled}"
3068
2760
  @click="${this.onActivate}"
3069
2761
  >
3070
- ${this.kind !== "action" ? d`<span class="menu-item-check">${this.checked ? "✓" : ""}</span>` : E}
2762
+ ${this.kind === "action" ? o : a`<span class="menu-item-check">${this.checked ? "✓" : ""}</span>`}
3071
2763
  <span class="menu-item-icon">
3072
2764
  <slot name="icon">${this.icon ? this.icon : ""}</slot>
3073
2765
  </span>
3074
2766
  <span class="menu-item-label">${this.label}</span>
3075
2767
  </button>
3076
2768
  `;
3077
- }
3078
- onActivate() {
3079
- this.disabled || (this.kind === "checkbox" ? this.checked = !this.checked : this.kind === "radio" && (this.checked = !0), this.dispatchEvent(
3080
- new CustomEvent("menu-select", {
3081
- detail: { itemId: this.itemId, checked: this.checked },
3082
- bubbles: !0,
3083
- composed: !0
3084
- })
3085
- ));
3086
- }
3087
- }
3088
- S([
3089
- b({ type: String, attribute: "item-id" })
3090
- ], $.prototype, "itemId");
3091
- S([
3092
- b({ type: String })
3093
- ], $.prototype, "label");
3094
- S([
3095
- b({ type: String })
3096
- ], $.prototype, "icon");
3097
- S([
3098
- b({ type: String })
3099
- ], $.prototype, "kind");
3100
- S([
3101
- b({ type: Boolean })
3102
- ], $.prototype, "checked");
3103
- S([
3104
- b({ type: Boolean })
3105
- ], $.prototype, "disabled");
3106
- customElements.define("mp-ribbon-menu-item", $);
3107
- class qe extends v {
3108
- static {
3109
- this.styles = f`
2769
+ }
2770
+ onActivate() {
2771
+ this.disabled || (this.kind === "checkbox" ? this.checked = !this.checked : this.kind === "radio" && (this.checked = !0), this.dispatchEvent(new CustomEvent("menu-select", {
2772
+ detail: {
2773
+ itemId: this.itemId,
2774
+ checked: this.checked
2775
+ },
2776
+ bubbles: !0,
2777
+ composed: !0
2778
+ })));
2779
+ }
2780
+ };
2781
+ t([s({
2782
+ type: String,
2783
+ attribute: "item-id"
2784
+ })], W.prototype, "itemId", void 0), t([s({ type: String })], W.prototype, "label", void 0), t([s({ type: String })], W.prototype, "icon", void 0), t([s({ type: String })], W.prototype, "kind", void 0), t([s({ type: Boolean })], W.prototype, "checked", void 0), t([s({ type: Boolean })], W.prototype, "disabled", void 0), customElements.define("mp-ribbon-menu-item", W);
2785
+ //#endregion
2786
+ //#region libs/mintplayer-web-components/ribbon/src/items/mp-ribbon-menu-separator.element.ts
2787
+ var G = class extends r {
2788
+ static {
2789
+ this.styles = i`
3110
2790
  :host { display: block; }
3111
2791
  .separator {
3112
2792
  height: 1px;
@@ -3114,33 +2794,14 @@ class qe extends v {
3114
2794
  margin: 4px 0;
3115
2795
  }
3116
2796
  `;
3117
- }
3118
- connectedCallback() {
3119
- super.connectedCallback(), this.setAttribute("role", "separator");
3120
- }
3121
- render() {
3122
- return d`<div class="separator"></div>`;
3123
- }
3124
- }
3125
- customElements.define("mp-ribbon-menu-separator", qe);
3126
- export {
3127
- j as MpQuickAccessToolbar,
3128
- m as MpRibbon,
3129
- $e as MpRibbonButton,
3130
- ee as MpRibbonCheckBox,
3131
- ie as MpRibbonColorPicker,
3132
- H as MpRibbonComboBox,
3133
- D as MpRibbonContextualTabSet,
3134
- U as MpRibbonDropdownButton,
3135
- re as MpRibbonGallery,
3136
- T as MpRibbonGalleryItem,
3137
- Fe as MpRibbonGroup,
3138
- W as MpRibbonGroupButton,
3139
- g as MpRibbonItemBase,
3140
- $ as MpRibbonMenuItem,
3141
- qe as MpRibbonMenuSeparator,
3142
- M as MpRibbonSplitButton,
3143
- w as MpRibbonTab,
3144
- ne as MpRibbonTemplateItem,
3145
- J as MpRibbonToggleButton
2797
+ }
2798
+ connectedCallback() {
2799
+ super.connectedCallback(), this.setAttribute("role", "separator");
2800
+ }
2801
+ render() {
2802
+ return a`<div class="separator"></div>`;
2803
+ }
3146
2804
  };
2805
+ customElements.define("mp-ribbon-menu-separator", G);
2806
+ //#endregion
2807
+ export { E as MpQuickAccessToolbar, T as MpRibbon, N as MpRibbonButton, L as MpRibbonCheckBox, z as MpRibbonColorPicker, R as MpRibbonComboBox, k as MpRibbonContextualTabSet, F as MpRibbonDropdownButton, V as MpRibbonGallery, H as MpRibbonGalleryItem, A as MpRibbonGroup, B as MpRibbonGroupButton, M as MpRibbonItemBase, W as MpRibbonMenuItem, G as MpRibbonMenuSeparator, P as MpRibbonSplitButton, O as MpRibbonTab, U as MpRibbonTemplateItem, I as MpRibbonToggleButton };