@prolibu-suite/cobalt-core 0.9.0 → 0.9.1

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 (443) hide show
  1. package/custom-elements.json +179 -10
  2. package/dist/cjs/co-accordion.cjs.entry.js +2 -2
  3. package/dist/cjs/co-action-bar.cjs.entry.js +2 -2
  4. package/dist/cjs/co-app-shell.cjs.entry.js +2 -2
  5. package/dist/cjs/co-audio-player.cjs.entry.js +3 -3
  6. package/dist/cjs/co-autocomplete.cjs.entry.js +1 -1
  7. package/dist/cjs/co-avatar_2.cjs.entry.js +2 -2
  8. package/dist/cjs/co-badge.cjs.entry.js +1 -1
  9. package/dist/cjs/co-bottom-sheet.cjs.entry.js +3 -3
  10. package/dist/cjs/co-breadcrumb-item.cjs.entry.js +2 -2
  11. package/dist/cjs/co-breadcrumb.cjs.entry.js +1 -1
  12. package/dist/cjs/co-button-group.cjs.entry.js +2 -2
  13. package/dist/cjs/co-button.cjs.entry.js +2 -2
  14. package/dist/cjs/co-calendar-month_2.cjs.entry.js +3 -3
  15. package/dist/cjs/co-calendar_3.cjs.entry.js +5 -5
  16. package/dist/cjs/co-card.cjs.entry.js +2 -2
  17. package/dist/cjs/co-carousel-item.cjs.entry.js +1 -1
  18. package/dist/cjs/co-carousel.cjs.entry.js +2 -2
  19. package/dist/cjs/co-checkbox.cjs.entry.js +3 -3
  20. package/dist/cjs/co-chip_2.cjs.entry.js +11 -11
  21. package/dist/cjs/co-color-picker.cjs.entry.js +2 -2
  22. package/dist/cjs/co-column-picker.cjs.entry.js +2 -2
  23. package/dist/cjs/co-combobox.cjs.entry.js +1 -1
  24. package/dist/cjs/co-data-table-pagination.cjs.entry.js +4 -4
  25. package/dist/cjs/co-data-table.cjs.entry.js +127 -8
  26. package/dist/cjs/co-date-range.cjs.entry.js +1 -1
  27. package/dist/cjs/co-date-time-picker.cjs.entry.js +2 -2
  28. package/dist/cjs/co-drive-card.cjs.entry.js +1 -1
  29. package/dist/cjs/co-drop-zone.cjs.entry.js +1 -1
  30. package/dist/cjs/co-empty-state.cjs.entry.js +2 -2
  31. package/dist/cjs/co-event-calendar.cjs.entry.js +2 -2
  32. package/dist/cjs/co-event-popover.cjs.entry.js +1 -1
  33. package/dist/cjs/co-fab.cjs.entry.js +3 -3
  34. package/dist/cjs/co-file-field.cjs.entry.js +5 -5
  35. package/dist/cjs/co-file-type-tile.cjs.entry.js +2 -2
  36. package/dist/cjs/co-helper-text.cjs.entry.js +2 -2
  37. package/dist/cjs/co-icon-button.cjs.entry.js +1 -1
  38. package/dist/cjs/co-icon.cjs.entry.js +2 -2
  39. package/dist/cjs/co-json-field.cjs.entry.js +3 -3
  40. package/dist/cjs/co-lightbox.cjs.entry.js +4 -4
  41. package/dist/cjs/co-list-footer.cjs.entry.js +1 -1
  42. package/dist/cjs/co-list-item.cjs.entry.js +4 -4
  43. package/dist/cjs/co-media-thumb.cjs.entry.js +2 -2
  44. package/dist/cjs/co-menu-divider.cjs.entry.js +1 -1
  45. package/dist/cjs/co-menu.cjs.entry.js +1 -1
  46. package/dist/cjs/co-modal.cjs.entry.js +2 -2
  47. package/dist/cjs/co-navbar.cjs.entry.js +2 -2
  48. package/dist/cjs/co-number-field.cjs.entry.js +2 -2
  49. package/dist/cjs/co-overlay.cjs.entry.js +1 -1
  50. package/dist/cjs/co-page-header.cjs.entry.js +1 -1
  51. package/dist/cjs/co-phone-field.cjs.entry.js +1 -1
  52. package/dist/cjs/co-popover.cjs.entry.js +49 -3
  53. package/dist/cjs/co-progress-bar.cjs.entry.js +2 -2
  54. package/dist/cjs/co-progress-circle.cjs.entry.js +2 -2
  55. package/dist/cjs/co-provider-logo_2.cjs.entry.js +1 -1
  56. package/dist/cjs/co-radio.cjs.entry.js +3 -3
  57. package/dist/cjs/co-rating.cjs.entry.js +3 -3
  58. package/dist/cjs/co-ref-field.cjs.entry.js +13 -4
  59. package/dist/cjs/co-rich-text-editor.cjs.entry.js +3 -3
  60. package/dist/cjs/co-row.cjs.entry.js +2 -2
  61. package/dist/cjs/co-select.cjs.entry.js +13 -4
  62. package/dist/cjs/co-separator.cjs.entry.js +1 -1
  63. package/dist/cjs/co-sidebar-nav.cjs.entry.js +2 -2
  64. package/dist/cjs/co-sidebar.cjs.entry.js +2 -2
  65. package/dist/cjs/co-slider.cjs.entry.js +2 -2
  66. package/dist/cjs/co-switch.cjs.entry.js +3 -3
  67. package/dist/cjs/co-tab-group.cjs.entry.js +2 -2
  68. package/dist/cjs/co-tab.cjs.entry.js +2 -2
  69. package/dist/cjs/co-tags-field.cjs.entry.js +5 -5
  70. package/dist/cjs/co-textarea.cjs.entry.js +4 -4
  71. package/dist/cjs/co-toast.cjs.entry.js +2 -2
  72. package/dist/cjs/co-toggle-button-group.cjs.entry.js +2 -2
  73. package/dist/cjs/co-toggle-button.cjs.entry.js +2 -2
  74. package/dist/cjs/co-transfer-list.cjs.entry.js +2 -2
  75. package/dist/cjs/co-video.cjs.entry.js +2 -2
  76. package/dist/cjs/cobalt.cjs.js +1 -1
  77. package/dist/cjs/index-DK-2Lzmf.js +12 -12
  78. package/dist/cjs/loader.cjs.js +1 -1
  79. package/dist/cobalt/cobalt.esm.js +1 -1
  80. package/dist/cobalt/{p-142506d9.entry.js → p-02ac492f.entry.js} +1 -1
  81. package/dist/cobalt/p-02f4b71a.entry.js +1 -0
  82. package/dist/cobalt/{p-24e93fcb.entry.js → p-07d570a6.entry.js} +1 -1
  83. package/dist/cobalt/{p-b9ac1f25.entry.js → p-136440fc.entry.js} +1 -1
  84. package/dist/cobalt/{p-7ec85887.entry.js → p-138b8bc1.entry.js} +1 -1
  85. package/dist/cobalt/{p-724b9b54.entry.js → p-17ae943c.entry.js} +1 -1
  86. package/dist/cobalt/{p-43b1f8fb.entry.js → p-2637efc5.entry.js} +1 -1
  87. package/dist/cobalt/{p-9fe9e2fe.entry.js → p-2c0099a4.entry.js} +1 -1
  88. package/dist/cobalt/{p-baeb5d55.entry.js → p-2d329ac8.entry.js} +1 -1
  89. package/dist/cobalt/{p-417ce874.entry.js → p-2d81b292.entry.js} +1 -1
  90. package/dist/cobalt/{p-e7e34852.entry.js → p-2f778a5a.entry.js} +1 -1
  91. package/dist/cobalt/{p-7521ec0c.entry.js → p-315586b0.entry.js} +1 -1
  92. package/dist/cobalt/{p-b64b0a07.entry.js → p-316c62c0.entry.js} +1 -1
  93. package/dist/cobalt/{p-8a93beb0.entry.js → p-342e1da4.entry.js} +1 -1
  94. package/dist/cobalt/{p-76dff399.entry.js → p-37c17bd8.entry.js} +1 -1
  95. package/dist/cobalt/{p-d21da71a.entry.js → p-3a229bba.entry.js} +1 -1
  96. package/dist/cobalt/{p-a530bec2.entry.js → p-3d338881.entry.js} +1 -1
  97. package/dist/cobalt/{p-a45e2c00.entry.js → p-3ef0f849.entry.js} +1 -1
  98. package/dist/cobalt/{p-c7a809c7.entry.js → p-40ce8a3d.entry.js} +1 -1
  99. package/dist/cobalt/{p-c31f5c1b.entry.js → p-4299cfa5.entry.js} +1 -1
  100. package/dist/cobalt/{p-6d532475.entry.js → p-43bd298d.entry.js} +1 -1
  101. package/dist/cobalt/{p-19706923.entry.js → p-43d31055.entry.js} +1 -1
  102. package/dist/cobalt/{p-37541725.entry.js → p-44fb4a3f.entry.js} +1 -1
  103. package/dist/cobalt/{p-81866f71.entry.js → p-4a503187.entry.js} +1 -1
  104. package/dist/cobalt/{p-49bde154.entry.js → p-4fe9a3ae.entry.js} +1 -1
  105. package/dist/cobalt/{p-39007b6c.entry.js → p-5c1767db.entry.js} +1 -1
  106. package/dist/cobalt/p-6556465f.entry.js +1 -0
  107. package/dist/cobalt/p-682b3313.entry.js +1 -0
  108. package/dist/cobalt/p-6c35b5cc.entry.js +1 -0
  109. package/dist/cobalt/{p-a5d84c7a.entry.js → p-7457aa89.entry.js} +1 -1
  110. package/dist/cobalt/{p-3ecc29fa.entry.js → p-75b7ed13.entry.js} +1 -1
  111. package/dist/cobalt/{p-94a8a119.entry.js → p-7c5e846a.entry.js} +1 -1
  112. package/dist/cobalt/{p-12a0ae24.entry.js → p-7cf4b4ae.entry.js} +1 -1
  113. package/dist/cobalt/p-7fbd3359.entry.js +1 -0
  114. package/dist/cobalt/{p-e99832a9.entry.js → p-8183f56f.entry.js} +1 -1
  115. package/dist/cobalt/{p-5ddebd10.entry.js → p-82c8f07b.entry.js} +1 -1
  116. package/dist/cobalt/{p-b004c3bb.entry.js → p-88a0659f.entry.js} +1 -1
  117. package/dist/cobalt/{p-a074f2ba.entry.js → p-8eb485c8.entry.js} +1 -1
  118. package/dist/cobalt/{p-f52f61d4.entry.js → p-8f600512.entry.js} +1 -1
  119. package/dist/cobalt/{p-09fe6ece.entry.js → p-905ba0dd.entry.js} +1 -1
  120. package/dist/cobalt/{p-c42c505c.entry.js → p-909c0113.entry.js} +1 -1
  121. package/dist/cobalt/{p-fa5c25d6.entry.js → p-90e292de.entry.js} +1 -1
  122. package/dist/cobalt/{p-360714ae.entry.js → p-929a4f19.entry.js} +1 -1
  123. package/dist/cobalt/{p-9c2ce487.entry.js → p-9c89cb01.entry.js} +1 -1
  124. package/dist/cobalt/{p-87fc5aed.entry.js → p-9c9f5b26.entry.js} +1 -1
  125. package/dist/cobalt/{p-d7b00e5f.entry.js → p-a0a6bfa3.entry.js} +1 -1
  126. package/dist/cobalt/{p-19f5d480.entry.js → p-a3669301.entry.js} +1 -1
  127. package/dist/cobalt/{p-21832273.entry.js → p-a3c6b974.entry.js} +1 -1
  128. package/dist/cobalt/{p-d3c765e3.entry.js → p-a6357340.entry.js} +1 -1
  129. package/dist/cobalt/p-a6b5cadd.entry.js +1 -0
  130. package/dist/cobalt/{p-e5b5ae89.entry.js → p-a811464d.entry.js} +1 -1
  131. package/dist/cobalt/{p-5d7c26f2.entry.js → p-a8c64cc3.entry.js} +1 -1
  132. package/dist/cobalt/{p-b800e107.entry.js → p-a9b29cc2.entry.js} +1 -1
  133. package/dist/cobalt/p-aafb9d11.entry.js +1 -0
  134. package/dist/cobalt/{p-cc72557d.entry.js → p-ab45d9bd.entry.js} +1 -1
  135. package/dist/cobalt/{p-c3c2087e.entry.js → p-b107063c.entry.js} +1 -1
  136. package/dist/cobalt/{p-f4cebc1f.entry.js → p-b22981fd.entry.js} +1 -1
  137. package/dist/cobalt/{p-8b7a4f6c.entry.js → p-b5b97c9b.entry.js} +1 -1
  138. package/dist/cobalt/{p-7255ab63.entry.js → p-b892b312.entry.js} +1 -1
  139. package/dist/cobalt/{p-debe0d79.entry.js → p-bfc2a849.entry.js} +1 -1
  140. package/dist/cobalt/{p-e5296961.entry.js → p-c1880595.entry.js} +1 -1
  141. package/dist/cobalt/{p-7a2dab23.entry.js → p-c3bb7e1f.entry.js} +1 -1
  142. package/dist/cobalt/{p-5f1b273b.entry.js → p-c3fd7b22.entry.js} +1 -1
  143. package/dist/cobalt/p-c6b9b9d6.entry.js +1 -0
  144. package/dist/cobalt/{p-ed2ca588.entry.js → p-ce35c898.entry.js} +1 -1
  145. package/dist/cobalt/{p-d85a751d.entry.js → p-d4debd6f.entry.js} +1 -1
  146. package/dist/cobalt/p-da18b5f4.entry.js +1 -0
  147. package/dist/cobalt/{p-3ac316e0.entry.js → p-e085b4ff.entry.js} +1 -1
  148. package/dist/cobalt/{p-8206c7c0.entry.js → p-e4ef25b0.entry.js} +1 -1
  149. package/dist/cobalt/{p-5f0f5d4b.entry.js → p-e742e978.entry.js} +1 -1
  150. package/dist/cobalt/{p-39bce45f.entry.js → p-e8878cf9.entry.js} +1 -1
  151. package/dist/cobalt/{p-2a9ba4c8.entry.js → p-f945a1bd.entry.js} +1 -1
  152. package/dist/cobalt/{p-b1ef5107.entry.js → p-fabe5fb2.entry.js} +1 -1
  153. package/dist/cobalt/{p-4e2379e4.entry.js → p-fdc6ec11.entry.js} +1 -1
  154. package/dist/collection/components/co-accordion/co-accordion.js +2 -2
  155. package/dist/collection/components/co-action-bar/co-action-bar.js +2 -2
  156. package/dist/collection/components/co-app-shell/co-app-shell.js +2 -2
  157. package/dist/collection/components/co-audio-player/co-audio-player.js +3 -3
  158. package/dist/collection/components/co-autocomplete/co-autocomplete.css +1 -1
  159. package/dist/collection/components/co-badge/co-badge.js +1 -1
  160. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +3 -3
  161. package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +1 -1
  162. package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +2 -2
  163. package/dist/collection/components/co-button/co-button.js +2 -2
  164. package/dist/collection/components/co-button-group/co-button-group.js +2 -2
  165. package/dist/collection/components/co-calendar/co-calendar.js +1 -1
  166. package/dist/collection/components/co-calendar-month/co-calendar-month.js +1 -1
  167. package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.js +2 -2
  168. package/dist/collection/components/co-card/co-card.js +2 -2
  169. package/dist/collection/components/co-carousel/co-carousel.js +2 -2
  170. package/dist/collection/components/co-carousel-item/co-carousel-item.js +1 -1
  171. package/dist/collection/components/co-checkbox/co-checkbox.js +3 -3
  172. package/dist/collection/components/co-chip/co-chip.js +2 -2
  173. package/dist/collection/components/co-color-picker/co-color-picker.js +2 -2
  174. package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
  175. package/dist/collection/components/co-combobox/co-combobox.css +3 -1
  176. package/dist/collection/components/co-data-table/co-data-table.css +33 -0
  177. package/dist/collection/components/co-data-table/co-data-table.js +89 -7
  178. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
  179. package/dist/collection/components/co-date-field/co-date-field.js +4 -4
  180. package/dist/collection/components/co-date-range/co-date-range.js +1 -1
  181. package/dist/collection/components/co-date-time-picker/co-date-time-picker.js +2 -2
  182. package/dist/collection/components/co-drive-card/co-drive-card.js +1 -1
  183. package/dist/collection/components/co-drop-zone/co-drop-zone.js +1 -1
  184. package/dist/collection/components/co-empty-state/co-empty-state.js +2 -2
  185. package/dist/collection/components/co-event-calendar/co-event-calendar.js +2 -2
  186. package/dist/collection/components/co-event-popover/co-event-popover.js +1 -1
  187. package/dist/collection/components/co-fab/co-fab.css +8 -5
  188. package/dist/collection/components/co-fab/co-fab.js +2 -2
  189. package/dist/collection/components/co-file-field/co-file-field.js +5 -5
  190. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +2 -2
  191. package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
  192. package/dist/collection/components/co-icon/co-icon.js +2 -2
  193. package/dist/collection/components/co-icon-button/co-icon-button.js +1 -1
  194. package/dist/collection/components/co-json-field/co-json-field.js +3 -3
  195. package/dist/collection/components/co-lightbox/co-lightbox.js +4 -4
  196. package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
  197. package/dist/collection/components/co-list-item/co-list-item.js +4 -4
  198. package/dist/collection/components/co-media-thumb/co-media-thumb.js +2 -2
  199. package/dist/collection/components/co-menu/co-menu.js +1 -1
  200. package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
  201. package/dist/collection/components/co-modal/co-modal.js +2 -2
  202. package/dist/collection/components/co-navbar/co-navbar.js +2 -2
  203. package/dist/collection/components/co-number-field/co-number-field.js +2 -2
  204. package/dist/collection/components/co-option-list/co-option-list.css +11 -9
  205. package/dist/collection/components/co-option-list/co-option-list.js +8 -8
  206. package/dist/collection/components/co-overlay/co-overlay.js +1 -1
  207. package/dist/collection/components/co-page-header/co-page-header.js +1 -1
  208. package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
  209. package/dist/collection/components/co-popover/co-popover.js +26 -4
  210. package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
  211. package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
  212. package/dist/collection/components/co-radio/co-radio.js +3 -3
  213. package/dist/collection/components/co-rating/co-rating.js +3 -3
  214. package/dist/collection/components/co-ref-field/co-ref-field.css +15 -0
  215. package/dist/collection/components/co-ref-field/co-ref-field.js +71 -3
  216. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +3 -3
  217. package/dist/collection/components/co-row/co-row.js +2 -2
  218. package/dist/collection/components/co-select/co-select.js +67 -4
  219. package/dist/collection/components/co-separator/co-separator.js +1 -1
  220. package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
  221. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +2 -2
  222. package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
  223. package/dist/collection/components/co-slider/co-slider.js +2 -2
  224. package/dist/collection/components/co-switch/co-switch.js +3 -3
  225. package/dist/collection/components/co-tab/co-tab.js +2 -2
  226. package/dist/collection/components/co-tab-group/co-tab-group.js +2 -2
  227. package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
  228. package/dist/collection/components/co-textarea/co-textarea.js +4 -4
  229. package/dist/collection/components/co-toast/co-toast.js +2 -2
  230. package/dist/collection/components/co-toggle-button/co-toggle-button.js +2 -2
  231. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
  232. package/dist/collection/components/co-tooltip/co-tooltip.js +2 -2
  233. package/dist/collection/components/co-transfer-list/co-transfer-list.js +2 -2
  234. package/dist/collection/components/co-video/co-video.js +2 -2
  235. package/dist/collection/utils/columnResize.js +37 -0
  236. package/dist/collection/utils/popover-stack.js +28 -0
  237. package/dist/components/co-accordion.js +1 -1
  238. package/dist/components/co-action-bar.js +1 -1
  239. package/dist/components/co-app-shell.js +1 -1
  240. package/dist/components/co-audio-player.js +1 -1
  241. package/dist/components/co-autocomplete.js +1 -1
  242. package/dist/components/co-avatar-group.js +1 -1
  243. package/dist/components/co-avatar.js +1 -1
  244. package/dist/components/co-badge.js +1 -1
  245. package/dist/components/co-bottom-sheet.js +1 -1
  246. package/dist/components/co-breadcrumb-item.js +1 -1
  247. package/dist/components/co-breadcrumb.js +1 -1
  248. package/dist/components/co-button-group.js +1 -1
  249. package/dist/components/co-button.js +1 -1
  250. package/dist/components/co-calendar-month.js +1 -1
  251. package/dist/components/co-calendar-timegrid.js +1 -1
  252. package/dist/components/co-calendar.js +1 -1
  253. package/dist/components/co-card.js +1 -1
  254. package/dist/components/co-carousel-item.js +1 -1
  255. package/dist/components/co-carousel.js +1 -1
  256. package/dist/components/co-checkbox-group.js +1 -1
  257. package/dist/components/co-checkbox.js +1 -1
  258. package/dist/components/co-chip.js +1 -1
  259. package/dist/components/co-color-picker.js +1 -1
  260. package/dist/components/co-column-picker.js +1 -1
  261. package/dist/components/co-combobox.js +1 -1
  262. package/dist/components/co-command-search.js +1 -1
  263. package/dist/components/co-data-table-pagination.js +1 -1
  264. package/dist/components/co-data-table.js +1 -1
  265. package/dist/components/co-date-field.js +1 -1
  266. package/dist/components/co-date-picker.js +1 -1
  267. package/dist/components/co-date-range-picker.js +1 -1
  268. package/dist/components/co-date-range.js +1 -1
  269. package/dist/components/co-date-time-picker.js +1 -1
  270. package/dist/components/co-drawer.js +1 -1
  271. package/dist/components/co-drive-card.js +1 -1
  272. package/dist/components/co-drop-zone.js +1 -1
  273. package/dist/components/co-empty-state.js +1 -1
  274. package/dist/components/co-event-calendar.js +1 -1
  275. package/dist/components/co-event-popover.js +1 -1
  276. package/dist/components/co-fab.js +1 -1
  277. package/dist/components/co-file-field.js +1 -1
  278. package/dist/components/co-file-type-tile.js +1 -1
  279. package/dist/components/co-helper-text.js +1 -1
  280. package/dist/components/co-icon-button.js +1 -1
  281. package/dist/components/co-icon.js +1 -1
  282. package/dist/components/co-input.js +1 -1
  283. package/dist/components/co-json-field.js +1 -1
  284. package/dist/components/co-lightbox.js +1 -1
  285. package/dist/components/co-list-footer.js +1 -1
  286. package/dist/components/co-list-item.js +1 -1
  287. package/dist/components/co-media-thumb.js +1 -1
  288. package/dist/components/co-menu-divider.js +1 -1
  289. package/dist/components/co-menu-item.js +1 -1
  290. package/dist/components/co-menu.js +1 -1
  291. package/dist/components/co-modal.js +1 -1
  292. package/dist/components/co-navbar.js +1 -1
  293. package/dist/components/co-number-field.js +1 -1
  294. package/dist/components/co-option-list.js +1 -1
  295. package/dist/components/co-overlay.js +1 -1
  296. package/dist/components/co-page-header.js +1 -1
  297. package/dist/components/co-phone-field.js +1 -1
  298. package/dist/components/co-popover.js +1 -1
  299. package/dist/components/co-progress-bar.js +1 -1
  300. package/dist/components/co-progress-circle.js +1 -1
  301. package/dist/components/co-radio-group.js +1 -1
  302. package/dist/components/co-radio.js +1 -1
  303. package/dist/components/co-rating.js +1 -1
  304. package/dist/components/co-ref-field.js +1 -1
  305. package/dist/components/co-rich-text-editor.js +1 -1
  306. package/dist/components/co-rich-text-toolbar.js +1 -1
  307. package/dist/components/co-row.js +1 -1
  308. package/dist/components/co-select.js +1 -1
  309. package/dist/components/co-separator.js +1 -1
  310. package/dist/components/co-sidebar-nav.js +1 -1
  311. package/dist/components/co-sidebar.js +1 -1
  312. package/dist/components/co-skeleton.js +1 -1
  313. package/dist/components/co-slider.js +1 -1
  314. package/dist/components/co-switch.js +1 -1
  315. package/dist/components/co-tab-group.js +1 -1
  316. package/dist/components/co-tab.js +1 -1
  317. package/dist/components/co-tags-field.js +1 -1
  318. package/dist/components/co-textarea.js +1 -1
  319. package/dist/components/co-toast.js +1 -1
  320. package/dist/components/co-toggle-button-group.js +1 -1
  321. package/dist/components/co-toggle-button.js +1 -1
  322. package/dist/components/co-tooltip.js +1 -1
  323. package/dist/components/co-transfer-list.js +1 -1
  324. package/dist/components/co-video.js +1 -1
  325. package/dist/components/{p-BiefJDu3.js → p-4t5Fputx.js} +1 -1
  326. package/dist/components/{p-_YYd42XM.js → p-8wvfrEY4.js} +1 -1
  327. package/dist/components/{p-BCnjq3jN.js → p-BCZ-tPBT.js} +1 -1
  328. package/dist/components/{p-CmxZEGYq.js → p-BEiPCCVl.js} +1 -1
  329. package/dist/components/p-BOmAHbix.js +1 -0
  330. package/dist/components/{p-2zy1K6zg.js → p-BUYgHlPz.js} +1 -1
  331. package/dist/components/{p-ushHimOL.js → p-BYnSPxpp.js} +1 -1
  332. package/dist/components/{p-BlvsTlsS.js → p-Bhuk55S0.js} +1 -1
  333. package/dist/components/{p-DAaKsGqj.js → p-C4So28aS.js} +1 -1
  334. package/dist/components/{p-CL4dicvk.js → p-CRABrJmD.js} +1 -1
  335. package/dist/components/{p-Cv5yuGLz.js → p-CXLX8DpD.js} +1 -1
  336. package/dist/components/{p-CYv2ig6I.js → p-CXdIxtbK.js} +1 -1
  337. package/dist/components/{p-DFT1qsVu.js → p-ClAsHpYv.js} +1 -1
  338. package/dist/components/{p-CkQqqKRp.js → p-CnBjUP_M.js} +1 -1
  339. package/dist/components/{p-xvWmYN3W.js → p-DEYpoVxc.js} +1 -1
  340. package/dist/components/p-DP0bbhfN.js +1 -0
  341. package/dist/components/{p-re2gJwnQ.js → p-DUYGgqjB.js} +1 -1
  342. package/dist/components/{p-CKKBJaNB.js → p-DWt_rL1l.js} +1 -1
  343. package/dist/components/{p-Bsll5Ofy.js → p-DmyELlI1.js} +1 -1
  344. package/dist/components/p-aiNhl9Xd.js +1 -0
  345. package/dist/components/{p-Ce0ZJcks.js → p-njonLO8t.js} +1 -1
  346. package/dist/components/{p-CJNo2JDc.js → p-xjzIZcgZ.js} +1 -1
  347. package/dist/esm/co-accordion.entry.js +2 -2
  348. package/dist/esm/co-action-bar.entry.js +2 -2
  349. package/dist/esm/co-app-shell.entry.js +2 -2
  350. package/dist/esm/co-audio-player.entry.js +3 -3
  351. package/dist/esm/co-autocomplete.entry.js +1 -1
  352. package/dist/esm/co-avatar_2.entry.js +2 -2
  353. package/dist/esm/co-badge.entry.js +1 -1
  354. package/dist/esm/co-bottom-sheet.entry.js +3 -3
  355. package/dist/esm/co-breadcrumb-item.entry.js +2 -2
  356. package/dist/esm/co-breadcrumb.entry.js +1 -1
  357. package/dist/esm/co-button-group.entry.js +2 -2
  358. package/dist/esm/co-button.entry.js +2 -2
  359. package/dist/esm/co-calendar-month_2.entry.js +3 -3
  360. package/dist/esm/co-calendar_3.entry.js +5 -5
  361. package/dist/esm/co-card.entry.js +2 -2
  362. package/dist/esm/co-carousel-item.entry.js +1 -1
  363. package/dist/esm/co-carousel.entry.js +2 -2
  364. package/dist/esm/co-checkbox.entry.js +3 -3
  365. package/dist/esm/co-chip_2.entry.js +11 -11
  366. package/dist/esm/co-color-picker.entry.js +2 -2
  367. package/dist/esm/co-column-picker.entry.js +2 -2
  368. package/dist/esm/co-combobox.entry.js +1 -1
  369. package/dist/esm/co-data-table-pagination.entry.js +4 -4
  370. package/dist/esm/co-data-table.entry.js +127 -8
  371. package/dist/esm/co-date-range.entry.js +1 -1
  372. package/dist/esm/co-date-time-picker.entry.js +2 -2
  373. package/dist/esm/co-drive-card.entry.js +1 -1
  374. package/dist/esm/co-drop-zone.entry.js +1 -1
  375. package/dist/esm/co-empty-state.entry.js +2 -2
  376. package/dist/esm/co-event-calendar.entry.js +2 -2
  377. package/dist/esm/co-event-popover.entry.js +1 -1
  378. package/dist/esm/co-fab.entry.js +3 -3
  379. package/dist/esm/co-file-field.entry.js +5 -5
  380. package/dist/esm/co-file-type-tile.entry.js +2 -2
  381. package/dist/esm/co-helper-text.entry.js +2 -2
  382. package/dist/esm/co-icon-button.entry.js +1 -1
  383. package/dist/esm/co-icon.entry.js +2 -2
  384. package/dist/esm/co-json-field.entry.js +3 -3
  385. package/dist/esm/co-lightbox.entry.js +4 -4
  386. package/dist/esm/co-list-footer.entry.js +1 -1
  387. package/dist/esm/co-list-item.entry.js +4 -4
  388. package/dist/esm/co-media-thumb.entry.js +2 -2
  389. package/dist/esm/co-menu-divider.entry.js +1 -1
  390. package/dist/esm/co-menu.entry.js +1 -1
  391. package/dist/esm/co-modal.entry.js +2 -2
  392. package/dist/esm/co-navbar.entry.js +2 -2
  393. package/dist/esm/co-number-field.entry.js +2 -2
  394. package/dist/esm/co-overlay.entry.js +1 -1
  395. package/dist/esm/co-page-header.entry.js +1 -1
  396. package/dist/esm/co-phone-field.entry.js +1 -1
  397. package/dist/esm/co-popover.entry.js +49 -3
  398. package/dist/esm/co-progress-bar.entry.js +2 -2
  399. package/dist/esm/co-progress-circle.entry.js +2 -2
  400. package/dist/esm/co-provider-logo_2.entry.js +1 -1
  401. package/dist/esm/co-radio.entry.js +3 -3
  402. package/dist/esm/co-rating.entry.js +3 -3
  403. package/dist/esm/co-ref-field.entry.js +13 -4
  404. package/dist/esm/co-rich-text-editor.entry.js +3 -3
  405. package/dist/esm/co-row.entry.js +2 -2
  406. package/dist/esm/co-select.entry.js +13 -4
  407. package/dist/esm/co-separator.entry.js +1 -1
  408. package/dist/esm/co-sidebar-nav.entry.js +2 -2
  409. package/dist/esm/co-sidebar.entry.js +2 -2
  410. package/dist/esm/co-slider.entry.js +2 -2
  411. package/dist/esm/co-switch.entry.js +3 -3
  412. package/dist/esm/co-tab-group.entry.js +2 -2
  413. package/dist/esm/co-tab.entry.js +2 -2
  414. package/dist/esm/co-tags-field.entry.js +5 -5
  415. package/dist/esm/co-textarea.entry.js +4 -4
  416. package/dist/esm/co-toast.entry.js +2 -2
  417. package/dist/esm/co-toggle-button-group.entry.js +2 -2
  418. package/dist/esm/co-toggle-button.entry.js +2 -2
  419. package/dist/esm/co-transfer-list.entry.js +2 -2
  420. package/dist/esm/co-video.entry.js +2 -2
  421. package/dist/esm/cobalt.js +1 -1
  422. package/dist/esm/index-CrtiywTB.js +12 -12
  423. package/dist/esm/loader.js +1 -1
  424. package/dist/types/components/co-data-table/co-data-table.d.ts +5 -0
  425. package/dist/types/components/co-popover/co-popover.d.ts +8 -1
  426. package/dist/types/components/co-ref-field/co-ref-field.d.ts +17 -0
  427. package/dist/types/components/co-select/co-select.d.ts +7 -0
  428. package/dist/types/components.d.ts +60 -2
  429. package/dist/types/utils/columnResize.d.ts +42 -0
  430. package/dist/types/utils/popover-stack.d.ts +5 -0
  431. package/package.json +3 -3
  432. package/dist/cobalt/p-212ed2ba.entry.js +0 -1
  433. package/dist/cobalt/p-2aeb1471.entry.js +0 -1
  434. package/dist/cobalt/p-2d0354cc.entry.js +0 -1
  435. package/dist/cobalt/p-30ec230e.entry.js +0 -1
  436. package/dist/cobalt/p-77593319.entry.js +0 -1
  437. package/dist/cobalt/p-e054cb52.entry.js +0 -1
  438. package/dist/cobalt/p-e612b43c.entry.js +0 -1
  439. package/dist/cobalt/p-f1284fcd.entry.js +0 -1
  440. package/dist/cobalt/p-f1731fe9.entry.js +0 -1
  441. package/dist/components/p-BUE9mBqk.js +0 -1
  442. package/dist/components/p-Bh2__nEw.js +0 -1
  443. package/dist/components/p-DTJsO_Eg.js +0 -1
@@ -2,7 +2,45 @@
2
2
 
3
3
  var index = require('./index-DK-2Lzmf.js');
4
4
 
5
- const coDataTableCss = () => `co-data-table{display:block;flex:1;min-height:0;overflow:hidden;contain:layout}.co-data-table{position:relative;font-family:var(--co-font-family-primary);background:var(--co-color-base-blanco);display:flex;flex-direction:column;height:100%}.co-data-table--resizing{cursor:col-resize;user-select:none}.co-data-table__scroll{flex:1;overflow-x:auto;overflow-y:auto;min-height:0}.co-data-table__table{min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.co-data-table__head{position:sticky;top:0;z-index:2}.co-data-table__header-row{height:40px}.co-data-table__th{position:relative;height:40px;padding:0 var(--co-spacing-md);background:var(--co-color-base-blanco);border-bottom:1px solid color-mix(in srgb, var(--co-semantic-border-default) 75%, transparent);border-right:1px solid color-mix(in srgb, var(--co-semantic-border-default) 75%, transparent);text-align:left;vertical-align:middle;font-size:var(--co-font-size-14);font-weight:500;color:var(--co-semantic-text-default);letter-spacing:var(--co-font-letter-spacing-body);line-height:1;white-space:nowrap;overflow:hidden;box-sizing:border-box}.co-data-table__th:last-child{border-right:none}.co-data-table__th--sortable{cursor:pointer}.co-data-table__th--sortable:hover{background-image:linear-gradient(var(--co-semantic-surface-hover), var(--co-semantic-surface-hover))}.co-data-table__th-content{display:flex;align-items:center;justify-content:space-between;gap:var(--co-spacing-sm)}.co-data-table__pin-icon{display:flex;align-items:center;flex-shrink:0;color:var(--co-color-gray-300);cursor:pointer;opacity:0;transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-out), color var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-data-table__pin-icon--active{opacity:1;color:var(--co-semantic-text-default)}.co-data-table__th:hover .co-data-table__pin-icon{opacity:1}.co-data-table__pin-icon:hover{color:var(--co-semantic-text-default)}.co-data-table__filter-icon{display:flex;align-items:center;flex-shrink:0;color:var(--co-color-gray-300);cursor:pointer;opacity:0;transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-out), color var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-data-table__th:hover .co-data-table__filter-icon{opacity:1}.co-data-table__filter-icon:hover{color:var(--co-semantic-text-default)}.co-data-table__filter-icon--active{opacity:1;color:var(--co-color-primary-azul)}.co-data-table__filter-icon--indirect{opacity:0.45;color:var(--co-semantic-text-muted)}.co-data-table__th-label{flex:1;overflow:hidden;text-overflow:ellipsis}.co-data-table__sort-icon{display:flex;align-items:center;flex-shrink:0;color:var(--co-color-gray-400);transition:color var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-data-table__sort-icon--active{color:var(--co-semantic-text-default)}.co-data-table__sort-button{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:var(--co-spacing-sm);background:transparent;border:0;padding:0;margin:0;font:inherit;color:inherit;letter-spacing:inherit;text-align:left;cursor:pointer}.co-data-table__sort-button:focus-visible{outline:2px solid var(--co-semantic-border-focus, var(--co-color-primary-azul));outline-offset:-2px;border-radius:var(--co-border-radius-xxs)}.co-data-table__th--checkbox,.co-data-table__td--checkbox{width:48px;min-width:48px;max-width:48px;padding:0 var(--co-spacing-md);text-align:center;line-height:0;}.co-data-table__th--sticky,.co-data-table__td--sticky{position:sticky;z-index:1;background:var(--co-color-base-blanco)}.co-data-table__th--sticky{z-index:3}.co-data-table__td--sticky::after,.co-data-table__th--sticky::after{content:'';position:absolute;top:0;right:-4px;bottom:0;width:4px;pointer-events:none;opacity:0;background:linear-gradient(to right, var(--co-color-opacity-negro-8), transparent);transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-data-table__resize-handle{position:absolute;top:0;right:-2px;width:5px;height:100%;cursor:col-resize;z-index:1}.co-data-table__resize-handle:hover{background:var(--co-color-primary-azul);opacity:0.3}.co-data-table__resize-handle--active{background:var(--co-color-primary-azul);opacity:0.3}.co-data-table__row{height:48px;transition:background-color var(--co-motion-duration-fast) var(--co-motion-ease-out);content-visibility:auto;contain-intrinsic-size:auto 48px}.co-data-table__row:hover{background:var(--co-semantic-surface-hover)}.co-data-table__row--selected{background:var(--co-color-opacity-negro-4)}.co-data-table__row--selected:hover{background:var(--co-color-opacity-negro-8)}.co-data-table__td{height:48px;padding:0 var(--co-spacing-md);background:inherit;border-bottom:1px solid color-mix(in srgb, var(--co-semantic-border-default) 75%, transparent);border-right:1px solid color-mix(in srgb, var(--co-semantic-border-default) 75%, transparent);vertical-align:middle;font-size:var(--co-font-size-12);font-weight:var(--co-font-weight-medium);color:var(--co-semantic-text-default);letter-spacing:var(--co-font-letter-spacing-body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.co-data-table__td:last-child{border-right:none}.co-data-table__th--align-center,.co-data-table__td--align-center{text-align:center}.co-data-table__th--align-right,.co-data-table__td--align-right{text-align:right}.co-data-table__cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.co-data-table--empty .co-data-table__scroll{flex:0 0 auto;overflow:hidden}.co-data-table__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;flex:1;min-height:280px;padding:var(--co-spacing-3xl) var(--co-spacing-lg);gap:var(--co-spacing-lg) }.co-data-table__empty-icon{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:var(--co-border-radius-full);background:var(--co-semantic-surface-muted);color:var(--co-semantic-text-secondary);margin-bottom:var(--co-spacing-sm)}.co-data-table__empty-title{font-size:var(--co-font-size-24);font-weight:var(--co-font-weight-medium, 500);line-height:1.25;color:var(--co-semantic-text-default);letter-spacing:-0.03em}.co-data-table__empty-message{font-size:var(--co-font-size-14);font-weight:400;color:var(--co-semantic-text-secondary);margin:0;max-width:538px ;line-height:1.25}.co-data-table__empty-action{margin-top:var(--co-spacing-md);display:inline-flex}.co-data-table__empty-action:empty{display:none}.co-data-table__skeleton{height:14px;border-radius:var(--co-border-radius-xxs);background:linear-gradient( 90deg, var(--co-semantic-surface-secondary) 0%, var(--co-semantic-surface-hover, rgba(0, 0, 0, 0.04)) 50%, var(--co-semantic-surface-secondary) 100% );background-size:200% 100%;animation:co-dt-shimmer 1.2s ease-in-out infinite;width:70%}.co-data-table__skeleton--checkbox{width:16px;height:16px;margin:0 auto}@keyframes co-dt-shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}@media (prefers-reduced-motion: reduce){.co-data-table__skeleton{animation:none}}.co-data-table__row--skeleton{pointer-events:none;content-visibility:visible}.co-data-table__row--flash-create{animation:co-dt-flash-create 1s ease-out}.co-data-table__row--flash-update{animation:co-dt-flash-update 1s ease-out}.co-data-table__row--flash-delete{animation:co-dt-flash-delete 0.5s ease-out forwards}@keyframes co-dt-flash-create{0%{background-color:rgba(2, 162, 112, 0.15)}100%{background-color:transparent}}@keyframes co-dt-flash-update{0%{background-color:rgba(37, 99, 235, 0.15)}100%{background-color:transparent}}@keyframes co-dt-flash-delete{0%{opacity:1;background-color:rgba(170, 46, 27, 0.1)}100%{opacity:0;height:0;padding:0;overflow:hidden}}`;
5
+ /**
6
+ * Pure math for co-data-table's column-resize drag.
7
+ *
8
+ * Growing a column past the viewport needs the scroll container to CHASE the
9
+ * pointer: while it hovers an edge zone, each frame the drag adds
10
+ * `edgeAutoScrollSpeed()` px to the column width AND scrolls by the same
11
+ * amount, so the boundary keeps following the pointer instead of dying at the
12
+ * viewport edge (release → scrollbar → drag again).
13
+ */
14
+ /**
15
+ * Signed px/frame to scroll (and grow the column) for the current pointer
16
+ * position: positive inside the right zone, negative inside the left zone,
17
+ * 0 in the middle. Speed ramps linearly across the zone so entering it never
18
+ * jumps, and clamps at maxSpeed past the container edge (the pointer can
19
+ * leave the viewport mid-drag).
20
+ */
21
+ function edgeAutoScrollSpeed({ pointerX, containerLeft, containerRight, edgeZone = 72, maxSpeed = 24, }) {
22
+ const width = containerRight - containerLeft;
23
+ // Unmeasured/degenerate rect (display:none, JSDOM) → never auto-scroll.
24
+ if (width <= 0)
25
+ return 0;
26
+ // Narrow containers: cap zones at a third of the width so they never overlap.
27
+ const zone = Math.min(edgeZone, width / 3);
28
+ const rightStart = containerRight - zone;
29
+ if (pointerX > rightStart) {
30
+ return Math.min(maxSpeed, ((pointerX - rightStart) / zone) * maxSpeed);
31
+ }
32
+ const leftStart = containerLeft + zone;
33
+ if (pointerX < leftStart) {
34
+ return -Math.min(maxSpeed, ((leftStart - pointerX) / zone) * maxSpeed);
35
+ }
36
+ return 0;
37
+ }
38
+ /** Column width for the current drag state, clamped to the column's minimum. */
39
+ function resizeWidth({ startWidth, minWidth, pointerDelta, autoScrollExtra }) {
40
+ return Math.max(minWidth, startWidth + pointerDelta + autoScrollExtra);
41
+ }
42
+
43
+ const coDataTableCss = () => `co-data-table{display:block;flex:1;min-height:0;overflow:hidden;contain:layout}.co-data-table{position:relative;font-family:var(--co-font-family-primary);background:var(--co-color-base-blanco);display:flex;flex-direction:column;height:100%}.co-data-table--resizing{cursor:col-resize;user-select:none}.co-data-table__scroll{flex:1;overflow-x:auto;overflow-y:auto;min-height:0}.co-data-table__table{min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.co-data-table__head{position:sticky;top:0;z-index:2}.co-data-table__header-row{height:40px}.co-data-table__th{position:relative;height:40px;padding:0 var(--co-spacing-md);background:var(--co-color-base-blanco);border-bottom:1px solid color-mix(in srgb, var(--co-semantic-border-default) 75%, transparent);border-right:1px solid color-mix(in srgb, var(--co-semantic-border-default) 75%, transparent);text-align:left;vertical-align:middle;font-size:var(--co-font-size-14);font-weight:500;color:var(--co-semantic-text-default);letter-spacing:var(--co-font-letter-spacing-body);line-height:1;white-space:nowrap;overflow:hidden;box-sizing:border-box}.co-data-table__th:last-child{border-right:none}.co-data-table__th--sortable{cursor:pointer}.co-data-table__th--sortable:hover{background-image:linear-gradient(var(--co-semantic-surface-hover), var(--co-semantic-surface-hover))}.co-data-table__th-content{display:flex;align-items:center;justify-content:space-between;gap:var(--co-spacing-sm)}.co-data-table__pin-icon{display:flex;align-items:center;flex-shrink:0;color:var(--co-color-gray-300);cursor:pointer;opacity:0;transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-out), color var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-data-table__pin-icon--active{opacity:1;color:var(--co-semantic-text-default)}.co-data-table__th:hover .co-data-table__pin-icon{opacity:1}.co-data-table__pin-icon:hover{color:var(--co-semantic-text-default)}.co-data-table__filter-icon{display:flex;align-items:center;flex-shrink:0;color:var(--co-color-gray-300);cursor:pointer;opacity:0;transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-out), color var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-data-table__th:hover .co-data-table__filter-icon{opacity:1}.co-data-table__filter-icon:hover{color:var(--co-semantic-text-default)}.co-data-table__filter-icon--active{opacity:1;color:var(--co-color-primary-azul)}.co-data-table__filter-icon--indirect{opacity:0.45;color:var(--co-semantic-text-muted)}.co-data-table__th-label{flex:1;overflow:hidden;text-overflow:ellipsis}.co-data-table__sort-icon{display:flex;align-items:center;flex-shrink:0;color:var(--co-color-gray-400);transition:color var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-data-table__sort-icon--active{color:var(--co-semantic-text-default)}.co-data-table__sort-button{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:var(--co-spacing-sm);background:transparent;border:0;padding:0;margin:0;font:inherit;color:inherit;letter-spacing:inherit;text-align:left;cursor:pointer}.co-data-table__sort-button:focus-visible{outline:2px solid var(--co-semantic-border-focus, var(--co-color-primary-azul));outline-offset:-2px;border-radius:var(--co-border-radius-xxs)}.co-data-table__th--checkbox,.co-data-table__td--checkbox{width:48px;min-width:48px;max-width:48px;padding:0 var(--co-spacing-md);text-align:center;line-height:0;}.co-data-table__th--sticky,.co-data-table__td--sticky{position:sticky;z-index:1;background:var(--co-color-base-blanco)}.co-data-table__th--sticky{z-index:3}.co-data-table__th.co-data-table__th--sticky,.co-data-table__td.co-data-table__td--sticky{overflow:visible}.co-data-table__td--sticky::after,.co-data-table__th--sticky::after{content:'';position:absolute;top:0;right:-4px;bottom:0;width:4px;pointer-events:none;opacity:0;background:linear-gradient(to right, var(--co-color-opacity-negro-8), transparent);transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-data-table__resize-handle{position:absolute;top:0;right:-2px;width:5px;height:100%;cursor:col-resize;z-index:1}.co-data-table__resize-handle:hover{background:var(--co-color-primary-azul);opacity:0.3}.co-data-table__resize-handle--active{background:var(--co-color-primary-azul);opacity:0.3}.co-data-table__row{height:48px;transition:background-color var(--co-motion-duration-fast) var(--co-motion-ease-out);content-visibility:auto;contain-intrinsic-size:auto 48px}.co-data-table__row:hover{background:var(--co-semantic-surface-hover)}.co-data-table__row--selected{background:var(--co-color-opacity-negro-4)}.co-data-table__row--selected:hover{background:var(--co-color-opacity-negro-8)}.co-data-table__td{height:48px;padding:0 var(--co-spacing-md);background:inherit;border-bottom:1px solid color-mix(in srgb, var(--co-semantic-border-default) 75%, transparent);border-right:1px solid color-mix(in srgb, var(--co-semantic-border-default) 75%, transparent);vertical-align:middle;font-size:var(--co-font-size-12);font-weight:var(--co-font-weight-medium);color:var(--co-semantic-text-default);letter-spacing:var(--co-font-letter-spacing-body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.co-data-table__td:last-child{border-right:none}.co-data-table__th--align-center,.co-data-table__td--align-center{text-align:center}.co-data-table__th--align-right,.co-data-table__td--align-right{text-align:right}.co-data-table__cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.co-data-table--empty .co-data-table__scroll{flex:0 0 auto;overflow:hidden}.co-data-table__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;flex:1;min-height:280px;padding:var(--co-spacing-3xl) var(--co-spacing-lg);gap:var(--co-spacing-lg) }.co-data-table__empty-icon{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:var(--co-border-radius-full);background:var(--co-semantic-surface-muted);color:var(--co-semantic-text-secondary);margin-bottom:var(--co-spacing-sm)}.co-data-table__empty-title{font-size:var(--co-font-size-24);font-weight:var(--co-font-weight-medium, 500);line-height:1.25;color:var(--co-semantic-text-default);letter-spacing:-0.03em}.co-data-table__empty-message{font-size:var(--co-font-size-14);font-weight:400;color:var(--co-semantic-text-secondary);margin:0;max-width:538px ;line-height:1.25}.co-data-table__empty-action{margin-top:var(--co-spacing-md);display:inline-flex}.co-data-table__empty-action:empty{display:none}.co-data-table__skeleton{height:14px;border-radius:var(--co-border-radius-xxs);background:linear-gradient( 90deg, var(--co-semantic-surface-secondary) 0%, var(--co-semantic-surface-hover, rgba(0, 0, 0, 0.04)) 50%, var(--co-semantic-surface-secondary) 100% );background-size:200% 100%;animation:co-dt-shimmer 1.2s ease-in-out infinite;width:70%}.co-data-table__skeleton--checkbox{width:16px;height:16px;margin:0 auto}@keyframes co-dt-shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}@media (prefers-reduced-motion: reduce){.co-data-table__skeleton{animation:none}}.co-data-table__row--skeleton{pointer-events:none;content-visibility:visible}.co-data-table__row--flash-create{animation:co-dt-flash-create 1s ease-out}.co-data-table__row--flash-update{animation:co-dt-flash-update 1s ease-out}.co-data-table__row--flash-delete{animation:co-dt-flash-delete 0.5s ease-out forwards}@keyframes co-dt-flash-create{0%{background-color:rgba(2, 162, 112, 0.15)}100%{background-color:transparent}}@keyframes co-dt-flash-update{0%{background-color:rgba(37, 99, 235, 0.15)}100%{background-color:transparent}}@keyframes co-dt-flash-delete{0%{opacity:1;background-color:rgba(170, 46, 27, 0.1)}100%{opacity:0;height:0;padding:0;overflow:hidden}}`;
6
44
 
7
45
  const CoDataTable = class {
8
46
  constructor(hostRef) {
@@ -64,6 +102,17 @@ const CoDataTable = class {
64
102
  this.resizingColumn = null;
65
103
  this.resizeStartX = 0;
66
104
  this.resizeStartWidth = 0;
105
+ // Edge auto-scroll drag state — plain fields (not @State): they mutate per
106
+ // frame and the re-render is already driven by the columnWidths Map swap.
107
+ this.resizeEdgeExtra = 0;
108
+ this.resizeLastClientX = 0;
109
+ this.resizeAutoScrollRaf = 0;
110
+ // Scroll owed to the auto-scroll growth, applied in componentDidRender —
111
+ // NEVER in the tick itself: the @State render is async, so at max scroll a
112
+ // same-tick scrollLeft advance clamps against the not-yet-grown table and
113
+ // the scroll falls permanently behind the width (boundary drifts off the
114
+ // pointer). Deferring to didRender lands width + scroll in the SAME paint.
115
+ this.resizePendingScroll = 0;
67
116
  // Swallows the click the browser synthesizes right after a resize drag ends.
68
117
  // The resize handle lives inside the sortable <th>, so without this a resize
69
118
  // would bubble to the header's onClick and trigger a sort (+ a full refetch).
@@ -125,6 +174,18 @@ const CoDataTable = class {
125
174
  this.parseFilteredFields();
126
175
  this.parseIndirectFields();
127
176
  }
177
+ componentDidRender() {
178
+ // Auto-scroll parity: the resize tick grew the column (async @State render)
179
+ // and owes the container the same px of scroll. Here the DOM already has
180
+ // the new table width, so the advance can't clamp — width and scroll land
181
+ // in the same paint and the drag boundary stays pinned under the pointer.
182
+ if (this.resizePendingScroll) {
183
+ const scrollEl = this.el.querySelector('.co-data-table__scroll');
184
+ if (scrollEl)
185
+ scrollEl.scrollLeft += this.resizePendingScroll;
186
+ this.resizePendingScroll = 0;
187
+ }
188
+ }
128
189
  /* ─── SORT HANDLERS ─────────────────────────────────────── */
129
190
  handleSort(field) {
130
191
  // Ignore the click synthesized by a resize drag that ended on this <th>.
@@ -176,16 +237,74 @@ const CoDataTable = class {
176
237
  this.resizingColumn = field;
177
238
  this.resizeStartX = e.clientX;
178
239
  this.resizeStartWidth = this.columnWidths.get(field) || 150;
240
+ this.resizeEdgeExtra = 0;
241
+ this.resizeLastClientX = e.clientX;
242
+ const scrollEl = this.el.querySelector('.co-data-table__scroll');
243
+ const columnMinWidth = () => { var _a; return ((_a = this.parsedColumns.find(c => c.field === this.resizingColumn)) === null || _a === void 0 ? void 0 : _a.minWidth) || 80; };
244
+ const applyWidth = () => {
245
+ const column = this.resizingColumn;
246
+ if (!column)
247
+ return 0;
248
+ const newWidth = resizeWidth({
249
+ startWidth: this.resizeStartWidth,
250
+ minWidth: columnMinWidth(),
251
+ pointerDelta: this.resizeLastClientX - this.resizeStartX,
252
+ autoScrollExtra: this.resizeEdgeExtra,
253
+ });
254
+ this.columnWidths = new Map(this.columnWidths.set(column, newWidth));
255
+ return newWidth;
256
+ };
257
+ // Growing a column past the viewport needs the container to CHASE the
258
+ // pointer: while it hovers the edge zone, each frame adds `speed` px to the
259
+ // width AND owes the container the same px of scroll, so the boundary stays
260
+ // pinned under the pointer instead of dying at the viewport edge (the old
261
+ // drag forced release → scrollbar → drag again to keep growing). The owed
262
+ // scroll is NOT applied here — see resizePendingScroll/componentDidRender:
263
+ // the @State render is async, so a same-tick scrollLeft advance would clamp
264
+ // against the not-yet-grown table and fall permanently behind the width.
265
+ const autoScrollTick = () => {
266
+ this.resizeAutoScrollRaf = 0;
267
+ const column = this.resizingColumn;
268
+ if (!column || !scrollEl)
269
+ return;
270
+ const rect = scrollEl.getBoundingClientRect();
271
+ const speed = edgeAutoScrollSpeed({
272
+ pointerX: this.resizeLastClientX,
273
+ containerLeft: rect.left,
274
+ containerRight: rect.right,
275
+ });
276
+ if (!speed)
277
+ return;
278
+ // Shrinking at the left edge: once the column bottoms out at minWidth
279
+ // stop the loop — accumulating further negative extra would rubber-band
280
+ // the next rightward drag.
281
+ if (speed < 0 && (this.columnWidths.get(column) || this.resizeStartWidth) <= columnMinWidth())
282
+ return;
283
+ this.resizeEdgeExtra += speed;
284
+ this.resizePendingScroll += speed;
285
+ // applyWidth swaps the Map reference → guarantees a render → guarantees
286
+ // componentDidRender flushes the pending scroll right after the paint
287
+ // that shows the wider table.
288
+ applyWidth();
289
+ this.resizeAutoScrollRaf = requestAnimationFrame(autoScrollTick);
290
+ };
179
291
  const onMouseMove = (ev) => {
180
- var _a;
181
292
  if (!this.resizingColumn)
182
293
  return;
183
- const diff = ev.clientX - this.resizeStartX;
184
- const minWidth = ((_a = this.parsedColumns.find(c => c.field === this.resizingColumn)) === null || _a === void 0 ? void 0 : _a.minWidth) || 80;
185
- const newWidth = Math.max(minWidth, this.resizeStartWidth + diff);
186
- this.columnWidths = new Map(this.columnWidths.set(this.resizingColumn, newWidth));
294
+ this.resizeLastClientX = ev.clientX;
295
+ applyWidth();
296
+ if (!this.resizeAutoScrollRaf)
297
+ this.resizeAutoScrollRaf = requestAnimationFrame(autoScrollTick);
187
298
  };
188
299
  const onMouseUp = () => {
300
+ if (this.resizeAutoScrollRaf) {
301
+ cancelAnimationFrame(this.resizeAutoScrollRaf);
302
+ this.resizeAutoScrollRaf = 0;
303
+ }
304
+ // resizePendingScroll is NOT zeroed here: it is only ever nonzero with a
305
+ // render already in flight (each tick increments it right before
306
+ // applyWidth), so its flush in componentDidRender is the legitimate tail
307
+ // of the drag — zeroing it would strand the boundary short of the pointer.
189
308
  if (this.resizingColumn) {
190
309
  const width = this.columnWidths.get(this.resizingColumn) || 150;
191
310
  this.coColumnResize.emit({ field: this.resizingColumn, width });
@@ -351,12 +470,12 @@ const CoDataTable = class {
351
470
  : index.h("slot", { name: "empty-action" }))));
352
471
  }
353
472
  render() {
354
- return (index.h("div", { key: 'baf9a797b25e76d4b054513b3e4c90aacce24a80', class: {
473
+ return (index.h("div", { key: '6ba1f3bb555252c55246c8af73b8ce08610e93b0', class: {
355
474
  'co-data-table': true,
356
475
  'co-data-table--resizing': this.resizingColumn !== null,
357
476
  'co-data-table--loading': this.loading,
358
477
  'co-data-table--empty': !this.loading && this.parsedRows.length === 0,
359
- } }, index.h("div", { key: '132100357cb7fed5d27054e2e3a66c218dddad9d', class: "co-data-table__scroll" }, index.h("table", { key: '0e183744b6f1c7c44ec8dd741eb8cdbbbdf5b638', class: "co-data-table__table", style: { width: `${this.getTableWidth()}px`, minWidth: '100%' } }, this.renderColgroup(), this.renderHeader(), index.h("slot", { key: 'c3c58515f63fdfdfa760ba483f00c686863ddb20' }), this.loading ? this.renderSkeletonBody() : null)), this.renderEmpty()));
478
+ } }, index.h("div", { key: '69bc61a98f48ac06006d9b5ab132abf15bbeeb64', class: "co-data-table__scroll" }, index.h("table", { key: 'bc7627b050900ca6c8887981e47368bfb7f181ea', class: "co-data-table__table", style: { width: `${this.getTableWidth()}px`, minWidth: '100%' } }, this.renderColgroup(), this.renderHeader(), index.h("slot", { key: 'fc98863e680b660844ec968af6ebc645160ee32e' }), this.loading ? this.renderSkeletonBody() : null)), this.renderEmpty()));
360
479
  }
361
480
  get el() { return index.getElement(this); }
362
481
  static get watchers() { return {
@@ -33,7 +33,7 @@ const CoDateRange = class {
33
33
  }
34
34
  }
35
35
  render() {
36
- return (index.h("co-date-range-picker", { key: '4c6ae7f2b043b03a896c94411ffb8dcd6b375ffc', value: this.value, label: this.label, placeholder: this.placeholder, disabled: this.disabled, clearable: this.clearable, presets: this.presets, helperText: this.helperText, locale: this.locale, applyLabel: this.applyLabel, clearLabel: this.clearLabel, onCoApply: this.handleApply, onCoClear: () => this.coClear.emit() }));
36
+ return (index.h("co-date-range-picker", { key: 'c72ef0bfac5b2fb196286b77c39c84cf1d72e06d', value: this.value, label: this.label, placeholder: this.placeholder, disabled: this.disabled, clearable: this.clearable, presets: this.presets, helperText: this.helperText, locale: this.locale, applyLabel: this.applyLabel, clearLabel: this.clearLabel, onCoApply: this.handleApply, onCoClear: () => this.coClear.emit() }));
37
37
  }
38
38
  get el() { return index.getElement(this); }
39
39
  };
@@ -347,10 +347,10 @@ const CoDateTimePicker = class {
347
347
  render() {
348
348
  var _a;
349
349
  const t = dateI18n.getDateStrings(this.locale);
350
- return (index.h("div", { key: '60bb94ab59fc09e96a930a5a615671e8f3eb1baf', class: "co-date-time-picker", onKeyDown: this.onRootKeyDown }, this.renderLabel(), this.isMobile ? ([
350
+ return (index.h("div", { key: '8ccc0e31d77dfce13ab5fdd27294d6a93944f5ae', class: "co-date-time-picker", onKeyDown: this.onRootKeyDown }, this.renderLabel(), this.isMobile ? ([
351
351
  index.h("div", { class: "co-date-time-picker__trigger", onClick: () => !this.disabled && !this.readonly && this.setOpen(true) }, this.renderTrigger(t)),
352
352
  index.h("co-drawer", { position: "bottom", open: this.open, heading: t.selectDateTime, onCoClose: () => this.setOpen(false) }, index.h("div", { class: "co-date-time-picker__sheet" }, this.renderPanel(t, true))),
353
- ]) : (index.h("co-popover", { ref: (el) => (this.popoverEl = el), open: this.open, placement: this.placement, offset: 4, closeOnEscape: false, onCoOpen: this.onPopoverOpen, onCoClose: this.onPopoverClose }, index.h("div", { slot: "trigger", class: "co-date-time-picker__trigger" }, this.renderTrigger(t)), this.open && this.renderPanel(t, false))), this.name && index.h("input", { key: '820935f800a6a1ecb036751e9267edfdad8f574d', type: "hidden", name: this.name, value: (_a = this.value) !== null && _a !== void 0 ? _a : '' }), this.renderHelper()));
353
+ ]) : (index.h("co-popover", { ref: (el) => (this.popoverEl = el), open: this.open, placement: this.placement, offset: 4, closeOnEscape: false, onCoOpen: this.onPopoverOpen, onCoClose: this.onPopoverClose }, index.h("div", { slot: "trigger", class: "co-date-time-picker__trigger" }, this.renderTrigger(t)), this.open && this.renderPanel(t, false))), this.name && index.h("input", { key: 'c54ad2d2ebeccc0f6f4c836d25b5de0bee6376fc', type: "hidden", name: this.name, value: (_a = this.value) !== null && _a !== void 0 ? _a : '' }), this.renderHelper()));
354
354
  }
355
355
  get el() { return index.getElement(this); }
356
356
  static get watchers() { return {
@@ -66,7 +66,7 @@ const CoDriveCard = class {
66
66
  }
67
67
  render() {
68
68
  const isFile = this.variant === 'file';
69
- return (index.h("div", { key: '62056a659681c95fb1bdd8dc471b8543581f1662', class: {
69
+ return (index.h("div", { key: 'fef9abf2a536fe08fa6c65fcc4e37955c5bc5373', class: {
70
70
  'co-drive-card': true,
71
71
  [`co-drive-card--${this.variant}`]: true,
72
72
  [`co-drive-card--${this.density}`]: true,
@@ -55,7 +55,7 @@ const CoDropZone = class {
55
55
  this.coDragStateChange.emit(next);
56
56
  }
57
57
  render() {
58
- return (index.h(index.Host, { key: 'a5bf9dd9d62d7d7d2ec1b0d277a267b721ea430d', class: { 'co-drop-zone': true, 'co-drop-zone--active': this.active }, part: "host", style: { '--co-drop-zone-accent': this.accent }, onDragEnter: this.handleDragEnter, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, onDrop: this.handleDrop }, index.h("slot", { key: '609343dd414c752617e50f73f36f55d4edfc773f' }), this.active && (index.h("div", { key: '03f38f63b2cf7d9a166d31541f1c21bb2953c80f', class: "co-drop-zone__overlay", part: "overlay" }, index.h("div", { key: '7b8cd9daa821d224e40507646a166190ea5f917f', class: "co-drop-zone__badge", part: "badge" }, index.h("co-icon", { key: 'f5f201175801233c4d32772dab7f947c8886ca34', name: this.icon, size: 34 })), index.h("span", { key: '766d7defd61ab35ab07b6b51c3fe177eb3afee2e', class: "co-drop-zone__label", part: "label" }, this.label)))));
58
+ return (index.h(index.Host, { key: '95256dff45bfd8c003a8c4e81aa221873b850df3', class: { 'co-drop-zone': true, 'co-drop-zone--active': this.active }, part: "host", style: { '--co-drop-zone-accent': this.accent }, onDragEnter: this.handleDragEnter, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, onDrop: this.handleDrop }, index.h("slot", { key: '4a5841592fdb7cba17a51eb49bf617f1c5c88a03' }), this.active && (index.h("div", { key: '80d179ef44a5c5fd6294c1252fd17c35ac1e6f28', class: "co-drop-zone__overlay", part: "overlay" }, index.h("div", { key: '32fcd18641cd0d766273ce2390d83460347cb358', class: "co-drop-zone__badge", part: "badge" }, index.h("co-icon", { key: 'c193069fd16d3935c037f6ce69606bc9342d9ad8', name: this.icon, size: 34 })), index.h("span", { key: 'c6827e6f837f3707778c3b6b330b29907840e46c', class: "co-drop-zone__label", part: "label" }, this.label)))));
59
59
  }
60
60
  };
61
61
  CoDropZone.style = coDropZoneCss();
@@ -15,11 +15,11 @@ const CoEmptyState = class {
15
15
  render() {
16
16
  var _a;
17
17
  const iconWeight = (_a = this.iconWeight) !== null && _a !== void 0 ? _a : (this.variant === 'card' ? 'regular' : 'light');
18
- return (index.h("div", { key: 'fd0802c7ab379e2ff69d181a89e82f9af50c7eb7', class: {
18
+ return (index.h("div", { key: '4011b99b59671ad38cf5c90b5adc1b42a0353817', class: {
19
19
  'co-empty-state': true,
20
20
  [`co-empty-state--${this.variant}`]: true,
21
21
  [`co-empty-state--${this.size}`]: true,
22
- }, part: "empty-state" }, this.icon && (index.h("div", { key: '0e37fbc4e087c5bc5ac69eee01cecd9fcde09f49', class: "co-empty-state__icon" }, index.h("co-icon", { key: '0e75bba07af87b883e7cb236800282af51c4b84f', name: this.icon, size: 40, weight: iconWeight }))), this.heading && (index.h("div", { key: '69ea3039e73b48f77fa6e58d673802d34506c4ef', class: "co-empty-state__heading" }, this.heading)), this.description && (index.h("div", { key: '223d8321af110cbde025a59e3677338abee0cc33', class: "co-empty-state__description" }, this.description)), index.h("div", { key: 'bfba2044eacf53aae426fb99dc1f2d5314a0b8e6', class: "co-empty-state__actions" }, index.h("slot", { key: 'b22df42a753f9ca5797b373a611421e07881d3e1' }))));
22
+ }, part: "empty-state" }, this.icon && (index.h("div", { key: 'a6899c6690bb8b9fcdd858fb63a30644b7094672', class: "co-empty-state__icon" }, index.h("co-icon", { key: '312945448815ae5be78074e03840909b04e5f3c4', name: this.icon, size: 40, weight: iconWeight }))), this.heading && (index.h("div", { key: '7fd7fdb5fc4922bf2c7d6aab5200bc80947c20ba', class: "co-empty-state__heading" }, this.heading)), this.description && (index.h("div", { key: 'da5cddc1aa7afc32ee30f59293f66f1e30507614', class: "co-empty-state__description" }, this.description)), index.h("div", { key: '940a1b9ffa4022a3ee2623b7a6892000c63abfd4', class: "co-empty-state__actions" }, index.h("slot", { key: 'b6b9fbd93e79890193500d5c3bbbe72d32fa1e20' }))));
23
23
  }
24
24
  };
25
25
  CoEmptyState.style = coEmptyStateCss();
@@ -359,10 +359,10 @@ const CoEventCalendar = class {
359
359
  const t = dateI18n.getDateStrings(this.locale);
360
360
  const views = this.viewsList;
361
361
  const a = dates.parseISO(this.anchor);
362
- return (index.h("div", { key: '5fc690577299cbb5d2e4e75d41279ee6f49b9e80', class: "cal" }, index.h("div", { key: '55b342eacfa324b5eb3e1c819948aba5783e028e', class: "cal__toolbar", part: "toolbar" }, index.h("button", { key: '7e190cb82abe886d5740b314aeacc136732e0538', type: "button", class: "cal__btn", onClick: this.goToday }, (_a = t.today) !== null && _a !== void 0 ? _a : 'Today'), index.h("div", { key: '0d12537595e3fb72a7214e968cd952ce68f09b90', class: "cal__title-group" }, index.h("button", { key: '7d658998a4df6144b9b7752103cae448eb9bea6e', type: "button", class: "cal__icon-btn", "aria-label": t.prevMonth, onClick: this.goPrev }, index.h("co-icon", { key: '4b793fef900dfd76f1356b1e78c7f5ed10b3da4f', name: "caret-left", size: 16 })), index.h("h2", { key: '0461afb4b372f7c95b528f5746b2ba6008181dcc', class: "cal__title", "aria-live": "polite" }, this.title()), index.h("button", { key: '7b169bb04482f6049f4af0c19cf8bf86a962dabf', type: "button", class: "cal__icon-btn", "aria-label": t.nextMonth, onClick: this.goNext }, index.h("co-icon", { key: 'b426d015251b5a476e2cd34b01d1c7d5d92be71d', name: "caret-right", size: 16 }))), views.length > 1 ? (index.h("div", { class: "cal__views", role: "tablist" }, views.map((v) => {
362
+ return (index.h("div", { key: 'eb07a859a28ba0d09a3880a77a5b122c1ae063fb', class: "cal" }, index.h("div", { key: '693683cddfad9a1aed4be0bf3651cfff8b2ba1c7', class: "cal__toolbar", part: "toolbar" }, index.h("button", { key: '48f8fc44179b2950ea0498205f8f8a5d91d33e04', type: "button", class: "cal__btn", onClick: this.goToday }, (_a = t.today) !== null && _a !== void 0 ? _a : 'Today'), index.h("div", { key: '387a1cee67da85bf72e791ca2adc67f7482eb629', class: "cal__title-group" }, index.h("button", { key: '24d316422fb98f7d7c66ed6154a90f54a56cab12', type: "button", class: "cal__icon-btn", "aria-label": t.prevMonth, onClick: this.goPrev }, index.h("co-icon", { key: 'd0c575fce693943e91de8c578bb3371bfdb6425a', name: "caret-left", size: 16 })), index.h("h2", { key: '1bc26dd2c49d67854a1fc922cffc519485437f6a', class: "cal__title", "aria-live": "polite" }, this.title()), index.h("button", { key: '0e152157ed337011d00699b450b6a5cd10016b97', type: "button", class: "cal__icon-btn", "aria-label": t.nextMonth, onClick: this.goNext }, index.h("co-icon", { key: 'c821a72abc278e325cadfeae54b4d2b05984d3ba', name: "caret-right", size: 16 }))), views.length > 1 ? (index.h("div", { class: "cal__views", role: "tablist" }, views.map((v) => {
363
363
  var _a;
364
364
  return (index.h("button", { type: "button", role: "tab", "aria-selected": this.view === v ? 'true' : 'false', class: { 'cal__view-btn': true, 'cal__view-btn--active': this.view === v }, onClick: () => this.switchView(v) }, (_a = t[v]) !== null && _a !== void 0 ? _a : v));
365
- }))) : (index.h("span", { class: "cal__views-spacer" }))), index.h("div", { key: '417cc54fe753d802f30d13992fef86d055c823a3', class: "cal__body", part: "body" }, this.view === 'month' ? (index.h("co-calendar-month", { loading: this.loading, events: this.normalized, year: a.year, month: a.month, locale: this.locale, firstDayOfWeek: this.firstDayOfWeek, timeZone: this.tz, minDate: this.minDate, maxDate: this.maxDate, editable: this.editable, selectable: this.selectable, maxLanes: this.dayMaxEvents, onCoDaySelect: this.handleDaySelect, onCoEventClick: this.handleEventClick, onCoEventDblClick: this.handleEventDblClick, onCoEventDrop: this.handleEventDrop, onCoMoreClick: this.handleMoreClick })) : this.view === 'week' || this.view === 'day' ? (index.h("co-calendar-timegrid", { loading: this.loading, events: this.normalized, dates: this.visibleDates, locale: this.locale, timeZone: this.tz, editable: this.editable, selectable: this.selectable, minDate: this.minDate, maxDate: this.maxDate, onCoRangeSelect: this.handleRangeSelect, onCoEventClick: this.handleEventClick, onCoEventDblClick: this.handleEventDblClick, onCoEventDrop: this.handleEventDrop, defaultDurationMinutes: this.defaultDurationMinutes, allDaySlot: this.allDaySlot, minTime: this.minTime, maxTime: this.maxTime, slotMinutes: this.slotMinutes, snapMinutes: this.snapMinutes, scrollTime: this.scrollTime, nowIndicator: this.nowIndicator })) : (index.h("div", { class: "cal__placeholder" }, index.h("co-icon", { name: "calendar-dots", size: 32 }), index.h("p", null, `${this.view} view — coming soon`))))));
365
+ }))) : (index.h("span", { class: "cal__views-spacer" }))), index.h("div", { key: '2472ed0d314a489f41f2f46dc7988ce8860a64c2', class: "cal__body", part: "body" }, this.view === 'month' ? (index.h("co-calendar-month", { loading: this.loading, events: this.normalized, year: a.year, month: a.month, locale: this.locale, firstDayOfWeek: this.firstDayOfWeek, timeZone: this.tz, minDate: this.minDate, maxDate: this.maxDate, editable: this.editable, selectable: this.selectable, maxLanes: this.dayMaxEvents, onCoDaySelect: this.handleDaySelect, onCoEventClick: this.handleEventClick, onCoEventDblClick: this.handleEventDblClick, onCoEventDrop: this.handleEventDrop, onCoMoreClick: this.handleMoreClick })) : this.view === 'week' || this.view === 'day' ? (index.h("co-calendar-timegrid", { loading: this.loading, events: this.normalized, dates: this.visibleDates, locale: this.locale, timeZone: this.tz, editable: this.editable, selectable: this.selectable, minDate: this.minDate, maxDate: this.maxDate, onCoRangeSelect: this.handleRangeSelect, onCoEventClick: this.handleEventClick, onCoEventDblClick: this.handleEventDblClick, onCoEventDrop: this.handleEventDrop, defaultDurationMinutes: this.defaultDurationMinutes, allDaySlot: this.allDaySlot, minTime: this.minTime, maxTime: this.maxTime, slotMinutes: this.slotMinutes, snapMinutes: this.snapMinutes, scrollTime: this.scrollTime, nowIndicator: this.nowIndicator })) : (index.h("div", { class: "cal__placeholder" }, index.h("co-icon", { name: "calendar-dots", size: 32 }), index.h("p", null, `${this.view} view — coming soon`))))));
366
366
  }
367
367
  get el() { return index.getElement(this); }
368
368
  static get watchers() { return {
@@ -115,7 +115,7 @@ const CoEventPopover = class {
115
115
  this.coClose.emit();
116
116
  }
117
117
  render() {
118
- return (index.h(index.Host, { key: '0d80c0a501c72d7428c85ba44075a4c9cab05f6f' }, index.h("div", { key: 'a772efeb2c49d71f42b53f63ba56858019fcfdcd', class: "pop", popover: "manual", role: "dialog", "aria-modal": "false", "aria-label": this.popoverLabel, tabIndex: -1, ref: (el) => (this.panelEl = el) }, index.h("div", { key: '8eff11fdc9ae6ebd0de3967dc3a6522cd159bfa0', class: "pop__actions", part: "actions" }, index.h("slot", { key: 'b9c5c598356d8acc6b0cf135e3c5347de937a33b', name: "actions" })), index.h("div", { key: '0e1f10c5727d66170d9c1a5b8137ba48c61a867b', class: "pop__head" }, this.dot && index.h("span", { key: '78ab616e697fb9e4cdc354e791a4e2184ea20123', class: "pop__dot", style: this.color ? { background: this.color } : {} }), index.h("div", { key: '1abdeb6c16aa3daf5adfb652f4f2ede5e0abb891', class: "pop__body", part: "body" }, index.h("slot", { key: 'f28a87f62acaa8c617cf24f264462b525065ecbc' }))))));
118
+ return (index.h(index.Host, { key: '9d9ef1be12cef8d6703df32d7e768bd4b33f5894' }, index.h("div", { key: 'ea63b1ab102045fc94c9d095cfcace4975f3fa70', class: "pop", popover: "manual", role: "dialog", "aria-modal": "false", "aria-label": this.popoverLabel, tabIndex: -1, ref: (el) => (this.panelEl = el) }, index.h("div", { key: 'c7f1c90eadd6fad31c60e6ac9878d7a5aa473ba0', class: "pop__actions", part: "actions" }, index.h("slot", { key: '84dd97edf67abeabba540914167b5bc3873587b3', name: "actions" })), index.h("div", { key: '41b360d62f4e61826a67a3445a0554a29a80d58a', class: "pop__head" }, this.dot && index.h("span", { key: '7b5d2f30b23464a73164f056719ae65d28786696', class: "pop__dot", style: this.color ? { background: this.color } : {} }), index.h("div", { key: 'f9ef28f360297b6e145929ecbbcc4145b1ea855c', class: "pop__body", part: "body" }, index.h("slot", { key: '9029fc9c2c99a8202185a21f1a0212145b61334b' }))))));
119
119
  }
120
120
  get el() { return index.getElement(this); }
121
121
  static get watchers() { return {
@@ -2,7 +2,7 @@
2
2
 
3
3
  var index = require('./index-DK-2Lzmf.js');
4
4
 
5
- const coFabCss = () => `:host{display:inline-flex;font-family:var(--co-font-family-primary);line-height:1}.co-fab{display:inline-flex;align-items:center;justify-content:center;gap:var(--co-spacing-sm2);border:none;border-radius:var(--co-border-radius-full);cursor:pointer;font-family:inherit;font-weight:500;white-space:nowrap;box-sizing:border-box;transition:background var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out);box-shadow:0 4px 12px rgba(31, 28, 27, 0.15)}.co-fab--xl{--co-fab-size:64px;width:64px;height:64px;font-size:var(--co-font-size-16)}.co-fab--l{--co-fab-size:56px;width:56px;height:56px;font-size:var(--co-font-size-16)}.co-fab--m{--co-fab-size:48px;width:48px;height:48px;font-size:var(--co-font-size-14)}.co-fab--s{--co-fab-size:40px;width:40px;height:40px;font-size:var(--co-font-size-14)}.co-fab--extended{width:auto;border-radius:var(--co-border-radius-lg)}.co-fab--extended.co-fab--xl{padding:0 var(--co-spacing-xl)}.co-fab--extended.co-fab--l{padding:0 var(--co-spacing-xl)}.co-fab--extended.co-fab--m{padding:0 var(--co-spacing-lg)}.co-fab--extended.co-fab--s{padding:0 var(--co-spacing-md)}.co-fab--hover-expand{justify-content:flex-start;overflow:hidden;transition:width var(--co-motion-duration-slow) var(--co-motion-ease-in-out), background var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-fab--hover-expand.co-fab--xl{padding:0 20px}.co-fab--hover-expand.co-fab--l{padding:0 16px}.co-fab--hover-expand.co-fab--m{padding:0 14px}.co-fab--hover-expand.co-fab--s{padding:0 11px}.co-fab--hover-expand:hover:not(:disabled),.co-fab--hover-expand:focus-visible{width:calc(var(--co-fab-size) + var(--co-spacing-sm2) + var(--co-fab-label-w, 0px));transition:width var(--co-motion-duration-slower) var(--co-motion-ease-spring), background var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-fab--hover-expand co-icon{flex-shrink:0;transition:transform var(--co-motion-duration-slower) var(--co-motion-ease-spring)}.co-fab--hover-expand:hover:not(:disabled) co-icon,.co-fab--hover-expand:focus-visible co-icon{transform:rotate(90deg)}.co-fab--hover-expand .co-fab__label{flex-shrink:0;opacity:0;transform:translateX(-6px);transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-fab--hover-expand:hover:not(:disabled) .co-fab__label,.co-fab--hover-expand:focus-visible .co-fab__label{opacity:1;transform:translateX(0);transition:opacity var(--co-motion-duration-base) var(--co-motion-ease-out) 0.1s, transform var(--co-motion-duration-slow) var(--co-motion-ease-spring) 0.1s}@media (prefers-reduced-motion: reduce){.co-fab--hover-expand:hover:not(:disabled) .co-fab__label,.co-fab--hover-expand:focus-visible .co-fab__label{transition-delay:0s}}.co-fab--primary{background:var(--co-fab-bg, var(--co-color-base-negro, #1f1c1b));color:var(--co-semantic-on-primary)}.co-fab--primary:hover:not(:disabled){box-shadow:0 6px 20px rgba(31, 28, 27, 0.2);transform:translateY(-1px)}.co-fab--secondary{background:var(--co-semantic-surface-secondary);color:var(--co-semantic-text-default);border:1px solid var(--co-semantic-border-subtle)}.co-fab--secondary:hover:not(:disabled){background:var(--co-semantic-surface-hover)}.co-fab--stroke{background:transparent;color:var(--co-semantic-text-default);border:1px solid var(--co-semantic-border-default)}.co-fab--stroke:hover:not(:disabled){background:var(--co-semantic-surface-hover)}.co-fab:active:not(:disabled){transform:translateY(0) scale(0.96)}.co-fab--disabled{opacity:0.4;cursor:not-allowed;box-shadow:none}.co-fab--bottom-right{position:fixed;bottom:24px;right:24px;z-index:1000}.co-fab--bottom-left{position:fixed;bottom:24px;left:24px;z-index:1000}.co-fab--top-right{position:fixed;top:24px;right:24px;z-index:1000}.co-fab--top-left{position:fixed;top:24px;left:24px;z-index:1000}.co-fab__label{line-height:1}`;
5
+ const coFabCss = () => `:host{display:inline-flex;font-family:var(--co-font-family-primary);line-height:1}.co-fab{display:inline-flex;align-items:center;justify-content:center;gap:var(--co-spacing-sm2);border:none;border-radius:var(--co-border-radius-full);cursor:pointer;font-family:inherit;font-weight:500;white-space:nowrap;box-sizing:border-box;transition:background var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out);box-shadow:0 4px 12px rgba(31, 28, 27, 0.15)}.co-fab--xl{--co-fab-size:64px;width:64px;height:64px;font-size:var(--co-font-size-16)}.co-fab--l{--co-fab-size:56px;width:56px;height:56px;font-size:var(--co-font-size-16)}.co-fab--m{--co-fab-size:48px;width:48px;height:48px;font-size:var(--co-font-size-14)}.co-fab--s{--co-fab-size:40px;width:40px;height:40px;font-size:var(--co-font-size-14)}.co-fab--extended{width:auto;border-radius:var(--co-border-radius-lg)}.co-fab--extended.co-fab--xl{padding:0 var(--co-spacing-xl)}.co-fab--extended.co-fab--l{padding:0 var(--co-spacing-xl)}.co-fab--extended.co-fab--m{padding:0 var(--co-spacing-lg)}.co-fab--extended.co-fab--s{padding:0 var(--co-spacing-md)}.co-fab--hover-expand{justify-content:flex-start;overflow:hidden;transition:width var(--co-motion-duration-slow) var(--co-motion-ease-in-out), background var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-fab--hover-expand.co-fab--xl{padding:0 20px}.co-fab--hover-expand.co-fab--l{padding:0 16px}.co-fab--hover-expand.co-fab--m{padding:0 14px}.co-fab--hover-expand.co-fab--s{padding:0 11px}.co-fab--hover-expand:hover:not(:disabled),.co-fab--hover-expand:focus-visible{width:calc(var(--co-fab-size) + var(--co-spacing-sm2) + var(--co-fab-label-w, 0px));transition:width var(--co-motion-duration-slower) var(--co-motion-ease-spring), background var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-fab--hover-expand co-icon{flex-shrink:0;transition:transform var(--co-motion-duration-slower) var(--co-motion-ease-spring)}.co-fab--hover-expand:hover:not(:disabled) co-icon,.co-fab--hover-expand:focus-visible co-icon{transform:rotate(90deg)}.co-fab--hover-expand .co-fab__label{flex-shrink:0;opacity:0;transform:translateX(-6px);transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-fab--hover-expand:hover:not(:disabled) .co-fab__label,.co-fab--hover-expand:focus-visible .co-fab__label{opacity:1;transform:translateX(0);transition:opacity var(--co-motion-duration-base) var(--co-motion-ease-out) 0.1s, transform var(--co-motion-duration-slow) var(--co-motion-ease-spring) 0.1s}@media (prefers-reduced-motion: reduce){.co-fab--hover-expand:hover:not(:disabled) .co-fab__label,.co-fab--hover-expand:focus-visible .co-fab__label{transition-delay:0s}}.co-fab--primary{background:var(--co-fab-bg, var(--co-color-base-negro, #1f1c1b));color:var(--co-semantic-on-primary)}.co-fab--primary:hover:not(:disabled){box-shadow:0 6px 20px rgba(31, 28, 27, 0.2);transform:translateY(-1px)}.co-fab--secondary{background:var(--co-semantic-surface-secondary);color:var(--co-semantic-text-default);border:1px solid var(--co-semantic-border-subtle)}.co-fab--secondary:hover:not(:disabled){background:var(--co-semantic-surface-hover)}.co-fab--stroke{background:transparent;color:var(--co-semantic-text-default);border:1px solid var(--co-semantic-border-default)}.co-fab--stroke:hover:not(:disabled){background:var(--co-semantic-surface-hover)}.co-fab:active:not(:disabled){transform:translateY(0) scale(0.96)}.co-fab--disabled{opacity:0.4;cursor:not-allowed;box-shadow:none}.co-fab--bottom-right{position:fixed;bottom:var(--co-fab-offset-bottom, 24px);right:var(--co-fab-offset-right, 24px);z-index:1000}.co-fab--bottom-left{position:fixed;bottom:var(--co-fab-offset-bottom, 24px);left:var(--co-fab-offset-left, 24px);z-index:1000}.co-fab--top-right{position:fixed;top:var(--co-fab-offset-top, 24px);right:var(--co-fab-offset-right, 24px);z-index:1000}.co-fab--top-left{position:fixed;top:var(--co-fab-offset-top, 24px);left:var(--co-fab-offset-left, 24px);z-index:1000}.co-fab__label{line-height:1}`;
6
6
 
7
7
  const CoFab = class {
8
8
  constructor(hostRef) {
@@ -35,7 +35,7 @@ const CoFab = class {
35
35
  const iconSize = this.size === 'xl' ? 24 : this.size === 'l' ? 24 : this.size === 's' ? 18 : 20;
36
36
  const hasLabel = !!this.label;
37
37
  const hoverExpand = hasLabel && this.expandOnHover;
38
- return (index.h("button", { key: '67d54b40024fa3851d0ea79960949861ecaeaf4c', class: {
38
+ return (index.h("button", { key: 'f0d1612601922430df403628c5349b322ee8e88d', class: {
39
39
  'co-fab': true,
40
40
  [`co-fab--${this.variant}`]: true,
41
41
  [`co-fab--${this.size}`]: true,
@@ -43,7 +43,7 @@ const CoFab = class {
43
43
  'co-fab--hover-expand': hoverExpand,
44
44
  'co-fab--disabled': this.disabled,
45
45
  [`co-fab--${this.position}`]: this.position !== 'none',
46
- }, type: "button", disabled: this.disabled, onClick: this.handleClick, onPointerEnter: this.handleExpandMeasure, onFocusin: this.handleExpandMeasure, "aria-label": this.ariaLabelText || this.label || this.icon }, index.h("co-icon", { key: 'e5e75805115a8b31530a56d8210dcdae66e28ab5', name: this.icon, size: iconSize }), this.label && (index.h("span", { key: '2e659c02f0056f848f5c0566069dd39f4cd48d2c', class: "co-fab__label", ref: (el) => (this.labelEl = el) }, this.label))));
46
+ }, type: "button", disabled: this.disabled, onClick: this.handleClick, onPointerEnter: this.handleExpandMeasure, onFocusin: this.handleExpandMeasure, "aria-label": this.ariaLabelText || this.label || this.icon }, index.h("co-icon", { key: 'fc53d94af9263b20cfce36656608962158d480ab', name: this.icon, size: iconSize }), this.label && (index.h("span", { key: '5a16cdace79b8fb7b6ead260d14ee4ae018ed02b', class: "co-fab__label", ref: (el) => (this.labelEl = el) }, this.label))));
47
47
  }
48
48
  get el() { return index.getElement(this); }
49
49
  };
@@ -452,12 +452,12 @@ const CoFileField = class {
452
452
  const previews = items.filter((it) => isImage(it) && !this.failedPreviews.has(this.keyFor(it)));
453
453
  const canReorder = this.reorderable && this.multiple && !this.disabled && !this.readonly && items.length > 1;
454
454
  const capacity = this.capacityHint(s);
455
- return (index.h("div", { key: '11e79bc9c1b3b56c10c0558b0d504821db7e8cd6', class: {
455
+ return (index.h("div", { key: 'f0f1cf1e1f8e7b3551a7f2cf9cda0c780e89a5cd', class: {
456
456
  'co-file-field': true,
457
457
  'co-file-field--disabled': this.disabled,
458
458
  'co-file-field--invalid': this.isInvalid,
459
459
  [statusClass]: !!statusClass,
460
- }, part: "wrapper" }, this.label && (index.h("div", { key: '9e3f1d834e5a1b70411747568d7a1055b3e0d8f1', class: "co-file-field__labels" }, index.h("label", { key: '1c138fbe71432df15c970b00f910e0ddcc69a333', class: "co-file-field__label", part: "label" }, this.label, index.h(requiredMark.RequiredMark, { key: '34b7d0fe683a911fc10352f0d7c79cb01c559999', required: this.required })))), showDropzone && (index.h("div", { key: '9d046b734982edfd7d9743e9dab5b95593e15383', class: {
460
+ }, part: "wrapper" }, this.label && (index.h("div", { key: '1f2f390d2d83efa97c1aaa8721caed6a6c14347b', class: "co-file-field__labels" }, index.h("label", { key: 'd60c45bc97aed3e3a5a01078e9f0985378fc6d55', class: "co-file-field__label", part: "label" }, this.label, index.h(requiredMark.RequiredMark, { key: '99a129fd1477928257771d97dd3800a0ed0bc7b3', required: this.required })))), showDropzone && (index.h("div", { key: '404e7314e1fc2cb92751fae3e01685517649e2a5', class: {
461
461
  'co-file-field__dropzone': true,
462
462
  'co-file-field__dropzone--drag': this.dragOver,
463
463
  }, part: "dropzone", role: "button", tabIndex: this.disabled ? -1 : 0, onClick: this.handleBrowse, onKeyDown: (e) => {
@@ -465,7 +465,7 @@ const CoFileField = class {
465
465
  e.preventDefault();
466
466
  this.handleBrowse();
467
467
  }
468
- }, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, onDrop: this.handleDrop }, index.h("button", { key: '9af47292af70f8da16062a0bbac21ea520a52a39', class: "co-file-field__upload-btn", part: "upload-button", type: "button", tabIndex: -1 }, index.h("co-icon", { key: '68f3467892671d62648ccf2d1302cd579cd6601c', name: "file-arrow-up", size: 18 }), index.h("span", { key: 'a167aa0aef4f1e209660f251dd945ac41576b39f' }, this.uploadButtonText || s.uploadButton)), index.h("span", { key: 'b1bcfb1eabab417cd46920ccc43f624e52d1470c', class: "co-file-field__dropzone-text" }, this.dropText || s.dropHint), capacity && index.h("span", { key: '44a29cb6fcd9ea9a65de12794d1313c0ef9da7b9', class: "co-file-field__dropzone-hint" }, capacity), index.h("div", { key: '4d4f68f6684b976ec1610ebd45bc59ece67a13a9', class: "co-file-field__actions", part: "actions" }, index.h("slot", { key: '000fe510d61916cb016a9a2d9968426c0edabe62', name: "actions" })), index.h("input", { key: '16169cf42cc8072d63c36bb3a25f9c5d540e48c3', ref: (el) => (this.inputEl = el), class: "co-file-field__input", type: "file", multiple: this.multiple, accept: this.inputAccept, disabled: this.disabled, onChange: this.handleInputChange, "aria-hidden": "true", tabIndex: -1 }))), items.length > 0 && (index.h("div", { key: '23dae3bd944ad6cbd7e0d10898832aa1367956a5', class: "co-file-field__uploaded" }, this.multiple && (index.h("div", { key: 'ca0c17ecc64a68594758c626d41bd14ad6a19633', class: "co-file-field__uploaded-title", part: "uploaded-title" }, `${this.uploadedTitle || s.uploadedTitle} (${items.length})`)), previews.length > 0 && (index.h("div", { key: '343ca190a8ebb4a2589b90d6b9718e91f7d23bf1', class: "co-file-field__previews", part: "previews" }, previews.map((item) => (index.h("button", { class: "co-file-field__preview", part: "preview", type: "button", key: `prev-${this.keyFor(item)}`, title: item.name, "aria-label": s.openPreview, onClick: () => this.handlePreviewOpen(item) }, index.h("img", { src: item.thumbnail || item.url, alt: item.name, loading: "lazy", onError: () => this.handlePreviewError(item) })))))), index.h("ul", { key: '9b911d176a0ac02b6f76c084c8b7f33c2c8637aa', class: "co-file-field__list", part: "list" }, items.map((item) => {
468
+ }, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, onDrop: this.handleDrop }, index.h("button", { key: '323e98d5e7e25fcfc7c6b616f375f10bfc072c1f', class: "co-file-field__upload-btn", part: "upload-button", type: "button", tabIndex: -1 }, index.h("co-icon", { key: 'b9862962a720cfd1f2c9774499be80f25070ce58', name: "file-arrow-up", size: 18 }), index.h("span", { key: '9e2aead4e161f89a85480200f77b58f3893ce9d9' }, this.uploadButtonText || s.uploadButton)), index.h("span", { key: '85eb14b7a6e7e7bfdca34b65a9e2bc76a98d8a85', class: "co-file-field__dropzone-text" }, this.dropText || s.dropHint), capacity && index.h("span", { key: '2c18fd7507c4cf1ff9a62290378ff17a695123a2', class: "co-file-field__dropzone-hint" }, capacity), index.h("div", { key: '6d2fe109efb9d611ae0e9d0750264c07082d2293', class: "co-file-field__actions", part: "actions" }, index.h("slot", { key: 'c4004efe0aaee962fcb21ec9de3672ec747d9c5a', name: "actions" })), index.h("input", { key: 'd2e7504aec97b8cd210b938ed546662b321a0c67', ref: (el) => (this.inputEl = el), class: "co-file-field__input", type: "file", multiple: this.multiple, accept: this.inputAccept, disabled: this.disabled, onChange: this.handleInputChange, "aria-hidden": "true", tabIndex: -1 }))), items.length > 0 && (index.h("div", { key: 'be86d4a85621ebb3ac99a54381ea31f147f7d91e', class: "co-file-field__uploaded" }, this.multiple && (index.h("div", { key: '09a9769ee8a72011600b2516fbea7e2fdb6a8e78', class: "co-file-field__uploaded-title", part: "uploaded-title" }, `${this.uploadedTitle || s.uploadedTitle} (${items.length})`)), previews.length > 0 && (index.h("div", { key: 'f1e9d57bfaf98939d1371262cc469c770dda1cbb', class: "co-file-field__previews", part: "previews" }, previews.map((item) => (index.h("button", { class: "co-file-field__preview", part: "preview", type: "button", key: `prev-${this.keyFor(item)}`, title: item.name, "aria-label": s.openPreview, onClick: () => this.handlePreviewOpen(item) }, index.h("img", { src: item.thumbnail || item.url, alt: item.name, loading: "lazy", onError: () => this.handlePreviewError(item) })))))), index.h("ul", { key: '05308858680195f999764585cb6de75629a88db7', class: "co-file-field__list", part: "list" }, items.map((item) => {
469
469
  const key = this.keyFor(item);
470
470
  const draggable = canReorder && item.status === 'done';
471
471
  return (index.h("li", { class: {
@@ -486,10 +486,10 @@ const CoFileField = class {
486
486
  'co-file-field__action': true,
487
487
  'co-file-field__action--copied': this.copiedKey === key,
488
488
  }, type: "button", tabIndex: -1, title: this.copiedKey === key ? s.copied : s.copyUrl, "aria-label": s.copyUrl, onClick: () => this.handleCopy(item) }, index.h("co-icon", { name: this.copiedKey === key ? 'check' : 'copy', size: 18 }))), !this.disabled && !this.readonly && (index.h("button", { class: "co-file-field__action", type: "button", tabIndex: -1, title: s.removeFile, "aria-label": s.removeFile, onClick: () => this.coRemove.emit(key) }, index.h("co-icon", { name: "trash", size: 18 })))));
489
- })))), helper && (index.h("div", { key: 'c2edda6419a9f6e75f7c16fac61ce3271159d816', class: {
489
+ })))), helper && (index.h("div", { key: 'ebbbb0cffa70dbf5125ffafd5ebdafd6cc03c1d9', class: {
490
490
  'co-file-field__helper': true,
491
491
  'co-file-field__helper--error': this.isInvalid,
492
- }, part: "helper" }, this.isInvalid && (index.h("co-icon", { key: '0772a3d9fdf8fc818b0738ce4c7f0297c6eb4984', name: "warning-circle", size: 14, class: "co-file-field__helper-icon" })), index.h("span", { key: '6153f585fdd804fb49b09e1d106c6625e473b917', class: "co-file-field__helper-text" }, helper)))));
492
+ }, part: "helper" }, this.isInvalid && (index.h("co-icon", { key: 'bb81007afb2e2cb36d63045d09b784c6ce0aa7f1', name: "warning-circle", size: 14, class: "co-file-field__helper-icon" })), index.h("span", { key: '28618bdc3f08a5e226751e8ac5388e7aea02567f', class: "co-file-field__helper-text" }, helper)))));
493
493
  }
494
494
  get el() { return index.getElement(this); }
495
495
  };
@@ -60,7 +60,7 @@ const CoFileTypeTile = class {
60
60
  const iconSize = Math.round(this.size * 0.5);
61
61
  const background = this.colorTags ? meta.tint : 'var(--co-color-gray-100)';
62
62
  const color = this.colorTags ? meta.accent : 'var(--co-color-gray-600)';
63
- return (index.h("span", { key: '174e628c4a7fdd118cd5573c0054677c7c006989', class: {
63
+ return (index.h("span", { key: '1df6dee1c0f729279f36463be6df9137bcbf4af0', class: {
64
64
  'co-file-type-tile': true,
65
65
  [`co-file-type-tile--${type}`]: true,
66
66
  'co-file-type-tile--mono': !this.colorTags,
@@ -70,7 +70,7 @@ const CoFileTypeTile = class {
70
70
  borderRadius: `${this.radius}px`,
71
71
  background,
72
72
  color,
73
- } }, index.h("co-icon", { key: '815957f4dd756fec566b4bbc996083e80aed0ab5', name: meta.icon, size: iconSize, weight: "fill" })));
73
+ } }, index.h("co-icon", { key: '566163b957b853911e3eef15cd38c7573cf749b4', name: meta.icon, size: iconSize, weight: "fill" })));
74
74
  }
75
75
  };
76
76
  CoFileTypeTile.style = coFileTypeTileCss();
@@ -18,10 +18,10 @@ const CoHelperText = class {
18
18
  };
19
19
  }
20
20
  render() {
21
- return (index.h("div", { key: 'c09b28c4e20a80ce87275beb8c8f38c4ec9a6ac3', class: {
21
+ return (index.h("div", { key: '2c4ae2b671b16dfda50eea3dd33b92c5661812fb', class: {
22
22
  'co-helper-text': true,
23
23
  [`co-helper-text--${this.status}`]: true,
24
- }, part: "helper-text" }, index.h("co-icon", { key: '48bee19674872e9ed7b06a9f0706063111abc3ae', name: this.STATUS_ICON[this.status], size: 14, weight: "fill", class: "co-helper-text__icon" }), index.h("span", { key: '9b1e0cd4c00ad73c915f826df299cbb05156ca02', class: "co-helper-text__message" }, index.h("slot", { key: '41c95d86b31bb19be88b619057aba484748f1dfc' }, this.message))));
24
+ }, part: "helper-text" }, index.h("co-icon", { key: '18a15852e651204d06279be5a685c79ed927c6d0', name: this.STATUS_ICON[this.status], size: 14, weight: "fill", class: "co-helper-text__icon" }), index.h("span", { key: '62c3d084abd1b62f90b2631953f51306293b23b7', class: "co-helper-text__message" }, index.h("slot", { key: '06604123763ac0f84fe1bc2ec1dd840d6ee2756d' }, this.message))));
25
25
  }
26
26
  };
27
27
  CoHelperText.style = coHelperTextCss();
@@ -47,7 +47,7 @@ const CoIconButton = class {
47
47
  : 'var(--co-border-radius-full)',
48
48
  }
49
49
  : undefined;
50
- return (index.h("button", { key: '430b2aa64f664a6bd7cb40da53f592606c4b5308', class: {
50
+ return (index.h("button", { key: 'a49770e4411aed2b27e25e42903ccc9b29de5603', class: {
51
51
  'co-icon-button': true,
52
52
  [`co-icon-button--${this.variant}`]: true,
53
53
  [`co-icon-button--${this.shape}`]: true,
@@ -69,12 +69,12 @@ const CoIcon = class {
69
69
  this.svgContent = await loadSvg(this.name, this.weight);
70
70
  }
71
71
  render() {
72
- return (index.h(index.Host, { key: '81319f5bcb43f9f095f7ae6328002bcffe22bc42', "aria-hidden": "true", style: {
72
+ return (index.h(index.Host, { key: 'a1f3cfef2067bd672a17c19666821b6fac0b3027', "aria-hidden": "true", style: {
73
73
  display: 'inline-flex',
74
74
  width: `${this.size}px`,
75
75
  height: `${this.size}px`,
76
76
  flexShrink: '0',
77
- } }, index.h("span", { key: '4875243b3b1c0d40d82abc65307e398e83363b61', part: "svg", innerHTML: this.svgContent })));
77
+ } }, index.h("span", { key: 'cc92c6ea6d2ab5f59a7e793f166f2ae685f7928c', part: "svg", innerHTML: this.svgContent })));
78
78
  }
79
79
  static get watchers() { return {
80
80
  "name": [{
@@ -89,17 +89,17 @@ const CoJsonField = class {
89
89
  render() {
90
90
  const helper = this.internalInvalid ? this.invalidMessage : this.helperText;
91
91
  const statusClass = this.status !== 'default' ? `co-json-field--${this.status}` : '';
92
- return (index.h("div", { key: '37c5b552e44d19e321bfd64a35da61e54418013c', class: {
92
+ return (index.h("div", { key: '6e303939542b1c400432876149a7f7cf94dbfad4', class: {
93
93
  'co-json-field': true,
94
94
  'co-json-field--disabled': this.disabled,
95
95
  'co-json-field--focused': this.hasFocus,
96
96
  'co-json-field--invalid': this.isInvalid,
97
97
  [`co-json-field--${this.size}`]: true,
98
98
  [statusClass]: !!statusClass,
99
- }, part: "wrapper" }, this.label && (index.h("div", { key: '5ab03329fc4828abf624e473aef67bfa6878a4b1', class: "co-json-field__labels" }, index.h("label", { key: '14babf193d87564b813174f34df4ae4fc299155b', class: "co-json-field__label", part: "label" }, this.label, index.h(requiredMark.RequiredMark, { key: '635dd453ef2ed9ee720cc1c3f1c07a7b744d61ec', required: this.required })))), index.h("div", { key: '83763a2b5438b74da65e51bcbbdd6e6776eda45a', class: "co-json-field__field", part: "field" }, index.h("textarea", { key: '1f3929e95d98aca26d8f47b3fbce6c2c37aea3fa', class: "co-json-field__native", rows: this.rows, spellcheck: false, autocomplete: "off", value: this.draft, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, "aria-invalid": this.isInvalid ? 'true' : 'false', "aria-label": !this.label ? 'JSON' : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, part: "input" })), this.name && index.h("input", { key: '1dd77538a40085b72ba6b407e88d31faa73cd8dc', type: "hidden", name: this.name, value: this.draft }), helper && (index.h("div", { key: '6fb332624ab9dfa6b21af159ad3153eea4066c9a', class: {
99
+ }, part: "wrapper" }, this.label && (index.h("div", { key: '77c4793e6755c159d70943be68d94dc9a8f6f82c', class: "co-json-field__labels" }, index.h("label", { key: 'fa060ddb64fea5a78f339cf10ff46b8bbc3f6c9c', class: "co-json-field__label", part: "label" }, this.label, index.h(requiredMark.RequiredMark, { key: 'fd130517bb57f0b5c012f39e61cd4ef905c34b42', required: this.required })))), index.h("div", { key: '752bccc5c2193a81ef174415b0e22936d1729914', class: "co-json-field__field", part: "field" }, index.h("textarea", { key: '397b3e80d4d252c55f55d9e6c444083f8ee2a28a', class: "co-json-field__native", rows: this.rows, spellcheck: false, autocomplete: "off", value: this.draft, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, "aria-invalid": this.isInvalid ? 'true' : 'false', "aria-label": !this.label ? 'JSON' : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, part: "input" })), this.name && index.h("input", { key: '8d658f97252824dce51a262c19e251b664de9c4e', type: "hidden", name: this.name, value: this.draft }), helper && (index.h("div", { key: '857a97a47b5a88b0a778680329670b474ff1eac1', class: {
100
100
  'co-json-field__helper': true,
101
101
  'co-json-field__helper--error': this.isInvalid,
102
- }, part: "helper" }, this.isInvalid && (index.h("co-icon", { key: 'f4da415f949ee8d127eece321f4d8feecdd3a1ff', name: "warning-circle", size: 14, class: "co-json-field__helper-icon" })), index.h("span", { key: '7e3b458f7173be6ac4fdcf7df42d3a132ab5082b', class: "co-json-field__helper-text" }, helper)))));
102
+ }, part: "helper" }, this.isInvalid && (index.h("co-icon", { key: 'df90fefaedba9e8340b1fbfd19dd8350ab8e26af', name: "warning-circle", size: 14, class: "co-json-field__helper-icon" })), index.h("span", { key: '3ba614c007e38009f7cda47be0d705d63397359f', class: "co-json-field__helper-text" }, helper)))));
103
103
  }
104
104
  get el() { return index.getElement(this); }
105
105
  static get watchers() { return {
@@ -341,17 +341,17 @@ const CoLightbox = class {
341
341
  const counter = s.counter
342
342
  .replace('{i}', String(this.index + 1))
343
343
  .replace('{n}', String(imgs.length));
344
- return (index.h("div", { key: 'c1743a4e71ebdb84af2271962ba1b76a434bbe24', class: { 'co-lightbox': true, 'co-lightbox--open': this.open }, part: "overlay", role: "dialog", "aria-modal": "true", "aria-label": img === null || img === void 0 ? void 0 : img.alt, popover: "manual", ref: this.syncTopLayer, onClick: this.requestClose }, img && (index.h("div", { key: 'f12555c4b7e8f4f061b7a449d3cb6665c4846cda', class: "co-lightbox__toolbar", part: "toolbar", onClick: this.stop }, index.h("span", { key: '4bb66de1922f388886d000342f983ab852db0045', class: "co-lightbox__caption", title: img.alt }, img.alt), index.h("div", { key: '9fbdc078e7dbe0af9813a91a60155c1545e7309e', class: "co-lightbox__zoom" }, index.h("button", { key: 'b780571cec8da08b9ae069e1ffb6be1d933c4ea1', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomOut, title: s.zoomOut, onClick: () => this.zoomAt(this.scale / WHEEL_FACTOR, 0, 0) }, index.h("co-icon", { key: '05ffc5137ff964d4159fed49191c2af17abec51f', name: "minus", size: 16 })), index.h("button", { key: 'b3d6751bb3b81233ccfb61b9692b9d14dda3307f', class: "co-lightbox__btn co-lightbox__zoom-value", type: "button", "aria-label": s.zoomReset, title: s.zoomReset, onClick: () => this.resetView() }, Math.round(this.scale * 100), "%"), index.h("button", { key: '34ffc666558698b6e8dd3c0559ed1c5372c7947b', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomIn, title: s.zoomIn, onClick: () => this.zoomAt(this.scale * WHEEL_FACTOR, 0, 0) }, index.h("co-icon", { key: 'a0c066dfb0cf6026b08f85821e197e2340963979', name: "plus", size: 16 }))), index.h("button", { key: '12f8f66333d043214c57cebb81d1a153be72f9b3', class: "co-lightbox__btn", type: "button", "aria-label": s.openOriginal, title: s.openOriginal, onClick: this.openOriginal }, index.h("co-icon", { key: 'c60b9a9856aa62728576c356af09880ca2d7710d', name: "arrow-square-out", size: 16 })), index.h("button", { key: '8a7caebb371e5f509051b92a730712f6e304eac2', class: "co-lightbox__btn", part: "close", type: "button", "aria-label": s.close, title: s.close, ref: (el) => (this.closeBtnEl = el), onClick: this.requestClose }, index.h("co-icon", { key: 'efcd1f9672c2fa61b74f75b25771574ec6108004', name: "x", size: 16 })))), img && (index.h("div", { key: 'fc99ed851d5ffd99fb09b7c98fb4d317bcaa1f2a', class: "co-lightbox__stage", ref: (el) => (this.stageEl = el), onWheel: this.handleWheel }, index.h("img", { key: '7e43afbd4e170ab2b1a818501b7e34d4147c143e', class: {
344
+ return (index.h("div", { key: 'ee47c98cd468a05ffc7536756b72818bfa9391da', class: { 'co-lightbox': true, 'co-lightbox--open': this.open }, part: "overlay", role: "dialog", "aria-modal": "true", "aria-label": img === null || img === void 0 ? void 0 : img.alt, popover: "manual", ref: this.syncTopLayer, onClick: this.requestClose }, img && (index.h("div", { key: '80859431215ee33bc0480f8788a32886486d4e7c', class: "co-lightbox__toolbar", part: "toolbar", onClick: this.stop }, index.h("span", { key: '09ee3dc94fdb88f66516a1d5e5f44f1f2a90d850', class: "co-lightbox__caption", title: img.alt }, img.alt), index.h("div", { key: '86a02fb7b0c0e92eb633d5d61464c1a8e044564c', class: "co-lightbox__zoom" }, index.h("button", { key: '3e83390c0b22ef8986c39dc399f04e2cad48556e', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomOut, title: s.zoomOut, onClick: () => this.zoomAt(this.scale / WHEEL_FACTOR, 0, 0) }, index.h("co-icon", { key: 'e4241a61696d191b262270370924ee4700949e98', name: "minus", size: 16 })), index.h("button", { key: '92b11da3129dfdd181b9114c613fc3624c9df41a', class: "co-lightbox__btn co-lightbox__zoom-value", type: "button", "aria-label": s.zoomReset, title: s.zoomReset, onClick: () => this.resetView() }, Math.round(this.scale * 100), "%"), index.h("button", { key: 'e224e703bf5902f7b72acb6428ed5ec46ace49a1', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomIn, title: s.zoomIn, onClick: () => this.zoomAt(this.scale * WHEEL_FACTOR, 0, 0) }, index.h("co-icon", { key: '4216032ce75fee7e05bdbc50095ddc7037910876', name: "plus", size: 16 }))), index.h("button", { key: '8ec864104b0127f0d6150d91179a46b35270fb4c', class: "co-lightbox__btn", type: "button", "aria-label": s.openOriginal, title: s.openOriginal, onClick: this.openOriginal }, index.h("co-icon", { key: '836480f7857396b613e99abf85fedabbf73fa43a', name: "arrow-square-out", size: 16 })), index.h("button", { key: '736dbb247d0af9e261fa5bf21ec6113f8d40f612', class: "co-lightbox__btn", part: "close", type: "button", "aria-label": s.close, title: s.close, ref: (el) => (this.closeBtnEl = el), onClick: this.requestClose }, index.h("co-icon", { key: '0c45bcfb64245b5388452216204effd74482a862', name: "x", size: 16 })))), img && (index.h("div", { key: 'af2d7a221312f18a62895579a067e740e878caf3', class: "co-lightbox__stage", ref: (el) => (this.stageEl = el), onWheel: this.handleWheel }, index.h("img", { key: 'fac630a31bf240d6ef5ffe3c85136e5534722b26', class: {
345
345
  'co-lightbox__img': true,
346
346
  'co-lightbox__img--zoomed': this.scale > MIN_SCALE,
347
347
  'co-lightbox__img--dragging': this.dragging,
348
- }, part: "image", ref: (el) => (this.imgEl = el), src: img.src, alt: img.alt || '', draggable: false, style: { transform: `translate(${this.tx}px, ${this.ty}px) scale(${this.scale})` }, onClick: this.stop, onDblClick: this.handleDblClick, onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerUp, onPointerCancel: this.handlePointerUp }))), img && multi && (index.h("button", { key: '461444963dde42d1d72af6bd88fe2013ab3858ee', class: "co-lightbox__nav co-lightbox__nav--prev", part: "prev", type: "button", "aria-label": s.prevImage, title: s.prevImage, onClick: (e) => {
348
+ }, part: "image", ref: (el) => (this.imgEl = el), src: img.src, alt: img.alt || '', draggable: false, style: { transform: `translate(${this.tx}px, ${this.ty}px) scale(${this.scale})` }, onClick: this.stop, onDblClick: this.handleDblClick, onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerUp, onPointerCancel: this.handlePointerUp }))), img && multi && (index.h("button", { key: '3cca38f856ec367dc40596acc988875d6b334f60', class: "co-lightbox__nav co-lightbox__nav--prev", part: "prev", type: "button", "aria-label": s.prevImage, title: s.prevImage, onClick: (e) => {
349
349
  e.stopPropagation();
350
350
  this.goTo(-1);
351
- } }, index.h("co-icon", { key: 'a69c348080ac70da9d5af641c502e6a1f206f7dd', name: "caret-left", size: 24 }))), img && multi && (index.h("button", { key: '56504889f11cb56cea40aef5676ea6916aade850', class: "co-lightbox__nav co-lightbox__nav--next", part: "next", type: "button", "aria-label": s.nextImage, title: s.nextImage, onClick: (e) => {
351
+ } }, index.h("co-icon", { key: 'f5c296f6802355140cb64b690401f12faac29faa', name: "caret-left", size: 24 }))), img && multi && (index.h("button", { key: 'a0104539bcc4a9ebc4090d28636c7fae7cfcf1ae', class: "co-lightbox__nav co-lightbox__nav--next", part: "next", type: "button", "aria-label": s.nextImage, title: s.nextImage, onClick: (e) => {
352
352
  e.stopPropagation();
353
353
  this.goTo(1);
354
- } }, index.h("co-icon", { key: '44cb0a0c644aa75c581bdd863df98590dbd0ebc3', name: "caret-right", size: 24 }))), img && multi && (index.h("div", { key: '6642109e875532fea123fc75fe0cf0ea6129be85', class: "co-lightbox__counter", part: "counter", onClick: this.stop }, counter))));
354
+ } }, index.h("co-icon", { key: '6adef24091aeaa4df0bf92cbade32bdf9273c015', name: "caret-right", size: 24 }))), img && multi && (index.h("div", { key: '6a31e663231a66339621c26aba74c28e3c9b152e', class: "co-lightbox__counter", part: "counter", onClick: this.stop }, counter))));
355
355
  }
356
356
  get el() { return index.getElement(this); }
357
357
  static get watchers() { return {
@@ -17,7 +17,7 @@ const CoListFooter = class {
17
17
  this.handleSecondary = () => this.coSecondary.emit();
18
18
  }
19
19
  render() {
20
- return (index.h("div", { key: 'fbf4ec72aa2f6814b558d51c44592e784355751e', class: "co-list-footer", part: "footer" }, this.secondaryLabel && (index.h("button", { key: '78abef0f79117263c7d30e5ce37a876d193ba5e4', class: "co-list-footer__btn co-list-footer__btn--secondary", type: "button", onClick: this.handleSecondary }, this.secondaryIcon && index.h("co-icon", { key: 'a765ab5be51d7eb5791d3161cf5c7d3688fa0fd7', name: this.secondaryIcon, size: 16 }), index.h("span", { key: '0f5d57201bcd6ce40439c26916e01f1e37fcd87e' }, this.secondaryLabel))), this.primaryLabel && (index.h("button", { key: '27aa3b20666c9fe2a6fb7f28a9ca6e2542dd8fd7', class: "co-list-footer__btn co-list-footer__btn--primary", type: "button", onClick: this.handlePrimary }, this.primaryIcon && index.h("co-icon", { key: 'bafe2ebb9cfb2cc26c682ae9b419b09a512652f8', name: this.primaryIcon, size: 16 }), index.h("span", { key: 'c3c9baead987beea02ead3a65d3372c5532a67b8' }, this.primaryLabel))), index.h("slot", { key: '7a1ce48c91cc95c320c4d680053f42555e601187' })));
20
+ return (index.h("div", { key: '8dacde70abe5f58b86003a6bb82dad4bbc4b0394', class: "co-list-footer", part: "footer" }, this.secondaryLabel && (index.h("button", { key: 'd6049cfd2e018323dc9426da5cc267b8ddbd3479', class: "co-list-footer__btn co-list-footer__btn--secondary", type: "button", onClick: this.handleSecondary }, this.secondaryIcon && index.h("co-icon", { key: '04c33cf918267dc57d6955f53be90c1aa61065a1', name: this.secondaryIcon, size: 16 }), index.h("span", { key: '8062a62489076b81f6dd16dc95245bee1e57826e' }, this.secondaryLabel))), this.primaryLabel && (index.h("button", { key: '26c8305842045d4ebd1c37d6fc304efa67c8329b', class: "co-list-footer__btn co-list-footer__btn--primary", type: "button", onClick: this.handlePrimary }, this.primaryIcon && index.h("co-icon", { key: '62a0cab190325e97536f72393d4a5b8accb5e9c7', name: this.primaryIcon, size: 16 }), index.h("span", { key: '2a7eb0c0bda8112823090f5dfdb6aa8aa6329a09' }, this.primaryLabel))), index.h("slot", { key: '385b7fddd09c86e8d3e0c793cf205ba9358718ec' })));
21
21
  }
22
22
  };
23
23
  CoListFooter.style = coListFooterCss();
@@ -71,21 +71,21 @@ const CoListItem = class {
71
71
  requestAnimationFrame(this.measureTruncation);
72
72
  }
73
73
  render() {
74
- return (index.h("div", { key: '23cfee682f0e7d3a22ca793b9e6b29eb89cf8ca1', class: {
74
+ return (index.h("div", { key: '5b4255d0896c4b411e4b558623d23404f9a0a099', class: {
75
75
  'co-list-item': true,
76
76
  'co-list-item--selected': this.selected,
77
77
  'co-list-item--disabled': this.disabled,
78
78
  'co-list-item--dense': this.dense,
79
79
  'co-list-item--has-description': !!this.description,
80
- }, part: "item", role: "option", tabindex: this.disabled ? -1 : 0, "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', onClick: this.handleClick, onKeyDown: this.handleKeyDown }, index.h("span", { key: 'a0f3c86656e408225fdbfeb610a088f8adebfa55', class: "co-list-item__prefix" }, this.icon && index.h("co-icon", { key: '18be77a790afd7b83f8ad07c9af5925abed4f23b', name: this.icon, size: 18 }), index.h("slot", { key: '2e198e4c541e1c86c6c266cf93408e195c851428', name: "prefix" })), index.h("div", { key: 'cbb5768d0a7bb287dbab1e013ae5e03ff2194a1f', class: "co-list-item__content" }, this.label && (index.h("co-tooltip", { key: '79730131bb1a74660d6dba076b622358b7c1ee15', block: true, class: "co-list-item__tip", content: this.label, placement: "top", disabled: !this.labelTruncated }, index.h("span", { key: '778b003dc31bc196a770a7dc6c4eebe649faf8c3', class: "co-list-item__label", ref: (el) => {
80
+ }, part: "item", role: "option", tabindex: this.disabled ? -1 : 0, "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', onClick: this.handleClick, onKeyDown: this.handleKeyDown }, index.h("span", { key: '8f2d21c6e38644a825dc7d90d03c8bb1ecdb9dbc', class: "co-list-item__prefix" }, this.icon && index.h("co-icon", { key: '42f7f82814dea4979aa42dfc199137cadca84d50', name: this.icon, size: 18 }), index.h("slot", { key: '2e8b8279c24afd6d6a3377a3e6407de3a946ce2d', name: "prefix" })), index.h("div", { key: '441c477e26e4188bf5fc57296e64ec7394244946', class: "co-list-item__content" }, this.label && (index.h("co-tooltip", { key: '77c6f39d6f9758dd06f8d6b3684dea9d670dc591', block: true, class: "co-list-item__tip", content: this.label, placement: "top", disabled: !this.labelTruncated }, index.h("span", { key: '6cb1798690cd602b5d3a41259420422ec5d9f147', class: "co-list-item__label", ref: (el) => {
81
81
  this.labelEl = el;
82
82
  if (el && this.ro)
83
83
  this.ro.observe(el);
84
- } }, this.label))), this.description && (index.h("co-tooltip", { key: '56c81304ceec7039a659c1e2443a17df48bf88eb', block: true, class: "co-list-item__tip", content: this.description, placement: "top", disabled: !this.descTruncated }, index.h("span", { key: '5f1f870da25778bfbe801cfb769319cff71fac75', class: "co-list-item__description", ref: (el) => {
84
+ } }, this.label))), this.description && (index.h("co-tooltip", { key: 'd514a4554ec7160e192575c019c2036bafacad93', block: true, class: "co-list-item__tip", content: this.description, placement: "top", disabled: !this.descTruncated }, index.h("span", { key: 'ff1a1fcf77f4fcb1c8da4aa686e325609652cbb0', class: "co-list-item__description", ref: (el) => {
85
85
  this.descEl = el;
86
86
  if (el && this.ro)
87
87
  this.ro.observe(el);
88
- } }, this.description))), index.h("slot", { key: '136ec5db83f4d2a77126d734ecac511c92b36d91' })), index.h("span", { key: '759b18ea3bedcb7b7b8023cb6ca1444fbacb5748', class: "co-list-item__suffix" }, index.h("slot", { key: 'c6519a183c1b7cdb84e4d822a5e2fa523a99ab52', name: "suffix" }))));
88
+ } }, this.description))), index.h("slot", { key: 'd449919d91bab89c6152bb506e79a89670182951' })), index.h("span", { key: '88003131b37470c9b922c9511c38f6e95af8c55a', class: "co-list-item__suffix" }, index.h("slot", { key: '2e55673f5a17d14b5194490e87a332cbce70daf6', name: "suffix" }))));
89
89
  }
90
90
  get el() { return index.getElement(this); }
91
91
  static get watchers() { return {