@prolibu-suite/cobalt-core 0.11.0 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (651) hide show
  1. package/README.md +12 -5
  2. package/custom-elements.json +2738 -802
  3. package/dist/cjs/co-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/co-action-bar.cjs.entry.js +2 -2
  5. package/dist/cjs/co-app-shell.cjs.entry.js +2 -2
  6. package/dist/cjs/co-audio-player.cjs.entry.js +3 -3
  7. package/dist/cjs/co-autocomplete.cjs.entry.js +10 -3
  8. package/dist/cjs/co-avatar-group.cjs.entry.js +2 -2
  9. package/dist/cjs/co-avatar.cjs.entry.js +1 -1
  10. package/dist/cjs/co-badge.cjs.entry.js +1 -1
  11. package/dist/cjs/co-bottom-sheet.cjs.entry.js +4 -4
  12. package/dist/cjs/co-breadcrumb-item.cjs.entry.js +2 -2
  13. package/dist/cjs/co-breadcrumb.cjs.entry.js +1 -1
  14. package/dist/cjs/co-button-group.cjs.entry.js +3 -2
  15. package/dist/cjs/co-button.cjs.entry.js +6 -6
  16. package/dist/cjs/co-calendar-month_2.cjs.entry.js +14 -2
  17. package/dist/cjs/co-calendar_3.cjs.entry.js +9 -5
  18. package/dist/cjs/co-card.cjs.entry.js +2 -2
  19. package/dist/cjs/co-carousel.cjs.entry.js +5 -2
  20. package/dist/cjs/co-checkbox-group.cjs.entry.js +3 -3
  21. package/dist/cjs/co-checkbox.cjs.entry.js +3 -3
  22. package/dist/cjs/co-chip_2.cjs.entry.js +16 -6
  23. package/dist/cjs/co-color-area.cjs.entry.js +2 -2
  24. package/dist/cjs/co-color-picker.cjs.entry.js +2 -2
  25. package/dist/cjs/co-color-slider.cjs.entry.js +3 -3
  26. package/dist/cjs/co-column-picker.cjs.entry.js +22 -2
  27. package/dist/cjs/co-combobox.cjs.entry.js +3 -3
  28. package/dist/cjs/co-command-search.cjs.entry.js +4 -4
  29. package/dist/cjs/co-data-table-pagination.cjs.entry.js +4 -4
  30. package/dist/cjs/co-data-table.cjs.entry.js +2 -2
  31. package/dist/cjs/co-date-picker.cjs.entry.js +8 -0
  32. package/dist/cjs/co-date-range-picker.cjs.entry.js +9 -0
  33. package/dist/cjs/co-date-range.cjs.entry.js +7 -1
  34. package/dist/cjs/co-date-time-picker.cjs.entry.js +9 -2
  35. package/dist/cjs/co-document-editor.cjs.entry.js +9 -3
  36. package/dist/cjs/co-drive-card.cjs.entry.js +1 -1
  37. package/dist/cjs/co-drop-zone.cjs.entry.js +1 -1
  38. package/dist/cjs/co-emoji-picker.cjs.entry.js +2 -2
  39. package/dist/cjs/co-empty-state.cjs.entry.js +2 -2
  40. package/dist/cjs/co-event-calendar.cjs.entry.js +4 -2
  41. package/dist/cjs/co-event-popover.cjs.entry.js +5 -1
  42. package/dist/cjs/co-fab.cjs.entry.js +6 -2
  43. package/dist/cjs/co-file-field.cjs.entry.js +10 -6
  44. package/dist/cjs/co-file-type-tile.cjs.entry.js +2 -2
  45. package/dist/cjs/co-gradient-bar.cjs.entry.js +2 -2
  46. package/dist/cjs/co-helper-text.cjs.entry.js +2 -2
  47. package/dist/cjs/co-icon-button.cjs.entry.js +5 -6
  48. package/dist/cjs/co-icon.cjs.entry.js +2 -2
  49. package/dist/cjs/co-json-field.cjs.entry.js +8 -3
  50. package/dist/cjs/co-kbd_2.cjs.entry.js +3 -3
  51. package/dist/cjs/co-list-footer.cjs.entry.js +1 -1
  52. package/dist/cjs/co-list-item.cjs.entry.js +4 -4
  53. package/dist/cjs/co-media-thumb.cjs.entry.js +2 -2
  54. package/dist/cjs/co-menu-divider.cjs.entry.js +1 -1
  55. package/dist/cjs/co-menu.cjs.entry.js +8 -8
  56. package/dist/cjs/co-modal.cjs.entry.js +36 -10
  57. package/dist/cjs/co-navbar.cjs.entry.js +2 -2
  58. package/dist/cjs/co-number-field.cjs.entry.js +9 -3
  59. package/dist/cjs/co-overlay.cjs.entry.js +205 -34
  60. package/dist/cjs/co-page-header.cjs.entry.js +1 -1
  61. package/dist/cjs/co-popover.cjs.entry.js +9 -7
  62. package/dist/cjs/co-progress-bar.cjs.entry.js +2 -2
  63. package/dist/cjs/co-progress-circle.cjs.entry.js +2 -2
  64. package/dist/cjs/co-provider-logo_2.cjs.entry.js +1 -1
  65. package/dist/cjs/co-radio-group.cjs.entry.js +3 -3
  66. package/dist/cjs/co-radio.cjs.entry.js +3 -3
  67. package/dist/cjs/co-rating.cjs.entry.js +10 -3
  68. package/dist/cjs/co-ref-field.cjs.entry.js +10 -1
  69. package/dist/cjs/co-rich-text-editor.cjs.entry.js +19 -5
  70. package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +1 -0
  71. package/dist/cjs/co-rich-text-viewer.cjs.entry.js +1 -1
  72. package/dist/cjs/co-row.cjs.entry.js +2 -2
  73. package/dist/cjs/co-segmented-bar.cjs.entry.js +2 -2
  74. package/dist/cjs/co-select.cjs.entry.js +19 -6
  75. package/dist/cjs/co-separator.cjs.entry.js +1 -1
  76. package/dist/cjs/co-sidebar-nav.cjs.entry.js +2 -2
  77. package/dist/cjs/co-sidebar.cjs.entry.js +2 -2
  78. package/dist/cjs/co-slider.cjs.entry.js +8 -2
  79. package/dist/cjs/co-swatch-grid.cjs.entry.js +1 -1
  80. package/dist/cjs/co-switch.cjs.entry.js +3 -3
  81. package/dist/cjs/co-tab-group.cjs.entry.js +2 -2
  82. package/dist/cjs/co-tab.cjs.entry.js +5 -5
  83. package/dist/cjs/co-tags-field.cjs.entry.js +10 -5
  84. package/dist/cjs/co-tile.cjs.entry.js +1 -1
  85. package/dist/cjs/co-time-field.cjs.entry.js +4 -1
  86. package/dist/cjs/co-toast.cjs.entry.js +2 -2
  87. package/dist/cjs/co-toggle-button-group.cjs.entry.js +7 -4
  88. package/dist/cjs/co-toggle-button.cjs.entry.js +5 -2
  89. package/dist/cjs/co-transfer-list.cjs.entry.js +6 -2
  90. package/dist/cjs/co-tree-item.cjs.entry.js +2 -2
  91. package/dist/cjs/co-video.cjs.entry.js +10 -2
  92. package/dist/cjs/cobalt.cjs.js +1 -1
  93. package/dist/cjs/{index-oMHzCXm6.js → index-BbSD1Eyw.js} +1 -1
  94. package/dist/cjs/loader.cjs.js +1 -1
  95. package/dist/cjs/{pagination-DV43TRj9.js → pagination-S2sSAgdl.js} +26 -2
  96. package/dist/cobalt/cobalt.esm.js +1 -1
  97. package/dist/cobalt/{p-97a4fbba.entry.js → p-019eed8e.entry.js} +1 -1
  98. package/dist/cobalt/{p-d6e7c258.entry.js → p-02ff847e.entry.js} +1 -1
  99. package/dist/cobalt/{p-1289131f.entry.js → p-04e3e1f6.entry.js} +1 -1
  100. package/dist/cobalt/p-0d046d98.entry.js +1 -0
  101. package/dist/cobalt/{p-d4979025.entry.js → p-0e4c2234.entry.js} +1 -1
  102. package/dist/cobalt/{p-3011c84f.entry.js → p-12914c0a.entry.js} +1 -1
  103. package/dist/cobalt/{p-f5934cd9.entry.js → p-1348d5ca.entry.js} +1 -1
  104. package/dist/cobalt/{p-ee88ec40.entry.js → p-13e5b724.entry.js} +1 -1
  105. package/dist/cobalt/{p-9e406172.entry.js → p-21b4a830.entry.js} +1 -1
  106. package/dist/cobalt/{p-d1c378ff.entry.js → p-2231bacc.entry.js} +1 -1
  107. package/dist/cobalt/{p-1693b614.entry.js → p-26cbdc33.entry.js} +1 -1
  108. package/dist/cobalt/{p-7f3523ce.entry.js → p-28cf05f3.entry.js} +1 -1
  109. package/dist/cobalt/{p-8ab5b396.entry.js → p-358a6c2a.entry.js} +1 -1
  110. package/dist/cobalt/p-38eb2615.entry.js +1 -0
  111. package/dist/cobalt/p-3b5024ce.entry.js +1 -0
  112. package/dist/cobalt/{p-cc5989e9.entry.js → p-3d1a48e5.entry.js} +1 -1
  113. package/dist/cobalt/{p-b1994bb4.entry.js → p-4bcdd422.entry.js} +1 -1
  114. package/dist/cobalt/{p-2a2b0c7a.entry.js → p-4d743628.entry.js} +1 -1
  115. package/dist/cobalt/{p-66fc1528.entry.js → p-4e81e580.entry.js} +1 -1
  116. package/dist/cobalt/{p-c1caa112.entry.js → p-53a251ca.entry.js} +1 -1
  117. package/dist/cobalt/{p-67ad9544.entry.js → p-56176aa0.entry.js} +1 -1
  118. package/dist/cobalt/{p-44edde81.entry.js → p-58ebb303.entry.js} +1 -1
  119. package/dist/cobalt/{p-2e5702a0.entry.js → p-5e678e88.entry.js} +1 -1
  120. package/dist/cobalt/{p-889563d5.entry.js → p-60f948c4.entry.js} +1 -1
  121. package/dist/cobalt/{p-db42c4ab.entry.js → p-63908a8d.entry.js} +1 -1
  122. package/dist/cobalt/{p-5573985a.entry.js → p-65c191aa.entry.js} +1 -1
  123. package/dist/cobalt/{p-b5ec4286.entry.js → p-65d44da2.entry.js} +1 -1
  124. package/dist/cobalt/{p-5534a64f.entry.js → p-69ecc933.entry.js} +1 -1
  125. package/dist/cobalt/{p-c9990662.entry.js → p-6c1992c9.entry.js} +1 -1
  126. package/dist/cobalt/{p-90fad0f9.entry.js → p-6c7e423c.entry.js} +1 -1
  127. package/dist/cobalt/{p-22233b31.entry.js → p-6d4a660c.entry.js} +1 -1
  128. package/dist/cobalt/{p-7675cebe.entry.js → p-713637f2.entry.js} +1 -1
  129. package/dist/cobalt/{p-45007758.entry.js → p-71ae1551.entry.js} +1 -1
  130. package/dist/cobalt/{p-a930cdd7.entry.js → p-71ee36a8.entry.js} +1 -1
  131. package/dist/cobalt/{p-eeb114da.entry.js → p-71fe35c4.entry.js} +1 -1
  132. package/dist/cobalt/{p-a336178b.entry.js → p-73313cbe.entry.js} +1 -1
  133. package/dist/cobalt/{p-8b2e4579.entry.js → p-78412feb.entry.js} +1 -1
  134. package/dist/cobalt/{p-48c23310.entry.js → p-7beface1.entry.js} +1 -1
  135. package/dist/cobalt/p-7d1718ed.entry.js +1 -0
  136. package/dist/cobalt/{p-59d3e8fc.entry.js → p-7df18a52.entry.js} +1 -1
  137. package/dist/cobalt/{p-b9401dd7.entry.js → p-7e678cbd.entry.js} +1 -1
  138. package/dist/cobalt/{p-c109a1e1.entry.js → p-7fabd8ba.entry.js} +1 -1
  139. package/dist/cobalt/{p-8f701eac.entry.js → p-848f5ca4.entry.js} +1 -1
  140. package/dist/cobalt/{p-608d251d.entry.js → p-8680559b.entry.js} +1 -1
  141. package/dist/cobalt/{p-4b327483.entry.js → p-87de5469.entry.js} +1 -1
  142. package/dist/cobalt/{p-a07dedd1.entry.js → p-8a2a2b6c.entry.js} +1 -1
  143. package/dist/cobalt/{p-f813569c.entry.js → p-903237f9.entry.js} +1 -1
  144. package/dist/cobalt/p-93063876.entry.js +1 -0
  145. package/dist/cobalt/{p-1f3d5313.entry.js → p-95f2ebb1.entry.js} +1 -1
  146. package/dist/cobalt/{p-86b6fd81.entry.js → p-99df434b.entry.js} +1 -1
  147. package/dist/cobalt/{p-6c157ea2.entry.js → p-9adbab95.entry.js} +1 -1
  148. package/dist/cobalt/{p-4111fefa.entry.js → p-9ee5bef3.entry.js} +1 -1
  149. package/dist/cobalt/{p-RVQJEYxa.js → p-Ch-Tygdb.js} +1 -1
  150. package/dist/cobalt/p-DGLDAl09.js +1 -0
  151. package/dist/cobalt/{p-9bee9dc8.entry.js → p-a27013e6.entry.js} +1 -1
  152. package/dist/cobalt/{p-9cf10331.entry.js → p-a4eb298c.entry.js} +1 -1
  153. package/dist/cobalt/{p-5b2aa70e.entry.js → p-a56bd4a8.entry.js} +1 -1
  154. package/dist/cobalt/{p-d1f47915.entry.js → p-a5eabecb.entry.js} +1 -1
  155. package/dist/cobalt/{p-f5e1873d.entry.js → p-a5ee1fc2.entry.js} +1 -1
  156. package/dist/cobalt/{p-ee42dca6.entry.js → p-a7cd61ce.entry.js} +1 -1
  157. package/dist/cobalt/{p-7569375a.entry.js → p-ad752791.entry.js} +1 -1
  158. package/dist/cobalt/{p-ea564148.entry.js → p-ae999b94.entry.js} +1 -1
  159. package/dist/cobalt/{p-30760f77.entry.js → p-aed832d5.entry.js} +1 -1
  160. package/dist/cobalt/{p-e6116149.entry.js → p-b2457431.entry.js} +1 -1
  161. package/dist/cobalt/{p-3b9a8e86.entry.js → p-b39a4999.entry.js} +1 -1
  162. package/dist/cobalt/{p-bc3ba0cd.entry.js → p-b5dabdc3.entry.js} +1 -1
  163. package/dist/cobalt/{p-ec7a6bf2.entry.js → p-b67fb616.entry.js} +1 -1
  164. package/dist/cobalt/{p-f8c7941f.entry.js → p-b9b73dcb.entry.js} +1 -1
  165. package/dist/cobalt/{p-a52ed6ff.entry.js → p-ba39a965.entry.js} +1 -1
  166. package/dist/cobalt/{p-8cd3acaa.entry.js → p-bb7bbe70.entry.js} +1 -1
  167. package/dist/cobalt/{p-7376f4ed.entry.js → p-be520bd5.entry.js} +1 -1
  168. package/dist/cobalt/{p-0a5cfed0.entry.js → p-bee30373.entry.js} +1 -1
  169. package/dist/cobalt/{p-e4ff2fcb.entry.js → p-c220362c.entry.js} +1 -1
  170. package/dist/cobalt/{p-6d541199.entry.js → p-c5464a98.entry.js} +1 -1
  171. package/dist/cobalt/{p-26fa36f8.entry.js → p-cf5b91be.entry.js} +1 -1
  172. package/dist/cobalt/{p-cc4b51fa.entry.js → p-cfaaa684.entry.js} +1 -1
  173. package/dist/cobalt/{p-57d250ad.entry.js → p-d00c3894.entry.js} +1 -1
  174. package/dist/cobalt/{p-f8d3c71e.entry.js → p-d5d8fa8b.entry.js} +1 -1
  175. package/dist/cobalt/p-d6215d80.entry.js +1 -0
  176. package/dist/cobalt/{p-78a20284.entry.js → p-dabcbba7.entry.js} +1 -1
  177. package/dist/cobalt/{p-9b46a8fe.entry.js → p-db623519.entry.js} +1 -1
  178. package/dist/cobalt/{p-136beb2c.entry.js → p-df529110.entry.js} +1 -1
  179. package/dist/cobalt/{p-5d6e02dd.entry.js → p-efb3cbb0.entry.js} +1 -1
  180. package/dist/cobalt/p-efd3e0de.entry.js +1 -0
  181. package/dist/cobalt/{p-e99ddf9c.entry.js → p-f2fa2ac0.entry.js} +1 -1
  182. package/dist/cobalt/p-f403eeec.entry.js +1 -0
  183. package/dist/cobalt/{p-ce2b2048.entry.js → p-f69804a6.entry.js} +1 -1
  184. package/dist/collection/components/co-accordion/co-accordion.js +12 -2
  185. package/dist/collection/components/co-action-bar/co-action-bar.css +6 -0
  186. package/dist/collection/components/co-action-bar/co-action-bar.js +3 -2
  187. package/dist/collection/components/co-app-shell/co-app-shell.css +6 -0
  188. package/dist/collection/components/co-app-shell/co-app-shell.js +13 -2
  189. package/dist/collection/components/co-audio-player/co-audio-player.js +19 -7
  190. package/dist/collection/components/co-autocomplete/co-autocomplete.js +30 -17
  191. package/dist/collection/components/co-avatar/co-avatar.css +7 -2
  192. package/dist/collection/components/co-avatar/co-avatar.js +9 -2
  193. package/dist/collection/components/co-avatar-group/co-avatar-group.css +4 -0
  194. package/dist/collection/components/co-avatar-group/co-avatar-group.js +8 -3
  195. package/dist/collection/components/co-badge/co-badge.js +8 -1
  196. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +13 -4
  197. package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +5 -1
  198. package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +8 -2
  199. package/dist/collection/components/co-button/co-button.css +25 -2
  200. package/dist/collection/components/co-button/co-button.js +14 -8
  201. package/dist/collection/components/co-button-group/co-button-group.js +10 -3
  202. package/dist/collection/components/co-calendar/co-calendar.css +8 -0
  203. package/dist/collection/components/co-calendar/co-calendar.js +3 -1
  204. package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.js +36 -19
  205. package/dist/collection/components/co-card/co-card.js +11 -2
  206. package/dist/collection/components/co-carousel/co-carousel.css +10 -0
  207. package/dist/collection/components/co-carousel/co-carousel.js +17 -5
  208. package/dist/collection/components/co-checkbox/co-checkbox.js +11 -3
  209. package/dist/collection/components/co-checkbox-group/co-checkbox-group.js +9 -4
  210. package/dist/collection/components/co-chip/co-chip.css +25 -11
  211. package/dist/collection/components/co-chip/co-chip.js +15 -2
  212. package/dist/collection/components/co-color-area/co-color-area.css +4 -0
  213. package/dist/collection/components/co-color-area/co-color-area.js +6 -5
  214. package/dist/collection/components/co-color-picker/co-color-picker.js +4 -2
  215. package/dist/collection/components/co-color-slider/co-color-slider.js +6 -5
  216. package/dist/collection/components/co-column-picker/co-column-picker.js +51 -25
  217. package/dist/collection/components/co-combobox/co-combobox.js +18 -4
  218. package/dist/collection/components/co-command-search/co-command-search.js +19 -8
  219. package/dist/collection/components/co-data-table/co-data-table.js +8 -3
  220. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +16 -4
  221. package/dist/collection/components/co-date-field/co-date-field.js +19 -13
  222. package/dist/collection/components/co-date-picker/co-date-picker.js +38 -25
  223. package/dist/collection/components/co-date-range/co-date-range.js +19 -10
  224. package/dist/collection/components/co-date-range-picker/co-date-range-picker.js +44 -30
  225. package/dist/collection/components/co-date-time-picker/co-date-time-picker.js +30 -21
  226. package/dist/collection/components/co-document-editor/co-document-editor.js +22 -15
  227. package/dist/collection/components/co-drawer/co-drawer.css +5 -0
  228. package/dist/collection/components/co-drawer/co-drawer.js +13 -0
  229. package/dist/collection/components/co-drive-card/co-drive-card.js +14 -1
  230. package/dist/collection/components/co-drop-zone/co-drop-zone.js +7 -2
  231. package/dist/collection/components/co-emoji-picker/co-emoji-picker.css +4 -0
  232. package/dist/collection/components/co-emoji-picker/co-emoji-picker.js +11 -2
  233. package/dist/collection/components/co-empty-state/co-empty-state.js +4 -2
  234. package/dist/collection/components/co-event-calendar/co-event-calendar.js +16 -4
  235. package/dist/collection/components/co-event-popover/co-event-popover.js +18 -6
  236. package/dist/collection/components/co-fab/co-fab.css +8 -0
  237. package/dist/collection/components/co-fab/co-fab.js +17 -8
  238. package/dist/collection/components/co-file-field/co-file-field.js +16 -11
  239. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +9 -2
  240. package/dist/collection/components/co-gradient-bar/co-gradient-bar.css +5 -0
  241. package/dist/collection/components/co-gradient-bar/co-gradient-bar.js +7 -2
  242. package/dist/collection/components/co-helper-text/co-helper-text.js +4 -2
  243. package/dist/collection/components/co-icon/co-icon.js +6 -2
  244. package/dist/collection/components/co-icon-button/co-icon-button.css +9 -0
  245. package/dist/collection/components/co-icon-button/co-icon-button.js +12 -7
  246. package/dist/collection/components/co-input/co-input.css +3 -0
  247. package/dist/collection/components/co-input/co-input.js +11 -0
  248. package/dist/collection/components/co-json-field/co-json-field.js +19 -12
  249. package/dist/collection/components/co-kbd/co-kbd.js +8 -1
  250. package/dist/collection/components/co-list-footer/co-list-footer.js +4 -1
  251. package/dist/collection/components/co-list-item/co-list-item.js +7 -4
  252. package/dist/collection/components/co-loader/co-loader.js +5 -0
  253. package/dist/collection/components/co-media-thumb/co-media-thumb.js +9 -2
  254. package/dist/collection/components/co-menu/co-menu.css +11 -1
  255. package/dist/collection/components/co-menu/co-menu.js +13 -13
  256. package/dist/collection/components/co-menu-divider/co-menu-divider.css +4 -0
  257. package/dist/collection/components/co-menu-divider/co-menu-divider.js +2 -1
  258. package/dist/collection/components/co-menu-item/co-menu-item.css +14 -0
  259. package/dist/collection/components/co-menu-item/co-menu-item.js +2 -0
  260. package/dist/collection/components/co-modal/co-modal.css +6 -0
  261. package/dist/collection/components/co-modal/co-modal.js +97 -18
  262. package/dist/collection/components/co-navbar/co-navbar.css +7 -0
  263. package/dist/collection/components/co-navbar/co-navbar.js +4 -2
  264. package/dist/collection/components/co-number-field/co-number-field.js +29 -15
  265. package/dist/collection/components/co-option-list/co-option-list.css +38 -0
  266. package/dist/collection/components/co-option-list/co-option-list.js +33 -16
  267. package/dist/collection/components/co-overlay/co-overlay.css +11 -0
  268. package/dist/collection/components/co-overlay/co-overlay.js +140 -26
  269. package/dist/collection/components/co-overlay/focusTrap.js +111 -3
  270. package/dist/collection/components/co-page-header/co-page-header.js +4 -1
  271. package/dist/collection/components/co-popover/co-popover.css +7 -2
  272. package/dist/collection/components/co-popover/co-popover.js +29 -16
  273. package/dist/collection/components/co-progress-bar/co-progress-bar.js +5 -2
  274. package/dist/collection/components/co-progress-circle/co-progress-circle.js +5 -2
  275. package/dist/collection/components/co-provider-logo/co-provider-logo.js +3 -0
  276. package/dist/collection/components/co-radio/co-radio.js +11 -3
  277. package/dist/collection/components/co-radio-group/co-radio-group.js +9 -4
  278. package/dist/collection/components/co-rating/co-rating.js +25 -13
  279. package/dist/collection/components/co-ref-field/co-ref-field.css +14 -0
  280. package/dist/collection/components/co-ref-field/co-ref-field.js +55 -27
  281. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +46 -24
  282. package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.js +4 -1
  283. package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.js +8 -0
  284. package/dist/collection/components/co-row/co-row.js +5 -2
  285. package/dist/collection/components/co-segmented-bar/co-segmented-bar.js +9 -3
  286. package/dist/collection/components/co-select/co-select.css +13 -1
  287. package/dist/collection/components/co-select/co-select.js +42 -23
  288. package/dist/collection/components/co-separator/co-separator.js +8 -1
  289. package/dist/collection/components/co-sidebar/co-sidebar.js +10 -2
  290. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.css +5 -0
  291. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +4 -3
  292. package/dist/collection/components/co-skeleton/co-skeleton.js +4 -1
  293. package/dist/collection/components/co-slider/co-slider.css +7 -0
  294. package/dist/collection/components/co-slider/co-slider.js +25 -13
  295. package/dist/collection/components/co-swatch-grid/co-swatch-grid.js +2 -1
  296. package/dist/collection/components/co-switch/co-switch.css +4 -0
  297. package/dist/collection/components/co-switch/co-switch.js +12 -3
  298. package/dist/collection/components/co-tab/co-tab.js +14 -6
  299. package/dist/collection/components/co-tab-group/co-tab-group.js +11 -2
  300. package/dist/collection/components/co-tags-field/co-tags-field.js +21 -14
  301. package/dist/collection/components/co-tile/co-tile.js +6 -1
  302. package/dist/collection/components/co-time-field/co-time-field.js +9 -4
  303. package/dist/collection/components/co-toast/co-toast.css +11 -0
  304. package/dist/collection/components/co-toast/co-toast.js +13 -4
  305. package/dist/collection/components/co-toggle-button/co-toggle-button.css +5 -0
  306. package/dist/collection/components/co-toggle-button/co-toggle-button.js +13 -9
  307. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +18 -9
  308. package/dist/collection/components/co-tooltip/co-tooltip.js +12 -2
  309. package/dist/collection/components/co-transfer-list/co-transfer-list.js +19 -10
  310. package/dist/collection/components/co-tree-item/co-tree-item.css +11 -2
  311. package/dist/collection/components/co-tree-item/co-tree-item.js +6 -4
  312. package/dist/collection/components/co-video/co-video.css +11 -0
  313. package/dist/collection/components/co-video/co-video.js +41 -22
  314. package/dist/components/co-accordion.js +1 -1
  315. package/dist/components/co-action-bar.js +1 -1
  316. package/dist/components/co-app-shell.js +1 -1
  317. package/dist/components/co-audio-player.js +1 -1
  318. package/dist/components/co-autocomplete.js +1 -1
  319. package/dist/components/co-avatar-group.js +1 -1
  320. package/dist/components/co-avatar.js +1 -1
  321. package/dist/components/co-badge.js +1 -1
  322. package/dist/components/co-bottom-sheet.js +1 -1
  323. package/dist/components/co-breadcrumb-item.js +1 -1
  324. package/dist/components/co-breadcrumb.js +1 -1
  325. package/dist/components/co-button-group.js +1 -1
  326. package/dist/components/co-button.js +1 -1
  327. package/dist/components/co-calendar-month.js +1 -1
  328. package/dist/components/co-calendar-timegrid.js +1 -1
  329. package/dist/components/co-calendar.js +1 -1
  330. package/dist/components/co-card.js +1 -1
  331. package/dist/components/co-carousel.js +1 -1
  332. package/dist/components/co-checkbox-group.js +1 -1
  333. package/dist/components/co-checkbox.js +1 -1
  334. package/dist/components/co-chip.js +1 -1
  335. package/dist/components/co-color-area.js +1 -1
  336. package/dist/components/co-color-picker.js +1 -1
  337. package/dist/components/co-color-slider.js +1 -1
  338. package/dist/components/co-column-picker.js +1 -1
  339. package/dist/components/co-combobox.js +1 -1
  340. package/dist/components/co-command-search.js +1 -1
  341. package/dist/components/co-data-table-pagination.js +1 -1
  342. package/dist/components/co-data-table.js +1 -1
  343. package/dist/components/co-date-field.js +1 -1
  344. package/dist/components/co-date-picker.js +1 -1
  345. package/dist/components/co-date-range-picker.js +1 -1
  346. package/dist/components/co-date-range.js +1 -1
  347. package/dist/components/co-date-time-picker.js +1 -1
  348. package/dist/components/co-document-editor.js +1 -1
  349. package/dist/components/co-drawer.js +1 -1
  350. package/dist/components/co-drive-card.js +1 -1
  351. package/dist/components/co-drop-zone.js +1 -1
  352. package/dist/components/co-emoji-picker.js +1 -1
  353. package/dist/components/co-empty-state.js +1 -1
  354. package/dist/components/co-event-calendar.js +1 -1
  355. package/dist/components/co-event-popover.js +1 -1
  356. package/dist/components/co-fab.js +1 -1
  357. package/dist/components/co-file-field.js +1 -1
  358. package/dist/components/co-file-type-tile.js +1 -1
  359. package/dist/components/co-gradient-bar.js +1 -1
  360. package/dist/components/co-helper-text.js +1 -1
  361. package/dist/components/co-icon-button.js +1 -1
  362. package/dist/components/co-icon.js +1 -1
  363. package/dist/components/co-input.js +1 -1
  364. package/dist/components/co-json-field.js +1 -1
  365. package/dist/components/co-kbd.js +1 -1
  366. package/dist/components/co-lightbox.js +1 -1
  367. package/dist/components/co-list-footer.js +1 -1
  368. package/dist/components/co-list-item.js +1 -1
  369. package/dist/components/co-media-thumb.js +1 -1
  370. package/dist/components/co-menu-divider.js +1 -1
  371. package/dist/components/co-menu-item.js +1 -1
  372. package/dist/components/co-menu.js +1 -1
  373. package/dist/components/co-modal.js +1 -1
  374. package/dist/components/co-navbar.js +1 -1
  375. package/dist/components/co-number-field.js +1 -1
  376. package/dist/components/co-option-list.js +1 -1
  377. package/dist/components/co-overlay.js +1 -1
  378. package/dist/components/co-page-header.js +1 -1
  379. package/dist/components/co-phone-field.js +1 -1
  380. package/dist/components/co-popover.js +1 -1
  381. package/dist/components/co-progress-bar.js +1 -1
  382. package/dist/components/co-progress-circle.js +1 -1
  383. package/dist/components/co-radio-group.js +1 -1
  384. package/dist/components/co-radio.js +1 -1
  385. package/dist/components/co-rating.js +1 -1
  386. package/dist/components/co-ref-field.js +1 -1
  387. package/dist/components/co-rich-text-editor.js +1 -1
  388. package/dist/components/co-rich-text-toolbar.js +1 -1
  389. package/dist/components/co-rich-text-viewer.js +1 -1
  390. package/dist/components/co-row.js +1 -1
  391. package/dist/components/co-segmented-bar.js +1 -1
  392. package/dist/components/co-select.js +1 -1
  393. package/dist/components/co-separator.js +1 -1
  394. package/dist/components/co-sidebar-nav.js +1 -1
  395. package/dist/components/co-sidebar.js +1 -1
  396. package/dist/components/co-skeleton.js +1 -1
  397. package/dist/components/co-slider.js +1 -1
  398. package/dist/components/co-swatch-grid.js +1 -1
  399. package/dist/components/co-switch.js +1 -1
  400. package/dist/components/co-tab-group.js +1 -1
  401. package/dist/components/co-tab.js +1 -1
  402. package/dist/components/co-tags-field.js +1 -1
  403. package/dist/components/co-textarea.js +1 -1
  404. package/dist/components/co-tile.js +1 -1
  405. package/dist/components/co-time-field.js +1 -1
  406. package/dist/components/co-toast.js +1 -1
  407. package/dist/components/co-toggle-button-group.js +1 -1
  408. package/dist/components/co-toggle-button.js +1 -1
  409. package/dist/components/co-tooltip.js +1 -1
  410. package/dist/components/co-transfer-list.js +1 -1
  411. package/dist/components/co-tree-item.js +1 -1
  412. package/dist/components/co-video.js +1 -1
  413. package/dist/components/{p-BQltjDw5.js → p-8XzG8pzY.js} +1 -1
  414. package/dist/components/{p-FA1kBmZ-.js → p-9VoFSbIH.js} +1 -1
  415. package/dist/components/{p-CpGEV0iM.js → p-B3Egz082.js} +1 -1
  416. package/dist/components/{p-Bymi-A7C.js → p-B9wdMd_0.js} +1 -1
  417. package/dist/components/{p-CGH3E8uK.js → p-BI_VaFsx.js} +1 -1
  418. package/dist/components/{p-Dp650Gpp.js → p-BRZci8B3.js} +1 -1
  419. package/dist/components/{p-Dh_eRYKu.js → p-BdmzslA5.js} +1 -1
  420. package/dist/components/{p-C3G8oPgU.js → p-Bw_b_czs.js} +1 -1
  421. package/dist/components/{p-BraiMwgs.js → p-C4sZjIDj.js} +1 -1
  422. package/dist/components/{p-B20o5exO.js → p-C6WHpL5X.js} +1 -1
  423. package/dist/components/p-COozgrEk.js +1 -0
  424. package/dist/components/{p-CfJgypOl.js → p-C_6szR7t.js} +1 -1
  425. package/dist/components/{p-RVQJEYxa.js → p-Ch-Tygdb.js} +1 -1
  426. package/dist/components/{p-ChwSnCFf.js → p-CiYPJW0B.js} +1 -1
  427. package/dist/components/{p-f2xwcrXa.js → p-Cnfd6Zze.js} +1 -1
  428. package/dist/components/{p-C1jZYtUS.js → p-CxWo3qDo.js} +1 -1
  429. package/dist/components/p-D4XP17VP.js +1 -0
  430. package/dist/components/{p-BIDSDP05.js → p-DB8DGMc-.js} +1 -1
  431. package/dist/components/p-DGLDAl09.js +1 -0
  432. package/dist/components/{p-C-f8wTqe.js → p-DhPxNA2f.js} +1 -1
  433. package/dist/components/{p-D9or2g4j.js → p-Dn2wblrA.js} +1 -1
  434. package/dist/components/p-Dnz99Ox_.js +1 -0
  435. package/dist/components/{p-BcXdId8y.js → p-DsuFNmTI.js} +1 -1
  436. package/dist/components/{p-DKXCr-hE.js → p-DymSqdlK.js} +1 -1
  437. package/dist/components/{p-B3kKOgsA.js → p-KK2vAKs-.js} +1 -1
  438. package/dist/components/{p-d4rf3H8p.js → p-TGRbLkLz.js} +1 -1
  439. package/dist/components/{p-BOqtnWTJ.js → p-VcrjNCew.js} +1 -1
  440. package/dist/components/p-wUXcJGdy.js +1 -0
  441. package/dist/esm/co-accordion.entry.js +2 -2
  442. package/dist/esm/co-action-bar.entry.js +2 -2
  443. package/dist/esm/co-app-shell.entry.js +2 -2
  444. package/dist/esm/co-audio-player.entry.js +3 -3
  445. package/dist/esm/co-autocomplete.entry.js +10 -3
  446. package/dist/esm/co-avatar-group.entry.js +2 -2
  447. package/dist/esm/co-avatar.entry.js +1 -1
  448. package/dist/esm/co-badge.entry.js +1 -1
  449. package/dist/esm/co-bottom-sheet.entry.js +4 -4
  450. package/dist/esm/co-breadcrumb-item.entry.js +2 -2
  451. package/dist/esm/co-breadcrumb.entry.js +1 -1
  452. package/dist/esm/co-button-group.entry.js +3 -2
  453. package/dist/esm/co-button.entry.js +6 -6
  454. package/dist/esm/co-calendar-month_2.entry.js +14 -2
  455. package/dist/esm/co-calendar_3.entry.js +9 -5
  456. package/dist/esm/co-card.entry.js +2 -2
  457. package/dist/esm/co-carousel.entry.js +5 -2
  458. package/dist/esm/co-checkbox-group.entry.js +3 -3
  459. package/dist/esm/co-checkbox.entry.js +3 -3
  460. package/dist/esm/co-chip_2.entry.js +16 -6
  461. package/dist/esm/co-color-area.entry.js +2 -2
  462. package/dist/esm/co-color-picker.entry.js +2 -2
  463. package/dist/esm/co-color-slider.entry.js +3 -3
  464. package/dist/esm/co-column-picker.entry.js +22 -2
  465. package/dist/esm/co-combobox.entry.js +3 -3
  466. package/dist/esm/co-command-search.entry.js +4 -4
  467. package/dist/esm/co-data-table-pagination.entry.js +4 -4
  468. package/dist/esm/co-data-table.entry.js +2 -2
  469. package/dist/esm/co-date-picker.entry.js +8 -0
  470. package/dist/esm/co-date-range-picker.entry.js +9 -0
  471. package/dist/esm/co-date-range.entry.js +7 -1
  472. package/dist/esm/co-date-time-picker.entry.js +9 -2
  473. package/dist/esm/co-document-editor.entry.js +9 -3
  474. package/dist/esm/co-drive-card.entry.js +1 -1
  475. package/dist/esm/co-drop-zone.entry.js +1 -1
  476. package/dist/esm/co-emoji-picker.entry.js +2 -2
  477. package/dist/esm/co-empty-state.entry.js +2 -2
  478. package/dist/esm/co-event-calendar.entry.js +4 -2
  479. package/dist/esm/co-event-popover.entry.js +5 -1
  480. package/dist/esm/co-fab.entry.js +6 -2
  481. package/dist/esm/co-file-field.entry.js +10 -6
  482. package/dist/esm/co-file-type-tile.entry.js +2 -2
  483. package/dist/esm/co-gradient-bar.entry.js +2 -2
  484. package/dist/esm/co-helper-text.entry.js +2 -2
  485. package/dist/esm/co-icon-button.entry.js +5 -6
  486. package/dist/esm/co-icon.entry.js +2 -2
  487. package/dist/esm/co-json-field.entry.js +8 -3
  488. package/dist/esm/co-kbd_2.entry.js +3 -3
  489. package/dist/esm/co-list-footer.entry.js +1 -1
  490. package/dist/esm/co-list-item.entry.js +4 -4
  491. package/dist/esm/co-media-thumb.entry.js +2 -2
  492. package/dist/esm/co-menu-divider.entry.js +1 -1
  493. package/dist/esm/co-menu.entry.js +8 -8
  494. package/dist/esm/co-modal.entry.js +37 -11
  495. package/dist/esm/co-navbar.entry.js +2 -2
  496. package/dist/esm/co-number-field.entry.js +9 -3
  497. package/dist/esm/co-overlay.entry.js +205 -34
  498. package/dist/esm/co-page-header.entry.js +1 -1
  499. package/dist/esm/co-popover.entry.js +9 -7
  500. package/dist/esm/co-progress-bar.entry.js +2 -2
  501. package/dist/esm/co-progress-circle.entry.js +2 -2
  502. package/dist/esm/co-provider-logo_2.entry.js +1 -1
  503. package/dist/esm/co-radio-group.entry.js +3 -3
  504. package/dist/esm/co-radio.entry.js +3 -3
  505. package/dist/esm/co-rating.entry.js +10 -3
  506. package/dist/esm/co-ref-field.entry.js +10 -1
  507. package/dist/esm/co-rich-text-editor.entry.js +19 -5
  508. package/dist/esm/co-rich-text-toolbar.entry.js +1 -0
  509. package/dist/esm/co-rich-text-viewer.entry.js +1 -1
  510. package/dist/esm/co-row.entry.js +2 -2
  511. package/dist/esm/co-segmented-bar.entry.js +2 -2
  512. package/dist/esm/co-select.entry.js +19 -6
  513. package/dist/esm/co-separator.entry.js +1 -1
  514. package/dist/esm/co-sidebar-nav.entry.js +2 -2
  515. package/dist/esm/co-sidebar.entry.js +2 -2
  516. package/dist/esm/co-slider.entry.js +8 -2
  517. package/dist/esm/co-swatch-grid.entry.js +1 -1
  518. package/dist/esm/co-switch.entry.js +3 -3
  519. package/dist/esm/co-tab-group.entry.js +2 -2
  520. package/dist/esm/co-tab.entry.js +5 -5
  521. package/dist/esm/co-tags-field.entry.js +10 -5
  522. package/dist/esm/co-tile.entry.js +1 -1
  523. package/dist/esm/co-time-field.entry.js +4 -1
  524. package/dist/esm/co-toast.entry.js +2 -2
  525. package/dist/esm/co-toggle-button-group.entry.js +7 -4
  526. package/dist/esm/co-toggle-button.entry.js +5 -2
  527. package/dist/esm/co-transfer-list.entry.js +6 -2
  528. package/dist/esm/co-tree-item.entry.js +2 -2
  529. package/dist/esm/co-video.entry.js +10 -2
  530. package/dist/esm/cobalt.js +1 -1
  531. package/dist/esm/{index-Cpo8HTwr.js → index-CgyOJePd.js} +1 -1
  532. package/dist/esm/loader.js +1 -1
  533. package/dist/esm/{pagination-D9OfZUnY.js → pagination-BzrIQtrk.js} +26 -2
  534. package/dist/types/components/co-accordion/co-accordion.d.ts +10 -0
  535. package/dist/types/components/co-action-bar/co-action-bar.d.ts +1 -0
  536. package/dist/types/components/co-app-shell/co-app-shell.d.ts +11 -0
  537. package/dist/types/components/co-audio-player/co-audio-player.d.ts +16 -0
  538. package/dist/types/components/co-autocomplete/co-autocomplete.d.ts +21 -0
  539. package/dist/types/components/co-avatar/co-avatar.d.ts +8 -1
  540. package/dist/types/components/co-avatar-group/co-avatar-group.d.ts +5 -0
  541. package/dist/types/components/co-badge/co-badge.d.ts +7 -0
  542. package/dist/types/components/co-bottom-sheet/co-bottom-sheet.d.ts +9 -0
  543. package/dist/types/components/co-breadcrumb/co-breadcrumb.d.ts +4 -0
  544. package/dist/types/components/co-breadcrumb-item/co-breadcrumb-item.d.ts +6 -0
  545. package/dist/types/components/co-button/co-button.d.ts +9 -3
  546. package/dist/types/components/co-button-group/co-button-group.d.ts +7 -0
  547. package/dist/types/components/co-calendar/co-calendar.d.ts +2 -0
  548. package/dist/types/components/co-calendar-timegrid/co-calendar-timegrid.d.ts +23 -0
  549. package/dist/types/components/co-card/co-card.d.ts +9 -0
  550. package/dist/types/components/co-carousel/co-carousel.d.ts +12 -0
  551. package/dist/types/components/co-checkbox/co-checkbox.d.ts +8 -0
  552. package/dist/types/components/co-checkbox-group/co-checkbox-group.d.ts +5 -0
  553. package/dist/types/components/co-chip/co-chip.d.ts +13 -0
  554. package/dist/types/components/co-color-area/co-color-area.d.ts +2 -1
  555. package/dist/types/components/co-color-picker/co-color-picker.d.ts +2 -0
  556. package/dist/types/components/co-color-slider/co-color-slider.d.ts +2 -1
  557. package/dist/types/components/co-column-picker/co-column-picker.d.ts +32 -0
  558. package/dist/types/components/co-combobox/co-combobox.d.ts +14 -0
  559. package/dist/types/components/co-command-search/co-command-search.d.ts +15 -0
  560. package/dist/types/components/co-data-table/co-data-table.d.ts +5 -0
  561. package/dist/types/components/co-data-table-pagination/co-data-table-pagination.d.ts +12 -0
  562. package/dist/types/components/co-date-field/co-date-field.d.ts +11 -0
  563. package/dist/types/components/co-date-picker/co-date-picker.d.ts +30 -0
  564. package/dist/types/components/co-date-range/co-date-range.d.ts +12 -0
  565. package/dist/types/components/co-date-range-picker/co-date-range-picker.d.ts +33 -0
  566. package/dist/types/components/co-date-time-picker/co-date-time-picker.d.ts +21 -0
  567. package/dist/types/components/co-document-editor/co-document-editor.d.ts +9 -1
  568. package/dist/types/components/co-drawer/co-drawer.d.ts +13 -0
  569. package/dist/types/components/co-drive-card/co-drive-card.d.ts +13 -0
  570. package/dist/types/components/co-drop-zone/co-drop-zone.d.ts +6 -1
  571. package/dist/types/components/co-emoji-picker/co-emoji-picker.d.ts +9 -0
  572. package/dist/types/components/co-empty-state/co-empty-state.d.ts +2 -0
  573. package/dist/types/components/co-event-calendar/co-event-calendar.d.ts +12 -16
  574. package/dist/types/components/co-event-popover/co-event-popover.d.ts +13 -0
  575. package/dist/types/components/co-fab/co-fab.d.ts +11 -0
  576. package/dist/types/components/co-file-field/co-file-field.d.ts +6 -0
  577. package/dist/types/components/co-file-type-tile/co-file-type-tile.d.ts +7 -0
  578. package/dist/types/components/co-gradient-bar/co-gradient-bar.d.ts +5 -0
  579. package/dist/types/components/co-helper-text/co-helper-text.d.ts +2 -0
  580. package/dist/types/components/co-icon/co-icon.d.ts +4 -0
  581. package/dist/types/components/co-icon-button/co-icon-button.d.ts +9 -4
  582. package/dist/types/components/co-input/co-input.d.ts +11 -0
  583. package/dist/types/components/co-json-field/co-json-field.d.ts +11 -0
  584. package/dist/types/components/co-kbd/co-kbd.d.ts +7 -0
  585. package/dist/types/components/co-list-footer/co-list-footer.d.ts +3 -0
  586. package/dist/types/components/co-list-item/co-list-item.d.ts +3 -0
  587. package/dist/types/components/co-loader/co-loader.d.ts +5 -0
  588. package/dist/types/components/co-media-thumb/co-media-thumb.d.ts +7 -0
  589. package/dist/types/components/co-menu/co-menu.d.ts +6 -4
  590. package/dist/types/components/co-menu-divider/co-menu-divider.d.ts +1 -0
  591. package/dist/types/components/co-menu-item/co-menu-item.d.ts +2 -0
  592. package/dist/types/components/co-modal/co-modal.d.ts +47 -12
  593. package/dist/types/components/co-navbar/co-navbar.d.ts +2 -0
  594. package/dist/types/components/co-number-field/co-number-field.d.ts +20 -0
  595. package/dist/types/components/co-option-list/co-option-list.d.ts +28 -1
  596. package/dist/types/components/co-overlay/co-overlay.d.ts +39 -1
  597. package/dist/types/components/co-overlay/focusTrap.d.ts +24 -3
  598. package/dist/types/components/co-page-header/co-page-header.d.ts +3 -0
  599. package/dist/types/components/co-popover/co-popover.d.ts +20 -5
  600. package/dist/types/components/co-progress-bar/co-progress-bar.d.ts +3 -0
  601. package/dist/types/components/co-progress-circle/co-progress-circle.d.ts +3 -0
  602. package/dist/types/components/co-provider-logo/co-provider-logo.d.ts +3 -0
  603. package/dist/types/components/co-radio/co-radio.d.ts +8 -0
  604. package/dist/types/components/co-radio-group/co-radio-group.d.ts +5 -0
  605. package/dist/types/components/co-rating/co-rating.d.ts +15 -0
  606. package/dist/types/components/co-ref-field/co-ref-field.d.ts +42 -0
  607. package/dist/types/components/co-rich-text-editor/co-rich-text-editor.d.ts +29 -0
  608. package/dist/types/components/co-rich-text-toolbar/co-rich-text-toolbar.d.ts +3 -0
  609. package/dist/types/components/co-rich-text-viewer/co-rich-text-viewer.d.ts +8 -0
  610. package/dist/types/components/co-row/co-row.d.ts +3 -0
  611. package/dist/types/components/co-segmented-bar/co-segmented-bar.d.ts +6 -0
  612. package/dist/types/components/co-select/co-select.d.ts +26 -0
  613. package/dist/types/components/co-separator/co-separator.d.ts +7 -0
  614. package/dist/types/components/co-sidebar/co-sidebar.d.ts +8 -0
  615. package/dist/types/components/co-sidebar-nav/co-sidebar-nav.d.ts +1 -0
  616. package/dist/types/components/co-skeleton/co-skeleton.d.ts +3 -0
  617. package/dist/types/components/co-slider/co-slider.d.ts +17 -0
  618. package/dist/types/components/co-swatch-grid/co-swatch-grid.d.ts +1 -0
  619. package/dist/types/components/co-switch/co-switch.d.ts +9 -0
  620. package/dist/types/components/co-tab/co-tab.d.ts +11 -3
  621. package/dist/types/components/co-tab-group/co-tab-group.d.ts +9 -0
  622. package/dist/types/components/co-tags-field/co-tags-field.d.ts +11 -0
  623. package/dist/types/components/co-tile/co-tile.d.ts +5 -0
  624. package/dist/types/components/co-time-field/co-time-field.d.ts +5 -0
  625. package/dist/types/components/co-toast/co-toast.d.ts +9 -0
  626. package/dist/types/components/co-toggle-button/co-toggle-button.d.ts +8 -0
  627. package/dist/types/components/co-toggle-button-group/co-toggle-button-group.d.ts +12 -2
  628. package/dist/types/components/co-tooltip/co-tooltip.d.ts +10 -0
  629. package/dist/types/components/co-transfer-list/co-transfer-list.d.ts +12 -0
  630. package/dist/types/components/co-tree-item/co-tree-item.d.ts +2 -0
  631. package/dist/types/components/co-video/co-video.d.ts +31 -0
  632. package/dist/types/components.d.ts +2223 -40
  633. package/package.json +2 -2
  634. package/dist/cobalt/p-1bfb69ae.entry.js +0 -1
  635. package/dist/cobalt/p-2794c500.entry.js +0 -1
  636. package/dist/cobalt/p-B1JT7us1.js +0 -1
  637. package/dist/cobalt/p-b2b13da8.entry.js +0 -1
  638. package/dist/cobalt/p-b9dfb333.entry.js +0 -1
  639. package/dist/cobalt/p-bc4fbfa6.entry.js +0 -1
  640. package/dist/cobalt/p-d75d2f3d.entry.js +0 -1
  641. package/dist/cobalt/p-f246946a.entry.js +0 -1
  642. package/dist/cobalt/p-f60bd4d6.entry.js +0 -1
  643. package/dist/components/p-B1JT7us1.js +0 -1
  644. package/dist/components/p-BR0LYW9v.js +0 -1
  645. package/dist/components/p-BZDl9aFl.js +0 -1
  646. package/dist/components/p-DfcPGitr.js +0 -1
  647. package/dist/components/p-Dg-Ti_Bf.js +0 -1
  648. /package/dist/cobalt/{p-05000ef3.entry.js → p-6974df59.entry.js} +0 -0
  649. /package/dist/cobalt/{p-ffbe955a.entry.js → p-71dc8e4a.entry.js} +0 -0
  650. /package/dist/cobalt/{p-297b55cd.entry.js → p-77e0d401.entry.js} +0 -0
  651. /package/dist/cobalt/{p-4c6caa41.entry.js → p-c567533e.entry.js} +0 -0
@@ -57,18 +57,18 @@ const CoCheckbox = class {
57
57
  // Only override the fill when a custom color is provided AND the box is "on".
58
58
  // Leaving this undefined keeps the default appearance byte-identical to before.
59
59
  const boxStyle = this.checkedColor && isOn ? { background: this.checkedColor } : undefined;
60
- return (index.h("div", { key: '9de8d31f441ffebc9b7aeafeb8ad3309b223c70a', class: {
60
+ return (index.h("div", { key: '9e2c38b7ae4421165cf8ebea81516a91478b99a1', class: {
61
61
  'co-checkbox-row': true,
62
62
  'co-checkbox-row--disabled': this.disabled,
63
63
  'co-checkbox-row--label-xs': this.labelSize === 'xs',
64
- }, onClick: this.handleClick }, index.h("span", { key: 'a8a05c66edf39223dc670f998a526e0fe48fad52', role: "checkbox", "aria-checked": this.indeterminate ? 'mixed' : String(this.checked), "aria-label": this.label || this.ariaLabelText || '', "aria-disabled": this.disabled ? 'true' : undefined, tabIndex: this.disabled ? -1 : 0, onKeyDown: this.handleKeyDown, class: {
64
+ }, onClick: this.handleClick }, index.h("span", { key: '6d7d00ff7624068dda50673b75844f7ac338c6e9', role: "checkbox", "aria-checked": this.indeterminate ? 'mixed' : String(this.checked), "aria-label": this.label || this.ariaLabelText || '', "aria-disabled": this.disabled ? 'true' : undefined, tabIndex: this.disabled ? -1 : 0, onKeyDown: this.handleKeyDown, class: {
65
65
  'co-checkbox': true,
66
66
  [`co-checkbox--${this.size}`]: true,
67
67
  'co-checkbox--overlay': isOverlay,
68
68
  'co-checkbox--checked': this.checked && !this.indeterminate,
69
69
  'co-checkbox--indeterminate': this.indeterminate,
70
70
  'co-checkbox--disabled': this.disabled,
71
- }, style: boxStyle, part: "box" }, index.h("svg", { key: '45c59e90ec645d1a7585cc78acc932dc4779da05', class: "co-checkbox__glyph", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, index.h("path", { key: 'e764cbd5543edab329bc41a55946d6d12d33985a', class: "co-checkbox__check", d: "M3.5 8.5l3 3 6-6.5", pathLength: "1", "stroke-linecap": "round", "stroke-linejoin": "round" }), index.h("path", { key: 'eb20f21d61965c7be426bac5e819e665f58d9549', class: "co-checkbox__dash", d: "M3 8h10", pathLength: "1", "stroke-linecap": "round" }))), this.label && (index.h("span", { key: '4b7b06bab99f6181ce5670c2bfb694a3ff7fd249', class: "co-checkbox__label", part: "label" }, this.label))));
71
+ }, style: boxStyle, part: "box" }, index.h("svg", { key: '2c6377c45aa39658fe85d399d812fb7f32d0a51b', class: "co-checkbox__glyph", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, index.h("path", { key: '0f754ffa9b90acc943bcb9ec354a27596b4b3532', class: "co-checkbox__check", d: "M3.5 8.5l3 3 6-6.5", pathLength: "1", "stroke-linecap": "round", "stroke-linejoin": "round" }), index.h("path", { key: 'beca1dff6db4a2eae3c7c2c25dcd10061fae5f31', class: "co-checkbox__dash", d: "M3 8h10", pathLength: "1", "stroke-linecap": "round" }))), this.label && (index.h("span", { key: '28f0916e57c3377040ebeb2a901ba1dec491f580', class: "co-checkbox__label", part: "label" }, this.label))));
72
72
  }
73
73
  };
74
74
  CoCheckbox.style = coCheckboxCss();
@@ -5,7 +5,7 @@ var normalizeText = require('./normalizeText-D9rlJWZa.js');
5
5
  var overlayScroll = require('./overlayScroll-ifzDNeyb.js');
6
6
  require('./overlayscrollbars-BlBHo2Xx.js');
7
7
 
8
- const coChipCss = () => `:host{display:inline-flex;max-width:var(--co-chip-max-width, none)}.co-chip{display:inline-flex;align-items:center;justify-content:center;font-family:var(--co-font-family-primary);font-weight:400;line-height:1;letter-spacing:var(--co-font-letter-spacing-body);white-space:nowrap;box-sizing:border-box;-webkit-font-smoothing:antialiased;max-width:100%;overflow:hidden;border:1px solid transparent;transition:background var(--co-motion-duration-fast) var(--co-motion-ease-out), border-color var(--co-motion-duration-fast) var(--co-motion-ease-out), opacity var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out);cursor:default;margin:0;padding:0}button.co-chip{cursor:pointer;outline:none}button.co-chip:focus-visible{box-shadow:0 0 0 2px var(--co-semantic-border-focus-ring)}.co-chip__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.co-chip__value{color:var(--co-chip-value-color, var(--co-color-gray-500, #888888))}.co-chip--filled{background:var(--co-chip-bg, var(--co-semantic-surface-muted));color:var(--co-chip-color, var(--co-semantic-text-default));border-color:var(--co-chip-border, transparent)}.co-chip--filled.co-chip--clickable:hover:not(.co-chip--disabled){background:var(--co-color-opacity-negro-8, rgba(0, 0, 0, 0.08))}.co-chip--filled.co-chip--clickable:active:not(.co-chip--disabled){opacity:0.85}.co-chip--filled.co-chip--primary{background:var(--co-semantic-surface-primary);color:var(--co-semantic-on-primary)}.co-chip--filled.co-chip--primary.co-chip--clickable:hover:not(.co-chip--disabled){background:var(--co-semantic-surface-primary);opacity:0.85}.co-chip--filled.co-chip--success{background:var(--co-semantic-status-success);color:#fff}.co-chip--filled.co-chip--error{background:var(--co-semantic-status-error);color:#fff}.co-chip--filled.co-chip--warning{background:var(--co-color-status-review);color:#fff}.co-chip--filled.co-chip--info{background:var(--co-semantic-status-info);color:#fff}.co-chip--filled.co-chip--pending{background:var(--co-color-status-pending);color:#fff}.co-chip--filled.co-chip--progress{background:var(--co-color-status-progress);color:#fff}.co-chip--filled.co-chip--review{background:var(--co-color-status-review);color:#fff}.co-chip--filled.co-chip--submitted{background:var(--co-color-status-submitted);color:#fff}.co-chip--outlined{background:transparent;color:var(--co-semantic-text-default);border-color:var(--co-semantic-border-default)}.co-chip--outlined.co-chip--clickable:hover:not(.co-chip--disabled){background:var(--co-semantic-surface-hover)}.co-chip--outlined.co-chip--clickable:active:not(.co-chip--disabled){background:var(--co-semantic-surface-muted)}.co-chip--outlined.co-chip--primary{color:var(--co-semantic-surface-primary);border-color:var(--co-semantic-surface-primary)}.co-chip--outlined.co-chip--success{color:var(--co-semantic-status-success);border-color:var(--co-semantic-status-success)}.co-chip--outlined.co-chip--error{color:var(--co-semantic-status-error);border-color:var(--co-semantic-status-error)}.co-chip--outlined.co-chip--warning{color:var(--co-color-status-review);border-color:var(--co-color-status-review)}.co-chip--outlined.co-chip--info{color:var(--co-semantic-status-info);border-color:var(--co-semantic-status-info)}.co-chip--filled.co-chip--selected{box-shadow:inset 0 0 0 1px rgba(255, 255, 255, 0.3)}.co-chip--outlined.co-chip--selected{background:var(--co-semantic-surface-muted);border-width:2px}.co-chip--disabled{opacity:0.4;cursor:not-allowed;pointer-events:none}button.co-chip--disabled{pointer-events:auto;}.co-chip--large{font-size:var(--co-font-size-12)}.co-chip--large.co-chip--icon-none{padding:var(--co-spacing-sm) var(--co-spacing-sm2);gap:0}.co-chip--large.co-chip--icon-left{padding:var(--co-spacing-xs) var(--co-spacing-sm2) var(--co-spacing-xs) var(--co-spacing-sm);gap:var(--co-spacing-sm)}.co-chip--large.co-chip--icon-right{padding:var(--co-spacing-xs) var(--co-spacing-xs) var(--co-spacing-xs) var(--co-spacing-sm2);gap:var(--co-spacing-sm)}.co-chip--large.co-chip--icon-both{padding:var(--co-spacing-xs);gap:var(--co-spacing-sm)}.co-chip--small{font-size:var(--co-font-size-10)}.co-chip--small.co-chip--icon-none{padding:var(--co-spacing-xs) var(--co-spacing-sm);gap:0}.co-chip--small.co-chip--icon-left{padding:var(--co-spacing-xs) var(--co-spacing-sm) var(--co-spacing-xs) var(--co-spacing-xs);gap:var(--co-spacing-xs)}.co-chip--small.co-chip--icon-right{padding:var(--co-spacing-xs) var(--co-spacing-xs) var(--co-spacing-xs) var(--co-spacing-sm);gap:var(--co-spacing-xs)}.co-chip--small.co-chip--icon-both{padding:var(--co-spacing-xs);gap:var(--co-spacing-xs)}.co-chip--rounded{border-radius:var(--co-border-radius-full)}.co-chip--square{border-radius:var(--co-spacing-sm)}.co-chip__icon-left,.co-chip__icon-right,.co-chip__dot,.co-chip__trailing{display:inline-flex;flex-shrink:0;align-items:center}.co-chip__trailing{color:var(--co-chip-trailing-color, currentColor)}.co-chip--large .co-chip__icon-left,.co-chip--large .co-chip__icon-right,.co-chip--large .co-chip__dot{width:16px;height:16px}.co-chip--small .co-chip__icon-left,.co-chip--small .co-chip__icon-right,.co-chip--small .co-chip__dot{width:10px;height:10px}.co-chip__remove{display:inline-flex;flex-shrink:0;align-items:center;cursor:pointer;opacity:1;transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-out);border:none;background:transparent;padding:0;color:inherit}.co-chip__remove:hover{opacity:0.7}.co-chip--large .co-chip__remove{width:16px;height:16px}.co-chip--small .co-chip__remove{width:10px;height:10px}::slotted(*){display:inline-flex;width:100%;height:100%}.co-chip.co-chip--filter{height:34px;padding:0 12px;gap:7px;font-size:13.5px;border-radius:var(--co-border-radius-full);background:var(--co-color-base-blanco, #fff);color:var(--co-color-base-negro, #1f1c1b);border-color:transparent;box-shadow:inset 0 0 0 1px var(--co-color-opacity-negro-16, rgba(0, 0, 0, 0.16))}.co-chip--filter .co-chip__icon-left{color:var(--co-color-gray-500, #888888)}.co-chip--filter .co-chip__trailing{color:var(--co-color-gray-400, #a0a0a0)}.co-chip--filter.co-chip--clickable:hover:not(.co-chip--disabled){box-shadow:inset 0 0 0 1px var(--co-color-opacity-negro-25, rgba(0, 0, 0, 0.25))}.co-chip--filter.co-chip--clickable:active:not(.co-chip--disabled){background:var(--co-color-gray-100, #f6f6f6)}.co-chip--filter.co-chip--selected{background:var(--co-color-gray-100, #f6f6f6)}`;
8
+ const coChipCss = () => `:host{display:inline-flex;max-width:var(--co-chip-max-width, none)}.co-chip{display:inline-flex;align-items:center;justify-content:center;font-family:var(--co-font-family-primary);font-weight:400;line-height:1;letter-spacing:var(--co-font-letter-spacing-body);white-space:nowrap;box-sizing:border-box;-webkit-font-smoothing:antialiased;max-width:100%;overflow:hidden;border:1px solid transparent;transition:background var(--co-motion-duration-fast) var(--co-motion-ease-out), border-color var(--co-motion-duration-fast) var(--co-motion-ease-out), opacity var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out);cursor:default;margin:0;padding:0}button.co-chip{cursor:pointer;outline:none}button.co-chip:focus-visible{box-shadow:0 0 0 2px var(--co-semantic-border-focus-ring)}.co-chip__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.co-chip__value{color:var(--co-chip-value-color, var(--co-color-gray-500, #888888))}.co-chip--filled{background:var(--co-chip-bg, var(--co-semantic-surface-muted));color:var(--co-chip-color, var(--co-semantic-text-default));border-color:var(--co-chip-border, transparent)}.co-chip--filled.co-chip--clickable:hover:not(.co-chip--disabled){background:var(--co-color-opacity-negro-8, rgba(0, 0, 0, 0.08))}.co-chip--filled.co-chip--clickable:active:not(.co-chip--disabled){opacity:0.85}.co-chip--filled.co-chip--primary{background:var(--co-semantic-surface-primary);color:var(--co-semantic-on-primary)}.co-chip--filled.co-chip--primary.co-chip--clickable:hover:not(.co-chip--disabled){background:var(--co-semantic-surface-primary);opacity:0.85}.co-chip--filled.co-chip--success{background:var(--co-semantic-status-success);color:#fff}.co-chip--filled.co-chip--error{background:var(--co-semantic-status-error);color:#fff}.co-chip--filled.co-chip--warning{background:var(--co-color-status-review);color:#fff}.co-chip--filled.co-chip--info{background:var(--co-semantic-status-info);color:#fff}.co-chip--filled.co-chip--pending{background:var(--co-color-status-pending);color:#fff}.co-chip--filled.co-chip--progress{background:var(--co-color-status-progress);color:#fff}.co-chip--filled.co-chip--review{background:var(--co-color-status-review);color:#fff}.co-chip--filled.co-chip--submitted{background:var(--co-color-status-submitted);color:#fff}.co-chip--outlined{background:transparent;color:var(--co-semantic-text-default);border-color:var(--co-semantic-border-default)}.co-chip--outlined.co-chip--clickable:hover:not(.co-chip--disabled){background:var(--co-semantic-surface-hover)}.co-chip--outlined.co-chip--clickable:active:not(.co-chip--disabled){background:var(--co-semantic-surface-muted)}.co-chip--outlined.co-chip--primary{color:var(--co-semantic-surface-primary);border-color:var(--co-semantic-surface-primary)}.co-chip--outlined.co-chip--success{color:var(--co-semantic-status-success);border-color:var(--co-semantic-status-success)}.co-chip--outlined.co-chip--error{color:var(--co-semantic-status-error);border-color:var(--co-semantic-status-error)}.co-chip--outlined.co-chip--warning{color:var(--co-color-status-review);border-color:var(--co-color-status-review)}.co-chip--outlined.co-chip--info{color:var(--co-semantic-status-info);border-color:var(--co-semantic-status-info)}.co-chip--filled.co-chip--selected{box-shadow:inset 0 0 0 1px rgba(255, 255, 255, 0.3)}.co-chip--outlined.co-chip--selected{background:var(--co-semantic-surface-muted);border-width:2px}.co-chip--disabled{opacity:0.4;cursor:not-allowed;pointer-events:none}button.co-chip--disabled{pointer-events:auto;}.co-chip--large{font-size:var(--co-font-size-12)}.co-chip--large.co-chip--icon-none{padding:var(--co-spacing-sm) var(--co-spacing-sm2);gap:0}.co-chip--large.co-chip--icon-left{padding:var(--co-spacing-xs) var(--co-spacing-sm2) var(--co-spacing-xs) var(--co-spacing-sm);gap:var(--co-spacing-sm)}.co-chip--large.co-chip--icon-right{padding:var(--co-spacing-xs) var(--co-spacing-xs) var(--co-spacing-xs) var(--co-spacing-sm2);gap:var(--co-spacing-sm)}.co-chip--large.co-chip--icon-both{padding:var(--co-spacing-xs);gap:var(--co-spacing-sm)}.co-chip--small{font-size:var(--co-font-size-10)}.co-chip--small.co-chip--icon-none{padding:var(--co-spacing-xs) var(--co-spacing-sm);gap:0}.co-chip--small.co-chip--icon-left{padding:var(--co-spacing-xs) var(--co-spacing-sm) var(--co-spacing-xs) var(--co-spacing-xs);gap:var(--co-spacing-xs)}.co-chip--small.co-chip--icon-right{padding:var(--co-spacing-xs) var(--co-spacing-xs) var(--co-spacing-xs) var(--co-spacing-sm);gap:var(--co-spacing-xs)}.co-chip--small.co-chip--icon-both{padding:var(--co-spacing-xs);gap:var(--co-spacing-xs)}.co-chip--rounded{border-radius:var(--co-border-radius-full)}.co-chip--square{border-radius:var(--co-spacing-sm)}.co-chip__icon-left,.co-chip__icon-right,.co-chip__dot,.co-chip__trailing{display:inline-flex;flex-shrink:0;align-items:center}.co-chip__trailing{color:var(--co-chip-trailing-color, currentColor)}.co-chip--large .co-chip__icon-left,.co-chip--large .co-chip__icon-right,.co-chip--large .co-chip__dot{width:16px;height:16px}.co-chip--small .co-chip__icon-left,.co-chip--small .co-chip__icon-right,.co-chip--small .co-chip__dot{width:10px;height:10px}.co-chip__remove{display:inline-flex;flex-shrink:0;align-items:center;cursor:pointer;opacity:1;transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-out);border:none;background:transparent;padding:0;color:inherit}.co-chip__remove:hover{opacity:0.7}.co-chip--large .co-chip__remove{width:16px;height:16px}.co-chip--small .co-chip__remove{width:10px;height:10px}::slotted(*){display:inline-flex;width:100%;height:100%}.co-chip.co-chip--filter{height:34px;padding:0 12px;gap:7px;font-size:13.5px;border-radius:var(--co-border-radius-full);background:var(--co-semantic-surface-page, #fff);color:var(--co-semantic-text-default, #1f1c1b);border-color:transparent;box-shadow:inset 0 0 0 1px var(--co-semantic-border-default, rgba(0, 0, 0, 0.16))}.co-chip--filter .co-chip__icon-left{color:var(--co-semantic-text-muted, #888888)}.co-chip--filter .co-chip__trailing{color:var(--co-color-gray-400, #a0a0a0)}.co-chip--filter.co-chip--clickable:hover:not(.co-chip--disabled){box-shadow:inset 0 0 0 1px var(--co-semantic-border-field, rgba(0, 0, 0, 0.25))}.co-chip--filter.co-chip--clickable:active:not(.co-chip--disabled){background:var(--co-semantic-surface-disabled, #f6f6f6)}.co-chip--filter.co-chip--selected{background:var(--co-semantic-surface-disabled, #f6f6f6)}`;
9
9
 
10
10
  const CoChip = class {
11
11
  constructor(hostRef) {
@@ -76,7 +76,7 @@ const CoChip = class {
76
76
  else
77
77
  effectiveIconMode = 'none';
78
78
  const Tag = this.clickable ? 'button' : 'div';
79
- return (index.h(Tag, { key: '00d8eb125566907af12d288037c9b6129609857f', class: {
79
+ return (index.h(Tag, { key: 'a0fef13e5a67b2d8c1ac96576d1f75f5187c70cb', class: {
80
80
  'co-chip': true,
81
81
  [`co-chip--${this.shape}`]: true,
82
82
  [`co-chip--${this.size}`]: true,
@@ -86,7 +86,7 @@ const CoChip = class {
86
86
  'co-chip--clickable': this.clickable,
87
87
  'co-chip--disabled': this.disabled,
88
88
  'co-chip--selected': this.selected,
89
- }, part: "chip", type: this.clickable ? 'button' : undefined, disabled: this.clickable ? this.disabled : undefined, onClick: this.handleClick }, this.dot && (index.h("span", { key: 'f9df52bcd104f452ae56aaff384c434eebab7bf8', class: "co-chip__dot", part: "dot", style: this.dotColor ? { color: this.dotColor } : undefined }, index.h("co-icon", { key: 'f50c4eb609c7302eb7cda669d8b560a8193aa9a0', name: "circle", size: iconSize, weight: "fill" }))), this.iconLeft && !hasLeftSlot && (index.h("span", { key: 'a068106737290e16d4ffb0d2b2fdb26562f64987', class: "co-chip__icon-left", part: "icon-left" }, index.h("co-icon", { key: '4f1631db1c7348ae0732574e01b3d5690c5a37c2', name: this.iconLeft, size: iconSize, weight: this.iconWeight }))), hasLeftSlot && (index.h("span", { key: '10d132f52ad0c32f09c02d3917f3f5af689ff453', class: "co-chip__icon-left", part: "icon-left" }, index.h("slot", { key: '0194d3829fcbd9141672d0f63e5a60ee147d154b', name: "icon-left" }))), index.h("span", { key: 'ee278a1de261e142819f8d3d32b8de45435b41b1', class: "co-chip__label" }, index.h("slot", { key: 'e28bf7aa97b05669fef495f81373064a3e061736' }, this.label), this.valueLabel != null && this.valueLabel !== '' && (index.h("span", { key: '2436fe42a2373a8edce158b8930bcd9f990abb04', class: "co-chip__value", part: "value" }, `: ${this.valueLabel}`))), this.iconRight && !hasRightSlot && !this.removable && (index.h("span", { key: '84f726d0b004faff58f75a07efdc5162e0669b78', class: "co-chip__icon-right", part: "icon-right" }, index.h("co-icon", { key: '5468eda2f54efc471bd36b1b2544088092d3c97b', name: this.iconRight, size: iconSize, weight: this.iconWeight }))), hasRightSlot && (index.h("span", { key: 'd5fcdba05a10556d915b60abbb5a8bc67a663860', class: "co-chip__icon-right", part: "icon-right" }, index.h("slot", { key: 'e04de9508615a06bd232db11720d9f540ec35a0f', name: "icon-right" }))), this.removable && (index.h("span", { key: '37fe709e4d60790707c2dc88693d4b09523d6516', class: "co-chip__remove", part: "remove", role: "button", tabIndex: this.disabled ? -1 : 0, onClick: this.handleRemove, "aria-label": "Remove" }, index.h("co-icon", { key: '1a9e734ebd80193f2a79a2f9a2339a17d77c7e49', name: "x-circle", size: removeIconSize, weight: "fill" }))), this.trailingIcon && (index.h("span", { key: 'd9c5f717252d664f5b352944ebadf7628ee161b5', class: "co-chip__trailing", part: "trailing" }, index.h("co-icon", { key: '3f2eee2b995c9f27ea502cf586e204ea78a81cd6', name: this.trailingIcon, size: trailingIconSize, weight: this.iconWeight })))));
89
+ }, part: "chip", type: this.clickable ? 'button' : undefined, disabled: this.clickable ? this.disabled : undefined, onClick: this.handleClick }, this.dot && (index.h("span", { key: 'cac1c98fa890bae489af9b3efb4fb3ec0a06d1ca', class: "co-chip__dot", part: "dot", style: this.dotColor ? { color: this.dotColor } : undefined }, index.h("co-icon", { key: '545dba15817d7375447a0adb1d472b2accf7b878', name: "circle", size: iconSize, weight: "fill" }))), this.iconLeft && !hasLeftSlot && (index.h("span", { key: 'a54ecde8516125b1670716ebd8555d3ac6ca24be', class: "co-chip__icon-left", part: "icon-left" }, index.h("co-icon", { key: '0e3174abeb9761a8a2abca7bbd9ebec0bd3e9dea', name: this.iconLeft, size: iconSize, weight: this.iconWeight }))), hasLeftSlot && (index.h("span", { key: 'cf7a72c01e63140bc22bde8d87841cbb79bb4f4a', class: "co-chip__icon-left", part: "icon-left" }, index.h("slot", { key: 'f2398a1b9bb41f1f2dc039303ec0a6b8c8ccfada', name: "icon-left" }))), index.h("span", { key: 'de70419bb5a522cd5425096f6da19752736d14b8', class: "co-chip__label" }, index.h("slot", { key: '6bf611ee5235e60514eb2b3f37040183f7e0032c' }, this.label), this.valueLabel != null && this.valueLabel !== '' && (index.h("span", { key: 'bc36276493cd3ff26ce131c85094125b27791028', class: "co-chip__value", part: "value" }, `: ${this.valueLabel}`))), this.iconRight && !hasRightSlot && !this.removable && (index.h("span", { key: '8d20d206a23ed7109c5cc40b2beb278fd0e89614', class: "co-chip__icon-right", part: "icon-right" }, index.h("co-icon", { key: '28cdb555b65fefcf3e3471aea46fe4ec0d2aad18', name: this.iconRight, size: iconSize, weight: this.iconWeight }))), hasRightSlot && (index.h("span", { key: '009206c164ae5d378481e8512fe8e63c921bb57e', class: "co-chip__icon-right", part: "icon-right" }, index.h("slot", { key: '8397bf2f3add45386d34b61964fe6ea5ecb05f70', name: "icon-right" }))), this.removable && (index.h("span", { key: 'bb95705bdb89959b8bc64a5d692d54dcc2387e0b', class: "co-chip__remove", part: "remove", role: "button", tabIndex: this.disabled ? -1 : 0, onClick: this.handleRemove, "aria-label": "Remove" }, index.h("co-icon", { key: 'a616ebe4d69c08be3bb908e7da1dcdd15a4c257a', name: "x-circle", size: removeIconSize, weight: "fill" }))), this.trailingIcon && (index.h("span", { key: '3302ddb23482eaeff3a4ba2de38282f423768b2c', class: "co-chip__trailing", part: "trailing" }, index.h("co-icon", { key: '34a716149f174722d7b7a5549821a80ee7cdad63', name: this.trailingIcon, size: trailingIconSize, weight: this.iconWeight })))));
90
90
  }
91
91
  };
92
92
  CoChip.style = coChipCss();
@@ -273,6 +273,8 @@ const CoOptionList = class {
273
273
  this.value = '';
274
274
  /** Display-items de la selección (para selected-first con ids fuera de página). */
275
275
  this.selectedItems = '[]';
276
+ /** Selección múltiple: `value` es un JSON array de ids y `coChange` emite el
277
+ * array completo; con `false` (default) la selección es un solo id. */
276
278
  this.multiple = false;
277
279
  /** Partición selected-first (snapshot al llamar snapshotOrder()). */
278
280
  this.selectedFirst = false;
@@ -290,17 +292,24 @@ const CoOptionList = class {
290
292
  * Independiente de multiple/selectedFirst. No soportado con `virtual`. */
291
293
  this.listReorderable = false;
292
294
  // ── Search integrado (opcional) ────────────────────────────
295
+ /** Muestra el buscador integrado arriba de la lista (reflejado como atributo).
296
+ * El filtrado lo hace el host al recibir `coSearch`. */
293
297
  this.searchable = false;
298
+ /** Placeholder del buscador integrado. */
294
299
  this.searchPlaceholder = 'Search…';
300
+ /** Espera en ms entre la última tecla y el `coSearch` (default 350). */
295
301
  this.searchDebounce = 350;
296
302
  /** Pre-seed del término (modo convert de las celdas). */
297
303
  this.initialTerm = '';
298
304
  // ── Estados ────────────────────────────────────────────────
305
+ /** Cargando: sin filas muestra un loader en lugar de la lista; con filas,
306
+ * un loader al pie. Mientras está activo no se emite `coLoadMore`. */
299
307
  this.loading = false;
300
308
  /** Total del server: deriva hasMore + hint "N more results". */
301
309
  this.total = 0;
302
310
  /** Fallback cuando el host no conoce totales (⌘K). total>0 manda. */
303
311
  this.hasMore = false;
312
+ /** Texto cuando no hay filas y no se está cargando. */
304
313
  this.emptyMessage = 'No results found';
305
314
  /** Si se setea y hay selección, fila "quitar selección" al tope. */
306
315
  this.clearOptionLabel = '';
@@ -311,6 +320,7 @@ const CoOptionList = class {
311
320
  this.highlightMatches = false;
312
321
  /** Término externo para highlight (input en el host, p.ej. ⌘K). */
313
322
  this.highlightTerm = '';
323
+ /** Forma del `co-avatar` de las filas que traen avatar: `circle` (default) o `square`. */
314
324
  this.avatarShape = 'circle';
315
325
  /** `end` pinta el suffix como columna a la derecha de la fila (precio/meta),
316
326
  * sin el guion; `inline` = junto al label (default). */
@@ -559,7 +569,6 @@ const CoOptionList = class {
559
569
  this.activeIndex = activeId ? this.orderedItems.findIndex((i) => i._id === activeId) : -1;
560
570
  }
561
571
  // ── Métodos públicos ───────────────────────────────────────
562
- /** Re-toma el snapshot selected-first. El host la llama al abrir su panel. */
563
572
  /**
564
573
  * Vacía el buscador (texto, término y cualquier coSearch en vuelo) y emite
565
574
  * `coSearch('')`. Para hosts que reabren el panel (co-popover): el término
@@ -579,6 +588,7 @@ const CoOptionList = class {
579
588
  this.takeSnapshot();
580
589
  this.coSearch.emit('');
581
590
  }
591
+ /** Re-toma el snapshot selected-first. El host la llama al abrir su panel. */
582
592
  async snapshotOrder() {
583
593
  this.takeSnapshot();
584
594
  }
@@ -1013,11 +1023,11 @@ const CoOptionList = class {
1013
1023
  const selectedIds = this.selectedIds;
1014
1024
  const { hasMore, remaining } = deriveMore(this.parsedItems.length, this.total, this.hasMore);
1015
1025
  const showClear = !!this.clearOptionLabel && selectedIds.length > 0;
1016
- return (index.h("div", { key: 'af6891bdf933b74b6e680b81387764c3c2a0f2b9', class: "co-option-list", onKeyDown: this.onRootKeyDown }, this.searchable && (index.h("div", { key: '68cfffc9df1d3061d38063f6b0502afc58c668c4', class: "co-option-list__search", part: "search" }, index.h("co-icon", { key: 'abfc569cce22f30146cc714f4157ce12819a729a', name: "magnifying-glass", size: 16 }), index.h("input", { key: '5150055db79ef22253e0103998fde0c79d3b5eda', class: "co-option-list__search-input", type: "text", placeholder: this.searchPlaceholder, value: this.term, onInput: this.onSearchInput, ref: (el) => (this.searchInputEl = el), role: "combobox", "aria-expanded": "true", "aria-autocomplete": "list" }))), index.h("slot", { key: '1d858e33c3a6971b4abf6dd614603c4e01cba1c6', name: "header" }), index.h("div", { key: '28fd86f22a7f8e95fdfee4f33f1af0b441ca4c38', class: "co-option-list__options", part: "options", role: "listbox", "aria-multiselectable": this.multiple ? 'true' : 'false', ref: (el) => (this.optionsEl = el), onScroll: this.onNativeScroll }, index.h("div", { key: '3002c5216cac79d5d39aab2b349f6853e6517535', class: "co-option-list__inner" }, showClear && (index.h("button", { key: 'f6e15aeb7ea9422daf38d65611df3ca4dbb243e2', class: "co-option-list__clear-row", type: "button", onClick: () => this.coClearSelection.emit() }, index.h("co-icon", { key: '2f22f2b31291145b36721e923c3a422fadcabb50', name: "x-circle", size: 14 }), index.h("span", { key: 'd4c6b7ad4dd8df4725b763929f34da6793b29649' }, this.clearOptionLabel))), this.loading && items.length === 0 && (index.h("div", { key: 'c9cb5cf8095ed45d71a143878bd9ed524c6dbf25', class: "co-option-list__loading" }, index.h("co-loader", { key: '550b8014bec75fb16c9c7b29dd5589355abee9be', size: "sm" }))), !this.loading && items.length === 0 && (index.h("div", { key: '40ffc1f2945a0acd0a9c7ee4e83a1f23a93ebbd2', class: "co-option-list__empty" }, index.h("co-icon", { key: '639e88bb241fd79fca5481505d5cab36e89b89df', name: "magnifying-glass", size: 20 }), index.h("span", { key: '8f01fb62e21ad0fd6c2e367bd14d88cb09fa425e' }, this.emptyMessage))), items.length > 0 && this.virtual
1026
+ return (index.h("div", { key: 'ca480a23b7127ff745ee57002a71dea707e32e95', class: "co-option-list", onKeyDown: this.onRootKeyDown }, this.searchable && (index.h("div", { key: 'de6a96f09450c05c9194933f3e5f732e158437c7', class: "co-option-list__search", part: "search" }, index.h("co-icon", { key: 'f99a19e0a194d6a0bcce6d40a736197593af8fdf', name: "magnifying-glass", size: 16 }), index.h("input", { key: '26fabd78b4660523e25b40bc8e92740df2677244', class: "co-option-list__search-input", type: "text", placeholder: this.searchPlaceholder, value: this.term, onInput: this.onSearchInput, ref: (el) => (this.searchInputEl = el), role: "combobox", "aria-expanded": "true", "aria-autocomplete": "list" }))), index.h("slot", { key: '05dc7fb2d632ba58b3b960e9355b1e48a71df32c', name: "header" }), index.h("div", { key: 'b3edc8acf06c7f433da9584249be73d25c5f1fee', class: "co-option-list__options", part: "options", role: "listbox", "aria-multiselectable": this.multiple ? 'true' : 'false', ref: (el) => (this.optionsEl = el), onScroll: this.onNativeScroll }, index.h("div", { key: '8abe9a20998f35332ee320512a433d8fb8196875', class: "co-option-list__inner" }, showClear && (index.h("button", { key: '9b420f4a08d94c7588657ec73102253dc3aace29', class: "co-option-list__clear-row", type: "button", onClick: () => this.coClearSelection.emit() }, index.h("co-icon", { key: '5e0d86b76f5b85ee41a4534284c4e05fec4f2df1', name: "x-circle", size: 14 }), index.h("span", { key: 'ff554cd331978bbe2e6aaef44b590a9de66c67d5' }, this.clearOptionLabel))), this.loading && items.length === 0 && (index.h("div", { key: '1db10de6bf8b6cda7b7ca13f5969400ab420a3e7', class: "co-option-list__loading" }, index.h("co-loader", { key: 'd724879c38f755067e544503c233c740f932f46e', size: "sm" }))), !this.loading && items.length === 0 && (index.h("div", { key: '95f42f0028e6f7a1641bc45f6a294fe2ded5a29f', class: "co-option-list__empty" }, index.h("co-icon", { key: '1bed6dbd8c0c4e0722f6c28c2867331bba4e3879', name: "magnifying-glass", size: 20 }), index.h("span", { key: '7f2d01d6eed6e91ab14ace418f52167713963976' }, this.emptyMessage))), items.length > 0 && this.virtual
1017
1027
  ? this.renderVirtual(items, selectedIds)
1018
1028
  : buildRows(items).map((row) => row.kind === 'header'
1019
1029
  ? index.h("div", { class: "co-option-list__group", role: "presentation" }, row.label)
1020
- : this.renderRow(row.item, row.index, selectedIds)), this.loading && items.length > 0 && (index.h("div", { key: 'e0146742e08a49e0c297ab795e3eb283daedf281', class: "co-option-list__loading-more" }, index.h("co-loader", { key: '1bdd97a2c79d4fab0ea75be2bc4c7c4254de7638', size: "sm" }))), !this.loading && hasMore && remaining > 0 && (index.h("div", { key: 'cd336459aded62f27957888595c53475ba2d7664', class: "co-option-list__more" }, remaining, " more results")))), index.h("slot", { key: '767d9b82e7afbea41f196e110d7a6fd720637df9', name: "footer" })));
1030
+ : this.renderRow(row.item, row.index, selectedIds)), this.loading && items.length > 0 && (index.h("div", { key: '9fb95c0193357bf50eabc21dae3f8ca0bb2b3a9f', class: "co-option-list__loading-more" }, index.h("co-loader", { key: 'dddf472d61b1c14f281212b02538bd576dce09d1', size: "sm" }))), !this.loading && hasMore && remaining > 0 && (index.h("div", { key: '6d4f16d14d67b137fe37b67fe1590d209b51b800', class: "co-option-list__more" }, remaining, " more results")))), index.h("slot", { key: '9091482eaf2228e93b3eeb893e804d5fcd8c3d44', name: "footer" })));
1021
1031
  }
1022
1032
  get el() { return index.getElement(this); }
1023
1033
  static get watchers() { return {
@@ -156,11 +156,11 @@ const CoColorArea = class {
156
156
  const s = hsv.clamp((_b = this.saturation) !== null && _b !== void 0 ? _b : 100, 0, 100);
157
157
  const v = hsv.clamp((_c = this.value) !== null && _c !== void 0 ? _c : 100, 0, 100);
158
158
  const fill = hsv.hsvToHex({ h: hue, s, v });
159
- return (index.h("div", { key: 'e8915d2faeda1cdb28b509b5180b51ac43c5d9ca', class: {
159
+ return (index.h("div", { key: '6611eb74820088bdd7fd23a915cc5f0fd4b29f17', class: {
160
160
  'co-color-area': true,
161
161
  'co-color-area--disabled': this.disabled,
162
162
  'co-color-area--dragging': this.dragging,
163
- }, style: { '--co-color-area-hue': String(hue) }, role: "slider", tabIndex: this.disabled ? -1 : 0, "aria-label": this.label || undefined, "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": String(Math.round(s)), "aria-valuetext": `S ${Math.round(s)}% V ${Math.round(v)}%`, "aria-disabled": this.disabled ? 'true' : undefined, ref: (el) => (this.areaEl = el), onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerEnd, onPointerCancel: this.handlePointerEnd, onKeyDown: this.handleKeyDown }, index.h("div", { key: '9aa7ce683df8b57debdd13c70136d19a53cd4ca0', class: "co-color-thumb co-color-area__thumb", part: "thumb", style: { left: `${s}%`, top: `${100 - v}%`, '--co-color-thumb-fill': fill } })));
163
+ }, style: { '--co-color-area-hue': String(hue) }, role: "slider", tabIndex: this.disabled ? -1 : 0, "aria-label": this.label || undefined, "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": String(Math.round(s)), "aria-valuetext": `S ${Math.round(s)}% V ${Math.round(v)}%`, "aria-disabled": this.disabled ? 'true' : undefined, ref: (el) => (this.areaEl = el), onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerEnd, onPointerCancel: this.handlePointerEnd, onKeyDown: this.handleKeyDown }, index.h("div", { key: '480fedf78cd542849742c351c64f1a1f6ec91cbd', class: "co-color-thumb co-color-area__thumb", part: "thumb", style: { left: `${s}%`, top: `${100 - v}%`, '--co-color-thumb-fill': fill } })));
164
164
  }
165
165
  get el() { return index.getElement(this); }
166
166
  };
@@ -1156,12 +1156,12 @@ const CoColorPicker = class {
1156
1156
  render() {
1157
1157
  const hasValue = !!this.value;
1158
1158
  const statusClass = this.status !== 'default' ? `co-color-picker--${this.status}` : '';
1159
- return (index.h("div", { key: 'bdc7487c5b694937aa2ffdb79fd558891a4b6931', class: `co-color-picker co-color-picker--${this.size} ${statusClass} ${this.isOpen ? 'co-color-picker--open' : ''} ${this.disabled ? 'co-color-picker--disabled' : ''}` }, this.label && (index.h("label", { key: '34d0e3a9df74d80defd62bee980fe9114cdcd2d4', class: "co-color-picker__label" }, this.label, index.h(requiredMark.RequiredMark, { key: '37467a67f8a84fcd229073b214be33e7623dee94', required: this.required }))), index.h("co-popover", { key: 'f4e7e9364a8ffedfc2fddf7ff88f636e1bb22f68', open: this.isOpen, placement: "bottom-start",
1159
+ return (index.h("div", { key: '6746d83ad6d123c58a88dd3a236f3288758eb507', class: `co-color-picker co-color-picker--${this.size} ${statusClass} ${this.isOpen ? 'co-color-picker--open' : ''} ${this.disabled ? 'co-color-picker--disabled' : ''}` }, this.label && (index.h("label", { key: 'd37d7b2e7b457cc366006e18f5188dd76171c3bb', class: "co-color-picker__label" }, this.label, index.h(requiredMark.RequiredMark, { key: 'dbb125918398dc5d55f9083e88f0f1948281d5b0', required: this.required }))), index.h("co-popover", { key: '91b03300c502c85e068e28e235feadf06fbbb76c', open: this.isOpen, placement: "bottom-start",
1160
1160
  // Sin `matchWidth`: el panel tiene ancho INTRÍNSECO (grilla de 8
1161
1161
  // swatches fijos de 32px). Copiar el ancho del trigger achica los
1162
1162
  // tracks bajo 32px con un campo angosto (media columna de un modal) y
1163
1163
  // los swatches desbordan el card — guard: panel-width.spec.
1164
- offset: 4, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, index.h("div", { key: 'f25ef2310238bf18c34d0d7aa61f1916d479193e', slot: "trigger", class: "co-color-picker__trigger", role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "dialog", "aria-controls": this.isOpen ? CoColorPicker.PANEL_ID : undefined, "aria-label": this.label || undefined, "aria-disabled": this.disabled ? 'true' : undefined, tabIndex: this.disabled ? -1 : 0, ref: (el) => (this.triggerEl = el), onKeyDown: this.handleTriggerKeyDown }, index.h("span", { key: '3d8bcd557976d56105790a7158147b5dff2a17e3', class: "co-color-picker__swatch", style: { background: hasValue ? this.value : 'transparent' } }), index.h("span", { key: '461087a2cba8edfa74504e332c1a81cb45046821', class: `co-color-picker__value ${!hasValue ? 'co-color-picker__value--empty' : ''}` }, hasValue ? this.value : this.placeholder)), this.isOpen && (index.h("div", { key: 'aecdd232d82fe98830ca6f5677a034f62783e48e', class: "co-color-picker__panel", id: CoColorPicker.PANEL_ID, role: "dialog", "aria-label": this.label || this.placeholder }, this.renderArea(), this.renderHue(), this.renderSwatches(), this.renderHexRow()))), this.helperText && (index.h("div", { key: '5aba7ada0642092c743e43321017d812f32316e3', class: "co-color-picker__helper" }, this.statusIcon && (index.h("co-icon", { key: '28ce648d02d2e672ce2936000c655b7ea5f6aa7d', name: this.statusIcon, size: 14, weight: "fill", class: "co-color-picker__helper-icon" })), index.h("span", { key: '7545d46b04f19b34c4865f55bd5e7d556514f00a', class: "co-color-picker__helper-text" }, this.helperText)))));
1164
+ offset: 4, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, index.h("div", { key: 'fec8eb5f52f4a95c478cee49a1a05b8ca93a40b4', slot: "trigger", class: "co-color-picker__trigger", role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "dialog", "aria-controls": this.isOpen ? CoColorPicker.PANEL_ID : undefined, "aria-label": this.label || undefined, "aria-disabled": this.disabled ? 'true' : undefined, tabIndex: this.disabled ? -1 : 0, ref: (el) => (this.triggerEl = el), onKeyDown: this.handleTriggerKeyDown }, index.h("span", { key: '648331ab929d1874f09ebd59d722839312434bcd', class: "co-color-picker__swatch", style: { background: hasValue ? this.value : 'transparent' } }), index.h("span", { key: '07f235dfd673b4d31f9fb994eccc7e38d1f866ec', class: `co-color-picker__value ${!hasValue ? 'co-color-picker__value--empty' : ''}` }, hasValue ? this.value : this.placeholder)), this.isOpen && (index.h("div", { key: 'e6ad5d5190d9341afde82de0c8897249e173463e', class: "co-color-picker__panel", id: CoColorPicker.PANEL_ID, role: "dialog", "aria-label": this.label || this.placeholder }, this.renderArea(), this.renderHue(), this.renderSwatches(), this.renderHexRow()))), this.helperText && (index.h("div", { key: '057dabe6f2fd8853f6a1df6d0c1c8d6574393f45', class: "co-color-picker__helper" }, this.statusIcon && (index.h("co-icon", { key: '674e0cf71b0a2d1cc367c929196a7876c23c966c', name: this.statusIcon, size: 14, weight: "fill", class: "co-color-picker__helper-icon" })), index.h("span", { key: '001b3df1f014b0039bfe0cdd588aae91d92a78bd', class: "co-color-picker__helper-text" }, this.helperText)))));
1165
1165
  }
1166
1166
  get el() { return index.getElement(this); }
1167
1167
  static get watchers() { return {
@@ -169,15 +169,15 @@ const CoColorSlider = class {
169
169
  const value = hsv.clamp((_b = this.value) !== null && _b !== void 0 ? _b : 0, 0, max);
170
170
  const color = this.color || '#000';
171
171
  const isAlpha = channel === 'alpha';
172
- return (index.h("div", { key: 'd5754d3330b2cd2699ee55a00dfd3b464bde1e3b', class: {
172
+ return (index.h("div", { key: 'a4ab80a67e0bb20037f48b99cca835d17622a776', class: {
173
173
  'co-color-slider': true,
174
174
  'co-color-slider--disabled': this.disabled,
175
175
  'co-color-slider--dragging': this.dragging,
176
- } }, index.h("div", { key: '65c3e870d834e5bc019f24372e937cb5ae87ca6c', class: {
176
+ } }, index.h("div", { key: 'd9dd4a75f7b74e73ddd0da15384566d038fd9eff', class: {
177
177
  'co-color-slider__track': true,
178
178
  'co-color-slider__track--hue': !isAlpha,
179
179
  'co-color-slider__track--alpha': isAlpha,
180
- }, part: "track", style: isAlpha ? { '--co-color-slider-color': color } : undefined, role: "slider", tabIndex: this.disabled ? -1 : 0, "aria-label": this.label || undefined, "aria-valuemin": "0", "aria-valuemax": String(max), "aria-valuenow": String(Math.round(value)), "aria-disabled": this.disabled ? 'true' : undefined, ref: (el) => (this.trackEl = el), onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerEnd, onPointerCancel: this.handlePointerEnd, onKeyDown: this.handleKeyDown }, index.h("div", { key: '8553027ec2658d42a0f9df1798223a267ee69681', class: "co-color-thumb co-color-slider__thumb", part: "thumb", ref: (el) => (this.thumbEl = el), style: {
180
+ }, part: "track", style: isAlpha ? { '--co-color-slider-color': color } : undefined, role: "slider", tabIndex: this.disabled ? -1 : 0, "aria-label": this.label || undefined, "aria-valuemin": "0", "aria-valuemax": String(max), "aria-valuenow": String(Math.round(value)), "aria-disabled": this.disabled ? 'true' : undefined, ref: (el) => (this.trackEl = el), onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerEnd, onPointerCancel: this.handlePointerEnd, onKeyDown: this.handleKeyDown }, index.h("div", { key: '62866f901b8090289ab48a8d90ad4ee50fea5bb5', class: "co-color-thumb co-color-slider__thumb", part: "thumb", ref: (el) => (this.thumbEl = el), style: {
181
181
  '--co-color-slider-ratio': String(value / max),
182
182
  '--co-color-thumb-fill': this.thumbFill(value, color),
183
183
  } }))));
@@ -261,22 +261,42 @@ const CoColumnPicker = class {
261
261
  this.coChange = index.createEvent(this, "coChange", 7);
262
262
  this.coClear = index.createEvent(this, "coClear", 7);
263
263
  this.coSearch = index.createEvent(this, "coSearch", 7);
264
+ /** Rutas elegibles: array de strings (`"company.name"`), de `{ value, label, icon?, disabled? }`,
265
+ * o ese array como JSON desde HTML. Los puntos arman el árbol; sin `label`, el
266
+ * texto sale de la ruta (camelCase y `_`/`-` separados en palabras). */
264
267
  this.options = '[]';
268
+ /** Rutas seleccionadas: array o JSON array. El componente lo actualiza al elegir. */
265
269
  this.value = '[]';
270
+ /** Selección múltiple (default `true`); con `false` elegir una ruta cierra el panel. */
266
271
  this.multiple = true;
272
+ /** Deshabilita el campo. */
267
273
  this.disabled = false;
274
+ /** Barra del panel con «seleccionar todo», «limpiar», expandir/contraer y el contador. */
268
275
  this.showToolbar = true;
276
+ /** Buscador del panel; al buscar se expanden las ramas con coincidencias. */
269
277
  this.showSearch = true;
278
+ /** Botón × en el campo para vaciar la selección. */
270
279
  this.clearable = true;
280
+ /** Texto del campo sin selección. */
271
281
  this.placeholder = 'Select…';
282
+ /** Alto máximo en px del árbol antes de scrollear (default 220). */
272
283
  this.maxHeight = 220;
284
+ /** Texto cuando la búsqueda no encuentra rutas. */
273
285
  this.emptyText = 'No results found';
286
+ /** Texto del botón «seleccionar todo» de la barra. */
274
287
  this.selectAllText = 'Select all';
288
+ /** Texto del botón «limpiar» de la barra. */
275
289
  this.clearText = 'Clear';
290
+ /** Texto del botón «expandir todo» de la barra. */
276
291
  this.expandText = 'Expand';
292
+ /** Texto del botón «contraer todo» de la barra. */
277
293
  this.collapseText = 'Collapse';
294
+ /** Palabra tras el contador de la barra («3 selected»). */
278
295
  this.selectedText = 'selected';
296
+ /** Agrupa el árbol en secciones: `[{ label, prefix }]` (o JSON). Cada sección toma las
297
+ * rutas que empiezan por `prefix.`; una sección con `prefix: ''` junta el resto. */
279
298
  this.sections = '[]';
299
+ /** Estado de validación: pinta el borde y el `helperText` con el color del estado. */
280
300
  this.status = 'default';
281
301
  this.isOpen = false;
282
302
  this.query = '';
@@ -423,13 +443,13 @@ const CoColumnPicker = class {
423
443
  return (index.h("div", { class: "co-column-picker__empty" }, index.h("co-icon", { name: "magnifying-glass", size: 40, class: "co-column-picker__empty-icon" }), index.h("span", null, this.emptyText)));
424
444
  }
425
445
  render() {
426
- return (index.h("div", { key: '1d2bd18a155483115dc1e96764c4b1a70a2a905a', class: {
446
+ return (index.h("div", { key: 'ab2ad3bd249351f19e223ee8437d0f66ea368f84', class: {
427
447
  'co-column-picker': true,
428
448
  'co-column-picker--open': this.isOpen,
429
449
  'co-column-picker--disabled': this.disabled,
430
450
  'co-column-picker--focused': this.focused,
431
451
  [`co-column-picker--${this.status}`]: this.status !== 'default',
432
- } }, (this.label || this.secondaryLabel) && (index.h("div", { key: '26459691cbb08646122c6b84f39a974ca4f1fd9c', class: "co-column-picker__labels" }, this.label && index.h("label", { key: '92ffd71828c22b97582cef13d8a384a3f9ba937e', class: "co-column-picker__label" }, this.label), this.secondaryLabel && index.h("span", { key: 'b0d7bcb5e8feff1441e52beb99b2665fcbee0ab0', class: "co-column-picker__secondary-label" }, this.secondaryLabel))), this.renderField(), this.isOpen && (index.h("div", { key: '304bcf74653023ef6dd0120546733952c46cd179', class: "co-column-picker__dropdown" }, this.showSearch && (index.h("div", { key: '450a8b2d96bb238f78af451816ef7dc3f89e8221', class: "co-column-picker__search" }, index.h("co-icon", { key: '07e37bb18a637a22f2e94987ada23e3621291c65', name: "magnifying-glass", size: 14, class: "co-column-picker__search-icon" }), index.h("input", { key: '0f92eee4279a27b2c57fbdcde81ae3af2f4e3e52', ref: el => (this.searchInputEl = el), class: "co-column-picker__search-input", type: "text", value: this.query, placeholder: this.placeholder, onInput: this.handleSearchInput, onClick: (e) => e.stopPropagation() }), this.query && (index.h("button", { key: '0f2763e9f143a779bdb579ac37ddb46c759792c4', class: "co-column-picker__search-clear", type: "button", onClick: this.handleSearchClear }, index.h("co-icon", { key: 'df24dd1c216f53a541cba73c5084b5cc877a10ee', name: "x", size: 14 }))))), this.showToolbar && this.multiple && (index.h("div", { key: '9ac7d402dcc11f10da27a6e0ca4b4dd4549704b3', class: "co-column-picker__toolbar" }, index.h("button", { key: '10f9114ec60023a4f1233262269ba7a30d130f88', class: "co-column-picker__toolbar-btn", type: "button", onClick: this.handleSelectAll }, this.selectAllText), index.h("button", { key: '732104f5d4e174f3e36683c6161522a5eccf9b43', class: "co-column-picker__toolbar-btn", type: "button", onClick: this.handleDeselectAll }, this.clearText), index.h("span", { key: 'bddc836e0a401fa7756309683119026c23894a37', class: "co-column-picker__toolbar-sep" }), index.h("button", { key: '8fb1562fd3bd0073cf9ac259d573e538dacd0970', class: "co-column-picker__toolbar-btn", type: "button", onClick: this.handleExpandAll }, this.expandText), index.h("button", { key: 'cd156c6db410fb5c270169e5cb4e791422e91117', class: "co-column-picker__toolbar-btn", type: "button", onClick: this.handleCollapseAll }, this.collapseText), index.h("span", { key: '5bae08f63282db0c2de2d7145394903c27b2948d', style: { flex: '1' } }), this.selectedValues.length > 0 && index.h("span", { key: 'a062ed66af5dbf8e6056721a0013cb89d6f25e1a', class: "co-column-picker__toolbar-counter" }, this.selectedValues.length, " ", this.selectedText))), index.h("div", { key: 'e0e25124ebcbee2db66da742f7f28b09d5fcb639', class: "co-column-picker__scroll", style: { maxHeight: `${this.maxHeight}px` } }, this.renderTree()))), this.helperText && (index.h("div", { key: 'f41e25d27617dfcfd848d743cf238cc5030a78a0', class: `co-column-picker__helper co-column-picker__helper--${this.status}` }, this.statusIcon && index.h("co-icon", { key: 'de330fc3337547b9d9df2a766022972b55756074', name: this.statusIcon, size: 14, weight: "fill", class: "co-column-picker__helper-icon" }), index.h("span", { key: 'a7644c9eb64f8650a80f5f1c864d3cfc501870c6', class: "co-column-picker__helper-text" }, this.helperText)))));
452
+ } }, (this.label || this.secondaryLabel) && (index.h("div", { key: 'eef032ff9774ee1ac9c656a8413ebf099a7d4a42', class: "co-column-picker__labels" }, this.label && index.h("label", { key: '6638950f784fac9809d853945b87dd8ce26d86b8', class: "co-column-picker__label" }, this.label), this.secondaryLabel && index.h("span", { key: 'eeac25d27edddeabf25e7b62f9e7e550d9683f87', class: "co-column-picker__secondary-label" }, this.secondaryLabel))), this.renderField(), this.isOpen && (index.h("div", { key: '761ac25d7c97c1b5b51e24dde8e0bd98d1471649', class: "co-column-picker__dropdown" }, this.showSearch && (index.h("div", { key: 'e54ed5eee5f71cb30b3e09728b0e4d4987d98e99', class: "co-column-picker__search" }, index.h("co-icon", { key: '184a9b2193e53669fb10796bdd770a863fe642b7', name: "magnifying-glass", size: 14, class: "co-column-picker__search-icon" }), index.h("input", { key: '9f41b5adf0dfeec083a300ce743c3bbe78b95fe9', ref: el => (this.searchInputEl = el), class: "co-column-picker__search-input", type: "text", value: this.query, placeholder: this.placeholder, onInput: this.handleSearchInput, onClick: (e) => e.stopPropagation() }), this.query && (index.h("button", { key: '4dd69184260a2edead1737df4f2f07ecf6b10680', class: "co-column-picker__search-clear", type: "button", onClick: this.handleSearchClear }, index.h("co-icon", { key: '5cf2e640b64683b3802696ac66d6ecfabfffdb3a', name: "x", size: 14 }))))), this.showToolbar && this.multiple && (index.h("div", { key: 'd383004d0b209a93f11f7d070796b2944f3c6849', class: "co-column-picker__toolbar" }, index.h("button", { key: '22dd890b4c35c8cac632f2c90ce0d0a4f20a166a', class: "co-column-picker__toolbar-btn", type: "button", onClick: this.handleSelectAll }, this.selectAllText), index.h("button", { key: '5a69e90720c2e3724656ca9a9a774f496faafcb1', class: "co-column-picker__toolbar-btn", type: "button", onClick: this.handleDeselectAll }, this.clearText), index.h("span", { key: '4c9bc30f4429d7e54f4040ec874ea18423e7de77', class: "co-column-picker__toolbar-sep" }), index.h("button", { key: 'b3a106e5b4268f3ea6d6de8bdac162b247d43b91', class: "co-column-picker__toolbar-btn", type: "button", onClick: this.handleExpandAll }, this.expandText), index.h("button", { key: 'a79d4b5ba8a481c2db958ba9d685712e24b95feb', class: "co-column-picker__toolbar-btn", type: "button", onClick: this.handleCollapseAll }, this.collapseText), index.h("span", { key: '53439fb7eab725a7e11261aa440106c68dbf7865', style: { flex: '1' } }), this.selectedValues.length > 0 && index.h("span", { key: 'd34736ad6f2081228f7cb43a5d88b69e7fc33e15', class: "co-column-picker__toolbar-counter" }, this.selectedValues.length, " ", this.selectedText))), index.h("div", { key: '28226718a1270e859742fe754d4ea75a0c23a8e6', class: "co-column-picker__scroll", style: { maxHeight: `${this.maxHeight}px` } }, this.renderTree()))), this.helperText && (index.h("div", { key: 'e9a252deb5af1abd89d988bc354a8dbd6130a6cd', class: `co-column-picker__helper co-column-picker__helper--${this.status}` }, this.statusIcon && index.h("co-icon", { key: '051cd7eee2817ba288be2e8d38c2b92b0fc63cb8', name: this.statusIcon, size: 14, weight: "fill", class: "co-column-picker__helper-icon" }), index.h("span", { key: 'b496d726484740151c2830e1e4d2a85b1040d86f', class: "co-column-picker__helper-text" }, this.helperText)))));
433
453
  }
434
454
  get el() { return index.getElement(this); }
435
455
  static get watchers() { return {
@@ -273,15 +273,15 @@ const CoCombobox = class {
273
273
  }
274
274
  }
275
275
  render() {
276
- return (index.h("div", { key: '6fed11f88fb5fcaf2105997ac20138ffc53ff101', class: {
276
+ return (index.h("div", { key: '8b0ff4418cd4ef8313fb18f597423938668e7c4c', class: {
277
277
  'co-combobox': true,
278
278
  'co-combobox--open': this.isOpen,
279
279
  'co-combobox--disabled': this.disabled,
280
280
  [`co-combobox--${this.size}`]: true,
281
- }, part: "wrapper" }, (this.label || this.secondaryLabel) && (index.h("div", { key: '7b75c40477363baa58a26c6177b40be309cea6f9', class: "co-combobox__labels" }, this.label && index.h("label", { key: 'b62a7d8716e57bb7162ee7c96e8327484fe65f5a', class: "co-combobox__label", part: "label" }, this.label, index.h(requiredMark.RequiredMark, { key: 'e383891183517918c238b2c991837aae60ee821e', required: this.required })), this.secondaryLabel && (index.h("span", { key: '91cd238f0bac065b2e396aa03b1a5a0c534e8685', class: "co-combobox__secondary-label", part: "secondary-label" }, this.secondaryLabel)))), index.h("co-popover", { key: 'aa7354defca2a6a55e105a48895df997af68d1e7', open: this.isOpen, placement: "bottom-start", matchWidth: true, offset: 4, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, index.h("div", { key: '40f92dcf5c50c78177a2ca76f152e2c380bcf3f6', slot: "trigger", class: "co-combobox__trigger", part: "trigger", role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-label": this.label || undefined, "aria-disabled": this.disabled ? 'true' : undefined, "aria-controls": this.isOpen ? CoCombobox.LIST_ID : undefined, tabIndex: this.disabled ? -1 : 0, ref: (el) => (this.triggerEl = el), onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, this.iconLeft && (index.h("co-icon", { key: '15c6fdd87e01e0e5e4dca3c8c34d375dbf8af878', name: this.iconLeft, size: 16, class: "co-combobox__icon" })), index.h("div", { key: 'fa656d5c962bd270d01b425a49059e91d0211a00', class: "co-combobox__input-wrapper", ref: (el) => (this.chipContainerEl = el) }, this.multiple && this.hasValue ? (this.selectedOptions.map(opt => (index.h("co-chip", { size: "small", "icon-mode": "both", label: opt.label }, index.h("co-icon", { slot: "icon-left", name: opt.icon || 'circle', size: 10 }), index.h("co-icon", { slot: "icon-right", name: "x-circle", size: 10, weight: "fill", onClick: (e) => { e.stopPropagation(); this.handleListRemove(opt.value); } }))))) : (index.h("span", { class: {
281
+ }, part: "wrapper" }, (this.label || this.secondaryLabel) && (index.h("div", { key: 'e54542e22563eafd57909405254d85a8b4df3e4f', class: "co-combobox__labels" }, this.label && index.h("label", { key: '3f54d1ba25400dd89b1e3a59c564f68e8a3785df', class: "co-combobox__label", part: "label" }, this.label, index.h(requiredMark.RequiredMark, { key: '4b0c64794195101ef3dfac1b656cd393eb19012a', required: this.required })), this.secondaryLabel && (index.h("span", { key: '51f2ed8dcd890fa162011ccf1fe9e3f96afcc6b9', class: "co-combobox__secondary-label", part: "secondary-label" }, this.secondaryLabel)))), index.h("co-popover", { key: 'c071e11ad27db937caa615b63d32e056b099ea4a', open: this.isOpen, placement: "bottom-start", matchWidth: true, offset: 4, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, index.h("div", { key: 'c4b215350ab75d791e9f0181f43af320e32506a9', slot: "trigger", class: "co-combobox__trigger", part: "trigger", role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-label": this.label || undefined, "aria-disabled": this.disabled ? 'true' : undefined, "aria-controls": this.isOpen ? CoCombobox.LIST_ID : undefined, tabIndex: this.disabled ? -1 : 0, ref: (el) => (this.triggerEl = el), onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, this.iconLeft && (index.h("co-icon", { key: '595cfc20ba148cd99e487002d4ce186feaf4b590', name: this.iconLeft, size: 16, class: "co-combobox__icon" })), index.h("div", { key: '04a932c116df074d9a9e293d7dc3fead24f85e84', class: "co-combobox__input-wrapper", ref: (el) => (this.chipContainerEl = el) }, this.multiple && this.hasValue ? (this.selectedOptions.map(opt => (index.h("co-chip", { size: "small", "icon-mode": "both", label: opt.label }, index.h("co-icon", { slot: "icon-left", name: opt.icon || 'circle', size: 10 }), index.h("co-icon", { slot: "icon-right", name: "x-circle", size: 10, weight: "fill", onClick: (e) => { e.stopPropagation(); this.handleListRemove(opt.value); } }))))) : (index.h("span", { class: {
282
282
  'co-combobox__text': true,
283
283
  'co-combobox__text--placeholder': !this.hasValue,
284
- } }, this.hasValue ? this.displayText : this.placeholder))), this.multiple && this.overflowCount > 0 && (index.h("span", { key: '99540b85f84966fbdb1a50d44c01174bad7e661c', class: "co-combobox__overflow-badge" }, this.overflowCount)), this.clearable && this.hasValue && !this.disabled && (index.h("button", { key: 'dc0fb5f10daa29361c9a3a045207e44faa145d7a', class: "co-combobox__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear selection", part: "clear" }, index.h("co-icon", { key: 'e8dc3180e4760c5c67b6584681f7fce1c5932cb4', name: "x-circle", size: 16, weight: "fill" }))), index.h("co-icon", { key: '406302a495fa3c3d8e91e9ce1a1a8ca247da0003', name: this.isOpen ? 'caret-up' : 'caret-down', size: 16, class: "co-combobox__caret" })), index.h("div", { key: 'd3691124ae69d7c7b6a9989980a7f406a5679d4c', class: "co-combobox__dropdown", part: "dropdown" }, this.isOpen && (index.h("co-option-list", { key: '8f23d737e36bac0c3077eb3e9fa1e6df1e9aeae1', id: CoCombobox.LIST_ID, ref: (el) => (this.optionListEl = el), items: this.listItemsJson, value: this.multiple ? JSON.stringify(this.selectedValues) : (this.selectedValues[0] || ''), multiple: this.multiple, selectedAffordance: "check", removableItems: this.multiple, virtual: true, searchable: this.searchable, searchPlaceholder: this.searchPlaceholder, searchDebounce: 0, highlightMatches: true, emptyMessage: this.emptyMessage, onCoSearch: (e) => { this.searchQuery = e.detail; }, onCoChange: (e) => this.handleListChange(e.detail), onCoRemoveItem: (e) => this.handleListRemove(e.detail) }, this.showFooter && (index.h("co-list-footer", { key: '198f56ba250948a6642919d3eb69cb6bb41e32cf', slot: "footer", secondaryLabel: this.footerSecondaryLabel, primaryLabel: this.footerPrimaryLabel, onCoSecondary: this.handleFooterSecondary, onCoPrimary: this.handleFooterPrimary })))))), this.helperText && (index.h("div", { key: 'ab4a7a36d580ab6f3a198e3d88587010053fa7c8', class: `co-combobox__helper co-combobox__helper--${this.status}`, part: "helper" }, this.statusIcon && index.h("co-icon", { key: '2325dbb2d31dc7b3d4b319ecb23a0f7a42e10bac', name: this.statusIcon, size: 14, weight: "fill", class: "co-combobox__helper-icon" }), index.h("span", { key: 'e941e857eb03af5cfefd2d6bce7cb59226a5511b', class: "co-combobox__helper-text" }, this.helperText)))));
284
+ } }, this.hasValue ? this.displayText : this.placeholder))), this.multiple && this.overflowCount > 0 && (index.h("span", { key: '3717ddeb6a6cbfb50992f060a94466637d641848', class: "co-combobox__overflow-badge" }, this.overflowCount)), this.clearable && this.hasValue && !this.disabled && (index.h("button", { key: '3bd22162de7163e761f4deec4813c7bbd2dc7ab3', class: "co-combobox__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear selection", part: "clear" }, index.h("co-icon", { key: '466f7859e45f36d572e2736f8c67bb028be00e90', name: "x-circle", size: 16, weight: "fill" }))), index.h("co-icon", { key: '6631ac9f8053225d79b4ec3e70733de96044a5fa', name: this.isOpen ? 'caret-up' : 'caret-down', size: 16, class: "co-combobox__caret" })), index.h("div", { key: '3d3cf9b043e50c161f48575e625dfa167c0efefd', class: "co-combobox__dropdown", part: "dropdown" }, this.isOpen && (index.h("co-option-list", { key: '74eb44b2f32b30f5965a24d3d46fd99dba6b05b3', id: CoCombobox.LIST_ID, ref: (el) => (this.optionListEl = el), items: this.listItemsJson, value: this.multiple ? JSON.stringify(this.selectedValues) : (this.selectedValues[0] || ''), multiple: this.multiple, selectedAffordance: "check", removableItems: this.multiple, virtual: true, searchable: this.searchable, searchPlaceholder: this.searchPlaceholder, searchDebounce: 0, highlightMatches: true, emptyMessage: this.emptyMessage, onCoSearch: (e) => { this.searchQuery = e.detail; }, onCoChange: (e) => this.handleListChange(e.detail), onCoRemoveItem: (e) => this.handleListRemove(e.detail) }, this.showFooter && (index.h("co-list-footer", { key: '00861de6c0f6cd87a9a21d88d9f4fe1dd31afc6c', slot: "footer", secondaryLabel: this.footerSecondaryLabel, primaryLabel: this.footerPrimaryLabel, onCoSecondary: this.handleFooterSecondary, onCoPrimary: this.handleFooterPrimary })))))), this.helperText && (index.h("div", { key: 'ac1eaf079ae327e76df9723972404a375903689e', class: `co-combobox__helper co-combobox__helper--${this.status}`, part: "helper" }, this.statusIcon && index.h("co-icon", { key: 'be90b01fda8c51b11bbc73b8ab76085e160492b1', name: this.statusIcon, size: 14, weight: "fill", class: "co-combobox__helper-icon" }), index.h("span", { key: 'c3921ff5a264d24bbba07358085d92675aadbe9b', class: "co-combobox__helper-text" }, this.helperText)))));
285
285
  }
286
286
  get el() { return index.getElement(this); }
287
287
  static get watchers() { return {
@@ -205,14 +205,14 @@ const CoCommandSearch = class {
205
205
  render() {
206
206
  const items = this.filteredItems;
207
207
  return [
208
- index.h("div", { key: '39923de31e4b2af82ecbf5e2d53d7d3c1e473b24', class: "co-command-search__trigger", onClick: this.handleTriggerClick }, index.h("slot", { key: '8ff9d2f0df90708646121f42801d7b5800acc187', name: "trigger" })),
209
- index.h("co-overlay", { key: 'b0dc190f246e3449e09ad0c3b93848835dc03dbf', open: this.open, onCoClose: this.handleOverlayClick }, index.h("div", { key: '8210d7c7957ff0994bd7971bc7983072aa02983e', class: { 'co-command-search': true, 'co-command-search--open': this.open }, part: "panel", role: "dialog", "aria-modal": "true", "aria-label": "Command palette", onClick: this.handlePanelClick, onKeyDown: this.handlePanelKeyDown }, index.h("div", { key: 'f387deebbd88c8f188cb12208972f85f6cfc90a7', class: "co-command-search__input-row", part: "input-row" }, index.h("co-icon", { key: '668f418f7390875064f0094d0dbf66e73cf9d906', name: "magnifying-glass", size: 20 }), this.parsedChips.map((chip, idx) => (index.h("span", { class: "co-command-search__facet-chip" }, chip.icon && index.h("co-icon", { name: chip.icon, size: 12 }), index.h("span", { class: "co-command-search__facet-chip-label" }, chip.label), index.h("button", { class: "co-command-search__facet-chip-remove", type: "button", "aria-label": `Remove filter ${chip.label}`, onClick: (e) => {
208
+ index.h("div", { key: '37a7fa941fee9d90d58937fea9a968604e825daf', class: "co-command-search__trigger", onClick: this.handleTriggerClick }, index.h("slot", { key: '23aff571c1cc19b36b1931a5c30d3d3c544eb9b8', name: "trigger" })),
209
+ index.h("co-overlay", { key: 'bc74cdb881e5005d12ae0e55f301507715303d63', open: this.open, onCoClose: this.handleOverlayClick }, index.h("div", { key: '654ab29570bd313809b660cce6ba9f71c0730e57', class: { 'co-command-search': true, 'co-command-search--open': this.open }, part: "panel", role: "dialog", "aria-modal": "true", "aria-label": "Command palette", onClick: this.handlePanelClick, onKeyDown: this.handlePanelKeyDown }, index.h("div", { key: 'f62ae09d7384d180b4169e1f7c21d14c7f3ca0b3', class: "co-command-search__input-row", part: "input-row" }, index.h("co-icon", { key: '800323c34524e72dd0255166e45528dcf273a642', name: "magnifying-glass", size: 20 }), this.parsedChips.map((chip, idx) => (index.h("span", { class: "co-command-search__facet-chip" }, chip.icon && index.h("co-icon", { name: chip.icon, size: 12 }), index.h("span", { class: "co-command-search__facet-chip-label" }, chip.label), index.h("button", { class: "co-command-search__facet-chip-remove", type: "button", "aria-label": `Remove filter ${chip.label}`, onClick: (e) => {
210
210
  e.stopPropagation();
211
211
  this.coChipRemove.emit(idx);
212
- } }, index.h("co-icon", { name: "x", size: 10, weight: "bold" }))))), index.h("input", { key: '569d79d5dd64bf0d77f2f935faddb45140dbb4ab', class: "co-command-search__input", type: "text", placeholder: this.placeholder, value: this.query, onInput: this.handleInput, onKeyDown: this.handleKeyDown, ref: el => (this.inputEl = el), part: "input", role: "combobox", "aria-expanded": this.open ? 'true' : 'false', "aria-autocomplete": "list" }), this.loading && (index.h("co-loader", { key: '2c97cbbe4cb8680cc9a0a17ac4874affb4aa4dbc', class: "co-command-search__loading", part: "loading", size: "sm" })), index.h("span", { key: 'e83670924b978f2b1c8900d7b5974ddfdec79421', class: "co-command-search__shortcut" }, "ESC")), (this.parsedTabs.length > 0 || this.hasMore) && (index.h("div", { key: 'ac2e11112323393377a47b70d0c4e7f0b4879925', class: "co-command-search__tabs", part: "tabs", role: "tablist" }, this.parsedTabs.map(tab => {
212
+ } }, index.h("co-icon", { name: "x", size: 10, weight: "bold" }))))), index.h("input", { key: '5468e510b549c996e7208b691b846b2949b2870d', class: "co-command-search__input", type: "text", placeholder: this.placeholder, value: this.query, onInput: this.handleInput, onKeyDown: this.handleKeyDown, ref: el => (this.inputEl = el), part: "input", role: "combobox", "aria-expanded": this.open ? 'true' : 'false', "aria-autocomplete": "list" }), this.loading && (index.h("co-loader", { key: '300afe578342e795b968c01ec4a941b2fc07c25b', class: "co-command-search__loading", part: "loading", size: "sm" })), index.h("span", { key: '96c6c03f2330c1c4fbdecba635cc61aee1cef442', class: "co-command-search__shortcut" }, "ESC")), (this.parsedTabs.length > 0 || this.hasMore) && (index.h("div", { key: 'b05917311a4e65b98ed2e1db1c0cedb9f83bd5a2', class: "co-command-search__tabs", part: "tabs", role: "tablist" }, this.parsedTabs.map(tab => {
213
213
  const active = tab.value === this.activeTab;
214
214
  return (index.h("co-chip", { class: "co-command-search__tab", role: "tab", "aria-selected": active ? 'true' : 'false', clickable: true, selected: active, variant: active ? 'filled' : 'outlined', color: active ? 'primary' : 'default', iconLeft: tab.icon, label: tab.label, onCoClick: () => this.coTabSelect.emit(active ? '' : tab.value) }));
215
- }), this.hasMore && (index.h("co-chip", { key: '5d9f2d1f698ae0bcd8114fecc37933d3a382e827', class: "co-command-search__tab co-command-search__tab--more", clickable: true, variant: "outlined", label: this.moreLabel, iconRight: "caret-down", onCoClick: () => this.coMoreTabs.emit() })))), index.h("div", { key: 'f40c3fd0d1df01943abb1ad5c309c4d3ca06cb6d', class: "co-command-search__results", part: "results" }, this.parsedFavorites.length > 0 && !this.query && (index.h("div", { key: 'db24aad8d20d08ca7ab73d7a7282864b86416270', class: "co-command-search__fav", part: "favorites" }, index.h("div", { key: 'da53185a2e61f62413520ed731233db7994c8c98', class: "co-command-search__fav-grid" }, this.parsedFavorites.map(fav => (index.h("button", { class: "co-command-search__fav-card", type: "button", onClick: () => this.coSelect.emit(fav.value) }, index.h("span", { class: "co-command-search__fav-icon", style: { background: fav.color || 'var(--co-semantic-surface-muted)' } }, index.h("co-icon", { name: fav.icon || 'circle', size: 26, weight: "fill" })), index.h("span", { class: "co-command-search__fav-label" }, fav.label))))))), index.h("co-option-list", { key: '31c21b81d1fffc0c8a1e7aadfc3abb6661804967', ref: (el) => (this.optionListEl = el), items: JSON.stringify(items.map((it) => ({
215
+ }), this.hasMore && (index.h("co-chip", { key: '36c25c208b1e26394bd02a56dda55d5e0fd912fd', class: "co-command-search__tab co-command-search__tab--more", clickable: true, variant: "outlined", label: this.moreLabel, iconRight: "caret-down", onCoClick: () => this.coMoreTabs.emit() })))), index.h("div", { key: '72497fec08f07fd6a91f62db10091d7d635eeab9', class: "co-command-search__results", part: "results" }, this.parsedFavorites.length > 0 && !this.query && (index.h("div", { key: 'be18a43f0e3e5cc4c9ce0cbfacc90c7e5568017b', class: "co-command-search__fav", part: "favorites" }, index.h("div", { key: '9c29628bb6ba66daf9253aa5d490f7dcc56e4b3b', class: "co-command-search__fav-grid" }, this.parsedFavorites.map(fav => (index.h("button", { class: "co-command-search__fav-card", type: "button", onClick: () => this.coSelect.emit(fav.value) }, index.h("span", { class: "co-command-search__fav-icon", style: { background: fav.color || 'var(--co-semantic-surface-muted)' } }, index.h("co-icon", { name: fav.icon || 'circle', size: 26, weight: "fill" })), index.h("span", { class: "co-command-search__fav-label" }, fav.label))))))), index.h("co-option-list", { key: 'ee50dd0d97743a7a85de59f8daf6e45e989a422d', ref: (el) => (this.optionListEl = el), items: JSON.stringify(items.map((it) => ({
216
216
  _id: it.value, label: it.label, icon: it.icon, description: it.subtitle, group: it.section,
217
217
  disabled: it.disabled,
218
218
  }))), autoHighlight: true, highlightMatches: true, highlightTerm: this.query, loading: this.loading, emptyMessage: this.emptyMessage, onCoChange: (e) => this.handleListPick(e.detail.item._id) })))),
@@ -91,17 +91,17 @@ const CoDataTablePagination = class {
91
91
  }
92
92
  render() {
93
93
  const pages = this.getVisiblePages();
94
- return (index.h("div", { key: 'f83c7d15c6e8eec2afc321143bded864ae5fda09', class: "co-pagination", part: "pagination" }, index.h("div", { key: '11782853551ccefbcec9ac5106f832b2197da906', class: "co-pagination__section" }, index.h("span", { key: 'cf6655015c28276df65494a98227f3958f49c0d3', class: "co-pagination__label" }, this.jumpToPageLabel), index.h("input", { key: 'e81cfc938459634a724af59b2f00ceb509faaafb', type: "text", class: "co-pagination__jump-input", value: this.jumpToValue || String(this.page), onInput: (e) => {
94
+ return (index.h("div", { key: '0f62fb900604d4deb263f03e8075e2c092e8ce73', class: "co-pagination", part: "pagination" }, index.h("div", { key: '257d5bc2c25ef058ceb7b41ddfba949e8da0d466', class: "co-pagination__section" }, index.h("span", { key: '61d243f6e20b8aca4f65c4f95dd0a85a98b70485', class: "co-pagination__label" }, this.jumpToPageLabel), index.h("input", { key: 'd99b709c2f9ac000adf4922c3cbcd9a745f6be2f', type: "text", class: "co-pagination__jump-input", value: this.jumpToValue || String(this.page), onInput: (e) => {
95
95
  this.jumpToValue = e.target.value;
96
96
  }, onKeyDown: (e) => this.handleJumpToPage(e), onFocus: (e) => {
97
97
  e.target.select();
98
- }, part: "jump-input" })), index.h("div", { key: '1106208e94bf7fed0a536d9ba697f029e6125bf4', class: "co-pagination__section co-pagination__section--page-size" }, index.h("div", { key: '9a158ae48966c89bbfd30b575382e3798f86c403', class: "co-pagination__page-size-trigger", onClick: () => { this.showPageSizeDropdown = !this.showPageSizeDropdown; } }, index.h("span", { key: 'eb823c3876c2b53bc8a946b18899290ab9d4928c', class: "co-pagination__page-size-value" }, this.pageSize), index.h("span", { key: 'f46690625eb9b4fc3f47c3dd6c19670f483f4373', class: "co-pagination__label" }, this.perPageLabel), index.h("co-icon", { key: 'ebd5dcac78b682c6a96ca090868dfbe4a81196e7', name: "caret-down", size: 14 })), this.showPageSizeDropdown && (index.h("div", { key: 'be486ea92757e11c3782c293cbbf377fb39ac1f2', class: "co-pagination__page-size-dropdown", part: "dropdown" }, this.parsedPageSizes.map(size => (index.h("button", { class: {
98
+ }, part: "jump-input" })), index.h("div", { key: '9737e4830745d75428184b9cb1e45f9cfd713aaf', class: "co-pagination__section co-pagination__section--page-size" }, index.h("div", { key: '1a025e7dc8fc1cc29547da7633b70e0b1b166ab7', class: "co-pagination__page-size-trigger", onClick: () => { this.showPageSizeDropdown = !this.showPageSizeDropdown; } }, index.h("span", { key: '5402395084c43c4e828de79454aa2dbb457bf6df', class: "co-pagination__page-size-value" }, this.pageSize), index.h("span", { key: '8010da33d478ce393f77122926d6d5e30eb6da27', class: "co-pagination__label" }, this.perPageLabel), index.h("co-icon", { key: '0abd66f654b36912826d9b11357837f1db5b045c', name: "caret-down", size: 14 })), this.showPageSizeDropdown && (index.h("div", { key: 'ca25c9f67dd28fbf58d903691a6f805168dc255e', class: "co-pagination__page-size-dropdown", part: "dropdown" }, this.parsedPageSizes.map(size => (index.h("button", { class: {
99
99
  'co-pagination__page-size-option': true,
100
100
  'co-pagination__page-size-option--active': size === this.pageSize,
101
- }, onClick: () => this.changePageSize(size) }, size)))))), index.h("div", { key: '90d4ade3e50e1e539dacae10375bf395eb8f116b', class: "co-pagination__spacer" }), index.h("div", { key: 'db63dc37c80ef387473085d18dbcfb41e5779513', class: "co-pagination__section" }, index.h("span", { key: '1c3a3603bb8fcfc60762fb6e2ea865e06a23bf60', class: "co-pagination__count" }, this.totalCount.toLocaleString(), " ", this.recordsLabel)), index.h("div", { key: '04f0065db683f13f6b57d2c068cd883b538964fd', class: "co-pagination__section co-pagination__nav" }, index.h("button", { key: '69c7aa951561422f9a0b6a4321845ceadf33d4c7', class: "co-pagination__nav-btn", disabled: this.page <= 1, onClick: () => this.goToPage(this.page - 1), part: "prev-btn" }, this.previousLabel), pages.map(p => p === '...' ? (index.h("span", { class: "co-pagination__ellipsis" }, "\u2026")) : (index.h("button", { class: {
101
+ }, onClick: () => this.changePageSize(size) }, size)))))), index.h("div", { key: '3b84c572f6eb902d9bd2787e938014efa710b317', class: "co-pagination__spacer" }), index.h("div", { key: '0cf60f2844ccd5e7ce370bc57895c874f558b718', class: "co-pagination__section" }, index.h("span", { key: '944f414d863c494b00df4ac81f688b00597b0af4', class: "co-pagination__count" }, this.totalCount.toLocaleString(), " ", this.recordsLabel)), index.h("div", { key: '4190fcca176fc5d9918cc6e70c7ab6f5a244dfd7', class: "co-pagination__section co-pagination__nav" }, index.h("button", { key: '5dbb9d83e9e3df1ad9dc817e5e7995706e9c06b3', class: "co-pagination__nav-btn", disabled: this.page <= 1, onClick: () => this.goToPage(this.page - 1), part: "prev-btn" }, this.previousLabel), pages.map(p => p === '...' ? (index.h("span", { class: "co-pagination__ellipsis" }, "\u2026")) : (index.h("button", { class: {
102
102
  'co-pagination__page-btn': true,
103
103
  'co-pagination__page-btn--active': p === this.page,
104
- }, onClick: () => this.goToPage(p) }, p))), index.h("button", { key: '8498aaddbfa4bf91c63fd7d2697613d112d37adc', class: "co-pagination__nav-btn", disabled: this.page >= this.totalPages, onClick: () => this.goToPage(this.page + 1), part: "next-btn" }, this.nextLabel))));
104
+ }, onClick: () => this.goToPage(p) }, p))), index.h("button", { key: '7b27f1e6910b3f8c40198c83a6c6a11a4fbddaeb', class: "co-pagination__nav-btn", disabled: this.page >= this.totalPages, onClick: () => this.goToPage(this.page + 1), part: "next-btn" }, this.nextLabel))));
105
105
  }
106
106
  static get watchers() { return {
107
107
  "pageSizes": [{
@@ -548,12 +548,12 @@ const CoDataTable = class {
548
548
  : index.h("slot", { name: "empty-action" }))));
549
549
  }
550
550
  render() {
551
- return (index.h("div", { key: '44bc59a435ddaecd97cc5f6a70c466e2b8932344', class: {
551
+ return (index.h("div", { key: 'db627f32da540ce37e30ef6411c29ffc7be6b7fb', class: {
552
552
  'co-data-table': true,
553
553
  'co-data-table--resizing': this.resizingColumn !== null,
554
554
  'co-data-table--loading': this.loading,
555
555
  'co-data-table--empty': !this.loading && this.parsedRows.length === 0,
556
- } }, index.h("div", { key: '1bd489e12b774b82571877870783454484319c9e', class: "co-data-table__scroll" }, index.h("table", { key: '3676513e8cffa3af36575975e3a57de8482129e6', class: "co-data-table__table", style: { width: `${this.getTableWidth()}px`, minWidth: '100%' } }, this.renderColgroup(), this.renderHeader(), index.h("slot", { key: '9bfc25d51933af94e714a5c8dc9e37f306ee27ed' }), this.loading ? this.renderSkeletonBody() : null)), this.renderEmpty()));
556
+ } }, index.h("div", { key: '03c1c7eb194c077716535a73b753db1b1c7ea49f', class: "co-data-table__scroll" }, index.h("table", { key: '6401d8f51d991e434b6798ffa800ec05521408bd', class: "co-data-table__table", style: { width: `${this.getTableWidth()}px`, minWidth: '100%' } }, this.renderColgroup(), this.renderHeader(), index.h("slot", { key: 'ddc92d612b45877c558d2ad8dd567c1ea12d76ef' }), this.loading ? this.renderSkeletonBody() : null)), this.renderEmpty()));
557
557
  }
558
558
  get el() { return index.getElement(this); }
559
559
  static get watchers() { return {
@@ -19,8 +19,11 @@ const CoDatePicker = class {
19
19
  this.coClose = index.createEvent(this, "coClose", 3);
20
20
  /** Committed value, "YYYY-MM-DD" or null. */
21
21
  this.value = null;
22
+ /** Locale BCP-47: nombres de meses y días, parseo de lo tipeado y textos de la UI (es/en/pt). */
22
23
  this.locale = 'es-CO';
24
+ /** Formato de la fecha visible. Tokens: `yyyy yy MMMM MMM MM M dd d` (el valor sigue siendo `YYYY-MM-DD`). */
23
25
  this.displayFormat = 'd MMM yyyy';
26
+ /** Primer día de la semana del calendario: 0 = domingo … 6 = sábado (default 1, lunes). */
24
27
  this.firstDayOfWeek = 1;
25
28
  /** Field size, forwarded to the inner co-date-field. */
26
29
  this.size = 'md';
@@ -31,10 +34,15 @@ const CoDatePicker = class {
31
34
  * this prop existed. co-date-field itself has no `variant` prop, so this
32
35
  * is applied from the outside via `::part(field)` — see co-date-picker.css. */
33
36
  this.variant = 'default';
37
+ /** Deshabilita el campo y el calendario. */
34
38
  this.disabled = false;
39
+ /** Solo lectura: muestra la fecha pero no permite cambiarla. */
35
40
  this.readonly = false;
41
+ /** Campo obligatorio: marca la etiqueta con el indicador de requerido. */
36
42
  this.required = false;
43
+ /** Botón × para vaciar la fecha (default `true`); emite `coClear`. */
37
44
  this.clearable = true;
45
+ /** Marca el campo como inválido (validación externa): borde de error y `errorMessage` en lugar de `helperText`. */
38
46
  this.invalid = false;
39
47
  /** Label layout: vertical (label above) or horizontal (label beside) */
40
48
  this.layout = 'vertical';
@@ -20,18 +20,25 @@ const CoDateRangePicker = class {
20
20
  this.coClose = index.createEvent(this, "coClose", 3);
21
21
  /** JSON `{from,to}` or '' (empty). */
22
22
  this.value = '';
23
+ /** Locale BCP-47: nombres de meses y días, parseo de lo tipeado y textos de la UI (es/en/pt). */
23
24
  this.locale = 'es-CO';
25
+ /** Formato de las fechas en el trigger y los campos. Tokens: `yyyy yy MMMM MMM MM M dd d`. */
24
26
  this.displayFormat = 'd MMM yyyy';
27
+ /** Primer día de la semana del calendario: 0 = domingo … 6 = sábado (default 1, lunes). */
25
28
  this.firstDayOfWeek = 1;
26
29
  /** Show the quick-preset column. */
27
30
  this.presets = true;
28
31
  /** Allow from === to. */
29
32
  this.allowSameDay = true;
33
+ /** Muestra la acción «Limpiar» en el footer (default `true`); emite `coClear`. */
30
34
  this.clearable = true;
31
35
  /** Commit (emit coApply) as soon as a full valid range is picked, debounced. */
32
36
  this.applyOnSelect = false;
37
+ /** Deshabilita el campo: no abre el popover. */
33
38
  this.disabled = false;
39
+ /** Solo lectura: muestra el rango pero no permite cambiarlo. */
34
40
  this.readonly = false;
41
+ /** Marca el campo como inválido (validación externa): borde de error y `errorMessage` en lugar de `helperText`. */
35
42
  this.invalid = false;
36
43
  /** Whether the field is required (renders a required marker on the label). */
37
44
  this.required = false;
@@ -44,7 +51,9 @@ const CoDateRangePicker = class {
44
51
  * focus ring, disabled and invalid states are unaffected. `default` (the
45
52
  * standard bordered box) renders identically to before this prop existed. */
46
53
  this.variant = 'default';
54
+ /** Lado y alineación del popover respecto del trigger (default `bottom-start`). */
47
55
  this.placement = 'bottom-start';
56
+ /** Popover abierto (reflejado; el componente lo actualiza al abrir y cerrar). */
48
57
  this.open = false;
49
58
  /** Max viewport width (px) that renders the picker as a bottom sheet. */
50
59
  this.mobileBreakpoint = 600;
@@ -11,11 +11,17 @@ const CoDateRange = class {
11
11
  this.coClear = index.createEvent(this, "coClear", 7);
12
12
  /** JSON `{from,to}` or empty string. */
13
13
  this.value = '';
14
+ /** Etiqueta del campo. */
14
15
  this.label = '';
16
+ /** Texto del trigger sin rango. */
15
17
  this.placeholder = 'Select range';
18
+ /** Deshabilita el campo. */
16
19
  this.disabled = false;
20
+ /** Acción «Limpiar» en el footer; emite `coClear`. */
17
21
  this.clearable = true;
22
+ /** Columna de rangos rápidos (hoy, esta semana…), traducidos según `locale`. */
18
23
  this.presets = true;
24
+ /** Texto de ayuda bajo el campo. */
19
25
  this.helperText = '';
20
26
  /** BCP-47 locale. */
21
27
  this.locale = 'es';
@@ -33,7 +39,7 @@ const CoDateRange = class {
33
39
  }
34
40
  }
35
41
  render() {
36
- return (index.h("co-date-range-picker", { key: 'f979460b1e6de4e3a519534a62258aebce1f2670', 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() }));
42
+ return (index.h("co-date-range-picker", { key: 'e1d13b772fcd7aa60bbc77a25a5c6cb40a25dd4b', 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
43
  }
38
44
  get el() { return index.getElement(this); }
39
45
  };
@@ -27,18 +27,25 @@ const CoDateTimePicker = class {
27
27
  this.presetIds = ['morning', 'noon', 'afternoon', 'endOfDay', 'now'];
28
28
  /** 12-hour clock (Google style). `false` renders a 24h clock. */
29
29
  this.hour12 = true;
30
+ /** Locale BCP-47: nombres de meses y días, formato de la hora y textos de la UI (es/en/pt). */
30
31
  this.locale = 'es-CO';
31
32
  /** Date part of the trigger text (tokens yyyy/yy/MMMM/MMM/MM/M/dd/d). */
32
33
  this.displayFormat = 'd MMM yyyy';
34
+ /** Primer día de la semana del calendario: 0 = domingo … 6 = sábado (default 1, lunes). */
33
35
  this.firstDayOfWeek = 1;
34
36
  /** Field size, mirrors co-input/co-date-field: s 28 / sm 32 / md 40 / lg 48. */
35
37
  this.size = 'md';
36
38
  /** `flat` strips the trigger's border/background so it reads as content. */
37
39
  this.variant = 'default';
40
+ /** Deshabilita el campo. */
38
41
  this.disabled = false;
42
+ /** Solo lectura: muestra el valor pero no abre el panel ni permite limpiar. */
39
43
  this.readonly = false;
44
+ /** Campo obligatorio: marca la etiqueta con el indicador de requerido. */
40
45
  this.required = false;
46
+ /** Botón × para vaciar el valor (default `true`); emite `coClear` y `coChange(null)`. */
41
47
  this.clearable = true;
48
+ /** Marca el campo como inválido (validación externa): borde de error y `errorMessage` en lugar de `helperText`. */
42
49
  this.invalid = false;
43
50
  /** Label layout: vertical (label above) or horizontal (label beside). */
44
51
  this.layout = 'vertical';
@@ -329,10 +336,10 @@ const CoDateTimePicker = class {
329
336
  render() {
330
337
  var _a;
331
338
  const t = dateI18n.getDateStrings(this.locale);
332
- return (index.h("div", { key: 'f5805a061a0ab020f956e9333dd308745385814d', class: "co-date-time-picker", onKeyDown: this.onRootKeyDown }, this.renderLabel(), this.isMobile ? ([
339
+ return (index.h("div", { key: 'fd0f8441ff0531546790d1d318a580cd962bf345', class: "co-date-time-picker", onKeyDown: this.onRootKeyDown }, this.renderLabel(), this.isMobile ? ([
333
340
  index.h("div", { class: "co-date-time-picker__trigger", onClick: () => !this.disabled && !this.readonly && this.setOpen(true) }, this.renderTrigger(t)),
334
341
  index.h("co-drawer", { position: "bottom", open: this.open, heading: t.selectDateTime, onCoClose: this.closeApplyingDraft }, index.h("div", { class: "co-date-time-picker__sheet" }, this.renderPanel(t, true))),
335
- ]) : (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: '58c58310ebc09b22b95ba8c7e231564edc7cecfa', type: "hidden", name: this.name, value: (_a = this.value) !== null && _a !== void 0 ? _a : '' }), this.renderHelper()));
342
+ ]) : (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: 'a30aed536d890836f468660f4f40f745504a6731', type: "hidden", name: this.name, value: (_a = this.value) !== null && _a !== void 0 ? _a : '' }), this.renderHelper()));
336
343
  }
337
344
  get el() { return index.getElement(this); }
338
345
  static get watchers() { return {