valtech-components 2.0.687 → 2.0.689

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 (1362) hide show
  1. package/.editorconfig +16 -0
  2. package/.prettierignore +6 -0
  3. package/.prettierrc +30 -0
  4. package/.storybook/main.ts +21 -0
  5. package/.storybook/preview-body.html +60 -0
  6. package/.storybook/preview-head.html +48 -0
  7. package/.storybook/preview.ts +52 -0
  8. package/.storybook/tsconfig.json +12 -0
  9. package/I18N-COMPONENTS-MIGRATION.md +496 -0
  10. package/angular.json +60 -0
  11. package/ng-package.json +16 -0
  12. package/package.json +64 -16
  13. package/scripts/publish.sh +30 -0
  14. package/scripts/update-apps.sh +94 -0
  15. package/src/lib/components/atoms/avatar/avatar.component.scss +31 -0
  16. package/src/lib/components/atoms/avatar/avatar.component.ts +95 -0
  17. package/src/lib/components/atoms/avatar/avatar.stories.ts +243 -0
  18. package/src/lib/components/atoms/avatar/types.ts +15 -0
  19. package/src/lib/components/atoms/box/box.component.scss +57 -0
  20. package/src/lib/components/atoms/box/box.component.ts +77 -0
  21. package/src/lib/components/atoms/box/box.stories.ts +280 -0
  22. package/src/lib/components/atoms/box/types.ts +20 -0
  23. package/src/lib/components/atoms/button/button.component.scss +20 -0
  24. package/src/lib/components/atoms/button/button.component.ts +174 -0
  25. package/src/lib/components/atoms/button/button.stories.ts +293 -0
  26. package/src/lib/components/atoms/button/factory.ts +444 -0
  27. package/src/lib/components/atoms/countdown/countdown.component.scss +256 -0
  28. package/src/lib/components/atoms/countdown/countdown.component.ts +293 -0
  29. package/src/lib/components/atoms/countdown/countdown.stories.ts +316 -0
  30. package/src/lib/components/atoms/countdown/types.ts +144 -0
  31. package/src/lib/components/atoms/display/display.component.scss +17 -0
  32. package/src/lib/components/atoms/display/display.component.ts +54 -0
  33. package/src/lib/components/atoms/display/display.stories.ts +185 -0
  34. package/src/lib/components/atoms/display/types.ts +35 -0
  35. package/src/lib/components/atoms/divider/divider.component.scss +62 -0
  36. package/src/lib/components/atoms/divider/divider.component.ts +35 -0
  37. package/src/lib/components/atoms/divider/divider.stories.ts +202 -0
  38. package/src/lib/components/atoms/divider/types.ts +12 -0
  39. package/src/lib/components/atoms/fab/fab.component.scss +26 -0
  40. package/src/lib/components/atoms/fab/fab.component.ts +166 -0
  41. package/src/lib/components/atoms/fab/fab.stories.ts +360 -0
  42. package/src/lib/components/atoms/fab/types.ts +47 -0
  43. package/src/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.scss +39 -0
  44. package/src/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.ts +67 -0
  45. package/src/lib/components/atoms/horizontal-scroll/horizontal-scroll.stories.ts +351 -0
  46. package/src/lib/components/atoms/horizontal-scroll/types.ts +13 -0
  47. package/src/lib/components/atoms/href/href.component.scss +25 -0
  48. package/src/lib/components/atoms/href/href.component.ts +64 -0
  49. package/src/lib/components/atoms/href/href.stories.ts +214 -0
  50. package/src/lib/components/atoms/href/types.ts +20 -0
  51. package/src/lib/components/atoms/icon/icon.component.scss +33 -0
  52. package/src/lib/components/atoms/icon/icon.component.ts +38 -0
  53. package/src/lib/components/atoms/icon/icon.stories.ts +160 -0
  54. package/src/lib/components/atoms/icon/types.ts +14 -0
  55. package/src/lib/components/atoms/image/README.md +0 -0
  56. package/src/lib/components/atoms/image/image.component.scss +281 -0
  57. package/src/lib/components/atoms/image/image.component.ts +399 -0
  58. package/src/lib/components/atoms/image/image.stories.ts +317 -0
  59. package/src/lib/components/atoms/image/types.ts +37 -0
  60. package/src/lib/components/atoms/price-tag/price-tag.component.scss +228 -0
  61. package/src/lib/components/atoms/price-tag/price-tag.component.ts +188 -0
  62. package/src/lib/components/atoms/price-tag/price-tag.stories.ts +315 -0
  63. package/src/lib/components/atoms/price-tag/types.ts +78 -0
  64. package/src/lib/components/atoms/progress-bar/progress-bar.component.scss +22 -0
  65. package/src/lib/components/atoms/progress-bar/progress-bar.component.ts +88 -0
  66. package/src/lib/components/atoms/progress-bar/progress-bar.stories.ts +375 -0
  67. package/src/lib/components/atoms/progress-bar/types.ts +20 -0
  68. package/src/lib/components/atoms/progress-ring/progress-ring.component.scss +35 -0
  69. package/src/lib/components/atoms/progress-ring/progress-ring.component.ts +114 -0
  70. package/src/lib/components/atoms/progress-ring/progress-ring.stories.ts +323 -0
  71. package/src/lib/components/atoms/progress-ring/types.ts +25 -0
  72. package/src/lib/components/atoms/qr-code/qr-code.component.scss +353 -0
  73. package/src/lib/components/atoms/qr-code/qr-code.component.ts +313 -0
  74. package/src/lib/components/atoms/qr-code/qr-code.stories.ts +767 -0
  75. package/src/lib/components/atoms/qr-code/types.ts +173 -0
  76. package/src/lib/components/atoms/rights-footer/rights-footer.component.scss +20 -0
  77. package/src/lib/components/atoms/rights-footer/rights-footer.component.ts +98 -0
  78. package/src/lib/components/atoms/rights-footer/rights-footer.stories.ts +229 -0
  79. package/src/lib/components/atoms/rights-footer/types.ts +21 -0
  80. package/src/lib/components/atoms/skeleton/skeleton.component.scss +58 -0
  81. package/src/lib/components/atoms/skeleton/skeleton.component.ts +129 -0
  82. package/src/lib/components/atoms/skeleton/skeleton.stories.ts +242 -0
  83. package/src/lib/components/atoms/skeleton/types.ts +39 -0
  84. package/src/lib/components/atoms/text/text.component.scss +38 -0
  85. package/src/lib/components/atoms/text/text.component.ts +123 -0
  86. package/src/lib/components/atoms/text/text.stories.ts +174 -0
  87. package/src/lib/components/atoms/text/types.ts +50 -0
  88. package/src/lib/components/atoms/title/title.component.scss +33 -0
  89. package/src/lib/components/atoms/title/title.component.ts +65 -0
  90. package/src/lib/components/atoms/title/title.stories.ts +167 -0
  91. package/src/lib/components/atoms/title/types.ts +46 -0
  92. package/src/lib/components/molecules/accordion/accordion.component.scss +34 -0
  93. package/src/lib/components/molecules/accordion/accordion.component.ts +103 -0
  94. package/src/lib/components/molecules/accordion/accordion.stories.ts +236 -0
  95. package/src/lib/components/molecules/accordion/types.ts +49 -0
  96. package/src/lib/components/molecules/action-card/action-card.component.scss +226 -0
  97. package/src/lib/components/molecules/action-card/action-card.component.ts +246 -0
  98. package/src/lib/components/molecules/action-card/action-card.stories.ts +396 -0
  99. package/src/lib/components/molecules/action-card/types.ts +102 -0
  100. package/src/lib/components/molecules/action-header/action-header.component.ts +28 -0
  101. package/src/lib/components/molecules/action-header/action-header.stories.ts +481 -0
  102. package/src/lib/components/molecules/action-header/types.ts +7 -0
  103. package/src/lib/components/molecules/ad-slot/ad-slot.component.ts +352 -0
  104. package/src/lib/components/molecules/alert-box/alert-box.component.scss +10 -0
  105. package/src/lib/components/molecules/alert-box/alert-box.component.ts +125 -0
  106. package/src/lib/components/molecules/alert-box/alert-box.stories.ts +248 -0
  107. package/src/lib/components/molecules/alert-box/types.ts +39 -0
  108. package/src/lib/components/molecules/breadcrumb/breadcrumb.component.scss +34 -0
  109. package/src/lib/components/molecules/breadcrumb/breadcrumb.component.ts +109 -0
  110. package/src/lib/components/molecules/breadcrumb/breadcrumb.stories.ts +271 -0
  111. package/src/lib/components/molecules/breadcrumb/types.ts +47 -0
  112. package/src/lib/components/molecules/button-group/button-group.component.scss +41 -0
  113. package/src/lib/components/molecules/button-group/button-group.component.ts +65 -0
  114. package/src/lib/components/molecules/button-group/button-group.stories.ts +296 -0
  115. package/src/lib/components/molecules/button-group/types.ts +14 -0
  116. package/src/lib/components/molecules/card/card.component.scss +62 -0
  117. package/src/lib/components/molecules/card/card.component.ts +300 -0
  118. package/src/lib/components/molecules/card/card.stories.ts +360 -0
  119. package/src/lib/components/molecules/card/types.ts +36 -0
  120. package/src/lib/components/molecules/check-input/check-input.component.scss +0 -0
  121. package/src/lib/components/molecules/check-input/check-input.component.ts +88 -0
  122. package/src/lib/components/molecules/check-input/check-input.stories.ts +54 -0
  123. package/src/lib/components/molecules/chip-group/chip-group.component.scss +70 -0
  124. package/src/lib/components/molecules/chip-group/chip-group.component.ts +150 -0
  125. package/src/lib/components/molecules/chip-group/chip-group.stories.ts +307 -0
  126. package/src/lib/components/molecules/chip-group/types.ts +69 -0
  127. package/src/lib/components/molecules/code-display/code-display.component.scss +239 -0
  128. package/src/lib/components/molecules/code-display/code-display.component.ts +109 -0
  129. package/src/lib/components/molecules/code-display/code-display.stories.ts +402 -0
  130. package/src/lib/components/molecules/code-display/types.ts +11 -0
  131. package/src/lib/components/molecules/command-display/command-display.component.scss +38 -0
  132. package/src/lib/components/molecules/command-display/command-display.component.ts +45 -0
  133. package/src/lib/components/molecules/command-display/command-display.stories.ts +110 -0
  134. package/src/lib/components/molecules/command-display/types.ts +3 -0
  135. package/src/lib/components/molecules/comment/comment.component.scss +339 -0
  136. package/src/lib/components/molecules/comment/comment.component.ts +496 -0
  137. package/src/lib/components/molecules/comment/comment.stories.ts +384 -0
  138. package/src/lib/components/molecules/comment/types.ts +181 -0
  139. package/src/lib/components/molecules/comment-input/comment-input.component.scss +0 -0
  140. package/src/lib/components/molecules/comment-input/comment-input.component.ts +42 -0
  141. package/src/lib/components/molecules/comment-input/comment-input.stories.ts +124 -0
  142. package/src/lib/components/molecules/comment-input/types.ts +69 -0
  143. package/src/lib/components/molecules/content-loader/content-loader.component.scss +42 -0
  144. package/src/lib/components/molecules/content-loader/content-loader.component.ts +45 -0
  145. package/src/lib/components/molecules/content-loader/content-loader.stories.ts +370 -0
  146. package/src/lib/components/molecules/content-loader/types.ts +16 -0
  147. package/src/lib/components/molecules/content-reaction/content-reaction.component.html +81 -0
  148. package/src/lib/components/molecules/content-reaction/content-reaction.component.scss +157 -0
  149. package/src/lib/components/molecules/content-reaction/content-reaction.component.ts +273 -0
  150. package/src/lib/components/molecules/content-reaction/content-reaction.stories.ts +453 -0
  151. package/src/lib/components/molecules/content-reaction/types.ts +99 -0
  152. package/src/lib/components/molecules/currency-input/currency-input.component.scss +101 -0
  153. package/src/lib/components/molecules/currency-input/currency-input.component.ts +327 -0
  154. package/src/lib/components/molecules/currency-input/currency-input.stories.ts +279 -0
  155. package/src/lib/components/molecules/currency-input/types.ts +125 -0
  156. package/src/lib/components/molecules/date-input/date-input.component.scss +11 -0
  157. package/src/lib/components/molecules/date-input/date-input.component.ts +136 -0
  158. package/src/lib/components/molecules/date-input/date-input.stories.ts +205 -0
  159. package/src/lib/components/molecules/date-input/types.ts +84 -0
  160. package/src/lib/components/molecules/date-range-input/date-range-input.component.scss +119 -0
  161. package/src/lib/components/molecules/date-range-input/date-range-input.component.ts +364 -0
  162. package/src/lib/components/molecules/date-range-input/date-range-input.stories.ts +288 -0
  163. package/src/lib/components/molecules/date-range-input/types.ts +122 -0
  164. package/src/lib/components/molecules/docs-api-table/docs-api-table.component.scss +278 -0
  165. package/src/lib/components/molecules/docs-api-table/docs-api-table.component.ts +138 -0
  166. package/src/lib/components/molecules/docs-api-table/types.ts +81 -0
  167. package/src/lib/components/molecules/docs-breadcrumb/docs-breadcrumb.component.ts +161 -0
  168. package/src/lib/components/molecules/docs-breadcrumb/types.ts +21 -0
  169. package/src/lib/components/molecules/docs-callout/docs-callout.component.scss +136 -0
  170. package/src/lib/components/molecules/docs-callout/docs-callout.component.ts +55 -0
  171. package/src/lib/components/molecules/docs-code-example/docs-code-example.component.ts +535 -0
  172. package/src/lib/components/molecules/docs-code-example/types.ts +75 -0
  173. package/src/lib/components/molecules/docs-nav-links/docs-nav-links.component.ts +216 -0
  174. package/src/lib/components/molecules/docs-nav-links/types.ts +36 -0
  175. package/src/lib/components/molecules/docs-search/docs-search.component.scss +195 -0
  176. package/src/lib/components/molecules/docs-search/docs-search.component.ts +228 -0
  177. package/src/lib/components/molecules/docs-search/types.ts +30 -0
  178. package/src/lib/components/molecules/docs-section/docs-section.component.ts +99 -0
  179. package/src/lib/components/molecules/docs-section/types.ts +31 -0
  180. package/src/lib/components/molecules/email-input/email-input.component.scss +0 -0
  181. package/src/lib/components/molecules/email-input/email-input.component.ts +77 -0
  182. package/src/lib/components/molecules/email-input/email-input.stories.ts +176 -0
  183. package/src/lib/components/molecules/expandable-text/expandable-text.component.ts +111 -0
  184. package/src/lib/components/molecules/expandable-text/expandable-text.stories.ts +287 -0
  185. package/src/lib/components/molecules/expandable-text/types.ts +14 -0
  186. package/src/lib/components/molecules/features-list/features-list.component.ts +251 -0
  187. package/src/lib/components/molecules/features-list/types.ts +44 -0
  188. package/src/lib/components/molecules/feedback-form/feedback-form.component.ts +355 -0
  189. package/src/lib/components/molecules/feedback-form/types.ts +77 -0
  190. package/src/lib/components/molecules/file-input/file-input.component.scss +11 -0
  191. package/src/lib/components/molecules/file-input/file-input.component.ts +87 -0
  192. package/src/lib/components/molecules/file-input/file-input.stories.ts +107 -0
  193. package/src/lib/components/molecules/file-input/types.ts +85 -0
  194. package/src/lib/components/molecules/footer-links/footer-links.component.scss +130 -0
  195. package/src/lib/components/molecules/footer-links/footer-links.component.ts +244 -0
  196. package/src/lib/components/molecules/footer-links/footer-links.stories.ts +188 -0
  197. package/src/lib/components/molecules/footer-links/types.ts +52 -0
  198. package/src/lib/components/molecules/glow-card/glow-card.component.scss +295 -0
  199. package/src/lib/components/molecules/glow-card/glow-card.component.ts +284 -0
  200. package/src/lib/components/molecules/glow-card/glow-card.stories.ts +680 -0
  201. package/src/lib/components/molecules/glow-card/types.ts +117 -0
  202. package/src/lib/components/molecules/hint/hint.component.scss +5 -0
  203. package/src/lib/components/molecules/hint/hint.component.ts +89 -0
  204. package/src/lib/components/molecules/hint/hint.stories.ts +233 -0
  205. package/src/lib/components/molecules/hour-input/hour-input.component.scss +0 -0
  206. package/src/lib/components/molecules/hour-input/hour-input.component.ts +34 -0
  207. package/src/lib/components/molecules/hour-input/hour-input.stories.ts +145 -0
  208. package/src/lib/components/molecules/image-crop/image-crop.component.ts +195 -0
  209. package/src/lib/components/molecules/info/info.component.ts +35 -0
  210. package/src/lib/components/molecules/info/info.stories.ts +276 -0
  211. package/src/lib/components/molecules/info/types.ts +11 -0
  212. package/src/lib/components/molecules/language-selector/language-selector.component.scss +128 -0
  213. package/src/lib/components/molecules/language-selector/language-selector.component.ts +204 -0
  214. package/src/lib/components/molecules/language-selector/language-selector.stories.ts +261 -0
  215. package/src/lib/components/molecules/language-selector/types.ts +84 -0
  216. package/src/lib/components/molecules/layered-card/layered-card.component.scss +84 -0
  217. package/src/lib/components/molecules/layered-card/layered-card.component.ts +66 -0
  218. package/src/lib/components/molecules/layered-card/layered-card.stories.ts +313 -0
  219. package/src/lib/components/molecules/layered-card/types.ts +16 -0
  220. package/src/lib/components/molecules/link/link.component.scss +11 -0
  221. package/src/lib/components/molecules/link/link.component.ts +73 -0
  222. package/src/lib/components/molecules/link/link.stories.ts +307 -0
  223. package/src/lib/components/molecules/link/types.ts +20 -0
  224. package/src/lib/components/molecules/linked-providers/index.ts +2 -0
  225. package/src/lib/components/molecules/linked-providers/linked-providers.component.ts +289 -0
  226. package/src/lib/components/molecules/linked-providers/types.ts +63 -0
  227. package/src/lib/components/molecules/links-accordion/links-accordion.component.scss +17 -0
  228. package/src/lib/components/molecules/links-accordion/links-accordion.component.ts +152 -0
  229. package/src/lib/components/molecules/links-accordion/links-accordion.stories.ts +209 -0
  230. package/src/lib/components/molecules/links-accordion/types.ts +41 -0
  231. package/src/lib/components/molecules/links-cake/links-cake.component.scss +9 -0
  232. package/src/lib/components/molecules/links-cake/links-cake.component.ts +49 -0
  233. package/src/lib/components/molecules/links-cake/links-cake.stories.ts +160 -0
  234. package/src/lib/components/molecules/links-cake/types.ts +14 -0
  235. package/src/lib/components/molecules/multi-select-search/multi-select-search.component.scss +168 -0
  236. package/src/lib/components/molecules/multi-select-search/multi-select-search.component.ts +471 -0
  237. package/src/lib/components/molecules/multi-select-search/multi-select-search.stories.ts +188 -0
  238. package/src/lib/components/molecules/notes-box/notes-box.component.scss +5 -0
  239. package/src/lib/components/molecules/notes-box/notes-box.component.ts +62 -0
  240. package/src/lib/components/molecules/notes-box/notes-box.stories.ts +308 -0
  241. package/src/lib/components/molecules/notes-box/types.ts +22 -0
  242. package/src/lib/components/molecules/number-from-to/number-from-to.component.scss +10 -0
  243. package/src/lib/components/molecules/number-from-to/number-from-to.component.ts +134 -0
  244. package/src/lib/components/molecules/number-from-to/number-from-to.stories.ts +203 -0
  245. package/src/lib/components/molecules/number-from-to/types.ts +91 -0
  246. package/src/lib/components/molecules/number-input/number-input.component.scss +0 -0
  247. package/src/lib/components/molecules/number-input/number-input.component.ts +41 -0
  248. package/src/lib/components/molecules/number-input/number-input.stories.ts +151 -0
  249. package/src/lib/components/molecules/number-stepper/number-stepper.component.scss +252 -0
  250. package/src/lib/components/molecules/number-stepper/number-stepper.component.ts +302 -0
  251. package/src/lib/components/molecules/number-stepper/number-stepper.stories.ts +417 -0
  252. package/src/lib/components/molecules/number-stepper/types.ts +101 -0
  253. package/src/lib/components/molecules/pagination/pagination.component.scss +50 -0
  254. package/src/lib/components/molecules/pagination/pagination.component.ts +194 -0
  255. package/src/lib/components/molecules/pagination/pagination.stories.ts +260 -0
  256. package/src/lib/components/molecules/pagination/types.ts +43 -0
  257. package/src/lib/components/molecules/participant-card/participant-card.component.scss +371 -0
  258. package/src/lib/components/molecules/participant-card/participant-card.component.ts +402 -0
  259. package/src/lib/components/molecules/participant-card/participant-card.stories.ts +479 -0
  260. package/src/lib/components/molecules/participant-card/types.ts +170 -0
  261. package/src/lib/components/molecules/password-input/password-input.component.scss +7 -0
  262. package/src/lib/components/molecules/password-input/password-input.component.ts +93 -0
  263. package/src/lib/components/molecules/password-input/password-input.stories.ts +187 -0
  264. package/src/lib/components/molecules/phone-input/phone-input.component.scss +157 -0
  265. package/src/lib/components/molecules/phone-input/phone-input.component.ts +354 -0
  266. package/src/lib/components/molecules/phone-input/phone-input.stories.ts +229 -0
  267. package/src/lib/components/molecules/phone-input/types.ts +126 -0
  268. package/src/lib/components/molecules/pill/pill.component.scss +35 -0
  269. package/src/lib/components/molecules/pill/pill.component.ts +89 -0
  270. package/src/lib/components/molecules/pill/pill.stories.ts +219 -0
  271. package/src/lib/components/molecules/pill/types.ts +10 -0
  272. package/src/lib/components/molecules/pin-input/pin-input.component.scss +22 -0
  273. package/src/lib/components/molecules/pin-input/pin-input.component.ts +83 -0
  274. package/src/lib/components/molecules/pin-input/pin-input.stories.ts +196 -0
  275. package/src/lib/components/molecules/pin-input/types.ts +80 -0
  276. package/src/lib/components/molecules/plain-code-box/plain-code-box.component.scss +191 -0
  277. package/src/lib/components/molecules/plain-code-box/plain-code-box.component.ts +86 -0
  278. package/src/lib/components/molecules/plain-code-box/plain-code-box.stories.ts +174 -0
  279. package/src/lib/components/molecules/plain-code-box/types.ts +12 -0
  280. package/src/lib/components/molecules/popover-selector/popover-selector.component.scss +220 -0
  281. package/src/lib/components/molecules/popover-selector/popover-selector.component.ts +163 -0
  282. package/src/lib/components/molecules/popover-selector/popover-selector.stories.ts +324 -0
  283. package/src/lib/components/molecules/popover-selector/types.ts +71 -0
  284. package/src/lib/components/molecules/progress-status/progress-status.component.scss +41 -0
  285. package/src/lib/components/molecules/progress-status/progress-status.component.ts +90 -0
  286. package/src/lib/components/molecules/progress-status/progress-status.stories.ts +415 -0
  287. package/src/lib/components/molecules/progress-status/types.ts +21 -0
  288. package/src/lib/components/molecules/prompter/prompter.component.scss +45 -0
  289. package/src/lib/components/molecules/prompter/prompter.component.ts +55 -0
  290. package/src/lib/components/molecules/prompter/prompter.stories.ts +193 -0
  291. package/src/lib/components/molecules/prompter/types.ts +26 -0
  292. package/src/lib/components/molecules/quote-box/quote-box.component.scss +253 -0
  293. package/src/lib/components/molecules/quote-box/quote-box.component.ts +104 -0
  294. package/src/lib/components/molecules/quote-box/quote-box.stories.ts +264 -0
  295. package/src/lib/components/molecules/radio-input/radio-input.component.scss +0 -0
  296. package/src/lib/components/molecules/radio-input/radio-input.component.ts +51 -0
  297. package/src/lib/components/molecules/radio-input/radio-input.stories.ts +197 -0
  298. package/src/lib/components/molecules/raffle-status-card/raffle-status-card.component.scss +418 -0
  299. package/src/lib/components/molecules/raffle-status-card/raffle-status-card.component.ts +320 -0
  300. package/src/lib/components/molecules/raffle-status-card/raffle-status-card.stories.ts +509 -0
  301. package/src/lib/components/molecules/raffle-status-card/types.ts +150 -0
  302. package/src/lib/components/molecules/range-input/range-input.component.scss +15 -0
  303. package/src/lib/components/molecules/range-input/range-input.component.ts +106 -0
  304. package/src/lib/components/molecules/range-input/range-input.stories.ts +331 -0
  305. package/src/lib/components/molecules/range-input/types.ts +61 -0
  306. package/src/lib/components/molecules/rating/rating.component.scss +60 -0
  307. package/src/lib/components/molecules/rating/rating.component.ts +154 -0
  308. package/src/lib/components/molecules/rating/rating.stories.ts +332 -0
  309. package/src/lib/components/molecules/rating/types.ts +43 -0
  310. package/src/lib/components/molecules/recap-card/recap-card.component.scss +35 -0
  311. package/src/lib/components/molecules/recap-card/recap-card.component.ts +64 -0
  312. package/src/lib/components/molecules/recap-card/recap-card.stories.ts +174 -0
  313. package/src/lib/components/molecules/recap-card/types.ts +30 -0
  314. package/src/lib/components/molecules/refresher/refresher.component.ts +257 -0
  315. package/src/lib/components/molecules/refresher/types.ts +103 -0
  316. package/src/lib/components/molecules/searchbar/searchbar.component.scss +9 -0
  317. package/src/lib/components/molecules/searchbar/searchbar.component.ts +122 -0
  318. package/src/lib/components/molecules/searchbar/searchbar.stories.ts +192 -0
  319. package/src/lib/components/molecules/searchbar/types.ts +38 -0
  320. package/src/lib/components/molecules/segment-control/segment-control.component.scss +27 -0
  321. package/src/lib/components/molecules/segment-control/segment-control.component.ts +121 -0
  322. package/src/lib/components/molecules/segment-control/segment-control.stories.ts +296 -0
  323. package/src/lib/components/molecules/segment-control/types.ts +48 -0
  324. package/src/lib/components/molecules/select-input/select-input.component.scss +0 -0
  325. package/src/lib/components/molecules/select-input/select-input.component.ts +133 -0
  326. package/src/lib/components/molecules/select-input/select-input.stories.ts +330 -0
  327. package/src/lib/components/molecules/select-search/select-search.component.ts +420 -0
  328. package/src/lib/components/molecules/select-search/select-search.stories.ts +218 -0
  329. package/src/lib/components/molecules/share-buttons/share-buttons.component.scss +195 -0
  330. package/src/lib/components/molecules/share-buttons/share-buttons.component.ts +269 -0
  331. package/src/lib/components/molecules/share-buttons/share-buttons.stories.ts +343 -0
  332. package/src/lib/components/molecules/share-buttons/types.ts +211 -0
  333. package/src/lib/components/molecules/stats-card/stats-card.component.scss +198 -0
  334. package/src/lib/components/molecules/stats-card/stats-card.component.ts +157 -0
  335. package/src/lib/components/molecules/stats-card/stats-card.stories.ts +481 -0
  336. package/src/lib/components/molecules/stats-card/types.ts +63 -0
  337. package/src/lib/components/molecules/stepper/stepper.component.scss +156 -0
  338. package/src/lib/components/molecules/stepper/stepper.component.ts +201 -0
  339. package/src/lib/components/molecules/stepper/stepper.stories.ts +308 -0
  340. package/src/lib/components/molecules/stepper/types.ts +70 -0
  341. package/src/lib/components/molecules/swipe-carousel/swipe-carousel.component.scss +164 -0
  342. package/src/lib/components/molecules/swipe-carousel/swipe-carousel.component.ts +215 -0
  343. package/src/lib/components/molecules/swipe-carousel/swipe-carousel.stories.ts +406 -0
  344. package/src/lib/components/molecules/swipe-carousel/types.ts +32 -0
  345. package/src/lib/components/molecules/tabs/tabs.component.scss +35 -0
  346. package/src/lib/components/molecules/tabs/tabs.component.ts +125 -0
  347. package/src/lib/components/molecules/tabs/tabs.stories.ts +283 -0
  348. package/src/lib/components/molecules/tabs/types.ts +47 -0
  349. package/src/lib/components/molecules/testimonial-card/testimonial-card.component.scss +25 -0
  350. package/src/lib/components/molecules/testimonial-card/testimonial-card.component.ts +121 -0
  351. package/src/lib/components/molecules/testimonial-card/testimonial-card.stories.ts +130 -0
  352. package/src/lib/components/molecules/testimonial-card/types.ts +26 -0
  353. package/src/lib/components/molecules/text-input/text-input.component.scss +1 -0
  354. package/src/lib/components/molecules/text-input/text-input.component.ts +86 -0
  355. package/src/lib/components/molecules/text-input/text-input.stories.ts +301 -0
  356. package/src/lib/components/molecules/textarea-input/textarea-input.component.scss +62 -0
  357. package/src/lib/components/molecules/textarea-input/textarea-input.component.ts +195 -0
  358. package/src/lib/components/molecules/textarea-input/textarea-input.stories.ts +329 -0
  359. package/src/lib/components/molecules/textarea-input/types.ts +83 -0
  360. package/src/lib/components/molecules/ticket-grid/ticket-grid.component.scss +270 -0
  361. package/src/lib/components/molecules/ticket-grid/ticket-grid.component.ts +429 -0
  362. package/src/lib/components/molecules/ticket-grid/ticket-grid.stories.ts +436 -0
  363. package/src/lib/components/molecules/ticket-grid/types.ts +145 -0
  364. package/src/lib/components/molecules/timeline/timeline.component.scss +168 -0
  365. package/src/lib/components/molecules/timeline/timeline.component.ts +98 -0
  366. package/src/lib/components/molecules/timeline/timeline.stories.ts +259 -0
  367. package/src/lib/components/molecules/timeline/types.ts +41 -0
  368. package/src/lib/components/molecules/title-block/title-block.component.scss +48 -0
  369. package/src/lib/components/molecules/title-block/title-block.component.ts +72 -0
  370. package/src/lib/components/molecules/title-block/title-block.stories.ts +351 -0
  371. package/src/lib/components/molecules/title-block/types.ts +16 -0
  372. package/src/lib/components/molecules/toggle-input/toggle-input.component.scss +7 -0
  373. package/src/lib/components/molecules/toggle-input/toggle-input.component.ts +94 -0
  374. package/src/lib/components/molecules/toggle-input/toggle-input.stories.ts +240 -0
  375. package/src/lib/components/molecules/toggle-input/types.ts +31 -0
  376. package/src/lib/components/molecules/update-banner/index.ts +1 -0
  377. package/src/lib/components/molecules/update-banner/update-banner.component.ts +118 -0
  378. package/src/lib/components/molecules/username-input/index.ts +2 -0
  379. package/src/lib/components/molecules/username-input/types.ts +36 -0
  380. package/src/lib/components/molecules/username-input/username-input.component.ts +336 -0
  381. package/src/lib/components/molecules/winner-display/types.ts +129 -0
  382. package/src/lib/components/molecules/winner-display/winner-display.component.scss +501 -0
  383. package/src/lib/components/molecules/winner-display/winner-display.component.ts +284 -0
  384. package/src/lib/components/molecules/winner-display/winner-display.stories.ts +468 -0
  385. package/src/lib/components/organisms/article/README.md +569 -0
  386. package/src/lib/components/organisms/article/article.component.scss +433 -0
  387. package/src/lib/components/organisms/article/article.component.ts +469 -0
  388. package/src/lib/components/organisms/article/article.stories.ts +625 -0
  389. package/src/lib/components/organisms/article/types.ts +550 -0
  390. package/src/lib/components/organisms/avatar-upload/avatar-upload.component.scss +119 -0
  391. package/src/lib/components/organisms/avatar-upload/avatar-upload.component.ts +349 -0
  392. package/src/lib/components/organisms/avatar-upload/index.ts +2 -0
  393. package/src/lib/components/organisms/avatar-upload/types.ts +71 -0
  394. package/src/lib/components/organisms/banner/banner.component.scss +51 -0
  395. package/src/lib/components/organisms/banner/banner.component.ts +95 -0
  396. package/src/lib/components/organisms/banner/banner.stories.ts +462 -0
  397. package/src/lib/components/organisms/banner/types.ts +30 -0
  398. package/src/lib/components/organisms/bottom-nav/bottom-nav.component.scss +350 -0
  399. package/src/lib/components/organisms/bottom-nav/bottom-nav.component.ts +362 -0
  400. package/src/lib/components/organisms/bottom-nav/types.ts +139 -0
  401. package/src/lib/components/organisms/cards-carousel/cards-carousel.component.ts +53 -0
  402. package/src/lib/components/organisms/cards-carousel/cards-carousel.stories.ts +241 -0
  403. package/src/lib/components/organisms/cards-carousel/types.ts +12 -0
  404. package/src/lib/components/organisms/comment-section/comment-section.component.scss +269 -0
  405. package/src/lib/components/organisms/comment-section/comment-section.component.ts +429 -0
  406. package/src/lib/components/organisms/comment-section/comment-section.stories.ts +305 -0
  407. package/src/lib/components/organisms/comment-section/types.ts +169 -0
  408. package/src/lib/components/organisms/company-footer/company-footer.component.ts +73 -0
  409. package/src/lib/components/organisms/company-footer/company-footer.stories.ts +216 -0
  410. package/src/lib/components/organisms/company-footer/types.ts +16 -0
  411. package/src/lib/components/organisms/data-table/data-table.component.scss +907 -0
  412. package/src/lib/components/organisms/data-table/data-table.component.ts +821 -0
  413. package/src/lib/components/organisms/data-table/data-table.stories.ts +787 -0
  414. package/src/lib/components/organisms/data-table/types.ts +258 -0
  415. package/src/lib/components/organisms/docs-sidebar/docs-sidebar.component.scss +228 -0
  416. package/src/lib/components/organisms/docs-sidebar/docs-sidebar.component.ts +213 -0
  417. package/src/lib/components/organisms/docs-sidebar/types.ts +112 -0
  418. package/src/lib/components/organisms/docs-toc/docs-toc.component.scss +119 -0
  419. package/src/lib/components/organisms/docs-toc/docs-toc.component.ts +320 -0
  420. package/src/lib/components/organisms/docs-toc/types.ts +73 -0
  421. package/src/lib/components/organisms/footer/footer.component.scss +3 -0
  422. package/src/lib/components/organisms/footer/footer.component.ts +65 -0
  423. package/src/lib/components/organisms/footer/footer.stories.ts +278 -0
  424. package/src/lib/components/organisms/footer/types.ts +17 -0
  425. package/src/lib/components/organisms/form/factory.ts +46 -0
  426. package/src/lib/components/organisms/form/form-footer/form-footer.component.scss +0 -0
  427. package/src/lib/components/organisms/form/form-footer/form-footer.component.ts +72 -0
  428. package/src/lib/components/organisms/form/form.component.scss +24 -0
  429. package/src/lib/components/organisms/form/form.component.ts +367 -0
  430. package/src/lib/components/organisms/form/form.stories.ts +505 -0
  431. package/src/lib/components/organisms/fun-header/fun-header.component.scss +36 -0
  432. package/src/lib/components/organisms/fun-header/fun-header.component.ts +209 -0
  433. package/src/lib/components/organisms/fun-header/fun-header.stories.ts +272 -0
  434. package/src/lib/components/organisms/fun-header/types.ts +29 -0
  435. package/src/lib/components/organisms/header/header.component.scss +5 -0
  436. package/src/lib/components/organisms/header/header.component.ts +53 -0
  437. package/src/lib/components/organisms/header/header.stories.ts +293 -0
  438. package/src/lib/components/organisms/header/types.ts +17 -0
  439. package/src/lib/components/organisms/infinite-list/infinite-list.component.ts +602 -0
  440. package/src/lib/components/organisms/infinite-list/types.ts +235 -0
  441. package/src/lib/components/organisms/item-list/item-list.component.scss +53 -0
  442. package/src/lib/components/organisms/item-list/item-list.component.ts +269 -0
  443. package/src/lib/components/organisms/item-list/item-list.stories.ts +363 -0
  444. package/src/lib/components/organisms/item-list/types.ts +130 -0
  445. package/src/lib/components/organisms/login/login.component.html +244 -0
  446. package/src/lib/components/organisms/login/login.component.scss +118 -0
  447. package/src/lib/components/organisms/login/login.component.ts +866 -0
  448. package/src/lib/components/organisms/login/types.ts +89 -0
  449. package/src/lib/components/organisms/menu/menu.component.scss +23 -0
  450. package/src/lib/components/organisms/menu/menu.component.ts +152 -0
  451. package/src/lib/components/organisms/menu/menu.stories.ts +223 -0
  452. package/src/lib/components/organisms/menu/types.ts +24 -0
  453. package/src/lib/components/organisms/no-content/no-content.component.scss +11 -0
  454. package/src/lib/components/organisms/no-content/no-content.component.ts +68 -0
  455. package/src/lib/components/organisms/no-content/no-content.stories.ts +259 -0
  456. package/src/lib/components/organisms/no-content/types.ts +18 -0
  457. package/src/lib/components/organisms/rotating-text/rotating-text.component.ts +239 -0
  458. package/src/lib/components/organisms/rotating-text/types.ts +29 -0
  459. package/src/lib/components/organisms/tabbed-content/tabbed-content.component.scss +89 -0
  460. package/src/lib/components/organisms/tabbed-content/tabbed-content.component.ts +165 -0
  461. package/src/lib/components/organisms/tabbed-content/tabbed-content.stories.ts +326 -0
  462. package/src/lib/components/organisms/tabbed-content/types.ts +56 -0
  463. package/src/lib/components/organisms/terminal-404/terminal-404.component.ts +339 -0
  464. package/src/lib/components/organisms/terminal-404/types.ts +22 -0
  465. package/src/lib/components/organisms/testimonial-carousel/testimonial-carousel.component.ts +70 -0
  466. package/src/lib/components/organisms/testimonial-carousel/testimonial-carousel.stories.ts +173 -0
  467. package/src/lib/components/organisms/testimonial-carousel/types.ts +9 -0
  468. package/src/lib/components/organisms/toolbar/toolbar.component.scss +13 -0
  469. package/src/lib/components/organisms/toolbar/toolbar.component.ts +195 -0
  470. package/src/lib/components/organisms/toolbar/toolbar.stories.ts +263 -0
  471. package/src/lib/components/organisms/toolbar/types.ts +32 -0
  472. package/src/lib/components/organisms/wizard/types.ts +46 -0
  473. package/src/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.scss +0 -0
  474. package/src/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.ts +104 -0
  475. package/src/lib/components/organisms/wizard/wizard.component.scss +16 -0
  476. package/src/lib/components/organisms/wizard/wizard.component.ts +165 -0
  477. package/src/lib/components/organisms/wizard/wizard.stories.ts +653 -0
  478. package/src/lib/components/templates/auth-background/auth-background.component.ts +258 -0
  479. package/src/lib/components/templates/auth-background/types.ts +34 -0
  480. package/src/lib/components/templates/docs-layout/docs-layout.component.scss +218 -0
  481. package/src/lib/components/templates/docs-layout/docs-layout.component.ts +161 -0
  482. package/src/lib/components/templates/docs-layout/types.ts +45 -0
  483. package/src/lib/components/templates/docs-page/docs-page.component.ts +534 -0
  484. package/src/lib/components/templates/docs-page/types.ts +141 -0
  485. package/src/lib/components/templates/docs-shell/docs-shell.component.ts +494 -0
  486. package/src/lib/components/templates/docs-shell/types.ts +176 -0
  487. package/src/lib/components/templates/layout/layout.component.scss +25 -0
  488. package/src/lib/components/templates/layout/layout.component.ts +14 -0
  489. package/src/lib/components/templates/maintenance-page/index.ts +2 -0
  490. package/src/lib/components/templates/maintenance-page/maintenance-page.component.scss +44 -0
  491. package/src/lib/components/templates/maintenance-page/maintenance-page.component.ts +120 -0
  492. package/src/lib/components/templates/maintenance-page/types.ts +12 -0
  493. package/src/lib/components/templates/page-content/page-content.component.ts +188 -0
  494. package/src/lib/components/templates/page-content/page-content.stories.ts +169 -0
  495. package/src/lib/components/templates/page-content/types.ts +28 -0
  496. package/src/lib/components/templates/page-template/page-template.component.ts +164 -0
  497. package/src/lib/components/templates/page-template/page-template.stories.ts +174 -0
  498. package/src/lib/components/templates/page-template/types.ts +17 -0
  499. package/src/lib/components/templates/page-wrapper/page-wrapper.component.ts +183 -0
  500. package/src/lib/components/templates/page-wrapper/page-wrapper.stories.ts +149 -0
  501. package/src/lib/components/templates/page-wrapper/types.ts +20 -0
  502. package/src/lib/components/templates/simple/simple.component.ts +92 -0
  503. package/src/lib/components/templates/simple/types.ts +11 -0
  504. package/src/lib/components/types.ts +311 -0
  505. package/src/lib/config/company-footer.config.ts +137 -0
  506. package/src/lib/services/ads/ads-consent.service.ts +166 -0
  507. package/src/lib/services/ads/ads-loader.service.ts +133 -0
  508. package/src/lib/services/ads/ads.service.ts +268 -0
  509. package/src/lib/services/ads/config.ts +92 -0
  510. package/src/lib/services/ads/index.ts +29 -0
  511. package/src/lib/services/ads/types.ts +187 -0
  512. package/src/lib/services/app-config/app-config.service.ts +228 -0
  513. package/src/lib/services/app-config/config.ts +62 -0
  514. package/src/lib/services/app-config/index.ts +48 -0
  515. package/src/lib/services/app-config/types.ts +62 -0
  516. package/src/lib/services/app-config/version.ts +104 -0
  517. package/src/lib/services/auth/auth-state.service.ts +225 -0
  518. package/src/lib/services/auth/auth.service.ts +1306 -0
  519. package/src/lib/services/auth/config.ts +93 -0
  520. package/src/lib/services/auth/device.service.ts +163 -0
  521. package/src/lib/services/auth/guards.ts +234 -0
  522. package/src/lib/services/auth/index.ts +111 -0
  523. package/src/lib/services/auth/interceptor.ts +177 -0
  524. package/src/lib/services/auth/oauth-callback.component.ts +202 -0
  525. package/src/lib/services/auth/oauth.service.ts +352 -0
  526. package/src/lib/services/auth/session.service.ts +83 -0
  527. package/src/lib/services/auth/storage.service.ts +181 -0
  528. package/src/lib/services/auth/sync.service.ts +158 -0
  529. package/src/lib/services/auth/token.service.ts +132 -0
  530. package/src/lib/services/auth/types.ts +1023 -0
  531. package/src/lib/services/confirmation-dialog/confirmation-dialog.service.ts +199 -0
  532. package/src/lib/services/confirmation-dialog/types.ts +74 -0
  533. package/src/lib/services/content/content-types/blog.ts +324 -0
  534. package/src/lib/services/content/content-types/documentation.ts +369 -0
  535. package/src/lib/services/content/content-types/news.ts +328 -0
  536. package/src/lib/services/content/index.ts +71 -0
  537. package/src/lib/services/content/transformer.ts +312 -0
  538. package/src/lib/services/content/types.ts +276 -0
  539. package/src/lib/services/docs/docs-navigation.service.ts +91 -0
  540. package/src/lib/services/download.service.ts +75 -0
  541. package/src/lib/services/feedback/config.ts +61 -0
  542. package/src/lib/services/feedback/feedback.service.ts +348 -0
  543. package/src/lib/services/feedback/index.ts +59 -0
  544. package/src/lib/services/feedback/types.ts +239 -0
  545. package/src/lib/services/firebase/README.md +328 -0
  546. package/src/lib/services/firebase/analytics-error-handler.ts +155 -0
  547. package/src/lib/services/firebase/analytics-router-tracker.ts +109 -0
  548. package/src/lib/services/firebase/analytics-types.ts +277 -0
  549. package/src/lib/services/firebase/analytics.service.ts +707 -0
  550. package/src/lib/services/firebase/config.ts +172 -0
  551. package/src/lib/services/firebase/firebase.service.ts +502 -0
  552. package/src/lib/services/firebase/firestore-collection.ts +336 -0
  553. package/src/lib/services/firebase/firestore.service.ts +649 -0
  554. package/src/lib/services/firebase/index.ts +88 -0
  555. package/src/lib/services/firebase/messaging.service.ts +672 -0
  556. package/src/lib/services/firebase/notifications.service.ts +253 -0
  557. package/src/lib/services/firebase/shared-config.ts +167 -0
  558. package/src/lib/services/firebase/storage.service.ts +519 -0
  559. package/src/lib/services/firebase/types.ts +461 -0
  560. package/src/lib/services/firebase/utils/path-builder.ts +210 -0
  561. package/src/lib/services/firebase/utils/query-builder.ts +339 -0
  562. package/src/lib/services/i18n/config.ts +129 -0
  563. package/src/lib/services/i18n/default-content.ts +640 -0
  564. package/src/lib/services/i18n/i18n.service.ts +223 -0
  565. package/src/lib/services/i18n/index.ts +29 -0
  566. package/src/lib/services/i18n/input-i18n.helper.ts +141 -0
  567. package/src/lib/services/i18n/translate.pipe.ts +43 -0
  568. package/src/lib/services/i18n/types.ts +108 -0
  569. package/src/lib/services/icons.service.ts +122 -0
  570. package/src/lib/services/image/image.service.ts +328 -0
  571. package/src/lib/services/image/types.ts +79 -0
  572. package/src/lib/services/in-app-browser.service.ts +30 -0
  573. package/src/lib/services/link-processor.service.ts +311 -0
  574. package/src/lib/services/local-storage.service.ts +39 -0
  575. package/src/lib/services/locale.service.ts +86 -0
  576. package/src/lib/services/meta/meta.service.ts +64 -0
  577. package/src/lib/services/meta/types.ts +13 -0
  578. package/src/lib/services/modal/modal.service.ts +244 -0
  579. package/src/lib/services/modal/simple-modal-content.component.ts +138 -0
  580. package/src/lib/services/modal/types.ts +180 -0
  581. package/src/lib/services/navigation/navigation.service.ts +255 -0
  582. package/src/lib/services/navigation/types.ts +86 -0
  583. package/src/lib/services/pagination/index.ts +13 -0
  584. package/src/lib/services/pagination/pagination.service.ts +243 -0
  585. package/src/lib/services/pagination/types.ts +133 -0
  586. package/src/lib/services/presets/config.ts +51 -0
  587. package/src/lib/services/presets/index.ts +8 -0
  588. package/src/lib/services/presets/preset.service.ts +105 -0
  589. package/src/lib/services/presets/types.ts +41 -0
  590. package/src/lib/services/qr-generator/qr-generator.service.ts +378 -0
  591. package/src/lib/services/qr-generator/types.ts +207 -0
  592. package/src/lib/services/skeleton/config.ts +82 -0
  593. package/src/lib/services/skeleton/directives/index.ts +1 -0
  594. package/src/lib/services/skeleton/directives/loading.directive.ts +230 -0
  595. package/src/lib/services/skeleton/index.ts +30 -0
  596. package/src/lib/services/skeleton/skeleton.service.ts +220 -0
  597. package/src/lib/services/skeleton/templates/detail-skeleton.component.ts +166 -0
  598. package/src/lib/services/skeleton/templates/form-skeleton.component.ts +115 -0
  599. package/src/lib/services/skeleton/templates/grid-skeleton.component.ts +127 -0
  600. package/src/lib/services/skeleton/templates/index.ts +6 -0
  601. package/src/lib/services/skeleton/templates/list-skeleton.component.ts +90 -0
  602. package/src/lib/services/skeleton/templates/profile-skeleton.component.ts +174 -0
  603. package/src/lib/services/skeleton/templates/table-skeleton.component.ts +113 -0
  604. package/src/lib/services/skeleton/types.ts +142 -0
  605. package/src/lib/services/theme.service.ts +154 -0
  606. package/src/lib/services/toast.service.ts +42 -0
  607. package/src/lib/services/types.ts +6 -0
  608. package/src/lib/shared/constants/storage.ts +2 -0
  609. package/src/lib/shared/pipes/process-links.pipe.ts +64 -0
  610. package/src/lib/shared/utils/dom.ts +29 -0
  611. package/src/lib/shared/utils/form-defaults.ts +119 -0
  612. package/src/lib/shared/utils/styles.ts +39 -0
  613. package/src/lib/shared/utils/text.ts +12 -0
  614. package/src/lib/version.ts +5 -0
  615. package/src/public-api.ts +352 -0
  616. package/src/stories/Introduction.mdx +649 -0
  617. package/src/stories/helpers/mock-services.ts +27 -0
  618. package/src/stories/helpers/storybook-helpers.ts +89 -0
  619. package/tsconfig.json +32 -0
  620. package/tsconfig.lib.json +15 -0
  621. package/tsconfig.lib.prod.json +10 -0
  622. package/tsconfig.spec.json +14 -0
  623. package/esm2022/lib/components/atoms/avatar/avatar.component.mjs +0 -94
  624. package/esm2022/lib/components/atoms/avatar/types.mjs +0 -2
  625. package/esm2022/lib/components/atoms/box/box.component.mjs +0 -88
  626. package/esm2022/lib/components/atoms/box/types.mjs +0 -2
  627. package/esm2022/lib/components/atoms/button/button.component.mjs +0 -174
  628. package/esm2022/lib/components/atoms/button/factory.mjs +0 -217
  629. package/esm2022/lib/components/atoms/countdown/countdown.component.mjs +0 -340
  630. package/esm2022/lib/components/atoms/countdown/types.mjs +0 -27
  631. package/esm2022/lib/components/atoms/display/display.component.mjs +0 -51
  632. package/esm2022/lib/components/atoms/display/types.mjs +0 -2
  633. package/esm2022/lib/components/atoms/divider/divider.component.mjs +0 -27
  634. package/esm2022/lib/components/atoms/divider/types.mjs +0 -2
  635. package/esm2022/lib/components/atoms/fab/fab.component.mjs +0 -190
  636. package/esm2022/lib/components/atoms/fab/types.mjs +0 -2
  637. package/esm2022/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.mjs +0 -82
  638. package/esm2022/lib/components/atoms/horizontal-scroll/types.mjs +0 -2
  639. package/esm2022/lib/components/atoms/href/href.component.mjs +0 -62
  640. package/esm2022/lib/components/atoms/href/types.mjs +0 -2
  641. package/esm2022/lib/components/atoms/icon/icon.component.mjs +0 -29
  642. package/esm2022/lib/components/atoms/icon/types.mjs +0 -2
  643. package/esm2022/lib/components/atoms/image/image.component.mjs +0 -507
  644. package/esm2022/lib/components/atoms/image/types.mjs +0 -2
  645. package/esm2022/lib/components/atoms/price-tag/price-tag.component.mjs +0 -235
  646. package/esm2022/lib/components/atoms/price-tag/types.mjs +0 -15
  647. package/esm2022/lib/components/atoms/progress-bar/progress-bar.component.mjs +0 -91
  648. package/esm2022/lib/components/atoms/progress-bar/types.mjs +0 -2
  649. package/esm2022/lib/components/atoms/progress-ring/progress-ring.component.mjs +0 -149
  650. package/esm2022/lib/components/atoms/progress-ring/types.mjs +0 -2
  651. package/esm2022/lib/components/atoms/qr-code/qr-code.component.mjs +0 -394
  652. package/esm2022/lib/components/atoms/qr-code/types.mjs +0 -2
  653. package/esm2022/lib/components/atoms/rights-footer/rights-footer.component.mjs +0 -108
  654. package/esm2022/lib/components/atoms/rights-footer/types.mjs +0 -2
  655. package/esm2022/lib/components/atoms/skeleton/skeleton.component.mjs +0 -193
  656. package/esm2022/lib/components/atoms/skeleton/types.mjs +0 -13
  657. package/esm2022/lib/components/atoms/text/text.component.mjs +0 -132
  658. package/esm2022/lib/components/atoms/text/types.mjs +0 -2
  659. package/esm2022/lib/components/atoms/title/title.component.mjs +0 -68
  660. package/esm2022/lib/components/atoms/title/types.mjs +0 -22
  661. package/esm2022/lib/components/molecules/accordion/accordion.component.mjs +0 -120
  662. package/esm2022/lib/components/molecules/accordion/types.mjs +0 -2
  663. package/esm2022/lib/components/molecules/action-card/action-card.component.mjs +0 -298
  664. package/esm2022/lib/components/molecules/action-card/types.mjs +0 -11
  665. package/esm2022/lib/components/molecules/action-header/action-header.component.mjs +0 -26
  666. package/esm2022/lib/components/molecules/action-header/types.mjs +0 -2
  667. package/esm2022/lib/components/molecules/ad-slot/ad-slot.component.mjs +0 -274
  668. package/esm2022/lib/components/molecules/alert-box/alert-box.component.mjs +0 -119
  669. package/esm2022/lib/components/molecules/alert-box/types.mjs +0 -2
  670. package/esm2022/lib/components/molecules/breadcrumb/breadcrumb.component.mjs +0 -130
  671. package/esm2022/lib/components/molecules/breadcrumb/types.mjs +0 -2
  672. package/esm2022/lib/components/molecules/button-group/button-group.component.mjs +0 -63
  673. package/esm2022/lib/components/molecules/button-group/types.mjs +0 -2
  674. package/esm2022/lib/components/molecules/card/card.component.mjs +0 -450
  675. package/esm2022/lib/components/molecules/card/types.mjs +0 -16
  676. package/esm2022/lib/components/molecules/check-input/check-input.component.mjs +0 -82
  677. package/esm2022/lib/components/molecules/chip-group/chip-group.component.mjs +0 -166
  678. package/esm2022/lib/components/molecules/chip-group/types.mjs +0 -2
  679. package/esm2022/lib/components/molecules/code-display/code-display.component.mjs +0 -115
  680. package/esm2022/lib/components/molecules/code-display/types.mjs +0 -2
  681. package/esm2022/lib/components/molecules/command-display/command-display.component.mjs +0 -49
  682. package/esm2022/lib/components/molecules/command-display/types.mjs +0 -2
  683. package/esm2022/lib/components/molecules/comment/comment.component.mjs +0 -618
  684. package/esm2022/lib/components/molecules/comment/types.mjs +0 -2
  685. package/esm2022/lib/components/molecules/comment-input/comment-input.component.mjs +0 -41
  686. package/esm2022/lib/components/molecules/comment-input/types.mjs +0 -2
  687. package/esm2022/lib/components/molecules/content-loader/content-loader.component.mjs +0 -42
  688. package/esm2022/lib/components/molecules/content-loader/types.mjs +0 -2
  689. package/esm2022/lib/components/molecules/content-reaction/content-reaction.component.mjs +0 -218
  690. package/esm2022/lib/components/molecules/content-reaction/types.mjs +0 -2
  691. package/esm2022/lib/components/molecules/currency-input/currency-input.component.mjs +0 -347
  692. package/esm2022/lib/components/molecules/currency-input/types.mjs +0 -18
  693. package/esm2022/lib/components/molecules/date-input/date-input.component.mjs +0 -148
  694. package/esm2022/lib/components/molecules/date-input/types.mjs +0 -2
  695. package/esm2022/lib/components/molecules/date-range-input/date-range-input.component.mjs +0 -416
  696. package/esm2022/lib/components/molecules/date-range-input/types.mjs +0 -2
  697. package/esm2022/lib/components/molecules/docs-api-table/docs-api-table.component.mjs +0 -222
  698. package/esm2022/lib/components/molecules/docs-api-table/types.mjs +0 -11
  699. package/esm2022/lib/components/molecules/docs-breadcrumb/docs-breadcrumb.component.mjs +0 -144
  700. package/esm2022/lib/components/molecules/docs-breadcrumb/types.mjs +0 -2
  701. package/esm2022/lib/components/molecules/docs-callout/docs-callout.component.mjs +0 -60
  702. package/esm2022/lib/components/molecules/docs-code-example/docs-code-example.component.mjs +0 -255
  703. package/esm2022/lib/components/molecules/docs-code-example/types.mjs +0 -2
  704. package/esm2022/lib/components/molecules/docs-nav-links/docs-nav-links.component.mjs +0 -140
  705. package/esm2022/lib/components/molecules/docs-nav-links/types.mjs +0 -2
  706. package/esm2022/lib/components/molecules/docs-search/docs-search.component.mjs +0 -268
  707. package/esm2022/lib/components/molecules/docs-search/types.mjs +0 -2
  708. package/esm2022/lib/components/molecules/docs-section/docs-section.component.mjs +0 -85
  709. package/esm2022/lib/components/molecules/docs-section/types.mjs +0 -2
  710. package/esm2022/lib/components/molecules/email-input/email-input.component.mjs +0 -68
  711. package/esm2022/lib/components/molecules/expandable-text/expandable-text.component.mjs +0 -77
  712. package/esm2022/lib/components/molecules/expandable-text/types.mjs +0 -2
  713. package/esm2022/lib/components/molecules/features-list/features-list.component.mjs +0 -185
  714. package/esm2022/lib/components/molecules/features-list/types.mjs +0 -11
  715. package/esm2022/lib/components/molecules/feedback-form/feedback-form.component.mjs +0 -354
  716. package/esm2022/lib/components/molecules/feedback-form/types.mjs +0 -2
  717. package/esm2022/lib/components/molecules/file-input/file-input.component.mjs +0 -90
  718. package/esm2022/lib/components/molecules/file-input/types.mjs +0 -2
  719. package/esm2022/lib/components/molecules/footer-links/footer-links.component.mjs +0 -391
  720. package/esm2022/lib/components/molecules/footer-links/types.mjs +0 -2
  721. package/esm2022/lib/components/molecules/glow-card/glow-card.component.mjs +0 -314
  722. package/esm2022/lib/components/molecules/glow-card/types.mjs +0 -11
  723. package/esm2022/lib/components/molecules/hint/hint.component.mjs +0 -90
  724. package/esm2022/lib/components/molecules/hour-input/hour-input.component.mjs +0 -28
  725. package/esm2022/lib/components/molecules/image-crop/image-crop.component.mjs +0 -174
  726. package/esm2022/lib/components/molecules/image-crop/index.mjs +0 -2
  727. package/esm2022/lib/components/molecules/info/info.component.mjs +0 -49
  728. package/esm2022/lib/components/molecules/info/types.mjs +0 -2
  729. package/esm2022/lib/components/molecules/language-selector/language-selector.component.mjs +0 -221
  730. package/esm2022/lib/components/molecules/language-selector/types.mjs +0 -2
  731. package/esm2022/lib/components/molecules/layered-card/layered-card.component.mjs +0 -104
  732. package/esm2022/lib/components/molecules/layered-card/types.mjs +0 -2
  733. package/esm2022/lib/components/molecules/link/link.component.mjs +0 -64
  734. package/esm2022/lib/components/molecules/link/types.mjs +0 -2
  735. package/esm2022/lib/components/molecules/linked-providers/linked-providers.component.mjs +0 -236
  736. package/esm2022/lib/components/molecules/linked-providers/types.mjs +0 -27
  737. package/esm2022/lib/components/molecules/links-accordion/links-accordion.component.mjs +0 -185
  738. package/esm2022/lib/components/molecules/links-accordion/types.mjs +0 -2
  739. package/esm2022/lib/components/molecules/links-cake/links-cake.component.mjs +0 -51
  740. package/esm2022/lib/components/molecules/links-cake/types.mjs +0 -2
  741. package/esm2022/lib/components/molecules/multi-select-search/multi-select-search.component.mjs +0 -488
  742. package/esm2022/lib/components/molecules/notes-box/notes-box.component.mjs +0 -69
  743. package/esm2022/lib/components/molecules/notes-box/types.mjs +0 -2
  744. package/esm2022/lib/components/molecules/number-from-to/number-from-to.component.mjs +0 -143
  745. package/esm2022/lib/components/molecules/number-from-to/types.mjs +0 -2
  746. package/esm2022/lib/components/molecules/number-input/number-input.component.mjs +0 -34
  747. package/esm2022/lib/components/molecules/number-stepper/number-stepper.component.mjs +0 -379
  748. package/esm2022/lib/components/molecules/number-stepper/types.mjs +0 -2
  749. package/esm2022/lib/components/molecules/pagination/pagination.component.mjs +0 -253
  750. package/esm2022/lib/components/molecules/pagination/types.mjs +0 -2
  751. package/esm2022/lib/components/molecules/participant-card/participant-card.component.mjs +0 -514
  752. package/esm2022/lib/components/molecules/participant-card/types.mjs +0 -21
  753. package/esm2022/lib/components/molecules/password-input/password-input.component.mjs +0 -93
  754. package/esm2022/lib/components/molecules/phone-input/phone-input.component.mjs +0 -365
  755. package/esm2022/lib/components/molecules/phone-input/types.mjs +0 -19
  756. package/esm2022/lib/components/molecules/pill/pill.component.mjs +0 -92
  757. package/esm2022/lib/components/molecules/pill/types.mjs +0 -2
  758. package/esm2022/lib/components/molecules/pin-input/pin-input.component.mjs +0 -78
  759. package/esm2022/lib/components/molecules/pin-input/types.mjs +0 -2
  760. package/esm2022/lib/components/molecules/plain-code-box/plain-code-box.component.mjs +0 -82
  761. package/esm2022/lib/components/molecules/plain-code-box/types.mjs +0 -2
  762. package/esm2022/lib/components/molecules/popover-selector/popover-selector.component.mjs +0 -188
  763. package/esm2022/lib/components/molecules/popover-selector/types.mjs +0 -2
  764. package/esm2022/lib/components/molecules/progress-status/progress-status.component.mjs +0 -105
  765. package/esm2022/lib/components/molecules/progress-status/types.mjs +0 -2
  766. package/esm2022/lib/components/molecules/prompter/prompter.component.mjs +0 -85
  767. package/esm2022/lib/components/molecules/prompter/types.mjs +0 -2
  768. package/esm2022/lib/components/molecules/quote-box/quote-box.component.mjs +0 -155
  769. package/esm2022/lib/components/molecules/radio-input/radio-input.component.mjs +0 -52
  770. package/esm2022/lib/components/molecules/raffle-status-card/raffle-status-card.component.mjs +0 -476
  771. package/esm2022/lib/components/molecules/raffle-status-card/types.mjs +0 -23
  772. package/esm2022/lib/components/molecules/range-input/range-input.component.mjs +0 -127
  773. package/esm2022/lib/components/molecules/range-input/types.mjs +0 -2
  774. package/esm2022/lib/components/molecules/rating/rating.component.mjs +0 -166
  775. package/esm2022/lib/components/molecules/rating/types.mjs +0 -2
  776. package/esm2022/lib/components/molecules/recap-card/recap-card.component.mjs +0 -78
  777. package/esm2022/lib/components/molecules/recap-card/types.mjs +0 -2
  778. package/esm2022/lib/components/molecules/refresher/refresher.component.mjs +0 -269
  779. package/esm2022/lib/components/molecules/refresher/types.mjs +0 -15
  780. package/esm2022/lib/components/molecules/searchbar/searchbar.component.mjs +0 -127
  781. package/esm2022/lib/components/molecules/searchbar/types.mjs +0 -2
  782. package/esm2022/lib/components/molecules/segment-control/segment-control.component.mjs +0 -137
  783. package/esm2022/lib/components/molecules/segment-control/types.mjs +0 -2
  784. package/esm2022/lib/components/molecules/select-input/select-input.component.mjs +0 -130
  785. package/esm2022/lib/components/molecules/select-search/select-search.component.mjs +0 -420
  786. package/esm2022/lib/components/molecules/share-buttons/share-buttons.component.mjs +0 -274
  787. package/esm2022/lib/components/molecules/share-buttons/types.mjs +0 -88
  788. package/esm2022/lib/components/molecules/stats-card/stats-card.component.mjs +0 -213
  789. package/esm2022/lib/components/molecules/stats-card/types.mjs +0 -2
  790. package/esm2022/lib/components/molecules/stepper/stepper.component.mjs +0 -242
  791. package/esm2022/lib/components/molecules/stepper/types.mjs +0 -2
  792. package/esm2022/lib/components/molecules/swipe-carousel/swipe-carousel.component.mjs +0 -206
  793. package/esm2022/lib/components/molecules/swipe-carousel/types.mjs +0 -2
  794. package/esm2022/lib/components/molecules/tabs/tabs.component.mjs +0 -139
  795. package/esm2022/lib/components/molecules/tabs/types.mjs +0 -2
  796. package/esm2022/lib/components/molecules/testimonial-card/testimonial-card.component.mjs +0 -138
  797. package/esm2022/lib/components/molecules/testimonial-card/types.mjs +0 -2
  798. package/esm2022/lib/components/molecules/text-input/text-input.component.mjs +0 -77
  799. package/esm2022/lib/components/molecules/textarea-input/textarea-input.component.mjs +0 -213
  800. package/esm2022/lib/components/molecules/textarea-input/types.mjs +0 -2
  801. package/esm2022/lib/components/molecules/ticket-grid/ticket-grid.component.mjs +0 -489
  802. package/esm2022/lib/components/molecules/ticket-grid/types.mjs +0 -11
  803. package/esm2022/lib/components/molecules/timeline/timeline.component.mjs +0 -140
  804. package/esm2022/lib/components/molecules/timeline/types.mjs +0 -2
  805. package/esm2022/lib/components/molecules/title-block/title-block.component.mjs +0 -102
  806. package/esm2022/lib/components/molecules/title-block/types.mjs +0 -2
  807. package/esm2022/lib/components/molecules/toggle-input/toggle-input.component.mjs +0 -93
  808. package/esm2022/lib/components/molecules/toggle-input/types.mjs +0 -2
  809. package/esm2022/lib/components/molecules/update-banner/update-banner.component.mjs +0 -112
  810. package/esm2022/lib/components/molecules/username-input/types.mjs +0 -2
  811. package/esm2022/lib/components/molecules/username-input/username-input.component.mjs +0 -260
  812. package/esm2022/lib/components/molecules/winner-display/types.mjs +0 -9
  813. package/esm2022/lib/components/molecules/winner-display/winner-display.component.mjs +0 -359
  814. package/esm2022/lib/components/organisms/article/article.component.mjs +0 -573
  815. package/esm2022/lib/components/organisms/article/types.mjs +0 -183
  816. package/esm2022/lib/components/organisms/avatar-upload/avatar-upload.component.mjs +0 -372
  817. package/esm2022/lib/components/organisms/avatar-upload/types.mjs +0 -15
  818. package/esm2022/lib/components/organisms/banner/banner.component.mjs +0 -111
  819. package/esm2022/lib/components/organisms/banner/types.mjs +0 -2
  820. package/esm2022/lib/components/organisms/bottom-nav/bottom-nav.component.mjs +0 -368
  821. package/esm2022/lib/components/organisms/bottom-nav/types.mjs +0 -18
  822. package/esm2022/lib/components/organisms/cards-carousel/cards-carousel.component.mjs +0 -61
  823. package/esm2022/lib/components/organisms/cards-carousel/types.mjs +0 -2
  824. package/esm2022/lib/components/organisms/comment-section/comment-section.component.mjs +0 -537
  825. package/esm2022/lib/components/organisms/comment-section/types.mjs +0 -2
  826. package/esm2022/lib/components/organisms/company-footer/company-footer.component.mjs +0 -76
  827. package/esm2022/lib/components/organisms/company-footer/types.mjs +0 -2
  828. package/esm2022/lib/components/organisms/data-table/data-table.component.mjs +0 -1081
  829. package/esm2022/lib/components/organisms/data-table/types.mjs +0 -13
  830. package/esm2022/lib/components/organisms/docs-sidebar/docs-sidebar.component.mjs +0 -290
  831. package/esm2022/lib/components/organisms/docs-sidebar/types.mjs +0 -2
  832. package/esm2022/lib/components/organisms/docs-toc/docs-toc.component.mjs +0 -307
  833. package/esm2022/lib/components/organisms/docs-toc/types.mjs +0 -2
  834. package/esm2022/lib/components/organisms/footer/footer.component.mjs +0 -73
  835. package/esm2022/lib/components/organisms/footer/types.mjs +0 -2
  836. package/esm2022/lib/components/organisms/form/factory.mjs +0 -29
  837. package/esm2022/lib/components/organisms/form/form-footer/form-footer.component.mjs +0 -83
  838. package/esm2022/lib/components/organisms/form/form.component.mjs +0 -417
  839. package/esm2022/lib/components/organisms/fun-header/fun-header.component.mjs +0 -225
  840. package/esm2022/lib/components/organisms/fun-header/types.mjs +0 -2
  841. package/esm2022/lib/components/organisms/header/header.component.mjs +0 -51
  842. package/esm2022/lib/components/organisms/header/types.mjs +0 -2
  843. package/esm2022/lib/components/organisms/infinite-list/infinite-list.component.mjs +0 -620
  844. package/esm2022/lib/components/organisms/infinite-list/types.mjs +0 -15
  845. package/esm2022/lib/components/organisms/item-list/item-list.component.mjs +0 -418
  846. package/esm2022/lib/components/organisms/item-list/types.mjs +0 -2
  847. package/esm2022/lib/components/organisms/login/login.component.mjs +0 -741
  848. package/esm2022/lib/components/organisms/login/types.mjs +0 -11
  849. package/esm2022/lib/components/organisms/menu/menu.component.mjs +0 -206
  850. package/esm2022/lib/components/organisms/menu/types.mjs +0 -2
  851. package/esm2022/lib/components/organisms/no-content/no-content.component.mjs +0 -66
  852. package/esm2022/lib/components/organisms/no-content/types.mjs +0 -2
  853. package/esm2022/lib/components/organisms/rotating-text/rotating-text.component.mjs +0 -180
  854. package/esm2022/lib/components/organisms/rotating-text/types.mjs +0 -2
  855. package/esm2022/lib/components/organisms/tabbed-content/tabbed-content.component.mjs +0 -170
  856. package/esm2022/lib/components/organisms/tabbed-content/types.mjs +0 -2
  857. package/esm2022/lib/components/organisms/terminal-404/terminal-404.component.mjs +0 -214
  858. package/esm2022/lib/components/organisms/terminal-404/types.mjs +0 -2
  859. package/esm2022/lib/components/organisms/testimonial-carousel/testimonial-carousel.component.mjs +0 -72
  860. package/esm2022/lib/components/organisms/testimonial-carousel/types.mjs +0 -2
  861. package/esm2022/lib/components/organisms/toolbar/toolbar.component.mjs +0 -237
  862. package/esm2022/lib/components/organisms/toolbar/types.mjs +0 -2
  863. package/esm2022/lib/components/organisms/wizard/types.mjs +0 -10
  864. package/esm2022/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.mjs +0 -111
  865. package/esm2022/lib/components/organisms/wizard/wizard.component.mjs +0 -161
  866. package/esm2022/lib/components/templates/auth-background/auth-background.component.mjs +0 -149
  867. package/esm2022/lib/components/templates/auth-background/types.mjs +0 -2
  868. package/esm2022/lib/components/templates/docs-layout/docs-layout.component.mjs +0 -221
  869. package/esm2022/lib/components/templates/docs-layout/types.mjs +0 -2
  870. package/esm2022/lib/components/templates/docs-page/docs-page.component.mjs +0 -251
  871. package/esm2022/lib/components/templates/docs-page/types.mjs +0 -2
  872. package/esm2022/lib/components/templates/docs-shell/docs-shell.component.mjs +0 -376
  873. package/esm2022/lib/components/templates/docs-shell/types.mjs +0 -2
  874. package/esm2022/lib/components/templates/layout/layout.component.mjs +0 -19
  875. package/esm2022/lib/components/templates/maintenance-page/maintenance-page.component.mjs +0 -153
  876. package/esm2022/lib/components/templates/maintenance-page/types.mjs +0 -2
  877. package/esm2022/lib/components/templates/page-content/page-content.component.mjs +0 -193
  878. package/esm2022/lib/components/templates/page-content/types.mjs +0 -2
  879. package/esm2022/lib/components/templates/page-template/page-template.component.mjs +0 -188
  880. package/esm2022/lib/components/templates/page-template/types.mjs +0 -2
  881. package/esm2022/lib/components/templates/page-wrapper/page-wrapper.component.mjs +0 -192
  882. package/esm2022/lib/components/templates/page-wrapper/types.mjs +0 -2
  883. package/esm2022/lib/components/templates/simple/simple.component.mjs +0 -125
  884. package/esm2022/lib/components/templates/simple/types.mjs +0 -2
  885. package/esm2022/lib/components/types.mjs +0 -58
  886. package/esm2022/lib/config/company-footer.config.mjs +0 -109
  887. package/esm2022/lib/config/index.mjs +0 -5
  888. package/esm2022/lib/services/ads/ads-loader.service.mjs +0 -120
  889. package/esm2022/lib/services/ads/ads.service.mjs +0 -236
  890. package/esm2022/lib/services/ads/config.mjs +0 -81
  891. package/esm2022/lib/services/ads/index.mjs +0 -13
  892. package/esm2022/lib/services/ads/types.mjs +0 -23
  893. package/esm2022/lib/services/app-config/app-config.service.mjs +0 -209
  894. package/esm2022/lib/services/app-config/config.mjs +0 -47
  895. package/esm2022/lib/services/app-config/index.mjs +0 -48
  896. package/esm2022/lib/services/app-config/types.mjs +0 -13
  897. package/esm2022/lib/services/app-config/version.mjs +0 -85
  898. package/esm2022/lib/services/auth/auth-state.service.mjs +0 -186
  899. package/esm2022/lib/services/auth/auth.service.mjs +0 -1087
  900. package/esm2022/lib/services/auth/config.mjs +0 -77
  901. package/esm2022/lib/services/auth/device.service.mjs +0 -135
  902. package/esm2022/lib/services/auth/guards.mjs +0 -194
  903. package/esm2022/lib/services/auth/index.mjs +0 -92
  904. package/esm2022/lib/services/auth/interceptor.mjs +0 -122
  905. package/esm2022/lib/services/auth/oauth-callback.component.mjs +0 -169
  906. package/esm2022/lib/services/auth/oauth.service.mjs +0 -318
  907. package/esm2022/lib/services/auth/session.service.mjs +0 -78
  908. package/esm2022/lib/services/auth/storage.service.mjs +0 -152
  909. package/esm2022/lib/services/auth/sync.service.mjs +0 -149
  910. package/esm2022/lib/services/auth/token.service.mjs +0 -122
  911. package/esm2022/lib/services/auth/types.mjs +0 -30
  912. package/esm2022/lib/services/confirmation-dialog/confirmation-dialog.service.mjs +0 -180
  913. package/esm2022/lib/services/confirmation-dialog/types.mjs +0 -14
  914. package/esm2022/lib/services/docs/docs-navigation.service.mjs +0 -91
  915. package/esm2022/lib/services/download.service.mjs +0 -80
  916. package/esm2022/lib/services/feedback/config.mjs +0 -49
  917. package/esm2022/lib/services/feedback/feedback.service.mjs +0 -296
  918. package/esm2022/lib/services/feedback/index.mjs +0 -44
  919. package/esm2022/lib/services/feedback/types.mjs +0 -30
  920. package/esm2022/lib/services/firebase/analytics-error-handler.mjs +0 -141
  921. package/esm2022/lib/services/firebase/analytics-router-tracker.mjs +0 -99
  922. package/esm2022/lib/services/firebase/analytics-types.mjs +0 -7
  923. package/esm2022/lib/services/firebase/analytics.service.mjs +0 -620
  924. package/esm2022/lib/services/firebase/config.mjs +0 -131
  925. package/esm2022/lib/services/firebase/firebase.service.mjs +0 -456
  926. package/esm2022/lib/services/firebase/firestore-collection.mjs +0 -254
  927. package/esm2022/lib/services/firebase/firestore.service.mjs +0 -536
  928. package/esm2022/lib/services/firebase/index.mjs +0 -56
  929. package/esm2022/lib/services/firebase/messaging.service.mjs +0 -597
  930. package/esm2022/lib/services/firebase/notifications.service.mjs +0 -199
  931. package/esm2022/lib/services/firebase/shared-config.mjs +0 -114
  932. package/esm2022/lib/services/firebase/storage.service.mjs +0 -472
  933. package/esm2022/lib/services/firebase/types.mjs +0 -18
  934. package/esm2022/lib/services/firebase/utils/path-builder.mjs +0 -195
  935. package/esm2022/lib/services/firebase/utils/query-builder.mjs +0 -302
  936. package/esm2022/lib/services/i18n/config.mjs +0 -110
  937. package/esm2022/lib/services/i18n/default-content.mjs +0 -563
  938. package/esm2022/lib/services/i18n/i18n.service.mjs +0 -196
  939. package/esm2022/lib/services/i18n/index.mjs +0 -13
  940. package/esm2022/lib/services/i18n/input-i18n.helper.mjs +0 -97
  941. package/esm2022/lib/services/i18n/translate.pipe.mjs +0 -50
  942. package/esm2022/lib/services/i18n/types.mjs +0 -15
  943. package/esm2022/lib/services/icons.service.mjs +0 -76
  944. package/esm2022/lib/services/image/image.service.mjs +0 -244
  945. package/esm2022/lib/services/image/index.mjs +0 -3
  946. package/esm2022/lib/services/image/types.mjs +0 -13
  947. package/esm2022/lib/services/in-app-browser.service.mjs +0 -35
  948. package/esm2022/lib/services/link-processor.service.mjs +0 -259
  949. package/esm2022/lib/services/local-storage.service.mjs +0 -37
  950. package/esm2022/lib/services/locale.service.mjs +0 -75
  951. package/esm2022/lib/services/meta/index.mjs +0 -3
  952. package/esm2022/lib/services/meta/meta.service.mjs +0 -63
  953. package/esm2022/lib/services/meta/types.mjs +0 -2
  954. package/esm2022/lib/services/modal/modal.service.mjs +0 -212
  955. package/esm2022/lib/services/modal/simple-modal-content.component.mjs +0 -133
  956. package/esm2022/lib/services/modal/types.mjs +0 -26
  957. package/esm2022/lib/services/navigation/index.mjs +0 -3
  958. package/esm2022/lib/services/navigation/navigation.service.mjs +0 -216
  959. package/esm2022/lib/services/navigation/types.mjs +0 -16
  960. package/esm2022/lib/services/pagination/index.mjs +0 -5
  961. package/esm2022/lib/services/pagination/pagination.service.mjs +0 -218
  962. package/esm2022/lib/services/pagination/types.mjs +0 -14
  963. package/esm2022/lib/services/presets/config.mjs +0 -46
  964. package/esm2022/lib/services/presets/index.mjs +0 -5
  965. package/esm2022/lib/services/presets/preset.service.mjs +0 -104
  966. package/esm2022/lib/services/presets/types.mjs +0 -2
  967. package/esm2022/lib/services/qr-generator/qr-generator.service.mjs +0 -341
  968. package/esm2022/lib/services/qr-generator/types.mjs +0 -46
  969. package/esm2022/lib/services/skeleton/config.mjs +0 -79
  970. package/esm2022/lib/services/skeleton/directives/loading.directive.mjs +0 -215
  971. package/esm2022/lib/services/skeleton/index.mjs +0 -16
  972. package/esm2022/lib/services/skeleton/skeleton.service.mjs +0 -198
  973. package/esm2022/lib/services/skeleton/templates/detail-skeleton.component.mjs +0 -223
  974. package/esm2022/lib/services/skeleton/templates/form-skeleton.component.mjs +0 -127
  975. package/esm2022/lib/services/skeleton/templates/grid-skeleton.component.mjs +0 -154
  976. package/esm2022/lib/services/skeleton/templates/list-skeleton.component.mjs +0 -110
  977. package/esm2022/lib/services/skeleton/templates/profile-skeleton.component.mjs +0 -207
  978. package/esm2022/lib/services/skeleton/templates/table-skeleton.component.mjs +0 -116
  979. package/esm2022/lib/services/skeleton/types.mjs +0 -11
  980. package/esm2022/lib/services/theme.service.mjs +0 -144
  981. package/esm2022/lib/services/toast.service.mjs +0 -47
  982. package/esm2022/lib/services/types.mjs +0 -5
  983. package/esm2022/lib/shared/constants/storage.mjs +0 -3
  984. package/esm2022/lib/shared/pipes/process-links.pipe.mjs +0 -69
  985. package/esm2022/lib/shared/utils/dom.mjs +0 -27
  986. package/esm2022/lib/shared/utils/form-defaults.mjs +0 -112
  987. package/esm2022/lib/shared/utils/styles.mjs +0 -37
  988. package/esm2022/lib/shared/utils/text.mjs +0 -12
  989. package/esm2022/lib/version.mjs +0 -6
  990. package/esm2022/public-api.mjs +0 -333
  991. package/esm2022/valtech-components.mjs +0 -5
  992. package/fesm2022/valtech-components.mjs +0 -42048
  993. package/fesm2022/valtech-components.mjs.map +0 -1
  994. package/index.d.ts +0 -5
  995. package/lib/components/atoms/avatar/avatar.component.d.ts +0 -36
  996. package/lib/components/atoms/avatar/types.d.ts +0 -15
  997. package/lib/components/atoms/box/box.component.d.ts +0 -26
  998. package/lib/components/atoms/box/types.d.ts +0 -19
  999. package/lib/components/atoms/button/button.component.d.ts +0 -63
  1000. package/lib/components/atoms/button/factory.d.ts +0 -71
  1001. package/lib/components/atoms/countdown/countdown.component.d.ts +0 -38
  1002. package/lib/components/atoms/countdown/types.d.ts +0 -108
  1003. package/lib/components/atoms/display/display.component.d.ts +0 -19
  1004. package/lib/components/atoms/display/types.d.ts +0 -33
  1005. package/lib/components/atoms/divider/divider.component.d.ts +0 -27
  1006. package/lib/components/atoms/divider/types.d.ts +0 -12
  1007. package/lib/components/atoms/fab/fab.component.d.ts +0 -36
  1008. package/lib/components/atoms/fab/types.d.ts +0 -45
  1009. package/lib/components/atoms/horizontal-scroll/horizontal-scroll.component.d.ts +0 -41
  1010. package/lib/components/atoms/horizontal-scroll/types.d.ts +0 -13
  1011. package/lib/components/atoms/href/href.component.d.ts +0 -25
  1012. package/lib/components/atoms/href/types.d.ts +0 -19
  1013. package/lib/components/atoms/icon/icon.component.d.ts +0 -18
  1014. package/lib/components/atoms/icon/types.d.ts +0 -13
  1015. package/lib/components/atoms/image/image.component.d.ts +0 -41
  1016. package/lib/components/atoms/image/types.d.ts +0 -37
  1017. package/lib/components/atoms/price-tag/price-tag.component.d.ts +0 -15
  1018. package/lib/components/atoms/price-tag/types.d.ts +0 -59
  1019. package/lib/components/atoms/progress-bar/progress-bar.component.d.ts +0 -35
  1020. package/lib/components/atoms/progress-bar/types.d.ts +0 -19
  1021. package/lib/components/atoms/progress-ring/progress-ring.component.d.ts +0 -20
  1022. package/lib/components/atoms/progress-ring/types.d.ts +0 -24
  1023. package/lib/components/atoms/qr-code/qr-code.component.d.ts +0 -33
  1024. package/lib/components/atoms/qr-code/types.d.ts +0 -124
  1025. package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +0 -53
  1026. package/lib/components/atoms/rights-footer/types.d.ts +0 -21
  1027. package/lib/components/atoms/skeleton/skeleton.component.d.ts +0 -12
  1028. package/lib/components/atoms/skeleton/types.d.ts +0 -29
  1029. package/lib/components/atoms/text/text.component.d.ts +0 -33
  1030. package/lib/components/atoms/text/types.d.ts +0 -42
  1031. package/lib/components/atoms/title/title.component.d.ts +0 -21
  1032. package/lib/components/atoms/title/types.d.ts +0 -36
  1033. package/lib/components/molecules/accordion/accordion.component.d.ts +0 -18
  1034. package/lib/components/molecules/accordion/types.d.ts +0 -47
  1035. package/lib/components/molecules/action-card/action-card.component.d.ts +0 -90
  1036. package/lib/components/molecules/action-card/types.d.ts +0 -83
  1037. package/lib/components/molecules/action-header/action-header.component.d.ts +0 -7
  1038. package/lib/components/molecules/action-header/types.d.ts +0 -6
  1039. package/lib/components/molecules/ad-slot/ad-slot.component.d.ts +0 -69
  1040. package/lib/components/molecules/alert-box/alert-box.component.d.ts +0 -39
  1041. package/lib/components/molecules/alert-box/types.d.ts +0 -37
  1042. package/lib/components/molecules/breadcrumb/breadcrumb.component.d.ts +0 -22
  1043. package/lib/components/molecules/breadcrumb/types.d.ts +0 -45
  1044. package/lib/components/molecules/button-group/button-group.component.d.ts +0 -23
  1045. package/lib/components/molecules/button-group/types.d.ts +0 -13
  1046. package/lib/components/molecules/card/card.component.d.ts +0 -49
  1047. package/lib/components/molecules/card/types.d.ts +0 -32
  1048. package/lib/components/molecules/check-input/check-input.component.d.ts +0 -36
  1049. package/lib/components/molecules/chip-group/chip-group.component.d.ts +0 -22
  1050. package/lib/components/molecules/chip-group/types.d.ts +0 -65
  1051. package/lib/components/molecules/code-display/code-display.component.d.ts +0 -24
  1052. package/lib/components/molecules/code-display/types.d.ts +0 -10
  1053. package/lib/components/molecules/command-display/command-display.component.d.ts +0 -11
  1054. package/lib/components/molecules/command-display/types.d.ts +0 -3
  1055. package/lib/components/molecules/comment/comment.component.d.ts +0 -42
  1056. package/lib/components/molecules/comment/types.d.ts +0 -171
  1057. package/lib/components/molecules/comment-input/comment-input.component.d.ts +0 -16
  1058. package/lib/components/molecules/comment-input/types.d.ts +0 -59
  1059. package/lib/components/molecules/content-loader/content-loader.component.d.ts +0 -18
  1060. package/lib/components/molecules/content-loader/types.d.ts +0 -15
  1061. package/lib/components/molecules/content-reaction/content-reaction.component.d.ts +0 -58
  1062. package/lib/components/molecules/content-reaction/types.d.ts +0 -77
  1063. package/lib/components/molecules/currency-input/currency-input.component.d.ts +0 -40
  1064. package/lib/components/molecules/currency-input/types.d.ts +0 -96
  1065. package/lib/components/molecules/date-input/date-input.component.d.ts +0 -40
  1066. package/lib/components/molecules/date-input/types.d.ts +0 -74
  1067. package/lib/components/molecules/date-range-input/date-range-input.component.d.ts +0 -50
  1068. package/lib/components/molecules/date-range-input/types.d.ts +0 -109
  1069. package/lib/components/molecules/docs-api-table/docs-api-table.component.d.ts +0 -41
  1070. package/lib/components/molecules/docs-api-table/types.d.ts +0 -62
  1071. package/lib/components/molecules/docs-breadcrumb/docs-breadcrumb.component.d.ts +0 -31
  1072. package/lib/components/molecules/docs-breadcrumb/types.d.ts +0 -20
  1073. package/lib/components/molecules/docs-callout/docs-callout.component.d.ts +0 -17
  1074. package/lib/components/molecules/docs-code-example/docs-code-example.component.d.ts +0 -45
  1075. package/lib/components/molecules/docs-code-example/types.d.ts +0 -63
  1076. package/lib/components/molecules/docs-nav-links/docs-nav-links.component.d.ts +0 -30
  1077. package/lib/components/molecules/docs-nav-links/types.d.ts +0 -31
  1078. package/lib/components/molecules/docs-search/docs-search.component.d.ts +0 -47
  1079. package/lib/components/molecules/docs-search/types.d.ts +0 -27
  1080. package/lib/components/molecules/docs-section/docs-section.component.d.ts +0 -29
  1081. package/lib/components/molecules/docs-section/types.d.ts +0 -27
  1082. package/lib/components/molecules/email-input/email-input.component.d.ts +0 -34
  1083. package/lib/components/molecules/expandable-text/expandable-text.component.d.ts +0 -23
  1084. package/lib/components/molecules/expandable-text/types.d.ts +0 -14
  1085. package/lib/components/molecules/features-list/features-list.component.d.ts +0 -66
  1086. package/lib/components/molecules/features-list/types.d.ts +0 -36
  1087. package/lib/components/molecules/feedback-form/feedback-form.component.d.ts +0 -58
  1088. package/lib/components/molecules/feedback-form/types.d.ts +0 -54
  1089. package/lib/components/molecules/file-input/file-input.component.d.ts +0 -25
  1090. package/lib/components/molecules/file-input/types.d.ts +0 -72
  1091. package/lib/components/molecules/footer-links/footer-links.component.d.ts +0 -47
  1092. package/lib/components/molecules/footer-links/types.d.ts +0 -50
  1093. package/lib/components/molecules/glow-card/glow-card.component.d.ts +0 -60
  1094. package/lib/components/molecules/glow-card/types.d.ts +0 -94
  1095. package/lib/components/molecules/hint/hint.component.d.ts +0 -19
  1096. package/lib/components/molecules/hour-input/hour-input.component.d.ts +0 -15
  1097. package/lib/components/molecules/image-crop/image-crop.component.d.ts +0 -59
  1098. package/lib/components/molecules/info/info.component.d.ts +0 -9
  1099. package/lib/components/molecules/info/types.d.ts +0 -10
  1100. package/lib/components/molecules/language-selector/language-selector.component.d.ts +0 -40
  1101. package/lib/components/molecules/language-selector/types.d.ts +0 -82
  1102. package/lib/components/molecules/layered-card/layered-card.component.d.ts +0 -10
  1103. package/lib/components/molecules/layered-card/types.d.ts +0 -15
  1104. package/lib/components/molecules/link/link.component.d.ts +0 -24
  1105. package/lib/components/molecules/link/types.d.ts +0 -19
  1106. package/lib/components/molecules/linked-providers/linked-providers.component.d.ts +0 -30
  1107. package/lib/components/molecules/linked-providers/types.d.ts +0 -38
  1108. package/lib/components/molecules/links-accordion/links-accordion.component.d.ts +0 -61
  1109. package/lib/components/molecules/links-accordion/types.d.ts +0 -39
  1110. package/lib/components/molecules/links-cake/links-cake.component.d.ts +0 -17
  1111. package/lib/components/molecules/links-cake/types.d.ts +0 -13
  1112. package/lib/components/molecules/multi-select-search/multi-select-search.component.d.ts +0 -76
  1113. package/lib/components/molecules/notes-box/notes-box.component.d.ts +0 -21
  1114. package/lib/components/molecules/notes-box/types.d.ts +0 -21
  1115. package/lib/components/molecules/number-from-to/number-from-to.component.d.ts +0 -27
  1116. package/lib/components/molecules/number-from-to/types.d.ts +0 -76
  1117. package/lib/components/molecules/number-input/number-input.component.d.ts +0 -16
  1118. package/lib/components/molecules/number-stepper/number-stepper.component.d.ts +0 -38
  1119. package/lib/components/molecules/number-stepper/types.d.ts +0 -88
  1120. package/lib/components/molecules/pagination/pagination.component.d.ts +0 -15
  1121. package/lib/components/molecules/pagination/types.d.ts +0 -41
  1122. package/lib/components/molecules/participant-card/participant-card.component.d.ts +0 -34
  1123. package/lib/components/molecules/participant-card/types.d.ts +0 -132
  1124. package/lib/components/molecules/password-input/password-input.component.d.ts +0 -37
  1125. package/lib/components/molecules/phone-input/phone-input.component.d.ts +0 -59
  1126. package/lib/components/molecules/phone-input/types.d.ts +0 -98
  1127. package/lib/components/molecules/pill/pill.component.d.ts +0 -33
  1128. package/lib/components/molecules/pill/types.d.ts +0 -9
  1129. package/lib/components/molecules/pin-input/pin-input.component.d.ts +0 -21
  1130. package/lib/components/molecules/pin-input/types.d.ts +0 -69
  1131. package/lib/components/molecules/plain-code-box/plain-code-box.component.d.ts +0 -22
  1132. package/lib/components/molecules/plain-code-box/types.d.ts +0 -10
  1133. package/lib/components/molecules/popover-selector/popover-selector.component.d.ts +0 -42
  1134. package/lib/components/molecules/popover-selector/types.d.ts +0 -69
  1135. package/lib/components/molecules/progress-status/progress-status.component.d.ts +0 -23
  1136. package/lib/components/molecules/progress-status/types.d.ts +0 -20
  1137. package/lib/components/molecules/prompter/prompter.component.d.ts +0 -10
  1138. package/lib/components/molecules/prompter/types.d.ts +0 -25
  1139. package/lib/components/molecules/quote-box/quote-box.component.d.ts +0 -26
  1140. package/lib/components/molecules/radio-input/radio-input.component.d.ts +0 -15
  1141. package/lib/components/molecules/raffle-status-card/raffle-status-card.component.d.ts +0 -21
  1142. package/lib/components/molecules/raffle-status-card/types.d.ts +0 -108
  1143. package/lib/components/molecules/range-input/range-input.component.d.ts +0 -25
  1144. package/lib/components/molecules/range-input/types.d.ts +0 -59
  1145. package/lib/components/molecules/rating/rating.component.d.ts +0 -23
  1146. package/lib/components/molecules/rating/types.d.ts +0 -41
  1147. package/lib/components/molecules/recap-card/recap-card.component.d.ts +0 -36
  1148. package/lib/components/molecules/recap-card/types.d.ts +0 -30
  1149. package/lib/components/molecules/refresher/refresher.component.d.ts +0 -84
  1150. package/lib/components/molecules/refresher/types.d.ts +0 -86
  1151. package/lib/components/molecules/searchbar/searchbar.component.d.ts +0 -43
  1152. package/lib/components/molecules/searchbar/types.d.ts +0 -33
  1153. package/lib/components/molecules/segment-control/segment-control.component.d.ts +0 -35
  1154. package/lib/components/molecules/segment-control/types.d.ts +0 -46
  1155. package/lib/components/molecules/select-input/select-input.component.d.ts +0 -48
  1156. package/lib/components/molecules/select-search/select-search.component.d.ts +0 -76
  1157. package/lib/components/molecules/share-buttons/share-buttons.component.d.ts +0 -22
  1158. package/lib/components/molecules/share-buttons/types.d.ts +0 -108
  1159. package/lib/components/molecules/stats-card/stats-card.component.d.ts +0 -20
  1160. package/lib/components/molecules/stats-card/types.d.ts +0 -60
  1161. package/lib/components/molecules/stepper/stepper.component.d.ts +0 -31
  1162. package/lib/components/molecules/stepper/types.d.ts +0 -66
  1163. package/lib/components/molecules/swipe-carousel/swipe-carousel.component.d.ts +0 -66
  1164. package/lib/components/molecules/swipe-carousel/types.d.ts +0 -35
  1165. package/lib/components/molecules/tabs/tabs.component.d.ts +0 -34
  1166. package/lib/components/molecules/tabs/types.d.ts +0 -45
  1167. package/lib/components/molecules/testimonial-card/testimonial-card.component.d.ts +0 -41
  1168. package/lib/components/molecules/testimonial-card/types.d.ts +0 -25
  1169. package/lib/components/molecules/text-input/text-input.component.d.ts +0 -42
  1170. package/lib/components/molecules/textarea-input/textarea-input.component.d.ts +0 -46
  1171. package/lib/components/molecules/textarea-input/types.d.ts +0 -74
  1172. package/lib/components/molecules/ticket-grid/ticket-grid.component.d.ts +0 -40
  1173. package/lib/components/molecules/ticket-grid/types.d.ts +0 -122
  1174. package/lib/components/molecules/timeline/timeline.component.d.ts +0 -14
  1175. package/lib/components/molecules/timeline/types.d.ts +0 -39
  1176. package/lib/components/molecules/title-block/title-block.component.d.ts +0 -12
  1177. package/lib/components/molecules/title-block/types.d.ts +0 -15
  1178. package/lib/components/molecules/toggle-input/toggle-input.component.d.ts +0 -39
  1179. package/lib/components/molecules/toggle-input/types.d.ts +0 -30
  1180. package/lib/components/molecules/update-banner/update-banner.component.d.ts +0 -42
  1181. package/lib/components/molecules/username-input/types.d.ts +0 -34
  1182. package/lib/components/molecules/username-input/username-input.component.d.ts +0 -45
  1183. package/lib/components/molecules/winner-display/types.d.ts +0 -103
  1184. package/lib/components/molecules/winner-display/winner-display.component.d.ts +0 -36
  1185. package/lib/components/organisms/article/article.component.d.ts +0 -108
  1186. package/lib/components/organisms/article/types.d.ts +0 -359
  1187. package/lib/components/organisms/avatar-upload/avatar-upload.component.d.ts +0 -84
  1188. package/lib/components/organisms/avatar-upload/types.d.ts +0 -62
  1189. package/lib/components/organisms/banner/banner.component.d.ts +0 -16
  1190. package/lib/components/organisms/banner/types.d.ts +0 -29
  1191. package/lib/components/organisms/bottom-nav/bottom-nav.component.d.ts +0 -88
  1192. package/lib/components/organisms/bottom-nav/types.d.ts +0 -118
  1193. package/lib/components/organisms/cards-carousel/cards-carousel.component.d.ts +0 -30
  1194. package/lib/components/organisms/cards-carousel/types.d.ts +0 -11
  1195. package/lib/components/organisms/comment-section/comment-section.component.d.ts +0 -50
  1196. package/lib/components/organisms/comment-section/types.d.ts +0 -144
  1197. package/lib/components/organisms/company-footer/company-footer.component.d.ts +0 -37
  1198. package/lib/components/organisms/company-footer/types.d.ts +0 -15
  1199. package/lib/components/organisms/data-table/data-table.component.d.ts +0 -63
  1200. package/lib/components/organisms/data-table/types.d.ts +0 -219
  1201. package/lib/components/organisms/docs-sidebar/docs-sidebar.component.d.ts +0 -51
  1202. package/lib/components/organisms/docs-sidebar/types.d.ts +0 -93
  1203. package/lib/components/organisms/docs-toc/docs-toc.component.d.ts +0 -62
  1204. package/lib/components/organisms/docs-toc/types.d.ts +0 -62
  1205. package/lib/components/organisms/footer/footer.component.d.ts +0 -36
  1206. package/lib/components/organisms/footer/types.d.ts +0 -16
  1207. package/lib/components/organisms/form/factory.d.ts +0 -17
  1208. package/lib/components/organisms/form/form-footer/form-footer.component.d.ts +0 -17
  1209. package/lib/components/organisms/form/form.component.d.ts +0 -48
  1210. package/lib/components/organisms/fun-header/fun-header.component.d.ts +0 -72
  1211. package/lib/components/organisms/fun-header/types.d.ts +0 -28
  1212. package/lib/components/organisms/header/header.component.d.ts +0 -22
  1213. package/lib/components/organisms/header/types.d.ts +0 -16
  1214. package/lib/components/organisms/infinite-list/infinite-list.component.d.ts +0 -113
  1215. package/lib/components/organisms/infinite-list/types.d.ts +0 -197
  1216. package/lib/components/organisms/item-list/item-list.component.d.ts +0 -43
  1217. package/lib/components/organisms/item-list/types.d.ts +0 -126
  1218. package/lib/components/organisms/login/login.component.d.ts +0 -79
  1219. package/lib/components/organisms/login/types.d.ts +0 -70
  1220. package/lib/components/organisms/menu/menu.component.d.ts +0 -44
  1221. package/lib/components/organisms/menu/types.d.ts +0 -23
  1222. package/lib/components/organisms/no-content/no-content.component.d.ts +0 -14
  1223. package/lib/components/organisms/no-content/types.d.ts +0 -17
  1224. package/lib/components/organisms/rotating-text/rotating-text.component.d.ts +0 -47
  1225. package/lib/components/organisms/rotating-text/types.d.ts +0 -28
  1226. package/lib/components/organisms/tabbed-content/tabbed-content.component.d.ts +0 -65
  1227. package/lib/components/organisms/tabbed-content/types.d.ts +0 -53
  1228. package/lib/components/organisms/terminal-404/terminal-404.component.d.ts +0 -42
  1229. package/lib/components/organisms/terminal-404/types.d.ts +0 -22
  1230. package/lib/components/organisms/testimonial-carousel/testimonial-carousel.component.d.ts +0 -33
  1231. package/lib/components/organisms/testimonial-carousel/types.d.ts +0 -8
  1232. package/lib/components/organisms/toolbar/toolbar.component.d.ts +0 -85
  1233. package/lib/components/organisms/toolbar/types.d.ts +0 -31
  1234. package/lib/components/organisms/wizard/types.d.ts +0 -42
  1235. package/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.d.ts +0 -23
  1236. package/lib/components/organisms/wizard/wizard.component.d.ts +0 -27
  1237. package/lib/components/templates/auth-background/auth-background.component.d.ts +0 -59
  1238. package/lib/components/templates/auth-background/types.d.ts +0 -30
  1239. package/lib/components/templates/docs-layout/docs-layout.component.d.ts +0 -42
  1240. package/lib/components/templates/docs-layout/types.d.ts +0 -39
  1241. package/lib/components/templates/docs-page/docs-page.component.d.ts +0 -61
  1242. package/lib/components/templates/docs-page/types.d.ts +0 -121
  1243. package/lib/components/templates/docs-shell/docs-shell.component.d.ts +0 -33
  1244. package/lib/components/templates/docs-shell/types.d.ts +0 -152
  1245. package/lib/components/templates/layout/layout.component.d.ts +0 -5
  1246. package/lib/components/templates/maintenance-page/maintenance-page.component.d.ts +0 -57
  1247. package/lib/components/templates/maintenance-page/types.d.ts +0 -12
  1248. package/lib/components/templates/page-content/page-content.component.d.ts +0 -107
  1249. package/lib/components/templates/page-content/types.d.ts +0 -27
  1250. package/lib/components/templates/page-template/page-template.component.d.ts +0 -54
  1251. package/lib/components/templates/page-template/types.d.ts +0 -17
  1252. package/lib/components/templates/page-wrapper/page-wrapper.component.d.ts +0 -89
  1253. package/lib/components/templates/page-wrapper/types.d.ts +0 -19
  1254. package/lib/components/templates/simple/simple.component.d.ts +0 -14
  1255. package/lib/components/templates/simple/types.d.ts +0 -10
  1256. package/lib/components/types.d.ts +0 -289
  1257. package/lib/config/company-footer.config.d.ts +0 -98
  1258. package/lib/services/ads/ads-loader.service.d.ts +0 -41
  1259. package/lib/services/ads/ads.service.d.ts +0 -99
  1260. package/lib/services/ads/config.d.ts +0 -53
  1261. package/lib/services/ads/index.d.ts +0 -9
  1262. package/lib/services/ads/types.d.ts +0 -106
  1263. package/lib/services/app-config/app-config.service.d.ts +0 -115
  1264. package/lib/services/app-config/config.d.ts +0 -31
  1265. package/lib/services/app-config/index.d.ts +0 -47
  1266. package/lib/services/app-config/types.d.ts +0 -54
  1267. package/lib/services/app-config/version.d.ts +0 -64
  1268. package/lib/services/auth/auth-state.service.d.ts +0 -92
  1269. package/lib/services/auth/auth.service.d.ts +0 -401
  1270. package/lib/services/auth/config.d.ts +0 -38
  1271. package/lib/services/auth/device.service.d.ts +0 -101
  1272. package/lib/services/auth/guards.d.ts +0 -123
  1273. package/lib/services/auth/index.d.ts +0 -83
  1274. package/lib/services/auth/interceptor.d.ts +0 -22
  1275. package/lib/services/auth/oauth-callback.component.d.ts +0 -34
  1276. package/lib/services/auth/oauth.service.d.ts +0 -99
  1277. package/lib/services/auth/session.service.d.ts +0 -60
  1278. package/lib/services/auth/storage.service.d.ts +0 -52
  1279. package/lib/services/auth/sync.service.d.ts +0 -49
  1280. package/lib/services/auth/token.service.d.ts +0 -57
  1281. package/lib/services/auth/types.d.ts +0 -842
  1282. package/lib/services/confirmation-dialog/confirmation-dialog.service.d.ts +0 -71
  1283. package/lib/services/confirmation-dialog/types.d.ts +0 -61
  1284. package/lib/services/docs/docs-navigation.service.d.ts +0 -51
  1285. package/lib/services/download.service.d.ts +0 -21
  1286. package/lib/services/feedback/config.d.ts +0 -35
  1287. package/lib/services/feedback/feedback.service.d.ts +0 -134
  1288. package/lib/services/feedback/index.d.ts +0 -40
  1289. package/lib/services/feedback/types.d.ts +0 -173
  1290. package/lib/services/firebase/analytics-error-handler.d.ts +0 -54
  1291. package/lib/services/firebase/analytics-router-tracker.d.ts +0 -51
  1292. package/lib/services/firebase/analytics-types.d.ts +0 -221
  1293. package/lib/services/firebase/analytics.service.d.ts +0 -256
  1294. package/lib/services/firebase/config.d.ts +0 -49
  1295. package/lib/services/firebase/firebase.service.d.ts +0 -251
  1296. package/lib/services/firebase/firestore-collection.d.ts +0 -175
  1297. package/lib/services/firebase/firestore.service.d.ts +0 -312
  1298. package/lib/services/firebase/index.d.ts +0 -44
  1299. package/lib/services/firebase/messaging.service.d.ts +0 -293
  1300. package/lib/services/firebase/notifications.service.d.ts +0 -121
  1301. package/lib/services/firebase/shared-config.d.ts +0 -118
  1302. package/lib/services/firebase/storage.service.d.ts +0 -238
  1303. package/lib/services/firebase/types.d.ts +0 -374
  1304. package/lib/services/firebase/utils/path-builder.d.ts +0 -132
  1305. package/lib/services/firebase/utils/query-builder.d.ts +0 -210
  1306. package/lib/services/i18n/config.d.ts +0 -29
  1307. package/lib/services/i18n/default-content.d.ts +0 -30
  1308. package/lib/services/i18n/i18n.service.d.ts +0 -112
  1309. package/lib/services/i18n/index.d.ts +0 -6
  1310. package/lib/services/i18n/input-i18n.helper.d.ts +0 -70
  1311. package/lib/services/i18n/translate.pipe.d.ts +0 -36
  1312. package/lib/services/i18n/types.d.ts +0 -93
  1313. package/lib/services/icons.service.d.ts +0 -9
  1314. package/lib/services/image/image.service.d.ts +0 -76
  1315. package/lib/services/image/types.d.ts +0 -74
  1316. package/lib/services/in-app-browser.service.d.ts +0 -16
  1317. package/lib/services/link-processor.service.d.ts +0 -104
  1318. package/lib/services/local-storage.service.d.ts +0 -27
  1319. package/lib/services/locale.service.d.ts +0 -52
  1320. package/lib/services/meta/meta.service.d.ts +0 -23
  1321. package/lib/services/meta/types.d.ts +0 -12
  1322. package/lib/services/modal/modal.service.d.ts +0 -100
  1323. package/lib/services/modal/simple-modal-content.component.d.ts +0 -19
  1324. package/lib/services/modal/types.d.ts +0 -155
  1325. package/lib/services/navigation/navigation.service.d.ts +0 -134
  1326. package/lib/services/navigation/types.d.ts +0 -67
  1327. package/lib/services/pagination/index.d.ts +0 -2
  1328. package/lib/services/pagination/pagination.service.d.ts +0 -43
  1329. package/lib/services/pagination/types.d.ts +0 -113
  1330. package/lib/services/presets/config.d.ts +0 -32
  1331. package/lib/services/presets/index.d.ts +0 -3
  1332. package/lib/services/presets/preset.service.d.ts +0 -69
  1333. package/lib/services/presets/types.d.ts +0 -39
  1334. package/lib/services/qr-generator/qr-generator.service.d.ts +0 -115
  1335. package/lib/services/qr-generator/types.d.ts +0 -141
  1336. package/lib/services/skeleton/config.d.ts +0 -30
  1337. package/lib/services/skeleton/directives/loading.directive.d.ts +0 -71
  1338. package/lib/services/skeleton/index.d.ts +0 -10
  1339. package/lib/services/skeleton/skeleton.service.d.ts +0 -127
  1340. package/lib/services/skeleton/templates/detail-skeleton.component.d.ts +0 -18
  1341. package/lib/services/skeleton/templates/form-skeleton.component.d.ts +0 -22
  1342. package/lib/services/skeleton/templates/grid-skeleton.component.d.ts +0 -18
  1343. package/lib/services/skeleton/templates/list-skeleton.component.d.ts +0 -17
  1344. package/lib/services/skeleton/templates/profile-skeleton.component.d.ts +0 -20
  1345. package/lib/services/skeleton/templates/table-skeleton.component.d.ts +0 -17
  1346. package/lib/services/skeleton/types.d.ts +0 -111
  1347. package/lib/services/theme.service.d.ts +0 -70
  1348. package/lib/services/toast.service.d.ts +0 -22
  1349. package/lib/services/types.d.ts +0 -1
  1350. package/lib/shared/constants/storage.d.ts +0 -2
  1351. package/lib/shared/pipes/process-links.pipe.d.ts +0 -55
  1352. package/lib/shared/utils/dom.d.ts +0 -13
  1353. package/lib/shared/utils/form-defaults.d.ts +0 -30
  1354. package/lib/shared/utils/styles.d.ts +0 -13
  1355. package/lib/shared/utils/text.d.ts +0 -11
  1356. package/lib/version.d.ts +0 -5
  1357. package/public-api.d.ts +0 -295
  1358. /package/{lib/components/molecules/image-crop/index.d.ts → src/lib/components/molecules/image-crop/index.ts} +0 -0
  1359. /package/{lib/config/index.d.ts → src/lib/config/index.ts} +0 -0
  1360. /package/{lib/services/image/index.d.ts → src/lib/services/image/index.ts} +0 -0
  1361. /package/{lib/services/meta/index.d.ts → src/lib/services/meta/index.ts} +0 -0
  1362. /package/{lib/services/navigation/index.d.ts → src/lib/services/navigation/index.ts} +0 -0
@@ -1,237 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { Component, EventEmitter, Input, Output } from '@angular/core';
3
- import { IonButton, IonButtons, IonIcon, IonMenuButton, IonText, IonTitle, IonToolbar, } from '@ionic/angular/standalone';
4
- import { addIcons } from 'ionicons';
5
- import { chevronBackOutline } from 'ionicons/icons';
6
- import { AvatarComponent } from '../../atoms/avatar/avatar.component';
7
- import { ImageComponent } from '../../atoms/image/image.component';
8
- import { LanguageSelectorComponent } from '../../molecules/language-selector/language-selector.component';
9
- import { ToolbarActionType } from '../../types';
10
- import * as i0 from "@angular/core";
11
- import * as i1 from "@ionic/angular";
12
- import * as i2 from "../../../services/icons.service";
13
- import * as i3 from "@angular/common";
14
- /**
15
- * ToolbarComponent
16
- *
17
- * Componente de barra de herramientas reutilizable para encabezados y pies de página.
18
- * Permite acciones, botón de retroceso, menú y personalización de colores y título.
19
- *
20
- * @example
21
- * <val-toolbar [props]="{ title: 'Mi App', withBack: true, actions: [...] }" (onClick)="handleToolbarAction($event)"></val-toolbar>
22
- *
23
- * @input props {ToolbarMetadata} - Metadatos de la barra de herramientas.
24
- * @output onClick - Emite el token de la acción clicada.
25
- */
26
- export class ToolbarComponent {
27
- constructor(navCtrl, icon) {
28
- this.navCtrl = navCtrl;
29
- /**
30
- * Evento emitido al hacer click en una acción o botón de la barra.
31
- */
32
- this.onClick = new EventEmitter();
33
- this.actionTypes = ToolbarActionType;
34
- addIcons({ chevronBackOutline });
35
- }
36
- ngOnInit() { }
37
- /**
38
- * Emite el token de la acción clicada.
39
- * @param token Token de la acción
40
- */
41
- clickHandler(token) {
42
- this.onClick.emit(token);
43
- }
44
- /**
45
- * Navega hacia atrás usando NavController.
46
- */
47
- goBack() {
48
- this.navCtrl.back();
49
- }
50
- /**
51
- * Determina si hay acciones a la derecha.
52
- */
53
- someInRight() {
54
- return !!this.props.actions.find(x => x.position === 'right');
55
- }
56
- /**
57
- * Determina si hay acciones a la izquierda.
58
- */
59
- someInLeft() {
60
- return !!this.props.actions.find(x => x.position === 'left');
61
- }
62
- /**
63
- * Devuelve las acciones de la derecha.
64
- */
65
- rightActions() {
66
- return this.props.actions.filter(x => x.position === 'right');
67
- }
68
- /**
69
- * Devuelve las acciones de la izquierda.
70
- */
71
- leftActions() {
72
- return this.props.actions.filter(x => x.position === 'left');
73
- }
74
- /**
75
- * Language selector props with 'icon' mode as default for toolbar display.
76
- */
77
- get languageSelectorProps() {
78
- return {
79
- mode: 'icon',
80
- color: this.props.textColor || 'dark',
81
- ...this.props.languageSelector,
82
- };
83
- }
84
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.NavController }, { token: i2.IconService }], target: i0.ɵɵFactoryTarget.Component }); }
85
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ToolbarComponent, isStandalone: true, selector: "val-toolbar", inputs: { props: "props" }, outputs: { onClick: "onClick" }, ngImport: i0, template: `
86
- <ion-toolbar [color]="props.color" [class.background]="props.color === 'background'">
87
- <ng-container *ngIf="props.withBack">
88
- <ion-buttons class="left-buttons" slot="start" *ngIf="props.withBack">
89
- <ion-button fill="clear" (click)="goBack()" [color]="props.textColor" style="margin-left: 8px;">
90
- <ion-icon name="chevron-back-outline" [slot]="props.backText ? 'start' : 'icon-only'"></ion-icon>
91
- <ion-text *ngIf="props.backText">{{ props.backText }}</ion-text>
92
- </ion-button>
93
- </ion-buttons>
94
- </ng-container>
95
- <ng-container *ngIf="props.withActions">
96
- <ion-buttons slot="end" *ngIf="someInRight() || props.withMenu || props.languageSelector">
97
- <ng-container *ngFor="let action of rightActions()">
98
- <ion-button *ngIf="action.type === actionTypes.ICON" (click)="clickHandler(action.token)">
99
- <ion-icon slot="icon-only" [name]="action.description" [color]="props.textColor"></ion-icon>
100
- </ion-button>
101
- <val-avatar
102
- *ngIf="action.type === actionTypes.AVATAR"
103
- [props]="{ size: 'small', image: action.description, default: '' }"
104
- (onClick)="clickHandler(action.token)"
105
- ></val-avatar>
106
- <val-image
107
- *ngIf="action.type === actionTypes.IMAGE"
108
- [props]="action.image"
109
- (click)="clickHandler(action.token)"
110
- ></val-image>
111
- <ion-button
112
- [color]="props.textColor"
113
- *ngIf="action.type === actionTypes.BUTTON"
114
- (click)="clickHandler(action.token)"
115
- >{{ action.description }}</ion-button
116
- >
117
- </ng-container>
118
- @if (props.languageSelector) {
119
- <val-language-selector [props]="languageSelectorProps"></val-language-selector>
120
- }
121
- @if (props.withMenu) {
122
- <ion-menu-button color="dark"></ion-menu-button>
123
- }
124
- </ion-buttons>
125
- <ion-buttons slot="start" *ngIf="someInLeft()" style="padding-left: 4px;">
126
- <ng-container *ngFor="let action of leftActions()">
127
- <ion-button *ngIf="action.type === actionTypes.ICON" (click)="clickHandler(action.token)">
128
- <ion-icon slot="icon-only" [name]="action.description" [color]="props.textColor"></ion-icon>
129
- </ion-button>
130
- <val-avatar
131
- *ngIf="action.type === actionTypes.AVATAR"
132
- [props]="{ size: 'small', image: action.description, default: '' }"
133
- (onClick)="clickHandler(action.token)"
134
- ></val-avatar>
135
- <val-image
136
- *ngIf="action.type === actionTypes.IMAGE"
137
- [props]="action.image"
138
- (click)="clickHandler(action.token)"
139
- ></val-image>
140
- <ion-button *ngIf="action.type === actionTypes.BUTTON" (click)="clickHandler(action.token)">{{
141
- action.description
142
- }}</ion-button>
143
- </ng-container>
144
- </ion-buttons>
145
- </ng-container>
146
- <ion-title *ngIf="props.title" [color]="props.textColor">{{ props.title }}</ion-title>
147
- <!-- experimental -->
148
- <ng-content select="[toolbar-bottom]"></ng-content>
149
- </ion-toolbar>
150
- `, isInline: true, styles: [":root{--ion-color-primary: #7026df;--ion-color-primary-rgb: 112, 38, 223;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #6321c4;--ion-color-primary-tint: #7e3ce2;--ion-color-secondary: #e2ccff;--ion-color-secondary-rgb: 226, 204, 255;--ion-color-secondary-contrast: #000000;--ion-color-secondary-contrast-rgb: 0, 0, 0;--ion-color-secondary-shade: #c7b4e0;--ion-color-secondary-tint: #e5d1ff;--ion-color-texti: #354c69;--ion-color-texti-rgb: 53, 76, 105;--ion-color-texti-contrast: #ffffff;--ion-color-texti-contrast-rgb: 255, 255, 255;--ion-color-texti-shade: #2f435c;--ion-color-texti-tint: #495e78;--ion-color-darki: #090f1b;--ion-color-darki-rgb: 9, 15, 27;--ion-color-darki-contrast: #ffffff;--ion-color-darki-contrast-rgb: 255, 255, 255;--ion-color-darki-shade: #080d18;--ion-color-darki-tint: #222732;--ion-color-medium: #9e9e9e;--ion-color-medium-rgb: 158, 158, 158;--ion-color-medium-contrast: #000000;--ion-color-medium-contrast-rgb: 0, 0, 0;--ion-color-medium-shade: #8b8b8b;--ion-color-medium-tint: #a8a8a8;--swiper-pagination-color: var(--ion-color-primary);--swiper-navigation-color: var(--ion-color-primary);--swiper-pagination-bullet-inactive-color: var(--ion-color-medium)}@media (prefers-color-scheme: dark){:root{--ion-color-texti: #8fc1ff;--ion-color-texti-rgb: 143, 193, 255;--ion-color-texti-contrast: #000000;--ion-color-texti-contrast-rgb: 0, 0, 0;--ion-color-texti-shade: #7eaae0;--ion-color-texti-tint: #9ac7ff;--ion-color-darki: #ffffff;--ion-color-darki-rgb: 255, 255, 255;--ion-color-darki-contrast: #000000;--ion-color-darki-contrast-rgb: 0, 0, 0;--ion-color-darki-shade: #e0e0e0;--ion-color-darki-tint: #ffffff;--ion-color-primary: #8f49f8;--ion-color-primary-rgb: 143, 73, 248;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #7e40da;--ion-color-primary-tint: #9a5bf9}}.ion-color-texti{--ion-color-base: var(--ion-color-texti);--ion-color-base-rgb: var(--ion-color-texti-rgb);--ion-color-contrast: var(--ion-color-texti-contrast);--ion-color-contrast-rgb: var(--ion-color-texti-contrast-rgb);--ion-color-shade: var(--ion-color-texti-shade);--ion-color-tint: var(--ion-color-texti-tint)}.ion-color-darki{--ion-color-base: var(--ion-color-darki);--ion-color-base-rgb: var(--ion-color-darki-rgb);--ion-color-contrast: var(--ion-color-darki-contrast);--ion-color-contrast-rgb: var(--ion-color-darki-contrast-rgb);--ion-color-shade: var(--ion-color-darki-shade);--ion-color-tint: var(--ion-color-darki-tint)}ion-button{font-family:var(--ion-default-font),Arial,sans-serif}.left-buttons{margin-left:-1rem}.background{background:var(--ion-background-color)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "component", type: IonButtons, selector: "ion-buttons", inputs: ["collapse"] }, { kind: "component", type: IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: IonText, selector: "ion-text", inputs: ["color", "mode"] }, { kind: "component", type: IonTitle, selector: "ion-title", inputs: ["color", "size"] }, { kind: "component", type: AvatarComponent, selector: "val-avatar", inputs: ["preset", "props"], outputs: ["onClick"] }, { kind: "component", type: ImageComponent, selector: "val-image", inputs: ["props"] }, { kind: "component", type: IonMenuButton, selector: "ion-menu-button", inputs: ["autoHide", "color", "disabled", "menu", "mode", "type"] }, { kind: "component", type: LanguageSelectorComponent, selector: "val-language-selector", inputs: ["props"], outputs: ["languageChange"] }] }); }
151
- }
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolbarComponent, decorators: [{
153
- type: Component,
154
- args: [{ selector: 'val-toolbar', standalone: true, imports: [
155
- CommonModule,
156
- IonToolbar,
157
- IonButtons,
158
- IonButton,
159
- IonIcon,
160
- IonText,
161
- IonTitle,
162
- AvatarComponent,
163
- ImageComponent,
164
- IonMenuButton,
165
- LanguageSelectorComponent,
166
- ], template: `
167
- <ion-toolbar [color]="props.color" [class.background]="props.color === 'background'">
168
- <ng-container *ngIf="props.withBack">
169
- <ion-buttons class="left-buttons" slot="start" *ngIf="props.withBack">
170
- <ion-button fill="clear" (click)="goBack()" [color]="props.textColor" style="margin-left: 8px;">
171
- <ion-icon name="chevron-back-outline" [slot]="props.backText ? 'start' : 'icon-only'"></ion-icon>
172
- <ion-text *ngIf="props.backText">{{ props.backText }}</ion-text>
173
- </ion-button>
174
- </ion-buttons>
175
- </ng-container>
176
- <ng-container *ngIf="props.withActions">
177
- <ion-buttons slot="end" *ngIf="someInRight() || props.withMenu || props.languageSelector">
178
- <ng-container *ngFor="let action of rightActions()">
179
- <ion-button *ngIf="action.type === actionTypes.ICON" (click)="clickHandler(action.token)">
180
- <ion-icon slot="icon-only" [name]="action.description" [color]="props.textColor"></ion-icon>
181
- </ion-button>
182
- <val-avatar
183
- *ngIf="action.type === actionTypes.AVATAR"
184
- [props]="{ size: 'small', image: action.description, default: '' }"
185
- (onClick)="clickHandler(action.token)"
186
- ></val-avatar>
187
- <val-image
188
- *ngIf="action.type === actionTypes.IMAGE"
189
- [props]="action.image"
190
- (click)="clickHandler(action.token)"
191
- ></val-image>
192
- <ion-button
193
- [color]="props.textColor"
194
- *ngIf="action.type === actionTypes.BUTTON"
195
- (click)="clickHandler(action.token)"
196
- >{{ action.description }}</ion-button
197
- >
198
- </ng-container>
199
- @if (props.languageSelector) {
200
- <val-language-selector [props]="languageSelectorProps"></val-language-selector>
201
- }
202
- @if (props.withMenu) {
203
- <ion-menu-button color="dark"></ion-menu-button>
204
- }
205
- </ion-buttons>
206
- <ion-buttons slot="start" *ngIf="someInLeft()" style="padding-left: 4px;">
207
- <ng-container *ngFor="let action of leftActions()">
208
- <ion-button *ngIf="action.type === actionTypes.ICON" (click)="clickHandler(action.token)">
209
- <ion-icon slot="icon-only" [name]="action.description" [color]="props.textColor"></ion-icon>
210
- </ion-button>
211
- <val-avatar
212
- *ngIf="action.type === actionTypes.AVATAR"
213
- [props]="{ size: 'small', image: action.description, default: '' }"
214
- (onClick)="clickHandler(action.token)"
215
- ></val-avatar>
216
- <val-image
217
- *ngIf="action.type === actionTypes.IMAGE"
218
- [props]="action.image"
219
- (click)="clickHandler(action.token)"
220
- ></val-image>
221
- <ion-button *ngIf="action.type === actionTypes.BUTTON" (click)="clickHandler(action.token)">{{
222
- action.description
223
- }}</ion-button>
224
- </ng-container>
225
- </ion-buttons>
226
- </ng-container>
227
- <ion-title *ngIf="props.title" [color]="props.textColor">{{ props.title }}</ion-title>
228
- <!-- experimental -->
229
- <ng-content select="[toolbar-bottom]"></ng-content>
230
- </ion-toolbar>
231
- `, styles: [":root{--ion-color-primary: #7026df;--ion-color-primary-rgb: 112, 38, 223;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #6321c4;--ion-color-primary-tint: #7e3ce2;--ion-color-secondary: #e2ccff;--ion-color-secondary-rgb: 226, 204, 255;--ion-color-secondary-contrast: #000000;--ion-color-secondary-contrast-rgb: 0, 0, 0;--ion-color-secondary-shade: #c7b4e0;--ion-color-secondary-tint: #e5d1ff;--ion-color-texti: #354c69;--ion-color-texti-rgb: 53, 76, 105;--ion-color-texti-contrast: #ffffff;--ion-color-texti-contrast-rgb: 255, 255, 255;--ion-color-texti-shade: #2f435c;--ion-color-texti-tint: #495e78;--ion-color-darki: #090f1b;--ion-color-darki-rgb: 9, 15, 27;--ion-color-darki-contrast: #ffffff;--ion-color-darki-contrast-rgb: 255, 255, 255;--ion-color-darki-shade: #080d18;--ion-color-darki-tint: #222732;--ion-color-medium: #9e9e9e;--ion-color-medium-rgb: 158, 158, 158;--ion-color-medium-contrast: #000000;--ion-color-medium-contrast-rgb: 0, 0, 0;--ion-color-medium-shade: #8b8b8b;--ion-color-medium-tint: #a8a8a8;--swiper-pagination-color: var(--ion-color-primary);--swiper-navigation-color: var(--ion-color-primary);--swiper-pagination-bullet-inactive-color: var(--ion-color-medium)}@media (prefers-color-scheme: dark){:root{--ion-color-texti: #8fc1ff;--ion-color-texti-rgb: 143, 193, 255;--ion-color-texti-contrast: #000000;--ion-color-texti-contrast-rgb: 0, 0, 0;--ion-color-texti-shade: #7eaae0;--ion-color-texti-tint: #9ac7ff;--ion-color-darki: #ffffff;--ion-color-darki-rgb: 255, 255, 255;--ion-color-darki-contrast: #000000;--ion-color-darki-contrast-rgb: 0, 0, 0;--ion-color-darki-shade: #e0e0e0;--ion-color-darki-tint: #ffffff;--ion-color-primary: #8f49f8;--ion-color-primary-rgb: 143, 73, 248;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #7e40da;--ion-color-primary-tint: #9a5bf9}}.ion-color-texti{--ion-color-base: var(--ion-color-texti);--ion-color-base-rgb: var(--ion-color-texti-rgb);--ion-color-contrast: var(--ion-color-texti-contrast);--ion-color-contrast-rgb: var(--ion-color-texti-contrast-rgb);--ion-color-shade: var(--ion-color-texti-shade);--ion-color-tint: var(--ion-color-texti-tint)}.ion-color-darki{--ion-color-base: var(--ion-color-darki);--ion-color-base-rgb: var(--ion-color-darki-rgb);--ion-color-contrast: var(--ion-color-darki-contrast);--ion-color-contrast-rgb: var(--ion-color-darki-contrast-rgb);--ion-color-shade: var(--ion-color-darki-shade);--ion-color-tint: var(--ion-color-darki-tint)}ion-button{font-family:var(--ion-default-font),Arial,sans-serif}.left-buttons{margin-left:-1rem}.background{background:var(--ion-background-color)}\n"] }]
232
- }], ctorParameters: () => [{ type: i1.NavController }, { type: i2.IconService }], propDecorators: { props: [{
233
- type: Input
234
- }], onClick: [{
235
- type: Output
236
- }] } });
237
- //# sourceMappingURL=data:application/json;base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clwiPlxuICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nRm9yPVwibGV0IGFjdGlvbiBvZiByaWdodEFjdGlvbnMoKVwiPlxuICAgICAgICAgICAgPGlvbi1idXR0b24gKm5nSWY9XCJhY3Rpb24udHlwZSA9PT0gYWN0aW9uVHlwZXMuSUNPTlwiIChjbGljayk9XCJjbGlja0hhbmRsZXIoYWN0aW9uLnRva2VuKVwiPlxuICAgICAgICAgICAgICA8aW9uLWljb24gc2xvdD1cImljb24tb25seVwiIFtuYW1lXT1cImFjdGlvbi5kZXNjcmlwdGlvblwiIFtjb2xvcl09XCJwcm9wcy50ZXh0Q29sb3JcIj48L2lvbi1pY29uPlxuICAgICAgICAgICAgPC9pb24tYnV0dG9uPlxuICAgICAgICAgICAgPHZhbC1hdmF0YXJcbiAgICAgICAgICAgICAgKm5nSWY9XCJhY3Rpb24udHlwZSA9PT0gYWN0aW9uVHlwZXMuQVZBVEFSXCJcbiAgICAgICAgICAgICAgW3Byb3BzXT1cInsgc2l6ZTogJ3NtYWxsJywgaW1hZ2U6IGFjdGlvbi5kZXNjcmlwdGlvbiwgZGVmYXVsdDogJycgfVwiXG4gICAgICAgICAgICAgIChvbkNsaWNrKT1cImNsaWNrSGFuZGxlcihhY3Rpb24udG9rZW4pXCJcbiAgICAgICAgICAgID48L3ZhbC1hdmF0YXI+XG4gICAgICAgICAgICA8dmFsLWltYWdlXG4gICAgICAgICAgICAgICpuZ0lmPVwiYWN0aW9uLnR5cGUgPT09IGFjdGlvblR5cGVzLklNQUdFXCJcbiAgICAgICAgICAgICAgW3Byb3BzXT1cImFjdGlvbi5pbWFnZVwiXG4gICAgICAgICAgICAgIChjbGljayk9XCJjbGlja0hhbmRsZXIoYWN0aW9uLnRva2VuKVwiXG4gICAgICAgICAgICA+PC92YWwtaW1hZ2U+XG4gICAgICAgICAgICA8aW9uLWJ1dHRvblxuICAgICAgICAgICAgICBbY29sb3JdPVwicHJvcHMudGV4dENvbG9yXCJcbiAgICAgICAg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RleHRDb2xvclwiPjwvaW9uLWljb24+XG4gICAgICAgICAgICA8L2lvbi1idXR0b24+XG4gICAgICAgICAgICA8dmFsLWF2YXRhclxuICAgICAgICAgICAgICAqbmdJZj1cImFjdGlvbi50eXBlID09PSBhY3Rpb25UeXBlcy5BVkFUQVJcIlxuICAgICAgICAgICAgICBbcHJvcHNdPVwieyBzaXplOiAnc21hbGwnLCBpbWFnZTogYWN0aW9uLmRlc2NyaXB0aW9uLCBkZWZhdWx0OiAnJyB9XCJcbiAgICAgICAgICAgICAgKG9uQ2xpY2spPVwiY2xpY2tIYW5kbGVyKGFjdGlvbi50b2tlbilcIlxuICAgICAgICAgICAgPjwvdmFsLWF2YXRhcj5cbiAgICAgICAgICAgIDx2YWwtaW1hZ2VcbiAgICAgICAgICAgICAgKm5nSWY9XCJhY3Rpb24udHlwZSA9PT0gYWN0aW9uVHlwZXMuSU1BR0VcIlxuICAgICAgICAgICAgICBbcHJvcHNdPVwiYWN0aW9uLmltYWdlXCJcbiAgICAgICAgICAgICAgKGNsaWNrKT1cImNsaWNrSGFuZGxlcihhY3Rpb24udG9rZW4pXCJcbiAgICAgICAgICAgID48L3ZhbC1pbWFnZT5cbiAgICAgICAgICAgIDxpb24tYnV0dG9uICpuZ0lmPVwiYWN0aW9uLnR5cGUgPT09IGFjdGlvblR5cGVzLkJVVFRPTlwiIChjbGljayk9XCJjbGlja0hhbmRsZXIoYWN0aW9uLnRva2VuKVwiPnt7XG4gICAgICAgICAgICAgIGFjdGlvbi5kZXNjcmlwdGlvblxuICAgICAgICAgICAgfX08L2lvbi1idXR0b24+XG4gICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgIDwvaW9uLWJ1dHRvbnM+XG4gICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgIDxpb24tdGl0bGUgKm5nSWY9XCJwcm9wcy50aXRsZVwiIFtjb2xvcl09XCJwcm9wcy50ZXh0Q29sb3JcIj57eyBwcm9wcy50aXRsZSB9fTwvaW9u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Z0IG9mIG1lbnUgYnV0dG9uIHdoZW4gcHJvdmlkZWQuICovXG4gIGxhbmd1YWdlU2VsZWN0b3I/OiBMYW5ndWFnZVNlbGVjdG9yTWV0YWRhdGE7XG59O1xuIl19
@@ -1,10 +0,0 @@
1
- /**
2
- * Enumera los posibles movimientos de navegación en el wizard.
3
- */
4
- export var MOTION;
5
- (function (MOTION) {
6
- MOTION[MOTION["BACKWARD"] = 0] = "BACKWARD";
7
- MOTION[MOTION["FORWARD"] = 1] = "FORWARD";
8
- MOTION[MOTION["RETRY"] = 2] = "RETRY";
9
- })(MOTION || (MOTION = {}));
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvb3JnYW5pc21zL3dpemFyZC90eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzQ0E7O0dBRUc7QUFDSCxNQUFNLENBQU4sSUFBWSxNQUlYO0FBSkQsV0FBWSxNQUFNO0lBQ2hCLDJDQUFRLENBQUE7SUFDUix5Q0FBTyxDQUFBO0lBQ1AscUNBQUssQ0FBQTtBQUNQLENBQUMsRUFKVyxNQUFNLEtBQU4sTUFBTSxRQUlqQiIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVGlwb3MgeSBtZXRhZGF0b3MgcGFyYSBlbCBjb21wb25lbnRlIFdpemFyZENvbXBvbmVudC5cbiAqIFBlcm1pdGVuIGRlZmluaXIgbG9zIHBhc29zLCBib3RvbmVzLCBlc3RhZG8geSBuYXZlZ2FjacOzbiBkZWwgd2l6YXJkLlxuICovXG5pbXBvcnQgeyBCdXR0b25NZXRhZGF0YSwgQ29tcG9uZW50U3RhdGUgfSBmcm9tICcuLi8uLi90eXBlcyc7XG5pbXBvcnQgeyBOb0NvbnRlbnRNZXRhZGF0YS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U9USU9OIHtcbiAgQkFDS1dBUkQsXG4gIEZPUldBUkQsXG4gIFJFVFJZLFxufVxuIl19
@@ -1,111 +0,0 @@
1
- import { Component, EventEmitter, Input, Output, } from '@angular/core';
2
- import { ProgressBarComponent } from '../../../atoms/progress-bar/progress-bar.component';
3
- import { ButtonGroupComponent } from '../../../molecules/button-group/button-group.component';
4
- import { ComponentStates } from '../../../types';
5
- import { FooterComponent } from '../../footer/footer.component';
6
- import { MOTION } from '../types';
7
- import * as i0 from "@angular/core";
8
- export class WizardFooterComponent {
9
- constructor(cdr) {
10
- this.cdr = cdr;
11
- this.onClick = new EventEmitter();
12
- this.wrapperId = 'wizard-wrapper';
13
- }
14
- ngOnInit() { }
15
- ngOnChanges(changes) {
16
- if (changes['props']) {
17
- this.cdr.detectChanges();
18
- }
19
- }
20
- clickHandler(token) {
21
- if (!token) {
22
- return;
23
- }
24
- if (token.includes('right')) {
25
- this.tryToStep(MOTION.FORWARD);
26
- }
27
- if (token.includes('left')) {
28
- this.tryToStep(MOTION.BACKWARD);
29
- }
30
- }
31
- get Current() {
32
- return this.props.steps[this.props.current];
33
- }
34
- get Progress() {
35
- if (this.props.steps && this.props.current) {
36
- return this.props.current / Object.keys(this.props.steps).length;
37
- }
38
- return 0;
39
- }
40
- get actions() {
41
- if (this.props.state === ComponentStates.ERROR && this.Current.buttons.length > 1) {
42
- this.Current.buttons[1].state = ComponentStates.DISABLED;
43
- }
44
- if (this.props.current === 1 && this.Current.buttons.length > 1) {
45
- return [this.Current.buttons[1]];
46
- }
47
- return this.Current.buttons;
48
- }
49
- tryToStep(motion) {
50
- this.onClick.emit({ current: this.props.current, motion });
51
- }
52
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WizardFooterComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
53
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: WizardFooterComponent, isStandalone: true, selector: "val-wizard-footer", inputs: { props: "props" }, outputs: { onClick: "onClick" }, usesOnChanges: true, ngImport: i0, template: `
54
- <val-footer
55
- [props]="{
56
- bordered: false,
57
- translucent: false,
58
- toolbar: {
59
- title: '',
60
- actions: [],
61
- color: '',
62
- withBack: false,
63
- withActions: false,
64
- },
65
- }"
66
- >
67
- <val-progress-bar
68
- extra
69
- [props]="{ progress: Progress, color: '', type: 'determinate', buffer: 1, size: 'small', rounded: false }"
70
- ></val-progress-bar>
71
- <val-button-group
72
- extra
73
- [props]="{ buttons: actions, position: 'spaced', columned: false }"
74
- (onClick)="clickHandler($event)"
75
- ></val-button-group>
76
- </val-footer>
77
- `, isInline: true, styles: [""], dependencies: [{ kind: "component", type: FooterComponent, selector: "val-footer", inputs: ["props"], outputs: ["onClick"] }, { kind: "component", type: ProgressBarComponent, selector: "val-progress-bar", inputs: ["preset", "props"] }, { kind: "component", type: ButtonGroupComponent, selector: "val-button-group", inputs: ["props"], outputs: ["onClick"] }] }); }
78
- }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WizardFooterComponent, decorators: [{
80
- type: Component,
81
- args: [{ selector: 'val-wizard-footer', standalone: true, imports: [FooterComponent, ProgressBarComponent, ButtonGroupComponent], template: `
82
- <val-footer
83
- [props]="{
84
- bordered: false,
85
- translucent: false,
86
- toolbar: {
87
- title: '',
88
- actions: [],
89
- color: '',
90
- withBack: false,
91
- withActions: false,
92
- },
93
- }"
94
- >
95
- <val-progress-bar
96
- extra
97
- [props]="{ progress: Progress, color: '', type: 'determinate', buffer: 1, size: 'small', rounded: false }"
98
- ></val-progress-bar>
99
- <val-button-group
100
- extra
101
- [props]="{ buttons: actions, position: 'spaced', columned: false }"
102
- (onClick)="clickHandler($event)"
103
- ></val-button-group>
104
- </val-footer>
105
- ` }]
106
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { props: [{
107
- type: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dGhpcy5DdXJyZW50LmJ1dHRvbnNbMV0uc3RhdGUgPSBDb21wb25lbnRTdGF0ZXMuRElTQUJMRUQ7XG4gICAgfVxuXG4gICAgaWYgKHRoaXMucHJvcHMuY3VycmVudCA9PT0gMSAmJiB0aGlzLkN1cnJlbnQuYnV0dG9ucy5sZW5ndGggPiAxKSB7XG4gICAgICByZXR1cm4gW3RoaXMuQ3VycmVudC5idXR0b25zWzFdXTtcbiAgICB9XG4gICAgcmV0dXJuIHRoaXMuQ3VycmVudC5idXR0b25zO1xuICB9XG5cbiAgdHJ5VG9TdGVwKG1vdGlvbjogTU9USU9OKTogdm9pZCB7XG4gICAgdGhpcy5vbkNsaWNrLmVtaXQoeyBjdXJyZW50OiB0aGlzLnByb3BzLmN1cnJlbnQsIG1vdGlvbiB9KTtcbiAgfVxufVxuIl19
@@ -1,161 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { ChangeDetectorRef, Component, EventEmitter, inject, Input, Output, } from '@angular/core';
3
- import { goToTop } from '../../../shared/utils/dom';
4
- import { ContentLoaderComponent } from '../../molecules/content-loader/content-loader.component';
5
- import { ComponentStates } from '../../types';
6
- import { NoContentComponent } from '../no-content/no-content.component';
7
- import { MOTION } from './types';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@angular/common";
10
- export class WizardComponent {
11
- constructor() {
12
- this.onClick = new EventEmitter();
13
- this.wrapperId = 'wizard-wrapper';
14
- this.currentStep = null;
15
- this.currentStepTitles = null;
16
- this.loadingText = 'Por favor espere...';
17
- this.cdr = inject(ChangeDetectorRef);
18
- }
19
- ngOnInit() {
20
- this.updateCurrentStep();
21
- }
22
- ngOnChanges(changes) {
23
- if (changes['props']) {
24
- this.updateCurrentStep();
25
- this.cdr.detectChanges();
26
- }
27
- }
28
- updateCurrentStep() {
29
- if (this.props?.steps && this.props?.current) {
30
- this.currentStep = this.props.steps[this.props.current];
31
- // Forzar nueva referencia de objeto para asegurar detección de cambios
32
- // Agregar timestamp para garantizar que es un objeto completamente nuevo
33
- this.currentStepTitles = this.currentStep?.titles
34
- ? {
35
- ...JSON.parse(JSON.stringify(this.currentStep.titles)),
36
- _timestamp: Date.now(), // Forzar nueva referencia
37
- _step: this.props.current, // Agregar identificador del paso
38
- }
39
- : null;
40
- // Forzar detección de cambios inmediatamente
41
- this.cdr.detectChanges();
42
- }
43
- }
44
- working() {
45
- this.props.state = ComponentStates.WORKING;
46
- if (this.Current?.buttons) {
47
- this.Current.buttons.forEach(button => {
48
- button.state = ComponentStates.DISABLED;
49
- });
50
- }
51
- this.cdr.markForCheck();
52
- }
53
- done() {
54
- if (this.props.state === ComponentStates.ENABLED) {
55
- return;
56
- }
57
- this.props.state = ComponentStates.ENABLED;
58
- if (this.Current?.buttons) {
59
- this.Current.buttons.forEach(button => {
60
- button.state = ComponentStates.ENABLED;
61
- });
62
- }
63
- this.cdr.markForCheck();
64
- }
65
- get Current() {
66
- if (this.props?.steps && this.props?.current) {
67
- return this.props.steps[this.props.current];
68
- }
69
- return this.currentStep || { titles: null, buttons: [] };
70
- }
71
- setCurrent(newStep) {
72
- if (newStep === this.props.current) {
73
- return;
74
- }
75
- this.props.current = newStep;
76
- this.updateCurrentStep();
77
- // Forzar múltiples ciclos de detección de cambios
78
- this.cdr.detectChanges();
79
- setTimeout(() => {
80
- this.cdr.detectChanges();
81
- }, 0);
82
- goToTop(this.wrapperId);
83
- }
84
- setError(error) {
85
- if (this.props.state === ComponentStates.ERROR) {
86
- return;
87
- }
88
- this.props.error.titles.bottomContent.content.bellowTitle.content = error;
89
- this.props.state = ComponentStates.ERROR;
90
- this.cdr.markForCheck();
91
- goToTop(this.wrapperId);
92
- }
93
- reset() {
94
- this.props.error.titles.bottomContent.content.bellowTitle.content = '';
95
- this.done();
96
- }
97
- clickHandler(token) {
98
- if (!token) {
99
- return;
100
- }
101
- if (token.includes('retry')) {
102
- this.reset();
103
- }
104
- this.onClick.emit({ current: this.props.current, motion: MOTION.RETRY });
105
- }
106
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WizardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
107
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: WizardComponent, isStandalone: true, selector: "val-wizard", inputs: { props: "props" }, outputs: { onClick: "onClick" }, usesOnChanges: true, ngImport: i0, template: `
108
- <div [id]="wrapperId" class="wrapper">
109
- <ng-container *ngIf="props.state !== 'ERROR'">
110
- <val-no-content [props]="currentStepTitles" [attr.data-step]="props.current"></val-no-content>
111
- <div class="step">
112
- <div *ngIf="props.state === 'WORKING'">
113
- <val-content-loader
114
- [props]="{
115
- name: 'circular',
116
- color: 'primary',
117
- size: 'large',
118
- text: loadingText,
119
- }"
120
- />
121
- </div>
122
- <ng-content select="[step]"></ng-content>
123
- </div>
124
- </ng-container>
125
- <ng-container *ngIf="props.state === 'ERROR'">
126
- <val-no-content [props]="props.error.titles" (onClick)="clickHandler($event)"></val-no-content>
127
- </ng-container>
128
- </div>
129
- `, isInline: true, styles: [":root{--ion-color-primary: #7026df;--ion-color-primary-rgb: 112, 38, 223;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #6321c4;--ion-color-primary-tint: #7e3ce2;--ion-color-secondary: #e2ccff;--ion-color-secondary-rgb: 226, 204, 255;--ion-color-secondary-contrast: #000000;--ion-color-secondary-contrast-rgb: 0, 0, 0;--ion-color-secondary-shade: #c7b4e0;--ion-color-secondary-tint: #e5d1ff;--ion-color-texti: #354c69;--ion-color-texti-rgb: 53, 76, 105;--ion-color-texti-contrast: #ffffff;--ion-color-texti-contrast-rgb: 255, 255, 255;--ion-color-texti-shade: #2f435c;--ion-color-texti-tint: #495e78;--ion-color-darki: #090f1b;--ion-color-darki-rgb: 9, 15, 27;--ion-color-darki-contrast: #ffffff;--ion-color-darki-contrast-rgb: 255, 255, 255;--ion-color-darki-shade: #080d18;--ion-color-darki-tint: #222732;--ion-color-medium: #9e9e9e;--ion-color-medium-rgb: 158, 158, 158;--ion-color-medium-contrast: #000000;--ion-color-medium-contrast-rgb: 0, 0, 0;--ion-color-medium-shade: #8b8b8b;--ion-color-medium-tint: #a8a8a8;--swiper-pagination-color: var(--ion-color-primary);--swiper-navigation-color: var(--ion-color-primary);--swiper-pagination-bullet-inactive-color: var(--ion-color-medium)}@media (prefers-color-scheme: dark){:root{--ion-color-texti: #8fc1ff;--ion-color-texti-rgb: 143, 193, 255;--ion-color-texti-contrast: #000000;--ion-color-texti-contrast-rgb: 0, 0, 0;--ion-color-texti-shade: #7eaae0;--ion-color-texti-tint: #9ac7ff;--ion-color-darki: #ffffff;--ion-color-darki-rgb: 255, 255, 255;--ion-color-darki-contrast: #000000;--ion-color-darki-contrast-rgb: 0, 0, 0;--ion-color-darki-shade: #e0e0e0;--ion-color-darki-tint: #ffffff;--ion-color-primary: #8f49f8;--ion-color-primary-rgb: 143, 73, 248;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #7e40da;--ion-color-primary-tint: #9a5bf9}}.ion-color-texti{--ion-color-base: var(--ion-color-texti);--ion-color-base-rgb: var(--ion-color-texti-rgb);--ion-color-contrast: var(--ion-color-texti-contrast);--ion-color-contrast-rgb: var(--ion-color-texti-contrast-rgb);--ion-color-shade: var(--ion-color-texti-shade);--ion-color-tint: var(--ion-color-texti-tint)}.ion-color-darki{--ion-color-base: var(--ion-color-darki);--ion-color-base-rgb: var(--ion-color-darki-rgb);--ion-color-contrast: var(--ion-color-darki-contrast);--ion-color-contrast-rgb: var(--ion-color-darki-contrast-rgb);--ion-color-shade: var(--ion-color-darki-shade);--ion-color-tint: var(--ion-color-darki-tint)}.wrapper{height:auto;display:flex;flex-direction:column;justify-content:space-between;position:relative;min-height:320px}.step{min-height:9.375rem;margin:16px 0;text-align:center}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NoContentComponent, selector: "val-no-content", inputs: ["props"], outputs: ["onClick"] }, { kind: "component", type: ContentLoaderComponent, selector: "val-content-loader", inputs: ["props"] }] }); }
130
- }
131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WizardComponent, decorators: [{
132
- type: Component,
133
- args: [{ selector: 'val-wizard', standalone: true, imports: [CommonModule, NoContentComponent, ContentLoaderComponent], template: `
134
- <div [id]="wrapperId" class="wrapper">
135
- <ng-container *ngIf="props.state !== 'ERROR'">
136
- <val-no-content [props]="currentStepTitles" [attr.data-step]="props.current"></val-no-content>
137
- <div class="step">
138
- <div *ngIf="props.state === 'WORKING'">
139
- <val-content-loader
140
- [props]="{
141
- name: 'circular',
142
- color: 'primary',
143
- size: 'large',
144
- text: loadingText,
145
- }"
146
- />
147
- </div>
148
- <ng-content select="[step]"></ng-content>
149
- </div>
150
- </ng-container>
151
- <ng-container *ngIf="props.state === 'ERROR'">
152
- <val-no-content [props]="props.error.titles" (onClick)="clickHandler($event)"></val-no-content>
153
- </ng-container>
154
- </div>
155
- `, styles: [":root{--ion-color-primary: #7026df;--ion-color-primary-rgb: 112, 38, 223;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #6321c4;--ion-color-primary-tint: #7e3ce2;--ion-color-secondary: #e2ccff;--ion-color-secondary-rgb: 226, 204, 255;--ion-color-secondary-contrast: #000000;--ion-color-secondary-contrast-rgb: 0, 0, 0;--ion-color-secondary-shade: #c7b4e0;--ion-color-secondary-tint: #e5d1ff;--ion-color-texti: #354c69;--ion-color-texti-rgb: 53, 76, 105;--ion-color-texti-contrast: #ffffff;--ion-color-texti-contrast-rgb: 255, 255, 255;--ion-color-texti-shade: #2f435c;--ion-color-texti-tint: #495e78;--ion-color-darki: #090f1b;--ion-color-darki-rgb: 9, 15, 27;--ion-color-darki-contrast: #ffffff;--ion-color-darki-contrast-rgb: 255, 255, 255;--ion-color-darki-shade: #080d18;--ion-color-darki-tint: #222732;--ion-color-medium: #9e9e9e;--ion-color-medium-rgb: 158, 158, 158;--ion-color-medium-contrast: #000000;--ion-color-medium-contrast-rgb: 0, 0, 0;--ion-color-medium-shade: #8b8b8b;--ion-color-medium-tint: #a8a8a8;--swiper-pagination-color: var(--ion-color-primary);--swiper-navigation-color: var(--ion-color-primary);--swiper-pagination-bullet-inactive-color: var(--ion-color-medium)}@media (prefers-color-scheme: dark){:root{--ion-color-texti: #8fc1ff;--ion-color-texti-rgb: 143, 193, 255;--ion-color-texti-contrast: #000000;--ion-color-texti-contrast-rgb: 0, 0, 0;--ion-color-texti-shade: #7eaae0;--ion-color-texti-tint: #9ac7ff;--ion-color-darki: #ffffff;--ion-color-darki-rgb: 255, 255, 255;--ion-color-darki-contrast: #000000;--ion-color-darki-contrast-rgb: 0, 0, 0;--ion-color-darki-shade: #e0e0e0;--ion-color-darki-tint: #ffffff;--ion-color-primary: #8f49f8;--ion-color-primary-rgb: 143, 73, 248;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #7e40da;--ion-color-primary-tint: #9a5bf9}}.ion-color-texti{--ion-color-base: var(--ion-color-texti);--ion-color-base-rgb: var(--ion-color-texti-rgb);--ion-color-contrast: var(--ion-color-texti-contrast);--ion-color-contrast-rgb: var(--ion-color-texti-contrast-rgb);--ion-color-shade: var(--ion-color-texti-shade);--ion-color-tint: var(--ion-color-texti-tint)}.ion-color-darki{--ion-color-base: var(--ion-color-darki);--ion-color-base-rgb: var(--ion-color-darki-rgb);--ion-color-contrast: var(--ion-color-darki-contrast);--ion-color-contrast-rgb: var(--ion-color-darki-contrast-rgb);--ion-color-shade: var(--ion-color-darki-shade);--ion-color-tint: var(--ion-color-darki-tint)}.wrapper{height:auto;display:flex;flex-direction:column;justify-content:space-between;position:relative;min-height:320px}.step{min-height:9.375rem;margin:16px 0;text-align:center}\n"] }]
156
- }], propDecorators: { props: [{
157
- type: Input
158
- }], onClick: [{
159
- type: Output
160
- }] } });
161
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2l6YXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9vcmdhbmlzbXMvd2l6YXJkL3dpemFyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFDTCxpQkFBaUIsRUFDakIsU0FBUyxFQUNULFlBQVksRUFDWixNQUFNLEVBQ04sS0FBSyxFQUdMLE1BQU0sR0FFUCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDcEQsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0seURBQXlELENBQUM7QUFDakcsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUM5QyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUN4RSxPQUFPLEVBQUUsTUFBTSxFQUF3QixNQUFNLFNBQVMsQ0FBQzs7O0FBK0J2RCxNQUFNLE9BQU8sZUFBZTtJQTdCNUI7UUFrQ0UsWUFBTyxHQUFHLElBQUksWUFBWSxFQUF1QyxDQUFDO1FBRWxFLGNBQVMsR0FBRyxnQkFBZ0IsQ0FBQztRQUM3QixnQkFBVyxHQUFnQixJQUFJLENBQUM7UUFDaEMsc0JBQWlCLEdBQVEsSUFBSSxDQUFDO1FBQzlCLGdCQUFXLEdBQUcscUJBQXFCLENBQU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T1cIndyYXBwZXJJZFwiIGNsYXNzPVwid3JhcHBlclwiPlxuICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cInByb3BzLnN0YXRlICE9PSAnRVJST1InXCI+XG4gICAgICAgIDx2YWwtbm8tY29udGVudCBbcHJvcHNdPVwiY3VycmVudFN0ZXBUaXRsZXNcIiBbYXR0ci5kYXRhLXN0ZXBdPVwicHJvcHMuY3VycmVudFwiPjwvdmFsLW5vLWNvbnRlbnQ+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJzdGVwXCI+XG4gICAgICAgICAgPGRpdiAqbmdJZj1cInByb3BzLnN0YXRlID09PSAnV09SS0lORydcIj5cbiAgICAgICAgICAgIDx2YWwtY29udGVudC1sb2FkZXJcbiAgICAgICAgICAgICAgW3Byb3BzXT1cIntcbiAgICAgICAgICAgICAgICBuYW1lOiAnY2lyY3VsYXInLFxuICAgICAgICAgICAgICAgIGNvbG9yOiAncHJpbWFyeScsXG4gICAgICAgICAgICAgICAgc2l6ZTogJ2xhcmdlJyxcbiAgICAgICAgICAgICAgICB0ZXh0OiBsb2FkaW5nVGV4dCxcbiAgICAgICAgICAgICAgfVwiXG4gICAgICAgICAgICAvPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIltzdGVwXVwiPjwvbmctY29udGVudD5cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJwcm9wcy5zdGF0ZSA9PT0gJ0VSUk9SJ1wiPlxuICAgICAgICA8dmFsLW5vLWNvbnRlbnQgW3Byb3BzXT1cInByb3BzLmVycm9yLnRpdGxlc1wiIChvbkNsaWNrKT1cImNsaWNrSGFuZGxlcigkZXZlbnQpXCI+PC92YWwtbm8tY29udGVudD5cbiAgICAgIDwvbmctY29udGFpbmVyPlxuICAgIDwvZGl2PlxuICBgLFxuICBzdHlsZVVybHM6IFsnLi93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