@dropi/ui-components 1.0.11 → 1.0.13

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 (255) hide show
  1. package/README.md +55 -36
  2. package/dist/README.md +58 -38
  3. package/dist/components-source/accordion/accordion-item/accordion-item.component.d.ts +31 -0
  4. package/dist/components-source/accordion/accordion.component.d.ts +26 -0
  5. package/dist/components-source/alert/alert.component.d.ts +32 -0
  6. package/dist/components-source/alert-modal/alert-modal.component.d.ts +78 -0
  7. package/dist/components-source/alert-validation/alert-validation.component.d.ts +21 -0
  8. package/dist/components-source/badge/badge.component.d.ts +12 -0
  9. package/dist/components-source/beta-tag/beta-tag.component.d.ts +5 -0
  10. package/dist/components-source/breadcrumb/breadcrumb.component.d.ts +11 -0
  11. package/dist/components-source/card-product/card-product.component.d.ts +204 -0
  12. package/dist/components-source/card-section/card-section.component.d.ts +31 -0
  13. package/dist/components-source/checkbox-selection-list/checkbox-selection-list.component.d.ts +26 -0
  14. package/dist/components-source/city-selector/city-selector.component.d.ts +17 -0
  15. package/dist/components-source/color-picker/color-picker.component.d.ts +73 -0
  16. package/dist/components-source/confirm-dialog/confirm-dialog.component.d.ts +10 -0
  17. package/dist/components-source/country-flags/country-flags.component.d.ts +12 -0
  18. package/dist/components-source/date-picker/date-picker.component.d.ts +27 -0
  19. package/dist/components-source/date-picker-range/date-picker-range.component.d.ts +26 -0
  20. package/dist/components-source/dropi-avatars/dropi-avatars.component.d.ts +11 -0
  21. package/dist/components-source/dropi-badge/dropi-badge.component.d.ts +29 -0
  22. package/dist/components-source/dropi-banner-external/dropi-banner-external.component.d.ts +19 -0
  23. package/dist/components-source/dropi-breadcrumb/dropi-breadcrumb.component.d.ts +22 -0
  24. package/dist/components-source/dropi-card-checkbox/dropi-card-checkbox.component.d.ts +20 -0
  25. package/dist/components-source/dropi-carousel/dropi-carousel.component.d.ts +52 -0
  26. package/dist/components-source/dropi-checkbox/dropi-checkbox.component.d.ts +11 -0
  27. package/dist/components-source/dropi-chips/dropi-chips.component.d.ts +17 -0
  28. package/dist/components-source/dropi-country-selector/countries.data.d.ts +6 -0
  29. package/dist/components-source/dropi-country-selector/dropi-country-selector.component.d.ts +90 -0
  30. package/dist/components-source/dropi-drawer/dropi-drawer.component.d.ts +20 -0
  31. package/dist/components-source/dropi-dropdown/dropi-dropdown.component.d.ts +20 -0
  32. package/dist/components-source/dropi-favorite-button/dropi-favorite-button.component.d.ts +12 -0
  33. package/dist/components-source/dropi-file-upload/card-view/card-view.component.d.ts +19 -0
  34. package/dist/components-source/dropi-file-upload/drop-zone/drop-zone.component.d.ts +38 -0
  35. package/dist/components-source/dropi-file-upload/dropi-file-upload.component.d.ts +18 -0
  36. package/dist/components-source/dropi-file-upload/file-list/file-list.component.d.ts +39 -0
  37. package/dist/components-source/dropi-file-upload/grid-view/grid-view.component.d.ts +15 -0
  38. package/dist/components-source/dropi-ilustration-icon/dropi-ilustration-icon.component.d.ts +20 -0
  39. package/dist/components-source/dropi-image-overlay/dropi-image-overlay.component.d.ts +8 -0
  40. package/dist/components-source/dropi-languages-selector/dropi-languages-selector.component.d.ts +18 -0
  41. package/dist/components-source/dropi-logo/dropi-logo.component.d.ts +12 -0
  42. package/dist/components-source/dropi-modal/dropi-modal.component.d.ts +34 -0
  43. package/dist/components-source/dropi-modal/p-template.directive.d.ts +9 -0
  44. package/dist/components-source/dropi-navbar/dropi-navbar.component.d.ts +20 -0
  45. package/dist/components-source/dropi-paginator/dropi-paginator.component.d.ts +21 -0
  46. package/dist/components-source/dropi-phone-input/dropi-phone-input.component.d.ts +55 -0
  47. package/dist/components-source/dropi-radio-button/dropi-radio-button.component.d.ts +17 -0
  48. package/dist/components-source/dropi-search/dropi-search.component.d.ts +40 -0
  49. package/dist/components-source/dropi-select/dropi-select.component.d.ts +34 -0
  50. package/dist/components-source/dropi-skeleton/dropi-skeleton.component.d.ts +14 -0
  51. package/dist/components-source/dropi-steps/dropi-steps.component.d.ts +64 -0
  52. package/dist/components-source/dropi-switch/dropi-switch.component.d.ts +11 -0
  53. package/dist/components-source/dropi-table/dropi-table.component.d.ts +82 -0
  54. package/dist/components-source/dropi-tag/dropi-tag.component.d.ts +15 -0
  55. package/dist/components-source/dropi-text-area/dropi-text-area.component.d.ts +14 -0
  56. package/dist/components-source/dropi-tooltip/dropi-tooltip.component.d.ts +28 -0
  57. package/dist/components-source/dropi-youtube-lazy-video/dropi-youtube-lazy-video.component.d.ts +16 -0
  58. package/dist/components-source/empty/empty.component.d.ts +9 -0
  59. package/dist/components-source/empty-state/empty-state.component.d.ts +17 -0
  60. package/dist/components-source/file-upload-progress-bar/file-upload-progress-bar.component.d.ts +30 -0
  61. package/dist/components-source/index.d.ts +85 -0
  62. package/dist/components-source/input/input.component.d.ts +33 -0
  63. package/dist/components-source/lottie-loader/lottie-loader.component.d.ts +9 -0
  64. package/dist/components-source/otp-send-code/otp-send-code.component.d.ts +83 -0
  65. package/dist/components-source/radio-selection-list/radio-selection-list.component.d.ts +30 -0
  66. package/dist/components-source/read-more/read-more.component.d.ts +60 -0
  67. package/dist/components-source/sidebar/sidebar.component.d.ts +27 -0
  68. package/dist/components-source/simple-stepper/simple-stepper.component.d.ts +21 -0
  69. package/dist/components-source/spinner/spinner.component.d.ts +9 -0
  70. package/dist/components-source/tabs/tabs.component.d.ts +27 -0
  71. package/dist/components-source/tag-type-product/tag-type-product.component.d.ts +5 -0
  72. package/dist/components-source/toast/toast.component.d.ts +21 -0
  73. package/dist/components-source/toggle/input-toggle.component.d.ts +11 -0
  74. package/dist/components-source/tooltip/tooltip.component.d.ts +15 -0
  75. package/dist/components-source/vertical-steps/vertical-steps.component.d.ts +27 -0
  76. package/dist/esm2022/components-source/accordion/accordion-item/accordion-item.component.mjs +51 -0
  77. package/dist/esm2022/components-source/accordion/accordion.component.mjs +46 -0
  78. package/dist/esm2022/components-source/alert/alert.component.mjs +114 -0
  79. package/dist/esm2022/components-source/alert-modal/alert-modal.component.mjs +247 -0
  80. package/dist/esm2022/components-source/alert-validation/alert-validation.component.mjs +53 -0
  81. package/dist/esm2022/components-source/badge/badge.component.mjs +23 -0
  82. package/dist/esm2022/components-source/beta-tag/beta-tag.component.mjs +11 -0
  83. package/dist/esm2022/components-source/breadcrumb/breadcrumb.component.mjs +26 -0
  84. package/dist/esm2022/components-source/card-product/card-product.component.mjs +534 -0
  85. package/dist/esm2022/components-source/card-section/card-section.component.mjs +91 -0
  86. package/dist/esm2022/components-source/checkbox-selection-list/checkbox-selection-list.component.mjs +79 -0
  87. package/dist/esm2022/components-source/city-selector/city-selector.component.mjs +53 -0
  88. package/dist/esm2022/components-source/color-picker/color-picker.component.mjs +320 -0
  89. package/dist/esm2022/components-source/confirm-dialog/confirm-dialog.component.mjs +27 -0
  90. package/dist/esm2022/components-source/country-flags/country-flags.component.mjs +27 -0
  91. package/dist/esm2022/components-source/date-picker/date-picker.component.mjs +73 -0
  92. package/dist/esm2022/components-source/date-picker-range/date-picker-range.component.mjs +67 -0
  93. package/dist/esm2022/components-source/dropi-avatars/dropi-avatars.component.mjs +31 -0
  94. package/dist/esm2022/components-source/dropi-badge/dropi-badge.component.mjs +45 -0
  95. package/dist/esm2022/components-source/dropi-banner-external/dropi-banner-external.component.mjs +39 -0
  96. package/dist/esm2022/components-source/dropi-breadcrumb/dropi-breadcrumb.component.mjs +45 -0
  97. package/dist/esm2022/components-source/dropi-card-checkbox/dropi-card-checkbox.component.mjs +53 -0
  98. package/dist/esm2022/components-source/dropi-carousel/dropi-carousel.component.mjs +243 -0
  99. package/dist/esm2022/components-source/dropi-checkbox/dropi-checkbox.component.mjs +31 -0
  100. package/dist/esm2022/components-source/dropi-chips/dropi-chips.component.mjs +38 -0
  101. package/dist/esm2022/components-source/dropi-country-selector/countries.data.mjs +254 -0
  102. package/dist/esm2022/components-source/dropi-country-selector/dropi-country-selector.component.mjs +183 -0
  103. package/dist/esm2022/components-source/dropi-drawer/dropi-drawer.component.mjs +69 -0
  104. package/dist/esm2022/components-source/dropi-dropdown/dropi-dropdown.component.mjs +59 -0
  105. package/dist/esm2022/components-source/dropi-favorite-button/dropi-favorite-button.component.mjs +33 -0
  106. package/dist/esm2022/components-source/dropi-file-upload/card-view/card-view.component.mjs +47 -0
  107. package/dist/esm2022/components-source/dropi-file-upload/drop-zone/drop-zone.component.mjs +115 -0
  108. package/dist/esm2022/components-source/dropi-file-upload/dropi-file-upload.component.mjs +66 -0
  109. package/dist/esm2022/components-source/dropi-file-upload/file-list/file-list.component.mjs +95 -0
  110. package/dist/esm2022/components-source/dropi-file-upload/grid-view/grid-view.component.mjs +37 -0
  111. package/dist/esm2022/components-source/dropi-ilustration-icon/dropi-ilustration-icon.component.mjs +59 -0
  112. package/dist/esm2022/components-source/dropi-image-overlay/dropi-image-overlay.component.mjs +31 -0
  113. package/dist/esm2022/components-source/dropi-languages-selector/dropi-languages-selector.component.mjs +38 -0
  114. package/dist/esm2022/components-source/dropi-logo/dropi-logo.component.mjs +27 -0
  115. package/dist/esm2022/components-source/dropi-modal/dropi-modal.component.mjs +92 -0
  116. package/dist/esm2022/components-source/dropi-modal/p-template.directive.mjs +22 -0
  117. package/dist/esm2022/components-source/dropi-navbar/dropi-navbar.component.mjs +51 -0
  118. package/dist/esm2022/components-source/dropi-paginator/dropi-paginator.component.mjs +89 -0
  119. package/dist/esm2022/components-source/dropi-phone-input/dropi-phone-input.component.mjs +155 -0
  120. package/dist/esm2022/components-source/dropi-radio-button/dropi-radio-button.component.mjs +48 -0
  121. package/dist/esm2022/components-source/dropi-search/dropi-search.component.mjs +104 -0
  122. package/dist/esm2022/components-source/dropi-select/dropi-select.component.mjs +96 -0
  123. package/dist/esm2022/components-source/dropi-skeleton/dropi-skeleton.component.mjs +39 -0
  124. package/dist/esm2022/components-source/dropi-steps/dropi-steps.component.mjs +97 -0
  125. package/dist/esm2022/components-source/dropi-switch/dropi-switch.component.mjs +22 -0
  126. package/dist/esm2022/components-source/dropi-table/dropi-table.component.mjs +333 -0
  127. package/dist/esm2022/components-source/dropi-tag/dropi-tag.component.mjs +36 -0
  128. package/dist/esm2022/components-source/dropi-text-area/dropi-text-area.component.mjs +53 -0
  129. package/dist/esm2022/components-source/dropi-tooltip/dropi-tooltip.component.mjs +78 -0
  130. package/dist/esm2022/components-source/dropi-youtube-lazy-video/dropi-youtube-lazy-video.component.mjs +46 -0
  131. package/dist/esm2022/components-source/empty/empty.component.mjs +18 -0
  132. package/dist/esm2022/components-source/empty-state/empty-state.component.mjs +62 -0
  133. package/dist/esm2022/components-source/file-upload-progress-bar/file-upload-progress-bar.component.mjs +91 -0
  134. package/dist/esm2022/components-source/index.mjs +107 -0
  135. package/dist/esm2022/components-source/input/input.component.mjs +104 -0
  136. package/dist/esm2022/components-source/lottie-loader/lottie-loader.component.mjs +25 -0
  137. package/dist/esm2022/components-source/otp-send-code/otp-send-code.component.mjs +201 -0
  138. package/dist/esm2022/components-source/radio-selection-list/radio-selection-list.component.mjs +89 -0
  139. package/dist/esm2022/components-source/read-more/read-more.component.mjs +91 -0
  140. package/dist/esm2022/components-source/sidebar/sidebar.component.mjs +88 -0
  141. package/dist/esm2022/components-source/simple-stepper/simple-stepper.component.mjs +60 -0
  142. package/dist/esm2022/components-source/spinner/spinner.component.mjs +19 -0
  143. package/dist/esm2022/components-source/tabs/tabs.component.mjs +83 -0
  144. package/dist/esm2022/components-source/tag-type-product/tag-type-product.component.mjs +11 -0
  145. package/dist/esm2022/components-source/toast/toast.component.mjs +47 -0
  146. package/dist/esm2022/components-source/toggle/input-toggle.component.mjs +36 -0
  147. package/dist/esm2022/components-source/tooltip/tooltip.component.mjs +34 -0
  148. package/dist/esm2022/components-source/vertical-steps/vertical-steps.component.mjs +75 -0
  149. package/dist/esm2022/lib/elements-registry.mjs +343 -2
  150. package/dist/esm2022/utilities/interfaces/ui/dropi-table.interface.mjs +2 -0
  151. package/dist/esm2022/utilities/interfaces/ui/input-interface.mjs +2 -0
  152. package/dist/esm2022/utilities/interfaces/ui/select-interface.mjs +2 -0
  153. package/dist/esm2022/utilities/interfaces/ui/selection-list-interface.mjs +2 -0
  154. package/dist/esm2022/utilities/interfaces/ui/upload.model.mjs +5 -0
  155. package/dist/fesm2022/dropi-ui-components.mjs +5913 -2
  156. package/dist/fesm2022/dropi-ui-components.mjs.map +1 -1
  157. package/dist/utilities/interfaces/ui/dropi-table.interface.d.ts +45 -0
  158. package/dist/utilities/interfaces/ui/input-interface.d.ts +33 -0
  159. package/dist/utilities/interfaces/ui/select-interface.d.ts +8 -0
  160. package/dist/utilities/interfaces/ui/selection-list-interface.d.ts +24 -0
  161. package/dist/utilities/interfaces/ui/upload.model.d.ts +30 -0
  162. package/package.json +18 -6
  163. package/src/components-source/alert/alert.component.ts +12 -129
  164. package/src/components-source/alert-modal/alert-modal.component.ts +84 -114
  165. package/src/components-source/alert-validation/alert-validation.component.html +8 -0
  166. package/src/components-source/alert-validation/alert-validation.component.scss +225 -0
  167. package/src/components-source/alert-validation/alert-validation.component.ts +43 -0
  168. package/src/components-source/beta-tag/beta-tag.component.html +1 -0
  169. package/src/components-source/beta-tag/beta-tag.component.scss +26 -0
  170. package/src/components-source/beta-tag/beta-tag.component.ts +11 -0
  171. package/src/components-source/breadcrumb/breadcrumb.component.html +13 -5
  172. package/src/components-source/breadcrumb/breadcrumb.component.scss +8 -1
  173. package/src/components-source/breadcrumb/breadcrumb.component.spec.ts +26 -26
  174. package/src/components-source/breadcrumb/breadcrumb.component.ts +10 -12
  175. package/src/components-source/card-product/card-product.component.spec.ts +9 -9
  176. package/src/components-source/card-product/card-product.component.stories.ts +2 -2
  177. package/src/components-source/card-product/card-product.component.ts +294 -818
  178. package/src/components-source/card-section/card-section.component.html +7 -7
  179. package/src/components-source/card-section/card-section.component.ts +41 -15
  180. package/src/components-source/checkbox-selection-list/checkbox-selection-list.component.ts +42 -179
  181. package/src/components-source/city-selector/city-selector.component.ts +37 -137
  182. package/src/components-source/confirm-dialog/confirm-dialog.component.html +26 -0
  183. package/src/components-source/confirm-dialog/confirm-dialog.component.scss +55 -0
  184. package/src/components-source/confirm-dialog/confirm-dialog.component.ts +22 -0
  185. package/src/components-source/country-flags/country-flags.component.ts +20 -12
  186. package/src/components-source/date-picker/date-picker.component.ts +32 -292
  187. package/src/components-source/date-picker-range/date-picker-range.component.html +15 -7
  188. package/src/components-source/date-picker-range/date-picker-range.component.ts +42 -235
  189. package/src/components-source/dropi-banner-external/dropi-banner-external.component.ts +24 -185
  190. package/src/components-source/dropi-breadcrumb/dropi-breadcrumb.component.html +21 -21
  191. package/src/components-source/dropi-breadcrumb/dropi-breadcrumb.component.spec.ts +9 -9
  192. package/src/components-source/dropi-breadcrumb/dropi-breadcrumb.component.ts +41 -23
  193. package/src/components-source/dropi-breadcrumb/dropi-breadcrumb.stories.ts +12 -12
  194. package/src/components-source/dropi-chips/dropi-chips.component.ts +22 -87
  195. package/src/components-source/dropi-country-selector/countries.data.ts +256 -236
  196. package/src/components-source/dropi-country-selector/dropi-country-selector.component.ts +37 -25
  197. package/src/components-source/dropi-drawer/dropi-drawer.component.ts +91 -78
  198. package/src/components-source/dropi-dropdown/dropi-dropdown.component.ts +44 -47
  199. package/src/components-source/dropi-file-upload/card-view/card-view.component.ts +33 -53
  200. package/src/components-source/dropi-file-upload/drop-zone/drop-zone.component.ts +52 -123
  201. package/src/components-source/dropi-file-upload/dropi-file-upload.component.ts +38 -294
  202. package/src/components-source/dropi-file-upload/file-list/file-list.component.ts +62 -43
  203. package/src/components-source/dropi-file-upload/grid-view/grid-view.component.ts +23 -22
  204. package/src/components-source/dropi-ilustration-icon/dropi-ilustration-icon.component.scss +6 -2
  205. package/src/components-source/dropi-image-overlay/dropi-image-overlay.component.ts +16 -71
  206. package/src/components-source/dropi-modal/dropi-modal.component.ts +56 -372
  207. package/src/components-source/dropi-navbar/dropi-navbar.component.ts +17 -17
  208. package/src/components-source/dropi-paginator/dropi-paginator.component.html +18 -7
  209. package/src/components-source/dropi-paginator/dropi-paginator.component.ts +40 -32
  210. package/src/components-source/dropi-phone-input/dropi-phone-input.component.html +78 -79
  211. package/src/components-source/dropi-phone-input/dropi-phone-input.component.ts +29 -85
  212. package/src/components-source/dropi-search/dropi-search.component.ts +59 -222
  213. package/src/components-source/dropi-select/dropi-select.component.html +82 -131
  214. package/src/components-source/dropi-select/dropi-select.component.ts +60 -423
  215. package/src/components-source/dropi-table/dropi-table.component.html +40 -23
  216. package/src/components-source/dropi-table/dropi-table.component.ts +130 -374
  217. package/src/components-source/dropi-tag/dropi-tag.component.ts +20 -90
  218. package/src/components-source/dropi-text-area/dropi-text-area.component.ts +22 -48
  219. package/src/components-source/dropi-tooltip/dropi-tooltip.component.ts +40 -129
  220. package/src/components-source/empty/empty.component.html +3 -0
  221. package/src/components-source/empty/empty.component.scss +0 -0
  222. package/src/components-source/empty/empty.component.ts +16 -0
  223. package/src/components-source/empty-state/empty-state.component.ts +47 -19
  224. package/src/components-source/index.ts +82 -37
  225. package/src/components-source/input/input.component.html +79 -63
  226. package/src/components-source/input/input.component.ts +51 -97
  227. package/src/components-source/lottie-loader/lottie-loader.component.ts +13 -16
  228. package/src/components-source/otp-send-code/otp-send-code.component.ts +60 -528
  229. package/src/components-source/radio-selection-list/radio-selection-list.component.ts +36 -97
  230. package/src/components-source/sidebar/sidebar.component.spec.ts +11 -11
  231. package/src/components-source/sidebar/sidebar.component.stories.ts +3 -3
  232. package/src/components-source/sidebar/sidebar.component.ts +51 -47
  233. package/src/components-source/simple-stepper/simple-stepper.component.ts +20 -35
  234. package/src/components-source/spinner/spinner.component.html +6 -0
  235. package/src/components-source/spinner/spinner.component.scss +15 -0
  236. package/src/components-source/spinner/spinner.component.ts +17 -0
  237. package/src/components-source/tabs/tabs.component.spec.ts +8 -8
  238. package/src/components-source/tabs/tabs.component.stories.ts +5 -5
  239. package/src/components-source/tabs/tabs.component.ts +41 -83
  240. package/src/components-source/toast/toast.component.ts +40 -46
  241. package/src/components-source/toggle/input-toggle.component.html +34 -0
  242. package/src/components-source/toggle/input-toggle.component.scss +0 -0
  243. package/src/components-source/toggle/input-toggle.component.ts +27 -0
  244. package/src/components-source/toggle/inputToggleConfig.ts +11 -0
  245. package/src/components-source/tooltip/tooltip.component.html +22 -11
  246. package/src/components-source/tooltip/tooltip.component.ts +28 -13
  247. package/src/components-source/vertical-steps/vertical-steps.component.ts +16 -78
  248. package/src/lib/elements-registry.ts +413 -1
  249. package/src/lib/router-stub.ts +7 -0
  250. package/src/libreria work space.code-workspace +11 -8
  251. package/src/utilities/interfaces/ui/dropi-table.interface.ts +60 -0
  252. package/src/utilities/interfaces/ui/input-interface.ts +34 -0
  253. package/src/utilities/interfaces/ui/select-interface.ts +8 -0
  254. package/src/utilities/interfaces/ui/selection-list-interface.ts +15 -0
  255. package/src/utilities/interfaces/ui/upload.model.ts +41 -0
package/README.md CHANGED
@@ -81,47 +81,66 @@ const App = () => (
81
81
  );
82
82
  ```
83
83
 
84
- ### 3. Usage (Angular)
85
-
86
- **Component (`login.component.ts`):**
87
-
88
- ```typescript
89
- import { Component } from "@angular/core";
90
- import { ButtonComponent, AlertComponent } from "@dropi/ui-components";
91
-
92
- @Component({
93
- selector: "app-login",
94
- standalone: true,
95
- imports: [ButtonComponent, AlertComponent],
96
- templateUrl: "./login.component.html",
97
- })
98
- export class LoginComponent {}
99
- ```
100
-
101
- **Template (`login.component.html`):**
102
-
103
- ```html
104
- <dropi-wc-button [type]="'primary'" [text]="'Login'" (onClick)="handleLogin()">
105
- </dropi-wc-button>
106
-
107
- <dropi-wc-alert [state]="'error'" [message]="'Invalid credentials'">
108
- </dropi-wc-alert>
109
- ```
110
-
111
84
  ---
112
85
 
113
- ## 📚 Components
86
+ ## 📚 Available Web Components
114
87
 
115
88
  All components use the prefix `dropi-wc-`.
116
89
 
117
- | Component | Selector | Description |
118
- | ---------- | ------------------- | ------------------------------- |
119
- | **Button** | `<dropi-wc-button>` | Primary/Secondary/Ghost buttons |
120
- | **Alert** | `<dropi-wc-alert>` | Success/Error/Info alerts |
121
- | **Input** | `<dropi-wc-input>` | Text inputs with validation |
122
- | **Tag** | `<dropi-wc-tag>` | Status tags (primary/secondary) |
123
- | **Switch** | `<dropi-wc-switch>` | Toggle switches |
124
- | **Search** | `<dropi-wc-search>` | Search bar with autocomplete |
90
+ ### 🛠️ Form Elements
91
+
92
+ | Selector | Description |
93
+ | ------------------------- | ----------------------------------------- |
94
+ | `<dropi-wc-button>` | Primary/Secondary/Ghost buttons |
95
+ | `<dropi-wc-input>` | Text inputs with validation |
96
+ | `<dropi-wc-checkbox>` | Standard checkbox |
97
+ | `<dropi-wc-radio-button>` | Grouped radio buttons |
98
+ | `<dropi-wc-switch>` | Toggle switches |
99
+ | `<dropi-wc-toggle>` | Advanced toggle switch with configuration |
100
+ | `<dropi-wc-text-area>` | Multi-line text area |
101
+ | `<dropi-wc-phone-input>` | Specialized international phone input |
102
+
103
+ ### 🧭 Navigation
104
+
105
+ | Selector | Description |
106
+ | ------------------------------- | ------------------------------------ |
107
+ | `<dropi-wc-sidebar>` | Collapsible navigation sidebar |
108
+ | `<dropi-wc-navbar>` | Top navigation bar |
109
+ | `<dropi-wc-breadcrumb>` | Navigation breadcrumbs |
110
+ | `<dropi-wc-paginator>` | Data pagination with cursor support |
111
+ | `<dropi-wc-steps>` | Progress steps (horizontal/vertical) |
112
+ | `<dropi-wc-languages-selector>` | Language switching dropdown |
113
+
114
+ ### 📦 Layout & Containers
115
+
116
+ | Selector | Description |
117
+ | ---------------------- | --------------------------------------- |
118
+ | `<dropi-wc-modal>` | Dialog modals with customizable content |
119
+ | `<dropi-wc-drawer>` | Side drawers (Left/Right) |
120
+ | `<dropi-wc-accordion>` | Expandable content sections |
121
+ | `<dropi-wc-tabs>` | Tabbed content views |
122
+
123
+ ### 🎨 Display & Feedback
124
+
125
+ | Selector | Description |
126
+ | ----------------------------- | ------------------------------------ |
127
+ | `<dropi-wc-alert>` | Success/Error/Info status alerts |
128
+ | `<dropi-wc-alert-validation>` | Verification status alerts (PrimeNG) |
129
+ | `<dropi-wc-badge>` | Status and number badges |
130
+ | `<dropi-wc-tag>` | Categorization tags |
131
+ | `<dropi-wc-spinner>` | Loading indicator |
132
+ | `<dropi-wc-skeleton>` | Loading skeletons for layouts |
133
+ | `<dropi-wc-empty>` | Empty state displays |
134
+ | `<dropi-wc-tooltip>` | Contextual help tooltips |
135
+
136
+ ### 📽️ Multimedia & Advanced
137
+
138
+ | Selector | Description |
139
+ | ---------------------------- | --------------------------------- |
140
+ | `<dropi-wc-carousel>` | Image and content carousels |
141
+ | `<dropi-wc-youtube-video>` | Lazy-loaded YouTube player |
142
+ | `<dropi-wc-dropdown>` | Checkbox-based selection dropdown |
143
+ | `<dropi-wc-banner-external>` | Dynamic WordPress banners |
125
144
 
126
145
  ---
127
146
 
package/dist/README.md CHANGED
@@ -59,16 +59,17 @@ import "@dropi/ui-components/dropi-tokens.css";
59
59
  In your main entry file (`main.tsx`, `main.js`), initialize the library:
60
60
 
61
61
  ```typescript
62
+ import "zone.js"; // Mandatory: must be imported first
62
63
  import { defineCustomElements } from "@dropi/ui-components";
63
64
 
64
65
  // Initialize Angular environment and register Web Components
65
66
  defineCustomElements();
66
67
  ```
67
68
 
68
- Then use the components in your JSX/HTML:
69
+ Then use the Web Component tags directly in your JSX/HTML:
69
70
 
70
71
  ```tsx
71
- // React Example
72
+ // React Example (No imports needed for the component itself)
72
73
  const App = () => (
73
74
  <div>
74
75
  <dropi-wc-button
@@ -80,47 +81,66 @@ const App = () => (
80
81
  );
81
82
  ```
82
83
 
83
- ### 3. Usage (Angular)
84
-
85
- **Component (`login.component.ts`):**
86
-
87
- ```typescript
88
- import { Component } from "@angular/core";
89
- import { ButtonComponent, AlertComponent } from "@dropi/ui-components";
90
-
91
- @Component({
92
- selector: "app-login",
93
- standalone: true,
94
- imports: [ButtonComponent, AlertComponent],
95
- templateUrl: "./login.component.html",
96
- })
97
- export class LoginComponent {}
98
- ```
99
-
100
- **Template (`login.component.html`):**
101
-
102
- ```html
103
- <dropi-wc-button [type]="'primary'" [text]="'Login'" (onClick)="handleLogin()">
104
- </dropi-wc-button>
105
-
106
- <dropi-wc-alert [state]="'error'" [message]="'Invalid credentials'">
107
- </dropi-wc-alert>
108
- ```
109
-
110
84
  ---
111
85
 
112
- ## 📚 Components
86
+ ## 📚 Available Web Components
113
87
 
114
88
  All components use the prefix `dropi-wc-`.
115
89
 
116
- | Component | Selector | Description |
117
- | ---------- | ------------------- | ------------------------------- |
118
- | **Button** | `<dropi-wc-button>` | Primary/Secondary/Ghost buttons |
119
- | **Alert** | `<dropi-wc-alert>` | Success/Error/Info alerts |
120
- | **Input** | `<dropi-wc-input>` | Text inputs with validation |
121
- | **Tag** | `<dropi-wc-tag>` | Status tags (primary/secondary) |
122
- | **Switch** | `<dropi-wc-switch>` | Toggle switches |
123
- | **Search** | `<dropi-wc-search>` | Search bar with autocomplete |
90
+ ### 🛠️ Form Elements
91
+
92
+ | Selector | Description |
93
+ | ------------------------- | ----------------------------------------- |
94
+ | `<dropi-wc-button>` | Primary/Secondary/Ghost buttons |
95
+ | `<dropi-wc-input>` | Text inputs with validation |
96
+ | `<dropi-wc-checkbox>` | Standard checkbox |
97
+ | `<dropi-wc-radio-button>` | Grouped radio buttons |
98
+ | `<dropi-wc-switch>` | Toggle switches |
99
+ | `<dropi-wc-toggle>` | Advanced toggle switch with configuration |
100
+ | `<dropi-wc-text-area>` | Multi-line text area |
101
+ | `<dropi-wc-phone-input>` | Specialized international phone input |
102
+
103
+ ### 🧭 Navigation
104
+
105
+ | Selector | Description |
106
+ | ------------------------------- | ------------------------------------ |
107
+ | `<dropi-wc-sidebar>` | Collapsible navigation sidebar |
108
+ | `<dropi-wc-navbar>` | Top navigation bar |
109
+ | `<dropi-wc-breadcrumb>` | Navigation breadcrumbs |
110
+ | `<dropi-wc-paginator>` | Data pagination with cursor support |
111
+ | `<dropi-wc-steps>` | Progress steps (horizontal/vertical) |
112
+ | `<dropi-wc-languages-selector>` | Language switching dropdown |
113
+
114
+ ### 📦 Layout & Containers
115
+
116
+ | Selector | Description |
117
+ | ---------------------- | --------------------------------------- |
118
+ | `<dropi-wc-modal>` | Dialog modals with customizable content |
119
+ | `<dropi-wc-drawer>` | Side drawers (Left/Right) |
120
+ | `<dropi-wc-accordion>` | Expandable content sections |
121
+ | `<dropi-wc-tabs>` | Tabbed content views |
122
+
123
+ ### 🎨 Display & Feedback
124
+
125
+ | Selector | Description |
126
+ | ----------------------------- | ------------------------------------ |
127
+ | `<dropi-wc-alert>` | Success/Error/Info status alerts |
128
+ | `<dropi-wc-alert-validation>` | Verification status alerts (PrimeNG) |
129
+ | `<dropi-wc-badge>` | Status and number badges |
130
+ | `<dropi-wc-tag>` | Categorization tags |
131
+ | `<dropi-wc-spinner>` | Loading indicator |
132
+ | `<dropi-wc-skeleton>` | Loading skeletons for layouts |
133
+ | `<dropi-wc-empty>` | Empty state displays |
134
+ | `<dropi-wc-tooltip>` | Contextual help tooltips |
135
+
136
+ ### 📽️ Multimedia & Advanced
137
+
138
+ | Selector | Description |
139
+ | ---------------------------- | --------------------------------- |
140
+ | `<dropi-wc-carousel>` | Image and content carousels |
141
+ | `<dropi-wc-youtube-video>` | Lazy-loaded YouTube player |
142
+ | `<dropi-wc-dropdown>` | Checkbox-based selection dropdown |
143
+ | `<dropi-wc-banner-external>` | Dynamic WordPress banners |
124
144
 
125
145
  ---
126
146
 
@@ -0,0 +1,31 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { AccordionComponent } from '../accordion.component';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Componente que renderiza un item de un acordeón.
6
+ *
7
+ * Un item del acordeón tiene un título y un contenido que se puede expandir o contraer.
8
+ *
9
+ * @example
10
+ * <app-accordion>
11
+ * <app-accordion-item title="Título 1">Contenido 1</app-accordion-item>
12
+ * <app-accordion-item title="Título 2">Contenido 2</app-accordion-item>
13
+ * </app-accordion>
14
+ */
15
+ export declare class AccordionItemComponent {
16
+ accordion: AccordionComponent;
17
+ /**
18
+ * The title of the item.
19
+ */
20
+ sectionTitle: string;
21
+ /**
22
+ * The index of the item in the accordion.
23
+ */
24
+ index: number;
25
+ content: TemplateRef<any>;
26
+ constructor(accordion: AccordionComponent);
27
+ toggle(): void;
28
+ get isOpen(): boolean;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "app-accordion-item", never, { "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, ["content"], ["*"], true, never>;
31
+ }
@@ -0,0 +1,26 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Componente que renderiza un acordeón de secciones.
4
+ *
5
+ * Permite tener un acordeón con secciones que se pueden expandir o contraer.
6
+ * Cada sección se renderiza con el componente {@link AccordionItemComponent}.
7
+ *
8
+ * @example
9
+ * <app-accordion>
10
+ * <app-accordion-item title="Título 1">Contenido 1</app-accordion-item>
11
+ * <app-accordion-item title="Título 2">Contenido 2</app-accordion-item>
12
+ * </app-accordion>
13
+ */
14
+ export declare class AccordionComponent {
15
+ /**
16
+ * Allows multiple sections to be open at the same time. If false, only one section can be open.
17
+ * @default false
18
+ */
19
+ multiple: boolean;
20
+ activeIndex: number | null;
21
+ openSections: Set<number>;
22
+ toggle(index: number): void;
23
+ isOpen(index: number): boolean;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "app-accordion", never, { "multiple": { "alias": "multiple"; "required": false; }; }, {}, never, ["*"], true, never>;
26
+ }
@@ -0,0 +1,32 @@
1
+ import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
2
+ import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
3
+ import * as i0 from "@angular/core";
4
+ export declare class AlertComponent implements OnInit, OnChanges {
5
+ private readonly sanitizer;
6
+ message: string;
7
+ type: "default" | "flag";
8
+ state: "success" | "error" | "warning" | "info";
9
+ dismissable: boolean;
10
+ showButton: boolean;
11
+ buttonText: string;
12
+ anchorText: string;
13
+ anchorUrl: string;
14
+ showAlert: boolean;
15
+ textLink: string;
16
+ clickedText: string;
17
+ linkUrl: string;
18
+ onClose: EventEmitter<void>;
19
+ onButtonClick: EventEmitter<void>;
20
+ onClickLink: EventEmitter<void>;
21
+ sanitinezedMessage: SafeHtml;
22
+ alertState: any;
23
+ constructor(sanitizer: DomSanitizer);
24
+ ngOnInit(): void;
25
+ ngOnChanges(changes: SimpleChanges): void;
26
+ sanitizeMessage(): void;
27
+ closeAlert(): void;
28
+ buttonClick(): void;
29
+ emitClickLink(e: any): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "dropi-wc-alert", never, { "message": { "alias": "message"; "required": false; }; "type": { "alias": "type"; "required": false; }; "state": { "alias": "state"; "required": false; }; "dismissable": { "alias": "dismissable"; "required": false; }; "showButton": { "alias": "showButton"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "anchorText": { "alias": "anchorText"; "required": false; }; "anchorUrl": { "alias": "anchorUrl"; "required": false; }; "showAlert": { "alias": "showAlert"; "required": false; }; "textLink": { "alias": "textLink"; "required": false; }; "clickedText": { "alias": "clickedText"; "required": false; }; "linkUrl": { "alias": "linkUrl"; "required": false; }; }, { "onClose": "onClose"; "onButtonClick": "onButtonClick"; "onClickLink": "onClickLink"; }, never, never, true, never>;
32
+ }
@@ -0,0 +1,78 @@
1
+ import { OnInit, EventEmitter, OnChanges, SimpleChanges, ViewContainerRef, TemplateRef, OnDestroy } from "@angular/core";
2
+ import { TranslateService } from "@ngx-translate/core";
3
+ import * as i0 from "@angular/core";
4
+ export declare enum LoadingType {
5
+ Bowling = "bowling",
6
+ Heart = "heart"
7
+ }
8
+ export interface ModalParams {
9
+ tittle: string;
10
+ type?: "question" | "warning" | "success" | "error" | "loading";
11
+ message: string;
12
+ primaryButton?: string;
13
+ secondaryButton?: string;
14
+ loadingType?: LoadingType;
15
+ loadingTitle?: string;
16
+ loadingMessage?: string;
17
+ withLoadingProgressBar?: boolean;
18
+ closable?: boolean;
19
+ displayButtons?: boolean;
20
+ applyCountRegresive?: boolean;
21
+ timer?: number;
22
+ }
23
+ export declare class AlertModalComponent implements OnInit, OnChanges, OnDestroy {
24
+ private templateService;
25
+ private settingService;
26
+ private translateService;
27
+ visible: boolean;
28
+ params: ModalParams;
29
+ loading: boolean;
30
+ isStep: boolean;
31
+ contentTemplate?: TemplateRef<any>;
32
+ baseZIndex: number;
33
+ modalOpenChange: EventEmitter<boolean>;
34
+ primaryButtonEvent: EventEmitter<boolean>;
35
+ modalContainer: ViewContainerRef;
36
+ secondaryButtonEvent: EventEmitter<boolean>;
37
+ onHide: EventEmitter<any>;
38
+ alertTemplate: TemplateRef<any> | null;
39
+ contextTemplate: any;
40
+ private destroy$;
41
+ tittle: string;
42
+ type: string;
43
+ message: string;
44
+ primaryButton: string;
45
+ displayButtons: boolean;
46
+ secondaryButton: string;
47
+ sourceAnimation: string;
48
+ loadingType: LoadingType;
49
+ loadingTitle: string;
50
+ loadingMessage: string;
51
+ withLoadingProgressBar: boolean;
52
+ loadingAnimation: {
53
+ path: string;
54
+ width: string;
55
+ height: string;
56
+ marginBottom: string;
57
+ };
58
+ brandName: string;
59
+ imageWhiteBrand: string;
60
+ interval: any;
61
+ countRegresive: number;
62
+ constructor(templateService: any, settingService: any, translateService: TranslateService);
63
+ ngOnInit(): void;
64
+ ngOnChanges(changes: SimpleChanges): void;
65
+ updateParams(): void;
66
+ closeModal(): void;
67
+ primaryButtonAction(): void;
68
+ secondaryButtonAction(): void;
69
+ decideAnimation(): void;
70
+ decideLoadingAnimation(): void;
71
+ decideImgWhiteBrand(): "" | "/assets/img/white-brands-events/info.png" | "/assets/img/white-brands-events/warning.png" | "/assets/img/white-brands-events/success.png" | "/assets/img/white-brands-events/error.png";
72
+ startCountRegresive(): void;
73
+ ngOnDestroy(): void;
74
+ onHideModal(): void;
75
+ isArray(value: any): boolean;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertModalComponent, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<AlertModalComponent, "app-alert-modal", never, { "visible": { "alias": "visible"; "required": false; }; "params": { "alias": "params"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isStep": { "alias": "isStep"; "required": false; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; }; "baseZIndex": { "alias": "baseZIndex"; "required": false; }; }, { "modalOpenChange": "modalOpenChange"; "primaryButtonEvent": "primaryButtonEvent"; "secondaryButtonEvent": "secondaryButtonEvent"; "onHide": "onHide"; }, never, never, true, never>;
78
+ }
@@ -0,0 +1,21 @@
1
+ import { OnInit } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class AlertValidationComponent implements OnInit {
4
+ private router;
5
+ visible: boolean;
6
+ visibleSupport: boolean;
7
+ message: string;
8
+ routeLink?: string;
9
+ status: any;
10
+ isBillingDataCompleted: boolean;
11
+ messageAlertObject: any;
12
+ visibleTutorial: boolean;
13
+ constructor(router: any);
14
+ ngOnInit(): void;
15
+ navigate(): void;
16
+ goValidate(): void;
17
+ openModal2(): void;
18
+ closeModal(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertValidationComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<AlertValidationComponent, "app-alert-validation", never, { "visible": { "alias": "visible"; "required": false; }; "visibleSupport": { "alias": "visibleSupport"; "required": false; }; "message": { "alias": "message"; "required": false; }; "routeLink": { "alias": "routeLink"; "required": false; }; "status": { "alias": "status"; "required": false; }; "isBillingDataCompleted": { "alias": "isBillingDataCompleted"; "required": false; }; "messageAlertObject": { "alias": "messageAlertObject"; "required": false; }; "visibleTutorial": { "alias": "visibleTutorial"; "required": false; }; }, {}, never, never, true, never>;
21
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class BadgeComponent {
3
+ state: string;
4
+ stateText: {
5
+ pending: string;
6
+ active: string;
7
+ canceled: string;
8
+ frozen: string;
9
+ };
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "dropi-badge", never, { "state": { "alias": "state"; "required": false; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class BetaTagComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<BetaTagComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<BetaTagComponent, "app-beta-tag", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,11 @@
1
+ import { OnInit } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class BreadcrumbComponent implements OnInit {
4
+ items: any[];
5
+ imageIcon: string;
6
+ homeRoute: string;
7
+ home: any;
8
+ ngOnInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "app-breadcrumb", never, { "items": { "alias": "items"; "required": false; }; "imageIcon": { "alias": "imageIcon"; "required": false; }; "homeRoute": { "alias": "homeRoute"; "required": false; }; }, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,204 @@
1
+ import { EventEmitter, OnInit, SimpleChanges, PipeTransform } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class AdjustNamePipeStub implements PipeTransform {
4
+ transform(value: any): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdjustNamePipeStub, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<AdjustNamePipeStub, "adjustName", true>;
7
+ }
8
+ export declare class CurrencyComponentStub {
9
+ value: any;
10
+ class: any;
11
+ style: any;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyComponentStub, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<CurrencyComponentStub, "currency", never, { "value": { "alias": "value"; "required": false; }; "class": { "alias": "class"; "required": false; }; "style": { "alias": "style"; "required": false; }; }, {}, never, never, true, never>;
14
+ }
15
+ export declare class BetaTagComponentStub {
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<BetaTagComponentStub, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<BetaTagComponentStub, "app-beta-tag", never, {}, {}, never, never, true, never>;
18
+ }
19
+ export interface ProductData {
20
+ id: string | number;
21
+ sku?: string;
22
+ name: string;
23
+ type?: string;
24
+ sale_price: number;
25
+ suggested_price: number;
26
+ private_product: boolean;
27
+ variation_stock?: number;
28
+ stock_simple: number;
29
+ is_variation: boolean;
30
+ favorite: boolean;
31
+ supplier: {
32
+ id: number;
33
+ name: string;
34
+ category_user: string;
35
+ icon?: "verified" | "premium" | "exclusive";
36
+ };
37
+ categories: Array<{
38
+ name: string;
39
+ }>;
40
+ private_user_stock?: number;
41
+ legacy_img?: boolean;
42
+ image: string;
43
+ category?: string;
44
+ stock?: number;
45
+ supplierPrice?: number;
46
+ suggestedPrice?: number;
47
+ imageUrl?: string;
48
+ isFavorite?: boolean;
49
+ }
50
+ export type CardState = "default" | "hover" | "select";
51
+ export declare class CardProductComponent implements OnInit {
52
+ private settingService;
53
+ private favoriteService;
54
+ private orderManual;
55
+ private router;
56
+ product: ProductData;
57
+ state: CardState;
58
+ aS: boolean;
59
+ bettaTester: boolean;
60
+ onAddToCart: EventEmitter<ProductData>;
61
+ onProductClick: EventEmitter<ProductData>;
62
+ changeFavorite: EventEmitter<Boolean>;
63
+ imageError: boolean;
64
+ brandName: string;
65
+ onFavoriteHover: boolean;
66
+ randomClasses: {
67
+ card: string;
68
+ imageContainer: string;
69
+ image: string;
70
+ tags: string;
71
+ tagsRow: string;
72
+ favoriteButton: string;
73
+ productInfo: string;
74
+ productHeader: string;
75
+ category: string;
76
+ stockInfo: string;
77
+ stockLabel: string;
78
+ stockValue: string;
79
+ productName: string;
80
+ supplierInfo: string;
81
+ supplierLabel: string;
82
+ supplierName: string;
83
+ priceContainer: string;
84
+ priceItem: string;
85
+ priceLabel: string;
86
+ priceValue: string;
87
+ separator: string;
88
+ actionButton: string;
89
+ buttonText: string;
90
+ };
91
+ mixedData: {
92
+ stockDivs: Array<{
93
+ value: number;
94
+ class: string;
95
+ isReal: boolean;
96
+ }>;
97
+ supplierPriceDivs: Array<{
98
+ value: number;
99
+ class: string;
100
+ isReal: boolean;
101
+ }>;
102
+ suggestedPriceDivs: Array<{
103
+ value: number;
104
+ class: string;
105
+ isReal: boolean;
106
+ }>;
107
+ };
108
+ fakeStyles: {
109
+ stock: string;
110
+ price: string;
111
+ };
112
+ isMobile: boolean;
113
+ constructor(settingService: any, favoriteService: any, orderManual: any, router: any);
114
+ ngOnInit(): void;
115
+ ngOnChanges(changes: SimpleChanges): void;
116
+ onResize(event: any): void;
117
+ private checkScreenSize;
118
+ private generateRandomClasses;
119
+ private generateMixedData;
120
+ private generateFakeStyles;
121
+ get imageUrl(): string | undefined;
122
+ onError(event: any): void;
123
+ get productTags(): Array<{
124
+ text: string;
125
+ type: "primary" | "secondary";
126
+ state: "default" | "warning" | "info";
127
+ showIcon?: boolean;
128
+ icon?: string;
129
+ }>;
130
+ private getProductStock;
131
+ get stockStatus(): "success" | "warning" | "error";
132
+ get stockStatusClass(): string;
133
+ handleAddToCart(): void;
134
+ handleFavoriteToggle(): void;
135
+ getFavoriteIconColor(): string;
136
+ playAudio(): void;
137
+ getProductDetails(): void;
138
+ getProvidersDetails(): void;
139
+ getMixedSupplierPriceDivs(): {
140
+ value: number;
141
+ class: string;
142
+ isReal: boolean;
143
+ }[];
144
+ getMixedSuggestedPriceDivs(): {
145
+ value: number;
146
+ class: string;
147
+ isReal: boolean;
148
+ }[];
149
+ hasStock(): boolean;
150
+ private generateRandomClass;
151
+ private generateFakeStyleVariant;
152
+ private generateMixedStockDivs;
153
+ getCardStyles(): {};
154
+ getRandomProviderCategoryStyles(): {};
155
+ getImageContainerStyles(): {};
156
+ getImageStyles(): {};
157
+ getTagsContainerStyles(): {};
158
+ getTagsRowStyles(): {};
159
+ getFavoriteButtonStyles(): {};
160
+ getProductInfoStyles(): {};
161
+ getProductHeaderStyles(): {};
162
+ getCategoryStyles(): {};
163
+ getStockInfoStyles(): {};
164
+ getStockLabelStyles(): {};
165
+ getStockValueStyles(): {};
166
+ getProductNameStyles(): {};
167
+ getSupplierInfoStyles(): {};
168
+ getSupplierLabelStyles(): {};
169
+ getSupplierNameStyles(): {};
170
+ getPriceContainerStyles(): {};
171
+ getPriceItemStyles(): {};
172
+ getPriceLabelStyles(): {};
173
+ getPriceValueStyles(): {};
174
+ getSeparatorStyles(): {};
175
+ getActionButtonStyles(): {};
176
+ getButtonTextStyles(): {};
177
+ getFakeStockStyles(): {};
178
+ getFakePriceStyles(): {};
179
+ getRandomCardClass(): string;
180
+ getRandomImageContainerClass(): string;
181
+ getRandomImageClass(): string;
182
+ getRandomTagsClass(): string;
183
+ getRandomTagsRowClass(): string;
184
+ getRandomFavoriteButtonClass(): string;
185
+ getRandomProductInfoClass(): string;
186
+ getRandomProductHeaderClass(): string;
187
+ getRandomCategoryClass(): string;
188
+ getRandomStockInfoClass(): string;
189
+ getRandomStockLabelClass(): string;
190
+ getRandomProductNameClass(): string;
191
+ getRandomSupplierInfoClass(): string;
192
+ getRandomSupplierLabelClass(): string;
193
+ getRandomSupplierNameClass(): string;
194
+ getRandomPriceContainerClass(): string;
195
+ getRandomPriceItemClass(): string;
196
+ getRandomPriceLabelClass(): string;
197
+ getRandomPriceValueClass(): string;
198
+ getRandomSeparatorClass(): string;
199
+ getRandomActionButtonClass(): string;
200
+ getRandomButtonTextClass(): string;
201
+ getMixedStockDivs(): any[];
202
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardProductComponent, never>;
203
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardProductComponent, "dropi-card-product", never, { "product": { "alias": "product"; "required": false; }; "state": { "alias": "state"; "required": false; }; "aS": { "alias": "aS"; "required": false; }; "bettaTester": { "alias": "bettaTester"; "required": false; }; }, { "onAddToCart": "onAddToCart"; "onProductClick": "onProductClick"; "changeFavorite": "changeFavorite"; }, never, never, true, never>;
204
+ }