@prolibu-suite/cobalt-core 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (648) hide show
  1. package/custom-elements.json +7924 -3799
  2. package/dist/cjs/co-accordion.cjs.entry.js +1 -1
  3. package/dist/cjs/co-action-bar.cjs.entry.js +89 -0
  4. package/dist/cjs/co-app-shell.cjs.entry.js +3 -3
  5. package/dist/cjs/co-audio-player.cjs.entry.js +279 -0
  6. package/dist/cjs/co-autocomplete.cjs.entry.js +3 -3
  7. package/dist/cjs/co-avatar-group.cjs.entry.js +3 -3
  8. package/dist/cjs/{co-tooltip.cjs.entry.js → co-avatar_2.cjs.entry.js} +96 -4
  9. package/dist/cjs/co-badge.cjs.entry.js +2 -2
  10. package/dist/cjs/co-bottom-sheet.cjs.entry.js +4 -4
  11. package/dist/cjs/co-breadcrumb-item.cjs.entry.js +3 -3
  12. package/dist/cjs/co-breadcrumb.cjs.entry.js +2 -2
  13. package/dist/cjs/co-button-group.cjs.entry.js +3 -3
  14. package/dist/cjs/co-button.cjs.entry.js +13 -6
  15. package/dist/cjs/co-calendar-month_2.cjs.entry.js +1601 -0
  16. package/dist/cjs/co-calendar_3.cjs.entry.js +12 -12
  17. package/dist/cjs/co-card.cjs.entry.js +3 -3
  18. package/dist/cjs/co-carousel-item.cjs.entry.js +17 -0
  19. package/dist/cjs/co-carousel.cjs.entry.js +368 -0
  20. package/dist/cjs/co-checkbox-group.cjs.entry.js +1 -1
  21. package/dist/cjs/co-checkbox.cjs.entry.js +5 -5
  22. package/dist/cjs/co-chip_2.cjs.entry.js +96 -7
  23. package/dist/cjs/co-color-picker.cjs.entry.js +5 -5
  24. package/dist/cjs/co-column-picker.cjs.entry.js +3 -3
  25. package/dist/cjs/co-combobox.cjs.entry.js +3 -3
  26. package/dist/cjs/co-command-search.cjs.entry.js +1 -1
  27. package/dist/cjs/co-data-table-pagination.cjs.entry.js +5 -5
  28. package/dist/cjs/co-data-table.cjs.entry.js +2 -2
  29. package/dist/cjs/co-date-picker.cjs.entry.js +12 -5
  30. package/dist/cjs/co-date-range-picker.cjs.entry.js +11 -5
  31. package/dist/cjs/co-date-range.cjs.entry.js +2 -2
  32. package/dist/cjs/co-date-time-picker.cjs.entry.js +409 -0
  33. package/dist/cjs/co-drive-card.cjs.entry.js +2 -2
  34. package/dist/cjs/co-drop-zone.cjs.entry.js +2 -2
  35. package/dist/cjs/co-empty-state.cjs.entry.js +3 -3
  36. package/dist/cjs/co-event-calendar.cjs.entry.js +119 -18
  37. package/dist/cjs/co-event-popover.cjs.entry.js +132 -0
  38. package/dist/cjs/co-fab.cjs.entry.js +21 -6
  39. package/dist/cjs/co-file-field.cjs.entry.js +8 -8
  40. package/dist/cjs/co-file-type-tile.cjs.entry.js +3 -3
  41. package/dist/cjs/co-helper-text.cjs.entry.js +3 -3
  42. package/dist/cjs/co-icon-button.cjs.entry.js +2 -2
  43. package/dist/cjs/co-icon.cjs.entry.js +3 -3
  44. package/dist/cjs/co-input.cjs.entry.js +9 -3
  45. package/dist/cjs/co-json-field.cjs.entry.js +6 -6
  46. package/dist/cjs/co-lightbox.cjs.entry.js +34 -7
  47. package/dist/cjs/co-list-footer.cjs.entry.js +2 -2
  48. package/dist/cjs/co-list-item.cjs.entry.js +5 -5
  49. package/dist/cjs/co-loader.cjs.entry.js +1 -1
  50. package/dist/cjs/co-media-thumb.cjs.entry.js +3 -3
  51. package/dist/cjs/co-menu-divider.cjs.entry.js +2 -2
  52. package/dist/cjs/co-menu-item.cjs.entry.js +3 -3
  53. package/dist/cjs/co-menu.cjs.entry.js +2 -2
  54. package/dist/cjs/co-modal.cjs.entry.js +3 -3
  55. package/dist/cjs/co-navbar.cjs.entry.js +3 -3
  56. package/dist/cjs/co-number-field.cjs.entry.js +5 -5
  57. package/dist/cjs/co-overlay.cjs.entry.js +2 -2
  58. package/dist/cjs/co-page-header.cjs.entry.js +2 -2
  59. package/dist/cjs/co-phone-field.cjs.entry.js +4 -4
  60. package/dist/cjs/co-popover.cjs.entry.js +2 -2
  61. package/dist/cjs/co-progress-bar.cjs.entry.js +3 -3
  62. package/dist/cjs/co-progress-circle.cjs.entry.js +3 -3
  63. package/dist/cjs/co-provider-logo_2.cjs.entry.js +72 -0
  64. package/dist/cjs/co-radio-group.cjs.entry.js +1 -1
  65. package/dist/cjs/co-radio.cjs.entry.js +4 -4
  66. package/dist/cjs/co-rating.cjs.entry.js +4 -4
  67. package/dist/cjs/co-ref-field.cjs.entry.js +16 -6
  68. package/dist/cjs/co-rich-text-editor.cjs.entry.js +22 -7
  69. package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +37 -5
  70. package/dist/cjs/co-rich-text-viewer.cjs.entry.js +36 -6
  71. package/dist/cjs/co-row.cjs.entry.js +3 -3
  72. package/dist/cjs/co-segmented-bar.cjs.entry.js +1 -1
  73. package/dist/cjs/co-select.cjs.entry.js +13 -7
  74. package/dist/cjs/co-separator.cjs.entry.js +2 -2
  75. package/dist/cjs/co-sidebar-nav.cjs.entry.js +13 -3
  76. package/dist/cjs/co-sidebar.cjs.entry.js +3 -3
  77. package/dist/cjs/co-slider.cjs.entry.js +3 -3
  78. package/dist/cjs/co-switch.cjs.entry.js +5 -5
  79. package/dist/cjs/co-tab-group.cjs.entry.js +20 -4
  80. package/dist/cjs/co-tab.cjs.entry.js +3 -3
  81. package/dist/cjs/co-tags-field.cjs.entry.js +9 -9
  82. package/dist/cjs/co-textarea.cjs.entry.js +13 -7
  83. package/dist/cjs/co-toast.cjs.entry.js +1 -1
  84. package/dist/cjs/co-toggle-button-group.cjs.entry.js +3 -3
  85. package/dist/cjs/co-toggle-button.cjs.entry.js +3 -3
  86. package/dist/cjs/co-transfer-list.cjs.entry.js +1 -1
  87. package/dist/cjs/co-video.cjs.entry.js +3 -3
  88. package/dist/cjs/cobalt.cjs.js +2 -2
  89. package/dist/cjs/{dateI18n-BdiNAl0_.js → dateI18n-wblvKRq_.js} +21 -0
  90. package/dist/cjs/{dates-D8D-aS5d.js → dates-TQLHlFd2.js} +64 -13
  91. package/dist/cjs/{fieldChip-D8YJCyQF.js → fieldChip-B_npd9rL.js} +1 -1
  92. package/dist/cjs/{index-4y1Dm145.js → index-DFZ5YhIT.js} +171 -11
  93. package/dist/cjs/{index-DxEFsH_t.js → index-kBiXCEE7.js} +41 -21
  94. package/dist/cjs/loader.cjs.js +2 -2
  95. package/dist/cjs/{positioning-DwHW399W.js → positioning-DCj_AJ2T.js} +10 -0
  96. package/dist/cjs/{requiredMark-B3pKyqYI.js → requiredMark-DuMIcKtt.js} +1 -1
  97. package/dist/cjs/{richTextI18n-B7ktXg3M.js → richTextI18n-B28uAhh4.js} +3 -0
  98. package/dist/cjs/time-LBHtzLHe.js +42 -0
  99. package/dist/cjs/{toolbar-config-3PlT-3zm.js → toolbar-config-BQfWTW6P.js} +2 -0
  100. package/dist/cobalt/cobalt.css +1 -1
  101. package/dist/cobalt/cobalt.esm.js +1 -1
  102. package/dist/cobalt/{p-075eed3d.entry.js → p-00830b8c.entry.js} +1 -1
  103. package/dist/cobalt/{p-cc0a4617.entry.js → p-0769eee9.entry.js} +1 -1
  104. package/dist/cobalt/p-0f18c4d2.entry.js +1 -0
  105. package/dist/cobalt/{p-5c3101b5.entry.js → p-0fc1edca.entry.js} +1 -1
  106. package/dist/cobalt/p-15852fec.entry.js +1 -0
  107. package/dist/cobalt/p-195c67ee.entry.js +1 -0
  108. package/dist/cobalt/{p-B6JZk8fL.js → p-1EK-COrb.js} +1 -1
  109. package/dist/cobalt/{p-d9608046.entry.js → p-1e9c9d46.entry.js} +1 -1
  110. package/dist/cobalt/{p-02c5a9a9.entry.js → p-202eadfc.entry.js} +1 -1
  111. package/dist/cobalt/{p-b4bed98b.entry.js → p-20bd3702.entry.js} +1 -1
  112. package/dist/cobalt/p-25f59046.entry.js +1 -0
  113. package/dist/cobalt/{p-809015dd.entry.js → p-260196cb.entry.js} +1 -1
  114. package/dist/cobalt/{p-771bc8fe.entry.js → p-27dce0ac.entry.js} +1 -1
  115. package/dist/cobalt/p-2bf44b2b.entry.js +1 -0
  116. package/dist/cobalt/{p-3f06d373.entry.js → p-2c100914.entry.js} +1 -1
  117. package/dist/cobalt/p-2e1d930f.entry.js +1 -0
  118. package/dist/cobalt/{p-47a2dd67.entry.js → p-35518aee.entry.js} +1 -1
  119. package/dist/cobalt/{p-c3462def.entry.js → p-38ae8bff.entry.js} +1 -1
  120. package/dist/cobalt/p-38cf47b6.entry.js +1 -0
  121. package/dist/cobalt/p-39dea0c0.entry.js +1 -0
  122. package/dist/cobalt/p-3a746267.entry.js +1 -0
  123. package/dist/cobalt/{p-9c6ca902.entry.js → p-3ae69426.entry.js} +1 -1
  124. package/dist/cobalt/{p-8dfb6886.entry.js → p-3af74ab8.entry.js} +1 -1
  125. package/dist/cobalt/{p-9a587867.entry.js → p-3d4e697e.entry.js} +1 -1
  126. package/dist/cobalt/{p-1681ce1d.entry.js → p-445acc4c.entry.js} +1 -1
  127. package/dist/cobalt/p-48fbf051.entry.js +1 -0
  128. package/dist/cobalt/p-4de9232a.entry.js +1 -0
  129. package/dist/cobalt/{p-fd27c2bd.entry.js → p-50bbfad8.entry.js} +1 -1
  130. package/dist/cobalt/{p-85eed52c.entry.js → p-51a1ad38.entry.js} +1 -1
  131. package/dist/cobalt/{p-1726ce07.entry.js → p-523aca9f.entry.js} +1 -1
  132. package/dist/cobalt/p-52af222b.entry.js +1 -0
  133. package/dist/cobalt/{p-81cfd951.entry.js → p-5319ac3f.entry.js} +1 -1
  134. package/dist/cobalt/{p-ba66584f.entry.js → p-53a276a8.entry.js} +1 -1
  135. package/dist/cobalt/{p-f0de4415.entry.js → p-543cc00d.entry.js} +1 -1
  136. package/dist/cobalt/{p-a9afbaa6.entry.js → p-59f7d44b.entry.js} +1 -1
  137. package/dist/cobalt/{p-e420d5c9.entry.js → p-5b984323.entry.js} +1 -1
  138. package/dist/cobalt/{p-e710b9ea.entry.js → p-5bfaca70.entry.js} +1 -1
  139. package/dist/cobalt/p-5c1328ff.entry.js +1 -0
  140. package/dist/cobalt/{p-0d7536a8.entry.js → p-5c250889.entry.js} +1 -1
  141. package/dist/cobalt/p-5e21ca17.entry.js +1 -0
  142. package/dist/cobalt/p-61d5ca3c.entry.js +1 -0
  143. package/dist/cobalt/{p-8e823c15.entry.js → p-6357d9dd.entry.js} +1 -1
  144. package/dist/cobalt/{p-495c9b99.entry.js → p-69723cc1.entry.js} +1 -1
  145. package/dist/cobalt/{p-8128e84a.entry.js → p-6985a964.entry.js} +1 -1
  146. package/dist/cobalt/p-69b8d98e.entry.js +1 -0
  147. package/dist/cobalt/p-6b089060.entry.js +1 -0
  148. package/dist/cobalt/{p-627d2d1a.entry.js → p-6b256d01.entry.js} +1 -1
  149. package/dist/cobalt/{p-c1e53e4c.entry.js → p-7c6b3175.entry.js} +1 -1
  150. package/dist/cobalt/p-7d077a7c.entry.js +1 -0
  151. package/dist/cobalt/{p-20ba59a2.entry.js → p-7f4bf341.entry.js} +1 -1
  152. package/dist/cobalt/p-869c338a.entry.js +1 -0
  153. package/dist/cobalt/p-890296f9.entry.js +1 -0
  154. package/dist/cobalt/{p-5c43d30e.entry.js → p-8fe08257.entry.js} +1 -1
  155. package/dist/cobalt/p-913b2a14.entry.js +1 -0
  156. package/dist/cobalt/{p-2d1cbd7f.entry.js → p-959556f4.entry.js} +1 -1
  157. package/dist/cobalt/p-97875bde.entry.js +1 -0
  158. package/dist/cobalt/p-9824c478.entry.js +1 -0
  159. package/dist/cobalt/p-99c1ff0f.entry.js +1 -0
  160. package/dist/cobalt/p-BCEz3S-z.js +2 -0
  161. package/dist/cobalt/{p-Bgxofdfb.js → p-BL0sCfMH.js} +1 -1
  162. package/dist/cobalt/p-BMdapAL8.js +1 -0
  163. package/dist/cobalt/p-BU7SQCje.js +1 -0
  164. package/dist/cobalt/p-BYKAgwq3.js +1 -0
  165. package/dist/cobalt/p-C-d15gih.js +1 -0
  166. package/dist/cobalt/p-CF8OB_TM.js +1 -0
  167. package/dist/cobalt/p-CnNpoKwg.js +1 -0
  168. package/dist/cobalt/p-D5gr2ent.js +1 -0
  169. package/dist/cobalt/p-WeuPA9Rw.js +1 -0
  170. package/dist/cobalt/{p-fb251497.entry.js → p-a04feb70.entry.js} +1 -1
  171. package/dist/cobalt/{p-77d01b39.entry.js → p-a252f8c5.entry.js} +1 -1
  172. package/dist/cobalt/p-a4f39ba2.entry.js +1 -0
  173. package/dist/cobalt/{p-5e9a9caf.entry.js → p-a7c23027.entry.js} +1 -1
  174. package/dist/cobalt/p-ab8e150e.entry.js +1 -0
  175. package/dist/cobalt/{p-6ad1625a.entry.js → p-acdb68a7.entry.js} +1 -1
  176. package/dist/cobalt/{p-c6fedc59.entry.js → p-afd957c0.entry.js} +1 -1
  177. package/dist/cobalt/{p-c750b2d2.entry.js → p-b45ea918.entry.js} +1 -1
  178. package/dist/cobalt/p-bad7ce84.entry.js +1 -0
  179. package/dist/cobalt/{p-5edd0d3f.entry.js → p-bebacee2.entry.js} +1 -1
  180. package/dist/cobalt/{p-bb534985.entry.js → p-c237add6.entry.js} +1 -1
  181. package/dist/cobalt/p-c32949a5.entry.js +1 -0
  182. package/dist/cobalt/{p-3f68fd2e.entry.js → p-cd5555d2.entry.js} +1 -1
  183. package/dist/cobalt/p-cd96aabf.entry.js +1 -0
  184. package/dist/cobalt/{p-b8ec0cc1.entry.js → p-ce961fba.entry.js} +1 -1
  185. package/dist/cobalt/p-d56b8a1f.entry.js +1 -0
  186. package/dist/cobalt/p-d6fff135.entry.js +1 -0
  187. package/dist/cobalt/{p-b1197c08.entry.js → p-d71b87d3.entry.js} +1 -1
  188. package/dist/cobalt/{p-af4cb263.entry.js → p-d83e5189.entry.js} +1 -1
  189. package/dist/cobalt/p-dc269096.entry.js +1 -0
  190. package/dist/cobalt/{p-0d6a562d.entry.js → p-dc8e88f4.entry.js} +1 -1
  191. package/dist/cobalt/p-de5a05fc.entry.js +1 -0
  192. package/dist/cobalt/{p-86e60cfa.entry.js → p-df63f23c.entry.js} +1 -1
  193. package/dist/cobalt/p-e2188319.entry.js +1 -0
  194. package/dist/cobalt/p-f0c589ad.entry.js +1 -0
  195. package/dist/cobalt/{p-e9aaeaf7.entry.js → p-f4370423.entry.js} +1 -1
  196. package/dist/cobalt/p-f4e4bebf.entry.js +1 -0
  197. package/dist/cobalt/p-f53b9536.entry.js +1 -0
  198. package/dist/cobalt/{p-373cd08e.entry.js → p-f7ae0228.entry.js} +1 -1
  199. package/dist/collection/collection-manifest.json +8 -0
  200. package/dist/collection/components/co-action-bar/co-action-bar.css +148 -0
  201. package/dist/collection/components/co-action-bar/co-action-bar.js +247 -0
  202. package/dist/collection/components/co-app-shell/co-app-shell.js +2 -2
  203. package/dist/collection/components/co-audio-player/co-audio-player.css +58 -0
  204. package/dist/collection/components/co-audio-player/co-audio-player.js +453 -0
  205. package/dist/collection/components/co-audio-player/co-audio-player.utils.js +44 -0
  206. package/dist/collection/components/co-autocomplete/co-autocomplete.css +1 -1
  207. package/dist/collection/components/co-avatar/co-avatar.css +23 -0
  208. package/dist/collection/components/co-avatar/co-avatar.js +24 -1
  209. package/dist/collection/components/co-avatar-group/co-avatar-group.css +9 -5
  210. package/dist/collection/components/co-avatar-group/co-avatar-group.js +2 -2
  211. package/dist/collection/components/co-badge/co-badge.js +1 -1
  212. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +3 -3
  213. package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +1 -1
  214. package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +2 -2
  215. package/dist/collection/components/co-button/co-button.css +19 -0
  216. package/dist/collection/components/co-button/co-button.js +31 -5
  217. package/dist/collection/components/co-button-group/co-button-group.js +2 -2
  218. package/dist/collection/components/co-calendar/co-calendar.js +1 -1
  219. package/dist/collection/components/co-calendar-month/co-calendar-month.css +52 -3
  220. package/dist/collection/components/co-calendar-month/co-calendar-month.js +238 -55
  221. package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.css +265 -0
  222. package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.js +1305 -0
  223. package/dist/collection/components/co-card/co-card.js +2 -2
  224. package/dist/collection/components/co-carousel/co-carousel.css +152 -0
  225. package/dist/collection/components/co-carousel/co-carousel.js +633 -0
  226. package/dist/collection/components/co-carousel-item/co-carousel-item.css +6 -0
  227. package/dist/collection/components/co-carousel-item/co-carousel-item.js +25 -0
  228. package/dist/collection/components/co-checkbox/co-checkbox.css +1 -1
  229. package/dist/collection/components/co-checkbox/co-checkbox.js +3 -3
  230. package/dist/collection/components/co-chip/co-chip.js +2 -2
  231. package/dist/collection/components/co-color-picker/co-color-picker.css +11 -10
  232. package/dist/collection/components/co-color-picker/co-color-picker.js +2 -2
  233. package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
  234. package/dist/collection/components/co-combobox/co-combobox.css +6 -8
  235. package/dist/collection/components/co-data-table/co-data-table.css +23 -8
  236. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
  237. package/dist/collection/components/co-date-field/co-date-field.css +6 -7
  238. package/dist/collection/components/co-date-field/co-date-field.js +4 -4
  239. package/dist/collection/components/co-date-picker/co-date-picker.css +16 -0
  240. package/dist/collection/components/co-date-picker/co-date-picker.js +28 -1
  241. package/dist/collection/components/co-date-range/co-date-range.js +1 -1
  242. package/dist/collection/components/co-date-range-picker/co-date-range-picker.css +13 -1
  243. package/dist/collection/components/co-date-range-picker/co-date-range-picker.js +26 -0
  244. package/dist/collection/components/co-date-time-picker/co-date-time-picker.css +325 -0
  245. package/dist/collection/components/co-date-time-picker/co-date-time-picker.js +1079 -0
  246. package/dist/collection/components/co-drawer/co-drawer.css +46 -0
  247. package/dist/collection/components/co-drawer/co-drawer.js +1 -1
  248. package/dist/collection/components/co-drive-card/co-drive-card.js +1 -1
  249. package/dist/collection/components/co-drop-zone/co-drop-zone.js +1 -1
  250. package/dist/collection/components/co-empty-state/co-empty-state.js +2 -2
  251. package/dist/collection/components/co-event-calendar/co-event-calendar.css +19 -7
  252. package/dist/collection/components/co-event-calendar/co-event-calendar.js +342 -39
  253. package/dist/collection/components/co-event-popover/co-event-popover.css +26 -0
  254. package/dist/collection/components/co-event-popover/co-event-popover.js +326 -0
  255. package/dist/collection/components/co-fab/co-fab.css +70 -10
  256. package/dist/collection/components/co-fab/co-fab.js +39 -4
  257. package/dist/collection/components/co-file-field/co-file-field.css +2 -2
  258. package/dist/collection/components/co-file-field/co-file-field.js +5 -5
  259. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +2 -2
  260. package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
  261. package/dist/collection/components/co-icon/co-icon.js +2 -2
  262. package/dist/collection/components/co-icon-button/co-icon-button.js +1 -1
  263. package/dist/collection/components/co-input/co-input.css +13 -1
  264. package/dist/collection/components/co-input/co-input.js +26 -0
  265. package/dist/collection/components/co-json-field/co-json-field.css +4 -8
  266. package/dist/collection/components/co-json-field/co-json-field.js +3 -3
  267. package/dist/collection/components/co-lightbox/co-lightbox.css +12 -1
  268. package/dist/collection/components/co-lightbox/co-lightbox.js +31 -4
  269. package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
  270. package/dist/collection/components/co-list-item/co-list-item.js +4 -4
  271. package/dist/collection/components/co-media-thumb/co-media-thumb.js +2 -2
  272. package/dist/collection/components/co-menu/co-menu.js +1 -1
  273. package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
  274. package/dist/collection/components/co-menu-item/co-menu-item.css +21 -0
  275. package/dist/collection/components/co-menu-item/co-menu-item.js +20 -1
  276. package/dist/collection/components/co-modal/co-modal.js +2 -2
  277. package/dist/collection/components/co-navbar/co-navbar.js +2 -2
  278. package/dist/collection/components/co-number-field/co-number-field.css +1 -1
  279. package/dist/collection/components/co-number-field/co-number-field.js +2 -2
  280. package/dist/collection/components/co-option-list/co-option-list.css +18 -0
  281. package/dist/collection/components/co-option-list/co-option-list.js +127 -5
  282. package/dist/collection/components/co-option-list/optionListLogic.js +13 -0
  283. package/dist/collection/components/co-overlay/co-overlay.js +1 -1
  284. package/dist/collection/components/co-page-header/co-page-header.js +1 -1
  285. package/dist/collection/components/co-phone-field/co-phone-field.css +2 -2
  286. package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
  287. package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
  288. package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
  289. package/dist/collection/components/co-provider-logo/co-provider-logo.css +23 -0
  290. package/dist/collection/components/co-provider-logo/co-provider-logo.js +124 -0
  291. package/dist/collection/components/co-radio/co-radio.js +3 -3
  292. package/dist/collection/components/co-rating/co-rating.js +3 -3
  293. package/dist/collection/components/co-ref-field/co-ref-field.css +17 -1
  294. package/dist/collection/components/co-ref-field/co-ref-field.js +32 -2
  295. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.css +32 -3
  296. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +97 -4
  297. package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.css +8 -0
  298. package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.js +93 -3
  299. package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.css +19 -0
  300. package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.js +53 -4
  301. package/dist/collection/components/co-row/co-row.js +2 -2
  302. package/dist/collection/components/co-select/co-select.css +12 -1
  303. package/dist/collection/components/co-select/co-select.js +30 -4
  304. package/dist/collection/components/co-separator/co-separator.js +1 -1
  305. package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
  306. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +12 -2
  307. package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
  308. package/dist/collection/components/co-slider/co-slider.js +2 -2
  309. package/dist/collection/components/co-switch/co-switch.js +3 -3
  310. package/dist/collection/components/co-tab/co-tab.js +2 -2
  311. package/dist/collection/components/co-tab-group/co-tab-group.css +32 -4
  312. package/dist/collection/components/co-tab-group/co-tab-group.js +18 -2
  313. package/dist/collection/components/co-tags-field/co-tags-field.css +12 -21
  314. package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
  315. package/dist/collection/components/co-textarea/co-textarea.css +18 -8
  316. package/dist/collection/components/co-textarea/co-textarea.js +30 -4
  317. package/dist/collection/components/co-toggle-button/co-toggle-button.js +2 -2
  318. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
  319. package/dist/collection/components/co-tooltip/co-tooltip.js +2 -2
  320. package/dist/collection/components/co-video/co-video.js +2 -2
  321. package/dist/collection/utils/carouselI18n.js +36 -0
  322. package/dist/collection/utils/dateI18n.js +21 -0
  323. package/dist/collection/utils/eventColor.js +52 -0
  324. package/dist/collection/utils/positioning.js +10 -0
  325. package/dist/collection/utils/richTextI18n.js +3 -0
  326. package/dist/components/co-accordion.js +1 -1
  327. package/dist/components/co-action-bar.d.ts +11 -0
  328. package/dist/components/co-action-bar.js +1 -0
  329. package/dist/components/co-app-shell.js +1 -1
  330. package/dist/components/co-audio-player.d.ts +11 -0
  331. package/dist/components/co-audio-player.js +1 -0
  332. package/dist/components/co-autocomplete.js +1 -1
  333. package/dist/components/co-avatar-group.js +1 -1
  334. package/dist/components/co-avatar.js +1 -1
  335. package/dist/components/co-badge.js +1 -1
  336. package/dist/components/co-bottom-sheet.js +1 -1
  337. package/dist/components/co-breadcrumb-item.js +1 -1
  338. package/dist/components/co-breadcrumb.js +1 -1
  339. package/dist/components/co-button-group.js +1 -1
  340. package/dist/components/co-button.js +1 -1
  341. package/dist/components/co-calendar-month.js +1 -1
  342. package/dist/components/co-calendar-timegrid.d.ts +11 -0
  343. package/dist/components/co-calendar-timegrid.js +1 -0
  344. package/dist/components/co-calendar.js +1 -1
  345. package/dist/components/co-card.js +1 -1
  346. package/dist/components/co-carousel-item.d.ts +11 -0
  347. package/dist/components/co-carousel-item.js +1 -0
  348. package/dist/components/co-carousel.d.ts +11 -0
  349. package/dist/components/co-carousel.js +1 -0
  350. package/dist/components/co-checkbox-group.js +1 -1
  351. package/dist/components/co-checkbox.js +1 -1
  352. package/dist/components/co-chip.js +1 -1
  353. package/dist/components/co-color-picker.js +1 -1
  354. package/dist/components/co-column-picker.js +1 -1
  355. package/dist/components/co-combobox.js +1 -1
  356. package/dist/components/co-command-search.js +1 -1
  357. package/dist/components/co-data-table-pagination.js +1 -1
  358. package/dist/components/co-data-table.js +1 -1
  359. package/dist/components/co-date-field.js +1 -1
  360. package/dist/components/co-date-picker.js +1 -1
  361. package/dist/components/co-date-range-picker.js +1 -1
  362. package/dist/components/co-date-range.js +1 -1
  363. package/dist/components/co-date-time-picker.d.ts +11 -0
  364. package/dist/components/co-date-time-picker.js +1 -0
  365. package/dist/components/co-drawer.js +1 -1
  366. package/dist/components/co-drive-card.js +1 -1
  367. package/dist/components/co-drop-zone.js +1 -1
  368. package/dist/components/co-empty-state.js +1 -1
  369. package/dist/components/co-event-calendar.js +1 -1
  370. package/dist/components/co-event-popover.d.ts +11 -0
  371. package/dist/components/co-event-popover.js +1 -0
  372. package/dist/components/co-fab.js +1 -1
  373. package/dist/components/co-file-field.js +1 -1
  374. package/dist/components/co-file-type-tile.js +1 -1
  375. package/dist/components/co-helper-text.js +1 -1
  376. package/dist/components/co-icon-button.js +1 -1
  377. package/dist/components/co-icon.js +1 -1
  378. package/dist/components/co-input.js +1 -1
  379. package/dist/components/co-json-field.js +1 -1
  380. package/dist/components/co-lightbox.js +1 -1
  381. package/dist/components/co-list-footer.js +1 -1
  382. package/dist/components/co-list-item.js +1 -1
  383. package/dist/components/co-media-thumb.js +1 -1
  384. package/dist/components/co-menu-divider.js +1 -1
  385. package/dist/components/co-menu-item.js +1 -1
  386. package/dist/components/co-menu.js +1 -1
  387. package/dist/components/co-modal.js +1 -1
  388. package/dist/components/co-navbar.js +1 -1
  389. package/dist/components/co-number-field.js +1 -1
  390. package/dist/components/co-option-list.js +1 -1
  391. package/dist/components/co-overlay.js +1 -1
  392. package/dist/components/co-page-header.js +1 -1
  393. package/dist/components/co-phone-field.js +1 -1
  394. package/dist/components/co-popover.js +1 -1
  395. package/dist/components/co-progress-bar.js +1 -1
  396. package/dist/components/co-progress-circle.js +1 -1
  397. package/dist/components/co-provider-logo.d.ts +11 -0
  398. package/dist/components/co-provider-logo.js +1 -0
  399. package/dist/components/co-radio-group.js +1 -1
  400. package/dist/components/co-radio.js +1 -1
  401. package/dist/components/co-rating.js +1 -1
  402. package/dist/components/co-ref-field.js +1 -1
  403. package/dist/components/co-rich-text-editor.js +1 -1
  404. package/dist/components/co-rich-text-toolbar.js +1 -1
  405. package/dist/components/co-rich-text-viewer.js +1 -1
  406. package/dist/components/co-row.js +1 -1
  407. package/dist/components/co-select.js +1 -1
  408. package/dist/components/co-separator.js +1 -1
  409. package/dist/components/co-sidebar-nav.js +1 -1
  410. package/dist/components/co-sidebar.js +1 -1
  411. package/dist/components/co-skeleton.js +1 -1
  412. package/dist/components/co-slider.js +1 -1
  413. package/dist/components/co-switch.js +1 -1
  414. package/dist/components/co-tab-group.js +1 -1
  415. package/dist/components/co-tab.js +1 -1
  416. package/dist/components/co-tags-field.js +1 -1
  417. package/dist/components/co-textarea.js +1 -1
  418. package/dist/components/co-toast.js +1 -1
  419. package/dist/components/co-toggle-button-group.js +1 -1
  420. package/dist/components/co-toggle-button.js +1 -1
  421. package/dist/components/co-tooltip.js +1 -1
  422. package/dist/components/co-transfer-list.js +1 -1
  423. package/dist/components/co-video.js +1 -1
  424. package/dist/components/index.js +1 -1
  425. package/dist/components/p-B21rOC2Y.js +1 -0
  426. package/dist/components/{p-DvL2TcDG.js → p-BC6sxVVr.js} +1 -1
  427. package/dist/components/{p-Bgxofdfb.js → p-BL0sCfMH.js} +1 -1
  428. package/dist/components/p-BMdapAL8.js +1 -0
  429. package/dist/components/p-BQFperIX.js +1 -0
  430. package/dist/components/{p-Cam92sWP.js → p-BXtiFFM2.js} +1 -1
  431. package/dist/components/{p-CmCsm4L-.js → p-BdArvV6T.js} +1 -1
  432. package/dist/components/p-BnkGlFYy.js +1 -0
  433. package/dist/components/p-C-5cLeKr.js +1 -0
  434. package/dist/components/p-CDWXNRpo.js +1 -0
  435. package/dist/components/p-CF8OB_TM.js +1 -0
  436. package/dist/components/{p-_k-j03K-.js → p-CIWoKlGj.js} +1 -1
  437. package/dist/components/{p-lus32JrB.js → p-CVCEiwOS.js} +1 -1
  438. package/dist/components/{p-QWi9AmnD.js → p-CfeNhAHW.js} +1 -1
  439. package/dist/components/p-Ch837Ggl.js +1 -0
  440. package/dist/components/p-ChLib-si.js +1 -0
  441. package/dist/components/p-ChPooamL.js +1 -0
  442. package/dist/components/p-CnNpoKwg.js +1 -0
  443. package/dist/components/p-D-3BTFRs.js +1 -0
  444. package/dist/components/p-D0wrmRH8.js +1 -0
  445. package/dist/components/p-DZX7cEqP.js +1 -0
  446. package/dist/components/{p-D4SOCy8I.js → p-DbISGXT_.js} +1 -1
  447. package/dist/components/p-Dxa7c4Ap.js +1 -0
  448. package/dist/components/p-T0MdU7sb.js +1 -0
  449. package/dist/components/p-W8Y8ZuPs.js +1 -0
  450. package/dist/components/p-WeuPA9Rw.js +1 -0
  451. package/dist/components/{p-CNIs9j-h.js → p-cteJszd-.js} +1 -1
  452. package/dist/components/p-e5KibEs8.js +1 -0
  453. package/dist/components/{p-COb8X_fE.js → p-mUoTCiYa.js} +1 -1
  454. package/dist/components/p-uZ2D6ESV.js +1 -0
  455. package/dist/components/p-ySi6UG0O.js +1 -0
  456. package/dist/esm/co-accordion.entry.js +1 -1
  457. package/dist/esm/co-action-bar.entry.js +87 -0
  458. package/dist/esm/co-app-shell.entry.js +3 -3
  459. package/dist/esm/co-audio-player.entry.js +277 -0
  460. package/dist/esm/co-autocomplete.entry.js +3 -3
  461. package/dist/esm/co-avatar-group.entry.js +3 -3
  462. package/dist/esm/{co-tooltip.entry.js → co-avatar_2.entry.js} +96 -5
  463. package/dist/esm/co-badge.entry.js +2 -2
  464. package/dist/esm/co-bottom-sheet.entry.js +4 -4
  465. package/dist/esm/co-breadcrumb-item.entry.js +3 -3
  466. package/dist/esm/co-breadcrumb.entry.js +2 -2
  467. package/dist/esm/co-button-group.entry.js +3 -3
  468. package/dist/esm/co-button.entry.js +13 -6
  469. package/dist/esm/co-calendar-month_2.entry.js +1598 -0
  470. package/dist/esm/co-calendar_3.entry.js +12 -12
  471. package/dist/esm/co-card.entry.js +3 -3
  472. package/dist/esm/co-carousel-item.entry.js +15 -0
  473. package/dist/esm/co-carousel.entry.js +366 -0
  474. package/dist/esm/co-checkbox-group.entry.js +1 -1
  475. package/dist/esm/co-checkbox.entry.js +5 -5
  476. package/dist/esm/co-chip_2.entry.js +96 -7
  477. package/dist/esm/co-color-picker.entry.js +5 -5
  478. package/dist/esm/co-column-picker.entry.js +3 -3
  479. package/dist/esm/co-combobox.entry.js +3 -3
  480. package/dist/esm/co-command-search.entry.js +1 -1
  481. package/dist/esm/co-data-table-pagination.entry.js +5 -5
  482. package/dist/esm/co-data-table.entry.js +2 -2
  483. package/dist/esm/co-date-picker.entry.js +12 -5
  484. package/dist/esm/co-date-range-picker.entry.js +11 -5
  485. package/dist/esm/co-date-range.entry.js +2 -2
  486. package/dist/esm/co-date-time-picker.entry.js +407 -0
  487. package/dist/esm/co-drive-card.entry.js +2 -2
  488. package/dist/esm/co-drop-zone.entry.js +2 -2
  489. package/dist/esm/co-empty-state.entry.js +3 -3
  490. package/dist/esm/co-event-calendar.entry.js +120 -19
  491. package/dist/esm/co-event-popover.entry.js +130 -0
  492. package/dist/esm/co-fab.entry.js +21 -6
  493. package/dist/esm/co-file-field.entry.js +8 -8
  494. package/dist/esm/co-file-type-tile.entry.js +3 -3
  495. package/dist/esm/co-helper-text.entry.js +3 -3
  496. package/dist/esm/co-icon-button.entry.js +2 -2
  497. package/dist/esm/co-icon.entry.js +3 -3
  498. package/dist/esm/co-input.entry.js +9 -3
  499. package/dist/esm/co-json-field.entry.js +6 -6
  500. package/dist/esm/co-lightbox.entry.js +34 -7
  501. package/dist/esm/co-list-footer.entry.js +2 -2
  502. package/dist/esm/co-list-item.entry.js +5 -5
  503. package/dist/esm/co-loader.entry.js +1 -1
  504. package/dist/esm/co-media-thumb.entry.js +3 -3
  505. package/dist/esm/co-menu-divider.entry.js +2 -2
  506. package/dist/esm/co-menu-item.entry.js +3 -3
  507. package/dist/esm/co-menu.entry.js +2 -2
  508. package/dist/esm/co-modal.entry.js +3 -3
  509. package/dist/esm/co-navbar.entry.js +3 -3
  510. package/dist/esm/co-number-field.entry.js +5 -5
  511. package/dist/esm/co-overlay.entry.js +2 -2
  512. package/dist/esm/co-page-header.entry.js +2 -2
  513. package/dist/esm/co-phone-field.entry.js +4 -4
  514. package/dist/esm/co-popover.entry.js +2 -2
  515. package/dist/esm/co-progress-bar.entry.js +3 -3
  516. package/dist/esm/co-progress-circle.entry.js +3 -3
  517. package/dist/esm/co-provider-logo_2.entry.js +69 -0
  518. package/dist/esm/co-radio-group.entry.js +1 -1
  519. package/dist/esm/co-radio.entry.js +4 -4
  520. package/dist/esm/co-rating.entry.js +4 -4
  521. package/dist/esm/co-ref-field.entry.js +16 -6
  522. package/dist/esm/co-rich-text-editor.entry.js +22 -7
  523. package/dist/esm/co-rich-text-toolbar.entry.js +37 -5
  524. package/dist/esm/co-rich-text-viewer.entry.js +36 -6
  525. package/dist/esm/co-row.entry.js +3 -3
  526. package/dist/esm/co-segmented-bar.entry.js +1 -1
  527. package/dist/esm/co-select.entry.js +13 -7
  528. package/dist/esm/co-separator.entry.js +2 -2
  529. package/dist/esm/co-sidebar-nav.entry.js +13 -3
  530. package/dist/esm/co-sidebar.entry.js +3 -3
  531. package/dist/esm/co-slider.entry.js +3 -3
  532. package/dist/esm/co-switch.entry.js +5 -5
  533. package/dist/esm/co-tab-group.entry.js +20 -4
  534. package/dist/esm/co-tab.entry.js +3 -3
  535. package/dist/esm/co-tags-field.entry.js +9 -9
  536. package/dist/esm/co-textarea.entry.js +13 -7
  537. package/dist/esm/co-toast.entry.js +1 -1
  538. package/dist/esm/co-toggle-button-group.entry.js +3 -3
  539. package/dist/esm/co-toggle-button.entry.js +3 -3
  540. package/dist/esm/co-transfer-list.entry.js +1 -1
  541. package/dist/esm/co-video.entry.js +3 -3
  542. package/dist/esm/cobalt.js +3 -3
  543. package/dist/esm/{dateI18n-C1DCLOEl.js → dateI18n-CnNpoKwg.js} +21 -0
  544. package/dist/esm/{dates-tPYikBRJ.js → dates-BU7SQCje.js} +64 -13
  545. package/dist/esm/{fieldChip-ChXW__C5.js → fieldChip-Bb8YIN0J.js} +1 -1
  546. package/dist/esm/{index-tT-aZV0-.js → index-BCEz3S-z.js} +41 -21
  547. package/dist/esm/{index-Cyrxk8Qq.js → index-RuXxdKzC.js} +171 -11
  548. package/dist/esm/loader.js +3 -3
  549. package/dist/esm/{positioning-C2mZ7x_Y.js → positioning-BMdapAL8.js} +10 -0
  550. package/dist/esm/{requiredMark-C7-_2UhB.js → requiredMark-D7kAMXHM.js} +1 -1
  551. package/dist/esm/{richTextI18n-B-ckjCUA.js → richTextI18n-BYKAgwq3.js} +3 -0
  552. package/dist/esm/time-CF8OB_TM.js +37 -0
  553. package/dist/esm/{toolbar-config-ChibIpZv.js → toolbar-config-WeuPA9Rw.js} +2 -0
  554. package/dist/esm/{tz-B6JZk8fL.js → tz-1EK-COrb.js} +1 -1
  555. package/dist/types/components/co-action-bar/co-action-bar.d.ts +66 -0
  556. package/dist/types/components/co-audio-player/co-audio-player.d.ts +62 -0
  557. package/dist/types/components/co-audio-player/co-audio-player.utils.d.ts +11 -0
  558. package/dist/types/components/co-avatar/co-avatar.d.ts +5 -0
  559. package/dist/types/components/co-button/co-button.d.ts +18 -1
  560. package/dist/types/components/co-calendar-month/co-calendar-month.d.ts +33 -1
  561. package/dist/types/components/co-calendar-timegrid/co-calendar-timegrid.d.ts +178 -0
  562. package/dist/types/components/co-carousel/co-carousel.d.ts +85 -0
  563. package/dist/types/components/co-carousel-item/co-carousel-item.d.ts +10 -0
  564. package/dist/types/components/co-date-picker/co-date-picker.d.ts +7 -0
  565. package/dist/types/components/co-date-range-picker/co-date-range-picker.d.ts +5 -0
  566. package/dist/types/components/co-date-time-picker/co-date-time-picker.d.ts +131 -0
  567. package/dist/types/components/co-event-calendar/co-event-calendar.d.ts +61 -8
  568. package/dist/types/components/co-event-popover/co-event-popover.d.ts +45 -0
  569. package/dist/types/components/co-fab/co-fab.d.ts +6 -0
  570. package/dist/types/components/co-input/co-input.d.ts +5 -0
  571. package/dist/types/components/co-lightbox/co-lightbox.d.ts +7 -0
  572. package/dist/types/components/co-menu-item/co-menu-item.d.ts +3 -0
  573. package/dist/types/components/co-option-list/co-option-list.d.ts +23 -0
  574. package/dist/types/components/co-option-list/optionListLogic.d.ts +3 -0
  575. package/dist/types/components/co-provider-logo/co-provider-logo.d.ts +17 -0
  576. package/dist/types/components/co-ref-field/co-ref-field.d.ts +6 -0
  577. package/dist/types/components/co-rich-text-editor/co-rich-text-editor.d.ts +17 -0
  578. package/dist/types/components/co-rich-text-toolbar/co-rich-text-toolbar.d.ts +12 -1
  579. package/dist/types/components/co-rich-text-viewer/co-rich-text-viewer.d.ts +10 -0
  580. package/dist/types/components/co-select/co-select.d.ts +5 -0
  581. package/dist/types/components/co-tab-group/co-tab-group.d.ts +5 -0
  582. package/dist/types/components/co-textarea/co-textarea.d.ts +5 -0
  583. package/dist/types/components.d.ts +1632 -103
  584. package/dist/types/utils/carouselI18n.d.ts +10 -0
  585. package/dist/types/utils/dateI18n.d.ts +7 -0
  586. package/dist/types/utils/eventColor.d.ts +20 -0
  587. package/dist/types/utils/richTextI18n.d.ts +1 -0
  588. package/package.json +4 -4
  589. package/dist/cjs/co-avatar.cjs.entry.js +0 -92
  590. package/dist/cjs/co-calendar-month.cjs.entry.js +0 -381
  591. package/dist/cjs/co-skeleton.cjs.entry.js +0 -26
  592. package/dist/cobalt/p-002e5beb.entry.js +0 -1
  593. package/dist/cobalt/p-0c0621a7.entry.js +0 -1
  594. package/dist/cobalt/p-13fc9c8a.entry.js +0 -1
  595. package/dist/cobalt/p-14d4c5c7.entry.js +0 -1
  596. package/dist/cobalt/p-4a075257.entry.js +0 -1
  597. package/dist/cobalt/p-5647ca9d.entry.js +0 -1
  598. package/dist/cobalt/p-5b31d45b.entry.js +0 -1
  599. package/dist/cobalt/p-6911a034.entry.js +0 -1
  600. package/dist/cobalt/p-70f70e02.entry.js +0 -1
  601. package/dist/cobalt/p-73b30ebb.entry.js +0 -1
  602. package/dist/cobalt/p-75dcaeb0.entry.js +0 -1
  603. package/dist/cobalt/p-7780ddb5.entry.js +0 -1
  604. package/dist/cobalt/p-7FZXeBK4.js +0 -1
  605. package/dist/cobalt/p-86d4e016.entry.js +0 -1
  606. package/dist/cobalt/p-8a9ed2da.entry.js +0 -1
  607. package/dist/cobalt/p-8f194753.entry.js +0 -1
  608. package/dist/cobalt/p-9c873a6a.entry.js +0 -1
  609. package/dist/cobalt/p-B-ckjCUA.js +0 -1
  610. package/dist/cobalt/p-BAA4ln31.js +0 -1
  611. package/dist/cobalt/p-C1DCLOEl.js +0 -1
  612. package/dist/cobalt/p-C2mZ7x_Y.js +0 -1
  613. package/dist/cobalt/p-ChibIpZv.js +0 -1
  614. package/dist/cobalt/p-a6900010.entry.js +0 -1
  615. package/dist/cobalt/p-aa20ffca.entry.js +0 -1
  616. package/dist/cobalt/p-ac5df270.entry.js +0 -1
  617. package/dist/cobalt/p-c0f39ddd.entry.js +0 -1
  618. package/dist/cobalt/p-c2e2eee9.entry.js +0 -1
  619. package/dist/cobalt/p-cc8e2f16.entry.js +0 -1
  620. package/dist/cobalt/p-e1957078.entry.js +0 -1
  621. package/dist/cobalt/p-e2762263.entry.js +0 -1
  622. package/dist/cobalt/p-e33853fa.entry.js +0 -1
  623. package/dist/cobalt/p-e4a539da.entry.js +0 -1
  624. package/dist/cobalt/p-e7085f08.entry.js +0 -1
  625. package/dist/cobalt/p-f073b467.entry.js +0 -1
  626. package/dist/cobalt/p-f36e461f.entry.js +0 -1
  627. package/dist/cobalt/p-f6ac5301.entry.js +0 -1
  628. package/dist/cobalt/p-f6b0c4a0.entry.js +0 -1
  629. package/dist/cobalt/p-f86ccb38.entry.js +0 -1
  630. package/dist/cobalt/p-tPYikBRJ.js +0 -1
  631. package/dist/cobalt/p-tT-aZV0-.js +0 -2
  632. package/dist/components/p-BHqdcGDh.js +0 -1
  633. package/dist/components/p-BJTMFYax.js +0 -1
  634. package/dist/components/p-Ba5lW0pA.js +0 -1
  635. package/dist/components/p-Bsq90mo4.js +0 -1
  636. package/dist/components/p-C1DCLOEl.js +0 -1
  637. package/dist/components/p-C2mZ7x_Y.js +0 -1
  638. package/dist/components/p-ChibIpZv.js +0 -1
  639. package/dist/components/p-CyYF8IJE.js +0 -1
  640. package/dist/components/p-D3ts7oo9.js +0 -1
  641. package/dist/components/p-Dh-h40mY.js +0 -1
  642. package/dist/components/p-DrQh1Cb8.js +0 -1
  643. package/dist/components/p-OKwHt2i9.js +0 -1
  644. package/dist/components/p-Xwo2HQmt.js +0 -1
  645. package/dist/components/p-eSq2ze8W.js +0 -1
  646. package/dist/esm/co-avatar.entry.js +0 -90
  647. package/dist/esm/co-calendar-month.entry.js +0 -379
  648. package/dist/esm/co-skeleton.entry.js +0 -24
@@ -238,6 +238,27 @@ function monthNameIndex(locale) {
238
238
  return map;
239
239
  }
240
240
  // ── Display formatting ──────────────────────────────────────────────────────
241
+ /**
242
+ * Cached localized month name, keyed by (locale, style, month) — the 1-12
243
+ * month index is all that determines the name (the day/year are irrelevant),
244
+ * so a fresh `Intl.DateTimeFormat` per formatted date is wasted work once a
245
+ * (locale, style) pair has been seen for that month.
246
+ */
247
+ const MONTH_NAME_CACHE = new Map();
248
+ function localizedMonthName(locale, style, month) {
249
+ const key = `${locale}|${style}|${month}`;
250
+ let name = MONTH_NAME_CACHE.get(key);
251
+ if (name === undefined) {
252
+ const fmt = new Intl.DateTimeFormat(locale, { month: style });
253
+ name = fmt.format(new Date(2020, month - 1, 1));
254
+ if (style === 'short')
255
+ name = stripTrailingDot(name);
256
+ if (MONTH_NAME_CACHE.size > 1000)
257
+ MONTH_NAME_CACHE.clear(); // hygiene, not LRU
258
+ MONTH_NAME_CACHE.set(key, name);
259
+ }
260
+ return name;
261
+ }
241
262
  /**
242
263
  * Format "YYYY-MM-DD" for display using a token pattern. Supported tokens:
243
264
  * `yyyy`, `yy`, `MMMM` (full month name), `MMM` (short month name), `MM`, `M`,
@@ -253,7 +274,6 @@ function formatDisplay(value, displayFormat = 'dd/MM/yyyy', locale = 'en-US') {
253
274
  const ymd = parseISO(value);
254
275
  if (!ymd)
255
276
  return '';
256
- const d = toLocalDate(ymd);
257
277
  return displayFormat.replace(/yyyy|yy|MMMM|MMM|MM|M|dd|d/g, (tok) => {
258
278
  switch (tok) {
259
279
  case 'yyyy':
@@ -261,9 +281,9 @@ function formatDisplay(value, displayFormat = 'dd/MM/yyyy', locale = 'en-US') {
261
281
  case 'yy':
262
282
  return String(ymd.year).slice(-2);
263
283
  case 'MMMM':
264
- return new Intl.DateTimeFormat(locale, { month: 'long' }).format(d);
284
+ return localizedMonthName(locale, 'long', ymd.month);
265
285
  case 'MMM':
266
- return stripTrailingDot(new Intl.DateTimeFormat(locale, { month: 'short' }).format(d));
286
+ return localizedMonthName(locale, 'short', ymd.month);
267
287
  case 'MM':
268
288
  return pad2(ymd.month);
269
289
  case 'M':
@@ -381,11 +401,23 @@ function getMonthMatrix(year, month, firstDayOfWeek = 1, weeks = 6) {
381
401
  return rows;
382
402
  }
383
403
  // ── Locale-aware labels (Intl, fed by local-parts Dates) ────────────────────
404
+ // Result caches for the locale-aware label builders below. Each is 100% pure
405
+ // given its inputs (they format a FIXED reference date, never "now"), so a
406
+ // fresh `Intl.DateTimeFormat` per call (~28-30µs) is wasted once a given
407
+ // input combination has been rendered once — a month/week header re-renders
408
+ // the same (locale, style) combo on every navigation and every re-render.
409
+ const WEEKDAY_LABELS_CACHE = new Map();
410
+ const MONTH_LABEL_CACHE = new Map();
411
+ const FULL_DATE_LABEL_CACHE = new Map();
384
412
  /**
385
413
  * Weekday short labels starting at `firstDayOfWeek`, in `locale`.
386
414
  * e.g. es-CO Monday-first → ["lun.","mar.",...] (caller may trim/uppercase).
387
415
  */
388
416
  function getWeekdayLabels(locale, firstDayOfWeek = 1, weekday = 'short') {
417
+ const key = `${locale}|${firstDayOfWeek}|${weekday}`;
418
+ const cached = WEEKDAY_LABELS_CACHE.get(key);
419
+ if (cached)
420
+ return cached;
389
421
  const fmt = new Intl.DateTimeFormat(locale, { weekday });
390
422
  const labels = [];
391
423
  // 2024-01-01 is a Monday; anchor from it then offset to firstDayOfWeek.
@@ -394,23 +426,42 @@ function getWeekdayLabels(locale, firstDayOfWeek = 1, weekday = 'short') {
394
426
  const d = new Date(2024, 0, 1 + offset); // local-parts Date
395
427
  labels.push(fmt.format(d));
396
428
  }
429
+ if (WEEKDAY_LABELS_CACHE.size > 1000)
430
+ WEEKDAY_LABELS_CACHE.clear(); // hygiene, not LRU
431
+ WEEKDAY_LABELS_CACHE.set(key, labels);
397
432
  return labels;
398
433
  }
399
434
  /** Localized "month year" header label, e.g. "junio de 2026". */
400
435
  function getMonthLabel(year, month, locale, monthStyle = 'long') {
401
- return new Intl.DateTimeFormat(locale, { month: monthStyle, year: 'numeric' }).format(new Date(year, month - 1, 1));
436
+ const key = `${locale}|${monthStyle}|${year}|${month}`;
437
+ let label = MONTH_LABEL_CACHE.get(key);
438
+ if (label === undefined) {
439
+ label = new Intl.DateTimeFormat(locale, { month: monthStyle, year: 'numeric' }).format(new Date(year, month - 1, 1));
440
+ if (MONTH_LABEL_CACHE.size > 1000)
441
+ MONTH_LABEL_CACHE.clear(); // hygiene, not LRU
442
+ MONTH_LABEL_CACHE.set(key, label);
443
+ }
444
+ return label;
402
445
  }
403
446
  /** Localized full label for a single date, for screen-reader announcements. */
404
447
  function getFullDateLabel(value, locale) {
405
- const ymd = parseISO(value);
406
- if (!ymd)
407
- return '';
408
- return new Intl.DateTimeFormat(locale, {
409
- weekday: 'long',
410
- day: 'numeric',
411
- month: 'long',
412
- year: 'numeric',
413
- }).format(toLocalDate(ymd));
448
+ const key = `${locale}|${value}`;
449
+ let label = FULL_DATE_LABEL_CACHE.get(key);
450
+ if (label === undefined) {
451
+ const ymd = parseISO(value);
452
+ if (!ymd)
453
+ return '';
454
+ label = new Intl.DateTimeFormat(locale, {
455
+ weekday: 'long',
456
+ day: 'numeric',
457
+ month: 'long',
458
+ year: 'numeric',
459
+ }).format(toLocalDate(ymd));
460
+ if (FULL_DATE_LABEL_CACHE.size > 1000)
461
+ FULL_DATE_LABEL_CACHE.clear(); // hygiene, not LRU
462
+ FULL_DATE_LABEL_CACHE.set(key, label);
463
+ }
464
+ return label;
414
465
  }
415
466
 
416
467
  export { todayYMD as a, addMonths as b, compareYMD as c, addDays as d, getMonthLabel as e, formatDisplay as f, getMonthMatrix as g, isDisabled as h, isValidYMD as i, getWeekdayLabels as j, getFullDateLabel as k, parseFlexible as l, parseISO as p, startOfMonth as s, toLocalDate as t };
@@ -1,4 +1,4 @@
1
- import { h } from './index-tT-aZV0-.js';
1
+ import { h } from './index-BCEz3S-z.js';
2
2
 
3
3
  const FieldChip = ({ baseClass, label, modifiers = {}, title, key, onRemove, onChipDblClick }, children) => (h("span", { class: Object.assign({ [baseClass]: true }, modifiers), title: title, key: key, onDblClick: onChipDblClick }, children, h("span", { class: `${baseClass}-label` }, label), onRemove && (h("button", { class: `${baseClass}-remove`, type: "button", tabIndex: -1, onClick: onRemove }, h("co-icon", { name: "x-circle", weight: "fill", size: 16 })))));
4
4
 
@@ -2,7 +2,7 @@ const NAMESPACE = 'cobalt';
2
2
  const BUILD = /* cobalt */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, slotRelocation: true, state: true, updatable: true};
3
3
 
4
4
  const globalScripts = () => {};
5
- const globalStyles = ":root{--co-color-base-negro:#1f1c1b;--co-color-base-blanco:#ffffff;--co-color-base-off-white:#f7f6f0;--co-color-primary-verde:#02a270;--co-color-primary-amarillo:#fdbf00;--co-color-primary-azul:#2563eb;--co-color-primary-rosado:#f32a73;--co-color-azul-100:#eff4ff;--co-color-azul-200:#dbe6fe;--co-color-azul-300:#bfd3fe;--co-color-azul-400:#93b4fd;--co-color-azul-500:#6090fa;--co-color-azul-600:#3b76f6;--co-color-azul-700:#2563eb;--co-color-azul-800:#1d58d8;--co-color-azul-900:#1e408a;--co-color-rosado-100:#fef1f6;--co-color-rosado-200:#fde6f0;--co-color-rosado-300:#fdcde2;--co-color-rosado-400:#fda4c8;--co-color-rosado-500:#fb6ba3;--co-color-rosado-600:#f32a73;--co-color-rosado-700:#e41e5c;--co-color-rosado-800:#c61044;--co-color-rosado-900:#a41039;--co-color-amarillo-100:#ffffea;--co-color-amarillo-200:#fffbc5;--co-color-amarillo-300:#fff885;--co-color-amarillo-400:#ffe01b;--co-color-amarillo-500:#fdbf00;--co-color-amarillo-600:#e29500;--co-color-amarillo-700:#bb6902;--co-color-amarillo-800:#985108;--co-color-amarillo-900:#7c420b;--co-color-verde-100:#ecfdf5;--co-color-verde-200:#d0fbe5;--co-color-verde-300:#a5f5d0;--co-color-verde-400:#6beab8;--co-color-verde-500:#31d69a;--co-color-verde-600:#0cbd82;--co-color-verde-700:#02a270;--co-color-verde-800:#027a58;--co-color-verde-900:#046147;--co-color-neutral-100:#e6e5df;--co-color-neutral-200:#eeede7;--co-color-neutral-300:#f3f2ec;--co-color-gray-100:#f6f6f6;--co-color-gray-200:#e3e3e3;--co-color-gray-300:#c4c4c4;--co-color-gray-400:#a0a0a0;--co-color-gray-500:#888888;--co-color-gray-600:#585858;--co-color-gray-700:#1f1c1b;--co-color-gray-800:#0a0a0a;--co-color-secondary-rosado-100:#d74ba0;--co-color-secondary-rosado-50:#ffc8eb;--co-color-secondary-rosado-25:#ffe6f5;--co-color-secondary-rojo-100:#eb1e1e;--co-color-secondary-rojo-50:#ff878c;--co-color-secondary-rojo-25:#ffd7dc;--co-color-secondary-naranja-100:#f0821e;--co-color-secondary-naranja-50:#ffbe82;--co-color-secondary-naranja-25:#ffe6d2;--co-color-secondary-amarillo-100:#fad223;--co-color-secondary-amarillo-50:#ffe67d;--co-color-secondary-amarillo-25:#fffac3;--co-color-secondary-verde-100:#afe664;--co-color-secondary-verde-50:#d7ffb4;--co-color-secondary-verde-25:#ebffc8;--co-color-secondary-oliva-100:#aab43c;--co-color-secondary-oliva-50:#d2dc96;--co-color-secondary-oliva-25:#f0f0d2;--co-color-secondary-turquesa-100:#00afaf;--co-color-secondary-turquesa-50:#3ce1c8;--co-color-secondary-turquesa-25:#c8f0f0;--co-color-secondary-azul-claro-100:#00bee6;--co-color-secondary-azul-claro-50:#6ee6f0;--co-color-secondary-azul-claro-25:#befaff;--co-color-secondary-azul-electrico-100:#000aff;--co-color-secondary-azul-electrico-50:#8095ff;--co-color-secondary-azul-electrico-25:#cce0ff;--co-color-secondary-violeta-100:#5f4bd7;--co-color-secondary-violeta-50:#b9b4ff;--co-color-secondary-violeta-25:#e1e1ff;--co-color-secondary-marron-100:#af7355;--co-color-secondary-marron-50:#d7b9a5;--co-color-secondary-marron-25:#f0e1d7;--co-color-secondary-guinda-100:#811137;--co-color-secondary-guinda-50:#c0889c;--co-color-secondary-guinda-25:#e6cfd7;--co-color-status-success:#0a7724;--co-color-status-bg-success:#ebf9ec;--co-color-status-progress:#2d6cc5;--co-color-status-bg-progress:#eef3fa;--co-color-status-submitted:#7556ca;--co-color-status-bg-submitted:#f4f1fb;--co-color-status-review:#85571f;--co-color-status-bg-review:#fcf5db;--co-color-status-pending:#b45103;--co-color-status-bg-pending:#f9f1eb;--co-color-status-error:#aa2e1b;--co-color-status-bg-error:#ffefef;--co-color-opacity-negro-4:rgba(31, 28, 27, 0.04);--co-color-opacity-negro-8:rgba(31, 28, 27, 0.08);--co-color-opacity-negro-16:rgba(31, 28, 27, 0.16);--co-color-opacity-negro-25:rgba(31, 28, 27, 0.25);--co-color-opacity-negro-50:rgba(31, 28, 27, 0.50);--co-color-opacity-negro-80:rgba(31, 28, 27, 0.80);--co-color-opacity-blanco-4:rgba(255, 255, 255, 0.04);--co-color-opacity-blanco-8:rgba(255, 255, 255, 0.08);--co-color-opacity-blanco-16:rgba(255, 255, 255, 0.16);--co-color-opacity-blanco-25:rgba(255, 255, 255, 0.25);--co-color-opacity-blanco-50:rgba(255, 255, 255, 0.50);--co-color-opacity-blanco-80:rgba(255, 255, 255, 0.80);--co-border-radius-xxs:4px;--co-border-radius-xs:8px;--co-border-radius-sm:12px;--co-border-radius-lg:16px;--co-border-radius-xl:24px;--co-border-radius-2xl:32px;--co-border-radius-3xl:40px;--co-border-radius-4xl:48px;--co-border-radius-5xl:56px;--co-border-radius-6xl:64px;--co-border-radius-full:9999px;--co-shadow-sm:0 1px 2px 0 rgba(26, 26, 26, 0.04);--co-shadow-lg:0 10px 15px -3px rgba(26, 26, 26, 0.05), 0 4px 6px -4px rgba(26, 26, 26, 0.05);--co-spacing-xxs:2px;--co-spacing-xs:4px;--co-spacing-sm:6px;--co-spacing-sm2:8px;--co-spacing-md:12px;--co-spacing-lg:16px;--co-spacing-xl:20px;--co-spacing-2xl:24px;--co-spacing-3xl:32px;--co-spacing-4xl:40px;--co-spacing-5xl:48px;--co-spacing-6xl:56px;--co-spacing-7xl:64px;--co-spacing-8xl:72px;--co-spacing-9xl:80px;--co-spacing-10xl:88px;--co-spacing-11xl:96px;--co-spacing-12xl:104px;--co-spacing-13xl:112px;--co-spacing-14xl:120px;--co-spacing-full:9999px;--co-font-family-primary:'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;--co-font-family-mono:'Geist Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;--co-font-size-10:10px;--co-font-size-12:12px;--co-font-size-14:14px;--co-font-size-16:16px;--co-font-size-18:18px;--co-font-size-20:20px;--co-font-size-22:22px;--co-font-size-24:24px;--co-font-size-26:26px;--co-font-size-30:30px;--co-font-size-32:32px;--co-font-size-36:36px;--co-font-size-40:40px;--co-font-size-44:44px;--co-font-size-48:48px;--co-font-size-50:50px;--co-font-size-56:56px;--co-font-size-64:64px;--co-font-size-72:72px;--co-font-size-80:80px;--co-font-size-96:96px;--co-font-size-104:104px;--co-font-size-112:112px;--co-font-size-128:128px;--co-font-size-144:144px;--co-font-size-160:160px;--co-font-size-180:180px;--co-font-size-200:200px;--co-font-size-220:220px;--co-font-weight-regular:400;--co-font-weight-medium:500;--co-font-weight-semibold:600;--co-font-weight-bold:700;--co-font-line-height-none:1;--co-font-line-height-tight:1.2;--co-font-line-height-snug:1.3;--co-font-line-height-normal:1.5;--co-font-line-height-relaxed:1.6;--co-font-letter-spacing-body:-0.03em;--co-font-letter-spacing-overline:0.08em;--co-semantic-surface-primary:var(--co-color-base-negro);--co-semantic-surface-inverse:var(--co-semantic-surface-primary);--co-semantic-surface-secondary:var(--co-color-base-blanco);--co-semantic-surface-page:var(--co-color-base-blanco);--co-semantic-surface-muted:var(--co-color-gray-200);--co-semantic-surface-hover:var(--co-color-opacity-negro-4);--co-semantic-surface-disabled:var(--co-color-gray-100);--co-semantic-on-primary:var(--co-color-base-blanco);--co-semantic-on-secondary:var(--co-color-base-negro);--co-semantic-text-default:var(--co-color-base-negro);--co-semantic-text-inverse:var(--co-color-base-blanco);--co-semantic-text-secondary:var(--co-color-gray-600);--co-semantic-text-muted:var(--co-color-gray-500);--co-semantic-text-disabled:var(--co-color-gray-400);--co-semantic-border-default:var(--co-color-opacity-negro-16);--co-semantic-border-subtle:var(--co-color-opacity-negro-8);--co-semantic-border-strong:var(--co-color-opacity-negro-50);--co-semantic-border-focus:var(--co-color-opacity-negro-25);--co-semantic-border-focus-ring:var(--co-color-opacity-negro-8);--co-semantic-control-thumb:var(--co-color-base-blanco);--co-semantic-control-shadow:var(--co-color-opacity-negro-16);--co-semantic-status-success:var(--co-color-status-success);--co-semantic-status-error:var(--co-color-status-error);--co-semantic-status-warning:var(--co-color-primary-amarillo);--co-semantic-status-info:var(--co-color-status-progress);--co-glass-blur:12px;--co-glass-saturate:1.3;--co-glass-panel-blur:18px}:root{--co-color-negro:var(--co-color-base-negro);--co-color-blanco:var(--co-color-base-blanco);--co-color-neutral-beige:var(--co-color-base-off-white);--co-color-secondary-rojo:var(--co-color-secondary-rojo-100);--co-color-secondary-naranja:var(--co-color-secondary-naranja-100);--co-color-secondary-oliva:var(--co-color-secondary-oliva-100);--co-color-secondary-violeta:var(--co-color-secondary-violeta-100);--co-color-secondary-marron:var(--co-color-secondary-marron-100);--co-color-status-success-bg:var(--co-color-status-bg-success);--co-font-family:var(--co-font-family-primary);--co-font-size-11:11px;--co-font-size-13:13px;--co-font-size-28:28px}";
5
+ const globalStyles = ":root{--co-color-base-negro:#1f1c1b;--co-color-base-blanco:#ffffff;--co-color-base-off-white:#f7f6f0;--co-color-primary-verde:#02a270;--co-color-primary-amarillo:#fdbf00;--co-color-primary-azul:#2563eb;--co-color-primary-rosado:#f32a73;--co-color-azul-100:#eff4ff;--co-color-azul-200:#dbe6fe;--co-color-azul-300:#bfd3fe;--co-color-azul-400:#93b4fd;--co-color-azul-500:#6090fa;--co-color-azul-600:#3b76f6;--co-color-azul-700:#2563eb;--co-color-azul-800:#1d58d8;--co-color-azul-900:#1e408a;--co-color-rosado-100:#fef1f6;--co-color-rosado-200:#fde6f0;--co-color-rosado-300:#fdcde2;--co-color-rosado-400:#fda4c8;--co-color-rosado-500:#fb6ba3;--co-color-rosado-600:#f32a73;--co-color-rosado-700:#e41e5c;--co-color-rosado-800:#c61044;--co-color-rosado-900:#a41039;--co-color-amarillo-100:#ffffea;--co-color-amarillo-200:#fffbc5;--co-color-amarillo-300:#fff885;--co-color-amarillo-400:#ffe01b;--co-color-amarillo-500:#fdbf00;--co-color-amarillo-600:#e29500;--co-color-amarillo-700:#bb6902;--co-color-amarillo-800:#985108;--co-color-amarillo-900:#7c420b;--co-color-verde-100:#ecfdf5;--co-color-verde-200:#d0fbe5;--co-color-verde-300:#a5f5d0;--co-color-verde-400:#6beab8;--co-color-verde-500:#31d69a;--co-color-verde-600:#0cbd82;--co-color-verde-700:#02a270;--co-color-verde-800:#027a58;--co-color-verde-900:#046147;--co-color-neutral-100:#e6e5df;--co-color-neutral-200:#eeede7;--co-color-neutral-300:#f3f2ec;--co-color-gray-100:#f6f6f6;--co-color-gray-200:#e3e3e3;--co-color-gray-300:#c4c4c4;--co-color-gray-400:#a0a0a0;--co-color-gray-500:#888888;--co-color-gray-600:#585858;--co-color-gray-700:#1f1c1b;--co-color-gray-800:#0a0a0a;--co-color-secondary-rosado-100:#d74ba0;--co-color-secondary-rosado-50:#ffc8eb;--co-color-secondary-rosado-25:#ffe6f5;--co-color-secondary-rojo-100:#eb1e1e;--co-color-secondary-rojo-50:#ff878c;--co-color-secondary-rojo-25:#ffd7dc;--co-color-secondary-naranja-100:#f0821e;--co-color-secondary-naranja-50:#ffbe82;--co-color-secondary-naranja-25:#ffe6d2;--co-color-secondary-amarillo-100:#fad223;--co-color-secondary-amarillo-50:#ffe67d;--co-color-secondary-amarillo-25:#fffac3;--co-color-secondary-verde-100:#afe664;--co-color-secondary-verde-50:#d7ffb4;--co-color-secondary-verde-25:#ebffc8;--co-color-secondary-oliva-100:#aab43c;--co-color-secondary-oliva-50:#d2dc96;--co-color-secondary-oliva-25:#f0f0d2;--co-color-secondary-turquesa-100:#00afaf;--co-color-secondary-turquesa-50:#3ce1c8;--co-color-secondary-turquesa-25:#c8f0f0;--co-color-secondary-azul-claro-100:#00bee6;--co-color-secondary-azul-claro-50:#6ee6f0;--co-color-secondary-azul-claro-25:#befaff;--co-color-secondary-azul-electrico-100:#000aff;--co-color-secondary-azul-electrico-50:#8095ff;--co-color-secondary-azul-electrico-25:#cce0ff;--co-color-secondary-violeta-100:#5f4bd7;--co-color-secondary-violeta-50:#b9b4ff;--co-color-secondary-violeta-25:#e1e1ff;--co-color-secondary-marron-100:#af7355;--co-color-secondary-marron-50:#d7b9a5;--co-color-secondary-marron-25:#f0e1d7;--co-color-secondary-guinda-100:#811137;--co-color-secondary-guinda-50:#c0889c;--co-color-secondary-guinda-25:#e6cfd7;--co-color-status-success:#0a7724;--co-color-status-bg-success:#ebf9ec;--co-color-status-progress:#2d6cc5;--co-color-status-bg-progress:#eef3fa;--co-color-status-submitted:#7556ca;--co-color-status-bg-submitted:#f4f1fb;--co-color-status-review:#85571f;--co-color-status-bg-review:#fcf5db;--co-color-status-pending:#b45103;--co-color-status-bg-pending:#f9f1eb;--co-color-status-error:#aa2e1b;--co-color-status-bg-error:#ffefef;--co-color-opacity-negro-4:rgba(31, 28, 27, 0.04);--co-color-opacity-negro-8:rgba(31, 28, 27, 0.08);--co-color-opacity-negro-16:rgba(31, 28, 27, 0.16);--co-color-opacity-negro-25:rgba(31, 28, 27, 0.25);--co-color-opacity-negro-50:rgba(31, 28, 27, 0.50);--co-color-opacity-negro-80:rgba(31, 28, 27, 0.80);--co-color-opacity-blanco-4:rgba(255, 255, 255, 0.04);--co-color-opacity-blanco-8:rgba(255, 255, 255, 0.08);--co-color-opacity-blanco-16:rgba(255, 255, 255, 0.16);--co-color-opacity-blanco-25:rgba(255, 255, 255, 0.25);--co-color-opacity-blanco-50:rgba(255, 255, 255, 0.50);--co-color-opacity-blanco-80:rgba(255, 255, 255, 0.80);--co-glass-blur:12px;--co-glass-saturate:1.3;--co-glass-panel-blur:18px;--co-border-radius-xxs:4px;--co-border-radius-xs:8px;--co-border-radius-sm:12px;--co-border-radius-md:14px;--co-border-radius-lg:16px;--co-border-radius-xl:24px;--co-border-radius-2xl:32px;--co-border-radius-3xl:40px;--co-border-radius-4xl:48px;--co-border-radius-5xl:56px;--co-border-radius-6xl:64px;--co-border-radius-full:9999px;--co-shadow-sm:0 1px 2px 0 rgba(26, 26, 26, 0.04);--co-shadow-lg:0 10px 15px -3px rgba(26, 26, 26, 0.05), 0 4px 6px -4px rgba(26, 26, 26, 0.05);--co-spacing-xxs:2px;--co-spacing-xs:4px;--co-spacing-sm:6px;--co-spacing-sm2:8px;--co-spacing-md:12px;--co-spacing-lg:16px;--co-spacing-xl:20px;--co-spacing-2xl:24px;--co-spacing-3xl:32px;--co-spacing-4xl:40px;--co-spacing-5xl:48px;--co-spacing-6xl:56px;--co-spacing-7xl:64px;--co-spacing-8xl:72px;--co-spacing-9xl:80px;--co-spacing-10xl:88px;--co-spacing-11xl:96px;--co-spacing-12xl:104px;--co-spacing-13xl:112px;--co-spacing-14xl:120px;--co-spacing-full:9999px;--co-font-family-primary:'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;--co-font-family-mono:'Geist Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;--co-font-size-10:10px;--co-font-size-11:11px;--co-font-size-12:12px;--co-font-size-13:13px;--co-font-size-14:14px;--co-font-size-16:16px;--co-font-size-18:18px;--co-font-size-20:20px;--co-font-size-22:22px;--co-font-size-24:24px;--co-font-size-26:26px;--co-font-size-28:28px;--co-font-size-30:30px;--co-font-size-32:32px;--co-font-size-36:36px;--co-font-size-40:40px;--co-font-size-44:44px;--co-font-size-48:48px;--co-font-size-50:50px;--co-font-size-56:56px;--co-font-size-64:64px;--co-font-size-72:72px;--co-font-size-80:80px;--co-font-size-96:96px;--co-font-size-104:104px;--co-font-size-112:112px;--co-font-size-128:128px;--co-font-size-144:144px;--co-font-size-160:160px;--co-font-size-180:180px;--co-font-size-200:200px;--co-font-size-220:220px;--co-font-weight-regular:400;--co-font-weight-medium:500;--co-font-weight-semibold:600;--co-font-weight-bold:700;--co-font-line-height-none:1;--co-font-line-height-tight:1.2;--co-font-line-height-snug:1.3;--co-font-line-height-normal:1.5;--co-font-line-height-relaxed:1.6;--co-font-letter-spacing-body:-0.03em;--co-font-letter-spacing-overline:0.08em;--co-semantic-surface-primary:var(--co-color-base-negro);--co-semantic-surface-secondary:var(--co-color-base-blanco);--co-semantic-surface-page:var(--co-color-base-blanco);--co-semantic-surface-muted:var(--co-color-gray-200);--co-semantic-surface-hover:var(--co-color-opacity-negro-4);--co-semantic-surface-disabled:var(--co-color-gray-100);--co-semantic-on-primary:var(--co-color-base-blanco);--co-semantic-on-secondary:var(--co-color-base-negro);--co-semantic-text-default:var(--co-color-base-negro);--co-semantic-text-inverse:var(--co-color-base-blanco);--co-semantic-text-secondary:var(--co-color-gray-600);--co-semantic-text-muted:var(--co-color-gray-500);--co-semantic-text-disabled:var(--co-color-gray-400);--co-semantic-border-default:var(--co-color-opacity-negro-16);--co-semantic-border-subtle:var(--co-color-opacity-negro-8);--co-semantic-border-strong:var(--co-color-opacity-negro-50);--co-semantic-border-field:var(--co-color-opacity-negro-25);--co-semantic-border-focus:var(--co-color-opacity-negro-50);--co-semantic-border-focus-ring:var(--co-color-opacity-negro-8);--co-semantic-control-thumb:var(--co-color-base-blanco);--co-semantic-control-shadow:var(--co-color-opacity-negro-16);--co-semantic-status-success:var(--co-color-status-success);--co-semantic-status-error:var(--co-color-status-error);--co-semantic-status-warning:var(--co-color-primary-amarillo);--co-semantic-status-info:var(--co-color-status-progress);--co-semantic-surface-inverse:var(--co-semantic-surface-primary)}:root{--co-color-negro:var(--co-color-base-negro);--co-color-blanco:var(--co-color-base-blanco);--co-color-neutral-beige:var(--co-color-base-off-white);--co-color-secondary-rojo:var(--co-color-secondary-rojo-100);--co-color-secondary-naranja:var(--co-color-secondary-naranja-100);--co-color-secondary-oliva:var(--co-color-secondary-oliva-100);--co-color-secondary-violeta:var(--co-color-secondary-violeta-100);--co-color-secondary-marron:var(--co-color-secondary-marron-100);--co-color-status-success-bg:var(--co-color-status-bg-success);--co-font-family:var(--co-font-family-primary);--co-font-size-11:11px;--co-font-size-13:13px;--co-font-size-28:28px}";
6
6
 
7
7
  /*
8
8
  Stencil Client Platform v4.43.4 | MIT Licensed | https://stenciljs.com
@@ -119,6 +119,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
119
119
  return import(
120
120
  /* webpackMode: "lazy" */
121
121
  './co-accordion.entry.js').then(processMod, consoleError);
122
+ case 'co-action-bar':
123
+ return import(
124
+ /* webpackMode: "lazy" */
125
+ './co-action-bar.entry.js').then(processMod, consoleError);
122
126
  case 'co-app-shell':
123
127
  return import(
124
128
  /* webpackMode: "lazy" */
@@ -147,6 +151,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
147
151
  return import(
148
152
  /* webpackMode: "lazy" */
149
153
  './co-card.entry.js').then(processMod, consoleError);
154
+ case 'co-carousel-item':
155
+ return import(
156
+ /* webpackMode: "lazy" */
157
+ './co-carousel-item.entry.js').then(processMod, consoleError);
150
158
  case 'co-checkbox-group':
151
159
  return import(
152
160
  /* webpackMode: "lazy" */
@@ -171,6 +179,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
171
179
  return import(
172
180
  /* webpackMode: "lazy" */
173
181
  './co-date-range.entry.js').then(processMod, consoleError);
182
+ case 'co-date-time-picker':
183
+ return import(
184
+ /* webpackMode: "lazy" */
185
+ './co-date-time-picker.entry.js').then(processMod, consoleError);
174
186
  case 'co-drive-card':
175
187
  return import(
176
188
  /* webpackMode: "lazy" */
@@ -183,6 +195,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
183
195
  return import(
184
196
  /* webpackMode: "lazy" */
185
197
  './co-empty-state.entry.js').then(processMod, consoleError);
198
+ case 'co-event-popover':
199
+ return import(
200
+ /* webpackMode: "lazy" */
201
+ './co-event-popover.entry.js').then(processMod, consoleError);
186
202
  case 'co-fab':
187
203
  return import(
188
204
  /* webpackMode: "lazy" */
@@ -191,10 +207,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
191
207
  return import(
192
208
  /* webpackMode: "lazy" */
193
209
  './co-helper-text.entry.js').then(processMod, consoleError);
194
- case 'co-icon-button':
195
- return import(
196
- /* webpackMode: "lazy" */
197
- './co-icon-button.entry.js').then(processMod, consoleError);
198
210
  case 'co-input':
199
211
  return import(
200
212
  /* webpackMode: "lazy" */
@@ -295,10 +307,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
295
307
  return import(
296
308
  /* webpackMode: "lazy" */
297
309
  './co-sidebar-nav.entry.js').then(processMod, consoleError);
298
- case 'co-skeleton':
299
- return import(
300
- /* webpackMode: "lazy" */
301
- './co-skeleton.entry.js').then(processMod, consoleError);
302
310
  case 'co-slider':
303
311
  return import(
304
312
  /* webpackMode: "lazy" */
@@ -359,6 +367,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
359
367
  return import(
360
368
  /* webpackMode: "lazy" */
361
369
  './co-file-type-tile.entry.js').then(processMod, consoleError);
370
+ case 'co-icon-button':
371
+ return import(
372
+ /* webpackMode: "lazy" */
373
+ './co-icon-button.entry.js').then(processMod, consoleError);
362
374
  case 'co-list-footer':
363
375
  return import(
364
376
  /* webpackMode: "lazy" */
@@ -371,10 +383,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
371
383
  return import(
372
384
  /* webpackMode: "lazy" */
373
385
  './co-checkbox.entry.js').then(processMod, consoleError);
374
- case 'co-tooltip':
375
- return import(
376
- /* webpackMode: "lazy" */
377
- './co-tooltip.entry.js').then(processMod, consoleError);
378
386
  case 'co-loader':
379
387
  return import(
380
388
  /* webpackMode: "lazy" */
@@ -383,10 +391,18 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
383
391
  return import(
384
392
  /* webpackMode: "lazy" */
385
393
  './co-popover.entry.js').then(processMod, consoleError);
394
+ case 'co-audio-player':
395
+ return import(
396
+ /* webpackMode: "lazy" */
397
+ './co-audio-player.entry.js').then(processMod, consoleError);
386
398
  case 'co-bottom-sheet':
387
399
  return import(
388
400
  /* webpackMode: "lazy" */
389
401
  './co-bottom-sheet.entry.js').then(processMod, consoleError);
402
+ case 'co-carousel':
403
+ return import(
404
+ /* webpackMode: "lazy" */
405
+ './co-carousel.entry.js').then(processMod, consoleError);
390
406
  case 'co-color-picker':
391
407
  return import(
392
408
  /* webpackMode: "lazy" */
@@ -403,18 +419,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
403
419
  return import(
404
420
  /* webpackMode: "lazy" */
405
421
  './co-phone-field.entry.js').then(processMod, consoleError);
406
- case 'co-calendar-month':
407
- return import(
408
- /* webpackMode: "lazy" */
409
- './co-calendar-month.entry.js').then(processMod, consoleError);
410
422
  case 'co-lightbox':
411
423
  return import(
412
424
  /* webpackMode: "lazy" */
413
425
  './co-lightbox.entry.js').then(processMod, consoleError);
414
- case 'co-avatar':
415
- return import(
416
- /* webpackMode: "lazy" */
417
- './co-avatar.entry.js').then(processMod, consoleError);
418
426
  case 'co-overlay':
419
427
  return import(
420
428
  /* webpackMode: "lazy" */
@@ -431,14 +439,26 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
431
439
  return import(
432
440
  /* webpackMode: "lazy" */
433
441
  './co-file-field.entry.js').then(processMod, consoleError);
442
+ case 'co-provider-logo_2':
443
+ return import(
444
+ /* webpackMode: "lazy" */
445
+ './co-provider-logo_2.entry.js').then(processMod, consoleError);
434
446
  case 'co-chip_2':
435
447
  return import(
436
448
  /* webpackMode: "lazy" */
437
449
  './co-chip_2.entry.js').then(processMod, consoleError);
450
+ case 'co-avatar_2':
451
+ return import(
452
+ /* webpackMode: "lazy" */
453
+ './co-avatar_2.entry.js').then(processMod, consoleError);
438
454
  case 'co-calendar_3':
439
455
  return import(
440
456
  /* webpackMode: "lazy" */
441
457
  './co-calendar_3.entry.js').then(processMod, consoleError);
458
+ case 'co-calendar-month_2':
459
+ return import(
460
+ /* webpackMode: "lazy" */
461
+ './co-calendar-month_2.entry.js').then(processMod, consoleError);
442
462
  }
443
463
  }
444
464
  return import(
@@ -1,5 +1,5 @@
1
1
  import { p as purify } from './purify.es-B2QLgWrz.js';
2
- import { C as COLOR_PALETTE, T as TABLE_CONTEXT_ITEMS, t as toolbarItems } from './toolbar-config-ChibIpZv.js';
2
+ import { C as COLOR_PALETTE, T as TABLE_CONTEXT_ITEMS, t as toolbarItems } from './toolbar-config-WeuPA9Rw.js';
3
3
 
4
4
  // ::- Persistent data structure representing an ordered mapping from
5
5
  // strings to values, with some convenient update methods.
@@ -32716,6 +32716,21 @@ const VariableNode = Node3.create({
32716
32716
  parseHTML: (el) => el.getAttribute('data-variable-label'),
32717
32717
  renderHTML: (attrs) => (attrs.label ? { 'data-variable-label': attrs.label } : {}),
32718
32718
  },
32719
+ transform: {
32720
+ default: null,
32721
+ parseHTML: (el) => { try {
32722
+ return JSON.parse(el.getAttribute('data-transform') || 'null');
32723
+ }
32724
+ catch {
32725
+ return null;
32726
+ } },
32727
+ renderHTML: (attrs) => (attrs.transform ? { 'data-transform': JSON.stringify(attrs.transform) } : {}),
32728
+ },
32729
+ fallback: {
32730
+ default: null,
32731
+ parseHTML: (el) => el.getAttribute('data-fallback'),
32732
+ renderHTML: (attrs) => (attrs.fallback != null ? { 'data-fallback': attrs.fallback } : {}),
32733
+ },
32719
32734
  };
32720
32735
  },
32721
32736
  parseHTML() {
@@ -32737,12 +32752,24 @@ const VariableNode = Node3.create({
32737
32752
  label,
32738
32753
  ];
32739
32754
  },
32755
+ // Builds the Handlebars expression from the chip attrs. This is an
32756
+ // intentional cross-repo MIRROR of suite-v2's `buildHelperExpression`
32757
+ // (the repos can't share code); keep the two in lock-step.
32740
32758
  renderText({ node }) {
32741
- return `{{${node.attrs.name || ''}}}`;
32759
+ const path = node.attrs.name || '';
32760
+ const t = node.attrs.transform;
32761
+ const fb = node.attrs.fallback;
32762
+ const lit = (s) => `"${String(s).replace(/"/g, '\\"')}"`;
32763
+ let inner = path;
32764
+ if (t && t.helper)
32765
+ inner = (t.args && t.args.length) ? `${t.helper} ${path} ${t.args.map(lit).join(' ')}` : `${t.helper} ${path}`;
32766
+ if (fb != null && fb !== '')
32767
+ return `{{default ${t && t.helper ? `(${inner})` : path} ${lit(fb)}}}`;
32768
+ return t && t.helper ? `{{${inner}}}` : `{{${path}}}`;
32742
32769
  },
32743
32770
  addCommands() {
32744
32771
  return {
32745
- insertVariable: (name, label) => ({ commands }) => commands.insertContent({ type: this.name, attrs: { name, label: label ?? null } }),
32772
+ insertVariable: (name, label, extra) => ({ commands }) => commands.insertContent({ type: this.name, attrs: { name, label: label ?? null, transform: extra?.transform ?? null, fallback: extra?.fallback ?? null } }),
32746
32773
  };
32747
32774
  },
32748
32775
  });
@@ -32774,7 +32801,19 @@ const MentionNode = Node3.create({
32774
32801
  };
32775
32802
  },
32776
32803
  parseHTML() {
32777
- return [{ tag: 'span[data-mention-id]' }];
32804
+ return [
32805
+ { tag: 'span[data-mention-id]' },
32806
+ // Markup V1 (quill-mention) — notas históricas y el contrato que el
32807
+ // backend parsea para notificar. class="mention" no sobrevive al
32808
+ // sanitizer, así que el selector ancla en los data-attrs.
32809
+ {
32810
+ tag: 'span[data-denotation-char="@"][data-id]',
32811
+ getAttrs: (el) => ({
32812
+ id: el.getAttribute('data-id'),
32813
+ label: el.getAttribute('data-value'),
32814
+ }),
32815
+ },
32816
+ ];
32778
32817
  },
32779
32818
  renderHTML({ node, HTMLAttributes }) {
32780
32819
  const label = node.attrs.label || '';
@@ -34765,6 +34804,102 @@ const CobaltTaskItem = TaskItem.extend({}).configure({
34765
34804
  onReadOnlyChecked: () => true,
34766
34805
  });
34767
34806
 
34807
+ /**
34808
+ * EmailButton — atomic block node for a call-to-action button in the
34809
+ * block-email editor. Serialized to email HTML elsewhere (via MJML), so this
34810
+ * node only carries the editing schema: `{ label, href, bg, color }` on a
34811
+ * `<div data-type="email-button">`.
34812
+ */
34813
+ const EmailButton = Node3.create({
34814
+ name: 'emailButton',
34815
+ group: 'block',
34816
+ atom: true,
34817
+ selectable: true,
34818
+ addAttributes() {
34819
+ return {
34820
+ label: { default: 'Button', parseHTML: (el) => el.getAttribute('data-label'), renderHTML: (a) => (a.label ? { 'data-label': a.label } : {}) },
34821
+ href: { default: '', parseHTML: (el) => el.getAttribute('data-href'), renderHTML: (a) => (a.href ? { 'data-href': a.href } : {}) },
34822
+ bg: { default: '', parseHTML: (el) => el.getAttribute('data-bg'), renderHTML: (a) => (a.bg ? { 'data-bg': a.bg } : {}) },
34823
+ color: { default: '', parseHTML: (el) => el.getAttribute('data-color'), renderHTML: (a) => (a.color ? { 'data-color': a.color } : {}) },
34824
+ };
34825
+ },
34826
+ parseHTML() {
34827
+ return [{ tag: 'div[data-type="email-button"]' }];
34828
+ },
34829
+ renderHTML({ node, HTMLAttributes }) {
34830
+ return ['div', mergeAttributes(HTMLAttributes, { 'data-type': 'email-button', class: 'co-rte-email-button', contenteditable: 'false' }), node.attrs.label || 'Button'];
34831
+ },
34832
+ addCommands() {
34833
+ return {
34834
+ insertEmailButton: (attrs) => ({ commands }) => commands.insertContent({ type: this.name, attrs }),
34835
+ };
34836
+ },
34837
+ });
34838
+
34839
+ /**
34840
+ * EmailDivider — atomic block node for a horizontal rule in the block-email
34841
+ * editor. Carries `{ color }` on a `<div data-type="email-divider">`; the
34842
+ * sendable HTML is produced elsewhere (via MJML).
34843
+ */
34844
+ const EmailDivider = Node3.create({
34845
+ name: 'emailDivider',
34846
+ group: 'block',
34847
+ atom: true,
34848
+ selectable: true,
34849
+ addAttributes() {
34850
+ return {
34851
+ color: { default: '', parseHTML: (el) => el.getAttribute('data-color'), renderHTML: (a) => (a.color ? { 'data-color': a.color } : {}) },
34852
+ };
34853
+ },
34854
+ parseHTML() {
34855
+ return [{ tag: 'div[data-type="email-divider"]' }];
34856
+ },
34857
+ renderHTML({ HTMLAttributes }) {
34858
+ return ['div', mergeAttributes(HTMLAttributes, { 'data-type': 'email-divider', class: 'co-rte-email-divider', contenteditable: 'false' })];
34859
+ },
34860
+ addCommands() {
34861
+ return {
34862
+ insertEmailDivider: (attrs) => ({ commands }) => commands.insertContent({ type: this.name, attrs }),
34863
+ };
34864
+ },
34865
+ });
34866
+
34867
+ /**
34868
+ * EmailSpacer — atomic block node for vertical whitespace in the block-email
34869
+ * editor. Carries `{ height }` (px, default 20) on a
34870
+ * `<div data-type="email-spacer">`; the sendable HTML is produced elsewhere
34871
+ * (via MJML).
34872
+ */
34873
+ const EmailSpacer = Node3.create({
34874
+ name: 'emailSpacer',
34875
+ group: 'block',
34876
+ atom: true,
34877
+ selectable: true,
34878
+ addAttributes() {
34879
+ return {
34880
+ height: {
34881
+ default: 20,
34882
+ parseHTML: (el) => {
34883
+ const v = el.getAttribute('data-height');
34884
+ return v == null ? 20 : Number(v) || 20;
34885
+ },
34886
+ renderHTML: (a) => (a.height ? { 'data-height': String(a.height) } : {}),
34887
+ },
34888
+ };
34889
+ },
34890
+ parseHTML() {
34891
+ return [{ tag: 'div[data-type="email-spacer"]' }];
34892
+ },
34893
+ renderHTML({ HTMLAttributes }) {
34894
+ return ['div', mergeAttributes(HTMLAttributes, { 'data-type': 'email-spacer', class: 'co-rte-email-spacer', contenteditable: 'false' })];
34895
+ },
34896
+ addCommands() {
34897
+ return {
34898
+ insertEmailSpacer: (attrs) => ({ commands }) => commands.insertContent({ type: this.name, attrs }),
34899
+ };
34900
+ },
34901
+ });
34902
+
34768
34903
  // src/superscript.ts
34769
34904
  var Superscript = Mark.create({
34770
34905
  name: "superscript",
@@ -34903,6 +35038,13 @@ const STARTERKIT_CONFIG = {
34903
35038
  heading: { levels: [1, 2, 3, 4] },
34904
35039
  link: LINK_CONFIG,
34905
35040
  },
35041
+ 'block-email': {
35042
+ heading: { levels: [2, 3] },
35043
+ code: false,
35044
+ codeBlock: false,
35045
+ horizontalRule: false,
35046
+ link: LINK_CONFIG,
35047
+ },
34906
35048
  };
34907
35049
  /** Default toolbar variant per preset (used when `toolbar="auto"`). */
34908
35050
  const PRESET_TOOLBAR = {
@@ -34910,6 +35052,7 @@ const PRESET_TOOLBAR = {
34910
35052
  task: 'basic',
34911
35053
  email: 'full',
34912
35054
  document: 'full',
35055
+ 'block-email': 'basic',
34913
35056
  };
34914
35057
  /** Suggested max length per preset (null = no limit). */
34915
35058
  const PRESET_MAXLENGTH = {
@@ -34917,6 +35060,7 @@ const PRESET_MAXLENGTH = {
34917
35060
  task: 10000,
34918
35061
  email: null,
34919
35062
  document: null,
35063
+ 'block-email': null,
34920
35064
  };
34921
35065
  /** Build the ordered extension array for a preset. */
34922
35066
  function getExtensions(preset = 'task', options = {}) {
@@ -34926,7 +35070,7 @@ function getExtensions(preset = 'task', options = {}) {
34926
35070
  // Color requires TextStyle to be registered first. Only presets that keep
34927
35071
  // `style` on output (email/document) get them — comment/task strip the style
34928
35072
  // attribute in the sanitizer, so registering color there breaks lock-step.
34929
- if (preset === 'email' || preset === 'document') {
35073
+ if (preset === 'email' || preset === 'document' || preset === 'block-email') {
34930
35074
  exts.push(TextStyle, Color);
34931
35075
  }
34932
35076
  // List marker presets (disc/circle/square, decimal/alpha/roman) — wherever
@@ -34944,15 +35088,15 @@ function getExtensions(preset = 'task', options = {}) {
34944
35088
  exts.push(FontSizeExtension, FontFamilyExtension, FontWeightExtension, LineHeightExtension, LetterSpacingExtension, IndentExtension, Superscript, Subscript);
34945
35089
  }
34946
35090
  // TextAlign — document and email presets
34947
- if (isDocument || preset === 'email') {
35091
+ if (isDocument || preset === 'email' || preset === 'block-email') {
34948
35092
  exts.push(TextAlign.configure({ types: ['heading', 'paragraph'] }));
34949
35093
  }
34950
- const wantVariables = features.variables ?? (preset === 'email' || preset === 'document');
35094
+ const wantVariables = features.variables ?? (preset === 'email' || preset === 'document' || preset === 'block-email');
34951
35095
  if (wantVariables)
34952
35096
  exts.push(VariableNode);
34953
35097
  if (features.mentions)
34954
35098
  exts.push(MentionNode);
34955
- const wantImage = features.image ?? preset === 'document';
35099
+ const wantImage = features.image ?? (preset === 'document' || preset === 'block-email');
34956
35100
  if (wantImage) {
34957
35101
  exts.push(ImageWithFileId.configure({
34958
35102
  inline: true,
@@ -34995,6 +35139,11 @@ function getExtensions(preset = 'task', options = {}) {
34995
35139
  exts.push(Highlight.configure({ multicolor: true }));
34996
35140
  }
34997
35141
  // TextAlign is already registered above for all presets.
35142
+ // Block-email layout nodes (CTA button, divider, spacer) — only for the
35143
+ // block-email preset. The block doc is serialized to email HTML via MJML.
35144
+ if (preset === 'block-email') {
35145
+ exts.push(EmailButton, EmailDivider, EmailSpacer);
35146
+ }
34998
35147
  if (includeUiExtensions) {
34999
35148
  if (placeholder)
35000
35149
  exts.push(Placeholder.configure({ placeholder }));
@@ -35012,7 +35161,7 @@ function defaultToolbarForPreset(preset = 'task') {
35012
35161
  function maxLengthForPreset(preset = 'task') {
35013
35162
  return PRESET_MAXLENGTH[preset] ?? null;
35014
35163
  }
35015
- const PRESETS = ['comment', 'task', 'email', 'document'];
35164
+ const PRESETS = ['comment', 'task', 'email', 'document', 'block-email'];
35016
35165
 
35017
35166
  /**
35018
35167
  * ProseMirror editorProps that insert pasted/dropped images optimistically
@@ -35247,7 +35396,7 @@ const SANITIZE_CONFIGS = {
35247
35396
  ...BASE_INLINE, 'u', 's', 'code', 'ul', 'ol', 'li', 'blockquote',
35248
35397
  'h2', 'h3', 'div', 'img',
35249
35398
  ],
35250
- ALLOWED_ATTR: [...BASE_ATTR, 'style', 'data-variable', 'src', 'alt', 'width', 'height', 'data-file-id', 'data-image-layout'],
35399
+ ALLOWED_ATTR: [...BASE_ATTR, 'style', 'data-variable', 'data-transform', 'data-fallback', 'src', 'alt', 'width', 'height', 'data-file-id', 'data-image-layout'],
35251
35400
  ALLOW_DATA_ATTR: false,
35252
35401
  },
35253
35402
  document: {
@@ -35260,6 +35409,11 @@ const SANITIZE_CONFIGS = {
35260
35409
  ALLOWED_ATTR: [...BASE_ATTR, 'style', 'data-variable', 'colspan', 'rowspan', 'src', 'alt', 'width', 'height', 'type', 'checked', 'disabled', 'allowfullscreen', 'frameborder', 'allow', 'loading'],
35261
35410
  ALLOW_DATA_ATTR: true,
35262
35411
  },
35412
+ 'block-email': {
35413
+ ALLOWED_TAGS: [...BASE_INLINE, 'u', 's', 'code', 'ul', 'ol', 'li', 'blockquote', 'h2', 'h3', 'div', 'img'],
35414
+ ALLOWED_ATTR: [...BASE_ATTR, 'style', 'data-variable', 'data-transform', 'data-fallback', 'src', 'alt', 'width', 'height', 'data-file-id', 'data-image-layout', 'data-type', 'data-label', 'data-href', 'data-bg', 'data-color', 'data-height'],
35415
+ ALLOW_DATA_ATTR: false,
35416
+ },
35263
35417
  };
35264
35418
  /**
35265
35419
  * `<iframe>`s are permitted only with an `https:` source (blocks javascript:,
@@ -35288,7 +35442,13 @@ function configFor(preset, features) {
35288
35442
  }
35289
35443
  if (features.variables)
35290
35444
  attr.add('data-variable');
35291
- // mentions: data-mention-id/label are already in BASE_ATTR for every preset.
35445
+ if (features.mentions) {
35446
+ // data-mention-id/label ya están en BASE_ATTR. Los attrs del markup V1
35447
+ // (quill-mention) se suman porque el BACKEND los parsea para notificar —
35448
+ // re-editar una nota no debe destruirlos.
35449
+ // Espejo inline en core/co-rich-text-viewer.tsx (el viewer no importa este módulo para no cargar el engine) — si cambias esta lista, cambia la del viewer.
35450
+ ['data-id', 'data-value', 'data-denotation-char', 'data-index'].forEach((a) => attr.add(a));
35451
+ }
35292
35452
  return { ...cfg, ALLOWED_TAGS: [...tags], ALLOWED_ATTR: [...attr] };
35293
35453
  }
35294
35454
  /**