@luzmo/lucero 2.5.0 → 2.5.2

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 (492) hide show
  1. package/components/accordion/index.cjs +1 -1
  2. package/components/accordion/index.js +1 -2
  3. package/components/{accordion-ciplqKwM.js → accordion-BJLsCC-2.js} +7 -8
  4. package/components/{accordion-BK0LfhmL.cjs → accordion-OQ0RoC_7.cjs} +1 -1
  5. package/components/action-bar/index.cjs +1 -1
  6. package/components/action-bar/index.js +1 -2
  7. package/components/{action-bar-BZBIeGo7.js → action-bar-B-Y-gJ8B.js} +9 -17
  8. package/components/{action-bar-DAqG_7VG.cjs → action-bar-Dyt2tyjr.cjs} +1 -1
  9. package/components/action-button/action-button.d.ts +3 -2
  10. package/components/action-button/index.cjs +1 -1
  11. package/components/action-button/index.js +1 -2
  12. package/components/action-button-BB3ZZFNN.js +136 -0
  13. package/components/action-button-CL4ZlryE.cjs +22 -0
  14. package/components/action-group/index.cjs +1 -1
  15. package/components/action-group/index.js +1 -2
  16. package/components/{action-group-oo7YV0EW.cjs → action-group-Doll-3Bf.cjs} +1 -1
  17. package/components/{action-group-DSiruuF0.js → action-group-HECoPCas.js} +7 -9
  18. package/components/action-menu/action-menu.d.ts +16 -1
  19. package/components/action-menu/index.cjs +1 -1
  20. package/components/action-menu/index.d.ts +1 -0
  21. package/components/action-menu/index.js +1 -2
  22. package/components/action-menu-BW-XpCVO.cjs +58 -0
  23. package/components/{action-menu-D1hTsg9A.js → action-menu-LnXQ7reF.js} +47 -31
  24. package/components/avatar/index.cjs +1 -1
  25. package/components/avatar/index.js +1 -2
  26. package/components/{avatar-CwSyYAKV.js → avatar-CVRQDsx6.js} +7 -9
  27. package/components/{avatar-DHS5UGTJ.cjs → avatar-DFzJbtId.cjs} +1 -1
  28. package/components/badge/index.cjs +1 -1
  29. package/components/badge/index.js +1 -2
  30. package/components/badge-BSfzmBRf.js +94 -0
  31. package/components/badge-DzElGOcl.cjs +23 -0
  32. package/components/button/index.cjs +1 -1
  33. package/components/button/index.js +2 -2
  34. package/components/button-BGEWdRbY.cjs +20 -0
  35. package/components/button-CpaltgRZ.js +125 -0
  36. package/components/{button-base-DiPzVpp4.js → button-base-BzakIKd0.js} +12 -35
  37. package/components/{button-base-DiNxrttk.cjs → button-base-CpK2ktvQ.cjs} +3 -3
  38. package/components/button-group/index.cjs +1 -1
  39. package/components/button-group/index.js +1 -2
  40. package/components/{button-group-Du7R4SxZ.cjs → button-group-C23OtGC0.cjs} +1 -1
  41. package/components/{button-group-Duf-Igst.js → button-group-DMsT6N0P.js} +4 -6
  42. package/components/calendar/index.cjs +1 -1
  43. package/components/calendar/index.js +1 -2
  44. package/components/{calendar-pQxEWdYC.cjs → calendar-BqyGW8gU.cjs} +3 -3
  45. package/components/{calendar-D1UtHvpY.js → calendar-D4x5gp_0.js} +14 -33
  46. package/components/chat-message/index.cjs +1 -1
  47. package/components/chat-message/index.js +1 -2
  48. package/components/{chat-message-D6U-sprD.js → chat-message-5gP_qbiz.js} +665 -654
  49. package/components/chat-message-Dn5GKsSD.cjs +148 -0
  50. package/components/chat-message-group/index.cjs +1 -1
  51. package/components/chat-message-group/index.js +1 -2
  52. package/components/{chat-message-group-k9lo-ZqD.js → chat-message-group-Bp4mshBY.js} +18 -18
  53. package/components/{chat-message-group-CvxdX3jt.cjs → chat-message-group-CJddlS85.cjs} +1 -1
  54. package/components/checkbox/index.cjs +1 -1
  55. package/components/checkbox/index.js +1 -2
  56. package/components/checkbox-CVi4GMoo.cjs +25 -0
  57. package/components/{checkbox-CydI9yXG.js → checkbox-CvRvgRzh.js} +7 -13
  58. package/components/{checkbox-mixin-jqmrh48O.js → checkbox-mixin-BIuvxtEt.js} +2 -3
  59. package/components/{checkbox-mixin-rFRXqyrK.cjs → checkbox-mixin-DAdnTm-F.cjs} +1 -1
  60. package/components/{close-button-Dlvtf9lB.js → close-button-7zS6PUzh.js} +5 -6
  61. package/components/{close-button-BAELImQY.cjs → close-button-B06i2hJn.cjs} +1 -1
  62. package/components/color-area/index.cjs +1 -1
  63. package/components/color-area/index.js +1 -2
  64. package/components/{color-area-CmKlQG1i.cjs → color-area-D1fRozE0.cjs} +1 -1
  65. package/components/{color-area-lbg8wwZG.js → color-area-qlEAp8ZN.js} +10 -20
  66. package/components/color-controller-BpdydwTO.cjs +18 -0
  67. package/components/{color-controller-Rg_Zl0sT.js → color-controller-CauSxC_r.js} +1 -2
  68. package/components/color-field/index.cjs +1 -1
  69. package/components/color-field/index.js +1 -2
  70. package/components/{color-field-BH9x46k_.cjs → color-field-CN8shDl_.cjs} +1 -1
  71. package/components/{color-field-C9S-Fv46.js → color-field-CVyDNZ4b.js} +5 -7
  72. package/components/color-handle/index.cjs +1 -1
  73. package/components/color-handle/index.js +1 -2
  74. package/components/{color-handle-2iFLp9FN.cjs → color-handle-BE0Z1gTU.cjs} +1 -1
  75. package/components/{color-handle-BEDQ1RcS.js → color-handle-Dc0uLgkf.js} +4 -6
  76. package/components/color-loupe/index.cjs +1 -1
  77. package/components/color-loupe/index.js +1 -2
  78. package/components/{color-loupe-6NcLbFco.cjs → color-loupe-2X1bCYU9.cjs} +1 -1
  79. package/components/{color-loupe-CqHyyvjQ.js → color-loupe-Bu37Uwk6.js} +3 -5
  80. package/components/color-menu/index.cjs +1 -1
  81. package/components/color-menu/index.js +1 -2
  82. package/components/{color-menu-qJK_clDq.js → color-menu-BxFQnH79.js} +12 -14
  83. package/components/{color-menu-BYTgxLQG.cjs → color-menu-Cus3S-Re.cjs} +1 -1
  84. package/components/color-palette/index.cjs +1 -1
  85. package/components/color-palette/index.js +1 -2
  86. package/components/{color-palette-x6W09EBL.cjs → color-palette-D5NZDz5I.cjs} +1 -1
  87. package/components/{color-palette-CqiO5ohz.js → color-palette-UU7Feiwh.js} +7 -8
  88. package/components/color-palette-group/index.cjs +1 -1
  89. package/components/color-palette-group/index.js +1 -2
  90. package/components/{color-palette-group-zByrO_qb.js → color-palette-group-CwmC9iR1.js} +5 -7
  91. package/components/{color-palette-group-D4k_7pW6.cjs → color-palette-group-DhGh0Db8.cjs} +1 -1
  92. package/components/color-picker/index.cjs +1 -1
  93. package/components/color-picker/index.js +1 -2
  94. package/components/{color-picker-BAikpqUT.cjs → color-picker-BTT1O-76.cjs} +1 -1
  95. package/components/{color-picker-CSuAPo5X.js → color-picker-orFSIqoZ.js} +9 -11
  96. package/components/color-slider/index.cjs +1 -1
  97. package/components/color-slider/index.js +1 -2
  98. package/components/{color-slider-CMW8gJ0Z.cjs → color-slider-9Ck28Qdk.cjs} +1 -1
  99. package/components/{color-slider-0JzdSRTy.js → color-slider-X1EArAnx.js} +8 -14
  100. package/components/{condition-attribute-with-id-BdnTdWKz.js → condition-attribute-with-id-v1wjKZc3.js} +1 -2
  101. package/components/date-range-picker/index.cjs +1 -1
  102. package/components/date-range-picker/index.js +1 -2
  103. package/components/{date-range-picker-DKVmGpUC.js → date-range-picker-CoCz3uDz.js} +28 -29
  104. package/components/{date-range-picker-D149LIGC.cjs → date-range-picker-DyJdcFiA.cjs} +3 -3
  105. package/components/date-time-picker/index.cjs +1 -1
  106. package/components/date-time-picker/index.js +1 -2
  107. package/components/{date-time-picker-CRpvRk9T.cjs → date-time-picker-CEEeMXGn.cjs} +3 -3
  108. package/components/{date-time-picker-6c19YzwF.js → date-time-picker-CsgO17tA.js} +23 -36
  109. package/components/{decorate-CkCg3wfh.js → decorate-CpKsOs9z.js} +18 -19
  110. package/components/{decorate-Dq34MBGe.cjs → decorate-SO02l0A6.cjs} +1 -1
  111. package/components/{dependency-manger-wHEXoU92.js → dependency-manger-BneVBZQi.js} +1 -2
  112. package/components/divider/index.cjs +1 -1
  113. package/components/divider/index.js +1 -2
  114. package/components/{divider-Cz5nyvP9.js → divider-Bt0NIqfu.js} +5 -7
  115. package/components/{divider-BcE8D-pH.cjs → divider-fWGUxO6A.cjs} +1 -1
  116. package/components/{divider.module-CPEKsaqR.js → divider.module-B_GRUJ4d.js} +1 -2
  117. package/components/{element-resolution-gap51AVo.js → element-resolution-BYvcpZwK.js} +1 -2
  118. package/components/field-group/index.cjs +1 -1
  119. package/components/field-group/index.js +2 -3
  120. package/components/{field-group-Dd5xYczm.cjs → field-group-B8mhEhNJ.cjs} +1 -1
  121. package/components/{field-group-C_kRq7pJ.js → field-group-CdDcdMO1.js} +3 -4
  122. package/components/field-label/index.cjs +1 -1
  123. package/components/field-label/index.js +1 -2
  124. package/components/{field-label-C0vfY1b6.cjs → field-label-B3IsGUTv.cjs} +2 -2
  125. package/components/{field-label-C28wWqC5.js → field-label-DOUnHwwh.js} +9 -15
  126. package/components/focus-group-C0ncbmUD.cjs +18 -0
  127. package/components/{focus-group-DVPa1zxz.js → focus-group-lQqPbdDl.js} +5 -7
  128. package/components/{focus-visible-DNHNlrty.cjs → focus-visible-BQAhwoxi.cjs} +1 -1
  129. package/components/{focus-visible-Bt2uDmuM.js → focus-visible-D6TRtUd7.js} +2 -3
  130. package/components/focusable-BIHTrJd6.cjs +18 -0
  131. package/components/{focusable-selectors-BWpiuXz5.js → focusable-selectors-BDNeWxbe.js} +1 -2
  132. package/components/{focusable-DuP0-Kuy.js → focusable-xjv79E40.js} +9 -17
  133. package/components/{get-label-from-slot-Bo9mqYCZ.js → get-label-from-slot-Bw5crGFw.js} +1 -2
  134. package/components/icon/index.cjs +1 -1
  135. package/components/icon/index.js +1 -2
  136. package/components/{icon-zOPAWCdx.cjs → icon-BlbMP3mJ.cjs} +1 -1
  137. package/components/{icon-CsJZMhIm.js → icon-DADJww_a.js} +4 -7
  138. package/components/index.cjs +1 -1
  139. package/components/index.js +72 -71
  140. package/components/infield-button/index.cjs +1 -1
  141. package/components/infield-button/index.js +1 -2
  142. package/components/{infield-button-DiE8R6ol.js → infield-button-CeE_JxR6.js} +5 -7
  143. package/components/{infield-button-kilVRjwB.cjs → infield-button-uD1GqTLW.cjs} +1 -1
  144. package/components/label/index.cjs +1 -1
  145. package/components/label/index.js +1 -2
  146. package/components/{label-e6Y13vrS.js → label-D1v4e6mN.js} +3 -5
  147. package/components/{label-B3zs6OX0.cjs → label-uuwIy_Ge.cjs} +1 -1
  148. package/components/{language-resolution-BaKYDD1a.js → language-resolution-7rc0khIK.js} +3 -4
  149. package/components/{language-resolution-CSjktYg5.cjs → language-resolution-B7D3hQ6_.cjs} +1 -1
  150. package/components/{like-anchor-DXCaEv7O.js → like-anchor-DcFv8rEo.js} +2 -3
  151. package/components/{like-anchor-BX4PSB3d.cjs → like-anchor-De9STeWr.cjs} +1 -1
  152. package/components/{manage-help-text-ByLb0QYX.js → manage-help-text-CFUaqINN.js} +4 -6
  153. package/components/{match-media-C5X2OZiD.js → match-media-UNh23w4s.js} +1 -2
  154. package/components/menu/index.cjs +1 -1
  155. package/components/menu/index.js +1 -2
  156. package/components/menu-BKwt6rnv.cjs +108 -0
  157. package/components/{menu-fdJseu1y.js → menu-L5qYivn6.js} +43 -67
  158. package/components/multi-language-field/index.cjs +1 -1
  159. package/components/multi-language-field/index.js +1 -2
  160. package/components/{multi-language-field-vJMK-osi.js → multi-language-field-NY2XwK2M.js} +6 -8
  161. package/components/{multi-language-field-BndVikur.cjs → multi-language-field-djoM4Okc.cjs} +1 -1
  162. package/components/notice/index.cjs +1 -1
  163. package/components/notice/index.js +1 -2
  164. package/components/{notice-N0-lxEf_.js → notice-CrLVNmqL.js} +6 -8
  165. package/components/{notice-CsWaqcq3.cjs → notice-f0p0TiGw.cjs} +1 -1
  166. package/components/number-field/index.cjs +1 -1
  167. package/components/number-field/index.js +1 -2
  168. package/components/{number-field-xxXgR70l.cjs → number-field-Ceeli_mh.cjs} +2 -2
  169. package/components/{number-field-DAOy_AvQ.js → number-field-D9UqpqpW.js} +12 -20
  170. package/components/{observe-slot-presence-BKY6n06-.js → observe-slot-presence-t2N_C6Ud.js} +1 -2
  171. package/components/{observe-slot-text-CvL-2ey3.cjs → observe-slot-text-BqwCIv2a.cjs} +1 -1
  172. package/components/{observe-slot-text-Db8Kx3P-.js → observe-slot-text-Dzkb_VqN.js} +2 -3
  173. package/components/options/index.cjs +1 -1
  174. package/components/options/index.js +1 -2
  175. package/components/{options-D_ifU0DH.js → options-BHDesKbF.js} +20 -31
  176. package/components/{options-CP9V2CSJ.cjs → options-Dk1uFeUT.cjs} +5 -5
  177. package/components/overlay/index.cjs +1 -1
  178. package/components/overlay/index.js +2 -2
  179. package/components/overlay-DAOyrYJL.cjs +102 -0
  180. package/components/{overlay-DpHIYJtd.js → overlay-D_Xfq92b.js} +62 -118
  181. package/components/{pending-state-CGHvTtKR.cjs → pending-state-A6NrvaQj.cjs} +1 -1
  182. package/components/{pending-state-D_b45qvi.js → pending-state-BuYmUP6G.js} +2 -3
  183. package/components/picker/index.cjs +1 -1
  184. package/components/picker/index.js +2 -3
  185. package/components/{picker-uKcRswTQ.js → picker-C5eX5WBl.js} +25 -41
  186. package/components/picker-CQCAt4Mx.cjs +124 -0
  187. package/components/picker-button/index.cjs +1 -1
  188. package/components/picker-button/index.js +1 -2
  189. package/components/{picker-button-B8Jbf9jK.cjs → picker-button-BWDfzx38.cjs} +2 -2
  190. package/components/{picker-button-CJQJshbo.js → picker-button-BhfY9gyk.js} +11 -12
  191. package/components/{platform-Ce9pNsR9.js → platform-CDW-WdXN.js} +1 -2
  192. package/components/popover/index.cjs +1 -1
  193. package/components/popover/index.js +1 -2
  194. package/components/{popover-BsdqkvKI.cjs → popover-CFzz83f8.cjs} +1 -1
  195. package/components/{popover-DC8tkee-.js → popover-CWrRLzOL.js} +4 -6
  196. package/components/progress-bar/index.cjs +1 -1
  197. package/components/progress-bar/index.js +1 -2
  198. package/components/{progress-bar-CrodWzcc.cjs → progress-bar-9Qg0PYAq.cjs} +2 -2
  199. package/components/{progress-bar-D4iFHkp7.js → progress-bar-D6wIZV5l.js} +16 -22
  200. package/components/progress-circle/index.cjs +1 -1
  201. package/components/progress-circle/index.js +1 -2
  202. package/components/{progress-circle-bO_VAX3N.cjs → progress-circle-C_9UZs2Y.cjs} +1 -1
  203. package/components/{progress-circle-By6qUQYe.js → progress-circle-DcGKwBTC.js} +5 -7
  204. package/components/progress-steps/index.cjs +1 -1
  205. package/components/progress-steps/index.js +1 -2
  206. package/components/progress-steps/progress-steps-model.d.ts +5 -0
  207. package/components/progress-steps/progress-steps.d.ts +4 -8
  208. package/components/progress-steps-5MhpnGKv.cjs +98 -0
  209. package/components/{progress-steps-BvCzsq9Z.js → progress-steps-Byem5ieS.js} +43 -54
  210. package/components/prompt-box/index.cjs +1 -1
  211. package/components/prompt-box/index.js +1 -2
  212. package/components/{prompt-box-Cz_m2wso.js → prompt-box-CrtFGmjm.js} +80 -112
  213. package/components/{prompt-box-sp9_-Hnx.cjs → prompt-box-D7owyhfG.cjs} +15 -15
  214. package/components/question-box/index.cjs +1 -1
  215. package/components/question-box/index.js +1 -2
  216. package/components/{question-box-Bcm-P-UV.js → question-box-BJYYLghb.js} +40 -86
  217. package/components/{question-box-DZnuGMBB.cjs → question-box-ym1eakXA.cjs} +3 -3
  218. package/components/radio/index.cjs +1 -1
  219. package/components/radio/index.js +1 -2
  220. package/components/{radio-B6hX9Klr.js → radio-CyxICbLM.js} +9 -15
  221. package/components/{radio-CRTfoEX_.cjs → radio-Dd-GgUMm.cjs} +2 -2
  222. package/components/{random-id-CiMDyX7v.js → random-id-CO3s9i3n.js} +1 -2
  223. package/components/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CGnMp29N.js} +1 -2
  224. package/components/{roving-tabindex-pomAn3z-.js → roving-tabindex-BKMkfzY0.js} +2 -3
  225. package/components/{roving-tabindex-BoPao4td.cjs → roving-tabindex-BUFR8hPH.cjs} +1 -1
  226. package/components/{scaled-indicator-C-TupV4L.js → scaled-indicator-CsfzvTDr.js} +1 -2
  227. package/components/search/index.cjs +1 -1
  228. package/components/search/index.js +1 -2
  229. package/components/{search-DEjLSJ96.js → search-C5uFmm6S.js} +7 -9
  230. package/components/{search-PxJEuwHt.cjs → search-DiCwSHFf.cjs} +1 -1
  231. package/components/segments-factory-BFgL5o9K.cjs +18 -0
  232. package/components/{segments-factory-BCRi1NKb.js → segments-factory-B_IBjpdp.js} +5 -12
  233. package/components/select/index.cjs +1 -1
  234. package/components/select/index.js +1 -2
  235. package/components/{select-CKMCEJf7.cjs → select-2Fvb7tpj.cjs} +6 -6
  236. package/components/{select-B86uAHme.js → select-HqF3tcHz.js} +31 -56
  237. package/components/{sized-mixin-DzQTebN-.js → sized-mixin-BmxIAuoH.js} +2 -3
  238. package/components/{sized-mixin-BT7cv-fT.cjs → sized-mixin-CSajkMro.cjs} +1 -1
  239. package/components/skeleton-loader/index.cjs +1 -1
  240. package/components/skeleton-loader/index.js +1 -2
  241. package/components/{skeleton-loader-CNcwCh4V.cjs → skeleton-loader-CEca0cqz.cjs} +1 -1
  242. package/components/{skeleton-loader-BeCsYADg.js → skeleton-loader-tin9y3xc.js} +3 -5
  243. package/components/slider/index.cjs +1 -1
  244. package/components/slider/index.js +1 -2
  245. package/components/{slider-C_8pSK4N.cjs → slider-C1AdDTfB.cjs} +2 -2
  246. package/components/{slider-Bsl8Xrme.js → slider-Ch7OgTdj.js} +13 -26
  247. package/components/{slottable-request-event-MRSZbgTu.js → slottable-request-event-24jJOhbh.js} +1 -2
  248. package/components/split-view/index.cjs +1 -1
  249. package/components/split-view/index.js +1 -2
  250. package/components/{split-view-CDwHDmII.js → split-view-DDwpoN2O.js} +8 -11
  251. package/components/{split-view-BwCFYey6.cjs → split-view-DNVlr5VD.cjs} +1 -1
  252. package/components/status-light/index.cjs +1 -1
  253. package/components/status-light/index.js +1 -2
  254. package/components/status-light-Do6z53mM.cjs +21 -0
  255. package/components/{status-light-DwUnjE3t.js → status-light-DqHhhZed.js} +6 -8
  256. package/components/strategies-C6hzAW86.cjs +18 -0
  257. package/components/{strategies-COS7mShJ.js → strategies-DgPG-vNk.js} +6 -13
  258. package/components/{streaming-listener-CtcMpYfS.js → streaming-listener-B6mDl4pZ.js} +1 -2
  259. package/components/swatch/index.cjs +1 -1
  260. package/components/swatch/index.js +1 -2
  261. package/components/{swatch-Bj2FARl1.js → swatch-BBVsuSAV.js} +25 -44
  262. package/components/{swatch-CQ0inIHK.cjs → swatch-DiNMN-SZ.cjs} +3 -3
  263. package/components/switch/index.cjs +1 -1
  264. package/components/switch/index.js +1 -2
  265. package/components/{switch-CpG-hSWY.js → switch-BBtewLDD.js} +6 -8
  266. package/components/{switch-qwpYXVnO.cjs → switch-DMhCYTgq.cjs} +1 -1
  267. package/components/table/index.cjs +1 -1
  268. package/components/table/index.js +1 -2
  269. package/components/table-CLMLGloR.cjs +180 -0
  270. package/components/{table-B75GjBhD.js → table-DlOWqm5C.js} +217 -264
  271. package/components/tabs/index.cjs +1 -1
  272. package/components/tabs/index.js +1 -2
  273. package/components/{tabs-DxOD4QNt.cjs → tabs-B0WHKMuF.cjs} +2 -2
  274. package/components/{tabs-BD_ATrBg.js → tabs-Dkt0B_-A.js} +17 -22
  275. package/components/tags/index.cjs +1 -1
  276. package/components/tags/index.js +1 -2
  277. package/components/tags-Be4yrNPw.js +206 -0
  278. package/components/tags-CHDNXpxh.cjs +47 -0
  279. package/components/template-property-Bks4Db5C.js +46 -0
  280. package/components/template-property-yhcAmPXk.cjs +18 -0
  281. package/components/text-field/index.cjs +1 -1
  282. package/components/text-field/index.js +2 -2
  283. package/components/{text-field-3fDtTQkR.cjs → text-field-BVl-HWzb.cjs} +1 -1
  284. package/components/{text-field-CmyqQxq0.js → text-field-D49lAD7L.js} +4 -5
  285. package/components/{text-field-CbN4nydd.cjs → text-field-DCcOZSvY.cjs} +1 -1
  286. package/components/{text-field-CmSym2QK.js → text-field-DpvP_tCP.js} +7 -10
  287. package/components/{text-field.module-BHhBReKL.js → text-field.module-hEHhPVFf.js} +1 -2
  288. package/components/toast/index.cjs +1 -1
  289. package/components/toast/index.js +1 -2
  290. package/components/{toast-DRrGgznK.cjs → toast-B6yesIcI.cjs} +1 -1
  291. package/components/{toast-KwHx-agn.js → toast-CXZUVaYz.js} +5 -7
  292. package/components/tokens.js +1 -2
  293. package/components/tooltip/index.cjs +1 -1
  294. package/components/tooltip/index.js +1 -2
  295. package/components/{tooltip-DjOW52n2.cjs → tooltip-BE01O3Sg.cjs} +1 -1
  296. package/components/{tooltip-xTa9Q5JW.js → tooltip-g2jd5Wsv.js} +19 -24
  297. package/components/top-nav/index.cjs +1 -1
  298. package/components/top-nav/index.js +1 -2
  299. package/components/{top-nav-81IKEGjR.cjs → top-nav-B0E1K_zf.cjs} +1 -1
  300. package/components/{top-nav-CXjnpdFR.js → top-nav-DiUCsUpZ.js} +9 -11
  301. package/components/utils.cjs +1 -1
  302. package/components/utils.js +9 -8
  303. package/components/{voice-recorder-CTg3kRxx.js → voice-recorder-BXY_l_78.js} +1 -2
  304. package/custom-elements.json +1 -1
  305. package/package.json +1 -1
  306. package/standalone/accordion.js +6 -2
  307. package/standalone/action-bar.js +1 -1
  308. package/standalone/action-button.js +1 -1
  309. package/standalone/action-group.js +1 -1
  310. package/standalone/action-menu.js +5 -3
  311. package/standalone/avatar.js +1 -1
  312. package/standalone/badge.js +1 -1
  313. package/standalone/button-group.js +1 -1
  314. package/standalone/button.js +1 -1
  315. package/standalone/calendar.js +1 -1
  316. package/standalone/chat-message-group.js +1 -1
  317. package/standalone/chat-message.js +31 -31
  318. package/standalone/checkbox.js +1 -1
  319. package/standalone/chunks/NumberFormatter-COykocAS.js +2 -0
  320. package/standalone/chunks/NumberParser--1Rm0Yk7.js +2 -0
  321. package/standalone/chunks/action-button-0d4u0dWv.js +6 -0
  322. package/standalone/chunks/{action-group-DTxf-0tP.js → action-group-DlClwXLO.js} +5 -1
  323. package/standalone/chunks/async-directive-ByLzVnWY.js +2 -0
  324. package/standalone/chunks/async-directive-DNgXlN7F.js +2 -0
  325. package/standalone/chunks/badge-DPFbBRCY.js +7 -0
  326. package/standalone/chunks/{button-Q1n9DH9a.js → button-Bgc3zdEa.js} +1 -1
  327. package/standalone/chunks/button-BhSe7abg.js +4 -0
  328. package/standalone/chunks/button-base-DLYrzCSm.js +9 -0
  329. package/standalone/chunks/calendar-BxARYymw.js +122 -0
  330. package/standalone/chunks/checkbox-Cl6YBcGA.js +9 -0
  331. package/standalone/chunks/{checkbox-mixin-BAQWmwps.js → checkbox-mixin-HnfmivU3.js} +1 -1
  332. package/standalone/chunks/class-map-E9JVium5.js +2 -0
  333. package/standalone/chunks/{clear-button-3zpCVxG5.js → clear-button-B4r_oxfc.js} +1 -1
  334. package/standalone/chunks/{close-button-C96dazyi.js → close-button-DVCeu3_f.js} +1 -1
  335. package/standalone/chunks/{color-area-Cj8oPsIF.js → color-area-BCI2oMGd.js} +3 -1
  336. package/standalone/chunks/color-controller-BlFueK6Y.js +2 -0
  337. package/standalone/chunks/{color-field-BFvUGE4L.js → color-field-BaVvupq0.js} +1 -1
  338. package/standalone/chunks/{color-handle-BHrAxEG2.js → color-handle-BLQiuRSS.js} +1 -1
  339. package/standalone/chunks/{color-loupe-C34cms5t.js → color-loupe-_dC69K1Z.js} +1 -1
  340. package/standalone/chunks/{color-menu-BIKuitbH.js → color-menu-BDZh85nX.js} +1 -1
  341. package/standalone/chunks/color-slider-Bipcekrc.js +49 -0
  342. package/standalone/chunks/{directive-helpers-Bu8icI7Y.js → directive-helpers-DM8VtBpR.js} +1 -1
  343. package/standalone/chunks/{divider-Bf9Drp2z.js → divider-vAjIOfo1.js} +1 -1
  344. package/standalone/chunks/{field-group-D8EjgC6F.js → field-group-C1oDgW9m.js} +1 -1
  345. package/standalone/chunks/{field-label-VWHDlW9_.js → field-label-Djcst_hn.js} +2 -2
  346. package/standalone/chunks/flow-CL5kBpdV.js +2 -0
  347. package/standalone/chunks/focus-group-xdTxdfaB.js +4 -0
  348. package/standalone/chunks/{icon-BypO7M7G.js → icon-6P1RsbD1.js} +1 -1
  349. package/standalone/chunks/{infield-button-D03MpU_s.js → infield-button-B8EkjwP9.js} +1 -1
  350. package/standalone/chunks/keyed-DYJaQjip.js +2 -0
  351. package/standalone/chunks/{language-resolution-BWHk9A73.js → language-resolution-BwIkGyuH.js} +1 -1
  352. package/standalone/chunks/lit-DWANyjiY.js +3 -0
  353. package/standalone/chunks/lucero-runtime-DMlHjBe_.js +18 -0
  354. package/standalone/chunks/{luzmo-icons-B-pCv-xg.js → luzmo-icons-vtQE0BSI.js} +1 -1
  355. package/standalone/chunks/{manage-help-text-Cl9OJ2xf.js → manage-help-text-DO3PkWgh.js} +1 -1
  356. package/standalone/chunks/menu-CefrRBIS.js +100 -0
  357. package/standalone/chunks/{number-field-B6BDXkL7.js → number-field-Dc4nBa6l.js} +2 -2
  358. package/standalone/chunks/observe-slot-presence-BxmG6A0m.js +2 -0
  359. package/standalone/chunks/options-rb_zaAJ6.js +89 -0
  360. package/standalone/chunks/overlay-CgQMEmrM.js +122 -0
  361. package/standalone/chunks/{pending-state-DxeRqe6Q.js → pending-state-DnTXKvtm.js} +1 -1
  362. package/standalone/chunks/picker-HoERLlkx.js +108 -0
  363. package/standalone/chunks/{picker-button-BZWqDoNQ.js → picker-button-DbamPU-T.js} +2 -2
  364. package/standalone/chunks/platform-wNs7qaiE.js +10 -0
  365. package/standalone/chunks/{popover-BsB3dmQe.js → popover-Ca-FBqiU.js} +1 -1
  366. package/standalone/chunks/{progress-circle-CEx1b5Sv.js → progress-circle-CFtVq9Ou.js} +1 -1
  367. package/standalone/chunks/property-BsDbx7Z2.js +2 -0
  368. package/standalone/chunks/{radio-2vHhfmHw.js → radio-BJ3RhyUD.js} +2 -2
  369. package/standalone/chunks/random-id-0GBXy8EY.js +2 -0
  370. package/standalone/chunks/repeat-CtNle5_O.js +2 -0
  371. package/standalone/chunks/{roving-tabindex-CB4xC55P.js → roving-tabindex-CivopiNn.js} +1 -1
  372. package/standalone/chunks/scaled-indicator-Do5uhz24.js +10 -0
  373. package/standalone/chunks/segments-factory-B6oGyosS.js +2 -0
  374. package/standalone/chunks/{skeleton-loader-BxYcRRJr.js → skeleton-loader-CymPdQl3.js} +1 -1
  375. package/standalone/chunks/strategies-yujlVHBS.js +4 -0
  376. package/standalone/chunks/streaming-listener-DbMoHlSj.js +8 -0
  377. package/standalone/chunks/style-map-DmBaq1-c.js +2 -0
  378. package/standalone/chunks/{swatch-CGR_GWqO.js → swatch-DivHeYOK.js} +4 -4
  379. package/standalone/chunks/template-property-CyrkVY0Q.js +2 -0
  380. package/standalone/chunks/{text-field-4OKvLOXG.js → text-field-D5ncaa2n.js} +1 -1
  381. package/standalone/chunks/{text-field-C2oROxum.js → text-field-DXzpM1Qn.js} +1 -1
  382. package/standalone/chunks/{tooltip-DB6jRVyB.js → tooltip-B-j8PrNl.js} +13 -1
  383. package/standalone/chunks/{unsafe-html-BPQaWy0v.js → unsafe-html-BeDipvu3.js} +1 -1
  384. package/standalone/clear-button.js +1 -1
  385. package/standalone/close-button.js +1 -1
  386. package/standalone/color-area.js +1 -1
  387. package/standalone/color-field.js +1 -1
  388. package/standalone/color-handle.js +1 -1
  389. package/standalone/color-loupe.js +1 -1
  390. package/standalone/color-menu.js +1 -1
  391. package/standalone/color-palette-group.js +1 -1
  392. package/standalone/color-palette.js +1 -1
  393. package/standalone/color-picker.js +1 -1
  394. package/standalone/color-slider.js +1 -1
  395. package/standalone/date-range-picker.js +3 -3
  396. package/standalone/date-time-picker.js +3 -3
  397. package/standalone/divider.js +1 -1
  398. package/standalone/field-group.js +1 -1
  399. package/standalone/field-label.js +1 -1
  400. package/standalone/icon.js +1 -1
  401. package/standalone/infield-button.js +1 -1
  402. package/standalone/label.js +1 -1
  403. package/standalone/lit.js +1 -1
  404. package/standalone/manifest.json +65 -65
  405. package/standalone/menu.js +1 -1
  406. package/standalone/multi-language-field.js +1 -1
  407. package/standalone/notice.js +1 -1
  408. package/standalone/number-field.js +1 -1
  409. package/standalone/options.js +1 -1
  410. package/standalone/overlay.js +1 -1
  411. package/standalone/picker-button.js +1 -1
  412. package/standalone/picker.js +1 -1
  413. package/standalone/popover.js +1 -1
  414. package/standalone/progress-bar.js +2 -2
  415. package/standalone/progress-circle.js +1 -1
  416. package/standalone/progress-steps.js +10 -10
  417. package/standalone/prompt-box.js +17 -17
  418. package/standalone/question-box.js +3 -3
  419. package/standalone/radio.js +1 -1
  420. package/standalone/search.js +1 -1
  421. package/standalone/select.js +6 -6
  422. package/standalone/skeleton-loader.js +1 -1
  423. package/standalone/slider.js +2 -2
  424. package/standalone/split-view.js +1 -1
  425. package/standalone/status-light.js +1 -1
  426. package/standalone/swatch.js +1 -1
  427. package/standalone/switch.js +1 -1
  428. package/standalone/table.js +32 -32
  429. package/standalone/tabs.js +2 -2
  430. package/standalone/tags.js +1 -1
  431. package/standalone/text-field.js +1 -1
  432. package/standalone/toast.js +1 -1
  433. package/standalone/tooltip.js +1 -1
  434. package/standalone/top-nav.js +1 -1
  435. package/standalone/utils.js +1 -1
  436. package/utils/index.d.ts +1 -0
  437. package/utils/template-property.d.ts +13 -0
  438. package/components/action-button-BRijXjEz.js +0 -138
  439. package/components/action-button-CX1uYbQp.cjs +0 -22
  440. package/components/action-menu-BNZWjeDd.cjs +0 -56
  441. package/components/badge-D2Hjf-Ww.js +0 -96
  442. package/components/badge-D8pIDEoq.cjs +0 -23
  443. package/components/button-Bvnidb4x.cjs +0 -20
  444. package/components/button-DIV_j_U3.js +0 -126
  445. package/components/chat-message-BDfomRm-.cjs +0 -148
  446. package/components/checkbox-JCvBro0K.cjs +0 -25
  447. package/components/color-controller-DbyPc33Y.cjs +0 -18
  448. package/components/focus-group-C8lOjbi9.cjs +0 -18
  449. package/components/focusable-B6h03pAe.cjs +0 -18
  450. package/components/menu-CrhA2iPZ.cjs +0 -108
  451. package/components/overlay-Dn7EbA_W.cjs +0 -102
  452. package/components/picker-COeWCv60.cjs +0 -124
  453. package/components/progress-steps-CvdQQwHc.cjs +0 -98
  454. package/components/segments-factory-DtPyN5sh.cjs +0 -18
  455. package/components/status-light-D3hdx8Pd.cjs +0 -21
  456. package/components/strategies-Bb7zEjrU.cjs +0 -18
  457. package/components/table-CHrAaVU1.cjs +0 -180
  458. package/components/tags-BIpFgOYy.js +0 -208
  459. package/components/tags-fLCGajv_.cjs +0 -47
  460. package/standalone/chunks/NumberFormatter-DMCfW685.js +0 -2
  461. package/standalone/chunks/NumberParser-r_jv94LA.js +0 -2
  462. package/standalone/chunks/action-button-FSsfXYe9.js +0 -6
  463. package/standalone/chunks/async-directive-BA2_dM-5.js +0 -2
  464. package/standalone/chunks/async-directive-CPdA0BOw.js +0 -2
  465. package/standalone/chunks/badge-DD-tMgzi.js +0 -7
  466. package/standalone/chunks/button-Bv3v7VbN.js +0 -4
  467. package/standalone/chunks/button-base-C7jeeyLp.js +0 -9
  468. package/standalone/chunks/calendar-DcFjY2tw.js +0 -122
  469. package/standalone/chunks/checkbox-DQ4wPgG_.js +0 -9
  470. package/standalone/chunks/class-map-CxQ0PcQP.js +0 -2
  471. package/standalone/chunks/color-controller-fJNWRHVI.js +0 -2
  472. package/standalone/chunks/color-slider-CAqvxsgS.js +0 -41
  473. package/standalone/chunks/flow-aCcJ5kgi.js +0 -2
  474. package/standalone/chunks/focus-group-Cl6MLy-C.js +0 -2
  475. package/standalone/chunks/keyed-CNWmQd2J.js +0 -2
  476. package/standalone/chunks/lit-BN_lRQbJ.js +0 -3
  477. package/standalone/chunks/lucero-runtime-DGJ9-isg.js +0 -16
  478. package/standalone/chunks/menu-DSMoQt1w.js +0 -92
  479. package/standalone/chunks/observe-slot-presence-DWPtw22K.js +0 -2
  480. package/standalone/chunks/options-CkmITqgV.js +0 -89
  481. package/standalone/chunks/overlay-C4ir0iyC.js +0 -31
  482. package/standalone/chunks/overlay-C_XW8yry.js +0 -57
  483. package/standalone/chunks/picker-FCQK0vdE.js +0 -108
  484. package/standalone/chunks/platform-BfrBbd97.js +0 -2
  485. package/standalone/chunks/property-CLXrnTGx.js +0 -2
  486. package/standalone/chunks/random-id-CeLe5NEk.js +0 -2
  487. package/standalone/chunks/repeat-CZdNcszA.js +0 -2
  488. package/standalone/chunks/scaled-indicator-k-1JmS0b.js +0 -10
  489. package/standalone/chunks/segments-factory-eS38mJRz.js +0 -2
  490. package/standalone/chunks/strategies-C-vW4MlK.js +0 -2
  491. package/standalone/chunks/streaming-listener-DFczLm8I.js +0 -2
  492. package/standalone/chunks/style-map-D4QeV3m0.js +0 -2
@@ -16,25 +16,26 @@
16
16
  * SOFTWARE.
17
17
  * */
18
18
  import "./tokens.js";
19
- import { n as e, t } from "./decorate-CkCg3wfh.js";
20
- import { n } from "./sized-mixin-DzQTebN-.js";
21
- import { t as r } from "./roving-tabindex-pomAn3z-.js";
22
- import { r as i, t as a } from "./language-resolution-BaKYDD1a.js";
23
- import { r as o } from "./match-media-C5X2OZiD.js";
24
- import "./checkbox-CydI9yXG.js";
25
- import { html as s, nothing as c, unsafeCSS as l } from "lit";
26
- import { property as u, query as d, state as f } from "lit/decorators.js";
27
- import { luzmoAngleDown as p, luzmoArrowDown as m, luzmoArrowUp as h, luzmoIcon as g } from "@luzmo/icons";
28
- import { ifDefined as _ } from "lit/directives/if-defined.js";
29
- import { classMap as v } from "lit/directives/class-map.js";
30
- import { styleMap as y } from "lit/directives/style-map.js";
19
+ import { n as e, t } from "./decorate-CpKsOs9z.js";
20
+ import { n } from "./sized-mixin-BmxIAuoH.js";
21
+ import { t as r } from "./roving-tabindex-BKMkfzY0.js";
22
+ import { r as i, t as a } from "./language-resolution-7rc0khIK.js";
23
+ import { r as o } from "./match-media-UNh23w4s.js";
24
+ import "./checkbox-CvRvgRzh.js";
25
+ import { n as s } from "./template-property-Bks4Db5C.js";
26
+ import { html as c, nothing as l, unsafeCSS as u } from "lit";
27
+ import { property as d, query as f, state as p } from "lit/decorators.js";
28
+ import { luzmoAngleDown as m, luzmoArrowDown as h, luzmoArrowUp as g, luzmoIcon as _ } from "@luzmo/icons";
29
+ import { ifDefined as v } from "lit/directives/if-defined.js";
30
+ import { classMap as y } from "lit/directives/class-map.js";
31
+ import { styleMap as b } from "lit/directives/style-map.js";
31
32
  import { repeat as ee } from "lit/directives/repeat.js";
32
33
  import { createTable as te, getCoreRowModel as ne, getSortedRowModel as re } from "@tanstack/table-core";
33
- import { Virtualizer as ie, elementScroll as b, observeElementOffset as ae, observeElementRect as oe } from "@tanstack/virtual-core";
34
- //#region src/components/table/controllers/table-announcer.ts
35
- var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
34
+ import { Virtualizer as ie, elementScroll as ae, observeElementOffset as oe, observeElementRect as se } from "@tanstack/virtual-core";
35
+ // src/components/table/controllers/table-announcer.ts
36
+ var ce = "data-luzmo-table-announcer", x, S = 0, C = 0, le = () => {
36
37
  let e = document.createElement("div");
37
- return e.setAttribute(se, ""), e.setAttribute("aria-live", "polite"), e.setAttribute("aria-atomic", "true"), Object.assign(e.style, {
38
+ return e.setAttribute(ce, ""), e.setAttribute("aria-live", "polite"), e.setAttribute("aria-atomic", "true"), Object.assign(e.style, {
38
39
  position: "absolute",
39
40
  inlineSize: "1px",
40
41
  blockSize: "1px",
@@ -45,13 +46,13 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
45
46
  clipPath: "inset(50%)",
46
47
  whiteSpace: "nowrap"
47
48
  }), e;
48
- }, le = class {
49
+ }, ue = class {
49
50
  constructor(e) {
50
51
  e.addController(this);
51
52
  }
52
53
  announce(e) {
53
54
  if (typeof document > "u" || !C) return;
54
- x ??= ce(), x.isConnected || document.body.append(x);
55
+ x ??= le(), x.isConnected || document.body.append(x);
55
56
  let t = x;
56
57
  t.textContent = "", cancelAnimationFrame(S), S = requestAnimationFrame(() => {
57
58
  t.textContent = e;
@@ -63,25 +64,25 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
63
64
  hostDisconnected() {
64
65
  --C, C === 0 && (cancelAnimationFrame(S), x?.remove(), x = void 0);
65
66
  }
66
- }, w = (e) => typeof e == "number" && Number.isFinite(e) ? e : void 0, T = (e) => `luzmo-table-details-${[...e].map((e) => /^[A-Za-z0-9]$/.test(e) ? e : `_${e.codePointAt(0).toString(16)}_`).join("")}`, E = (e) => w(e.minWidth) ?? (e.resizable ? 48 : 0), D = (e) => w(e.maxWidth) ?? 1e4, O = (e, t) => Math.min(D(t), Math.max(E(t), Math.round(e))), ue = (e, t) => {
67
+ }, w = (e) => typeof e == "number" && Number.isFinite(e) ? e : void 0, T = (e) => `luzmo-table-details-${[...e].map((e) => /^[A-Za-z0-9]$/.test(e) ? e : `_${e.codePointAt(0).toString(16)}_`).join("")}`, E = (e) => w(e.minWidth) ?? (e.resizable ? 48 : 0), D = (e) => w(e.maxWidth) ?? 1e4, O = (e, t) => Math.min(D(t), Math.max(E(t), Math.round(e))), de = (e, t) => {
67
68
  let n = w(t) ?? w(e.width);
68
69
  if (n !== void 0) return `${O(n, e)}px`;
69
70
  let r = w(e.minWidth) ?? (e.resizable ? 48 : 0), i = w(e.maxWidth);
70
71
  return i === void 0 ? r > 0 ? `minmax(${r}px, 1fr)` : "minmax(0px, 1fr)" : `minmax(${r}px, ${i}px)`;
71
- }, de = (e, t, n) => {
72
+ }, fe = (e, t, n) => {
72
73
  let r = [];
73
74
  n.selects && r.push("var(--table-checkbox-cell-inline-size)"), n.expandable && r.push("var(--table-disclosure-cell-inline-size)");
74
- for (let n of e) r.push(ue(n, w(t[n.id])));
75
+ for (let n of e) r.push(de(n, w(t[n.id])));
75
76
  return r.join(" ");
76
- }, fe = (e, t) => {
77
+ }, pe = (e, t) => {
77
78
  let n = w(t) ?? w(e.width);
78
79
  return n === void 0 ? w(e.minWidth) ?? (e.resizable ? 48 : 0) : O(n, e);
79
- }, pe = (e, t, n) => {
80
+ }, me = (e, t, n) => {
80
81
  let r = [];
81
82
  n.selects && r.push("var(--table-checkbox-cell-inline-size)"), n.expandable && r.push("var(--table-disclosure-cell-inline-size)");
82
- let i = e.reduce((e, n) => e + fe(n, w(t[n.id])), 0);
83
+ let i = e.reduce((e, n) => e + pe(n, w(t[n.id])), 0);
83
84
  return r.push(`${i}px`), `calc(${r.join(" + ")})`;
84
- }, me = (e) => ({
85
+ }, he = (e) => ({
85
86
  id: e.id,
86
87
  header: typeof e.header == "string" ? e.header : e.id,
87
88
  width: w(e.width),
@@ -89,7 +90,7 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
89
90
  maxWidth: w(e.maxWidth),
90
91
  resizable: e.resizable !== !1,
91
92
  lineClamp: w(e.lineClamp)
92
- }), he = (e, t) => {
93
+ }), ge = (e, t) => {
93
94
  let n = e === "PageDown" || e === "PageUp";
94
95
  switch (e) {
95
96
  case "ArrowRight":
@@ -112,7 +113,7 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
112
113
  };
113
114
  default: return;
114
115
  }
115
- }, ge = (e, t, n) => t.action === "min" ? E(n) : t.action === "max" ? D(n) : O(e + (t.action === "increase" ? 1 : -1) * t.amount, n), k = {
116
+ }, _e = (e, t, n) => t.action === "min" ? E(n) : t.action === "max" ? D(n) : O(e + (t.action === "increase" ? 1 : -1) * t.amount, n), k = {
116
117
  selectAll: "Select All",
117
118
  selectRow: "Select row {index}",
118
119
  sortAscending: "Sorted by {column}, ascending",
@@ -121,7 +122,7 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
121
122
  collapseRow: "Collapse {label}",
122
123
  resizeColumn: "Resize {column}",
123
124
  columnWidth: "{column}, {width} pixels"
124
- }, _e = (e) => e.rowType === "information" || e._$rowType$ === 1, ve = (e) => e === "asc" ? "ascending" : e === "desc" ? "descending" : "none", ye = (e) => e === "asc" ? "desc" : "asc", A = (e = {}, t) => {
125
+ }, ve = (e) => e.rowType === "information" || e._$rowType$ === 1, ye = (e) => e === "asc" ? "ascending" : e === "desc" ? "descending" : "none", be = (e) => e === "asc" ? "desc" : "asc", A = (e = {}, t) => {
125
126
  let n = Object.fromEntries(Object.entries(e).filter(([, e]) => typeof e == "string" && e !== "")), r = {
126
127
  ...k,
127
128
  ...n
@@ -131,12 +132,12 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
131
132
  let n = e;
132
133
  for (let [e, r] of Object.entries(t)) n = n.replaceAll(`{${e}}`, r);
133
134
  return n;
134
- }, be = (e, t) => e.map((e, n) => ({
135
+ }, xe = (e, t) => e.map((e, n) => ({
135
136
  item: e,
136
137
  value: t ? t(e, n) : String(n),
137
138
  index: n,
138
- information: _e(e)
139
- })), xe = (e, t) => typeof e == "function" ? e(t) : e, Se = class {
139
+ information: ve(e)
140
+ })), Se = (e, t) => typeof e == "function" ? e(t) : e, Ce = class {
140
141
  constructor() {
141
142
  this.records = [], this.sorting = [], this.manualSorting = !1, this.rowSelection = {}, this.selectedOrder = [], this.columns = [], this.table = te({
142
143
  data: [],
@@ -150,9 +151,9 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
150
151
  enableRowSelection: (e) => !!this.selects && !e.original.information,
151
152
  enableMultiRowSelection: () => this.selects === "multiple",
152
153
  onRowSelectionChange: (e) => {
153
- this.pendingSelection = xe(e, this.rowSelection);
154
+ this.pendingSelection = Se(e, this.rowSelection);
154
155
  }
155
- }), this.compare = (e, t) => typeof e == "number" && typeof t == "number" ? e - t : ((!this.collator || this.collatorLocale !== this.locale) && (this.collatorLocale = this.locale, this.collator = new Intl.Collator(this.locale, {
156
+ }), this.compare = (e, t) => typeof e == "number" && typeof t == "number" ? e - t : (this.collator && this.collatorLocale === this.locale || (this.collatorLocale = this.locale, this.collator = new Intl.Collator(this.locale, {
156
157
  numeric: !0,
157
158
  sensitivity: "base"
158
159
  })), this.collator.compare(String(e), String(t)));
@@ -164,14 +165,10 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
164
165
  this.selectedOrder = [...e], this.rowSelection = Object.fromEntries(e.map((e) => [e, !0]));
165
166
  }
166
167
  setSorting(e, t = !1) {
167
- if (this.manualSorting = t, !e) {
168
- this.sorting = [];
169
- return;
170
- }
171
- this.columns.some((t) => t.id === e.key) || (this.columns = [...this.columns, this.createSortColumn(e.key)]), this.sorting = [{
168
+ this.manualSorting = t, e ? (this.columns.some((t) => t.id === e.key) || (this.columns = [...this.columns, this.createSortColumn(e.key)]), this.sorting = [{
172
169
  id: e.key,
173
170
  desc: e.direction === "desc"
174
- }];
171
+ }]) : this.sorting = [];
175
172
  }
176
173
  get rows() {
177
174
  this.sync();
@@ -230,11 +227,11 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
230
227
  }
231
228
  }));
232
229
  }
233
- }, Ce = /* @__PURE__ */ new Set([
230
+ }, we = /* @__PURE__ */ new Set([
234
231
  "luzmo-table-cell",
235
232
  "luzmo-table-head-cell",
236
233
  "luzmo-table-checkbox-cell"
237
- ]), M = (e) => e.find((e) => e instanceof HTMLElement && e.classList.contains("resize-handle")), we = class {
234
+ ]), M = (e) => e.find((e) => e instanceof HTMLElement && e.classList.contains("resize-handle")), Te = class {
238
235
  constructor(e, t) {
239
236
  this.handlePointerDown = (e) => {
240
237
  if (!this.options.owns(e) || e.button !== 0) return;
@@ -278,12 +275,12 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
278
275
  if (e.defaultPrevented || !this.options.owns(e)) return;
279
276
  let t = e.composedPath();
280
277
  if (!M(t)) return;
281
- let n = he(e.code, this.options.isLTR()), r = this.cellFromPath(t);
278
+ let n = ge(e.code, this.options.isLTR()), r = this.cellFromPath(t);
282
279
  n && r?.localName === "luzmo-table-head-cell" && (e.preventDefault(), e.stopPropagation(), this.resizeColumn(r, n));
283
280
  }
284
281
  resizeColumn(e, t) {
285
282
  let n = this.options.headCells().indexOf(e), r = e.toLayout(Math.max(n, 0)), i = e.currentWidth || Math.round(e.getBoundingClientRect().width);
286
- this.setColumnWidth(r, ge(i, t, r), !0);
283
+ this.setColumnWidth(r, _e(i, t, r), !0);
287
284
  }
288
285
  setColumnWidth(e, t, n) {
289
286
  let r = O(t, e), i = {
@@ -309,12 +306,12 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
309
306
  }
310
307
  formatWidth(e) {
311
308
  let t = this.options.language();
312
- return (!this.widthFormatter || this.formatterLanguage !== t) && (this.formatterLanguage = t, this.widthFormatter = new Intl.NumberFormat(t)), this.widthFormatter.format(e);
309
+ return this.widthFormatter && this.formatterLanguage === t || (this.formatterLanguage = t, this.widthFormatter = new Intl.NumberFormat(t)), this.widthFormatter.format(e);
313
310
  }
314
311
  cellFromPath(e) {
315
- return e.find((e) => e instanceof HTMLElement && Ce.has(e.localName));
312
+ return e.find((e) => e instanceof HTMLElement && we.has(e.localName));
316
313
  }
317
- }, Te = "textarea, select, [contenteditable=\"\"], [contenteditable=\"true\"], input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"button\"]):not([type=\"submit\"]):not([type=\"reset\"])", Ee = class extends r {
314
+ }, Ee = "textarea, select, [contenteditable=\"\"], [contenteditable=\"true\"], input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"button\"]):not([type=\"submit\"]):not([type=\"reset\"])", De = class extends r {
318
315
  constructor(e, { rows: t, isLTR: n, ...r }) {
319
316
  super(e, r), this.handleFocusout = (e) => {
320
317
  let t = e.relatedTarget;
@@ -324,7 +321,7 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
324
321
  }, this.handleKeydown = (e) => {
325
322
  if (e.defaultPrevented || !this.acceptsEventCode(e.code) || !this.owns(e)) return;
326
323
  let t = e.composedPath()[0];
327
- if (t instanceof HTMLElement && t.matches(Te)) return;
324
+ if (t instanceof HTMLElement && t.matches(Ee)) return;
328
325
  let n = this.cellFromPath(e.composedPath());
329
326
  if (!n) return;
330
327
  let r = this.navigationTarget(n, e);
@@ -390,7 +387,7 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
390
387
  }, N = Symbol("table-details-closing"), P = (e) => {
391
388
  let t = e.nextElementSibling;
392
389
  return t?.localName === "luzmo-table-row-details" ? t : null;
393
- }, F = (e) => e instanceof HTMLElement, De = class {
390
+ }, F = (e) => e instanceof HTMLElement, Oe = class {
394
391
  constructor(e, t) {
395
392
  this.closingDetails = /* @__PURE__ */ new Set(), this.handleDetailsCollapsed = (e) => {
396
393
  if (!this.options.owns(e)) return;
@@ -468,7 +465,7 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
468
465
  rows() {
469
466
  return this.isDataMode() ? [...this.host.shadowRoot?.querySelectorAll("luzmo-table-row") ?? []] : this.declarativeRows();
470
467
  }
471
- }, I = (e) => e instanceof HTMLElement, Oe = class {
468
+ }, I = (e) => e instanceof HTMLElement, ke = class {
472
469
  constructor(e, t) {
473
470
  this.handleBodyScroll = (e) => {
474
471
  this.options.owns(e) && e.composedPath().find((e) => I(e) && e.localName === "luzmo-table-body") && this.host.requestUpdate();
@@ -487,7 +484,7 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
487
484
  return this.isDataMode() ? typeof this.host.renderDetails == "function" : this.declarativeRows().some((e) => e.nextElementSibling?.localName === "luzmo-table-row-details");
488
485
  }
489
486
  layouts() {
490
- return this.isDataMode() && !this.slottedHead() ? this.host.columns.map(me) : this.headCells().map((e, t) => e.toLayout(t));
487
+ return this.isDataMode() && !this.slottedHead() ? this.host.columns.map(he) : this.headCells().map((e, t) => e.toLayout(t));
491
488
  }
492
489
  headCells() {
493
490
  return [...this.head()?.querySelectorAll(":scope > luzmo-table-head-cell") ?? []];
@@ -497,7 +494,7 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
497
494
  selects: !!this.host.selects,
498
495
  expandable: this.hasExpansion()
499
496
  }, t = this.layouts();
500
- this.host.style.setProperty("--table-grid-columns", de(t, this.host.columnWidths, e) || "none"), this.host.style.setProperty("--table-min-inline-size", pe(t, this.host.columnWidths, e));
497
+ this.host.style.setProperty("--table-grid-columns", fe(t, this.host.columnWidths, e) || "none"), this.host.style.setProperty("--table-min-inline-size", me(t, this.host.columnWidths, e));
501
498
  }
502
499
  syncPresentation() {
503
500
  this.syncHead(), this.syncColumns(), this.isDataMode() || this.syncDeclarativeRows();
@@ -520,7 +517,7 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
520
517
  }
521
518
  watchBodyScrollbar() {
522
519
  let e = this.body();
523
- !e || e === this.observedBody || (this.bodyObserver?.disconnect(), this.observedBody = e, this.bodyObserver ??= new ResizeObserver(() => {
520
+ e && e !== this.observedBody && (this.bodyObserver?.disconnect(), this.observedBody = e, this.bodyObserver ??= new ResizeObserver(() => {
524
521
  this.syncHeadScroll();
525
522
  }), this.bodyObserver.observe(e, { box: "content-box" }));
526
523
  }
@@ -582,21 +579,15 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
582
579
  rows() {
583
580
  return this.isDataMode() ? [...this.host.shadowRoot?.querySelectorAll("luzmo-table-row") ?? []] : this.declarativeRows();
584
581
  }
585
- }, L = Symbol("table-virtual-range-updated"), ke = 40, Ae = 4, R = (e) => e.getBoundingClientRect().height, je = class {
582
+ }, L = Symbol("table-virtual-range-updated"), Ae = 40, je = 4, R = (e) => e.getBoundingClientRect().height, Me = class {
586
583
  constructor(e, t) {
587
- this.connected = !1, this.keys = [], this.estimatedSize = ke, this.host = e, this.options = t, e.addController(this);
584
+ this.connected = !1, this.keys = [], this.estimatedSize = Ae, this.host = e, this.options = t, e.addController(this);
588
585
  }
589
586
  get enabled() {
590
587
  return !!this.virtualizer;
591
588
  }
592
589
  set enabled(e) {
593
- if (e !== this.enabled) {
594
- if (e) {
595
- this.virtualizer = new ie(this.createOptions()), this.connected && (this.cleanup = this.virtualizer._didMount());
596
- return;
597
- }
598
- this.cleanup?.(), this.cleanup = void 0, this.virtualizer = void 0, this.range = void 0;
599
- }
590
+ e !== this.enabled && (e ? (this.virtualizer = new ie(this.createOptions()), this.connected && (this.cleanup = this.virtualizer._didMount())) : (this.cleanup?.(), this.cleanup = void 0, this.virtualizer = void 0, this.range = void 0));
600
591
  }
601
592
  sync(e) {
602
593
  return this.virtualizer ? (e !== this.keys && (this.keys = e, this.virtualizer.setOptions(this.createOptions())), this.virtualizer.getVirtualItems()) : [];
@@ -632,11 +623,11 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
632
623
  getScrollElement: this.options.getScrollElement,
633
624
  estimateSize: () => this.estimatedSize,
634
625
  getItemKey: (e) => this.keys[e] ?? e,
635
- overscan: Ae,
626
+ overscan: je,
636
627
  useAnimationFrameWithResizeObserver: !0,
637
- scrollToFn: b,
638
- observeElementRect: oe,
639
- observeElementOffset: ae,
628
+ scrollToFn: ae,
629
+ observeElementRect: se,
630
+ observeElementOffset: oe,
640
631
  measureElement: (e) => this.options.isRendered(e) && R(e) || this.estimatedSize,
641
632
  onChange: (e) => {
642
633
  let t = this.reportRange(e);
@@ -658,14 +649,12 @@ var se = "data-luzmo-table-announcer", x, S = 0, C = 0, ce = () => {
658
649
  last: r
659
650
  }), !0);
660
651
  }
661
- }, Me = ":host{grid-template-columns:var(--table-grid-columns);min-inline-size:var(--table-min-inline-size,0);box-sizing:border-box;display:grid;overflow:hidden;border-block-start:none!important;border-inline:none!important;border-block-end-width:var(--table-row-divider-width)!important;border-block-end-style:solid!important;border-block-end-color:var(--highcontrast-table-row-divider-color,var(--luzmo-table-border-color,var(--table-row-divider-color)))!important}:host([data-last-row]){border-block-end-width:0!important}:host([hidden]){display:none!important}.cell{outline:none;grid-column:1/-1;grid-template-rows:1fr;min-inline-size:0;display:grid;overflow:hidden}:host([data-last-row]) .cell{--table-focus-end-start-radius:var(--table-corner-radius);--table-focus-end-end-radius:var(--table-corner-radius)}.cell:focus-visible{outline:var(--luzmo-indicator-width,2px) solid var(--highcontrast-table-details-focus-indicator-color,var(--luzmo-indicator-color,currentColor));outline-offset:calc(var(--luzmo-indicator-width,2px) * -1);border-start-start-radius:var(--table-focus-start-start-radius,0);border-start-end-radius:var(--table-focus-start-end-radius,0);border-end-end-radius:var(--table-focus-end-end-radius,0);border-end-start-radius:var(--table-focus-end-start-radius,0)}.content{padding-block:var(--table-details-padding-block);padding-inline:var(--table-details-padding-inline);overflow:hidden}:host([opening]) .content,:host([closing]) .content{min-block-size:0}:host([opening]) .cell{animation:table-details-open var(--luzmo-animation-duration) ease-out}:host([closing]) .cell{animation:table-details-close var(--luzmo-animation-duration) ease-in}@keyframes table-details-open{0%{opacity:0;grid-template-rows:0fr}}@keyframes table-details-close{to{opacity:0;grid-template-rows:0fr}}@media (prefers-reduced-motion:reduce){:host([opening]) .cell,:host([closing]) .cell{animation:none}}:host{--table-row-divider-color:var(--luzmo-border-color);--table-row-divider-width:var(--luzmo-border-width);--table-details-padding-block:var(--luzmo-spacing-4);--table-details-padding-inline:var(--luzmo-table-cell-padding-inline,var(--table-cell-padding-inline))}@media (forced-colors:active){:host{--highcontrast-table-row-divider-color:CanvasText;--highcontrast-table-details-focus-indicator-color:Highlight}}";
662
- //#endregion
663
- //#region src/components/table/table-styles.ts
652
+ }, Ne = ":host{grid-template-columns:var(--table-grid-columns);min-inline-size:var(--table-min-inline-size,0);box-sizing:border-box;display:grid;overflow:hidden;border-block-start:none!important;border-inline:none!important;border-block-end-width:var(--table-row-divider-width)!important;border-block-end-style:solid!important;border-block-end-color:var(--highcontrast-table-row-divider-color,var(--luzmo-table-border-color,var(--table-row-divider-color)))!important}:host([data-last-row]){border-block-end-width:0!important}:host([hidden]){display:none!important}.cell{outline:none;grid-column:1/-1;grid-template-rows:1fr;min-inline-size:0;display:grid;overflow:hidden}:host([data-last-row]) .cell{--table-focus-end-start-radius:var(--table-corner-radius);--table-focus-end-end-radius:var(--table-corner-radius)}.cell:focus-visible{outline:var(--luzmo-indicator-width,2px) solid var(--highcontrast-table-details-focus-indicator-color,var(--luzmo-indicator-color,currentColor));outline-offset:calc(var(--luzmo-indicator-width,2px) * -1);border-start-start-radius:var(--table-focus-start-start-radius,0);border-start-end-radius:var(--table-focus-start-end-radius,0);border-end-end-radius:var(--table-focus-end-end-radius,0);border-end-start-radius:var(--table-focus-end-start-radius,0)}.content{padding-block:var(--table-details-padding-block);padding-inline:var(--table-details-padding-inline);overflow:hidden}:host([opening]) .content,:host([closing]) .content{min-block-size:0}:host([opening]) .cell{animation:table-details-open var(--luzmo-animation-duration) ease-out}:host([closing]) .cell{animation:table-details-close var(--luzmo-animation-duration) ease-in}@keyframes table-details-open{0%{opacity:0;grid-template-rows:0fr}}@keyframes table-details-close{to{opacity:0;grid-template-rows:0fr}}@media (prefers-reduced-motion:reduce){:host([opening]) .cell,:host([closing]) .cell{animation:none}}:host{--table-row-divider-color:var(--luzmo-border-color);--table-row-divider-width:var(--luzmo-border-width);--table-details-padding-block:var(--luzmo-spacing-4);--table-details-padding-inline:var(--luzmo-table-cell-padding-inline,var(--table-cell-padding-inline))}@media (forced-colors:active){:host{--highcontrast-table-row-divider-color:CanvasText;--highcontrast-table-details-focus-indicator-color:Highlight}}";
653
+ // src/components/table/table-styles.ts
664
654
  function z(e, t) {
665
- return [...Array.isArray(e) ? e : e ? [e] : [], l(t)];
655
+ return [...Array.isArray(e) ? e : e ? [e] : [], u(t)];
666
656
  }
667
- //#endregion
668
- //#region src/components/table/table-row-details.ts
657
+ // src/components/table/table-row-details.ts
669
658
  var B = class extends e {
670
659
  constructor(...e) {
671
660
  super(...e), this.role = "row", this.open = !1, this._phase = "closed", this.reducedMotion = new o(this, "(prefers-reduced-motion: reduce)"), this.handleAnimationEnd = (e) => {
@@ -678,26 +667,16 @@ var B = class extends e {
678
667
  };
679
668
  }
680
669
  static get styles() {
681
- return z(super.styles, Me);
670
+ return z(super.styles, Ne);
682
671
  }
683
672
  disconnectedCallback() {
684
673
  window.clearTimeout(this._closeFallback), super.disconnectedCallback();
685
674
  }
686
675
  willUpdate(e) {
687
- if (super.willUpdate(e), !(!e.has("open") && this.hasUpdated)) {
688
- if (this.open) {
689
- this.hidden = !1, this._phase = this.hasUpdated && !this.reducedMotion.matches ? "opening" : "open";
690
- return;
691
- }
692
- if (!this.hasUpdated || this.reducedMotion.matches || this._phase === "closed") {
693
- this._phase = "closed", this.hidden = !0;
694
- return;
695
- }
696
- this._phase = "closing";
697
- }
676
+ super.willUpdate(e), (e.has("open") || !this.hasUpdated) && (this.open ? (this.hidden = !1, this._phase = this.hasUpdated && !this.reducedMotion.matches ? "opening" : "open") : !this.hasUpdated || this.reducedMotion.matches || this._phase === "closed" ? (this._phase = "closed", this.hidden = !0) : this._phase = "closing");
698
677
  }
699
678
  render() {
700
- return s`
679
+ return c`
701
680
  <div
702
681
  class="cell"
703
682
  role="gridcell"
@@ -711,19 +690,18 @@ var B = class extends e {
711
690
  super.updated(e), e.has("_phase") && (this.toggleAttribute("opening", this._phase === "opening"), this.toggleAttribute("closing", this._phase === "closing"), window.clearTimeout(this._closeFallback), this._phase === "closing" && (this._closeFallback = window.setTimeout(this._finishClosing, 200)));
712
691
  }
713
692
  };
714
- t([u({ reflect: !0 })], B.prototype, "role", void 0), t([u({
693
+ t([d({ reflect: !0 })], B.prototype, "role", void 0), t([d({
715
694
  type: Boolean,
716
695
  reflect: !0
717
- })], B.prototype, "open", void 0), t([f()], B.prototype, "_phase", void 0);
718
- //#endregion
719
- //#region src/components/table/table-templates.ts
696
+ })], B.prototype, "open", void 0), t([p()], B.prototype, "_phase", void 0);
697
+ // src/components/table/table-templates.ts
720
698
  var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
721
699
  let n = t[e.accessorKey ?? e.id];
722
700
  return typeof n == "string" || typeof n == "number" ? String(n) : "";
723
- }, Ne = (e, t, n) => {
701
+ }, Pe = (e, t, n) => {
724
702
  let r = e.map((e) => {
725
703
  let r = V(e), i = typeof e.header == "string" ? e.header : e.id;
726
- return s`
704
+ return c`
727
705
  <luzmo-table-head-cell
728
706
  column-id=${e.id}
729
707
  ?sortable=${!!e.sortable}
@@ -739,68 +717,68 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
739
717
  >
740
718
  `;
741
719
  });
742
- return s`
720
+ return c`
743
721
  <luzmo-table-head .expandable=${n.expandable}
744
722
  >${r}</luzmo-table-head
745
723
  >
746
724
  `;
747
- }, Pe = (e, t, n) => {
725
+ }, Fe = (e, t, n) => {
748
726
  let { item: r, index: i } = e;
749
- return n ? n(r, i) : e.information ? s`<luzmo-table-cell span-all
727
+ return n ? n(r, i) : e.information ? c`<luzmo-table-cell span-all
750
728
  >${t[0] ? H(t[0], r) : ""}</luzmo-table-cell
751
- >` : t.map((e) => s`
729
+ >` : t.map((e) => c`
752
730
  <luzmo-table-cell .columnLineClamp=${e.lineClamp}
753
731
  >${e.cell ? e.cell(r, i) : H(e, r)}</luzmo-table-cell
754
732
  >
755
733
  `);
756
- }, Fe = (e, t, { columns: n, renderItem: r, itemLabel: i, selectRowLabel: a }) => i ? i(e.item, e.index) : (!r && n[0] ? H(n[0], e.item) : "") || j(a, { index: String(t + 1) }), U = (e) => s`
734
+ }, Ie = (e, t, { columns: n, renderItem: r, itemLabel: i, selectRowLabel: a }) => i ? i(e.item, e.index) : (!r && n[0] ? H(n[0], e.item) : "") || j(a, { index: String(t + 1) }), U = (e) => c`
757
735
  <div
758
736
  class="virtual-spacer"
759
737
  aria-hidden="true"
760
- style=${y({ blockSize: `${e}px` })}
738
+ style=${b({ blockSize: `${e}px` })}
761
739
  ></div>
762
- `, Ie = (e) => {
740
+ `, Le = (e) => {
763
741
  let { rows: t, columns: n, renderItem: r, selects: i, rowIndexOffset: a } = e, o = a !== void 0;
764
- return s`
742
+ return c`
765
743
  <luzmo-table-body>
766
- ${o ? U(e.paddingStart) : c}
767
- ${ee(t, ({ record: e }) => e.value, ({ record: t, position: l }) => {
768
- let u = !!i && !t.information, d = e.expandable && !t.information, f = d && e.isExpanded(t.value), p = l === e.rowCount - 1, m = e.ariaIndexes?.get(t.value), h = m?.row ?? (a === void 0 ? void 0 : l + a), g = s`${s`
744
+ ${o ? U(e.paddingStart) : l}
745
+ ${ee(t, ({ record: e }) => e.value, ({ record: t, position: s }) => {
746
+ let u = !!i && !t.information, d = e.expandable && !t.information, f = d && e.isExpanded(t.value), p = s === e.rowCount - 1, m = e.ariaIndexes?.get(t.value), h = m?.row ?? (a === void 0 ? void 0 : s + a), g = c`
769
747
  <luzmo-table-row
770
748
  value=${t.value}
771
- data-index=${_(o ? void 0 : l)}
772
- aria-rowindex=${_(h)}
749
+ data-index=${v(o ? void 0 : s)}
750
+ aria-rowindex=${v(h)}
773
751
  ?data-last-row=${p}
774
752
  .selectable=${u}
775
753
  .selected=${u && e.isSelected(t.value)}
776
754
  .selectionColumn=${!!i}
777
755
  .selectsSingle=${i === "single"}
778
756
  .emphasized=${e.emphasized}
779
- .checkboxLabel=${u ? Fe(t, l, e) : ""}
757
+ .checkboxLabel=${u ? Ie(t, s, e) : ""}
780
758
  .checkboxSize=${e.checkboxSize}
781
759
  .expandable=${d}
782
760
  .expanded=${f}
783
761
  .expansionColumn=${e.expandable && !d}
784
762
  .spanAll=${t.information}
785
- .disclosureLabel=${d ? e.expandLabel(t, l) : ""}
763
+ .disclosureLabel=${d ? e.expandLabel(t, s) : ""}
786
764
  .detailsId=${d ? T(t.value) : ""}
787
- >${Pe(t, n, r)}</luzmo-table-row
765
+ >${Fe(t, n, r)}</luzmo-table-row
788
766
  >
789
- `}${d ? s`
767
+ `, _ = d ? c`
790
768
  <luzmo-table-row-details
791
769
  id=${T(t.value)}
792
770
  .open=${f}
793
- aria-rowindex=${_(m?.details)}
771
+ aria-rowindex=${v(m?.details)}
794
772
  ?data-last-row=${p}
795
773
  >${e.renderDetails?.(t.item, t.index)}</luzmo-table-row-details
796
774
  >
797
- ` : c}`;
798
- return o ? s`<div class="row-group" data-index=${l}>${g}</div>` : g;
775
+ ` : l, y = c`${g}${_}`;
776
+ return o ? c`<div class="row-group" data-index=${s}>${y}</div>` : y;
799
777
  })}
800
- ${o ? U(e.paddingEnd) : c}
778
+ ${o ? U(e.paddingEnd) : l}
801
779
  </luzmo-table-body>
802
780
  `;
803
- }, Le = ":host{box-sizing:border-box;font-family:var(--luzmo-font-family);font-size:var(--table-font-size);line-height:var(--luzmo-line-height);color:var(--table-font-color);background-color:var(--luzmo-table-background-color,var(--table-background-color));border-radius:var(--luzmo-table-border-radius,var(--table-border-radius));flex-direction:column;display:flex;position:relative;overflow:hidden;border-width:var(--table-border-width)!important;border-style:solid!important;border-color:var(--highcontrast-table-border-color,var(--luzmo-table-border-color,var(--table-border-color)))!important}slot.data::slotted(luzmo-table-body){display:none}:host{--table-font-size:var(--luzmo-font-size-m);--table-font-color:var(--luzmo-font-color);--table-background-color:var(--luzmo-background-color);--table-border-width:var(--luzmo-border-width);--table-border-color:var(--luzmo-border-color);--table-column-divider-width:0px;--table-column-divider-color:var(--table-border-color);--table-border-radius:var(--luzmo-border-radius);--table-row-min-block-size:calc(var(--luzmo-component-height) + var(--luzmo-spacing-3));--table-row-density-offset:0px;--table-cell-padding-block:var(--luzmo-spacing-2);--table-cell-padding-inline:var(--luzmo-spacing-4);--table-checkbox-cell-inline-size:calc(var(--luzmo-icon-size-m) + var(--luzmo-spacing-4) * 2);--table-disclosure-cell-inline-size:var(--table-checkbox-cell-inline-size);--table-sort-icon-size:var(--luzmo-icon-size-m);--table-row-selected-background-color:var(--luzmo-background-color-highlight);--table-row-selected-hover-background-color:var(--luzmo-background-color-highlight-hover);--table-body-overflow:hidden;--table-corner-radius:max(0px, calc(var(--luzmo-table-border-radius,var(--table-border-radius)) - var(--table-border-width)))}:host([size=s]){--table-font-size:var(--luzmo-font-size-s);--table-row-min-block-size:calc(var(--luzmo-component-height-s) + var(--luzmo-spacing-2));--table-cell-padding-inline:var(--luzmo-spacing-3);--table-checkbox-cell-inline-size:calc(var(--luzmo-icon-size-s) + var(--luzmo-spacing-3) * 2);--table-sort-icon-size:var(--luzmo-icon-size-s)}:host([size=l]){--table-font-size:var(--luzmo-font-size-l);--table-row-min-block-size:calc(var(--luzmo-component-height-l) + var(--luzmo-spacing-3));--table-cell-padding-inline:var(--luzmo-spacing-5);--table-checkbox-cell-inline-size:calc(var(--luzmo-icon-size-l) + var(--luzmo-spacing-5) * 2);--table-sort-icon-size:var(--luzmo-icon-size-l)}:host([size=xl]){--table-font-size:var(--luzmo-font-size-xl);--table-row-min-block-size:calc(var(--luzmo-component-height-xl) + var(--luzmo-spacing-5));--table-cell-padding-inline:var(--luzmo-spacing-5);--table-checkbox-cell-inline-size:calc(var(--luzmo-icon-size-xl) + var(--luzmo-spacing-5) * 2);--table-sort-icon-size:var(--luzmo-icon-size-xl)}:host([density=compact]){--table-row-density-offset:calc(var(--luzmo-spacing-3) * -1);--table-cell-padding-block:var(--luzmo-spacing-1)}:host([density=spacious]){--table-row-density-offset:var(--luzmo-spacing-3);--table-cell-padding-block:var(--luzmo-spacing-3)}:host([emphasized]){--table-row-selected-background-color:rgba(var(--luzmo-primary-rgb), .1);--table-row-selected-hover-background-color:rgba(var(--luzmo-primary-rgb), .16)}:host([quiet]){--table-border-width:0px;--table-background-color:rgba(var(--luzmo-background-color-rgb), 0);--table-border-radius:0px}:host([scroller]),:host([virtualized]){--table-body-overflow:auto}@media (forced-colors:active){:host{--highcontrast-table-border-color:CanvasText;--highcontrast-table-column-divider-color:CanvasText}}", Re = [
781
+ }, Re = ":host{box-sizing:border-box;font-family:var(--luzmo-font-family);font-size:var(--table-font-size);line-height:var(--luzmo-line-height);color:var(--table-font-color);background-color:var(--luzmo-table-background-color,var(--table-background-color));border-radius:var(--luzmo-table-border-radius,var(--table-border-radius));flex-direction:column;display:flex;position:relative;overflow:hidden;border-width:var(--table-border-width)!important;border-style:solid!important;border-color:var(--highcontrast-table-border-color,var(--luzmo-table-border-color,var(--table-border-color)))!important}slot.data::slotted(luzmo-table-body){display:none}:host{--table-font-size:var(--luzmo-font-size-m);--table-font-color:var(--luzmo-font-color);--table-background-color:var(--luzmo-background-color);--table-border-width:var(--luzmo-border-width);--table-border-color:var(--luzmo-border-color);--table-column-divider-width:0px;--table-column-divider-color:var(--table-border-color);--table-border-radius:var(--luzmo-border-radius);--table-row-min-block-size:calc(var(--luzmo-component-height) + var(--luzmo-spacing-3));--table-row-density-offset:0px;--table-cell-padding-block:var(--luzmo-spacing-2);--table-cell-padding-inline:var(--luzmo-spacing-4);--table-checkbox-cell-inline-size:calc(var(--luzmo-icon-size-m) + var(--luzmo-spacing-4) * 2);--table-disclosure-cell-inline-size:var(--table-checkbox-cell-inline-size);--table-sort-icon-size:var(--luzmo-icon-size-m);--table-row-selected-background-color:var(--luzmo-background-color-highlight);--table-row-selected-hover-background-color:var(--luzmo-background-color-highlight-hover);--table-body-overflow:hidden;--table-corner-radius:max(0px, calc(var(--luzmo-table-border-radius,var(--table-border-radius)) - var(--table-border-width)))}:host([size=s]){--table-font-size:var(--luzmo-font-size-s);--table-row-min-block-size:calc(var(--luzmo-component-height-s) + var(--luzmo-spacing-2));--table-cell-padding-inline:var(--luzmo-spacing-3);--table-checkbox-cell-inline-size:calc(var(--luzmo-icon-size-s) + var(--luzmo-spacing-3) * 2);--table-sort-icon-size:var(--luzmo-icon-size-s)}:host([size=l]){--table-font-size:var(--luzmo-font-size-l);--table-row-min-block-size:calc(var(--luzmo-component-height-l) + var(--luzmo-spacing-3));--table-cell-padding-inline:var(--luzmo-spacing-5);--table-checkbox-cell-inline-size:calc(var(--luzmo-icon-size-l) + var(--luzmo-spacing-5) * 2);--table-sort-icon-size:var(--luzmo-icon-size-l)}:host([size=xl]){--table-font-size:var(--luzmo-font-size-xl);--table-row-min-block-size:calc(var(--luzmo-component-height-xl) + var(--luzmo-spacing-5));--table-cell-padding-inline:var(--luzmo-spacing-5);--table-checkbox-cell-inline-size:calc(var(--luzmo-icon-size-xl) + var(--luzmo-spacing-5) * 2);--table-sort-icon-size:var(--luzmo-icon-size-xl)}:host([density=compact]){--table-row-density-offset:calc(var(--luzmo-spacing-3) * -1);--table-cell-padding-block:var(--luzmo-spacing-1)}:host([density=spacious]){--table-row-density-offset:var(--luzmo-spacing-3);--table-cell-padding-block:var(--luzmo-spacing-3)}:host([emphasized]){--table-row-selected-background-color:rgba(var(--luzmo-primary-rgb), .1);--table-row-selected-hover-background-color:rgba(var(--luzmo-primary-rgb), .16)}:host([quiet]){--table-border-width:0px;--table-background-color:rgba(var(--luzmo-background-color-rgb), 0);--table-border-radius:0px}:host([scroller]),:host([virtualized]){--table-body-overflow:auto}@media (forced-colors:active){:host{--highcontrast-table-border-color:CanvasText;--highcontrast-table-column-divider-color:CanvasText}}", ze = [
804
782
  "items",
805
783
  "itemValue",
806
784
  "selects",
@@ -814,7 +792,7 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
814
792
  "_lightDomVersion",
815
793
  N,
816
794
  i
817
- ], ze = [
795
+ ], Be = [
818
796
  "labels",
819
797
  "selectAllLabel",
820
798
  "emphasized",
@@ -823,22 +801,7 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
823
801
  "luzmo-table-cell",
824
802
  "luzmo-table-head-cell",
825
803
  "luzmo-table-checkbox-cell"
826
- ]), Be = [
827
- "a[href]",
828
- "button",
829
- "input",
830
- "select",
831
- "textarea",
832
- "label",
833
- "summary",
834
- "[contenteditable=\"\"]",
835
- "[contenteditable=\"true\"]",
836
- "[role=\"button\"]",
837
- "[role=\"link\"]",
838
- "[role=\"checkbox\"]",
839
- "[role=\"switch\"]",
840
- "[role=\"menuitem\"]"
841
- ].join(","), Ve = "textarea, select, [contenteditable=\"\"], [contenteditable=\"true\"], input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"button\"]):not([type=\"submit\"]):not([type=\"reset\"])", He = [
804
+ ]), Ve = "a[href],button,input,select,textarea,label,summary,[contenteditable=\"\"],[contenteditable=\"true\"],[role=\"button\"],[role=\"link\"],[role=\"checkbox\"],[role=\"switch\"],[role=\"menuitem\"]", He = "textarea, select, [contenteditable=\"\"], [contenteditable=\"true\"], input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"button\"]):not([type=\"submit\"]):not([type=\"reset\"])", Ue = [
842
805
  "columns",
843
806
  "columnWidths",
844
807
  "selects",
@@ -847,13 +810,13 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
847
810
  "_lightDomVersion"
848
811
  ], G = (e) => e instanceof HTMLElement, K = class extends n(e) {
849
812
  static get styles() {
850
- return z(super.styles, Le);
813
+ return z(super.styles, Re);
851
814
  }
852
815
  constructor() {
853
- super(), this.role = "grid", this.emphasized = !1, this.quiet = !1, this.scroller = !1, this.selected = [], this.expanded = [], this.columnWidths = {}, this.columns = [], this.virtualized = !1, this.labels = {}, this._clientSort = !0, this._mode = "declarative", this._rows = [], this._rowKeys = [], this._warnedSlottedRows = !1, this.model = new Se(), this.language = new a(this), this.announcer = new le(this), this.layout = new Oe(this, {
816
+ super(), this.role = "grid", this.emphasized = !1, this.quiet = !1, this.scroller = !1, this.selected = [], this.expanded = [], this.columnWidths = {}, this.columns = [], this.virtualized = !1, this.labels = {}, this._clientSort = !0, this._mode = "declarative", this._rows = [], this._rowKeys = [], this._warnedSlottedRows = !1, this.model = new Ce(), this.language = new a(this), this.announcer = new ue(this), this.layout = new ke(this, {
854
817
  model: this.model,
855
818
  owns: (e) => this._owns(e)
856
- }), this.resize = new we(this, {
819
+ }), this.resize = new Te(this, {
857
820
  owns: (e) => this._owns(e),
858
821
  isLTR: () => this.isLTR,
859
822
  language: () => this.language.language,
@@ -864,7 +827,7 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
864
827
  announce: (e) => {
865
828
  this.announcer.announce(e);
866
829
  }
867
- }), this.expansion = new De(this, {
830
+ }), this.expansion = new Oe(this, {
868
831
  owns: (e) => this._owns(e),
869
832
  focusDisclosure: (e) => {
870
833
  this._activeCell = e, this.navigation.focusElement(e);
@@ -873,13 +836,13 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
873
836
  this._lightDomVersion += 1;
874
837
  }), this.directionManaged = /* @__PURE__ */ new Set(), this.directionObserver = new MutationObserver(() => {
875
838
  for (let e of this.directionManaged) this._syncDirection(e);
876
- }), this.navigation = new Ee(this, {
839
+ }), this.navigation = new De(this, {
877
840
  direction: "grid",
878
841
  elements: () => this._gridRows().flat(),
879
842
  rows: () => this._gridRows(),
880
843
  isLTR: () => this.isLTR,
881
844
  focusInIndex: (e) => this._gridEntryIndex(e)
882
- }), this.virtualizer = new je(this, {
845
+ }), this.virtualizer = new Me(this, {
883
846
  getScrollElement: () => this.shadowRoot?.querySelector("luzmo-table-body") ?? null,
884
847
  getRowElements: () => this.virtualizer.enabled ? [...this.shadowRoot?.querySelectorAll(".row-group") ?? []] : this._rowElements(),
885
848
  isRendered: (e) => !!e.querySelector("luzmo-table-row")?.hasUpdated,
@@ -907,13 +870,7 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
907
870
  }
908
871
  if (!r) return;
909
872
  let i = t.indexOf(r);
910
- if (!t.slice(0, i).some((e) => G(e) && (e.localName === "luzmo-table-checkbox-cell" || e.localName === "luzmo-table-disclosure-cell" || e.matches(Be)))) {
911
- if (this.selects) {
912
- this._toggleRow(r);
913
- return;
914
- }
915
- r.expandable && this.expansion.toggle(r);
916
- }
873
+ t.slice(0, i).some((e) => G(e) && (e.localName === "luzmo-table-checkbox-cell" || e.localName === "luzmo-table-disclosure-cell" || e.matches(Ve))) || (this.selects ? this._toggleRow(r) : r.expandable && this.expansion.toggle(r));
917
874
  }, this.handleFocusin = (e) => {
918
875
  if (!this._owns(e)) return;
919
876
  let t = this._gridElementFromPath(e.composedPath());
@@ -921,7 +878,7 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
921
878
  }, this.handleKeydown = (e) => {
922
879
  if (e.defaultPrevented || !this._owns(e)) return;
923
880
  let t = e.composedPath(), n = this._cellFromPath(t), r = this._gridElementFromPath(t), i = t[0], a = i === r;
924
- if (!a && G(i) && i.matches(Ve)) return;
881
+ if (!a && G(i) && i.matches(He)) return;
925
882
  if (e.code === "Escape") {
926
883
  this.expansion.collapseFromPath(t);
927
884
  return;
@@ -931,11 +888,8 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
931
888
  return;
932
889
  }
933
890
  let o = this._virtualNavigationTarget(e);
934
- if (o) {
935
- e.preventDefault(), e.stopImmediatePropagation(), this._focusVirtualCell(o.index, o.column);
936
- return;
937
- }
938
- if (r && (e.code === "Space" || e.code === "Enter" || e.code === "NumpadEnter")) {
891
+ if (o) e.preventDefault(), e.stopImmediatePropagation(), this._focusVirtualCell(o.index, o.column);
892
+ else if (r && (e.code === "Space" || e.code === "Enter" || e.code === "NumpadEnter")) {
939
893
  if (e.repeat) {
940
894
  a && e.preventDefault();
941
895
  return;
@@ -968,11 +922,7 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
968
922
  n && this.navigation.focusElement(n, e);
969
923
  }
970
924
  scrollToIndex(e) {
971
- if (this.virtualizer.enabled) {
972
- this.virtualizer.scrollToIndex(e);
973
- return;
974
- }
975
- this._rowElements()[e]?.scrollIntoView({ block: "nearest" });
925
+ this.virtualizer.enabled ? this.virtualizer.scrollToIndex(e) : this._rowElements()[e]?.scrollIntoView({ block: "nearest" });
976
926
  }
977
927
  startManagingContentDirection(e) {
978
928
  this.directionManaged.add(e), this._syncDirection(e);
@@ -1010,26 +960,28 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
1010
960
  let t = e;
1011
961
  e.has("selects") && this.selects !== "single" && this.selects !== "multiple" && (this.selects = void 0);
1012
962
  let n = Array.isArray(this.items) ? "data" : "declarative", r = n !== this._mode;
1013
- if (r && (this._mode = n, this._sort = void 0, this._clientSort = !0, this._activeCell = void 0, this._warnedSlottedRows = !1, this.hasUpdated && !e.has("selected") && (this.selected = []), this.hasUpdated && !e.has("expanded") && (this.expanded = []), this.expansion.clear()), this._isDataMode && !this._sort && (this._sort = this._initialSort()), this.virtualizer.enabled = this._isDataMode && this.virtualized, (!this.hasUpdated || r || He.some((e) => t.has(e))) && this.layout.applyGridMetrics(), this._modelSynced = !this.hasUpdated || r || Re.some((e) => t.has(e)), !this._modelSynced) return;
963
+ if (r && (this._mode = n, this._sort = void 0, this._clientSort = !0, this._activeCell = void 0, this._warnedSlottedRows = !1, this.hasUpdated && !e.has("selected") && (this.selected = []), this.hasUpdated && !e.has("expanded") && (this.expanded = []), this.expansion.clear()), this._isDataMode && !this._sort && (this._sort = this._initialSort()), this.virtualizer.enabled = this._isDataMode && this.virtualized, (!this.hasUpdated || r || Ue.some((e) => t.has(e))) && this.layout.applyGridMetrics(), this._modelSynced = !this.hasUpdated || r || ze.some((e) => t.has(e)), !this._modelSynced) return;
1014
964
  this.model.selects = this.selects, this.model.locale = this.language.language, this.model.setRecords(this._createRecords()), this.model.setSelected(this.selected), this.model.setSorting(this._isDataMode ? this._sort : void 0, !this._clientSort);
1015
965
  let i = this.model.rows;
1016
966
  (i.length !== this._rows.length || i.some((e, t) => e.value !== this._rows[t]?.value)) && (this._rowKeys = i.map((e) => e.value)), this._rows = i;
1017
967
  }
1018
968
  render() {
1019
- return s`
969
+ return c`
1020
970
  <slot class=${this._mode}></slot>
1021
- ${this._isDataMode ? this._renderData() : c}
971
+ ${this._isDataMode ? this._renderData() : l}
1022
972
  `;
1023
973
  }
1024
974
  updated(e) {
1025
975
  super.updated(e), e.has("selects") && (this.selects === "multiple" ? this.setAttribute("aria-multiselectable", "true") : this.removeAttribute("aria-multiselectable"));
1026
976
  let t = this._modelSynced;
1027
- if (this._modelSynced = !1, t || e.has("virtualized")) if (this.virtualizer.enabled) {
1028
- let e = this._rows.filter((e) => this.expanded.includes(e.value)).length;
1029
- this.setAttribute("aria-rowcount", String(this._rows.length + e + +!!this._head()));
1030
- } else this.removeAttribute("aria-rowcount");
977
+ if (this._modelSynced = !1, t || e.has("virtualized")) {
978
+ if (this.virtualizer.enabled) {
979
+ let e = this._rows.filter((e) => this.expanded.includes(e.value)).length;
980
+ this.setAttribute("aria-rowcount", String(this._rows.length + e + +!!this._head()));
981
+ } else this.removeAttribute("aria-rowcount");
982
+ }
1031
983
  let n = e;
1032
- (t || ze.some((e) => n.has(e))) && (this.layout.syncPresentation(), this._isDataMode && this._warnSlottedRows()), (t || n.has("columnWidths") || n.has("virtualized") || n.has("renderItem") || n.has(L)) && this._refreshNavigation();
984
+ (t || Be.some((e) => n.has(e))) && (this.layout.syncPresentation(), this._isDataMode && this._warnSlottedRows()), (t || n.has("columnWidths") || n.has("virtualized") || n.has("renderItem") || n.has(L)) && this._refreshNavigation();
1033
985
  }
1034
986
  _renderData() {
1035
987
  let e = A(this.labels, this.selectAllLabel), t = this._slottedHead(), n = !!t || this.columns.length > 0, r = this.virtualizer.enabled ? this.virtualizer.sync(this._rowKeys) : void 0, i = r ? r.filter((e) => this._rows[e.index]).map((e) => ({
@@ -1039,12 +991,12 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
1039
991
  record: e,
1040
992
  position: t
1041
993
  })), a = r?.[0], o = r?.at(-1);
1042
- return s`
1043
- ${t || this.columns.length === 0 ? c : Ne(this.columns, this._sort, {
994
+ return c`
995
+ ${t || this.columns.length === 0 ? l : Pe(this.columns, this._sort, {
1044
996
  expandable: this.layout.hasExpansion(),
1045
997
  resizeLabel: (t) => j(e.resizeColumn, { column: t })
1046
998
  })}
1047
- ${Ie({
999
+ ${Le({
1048
1000
  rows: i,
1049
1001
  rowCount: this._rows.length,
1050
1002
  columns: this.columns,
@@ -1103,7 +1055,7 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
1103
1055
  };
1104
1056
  }
1105
1057
  _createRecords() {
1106
- return this._isDataMode ? be(this.items ?? [], this.itemValue) : this._declarativeRows().map((e, t) => ({
1058
+ return this._isDataMode ? xe(this.items ?? [], this.itemValue) : this._declarativeRows().map((e, t) => ({
1107
1059
  item: {},
1108
1060
  value: e.value || String(t),
1109
1061
  index: t,
@@ -1238,27 +1190,34 @@ var V = (e) => e.sortKey ?? e.accessorKey ?? e.id, H = (e, t) => {
1238
1190
  return M(e) ?? e.find((e) => G(e) && (e.localName === "luzmo-table-disclosure-cell" || e.classList.contains("cell") && e.getAttribute("role") === "gridcell")) ?? this._cellFromPath(e);
1239
1191
  }
1240
1192
  };
1241
- t([u({ reflect: !0 })], K.prototype, "role", void 0), t([u({ reflect: !0 })], K.prototype, "density", void 0), t([u({
1193
+ t([d({ reflect: !0 })], K.prototype, "role", void 0), t([d({ reflect: !0 })], K.prototype, "density", void 0), t([d({
1242
1194
  type: Boolean,
1243
1195
  reflect: !0
1244
- })], K.prototype, "emphasized", void 0), t([u({
1196
+ })], K.prototype, "emphasized", void 0), t([d({
1245
1197
  type: Boolean,
1246
1198
  reflect: !0
1247
- })], K.prototype, "quiet", void 0), t([u({
1199
+ })], K.prototype, "quiet", void 0), t([d({
1248
1200
  type: Boolean,
1249
1201
  reflect: !0
1250
- })], K.prototype, "scroller", void 0), t([u({ reflect: !0 })], K.prototype, "selects", void 0), t([u({ attribute: !1 })], K.prototype, "selected", void 0), t([u({
1202
+ })], K.prototype, "scroller", void 0), t([d({ reflect: !0 })], K.prototype, "selects", void 0), t([d({ attribute: !1 })], K.prototype, "selected", void 0), t([d({
1251
1203
  reflect: !0,
1252
1204
  attribute: "select-all-label"
1253
- })], K.prototype, "selectAllLabel", void 0), t([u({ attribute: !1 })], K.prototype, "items", void 0), t([u({ attribute: !1 })], K.prototype, "itemValue", void 0), t([u({ attribute: !1 })], K.prototype, "itemLabel", void 0), t([u({ attribute: !1 })], K.prototype, "renderItem", void 0), t([u({ attribute: !1 })], K.prototype, "expanded", void 0), t([u({ attribute: !1 })], K.prototype, "renderDetails", void 0), t([u({ attribute: !1 })], K.prototype, "columnWidths", void 0), t([u({ attribute: !1 })], K.prototype, "columns", void 0), t([u({
1205
+ })], K.prototype, "selectAllLabel", void 0), t([d({ attribute: !1 })], K.prototype, "items", void 0), t([d({ attribute: !1 })], K.prototype, "itemValue", void 0), t([d({ attribute: !1 })], K.prototype, "itemLabel", void 0), t([s({
1206
+ slot: "row",
1207
+ context: ["item", "index"],
1208
+ implicit: "item"
1209
+ })], K.prototype, "renderItem", void 0), t([d({ attribute: !1 })], K.prototype, "expanded", void 0), t([s({
1210
+ slot: "details",
1211
+ context: ["item", "index"],
1212
+ implicit: "item"
1213
+ })], K.prototype, "renderDetails", void 0), t([d({ attribute: !1 })], K.prototype, "columnWidths", void 0), t([d({ attribute: !1 })], K.prototype, "columns", void 0), t([d({
1254
1214
  type: Boolean,
1255
1215
  reflect: !0
1256
- })], K.prototype, "virtualized", void 0), t([u({ attribute: !1 })], K.prototype, "labels", void 0), t([f()], K.prototype, "_sort", void 0), t([f()], K.prototype, "_clientSort", void 0), t([f()], K.prototype, "_lightDomVersion", void 0);
1257
- //#endregion
1258
- //#region src/components/table/table-body.module.scss?inline
1259
- var Ue = ":host{box-sizing:border-box;min-block-size:0;min-inline-size:0;overflow-x:auto;overflow-y:var(--table-body-overflow,visible);overflow-anchor:none;outline:none;flex:auto;display:block}:host::-webkit-scrollbar{width:var(--luzmo-table-scrollbar-width,var(--table-body-scrollbar-width));height:var(--luzmo-table-scrollbar-width,var(--table-body-scrollbar-width))}:host::-webkit-scrollbar-track{background:var(--luzmo-table-scrollbar-track-background,var(--table-body-scrollbar-track-background));border-radius:var(--luzmo-table-scrollbar-track-border-radius,var(--table-body-scrollbar-track-border-radius))}:host::-webkit-scrollbar-thumb{background:var(--luzmo-table-scrollbar-thumb-background,var(--table-body-scrollbar-thumb-background));border-radius:var(--luzmo-table-scrollbar-thumb-border-radius,var(--table-body-scrollbar-thumb-border-radius))}:host::-webkit-scrollbar-thumb:hover{background:var(--luzmo-table-scrollbar-thumb-hover-background,var(--table-body-scrollbar-thumb-hover-background))}:host{scrollbar-width:var(--luzmo-scrollbar-width,thin);scrollbar-color:var(--luzmo-table-scrollbar-thumb-background,var(--table-body-scrollbar-thumb-background)) var(--luzmo-table-scrollbar-track-background,var(--table-body-scrollbar-track-background))}::slotted(.row-group),::slotted(.virtual-spacer){min-inline-size:var(--table-min-inline-size,0);overflow-anchor:none;display:flow-root}:host(:focus-visible){outline:var(--table-body-focus-indicator-width) solid var(--highcontrast-table-body-focus-indicator-color,var(--table-body-focus-indicator-color));outline-offset:calc(var(--table-body-focus-indicator-width) * -1);border-end-end-radius:var(--table-corner-radius,0);border-end-start-radius:var(--table-corner-radius,0)}:host{--table-body-scrollbar-width:var(--luzmo-scrollbar-size);--table-body-scrollbar-track-background:var(--luzmo-scrollbar-track-background);--table-body-scrollbar-track-border-radius:var(--luzmo-scrollbar-track-border-radius);--table-body-scrollbar-thumb-background:var(--luzmo-scrollbar-thumb-background);--table-body-scrollbar-thumb-border-radius:var(--luzmo-scrollbar-thumb-border-radius);--table-body-scrollbar-thumb-hover-background:var(--luzmo-scrollbar-thumb-hover-background);--table-body-focus-indicator-width:calc(var(--luzmo-indicator-width) * 2);--table-body-focus-indicator-color:var(--luzmo-indicator-color)}@media (forced-colors:active){:host{--highcontrast-table-body-focus-indicator-color:Highlight}}", q = class extends e {
1216
+ })], K.prototype, "virtualized", void 0), t([d({ attribute: !1 })], K.prototype, "labels", void 0), t([p()], K.prototype, "_sort", void 0), t([p()], K.prototype, "_clientSort", void 0), t([p()], K.prototype, "_lightDomVersion", void 0);
1217
+ // src/components/table/table-body.module.scss?inline
1218
+ var We = ":host{box-sizing:border-box;min-block-size:0;min-inline-size:0;overflow-x:auto;overflow-y:var(--table-body-overflow,visible);overflow-anchor:none;outline:none;flex:auto;display:block}:host::-webkit-scrollbar{width:var(--luzmo-table-scrollbar-width,var(--table-body-scrollbar-width));height:var(--luzmo-table-scrollbar-width,var(--table-body-scrollbar-width))}:host::-webkit-scrollbar-track{background:var(--luzmo-table-scrollbar-track-background,var(--table-body-scrollbar-track-background));border-radius:var(--luzmo-table-scrollbar-track-border-radius,var(--table-body-scrollbar-track-border-radius))}:host::-webkit-scrollbar-thumb{background:var(--luzmo-table-scrollbar-thumb-background,var(--table-body-scrollbar-thumb-background));border-radius:var(--luzmo-table-scrollbar-thumb-border-radius,var(--table-body-scrollbar-thumb-border-radius))}:host::-webkit-scrollbar-thumb:hover{background:var(--luzmo-table-scrollbar-thumb-hover-background,var(--table-body-scrollbar-thumb-hover-background))}:host{scrollbar-width:var(--luzmo-scrollbar-width,thin);scrollbar-color:var(--luzmo-table-scrollbar-thumb-background,var(--table-body-scrollbar-thumb-background)) var(--luzmo-table-scrollbar-track-background,var(--table-body-scrollbar-track-background))}::slotted(.row-group),::slotted(.virtual-spacer){min-inline-size:var(--table-min-inline-size,0);overflow-anchor:none;display:flow-root}:host(:focus-visible){outline:var(--table-body-focus-indicator-width) solid var(--highcontrast-table-body-focus-indicator-color,var(--table-body-focus-indicator-color));outline-offset:calc(var(--table-body-focus-indicator-width) * -1);border-end-end-radius:var(--table-corner-radius,0);border-end-start-radius:var(--table-corner-radius,0)}:host{--table-body-scrollbar-width:var(--luzmo-scrollbar-size);--table-body-scrollbar-track-background:var(--luzmo-scrollbar-track-background);--table-body-scrollbar-track-border-radius:var(--luzmo-scrollbar-track-border-radius);--table-body-scrollbar-thumb-background:var(--luzmo-scrollbar-thumb-background);--table-body-scrollbar-thumb-border-radius:var(--luzmo-scrollbar-thumb-border-radius);--table-body-scrollbar-thumb-hover-background:var(--luzmo-scrollbar-thumb-hover-background);--table-body-focus-indicator-width:calc(var(--luzmo-indicator-width) * 2);--table-body-focus-indicator-color:var(--luzmo-indicator-color)}@media (forced-colors:active){:host{--highcontrast-table-body-focus-indicator-color:Highlight}}", q = class extends e {
1260
1219
  static get styles() {
1261
- return z(super.styles, Ue);
1220
+ return z(super.styles, We);
1262
1221
  }
1263
1222
  constructor() {
1264
1223
  super(), this.role = "rowgroup", this._handleScroll = () => {
@@ -1275,62 +1234,60 @@ var Ue = ":host{box-sizing:border-box;min-block-size:0;min-inline-size:0;overflo
1275
1234
  this.resizeObserver?.disconnect(), this.mutationObserver?.disconnect(), super.disconnectedCallback();
1276
1235
  }
1277
1236
  render() {
1278
- return s`<slot @slotchange=${this._syncTabStop}></slot>`;
1237
+ return c`<slot @slotchange=${this._syncTabStop}></slot>`;
1279
1238
  }
1280
1239
  _syncTabStop() {
1281
1240
  this.scrollHeight > this.clientHeight || this.scrollWidth > this.clientWidth ? this.setAttribute("tabindex", "0") : this.removeAttribute("tabindex");
1282
1241
  }
1283
1242
  };
1284
- t([u({ reflect: !0 })], q.prototype, "role", void 0);
1285
- //#endregion
1286
- //#region src/components/table/table-cell.module.scss?inline
1287
- var We = ":host{box-sizing:border-box;min-inline-size:0;padding-block:var(--table-cell-padding-block);padding-inline:var(--luzmo-table-cell-padding-inline,var(--table-cell-padding-inline));outline:none;align-self:stretch;align-items:center;display:flex;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}:host([span-all]){grid-column:1/-1;border-inline-end-width:0!important}:host(:last-of-type){border-inline-end-width:0!important}.content{overflow-wrap:anywhere;min-inline-size:0;overflow:hidden}.content.clamped{-webkit-line-clamp:var(--table-cell-line-clamp);line-clamp:var(--table-cell-line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:host(:focus-visible){outline:var(--luzmo-indicator-width,2px) solid var(--highcontrast-table-cell-focus-indicator-color,var(--luzmo-indicator-color,currentColor));outline-offset:calc(var(--luzmo-indicator-width,2px) * -1);border-start-start-radius:var(--table-focus-start-start-radius,0);border-start-end-radius:var(--table-focus-start-end-radius,0);border-end-end-radius:var(--table-focus-end-end-radius,0);border-end-start-radius:var(--table-focus-end-start-radius,0)}:host{--table-cell-focus-indicator-width:var(--luzmo-indicator-width);--table-cell-focus-indicator-color:var(--luzmo-indicator-color)}@media (forced-colors:active){:host{--highcontrast-table-cell-focus-indicator-color:Highlight}}", J = class extends e {
1243
+ t([d({ reflect: !0 })], q.prototype, "role", void 0);
1244
+ // src/components/table/table-cell.module.scss?inline
1245
+ var Ge = ":host{box-sizing:border-box;min-inline-size:0;padding-block:var(--table-cell-padding-block);padding-inline:var(--luzmo-table-cell-padding-inline,var(--table-cell-padding-inline));outline:none;align-self:stretch;align-items:center;display:flex;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}:host([span-all]){grid-column:1/-1;border-inline-end-width:0!important}:host(:last-of-type){border-inline-end-width:0!important}.content{overflow-wrap:anywhere;min-inline-size:0;overflow:hidden}.content.clamped{-webkit-line-clamp:var(--table-cell-line-clamp);line-clamp:var(--table-cell-line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:host(:focus-visible){outline:var(--luzmo-indicator-width,2px) solid var(--highcontrast-table-cell-focus-indicator-color,var(--luzmo-indicator-color,currentColor));outline-offset:calc(var(--luzmo-indicator-width,2px) * -1);border-start-start-radius:var(--table-focus-start-start-radius,0);border-start-end-radius:var(--table-focus-start-end-radius,0);border-end-end-radius:var(--table-focus-end-end-radius,0);border-end-start-radius:var(--table-focus-end-start-radius,0)}:host{--table-cell-focus-indicator-width:var(--luzmo-indicator-width);--table-cell-focus-indicator-color:var(--luzmo-indicator-color)}@media (forced-colors:active){:host{--highcontrast-table-cell-focus-indicator-color:Highlight}}", J = class extends e {
1288
1246
  constructor(...e) {
1289
1247
  super(...e), this.role = "gridcell", this.spanAll = !1;
1290
1248
  }
1291
1249
  static get styles() {
1292
- return z(super.styles, We);
1250
+ return z(super.styles, Ge);
1293
1251
  }
1294
1252
  willUpdate(e) {
1295
1253
  super.willUpdate(e), e.has("lineClamp") && !w(this.lineClamp) && (this.lineClamp = void 0);
1296
1254
  }
1297
1255
  render() {
1298
1256
  let e = w(this.lineClamp) ?? w(this.columnLineClamp);
1299
- return s`
1257
+ return c`
1300
1258
  <div
1301
- class=${v({
1259
+ class=${y({
1302
1260
  content: !0,
1303
1261
  clamped: e !== void 0
1304
1262
  })}
1305
- style=${y(e ? { "--table-cell-line-clamp": String(e) } : {})}
1263
+ style=${b(e ? { "--table-cell-line-clamp": String(e) } : {})}
1306
1264
  >
1307
1265
  <slot></slot>
1308
1266
  </div>
1309
1267
  `;
1310
1268
  }
1311
1269
  };
1312
- t([u({ reflect: !0 })], J.prototype, "role", void 0), t([u({
1270
+ t([d({ reflect: !0 })], J.prototype, "role", void 0), t([d({
1313
1271
  type: Number,
1314
1272
  reflect: !0,
1315
1273
  attribute: "line-clamp"
1316
- })], J.prototype, "lineClamp", void 0), t([u({
1274
+ })], J.prototype, "lineClamp", void 0), t([d({
1317
1275
  type: Boolean,
1318
1276
  reflect: !0,
1319
1277
  attribute: "span-all"
1320
- })], J.prototype, "spanAll", void 0), t([f()], J.prototype, "columnLineClamp", void 0);
1321
- //#endregion
1322
- //#region src/components/table/table-checkbox-cell.module.scss?inline
1323
- var Ge = ":host{flex:0 0 var(--table-checkbox-cell-inline-size);box-sizing:border-box;padding-block:var(--table-cell-padding-block);outline:none;justify-content:center;align-self:stretch;align-items:center;display:flex;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}:host(:focus-visible){outline:var(--luzmo-indicator-width,2px) solid var(--highcontrast-table-checkbox-cell-focus-indicator-color,var(--luzmo-indicator-color,currentColor));outline-offset:calc(var(--luzmo-indicator-width,2px) * -1);border-start-start-radius:var(--table-focus-start-start-radius,0);border-start-end-radius:var(--table-focus-start-end-radius,0);border-end-end-radius:var(--table-focus-end-end-radius,0);border-end-start-radius:var(--table-focus-end-start-radius,0)}.checkbox{margin:0}.label{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:host{--table-checkbox-cell-focus-indicator-width:var(--luzmo-indicator-width);--table-checkbox-cell-focus-indicator-color:var(--luzmo-indicator-color)}@media (forced-colors:active){:host{--highcontrast-table-checkbox-cell-focus-indicator-color:Highlight}}", Y = class extends e {
1278
+ })], J.prototype, "spanAll", void 0), t([p()], J.prototype, "columnLineClamp", void 0);
1279
+ // src/components/table/table-checkbox-cell.module.scss?inline
1280
+ var Ke = ":host{flex:0 0 var(--table-checkbox-cell-inline-size);box-sizing:border-box;padding-block:var(--table-cell-padding-block);outline:none;justify-content:center;align-self:stretch;align-items:center;display:flex;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}:host(:focus-visible){outline:var(--luzmo-indicator-width,2px) solid var(--highcontrast-table-checkbox-cell-focus-indicator-color,var(--luzmo-indicator-color,currentColor));outline-offset:calc(var(--luzmo-indicator-width,2px) * -1);border-start-start-radius:var(--table-focus-start-start-radius,0);border-start-end-radius:var(--table-focus-start-end-radius,0);border-end-end-radius:var(--table-focus-end-end-radius,0);border-end-start-radius:var(--table-focus-end-start-radius,0)}.checkbox{margin:0}.label{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:host{--table-checkbox-cell-focus-indicator-width:var(--luzmo-indicator-width);--table-checkbox-cell-focus-indicator-color:var(--luzmo-indicator-color)}@media (forced-colors:active){:host{--highcontrast-table-checkbox-cell-focus-indicator-color:Highlight}}", Y = class extends e {
1324
1281
  static get styles() {
1325
- return z(super.styles, Ge);
1282
+ return z(super.styles, Ke);
1326
1283
  }
1327
1284
  constructor() {
1328
1285
  super(), this.role = "gridcell", this.headCell = !1, this.checked = !1, this.indeterminate = !1, this.disabled = !1, this.selectsSingle = !1, this.emphasized = !1, this.label = "", this.size = "m", this.handleClick = (e) => {
1329
- !this.checkbox || e.composedPath().includes(this.checkbox) || this.checkbox.click();
1286
+ this.checkbox && !e.composedPath().includes(this.checkbox) && this.checkbox.click();
1330
1287
  }, this.addEventListener("click", this.handleClick);
1331
1288
  }
1332
1289
  render() {
1333
- return this.headCell && this.selectsSingle ? c : s`
1290
+ return this.headCell && this.selectsSingle ? l : c`
1334
1291
  <luzmo-checkbox
1335
1292
  class="checkbox"
1336
1293
  tabindex="-1"
@@ -1339,9 +1296,9 @@ var Ge = ":host{flex:0 0 var(--table-checkbox-cell-inline-size);box-sizing:borde
1339
1296
  .indeterminate=${this.indeterminate}
1340
1297
  ?disabled=${this.disabled}
1341
1298
  ?emphasized=${this.emphasized}
1342
- aria-hidden=${_(this.selectsSingle ? "true" : void 0)}
1299
+ aria-hidden=${v(this.selectsSingle ? "true" : void 0)}
1343
1300
  >
1344
- ${this.label ? s`<span class="label">${this.label}</span>` : c}
1301
+ ${this.label ? c`<span class="label">${this.label}</span>` : l}
1345
1302
  </luzmo-checkbox>
1346
1303
  `;
1347
1304
  }
@@ -1349,32 +1306,31 @@ var Ge = ":host{flex:0 0 var(--table-checkbox-cell-inline-size);box-sizing:borde
1349
1306
  super.willUpdate(e), (e.has("headCell") || e.has("selectsSingle")) && (this.role = this.headCell && !this.selectsSingle ? "columnheader" : "gridcell"), e.has("selectsSingle") && (this.selectsSingle ? (this.setAttribute("aria-hidden", "true"), this.tabIndex = -1) : this.removeAttribute("aria-hidden"));
1350
1307
  }
1351
1308
  };
1352
- t([u({ reflect: !0 })], Y.prototype, "role", void 0), t([u({
1309
+ t([d({ reflect: !0 })], Y.prototype, "role", void 0), t([d({
1353
1310
  type: Boolean,
1354
1311
  reflect: !0,
1355
1312
  attribute: "head-cell"
1356
- })], Y.prototype, "headCell", void 0), t([u({
1313
+ })], Y.prototype, "headCell", void 0), t([d({
1357
1314
  type: Boolean,
1358
1315
  reflect: !0
1359
- })], Y.prototype, "checked", void 0), t([u({
1316
+ })], Y.prototype, "checked", void 0), t([d({
1360
1317
  type: Boolean,
1361
1318
  reflect: !0
1362
- })], Y.prototype, "indeterminate", void 0), t([u({
1319
+ })], Y.prototype, "indeterminate", void 0), t([d({
1363
1320
  type: Boolean,
1364
1321
  reflect: !0
1365
- })], Y.prototype, "disabled", void 0), t([u({
1322
+ })], Y.prototype, "disabled", void 0), t([d({
1366
1323
  type: Boolean,
1367
1324
  reflect: !0,
1368
1325
  attribute: "selects-single"
1369
- })], Y.prototype, "selectsSingle", void 0), t([u({
1326
+ })], Y.prototype, "selectsSingle", void 0), t([d({
1370
1327
  type: Boolean,
1371
1328
  reflect: !0
1372
- })], Y.prototype, "emphasized", void 0), t([u({ reflect: !0 })], Y.prototype, "label", void 0), t([f()], Y.prototype, "size", void 0), t([d("luzmo-checkbox")], Y.prototype, "checkbox", void 0);
1373
- //#endregion
1374
- //#region src/components/table/table-head.module.scss?inline
1375
- var Ke = ":host{grid-template-columns:var(--table-grid-columns);min-inline-size:var(--table-min-inline-size,0);box-sizing:border-box;min-block-size:calc(var(--luzmo-table-row-min-block-size,var(--table-row-min-block-size)) + var(--table-row-density-offset));background-color:var(--table-head-background-color);flex:none;align-items:stretch;display:grid;border-block-start:none!important;border-inline:none!important;border-block-end-width:var(--table-head-divider-width)!important;border-block-end-style:solid!important;border-block-end-color:var(--highcontrast-table-head-divider-color,var(--luzmo-table-border-color,var(--table-head-divider-color)))!important}luzmo-table-checkbox-cell,.leading::slotted(luzmo-table-head-cell:first-of-type){--table-focus-start-start-radius:var(--table-corner-radius)}.disclosure-spacer{box-sizing:border-box;inline-size:var(--table-disclosure-cell-inline-size);align-self:stretch;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}:host{--table-head-background-color:rgba(var(--luzmo-background-color-rgb), 0);--table-head-divider-color:var(--luzmo-border-color);--table-head-divider-width:var(--luzmo-border-width)}@media (forced-colors:active){:host{--highcontrast-table-head-divider-color:CanvasText}}", X = class extends e {
1329
+ })], Y.prototype, "emphasized", void 0), t([d({ reflect: !0 })], Y.prototype, "label", void 0), t([p()], Y.prototype, "size", void 0), t([f("luzmo-checkbox")], Y.prototype, "checkbox", void 0);
1330
+ // src/components/table/table-head.module.scss?inline
1331
+ var qe = ":host{grid-template-columns:var(--table-grid-columns);min-inline-size:var(--table-min-inline-size,0);box-sizing:border-box;min-block-size:calc(var(--luzmo-table-row-min-block-size,var(--table-row-min-block-size)) + var(--table-row-density-offset));background-color:var(--table-head-background-color);flex:none;align-items:stretch;display:grid;border-block-start:none!important;border-inline:none!important;border-block-end-width:var(--table-head-divider-width)!important;border-block-end-style:solid!important;border-block-end-color:var(--highcontrast-table-head-divider-color,var(--luzmo-table-border-color,var(--table-head-divider-color)))!important}luzmo-table-checkbox-cell,.leading::slotted(luzmo-table-head-cell:first-of-type){--table-focus-start-start-radius:var(--table-corner-radius)}.disclosure-spacer{box-sizing:border-box;inline-size:var(--table-disclosure-cell-inline-size);align-self:stretch;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}:host{--table-head-background-color:rgba(var(--luzmo-background-color-rgb), 0);--table-head-divider-color:var(--luzmo-border-color);--table-head-divider-width:var(--luzmo-border-width)}@media (forced-colors:active){:host{--highcontrast-table-head-divider-color:CanvasText}}", X = class extends e {
1376
1332
  static get styles() {
1377
- return z(super.styles, Ke);
1333
+ return z(super.styles, qe);
1378
1334
  }
1379
1335
  constructor() {
1380
1336
  super(), this.role = "row", this.selected = !1, this.checked = !1, this.indeterminate = !1, this.emphasized = !1, this.checkboxLabel = "", this.checkboxSize = "m", this.expandable = !1, this.handleSorted = (e) => {
@@ -1384,7 +1340,7 @@ var Ke = ":host{grid-template-columns:var(--table-grid-columns);min-inline-size:
1384
1340
  }, this.addEventListener("luzmo-table-sorted", this.handleSorted);
1385
1341
  }
1386
1342
  render() {
1387
- return s`${this.selects ? s`
1343
+ let e = this.selects ? c`
1388
1344
  <luzmo-table-checkbox-cell
1389
1345
  head-cell
1390
1346
  .checked=${this.checked}
@@ -1394,28 +1350,28 @@ var Ke = ":host{grid-template-columns:var(--table-grid-columns);min-inline-size:
1394
1350
  .label=${this.checkboxLabel}
1395
1351
  .size=${this.checkboxSize}
1396
1352
  ></luzmo-table-checkbox-cell>
1397
- ` : c}${this.expandable ? s`<span class="disclosure-spacer" role="gridcell"></span>` : c}<slot
1398
- class=${!this.selects && !this.expandable ? "leading" : ""}
1353
+ ` : l, t = this.expandable ? c`<span class="disclosure-spacer" role="gridcell"></span>` : l, n = !this.selects && !this.expandable;
1354
+ return c`${e}${t}<slot
1355
+ class=${n ? "leading" : ""}
1399
1356
  ></slot>`;
1400
1357
  }
1401
1358
  };
1402
- t([u({ reflect: !0 })], X.prototype, "role", void 0), t([u({
1359
+ t([d({ reflect: !0 })], X.prototype, "role", void 0), t([d({
1403
1360
  type: Boolean,
1404
1361
  reflect: !0
1405
- })], X.prototype, "selected", void 0), t([f()], X.prototype, "selects", void 0), t([f()], X.prototype, "checked", void 0), t([f()], X.prototype, "indeterminate", void 0), t([f()], X.prototype, "emphasized", void 0), t([f()], X.prototype, "checkboxLabel", void 0), t([f()], X.prototype, "checkboxSize", void 0), t([f()], X.prototype, "expandable", void 0);
1406
- //#endregion
1407
- //#region src/components/table/table-head-cell.module.scss?inline
1408
- var qe = ":host{align-self:stretch;align-items:center;gap:var(--luzmo-spacing-2);box-sizing:border-box;min-inline-size:0;padding-block:var(--table-cell-padding-block);padding-inline:var(--luzmo-table-cell-padding-inline,var(--table-cell-padding-inline));font-weight:var(--table-head-cell-font-weight);color:var(--table-head-cell-font-color);text-align:start;outline:none;display:flex;position:relative;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}:host(:last-of-type){--table-focus-start-end-radius:var(--table-corner-radius);border-inline-end-width:0!important}.content{overflow-wrap:anywhere;flex:auto;min-inline-size:0;overflow:hidden}.content.clamped{-webkit-line-clamp:var(--table-cell-line-clamp);line-clamp:var(--table-cell-line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.resize-handle{z-index:1;inline-size:var(--luzmo-component-height-xs);box-sizing:border-box;cursor:col-resize;touch-action:none;justify-content:center;align-items:stretch;display:flex;position:absolute;inset-block:0;inset-inline-end:calc(var(--luzmo-spacing-4) * -1)}.resize-handle:before{content:\"\";inline-size:var(--luzmo-indicator-gap,2px);background:var(--luzmo-indicator-color,currentColor);opacity:0}.resize-handle:hover:before,.resize-handle:active:before,.resize-handle:focus-visible:before{opacity:1}:host(:last-of-type) .resize-handle{justify-content:flex-end;inset-inline-end:0}.resize-handle:focus,.resize-handle:focus-visible{outline:none}:host([sortable]){cursor:pointer;-webkit-user-select:none;user-select:none}:host([sortable]:hover){color:var(--table-head-cell-font-color-hover)}:host([active]){color:var(--table-head-cell-font-color-down)}:host(:focus-visible){outline:var(--luzmo-indicator-width,2px) solid var(--highcontrast-table-head-cell-focus-indicator-color,var(--luzmo-indicator-color,currentColor));outline-offset:calc(var(--luzmo-indicator-width,2px) * -1);border-start-start-radius:var(--table-focus-start-start-radius,0);border-start-end-radius:var(--table-focus-start-end-radius,0);border-end-end-radius:var(--table-focus-end-end-radius,0);border-end-start-radius:var(--table-focus-end-start-radius,0)}.sort-icon{inline-size:var(--table-sort-icon-size);block-size:var(--table-sort-icon-size);flex:none;display:inline-flex}.sort-icon svg{fill:currentColor;block-size:100%;inline-size:100%}@media (forced-colors:active){.resize-handle:before{background:canvastext}}:host{--table-head-cell-font-weight:var(--luzmo-font-weight-bold);--table-head-cell-font-color:var(--luzmo-font-color);--table-head-cell-font-color-hover:var(--luzmo-font-color-hover);--table-head-cell-font-color-down:var(--luzmo-font-color-down);--table-head-cell-focus-indicator-width:var(--luzmo-indicator-width);--table-head-cell-focus-indicator-color:var(--luzmo-indicator-color)}@media (forced-colors:active){:host{--highcontrast-table-head-cell-focus-indicator-color:Highlight}}", Z = class extends e {
1362
+ })], X.prototype, "selected", void 0), t([p()], X.prototype, "selects", void 0), t([p()], X.prototype, "checked", void 0), t([p()], X.prototype, "indeterminate", void 0), t([p()], X.prototype, "emphasized", void 0), t([p()], X.prototype, "checkboxLabel", void 0), t([p()], X.prototype, "checkboxSize", void 0), t([p()], X.prototype, "expandable", void 0);
1363
+ // src/components/table/table-head-cell.module.scss?inline
1364
+ var Je = ":host{align-self:stretch;align-items:center;gap:var(--luzmo-spacing-2);box-sizing:border-box;min-inline-size:0;padding-block:var(--table-cell-padding-block);padding-inline:var(--luzmo-table-cell-padding-inline,var(--table-cell-padding-inline));font-weight:var(--table-head-cell-font-weight);color:var(--table-head-cell-font-color);text-align:start;outline:none;display:flex;position:relative;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}:host(:last-of-type){--table-focus-start-end-radius:var(--table-corner-radius);border-inline-end-width:0!important}.content{overflow-wrap:anywhere;flex:auto;min-inline-size:0;overflow:hidden}.content.clamped{-webkit-line-clamp:var(--table-cell-line-clamp);line-clamp:var(--table-cell-line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.resize-handle{z-index:1;inline-size:var(--luzmo-component-height-xs);box-sizing:border-box;cursor:col-resize;touch-action:none;justify-content:center;align-items:stretch;display:flex;position:absolute;inset-block:0;inset-inline-end:calc(var(--luzmo-spacing-4) * -1)}.resize-handle:before{content:\"\";inline-size:var(--luzmo-indicator-gap,2px);background:var(--luzmo-indicator-color,currentColor);opacity:0}.resize-handle:hover:before,.resize-handle:active:before,.resize-handle:focus-visible:before{opacity:1}:host(:last-of-type) .resize-handle{justify-content:flex-end;inset-inline-end:0}.resize-handle:focus,.resize-handle:focus-visible{outline:none}:host([sortable]){cursor:pointer;-webkit-user-select:none;user-select:none}:host([sortable]:hover){color:var(--table-head-cell-font-color-hover)}:host([active]){color:var(--table-head-cell-font-color-down)}:host(:focus-visible){outline:var(--luzmo-indicator-width,2px) solid var(--highcontrast-table-head-cell-focus-indicator-color,var(--luzmo-indicator-color,currentColor));outline-offset:calc(var(--luzmo-indicator-width,2px) * -1);border-start-start-radius:var(--table-focus-start-start-radius,0);border-start-end-radius:var(--table-focus-start-end-radius,0);border-end-end-radius:var(--table-focus-end-end-radius,0);border-end-start-radius:var(--table-focus-end-start-radius,0)}.sort-icon{inline-size:var(--table-sort-icon-size);block-size:var(--table-sort-icon-size);flex:none;display:inline-flex}.sort-icon svg{fill:currentColor;block-size:100%;inline-size:100%}@media (forced-colors:active){.resize-handle:before{background:canvastext}}:host{--table-head-cell-font-weight:var(--luzmo-font-weight-bold);--table-head-cell-font-color:var(--luzmo-font-color);--table-head-cell-font-color-hover:var(--luzmo-font-color-hover);--table-head-cell-font-color-down:var(--luzmo-font-color-down);--table-head-cell-focus-indicator-width:var(--luzmo-indicator-width);--table-head-cell-focus-indicator-color:var(--luzmo-indicator-color)}@media (forced-colors:active){:host{--highcontrast-table-head-cell-focus-indicator-color:Highlight}}", Z = class extends e {
1409
1365
  static get styles() {
1410
- return z(super.styles, qe);
1366
+ return z(super.styles, Je);
1411
1367
  }
1412
1368
  constructor() {
1413
1369
  super(), this.role = "columnheader", this.active = !1, this.sortable = !1, this.sortKey = "", this.columnId = "", this.resizable = !1, this.currentWidth = 0, this.resizeLabel = "", this.handleClick = (e) => {
1414
1370
  e.composedPath().some((e) => e instanceof HTMLElement && e.classList.contains("resize-handle")) || this._sort();
1415
1371
  }, this.handleKeydown = (e) => {
1416
- !this.sortable || e.composedPath()[0] !== this || (e.code === "Enter" || e.code === "NumpadEnter" ? (e.preventDefault(), this._sort()) : e.code === "Space" && (e.preventDefault(), this.active = !0));
1372
+ this.sortable && e.composedPath()[0] === this && (e.code === "Enter" || e.code === "NumpadEnter" ? (e.preventDefault(), this._sort()) : e.code === "Space" && (e.preventDefault(), this.active = !0));
1417
1373
  }, this.handleKeyup = (e) => {
1418
- e.code !== "Space" || !this.active || (this.active = !1, this._sort());
1374
+ e.code === "Space" && this.active && (this.active = !1, this._sort());
1419
1375
  }, this.handleBlur = () => {
1420
1376
  this.active = !1;
1421
1377
  }, this.addEventListener("click", this.handleClick), this.addEventListener("keydown", this.handleKeydown), this.addEventListener("keyup", this.handleKeyup), this.addEventListener("blur", this.handleBlur);
@@ -1432,9 +1388,9 @@ var qe = ":host{align-self:stretch;align-items:center;gap:var(--luzmo-spacing-2)
1432
1388
  };
1433
1389
  }
1434
1390
  render() {
1435
- let e = w(this.lineClamp), t = this.sortable && this.sortDirection ? s`<span class="sort-icon" aria-hidden="true"
1436
- >${g(this.sortDirection === "asc" ? h : m)}</span
1437
- >` : c, n = this.toLayout(0), r = this.resizable ? s`
1391
+ let e = w(this.lineClamp), t = this.sortable && this.sortDirection ? c`<span class="sort-icon" aria-hidden="true"
1392
+ >${_(this.sortDirection === "asc" ? g : h)}</span
1393
+ >` : l, n = this.toLayout(0), r = this.resizable ? c`
1438
1394
  <div
1439
1395
  class="resize-handle"
1440
1396
  tabindex="0"
@@ -1443,17 +1399,17 @@ var qe = ":host{align-self:stretch;align-items:center;gap:var(--luzmo-spacing-2)
1443
1399
  aria-valuemin=${E(n)}
1444
1400
  aria-valuemax=${D(n)}
1445
1401
  aria-valuenow=${Math.round(this.currentWidth)}
1446
- aria-label=${_(this.resizeLabel || void 0)}
1402
+ aria-label=${v(this.resizeLabel || void 0)}
1447
1403
  aria-keyshortcuts="ArrowLeft ArrowRight PageUp PageDown Home End"
1448
1404
  ></div>
1449
- ` : c;
1450
- return s`
1405
+ ` : l;
1406
+ return c`
1451
1407
  <div
1452
- class=${v({
1408
+ class=${y({
1453
1409
  content: !0,
1454
1410
  clamped: e !== void 0
1455
1411
  })}
1456
- style=${y(e ? { "--table-cell-line-clamp": String(e) } : {})}
1412
+ style=${b(e ? { "--table-cell-line-clamp": String(e) } : {})}
1457
1413
  >
1458
1414
  <slot></slot>
1459
1415
  </div>
@@ -1461,10 +1417,10 @@ var qe = ":host{align-self:stretch;align-items:center;gap:var(--luzmo-spacing-2)
1461
1417
  `;
1462
1418
  }
1463
1419
  updated(e) {
1464
- super.updated(e), (e.has("sortable") || e.has("sortDirection")) && (this.sortable ? this.setAttribute("aria-sort", ve(this.sortDirection)) : this.removeAttribute("aria-sort"));
1420
+ super.updated(e), (e.has("sortable") || e.has("sortDirection")) && (this.sortable ? this.setAttribute("aria-sort", ye(this.sortDirection)) : this.removeAttribute("aria-sort"));
1465
1421
  }
1466
1422
  _sort() {
1467
- this.sortable && (this.sortDirection = ye(this.sortDirection), this.dispatchEvent(new CustomEvent("luzmo-table-sorted", {
1423
+ this.sortable && (this.sortDirection = be(this.sortDirection), this.dispatchEvent(new CustomEvent("luzmo-table-sorted", {
1468
1424
  bubbles: !0,
1469
1425
  composed: !0,
1470
1426
  cancelable: !0,
@@ -1475,82 +1431,80 @@ var qe = ":host{align-self:stretch;align-items:center;gap:var(--luzmo-spacing-2)
1475
1431
  })));
1476
1432
  }
1477
1433
  };
1478
- t([u({ reflect: !0 })], Z.prototype, "role", void 0), t([u({
1434
+ t([d({ reflect: !0 })], Z.prototype, "role", void 0), t([d({
1479
1435
  type: Boolean,
1480
1436
  reflect: !0
1481
- })], Z.prototype, "active", void 0), t([u({
1437
+ })], Z.prototype, "active", void 0), t([d({
1482
1438
  type: Boolean,
1483
1439
  reflect: !0
1484
- })], Z.prototype, "sortable", void 0), t([u({
1440
+ })], Z.prototype, "sortable", void 0), t([d({
1485
1441
  reflect: !0,
1486
1442
  attribute: "sort-direction"
1487
- })], Z.prototype, "sortDirection", void 0), t([u({
1443
+ })], Z.prototype, "sortDirection", void 0), t([d({
1488
1444
  reflect: !0,
1489
1445
  attribute: "sort-key"
1490
- })], Z.prototype, "sortKey", void 0), t([u({
1446
+ })], Z.prototype, "sortKey", void 0), t([d({
1491
1447
  reflect: !0,
1492
1448
  attribute: "column-id"
1493
- })], Z.prototype, "columnId", void 0), t([u({
1449
+ })], Z.prototype, "columnId", void 0), t([d({
1494
1450
  type: Number,
1495
1451
  reflect: !0
1496
- })], Z.prototype, "width", void 0), t([u({
1452
+ })], Z.prototype, "width", void 0), t([d({
1497
1453
  type: Number,
1498
1454
  reflect: !0,
1499
1455
  attribute: "min-width"
1500
- })], Z.prototype, "minWidth", void 0), t([u({
1456
+ })], Z.prototype, "minWidth", void 0), t([d({
1501
1457
  type: Number,
1502
1458
  reflect: !0,
1503
1459
  attribute: "max-width"
1504
- })], Z.prototype, "maxWidth", void 0), t([u({
1460
+ })], Z.prototype, "maxWidth", void 0), t([d({
1505
1461
  type: Boolean,
1506
1462
  reflect: !0
1507
- })], Z.prototype, "resizable", void 0), t([u({
1463
+ })], Z.prototype, "resizable", void 0), t([d({
1508
1464
  type: Number,
1509
1465
  reflect: !0,
1510
1466
  attribute: "line-clamp"
1511
- })], Z.prototype, "lineClamp", void 0), t([f()], Z.prototype, "currentWidth", void 0), t([f()], Z.prototype, "resizeLabel", void 0);
1512
- //#endregion
1513
- //#region src/components/table/table-disclosure-cell.module.scss?inline
1514
- var Je = ":host{flex:0 0 var(--table-disclosure-cell-inline-size);box-sizing:border-box;min-inline-size:var(--table-disclosure-cell-inline-size);outline:none;justify-content:center;align-self:stretch;align-items:center;display:flex;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}:host(:focus-visible){outline:var(--luzmo-indicator-width,2px) solid var(--highcontrast-table-disclosure-cell-focus-indicator-color,var(--luzmo-indicator-color,currentColor));outline-offset:calc(var(--luzmo-indicator-width,2px) * -1);border-start-start-radius:var(--table-focus-start-start-radius,0);border-start-end-radius:var(--table-focus-start-end-radius,0);border-end-end-radius:var(--table-focus-end-end-radius,0);border-end-start-radius:var(--table-focus-end-start-radius,0)}.button{block-size:100%;inline-size:100%;min-inline-size:var(--luzmo-component-height-xs);min-block-size:var(--luzmo-component-height-xs);background:rgba(var(--luzmo-background-color-rgb), 0);color:inherit;cursor:pointer;border:0;outline:none;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.icon{inline-size:var(--table-sort-icon-size);block-size:var(--table-sort-icon-size);display:inline-flex;transform:rotate(-90deg)}.icon svg{fill:currentColor;block-size:100%;inline-size:100%}:host([expanded]) .icon{transform:rotate(0)}:host([dir=rtl]:not([expanded])) .icon{transform:rotate(90deg)}@media (prefers-reduced-motion:no-preference){.icon{transition:transform var(--luzmo-animation-duration) ease}}:host{--table-disclosure-cell-focus-indicator-width:var(--luzmo-indicator-width);--table-disclosure-cell-focus-indicator-color:var(--luzmo-indicator-color)}@media (forced-colors:active){:host{--highcontrast-table-disclosure-cell-focus-indicator-color:Highlight}}", Q = class extends e {
1467
+ })], Z.prototype, "lineClamp", void 0), t([p()], Z.prototype, "currentWidth", void 0), t([p()], Z.prototype, "resizeLabel", void 0);
1468
+ // src/components/table/table-disclosure-cell.module.scss?inline
1469
+ var Ye = ":host{flex:0 0 var(--table-disclosure-cell-inline-size);box-sizing:border-box;min-inline-size:var(--table-disclosure-cell-inline-size);outline:none;justify-content:center;align-self:stretch;align-items:center;display:flex;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}:host(:focus-visible){outline:var(--luzmo-indicator-width,2px) solid var(--highcontrast-table-disclosure-cell-focus-indicator-color,var(--luzmo-indicator-color,currentColor));outline-offset:calc(var(--luzmo-indicator-width,2px) * -1);border-start-start-radius:var(--table-focus-start-start-radius,0);border-start-end-radius:var(--table-focus-start-end-radius,0);border-end-end-radius:var(--table-focus-end-end-radius,0);border-end-start-radius:var(--table-focus-end-start-radius,0)}.button{block-size:100%;inline-size:100%;min-inline-size:var(--luzmo-component-height-xs);min-block-size:var(--luzmo-component-height-xs);background:rgba(var(--luzmo-background-color-rgb), 0);color:inherit;cursor:pointer;border:0;outline:none;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.icon{inline-size:var(--table-sort-icon-size);block-size:var(--table-sort-icon-size);display:inline-flex;transform:rotate(-90deg)}.icon svg{fill:currentColor;block-size:100%;inline-size:100%}:host([expanded]) .icon{transform:rotate(0)}:host([dir=rtl]:not([expanded])) .icon{transform:rotate(90deg)}@media (prefers-reduced-motion:no-preference){.icon{transition:transform var(--luzmo-animation-duration) ease}}:host{--table-disclosure-cell-focus-indicator-width:var(--luzmo-indicator-width);--table-disclosure-cell-focus-indicator-color:var(--luzmo-indicator-color)}@media (forced-colors:active){:host{--highcontrast-table-disclosure-cell-focus-indicator-color:Highlight}}", Q = class extends e {
1515
1470
  constructor(...e) {
1516
1471
  super(...e), this.role = "gridcell", this.expanded = !1, this.label = "";
1517
1472
  }
1518
1473
  static get styles() {
1519
- return z(super.styles, Je);
1474
+ return z(super.styles, Ye);
1520
1475
  }
1521
1476
  render() {
1522
- return s`
1477
+ return c`
1523
1478
  <button
1524
1479
  type="button"
1525
1480
  class="button"
1526
1481
  tabindex="-1"
1527
1482
  aria-expanded=${String(this.expanded)}
1528
- aria-label=${_(this.label || void 0)}
1483
+ aria-label=${v(this.label || void 0)}
1529
1484
  >
1530
1485
  <span class="icon" aria-hidden="true"
1531
- >${g(p)}</span
1486
+ >${_(m)}</span
1532
1487
  >
1533
1488
  </button>
1534
1489
  `;
1535
1490
  }
1536
1491
  };
1537
- t([u({ reflect: !0 })], Q.prototype, "role", void 0), t([u({
1492
+ t([d({ reflect: !0 })], Q.prototype, "role", void 0), t([d({
1538
1493
  type: Boolean,
1539
1494
  reflect: !0
1540
- })], Q.prototype, "expanded", void 0), t([u({ reflect: !0 })], Q.prototype, "label", void 0);
1541
- //#endregion
1542
- //#region src/components/table/table-row.module.scss?inline
1543
- var Ye = ":host{grid-template-columns:var(--table-grid-columns);min-inline-size:var(--table-min-inline-size,0);box-sizing:border-box;min-block-size:calc(var(--luzmo-table-row-min-block-size,var(--table-row-min-block-size)) + var(--table-row-density-offset));align-items:stretch;display:grid;border-block-start:none!important;border-inline:none!important;border-block-end-width:var(--table-row-divider-width)!important;border-block-end-style:solid!important;border-block-end-color:var(--highcontrast-table-row-divider-color,var(--luzmo-table-border-color,var(--table-row-divider-color)))!important}:host([data-last-row]:not([expanded])){border-block-end-width:0!important}:host([data-last-row]:not([expanded])) .leading:not(slot),:host([data-last-row]:not([expanded])) slot.leading::slotted(luzmo-table-cell:first-of-type){--table-focus-end-start-radius:var(--table-corner-radius)}:host([data-last-row]:not([expanded])) ::slotted(luzmo-table-cell:last-of-type){--table-focus-end-end-radius:var(--table-corner-radius)}:host([selectable]){cursor:pointer}:host([selectable]:hover){background-color:var(--table-row-hover-background-color)}:host([selected]){background-color:var(--luzmo-table-row-selected-background-color,var(--table-row-selected-background-color))}:host([selected]:hover){background-color:var(--luzmo-table-row-selected-background-color,var(--table-row-selected-hover-background-color))}.selection-spacer{inline-size:var(--table-checkbox-cell-inline-size)}.selection-spacer,.disclosure-spacer{box-sizing:border-box;align-self:stretch;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}.disclosure-spacer{inline-size:var(--table-disclosure-cell-inline-size)}@media (forced-colors:active){:host([selected]){forced-color-adjust:none;color:highlighttext;background-color:highlight}}:host{--table-row-divider-color:var(--luzmo-border-color);--table-row-divider-width:var(--luzmo-border-width);--table-row-hover-background-color:var(--luzmo-background-color-hover)}@media (forced-colors:active){:host{--highcontrast-table-row-divider-color:CanvasText}}", $ = class extends e {
1495
+ })], Q.prototype, "expanded", void 0), t([d({ reflect: !0 })], Q.prototype, "label", void 0);
1496
+ // src/components/table/table-row.module.scss?inline
1497
+ var Xe = ":host{grid-template-columns:var(--table-grid-columns);min-inline-size:var(--table-min-inline-size,0);box-sizing:border-box;min-block-size:calc(var(--luzmo-table-row-min-block-size,var(--table-row-min-block-size)) + var(--table-row-density-offset));align-items:stretch;display:grid;border-block-start:none!important;border-inline:none!important;border-block-end-width:var(--table-row-divider-width)!important;border-block-end-style:solid!important;border-block-end-color:var(--highcontrast-table-row-divider-color,var(--luzmo-table-border-color,var(--table-row-divider-color)))!important}:host([data-last-row]:not([expanded])){border-block-end-width:0!important}:host([data-last-row]:not([expanded])) .leading:not(slot),:host([data-last-row]:not([expanded])) slot.leading::slotted(luzmo-table-cell:first-of-type){--table-focus-end-start-radius:var(--table-corner-radius)}:host([data-last-row]:not([expanded])) ::slotted(luzmo-table-cell:last-of-type){--table-focus-end-end-radius:var(--table-corner-radius)}:host([selectable]){cursor:pointer}:host([selectable]:hover){background-color:var(--table-row-hover-background-color)}:host([selected]){background-color:var(--luzmo-table-row-selected-background-color,var(--table-row-selected-background-color))}:host([selected]:hover){background-color:var(--luzmo-table-row-selected-background-color,var(--table-row-selected-hover-background-color))}.selection-spacer{inline-size:var(--table-checkbox-cell-inline-size)}.selection-spacer,.disclosure-spacer{box-sizing:border-box;align-self:stretch;border-block:none!important;border-inline-start:none!important;border-inline-end-width:var(--luzmo-table-column-divider-width,var(--table-column-divider-width))!important;border-inline-end-style:solid!important;border-inline-end-color:var(--highcontrast-table-column-divider-color,var(--luzmo-table-column-divider-color,var(--table-column-divider-color)))!important}.disclosure-spacer{inline-size:var(--table-disclosure-cell-inline-size)}@media (forced-colors:active){:host([selected]){forced-color-adjust:none;color:highlighttext;background-color:highlight}}:host{--table-row-divider-color:var(--luzmo-border-color);--table-row-divider-width:var(--luzmo-border-width);--table-row-hover-background-color:var(--luzmo-background-color-hover)}@media (forced-colors:active){:host{--highcontrast-table-row-divider-color:CanvasText}}", $ = class extends e {
1544
1498
  constructor(...e) {
1545
1499
  super(...e), this.role = "row", this.value = "", this.selected = !1, this.selectable = !1, this.expanded = !1, this.expandable = !1, this.selectsSingle = !1, this.emphasized = !1, this.selectionColumn = !1, this.expansionColumn = !1, this.spanAll = !1, this.checkboxLabel = "", this.disclosureLabel = "", this.detailsId = "", this.checkboxSize = "m";
1546
1500
  }
1547
1501
  static get styles() {
1548
- return z(super.styles, Ye);
1502
+ return z(super.styles, Xe);
1549
1503
  }
1550
1504
  render() {
1551
- if (this.spanAll) return s`<slot class="leading"></slot>`;
1552
- let e = this.selectable || this.selectionColumn, t = !e && (this.expandable || this.expansionColumn), n = c;
1553
- this.selectable ? n = s`
1505
+ if (this.spanAll) return c`<slot class="leading"></slot>`;
1506
+ let e = this.selectable || this.selectionColumn, t = !e && (this.expandable || this.expansionColumn), n = l;
1507
+ this.selectable ? n = c`
1554
1508
  <luzmo-table-checkbox-cell
1555
1509
  class="leading"
1556
1510
  .checked=${this.selected}
@@ -1559,15 +1513,15 @@ var Ye = ":host{grid-template-columns:var(--table-grid-columns);min-inline-size:
1559
1513
  .label=${this.checkboxLabel}
1560
1514
  .size=${this.checkboxSize}
1561
1515
  ></luzmo-table-checkbox-cell>
1562
- ` : this.selectionColumn && (n = s`<span class="selection-spacer"></span>`);
1563
- let r = c;
1564
- return this.expandable ? r = s`
1516
+ ` : this.selectionColumn && (n = c`<span class="selection-spacer"></span>`);
1517
+ let r = l;
1518
+ return this.expandable ? r = c`
1565
1519
  <luzmo-table-disclosure-cell
1566
1520
  class=${t ? "leading" : ""}
1567
1521
  .expanded=${this.expanded}
1568
1522
  .label=${this.disclosureLabel}
1569
1523
  ></luzmo-table-disclosure-cell>
1570
- ` : this.expansionColumn && (r = s`<span class="disclosure-spacer"></span>`), s`${n}${r}<slot
1524
+ ` : this.expansionColumn && (r = c`<span class="disclosure-spacer"></span>`), c`${n}${r}<slot
1571
1525
  class=${!e && !t ? "leading" : ""}
1572
1526
  ></slot>`;
1573
1527
  }
@@ -1575,18 +1529,17 @@ var Ye = ":host{grid-template-columns:var(--table-grid-columns);min-inline-size:
1575
1529
  super.updated(e), (e.has("selectable") || e.has("selected")) && (this.selectable ? this.setAttribute("aria-selected", String(this.selected)) : this.removeAttribute("aria-selected")), (e.has("expandable") || e.has("expanded") || e.has("detailsId")) && (this.expandable && this.detailsId ? this.setAttribute("aria-controls", this.detailsId) : this.removeAttribute("aria-controls"));
1576
1530
  }
1577
1531
  };
1578
- t([u({ reflect: !0 })], $.prototype, "role", void 0), t([u({ reflect: !0 })], $.prototype, "value", void 0), t([u({
1532
+ t([d({ reflect: !0 })], $.prototype, "role", void 0), t([d({ reflect: !0 })], $.prototype, "value", void 0), t([d({
1579
1533
  type: Boolean,
1580
1534
  reflect: !0
1581
- })], $.prototype, "selected", void 0), t([u({
1535
+ })], $.prototype, "selected", void 0), t([d({
1582
1536
  type: Boolean,
1583
1537
  reflect: !0
1584
- })], $.prototype, "selectable", void 0), t([u({
1538
+ })], $.prototype, "selectable", void 0), t([d({
1585
1539
  type: Boolean,
1586
1540
  reflect: !0
1587
- })], $.prototype, "expanded", void 0), t([u({
1541
+ })], $.prototype, "expanded", void 0), t([d({
1588
1542
  type: Boolean,
1589
1543
  reflect: !0
1590
- })], $.prototype, "expandable", void 0), t([f()], $.prototype, "selectsSingle", void 0), t([f()], $.prototype, "emphasized", void 0), t([f()], $.prototype, "selectionColumn", void 0), t([f()], $.prototype, "expansionColumn", void 0), t([f()], $.prototype, "spanAll", void 0), t([f()], $.prototype, "checkboxLabel", void 0), t([f()], $.prototype, "disclosureLabel", void 0), t([f()], $.prototype, "detailsId", void 0), t([f()], $.prototype, "checkboxSize", void 0), typeof customElements < "u" && !customElements.get("luzmo-table") && customElements.define("luzmo-table", K), typeof customElements < "u" && !customElements.get("luzmo-table-head") && customElements.define("luzmo-table-head", X), typeof customElements < "u" && !customElements.get("luzmo-table-head-cell") && customElements.define("luzmo-table-head-cell", Z), typeof customElements < "u" && !customElements.get("luzmo-table-body") && customElements.define("luzmo-table-body", q), typeof customElements < "u" && !customElements.get("luzmo-table-row") && customElements.define("luzmo-table-row", $), typeof customElements < "u" && !customElements.get("luzmo-table-cell") && customElements.define("luzmo-table-cell", J), typeof customElements < "u" && !customElements.get("luzmo-table-checkbox-cell") && customElements.define("luzmo-table-checkbox-cell", Y), typeof customElements < "u" && !customElements.get("luzmo-table-disclosure-cell") && customElements.define("luzmo-table-disclosure-cell", Q), typeof customElements < "u" && !customElements.get("luzmo-table-row-details") && customElements.define("luzmo-table-row-details", B);
1591
- //#endregion
1544
+ })], $.prototype, "expandable", void 0), t([p()], $.prototype, "selectsSingle", void 0), t([p()], $.prototype, "emphasized", void 0), t([p()], $.prototype, "selectionColumn", void 0), t([p()], $.prototype, "expansionColumn", void 0), t([p()], $.prototype, "spanAll", void 0), t([p()], $.prototype, "checkboxLabel", void 0), t([p()], $.prototype, "disclosureLabel", void 0), t([p()], $.prototype, "detailsId", void 0), t([p()], $.prototype, "checkboxSize", void 0), typeof customElements < "u" && !customElements.get("luzmo-table") && customElements.define("luzmo-table", K), typeof customElements < "u" && !customElements.get("luzmo-table-head") && customElements.define("luzmo-table-head", X), typeof customElements < "u" && !customElements.get("luzmo-table-head-cell") && customElements.define("luzmo-table-head-cell", Z), typeof customElements < "u" && !customElements.get("luzmo-table-body") && customElements.define("luzmo-table-body", q), typeof customElements < "u" && !customElements.get("luzmo-table-row") && customElements.define("luzmo-table-row", $), typeof customElements < "u" && !customElements.get("luzmo-table-cell") && customElements.define("luzmo-table-cell", J), typeof customElements < "u" && !customElements.get("luzmo-table-checkbox-cell") && customElements.define("luzmo-table-checkbox-cell", Y), typeof customElements < "u" && !customElements.get("luzmo-table-disclosure-cell") && customElements.define("luzmo-table-disclosure-cell", Q), typeof customElements < "u" && !customElements.get("luzmo-table-row-details") && customElements.define("luzmo-table-row-details", B);
1592
1545
  export { Y as a, K as c, X as i, B as l, Q as n, J as o, Z as r, q as s, $ as t, k as u };