@dropi/ui 0.1.51 → 0.1.52

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 (289) hide show
  1. package/dist/cjs/dropi-date-picker-range.cjs.entry.js +92 -20
  2. package/dist/cjs/dropi-date-picker.cjs.entry.js +140 -55
  3. package/dist/cjs/dropi-drawer.cjs.entry.js +2 -2
  4. package/dist/cjs/dropi-empty-state.cjs.entry.js +1 -1
  5. package/dist/cjs/dropi-favorite-button.cjs.entry.js +1 -1
  6. package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +1 -1
  7. package/dist/cjs/dropi-file-upload.cjs.entry.js +1 -1
  8. package/dist/cjs/dropi-image-miniature.cjs.entry.js +1 -1
  9. package/dist/cjs/dropi-input_3.cjs.entry.js +2 -2
  10. package/dist/cjs/dropi-logo.cjs.entry.js +1 -1
  11. package/dist/cjs/dropi-navbar.cjs.entry.js +2 -2
  12. package/dist/cjs/dropi-otp-send-code.cjs.entry.js +2 -2
  13. package/dist/cjs/dropi-phone-input.cjs.entry.js +2 -2
  14. package/dist/cjs/dropi-progress-bar.cjs.entry.js +1 -1
  15. package/dist/cjs/dropi-radio-button.cjs.entry.js +1 -1
  16. package/dist/cjs/dropi-read-more.cjs.entry.js +1 -1
  17. package/dist/cjs/dropi-select.cjs.entry.js +1 -1
  18. package/dist/cjs/dropi-switch.cjs.entry.js +1 -1
  19. package/dist/cjs/dropi-tag-type-product.cjs.entry.js +1 -1
  20. package/dist/cjs/dropi-tooltip.cjs.entry.js +1 -1
  21. package/dist/cjs/dropi-ui.cjs.js +1 -1
  22. package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +1 -1
  23. package/dist/cjs/loader.cjs.js +1 -1
  24. package/dist/collection/components/dropi-date-picker/dropi-date-picker.css +119 -72
  25. package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +169 -62
  26. package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.css +60 -4
  27. package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.js +96 -23
  28. package/dist/collection/components/dropi-drawer/dropi-drawer.js +2 -2
  29. package/dist/collection/components/dropi-empty-state/dropi-empty-state.js +1 -1
  30. package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.js +1 -1
  31. package/dist/collection/components/dropi-file-upload/dropi-file-upload.js +1 -1
  32. package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.js +1 -1
  33. package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +1 -1
  34. package/dist/collection/components/dropi-logo/dropi-logo.js +1 -1
  35. package/dist/collection/components/dropi-navbar/dropi-navbar.js +2 -2
  36. package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +2 -2
  37. package/dist/collection/components/dropi-paginator/dropi-paginator.js +2 -2
  38. package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +2 -2
  39. package/dist/collection/components/dropi-progress-bar/dropi-progress-bar.js +1 -1
  40. package/dist/collection/components/dropi-radio-button/dropi-radio-button.js +1 -1
  41. package/dist/collection/components/dropi-read-more/dropi-read-more.js +1 -1
  42. package/dist/collection/components/dropi-select/dropi-select.js +1 -1
  43. package/dist/collection/components/dropi-switch/dropi-switch.js +1 -1
  44. package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.js +1 -1
  45. package/dist/collection/components/dropi-tooltip/dropi-tooltip.js +1 -1
  46. package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.js +1 -1
  47. package/dist/components/dropi-card-section.js +1 -1
  48. package/dist/components/dropi-date-picker-range.js +1 -1
  49. package/dist/components/dropi-date-picker.js +1 -1
  50. package/dist/components/dropi-drawer.js +1 -1
  51. package/dist/components/dropi-empty-state.js +1 -1
  52. package/dist/components/dropi-favorite-button.js +1 -1
  53. package/dist/components/dropi-file-upload-progress-bar.js +1 -1
  54. package/dist/components/dropi-file-upload.js +1 -1
  55. package/dist/components/dropi-image-miniature.js +1 -1
  56. package/dist/components/dropi-logo.js +1 -1
  57. package/dist/components/dropi-navbar.js +1 -1
  58. package/dist/components/dropi-otp-send-code.js +1 -1
  59. package/dist/components/dropi-paginator.js +1 -1
  60. package/dist/components/dropi-phone-input.js +1 -1
  61. package/dist/components/dropi-progress-bar.js +1 -1
  62. package/dist/components/dropi-radio-button.js +1 -1
  63. package/dist/components/dropi-read-more.js +1 -1
  64. package/dist/components/dropi-select.js +1 -1
  65. package/dist/components/dropi-switch.js +1 -1
  66. package/dist/components/dropi-table.js +1 -1
  67. package/dist/components/dropi-tag-type-product.js +1 -1
  68. package/dist/components/dropi-tooltip.js +1 -1
  69. package/dist/components/dropi-youtube-lazy-video.js +1 -1
  70. package/dist/components/p-34gP610W.js +1 -0
  71. package/dist/components/p-BfQEGsBq.js +1 -0
  72. package/dist/components/p-BieZ2Zwa.js +1 -0
  73. package/dist/components/p-Ckpdx21D.js +1 -0
  74. package/dist/components/p-CqTImUhL.js +1 -0
  75. package/dist/components/p-D76mTEoh.js +1 -0
  76. package/dist/components/p-DdM0zO53.js +1 -0
  77. package/dist/components/p-eusoHxve.js +1 -0
  78. package/dist/docs.json +40 -11
  79. package/dist/dropi-ui/dropi-accordion-item.entry.js +1 -1
  80. package/dist/dropi-ui/dropi-accordion.entry.js +1 -1
  81. package/dist/dropi-ui/dropi-alert-legacy.entry.js +1 -1
  82. package/dist/dropi-ui/dropi-alert-modal.entry.js +15 -9
  83. package/dist/dropi-ui/dropi-alert-modal.entry.js.map +1 -1
  84. package/dist/dropi-ui/dropi-alert.entry.js +1 -1
  85. package/dist/dropi-ui/dropi-avatars.entry.js +1 -1
  86. package/dist/dropi-ui/dropi-badge-legacy.entry.js +1 -1
  87. package/dist/dropi-ui/dropi-badge.entry.js +1 -1
  88. package/dist/dropi-ui/dropi-banner-external.entry.js +1 -1
  89. package/dist/dropi-ui/dropi-breadcrumb.entry.js +1 -1
  90. package/dist/dropi-ui/dropi-button.entry.js +1 -1
  91. package/dist/dropi-ui/dropi-card-checkbox.entry.js +2 -2
  92. package/dist/dropi-ui/dropi-card-checkbox.entry.js.map +1 -1
  93. package/dist/dropi-ui/dropi-card-product.entry.js +1 -1
  94. package/dist/dropi-ui/dropi-card-section.entry.js +2 -2
  95. package/dist/dropi-ui/dropi-card-section.entry.js.map +1 -1
  96. package/dist/dropi-ui/dropi-carousel.entry.js +1 -1
  97. package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js +2 -2
  98. package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js.map +1 -1
  99. package/dist/dropi-ui/dropi-checkbox.entry.js +4 -4
  100. package/dist/dropi-ui/dropi-checkbox.entry.js.map +1 -1
  101. package/dist/dropi-ui/dropi-chips.entry.js +1 -1
  102. package/dist/dropi-ui/dropi-city-selector.entry.js +1 -1
  103. package/dist/dropi-ui/dropi-color-picker.entry.js +1 -1
  104. package/dist/dropi-ui/dropi-country-flags.entry.js +1 -1
  105. package/dist/dropi-ui/dropi-country-selector.entry.js +4 -4
  106. package/dist/dropi-ui/dropi-country-selector.entry.js.map +1 -1
  107. package/dist/dropi-ui/dropi-date-picker-range.entry.js +211 -32
  108. package/dist/dropi-ui/dropi-date-picker-range.entry.js.map +1 -1
  109. package/dist/dropi-ui/dropi-date-picker.entry.js +104 -57
  110. package/dist/dropi-ui/dropi-date-picker.entry.js.map +1 -1
  111. package/dist/dropi-ui/dropi-drawer.entry.js +3 -3
  112. package/dist/dropi-ui/dropi-dropdown.entry.js +2 -2
  113. package/dist/dropi-ui/dropi-dropdown.entry.js.map +1 -1
  114. package/dist/dropi-ui/dropi-empty-state.entry.js +88 -11
  115. package/dist/dropi-ui/dropi-empty-state.entry.js.map +1 -1
  116. package/dist/dropi-ui/dropi-favorite-button.entry.js +2 -2
  117. package/dist/dropi-ui/dropi-file-upload-progress-bar.entry.js +2 -2
  118. package/dist/dropi-ui/dropi-file-upload.entry.js +2 -2
  119. package/dist/dropi-ui/dropi-icon.entry.js +295 -24
  120. package/dist/dropi-ui/dropi-icon.entry.js.map +1 -1
  121. package/dist/dropi-ui/dropi-ilustration-icon.entry.js +11 -7
  122. package/dist/dropi-ui/dropi-ilustration-icon.entry.js.map +1 -1
  123. package/dist/dropi-ui/dropi-image-miniature.entry.js +2 -2
  124. package/dist/dropi-ui/dropi-image-overlay.entry.js +1 -1
  125. package/dist/dropi-ui/dropi-input.entry.js +8 -6
  126. package/dist/dropi-ui/dropi-input.entry.js.map +1 -1
  127. package/dist/dropi-ui/dropi-languages-selector.entry.js +1 -1
  128. package/dist/dropi-ui/dropi-logo.entry.js +2 -2
  129. package/dist/dropi-ui/dropi-lottie-loader.entry.js +2 -2
  130. package/dist/dropi-ui/dropi-lottie-loader.entry.js.map +1 -1
  131. package/dist/dropi-ui/dropi-media-player.entry.js +1 -1
  132. package/dist/dropi-ui/dropi-modal.entry.js +1 -1
  133. package/dist/dropi-ui/dropi-navbar.entry.js +3 -3
  134. package/dist/dropi-ui/dropi-otp-send-code.entry.js +4 -4
  135. package/dist/dropi-ui/dropi-otp-send-code.entry.js.map +1 -1
  136. package/dist/dropi-ui/dropi-paginator.entry.js +3 -3
  137. package/dist/dropi-ui/dropi-phone-input.entry.js +4 -4
  138. package/dist/dropi-ui/dropi-phone-input.entry.js.map +1 -1
  139. package/dist/dropi-ui/dropi-progress-bar.entry.js +2 -2
  140. package/dist/dropi-ui/dropi-radio-button.entry.js +4 -4
  141. package/dist/dropi-ui/dropi-radio-button.entry.js.map +1 -1
  142. package/dist/dropi-ui/dropi-radio-selection-list.entry.js +1 -1
  143. package/dist/dropi-ui/dropi-read-more.entry.js +2 -2
  144. package/dist/dropi-ui/dropi-search.entry.js +2 -2
  145. package/dist/dropi-ui/dropi-search.entry.js.map +1 -1
  146. package/dist/dropi-ui/dropi-select.entry.js +3 -3
  147. package/dist/dropi-ui/dropi-select.entry.js.map +1 -1
  148. package/dist/dropi-ui/dropi-sidebar.entry.js +1 -1
  149. package/dist/dropi-ui/dropi-simple-stepper.entry.js +1 -1
  150. package/dist/dropi-ui/dropi-skeleton.entry.js +1 -1
  151. package/dist/dropi-ui/dropi-steps.entry.js +1 -1
  152. package/dist/dropi-ui/dropi-switch.entry.js +3 -3
  153. package/dist/dropi-ui/dropi-switch.entry.js.map +1 -1
  154. package/dist/dropi-ui/dropi-table.entry.js +4 -4
  155. package/dist/dropi-ui/dropi-table.entry.js.map +1 -1
  156. package/dist/dropi-ui/dropi-tabs.entry.js +1 -1
  157. package/dist/dropi-ui/dropi-tag-type-product.entry.js +2 -2
  158. package/dist/dropi-ui/dropi-tag.entry.js +1 -1
  159. package/dist/dropi-ui/dropi-text-area.entry.js +8 -8
  160. package/dist/dropi-ui/dropi-text-area.entry.js.map +1 -1
  161. package/dist/dropi-ui/dropi-time-line.entry.js +1 -1
  162. package/dist/dropi-ui/dropi-toast.entry.js +1 -1
  163. package/dist/dropi-ui/dropi-tooltip-v2.entry.js +1 -1
  164. package/dist/dropi-ui/dropi-tooltip.entry.js +2 -2
  165. package/dist/dropi-ui/dropi-ui.esm.js +1 -1
  166. package/dist/dropi-ui/dropi-ui.esm.js.map +1 -1
  167. package/dist/dropi-ui/dropi-vertical-steps.entry.js +1 -1
  168. package/dist/dropi-ui/dropi-youtube-lazy-video.entry.js +2 -2
  169. package/dist/dropi-ui/index-CPacpXAJ.js +4625 -0
  170. package/dist/dropi-ui/index-CPacpXAJ.js.map +1 -0
  171. package/dist/dropi-ui/p-0190a96b.entry.js +1 -0
  172. package/dist/dropi-ui/p-02e0f8cc.entry.js +1 -0
  173. package/dist/dropi-ui/p-0551c30a.entry.js +1 -0
  174. package/dist/dropi-ui/p-05541247.entry.js +1 -0
  175. package/dist/dropi-ui/p-07cc280c.entry.js +1 -0
  176. package/dist/dropi-ui/p-094ab555.entry.js +1 -0
  177. package/dist/dropi-ui/p-0d3cabe9.entry.js +1 -0
  178. package/dist/dropi-ui/p-0d8ff50d.entry.js +1 -0
  179. package/dist/dropi-ui/p-11833072.entry.js +1 -0
  180. package/dist/dropi-ui/p-119a353b.entry.js +1 -0
  181. package/dist/dropi-ui/p-13ae29ad.entry.js +1 -0
  182. package/dist/dropi-ui/p-149c92ba.entry.js +1 -0
  183. package/dist/dropi-ui/p-17133bc1.entry.js +1 -0
  184. package/dist/dropi-ui/p-181b2d76.entry.js +1 -0
  185. package/dist/dropi-ui/p-1976985d.entry.js +1 -0
  186. package/dist/dropi-ui/p-1a874d9f.entry.js +1 -0
  187. package/dist/dropi-ui/p-1cc30188.entry.js +1 -0
  188. package/dist/dropi-ui/p-267fda26.entry.js +1 -0
  189. package/dist/dropi-ui/p-26c997a4.entry.js +1 -0
  190. package/dist/dropi-ui/p-280c5731.entry.js +1 -0
  191. package/dist/dropi-ui/p-287a3a81.entry.js +1 -0
  192. package/dist/dropi-ui/p-29e4dacf.entry.js +1 -0
  193. package/dist/dropi-ui/p-2af47f62.entry.js +1 -0
  194. package/dist/dropi-ui/p-2d1a6f05.entry.js +1 -0
  195. package/dist/dropi-ui/p-2f6b96de.entry.js +1 -0
  196. package/dist/dropi-ui/p-32512758.entry.js +1 -0
  197. package/dist/dropi-ui/p-32c71a16.entry.js +1 -0
  198. package/dist/dropi-ui/p-34f2e28d.entry.js +1 -0
  199. package/dist/dropi-ui/p-3769ad78.entry.js +1 -0
  200. package/dist/dropi-ui/p-3a9cd930.entry.js +1 -0
  201. package/dist/dropi-ui/p-3b1bb32e.entry.js +1 -0
  202. package/dist/dropi-ui/p-4390c849.entry.js +1 -0
  203. package/dist/dropi-ui/p-492f9d36.entry.js +1 -0
  204. package/dist/dropi-ui/p-4f4b4a39.entry.js +1 -0
  205. package/dist/dropi-ui/p-51a44cdc.entry.js +1 -0
  206. package/dist/dropi-ui/p-59caf3ac.entry.js +1 -0
  207. package/dist/dropi-ui/p-5e0b54e3.entry.js +1 -0
  208. package/dist/dropi-ui/p-63356807.entry.js +1 -0
  209. package/dist/dropi-ui/p-64dd3db0.entry.js +1 -0
  210. package/dist/dropi-ui/p-65e31926.entry.js +1 -0
  211. package/dist/dropi-ui/p-66cf3dbe.entry.js +1 -0
  212. package/dist/dropi-ui/p-6a6171ba.entry.js +1 -0
  213. package/dist/dropi-ui/p-6aaf5a93.entry.js +1 -0
  214. package/dist/dropi-ui/p-6d9b61a9.entry.js +1 -0
  215. package/dist/dropi-ui/p-71ad00c8.entry.js +1 -0
  216. package/dist/dropi-ui/p-788b7388.entry.js +1 -0
  217. package/dist/dropi-ui/p-7a78e38d.entry.js +1 -0
  218. package/dist/dropi-ui/p-7a9628df.entry.js +1 -0
  219. package/dist/dropi-ui/p-7be214a0.entry.js +1 -0
  220. package/dist/dropi-ui/p-7ce74f7f.entry.js +1 -0
  221. package/dist/dropi-ui/p-7e0783d3.entry.js +1 -0
  222. package/dist/dropi-ui/p-7f6f757b.entry.js +1 -0
  223. package/dist/dropi-ui/p-7f85578a.entry.js +1 -0
  224. package/dist/dropi-ui/p-81e8b29e.entry.js +1 -0
  225. package/dist/dropi-ui/p-83fa5e18.entry.js +1 -0
  226. package/dist/dropi-ui/p-870846af.entry.js +1 -0
  227. package/dist/dropi-ui/p-87167578.entry.js +1 -0
  228. package/dist/dropi-ui/p-8adb80a4.entry.js +1 -0
  229. package/dist/dropi-ui/p-92879d0d.entry.js +1 -0
  230. package/dist/dropi-ui/p-964ba5de.entry.js +1 -0
  231. package/dist/dropi-ui/p-97de6718.entry.js +1 -0
  232. package/dist/dropi-ui/p-9b7810f9.entry.js +1 -0
  233. package/dist/dropi-ui/p-9bfd53be.entry.js +1 -0
  234. package/dist/dropi-ui/p-9c9c6274.entry.js +1 -0
  235. package/dist/dropi-ui/p-a0a87272.entry.js +1 -0
  236. package/dist/dropi-ui/p-a1471797.entry.js +1 -0
  237. package/dist/dropi-ui/p-a469a6d4.entry.js +1 -0
  238. package/dist/dropi-ui/p-ad7ea336.entry.js +1 -0
  239. package/dist/dropi-ui/p-b063716d.entry.js +1 -0
  240. package/dist/dropi-ui/p-b4e9dba6.entry.js +1 -0
  241. package/dist/dropi-ui/p-b66d88bf.entry.js +1 -0
  242. package/dist/dropi-ui/p-b801e55f.entry.js +1 -0
  243. package/dist/dropi-ui/p-bb6b09b7.entry.js +1 -0
  244. package/dist/dropi-ui/p-c6c40748.entry.js +1 -0
  245. package/dist/dropi-ui/p-c72650a6.entry.js +1 -0
  246. package/dist/dropi-ui/p-d104c97d.entry.js +1 -0
  247. package/dist/dropi-ui/p-d6ab011e.entry.js +1 -0
  248. package/dist/dropi-ui/p-d7d7b98b.entry.js +1 -0
  249. package/dist/dropi-ui/p-d9f7e521.entry.js +1 -0
  250. package/dist/dropi-ui/p-e0641dc8.entry.js +1 -0
  251. package/dist/dropi-ui/p-e0d43ef4.entry.js +1 -0
  252. package/dist/dropi-ui/p-e2413d09.entry.js +1 -0
  253. package/dist/dropi-ui/p-e3339048.entry.js +1 -0
  254. package/dist/dropi-ui/p-eac3194d.entry.js +1 -0
  255. package/dist/dropi-ui/p-eed4f130.entry.js +1 -0
  256. package/dist/dropi-ui/p-f03f0bf3.entry.js +1 -0
  257. package/dist/dropi-ui/p-f1457004.entry.js +1 -0
  258. package/dist/dropi-ui/p-f50b982c.entry.js +1 -0
  259. package/dist/dropi-ui/p-f87589c0.entry.js +1 -0
  260. package/dist/dropi-ui/p-fce82770.entry.js +1 -0
  261. package/dist/esm/dropi-date-picker-range.entry.js +92 -20
  262. package/dist/esm/dropi-date-picker.entry.js +140 -55
  263. package/dist/esm/dropi-drawer.entry.js +2 -2
  264. package/dist/esm/dropi-empty-state.entry.js +1 -1
  265. package/dist/esm/dropi-favorite-button.entry.js +1 -1
  266. package/dist/esm/dropi-file-upload-progress-bar.entry.js +1 -1
  267. package/dist/esm/dropi-file-upload.entry.js +1 -1
  268. package/dist/esm/dropi-image-miniature.entry.js +1 -1
  269. package/dist/esm/dropi-input_3.entry.js +2 -2
  270. package/dist/esm/dropi-logo.entry.js +1 -1
  271. package/dist/esm/dropi-navbar.entry.js +2 -2
  272. package/dist/esm/dropi-otp-send-code.entry.js +2 -2
  273. package/dist/esm/dropi-phone-input.entry.js +2 -2
  274. package/dist/esm/dropi-progress-bar.entry.js +1 -1
  275. package/dist/esm/dropi-radio-button.entry.js +1 -1
  276. package/dist/esm/dropi-read-more.entry.js +1 -1
  277. package/dist/esm/dropi-select.entry.js +1 -1
  278. package/dist/esm/dropi-switch.entry.js +1 -1
  279. package/dist/esm/dropi-tag-type-product.entry.js +1 -1
  280. package/dist/esm/dropi-tooltip.entry.js +1 -1
  281. package/dist/esm/dropi-ui.js +1 -1
  282. package/dist/esm/dropi-youtube-lazy-video.entry.js +1 -1
  283. package/dist/esm/loader.js +1 -1
  284. package/dist/types/components/dropi-date-picker/dropi-date-picker.d.ts +22 -9
  285. package/dist/types/components/dropi-date-picker-range/dropi-date-picker-range.d.ts +11 -5
  286. package/dist/types/components.d.ts +19 -26
  287. package/hydrate/index.js +262 -101
  288. package/hydrate/index.mjs +262 -101
  289. package/package.json +1 -1
package/hydrate/index.mjs CHANGED
@@ -7592,12 +7592,13 @@ class DropiCountrySelector {
7592
7592
  }; }
7593
7593
  }
7594
7594
 
7595
- const dropiDatePickerCss = () => `:host{display:block;width:100%;position:relative}*,*::before,*::after{box-sizing:border-box}.dp-label{display:block;font-size:var(--font-size-xxs, 10px);color:var(--Gray-Gray-600, #475066);margin-bottom:4px}.dp-trigger{width:100%;height:44px;display:flex;align-items:center;gap:var(--Size-2, 8px);padding:0 var(--Size-3, 12px);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #ffffff);cursor:pointer;font-family:inherit;transition:border-color 0.2s}.dp-trigger:hover:not(:disabled){border-color:var(--Info-Info-500, #50a5f1)}.dp-trigger--disabled{background:var(--Gray-Gray-50, #f7f8fa);cursor:not-allowed;opacity:0.6}.dp-trigger__value{flex:1;text-align:left;font-size:var(--font-size-xs, 12px);color:var(--Gray-Gray-700, #32394d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dp-trigger__placeholder{color:var(--Gray-Gray-400, #858ea6)}.dp-popup{position:absolute;top:calc(100% + 8px);left:0;width:320px;background:var(--Neutral-White, #ffffff);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-3, 12px);box-shadow:0 4px 16px rgba(0,0,0,0.08);z-index:300;padding:var(--Size-4, 16px)}.dp-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--Size-4, 16px)}.dp-nav__btn{background:none;border:none;padding:0;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center;width:32px;height:32px;transition:background 0.15s}.dp-nav__btn:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-nav__title{font-size:var(--font-size-s, 14px);font-weight:var(--font-weight-bold, 700);color:var(--Gray-Gray-700, #32394d);display:flex;gap:8px}.dp-grid{display:grid;grid-template-columns:repeat(7, 1fr);row-gap:8px;column-gap:4px}.dp-day-header{font-size:var(--font-size-s, 14px);color:var(--Gray-Gray-700, #32394d);text-align:center;padding:8px 0;font-weight:var(--font-weight-bold, 700)}.dp-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:var(--font-size-xs, 12px);font-family:inherit;border:none;cursor:pointer;background:transparent;color:var(--Gray-Gray-600, #475066);width:100%;position:relative;z-index:1;padding:0}.dp-cell::after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:50%;transition:all 0.2s;z-index:-1;background:transparent}.dp-cell::before{content:"";position:absolute;top:0;bottom:0;z-index:-2;border-radius:0;background:transparent}.dp-cell:hover:not(:disabled)::after{background:var(--Gray-Gray-100, #e6eaf2)}.dp-cell--other-month{color:var(--Gray-Gray-300, #a0a9c0)}.dp-cell--today{font-weight:var(--font-weight-bold, 700)}.dp-cell--today::after{background:var(--Gray-Gray-100, #e6eaf2)}.dp-cell--selected{color:var(--Neutral-White, #ffffff);font-weight:var(--font-weight-bold, 700)}.dp-cell--selected::after{background:var(--Orange-orange-500, #f49a3d) !important}.dp-cell--range-start,.dp-cell--range-end{color:var(--Neutral-White, #ffffff);font-weight:var(--font-weight-bold, 700)}.dp-cell--range-start::after,.dp-cell--range-end::after{background:var(--Orange-orange-500, #f49a3d) !important}.dp-cell--in-range{color:var(--Orange-orange-500, #f49a3d);font-weight:var(--font-weight-bold, 700)}.dp-cell--in-range::before{left:-2px;right:-2px;background:var(--Orange-orange-50, #fef5ec)}.dp-cell--range-start::before{left:50%;right:-2px;background:var(--Orange-orange-50, #fef5ec)}.dp-cell--range-end::before{left:-2px;right:50%;background:var(--Orange-orange-50, #fef5ec)}.dp-cell--range-start.dp-cell--range-end::before{background:transparent}.dp-cell--disabled{opacity:0.35;cursor:not-allowed}.dp-footer{display:flex;justify-content:space-between;margin-top:var(--Size-3, 12px);border-top:1px solid var(--Gray-Gray-100, #e6eaf2);padding-top:var(--Size-2, 8px)}.dp-footer__clear,.dp-footer__today{background:none;border:none;padding:4px 8px;font-size:var(--font-size-xxs, 10px);font-family:inherit;cursor:pointer;border-radius:var(--Border-1, 4px);transition:background 0.15s}.dp-footer__clear{color:var(--Gray-Gray-500, #69738c)}.dp-footer__today{color:var(--Orange-orange-500, #f49a3d);font-weight:var(--font-weight-bold, 700)}.dp-footer__clear:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-footer__today:hover{background:var(--Orange-orange-50, #fef5ec)}`;
7595
+ const dropiDatePickerCss = () => `:host{display:block;width:100%;position:relative}*,*::before,*::after{box-sizing:border-box}.dp-label{display:block;font-size:var(--font-size-xs, 10px);font-weight:var(--font-weight-regular, 400);color:var(--Gray-Gray-600, #475066);margin-bottom:8px}.dp-trigger{width:100%;height:40px;display:flex;align-items:center;gap:var(--Size-2, 8px);padding:0 var(--Size-3, 12px);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #ffffff);cursor:pointer;font-family:inherit;transition:border-color 0.2s}.dp-trigger:hover:not(:disabled){border-color:var(--Info-Info-500, #50a5f1)}.dp-trigger--disabled{background:var(--Gray-Gray-50, #f7f8fa);cursor:not-allowed;opacity:0.6}.dp-trigger__value{flex:1;text-align:left;font-size:var(--font-size-xs, 12px);color:var(--Gray-Gray-700, #32394d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dp-trigger__placeholder{color:var(--Gray-Gray-400, #858ea6)}.dp-popup{position:absolute;top:calc(100% + 8px);left:0;display:flex;flex-direction:row;background:var(--Neutral-White, #ffffff);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-3, 12px);box-shadow:0 4px 16px rgba(0,0,0,0.08);z-index:300;overflow:hidden}.dp-calendar{padding:var(--Size-4, 16px);width:300px;flex-shrink:0}.dp-divider{width:1px;background:var(--Gray-Gray-100, #e6eaf2);flex-shrink:0}.dp-shortcuts{padding:var(--Size-4, 16px) var(--Size-3, 12px);display:flex;flex-direction:column;gap:2px;min-width:140px}.shortcut-btn{background:transparent;border:1px solid transparent;padding:6px 10px;font-size:13px;font-family:inherit;color:var(--Gray-Gray-700, #32394d);cursor:pointer;text-align:left;border-radius:6px;transition:background 0.1s ease;font-weight:var(--font-weight-regular);white-space:nowrap}.shortcut-btn:hover{background:var(--Gray-Gray-50, #f5f6f8)}.shortcut-btn--active{border-color:var(--Gray-Gray-200, #c3c9d9);font-weight:var(--font-weight-semibold);background:var(--Gray-Gray-50, #f5f6f8)}.dp-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--Size-4, 16px);padding-bottom:var(--Size-3, 12px);border-bottom:1px solid var(--Gray-Gray-100, #e6eaf2)}.dp-nav__btn{background:none;border:none;padding:0;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center;width:32px;height:32px;transition:background 0.15s}.dp-nav__btn:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-nav__title{background:none;border:none;font-size:var(--font-size-s, 14px);font-weight:var(--font-weight-bold, 700);color:var(--Gray-Gray-700, #32394d);display:flex;gap:8px;cursor:pointer;padding:4px 8px;border-radius:var(--Border-1, 4px);transition:background 0.15s;font-family:inherit}.dp-nav__title:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-grid{display:grid;grid-template-columns:repeat(7, 1fr);row-gap:8px;column-gap:4px}.dp-day-header{font-size:var(--font-size-s, 14px);color:var(--Gray-Gray-700, #32394d);text-align:center;padding:8px 0;font-weight:var(--font-weight-bold, 700)}.dp-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:var(--font-size-xs, 12px);font-family:inherit;border:none;cursor:pointer;background:transparent;color:var(--Gray-Gray-600, #475066);width:100%;position:relative;z-index:1;padding:0}.dp-cell::after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:50%;transition:all 0.2s;z-index:-1;background:transparent}.dp-cell::before{content:"";position:absolute;top:0;bottom:0;z-index:-2;border-radius:0;background:transparent}.dp-cell:hover:not(:disabled)::after{background:var(--Gray-Gray-100, #e6eaf2)}.dp-cell--other-month{color:var(--Gray-Gray-300, #a0a9c0)}.dp-cell--today{font-weight:var(--font-weight-bold, 700)}.dp-cell--today::after{background:var(--Gray-Gray-100, #e6eaf2)}.dp-cell--selected{color:var(--Neutral-White, #ffffff);font-weight:var(--font-weight-bold, 700)}.dp-cell--selected::after{background:var(--Orange-orange-500, #f49a3d) !important}.dp-cell--range-start,.dp-cell--range-end{color:var(--Neutral-White, #ffffff);font-weight:var(--font-weight-bold, 700)}.dp-cell--range-start::after,.dp-cell--range-end::after{background:var(--Orange-orange-500, #f49a3d) !important}.dp-cell--in-range{color:var(--Orange-orange-500, #f49a3d);font-weight:var(--font-weight-bold, 700)}.dp-cell--in-range::before{left:-2px;right:-2px;background:var(--Orange-orange-50, #fef5ec)}.dp-cell--range-start::before{left:50%;right:-2px;background:var(--Orange-orange-50, #fef5ec)}.dp-cell--range-end::before{left:-2px;right:50%;background:var(--Orange-orange-50, #fef5ec)}.dp-cell--range-start.dp-cell--range-end::before{background:transparent}.dp-cell--disabled{opacity:0.35;cursor:not-allowed}.dp-month-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:8px}.dp-month-cell{padding:10px 4px;font-size:var(--font-size-s, 14px);font-family:inherit;font-weight:var(--font-weight-regular, 400);color:var(--Gray-Gray-700, #32394d);background:transparent;border:1px solid transparent;border-radius:var(--Border-2, 8px);cursor:pointer;text-align:center;transition:background 0.15s, border-color 0.15s}.dp-month-cell:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-month-cell--selected{border-color:var(--Info-Info-500, #50a5f1);font-weight:var(--font-weight-semibold, 600)}.dp-month-cell--current{background:var(--Gray-Gray-100, #e6eaf2)}.dp-year-grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:8px}.dp-year-cell{padding:10px 4px;font-size:var(--font-size-s, 14px);font-family:inherit;font-weight:var(--font-weight-regular, 400);color:var(--Gray-Gray-700, #32394d);background:transparent;border:1px solid transparent;border-radius:var(--Border-2, 8px);cursor:pointer;text-align:center;transition:background 0.15s, border-color 0.15s}.dp-year-cell:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-year-cell--selected{border-color:var(--Info-Info-500, #50a5f1);font-weight:var(--font-weight-semibold, 600)}.dp-year-cell--current{background:var(--Gray-Gray-100, #e6eaf2)}`;
7596
7596
 
7597
7597
  const MONTHS_ES$1 = [
7598
7598
  'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio',
7599
7599
  'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'
7600
7600
  ];
7601
+ const MONTHS_SHORT$1 = ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'];
7601
7602
  const DAYS_ES$1 = ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'];
7602
7603
  /**
7603
7604
  * @component dropi-date-picker
@@ -7621,16 +7622,14 @@ class DropiDatePicker {
7621
7622
  internals;
7622
7623
  /** Name for native form submission */
7623
7624
  name;
7624
- /** Selected date (ISO string, single mode) - matches Angular 'selectedDate' */
7625
+ /** Selected date (ISO string, single mode) */
7625
7626
  selectedDate = '';
7626
7627
  /** Range start date (ISO string, range mode) */
7627
7628
  startDate = '';
7628
7629
  /** Range end date (ISO string, range mode) */
7629
7630
  endDate = '';
7630
- valueChanged() {
7631
- this.updateFormValue();
7632
- }
7633
- /** Enable range selection - matches Angular selectionMode */
7631
+ valueChanged() { this.updateFormValue(); }
7632
+ /** Enable range selection */
7634
7633
  selectionMode = 'single';
7635
7634
  /** Min selectable date (ISO string) */
7636
7635
  minDate = '';
@@ -7642,29 +7641,28 @@ class DropiDatePicker {
7642
7641
  placeholder = 'DD/MM/YYYY';
7643
7642
  /** Disabled */
7644
7643
  disabled = false;
7645
- /** Is invalid state - matches Angular */
7644
+ /** Is invalid state */
7646
7645
  isInvalid = false;
7647
- /** Loading state - matches Angular */
7646
+ /** Loading state */
7648
7647
  loading = false;
7648
+ /** Hide "Hoy" shortcut */
7649
+ hideTodayShortcut = false;
7649
7650
  open = false;
7650
7651
  viewYear = new Date().getFullYear();
7651
7652
  viewMonth = new Date().getMonth();
7652
7653
  hoverDate = '';
7654
+ viewMode = 'day';
7655
+ activeShortcut = -1;
7653
7656
  get el() { return getElement(this); }
7654
7657
  handleDocClick(e) {
7655
7658
  if (this.open && !e.composedPath().includes(this.el)) {
7656
7659
  this.open = false;
7657
7660
  }
7658
7661
  }
7659
- /** Emitted when date selected — matches Angular 'onChangeDate' */
7660
7662
  dropiChangeDate;
7661
- /** Emitted when panel closes — matches Angular 'onClosePanel' */
7662
7663
  dropiClosePanel;
7663
- /** Emitted when range selected */
7664
7664
  dropiRangeChange;
7665
- componentWillLoad() {
7666
- this.updateFormValue();
7667
- }
7665
+ componentWillLoad() { this.updateFormValue(); }
7668
7666
  updateFormValue() {
7669
7667
  if (this.selectionMode === 'range') {
7670
7668
  this.internals.setFormValue(this.startDate && this.endDate ? `${this.startDate},${this.endDate}` : '');
@@ -7696,23 +7694,96 @@ class DropiDatePicker {
7696
7694
  this.viewYear = d.getFullYear();
7697
7695
  this.viewMonth = d.getMonth();
7698
7696
  }
7697
+ this.viewMode = 'day';
7699
7698
  this.open = true;
7700
7699
  }
7701
- prevMonth() {
7702
- if (this.viewMonth === 0) {
7703
- this.viewMonth = 11;
7700
+ get decadeStart() {
7701
+ return Math.floor(this.viewYear / 10) * 10;
7702
+ }
7703
+ get navTitle() {
7704
+ if (this.viewMode === 'day')
7705
+ return `${MONTHS_ES$1[this.viewMonth]} ${this.viewYear}`;
7706
+ if (this.viewMode === 'month')
7707
+ return `${this.viewYear}`;
7708
+ return `${this.decadeStart}-${this.decadeStart + 9}`;
7709
+ }
7710
+ cycleView() {
7711
+ if (this.viewMode === 'day')
7712
+ this.viewMode = 'month';
7713
+ else if (this.viewMode === 'month')
7714
+ this.viewMode = 'year';
7715
+ }
7716
+ prevNav() {
7717
+ if (this.viewMode === 'day') {
7718
+ if (this.viewMonth === 0) {
7719
+ this.viewMonth = 11;
7720
+ this.viewYear--;
7721
+ }
7722
+ else
7723
+ this.viewMonth--;
7724
+ }
7725
+ else if (this.viewMode === 'month') {
7704
7726
  this.viewYear--;
7705
7727
  }
7706
- else
7707
- this.viewMonth--;
7728
+ else {
7729
+ this.viewYear = this.decadeStart - 10;
7730
+ }
7708
7731
  }
7709
- nextMonth() {
7710
- if (this.viewMonth === 11) {
7711
- this.viewMonth = 0;
7732
+ nextNav() {
7733
+ if (this.viewMode === 'day') {
7734
+ if (this.viewMonth === 11) {
7735
+ this.viewMonth = 0;
7736
+ this.viewYear++;
7737
+ }
7738
+ else
7739
+ this.viewMonth++;
7740
+ }
7741
+ else if (this.viewMode === 'month') {
7712
7742
  this.viewYear++;
7713
7743
  }
7714
- else
7715
- this.viewMonth++;
7744
+ else {
7745
+ this.viewYear = this.decadeStart + 10;
7746
+ }
7747
+ }
7748
+ selectMonth(month) {
7749
+ this.viewMonth = month;
7750
+ this.viewMode = 'day';
7751
+ }
7752
+ selectYear(year) {
7753
+ this.viewYear = year;
7754
+ this.viewMode = 'month';
7755
+ }
7756
+ get today() {
7757
+ return new Date().toISOString().slice(0, 10);
7758
+ }
7759
+ daysAgo(n) {
7760
+ const d = new Date();
7761
+ d.setDate(d.getDate() - n);
7762
+ return d.toISOString().slice(0, 10);
7763
+ }
7764
+ get shortcuts() {
7765
+ const all = [
7766
+ { label: 'Hoy', start: this.today, end: this.today },
7767
+ { label: 'Últimos 7 días', start: this.daysAgo(6), end: this.today },
7768
+ { label: 'Últimos 15 días', start: this.daysAgo(14), end: this.today },
7769
+ { label: 'Últimos 30 días', start: this.daysAgo(29), end: this.today },
7770
+ { label: 'Últimos 90 días', start: this.daysAgo(89), end: this.today },
7771
+ ];
7772
+ return this.hideTodayShortcut ? all.slice(1) : all;
7773
+ }
7774
+ selectShortcut(idx) {
7775
+ const s = this.shortcuts[idx];
7776
+ this.activeShortcut = idx;
7777
+ if (this.selectionMode === 'range') {
7778
+ this.startDate = s.start;
7779
+ this.endDate = s.end;
7780
+ this.dropiRangeChange.emit({ start: s.start, end: s.end });
7781
+ }
7782
+ else {
7783
+ this.selectedDate = s.end;
7784
+ this.dropiChangeDate.emit(s.end);
7785
+ }
7786
+ this.open = false;
7716
7787
  }
7717
7788
  toISO(year, month, day) {
7718
7789
  return `${year}-${String(month + 1).padStart(2, '0')}-${String(day).padStart(2, '0')}`;
@@ -7743,7 +7814,6 @@ class DropiDatePicker {
7743
7814
  this.dropiChangeDate.emit(iso);
7744
7815
  return;
7745
7816
  }
7746
- // Range mode
7747
7817
  if (!this.startDate || (this.startDate && this.endDate)) {
7748
7818
  this.startDate = iso;
7749
7819
  this.endDate = '';
@@ -7764,23 +7834,18 @@ class DropiDatePicker {
7764
7834
  const year = this.viewYear;
7765
7835
  const month = this.viewMonth;
7766
7836
  const firstDay = new Date(year, month, 1).getDay();
7767
- // Adjust to Sunday-first
7768
- const startOffset = firstDay;
7769
7837
  const daysInMonth = new Date(year, month + 1, 0).getDate();
7770
7838
  const daysInPrevMonth = new Date(year, month, 0).getDate();
7771
7839
  const cells = [];
7772
- // Previous month filler
7773
- for (let i = startOffset - 1; i >= 0; i--) {
7840
+ for (let i = firstDay - 1; i >= 0; i--) {
7774
7841
  const d = daysInPrevMonth - i;
7775
7842
  const m = month === 0 ? 11 : month - 1;
7776
7843
  const y = month === 0 ? year - 1 : year;
7777
7844
  cells.push({ iso: this.toISO(y, m, d), day: d, currentMonth: false });
7778
7845
  }
7779
- // Current month
7780
7846
  for (let d = 1; d <= daysInMonth; d++) {
7781
7847
  cells.push({ iso: this.toISO(year, month, d), day: d, currentMonth: true });
7782
7848
  }
7783
- // Next month filler
7784
7849
  const remaining = 42 - cells.length;
7785
7850
  for (let d = 1; d <= remaining; d++) {
7786
7851
  const m = month === 11 ? 0 : month + 1;
@@ -7789,15 +7854,9 @@ class DropiDatePicker {
7789
7854
  }
7790
7855
  return cells;
7791
7856
  }
7792
- render() {
7857
+ renderDayView(today) {
7793
7858
  const days = this.buildDays();
7794
- const today = new Date().toISOString().slice(0, 10);
7795
- return (hAsync("div", { key: 'd2f6248ff409e53e916e266ab5d23136e9da76d0', class: "dp-wrap" }, this.label && hAsync("label", { key: 'ba51f4091f18437e4449c05378def5b099883acd', class: "dp-label" }, this.label), hAsync("button", { key: '88eb474ca75c9b62996765bdb4816a8cfc14bb8e', class: {
7796
- 'dp-trigger': true,
7797
- 'dp-trigger--disabled': this.disabled,
7798
- 'dp-trigger--invalid': this.isInvalid,
7799
- 'dp-trigger--loading': this.loading
7800
- }, onClick: () => this.open ? this.open = false : this.open_(), disabled: this.disabled || this.loading, type: "button" }, hAsync("dropi-icon", { key: '1044cef59317f88cc472d2a466a6937a0c4d58f7', name: "Calendar", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), hAsync("span", { key: '6a7c5687cd06b9b2f42c256bc03ff0f412ca5573', class: { 'dp-trigger__value': true, 'dp-trigger__placeholder': !this.displayValue } }, this.displayValue || this.placeholder), hAsync("dropi-icon", { key: '4be1fc67ed6f9ffb5a5d936e3e8d8330bb91fb0b', name: "Arrow-Down-2", iconWidth: "12px", iconHeight: "12px", color: "Gray-Gray-400" })), this.open && (hAsync("div", { key: '5ad107e256d62a46b57e4bd1bebead70ecc8e46c', class: "dp-popup" }, hAsync("div", { key: 'e3d51afbd24df88867777e43c9bd63dd41c3f542', class: "dp-nav" }, hAsync("button", { key: '8819f79389c1d50ec639f719228aab88be4d0335', class: "dp-nav__btn", onClick: () => this.prevMonth(), type: "button" }, hAsync("dropi-icon", { key: 'a17004ad24ce40590474d91227a826f46edf50ba', name: "Arrow-Left-2", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" })), hAsync("span", { key: 'e91c8a46b963a1e7f0d01c56610c2e4bb6fa3d39', class: "dp-nav__title" }, hAsync("span", { key: '214a575cbd83e8c3bafe64ffbd93e914119b09aa' }, MONTHS_ES$1[this.viewMonth]), hAsync("span", { key: '1f71a83e7110bf8a91f7b5e14e0400b09ba28e1a' }, this.viewYear)), hAsync("button", { key: '21dbc0fdaabc423bd864bfb33ba314b72ca62d48', class: "dp-nav__btn", onClick: () => this.nextMonth(), type: "button" }, hAsync("dropi-icon", { key: 'f248e65855555878afdbda7d1ba9a802d9eae4d5', name: "Arrow-Right-2", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }))), hAsync("div", { key: '4fb29792028bf2132ea78a105c7694cf3806ff05', class: "dp-grid" }, DAYS_ES$1.map(d => (hAsync("div", { class: "dp-day-header" }, d))), days.map(({ iso, day, currentMonth }) => {
7859
+ return (hAsync("div", { class: "dp-grid" }, DAYS_ES$1.map(d => hAsync("div", { class: "dp-day-header" }, d)), days.map(({ iso, day, currentMonth }) => {
7801
7860
  const isSelected = this.selectionMode !== 'range'
7802
7861
  ? iso === this.selectedDate
7803
7862
  : iso === this.startDate || iso === this.endDate;
@@ -7819,22 +7878,48 @@ class DropiDatePicker {
7819
7878
  if (this.selectionMode === 'range' && this.startDate && !this.endDate)
7820
7879
  this.hoverDate = iso;
7821
7880
  }, onMouseLeave: () => this.hoverDate = '' }, day));
7822
- })), hAsync("div", { key: '9c670c5ad5a6115b628d5a7bd3a2422c7631e237', class: "dp-footer" }, hAsync("button", { key: 'f939595cde989ea0bd462a3d94c6333b5220d1ee', class: "dp-footer__clear", type: "button", onClick: () => {
7823
- this.selectedDate = '';
7824
- this.startDate = '';
7825
- this.endDate = '';
7826
- this.open = false;
7827
- } }, "Limpiar"), hAsync("button", { key: '87b88413962d73229f0cac5a15918b9cd7aebea3', class: "dp-footer__today", type: "button", onClick: () => {
7828
- if (this.selectionMode !== 'range') {
7829
- this.selectedDate = today;
7830
- this.open = false;
7831
- this.dropiChangeDate.emit(today);
7832
- }
7833
- else {
7834
- this.startDate = today;
7835
- this.endDate = '';
7836
- }
7837
- } }, "Hoy"))))));
7881
+ })));
7882
+ }
7883
+ renderMonthView() {
7884
+ const todayMonth = new Date().getMonth();
7885
+ const todayYear = new Date().getFullYear();
7886
+ return (hAsync("div", { class: "dp-month-grid" }, MONTHS_SHORT$1.map((name, idx) => {
7887
+ const isSelected = idx === this.viewMonth;
7888
+ const isCurrent = idx === todayMonth && this.viewYear === todayYear;
7889
+ return (hAsync("button", { class: {
7890
+ 'dp-month-cell': true,
7891
+ 'dp-month-cell--selected': isSelected,
7892
+ 'dp-month-cell--current': isCurrent && !isSelected,
7893
+ }, type: "button", onClick: () => this.selectMonth(idx) }, name));
7894
+ })));
7895
+ }
7896
+ renderYearView() {
7897
+ const currentYear = new Date().getFullYear();
7898
+ const start = this.decadeStart;
7899
+ const years = Array.from({ length: 10 }, (_, i) => start + i);
7900
+ return (hAsync("div", { class: "dp-year-grid" }, years.map(year => {
7901
+ const isSelected = year === this.viewYear;
7902
+ const isCurrent = year === currentYear;
7903
+ return (hAsync("button", { class: {
7904
+ 'dp-year-cell': true,
7905
+ 'dp-year-cell--selected': isSelected,
7906
+ 'dp-year-cell--current': isCurrent && !isSelected,
7907
+ }, type: "button", onClick: () => this.selectYear(year) }, year));
7908
+ })));
7909
+ }
7910
+ render() {
7911
+ const today = new Date().toISOString().slice(0, 10);
7912
+ return (hAsync("div", { key: '6ae00de99b93a13faba81ac027c292b9624d0336', class: "dp-wrap" }, this.label && hAsync("label", { key: '9282bb57332ebaef9861702d80759d641ea21757', class: "dp-label" }, this.label), hAsync("button", { key: '1fe5d5fcd8ce1c0b151381d9c249c401d322f78a', class: {
7913
+ 'dp-trigger': true,
7914
+ 'dp-trigger--disabled': this.disabled,
7915
+ 'dp-trigger--invalid': this.isInvalid,
7916
+ 'dp-trigger--loading': this.loading
7917
+ }, onClick: () => this.open ? this.open = false : this.open_(), disabled: this.disabled || this.loading, type: "button" }, hAsync("dropi-icon", { key: '560cf80eb7652543b9000e375b213a3dba91060b', name: "Calendar", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), hAsync("span", { key: '3bdc45bd4706502af4050475e709c15beebce028', class: { 'dp-trigger__value': true, 'dp-trigger__placeholder': !this.displayValue } }, this.displayValue || this.placeholder)), this.open && (hAsync("div", { key: 'e21053dd38d62ab43c01f337fbbeb8b36e70680c', class: "dp-popup" }, hAsync("div", { key: 'd6c8fc40ec4bd11bcd5bf3d8b3706c4c62099bbf', class: "dp-calendar" }, hAsync("div", { key: 'cf8f21d301592077851a44eb588418302240598f', class: "dp-nav" }, hAsync("button", { key: '28702d76d499cec07cd69d7bd23f5eb0369d288f', class: "dp-nav__btn", onClick: () => this.prevNav(), type: "button" }, hAsync("dropi-icon", { key: '18b1c6fb2ea5f51b4a4b59592c7d89c5406c6c39', name: "dropdown-left", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" })), hAsync("button", { key: '755274772a90deae38d613da369863aefe95e297', class: "dp-nav__title", onClick: () => this.cycleView(), type: "button" }, this.viewMode === 'day'
7918
+ ? [hAsync("span", null, MONTHS_ES$1[this.viewMonth]), hAsync("span", null, this.viewYear)]
7919
+ : hAsync("span", null, this.navTitle)), hAsync("button", { key: '6442690df1e434f9fb0128327f8f07c3cecbed4c', class: "dp-nav__btn", onClick: () => this.nextNav(), type: "button" }, hAsync("dropi-icon", { key: '00525ae2cbe5cc8a881d165141de10ce3d72e439', name: "dropdown-right", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }))), this.viewMode === 'day' && this.renderDayView(today), this.viewMode === 'month' && this.renderMonthView(), this.viewMode === 'year' && this.renderYearView()), this.selectionMode === 'range' && [
7920
+ hAsync("div", { key: '688df97b843c3c3342fc301d6c6c74ec88921d68', class: "dp-divider" }),
7921
+ hAsync("div", { key: '2c75f7b004812ee1eb18bbc349f03ab55623cd9f', class: "dp-shortcuts" }, this.shortcuts.map((s, i) => (hAsync("button", { key: i, class: { 'shortcut-btn': true, 'shortcut-btn--active': this.activeShortcut === i }, onClick: () => this.selectShortcut(i), type: "button" }, s.label))))
7922
+ ]))));
7838
7923
  }
7839
7924
  static get formAssociated() { return true; }
7840
7925
  static get watchers() { return {
@@ -7865,10 +7950,13 @@ class DropiDatePicker {
7865
7950
  "disabled": [4],
7866
7951
  "isInvalid": [4, "is-invalid"],
7867
7952
  "loading": [4],
7953
+ "hideTodayShortcut": [4, "hide-today-shortcut"],
7868
7954
  "open": [32],
7869
7955
  "viewYear": [32],
7870
7956
  "viewMonth": [32],
7871
- "hoverDate": [32]
7957
+ "hoverDate": [32],
7958
+ "viewMode": [32],
7959
+ "activeShortcut": [32]
7872
7960
  },
7873
7961
  "$listeners$": [[4, "click", "handleDocClick"]],
7874
7962
  "$lazyBundleId$": "-",
@@ -7876,12 +7964,13 @@ class DropiDatePicker {
7876
7964
  }; }
7877
7965
  }
7878
7966
 
7879
- const dropiDatePickerRangeCss = () => `:host{display:block;width:100%;position:relative}*,*::before,*::after{box-sizing:border-box}.dpr-label{display:block;font-size:var(--font-size-xxs, 10px);color:var(--Gray-Gray-600, #475066);margin-bottom:4px}.dpr-trigger{width:100%;height:44px;display:flex;align-items:center;gap:var(--Size-2, 8px);padding:0 var(--Size-3, 12px);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #ffffff);cursor:pointer;font-family:inherit;transition:border-color 0.2s}.dpr-trigger:hover:not(:disabled){border-color:var(--Info-Info-500, #50a5f1)}.dpr-trigger--disabled{background:var(--Gray-Gray-50, #f7f8fa);cursor:not-allowed;opacity:0.6}.dpr-trigger__value{flex:1;text-align:left;font-size:var(--font-size-xs, 12px);color:var(--Gray-Gray-700, #32394d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dpr-trigger__placeholder{color:var(--Gray-Gray-400, #858ea6)}.dpr-popup{position:absolute;top:calc(100% + 8px);left:0;display:flex;flex-direction:row;background:var(--Neutral-White, #ffffff);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-3, 12px);box-shadow:0 4px 16px rgba(0,0,0,0.08);z-index:300;overflow:hidden}.dpr-calendar{padding:var(--Size-4, 16px);width:300px;flex-shrink:0}.dpr-divider{width:1px;background:var(--Gray-Gray-100, #e6eaf2);flex-shrink:0}.dpr-shortcuts{padding:var(--Size-4, 16px) var(--Size-3, 12px);display:flex;flex-direction:column;gap:2px;min-width:140px}.shortcut-btn{background:transparent;border:1px solid transparent;padding:6px 10px;font-size:13px;font-family:inherit;color:var(--Gray-Gray-700, #32394d);cursor:pointer;text-align:left;border-radius:6px;transition:background 0.1s ease;font-weight:var(--font-weight-regular);white-space:nowrap}.shortcut-btn:hover{background:var(--Gray-Gray-50, #f5f6f8)}.shortcut-btn--active{border-color:var(--Gray-Gray-200, #c3c9d9);font-weight:var(--font-weight-semibold);background:var(--Gray-Gray-50, #f5f6f8)}.warning-box{margin-top:8px;padding:4px 8px;border:1px solid var(--Warning-Warning-400);border-radius:4px;background:var(--Warning-Warning-50)}.warning-message{color:#495057;font-size:var(--font-size-xxs);line-height:16px}.dp-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--Size-4, 16px);padding-bottom:var(--Size-3, 12px);border-bottom:1px solid var(--Gray-Gray-100, #e6eaf2)}.dp-nav__btn{background:none;border:none;padding:0;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center;width:32px;height:32px;transition:background 0.15s}.dp-nav__btn:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-nav__title{font-size:var(--font-size-s, 14px);font-weight:var(--font-weight-bold, 700);color:var(--Gray-Gray-700, #32394d);display:flex;gap:8px}.dp-grid{display:grid;grid-template-columns:repeat(7, 1fr);row-gap:6px;column-gap:2px}.dp-day-header{font-size:var(--font-size-s, 14px);color:var(--Gray-Gray-700, #32394d);text-align:center;padding:6px 0;font-weight:var(--font-weight-bold, 700)}.dp-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:var(--font-size-xs, 12px);font-family:inherit;border:none;cursor:pointer;background:transparent;color:var(--Gray-Gray-600, #475066);width:100%;position:relative;z-index:1;padding:0}.dp-cell::after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:50%;transition:background 0.15s;z-index:-1;background:transparent}.dp-cell::before{content:"";position:absolute;top:0;bottom:0;z-index:-2;background:transparent}.dp-cell:hover:not(:disabled)::after{background:var(--Gray-Gray-100, #e6eaf2)}.dp-cell--other-month{color:var(--Gray-Gray-300, #a0a9c0)}.dp-cell--today{font-weight:var(--font-weight-bold, 700)}.dp-cell--today::after{background:var(--Gray-Gray-100, #e6eaf2)}.dp-cell--selected{color:var(--Neutral-White, #ffffff);font-weight:var(--font-weight-bold, 700)}.dp-cell--selected::after{background:var(--Orange-orange-500, #f49a3d) !important}.dp-cell--range-start,.dp-cell--range-end{color:var(--Neutral-White, #ffffff);font-weight:var(--font-weight-bold, 700)}.dp-cell--range-start::after,.dp-cell--range-end::after{background:var(--Orange-orange-500, #f49a3d) !important}.dp-cell--in-range{color:var(--Orange-orange-500, #f49a3d);font-weight:var(--font-weight-bold, 700)}.dp-cell--in-range::before{left:-1px;right:-1px;background:var(--Orange-orange-50, #fef5ec)}.dp-cell--range-start::before{left:50%;right:-1px;background:var(--Orange-orange-50, #fef5ec)}.dp-cell--range-end::before{left:-1px;right:50%;background:var(--Orange-orange-50, #fef5ec)}.dp-cell--range-start.dp-cell--range-end::before{background:transparent}.dp-cell--disabled{opacity:0.35;cursor:not-allowed}@keyframes shimmer{0%{background-position:-468px 0}100%{background-position:468px 0}}.skeleton{height:44px;width:100%;border-radius:8px;animation:shimmer 1s linear infinite;background:linear-gradient(to right, #f5f6f8 8%, #e3e7ef 28%, #f5f6f8 77%);background-size:800px 104px}`;
7967
+ const dropiDatePickerRangeCss = () => `:host{display:block;width:100%;position:relative}*,*::before,*::after{box-sizing:border-box}.dpr-label{display:block;font-size:var(--font-size-xs, 10px);font-weight:var(--font-weight-regular, 400);color:var(--Gray-Gray-600, #475066);margin-bottom:8px}.dpr-trigger{width:100%;height:40px;display:flex;align-items:center;gap:var(--Size-2, 8px);padding:0 var(--Size-3, 12px);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #ffffff);cursor:pointer;font-family:inherit;transition:border-color 0.2s}.dpr-trigger:hover:not(:disabled){border-color:var(--Info-Info-500, #50a5f1)}.dpr-trigger--disabled{background:var(--Gray-Gray-50, #f7f8fa);cursor:not-allowed;opacity:0.6}.dpr-trigger__value{flex:1;text-align:left;font-size:var(--font-size-xs, 12px);color:var(--Gray-Gray-700, #32394d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dpr-trigger__placeholder{color:var(--Gray-Gray-400, #858ea6)}.dpr-popup{position:absolute;top:calc(100% + 8px);left:0;display:flex;flex-direction:row;background:var(--Neutral-White, #ffffff);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-3, 12px);box-shadow:0 4px 16px rgba(0,0,0,0.08);z-index:300;overflow:hidden}.dpr-calendar{padding:var(--Size-4, 16px);width:300px;flex-shrink:0}.dpr-divider{width:1px;background:var(--Gray-Gray-100, #e6eaf2);flex-shrink:0}.dpr-shortcuts{padding:var(--Size-4, 16px) var(--Size-3, 12px);display:flex;flex-direction:column;gap:2px;min-width:140px}.shortcut-btn{background:transparent;border:1px solid transparent;padding:6px 10px;font-size:13px;font-family:inherit;color:var(--Gray-Gray-700, #32394d);cursor:pointer;text-align:left;border-radius:6px;transition:background 0.1s ease;font-weight:var(--font-weight-regular);white-space:nowrap}.shortcut-btn:hover{background:var(--Gray-Gray-50, #f5f6f8)}.shortcut-btn--active{border-color:var(--Gray-Gray-200, #c3c9d9);font-weight:var(--font-weight-semibold);background:var(--Gray-Gray-50, #f5f6f8)}.warning-box{margin-top:8px;padding:4px 8px;border:1px solid var(--Warning-Warning-400);border-radius:4px;background:var(--Warning-Warning-50)}.warning-message{color:#495057;font-size:var(--font-size-xxs);line-height:16px}.dp-month-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:8px}.dp-month-cell{padding:10px 4px;font-size:var(--font-size-s, 14px);font-family:inherit;font-weight:var(--font-weight-regular, 400);color:var(--Gray-Gray-700, #32394d);background:transparent;border:1px solid transparent;border-radius:var(--Border-2, 8px);cursor:pointer;text-align:center;transition:background 0.15s, border-color 0.15s}.dp-month-cell:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-month-cell--selected{border-color:var(--Info-Info-500, #50a5f1);font-weight:var(--font-weight-semibold, 600)}.dp-month-cell--current{background:var(--Gray-Gray-100, #e6eaf2)}.dp-year-grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:8px}.dp-year-cell{padding:10px 4px;font-size:var(--font-size-s, 14px);font-family:inherit;font-weight:var(--font-weight-regular, 400);color:var(--Gray-Gray-700, #32394d);background:transparent;border:1px solid transparent;border-radius:var(--Border-2, 8px);cursor:pointer;text-align:center;transition:background 0.15s, border-color 0.15s}.dp-year-cell:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-year-cell--selected{border-color:var(--Info-Info-500, #50a5f1);font-weight:var(--font-weight-semibold, 600)}.dp-year-cell--current{background:var(--Gray-Gray-100, #e6eaf2)}.dp-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--Size-4, 16px);padding-bottom:var(--Size-3, 12px);border-bottom:1px solid var(--Gray-Gray-100, #e6eaf2)}.dp-nav__btn{background:none;border:none;padding:0;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center;width:32px;height:32px;transition:background 0.15s}.dp-nav__btn:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-nav__title{background:none;border:none;font-size:var(--font-size-s, 14px);font-weight:var(--font-weight-bold, 700);color:var(--Gray-Gray-700, #32394d);display:flex;gap:8px;cursor:pointer;padding:4px 8px;border-radius:var(--Border-1, 4px);font-family:inherit;transition:background 0.15s}.dp-nav__title:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-grid{display:grid;grid-template-columns:repeat(7, 1fr);row-gap:6px;column-gap:2px}.dp-day-header{font-size:var(--font-size-s, 14px);color:var(--Gray-Gray-700, #32394d);text-align:center;padding:6px 0;font-weight:var(--font-weight-bold, 700)}.dp-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:var(--font-size-xs, 12px);font-family:inherit;border:none;cursor:pointer;background:transparent;color:var(--Gray-Gray-600, #475066);width:100%;position:relative;z-index:1;padding:0}.dp-cell::after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:50%;transition:background 0.15s;z-index:-1;background:transparent}.dp-cell::before{content:"";position:absolute;top:0;bottom:0;z-index:-2;background:transparent}.dp-cell:hover:not(:disabled)::after{background:var(--Gray-Gray-100, #e6eaf2)}.dp-cell--other-month{color:var(--Gray-Gray-300, #a0a9c0)}.dp-cell--today{font-weight:var(--font-weight-bold, 700)}.dp-cell--today::after{background:var(--Gray-Gray-100, #e6eaf2)}.dp-cell--selected{color:var(--Neutral-White, #ffffff);font-weight:var(--font-weight-bold, 700)}.dp-cell--selected::after{background:var(--Orange-orange-500, #f49a3d) !important}.dp-cell--range-start,.dp-cell--range-end{color:var(--Neutral-White, #ffffff);font-weight:var(--font-weight-bold, 700)}.dp-cell--range-start::after,.dp-cell--range-end::after{background:var(--Orange-orange-500, #f49a3d) !important}.dp-cell--in-range{color:var(--Orange-orange-500, #f49a3d);font-weight:var(--font-weight-bold, 700)}.dp-cell--in-range::before{left:-1px;right:-1px;background:var(--Orange-orange-50, #fef5ec)}.dp-cell--range-start::before{left:50%;right:-1px;background:var(--Orange-orange-50, #fef5ec)}.dp-cell--range-end::before{left:-1px;right:50%;background:var(--Orange-orange-50, #fef5ec)}.dp-cell--range-start.dp-cell--range-end::before{background:transparent}.dp-cell--disabled{opacity:0.35;cursor:not-allowed}@keyframes shimmer{0%{background-position:-468px 0}100%{background-position:468px 0}}.skeleton{height:40px;width:100%;border-radius:8px;animation:shimmer 1s linear infinite;background:linear-gradient(to right, #f5f6f8 8%, #e3e7ef 28%, #f5f6f8 77%);background-size:800px 104px}`;
7880
7968
 
7881
7969
  const MONTHS_ES = [
7882
7970
  'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio',
7883
7971
  'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre',
7884
7972
  ];
7973
+ const MONTHS_SHORT = ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'];
7885
7974
  const DAYS_ES = ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'];
7886
7975
  /**
7887
7976
  * @component dropi-date-picker-range
@@ -7913,11 +8002,8 @@ class DropiDatePickerRange {
7913
8002
  hideTodayRangeShortcut = false;
7914
8003
  /** Disabled state */
7915
8004
  disabled = false;
7916
- /** Emitted when start date changes */
7917
8005
  startDateChange;
7918
- /** Emitted when end date changes */
7919
8006
  endDateChange;
7920
- /** Emitted with full range when both dates are set */
7921
8007
  dropiRangeChange;
7922
8008
  start = '';
7923
8009
  end = '';
@@ -7927,6 +8013,7 @@ class DropiDatePickerRange {
7927
8013
  viewYear = new Date().getFullYear();
7928
8014
  viewMonth = new Date().getMonth();
7929
8015
  hoverDate = '';
8016
+ viewMode = 'day';
7930
8017
  get el() { return getElement(this); }
7931
8018
  onStartPropChange(val) { this.start = val; }
7932
8019
  onEndPropChange(val) { this.end = val; }
@@ -7973,23 +8060,64 @@ class DropiDatePickerRange {
7973
8060
  this.viewYear = d.getFullYear();
7974
8061
  this.viewMonth = d.getMonth();
7975
8062
  }
8063
+ this.viewMode = 'day';
7976
8064
  this.open = !this.open;
7977
8065
  }
7978
- prevMonth() {
7979
- if (this.viewMonth === 0) {
7980
- this.viewMonth = 11;
8066
+ get decadeStart() {
8067
+ return Math.floor(this.viewYear / 10) * 10;
8068
+ }
8069
+ get navTitle() {
8070
+ if (this.viewMode === 'day')
8071
+ return `${MONTHS_ES[this.viewMonth]} ${this.viewYear}`;
8072
+ if (this.viewMode === 'month')
8073
+ return `${this.viewYear}`;
8074
+ return `${this.decadeStart}-${this.decadeStart + 9}`;
8075
+ }
8076
+ cycleView() {
8077
+ if (this.viewMode === 'day')
8078
+ this.viewMode = 'month';
8079
+ else if (this.viewMode === 'month')
8080
+ this.viewMode = 'year';
8081
+ }
8082
+ prevNav() {
8083
+ if (this.viewMode === 'day') {
8084
+ if (this.viewMonth === 0) {
8085
+ this.viewMonth = 11;
8086
+ this.viewYear--;
8087
+ }
8088
+ else
8089
+ this.viewMonth--;
8090
+ }
8091
+ else if (this.viewMode === 'month') {
7981
8092
  this.viewYear--;
7982
8093
  }
7983
- else
7984
- this.viewMonth--;
8094
+ else {
8095
+ this.viewYear = this.decadeStart - 10;
8096
+ }
7985
8097
  }
7986
- nextMonth() {
7987
- if (this.viewMonth === 11) {
7988
- this.viewMonth = 0;
8098
+ nextNav() {
8099
+ if (this.viewMode === 'day') {
8100
+ if (this.viewMonth === 11) {
8101
+ this.viewMonth = 0;
8102
+ this.viewYear++;
8103
+ }
8104
+ else
8105
+ this.viewMonth++;
8106
+ }
8107
+ else if (this.viewMode === 'month') {
7989
8108
  this.viewYear++;
7990
8109
  }
7991
- else
7992
- this.viewMonth++;
8110
+ else {
8111
+ this.viewYear = this.decadeStart + 10;
8112
+ }
8113
+ }
8114
+ selectMonth(month) {
8115
+ this.viewMonth = month;
8116
+ this.viewMode = 'day';
8117
+ }
8118
+ selectYear(year) {
8119
+ this.viewYear = year;
8120
+ this.viewMode = 'month';
7993
8121
  }
7994
8122
  toISO(year, month, day) {
7995
8123
  return `${year}-${String(month + 1).padStart(2, '0')}-${String(day).padStart(2, '0')}`;
@@ -8065,12 +8193,9 @@ class DropiDatePickerRange {
8065
8193
  }
8066
8194
  return cells;
8067
8195
  }
8068
- render() {
8069
- if (this.loading)
8070
- return hAsync("div", { class: "skeleton" });
8196
+ renderDayView(today) {
8071
8197
  const days = this.buildDays();
8072
- const today = this.today;
8073
- return (hAsync("div", { class: "dpr-wrap" }, this.showLabel && hAsync("label", { class: "dpr-label" }, "Rango de fechas"), hAsync("button", { class: { 'dpr-trigger': true, 'dpr-trigger--disabled': this.disabled }, onClick: () => this.toggleOpen(), disabled: this.disabled, type: "button" }, hAsync("dropi-icon", { name: "Calendar", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), hAsync("span", { class: { 'dpr-trigger__value': true, 'dpr-trigger__placeholder': !this.displayValue } }, this.displayValue || this.placeholder), hAsync("dropi-icon", { name: "Arrow-Down-2", iconWidth: "12px", iconHeight: "12px", color: "Gray-Gray-400" })), this.open && (hAsync("div", { class: "dpr-popup" }, hAsync("div", { class: "dpr-calendar" }, hAsync("div", { class: "dp-nav" }, hAsync("button", { class: "dp-nav__btn", onClick: () => this.prevMonth(), type: "button" }, hAsync("dropi-icon", { name: "Arrow-Left-2", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" })), hAsync("span", { class: "dp-nav__title" }, hAsync("span", null, MONTHS_ES[this.viewMonth]), hAsync("span", null, this.viewYear)), hAsync("button", { class: "dp-nav__btn", onClick: () => this.nextMonth(), type: "button" }, hAsync("dropi-icon", { name: "Arrow-Right-2", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }))), hAsync("div", { class: "dp-grid" }, DAYS_ES.map(d => hAsync("div", { class: "dp-day-header" }, d)), days.map(({ iso, day, currentMonth }) => {
8198
+ return (hAsync("div", { class: "dp-grid" }, DAYS_ES.map(d => hAsync("div", { class: "dp-day-header" }, d)), days.map(({ iso, day, currentMonth }) => {
8074
8199
  const isStart = iso === this.start;
8075
8200
  const isEnd = iso === this.end;
8076
8201
  const inRange = this.isInRange(iso);
@@ -8087,7 +8212,42 @@ class DropiDatePickerRange {
8087
8212
  if (this.start && !this.end)
8088
8213
  this.hoverDate = iso;
8089
8214
  }, onMouseLeave: () => this.hoverDate = '' }, day));
8090
- })), this.showWarning && (hAsync("div", { class: "warning-box" }, hAsync("span", { class: "warning-message" }, "Solo puedes filtrar en un rango m\u00E1ximo de ", this.maxDaysRange, " d\u00EDas.")))), hAsync("div", { class: "dpr-divider" }), hAsync("div", { class: "dpr-shortcuts" }, this.shortcuts.map((s, i) => (hAsync("button", { key: i, class: { 'shortcut-btn': true, 'shortcut-btn--active': this.activeRange === i }, onClick: () => this.selectShortcut(i), type: "button" }, s.label))))))));
8215
+ })));
8216
+ }
8217
+ renderMonthView() {
8218
+ const todayMonth = new Date().getMonth();
8219
+ const todayYear = new Date().getFullYear();
8220
+ return (hAsync("div", { class: "dp-month-grid" }, MONTHS_SHORT.map((name, idx) => {
8221
+ const isSelected = idx === this.viewMonth;
8222
+ const isCurrent = idx === todayMonth && this.viewYear === todayYear;
8223
+ return (hAsync("button", { class: {
8224
+ 'dp-month-cell': true,
8225
+ 'dp-month-cell--selected': isSelected,
8226
+ 'dp-month-cell--current': isCurrent && !isSelected,
8227
+ }, type: "button", onClick: () => this.selectMonth(idx) }, name));
8228
+ })));
8229
+ }
8230
+ renderYearView() {
8231
+ const currentYear = new Date().getFullYear();
8232
+ const start = this.decadeStart;
8233
+ const years = Array.from({ length: 10 }, (_, i) => start + i);
8234
+ return (hAsync("div", { class: "dp-year-grid" }, years.map(year => {
8235
+ const isSelected = year === this.viewYear;
8236
+ const isCurrent = year === currentYear;
8237
+ return (hAsync("button", { class: {
8238
+ 'dp-year-cell': true,
8239
+ 'dp-year-cell--selected': isSelected,
8240
+ 'dp-year-cell--current': isCurrent && !isSelected,
8241
+ }, type: "button", onClick: () => this.selectYear(year) }, year));
8242
+ })));
8243
+ }
8244
+ render() {
8245
+ if (this.loading)
8246
+ return hAsync("div", { class: "skeleton" });
8247
+ const today = this.today;
8248
+ return (hAsync("div", { class: "dpr-wrap" }, this.showLabel && hAsync("label", { class: "dpr-label" }, "Rango de fechas"), hAsync("button", { class: { 'dpr-trigger': true, 'dpr-trigger--disabled': this.disabled }, onClick: () => this.toggleOpen(), disabled: this.disabled, type: "button" }, hAsync("dropi-icon", { name: "Calendar", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), hAsync("span", { class: { 'dpr-trigger__value': true, 'dpr-trigger__placeholder': !this.displayValue } }, this.displayValue || this.placeholder)), this.open && (hAsync("div", { class: "dpr-popup" }, hAsync("div", { class: "dpr-calendar" }, hAsync("div", { class: "dp-nav" }, hAsync("button", { class: "dp-nav__btn", onClick: () => this.prevNav(), type: "button" }, hAsync("dropi-icon", { name: "dropdown-left", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" })), hAsync("button", { class: "dp-nav__title", onClick: () => this.cycleView(), type: "button" }, this.viewMode === 'day'
8249
+ ? [hAsync("span", null, MONTHS_ES[this.viewMonth]), hAsync("span", null, this.viewYear)]
8250
+ : hAsync("span", null, this.navTitle)), hAsync("button", { class: "dp-nav__btn", onClick: () => this.nextNav(), type: "button" }, hAsync("dropi-icon", { name: "dropdown-right", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }))), this.viewMode === 'day' && this.renderDayView(today), this.viewMode === 'month' && this.renderMonthView(), this.viewMode === 'year' && this.renderYearView(), this.showWarning && (hAsync("div", { class: "warning-box" }, hAsync("span", { class: "warning-message" }, "Solo puedes filtrar en un rango m\u00E1ximo de ", this.maxDaysRange, " d\u00EDas.")))), hAsync("div", { class: "dpr-divider" }), hAsync("div", { class: "dpr-shortcuts" }, this.shortcuts.map((s, i) => (hAsync("button", { key: i, class: { 'shortcut-btn': true, 'shortcut-btn--active': this.activeRange === i }, onClick: () => this.selectShortcut(i), type: "button" }, s.label))))))));
8091
8251
  }
8092
8252
  static get watchers() { return {
8093
8253
  "startDate": [{
@@ -8117,7 +8277,8 @@ class DropiDatePickerRange {
8117
8277
  "open": [32],
8118
8278
  "viewYear": [32],
8119
8279
  "viewMonth": [32],
8120
- "hoverDate": [32]
8280
+ "hoverDate": [32],
8281
+ "viewMode": [32]
8121
8282
  },
8122
8283
  "$listeners$": [[4, "click", "handleDocClick"]],
8123
8284
  "$lazyBundleId$": "-",
@@ -8188,10 +8349,10 @@ class DropiDrawer {
8188
8349
  else
8189
8350
  panelStyle['height'] = this.height;
8190
8351
  }
8191
- return (hAsync("div", { key: 'e5138752d1821a27ec3b0396cdc3d09bc15f7c73', class: { 'drawer-host': true, 'drawer-host--open': this.open } }, hAsync("div", { key: 'ca7f2dff57eee0cc1d5a71486c8ce765b27c7307', class: "drawer-backdrop", onClick: () => {
8352
+ return (hAsync("div", { key: 'e173a207447ff88cba0f838844ae629a367a6c98', class: { 'drawer-host': true, 'drawer-host--open': this.open } }, hAsync("div", { key: '1a4b3990d1a4641abcdd53b535b84f99991d1a90', class: "drawer-backdrop", onClick: () => {
8192
8353
  if (this.closeOnBackdrop)
8193
8354
  this.close();
8194
- } }), hAsync("div", { key: '985b7c295391fa2326ee5880bed829910c56d082', class: `drawer-panel drawer-panel--${this.position}${sizeClass ? ' ' + sizeClass : ''}`, style: panelStyle, role: "dialog", "aria-modal": "true" }, hAsync("div", { key: 'be62a0009ab8c829cd20643552a66d17b8e877cf', class: { 'drawer-header': true, 'drawer-header--headless': this.headless } }, hAsync("h3", { key: 'e6f6a03c224c83fe8de9a2895a07bf93b9dbdea4', class: "drawer-header__title" }, this.drawerTitle), hAsync("button", { key: '66c251c8d8da1e0a0036f9bdeaeb6f09514dbfd4', class: "drawer-header__close", onClick: () => this.close(), "aria-label": "Cerrar" }, hAsync("dropi-icon", { key: '150a59e552636ec623d31926fc419ec36443cc22', name: "Close-small", iconWidth: "32px", iconHeight: "32px", color: "Gray-Gray-400" }))), hAsync("div", { key: '6982100fcf4e5ce4193bbff79baea9c557ad0722', class: "drawer-body" }, hAsync("slot", { key: '6ae61a0451322969ddb4684b77eb5851b942dd9a' })), hAsync("div", { key: '5d4df79ea4044d86edd51331a6c1cdd3a43bfc5d', class: "drawer-footer" }, hAsync("slot", { key: '49de1183444123c36076e20e882952b9d802a567', name: "footer" })))));
8355
+ } }), hAsync("div", { key: 'eb3042e7506a6d64f6461b5bb7f0a93048299d50', class: `drawer-panel drawer-panel--${this.position}${sizeClass ? ' ' + sizeClass : ''}`, style: panelStyle, role: "dialog", "aria-modal": "true" }, hAsync("div", { key: 'ce4468ae512bd70596313dbaa8a738666ff7ef5d', class: { 'drawer-header': true, 'drawer-header--headless': this.headless } }, hAsync("h3", { key: '30e6af93a4e697590a8dc79748ec4e52f31f42c7', class: "drawer-header__title" }, this.drawerTitle), hAsync("button", { key: '0a817e6236e51112812302ff320c15565071f3bc', class: "drawer-header__close", onClick: () => this.close(), "aria-label": "Cerrar" }, hAsync("dropi-icon", { key: 'c540300a8c5486f6957f0cb4c5e55a70daf17b39', name: "Close-small", iconWidth: "32px", iconHeight: "32px", color: "Gray-Gray-400" }))), hAsync("div", { key: '0b63274c3a8a810c06b1aec621209178499dae86', class: "drawer-body" }, hAsync("slot", { key: '26c6a31c6c8bd9ae409880d85748ed44f01941d0' })), hAsync("div", { key: 'be3dba11d475e95391e039e791f98d11c1625b5e', class: "drawer-footer" }, hAsync("slot", { key: 'e2e42a0543dd9a8fb6278711d948816dda1969a3', name: "footer" })))));
8195
8356
  }
8196
8357
  static get watchers() { return {
8197
8358
  "open": [{
@@ -8406,7 +8567,7 @@ class DropiEmptyState {
8406
8567
  }
8407
8568
  }
8408
8569
  render() {
8409
- return (hAsync("div", { key: '0d8767fe7139adbcc9ba962cfc554ac532678684', class: "empty-state" }, hAsync("div", { key: '3a250c2aab247e465a8b122420748c5ed6bb0e8a', class: "empty-state-visual" }, this.imageUrl ? (hAsync("img", { class: "empty-state-img", src: this.imageUrl, alt: this.imageAlt })) : (hAsync("div", { class: "empty-state-img", ref: (el) => { this.illustrationRef = el; } }))), this.title && hAsync("h3", { key: 'eb1717c48091ff1a05defc703a6a581e4cc2691b', class: "empty-state-title" }, this.title), this.description && hAsync("p", { key: '049ec39cffbc935a44ee8ade7832c80790ae086e', class: "empty-state-description" }, this.description), hAsync("slot", { key: 'e4498968e7f0cb0d505e55d9fe3d4b1bb3a51dc1' }), this.buttonText && (hAsync("div", { key: '1a1263395d6e20dfa89f9702557c064ea0255ef4', class: "empty-state-actions" }, hAsync("dropi-button", { key: '176b76887376c0520398e30cd1006139a163edc7', text: this.buttonText, preIcon: this.buttonIcon, severity: this.buttonSeverity, onClick: () => this.buttonClickEvent.emit() })))));
8570
+ return (hAsync("div", { key: '46fcf12a371b08151dfc230284baa3ac8e419352', class: "empty-state" }, hAsync("div", { key: 'fad7d4e048cf0ce9dab395f9191949a7c208295b', class: "empty-state-visual" }, this.imageUrl ? (hAsync("img", { class: "empty-state-img", src: this.imageUrl, alt: this.imageAlt })) : (hAsync("div", { class: "empty-state-img", ref: (el) => { this.illustrationRef = el; } }))), this.title && hAsync("h3", { key: '00e33a607397efab09aef662bf92f79bd37f9245', class: "empty-state-title" }, this.title), this.description && hAsync("p", { key: 'd1fda23fb22f0da491d82f5c18f910d0e3cfd4c1', class: "empty-state-description" }, this.description), hAsync("slot", { key: 'fbaae961ff6c1ffd8e0d8826a72e7ada230dd3e8' }), this.buttonText && (hAsync("div", { key: '107a1affbe36f8304e4c6d7fc5273cef8d0f88d9', class: "empty-state-actions" }, hAsync("dropi-button", { key: 'f5bdca1fe8a92d0acff1f2a2963fae5f457c7351', text: this.buttonText, preIcon: this.buttonIcon, severity: this.buttonSeverity, onClick: () => this.buttonClickEvent.emit() })))));
8410
8571
  }
8411
8572
  static get style() { return dropiEmptyStateCss(); }
8412
8573
  static get cmpMeta() { return {
@@ -8449,7 +8610,7 @@ class DropiFavoriteButton {
8449
8610
  this.toggleFavorite.emit(this.isFavorite);
8450
8611
  }
8451
8612
  render() {
8452
- return (hAsync("button", { key: 'da3d3c03b4c297f1d4bb754f8ade9222d3edc39d', class: { 'fav-btn': true, 'fav-btn--active': this.isFavorite }, onClick: () => this.toggle(), onMouseEnter: () => this.hovered = true, onMouseLeave: () => this.hovered = false, "aria-label": this.isFavorite ? 'Quitar de favoritos' : 'Agregar a favoritos', "aria-pressed": String(this.isFavorite) }, hAsync("dropi-icon", { key: '857967dd6982df82f5ac29db4370fa607369da34', name: this.isFavorite || this.hovered ? 'Heart-solid' : 'Heart', iconWidth: "19px", iconHeight: "19px", color: this.isFavorite || this.hovered ? 'Primary-Primary-500' : 'Gray-Gray-800' })));
8613
+ return (hAsync("button", { key: '92a8bc70796961d81151fcac6550a3bbf66751bc', class: { 'fav-btn': true, 'fav-btn--active': this.isFavorite }, onClick: () => this.toggle(), onMouseEnter: () => this.hovered = true, onMouseLeave: () => this.hovered = false, "aria-label": this.isFavorite ? 'Quitar de favoritos' : 'Agregar a favoritos', "aria-pressed": String(this.isFavorite) }, hAsync("dropi-icon", { key: '60eb9d714ad708c0d081de9e54205091a29889a6', name: this.isFavorite || this.hovered ? 'Heart-solid' : 'Heart', iconWidth: "19px", iconHeight: "19px", color: this.isFavorite || this.hovered ? 'Primary-Primary-500' : 'Gray-Gray-800' })));
8453
8614
  }
8454
8615
  static get style() { return dropiFavoriteButtonCss(); }
8455
8616
  static get cmpMeta() { return {
@@ -8697,7 +8858,7 @@ class DropiFileUpload {
8697
8858
  const cardFiles = files.filter(f => f.typeView === 'card');
8698
8859
  const showDropZone = files.length < (this.maxFiles ?? 1) && !this.isDropZoneHidden();
8699
8860
  const isSmall = this.dragAndDropSize === 'small';
8700
- return (hAsync("div", { key: 'e5f37c05ca644260f8c2ba4c549cdde8e908a570', class: "upload-container" }, (this.title || this.label) && (hAsync("div", { key: '493ff72b35f924431d94b6906d654a2413a59c47', class: "upload-header" }, this.title && hAsync("div", { key: '8fe37e760e44f5db9a5e42578a92d9a939661bf9', class: "text title" }, this.title), this.label && hAsync("div", { key: '3329bea57a935a907e47d2f40f82d3044e5992ad', class: "text label" }, this.label))), this.error && (hAsync("dropi-alert", { key: '1551176ccb8ec320df5eeea8b42f937a795c02a8', message: this.errorMessage, type: "default", state: "error", dismissable: true, showButton: false, onDropiClose: () => { this.error = false; } })), showDropZone && (hAsync("div", { key: '2522e795c006794c20bfea3534014227636cc4bd', class: { 'file-upload': true, 'drag-over': this.dragging }, onDragOver: (e) => this.onDragOver(e), onDragEnter: (e) => this.onDragEnter(e), onDragLeave: () => this.onDragLeave(), onDrop: (e) => this.onDrop(e) }, hAsync("div", { key: 'da75ce3acdf2d3490079c0d8c25bfadcdda49586', class: `file-upload__zone${this.dragging ? ' drag-over' : ''}` }, !isSmall && (hAsync("svg", { key: 'e9fb52b7ceda0e0e463ab26739b294bffdf9ea34', width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'dfec7aa24e681811dfc8d6ff3b721dec084aa4a0', d: "M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z", fill: "#FEF8F1" }), hAsync("g", { key: '9fffcd3ce8931d8b7beeb6417585a7eb7f222f96', "clip-path": "url(#up)" }, hAsync("path", { key: '6f1aec8a5a60f26c09645b2655e51c6aa7b34ca2', d: "M19.3379 13.7187L19.3332 24.0107C19.3332 24.1875 19.4035 24.357 19.5285 24.4821C19.6535 24.6071 19.8231 24.6773 19.9999 24.6773C20.1767 24.6773 20.3463 24.6071 20.4713 24.4821C20.5963 24.357 20.6666 24.1875 20.6666 24.0107L20.6712 13.73L22.6126 15.672C22.7376 15.797 22.9071 15.8672 23.0839 15.8672C23.2607 15.8672 23.4302 15.797 23.5552 15.672C23.6802 15.547 23.7504 15.3774 23.7504 15.2007C23.7504 15.0239 23.6802 14.8543 23.5552 14.7293L21.4145 12.586C21.2288 12.4001 21.0083 12.2527 20.7655 12.1521C20.5228 12.0515 20.2626 11.9998 19.9999 11.9998C19.7371 11.9998 19.477 12.0515 19.2342 12.1521C18.9915 12.2527 18.771 12.4001 18.5852 12.586L16.4445 14.7273C16.3196 14.8523 16.2494 15.0219 16.2494 15.1987C16.2494 15.3754 16.3196 15.545 16.4445 15.67C16.5696 15.795 16.7391 15.8652 16.9159 15.8652C17.0927 15.8652 17.2622 15.795 17.3872 15.67L19.3379 13.7187Z", fill: "#F49A3D" }), hAsync("path", { key: '0c194dc527a19345b9fabc55e24cca08987a486a', d: "M26.6667 23.3329V25.9996C26.6667 26.1764 26.5964 26.346 26.4714 26.471C26.3464 26.596 26.1768 26.6663 26 26.6663H14C13.8232 26.6663 13.6536 26.596 13.5286 26.471C13.4036 26.346 13.3333 26.1764 13.3333 25.9996V23.3329C13.3333 23.1561 13.2631 22.9865 13.1381 22.8615C13.013 22.7365 12.8435 22.6663 12.6667 22.6663C12.4899 22.6663 12.3203 22.7365 12.1953 22.8615C12.0702 22.9865 12 23.1561 12 23.3329V25.9996C12 26.53 12.2107 27.0387 12.5858 27.4138C12.9609 27.7889 13.4696 27.9996 14 27.9996H26C26.5304 27.9996 27.0391 27.7889 27.4142 27.4138C27.7893 27.0387 28 26.53 28 25.9996V23.3329C28 23.1561 27.9298 22.9865 27.8047 22.8615C27.6797 22.7365 27.5101 22.6663 27.3333 22.6663C27.1565 22.6663 26.987 22.7365 26.8619 22.8615C26.7369 22.9865 26.6667 23.1561 26.6667 23.3329Z", fill: "#F49A3D" })), hAsync("defs", { key: '9b8c3526d936553239141c3cb4f81212377b5811' }, hAsync("clipPath", { key: '1be0970786af27a069ea237ec5bbd5292891b0cd', id: "up" }, hAsync("rect", { key: '5dbf5e86d6a7a9f07f9ada6e0c2d132b4eebd969', width: "16", height: "16", fill: "white", transform: "translate(12 12)" }))))), hAsync("div", { key: '5d06acbe6b129e60a49ae97c04bcd906e9abdfb9', class: isSmall ? 'info size-small-upload' : 'info' }, hAsync("div", { key: '30faf6e1ce359a4f2ed477a84c062994c3713506', class: "title" }, this.textDropZone), isSmall && (hAsync("dropi-button", { key: 'e6c3d40ff6c4c8b6381a7f0f49eedfbd407c0687', text: this.textButton, size: "small", onClick: (e) => { e.stopPropagation(); this.openFilePicker(); } }))), !isSmall && (hAsync("div", { key: '2680ec20dc360e2ccadb9a677569a5d51ebe2009', class: "info-desc" }, this.accept && hAsync("div", { key: '2ced48c536a4c9385b6941141f78566cf1624db6', class: "description" }, "Formatos admitidos: ", this.accept), hAsync("div", { key: '58bf63818e70de35113be94c9bf20bcd728d88ae', class: "description" }, "Tama\u00F1o m\u00E1ximo: ", this.maxFileSizeMB, "MB"))), !isSmall && (hAsync("dropi-button", { key: '96b20bf6d68b8e3f2572784ed8f27ffff4336cd1', text: this.textButton, size: "small", onClick: (e) => { e.stopPropagation(); this.openFilePicker(); } })), hAsync("input", { key: '3fefcd08176ad885be131d5be25b8a25e874da47', ref: (el) => this.inputRef = el, type: "file", accept: this.accept, multiple: this.multiple, class: "upload-hidden", onChange: (e) => this.onInputChange(e) })))), this.selectedFiles.length > 0 && (hAsync("div", { key: 'ab0c9d2d0067e594a2c5047f86ed4ca0a9f576cb', class: "files-container" }, gridFiles.length > 0 && (hAsync("div", { key: '13894a0c569b88051fe0dc695839562e054862e2', class: "grid-list" }, gridFiles.map(f => this.renderGridItem(f)), gridFiles.length < this.maxFiles && (hAsync("div", { key: 'ba4ff34d4e686891b056cd4f189741ace807294c', class: "add-img", onClick: () => this.addImage() }, hAsync("div", { key: '95c341ae449bb857fc39563ba3fec9764139d429', class: "icon" }, hAsync("svg", { key: '28dcdb54a5856683c455d11864af4e2f7ecc0414', width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '50514d670498a1fbdaee785b0a883aebc5f4b66c', d: "M9.77774 6.4444H7.55551V4.22218C7.55551 4.07484 7.49698 3.93353 7.3928 3.82934C7.28861 3.72516 7.1473 3.66663 6.99996 3.66663C6.85262 3.66663 6.71131 3.72516 6.60712 3.82934C6.50294 3.93353 6.4444 4.07484 6.4444 4.22218V6.4444H4.22218C4.07484 6.4444 3.93353 6.50294 3.82934 6.60712C3.72516 6.71131 3.66663 6.85262 3.66663 6.99996C3.66663 7.1473 3.72516 7.28861 3.82934 7.3928C3.93353 7.49698 4.07484 7.55551 4.22218 7.55551H6.4444V9.77774C6.4444 9.92508 6.50294 10.0664 6.60712 10.1706C6.71131 10.2748 6.85262 10.3333 6.99996 10.3333C7.1473 10.3333 7.28861 10.2748 7.3928 10.1706C7.49698 10.0664 7.55551 9.92508 7.55551 9.77774V7.55551H9.77774C9.92508 7.55551 10.0664 7.49698 10.1706 7.3928C10.2748 7.28861 10.3333 7.1473 10.3333 6.99996C10.3333 6.85262 10.2748 6.71131 10.1706 6.60712C10.0664 6.50294 9.92508 6.4444 9.77774 6.4444Z", fill: "#32394D" }))), hAsync("div", { key: '44a13026e2324e33d1a5432b371fc89019e1909e', class: "text" }, "Agregar"))))), cardFiles.length > 0 && (hAsync("div", { key: 'e66fbbc9aad1dc78030e62e89c2470b018563655', class: "card-list" }, cardFiles.map(f => this.renderCardItem(f))))))));
8861
+ return (hAsync("div", { key: '53a6c0062929bef4c8223e0c4e52a0050165a800', class: "upload-container" }, (this.title || this.label) && (hAsync("div", { key: '7cbf5d99bf080c8150271922e843e75fd00345b2', class: "upload-header" }, this.title && hAsync("div", { key: '8739652541b7e9207cf9eecb4a5364bdb2681928', class: "text title" }, this.title), this.label && hAsync("div", { key: 'a5f93bc2a2a45c8097f9e057014863a62e2ea2db', class: "text label" }, this.label))), this.error && (hAsync("dropi-alert", { key: 'bcf90dfde5556dc69e832384e2eaa3b655ad3038', message: this.errorMessage, type: "default", state: "error", dismissable: true, showButton: false, onDropiClose: () => { this.error = false; } })), showDropZone && (hAsync("div", { key: '6a8f194bd7f84a72b0a76499fc627cf039a7a5cc', class: { 'file-upload': true, 'drag-over': this.dragging }, onDragOver: (e) => this.onDragOver(e), onDragEnter: (e) => this.onDragEnter(e), onDragLeave: () => this.onDragLeave(), onDrop: (e) => this.onDrop(e) }, hAsync("div", { key: 'e1b60b9cac11bab0dc0dc5909e27816cbfa9873b', class: `file-upload__zone${this.dragging ? ' drag-over' : ''}` }, !isSmall && (hAsync("svg", { key: 'd3d6613058ca61eed4ae3c14d0de036ba25e096c', width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '6e6dad9c5ace86f8bae848a596b85559a00afc00', d: "M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z", fill: "#FEF8F1" }), hAsync("g", { key: '3cfcd89899ad365af2c1e2f948dd14e9418a6b7b', "clip-path": "url(#up)" }, hAsync("path", { key: 'f685ed115915f53fd0d06cac49f8a6597f605ebd', d: "M19.3379 13.7187L19.3332 24.0107C19.3332 24.1875 19.4035 24.357 19.5285 24.4821C19.6535 24.6071 19.8231 24.6773 19.9999 24.6773C20.1767 24.6773 20.3463 24.6071 20.4713 24.4821C20.5963 24.357 20.6666 24.1875 20.6666 24.0107L20.6712 13.73L22.6126 15.672C22.7376 15.797 22.9071 15.8672 23.0839 15.8672C23.2607 15.8672 23.4302 15.797 23.5552 15.672C23.6802 15.547 23.7504 15.3774 23.7504 15.2007C23.7504 15.0239 23.6802 14.8543 23.5552 14.7293L21.4145 12.586C21.2288 12.4001 21.0083 12.2527 20.7655 12.1521C20.5228 12.0515 20.2626 11.9998 19.9999 11.9998C19.7371 11.9998 19.477 12.0515 19.2342 12.1521C18.9915 12.2527 18.771 12.4001 18.5852 12.586L16.4445 14.7273C16.3196 14.8523 16.2494 15.0219 16.2494 15.1987C16.2494 15.3754 16.3196 15.545 16.4445 15.67C16.5696 15.795 16.7391 15.8652 16.9159 15.8652C17.0927 15.8652 17.2622 15.795 17.3872 15.67L19.3379 13.7187Z", fill: "#F49A3D" }), hAsync("path", { key: '49242cfde754e607ae1577c29e63c94c1bf1634d', d: "M26.6667 23.3329V25.9996C26.6667 26.1764 26.5964 26.346 26.4714 26.471C26.3464 26.596 26.1768 26.6663 26 26.6663H14C13.8232 26.6663 13.6536 26.596 13.5286 26.471C13.4036 26.346 13.3333 26.1764 13.3333 25.9996V23.3329C13.3333 23.1561 13.2631 22.9865 13.1381 22.8615C13.013 22.7365 12.8435 22.6663 12.6667 22.6663C12.4899 22.6663 12.3203 22.7365 12.1953 22.8615C12.0702 22.9865 12 23.1561 12 23.3329V25.9996C12 26.53 12.2107 27.0387 12.5858 27.4138C12.9609 27.7889 13.4696 27.9996 14 27.9996H26C26.5304 27.9996 27.0391 27.7889 27.4142 27.4138C27.7893 27.0387 28 26.53 28 25.9996V23.3329C28 23.1561 27.9298 22.9865 27.8047 22.8615C27.6797 22.7365 27.5101 22.6663 27.3333 22.6663C27.1565 22.6663 26.987 22.7365 26.8619 22.8615C26.7369 22.9865 26.6667 23.1561 26.6667 23.3329Z", fill: "#F49A3D" })), hAsync("defs", { key: 'f1ede9ee7ad2d7498553431c83005c485342ef3a' }, hAsync("clipPath", { key: '877741b31ad66e301291cca2a39b4d2fb0b05569', id: "up" }, hAsync("rect", { key: '337f7c89c3cbbdaeafd38413c85e4ce9c0961432', width: "16", height: "16", fill: "white", transform: "translate(12 12)" }))))), hAsync("div", { key: '277a7354341ce2a4d47d417ef8bdcd8c4914fa16', class: isSmall ? 'info size-small-upload' : 'info' }, hAsync("div", { key: 'ae2e22bd7d02c70eb20435c5044ec67707a76c27', class: "title" }, this.textDropZone), isSmall && (hAsync("dropi-button", { key: 'e4a465cb0a1c4df657b4f97d9358373266d5a184', text: this.textButton, size: "small", onClick: (e) => { e.stopPropagation(); this.openFilePicker(); } }))), !isSmall && (hAsync("div", { key: '91580967159ab227dacb03ffc289f414c02e5912', class: "info-desc" }, this.accept && hAsync("div", { key: '16ef9fbeb7dc572f8f5ebf1153fc8f1df73d35ca', class: "description" }, "Formatos admitidos: ", this.accept), hAsync("div", { key: 'a46265cd28533f4d8762efbb7010630b89a53156', class: "description" }, "Tama\u00F1o m\u00E1ximo: ", this.maxFileSizeMB, "MB"))), !isSmall && (hAsync("dropi-button", { key: '43ee9e62526ead6be2db1efdd93ed97b00adccb6', text: this.textButton, size: "small", onClick: (e) => { e.stopPropagation(); this.openFilePicker(); } })), hAsync("input", { key: 'c1e074ebeccda45a7a732f875c95606ed080c6cc', ref: (el) => this.inputRef = el, type: "file", accept: this.accept, multiple: this.multiple, class: "upload-hidden", onChange: (e) => this.onInputChange(e) })))), this.selectedFiles.length > 0 && (hAsync("div", { key: 'c0159af79236ecb940173fb32677d488f622f434', class: "files-container" }, gridFiles.length > 0 && (hAsync("div", { key: '4ab957bf55cdfed0ea56c56ecccb3738ee0eed72', class: "grid-list" }, gridFiles.map(f => this.renderGridItem(f)), gridFiles.length < this.maxFiles && (hAsync("div", { key: 'b9a171ce8a3d79362131e90d5b9ca3f72e5c4a5c', class: "add-img", onClick: () => this.addImage() }, hAsync("div", { key: 'c6a165d81b91f15a18c64b5cd22da22a5eeef6e0', class: "icon" }, hAsync("svg", { key: '6e89310ce178bc2b981aa9fdcd854568b682f55a', width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'c3f7d47b4bedd9431283a0d2706cf1c24b811b78', d: "M9.77774 6.4444H7.55551V4.22218C7.55551 4.07484 7.49698 3.93353 7.3928 3.82934C7.28861 3.72516 7.1473 3.66663 6.99996 3.66663C6.85262 3.66663 6.71131 3.72516 6.60712 3.82934C6.50294 3.93353 6.4444 4.07484 6.4444 4.22218V6.4444H4.22218C4.07484 6.4444 3.93353 6.50294 3.82934 6.60712C3.72516 6.71131 3.66663 6.85262 3.66663 6.99996C3.66663 7.1473 3.72516 7.28861 3.82934 7.3928C3.93353 7.49698 4.07484 7.55551 4.22218 7.55551H6.4444V9.77774C6.4444 9.92508 6.50294 10.0664 6.60712 10.1706C6.71131 10.2748 6.85262 10.3333 6.99996 10.3333C7.1473 10.3333 7.28861 10.2748 7.3928 10.1706C7.49698 10.0664 7.55551 9.92508 7.55551 9.77774V7.55551H9.77774C9.92508 7.55551 10.0664 7.49698 10.1706 7.3928C10.2748 7.28861 10.3333 7.1473 10.3333 6.99996C10.3333 6.85262 10.2748 6.71131 10.1706 6.60712C10.0664 6.50294 9.92508 6.4444 9.77774 6.4444Z", fill: "#32394D" }))), hAsync("div", { key: '0b335f0d575d63566a2a8e440029240889710246', class: "text" }, "Agregar"))))), cardFiles.length > 0 && (hAsync("div", { key: '5a6b3e6b24dbbd59199c9f602b2e1d5edae59e0e', class: "card-list" }, cardFiles.map(f => this.renderCardItem(f))))))));
8701
8862
  }
8702
8863
  static get style() { return dropiFileUploadCss(); }
8703
8864
  static get cmpMeta() { return {
@@ -8791,7 +8952,7 @@ class DropiFileUploadProgressBar {
8791
8952
  };
8792
8953
  }
8793
8954
  render() {
8794
- return (hAsync("div", { key: '7de4db6162b6c7cea620c37bbd9dca5ae48ac26c', class: "container-progress-bar" }, hAsync("div", { key: '17f46bfb02d60643be4fea506aec6b00947a3700', class: "container-icon-info", style: { display: this.fileExtension !== 'pdf' ? 'flex' : 'none' } }, this.type !== 'image' && (hAsync("dropi-icon", { key: '43a34efb7bb1f5915758c9f04f06d354c028c8fd', name: "File-text", iconWidth: "24px", iconHeight: "24px", color: "Info-Info-600" })), this.type === 'image' && !this.urlImage && (hAsync("div", { key: 'a55ea895221f090db621162a265373c4cb71879b', style: { width: '34px', height: '34px', borderRadius: '8px', background: 'var(--Gray-Gray-100)' } })), this.type === 'image' && this.urlImage && (hAsync("img", { key: '85a7a6b045aa4447c03aef43060189eab84743d3', src: this.urlImage, class: "image-to-view", width: "34", height: "34", alt: "" }))), this.fileExtension === 'pdf' && (hAsync("div", { key: '4736fdefc583b44b9d19e397cc6662aa4bb71ef6', class: "icon-pdf" }, hAsync("svg", { key: '9e6e7074855d676bac56d856c94ed37534256193', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, hAsync("g", { key: '91fd32e4f2946a6cf4ddfbb7febbc43977d7a3e4', "clip-path": "url(#clip0_6227_22223)" }, hAsync("path", { key: 'bb19f6eea9ccc07d2c74cca23a20902e228ec876', d: "M16.6243 4.61667L13.716 1.70833C12.616 0.608333 11.1493 0 9.59102 0H5.83268C3.53268 0 1.66602 1.86667 1.66602 4.16667V15.8333C1.66602 18.1333 3.53268 20 5.83268 20H14.166C16.466 20 18.3327 18.1333 18.3327 15.8333V8.74167C18.3327 7.18333 17.7243 5.71667 16.6243 4.61667ZM15.4493 5.79167C15.716 6.05833 15.941 6.35 16.1243 6.66667H12.5077C12.0493 6.66667 11.6743 6.29167 11.6743 5.83333V2.21667C11.991 2.4 12.2827 2.625 12.5493 2.89167L15.4577 5.8L15.4493 5.79167ZM16.666 15.8333C16.666 17.2083 15.541 18.3333 14.166 18.3333H5.83268C4.45768 18.3333 3.33268 17.2083 3.33268 15.8333V4.16667C3.33268 2.79167 4.45768 1.66667 5.83268 1.66667H9.59102C9.72435 1.66667 9.86602 1.66667 9.99935 1.68333V5.83333C9.99935 7.20833 11.1243 8.33333 12.4993 8.33333H16.6493C16.666 8.46667 16.666 8.6 16.666 8.74167V15.8333ZM5.90768 10.8333H4.99935C4.54102 10.8333 4.16602 11.2083 4.16602 11.6667V15.3667C4.16602 15.6583 4.39935 15.8833 4.68268 15.8833C4.96602 15.8833 5.19935 15.65 5.19935 15.3667V14.35H5.89935C6.88268 14.35 7.68268 13.5583 7.68268 12.5917C7.68268 11.625 6.88268 10.8333 5.89935 10.8333H5.90768ZM5.90768 13.3083H5.21602V11.875H5.91602C6.31602 11.875 6.65768 12.2 6.65768 12.5917C6.65768 12.9833 6.31602 13.3083 5.91602 13.3083H5.90768ZM15.8493 11.3583C15.8493 11.65 15.616 11.875 15.3327 11.875H13.9243V12.825H14.9577C15.2493 12.825 15.4743 13.0583 15.4743 13.3417C15.4743 13.625 15.241 13.8583 14.9577 13.8583H13.9243V15.3583C13.9243 15.65 13.691 15.875 13.4077 15.875C13.1243 15.875 12.891 15.6417 12.891 15.3583V11.35C12.891 11.0583 13.1243 10.8333 13.4077 10.8333H15.3327C15.6243 10.8333 15.8493 11.0667 15.8493 11.35V11.3583ZM10.0743 10.8417H9.16602C8.70768 10.8417 8.33268 11.2167 8.33268 11.675V15.375C8.33268 15.6667 8.56602 15.8417 8.84935 15.8417C9.13268 15.8417 10.066 15.8417 10.066 15.8417C11.0493 15.8417 11.8493 15.05 11.8493 14.0833V12.6C11.8493 11.6333 11.0493 10.8417 10.066 10.8417H10.0743ZM10.816 14.0833C10.816 14.475 10.4743 14.8 10.0743 14.8H9.38268V11.8833H10.0827C10.4827 11.8833 10.8243 12.2083 10.8243 12.6V14.0833H10.816Z", fill: "#DE6061" })), hAsync("defs", { key: '6b761a9e96b13b85dbd2d87b0b1c108450f3c3a0' }, hAsync("clipPath", { key: 'c019250b1926e389eb053c10f9c1c67e0b11e55a', id: "clip0_6227_22223" }, hAsync("rect", { key: 'ced06b676a19158d7e93f41a8c4a47c7cd355dd2', width: "20", height: "20", fill: "white" })))))), hAsync("div", { key: 'c1ddf6e727ce42bf5be1f534f706195fae7fdd3d', class: "container-bar-title" }, hAsync("p", { key: 'a6707326b8351ba93f61d969347db84c9627d597' }, this.textFile), hAsync("progress", { key: 'b118931b77a2f51b3a8813bfc7676147d189d566', value: this.progress, max: "100" })), this.progress === 100 && this.isPreview && (hAsync("div", { key: '648edb23c1a2cba83ea7fda5dd02471b5e4dfb35', class: "view-icon", onClick: () => this.viewFile.emit() }, hAsync("svg", { key: '134717d673466a552625eaf167951f1d6c0942c0', xmlns: "http://www.w3.org/2000/svg", width: "18", height: "14", viewBox: "0 0 18 14", fill: "none" }, hAsync("path", { key: 'a80c09f43697d6fe264fdd6df7e43e004dce9f0c', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.07148 4.14758C7.64227 3.76618 8.31334 3.56262 8.99983 3.56262C9.92004 3.56372 10.8022 3.92976 11.4529 4.58045C12.1036 5.23114 12.4697 6.11334 12.4708 7.03355C12.4708 7.72004 12.2672 8.39111 11.8858 8.9619C11.5044 9.53269 10.9623 9.97757 10.3281 10.2403C9.69387 10.503 8.99598 10.5717 8.32268 10.4378C7.64939 10.3039 7.03092 9.9733 6.54551 9.48788C6.06009 9.00246 5.72951 8.384 5.59558 7.7107C5.46166 7.0374 5.53039 6.33951 5.7931 5.70528C6.05581 5.07105 6.50069 4.52897 7.07148 4.14758ZM7.84282 8.76514C8.18529 8.99398 8.58794 9.11612 8.99983 9.11612C9.55216 9.11612 10.0819 8.8967 10.4724 8.50615C10.863 8.11559 11.0824 7.58588 11.0824 7.03355C11.0824 6.62166 10.9602 6.21902 10.7314 5.87654C10.5026 5.53407 10.1773 5.26714 9.79679 5.10952C9.41625 4.95189 8.99752 4.91065 8.59354 4.99101C8.18956 5.07136 7.81849 5.26971 7.52723 5.56096C7.23598 5.85221 7.03764 6.22329 6.95728 6.62727C6.87693 7.03124 6.91817 7.44998 7.07579 7.83052C7.23342 8.21105 7.50034 8.53631 7.84282 8.76514Z", fill: "#475066" }), hAsync("path", { key: '12fc2332c38fd8c41319d47744e0f5e0b40c1f6b', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.99996 0.546387C13.2984 0.546387 15.7475 3.48835 16.8241 5.24187C17.157 5.78022 17.3333 6.40064 17.3333 7.03357C17.3333 7.6665 17.157 8.28692 16.8241 8.82526C15.7475 10.5788 13.2984 13.5207 8.99996 13.5207C4.70155 13.5207 2.25246 10.5788 1.17577 8.82526C0.842931 8.28692 0.666626 7.6665 0.666626 7.03357C0.666626 6.40064 0.842931 5.78022 1.17577 5.24187C2.25246 3.48835 4.70155 0.546387 8.99996 0.546387ZM8.99996 12.1324C12.6229 12.1324 14.7159 9.60206 15.6406 8.09845C15.8383 7.77846 15.943 7.40973 15.943 7.03357C15.943 6.6574 15.8383 6.28867 15.6406 5.96868C14.7159 4.4623 12.6229 1.93476 8.99996 1.93476C5.377 1.93476 3.28402 4.46507 2.35936 5.96868C2.16161 6.28867 2.05687 6.6574 2.05687 7.03357C2.05687 7.40973 2.16161 7.77846 2.35936 8.09845C3.28402 9.60206 5.377 12.1324 8.99996 12.1324Z", fill: "#475066" })))), this.progress === 100 && !this.disabled && (hAsync("div", { key: '1b93e90541615b5b45cabff2262cfc1668563f82', class: "container-icon-trash", onClick: () => this.deleteFile.emit() }, hAsync("svg", { key: 'b95127b8ee2ba3aeb6aaeb4050f194097a8dfa05', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "21", viewBox: "0 0 20 21", fill: "none" }, hAsync("path", { key: '33534ae79504bfa0c1d1ee3f9c132ba4bc1a3a82', d: "M16.2501 4.94477H14.0973C13.9362 4.16103 13.5097 3.45682 12.8899 2.95082C12.27 2.44483 11.4947 2.168 10.6946 2.16699H9.30566C8.50552 2.168 7.73019 2.44483 7.11035 2.95082C6.49051 3.45682 6.06406 4.16103 5.90289 4.94477H3.75011C3.56593 4.94477 3.3893 5.01793 3.25906 5.14817C3.12883 5.2784 3.05566 5.45504 3.05566 5.63921C3.05566 5.82339 3.12883 6.00003 3.25906 6.13026C3.3893 6.26049 3.56593 6.33366 3.75011 6.33366H4.44455V15.3614C4.44566 16.282 4.81183 17.1645 5.46276 17.8155C6.11369 18.4664 6.99622 18.8326 7.91677 18.8337H12.0834C13.004 18.8326 13.8865 18.4664 14.5375 17.8155C15.1884 17.1645 15.5546 16.282 15.5557 15.3614V6.33366H16.2501C16.4343 6.33366 16.6109 6.26049 16.7412 6.13026C16.8714 6.00003 16.9446 5.82339 16.9446 5.63921C16.9446 5.45504 16.8714 5.2784 16.7412 5.14817C16.6109 5.01793 16.4343 4.94477 16.2501 4.94477ZM9.30566 3.55588H10.6946C11.1253 3.55641 11.5453 3.69017 11.8971 3.93883C12.2488 4.18749 12.515 4.53886 12.6591 4.94477H7.34108C7.48524 4.53886 7.75143 4.18749 8.10315 3.93883C8.45488 3.69017 8.87492 3.55641 9.30566 3.55588ZM14.1668 15.3614C14.1668 15.914 13.9473 16.4439 13.5566 16.8346C13.1659 17.2253 12.636 17.4448 12.0834 17.4448H7.91677C7.36424 17.4448 6.83434 17.2253 6.44364 16.8346C6.05294 16.4439 5.83344 15.914 5.83344 15.3614V6.33366H14.1668V15.3614Z", fill: "#DE6061" }), hAsync("path", { key: '56a2b6323d63c9d06fcb5044cb4aae51823fb357', d: "M8.61128 14.6666C8.79545 14.6666 8.97209 14.5934 9.10232 14.4632C9.23256 14.3329 9.30572 14.1563 9.30572 13.9721V9.80545C9.30572 9.62127 9.23256 9.44464 9.10232 9.3144C8.97209 9.18417 8.79545 9.11101 8.61128 9.11101C8.4271 9.11101 8.25046 9.18417 8.12023 9.3144C7.99 9.44464 7.91683 9.62127 7.91683 9.80545V13.9721C7.91683 14.1563 7.99 14.3329 8.12023 14.4632C8.25046 14.5934 8.4271 14.6666 8.61128 14.6666Z", fill: "#DE6061" }), hAsync("path", { key: '2487b04fb28c8d9f6e4cc2d325b9983e2c8c4cf5', d: "M11.389 14.6666C11.5731 14.6666 11.7498 14.5934 11.88 14.4632C12.0102 14.3329 12.0834 14.1563 12.0834 13.9721V9.80545C12.0834 9.62127 12.0102 9.44464 11.88 9.3144C11.7498 9.18417 11.5731 9.11101 11.389 9.11101C11.2048 9.11101 11.0281 9.18417 10.8979 9.3144C10.7677 9.44464 10.6945 9.62127 10.6945 9.80545V13.9721C10.6945 14.1563 10.7677 14.3329 10.8979 14.4632C11.0281 14.5934 11.2048 14.6666 11.389 14.6666Z", fill: "#DE6061" }))))));
8955
+ return (hAsync("div", { key: '9a1cff54d6ab96637e149accd7cb08d5c5e6e516', class: "container-progress-bar" }, hAsync("div", { key: '76330324e1429af78b58cee49a22df5af3ed44f1', class: "container-icon-info", style: { display: this.fileExtension !== 'pdf' ? 'flex' : 'none' } }, this.type !== 'image' && (hAsync("dropi-icon", { key: '44aeacefe3b1d18ac8f55ccd5693b27747b15e9b', name: "File-text", iconWidth: "24px", iconHeight: "24px", color: "Info-Info-600" })), this.type === 'image' && !this.urlImage && (hAsync("div", { key: '416fc3b7387f05439d98f08a91505ae9e352c56d', style: { width: '34px', height: '34px', borderRadius: '8px', background: 'var(--Gray-Gray-100)' } })), this.type === 'image' && this.urlImage && (hAsync("img", { key: '992ad464b90cb9503b004324c441aa0baaaedb0a', src: this.urlImage, class: "image-to-view", width: "34", height: "34", alt: "" }))), this.fileExtension === 'pdf' && (hAsync("div", { key: '33730ac6969b34483f0aeb433acbccd17513b6c0', class: "icon-pdf" }, hAsync("svg", { key: '52b10ba62661a375c42b27b67e2f97a3edf3b1e9', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, hAsync("g", { key: '18b96ab58cee059d63413ec9174ecb54a3720f25', "clip-path": "url(#clip0_6227_22223)" }, hAsync("path", { key: '344b8601ca32790c8d13b4227bc64f5438db6eae', d: "M16.6243 4.61667L13.716 1.70833C12.616 0.608333 11.1493 0 9.59102 0H5.83268C3.53268 0 1.66602 1.86667 1.66602 4.16667V15.8333C1.66602 18.1333 3.53268 20 5.83268 20H14.166C16.466 20 18.3327 18.1333 18.3327 15.8333V8.74167C18.3327 7.18333 17.7243 5.71667 16.6243 4.61667ZM15.4493 5.79167C15.716 6.05833 15.941 6.35 16.1243 6.66667H12.5077C12.0493 6.66667 11.6743 6.29167 11.6743 5.83333V2.21667C11.991 2.4 12.2827 2.625 12.5493 2.89167L15.4577 5.8L15.4493 5.79167ZM16.666 15.8333C16.666 17.2083 15.541 18.3333 14.166 18.3333H5.83268C4.45768 18.3333 3.33268 17.2083 3.33268 15.8333V4.16667C3.33268 2.79167 4.45768 1.66667 5.83268 1.66667H9.59102C9.72435 1.66667 9.86602 1.66667 9.99935 1.68333V5.83333C9.99935 7.20833 11.1243 8.33333 12.4993 8.33333H16.6493C16.666 8.46667 16.666 8.6 16.666 8.74167V15.8333ZM5.90768 10.8333H4.99935C4.54102 10.8333 4.16602 11.2083 4.16602 11.6667V15.3667C4.16602 15.6583 4.39935 15.8833 4.68268 15.8833C4.96602 15.8833 5.19935 15.65 5.19935 15.3667V14.35H5.89935C6.88268 14.35 7.68268 13.5583 7.68268 12.5917C7.68268 11.625 6.88268 10.8333 5.89935 10.8333H5.90768ZM5.90768 13.3083H5.21602V11.875H5.91602C6.31602 11.875 6.65768 12.2 6.65768 12.5917C6.65768 12.9833 6.31602 13.3083 5.91602 13.3083H5.90768ZM15.8493 11.3583C15.8493 11.65 15.616 11.875 15.3327 11.875H13.9243V12.825H14.9577C15.2493 12.825 15.4743 13.0583 15.4743 13.3417C15.4743 13.625 15.241 13.8583 14.9577 13.8583H13.9243V15.3583C13.9243 15.65 13.691 15.875 13.4077 15.875C13.1243 15.875 12.891 15.6417 12.891 15.3583V11.35C12.891 11.0583 13.1243 10.8333 13.4077 10.8333H15.3327C15.6243 10.8333 15.8493 11.0667 15.8493 11.35V11.3583ZM10.0743 10.8417H9.16602C8.70768 10.8417 8.33268 11.2167 8.33268 11.675V15.375C8.33268 15.6667 8.56602 15.8417 8.84935 15.8417C9.13268 15.8417 10.066 15.8417 10.066 15.8417C11.0493 15.8417 11.8493 15.05 11.8493 14.0833V12.6C11.8493 11.6333 11.0493 10.8417 10.066 10.8417H10.0743ZM10.816 14.0833C10.816 14.475 10.4743 14.8 10.0743 14.8H9.38268V11.8833H10.0827C10.4827 11.8833 10.8243 12.2083 10.8243 12.6V14.0833H10.816Z", fill: "#DE6061" })), hAsync("defs", { key: '9ae2724b7a4bc69e7d56d31672c59b8a59603c14' }, hAsync("clipPath", { key: '925d2de4afd87a7a92ede37730872e8f94d88e14', id: "clip0_6227_22223" }, hAsync("rect", { key: '59e3907da52ab8f253d095150366cd8c4ad0ef10', width: "20", height: "20", fill: "white" })))))), hAsync("div", { key: '728ef5d61364f355f0a578f2cf2671b4ef9ae521', class: "container-bar-title" }, hAsync("p", { key: '0ff7872cfa5bfa6965ac637d9aec9bd0b6ef33ea' }, this.textFile), hAsync("progress", { key: '6723a5b4d6cbaa66f86de3ccaf07070720d8268d', value: this.progress, max: "100" })), this.progress === 100 && this.isPreview && (hAsync("div", { key: '4866e4eab7b6a2a208dd898ccf41d185cc3b32d9', class: "view-icon", onClick: () => this.viewFile.emit() }, hAsync("svg", { key: '4a20733a809c89b7d298986d7546d91ca0b28e91', xmlns: "http://www.w3.org/2000/svg", width: "18", height: "14", viewBox: "0 0 18 14", fill: "none" }, hAsync("path", { key: '54099a7f02bc603ab33b2a42a5c70e3988ead535', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.07148 4.14758C7.64227 3.76618 8.31334 3.56262 8.99983 3.56262C9.92004 3.56372 10.8022 3.92976 11.4529 4.58045C12.1036 5.23114 12.4697 6.11334 12.4708 7.03355C12.4708 7.72004 12.2672 8.39111 11.8858 8.9619C11.5044 9.53269 10.9623 9.97757 10.3281 10.2403C9.69387 10.503 8.99598 10.5717 8.32268 10.4378C7.64939 10.3039 7.03092 9.9733 6.54551 9.48788C6.06009 9.00246 5.72951 8.384 5.59558 7.7107C5.46166 7.0374 5.53039 6.33951 5.7931 5.70528C6.05581 5.07105 6.50069 4.52897 7.07148 4.14758ZM7.84282 8.76514C8.18529 8.99398 8.58794 9.11612 8.99983 9.11612C9.55216 9.11612 10.0819 8.8967 10.4724 8.50615C10.863 8.11559 11.0824 7.58588 11.0824 7.03355C11.0824 6.62166 10.9602 6.21902 10.7314 5.87654C10.5026 5.53407 10.1773 5.26714 9.79679 5.10952C9.41625 4.95189 8.99752 4.91065 8.59354 4.99101C8.18956 5.07136 7.81849 5.26971 7.52723 5.56096C7.23598 5.85221 7.03764 6.22329 6.95728 6.62727C6.87693 7.03124 6.91817 7.44998 7.07579 7.83052C7.23342 8.21105 7.50034 8.53631 7.84282 8.76514Z", fill: "#475066" }), hAsync("path", { key: '50b4ec230be5bd6945865082bb341a808de5e2f5', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.99996 0.546387C13.2984 0.546387 15.7475 3.48835 16.8241 5.24187C17.157 5.78022 17.3333 6.40064 17.3333 7.03357C17.3333 7.6665 17.157 8.28692 16.8241 8.82526C15.7475 10.5788 13.2984 13.5207 8.99996 13.5207C4.70155 13.5207 2.25246 10.5788 1.17577 8.82526C0.842931 8.28692 0.666626 7.6665 0.666626 7.03357C0.666626 6.40064 0.842931 5.78022 1.17577 5.24187C2.25246 3.48835 4.70155 0.546387 8.99996 0.546387ZM8.99996 12.1324C12.6229 12.1324 14.7159 9.60206 15.6406 8.09845C15.8383 7.77846 15.943 7.40973 15.943 7.03357C15.943 6.6574 15.8383 6.28867 15.6406 5.96868C14.7159 4.4623 12.6229 1.93476 8.99996 1.93476C5.377 1.93476 3.28402 4.46507 2.35936 5.96868C2.16161 6.28867 2.05687 6.6574 2.05687 7.03357C2.05687 7.40973 2.16161 7.77846 2.35936 8.09845C3.28402 9.60206 5.377 12.1324 8.99996 12.1324Z", fill: "#475066" })))), this.progress === 100 && !this.disabled && (hAsync("div", { key: '5b3d075f123d43f38eb147071082fb41104144a3', class: "container-icon-trash", onClick: () => this.deleteFile.emit() }, hAsync("svg", { key: '961615602fd1496823409ca31cee5c701bea16af', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "21", viewBox: "0 0 20 21", fill: "none" }, hAsync("path", { key: 'd4e9856f300a1a46afc1c98c774a875e75ede973', d: "M16.2501 4.94477H14.0973C13.9362 4.16103 13.5097 3.45682 12.8899 2.95082C12.27 2.44483 11.4947 2.168 10.6946 2.16699H9.30566C8.50552 2.168 7.73019 2.44483 7.11035 2.95082C6.49051 3.45682 6.06406 4.16103 5.90289 4.94477H3.75011C3.56593 4.94477 3.3893 5.01793 3.25906 5.14817C3.12883 5.2784 3.05566 5.45504 3.05566 5.63921C3.05566 5.82339 3.12883 6.00003 3.25906 6.13026C3.3893 6.26049 3.56593 6.33366 3.75011 6.33366H4.44455V15.3614C4.44566 16.282 4.81183 17.1645 5.46276 17.8155C6.11369 18.4664 6.99622 18.8326 7.91677 18.8337H12.0834C13.004 18.8326 13.8865 18.4664 14.5375 17.8155C15.1884 17.1645 15.5546 16.282 15.5557 15.3614V6.33366H16.2501C16.4343 6.33366 16.6109 6.26049 16.7412 6.13026C16.8714 6.00003 16.9446 5.82339 16.9446 5.63921C16.9446 5.45504 16.8714 5.2784 16.7412 5.14817C16.6109 5.01793 16.4343 4.94477 16.2501 4.94477ZM9.30566 3.55588H10.6946C11.1253 3.55641 11.5453 3.69017 11.8971 3.93883C12.2488 4.18749 12.515 4.53886 12.6591 4.94477H7.34108C7.48524 4.53886 7.75143 4.18749 8.10315 3.93883C8.45488 3.69017 8.87492 3.55641 9.30566 3.55588ZM14.1668 15.3614C14.1668 15.914 13.9473 16.4439 13.5566 16.8346C13.1659 17.2253 12.636 17.4448 12.0834 17.4448H7.91677C7.36424 17.4448 6.83434 17.2253 6.44364 16.8346C6.05294 16.4439 5.83344 15.914 5.83344 15.3614V6.33366H14.1668V15.3614Z", fill: "#DE6061" }), hAsync("path", { key: '66352c37fc6b1525965b0374984d91f60ad7ce9a', d: "M8.61128 14.6666C8.79545 14.6666 8.97209 14.5934 9.10232 14.4632C9.23256 14.3329 9.30572 14.1563 9.30572 13.9721V9.80545C9.30572 9.62127 9.23256 9.44464 9.10232 9.3144C8.97209 9.18417 8.79545 9.11101 8.61128 9.11101C8.4271 9.11101 8.25046 9.18417 8.12023 9.3144C7.99 9.44464 7.91683 9.62127 7.91683 9.80545V13.9721C7.91683 14.1563 7.99 14.3329 8.12023 14.4632C8.25046 14.5934 8.4271 14.6666 8.61128 14.6666Z", fill: "#DE6061" }), hAsync("path", { key: 'bbdf05a15788ec40df5e66d2ce33852ea50ecbe7', d: "M11.389 14.6666C11.5731 14.6666 11.7498 14.5934 11.88 14.4632C12.0102 14.3329 12.0834 14.1563 12.0834 13.9721V9.80545C12.0834 9.62127 12.0102 9.44464 11.88 9.3144C11.7498 9.18417 11.5731 9.11101 11.389 9.11101C11.2048 9.11101 11.0281 9.18417 10.8979 9.3144C10.7677 9.44464 10.6945 9.62127 10.6945 9.80545V13.9721C10.6945 14.1563 10.7677 14.3329 10.8979 14.4632C11.0281 14.5934 11.2048 14.6666 11.389 14.6666Z", fill: "#DE6061" }))))));
8795
8956
  }
8796
8957
  static get watchers() { return {
8797
8958
  "progress": [{
@@ -9277,7 +9438,7 @@ class DropiImageMiniature {
9277
9438
  }
9278
9439
  render() {
9279
9440
  const imgs = this.parsedImages;
9280
- return (hAsync("div", { key: '6e69ee9e8e277d35757b8f1fc84e93202bc76cba', class: "miniature" }, this.label && hAsync("span", { key: '4a529ee9d6be76148b744c7cb187596329aff763', class: "miniature__label" }, this.label), hAsync("div", { key: 'e191bb3044a5d1e3f79d0b1273f686e5055d18c1', class: "miniature__grid" }, imgs.map((src, i) => (hAsync("div", { class: "miniature__item", style: { width: this.width, height: this.height }, key: i, onClick: () => this.dropiImageClick.emit({ images: imgs, index: i }) }, hAsync("img", { src: src, alt: `imagen ${i + 1}`, loading: "lazy", onError: (e) => this.handleError(e) }), hAsync("div", { class: "miniature__zoom" }, hAsync("dropi-icon", { name: "Search", iconWidth: "16px", iconHeight: "16px", color: "Neutral-White" }))))))));
9441
+ return (hAsync("div", { key: 'ad66f7432e761f48af9ca3db80f562091b040099', class: "miniature" }, this.label && hAsync("span", { key: '9711b8c5554bdd94eba58f8acbdb461b5bd9530f', class: "miniature__label" }, this.label), hAsync("div", { key: '45901b7593b09cef9b3089b325341d2c36658676', class: "miniature__grid" }, imgs.map((src, i) => (hAsync("div", { class: "miniature__item", style: { width: this.width, height: this.height }, key: i, onClick: () => this.dropiImageClick.emit({ images: imgs, index: i }) }, hAsync("img", { src: src, alt: `imagen ${i + 1}`, loading: "lazy", onError: (e) => this.handleError(e) }), hAsync("div", { class: "miniature__zoom" }, hAsync("dropi-icon", { name: "Search", iconWidth: "16px", iconHeight: "16px", color: "Neutral-White" }))))))));
9281
9442
  }
9282
9443
  static get style() { return dropiImageMiniatureCss(); }
9283
9444
  static get cmpMeta() { return {
@@ -9793,7 +9954,7 @@ class DropiLogo {
9793
9954
  e.target.src = FALLBACK_SVG;
9794
9955
  }
9795
9956
  render() {
9796
- return (hAsync("figure", { key: '4d8da6d53c501a88bc3a6f358e5ee9d31a3dc401', class: { 'dropi-logo': true, [`dropi-logo--${this.size}`]: true } }, hAsync("img", { key: 'eca9fac83cbffcdec34b7b9a89aaa36b36aa7001', src: this.urlLogo || FALLBACK_SVG, alt: "Dropi logo", onError: (e) => this.handleError(e) })));
9957
+ return (hAsync("figure", { key: '7e0647d080700fcac7fe488d72024b3ed1f40b08', class: { 'dropi-logo': true, [`dropi-logo--${this.size}`]: true } }, hAsync("img", { key: 'baa1d5c20397ee47a9f55ff6be7acae99b7c0f41', src: this.urlLogo || FALLBACK_SVG, alt: "Dropi logo", onError: (e) => this.handleError(e) })));
9797
9958
  }
9798
9959
  static get style() { return dropiLogoCss(); }
9799
9960
  static get cmpMeta() { return {
@@ -10287,9 +10448,9 @@ class DropiNavbar {
10287
10448
  }
10288
10449
  render() {
10289
10450
  const items = this.parsedData;
10290
- return (hAsync("nav", { key: '89379c4c29539aa933b59f34b379929950c1bad6', class: "navbar" }, hAsync("div", { key: '4e78453b654c5b93c4c534955a8cc523138cdfd9', class: "navbar__left" }, this.showMenuToggle && (hAsync("button", { key: '6aee8f1a706b73786c0def18f42394331313a4ef', class: "navbar__menu-btn", onClick: () => this.dropiMenuToggle.emit(), "aria-label": "Men\u00FA" }, hAsync("dropi-icon", { key: 'f5b57eb49cf5e8c5feb1a6d5284096a54b294768', name: "Menu", iconWidth: "20px", iconHeight: "20px", color: "Gray-Gray-700" }))), this.logoUrl && (hAsync("img", { key: '92167bb904e69964fae2806ccb0c157bb16eb081', class: "navbar__logo", src: this.logoUrl, alt: this.logoAlt })), this.title && hAsync("span", { key: 'fef8b99cd9a2c2d9d1ac0cba0361f0bdd69ecf09', class: "navbar__title" }, this.title)), items.length > 0 && (hAsync("ul", { key: 'c8a1130c8f0a8ac5eabb00b1108af34eeba611fe', class: "navbar__items" }, items.map(item => (hAsync("li", null, hAsync("button", { class: { 'navbar__item': true, 'navbar__item--active': item.id === this.activeId }, onClick: () => this.clickLoadItem.emit(item), type: "button" }, item.icon && hAsync("dropi-icon", { name: item.icon, iconWidth: "16px", iconHeight: "16px", color: item.id === this.activeId ? 'Primary-Primary-500' : 'Gray-Gray-600' }), hAsync("span", null, item.name?.value || item.label), item.badge != null && String(item.badge) !== '0' && (hAsync("span", { class: "navbar__badge" }, item.badge)))))))), hAsync("div", { key: '390eb829076e112fb52da015903d5330666c533e', class: "navbar__right" }, hAsync("button", { key: '0f8bdd5f78a310418c88b1a74cd7ac87a4308c1c', class: "navbar__icon-btn", onClick: () => this.dropiNotificationsClick.emit(), "aria-label": "Notificaciones" }, hAsync("dropi-icon", { key: '6eb38a4cf19eb417bb8b18a96b5e6133c70ff35e', name: "Bell", iconWidth: "20px", iconHeight: "20px", color: "Gray-Gray-600" }), this.notifications > 0 && (hAsync("span", { key: 'a2fbfe367a46b50cbbd4e1b9a9b859d10c18c604', class: "navbar__notif-badge" }, this.notifications > 99 ? '99+' : this.notifications))), hAsync("button", { key: 'dc9cbb054b2bd8088992d8feb33f0807e75b26e6', class: "navbar__user-btn", onClick: () => this.dropiUserClick.emit(), type: "button" }, this.userAvatar
10451
+ return (hAsync("nav", { key: '83e2aa66dcaeabc1629c4c23ee87f0ed8799eae7', class: "navbar" }, hAsync("div", { key: '500612a656db49c3962dcb2b2fb62ced5e6f9f5e', class: "navbar__left" }, this.showMenuToggle && (hAsync("button", { key: 'a85325e0bfaf6ed1f739abf35460c0fd9fe12bdb', class: "navbar__menu-btn", onClick: () => this.dropiMenuToggle.emit(), "aria-label": "Men\u00FA" }, hAsync("dropi-icon", { key: 'd94b443c19e6212547dbe4d97fe907be862726f9', name: "Menu", iconWidth: "20px", iconHeight: "20px", color: "Gray-Gray-700" }))), this.logoUrl && (hAsync("img", { key: '0da8e838faac7f31175935ea9b0cfe6fb68ad516', class: "navbar__logo", src: this.logoUrl, alt: this.logoAlt })), this.title && hAsync("span", { key: 'ae1d08c0cac208bf31e1978da68f89cc6eec13d2', class: "navbar__title" }, this.title)), items.length > 0 && (hAsync("ul", { key: '48dcc829cd503ce2a3f3929ccb03782b226a18ed', class: "navbar__items" }, items.map(item => (hAsync("li", null, hAsync("button", { class: { 'navbar__item': true, 'navbar__item--active': item.id === this.activeId }, onClick: () => this.clickLoadItem.emit(item), type: "button" }, item.icon && hAsync("dropi-icon", { name: item.icon, iconWidth: "16px", iconHeight: "16px", color: item.id === this.activeId ? 'Primary-Primary-500' : 'Gray-Gray-600' }), hAsync("span", null, item.name?.value || item.label), item.badge != null && String(item.badge) !== '0' && (hAsync("span", { class: "navbar__badge" }, item.badge)))))))), hAsync("div", { key: 'f6a7a4bfcf90829fdf78eade141c1a43a3ef213c', class: "navbar__right" }, hAsync("button", { key: '652f412206186a3e8325e8a41cefa78049da39a6', class: "navbar__icon-btn", onClick: () => this.dropiNotificationsClick.emit(), "aria-label": "Notificaciones" }, hAsync("dropi-icon", { key: 'ddf8877a77c15d8c0582866d56851f5ee9b9b5f1', name: "Bell", iconWidth: "20px", iconHeight: "20px", color: "Gray-Gray-600" }), this.notifications > 0 && (hAsync("span", { key: '613f9d9c7a7b0c1125aee602be6672ce478cef26', class: "navbar__notif-badge" }, this.notifications > 99 ? '99+' : this.notifications))), hAsync("button", { key: 'af0e25263309dc90ae4f0047c25089b9486562d4', class: "navbar__user-btn", onClick: () => this.dropiUserClick.emit(), type: "button" }, this.userAvatar
10291
10452
  ? hAsync("img", { class: "navbar__avatar", src: this.userAvatar, alt: this.userName })
10292
- : hAsync("div", { class: "navbar__avatar-placeholder" }, this.userName ? this.userName[0].toUpperCase() : '?'), this.userName && hAsync("span", { key: 'e1a6193fc9bd18f542204a38d1c0775e86ee3cd2', class: "navbar__user-name" }, this.userName), hAsync("dropi-icon", { key: 'b870d026d52b11041ae0db711c4c3fdb02578b60', name: "Arrow-Down-2", iconWidth: "12px", iconHeight: "12px", color: "Gray-Gray-400" })))));
10453
+ : hAsync("div", { class: "navbar__avatar-placeholder" }, this.userName ? this.userName[0].toUpperCase() : '?'), this.userName && hAsync("span", { key: '54a6f1b97d2d8f11fe5556510638d4cbef2d638b', class: "navbar__user-name" }, this.userName), hAsync("dropi-icon", { key: '21dd9ed6cf46d719d8b49c65fba8f787f7a84629', name: "Arrow-Down-2", iconWidth: "12px", iconHeight: "12px", color: "Gray-Gray-400" })))));
10293
10454
  }
10294
10455
  static get style() { return dropiNavbarCss(); }
10295
10456
  static get cmpMeta() { return {
@@ -10428,14 +10589,14 @@ class DropiOtpSendCode {
10428
10589
  }
10429
10590
  render() {
10430
10591
  const engineLabel = this.engine === 'sms' ? 'SMS' : this.engine === '2fa' ? 'autenticador' : 'correo';
10431
- return (hAsync("div", { key: '4fdb8eb4d4932b6509798a50ee474c56fb001fa8', class: "otp" }, this.showLabelContact && (hAsync("p", { key: '2f95e7f0138ce067e3da3c0822d8277e7fccc357', class: "otp__label" }, "Ingresa el c\u00F3digo enviado a tu ", engineLabel, this.labelContact && hAsync("strong", { key: '23508736c6cfdf095f2b9192ff3d566e98e715c7' }, " ", this.labelContact))), hAsync("div", { key: '8c01d71b208ae557f9ffba7b76d60c049bdde9ce', class: "otp__inputs", onPaste: (e) => this.handlePaste(e) }, this.digits.map((_, i) => (hAsync("input", { key: i, ref: (el) => {
10592
+ return (hAsync("div", { key: '68d01986b43ee262c6df66d1160df32313c76edf', class: "otp" }, this.showLabelContact && (hAsync("p", { key: '83138a2f4716552cce108c228b99c1e7fc532036', class: "otp__label" }, "Ingresa el c\u00F3digo enviado a tu ", engineLabel, this.labelContact && hAsync("strong", { key: '8de893e9ea835b3459b8be78414d337436f908de' }, " ", this.labelContact))), hAsync("div", { key: 'a50f5e2ae1733ec1df704578d6264b8e86a08f5b', class: "otp__inputs", onPaste: (e) => this.handlePaste(e) }, this.digits.map((_, i) => (hAsync("input", { key: i, ref: (el) => {
10432
10593
  if (el)
10433
10594
  this.inputs[i] = el;
10434
10595
  }, class: {
10435
10596
  'otp__digit': true,
10436
10597
  'otp__digit--filled': this.digitStates[i] === 'filled',
10437
10598
  'otp__digit--error': this.error,
10438
- }, 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 && (hAsync("p", { key: '8215ecbdc651a3c79a8841c5620bd7e8c5c8228e', class: "otp__error" }, this.errorMessage)), hAsync("div", { key: 'c1a81e44295abb3b373936a5c276aea4497cf2e9', class: "otp__resend" }, this.canResend ? (hAsync("button", { class: "otp__resend-btn", onClick: () => { this.startCountdown(); this.dropiResend.emit(); } }, "Reenviar c\u00F3digo")) : (hAsync("span", { class: "otp__countdown" }, "Reenviar en ", this.countdown, "s")))));
10599
+ }, 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 && (hAsync("p", { key: '315b68b30120ab315f106eed441b9a61550d7833', class: "otp__error" }, this.errorMessage)), hAsync("div", { key: 'b07d47236824b631193b9a90c083ea5d170d135b', class: "otp__resend" }, this.canResend ? (hAsync("button", { class: "otp__resend-btn", onClick: () => { this.startCountdown(); this.dropiResend.emit(); } }, "Reenviar c\u00F3digo")) : (hAsync("span", { class: "otp__countdown" }, "Reenviar en ", this.countdown, "s")))));
10439
10600
  }
10440
10601
  static get formAssociated() { return true; }
10441
10602
  static get watchers() { return {
@@ -10527,9 +10688,9 @@ class DropiPaginator {
10527
10688
  const pages = this.pageNumbers;
10528
10689
  const isFirst = this.currentPage <= 1;
10529
10690
  const isLast = this.currentPage >= this.totalPages;
10530
- return (hAsync("div", { key: '6b39ba2ff5168182a36c59e521e46e12a32ebe85', class: "paginator" }, hAsync("div", { key: '9bc76ef25f10290b575ce047bb5f093e6698a670', class: "paginator-pages" }, !isFirst && !this.noLabels && (hAsync("button", { key: '25def90ed595b4c56cd1481ecf1cc2ed2cc1aeb9', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(1), "aria-label": "Primera p\u00E1gina", disabled: this.disabled }, hAsync("dropi-icon", { key: '505c131c240d7af5b5860802a69be6b8971b0ab3', name: "Arrow-double-small-left", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }))), !isFirst && (hAsync("button", { key: '090d9b536a0b80d12ac1a48bf9519b34d4b6bc9a', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(this.currentPage - 1), "aria-label": "Anterior", disabled: this.disabled }, hAsync("dropi-icon", { key: 'aec79c1b98329c1302478d8fe738586a8587dca0', name: "Dropdown-left", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }), !this.noLabels && hAsync("span", { key: 'bc9416a0cfee88e4739c11a3ddbc0c4a244cc21d', class: "paginator-label" }, "Anterior"))), pages.map((p, i) => p === '...'
10691
+ return (hAsync("div", { key: 'e72ebe722f06549a3000d89597b8835d93ed7be1', class: "paginator" }, hAsync("div", { key: '5e6fc47b3bc6fc4a94bf0770f405e1ea73eb411d', class: "paginator-pages" }, !isFirst && !this.noLabels && (hAsync("button", { key: '7ee39bcd8506638c6b392b48e63cd0f0a3f671f7', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(1), "aria-label": "Primera p\u00E1gina", disabled: this.disabled }, hAsync("dropi-icon", { key: '857739a713620c191f8106565a2d9e8ac51df3fe', name: "Arrow-double-small-left", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }))), !isFirst && (hAsync("button", { key: '8052d9499ed78c264390c875e73e7f18d5e2e888', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(this.currentPage - 1), "aria-label": "Anterior", disabled: this.disabled }, hAsync("dropi-icon", { key: '243eeba594d2029bc47bc651244d9b1664f7041c', name: "Dropdown-left", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }), !this.noLabels && hAsync("span", { key: '0beca41b97528db889db9265c0779cb842132e38', class: "paginator-label" }, "Anterior"))), pages.map((p, i) => p === '...'
10531
10692
  ? hAsync("span", { class: "paginator-ellipsis", key: `e${i}` }, "\u2026")
10532
- : hAsync("button", { key: p, class: { 'paginator-btn': true, 'paginator-btn--active': p === this.currentPage }, onClick: () => this.goTo(p), "aria-current": p === this.currentPage ? 'page' : undefined, disabled: this.disabled }, p)), !isLast && (hAsync("button", { key: 'fb1f077bd49fdceb052c3d1613d58078f2202ba9', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(this.currentPage + 1), "aria-label": "Siguiente", disabled: this.disabled }, !this.noLabels && hAsync("span", { key: 'fe05545abd3c8d72a897c5a68e76347bbe39625b', class: "paginator-label" }, "Siguiente"), hAsync("dropi-icon", { key: '17063d4d03213cbf38b1ff2c79187ec07ba0c8b3', name: "Dropdown-Right", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }))), !isLast && !this.noLabels && (hAsync("button", { key: 'b4d0df3505ad5a1c5c0899a7a13aa9f8b79db511', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(this.totalPages), "aria-label": "\u00DAltima p\u00E1gina", disabled: this.disabled }, hAsync("dropi-icon", { key: 'd0db6c56e6a8dcbf441038b4391b004083a6f708', name: "Arrow-double-small-right", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }))))));
10693
+ : hAsync("button", { key: p, class: { 'paginator-btn': true, 'paginator-btn--active': p === this.currentPage }, onClick: () => this.goTo(p), "aria-current": p === this.currentPage ? 'page' : undefined, disabled: this.disabled }, p)), !isLast && (hAsync("button", { key: '5a318c012b3da12ed6cf7e3b9548b5e5c93a4abd', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(this.currentPage + 1), "aria-label": "Siguiente", disabled: this.disabled }, !this.noLabels && hAsync("span", { key: '1eb25a3ddf80cbf32e4beae87d66a516b7f1304d', class: "paginator-label" }, "Siguiente"), hAsync("dropi-icon", { key: '98f4c308b02777a28349e3d873c486ea24a66ea5', name: "Dropdown-Right", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }))), !isLast && !this.noLabels && (hAsync("button", { key: 'dabccdd09218037c302a051bdca26aefebb4e015', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(this.totalPages), "aria-label": "\u00DAltima p\u00E1gina", disabled: this.disabled }, hAsync("dropi-icon", { key: '7a6872706fba9456b57c6d55778c456de1cf179d', name: "Arrow-double-small-right", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }))))));
10533
10694
  }
10534
10695
  static get style() { return dropiPaginatorCss(); }
10535
10696
  static get cmpMeta() { return {
@@ -10749,10 +10910,10 @@ class DropiPhoneInput {
10749
10910
  render() {
10750
10911
  const country = this.selectedCountry;
10751
10912
  const isInvalid = this.isValidPhone === false;
10752
- return (hAsync("div", { key: 'c15336990cd554166dcfec74bbf577074a7fe870', class: "phone-wrap" }, hAsync("div", { key: '7136d327befe46db5b9fd79075526d4a327532ff', class: "phone-input-container" }, hAsync("div", { key: '2348818f20cc26941dd06730d75c95497eb73468', class: "custom-select" }, hAsync("button", { key: '37a0289468cc49b914d31a056d94c1caafc4431d', type: "button", class: { 'select-button': true, 'select-invalid': isInvalid }, disabled: this.disabledInput, onClick: () => {
10913
+ return (hAsync("div", { key: '8baf494cc8b0c7925414a5c6b518bed906c6c9af', class: "phone-wrap" }, hAsync("div", { key: '8676178ee71fc85eaab623dea92760f0ae661c77', class: "phone-input-container" }, hAsync("div", { key: 'b4037828a850187c7c01df69c46704ca38ab9399', class: "custom-select" }, hAsync("button", { key: '796f0d20cffc0c821012245fe49a9c04b2d07f85', type: "button", class: { 'select-button': true, 'select-invalid': isInvalid }, disabled: this.disabledInput, onClick: () => {
10753
10914
  if (!this.disabledInput)
10754
10915
  this.open = !this.open;
10755
- } }, hAsync("span", { key: '59368b25a2afa0a3e7fbb930483239680a867651', style: { display: 'flex', gap: '0.5rem', alignItems: 'center' } }, hAsync("img", { key: 'd472729d11380a54182927000703c224104f9213', src: `https://flagsapi.com/${country.flag}/flat/24.png`, alt: "flag" }), country.code), hAsync("dropi-icon", { key: '9c73aea42e3f30793505277032c892b3947a90be', name: this.open ? 'Dropdown-up' : 'Dropdown-down', iconWidth: "14px", iconHeight: "14px", color: "Gray-Gray-500" })), hAsync("ul", { key: 'b3238ad80a85356fbd95a482c3ffa0cf3ecb810f', class: { 'select-dropdown': true, 'expanded-select': this.open, 'collapsed-select': !this.open } }, COUNTRIES.map(option => (hAsync("li", null, hAsync("button", { type: "button", class: "option", onMouseDown: (e) => { e.preventDefault(); this.selectCountry(option); } }, hAsync("img", { src: `https://flagsapi.com/${option.flag}/flat/24.png`, alt: option.flag }), option.code)))))), hAsync("input", { key: '3f0c3ef4f01b13f9f033b5205fe5ab019a923781', 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) }))));
10916
+ } }, hAsync("span", { key: '67d2755de630b936763fa2610a0e7ba4650476c4', style: { display: 'flex', gap: '0.5rem', alignItems: 'center' } }, hAsync("img", { key: '576ea15412ad8106e9674bb53dd9b71f86654b48', src: `https://flagsapi.com/${country.flag}/flat/24.png`, alt: "flag" }), country.code), hAsync("dropi-icon", { key: '1db0802eb57a6359b2482bc8f24b39957c6cca09', name: this.open ? 'Dropdown-up' : 'Dropdown-down', iconWidth: "14px", iconHeight: "14px", color: "Gray-Gray-500" })), hAsync("ul", { key: 'cf7a36e39eda8d049c0f9576f52e24e0c88173f3', class: { 'select-dropdown': true, 'expanded-select': this.open, 'collapsed-select': !this.open } }, COUNTRIES.map(option => (hAsync("li", null, hAsync("button", { type: "button", class: "option", onMouseDown: (e) => { e.preventDefault(); this.selectCountry(option); } }, hAsync("img", { src: `https://flagsapi.com/${option.flag}/flat/24.png`, alt: option.flag }), option.code)))))), hAsync("input", { key: '813f274452998d7d329adac1b21c796b61a26a9b', 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) }))));
10756
10917
  }
10757
10918
  static get formAssociated() { return true; }
10758
10919
  static get watchers() { return {
@@ -10811,7 +10972,7 @@ class DropiProgressBar {
10811
10972
  width: `${Math.min(100, Math.max(0, this.value))}%`,
10812
10973
  backgroundColor: this.color || `var(--${this.getSeverityVariable()}, #50A5F1)`,
10813
10974
  };
10814
- return (hAsync("div", { key: '7093e06299ccb8365d07fa1bc20838254b08957e', class: "progress-container" }, this.showValue && (hAsync("div", { key: 'f32dcb2d2c4dcfcdba5661dc7b66c1f36d4bb66c', class: "progress-header" }, hAsync("span", { key: '5d556cff4beb0af77c28fd934757512a3470b83d', class: "progress-value" }, this.value, "%"))), hAsync("div", { key: '35666669d0206354d2d3e797bf553b767bfb63d5', class: "progress-track", style: { height: this.height, backgroundColor: this.trackColor } }, hAsync("div", { key: '037d4d7cacc0834b8d79d1fee8c6e9ba3edfc3f5', class: "progress-fill", style: fillStyle }))));
10975
+ return (hAsync("div", { key: 'ff6b55a3f0aaf2eb6f5310d06acf9cfa0f3a2b12', class: "progress-container" }, this.showValue && (hAsync("div", { key: 'f34f6818580f08c0308a4d75ac4c6cfef6d992a6', class: "progress-header" }, hAsync("span", { key: 'daa2e09a6698da3dc3ad207ff6a6cd1882de66cc', class: "progress-value" }, this.value, "%"))), hAsync("div", { key: 'dbe1cf7f8330446dd2a2e7b8c3b049b7c0f816eb', class: "progress-track", style: { height: this.height, backgroundColor: this.trackColor } }, hAsync("div", { key: 'ce7a0598e201918aa4e925a97c7426c048fd00b9', class: "progress-fill", style: fillStyle }))));
10815
10976
  }
10816
10977
  getSeverityVariable() {
10817
10978
  switch (this.severity) {
@@ -10890,7 +11051,7 @@ class DropiRadioButton {
10890
11051
  this.dropiChange.emit(e);
10891
11052
  }
10892
11053
  render() {
10893
- return (hAsync("div", { key: 'e42d178a92a815c22b197aec5d962a19f60a4f6f', class: "dropi-radio-button" }, hAsync("label", { key: '0beae39fb6860265332c1ed12d38bc97c78b22c1', htmlFor: this.inputId }, hAsync("input", { key: '4ddb55ecb50c030ed7d4a8795246a9d57f95f0da', id: this.inputId, type: "radio", name: this.name, checked: this.checked, onChange: (e) => this.handleChange(e) }), this.label)));
11054
+ return (hAsync("div", { key: 'f5a4cfda3991106a02821a499452294509fea514', class: "dropi-radio-button" }, hAsync("label", { key: '8f28e2d4a0da03bd1b0ef2d8a92b1ed9b2b66c26', htmlFor: this.inputId }, hAsync("input", { key: 'ddd006fafd64e071a1431dd3fb827f06a9c8d92d', id: this.inputId, type: "radio", name: this.name, checked: this.checked, onChange: (e) => this.handleChange(e) }), this.label)));
10894
11055
  }
10895
11056
  static get formAssociated() { return true; }
10896
11057
  static get watchers() { return {
@@ -11029,7 +11190,7 @@ class DropiReadMore {
11029
11190
  }
11030
11191
  render() {
11031
11192
  const showToggle = this.needsTruncation && (this.expanded ? this.showSeeLess : true);
11032
- return (hAsync("div", { key: '27f1da08ef634213771942cf956edb42f543cbbd', class: "read-more" }, hAsync("p", { key: '0f8090c4776296e1d7c9073fe5445b5f1d195464', class: "read-more__text", style: this.textStyle ? this.textStyle : undefined }, this.displayText, showToggle && (hAsync("button", { key: 'b2cc2616cd93dbc4b6025854ab9e4250d699f8fe', class: "read-more__toggle", style: this.buttonStyle ? this.buttonStyle : undefined, onClick: () => this.expanded = !this.expanded }, this.expanded ? ' Ver menos' : '... Ver más')))));
11193
+ return (hAsync("div", { key: '125c5f1d75c1e06f02d9898f375626bb75a67cd8', class: "read-more" }, hAsync("p", { key: '4a4450a3468e7fe7297fdae98d370f8cd77b8553', class: "read-more__text", style: this.textStyle ? this.textStyle : undefined }, this.displayText, showToggle && (hAsync("button", { key: 'cfe58b2781b908d9a0a802b4bd68cedf8dea827e', class: "read-more__toggle", style: this.buttonStyle ? this.buttonStyle : undefined, onClick: () => this.expanded = !this.expanded }, this.expanded ? ' Ver menos' : '... Ver más')))));
11033
11194
  }
11034
11195
  static get style() { return dropiReadMoreCss(); }
11035
11196
  static get cmpMeta() { return {
@@ -11604,7 +11765,7 @@ class DropiSelect {
11604
11765
  ]), !this.isGrouped && this.filteredOptions.map(opt => this.renderOption(opt)), this.filteredOptions.length === 0 && (hAsync("li", { class: "no-results" }, "Sin resultados"))));
11605
11766
  }
11606
11767
  render() {
11607
- return (hAsync("div", { key: 'cd22a44efb11820180aec0cc36aa0e7949712e78', class: "custom-select" }, !this.dropdownType && this.label && (hAsync("label", { key: 'f2b2c09818cf292828d6d6ce6d3e5c9e86508495', class: { 'disabled-label': this.disabled } }, this.label, this.showObligatory && !this.disabled && hAsync("span", { key: 'e84b30735dff4ccb40f8931835bf51e3bab6ff11', class: "asterisk" }, " *"))), hAsync("div", { key: '048a25a502b2f7550d298d22439c46589ada08fe', class: "dropdown-container" }, this.dropdownType && this.label && (hAsync("div", { key: '849b92a26294622e602fe2ff6bf2db89e22be4f4', class: "left-label" }, this.label)), this.renderTrigger()), this.textHelper && !this.hasError && (hAsync("div", { key: '8b9ac9ea4b494fb830237362f5b9db6b606df765', class: "select-helper" }, hAsync("span", { key: '74fa19eee858b116f81d41ae1a3deb00beaf103e' }, this.textHelper))), this.hasError && this.errorText && (hAsync("div", { key: '34a015639d80fb8df598f67129f84c34b737ecf4', class: "select-helper-error" }, hAsync("dropi-icon", { key: 'ebcbcadc5c72d35f0a35bc975dda0995b2a493a1', name: "Warning-circle", iconWidth: "12px", iconHeight: "12px", color: "Error-Error-500" }), hAsync("span", { key: 'f473e766279e0c784251251d6c59fbd92107a7e8' }, this.errorText))), this.renderDropdown()));
11768
+ return (hAsync("div", { key: 'b11bfc98a7d37846afaad6b171f564b5cb72620a', class: "custom-select" }, !this.dropdownType && this.label && (hAsync("label", { key: 'bda1ed87b6ed257c1f8148464199f241d3f5d5f9', class: { 'disabled-label': this.disabled } }, this.label, this.showObligatory && !this.disabled && hAsync("span", { key: '81e9fd26856228c8ec59271bae8f3788f22fc2ee', class: "asterisk" }, " *"))), hAsync("div", { key: 'a8feb6ffde967418ad5655e24b3b2ac260541508', class: "dropdown-container" }, this.dropdownType && this.label && (hAsync("div", { key: '43c9e38a90c6f072f540f6e6af3315e26ce2b2e0', class: "left-label" }, this.label)), this.renderTrigger()), this.textHelper && !this.hasError && (hAsync("div", { key: '73c290608f1feeca8a78d391c63ff76cbdfc41a7', class: "select-helper" }, hAsync("span", { key: 'b64e35c437f9791e790e4d2155deae02cdeb684f' }, this.textHelper))), this.hasError && this.errorText && (hAsync("div", { key: '4e7126e5f6f64a6134928e9aa1901e2d795a9246', class: "select-helper-error" }, hAsync("dropi-icon", { key: '36019fb1921f710113fb10e99eb16fa46a6306dc', name: "Warning-circle", iconWidth: "12px", iconHeight: "12px", color: "Error-Error-500" }), hAsync("span", { key: '99783b102c6d345404ef8d9dfb0325c682c8f87b' }, this.errorText))), this.renderDropdown()));
11608
11769
  }
11609
11770
  static get formAssociated() { return true; }
11610
11771
  static get watchers() { return {
@@ -11995,7 +12156,7 @@ class DropiSwitch {
11995
12156
  this.dropiChange.emit(this.isChecked);
11996
12157
  }
11997
12158
  render() {
11998
- return (hAsync("label", { key: 'bfe479e64d61f2ffcd76db084c4504842bbb6421', class: "toggle-switch" }, hAsync("input", { key: 'add18063655620fd12d43e0c02b48775b81e9ffa', type: "checkbox", checked: this.isChecked, disabled: this.disabled, onChange: (e) => this.onToggleChange(e) }), hAsync("span", { key: '8b6c30839589d9354cf309905e9d0863e8354578', class: "slider" })));
12159
+ return (hAsync("label", { key: 'fe429645c1b3032a273c3dd45e450cc3cdfaa4ae', class: "toggle-switch" }, hAsync("input", { key: '8e73bdbe0b14b8e889804f5d35616c0cfa52b025', type: "checkbox", checked: this.isChecked, disabled: this.disabled, onChange: (e) => this.onToggleChange(e) }), hAsync("span", { key: '245aae98ce063331246fda2c729134112a199114', class: "slider" })));
11999
12160
  }
12000
12161
  static get formAssociated() { return true; }
12001
12162
  static get watchers() { return {
@@ -12560,7 +12721,7 @@ class DropiTagTypeProduct {
12560
12721
  /** Label text. Default: VARIABLE */
12561
12722
  label = 'VARIABLE';
12562
12723
  render() {
12563
- return hAsync("div", { key: '89083374c365448b4862687559ce311e258ee031', class: "type-variation" }, this.label);
12724
+ return hAsync("div", { key: 'ae1cd50cd3e82180704ae4f5406b4dc13ffbd12c', class: "type-variation" }, this.label);
12564
12725
  }
12565
12726
  static get style() { return dropiTagTypeProductCss(); }
12566
12727
  static get cmpMeta() { return {
@@ -12865,7 +13026,7 @@ class DropiTooltip {
12865
13026
  /** Whether the tooltip has an outline style (matches Angular `outlined`) */
12866
13027
  outlined = false;
12867
13028
  render() {
12868
- return (hAsync("div", { key: '42891ce799b8a62c9b389ee1f76104f69124f5be', class: { 'tooltip-simple': true, 'tooltip-simple--outlined': this.outlined } }, hAsync("slot", { key: '2ef06f971f67c995bdf1ce3be6209f2173cca63d' }), this.text && (hAsync("div", { key: '9417b2ca92cd320abe686d1cb71a18ff5cfc09e7', class: "tooltip-simple-bubble" }, this.text))));
13029
+ return (hAsync("div", { key: '0b14943b628c231fbb530620e7829f70e6099c7a', class: { 'tooltip-simple': true, 'tooltip-simple--outlined': this.outlined } }, hAsync("slot", { key: 'bf0245c6fab0ba938834d2d3e84ccaa9cb14f5c8' }), this.text && (hAsync("div", { key: 'e1e33acf8628f79b36c5cc66c7076a03ce8167f7', class: "tooltip-simple-bubble" }, this.text))));
12869
13030
  }
12870
13031
  static get style() { return dropiTooltipCss$1(); }
12871
13032
  static get cmpMeta() { return {
@@ -13138,7 +13299,7 @@ class DropiYoutubeLazyVideo {
13138
13299
  return `https://www.youtube.com/embed/${this.videoId}?autoplay=1&rel=0&modestbranding=1`;
13139
13300
  }
13140
13301
  render() {
13141
- return (hAsync("div", { key: '04b1c8c4c089306ddd94072510066e6687dea8da', class: `video-wrapper${this.isPlaying ? ' playing' : ''}` }, !this.isPlaying && (hAsync("div", { key: '2c5c6a08d986b03bbb3d3f81bc167736518ac201', class: "thumbnail", onClick: () => { this.isPlaying = true; } }, hAsync("img", { key: '7fcf622e553c278b5121ad6361d6a35eb1e7aa5d', src: this.thumbnail, alt: `Video thumbnail ${this.videoId}` }), hAsync("button", { key: 'f99709c40c48f5b94d201ae0b8933152307253ba', class: "play-button", "aria-label": "Reproducir video" }, hAsync("dropi-icon", { key: 'ad31b427514ca7f2fe29deee2bb01e72fee49d35', name: "Play", iconWidth: "17px", iconHeight: "21px", color: "Neutral-White" })))), this.isPlaying && (hAsync("iframe", { key: '98b418bc525fedb92852d6bb67434affad36eb87', src: this.videoUrl, title: this.videoTitle, frameborder: "0", allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture", allowFullScreen: true, loading: "lazy" }))));
13302
+ return (hAsync("div", { key: '0732bc87e7be10e422e80751a17527132301eb99', class: `video-wrapper${this.isPlaying ? ' playing' : ''}` }, !this.isPlaying && (hAsync("div", { key: '540c46b66da3f67ec45614e0891827b7cc0be4e5', class: "thumbnail", onClick: () => { this.isPlaying = true; } }, hAsync("img", { key: '843241c72688ca88ccd5d9391b542501575ea476', src: this.thumbnail, alt: `Video thumbnail ${this.videoId}` }), hAsync("button", { key: 'b068f79fb6b2140e1419e9d72a24f6e66eaab69d', class: "play-button", "aria-label": "Reproducir video" }, hAsync("dropi-icon", { key: 'b3b6d8b99583fd0a3c2c0d766beeda2459b8b13a', name: "Play", iconWidth: "17px", iconHeight: "21px", color: "Neutral-White" })))), this.isPlaying && (hAsync("iframe", { key: '42172a0c7bb386da9123b411af4ab5ebeb9e205c', src: this.videoUrl, title: this.videoTitle, frameborder: "0", allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture", allowFullScreen: true, loading: "lazy" }))));
13142
13303
  }
13143
13304
  static get style() { return dropiYoutubeLazyVideoCss(); }
13144
13305
  static get cmpMeta() { return {