valtech-components 2.0.404 → 2.0.407

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 (280) hide show
  1. package/README.md +71 -0
  2. package/esm2022/lib/components/atoms/avatar/avatar.component.mjs +4 -4
  3. package/esm2022/lib/components/atoms/avatar/types.mjs +1 -1
  4. package/esm2022/lib/components/atoms/box/box.component.mjs +4 -4
  5. package/esm2022/lib/components/atoms/box/types.mjs +1 -1
  6. package/esm2022/lib/components/atoms/button/button.component.mjs +6 -6
  7. package/esm2022/lib/components/atoms/button/factory.mjs +1 -1
  8. package/esm2022/lib/components/atoms/countdown/countdown.component.mjs +343 -0
  9. package/esm2022/lib/components/atoms/countdown/types.mjs +27 -0
  10. package/esm2022/lib/components/atoms/display/display.component.mjs +4 -4
  11. package/esm2022/lib/components/atoms/display/types.mjs +1 -1
  12. package/esm2022/lib/components/atoms/divider/divider.component.mjs +4 -4
  13. package/esm2022/lib/components/atoms/divider/types.mjs +1 -1
  14. package/esm2022/lib/components/atoms/fab/fab.component.mjs +152 -0
  15. package/esm2022/lib/components/atoms/fab/types.mjs +2 -0
  16. package/esm2022/lib/components/atoms/href/href.component.mjs +4 -4
  17. package/esm2022/lib/components/atoms/href/types.mjs +1 -1
  18. package/esm2022/lib/components/atoms/icon/icon.component.mjs +4 -4
  19. package/esm2022/lib/components/atoms/icon/types.mjs +1 -1
  20. package/esm2022/lib/components/atoms/image/image.component.mjs +6 -6
  21. package/esm2022/lib/components/atoms/image/types.mjs +1 -1
  22. package/esm2022/lib/components/atoms/price-tag/price-tag.component.mjs +245 -0
  23. package/esm2022/lib/components/atoms/price-tag/types.mjs +15 -0
  24. package/esm2022/lib/components/atoms/progress-bar/progress-bar.component.mjs +4 -4
  25. package/esm2022/lib/components/atoms/progress-bar/types.mjs +1 -1
  26. package/esm2022/lib/components/atoms/progress-ring/progress-ring.component.mjs +149 -0
  27. package/esm2022/lib/components/atoms/progress-ring/types.mjs +2 -0
  28. package/esm2022/lib/components/atoms/qr-code/qr-code.component.mjs +417 -0
  29. package/esm2022/lib/components/atoms/qr-code/types.mjs +2 -0
  30. package/esm2022/lib/components/atoms/skeleton/skeleton.component.mjs +193 -0
  31. package/esm2022/lib/components/atoms/skeleton/types.mjs +13 -0
  32. package/esm2022/lib/components/atoms/text/text.component.mjs +4 -4
  33. package/esm2022/lib/components/atoms/text/types.mjs +1 -1
  34. package/esm2022/lib/components/atoms/title/title.component.mjs +4 -4
  35. package/esm2022/lib/components/atoms/title/types.mjs +1 -1
  36. package/esm2022/lib/components/molecules/accordion/accordion.component.mjs +139 -0
  37. package/esm2022/lib/components/molecules/accordion/types.mjs +2 -0
  38. package/esm2022/lib/components/molecules/action-header/action-header.component.mjs +4 -4
  39. package/esm2022/lib/components/molecules/action-header/types.mjs +1 -1
  40. package/esm2022/lib/components/molecules/alert-box/alert-box.component.mjs +4 -4
  41. package/esm2022/lib/components/molecules/alert-box/types.mjs +1 -1
  42. package/esm2022/lib/components/molecules/breadcrumb/breadcrumb.component.mjs +137 -0
  43. package/esm2022/lib/components/molecules/breadcrumb/types.mjs +2 -0
  44. package/esm2022/lib/components/molecules/button-group/button-group.component.mjs +4 -4
  45. package/esm2022/lib/components/molecules/button-group/types.mjs +1 -1
  46. package/esm2022/lib/components/molecules/card/card.component.mjs +5 -5
  47. package/esm2022/lib/components/molecules/card/types.mjs +1 -1
  48. package/esm2022/lib/components/molecules/check-input/check-input.component.mjs +4 -4
  49. package/esm2022/lib/components/molecules/chip-group/chip-group.component.mjs +174 -0
  50. package/esm2022/lib/components/molecules/chip-group/types.mjs +2 -0
  51. package/esm2022/lib/components/molecules/code-display/code-display.component.mjs +4 -4
  52. package/esm2022/lib/components/molecules/code-display/types.mjs +1 -1
  53. package/esm2022/lib/components/molecules/command-display/command-display.component.mjs +4 -4
  54. package/esm2022/lib/components/molecules/command-display/types.mjs +1 -1
  55. package/esm2022/lib/components/molecules/comment/comment.component.mjs +634 -0
  56. package/esm2022/lib/components/molecules/comment/types.mjs +2 -0
  57. package/esm2022/lib/components/molecules/comment-input/comment-input.component.mjs +4 -4
  58. package/esm2022/lib/components/molecules/content-loader/content-loader.component.mjs +4 -4
  59. package/esm2022/lib/components/molecules/content-loader/types.mjs +1 -1
  60. package/esm2022/lib/components/molecules/currency-input/currency-input.component.mjs +368 -0
  61. package/esm2022/lib/components/molecules/currency-input/types.mjs +18 -0
  62. package/esm2022/lib/components/molecules/date-input/date-input.component.mjs +5 -5
  63. package/esm2022/lib/components/molecules/date-range-input/date-range-input.component.mjs +418 -0
  64. package/esm2022/lib/components/molecules/date-range-input/types.mjs +2 -0
  65. package/esm2022/lib/components/molecules/email-input/email-input.component.mjs +4 -4
  66. package/esm2022/lib/components/molecules/expandable-text/expandable-text.component.mjs +4 -4
  67. package/esm2022/lib/components/molecules/expandable-text/types.mjs +1 -1
  68. package/esm2022/lib/components/molecules/file-input/file-input.component.mjs +4 -4
  69. package/esm2022/lib/components/molecules/glow-card/glow-card.component.mjs +279 -0
  70. package/esm2022/lib/components/molecules/glow-card/types.mjs +11 -0
  71. package/esm2022/lib/components/molecules/hint/hint.component.mjs +4 -4
  72. package/esm2022/lib/components/molecules/hour-input/hour-input.component.mjs +4 -4
  73. package/esm2022/lib/components/molecules/info/info.component.mjs +4 -4
  74. package/esm2022/lib/components/molecules/info/types.mjs +1 -1
  75. package/esm2022/lib/components/molecules/language-selector/language-selector.component.mjs +4 -4
  76. package/esm2022/lib/components/molecules/language-selector/types.mjs +1 -1
  77. package/esm2022/lib/components/molecules/layered-card/layered-card.component.mjs +4 -4
  78. package/esm2022/lib/components/molecules/layered-card/types.mjs +1 -1
  79. package/esm2022/lib/components/molecules/link/link.component.mjs +4 -4
  80. package/esm2022/lib/components/molecules/link/types.mjs +1 -1
  81. package/esm2022/lib/components/molecules/links-cake/links-cake.component.mjs +4 -4
  82. package/esm2022/lib/components/molecules/links-cake/types.mjs +1 -1
  83. package/esm2022/lib/components/molecules/multi-select-search/multi-select-search.component.mjs +5 -5
  84. package/esm2022/lib/components/molecules/notes-box/notes-box.component.mjs +4 -4
  85. package/esm2022/lib/components/molecules/notes-box/types.mjs +1 -1
  86. package/esm2022/lib/components/molecules/number-from-to/number-from-to.component.mjs +4 -4
  87. package/esm2022/lib/components/molecules/number-input/number-input.component.mjs +4 -4
  88. package/esm2022/lib/components/molecules/number-stepper/number-stepper.component.mjs +377 -0
  89. package/esm2022/lib/components/molecules/number-stepper/types.mjs +2 -0
  90. package/esm2022/lib/components/molecules/pagination/pagination.component.mjs +253 -0
  91. package/esm2022/lib/components/molecules/pagination/types.mjs +2 -0
  92. package/esm2022/lib/components/molecules/participant-card/participant-card.component.mjs +486 -0
  93. package/esm2022/lib/components/molecules/participant-card/types.mjs +21 -0
  94. package/esm2022/lib/components/molecules/password-input/password-input.component.mjs +4 -4
  95. package/esm2022/lib/components/molecules/phone-input/phone-input.component.mjs +336 -0
  96. package/esm2022/lib/components/molecules/phone-input/types.mjs +19 -0
  97. package/esm2022/lib/components/molecules/pill/pill.component.mjs +4 -4
  98. package/esm2022/lib/components/molecules/pill/types.mjs +1 -1
  99. package/esm2022/lib/components/molecules/pin-input/pin-input.component.mjs +4 -4
  100. package/esm2022/lib/components/molecules/plain-code-box/plain-code-box.component.mjs +4 -4
  101. package/esm2022/lib/components/molecules/plain-code-box/types.mjs +1 -1
  102. package/esm2022/lib/components/molecules/popover-selector/popover-selector.component.mjs +5 -5
  103. package/esm2022/lib/components/molecules/popover-selector/types.mjs +1 -1
  104. package/esm2022/lib/components/molecules/progress-status/progress-status.component.mjs +4 -4
  105. package/esm2022/lib/components/molecules/progress-status/types.mjs +1 -1
  106. package/esm2022/lib/components/molecules/prompter/prompter.component.mjs +4 -4
  107. package/esm2022/lib/components/molecules/prompter/types.mjs +1 -1
  108. package/esm2022/lib/components/molecules/quote-box/quote-box.component.mjs +155 -0
  109. package/esm2022/lib/components/molecules/radio-input/radio-input.component.mjs +5 -5
  110. package/esm2022/lib/components/molecules/raffle-status-card/raffle-status-card.component.mjs +484 -0
  111. package/esm2022/lib/components/molecules/raffle-status-card/types.mjs +23 -0
  112. package/esm2022/lib/components/molecules/range-input/range-input.component.mjs +148 -0
  113. package/esm2022/lib/components/molecules/range-input/types.mjs +2 -0
  114. package/esm2022/lib/components/molecules/rating/rating.component.mjs +149 -0
  115. package/esm2022/lib/components/molecules/rating/types.mjs +2 -0
  116. package/esm2022/lib/components/molecules/searchbar/searchbar.component.mjs +4 -4
  117. package/esm2022/lib/components/molecules/segment-control/segment-control.component.mjs +145 -0
  118. package/esm2022/lib/components/molecules/segment-control/types.mjs +2 -0
  119. package/esm2022/lib/components/molecules/select-input/select-input.component.mjs +5 -5
  120. package/esm2022/lib/components/molecules/select-search/select-search.component.mjs +5 -5
  121. package/esm2022/lib/components/molecules/share-buttons/share-buttons.component.mjs +277 -0
  122. package/esm2022/lib/components/molecules/share-buttons/types.mjs +88 -0
  123. package/esm2022/lib/components/molecules/stats-card/stats-card.component.mjs +165 -0
  124. package/esm2022/lib/components/molecules/stats-card/types.mjs +2 -0
  125. package/esm2022/lib/components/molecules/stepper/stepper.component.mjs +239 -0
  126. package/esm2022/lib/components/molecules/stepper/types.mjs +2 -0
  127. package/esm2022/lib/components/molecules/tabs/tabs.component.mjs +135 -0
  128. package/esm2022/lib/components/molecules/tabs/types.mjs +2 -0
  129. package/esm2022/lib/components/molecules/text-input/text-input.component.mjs +4 -4
  130. package/esm2022/lib/components/molecules/textarea-input/textarea-input.component.mjs +204 -0
  131. package/esm2022/lib/components/molecules/textarea-input/types.mjs +2 -0
  132. package/esm2022/lib/components/molecules/ticket-grid/ticket-grid.component.mjs +497 -0
  133. package/esm2022/lib/components/molecules/ticket-grid/types.mjs +11 -0
  134. package/esm2022/lib/components/molecules/timeline/timeline.component.mjs +140 -0
  135. package/esm2022/lib/components/molecules/timeline/types.mjs +2 -0
  136. package/esm2022/lib/components/molecules/title-block/title-block.component.mjs +4 -4
  137. package/esm2022/lib/components/molecules/title-block/types.mjs +1 -1
  138. package/esm2022/lib/components/molecules/toggle-input/toggle-input.component.mjs +89 -0
  139. package/esm2022/lib/components/molecules/toggle-input/types.mjs +2 -0
  140. package/esm2022/lib/components/molecules/winner-display/types.mjs +9 -0
  141. package/esm2022/lib/components/molecules/winner-display/winner-display.component.mjs +370 -0
  142. package/esm2022/lib/components/organisms/article/article.component.mjs +4 -4
  143. package/esm2022/lib/components/organisms/article/types.mjs +1 -1
  144. package/esm2022/lib/components/organisms/banner/banner.component.mjs +4 -4
  145. package/esm2022/lib/components/organisms/banner/types.mjs +1 -1
  146. package/esm2022/lib/components/organisms/comment-section/comment-section.component.mjs +578 -0
  147. package/esm2022/lib/components/organisms/comment-section/types.mjs +2 -0
  148. package/esm2022/lib/components/organisms/data-table/data-table.component.mjs +853 -0
  149. package/esm2022/lib/components/organisms/data-table/types.mjs +13 -0
  150. package/esm2022/lib/components/organisms/footer/footer.component.mjs +4 -4
  151. package/esm2022/lib/components/organisms/footer/types.mjs +1 -1
  152. package/esm2022/lib/components/organisms/form/factory.mjs +1 -1
  153. package/esm2022/lib/components/organisms/form/form-footer/form-footer.component.mjs +4 -4
  154. package/esm2022/lib/components/organisms/form/form.component.mjs +4 -4
  155. package/esm2022/lib/components/organisms/header/header.component.mjs +4 -4
  156. package/esm2022/lib/components/organisms/header/types.mjs +1 -1
  157. package/esm2022/lib/components/organisms/item-list/item-list.component.mjs +4 -4
  158. package/esm2022/lib/components/organisms/item-list/types.mjs +1 -1
  159. package/esm2022/lib/components/organisms/no-content/no-content.component.mjs +4 -4
  160. package/esm2022/lib/components/organisms/no-content/types.mjs +1 -1
  161. package/esm2022/lib/components/organisms/toolbar/toolbar.component.mjs +4 -4
  162. package/esm2022/lib/components/organisms/toolbar/types.mjs +1 -1
  163. package/esm2022/lib/components/organisms/wizard/types.mjs +1 -1
  164. package/esm2022/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.mjs +4 -4
  165. package/esm2022/lib/components/organisms/wizard/wizard.component.mjs +4 -4
  166. package/esm2022/lib/components/templates/layout/layout.component.mjs +4 -4
  167. package/esm2022/lib/components/templates/simple/simple.component.mjs +5 -5
  168. package/esm2022/lib/components/templates/simple/types.mjs +1 -1
  169. package/esm2022/lib/components/types.mjs +22 -16
  170. package/esm2022/lib/services/confirmation-dialog/confirmation-dialog.service.mjs +180 -0
  171. package/esm2022/lib/services/confirmation-dialog/types.mjs +14 -0
  172. package/esm2022/lib/services/download.service.mjs +4 -4
  173. package/esm2022/lib/services/icons.service.mjs +4 -4
  174. package/esm2022/lib/services/in-app-browser.service.mjs +4 -4
  175. package/esm2022/lib/services/lang-provider/components/lang-settings.mjs +1 -1
  176. package/esm2022/lib/services/lang-provider/content.mjs +1 -1
  177. package/esm2022/lib/services/lang-provider/lang-provider.service.mjs +4 -4
  178. package/esm2022/lib/services/lang-provider/types.mjs +1 -1
  179. package/esm2022/lib/services/link-processor.service.mjs +4 -4
  180. package/esm2022/lib/services/local-storage.service.mjs +1 -1
  181. package/esm2022/lib/services/modal/modal.service.mjs +213 -0
  182. package/esm2022/lib/services/modal/simple-modal-content.component.mjs +133 -0
  183. package/esm2022/lib/services/modal/types.mjs +26 -0
  184. package/esm2022/lib/services/navigation.service.mjs +4 -4
  185. package/esm2022/lib/services/qr-generator/qr-generator.service.mjs +341 -0
  186. package/esm2022/lib/services/qr-generator/types.mjs +46 -0
  187. package/esm2022/lib/services/theme.service.mjs +4 -4
  188. package/esm2022/lib/services/toast.service.mjs +4 -4
  189. package/esm2022/lib/services/types.mjs +1 -1
  190. package/esm2022/lib/shared/constants/storage.mjs +1 -1
  191. package/esm2022/lib/shared/pipes/process-links.pipe.mjs +4 -4
  192. package/esm2022/lib/shared/utils/content.mjs +1 -1
  193. package/esm2022/lib/shared/utils/dom.mjs +1 -1
  194. package/esm2022/lib/shared/utils/form-defaults.mjs +1 -1
  195. package/esm2022/lib/shared/utils/simple-content.mjs +1 -1
  196. package/esm2022/lib/shared/utils/styles.mjs +1 -1
  197. package/esm2022/lib/shared/utils/text.mjs +1 -1
  198. package/esm2022/public-api.mjs +73 -3
  199. package/esm2022/valtech-components.mjs +1 -1
  200. package/fesm2022/valtech-components-simple-modal-content.component-DQhEgUmS.mjs +136 -0
  201. package/fesm2022/valtech-components-simple-modal-content.component-DQhEgUmS.mjs.map +1 -0
  202. package/fesm2022/valtech-components.mjs +14848 -4293
  203. package/fesm2022/valtech-components.mjs.map +1 -1
  204. package/lib/components/atoms/countdown/countdown.component.d.ts +38 -0
  205. package/lib/components/atoms/countdown/types.d.ts +108 -0
  206. package/lib/components/atoms/fab/fab.component.d.ts +16 -0
  207. package/lib/components/atoms/fab/types.d.ts +45 -0
  208. package/lib/components/atoms/price-tag/price-tag.component.d.ts +16 -0
  209. package/lib/components/atoms/price-tag/types.d.ts +59 -0
  210. package/lib/components/atoms/progress-ring/progress-ring.component.d.ts +20 -0
  211. package/lib/components/atoms/progress-ring/types.d.ts +24 -0
  212. package/lib/components/atoms/qr-code/qr-code.component.d.ts +36 -0
  213. package/lib/components/atoms/qr-code/types.d.ts +124 -0
  214. package/lib/components/atoms/skeleton/skeleton.component.d.ts +12 -0
  215. package/lib/components/atoms/skeleton/types.d.ts +29 -0
  216. package/lib/components/molecules/accordion/accordion.component.d.ts +19 -0
  217. package/lib/components/molecules/accordion/types.d.ts +47 -0
  218. package/lib/components/molecules/breadcrumb/breadcrumb.component.d.ts +22 -0
  219. package/lib/components/molecules/breadcrumb/types.d.ts +45 -0
  220. package/lib/components/molecules/chip-group/chip-group.component.d.ts +22 -0
  221. package/lib/components/molecules/chip-group/types.d.ts +65 -0
  222. package/lib/components/molecules/comment/comment.component.d.ts +42 -0
  223. package/lib/components/molecules/comment/types.d.ts +171 -0
  224. package/lib/components/molecules/currency-input/currency-input.component.d.ts +43 -0
  225. package/lib/components/molecules/currency-input/types.d.ts +96 -0
  226. package/lib/components/molecules/date-range-input/date-range-input.component.d.ts +42 -0
  227. package/lib/components/molecules/date-range-input/types.d.ts +109 -0
  228. package/lib/components/molecules/glow-card/glow-card.component.d.ts +51 -0
  229. package/lib/components/molecules/glow-card/types.d.ts +92 -0
  230. package/lib/components/molecules/number-stepper/number-stepper.component.d.ts +34 -0
  231. package/lib/components/molecules/number-stepper/types.d.ts +88 -0
  232. package/lib/components/molecules/pagination/pagination.component.d.ts +15 -0
  233. package/lib/components/molecules/pagination/types.d.ts +41 -0
  234. package/lib/components/molecules/participant-card/participant-card.component.d.ts +26 -0
  235. package/lib/components/molecules/participant-card/types.d.ts +132 -0
  236. package/lib/components/molecules/phone-input/phone-input.component.d.ts +38 -0
  237. package/lib/components/molecules/phone-input/types.d.ts +98 -0
  238. package/lib/components/molecules/quote-box/quote-box.component.d.ts +26 -0
  239. package/lib/components/molecules/raffle-status-card/raffle-status-card.component.d.ts +22 -0
  240. package/lib/components/molecules/raffle-status-card/types.d.ts +108 -0
  241. package/lib/components/molecules/range-input/range-input.component.d.ts +30 -0
  242. package/lib/components/molecules/range-input/types.d.ts +59 -0
  243. package/lib/components/molecules/rating/rating.component.d.ts +17 -0
  244. package/lib/components/molecules/rating/types.d.ts +41 -0
  245. package/lib/components/molecules/segment-control/segment-control.component.d.ts +30 -0
  246. package/lib/components/molecules/segment-control/types.d.ts +46 -0
  247. package/lib/components/molecules/share-buttons/share-buttons.component.d.ts +22 -0
  248. package/lib/components/molecules/share-buttons/types.d.ts +108 -0
  249. package/lib/components/molecules/stats-card/stats-card.component.d.ts +14 -0
  250. package/lib/components/molecules/stats-card/types.d.ts +41 -0
  251. package/lib/components/molecules/stepper/stepper.component.d.ts +21 -0
  252. package/lib/components/molecules/stepper/types.d.ts +66 -0
  253. package/lib/components/molecules/tabs/tabs.component.d.ts +17 -0
  254. package/lib/components/molecules/tabs/types.d.ts +45 -0
  255. package/lib/components/molecules/textarea-input/textarea-input.component.d.ts +27 -0
  256. package/lib/components/molecules/textarea-input/types.d.ts +74 -0
  257. package/lib/components/molecules/ticket-grid/ticket-grid.component.d.ts +41 -0
  258. package/lib/components/molecules/ticket-grid/types.d.ts +122 -0
  259. package/lib/components/molecules/timeline/timeline.component.d.ts +14 -0
  260. package/lib/components/molecules/timeline/types.d.ts +39 -0
  261. package/lib/components/molecules/toggle-input/toggle-input.component.d.ts +24 -0
  262. package/lib/components/molecules/toggle-input/types.d.ts +30 -0
  263. package/lib/components/molecules/winner-display/types.d.ts +103 -0
  264. package/lib/components/molecules/winner-display/winner-display.component.d.ts +37 -0
  265. package/lib/components/organisms/article/article.component.d.ts +1 -1
  266. package/lib/components/organisms/comment-section/comment-section.component.d.ts +52 -0
  267. package/lib/components/organisms/comment-section/types.d.ts +144 -0
  268. package/lib/components/organisms/data-table/data-table.component.d.ts +46 -0
  269. package/lib/components/organisms/data-table/types.d.ts +205 -0
  270. package/lib/components/types.d.ts +21 -15
  271. package/lib/services/confirmation-dialog/confirmation-dialog.service.d.ts +71 -0
  272. package/lib/services/confirmation-dialog/types.d.ts +61 -0
  273. package/lib/services/modal/modal.service.d.ts +98 -0
  274. package/lib/services/modal/simple-modal-content.component.d.ts +19 -0
  275. package/lib/services/modal/types.d.ts +155 -0
  276. package/lib/services/qr-generator/qr-generator.service.d.ts +115 -0
  277. package/lib/services/qr-generator/types.d.ts +141 -0
  278. package/package.json +11 -4
  279. package/public-api.d.ts +72 -2
  280. package/LICENSE +0 -21
@@ -0,0 +1,92 @@
1
+ import { Color } from '@ionic/core';
2
+ /**
3
+ * Aspect ratio options for the glow-card image
4
+ */
5
+ export type GlowCardAspectRatio = '16:9' | '4:3' | '1:1' | '3:2' | '21:9';
6
+ /**
7
+ * CTA (Call-to-Action) configuration for glow-card
8
+ */
9
+ export interface GlowCardCTA {
10
+ /** CTA text (static) */
11
+ text?: string;
12
+ /** Content key for i18n support */
13
+ contentKey?: string;
14
+ /** Component class name for content lookup */
15
+ contentClass?: string;
16
+ /** Fallback text if contentKey not found */
17
+ contentFallback?: string;
18
+ /** URL to navigate to */
19
+ url: string;
20
+ /** Navigation type */
21
+ type: 'internal' | 'tab' | 'browse';
22
+ /** Icon name (defaults to 'arrow-forward-outline') */
23
+ icon?: string;
24
+ }
25
+ /**
26
+ * Glow effect configuration
27
+ */
28
+ export interface GlowConfig {
29
+ /** Whether glow is enabled (default: true) */
30
+ enabled?: boolean;
31
+ /** Custom glow color - uses CSS color or Ionic color name */
32
+ color?: Color | string;
33
+ /** Glow intensity (default: 'medium') */
34
+ intensity?: 'subtle' | 'medium' | 'intense';
35
+ }
36
+ /**
37
+ * Event emitted when glow-card is clicked
38
+ */
39
+ export interface GlowCardClickEvent {
40
+ /** Click target */
41
+ target: 'card' | 'cta' | 'image';
42
+ /** Optional token for identification */
43
+ token?: string;
44
+ /** CTA URL if CTA was clicked */
45
+ url?: string;
46
+ }
47
+ /**
48
+ * Props for val-glow-card component.
49
+ *
50
+ * A card component with image, title, description, and animated CTA.
51
+ * Features hover states with image zoom, expanding CTA link, and glow effect.
52
+ */
53
+ export interface GlowCardMetadata {
54
+ /** Unique token for event identification */
55
+ token?: string;
56
+ /** Image source URL */
57
+ imageSrc: string;
58
+ /** Image alt text */
59
+ imageAlt: string;
60
+ /** Image aspect ratio (default: '16:9') */
61
+ aspectRatio?: GlowCardAspectRatio;
62
+ /** Static title text */
63
+ title?: string;
64
+ /** Title content key for i18n */
65
+ titleKey?: string;
66
+ /** Title content class for i18n lookup */
67
+ titleClass?: string;
68
+ /** Title fallback text */
69
+ titleFallback?: string;
70
+ /** Static description text */
71
+ description?: string;
72
+ /** Description content key for i18n */
73
+ descriptionKey?: string;
74
+ /** Description content class for i18n lookup */
75
+ descriptionClass?: string;
76
+ /** Description fallback text */
77
+ descriptionFallback?: string;
78
+ /** CTA configuration */
79
+ cta: GlowCardCTA;
80
+ /** Glow effect configuration */
81
+ glow?: GlowConfig;
82
+ /** Card background color (optional) */
83
+ backgroundColor?: Color | string;
84
+ /** Show border around the card (default: false) */
85
+ bordered?: boolean;
86
+ /** Border color - uses CSS color or Ionic color name (default: 'medium') */
87
+ borderColor?: Color | string;
88
+ }
89
+ /**
90
+ * Factory function to create GlowCardMetadata with defaults
91
+ */
92
+ export declare function createGlowCardProps(overrides: Partial<GlowCardMetadata> & Pick<GlowCardMetadata, 'imageSrc' | 'imageAlt' | 'cta'>): GlowCardMetadata;
@@ -0,0 +1,34 @@
1
+ import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
2
+ import { NumberStepperMetadata, NumberStepperChangeEvent } from './types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NumberStepperComponent implements OnInit, OnDestroy {
5
+ props: NumberStepperMetadata;
6
+ valueChange: EventEmitter<NumberStepperChangeEvent>;
7
+ states: {
8
+ ENABLED: "ENABLED";
9
+ DISABLED: "DISABLED";
10
+ WORKING: "WORKING";
11
+ ERROR: "ERROR";
12
+ };
13
+ private valueSubscription;
14
+ private langService;
15
+ ngOnInit(): void;
16
+ ngOnDestroy(): void;
17
+ get currentValue(): number;
18
+ get isAtMin(): boolean;
19
+ get isAtMax(): boolean;
20
+ get totalPrice(): number;
21
+ increment(): void;
22
+ decrement(): void;
23
+ setValue(value: number): void;
24
+ onInputBlur(): void;
25
+ private clampValue;
26
+ private clamp;
27
+ private emitChange;
28
+ getLabel(): string;
29
+ getUnitLabel(): string;
30
+ formatPrice(amount: number): string;
31
+ getColor(): string;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberStepperComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumberStepperComponent, "val-number-stepper", never, { "props": { "alias": "props"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
34
+ }
@@ -0,0 +1,88 @@
1
+ import { FormControl } from '@angular/forms';
2
+ import { Color } from '@ionic/core';
3
+ import { ComponentState } from '../../types';
4
+ /**
5
+ * Quick selection preset for number stepper.
6
+ */
7
+ export interface NumberStepperPreset {
8
+ /** Preset value */
9
+ value: number;
10
+ /** Display label (optional, defaults to value) */
11
+ label?: string;
12
+ /** Whether this is a popular/highlighted option */
13
+ popular?: boolean;
14
+ }
15
+ /**
16
+ * Metadata for the number stepper component.
17
+ */
18
+ export interface NumberStepperMetadata {
19
+ /** Form control for the value */
20
+ control: FormControl<number>;
21
+ /** Minimum value */
22
+ min?: number;
23
+ /** Maximum value */
24
+ max?: number;
25
+ /** Step increment */
26
+ step?: number;
27
+ /** Show manual input field */
28
+ showInput?: boolean;
29
+ /** Allow manual input editing */
30
+ editableInput?: boolean;
31
+ /** Unit price for total calculation */
32
+ unitPrice?: number;
33
+ /** Currency code for price display */
34
+ currency?: string;
35
+ /** Currency symbol */
36
+ currencySymbol?: string;
37
+ /** Show total price */
38
+ showTotal?: boolean;
39
+ /** Unit label (e.g., "boletos", "tickets") */
40
+ unitLabel?: string;
41
+ /** Singular unit label */
42
+ unitLabelSingular?: string;
43
+ /** Preset values for quick selection */
44
+ presets?: NumberStepperPreset[];
45
+ /** Show preset buttons */
46
+ showPresets?: boolean;
47
+ /** Component color */
48
+ color?: Color;
49
+ /** Size variant */
50
+ size?: 'small' | 'medium' | 'large';
51
+ /** Button shape */
52
+ buttonShape?: 'square' | 'round';
53
+ /** Layout direction */
54
+ layout?: 'horizontal' | 'vertical';
55
+ /** Custom CSS class */
56
+ cssClass?: string;
57
+ /** Component state */
58
+ state?: ComponentState;
59
+ /** Label for the component */
60
+ label?: string;
61
+ /** Hint text */
62
+ hint?: string;
63
+ /** Decrement button aria label */
64
+ decrementLabel?: string;
65
+ /** Increment button aria label */
66
+ incrementLabel?: string;
67
+ /** Content key for label */
68
+ labelContentKey?: string;
69
+ /** Content key for unit label */
70
+ unitLabelContentKey?: string;
71
+ /** Content class for reactive content */
72
+ contentClass?: string;
73
+ }
74
+ /**
75
+ * Event emitted when value changes.
76
+ */
77
+ export interface NumberStepperChangeEvent {
78
+ /** New value */
79
+ value: number;
80
+ /** Previous value */
81
+ previousValue: number;
82
+ /** Total price (if unitPrice is set) */
83
+ totalPrice?: number;
84
+ /** Whether at minimum */
85
+ atMin: boolean;
86
+ /** Whether at maximum */
87
+ atMax: boolean;
88
+ }
@@ -0,0 +1,15 @@
1
+ import { OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
2
+ import { PaginationMetadata, PageChangeEvent } from './types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PaginationComponent implements OnChanges {
5
+ props: PaginationMetadata;
6
+ pageChange: EventEmitter<PageChangeEvent>;
7
+ visiblePages: number[];
8
+ totalPages: number;
9
+ ngOnChanges(changes: SimpleChanges): void;
10
+ goToPage(page: number): void;
11
+ private calculateTotalPages;
12
+ private calculateVisiblePages;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "val-pagination", never, { "props": { "alias": "props"; "required": false; }; }, { "pageChange": "pageChange"; }, never, never, true, never>;
15
+ }
@@ -0,0 +1,41 @@
1
+ import { Color } from '@ionic/core';
2
+ /**
3
+ * Metadata for the pagination component.
4
+ */
5
+ export interface PaginationMetadata {
6
+ /** Current page number (1-based) */
7
+ currentPage: number;
8
+ /** Total number of pages */
9
+ totalPages: number;
10
+ /** Items per page */
11
+ pageSize?: number;
12
+ /** Total number of items (alternative to totalPages) */
13
+ totalItems?: number;
14
+ /** Maximum visible page buttons */
15
+ maxVisiblePages?: number;
16
+ /** Show first/last page buttons */
17
+ showFirstLast?: boolean;
18
+ /** Show previous/next buttons */
19
+ showPrevNext?: boolean;
20
+ /** Pagination color */
21
+ color?: Color;
22
+ /** Size variant */
23
+ size?: 'small' | 'default' | 'large';
24
+ /** Disable pagination */
25
+ disabled?: boolean;
26
+ /** Show page info text (e.g., "Page 1 of 10") */
27
+ showPageInfo?: boolean;
28
+ /** Unique token identifier */
29
+ token?: string;
30
+ }
31
+ /**
32
+ * Event emitted when page changes.
33
+ */
34
+ export interface PageChangeEvent {
35
+ /** New page number */
36
+ page: number;
37
+ /** Previous page number */
38
+ previousPage: number;
39
+ /** Page size */
40
+ pageSize: number;
41
+ }
@@ -0,0 +1,26 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ParticipantCardMetadata, ParticipantCardClickEvent, ParticipantCardActionEvent, ParticipantTicket } from './types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ParticipantCardComponent {
5
+ props: ParticipantCardMetadata;
6
+ cardClick: EventEmitter<ParticipantCardClickEvent>;
7
+ actionClick: EventEmitter<ParticipantCardActionEvent>;
8
+ showAllTickets: boolean;
9
+ private langService;
10
+ get ticketNumbers(): (number | ParticipantTicket)[];
11
+ get visibleTickets(): (number | ParticipantTicket)[];
12
+ get hiddenTicketsCount(): number;
13
+ formatTicketNumber(ticket: number | ParticipantTicket): string;
14
+ getTicketColor(ticket: number | ParticipantTicket): string;
15
+ isWinnerTicket(ticket: number | ParticipantTicket): boolean;
16
+ getPaymentStatusLabel(): string;
17
+ getPaymentStatusColor(): string;
18
+ getPaymentStatusIcon(): string;
19
+ formatCurrency(amount: number): string;
20
+ formatDate(date: Date | string): string;
21
+ toggleShowAllTickets(event: Event): void;
22
+ onCardClick(): void;
23
+ onActionsClick(event: Event): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<ParticipantCardComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<ParticipantCardComponent, "val-participant-card", never, { "props": { "alias": "props"; "required": false; }; }, { "cardClick": "cardClick"; "actionClick": "actionClick"; }, never, never, true, never>;
26
+ }
@@ -0,0 +1,132 @@
1
+ import { Color } from '@ionic/core';
2
+ import { AvatarMetadata } from '../../atoms/avatar/types';
3
+ /**
4
+ * Participant payment status.
5
+ */
6
+ export type ParticipantPaymentStatus = 'pending' | 'processing' | 'paid' | 'refunded' | 'failed';
7
+ /**
8
+ * Ticket info for participant.
9
+ */
10
+ export interface ParticipantTicket {
11
+ /** Ticket number */
12
+ number: number;
13
+ /** Ticket status */
14
+ status: 'active' | 'reserved' | 'cancelled' | 'winner';
15
+ }
16
+ /**
17
+ * Participant information.
18
+ */
19
+ export interface ParticipantInfo {
20
+ /** Participant ID */
21
+ id: string | number;
22
+ /** Participant name */
23
+ name: string;
24
+ /** Participant email */
25
+ email?: string;
26
+ /** Participant phone */
27
+ phone?: string;
28
+ /** Avatar */
29
+ avatar?: AvatarMetadata;
30
+ /** Location */
31
+ location?: string;
32
+ /** Registration date */
33
+ registrationDate?: Date | string;
34
+ /** Tickets purchased */
35
+ tickets: ParticipantTicket[] | number[];
36
+ /** Payment status */
37
+ paymentStatus?: ParticipantPaymentStatus;
38
+ /** Total amount paid */
39
+ amountPaid?: number;
40
+ /** Notes */
41
+ notes?: string;
42
+ /** Is winner */
43
+ isWinner?: boolean;
44
+ /** Custom data */
45
+ customData?: Record<string, any>;
46
+ }
47
+ /**
48
+ * Metadata for the participant card component.
49
+ */
50
+ export interface ParticipantCardMetadata {
51
+ /** Participant information */
52
+ participant: ParticipantInfo;
53
+ /** Card variant */
54
+ variant?: 'default' | 'compact' | 'detailed' | 'admin';
55
+ /** Size */
56
+ size?: 'small' | 'medium' | 'large';
57
+ /** Show avatar */
58
+ showAvatar?: boolean;
59
+ /** Show email */
60
+ showEmail?: boolean;
61
+ /** Show phone */
62
+ showPhone?: boolean;
63
+ /** Show tickets */
64
+ showTickets?: boolean;
65
+ /** Max tickets to show before collapsing */
66
+ maxTicketsVisible?: number;
67
+ /** Show payment status */
68
+ showPaymentStatus?: boolean;
69
+ /** Show amount */
70
+ showAmount?: boolean;
71
+ /** Show date */
72
+ showDate?: boolean;
73
+ /** Number padding for tickets */
74
+ numberPadding?: number;
75
+ /** Currency code */
76
+ currency?: string;
77
+ /** Currency symbol */
78
+ currencySymbol?: string;
79
+ /** Custom CSS class */
80
+ cssClass?: string;
81
+ /** Highlight if winner */
82
+ highlightWinner?: boolean;
83
+ /** Clickable card */
84
+ clickable?: boolean;
85
+ /** Show action menu */
86
+ showActions?: boolean;
87
+ /** Actions menu items */
88
+ actions?: ParticipantCardAction[];
89
+ /** Payment status labels */
90
+ paymentStatusLabels?: Partial<Record<ParticipantPaymentStatus, string>>;
91
+ /** Content class */
92
+ contentClass?: string;
93
+ }
94
+ /**
95
+ * Action item for participant card.
96
+ */
97
+ export interface ParticipantCardAction {
98
+ /** Action ID */
99
+ id: string;
100
+ /** Action label */
101
+ label: string;
102
+ /** Action icon */
103
+ icon?: string;
104
+ /** Action color */
105
+ color?: Color;
106
+ /** Is destructive action */
107
+ destructive?: boolean;
108
+ }
109
+ /**
110
+ * Event emitted when card is clicked.
111
+ */
112
+ export interface ParticipantCardClickEvent {
113
+ /** Participant info */
114
+ participant: ParticipantInfo;
115
+ }
116
+ /**
117
+ * Event emitted when action is clicked.
118
+ */
119
+ export interface ParticipantCardActionEvent {
120
+ /** Action ID */
121
+ actionId: string;
122
+ /** Participant info */
123
+ participant: ParticipantInfo;
124
+ }
125
+ /**
126
+ * Default payment status labels.
127
+ */
128
+ export declare const DEFAULT_PAYMENT_STATUS_LABELS: Record<ParticipantPaymentStatus, string>;
129
+ /**
130
+ * Default payment status colors.
131
+ */
132
+ export declare const DEFAULT_PAYMENT_STATUS_COLORS: Record<ParticipantPaymentStatus, Color>;
@@ -0,0 +1,38 @@
1
+ import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { PhoneInputMetadata, PhoneInputChangeEvent, CountryCode } from './types';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PhoneInputComponent implements OnInit, OnDestroy {
6
+ props: PhoneInputMetadata;
7
+ phoneChange: EventEmitter<PhoneInputChangeEvent>;
8
+ states: {
9
+ ENABLED: "ENABLED";
10
+ DISABLED: "DISABLED";
11
+ WORKING: "WORKING";
12
+ ERROR: "ERROR";
13
+ };
14
+ internalCountryControl: FormControl<string>;
15
+ internalNumberControl: FormControl<string>;
16
+ private langSubscription;
17
+ private valueSubscription;
18
+ private langService;
19
+ ngOnInit(): void;
20
+ ngOnDestroy(): void;
21
+ private isInternalUpdate;
22
+ private parsePhoneNumber;
23
+ private hasReactiveContent;
24
+ getLabel(): string;
25
+ getPlaceholder(): string;
26
+ getHint(): string;
27
+ getCountryList(): CountryCode[];
28
+ getSelectedCountry(): CountryCode | null;
29
+ get hasError(): boolean;
30
+ getErrorMessage(): string;
31
+ onCountryChange(event: CustomEvent): void;
32
+ onNumberInput(event: CustomEvent): void;
33
+ onBlur(): void;
34
+ private updateMainControl;
35
+ private validateNumber;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<PhoneInputComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<PhoneInputComponent, "val-phone-input", never, { "props": { "alias": "props"; "required": false; }; }, { "phoneChange": "phoneChange"; }, never, never, true, never>;
38
+ }
@@ -0,0 +1,98 @@
1
+ import { FormControl } from '@angular/forms';
2
+ import { Color } from '@ionic/core';
3
+ import { ComponentState } from '../../types';
4
+ /**
5
+ * Country code option for phone input.
6
+ */
7
+ export interface CountryCode {
8
+ /** ISO country code (e.g., 'US', 'MX', 'ES') */
9
+ code: string;
10
+ /** Country name */
11
+ name: string;
12
+ /** Dial code (e.g., '+1', '+52', '+34') */
13
+ dialCode: string;
14
+ /** Flag emoji (optional) */
15
+ flag?: string;
16
+ /** Phone number format pattern (optional) */
17
+ format?: string;
18
+ }
19
+ /**
20
+ * Common country codes for quick access.
21
+ */
22
+ export declare const COMMON_COUNTRY_CODES: CountryCode[];
23
+ /**
24
+ * Metadata for the phone input component.
25
+ */
26
+ export interface PhoneInputMetadata {
27
+ /** Form control for the complete phone number (with country code) */
28
+ control: FormControl<string>;
29
+ /** Separate control for just the number (without country code) */
30
+ numberControl?: FormControl<string>;
31
+ /** Separate control for country code selection */
32
+ countryControl?: FormControl<string>;
33
+ /** Unique token for the input */
34
+ token?: string;
35
+ /** Display label */
36
+ label?: string;
37
+ /** Field name */
38
+ name?: string;
39
+ /** Help text */
40
+ hint?: string;
41
+ /** Input placeholder for phone number */
42
+ placeholder?: string;
43
+ /** Field state */
44
+ state?: ComponentState;
45
+ /** Available country codes */
46
+ countryCodes?: CountryCode[];
47
+ /** Default country code (ISO code, e.g., 'MX') */
48
+ defaultCountry?: string;
49
+ /** Show country selector */
50
+ showCountrySelector?: boolean;
51
+ /** Show country flag */
52
+ showFlag?: boolean;
53
+ /** Allow searching countries */
54
+ searchableCountries?: boolean;
55
+ /** Preferred countries to show at top */
56
+ preferredCountries?: string[];
57
+ /** Validate phone format */
58
+ validateFormat?: boolean;
59
+ /** Custom validation pattern */
60
+ pattern?: string;
61
+ /** Minimum digits */
62
+ minDigits?: number;
63
+ /** Maximum digits */
64
+ maxDigits?: number;
65
+ /** Component color */
66
+ color?: Color;
67
+ /** Fill style */
68
+ fill?: 'outline' | 'solid';
69
+ /** Label placement */
70
+ labelPlacement?: 'fixed' | 'floating' | 'stacked' | 'start' | 'end';
71
+ /** Custom CSS class */
72
+ cssClass?: string;
73
+ /** Content key for reactive label */
74
+ labelContentKey?: string;
75
+ /** Content key for reactive placeholder */
76
+ placeholderContentKey?: string;
77
+ /** Content key for reactive hint */
78
+ hintContentKey?: string;
79
+ /** Component class name for content lookup */
80
+ contentClass?: string;
81
+ /** Custom error messages */
82
+ errors?: Record<string, string>;
83
+ /** Show validation errors */
84
+ showErrors?: boolean;
85
+ }
86
+ /**
87
+ * Event emitted when phone input changes.
88
+ */
89
+ export interface PhoneInputChangeEvent {
90
+ /** Complete phone number with country code */
91
+ fullNumber: string;
92
+ /** Phone number without country code */
93
+ number: string;
94
+ /** Selected country */
95
+ country: CountryCode | null;
96
+ /** Whether the number is valid */
97
+ isValid: boolean;
98
+ }
@@ -0,0 +1,26 @@
1
+ import * as i0 from "@angular/core";
2
+ export interface QuoteBoxMetadata {
3
+ /** Contenido de la cita */
4
+ content: string;
5
+ /** Autor de la cita */
6
+ author?: string;
7
+ /** Fuente de la cita (libro, artículo, etc.) */
8
+ source?: string;
9
+ /** Tamaño del texto */
10
+ size?: 'small' | 'medium' | 'large' | 'xlarge';
11
+ /** Color de la cita */
12
+ color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'dark' | 'light' | 'medium';
13
+ /** Color del autor y fuente */
14
+ authorColor?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'dark' | 'light' | 'medium';
15
+ /** Alineación del contenido */
16
+ alignment?: 'left' | 'center' | 'right';
17
+ /** Mostrar comillas decorativas */
18
+ showQuoteMark?: boolean;
19
+ /** Texto en negrita */
20
+ bold?: boolean;
21
+ }
22
+ export declare class QuoteBoxComponent {
23
+ props: QuoteBoxMetadata;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<QuoteBoxComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<QuoteBoxComponent, "quote-box", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
26
+ }
@@ -0,0 +1,22 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { RaffleStatusCardMetadata } from './types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RaffleStatusCardComponent {
5
+ props: RaffleStatusCardMetadata;
6
+ primaryActionClick: EventEmitter<void>;
7
+ secondaryActionClick: EventEmitter<void>;
8
+ private langService;
9
+ get isActiveOrUpcoming(): boolean;
10
+ get progressPercentage(): number;
11
+ getStatusLabel(): string;
12
+ getStatusColor(): string;
13
+ getProgressColor(): string;
14
+ getTitle(): string;
15
+ getDescription(): string;
16
+ formatCurrency(amount: number): string;
17
+ formatDate(date: Date | string): string;
18
+ onPrimaryAction(): void;
19
+ onSecondaryAction(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaffleStatusCardComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<RaffleStatusCardComponent, "val-raffle-status-card", never, { "props": { "alias": "props"; "required": false; }; }, { "primaryActionClick": "primaryActionClick"; "secondaryActionClick": "secondaryActionClick"; }, never, never, true, never>;
22
+ }