@dropi/ui 0.1.18 → 0.1.20

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 (491) hide show
  1. package/assets/icons/ilustration/bg-warning.svg +3 -0
  2. package/assets/icons/ilustration/default.svg +4 -0
  3. package/assets/icons/ilustration/error.svg +10 -0
  4. package/assets/icons/ilustration/exclusive.svg +9 -0
  5. package/assets/icons/ilustration/info.svg +10 -0
  6. package/assets/icons/ilustration/loading.svg +4 -0
  7. package/assets/icons/ilustration/love.svg +9 -0
  8. package/assets/icons/ilustration/premium-new.svg +14 -0
  9. package/assets/icons/ilustration/premium.svg +5 -0
  10. package/assets/icons/ilustration/sorry.svg +4 -0
  11. package/assets/icons/ilustration/success.svg +11 -0
  12. package/assets/icons/ilustration/verified-new.svg +9 -0
  13. package/assets/icons/ilustration/verified.svg +4 -0
  14. package/assets/icons/ilustration/warning.svg +9 -0
  15. package/assets/lottie-files/loading.json +1 -0
  16. package/dist/cjs/dropi-accordion.cjs.entry.js +3 -3
  17. package/dist/cjs/dropi-alert-modal.cjs.entry.js +72 -0
  18. package/dist/cjs/dropi-alert.cjs.entry.js +58 -0
  19. package/dist/cjs/dropi-avatars.cjs.entry.js +31 -0
  20. package/dist/cjs/dropi-badge.cjs.entry.js +2 -2
  21. package/dist/cjs/dropi-banner-external.cjs.entry.js +47 -0
  22. package/dist/cjs/dropi-breadcrumb.cjs.entry.js +48 -0
  23. package/dist/cjs/dropi-button.cjs.entry.js +7 -5
  24. package/dist/cjs/dropi-card-checkbox.cjs.entry.js +45 -0
  25. package/dist/cjs/dropi-card-product.cjs.entry.js +59 -0
  26. package/dist/cjs/dropi-card-section.cjs.entry.js +38 -0
  27. package/dist/cjs/dropi-carousel.cjs.entry.js +83 -0
  28. package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +71 -0
  29. package/dist/cjs/dropi-checkbox.cjs.entry.js +4 -4
  30. package/dist/cjs/dropi-chips.cjs.entry.js +30 -0
  31. package/dist/cjs/dropi-city-selector.cjs.entry.js +85 -0
  32. package/dist/cjs/dropi-color-picker.cjs.entry.js +69 -0
  33. package/dist/cjs/dropi-country-flags.cjs.entry.js +37 -0
  34. package/dist/cjs/dropi-country-selector.cjs.entry.js +164 -0
  35. package/dist/cjs/dropi-date-picker-range.cjs.entry.js +115 -0
  36. package/dist/cjs/dropi-date-picker.cjs.entry.js +205 -0
  37. package/dist/cjs/dropi-drawer.cjs.entry.js +50 -0
  38. package/dist/cjs/dropi-dropdown.cjs.entry.js +58 -0
  39. package/dist/cjs/dropi-empty-state.cjs.entry.js +9 -5
  40. package/dist/cjs/dropi-favorite-button.cjs.entry.js +27 -0
  41. package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +52 -0
  42. package/dist/cjs/dropi-file-upload.cjs.entry.js +84 -0
  43. package/dist/cjs/dropi-icon.cjs.entry.js +2 -2
  44. package/dist/cjs/dropi-ilustration-icon.cjs.entry.js +39 -0
  45. package/dist/cjs/dropi-image-miniature.cjs.entry.js +44 -0
  46. package/dist/cjs/dropi-image-overlay.cjs.entry.js +62 -0
  47. package/dist/cjs/dropi-input.cjs.entry.js +10 -10
  48. package/dist/cjs/dropi-languages-selector.cjs.entry.js +57 -0
  49. package/dist/cjs/dropi-logo.cjs.entry.js +27 -0
  50. package/dist/cjs/dropi-lottie-loader.cjs.entry.js +27 -0
  51. package/dist/cjs/dropi-media-player.cjs.entry.js +102 -0
  52. package/dist/cjs/dropi-modal.cjs.entry.js +12 -9
  53. package/dist/cjs/dropi-navbar.cjs.entry.js +52 -0
  54. package/dist/cjs/dropi-otp-send-code.cjs.entry.js +92 -0
  55. package/dist/cjs/dropi-paginator.cjs.entry.js +7 -5
  56. package/dist/cjs/dropi-phone-input.cjs.entry.js +84 -0
  57. package/dist/cjs/dropi-radio-button.cjs.entry.js +3 -3
  58. package/dist/cjs/dropi-radio-selection-list.cjs.entry.js +56 -0
  59. package/dist/cjs/dropi-read-more.cjs.entry.js +36 -0
  60. package/dist/cjs/dropi-search.cjs.entry.js +110 -0
  61. package/dist/cjs/dropi-select.cjs.entry.js +7 -7
  62. package/dist/cjs/dropi-sidebar.cjs.entry.js +67 -0
  63. package/dist/cjs/dropi-simple-stepper.cjs.entry.js +51 -0
  64. package/dist/cjs/dropi-skeleton.cjs.entry.js +1 -1
  65. package/dist/cjs/dropi-steps.cjs.entry.js +50 -0
  66. package/dist/cjs/dropi-switch.cjs.entry.js +3 -3
  67. package/dist/cjs/dropi-table.cjs.entry.js +124 -0
  68. package/dist/cjs/dropi-tabs.cjs.entry.js +3 -3
  69. package/dist/cjs/dropi-tag-type-product.cjs.entry.js +19 -0
  70. package/dist/cjs/dropi-tag.cjs.entry.js +3 -3
  71. package/dist/cjs/dropi-text-area.cjs.entry.js +8 -8
  72. package/dist/cjs/dropi-time-line.cjs.entry.js +34 -0
  73. package/dist/cjs/dropi-toast.cjs.entry.js +2 -2
  74. package/dist/cjs/dropi-tooltip.cjs.entry.js +2 -2
  75. package/dist/cjs/dropi-ui.cjs.js +2 -2
  76. package/dist/cjs/dropi-vertical-steps.cjs.entry.js +55 -0
  77. package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +33 -0
  78. package/dist/cjs/{index-B6R6Ojma.js → index-DcOH2ZjX.js} +3 -3
  79. package/dist/cjs/loader.cjs.js +2 -2
  80. package/dist/collection/collection-manifest.json +44 -1
  81. package/dist/collection/components/dropi-accordion/dropi-accordion.js +1 -1
  82. package/dist/collection/components/dropi-alert/dropi-alert.css +134 -0
  83. package/dist/collection/components/dropi-alert/dropi-alert.js +305 -0
  84. package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.css +73 -0
  85. package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.js +395 -0
  86. package/dist/collection/components/dropi-avatars/dropi-avatars.css +55 -0
  87. package/dist/collection/components/dropi-avatars/dropi-avatars.js +126 -0
  88. package/dist/collection/components/dropi-badge/dropi-badge.js +1 -1
  89. package/dist/collection/components/dropi-banner-external/dropi-banner-external.css +56 -0
  90. package/dist/collection/components/dropi-banner-external/dropi-banner-external.js +179 -0
  91. package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.css +69 -0
  92. package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.js +171 -0
  93. package/dist/collection/components/dropi-button/dropi-button.css +4 -2
  94. package/dist/collection/components/dropi-button/dropi-button.js +24 -2
  95. package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.css +90 -0
  96. package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.js +219 -0
  97. package/dist/collection/components/dropi-card-product/dropi-card-product.css +158 -0
  98. package/dist/collection/components/dropi-card-product/dropi-card-product.js +353 -0
  99. package/dist/collection/components/dropi-card-section/dropi-card-section.css +42 -0
  100. package/dist/collection/components/dropi-card-section/dropi-card-section.js +178 -0
  101. package/dist/collection/components/dropi-carousel/dropi-carousel.css +103 -0
  102. package/dist/collection/components/dropi-carousel/dropi-carousel.js +277 -0
  103. package/dist/collection/components/dropi-checkbox/dropi-checkbox.js +2 -2
  104. package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.css +44 -0
  105. package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.js +245 -0
  106. package/dist/collection/components/dropi-chips/dropi-chips.css +68 -0
  107. package/dist/collection/components/dropi-chips/dropi-chips.js +169 -0
  108. package/dist/collection/components/dropi-city-selector/dropi-city-selector.css +156 -0
  109. package/dist/collection/components/dropi-city-selector/dropi-city-selector.js +213 -0
  110. package/dist/collection/components/dropi-color-picker/dropi-color-picker.css +183 -0
  111. package/dist/collection/components/dropi-color-picker/dropi-color-picker.js +235 -0
  112. package/dist/collection/components/dropi-country-flags/dropi-country-flags.css +30 -0
  113. package/dist/collection/components/dropi-country-flags/dropi-country-flags.js +129 -0
  114. package/dist/collection/components/dropi-country-selector/dropi-country-selector.css +164 -0
  115. package/dist/collection/components/dropi-country-selector/dropi-country-selector.js +327 -0
  116. package/dist/collection/components/dropi-date-picker/dropi-date-picker.css +150 -0
  117. package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +434 -0
  118. package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.css +143 -0
  119. package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.js +327 -0
  120. package/dist/collection/components/dropi-drawer/dropi-drawer.css +107 -0
  121. package/dist/collection/components/dropi-drawer/dropi-drawer.js +198 -0
  122. package/dist/collection/components/dropi-dropdown/dropi-dropdown.css +51 -0
  123. package/dist/collection/components/dropi-dropdown/dropi-dropdown.js +184 -0
  124. package/dist/collection/components/dropi-empty-state/dropi-empty-state.css +1 -0
  125. package/dist/collection/components/dropi-empty-state/dropi-empty-state.js +45 -1
  126. package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.css +24 -0
  127. package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.js +78 -0
  128. package/dist/collection/components/dropi-file-upload/dropi-file-upload.css +66 -0
  129. package/dist/collection/components/dropi-file-upload/dropi-file-upload.js +257 -0
  130. package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.css +111 -0
  131. package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.js +198 -0
  132. package/dist/collection/components/dropi-icon/dropi-icon.js +1 -1
  133. package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.css +91 -0
  134. package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.js +150 -0
  135. package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.css +45 -0
  136. package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +150 -0
  137. package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.css +123 -0
  138. package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.js +155 -0
  139. package/dist/collection/components/dropi-input/dropi-input.css +11 -0
  140. package/dist/collection/components/dropi-input/dropi-input.js +4 -4
  141. package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.css +79 -0
  142. package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.js +154 -0
  143. package/dist/collection/components/dropi-logo/dropi-logo.css +26 -0
  144. package/dist/collection/components/dropi-logo/dropi-logo.js +96 -0
  145. package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.css +50 -0
  146. package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.js +116 -0
  147. package/dist/collection/components/dropi-media-player/dropi-media-player.css +127 -0
  148. package/dist/collection/components/dropi-media-player/dropi-media-player.js +294 -0
  149. package/dist/collection/components/dropi-modal/dropi-modal.css +9 -3
  150. package/dist/collection/components/dropi-modal/dropi-modal.js +10 -7
  151. package/dist/collection/components/dropi-navbar/dropi-navbar.css +166 -0
  152. package/dist/collection/components/dropi-navbar/dropi-navbar.js +286 -0
  153. package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.css +67 -0
  154. package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +221 -0
  155. package/dist/collection/components/dropi-paginator/dropi-paginator.css +15 -12
  156. package/dist/collection/components/dropi-paginator/dropi-paginator.js +24 -2
  157. package/dist/collection/components/dropi-phone-input/dropi-phone-input.css +152 -0
  158. package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +272 -0
  159. package/dist/collection/components/dropi-radio-button/dropi-radio-button.js +1 -1
  160. package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.css +64 -0
  161. package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.js +209 -0
  162. package/dist/collection/components/dropi-read-more/dropi-read-more.css +28 -0
  163. package/dist/collection/components/dropi-read-more/dropi-read-more.js +110 -0
  164. package/dist/collection/components/dropi-search/dropi-search.css +112 -0
  165. package/dist/collection/components/dropi-search/dropi-search.js +392 -0
  166. package/dist/collection/components/dropi-select/dropi-select.js +1 -1
  167. package/dist/collection/components/dropi-sidebar/dropi-sidebar.css +117 -0
  168. package/dist/collection/components/dropi-sidebar/dropi-sidebar.js +233 -0
  169. package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.css +94 -0
  170. package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.js +172 -0
  171. package/dist/collection/components/dropi-steps/dropi-steps.css +95 -0
  172. package/dist/collection/components/dropi-steps/dropi-steps.js +145 -0
  173. package/dist/collection/components/dropi-switch/dropi-switch.js +1 -1
  174. package/dist/collection/components/dropi-table/dropi-table.css +80 -0
  175. package/dist/collection/components/dropi-table/dropi-table.js +333 -0
  176. package/dist/collection/components/dropi-tabs/dropi-tabs.js +1 -1
  177. package/dist/collection/components/dropi-tag/dropi-tag.css +1 -2
  178. package/dist/collection/components/dropi-tag/dropi-tag.js +1 -1
  179. package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.css +14 -0
  180. package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.js +48 -0
  181. package/dist/collection/components/dropi-text-area/dropi-text-area.css +2 -2
  182. package/dist/collection/components/dropi-text-area/dropi-text-area.js +2 -2
  183. package/dist/collection/components/dropi-time-line/dropi-time-line.css +108 -0
  184. package/dist/collection/components/dropi-time-line/dropi-time-line.js +69 -0
  185. package/dist/collection/components/dropi-toast/dropi-toast.js +1 -1
  186. package/dist/collection/components/dropi-tooltip/dropi-tooltip.js +1 -1
  187. package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.css +95 -0
  188. package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.js +167 -0
  189. package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.css +73 -0
  190. package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.js +110 -0
  191. package/dist/components/dropi-accordion.js +1 -1
  192. package/dist/components/dropi-alert-modal.d.ts +11 -0
  193. package/dist/components/dropi-alert-modal.js +1 -0
  194. package/dist/components/dropi-alert.d.ts +11 -0
  195. package/dist/components/dropi-alert.js +1 -0
  196. package/dist/components/dropi-avatars.d.ts +11 -0
  197. package/dist/components/dropi-avatars.js +1 -0
  198. package/dist/components/dropi-badge.js +1 -1
  199. package/dist/components/dropi-banner-external.d.ts +11 -0
  200. package/dist/components/dropi-banner-external.js +1 -0
  201. package/dist/components/dropi-breadcrumb.d.ts +11 -0
  202. package/dist/components/dropi-breadcrumb.js +1 -0
  203. package/dist/components/dropi-button.js +1 -1
  204. package/dist/components/dropi-card-checkbox.d.ts +11 -0
  205. package/dist/components/dropi-card-checkbox.js +1 -0
  206. package/dist/components/dropi-card-product.d.ts +11 -0
  207. package/dist/components/dropi-card-product.js +1 -0
  208. package/dist/components/dropi-card-section.d.ts +11 -0
  209. package/dist/components/dropi-card-section.js +1 -0
  210. package/dist/components/dropi-carousel.d.ts +11 -0
  211. package/dist/components/dropi-carousel.js +1 -0
  212. package/dist/components/dropi-checkbox-selection-list.d.ts +11 -0
  213. package/dist/components/dropi-checkbox-selection-list.js +1 -0
  214. package/dist/components/dropi-checkbox.js +1 -1
  215. package/dist/components/dropi-chips.d.ts +11 -0
  216. package/dist/components/dropi-chips.js +1 -0
  217. package/dist/components/dropi-city-selector.d.ts +11 -0
  218. package/dist/components/dropi-city-selector.js +1 -0
  219. package/dist/components/dropi-color-picker.d.ts +11 -0
  220. package/dist/components/dropi-color-picker.js +1 -0
  221. package/dist/components/dropi-country-flags.d.ts +11 -0
  222. package/dist/components/dropi-country-flags.js +1 -0
  223. package/dist/components/dropi-country-selector.d.ts +11 -0
  224. package/dist/components/dropi-country-selector.js +1 -0
  225. package/dist/components/dropi-date-picker-range.d.ts +11 -0
  226. package/dist/components/dropi-date-picker-range.js +1 -0
  227. package/dist/components/dropi-date-picker.d.ts +11 -0
  228. package/dist/components/dropi-date-picker.js +1 -0
  229. package/dist/components/dropi-drawer.d.ts +11 -0
  230. package/dist/components/dropi-drawer.js +1 -0
  231. package/dist/components/dropi-dropdown.d.ts +11 -0
  232. package/dist/components/dropi-dropdown.js +1 -0
  233. package/dist/components/dropi-empty-state.js +1 -1
  234. package/dist/components/dropi-favorite-button.d.ts +11 -0
  235. package/dist/components/dropi-favorite-button.js +1 -0
  236. package/dist/components/dropi-file-upload-progress-bar.d.ts +11 -0
  237. package/dist/components/dropi-file-upload-progress-bar.js +1 -0
  238. package/dist/components/dropi-file-upload.d.ts +11 -0
  239. package/dist/components/dropi-file-upload.js +1 -0
  240. package/dist/components/dropi-icon.js +1 -1
  241. package/dist/components/dropi-ilustration-icon.d.ts +11 -0
  242. package/dist/components/dropi-ilustration-icon.js +1 -0
  243. package/dist/components/dropi-image-miniature.d.ts +11 -0
  244. package/dist/components/dropi-image-miniature.js +1 -0
  245. package/dist/components/dropi-image-overlay.d.ts +11 -0
  246. package/dist/components/dropi-image-overlay.js +1 -0
  247. package/dist/components/dropi-input.js +1 -1
  248. package/dist/components/dropi-languages-selector.d.ts +11 -0
  249. package/dist/components/dropi-languages-selector.js +1 -0
  250. package/dist/components/dropi-logo.d.ts +11 -0
  251. package/dist/components/dropi-logo.js +1 -0
  252. package/dist/components/dropi-lottie-loader.d.ts +11 -0
  253. package/dist/components/dropi-lottie-loader.js +1 -0
  254. package/dist/components/dropi-media-player.d.ts +11 -0
  255. package/dist/components/dropi-media-player.js +1 -0
  256. package/dist/components/dropi-modal.js +1 -1
  257. package/dist/components/dropi-navbar.d.ts +11 -0
  258. package/dist/components/dropi-navbar.js +1 -0
  259. package/dist/components/dropi-otp-send-code.d.ts +11 -0
  260. package/dist/components/dropi-otp-send-code.js +1 -0
  261. package/dist/components/dropi-paginator.js +1 -1
  262. package/dist/components/dropi-phone-input.d.ts +11 -0
  263. package/dist/components/dropi-phone-input.js +1 -0
  264. package/dist/components/dropi-radio-button.js +1 -1
  265. package/dist/components/dropi-radio-selection-list.d.ts +11 -0
  266. package/dist/components/dropi-radio-selection-list.js +1 -0
  267. package/dist/components/dropi-read-more.d.ts +11 -0
  268. package/dist/components/dropi-read-more.js +1 -0
  269. package/dist/components/dropi-search.d.ts +11 -0
  270. package/dist/components/dropi-search.js +1 -0
  271. package/dist/components/dropi-select.js +1 -1
  272. package/dist/components/dropi-sidebar.d.ts +11 -0
  273. package/dist/components/dropi-sidebar.js +1 -0
  274. package/dist/components/dropi-simple-stepper.d.ts +11 -0
  275. package/dist/components/dropi-simple-stepper.js +1 -0
  276. package/dist/components/dropi-steps.d.ts +11 -0
  277. package/dist/components/dropi-steps.js +1 -0
  278. package/dist/components/dropi-switch.js +1 -1
  279. package/dist/components/dropi-table.d.ts +11 -0
  280. package/dist/components/dropi-table.js +1 -0
  281. package/dist/components/dropi-tabs.js +1 -1
  282. package/dist/components/dropi-tag-type-product.d.ts +11 -0
  283. package/dist/components/dropi-tag-type-product.js +1 -0
  284. package/dist/components/dropi-tag.js +1 -1
  285. package/dist/components/dropi-text-area.js +1 -1
  286. package/dist/components/dropi-time-line.d.ts +11 -0
  287. package/dist/components/dropi-time-line.js +1 -0
  288. package/dist/components/dropi-toast.js +1 -1
  289. package/dist/components/dropi-tooltip.js +1 -1
  290. package/dist/components/dropi-vertical-steps.d.ts +11 -0
  291. package/dist/components/dropi-vertical-steps.js +1 -0
  292. package/dist/components/dropi-youtube-lazy-video.d.ts +11 -0
  293. package/dist/components/dropi-youtube-lazy-video.js +1 -0
  294. package/dist/components/index.js +1 -1
  295. package/dist/components/p-BY_J-4Sm.js +1 -0
  296. package/dist/components/p-CYCV-5qV.js +1 -0
  297. package/dist/components/p-D0ZJcRZn.js +1 -0
  298. package/dist/components/p-DUPOnSiL.js +1 -0
  299. package/dist/components/p-DUX_WvqW.js +1 -0
  300. package/dist/components/{p-ChOXWKmI.js → p-wO1yy0Zr.js} +1 -1
  301. package/dist/dropi-ui/dropi-ui.esm.js +1 -1
  302. package/dist/dropi-ui/p-053ebb91.entry.js +1 -0
  303. package/dist/dropi-ui/p-0acd32e6.entry.js +1 -0
  304. package/dist/dropi-ui/p-0e88a543.entry.js +1 -0
  305. package/dist/dropi-ui/p-0f2f5f75.entry.js +1 -0
  306. package/dist/dropi-ui/p-131d87ac.entry.js +1 -0
  307. package/dist/dropi-ui/p-1af4719d.entry.js +1 -0
  308. package/dist/dropi-ui/p-1e8f6d4a.entry.js +1 -0
  309. package/dist/dropi-ui/p-22132b1a.entry.js +1 -0
  310. package/dist/dropi-ui/p-2c1aaf6f.entry.js +1 -0
  311. package/dist/dropi-ui/p-2e9b87a9.entry.js +1 -0
  312. package/dist/dropi-ui/p-3414a414.entry.js +1 -0
  313. package/dist/dropi-ui/p-34ad54a1.entry.js +1 -0
  314. package/dist/dropi-ui/p-3531378b.entry.js +1 -0
  315. package/dist/dropi-ui/p-3983a7aa.entry.js +1 -0
  316. package/dist/dropi-ui/p-40e91337.entry.js +1 -0
  317. package/dist/dropi-ui/{p-42179ae4.entry.js → p-4a8646e5.entry.js} +1 -1
  318. package/dist/dropi-ui/p-4be64bf0.entry.js +1 -0
  319. package/dist/dropi-ui/p-4ec17510.entry.js +1 -0
  320. package/dist/dropi-ui/p-5023eef0.entry.js +1 -0
  321. package/dist/dropi-ui/p-51a97b1a.entry.js +1 -0
  322. package/dist/dropi-ui/p-52796d84.entry.js +1 -0
  323. package/dist/dropi-ui/p-53a5bd7b.entry.js +1 -0
  324. package/dist/dropi-ui/p-5425f941.entry.js +1 -0
  325. package/dist/dropi-ui/p-58d0bf7a.entry.js +1 -0
  326. package/dist/dropi-ui/p-59d3bd9b.entry.js +1 -0
  327. package/dist/dropi-ui/p-5e957631.entry.js +1 -0
  328. package/dist/dropi-ui/p-64cbf4ea.entry.js +1 -0
  329. package/dist/dropi-ui/p-68080534.entry.js +1 -0
  330. package/dist/dropi-ui/{p-e44242e2.entry.js → p-6da6b97e.entry.js} +1 -1
  331. package/dist/dropi-ui/p-6df57f25.entry.js +1 -0
  332. package/dist/dropi-ui/p-7c916570.entry.js +1 -0
  333. package/dist/dropi-ui/p-7e95462a.entry.js +1 -0
  334. package/dist/dropi-ui/{p-6031ac9d.entry.js → p-80089042.entry.js} +1 -1
  335. package/dist/dropi-ui/p-8768bb11.entry.js +1 -0
  336. package/dist/dropi-ui/p-896f2900.entry.js +1 -0
  337. package/dist/dropi-ui/p-89ac1ff2.entry.js +1 -0
  338. package/dist/dropi-ui/p-8ce79c69.entry.js +1 -0
  339. package/dist/dropi-ui/p-8e809670.entry.js +1 -0
  340. package/dist/dropi-ui/p-93b207b7.entry.js +1 -0
  341. package/dist/dropi-ui/p-983f72ad.entry.js +1 -0
  342. package/dist/dropi-ui/p-98babb78.entry.js +1 -0
  343. package/dist/dropi-ui/p-9fc53d50.entry.js +1 -0
  344. package/dist/dropi-ui/p-Tbza12Gt.js +2 -0
  345. package/dist/dropi-ui/p-a20705fe.entry.js +1 -0
  346. package/dist/dropi-ui/p-a72da98f.entry.js +1 -0
  347. package/dist/dropi-ui/p-a876d57c.entry.js +1 -0
  348. package/dist/dropi-ui/p-b1b0f938.entry.js +1 -0
  349. package/dist/dropi-ui/p-b2e176b1.entry.js +1 -0
  350. package/dist/dropi-ui/p-b41c8a6c.entry.js +1 -0
  351. package/dist/dropi-ui/p-b890fd5b.entry.js +1 -0
  352. package/dist/dropi-ui/p-bf5a53ef.entry.js +1 -0
  353. package/dist/dropi-ui/{p-4d582d58.entry.js → p-c0677661.entry.js} +1 -1
  354. package/dist/dropi-ui/p-c2562a1c.entry.js +1 -0
  355. package/dist/dropi-ui/p-c2b5d0fb.entry.js +1 -0
  356. package/dist/dropi-ui/p-c4d4396b.entry.js +1 -0
  357. package/dist/dropi-ui/p-c9ebd31b.entry.js +1 -0
  358. package/dist/dropi-ui/p-cecfb68e.entry.js +1 -0
  359. package/dist/dropi-ui/p-d0b47e2e.entry.js +1 -0
  360. package/dist/dropi-ui/p-dcefef51.entry.js +1 -0
  361. package/dist/dropi-ui/p-e4b7e15f.entry.js +1 -0
  362. package/dist/dropi-ui/{p-b0d3442e.entry.js → p-e7f4ed25.entry.js} +1 -1
  363. package/dist/dropi-ui/p-f1d69b15.entry.js +1 -0
  364. package/dist/esm/dropi-accordion.entry.js +3 -3
  365. package/dist/esm/dropi-alert-modal.entry.js +70 -0
  366. package/dist/esm/dropi-alert.entry.js +56 -0
  367. package/dist/esm/dropi-avatars.entry.js +29 -0
  368. package/dist/esm/dropi-badge.entry.js +2 -2
  369. package/dist/esm/dropi-banner-external.entry.js +45 -0
  370. package/dist/esm/dropi-breadcrumb.entry.js +46 -0
  371. package/dist/esm/dropi-button.entry.js +7 -5
  372. package/dist/esm/dropi-card-checkbox.entry.js +43 -0
  373. package/dist/esm/dropi-card-product.entry.js +57 -0
  374. package/dist/esm/dropi-card-section.entry.js +36 -0
  375. package/dist/esm/dropi-carousel.entry.js +81 -0
  376. package/dist/esm/dropi-checkbox-selection-list.entry.js +69 -0
  377. package/dist/esm/dropi-checkbox.entry.js +4 -4
  378. package/dist/esm/dropi-chips.entry.js +28 -0
  379. package/dist/esm/dropi-city-selector.entry.js +83 -0
  380. package/dist/esm/dropi-color-picker.entry.js +67 -0
  381. package/dist/esm/dropi-country-flags.entry.js +35 -0
  382. package/dist/esm/dropi-country-selector.entry.js +162 -0
  383. package/dist/esm/dropi-date-picker-range.entry.js +113 -0
  384. package/dist/esm/dropi-date-picker.entry.js +203 -0
  385. package/dist/esm/dropi-drawer.entry.js +48 -0
  386. package/dist/esm/dropi-dropdown.entry.js +56 -0
  387. package/dist/esm/dropi-empty-state.entry.js +9 -5
  388. package/dist/esm/dropi-favorite-button.entry.js +25 -0
  389. package/dist/esm/dropi-file-upload-progress-bar.entry.js +50 -0
  390. package/dist/esm/dropi-file-upload.entry.js +82 -0
  391. package/dist/esm/dropi-icon.entry.js +2 -2
  392. package/dist/esm/dropi-ilustration-icon.entry.js +37 -0
  393. package/dist/esm/dropi-image-miniature.entry.js +42 -0
  394. package/dist/esm/dropi-image-overlay.entry.js +60 -0
  395. package/dist/esm/dropi-input.entry.js +10 -10
  396. package/dist/esm/dropi-languages-selector.entry.js +55 -0
  397. package/dist/esm/dropi-logo.entry.js +25 -0
  398. package/dist/esm/dropi-lottie-loader.entry.js +25 -0
  399. package/dist/esm/dropi-media-player.entry.js +100 -0
  400. package/dist/esm/dropi-modal.entry.js +12 -9
  401. package/dist/esm/dropi-navbar.entry.js +50 -0
  402. package/dist/esm/dropi-otp-send-code.entry.js +90 -0
  403. package/dist/esm/dropi-paginator.entry.js +7 -5
  404. package/dist/esm/dropi-phone-input.entry.js +82 -0
  405. package/dist/esm/dropi-radio-button.entry.js +3 -3
  406. package/dist/esm/dropi-radio-selection-list.entry.js +54 -0
  407. package/dist/esm/dropi-read-more.entry.js +34 -0
  408. package/dist/esm/dropi-search.entry.js +108 -0
  409. package/dist/esm/dropi-select.entry.js +7 -7
  410. package/dist/esm/dropi-sidebar.entry.js +65 -0
  411. package/dist/esm/dropi-simple-stepper.entry.js +49 -0
  412. package/dist/esm/dropi-skeleton.entry.js +1 -1
  413. package/dist/esm/dropi-steps.entry.js +48 -0
  414. package/dist/esm/dropi-switch.entry.js +3 -3
  415. package/dist/esm/dropi-table.entry.js +122 -0
  416. package/dist/esm/dropi-tabs.entry.js +3 -3
  417. package/dist/esm/dropi-tag-type-product.entry.js +17 -0
  418. package/dist/esm/dropi-tag.entry.js +3 -3
  419. package/dist/esm/dropi-text-area.entry.js +8 -8
  420. package/dist/esm/dropi-time-line.entry.js +32 -0
  421. package/dist/esm/dropi-toast.entry.js +2 -2
  422. package/dist/esm/dropi-tooltip.entry.js +2 -2
  423. package/dist/esm/dropi-ui.js +3 -3
  424. package/dist/esm/dropi-vertical-steps.entry.js +53 -0
  425. package/dist/esm/dropi-youtube-lazy-video.entry.js +31 -0
  426. package/dist/esm/{index-Twbb5MNM.js → index-Tbza12Gt.js} +3 -3
  427. package/dist/esm/loader.js +3 -3
  428. package/dist/types/components/dropi-alert/dropi-alert.d.ts +35 -0
  429. package/dist/types/components/dropi-alert-modal/dropi-alert-modal.d.ts +48 -0
  430. package/dist/types/components/dropi-avatars/dropi-avatars.d.ts +17 -0
  431. package/dist/types/components/dropi-banner-external/dropi-banner-external.d.ts +30 -0
  432. package/dist/types/components/dropi-breadcrumb/dropi-breadcrumb.d.ts +31 -0
  433. package/dist/types/components/dropi-button/dropi-button.d.ts +2 -0
  434. package/dist/types/components/dropi-card-checkbox/dropi-card-checkbox.d.ts +33 -0
  435. package/dist/types/components/dropi-card-product/dropi-card-product.d.ts +39 -0
  436. package/dist/types/components/dropi-card-section/dropi-card-section.d.ts +22 -0
  437. package/dist/types/components/dropi-carousel/dropi-carousel.d.ts +40 -0
  438. package/dist/types/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.d.ts +37 -0
  439. package/dist/types/components/dropi-chips/dropi-chips.d.ts +23 -0
  440. package/dist/types/components/dropi-city-selector/dropi-city-selector.d.ts +46 -0
  441. package/dist/types/components/dropi-color-picker/dropi-color-picker.d.ts +31 -0
  442. package/dist/types/components/dropi-country-flags/dropi-country-flags.d.ts +19 -0
  443. package/dist/types/components/dropi-country-selector/dropi-country-selector.d.ts +39 -0
  444. package/dist/types/components/dropi-date-picker/dropi-date-picker.d.ts +47 -0
  445. package/dist/types/components/dropi-date-picker-range/dropi-date-picker-range.d.ts +50 -0
  446. package/dist/types/components/dropi-drawer/dropi-drawer.d.ts +25 -0
  447. package/dist/types/components/dropi-dropdown/dropi-dropdown.d.ts +28 -0
  448. package/dist/types/components/dropi-empty-state/dropi-empty-state.d.ts +4 -0
  449. package/dist/types/components/dropi-favorite-button/dropi-favorite-button.d.ts +14 -0
  450. package/dist/types/components/dropi-file-upload/dropi-file-upload.d.ts +37 -0
  451. package/dist/types/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.d.ts +25 -0
  452. package/dist/types/components/dropi-ilustration-icon/dropi-ilustration-icon.d.ts +24 -0
  453. package/dist/types/components/dropi-image-miniature/dropi-image-miniature.d.ts +23 -0
  454. package/dist/types/components/dropi-image-overlay/dropi-image-overlay.d.ts +26 -0
  455. package/dist/types/components/dropi-languages-selector/dropi-languages-selector.d.ts +31 -0
  456. package/dist/types/components/dropi-logo/dropi-logo.d.ts +14 -0
  457. package/dist/types/components/dropi-lottie-loader/dropi-lottie-loader.d.ts +15 -0
  458. package/dist/types/components/dropi-media-player/dropi-media-player.d.ts +44 -0
  459. package/dist/types/components/dropi-navbar/dropi-navbar.d.ts +40 -0
  460. package/dist/types/components/dropi-otp-send-code/dropi-otp-send-code.d.ts +33 -0
  461. package/dist/types/components/dropi-paginator/dropi-paginator.d.ts +2 -0
  462. package/dist/types/components/dropi-phone-input/dropi-phone-input.d.ts +34 -0
  463. package/dist/types/components/dropi-radio-selection-list/dropi-radio-selection-list.d.ts +34 -0
  464. package/dist/types/components/dropi-read-more/dropi-read-more.d.ts +17 -0
  465. package/dist/types/components/dropi-search/dropi-search.d.ts +51 -0
  466. package/dist/types/components/dropi-sidebar/dropi-sidebar.d.ts +35 -0
  467. package/dist/types/components/dropi-simple-stepper/dropi-simple-stepper.d.ts +20 -0
  468. package/dist/types/components/dropi-steps/dropi-steps.d.ts +21 -0
  469. package/dist/types/components/dropi-table/dropi-table.d.ts +57 -0
  470. package/dist/types/components/dropi-tag-type-product/dropi-tag-type-product.d.ts +9 -0
  471. package/dist/types/components/dropi-time-line/dropi-time-line.d.ts +18 -0
  472. package/dist/types/components/dropi-vertical-steps/dropi-vertical-steps.d.ts +24 -0
  473. package/dist/types/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.d.ts +19 -0
  474. package/dist/types/components.d.ts +5705 -874
  475. package/package.json +1 -1
  476. package/scripts/setup.js +2 -0
  477. package/dist/components/p-NCyvfOs2.js +0 -1
  478. package/dist/dropi-ui/p-082b7039.entry.js +0 -1
  479. package/dist/dropi-ui/p-09c38a49.entry.js +0 -1
  480. package/dist/dropi-ui/p-1739d20c.entry.js +0 -1
  481. package/dist/dropi-ui/p-26dbae0d.entry.js +0 -1
  482. package/dist/dropi-ui/p-63e969da.entry.js +0 -1
  483. package/dist/dropi-ui/p-65fa8558.entry.js +0 -1
  484. package/dist/dropi-ui/p-6d15d32f.entry.js +0 -1
  485. package/dist/dropi-ui/p-79466fec.entry.js +0 -1
  486. package/dist/dropi-ui/p-Twbb5MNM.js +0 -2
  487. package/dist/dropi-ui/p-a5650d8f.entry.js +0 -1
  488. package/dist/dropi-ui/p-eb7f9a57.entry.js +0 -1
  489. package/dist/dropi-ui/p-ecda6e19.entry.js +0 -1
  490. package/dist/dropi-ui/p-f0e1e0f6.entry.js +0 -1
  491. package/dist/dropi-ui/p-f283f41d.entry.js +0 -1
@@ -0,0 +1,164 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DcOH2ZjX.js');
4
+
5
+ const dropiCountrySelectorCss = () => `:host{display:block;width:100%;text-align:left}*,*::before,*::after{box-sizing:border-box}.custom-select{position:relative;width:100%}label{display:block;font-size:var(--font-size-xs, 11px);font-weight:var(--font-weight-regular, 400);color:var(--Gray-Gray-600, #475066);margin-bottom:6px}.required{color:var(--Error-Error-500, #ef4444);margin-left:2px}.select-button{width:100%;height:40px;padding:0 10px;border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #fff);color:var(--Gray-Gray-500, #69738c);font-size:var(--font-size-s, 12px);font-family:inherit;display:flex;justify-content:space-between;align-items:center;text-align:left;cursor:pointer;transition:border-color 0.15s ease}.select-button:focus{outline:none;border-color:var(--Info-Info-500, #3b82f6)}.select-button:disabled{border-color:var(--Gray-Gray-200, #c3c9d9);color:var(--Gray-Gray-400, #858ea6);background:var(--Gray-Gray-50, #f7f8fa);cursor:not-allowed}.select-button.select-completed{border-color:var(--Gray-Gray-400, #858ea6);color:var(--Gray-Gray-600, #475066)}.select-button.select-invalid{border-color:var(--Error-Error-500, #ef4444)}.selected-content{display:flex;align-items:center;gap:8px;overflow:hidden}.selected-option{display:flex;align-items:center;gap:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.placeholder-text{color:var(--Gray-Gray-400, #858ea6)}.flag-img{border-radius:16px;width:24px;height:24px;object-fit:cover;flex-shrink:0}.select-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:var(--Neutral-White, #fff);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);overflow-y:auto;z-index:200;list-style:none;padding:0;margin:0;box-shadow:0 4px 12px rgba(0, 0, 0, 0.1);transition:max-height 0.2s ease, opacity 0.2s ease}.select-dropdown.expanded{max-height:260px;opacity:1}.select-dropdown.collapsed{max-height:0;opacity:0;pointer-events:none;border-color:transparent;box-shadow:none}.search-li{padding:0;position:sticky;top:0;background:var(--Neutral-White, #fff);z-index:1}.country-search{width:100%;padding:8px 12px;border:none;border-bottom:1px solid var(--Gray-Gray-100, #e6eaf2);outline:none;font-size:var(--font-size-s, 12px);font-family:inherit;color:var(--Gray-Gray-600, #475066);background:transparent}.option{width:100%;min-height:40px;border-radius:0;padding:8px 12px;border:none;background:transparent;text-align:left;color:var(--Gray-Gray-600, #475066);font-size:var(--font-size-s, 12px);font-family:inherit;cursor:pointer;display:flex;align-items:center;gap:8px;transition:background 0.1s ease}.option:hover{background:var(--Gray-Gray-50, #f7f8fa)}`;
6
+
7
+ const COUNTRIES = [
8
+ { name: 'Afghanistan', code: 'AF', codePhone: '93' },
9
+ { name: 'Albania', code: 'AL', codePhone: '355' },
10
+ { name: 'Algeria', code: 'DZ', codePhone: '213' },
11
+ { name: 'Argentina', code: 'AR', codePhone: '54' },
12
+ { name: 'Australia', code: 'AU', codePhone: '61' },
13
+ { name: 'Austria', code: 'AT', codePhone: '43' },
14
+ { name: 'Azerbaijan', code: 'AZ', codePhone: '994' },
15
+ { name: 'Bahamas', code: 'BS', codePhone: '1242' },
16
+ { name: 'Bahrain', code: 'BH', codePhone: '973' },
17
+ { name: 'Bangladesh', code: 'BD', codePhone: '880' },
18
+ { name: 'Belgium', code: 'BE', codePhone: '32' },
19
+ { name: 'Bolivia', code: 'BO', codePhone: '591' },
20
+ { name: 'Brazil', code: 'BR', codePhone: '55' },
21
+ { name: 'Cambodia', code: 'KH', codePhone: '855' },
22
+ { name: 'Canada', code: 'CA', codePhone: '1' },
23
+ { name: 'Chile', code: 'CL', codePhone: '56' },
24
+ { name: 'China', code: 'CN', codePhone: '86' },
25
+ { name: 'Colombia', code: 'CO', codePhone: '57' },
26
+ { name: 'Costa Rica', code: 'CR', codePhone: '506' },
27
+ { name: 'Cuba', code: 'CU', codePhone: '53' },
28
+ { name: 'Czech Republic', code: 'CZ', codePhone: '420' },
29
+ { name: 'Denmark', code: 'DK', codePhone: '45' },
30
+ { name: 'Dominican Republic', code: 'DO', codePhone: '1' },
31
+ { name: 'Ecuador', code: 'EC', codePhone: '593' },
32
+ { name: 'Egypt', code: 'EG', codePhone: '20' },
33
+ { name: 'El Salvador', code: 'SV', codePhone: '503' },
34
+ { name: 'Estonia', code: 'EE', codePhone: '372' },
35
+ { name: 'Ethiopia', code: 'ET', codePhone: '251' },
36
+ { name: 'Finland', code: 'FI', codePhone: '358' },
37
+ { name: 'France', code: 'FR', codePhone: '33' },
38
+ { name: 'Germany', code: 'DE', codePhone: '49' },
39
+ { name: 'Ghana', code: 'GH', codePhone: '233' },
40
+ { name: 'Greece', code: 'GR', codePhone: '30' },
41
+ { name: 'Guatemala', code: 'GT', codePhone: '502' },
42
+ { name: 'Honduras', code: 'HN', codePhone: '504' },
43
+ { name: 'Hong Kong', code: 'HK', codePhone: '852' },
44
+ { name: 'Hungary', code: 'HU', codePhone: '36' },
45
+ { name: 'India', code: 'IN', codePhone: '91' },
46
+ { name: 'Indonesia', code: 'ID', codePhone: '62' },
47
+ { name: 'Iran, Islamic Republic Of', code: 'IR', codePhone: '98' },
48
+ { name: 'Iraq', code: 'IQ', codePhone: '964' },
49
+ { name: 'Ireland', code: 'IE', codePhone: '353' },
50
+ { name: 'Israel', code: 'IL', codePhone: '972' },
51
+ { name: 'Italy', code: 'IT', codePhone: '39' },
52
+ { name: 'Jamaica', code: 'JM', codePhone: '1876' },
53
+ { name: 'Japan', code: 'JP', codePhone: '81' },
54
+ { name: 'Jordan', code: 'JO', codePhone: '962' },
55
+ { name: 'Kazakhstan', code: 'KZ', codePhone: '7' },
56
+ { name: 'Kenya', code: 'KE', codePhone: '254' },
57
+ { name: 'Kuwait', code: 'KW', codePhone: '965' },
58
+ { name: 'Lebanon', code: 'LB', codePhone: '961' },
59
+ { name: 'Malaysia', code: 'MY', codePhone: '60' },
60
+ { name: 'Mexico', code: 'MX', codePhone: '52' },
61
+ { name: 'Morocco', code: 'MA', codePhone: '212' },
62
+ { name: 'Netherlands', code: 'NL', codePhone: '31' },
63
+ { name: 'New Zealand', code: 'NZ', codePhone: '64' },
64
+ { name: 'Nicaragua', code: 'NI', codePhone: '505' },
65
+ { name: 'Nigeria', code: 'NG', codePhone: '234' },
66
+ { name: 'Norway', code: 'NO', codePhone: '47' },
67
+ { name: 'Pakistan', code: 'PK', codePhone: '92' },
68
+ { name: 'Panama', code: 'PA', codePhone: '507' },
69
+ { name: 'Paraguay', code: 'PY', codePhone: '595' },
70
+ { name: 'Peru', code: 'PE', codePhone: '51' },
71
+ { name: 'Philippines', code: 'PH', codePhone: '63' },
72
+ { name: 'Poland', code: 'PL', codePhone: '48' },
73
+ { name: 'Portugal', code: 'PT', codePhone: '351' },
74
+ { name: 'Qatar', code: 'QA', codePhone: '974' },
75
+ { name: 'Romania', code: 'RO', codePhone: '40' },
76
+ { name: 'Russian Federation', code: 'RU', codePhone: '7' },
77
+ { name: 'Saudi Arabia', code: 'SA', codePhone: '966' },
78
+ { name: 'Singapore', code: 'SG', codePhone: '65' },
79
+ { name: 'South Africa', code: 'ZA', codePhone: '27' },
80
+ { name: 'Spain', code: 'ES', codePhone: '34' },
81
+ { name: 'Sri Lanka', code: 'LK', codePhone: '94' },
82
+ { name: 'Sweden', code: 'SE', codePhone: '46' },
83
+ { name: 'Switzerland', code: 'CH', codePhone: '41' },
84
+ { name: 'Taiwan, Province of China', code: 'TW', codePhone: '886' },
85
+ { name: 'Thailand', code: 'TH', codePhone: '66' },
86
+ { name: 'Tunisia', code: 'TN', codePhone: '216' },
87
+ { name: 'Turkey', code: 'TR', codePhone: '90' },
88
+ { name: 'Uganda', code: 'UG', codePhone: '256' },
89
+ { name: 'Ukraine', code: 'UA', codePhone: '380' },
90
+ { name: 'United Arab Emirates', code: 'AE', codePhone: '971' },
91
+ { name: 'United Kingdom', code: 'GB', codePhone: '44' },
92
+ { name: 'United States', code: 'US', codePhone: '1' },
93
+ { name: 'Uruguay', code: 'UY', codePhone: '598' },
94
+ { name: 'Venezuela', code: 'VE', codePhone: '58' },
95
+ { name: 'Viet Nam', code: 'VN', codePhone: '84' },
96
+ { name: 'Zimbabwe', code: 'ZW', codePhone: '263' },
97
+ ];
98
+ const DropiCountrySelector = class {
99
+ constructor(hostRef) {
100
+ index.registerInstance(this, hostRef);
101
+ this.dropiCountryChange = index.createEvent(this, "dropiCountryChange", 7);
102
+ }
103
+ /** Label above the select */
104
+ label = '';
105
+ /** Placeholder when nothing is selected */
106
+ placeholder = 'Selecciona un país';
107
+ /** Pre-selected country code (ISO 3166-1 alpha-2) */
108
+ value = '';
109
+ /** Whether the selector is disabled */
110
+ disabled = false;
111
+ /** Show asterisk for required field */
112
+ showObligatory = false;
113
+ /** Show error border */
114
+ invalid = false;
115
+ /** Emitted when a country is selected. Detail is the CountryItem. */
116
+ dropiCountryChange;
117
+ isOpen = false;
118
+ selected = null;
119
+ searchTerm = '';
120
+ searchInputRef;
121
+ valueChanged(val) {
122
+ this.selected = COUNTRIES.find(c => c.code === val) || null;
123
+ }
124
+ componentWillLoad() {
125
+ if (this.value)
126
+ this.valueChanged(this.value);
127
+ }
128
+ get filtered() {
129
+ if (!this.searchTerm)
130
+ return COUNTRIES;
131
+ const t = this.searchTerm.toLowerCase();
132
+ return COUNTRIES.filter(c => c.name.toLowerCase().includes(t));
133
+ }
134
+ open() {
135
+ if (this.disabled)
136
+ return;
137
+ this.isOpen = !this.isOpen;
138
+ if (this.isOpen) {
139
+ setTimeout(() => this.searchInputRef?.focus(), 50);
140
+ }
141
+ }
142
+ select(country) {
143
+ this.selected = country;
144
+ this.isOpen = false;
145
+ this.searchTerm = '';
146
+ this.value = country.code;
147
+ this.dropiCountryChange.emit(country);
148
+ }
149
+ render() {
150
+ return (index.h("div", { key: '95320129f76f5d802d62cb282172af97607ed15b', class: "custom-select" }, this.label && (index.h("label", { key: '7310600a9ac9a4482240ae6452db11ea2f083ea5' }, this.label, this.showObligatory && index.h("span", { key: '8ff5f89823f308366fa9f9ab680d7716e136eec5', class: "required" }, "*"))), index.h("button", { key: 'cf73602134c204051e196a2fdce9192377e6c1dc', type: "button", class: {
151
+ 'select-button': true,
152
+ 'select-completed': !!this.selected,
153
+ 'select-invalid': this.invalid,
154
+ }, disabled: this.disabled, onClick: () => this.open() }, index.h("div", { key: '29afa9af6fd5b314e38f75c496e3f6f529a795b2', class: "selected-content" }, this.selected ? (index.h("span", { class: "selected-option" }, index.h("img", { class: "flag-img", src: `https://flagsapi.com/${this.selected.code}/shiny/24.png`, alt: this.selected.name }), this.selected.name)) : (index.h("span", { class: "placeholder-text" }, this.placeholder))), index.h("dropi-icon", { key: '722dcee79149526a9879e339279128aa23f513cc', name: this.isOpen ? 'Dropdown-up' : 'Dropdown-down', width: "20px", height: "20px", color: "Gray-Gray-500" })), index.h("ul", { key: '64a93caa1189e212c83aa711d8fec2df97baba1b', class: `select-dropdown${this.isOpen ? ' expanded' : ' collapsed'}` }, index.h("li", { key: '28f0924f7edac815645c0ee51963b8ac688312a6', class: "search-li" }, index.h("input", { key: 'b69a4b4a9238fe4dbc0932f8f4078989d867a224', ref: (el) => { this.searchInputRef = el; }, type: "text", class: "country-search", placeholder: "Buscar pa\u00EDs...", value: this.searchTerm, onInput: (e) => { this.searchTerm = e.target.value; } })), this.filtered.map(country => (index.h("li", { key: country.code }, index.h("button", { class: "option", type: "button", onClick: () => this.select(country) }, index.h("img", { class: "flag-img", src: `https://flagsapi.com/${country.code}/shiny/24.png`, alt: country.name }), country.name)))))));
155
+ }
156
+ static get watchers() { return {
157
+ "value": [{
158
+ "valueChanged": 0
159
+ }]
160
+ }; }
161
+ };
162
+ DropiCountrySelector.style = dropiCountrySelectorCss();
163
+
164
+ exports.dropi_country_selector = DropiCountrySelector;
@@ -0,0 +1,115 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DcOH2ZjX.js');
4
+
5
+ const dropiDatePickerRangeCss = () => `:host{display:block;width:100%;max-width:380px}*,*::before,*::after{box-sizing:border-box}.date-picker-range{width:100%;font-family:inherit}.label{font-size:11px;font-weight:500;color:#7b8190;margin-bottom:8px}.inputs-row{display:flex;align-items:flex-end;gap:8px}.input-group{flex:1;display:flex;flex-direction:column;gap:4px}.input-label{font-size:var(--font-size-xs, 11px);color:var(--Gray-Gray-500, #69738c);font-weight:var(--font-weight-medium, 500)}.date-input{width:100%;height:40px;padding:0 10px;border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #fff);color:var(--Gray-Gray-600, #475066);font-size:13px;font-family:inherit;outline:none;cursor:pointer;transition:border-color 0.15s ease}.date-input:focus{border-color:var(--Primary-Primary-500, #f49a3d)}.separator{padding-bottom:8px;color:var(--Gray-Gray-400, #858ea6);font-size:16px}.shortcuts{display:flex;flex-direction:column;gap:2px;margin-top:10px;border-left:1px solid var(--Gray-Gray-100, #e6eaf2);padding-left:10px}.shortcut-btn{background:transparent;border:none;padding:4px 6px;font-size:13px;font-family:inherit;color:var(--Gray-Gray-700, #32394d);cursor:pointer;text-align:left;border-radius:5px;transition:background 0.1s ease;font-weight:400}.shortcut-btn:hover{background:var(--Gray-Gray-50, #f5f6f8)}.shortcut-btn.active{background:var(--Gray-Gray-50, #f5f6f8);font-weight:600}.warning-box{margin-top:8px;padding:4px 8px;border:1px solid #f4c370;border-radius:4px;background:#fef8ed}.warning-message{color:#495057;font-size:10px;line-height:16px}@keyframes shimmer{0%{background-position:-468px 0}100%{background-position:468px 0}}.skeleton{height:40px;width:100%;min-width:180px;border-radius:6px;animation:shimmer 1s linear infinite;background:linear-gradient(to right, #f5f6f8 8%, #e3e7ef 28%, #f5f6f8 77%);background-size:800px 104px}@media screen and (max-width: 480px){.inputs-row{flex-direction:column}.separator{display:none}.shortcuts{flex-direction:row;flex-wrap:wrap;border-left:none;padding-left:0;border-top:1px solid var(--Gray-Gray-100, #e6eaf2);padding-top:8px}}`;
6
+
7
+ const DropiDatePickerRange = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.dropiStartDateChange = index.createEvent(this, "dropiStartDateChange", 7);
11
+ this.dropiEndDateChange = index.createEvent(this, "dropiEndDateChange", 7);
12
+ this.dropiRangeChange = index.createEvent(this, "dropiRangeChange", 7);
13
+ }
14
+ /** Start date (YYYY-MM-DD) */
15
+ startDate = '';
16
+ /** End date (YYYY-MM-DD) */
17
+ endDate = '';
18
+ /** Show "Rango de fechas" label */
19
+ showLabel = true;
20
+ /** Input placeholder */
21
+ placeholder = '';
22
+ /** Show loading skeleton */
23
+ loading = false;
24
+ /** Max allowed range in days (0 = unlimited) */
25
+ maxDaysRange = 0;
26
+ /** Hide "Hoy" shortcut */
27
+ hideTodayRangeShortcut = false;
28
+ /** Emitted when start date changes */
29
+ dropiStartDateChange;
30
+ /** Emitted when end date changes */
31
+ dropiEndDateChange;
32
+ /** Emitted with full range when both dates are set */
33
+ dropiRangeChange;
34
+ start = '';
35
+ end = '';
36
+ activeRange = -1;
37
+ showWarning = false;
38
+ onStartPropChange(val) { this.start = val; }
39
+ onEndPropChange(val) { this.end = val; }
40
+ componentWillLoad() {
41
+ this.start = this.startDate;
42
+ this.end = this.endDate;
43
+ }
44
+ get today() {
45
+ return new Date().toISOString().split('T')[0];
46
+ }
47
+ daysAgo(n) {
48
+ const d = new Date();
49
+ d.setDate(d.getDate() - n);
50
+ return d.toISOString().split('T')[0];
51
+ }
52
+ get shortcuts() {
53
+ const all = [
54
+ { label: 'Hoy', start: this.today, end: this.today },
55
+ { label: 'Últimos 7 días', start: this.daysAgo(6), end: this.today },
56
+ { label: 'Últimos 15 días', start: this.daysAgo(14), end: this.today },
57
+ { label: 'Últimos 30 días', start: this.daysAgo(29), end: this.today },
58
+ { label: 'Últimos 90 días', start: this.daysAgo(89), end: this.today },
59
+ ];
60
+ return this.hideTodayRangeShortcut ? all.slice(1) : all;
61
+ }
62
+ selectShortcut(idx) {
63
+ const s = this.shortcuts[idx];
64
+ this.start = s.start;
65
+ this.end = s.end;
66
+ this.activeRange = idx;
67
+ this.showWarning = false;
68
+ this.emit();
69
+ }
70
+ onStartChange(e) {
71
+ this.start = e.target.value;
72
+ this.activeRange = -1;
73
+ this.checkRange();
74
+ if (this.start && this.end)
75
+ this.emit();
76
+ }
77
+ onEndChange(e) {
78
+ this.end = e.target.value;
79
+ this.activeRange = -1;
80
+ this.checkRange();
81
+ if (this.start && this.end)
82
+ this.emit();
83
+ }
84
+ checkRange() {
85
+ if (this.start && this.end && this.maxDaysRange > 0) {
86
+ const diff = (new Date(this.end).getTime() - new Date(this.start).getTime()) / 86400000;
87
+ this.showWarning = diff > this.maxDaysRange;
88
+ }
89
+ else {
90
+ this.showWarning = false;
91
+ }
92
+ }
93
+ emit() {
94
+ this.dropiStartDateChange.emit(this.start);
95
+ this.dropiEndDateChange.emit(this.end);
96
+ this.dropiRangeChange.emit({ start: this.start, end: this.end });
97
+ }
98
+ render() {
99
+ if (this.loading) {
100
+ return index.h("div", { class: "skeleton" });
101
+ }
102
+ return (index.h("div", { class: "date-picker-range" }, this.showLabel && index.h("div", { class: "label" }, "Rango de fechas"), index.h("div", { class: "inputs-row" }, index.h("div", { class: "input-group" }, index.h("label", { class: "input-label" }, "Desde"), index.h("input", { type: "date", class: "date-input", value: this.start, max: this.end || this.today, onChange: (e) => this.onStartChange(e) })), index.h("span", { class: "separator" }, "\u2014"), index.h("div", { class: "input-group" }, index.h("label", { class: "input-label" }, "Hasta"), index.h("input", { type: "date", class: "date-input", value: this.end, min: this.start, max: this.today, onChange: (e) => this.onEndChange(e) }))), index.h("div", { class: "shortcuts" }, this.shortcuts.map((s, i) => (index.h("button", { key: i, class: `shortcut-btn${this.activeRange === i ? ' active' : ''}`, onClick: () => this.selectShortcut(i) }, s.label)))), this.showWarning && (index.h("div", { class: "warning-box" }, index.h("span", { class: "warning-message" }, "Solo puedes filtrar en un rango m\u00E1ximo de ", this.maxDaysRange, " d\u00EDas.")))));
103
+ }
104
+ static get watchers() { return {
105
+ "startDate": [{
106
+ "onStartPropChange": 0
107
+ }],
108
+ "endDate": [{
109
+ "onEndPropChange": 0
110
+ }]
111
+ }; }
112
+ };
113
+ DropiDatePickerRange.style = dropiDatePickerRangeCss();
114
+
115
+ exports.dropi_date_picker_range = DropiDatePickerRange;
@@ -0,0 +1,205 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DcOH2ZjX.js');
4
+
5
+ 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);color:var(--Gray-Gray-600, #475066);margin-bottom:4px}.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, #fff);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-s, 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% + 4px);left:0;width:280px;background:var(--Neutral-White, #fff);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);box-shadow:0 4px 24px rgba(0,0,0,0.1);z-index:300;padding:var(--Size-3, 12px)}.dp-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--Size-3, 12px)}.dp-nav__btn{background:none;border:none;padding:4px;cursor:pointer;border-radius:var(--Border-1, 4px);display:flex;align-items:center;transition:background 0.15s}.dp-nav__btn:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dp-nav__title{font-size:var(--font-size-s, 12px);font-weight:var(--font-weight-bold, 700);color:var(--Gray-Gray-800, #1a2033)}.dp-grid{display:grid;grid-template-columns:repeat(7, 1fr);gap:2px}.dp-day-header{font-size:var(--font-size-xs, 10px);color:var(--Gray-Gray-400, #858ea6);text-align:center;padding:4px 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, 10px);font-family:inherit;border:none;border-radius:var(--Border-1, 4px);cursor:pointer;background:none;color:var(--Gray-Gray-700, #32394d);transition:background 0.15s, color 0.15s}.dp-cell:hover:not(:disabled){background:var(--Gray-Gray-50, #f7f8fa)}.dp-cell--other-month{color:var(--Gray-Gray-300, #a0a9c0)}.dp-cell--today{font-weight:var(--font-weight-bold, 700);color:var(--Primary-Primary-500, #f49a3d)}.dp-cell--selected,.dp-cell--range-start,.dp-cell--range-end{background:var(--Primary-Primary-500, #f49a3d);color:var(--Neutral-White, #fff);border-radius:var(--Border-1, 4px)}.dp-cell--in-range{background:var(--Primary-Primary-50, #fff5eb);border-radius:0}.dp-cell--range-start{border-radius:var(--Border-1, 4px) 0 0 var(--Border-1, 4px)}.dp-cell--range-end{border-radius:0 var(--Border-1, 4px) var(--Border-1, 4px) 0}.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, #eceef4);padding-top:var(--Size-2, 8px)}.dp-footer__clear,.dp-footer__today{background:none;border:none;padding:4px 8px;font-size:var(--font-size-xs, 10px);font-family:inherit;cursor:pointer;border-radius:var(--Border-1, 4px);transition:background 0.15s}.dp-footer__clear{color:var(--Gray-Gray-500, #68738f)}.dp-footer__today{color:var(--Primary-Primary-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(--Primary-Primary-50, #fff5eb)}`;
6
+
7
+ const MONTHS_ES = [
8
+ 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio',
9
+ 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'
10
+ ];
11
+ const DAYS_ES = ['Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa', 'Do'];
12
+ const DropiDatePicker = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.dropiDateChange = index.createEvent(this, "dropiDateChange", 7);
16
+ this.dropiRangeChange = index.createEvent(this, "dropiRangeChange", 7);
17
+ }
18
+ /** Selected date (ISO string, single mode) */
19
+ value = '';
20
+ /** Range start date (ISO string, range mode) */
21
+ startDate = '';
22
+ /** Range end date (ISO string, range mode) */
23
+ endDate = '';
24
+ /** Enable range selection */
25
+ range = false;
26
+ /** Min selectable date (ISO string) */
27
+ minDate = '';
28
+ /** Max selectable date (ISO string) */
29
+ maxDate = '';
30
+ /** Label */
31
+ label = '';
32
+ /** Placeholder */
33
+ placeholder = 'Seleccionar fecha';
34
+ /** Disabled */
35
+ disabled = false;
36
+ open = false;
37
+ viewYear = new Date().getFullYear();
38
+ viewMonth = new Date().getMonth();
39
+ hoverDate = '';
40
+ /** Emitted when single date selected. e.detail = ISO date */
41
+ dropiDateChange;
42
+ /** Emitted when range selected. e.detail = { start, end } */
43
+ dropiRangeChange;
44
+ get displayValue() {
45
+ if (this.range) {
46
+ if (this.startDate && this.endDate)
47
+ return `${this.startDate} – ${this.endDate}`;
48
+ if (this.startDate)
49
+ return this.startDate;
50
+ return '';
51
+ }
52
+ return this.value;
53
+ }
54
+ open_() {
55
+ if (this.disabled)
56
+ return;
57
+ if (this.value) {
58
+ const d = new Date(this.value);
59
+ this.viewYear = d.getFullYear();
60
+ this.viewMonth = d.getMonth();
61
+ }
62
+ else if (this.startDate) {
63
+ const d = new Date(this.startDate);
64
+ this.viewYear = d.getFullYear();
65
+ this.viewMonth = d.getMonth();
66
+ }
67
+ this.open = true;
68
+ }
69
+ prevMonth() {
70
+ if (this.viewMonth === 0) {
71
+ this.viewMonth = 11;
72
+ this.viewYear--;
73
+ }
74
+ else
75
+ this.viewMonth--;
76
+ }
77
+ nextMonth() {
78
+ if (this.viewMonth === 11) {
79
+ this.viewMonth = 0;
80
+ this.viewYear++;
81
+ }
82
+ else
83
+ this.viewMonth++;
84
+ }
85
+ toISO(year, month, day) {
86
+ return `${year}-${String(month + 1).padStart(2, '0')}-${String(day).padStart(2, '0')}`;
87
+ }
88
+ isDisabled(iso) {
89
+ if (this.minDate && iso < this.minDate)
90
+ return true;
91
+ if (this.maxDate && iso > this.maxDate)
92
+ return true;
93
+ return false;
94
+ }
95
+ isInRange(iso) {
96
+ if (!this.range)
97
+ return false;
98
+ const start = this.startDate;
99
+ const end = this.endDate || this.hoverDate;
100
+ if (!start || !end)
101
+ return false;
102
+ const [s, e] = start <= end ? [start, end] : [end, start];
103
+ return iso > s && iso < e;
104
+ }
105
+ selectDate(iso) {
106
+ if (this.isDisabled(iso))
107
+ return;
108
+ if (!this.range) {
109
+ this.value = iso;
110
+ this.open = false;
111
+ this.dropiDateChange.emit(iso);
112
+ return;
113
+ }
114
+ // Range mode
115
+ if (!this.startDate || (this.startDate && this.endDate)) {
116
+ this.startDate = iso;
117
+ this.endDate = '';
118
+ }
119
+ else {
120
+ if (iso < this.startDate) {
121
+ this.endDate = this.startDate;
122
+ this.startDate = iso;
123
+ }
124
+ else {
125
+ this.endDate = iso;
126
+ }
127
+ this.open = false;
128
+ this.dropiRangeChange.emit({ start: this.startDate, end: this.endDate });
129
+ }
130
+ }
131
+ buildDays() {
132
+ const year = this.viewYear;
133
+ const month = this.viewMonth;
134
+ const firstDay = new Date(year, month, 1).getDay();
135
+ // Adjust to Monday-first
136
+ const startOffset = (firstDay + 6) % 7;
137
+ const daysInMonth = new Date(year, month + 1, 0).getDate();
138
+ const daysInPrevMonth = new Date(year, month, 0).getDate();
139
+ const cells = [];
140
+ // Previous month filler
141
+ for (let i = startOffset - 1; i >= 0; i--) {
142
+ const d = daysInPrevMonth - i;
143
+ const m = month === 0 ? 11 : month - 1;
144
+ const y = month === 0 ? year - 1 : year;
145
+ cells.push({ iso: this.toISO(y, m, d), day: d, currentMonth: false });
146
+ }
147
+ // Current month
148
+ for (let d = 1; d <= daysInMonth; d++) {
149
+ cells.push({ iso: this.toISO(year, month, d), day: d, currentMonth: true });
150
+ }
151
+ // Next month filler
152
+ const remaining = 42 - cells.length;
153
+ for (let d = 1; d <= remaining; d++) {
154
+ const m = month === 11 ? 0 : month + 1;
155
+ const y = month === 11 ? year + 1 : year;
156
+ cells.push({ iso: this.toISO(y, m, d), day: d, currentMonth: false });
157
+ }
158
+ return cells;
159
+ }
160
+ render() {
161
+ const days = this.buildDays();
162
+ const today = new Date().toISOString().slice(0, 10);
163
+ return (index.h("div", { key: 'ee619ad7d2528fa29f74cd9e149a9a4f8250c1b5', class: "dp-wrap" }, this.label && index.h("label", { key: 'faffc20912e7e27cf27f6b8895050df117f2fcd9', class: "dp-label" }, this.label), index.h("button", { key: '6249c8e76c7b19bd54bedb3f2e98342b45eb9444', class: { 'dp-trigger': true, 'dp-trigger--disabled': this.disabled }, onClick: () => this.open ? this.open = false : this.open_(), disabled: this.disabled, type: "button" }, index.h("dropi-icon", { key: '3033520703a6c58fb30d8231196a206e1f2a153c', name: "Calendar", width: "16px", height: "16px", color: "Gray-Gray-400" }), index.h("span", { key: 'c426b0a12c17108d4f32d2d01732bfc13ec15b26', class: { 'dp-trigger__value': true, 'dp-trigger__placeholder': !this.displayValue } }, this.displayValue || this.placeholder), index.h("dropi-icon", { key: '218703644316e36b4a2bece89975db723eaa0bfa', name: "Arrow-Down-2", width: "12px", height: "12px", color: "Gray-Gray-400" })), this.open && (index.h("div", { key: '4ca8fa76344e960a42e4aec332e6ecdabab3bc6c', class: "dp-popup" }, index.h("div", { key: '04b2b43eb0b209127a31adb2d0721b70449e84ab', class: "dp-nav" }, index.h("button", { key: '4f7e1208d4a6b2e03f30730fb38306f4aaf365af', class: "dp-nav__btn", onClick: () => this.prevMonth(), type: "button" }, index.h("dropi-icon", { key: '307a5dcbd86c26f13a22e0d69a8f61b7a646378b', name: "Arrow-Left-2", width: "16px", height: "16px", color: "Gray-Gray-600" })), index.h("span", { key: '1c094b7fb9385cc7673a2dd3038eebdc11a247c7', class: "dp-nav__title" }, MONTHS_ES[this.viewMonth], " ", this.viewYear), index.h("button", { key: '70c629dc1f1229fffcceec2f01ed8acc72bf1794', class: "dp-nav__btn", onClick: () => this.nextMonth(), type: "button" }, index.h("dropi-icon", { key: 'ab1847f3771ccc80c9257a82f31ed7cd2cb0dd0a', name: "Arrow-Right-2", width: "16px", height: "16px", color: "Gray-Gray-600" }))), index.h("div", { key: '92ff7685583877bed3a63ea74c92fd4581b9a777', class: "dp-grid" }, DAYS_ES.map(d => (index.h("div", { class: "dp-day-header" }, d))), days.map(({ iso, day, currentMonth }) => {
164
+ const isSelected = !this.range
165
+ ? iso === this.value
166
+ : iso === this.startDate || iso === this.endDate;
167
+ const isRangeStart = this.range && iso === this.startDate;
168
+ const isRangeEnd = this.range && iso === this.endDate;
169
+ const inRange = this.isInRange(iso);
170
+ const disabled = this.isDisabled(iso);
171
+ const isToday = iso === today;
172
+ return (index.h("button", { class: {
173
+ 'dp-cell': true,
174
+ 'dp-cell--other-month': !currentMonth,
175
+ 'dp-cell--today': isToday,
176
+ 'dp-cell--selected': isSelected,
177
+ 'dp-cell--range-start': isRangeStart,
178
+ 'dp-cell--range-end': isRangeEnd,
179
+ 'dp-cell--in-range': inRange,
180
+ 'dp-cell--disabled': disabled,
181
+ }, type: "button", disabled: disabled, onClick: () => this.selectDate(iso), onMouseEnter: () => {
182
+ if (this.range && this.startDate && !this.endDate)
183
+ this.hoverDate = iso;
184
+ }, onMouseLeave: () => this.hoverDate = '' }, day));
185
+ })), index.h("div", { key: '2e1a6e5e3f016b68b9486e6acadb94738671fe7f', class: "dp-footer" }, index.h("button", { key: 'cef6300ccd52c617426522d3977ac72829cb40cc', class: "dp-footer__clear", type: "button", onClick: () => {
186
+ this.value = '';
187
+ this.startDate = '';
188
+ this.endDate = '';
189
+ this.open = false;
190
+ } }, "Limpiar"), index.h("button", { key: 'a5627d87cdc24d70368618fb8c67eff30b0800c7', class: "dp-footer__today", type: "button", onClick: () => {
191
+ if (!this.range) {
192
+ this.value = today;
193
+ this.open = false;
194
+ this.dropiDateChange.emit(today);
195
+ }
196
+ else {
197
+ this.startDate = today;
198
+ this.endDate = '';
199
+ }
200
+ } }, "Hoy"))))));
201
+ }
202
+ };
203
+ DropiDatePicker.style = dropiDatePickerCss();
204
+
205
+ exports.dropi_date_picker = DropiDatePicker;
@@ -0,0 +1,50 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DcOH2ZjX.js');
4
+
5
+ const dropiDrawerCss = () => `:host{display:contents}*,*::before,*::after{box-sizing:border-box}.drawer-host{position:fixed;inset:0;z-index:1000;pointer-events:none;visibility:hidden}.drawer-host--open{pointer-events:all;visibility:visible}.drawer-backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.5);opacity:0;transition:opacity 0.25s}.drawer-host--open .drawer-backdrop{opacity:1}.drawer-panel{position:absolute;background:var(--Neutral-White, #fff);display:flex;flex-direction:column;transition:transform 0.25s ease;overflow:hidden}.drawer-panel--right{top:0;right:0;bottom:0;transform:translateX(100%);box-shadow:-4px 0 24px rgba(0,0,0,0.12)}.drawer-host--open .drawer-panel--right{transform:translateX(0)}.drawer-panel--left{top:0;left:0;bottom:0;transform:translateX(-100%);box-shadow:4px 0 24px rgba(0,0,0,0.12)}.drawer-host--open .drawer-panel--left{transform:translateX(0)}.drawer-panel--bottom{bottom:0;left:0;right:0;transform:translateY(100%);border-radius:var(--Border-2, 8px) var(--Border-2, 8px) 0 0;box-shadow:0 -4px 24px rgba(0,0,0,0.12)}.drawer-host--open .drawer-panel--bottom{transform:translateY(0)}.drawer-panel--top{top:0;left:0;right:0;transform:translateY(-100%);border-radius:0 0 var(--Border-2, 8px) var(--Border-2, 8px);box-shadow:0 4px 24px rgba(0,0,0,0.12)}.drawer-host--open .drawer-panel--top{transform:translateY(0)}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:var(--Size-4, 16px) var(--Size-4, 16px) var(--Size-3, 12px);border-bottom:1px solid var(--Gray-Gray-100, #eceef4);flex-shrink:0}.drawer-header__title{font-size:var(--font-size-m, 14px);font-weight:var(--font-weight-bold, 700);color:var(--Gray-Gray-800, #1a2033)}.drawer-header__close{background:none;border:none;padding:4px;cursor:pointer;display:flex;align-items:center;border-radius:var(--Border-1, 4px);transition:background 0.15s}.drawer-header__close:hover{background:var(--Gray-Gray-50, #f7f8fa)}.drawer-body{flex:1;overflow-y:auto;padding:var(--Size-4, 16px)}.drawer-footer{flex-shrink:0;padding:var(--Size-3, 12px) var(--Size-4, 16px);border-top:1px solid var(--Gray-Gray-100, #eceef4)}.drawer-footer:empty{display:none}`;
6
+
7
+ const DropiDrawer = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.dropiClose = index.createEvent(this, "dropiClose", 7);
11
+ }
12
+ /** Controls visibility */
13
+ open = false;
14
+ /** Side from which the drawer slides in */
15
+ position = 'right';
16
+ /** Drawer title */
17
+ drawerTitle = '';
18
+ /** Width (for left/right drawers) */
19
+ width = '400px';
20
+ /** Height (for top/bottom drawers) */
21
+ height = '50vh';
22
+ /** Close on backdrop click */
23
+ closeOnBackdrop = true;
24
+ /** Emitted when drawer closes */
25
+ dropiClose;
26
+ openChanged(val) {
27
+ if (typeof document !== 'undefined') {
28
+ document.body.style.overflow = val ? 'hidden' : '';
29
+ }
30
+ }
31
+ close() {
32
+ this.open = false;
33
+ this.dropiClose.emit();
34
+ }
35
+ render() {
36
+ const isHorizontal = this.position === 'left' || this.position === 'right';
37
+ return (index.h("div", { key: '49b9f893c2c05018301b67234142d4ad2e38a511', class: { 'drawer-host': true, 'drawer-host--open': this.open } }, index.h("div", { key: '4a2263c0ffe74bdb53e1ff4992d3b04f39a55856', class: "drawer-backdrop", onClick: () => {
38
+ if (this.closeOnBackdrop)
39
+ this.close();
40
+ } }), index.h("div", { key: 'd2cf49005f3b8a970361fdd725d9903b212abd37', class: `drawer-panel drawer-panel--${this.position}`, style: isHorizontal ? { width: this.width } : { height: this.height }, role: "dialog", "aria-modal": "true" }, index.h("div", { key: '4f04806b747df0e079e01a27ba307f1625679a08', class: "drawer-header" }, index.h("span", { key: '211b77262547ac3b45e97966e6cc6b18dbf92b39', class: "drawer-header__title" }, this.drawerTitle), index.h("button", { key: '1a18631b15de75687cab1e21869c8948461716d7', class: "drawer-header__close", onClick: () => this.close(), "aria-label": "Cerrar" }, index.h("dropi-icon", { key: '94c49ce2bc26e65be60d0bb7fb0d05c3e4d260e6', name: "Close-small", width: "20px", height: "20px", color: "Gray-Gray-600" }))), index.h("div", { key: '900cafee62e4dd5b4e6dd89aec680bd19bb44bd8', class: "drawer-body" }, index.h("slot", { key: 'ef7d81f315b0aaea94bd68048d133a8026685a66' })), index.h("div", { key: 'd4e6058b84c1fe015b66c540bb1951666bafb35e', class: "drawer-footer" }, index.h("slot", { key: 'e66380715a41bc41310ff4b3241e868c5e2609b1', name: "footer" })))));
41
+ }
42
+ static get watchers() { return {
43
+ "open": [{
44
+ "openChanged": 0
45
+ }]
46
+ }; }
47
+ };
48
+ DropiDrawer.style = dropiDrawerCss();
49
+
50
+ exports.dropi_drawer = DropiDrawer;
@@ -0,0 +1,58 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DcOH2ZjX.js');
4
+
5
+ const dropiDropdownCss = () => `:host{display:block;width:100%}*,*::before,*::after{box-sizing:border-box}.dropdown{display:flex;flex-direction:column;overflow-y:auto;max-height:var(--dropdown-height, 300px);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #fff)}.dropdown__item{display:flex;align-items:center;gap:var(--Size-2, 8px);padding:var(--Size-2, 8px) var(--Size-3, 12px);cursor:pointer;transition:background 0.15s;user-select:none}.dropdown__item:hover{background:var(--Gray-Gray-50, #f7f8fa)}.dropdown__item--active{background:var(--Primary-Primary-50, #fff5eb)}.dropdown__avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex-shrink:0}.dropdown__label{flex:1;font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-700, #32394d);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}`;
6
+
7
+ const DropiDropdown = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.dropiChange = index.createEvent(this, "dropiChange", 7);
11
+ }
12
+ /** Options array or JSON string */
13
+ options = [];
14
+ /** Property name to display as the option label */
15
+ valueModel = 'name';
16
+ /** Property name to use as the option image/avatar URL */
17
+ imageModel = '';
18
+ /** Max height of the list container (CSS value) */
19
+ height = '300px';
20
+ selected = [];
21
+ parsedOptions = [];
22
+ /** Emitted when selection changes. e.detail = selected items array */
23
+ dropiChange;
24
+ optionsChanged(val) {
25
+ this.parsedOptions = typeof val === 'string' ? JSON.parse(val) : (val || []);
26
+ }
27
+ componentWillLoad() {
28
+ this.optionsChanged(this.options);
29
+ }
30
+ isSelected(opt) {
31
+ return this.selected.some(s => JSON.stringify(s) === JSON.stringify(opt));
32
+ }
33
+ toggleOption(opt) {
34
+ if (this.isSelected(opt)) {
35
+ this.selected = this.selected.filter(s => JSON.stringify(s) !== JSON.stringify(opt));
36
+ }
37
+ else {
38
+ this.selected = [...this.selected, opt];
39
+ }
40
+ this.dropiChange.emit(this.selected);
41
+ }
42
+ render() {
43
+ return (index.h("div", { key: '7c8505a82b836b58ea73603249ed2143b0692fc2', class: "dropdown", style: { '--dropdown-height': this.height } }, this.parsedOptions.map((opt, i) => {
44
+ const label = opt[this.valueModel] ?? String(opt);
45
+ const imgUrl = this.imageModel ? opt[this.imageModel] : '';
46
+ const active = this.isSelected(opt);
47
+ return (index.h("div", { class: { 'dropdown__item': true, 'dropdown__item--active': active }, key: i, onClick: () => this.toggleOption(opt) }, index.h("dropi-checkbox", { checked: active }), imgUrl && (index.h("img", { class: "dropdown__avatar", src: imgUrl, alt: label })), index.h("span", { class: "dropdown__label" }, label)));
48
+ })));
49
+ }
50
+ static get watchers() { return {
51
+ "options": [{
52
+ "optionsChanged": 0
53
+ }]
54
+ }; }
55
+ };
56
+ DropiDropdown.style = dropiDropdownCss();
57
+
58
+ exports.dropi_dropdown = DropiDropdown;