@dropi/ui 0.1.37 → 0.1.41

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 (426) hide show
  1. package/assets/icons/symbol/svg/sprite.css.svg +1 -1
  2. package/dist/cjs/dropi-accordion-item.cjs.entry.js +1 -1
  3. package/dist/cjs/dropi-alert.cjs.entry.js +1 -1
  4. package/dist/cjs/dropi-banner-external.cjs.entry.js +1 -1
  5. package/dist/cjs/dropi-breadcrumb.cjs.entry.js +2 -2
  6. package/dist/cjs/dropi-button.cjs.entry.js +1 -1
  7. package/dist/cjs/dropi-card-product.cjs.entry.js +2 -2
  8. package/dist/cjs/dropi-card-section.cjs.entry.js +1 -1
  9. package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +2 -2
  10. package/dist/cjs/dropi-chips.cjs.entry.js +1 -1
  11. package/dist/cjs/dropi-city-selector.cjs.entry.js +2 -2
  12. package/dist/cjs/dropi-country-selector.cjs.entry.js +1 -1
  13. package/dist/cjs/dropi-date-picker.cjs.entry.js +3 -3
  14. package/dist/cjs/dropi-drawer.cjs.entry.js +1 -1
  15. package/dist/cjs/dropi-favorite-button.cjs.entry.js +1 -1
  16. package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +1 -1
  17. package/dist/cjs/dropi-file-upload.cjs.entry.js +2 -2
  18. package/dist/cjs/dropi-icon.cjs.entry.js +18 -20
  19. package/dist/cjs/dropi-ilustration-icon.cjs.entry.js +1 -1
  20. package/dist/cjs/dropi-image-miniature.cjs.entry.js +1 -1
  21. package/dist/cjs/dropi-image-overlay.cjs.entry.js +1 -1
  22. package/dist/cjs/dropi-input_3.cjs.entry.js +11 -9
  23. package/dist/cjs/dropi-languages-selector.cjs.entry.js +1 -1
  24. package/dist/cjs/dropi-media-player.cjs.entry.js +2 -2
  25. package/dist/cjs/dropi-modal.cjs.entry.js +2 -2
  26. package/dist/cjs/dropi-navbar.cjs.entry.js +2 -2
  27. package/dist/cjs/dropi-otp-send-code.cjs.entry.js +14 -6
  28. package/dist/cjs/dropi-phone-input.cjs.entry.js +1 -1
  29. package/dist/cjs/dropi-radio-selection-list.cjs.entry.js +2 -2
  30. package/dist/cjs/dropi-search.cjs.entry.js +2 -2
  31. package/dist/cjs/dropi-select.cjs.entry.js +7 -7
  32. package/dist/cjs/dropi-sidebar.cjs.entry.js +2 -2
  33. package/dist/cjs/dropi-steps.cjs.entry.js +1 -1
  34. package/dist/cjs/dropi-table.cjs.entry.js +5 -5
  35. package/dist/cjs/dropi-tabs.cjs.entry.js +1 -1
  36. package/dist/cjs/dropi-text-area.cjs.entry.js +1 -1
  37. package/dist/cjs/dropi-time-line.cjs.entry.js +1 -1
  38. package/dist/cjs/dropi-toast.cjs.entry.js +1 -1
  39. package/dist/cjs/dropi-tooltip-v2.cjs.entry.js +2 -2
  40. package/dist/cjs/dropi-ui.cjs.js +1 -1
  41. package/dist/cjs/dropi-vertical-steps.cjs.entry.js +1 -1
  42. package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +1 -1
  43. package/dist/cjs/loader.cjs.js +1 -1
  44. package/dist/collection/assets/icons/symbol/svg/sprite.css.svg +1 -1
  45. package/dist/collection/components/dropi-accordion/dropi-accordion-item.js +1 -1
  46. package/dist/collection/components/dropi-alert/dropi-alert.js +1 -1
  47. package/dist/collection/components/dropi-banner-external/dropi-banner-external.js +1 -1
  48. package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.js +2 -2
  49. package/dist/collection/components/dropi-button/dropi-button.js +1 -1
  50. package/dist/collection/components/dropi-card-product/dropi-card-product.js +2 -2
  51. package/dist/collection/components/dropi-card-section/dropi-card-section.js +1 -1
  52. package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.js +2 -2
  53. package/dist/collection/components/dropi-chips/dropi-chips.js +1 -1
  54. package/dist/collection/components/dropi-city-selector/dropi-city-selector.js +2 -2
  55. package/dist/collection/components/dropi-country-selector/dropi-country-selector.js +1 -1
  56. package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +3 -3
  57. package/dist/collection/components/dropi-drawer/dropi-drawer.js +1 -1
  58. package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.js +1 -1
  59. package/dist/collection/components/dropi-file-upload/dropi-file-upload.js +2 -2
  60. package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.js +1 -1
  61. package/dist/collection/components/dropi-icon/dropi-icon.css +0 -2
  62. package/dist/collection/components/dropi-icon/dropi-icon.js +25 -27
  63. package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.js +1 -1
  64. package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +1 -1
  65. package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.js +1 -1
  66. package/dist/collection/components/dropi-input/dropi-input.css +13 -5
  67. package/dist/collection/components/dropi-input/dropi-input.js +9 -7
  68. package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.js +1 -1
  69. package/dist/collection/components/dropi-media-player/dropi-media-player.js +2 -2
  70. package/dist/collection/components/dropi-modal/dropi-modal.js +4 -4
  71. package/dist/collection/components/dropi-navbar/dropi-navbar.js +2 -2
  72. package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +29 -7
  73. package/dist/collection/components/dropi-paginator/dropi-paginator.js +2 -2
  74. package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +1 -1
  75. package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.js +2 -2
  76. package/dist/collection/components/dropi-search/dropi-search.js +2 -2
  77. package/dist/collection/components/dropi-select/dropi-select.js +7 -7
  78. package/dist/collection/components/dropi-sidebar/dropi-sidebar.js +2 -2
  79. package/dist/collection/components/dropi-steps/dropi-steps.js +1 -1
  80. package/dist/collection/components/dropi-table/dropi-table.js +7 -7
  81. package/dist/collection/components/dropi-tabs/dropi-tabs.js +1 -1
  82. package/dist/collection/components/dropi-tag/dropi-tag.js +1 -1
  83. package/dist/collection/components/dropi-text-area/dropi-text-area.js +1 -1
  84. package/dist/collection/components/dropi-time-line/dropi-time-line.js +1 -1
  85. package/dist/collection/components/dropi-toast/dropi-toast.js +1 -1
  86. package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.js +2 -2
  87. package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.js +1 -1
  88. package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.js +1 -1
  89. package/dist/components/dropi-accordion-item.js +1 -1
  90. package/dist/components/dropi-alert-modal.js +1 -1
  91. package/dist/components/dropi-alert.js +1 -1
  92. package/dist/components/dropi-banner-external.js +1 -1
  93. package/dist/components/dropi-breadcrumb.js +1 -1
  94. package/dist/components/dropi-button.js +1 -1
  95. package/dist/components/dropi-card-product.js +1 -1
  96. package/dist/components/dropi-card-section.js +1 -1
  97. package/dist/components/dropi-checkbox-selection-list.js +1 -1
  98. package/dist/components/dropi-chips.js +1 -1
  99. package/dist/components/dropi-city-selector.js +1 -1
  100. package/dist/components/dropi-country-selector.js +1 -1
  101. package/dist/components/dropi-date-picker.js +1 -1
  102. package/dist/components/dropi-drawer.js +1 -1
  103. package/dist/components/dropi-empty-state.js +1 -1
  104. package/dist/components/dropi-favorite-button.js +1 -1
  105. package/dist/components/dropi-file-upload-progress-bar.js +1 -1
  106. package/dist/components/dropi-file-upload.js +1 -1
  107. package/dist/components/dropi-icon.js +1 -1
  108. package/dist/components/dropi-ilustration-icon.js +1 -1
  109. package/dist/components/dropi-image-miniature.js +1 -1
  110. package/dist/components/dropi-image-overlay.js +1 -1
  111. package/dist/components/dropi-input.js +1 -1
  112. package/dist/components/dropi-languages-selector.js +1 -1
  113. package/dist/components/dropi-media-player.js +1 -1
  114. package/dist/components/dropi-modal.js +1 -1
  115. package/dist/components/dropi-navbar.js +1 -1
  116. package/dist/components/dropi-otp-send-code.js +1 -1
  117. package/dist/components/dropi-paginator.js +1 -1
  118. package/dist/components/dropi-phone-input.js +1 -1
  119. package/dist/components/dropi-radio-selection-list.js +1 -1
  120. package/dist/components/dropi-search.js +1 -1
  121. package/dist/components/dropi-select.js +1 -1
  122. package/dist/components/dropi-sidebar.js +1 -1
  123. package/dist/components/dropi-steps.js +1 -1
  124. package/dist/components/dropi-table.js +1 -1
  125. package/dist/components/dropi-tabs.js +1 -1
  126. package/dist/components/dropi-tag.js +1 -1
  127. package/dist/components/dropi-text-area.js +1 -1
  128. package/dist/components/dropi-time-line.js +1 -1
  129. package/dist/components/dropi-toast.js +1 -1
  130. package/dist/components/dropi-tooltip-v2.js +1 -1
  131. package/dist/components/dropi-vertical-steps.js +1 -1
  132. package/dist/components/dropi-youtube-lazy-video.js +1 -1
  133. package/dist/components/p-2YgFOle2.js +1 -0
  134. package/dist/components/p-BDYn1JDe.js +1 -0
  135. package/dist/components/p-BKTMBQVw.js +1 -0
  136. package/dist/components/p-Btsw7sPN.js +1 -0
  137. package/dist/components/p-CgRY3n1J.js +1 -0
  138. package/dist/components/p-Cjq4FTif.js +1 -0
  139. package/dist/components/p-DfdhNT9F.js +1 -0
  140. package/dist/components/p-DvLWbKsf.js +1 -0
  141. package/dist/components/p-Dz9uN5Nw.js +1 -0
  142. package/dist/components/p-FAhcOdS-.js +1 -0
  143. package/dist/dropi-ui/dropi-accordion-item.entry.js +58 -0
  144. package/dist/dropi-ui/dropi-accordion-item.entry.js.map +1 -0
  145. package/dist/dropi-ui/dropi-accordion.entry.js +20 -0
  146. package/dist/dropi-ui/dropi-accordion.entry.js.map +1 -0
  147. package/dist/dropi-ui/dropi-alert-legacy.entry.js +40 -0
  148. package/dist/dropi-ui/dropi-alert-legacy.entry.js.map +1 -0
  149. package/dist/dropi-ui/dropi-alert-modal.entry.js +129 -0
  150. package/dist/dropi-ui/dropi-alert-modal.entry.js.map +1 -0
  151. package/dist/dropi-ui/dropi-alert.entry.js +65 -0
  152. package/dist/dropi-ui/dropi-alert.entry.js.map +1 -0
  153. package/dist/dropi-ui/dropi-avatars.entry.js +32 -0
  154. package/dist/dropi-ui/dropi-avatars.entry.js.map +1 -0
  155. package/dist/dropi-ui/dropi-badge-legacy.entry.js +31 -0
  156. package/dist/dropi-ui/dropi-badge-legacy.entry.js.map +1 -0
  157. package/dist/dropi-ui/dropi-badge.entry.js +38 -0
  158. package/dist/dropi-ui/dropi-badge.entry.js.map +1 -0
  159. package/dist/dropi-ui/dropi-banner-external.entry.js +64 -0
  160. package/dist/dropi-ui/dropi-banner-external.entry.js.map +1 -0
  161. package/dist/dropi-ui/dropi-breadcrumb.entry.js +49 -0
  162. package/dist/dropi-ui/dropi-breadcrumb.entry.js.map +1 -0
  163. package/dist/dropi-ui/dropi-button.entry.js +88 -0
  164. package/dist/dropi-ui/dropi-button.entry.js.map +1 -0
  165. package/dist/dropi-ui/dropi-card-checkbox.entry.js +49 -0
  166. package/dist/dropi-ui/dropi-card-checkbox.entry.js.map +1 -0
  167. package/dist/dropi-ui/dropi-card-product.entry.js +79 -0
  168. package/dist/dropi-ui/dropi-card-product.entry.js.map +1 -0
  169. package/dist/dropi-ui/dropi-card-section.entry.js +39 -0
  170. package/dist/dropi-ui/dropi-card-section.entry.js.map +1 -0
  171. package/dist/dropi-ui/dropi-carousel.entry.js +154 -0
  172. package/dist/dropi-ui/dropi-carousel.entry.js.map +1 -0
  173. package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js +74 -0
  174. package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js.map +1 -0
  175. package/dist/dropi-ui/dropi-checkbox.entry.js +37 -0
  176. package/dist/dropi-ui/dropi-checkbox.entry.js.map +1 -0
  177. package/dist/dropi-ui/dropi-chips.entry.js +31 -0
  178. package/dist/dropi-ui/dropi-chips.entry.js.map +1 -0
  179. package/dist/dropi-ui/dropi-city-selector.entry.js +105 -0
  180. package/dist/dropi-ui/dropi-city-selector.entry.js.map +1 -0
  181. package/dist/dropi-ui/dropi-color-picker.entry.js +320 -0
  182. package/dist/dropi-ui/dropi-color-picker.entry.js.map +1 -0
  183. package/dist/dropi-ui/dropi-country-flags.entry.js +38 -0
  184. package/dist/dropi-ui/dropi-country-flags.entry.js.map +1 -0
  185. package/dist/dropi-ui/dropi-country-selector.entry.js +198 -0
  186. package/dist/dropi-ui/dropi-country-selector.entry.js.map +1 -0
  187. package/dist/dropi-ui/dropi-date-picker-range.entry.js +116 -0
  188. package/dist/dropi-ui/dropi-date-picker-range.entry.js.map +1 -0
  189. package/dist/dropi-ui/dropi-date-picker.entry.js +224 -0
  190. package/dist/dropi-ui/dropi-date-picker.entry.js.map +1 -0
  191. package/dist/dropi-ui/dropi-drawer.entry.js +80 -0
  192. package/dist/dropi-ui/dropi-drawer.entry.js.map +1 -0
  193. package/dist/dropi-ui/dropi-dropdown.entry.js +66 -0
  194. package/dist/dropi-ui/dropi-dropdown.entry.js.map +1 -0
  195. package/dist/dropi-ui/dropi-empty-state.entry.js +37 -0
  196. package/dist/dropi-ui/dropi-empty-state.entry.js.map +1 -0
  197. package/dist/dropi-ui/dropi-favorite-button.entry.js +28 -0
  198. package/dist/dropi-ui/dropi-favorite-button.entry.js.map +1 -0
  199. package/dist/dropi-ui/dropi-file-upload-progress-bar.entry.js +78 -0
  200. package/dist/dropi-ui/dropi-file-upload-progress-bar.entry.js.map +1 -0
  201. package/dist/dropi-ui/dropi-file-upload.entry.js +238 -0
  202. package/dist/dropi-ui/dropi-file-upload.entry.js.map +1 -0
  203. package/dist/dropi-ui/dropi-icon.entry.js +66 -0
  204. package/dist/dropi-ui/dropi-icon.entry.js.map +1 -0
  205. package/dist/dropi-ui/dropi-ilustration-icon.entry.js +40 -0
  206. package/dist/dropi-ui/dropi-ilustration-icon.entry.js.map +1 -0
  207. package/dist/dropi-ui/dropi-image-miniature.entry.js +45 -0
  208. package/dist/dropi-ui/dropi-image-miniature.entry.js.map +1 -0
  209. package/dist/dropi-ui/dropi-image-overlay.entry.js +64 -0
  210. package/dist/dropi-ui/dropi-image-overlay.entry.js.map +1 -0
  211. package/dist/dropi-ui/dropi-input.entry.js +266 -0
  212. package/dist/dropi-ui/dropi-input.entry.js.map +1 -0
  213. package/dist/dropi-ui/dropi-languages-selector.entry.js +62 -0
  214. package/dist/dropi-ui/dropi-languages-selector.entry.js.map +1 -0
  215. package/dist/dropi-ui/dropi-logo.entry.js +38 -0
  216. package/dist/dropi-ui/dropi-logo.entry.js.map +1 -0
  217. package/dist/dropi-ui/dropi-lottie-loader.entry.js +28 -0
  218. package/dist/dropi-ui/dropi-lottie-loader.entry.js.map +1 -0
  219. package/dist/dropi-ui/dropi-media-player.entry.js +193 -0
  220. package/dist/dropi-ui/dropi-media-player.entry.js.map +1 -0
  221. package/dist/dropi-ui/dropi-modal.entry.js +143 -0
  222. package/dist/dropi-ui/dropi-modal.entry.js.map +1 -0
  223. package/dist/dropi-ui/dropi-navbar.entry.js +55 -0
  224. package/dist/dropi-ui/dropi-navbar.entry.js.map +1 -0
  225. package/dist/dropi-ui/dropi-otp-send-code.entry.js +101 -0
  226. package/dist/dropi-ui/dropi-otp-send-code.entry.js.map +1 -0
  227. package/dist/dropi-ui/dropi-paginator.entry.js +70 -0
  228. package/dist/dropi-ui/dropi-paginator.entry.js.map +1 -0
  229. package/dist/dropi-ui/dropi-phone-input.entry.js +198 -0
  230. package/dist/dropi-ui/dropi-phone-input.entry.js.map +1 -0
  231. package/dist/dropi-ui/dropi-radio-button.entry.js +48 -0
  232. package/dist/dropi-ui/dropi-radio-button.entry.js.map +1 -0
  233. package/dist/dropi-ui/dropi-radio-selection-list.entry.js +61 -0
  234. package/dist/dropi-ui/dropi-radio-selection-list.entry.js.map +1 -0
  235. package/dist/dropi-ui/dropi-read-more.entry.js +41 -0
  236. package/dist/dropi-ui/dropi-read-more.entry.js.map +1 -0
  237. package/dist/dropi-ui/dropi-search.entry.js +125 -0
  238. package/dist/dropi-ui/dropi-search.entry.js.map +1 -0
  239. package/dist/dropi-ui/dropi-select.entry.js +383 -0
  240. package/dist/dropi-ui/dropi-select.entry.js.map +1 -0
  241. package/dist/dropi-ui/dropi-sidebar.entry.js +79 -0
  242. package/dist/dropi-ui/dropi-sidebar.entry.js.map +1 -0
  243. package/dist/dropi-ui/dropi-simple-stepper.entry.js +54 -0
  244. package/dist/dropi-ui/dropi-simple-stepper.entry.js.map +1 -0
  245. package/dist/dropi-ui/dropi-skeleton.entry.js +58 -0
  246. package/dist/dropi-ui/dropi-skeleton.entry.js.map +1 -0
  247. package/dist/dropi-ui/dropi-steps.entry.js +53 -0
  248. package/dist/dropi-ui/dropi-steps.entry.js.map +1 -0
  249. package/dist/dropi-ui/dropi-switch.entry.js +31 -0
  250. package/dist/dropi-ui/dropi-switch.entry.js.map +1 -0
  251. package/dist/dropi-ui/dropi-table.entry.js +300 -0
  252. package/dist/dropi-ui/dropi-table.entry.js.map +1 -0
  253. package/dist/dropi-ui/dropi-tabs.entry.js +52 -0
  254. package/dist/dropi-ui/dropi-tabs.entry.js.map +1 -0
  255. package/dist/dropi-ui/dropi-tag-type-product.entry.js +20 -0
  256. package/dist/dropi-ui/dropi-tag-type-product.entry.js.map +1 -0
  257. package/dist/dropi-ui/dropi-tag.entry.js +69 -0
  258. package/dist/dropi-ui/dropi-tag.entry.js.map +1 -0
  259. package/dist/dropi-ui/dropi-text-area.entry.js +135 -0
  260. package/dist/dropi-ui/dropi-text-area.entry.js.map +1 -0
  261. package/dist/dropi-ui/dropi-time-line.entry.js +35 -0
  262. package/dist/dropi-ui/dropi-time-line.entry.js.map +1 -0
  263. package/dist/dropi-ui/dropi-toast.entry.js +57 -0
  264. package/dist/dropi-ui/dropi-toast.entry.js.map +1 -0
  265. package/dist/dropi-ui/dropi-tooltip-v2.entry.js +132 -0
  266. package/dist/dropi-ui/dropi-tooltip-v2.entry.js.map +1 -0
  267. package/dist/dropi-ui/dropi-tooltip.entry.js +22 -0
  268. package/dist/dropi-ui/dropi-tooltip.entry.js.map +1 -0
  269. package/dist/dropi-ui/dropi-ui.css +311 -1
  270. package/dist/dropi-ui/dropi-ui.esm.js +50 -1
  271. package/dist/dropi-ui/dropi-ui.esm.js.map +1 -0
  272. package/dist/dropi-ui/dropi-vertical-steps.entry.js +56 -0
  273. package/dist/dropi-ui/dropi-vertical-steps.entry.js.map +1 -0
  274. package/dist/dropi-ui/dropi-youtube-lazy-video.entry.js +34 -0
  275. package/dist/dropi-ui/dropi-youtube-lazy-video.entry.js.map +1 -0
  276. package/dist/dropi-ui/index-Cvp2LQOM.js +4585 -0
  277. package/dist/dropi-ui/index-Cvp2LQOM.js.map +1 -0
  278. package/dist/dropi-ui/index.esm.js +4 -0
  279. package/dist/dropi-ui/index.esm.js.map +1 -0
  280. package/dist/dropi-ui/{p-db38bf16.entry.js → p-01e4fe42.entry.js} +1 -1
  281. package/dist/dropi-ui/p-099f4475.entry.js +1 -0
  282. package/dist/dropi-ui/p-17b16a74.entry.js +1 -0
  283. package/dist/dropi-ui/p-1a07b3a6.entry.js +1 -0
  284. package/dist/dropi-ui/p-1cd4d630.entry.js +1 -0
  285. package/dist/dropi-ui/p-1d75dff6.entry.js +1 -0
  286. package/dist/dropi-ui/p-20a6a2aa.entry.js +1 -0
  287. package/dist/dropi-ui/p-256bf069.entry.js +1 -0
  288. package/dist/dropi-ui/p-25f0c2c9.entry.js +1 -0
  289. package/dist/dropi-ui/p-2d9978c1.entry.js +1 -0
  290. package/dist/dropi-ui/p-35b37d1a.entry.js +1 -0
  291. package/dist/dropi-ui/p-38ea66e4.entry.js +1 -0
  292. package/dist/dropi-ui/p-4e401fbc.entry.js +1 -0
  293. package/dist/dropi-ui/p-53d2905c.entry.js +1 -0
  294. package/dist/dropi-ui/p-54bfb072.entry.js +1 -0
  295. package/dist/dropi-ui/p-5915d227.entry.js +1 -0
  296. package/dist/dropi-ui/p-650a7679.entry.js +1 -0
  297. package/dist/dropi-ui/p-719a01cb.entry.js +1 -0
  298. package/dist/dropi-ui/p-7369b3b4.entry.js +1 -0
  299. package/dist/dropi-ui/{p-e3ad21f8.entry.js → p-77cd2fcb.entry.js} +1 -1
  300. package/dist/dropi-ui/p-7a18b7a0.entry.js +1 -0
  301. package/dist/dropi-ui/p-83887880.entry.js +1 -0
  302. package/dist/dropi-ui/p-83dbc407.entry.js +1 -0
  303. package/dist/dropi-ui/p-85c637bd.entry.js +1 -0
  304. package/dist/dropi-ui/{p-e6e766ed.entry.js → p-87cc4dcd.entry.js} +1 -1
  305. package/dist/dropi-ui/p-899089f0.entry.js +1 -0
  306. package/dist/dropi-ui/p-8c107dbe.entry.js +1 -0
  307. package/dist/dropi-ui/p-929bc2b6.entry.js +1 -0
  308. package/dist/dropi-ui/p-9ac8caea.entry.js +1 -0
  309. package/dist/dropi-ui/p-9b24e8fd.entry.js +1 -0
  310. package/dist/dropi-ui/p-9c73b4ce.entry.js +1 -0
  311. package/dist/dropi-ui/p-a580e8c8.entry.js +1 -0
  312. package/dist/dropi-ui/p-a9f93e82.entry.js +1 -0
  313. package/dist/dropi-ui/p-aa0f5964.entry.js +1 -0
  314. package/dist/dropi-ui/p-aadd5863.entry.js +1 -0
  315. package/dist/dropi-ui/p-b25faf92.entry.js +1 -0
  316. package/dist/dropi-ui/p-b605d3d9.entry.js +1 -0
  317. package/dist/dropi-ui/p-bbb5e0ae.entry.js +1 -0
  318. package/dist/dropi-ui/p-c4d2881d.entry.js +1 -0
  319. package/dist/dropi-ui/p-d1aeb373.entry.js +1 -0
  320. package/dist/dropi-ui/p-d724ced4.entry.js +1 -0
  321. package/dist/dropi-ui/p-dc53a798.entry.js +1 -0
  322. package/dist/dropi-ui/p-e1b3c9a3.entry.js +1 -0
  323. package/dist/dropi-ui/p-e3c120ba.entry.js +1 -0
  324. package/dist/dropi-ui/p-edf796ee.entry.js +1 -0
  325. package/dist/dropi-ui/p-f2527a45.entry.js +1 -0
  326. package/dist/dropi-ui/p-f6c9057d.entry.js +1 -0
  327. package/dist/dropi-ui/p-f7fd7832.entry.js +1 -0
  328. package/dist/dropi-ui/p-f9888cea.entry.js +1 -0
  329. package/dist/dropi-ui/p-ffd415a2.entry.js +1 -0
  330. package/dist/esm/dropi-accordion-item.entry.js +1 -1
  331. package/dist/esm/dropi-alert.entry.js +1 -1
  332. package/dist/esm/dropi-banner-external.entry.js +1 -1
  333. package/dist/esm/dropi-breadcrumb.entry.js +2 -2
  334. package/dist/esm/dropi-button.entry.js +1 -1
  335. package/dist/esm/dropi-card-product.entry.js +2 -2
  336. package/dist/esm/dropi-card-section.entry.js +1 -1
  337. package/dist/esm/dropi-checkbox-selection-list.entry.js +2 -2
  338. package/dist/esm/dropi-chips.entry.js +1 -1
  339. package/dist/esm/dropi-city-selector.entry.js +2 -2
  340. package/dist/esm/dropi-country-selector.entry.js +1 -1
  341. package/dist/esm/dropi-date-picker.entry.js +3 -3
  342. package/dist/esm/dropi-drawer.entry.js +1 -1
  343. package/dist/esm/dropi-favorite-button.entry.js +1 -1
  344. package/dist/esm/dropi-file-upload-progress-bar.entry.js +1 -1
  345. package/dist/esm/dropi-file-upload.entry.js +2 -2
  346. package/dist/esm/dropi-icon.entry.js +18 -20
  347. package/dist/esm/dropi-ilustration-icon.entry.js +1 -1
  348. package/dist/esm/dropi-image-miniature.entry.js +1 -1
  349. package/dist/esm/dropi-image-overlay.entry.js +1 -1
  350. package/dist/esm/dropi-input_3.entry.js +11 -9
  351. package/dist/esm/dropi-languages-selector.entry.js +1 -1
  352. package/dist/esm/dropi-media-player.entry.js +2 -2
  353. package/dist/esm/dropi-modal.entry.js +2 -2
  354. package/dist/esm/dropi-navbar.entry.js +2 -2
  355. package/dist/esm/dropi-otp-send-code.entry.js +14 -6
  356. package/dist/esm/dropi-phone-input.entry.js +1 -1
  357. package/dist/esm/dropi-radio-selection-list.entry.js +2 -2
  358. package/dist/esm/dropi-search.entry.js +2 -2
  359. package/dist/esm/dropi-select.entry.js +7 -7
  360. package/dist/esm/dropi-sidebar.entry.js +2 -2
  361. package/dist/esm/dropi-steps.entry.js +1 -1
  362. package/dist/esm/dropi-table.entry.js +5 -5
  363. package/dist/esm/dropi-tabs.entry.js +1 -1
  364. package/dist/esm/dropi-text-area.entry.js +1 -1
  365. package/dist/esm/dropi-time-line.entry.js +1 -1
  366. package/dist/esm/dropi-toast.entry.js +1 -1
  367. package/dist/esm/dropi-tooltip-v2.entry.js +2 -2
  368. package/dist/esm/dropi-ui.js +1 -1
  369. package/dist/esm/dropi-vertical-steps.entry.js +1 -1
  370. package/dist/esm/dropi-youtube-lazy-video.entry.js +1 -1
  371. package/dist/esm/loader.js +1 -1
  372. package/dist/types/components/dropi-icon/dropi-icon.d.ts +4 -9
  373. package/dist/types/components/dropi-input/dropi-input.d.ts +1 -1
  374. package/dist/types/components/dropi-modal/dropi-modal.d.ts +1 -1
  375. package/dist/types/components/dropi-otp-send-code/dropi-otp-send-code.d.ts +3 -1
  376. package/dist/types/components/dropi-table/dropi-table.d.ts +1 -1
  377. package/dist/types/components.d.ts +39 -38
  378. package/hydrate/index.js +109 -101
  379. package/hydrate/index.mjs +109 -101
  380. package/package.json +1 -1
  381. package/scripts/setup.js +25 -4
  382. package/dist/components/p-B_Ace02i.js +0 -1
  383. package/dist/components/p-BrjO_JXp.js +0 -1
  384. package/dist/components/p-BwhxWL4p.js +0 -1
  385. package/dist/components/p-Bz2jXX3R.js +0 -1
  386. package/dist/components/p-D-vQQQNz.js +0 -1
  387. package/dist/components/p-D13d88W3.js +0 -1
  388. package/dist/components/p-I3w7xF7Q.js +0 -1
  389. package/dist/components/p-o5gyrbbD.js +0 -1
  390. package/dist/dropi-ui/p-00e5a2de.entry.js +0 -1
  391. package/dist/dropi-ui/p-0188e07a.entry.js +0 -1
  392. package/dist/dropi-ui/p-02710049.entry.js +0 -1
  393. package/dist/dropi-ui/p-18adf694.entry.js +0 -1
  394. package/dist/dropi-ui/p-1a3619c3.entry.js +0 -1
  395. package/dist/dropi-ui/p-25640777.entry.js +0 -1
  396. package/dist/dropi-ui/p-2674d901.entry.js +0 -1
  397. package/dist/dropi-ui/p-2af538b9.entry.js +0 -1
  398. package/dist/dropi-ui/p-3013f3b8.entry.js +0 -1
  399. package/dist/dropi-ui/p-3321ca70.entry.js +0 -1
  400. package/dist/dropi-ui/p-33d242ec.entry.js +0 -1
  401. package/dist/dropi-ui/p-39af6478.entry.js +0 -1
  402. package/dist/dropi-ui/p-446a481d.entry.js +0 -1
  403. package/dist/dropi-ui/p-50e0d44f.entry.js +0 -1
  404. package/dist/dropi-ui/p-5c0bd7c2.entry.js +0 -1
  405. package/dist/dropi-ui/p-5ddf6e93.entry.js +0 -1
  406. package/dist/dropi-ui/p-5fb33ae4.entry.js +0 -1
  407. package/dist/dropi-ui/p-665ef7ba.entry.js +0 -1
  408. package/dist/dropi-ui/p-66b80371.entry.js +0 -1
  409. package/dist/dropi-ui/p-7bfc1c27.entry.js +0 -1
  410. package/dist/dropi-ui/p-7c0d2edf.entry.js +0 -1
  411. package/dist/dropi-ui/p-7eb27836.entry.js +0 -1
  412. package/dist/dropi-ui/p-8bf5d8ee.entry.js +0 -1
  413. package/dist/dropi-ui/p-9212f544.entry.js +0 -1
  414. package/dist/dropi-ui/p-955e52f8.entry.js +0 -1
  415. package/dist/dropi-ui/p-976a15e3.entry.js +0 -1
  416. package/dist/dropi-ui/p-a1c93e55.entry.js +0 -1
  417. package/dist/dropi-ui/p-a232c6a7.entry.js +0 -1
  418. package/dist/dropi-ui/p-a822a23e.entry.js +0 -1
  419. package/dist/dropi-ui/p-af8e2157.entry.js +0 -1
  420. package/dist/dropi-ui/p-c3614c4a.entry.js +0 -1
  421. package/dist/dropi-ui/p-cc527d91.entry.js +0 -1
  422. package/dist/dropi-ui/p-cdde481b.entry.js +0 -1
  423. package/dist/dropi-ui/p-dd5d8b1b.entry.js +0 -1
  424. package/dist/dropi-ui/p-efc2fc35.entry.js +0 -1
  425. package/dist/dropi-ui/p-f41cd9b5.entry.js +0 -1
  426. package/dist/dropi-ui/p-fa3d0267.entry.js +0 -1
@@ -179,10 +179,10 @@ const DropiMediaPlayer = class {
179
179
  }, onMouseMove: () => this.onMouseMove(), onMouseLeave: () => this.onMouseLeave() }, h("div", { class: "dropi-media-player__blur-bg", style: { backgroundImage: `url(${this.poster})` } }), h("div", { class: "dropi-media-player__blur-overlay" }), h("video", { class: "dropi-media-player__video", ref: (el) => this.mediaEl = el, src: this.src, poster: this.poster, onClick: () => this.togglePlay(), onPlay: () => { this.playing = true; this.startHideControlsTimer(); this.dropiPlay.emit(true); }, onPause: () => { this.playing = false; this.showControls = true; clearTimeout(this.controlsTimeout); this.dropiPlay.emit(false); }, onEnded: () => { this.playing = false; this.showControls = true; this.dropiEnded.emit(); }, onTimeUpdate: () => this.handleTimeUpdate(), onLoadedMetaData: () => this.handleLoadedMetadata() }), h("div", { class: {
180
180
  'dropi-media-player__center-play': true,
181
181
  'dropi-media-player__center-play--hidden': this.playing && !this.showControls
182
- }, style: { width: `${this.playButtonSize}px`, height: `${this.playButtonSize}px` }, onClick: (e) => { e.stopPropagation(); this.togglePlay(); } }, this.playing ? (h("svg", { width: `${this.playIconSize}px`, height: `${this.playIconSize}px`, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5", style: { color: '#ffffff' } }, h("rect", { x: "6.5", y: "4", width: "3.5", height: "16", rx: "1.75" }), h("rect", { x: "14", y: "4", width: "3.5", height: "16", rx: "1.75" }))) : (h("dropi-icon", { name: "Play", color: "Neutral-White", width: `${this.playIconSize}px`, height: `${this.playIconSize}px` }))), h("div", { class: {
182
+ }, style: { width: `${this.playButtonSize}px`, height: `${this.playButtonSize}px` }, onClick: (e) => { e.stopPropagation(); this.togglePlay(); } }, this.playing ? (h("svg", { width: `${this.playIconSize}px`, height: `${this.playIconSize}px`, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5", style: { color: '#ffffff' } }, h("rect", { x: "6.5", y: "4", width: "3.5", height: "16", rx: "1.75" }), h("rect", { x: "14", y: "4", width: "3.5", height: "16", rx: "1.75" }))) : (h("dropi-icon", { name: "Play", color: "Neutral-White", iconWidth: `${this.playIconSize}px`, iconHeight: `${this.playIconSize}px` }))), h("div", { class: {
183
183
  'dropi-media-player__controls-bar': true,
184
184
  'dropi-media-player__controls-bar--hidden': !this.showControls
185
- }, onClick: (e) => e.stopPropagation() }, h("span", { class: "dropi-media-player__timestamp" }, this.currentTimeStr, " / ", this.durationStr), h("div", { class: "dropi-media-player__progress", onClick: (e) => { e.stopPropagation(); this.handleSeek(e); } }, h("div", { class: "dropi-media-player__progress-track" }, h("div", { class: "dropi-media-player__progress-fill", style: { width: `${this.progress}%` } }), h("div", { class: "dropi-media-player__progress-thumb", style: { left: `${this.progress}%` } }))), h("div", { class: "dropi-media-player__actions" }, h("div", { class: "dropi-media-player__speed-control", onClick: (e) => e.stopPropagation() }, this.showSpeedMenu && (h("div", { class: "dropi-media-player__speed-menu" }, this.speeds.map(s => (h("button", { type: "button", class: { 'dropi-media-player__speed-option': true, 'dropi-media-player__speed-option--active': this.speed === s }, onClick: (e) => { e.stopPropagation(); this.selectSpeed(s); } }, "x", s))))), h("button", { class: "dropi-media-player__btn dropi-media-player__btn--speed", onClick: (e) => { e.stopPropagation(); this.toggleSpeedMenu(); }, type: "button" }, "x", this.speed)), h("button", { class: "dropi-media-player__btn", onClick: (e) => { e.stopPropagation(); this.toggleFullscreen(); }, type: "button" }, h("dropi-icon", { name: this.isFullscreen ? 'Compress' : 'Expand', color: "Neutral-White", width: "20px", height: "20px" })), h("div", { class: "dropi-media-player__volume-control", onClick: (e) => e.stopPropagation() }, this.showVolumeSlider && (h("div", { class: "dropi-media-player__volume-popup" }, h("input", { type: "range", class: "dropi-media-player__volume-slider", min: "0", max: "1", step: "0.01", value: this.muted ? 0 : this.volume, style: { background: this.volumeGradient }, onInput: (e) => this.handleVolume(e) }))), h("button", { class: "dropi-media-player__btn", onClick: (e) => { e.stopPropagation(); this.toggleVolume(); }, type: "button" }, h("dropi-icon", { name: this.volumeIcon, color: "Neutral-White", width: "20px", height: "20px" })))))));
185
+ }, onClick: (e) => e.stopPropagation() }, h("span", { class: "dropi-media-player__timestamp" }, this.currentTimeStr, " / ", this.durationStr), h("div", { class: "dropi-media-player__progress", onClick: (e) => { e.stopPropagation(); this.handleSeek(e); } }, h("div", { class: "dropi-media-player__progress-track" }, h("div", { class: "dropi-media-player__progress-fill", style: { width: `${this.progress}%` } }), h("div", { class: "dropi-media-player__progress-thumb", style: { left: `${this.progress}%` } }))), h("div", { class: "dropi-media-player__actions" }, h("div", { class: "dropi-media-player__speed-control", onClick: (e) => e.stopPropagation() }, this.showSpeedMenu && (h("div", { class: "dropi-media-player__speed-menu" }, this.speeds.map(s => (h("button", { type: "button", class: { 'dropi-media-player__speed-option': true, 'dropi-media-player__speed-option--active': this.speed === s }, onClick: (e) => { e.stopPropagation(); this.selectSpeed(s); } }, "x", s))))), h("button", { class: "dropi-media-player__btn dropi-media-player__btn--speed", onClick: (e) => { e.stopPropagation(); this.toggleSpeedMenu(); }, type: "button" }, "x", this.speed)), h("button", { class: "dropi-media-player__btn", onClick: (e) => { e.stopPropagation(); this.toggleFullscreen(); }, type: "button" }, h("dropi-icon", { name: this.isFullscreen ? 'Compress' : 'Expand', color: "Neutral-White", iconWidth: "20px", iconHeight: "20px" })), h("div", { class: "dropi-media-player__volume-control", onClick: (e) => e.stopPropagation() }, this.showVolumeSlider && (h("div", { class: "dropi-media-player__volume-popup" }, h("input", { type: "range", class: "dropi-media-player__volume-slider", min: "0", max: "1", step: "0.01", value: this.muted ? 0 : this.volume, style: { background: this.volumeGradient }, onInput: (e) => this.handleVolume(e) }))), h("button", { class: "dropi-media-player__btn", onClick: (e) => { e.stopPropagation(); this.toggleVolume(); }, type: "button" }, h("dropi-icon", { name: this.volumeIcon, color: "Neutral-White", iconWidth: "20px", iconHeight: "20px" })))))));
186
186
  }
187
187
  };
188
188
  DropiMediaPlayer.style = dropiMediaPlayerCss();
@@ -34,7 +34,7 @@ const DropiModal = class {
34
34
  /** Enable a before-close hook (matches Angular `enableBeforeClose`) */
35
35
  enableBeforeClose = false;
36
36
  /** No-op — kept for API parity with Angular (matches Angular `draggable`) */
37
- draggable = false;
37
+ isDraggable = false;
38
38
  /** No-op — kept for API parity with Angular (matches Angular `resizable`) */
39
39
  resizable = false;
40
40
  onShow;
@@ -127,7 +127,7 @@ const DropiModal = class {
127
127
  }
128
128
  }
129
129
  render() {
130
- return (h("div", { key: '6f790289cbdcb0cb92040abc471e8dc592f3d0ab', class: `modal-root modal-root--${this.position}${this.isOpen ? ' modal-root--open' : ''}${this.isClosing ? ' modal-root--closing' : ''}`, style: { display: this.mounted || this.isClosing ? 'flex' : 'none' } }, (this.modal ?? true) && h("div", { key: '6667d2df75ac67352346f454452a360a6506473a', class: "modal-mask", onClick: () => this.dismissable && this.hide() }), h("div", { key: '3a5485798cec9e986f411631aee819f10716e441', class: `modal-panel size-${this.size || 'm'}`, role: "dialog", "aria-modal": "true" }, this.showHeader && (h("div", { key: '795afcb76540a52beefd1ca4c0fb80d88156ef98', class: "modal-header" }, this.header && h("span", { key: '3df861b36deca9caaf6c64c54b89dc897f5b9453', class: "modal-title" }, this.header), h("slot", { key: 'b6b1913314b2c05daa299d273ff7b495d4f72c39', name: "header" }), this.showCloseIcon && (h("button", { key: '529dd7e8787a09fc588e28c0c77f0f27c304659f', class: "modal-close", onClick: () => this.hide(), "aria-label": "Cerrar" }, "\u00D7")))), h("div", { key: 'eeeae841372a788a34cee76b38de7689a7a296fc', class: "modal-content" }, h("slot", { key: '83c67fb239b5579169368b5b2ba6c2ee22564a73' })), this.showFooter && h("div", { key: 'd86cd40508a7b6ea3c9cd4583aaa5a69646bb549', class: "modal-footer" }, h("slot", { key: 'f70503acd5f2b5e672700cec46e4e9705d944e22', name: "footer" })))));
130
+ return (h("div", { key: '1aee093f108c54540005a6cb2f48bef700f05d63', class: `modal-root modal-root--${this.position}${this.isOpen ? ' modal-root--open' : ''}${this.isClosing ? ' modal-root--closing' : ''}`, style: { display: this.mounted || this.isClosing ? 'flex' : 'none' } }, (this.modal ?? true) && h("div", { key: '06ebd29da0c7dc699e7c16769476e310336ab149', class: "modal-mask", onClick: () => this.dismissable && this.hide() }), h("div", { key: '87cb9bbd4c1c6c27a6a7d09f561ea781c1571803', class: `modal-panel size-${this.size || 'm'}`, role: "dialog", "aria-modal": "true" }, this.showHeader && (h("div", { key: '86f22ef920b7a7437825f4c5f9ccff23b591c499', class: "modal-header" }, this.header && h("span", { key: '2ae7c9b879ee6c025b6b42977bad643ff4d28370', class: "modal-title" }, this.header), h("slot", { key: '85a0a54691ca191719202c8fea6b30ffff30aacc', name: "header" }), this.showCloseIcon && (h("button", { key: 'dc1f570830d22535a39c9e9fbf0bccdb8e4bfcf7', class: "modal-close", onClick: () => this.hide(), "aria-label": "Cerrar" }, "\u00D7")))), h("div", { key: 'ceca42f33ff7d4762c79b2d133e23bc7cedb3cb3', class: "modal-content" }, h("slot", { key: '14a82735c521c45deda61e8a69ae8673ad754b3d' })), this.showFooter && h("div", { key: 'e71a5393c19de696247502abd09d26a38cd1b979', class: "modal-footer" }, h("slot", { key: '1364eed1b66e82d321d06d13d9d34615c7634ce0', name: "footer" })))));
131
131
  }
132
132
  static get watchers() { return {
133
133
  "visible": [{
@@ -42,9 +42,9 @@ const DropiNavbar = class {
42
42
  }
43
43
  render() {
44
44
  const items = this.parsedData;
45
- return (h("nav", { key: '15c337396dbe445ac7a13d7e0f2d99f88b4de439', class: "navbar" }, h("div", { key: '922a217dfe53f3f34dd6746033996bcd71dadfb2', class: "navbar__left" }, this.showMenuToggle && (h("button", { key: 'db80ad1fd6f47807196c81ae60bf9cea8bb16e77', class: "navbar__menu-btn", onClick: () => this.dropiMenuToggle.emit(), "aria-label": "Men\u00FA" }, h("dropi-icon", { key: 'c35615cbfd5dc807def32957062ea25b059664b5', name: "Menu", width: "20px", height: "20px", color: "Gray-Gray-700" }))), this.logoUrl && (h("img", { key: 'ffc532e501bc7bc0a5625c865955a43c84857a58', class: "navbar__logo", src: this.logoUrl, alt: this.logoAlt })), this.title && h("span", { key: '7fb10d4a5e42030a7701bf0933587ecdaf5ab20b', class: "navbar__title" }, this.title)), items.length > 0 && (h("ul", { key: '338118e694ca0a46d94fee60211302efe8bbee51', class: "navbar__items" }, items.map(item => (h("li", null, h("button", { class: { 'navbar__item': true, 'navbar__item--active': item.id === this.activeId }, onClick: () => this.clickLoadItem.emit(item), type: "button" }, item.icon && h("dropi-icon", { name: item.icon, width: "16px", height: "16px", color: item.id === this.activeId ? 'Primary-Primary-500' : 'Gray-Gray-600' }), h("span", null, item.name?.value || item.label), item.badge != null && String(item.badge) !== '0' && (h("span", { class: "navbar__badge" }, item.badge)))))))), h("div", { key: 'f2ac52b78963fa9165b6614a7abaa6fe822b2a89', class: "navbar__right" }, h("button", { key: '4e78c3fbc69899f8b1f0206dc27372c3c0d15c31', class: "navbar__icon-btn", onClick: () => this.dropiNotificationsClick.emit(), "aria-label": "Notificaciones" }, h("dropi-icon", { key: 'a94bbd4aa73b7be9a735b31b92d882c53616f8e6', name: "Bell", width: "20px", height: "20px", color: "Gray-Gray-600" }), this.notifications > 0 && (h("span", { key: 'c2157fca16e1c3f992562027d4dfeb348ef7ad23', class: "navbar__notif-badge" }, this.notifications > 99 ? '99+' : this.notifications))), h("button", { key: 'ba2cb25cda984ba8ea180ff8edb3d3ffc955ab27', class: "navbar__user-btn", onClick: () => this.dropiUserClick.emit(), type: "button" }, this.userAvatar
45
+ return (h("nav", { key: '15c337396dbe445ac7a13d7e0f2d99f88b4de439', class: "navbar" }, h("div", { key: '922a217dfe53f3f34dd6746033996bcd71dadfb2', class: "navbar__left" }, this.showMenuToggle && (h("button", { key: 'db80ad1fd6f47807196c81ae60bf9cea8bb16e77', class: "navbar__menu-btn", onClick: () => this.dropiMenuToggle.emit(), "aria-label": "Men\u00FA" }, h("dropi-icon", { key: 'eca18144260cb6471a19f78f7ce75254ba5a138e', name: "Menu", iconWidth: "20px", iconHeight: "20px", color: "Gray-Gray-700" }))), this.logoUrl && (h("img", { key: '374ea8553605f289c413882c757eda70054ba71d', class: "navbar__logo", src: this.logoUrl, alt: this.logoAlt })), this.title && h("span", { key: '8e2abceb591c0de10ca99d2090fea7a0da792a7b', class: "navbar__title" }, this.title)), items.length > 0 && (h("ul", { key: 'fd26fc64ea3325ddc439a802ab56e69b329020dd', class: "navbar__items" }, items.map(item => (h("li", null, h("button", { class: { 'navbar__item': true, 'navbar__item--active': item.id === this.activeId }, onClick: () => this.clickLoadItem.emit(item), type: "button" }, item.icon && h("dropi-icon", { name: item.icon, iconWidth: "16px", iconHeight: "16px", color: item.id === this.activeId ? 'Primary-Primary-500' : 'Gray-Gray-600' }), h("span", null, item.name?.value || item.label), item.badge != null && String(item.badge) !== '0' && (h("span", { class: "navbar__badge" }, item.badge)))))))), h("div", { key: '51a6532caac773ea7236e95b0aa5ee9ee052db4a', class: "navbar__right" }, h("button", { key: '309b47a8fa074e7d47632a95490c5ba0d2950745', class: "navbar__icon-btn", onClick: () => this.dropiNotificationsClick.emit(), "aria-label": "Notificaciones" }, h("dropi-icon", { key: '2a970ae36fdd4e42d9fbab5d8ebb61a1d14d54c8', name: "Bell", iconWidth: "20px", iconHeight: "20px", color: "Gray-Gray-600" }), this.notifications > 0 && (h("span", { key: '67412b6d3c7689f78cca15e91a1e8e3ee88152a2', class: "navbar__notif-badge" }, this.notifications > 99 ? '99+' : this.notifications))), h("button", { key: '38cc70fdc1c204b06b62c54a23f4b8c76647fd6b', class: "navbar__user-btn", onClick: () => this.dropiUserClick.emit(), type: "button" }, this.userAvatar
46
46
  ? h("img", { class: "navbar__avatar", src: this.userAvatar, alt: this.userName })
47
- : h("div", { class: "navbar__avatar-placeholder" }, this.userName ? this.userName[0].toUpperCase() : '?'), this.userName && h("span", { key: '11b4c378a089644e63d6186fe40e31ca7b4ab924', class: "navbar__user-name" }, this.userName), h("dropi-icon", { key: 'c2a140081f5ad014b73d35f45476cc1ac41391b5', name: "Arrow-Down-2", width: "12px", height: "12px", color: "Gray-Gray-400" })))));
47
+ : h("div", { class: "navbar__avatar-placeholder" }, this.userName ? this.userName[0].toUpperCase() : '?'), this.userName && h("span", { key: '1f2cfe4bddef60d31751c24c3f02cace2f07d6dd', class: "navbar__user-name" }, this.userName), h("dropi-icon", { key: '520aff19c56964eefb3b1f59646c19df779c7e47', name: "Arrow-Down-2", iconWidth: "12px", iconHeight: "12px", color: "Gray-Gray-400" })))));
48
48
  }
49
49
  };
50
50
  DropiNavbar.style = dropiNavbarCss();
@@ -8,6 +8,7 @@ const DropiOtpSendCode = class {
8
8
  constructor(hostRef) {
9
9
  registerInstance(this, hostRef);
10
10
  this.codeCompleted = createEvent(this, "codeCompleted", 7);
11
+ this.codeAccepted = createEvent(this, "codeAccepted", 7);
11
12
  this.dropiResend = createEvent(this, "dropiResend", 7);
12
13
  }
13
14
  /** Delivery method label */
@@ -25,8 +26,10 @@ const DropiOtpSendCode = class {
25
26
  error = false;
26
27
  inputs = [];
27
28
  timer;
28
- /** Emitted when all 6 digits are entered. e.detail = the complete code string */
29
+ /** Emitted when all 6 digits are entered. */
29
30
  codeCompleted;
31
+ /** Emitted when all 6 digits are entered (alternative event). */
32
+ codeAccepted;
30
33
  /** Emitted when resend is requested */
31
34
  dropiResend;
32
35
  componentDidLoad() { this.startCountdown(); }
@@ -54,7 +57,9 @@ const DropiOtpSendCode = class {
54
57
  if (val && index < OTP_LENGTH - 1)
55
58
  this.inputs[index + 1]?.focus();
56
59
  if (newDigits.every(d => d !== '')) {
57
- this.codeCompleted.emit(newDigits.join(''));
60
+ const finalCode = newDigits.join('');
61
+ this.codeCompleted.emit(finalCode);
62
+ this.codeAccepted.emit(finalCode);
58
63
  }
59
64
  }
60
65
  handleKeyDown(e, index) {
@@ -70,19 +75,22 @@ const DropiOtpSendCode = class {
70
75
  this.digits = newDigits;
71
76
  this.digitStates = newDigits.map(d => d ? 'filled' : 'idle');
72
77
  this.inputs[Math.min(text.length, OTP_LENGTH - 1)]?.focus();
73
- if (newDigits.every(d => d !== ''))
74
- this.codeCompleted.emit(newDigits.join(''));
78
+ if (newDigits.every(d => d !== '')) {
79
+ const finalCode = newDigits.join('');
80
+ this.codeCompleted.emit(finalCode);
81
+ this.codeAccepted.emit(finalCode);
82
+ }
75
83
  }
76
84
  render() {
77
85
  const engineLabel = this.engine === 'sms' ? 'SMS' : this.engine === '2fa' ? 'autenticador' : 'correo';
78
- return (h("div", { key: '3cfe0d64890b2c90f500c662fe8572f9630d614b', class: "otp" }, this.showLabelContact && (h("p", { key: 'd791c408a5393ae82e00e758b67530d4b21381ac', class: "otp__label" }, "Ingresa el c\u00F3digo enviado a tu ", engineLabel, this.labelContact && h("strong", { key: '3d6ca9c3a00a71ba99800a94f1b95d3247d75522' }, " ", this.labelContact))), h("div", { key: '22d172d48ae8748fa27aaead4c65145d848ae4f2', class: "otp__inputs", onPaste: (e) => this.handlePaste(e) }, Array.from({ length: OTP_LENGTH }, (_, i) => (h("input", { key: i, ref: (el) => {
86
+ return (h("div", { key: '09eb961c43257d0a2a852ec05bafa7c050d9e4ec', class: "otp" }, this.showLabelContact && (h("p", { key: '46b215b5343892c5bca4d5aab6590e8da791fc9d', class: "otp__label" }, "Ingresa el c\u00F3digo enviado a tu ", engineLabel, this.labelContact && h("strong", { key: '0c0871dbb99ad85a15275be1ed7f698cf9e4a808' }, " ", this.labelContact))), h("div", { key: 'd11d2c4f094a82240b3bde49039ff2e2d027f5d5', class: "otp__inputs", onPaste: (e) => this.handlePaste(e) }, Array.from({ length: OTP_LENGTH }, (_, i) => (h("input", { key: i, ref: (el) => {
79
87
  if (el)
80
88
  this.inputs[i] = el;
81
89
  }, class: {
82
90
  'otp__digit': true,
83
91
  'otp__digit--filled': (this.digitStates ?? [])[i] === 'filled',
84
92
  'otp__digit--error': this.error,
85
- }, type: "text", inputMode: "numeric", maxLength: 1, value: (this.digits ?? [])[i] ?? '', onInput: (e) => this.handleInput(e, i), onKeyDown: (e) => this.handleKeyDown(e, i) })))), this.error && this.errorMessage && (h("p", { key: 'c6434be80f44e6f8a277bdff49503f67db5cdca7', class: "otp__error" }, this.errorMessage)), h("div", { key: '281e56d25ec3b01136aae2220605037d4dff4e16', class: "otp__resend" }, this.canResend ? (h("button", { class: "otp__resend-btn", onClick: () => { this.startCountdown(); this.dropiResend.emit(); } }, "Reenviar c\u00F3digo")) : (h("span", { class: "otp__countdown" }, "Reenviar en ", this.countdown, "s")))));
93
+ }, type: "text", inputMode: "numeric", maxLength: 1, value: (this.digits ?? [])[i] ?? '', onInput: (e) => this.handleInput(e, i), onKeyDown: (e) => this.handleKeyDown(e, i) })))), this.error && this.errorMessage && (h("p", { key: 'a9156a4da398eeeec8128a012978e8e2c5f7eef4', class: "otp__error" }, this.errorMessage)), h("div", { key: '9c685306ba97d19907b92bbf6c203f0473a809fb', class: "otp__resend" }, this.canResend ? (h("button", { class: "otp__resend-btn", onClick: () => { this.startCountdown(); this.dropiResend.emit(); } }, "Reenviar c\u00F3digo")) : (h("span", { class: "otp__countdown" }, "Reenviar en ", this.countdown, "s")))));
86
94
  }
87
95
  };
88
96
  DropiOtpSendCode.style = dropiOtpSendCodeCss();
@@ -179,7 +179,7 @@ const DropiPhoneInput = class {
179
179
  return (h("div", { key: 'e4a9468971ff90e3e1c2cf6944a8475451843428', class: "phone-wrap" }, h("div", { key: 'dabdccaf0453e98afb3db78ee6b6f83a66615baa', class: "phone-input-container" }, h("div", { key: '6481136b782da271fe47c19cfd359398bf632f35', class: "custom-select" }, h("button", { key: 'd314c0e2c74724eff20eae8f34241caf1fc2448c', type: "button", class: { 'select-button': true, 'select-invalid': isInvalid }, disabled: this.disabledInput, onClick: () => {
180
180
  if (!this.disabledInput)
181
181
  this.open = !this.open;
182
- } }, h("span", { key: 'c8b2aa7801a5c633c70010e7eeb2d5d9f3fb6b37', style: { display: 'flex', gap: '0.5rem', alignItems: 'center' } }, h("img", { key: 'c2a6583a02b029cee578b9c931f185f7d4102e3f', src: `https://flagsapi.com/${country.flag}/flat/24.png`, alt: "flag" }), country.code), h("dropi-icon", { key: '0ace7b7188e846793d66373ea3d2c2d8ae881c24', name: this.open ? 'Dropdown-up' : 'Dropdown-down', width: "14px", height: "14px", color: "Gray-Gray-500" })), h("ul", { key: '832b37902ce54aac152e956d671fb6f899781029', class: { 'select-dropdown': true, 'expanded-select': this.open, 'collapsed-select': !this.open } }, COUNTRIES.map(option => (h("li", null, h("button", { type: "button", class: "option", onMouseDown: (e) => { e.preventDefault(); this.selectCountry(option); } }, h("img", { src: `https://flagsapi.com/${option.flag}/flat/24.png`, alt: option.flag }), option.code)))))), h("input", { key: 'eaf32641b019e1ffd3fe5a1d7a3c4597e1cd0cb5', id: "phone-input", type: "tel", inputmode: "numeric", class: { 'form-control': true, 'is-invalid': isInvalid }, placeholder: this.phoneNumberPlaceholder, value: this.ngModelPhone, disabled: this.disabledInput, maxLength: country.maxLength, onInput: (e) => this.handleInput(e) }))));
182
+ } }, h("span", { key: 'c8b2aa7801a5c633c70010e7eeb2d5d9f3fb6b37', style: { display: 'flex', gap: '0.5rem', alignItems: 'center' } }, h("img", { key: 'c2a6583a02b029cee578b9c931f185f7d4102e3f', src: `https://flagsapi.com/${country.flag}/flat/24.png`, alt: "flag" }), country.code), h("dropi-icon", { key: '26e6e575c9072c008060560f03fcaba942ae5157', name: this.open ? 'Dropdown-up' : 'Dropdown-down', iconWidth: "14px", iconHeight: "14px", color: "Gray-Gray-500" })), h("ul", { key: 'ad2d7688f2de26aa1c8ac080819203c7f5839764', class: { 'select-dropdown': true, 'expanded-select': this.open, 'collapsed-select': !this.open } }, COUNTRIES.map(option => (h("li", null, h("button", { type: "button", class: "option", onMouseDown: (e) => { e.preventDefault(); this.selectCountry(option); } }, h("img", { src: `https://flagsapi.com/${option.flag}/flat/24.png`, alt: option.flag }), option.code)))))), h("input", { key: '399968a68860688b9e91084dc5530aa5464ef5f1', id: "phone-input", type: "tel", inputmode: "numeric", class: { 'form-control': true, 'is-invalid': isInvalid }, placeholder: this.phoneNumberPlaceholder, value: this.ngModelPhone, disabled: this.disabledInput, maxLength: country.maxLength, onInput: (e) => this.handleInput(e) }))));
183
183
  }
184
184
  static get watchers() { return {
185
185
  "codArea": [{
@@ -39,10 +39,10 @@ const DropiRadioSelectionList = class {
39
39
  return this.parsedOptions.filter(o => o.name?.toLowerCase().includes(q));
40
40
  }
41
41
  render() {
42
- return (h("div", { key: '7fdbf3d20a030a78ab4f48e7dba8333a34b1017b', class: "rsl" }, this.showFilter && (h("div", { key: '12e2abb8f8ed76c6b3231f28b63c842ba3c3c326', class: "rsl__search" }, h("dropi-icon", { key: '4f6a63480a811ed22d67485274b7edf3bf9765f4', name: "Search", width: "16px", height: "16px", color: "Gray-Gray-400" }), h("input", { key: 'c1f1c5942d422fceaa967640b7795a981896d68d', class: "rsl__search-input", type: "text", placeholder: this.filterPlaceholder, value: this.filterText, onInput: (e) => {
42
+ return (h("div", { key: '7fdbf3d20a030a78ab4f48e7dba8333a34b1017b', class: "rsl" }, this.showFilter && (h("div", { key: '12e2abb8f8ed76c6b3231f28b63c842ba3c3c326', class: "rsl__search" }, h("dropi-icon", { key: '0d3e759696ceefdc997fadec75cc73f281caafd0', name: "Search", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), h("input", { key: 'd5605975ebfda35d7abb0e69fe0a2baa929faddb', class: "rsl__search-input", type: "text", placeholder: this.filterPlaceholder, value: this.filterText, onInput: (e) => {
43
43
  this.filterText = e.target.value;
44
44
  this.onSearch.emit({ searchValue: this.filterText, filteredOptions: this.filtered });
45
- } }))), h("div", { key: '425b4048cbf4fa4a22c13d932f296cb594ffe993', class: "rsl__list" }, this.filtered.map(opt => {
45
+ } }))), h("div", { key: '25dae74884621ce4f27f214de94c9ddb0fa1799f', class: "rsl__list" }, this.filtered.map(opt => {
46
46
  const isSelected = opt.id === this.selectedOption;
47
47
  return (h("div", { class: { 'rsl__item': true, 'rsl__item--selected': isSelected }, key: opt.id, onClick: () => { this.selectedOption = opt.id; this.valueChange.emit(opt.id); } }, h("div", { class: { 'rsl__radio': true, 'rsl__radio--checked': isSelected } }, isSelected && h("div", { class: "rsl__radio-dot" })), h("div", { class: "rsl__content" }, h("span", { class: "rsl__name" }, opt.name), (isSelected || this.alwaysShowDescription) && opt.description && (h("span", { class: "rsl__desc" }, opt.description)))));
48
48
  }))));
@@ -106,10 +106,10 @@ const DropiSearch = class {
106
106
  }
107
107
  render() {
108
108
  const showDropdown = this.open && this.parsedOptions.length > 0;
109
- return (h("div", { key: 'ec00c8851a1d2d4ddda50edea458589a62d9451a', class: "search-wrap" }, this.label && h("label", { key: '31cadba1b21276ec43f3623676fe1a7f9bac4da2', class: "search-label" }, this.label), h("div", { key: 'bf68dbb7cfa657e8a7e441a2fe47db0e7d214e44', class: `search-input-row search-input-row--${this.type}` }, this.showIcon && h("dropi-icon", { key: 'c1c442a8fed018f774d6addc9dcaf3d1e89d6121', class: "search-icon", name: "Search", width: "16px", height: "16px", color: "Gray-Gray-400" }), h("input", { key: 'd22791b1864320c54060827cc601bbc242d6c37d', class: "search-input", type: this.typeInput, placeholder: this.placeholder, value: this.textInput, maxLength: this.maxLength, onInput: (e) => this.handleInput(e), onKeyDown: (e) => this.handleKeyDown(e), onFocus: () => {
109
+ return (h("div", { key: 'ec00c8851a1d2d4ddda50edea458589a62d9451a', class: "search-wrap" }, this.label && h("label", { key: '31cadba1b21276ec43f3623676fe1a7f9bac4da2', class: "search-label" }, this.label), h("div", { key: 'bf68dbb7cfa657e8a7e441a2fe47db0e7d214e44', class: `search-input-row search-input-row--${this.type}` }, this.showIcon && h("dropi-icon", { key: '21239271d90ba7adcc64e3f7ecb9b836619bd11e', class: "search-icon", name: "Search", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), h("input", { key: '64735f2618f993cbca379e72b3c87435158b4f0c', class: "search-input", type: this.typeInput, placeholder: this.placeholder, value: this.textInput, maxLength: this.maxLength, onInput: (e) => this.handleInput(e), onKeyDown: (e) => this.handleKeyDown(e), onFocus: () => {
110
110
  if (this.parsedOptions.length)
111
111
  this.open = true;
112
- }, onBlur: () => { setTimeout(() => this.open = false, 150); this.onBlur.emit(); } }), this.showClear && this.textInput && (h("button", { key: '55e8653e330b06d488c6d65f6a8ffe6465a24289', class: "search-clear", onClick: () => this.handleClear(), "aria-label": "Limpiar" }, h("dropi-icon", { key: '0c154c2a95119caefe84bd9cfc40860d4b722137', name: "Close-small", width: "16px", height: "16px", color: "Gray-Gray-400" })))), showDropdown && (h("div", { key: 'a4b4691ff29a427755f19c4bc4932f2634736701', class: `search-dropdown search-dropdown--${this.position}`, style: { '--dropdown-height': `${this.heightOverlay}px` } }, this.filtered.length === 0 ? (h("div", { class: "search-no-results" }, "Sin resultados")) : (this.filtered.map((opt, i) => (h("div", { class: { 'search-option': true, 'search-option--selected': this.isSelected(opt) }, key: i, onMouseDown: (e) => { e.preventDefault(); this.selectOption(opt); } }, this.multipleSelectModel && h("dropi-checkbox", { checked: this.isSelected(opt) }), h("span", { class: "search-option__label" }, opt[this.dataName])))))))));
112
+ }, onBlur: () => { setTimeout(() => this.open = false, 150); this.onBlur.emit(); } }), this.showClear && this.textInput && (h("button", { key: 'c6a1dab911f262e0b2da88e59cdbaf6b4c1c74a9', class: "search-clear", onClick: () => this.handleClear(), "aria-label": "Limpiar" }, h("dropi-icon", { key: 'ddf404e0be3d95f1154ecd22dd9b9f7a06e3c187', name: "Close-small", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" })))), showDropdown && (h("div", { key: 'a8c5ecbfe700bcb116119f172c3cb017b9693113', class: `search-dropdown search-dropdown--${this.position}`, style: { '--dropdown-height': `${this.heightOverlay}px` } }, this.filtered.length === 0 ? (h("div", { class: "search-no-results" }, "Sin resultados")) : (this.filtered.map((opt, i) => (h("div", { class: { 'search-option': true, 'search-option--selected': this.isSelected(opt) }, key: i, onMouseDown: (e) => { e.preventDefault(); this.selectOption(opt); } }, this.multipleSelectModel && h("dropi-checkbox", { checked: this.isSelected(opt) }), h("span", { class: "search-option__label" }, opt[this.dataName])))))))));
113
113
  }
114
114
  static get watchers() { return {
115
115
  "dataToSearch": [{
@@ -319,7 +319,7 @@ const DropiSelect = class {
319
319
  }, disabled: this.disabled, ref: el => (this.buttonRef = el), onClick: () => this.toggleDropdown() }, h("div", { class: {
320
320
  'button-content': true,
321
321
  'option-radio': this.radioOptions && !!this._selectedOption && !this.multiSelect,
322
- } }, this.preIcon && (h("dropi-icon", { name: this.preIcon, width: "20px", height: "20px", color: "Gray-Gray-500" })), this.radioOptions && this._selectedOption && !this.multiSelect && [
322
+ } }, this.preIcon && (h("dropi-icon", { name: this.preIcon, iconWidth: "20px", iconHeight: "20px", color: "Gray-Gray-500" })), this.radioOptions && this._selectedOption && !this.multiSelect && [
323
323
  this._selectedOption.imageUrl && !this._selectedOption.isFallback
324
324
  ? h("img", { class: "option-image small-image", src: this._selectedOption.imageUrl, alt: "", onError: () => {
325
325
  if (this._selectedOption)
@@ -329,7 +329,7 @@ const DropiSelect = class {
329
329
  ? h("span", { class: "option-image-fallback small-image" }, this._selectedOption.label.charAt(0).toUpperCase())
330
330
  : null,
331
331
  h("div", { class: "labels-container elipsis" }, h("span", null, this._selectedOption.label), this._selectedOption.secondLabel && h("span", { class: "option-second-label" }, this._selectedOption.secondLabel)),
332
- ], !(this.radioOptions && this._selectedOption && !this.multiSelect) && (h("div", { class: "elipsis" }, this.triggerLabel))), h("dropi-icon", { name: this.isOpen ? 'Dropdown-up' : 'Dropdown-down', width: iconSize, height: iconSize, color: iconColor })));
332
+ ], !(this.radioOptions && this._selectedOption && !this.multiSelect) && (h("div", { class: "elipsis" }, this.triggerLabel))), h("dropi-icon", { name: this.isOpen ? 'Dropdown-up' : 'Dropdown-down', iconWidth: iconSize, iconHeight: iconSize, color: iconColor })));
333
333
  }
334
334
  renderOption(option) {
335
335
  const isSelected = this.multiSelect
@@ -341,23 +341,23 @@ const DropiSelect = class {
341
341
  'option-with-flag': this.showCountryFlags && !!option.countryCode,
342
342
  'disabled-option': !!option.disabled,
343
343
  'selected-option': isSelected,
344
- }, disabled: option.disabled, onClick: () => this.selectOption(option) }, this.multiSelect && (h("span", { class: { 'multi-checkbox': true, checked: isSelected } }, isSelected && (h("svg", { width: "10", height: "10", viewBox: "0 0 24 24", fill: "none" }, h("path", { d: "M20.6 5.7L9.1 17.2c-.2.2-.5.3-.8.3s-.6-.1-.8-.3L3 12.8c-.4-.4-.4-1 0-1.4.4-.4 1-.4 1.4 0l3.9 3.9L19.2 4.3c.4-.4 1-.4 1.4 0 .4.4.4 1 0 1.4z", fill: "white" }))))), this.radioOptions && (h("div", { class: { radio: true, selected: isSelected } }, isSelected && h("div", { class: "circle" }))), !this.radioOptions && option.preIcon && (h("dropi-icon", { name: option.preIcon, width: "20px", height: "20px", color: "Gray-Gray-500" })), this.radioOptions && option.imageUrl && !option.isFallback && (h("img", { class: "option-image", src: option.imageUrl, alt: "", onError: () => { option.isFallback = true; this.options = [...this.options]; } })), this.radioOptions && option.isFallback && (h("span", { class: "option-image-fallback" }, option.label.charAt(0).toUpperCase())), this.showCountryFlags && option.countryCode && (h("span", { class: "flag-placeholder" }, option.countryCode)), this.radioOptions
344
+ }, disabled: option.disabled, onClick: () => this.selectOption(option) }, this.multiSelect && (h("span", { class: { 'multi-checkbox': true, checked: isSelected } }, isSelected && (h("svg", { width: "10", height: "10", viewBox: "0 0 24 24", fill: "none" }, h("path", { d: "M20.6 5.7L9.1 17.2c-.2.2-.5.3-.8.3s-.6-.1-.8-.3L3 12.8c-.4-.4-.4-1 0-1.4.4-.4 1-.4 1.4 0l3.9 3.9L19.2 4.3c.4-.4 1-.4 1.4 0 .4.4.4 1 0 1.4z", fill: "white" }))))), this.radioOptions && (h("div", { class: { radio: true, selected: isSelected } }, isSelected && h("div", { class: "circle" }))), !this.radioOptions && option.preIcon && (h("dropi-icon", { name: option.preIcon, iconWidth: "20px", iconHeight: "20px", color: "Gray-Gray-500" })), this.radioOptions && option.imageUrl && !option.isFallback && (h("img", { class: "option-image", src: option.imageUrl, alt: "", onError: () => { option.isFallback = true; this.options = [...this.options]; } })), this.radioOptions && option.isFallback && (h("span", { class: "option-image-fallback" }, option.label.charAt(0).toUpperCase())), this.showCountryFlags && option.countryCode && (h("span", { class: "flag-placeholder" }, option.countryCode)), this.radioOptions
345
345
  ? (h("div", { class: "labels-container" }, h("span", { class: "elipsis" }, option.label), option.secondLabel && h("span", { class: "option-second-label" }, option.secondLabel)))
346
346
  : (h("span", { class: "elipsis" }, this.showCountryFlags && option.shortLabel ? option.shortLabel : option.label)))));
347
347
  }
348
348
  renderDropdown() {
349
349
  if (!this.isOpen)
350
350
  return null;
351
- return (h("ul", { class: `select-dropdown-overlay ${this.overlayClass}`, style: this.dropdownStyle, onScroll: (e) => this.handleScroll(e) }, this.searchEnabled && (h("li", { class: "sticky-search" }, h("div", { class: "search-wrapper" }, h("dropi-icon", { name: "Search", width: "16px", height: "16px", color: "Gray-Gray-400" }), h("input", { class: "search-input", type: "text", placeholder: this.placeHolderSearch, value: this.searchTerm, onInput: (e) => this.handleSearch(e.target.value), onKeyDown: (e) => {
351
+ return (h("ul", { class: `select-dropdown-overlay ${this.overlayClass}`, style: this.dropdownStyle, onScroll: (e) => this.handleScroll(e) }, this.searchEnabled && (h("li", { class: "sticky-search" }, h("div", { class: "search-wrapper" }, h("dropi-icon", { name: "Search", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), h("input", { class: "search-input", type: "text", placeholder: this.placeHolderSearch, value: this.searchTerm, onInput: (e) => this.handleSearch(e.target.value), onKeyDown: (e) => {
352
352
  if (e.key === 'Enter')
353
353
  this.onKeyEnter.emit(e);
354
- } }), this.searchTerm && (h("button", { type: "button", class: "search-clear", onClick: () => this.handleSearch('') }, h("dropi-icon", { name: "Close", width: "14px", height: "14px", color: "Gray-Gray-400" })))))), this.isGrouped && this.filteredOptions.map(group => [
354
+ } }), this.searchTerm && (h("button", { type: "button", class: "search-clear", onClick: () => this.handleSearch('') }, h("dropi-icon", { name: "Close", iconWidth: "14px", iconHeight: "14px", color: "Gray-Gray-400" })))))), this.isGrouped && this.filteredOptions.map(group => [
355
355
  h("li", { class: "option-group-title" }, group.category),
356
- ...group.options.map(opt => (h("li", { key: opt.id }, h("button", { type: "button", class: { option: true, 'option-group': true, 'disabled-option': !!opt.disabled }, disabled: opt.disabled, onClick: () => this.selectOption(opt) }, opt.preIcon && h("dropi-icon", { name: opt.preIcon, width: "20px", height: "20px", color: "Gray-Gray-500" }), h("span", { class: "elipsis" }, opt.label))))),
356
+ ...group.options.map(opt => (h("li", { key: opt.id }, h("button", { type: "button", class: { option: true, 'option-group': true, 'disabled-option': !!opt.disabled }, disabled: opt.disabled, onClick: () => this.selectOption(opt) }, opt.preIcon && h("dropi-icon", { name: opt.preIcon, iconWidth: "20px", iconHeight: "20px", color: "Gray-Gray-500" }), h("span", { class: "elipsis" }, opt.label))))),
357
357
  ]), !this.isGrouped && this.filteredOptions.map(opt => this.renderOption(opt)), this.filteredOptions.length === 0 && (h("li", { class: "no-results" }, "Sin resultados"))));
358
358
  }
359
359
  render() {
360
- return (h("div", { key: '932cad965441a784f51d6b82ffc5a100cf438fb6', class: "custom-select" }, !this.dropdownType && this.label && (h("label", { key: '1c46242dcbd7862b32a36e2132bc4689b3c95aab', class: { 'disabled-label': this.disabled } }, this.label, this.showObligatory && !this.disabled && h("span", { key: '79e2df6ae0a55c4e51ff7354486903d58bdb7d36', class: "asterisk" }, " *"))), h("div", { key: 'd4a48dcc513b5ae7171598709b0d00c3ffd7f42b', class: "dropdown-container" }, this.dropdownType && this.label && (h("div", { key: 'f9d8b6f87dcc8438c00ec04edabe10ebb2cceb79', class: "left-label" }, this.label)), this.renderTrigger()), this.textHelper && !this.hasError && (h("div", { key: 'e8cc2e4ccb3a5919fe30411003153bfe6434b0d0', class: "select-helper" }, h("span", { key: '2fe857a4efac70882ec58835534bb22739c4fb26' }, this.textHelper))), this.hasError && this.errorText && (h("div", { key: 'e357992bf4a391052fe3a8444b24777292f71bf0', class: "select-helper-error" }, h("dropi-icon", { key: '9a32ef1f5ae2ccf18996bdc451e5de4e2c923a0a', name: "Warning-circle", width: "12px", height: "12px", color: "Error-Error-500" }), h("span", { key: '919259f76022b34162f680234a3c1cf93492666b' }, this.errorText))), this.renderDropdown()));
360
+ return (h("div", { key: '9f5397dca313ba676a5a038f89ded457c324ac7a', class: "custom-select" }, !this.dropdownType && this.label && (h("label", { key: '5924d81286019ca01ca5eda924078e64db5ead66', class: { 'disabled-label': this.disabled } }, this.label, this.showObligatory && !this.disabled && h("span", { key: '1565c47c081c8fb497185417aa46559f3754db89', class: "asterisk" }, " *"))), h("div", { key: '6be308aeafb7a4a2da302db925ccc07e5eb27718', class: "dropdown-container" }, this.dropdownType && this.label && (h("div", { key: 'a2ea9c5e67274181c5bc020c990281ac425b489b', class: "left-label" }, this.label)), this.renderTrigger()), this.textHelper && !this.hasError && (h("div", { key: 'a13ebbf9fe6e975724b2441f5c1c71b18dacf128', class: "select-helper" }, h("span", { key: '55f2369bc0a8c156454b4c29a323f98bd13321fb' }, this.textHelper))), this.hasError && this.errorText && (h("div", { key: 'bc5dc3394916459576798d5f1db4126992b30d58', class: "select-helper-error" }, h("dropi-icon", { key: '12bcece304d9de3cc807921ba69af29b9b763fc9', name: "Warning-circle", iconWidth: "12px", iconHeight: "12px", color: "Error-Error-500" }), h("span", { key: 'c221b88fde03aa2d66ce212272ff999f2ba5a9ad' }, this.errorText))), this.renderDropdown()));
361
361
  }
362
362
  static get formAssociated() { return true; }
363
363
  static get watchers() { return {
@@ -51,10 +51,10 @@ const DropiSidebar = class {
51
51
  'sidebar-option': true,
52
52
  'sidebar-active-option': !!item.active,
53
53
  'sidebar-default-option': !item.active
54
- }, onClick: () => this.onItemClick(item) }, h("dropi-icon", { name: item.icon || 'Cube', width: "20px", height: "20px", color: item.active ? 'Primary-Primary-500' : 'Gray-Gray-500' }), h("span", null, item.text), item.subItems && item.subItems.length > 0 && (h("dropi-icon", { class: {
54
+ }, onClick: () => this.onItemClick(item) }, h("dropi-icon", { name: item.icon || 'Cube', iconWidth: "20px", iconHeight: "20px", color: item.active ? 'Primary-Primary-500' : 'Gray-Gray-500' }), h("span", null, item.text), item.subItems && item.subItems.length > 0 && (h("dropi-icon", { class: {
55
55
  'arrow': true,
56
56
  'arrow-expanded': !!item.expandedMenu
57
- }, name: "Dropdown-down", width: "20px", height: "20px", color: item.active ? 'Primary-Primary-500' : 'Gray-Gray-500' }))),
57
+ }, name: "Dropdown-down", iconWidth: "20px", iconHeight: "20px", color: item.active ? 'Primary-Primary-500' : 'Gray-Gray-500' }))),
58
58
  /* SubItems Renderizados al mismo nivel DOM que instruye Angular ng-container */
59
59
  item.subItems && item.subItems.length > 0 && (item.subItems.map(subOption => (h("div", { class: {
60
60
  'sidebar-sub-item': true,
@@ -41,7 +41,7 @@ const DropiSteps = class {
41
41
  const state = this.stepState(step);
42
42
  const label = labels[step - 1];
43
43
  const isLast = step === this.stepsCount;
44
- return (h("div", { class: "stepper__step", key: step }, h("div", { class: "stepper__circle-wrap" }, h("div", { class: { 'stepper__circle': true, [`stepper__circle--${state}`]: true } }, state === 'completed' ? (h("dropi-icon", { name: "Check", width: "12px", height: "12px", color: "Neutral-White" })) : (this.showNumberOfStep ? h("span", null, step) : null)), !isLast && h("div", { class: { 'stepper__line': true, 'stepper__line--done': state === 'completed' } })), label && (h("div", { class: "stepper__label" }, label.title && h("span", { class: "stepper__title" }, label.title), label.description && h("span", { class: "stepper__desc" }, label.description)))));
44
+ return (h("div", { class: "stepper__step", key: step }, h("div", { class: "stepper__circle-wrap" }, h("div", { class: { 'stepper__circle': true, [`stepper__circle--${state}`]: true } }, state === 'completed' ? (h("dropi-icon", { name: "Check", iconWidth: "12px", iconHeight: "12px", color: "Neutral-White" })) : (this.showNumberOfStep ? h("span", null, step) : null)), !isLast && h("div", { class: { 'stepper__line': true, 'stepper__line--done': state === 'completed' } })), label && (h("div", { class: "stepper__label" }, label.title && h("span", { class: "stepper__title" }, label.title), label.description && h("span", { class: "stepper__desc" }, label.description)))));
45
45
  })));
46
46
  }
47
47
  };
@@ -31,7 +31,7 @@ const DropiTable = class {
31
31
  /** Empty state message */
32
32
  emptyMessage = 'No hay datos disponibles';
33
33
  /** Table title */
34
- title = '';
34
+ tableTitle = '';
35
35
  /** Show search input */
36
36
  showSearch = false;
37
37
  /** Show column selector button */
@@ -224,7 +224,7 @@ const DropiTable = class {
224
224
  case 'country':
225
225
  return (h("div", { class: "flag-container" }, value.flag && h("dropi-country-flags", { width: "24", height: "24", country: value.flag, style: { display: 'inline-flex' } }), h("span", null, value.value)));
226
226
  case 'textIcon':
227
- return (h("div", { class: "text-icon-label" }, h("dropi-icon", { name: value.icon, width: "24px", height: "24px", color: value.iconColor || 'Gray-Gray-500' }), value.value && h("span", null, value.value)));
227
+ return (h("div", { class: "text-icon-label" }, h("dropi-icon", { name: value.icon, iconWidth: "24px", iconHeight: "24px", color: value.iconColor || 'Gray-Gray-500' }), value.value && h("span", null, value.value)));
228
228
  case 'status':
229
229
  return (h("div", { class: "status-label" }, h("div", { class: "status-dot" }, h("div", { class: `dot dot-${(value.status || '').toLowerCase()}` }), h("span", { class: "status-text" }, value.status)), value.value && h("span", { class: "status-description" }, value.value)));
230
230
  case 'image':
@@ -245,11 +245,11 @@ const DropiTable = class {
245
245
  const allSelected = rows.length > 0 && this.selectedKeys.size === rows.length;
246
246
  const hasActions = this.parsedRowActions.length > 0;
247
247
  const cols = this.visibleColumns;
248
- return (h("div", { class: "table-container" }, (this.showSearch || this.showColumnSelector || this.title) && (h("div", { class: "search-container" }, this.title && h("h3", { class: "table-title" }, this.title), h("div", { class: `search-actions${this.showSearch ? '' : ' only-filter'}` }, this.showSearch && (h("dropi-input", { placeholder: "Buscar", value: this.searchTerm, onOnInput: (e) => {
248
+ return (h("div", { class: "table-container" }, (this.showSearch || this.showColumnSelector || this.tableTitle) && (h("div", { class: "search-container" }, this.tableTitle && h("div", { class: "table-title Body-L-Bold" }, this.tableTitle), h("div", { class: `search-actions${this.showSearch ? '' : ' only-filter'}` }, this.showSearch && (h("dropi-input", { placeholder: "Buscar", value: this.searchTerm, onOnInput: (e) => {
249
249
  this.searchTerm = e.detail;
250
250
  this.dropiSearch.emit(e.detail);
251
251
  this.onSearchChange.emit(e.detail);
252
- } })), this.showColumnSelector && (h("div", { class: "table-tools" }, h("div", { class: "column-selector-container" }, h("button", { class: "column-selector-btn", onClick: () => this.showColumnMenu = !this.showColumnMenu }, h("dropi-icon", { name: "list-table", width: "20px", height: "20px", color: "Gray-Gray-500" })), this.showColumnMenu && (h("div", { class: "column-selector-menu" }, this.parsedColumns.map(col => (h("div", { class: "column-selector-option", onClick: () => {
252
+ } })), this.showColumnSelector && (h("div", { class: "table-tools" }, h("div", { class: "column-selector-container" }, h("button", { class: "column-selector-btn", onClick: () => this.showColumnMenu = !this.showColumnMenu }, h("dropi-icon", { name: "list-table", iconWidth: "20px", iconHeight: "20px", color: "Gray-Gray-500" })), this.showColumnMenu && (h("div", { class: "column-selector-menu" }, this.parsedColumns.map(col => (h("div", { class: "column-selector-option", onClick: () => {
253
253
  const next = new Set(this.hiddenColumns);
254
254
  if (next.has(col.key))
255
255
  next.delete(col.key);
@@ -260,7 +260,7 @@ const DropiTable = class {
260
260
  this.hiddenColumns = this.hiddenColumns.size === 0
261
261
  ? new Set(this.parsedColumns.map(c => c.key))
262
262
  : new Set();
263
- } }, h("dropi-checkbox", { checked: this.hiddenColumns.size === 0 }), h("span", null, "Mostrar / Ocultar todo"))))))))))), h("div", { class: `table-wrapper${hasActions ? ' has-sticky-actions' : ''}` }, h("table", { class: `custom-table${this.showCheckbox ? ' has-checkbox' : ''}` }, h("thead", null, h("tr", null, this.showCheckbox && (h("th", { class: "checkbox-header" }, h("dropi-checkbox", { checked: allSelected, onOnChange: (e) => this.toggleAll(e.detail) }))), cols.map(col => (h("th", { class: { sortable: !!col.sortable, 'low-opacity': !!col.disabledColumn, 'highlight-column': !!col.highlightColumn }, style: { textAlign: col.align || 'center', minWidth: col.minWidth, maxWidth: col.maxWidth }, onClick: () => this.handleSort(col) }, h("div", { class: `headers-container${col.align === 'left' ? ' align-left' : col.align === 'right' ? ' align-right' : ''}` }, h("div", { class: `headers${col.align === 'left' ? ' align-left' : col.align === 'right' ? ' align-right' : ''}` }, h("span", null, col.label), col.sortable && (h("div", { class: "order-icons" }, h("dropi-icon", { name: "Caret-up", width: "12px", height: "12px", color: this.sortAsc ? 'Gray-Gray-500' : 'Gray-Gray-200' }), h("dropi-icon", { name: "Caret-down", width: "12px", height: "12px", color: !this.sortAsc ? 'Gray-Gray-500' : 'Gray-Gray-200' })))))))), hasActions && h("th", { class: "actions-header actions" }, "Acciones"))), h("tbody", null, this.loading ? (Array.from({ length: 5 }).map(() => (h("tr", { class: "table-row" }, this.showCheckbox && h("td", null, h("div", { class: "skeleton skeleton--sm" })), cols.map(() => h("td", null, h("div", { class: "skeleton" }))), hasActions && h("td", null))))) : rows.length === 0 ? (h("tr", null, h("td", { colSpan: cols.length + (this.showCheckbox ? 1 : 0) + (hasActions ? 1 : 0) }, h("div", { class: "empty-table" }, h("div", { class: "empty-message-container" }, this.emptyMessage))))) : (rows.map((row, i) => (h("tr", { class: "table-row", onClick: () => this.dropiRowClick.emit({ row, index: i }) }, this.showCheckbox && (h("td", { onClick: (e) => e.stopPropagation() }, h("dropi-checkbox", { checked: this.selectedKeys.has(i), onOnChange: () => this.toggleRow(i) }))), cols.map(col => (h("td", { class: { 'low-opacity': !!col.disabledColumn, 'highlight-column': !!col.highlightColumn }, style: { minWidth: col.minWidth, maxWidth: col.maxWidth, overflow: col.maxWidth ? 'hidden' : undefined } }, h("div", { class: "cell-content", style: { textAlign: col.align || 'center' } }, this.renderCellValue(row[col.key]))))), hasActions && (h("td", { class: "action-button actions", onClick: (e) => e.stopPropagation() }, this.parsedRowActions.length > 3 ? (h("div", { style: { display: "flex", justifyContent: "center", width: "100%" } }, h("dropi-icon", { class: "action-icon", name: "Menu-dots-vertical", width: "24px", height: "24px", color: "Gray-Gray-500", onClick: () => this.openActionRow = this.openActionRow === i ? -1 : i }), this.openActionRow === i && (h("div", { class: "actions-menu" }, this.parsedRowActions.map(action => (h("div", { class: "action-item", onClick: () => { this.openActionRow = -1; this.dropiAction.emit({ row, action }); this.actionClicked.emit({ row, action }); } }, h("dropi-icon", { name: action.icon, width: "20px", height: "20px", color: action.iconColor || 'Gray-Gray-500' }), action.label))))))) : (h("div", { class: "short-actions" }, this.parsedRowActions.map(action => (h("dropi-icon", { class: "action-icon", name: action.icon, width: "24px", height: "24px", color: action.iconColor || 'Gray-Gray-500', onClick: () => { this.dropiAction.emit({ row, action }); this.actionClicked.emit({ row, action }); } })))))))))))))), this.showPaginator && (h("div", { class: "pagination" }, h("div", { class: "page-size-selector" }, h("label", null, "Mostrar"), h("select", { onChange: (e) => {
263
+ } }, h("dropi-checkbox", { checked: this.hiddenColumns.size === 0 }), h("span", null, "Mostrar / Ocultar todo"))))))))))), h("div", { class: `table-wrapper${hasActions ? ' has-sticky-actions' : ''}` }, h("table", { class: `custom-table${this.showCheckbox ? ' has-checkbox' : ''}` }, h("thead", null, h("tr", null, this.showCheckbox && (h("th", { class: "checkbox-header" }, h("dropi-checkbox", { checked: allSelected, onOnChange: (e) => this.toggleAll(e.detail) }))), cols.map(col => (h("th", { class: { sortable: !!col.sortable, 'low-opacity': !!col.disabledColumn, 'highlight-column': !!col.highlightColumn }, style: { textAlign: col.align || 'center', minWidth: col.minWidth, maxWidth: col.maxWidth }, onClick: () => this.handleSort(col) }, h("div", { class: `headers-container${col.align === 'left' ? ' align-left' : col.align === 'right' ? ' align-right' : ''}` }, h("div", { class: `headers${col.align === 'left' ? ' align-left' : col.align === 'right' ? ' align-right' : ''}` }, h("span", null, col.label), col.sortable && (h("div", { class: "order-icons" }, h("dropi-icon", { name: "Caret-up", iconWidth: "12px", iconHeight: "12px", color: this.sortAsc ? 'Gray-Gray-500' : 'Gray-Gray-200' }), h("dropi-icon", { name: "Caret-down", iconWidth: "12px", iconHeight: "12px", color: !this.sortAsc ? 'Gray-Gray-500' : 'Gray-Gray-200' })))))))), hasActions && h("th", { class: "actions-header actions" }, "Acciones"))), h("tbody", null, this.loading ? (Array.from({ length: 5 }).map(() => (h("tr", { class: "table-row" }, this.showCheckbox && h("td", null, h("div", { class: "skeleton skeleton--sm" })), cols.map(() => h("td", null, h("div", { class: "skeleton" }))), hasActions && h("td", null))))) : rows.length === 0 ? (h("tr", null, h("td", { colSpan: cols.length + (this.showCheckbox ? 1 : 0) + (hasActions ? 1 : 0) }, h("div", { class: "empty-table" }, h("div", { class: "empty-message-container" }, this.emptyMessage))))) : (rows.map((row, i) => (h("tr", { class: "table-row", onClick: () => this.dropiRowClick.emit({ row, index: i }) }, this.showCheckbox && (h("td", { onClick: (e) => e.stopPropagation() }, h("dropi-checkbox", { checked: this.selectedKeys.has(i), onOnChange: () => this.toggleRow(i) }))), cols.map(col => (h("td", { class: { 'low-opacity': !!col.disabledColumn, 'highlight-column': !!col.highlightColumn }, style: { minWidth: col.minWidth, maxWidth: col.maxWidth, overflow: col.maxWidth ? 'hidden' : undefined } }, h("div", { class: "cell-content", style: { textAlign: col.align || 'center' } }, this.renderCellValue(row[col.key]))))), hasActions && (h("td", { class: "action-button actions", onClick: (e) => e.stopPropagation() }, this.parsedRowActions.length > 3 ? (h("div", { style: { display: "flex", justifyContent: "center", width: "100%" } }, h("dropi-icon", { class: "action-icon", name: "Menu-dots-vertical", iconWidth: "24px", iconHeight: "24px", color: "Gray-Gray-500", onClick: () => this.openActionRow = this.openActionRow === i ? -1 : i }), this.openActionRow === i && (h("div", { class: "actions-menu" }, this.parsedRowActions.map(action => (h("div", { class: "action-item", onClick: () => { this.openActionRow = -1; this.dropiAction.emit({ row, action }); this.actionClicked.emit({ row, action }); } }, h("dropi-icon", { name: action.icon, iconWidth: "20px", iconHeight: "20px", color: action.iconColor || 'Gray-Gray-500' }), action.label))))))) : (h("div", { class: "short-actions" }, this.parsedRowActions.map(action => (h("dropi-icon", { class: "action-icon", name: action.icon, iconWidth: "24px", iconHeight: "24px", color: action.iconColor || 'Gray-Gray-500', onClick: () => { this.dropiAction.emit({ row, action }); this.actionClicked.emit({ row, action }); } })))))))))))))), this.showPaginator && (h("div", { class: "pagination" }, h("div", { class: "page-size-selector" }, h("label", null, "Mostrar"), h("select", { onChange: (e) => {
264
264
  this.pageSize = Number(e.target.value);
265
265
  this.currentPage = 1;
266
266
  this.dropiPageSizeChange.emit(this.pageSize);
@@ -34,7 +34,7 @@ const DropiTabs = class {
34
34
  return (h("div", { key: '337040015b29581ebb15ac347bb62220ed0a2d4d', class: "tabs-container", role: "tablist" }, this.parsedTabs.map(tab => {
35
35
  const isActive = tab.id === this.activeTab;
36
36
  return (h("div", { role: "tab", "aria-selected": String(isActive), class: { 'tab-item': true, 'tab-item--active': isActive && !tab.disabled, 'tab-item--disabled': !!tab.disabled }, onClick: () => this.handleClick(tab) }, h("span", { class: "tab-label-row" }, h("span", { class: "tab-label" }, tab.label), tab.counter !== undefined && tab.counter !== null && (h("span", { class: { 'tab-counter': true, 'tab-counter--active': isActive } }, tab.counter))), this.showIcon && (tab.completed
37
- ? h("dropi-icon", { name: "Check-circle", width: "12px", height: "12px", color: "Success-Success-500" })
37
+ ? h("dropi-icon", { name: "Check-circle", iconWidth: "12px", iconHeight: "12px", color: "Success-Success-500" })
38
38
  : h("span", { class: "tab-status-dot" }))));
39
39
  })));
40
40
  }
@@ -115,7 +115,7 @@ const DropiTextArea = class {
115
115
  'Body-M-Regular': true,
116
116
  'form-control-valid': !this.isInvalid && this.touched && !!this.value,
117
117
  'form-control-invalid': this.isInvalid,
118
- }, rows: this.rows, placeholder: this.placeholder, maxLength: this.maxLength, minLength: this.minLength, disabled: this.disabled, required: this.required, style: { resize: this.resize }, onInput: (e) => this.handleInput(e), onFocus: () => this.dropiFocus.emit(), onBlur: () => this.handleBlur() }, this.value), this.maxLength > 0 && (h("div", { key: 'e3271eeea7e85a64454c344986e36c85197f3782', class: "char-counter" }, this.charCount, "/", this.maxLength))), showHelper && (h("div", { key: 'c4b83072b96e56b45b6afc8209f4d124cb6d6bf3', class: "form-control-helper" }, this.isInvalid && (h("dropi-icon", { key: '98aef0a346f1ca3fe33cf9f2e6519f61aa787374', name: "Warning-circle", width: "12px", height: "12px", color: "Error-Error-500" })), h("span", { key: 'f820d6043b390dc22d1b7ee1ee58dfd9a3fcd333', class: { 'invalid-color': this.isInvalid }, style: { color: this.disabled ? 'var(--Gray-Gray-400)' : undefined } }, this.textHelper)))));
118
+ }, rows: this.rows, placeholder: this.placeholder, maxLength: this.maxLength, minLength: this.minLength, disabled: this.disabled, required: this.required, style: { resize: this.resize }, onInput: (e) => this.handleInput(e), onFocus: () => this.dropiFocus.emit(), onBlur: () => this.handleBlur() }, this.value), this.maxLength > 0 && (h("div", { key: 'e3271eeea7e85a64454c344986e36c85197f3782', class: "char-counter" }, this.charCount, "/", this.maxLength))), showHelper && (h("div", { key: 'c4b83072b96e56b45b6afc8209f4d124cb6d6bf3', class: "form-control-helper" }, this.isInvalid && (h("dropi-icon", { key: '07a2884a516118f3169a0427701a2271d24f2bcc', name: "Warning-circle", iconWidth: "12px", iconHeight: "12px", color: "Error-Error-500" })), h("span", { key: 'a518a81fdba8df18083ef92a1dbc9936d3fcc17d', class: { 'invalid-color': this.isInvalid }, style: { color: this.disabled ? 'var(--Gray-Gray-400)' : undefined } }, this.textHelper)))));
119
119
  }
120
120
  static get formAssociated() { return true; }
121
121
  static get watchers() { return {
@@ -23,7 +23,7 @@ const DropiTimeLine = class {
23
23
  const steps = this.parsedSteps;
24
24
  return (h("div", { key: '0b43d3e673cda6f31476abcbc55ef2b6b9dbd7ac', class: "timeline" }, steps.map((step, i) => {
25
25
  const isLast = i === steps.length - 1;
26
- return (h("div", { class: { 'tl-step': true, [`tl-step--${step.status}`]: true }, key: step.id || i }, h("div", { class: "tl-step__marker" }, h("div", { class: "tl-step__icon" }, step.icon ? (h("dropi-icon", { name: step.icon, width: "16px", height: "16px", color: step.status === 'done' ? 'Neutral-White' : step.status === 'active' ? 'Primary-Primary-500' : 'Gray-Gray-400' })) : (h("span", { class: "tl-step__dot" }))), !isLast && h("div", { class: "tl-step__line" })), h("div", { class: "tl-step__content" }, h("span", { class: "tl-step__label" }, step.label), step.subtitle && h("span", { class: "tl-step__subtitle" }, step.subtitle))));
26
+ return (h("div", { class: { 'tl-step': true, [`tl-step--${step.status}`]: true }, key: step.id || i }, h("div", { class: "tl-step__marker" }, h("div", { class: "tl-step__icon" }, step.icon ? (h("dropi-icon", { name: step.icon, iconWidth: "16px", iconHeight: "16px", color: step.status === 'done' ? 'Neutral-White' : step.status === 'active' ? 'Primary-Primary-500' : 'Gray-Gray-400' })) : (h("span", { class: "tl-step__dot" }))), !isLast && h("div", { class: "tl-step__line" })), h("div", { class: "tl-step__content" }, h("span", { class: "tl-step__label" }, step.label), step.subtitle && h("span", { class: "tl-step__subtitle" }, step.subtitle))));
27
27
  })));
28
28
  }
29
29
  };
@@ -46,7 +46,7 @@ const DropiToast = class {
46
46
  return `<lottie-player src="${this.lottieMap[severity]}" background="transparent" speed="1" loop autoplay></lottie-player>`;
47
47
  }
48
48
  render() {
49
- return (h("div", { key: '0ad8903921fd1bd773d206029bcc4e12e8b21349', class: `toast-container toast-container--${this.position}` }, (this.items ?? []).map(item => (h("div", { key: item.msg.id, class: { 'toast-wrapper': true, 'toast-wrapper--leaving': item.leaving } }, h("div", { class: `toast toast--${item.msg.severity}` }, h("div", { class: "toast-content" }, h("div", { class: "lottie-img" }, h("div", { class: "lottie-player-container", innerHTML: this.getLottieHtml(item.msg.severity) })), h("div", { class: "info-container" }, h("p", { class: "title" }, item.msg.summary), item.msg.detail && h("p", { class: "description" }, item.msg.detail))), item.msg.closable && (h("button", { class: "toast-close", onClick: () => this.remove(item.msg.id) }, h("dropi-icon", { name: "Close-small", width: "20px", height: "20px", color: "Gray-Gray-400" })))))))));
49
+ return (h("div", { key: '0ad8903921fd1bd773d206029bcc4e12e8b21349', class: `toast-container toast-container--${this.position}` }, (this.items ?? []).map(item => (h("div", { key: item.msg.id, class: { 'toast-wrapper': true, 'toast-wrapper--leaving': item.leaving } }, h("div", { class: `toast toast--${item.msg.severity}` }, h("div", { class: "toast-content" }, h("div", { class: "lottie-img" }, h("div", { class: "lottie-player-container", innerHTML: this.getLottieHtml(item.msg.severity) })), h("div", { class: "info-container" }, h("p", { class: "title" }, item.msg.summary), item.msg.detail && h("p", { class: "description" }, item.msg.detail))), item.msg.closable && (h("button", { class: "toast-close", onClick: () => this.remove(item.msg.id) }, h("dropi-icon", { name: "Close-small", iconWidth: "20px", iconHeight: "20px", color: "Gray-Gray-400" })))))))));
50
50
  }
51
51
  };
52
52
  DropiToast.style = dropiToastCss();
@@ -116,12 +116,12 @@ const DropiTooltipV2 = class {
116
116
  const bubbleStyle = { maxWidth: this.maxWidth };
117
117
  if (this.minWidth)
118
118
  bubbleStyle.minWidth = this.minWidth;
119
- return (h("div", { key: '85f49bcb2af567a8fb70cd92afab893a2e0bf567', class: "tooltip-wrapper", onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onClick: this.handleClick, onFocusin: this.handleFocusin, onFocusout: this.handleFocusout }, this.showIcon && (h("dropi-icon", { key: 'f40ebe0c12bdfa251cbe6086f7ea432aed0124fa', name: this.iconName, width: `${this.iconSize}px`, height: `${this.iconSize}px`, color: this.iconColor })), h("slot", { key: '77d2aa944f57cc5f858bbff97f88dfda6e71e088' }), this.displayContent && (h("div", { key: '4fcbbbf1a3b163ad2992efd8c8dfbef695f4f422', class: {
119
+ return (h("div", { key: '85f49bcb2af567a8fb70cd92afab893a2e0bf567', class: "tooltip-wrapper", onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onClick: this.handleClick, onFocusin: this.handleFocusin, onFocusout: this.handleFocusout }, this.showIcon && (h("dropi-icon", { key: '0ec2770a45d95e2dc655886d086f7f44c12fdda5', name: this.iconName, iconWidth: `${this.iconSize}px`, iconHeight: `${this.iconSize}px`, color: this.iconColor })), h("slot", { key: 'caeff259dfaecdd7757d85bee3e93b15d8b53173' }), this.displayContent && (h("div", { key: 'e1be3f25c37b978b79db639a245d1030e9de2d59', class: {
120
120
  'tooltip-bubble': true,
121
121
  [`tooltip-bubble--${this.position}`]: true,
122
122
  [`tooltip-bubble--arrow-${this.arrowPosition}`]: true,
123
123
  'tooltip-bubble--visible': this.visible,
124
- }, style: bubbleStyle, role: "tooltip" }, this.showX && (h("button", { key: '48428c1dcdd6c52f8a0b26641a016a00cf04444d', class: "tooltip-close", onClick: this.handleClose, "aria-label": "Cerrar" }, h("dropi-icon", { key: '6c870fc88739ba5e09c1f77eda783d21af476f98', name: "Close-small", width: "12px", height: "12px", color: "Gray-Gray-500" }))), this.title && !this.text && h("strong", { key: 'c501f266a5d3cc4250f9b205f8fa641c1f9be7ad', class: "tooltip-title" }, this.title), this.label && !this.text && h("span", { key: '6fb281665f9c84a7cb1f86bf8718da8ef5b95204', class: "tooltip-label" }, this.label), this.text && h("span", { key: '4d1a3445cb4b5361e8604404bfb970fc0e9ea289' }, this.text), h("span", { key: 'f7d0ac1b155d486c55cbeebc63cca32838e25811', class: `tooltip-arrow tooltip-arrow--${this.position}` })))));
124
+ }, style: bubbleStyle, role: "tooltip" }, this.showX && (h("button", { key: 'ba9f719b7066bb953a45b60f03fce20383c2eac5', class: "tooltip-close", onClick: this.handleClose, "aria-label": "Cerrar" }, h("dropi-icon", { key: '8660e8130e643393c9cd70846247ccae8e3ebf24', name: "Close-small", iconWidth: "12px", iconHeight: "12px", color: "Gray-Gray-500" }))), this.title && !this.text && h("strong", { key: '2d2a39d2d2a3993b62901497660a31193bcece12', class: "tooltip-title" }, this.title), this.label && !this.text && h("span", { key: 'b34e2e997629c5700b64a6ae527b71c44e8939f4', class: "tooltip-label" }, this.label), this.text && h("span", { key: '4cd22e60cce211b96cf8441a33dcd7afe5b88e40' }, this.text), h("span", { key: 'deb83c9f7c1a9cfbb3f68ec087cae81d0f64a56b', class: `tooltip-arrow tooltip-arrow--${this.position}` })))));
125
125
  }
126
126
  };
127
127
  DropiTooltipV2.style = dropiTooltipCss();